Releases: bblanchon/pdfium-binaries
PDFium 109.0.5364.0
This version was built with branch chromium/5364
of PDFium
Changes
Commits between chromium/5351
and chromium/5364
:
- Remove unused method CPDFSDK_Widget::GetInteractiveForm()
- Use fxcrt::MakeFakeUniquePtr() in a few more places.
- Disable ResultDB for test_runner.py on Windows
- Remove CXFA_FFDoc::GetPDFFontMgr()
- Make CPDF_PageObjectHolder::RemovePageObject() clearer
- Replace tuples with dataclasses in test_runner.py
- Use pdfium::Contains() to check CPDF_Form membership.
- Add CFXFontMapperSystemFontInfoTest.
- [Skia] Remove path_9.pdf from the suppression list
- Remove .vpython.
- Replace CFX_Font::SetSubData() with AllocSubData().
- Wrap CFXJSE_Engine::GetJseContext() with GetJseContextForTest().
- Avoid returning unowned reference from CPDF_PSOP::GetProc()
- Simplify test case dispatch in test_runner.py
- Remove CPDF_Parser::GetSyntax()
- Remove 2 corpus tests from the suppression list
- Fix CHECK failures with GetFontData() calls.
- Rename CPDF_DataAvail::GetHintTables() to GetHintTablesForTest()
- De-virtualize CPDFXFA_Context::GetPDFDoc().
- Make CPDF_ColorState::SetPattern() less confusing.
- Pass retained args and arrays as rvalues to color.
- Add ResultDB support to test_runner.py
- Mark GetDocument() protected in CPDF_Document::PageDataIface.
- Mark pdfium::span<> as TRIVIAL_ABI and GSL_POINTER
- Encapsulate
CFX_SubstFont::m_bFlagMM
. - Add GSL_POINTER and TRIVIAL_ABI to compiler_specific.h
- Remove CPDF_Annot::GetDocument()
- Remove CPDF_InteractiveForm::GetDocument().
- Consolidate Python code to locate PDFium root
- Return retained reference from CPDF_Font::GetFontDict()
- Fix overlapping annot rendering with focused annot.
- Fix CPDF_DocPageData::MaybePurgeFontFileStreamAcc()
- Introduce CPDF_StreamAcc::KeyForCache()
- Roll Instrumented Libraries from e09c4b66b6e8 to 673b76772c2e (1 revision)
PDFium 108.0.5351.0
This version was built with branch chromium/5351
of PDFium
Changes
Commits between chromium/5337
and chromium/5351
:
- Return retained object from CPDF_FormControl::GetWidgetDict()
- Introduce CPDF_Dest::GetScrollPositionsArray().
- Return retained references from CPDF_PageObjectHolder methods.
- Remove CPDF_StreamAcc::GetDict().
- Add death test for bad pdfium::span<> lifetimes
- Use std::as_const() in a few places.
- [Skia] Fix coons patch mesh rendering
- Encapsulate the CPDF_Page annots array.
- Encapsulate CPDF_StructElement::m_pDict
- Remove unused CPDF_InteractiveForm methods
- Better encapsulate CPDF_InteractiveForm::m_pFormNotify.
- Add tools/resultdb to DEPS
- Make CPDF_FormField::GetFieldAttr() a non-static method
- Avoid vending dictionary pointers from CPDF_StructElement.
- Delete unused CPDFSDK_AnnotReverseIteration.
- Remove duplicate CPDF_FormField::GetDict() method.
- Stop vending dictionary pointers from CPDF_FlateEncoder
- Minimize vending pointers from CPDF_Action (single A)
- Fix PDF annotation drawing order.
- Avoid vending dictionary pointers from CPDF_AAction
- Add iterator stability comment to CPDFSDK_FormFIllEnvironment.
- Convert compile-disabled Skia tests to runtime-disabled
- [xfa] Ignore invalid BMP pixel data offsets
- [xfa] Fix image decoding across block boundaries
- Roll Code Coverage from 06c29fb95a45 to 690a8f131004 (4 revisions)
- Roll Catapult from 7ee071132a53 to 16eb7278843e (57 revisions)
PDFium 108.0.5337.0
This version was built with branch chromium/5337
of PDFium
Changes
Commits between chromium/5323
and chromium/5337
:
- Remove unused method CPDF_Link::GetDict()
- Avoid vending pointers to CPDF_ColorSpace::m_pArray
- Support runtime renderer selection in FPDFProgressiveRenderEmbedderTest
- Roll third_party/skia/ 73fb58ce0..03cb8e7d8 (492 commits; 1 trivial rolls)
- Roll buildtools/ d66231001..cccaf48c8 (17 commits)
- Roll Fuchsia SDK from 9.20220830.0.1 to 9.20220929.2.1
- Roll third_party/icu/ bbdc7d893..20f8ac695 (1 commit)
- Roll third_party/depot_tools/ 3528d4d3c..e3ed6a8e0 (45 commits; 13 trivial rolls)
- Roll tools/clang/ 0a2285903..a5e0d7234 (23 commits)
- Roll third_party/zlib/ 926ac230d..6fe4ce825 (10 commits)
- Roll tools/memory/ e5f1a8a76..98140a694 (1 commit)
- Update gn_version to cc28efe62ef0c2fb32455f414a29c4a55bb7fbc4
- Roll v8/ 340416187..261f00697 (180 commits)
- Roll third_party/libjpeg_turbo/ 22f1a22c9..ed683925e (1 commit)
- Roll base/trace_event/common/ 640fc6dc8..521ac34eb (3 commits)
- Roll buildtools/third_party/libc++abi/trunk/ 48afced8a..5c3e02e92 (2 commits)
- Roll buildtools/third_party/libunwind/trunk/ 42aa6de55..7ff728a97 (3 commits)
- Only validate indexes for paletted BMPs
- Add basic unit tests for BMP decoding
- Fix initial BMP pixel offset
- Roll third_party/freetype/src/ 8e68439a6..905270925 (10 commits)
- Enable FPDFEditEmbedderTest.SaveAndRender for Skia
- Return retained result from GetShadingObject()
- Pass retained arguments to still more ctors/setters.
- Fix roll-freetype.sh to work with sed on macOS
- Roll build/ 06b221966..01569374d (154 commits)
- Roll base/allocator/partition_allocator/ d47a38e4a..bb627f4ab (24 commits)
- Roll third_party/lss/ 0d6435b73..ce877209e (8 commits)
- Pass retained arguments to fpdfdoc/ class constructors.
- Fix retained argument TODOs, part 8.
- Fix retained argument TODOs, part 7.
- Fix retained argument TODOs, part 6.
- Enable FPDFEditEmbedderTest.GetRenderedBitmapHandlesSetMatrix for Skia
- Remove image_8bit_devicergb_dctdecode.pdf from the suppression list
- Return retained object from CPDF_Form and CPDF_GeneralState methods.
- Document test runner positional arguments
- Fix retained argument TODOs, part 5.
- Use retained references in fpdfsdk/fpdf_*.cpp files
- Fix retained argument TODOs, part 4.
- Fix retained argument TODOs, part 3.
- Rework CPDFSDK_FormFillEnvironment::JS_appResponse() callers.
- Return retained objects frm CPDF_Image methods
- Fix retained argument TODOs, part 2.
- Pass/return retained args from CPDF_NumberTree.
- Fix retained argument TODOs, part 1.
- Pass retained arguments to CPDF_PageObjectHolder.
- Fix unowned/retain ptr conversion and assignment.
- Pass retained arguments to CPDF_Action constructor
- Use FixedZeroedDataVector in JS_appResponse() callers.
- Suppress example_062.pdf for Skia and SkiaPaths
- Reland "Remove ALLOW_UNUSED macros."
- Avoid using raw pointers as keys in maps.
- Rearrange some variables inside CPDF_RenderShading::Draw().
- Rename some parameters in CPDF_RenderStatus.
- Reuse GetObjectClippedRect() in CPDF_RenderStatus::ProcessShading().
- Remove example_025.pdf from the suppression list
- Remove PDFium's private copy of Partition Alloc.
- Store retained keys in CPDF_StructTree::StructElementMap.
- Return retained arguments from CPDF_ContentMarkItem methods.
- Return retained objects from CPDF_Image and CPDF_Page methods.
- [Skia] Create a new palette when upsampling 1-bit-per-pixel bitmaps
PDFium 108.0.5323.0
This version was built with branch chromium/5323
of PDFium
Changes
Commits between chromium/5316
and chromium/5323
:
- Revert "Remove ALLOW_UNUSED macros."
- Pass retained array to CPDF_Dest constructor.
- Merge FixedUninitDataVector and FixedZeroedDataVector code.
- Make UnownedPtr and RetainPtr more similar to each other.
- Re-order RetainPtr/UnownedPtr operator=() methods
- Replace CFX_MemoryStream::GetBuffer() with GetSpan().
- Avoid ambiguity in CPDF_{Dictionary,Array}Locker constructors
- Return retained result from CPDF_Dictionary::GetPageDictionary()
- Switch from DataVector to FixedDataVector CPDF_CMap.
- Use FixedDataVector in fxbarcode/ when applicable.
- Add a FixedZeroedDataVector container.
- Do more input checks inside BC_DefaultPlacement.cpp.
- Fix interaction between RetainPtr and transparent comparisons.
- Clean up CBC_DefaultPlacement.
- Switch CPDF_TextPage::m_CharIndices back to DataVector.
- Create helper function and move a constant to a header file
- Remove ALLOW_UNUSED macros.
- Use UnownedPtr<> keys in CPDF_FontGlobals.
- Add transparent Contains() test to unowned_ptr_unittest.cpp
- Prevent pdfium::Contains() from falling back to linear search.
- Prove whether unowned/retain pointer collections compare transparently
- [Skia] Remove DCHECKs on RGB channels during upsampling
- Add unit test for transparent comparison of UnownedPtr.
- Make CPDF_{Array,Dictionary} methods returning pointers internal-only.
- Refactor Skia renderer runtime checks.
- Runtime renderer selection for embedder tests
- Add FPDFAnnot_GetFormFieldAlternateName() API
PDFium 108.0.5316.0
This version was built with branch chromium/5316
of PDFium
Changes
Commits between chromium/5309
and chromium/5316
:
- Create testing command line helpers
- Provide an escape hatch for structs in Data Partition
- Change
CPDF_TextPage::m_CharIndices
to be a struct. - Remove dead code in CPDF_TextPage::Init().
- Refactor remaining test for runtime renderer selection
- Add a flag for selecting renderer at runtime
- Store retained object keys in all CPDF_DocPageData maps.
- Return retained refs from CPDF_IndirectObjectHolder::NewIndirect().
- Remove assignment to RetainPtr from raw T* types.
- Store retained streams in CPDF_DocPageData::m_FontFileMap.
- Use FixedUninitDataVectors in CPDF_TransferFunc.
- Roll v8/ 278633dc7..340416187 (254 commits)
- Return retained references from CPDF_Dictionary::GetDictFor().
- [Skia] Fix the issue that some images are not rendered smooth
- Return retained references from CPDF_Dictionary::GetArrayFor().
- Add missing bounds check in FPDFFont_GetGlyphPath().
- Re-introduce CPDF_{Array,Dictionary}::GetStringAt().
- Return retained references from CPDF_Dictionary::GetObjectFor()
- Allow implicit convestion from FixedUninitDataVector<> to span<>
- Shuffle for-loop in CPDF_DocRenderData::CreateTransferFunc().
- Rename variables in CPDF_Parser::ParseAndAppendCrossRefSubsectionData().
PDFium 108.0.5309.0
This version was built with branch chromium/5309
of PDFium
Changes
Commits between chromium/5296
and chromium/5309
:
- Add IFX_WriteStream::WriteSpan().
- Explicitly allow IFX_WriteStream::WriteBlock() calls with size of 0.
- Test RetainPtr with pdfium::Contains().
- Reduce some ref-churn when using CPDF_References.
- Align fax encoder interface with JPEG encoder interface.
- Return retained objects from CPDF_Object::GetDict()
- De-virtualize CPDF_IndirectObjectHolder::GetOrParseIndirectObject().
- Re-work string template constructors
- Add FPDFAnnot_GetFormAdditionalActionJavaScript() API
- Reland "Use DataVector in CFX_MemoryStream."
- Copy data in CPDF_SyntaxParser::ReadStream().
- Add a test case for CFX_MemoryStream::{Read,Write}BlockAtOffset().
- DEPS-in PartitionAlloc to PDFium
- Remove dead code in CFX_FileBufferArchive.
- Replace Vector2D with Fx2DSizeOrDie().
- Use FixedUninitDataVector in CFX_FontMapper and CFX_FontMgr.
- Add a FixedUninitDataVector container.
- Fill in runtime renderer check
- [skia] Clean up empty skopts variables
- [Skia] Remove mask_array.pdf from the suppression list
- Use CFX_DIBBase::GetPitch() in CFX_PSRenderer.
- Rename CPDF_Array::GetStringAt() to GetByteStringAt()
- Rename CPDF_Dictionary::GetStringFor() to GetByteStringFor()
- Revert Array/Dictionary locker Get*() methods
- Convert some CPDF_ExpIntFunc getters to return spans.
- Make CPDF_StreamAcc take retained arguments.
- Add additional dictionary locker methods.
- Prefer fabsf() over static_cast(fabs()).
- Move the Skia-only code into a separate function
- Move a condition check in CStretchEngine to a static function
- Reduce copying in fxbarcode.
- Improve fxbarcode matrix classes.
- Add a regression test case to StreamAccTest.
- Add a WriteRect() helper to cpdf_contentstream_write_utils.h.
PDFium 107.0.5296.0
This version was built with branch chromium/5296
of PDFium
Changes
Commits between chromium/5282
and chromium/5296
:
- Add a libcxx_revision presubmit check.
- Revert "Use DataVector in CFX_FontMapper and CFX_FontMgr."
- Revert "Use DataVector in CFX_MemoryStream."
- Fix member destruction order in CPDF_StreamAcc.
- Return retained object from CPDF_Dictionary::GetStreamFor().
- Add a pixel test for incorrect text rendering on macOS.
- Add CPDF_Array::GetNumberAt() helper method
- Rename CPDF_Array::GetNumberAt() to GetFloatAt().
- Add CPDF_Dictionary::GetNumberFor() helper method
- Rename CPDF_Dictionary::GetNumberFor() to GetFloatFor().
- Roll buildtools and libc++
- Use CPDF_DictionaryLocker in CPDF_GenerateAP
- Make Dictionary and Array lockers more useful
- Support runtime renderer selection in CFDETextOutLargeBitmapTest.
- Roll third_party/freetype/src/ 1a242558b..8e68439a6 (41 commits)
- Roll tools/clang, build, buildtools and libc++
- Use DataVector in CFX_MemoryStream.
- Use DataVector in CFX_FontMapper and CFX_FontMgr.
- Roll v8/ 709443dcb..278633dc7 (599 commits)
- Use spans in BasicModule::A85Encode().
- Use spans in BasicModule::RunLengthEncode().
- Return retained reference from CPDF_Dictionary::GetDirectObjectFor().
- Return const pointer from CPDF_Stream::GetInMemoryRawData().
- Use more spans inside FaxModule.
- Convert BinaryBuffer to store a DataVector.
- Change FaxModule::FaxEncode() to use DataVector.
- Convert BasicModule::A85Encode() to use DataVector.
- Return even more retained objects from CPDF_Array getters.
- Avoid a potential copy in CPDF_ObjectStream.
- Use DataVector in CPDF_FlateEncoder.
- Return more retained objects from CPDF_Array getters.
- Make size types more consistent within FlateModule.
- Avoid null-deref in CJX_Node::model.
- Ensure FxAllocAllocator<> only allocates ordinary data.
- Return retained objects from indirect object holder, part 3.
- Pass more retained references into CPDF_ObjectWalker.
- Return retained results from CPDF_ObjectWalker::GetNext()
- Roll Catapult from 1c7fc8f4bdb8 to 7ee071132a53 (32 revisions)
- Roll Code Coverage from cd81494a2f49 to 06c29fb95a45 (2 revisions)
PDFium 107.0.5282.0
This version was built with branch chromium/5282
of PDFium
Changes
Commits between chromium/5268
and chromium/5282
:
- [Skia] Set the correct group knockout status for fill-and-stroke paths
- De-virtualize CPDF_Object::Is*() methods
- Make CPDF_StreamAcc::GetData() private.
- Return const pointer from CPDF_StreamAcc::GetData().
- De-virtualize const forms of CPDF_Object::As*()
- Split CPDF_Object::As*() into mutable and non-mutable varieties.
- Remove non-const version of CPDF_StreamAcc::GetSpan().
- Return retained objects from indirect object holder, part 2.
- Return retained objects from the indirect object holder, part 1.
- Document a FPDFDOC_InitFormFillEnvironment() lifetime requirement.
- Remove references to empty Skia files
- Roll buildtools/third_party/libc++/trunk/ 88bf40704..84f06932d (228 commits)
- Return CPDF_Reference from CPDF_Object::MakeReference()
- Avoid ambiguity in RetainPtr<> constructors
- Keep track of objects in name tree traversals.
- Improve first page object number validation in a linearized header.
- Roll buildtools, libc++ and abseil-cpp.
- Remove mutability from CPDF_FileSpec
- Update gn_version to 00b741b1568d56cf4e117dcb9f70cd42653b4c78
- Roll buildtools/third_party/libc++/trunk/ b1269813e..b1d4c7dbe (64 commits)
- Roll build/ 26f8da347..918b804ee (140 commits; 1 trivial rolls)
- Remove unused non-const form of CPDF_Object::SafeGetDirect()
- Add two more RetainPtr tests.
- Avoid ref-churn when move conversion constructing RetainPtrs
- Roll third_party/abseil-cpp/ 62a4d6866..fd07f9469 (4 commits)
- Roll tools/clang/ c8f1e5e5b..3d8d88e8b (4 commits)
- Return retained const objects from SearchNameNodeByNameInternal()
- Roll third_party/freetype/src/ 2db58e061..1a242558b (8 commits)
- Add new kConstants for form controls
- Enforce maximum legal object number during linearized parses.
- Roll buildtools/third_party/libunwind/trunk/ 012c3438e..42aa6de55 (10 commits)
- Roll Fuchsia SDK from 9.20220729.1.1 to 9.20220830.0.1.
- Roll buildtools/third_party/libc++abi/trunk/ 039323b94..48afced8a (6 commits)
- Roll third_party/depot_tools/ 5fb99f65c..3528d4d3c (47 commits; 5 trivial rolls)
- Roll base/trace_event/common/ d115b033c..640fc6dc8 (3 commits)
- Roll third_party/zlib/ c4e126880..926ac230d (2 commits)
- Roll third_party/skia/ 3605b5fd7..73fb58ce0 (544 commits)
- Roll tools/memory/ 41d69d665..e5f1a8a76 (2 commits)
- Roll third_party/icu/ 50ec7b382..bbdc7d893 (4 commits)
- Pass spans to CFX_FloatRect::GetBBox()
- Avoid pointer arithmetic in CFX_FileBufferArchive
- Add runtime renderer checks
- Refactor embeddertest constants for runtime renderer selection
- Fix a malloc size error in OpenJPEG.
- Fix bad probe on span assignment operator.
- Avoid pointer arithmetic in cpdf_streamparser.cpp
- Use spans in place of pointers in fx_font.cpp
- Give PDFium's top-level build a "default" group
- Refactor fpdf_view_embeddertest for runtime renderer selection
- Use Substr() in cpdf_syntax_parser.cpp
- Vastly simplify CPDF_Type3Cache::m_SizeMap
- Refactor fpdf_ppo_embeddertest for runtime renderer selection
- Avoid pointer arithmetic in FindFullName().
- Refactor fpdf_transformpage_embeddertest for runtime renderer selection
- Avoid pointer arithmetic in cfx_datetime.cpp
- Avoid pointer arithmetic in RemoveAllHighLights().
- [Skia] Enable FPDFEditEmbedderTest.GetRenderedBitmapHandlesSMask
- [Skia] Convert Skia rendering results into an unpremultiplied format.
- Re-work some HasCurrentViewRecord() calls.
- Make GetCurrentViewRecord() safe even when at end().
- Avoid de-referencing end() in GetNextAvailContentHeight().
- Update some corpus test expectations
- Improve memory management in CFGAS_GEFont::LoadFontInternal().
- Document FPDF_RenderPageSkp().
- Remove some new statements from fx_skia_device.cpp.
- Introduce pdf_use_partition_alloc build config variable.
- Refactor fpdf_formfill_embeddertest for runtime renderer selection
- Refactor edit embedder tests for runtime renderer selection
PDFium 107.0.5268.0
This version was built with branch chromium/5268
of PDFium
Changes
Commits between chromium/5254
and chromium/5268
:
- Refactor fpdf_editpage_embeddertest for runtime renderer selection
- Update to always include AGG
- Refactor annot embedder tests for runtime renderer selection
- Use more spans in fx_skia_device.cpp.
- Rename render create and attach implementations
- Switch away from FxFreeDeleter in fx_skia_device.cpp.
- Refactor fpdfapi/render tests for runtime renderer selection
- Refactor fpdfapi/parser tests for runtime renderer selection
- Introduce Skia is renderer queries
- [Skia] Fix the issue that images' transparency level is ignored
- Reduce duplicated code in CPDF_ImageRenderer::StartDIBBase().
- [Skia] Choose sampling options depending on the interpolate values
PDFium 107.0.5254.0
This version was built with branch chromium/5254
of PDFium
Changes
Commits between chromium/5241
and chromium/5254
:
- Fix path to pdfium_partition_alloc target.
- Introduce CFX_ReadOnlyByteStringStream.
- Introduce CFX_ReadOnlyVectorStream.
- Use CFX_ReadOnlySpanStream within CFX_ReadOnlyMemoryStream.
- Rename cfx_readonlymemorystream.*.
- Split part of CFX_ReadOnlyMemoryStream into CFX_ReadOnlySpanStream.
- Split up pa/non-pa into files for GN
- Better encapsulate CFXJSE_RuntimeData
- Remove SKTLS files from BUILD
- Make CXFA_WidgetLayoutData::m_fWidgetHeight a private member
- Make CFXA_*Data class members private
- Use functions for renderer-specific test hash values
- MSVC workaround for pending PA non-support.
- Remove stray fx_memory_wrapper.h includes.
- Encapsulate FXJS_PerIsolateData members.
- Use DataVector in remaining files.
- Encapsulate CXFA_FMLexer::Token and make read-only
- Encapsulate CFXJS_ObjDefinition members
- Make CFWL_ThemePart::m_iPart const and private
- Remove redundant public: from struct ExecEventParaInfo.
- Mark ProgressiveDecoder::HorzTable instance variables as private
- Use DataVector in core/fxcodec/.
- Remove V8::InitializeSandbox calls
- Tidy CFGAS_GEGraphics::StateRestore() usage
- Add FPDFViewEmbedderTest.RepeatedInitDestroy.
- Mark JpegDecoder instance variables as private.
- Fix an assertion failure in OpenJPEG.
- Funnel FXMEM_ calls into pdfium::internal routines
- Avoid a copy in CJS_Document::mailForm().
- Better encapsulate CPDFSDK_Annot
- Better encapsulate CPDF_ColorSpace.
- Store 2 unrelated GetSize() results in appropriate data types.
- Use DataVector in core/fxge/.
- Use DataVector in core/fpdfapi/parser/.
- Use DataVector in fxjs/ and xfa/.
- Roll v8/ 4180a6ed4..709443dcb (374 commits)
- Mark CFWL_ThemeBackground as stack-allocated.
- Encapsulate CFXJS_PerObjectData public instance variables.
- Rename FXMEM_InitializePartitionAlloc() to FX_InitializeMemoryAllocators()
- Make CPDF_PageObject::m_Rect a private member.
- Fully encapsulate Partition Alloc in fx_memory.cpp
- Introduce CFGAS_GEGraphics::StateRestorer
- Avoid a copy in CPDFSDK_InteractiveForm::SubmitForm().
- Remove use of skia_core_defines
- Encapsulate CFWL_ThemeBackground::m_pPath
- Remove in-out parameter from FDFToURLEncodedData().