head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.6 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.4 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.2 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.5.0.54 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.52 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.50 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.48 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.46 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.44 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.42 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.40 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.38 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.36 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.34 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.32 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.30 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.28 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.26 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.24 pkgsrc-2008Q1:1.5.0.22 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.20 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.18 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.16 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.14 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.12 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.10 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.8 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.6 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.4 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.2 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.4.0.12 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.10 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.8 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.6 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.4 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.2 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.3.0.4 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.3.0.2 netbsd-1-6-1-base:1.3 netbsd-1-6:1.1.0.8 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.0.4 pkgviews-base:1.1 buildlink2:1.1.0.2 buildlink2-base:1.1 netbsd-1-5-PATCH003:1.1; locks; strict; comment @# @; 1.6 date 2011.10.27.02.35.41; author tez; state dead; branches; next 1.5; 1.5 date 2005.09.07.15.19.08; author adam; state Exp; branches 1.5.54.1; next 1.4; 1.4 date 2004.03.03.10.50.09; author adam; state Exp; branches; next 1.3; 1.3 date 2002.11.08.02.46.30; author dillo; state Exp; branches; next 1.2; 1.2 date 2002.09.19.01.45.43; author jlam; state dead; branches; next 1.1; 1.1 date 2002.03.23.14.08.12; author simonb; state Exp; branches; next ; 1.5.54.1 date 2011.11.02.20.54.05; author tron; state dead; branches; next ; desc @@ 1.6 log @Update to 3.03 Fixes multiple vulnerabilites Change list too long to include here, see http://www.foolabs.com/xpdf/CHANGES (file does not note what changes were included in 3.02pl1 - 3.02pl4 and which are new for 3.03) @ text @$NetBSD: patch-ab,v 1.5 2005/09/07 15:19:08 adam Exp $ --- xpdf/XPDFViewer.cc.orig 2005-08-17 05:34:31.000000000 +0000 +++ xpdf/XPDFViewer.cc @@@@ -175,9 +175,12 @@@@ XPDFViewer::XPDFViewer(XPDFApp *appA, GS XPDFViewer::~XPDFViewer() { delete core; - XmFontListFree(aboutBigFont); - XmFontListFree(aboutVersionFont); - XmFontListFree(aboutFixedFont); + if(aboutBigFont) + XmFontListFree(aboutBigFont); + if(aboutVersionFont) + XmFontListFree(aboutVersionFont); + if(aboutFixedFont) + XmFontListFree(aboutFixedFont); closeWindow(); #ifndef DISABLE_OUTLINE if (outlineLabels) { @ 1.5 log @Changes 3.01: ------------------ Added the continuous view mode, including the '-cont' switch and the 'continuousView' config file option. At high zoom levels, don't rasterize the entire page - this avoids problems running out of memory. Added "search backward" and "match case" options to the find dialog. Support explicitly masked images and soft masked images. Add support to DCTStream for 16-bit quant tables. Don't segfault if the user clicks on an outline entry with a broken destination. Changed the makefiles and configure script to skip building pdftoppm (in addition to xpdf) if X, Motif, or FreeType is not found; changed the error message in the configure script to match. Move an inline function in JArithmeticDecoder.cc to avoid compiler errors. Fixed a bug in the rasterizer that was sometimes causing infinite loops with round line caps on vertical lines. Various rasterizer optimizations. Look for intermediate resize events - try to avoid lagging when the user is doing an opaque resize. The FormType key in Form XObjects is optional. Handle external 16-bit TrueType fonts correctly, using the Unicode cmap. Add class declarations to TextOutputDev.h to work with stricter C++ compilers. More... @ text @d1 1 a1 1 $NetBSD$ @ 1.5.54.1 log @Pullup ticket #3587 - requested by tez print/xpdf: security update Revisions pulled up: - print/xpdf/MESSAGE 1.4 - print/xpdf/Makefile 1.75 - print/xpdf/distinfo 1.40 - print/xpdf/patches/patch-aa 1.8 - print/xpdf/patches/patch-ab deleted - print/xpdf/patches/patch-ai 1.4 - print/xpdf/patches/patch-ak 1.6 - print/xpdf/patches/patch-al 1.4 - print/xpdf/patches/patch-am 1.3 - print/xpdf/patches/patch-an deleted - print/xpdf/patches/patch-aq 1.4 - print/xpdf/patches/patch-bb deleted - print/xpdf/patches/patch-bc 1.2 - print/xpdf/patches/patch-bd deleted --- Module Name: pkgsrc Committed By: tez Date: Thu Oct 27 02:35:41 UTC 2011 Modified Files: pkgsrc/print/xpdf: Makefile distinfo pkgsrc/print/xpdf/patches: patch-aa patch-ai patch-ak patch-al patch-am patch-aq patch-bc Removed Files: pkgsrc/print/xpdf/patches: patch-ab patch-an patch-bb patch-bd Log Message: Update to 3.03 Fixes multiple vulnerabilites Change list too long to include here, see http://www.foolabs.com/xpdf/CHANGES (file does not note what changes were included in 3.02pl1 - 3.02pl4 and which are new for 3.03) --- Module Name: pkgsrc Committed By: tez Date: Thu Oct 27 14:54:41 UTC 2011 Added Files: pkgsrc/print/xpdf: MESSAGE Log Message: Add MESSAGE to notify users of change in xpdfrc commands. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.5 2005/09/07 15:19:08 adam Exp $ @ 1.4 log @Changes 3.00: * New PDF rasterizer ("Splash"). * Added support for PDF 1.5. * Replaced pdftopbm with pdftoppm (which can generate PBM, PGM, and PPM files). @ text @d3 1 a3 1 --- xpdf/XPDFViewer.cc.orig 2004-01-22 01:26:45.000000000 +0000 d5 1 a5 1 @@@@ -181,9 +181,12 @@@@ XPDFViewer::XPDFViewer(XPDFApp *appA, GS @ 1.3 log @update to 2.00 Changes since 1.01: - Switched to the Motif toolkit. - Support multiple open documents (in separate windows). - Added document outlines to the viewer. - Implemented the JBIG2 decoder. - Added support for movie annotations. - Switched back to native LZW decompression code. - Many bug fixes and enhancements. @ text @d3 1 a3 1 --- xpdf/XPDFViewer.cc.orig Sun Nov 3 23:15:37 2002 d5 1 a5 1 @@@@ -143,9 +143,12 @@@@ XPDFViewer::XPDFViewer(XPDFApp *appA, GS @ 1.2 log @Updated print/xpdf to version 1.01. Changes from version 1.00 include: Honoring ${PKG_SYSCONFDIR} for location of xpdfrc. Implemented Type 3 fonts. Implemented PostScript CID font embedding; added a psEmbedCIDPostScriptFonts option. Implemented PostScript 16-bit font substitution; added psNamedFont16 and psFont16 options. Moved the initialZoom setting from X resources to the xpdfrc file. Implemented the radial shading type in the sh (shaded fill) operator. [Thanks to Mike Sweet.] Added an 'include' command to the xpdfrc format. Added the displayNamedCIDFontX option so different fonts can be used within one character collection. Implemented stroked text in XOutputDev (with t1lib and FreeType2). [Thanks to Leonard Rosenthol.] Implemented stroked text in PSOutputDev. Added a built-in Unicode map for UCS-2. PSOutputDev will now embed external TrueType fonts in addition to external Type 1 fonts. Added the Big5ascii Unicode map to the Chinese-traditional support package (maps 7-bit ASCII straight through). [Thanks to Lawrence Lai.] Modified the EUC-CN and EUC-JP encodings to pass 7-bit ASCII straight through. [Thanks to Lawrence Lai.] In the code that guesses character names (for font subsets), also handle names of the form 'ABnnn'. [Thanks to Colin Granville.] Tweak the Type 1 font bbox code to look at the bboxes in both the PDF font object and the embedded font file. Added an optional displayCIDFontX entry for one of the Arphic TrueType fonts in the traditional Chinese 'add-to-xpdfrc' file. Added psASCIIHex parameter. Added the GBK Unicode map to the simplified Chinese language pack. Pdftotext now opens the text file in binary mode to avoid Microsoft's annoying automatic end-of-line translation stuff. Added an executeCommand function in goo/gfile.cc. [Thanks to Mikhail Kruk.] The %ALDImagePosition OPI comment was wrong if the page was scaled to a different paper size. The OPI code was saving the default transform matrix before calling setpagedevice, which can change the matrix. PSOutputDev now handles PostScript XObjects. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1 2002/03/23 14:08:12 simonb Exp $ d3 18 a20 17 --- xpdf/TextOutputDev.cc.orig Sat Feb 2 10:15:45 2002 +++ xpdf/TextOutputDev.cc @@@@ -154,8 +154,12 @@@@ dx -= dx2; dy -= dy2; state->transformDelta(dx, dy, &w1, &h1); - w1 /= uLen; - h1 /= uLen; + if (uLen == 0) { + w1 = h1 = 0.; + } else { + w1 /= uLen; + h1 /= uLen; + } for (i = 0; i < uLen; ++i) { curStr->addChar(state, x1 + i*w1, y1 + i*h1, w1, h1, u[i]); } @ 1.1 log @Work around divide-by-zero core dumps on alpha. Problem report and patch sent to the xpdf author. @ text @d1 1 a1 1 $NetBSD$ @