]> www.fi.muni.cz Git - evince.git/log
evince.git
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

22 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.

22 years ago:startDoc, setPrintContext): hand through to the font map
Martin Kretzschmar [Mon, 9 Dec 2002 10:06:10 +0000 (10:06 +0000)]
:startDoc, setPrintContext): hand through to the font map

* xpdf/GPOutputDev.cc (GPOutputDev::startDoc, setPrintContext):
hand through to the font map
(getStreamContents): adapted from glib
(getFontFaceEmbedded): new, uses experimental
gpdf_gnome_print_add_font
(getFontFace): use getFontFaceEmbedded for fonts with embedded
font files

* xpdf/GPOutputDev.h: update declarations,
(GPOFontMap::startDoc, setPrintContext): implemented inline

* xpdf/gpdf-view.cc (gpdf_view_set_pdf_doc): call startDoc

* xpdf/gpdf-gnome-font.h, xpdf/gpdf-gnome-font.c: new files;
hackish implementation of gnome_print_add_font

* xpdf/Makefile.am (gnome_pdf_viewer_SOURCES): add
gpdf-gnome-font.[hc]

22 years agoreport gpdf_view's changed zoom level to bonobo zoomable
Martin Kretzschmar [Sun, 10 Nov 2002 10:11:19 +0000 (10:11 +0000)]
report gpdf_view's changed zoom level to bonobo zoomable

* xpdf/gpdf-control.cc (gc_zoom_changed_cb): report gpdf_view's
changed zoom level to bonobo zoomable
(gc_setup_widgets): install zoom_changed handler

* xpdf/gpdf-view.cc (gpdf_view_class_init): install zoom_changed
signal
(gpdf_view_zoom): emit zoom_changed signal

* xpdf/gpdf-view.h (GPdfViewClass): add zoom_changed signal slot

