Commit graph

69 commits

Author SHA1 Message Date
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
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +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
reed
4b78cc66db Set the BUILDLINK_ABI_DEPENDS.
The previous libraries had major of 3 and now they are 4.
I didn't bump those depending on this as this update happened
months ago.

I noticed this two ways:
new poppler didn't work with my already installed evince and
new poppler didn't work with my alreadyinstalled poppler-glib.
2009-01-06 22:58:49 +00:00
smb
62cfcd731a Delete non-functional reference to PAPERSIZE environment variable; add
MESSAGE file saying what to do to get US Letter.
2008-12-05 01:57:07 +00:00
dillo
c4c861d95f Note that this file is now also used by poppler-includes. 2008-11-20 14:33:00 +00:00
dillo
03ce036bfb Move MAINTAINER from Makefile.common into individual Makefiles.
Okayed by reed.
2008-11-20 14:28:22 +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
abs
32e2599a98 pkglint (added comments) no functional change 2008-06-03 20:31:10 +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
joerg
ea16afc451 Add DESTDIR support. 2007-08-09 18:42:51 +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
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
jlam
ee68c93314 LIBTOOL_OVERRIDE generally doesn't need to be specified anymore... just
set OVERRIDE_DIRDEPTH to find any libtool scripts deeper in the WRKSRC
tree unless they're named something other than "libtool".

SHLIBTOOL_OVERRIDE generally doesn't need to be specified either -- just
define it to the empty list and shlibtool-override will look for libtool
scripts.
2006-07-07 15:49:30 +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
joerg
9f1bf328d7 Uses C++. 2006-05-09 16:31:56 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +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
4f71d8fc8b Remove the conflicst of xpdf now that utilities are in a different
package. Ride on same revision from a little earlier.
2006-04-01 19:57:57 +00:00
reed
c7436654f5 Mention poppler-utils package. 2006-04-01 19:14:44 +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
5cbd7f964f Don't install PDF utilities here. I am about to import a new package
for this.

Bump PKGREVISION.

Configure with --enable-splash-output (that was default before).
Also --disable-utils.
2006-04-01 19:08:40 +00:00
reed
79ff6b6fc3 This conflicts with xpdf for the utilities.
Bump PKGREVISION.
2006-04-01 17:58:03 +00:00