Skip to content

4.11.0

Compare
Choose a tag to compare
@github-actions github-actions released this 16 May 11:32
· 324 commits to main since this release

Changes (Release 4.11.0)

Summary (pypdfium2)

  • In PdfDocument.render(), fixed a bad bitmap.close() call that would lead to a downstream use after free when using the combination of foreign bitmap and no-copy conversion. Using foreign bitmaps was not the default and expressly not recommended.
pypdfium2 commit log

Commits between 4.10.0 and 4.11.0 (latest commit first):

  • f927f7c [autorelease] update changelog and version file
  • 1228d4e Update readme
  • 065bd1f Rename TODO(v5) to TODO(apibreak)
  • 0cfe906 Do NOT call bitmap.close() in renderer worker (see description!)
  • e8ab921 Minor code comment fixes
  • 47161c6 rebuild bindings/raw.py
  • 5968b24 Update reuse/dep5
  • 2c516db ctypesgen: conditionally pass --no-srcinfo (fixes #215)
PDFium commit log

Commits between 5758 and 5772 (latest commit first):

  • 78a55892d Use some spans in CFX_CTTGSUBTable
  • 948a8b484 Avoid using FT_Bytes in CFX_CTTGSUBTable
  • d204feb0b Fix nits in CFX_CTTGSUBTable
  • 59870bf72 Remove struct CFX_CTTGSUBTable::TCoverageFormat*
  • 40485aacb Combine struct CFX_CTTGSUBTable::TSubTable*
  • 15c1b6743 Fix pdfium::span<> tests under BRP's asan_use_unowned_ptr=true
  • d699e177c Remove struct CFX_CTTGSUBTable::TDevice
  • fb2f71da3 Remove redundant calls to GetScriptContext()
  • 4e730a7d0 Prove some calls in XFA to GetScriptContext() are redundant
  • 80b01ad64 Clean up struct CFX_CTTGSUBTable::TFeatureRecord and TLookup
  • 8fd980a39 Remove struct CFX_CTTGSUBTable::TScriptRecord
  • e60fa0d7d Remove struct CFX_CTTGSUBTable::TLangSysRecord
  • 7b49936bc Stop storing CFX_Font::m_pSubData
  • 3f1624a82 Improve error handling in CPDF_CIDFont::GetGlyphIndex()
  • a9ff918a8 Observe widget across SetOptionSelection() calls.
  • 3eb3c4d77 Always check return code from CPWL_ComboBox::SetPopup().
  • 0fa0c4f3e Save dash array and phase of GraphState in CPDF_PageContentGenerator
  • 4c16842f6 Roll Skia and update SkSurface calls
  • 09126b95a Enable raw_ptr usage enforcement for PDFium.
  • dc12ace76 Add UNOWNED_PTR_EXCLUSION to mac-specific CFX_AggDeviceDriver member.
  • e37bff1a0 Use "Chrome Symbol" font on all platforms aside from Windows
  • 2ccdc331a Fix mac build under raw_ptr plugin
  • 92a5bc33e Fix a CHECK() failure in ObjectTreeTraverser::GetReferenceEntries()
  • 1918c8da8 Fix Skia build under pdf_enable_unowned_ptr_exclusion
  • 1ce0f0424 Unblock roll of PDFium into chromium
  • eaa68be67 Resolve remaining unowned_ptr exculsion warnings [android, win].
  • e6895bd32 Resolve remaining unowned ptr exclusion warnings.
  • d6bc7c46a Fix some unowned ptr exclusions in core/fxcrt/{xml,css}
  • 530d0170f Suppress unowned ptr exclusions in embeddertests
  • 431f9a92e Support iterating over WideString by code point
  • ef937a25a Exclude public files and test files from raw ptr checks
  • a8e77a12d Fix unowned ptr exclusions in core/fpdfapi
  • 578fe5b2a Fix common unowned ptr exclusions in core/fxcrt
  • be511372f Introduce raw ptr exclusion enforcement to PDFium.
  • 7ef2ee356 Teach googletest about C-string to ByteString comparisons
  • 401a247da Remove CPDF_Image::GetDocument() nullptr checks
  • d77c93540 Support encoding unpaired surrogates