Commit graph

54 commits

Author SHA1 Message Date
drochner
50fc59c026 update to 0.12.4
changes:
-bugfixes
-Update requirement to Qt 4.4
2010-02-23 20:11:58 +00:00
drochner
cfc9ffdd0b update to 0.12.3
changes:
-Improve the reconstruction of the XRef for broken files
-Make PSOutputDev code a bit more resilient
-bugfixes
2010-01-15 19:24:19 +00:00
tron
c09dde1c04 Fix build with Sun Studio C++. 2010-01-09 20:36:34 +00:00
drochner
e330482491 do the fix for possible division by zero more elegant, and add
a reference to the upstream bug report
2009-11-20 15:59:59 +00:00
drochner
3abeb08b44 update to 0.12.2
changes: minor bugfixes
(also fix for CVE-2009-3607 which was patched in pkgsrc)
2009-11-20 11:20:11 +00:00
drochner
c7ad628be0 The code which calculates linear gradients divides by zero under some
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.
2009-11-19 17:58:41 +00:00
drochner
2b77e300e3 update to 0.12.1
changes:
-Security fixes from xpdf 3.02pl4
-bugfixes
-qt4 API improvements

pkgsrc change: add patch for CVE-2009-3607 (integer overflow
 in create_surface_from_thumbnail_data)
2009-10-21 10:18:57 +00:00
drochner
048d9d3edf throw away the custom build rules in the poppler-qt pkg Makefile
(which got slightly out of sync) and use the original Makefile,
fixes an unresolved autoconf variable in the .pc file reported
by Hasso Tepper
bump PKGREVISION
2009-09-11 10:09:13 +00:00
drochner
9bdc78f886 update to 0.12.0
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)
2009-09-09 19:57:05 +00:00
drochner
4a73cb6b65 pull a patch from upstream which fixes generation of invalid postscript
files in some cases, bump PKGREVISION
2009-07-28 18:22:49 +00:00
drochner
785ca0a185 update to 0.10.7
changes: bugfixes
2009-05-25 21:05:23 +00:00
drochner
46317bfccf update to 0.10.6
changes:
* Fix problems that happen when parsing broken JBIG2 files.
  CVE-2009-0799, CVE-2009-0800, CVE-2009-1179, CVE-2009-1180
  CVE-2009-1181, CVE-2009-1182, CVE-2009-1183, CVE-2009-1187, CVE-2009-1188
* Fix parsing of incorrect border arrays. (was patched in pkgsrc)
* Fix clip test for fonts.
* Fix getGlyphAdvance to behave correctly on font size changes.
* Misc build fixes
2009-04-17 16:08:17 +00:00
drochner
f67467a3a8 fix some problems with interactive forms:
-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
2009-04-06 09:29:27 +00:00
drochner
95416852a9 update to 0.10.5
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
2009-03-19 12:12:24 +00:00
drochner
2748ba1cf6 pull some patches from upstream, to fix two crashes and an off-by-one
in color management support, bump PKGREVISION
2009-02-26 20:23:02 +00:00
drochner
aa77e743df update to 0.10.4
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
2009-02-12 20:55:07 +00:00
wiz
4ea267c991 Update to 0.10.3:
Release 0.10.3

	core:
	 * Fix a crash on documents with malformed outline. Bug #19024
	 * Fix leak on AnnotScreen destructor. Bug #19095
	 * Fix wrong PS generation when a large image is in Patterns. Bug #18908
	 * Remove BaseFile.h it was never used. Bug #19298
	 * Improve document saving
	 * Fix PS generation of PDF with malformed font Length2 definition
	 * Fix a leak while parsing annotations
	 * Fix rendering of some checkboxes

	Qt4:
	 * Fix positioning of Form rects on PDF with cropbox
	 * Fix positioning of Annotation rects on PDF with cropbox. Bug #18558.
	 * Small documentation improvements
	 * Make Document::fonts() work when called more than once. Bug #19405

	build system:
	 * CMake: look harder for openjpeg
	 * CMake: update the poppler core headers installation
	 * Autotools: do not install Function.cc as it's not a header

	Qt:
	 * Fix deserialization of links right coordinate
