]> www.fi.muni.cz Git - evince.git/log
evince.git
19 years agoMove viewer directory to backend/ directory, rename EvViewer to
Owen Taylor [Tue, 21 Dec 2004 23:29:47 +0000 (23:29 +0000)]
Move viewer directory to backend/ directory, rename EvViewer to

Tue Dec 21 18:20:40 2004  Owen Taylor  <otaylor@redhat.com>

        * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
        to backend/ directory, rename EvViewer to EvDocument.

19 years agohook up the find bar widget; now we just need a document to find things in
Havoc Pennington [Tue, 21 Dec 2004 23:27:49 +0000 (23:27 +0000)]
hook up the find bar widget; now we just need a document to find things in

2004-12-21  Havoc Pennington  <hp@redhat.com>

* shell/ev-window.c: hook up the find bar widget; now we just need
a document to find things in

* shell/eggfindbar.c: a find bar widget

19 years agoforgot these
Jonathan Blandford [Tue, 21 Dec 2004 22:27:26 +0000 (22:27 +0000)]
forgot these

19 years agoinitial sidebar boilerplate.
Jonathan Blandford [Tue, 21 Dec 2004 22:21:16 +0000 (22:21 +0000)]
initial sidebar boilerplate.

Tue Dec 21 17:20:16 2004  Jonathan Blandford  <jrb@redhat.com>

        * shell/ev-sidebar.[ch]: initial sidebar boilerplate.

19 years agoImport of xpdf code from gpdf.
Owen Taylor [Tue, 21 Dec 2004 21:47:36 +0000 (21:47 +0000)]
Import of xpdf code from gpdf.

