| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* xpdf/pdf-properties-display.c, xpdf/pdf-properties-display.h,
xpdf/gpdf-properties-dialog.glade:
new widget: table with labels displaying properties of PDFs
* xpdf/gpdf-control.cc (has_unicode_marker)
(utf16_big_endian_to_utf8, info_dict_get_string)
(info_dict_get_date, gpdf_control_process_string_property)
(gpdf_control_process_date_property)
(gpdf_control_process_properties)
(gpdf_control_properties_dialog_response_cb)
(verb_FileProperties_cb): new: a PDF properties command
* xpdf/Makefile.am: build pdf-properties-display.[ch], install
glade file
* xpdf/.cvsignore: ignore gpdf-properties-dialog.gladep
* xpdf/gpdf-persist-stream.h, xpdf/gpdf-persist-stream.cc
(gpdf_persist_stream_get_length): new function
* xpdf/gpdf-control-ui.xml: add FileProperties command and menu
item inside a "File Items Placeholder"
* shell/gpdf-window-ui.xml: add "File Items Placeholder"
* configure.in: check for libglade-2.0
* Makefile.am (EXTRA_DIST): don't dist gpdf.mime
* xpdf/PDFDoc.cc, xpdf/Function.cc, xpdf/FontFile.cc,
goo/parseargs.c: call atof only in the "C" locale
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
* xpdf/.cvsignore:
* xpdf/Makefile.am:
Remove remnants of old ui translation scheme
now that we have Kenneth's new one (see po).
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* .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.
|
| |
|
|
|