Skip to content

4.27.0

Compare
Choose a tag to compare
@github-actions github-actions released this 10 Feb 04:22
· 49 commits to main since this release

Changes (Release 4.27.0)

Summary (pypdfium2)

  • Added ability to define $CTYPESGEN_PIN when building sdist via ./run craft pypi --sdist, which allows to reproduce our sdists when set to the head commit hash of pypdfium2-team/ctypesgen at the time of the build to reproduce. Alternatively, you may patch the relevant pyproject.toml entry yourself and use PDFIUM_PLATFORM=sdist python -m build --sdist as usual.
  • Set up Dependabot for GH Actions. Updated dependencies accordingly.
pypdfium2 commit log

Commits between 4.26.0 and 4.27.0 (latest commit first):

  • 4c4c362 [autorelease main] update 4.27.0
  • 2d165af readme: remove outdated helper
  • 112fb34 Readme: mention prominent embedders
  • b0352a1 Correctly reland commit 0d1cc21
  • 34b356b Revert "Bump setup-miniconda 2->3 & {upload,download}-artifact 3->4"
  • 137b71a Add dependabot to changelog
  • ed32d64 dependabot: ignore broken workflow-dispatch 121
  • d94ee90 build(deps): bump actions/setup-python from 4 to 5
  • ca59682 build(deps): bump actions/upload-pages-artifact from 1 to 3
  • 00556fe Bump deploy-pages from 1 to 4 (closes #294)
  • 21ca95b Create dependabot.yml for GH actions
  • 0d1cc21 Bump setup-miniconda 2->3 & {upload,download}-artifact 3->4
  • 9cb5c38 Remove some legacy code for conda_raw
  • a584927 misc improvements
  • 0324787 workflows/test_sourcebuild: check version
  • 9289258 workflows/test_sourcebuild: fix typo
  • 3b4ef4b Try to fix sourcebuild
  • 2e84994 autorelease: remove excessive note/todo/fixme marks
  • a8c3cd3 Remove git status assert
  • bb68b1a dirty: pass through previous state via env var
  • db4ebbb Add some checks before ignoring dirty state
  • 4558229 ctypesgen: allow passing in custom pre-processor
  • 7248bc4 build: call into API directly
  • fab4102 Avoid odd use of any() where or does the trick
  • d968173 readme/PDFIUM_PLATFORM: account for none -> sdist renaming
  • a2d66dd Update changelog
  • 71b7a20 craft_packages/pypi: allow building sdist/wheels only
  • 629bb97 craft_packages: make ctypesgen pin configurable
  • af5216b slightly polish manifest / setup.cfg
  • ebc8715 Bump copyright year
  • 24d438f fix license of ./run script
  • 3e93f56 Amend changelog
  • c72b7a9 Revert "temporarily comment out testpypi upload"
PDFium commit log

Commits between 6233 and 6281 (latest commit first):

  • 7c7a6087e Add FPDFText_LoadCidType2Font() API
  • 41015d113 Encapsulate FT_Get_Glyph_Name() calls in CFX_Face
  • 4d00d9737 Fix another typo in ToUnicode template constant
  • f22325c95 Make PDF_USE_SKIA a public build definition
  • ccc38c258 Remove more dead code in CFX_DIBitmap
  • 8abe178b4 Clean up CPDF_RenderStatus::LoadSMask()
  • fe586ee39 Remove dead code in CFX_DIBitmap
  • e24607c76 Roll base/allocator/partition_allocator/ 72b7e1a3f..42bf756b3 (38 commits)
  • 202ebe6ad Roll Catapult from f2abc0cd0cd8 to f448d5bf8e57 (64 revisions)
  • dfd1ec916 Roll Memory Tools from 216d33bbf954 to 4753a8cbcd7c (4 revisions)
  • 9a2b614bd Roll libpng from 1db23788f5aa to f11b2ae20fa0 (1 revision)
  • bdfe4aa57 Unshare CFX_DIBitmap::SetChannelFromBitmap()
  • 4bf70256b Remove CFX_Face::GetAdjusted{Ascender,Descender} methods
  • 6f3cf81a8 Change MultiplyAlphaMask() to take a CFX_DIBitmap
  • 82f4360b8 Consolidate code into CPDF_ImageRenderer::CalculateDrawImage()
  • cbf5da504 Refactor LoadCompositeFont() to extract useful helper functions
  • a88402105 Check for errors first in LoadSimpleFont() and LoadCompositeFont()
  • e06220af3 Rename many variables inside fpdf_edittext.cpp
  • 7666160f5 Fix various nits inside fpdf_edittext.cpp (for reals)
  • f689b6a68 Fix various nits inside fpdf_edittext.cpp
  • d617c4e8b Update readme for Reclient instead of Goma
  • 32c29e431 Encapsulate more bounding box code in CFX_Face
  • 3f7847662 Move NormalizeFontMetric() out of CPDF_Font
  • a0fd10adf Rewrite and rename CPDF_Font::TT2PDF()
  • 4be416d76 Give variables better names in CPDF_ImageRenderer
  • 54f25ce7a Ensure CPDF_Stream always has a dictionary
  • 720ffea6a Fix typo in ToUnicode template constant
  • 8acd78867 Remove the ability to create an uninitialized CPDF_Stream
  • 88d3d5674 Simplify CPDF_Stream::InitStreamFromFile() and minimize usage
  • f21a92341 Remove CPDF_Stream::InitStreamWithEmptyData()
  • bfc71b9f8 Add more CPDF_Stream constructors
  • 4c4f9ab25 Roll v8/ 83ad2aebb..b6fd2f17b (257 commits)
  • ed6dfc4cd Do not let CPDF_Array::SetAt() and friends take a CPDF_Stream
  • 41109a4bb Add runtime check for streams in CPDF_Dictionary::SetForInternal()
  • cc81d1163 Make FixedSizeDataVector more similar to base::HeapArray.
  • 74a9b8f30 Do not let CPDF_Dictionary::SetNewFor() take a CPDF_Stream
  • 595d4fb37 Double the form XObject limit
  • 25d775f4e Import base::span_from_ref() into span.h
  • 7b9fa8a5e Simplify IsObjectStream() inside cpdf_object_stream.cpp
  • 75e77041a Do not let CPDF_Dictionary::SetFor() take a CPDF_Stream
  • 40dd82860 Introduce fxcrt::reinterpret_span<>()
  • 29ec83a0e Make CFX_RenderDevice::StretchBitMask() take RetainPtrs by value
  • a12a3ec57 Make RenderDeviceDriverIface::StretchDIBits() take RetainPtrs by value
  • 03ad3c563 Make CPDF_ToUnicodeMap::HandleBeginBFRange() faster
  • f6fc06e8e Keep ubsan ignorelist.txt to use regex
  • 2ddc2233d Roll MarkupSafe from 006709ba3ed8 to 0bad08bb207b (1 revision)
  • 945576e5b Roll Zlib from 562a4372d176 to 956936c53cb6 (4 revisions)
  • c78de6c97 Roll Jinja2 from 515dd10de9bf to e2d024354e11 (1 revision)
  • de69973b9 Add CFX_DIBBase::TakePalette()
  • 6c8ad61ca Make RenderDeviceDriverIface::StartDIBits() take RetainPtrs by value
  • 203a271b8 Handle MultiplyAlpha(1.0f) within MultiplyAlpha()
  • 9423718a7 Remove out-parameter from CFX_DIBBase::ConvertBuffer()
  • e0892d95e Make RenderDeviceDriverIface::SetBitsWithMask() bitmap params const
  • 1ee2be3c7 Remove dead code from CFX_DIBBase::ConvertBuffer() and related code
  • 281b2c413 Remove unused CFX_DIBitmap::SetPixel()
  • 0a2a8a32e Change CPDF_ImageRenderer to store a float alpha value
  • 68f94c8c4 Pass RetainPtrs in CFX_RenderDevice and CFX_DIBitmap by value
  • 8b2f58994 Change CFX_RenderDevice::StartDIBitsWithBlend() to take a float alpha
  • cdadc9032 Change CPDF_RenderStatus::CompositeDIBitmap() to take a float alpha
  • 31b7951f6 Change CFX_ImageRenderer to use float alpha values
  • 376c79ba1 Change CFX_BitmapComposer to use float alpha values
  • 2f66170bd Switch to NOTREACHED_NORETURN() in core/fxge/win32
  • 13eb23bec Make RenderDeviceDriverIface::MultiplyAlphaMask() parameter more const
  • 7a42572bb Change SetBitsWithMask() methods to take alpha as a float
  • aa332c819 Change RenderDeviceDriverIface::StartDIBits() to take alpha as a float
  • 02881c0a7 Change CFX_DIBitmap::MultiplyAlpha() to take a float
  • 111a8a2a3 Avoid overloading MultiplyAlpha()
  • 57e5c5fd3 Implement CFX_DefaultRenderDevice::Clear() for all build configs
  • 3cbf75f84 Make RenderDeviceDriverIface more const-correct
  • a1d7dbd4c Make CFX_DIBitmap more const-correct
  • 7532c21d1 Remove dead code in CFX_DefaultRenderDevice::AttachAggImpl()
  • b0a3f99a9 Make CFX_RenderDevice::GetBitmap() const-correct
  • 2b0890f3f Mark CFX_RenderDevice::SetBitmap() as protected
  • d569a5d1b Avoid FT_FaceRec usage in various places
  • 9e6c4f02f Roll Depot Tools from 1714cc6e5ae3 to 35a530663508 (41 revisions)
  • 05c3c8cc7 Roll Code Coverage from d0698ae5eae9 to 2bd00824f032 (2 revisions)