PDFium 129.0.6666.0
github-actions
released this
21 Aug 19:29
·
4 commits
to master
since this release
This version was built with branch chromium/6666
of PDFium
Changes
Commits between chromium/6611
and chromium/6666
:
- Use EmbedderTest::LoadScopedPage() in test files
- Refactor CPDF_SimpleParser part 4
- Refactor CPDF_SimpleParser part 3
- Add CPDF_SimpleParser edge case tests
- Refactor CPDF_SimpleParser part 2
- Refactor CPDF_SimpleParser names
- Rename FXDIB_Format enum values to better match public values
- Use safe math in FPDF_FileHandlerContext::ReadBlockAtOffset()
- Remove IFX_SeekableStream::ReadBlock()
- Use safe math in FPDF_FileHandlerContext::WriteBlock()
- Avoid creating FPDF_FileHandlerContext with null handler
- Move xfa/fwl code into namespace pdfium
- Use std::make_unique() in CFWL_ScrollBarTP
- Move xfa/fwl/theme code into namespace pdfium
- Move xfa/fde code into namespace pdfium
- Mark end of exhaustive switch statements in CPDF_CMap as unreachable
- Remove FileAccessIface::WritePos()
- Remove IFX_SeekableWriteStream::WriteBlock()
- Simplify IFX_SeekableWriteStream::WriteBlockAtOffset()
- Rename CPDF_TextState member variables
- Add unit test for ArgbToBGRAStruct()
- Remove pdfium::arabic namespace
- Modernize some std::min/max() calls
- Adjust font fallback code to prefer embedded fonts
- Remove spurious BC_CommonBitMatrix.h includes
- Fix UNSAFE_TODOs in fx_skia_device.cpp
- Avoid divide by zero in CFX_ImageTransformer
- Remove UNSAFE_TODO in some public API implementations
- Add unit test for SimpleParserTest regression
- Remove
CFX_ScanlineCompositor::m_bClip
- Clean up GenerateBorderAP()
- Remove UNSAFE_TODO in FPDF_ImportPagesByIndex()
- Refactor CPDF_Color to use absl::variant for colorspaces
- Rename AlphaMerge() to AlphaMergeToDest() in cfx_scanlinecompositor.cpp
- Roll goldctl from f05cc7ed060e to f469d8180954
- Roll Catapult from 7534569f9982 to 2ebd180cb2e8 (48 revisions)
- Roll libpng from 34954dfe60ef to 68c9960bdc0a (1 revision)
- Add API to set document language in PDF document
- Use even more spans in fx_crypt_aes.cpp
- Spanify Revision6_Hash() arguments.
- Make CPDF_ScaledRenderBuffer Windows-only
- Reorganize common code in CompositePixelArgb2Argb functions
- Move some arguments from CPDF_ScaledRenderBuffer::Initialize() to ctor
- Mark parts of CPDF_RenderStatus::CompositeDIBitmap() as Windows-only
- Rename CPDF_ScaledRenderBuffer member variables
- Rename some "bpp" variables to "bytes_per_pixel"
- Move test-only code out of fx_coordinates.cpp and into a support target
- Make CFX_DIBitmap::GetScanlineAs() work correctly for 24-bpp bitmaps
- Simplify parameters in CFX_AggRenderer composite scanline methods
- Reduce float usage inside cpdf_generateap.cpp
- Remove 1 BPP support from cfx_agg_devicedriver.cpp
- Check
FXDIB_Format::kArgbPremul
in CFX_DIBBase::IsPremultiplied() - Use FXDIB_ALPHA_UNION() in more places in cfx_scanlinecompositor.cpp
- Avoid unreachable code in CPDF_Image::ConvertStreamToIndirectObject()
- Fix a typo in CompositeRow_Rgb2Gray()
- Get rid of UNSAFE_TODOs in ARGB to 8 BPP CompositeRow functions
- Get rid of CompositeRowArgb2RgbNoBlend()
- Get rid of UNSAFE_TODOs in CompositeRow_Argb2Argb()
- Get rid of UNSAFE_TODOs in CompositeRow_Argb2Rgb* functions
- Add a RGB_Blend() variant
- Add 2 input / 1 output Zip() variant
- Add a return type to FPDFBitmap_FillRect()
- Remove underscores from test names in fxjs/
- Remove underscores from test names in fpdfsdk/
- Mark CFX_DefaultRenderDevice Create methods with [[nodiscard]]
- Add unit tests for CPDF_Number::WriteTo()
- Add some kArgbPremul support to CFX_DIBBase::ConvertBuffer()
- Check for integer overflows in FPDFBitmap_FillRect()
- Fix UNSAFE_TODOs in RgbByteOrderTransferBitmap()
- Add UnPreMultiplyColor()
- Add special FPDFBitmap_FillRect() handling for 24 and 32 BPP bitmaps
- Add CFX_DIBitmap::ScopedPremultiplier
- Add more TODOs for switching to
FXDIB_Format::kArgbPremul
- Consolidate values in core/fxge/render_defines.h
- Make CFX_DIBBase::IsPremultiplied() available in non-Skia builds
- Make FFLCommon() more robust with absl::variant
- Make SkCanvas handling more robust
- Add SkCanvas / FPDF_SKIA_CANVAS conversion helpers
- Switch public API impls to check CFXDIBitmapFromFPDFBitmap() result
- Replace some fxcrt::spancpy() calls
- Revert "Minimize absl dependencies"
- Minimize absl dependencies
- Fully remove googletest absl support
- Fix CPDF_NPageToOneExporter content stream generation bug
- Add test to show wrong CPDF_NPageToOneExporter::AddSubPage() behavior
- Move CPDF_NPageToOneExporter into its own file
- Move CPDF_PageExporter into its own file
- Move CPDF_PageOrganizer into its own file
- Pass span to GetBits8() and GetBits1().
- Don't use raw_ptr for GCed types
- Remove UNSAFE_TODO() in CFGAS_GEGraphics::FillPathWithShading()
- Access ft_adobe_glyph_list via span<>.
- Remove one code path for 1 BPP to ARGB bitmap conversion
- Add FPDFViewEmbedderTest.RenderAnnotsGrayScale
- Unify buffer size calculations in CFX_DIBitmap
- Remove
src_bpp
parameter in various ConvertBuffer() helpers - Simplify TIFF decoding
- Use ProgressiveDecoder::GetBitmapFormat() in tests
- Add ProgressiveDecoder::GetBitmapFormat()
- Avoid extra conversion work in CFX_SkiaDeviceDriver dtor
- Rework UNSAFE_TODO() in fxcodec::Decode().
- Roll tools/rust/ and update third_party/rust-toolchain
- Replace return type in ProgressiveDecoder::PngAskScanlineBuf()
- Remove return type from SyncInternalBitmaps()
- Delete ConvertBuffer_Rgb2PltRgb8()
- Delete ConvertBuffer_1bppPlt2Gray()
- Roll base/allocator/partition_allocator/ 45a05505a..540ef1d89 (36 commits)
- Roll third_party/libunwind/src/ dcc1ffafb..d09db732f (3 commits)
- Roll v8/ 270b6f4e1..867a6e526 (268 commits)
- Roll third_party/googletest/src/ 1d17ea141..5bcb2d78a (13 commits)
- Roll third_party/icu/ 163e29159..9408c6fd4 (4 commits)
- Roll third_party/freetype/src/ bab9564a9..1452355de (3 commits)
- Avoid an extra bitmap copy in CFX_SkiaDeviceDriver
- Pass span to CJBig2_Context::HuffmanAssignCode().
- Remove 2 parameters from CFX_DIBitmap::TransferBitmap()
- Limit formats supported by CFX_DIBBase::ConvertTo()
- Resolve some UNSAFE_TODO/raw_ptr usage in JBig2.
- Add
FXDIB_Format::kArgbPremul
with minimal support - Delete XFA barcode char encoding code
- Prefer reinterpret_span to reinterpret_cast<T*>
- Simplify part of CFX_DIBitmap::ConvertFormat()
- Add PreMultiplyColor()
- Delete
CBC_Writer::m_colorSpace
- Remove FXRC_BIT_MASK
- Roll Instrumented Libraries from bb6dbcf2df7a to 8d1ba252b0e7 (1 revision)
- Roll Zlib from 8b7eff801b46 to c2469fdd73f1 (3 revisions)
- Roll Memory Tools from a0eeba1c75ab to 87928d7073ad (1 revision)
- Further simplify ProgressiveDecoder PNG decoding code
- Replace FXSYS_sqrt2() with hypotf()
- Mark parts of CPDF_DeviceBuffer as Windows-only
- Avoid UNSAFE_TODO() in CPDF_RenderStatus::CompositeDIBitmap().
- Make CPDF_ImageRenderer transform code Windows-only
- Make RenderDeviceDriverIface::Result::kNotSupported Windows-only
- Convert to span<> in CFGAS_TxtBreak::GetDisplayPos().
- Return failure/unsupported in RenderDeviceDriverIface::StartDIBits()
- Clean up CStretchEngine
- Remove ProgressiveDecoder::HorzTable
- Remove weight table size in ProgressiveDecoder::HorzTable
- Remove dead code in ProgressiveDecoder::HorzTable::CalculateWeights()
- Make some CPDF_Parser methods private or mark them as ForTesting
- Mark
DeviceType::kPrinter
as Windows-only - Fix FPDFFont_GetBaseFontName() behavior with Type1 fonts
- Convert unsigned int to uint32_t in core/fdrm.
- Tidy CallFunc() macro in cgdi_plus_ext.cpp.
- Add a test for FPDFFont_GetBaseFontName() with Type1 fonts
- Rename FPDFFont_GetBaseName() to FPDFFont_GetBaseFontName()
- Undo SpanFromFPDFApiArgs() templatization
- Remove dead code in CXFA_ImageRenderer
- Consistently use FX_ARGB for palette values
- Use more consistent file/class naming in fxge/agg.
- Rename CPDF_ImageRenderer::NotDrawing() to IsPrinting()
- CHECK() device capability assumption in CPDF_ImageRenderer::NotDrawing()
- Change gdiplus CallFunc() macro to take a second parameter
- Consistently check for
DeviceType::kPrinter
- Add experimental FPDFFont_GetBaseName() API
- Add enum class ProgressiveDecoder::TransferMethod
- Change FPDFFont_GetFamilyName() to take/return a size_t
- Templatize SpanFromFPDFApiArgs()
- Remove useless CGdiDisplayDriver::StretchDIBits() params
- Further simplify OutputImage() inside cgdi_plus_ext.cpp
- Spanify more of CFGAS_TxtBreak.
- Pass spans to GetAlphaWithSrc().
- Use EmbedderTest::LoadScopedPage() in fpdf_text_embeddertest.cpp
- Resolve UNSAFE_TODO() in CFGAS_DefaultFontManager::GetFont()
- Fix FXDIB_Format::kRgb32 handling when drawing with Skia
- Remove two UNSAFE_TODO()s in CharCodeFromCID().
- Delete ProgressiveDecoder::VertTable
- Simplify ProgressiveDecoder now that many scale values are always 1
- Delete ProgressiveDecoder::m_clipBox
- Mark some RenderDeviceDriver capabilities as Skia-only
- Simplify code since ProgressiveDecoder clipbox origin is always (0, 0)
- Remove ProgressiveDecoder::GetDownScale()
- Remove
m_SizeX
andm_SizeY
members in ProgressiveDecode - Combine CPDF_CalRGB member variables using std::optional
- Fix some nits in CGdiDeviceDriver
- Use more Google C++ style variables in cpdf_colorspace.cpp
- Remove unreachable code in cgdi_plus_ext.cpp
- Clean up RenderDeviceDriverIface::DrawShading()
- Remove
m_StartX
andm_StartY
members in ProgressiveDecoder - Delete ProgressiveDecoder code for now unused
m_TransMethod
values - Delete unused FXCodec_Format enum values in ProgressiveDecoder
- Limit bitmap formats in ProgressiveDecoder::StartDecode()
- Delete unused ProgressiveDecoder::SetClipBox()
- Ger rid of size parameters in ProgressiveDecoder::StartDecode()
- Get rid of origin parameters in ProgressiveDecoder::StartDecode()
- Roll Code Coverage from 306c68de9c9b to 7e0eb385f8c5 (1 revision)
- Roll Depot Tools from 6daca505974e to cdcdd6efeec1 (104 revisions)
- Roll MarkupSafe from e582d7f0edb9 to 6638e9b0a79a (1 revision)