Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf
Commit message (Collapse)AuthorAgeFilesLines
...
* chain up to parent's activate handler, not to grand parent'sMartin Kretzschmar2002-09-211-0/+5
| | | | | | | 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
* don't initialize embeddable (where did that come from?)Martin Kretzschmar2002-09-211-0/+11
| | | | | | | | | | | | | 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)
* add pdf-view.cc, pdf-view.hMartin Kretzschmar2002-09-212-1/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* add missing gdk includeMartin Kretzschmar2002-09-191-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* move here from bonobo-application-x-pdf.ccMartin Kretzschmar2002-09-193-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | | 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"
* bed_t: Replace Data Value with Object [Fowler] i.e. turn it into theMartin Kretzschmar2002-09-192-0/+20
| | | | | | | | | | | | | | | | | | | | | 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
* move struct bed_t to gpdf-embeddable.{cc,h} (setup_pixmap) remove docMartin Kretzschmar2002-09-195-19/+38
| | | | | | | | | | | | | | | | | * 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:
* more cvsignores, comment thread libs in configure.inMartin Kretzschmar2002-09-191-0/+1
|
* use libpaper_LIBS, not libpaper_CFLAGS in bonobo-application-x-pdf_LDADDMartin Kretzschmar2002-09-191-1/+1
|
* Removed in Xpdf 1.01Martin Kretzschmar2002-09-187-35298/+0
|
* Synched with Xpdf 1.01Martin Kretzschmar2002-09-18123-108270/+25970
|
* Synched with Xpdf 0.92Martin Kretzschmar2002-09-1874-2428/+110763
| | | | | | 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
* Completely synched with Xpdf 0.90Martin Kretzschmar2002-09-1812-78/+174
| | | | doc changes (version numbers), typo fixes
* Added po.Chyla Zbigniew2001-08-202-6/+10
| | | | | | | | | | | | | * 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.
* Add ZoomFitHeight verb and toolbar item.Ravi Pratap2001-08-129-98/+996
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* don't add the client site to the item container.Michael Meeks2001-01-102-7/+5
| | | | | | | 2001-01-11 Michael Meeks <michael@helixcode.com> * gpdf.cc (container_launch_component): don't add the client site to the item container.
* Kill mutex / thread init code, it screws gtk.Michael Meeks2000-12-217-84/+27
| | | | | | | | | | | | | | 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.
* Make the signatures of callbacks match the declaraed types to avoidRamiro Estrugo2000-11-161-0/+6
| | | | | | * bonobo-application-x-pdf.cc: Make the signatures of callbacks match the declaraed types to avoid compiler warnings.
* Remove remnants of old ui translation scheme now that we have Kenneth'sDarin Adler2000-11-162-7/+0
| | | | | | | * xpdf/.cvsignore: * xpdf/Makefile.am: Remove remnants of old ui translation scheme now that we have Kenneth's new one (see po).
* updated .cvsignoreFatih Demir2000-11-072-0/+7
|
* Check for bonobo >= 0.27Michael Meeks2000-11-021-5/+5
| | | | | | | | 2000-11-02 Michael Meeks <michael@helixcode.com> * configure.in: Check for bonobo >= 0.27 * use the new bonobo API.
* update for Dietmer internal changes.Michael Meeks2000-10-192-1/+5
| | | | | | 2000-10-19 Michael Meeks <michael@helixcode.com> * gpdf.cc: update for Dietmer internal changes.
* Commit files I forgot; doh.Michael Meeks2000-10-181-0/+81
|
* add.Michael Meeks2000-10-173-66/+63
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* check for Bonobo >= 0.20Michael Meeks2000-10-072-18/+12
| | | | | | | | | | | | | | | | 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.
* check for bonobo 0.19Michael Meeks2000-10-042-18/+28
| | | | | | | | | | | | | | 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.
* fixed bug where zooming in was zooming out and vice-versaArik Devens2000-08-201-0/+6
|
* kill ghastly hack adding -lbonobo. (bonobo_application_x_pdf_LDADD): addMichael Meeks2000-08-033-3/+13
| | | | | | | | | | | | | | 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.
* kill double free.Michael Meeks2000-07-041-0/+6
| | | | | | | | 2000-07-04 Michael Meeks <michael@helixcode.com> * GOutputDev.cc (drawImage): kill double free. * BonoboStream.cc (bfread): update for new API.
* Fixed spelling of componet in IID.Darin Adler2000-06-014-4/+4
|
* Note that the data passed to the PersistStream is "application/pdf".Dan Winship2000-05-261-1/+1
| | | | | * xpdf/gpdf.cc (open_pdf): Note that the data passed to the PersistStream is "application/pdf".
* Updated for new PersistStream interface. I mostly just passed NULLs. NotDarin Adler2000-05-261-1/+3
| | | | | | | | * 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.
* Added a bunch of generated files.Darin Adler2000-05-242-4/+10
| | | | | | | | | | | * .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.
* Work with OAF and fix various bugs:Maciej Stachowiak2000-05-075-122/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Update for latest bonobo.Michael Meeks2000-03-103-3/+9
|
* new bonobo bits; still broken ( wierdly )Michael Meeks2000-02-282-11/+12
|
* Fixed up lists of sources so that distcheck works. Also, only build gpdfNotZed2000-02-253-3/+43
| | | | | | | | | | 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.
* remove some cruft, and check for latest bonobo.Michael Meeks2000-02-093-2/+5
|
* versioning the way xpdf does it.Michael Meeks2000-02-072-2/+2
|
* more fixups.Michael Meeks2000-02-071-0/+4
|
* Upgraded to Bonobo-0.7 -miguelMiguel de Icaza2000-02-072-132/+127
|
* Fixup for latest bonobo, kill some stupid mistakes.Michael Meeks1999-12-182-0/+9
|
* fixup some leaks.Michael Meeks1999-11-061-0/+10
|
* foreground color set.Michael Meeks1999-10-121-0/+4
|
* Kill ourselfs after all our embeddables die,Michael Meeks1999-10-082-2/+12
| | | | few bad bugs fixed.
* added changelog entries for last changesPeter Teichman1999-10-061-0/+9
|
* Some casting fixes, so gpdf will build with recent gccPeter Teichman1999-10-061-3/+3
|
* missing file: duh.Michael Meeks1999-10-061-0/+17
|
* Gesture support + various improvements.Michael Meeks1999-10-064-32/+53
|
* Lots of shortcut keys.Michael Meeks1999-09-112-5/+138
|