head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.54 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.52 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.50 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.48 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.46 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.44 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.42 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.40 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.38 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.36 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.34 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.32 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.30 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.28 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.26 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.24 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.22 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.20 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.18 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.16 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.14 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.12 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.10 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.8 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2; locks; strict; comment @# @; 1.2 date 2003.05.22.03.01.03; author markd; state dead; branches; next 1.1; 1.1 date 2003.04.10.13.13.25; author markd; state Exp; branches; next ; desc @@ 1.2 log @Update KDE to 3.1.2. Changes: kdegraphics: * kghostview: Better handling of half-broken Postscript and PDF files * kghostview: Fix the opening of files on the command line, which was not working if the paths contained non-alphanumeric characters or were absolute paths * kghostview: Work around -dMaxBitmap bug in gs version 6.5x * kghostview: Reset orientation and paper size selectors after opening a new document * kghostview: Security fix for #56808. The security patch which was present in version 3.1.1a caused problems for some users and has been corrected * kghostview: ghostscript version 8 is now supported @ text @$NetBSD: patch-ap,v 1.1 2003/04/10 13:13:25 markd Exp $ --- kghostview/kpswidget.h.orig Mon Sep 16 09:12:40 2002 +++ kghostview/kpswidget.h @@@@ -134,10 +134,11 @@@@ public: bool sendPS( FILE*, unsigned int begin, unsigned int end ); /** - * Sets the filename of the ghostscript input. Usually we use a pipe for - * communication and no filename will be needed. + * Sets the filename of the ghostscript input. + * @@p usePipe indicates whether we use a pipe for + * communication or let ghoscript read the file itself. */ - void setFileName( const QString& ); + void setFileName( const QString&, bool usePipe ); /** * Set the bounding box of the drawable. See my comment in the source @@@@ -243,6 +244,7 @@@@ private: QString _ghostscriptPath; QStringList _ghostscriptArguments; QString _fileName; + bool _usePipe; /** * Flag set when one of the properties _ghostscriptPath, @ 1.1 log @Add the patches from KDE Security Advisory 20030409-1: PS/PDF file handling vulnerability http://www.kde.org/info/security/advisory-20030409-1.txt Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @