Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf
Commit message (Collapse)AuthorAgeFilesLines
* Redo size handling.Owen Taylor2004-12-221-25/+85
| | | | | | | | | Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com> * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc: Redo size handling. * shell/ev-view.c: Track the size from the document.
* PDFDoc constructor assumes ownership of the string passed in.Owen Taylor2004-12-221-3/+1
| | | | | | | | | | Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com> * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc constructor assumes ownership of the string passed in. * shell/ev-window.c (ev_window_open): Destroy the error dialog once we've displayed it.
* Hook things up a bit, it works! (sort of)Owen Taylor2004-12-223-143/+253
| | | | | | | | | | | | | Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com> * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up a bit, it works! (sort of) * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc: Move to .cc since we need to use C++ in the implementation. * shell/dummy.cc: Add a CC file to force evince to be linked as a C++ program.x
* Switch from .a to libtool convenience libraries.Owen Taylor2004-12-226-21/+213
| | | | | | | | | | | | | | | | Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com> * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from .a to libtool convenience libraries. * shell/ev-window.c (ev_window_open): Hard code loading a PDF document. * backend/ev-document.h: Add a boolean return to load(), fix GError * to GError **. * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub object for a PDF backend EvDocument.
* Import of xpdf code from gpdf.Owen Taylor2004-12-2133-238/+535
| | | | | | | | | | | | | | | | | | | 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
* port from GPdfHIGDialog to GtkMessageDialog.Martin Kretzschmar2004-12-205-248/+0
| | | | | | | | | | | | * 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
* Fix for a number of integer overflow bugs discovered by Chris Evans.Dan Williams2004-11-052-49/+125
| | | | | | | | 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.
* check gnome_vfs_foo return values. Fixes crashes with gnome-vfs' httpMark McLoughlin2004-09-211-16/+20
| | | | | | | | 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.
* sssshhhMartin Kretzschmar2004-08-281-0/+1
|
* drop support for building xpdf, pdfto*.Martin Kretzschmar2004-06-061-83/+0
| | | | | | | * xpdf/Makefile.am: drop support for building xpdf, pdfto*. * configure.in: simplify more. Drop --enable-no-text-select and --enable-multithreaded options. Bug #111404.
* cvs remove. Remainings of the Xpdf non-automake build system.Martin Kretzschmar2004-06-032-0/+0
|
* added.Martin Kretzschmar2004-05-176-168/+76
| | | | | | * fofi/Makefile.am, splash/Makefile.am: added. * Makefile.am: add fofi and splash subdirs.
* Imported Xpdf 3.00 and fixed build.Martin Kretzschmar2004-05-1757-12715/+1814
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Import of Xpdf 3.00Martin Kretzschmar2004-05-179-490/+168
|
* Initial revisionMartin Kretzschmar2004-05-1767-0/+17836
|
* Imported Xpdf 2.03 and fixed build.Martin Kretzschmar2004-05-1656-3454/+7819
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Import of Xpdf 2.03Martin Kretzschmar2004-05-168-196/+393
|
* Initial revisionMartin Kretzschmar2004-05-162-0/+317
|
* :Thumb): Added a flag for keeping Thumb data validity and the method toRemi Cohen-Scali2004-05-092-1/+7
| | | | | | | | 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.
* :ThumbColorMap): unused now, remove.Martin Kretzschmar2004-05-082-225/+31
| | | | | | * xpdf/Thumb.cc (ThumbColorMap::ThumbColorMap): unused now, remove. * xpdf/Thumb.h: ditto.
* (lookup): log to stderr because that's not buffered etc.Martin Kretzschmar2004-05-081-6/+6
|
* :ThumbColorMap): Changed field init order to match decl and to avoidRemi Cohen-Scali2004-01-201-13/+4
| | | | | | | | | | 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.
* :coalesce): Init a var to avoid warning.Remi Cohen-Scali2004-01-201-1/+1
| | | | | | | 2004-01-20 Remi Cohen-Scali <rcoscali@cvs.gnome.org> * xpdf/TextOutputDev.cc (TextPage::coalesce): Init a var to avoid warning.
* Changed the way WARN_CFLAFS & WARN_CXXFLAGS were passed to compiler. NowRemi Cohen-Scali2004-01-201-1/+0
| | | | | | | | | | | 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.
* Changed value according to USE_ANNOTS_VIEW cond in order to includeRemi Cohen-Scali2004-01-161-1/+28
| | | | | | | | 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).
* fixes for USE_ANNOTS_VIEW conditional.Martin Kretzschmar2004-01-131-2/+4
|
* Changed variables assignement to avoid undefined message fromRemi Cohen-Scali2004-01-131-4/+2
| | | | | | | | 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.
* :displaySlice): Changed the size of the statements enclosed in ifdefRemi Cohen-Scali2004-01-131-6/+5
| | | | | | | | | | 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.
* Add implem for Thumb object parsing.Remi Cohen-Scali2004-01-132-0/+455
| | | | | | | | 2004-01-13 Remi Cohen-Scali <rcoscali@cvs.gnome.org> * xpdf/Thumb.cc: * xpdf/Thumb.h: Add implem for Thumb object parsing.
* Defines for gconf keysRemi Cohen-Scali2004-01-131-0/+4
| | | | | | 2004-01-13 Remi Cohen-Scali <rcoscali@cvs.gnome.org> * xpdf/prefs-strings.h: Defines for gconf keys
* Added annots display CB.Remi Cohen-Scali2004-01-132-12/+28
| | | | | | | 2004-01-13 Remi Cohen-Scali <rcoscali@cvs.gnome.org> * xpdf/PDFDoc.h: * xpdf/PDFDoc.cc: Added annots display CB.
* Added getThumb method. Added annots display CB decl. Added Thumb objectRemi Cohen-Scali2004-01-131-2/+12
| | | | | | | | 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.
* :Page): Added thumb object parsing. (Page::display) (Page::displaySlice):Remi Cohen-Scali2004-01-131-4/+24
| | | | | | | | | | | | 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.
* Fixed Outline object parsing.Remi Cohen-Scali2004-01-131-5/+5
| | | | | | 2004-01-13 Remi Cohen-Scali <rcoscali@cvs.gnome.org> * xpdf/Outline.cc: Fixed Outline object parsing.
* Changed some error handling to make a difference between two parse actionsRemi Cohen-Scali2004-01-131-3/+5
| | | | | | | | 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).
* Add conditional ANNOTS_VIEW_SRCS. Change eog-hig-dialog inRemi Cohen-Scali2004-01-131-5/+59
| | | | | | | | | 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.
* Reused eog HIG dialog in GPdf.Remi Cohen-Scali2004-01-132-0/+123
| | | | | | | | 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.
* Added getSubtype, getDict and getRefNum/Gen methods for easier annotsRemi Cohen-Scali2004-01-121-0/+12
| | | | | | | | | 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.
* :Annot): Extended Annot object to read several kind of annotations. SomeRemi Cohen-Scali2004-01-121-16/+16
| | | | | | | | | | 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.
* add --enable-deprecation-errors option, inspired by ggv's configure.Martin Kretzschmar2003-12-301-0/+1
| | | | | | | | | * 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.
* add xpdf/gpdf-print-progress-dialog.gladeMartin Kretzschmar2003-09-241-1/+4
| | | | | | | | | | | | | | | | | | | | | | | * 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.
* (eog_hig_dialog_new): add terminating NULL in g_object_set.Martin Kretzschmar2003-08-061-1/+1
|
* use more informative error messages when emitting loading-failed. KillMartin Kretzschmar2003-07-181-1/+1
| | | | | | | | | | | | * 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
* Add gpdf-persist-file.cc.Martin Kretzschmar2003-07-173-0/+125
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* GnomeFontFace wrapper class for embedded fonts. Originally by me, thisMartin Kretzschmar2003-06-251-0/+3
| | | | | | | | | | | | | | | | | | * 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.
* generate lib/ggv-sidebar/Makefile.Martin Kretzschmar2003-06-031-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* add tests for GPdfControlMartin Kretzschmar2003-05-291-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* add tests for GPdfPersistFile.Martin Kretzschmar2003-05-271-0/+2
| | | | | | | | | | | | | | * 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.
* new test.Martin Kretzschmar2003-05-251-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* add (mouse) enter and leave signalsMartin Kretzschmar2003-05-201-11/+10
| | | | | | | | | | | | | | | | | | | * 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