| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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:
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
2001-01-11 Michael Meeks <michael@helixcode.com>
* gpdf.cc (container_launch_component): don't add the client
site to the item container.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
* bonobo-application-x-pdf.cc:
Make the signatures of callbacks match the declaraed types to
avoid compiler warnings.
|
| |
|
|
|
|
|
|
| |
2000-10-19 Michael Meeks <michael@helixcode.com>
* gpdf.cc: update for Dietmer internal changes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
2000-07-04 Michael Meeks <michael@helixcode.com>
* GOutputDev.cc (drawImage): kill double free.
* BonoboStream.cc (bfread): update for new API.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
few bad bugs fixed.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Add Help/About dialog.
|
|
|
|
|
| |
Fixed up some broken global CORBA things.
Added thread support to autogen glib stuff.
|
| |
|
| |
|
|
|
|
| |
Preliminary toolbar stuff.
|
|
|
|
|
|
| |
1999-08-23 Miguel de Icaza <miguel@gnu.org>
* bonobo-image-x-pdf.cc: Replace exit() with gtk_main_quit()
|
|
|
|
|
|
|
| |
1999-08-22 Miguel de Icaza <miguel@gnu.org>
* bonobo-image-x-pdf.cc (main): Add error checking for factory
registration.
|
| |
|
|
|
|
| |
Now we can compile but not run auxiliary utils.
|
| |
|
|
|
|
|
| |
Initialise all the view's data fields ( kill fatal crash )
Fix xpdf/Makefile.am to only build the bonobo component.
|