4.19.0
Changes (Release 4.19.0)
Summary (pypdfium2)
- Reset main branch to stable and shifted v5 development to a branch, so that pdfium updates (and possibly bug fixes) can still be handled.
v5 development is delayed and unexpectedly tough, so this seemed necessary.
The automated schedule has been slowed down from weekly to monthly for the time being.
Further manual releases may be triggered as necessary.
pypdfium2 commit log
PDFium commit log
Commits between 5868
and 5975
(latest commit first):
16d6eb8b6
[Skia] Fix issues for printing 24 BPP images53cec0ad6
Use fxge::CalculatePitch8() in CFX_DIBBase45aa4b105
Respect the return value of SetBitsWithMask()ef1ef9548
Remove 2 corpus tests from GDI suppression listec291c1b0
Remove NOTREACHED() in CachedImage::GetBuffer()39292f380
Add FPDFText_IsHyphen functionb756bbe70
Remove CPDF_FormField::LoadDA() declaration7952b46dd
Stop building (empty) Skia AVX and SSSE3 opts files5cac3f6f0
Roll third_party/skia/ 6119b059f..b5f614a85 (247 commits)f73ad4764
Make FPDF_GetDocPermissions() consistent for XFA vs. non-XFAd5d465279
Remove spurious calls to FPDF_GetDocPermissions()618ecdfae
Fix clang-tidy warnings for fx_skia_device.cpp909a33cd7
Resolve some simple clang-tidy warnings.017b1aa0f
Split TextObject rect for each kPiece1627c9a09
Replace bytes.removesuffix() call2d789adfb
Avoid multiplication widening warnings in JBig2fb2885c20
Remove NOTREACHED() usage in fxjs directory409124709
Remove third_party/base/base_export.hdf6fed9f3
Roll v8/ 127e21985..41ff48bd6 (425 commits)76f27a1e7
Roll buildtools/clang_format/script/ f97059df7..e5337933f (10 commits)c1c25bb7a
Saturate, rather than CHECK() in FX_Number1e33b3d28
Cast v8::Object::GetInternalField() return value to v8::Value832d6bb42
Roll Catapult from 7d7df42f80f3 to 220cbb13b5a7 (115 revisions)442caf194
Roll Code Coverage from cb9f2d5c70a8 to bce4cdc2309e (1 revision)41a47681b
CHECK range before casting float to int in fxnumbere54bb263c
Use constexpr points array to avoid indexing in DrawThisAppearance().96b9ad342
Make fx_coordinates.h types have constexpr constructors.074490b71
Switch to NOTREACHED_NORETURN() in xfa dir4ae353f1e
[fpdf_structtree] Support references for attribute list/numberc1bd7b5d0
Switch libcxx paths from trunk -> src.9f8b6bfcd
Roll buildtools/third_party/libunwind/trunk/ f1c687e0a..e5a9c50e5 (2 commits)637bfca2f
Roll buildtools/third_party/libc++abi/trunk/ 8d21803b9..d4760c0af (2 commits)689b96876
Move third_party/base/ptr_util.h into third_party/base/memory/0241a3d59
Allow StructElement_Attr_GetName to return buflen with null buffer22b07cad3
Remove //third_party:third_party target11e639bc8
Merge third_party/skia_shared code into core/fpdfapi/edit212493e8b
Fix some DCHECK_OP signness mismatchesa917fcc95
Roll third_party/skia/ c59638231..6119b059f (226 commits)7ce8d2330
Roll third_party/skia/ 3ea9412ad..c59638231 (1 commit)1dab6189b
Update gn_version to 3fccef9033b950e8935e8debeba9fbd71617bc74acd622cf2
Roll third_party/abseil-cpp/ 6b7d3f3b0..2288062ee (7 commits)757433318
Roll third_party/freetype/src/ e4586d960..b2584c738 (15 commits)e33975a51
Roll Fuchsia SDK from 13.20230629.2.1 to 14.20230727.2.16e41cff18
Roll buildtools/ 6d00f8d8c..16be42a9f (8 commits)073cb4919
Roll third_party/zlib/ f999826d2..526382e41 (9 commits)45e5d5eb2
Re-organize malloc shim tests.7f8f07e22
Roll third_party/icu/ e8c3bc9ea..de4ce0071 (3 commits)41e44fc1b
Switch from pdfium::clamp() to std::clamp()3f0bf8d52
Roll third_party/depot_tools/ 064883063..59e101154 (70 commits; 26 trivial rolls)91d9d4e57
Move third_party/base/span.h into third_party/base/containers/d647c71e1
Roll tools/memory/ 57b3b9e7c..2a4c4ba1f (2 commits)e325e5245
Roll third_party/skia/ 10a43e57e..3ea9412ad (167 commits)fb159d610
Remove break statements after NOTREACHED_NORETURN()a1c125c98
Change TestResult log from bytes to str (part 2)065810725
Roll third_party/libjpeg_turbo/ aa4075f11..30bdb85e3 (2 commits)55e793a8f
Only define test_runner_py when standalone5d3955e11
Roll tools/clang/ 2cd52f556..236e66ffd (18 commits)89875d3b3
[PA] Fix public_deps in pdfium.f07f001bb
Move shim partition configuration to separate test file.1e4b7c2e4
Roll base/allocator/partition_allocator/ 9e9b9fe53..f91d5ba23 (15 commits)49e8b0918
Roll build/ 7eef81aea..336e34d44 (11 commits)290ad31ff
Change TestResult log from bytes to stra6e4eb363
Reland "Don't include missing paths in CAS tree"e12acdbe8
Roll build/ c1a8cf672..7eef81aea (148 commits)0ebe24d14
Small AGG build config improvements50b418293
Revert "Don't include missing paths in CAS tree"16c574c18
Don't include missing paths in CAS treeab959fa38
Switch to officially supported PA-E malloc shim.1383b5e48
IWYU: add string.h for strncmp in CFX_GifContext8d5ff8ffd
No need to depend on all of base in chromium build.10c541c91
Add comments to pdf_use_partition_alloc GN arg.fad049256
Remove lss dependencyd9e3f3fd6
Consolidate some pdf_is_standalone build logicd8dbc5259
XFA: Recognize delta objects as nodes72299abe6
Add .gitignore for //third_party/libcxx8846d562b
Handle failed Realize() in MakeCachedImage()b8a335fda
Update comment on pdf_is_standalone in pdfium.gnic183fcf9a
Add duplicate libcxx source repo paths.ab5e39b8f
Roll base/allocator/partition_allocator/ f9a7b0a0e..9e9b9fe53 (16 commits)216568c41
Beef up BRP-protection tests prior to using PA-E shim4b4e4e8b9
Speculative fix for crash in CGdiDeviceDriver::GDI_StretchDIBits()234ec6cb8
Avoid misaligned loads in LoadGlobalPersistentVariablesFromBuffer().a164c9bec
Remove string.h inclusion from fx_system.h3abb4490c
Fix ubsan null-ptr warnings in pdfium_embeddertestsb0a11e9c6
Wrap mem*() functions to handle zero-length nullptr cases.bf9170ee4
Make CPDF_ToUnicodeMap::StringToCode() tolerate whitespaces03e309bf0
Make span_util.h wrappers completely compliant with ubsan.bd4515474
Switch to NOTREACHED_NORETURN() in fxbarcoded4ae8a236
[Skia] Enable fxge.SkiaStateText for Skia78fee0d0b
[ssci] Added Shipped field to READMEs909e5a7d8
Avoid forthcoming check-raw-ptr-to-stack-allocated diagnostic.96153592d
Roll v8/ 9888bdc17..127e21985 (937 commits)0485b62cf
Roll Instrumented Libraries from 0f536d22dbed to 032e9c850ab9 (1 revision)69b5e0eeb
Optimize empty map cases in CPDF_CrossRefTable::UpdateInfo()d9dcf21d3
Avoid unnecessary array indexing in CPDF_DefaultAppearanceacfec013f
Avoid adding std::size() to compute end pointers.92fa1456d
Switch to std::array<> in CPDF_FontGlobals.56ff98ee7
Use spancpy() on CFX_CodecMemory buffers.892602286
Avoid pointer arithmetic in string_view_template.h.45f3f76fd
Use span operations in JBig2_Bitstream.01e6b8620
Convert bounds-check from DCHECK() to CHECK() in JBig2_ArithDecoder8ea56a4c5
Rename some tables in cfx_cssdata.cpp to kStyle naming.b86e5b575
Rename PDF_CharType array to kPDFCharTypes.b99937de4
Make generate_cas_paths.py output deterministicbce0a8f1e
Write CAS archive paths for test_runner.py tests86ba98da3
Switch to NOTREACHED_NORETURN() in xfa/fxfa/parserda4eb2682
Make FX_Free() a macrodc9bc0b80
Stop compiling (empty) SkOpts_skx.cpp file in Skia51ed5d06c
Call Free() for a specific ParitionRoot718f99ae6
Upgrade libtiff from 4.5.0 to 4.5.1fc813437a
Add METADATA file to track mitigated security patches for libtiffe9a111cfb
Pass options directly to PartitionAllocator's ctor295ed7181
Roll base/allocator/partition_allocator/ ad18d83b7..f9a7b0a0e (15 commits)5967378ac
Roll Jinja2 from 264c07d7e64f to 515dd10de9bf (1 revision)c749bfe97
Roll MarkupSafe from 13f4e8c9e206 to 006709ba3ed8 (1 revision)8c7852a6c
Roll Code Coverage from 8ec74a909da4 to cb9f2d5c70a8 (8 revisions)693edb7a0
Roll Catapult from f51324c1c818 to 7d7df42f80f3 (80 revisions)9f7b32519
Test rendering an annotation with FPDF_PRINTING flag9f8cfe803
Harden CFDE_TextOut::m_ttoLines.f181dc10a
Roll Fuchsia SDK from 12.20230609.2.1 to 13.20230629.2.118db9a2ed
UpdatebPrinting
in RenderPageImpl()e293c0944
Add DEPS entries for reclient4b32534e4
Roll third_party/skia/ a5070bdfb..10a43e57e (512 commits)2699dfb71
Tweak some recently added Skia code205826cda
Roll Fuchsia SDK from 12.20230601.1.1 to 12.20230609.2.1270f8d45f
Replace android_ndk with android_toolchaincd2944e5e
Roll buildtools/third_party/libc++abi/trunk/ b2e8ad275..8d21803b9 (4 commits)355f0a6a5
Roll third_party/icu/ 1eea59cab..e8c3bc9ea (5 commits)adcf1e728
Roll buildtools, libc++, and abseile3606af5b
Roll buildtools/third_party/libunwind/trunk/ cd144ced3..f1c687e0a (3 commits)809e7441f
Roll third_party/zlib/ 0cf42a259..f999826d2 (11 commits)8cf7e9a73
Roll base/allocator/partition_allocator/ f13adc396..ad18d83b7 (50 commits)937c751f3
Update gn_version to da5fe01bce4ae84b2619caca7a3aa7ec7d3eb8a71dba516f6
Roll third_party/depot_tools/ 79f13899e..064883063 (76 commits; 28 trivial rolls)334284851
Roll third_party/freetype/src/ 80a507a6b..e4586d960 (7 commits)d2c091d71
Roll tools/clang/ 0b83134b3..2cd52f556 (38 commits)4e9291f1c
Roll build/ a12897e7e..c1a8cf672 (191 commits)3efe9dc53
Use multithreaded instead of apartment-threaded