-
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.4.1
head repository: py-pdf/pypdf
compare: 2.4.2
- 14 commits
- 18 files changed
- 5 contributors
Commits on Jul 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4c43c0e - Browse repository at this point
Copy the full SHA 4c43c0eView commit details -
ENH: Add PdfReader.xfa attribute (#1026)
Closes #408 Co-authored-by: George Alverson <George.Alverson@cern.ch>
Configuration menu - View commit details
-
Copy full SHA for 0e18938 - Browse repository at this point
Copy the full SHA 0e18938View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3531603 - Browse repository at this point
Copy the full SHA 3531603View commit details -
Co-authored-by: Matthew Peveler <matt.peveler@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5d213ea - Browse repository at this point
Copy the full SHA 5d213eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4097db9 - Browse repository at this point
Copy the full SHA 4097db9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04d576c - Browse repository at this point
Copy the full SHA 04d576cView commit details
Commits on Jul 4, 2022
-
DEV: Added {posargs} to tox.ini (#1055)
This allows adding options from command line. For example, run only one test in py39 env using an option -k: $ tox -e py39 -- -k test_issue585 For example, run only one test in all envs using an option -k: $ tox -- -k test_issue585 Co-authored-by: Harry Karvonen <harry.karvonen@onebyte.fi>
Configuration menu - View commit details
-
Copy full SHA for 32ab2a3 - Browse repository at this point
Copy the full SHA 32ab2a3View commit details -
TST: Simplify pathlib PdfReader test (#1056)
The Path constructor allows a variable amount of arguments to it which it joins together similar to os.path.join works, so it's not necessary to use os.path.join before passing the args to Path.
Configuration menu - View commit details
-
Copy full SHA for 4a62a47 - Browse repository at this point
Copy the full SHA 4a62a47View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70605ae - Browse repository at this point
Copy the full SHA 70605aeView commit details
Commits on Jul 5, 2022
-
BUG: Resolve IndirectObject when it refers to a free entry (#1054)
From the PDF 1.7 docs https://opensource.adobe.com/dc-acrobat-sdk-docs/standards/pdfstandards/pdf/PDF32000_2008.pdf: Section 7.3.10 Indirect Objects: An indirect reference to an undefined object shall not be considered an error by a conforming reader; it shall be treated as a reference to the null object. And section 7.5.4 Cross-Reference Table: There are two ways an entry may be a member of the free entries list. Using the basic mechanism the free entries in the cross-reference table may form a linked list, with each free entry containing the object number of the next. The first entry in the table (object number 0) shall always be free and shall have a generation number of 65,535; it is shall be the head of the linked list of free objects. The last free entry (the tail of the linked list) links back to object number 0. Using the second mechanism, the table may contain other free entries that link back to object number 0 and have a generation number of 65,535, even though these entries are not in the linked list itself. Those entries form a linked list. The correct way to handle this is to resolve the indirect reference to the NullObject. See "3.4.3 Cross-Reference Table" in the PDF 1.7 standard for free cross-reference entries in general. Co-authored-by: Harry Karvonen <harry.karvonen@onebyte.fi> Closes #521 Closes #1034
Configuration menu - View commit details
-
Copy full SHA for 02c601c - Browse repository at this point
Copy the full SHA 02c601cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ffacabc - Browse repository at this point
Copy the full SHA ffacabcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e9c4dd - Browse repository at this point
Copy the full SHA 1e9c4ddView commit details -
BUG: Wrong page inserted when PdfMerger.merge is done (#1063)
Caused-by: #207 Why it wasn't detected by the tests: We don't have any tests that check for the correct result of a merge. We just check for exceptions How we prevent it in future: Unit test was added Risk of the fix: - We will have bigger file sizes again as #207 was effectively reverted - We will need to adjust this test if we change the way we write PDFs Closes: #1062
Configuration menu - View commit details
-
Copy full SHA for 621a51f - Browse repository at this point
Copy the full SHA 621a51fView commit details -
New Features (ENH): - Add PdfReader.xfa attribute (#1026) Bug Fixes (BUG): - Wrong page inserted when PdfMerger.merge is done (#1063) - Resolve IndirectObject when it refers to a free entry (#1054) Developer Experience (DEV): - Added {posargs} to tox.ini (#1055) Maintenance (MAINT): - Remove PyPDF2._utils.bytes_type (#1053) Testing (TST): - Scale page (indirect rect object) (#1057) - Simplify pathlib PdfReader test (#1056) - IndexError of VirtualList (#1052) - Invalid XML in xmp information (#1051) - No pycryptodome (#1050) - Increase test coverage (#1045) Code Style (STY): - DOC of compress_content_streams (#1061) - Minimize diff for #879 (#1049) Full Changelog: 2.4.1...2.4.2
Configuration menu - View commit details
-
Copy full SHA for a345690 - Browse repository at this point
Copy the full SHA a345690View 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.4.1...2.4.2