poppler: Update to version 24.03.0 - Update from version 24.01.0 to 24.03.0 - Update of rootfile - find-dependencies run due to sobump. No issues found - Changelog 24.03.0: core: * Fix opening some malformed files. Issue #1447 * Skip drawing image when it has singular matrix. Issue #1114 * Fix crash on malformed files * Small internal code cleanup utils: * pdfdetach: Fix potential directory traversal * pdfimages: Enable to print filenames to stdout. * pdfsig: Add visible name/date when signing an existing form signature field 24.02.0: core: * Fix reading some JBIG2 streams. Issue #1319 * Fix saving some annotation interior color when it's empty * Make searching for fonts when adding annotations a bit faster * Make sure images are compressed when adding them * Small internal code cleanup utils: * pdfimages: return exit code 2 when error opening output files Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
poppler: Update to version 24.01.0 - Update from version 23.08.0 to 24.01.0 - Update of rootfile - Changelog 24.01.0: core: * Don't crash on certain documents on the NSS signature backend * Fix infinite loop in some annotation code if there's not space for even one character * Fix build on Android with generic font configuration * Small internal code cleanup 23.12.0: core: * Rewrite FoFiType1::parse to be more flexible. Issue #1422 * Small internal code refactoring 23.11.0: core: * CairoOutputDev: Use internal downscaling algorithm if image exceeds Cairo's maximum dimensions. * Internal code improvements * Fix crash on malformed files utils: * pdftocairo: Add option to document logical structure if output is pdf * pdftocairo: EPS output should not contain %%PageOrientation 23.10.0: core: * cairo: update type 3 fonts for cairo 1.18 api * Fix crash on malformed files build system: * Make a few more dependencies soft-mandatory * Add more supported gnupg releases * Check if linker supports version scripts 23.09.0: core: * Add Android-specific font matching functionality * Fix digital signatures for NeedAppearance=true * Forms: Don't look up same glyph multiple times * Provide the key location for certificates you can sign with * Add ToUnicode support for similarequal * Fix crash on malformed files qt5: * Provide the key location for certificates you can sign with * Allow to force a rasterized overprint preview during PS conversion qt6: * Provide the key location for certificates you can sign with * Allow to force a rasterized overprint preview during PS conversion pdfsig: * Provide the key location for certificates you can sign with Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
poppler: Update to version 23.08.0 - Update from version 23.03.0 to 23.08.0 - Update rootfile - Changelog 23.08.0: core: * Fix GWG 19.2 - DeviceN Overprint (White) * Splash: avoid bogus memory allocation size in doTilingPatternFill * Fix use-of-uninitialized-value in XRef * Fix float-cast-overflow error in Catalog * Cleanup gpgme backend code * Version symbols in poppler core glib: * Improve poppler_get_available_signing_certificates * Add new members to PopplerCertificateInfo utils: * pdftotext: small improvement to man page 23.07.0: core: * Fix reading of utf8-with-bom files * Fix crash if CERT_ExtractPublicKey doesn't return a public key * Fix rendering of some malformed documents. Issue #1395 * Allow for stream compression and compress font streams in forms * Remove method Hints::getPageRanges qt5: * Fix crash when overprint preview is enabled * Don't fail signature basics tests if backend is not configured qt6: * Fix crash when overprint preview is enabled * Don't fail signature basics tests if backend is not configured utils: * pdfsig: Allow showung and selecting signature backend * pdfsig: Describe signature dump format in manual page glib: * Add signing API build system: * zlib is now mandatory 23.06.0: core: * CairoOutputDev: Fix crash when doing type3 rendering * Fix crash with unknown signature hashing algorithms * Add gpgme backend for signature handling * Windows: Fix crash when signing existing signature * FontInfo: Make it return proper information about font substitution * FontInfo: Try harder to get Type 3 font name * Store embedded fonts widths table in a more effective manner * Skip font lookup for nonprintable characters * Windows: Look for fonts in both windows font dir and poppler fonts dir * Windows: symbol.ttf is not a good Symbol font * Windows: Fix memory leak when looking for fonts * Fix crash on malformed files qt5: * Add API to allow selecting signature backend (nss or gpgme) * Convert embedded files to bytearray a bit smarter qt6: * Add API to allow selecting signature backend (nss or gpgme) * Convert embedded files to bytearray a bit smarter 23.05.0: core: * Fix crash when filling some forms * Set SigFlags when signing unsigned signature * Add some infrastructure code to support multiple signing backends * Fix potential stack overflow in PostScriptFunction::parseCode * Fix some minor uninitialised memory reads 23.04.0: core: * Fix memory issue when signing fails. Issue #1372 * Internal improvements of signature related code * CairoOutputDev: improve type3 font rendering * Fix memory leak in GlobalParams::findSystemFontFileForFamilyAndStyle utils: * pdftocairo: Fix crash in some special situations * pdfsig: allow holes in -dump signature list * pdfsig: Support --help Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
poppler: Update to version 23.03.0 - Update from version 23.01.0 to 23.03.0 - Update of rootfile not required - Changelog Release 23.03.0: core: * PngWriter: Fix potential uninitialized memory use Release 23.02.0: core: * CairoOutputDev: Fix rendering of color type 3 fonts * CairoOutputDev: Add handling matte entry * Fix segfault on wrong nssdir * Fix "NSS could not shutdown" utils: * pdfsig: Point out supports PKCS#11 URIs as nickname Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
poppler: Update to version 23.01.0 - Update from version 22.11.0 to 23.01.0 - Update of rootfile - sobump checked with find-dependencies but not other programs other than from poppler are flagged up. - Changelog Release 23.01.0: core: * PDFDoc::sign: Fix crash if font can't be found * PDFDoc::sign: Try Arial to sign if Helvetica isn't found * FoFiType1::parse: Be more flexible parsing the encoding content. Issue #1324 * Gfx::opBeginMarkedContent: Support Span with Name. Issue #1327 * Splash: Avoid color issues due to implicit rounding * Splash: Fix crash on malformed file. * CairoOutputDev: Ignore text rendering mode for type3 fonts * Remove unused FoFiType1::load function build system: * Increase minimum required versions of several dependencies * Improve include path handling qt6: - Use less deprecated functions Release 22.12.0: core: * Form::addFontToDefaultResources: Be stubborn in finding a font we can use. Issue #1272 Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
poppler: Update to version 22.11.0 - Update from 22.04.0 to 22.11.0 - Update of rootfile - Changelog Release 22.11.0: core: * CairoOutputDev: Update font after restore * Protect against broken files * Small code refactoring Release 22.10.0: core: * SplashOutputDev::tilingPatternFill: Properly restore CTM on failure. Issue #1292 * Protect against malformed files * Refactor code to not use strndup * Other small code refactoring utils: * pdftoppm: Avoid round-off errors when determining raster dimensions * pdftocairo: Avoid round-off errors when determining raster dimensions * pdftotext: Simplify memory handling qt: * Take into account flagNoView when getting/setting the visible status. KDE bug #456313 build system: * Fix sed invocation Release 22.09.0: core: * Splash: Do not truncate line dash patterns with more than 20 entries. Issue #1281 * Various signature related improvements * Fix FormField::getFullyQualifiedName in some scenarios * Splash: Small optimization on dash pattern handling * JBIG2Stream::readHalftoneRegionSeg: Fix potential memory leak * Fix crashes on malformed files. Including CVE-2022-38784 * Fix string formatting in error reporting glib: * Fix two potential memory leaks in poppler_document_create_dests_tree utils: * pdfsig: List signature field names when listing signature information * pdfsig: Add support for specifying signature by field name * pdfunite: Fix crashes on malformed files * pdfunite: Fix potential memory leak of docs Release 22.08.0: core: * Fix rendering text on some forms * CairoOutputDev: Support Type3 charprocs having Resources * Fix crashes on malformed files Release 22.07.0: core: * Fix crash when filling in forms in some files. Issue #1258 * Fix first lines of Annotations sometimes being cut off. Issue #1246 * Signatures: Don't crash if the signature doesn't have a common name * CairoFontEngine: increment font_face reference when retrieving from the cache * Add ToUnicode support for lessorequalslant and greaterorequalslant glib: * Add support for stamp annotation build system: * Tweaks on how gperf is run Release 22.06.0: core: * Forms: Fix crash in forms with their own DR * Refactor CairoFontEngine caching * CairoOutputDev: preserve text color when drawing type 3 glyphs * Windows: font code simplification * Minor code improvements cpp: * Add missing header utils: * pdfattach: Assume filename is utf8 encoded * pdftohtml: Fix type 3 font size calculation Release 22.05.0: core: * Annotations: Make sure we embed fonts for the FreeText annots * Forms: Make sure we embedd fonts as needed * Signatures: Make sure we embed the needed fonts * CairoOutputDev: color type 3 fonts * fix two bugs in multiline find_text() * code improvements utils: * pdftotext: added TSV mode * HtmlOutputDev: don't use png.h cpp: * Use time_t for time * Add page_transition::durationReal qt: * Pass leftFontSize down to `FormWidgetSignature::signDocumentWithAppearence` Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
poppler: Update to version 22.04.0 - Update from 22.02.0 to 22.04.0 - Update of rootfile - Changelog Release 22.04.0: core: * Fix underline sometimes being drawn only partially * Fix Adobe Reader not reading some of the contents we write correctly * Fix code that workarounds some broken-ish files * FoFiTrueType: Parse CFF2 fonts too * FoFiTrueType: Support cmap types 2 and 13 * Fix a few small memory leaks * code improvements qt: * Handle SaveAs named action * Annotations: don't change the text color when changing the font utils: * pdftotext: print creation and modification date when using htmlmeta param glib: * Fix returning internal data of temporary strings cpp: * Fix code incompatibility with MSVC build system: * poppler internal library is no longer forced to static on MSVC * Error out if iconv is not available and the cpp frontend is enabled * Require FreeType 2.8 Release 22.03.0: core: * Signature: Fix finding Signatures that are in Pages not not in the global the Forms object * Signature: Improve getting the path to the firefox certificate database * Splash: Fix rendering of some joints. Issue #1212 * Fix get_poppler_localdir for relocatable Windows builds * Minor code improvements qt: * Minor code improvements utils: * pdfimages: Fix the wrong Stream being passed for drawMaskedImage build system: * Small code improvements Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Switch checksums from MD5 to BLAKE2 Historically, the MD5 checksums in our LFS files serve as a protection against broken downloads, or accidentally corrupted source files. While the sources are nowadays downloaded via HTTPS, it make sense to beef up integrity protection for them, since transparently intercepting TLS is believed to be feasible for more powerful actors, and the state of the public PKI ecosystem is clearly not helping. Therefore, this patch switches from MD5 to BLAKE2, updating all LFS files as well as make.sh to deal with this checksum algorithm. BLAKE2 is notably faster (and more secure) than SHA2, so the performance penalty introduced by this patch is negligible, if noticeable at all. In preparation of this patch, the toolchain files currently used have been supplied with BLAKE2 checksums as well on https://source.ipfire.org/. Cc: Michael Tremer <michael.tremer@ipfire.org> Signed-off-by: Peter Müller <peter.mueller@ipfire.org> Acked-by: Michael Tremer <michael.tremeripfire.org>
poppler: Update to version 22.02.0 - Update from 21.11.0 to 22.02.0 - Update of rootfile - Changelog Release 22.02.0: core: * Signature: Add a way to detect unsigned FormFieldSignature * Signature: Suport background image when using left and right text * Signature: Fix path where to search for Firefox NSS in Windows * Signature: Fix NSS code to work correctly in Windows/Android * Count only signature fields in PDFDoc::getNumSignatureFields * Minor code improvements qt: * Allow signing unsigned signature fields * Allow passing a background image for the signature when signing * Allow passing the document password when signing * Fix leftFontSize being ignored when signing glib: * try with utf8 password if latin1 fails * New method for getting all signature fields of a document * Fix compile with MSVC utils: * pdfsig: Fix compile with MSVC build system: * Fix NSS cmake check for MSVC Release 22.01.0: core: * Allow local (relative to dll) fonts dir on Windows * TextOutputDev: require more spacing between columns. Issue #1093 * Fix crash in Splash::gouraudTriangleShadedFill. Issue #1183 * Fix crash when calling Form::reset() * GfxSeparationColorSpace: Check validity of colorspace and function. Issue #1184 * Minor code improvements glib: * Include glib.h before using defines from it * Close file descriptors on error * Plug some memory leaks * Replace use of deprecated g_memdup/g_time_zone_new * Remove FD-taking functions on windows utils: * pdfsig: Add support for documents with passwords * pdfsig: Fix signing with -sign if nss password is needed Release 21.12.0: core: * Add API to add images * CairoOutputDev: Fix de-duping of Flate images * Fix crash on broken files when using non-default ENABLE_ZLIB_UNCOMPRESS. Issue #393 * Minor code improvements glib: * Add API for validation of signatures * Add API to read/save to file descriptor utils: * pdftohtml: Reduce sensitivity of duplicate detection. Issue #1117 build system: * Increase C++ standard to 17 Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
poppler: Update to version 21.11.0 - Update from 21.07.0 to 21.11.0 - Update of rootfile - find-dependencies run to check so bump. No issues found - Changelog Release 21.11.0: core: * Fix rendering of some non-standard confirming annotations * Support rendering of some non-standard Type3 charprocs. Issue #1150 * TextOutputDev: Respect orientation when selecting words. Issue #499 * CairoOutputDev: Don't override the antialias settings from the cairo_t * StructElement: support MCID in XObjects * Fix detection of monospace fonts * Ignore Adobe-Identity for non embedded CID fonts * PageLabelInfo::labelToIndex: work on some special no style intervals * Fix crash in malformed files * Minor code improvements utils: * pdfinfo: add -url option to print all URLs in a PDF * pdftohtml: document what zoom means in regard to DPI qt6: * Require Qt 6.1 * Minor code improvements Release 21.10.0: core: * Add support for setting custom stamp annotations * Add default appearance for the well known stamp names * Correct encoding of signature's properties Reason & Location * Splash: Fix rendering of some odd patterns * SignatureHandler::validateCertificate: Add option to not do OCSP revocation check * SignatureHandler::validateCertificate: Add support for AIA fetching to verify certificates * greallocn: if memory allocation fails, free the previous pointer to avoid memory leak * Fix issues with malformed files * Internal code improvements utils: * pdfsig: Add a way to list certificate nicknames * pdfsig: You can now add signatures from pdfsig * pdfsig: Add option to not do OCSP revocation check * pdfsig: Add option for AIA fetching to verify certificates * pdfinfo: Add -custom option to print custom metadata * pdfinfo: add metadata flags qt: * Add support for setting custom stamp annotations * Add getters for signature's properties Reason & Location * Internal code improvements glib: * Remove incorrect PopplerAttachment deprecation Release 21.09.0: core: * Splash: Massive spped improvement on files that use lots of save/restore (q/Q) operators * Correct decoding of signature properties Reason & Location when they are Unicode * Fix issues with malformed files * MSVC build fixes build system: * Call cmake_minium_required() before project() * Always append to CMAKE_{C,CXX}_FLAGS_${CMAKE_BUILD_TYPE} * correctly forward user-provided flags to try_compile() Release 21.08.0: core: * Add API to allow addition and modification of outlines into a PDF * Use additional samples to test for constant parts of an axial gradient * forms: Create fallback fonts for some well known font names * Support reading the PDF Version from the Catalog * Fix XRef::copy when there are modified objects * Take into account that Date string may be in unicode * JBIG2Stream: Fix regression in "Do not consider a size-0 to be an error" * Replace a local bubble sort implementation by std::sort * Fix issues with malformed files build system: * Better error message when libjpeg is not found * Better error messages when libopenjpeg2 is not found qt5/qt6: * Document that a document has to outlive its pages * Make getPdfVersion return a dedicated version object glib: * mimick TextSelectionDumper logic change for spaceAfter Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
poppler: Update to version 21.07.0 - Update from 21.05.0 to 21.07.0 - Update of rootfile - Changelog is too large to include here. Full details can be found in the ChangeLog file in the source tarball. This is a collection of all the commits made. Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
poppler: Update to 21.05.0 - Update from 21.04.0 to 21.05.0 - Update of rootfile - Ran find-dependencies - nothing found - Changelog Release 21.05.0: core: * Fix crashes in malformed files * Export SplashFont* symbols used by Scribus * Minor code improvements glib: * Enhance find to support multi-line matching qt5/qt6: * Make sure new signatures are always properly oriented * Allow to pass the border width when signing utils: * pdftoppm: Fix regression when using single scaleTo. Issue #1062 build system: * Allow to disable building manual tests Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
poppler: Update to 21.04.0 - Update from 0.89.0 to 21.04.0 From Aug 2020 file version naming changed to YY.MM.x Update issued every month since then - Update rootfile - Changelog is too large to include here Full content can be reviewed in ChangeLog file in source tarball Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
update disclaimer in LFS files Most of these files still used old dates and/or domain names for contact mail addresses. This is now replaced by an up-to-date copyright line. Just some housekeeping... :-) Signed-off-by: Peter Müller <peter.mueller@link38.eu> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>