]>
www.fi.muni.cz Git - evince.git/log
Anders Carlsson [Wed, 22 Dec 2004 17:20:51 +0000 (17:20 +0000)]
Add pixbuf backend.
2004-12-22 Anders Carlsson <andersca@gnome.org>
* Makefile.am:
* configure.ac:
* pixbuf/Makefile.am:
* pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
(pixbuf_document_load), (pixbuf_document_get_n_pages),
(pixbuf_document_set_page), (pixbuf_document_get_page),
(pixbuf_document_set_target), (pixbuf_document_set_scale),
(pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
(pixbuf_document_render), (pixbuf_document_begin_find),
(pixbuf_document_end_find), (pixbuf_document_finalize),
(pixbuf_document_class_init),
(pixbuf_document_document_iface_init), (pixbuf_document_init):
* pixbuf/pixbuf-document.h:
* shell/Makefile.am:
* shell/ev-application.c: (ev_application_open):
* shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
(ev_window_open):
Add pixbuf backend.
Søren Sandmann Pedersen [Wed, 22 Dec 2004 16:34:36 +0000 (16:34 +0000)]
Add Makefile.am
Soeren Sandmann [Wed, 22 Dec 2004 16:04:45 +0000 (16:04 +0000)]
Auto*ify dvi and dvi/dvilib
Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
* Makefile.am:
* dvi/dvilib/Makefile.am:
* dvi/Makefile.am:
* configure.ac: Auto*ify dvi and dvi/dvilib
* dvi/Makefile: Remove from CVS
* dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
confusion.
* dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
* dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
Marco Pesenti Gritti [Wed, 22 Dec 2004 14:22:25 +0000 (14:22 +0000)]
*** empty log message ***
Anders Carlsson [Wed, 22 Dec 2004 13:55:37 +0000 (13:55 +0000)]
Add fullscreen support from Epiphany.
2004-12-22 Anders Carlsson <andersca@gnome.org>
* shell/ev-window.c: (update_fullscreen_popup),
(screen_size_changed_cb), (destroy_exit_fullscreen_popup),
(exit_fullscreen_button_clicked_cb),
(fullscreen_popup_size_request_cb), (ev_window_fullscreen),
(ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
(ev_window_state_event_cb), (ev_window_init):
Add fullscreen support from Epiphany.
Mark McLoughlin [Wed, 22 Dec 2004 13:28:08 +0000 (13:28 +0000)]
fit-width stock icon from gpdf.
2004-12-22 Mark McLoughlin <mark@skynet.ie>
* data/ev-stock-zoom-fit-width.png: fit-width
stock icon from gpdf.
* shell/ev-stock-icons.[ch]: copied from gpdf.
* shell/main.c: (main): init stock icons.
* shell/ev-window.c: use the fit-width icon.
* data/evince-ui.xml: add zooming toolbar items.
Mark McLoughlin [Wed, 22 Dec 2004 12:59:02 +0000 (12:59 +0000)]
because get_page_size() returns the scaled page size, we need to calculate
2004-12-22 Mark McLoughlin <mark@skynet.ie>
* shell/ev-view.c:
(ev_view_best_fit), (ev_view_fit_width): because
get_page_size() returns the scaled page size, we
need to calculate the scale factor relative to
the previous scale factor. Should really just
add get_real_page_size().
Mark McLoughlin [Wed, 22 Dec 2004 12:31:53 +0000 (12:31 +0000)]
add zooming.
2004-12-22 Mark McLoughlin <mark@skynet.ie>
* shell/ev-view.[ch]:
(ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
(ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
add zooming.
* shell/ev-window.c: (ev_window_cmd_view_zoom_in),
(ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
(ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
hook it up.
* pdf/xpdf/pdf-document.cc:
(pdf_document_begin_find),
(pdf_document_end_find): make static.
Martin Kretzschmar [Wed, 22 Dec 2004 11:50:50 +0000 (11:50 +0000)]
add prototype.
* pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
* pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
names to fontconfig patterns.
(setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
* pdf/xpdf/pdf-document.cc (pdf_document_load): use
setupBaseFontsFc.
Martin Kretzschmar [Wed, 22 Dec 2004 11:38:21 +0000 (11:38 +0000)]
*** empty log message ***
Marco Pesenti Gritti [Wed, 22 Dec 2004 10:53:55 +0000 (10:53 +0000)]
*** empty log message ***
Marco Pesenti Gritti [Wed, 22 Dec 2004 10:53:40 +0000 (10:53 +0000)]
Import ggv backend. Not hooked up yet.
2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
* Makefile.am:
* configure.ac:
* ps/Makefile.am:
* ps/ggvutils.c:
* ps/ggvutils.h:
* ps/gsdefaults.c:
* ps/gsdefaults.h:
* ps/gsio.c:
* ps/gsio.h:
* ps/gtkgs.c:
* ps/gtkgs.h:
* ps/ps.c:
* ps/ps.h:
Import ggv backend. Not hooked up yet.
Martin Kretzschmar [Wed, 22 Dec 2004 09:35:25 +0000 (09:35 +0000)]
Removed unused shell/global-params.* (was still there from old evince code)
Mark McLoughlin [Wed, 22 Dec 2004 09:32:11 +0000 (09:32 +0000)]
load files from the command line.
2004-12-22 Mark McLoughlin <mark@skynet.ie>
* shell/main.c: (load_files), (main): load files
from the command line.
2004-12-22 Mark McLoughlin <mark@skynet.ie>
* configure.ac: don't require bonobo.
* cut-n-paste/recent-files/*: kill bonobo recent
view.
* shell/ev-window.c:
(ev_window_is_empty): upd.
(unable_to_load), (ev_window_open): load backend
based on the mime type.
Martin Kretzschmar [Wed, 22 Dec 2004 09:20:27 +0000 (09:20 +0000)]
ignore generated marshalers source.
Martin Kretzschmar [Wed, 22 Dec 2004 09:18:26 +0000 (09:18 +0000)]
remove from cvs.
* evince.pot: remove from cvs.
* de.po: update a little.
* POTFILES.in: update.
* .cvsignore: add *.mo, *.pot.
Martin Kretzschmar [Wed, 22 Dec 2004 09:16:16 +0000 (09:16 +0000)]
(main): this is not epiphany.
Havoc Pennington [Wed, 22 Dec 2004 05:30:35 +0000 (05:30 +0000)]
connect to "found" signal (expose_bin_window): draw find highlights
2004-12-22 Havoc Pennington <hp@redhat.com>
* shell/ev-view.c (ev_view_set_document): connect to "found" signal
(expose_bin_window): draw find highlights
* shell/ev-window.c (find_bar_search_changed_cb): implement
* pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
(pdf_document_end_find): implement this interface
* backend/ev-document.c (ev_document_found): add this to emit
signal
Owen Taylor [Wed, 22 Dec 2004 05:13:37 +0000 (05:13 +0000)]
Add a few more toolbar items.
Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
* data/evince-ui.xml: Add a few more toolbar items.
* shell/ev-window.c: Hook up page navigation toolbar
items.
* shell/ev-view.[ch]: add ev_view_set/get_page and
a page-changed signal.
* backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
Add ev_document_get_page().
* shell/ev-window.c: Sensitize/desensitize navigation
actions.
Havoc Pennington [Wed, 22 Dec 2004 05:09:21 +0000 (05:09 +0000)]
forgot a file
Havoc Pennington [Wed, 22 Dec 2004 04:37:26 +0000 (04:37 +0000)]
add marshaler-generator thingy. I'm sure there's a better way to do this
2004-12-21 Havoc Pennington <hp@redhat.com>
* backend/ev-backend-marshal.c,
backend/ev-backend-marshalers.list, backend/Makefile.am: add
marshaler-generator thingy. I'm sure there's a better way to do
this in the modern world.
* backend/ev-document.h (struct _EvDocumentIface): add begin_find,
end_find methods and "found" signal.
* configure.ac: find glib-genmarshal
Jonathan Blandford [Wed, 22 Dec 2004 04:21:54 +0000 (04:21 +0000)]
Construct an actual sidebar.
Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
* shell/ev-sidebar.c: Construct an actual sidebar.
* shell/ev-sidebar-bookmarks.[ch]:
* shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
Owen Taylor [Wed, 22 Dec 2004 04:14:06 +0000 (04:14 +0000)]
Redo size handling.
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.
Owen Taylor [Wed, 22 Dec 2004 03:23:47 +0000 (03:23 +0000)]
PDFDoc constructor assumes ownership of the string passed in.
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.
Owen Taylor [Wed, 22 Dec 2004 03:14:27 +0000 (03:14 +0000)]
Hook things up a bit, it works! (sort of)
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
Owen Taylor [Wed, 22 Dec 2004 02:19:48 +0000 (02:19 +0000)]
Start of content-area widget.
Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
* shell/ev-view.[ch]: Start of content-area widget.
* shell/ev-window.c: Create a EvView, update it
as we change documents.
* shell/Makefile.am shell/ev-marshal.list: Add
generated marshalers.
Jonathan Blandford [Wed, 22 Dec 2004 01:29:04 +0000 (01:29 +0000)]
move shell.
Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
* Makefile.am (SUBDIRS): move shell.
Owen Taylor [Wed, 22 Dec 2004 00:44:41 +0000 (00:44 +0000)]
Switch from .a to libtool convenience libraries.
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.
Owen Taylor [Wed, 22 Dec 2004 00:11:15 +0000 (00:11 +0000)]
Remove .cvsignore in empty dir
Søren Sandmann [Tue, 21 Dec 2004 23:57:26 +0000 (23:57 +0000)]
New directory with the beginning of a .dvi backend.
Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
* dvi/*: New directory with the beginning of a .dvi backend.
Havoc Pennington [Tue, 21 Dec 2004 23:54:34 +0000 (23:54 +0000)]
change buttons to previous/next instead of back/forward
2004-12-21 Havoc Pennington <hp@redhat.com>
* shell/eggfindbar.c (egg_find_bar_init): change buttons to
previous/next instead of back/forward
Owen Taylor [Tue, 21 Dec 2004 23:32:07 +0000 (23:32 +0000)]
Fix a couple of problems so it compile.
Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
* backend/ev-document.[ch]: Fix a couple of problems so
it compile.
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.
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
Jonathan Blandford [Tue, 21 Dec 2004 22:27:26 +0000 (22:27 +0000)]
forgot these
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.
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
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.
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
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...
Marco Pesenti Gritti [Tue, 21 Dec 2004 18:04:29 +0000 (18:04 +0000)]
add cvsignores
Marco Pesenti Gritti [Tue, 21 Dec 2004 17:58:23 +0000 (17:58 +0000)]
*** empty log message ***
Marco Pesenti Gritti [Tue, 21 Dec 2004 17:41:03 +0000 (17:41 +0000)]
Import sources
Marco Pesenti Gritti [Tue, 21 Dec 2004 17:41:03 +0000 (17:41 +0000)]
Initial revision
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
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.
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.
Martin Kretzschmar [Sat, 28 Aug 2004 18:29:07 +0000 (18:29 +0000)]
sssshhh
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Martin Kretzschmar [Thu, 3 Jun 2004 12:51:23 +0000 (12:51 +0000)]
cvs remove. Remainings of the Xpdf non-automake build system.
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.
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.
Martin Kretzschmar [Mon, 17 May 2004 18:12:38 +0000 (18:12 +0000)]
Import of Xpdf 3.00
Martin Kretzschmar [Mon, 17 May 2004 18:12:38 +0000 (18:12 +0000)]
Initial revision
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.
Martin Kretzschmar [Sun, 16 May 2004 20:13:21 +0000 (20:13 +0000)]
Import of Xpdf 2.03
Martin Kretzschmar [Sun, 16 May 2004 20:13:00 +0000 (20:13 +0000)]
Initial revision
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.
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.
Martin Kretzschmar [Sat, 8 May 2004 14:00:16 +0000 (14:00 +0000)]
(lookup): log to stderr because that's not buffered etc.
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.
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.
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.
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).
Martin Kretzschmar [Tue, 13 Jan 2004 08:56:08 +0000 (08:56 +0000)]
fixes for USE_ANNOTS_VIEW conditional.
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.
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.
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.
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
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.
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.
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.
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.
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).
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.
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.
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.
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.
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.
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.
Martin Kretzschmar [Wed, 6 Aug 2003 17:21:46 +0000 (17:21 +0000)]
(eog_hig_dialog_new): add terminating NULL in g_object_set.
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.
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.
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.
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.
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
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.
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.
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.
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.
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.