Release 0.63.0
core:
* CairoOutputDev: support embedding CCITT image data. Bug #103399
* CairoOutputDev: limit image size when printing. Bug #103399
* CairoOutputDev: use GOOD instead of BEST as the default cairo filter for scaling. Bug #103136
* Error out on save if file has changed since we opened it. Bug #103793
* PDFDoc: use %c instead of \x to output binary. Bug #103873
* Fix index out of bounds undefined behaviour in PSTokenizer. Bug #103583
* Fix opening files with OutlineItem loops. Bug #102914
* Fix some bugs in StructTreeRoot parsing of parent tree. Bug #103912
* Remove error for wrong child type for tagged pdf. Bug #103587
* FoFiTrueType::readPostTable() from xpdf 4.00. Bug #102880
* GfxFontDict: merge reference generation from xpdf 4.00. Bug #104565
* Reset lastAbortCheck on updateLevel reset
* PDFDoc::setup: Fail early if base stream length is 0. Bug #103552
* Check curStr is actually a Stream before doing Stream operations. Bug #104518
* Fix new Object API porting bug. Bug #104517
* Check return code of getChar(), abort reading on error. Bug #104502
* TextPage: Add horizontal scaling to font matrix. Bug #105259
* Fix EmbedStream replay. Bug #103446
* Fix memory leak on error condition
* Fix assert on malformed documents. Bug #104354
* Fix abort in Gfx::opBeginMarkedContent if args[1] is not a name. Bug #104468
* GfxGouraudTriangleShading::parse: Don't abort on malformed documents. Bug #104567
* GfxFunctionShading::parse: Fix abort in malformed document. Bug #104581
* Remove the extern C from glib.h. Bug #103621
* Don't let ArthurOutputDev be friend of SplashPath anymore
* Fix undefined sanitizer warning about qsort
* Form.h: include time.h for time_t
* Various code improvements
qt5:
* Add cancellation support to renderToImage and textList
* Do not assume all Screen annotation actions are Renditions. KDE bug #388175
* qt5: Implement operator= for PageTransition
* ArthurOutputDev: 'clip' should intersect new and old clipping path
* ArthurOutputDev: Implement updateBlendMode
* ArthurOutputDev: Replace the QPainter by a stack of QPainters
* ArthurOutputDev: Rudimentary support for transparency groups
* Remove stale libcms1 code. Bug #104358
* demo: don't crash if page is malformed
* Fix warnings due to the use of deprecated overloads of Poppler::Page::Search in tests.
utils:
* pdfimages: Fix for files with flate encoded inline images. Bug #103446
* pdftocairo: Remove stale libcms1 code. Bug #104358
* pdfimages: Fix build without libtiff and libpng
* pdfseparate: Fix buffer size warning due to missing space for null terminator
build system:
* Enable building all libs as static libs
* Enable no-missing-field-initializers
* Remove unused FindLIBOPENJPEG.cmake
* add "--owner root:0 --group root:0" options to tar command in dist target. Bug #104398
* Add python3 support to gtkdoc.py
* gtkdoc.py: Make it work with newer gtk-doc. Bug #105075
cpp:
* Add page::text_list
Release 0.62.0
core:
* Stop supporting lcms1, you really want to use lcms2 :)
* Stop supporting openjpeg1, you really want to use openjpeg2 :)
* Open files that state 8 bits as third field of W. Bug #103469
* GfxLabColorSpace::parse: Fix crash in broken documents. Bug #103582
* Fix leak if parseDA fails
* Include glibc.h where needed
* Document the meaning of the 'type' integer of a shading
* Fix UTF test fail
* INSTALL: add debug options
qt5:
* Add API to let the rendering process callback to get a partial rendering. Bug #103372
qt4:
* Remove the Qt4 frontend
utils:
* Support unicode on windows console
* pdfsig: install man page
* sort encoding list
glib:
* demo: fix warning
note: script detailed in `man revbump` insisted on bumping pkgrevision of
print/poppler, it's probably wrong, but not committing this change is wronger.
fixing CVE-2017-14517 CVE-2017-14518 CVE-2017-14519 CVE-2017-14520
CVE-2017-15565
upstream notable changes:
Release 0.61.1
core:
* CairoOutputDev: don't overflow y * stride when accessing image data
cpp:
* Fix for corrupted image files on Windows. Bug #102494
build system:
* Fix incorrect paths in .pc files. Bug #103578
* add the custom buildtests target only once. Bug #103003
Release 0.61.0
core:
* Fix crashes in broken files
* Cleanup unused functions from GlobalParams
* Tweak LZWStream::processNextCode error handling. Bug #103174
* Warning fixes
* Remove t1lib code
qt5:
* Clean up the remaining Splash code in Arthur backend. Bug #103117
* ArthurOutputDev: Properly implement saveState/restoreState. Bug #103118
* Fix leak in ArthurOutputDev::updateFont. Bug #103508
build system:
* Use GNUInstallDirs. Bug #103211
* mingw: Install pkg-config files
* mingw: change library names to include the soversion. Bug #103157
* Fix installing a .cc file as header
* Use -pthread flag instead of -lpthread
Release 0.60.1
qt5:
* ArthurOutputDev: Add missing 'return' in error paths
build system:
* FindLIBOPENJPEG.cmake: Add CheckCXXSourceCompiles
Release 0.60.0
core:
* Enable libcurl support by default
* PSOutputDev: Fix wrong text generation. Bug #102760
* Added methods to get and set the font size of text fields. Bug #101692
* CairoOutputDev: Do not extend the pattern in drawImageMaskRegular
* CairoOutputDev: do not use the custom downscaling for rendering images when using cairo >= 1.14
* Fix build with old clang
* Fix various crashes in broken files
* Fix some warnings
* Add some constness to the basic classes
* Remove unused functions from GlobalParams
qt5:
* Added methods to get and set the font size of text fields. Bug #101692
* Add whether renderToImage shows annotations
* ArthurOutputDev: Replace Splash font rendering by Qt font rendering
* ArthurOutputDev: Implement the drawSoftMaskedImage method
* ArthurOutputDev: Fix several small bugs related to dash pattern handling
* Fix two minor typos
build system:
* cmake is now the default build system
* autotools based build system has been removed
utils:
* pdfinfo: don't truncate dest name
changes: bugfixes, among them a format string problem (CVE-2013-4474)
pkgsrc change: kill the poppler-cms/lcms option, it got broken recently
and it is not useful enough to justify the complexity
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.
While doing that, also bump freetype2 dependency to current pkgsrc
version.
Suggested by tron in PR 47882
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1788http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1789http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1790
by updating to the latest stable version.
Changes against 0.22.1:
core:
* Correct rendering of underline and strike out annotations (Bug #61518)
* Workaround broken jpeg stream definitions (Bug #61994)
* SplashOutputDev: Restore CTM on early exits (Bug #61413)
* SplashOutputDev: Make sure we don't try to paint in x < 0 (KDE Bug #315432)
* Fix latin page labels. (Bug #61034)
* Fix compilation with jpeglib9
* Fix minor valgrind warning
utils:
* pdfimages: Fix extraction of some images (Bug #61168)
build system:
* Fix the build with automake-1.13
Changes against 0.22.0:
core:
* Fix crash in some pdf files when extracting text (Bug #59561)
* Fix crashes in wrongly formed files
* Fix wrong warning when opening some files (Bug #58966)
build system:
* Improve autoconf jpeglib.h detection (Bug #59186)
Changes against 0.20 include
Release 0.22.0
core:
* Fix crash in invalid files that define a <= 0 bits per image value
* Fix a few issues in JPX decoding when not using OpenJPEG
* TextOutputDev: Use page size for max value in TextPage::visitSelection
* Fix typo in error message
utils:
* Fix pdfunite regression (Bug #58569)
* Demo fixes and improvements
misc:
* pdf-inspector improvements
Release 0.21.4
core:
* SplashOutputDev: Fix crash when rendering in monochrome mode
* SplashOutputDev: Fix line widths in monochrome mode (Bug #57294)
* PSOutputDev: Fix crop on EPS conversion (Bug #30692)
* TextOutputDev: Fix minor logic mistake
* Fix assert on some malformed files (Bug #58257)
* Move #include "jpeglib.h" into .cc file (Bug #57687)
* Filter text that may end up being written to the shell
* Fix windows compile warnings
glib:
* Add poppler_annot_set_flags (Bug #58015)
* Demo fixes and improvements
qt4:
* Fix check_lexer on 32-bit systems
Release 0.21.3
core:
* Splash: Implement bilinear image scaling (Bug #22138)
* CairoOutputDev: Update fill and stroke color in startPage (Bug #54526)
* Fix GooString::insert()
* Allow large chars in TextPage
* Fix crash on ActualText::end
* Don't use memcpy to copy classes
* Fix warnings
glib:
* Check if words end with spaces (Bug #54504)
* Ensure text is only computed on first render
* Fix warnings while generating introspection file
* Fix returns tag in PopplerAttachmentSaveFunc api doc
* Minor demo fixes
Release 0.21.2
core:
* CairoOutputDev: make drawImage work with images > 32767 in width/height
(Bug #56858)
* CairoOutputDev: Fix soft mask when image resolution != smask resolution
(Bug #57070)
* CairoOutputDev: Fix crash in CairoImageOutputDev with
setSoftMaskFromImageMask (Bug #57067)
* Remove a check on fonts that we don't need (Bug #56753)
* Misc code cleanups
utils:
* pdftocairo: Add tiff output support (Bug #57006)
* pdfunite: Fix -v (Bug #56817)
* Misc code cleanups
Release 0.21.1
core:
* Annotation improvements
* Form improvements
* CairoImageOutputDev: Support parameterized Gouraud shading (Bug #56463)
* UTF validation fixes
* Do not call drawing routines if we don't need non text (Bug #54617)
* Fix Memory leak in CharCodeToUnicode (Bug #54702)
qt4:
* Make LinkRendition properties available (Bug #55378)
* Accessors for FormWidgetChoice::editChoice
* Implement overprint
Release 0.21.0
core:
* Support the modification of files with Encrypt
* Annotation improvements
* Form improvements
* Splash: Implement DeviceN support
* Splash: Avoid bogus memory error for tilingPattern
* TextOutputDev: Allow multiple fonts in a TextWord
* Kill the concept of base dir
* PSOutputDev: Always write HiResBoundingBox (Bug #53159)
* Convert UTF-16 to UCS-4 when reading toUnicode cmap
* GooString formatting: add support for uppercase hexadecimal
* Use error() instead of fprintf(stderr, ...) in Annot::layoutText
* poppler-config.h: remove WITH_FONTCONFIGURATION_* macros
glib:
* Annotation improvements
* Add poppler_page_remove_annot()
* Add poppler_document_new_from_stream
* Add poppler_document_new_from_gfile
* Add poppler_page_find_text_with_options (Bug #2951)
* Demo improvements
* Port tests and demo to GTK+3
qt4:
* Add accessor methods for movie poster information
* Make 'additional actions' available in Annotation API (Bug #53589)
* Add whole-page search method to Poppler::Page
* Small changes in tests
utils:
* pdftohtml: Make the output more xhtml compliant
* pdftohtml: Add -fontfullname. (Bug #49872)
* pdftohtml: Do not invoke gs anymore
build system:
* Add the possibility of using lcms1 even if lcms2 is installed
* Remove extra fontconfig CFLAGS and LIBS
changes:
-Improvements regarding embedded file handling
-bugfixes
-cleanup
pkgsrc note: shlib major changes, revbumps needed. also switch to
lcms2 for the "cms" option
This switches to the 0.20 release branch - many fixes and improvements.
(0.18 was skipped)
The qt3 frontend isn't supported anymore - the poppler016 pkg is kept
for now for KDE3. Atm, it conflicts with newer popper pkgs. This can be
fixed by renaming include paths and libraries, but this would need
modifications of the KDE3 pkgs.
alternative from mk/jpeg.buildlink3.mk
This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).
The mechanical edits were applied via the following script:
#!/bin/sh
for d in */*; do
[ -d "$d" ] || continue
for i in "$d/"Makefile* "$d/"*.mk; do
case "$i" in *.orig|*"*"*) continue;; esac
out="$d/x"
sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
-e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
< "$i" > "$out"
if cmp -s "$i" "$out"; then
rm -f "$out"
else
echo "Edited $i"
mv -f "$i" "$i.orig" && mv "$out" "$i"
fi
done
done
circumstances. This leads to NaNs passed to cairo which makes that
literally "nan" is inserted into the output file when printing. The
resulting file crashes ghostscript, and also poppler when it is fed
to it again.
I didn't read PDF specs yet to understand where the math is failing,
just avoided the division by zero.
This is a major update, switches to the 0.12 release branch.
Most notable change is that the color management stuff which we had
as patches in pkgsrc is official now.
Otherwise - many fixes and enhancements.
(while this is a .0 release I've been tracking the 0.11.x snapshots
and release candidate for a while so I don't expect big problems)
-if a choice field defines both an "export value" and a "name", use the
latter as "value" if selected (according to the PDF spec) -- makes
that I can fill in my company's travel expenses form correctly
(there is still an issue with captions of check boxes / radio
buttons which looks like a font problem)
-where iconv() is called to fill in a text field, use "UTF-8" and
"UTF-16BE" as encoding names rather than the less portable
"UTF8" and "UTF16BE" -- this makes it work on NetBSD
bump PKGREVISION
Changes since 0.10.4:
core:
* Read the UF entry if present and prefer it over F in Filespec dictionary
* Fix typo that was making CairoOutputDev crash on some files. Bug #17337
* Make JBIG2Stream more robust to corrupt input data
* Do not blindly follow loops parsing OutlineItem. Bug #18364
* Set up the error manager before calling jpeg_create_decompress. Bug #20484
* Check there is an optional content config before using it. Bug #20587
* Fix rendering of some PDF with OpenType fonts. Bug #20605
build system:
* Yet more support for build on windows
* Use AC_CHECK_HEADER to find headers. Bug #20538
* Check for pkgconfig before using it
* General autotools improvements
changes:
-fixed some crashes and a memory leak
-fixed pdfimages to work for jpeg
pkgsrc change: pulled in color management support from the development
branch (but tested by me for many weeks), as an option which is on
per default
Release 0.10.2
core:
* Fix a crash when selecting text in word mode
* Fix a crash in some malformed documents (second argument
of opMarkPoint is not a dictionary)
* Ensure cairo font matrix is invertable. Fixes bugs #18254
and #18429
* Fix a memory leak (Bug #18924)
Qt4:
* Fix deserization of links right coordinate
misc:
* Fix build on Solaris 10 + Sun Studio 12
* Compile with -pedantic
changes:
-fix crashes on certain input
-Fix leaks
-Do not limit CharCodeToUnicodeString to 8 characters
-Support for surrogates outside the BMP plane
pkgsrc note: the crashes had been fixed by patches in pkgsrc before
This switches to the new 0.6 branch which is not source compatible
to 0.5.x.
Most notable changes:
-Merge xpdf 3.02 changes
-Support for Sound objects
-Support for Opening/Closing page actions
-Support for page duration
-Improve PS Tokenizer performance
-Beginning of Interactive Form support
-xpdfrc is no longer used for anything
-Fix security issue MOAB-06-01-2007
-Lots of bugs fixed