Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge upstream changes from https://github.com/ajrcarey/pdfium-render #1

Open
wants to merge 53 commits into
base: master
Choose a base branch
from

Conversation

rithy58
Copy link
Member

@rithy58 rithy58 commented Dec 1, 2024

No description provided.

Alastair Carey and others added 30 commits August 15, 2024 22:54
Fix missing feature gate for `FPDFText_GetTextObject` on dynamic bindings
- Add tests covering most of the PdfBookmarks and PdfBookmark
  implementation, and all of the PdfBookmarksIterator implementation.
- Fix iter_siblings() when the parent node is known,
  iter_direct_children(), and iter_all_descendents() to not include node
  on which those functions were called.
- These changes made it so that every PdfBookmarksIterator::new() call
  had include_siblings==true and
  include_direct_children==include_all_descendants, so elide
  include_siblings, and consolidate include_direct_children and
  include_all_descendants into just include_descendants.
- Simplify the PdfBookmarksIterator implementation, and make it yield
  bookmarks in a more natural order; clarify the documentation regarding
  the order the bookmarks are returned.
- Fix children_len() to behave as documented when the underlying
  FPDFBookmark_GetCount() returns a negative number.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants