Changes (Release 4.30.0)
Summary (pypdfium2)
Backported bug fixes / corrections from current development branch to preferably leave v4 in a clean state.
- Fixed blunder in
PdfImage.extract()
producing an incorrect output path for prefixes containing a dot. In theextract-images
CLI, this caused all output images of a type to be written to the same path for a document containing a non-extension dot in the filename. - XFA / rendering CLI: Fixed incorrect recognition of document length.
pdf.init_forms()
must be called beforelen(pdf)
. - Made
get_text_range()
allocation adapt to pdfium version, asFPDFText_GetText()
has been reverted to UCS-2. (See v4.28 changelog for background.) - Updated workflows to include both
macos-13
andmacos-14
in test matrices because v13 is Intel and v14 ARM64 on GH actions. Removed python 3.7 testing because not supported anymore onmacos-14
runners.
pypdfium2 commit log
Commits between 4.29.0
and 4.30.0
(latest commit first):
6bf53c4
[autorelease main] update 4.30.01e9e100
Add changelog entry for workflows5ad40ab
Test both macOS ARM64 and Intel in all workflows600d36c
Try to fix main workflow (GH arch change in macOS-latest)a057218
Add changelog for backports653c38c
textpage: update docs2577f5b
[BP] CLI/render: fix XFA document length recognitioneded6c2
get_text_range(): adapt allocation to pdfium version7ce4d31
PdfImage.extract(): fix for filenames containing non-extension dot5dc2eee
issue templates: reorder commands493742d
Make issue templates slightly nicer391575a
Inhibit autorelease until v5 is merged
PDFium commit log
Commits between 6406
and 6462
(latest commit first):
7b7c83fba
Roll build/ bbc1efa4c..5eb3babb0 (147 commits)9783ba486
Fix one more edited PDF regression01ea79cec
Update hooks for reclient95b1aabea
Add one more pixel test for an edited PDF that regressedaaf2cc937
Roll clang to pick up unsafe_buffer_paths.txt format changes.6abd9f147
Introduce fxcrt::try_spancpy() and fxcrt::try_spanmove().89d9beb11
Roll v8/ 7f0739496..0832ba514 (553 commits; 1 trivial rolls)3a2e1651f
Roll buildtools and libc++2c9060d69
Roll third_party/abseil-cpp/ a64dd87ce..2c1ad970d (2 commits)c07eb97fd
Roll third_party/fp16/src/ 0a92994d7..581ac1c79 (1 commit)32fff0d8c
Update gn_version to f284b6b47039a2d7edfcbfc51f52664f82b5a789fa8edc249
Roll third_party/skia/ 7338f5521..04ee4daae (438 commits)4d6d703eb
Roll third_party/freetype/src/ f42ce2556..1168b1b5b (15 commits)0a3a3ee5c
Roll base/allocator/partition_allocator/ 8a9c3373f..3b0bd80fa (37 commits)ad5237f89
Roll tools/rust/ eaff38a21..8fcf2bf39 (15 commits)95cb40c79
Roll third_party/libc++abi/src/ 1317096ef..51fe35844 (2 commits)2d1bd6c9a
Update reclient_version to 0.138.0.e854224-gomaip8342a586d
Use spancpy() in more places02ff1756c
Fix yet another edited PDF that regressed7d687a0a3
Introduce {Byte,Wide}String::span_with_terminator().64447358e
Mark fx_memcpy_wrappers.h functions UNSAFE_BUFFER_USAGE.7cf8895f6
Enable fuzzing with Skia enabled155028a48
Add yet another pixel test for an edited PDF that regressedff78e42df
Roll Code Coverage from f459fdcdfc6c to 1b0ca9db1266 (3 revisions)926b395d8
Roll Depot Tools from 4a9d989f52e9 to 4246ba023a15 (107 revisions)0b4ff9a49
Roll libpng from 5140e80f1841 to 34954dfe60ef (2 revisions)863c78226
Roll Instrumented Libraries from 0172d67d98df to 682a735d9f5c (18 revisions)8b5bd138e
Roll Catapult from 949df6114f3f to 5fbda23b3a86 (52 revisions)0be533aea
Roll Memory Tools from c6d669e13804 to 2448d81f9741 (1 revision)97c93fd37
Roll abseil-cpp, buildtools, clang, and libc++1a5ec9fb4
Gate GDI APIs behind IsUser32AndGdi32Available in cpdf_interactiveform.cppfde20e170
Deduplicate code in CPDF_Parser and rename some methods763c169be
Fix parsing of PDFs with multiple cross reference streamsbc759a2ae
Add another pixel test for an edited PDF that regressed2c66e07e9
Spanify CFX_SeekableStreamProxyd6a4b27d8
Spanify FPDFText_GetText() and FPDF_GetBoundedText().1a8053c08
Don't allow two-arg span constructor without UNSAFE_BUFFER() annotation.3f197528d
Apply UNSAFE_BUFFERS() to two-arg span ctor in core/f0dc864fb
Put plugin-specific logic in pdfium_common_config.1eb7ddcf1
Apply UNSAFE_BUFFERS() to two-arg span ctor in xfa/590668ba7
Apply UNSAFE_BUFFERS() to two-arg span ctor in testing/3b679fe3f
Apply UNSAFE_BUFFERS() to two-arg span ctor in fpdfsdk/317e40e19
Use new instrumented_libs repo0e4ff8cd8
Roll Zlib from c5bf1b566e5d to d076d8bd0898 (6 revisions)5a49e751e
Roll build/ e5ff2eff3..e4eef53d5 (27 commits)059201ee5
Fix unsafe buffer usage in fxbarcode/datamatrix.d3c008e60
Avoid some two-arg make_span() calls via extern spans.666c400d4
Fix unsafe buffer usage in (non-XFA) JS bindings.b079e8738
Fix some unsafe usage in cpdfdsk_{helpers,interactiveform}.cppc658519d7
Roll v8/ f6f7c6822..7f0739496 (162 commits)