Tue Dec 21 16:30:58 2004  Owen Taylor  <otaylor@redhat.com>

        * pdf/**: Import of xpdf code from gpdf.

        * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h

        * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
        pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
        Fix FreeType includes.

        * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
        pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
        pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
        Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
        pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
        Include xpdfconfig.h

19 years agodispose can be called multiple times.
Jonathan Blandford [Tue, 21 Dec 2004 21:09:52 +0000 (21:09 +0000)]
dispose can be called multiple times.

Tue Dec 21 16:08:17 2004  Jonathan Blandford  <jrb@redhat.com>

        * shell/ev-window.c (ev_window_dispose): dispose can be called
        multiple times.

19 years agoset title to Document Viewer rather than Evince
Havoc Pennington [Tue, 21 Dec 2004 20:52:41 +0000 (20:52 +0000)]
set title to Document Viewer rather than Evince

2004-12-21  Havoc Pennington  <hp@redhat.com>

* shell/ev-window.c (ev_window_init): set title to Document Viewer
rather than Evince

* data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
items; really they should be synced with the strings, etc. from
current gpdf, but just getting the boring typing out of the way

19 years agoActually show the window...
Marco Pesenti Gritti [Tue, 21 Dec 2004 18:48:35 +0000 (18:48 +0000)]
Actually show the window...

2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>

        * po/POTFILES.in:
        * shell/ev-application.c: (window_destroy_cb):
        * shell/ev-window.c:
        * shell/main.c: (main):

        Actually show the window...

19 years agoadd cvsignores
Marco Pesenti Gritti [Tue, 21 Dec 2004 18:04:29 +0000 (18:04 +0000)]
add cvsignores

19 years ago*** empty log message ***
Marco Pesenti Gritti [Tue, 21 Dec 2004 17:58:23 +0000 (17:58 +0000)]
*** empty log message ***

19 years agoImport sources start
Marco Pesenti Gritti [Tue, 21 Dec 2004 17:41:03 +0000 (17:41 +0000)]
Import sources

19 years agoInitial revision
Marco Pesenti Gritti [Tue, 21 Dec 2004 17:41:03 +0000 (17:41 +0000)]
Initial revision

19 years agoport from GPdfHIGDialog to GtkMessageDialog. GPDF_2_9_1
Martin Kretzschmar [Mon, 20 Dec 2004 21:08:38 +0000 (21:08 +0000)]
port from GPdfHIGDialog to GtkMessageDialog.

* xpdf/gpdf-control.cc (gpdf_control_private_error_dialog):
(gpdf_control_private_warn_dialog, gpdf_control_private_info_dialog)
(overwrite_existing_file, save_error_dialog): port from GPdfHIGDialog to
GtkMessageDialog.

* xpdf/Makefile.am (libgpdf_a_SOURCES): remove gpdf-hig-dialog.[ch]

* xpdf/gpdf-hig-dialog.c, xpdf/gpdf-hig-dialog.h, xpdf/eog-hig-dialog.c,
xpdf/eog-hig-dialog.h: remove, no longer needed with gtk 2.5

19 years agoFix for a number of integer overflow bugs discovered by Chris Evans. GNOME_2_8_ANCHOR GPDF_2_8_1
Dan Williams [Fri, 5 Nov 2004 18:43:19 +0000 (18:43 +0000)]
Fix for a number of integer overflow bugs discovered by Chris Evans.

2004-11-05  Dan Williams  <dcbw@redhat.com>

* xpdf/Catalog.cc, xpdf/XRef.cc: Fix for a number of integer
overflow bugs discovered by Chris Evans. CAN-2004-0888,
Bug #156729, Red Hat Bug #137420.

19 years agocheck gnome_vfs_foo return values. Fixes crashes with gnome-vfs' http
Mark McLoughlin [Tue, 21 Sep 2004 16:11:26 +0000 (16:11 +0000)]
check gnome_vfs_foo return values. Fixes crashes with gnome-vfs' http

2004-09-20  Mark McLoughlin  <mark@skynet.ie>

* xpdf/GnomeVFSStream.cc (reset, fillBuf): check gnome_vfs_foo
return values.  Fixes crashes with gnome-vfs' http method.  Bug
#153159, #151364, Red Hat Bug #132469, half of Debian Bug #268873.

19 years agosssshhh GPDF_2_7_91 GPDF_2_8_0
Martin Kretzschmar [Sat, 28 Aug 2004 18:29:07 +0000 (18:29 +0000)]
sssshhh

19 years agofile tool-control.c was initially added on branch gpdf-modes.
Rémi Cohen-Scali [Sun, 13 Jun 2004 00:03:02 +0000 (00:03 +0000)]
file tool-control.c was initially added on branch gpdf-modes.

19 years agofile tool-control.h was initially added on branch gpdf-modes.
Rémi Cohen-Scali [Sun, 13 Jun 2004 00:03:02 +0000 (00:03 +0000)]
file tool-control.h was initially added on branch gpdf-modes.

19 years agofile tool-select.png was initially added on branch gpdf-modes.
Rémi Cohen-Scali [Sun, 13 Jun 2004 00:03:02 +0000 (00:03 +0000)]
file tool-select.png was initially added on branch gpdf-modes.

19 years agofile hand-closed.png was initially added on branch gpdf-modes.
Rémi Cohen-Scali [Sat, 12 Jun 2004 23:20:10 +0000 (23:20 +0000)]
file hand-closed.png was initially added on branch gpdf-modes.

19 years agofile hand-open.png was initially added on branch gpdf-modes.
Rémi Cohen-Scali [Sat, 12 Jun 2004 23:20:10 +0000 (23:20 +0000)]
file hand-open.png was initially added on branch gpdf-modes.

19 years agofile cursor-hand-closed.png was initially added on branch gpdf-modes.
Rémi Cohen-Scali [Sat, 12 Jun 2004 22:58:14 +0000 (22:58 +0000)]
file cursor-hand-closed.png was initially added on branch gpdf-modes.

19 years agofile cursor-hand-closed.xpm was initially added on branch gpdf-modes.
Rémi Cohen-Scali [Sat, 12 Jun 2004 22:58:14 +0000 (22:58 +0000)]
file cursor-hand-closed.xpm was initially added on branch gpdf-modes.

19 years agofile cursor-hand-open.png was initially added on branch gpdf-modes.
Rémi Cohen-Scali [Sat, 12 Jun 2004 22:58:14 +0000 (22:58 +0000)]
file cursor-hand-open.png was initially added on branch gpdf-modes.

19 years agofile cursor-hand-open.xpm was initially added on branch gpdf-modes.
Rémi Cohen-Scali [Sat, 12 Jun 2004 22:58:14 +0000 (22:58 +0000)]
file cursor-hand-open.xpm was initially added on branch gpdf-modes.

19 years agodrop support for building xpdf, pdfto*. GPDF_2_7_2 GPDF_2_7_90 GPDF_MODES_ANCHOR
Martin Kretzschmar [Sun, 6 Jun 2004 13:09:22 +0000 (13:09 +0000)]
drop support for building xpdf, pdfto*.

* xpdf/Makefile.am: drop support for building xpdf, pdfto*.

* configure.in: simplify more. Drop --enable-no-text-select
and --enable-multithreaded options. Bug #111404.

20 years agocvs remove. Remainings of the Xpdf non-automake build system.
Martin Kretzschmar [Thu, 3 Jun 2004 12:51:23 +0000 (12:51 +0000)]
cvs remove. Remainings of the Xpdf non-automake build system.

20 years agoadded. GPDF_2_7_1
Martin Kretzschmar [Mon, 17 May 2004 20:36:16 +0000 (20:36 +0000)]
added.

* fofi/Makefile.am, splash/Makefile.am: added.

* Makefile.am: add fofi and splash subdirs.

20 years agoImported Xpdf 3.00 and fixed build.
Martin Kretzschmar [Mon, 17 May 2004 19:37:57 +0000 (19:37 +0000)]
Imported Xpdf 3.00 and fixed build.

* ANNOUNCE:
* CHANGES:
* Makefile.am:
* README:
* aconf-win32.h:
* configure.in:
* dj_make.bat:
* doc/pdffonts.1:
* doc/pdffonts.cat:
* doc/pdffonts.hlp:
* doc/pdfimages.1:
* doc/pdfimages.cat:
* doc/pdfimages.hlp:
* doc/pdfinfo.1:
* doc/pdfinfo.cat:
* doc/pdfinfo.hlp:
* doc/pdftopbm.1:
* doc/pdftopbm.cat:
* doc/pdftopbm.hlp:
* doc/pdftops.1:
* doc/pdftops.cat:
* doc/pdftops.hlp:
* doc/pdftotext.1:
* doc/pdftotext.cat:
* doc/pdftotext.hlp:
* doc/xpdf.1:
* doc/xpdf.cat:
* doc/xpdf.hlp:
* doc/xpdfrc.5:
* doc/xpdfrc.cat:
* doc/xpdfrc.hlp:
* fofi/Makefile.in:
* goo/GHash.cc:
* goo/GHash.h:
* ms_make.bat:
* splash/Makefile.in:
* xpdf/DisplayFontTable.h:
* xpdf/ErrorCodes.h:
* xpdf/FTFont.cc:
* xpdf/FTFont.h:
* xpdf/FontFile.cc:
* xpdf/FontFile.h:
* xpdf/Function.h:
* xpdf/GPOutputDev.cc:
* xpdf/Gfx.cc:
* xpdf/Gfx.h:
* xpdf/GfxFont.cc:
* xpdf/GfxFont.h:
* xpdf/GfxState.cc:
* xpdf/GfxState.h:
* xpdf/GlobalParams.cc:
* xpdf/GlobalParams.h:
* xpdf/Makefile.am:
* xpdf/Object.cc:
* xpdf/Object.h:
* xpdf/Outline.cc:
* xpdf/OutputDev.cc:
* xpdf/OutputDev.h:
* xpdf/PBMOutputDev.cc:
* xpdf/PBMOutputDev.h:
* xpdf/PDFDoc.cc:
* xpdf/PDFDoc.h:
* xpdf/PSOutputDev.cc:
* xpdf/PSOutputDev.h:
* xpdf/Page.cc:
* xpdf/Page.h:
* xpdf/Parser.cc:
* xpdf/SFont.cc:
* xpdf/SFont.h:
* xpdf/Stream.cc:
* xpdf/Stream.h:
* xpdf/T1Font.cc:
* xpdf/T1Font.h:
* xpdf/TTFont.cc:
* xpdf/TTFont.h:
* xpdf/TextOutputDev.cc:
* xpdf/TextOutputDev.h:
* xpdf/XOutputDev.cc:
* xpdf/XOutputDev.h:
* xpdf/XPixmapOutputDev.cc:
* xpdf/XPixmapOutputDev.h:
* xpdf/XRef.cc:
* xpdf/XRef.h:
* xpdf/config.h:
* xpdf/gpdf-control.cc:
* xpdf/pdffonts.cc:
* xpdf/pdfimages.cc:
* xpdf/pdfinfo.cc:
* xpdf/pdftopbm.cc:
* xpdf/pdftops.cc:
* xpdf/pdftotext.cc:
* xpdf/tests/Makefile.am:
* xpdf/vms_make.com:
* xpdf/xpdf.cc: Imported Xpdf 3.00 and fixed build.

20 years agoImport of Xpdf 3.00 XPDF_3_00
Martin Kretzschmar [Mon, 17 May 2004 18:12:38 +0000 (18:12 +0000)]
Import of Xpdf 3.00

20 years agoInitial revision
Martin Kretzschmar [Mon, 17 May 2004 18:12:38 +0000 (18:12 +0000)]
Initial revision

20 years agoImported Xpdf 2.03 and fixed build.
Martin Kretzschmar [Sun, 16 May 2004 22:45:42 +0000 (22:45 +0000)]
Imported Xpdf 2.03 and fixed build.

* ANNOUNCE:
* CHANGES:
* README:
* aconf2.h:
* configure.in:
* dj_make.bat:
* doc/pdffonts.1:
* doc/pdffonts.cat:
* doc/pdffonts.hlp:
* doc/pdfimages.1:
* doc/pdfimages.cat:
* doc/pdfimages.hlp:
* doc/pdfinfo.1:
* doc/pdfinfo.cat:
* doc/pdfinfo.hlp:
* doc/pdftopbm.1:
* doc/pdftopbm.cat:
* doc/pdftopbm.hlp:
* doc/pdftops.1:
* doc/pdftops.cat:
* doc/pdftops.hlp:
* doc/pdftotext.1:
* doc/pdftotext.cat:
* doc/pdftotext.hlp:
* doc/xpdf.1:
* doc/xpdf.cat:
* doc/xpdf.hlp:
* doc/xpdfrc.5:
* doc/xpdfrc.cat:
* doc/xpdfrc.hlp:
* goo/gfile.cc:
* ms_make.bat:
* vms_make.com:
* xpdf/Annot.cc:
* xpdf/Array.cc:
* xpdf/BuiltinFontTables.cc:
* xpdf/CMap.cc:
* xpdf/CMap.h:
* xpdf/Catalog.cc:
* xpdf/CharCodeToUnicode.cc:
* xpdf/CharCodeToUnicode.h:
* xpdf/Decrypt.cc:
* xpdf/Dict.cc:
* xpdf/ErrorCodes.h:
* xpdf/FTFont.cc:
* xpdf/FTFont.h:
* xpdf/FontFile.cc:
* xpdf/FontFile.h:
* xpdf/Function.cc:
* xpdf/Gfx.cc:
* xpdf/Gfx.h:
* xpdf/GfxFont.cc:
* xpdf/GfxFont.h:
* xpdf/GfxState.cc:
* xpdf/GfxState.h:
* xpdf/GlobalParams.cc:
* xpdf/GlobalParams.h:
* xpdf/JBIG2Stream.cc:
* xpdf/Link.cc:
* xpdf/Link.h:
* xpdf/Makefile.am:
* xpdf/OutputDev.h:
* xpdf/PDFDoc.cc:
* xpdf/PDFDoc.h:
* xpdf/PSOutputDev.cc:
* xpdf/PSOutputDev.h:
* xpdf/Page.cc:
* xpdf/Page.h:
* xpdf/Parser.cc:
* xpdf/Stream.cc:
* xpdf/Stream.h:
* xpdf/TTFont.cc:
* xpdf/TTFont.h:
* xpdf/TextOutputDev.cc:
* xpdf/TextOutputDev.h:
* xpdf/UnicodeMap.cc:
* xpdf/UnicodeMap.h:
* xpdf/UnicodeTypeTable.cc:
* xpdf/UnicodeTypeTable.h:
* xpdf/XOutputDev.cc:
* xpdf/XOutputDev.h:
* xpdf/XPDFApp.cc:
* xpdf/XPDFCore.cc:
* xpdf/XPDFCore.h:
* xpdf/XPDFViewer.cc:
* xpdf/XPDFViewer.h:
* xpdf/XRef.cc:
* xpdf/about-text.h:
* xpdf/config.h:
* xpdf/gpdf-control.cc:
* xpdf/gpdf-link-canvas-item.cc:
* xpdf/gpdf-links-canvas-layer.cc:
* xpdf/pdffonts.cc:
* xpdf/pdfimages.cc:
* xpdf/pdfinfo.cc:
* xpdf/pdftopbm.cc:
* xpdf/pdftops.cc:
* xpdf/pdftotext.cc:
* xpdf/tests/test-links.cc:
* xpdf/vms_make.com:
* xpdf/xpdf.cc: Imported Xpdf 2.03 and fixed build.

20 years agoImport of Xpdf 2.03 XPDF_2_03
Martin Kretzschmar [Sun, 16 May 2004 20:13:21 +0000 (20:13 +0000)]
Import of Xpdf 2.03

20 years agoInitial revision
Martin Kretzschmar [Sun, 16 May 2004 20:13:00 +0000 (20:13 +0000)]
Initial revision

20 years ago:Thumb): Added a flag for keeping Thumb data validity and the method to BEFORE_XPDF_3_MERGE
Remi Cohen-Scali [Sun, 9 May 2004 07:10:50 +0000 (07:10 +0000)]
:Thumb): Added a flag for keeping Thumb data validity and the method to

2004-05-09  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>

* xpdf/Thumb.h:
* xpdf/Thumb.cc (Thumb::Thumb): Added a flag for keeping
Thumb data validity and the method to access it.

20 years ago:ThumbColorMap): unused now, remove.
Martin Kretzschmar [Sat, 8 May 2004 14:04:00 +0000 (14:04 +0000)]
:ThumbColorMap): unused now, remove.

* xpdf/Thumb.cc (ThumbColorMap::ThumbColorMap): unused now, remove.

* xpdf/Thumb.h: ditto.

20 years ago(lookup): log to stderr because that's not buffered etc.
Martin Kretzschmar [Sat, 8 May 2004 14:00:16 +0000 (14:00 +0000)]
(lookup): log to stderr because that's not buffered etc.

20 years ago:ThumbColorMap): Changed field init order to match decl and to avoid GNOME_2_6_ANCHOR GPDF_0_123 GPDF_0_124 GPDF_0_125 GPDF_0_130 GPDF_0_131
Remi Cohen-Scali [Tue, 20 Jan 2004 22:40:53 +0000 (22:40 +0000)]
:ThumbColorMap): Changed field init order to match decl and to avoid

2004-01-20  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>

* xpdf/Thumb.cc (ThumbColorMap::ThumbColorMap): Changed
field init order to match decl and to avoid warning.
Removed several unused vars.
(Thumb::Thumb): Removed unused vars.
(Thumb::getPixbufData): Removed unused vars.

20 years ago:coalesce): Init a var to avoid warning.
Remi Cohen-Scali [Tue, 20 Jan 2004 22:40:18 +0000 (22:40 +0000)]
:coalesce): Init a var to avoid warning.

2004-01-20  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>

* xpdf/TextOutputDev.cc (TextPage::coalesce): Init a var
to avoid warning.

20 years agoChanged the way WARN_CFLAFS & WARN_CXXFLAGS were passed to compiler. Now
Remi Cohen-Scali [Tue, 20 Jan 2004 22:39:00 +0000 (22:39 +0000)]
Changed the way WARN_CFLAFS & WARN_CXXFLAGS were passed to compiler. Now

2004-01-20  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>

* xpdf/Makefile.am (INCLUDES):
* shell/Makefile.am (INCLUDES):
* lib/ggv-sidebar/Makefile.am (INCLUDES):
* configure.in: Changed the way WARN_CFLAFS & WARN_CXXFLAGS
were passed to compiler. Now use CFLAGS/CXXFLAGS in configure
instead of INCLUDES in some Makefiles.

20 years agoChanged value according to USE_ANNOTS_VIEW cond in order to include
Remi Cohen-Scali [Fri, 16 Jan 2004 13:23:01 +0000 (13:23 +0000)]
Changed value according to USE_ANNOTS_VIEW cond in order to include

2004-01-16  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>

* xpdf/Makefile.am (EXTRA_DIST): Changed value according
to USE_ANNOTS_VIEW cond in order to include annotations view
icons in dist tarball (when annots-view disabled).

20 years agofixes for USE_ANNOTS_VIEW conditional. GPDF_0_122
Martin Kretzschmar [Tue, 13 Jan 2004 08:56:08 +0000 (08:56 +0000)]
fixes for USE_ANNOTS_VIEW conditional.

20 years agoChanged variables assignement to avoid undefined message from
Remi Cohen-Scali [Tue, 13 Jan 2004 08:16:07 +0000 (08:16 +0000)]
Changed variables assignement to avoid undefined message from

2004-01-13  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>

* xpdf/Makefile.am (STOCK_ANNOTS_ICONS, ANNOTS_VIEW_SRCS):
Changed variables assignement to avoid undefined
message from automake-1.4.

20 years ago:displaySlice): Changed the size of the statements enclosed in ifdef
Remi Cohen-Scali [Tue, 13 Jan 2004 04:05:03 +0000 (04:05 +0000)]
:displaySlice): Changed the size of the statements enclosed in ifdef

2004-01-13  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>

* xpdf/Page.cc (Page::displaySlice):
Changed the size of the statements
enclosed in ifdef USE_ANNOTS_VIEW in order
to disable annotations display when annots
view is unused.

20 years agoAdd implem for Thumb object parsing.
Remi Cohen-Scali [Tue, 13 Jan 2004 01:27:24 +0000 (01:27 +0000)]
Add implem for Thumb object parsing.

2004-01-13  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>

* xpdf/Thumb.cc:
* xpdf/Thumb.h: Add implem for Thumb object
parsing.

20 years agoDefines for gconf keys
Remi Cohen-Scali [Tue, 13 Jan 2004 01:25:00 +0000 (01:25 +0000)]
Defines for gconf keys

2004-01-13  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>

* xpdf/prefs-strings.h: Defines for gconf keys

20 years agoAdded annots display CB.
Remi Cohen-Scali [Tue, 13 Jan 2004 01:24:20 +0000 (01:24 +0000)]
Added annots display CB.

2004-01-13  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>

* xpdf/PDFDoc.h:
* xpdf/PDFDoc.cc: Added annots display CB.

20 years agoAdded getThumb method. Added annots display CB decl. Added Thumb object
Remi Cohen-Scali [Tue, 13 Jan 2004 01:22:37 +0000 (01:22 +0000)]
Added getThumb method. Added annots display CB decl. Added Thumb object

2004-01-13  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>

* xpdf/Page.h: Added getThumb method. Added annots
display CB decl. Added Thumb object field for
thumbnails management.

20 years ago:Page): Added thumb object parsing. (Page::display) (Page::displaySlice):
Remi Cohen-Scali [Tue, 13 Jan 2004 01:21:07 +0000 (01:21 +0000)]
:Page): Added thumb object parsing. (Page::display) (Page::displaySlice):

2004-01-13  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>

* xpdf/Page.cc (Page::Page): Added thumb object
parsing.
(Page::display) (Page::displaySlice): Add CB for
annotations in Page display.
(displaySlice):
Added conditional display of annotation in order to
avoid them when USE_ANNOTS_VIEW is not defined.

20 years agoFixed Outline object parsing.
Remi Cohen-Scali [Tue, 13 Jan 2004 01:16:24 +0000 (01:16 +0000)]
Fixed Outline object parsing.

2004-01-13  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>

* xpdf/Outline.cc: Fixed Outline object parsing.

20 years agoChanged some error handling to make a difference between two parse actions
Remi Cohen-Scali [Tue, 13 Jan 2004 01:15:47 +0000 (01:15 +0000)]
Changed some error handling to make a difference between two parse actions

2004-01-13  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>

* xpdf/Link.cc: Changed some error handling
to make a difference between two parse actions
and have a better report (needed for debug).

20 years agoAdd conditional ANNOTS_VIEW_SRCS. Change eog-hig-dialog in
Remi Cohen-Scali [Tue, 13 Jan 2004 01:13:49 +0000 (01:13 +0000)]
Add conditional ANNOTS_VIEW_SRCS. Change eog-hig-dialog in

2004-01-13  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>

* xpdf/Makefile.am:
Add conditional ANNOTS_VIEW_SRCS.
Change eog-hig-dialog in gpdf-hig-dialog.
Added new files (srcs & icons) for sidebar and views.

20 years agoReused eog HIG dialog in GPdf.
Remi Cohen-Scali [Tue, 13 Jan 2004 00:23:29 +0000 (00:23 +0000)]
Reused eog HIG dialog in GPdf.

2004-01-13  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>

* xpdf/gpdf-hig-dialog.c:
* xpdf/gpdf-hig-dialog.h: Reused eog HIG dialog
in GPdf.

20 years agoAdded getSubtype, getDict and getRefNum/Gen methods for easier annots
Remi Cohen-Scali [Mon, 12 Jan 2004 19:32:08 +0000 (19:32 +0000)]
Added getSubtype, getDict and getRefNum/Gen methods for easier annots

2004-01-12  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>

* xpdf/Annot.h: Added getSubtype, getDict and
getRefNum/Gen methods for easier annots
identification.
Added dict & subtype fields.

20 years ago:Annot): Extended Annot object to read several kind of annotations. Some
Remi Cohen-Scali [Mon, 12 Jan 2004 19:29:45 +0000 (19:29 +0000)]
:Annot): Extended Annot object to read several kind of annotations. Some

2004-01-12  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>

* xpdf/Annot.cc (Annot::Annot): Extended Annot
object to read several kind of annotations.
Some more work (in coord with xpdf) is needed...
(Annots::Annots): Same extensions on annotations
collection object.

20 years agoadd --enable-deprecation-errors option, inspired by ggv's configure.
Martin Kretzschmar [Tue, 30 Dec 2003 20:06:18 +0000 (20:06 +0000)]
add --enable-deprecation-errors option, inspired by ggv's configure.

* configure.in: add --enable-deprecation-errors option, inspired
by ggv's configure.

* xpdf/Makefile.am, shell/Makefile.am,
lib/recent-files/Makefile.am, lib/ggv-sidebar/Makefile.am
(INCLUDES): use GPDF_DEPRECATED_CFLAGS.

20 years agoadd xpdf/gpdf-print-progress-dialog.glade GNOME_2_4_ANCHOR GPDF_0_111 GPDF_0_112 GPDF_0_112_1 GPDF_0_120 GPDF_0_121
Martin Kretzschmar [Wed, 24 Sep 2003 21:06:46 +0000 (21:06 +0000)]
add xpdf/gpdf-print-progress-dialog.glade

* POTFILES.in: add xpdf/gpdf-print-progress-dialog.glade

* xpdf/gpdf-control.cc (gpdf_print_job_prepare, idle_print_handler:
(gpdf_control_print_job_print, using_postscript_printer)
(gpdf_control_no_preview_alert, gpdf_control_no_postscript_printer_alert)
(gpdf_control_get_range_page, gpdf_control_print_dialog_new)
(gpdf_control_print, verb_FilePrint_cb): implement printing.
(gpdf_control_set_property): disable PersistStream implementation.

* xpdf/gpdf-print-progress-dialog.glade: add.

* xpdf/gpdf-control-ui.xml: add Print verb, menu item, tool item.

* xpdf/Makefile.am (libgpdf_a_SOURCES): include PSOutputDev
(glade_DATA): add gpdf-print-progress-dialog.glade.

* xpdf/GNOME_PDF.server.in.in: don't advertise PersistStream

* configure.in: bump version to 0.110.99; require libgnomeprint >=
2.3.0.

20 years ago(eog_hig_dialog_new): add terminating NULL in g_object_set. GPDF_0_106 GPDF_0_110
Martin Kretzschmar [Wed, 6 Aug 2003 17:21:46 +0000 (17:21 +0000)]
(eog_hig_dialog_new): add terminating NULL in g_object_set.

20 years agofile gpdf-filesel-dialog.glade was initially added on branch gpdf-outlines.
Rémi Cohen-Scali [Mon, 4 Aug 2003 23:57:42 +0000 (23:57 +0000)]
file gpdf-filesel-dialog.glade was initially added on branch gpdf-outlines.

20 years agofile gpdf-printing-dialog.glade was initially added on branch gpdf-outlines.
Rémi Cohen-Scali [Mon, 4 Aug 2003 12:32:44 +0000 (12:32 +0000)]
file gpdf-printing-dialog.glade was initially added on branch gpdf-outlines.

20 years agofile empty-thumb.png was initially added on branch gpdf-outlines.
Rémi Cohen-Scali [Thu, 31 Jul 2003 22:57:05 +0000 (22:57 +0000)]
file empty-thumb.png was initially added on branch gpdf-outlines.

20 years agofile gpdf-findtext-dialog.glade was initially added on branch gpdf-outlines.
Rémi Cohen-Scali [Wed, 23 Jul 2003 09:40:47 +0000 (09:40 +0000)]
file gpdf-findtext-dialog.glade was initially added on branch gpdf-outlines.

20 years agouse more informative error messages when emitting loading-failed. Kill GPDF_0_105
Martin Kretzschmar [Fri, 18 Jul 2003 20:35:47 +0000 (20:35 +0000)]
use more informative error messages when emitting loading-failed. Kill

* xpdf/gpdf-persist-file.cc (impl_bonobo_persist_file_load): use
more informative error messages when emitting loading-failed. Kill
gotos :-).
Whitespace cleanups.

* xpdf/gpdf-control.cc (persist_file_loading_failed_cb): kill
redundancy in error message; unset PDF document.

* xpdf/eog-hig-dialog.c (eog_hig_dialog_new): remove a newline

20 years agoAdd gpdf-persist-file.cc.
Martin Kretzschmar [Thu, 17 Jul 2003 18:06:14 +0000 (18:06 +0000)]
Add gpdf-persist-file.cc.

* po/POTFILES.in: Add gpdf-persist-file.cc.

* xpdf/gpdf-persist-file.cc (gpdf_persist_file_class_init)
(impl_bonobo_persist_file_load): emit (new) loading-failed signal
if something goes wrong during load.

* xpdf/gpdf-persist-file.h: add slot for loading-failed.

* xpdf/gpdf-marshal.list: add VOID:STRING.

* xpdf/gpdf-links-canvas-layer.cc: fix include (thanks Remi).

* xpdf/gpdf-control.cc (gpdf_control_setup_persist)
(gpdf_control_destroy): on loading-failed signal, display error
alert.

* xpdf/eog-hig-dialog.h, xpdf/eog-hig-dialog.c: copied from eog;
HIG conforming alert dialog.

* xpdf/Makefile.am (libgpdf_a_SOURCES): build eog-hig-dialog

* NEWS: updated.

20 years agoGnomeFontFace wrapper class for embedded fonts. Originally by me, this GPDF_0_104 GPDF_OUTLINES_ANCHOR
Martin Kretzschmar [Wed, 25 Jun 2003 15:38:55 +0000 (15:38 +0000)]
GnomeFontFace wrapper class for embedded fonts. Originally by me, this

* xpdf/gpdf-font-face.c: GnomeFontFace wrapper class for embedded
fonts. Originally by me, this class is from Filip Van Raemdonck.

* xpdf/gpdf-font-face.h: header for GPdfFontFace.

* xpdf/Makefile.am (libgpdf_a_SOURCES): build gpdf-font-face.[hc].
(INCLUDES): propagate cflags for private gnome-print headers.

* xpdf/GPOutputDev.cc (getFontFaceEmbedded):
s/gnome_font_face_download/gpdf_font_face_download/.

* configure.in (HAVE_FONT_EMBEDDING): compile with font-embedding
if complete private gnome-print headers are installed.

* NEWS: updated.

21 years agogenerate lib/ggv-sidebar/Makefile. GPDF_0_103
Martin Kretzschmar [Tue, 3 Jun 2003 21:09:42 +0000 (21:09 +0000)]
generate lib/ggv-sidebar/Makefile.

* configure.in: generate lib/ggv-sidebar/Makefile.

* lib/Makefile.am (SUBDIRS): add ggv-sidebar.

* lib/ggv-sidebar/ggvutils.h, lib/ggv-sidebar/ggv-prefs.h:
everything we need from the ggv files of the same name.

* lib/ggv-sidebar/ggvutils.c: plus their implementation.

* lib/ggv-sidebar/Makefile.am: add ggvutils.[hc], ggv-prefs.h.

* xpdf/Makefile.am: link with ggv-sidebar.

* xpdf/gpdf-view.cc: implement GgvDocument interface.
(gpdf_view_get_type): cannot use CLASS_BOILERPLATE with interfaces.
(gpdf_view_get_page_count, gpdf_view_get_page_names)
(gpdf_view_instance_init): for the interface.

* xpdf/tests/test-gpdf-view.cc: add tests for GPdfView.

* xpdf/tests/.cvsignore: ignore test-gpdf-view.

* xpdf/tests/Makefile.am: add new test, link with ggv-sidebar.

21 years agoadd tests for GPdfControl
Martin Kretzschmar [Thu, 29 May 2003 11:08:28 +0000 (11:08 +0000)]
add tests for GPdfControl

* xpdf/tests/test-gpdf-control.cc: add tests for GPdfControl

* xpdf/tests/Makefile.am, xpdf/tests/.cvsignore: add
test-gpdf-control

* xpdf/gpdf-control.cc: use BONOBO_CLASS_BOILERPLATE.
(gpdf_control_new, gpdf_control_construct): kill, use construct
time properties.
(gpdf_control_class_init): install constructor, properties
persist-stream and persist-file.
(gpdf_control_constructor): constructor impl.
(gpdf_control_setup_page_control, gpdf_control_setup_zoomable)
(gpdf_control_setup_view_widgets): renamed from gc_setup_foo.
(gpdf_control_setup_persist): ditto, connect to PersistFile, too.
(gpdf_control_set_property): impl.
(persist_file_set_pdf_cb): signal callback.
(persist_stream_set_pdf_cb): renamed from gc_set_pdf_cb.
(gpdf_control_pdf_doc_changed): factored out from gc_set_pdf_cb.
(verb_FileProperties_cb): get PDFDoc from priv.

* xpdf/gpdf-control.h: kill gpdf_control_new and _construct,

* xpdf/bonobo-application-x-pdf.cc (gpdf_factory): also give the
control a PersistFile implementation

* xpdf/Makefile.am: moved more code into libgpdf.a.

* xpdf/GNOME_PDF.server.in.in: state that we implement
Bonobo/PersistFile.

* shell/gpdf.c (bonobo_stream_for_uri): kill.
(gw_control_load_pdf): changed to load through PersistFile.

21 years agoadd tests for GPdfPersistFile.
Martin Kretzschmar [Tue, 27 May 2003 17:43:17 +0000 (17:43 +0000)]
add tests for GPdfPersistFile.

* xpdf/tests/test-pdf-loading.cc: add tests for GPdfPersistFile.

* xpdf/gpdf-persist-stream.h: no need to include BonoboStream.h.

* xpdf/gpdf-persist-file.h, xpdf/gpdf-persist-file.cc: new class,
implements the PersistFile interface.

* xpdf/Makefile.am (libgpdf_a_SOURCES): add gpdf-persist-file.cc,
gpdf-persist-file.h.

* xpdf/gpdf-control.cc: reorder includes.

21 years agonew test.
Martin Kretzschmar [Sun, 25 May 2003 13:34:01 +0000 (13:34 +0000)]
new test.

* xpdf/tests/test-pdf-loading.cc: new test.

* xpdf/tests/Makefile.am (TESTS_NEEDING_PDFTEX): add
test-pdf-loading.

* xpdf/Makefile.am (libgpdf_a_SOURCES): move more files to the lib.

* xpdf/gpdf-persist-stream.cc (gpdf_persist_stream_get_length):
kill.
(gpdf_persist_stream_delete_doc_and_stream): rename from
delete_pdf_doc_full, simplify.
(load_pdf_from_stream): make priv->pdf_stream local to this method,
kill redundant test for catalog.

* xpdf/gpdf-persist-stream.h (gpdf_persist_stream_get_length):
kill.

* xpdf/gpdf-control.cc (verb_FileProperties_cb): remove file size
argument.

* xpdf/nautilus-pdf-property-page.cc
(gpdf_nautilus_property_page_set_uri): ditto.

* xpdf/pdf-info-dict-util.cc (pdf_doc_process_properties): kill
file size parameter.

* xpdf/pdf-info-dict-util.h: ditto.

* xpdf/pdf-properties-display.c: kill traces of the file size
label.

21 years agoadd (mouse) enter and leave signals
Martin Kretzschmar [Tue, 20 May 2003 18:33:23 +0000 (18:33 +0000)]
add (mouse) enter and leave signals

* xpdf/gpdf-link-canvas-item.cc
(gpdf_link_canvas_item_mouse_enter)
(gpdf_link_canvas_item_mouse_leave)
(gpdf_link_canvas_item_class_init): add (mouse) enter and leave
signals

* xpdf/gpdf-link-canvas-item.h: add signal slots for enter and
leave

* xpdf/tests/test-links.cc (link_item_enter_leave): test for the
signals

* xpdf/Makefile.am: now the marshallers sources are not shipped
with the dist and correctly build when needed, finally

* configure.in: version 0.102.99

21 years agoVersion 0.102 GPDF_0_102
Martin Kretzschmar [Mon, 19 May 2003 20:35:51 +0000 (20:35 +0000)]
Version 0.102

* configure.in: Version 0.102

* xpdf/Makefile.am: don't do the DONT_DIST_SOURCE thing, breaks
the distcheck

21 years agodon't distribute generated marshallers
Martin Kretzschmar [Mon, 19 May 2003 17:49:35 +0000 (17:49 +0000)]
don't distribute generated marshallers

21 years agotests/experiments
Martin Kretzschmar [Sun, 18 May 2003 15:55:38 +0000 (15:55 +0000)]
tests/experiments

* xpdf/tests/test-page-setup.cc, xpdf/tests/test-links.cc:
tests/experiments

* xpdf/tests/Makefile.am, xpdf/tests/.cvsignore: infrastructure

* xpdf/gpdf-view.h: signal slots for close and quit requests

* xpdf/gpdf-view.cc (gpdf_view_link_action_named, link_clicked_cb)
(gpdf_view_class_init): implement some named action links:
NextPage, PrevPage, FirstPage, LastPage, signals for Close and Quit

* xpdf/Makefile.am (SUBDIRS): add tests

* test-files/simple-links.tex: test file, simple pdf links

* test-files/.cvsignore, test-files/Makefile.am: infrastructure

* configure.in: check for pdftex (not a hard requirement)
add test-files/Makefile and xpdf/tests/Makefile

* NEWS: update

* Makefile.am (SUBDIRS): add test-files

21 years agoadd xpdf/gpdf-link-canvas-item.cc xpdf/gpdf-links-canvas-layer.cc
Martin Kretzschmar [Sat, 17 May 2003 22:21:50 +0000 (22:21 +0000)]
add xpdf/gpdf-link-canvas-item.cc xpdf/gpdf-links-canvas-layer.cc

* po/POTFILES.in: add xpdf/gpdf-link-canvas-item.cc
xpdf/gpdf-links-canvas-layer.cc

* xpdf/gpdf-view.cc (gpdf_view_motion_notify_event)
(gpdf_view_handle_drag_motion): chain up to parent implementation
of motion-notify, factor out dragging
(gpdf_view_button_press_event): chain up to parent
(gpdf_view_render_page): use GPdfLinksCanvasLayer to draw links
(link_clicked_cb, gpdf_view_link_action_goto): implement simple
GoTo links
(gpdf_view_dispose): unref the links_layer

* xpdf/gpdf-persist-stream.cc: store bonoboStream as BaseStream

* xpdf/gpdf-marshal.list: add VOID:POINTER

* xpdf/gpdf-links-canvas-layer.cc, xpdf/gpdf-links-canvas-layer.h:
new class, links are grouped in such layers

* xpdf/gpdf-link-canvas-item.cc, xpdf/gpdf-link-canvas-item.h: new
class, representing links in the GPdfView

* xpdf/Makefile.am: move away from $common_sources to convenience
libraries, add gpdf-link-canvas-item.{cc,h},
gpdf-links-canvas-layer.{cc,h}

* xpdf/BonoboStream.cc (bfread, bfseek): fix debug messages

21 years agoadd GMutex (not used yet) GPDF_0_101
Martin Kretzschmar [Sat, 3 May 2003 17:44:05 +0000 (17:44 +0000)]
add GMutex (not used yet)

* xpdf/gpdf-g-switch.h: add GMutex (not used yet)

* shell/gpdf.c (gpdf_window_new): s/gtk_type_new/g_object_new/,
use construction time properties
(gw_setup_window): kill (replaced by constr. time props)
(gpdf_window_construct): don't call gw_setup_window
(gw_add_control_to_ui, gpdf_window_open): more simplifications due
to BonoboWidget
(gw_activate_control): ditto -> kill
(gw_control_load_pdf, bonobo_stream_for_uri): extract the latter
from the former
(gw_setup_local_contents, gw_setup_toplevel_ui)
(gw_setup_recent_menu, gw_setup_recent_toolitem): slot and
ui_component moved to priv

* shell/gpdf-window.h (struct _GPdfWindow): move away remaining public
fields

21 years agomake static (gpdf_properties_display_class_init): install dispose
Martin Kretzschmar [Sun, 27 Apr 2003 16:27:41 +0000 (16:27 +0000)]
make static (gpdf_properties_display_class_init): install dispose

* xpdf/pdf-properties-display.c (gpdf_gtk_label_make_bold): make static
(gpdf_properties_display_class_init): install dispose implementation

* xpdf/pdf-info-dict-util.cc (pdf_doc_process_properties): format
file size with %ld, not %d

* xpdf/page-control.c: #include stdlib.h for strtol

* xpdf/gpdf-view.cc (canonical_multiple_of_90): return statement
was missing, I wonder why it worked
(gpdf_view_key_press_event): silence warning
(gpdf_view_key_press_event): ditto

* xpdf/GPOutputDev.cc (initBase14Fonts): use guint as array index

* xpdf/BonoboStream.cc (bfseek): silence warning

* shell/gpdf.c (open_request_logger): don't define if not debugging

* shell/gpdf-uri-input.h: add missing prototypes

* shell/gpdf-uri-input.c (gpdf_uri_input_open_uri_list): add
missing return type

* xpdf/Makefile.am, shell/Makefile.am, configure.in: use maximum
compiler warnings

21 years ago(CLEANFILES): rm GNOME_PDF.server.in on clean, not on distclean (fixes
Martin Kretzschmar [Wed, 23 Apr 2003 19:10:17 +0000 (19:10 +0000)]
(CLEANFILES): rm GNOME_PDF.server.in on clean, not on distclean (fixes
Bug #111404)

21 years ago(ui_DATA): no need for bonobo-application-x-pdf-ui.xml. GPDF_0_100
Martin Kretzschmar [Thu, 3 Apr 2003 12:00:59 +0000 (12:00 +0000)]
(ui_DATA): no need for bonobo-application-x-pdf-ui.xml.

21 years agoadd
Martin Kretzschmar [Wed, 2 Apr 2003 17:54:27 +0000 (17:54 +0000)]
add

* gpdf.applications: add

* Makefile.am install gpdf.applications

* gpdf.keys.in: update.

* goo/Makefile.am, shell/Makefile.am, xpdf/Makefile.am: add
top_srcdir to include path for aconf2.h.

* goo/Makefile.am, xpdf/Makefile.am: rename libgoo.a to libGoo.a
for consistency with Xpdf, don't install this library;
makefile.w32 is no more.

* README: added note that this does not describe the GNOME version.

* Makefile.am: don't distribute README.CVS, ANNOUNCE,
makefile.w32, distribute aconf2.h.

* CHANGES: added reference to ChangeLog and NEWS.

* AUTHORS, NEWS: updated.

* configure.in: add bugzilla url to AC_INIT.

* xpdf/gpdf-view.cc, xpdf/gpdf-persist-stream.cc,
xpdf/gpdf-control.cc, xpdf/GPOutputDev.cc: consistently wrap debug
messages.

21 years agoMerge with Xpdf 2.02 and make it build
Martin Kretzschmar [Tue, 1 Apr 2003 19:47:11 +0000 (19:47 +0000)]
Merge with Xpdf 2.02 and make it build

21 years agoImport of Xpdf 2.02 for merge XPDF_2_02
Martin Kretzschmar [Tue, 1 Apr 2003 08:50:28 +0000 (08:50 +0000)]
Import of Xpdf 2.02 for merge

21 years agoupdate
Martin Kretzschmar [Mon, 31 Mar 2003 23:23:17 +0000 (23:23 +0000)]
update

* ANNOUNCE, CHANGES, README, aconf-win32.h: update

* xpdf/CharCodeToUnicode.cc, xpdf/Decrypt.cc, xpdf/FTFont.cc,
xpdf/FTFont.h, xpdf/FontEncodingTables.cc, xpdf/Gfx.cc,
xpdf/GfxFont.cc, xpdf/GfxState.cc, xpdf/GfxState.h,
xpdf/GlobalParams.cc, xpdf/GlobalParams.h, xpdf/Link.cc,
xpdf/NameToUnicodeTable.h, xpdf/Stream.cc, xpdf/TextOutputDev.cc,
xpdf/TextOutputDev.h, xpdf/XOutputDev.cc, xpdf/config.h,
xpdf/pdftotext.cc, xpdf/xpdf.cc, xpdf/Outline.cc, xpdf/XPDFApp.cc,
xpdf/XPDFApp.h, xpdf/XPDFCore.cc, xpdf/XPDFCore.h,
xpdf/XPDFViewer.cc, xpdf/XPDFViewer.h: update.

* goo/gfile.cc: update.

* goo/Makefile.am: use GMutex.h

* doc/pdffonts.1, doc/pdffonts.cat, doc/pdfimages.1,
doc/pdfimages.cat, doc/pdfinfo.1, doc/pdfinfo.cat, doc/pdftopbm.1,
doc/pdftopbm.cat, doc/pdftops.1, doc/pdftops.cat, doc/pdftotext.1,
doc/pdftotext.cat, doc/pdftotext.hlp, doc/xpdf.1, doc/xpdf.cat,
doc/xpdf.hlp, doc/xpdfrc.5, doc/xpdfrc.cat, doc/xpdfrc.hlp: update

21 years agoImport of Xpdf 2.01 for merge XPDF_2_01
Martin Kretzschmar [Mon, 31 Mar 2003 21:55:40 +0000 (21:55 +0000)]
Import of Xpdf 2.01 for merge

21 years agoInitial revision
Martin Kretzschmar [Mon, 31 Mar 2003 21:54:31 +0000 (21:54 +0000)]
Initial revision

21 years agokill traces of ltk, incorporate new sources
Martin Kretzschmar [Mon, 31 Mar 2003 21:08:43 +0000 (21:08 +0000)]
kill traces of ltk, incorporate new sources

* xpdf/Makefile.am: kill traces of ltk, incorporate new sources

* Makefile.am, configure.in: don't build the ltk subdir

* ANNOUNCE, CHANGES, ChangeLog, README, aconf-dj.h, aconf-win32.h,
dj_make.bat, ms_make.bat, vms_make.com: update

* xpdf/LTKOutputDev.cc, xpdf/LTKOutputDev.h, xpdf/postscript.xbm,
xpdf/xpdf-flip.ltk, xpdf/xpdf-ltk.h, xpdf/xpdf-top.ltk,
xpdf/xpdf.ltk: remove.

* xpdf/Annot.cc, xpdf/Annot.h, xpdf/Array.cc, xpdf/Array.h,
xpdf/BuiltinFont.cc, xpdf/BuiltinFont.h,
xpdf/BuiltinFontTables.cc, xpdf/CMap.cc, xpdf/CMap.h,
xpdf/Catalog.cc, xpdf/Catalog.h, xpdf/CharCodeToUnicode.cc,
xpdf/CharCodeToUnicode.h, xpdf/Decrypt.cc, xpdf/Decrypt.h,
xpdf/Dict.cc, xpdf/Dict.h, xpdf/Error.cc, xpdf/Error.h,
xpdf/FTFont.cc, xpdf/FTFont.h, xpdf/FontFile.cc, xpdf/FontFile.h,
xpdf/Function.cc, xpdf/Function.h, xpdf/Gfx.cc, xpdf/Gfx.h,
xpdf/GfxFont.cc, xpdf/GfxFont.h, xpdf/GfxState.cc,
xpdf/GfxState.h, xpdf/GlobalParams.cc, xpdf/GlobalParams.h,
xpdf/ImageOutputDev.cc, xpdf/ImageOutputDev.h, xpdf/Lexer.cc,
xpdf/Lexer.h, xpdf/Link.cc, xpdf/Link.h, xpdf/NameToCharCode.cc,
xpdf/NameToCharCode.h, xpdf/NameToUnicodeTable.h, xpdf/Object.cc,
xpdf/Object.h, xpdf/OutputDev.cc, xpdf/OutputDev.h,
xpdf/PBMOutputDev.cc, xpdf/PBMOutputDev.h, xpdf/PDFDoc.cc,
xpdf/PDFDoc.h, xpdf/PSOutputDev.cc, xpdf/PSOutputDev.h,
xpdf/PSTokenizer.cc, xpdf/PSTokenizer.h, xpdf/Page.cc,
xpdf/Page.h, xpdf/Parser.cc, xpdf/Parser.h, xpdf/SFont.cc,
xpdf/SFont.h, xpdf/Stream.cc, xpdf/Stream.h, xpdf/T1Font.cc,
xpdf/T1Font.h, xpdf/TTFont.cc, xpdf/TTFont.h,
xpdf/TextOutputDev.cc, xpdf/TextOutputDev.h, xpdf/UnicodeMap.cc,
xpdf/UnicodeMap.h, xpdf/XOutputDev.cc, xpdf/XOutputDev.h,
xpdf/XRef.cc, xpdf/XRef.h, xpdf/config.h, xpdf/pdffonts.cc,
xpdf/pdfimages.cc, xpdf/pdfinfo.cc, xpdf/pdftopbm.cc,
xpdf/pdftops.cc, xpdf/pdftotext.cc, xpdf/vms_make.com,
xpdf/xpdf.cc: update.

* goo/GHash.cc, goo/GHash.h, goo/GList.cc, goo/GList.h,
goo/GString.cc, goo/GString.h: mostly Mac OS X gcc fixage.

* doc/pdffonts.1, doc/pdffonts.cat, doc/pdffonts.hlp,
doc/pdfimages.1, doc/pdfimages.cat, doc/pdfimages.hlp,
doc/pdfinfo.1, doc/pdfinfo.cat, doc/pdfinfo.hlp, doc/pdftopbm.1,
doc/pdftopbm.cat, doc/pdftopbm.hlp, doc/pdftops.1,
doc/pdftops.cat, doc/pdftops.hlp, doc/pdftotext.1,
doc/pdftotext.cat, doc/pdftotext.hlp, doc/xpdf.1, doc/xpdf.cat,
doc/xpdf.hlp, doc/xpdfrc.5, doc/xpdfrc.cat, doc/xpdfrc.hlp:
update docs.

21 years agoImport of Xpdf 2.00 for merge XPDF_2_00
Martin Kretzschmar [Mon, 31 Mar 2003 16:45:09 +0000 (16:45 +0000)]
Import of Xpdf 2.00 for merge

21 years agoInitial revision
Martin Kretzschmar [Mon, 31 Mar 2003 16:45:09 +0000 (16:45 +0000)]
Initial revision

21 years agoremove, they are neither in Xpdf 1.01 nor necessary for GPdf
Martin Kretzschmar [Mon, 31 Mar 2003 16:22:00 +0000 (16:22 +0000)]
remove, they are neither in Xpdf 1.01 nor necessary for GPdf

21 years agoImport of Xpdf 1.01 in preparation of 2.0x imports XPDF_1_01
Martin Kretzschmar [Mon, 31 Mar 2003 15:36:22 +0000 (15:36 +0000)]
Import of Xpdf 1.01 in preparation of 2.0x imports

21 years agoextract common pdf properties code:
Martin Kretzschmar [Mon, 3 Mar 2003 17:13:25 +0000 (17:13 +0000)]
extract common pdf properties code:

* xpdf/gpdf-control.cc, xpdf/nautilus-pdf-property-page.cc:
extract common pdf properties code:

* xpdf/pdf-info-dict-util.cc, xpdf/pdf-info-dict-util.h: the
common code.

* xpdf/Makefile.am: compile pdf-info-dict-util.{cc,h}.

* xpdf/gpdf-control.cc (verb_FileProperties_cb): make the dialog
transient for the control's parent.

21 years agonew class, just what the name says, uses GnomeVFSStream for loading
Martin Kretzschmar [Sun, 2 Mar 2003 15:02:20 +0000 (15:02 +0000)]
new class, just what the name says, uses GnomeVFSStream for loading

* xpdf/nautilus-pdf-property-page.cc,
xpdf/nautilus-pdf-property-page.h: new class, just what the name
says, uses GnomeVFSStream for loading PDFDocs.

* xpdf/GnomeVFSStream.cc, xpdf/GnomeVFSStream.h: BaseStream
implementation based on (synchronous) gnome-vfs calls.

* xpdf/BonoboStream.cc, xpdf/BonoboStream.h: coding style fixage,
include only what's needed.

* xpdf/Makefile.am (gnome_pdf_viewer_SOURCES): also compile
GnomeVFSStream.{cc,h}, nautilus-pdf-property-page.{cc,h}

* xpdf/GNOME_PDF.server.in.in: add stanza for the Property Page.

* xpdf/bonobo-application-x-pdf.cc: clean up a bit
(gpdf_factory): now we produce the Property Page, too.

* xpdf/gpdf-control.cc: include time.h for strftime, mktime.

21 years agoget glade file from its installed location. Martin, repeat after me: I
Martin Kretzschmar [Wed, 26 Feb 2003 17:44:53 +0000 (17:44 +0000)]
get glade file from its installed location. Martin, repeat after me: I

2003-02-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>

* xpdf/pdf-properties-display.c
(gpdf_properties_display_setup_glade): get glade file from its
installed location. Martin, repeat after me: I Will Test The
Installed Program.

* xpdf/Makefile.am: Added the Glade file to the dist. (Originally
by Ross, thanks)

2003-02-26  Ross Burton  <ross@burtonini.com>

* gpdf.desktop: Fix so that it validates.

* Makefile.am: Install the .desktop file into the correct
folder. Also remove intltool-*, which are generated.

21 years agonew widget: table with labels displaying properties of PDFs
Martin Kretzschmar [Sun, 23 Feb 2003 13:35:35 +0000 (13:35 +0000)]
new widget: table with labels displaying properties of PDFs

* xpdf/pdf-properties-display.c, xpdf/pdf-properties-display.h,
xpdf/gpdf-properties-dialog.glade:
new widget: table with labels displaying properties of PDFs

* xpdf/gpdf-control.cc (has_unicode_marker)
(utf16_big_endian_to_utf8, info_dict_get_string)
(info_dict_get_date, gpdf_control_process_string_property)
(gpdf_control_process_date_property)
(gpdf_control_process_properties)
(gpdf_control_properties_dialog_response_cb)
(verb_FileProperties_cb): new: a PDF properties command

* xpdf/Makefile.am: build pdf-properties-display.[ch], install
glade file

* xpdf/.cvsignore: ignore gpdf-properties-dialog.gladep

* xpdf/gpdf-persist-stream.h, xpdf/gpdf-persist-stream.cc
(gpdf_persist_stream_get_length): new function

* xpdf/gpdf-control-ui.xml: add FileProperties command and menu
item inside a "File Items Placeholder"

* shell/gpdf-window-ui.xml: add "File Items Placeholder"

* configure.in: check for libglade-2.0

* Makefile.am (EXTRA_DIST): don't dist gpdf.mime

* xpdf/PDFDoc.cc, xpdf/Function.cc, xpdf/FontFile.cc,
goo/parseargs.c: call atof only in the "C" locale

21 years agoApplied a patch to fix buffer overflow (CVE:
Martin Kretzschmar [Thu, 20 Feb 2003 14:26:01 +0000 (14:26 +0000)]
Applied a patch to fix buffer overflow (CVE:
CAN-2002-1384, Redhat: RHSA-2003:037-09, Debian: DSA-222)
Reminder by Michael

21 years agonew. register gpdf-zoom-fit-width stock icon with a GtkIconFactory
Martin Kretzschmar [Sat, 15 Feb 2003 17:27:05 +0000 (17:27 +0000)]
new. register gpdf-zoom-fit-width stock icon with a GtkIconFactory

* xpdf/gpdf-stock-icons.h, xpdf/gpdf-stock-icons.c: new. register
gpdf-zoom-fit-width stock icon with a GtkIconFactory

* xpdf/fitwidth.png: redone in 24x24pix instead of 26x26, based on
gtk's zoom-out stock icon and the original fitwidth.png

* xpdf/gpdf-control.cc (gc_set_ui_container): s/gc_set_ui_pixbufs/
gc_ui_set_pixbufs/
(gc_ui_set_pixbufs): rewrite to use stock icon machinery, let it
do the correct scaling

* xpdf/bonobo-application-x-pdf.cc (main): init our stock icons

* xpdf/Makefile.am (gnome_pdf_viewer_SOURCES): add
gpdf-stock-icons.[ch]

21 years agochange (disabled) font embedding code
Martin Kretzschmar [Sat, 15 Feb 2003 15:07:21 +0000 (15:07 +0000)]
change (disabled) font embedding code

* xpdf/GPOutputDev.cc (getFontFaceEmbedded): change (disabled)
font embedding code

* shell/gpdf.c (gw_setup_window): set window title

* xpdf/GNOME_PDF.server.in.in, shell/gpdf.c: s/Gnome/GNOME/ in
strings

* xpdf/page-control.c, xpdf/gpdf-view.cc,
xpdf/gpdf-persist-stream.cc: use our own marshallers

* configure.in, xpdf/Makefile.am, xpdf/gpdf-marshal.list: check
for and use glib-genmarshal

* xpdf/.cvsignore: ignore generated marshallers

* xpdf/Makefile.am: clean up server.in, server files

* Makefile.am, gpdf.mime: remove gpdf.mime, application/pdf is
provided by gnome-vfs.mime

21 years agopage number entry widget (for the toolbar)
Martin Kretzschmar [Mon, 10 Feb 2003 20:04:28 +0000 (20:04 +0000)]
page number entry widget (for the toolbar)

* xpdf/page-control.c, xpdf/page-control.h: page number entry
widget (for the toolbar)

* xpdf/gpdf-control.cc (gc_page_changed_cb)
(gc_ui_add_page_control, gc_setup_page_control): add a
page-control to the toolbar (currently displays page number only)
(gc_set_ui_pixbufs): extracted from gc_set_ui_container
(gc_setup_view_widgets): renamed from gc_setup_widgets

* xpdf/gpdf-view.cc, xpdf/gpdf-view.h: add a page_changed signal,
wrap g_signal_emit calls for improved readability

* xpdf/Makefile.am (gnome_pdf_viewer_SOURCES): add page-control.c,
page-control.h

* xpdf/gpdf-control-ui.xml: add placeholder for page-control

21 years agofix a comment that prevented definition of
Martin Kretzschmar [Tue, 4 Feb 2003 18:59:14 +0000 (18:59 +0000)]
fix a comment that prevented definition of
gnome_pdf_viewer_LDADD
Patch by Benjamin Dauvergne <feanor@tol-eressea.org>

21 years agodisable font embedding hack introduced on 2002-12-09 to fix build with
Martin Kretzschmar [Fri, 24 Jan 2003 16:17:08 +0000 (16:17 +0000)]
disable font embedding hack introduced on 2002-12-09 to fix build with
current, extra-clean gnome-print

21 years agocopy from ggv.
Martin Kretzschmar [Mon, 9 Dec 2002 21:09:31 +0000 (21:09 +0000)]
copy from ggv.

* fitwidth.png: copy from ggv.

* xpdf/Makefile.am, xpdf/gpdf-control-ui.xml, xpdf/gpdf-control.cc
(gc_set_ui_container): use it.

* stock-zoom-fit-tall.xpm, stock-zoom-fit-wide.xpm,
stock-zoom-fit.xpm, stock-zoom-in.xpm, stock-zoom-out.xpm: kill
Gnome 1 style pixmaps.