Skip to content

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.
Alastair Carey and others added 30 commits June 7, 2025 18:04
Merges #208
… 2021


This commit addresses the build issues caused by:
1. Upgrading `rust-bindgen` to 0.72
2. Updating the Rust edition to 2021 for better compatibility and modern syntax support.

Key changes:
- Updated `bindgen` usage to match 0.72's API
- Set `edition = "2021"` in `Cargo.toml`
Progressing #213
* added form-test images to .gitignore
* fixed `PdfClipPath` unused warning that also showed in `cargo check`
* fixed the rest of the clippy warnings
* checked the unittests
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.