2009-01-13 10:18:56 +00:00
wiz
3700092bf5 Update to 0.10.2:
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
2009-01-07 13:54:14 +00:00
wiz
2814266cff Update to 0.10.1:
Release 0.10.1

	core:
	 * Improvements in Optional Content support
	 * Small fix in Form support
	 * Fix memory leak in case of error
	 * Fix potential crash on text search
	 * Try render documents with invalid indexed color space parameters. Bug #18374
	 * Fix crash on text extraction when poppler-data is not installed. Bug #18023

	Qt:
	 * Fix two memory leaks

	Qt4:
	 * Small documentation improvement
	 * Fix memory leak in the demo code
2008-11-10 20:59:27 +00:00
wiz
03927847e8 Update to 0.10.0:
Release 0.10.0

	core:
	 * Fix crashes on PDF using Stitching or Axial Shading painting
	 * Fix rendering of PDF with Type1 fonts that have more than
	   one encoding definition per line
	 * Do not try to save documents that have Encryption as we
	   do not support that and the user ended with a broken file
	 * Fix crash on files with OptionalContentGroup but no Name

	Qt4:
	 * Fix the area of the links to be correctly reported on rotated documents

	misc:
	 * Mingw+Msys should work

Release 0.9.3 (0.10 RC 2)

	core:
	 * Fix rendering regression on some embedded fonts
	 * Fix rendering regression of some special fonts
	 * Fix crash on documents with bogus jpeg data

	Qt4:
	 * The printing flag defaults to true on PSConverter
	 * Documentation improvement

	utils:
	 * Fix regression that made HmtlOutputDev ignore jpeg images

	misc:
	 * Improve compilation on mingw

