Releases: bblanchon/pdfium-binaries
PDFium 124.0.6350.0
This version was built with branch chromium/6350
of PDFium
Changes
Commits between chromium/6337
and chromium/6350
:
- Gate GDI APIs behind IsUser32AndGdi32Available in cfgas_fontmgr.cpp
- Roll abseil, build, buildtools, clang, and partition_allocator
- Roll base/allocator/partition_allocator/ 42bf756b3..dd11a7511 (19 commits)
- Roll gn from a2e2717ea670 to 88e8054aff7b
- Roll buildtools, libc++, and abseil
- Fix cut/paste error in fx_extension_unittest.cpp
- Generate more modern V8 API calls in js_define.h macros
- Remove FXSYS_wcsnicmp() and its unsafe buffer usage.
- Roll build/ 386c65667..3aeefdc1a (30 commits)
- Roll tools/clang/ ff84dc245..44c10e414 (8 commits)
- Roll third_party/libc++abi/src/ 0c4e8fac5..fc6253a64 (6 commits)
- Make core/fxcrt/css compile under nounsafe_buffer_usage.
- Long overdue update of string types in CSS.
- Optimize CFX_FolderFontInfo::FindFont() for an exact match case.
- Roll third_party/freetype/src/ 47574f7ea..2a790a9f4 (2 commits)
- Downgrade raw_span<> to span<> in StringViewTemplate.
- Split implementations of raw_span from span.
- Roll third_party/icu/ a622de35a..1112fa6b3 (5 commits)
- Update span<> to raw_span<> when used as a class member.
- Make pdfium::span<> templated on Extent and InternalPtrType.
- Roll v8/ a86e19715..fe4ad3b98 (253 commits)
- Add CPDF_ColorSpace::GetColorRef()
- Add a pixel test with a sRGB colorspace and a large sc operand value
- Roll Depot Tools from af6eabff5313 to fbb0301f1f70 (66 revisions)
- Roll Code Coverage from 76f45e718405 to 10ce382356ce (4 revisions)
PDFium 124.0.6337.0
This version was built with branch chromium/6337
of PDFium
Changes
Commits between chromium/6322
and chromium/6337
:
- Rename string's raw_span() method to unsigned_span().
- Fix wrong matrix outputs in CPDF_PageContentGenerator for path objects
- Fix wrong matrix outputs in CPDF_PageContentGenerator for text objects
- Fix incorrect current transformation matrix when saving PDFs
- Add path objects tests for a PDF saving bug
- Change GetColor() to WriteColorToStream()
- Update UNSAFE_BUFFER macros to match chromium/src/base
- Add text object version of a more complex test for a PDF saving bug
- Remove out-parameters from CPDF_Color::GetRGB()
- Remove out-parameters from CPDF_ColorState::Set{Color,Pattern}()
- Do no write out identity matrices in CPDF_PageContentGenerator
- Fix building with GCC
- Fix nits in CPDF_PageContentGeneratorTest
- Make CFX_RenderDevice::GetDIBits() take RetainPtrs by value
- Rename some colorspace methods
- Rename CPDF_ICCBasedCS member variables
- Roll third_party/zlib/ 646b7f569..3787595bb (4 commits)
- Remove the matrix from CPDF_GeneralState
- Avoid "unsafe" string indexing in PDF_NameEncode().
- Convert EXPECT_STREQ(x, y.c_str()) to EXPECT_EQ(x, y).
- Avoid result string with trailing NUL in XFA Decode().
- Roll third_party/skia/ 9832c7722..49f18efdf (331 commits)
- Roll Catapult from f448d5bf8e57 to 4dc7721a1444 (93 revisions)
- Roll libpng from f11b2ae20fa0 to 3c7486b231c7 (2 revisions)
PDFium 124.0.6322.0
This version was built with branch chromium/6322
of PDFium
Changes
Commits between chromium/6309
and chromium/6322
:
- Roll third_party/skia/ 6279c88b9..9832c7722 (80 commits)
- Make core/fxcrt compliant with UNSAFE_BUFFERS() macro.
- Avoid some UNSAFE_BUFFER noise in fpdf_parser_utility.h.
- Fix incorrect matrix outputs in CPDF_PageContentGenerator
- Add a more complex test for a PDF saving bug
- Add a test case for a PDF saving bug
- Simplify PDF_EncodeText() using FX_UTF16Encode()
- Make CPDF_IccProfile's dependency more direct
- Remove CFX_Font::IsEmbedded()
- Stop making CPDF_IccProfile an Observable
- Avoid more future unsafe buffer usage in StringDataTemplate.
- Move remaining code out of third_party/base and into core/fxcrt
- Remove remaining NoDestructor usage
- Convert some C-style arrays to std::array<>.
- Add a way to undo a previous FPDF_SetSystemFontInfo() call
- Re-write some unsafe string code prior to UNSAFE_BUFFERS.
- Roll v8/ b6fd2f17b..a86e19715 (464 commits)
- Make CodePointView::Iterator() demonstrably safe.
- Fix build with chrome plugin enabled but Partition Alloc disabled,
- Roll MarkupSafe from 0bad08bb207b to e582d7f0edb9 (1 revision)
- Roll Instrumented Libraries from 0011c28c8d35 to 0893d760101b (1 revision)
- Roll Jinja2 from e2d024354e11 to c9c77525ea20 (1 revision)
- Copy absl::WrapUnique()'s static_asserts into pdfium::WrapUnique()
- Remove code in the form of "return std::move(local_var);"
- Move third_party/base/ptr_util.h to core/fxcrt
- Merge third_party/base/memory/aligned_memory.h into fx_memory.h
- Move third_party/base/test/scoped_locale.* to testing
- Move third_party/base/{debug,win} to core/fxcrt
- Convert CFX_XMLParser::current_text_ to WideString
- Move third_party/base/numerics to core/fxcrt/numerics
- Rename TrimLeft()/TrimRight() to TrimFront()/TrimBack().
- add file annot api
- Move third_party/base/containers/*.h to core/fxcrt/containers
- Move {Byte,Wide}String::Trim{,Left,Right}() into StringTemplate<>
- Force LF line ending for the AUTHORS file
- Remove Fuchsia support
- Fix typo in public/fpdf_sysfontinfo.h
PDFium 123.0.6309.0
This version was built with branch chromium/6309
of PDFium
Changes
Commits between chromium/6295
and chromium/6309
:
- Disallow absl::optional usage via include_rules
- Enforce checkdeps when submitting CLs
- Fix include rules in cfx_glyphcache.cpp
- Move third_party/base/span.h to core/fxcrt
- Move {Byte,Wide}String::Replace() to StringTemplate<>
- Get rid of FX_GET_32WORD macro.
- Use more spans in Revision6_Hash()
- Move {Byte,Wide}String::SetAt() into StringTemplate<>
- Move {Byte,Wide}String::Find() into StringTemplate<>
- Remove fxcrt::ByteSwapTo* functions
- Move {Byte,Wide}String::Insert() to StringTemplate
- Move {Byte,Wide}String::Delete() into StringTemplate.
- Consolidate byteorder code
- Fix use-after-move in CPDF_RenderStatus::CompositeDIBitmap()
- Convert fx_random.cpp to use safe types
- Use std::array<> in fx_coordinates.cpp.
- Add missing includes uncovered by libc++ change
- Roll third_party/skia/ a9db1213b..6279c88b9 (349 commits)
- Roll build/ 9ca0d2ce9..386c65667 (118 commits)
- Add UNSAFE_BUFFER annotations to fx_dib.h
- Move even more code still into StringTemplate.
- Get rid of pointer arithmetic in *MSBFIRST() and *LSBFIRST() macros.
- Give better error diagnostic in cpdf_dictionary.h
- Put GetBuffer() and ReleaseBuffer() in StringBaseTemplate
- Avoid adding stream objects directly to arrays in CPDF_SyntaxParser
- Roll tools/clang/ 2b9d966ec..ff84dc245 (41 commits)
- Place common code for byte/wide strings in StringTemplate.
- Combine FX_wcspos() and FX_strpos() into fxcrt::spanpos().
- Encapsulate FT_Set_Pixel_Sizes()
- Roll Zlib from 956936c53cb6 to 646b7f569718 (3 revisions)
PDFium 123.0.6295.0
This version was built with branch chromium/6295
of PDFium
Changes
Commits between chromium/6281
and chromium/6295
:
- Move WideString::WStringLength() to cpdfsdk_helpers.cpp
- Add runtime check for streams in CPDF_Array::SetAtInternal() and friends
- Do not let CPDF_Array::SetNewAt() and friends take a CPDF_Stream
- Make RenderDeviceDriverIface::SetDIBits() take RetainPtrs by value
- Return RetainPtr<> from StringData::Create()
- Avoid UNSAFE_BUFFER operations in core/fxcrt/{byte,wide}string.h
- Remove ByteString::AllocCopy() and WideString::AllocCopy().
- Ensure CPDF_Stream's dictionary is always a direct object
- Give "V4" and "V5" parser code better names
- Mark CVE-2023-52355 as mitigated in third_party/libtiff/METADATA
- Fix PDF loading when an initial xref stream references a xref table
- Switch from absl::optional to std::optional
- Add another pixel test for incorrect cross reference stream handling
- Sync Chromium's include_rules for Abseil
- Spanify FX_strstr() and FX_wcsstr()
- Avoid potential msan warnings in test SpanEquals.Empty
- Add new base::span<> functions to pdfium::span<>.
- Roll buildtools/, third_party/libc++/src/, third_party/libc++abi/src/
- Add improvements to core/fxcrt/span_util.h
- Tidy some code in fx_crypt_aes.cpp
- Introduce UNSAFE_BUFFERS() macro to PDFium.
- Roll Depot Tools from 35a530663508 to af6eabff5313 (49 revisions)
- Roll Code Coverage from 2bd00824f032 to 76f45e718405 (1 revision)
- Roll tools/rust/ e721a72ad..bcaf16e55 (9 commits)
- Remove limit on number of form XObjects within a form XObject
- Update reclient_version to 0.130.0.546556b-gomaip
- Roll third_party/libunwind/src/ 2602aecdf..fc505746f (7 commits)
- Roll gn from 85944ebc24a9 to a2e2717ea670
- Roll third_party/abseil-cpp/ b7ad4e9ef..d391aa34a (8 commits)
- Roll third_party/freetype/src/ ca76683b7..47574f7ea (10 commits)
- Ignore /Prev for hybrid-reference files
- Revert ProcessCrossRefV5Entry() overwrite change
- Add pixel test for an edited PDF that regressed
PDFium 123.0.6281.0
This version was built with branch chromium/6281
of PDFium
Changes
Commits between chromium/6268
and chromium/6281
:
- Add FPDFText_LoadCidType2Font() API
- Encapsulate FT_Get_Glyph_Name() calls in CFX_Face
- Fix another typo in ToUnicode template constant
- Make PDF_USE_SKIA a public build definition
- Remove more dead code in CFX_DIBitmap
- Clean up CPDF_RenderStatus::LoadSMask()
- Remove dead code in CFX_DIBitmap
- Roll base/allocator/partition_allocator/ 72b7e1a3f..42bf756b3 (38 commits)
- Roll Catapult from f2abc0cd0cd8 to f448d5bf8e57 (64 revisions)
- Roll Memory Tools from 216d33bbf954 to 4753a8cbcd7c (4 revisions)
- Roll libpng from 1db23788f5aa to f11b2ae20fa0 (1 revision)
- Unshare CFX_DIBitmap::SetChannelFromBitmap()
- Remove CFX_Face::GetAdjusted{Ascender,Descender} methods
- Change MultiplyAlphaMask() to take a CFX_DIBitmap
- Consolidate code into CPDF_ImageRenderer::CalculateDrawImage()
PDFium 123.0.6268.0
This version was built with branch chromium/6268
of PDFium
Changes
Commits between chromium/6259
and chromium/6268
:
- Refactor LoadCompositeFont() to extract useful helper functions
- Check for errors first in LoadSimpleFont() and LoadCompositeFont()
- Rename many variables inside fpdf_edittext.cpp
- Fix various nits inside fpdf_edittext.cpp (for reals)
- Fix various nits inside fpdf_edittext.cpp
- Update readme for Reclient instead of Goma
- Encapsulate more bounding box code in CFX_Face
- Move NormalizeFontMetric() out of CPDF_Font
- Rewrite and rename CPDF_Font::TT2PDF()
- Give variables better names in CPDF_ImageRenderer
- Ensure CPDF_Stream always has a dictionary
- Fix typo in ToUnicode template constant
- Remove the ability to create an uninitialized CPDF_Stream
- Simplify CPDF_Stream::InitStreamFromFile() and minimize usage
- Remove CPDF_Stream::InitStreamWithEmptyData()
- Add more CPDF_Stream constructors
- Roll v8/ 83ad2aebb..b6fd2f17b (257 commits)
- Do not let CPDF_Array::SetAt() and friends take a CPDF_Stream
- Add runtime check for streams in CPDF_Dictionary::SetForInternal()
- Make FixedSizeDataVector more similar to base::HeapArray.
- Do not let CPDF_Dictionary::SetNewFor() take a CPDF_Stream
- Double the form XObject limit
- Import base::span_from_ref() into span.h
- Simplify IsObjectStream() inside cpdf_object_stream.cpp
- Do not let CPDF_Dictionary::SetFor() take a CPDF_Stream
- Introduce fxcrt::reinterpret_span<>()
PDFium 122.0.6259.0
This version was built with branch chromium/6259
of PDFium
Changes
Commits between chromium/6248
and chromium/6259
:
- Make CFX_RenderDevice::StretchBitMask() take RetainPtrs by value
- Make RenderDeviceDriverIface::StretchDIBits() take RetainPtrs by value
- Make CPDF_ToUnicodeMap::HandleBeginBFRange() faster
- Keep ubsan ignorelist.txt to use regex
- Roll MarkupSafe from 006709ba3ed8 to 0bad08bb207b (1 revision)
- Roll Zlib from 562a4372d176 to 956936c53cb6 (4 revisions)
- Roll Jinja2 from 515dd10de9bf to e2d024354e11 (1 revision)
- Add CFX_DIBBase::TakePalette()
- Make RenderDeviceDriverIface::StartDIBits() take RetainPtrs by value
- Handle MultiplyAlpha(1.0f) within MultiplyAlpha()
- Remove out-parameter from CFX_DIBBase::ConvertBuffer()
PDFium 122.0.6248.0
This version was built with branch chromium/6248
of PDFium
Changes
Commits between chromium/6233
and chromium/6248
:
- Make RenderDeviceDriverIface::SetBitsWithMask() bitmap params const
- Remove dead code from CFX_DIBBase::ConvertBuffer() and related code
- Remove unused CFX_DIBitmap::SetPixel()
- Change CPDF_ImageRenderer to store a float alpha value
- Pass RetainPtrs in CFX_RenderDevice and CFX_DIBitmap by value
- Change CFX_RenderDevice::StartDIBitsWithBlend() to take a float alpha
- Change CPDF_RenderStatus::CompositeDIBitmap() to take a float alpha
- Change CFX_ImageRenderer to use float alpha values
- Change CFX_BitmapComposer to use float alpha values
- Switch to NOTREACHED_NORETURN() in core/fxge/win32
- Make RenderDeviceDriverIface::MultiplyAlphaMask() parameter more const
- Change SetBitsWithMask() methods to take alpha as a float
- Change RenderDeviceDriverIface::StartDIBits() to take alpha as a float
- Change CFX_DIBitmap::MultiplyAlpha() to take a float
- Avoid overloading MultiplyAlpha()
- Implement CFX_DefaultRenderDevice::Clear() for all build configs
- Make RenderDeviceDriverIface more const-correct
- Make CFX_DIBitmap more const-correct
- Remove dead code in CFX_DefaultRenderDevice::AttachAggImpl()
- Make CFX_RenderDevice::GetBitmap() const-correct
- Mark CFX_RenderDevice::SetBitmap() as protected
- Avoid FT_FaceRec usage in various places
- Roll Depot Tools from 1714cc6e5ae3 to 35a530663508 (41 revisions)
- Roll Code Coverage from d0698ae5eae9 to 2bd00824f032 (2 revisions)
PDFium 122.0.6233.0
This version was built with branch chromium/6233
of PDFium
Changes
Commits between chromium/6219
and chromium/6233
:
- Roll v8/ fc242dcac..83ad2aebb (53 commits)
- Add third_party/fp16 dependency
- Relax pitch check in CFX_DIBitmap::CalculatePitchAndSize()
- Enhance FixedSizeDataVector<>.
- Roll tools/clang/ dbe34d7b7..2b9d966ec (5 commits)
- Roll buildtools/ and third_party/libc++/src/
- Show FPDFBitmap_GetFormat() issue for bitmaps with external buffer
- Use std::vector<> in testing/test_fonts.h
- Roll v8/ 3469157c0..fc242dcac (66 commits)
- Update reclient_version to 0.125.0.f3883c2-gomaip
- Roll third_party/libunwind/src/ 278e5fbaf..2602aecdf (3 commits)
- Roll third_party/libc++abi/src/ 4cb5c2cef..8806fb8bb (5 commits)
- Simplify matcher string in fxcrt death tests
- Update android_toolchain_version to wpJvg81kuXdMM66r_l9Doa-pLfR6S26Jd1x40LpwWEoC
- Update gn_version to 85944ebc24a90ec1e489e85a46fdc68542c3146f
- Add missing FontEncoding::kNone value
- Roll tools/rust/ 9f2ba7f84..e721a72ad (11 commits)
- Roll third_party/freetype/src/ 8f255c89e..ca76683b7 (8 commits)
- Roll third_party/skia/ e0768dea5..a9db1213b (208 commits)
- Roll build/ 9b8bc79c2..9ca0d2ce9 (79 commits)
- Fix Skia + EMF rendering for transparencies
- Roll base/allocator/partition_allocator/ 82380dc78..72b7e1a3f (24 commits)
- Roll third_party/abseil-cpp/ 0764ad493..b7ad4e9ef (9 commits)
- Roll Memory Tools from 884774321e20 to 216d33bbf954 (2 revisions)