4.27.0
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 ofpypdfium2-team/ctypesgen
at the time of the build to reproduce. Alternatively, you may patch the relevantpyproject.toml
entry yourself and usePDFIUM_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.02d165af
readme: remove outdated helper112fb34
Readme: mention prominent embeddersb0352a1
Correctly reland commit 0d1cc2134b356b
Revert "Bump setup-miniconda 2->3 & {upload,download}-artifact 3->4"137b71a
Add dependabot to changeloged32d64
dependabot: ignore broken workflow-dispatch 121d94ee90
build(deps): bump actions/setup-python from 4 to 5ca59682
build(deps): bump actions/upload-pages-artifact from 1 to 300556fe
Bump deploy-pages from 1 to 4 (closes #294)21ca95b
Create dependabot.yml for GH actions0d1cc21
Bump setup-miniconda 2->3 & {upload,download}-artifact 3->49cb5c38
Remove some legacy code for conda_rawa584927
misc improvements0324787
workflows/test_sourcebuild: check version9289258
workflows/test_sourcebuild: fix typo3b4ef4b
Try to fix sourcebuild2e84994
autorelease: remove excessive note/todo/fixme marksa8c3cd3
Removegit status
assertbb68b1a
dirty: pass through previous state via env vardb4ebbb
Add some checks before ignoring dirty state4558229
ctypesgen: allow passing in custom pre-processor7248bc4
build: call into API directlyfab4102
Avoid odd use ofany()
whereor
does the trickd968173
readme/PDFIUM_PLATFORM
: account fornone
->sdist
renaminga2d66dd
Update changelog71b7a20
craft_packages/pypi: allow building sdist/wheels only629bb97
craft_packages: make ctypesgen pin configurableaf5216b
slightly polish manifest / setup.cfgebc8715
Bump copyright year24d438f
fix license of ./run script3e93f56
Amend changelogc72b7a9
Revert "temporarily comment out testpypi upload"
PDFium commit log
Commits between 6233
and 6281
(latest commit first):
7c7a6087e
Add FPDFText_LoadCidType2Font() API41015d113
Encapsulate FT_Get_Glyph_Name() calls in CFX_Face4d00d9737
Fix another typo in ToUnicode template constantf22325c95
Make PDF_USE_SKIA a public build definitionccc38c258
Remove more dead code in CFX_DIBitmap8abe178b4
Clean up CPDF_RenderStatus::LoadSMask()fe586ee39
Remove dead code in CFX_DIBitmape24607c76
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} methods6f3cf81a8
Change MultiplyAlphaMask() to take a CFX_DIBitmap82f4360b8
Consolidate code into CPDF_ImageRenderer::CalculateDrawImage()cbf5da504
Refactor LoadCompositeFont() to extract useful helper functionsa88402105
Check for errors first in LoadSimpleFont() and LoadCompositeFont()e06220af3
Rename many variables inside fpdf_edittext.cpp7666160f5
Fix various nits inside fpdf_edittext.cpp (for reals)f689b6a68
Fix various nits inside fpdf_edittext.cppd617c4e8b
Update readme for Reclient instead of Goma32c29e431
Encapsulate more bounding box code in CFX_Face3f7847662
Move NormalizeFontMetric() out of CPDF_Fonta0fd10adf
Rewrite and rename CPDF_Font::TT2PDF()4be416d76
Give variables better names in CPDF_ImageRenderer54f25ce7a
Ensure CPDF_Stream always has a dictionary720ffea6a
Fix typo in ToUnicode template constant8acd78867
Remove the ability to create an uninitialized CPDF_Stream88d3d5674
Simplify CPDF_Stream::InitStreamFromFile() and minimize usagef21a92341
Remove CPDF_Stream::InitStreamWithEmptyData()bfc71b9f8
Add more CPDF_Stream constructors4c4f9ab25
Roll v8/ 83ad2aebb..b6fd2f17b (257 commits)ed6dfc4cd
Do not let CPDF_Array::SetAt() and friends take a CPDF_Stream41109a4bb
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_Stream595d4fb37
Double the form XObject limit25d775f4e
Import base::span_from_ref() into span.h7b9fa8a5e
Simplify IsObjectStream() inside cpdf_object_stream.cpp75e77041a
Do not let CPDF_Dictionary::SetFor() take a CPDF_Stream40dd82860
Introduce fxcrt::reinterpret_span<>()29ec83a0e
Make CFX_RenderDevice::StretchBitMask() take RetainPtrs by valuea12a3ec57
Make RenderDeviceDriverIface::StretchDIBits() take RetainPtrs by value03ad3c563
Make CPDF_ToUnicodeMap::HandleBeginBFRange() fasterf6fc06e8e
Keep ubsan ignorelist.txt to use regex2ddc2233d
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 value203a271b8
Handle MultiplyAlpha(1.0f) within MultiplyAlpha()9423718a7
Remove out-parameter from CFX_DIBBase::ConvertBuffer()e0892d95e
Make RenderDeviceDriverIface::SetBitsWithMask() bitmap params const1ee2be3c7
Remove dead code from CFX_DIBBase::ConvertBuffer() and related code281b2c413
Remove unused CFX_DIBitmap::SetPixel()0a2a8a32e
Change CPDF_ImageRenderer to store a float alpha value68f94c8c4
Pass RetainPtrs in CFX_RenderDevice and CFX_DIBitmap by value8b2f58994
Change CFX_RenderDevice::StartDIBitsWithBlend() to take a float alphacdadc9032
Change CPDF_RenderStatus::CompositeDIBitmap() to take a float alpha31b7951f6
Change CFX_ImageRenderer to use float alpha values376c79ba1
Change CFX_BitmapComposer to use float alpha values2f66170bd
Switch to NOTREACHED_NORETURN() in core/fxge/win3213eb23bec
Make RenderDeviceDriverIface::MultiplyAlphaMask() parameter more const7a42572bb
Change SetBitsWithMask() methods to take alpha as a floataa332c819
Change RenderDeviceDriverIface::StartDIBits() to take alpha as a float02881c0a7
Change CFX_DIBitmap::MultiplyAlpha() to take a float111a8a2a3
Avoid overloading MultiplyAlpha()57e5c5fd3
Implement CFX_DefaultRenderDevice::Clear() for all build configs3cbf75f84
Make RenderDeviceDriverIface more const-correcta1d7dbd4c
Make CFX_DIBitmap more const-correct7532c21d1
Remove dead code in CFX_DefaultRenderDevice::AttachAggImpl()b0a3f99a9
Make CFX_RenderDevice::GetBitmap() const-correct2b0890f3f
Mark CFX_RenderDevice::SetBitmap() as protectedd569a5d1b
Avoid FT_FaceRec usage in various places9e6c4f02f
Roll Depot Tools from 1714cc6e5ae3 to 35a530663508 (41 revisions)05c3c8cc7
Roll Code Coverage from d0698ae5eae9 to 2bd00824f032 (2 revisions)