Release 0.9.2 (0.10 RC 1)

	core:
	 * Fix conversion to PS some files (bug #17645)
	 * Small Form fixes
	 * Small JS fixes
	 * Improve memory usage of the cairo renderer

	utils:
	 * Fix mismatched free/delete in pdftohtml
	 * Fix memory leak in pdftohtml
	 * Fix crash in pdftohtml

	glib:
	 * Fix a crash in forms demo

	misc:
	 * Compile with -pedantic

Release 0.9.1 (0.10 Beta 2)

	Core:
		* Fix crash on some AESv2 encrypted files (bugs #13972, #16092, #17523)
		* Improve parsing of broken files (bug #17568)

	glib frontend:
		* Minor improvements to the demo application

	utils:
		* pdftohtml: Generate the outline file in the same place
		             of the other generated files (bug #17504)

Release 0.9.0 (0.10 Beta 1)

	Core:
	 * Initial JavaScript support
	 * Annotation improvements
	 * Improvements in the Arthur based renderer
	 * Improvements in the Cairo based renderer
	 * Added a JPEG2000 decoder based on OpenJPEG
	 * Small fixes in ActualText implementation
	 * Fix jpeg rendering when not using the libjpeg based decoder
	 * Movie fixes
	 * Do not get out of memory on documents that specify huge fonts
	 * Emulate Adobe Reader behaviour on documents with duplicate keys in Dictionaries
	 * Forms improvements

	Qt4 frontend:
	 * Annotation improvements
	 * Forms improvements
	 * Add the possibility of extracting embedded fonts
	 * Initial Movie support
	 * Documentation improvements
	 * Small improvements in the PS exporter

	glib frontend:
	 * Annotation improvements
	 * Attachment fixes

	utils:
	 * updated man pages
	 * Added -listenc to pdfinfo and pdftotext
2008-10-24 23:28:53 +00:00
drochner
b3f51f7355 update to 0.8.7
changes:
-Fix regression in Form rendering
2008-09-14 14:17:58 +00:00
drochner
b85a8924b3 update to 0.8.6
Changes since 0.8.5:
Core:
* Call error() when font loading fails
* Be less strict parsing TTF tables (bug #16940)
* Fix crash due to uninitialized variable
Qt 4 frontend:
* Make the paper color setting working as it should
* Make sure to use the correct page width/height for form widgets coordinates
2008-08-26 17:10:02 +00:00
drochner
cb4639a045 update to 0.8.5
changes:
-fix some crashes and memory leaks
-pdftohtml improvements
2008-08-06 18:44:25 +00:00
drochner
b88e673a02 update to 0.8.4
changes:
-bugfixes
-build fix for qt4 (which doesn't work)
The security fix for CVE-2008-2950 is not yet integrated upstream.
2008-07-15 10:34:21 +00:00
drochner
cb4d79225b add a missing pointer initialization, fixes possible memory corruption
(CVE-2008-2950), patch from the advisory, bump PKGREVISION
2008-07-09 10:30:37 +00:00
drochner
9cee4bd5cb update to 0.8.3
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
2008-06-05 21:03:37 +00:00
drochner
b79e2f2a5f pull another patch from upstream CVS, to fix a possible crash,
ride on today's PKGREVISION bump
2008-05-15 17:51:29 +00:00
drochner
479e35dafe pulla patch from upstream CVS which appearently fixes a problem
reported by Steven M. Bellovin on pkgsrc-users, bump PKGREVISION
2008-05-15 09:15:41 +00:00
xtraeme
2d1f52c7d5 Update to 0.8.2:
core:
	* Fix call broken by a fix introduced in 0.8.1
2008-05-01 13:32:08 +00:00
drochner
744725baf0 update to 0.8.1
Some fixes which we had patched in pkgsrc are included now.
2008-04-29 19:23:34 +00:00
drochner
cc29e3896e -fix embedded font handling (CVE-2008-1693), patch from Ubuntu,
bump PKGREVISION
-being here, add a patch from upstream CVS which fixes display
 of 16-bit colors
2008-04-18 14:03:54 +00:00
drochner
c78922a924 update to 0.8.0
changes:
* Fix caching of members in the glib frontend causing issues with rendering
* Change glib public api to have a correct naming
* Some better error handling on corner cases
* Check the document stream is seekable when opening it
* Build fixes with autotools and with cmake
* Fix infinite recursion on some malformed documents when consulting the fonts
* Fix possible crash when asking for Movie contents
2008-04-15 19:57:00 +00:00
drochner
4bebd1d790 update to 0.6.4
changes:
-Fix crash in the Splash renderer when T3 fonts are badly defined
-Draw underlined Links correctly
-utils: Fix two use after free bugs in HtmlOutputDev.cc
-some fixes to the qt4 frontend
2008-02-01 21:12:41 +00:00
markd
7973e17a57 Add a patch required for poppler-qt4 package. No change to existing
packages.
2007-12-12 01:25:17 +00:00
drochner
6de534899e update to 0.6.2
changes:
-security fixes (patched in pkgsrc) were integrated upstream
-fix some possible crashes
-cleanup
2007-11-28 20:54:36 +00:00
drochner
37272f02bb apply a patch from poppler CVS (derived from xpdf) to fix a couple
of memory corruption / buffer overflows
(CVE-2007-4352, CVE-2007-5392, CVE-2007-5393)
bump PKGREVISION
2007-11-08 12:06:12 +00:00
drochner
86f3819e04 update to 0.6.1
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
2007-11-03 16:10:38 +00:00
drochner
cf307199f5 apply a patch from xpdf to fix an integer overflow vulnerability
(CVE-2007-3387)
bump PKGREVISION
2007-08-02 14:41:18 +00:00
drochner
0e1fff19c1 pull a patch from poppler CVS to fix MOAB-06-01-2007 (DOS)
bump PKGREVISION
2007-01-17 15:53:09 +00:00
drochner
9da484b674 update to 0.5.4
changes:
-Automatically read in CJK encoding files
-Speed ups
-let the utils take input on stdin
-Bugs fixed
2006-10-12 14:12:15 +00:00
rillig
0a32f7bbb2 Fixed "test ==". 2006-10-10 20:01:31 +00:00
drochner
551dbc985a update to 0.5.3
changes:
-improved Qt bindings
-Cairo backend now supports masked images
-make glib bindings more language binding friendly
-Search now works with ligatures
-glib bindings now has an entry point to render to a cairo_t
-GCC 4.1 and MSVC compilation fixes
-bugfixes and cleanup
2006-05-31 18:13:54 +00:00
reed
dc901fa0d1 Use pthread-stublib on NetBSD 1.x and 2.x.
Bump PKGREVISION.
Patch updated to use the library.

Thank you Joerg for the suggestion.
2006-04-03 21:20:06 +00:00
reed
aa16e32d83 Add patch for poppler-utils package -- use libpoppler.la from
already installed package and enable pdftoppm to build.
2006-04-01 19:09:59 +00:00
reed
f614e89c0e Move the glib/Makefile.in patch-aa from the poppler-glib/patches/
directory to the poppler/patches/ directory.

The checksum was removed, but patch still existed. So keep the patch
in same place as the distinfo.

Uncomment the PATCHDIR for this.

(The patch is so libpoppler is not rebuilt -- just use the
previously installed version. If there is any change my next
patch updates PKGREVISION so will cover this too.)
2006-04-01 17:22:12 +00:00
drochner
9e062e1310 there is no patch-aa 2006-03-31 16:49:47 +00:00
jmmv
692137826d Update poppler, poppler-glib and poppler-qt to 0.5.1.
This is a development version but is needed to update evince to 0.5.2,
which is part of GNOME 2.14.0.

Release 0.5.1

	- Support for embedded files.
	- Handle 0-width lines correctly.
	- Avoid external file use when opening fonts.
	- Only use vector fonts returned from fontconfig (#5758).
	- Fix scaled 1x1 pixmaps use for drawing lines (#3387).
	- drawSoftMaskedImage support in cairo backend.
	- Misc bug fixes: #5922, #5946, #5749, #5952, #4030, #5420.

Release 0.5.0

	- Font matching code for non embedded fonts now use fontconfig
          instead of hard coded list of fonts.
	- Merge in Xpdf 3.01 changes.
	- Add command line tools from Xpdf.
	- Make install of Xpdf header files ./configure'able.
2006-03-30 21:30:25 +00:00
reed
e6d1ce9a26 Add patch-aa to distinfo. Forgot to commit before.
It is used for poppler-glib.  The patch is in poppler-glib.

Since no patch directory in poppler, building poppler
does not care and seems to ignore this.

(Maybe should just uncomment out the PATCHDIR here and move the
patch here too.)
2006-03-09 01:39:09 +00:00
drochner
c37a40355c update to 0.4.5
- Security update; CVE-2006-0301 (buffer overflow)
2006-02-15 18:08:35 +00:00
reed
ea88b2ed91 Update to poppler-0.4.4.
From ChangeLog:

2006-01-10  Kristian Høgsberg  <krh@redhat.com>

	* configure.ac: Bump realease to 0.4.4.

	* NEWS: Sum up changes.

	* poppler/DCTStream.cc: Backport patch for KDE #119569.

2006-01-10  Kristian Høgsberg  <krh@redhat.com>

	Security patch from Martin Pitt (#5516).  Multiple integer/buffer
	overflows.

	* poppler/Stream.cc (CCITTFaxStream::CCITTFaxStream): Check
	columns for negative or large values (CVE-2005-3624).

	* poppler/Stream.cc: Reset numComps to 0 since it's a global
	variable that is used later (CVE-2005-3627).

	* poppler/Stream.cc (DCTStream::readHuffmanTables): Fix out of
	bounds array access in Huffman tables (CVE-2005-3627).

	* poppler/Stream.cc (DCTStream::readMarker): Check for EOF in
	while loop to prevent endless loops (CVE-2005-3625).

	* poppler/JBIG2Stream.cc (JBIG2Bitmap::JBIG2Bitmap,
	JBIG2Bitmap::expand, JBIG2Stream::readHalftoneRegionSeg): Check
	user supplied width and height against invalid values.  Allocate
	one extra byte to prevent out of bounds access in combine().

2006-01-10  Kristian Høgsberg  <krh@redhat.com>

	* poppler/Stream.cc: Fix bug in last security patch (#5514).
	Also, for the record, the security patch also fixes CVE-2005-3192
	and CVE-2005-3193.

2005-12-18  Albert Astals Cid  <aacid@kde.org>

	* configure.ac: Better jpeg detection, refer to ml PCbsd problem
	* qt/Makefile.am: Backport fix build on systems where fontconfig is
	not on /usr/include
2006-01-11 16:10:11 +00:00