-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Comparing changes
Open a pull request
base repository: py-pdf/pypdf
base: 2.7.0
head repository: py-pdf/pypdf
compare: 2.8.0
- 15 commits
- 26 files changed
- 6 contributors
Commits on Jul 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 91357f0 - Browse repository at this point
Copy the full SHA 91357f0View commit details -
ENH: Add writer.add_annotation, page.annotations, and generic.Annotat…
…ionBuilder (#1120) * Add `page.annotations` (getter and setter) * Add `writer.add_annotation(page_number, annotation_dictionary)` * Add AnnotationBuilder to generate the `annotation_dictionary` for the different subtypes of annotations. Similarly, we could have an AnnotationsParser. See #107 Closes #981
Configuration menu - View commit details
-
Copy full SHA for 1a65a46 - Browse repository at this point
Copy the full SHA 1a65a46View commit details -
Configuration menu - View commit details
-
Copy full SHA for aaac604 - Browse repository at this point
Copy the full SHA aaac604View commit details -
Configuration menu - View commit details
-
Copy full SHA for f233c1a - Browse repository at this point
Copy the full SHA f233c1aView commit details
Commits on Jul 23, 2022
-
ROB: Handle outlines without valid destination (#1076)
Adjust `PdfReader._build_outline(...)` and `PdfReader._build_destination(...)` to handle outline items with and without valid destinations Closes #193 : PdfReadError: Unexpected destination '/__WKANCHOR_2' Closes #956 : ValueError: Unresolved bookmark #1059 no longer throws an exception, but the outlines are not extracted either. Closes #1068 : Skip NameObject when building outline
Configuration menu - View commit details
-
Copy full SHA for 89c0ff2 - Browse repository at this point
Copy the full SHA 89c0ff2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6d27d7 - Browse repository at this point
Copy the full SHA a6d27d7View commit details -
ROB: Cope with null params for FitH /FitV destination (#1152)
iaw PDF specifications, page 583 Closes #1145
Configuration menu - View commit details
-
Copy full SHA for 27702c2 - Browse repository at this point
Copy the full SHA 27702c2View commit details
Commits on Jul 24, 2022
-
DEV: Introduce _utils.logger_warning (#1148)
- Exceptions: User code should handle the issue - warnings.warn: User should re-write something, e.g. deprecations - _utils.logger_warning: User might want to know in case of errors / post mortem analysis (or for developing PyPDF2 itself)
Configuration menu - View commit details
-
Copy full SHA for b429b39 - Browse repository at this point
Copy the full SHA b429b39View commit details -
Configuration menu - View commit details
-
Copy full SHA for c529884 - Browse repository at this point
Copy the full SHA c529884View commit details -
MAINT: Add diagnostic output to exception in read_from_stream (#1159)
Co-authored-by: speedplane <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 102260d - Browse repository at this point
Copy the full SHA 102260dView commit details -
BUG: Ignore if '/Perms' verify failed (#1157)
It seems to be save to ignore the /Perms entry: Qpdf ignores it: https://github.com/qpdf/qpdf/blob/main/libqpdf/QPDF_encryption.cc#L1064 pdfbox ignores it: https://github.com/apache/pdfbox/blob/dc1a75027d5bebf95a3330f6298a533e78e0b99e/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/StandardSecurityHandler.java#L311 Closes #378
Configuration menu - View commit details
-
Copy full SHA for 2bf40f4 - Browse repository at this point
Copy the full SHA 2bf40f4View commit details -
ROB: Cope with utf16 character for space calculation (#1155)
See #1143 Co-authored-by: Martin Thoma <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 35bec40 - Browse repository at this point
Copy the full SHA 35bec40View commit details -
BUG: Set /AS for /Btn form fields in writer (#1161)
Closes #434 Co-authored-by: liuzhuoling <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fa5e3f7 - Browse repository at this point
Copy the full SHA fa5e3f7View commit details -
MAINT: Break up parse_to_unicode (#1162)
Just move parts in separate functions for easier readability
Configuration menu - View commit details
-
Copy full SHA for 2de0973 - Browse repository at this point
Copy the full SHA 2de0973View commit details -
New Features (ENH): - Add writer.add_annotation, page.annotations, and generic.AnnotationBuilder (#1120) Bug Fixes (BUG): - Set /AS for /Btn form fields in writer (#1161) - Ignore if /Perms verify failed (#1157) Robustness (ROB): - Cope with utf16 character for space calculation (#1155) - Cope with null params for FitH / FitV destination (#1152) - Handle outlines without valid destination (#1076) Developer Experience (DEV): - Introduce _utils.logger_warning (#1148) Maintenance (MAINT): - Break up parse_to_unicode (#1162) - Add diagnostic output to exception in read_from_stream (#1159) - Reduce PdfReader.read complexity (#1151) Testing (TST): - Add workflow tests found by arc testing (#1154) - Decrypt file which is not encrypted (#1149) - Test CryptRC4 encryption class; test image extraction filters (#1147) Full Changelog: 2.7.0...2.8.0
Configuration menu - View commit details
-
Copy full SHA for ec30171 - Browse repository at this point
Copy the full SHA ec30171View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 2.7.0...2.8.0