22 years agoremove all references to old PdfView class (preferred_zoom_levels,
Martin Kretzschmar [Sat, 9 Nov 2002 22:18:58 +0000 (22:18 +0000)]
remove all references to old PdfView class (preferred_zoom_levels,

* xpdf/gpdf-control.cc: remove all references to old PdfView class
(preferred_zoom_levels, preferred_zoom_level_names): add more zoom
levels
(gc_zoom_level_from_index): kill
(gpdf_control_zoom_in, gpdf_control_zoom_out)
(gpdf_control_zoom_fit_width, gpdf_control_zoom_fit)
(gpdf_control_zoom_default, gc_zoomable_set_zoom_level_cb):
rewrite using GPdfView methods

* xpdf/gpdf-view.cc (gpdf_view_zoom_in, gpdf_view_zoom_fit)
(gpdf_view_zoom_fit_width): implement

* xpdf/gpdf-view.h: add zoom function prototypes

* xpdf/bonobo-application-x-pdf.cc (main):
* shell/gpdf.c (main): s/PACKAGE/GETTEXT_PACKAGE/ in *textdomain
functions

* xpdf/Makefile.am, goo/Makefile.am: fix distcheck

22 years agoxpdf page numbering is not zero-based!
Martin Kretzschmar [Sat, 9 Nov 2002 16:20:59 +0000 (16:20 +0000)]
xpdf page numbering is not zero-based!

* xpdf/gpdf-view.cc (gpdf_view_key_press_event): xpdf page
numbering is not zero-based!

* xpdf/GfxState.cc (GfxDeviceCMYKColorSpace::getRGB): special case
cmyk k-only colors

* xpdf/GPOutputDev.h: declare drawImage

* xpdf/GPOutputDev.cc (getFontFace): forgot to rename one
font_name to gfont_name; cleanup whitespace in the source
(drawImage): implement. (Does not render output on
GnomePrintPreview older than 2002-06-14)

* shell/gpdf.c (gw_control_load_pdf): s|file://|file:|

22 years agoadd field for GPdfView (gc_setup_widgets, gc_set_pdf_cb,
Martin Kretzschmar [Thu, 31 Oct 2002 19:34:00 +0000 (19:34 +0000)]
add field for GPdfView (gc_setup_widgets, gc_set_pdf_cb,

* xpdf/gpdf-control.cc (_GpdfControlPrivate): add field for
GPdfView
(gc_setup_widgets, gc_set_pdf_cb, verb_GoPageLast_cb)
(verb_GoPageFirst_cb, verb_GoPageNext_cb, verb_GoPagePrev_cb): use
GPdfView instead of PdfView

* xpdf/gpdf-view.cc, xpdf/gpdf-view.h: widget for for GPOutputDev
to draw on. Using GnomePrintPreview.

* xpdf/GPOutputDev.cc, xpdf/GPOutputDev.h: new Gnome Print Output
Device class, strokes and fills look (surprisingly) quite okay,
font and text handling is throw-away code

* xpdf/gpdf-util.h (BEGIN_C_DECLS, END_C_DECLS): remove macros,
use those from glib
(GPDF_BOILERPLATE, GPDF_CLASS_BOILERPLATE, GPDF_REGISTER_TYPE):
macros from bonobo-macros.h and gnome-macros.h compatible with
c++ type system rules

* xpdf/OutputDev.h: declare class Object

* xpdf/Gfx.h: include Object.h

* configure.in: check for libgnomeprint(ui)-2.0

22 years agoadd GNOME_PDF.server, GNOME_PDF.server.in BEFORE_GNOME_PRINT
Martin Kretzschmar [Sat, 12 Oct 2002 11:46:34 +0000 (11:46 +0000)]
add GNOME_PDF.server, GNOME_PDF.server.in

* xpdf/.cvsignore: add GNOME_PDF.server, GNOME_PDF.server.in

* xpdf/pdf-view.cc: don't #include bonobo_application_x_pdf.h,
update for new GObject, GSignal, Bonobo signatures
(setup_pixmap): don't use double buffering

* xpdf/gtkgesture.h: s/BEGIN_GNOME_DECLS/G_BEGIN_DECLS/

* xpdf/gpdf-persist-stream.h, xpdf/gpdf-control.h, pdf-view.h
(#includes): update, use gpdf-g-switch.h,
s/BEGIN_GNOME_DECLS/G_BEGIN_DECLS/

* xpdf/gpdf-persist-stream.cc (#includes): update
(load_pdf_from_stream): Bonobo_Unknown_ref our stream
(delete_pdf_doc_full): unref our stream
(all around) update for new GObject, GSignal, Bonobo signatures
(gpdf_persist_stream_new, gpdf_persist_stream_construct): take iid
parameter to be passed on to bonobo_persist_stream_construct

* xpdf/gpdf-embeddable-view.cc: don't include
bonobo-application-x-pdf.h

* xpdf/gpdf-control.cc: PARENT_TYPE is BONOBO_TYPE_CONTROL;
update for new GObject, GtkWidget, Bonobo signatures

* xpdf/gpdf-control-ui.xml: use gtk-stock-pixmaps

* xpdf/bonobo-application-x-pdf.cc (#includes): use
gpdf-g-switch.h, update
(gpdf_factory): don't create embeddable, gpdf_persist_stream_new
takes iid parameter
(init_gpdf_factory, init_corba, init_bonobo): kill
(main): no need to init gdk_rgb; use BONOBO_FACTORY_INIT,
bonobo_generic_factory_main

* xpdf/Makefile.am (INCLUDES, LDADD): update
(bin_PROGRAMS): move gnome-pdf-viewer to libexec_PROGRAMS
(gnome_pdf_viewer_SOURCES): nobody needs
bonobo-application-x-pdf.h, don't build embeddable stuff
(oafdir, oaf_DATA): kill
(server_in_files, serverdir): add, do libexec sed job on
.server.in.in file, add @INTLTOOL_SERVER_RULE@
(uidir): s/gnome/gnome-2.0/

* xpdf/GOutputDev.cc (#includes): use gpdf-g-switch.h
(GOutputDev::GOutputDev): get size and depth of pixmap with
gdk_drawable_get_foo background color to white
(all around): gdk_region_foo now destructively update their first
argument, use gdk_rgb to find colors
(drawImageMask): don't gdk_image_new_bitmap

* xpdf/gpdf-g-switch.h: new file, include it when switching
between goo and glib headers

* xpdf/GNOME_PDF.server.in.in: factory is in @LIBEXECDIR@
s|GNOME/GenericFactory|Bonobo/GenericFactory|, make it
translatable, kill embeddable stanza

* xpdf/GNOME_PDF.oafinfo: remove

* xpdf/BonoboStream.cc:
s/Bonobo_Stream_SEEK_SET/Bonobo_Stream_SeekSet/ et al. (see
libbonobo/ChangeLog#2002-03-31)

* shell/gpdf.c (#includes): use G2 headers
(main): copy from eog
(struct _Component): kill (was embeddable code)
(USE_CONTROL): kill #define, kill all code surrounded by #if
!USE_CONTROL (i.e. embeddable code)
(all around): add Corba_Environment argument where it's needed now
(gw_control_load_pdf): s/BonoboStream \*stream/Bonobo_Stream
stream/.  get the stream using monikers, unref it later
(gw_drag_data_received): use uri handling code from gnome-vfs
(verb_HelpAbout_cb): update for new gnome_about_new
(verb_DebugDumpXml_cb): kill
(gw_destroy): may be called more than once, so update assertions
(gw_finalize): is a GObject method now, chain up to parent
(class_init): update for GObject methods
(gw_setup_window): blend of bonobo_window_construct and old
gw_setup_geometry
(gw_setup_geometry): kill
(gw_setup_toplevel_ui): use BonoboUIContainer from BonoboWindow
(gpdf_window_construct): use gw_setup_window, not
bonobo_window_construct, not gw_setup_geometry

* shell/gpdf-window.h: s/BEGIN_GNOME_DECLS/G_BEGIN_DECLS/, kill
struct _Component decl (was used for embeddable)

* shell/gpdf-window-ui.xml: kill DebugDumpXml verb

* shell/Makefile.am: update INCLUDES, LD_ADD;
(gpdf_SOURCES): add missing gpdf-window.h
(uidir): s/gnome/gnome-2.0/

* configure.in: clean it a bit; set version to 0.100 (version was
at 0.90.1 for ever and I don't want to call it 1.01.1, this is not
1.something quality code); use GNOME2 macros;
(i18n): update according to G2 porting guide
(gnome-lib-checks): use PKG_CHECK

* autogen.sh: PKG_NAME="gpdf:", USE_GNOME2_MACROS

* .cvsignore: add intltool-... files

22 years agokill
Martin Kretzschmar [Mon, 7 Oct 2002 17:35:05 +0000 (17:35 +0000)]
kill

* xpdf/xpdfsrc.txt, xpdf/xpdfobj.txt: kill

* xpdf/gpdf-embeddable-view.cc (gev_set_pdf_cb)
(gpdf_embeddable_view_construct): see gc_set_pdf_cb entry below

* xpdf/gpdf-control.cc (GPdfControlPrivate: store persist_stream
(gpdf_control_destroy): write, install
(gc_setup_persist, gc_set_pdf_cb): pdf_view_set_pdf_doc on set_pdf
signal from persist_stream (used to be done in PdfView)
(gc_setup_widgets): pdf_view_new takes no parameter

* xpdf/pdf-view.h: s/extern "C" {// around headers
update declarations

* xpdf/pdf-view.cc (PdfViewPrivate): store only a PDFDoc, not a
GPdfPersistStream
(view_is_good): replace with IS_PDF_VIEW_WITH_DOC macro, use that
(last_page, next_page): get pdf_doc from priv
(setup_size): ditto, add parameter assertion
(render_page, pdf_view_get_page_width): get pdf_doc from priv
(pdf_view_set_zoom): only render_page if pdf_poc != NULL
(set_pdf_cb): inline into:
(pdf_view_set_pdf_doc): new method, eventually we can switch the
pdf to be displayed
(pv_destroy, pdf_view_construct, pdf_view_new): don't store a
GPdfPersistStream

* xpdf/gtkgesture.h: include gtk.h, protect with BEGIN_GNOME_DECLS

* xpdf/gpdf-persist-stream.h: move GPdfPersistStreamPrivate to
gpdf-persist-stream.cc
(gpdf_persist_stream_get_pdf_doc): declare

* xpdf/gpdf-persist-stream.cc (gpdf_persist_stream_get_pdf_doc):
new accessor method

* MAINTAINERS: mail your questions to me

22 years agodistribute gpdf-window-ui.xml GPDF_FOR_GNOME_1_4
Martin Kretzschmar [Fri, 4 Oct 2002 14:42:36 +0000 (14:42 +0000)]
distribute gpdf-window-ui.xml

* shell/Makefile.am (EXTRA_DIST): distribute gpdf-window-ui.xml

* shell/gpdf-window-ui.xml: new file, based on xpdf/gpdf-ui.xml

* shell/gpdf.c (GPDF_IS_NON_NULL_WINDOW): add macro
(GW_RETURN_UNLESS_GW, GW_RETURN_VAL_UNLESS_GW): kill macros, use
GPDF_IS_NON_NULL_WINDOW with g_return_bla instead, this looks
more G'ish to me

* xpdf/.cvsignore: ignore gnome-pdf-viewer binary

* xpdf/Makefile.am (XML_FILES): don't distribute gpdf-ui.xml
(EXTRA_DIST): no ChangeLog here

* xpdf/gpdf-ui.xml: remove

* xpdf/gpdf-control-ui.xml: new file, based on
bonobo-application-x-pdf-ui.xml, half-hearted attempts to be
HIG-compliant

* xpdf/gpdf-control.cc (GPDF_IS_NON_NULL_CONTROL): add, use it
(gc_key_press_event): keyhandling mostly copied from embeddable
(verb_GoPagePrev_cb, verb_GoPageNext_cb, verb_GoPageFirst_cb)
(verb_GoPageLast_cb, gc_verbs []): add page verbs
(gc_set_ui_container, gc_unset_ui_container)
(gpdf_control_activate): install UI merging
(gc_set_zoom_items_visibility): only a dummy
(gpdf_control_construct): decompose into:
(gc_setup_persist, gc_setup_widgets): construct helpers

* xpdf/gpdf-embeddable-view.cc: use pdf_view_page_bla

* xpdf/gpdf-embeddable.h (bed_t): kill already unused typedef

* xpdf/pdf-view.h (pdf_view_page_prev, pdf_view_page_next)
(pdf_view_page_first, pdf_view_page_last): export

* xpdf/pdf-view.cc (first_page, last_page, next_page, prev_page):
static again
(pdf_view_page_prev, pdf_view_page_next, pdf_view_page_first)
(pdf_view_page_last): methods to be called by the control (and the
embeddable view) to do what their names say
(IS_NON_NULL_PDF_VIEW): like IS_PDF_VIEW with obvious extra check

22 years agofactory file name is gnome-pdf-viewer,
Martin Kretzschmar [Wed, 2 Oct 2002 21:21:11 +0000 (21:21 +0000)]
factory file name is gnome-pdf-viewer,

* xpdf/Makefile.am: factory file name is gnome-pdf-viewer,
s/GNOME_XPDF.oafinfo/GNOME_PDF.oafinfo/

* xpdf/GNOME_PDF.oafinfo: s/XPDF/PDF/g, the factory file name
is now gnome-pdf-viewer, add oaf_server entry for the control

* xpdf/bonobo-application-x-pdf.cc (gpdf_factory): multi factory
function, replaces embeddable_factory, creates controls, too

* xpdf/gpdf-control.cc, xpdf/gpdf-control.h: new files, first code
for PDF viewer bonobo control.

* shell/gpdf.c: handle priv field in GPdfWindow, add code for using
a control instead of an embeddable (use it when USE_CONTROL != 0)

* shell/gpdf-window.h (GPdfWindow): add priv field, kill app field
(struct _Component) is private, moved back to gpdf.c

* configure.in: PACKAGE and VERSION are set by AM_INIT_AUTOMAKE,
kill explicit assignments

* xpdf/GNOME_XPDF.oafinfo: remove

22 years agoget PDFDoc from GPdfPersistStream, not directly from our embeddable
Martin Kretzschmar [Mon, 30 Sep 2002 20:48:26 +0000 (20:48 +0000)]
get PDFDoc from GPdfPersistStream, not directly from our embeddable

* xpdf/pdf-view.cc: get PDFDoc from GPdfPersistStream, not
directly from our embeddable (various places).

* xpdf/Makefile.am: fix gui variable, add gpdf-persist-stream
files

* xpdf/bonobo-application-x-pdf.cc: include GlobalParams.h,
(embeddable_factory): create a GPdfPersistStream first, then
create an embeddable.

* xpdf/gpdf-embeddable.cc (bed_free_data): move to
gpdf-persist-stream.cc as delete_pdf_doc_full
(load_pdf_from_stream): move to gpdf-persist-stream.cc
(finalize): free priv field
(class_init): kill pdf_changed signal, GPdfPersistStream has
set_pdf signal, use finalize
(gpdf_embeddable_add_interfaces): kill
(gpdf_embeddable_construct): take GPdfPersistStream param,
use bonobo_object_add_interface not gpdf_embeddable_add_intf
(gpdf_embeddable_new): take GPdfPersistStream param

* xpdf/gpdf-embeddable.h: remove extern "C" around bonobo
includes, they protect themselves. Introduce private struct,
still public. Use GPdfPersistStream

* xpdf/gpdf-persist-stream.cc, xpdf/gpdf-persist-stream.h:
files for new GPdfPersistStream class. Contains PDF loading code

* xpdf/BonoboStream.h: hide GList before including gnome headers

22 years agomerge in xpdf/ChangeLog and shell/ChangeLog using the excellent
Martin Kretzschmar [Tue, 24 Sep 2002 13:23:16 +0000 (13:23 +0000)]
merge in xpdf/ChangeLog and shell/ChangeLog using the excellent

2002-09-18  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>

* ChangeLog: merge in xpdf/ChangeLog and shell/ChangeLog using
the excellent MergeLog.awk and Emacs ediff tools.

* shell/ChangeLog: remove

* xpdf/ChangeLog: remove

22 years agodon't try to check for catalog after having discovered that !pdf->isOk and
Martin Kretzschmar [Tue, 24 Sep 2002 13:21:16 +0000 (13:21 +0000)]
don't try to check for catalog after having discovered that !pdf->isOk and

2002-09-17  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>

* gpdf-embeddable.cc (load_pdf_from_stream): don't try to check
for catalog after having discovered that !pdf->isOk and having
already deleted it. I introduced my first goto to this code.
Edsger Dijkstra in memoriam

22 years agodon't build gpdf here
Martin Kretzschmar [Tue, 24 Sep 2002 13:13:53 +0000 (13:13 +0000)]
don't build gpdf here

2002-09-15  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>

* Makefile.am: don't build gpdf here

* gpdf.cc: move to ../shell/gpdf.c

22 years agokill already commented out, previously unused destructor (gev_destroy):
Martin Kretzschmar [Sat, 21 Sep 2002 16:37:16 +0000 (16:37 +0000)]
kill already commented out, previously unused destructor (gev_destroy):

2002-09-14  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>

* gpdf-embeddable-view.cc (destroy_view): kill already commented
out, previously unused destructor
(gev_destroy): set mainbox member = NULL

* pdf-view.cc (pv_destroy): new destructor
(class_init): use it, init parent_class
(pdf_view_construct): reindent

22 years agokill bed member
Martin Kretzschmar [Sat, 21 Sep 2002 16:15:46 +0000 (16:15 +0000)]
kill bed member

2002-09-14  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>

* gpdf-embeddable-view.h (GPdfEmbeddableView): kill bed member

* gpdf-embeddable-view.cc: removed newlines from g_message calls
(class_init): use checked casts, we now have destroy, no need to
keep a ref to our embeddable here
(gev_destroy): new destructor

22 years agos/printf/g_message/ (view_create_menus, view_remove_menus): rename to
Martin Kretzschmar [Sat, 21 Sep 2002 16:12:28 +0000 (16:12 +0000)]
s/printf/g_message/ (view_create_menus, view_remove_menus): rename to

2002-09-14  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>

* xpdf/gpdf-embeddable-view.cc (gpdf_embeddable_view_new):
s/printf/g_message/
(view_create_menus, view_remove_menus): rename to
(gev_set_ui_container, gev_unset_ui_container): and rewrite in EOG
style

22 years agochain up to parent's activate handler, not to grand parent's
Martin Kretzschmar [Sat, 21 Sep 2002 16:11:12 +0000 (16:11 +0000)]
chain up to parent's activate handler, not to grand parent's

2002-09-13  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>

* gpdf-embeddable-view.cc (gev_activate): chain up to parent's
activate handler, not to grand parent's

22 years agodon't initialize embeddable (where did that come from?)
Martin Kretzschmar [Sat, 21 Sep 2002 16:09:33 +0000 (16:09 +0000)]
don't initialize embeddable (where did that come from?)

2002-09-13  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>

* bonobo-application-x-pdf.cc (embeddable_factory): don't
initialize embeddable (where did that come from?)

* gpdf-embeddable-view.cc (gpdf_embeddable_view_construct): don't
handle "activate" by connecting...
(class_init): ...install a default signal handler...
(gev_activate): cleaned up "activate" handler, renamed from
(view_activate)

22 years agoadd pdf-view.cc, pdf-view.h
Martin Kretzschmar [Sat, 21 Sep 2002 16:05:04 +0000 (16:05 +0000)]
add pdf-view.cc, pdf-view.h

2002-09-13  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>

* xpdf/Makefile.am: add pdf-view.cc, pdf-view.h

* xpdf/gpdf-embeddable-view.cc (view_is_good, first_page, last_page)
(next_page, prev_page, configure_size, setup_size, setup_pixmap)
(render_page, realize_mainbox, redraw_view_all, real_redraw_view)
(redraw_view): kill
(first_page, last_page, next_page, prev_page, redraw_view_all):
only declare here, use definitions from pdf-view.cc
(page_first_cb, page_next_cb, page_prev_cb, page_last_cb):
s/view_data_t/PdfView/ etc.
(view_switch_page): kill
(zoom_to_fit): leave only declaration
(view_zoom_verb, page_zoom_fit_width_cb, page_zoom_fit_height_cb)
(page_enlarge_cb, page_shrink_cb, view_zoom_query): s///
(verbs[]): make static
(view_create_menus, view_remove_menus, view_activate): s///
(button_press_event_cb, gesture_page_event_cb)
(gesture_zoom_event_cb): kill
(key_press_event_cb): s///, only handle scrolling here
(mainbox_realize): kill
(destroy_view): comment out for now
(init): empty
(gpdf_embeddable_view_construct): mainbox = pdf_view_new,
remove mainbox construction code

* xpdf/pdf-view.cc (view_is_good): s/view_data_t/PdfView/
(first_page, last_page, next_page, prev_page): non-static
(setup_pixmap): view_data is our mainbox now
(render_page): s/view_data_t/PdfView/ s/view_data/view/
(redraw_view_all): ditto
(realize_mainbox): /GPdfEmbeddableView/PdfView/ etc.
(real_redraw_view): ditto
(redraw_view): ditto, view is our mainbox now
(page_first_cb, page_next_cb, page_prev_cb, page_last_cb): kill
here (verb implementations)
(view_switch_page): s/// as above
(zoom_to_fit): non-static, commented out for now
(view_zoom_verb, view_zoom_query): s/// as above
(page_zoom_fit_width_cb, page_zoom_fit_height_cb)
(page_enlarge_cb, page_shrink_cb): kill here (verb impl)
(verbs[], view_create_menus, view_remove_menus, view_activate):
kill here (bonobo stuff)
(gesture_page_event_cb, gesture_zoom_event_cb): s///
(key_press_event_cb): don't handle scrolling here, s///
(destroy_view): kill here
(pdf_view_construct): kill everything except mainbox construction

* xpdf/gpdf-embeddable-view.h: view_data_t is no longer a typedef'd
GPdfEmbeddableView. Remove PdfView related members from
GPdfEmbeddableView
* xpdf/pdf-view.h: s/GPdfEmbeddableView/PdfView/ with some AI ;)
GPdfEmbeddableView still typedef'd view_data_t. Super class
is GtkEventBox
Split bonobo / non-bonobo parts of GPdfEmbeddableView:

* xpdf/pdf-view.h: new file (cvs copy of gpdf-embeddable.h)

* xpdf/pdf-view.c: ditto. These will contain non-bonobo parts

22 years agoadd missing gdk include
Martin Kretzschmar [Thu, 19 Sep 2002 13:38:04 +0000 (13:38 +0000)]
add missing gdk include

2002-09-08  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>

* xpdf/GOutputDev.h: add missing gdk include

* xpdf/GOutputDev.cc (GOutputDev::drawLink): don't #if 0, just don't
use it
(GOutputDev::drawImage, GOutputDev::drawImageMask): use Michael's
broken image handling code from gpdf 0.90.1 instead of my even
more broken code

* xpdf/gpdf-embeddable-view.cc (render_page): disable links here.
(realize_mainbox): view == view_data now. Don't have to
gtk_object_get_data anymore
(real_redraw_view): ditto
(redraw_view): ditto, make it static again
(gpdf_embeddable_view_construct): connect redraw_view to
pdf_changed signal, don't gtk_object_set_data "view_data"
(view_switch_page, view_zoom_verb, view_activate)
(button_press_event_cb, gesture_page_event_cb)
(gesture_zoom_event_cb, key_press_event_cb, mainbox_realize): make
them static again

* xpdf/gpdf-embeddable.cc (class_init): add "pdf_changed" signal
(load_pdf_from_stream): emit it, don't redraw_view explicitly

* xpdf/gpdf-embeddable.h: add signal to class struct

22 years agomove here from bonobo-application-x-pdf.cc
Martin Kretzschmar [Thu, 19 Sep 2002 13:31:20 +0000 (13:31 +0000)]
move here from bonobo-application-x-pdf.cc

2002-09-01  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>

* xpdf/gpdf-embeddable.cc (gpdf_embeddable_view_factory): move here
from bonobo-application-x-pdf.cc

* xpdf/GOutputDev.cc (GOutputDev::drawLink): comment out for
now. Segfaults. I don't understand this.

* xpdf/bonobo-application-x-pdf.cc: move view_data_t related code
( except view_factory) to gpdf-embeddable-view.cc, remove lots of
includes

* xpdf/gpdf-embeddable-view.h: new files with new GPdfEmbeddableView
class

* xpdf/gpdf-embeddable-view.cc:

* xpdf/gtkgesture.h: double include protection

* xpdf/XOutputDev.h: add missing include "Object.h"

* xpdf/GOutputDev.h: add missing include "Object.h"

22 years agobed_t: Replace Data Value with Object [Fowler] i.e. turn it into the
Martin Kretzschmar [Thu, 19 Sep 2002 13:24:28 +0000 (13:24 +0000)]
bed_t: Replace Data Value with Object [Fowler] i.e. turn it into the

2002-08-31  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>

* xpdf/gpdf-embeddable.cc:

* xpdf/gpdf-embeddable.h: bed_t: Replace Data Value with Object
[Fowler] i.e.  turn it into the GPdf::Embeddable class.

* xpdf/bonobo-application-x-pdf.cc: temporarily make some functions
non-static
(view_is_good): move up in file, use it in more places.
(setup_pixmap): remove window parameter, get it from view_data
(destroy_embed): move to GPdfEmbeddable::destroy
(embeddable_factory): drastically simplify, work is done in
GPdfEmbeddable::new and friends
remove count of running_objects.

* xpdf/gpdf-util.h: new file
(E_MAKE_TYPE): copied from gal

22 years agomove struct bed_t to gpdf-embeddable.{cc,h} (setup_pixmap) remove doc
Martin Kretzschmar [Thu, 19 Sep 2002 13:14:27 +0000 (13:14 +0000)]
move struct bed_t to gpdf-embeddable.{cc,h} (setup_pixmap) remove doc

* bonobo-application-x-pdf.cc: move struct bed_t to
gpdf-embeddable.{cc,h}
(setup_pixmap) remove doc parameter. (Get it from view_data param)

* gpdf-embeddable.cc: New files to contain the embeddable class

* gpdf-embeddable.h:

* gpdf.cc (main): remove call to setlocale (done in
gnome_init...), ignore return value of oaf_init, let bonobo_init
figure out which orb to use.

* Link.h: declare some methods as const.
* Link.cc:

22 years agomore cvsignores, comment thread libs in configure.in
Martin Kretzschmar [Thu, 19 Sep 2002 07:55:52 +0000 (07:55 +0000)]
more cvsignores, comment thread libs in configure.in

22 years agouse libpaper_LIBS, not libpaper_CFLAGS in bonobo-application-x-pdf_LDADD
Martin Kretzschmar [Thu, 19 Sep 2002 07:07:40 +0000 (07:07 +0000)]
use libpaper_LIBS, not libpaper_CFLAGS in bonobo-application-x-pdf_LDADD

22 years agoRemoved in Xpdf 1.01
Martin Kretzschmar [Wed, 18 Sep 2002 22:23:49 +0000 (22:23 +0000)]
Removed in Xpdf 1.01

22 years agoSynched with Xpdf 1.01
Martin Kretzschmar [Wed, 18 Sep 2002 22:20:42 +0000 (22:20 +0000)]
Synched with Xpdf 1.01

22 years agoSynched with Xpdf 0.92
Martin Kretzschmar [Wed, 18 Sep 2002 20:32:18 +0000 (20:32 +0000)]
Synched with Xpdf 0.92
this adds "decryption" support
testing this code after six weeks immediately gives me segfaults (image drawing) :-O
must have fixed that later without knowing :-O

22 years agoCompletely synched with Xpdf 0.90
Martin Kretzschmar [Wed, 18 Sep 2002 18:58:15 +0000 (18:58 +0000)]
Completely synched with Xpdf 0.90
doc changes (version numbers), typo fixes

23 years agoAdded po.
Chyla Zbigniew [Mon, 20 Aug 2001 14:36:28 +0000 (14:36 +0000)]
Added po.

* Makefile.am (SUBDIRS): Added po.

* configure.in (AC_OUTPUT): Added intl/Makefile po/Makefile.in.

* xpdf/Makefile.am (INCLUDES): Added -DGNOMELOCALEDIR.

* xpdf/bonobo-application-x-pdf.cc (main): Set textdomain and locale.

* xpdf/gpdf.cc (main): ditto.
Marked a few strings for translation.

23 years agoAdd ZoomFitHeight verb and toolbar item.
Ravi Pratap [Sun, 12 Aug 2001 14:11:25 +0000 (14:11 +0000)]
Add ZoomFitHeight verb and toolbar item.

2001-08-12  Ravi Pratap  <ravi@che.iitm.ac.in>

* xpdf/bonobo-application-x-pdf-ui.xml : Add ZoomFitHeight verb and toolbar
item.

* xpdf/bonobo-application-x-pdf.h (VERB_Z_FIT): Rename to VERB_Z_FIT_WIDTH
(VERB_Z_FIT_HEIGHT): Add

* xpdf/bonobo-application-x-pdf.cc (verbs): Update to use the new
verbs and names.
(view_zoom_verb): update accordingly
(zoom_to_fit): Modify to take an extra argument determining type of fit. Use
the scrolled_window to determine allocation height and width.

* xpdf/Makefile.am : Comment out unnecessary targets

2001-08-10  Ravi Pratap  <ravi@che.iitm.ac.in>

* xpdf/stock-zoom-in.xpm : Add

* xpdf/stock-zoom-out.xpm : Add

* xpdf/stock-zoom-fit.xpm : Add

* xpdf/stock-zoom-fit-wide.xpm : Add

* xpdf/stock-zoom-fit-tall.xpm : Add

* xpdf/Makefile.am : Update, add targets etc.

* xpdf/bonobo-application-x-pdf.cc (view_zoom_verb): Change zoom
factor to 1.2 which is more correct
(zoom_to_fit): Small tweak to enable better approximation

* xpdf/bonobo-application-x-pdf-ui.xml : Change ZoomFit to ZoomFitWidth.

* xpdf/bonobo-application-x-pdf.cc : Update to use the new name.

2001-08-09  Ravi Pratap  <ravi@che.iitm.ac.in>

* xpdf/bonobo-application-pdf-ui.xml: Add Zoom items to the
toolbar

2001-07-10  Ravi Pratap  <ravi@che.iitm.ac.in>

* xpdf/gpdf.cc (main): Make indentation consistent with the
rest of the source

2001-07-01  Ravi Pratap  <ravi@che.iitm.ac.in>

* xpdf/gpdf-ui.xml: Make the print menu item visible.

23 years agodon't add the client site to the item container.
Michael Meeks [Wed, 10 Jan 2001 23:58:20 +0000 (23:58 +0000)]
don't add the client site to the item container.

2001-01-11  Michael Meeks  <michael@helixcode.com>

* gpdf.cc (container_launch_component): don't add the client
site to the item container.

24 years agoKill mutex / thread init code, it screws gtk.
Michael Meeks [Thu, 21 Dec 2000 01:13:13 +0000 (01:13 +0000)]
Kill mutex / thread init code, it screws gtk.

2000-12-21  Michael Meeks  <michael@helixcode.com>

* bonobo-application-x-pdf.cc: Kill mutex / thread init code,
it screws gtk.

* gpdf.cc: update the IID naming scheme.

* bonobo-application-x-pdf.cc (init_bonobo_application_x_pdf_factory):
ditto. (init_server_factory): setup ORB properly.

* Makefile.am: De-goadize; update oafinfo fnames.

24 years agoMake the signatures of callbacks match the declaraed types to avoid
Ramiro Estrugo [Thu, 16 Nov 2000 19:41:26 +0000 (19:41 +0000)]
Make the signatures of callbacks match the declaraed types to avoid

* bonobo-application-x-pdf.cc:
Make the signatures of callbacks match the declaraed types to
avoid compiler warnings.

24 years agoRemove remnants of old ui translation scheme now that we have Kenneth's
Darin Adler [Thu, 16 Nov 2000 19:13:04 +0000 (19:13 +0000)]
Remove remnants of old ui translation scheme now that we have Kenneth's

* xpdf/.cvsignore:
* xpdf/Makefile.am:
Remove remnants of old ui translation scheme
now that we have Kenneth's new one (see po).

24 years agoupdated .cvsignore
Fatih Demir [Tue, 7 Nov 2000 18:25:01 +0000 (18:25 +0000)]
updated .cvsignore

24 years agoCheck for bonobo >= 0.27
Michael Meeks [Thu, 2 Nov 2000 08:45:58 +0000 (08:45 +0000)]
Check for bonobo >= 0.27

2000-11-02  Michael Meeks  <michael@helixcode.com>

* configure.in: Check for bonobo >= 0.27

* use the new bonobo API.

24 years agoupdate for Dietmer internal changes. BONOBO_BEFORE_API_RENAME
Michael Meeks [Thu, 19 Oct 2000 20:45:31 +0000 (20:45 +0000)]
update for Dietmer internal changes.

2000-10-19  Michael Meeks  <michael@helixcode.com>

* gpdf.cc: update for Dietmer internal changes.

24 years agoCommit files I forgot; doh.
Michael Meeks [Wed, 18 Oct 2000 13:27:14 +0000 (13:27 +0000)]
Commit files I forgot; doh.

24 years agoadd.
Michael Meeks [Tue, 17 Oct 2000 20:30:53 +0000 (20:30 +0000)]
add.

2000-10-17  Michael Meeks  <michael@helixcode.com>

* gpdf.xml: add.

* Makefile.am: sort out xml files.

* gpdf.cc: Re-engineer to the new UI handler.

* bonobo-application-x-pdf.cc: update to new UI handler

* bonobo-appliation-x-pdf-ui.xml: create.

* gpdf-ui.xml: create.

2000-10-17  Michael Meeks  <michael@helixcode.com>

* Makefile.am (WIN32_EXTRA): remove cruft so we distcheck.

2000-10-17  Michael Meeks  <michael@helixcode.com>

* POTFILES.in: add generated files.

24 years agocheck for Bonobo >= 0.20
Michael Meeks [Sat, 7 Oct 2000 22:29:28 +0000 (22:29 +0000)]
check for Bonobo >= 0.20

2000-10-07  Michael Meeks  <michael@helixcode.com>

* configure.in: check for Bonobo >= 0.20

2000-10-07  Michael Meeks  <michael@helixcode.com>

* gpdf.cc (main): cut out stale gnorba fat.

* bonobo-application-x-pdf.cc (init_server_factory),
(init_bonobo_application_x_pdf_factory): ditto.

* bonobo-application-x-pdf.cc (embeddable_factory): remove the
sizeable interface.

24 years agocheck for bonobo 0.19
Michael Meeks [Wed, 4 Oct 2000 14:09:33 +0000 (14:09 +0000)]
check for bonobo 0.19

2000-10-04  Michael Meeks  <michael@helixcode.com>

* configure.in (xpdf_cv_func_select_arg): check for bonobo 0.19

2000-10-04  Michael Meeks  <michael@helixcode.com>

* bonobo-application-x-pdf.cc (view_create_menus): upd.

* gpdf.cc (container_launch_component): update for ItemContainer
rename. (container_new): update to bonobo-win stuff.
(container_set_view): use compat_get_container.

24 years agofixed bug where zooming in was zooming out and vice-versa BEFORE_NEW_UI_HANDLER_1
Arik Devens [Sun, 20 Aug 2000 08:22:36 +0000 (08:22 +0000)]
fixed bug where zooming in was zooming out and vice-versa

24 years agokill ghastly hack adding -lbonobo. (bonobo_application_x_pdf_LDADD): add EAZEL-NAUTILUS-MS-AUG07
Michael Meeks [Thu, 3 Aug 2000 00:53:54 +0000 (00:53 +0000)]
kill ghastly hack adding -lbonobo. (bonobo_application_x_pdf_LDADD): add

2000-08-02  Michael Meeks  <michael@helixcode.com>

* Makefile.am (gpdf_LDADD): kill ghastly hack adding -lbonobo.
(bonobo_application_x_pdf_LDADD): add EXTRA_GNOME_LIBS

2000-07-25  Michael Meeks  <michael@helixcode.com>

* bonobo-application-x-pdf.cc (embeddable_factory): s/gtk/bonobo/
on unref. Junk 2 stop tabs throught, Derek can have my kittens.
(view_create_menus): create the pdf toolbar before using it.
(button_press_event_cb): return a value.

24 years agokill double free. EAZEL-NAUTILUS-MS-JULY_5
Michael Meeks [Tue, 4 Jul 2000 19:17:44 +0000 (19:17 +0000)]
kill double free.

2000-07-04  Michael Meeks  <michael@helixcode.com>

* GOutputDev.cc (drawImage): kill double free.

* BonoboStream.cc (bfread): update for new API.

24 years agoFixed spelling of componet in IID. nautilus_ms_may_31
Darin Adler [Thu, 1 Jun 2000 16:54:02 +0000 (16:54 +0000)]
Fixed spelling of componet in IID.

24 years agoNote that the data passed to the PersistStream is "application/pdf".
Dan Winship [Fri, 26 May 2000 18:33:19 +0000 (18:33 +0000)]
Note that the data passed to the PersistStream is "application/pdf".

* xpdf/gpdf.cc (open_pdf): Note that the data passed to the
PersistStream is "application/pdf".

24 years agoUpdated for new PersistStream interface. I mostly just passed NULLs. Not
Darin Adler [Fri, 26 May 2000 17:08:39 +0000 (17:08 +0000)]
Updated for new PersistStream interface. I mostly just passed NULLs. Not

* xpdf/bonobo-application-x-pdf.cc (load_pdf_from_stream),
(embeddable_factory):
* xpdf/gpdf.cc: (open_pdf):
Updated for new PersistStream interface. I mostly just passed
NULLs. Not 100% sure that's correct.

24 years agoAdded a bunch of generated files.
Darin Adler [Wed, 24 May 2000 18:28:08 +0000 (18:28 +0000)]
Added a bunch of generated files.

* .cvsignore:
* goo/.cvsignore:
* ltk/.cvsignore:
* xpdf/.cvsignore:
Added a bunch of generated files.

* xpdf/GOutputDev.cc: (GOutputDev::updateLineAttrs):
Fixed a type to avoid a warning.

24 years ago Work with OAF and fix various bugs:
Maciej Stachowiak [Sun, 7 May 2000 19:05:40 +0000 (19:05 +0000)]
Work with OAF and fix various bugs:

* configure.in, aclocal.m4: Detect when Bonobo is built with OAF
support, and if so use OAF.
* xpdf/Makefile.am: When using OAF, link against OAF and install
oafinfo file.
* xpdf/gpdf.cc: Include oaf headers when using OAF.
(openpdf): Use OAFIID to activate the component when using OAF.
(container_set_view), (container_launch_component),
(container_new): Put the view in an EventBox, not a
ScrolledWindow; the component now handles scrolling itself.
(key_press_event_cb): Removed; key press handling moved to
component.
(main): Initialize OAF instead of GOAD when using OAF.
* xpdf/bonobo-application-x-pdf.cc: Include OAF headers when using
OAF.
(redraw_view): Handle the case where we are loading before the
view is realized by connecting to the "realize" signal handler
and deferring redrawing until then in that case.
(real_redraw_view): Function to do the real redrawing.
(load_pdf_from_stream): Don't call `realize_mainbox' directly, let
`real_redraw_view' do it.
(key_press_event_cb): In response to various key bindings, scroll
the view, navigate pages, or zoom in/out.
(button_press_event_cb): Grab the keyboard focus on a press of
button 1.
(view_create_menus): Rename menus to be more standard, and provide
accelerators for menus and items.
(realize_mainbox): Get window ourselves if we have to.
(view_factory): Put the view in a scrolled window so scrolling can
be handled by the component itself. Connect to "key_press" and
"button_press" for keyboard and focus handling. Set the
GTK_CAN_FOCUS flag for the main view widget.
(init_bonobo_application_x_pdf_factory, init_server_factory): Use
OAF when appropriate.

* xpdf/application-x-pdf.oafinfo: New file, OAF activation record.

24 years agoUpdate for latest bonobo.
Michael Meeks [Fri, 10 Mar 2000 17:23:00 +0000 (17:23 +0000)]
Update for latest bonobo.

24 years agonew bonobo bits; still broken ( wierdly )
Michael Meeks [Mon, 28 Feb 2000 21:05:11 +0000 (21:05 +0000)]
new bonobo bits; still broken ( wierdly )

24 years agoFixed up lists of sources so that distcheck works. Also, only build gpdf
NotZed [Fri, 25 Feb 2000 19:56:55 +0000 (19:56 +0000)]
Fixed up lists of sources so that distcheck works. Also, only build gpdf

2000-02-25  NotZed  <NotZed@HelixCode.com>

        * Makefile.am: Fixed up lists of sources so that distcheck works.
        Also, only build gpdf if with gnome (otherwise distcheck fails).

        * gpdf.cc (container_about_cmd): Define i if we are going
        to be using it.

24 years agoremove some cruft, and check for latest bonobo.
Michael Meeks [Wed, 9 Feb 2000 18:58:37 +0000 (18:58 +0000)]
remove some cruft, and check for latest bonobo.

24 years agoversioning the way xpdf does it.
Michael Meeks [Mon, 7 Feb 2000 17:55:42 +0000 (17:55 +0000)]
versioning the way xpdf does it.

24 years agomore fixups.
Michael Meeks [Mon, 7 Feb 2000 17:46:24 +0000 (17:46 +0000)]
more fixups.

24 years agoUpgraded to Bonobo-0.7 -miguel
Miguel de Icaza [Mon, 7 Feb 2000 17:29:46 +0000 (17:29 +0000)]
Upgraded to Bonobo-0.7 -miguel

25 years agoFixup for latest bonobo, kill some stupid mistakes.
Michael Meeks [Sat, 18 Dec 1999 04:16:49 +0000 (04:16 +0000)]
Fixup for latest bonobo, kill some stupid mistakes.

25 years agofixup some leaks.
Michael Meeks [Sat, 6 Nov 1999 17:11:53 +0000 (17:11 +0000)]
fixup some leaks.

25 years agoforeground color set.
Michael Meeks [Tue, 12 Oct 1999 11:10:51 +0000 (11:10 +0000)]
foreground color set.

25 years agoKill ourselfs after all our embeddables die,
Michael Meeks [Fri, 8 Oct 1999 21:24:50 +0000 (21:24 +0000)]
Kill ourselfs after all our embeddables die,
few bad bugs fixed.

25 years agoadded changelog entries for last changes
Peter Teichman [Wed, 6 Oct 1999 18:22:19 +0000 (18:22 +0000)]
added changelog entries for last changes

25 years agoSome casting fixes, so gpdf will build with recent gcc
Peter Teichman [Wed, 6 Oct 1999 18:14:26 +0000 (18:14 +0000)]
Some casting fixes, so gpdf will build with recent gcc

25 years agomissing file: duh.
Michael Meeks [Wed, 6 Oct 1999 17:59:38 +0000 (17:59 +0000)]
missing file: duh.

25 years agoGesture support + various improvements.
Michael Meeks [Wed, 6 Oct 1999 17:34:37 +0000 (17:34 +0000)]
Gesture support + various improvements.

25 years agoLots of shortcut keys.
Michael Meeks [Sat, 11 Sep 1999 13:54:17 +0000 (13:54 +0000)]
Lots of shortcut keys.

25 years agoImplement toolbar merging correctly.
Michael Meeks [Sat, 4 Sep 1999 21:50:05 +0000 (21:50 +0000)]
Implement toolbar merging correctly.

25 years agoClean some redundant code.
Michael Meeks [Fri, 3 Sep 1999 08:19:05 +0000 (08:19 +0000)]
Clean some redundant code.

25 years agoFixed centering and a huge leak. ChangeLog
Michael Meeks [Wed, 1 Sep 1999 17:38:17 +0000 (17:38 +0000)]
Fixed centering and a huge leak.

25 years agoNew verb zoom support + zoom to fit.
Michael Meeks [Tue, 31 Aug 1999 22:11:49 +0000 (22:11 +0000)]
New verb zoom support + zoom to fit.

25 years agoAttempts at cleaning up component destruction - failed :-(
Michael Meeks [Fri, 27 Aug 1999 12:38:31 +0000 (12:38 +0000)]
Attempts at cleaning up component destruction - failed :-(

25 years agoRe-organise to get mime type right,
Michael Meeks [Tue, 24 Aug 1999 22:17:38 +0000 (22:17 +0000)]
Re-organise to get mime type right,
Add Help/About dialog.

25 years agoAdded lock round XPDF global variable 'xref',
Michael Meeks [Tue, 24 Aug 1999 18:18:54 +0000 (18:18 +0000)]
Added lock round XPDF global variable 'xref',
Fixed up some broken global CORBA things.
Added thread support to autogen glib stuff.

25 years agoFix ( workaround ) for xpdf's global xref feature :-)
Michael Meeks [Tue, 24 Aug 1999 17:19:42 +0000 (17:19 +0000)]
Fix ( workaround ) for xpdf's global xref feature :-)

25 years agoFix a multitude of silly mistakes.
Michael Meeks [Tue, 24 Aug 1999 16:38:12 +0000 (16:38 +0000)]
Fix a multitude of silly mistakes.

25 years agodrag and drop, removed redundant verb popup code.
Michael Meeks [Mon, 23 Aug 1999 22:41:51 +0000 (22:41 +0000)]
drag and drop, removed redundant verb popup code.

drag and drop,
removed redundant verb popup code.

25 years agoAuto activate, Scrolled panel, functioning zoom.
Michael Meeks [Mon, 23 Aug 1999 22:10:46 +0000 (22:10 +0000)]
Auto activate, Scrolled panel, functioning zoom.

Auto activate,
Scrolled panel,
functioning zoom.

25 years agoWorks with cleaner Bonobo toolbar API.
Michael Meeks [Mon, 23 Aug 1999 18:41:10 +0000 (18:41 +0000)]
Works with cleaner Bonobo toolbar API.

25 years agoFixup pdfto* programs,
Michael Meeks [Mon, 23 Aug 1999 17:24:27 +0000 (17:24 +0000)]
Fixup pdfto* programs,
Preliminary toolbar stuff.

25 years agoNew version using Derek's merged Stream stuff,
Michael Meeks [Mon, 23 Aug 1999 13:13:52 +0000 (13:13 +0000)]
New version using Derek's merged Stream stuff,
disabled helper utils build until I sync with Derek.

25 years agoReplace exit() with gtk_main_quit()
Miguel de Icaza [Mon, 23 Aug 1999 06:19:24 +0000 (06:19 +0000)]
Replace exit() with gtk_main_quit()

1999-08-23  Miguel de Icaza  <miguel@gnu.org>

* bonobo-image-x-pdf.cc: Replace exit() with gtk_main_quit()

25 years agozoom fix.
Michael Meeks [Sun, 22 Aug 1999 23:01:44 +0000 (23:01 +0000)]
zoom fix.

25 years agoFixes to work with latest bonobo.
Michael Meeks [Sun, 22 Aug 1999 22:54:36 +0000 (22:54 +0000)]
Fixes to work with latest bonobo.

25 years agoAdd error checking for factory registration.
Miguel de Icaza [Sun, 22 Aug 1999 21:51:55 +0000 (21:51 +0000)]
Add error checking for factory registration.

1999-08-22  Miguel de Icaza  <miguel@gnu.org>

* bonobo-image-x-pdf.cc (main): Add error checking for factory
registration.

25 years agountested changes for Mig.
Michael Meeks [Sun, 22 Aug 1999 21:20:25 +0000 (21:20 +0000)]
untested changes for Mig.

25 years agoCORBA_exception_init -miguel
Arturo Espinosa [Sun, 22 Aug 1999 20:27:48 +0000 (20:27 +0000)]
CORBA_exception_init -miguel

25 years agoCleaned loads of rubbish from component bits,
Michael Meeks [Sun, 22 Aug 1999 19:14:32 +0000 (19:14 +0000)]
Cleaned loads of rubbish from component bits,
Add files I forget (sorry).

25 years agomore sensible menu merging.
Michael Meeks [Sat, 21 Aug 1999 19:09:32 +0000 (19:09 +0000)]
more sensible menu merging.

25 years agostylisticly nicer bonobo container 'gpdf' pinched from Nat,
Michael Meeks [Sat, 21 Aug 1999 17:15:26 +0000 (17:15 +0000)]
stylisticly nicer bonobo container 'gpdf' pinched from Nat,
Verb support for next / prev. page.

25 years agoFixed vicious bug in stream stuff, should work now.
Michael Meeks [Fri, 20 Aug 1999 21:43:22 +0000 (21:43 +0000)]
Fixed vicious bug in stream stuff, should work now.

25 years agoTotaly re-hash stream architecture ... again :-)
Michael Meeks [Thu, 19 Aug 1999 17:57:59 +0000 (17:57 +0000)]
Totaly re-hash stream architecture ... again :-)
Now we can compile but not run auxiliary utils.

25 years agoembryonic PDF viewer as a Bonobo container...
Michael Meeks [Wed, 18 Aug 1999 18:11:18 +0000 (18:11 +0000)]
embryonic PDF viewer as a Bonobo container...

25 years agouse new bonobo seek type.
Michael Meeks [Mon, 16 Aug 1999 21:46:30 +0000 (21:46 +0000)]
use new bonobo seek type.

25 years agoRemove intermediate Makefile.in's
Michael Meeks [Mon, 16 Aug 1999 12:06:00 +0000 (12:06 +0000)]
Remove intermediate Makefile.in's
Initialise all the view's data fields ( kill fatal crash )
Fix xpdf/Makefile.am to only build the bonobo component.

25 years agofiles I forgot ... doh.
Michael Meeks [Sun, 15 Aug 1999 21:09:14 +0000 (21:09 +0000)]
files I forgot ... doh.