1 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
3 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
4 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
6 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
7 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
8 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
9 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
10 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
11 (gtk_gs_set_antialiasing), (ps_document_load),
15 Another check point for the ps backend. Now I can get it to show
18 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
20 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
21 document setting code.
23 2004-12-22 Anders Carlsson <andersca@gnome.org>
25 * shell/eggfindbar.c: (entry_activate_callback):
26 Animate the next button when activate is pressed.
28 2004-12-22 Anders Carlsson <andersca@gnome.org>
30 * shell/ev-window.c: (ev_window_cmd_edit_find),
31 (update_fullscreen_popup), (ev_window_fullscreen),
32 (ev_window_unfullscreen), (ev_window_state_event_cb),
33 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
34 Fix bugs in fullscreen code.
36 2004-12-22 Anders Carlsson <andersca@gnome.org>
41 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
42 (pixbuf_document_load), (pixbuf_document_get_n_pages),
43 (pixbuf_document_set_page), (pixbuf_document_get_page),
44 (pixbuf_document_set_target), (pixbuf_document_set_scale),
45 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
46 (pixbuf_document_render), (pixbuf_document_begin_find),
47 (pixbuf_document_end_find), (pixbuf_document_finalize),
48 (pixbuf_document_class_init),
49 (pixbuf_document_document_iface_init), (pixbuf_document_init):
50 * pixbuf/pixbuf-document.h:
52 * shell/ev-application.c: (ev_application_open):
53 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
57 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
60 * dvi/dvilib/Makefile.am:
62 * configure.ac: Auto*ify dvi and dvi/dvilib
64 * dvi/Makefile: Remove from CVS
66 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
69 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
71 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
73 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
76 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
77 (gtk_gs_value_adjustment_changed), (compute_size),
78 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
79 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
80 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
81 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
82 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
83 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
84 (ps_document_load), (ps_document_get_n_pages),
85 (ps_document_set_page), (ps_document_get_page),
86 (ps_document_set_target), (ps_document_set_scale),
87 (ps_document_set_page_offset), (ps_document_get_page_size),
88 (ps_document_render), (ps_document_begin_find),
89 (ps_document_end_find), (ps_document_document_iface_init):
92 * shell/ev-window.c: (ev_window_open):
94 Some work to integrate gtkgs with EvDocument
96 2004-12-22 Anders Carlsson <andersca@gnome.org>
98 * shell/ev-window.c: (update_fullscreen_popup),
99 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
100 (exit_fullscreen_button_clicked_cb),
101 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
102 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
103 (ev_window_state_event_cb), (ev_window_init):
104 Add fullscreen support from Epiphany.
106 2004-12-22 Mark McLoughlin <mark@skynet.ie>
108 * data/ev-stock-zoom-fit-width.png: fit-width
109 stock icon from gpdf.
111 * shell/ev-stock-icons.[ch]: copied from gpdf.
113 * shell/main.c: (main): init stock icons.
115 * shell/ev-window.c: use the fit-width icon.
117 * data/evince-ui.xml: add zooming toolbar items.
119 2004-12-22 Mark McLoughlin <mark@skynet.ie>
122 (ev_view_best_fit), (ev_view_fit_width): because
123 get_page_size() returns the scaled page size, we
124 need to calculate the scale factor relative to
125 the previous scale factor. Should really just
126 add get_real_page_size().
128 2004-12-22 Mark McLoughlin <mark@skynet.ie>
130 * shell/ev-view.[ch]:
131 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
132 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
135 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
136 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
137 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
140 * pdf/xpdf/pdf-document.cc:
141 (pdf_document_begin_find),
142 (pdf_document_end_find): make static.
144 2004-12-22 Martin Kretzschmar <martink@gnome.org>
146 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
148 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
149 names to fontconfig patterns.
150 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
152 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
155 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
171 Import ggv backend. Not hooked up yet.
173 2004-12-22 Mark McLoughlin <mark@skynet.ie>
175 * shell/main.c: (load_files), (main): load files
176 from the command line.
178 2004-12-22 Mark McLoughlin <mark@skynet.ie>
180 * configure.ac: don't require bonobo.
182 * cut-n-paste/recent-files/*: kill bonobo recent
186 (ev_window_is_empty): upd.
187 (unable_to_load), (ev_window_open): load backend
188 based on the mime type.
190 2004-12-22 Martin Kretzschmar <martink@gnome.org>
192 * backend/.cvsignore: ignore generated marshalers source.
194 * shell/main.c (main): this is not epiphany.
196 2004-12-22 Havoc Pennington <hp@redhat.com>
198 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
199 (expose_bin_window): draw find highlights
201 * shell/ev-window.c (find_bar_search_changed_cb): implement
203 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
204 (pdf_document_end_find): implement this interface
206 * backend/ev-document.c (ev_document_found): add this to emit
209 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
211 * data/evince-ui.xml: Add a few more toolbar items.
213 * shell/ev-window.c: Hook up page navigation toolbar
216 * shell/ev-view.[ch]: add ev_view_set/get_page and
217 a page-changed signal.
219 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
220 Add ev_document_get_page().
222 * shell/ev-window.c: Sensitize/desensitize navigation
225 2004-12-21 Havoc Pennington <hp@redhat.com>
227 * backend/ev-backend-marshal.c,
228 backend/ev-backend-marshalers.list, backend/Makefile.am: add
229 marshaler-generator thingy. I'm sure there's a better way to do
230 this in the modern world.
232 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
233 end_find methods and "found" signal.
235 * configure.ac: find glib-genmarshal
237 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
239 * shell/ev-sidebar.c: Construct an actual sidebar.
240 * shell/ev-sidebar-bookmarks.[ch]:
241 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
243 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
245 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
248 * shell/ev-view.c: Track the size from the document.
250 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
252 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
253 constructor assumes ownership of the string passed in.
255 * shell/ev-window.c (ev_window_open): Destroy the error
256 dialog once we've displayed it.
258 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
260 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
261 a bit, it works! (sort of)
263 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
264 Move to .cc since we need to use C++ in the implementation.
266 * shell/dummy.cc: Add a CC file to force evince
267 to be linked as a C++ program.
269 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
271 * shell/ev-view.[ch]: Start of content-area widget.
273 * shell/ev-window.c: Create a EvView, update it
274 as we change documents.
276 * shell/Makefile.am shell/ev-marshal.list: Add
277 generated marshalers.
279 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
281 * Makefile.am (SUBDIRS): move shell.
283 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
285 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
286 .a to libtool convenience libraries.
288 * shell/ev-window.c (ev_window_open): Hard code loading
291 * backend/ev-document.h: Add a boolean return to load(),
292 fix GError * to GError **.
294 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
295 object for a PDF backend EvDocument.
297 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
299 * dvi/*: New directory with the beginning of a .dvi backend.
301 2004-12-21 Havoc Pennington <hp@redhat.com>
303 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
304 previous/next instead of back/forward
306 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
308 * backend/ev-document.[ch]: Fix a couple of problems so
311 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
313 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
314 to backend/ directory, rename EvViewer to EvDocument.
316 2004-12-21 Havoc Pennington <hp@redhat.com>
318 * shell/ev-window.c: hook up the find bar widget; now we just need
319 a document to find things in
321 * shell/eggfindbar.c: a find bar widget
323 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
325 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
327 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
329 * pdf/**: Import of xpdf code from gpdf.
331 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
333 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
334 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
335 Fix FreeType includes.
337 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
338 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
339 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
340 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
341 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
344 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
346 * shell/ev-window.c (ev_window_dispose): dispose can be called
349 2004-12-21 Havoc Pennington <hp@redhat.com>
351 * shell/ev-window.c (ev_window_init): set title to Document Viewer
354 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
355 items; really they should be synced with the strings, etc. from
356 current gpdf, but just getting the boring typing out of the way
358 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
361 * shell/ev-application.c: (window_destroy_cb):
363 * shell/main.c: (main):
365 Actually show the window...
367 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
371 * shell/ev-application.c: (ev_application_class_init):
372 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
376 2004-10-23 Martin Kretzschmar <martink@gnome.org>
378 * ChangeLog, ggv/ChangeLog, gpdf/ChangeLog: merge the separate
379 ChangeLogs into one toplevel file. Keep only that.
381 2004-09-28 Pawan Chitrakar <pawan@nplinux.org>
383 * ggv/configure.in: Added ne "Nepali" in ALL_LINGUAS
385 2004-09-20 Mark McLoughlin <mark@skynet.ie>
387 * gpdf/xpdf/GnomeVFSStream.cc (reset, fillBuf): check gnome_vfs_foo
388 return values. Fixes crashes with gnome-vfs' http method. Bug
389 #153159, #151364, Red Hat Bug #132469, half of Debian Bug #268873.
391 2004-09-13 Martin Kretzschmar <m_kretzschmar@gmx.net>
393 * gpdf/configure.in, NEWS: Version 2.8.0.
395 * gpdf/README.GPdf: the font situation is a bit better now.
397 2004-09-12 Jaka Mocnik <jaka@gnu.org>
399 * ggv/configure.in: version 2.8.0; tag GGV_2_8_0; tarball for the upcoming 2.8.0 release.
401 2004-09-07 Gora Mohanty <gmohanty@cvs.gnome.org>
403 * gpdf/configure.in: Added 'or' to ALL_LINGUAS.
405 2004-09-06 Jaka Mocnik <jaka@gnu.org>
407 * ggv/configure.in: version 2.7.99; tag GGV_2_7_99; released a tarball.
408 * ggv/ggv.desktop.in (MimeType): removed application/pdf as the pdf
409 viewing functionality of ggv is, although still available, not
410 actively supported - use gpdf for PDF previewing.
412 2004-09-04 Kjartan Maraas <kmaraas@gnome.org>
414 * gpdf/configure.in: Add «nb» to ALL_LINGUAS.
416 2004-08-30 Martin Kretzschmar <m_kretzschmar@gmx.net>
418 * gpdf/configure.in, NEWS: Version 2.7.91. Disable "development
421 2004-08-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
423 * gpdf/xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_update_bkvisual):
424 nodes without link actions have NULL outline items. Don't
425 dereference them. Fixes bug #150269.
427 2004-08-28 Akagic Amila <bono@linux.org.ba>
429 * configure.in: Added 'bs' to ALL_LINGUAS.
431 2004-08-27 Akagic Amila <bono@linux.org.ba>
433 * ggv/configure.in: Added 'bs' to ALL_LINGUAS.
435 2004-08-24 Dan Williams <dcbw@redhat.com>
437 * gpdf/xpdf/gpdf-view.cc (gpdf_view_link_action_uri): don't dereference
438 app if it's NULL (i.e. no app available for that uri).
439 Fixes Bug #150476 (Red Hat Bug #127803).
441 2004-08-17 Mark McLoughlin <mark@skynet.ie>
443 * gpdf/lib/recent-files/egg-recent-item.[ch],
444 lib/recent-files/egg-recent-model.c,
445 lib/recent-files/egg-recent-view-gtk.c: sync with
448 2004-08-17 Mark McLoughlin <mark@skynet.ie>
450 * ggv/src/recent-files/egg-recent-item.[ch],
451 src/recent-files/egg-recent-model.c,
452 src/recent-files/egg-recent-util.[ch],
453 src/recent-files/egg-recent-view-bonobo.c,
454 src/recent-files/egg-recent-view-gtk.c,
455 src/recent-files/egg-recent-view.[ch]: sync with
458 * ggv/src/recent-files/update-from-egg.sh: add
460 * ggv/src/recent-files/Makefile.am: add update-from-egg.sh to
463 2004-08-16 Kjartan Maraas <kmaraas@gnome.org>
465 * ggv/configure.in: Added nb to ALL_LINGUAS.
467 2004-08-15 Martin Kretzschmar <m_kretzschmar@gmx.net>
469 Fix for #149954. Based on patch by Vijaykumar Patwari
470 <vijaykumar.patwari@wipro.com>
472 * gpdf/xpdf/gpdf-view.c, xpdf/gpdf-view.h (gpdf_view_save_as): Changed
473 to return the result of PDFDoc::saveAs.
475 * gpdf/xpdf/gpdf-contol.cc (overwrite_existing_file): New function, ask
476 user before overwriting existing file.
477 (save_error_dialog): New function, Throws error dialog.
478 (gpdf_control_get_filename): Morph it into
479 gpdf_control_save_file(), Check if the file already exists.
480 (verb_SaveAs_cb): Call new function to save a file.
482 2004-08-12 Martin Kretzschmar <m_kretzschmar@gmx.net>
484 * gpdf/xpdf/GPOutputDev.cc (getFontFace): prefer embedded fonts over
485 base 14 fonts. Fixes/works around Bug #149952.
487 2004-08-11 Martin Kretzschmar <m_kretzschmar@gmx.net>
489 * gpdf/configure.in, README.GPdf: actually, we require libgnomeprint
490 2.5.1 (for GNOME_PRINT_KEY_DUPLEX).
491 Thanks {agriffis,foser}@gentoo.org. See also
492 http://bugs.gentoo.org/show_bug.cgi?id=46913
494 2004-08-05 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
496 Fixes #126719 by Jeff Muizelaar <jrmuizel@nit.ca>:
498 * gpdf/xpdf/gpdf-view.cc (gpdf_view_handle_drag_motion):
499 calculate (x,y) properly for the case where we get unhinted
500 motion events that are relative to the actual canvas window,
501 instead of the widget window.
503 2004-08-02 Martin Kretzschmar <m_kretzschmar@gmx.net>
505 * gpdf/configure.in, NEWS: Version 2.7.90.
507 2004-08-02 Martin Kretzschmar <m_kretzschmar@gmx.net>
509 * gpdf/shell/gpdf.c (verb_FileExit_cb, gw_close_all): remove.
511 * gpdf/shell/gpdf-window-ui.xml: remove FileExit references.
514 2004-08-02 Martin Kretzschmar <m_kretzschmar@gmx.net>
516 * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_set_pdf_doc),
517 * gpdf/xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_set_pdf_doc):
518 Make the guint to pointer cast explicit.
520 * gpdf/xpdf/gpdf-control.cc (gpdf_control_print): keep the print dialog
521 in a private member variable, don't destroy it unconditionally on
522 when the BonoboControl is disconnected.
523 (gpdf_control_get_filename): ditto for the file chooser.
524 (properties_response_handler, properties_delete_handler)
525 (verb_FileProperties_cb): and for the properties window.
526 (gpdf_control_disconnected): destroy any left over dialogs.
527 Fixes Bug #149062 (and lots of crash-on-exit bugs, I hope).
529 2004-07-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
531 * gpdf/xpdf/GPOutputDev.cc (getFontFaceEmbedded): rewrite, this time
532 respect encoding information/CID-to-GID stuff etc. Fixes Bug #148362.
533 (lookupGlyph): update for changes in getFontFaceEmbedded
536 2004-07-21 Ray Strode <rstrode@redhat.com>
537 * ggv/ggv/ggv.desktop.in: Add MimeType line to desktop file
540 2004-07-20 Martin Kretzschmar <m_kretzschmar@gmx.net>
542 * gpdf/xpdf/gpdf-view.cc (gpdf_view_zoom): add the hack Federico did
543 for page changes for zooming as well. Still flashes when zooming,
544 but only in the background color, better than flashing with the
547 2004-07-19 Martin Kretzschmar <m_kretzschmar@gmx.net>
549 * gpdf/gpdf.desktop.in: added X-GNOME-Bugzilla-foo entries. I hope that
551 (MimeType): add, we understand application/pdf.
553 * gpdf/xpdf/gpdf-control.cc (gnome_vfs_uri_new): use just
554 gnome_vfs_uri_extract_short_name (which returns the unescaped
555 basename of a vfs_uri) as title. Fixes Bug #130611.
557 2004-07-19 Federico Mena Quintero <federico@ximian.com>
561 * gpdf/xpdf/gpdf-view.cc (gpdf_view_goto_page_no_history): Don't render
562 the page in an idle handler.
563 (gpdf_view_render_page): Return void.
564 (gpdf_view_scroll_to_top): As a hack to keep the canvas from
565 scrolling-then-updating, set the background pixmap of the
566 container window to null, then hide the bin_window, the scroll,
567 then show the bin_window, and reset the background.
568 (gpdf_view_scroll_to_bottom): Likewise.
570 2004-07-18 Jaka Mocnik <jaka@gnu.org>
572 * ggv/configure.in: version 2.7.0; released a tarball.
573 * ggv/src/ggv-prefs.c (ggv_prefs_load): test for "/usr/usb/lpr" on Solaris.
574 * ggv/src/ggv-ui.xml: changed "Fullscreen mode" to "Full Screen"; fixes #144876.
575 * ggv/src/gtkgs.c (gtk_gs_goto_page): do a gtk_gs_set_page_size() in order to properly
576 display documents with pages of multiple sizes. now how could this one have crept in
577 and how come no one noticed it until now? fixes #147591.
578 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_print): do not attempt to execute
579 a print command from an argv array whose first element is NULL; fixes #147705.
581 2004-07-16 Muktha <muktha.narayan@wipro.com>
583 * ggv/bonobo/main.c (main): disable session manager connection for
584 ggv-postscript-viewer. Fixes bug #147710.
586 Fri Jun 18 08:33:07 2004 Jonathan Blandford <jrb@gnome.org>
588 * ggv/AUTHORS: Changed the authors file to make it more obvious who's
591 2004-06-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
593 * gpdf/shell/gpdf.c (verb_HelpAbout_cb): Update copyright period to
596 2004-06-16 Jaka Mocnik <jaka@gnu.org>
598 * ggv/src/ggv-window.c (ggv_window_load): applied patch from Subrahmanyam
599 Madduri: added code for getting the filename which is to be opened,
600 from the path of the file. Also changed the order of display in title
601 to "<filename> - GGV". Fixes bug #60092
602 * ggv/bonobo/ggv-postscript-view-ui.xml: applied a patch from Udayan Kumar,
603 that adds a print icon to the toolbar, fixing #140907.
605 2004-06-13 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
607 * gpdf/xpdf/gpdf-view.cc (gpdf_view_reset_link_status_cb):
609 Also added c-indent-level in emacs local vars.
611 * gpdf/xpdf/tests/test-gpdf-view.cc (TEST_NEW): Forgot to commit the
612 test. Added the pdf doc as a param for constructor.
614 * gpdf/xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_populate_idle):
615 Changed the way to get the gdk window on which the cursor
616 is set. Now use the treeview widget window instead of getting
619 * gpdf/xpdf/gpdf-thumbnails-view.cc (GPDF_DEFAULT_THUMB_WIDTH):
620 Removed unused define for empty page thumbnail image.
621 (gpdf_thumbnails_view_canvas_outline_event_cb)
622 (gpdf_thumbnails_view_populate_idle):
623 Changed the way to get the gdk window on which the cursor
624 is set. Now use the canvas widget window instead of getting
627 2004-06-07 Martin Kretzschmar <m_kretzschmar@gmx.net>
629 * gpdf/configure.in, NEWS: Version 2.7.2.
631 2004-06-07 Martin Kretzschmar <m_kretzschmar@gmx.net>
633 * gpdf/xpdf/gpdf-control.cc (gpdf_control_setup_view_widgets): set a
634 step_increment for the gtk_scrolled_window's [hv]adjustments.
635 Workaround for bug #132489 (see also bug #96546). (Makes the
636 scrollbar buttons work.)
638 2004-06-06 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
640 * gpdf/xpdf/gpdf-control.cc (gpdf_control_setup_view_widgets):
641 Use new way to allocate a gpdf-view.
643 * gpdf/xpdf/gpdf-view.h: Removed gpdf_view_new proto.
645 * gpdf/xpdf/gpdf-view.cc (gpdf_view_set_pdf_doc)
646 (gpdf_view_get_property, gpdf_view_set_property)
647 (gpdf_view_constructor, gpdf_view_class_init):
648 Change the way view is allocated to use the g_object_new
649 way. Added props for pdf doc and for parent control.
650 (gpdf_view_link_entered_cb): Init some var to NULL.
651 (gpdf_view_bookmark_selected): Added case for actionURI
652 to handle bookmarks that are URIs.
654 * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_class_init):
655 Removed params spec desc strings as a some translated ones.
657 * gpdf/xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_class_init):
658 Removed params spec desc strings as a some translated ones.
659 (gpdf_bookmarks_view_construct): Loaded a new (network) stock
660 icon for bookmarks wearing an actionURI link.
661 (gpdf_bookmarks_view_update_bkvisual): Got item object from
662 tree model to be able to discriminate icons to update. actionURI
663 associated icons and actionNamed associated icons need no update.
664 (gpdf_bookmarks_view_flat_recurse_outlines): Added new LinkURI
665 local instances. Init others to NULL to avoid warnings.
666 Changed strings when action is unknown to make it more
668 Add code to handle LinkURI actions instances.
670 * gpdf/xpdf/gpdf-annots-view.cc (gpdf_annots_view_class_init):
671 Removed params spec desc strings as a some translated ones.
673 2004-06-06 Martin Kretzschmar <m_kretzschmar@gmx.net>
675 * gpdf/xpdf/gpdf-control.cc: include gpdf-control-private.h for
677 (gpdf_control_private_error_dialog): add ref_parent parameter:
678 whether to _ref the parent control.
679 (destroy_widget_unref_control): signal handler for the alert's
680 "response" signal: destroy the dialog, unref the parent control.
681 (gpdf_control_private_display_help)
682 (gpdf_control_no_postscript_printer_alert): update error_dialog
684 (persist_file_loading_failed_cb): ditto, with ref_parent = TRUE,
685 thus the control never auto-exits before the user can ack the
686 "Loading failed" message. Fixes bug #137262.
688 * gpdf/xpdf/gpdf-control-private.h: update prototype.
690 * gpdf/xpdf/gpdf-view.cc (gpdf_view_link_action_uri): update
691 error_dialog argument list.
693 * gpdf/shell/gpdf.c (gw_control_load_pdf):
694 s/error_stream:/error_persist_file:/
696 * gpdf/xpdf/tests/test-gpdf-view.cc (view_implements_ggv_document): fix
699 2004-06-05 Martin Kretzschmar <m_kretzschmar@gmx.net>
701 * gpdf/xpdf/Makefile.am: drop support for building xpdf, pdfto*.
703 * gpdf/configure.in: simplify more. Drop --enable-no-text-select
704 and --enable-multithreaded options. Bug #111404.
706 2004-06-03 Martin Kretzschmar <m_kretzschmar@gmx.net>
708 * gpdf/configure.in: post release version bump. Reorder a bit, add
709 some section header comments. Remove OS/2 check. Remove checks
710 that were only necessary for the Xpdf build system.
712 * gpdf/fofi/Makefile.dep, splash/Makefile.dep: cvs remove. Remainings
713 of the Xpdf non-automake build system.
715 * gpdf/shell/gpdf.c (verb_HelpAbout_cb):
716 s/translator_credits.../translator-credits/ as requested some
719 2004-06-01 Martin Kretzschmar <m_kretzschmar@gmx.net>
721 * gpdf/NEWS, configure.in: Version 2.7.1.
723 2004-05-31 Martin Kretzschmar <m_kretzschmar@gmx.net>
725 * gpdf/configure.in: print Message Of Doom.
727 2004-05-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
729 * gpdf/xpdf/GPOutputDev.cc (drawImageMask): undo 2004-02-28 change and
730 obey invert parameter instead (D'oh). Bug #142964.
731 (drawImageMask): do mask color computations and some variable
732 definitions outside of the loop. Swap if/else branches.
733 (drawImage): move variable defns outside loop.
735 2004-05-21 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
737 * gpdf/xpdf/gpdf-thumbnails-view.cc: Changed current_gen_thumb
738 type from gint to guint to avoid warnings.
739 (gpdf_thumbnails_view_populate_idle): Init Thumb ptr
740 to NULL to avoid warning.
742 * gpdf/xpdf/gpdf-view.cc (gpdf_view_link_entered_cb):
743 Add braces around each case to avoid warning about
744 inits and/or cross case inits.
745 (gpdf_view_render_page): Update displayPage call for
746 annots view to new xpdf3 API.
748 2004-05-17 Martin Kretzschmar <m_kretzschmar@gmx.net>
750 * gpdf/xpdf/gpdf-view.cc (gpdf_view_render_page): add missing crop
753 * gpdf/fofi/Makefile.am, splash/Makefile.am: added.
755 * gpdf/Makefile.am: add fofi and splash subdirs.
761 * gpdf/aconf-win32.h:
764 * gpdf/doc/pdffonts.1:
765 * gpdf/doc/pdffonts.cat:
766 * gpdf/doc/pdffonts.hlp:
767 * gpdf/doc/pdfimages.1:
768 * gpdf/doc/pdfimages.cat:
769 * gpdf/doc/pdfimages.hlp:
770 * gpdf/doc/pdfinfo.1:
771 * gpdf/doc/pdfinfo.cat:
772 * gpdf/doc/pdfinfo.hlp:
773 * gpdf/doc/pdftopbm.1:
774 * gpdf/doc/pdftopbm.cat:
775 * gpdf/doc/pdftopbm.hlp:
776 * gpdf/doc/pdftops.1:
777 * gpdf/doc/pdftops.cat:
778 * gpdf/doc/pdftops.hlp:
779 * gpdf/doc/pdftotext.1:
780 * gpdf/doc/pdftotext.cat:
781 * gpdf/doc/pdftotext.hlp:
786 * gpdf/doc/xpdfrc.cat:
787 * gpdf/doc/xpdfrc.hlp:
788 * gpdf/fofi/Makefile.in:
792 * gpdf/splash/Makefile.in:
793 * gpdf/xpdf/DisplayFontTable.h:
794 * gpdf/xpdf/ErrorCodes.h:
795 * gpdf/xpdf/FTFont.cc:
796 * gpdf/xpdf/FTFont.h:
797 * gpdf/xpdf/FontFile.cc:
798 * gpdf/xpdf/FontFile.h:
799 * gpdf/xpdf/Function.h:
800 * gpdf/xpdf/GPOutputDev.cc:
803 * gpdf/xpdf/GfxFont.cc:
804 * gpdf/xpdf/GfxFont.h:
805 * gpdf/xpdf/GfxState.cc:
806 * gpdf/xpdf/GfxState.h:
807 * gpdf/xpdf/GlobalParams.cc:
808 * gpdf/xpdf/GlobalParams.h:
809 * gpdf/xpdf/Makefile.am:
810 * gpdf/xpdf/Object.cc:
811 * gpdf/xpdf/Object.h:
812 * gpdf/xpdf/Outline.cc:
813 * gpdf/xpdf/OutputDev.cc:
814 * gpdf/xpdf/OutputDev.h:
815 * gpdf/xpdf/PBMOutputDev.cc:
816 * gpdf/xpdf/PBMOutputDev.h:
817 * gpdf/xpdf/PDFDoc.cc:
818 * gpdf/xpdf/PDFDoc.h:
819 * gpdf/xpdf/PSOutputDev.cc:
820 * gpdf/xpdf/PSOutputDev.h:
823 * gpdf/xpdf/Parser.cc:
824 * gpdf/xpdf/SFont.cc:
826 * gpdf/xpdf/Stream.cc:
827 * gpdf/xpdf/Stream.h:
828 * gpdf/xpdf/T1Font.cc:
829 * gpdf/xpdf/T1Font.h:
830 * gpdf/xpdf/TTFont.cc:
831 * gpdf/xpdf/TTFont.h:
832 * gpdf/xpdf/TextOutputDev.cc:
833 * gpdf/xpdf/TextOutputDev.h:
834 * gpdf/xpdf/XOutputDev.cc:
835 * gpdf/xpdf/XOutputDev.h:
836 * gpdf/xpdf/XPixmapOutputDev.cc:
837 * gpdf/xpdf/XPixmapOutputDev.h:
840 * gpdf/xpdf/config.h:
841 * gpdf/xpdf/gpdf-control.cc:
842 * gpdf/xpdf/pdffonts.cc:
843 * gpdf/xpdf/pdfimages.cc:
844 * gpdf/xpdf/pdfinfo.cc:
845 * gpdf/xpdf/pdftopbm.cc:
846 * gpdf/xpdf/pdftops.cc:
847 * gpdf/xpdf/pdftotext.cc:
848 * gpdf/xpdf/tests/Makefile.am:
849 * gpdf/xpdf/vms_make.com:
850 * gpdf/xpdf/xpdf.cc: Imported Xpdf 3.00 and fixed build.
852 2004-05-17 Martin Kretzschmar <m_kretzschmar@gmx.net>
860 * gpdf/doc/pdffonts.1:
861 * gpdf/doc/pdffonts.cat:
862 * gpdf/doc/pdffonts.hlp:
863 * gpdf/doc/pdfimages.1:
864 * gpdf/doc/pdfimages.cat:
865 * gpdf/doc/pdfimages.hlp:
866 * gpdf/doc/pdfinfo.1:
867 * gpdf/doc/pdfinfo.cat:
868 * gpdf/doc/pdfinfo.hlp:
869 * gpdf/doc/pdftopbm.1:
870 * gpdf/doc/pdftopbm.cat:
871 * gpdf/doc/pdftopbm.hlp:
872 * gpdf/doc/pdftops.1:
873 * gpdf/doc/pdftops.cat:
874 * gpdf/doc/pdftops.hlp:
875 * gpdf/doc/pdftotext.1:
876 * gpdf/doc/pdftotext.cat:
877 * gpdf/doc/pdftotext.hlp:
882 * gpdf/doc/xpdfrc.cat:
883 * gpdf/doc/xpdfrc.hlp:
887 * gpdf/xpdf/Annot.cc:
888 * gpdf/xpdf/Array.cc:
889 * gpdf/xpdf/BuiltinFontTables.cc:
892 * gpdf/xpdf/Catalog.cc:
893 * gpdf/xpdf/CharCodeToUnicode.cc:
894 * gpdf/xpdf/CharCodeToUnicode.h:
895 * gpdf/xpdf/Decrypt.cc:
897 * gpdf/xpdf/ErrorCodes.h:
898 * gpdf/xpdf/FTFont.cc:
899 * gpdf/xpdf/FTFont.h:
900 * gpdf/xpdf/FontFile.cc:
901 * gpdf/xpdf/FontFile.h:
902 * gpdf/xpdf/Function.cc:
905 * gpdf/xpdf/GfxFont.cc:
906 * gpdf/xpdf/GfxFont.h:
907 * gpdf/xpdf/GfxState.cc:
908 * gpdf/xpdf/GfxState.h:
909 * gpdf/xpdf/GlobalParams.cc:
910 * gpdf/xpdf/GlobalParams.h:
911 * gpdf/xpdf/JBIG2Stream.cc:
914 * gpdf/xpdf/Makefile.am:
915 * gpdf/xpdf/OutputDev.h:
916 * gpdf/xpdf/PDFDoc.cc:
917 * gpdf/xpdf/PDFDoc.h:
918 * gpdf/xpdf/PSOutputDev.cc:
919 * gpdf/xpdf/PSOutputDev.h:
922 * gpdf/xpdf/Parser.cc:
923 * gpdf/xpdf/Stream.cc:
924 * gpdf/xpdf/Stream.h:
925 * gpdf/xpdf/TTFont.cc:
926 * gpdf/xpdf/TTFont.h:
927 * gpdf/xpdf/TextOutputDev.cc:
928 * gpdf/xpdf/TextOutputDev.h:
929 * gpdf/xpdf/UnicodeMap.cc:
930 * gpdf/xpdf/UnicodeMap.h:
931 * gpdf/xpdf/UnicodeTypeTable.cc:
932 * gpdf/xpdf/UnicodeTypeTable.h:
933 * gpdf/xpdf/XOutputDev.cc:
934 * gpdf/xpdf/XOutputDev.h:
935 * gpdf/xpdf/XPDFApp.cc:
936 * gpdf/xpdf/XPDFCore.cc:
937 * gpdf/xpdf/XPDFCore.h:
938 * gpdf/xpdf/XPDFViewer.cc:
939 * gpdf/xpdf/XPDFViewer.h:
941 * gpdf/xpdf/about-text.h:
942 * gpdf/xpdf/config.h:
943 * gpdf/xpdf/gpdf-control.cc:
944 * gpdf/xpdf/gpdf-link-canvas-item.cc:
945 * gpdf/xpdf/gpdf-links-canvas-layer.cc:
946 * gpdf/xpdf/pdffonts.cc:
947 * gpdf/xpdf/pdfimages.cc:
948 * gpdf/xpdf/pdfinfo.cc:
949 * gpdf/xpdf/pdftopbm.cc:
950 * gpdf/xpdf/pdftops.cc:
951 * gpdf/xpdf/pdftotext.cc:
952 * gpdf/xpdf/tests/test-links.cc:
953 * gpdf/xpdf/vms_make.com:
954 * gpdf/xpdf/xpdf.cc: Imported Xpdf 2.03 and fixed build.
956 2004-05-13 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
958 * gpdf/xpdf/gpdf-thumbnails-view.cc:
959 Reverted some of the last commits.
961 * gpdf/xpdf/gpdf-annots-view.cc (gpdf_annots_view_class_init)
962 (gpdf_annots_view_set_property, gpdf_annots_view_new):
963 * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_class_init)
964 (gpdf_thumbnails_view_set_property, gpdf_thumbnails_view_new)
965 (gpdf_thumbnails_view_dispose):
966 * gpdf/xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_class_init):
967 (gpdf_bookmarks_view_set_property):
968 (gpdf_bookmarks_view_new):
969 Added set_property method. Changed param_spec_pointer in object.
970 Changed get_pointer in get_object.
971 Casted gpdf_view in GPdfView.
973 * gpdf/xpdf/gpdf-view.cc: Added timeout handler for status reset
974 to view private struct.
975 (gpdf_view_reset_link_status_cb): New callback for status
977 (gpdf_view_link_entered_cb, gpdf_view_link_leaved_cb):
978 Added handler for displaying link action in app status
979 bar when link enter/leave signal are received.
980 (gpdf_view_render_page): Connect enter/leave handlers
981 on links layer signals.
983 * gpdf/xpdf/gpdf-links-canvas-layer.h: Added LINK_ENTERED &
984 LINK_LEAVED signals for displaying links in app bar status
985 when mouse goes over them.
987 * gpdf/xpdf/gpdf-links-canvas-layer.cc: Added LINK_ENTERED &
988 LINK_LEAVED signals for displaying links in app bar status
989 when mouse goes over them.
990 (link_entered_cb, link_leaved_cb): Added handler for link
991 enter/leave signals to emit link_entered/link_leaved signals.
992 (gpdf_links_canvas_layer_add_link): Connected enter/leave
993 link signal handlers.
994 (gpdf_links_canvas_layer_class_init): Declared new signals.
996 * gpdf/xpdf/gpdf-bookmarks-view.cc:
997 (gpdf_bookmarks_view_set_property)
998 (gpdf_bookmarks_view_class_init, gpdf_bookmarks_view_new):
999 (gpdf_thumbnails_view_dispose):
1000 Cleaned up constructor and add control ref;
1001 Added constructor args as obj properties, added a ref on parent
1002 control and unref in dispose.
1003 (gpdf_bookmarks_view_update_popup_actions):
1004 Check is bookmarks exists before changing tools menu (expand/
1005 collapse/expand all/collapse all) sensitivity.
1006 (gpdf_bookmarks_view_populate_idle): Remove control disconnect
1007 handler IF had been registered.
1008 (gpdf_bookmarks_view_get_tools_menu): Changed order of tools popup
1009 menu items (to match real order).
1011 * gpdf/xpdf/gpdf-annots-view.cc:
1012 (gpdf_annots_view_set_property):
1013 (gpdf_annots_view_class_init, gpdf_annots_view_new)
1014 (gpdf_annots_view_dispose):
1015 Cleaned up constructor;
1016 Added constructor args as obj properties, added a ref on parent
1017 control and unref in dispose.
1019 2004-05-12 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1021 * gpdf/xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_flat_recurse_outlines):
1022 Fixed missing affectation when handling link_named bookmarks.
1023 The dynamic cast was just compared to NULLbut not stored in
1026 2004-05-10 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1028 * gpdf/xpdf/gpdf-thumbnails-view.cc: Add gpdf-control-private header
1029 for using status & ratio.
1030 (gpdf_thumbnails_view_populate_idle): Set ratio & status to give
1031 feedback on the thumb generation.
1032 Clear ration & status, reset cursor when finished.
1034 * gpdf/xpdf/gpdf-control.cc (gpdf_control_get_bookmarks_view):
1035 Give control as first arg of gpdf_bookmarks_view_new.
1037 * gpdf/xpdf/gpdf-bookmarks-view.h: Add parent control as new arg.
1039 * gpdf/xpdf/gpdf-bookmarks-view.cc: Add gpdf-control-private header
1040 for using status & ratio.
1041 Adding parent control in private struct.
1042 (gpdf_bookmarks_view_new): Added control as first param to keep
1043 it in private struct.
1044 (gpdf_bookmarks_view_flat_recurse_outlines): Set status & advance
1045 bar to give feedback about bookmarks generation.
1046 (gpdf_bookmarks_view_populate_idle): Fix a problem when no bookmarks
1047 are available. The idle func were always called as
1048 generation_terminated was never true.
1049 Set watch when generation goes on.
1050 Clear status, ration & cursor when generation terminated.
1051 (gpdf_bookmarks_view_set_pdf_doc): Connected remove idle
1052 on control disconnect signal instead of view destroy signal.
1054 2004-05-13 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1056 * gpdf/xpdf/gpdf-view.cc (gpdf_view_link_action_uri): Fixed bug when
1057 launching uri. The Link string storing URI was freed with list.
1058 Now the string is duped before appending it to the list.
1059 Changed uri from GString * to gchar *.
1061 2004-05-09 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1063 * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_set_pdf_doc):
1064 Changed priority for thumbs idle in order to do queue them at end
1065 and create bookmarks before.
1067 * gpdf/xpdf/gpdf-bookmarks-view.cc
1068 (gpdf_bookmarks_view_update_bookmarks_tree):
1069 Changed init of idle to let user see bookmarks creation at idle.
1071 * gpdf/xpdf/gpdf-view.cc (gpdf_view_bookmark_selected):
1072 Handle case when title is selected and action is null.
1074 * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_set_pdf_doc):
1075 Remove idle on parent control disconnect if killed while generating
1076 bookmarks to avoid crash.
1079 * gpdf/xpdf/gpdf-bookmarks-view.cc: Added struct GPdfBookmarksGenState
1080 for implementing flat recursion when creating bookmarks. This
1081 struct is used to store recursive generation state across idle func
1083 Also added necessary field in bookmarks view private struct to
1085 (gpdf_bookmarks_view_row_expanded_cb)
1086 (gpdf_bookmarks_view_row_collapsed_cb)
1087 (gpdf_bookmarks_view_page_changed_cb):
1088 (gpdf_bookmarks_view_selection_changed_cb):
1089 Return if generation not yet finished.
1090 (gpdf_bookmarks_view_bookmark_select_func):
1091 Fixed a bug when a title Outline item exists. Such an item have no
1092 action associated. We handle this case here and in gpdf-view.cc.
1093 (gpdf_bookmarks_view_flat_recurse_outlines):
1094 (gpdf_bookmarks_view_update_bookmarks_tree):
1095 (gpdf_bookmarks_view_populate_idle):
1096 Changed recursive bookmarks generation in a flat call to be able to
1097 have it called several time as idle handler.
1098 (gpdf_bookmarks_view_set_pdf_doc):
1099 Remove idle on view destroy if killed while generating bookmarks
1103 * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_page_box_coord):
1104 Removed assert and add update of thumb size guess if it was wrong.
1106 First step for fixing Bug #137439
1108 * gpdf/xpdf/gpdf-thumbnails-view.cc:
1109 Add a counter for keeping track of current thumb generated.
1110 (gpdf_thumbnails_view_set_scroll_region):
1111 While setting scroll region, the loop is now between page 1
1112 and last generated one (current_gen_thumb) to be able to relayout
1113 while generating thumbs.
1114 (gpdf_thumbnails_view_create_thumbnail):
1115 Added thumb coords. Computation while creating is based on a guess.
1116 The layout may be not perfect but it will be correctly relayout
1117 as soon as finished.
1118 (gpdf_thumbnails_view_populate_idle):
1119 Changed idle logic in order to only generate one thumb for each
1120 call. This way we never freeze display.
1121 (gpdf_thumbnails_view_set_pdf_doc):
1122 Moved thumb generation inits from idle. Set guess for page
1123 width/height to have a semi correct layout.
1125 2004-05-09 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1127 * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_populate_idle):
1128 Use Thumb method 'ok' to ensure Thumb data availability. It should
1129 avoid further crash if embed Thumb data not correctly
1132 * gpdf/xpdf/Thumb.h:
1133 * gpdf/xpdf/Thumb.cc (Thumb::Thumb): Added a flag for keeping
1134 Thumb data validity and the method to access it.
1136 2004-05-08 Martin Kretzschmar <m_kretzschmar@gmx.net>
1138 * gpdf/lib/recent-files: updated from egg:
1140 2004-04-15 Bastien Nocera <hadess@hadess.net>
1142 * gpdf/libegg/recent-files/egg-recent-util.c: another unused function
1143 to comment when not using libgnomeui
1145 2004-04-10 Bastien Nocera <hadess@hadess.net>
1147 * gpdf/libegg/recent-files/egg-recent-util.c: remove unused function
1148 when not using libgnomeui
1150 2004-04-05 Murray Cumming <murrayc@murrayc.com>
1152 * gpdf/libegg/recent-files/egg-recent-item.c: Use private_data instead
1153 of private, so it can compile with a C++ compiler.
1154 * gpdf/libegg/recent-files/egg-recent-view.h: Add G_BEGIN_DECLS and
1155 G_END_DECLS so we can use it with C++.
1157 2004-03-09 Bastien Nocera <hadess@hadess.net>
1159 * gpdf/libegg/recent-files/egg-recent-util.c:
1160 (egg_recent_util_get_icon): avoid warnings when the icon file
1163 2004-01-31 James Willcox <jwillcox@gnome.org>
1165 * gpdf/libegg/recent-files/egg-recent-model.c:
1166 (egg_recent_model_lock_file):
1168 Fix a locking bug, patch from
1169 Gustavo Giráldez <gustavo.giraldez@gmx.net>
1171 2004-01-22 James Willcox <jwillcox@gnome.org>
1173 * gpdf/libegg/recent-files/egg-recent-model.c:
1174 (egg_recent_model_lock_file):
1176 Make the file locking suck a little less for nfs home directories.
1177 Patch from Dan Williams <dcbw@redhat.com>.
1179 * gpdf/libegg/recent-files/egg-recent-model.c: the 2004-01-31 change
1182 * gpdf/shell/gpdf.c (gpdf_window_new): de-brand window title -> PDF
1183 Viewer. Bug #137167.
1185 * gpdf/help/C/figures/gpdf_window.png, help/de/figures/gpdf_window.png:
1186 update for new window title.
1188 * gpdf/configure.in: bump version number for GNOME 2.7.
1190 * gpdf/xpdf/gpdf-thumbnails-view.cc
1191 (gpdf_thumbnails_view_render_thumbnail_image): gdk-pixbuf requires
1192 always 8 bits per component. And Thumb::getPixbufData always
1193 provides 8 bits per component. Fixes bug #141226.
1195 * gpdf/xpdf/Thumb.cc (ThumbColorMap::ThumbColorMap): unused now, remove.
1197 * gpdf/xpdf/Thumb.h: ditto.
1199 * gpdf/xpdf/Thumb.cc (Thumb::Thumb): use a normal GfxImageColorMap.
1200 Use it not only for Indexed color spaces but always. Fixes crasher
1201 bugs #139211, #139477, #141725.
1203 * gpdf/xpdf/Thumb.h: update for ColorMap changes.
1205 * gpdf/xpdf/Thumb.cc (lookup): log to stderr because that's not
1208 2004-05-03 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1209 Fix for Bug #137952:
1211 * gpdf/xpdf/gpdf-control.cc (gpdf_control_get_filename):
1212 * gpdf/shell/gpdf.c (gw_ask_for_uri):
1213 Added file filters 'application/pdf' and '*' to
1216 2004-04-18 Jaka Mocnik <jaka@gnu.org>
1218 * ggv/ggv-prefs-ui.c: (ggv_prefs_dialog_new): Changed accelarators
1219 for Document tab - Default Zoom and Coordination Units to resolve
1220 conflicts in accelarators. patch by Archana Shah. Fixes bug#
1222 * ggv/src/ggv-window.c (ggv_add_open_button): added tooltip for recent
1223 files button. patch by chenthill.
1224 * ggv/backport of bugfixes from gnome-2-6 branch.
1225 * ggv/src/ggv-window.c (verb_FileOpen): don't set the file chooser size.
1226 fixes #139518. patch by Darren Adams.
1227 * ggv/src/gsdefaults.c (gtk_gs_defaults_set_*): only set the new value
1228 if it differs from the old: should fix #139362.
1229 * ggv/src/ggv-window.c (open_button_pressed_cb): applied a patch by
1230 Kouichirou Hiratsuka, fixing a crash when event parameter is NULL.
1233 2004-04-09 Guntupalli Karunakar <karunakar@freedomink.org>
1235 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1237 2004-04-09 Guntupalli Karunakar <karunakar@freedomink.org>
1239 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1241 2004-04-07 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1245 * ggv/bonobo/ggv-postscript-view.c (verb_FileSaveMarked): Added
1246 chooser filter for PS docs and all files.
1248 * ggv/src/ggv-window.c (verb_FileOpen): Added chooser filters for
1249 PS docs and all files.
1251 2004-04-07 Jaka Mocnik <jaka@gnu.org>
1253 * ggv/src/recent-files/egg-recent-model.c (egg_recent_model_filter): do not
1254 test for existence of files since this is done before setting the mime
1255 filter, so we can (and usually will) end up with testing a bunch of URIs,
1256 many of which can be remote, which causes unacceptable delays when
1258 * ggv/configure.in: bump version to 2.7.0.
1260 2004-03-31 Christian Rose <menthos@menthos.com>
1262 * gpdf/configure.in: Added "af" to ALL_LINGUAS.
1264 2004-03-31 Christian Rose <menthos@menthos.com>
1266 * ggv/configure.in: Added "af" to ALL_LINGUAS.
1268 2004-03-30 Adam Weinberger <adamw@gnome.org>
1270 * ggv/configure.in: Added en_CA (Canadian English) to ALL_LINGUAS.
1272 2004-03-29 Samúel Jón Gunnarsson <sammi@techattack.nu>
1274 * ggv/is.po: Added "is" to ALL_LINGUAS.
1276 2004-03-29 Martin Kretzschmar <m_kretzschmar@gmx.net>
1278 * gpdf/configure.in, NEWS: Version 0.131.
1280 2004-03-24 Guntupalli Karunakar <karunakar@freedomink.org>
1282 * configure.in: Added "pa" (Punjabi) to ALL_LINGUAS.
1284 2004-03-22 Guntupalli Karunakar <karunakar@freedomink.org>
1286 * configure.in: Added "pa" (Punjabi) to ALL_LINGUAS.
1288 2004-03-21 Martin Kretzschmar <m_kretzschmar@gmx.net>
1290 * gpdf/configure.in, NEWS: Version 0.130.
1292 * gpdf/help/c/gpdf.xml, help/de/gpdf.xml: updated for 0.130 (no
1295 2004-03-21 Jaka Mocnik <jaka@gnu.org>
1297 * ggv/configure.in: version 2.6.0; tagged as GGV_2_6_0.
1299 2004-03-21 Gareth Owen <gowen72@yahoo.com>
1301 * gpdf/configure.in: Added en_GB to ALL_LINGUAS
1303 2004-03-20 Gareth Owen <gowen72@yahoo.com>
1305 * ggv/configure.in: Added en_GB to ALL_LINGUAS
1307 2004-03-18 Martin Kretzschmar <m_kretzschmar@gmx.net>
1309 * gpdf/help/Makefile.am (SUBDIRS), configure.in: add help/de directory.
1311 * gpdf/help/de: added German help.
1313 2004-03-15 Martin Kretzschmar <m_kretzschmar@gmx.net>
1315 * gpdf/configure.in, NEWS: Version 0.125.
1317 * gpdf/configure.in, README.GPdf: remove message of doom.
1319 2004-03-15 Alexander Winston <alexander.winston@comcast.net>
1321 * gpdf/configure.in: Added en_CA to ALL_LINGUAS.
1323 2004-03-14 Jaka Mocnik <jaka@gnu.org>
1325 * ggv/configure.in: version 2.5.99.1; tagged as GGV_2_5_99_1.
1326 * ggv/src/gtkgs.c (gtk_gs_load): only hide window if it is visible.
1327 * ggv/src/main.c (create_window): don't close window if the document is
1328 not loaded: this is not very nice, but doing otherwise causes
1329 mayhem in both control and shell processes, the cause of which I
1330 am currently unable to track down.
1331 * ggv/src/ggv-window.c: applied a patch from chenthill that makes the
1332 ESC key turn off fullscreen mode.
1334 2004-03-09 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1336 * gpdf/shell/gpdf.c (gpdf_window_close): Added deactivation of control
1337 frame to avoid warning when setting frame ui container to null
1338 at bonobo-control-frame-dispose.
1340 2004-03-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1342 * gpdf/xpdf/bonobo-application-x-pdf.cc (gpdf_factory): use
1343 bonobo_control_life_instrument on controls to make the factory
1344 exit when the last control is destroyed. (For Bug #132703).
1346 2004-03-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1348 * gpdf/configure.in, NEWS: Version 0.124.
1350 * gpdf/README.GPdf: Update.
1352 * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_on_dialog_response_cb):
1353 * gpdf/xpdf/gpdf-persist-stream.cc: update for changed help id of password section.
1355 * gpdf/help/C/gpdf.xml: added comment that gpdf-password id cannot be changed freely.
1357 2004-03-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1359 * gpdf/xpdf/gpdf-control.cc (gc_set_page_cb): focus the pdf view after
1360 setting the page. (Bug #136360)
1362 * gpdf/shell/gpdf.c (gw_ask_for_uri): use gtk_dialog_run instead of a
1363 nested main loop plus connection to ::response.
1364 (file_dialog_response, file_dialog_delete_event): obsolete, no
1365 need to check if a folder was selected. (Bug #136233).
1367 2004-03-08 Breda McColgan <breda.mccolgan@sun.com>
1369 * ggv/help/C/ggv.xml: Updated based on technical review comments
1370 * ggv/help/C/ggv-C.omf: Updated date and version number
1372 2004-03-05 Jaka Mocnik <jaka@gnu.org>
1374 * ggv/applied patch by chenthill that improves keyboard accelerators for
1375 zooming in the control.
1377 2004-03-05 Jaka Mocnik <jaka@gnu.org>
1379 * ggv/src/recent-files/egg-recent-model.c (egg_recent_model_filter): test
1380 for the existence of URI _after_ the URIs are filtered, reducing
1381 overhead! fixes #136238.
1382 * ggv/applied a patch from The Written Word that fixes AIX 5.1 build.
1383 * ggv/bonobo/ggv-postscript-view-ui.xml, src/ggv-ui.xml: removed delimit
1384 attribute from Viewer Items placeholder.
1385 * ggv/src/Makefile.am (libgtkgs_la_SOURCES): removed ggv-recent.[ch].
1386 * ggv/bonobo/main.c (main): Initialized the gnome libraries to provide
1387 support for Edit->Preferences Help to work. Fixes bug#135273. Patch
1389 * ggv/configure.in: version 2.5.99; tagged as GGV_2_5_99.
1391 2004-03-04 Breda McColgan <breda.mccolgan@sun.com>
1393 * gpdf/help/C/gpdf.xml: Implemented editorial review comments
1394 * gpdf/help/C/gpdf-C.omf: Updated date and manual version number
1395 * gpdf/help/C/l10n.txt: Updated date and manual version info
1397 2004-03-02 Breda McColgan <breda.mccolgan@sun.com>
1399 * ggv/help/C/ggv.xml: Updated for GNOME 2.6, technical review draft
1400 * ggv/help/C/ggv-C.omf: Updated for GNOME 2.6
1401 * ggv/help/C/l10n.txt: Updated for GNOME 2.6
1402 * ggv/help/C/figures/ggv_window.png: Updated for GNOME 2.6
1404 2004-02-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
1406 * gpdf/xpdf/GPOutputDev.cc (drawString): handle horizontal scaling
1407 correctly (multiply with the x components of the text
1408 transformation matrix). Fixes Bug #134803.
1409 (drawImageMask): this function has always painted the mask in
1410 reverse video! Fixed it now. Part of Bug #122021.
1412 2004-02-28 Julio M. Merino Vidal <jmmv@menta.net>
1414 * gpdf/Makefile.am: don't hardcode schema installation directory. Add
1415 dummy install-data-local target when GCONF_SCHEMAS_INSTALL is
1416 not set, fixes build for some make variants. (Bug #135524)
1418 2004-02-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1420 * gpdf/xpdf/gpdf-util.h (E_MAKE_TYPE): kill this ancient macro.
1422 * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_destroy): unload
1423 the file, plugs file handle, PDFDoc, whatnot leak (Bug #135525,
1424 spotted by Ali Akcaagac).
1426 2004-02-19 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1430 * gpdf/xpdf/gpdf-control.cc (gpdf_control_print):
1431 Add handler for disconnected control to close print
1432 dialog when gpdf exists.
1433 (gpdf_control_get_filename): Add handler for disconnected
1434 control to close SaveAs file chooser when gpdf exists.
1435 (verb_FileProperties_cb): Add handler for disconnected
1436 control to close Properties dialog when gpdf exists.
1438 2004-02-18 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1442 * gpdf/xpdf/gpdf-persist-stream.cc
1443 (gpdf_persist_stream_on_dialog_response_cb):
1444 Replaced old gpdf_persist_stream_on_cancelbutton_clicked,
1445 gpdf_persist_stream_on_okbutton_clicked and
1446 gpdf_persist_stream_on_helpbutton_clicked with
1447 gpdf_persist_stream_on_dialog_response_cb.
1448 (gpdf_persist_stream_create_password_dialog):
1449 Changed handlers connected on dialog buttons with one
1450 handler connected on dialog's response.
1452 * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_on_dialog_response_cb):
1453 Replaced old gpdf_persist_file_on_cancelbutton_clicked,
1454 gpdf_persist_file_on_okbutton_clicked and
1455 gpdf_persist_file_on_helpbutton_clicked with
1456 gpdf_persist_file_on_dialog_response_cb.
1457 (gpdf_persist_file_create_password_dialog):
1458 Changed handlers connected on dialog buttons with one
1459 handler connected on dialog's response.
1461 * gpdf/xpdf/gpdf-control.cc (gpdf_control_private_destroy_dialog):
1463 (gpdf_control_private_error_dialog)
1464 (gpdf_control_private_warn_dialog)
1465 (gpdf_control_private_info_dialog):
1466 Changed clicked handler set on button with response handler
1467 set on dialog itself. Original handler
1468 gpdf_control_private_destroy_dialog have been replaced with
1470 (gpdf_control_no_postscript_printer_alert): Use the
1471 gpdf_control_private_error_dialog instead of managing its
1473 (gpdf_control_properties_dialog_response_cb): Removed old
1474 dialog resp cb used for props dialog.
1475 (verb_FileProperties_cb): Changed dialog handler for resp
1476 with gtk_widget_destroy.
1477 (persist_file_loading_failed_cb): Replaced dialog managed
1478 with gpdf_control_private_error_dialog.
1480 2004-02-16 Martin Kretzschmar <m_kretzschmar@gmx.net>
1482 * gpdf/configure.in, NEWS: Version 0.123.
1484 2004-02-16 Martin Kretzschmar <m_kretzschmar@gmx.net>
1486 * gpdf/autogen.sh: require automake 1.7 because of the way we use
1487 automake conditionals. Fixes distcheck.
1489 2004-02-13 Jaka Mocnik <jaka@gnu.org>
1491 * ggv/configure.in: version 2.5.4; tagged as GGV_2_5_4.
1493 2004-02-12 Jaka Mocnik <jaka@gnu.org>
1495 * ggv/src/recent-files/egg-recent-model.c (end_element_handler): only add
1496 an uri to the list if it exists!
1498 2004-02-10 Jaka Mocnik <jaka@gnu.org>
1500 * ggv/src/ggv-window.c (ggv_window_reload): show a dialog if the file
1502 * ggv/src/ggv-prefs-ui.c: remember strings when focus leaves the
1504 * ggv/src/ggv-window.c (verb_FileOpen): allow opening multiple files
1506 * ggv/bonobo/GNOME_GGV.server.in.in: Postscript -> PostScript!
1508 2004-02-10 Jaka Mocnik <jaka@gnu.org>
1510 * ggv/src/recent-files/egg-recent-view-bonobo.c
1511 (egg_recent_view_bonobo_clear): added sanity checks for UI container.
1512 * ggv/src/ps.c (psscan): pass the filename as a parameter and use it to
1513 invoke the test command on strange files that might be PS but do not
1515 * ggv/bonobo/ggv-sidebar.c (page_list_selection_changed): sanity check if
1516 (checklist != NULL).
1517 * ggv/bonobo/ggv-postscript-view.c (load_ps): return a boolean indicating
1519 (load_ps_from_stream): set exception when loading fails.
1520 (load_ps_from_file): set exception when loading fails.
1522 * ggv/src/ggv-window.c (verb_FileOpen): keep the dialog open until user
1523 either enter a non-empty filename and opens it or cancel the
1524 operation. fixes #130603
1525 (verb_FileOpen): load PS file before showing a new window. destroy
1526 new window if the file is not valid PS. show dialog in that case.
1528 * ggv/bonobo/ggv-postscript-view.c (add_dialog_to_view): add a dialog to
1529 the list of dialogs maintained by this PS view component.
1530 (ggv_postscript_view_destroy_dialogs): destroy all our dialogs.
1531 (ggv_postscript_view_destroy): destroy all dialogs via above func.
1532 * ggv/src/recent-files/*: synced with latest libegg, since James reverted
1533 the changes he made in November. here's what I get for tracking
1535 * ggv/src/ggv-window.c (verb_FileOpen):
1536 * ggv/src/ggv-recent.c (ggv_recent_init): use new recent-files API.
1538 2004-02-09 Breda McColgan <breda.mccolgan@sun.com>
1540 * gpdf/help/C/gpdf.xml: Implemented technical review comments
1541 * gpdf/help/C/gpdf-C.omf: Updated date
1543 2004-02-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1545 * gpdf/xpdf/gpdf-thumbnails-view.cc
1546 (gpdf_thumbnails_view_populate_idle): #if'ed out one code path
1547 that I missed on 2004-01-13 when commenting out thumbnail
1548 generation menus. Fixes a crasher.
1550 2004-02-08 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1552 * gpdf/xpdf/gpdf-persist-file.cc (impl_bonobo_persist_file_load):
1553 Raise Bonobo exception when file opening fails in order
1554 to enable shell to catch it and discard window opening.
1557 2004-02-08 Martin Kretzschmar <m_kretzschmar@gmx.net>
1559 * gpdf/xpdf/gpdf-control.cc (gpdf_control_setup_view_widgets):
1560 "Thumbnails"->"Pages" because many PDFs don't have thumbnails.
1562 * gpdf/shell/gpdf.c (gpdf_window_init_fullscreen_popup): explicitly add
1565 * gpdf/shell/gpdf-window-ui.xml (keybindings): ViewFullScreen is not a
1566 verb, so F11 doesn't work when in fullscreen mode. Remove it.
1568 * gpdf/xpdf/gpdf-control.cc (gpdf_print_job_prepare): use duplex
1569 setting supplied by gnome-print. Part of Bug #131979.
1571 2004-02-07 Breda McColgan <breda.mccolgan@sun.com>
1573 * gpdf/help/C/gpdf.xml: Updated for GNOME 2.6, technical review draft
1574 * gpdf/help/C/gpdf-C.omf: Updated for GNOME 2.6
1575 * gpdf/help/C/l10n.txt: Added for GNOME 2.6
1576 * gpdf/help/C/figures/gpdf_window.png: Added for GNOME 2.6
1578 2004-02-07 Martin Kretzschmar <m_kretzschmar@gmx.net>
1580 * gpdf/shell/gpdf.c (set_window_icon_default): simplify, based on patch
1581 by Frederic Crozat <fcrozat@mandrakesoft.com> and inline into main.
1583 2004-02-06 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1585 * gpdf/shell/gpdf.c (gpdf_window_init_fullscreen_popup):
1586 Added accel group for exit full screen view and
1588 Fix for Bug #133595.
1590 2004-02-05 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1592 * ggv/acinclude.m4: removed
1593 This file contain private copy of few aclocal macros provided by
1594 gettext. It breaks regenerata aclocal.m4 under automake diffrent
1595 version than used by mantainer. All neccessary macros are copied
1596 to aclocal.m4 during run autogen.sh.
1597 * ggv/configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1598 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are substed
1601 2004-02-05 Martin Kretzschmar <m_kretzschmar@gmx.net>
1603 * gpdf/xpdf/gpdf-control.cc (gpdf_control_print): no more need to
1604 process GNOME_PRINT_DIALOG_RESPONSE_PREVIEW.
1605 (gpdf_control_no_preview_alert): no longer necessary.
1607 2004-02-05 Andreas J. Guelzow <aguelzow@taliesin.ca>
1609 * gpdf/xpdf/gpdf-control.cc (gpdf_control_print_dialog_new): disable
1610 print preview the right way, instead of showing some alert dialog.
1613 2004-02-05 Alexander Winston <alexander.winston@comcast.net>
1615 * gpdf/acinclude.m4: correctly quote macro definitions to silence
1616 aclocal-1.8 warnings and prevent future automake problems. (Bug
1619 2004-02-04 Jaka Mocnik <jaka@gnu.org>
1621 * ggv/bonobo/ggv-postscript-view.c (verb_FileSaveMarked): if Save is
1622 clicked in the file chooser and the url is empty, rerun the dialog.
1624 * ggv/bonobo/ggv-control.c, bonobo/ggv-postscript-view.c: added
1625 sanity check (uicontainer != CORBA_OBJECT_NIL) before set prop
1626 calls that were not guarded yet.
1627 * ggv/src/ggv-ui.xml: removed ellipsis from "About" menu item label.
1628 * ggv/acinclude.m4: applied a patch from Alexander Winston that fixes
1629 the underquoted m4 definitions. fixes #133179.
1630 * ggv/configure.in: require intltool >= 0.30; version 2.5.3;
1631 tagged as GGV_2_5_3.
1633 2004-01-29 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1635 * gpdf/configure.in: Fixed missing coma in AC_HELP_STRING.
1637 2004-01-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1639 * gpdf/xpdf/gpdf-font-face.c: adapt to changes in libgnomeprint CVS.
1641 2004-01-26 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1643 * gpdf/xpdf/gpdf-thumbnails-view.cc: Include GOutputDev.h.
1644 Added an embed boolean flag for thumbnails struct.
1645 Added a all_generated boolean flag.
1646 Removed CAN_GENERATE_THUMBNAILS define.
1647 (gpdf_thumbnails_view_set_selected_page): Check if is not
1648 current page before darkening thumbnail.
1649 Added tools menu item update.
1650 (gpdf_thumbnails_view_canvas_outline_event_cb):
1651 Changed cursor when dragging in thumb.
1652 (gpdf_thumbnails_view_get_page_pixbuf): New func to gen
1653 pixbuf from a page with GOutputDev.
1654 (gpdf_thumbnails_view_create_thumbnail_pixbuf): Renamed
1655 gpdf_thumbnails_view_create_thumbnail_image that create
1656 white filled thumbs in ..._create_thumbnail_pixbuf.
1657 (gpdf_thumbnails_view_create_thumbnail_image): New func
1658 that get page pixbuf and scale it to make thumb.
1659 (gpdf_thumbnails_view_render_thumbnail_image): Added
1660 embed boolean flag and update all_generated flag.
1661 (gpdf_thumbnails_view_populate_idle): Moved PDF doc related
1662 local vars from func context to loop context.
1663 Changed gpdf_thumbnails_view_create_thumbnail_image in
1664 gpdf_thumbnails_view_create_thumbnail_pixbuf.
1665 Removed tools menu item update if no thumbs availables.
1666 Scroll to 0,0 to show first page thumb.
1667 (gpdf_thumbnails_view_popup_menu_item_generate_cb):
1668 Added implem for current page thumb generation.
1669 (gpdf_thumbnails_view_popup_menu_item_generate_all_cb):
1670 Added implem for all pages thumbs generation.
1671 (gpdf_thumbnails_view_get_tools_menu): If all thumb are
1672 generated the menu is removed.
1673 Now set menu items sensitivity to TRUE.
1675 * gpdf/xpdf/gpdf-bookmarks-view.cc
1676 (gpdf_bookmarks_view_update_popup_actions): Now only updates
1677 menu items sensitivity when some bookmarks are availables.
1678 (gpdf_bookmarks_view_bookmark_select_func): Test item to be
1679 sure not to select NULL bookmark (can occurs if some problem
1680 occurs while parsing PDF: should be fixed).
1681 (gpdf_bookmarks_view_get_tools_menu): Changed menu items init
1682 stmts layout to group the expand_all/collapse_all.
1684 * gpdf/xpdf/Makefile.am (libgpdf_a_SOURCES): Added again
1685 GOutputDev.cc/h and TextOutputDev.cc/h.
1687 * gpdf/xpdf/GOutputDev.h: Added needFontUpdate boolean flag.
1689 * gpdf/xpdf/GOutputDev.cc (GOutputDev::GOutputDev): Added
1690 needFontUpdate init.
1691 (GOutputDev::startDoc):
1692 Removed TextPage::clear call.
1693 (GOutputDev::endPage):
1694 Added boolean flag as param for coalesce.
1695 (GOutputDev::restoreState):
1696 Added needFontUpdate flag set to true.
1697 (GOutputDev::updateAll):
1698 Set flag needFontUpdate instead of calling updateFont().
1699 (GOutputDev::updateFont):
1700 reset needFontUpdate flag and call TextPage::fontUpdate().
1701 (GOutputDev::beginString):
1702 (GOutputDev::endString):
1703 Changed calls to begin/end string in begin/end word.
1704 (GOutputDev::drawChar):
1705 Added updateFont() call if needed. Added code param to
1707 (GOutputDev::beginType3Char):
1708 Added updateFont() call if needed.
1710 * gpdf/xpdf/gpdf-thumbnails-view.cc
1711 (gpdf_thumbnails_view_canvas_outline_event_cb):
1712 Fixed a bug in thumb drag. A zoom mult coef wrongly added.
1713 It has been removed, as some useless commented out traces.
1715 2004-01-26 Andraz Tori <Andraz.tori1@guest.arnes.si>
1717 * gpdf/configure.in: Added "sl" (Slovenian) to ALL_LINGUAS.
1719 2004-01-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1721 * gpdf/Makefile.am: update for intltool 0.29, disable-schemas-install
1724 2004-01-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1726 * gpdf/xpdf/gpdf-control-ui.xml, shell/gpdf-window-ui.xml: add some
1727 explicit keybindings, menu keybindings are disabled when the
1730 2004-01-22 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1732 * gpdf/xpdf/gpdf-sidebar.c (set_tools_button_sensitivity):
1733 New func to set tools menu button sensitivity.
1734 (gpdf_sidebar_set_page_tools_menu):
1735 (select_page): Now call set_tools_button_sensitivity.
1737 * gpdf/xpdf/gpdf-thumbnails-view.cc
1738 (gpdf_thumbnails_view_populate_idle): Added
1741 * gpdf/xpdf/gpdf-control.cc: Removed ifdef USE_ANNOTS
1742 around annots-view.h file. Ifdefs are now in the
1743 header that also defines sidebar page id.
1744 Removed Pages Ids from here to move them in
1745 their respective view header.
1746 (gpdf_control_private_reset_cursor):
1747 (gpdf_control_private_set_wait_cursor):
1748 (gpdf_control_private_set_cursor): Ensure window
1750 (gpdf_control_update_bookmarks_view_tools_menu)
1751 (gpdf_control_bookmarks_view_ready)
1752 (gpdf_control_update_thumbnails_view_tools_menu)
1753 (gpdf_control_thumbnails_view_ready)
1754 (gpdf_control_update_annots_view_tools_menu)
1755 (gpdf_control_annots_view_ready):
1756 Added funcs to deal with tools menu updates and
1757 Ready signals for views. They should be grouped
1758 in two funcs? To be fixed?...
1759 (gpdf_control_enable_ui): Added tools menu update
1760 in control enable UI func.
1761 (gpdf_control_get_bookmarks_view): Added connection
1762 to Ready signal instead of settings tools menu.
1763 This is to wait asynchronous bookmarks loads to be
1764 sure we have a tools menu to activate.
1765 (gpdf_control_get_thumbnails_view): Same for thumbnails
1767 (gpdf_control_get_annots_view): and for annots view.
1768 (gpdf_control_pdf_doc_changed): Moved control_enable_ui
1769 out of the if statement.
1771 * gpdf/xpdf/gpdf-annots-view.h
1772 (GPDF_ANNOTS_VIEW_PAGE_ID):
1773 Sidebar Page id now defined in here.
1774 Added class func for Ready signal.
1776 * gpdf/xpdf/gpdf-annots-view.cc: Removed unused private
1777 field annots. Replaced with the total number of annotations
1778 available inthe document.
1779 (gpdf_annots_view_class_init):
1780 Added Ready signal telling control that annotations
1781 asynchronous load finished.
1782 (gpdf_annots_view_emit_ready): Ready signal emission func
1783 (gpdf_annots_view_have_annotations): Added a func using
1784 the total num of annots to tell if some are available.
1785 (gpdf_annots_view_update_annots_list): Here I count
1786 total number of annotations.
1787 (gpdf_annots_view_populate_idle): Moved some local
1788 vars from func context to the loop context where they
1790 (gpdf_annots_view_populate_idle): Removed a leak, annots
1791 list was not deleted.
1792 (gpdf_annots_view_get_tools_menu): Use new have_annotations
1793 func to disable tools menu when no annotations are
1796 * gpdf/xpdf/gpdf-thumbnails-view.h
1797 (GPDF_THUMBNAILS_VIEW_PAGE_ID):
1798 Sidebar Page id now defined in here.
1799 Added class func for Ready signal.
1801 * gpdf/xpdf/gpdf-thumbnails-view.cc:
1802 (gpdf_thumbnails_view_class_init):
1803 Added Ready signal to tell control that thumbnails
1804 asynchronous load finished.
1805 (gpdf_thumbnails_view_emit_ready): Ready signal
1807 (gpdf_thumbnails_view_populate_idle): Only
1808 change tools menu item widget sensitivity if
1809 tools menu was created (widget actually exist).
1810 Changed brace position.
1811 (gpdf_thumbnails_view_populate_idle): Added
1812 ready signal emission.
1814 * gpdf/xpdf/gpdf-bookmarks-view.h (GPDF_BOOKMARKS_VIEW_PAGE_ID):
1815 Sidebar Page id now defined in here.
1816 Added class func for Ready signal.
1818 * gpdf/xpdf/gpdf-bookmarks-view.cc:
1819 (gpdf_bookmarks_view_class_init):
1820 Added the READY signal that tell control that
1821 asynchronous bookmarks load finished.
1822 (gpdf_bookmarks_view_emit_ready): Ready signal
1824 (gpdf_bookmarks_view_have_outline_items):
1825 Added a func telling if some bookmarks are availables.
1826 (gpdf_bookmarks_view_update_popup_actions):
1827 If no bookmarks availables, no need to browse the
1829 Set menu item widget sensitivity only if menu was
1831 (gpdf_bookmarks_view_populate_idle):
1832 (gpdf_bookmarks_view_set_pdf_doc):
1833 Now populate bookmarks tree in idle func.
1834 (gpdf_bookmarks_view_get_tools_menu): Used
1835 gpdf_bookmarks_view_have_outline_items to
1836 disable tools menu creation when no bookmarks
1839 2004-01-20 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1841 * gpdf/xpdf/tests/test-pdf-loading.cc (TEST_NEW):
1842 Removed unused pdf_doc var.
1844 * gpdf/shell/tests/test-uri-input.c: Added decl for
1845 setup and reat_down to avoid gcc warnings.
1847 * gpdf/xpdf/gpdf-stock-icons.c (GPDF_ADD_STOCK_ICON):
1848 Add init value for icon_set vars to avoid warning.
1850 * gpdf/xpdf/gpdf-persist-stream.cc
1851 (gpdf_persist_stream_create_password_dialog): Added
1852 g_signal_connect for help button.
1854 * gpdf/xpdf/gpdf-control.cc: Removed unused
1855 gpdf_control_get_title method. Also removed some
1858 * gpdf/xpdf/gpdf-thumbnails-view.cc:
1859 * gpdf/xpdf/gpdf-bookmarks-view.cc:
1860 * gpdf/xpdf/gpdf-annots-view.cc: Removed undefined
1861 class_finalize method decl, view_init unused method,
1862 and some unused vars.
1864 * gpdf/xpdf/Thumb.cc (ThumbColorMap::ThumbColorMap): Changed
1865 field init order to match decl and to avoid warning.
1866 Removed several unused vars.
1867 (Thumb::Thumb): Removed unused vars.
1868 (Thumb::getPixbufData): Removed unused vars.
1870 * gpdf/xpdf/TextOutputDev.cc (TextPage::coalesce): Init a var
1873 * gpdf/xpdf/GPOutputDev.cc (GPOFontMap::~GPOFontMap): Changed
1874 param named to avoid shadowing of the xref class field and
1875 the associated warning.
1877 * gpdf/xpdf/Makefile.am (INCLUDES):
1878 * gpdf/shell/Makefile.am (INCLUDES):
1879 * gpdf/lib/ggv-sidebar/Makefile.am (INCLUDES):
1880 * gpdf/configure.in: Changed the way WARN_CFLAFS & WARN_CXXFLAGS
1881 were passed to compiler. Now use CFLAGS/CXXFLAGS in configure
1882 instead of INCLUDES in some Makefiles.
1884 2004-01-19 Martin Kretzschmar <m_kretzschmar@gmx.net>
1886 * gpdf/xpdf/gpdf-control.cc (MENU_FIT_WIDTH_PATH): one more "Zoom Items
1887 Placeholder" occurence. (see 2004-01-13)
1889 * gpdf/gpdf.desktop.in (_Name, _Comment): short and sweet,
1890 by Ross Burton and Alexander Winston (Bug #131906).
1892 2004-01-18 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1894 * gpdf/xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_construct):
1895 Complement for Bug #131798: Removed shadow from scrolled
1896 window to get the same look as nautilus.
1898 * gpdf/xpdf/gpdf-annots-view.cc (gpdf_annots_view_construct):
1899 Complement for Bug #131798: Removed shadow from scrolled
1900 window to get the same look as nautilus.
1902 * gpdf/xpdf/gpdf-sidebar.c (gpdf_sidebar_instance_init):
1903 Changed sidebar title frame shadow type. It was ETCHED_IN
1904 and it make it look slightly different than the Nautilus
1905 sidebar one. With GTK_SHADOW_NONE both looks the same.
1906 This fix bug #131798
1907 (gpdf_sidebar_instance_init): Also changed arrow box shadows
1908 as the ones in nautilus.
1910 * gpdf/xpdf/gpdf-control.cc (gpdf_control_save_sidebar_state):
1911 Changed the source for the CONF_WINDOWS_SHOW_SIDEBAR
1912 value. It was GTK_WIDGET_MAPPED, but it do not run anymore.
1913 Now use GTK_WIDGET_VISIBLE.
1914 Fix for Bug #131776.
1916 2004-01-17 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1918 * gpdf/xpdf/gpdf-control-ui.xml: Changed 'Side Pane' in
1919 'Sidebar' to be consistent with other designation for
1921 This fix Bug #131733.
1923 2004-01-17 Martin Kretzschmar <m_kretzschmar@gmx.net>
1925 * gpdf/xpdf/gpdf-control.cc (gpdf_control_private_error_dialog)
1926 (gpdf_control_private_warn_dialog)
1927 (gpdf_control_private_info_dialog): Ok -> GTK_STOCK_OK, suggested
1928 by Christian Neumair.
1929 (gpdf_control_private_question_dialog): unused and might encourage
1930 use of Yes/No dialogs: remove
1931 (gpdf_control_private_display_help): use "%s", not <%s>.
1933 * gpdf/xpdf/gpdf-control-private.h (gpdf_control_private_question_dialog):
1936 * gpdf/gpdf.schemas.in: removed the not really long "long" descriptions
1937 to reduce string count. Suggested by Christian Neumair.
1939 2004-01-16 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1941 * gpdf/configure.in: Add test to check enable_deprecation_errors
1942 value in [action-if-found] arg of AC_ARG_ENBALE in order
1943 to correctly handle --disable-deprecation-errors.
1944 Same changes for annotations_view AC_ARG_ENABLE.
1946 * gpdf/xpdf/Makefile.am (EXTRA_DIST): Changed value according
1947 to USE_ANNOTS_VIEW cond in order to include annotations view
1948 icons in dist tarball (when annots-view disabled).
1950 2004-01-15 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1952 * gpdf/xpdf/gpdf-view.cc (gpdf_view_link_action_uri)
1953 (gpdf_view_link_action_uri):
1954 * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_popup_menu_item_generate_cb)
1955 (gpdf_thumbnails_view_popup_menu_item_generate_all_cb):
1956 * gpdf/xpdf/gpdf-annots-view.cc (gpdf_annots_view_popup_menu_item_filter_cb)
1957 (gpdf_annots_view_popup_menu_item_plugins_cb):
1958 Fix for Bug #131501.
1959 Some messages punctuations were misplaced.
1960 A syntax error was also corrected in the word "notification".
1962 2004-01-14 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1964 * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_scroll_region_coord):
1965 Changed abs with labs to remove ambiguity on Solaris
1968 2004-01-13 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1970 * gpdf/xpdf/Makefile.am (STOCK_ANNOTS_ICONS, ANNOTS_VIEW_SRCS):
1971 Changed variables assignement to avoid undefined
1972 message from automake-1.4.
1974 * gpdf/gpdf.spec.in:
1975 Removed junk help files in %files list.
1976 Added gnome--pdf.png icon.
1978 * gpdf/xpdf/Page.cc (Page::displaySlice):
1979 Changed the size of the statements
1980 enclosed in ifdef USE_ANNOTS_VIEW in order
1981 to disable annotations display when annots
1984 * gpdf/xpdf/gpdf-bookmarks-view.cc:
1985 * gpdf/xpdf/gpdf-thumbnails-view.cc:
1986 * gpdf/xpdf/gpdf-annots-view.cc:
1987 Changed the way to retrieve menu item widgets
1988 for popup menus. gnome_app_find_menu_pos always
1989 return the same widget ??? now use index in
1992 * gpdf/xpdf/gpdf-stock-icons.h: Added aconf.h
1993 to get USE_ANNOTS_VIEW def.
1995 * gpdf/xpdf/tests/test-gpdf-view.cc (TEST_NEW):
1996 Added new param to gpdf-view constructor.
1997 NULL instead of control for the test.
1999 * gpdf/xpdf/tests/.cvsignore: Add .libs & .deps
2001 * gpdf/xpdf/Thumb.cc:
2002 * gpdf/xpdf/Thumb.h: Add implem for Thumb object
2005 * gpdf/xpdf/prefs-strings.h: Defines for gconf keys
2007 * gpdf/xpdf/PDFDoc.h:
2008 * gpdf/xpdf/PDFDoc.cc: Added annots display CB.
2010 * gpdf/xpdf/Page.h: Added getThumb method. Added annots
2011 display CB decl. Added Thumb object field for
2012 thumbnails management.
2014 * gpdf/xpdf/Page.cc (Page::Page): Added thumb object
2016 (Page::display) (Page::displaySlice): Add CB for
2017 annotations in Page display.
2019 Added conditional display of annotation in order to
2020 avoid them when USE_ANNOTS_VIEW is not defined.
2022 * gpdf/xpdf/Outline.cc: Fixed Outline object parsing.
2024 * gpdf/xpdf/Link.cc: Changed some error handling
2025 to make a difference between two parse actions
2026 and have a better report (needed for debug).
2028 * gpdf/xpdf/Makefile.am:
2029 Add conditional ANNOTS_VIEW_SRCS.
2030 Change eog-hig-dialog in gpdf-hig-dialog.
2031 Added new files (srcs & icons) for sidebar and views.
2033 * gpdf/xpdf/gpdf-view.h:
2034 * gpdf/xpdf/gpdf-view.cc:
2035 Add sidebar views interface.
2037 * gpdf/xpdf/gpdf-thumbnails-view.h:
2038 * gpdf/xpdf/gpdf-thumbnails-view.cc:
2039 Implementation of thumbnails view.
2041 * gpdf/xpdf/gpdf-stock-icons.h:
2042 * gpdf/xpdf/gpdf-stock-icons.c: Add icons for
2043 sidebar views (bookmarks, thumbnails and
2046 * gpdf/xpdf/gpdf-sidebar.h:
2047 * gpdf/xpdf/gpdf-sidebar.c:
2048 Sidebar implem inspired from Galeon's one.
2049 Could remove soon the delete page button.
2051 * gpdf/xpdf/gpdf-persist-stream.cc
2052 (gpdf_persist_stream_on_helpbutton_clicked):
2053 Added help button and its callback
2054 for password dialog.
2055 (gpdf_persist_stream_create_password_dialog):
2056 Merged from HEAD (one dialog for both password).
2058 * gpdf/xpdf/gpdf-persist-file.cc
2059 (gpdf_persist_file_on_helpbutton_clicked):
2060 Added help button and its callback
2061 for password dialog.
2062 (gpdf_persist_file_create_password_dialog):
2063 Merged from HEAD (one dialog for both password).
2065 * gpdf/xpdf/gpdf-marshal.list: Added marshalers
2066 VOID:POINTER,INT VOID:POINTER,INT,BOOLEAN and
2067 VOID:INT,INT,INT,INT,INT.
2069 * gpdf/xpdf/gpdf-hig-dialog.c:
2070 * gpdf/xpdf/gpdf-hig-dialog.h: Reused eog HIG dialog
2073 * gpdf/xpdf/gpdf-control.cc (gpdf_control_private_set_status)
2074 (gpdf_control_private_status_timeout, gpdf_control_private_push)
2075 (gpdf_control_private_pop, gpdf_control_private_clear_stack)
2076 (gpdf_control_private_set_fraction)
2077 (gpdf_control_private_set_pulse_step, gpdf_control_private_pulse)
2078 (gpdf_control_private_refresh, gpdf_control_private_set_cursor)
2079 (gpdf_control_private_set_wait_cursor)
2080 (gpdf_control_private_reset_cursor)
2081 (gpdf_control_private_get_bookmarks_view)
2082 (gpdf_control_private_get_thumbnails_view)
2083 (gpdf_control_private_get_annots_view)
2084 (gpdf_control_private_destroy_dialog)
2085 (gpdf_control_private_error_dialog)
2086 (gpdf_control_private_warn_dialog)
2087 (gpdf_control_private_info_dialog)
2088 (gpdf_control_private_question_dialog)
2089 (gpdf_control_private_display_help):
2090 control-private funcs that temporary stay
2091 in gpdf-control but will move to avoid
2092 dependency on gpdf-control.
2093 (gpdf_control_no_postscript_printer_alert):
2094 Changed eog_hig_dialog to gpdf_hig_dialog.
2095 (gpdf_control_read_sidebar_state)
2096 (gpdf_control_save_sidebar_state, gpdf_control_activate_sidebar):
2097 Support for activating sidebar and saving
2098 restoring its state.
2099 (gpdf_control_get_title, gpdf_control_get_bookmarks_view)
2100 (gpdf_control_get_thumbnails_view, gpdf_control_get_annots_view) :
2101 Sidebar internal accessors.
2102 (gpdf_control_update_toggles)
2103 (gpdf_control_view_sidebar_changed_cb)
2104 (gpdf_control_sidebar_close_requested_cb)
2105 (gpdf_control_bookmark_selected_cb)
2106 (gpdf_control_thumbnail_selected_cb)
2107 (gpdf_control_annotation_selected_cb)
2108 (gpdf_control_annotation_toggled_cb)
2109 (gpdf_control_sidebar_page_changed_cb):
2110 Sidebar events management.
2111 (gpdf_control_setup_view_widgets):
2112 Setup sidebar and its pages. Add gnome app bar and
2114 (gpdf_control_disconnected):
2115 Save sidebar state when component disconnect.
2116 (gpdf_control_dispose):
2117 Dispose memory when component released.
2118 (gpdf_control_class_init):
2119 Connect compnent methods. Added global params
2120 instanciation and stock icons init.
2122 2004-01-13 Martin Kretzschmar <m_kretzschmar@gmx.net>
2124 * gpdf/configure.in, NEWS: Version 0.122.
2126 2004-01-13 Martin Kretzschmar <m_kretzschmar@gmx.net>
2128 * gpdf/xpdf/gpdf-control-ui.xml: rename "View Items Placeholder" back
2129 to "Zoom Items Placeholder", put ViewSidebar outside the
2132 * gpdf/xpdf/GPOutputDev.cc (getFontFaceEmbedded): port Xpdf's support
2133 for embedded TrueType fonts.
2135 * gpdf/xpdf/gpdf-thumbnails-view.cc
2136 (gpdf_thumbnails_view_get_tools_menu): we can't generate
2137 thumbnails yet, therefore disable the (empty) tools menu.
2139 * gpdf/xpdf/gpdf-sidebar.c: disable remove button, because we don't
2140 have remove sidebar panes yet.
2142 * gpdf/configure.in: --disable-annotations-view ->
2143 --enable-annotations-view for ui-freeze.
2145 * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_canvas_outline_event_cb):
2146 comment out debug spew.
2148 * gpdf/xpdf/Makefile.am: fixes for USE_ANNOTS_VIEW conditional.
2150 * gpdf/xpdf/gpdf-view.cc (gpdf_view_setup_page_transform)
2151 (gpdf_view_link_action_goto, gpdf_view_link_action_named)
2152 (gpdf_view_link_clicked_cb, gpdf_view_scroll_adjustments_changed_cb)
2153 (gpdf_view_set_pdf_doc):
2154 * gpdf/xpdf/gpdf-control.cc (gpdf_control_class_init):
2155 * gpdf/xpdf/gpdf-control-ui.xml:
2156 * gpdf/xpdf/bonobo-application-x-pdf.cc:
2157 * gpdf/gpdf.spec.in (Requires):
2158 * gpdf/configure.in: Revert disapproved changes.
2160 2004-01-12 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
2162 * gpdf/xpdf/gpdf-control.cc: Added support for sidebar.
2163 Replaced misc string literal with defines. Added
2164 AppBar for status and advancement control.
2165 The Annots view is conditionned by configure var
2166 and define USE_ANNOTS_VIEW.
2168 * gpdf/xpdf/gpdf-control-ui.xml: Add accelerator for
2169 Print (Ctrl-P). Changed 'Zoom Items Placeholder'
2170 in 'View Items Placeholder'.
2171 Added ViewSidebar menuitem (F9). This accel is
2172 a potential conflict with the nautilus one (when
2173 using gpdf nautilus view).
2174 Changed label of Print toolitem to "Print Document".
2176 * gpdf/xpdf/gpdf-control-private.h: The funcs grouped
2177 in this header are for now in gpdf-control but
2178 will move soon. They are utility funcs as
2179 status control, error/warning dialog control, etc.
2181 * gpdf/xpdf/gpdf-bookmarks-view.h:
2182 * gpdf/xpdf/gpdf-bookmarks-view.cc: Implem for
2183 the bookmarks view embed in the sidebar.
2185 * gpdf/xpdf/gpdf-annots-view.h:
2186 * gpdf/xpdf/gpdf-annots-view.cc: Implem for the
2187 annotations view embed in the sidebar. This view
2188 is experimental and may be disabled through
2189 the configure arg --disable-annotations-view.
2191 * gpdf/xpdf/eel-gconf-extensions.h:
2192 * gpdf/xpdf/eel-gconf-extensions.c: Convinient
2193 funcs for gconf usage. These files will move to
2194 the lib directory in order for them to be used
2195 by gnome-pdf-viewer and gpdf.
2197 * gpdf/xpdf/bonobo-application-x-pdf.cc: Moved
2198 global params instanciation and stock icons
2199 init from bonobo-application-x-pdf.cc to
2200 gpdf-control class init.
2202 * gpdf/xpdf/Annot.h: Added getSubtype, getDict and
2203 getRefNum/Gen methods for easier annots
2205 Added dict & subtype fields.
2207 * gpdf/xpdf/Annot.cc (Annot::Annot): Extended Annot
2208 object to read several kind of annotations.
2209 Some more work (in coord with xpdf) is needed...
2210 (Annots::Annots): Same extensions on annotations
2213 * gpdf/po/.cvsignore: Added .intltool*
2215 * gpdf/shell/tests/.cvsignore:
2216 * gpdf/lib/recent-files/.cvsignore:
2217 * gpdf/lib/ggv-sidebar/.cvsignore: Added .deps & .libs.
2219 * gpdf/help/C/gpdf.xml: Added a placeholder for password
2220 dialog documentation (also usefull for testing help
2221 button in password dialog).
2223 * gpdf/Makefile.am (EXTRA_DIST): Added schemas
2225 (schemadir): Definition
2226 (schema_DATA): Definition
2227 Added schemas rules and local target if schemas
2228 have to be installed.
2229 (ACLOCAL_AMFLAGS): Added gnome2-macros to avoid
2230 failure when triggered from makefile (maintainers
2232 (CLEANFILES): Added schemas file
2234 * gpdf/.cvsignore: Added schemas & spec files.
2236 * gpdf/configure.in: Updated required specs.
2237 Removed useless AC_CANONICAL_HOST.
2238 Made --enable-deprecation-errors arg the default
2239 for this dev version.
2240 Add statements for checking gconf commands availability.
2241 Updated PKG_CHECK_MODULES with new requirements.
2242 Added --disable-annotations-view arg for cond annots view
2244 Added gpdf.schemas & gpdf.spec in AC_OUPUT macros.
2246 * gpdf/gpdf.spec.in: Creation of spec file.
2248 * gpdf/gpdf.schemas.in: Creation of schemas file for GPdf.
2250 2004-01-12 Jaka Mocnik <jaka@gnu.org>
2252 * ggv/src/recent-files/*: merge with current libegg HEAD.
2253 * ggv/src/ggv-recent.c: fix in order to work with new recent-files code.
2254 * ggv/src/cursors.c, bonobo/ggv-postscript-view.c: cache cursors per
2255 ps_view instead of per process.
2256 * ggv/src/ggv-window.c (ggv_window_new): set command sensitivity.
2257 added page_count member to keep track of the document's properites.
2258 * ggv/bonobo/ggv-postscript-view.c (view_realized_cb): removed one
2259 unref too many. did this behaviour change with GTK 2.5? hth did
2260 anything work at all in GGV 2.4.x otherwise?
2261 * ggv/src/ggv-window.c (ggv_window_close): deactivate the control frame
2262 before destroying the window contents.
2263 * ggv/src/ggv-ui.xml: moved visibility settings in top level popup menu
2265 * ggv/Makefile.am (EXTRA_DIST): Removed OrigTree.pm from EXTRA_DIST.
2266 * ggv/src/ggv-window.c (timer_callback): reload always when the window
2267 has a specified file name, regardless of the previous state of the
2268 document. use ggv_window_load(). fixes #127214.
2269 * ggv/src/ggv-window.c (verb_FileClose): close window unconditionally. if
2270 it was the last window, quit app. inspired by patch from Mikael
2272 * ggv/src/ggv-ui.xml: removed Exit and New commands. patch from Mikael
2273 Brockman. with the entry above, this fixes #130310.
2274 * ggv/src/gtkgs.c (gtk_gs_munge_adjustments): step_increment now equals
2275 the arrow keys' increment. fixes #126639.
2276 * ggv/bonobo/ggv_postscript-view.c: call
2277 bonobo_control_set_transient_for() and
2278 gtk_window_set_destroy_with_parent() on all dialog windows. I suppose
2279 this should help with #103729, but - wtf! - it doesn't...
2281 2004-01-11 Martin Kretzschmar <m_kretzschmar@gmx.net>
2283 * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_get_password):
2284 (gpdf_persist_file_get_owner_password)
2285 (gpdf_persist_file_get_user_password): merge, use only one passwd
2287 (impl_bonobo_persist_file_load): use it, ask for the passwd once.
2289 * gpdf/xpdf/gpdf-persist-stream.cc (gpdf_persist_stream_get_password):
2290 (gpdf_persist_file_get_owner_password)
2291 (gpdf_persist_file_get_user_password)
2292 (impl_bonobo_persist_stream_load): ditto.
2294 * gpdf/xpdf/gpdf-stock-icons.c (gpdf_stock_icons_init): if fit-width
2295 icon is not installed, use stock fit icon.
2297 2004-01-10 Martin Kretzschmar <m_kretzschmar@gmx.net>
2299 * gpdf/shell/gpdf-window-ui.xml:
2300 * gpdf/shell/gpdf.c (gpdf_window_open): desensitize full screen command
2301 until we have a pdf.
2303 * gpdf/shell/gpdf.c (exit_fullscreen_button_clicked_cb)
2304 (update_exit_fullscreen_popup_position, screen_size_changed_cb)
2305 (gpdf_window_init_fullscreen_popup): exit full screen button,
2306 stolen from epipahny.
2307 (gpdf_window_window_state_changed): use it.
2309 * gpdf/shell/gpdf-window-ui.xml:
2310 * gpdf/shell/gpdf.c:
2311 (gpdf_window_set_fullscreen, gpdf_window_window_state_changed)
2312 (listener_ViewFullScreen, gw_setup_toplevel_ui)
2313 (gpdf_window_construct): implement simple full screen mode.
2315 * gpdf/gpdf.applications: add startup_notify=true.
2317 2004-01-10 Jaka Mocnik <jaka@gnu.org>
2319 * ggv/src/ggv-ui.xml: add a mnemonic for fullscreen mode. fixes #119848.
2320 * ggv/ggv.desktop.in: added X-GNOME-DocPath entry - I suppose it can't
2322 * ggv/ggv.spec.in: fixed (hopefully) the RPM spec file. fixes #122003.
2324 2004-01-04 Martin Kretzschmar <m_kretzschmar@gmx.net>
2326 * gpdf/xpdf/GNOME_PDF.server.in.in: more strings for more fine-grained
2327 translations. (cf. Bug #45462)
2329 2004-01-03 Robert Sedak <robert.sedak@sk.htnet.hr>
2331 * configure.in: Added "hr" in ALL_LINGUAS.
2333 2004-01-02 Taneem Ahmed <taneem@bengalinux.org>
2335 * ggv/configure.in: Added "bn" to ALL_LINGUAS.
2337 2003-12-30 Martin Kretzschmar <m_kretzschmar@gmx.net>
2339 * gpdf/shell/gpdf.c (main, gw_control_load_pdf): replace deprecated
2342 * gpdf/shell/gpdf-recent-view-toolitem.c
2343 (gpdf_recent_view_toolitem_popup): replace deprecated
2344 gnome_popup_menu_do_popup_modal with gtk_menu_popup, adjust
2345 parameter list. Suggested by Ali Akcaagac.
2346 (gpdf_recent_view_toolitem_button_press_event)
2347 (gpdf_recent_view_toolitem_key_press_event): adjust param. list.
2349 * gpdf/xpdf/gtkgesture.c (gesture_data_append_point)
2350 (gtk_gesture_handler_attach): don't use deprecated gdk_gc_unref or
2353 * gpdf/configure.in: add --enable-deprecation-errors option, inspired
2356 * gpdf/xpdf/Makefile.am, shell/Makefile.am,
2357 lib/recent-files/Makefile.am, lib/ggv-sidebar/Makefile.am
2358 (INCLUDES): use GPDF_DEPRECATED_CFLAGS.
2360 2003-12-30 Jaka Mocnik <jaka@gnu.org>
2362 * ggv/Makefile.am: include intltool-modules dir in distribution tarball.
2364 2003-12-29 Martin Kretzschmar <m_kretzschmar@gmx.net>
2366 * gpdf/.cvsignore: ignore depcomp, stamp-h1.
2368 * gpdf/configure.in: post-release version bump.
2370 * gpdf/xpdf/pdf-properties-display.c, xpdf/pdf-info-dict-util.cc,
2371 xpdf/page-control.c, xpdf/gpdf-view.cc,
2372 xpdf/gpdf-links-canvas-layer.cc, xpdf/gpdf-link-canvas-item.cc,
2373 shell/gpdf-recent-view-toolitem.c, shell/eel-vfs-extensions.c:
2374 Use glib/gi18n.h instead of libgnome/gnome-i18n.h
2376 2003-12-29 Martin Kretzschmar <m_kretzschmar@gmx.net>
2378 * gpdf/configure.in: Version 0.121.
2382 2003-12-29 Jaka Mocnik <jaka@gnu.org>
2384 * ggv/src/gtkgs.c (check_filecompressed): added sanity check
2386 * ggv/src/recent-files/*: replace GnomeIconTheme with GtkIconTheme, since
2387 the former is deprecated in upcoming GTK+.
2388 * ggv/src/gtkchecklist.c: replace deprecated gtk_tree_model_get_iter_root()
2389 with gtk_tree_model_get_iter_first().
2390 * ggv/configure.in: added an --enable-deprecations flag in order to allow
2391 configurable use of *_DISABLE_DEPRECATED flags.
2392 bumped version to 2.5.1; tagged as GGV_2_5_1; release a tarball.
2393 * ggv/*/Makefile.am: respect the above.
2395 2003-12-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
2397 * gpdf/configure.in: emit a warning if font embedding is disabled.
2399 * gpdf/xpdf/GPOutputDev.cc (lookupGlyph): new, a little bit better than
2401 (drawString): use lookupGlyph. Fixes a part of bug #116772.
2403 2003-12-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2405 * gpdf/lib/recent-files/Makefile.am (INCLUDES): eek, some
2406 _DISABLE_DEPRECATED defines were still here. Remove them.
2408 * gpdf/shell/gpdf-recent-view-toolitem.c
2409 (gpdf_recent_view_toolitem_instance_init): unset CAN_FOCUS flag,
2410 for consistency with other toolbar button items. In response to
2413 * gpdf/Makefile.am, help/C/Makefile.am, help/es/Makefile.am: fix
2414 distcheck for scrollkeeper stuff.
2416 * gpdf/Makefile.am: delete intltool-* on distclean, not clean, fixes
2419 2003-12-21 Martin Kretzschmar <m_kretzschmar@gmx.net>
2421 gcc 3.3.3 has better diagnostics :-)
2423 * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_unload):
2424 add a missing ``= NULL''
2425 (gpdf_persist_file_on_cancelbutton_clicked)
2426 (gpdf_persist_file_create_password_dialog)
2427 (gpdf_persist_file_destroy): kill dead code.
2429 * gpdf/xpdf/gpdf-persist-stream.cc
2430 (gpdf_persist_file_on_cancelbutton_clicked)
2431 (gpdf_persist_file_create_password_dialog): ditto.
2433 * gpdf/xpdf/gpdf-control.cc (gpdf_control_get_filenam)
2434 (gc_ui_set_pixbufs, gpdf_control_constructor): kill unused
2437 * gpdf/xpdf/gpdf-view.cc (gpdf_view_save_as): ditto.
2439 * gpdf/xpdf/bonobo-application-x-pdf.cc: kill unused factory global.
2441 2003-12-20 Arafat Medini <lumina@silverpen.de>
2443 * configure.in: Added Arabic Locale "ar" to ALL_LINGUAS
2445 2003-12-20 Arafat Medini <lumina@silverpen.de>
2447 * configure.in: Added Arabic locale "ar" to ALL_LINGUAS
2449 2003-12-14 Jaka Mocnik <jaka@gnu.org>
2451 * ggv/src/ggv-window.c (ggv_window_set_fullscreen): applied a patch
2452 from janecek at ucw.cz that uses gtk_window_fullscreen() instead
2453 of my home-brewn stuff used in 2.4.
2454 removed functions and includes made redundant by the above patch.
2455 * ggv/src/Makefile.am: there was no need to link libgtkgs with librecent.a,
2456 so we do not do that anymore.
2458 2003-12-13 Martin Kretzschmar <m_kretzschmar@gmx.net>
2460 * gpdf/configure.in: drop libgnomeui-2.0 >= 2.4.0 requirement.
2462 * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_create_password_dialog),
2463 * gpdf/xpdf/gpdf-persist-stream.cc (gpdf_persist_file_create_password_dialog):
2464 use GTK_STOCK_DIALOG_AUTHENTICATION, not GNOME_STOCK_AUTHENTICATION.
2466 * gpdf/help/es/.cvsignore: add.
2468 * gpdf/.cvsignore, Makefile.am (inltool_extra): update for
2471 * gpdf/shell/gpdf.c (set_window_icon_default, main): set the default
2474 * gpdf/shell/Makefile.am (INCLUDES): define GNOMEICONDIR
2476 * gpdf/shell/gpdf.c, xpdf/gpdf-control.cc: don't
2477 gtk_window_set_default_size (cf. #128636)
2479 * gpdf/configure.in: GtkFileChooser requires gtk+ 2.3
2481 2003-12-11 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2483 * gpdf/help/es, configure.in, help/Makefile.am: Added Spanish help
2485 2003-12-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
2487 * gpdf/xpdf/page-control.c (gpdf_page_control_expose)
2488 (gpdf_page_control_class_init): try to look better with some theme
2489 engines (bug and patch for similar problem pointed out by
2492 * gpdf/test-files/encrypted.pdf: an encrypted pdf, passwords are Foo
2495 * gpdf/test-files/Makefile.am (EXTRA_DIST): dist encrypted.pdf.
2497 * gpdf/xpdf/gpdf-links-canvas-layer.cc: can't make canvas-item
2498 properties construct time-only. Fixes links with glib 2.3.
2500 * gpdf/configure.in: post-release version bump.
2502 2003-12-08 Martin Kretzschmar <m_kretzschmar@gmx.net>
2504 * gpdf/configure.in: Version 0.120, add warning that this is not
2507 * gpdf/NEWS: merge news from stable, update.
2509 * gpdf/README.GPdf: update.
2511 * gpdf/xpdf/gpdf-properties-dialog.glade: declare some atk relations.
2513 * gpdf/xpdf/page-control.c (gpdf_page_control_instance_init)
2514 (gpdf_page_control_setup_at): set some atk names.
2516 * gpdf/xpdf/gpdf-view.cc (gpdf_view_setup_at): set atk role and name
2517 for the GPdfView, fixes #127897.
2519 * gpdf/configure.in: require libgnomeui-2.0 >= 2.4.0 for authentication
2522 * gpdf/xpdf/gpdf-persist-file.cc, xpdf/gpdf-persist-stream.cc
2523 (gpdf_persist_file_create_password_dialog)
2524 (gpdf_persist_file_get_password)
2525 (gpdf_persist_file_get_owner_password)
2526 (gpdf_persist_file_get_user_password): HIGgify a bit: remove
2527 window title, remove unused help button, rename OK button, add
2528 authentication stock icon, frob widget spacing.
2530 * gpdf/xpdf/gpdf-control.cc (gpdf_control_enable_ui): enable print verb
2531 only if the document allows printing.
2533 2003-12-08 Jan Arne Petersen <jpetersen@uni-bonn.de>
2535 * gpdf/shell/gpdf.c: (file_dialog_response), (gw_ask_for_uri):
2536 * gpdf/xpdf/gpdf-control.cc: Replace GtkFileSelection with
2539 2003-12-13 Martin Kretzschmar <m_kretzschmar@gmx.net>
2541 * gpdf/help/es/gpdf.xml, help/es/gpdf-es.omf: made them xmllint clean.
2543 2003-12-07 Martin Kretzschmar <m_kretzschmar@gmx.net>
2545 * gpdf/xpdf/gpdf-control.cc (gpdf_control_enable_ui): handle FileSaveAs
2548 2003-12-06 Martin Kretzschmar <m_kretzschmar@gmx.net>
2550 * gpdf/xpdf/gpdf-persist-file.cc (impl_bonobo_persist_file_load): if
2551 the uri looks like a local path (no uri scheme), transform to a
2552 uri, escaping special chars like '%'. Fixes #128171.
2554 * gpdf/shell/gpdf-recent-view-toolitem.c
2555 (gpdf_recent_view_toolitem_instance_init): set atk name for the
2556 drop down arrow. Fixes #126190.
2557 Patch by Padraig O'Briain <padraig.obriain@sun.com>
2558 Fix copyright lines to include James Willcox (for the gedit code).
2560 * gpdf/xpdf/gpdf-view.cc (gpdf_view_save_as): Comment that it expects
2561 the filename in on-disk encoding.
2563 * gpdf/xpdf/gpdf-control.cc (gpdf_control_get_filename): comment why it
2564 doesn't return utf-8, remove FIXME; s/const gchar*/gchar*/ because
2565 we return g_strdupped memory. Fix fileselection title.
2566 (verb_SaveAs_cb): plug leak (s/const gchar*/gchar*/)
2568 * gpdf/xpdf/gpdf-control-ui.xml: renamed "Save document as" to "Save a
2569 Copy" because we continue displaying the original file.
2571 2003-12-05 Jan Arne Petersen <jpetersen@uni-bonn.de>
2573 * ggv/bonobo/ggv-postscript-view.c: (verb_FileSaveMarked):
2574 * ggv/src/ggv-window.c: (verb_FileOpen): Replace GgvFileSel
2575 (GtkFileSelection) with GtkFileChooser.
2576 * ggv/src/Makefile.am:
2577 * ggv/src/ggv-file-sel.[ch]: removed unused files.
2579 2003-12-01 Mohammad DAMT <mdamt@bisnisweb.com>
2581 * gpdf/configure.in: Added "id" to ALL_LINGUAS
2582 * gpdf/po/id.po: Added Indonesian Translation by Ahmad Riza H Nst <ari@160c.afraid.org>
2584 2003-11-18 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
2586 * gpdf/shell/gpdf.c (gpdf_window_open):
2587 Changed bonobo_object_unref with gtk_widget_destroy (more
2590 * gpdf/xpdf/gpdf-persist-stream.cc (impl_bonobo_persist_stream_load):
2591 * gpdf/xpdf/gpdf-persist-file.cc (impl_bonobo_persist_file_load):
2592 Fixed for BUG# 116663.
2593 Raise exception for password failure to be able to cancel
2594 window opening when catched in gpdf window code.
2596 * gpdf/shell/gpdf.c:
2597 Fixed for BUG# 116663.
2598 (open_request_handler):
2599 Changed window creation flow to be able to correctly
2601 Moved title update (removed here after) at this point
2602 just before window is mapped.
2603 (gw_add_control_to_ui): Removed activation of control
2604 widget (to do it later in creation flow).
2605 (gw_control_load_pdf): Removed update of title to do
2607 (gpdf_window_open): Changed window open flow to take
2608 into account exceptions. Added activation of control
2609 if no exception raised.
2611 * gpdf/xpdf/gpdf-control.cc (gpdf_control_setup_persist):
2612 Merged from gpdf-outlines branch.
2613 Give bonobo control to bonobo persistant
2614 objects for them to handle password dialogs as
2617 * gpdf/xpdf/gpdf-persist-stream.h:
2618 * gpdf/xpdf/gpdf-persist-stream.cc:
2619 (gpdf_persist_file_on_entry_activate)
2620 (gpdf_persist_file_on_cancelbutton_clicked)
2621 (gpdf_persist_file_on_okbutton_clicked)
2622 (gpdf_persist_file_create_password_dialog)
2623 (gpdf_persist_file_get_password)
2624 (gpdf_persist_file_get_owner_password)
2625 (impl_bonobo_persist_stream_load)
2626 (gpdf_persist_stream_set_control):
2627 Merged from gpdf-outlines branch.
2628 Add password protected documents support.
2631 * gpdf/xpdf/gpdf-persist-file.h:
2632 * gpdf/xpdf/gpdf-persist-file.cc:
2633 (gpdf_persist_file_on_entry_activate)
2634 (gpdf_persist_file_on_cancelbutton_clicked)
2635 (gpdf_persist_file_on_okbutton_clicked)
2636 (gpdf_persist_file_create_password_dialog)
2637 (gpdf_persist_file_get_password)
2638 (gpdf_persist_file_get_owner_password)
2639 (gpdf_persist_file_get_user_password)
2640 (impl_bonobo_persist_file_load, gpdf_persist_file_set_control):
2641 Merged from gpdf-outlines branch.
2642 Add password protected documents support.
2645 2003-11-17 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
2647 * gpdf/xpdf/gpdf-control-ui.xml:
2648 * gpdf/xpdf/gpdf-view.cc (gpdf_view_save_as):
2649 * gpdf/xpdf/gpdf-control.cc (gpdf_control_get_filename)
2651 Merge SaveAs feature from gpdf-outlines branch.
2654 * gpdf/shell/gpdf.c (gw_ask_for_uri, gw_open_dialog):
2655 Merged "Open multiple files" feature from
2656 gpdf-outlines branch.
2657 Fix for BUG# 118942.
2659 2003-11-11 Padraig O'Briain <padraig.obriain@sun.com>
2661 * gpdf/xpdf/bonobo-application-x-pdf.cc (main): call gnome_program_init
2662 ( fixes #126516, ignored gconf a11y setting).
2664 2003-11-06 Breda McColgan <Breda.McColgan@sun.com>
2666 * help/C/ggv.xml: Updated for GNOME 2.4.2
2667 * help/C/ggv-C.omf : Updated to reflect new manual version number and
2669 * help/C/l10n.txt: Updated Summary of Changes section
2671 2003-11-03 Shakti <shakti.sen@wipro.com>
2673 * gpdf/gpdf.desktop.in:
2674 Added "%U" as a Exec parameter variable to handle dnd PDF files on launcher.
2675 Fixes the bug#126160
2677 2003-11-02 Jaka Mocnik <jaka@gnu.org>
2679 * ggv/src/ggv-ui.xml: removed redundant separator above prefs item.
2680 * ggv/src/ggv-window.c (verb_HelpContents): if in fullscreen mode,
2681 switch to normal in order to show the help window.
2682 * ggv/src/gtkchecklist.c: implemented range selection (first selected ->
2683 cursor) when clicking with shift pressed. fixes #125760.
2685 2003-10-27 Sanlig Badral <badral@openmn.org>
2687 * gpdf/configure.in: Added "mn" to ALL_LINGUAS.
2689 2003-10-25 Jaka Mocnik <jaka@gnu.org>
2691 * ggv/src/ggv-prefs-ui.[ch]: migrated to GtkComboBox.
2692 removed toolbar style settings.
2693 * ggv/src/ggv-prefs.[ch]: removed toolbar style settings.
2694 * ggv/configure.in: version 2.5.0; tag GGV_2_5_0.
2696 2003-10-14 Chee Bin HOH <cbhoh@mimos.my>
2698 * gpdf/help/C/gpdf.xml: upd.
2700 * gpdf/shell/gpdf.c (verb_HelpAbout_cb): documentation
2702 (verb_HelpContents_cb): new.
2704 2003-10-13 Martin Kretzschmar <m_kretzschmar@gmx.net>
2708 * gpdf/xpdf/gpdf-control.cc (idle_print_handler): fix off-by-one bug
2709 (gpdf_control_print, print_to_file_workaround): make print-to-file
2710 work, needs investigation in gnome-print.
2712 2003-10-10 Jaka Mocnik <jaka@gnu.org>
2714 * ggv/src/gtkgs.c (gtk_gs_zoom_to_fit): fixed a copy'n'paste error!
2715 * ggv/bonobo/ggv-control.c (sw_size_allocate): better calculation of
2716 available size for GtkGS widget.
2718 2003-10-03 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
2720 * gpdf/xpdf/gpdf-control.cc (persist_file_loading_finished_cb):
2721 Fix for BUG #123638.
2722 Add call to gnome_vfs_unescape_string_for_display to remove
2723 escaped chars in title.
2725 * gpdf/help/C/figures/gpdf_start_window.png:
2726 * gpdf/help/C/legal.xml:
2727 * gpdf/help/C/gpdf.xml:
2728 * gpdf/help/C/Makefile.am:
2729 * gpdf/help/C/gpdf-C.omf:
2730 * gpdf/help/C/.cvsignore:
2731 * gpdf/help/Makefile.am:
2732 * gpdf/help/xmldocs.make:
2733 * gpdf/help/.cvsignore:
2734 * gpdf/help/omf.make: Added help written by Chee Bin HOH.
2736 * gpdf/Makefile.am (SUBDIRS): Add help as a SUBDIR.
2738 * gpdf/configure.in: Add help/Makefile and help/C/Makefile in
2739 AC_OUTPUT directive.
2741 === this is HEAD === stable branch is gnome-2-4 ===
2743 2003-09-30 Christian Rose <menthos@menthos.com>
2745 * gpdf/configure.in: Added "eu" to ALL_LINGUAS.
2747 2003-09-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
2749 * gpdf/configure.in: on HP-UX with gcc 3.3, define __STDC_EXT__ (#121730).
2751 2003-09-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
2753 * gpdf/xpdf/gpdf-control.cc (idle_print_handler): forgot to mark one
2754 message for translation. Sorry.
2756 2003-09-26 Christian Neumair <chris@gnome-de.org>
2758 * gpdf/xpdf/gpdf-control.cc (verb_FileProperties_cb):
2759 * gpdf/xpdf/gpdf-properties-dialog.glade: HIGify document property dialog.
2761 * gpdf/xpdf/gpdf-print-progress-dialog.glade: HIGify print progress dialog.
2763 2003-09-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2765 * gpdf/xpdf/gpdf-control.cc (gpdf_print_job_prepare, idle_print_handler:
2766 (gpdf_control_print_job_print, using_postscript_printer)
2767 (gpdf_control_no_preview_alert, gpdf_control_no_postscript_printer_alert)
2768 (gpdf_control_get_range_page, gpdf_control_print_dialog_new)
2769 (gpdf_control_print, verb_FilePrint_cb): implement printing.
2770 (gpdf_control_set_property): disable PersistStream implementation.
2772 * gpdf/xpdf/gpdf-print-progress-dialog.glade: add.
2774 * gpdf/xpdf/gpdf-control-ui.xml: add Print verb, menu item, tool item.
2776 * gpdf/xpdf/Makefile.am (libgpdf_a_SOURCES): include PSOutputDev
2777 (glade_DATA): add gpdf-print-progress-dialog.glade.
2779 * gpdf/xpdf/GNOME_PDF.server.in.in: don't advertise PersistStream
2781 * gpdf/configure.in: bump version to 0.110.99; require libgnomeprint >=
2784 2003-09-22 Taneem Ahmed <taneem@bengalinux.org>
2786 * gpdf/configure.in: Added "bn" to ALL_LINGUAS.
2788 2003-09-08 Mugurel Tudor <mugurelu@go.ro>
2790 * gpdf/configure.in : Added "ro" to ALL_LINGUAS.
2792 2003-09-08 Martin Kretzschmar <m_kretzschmar@gmx.net>
2794 * gpdf/configure.in, NEWS: Version 0.110.
2796 * gpdf/README.GPdf: add note about HP-UX + gcc 3.3 build (#121730).
2798 2003-09-04 Joël Brich <joel.brich@laposte.net>
2800 * gpdf/configure.in : Added "eo" to ALL_LINGUAS.
2802 2003-09-02 Gediminas Paulauskas <menesis@delfi.lt>
2804 * gpdf/configure.in: Added lt to ALL_LINGUAS.
2806 2003-08-29 Irene Ryan <irene.ryan@sun.com>
2808 * ggv/help/C/ggv.sgml: removed this obsolete SGML file
2809 * ggv/help/C/ggv.xml: minor updates to Help for GNOME 2.4 release
2810 * ggv/help/C/ggv-C.omf: updated manual release info
2811 * ggv/help/C/l10n.txt: updated instructions for L10N teams about
2812 changes made in latest Help
2814 2003-08-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
2816 * gpdf/configure.in: Version 0.106.
2818 * gpdf/NEWS: updated.
2820 * gpdf/README: point to README.GPdf.
2822 * gpdf/README.GPdf: new file.
2824 * gpdf/gnome-pdf.png: icon from gnome-icon-theme by Jimmac (Jakub
2827 * gpdf/Makefile.am: dist the icon.
2829 2003-08-25 Mark Finlay <sisob@tuxfamily.org>
2831 * gpdf/gpdf.desktop.in: use gnome-pdf (gnome-icon-theme) icon.
2833 2003-08-19 Yanko Kaneti <yaneti@declera.com>
2835 * gpdf/configure.in: (ALL_LINGUAS) Added Bulgarian (bg).
2837 2003-08-18 Guntupalli Karunakar <karunakar@freedomink.org>
2839 * gpdf/configure.in: Added "hi" to ALL_LINGUAS.
2841 2003-08-13 Jaka Mocnik <jaka@gnu.org>
2843 * ggv/added ggv-recent.*!
2845 2003-08-12 Martin Kretzschmar <m_kretzschmar@gmx.net>
2847 * gpdf/xpdf/gpdf-control.cc (ui_component_set_sensitive): move up.
2848 (gpdf_control_enable_ui): new.
2849 (gc_enable_go_back_verbs, gc_enable_go_forward_verbs)
2850 (gc_enable_history_back_verbs, gc_enable_history_forward_verbs):
2851 replaced by gpdf_control_enable_ui.
2852 (gc_page_changed_enable_page_buttons, gpdf_control_activate)
2853 (gpdf_control_pdf_doc_changed): use gpdf_control_enable_ui,
2854 disable ui if pdf_doc == NULL.
2856 2003-08-12 Jaka Mocnik <jaka@gnu.org>
2858 * ggv/applied patch by Glynn Foster of Sun that adds support for
2859 recent files menu. Thanks!
2861 2003-08-11 Dafydd Harries <daf@parnassus.ath.cx>
2863 * ggv/configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2865 2003-08-09 Sajith V.K <sajith_vk@linuxmail.org>
2867 * gpdf/configure.in: Added "ml" (Malayalam) to ALL_LINGUAS.
2869 2003-08-06 Thomas Vander Stichele <thomas at apestaart dot org>
2871 * ggv/configure.in: make maintainer builds work
2873 2003-08-06 Martin Kretzschmar <m_kretzschmar@gmx.net>
2875 * gpdf/xpdf/eog-hig-dialog.c (eog_hig_dialog_new): add terminating
2876 NULL in g_object_set.
2878 2003-07-29 Martin Kretzschmar <m_kretzschmar@gmx.net>
2880 * gpdf/NEWS, configure.in: Version 0.105
2882 * gpdf/shell/gpdf.c (verb_HelpAbout_cb): add Remi.
2884 2003-07-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2886 * gpdf/test-files/Makefile.am (%.pdf): run pdftex in nonstopmode, let
2887 make ignore pdftex errors (we are only creating test files). Makes
2888 bug #114701 less severe.
2890 2003-07-24 Dafydd Harries <daf@parnassus.ath.cx>
2892 * gpdf/configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2894 2003-07-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2896 * gpdf/xpdf/gpdf-properties-dialog.glade: declared unused dialog title
2897 as not translatable. (Bug #118218).
2899 2003-07-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2901 * gpdf/xpdf/pdf-info-dict-util.cc (pdf_doc_process_properties): added a
2902 comment for translators in front of Yes/No (Bug #118214).
2904 2003-07-20 Jaka Mocnik <jaka@gnu.org>
2906 * ggv/src/Makefile.am: remove built sources from distribution tarball.
2908 2003-07-18 Martin Kretzschmar <m_kretzschmar@gmx.net>
2910 * gpdf/xpdf/gpdf-persist-file.cc (impl_bonobo_persist_file_load): use
2911 more informative error messages when emitting loading-failed. Kill
2913 Whitespace cleanups.
2915 * gpdf/xpdf/gpdf-control.cc (persist_file_loading_failed_cb): kill
2916 redundancy in error message; unset PDF document.
2918 * gpdf/xpdf/eog-hig-dialog.c (eog_hig_dialog_new): remove a newline
2920 2003-07-17 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
2922 * gpdf/xpdf/gpdf-marshal.list (VOID:POINTER,INT)
2923 (VOID:INT,INT,INT,INT,INT): removed wrongly
2924 commited new marshalers. Should have gone to
2927 2003-07-17 Martin Kretzschmar <m_kretzschmar@gmx.net>
2929 * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_class_init)
2930 (impl_bonobo_persist_file_load): emit (new) loading-failed signal
2931 if something goes wrong during load.
2933 * gpdf/xpdf/gpdf-persist-file.h: add slot for loading-failed.
2935 * gpdf/xpdf/gpdf-marshal.list: add VOID:STRING.
2937 * gpdf/xpdf/gpdf-links-canvas-layer.cc: fix include (thanks Remi).
2939 * gpdf/xpdf/gpdf-control.cc (gpdf_control_setup_persist)
2940 (gpdf_control_destroy): on loading-failed signal, display error
2943 * gpdf/xpdf/eog-hig-dialog.h, xpdf/eog-hig-dialog.c: copied from eog;
2944 HIG conforming alert dialog.
2946 * gpdf/xpdf/Makefile.am (libgpdf_a_SOURCES): build eog-hig-dialog
2948 * gpdf/NEWS: updated.
2950 2003-07-14 Jaka Mocnik <jaka@gnu.org>
2952 * ggv/bonobo/ggv-control.c (ggv_control_key_press_event): reverted the
2953 page up/down keys behaviour.
2954 * ggv/bonobo/GNOME_GGV.server.in.in: don't register ourselves as being
2955 able to read PDF files.
2956 * ggv/bonobo/bonobo-postscript-view-ui.xml: add label to File submenu.
2958 * ggv/configure.in: bumoed version to 2.3.2; tag GGV_2_3_2: released a
2961 2003-07-06 Martin Kretzschmar <m_kretzschmar@gmx.net>
2963 * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_class_init):
2964 rename set_pdf signal to loading_finished.
2966 * gpdf/xpdf/gpdf-control.cc (persist_file_loading_finished_cb)
2967 (gpdf_control_setup_persist): ditto.
2969 * gpdf/xpdf/tests/test-pdf-loading.cc: ditto.
2971 * gpdf/xpdf/gpdf-persist-file.h: ditto.
2973 2003-07-05 Martin Kretzschmar <m_kretzschmar@gmx.net>
2975 * gpdf/shell/gpdf.c (file_dialog_ok): if selected filename does not
2976 exist, try to do completion, never try to open.
2978 2003-07-05 Martin Kretzschmar <m_kretzschmar@gmx.net>
2980 * gpdf/shell/gpdf.c (file_dialog_ok): don't try to open a
2981 directory. Code stolen from Gnumeric (gui-util.c).
2982 (file_dialog_cancel, file_dialog_delete_event, gw_ask_for_uri):
2983 hide the file selector before destroying it.
2985 2003-07-05 Martin Kretzschmar <m_kretzschmar@gmx.net>
2987 * gpdf/xpdf/gpdf-view.cc (gpdf_view_clear_history): implement.
2988 (gpdf_view_set_pdf_doc): clear history on set_pdf_doc (for
2991 2003-07-04 Martin Kretzschmar <m_kretzschmar@gmx.net>
2993 * gpdf/xpdf/gpdf-view.h: add scroll_to prototypes
2995 * gpdf/xpdf/gpdf-view.cc (gpdf_view_key_press_event): use
2996 gpdf_view_scroll_to_top and _bottom, kill superfluous/wrong
2997 do_scroll = TRUE statement (twice).
2998 (gpdf_view_scroll_to_top, gpdf_view_scroll_to_bottom): move above
2999 gpdf_view_page_prev.
3000 (gpdf_view_link_action_goto, gpdf_view_page_prev)
3001 (gpdf_view_page_next, gpdf_view_page_first, gpdf_view_page_last)
3002 (gpdf_view_back_history, gpdf_view_forward_history)
3003 (gpdf_view_key_press_event, gpdf_view_key_press_event): when
3004 jumping to another page, scroll to top of the page, except when
3005 browsing backwards with Backspace. Fixes #115173.
3007 * gpdf/xpdf/gpdf-control.cc (gc_set_page_cb): #115173 fix.
3009 2003-07-04 Martin Kretzschmar <m_kretzschmar@gmx.net>
3011 * gpdf/xpdf/gpdf-view.cc (gpdf_view_scroll_to_top)
3012 (gpdf_view_scroll_to_bottom): implement.
3014 * gpdf/configure.in: bump version to 0.104.99.
3016 2003-07-02 Laurent Dhima <laurenti@alblinux.net>
3018 * ggv/configure.in: Added "sq" to ALL_LINGUAS.
3020 2003-07-02 Jordi Mallach <jordi@sindominio.net>
3022 * ggv/ggv.desktop.in: Add X-Bugzilla entries.
3024 2003-07-01 Martin Kretzschmar <m_kretzschmar@gmx.net>
3026 * gpdf/configure.in, NEWS: Version: 0.104.
3028 2003-07-01 Martin Kretzschmar <m_kretzschmar@gmx.net>
3030 * gpdf/xpdf/tests/test-gpdf-control.cc (control_property_title): make
3033 * gpdf/xpdf/GPOutputDev.cc: fix name of Dingbats font.
3035 2003-07-01 Laurent Dhima <laurenti@alblinux.net>
3037 * gpdf/configure.in: Added "sq" to ALL_LINGUAS.
3039 2003-06-30 Martin Kretzschmar <m_kretzschmar@gmx.net>
3041 * gpdf/xpdf/gpdf-control.cc (persist_stream_set_pdf_cb)
3042 (persist_file_set_pdf_cb, persist_file_set_pdf_cb)
3043 (gpdf_control_get_title, gpdf_control_constructor)
3044 (property_bag_get_prop): Plug leak. Don't recompute the title
3045 everytime it is needed. Silly Martin told Remi the wrong place
3048 2003-06-30 Alessio Frusciante <algol@firenze.linux.it>
3050 * gpdf/configure.in (ALL_LINGUAS): added "it" (Italian).
3052 2003-06-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
3054 * gpdf/xpdf/gpdf-font-face.h: change license from GPL v2 to GPL v2 or
3055 later. (with Filip's permission)
3057 * gpdf/xpdf/gpdf-font-face.c: ditto.
3059 * gpdf/configure.in (ALL_LINGUAS): Added "mk" and "he".
3060 (EXTRA_GNOME_CFLAGS) Do not check for freetype explicitly. Build
3061 fix suggested by Ali Akcaagac.
3063 * gpdf/NEWS: updated.
3065 2003-06-26 Stanislav Brabec <sbrabec@suse.cz>
3067 * ggv/configure.in: Fixed discontinued "head -1" syntax to "head -n 1".
3069 2003-06-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
3071 * gpdf/xpdf/gpdf-font-face.c: GnomeFontFace wrapper class for embedded
3072 fonts. Originally by me, this class is from Filip Van Raemdonck.
3074 * gpdf/xpdf/gpdf-font-face.h: header for GPdfFontFace.
3076 * gpdf/xpdf/Makefile.am (libgpdf_a_SOURCES): build gpdf-font-face.[hc].
3077 (INCLUDES): propagate cflags for private gnome-print headers.
3079 * gpdf/xpdf/GPOutputDev.cc (getFontFaceEmbedded):
3080 s/gnome_font_face_download/gpdf_font_face_download/.
3082 * gpdf/configure.in (HAVE_FONT_EMBEDDING): compile with font-embedding
3083 if complete private gnome-print headers are installed.
3085 * gpdf/NEWS: updated.
3087 2003-06-21 Remi Cohen-Scali <remi@cohen-scali.com>
3089 * gpdf/xpdf/gpdf-control.cc (gpdf_control_get_title): Added
3090 URI manipulation stuff for removing file:// for title
3093 * gpdf/shell/gpdf.c (gpdf_window_update_window_title):
3094 Add handling for exception if PB cannot be retrieved.
3095 Also fix a typo about last bonobo_pbclient_get_string_with_default
3098 2003-06-17 Martin Kretzschmar <m_kretzschmar@gmx.net>
3100 * gpdf/xpdf/tests/test-gpdf-control.cc (control_property_title):
3101 * gpdf/xpdf/gpdf-control.cc (gpdf_control_setup_property_bag):
3102 * gpdf/shell/gpdf.c (gpdf_window_update_window_title): plug property
3105 * gpdf/configure.in: fix typo.
3107 2003-06-15 Remi Cohen-Scali <remi@cohen-scali.com>
3109 * gpdf/xpdf/gpdf-view.h:
3110 * gpdf/xpdf/gpdf-view.cc: Add support for history navigation.
3111 (gpdf_free_history_node, gpdf_view_history_stack_page)
3112 (gpdf_view_back_history, gpdf_view_forward_history)
3113 (gpdf_view_is_first_history, gpdf_view_is_last_history): impl.
3114 (gpdf_view_goto_page_no_history): renamed from
3115 gpdf_view_goto_page, made static
3116 (gpdf_view_goto_page): new, history-aware.
3118 * gpdf/xpdf/gpdf-control-ui.xml: Add UI controls for history
3121 * gpdf/xpdf/gpdf-control.cc (gc_page_changed_enable_page_buttons)
3122 (gc_enable_history_forward_verbs, gc_enable_history_back_verbs):
3123 Add update for history controls.
3124 (verb_GoHistoryPrev_cb, verb_GoHistoryNext_cb): Add callbacks and
3125 bonobo verbs for history controls.
3126 (gpdf_control_activate): pretend page change to update commands
3128 (gc_page_changed_enable_page_buttons): handle history buttons.
3130 2003-06-15 Jaka Mocnik <jaka@gnu.org>
3132 * ggv/configure.in: bumped version to 2.3.1; tag GGV_2_3_1; released a
3134 * ggv/src/ggv-window.c: found and released all remaining lost references.
3136 2003-06-14 Jaka Mocnik <jaka@gnu.org>
3138 * ggv/src/ggv-window.c (ggv_window_new): unref the UI container.
3140 2003-06-13 Rajkumar Sivasamy <rajkumar.siva@wipro.com>
3142 * ggv/bonobo/ggv-control-ui.xml:
3143 * ggv/bonobo/ggv-control.c:
3144 * ggv/bonobo/ggv-sidebar.c:
3145 * ggv/bonobo/main.c:
3146 * ggv/src/ggvutils.c:
3147 * ggv/src/ggvutils.h:
3148 * ggv/src/main.c: Register the ggv icons as stock icons, so that the
3149 themes can override them.
3152 2003-06-11 Martin Kretzschmar <m_kretzschmar@gmx.net>
3154 * gpdf/xpdf/GPOutputDev.cc (drawString): don't draw glyphs for
3155 non-printing characters. Fixes #114939.
3157 2003-06-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
3159 * gpdf/shell/gpdf.c (gpdf_window_update_window_title)
3160 (gw_control_load_pdf): set window title according to control's
3163 * gpdf/xpdf/tests/test-pdf-loading.cc: add test for getCurrentFile.
3165 * gpdf/xpdf/tests/test-gpdf-control.cc: add test for title property.
3167 * gpdf/xpdf/gpdf-persist-file.cc
3168 (impl_bonobo_persist_file_getCurrentFile): implement.
3169 (gpdf_persist_file_get_current_uri): implement.
3171 * gpdf/xpdf/gpdf-persist-file.h: declare
3172 gpdf_persist_file_get_current_uri
3174 * gpdf/xpdf/gpdf-control.cc (gc_page_changed_enable_page_buttons): do
3175 nothing unless activated.
3176 (gpdf_control_constructor, gpdf_control_setup_property_bag)
3177 (property_bag_get_prop): add a property bag to the control.
3178 (gpdf_control_get_title, persist_file_set_pdf_cb)
3179 (gpdf_control_destroy, persist_stream_set_pdf_cb): impl. title
3180 property (only an URI ATM).
3184 * gpdf/configure.in: bump version to 0.103.99.
3186 2003-06-06 Martin Kretzschmar <m_kretzschmar@gmx.net>
3188 * gpdf/configure.in: Version 0.103.
3190 * gpdf/NEWS: update.
3192 * gpdf/lib/ggv-sidebar/Makefile.am (libggv_sidebar_a_SOURCES): include
3193 only files that are already needed.
3195 2003-06-03 Martin Kretzschmar <m_kretzschmar@gmx.net>
3197 * gpdf/configure.in: generate lib/ggv-sidebar/Makefile.
3199 * gpdf/lib/Makefile.am (SUBDIRS): add ggv-sidebar.
3201 * gpdf/lib/ggv-sidebar/ggvutils.h, lib/ggv-sidebar/ggv-prefs.h:
3202 everything we need from the ggv files of the same name.
3204 * gpdf/lib/ggv-sidebar/ggvutils.c: plus their implementation.
3206 * gpdf/lib/ggv-sidebar/Makefile.am: add ggvutils.[hc], ggv-prefs.h.
3208 * gpdf/xpdf/Makefile.am: link with ggv-sidebar.
3210 * gpdf/xpdf/gpdf-view.cc: implement GgvDocument interface.
3211 (gpdf_view_get_type): cannot use CLASS_BOILERPLATE with interfaces.
3212 (gpdf_view_get_page_count, gpdf_view_get_page_names)
3213 (gpdf_view_instance_init): for the interface.
3215 * gpdf/xpdf/tests/test-gpdf-view.cc: add tests for GPdfView.
3217 * gpdf/xpdf/tests/.cvsignore: ignore test-gpdf-view.
3219 * gpdf/xpdf/tests/Makefile.am: add new test, link with ggv-sidebar.
3221 2003-06-03 Jaka Mocnik <jaka@gnu.org>
3223 * ggv/src/gtkgs.c (gtk_gs_start_scroll, gtk_gs_end_scroll): optimized:
3224 invalidate 4 tiny rectangles instead of the whole window.
3225 * ggv/src/cursors.c (cursor_get): optimized: create cursor only the first
3228 2003-06-02 Jaka Mocnik <jaka@gnu.org>
3230 * ggv/src/ggv-window.c (set_file_cmds_sensitivity): properly enable
3231 or disable reload and close buttons!
3233 2003-05-30 Jaka Mocnik <jaka@gnu.org>
3235 * ggv/bonobo/ggv-control.c (set_zoom_items_sensitivity): disable zoom spin
3238 2003-05-29 Martin Kretzschmar <m_kretzschmar@gmx.net>
3240 * gpdf/configure.in: define HAVE_FONT_EMBEDDING if gnome-print has the
3241 gnome_font_face_download function
3243 * gpdf/xpdf/GPOutputDev.cc: use HAVE_FONT_EMBEDDING from aconf.h
3245 2003-05-29 Martin Kretzschmar <m_kretzschmar@gmx.net>
3247 * gpdf/xpdf/tests/test-gpdf-control.cc: add tests for GPdfControl
3249 * gpdf/xpdf/tests/Makefile.am, xpdf/tests/.cvsignore: add
3252 * gpdf/xpdf/gpdf-control.cc: use BONOBO_CLASS_BOILERPLATE.
3253 (gpdf_control_new, gpdf_control_construct): kill, use construct
3255 (gpdf_control_class_init): install constructor, properties
3256 persist-stream and persist-file.
3257 (gpdf_control_constructor): constructor impl.
3258 (gpdf_control_setup_page_control, gpdf_control_setup_zoomable)
3259 (gpdf_control_setup_view_widgets): renamed from gc_setup_foo.
3260 (gpdf_control_setup_persist): ditto, connect to PersistFile, too.
3261 (gpdf_control_set_property): impl.
3262 (persist_file_set_pdf_cb): signal callback.
3263 (persist_stream_set_pdf_cb): renamed from gc_set_pdf_cb.
3264 (gpdf_control_pdf_doc_changed): factored out from gc_set_pdf_cb.
3265 (verb_FileProperties_cb): get PDFDoc from priv.
3267 * gpdf/xpdf/gpdf-control.h: kill gpdf_control_new and _construct,
3269 * gpdf/xpdf/bonobo-application-x-pdf.cc (gpdf_factory): also give the
3270 control a PersistFile implementation
3272 * gpdf/xpdf/Makefile.am: moved more code into libgpdf.a.
3274 * gpdf/xpdf/GNOME_PDF.server.in.in: state that we implement
3277 * gpdf/shell/gpdf.c (bonobo_stream_for_uri): kill.
3278 (gw_control_load_pdf): changed to load through PersistFile.
3280 2003-05-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
3282 * gpdf/xpdf/tests/test-pdf-loading.cc: add tests for GPdfPersistFile.
3284 * gpdf/xpdf/gpdf-persist-stream.h: no need to include BonoboStream.h.
3286 * gpdf/xpdf/gpdf-persist-file.h, xpdf/gpdf-persist-file.cc: new class,
3287 implements the PersistFile interface.
3289 * gpdf/xpdf/Makefile.am (libgpdf_a_SOURCES): add gpdf-persist-file.cc,
3290 gpdf-persist-file.h.
3292 * gpdf/xpdf/gpdf-control.cc: reorder includes.
3294 2003-05-26 Jaka Mocnik <jaka@gnu.org>
3296 * ggv/src/ggv-window.c (ggv_window_remove_control): remove timer callback
3298 (ggv_window_close): call ggv_window_remove_control.
3300 2003-05-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
3302 * gpdf/xpdf/gpdf-links-canvas-layer.cc (gnome_canvas_item_new):
3304 * gpdf/xpdf/gpdf-link-canvas-item.cc (gpdf_link_canvas_item_set_link):
3306 * gpdf/xpdf/tests/test-links.cc: refactoring: the LinkItem gets its
3307 directly coordinates from the Link
3309 2003-05-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
3311 * gpdf/xpdf/gpdf-persist-stream.cc:
3312 (impl_bonobo_persist_stream_load)
3313 (impl_bonobo_persist_stream_save, impl_get_content_types)
3314 (gpdf_persist_stream_class_init, gpdf_persist_stream_construct):
3315 implement the PersistStream interface on top of BonoboPersist
3316 instead of the deprecated BonoboPersistStream GObject class.
3317 (gpdf_persist_stream_class_init, gpdf_persist_stream_construct):
3318 changes for BONOBO_CLASS_BOILERPLATE_FULL.
3320 * gpdf/xpdf/gpdf-persist-stream.h: derive directly from BonoboPersist.
3322 * gpdf/xpdf/tests/test-pdf-loading.cc (persist_stream_content_types)
3323 (persist_stream_no_load): test ::getContentTypes and ::save
3324 implementation in GPdfPersistStream.
3326 2003-05-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
3328 * gpdf/xpdf/tests/test-pdf-loading.cc: new test.
3330 * gpdf/xpdf/tests/Makefile.am (TESTS_NEEDING_PDFTEX): add
3333 * gpdf/xpdf/Makefile.am (libgpdf_a_SOURCES): move more files to the lib.
3335 * gpdf/xpdf/gpdf-persist-stream.cc (gpdf_persist_stream_get_length):
3337 (gpdf_persist_stream_delete_doc_and_stream): rename from
3338 delete_pdf_doc_full, simplify.
3339 (load_pdf_from_stream): make priv->pdf_stream local to this method,
3340 kill redundant test for catalog.
3342 * gpdf/xpdf/gpdf-persist-stream.h (gpdf_persist_stream_get_length):
3345 * gpdf/xpdf/gpdf-control.cc (verb_FileProperties_cb): remove file size
3348 * gpdf/xpdf/nautilus-pdf-property-page.cc
3349 (gpdf_nautilus_property_page_set_uri): ditto.
3351 * gpdf/xpdf/pdf-info-dict-util.cc (pdf_doc_process_properties): kill
3352 file size parameter.
3354 * gpdf/xpdf/pdf-info-dict-util.h: ditto.
3356 * gpdf/xpdf/pdf-properties-display.c: kill traces of the file size
3359 2003-05-25 Jaka Mocnik <jaka@gnu.org>
3361 * ggv/README: added some content ;)
3362 * ggv/bonobo/ggv-control.c (ggv_control_key_press_event): explicitly queue
3363 the scrollbar for redraw when doing page wrap.
3364 * ggv/bonobo/ggv-control.c: popup menu on Shift+F10. patch by Padraig
3366 * ggv/src/gtkgs.c: Execute the wait() system call in a loop
3367 so that it doesn't fail with an interrupted signal which
3368 will result in defunct process. fixes #113058. patch by
3370 * ggv/ggv.schemas: improved descriptions. Thanx to menthos for discovering these.
3372 2003-05-24 Jaka Mocnik <jaka@gnu.org>
3374 * ggv/src/gtkgs.[ch] (gtk_gs_set_available_size): new function to set
3375 the visible size that is available to the widget. used to calculate
3376 zoom-to-fit factor in a better manner.
3377 * ggv/bonobo/ggv-control.c: use the above func whenever widget size
3380 2003-05-23 Christian Neumair <chris@gnome-de.org>
3382 * gpdf/shell/gpdf.c: (verb_HelpAbout_cb): Splitted copyright string.
3384 2003-05-20 Martin Kretzschmar <m_kretzschmar@gmx.net>
3386 * gpdf/xpdf/tests/test-links.cc (link_item_click)
3387 (link_item_enter_leave): more tests
3389 * gpdf/xpdf/gpdf-link-canvas-item.cc (gpdf_link_canvas_item_click)
3390 (gpdf_link_canvas_item_enter, gpdf_link_canvas_item_leave)
3391 (gpdf_link_canvas_item_clicked, gpdf_link_canvas_item_event)
3392 (gpdf_link_canvas_item_set_property)
3393 (gpdf_link_canvas_item_class_init): refactor to make it more
3396 * gpdf/xpdf/gpdf-link-canvas-item.h: ditto
3398 2003-05-20 Martin Kretzschmar <m_kretzschmar@gmx.net>
3400 * gpdf/xpdf/gpdf-link-canvas-item.cc
3401 (gpdf_link_canvas_item_mouse_enter)
3402 (gpdf_link_canvas_item_mouse_leave)
3403 (gpdf_link_canvas_item_class_init): add (mouse) enter and leave
3406 * gpdf/xpdf/gpdf-link-canvas-item.h: add signal slots for enter and
3409 * gpdf/xpdf/tests/test-links.cc (link_item_enter_leave): test for the
3412 * gpdf/xpdf/Makefile.am: now the marshallers sources are not shipped
3413 with the dist and correctly build when needed, finally
3415 * gpdf/configure.in: version 0.102.99
3417 2003-05-19 Martin Kretzschmar <m_kretzschmar@gmx.net>
3419 * gpdf/configure.in: Version 0.102
3421 * gpdf/xpdf/Makefile.am: don't do the DONT_DIST_SOURCE thing, breaks
3424 2003-05-19 Martin Kretzschmar <m_kretzschmar@gmx.net>
3426 * gpdf/xpdf/gpdf-view.cc (gpdf_view_render_page): properly destroy the
3427 links layer when switching pages
3429 2003-05-19 Martin Kretzschmar <m_kretzschmar@gmx.net>
3431 * gpdf/xpdf/Makefile.am: don't distribute generated marshallers
3433 2003-05-19 Martin Kretzschmar <m_kretzschmar@gmx.net>
3435 * gpdf/xpdf/gpdf-links-canvas-layer.cc
3436 (gpdf_links_canvas_layer_dispose): plug leak
3438 * gpdf/xpdf/tests/.cvsignore, test-files/.cvsignore: update
3442 2003-05-18 Martin Kretzschmar <m_kretzschmar@gmx.net>
3444 * gpdf/xpdf/tests/test-page-setup.cc, xpdf/tests/test-links.cc:
3447 * gpdf/xpdf/tests/Makefile.am, xpdf/tests/.cvsignore: infrastructure
3449 * gpdf/xpdf/gpdf-view.h: signal slots for close and quit requests
3451 * gpdf/xpdf/gpdf-view.cc (gpdf_view_link_action_named, link_clicked_cb)
3452 (gpdf_view_class_init): implement some named action links:
3453 NextPage, PrevPage, FirstPage, LastPage, signals for Close and Quit
3455 * gpdf/xpdf/Makefile.am (SUBDIRS): add tests
3457 * gpdf/test-files/simple-links.tex: test file, simple pdf links
3459 * gpdf/test-files/.cvsignore, test-files/Makefile.am: infrastructure
3461 * gpdf/configure.in: check for pdftex (not a hard requirement)
3462 add test-files/Makefile and xpdf/tests/Makefile
3466 * gpdf/Makefile.am (SUBDIRS): add test-files
3468 2003-05-18 Martin Kretzschmar <m_kretzschmar@gmx.net>
3470 * gpdf/xpdf/gpdf-view.cc (gpdf_view_motion_notify_event)
3471 (gpdf_view_handle_drag_motion): chain up to parent implementation
3472 of motion-notify, factor out dragging
3473 (gpdf_view_button_press_event): chain up to parent
3474 (gpdf_view_render_page): use GPdfLinksCanvasLayer to draw links
3475 (link_clicked_cb, gpdf_view_link_action_goto): implement simple
3477 (gpdf_view_dispose): unref the links_layer
3479 * gpdf/xpdf/gpdf-persist-stream.cc: store bonoboStream as BaseStream
3481 * gpdf/xpdf/gpdf-marshal.list: add VOID:POINTER
3483 * gpdf/xpdf/gpdf-links-canvas-layer.cc, xpdf/gpdf-links-canvas-layer.h:
3484 new class, links are grouped in such layers
3486 * gpdf/xpdf/gpdf-link-canvas-item.cc, xpdf/gpdf-link-canvas-item.h: new
3487 class, representing links in the GPdfView
3489 * gpdf/xpdf/Makefile.am: move away from $common_sources to convenience
3490 libraries, add gpdf-link-canvas-item.{cc,h},
3491 gpdf-links-canvas-layer.{cc,h}
3493 * gpdf/xpdf/BonoboStream.cc (bfread, bfseek): fix debug messages
3495 2003-05-18 Danilo Å egan <dsegan@gmx.net>
3497 * ggv/configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
3499 2003-05-17 Martin Kretzschmar <m_kretzschmar@gmx.net>
3501 * gpdf/lib/recent-files/egg-recent-model.c: update from egg
3503 * gpdf/lib/recent-files/Makefile.am: fix update target
3505 * gpdf/lib/ggv-sidebar/update-from-ggv.sh: fix
3507 * gpdf/lib/ggv-sidebar/ggv-document.c, lib/ggv-sidebar/ggv-document.h:
3508 new interfaces from GGV
3510 * gpdf/lib/ggv-sidebar: update from ggv
3512 * gpdf/lib/ggv-sidebar/Makefile.am: add ggv-document.[ch], fix update
3513 target, define GNOMEICONDIR
3515 2003-05-15 Jaka Mocnik <jaka@gnu.org>
3517 * ggv/applied a patch from Martin Kretzschmar that decouples GgvSidebar
3518 from GgvPostScriptView via a GgvDocument interface implemented by
3520 * ggv/bonobo/ggv-document.[ch]: new - a GgvDocument interface definition.
3521 * ggv/bonobo/ggv-sidebar.[ch], bonobo/ggv-postscript-view.[ch]: use the
3522 new interface instead of directly using GgvPostScriptView in the
3525 2003-05-13 Martin Kretzschmar <m_kretzschmar@gmx.net>
3527 * gpdf/configure.in: bump version to 0.101.99
3529 * gpdf/xpdf/gpdf-view.cc (setup_page_transform, gpdf_view_render_page):
3530 respect offsets from a page's CropBox/MediaBox (fixes second part
3533 2003-05-10 Martin Kretzschmar <m_kretzschmar@gmx.net>
3535 I'll elaborate a bit on the last change
3537 * ggv/bonobo/ggv-document.h, bonobo/ggv-document.c: new interface with
3538 methods ggv_document_get_page_count and
3539 ggv_document_get_page_names
3541 * ggv/bonobo/ggv-sidebar.c (ggv_sidebar_class_init)
3542 (page_list_selection_changed, ggv_sidebar_create_page_list)
3543 (ggv_sidebar_construct, ggv_sidebar_new): don't depend on
3544 GgvPostScriptView but on the GgvDocument interface; emit a
3545 set_page signal instead of calling ggv_postscript_view_goto_page
3547 * ggv/bonobo/ggv-sidebar.h: ditto
3549 * ggv/bonobo/ggv-postscript-view.h:
3550 (ggv_postscript_view_get_page_count)
3551 (ggv_postscript_view_get_page_names): no longer public
3553 * ggv/bonobo/ggv-postscript-view.c (notify_page_count_change)
3554 (load_ps, ggv_postscript_view_create_ui):
3555 s/ggv_postscript_view_get_page_count/ggv_document_get_page_count/
3556 (ggv_postscript_view_get_type): expand BONOBO_TYPE_FUNC_FULL, add
3557 interface implementation stuff
3558 (ggv_document_interface_init): new, interface foo
3559 (ggv_postscript_view_get_page_count)
3560 (ggv_postscript_view_get_page_names): make static, now they serve
3561 only as implementation of the respective ggv_document:: methods
3562 (ggv_postscript_view_construct, sidebar_set_page): goto_page on
3563 set_page signal from sidebar
3565 * ggv/bonobo/ggv-control.c (ggv_control_create_ui):
3566 s/ggv_postscript_view_get_page_count/ggv_document_get_page_count/
3568 * ggv/bonobo/Makefile.am (ggv_postscript_viewer_SOURCES): add
3569 ggv-document.[ch] to the build
3571 2003-05-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
3573 * gpdf/lib/ggv-sidebar/update-from-ggv.sh,
3574 lib/ggv-sidebar/gtkchecklist.h, lib/ggv-sidebar/gtkchecklist.c,
3575 lib/ggv-sidebar/ggv-sidebar.h, lib/ggv-sidebar/ggv-sidebar.c,
3576 lib/ggv-sidebar/config.h, lib/ggv-sidebar/Makefile.am,
3577 lib/ggv-sidebar/.cvsignore, lib/ggv-sidebar: sidebar code from
3578 ggv, no changes allowed here, is not in the build yet, only
3579 checked in for convenient diffing.
3581 2003-05-09 Christian Neumair <chris@gnome-de.org>
3583 * ggv/ggv.schemas.in: s/postscript/PostScript/.
3585 2003-05-08 Christian Neumair <chris@gnome-de.org>
3587 * ggv/ggv.schemas.in: Fixed two tiny typos.
3589 2003-05-06 Danilo Å egan <dsegan@gmx.net>
3591 * gpdf/configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
3593 2003-05-04 Martin Kretzschmar <m_kretzschmar@gmx.net>
3595 * gpdf/NEWS, configure.in: Version 0.101
3597 2003-05-03 Martin Kretzschmar <m_kretzschmar@gmx.net>
3599 * gpdf/xpdf/gpdf-g-switch.h: add GMutex,
3601 * gpdf/shell/gpdf.c (gpdf_window_new): s/gtk_type_new/g_object_new/,
3602 use construction time properties
3603 (gw_setup_window): kill (replaced by constr. time props)
3604 (gpdf_window_construct): don't call gw_setup_window
3605 (gw_add_control_to_ui, gpdf_window_open): more simplifications due
3607 (gw_activate_control): ditto -> kill
3608 (gw_control_load_pdf, bonobo_stream_for_uri): extract the latter
3610 (gw_setup_local_contents, gw_setup_toplevel_ui)
3611 (gw_setup_recent_menu, gw_setup_recent_toolitem): slot and
3612 ui_component moved to priv
3614 * gpdf/shell/gpdf-window.h (struct _GPdfWindow): move away remaining
3617 2003-05-03 Martin Kretzschmar <m_kretzschmar@gmx.net>
3619 * gpdf/xpdf/pdf-info-dict-util.cc (pdf_info_dict_get_date): don't hand
3620 out invalid times; work around Distiller 3.0 y2k bug.
3622 2003-05-03 Martin Kretzschmar <m_kretzschmar@gmx.net>
3624 * gpdf/xpdf/gpdf-view.cc (gpdf_view_key_press_event): really set
3625 do_scroll when we want to scroll; on PageUp/Down move by whole
3626 pages instead of screenfuls, leave Backspace/Space for that (fixes
3629 2003-05-02 Martin Kretzschmar <m_kretzschmar@gmx.net>
3631 * gpdf/shell/gpdf.c:
3632 (gpdf_window_has_contents, gw_add_control_to_ui)
3633 (gw_control_load_pdf, gw_control_load_pdf, gw_destroy)
3634 (gpdf_window_construct): refactor towards using BonoboWidget
3635 (gw_setup_control_frame): kill
3637 2003-05-02 Martin Kretzschmar <m_kretzschmar@gmx.net>
3639 * gpdf/shell/gpdf.c (gw_control_load_pdf): use a vfs: moniker; check
3642 2003-05-01 Martin Kretzschmar <m_kretzschmar@gmx.net>
3644 * gpdf/shell/gpdf.c (gw_control_load_pdf): don't free uri
3646 2003-05-01 Martin Kretzschmar <m_kretzschmar@gmx.net>
3648 * gpdf/shell/tests/test-uri-input.c (setup, tear_down): extract uri
3649 request logging foo from tests
3650 (open_shell_arg, open_shell_arg_relative): new tests
3652 * gpdf/shell/gpdf.c (create_window): use ::open_shell_arg
3653 (gw_control_load_pdf): only accept uris
3654 (gw_ask_for_uri, gw_ask_for_uri, gw_open_dialog):
3655 variable/function renamings
3657 * gpdf/shell/gpdf-uri-input.h (gpdf_uri_input_open_shell_arg): add
3660 * gpdf/shell/gpdf-uri-input.c (gpdf_uri_input_open_shell_arg): new
3663 * gpdf/shell/eel-string.c, shell/eel-string.h,
3664 shell/eel-vfs-extensions.c, shell/eel-vfs-extensions.h: frome eel
3666 * gpdf/shell/Makefile.am (libgpdfshell_a_SOURCES): add eel-string and
3669 2003-05-01 Martin Kretzschmar <m_kretzschmar@gmx.net>
3671 * gpdf/xpdf/pdf-info-dict-util.cc (pdf_info_dict_get_string): kill
3674 * gpdf/xpdf/gpdf-view.cc (gpdf_view_construct): kill unused variables
3676 * gpdf/xpdf/gpdf-control.cc (gc_zoom_to_fit_width_cb): kill (unused)
3677 (gc_ui_set_pixbufs): kill unused variables
3679 * gpdf/shell/tests/test-uri-input.c: include headers for exit, strcmp
3681 * gpdf/lib/recent-files/Makefile.am (INCLUDES): fix distcheck
3683 * gpdf/gpdf.desktop.in (Icon): use the icon for pdf documents until we
3684 have a nice gpdf icon
3686 * gpdf/NEWS: more antinews
3688 * gpdf/Makefile.am (CLEANFILES): more cleaning
3690 2003-04-30 Martin Kretzschmar <m_kretzschmar@gmx.net>
3692 * gpdf/shell/gpdf-recent-view-toolitem.c: add tooltip to recent files
3695 2003-04-30 Jaka Mocnik <jaka@gnu.org>
3697 * ggv/src/ggv-prefs-ui.[ch] (struct _GgvPrefsDialog): removed ok, cancel
3698 and apply members and all code related to them!
3700 2003-04-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
3702 * gpdf/shell/gpdf.c (menu_position_under_widget)
3703 (open_button_pressed_cb, open_button_key_pressed_cb)
3704 (gw_setup_recent_tool_item, gw_setup_recent_toolitem): factored
3705 out the toolitem with the recent files list
3707 * gpdf/shell/gpdf-recent-view-toolitem.c,
3708 shell/gpdf-recent-view-toolitem.h: new class: button with dropdown
3709 menu of recent files
3711 * gpdf/shell/Makefile.am (libgpdfshell_a_SOURCES): compile
3712 gpdf-recent-view-toolitem.c
3714 2003-04-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
3716 Gotta love compiler warnings.
3718 * gpdf/xpdf/pdf-properties-display.c (gpdf_gtk_label_make_bold): make static
3719 (gpdf_properties_display_class_init): install dispose implementation
3721 * gpdf/xpdf/pdf-info-dict-util.cc (pdf_doc_process_properties): format
3722 file size with %ld, not %d
3724 * gpdf/xpdf/page-control.c: #include stdlib.h for strtol
3726 * gpdf/xpdf/gpdf-view.cc (canonical_multiple_of_90): return statement
3727 was missing, I wonder why it worked
3728 (gpdf_view_key_press_event): silence warning
3729 (gpdf_view_key_press_event): ditto
3731 * gpdf/xpdf/GPOutputDev.cc (initBase14Fonts): use guint as array index
3733 * gpdf/xpdf/BonoboStream.cc (bfseek): silence warning
3735 * gpdf/shell/gpdf.c (open_request_logger): don't define if not debugging
3737 * gpdf/shell/gpdf-uri-input.h: add missing prototypes
3739 * gpdf/shell/gpdf-uri-input.c (gpdf_uri_input_open_uri_list): add
3742 * gpdf/xpdf/Makefile.am, shell/Makefile.am, configure.in: use maximum
3745 2003-04-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
3747 * gpdf/NEWS: updated.
3749 * gpdf/shell/gpdf.c (gpdf_window_construct, gw_setup_recent_tool_item)
3750 (open_button_key_pressed_cb, open_button_pressed_cb)
3751 (menu_position_under_widget): implement recent files drop-down
3752 tool item (taken from gedit)
3753 (verb_HelpAbout_cb): updated (c)
3754 (gw_setup_recent_menu): renamed from gw_setup_recent_files_ui
3756 * gpdf/shell/gpdf-window-ui.xml: added recent files drop-down control
3758 * gpdf/shell/gpdf-recent-facade.c (gpdf_recent_facade_get_model): added
3761 2003-04-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
3763 * gpdf/NEWS: added news and anti-news.
3765 * gpdf/xpdf/gpdf-view.cc (gpdf_view_render_page): honor Rotate info
3766 of the page object. Don't set page layout in print config object,
3767 we handle the page format with calls to the canvas.
3768 (setup_page_transform): renamed from setup_upside_down_transform,
3769 take rotation angle argument.
3770 (canonical_multiple_of_90): new function.
3772 2003-04-24 Abel Cheung <maddog@linux.org.hk>
3774 * ggv/src/ggv-window.c(verb_HelpAbout): Add documenter credits, and
3775 mark more translatable strings.
3776 * ggv/Makefile.am, configure.in, ggv.schemas.in: Make schemas
3777 translatable. Don't shutdown gconfd when installing schemas.
3779 2003-04-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3781 * gpdf/xpdf/Makefile.am (CLEANFILES): rm GNOME_PDF.server.in on clean,
3782 not on distclean (fixes Bug #111404)
3784 2003-04-23 Jaka Mocnik <jaka@gnu.org>
3786 * ggv/src/ggv-prefs-ui.c: added a prefs entry for PDF->DSC command.
3787 * ggv/src/gtkgs.c (gtk_gs_get_postscript): convert PDF to PS before
3789 * ggv/src/gsdefaults.[ch], ggv.schemas: added property pdf2dsc that
3790 stores PDF->DSC conversion command.
3791 * ggv/src/gtkgs.c (check_pdf): reverted to the old way of handling PDFs:
3792 create a DSC file and use the original PDF to show it.
3794 2003-04-19 Hasbullah Bin Pit <sebol@ikhlas.com>
3796 * gpdf/configure.in (ALL_LINGUAS): Added "ms".
3798 2003-04-15 Mike Lei <mike.lei>
3800 * ggv/configure.in: Added Makefile support for l10n help files
3801 * ggv/Add online help files for de es fr it sv ja ko zh_CN zh_TW
3803 2003-04-14 Martin Kretzschmar <m_kretzschmar@gmx.net>
3805 * gpdf/shell/gpdf.c (main, gw_open_recent_file, gw_destroy)
3806 (gw_setup_recent_files_ui, gpdf_window_construct): implement
3807 recent files menu items
3809 * gpdf/shell/gpdf-window-ui.xml: add placeholder for recent files menu
3812 * gpdf/shell/gpdf-recent-facade.h (gpdf_recent_facade_get_model): add
3813 prototype, slot for virtual
3815 * gpdf/shell/gpdf-recent-facade.c (gpdf_recent_facade_get_model): new
3816 (gpdf_recent_facade_instance_init): set limit to list of recent
3819 2003-04-13 Martin Kretzschmar <m_kretzschmar@gmx.net>
3821 * gpdf/shell/gpdf.c (no_contents, find_empty_or_create_new_window)
3822 (open_request_handler, open_request_logger): new functions
3823 (create_window, main, gw_control_load_pdf, gw_drag_data_received)
3824 (gw_open_dialog): use GPdfUriInput
3825 (gpdf_window_has_contents): rename from gw_has_contents, no longer
3827 (gpdf_window_open): s/gw_has_contents/gpdf_window_has_contents/
3829 * gpdf/shell/gpdf-window.h: add prototype for gpdf_window_has_contents
3831 * gpdf/shell/gpdf-recent-facade.h, shell/gpdf-recent-facade.c,
3832 shell/mock-recent-facade.c: new class, plus a mock of it
3834 * gpdf/shell/gpdf-uri-input.h, shell/gpdf-uri-input.c: new class
3836 * gpdf/shell/tests/test-uri-input.c, shell/tests/Makefile.am: unit
3837 tests for gpdf-uri-input
3839 * gpdf/shell/Makefile.am: add new files, compile them into a
3840 convenience library for testing, link gpdf with that lib and with
3843 * gpdf/lib/recent-files: copy of egg recent files stuff
3845 * gpdf/lib, lib/unit-test.h, lib/Makefile.am, lib/.cvsignore: new
3847 * gpdf/xpdf/GPOutputDev.cc (getFontFaceEmbedded): fix bad C++, detected
3848 by Sun compilers. Thanks to Rich Burridge / Sun (Bug: #110402)
3850 * gpdf/xpdf/gpdf-view.cc (gpdf_view_button_press_event): ditto
3852 * gpdf/xpdf/gpdf-util.h (GPDF_BOILERPLATE): kill, identical with
3853 BONOBO_BOILERPLATE since libbonobo 2.2.1
3855 * gpdf/xpdf/nautilus-pdf-property-page.cc (BONOBO_ARG_GET_STRING):
3858 * gpdf/configure.in: bumped version to 0.100.99, require libbonobo 2.2.1
3859 generate Makefiles in lib, lib/recent-files, shell/tests
3861 * gpdf/Makefile.am (SUBDIRS): add lib dir
3863 * gpdf/.cvsignore: ignore release tarballs
3865 2003-04-08 Michael Meeks <michael@ximian.com>
3867 * gpdf/Version 0.100.0
3869 2003-04-07 Jaka Mocnik <jaka@gnu.org>
3871 * ggv/bonobo/ggv-control.c (ggv_control_key_press_event): don't wrap on
3872 arrow keys - only on space and backspace!
3873 * ggv/src/main.c (create_windows_from_cmdline): fix differentiation
3874 of URIs and local file paths.
3875 * ggv/src/gtkgs.c (gtk_gs_size_allocate): always update adjustments.
3876 (gtk_gs_munge_adjustments): if we zoom mode is fit (width|page)
3877 set corresponding adjustments properly.
3879 2003-04-06 Jaka Mocnik <jaka@gnu.org>
3881 * ggv/merged from gnome-2-2 branch - the instant-apply patch.
3882 * src/main.c (main): save geometry upon exit.
3883 * src/ggv-prefs-ui.c: made prefs dialog instant apply.
3884 * src/ggv-prefs.[ch] (ggv_prefs_save): removed.
3885 * src/gsdefaults.[ch] (gtk_gs_defaults_save): removed. moved gconf
3886 operation to gtk_gs_defaults_set_*() functions.
3887 * bonobo/ggv-postscript-view.c (verb_FileSaveMarked): warn even when
3888 overwriting an empty file.
3890 2003-04-05 Samúel Jón Gunnarsson <sammi@techattack.nu>
3892 * gpdf/configure.in: Added "is" in ALL_LINGUAS
3894 2003-04-03 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
3896 * gpdf/xpdf/Makefile.am (ui_DATA): no need for
3897 bonobo-application-x-pdf-ui.xml.
3899 2003-04-03 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
3901 * gpdf/xpdf/GPOutputDev.cc (getFontFaceEmbedded): use
3904 * gpdf/xpdf/page-control.c (gpdf_page_control_setup_tooltips): fix
3906 (gpdf_page_control_setup_tooltips): ref the tooltips object
3908 * gpdf/xpdf/gpdf-properties-dialog.glade, xpdf/pdf-properties-display.c
3909 (gpdf_properties_display_set_property): disable file size label.
3911 2003-04-03 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
3913 * gpdf/xpdf/page-control.c (gpdf_page_control_instance_init)
3914 (gpdf_page_control_setup_tooltips, gpdf_page_control_class_init)
3915 (gpdf_page_control_destroy): add tooltips to the widget
3917 * gpdf/xpdf/pdf-info-dict-util.cc: there are PDFs without
3918 info-dictionary (e.g. OpenOffice.org's), don't crash on them
3920 * gpdf/Makefile.am (EXTRA_DIST): distribute gpdf.applications
3922 2003-04-02 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
3924 * gpdf/gpdf.applications: add
3926 * gpdf/Makefile.am install gpdf.applications
3928 * gpdf/gpdf.keys.in: update.
3930 * gpdf/goo/Makefile.am, shell/Makefile.am, xpdf/Makefile.am: add
3931 top_srcdir to include path for aconf2.h.
3933 * gpdf/goo/Makefile.am, xpdf/Makefile.am: rename libgoo.a to libGoo.a
3934 for consistency with Xpdf, don't install this library;
3935 makefile.w32 is no more.
3937 * gpdf/README: added note that this does not describe the GNOME version.
3939 * gpdf/Makefile.am: don't distribute README.CVS, ANNOUNCE,
3940 makefile.w32, distribute aconf2.h.
3942 * gpdf/CHANGES: added reference to ChangeLog and NEWS.
3944 * gpdf/AUTHORS, NEWS: updated.
3946 * gpdf/configure.in: add bugzilla url to AC_INIT.
3948 * gpdf/xpdf/gpdf-view.cc, xpdf/gpdf-persist-stream.cc,
3949 xpdf/gpdf-control.cc, xpdf/GPOutputDev.cc: consistently wrap debug
3952 2003-04-02 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
3954 * gpdf/configure.in: added tests from Xpdf's configure.in
3956 * gpdf/CHANGES: added note that this describes only Xpdf upstream
3959 2003-04-01 Martin Kretzschmar <m_kretzschmar@gmx.net>
3961 Merge with Xpdf 2.01 and make it build
3963 * gpdf/ANNOUNCE, CHANGES, README, aconf-win32.h: update
3965 * gpdf/xpdf/CharCodeToUnicode.cc, xpdf/Decrypt.cc, xpdf/FTFont.cc,
3966 xpdf/FTFont.h, xpdf/FontEncodingTables.cc, xpdf/Gfx.cc,
3967 xpdf/GfxFont.cc, xpdf/GfxState.cc, xpdf/GfxState.h,
3968 xpdf/GlobalParams.cc, xpdf/GlobalParams.h, xpdf/Link.cc,
3969 xpdf/NameToUnicodeTable.h, xpdf/Stream.cc, xpdf/TextOutputDev.cc,
3970 xpdf/TextOutputDev.h, xpdf/XOutputDev.cc, xpdf/config.h,
3971 xpdf/pdftotext.cc, xpdf/xpdf.cc, xpdf/Outline.cc, xpdf/XPDFApp.cc,
3972 xpdf/XPDFApp.h, xpdf/XPDFCore.cc, xpdf/XPDFCore.h,
3973 xpdf/XPDFViewer.cc, xpdf/XPDFViewer.h: update.
3975 * gpdf/goo/GMutex.h: new file
3977 * gpdf/goo/gfile.cc: update.
3979 * gpdf/goo/Makefile.am: use GMutex.h
3981 * gpdf/doc/pdffonts.1, doc/pdffonts.cat, doc/pdfimages.1,
3982 doc/pdfimages.cat, doc/pdfinfo.1, doc/pdfinfo.cat, doc/pdftopbm.1,
3983 doc/pdftopbm.cat, doc/pdftops.1, doc/pdftops.cat, doc/pdftotext.1,
3984 doc/pdftotext.cat, doc/pdftotext.hlp, doc/xpdf.1, doc/xpdf.cat,
3985 doc/xpdf.hlp, doc/xpdfrc.5, doc/xpdfrc.cat, doc/xpdfrc.hlp: update
3987 2003-04-01 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
3989 Merge with Xpdf 2.02 and make it build
3991 * gpdf/aconf2.h, aconf-dj.h, aconf-win32.h, ANNOUNCE, CHANGES, README,
3992 vms_make.com: update.
3994 * gpdf/xpdf/about-text.h, xpdf/Annot.cc, xpdf/Annot.h, xpdf/Array.cc,
3995 xpdf/Array.h, xpdf/BuiltinFont.cc, xpdf/BuiltinFont.h,
3996 xpdf/BuiltinFontTables.cc, xpdf/BuiltinFontTables.h,
3997 xpdf/Catalog.cc, xpdf/Catalog.h, xpdf/CharCodeToUnicode.cc,
3998 xpdf/CharCodeToUnicode.h, xpdf/CharTypes.h, xpdf/CMap.cc,
3999 xpdf/CMap.h, xpdf/CompactFontTables.h, xpdf/config.h,
4000 xpdf/Decrypt.cc, xpdf/Decrypt.h, xpdf/Dict.cc, xpdf/Dict.h,
4001 xpdf/DisplayFontTable.h, xpdf/Error.cc, xpdf/ErrorCodes.h,
4002 xpdf/Error.h, xpdf/FontEncodingTables.cc,
4003 xpdf/FontEncodingTables.h, xpdf/FontFile.cc, xpdf/FontFile.h,
4004 xpdf/FTFont.cc, xpdf/FTFont.h, xpdf/Function.cc, xpdf/Function.h,
4005 xpdf/Gfx.cc, xpdf/GfxFont.cc, xpdf/GfxFont.h, xpdf/Gfx.h,
4006 xpdf/GfxState.cc, xpdf/GfxState.h, xpdf/GlobalParams.cc,
4007 xpdf/GlobalParams.h, xpdf/ImageOutputDev.cc,
4008 xpdf/ImageOutputDev.h, xpdf/JBIG2Stream.cc, xpdf/JBIG2Stream.h,
4009 xpdf/Lexer.cc, xpdf/Lexer.h, xpdf/Link.cc, xpdf/Link.h,
4010 xpdf/NameToCharCode.cc, xpdf/NameToCharCode.h,
4011 xpdf/NameToUnicodeTable.h, xpdf/Object.cc, xpdf/Object.h,
4012 xpdf/Outline.cc, xpdf/Outline.h, xpdf/OutputDev.cc,
4013 xpdf/OutputDev.h, xpdf/Page.cc, xpdf/Page.h, xpdf/Parser.cc,
4014 xpdf/Parser.h, xpdf/PBMOutputDev.cc, xpdf/PBMOutputDev.h,
4015 xpdf/PDFDoc.cc, xpdf/PDFDocEncoding.cc, xpdf/PDFDocEncoding.h,
4016 xpdf/PDFDoc.h, xpdf/pdffonts.cc, xpdf/pdfimages.cc,
4017 xpdf/pdfinfo.cc, xpdf/pdftopbm.cc, xpdf/pdftops.cc,
4018 xpdf/pdftotext.cc, xpdf/PSOutputDev.cc, xpdf/PSOutputDev.h,
4019 xpdf/PSTokenizer.cc, xpdf/PSTokenizer.h, xpdf/SFont.cc,
4020 xpdf/SFont.h, xpdf/Stream.cc, xpdf/Stream-CCITT.h, xpdf/Stream.h,
4021 xpdf/T1Font.cc, xpdf/T1Font.h, xpdf/TextOutputDev.cc,
4022 xpdf/TextOutputDev.h, xpdf/TTFont.cc, xpdf/TTFont.h,
4023 xpdf/UnicodeMap.cc, xpdf/UnicodeMap.h, xpdf/UnicodeMapTables.h,
4024 xpdf/UTF8.h, xpdf/vms_make.com, xpdf/XOutputDev.cc,
4025 xpdf/XOutputDev.h, xpdf/XPDFApp.cc, xpdf/XPDFApp.h, xpdf/xpdf.cc,
4026 xpdf/XPDFCore.cc, xpdf/XPDFCore.h, xpdf/XPDFTree.cc,
4027 xpdf/XPDFTree.h, xpdf/XPDFTreeP.h, xpdf/XPDFViewer.cc,
4028 xpdf/XPDFViewer.h, xpdf/XPixmapOutputDev.cc,
4029 xpdf/XPixmapOutputDev.h, xpdf/XRef.cc, xpdf/XRef.h: update
4031 * gpdf/goo/gfile.cc, goo/gfile.h, goo/GHash.cc, goo/GHash.h,
4032 goo/GList.cc, goo/GList.h, goo/gmem.c, goo/gmem.h, goo/gmempp.cc,
4033 goo/GMutex.h, goo/GString.cc, goo/GString.h, goo/gtypes.h,
4034 goo/parseargs.c, goo/parseargs.h, goo/vms_make.com: update.
4036 * gpdf/doc/pdffonts.1, doc/pdffonts.cat, doc/pdffonts.hlp,
4037 doc/pdfimages.1, doc/pdfimages.cat, doc/pdfimages.hlp,
4038 doc/pdfinfo.1, doc/pdfinfo.cat, doc/pdfinfo.hlp, doc/pdftopbm.1,
4039 doc/pdftopbm.cat, doc/pdftopbm.hlp, doc/pdftops.1,
4040 doc/pdftops.cat, doc/pdftops.hlp, doc/pdftotext.1,
4041 doc/pdftotext.cat, doc/pdftotext.hlp, doc/xpdf.1, doc/xpdf.cat,
4042 doc/xpdf.hlp, doc/xpdfrc.5, doc/xpdfrc.cat, doc/xpdfrc.hlp:
4045 2003-03-31 Martin Kretzschmar <m_kretzschmar@gmx.net>
4047 Merge with Xpdf 2.00 and make it build
4049 * gpdf/xpdf/Makefile.am: kill traces of ltk, incorporate new sources
4051 * gpdf/Makefile.am, configure.in: don't build the ltk subdir
4053 * gpdf/ANNOUNCE, CHANGES, ChangeLog, README, aconf-dj.h, aconf-win32.h,
4054 dj_make.bat, ms_make.bat, vms_make.com: update
4056 * gpdf/xpdf/LTKOutputDev.cc, xpdf/LTKOutputDev.h, xpdf/postscript.xbm,
4057 xpdf/xpdf-flip.ltk, xpdf/xpdf-ltk.h, xpdf/xpdf-top.ltk,
4058 xpdf/xpdf.ltk: remove.
4060 * gpdf/xpdf/Annot.cc, xpdf/Annot.h, xpdf/Array.cc, xpdf/Array.h,
4061 xpdf/BuiltinFont.cc, xpdf/BuiltinFont.h,
4062 xpdf/BuiltinFontTables.cc, xpdf/CMap.cc, xpdf/CMap.h,
4063 xpdf/Catalog.cc, xpdf/Catalog.h, xpdf/CharCodeToUnicode.cc,
4064 xpdf/CharCodeToUnicode.h, xpdf/Decrypt.cc, xpdf/Decrypt.h,
4065 xpdf/Dict.cc, xpdf/Dict.h, xpdf/Error.cc, xpdf/Error.h,
4066 xpdf/FTFont.cc, xpdf/FTFont.h, xpdf/FontFile.cc, xpdf/FontFile.h,
4067 xpdf/Function.cc, xpdf/Function.h, xpdf/Gfx.cc, xpdf/Gfx.h,
4068 xpdf/GfxFont.cc, xpdf/GfxFont.h, xpdf/GfxState.cc,
4069 xpdf/GfxState.h, xpdf/GlobalParams.cc, xpdf/GlobalParams.h,
4070 xpdf/ImageOutputDev.cc, xpdf/ImageOutputDev.h, xpdf/Lexer.cc,
4071 xpdf/Lexer.h, xpdf/Link.cc, xpdf/Link.h, xpdf/NameToCharCode.cc,
4072 xpdf/NameToCharCode.h, xpdf/NameToUnicodeTable.h, xpdf/Object.cc,
4073 xpdf/Object.h, xpdf/OutputDev.cc, xpdf/OutputDev.h,
4074 xpdf/PBMOutputDev.cc, xpdf/PBMOutputDev.h, xpdf/PDFDoc.cc,
4075 xpdf/PDFDoc.h, xpdf/PSOutputDev.cc, xpdf/PSOutputDev.h,
4076 xpdf/PSTokenizer.cc, xpdf/PSTokenizer.h, xpdf/Page.cc,
4077 xpdf/Page.h, xpdf/Parser.cc, xpdf/Parser.h, xpdf/SFont.cc,
4078 xpdf/SFont.h, xpdf/Stream.cc, xpdf/Stream.h, xpdf/T1Font.cc,
4079 xpdf/T1Font.h, xpdf/TTFont.cc, xpdf/TTFont.h,
4080 xpdf/TextOutputDev.cc, xpdf/TextOutputDev.h, xpdf/UnicodeMap.cc,
4081 xpdf/UnicodeMap.h, xpdf/XOutputDev.cc, xpdf/XOutputDev.h,
4082 xpdf/XRef.cc, xpdf/XRef.h, xpdf/config.h, xpdf/pdffonts.cc,
4083 xpdf/pdfimages.cc, xpdf/pdfinfo.cc, xpdf/pdftopbm.cc,
4084 xpdf/pdftops.cc, xpdf/pdftotext.cc, xpdf/vms_make.com,
4085 xpdf/xpdf.cc: update.
4087 * gpdf/goo/GHash.cc, goo/GHash.h, goo/GList.cc, goo/GList.h,
4088 goo/GString.cc, goo/GString.h: mostly Mac OS X gcc fixage.
4090 * gpdf/doc/pdffonts.1, doc/pdffonts.cat, doc/pdffonts.hlp,
4091 doc/pdfimages.1, doc/pdfimages.cat, doc/pdfimages.hlp,
4092 doc/pdfinfo.1, doc/pdfinfo.cat, doc/pdfinfo.hlp, doc/pdftopbm.1,
4093 doc/pdftopbm.cat, doc/pdftopbm.hlp, doc/pdftops.1,
4094 doc/pdftops.cat, doc/pdftops.hlp, doc/pdftotext.1,
4095 doc/pdftotext.cat, doc/pdftotext.hlp, doc/xpdf.1, doc/xpdf.cat,
4096 doc/xpdf.hlp, doc/xpdfrc.5, doc/xpdfrc.cat, doc/xpdfrc.hlp:
4099 * gpdf/ltk: remove this directory, Xpdf has switched to Lesstif.
4101 * gpdf/aconf2.h, xpdf/JBIG2Stream.cc, xpdf/JBIG2Stream.h,
4102 xpdf/Outline.cc, xpdf/Outline.h, xpdf/PDFDocEncoding.cc,
4103 xpdf/PDFDocEncoding.h, xpdf/XPDFApp.cc, xpdf/XPDFApp.h,
4104 xpdf/XPDFCore.cc, xpdf/XPDFCore.h, xpdf/XPDFTree.cc,
4105 xpdf/XPDFTree.h, xpdf/XPDFTreeP.h, xpdf/XPDFViewer.cc,
4106 xpdf/XPDFViewer.h, xpdf/XPixmapOutputDev.cc,
4107 xpdf/XPixmapOutputDev.h, xpdf/about-text.h, xpdf/backArrowDis.xbm,
4108 xpdf/dblLeftArrowDis.xbm, xpdf/dblRightArrowDis.xbm,
4109 xpdf/findDis.xbm, xpdf/forwardArrowDis.xbm, xpdf/leftArrowDis.xbm,
4110 xpdf/print.xbm, xpdf/printDis.xbm, xpdf/rightArrowDis.xbm: new
4113 2003-03-31 Martin Kretzschmar <m_kretzschmar@gmx.net>
4115 * gpdf/xpdf/zoomOut.xbm, xpdf/zoomIn.xbm, xpdf/makefile.w32,
4116 xpdf/Makefile.in, goo/makefile.w32, makefile.w32: remove, they are
4117 neither in Xpdf 1.01 nor necessary for GPdf
4119 2003-03-13 Christian Rose <menthos@menthos.com>
4121 * ggv/configure.in: Added "ml" to ALL_LINGUAS.
4123 2003-03-11 Paul Duffy <dubhthach@frink.nuigalway.ie>
4125 * gpdf/configure.in: Added Irish (ga) to ALL_LINGUAS
4127 2003-03-07 Irene Ryan <irene.ryan@sun.com>
4129 * ggv/help/C/ggv.xml, ggv-C.omf: updated the help to reflect changes in
4130 V1.99.98 of the application
4131 * ggv/help/C/l10n.txt: added to the instructions for L10N teams translating
4133 * ggv/help/C/figures/ggv_window.png: updated screenshot of the application
4136 2003-03-04 Martin Kretzschmar <m_kretzschmar@gmx.net>
4138 * gpdf/xpdf/GPOutputDev.cc: undo accidental commit (thanks for telling
4141 2003-03-04 Jaka Mocnik <jaka@gnu.org>
4143 * ggv/src/gsdefaults.c (gtk_gs_defaults_changed): fixed a typo:
4145 * ggv/src/gtkgs.c (set_up_page): use HAVE_LOCALE_H instead of
4148 2003-03-03 Martin Kretzschmar <m_kretzschmar@gmx.net>
4150 * gpdf/xpdf/gpdf-control.cc, xpdf/nautilus-pdf-property-page.cc:
4151 extract common pdf properties code:
4153 * gpdf/xpdf/pdf-info-dict-util.cc, xpdf/pdf-info-dict-util.h: the
4156 * gpdf/xpdf/Makefile.am: compile pdf-info-dict-util.{cc,h}.
4158 * gpdf/xpdf/gpdf-control.cc (verb_FileProperties_cb): make the dialog
4159 transient for the control's parent.
4161 2003-03-03 Martin Kretzschmar <m_kretzschmar@gmx.net>
4163 * gpdf/xpdf/nautilus-pdf-property-page.cc
4164 (gpdf_nautilus_property_page_set_uri): plug leaks
4166 2003-03-02 Martin Kretzschmar <m_kretzschmar@gmx.net>
4168 * gpdf/xpdf/nautilus-pdf-property-page.cc,
4169 xpdf/nautilus-pdf-property-page.h: new class, just what the name
4170 says, uses GnomeVFSStream for loading PDFDocs.
4172 * gpdf/xpdf/GnomeVFSStream.cc, xpdf/GnomeVFSStream.h: BaseStream
4173 implementation based on (synchronous) gnome-vfs calls.
4175 * gpdf/xpdf/BonoboStream.cc, xpdf/BonoboStream.h: coding style fixage,
4176 include only what's needed.
4178 * gpdf/xpdf/Makefile.am (gnome_pdf_viewer_SOURCES): also compile
4179 GnomeVFSStream.{cc,h}, nautilus-pdf-property-page.{cc,h}
4181 * gpdf/xpdf/GNOME_PDF.server.in.in: add stanza for the Property Page.
4183 * gpdf/xpdf/bonobo-application-x-pdf.cc: clean up a bit
4184 (gpdf_factory): now we produce the Property Page, too.
4186 * gpdf/xpdf/gpdf-control.cc: include time.h for strftime, mktime.
4188 2003-03-01 Martin Kretzschmar <m_kretzschmar@gmx.net>
4190 I've run intltool-prepare to make the desktop file translatable
4192 * gpdf/gpdf.desktop.in: added
4194 * gpdf/gpdf.desktop: removed
4196 * gpdf/Makefile.am: make gpdf.desktop from gpdf.desktop.in
4198 * gpdf/.cvsignore: ignore gpdf.desktop
4200 2003-02-28 Kaushal Kumar <kaushal.kumar@wipro.com>
4202 * ggv/src/ggv-file-sel.c (ggv_file_sel_ok_clicked): Click on 'OK' should
4203 not close File Open dialog if selection field is blank/null.
4206 2003-02-27 Jaka Mocnik <jaka@gnu.org>
4208 * ggv/bonobo/ggv-control.c: disable zoom items when auto fit mode is
4211 2003-02-26 Ross Burton <ross@burtonini.com>
4213 * gpdf/gpdf.desktop: Fix so that it validates.
4215 * gpdf/Makefile.am: Install the .desktop file into the correct
4216 folder. Also remove intltool-*, which are generated.
4218 2003-02-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
4220 * gpdf/xpdf/pdf-properties-display.c
4221 (gpdf_properties_display_setup_glade): get glade file from its
4222 installed location. Martin, repeat after me: I Will Test The
4225 * gpdf/xpdf/Makefile.am: Added the Glade file to the dist. (Originally
4228 2003-02-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4230 * gpdf/xpdf/pdf-properties-display.c, xpdf/pdf-properties-display.h,
4231 xpdf/gpdf-properties-dialog.glade:
4232 new widget: table with labels displaying properties of PDFs
4234 * gpdf/xpdf/gpdf-control.cc (has_unicode_marker)
4235 (utf16_big_endian_to_utf8, info_dict_get_string)
4236 (info_dict_get_date, gpdf_control_process_string_property)
4237 (gpdf_control_process_date_property)
4238 (gpdf_control_process_properties)
4239 (gpdf_control_properties_dialog_response_cb)
4240 (verb_FileProperties_cb): new: a PDF properties command
4242 * gpdf/xpdf/Makefile.am: build pdf-properties-display.[ch], install
4245 * gpdf/xpdf/.cvsignore: ignore gpdf-properties-dialog.gladep
4247 * gpdf/xpdf/gpdf-persist-stream.h, xpdf/gpdf-persist-stream.cc
4248 (gpdf_persist_stream_get_length): new function
4250 * gpdf/xpdf/gpdf-control-ui.xml: add FileProperties command and menu
4251 item inside a "File Items Placeholder"
4253 * gpdf/shell/gpdf-window-ui.xml: add "File Items Placeholder"
4255 * gpdf/configure.in: check for libglade-2.0
4257 * gpdf/Makefile.am (EXTRA_DIST): don't dist gpdf.mime
4259 * gpdf/xpdf/PDFDoc.cc, xpdf/Function.cc, xpdf/FontFile.cc,
4260 goo/parseargs.c: call atof only in the "C" locale
4262 2003-02-21 Roozbeh Pournader <roozbeh@sharif.edu>
4264 * ggv/configure.in: Added "fa" to ALL_LINGUAS.
4266 2003-02-21 Paisa Seeluangsawat <paisa@colorado.edu>
4268 * ggv/configure.in (ALL_LINGUAS): Added "th".
4270 2003-02-21 Jaka Mocnik <jaka@gnu.org>
4272 * ggv/src/ggv-window.c (ggv_window_remove_control): remove control
4273 from the control frame.
4274 (ggv_window_load): resolve the loaded uri to a desired bonobo
4275 object. this allows for easy integration of gpdf viewer in the
4277 (ggv_window_new): don't create control here. just reserve a place
4280 2003-02-20 Naba Kumar <naba@gnome.org>
4282 * ggv/configure.in, po/hi.po: Added new Hindi translation from
4283 Gnome Hindi Team <indlinux-hindi-gnome@lists.sourceforge.net>
4284 and added hi to ALL_LINGUAS.
4286 2003-02-20 Martin Kretzschmar <m_kretzschmar@gmx.net>
4288 * gpdf/xpdf/GfxState.cc: Applied a patch to fix buffer overflow (CVE:
4289 CAN-2002-1384, Redhat: RHSA-2003:037-09, Debian: DSA-222)
4292 2003-02-20 Dmitry G. Mastrukov <dmitry@taurussoft.org>
4294 * gpdf/configure.in: Added Belarusian to ALL_LINGUAS.
4296 2003-02-18 Martin Kretzschmar <m_kretzschmar@gmx.net>
4298 * gpdf/configure.in: remove GNOME2_X_CHECKS check (currently unused,
4299 will be removed from gnome-common)
4301 2003-02-16 Mohammad DAMT <mdamt@bisnisweb.com>
4303 * ggv/po/id.po: Added Indonesian translation
4304 * ggv/configure.in: Added "id" to ALL_LINGUAS
4306 2003-02-16 Martin Kretzschmar <m_kretzschmar@gmx.net>
4308 * gpdf/xpdf/page-control.c, xpdf/page-control.h: show label " of n
4309 pages" next to the text entry
4310 (gpdf_page_control_set_total_pages): new
4312 * gpdf/xpdf/gpdf-control.cc (gc_set_pdf_cb): notify page toolitem
4315 2003-02-15 Martin Kretzschmar <m_kretzschmar@gmx.net>
4317 * gpdf/xpdf/gpdf-view.h, xpdf/gpdf-view.cc (gpdf_view_first_page)
4318 (gpdf_view_last_page): new
4319 (gpdf_view_goto_page): kill #if'ed out debug message
4321 * gpdf/xpdf/gpdf-control.cc (gc_setup_page_control, gc_setup_zoomable)
4322 (gc_setup_view_widgets): move signal connect calls to places where
4324 (gc_zoom_changed_report_to_zoomable)
4325 (gc_page_changed_update_page_control): renamed from
4326 gc_zoom_changed_cb resp. gc_page_changed_cb
4327 (ui_component_set_sensitive, gc_enable_go_back_verbs)
4328 (gc_enable_go_forward_verbs, gc_page_changed_enable_page_buttons)
4329 (gc_set_ui_container): new, disable some page navigation commands
4331 (gc_set_zoom_items_visibility): do nothing if we can't find a
4332 ui-component (don't g_assert that it's !=NULL)
4334 2003-02-15 Martin Kretzschmar <m_kretzschmar@gmx.net>
4336 * gpdf/xpdf/gpdf-stock-icons.h, xpdf/gpdf-stock-icons.c: new. register
4337 gpdf-zoom-fit-width stock icon with a GtkIconFactory
4339 * gpdf/xpdf/fitwidth.png: redone in 24x24pix instead of 26x26, based on
4340 gtk's zoom-out stock icon and the original fitwidth.png
4342 * gpdf/xpdf/gpdf-control.cc (gc_set_ui_container): s/gc_set_ui_pixbufs/
4344 (gc_ui_set_pixbufs): rewrite to use stock icon machinery, let it
4345 do the correct scaling
4347 * gpdf/xpdf/bonobo-application-x-pdf.cc (main): init our stock icons
4349 * gpdf/xpdf/Makefile.am (gnome_pdf_viewer_SOURCES): add
4350 gpdf-stock-icons.[ch]
4352 2003-02-15 Martin Kretzschmar <m_kretzschmar@gmx.net>
4354 * gpdf/xpdf/GPOutputDev.cc (getFontFaceEmbedded): change (disabled)
4357 * gpdf/shell/gpdf.c (gw_setup_window): set window title
4359 * gpdf/xpdf/GNOME_PDF.server.in.in, shell/gpdf.c: s/Gnome/GNOME/ in
4362 * gpdf/xpdf/page-control.c, xpdf/gpdf-view.cc,
4363 xpdf/gpdf-persist-stream.cc: use our own marshallers
4365 * gpdf/configure.in, xpdf/Makefile.am, xpdf/gpdf-marshal.list: check
4366 for and use glib-genmarshal
4368 * gpdf/xpdf/.cvsignore: ignore generated marshallers
4370 * gpdf/xpdf/Makefile.am: clean up server.in, server files
4372 * gpdf/Makefile.am, gpdf.mime: remove gpdf.mime, application/pdf is
4373 provided by gnome-vfs.mime
4375 2003-02-15 Jaka Mocnik <jaka@gnu.org>
4377 * ggv/configure.in, Makefile.am: applied a patch from Julio Merino
4378 that uses gconf2 AM macros instead of home-brewed code.
4380 2003-02-11 Martin Kretzschmar <m_kretzschmar@gmx.net>
4382 * gpdf/xpdf/page-control.c (gpdf_page_control_realize): make page
4383 number entry 5 chars wide
4385 * gpdf/xpdf/gpdf-control.cc (gc_setup_page_control): don't set width of
4388 * gpdf/xpdf/gpdf-control-ui.xml, xpdf/gpdf-control.cc
4389 (gc_set_ui_pixbufs): scale down Fit Width icon for the View menu
4391 2003-02-11 Martin Kretzschmar <m_kretzschmar@gmx.net>
4393 * gpdf/xpdf/GPOutputDev.cc (getFontFaceFallback): use the system
4394 aliases for fallback
4396 2003-02-11 Martin Kretzschmar <m_kretzschmar@gmx.net>
4398 * gpdf/xpdf/gpdf-control.cc (gc_setup_page_control)
4399 (gc_page_changed_cb): handle set_page of the page-control
4401 * gpdf/xpdf/gpdf-view.h: make gpdf_view_goto_page public
4403 * gpdf/xpdf/page-control.c (gpdf_page_control_return_pressed)
4404 (gpdf_page_control_key_press_event, gpdf_page_control_class_init):
4405 add a set_page signal, emit when <RET> is pressed.
4407 * gpdf/xpdf/page-control.h: fix indentation, add set_page signal.
4409 2003-02-10 Martin Kretzschmar <m_kretzschmar@gmx.net>
4411 * gpdf/xpdf/page-control.c, xpdf/page-control.h: page number entry
4412 widget (for the toolbar)
4414 * gpdf/xpdf/gpdf-control.cc (gc_page_changed_cb)
4415 (gc_ui_add_page_control, gc_setup_page_control): add a
4416 page-control to the toolbar (currently displays page number only)
4417 (gc_set_ui_pixbufs): extracted from gc_set_ui_container
4418 (gc_setup_view_widgets): renamed from gc_setup_widgets
4420 * gpdf/xpdf/gpdf-view.cc, xpdf/gpdf-view.h: add a page_changed signal,
4421 wrap g_signal_emit calls for improved readability
4423 * gpdf/xpdf/Makefile.am (gnome_pdf_viewer_SOURCES): add page-control.c,
4426 * gpdf/xpdf/gpdf-control-ui.xml: add placeholder for page-control
4428 2003-02-09 Christian Rose <menthos@menthos.com>
4430 * gpdf/configure.in: Added "kn" to ALL_LINGUAS.
4432 2003-02-09 Christian Rose <menthos@menthos.com>
4434 * ggv/configure.in: Added "kn" to ALL_LINGUAS.
4436 2003-02-04 Martin Kretzschmar <m_kretzschmar@gmx.net>
4438 * gpdf/xpdf/Makefile.am: fix a comment that prevented definition of
4439 gnome_pdf_viewer_LDADD
4440 Patch by Benjamin Dauvergne <feanor@tol-eressea.org>
4442 2003-02-04 Jaka Mocnik <jaka@gnu.org>
4444 * ggv/configure.in: 1.99.98. tagged as GGV_1_99_98.
4445 * ggv/bonobo/ggv-postscript-view.c, bonobo/ggv-control.c: flip
4446 pages when using cursor keys to scroll.
4448 2003-01-29 Jaka Mocnik <jaka@gnu.org>
4450 * ggv/src/ggv-file-sel.c: applied a patch from Satyajit Kanungo to make
4451 the file selector modal.
4453 2003-01-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4455 * gpdf/xpdf/GPOutputDev.cc, xpdf/Makefile.am: disable font embedding
4456 hack introduced on 2002-12-09 to fix build with current,
4457 extra-clean gnome-print
4459 2003-01-21 Christian Rose <menthos@menthos.com>
4461 * ggv/configure.in: Added "mn" to ALL_LINGUAS.
4463 2003-01-20 Pablo Saratxaga <pablo@mandrakesoft.com>
4465 * ggv/configure.in: Added Macedonian (mk) to ALL_LINGUAS
4467 2003-01-19 Jaka Mocnik <jaka@gnu.org>
4469 * ggv/bonobo/ggv-control.c (ggv_control_construct): don't unref the
4470 widget. ps_view needs to hold the reference!
4471 * ggv/src/ps.c (pages_new): fixed a possible buffer overflow.
4472 * ggv/src/gtkgs.c: applied a patch from Satyajit Kanungo that allows
4473 viewing of non-conformant PDFs.
4475 Wed Jan 15 17:51:50 2003 Jonathan Blandford <jrb@redhat.com>
4477 * ggv/bonobo/ggv-postscript-view.c (ps_view_get_tmp_file): return NULL
4478 in error state instead of just returning. Fixes a warning. It
4479 occurs to me that there is no code to handle this being NULL.
4480 mkstemp almost never fails, so this is low priority.
4482 2003-01-07 Martin Kretzschmar <m_kretzschmar@gmx.net>
4484 * gpdf/xpdf/GPOutputDev.cc: change list of fonts even more to work with
4485 URW fonts on my system FIXME
4486 (~GPOFontMap, startDoc, getFontFaceEmbedded): cache the fonts
4487 extracted from the PDF and downloaded to the print context.
4488 (~GPOutputDev): plug a leak
4490 * gpdf/xpdf/GPOutputDev.h: update class declarations
4492 2003-01-06 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
4494 * gpdf/configure.in: Added Spanish (es) to ALL_LINGUAS.
4496 2003-01-05 Artis Trops <hornet@navigator.lv>
4498 * gpdf/configure.in: Added Latvian (lv) to ALL_LINGUAS.
4500 2003-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
4502 * gpdf/configure.in: Added "fa" (Persian) to ALL_LINGUAS.
4504 2002-12-23 Jaka Mocnik <jaka@gnu.org>
4506 * ggv/configure.in: bumped version to 1.99.97; tagged as GGV_1_99_97.
4507 * ggv/bonobo/ggv-sidebar.c: fixed a typo causing a mis-cast.
4508 * ggv/src/ggv-window.c: applied a patch from chris at gnome-de dot org
4509 that fixes the copyright string.
4511 2002-12-20 Martin Kretzschmar <m_kretzschmar@gmx.net>
4513 * gpdf/xpdf/GPOutputDev.cc (GPOFontMap, ~GPOFontMap): add c'tor, d'tor
4514 (initBase14Fonts, getFontFaceBase14, getFontFaceFallback)
4515 (getFontFace): refactor getFontFace, default to URW fonts for Base
4516 14 fonts, keep these font faces in a hash
4518 2002-12-17 Rajkumar Sivasamy <rajkumar.siva@wipro.com>
4520 * ggv/ggv-prefs-ui.c: Set mnemonics to controls in preferences dialog.
4523 2002-12-17 Miloslav Trmac <mitr@volny.cz>
4525 * gpdf/configure.in (ALL_LINGUAS): Add Czech (cs)
4527 2002-12-13 Jaka Mocnik <jaka@gnu.org>
4529 * ggv/applied patches that add startup notification and priority text
4532 2002-12-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
4534 * gpdf/fitwidth.png: copy from ggv.
4536 * gpdf/xpdf/Makefile.am, xpdf/gpdf-control-ui.xml, xpdf/gpdf-control.cc
4537 (gc_set_ui_container): use it.
4539 * gpdf/stock-zoom-fit-tall.xpm, stock-zoom-fit-wide.xpm,
4540 stock-zoom-fit.xpm, stock-zoom-in.xpm, stock-zoom-out.xpm: kill
4541 Gnome 1 style pixmaps.
4543 2002-12-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
4545 Using the ``nobody is using this code, just break it'' joker: This
4546 adds some kind of support for embedded Type1 fonts. Doesn't
4547 respect gnome-print's privacy. No caching of extracted fonts.
4549 * gpdf/xpdf/GPOutputDev.cc (GPOutputDev::startDoc, setPrintContext):
4550 hand through to the font map
4551 (getStreamContents): adapted from glib
4552 (getFontFaceEmbedded): new, uses experimental
4553 gpdf_gnome_print_add_font
4554 (getFontFace): use getFontFaceEmbedded for fonts with embedded
4557 * gpdf/xpdf/GPOutputDev.h: update declarations,
4558 (GPOFontMap::startDoc, setPrintContext): implemented inline
4560 * gpdf/xpdf/gpdf-view.cc (gpdf_view_set_pdf_doc): call startDoc
4562 * gpdf/xpdf/gpdf-gnome-font.h, xpdf/gpdf-gnome-font.c: new files;
4563 hackish implementation of gnome_print_add_font
4565 * gpdf/xpdf/Makefile.am (gnome_pdf_viewer_SOURCES): add
4566 gpdf-gnome-font.[hc]
4568 2002-11-29 Yanko Kaneti <yaneti@declera.com>
4570 * ggv/src/ggv-window.c (ggv_window_load): add a missing prameter to the
4571 g_locale_to_utf8 call from the previous patch. Fixes tinderbox.
4573 2002-11-28 Jaka Mocnik <jaka@gnu.org>
4575 * ggv/src/ggv-window.c (ggv_window_load): applied a patch from Hidetoshi
4576 Tajima to convert title to utf-8 before setting it.
4578 2002-11-27 Michael Meeks <michael@ximian.com>
4580 * gpdf/xpdf/gpdf-control.cc,
4581 * gpdf/xpdf/gpdf-view.cc: add math.h includes.
4583 2002-11-27 Jaka Mocnik <jaka@gnu.org>
4585 * ggv/src/gtkgs.c (gtk_gs_set_page_size): respect bounding box if
4587 * ggv/bonobo/ggv-control.c (ggv_control_create_ui): set fit width pixbuf
4588 to popup ui component. use smaller pixbufs for menu and popup menu
4590 * ggv/bonobo/ggv-postscript-view-ui.xml: removed pixtype="none".
4592 2002-11-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4594 * gpdf/xpdf/GPOutputDev.cc: remove unused includes
4595 (drawImageMask): implement
4597 * gpdf/xpdf/GPOutputDev.h (drawImageMask): uncomment declaration
4599 * gpdf/xpdf/gpdf-persist-stream.cc (load_pdf_from_stream): allow reuse
4600 of a GPdfPersistStream: delete its old contents, go on as usual
4602 2002-11-22 Jaka Mocnik <jaka@gnu.org>
4604 * ggv/src/gtkgs.c (gtk_gs_goto_page): a fix for bug #85004.
4605 * ggv/src/ggv-prefs-ui.c (ggv_prefs_dialog_new): renamed right-hans side
4607 * ggv/src/ggvutils.c: removed zoom factors larger than 6.0 and smaller
4610 2002-11-21 Martin Kretzschmar <m_kretzschmar@gmx.net>
4612 * gpdf/xpdf/gpdf-view.cc (gpdf_view_render_page): kill page parameter,
4613 get it from priv->requested_page, change return type from void to
4614 gboolean for use as idle handler, always return FALSE
4615 (priv): new field requested_page, rename page => current_page
4616 (gpdf_view_goto_page): don't call ::render_page directly,
4617 g_idle_add it instead
4618 (gpdf_view_page_prev, gpdf_view_page_next): interprete prev and
4619 next relative to requested_page
4620 (gpdf_view_key_press_event): s/page/current_page/
4621 (gpdf_view_set_pdf_doc): don't ::render_page, ::goto_page instead
4623 2002-11-19 Jaka Mocnik <jaka@gnu.org>
4625 * ggv/bonobo/ggv-postscript-view-ui-xml: removed "Override*" commands
4626 and menu items. added "OrientationDocument" and "PaperSizeDoc"
4627 commands and menu items. this allows for single-click setting of
4628 orientation and size.
4629 * ggv/bonobo/ggv-postscript-view.c: support the above changes.
4630 optimized menu syncing.
4631 * ggv/src/gtkgs.[ch]: constification of parameters.
4632 * ggv/src/gtkgs.c, src/ps.c: better handling of page and document
4635 2002-11-17 Martin Kretzschmar <m_kretzschmar@gmx.net>
4637 * gpdf/shell/gpdf.c: include aconf.h before gpdf-window.h to
4638 enable translation of the shell
4640 2002-11-15 Martin Kretzschmar <mk793652@mail.inf.tu-dresden.de>
4642 * gpdf/configure.in: require libgnomeprint(ui)-2.2
4644 2002-11-15 Jaka Mocnik <jaka@gnu.org>
4646 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_create_ui): freeze
4647 UI component _before_ merging UI. this enables us to put sidebar
4648 on the right when opening a window.
4649 * ggv/src/ggv-prefs-ui.c (ggv_prefs_dialog_new): fixed placement of
4650 orientation choice menu.
4652 2002-11-13 Dmitry G. Mastrukov <dmitry@taurussoft.org>
4654 * ggv/configure.in: Added Belarusian to ALL_LINGUAS.
4656 2002-11-10 Martin Kretzschmar <m_kretzschmar@gmx.net>
4658 * gpdf/xpdf/gpdf-control.cc (gc_set_zoom_items_visibility)
4659 (ui_component_set_hidden): hide zoom commands if we have a
4662 2002-11-10 Martin Kretzschmar <m_kretzschmar@gmx.net>
4664 * gpdf/xpdf/gpdf-control.cc (gc_zoom_changed_cb): report gpdf_view's
4665 changed zoom level to bonobo zoomable
4666 (gc_setup_widgets): install zoom_changed handler
4668 * gpdf/xpdf/gpdf-view.cc (gpdf_view_class_init): install zoom_changed
4670 (gpdf_view_zoom): emit zoom_changed signal
4672 * gpdf/xpdf/gpdf-view.h (GPdfViewClass): add zoom_changed signal slot
4674 * gpdf/configure.in: yacob Added am to ALL_LINGUAS without change log
4677 2002-11-10 Jaka Mocnik <jaka@gnu.org>
4679 * configure.in: moved version to 1.99.96. tagged as GGV_1_99_96.
4681 2002-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
4683 * gpdf/xpdf/Makefile.am: don't build pdf_view.o, GOutputDev.o
4685 2002-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
4687 * gpdf/xpdf/gpdf-control.cc: remove all references to old PdfView class
4688 (preferred_zoom_levels, preferred_zoom_level_names): add more zoom
4690 (gc_zoom_level_from_index): kill
4691 (gpdf_control_zoom_in, gpdf_control_zoom_out)
4692 (gpdf_control_zoom_fit_width, gpdf_control_zoom_fit)
4693 (gpdf_control_zoom_default, gc_zoomable_set_zoom_level_cb):
4694 rewrite using GPdfView methods
4696 * gpdf/xpdf/gpdf-view.cc (gpdf_view_zoom_in, gpdf_view_zoom_fit)
4697 (gpdf_view_zoom_fit_width): implement
4699 * gpdf/xpdf/gpdf-view.h: add zoom function prototypes
4701 * gpdf/xpdf/bonobo-application-x-pdf.cc (main):
4702 * gpdf/shell/gpdf.c (main): s/PACKAGE/GETTEXT_PACKAGE/ in *textdomain
4705 * gpdf/xpdf/Makefile.am, goo/Makefile.am: fix distcheck
4707 2002-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
4709 * gpdf/xpdf/gpdf-view.cc (gpdf_view_key_press_event): xpdf page
4710 numbering is not zero-based!
4712 * gpdf/xpdf/GfxState.cc (GfxDeviceCMYKColorSpace::getRGB): special case
4715 * gpdf/xpdf/GPOutputDev.h: declare drawImage
4717 * gpdf/xpdf/GPOutputDev.cc (getFontFace): forgot to rename one
4718 font_name to gfont_name; cleanup whitespace in the source
4719 (drawImage): implement. (Does not render output on
4720 GnomePrintPreview older than 2002-06-14)
4722 * gpdf/shell/gpdf.c (gw_control_load_pdf): s|file://|file:|
4724 2002-11-09 Jaka Mocnik <jaka@gnu.org>
4726 * ggv/src/ggv-ui.xml: moved Layout submenu from Edit to View menu.
4728 * ggv/bonobo/ggv-postscript-view-ui.xml: fixed accelerators for
4729 navigation. fixes #97842.
4730 * ggv/src/gtkgs.c (gtk_gs_goto_page): applied patch from satyajit that
4731 fixes occasional erroneous refreshes of non-structured docs. fixes
4733 * ggv/bonobo/ggv-sidebar.c (ggv_sidebar_construct): change coordinate
4734 widget to GtkEntry instead of GtkLabel in order to prevent resizing
4735 when text grows. make it horizontally as small as possible! fixes
4738 2002-11-06 Jaka Mocnik <jaka@gnu.org>
4740 * ggv/acconfig.h: remove. changes from 2002-11-04 have rendered it
4743 2002-11-05 Martin Kretzschmar <mk793652@mail.inf.tu-dresden.de>
4745 * gpdf/xpdf/GPOutputDev.cc (updateFont): extract GfxFont->GnomeFont
4746 mapping into its own class: GPOFontMap
4747 (getFontFace): I'm cheating. This first implementation makes only
4748 some Basic-14-PostScript fonts look nice
4750 * gpdf/xpdf/GPOutputDev.h: add GPOFontMap class
4751 (GPOutputDev): add GPOFontMap member
4753 2002-11-05 Jaka Mocnik <jaka@gnu.org>
4755 * ggv/src/gtkgs.[ch], src/gsdefaults.[ch], src/ggv-prefs-ui.c,
4756 bonobo/ggv-postscript-view.c, ggv.schemas: from now on, we no
4757 longer make a DSC file from PDF and use it to navigate through PDF,
4758 but instead we convert every PDF to PS and show it. benefits?
4759 enables printing and saving of PDF files and solves some issues
4760 with deducing orientation and page size from PDFs. cost? a bit
4761 slower, especially for large PDFs.
4763 2002-11-04 Jaka Mocnik <jaka@gnu.org>
4765 * ggv/acconfig.h: removed, so that newer autoconfs don't spit warnings
4766 about deprecation at us.
4767 * ggv/configure.in: added 3rd arg to AC_DEFINE*() in order to get nice
4768 comments in config.h.
4769 * ggv/bonobo/main.c (ggv_postscript_viewer_factory): removed signal
4770 handlers as they caused ggv to hang when rapidly starting/stopping
4772 * ggv/bonobo/ggv-control.c: sync auto-fit items with defaults on startup
4773 and set their sensitivity according to the status of the loaded
4776 2002-11-03 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
4778 * gpdf/xpdf/GPOutputDev.cc (GPOutputDev): kill one-arg constructor,
4779 more initializations in zero-arg constructor
4780 (startPage, restoreState, updateFillColor)
4781 (updateFillColorIfNecessary, updateStrokeColor)
4782 (updateStrokeColorIfNecessary, stroke, fill, eoFill): remember if
4783 the last color set was for stroking or for non-stroking
4784 operations, set the color again IfNecessary
4785 (updateLineDash, updateFillColor, updateStrokeColor, updateFont)
4786 (doPath): this is C++, so move declarations of variables to their
4787 first use and initialize them there
4788 (updateFillColor, updateStrokeColor, updateFillOpacity)
4789 (updateStrokeOpacity): hande opacity, always set color and opacity
4791 (updateFont): store the GnomeFont we want to use later; font
4792 handling still non-existant
4793 (updateTextPos): store the text position
4794 (updateTextShift): new, updates text position
4795 (getFillColorRGBA): new, creates a RRGGBBAA gint from a GfxState
4796 (drawString): rewritten to use Glyphlist machinery, quite okay
4797 ( for western locales) now
4799 * gpdf/xpdf/GPOutputDev.h: update prototypes, new private members
4801 * gpdf/xpdf/gpdf-control.cc (gc_key_press_event_cb): kill, GPdfView
4802 handles all its key events
4803 (gc_setup_widgets): don't connect killed handler; gpdf_view, grab
4806 * gpdf/xpdf/gpdf-view.cc (gpdf_view_construct): factor out:
4807 (gpdf_view_setup_page_background): and add:
4808 (gpdf_view_setup_gesture_handler): guess what it does
4809 (gesture_page_next_event_cb, gesture_page_prev_event_cb)
4810 (gesture_page_first_event_cb, gesture_page_last_event_cb)
4811 (gesture_zoom_in_event_cb, gesture_zoom_out_event_cb): add gesture
4813 (gpdf_view_dispose): destroy gesture handler
4814 (gpdf_view_render_page): improve readability, split out:
4815 (setup_upside_down_transform):
4816 (gpdf_view_zoom, gpdf_view_zoom_in, gpdf_view_zoom_out): new
4817 (gpdf_view_key_press_event): new
4818 (gpdf_view_button_press_event, gpdf_view_button_release_event)
4819 (gpdf_view_motion_notify_event): for dragging the page
4820 (gpdf_view_class_init): install signal handlers
4822 2002-11-03 Jaka Mocnik <jaka@gnu.org>
4824 * ggv/bonobo/ggv-control.c: handle selection of auto-fit mode.
4825 (ggv_control_construct): unref the GtkGS we get from GgvPostScriptView.
4826 * ggv/bonobo/ggv-control-ui.xml: added a menu for selection of auto-fit
4828 * ggv/src/ggv-prefs-ui.[ch]: implemented a choice menu for setting the
4829 default zoom mode for GtkGS widgets!
4830 * ggv/src/ggvutils.[ch]: removed some obsolete func prototypes.
4831 added ggv_auto_fit_modes.
4832 * ggv/src/gsdefaults.[ch]: handle default zoom mode.
4833 * ggv/src/gtkgs.[ch]: added GtkGSZoomMode enum and zoom_mode member to
4834 GtkGS. implemented auto-fit functionality.
4836 2002-10-31 Martin Kretzschmar <m_kretzschmar@gmx.net>
4838 The work on a Gnome Print Output Device starts here. The last
4839 version of the old pixmap based rendering code is tagged
4842 * gpdf/xpdf/gpdf-control.cc (_GpdfControlPrivate): add field for
4844 (gc_setup_widgets, gc_set_pdf_cb, verb_GoPageLast_cb)
4845 (verb_GoPageFirst_cb, verb_GoPageNext_cb, verb_GoPagePrev_cb): use
4846 GPdfView instead of PdfView
4848 * gpdf/xpdf/gpdf-view.cc, xpdf/gpdf-view.h: widget for for GPOutputDev
4849 to draw on. Using GnomePrintPreview.
4851 * gpdf/xpdf/GPOutputDev.cc, xpdf/GPOutputDev.h: new Gnome Print Output
4852 Device class, strokes and fills look (surprisingly) quite okay,
4853 font and text handling is throw-away code
4855 * gpdf/xpdf/gpdf-util.h (BEGIN_C_DECLS, END_C_DECLS): remove macros,
4857 (GPDF_BOILERPLATE, GPDF_CLASS_BOILERPLATE, GPDF_REGISTER_TYPE):
4858 macros from bonobo-macros.h and gnome-macros.h compatible with
4859 c++ type system rules
4861 * gpdf/xpdf/OutputDev.h: declare class Object
4863 * gpdf/xpdf/Gfx.h: include Object.h
4865 * gpdf/configure.in: check for libgnomeprint(ui)-2.0
4867 2002-10-30 Jaka Mocnik <jaka@gnu.org>
4869 * ggv/configure.in: added G*_DISABLE_DEPRECATED to GGV_CFLAGS.
4870 * ggv/*/*.[ch]: elimination of deprecated code.
4871 * ggv/ggv.schemas: added pageflip and scrollstep keys.
4872 * ggv/src/gsdefaults.c: added scroll_step setting: tells what percentage
4873 of viewable area size will be used for scrolling.
4874 * ggv/src/ggv-prefs.[ch], src/ggv-prefs-ui.[ch]: implemented configuration
4876 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_construct):
4877 read gconf setting for "pageflip": if true, pages will be flipped
4878 automatically when scrolled to the edge of document.
4879 * ggv/bonobo/ggv-control.c (zoomable_set_zoom_level_cb): only modify the
4880 adjustment value if it is different from the zoom level being set.
4881 * ggv/src/gtkgs.c (gtk_gs_get_postscript): copy whole non-structured doc.
4882 * ggv/bonobo/ggv-control-ui.xml: added missing tooltips.
4884 2002-10-29 Christian Neumair <chris@gnome-de.org>
4886 * ggv/src/ggv-prefs-ui.c: Make button sequence HIG compliant.
4888 2002-10-26 Jaka Mocnik <jaka@gnu.org>
4890 * ggv/src/ggv-window.c (verb_FileClose): if the document being closed is
4891 the last one, just tell the PostScriptView component to unload the
4892 document and leave the window open. fixes #96792.
4893 (control_property_changed_handler): only display status message if
4894 status is non-empty.
4895 * ggv/idl/Ggv.idl: added close() method.
4896 * ggv/bonobo/ggv-postscript-view.c (impl_GNOME_GGV_PostScriptView_close):
4897 implemented the close() method.
4899 2002-10-23 Martin Kretzschmar <mk793652@mail.inf.tu-dresden.de>
4901 * gpdf/xpdf/gpdf-persist-stream.cc (PARENT_TYPE): that last s/// was
4902 obviously scrambling too many words, make that
4903 BONOBO_TYPE_PERSIST_STREAM
4905 2002-10-23 Jaka Mocnik <jaka@gnu.org>
4907 * ggv/configure.in: unreverted. et.po is now really added.
4909 2002-10-22 jacob berkman <jacob@ximian.com>
4911 * ggv/configure.in (ALL_LINGUAS): revert until et.po gets added
4913 2002-10-22 Jaka Mocnik <jaka@gnu.org>
4915 * ggv/configure.in (ALL_LINGUAS): added "et".
4916 * ggv/po/et.po: added Estonian translation. contributed by Ilmar Kerm.
4918 2002-10-21 Jaka Mocnik <jaka@gnu.org>
4920 * ggv/bonobo/ggv-sidebar.c: fixed some typos.
4922 2002-10-20 Fatih Demir <kabalak@gtranslator.org>
4924 * ggv/configure.in: Added "ta" to the languages' list.
4926 2002-10-19 Jaka Mocnik <jaka@gnu.org>
4928 * ggv/configure.in: "head -c 1" -> "head -1" for portability reasons.
4929 * ggv/src/ggv-file-sel.c: #include <libgnomevfs/gnome-vfs-utils.h>.
4930 * ggv/applied a patch by people at bugzilla-gnome at thewrittenword.com
4931 to enable GGV to find the UI XML files when installed in a different
4934 2002-10-17 Jaka Mocnik <jaka@gnu.org>
4936 * ggv/src/ggv-window.c (verb_FileOpen): remember path of file selector.
4937 * ggv/bonobo/ggv-postscript-view.c (verb_FileSaveMarked): remember path
4939 * ggv/src/ggv-file-sel.c (ggv_file_sel_set_uri): properly unescape uri.
4941 2002-10-16 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
4943 * gpdf/xpdf/gpdf-persist-stream.cc: use gpdf-g-switch.h,
4944 s/BONOBO_PERSIST_STREAM_TYPE/BONOBO_TYPE_STREAM_PERSIST/
4946 * gpdf/xpdf/gpdf-control.cc (gpdf_control_zoom_fit_width)
4947 (gpdf_control_zoom_fit): s/gtk_idle_add/g_idle_add/
4948 (gpdf_control_activate): use BONOBO_CALL_PARENT macro
4949 (gc_setup_widgets): use g_signal_connect, not gtk_signal_connect
4951 * gpdf/xpdf/gpdf-control.h, gpdf-persist-stream.h: replace GTK_CHECK
4952 macros with G_TYPE_CHECK, GtkType with GType
4954 2002-10-16 Jaka Mocnik <jaka@gnu.org>
4956 * ggv/src/ggv-window.c (ggv_window_set_layer): set window layer.
4957 (ggv_window_set_fullscreen): toggle between normal and fullscreen
4959 * ggv/src/ggv-ui.xml: added full screen command and menu items.
4960 * ggv/bonobo/ggv-control.c (_set_zoom_items_sensitivity): simplified code.
4961 * ggv/src/ggvutils.c: added 3/4 and 3/2 zoom levels.
4962 * ggv/bonobo/ggv-control.c (listener_ZoomLevel_cb): simplified code.
4963 * ggv/bonobo/ggv-control-ui.xml: added 3/4 and 3/2 zoom levels.
4965 2002-10-15 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
4967 * gpdf/shell/gpdf.c (gw_open, gw_close): rename to gpdf_window_open,
4968 gpdf_window_close and make them public
4969 (handle_cmdline_args): s/gtk_idle_add/g_idle_add/
4970 (gw_control_load_pdf): fix leaks for error cases
4971 (gpdf_window_open): simplify
4972 (gw_ask_for_filename): use g_signal_connect, not gtk_signal_connect
4974 * gpdf/shell/gpdf-window.h: replace GTK_CHECK macros with G_TYPE_CHECK,
4975 s/bonobo.h/libbonoboui.h/, declare gpdf_window_open, gpdf_window_close
4977 2002-10-13 Martin Kretzschmar <m_kretzschmar@gmx.net>
4979 * gpdf/shell/Makefile.am (-DGNOMELOCALEDIR): define as everybody does
4981 * gpdf/shell/gpdf-window.h: godf_window_get_type returns GType
4983 * gpdf/shell/gpdf.c: use GNOME_CLASS_BOILERPLATE, no need for
4984 gpdf-util.h, GPDF_EMBEDDABLE_IID
4985 (gpdf_window_class_init, gpdf_window_instance_init): rename from
4987 (verb_HelpAbout_cb): gnome_about_new doesn't return a GnomeDialog,
4988 modify to allow only one about dialog
4989 (raise_and_focus): for verb_HelpAbout_cb, from EogWindow
4990 (gw_close): bonobo_main_quit is correct here
4991 (gw_open): release and unref control after adding it to the
4992 control frame. Refcounting seems to work! The server autoexits :-)
4994 * gpdf/xpdf/gpdf-control-ui.xml: add accelerator to View menu
4996 2002-10-12 Martin Kretzschmar <m_kretzschmar@gmx.net>
4998 * gpdf/xpdf/gpdf-control-ui.xml: hide ZoomFitWidth toolbar button
5000 * gpdf/xpdf/gpdf-control.cc (struct _GPdfControlPrivate): don't store a
5002 (gc_setup_persist): ditto
5003 (gpdf_control_destroy): don't unref GPdfPersistStream, we
5005 (gc_setup_zoomable): setup a BonoboZoomable, add_interface
5006 (gc_zoomable_set_zoom_level_cb, gc_zoomable_set_frame_cb):
5007 Callbacks for the zoomable
5008 (gpdf_control_construct): use gc_setup_zoomable
5010 * gpdf/xpdf/GNOME_PDF.server.in.in: add Zoomable repo id
5012 * gpdf/configure.in: don't create intl/Makefile
5014 2002-10-12 Martin Kretzschmar <m_kretzschmar@gmx.net>
5016 * gpdf/xpdf/.cvsignore: add GNOME_PDF.server, GNOME_PDF.server.in
5018 * gpdf/xpdf/pdf-view.cc: don't #include bonobo_application_x_pdf.h,
5019 update for new GObject, GSignal, Bonobo signatures
5020 (setup_pixmap): don't use double buffering
5022 * gpdf/xpdf/gtkgesture.h: s/BEGIN_GNOME_DECLS/G_BEGIN_DECLS/
5024 * gpdf/xpdf/gpdf-persist-stream.h, xpdf/gpdf-control.h, pdf-view.h
5025 (#includes): update, use gpdf-g-switch.h,
5026 s/BEGIN_GNOME_DECLS/G_BEGIN_DECLS/
5028 * gpdf/xpdf/gpdf-persist-stream.cc (#includes): update
5029 (load_pdf_from_stream): Bonobo_Unknown_ref our stream
5030 (delete_pdf_doc_full): unref our stream
5031 (all around) update for new GObject, GSignal, Bonobo signatures
5032 (gpdf_persist_stream_new, gpdf_persist_stream_construct): take iid
5033 parameter to be passed on to bonobo_persist_stream_construct
5035 * gpdf/xpdf/gpdf-embeddable-view.cc: don't include
5036 bonobo-application-x-pdf.h
5038 * gpdf/xpdf/gpdf-control.cc: PARENT_TYPE is BONOBO_TYPE_CONTROL;
5039 update for new GObject, GtkWidget, Bonobo signatures
5041 * gpdf/xpdf/gpdf-control-ui.xml: use gtk-stock-pixmaps
5043 * gpdf/xpdf/bonobo-application-x-pdf.cc (#includes): use
5044 gpdf-g-switch.h, update
5045 (gpdf_factory): don't create embeddable, gpdf_persist_stream_new
5047 (init_gpdf_factory, init_corba, init_bonobo): kill
5048 (main): no need to init gdk_rgb; use BONOBO_FACTORY_INIT,
5049 bonobo_generic_factory_main
5051 * gpdf/xpdf/Makefile.am (INCLUDES, LDADD): update
5052 (bin_PROGRAMS): move gnome-pdf-viewer to libexec_PROGRAMS
5053 (gnome_pdf_viewer_SOURCES): nobody needs
5054 bonobo-application-x-pdf.h, don't build embeddable stuff
5055 (oafdir, oaf_DATA): kill
5056 (server_in_files, serverdir): add, do libexec sed job on
5057 .server.in.in file, add @INTLTOOL_SERVER_RULE@
5058 (uidir): s/gnome/gnome-2.0/
5060 * gpdf/xpdf/GOutputDev.cc (#includes): use gpdf-g-switch.h
5061 (GOutputDev::GOutputDev): get size and depth of pixmap with
5062 gdk_drawable_get_foo background color to white
5063 (all around): gdk_region_foo now destructively update their first
5064 argument, use gdk_rgb to find colors
5065 (drawImageMask): don't gdk_image_new_bitmap
5067 * gpdf/xpdf/gpdf-g-switch.h: new file, include it when switching
5068 between goo and glib headers
5070 * gpdf/xpdf/GNOME_PDF.server.in.in: factory is in @LIBEXECDIR@
5071 s|GNOME/GenericFactory|Bonobo/GenericFactory|, make it
5072 translatable, kill embeddable stanza
5074 * gpdf/xpdf/GNOME_PDF.oafinfo: remove
5076 * gpdf/xpdf/BonoboStream.cc:
5077 s/Bonobo_Stream_SEEK_SET/Bonobo_Stream_SeekSet/ et al. (see
5078 libbonobo/ChangeLog#2002-03-31)
5080 * gpdf/shell/gpdf.c (#includes): use G2 headers
5081 (main): copy from eog
5082 (struct _Component): kill (was embeddable code)
5083 (USE_CONTROL): kill #define, kill all code surrounded by #if
5084 !USE_CONTROL (i.e. embeddable code)
5085 (all around): add Corba_Environment argument where it's needed now
5086 (gw_control_load_pdf): s/BonoboStream \*stream/Bonobo_Stream
5087 stream/. get the stream using monikers, unref it later
5088 (gw_drag_data_received): use uri handling code from gnome-vfs
5089 (verb_HelpAbout_cb): update for new gnome_about_new
5090 (verb_DebugDumpXml_cb): kill
5091 (gw_destroy): may be called more than once, so update assertions
5092 (gw_finalize): is a GObject method now, chain up to parent
5093 (class_init): update for GObject methods
5094 (gw_setup_window): blend of bonobo_window_construct and old
5096 (gw_setup_geometry): kill
5097 (gw_setup_toplevel_ui): use BonoboUIContainer from BonoboWindow
5098 (gpdf_window_construct): use gw_setup_window, not
5099 bonobo_window_construct, not gw_setup_geometry
5101 * gpdf/shell/gpdf-window.h: s/BEGIN_GNOME_DECLS/G_BEGIN_DECLS/, kill
5102 struct _Component decl (was used for embeddable)
5104 * gpdf/shell/gpdf-window-ui.xml: kill DebugDumpXml verb
5106 * gpdf/shell/Makefile.am: update INCLUDES, LD_ADD;
5107 (gpdf_SOURCES): add missing gpdf-window.h
5108 (uidir): s/gnome/gnome-2.0/
5110 * gpdf/configure.in: clean it a bit; set version to 0.100 (version was
5111 at 0.90.1 for ever and I don't want to call it 1.01.1, this is not
5112 1.something quality code); use GNOME2 macros;
5113 (i18n): update according to G2 porting guide
5114 (gnome-lib-checks): use PKG_CHECK
5116 * gpdf/autogen.sh: PKG_NAME="gpdf:", USE_GNOME2_MACROS
5118 * gpdf/.cvsignore: add intltool-... files
5120 Initial port to GNOME 2
5122 2002-10-08 Peteris Krisjanis <peteris.krisjanis@os.lv>
5124 * ggv/configure.in: added Latvian (lv) to ALL_LINGUAS.
5126 2002-10-08 Martin Kretzschmar <m_kretzschmar@gmx.net>
5128 * gpdf/xpdf/pdf-view.cc: access private fields through priv field,
5129 don't use view_data_t
5130 (pv_realize): calls render_page if we already have a pdf_doc;
5131 install as realize default handler
5132 (redraw_on_realize_cb): kill
5133 (pdf_view_set_pdf_doc): if we're not realized yet, just don't
5136 * gpdf/xpdf/pdf-view.h: kill view_data_t typedef, move PdfView's fields
5139 * gpdf/configure.in: check for gdk-pixbuf
5141 * gpdf/xpdf/GOutputDev.cc (drawImage): replace bogus GdkImage code with
5142 GdkPixbuf code. I don't have any PDFs here which use
5143 drawImageMask, so drawImageMask I haven't rewritten drawImageMask.
5145 2002-10-07 Martin Kretzschmar <m_kretzschmar@gmx.net>
5147 * gpdf/xpdf/pdf-view.cc (first_page, last_page, next_page, prev_page):
5148 inline into pdf_view_page_first and friends
5149 (render_page): static again
5151 2002-10-07 Martin Kretzschmar <m_kretzschmar@gmx.net>
5153 * gpdf/xpdf/xpdfsrc.txt, xpdf/xpdfobj.txt: kill
5155 * gpdf/xpdf/gpdf-embeddable-view.cc (gev_set_pdf_cb)
5156 (gpdf_embeddable_view_construct): see gc_set_pdf_cb entry below
5158 * gpdf/xpdf/gpdf-control.cc (GPdfControlPrivate: store persist_stream
5159 (gpdf_control_destroy): write, install
5160 (gc_setup_persist, gc_set_pdf_cb): pdf_view_set_pdf_doc on set_pdf
5161 signal from persist_stream (used to be done in PdfView)
5162 (gc_setup_widgets): pdf_view_new takes no parameter
5164 * gpdf/xpdf/pdf-view.h: s/extern "C" {// around headers
5167 * gpdf/xpdf/pdf-view.cc (PdfViewPrivate): store only a PDFDoc, not a
5169 (view_is_good): replace with IS_PDF_VIEW_WITH_DOC macro, use that
5170 (last_page, next_page): get pdf_doc from priv
5171 (setup_size): ditto, add parameter assertion
5172 (render_page, pdf_view_get_page_width): get pdf_doc from priv
5173 (pdf_view_set_zoom): only render_page if pdf_poc != NULL
5174 (set_pdf_cb): inline into:
5175 (pdf_view_set_pdf_doc): new method, eventually we can switch the
5177 (pv_destroy, pdf_view_construct, pdf_view_new): don't store a
5180 * gpdf/xpdf/gtkgesture.h: include gtk.h, protect with BEGIN_GNOME_DECLS
5182 * gpdf/xpdf/gpdf-persist-stream.h: move GPdfPersistStreamPrivate to
5183 gpdf-persist-stream.cc
5184 (gpdf_persist_stream_get_pdf_doc): declare
5186 * gpdf/xpdf/gpdf-persist-stream.cc (gpdf_persist_stream_get_pdf_doc):
5189 * gpdf/MAINTAINERS: mail your questions to me
5191 2002-10-05 Martin Kretzschmar <m_kretzschmar@gmx.net>
5193 * gpdf/xpdf/gpdf-control.cc (gc_key_press_event_cb): add _cb suffix
5194 (gc_zoom_level_from_index, gc_set_policy_idle_cb): add gc_ prefix
5195 (gpdf_control_zoom_in, gpdf_control_zoom_out)
5196 (gpdf_control_zoom_fit_width, gpdf_control_zoom_fit): extract from
5197 verb implementations
5198 (gc_zoom_in_cb, gc_zoom_out_cb, gc_zoom_to_fit_cb)
5199 (gc_zoom_to_fit_width_cb, gc_zoom_to_default_cb): callbacks for
5200 PdfView zoom signals
5202 * gpdf/xpdf/pdf-view.h (PdfViewClass): add signal slots
5203 (PdfView): kill unused mainbox field
5205 * gpdf/xpdf/pdf-view.cc: kill old zooming code, when we want to zoom,
5206 we just emit signals. Our container can connect to these and make
5207 the right calls (i.e. pdf_view_set_zoom).
5208 (pv_key_press_event): emit zoom signals instead of setting our
5210 (class_init): install signals
5212 (pdf_view_construct): connect each gesture to its own callback
5213 (gesture_page_event_cb, gesture_zoom_event_cb, view_zoom_verb)
5214 (view_switch_page): kill old gesture callbacks and helpers
5215 (gesture_page_next_event_cb, gesture_page_prev_event_cb)
5216 (gesture_page_first_event_cb, gesture_page_last_event_cb)
5217 (gesture_zoom_in_event_cb, gesture_zoom_out_event_cb): new gesture
5220 * gpdf/xpdf/bonobo-application-x-pdf-ui.xml: kill zooming verbs from
5223 * xpdf/gpdf-embeddable-view.cc (view_zoom_verb)
5224 (page_zoom_fit_width_cb, page_zoom_fit_height_cb)
5225 (page_enlarge_cb, page_shrink_cb, view_zoom_query): kill zooming
5226 machinery in embeddable view
5228 * gpdf/xpdf/pdf-view.cc (view_zoom_query): kill unused method
5230 2002-10-05 Martin Kretzschmar <m_kretzschmar@gmx.net>
5232 * gpdf/xpdf/gpdf-control-ui.xml: rename ZoomFitHeight back (2001-08-12)
5233 to ZoomFit, label it Best Fit as seen in HIG; it was never really
5236 * gpdf/xpdf/gpdf-control.cc (zoom_level_from_index, verb_ZoomIn_cb)
5237 (verb_ZoomOut_cb, set_policy_idle_cb, verb_ZoomFitWidth_cb)
5238 (verb_ZoomFit_cb): reimplement zooming (no BonoboZoomable yet;
5239 zoom-on-key-press still uses old code), rename ZoomFitHeight back
5241 (gpdf_control_class_init): kill local variables
5243 * gpdf/xpdf/pdf-view.h: add prototypes
5245 * gpdf/xpdf/pdf-view.cc (configure_size): kill this empty function
5246 (setup_pixmap): don't call configure_size
5247 (pdf_view_get_zoom, pdf_view_set_zoom, MIN_ZOOM_FACTOR)
5248 (MAX_ZOOM_FACTOR): add nice, short zooming methods
5249 (pdf_view_get_page_width, pdf_view_get_page_height): add
5251 * gpdf/shell/gpdf.c (gw_control_load_pdf, gw_open, verb_HelpAbout_cb)
5252 (gpdf_window_construct): make it compile again. The wonders of
5253 emacs dabbrev-expand and me only recompiling half of the
5256 * gpdf/AUTHORS: update Xpdf copyright notice
5258 * gpdf/.cvsignore: ignore more automake generated files
5260 2002-10-04 Martin Kretzschmar <m_kretzschmar@gmx.net>
5262 * gpdf/xpdf/pdf-view.cc (setup_pixmap): get our GdkWindow directly from
5263 our parent window, not from the win field
5264 (mainbox_realize): kill, (it only assigns to the win field)
5265 (pdf_view_construct): don't connect to "realize" to killed
5267 (real_redraw_view): don't call realize_mainbox (which would assign
5268 to win, render_page, configure_size which is empty),
5269 redraw_view_all does already render page
5270 (realize_mainbox): kill, its only caller doesn't use it anymore
5271 (real_redraw_view): rename to redraw_on_realize_cb to reflect its
5273 (redraw_view): rename to set_pdf_cb for same reason, clean if
5274 else, call redraw_view_all instead of real_redraw_view
5275 (key_press_event_cb): rename to pv_key_press_event, make it the
5276 default handler for our key_press_event, use pdf_view_page bla,
5277 not view_switch_page
5278 (button_press_event_cb): rename to pv_button_press_event, make it
5279 the default handler, check if we already have focus
5280 (class_init): install pv_key_press_event, pv_button_press_event
5281 (pdf_view_construct): don't connect key_press_event_cb,
5282 button_press_event_cb
5283 (redraw_view_all): fuse with render_page, use that in all places
5285 * gpdf/xpdf/pdf-view.h: kill win field
5287 * gpdf/xpdf/gpdf-embeddable-view.cc: s/redraw_view_all/render_page/g
5289 I don't know how to write a GtkWidget, but the code for the
5290 PdfView widget had a lot of artificial complexity, in my eyes.
5291 Is this from the time before it used GtkPixmap (1999-09-01)?
5293 2002-10-04 Martin Kretzschmar <m_kretzschmar@gmx.net>
5295 * gpdf/shell/Makefile.am (EXTRA_DIST): distribute gpdf-window-ui.xml
5297 * gpdf/shell/gpdf-window-ui.xml: new file, based on xpdf/gpdf-ui.xml
5299 * gpdf/shell/gpdf.c (GPDF_IS_NON_NULL_WINDOW): add macro
5300 (GW_RETURN_UNLESS_GW, GW_RETURN_VAL_UNLESS_GW): kill macros, use
5301 GPDF_IS_NON_NULL_WINDOW with g_return_bla instead, this looks
5304 * gpdf/xpdf/.cvsignore: ignore gnome-pdf-viewer binary
5306 * gpdf/xpdf/Makefile.am (XML_FILES): don't distribute gpdf-ui.xml
5307 (EXTRA_DIST): no ChangeLog here
5309 * gpdf/xpdf/gpdf-ui.xml: remove
5311 * gpdf/xpdf/gpdf-control-ui.xml: new file, based on
5312 bonobo-application-x-pdf-ui.xml, half-hearted attempts to be
5315 * gpdf/xpdf/gpdf-control.cc (GPDF_IS_NON_NULL_CONTROL): add, use it
5316 (gc_key_press_event): keyhandling mostly copied from embeddable
5317 (verb_GoPagePrev_cb, verb_GoPageNext_cb, verb_GoPageFirst_cb)
5318 (verb_GoPageLast_cb, gc_verbs []): add page verbs
5319 (gc_set_ui_container, gc_unset_ui_container)
5320 (gpdf_control_activate): install UI merging
5321 (gc_set_zoom_items_visibility): only a dummy
5322 (gpdf_control_construct): decompose into:
5323 (gc_setup_persist, gc_setup_widgets): construct helpers
5325 * gpdf/xpdf/gpdf-embeddable-view.cc: use pdf_view_page_bla
5327 * gpdf/xpdf/gpdf-embeddable.h (bed_t): kill already unused typedef
5329 * gpdf/xpdf/pdf-view.h (pdf_view_page_prev, pdf_view_page_next)
5330 (pdf_view_page_first, pdf_view_page_last): export
5332 * gpdf/xpdf/pdf-view.cc (first_page, last_page, next_page, prev_page):
5334 (pdf_view_page_prev, pdf_view_page_next, pdf_view_page_first)
5335 (pdf_view_page_last): methods to be called by the control (and the
5336 embeddable view) to do what their names say
5337 (IS_NON_NULL_PDF_VIEW): like IS_PDF_VIEW with obvious extra check
5339 2002-10-04 Jaka Mocnik <jaka@gnu.org>
5341 * ggv/configure.in: removed duplicate AC_OUTPUT entries.
5342 * ggv/src/ggvutils.c (ggv_quote_filename): use g_shell_quote().
5344 2002-10-02 Martin Kretzschmar <m_kretzschmar@gmx.net>
5346 * gpdf/xpdf/Makefile.am: factory file name is gnome-pdf-viewer,
5347 s/GNOME_XPDF.oafinfo/GNOME_PDF.oafinfo/
5349 * gpdf/xpdf/GNOME_PDF.oafinfo: s/XPDF/PDF/g, the factory file name
5350 is now gnome-pdf-viewer, add oaf_server entry for the control
5352 * gpdf/xpdf/bonobo-application-x-pdf.cc (gpdf_factory): multi factory
5353 function, replaces embeddable_factory, creates controls, too
5355 * gpdf/xpdf/gpdf-control.cc, xpdf/gpdf-control.h: new files, first code
5356 for PDF viewer bonobo control.
5358 * gpdf/shell/gpdf.c: handle priv field in GPdfWindow, add code for using
5359 a control instead of an embeddable (use it when USE_CONTROL != 0)
5361 * gpdf/shell/gpdf-window.h (GPdfWindow): add priv field, kill app field
5362 (struct _Component) is private, moved back to gpdf.c
5364 * gpdf/configure.in: PACKAGE and VERSION are set by AM_INIT_AUTOMAKE,
5365 kill explicit assignments
5367 * gpdf/xpdf/GNOME_XPDF.oafinfo: remove
5369 2002-10-01 Martin Kretzschmar <m_kretzschmar@gmx.net>
5371 * gpdf/xpdf/gpdf-embeddable-view.cc (gpdf_embeddable_view_construct):
5372 pdf_view_new takes persist_stream, not embeddable
5374 * gpdf/xpdf/pdf-view.cc: add priv struct, use it to get persist_stream,
5376 (pdf_view_new): take persist_stream, not embeddable
5377 (pdf_view_construct): ditto, store it in priv
5379 (class_init): we need finalize:
5380 (pv_finalize): for priv
5381 (pv_destroy): unref priv->persist_stream
5383 * gpdf/xpdf/pdf-view.h: use BEGIN_GNOME_DECLS, we have a priv field now,
5384 kill bed field, new and construct take a GPdfPersistStream now, not
5385 GPdfEmbeddable (of course, this is still ugly)
5387 Various source files: remove \n from g_message calls,
5388 update Michael's email address, s/Helix Code/Ximian/
5390 2002-10-01 Jaka Mocnik <jaka@gnu.org>
5392 * ggv/src/main.c (save_session): fixed possible buffer overflow.
5394 2002-09-30 Martin Kretzschmar <m_kretzschmar@gmx.net>
5396 * gpdf/xpdf/gpdf-embeddable.h (GPdfEmbeddable): kill already commented
5398 (GPdfEmbeddableClass): kill pdf_changed signal slot
5400 2002-09-30 Martin Kretzschmar <m_kretzschmar@gmx.net>
5402 * gpdf/xpdf/pdf-view.cc: get PDFDoc from GPdfPersistStream, not
5403 directly from our embeddable (various places).
5405 * gpdf/xpdf/Makefile.am: fix gui variable, add gpdf-persist-stream
5408 * gpdf/xpdf/bonobo-application-x-pdf.cc: include GlobalParams.h,
5409 (embeddable_factory): create a GPdfPersistStream first, then
5410 create an embeddable.
5412 * gpdf/xpdf/gpdf-embeddable.cc (bed_free_data): move to
5413 gpdf-persist-stream.cc as delete_pdf_doc_full
5414 (load_pdf_from_stream): move to gpdf-persist-stream.cc
5415 (finalize): free priv field
5416 (class_init): kill pdf_changed signal, GPdfPersistStream has
5417 set_pdf signal, use finalize
5418 (gpdf_embeddable_add_interfaces): kill
5419 (gpdf_embeddable_construct): take GPdfPersistStream param,
5420 use bonobo_object_add_interface not gpdf_embeddable_add_intf
5421 (gpdf_embeddable_new): take GPdfPersistStream param
5423 * gpdf/xpdf/gpdf-embeddable.h: remove extern "C" around bonobo
5424 includes, they protect themselves. Introduce private struct,
5425 still public. Use GPdfPersistStream
5427 * gpdf/xpdf/gpdf-persist-stream.cc, xpdf/gpdf-persist-stream.h:
5428 files for new GPdfPersistStream class. Contains PDF loading code
5430 * gpdf/xpdf/BonoboStream.h: hide GList before including gnome headers
5432 2002-09-29 Jaka Mocnik <jaka@gnu.org>
5434 * ggv/bonobo/ggv-postscript-view.c (load_ps_from_file): properly unescape
5436 * ggv/src/ggvutils.c (ggv_filename_to_uri): use
5437 gnome_vfs_get_uri_from_local_path().
5439 2002-09-26 Jaka Mocnik <jaka@gnu.org>
5441 * ggv/src/ps.c: fixed unsafe sscanf usage. reported in iDEFENSE Security
5442 Advisory 09.26.2002: Exploitable Buffer Overflow in gv
5444 2002-09-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5446 * gpdf/configure.in: don't use macro dir, don't call AC_ARG_PROGRAM
5447 ( AM_INIT_AUTOMAKE does this), inline autoheader templates from
5448 acconfig.h, use AC_HELP_STRING where appropriate.
5450 * gpdf/acconfig.h: Remove.
5452 * gpdf/autogen.sh: switch from macro dir to gnome-common.
5454 2002-09-24 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5456 * gpdf/shell/gpdf-window.h: kill the Container typedef, everybody uses
5458 (Component): rename container field to gpdf_window
5460 * gpdf/shell/gpdf.c (gw_has_contents): ``readability function'', use it
5461 instead of testing gpdf_window->view_widget
5462 (gw_drag_data_received): inline code from container_new, clean it
5463 (gw_open_dialog): ditto
5464 (main): moe gpdf_popt_options, poptContext globals here, make
5465 command line handling an idle handler -- again, shamelessly stolen
5467 (handle_cmdline_args, create_window): command line handlers
5468 (container_new): not needed anymore, kill
5470 2002-09-24 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5472 * gpdf/shell/gpdf.c: s/containers/window_list/g and move definition
5473 down to GPdfWindowClass
5474 (GW_RETURN_NULL_UNLESS_GW): kill this macro, use
5475 GW_RETURN_VAL_UNLESS_GW
5476 (gw_close_all): write while loop with less ink
5478 2002-09-23 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5480 * gpdf/xpdf/bonobo-application-x-pdf-ui.xml: kill HelpAbout verb,
5481 only the shell implements it.
5483 2002-09-23 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5485 * gpdf/shell/gpdf.c (gw_setup_dnd): use TARGET_URI_LIST enum constant
5486 in GtkTargetEntry drag_types[]
5487 (component_destroy): rename to gw_component_destroy, move down to
5488 its only caller gw_destroy, add != NULL assertion
5489 (gw_destroy): call it with new name
5490 (container_set_view): rename to gw_add_component_view_to_ui, add
5491 parameter asserts, use bonobo_client_site_new_view_full, don't
5492 call bonobo_wrapper_set_visibility, bonobo_view_frame_set_covered
5493 (container_launch_component): s/container/gw/, add gpdf_window
5494 parameter, get BonoboItemContainer from it, kill goad_id
5495 parameter, always use GPDF_EMBEDDABLE_IID (new #define)
5496 (container_activate_component): s/container/gw/, kill goad_id
5497 param, check gpdf_window param, use gw_launch_component
5498 (open_pdf): rename to gw_open, factor out PersistStream loading
5499 into gw_component_load_pdf
5500 (container_destroy): kill,
5501 (container_new): use gw_close instead
5503 Kill some prototype declarations.
5505 2002-09-19 Jaka Mocnik <jaka@gnu.org>
5507 * ggv/src/ggv-prefs-ui.c (ggv_prefs_dialog_new): set spacing between
5510 2002-09-18 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5512 * gpdf/ChangeLog: merge in xpdf/ChangeLog and shell/ChangeLog using
5513 the excellent MergeLog.awk and Emacs ediff tools.
5515 * gpdf/shell/ChangeLog: remove
5517 * gpdf/xpdf/ChangeLog: remove
5519 2002-09-17 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5521 * gpdf/xpdf/gpdf-embeddable.cc (load_pdf_from_stream): don't try to
5522 check for catalog after having discovered that !pdf->isOk and
5523 having already deleted it. I introduced my first goto to this
5524 code. Edsger Dijkstra in memoriam
5526 2002-09-17 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5528 * gpdf/shell/gpdf.c (container_exit_cmd): => (verb_FileExit_cb)
5529 (gw_close_all): close all windows, causing the program to exit
5530 (verb_FileExit_cb): use gw_close_all
5531 (container_open_cmd): => (verb_FileOpen_cb) which calls the new
5532 (gw_open_dialog): extract file selection code into
5533 (gw_ask_for_filename):
5534 (file_dialog_delete_event): move down to gw_ask_for_filename
5535 (set_ok): ditto, rename to file_dialog_ok
5537 2002-09-17 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5539 * gpdf/shell/gpdf.c (container_close_cmd): turn into
5540 (verb_FileCloseWindow_cb) with BonoboUIVerbFn prototype
5541 (container_dump_cmd): ditto (verb_DebugDumpXml_cb)
5542 (container_about_cmd): ditto (verb_HelpAbout_cv), Michael says I
5543 maintain gpdf now, added Ravi Pratap, Xpdf copyright holder is
5544 Glyph & Cog, LLC, Derek B. Noonburg's pdf consulting business
5545 (verbs []) rename: gw_verbs, make static, move to where it is
5546 needed: right before gw_setup_toplevel_ui, use new verb callback
5549 2002-09-17 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5551 * gpdf/shell/gpdf.c (filenames_dropped): turn into
5552 (gw_drag_data_received) use for for (ed.'s note: not a typo)
5553 iterating the list, not while, free list after use
5554 (class_init): install gw_drag_data_received as default handler for
5556 (gw_setup_dnd): don't connect filenames_dropped to
5558 (gw_delete_event): renamed from (gw_delete) for consistency with
5561 2002-09-15 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5563 * gpdf/xpdf/Makefile.am: don't build gpdf here
5565 * gpdf/xpdf/gpdf.cc: move to shell/gpdf.c
5567 2002-09-15 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5569 * gpdf/shell/gpdf.c (gw_destroy): destructor (code from container_destroy)
5570 (gw_delete): delete_event default handler
5571 (gw_close): other half of container_destroy
5572 (gpdf_window_construct): no need to gtk_object_set_data
5573 "container_data", don't connect to delete_event
5574 (class_init): init parent_class, install destroy and delete_event
5576 (container_close): kill, just use gw_close
5577 (container_close_cmd): call gw_close
5579 2002-09-15 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5581 * gpdf/shell/gpdf.c: include gpdf-window.h, pull out struct defns,
5582 implement GPdfWindow class here for now (let's see if it's more
5584 (gpdf_window_new, gpdf_window_construct): new (with helper
5586 (container_new): mostly moved to gpdf_window_construct, use that
5587 (container_destroy): don't explicitly destroy and free the
5590 * gpdf/shell/gpdf-window.h: new file, new class GPdfWindow (was
5593 * gpdf/shell/gpdf.c: M-x mark-whole-buffer, M-x indent-region
5595 2002-09-15 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5597 * gpdf/shell/Makefile.am: create, bin_PROGRAMS = gpdf and friends
5599 * gpdf/shell/gpdf.c: cvs copy of xpdf/gpdf.cc, Code was plain C except
5600 some extern "C" declarations :-), removed them and it compiled,
5601 don't include xpdf/config.h, bonobo-application-x-pdf.h
5602 (container_about_cmd): s/xpdfVersion/VERSION/ so we really don't
5603 need xpdf/config.h (FIXME: unify aconf.h and config.h?)
5605 New directory. Start ChangeLog
5607 2002-09-15 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5609 * gpdf/configure.in, Makefile.am: add subdirectory
5611 * gpdf/shell: new directory
5613 2002-09-14 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5615 * gpdf/xpdf/gpdf-embeddable-view.cc (destroy_view): kill already commented
5616 out, previously unused destructor
5617 (gev_destroy): set mainbox member = NULL
5619 * gpdf/xpdf/pdf-view.cc (pv_destroy): new destructor
5620 (class_init): use it, init parent_class
5621 (pdf_view_construct): reindent
5623 2002-09-14 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5625 * gpdf/xpdf/gpdf-embeddable-view.h (GPdfEmbeddableView): kill bed member
5627 * gpdf/xpdf/gpdf-embeddable-view.cc: removed newlines from g_message calls
5628 (class_init): use checked casts, we now have destroy, no need to
5629 keep a ref to our embeddable here
5630 (gev_destroy): new destructor
5632 2002-09-14 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5634 * gpdf/xpdf/gpdf-embeddable-view.cc (gpdf_embeddable_view_new):
5636 (view_create_menus, view_remove_menus): rename to
5637 (gev_set_ui_container, gev_unset_ui_container): and rewrite in EOG
5640 2002-09-13 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5642 * gpdf/xpdf/gpdf-embeddable-view.cc (gev_activate): chain up to parent's
5643 activate handler, not to grand parent's
5645 2002-09-13 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5647 * gpdf/xpdf/bonobo-application-x-pdf.cc (embeddable_factory): don't
5648 initialize embeddable (where did that come from?)
5650 * gpdf/xpdf/gpdf-embeddable-view.cc (gpdf_embeddable_view_construct): don't
5651 handle "activate" by connecting...
5652 (class_init): ...install a default signal handler...
5653 (gev_activate): cleaned up "activate" handler, renamed from
5656 2002-09-13 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5658 * gpdf/xpdf/Makefile.am: add pdf-view.cc, pdf-view.h
5660 * gpdf/xpdf/gpdf-embeddable-view.cc (view_is_good, first_page, last_page)
5661 (next_page, prev_page, configure_size, setup_size, setup_pixmap)
5662 (render_page, realize_mainbox, redraw_view_all, real_redraw_view)
5664 (first_page, last_page, next_page, prev_page, redraw_view_all):
5665 only declare here, use definitions from pdf-view.cc
5666 (page_first_cb, page_next_cb, page_prev_cb, page_last_cb):
5667 s/view_data_t/PdfView/ etc.
5668 (view_switch_page): kill
5669 (zoom_to_fit): leave only declaration
5670 (view_zoom_verb, page_zoom_fit_width_cb, page_zoom_fit_height_cb)
5671 (page_enlarge_cb, page_shrink_cb, view_zoom_query): s///
5672 (verbs[]): make static
5673 (view_create_menus, view_remove_menus, view_activate): s///
5674 (button_press_event_cb, gesture_page_event_cb)
5675 (gesture_zoom_event_cb): kill
5676 (key_press_event_cb): s///, only handle scrolling here
5677 (mainbox_realize): kill
5678 (destroy_view): comment out for now
5680 (gpdf_embeddable_view_construct): mainbox = pdf_view_new,
5681 remove mainbox construction code
5683 * gpdf/xpdf/pdf-view.cc (view_is_good): s/view_data_t/PdfView/
5684 (first_page, last_page, next_page, prev_page): non-static
5685 (setup_pixmap): view_data is our mainbox now
5686 (render_page): s/view_data_t/PdfView/ s/view_data/view/
5687 (redraw_view_all): ditto
5688 (realize_mainbox): /GPdfEmbeddableView/PdfView/ etc.
5689 (real_redraw_view): ditto
5690 (redraw_view): ditto, view is our mainbox now
5691 (page_first_cb, page_next_cb, page_prev_cb, page_last_cb): kill
5692 here (verb implementations)
5693 (view_switch_page): s/// as above
5694 (zoom_to_fit): non-static, commented out for now
5695 (view_zoom_verb, view_zoom_query): s/// as above
5696 (page_zoom_fit_width_cb, page_zoom_fit_height_cb)
5697 (page_enlarge_cb, page_shrink_cb): kill here (verb impl)
5698 (verbs[], view_create_menus, view_remove_menus, view_activate):
5699 kill here (bonobo stuff)
5700 (gesture_page_event_cb, gesture_zoom_event_cb): s///
5701 (key_press_event_cb): don't handle scrolling here, s///
5702 (destroy_view): kill here
5703 (pdf_view_construct): kill everything except mainbox construction
5705 * gpdf/xpdf/gpdf-embeddable-view.h: view_data_t is no longer a typedef'd
5706 GPdfEmbeddableView. Remove PdfView related members from
5709 * gpdf/xpdf/pdf-view.h: s/GPdfEmbeddableView/PdfView/ with some AI ;)
5710 GPdfEmbeddableView still typedef'd view_data_t. Super class
5713 Split bonobo / non-bonobo parts of GPdfEmbeddableView:
5715 * gpdf/xpdf/pdf-view.h: new file (cvs copy of gpdf-embeddable.h)
5717 * gpdf/xpdf/pdf-view.c: ditto. These will contain non-bonobo parts
5719 2002-09-13 Jaka Mocnik <jaka@gnu.org>
5721 * ggv/bonobo/main.c: per-display registration of factory.
5722 * ggv/src/main.c (create_window): graciously handle cases when no
5723 windows could be opened because of errors.
5724 * ggv/src/ggv-prefs-ui.c (ggv_prefs_dialog_new): added colons as
5725 suggested by Muktha.
5726 added ESC as an accelerator for the Cancel button.
5727 * ggv/bonobo/ggv-sidebar.c (ggv_sidebar_construct): add tool tips to
5728 "toggle marked" and "clear all" buttons.
5729 * ggv/ggv.desktop.in (Exec): added %U so that URIs are passed to
5730 launcher (patch by Arvind Samptur).
5732 2002-09-08 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5734 * gpdf/xpdf/GOutputDev.h: add missing gdk include
5736 * gpdf/xpdf/GOutputDev.cc (GOutputDev::drawLink): don't #if 0, just don't
5738 (GOutputDev::drawImage, GOutputDev::drawImageMask): use Michael's
5739 broken image handling code from gpdf 0.90.1 instead of my even
5742 * gpdf/xpdf/gpdf-embeddable-view.cc (render_page): disable links here.
5743 (realize_mainbox): view == view_data now. Don't have to
5744 gtk_object_get_data anymore
5745 (real_redraw_view): ditto
5746 (redraw_view): ditto, make it static again
5747 (gpdf_embeddable_view_construct): connect redraw_view to
5748 pdf_changed signal, don't gtk_object_set_data "view_data"
5749 (view_switch_page, view_zoom_verb, view_activate)
5750 (button_press_event_cb, gesture_page_event_cb)
5751 (gesture_zoom_event_cb, key_press_event_cb, mainbox_realize): make
5754 * gpdf/xpdf/gpdf-embeddable.cc (class_init): add "pdf_changed" signal
5755 (load_pdf_from_stream): emit it, don't redraw_view explicitly
5757 * gpdf/xpdf/gpdf-embeddable.h: add signal to class struct
5759 2002-09-01 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5761 * gpdf/xpdf/gpdf-embeddable.cc (gpdf_embeddable_view_factory): move here
5762 from bonobo-application-x-pdf.cc
5764 * gpdf/xpdf/GOutputDev.cc (GOutputDev::drawLink): comment out for
5765 now. Segfaults. I don't understand this.
5767 * gpdf/xpdf/bonobo-application-x-pdf.cc: move view_data_t related code
5768 ( except view_factory) to gpdf-embeddable-view.cc, remove lots of
5771 * gpdf/xpdf/gpdf-embeddable-view.h: new files with new GPdfEmbeddableView
5774 * gpdf/xpdf/gpdf-embeddable-view.cc:
5776 * gpdf/xpdf/gtkgesture.h: double include protection
5778 * gpdf/xpdf/XOutputDev.h: add missing include "Object.h"
5780 * gpdf/xpdf/GOutputDev.h: add missing include "Object.h"
5782 2002-08-31 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5784 * gpdf/xpdf/gpdf-embeddable.cc:
5786 * gpdf/xpdf/gpdf-embeddable.h: bed_t: Replace Data Value with Object
5787 [Fowler] i.e. turn it into the GPdf::Embeddable class.
5789 * gpdf/xpdf/bonobo-application-x-pdf.cc: temporarily make some functions
5791 (view_is_good): move up in file, use it in more places.
5792 (setup_pixmap): remove window parameter, get it from view_data
5793 (destroy_embed): move to GPdfEmbeddable::destroy
5794 (embeddable_factory): drastically simplify, work is done in
5795 GPdfEmbeddable::new and friends
5796 remove count of running_objects.
5798 * gpdf/xpdf/gpdf-util.h: new file
5799 (E_MAKE_TYPE): copied from gal
5801 2002-08-29 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5803 * gpdf/xpdf/bonobo-application-x-pdf.cc: move struct bed_t to
5804 gpdf-embeddable.{cc,h}
5805 (setup_pixmap) remove doc parameter. (Get it from view_data param)
5807 * gpdf/xpdf/gpdf-embeddable.cc: New files to contain the embeddable class
5809 * gpdf/xpdf/gpdf-embeddable.h:
5811 * gpdf/xpdf/gpdf.cc (main): remove call to setlocale (done in
5812 gnome_init...), ignore return value of oaf_init, let bonobo_init
5813 figure out which orb to use.
5815 * gpdf/xpdf/Link.h: declare some methods as const.
5816 * gpdf/xpdf/Link.cc:
5818 2002-08-22 Jaka Mocnik <jaka@gnu.org>
5820 * ggv/src/ggv-prefs-ui.c (ggv_prefs_dialog_new): string change -
5821 "Jump to beginning of page etc." -> "Jump to beginning of page".
5822 * ggv/bonobo/ggv-control.c (ggv_control_new): removed auto-jump as it
5823 was moved to ggv-postscript-view.c.
5824 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_goto_page):
5825 respect auto-jump setting everytime we switch pages.
5827 2002-08-21 Jaka Mocnik <jaka@gnu.org>
5829 * ggv/src/gtkgs.c: set step_increment to make stepper buttons work.
5830 * ggv/bonobo/ggv-postscript-view.c (sidebar_key_press_event): handle
5831 presses of Left/Right/Up/Down to pan.
5832 * ggv/src/gtkchecklist.c (key_press_event): handle key presses in our
5833 own fashion - PgUp/Dn do the same as in ps view - move one page
5836 2002-08-20 Jaka Mocnik <jaka@gnu.org>
5838 * ggv/bonobo/ggv-postscript-view.c (load_ps_from_file): don't make a
5839 temporary copy if it is a local file.
5840 * ggv/src/gtkgs.c (gtk_gs_size_allocate): removed gdk_window_move() calls
5841 before changing adjustments as this will do the move anyway. also
5842 removed explicit event processing, as this caused trouble with
5843 zoom spin button and the infamous "erratic scrolling" bug.
5844 * ggv/bonobo/ggv-postscript-view.c (set_file_items_sensitivity): make
5845 Save & Print items insensitive when viewing a pdf file.
5846 * ggv/src/ggv-window.c (ggv_window_load): unescape URI for display.
5848 2002-08-12 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5850 * gpdf/xpdf/GOutputDev.cc: make it compile (without Type 3 support for now)
5852 * gpdf/xpdf/bonobo-application-x-pdf.cc: Derek has removed the global xref
5853 variable. Remove the ``Ugly global xref fix''
5855 2002-08-11 Ross Burton <ross@burtonini.com>
5857 * ggv/ggv.desktop.in: Add encoding keyword, and fix up Terminal and
5858 Categories keywords.
5860 2002-08-09 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5862 * gpdf/xpdf/BonoboStream.h: ditto.
5864 * gpdf/xpdf/BonoboStream.cc: sync with FileStream.
5866 Merge in Xpdf 1.01 files
5868 * gpdf/xpdf/GOutputDev.cc (drawImage), (drawImageMask): use gdk_image_get
5871 2002-08-09 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5873 * gpdf/goo/Makefile.am: ditto.
5875 * gpdf/configure.in: merged in Xpdf 1.01 changes.
5877 2002-08-05 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5879 * gpdf/xpdf/GOutputDev.h: ditto.
5881 * gpdf/xpdf/GOutputDev.cc: sync with XOutputDev.cc.
5883 * gpdf/xpdf/bonobo-application-x-pdf.cc (printCommands): is in Gfx.cc now
5885 2002-08-04 Satyajit Kanungo <satyajit.kanungo@wipro.com>
5887 * ggv/src/gtkgs.c : Added gdk_pointer_ungrab while showing the error
5888 message. Fixes #90639 .
5890 2002-08-04 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5892 * gpdf/xpdf/BonoboStream.cc: merge in decryption code from FileStream 0.92
5893 (close): new method, from FileStream,
5894 (~bonoboStream): use close
5896 * gpdf/xpdf/BonoboStream.h: #define bonoboStreamBufSize as in FileStream
5898 (bonoboStream): use it.
5900 2002-08-04 Jaka Mocnik <jaka@gnu.org>
5902 * ggv/bonobo/ggv-postscript-view-ui.xml: "Move to" -> "Go to".
5904 2002-08-01 Jaka Mocnik <jaka@gnu.org>
5906 * ggv/src/ggv-file-sel.[ch]: a file selection dialog for GGV. nothing
5907 special for now except that it returns URIs and has a convenience
5908 function to run a selector in modal mode and return the selected file.
5909 * ggv/bonobo/ggv-postscript-view.c (verb_FileSaveMarked): use our file
5910 selector instead of deprecated bonobo one.
5911 * ggv/src/ggv-window.c (verb_FileOpen): likewise.
5913 2002-07-29 Jaka Mocnik <jaka@gnu.org>
5915 * ggv/configure.in: the last of the single-digit micro version releases:
5916 1.99.9. tagged as GGV_1_99_9. released a tarball.
5917 * ggv/bonobo/ggv-postscript-view.c (verb_FileSaveMarked): use VFS enabled
5919 * ggv/src/ggv-window.c (sync_toolbar_style): respect both_horiz toolbar
5920 style when using GNOME defaults for toolbar style.
5921 (verb_FileOpen): use VFS enabled file selector.
5922 * ggv/src/main.c (create_windows_from_cmdline): escape file names to be
5924 * ggv/src/ggvutils.c (ggv_filename_to_uri): new function. escape file name
5925 to conform to URI specification.
5927 2002-07-28 Jaka Mocnik <jaka@gnu.org>
5929 * ggv/bonobo/ggv-postscript-view.c (impl_GNOME_GGV_PostScriptView_reload):
5930 update page list & status.
5931 * ggv/bonobo/ggv-postscript-view.c (verb_FileSaveMarked): uses bonobo
5933 (ps_view_save_doc): save doc to URI using gnome vfs.
5934 removed all file selection related stuff.
5935 * ggv/ggv.schemas: fixed some typos.
5936 removed file selection size keys.
5937 * ggv/src/ggv-prefs.[ch]: removed file selector width/height.
5938 * ggv/bonobo/ggv-postscript-view.c (load_ps_from_file): uses gnome VFS
5939 for accessing the files.
5940 * ggv/src/ggv-window.c (verb_FileOpen): uses bonobo file selector.
5941 removed all file selection related stuff.
5943 2002-07-27 Jaka Mocnik <jaka@gnu.org>
5945 * ggv/bonobo/ggv-control.c (ggv_control_create_ui): set pixbuf to fit
5947 * ggv/configure.in: commented out check for Xinerama.
5948 * ggv/bonobo/Makefile.am: commented out use of Xinerama libs.
5949 * ggv/src/gtkgs.c (compute_?dpi): reverted the broken Xinerama patch.
5950 * ggv/bonobo/ggv-control-ui.xml: added pixmap for fit width command.
5951 added a fit width button to toolbar.
5952 * ggv/src/stock/fitwidth.png: image for the fit width button, which was
5953 kindly provided by johannes at sipsolutions dot de.
5955 2002-07-23 Jaka Mocnik <jaka@gnu.org>
5957 * ggv/src/main.c (main): handle stdin if '-' is passed as the cmdline
5960 2002-07-22 Jaka Mocnik <jaka@gnu.org>
5962 * ggv/src/main.c (create_window): parse geometry if given.
5963 (main): added geometry option.
5965 2002-07-20 Jaka Mocnik <jaka@gnu.org>
5967 * ggv/src/ggv-ui.xml: added Edit/Layout menu instead of the
5968 toplevel Settings menu.
5969 * ggv/bonobo/ggv-control-ui.xml: added accelerators for zoom items.
5970 * ggv/bonobo/ggv-control.c (ggv_control_key_press_event): move to top
5971 of page _after_ switching page.
5972 * ggv/src/gtkgs.c (gtk_gs_scroll_to_edge): fixed a nasty typo.
5974 2002-07-17 Michael Meeks <michael@ximian.com>
5976 * ggv/bonobo/GNOME_GGV.server.in.in: rename to this,
5977 point at libexecdir.
5979 * ggv/bonobo/Makefile.am: install component in $(libexecdir)
5981 2002-07-07 Jaka Mocnik <jaka@gnu.org>
5983 * ggv/src/ggv-ui.xml: changed order of help menus.
5984 * ggv/bonobo/ggv-sidebar.c (page_list_selection_changed): scroll to cell
5987 2002-07-07 Jaka Mocnik <jaka@gnu.org>
5989 * ggv/configure.in: include Xlib.h when checking for Xinerama header.
5991 2002-07-04 Jaka Mocnik <jaka@gnu.org>
5993 * ggv/bonobo/ggv-postscript-view-ui.xml: changed navigation accelerators
5994 to use Control instead of Alt.
5995 * ggv/released 1.99.8 tarball, tagged as GGV_1_99_8.
5997 2002-07-02 Jaka Mocnik <jaka@gnu.org>
5999 * ggv/bonobo/ggv-postscript-view.c (notify_page_count_change): recreate
6001 * ggv/src/gtkgs.c: fixed a number of segfaults when a non-realized widget
6004 2002-07-02 Jaka Mocnik <jaka@gnu.org>
6006 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_create_ui): moved
6007 object_set() out of freeze/thaw pair. it seems to fix the vicious bug
6008 #86235. thank to satyajit for this one...
6010 2002-06-30 Jaka Mocnik <jaka@gnu.org>
6012 * ggv/src/ggv-window.c (sync_settings_popup_items): fix a bug that caused
6013 GGV not to freeze ui component twice instead of freeze/thaw. popup
6014 menu crashes the control due to accel group trouble, though...
6016 2002-06-27 Jaka Mocnik <jaka@gnu.org>
6018 * ggv/bonobo/ggv-control.c (ggv_control_destroy): fixed zoom_control
6021 2002-06-20 jacob berkman <jacob@ximian.com>
6023 * ggv/src/ggv-window.c (verb_HelpAbout): fix tyop
6025 2002-06-20 Abel Cheung <maddog@linux.org.hk>
6027 * ggv/src/ggv-window.c (verb_HelpAbout): Added translator credits and
6028 documentor placeholders.
6030 2002-06-19 Jaka Mocnik <jaka@gnu.org>
6032 * ggv/wrap sequences of bonobo_ui_component_set_prop() in a freeze/thaw
6034 * ggv/src/ps.c (readline): skip blanks & 0x0c chars in front of DSC
6035 comments - chema came accross a PS file created from dvi that
6036 contains 0x0c char in front of a DSC comment. it seems appropriate
6037 that we handle such cases.
6039 2002-06-16 Jaka Mocnik <jaka@gnu.org>
6041 * ggv/src/main.c: fixed some typos.
6043 2002-06-14 Jaka Mocnik <jaka@gnu.org>
6045 * ggv/bonobo/ggv-postscript-view.c (load_ps): notify of a possible status
6047 * ggv/src/ggv-window.c (control_property_changed_handler): get error
6048 message from the "status" property of the control.
6049 * ggv/bonobo/ggv-postscript-view.c
6050 (ggv_postscript_view_get_default_orientation): fixed a memory leak.
6051 * ggv/src/gtkgs.[ch]: add a status field and update it.
6052 improved scroll region outlining.
6054 2002-06-12 Jaka Mocnik <jaka@gnu.org>
6056 * ggv/tagged as GGV_1_99_7. released a tarball.
6057 * ggv/bonobo/ggv-sidebar.c (ggv_sidebar_page_changed): fixed a bug that
6058 caused not to select the first page.
6059 * ggv/removed a few warnings.
6060 * ggv/src/gtkgs.c (gtk_gs_munge_adjustments): set adjustments' page
6063 2002-06-12 Jaka Mocnik <jaka@gnu.org>
6065 * ggv/src/ggv-window.c (prefs_changed): apply visibility setting
6066 changes immediately.
6067 * ggv/src/ggv-prefs-ui.c (ggv_prefs_dialog_new): removed "by default"
6068 from strings. This behaviour is now less confusing.
6069 * ggv/*/*.c: dewarningization. it should now compile cleanly with -Wall.
6071 2002-06-11 Jaka Mocnik <jaka@gnu.org>
6073 * ggv/src/ps.c: use the same orientation enums as GtkGS.
6074 * ggv/src/gtkgs.c: take care of per-page orientations.
6075 * ggv/src/main.c: handle the SIGINT and SIGTERM.
6077 2002-06-08 Jaka Mocnik <jaka@gnu.org>
6079 * ggv/src/ggv-ui.xml: fixed a typo.
6080 * ggv/idl/Ggv.idl: added reload() method to GgvPostScriptView interface.
6081 * ggv/gtkgs.[ch] (gtk_gs_reload): a new function.
6082 * ggv/bonobo/ggv-postscript-view.c (document_changed-cb): use above.
6083 (impl_GNOME_GGV_PostScriptView_reload): implement the above method.
6084 * ggv/src/ggv-window.c (verb_FileReload): invoke reload() method of
6085 GgvPostScriptView interface.
6086 * ggv/src/ggv-window.c (gnome_toolbar_prefs_changed): respect GNOME
6088 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_prefs_changed):
6089 handle setting changes here and not in gtkgs.c.
6090 (ggv_postscript_view_construct): set above to be called when
6091 GtkGS related settings change.
6092 (ggv_postscript_view_destroy): remove the above notification.
6093 * ggv/ggv-prefs-ui.c (ggv_prefs_dialog_apply): don't set OK button
6095 * ggv/src/ggv-prefs.c (ggv_prefs_changed): fixed a typo.
6096 * ggv/src/Makefile.am, bonobo/Makefile.am: fix the locale dir.
6098 2002-06-08 Hasbullah Bin Pit <sebol@ikhlas.com>
6100 * ggv/configure.in: Added Malay (ms)to ALL_LINGUAS.
6101 * ggv/po/ms.po: Added Malay Translation.
6103 2002-06-05 Yanko Kaneti <yaneti@declera.com>
6105 * ggv/configure.in: (ALL_LINGUAS) Added Bulgarian (bg).
6107 2002-06-05 Federico Mena Quintero <federico@ximian.com>
6109 GGV still compiles with a lot of warnings if you do -Wall, but
6110 these seem to fix the most egregious control bugs.
6112 * ggv/src/gtkgs.c (gtk_gs_set_page_size): Do not index on pageid if
6113 pageid is less than zero.
6115 * ggv/bonobo/ggv-postscript-view.c (set_file_items_sensitivity): See
6116 if the UI component is bound to a container before trying to set
6118 (_set_page_items_sensitivity): Likewise.
6120 * ggv/bonobo/ggv-control.c (sync_zoom_level_items): Likewise.
6121 (_set_zoom_items_sensitivity): Likewise.
6122 (ggv_control_construct): Save the GConfClient notify ID.
6123 (ggv_control_destroy): Remove the GConfClient notification so the
6124 control doesn't get notified after it is destroyed.
6126 2002-06-01 Jaka Mocnik <jaka@gnu.org>
6128 * ggv/src/gtkgs.c: added proper scrolling interface.
6129 * ggv/bonobo/*: fixed ref counting issues.
6130 * ggv/the above should fix most crashes, warnings, assertions, etc.
6132 2002-05-31 Pablo Saratxaga <pablo@mandrakesoft.com>
6134 * gpdf/configure.in: Added Vietnamese (vi) and Walloon (wa) to All_LINGUAS.
6136 2002-05-30 Jaka Mocnik <jaka@gnu.org>
6138 * ggv/bonobo/ggv-sidebar.[ch]: fixed a stupid typo. this fixes the lost
6141 2002-05-29 Federico Mena Quintero <federico@ximian.com>
6143 * ggv/bonobo/ggv-postscript-view.c
6144 (ggv_postscript_view_add_interfaces): Pass the OAFIID to
6145 bonobo_persist_stream_new() as well.
6147 2002-05-27 Kjartan Maraas <kmaraas@gnome.org>
6149 * ggv/src/ggv-pref-ui.c: Mark some strings for translation.
6151 2002-05-26 Jaka Mocnik <jaka@gnu.org>
6153 * ggv/src/ggv-prefs.[ch], src/ggv-prefs-ui.[ch]: enable use of GNOME-wise
6154 defaults or custom settings for toolbar style.
6155 * ggv/src/ggv-window.c (sync_toolbar_style): comply to the above.
6156 * ggv/bonobo/ggv-postscript-view.c (save_file_sel_ok_clicked): always hide
6158 * ggv/src/gtkgs.c (gtk_gs_get_postscript): fixed a crash when an EPS file
6161 2002-05-22 Jaka Mocnik <jaka@gnu.org>
6163 * ggv/src/main.c: applied a patch from jacob berkman that fixes session
6166 2002-05-18 Jaka Mocnik <jaka@gnu.org>
6168 * ggv/src/main.c (main): perform bonobo_debug_shutdown() before
6171 * ggv/bonobo/main.c (ggv_postscript_viewer_factory): add a handler for
6172 TERM signal that performs a bonobo_debug_shutdown() in order to
6173 track reference count.
6175 2002-05-14 Pablo Saratxaga <pablo@mandrakesoft.com>
6177 * ggv/configure.in: Added Vietnamese (vi) to ALL_LINGUAS
6179 2002-05-13 Kjartan Maraas <kmaraas@gnome.org>
6181 * ggv/src/ggv-ui.xml: Add mnemonics and correct Help menu.
6183 2002-05-13 Jaka Mocnik <jaka@gnu.org>
6185 * ggv/ggv.desktop.in: changed name to GGV PostScript Viewer. fixes #81366.
6186 * ggv/bonobo/ggv-postscript-view-ui.xml:
6187 * ggv/bonobo/ggv-control-ui.xml:
6188 * ggv/src/ggv-ui.xml:
6189 some changes to be more HIG compliant (although not fully, as
6190 I personally don't like some suggestions). fixes #81230.
6191 * ggv/src/main.c (main): added --windows parameter specifying how many
6192 empty windows should be created (needed to restore the number of
6193 windows from old session in order not to confuse the window
6195 (main): connect "save_yourself" and "die" signals to SM client.
6196 (save_session): save session state (documents & empty windows).
6197 command line is used for this - no persistent data is stored.
6198 (client_die): nicely kill all windows.
6199 * ggv/src/ggv-window.c (verb_FileOpen): connect delete event of file
6200 selection to appropriate callback. fixes #81540.
6201 * ggv/fixed a few bugs with setting of sensitivity of menu items.
6203 2002-05-12 Jaka Mocnik <jaka@gnu.org>
6205 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_construct):
6206 fixed a stupid bug that caused us not to unref properly.
6207 (ggv_postscript_view_destroy): fixed a reference counting bug.
6209 2002-05-11 Jaka Mocnik <jaka@gnu.org>
6211 * ggv/applied a patch from Satyajit Kanungo <satyajit.kanungo@wipro.com>
6212 fixing bug #81215 - now it compiles with latest GDK libs
6213 * ggv/src/gtkgs.c gdk_send_xevent changed to it's new signature.
6214 * ggv/configure.in: version 1.99.5. tag GGV_1_99_5.
6215 * ggv/release a new tarball.
6217 2002-05-11 Jacob Berkman <jacob@ximian.com>
6219 * ggv/src/gtkgs.c (gtk_gs_next_page): fix previous commit to not break
6220 with gtk 2.0. work also with gtk 2.1 by not using *private* gdk
6221 calls; just use XSendEvent
6222 * ggv/configure.in: include X libs in our link line
6224 2002-05-07 Jaka Mocnik <jaka@gnu.org>
6226 * ggv/src/ggv-window.c (verb_FileReload): switch back to previously
6227 displayed page after reloading.
6228 * ggv/bonobo/ggv-postscript-view.c (document_changed_cb): redisplay
6229 the page that was displayed before reloading.
6231 2002-05-06 Murray Cumming <murrayc@usa.net>
6233 * ggv/src/ggv-window.c: Replaced use of bonobo_window_construct() with
6234 construct-time properties and bonobo_window_get_ui_container(),
6235 now that BonoboWindow has been corrected.
6237 2002-05-06 Jaka Mocnik <jaka@gnu.org>
6239 * ggv/src/configure.in: version 1.99.4. tag GGV_1_99_4.
6241 2002-05-05 Jaka Mocnik <jaka@gnu.org>
6243 * ggv/bonobo/ggv-postscript-view.c (verb_FileSaveMarked): set the current
6244 path in the file selection.
6245 * ggv/src/ggv-window.c (verb_FileReload): a handler for FileReload verb.
6246 (verb_FileOpen): set the current path in the file selection.
6247 * ggv/src/ggv-ui.xml: add a verb for reloading files.
6248 * ggv/src/gtkgs.c (gtk_gs_class_init): add a document_changed signal.
6249 how did this get removed?
6250 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_construct): add
6251 handler for document_changed signal to reload file.
6253 2002-05-05 Jaka Mocnik <jaka@gnu.org>
6255 * ggv/bonobo/ggv-postscript-view.c (notify_page_change): notify sidebar
6258 2002-05-04 Jaka Mocnik <jaka@gnu.org>
6260 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_get_ps): fixed
6261 a segfault because PrintAll verb passes NULL to indicate that all
6262 pages should be returned.
6264 2002-04-25 Jaka Mocnik <jaka@gnu.org>
6266 * ggv/bonobo/ggv-control.c (ggv_control_create_ui): added a zoom control
6267 showing current zoom factor.
6268 * ggv/*.xml: added placeholders and a zoom control to sidebar.
6269 * ggv/src/main.c (main): applied patch from Satyajit Kanungo to add help
6271 * ggv/implemented a setting for left/right placement of the side panel.
6272 currently only works in Nautilus.
6274 2002-04-23 Jaka Mocnik <jaka@gnu.org>
6276 * ggv/src/gtkgs.c (gtk_gs_set_page_size): properly handle boundingbox
6277 size. fixes bug #79097.
6279 2002-04-19 jaka mocnik <jaka@gnu.org>
6281 * ggv/applied a build fixage patch from kind people at mandrakesoft.
6283 2002-04-18 jacob berkman <jacob@ximian.com>
6285 * ggv/acconfig.h: fix tyop busting build
6287 2002-04-17 Satyajit Kanungo <satyajit.kanungo@wipro.com>
6289 * ggv/configure.in added AM_GCONF_SOURCE_2 to put the schemas file
6291 Check for 'gs' package and get the path for 'gs' on a system where
6292 gs is not in the path.
6294 2002-04-16 Abel Cheung <maddog@linux.org.hk>
6296 * ggv/TRANSLATABLE_FILES: moved to po/ directory.
6297 * ggv/ABOUT-NLS, INSTALL, TRANSLATABLE_FILES, install-sh,
6298 missing, mkinstalldirs, stamp-h.in, po/Makefile.in.in:
6299 Remove autogen'ed file.
6300 * ggv/acconfig.h: Added GETTEXT_PACKAGE
6301 * ggv/configure.in: GETTEXT_PACKAGE related cleanup, and removed
6302 AC_ARG_PROGRAM (does automake 1.5/1.6 require it?)
6303 * ggv/src/main.c: Use GETTEXT_PACKAGE for *textdomain*().
6305 2002-04-11 jacob berkman <jacob@ximian.com>
6307 * ggv/configure.in (AC_OUTPUT): add src/cursors/Makefile
6309 2002-04-11 Jaka Mocnik <jaka@gnu.org>
6311 * ggv/bonobo/ggv-postscript-view.c (save_file_sel_ok_clicked): ask before
6313 (view_button_press_cb): use hand cursor when moving page.
6314 (ggv_postscript_view_get_ps): really retrieve all pages if none
6316 (set_file_items_sensitivity): moved here from ggv-window.c.
6317 * ggv/bonobo/ggv-sidebar.c (ggv_sidebar_construct): set AUTOMATIC policy
6318 for page list scrollbars.
6319 * ggv/bonobo/ggv-control.c (ggv_control_construct): set AUTOMATIC policy
6320 for scrolled window scrollbars.
6321 * ggv/src/cursors.[ch]: copied hand cursors from eog.
6322 * ggv/src/cursors/*: hand cursors
6324 2002-04-05 Jaka Mocnik <jaka@gnu.org>
6326 * ggv/major revamp of sidebar, which is now a control, created by
6327 GgvPostScriptView andmerged in the container's UI. this enables us
6328 to view it in nautilus as well as in the GGV shell! according to
6329 this the save/print items have been moved to GgvPostScripView as well.
6330 * ggv/configure.in: barf in GS isn't installed. version 1.99.3. tarball
6331 release. tagged as GGV_1_99_3.
6333 2002-03-30 Jaka Mocnik <jaka@gnu.org>
6335 * ggv/bonobo/ggv-postscript-view.c: take care of popup items sensitivity.
6336 * ggv/bonobo/ggv-control-ui.xml: add zoom to fit width menu items.
6337 * ggv/configure.in: bumped version to 1.99.2.
6338 * ggv/message-of-doom: made it less threatening ;)
6339 * ggv/tagged as GGV_1_99_2. released a new tarball.
6341 2002-03-29 Jaka Mocnik <jaka@gnu.org>
6343 * ggv/src/gtkgs.c (gtk_gs_init): initialize scroll_start_? to -1.
6344 * ggv/src/ggv-ui.xml: add show/hide items to button 3 popup menu.
6345 * ggv/src/ggv-control-ui.xml: add navigation & zoom items to button 3
6347 * ggv/src/ggv-window.c: get the popup UI component and merge our popup
6349 * ggv/bonobo/ggv-control.c: create popup menu. show it on button 3 press.
6350 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_verbs): made global as control
6351 needs them as well to set to popup UI component.
6353 2002-03-28 jacob berkman <jacob@ximian.com>
6355 * ggv/bonobo/ggv-control.c: add a dummy field to this empty struct
6357 * ggv/bonobo/ggv-postscript-view.c: add a dummy field to this empty
6360 2002-03-26 Jaka Mocnik <jaka@gnu.org>
6362 * ggv/src/ggv-prefs.c (ggv_prefs_dialog_class_init): fix a delete_event
6363 handler being set to a wrong class.
6364 * ggv/src/ggv-window.c (sync_toolbar_style): sync toolbar style with
6365 ggv_toolbar_labels setting.
6366 (ggv_window_drag_data_received): a handler for received dnd data.
6367 (ggv_window_new): set window as a drag destination.
6368 (verb_DnD*): verbs for DnD popup menu.
6370 2002-03-24 Jaka Mocnik <jaka@gnu.org>
6372 * ggv/src/ggv-msg-window.[ch]: a window for display of ghostscript
6373 output, based on the obsolete gsmessage.[ch].
6374 * ggv/src/gsmessage.[ch]: removed.
6375 * ggv/bonobo/ggv-postscript-view.c (interpreter_message_cb): display
6376 output using ggv-msg-window API.
6378 2002-03-23 Jaka Mocnik <jaka@gnu.org>
6380 * ggv/configure.in: always use x11alpha as the antialiased device.
6381 * ggv/released 1.99.1 tarball, tagged as GGV_1_99_1.
6383 2002-03-23 Jaka Mocnik <jaka@gnu.org>
6385 * ggv/bonobo/ggv-postscript-view-ui.xml: added static paper size menu
6387 * ggv/bonobo/ggv-control-ui.xml: added static zoom level menu items.
6388 * ggv/bonobo/ggv-postscript-view.c (sync_size_items): made it work with
6389 static paper menu items.
6390 * ggv/bonobo/ggv-control.c (listener_ZoomLevel_cb): listener for zoom
6392 (sync_zoom_level_items): sync zoom level items state with current
6395 2002-03-18 Jaka Mocnik <jaka@gnu.org>
6397 * ggv/src/ggv-window.c (ggv_window_load): qualify the file to load with
6398 its full path as the control does not run with the same working dir.
6399 * ggv/configure.in: explicitly check for popt library.
6400 * ggv/[src|bonobo]/Makefile.am: link with popt.
6402 2002-03-18 Jaka Mocnik <jaka@gnu.org>
6404 * ggv/src/gtkgs.c (check_pdf): use mkstemp to avoid potential security
6406 (check_filecompressed): use mkstemp to avoid potential security
6408 * ggv/bonobo/ggv-postscript-view.c (load_ps_from_stream): use mkstemp to
6409 avoid potential security risks.
6411 2002-03-16 Jaka Mocnik <jaka@gnu.org>
6413 * ggv/src/ggv-window.c: fixed error dialogs when saving/printing with
6414 no pages are marked.
6415 * ggv/Makefile.am: install desktop files in $(prefix)/share/applications.
6417 2002-03-15 Jaka Mocnik <jaka@gnu.org>
6419 * ggv/src/ggv-window.c: make save and print items sensitive only when a
6420 valid document is loaded.
6421 * ggv/bonobo/ggv-control.c: make zoom items sensitive only when a valid
6423 * ggv/src/gtkgs.c: less erratic current_page when a bad file is loaded.
6424 * ggv/bonobo/ggv-postscript-view.[ch]
6425 (ggv_postscript_view_get_current_page): new function.
6427 2002-03-15 Jaka Mocnik <jaka@gnu.org>
6429 * ggv/src/ggv-window.c (control_property_changed_handler): handle change
6430 of page number to -1 as error.
6431 * ggv/src/gtkgs.[ch]: added interpreter_error signal.
6432 (gtk_gs_interpreter_message): handle output containing string "Error:"
6433 as an error and emit interpreter_error signal.
6434 (stop_interpreter): handle gs exiting with status 1 as error and
6435 emit interpreter_error signal.
6437 2002-03-14 Jaka Mocnik <jaka@gnu.org>
6439 * ggv/configure.in: added --enable-bonobo-debug that logs bonobo component
6441 * ggv/bonobo/main.c: implemented logging to a file to help debugging.
6443 2002-03-14 Jaka Mocnik <jaka@gnu.org>
6445 * ggv/configure.in: check for Xinerama.
6446 * ggv/gtkgs.c (compute_?dpi): take possible multihead displays into
6447 accont. patch by Mike Hicks <hick0088@tc.umn.edu>.
6448 * ggv/[src|bonobo]/Makefile.am: link with Xinerama if found.
6450 2002-03-13 Jaka Mocnik <jaka@gnu.org>
6452 * ggv/src/gsdefaults.c (gtk_gs_defaults_changed): fixed a bug that wrote
6453 alpha params to interpreter command.
6454 * ggv/bonobo/ggv-postscript-view.c (view_button_press_cb): grab keyboard
6455 focus of gtkgs widget.
6457 2002-03-12 Jaka Mocnik <jaka@gnu.org>
6459 * ggv/src/ggv-window.c (ggv_window_get_ps_from_control): get the whole
6460 document or only a set of marked pages from the control via CORBA.
6461 (ggv_window_print_postscript): asynchronously spawn the printing
6462 command and feed the postscript to its stdin.
6463 (verb_FilePrint*): implemented.
6464 added message and question dialogs where appropriate.
6465 * ggv/bonobo/ggv-postscript-view.c: emit changes to page_count, page
6466 and orienation properties when appropriate.
6468 2002-03-11 Jaka Mocnik <jaka@gnu.org>
6470 * ggv/idl/Ggv.idl: added getDocument and getPages methods.
6471 * ggv/bonobo/ggv-postscript-view.c: added implementation of the above.
6472 * ggv/src/gsio.[ch]: a wrapper for output destination for pscopy*()
6473 routines, as we dont want them to always write to a file anymore.
6474 * ggv/src/ggv-ui.xml: added FileSaveMarked, FilePrintMarked and
6475 FilePrintAll menu items.
6476 * ggv/src/ggv-window.c: implement verb FileSaveMarked. get postscript
6477 via CORBA from the PostScriptView.
6479 2002-03-08 Pablo Saratxaga <pablo@mandrakesoft.com>
6481 * ggv/configure.in (ALL_LINGUAS): added Basque
6483 2002-03-07 Jaka Mocnik <jaka@gnu.org>
6485 * ggv/configure.in: remove AC_PACKAGE_NAME and _VERSION. they prevented
6486 proper make distcheck.
6487 * ggv/Makefile.am: include xmldocs.make and message-of-doom in distribution
6489 * ggv/src/ggvutils.c: don't include the zoom icons as we don't need them
6491 * ggv/po/POTFILES.in: fixed.
6492 * ggv/tagged as GGV_1_99_0 and released a 1.99.0 tarball.
6494 2002-03-06 Jaka Mocnik <jaka@gnu.org>
6496 * ggv/src/ggv-window.c: added page marking buttons.
6497 (ggv_window_new): sync menu items with default values.
6499 2002-03-05 Jaka Mocnik <jaka@gnu.org>
6501 * ggv/src/ggv-prefs.[ch]: derive prefs dialog from GtkWindow instead of
6503 fixed major bugs. prefs now seem to work!
6504 (ggv_prefs_dialog_apply): apply prefs from dialog.
6506 2002-03-04 Jaka Mocnik <jaka@gnu.org>
6508 * ggv/src/ggv-prefs.c: create prefs dialog. use the old layout from ggv
6509 1.0, just use a GtkDialog with a notebook instead of GnomePropertyBox.
6510 * ggv/src/gtkgs.c (start_interpreter): use configurable alpha parameters.
6511 * ggv/src/gsdefaults.[ch]: merged configurable alpha parameters code from
6513 * ggv/configure.in: added check for GS version and appropriate setting
6514 of default alpha parameters.
6515 * ggv/ggv.schemas: add alpha parameters key.
6517 2002-03-03 Jaka Mocnik <jaka@gnu.org>
6519 * ggv/src/ggv-prefs.[ch]: a new source for GGV shell prefs and prefs
6520 editing dialog. The former is there, the latter is coming...
6521 * ggv/src/Makefile.am: add the above to build.
6522 * ggv/src/ggv-window.c (ggv_window_destroy): save default window size.
6523 (file_sel_unmap): save default file selection size.
6524 * ggv/src/main.c (main): load and save GGV prefs.
6525 * ggv/src/ggv-ui.xml: Settings menu.
6526 * ggv/src/ggvutils.[ch]: moved zoom level stuff here from
6527 bonobo/ggv-control.c as it will also be needed by the shell itself.
6528 * ggv/bonobo/ggv-control.c (ggv_control_class_init): create a template
6529 for zoom level menus.
6530 (ggv_control_create_ui): merge the zoom level menus. it currently does
6533 2002-03-03 Jaka Mocnik <jaka@gnu.org>
6535 * ggv/bonobo/ggv-control-ui.xml: added.
6536 * ggv/po/POTFILES.in: updated to reflect the real situation.
6538 2002-03-03 Carlos Perelló MarÃn <carlos@gnome-db.org>
6540 * ggv/src/callbacks.c: Fixed the translator option at about dialog.
6541 * ggv/configure.in: Added AC_PREREQ(2.52), this way, if you have also
6542 autoconf 2.13 it works.
6544 2002-03-02 John Fleck <jfleck@inkstain.net>
6548 * ggv/help/C/ggv.xml, help/C/legal.xml,
6549 help/C/figures/example_screenshot.eps & example_screenshot.png
6551 * ggv/help/Makefile.am
6552 * ggv/help/C/Makefile.am
6553 * ggv/help/C/ggv-C.omf
6556 2002-03-02 Jaka Mocnik <jaka@gnu.org>
6558 * ggv/bonobo/ggv-control-ui.xml: moved ui from source to file. extend it
6559 with toolbar buttons for zooming.
6560 * ggv/bonobo/ggv-postscript-view-ui.xml: added first and last page items.
6561 added navigation buttons.
6562 * ggv/bonobo/ggv-postscript-view.c: added verbs for first and last page.
6563 * ggv/bonobo/ggv-control.c: fixed zooming. zoomable is not derived from
6565 * ggv/src/stock/Makefile.am: only install the toggle pixmaps as we
6566 won't need the others.
6567 * ggv/src/ggv-window.c: added about dialog.
6568 * ggv/src/ggvutils.[ch] (ggv_raise_and_focus_widget): new utility function.
6570 2002-02-28 Jaka Mocnik <jaka@gnu.org>
6572 * ggv/src/main.c: removed old ggv code. it remains in ggv-gnome-1
6573 branch in order to reuse pieces of it in the new ggv.
6574 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_construct):
6575 add key press event mask to gs widget.
6576 * ggv/ggv.schemas: key "/apps/ggv/layout/autojump" changed to
6577 "/apps/ggv/control/autojump" as it became a control-specific
6579 * ggv/src/gtkgs.c (gtk_gs_scroll_step): new function that performs
6581 (gtk_gs_scroll_to_edge): scrolls to desired edges.
6582 fix scrolling rect drawing. it required processing the events
6583 caused by gdk_window_move() before drawing rectangle.
6584 * ggv/bonobo/ggv-control.c (ggv_control_construct): added key press
6586 added gconf notify for key "/apps/ggv/control/autojump".
6587 show scrolling rectangle when using scrollbars to scroll.
6589 2002-02-26 Jaka Mocnik <jaka@gnu.org>
6591 * ggv/src/gtkgs.c: fixed scrolling policy to comply with scrolled
6592 window's requirements.
6593 * ggv/bonobo/ggv-postscript-view.c: add panning.
6594 * ggv/src/ggv-window.[ch]: get rid of the scrollpane as the control
6595 now provides scrollbars.
6597 2002-02-25 Jaka Mocnik <jaka@gnu.org>
6599 * ggv/src/gg-prefs-ui.c: applied a patch from Hidetoshi Tajima to make
6600 page sizes in prefs dialog translatable.
6601 * ggv/src/ggv-window.c (ggv_window_remove_control): only deactivate
6602 control if there actually is one ;)
6604 2002-02-23 Jaka Mocnik <jaka@gnu.org>
6606 * ggv/src/ggv-window.c (page_list_selection_changed): change pages
6607 when a new cell in the check list changes.
6608 (control_property_changed_handler): handle changes of page
6611 2002-02-22 Jaka Mocnik <jaka@gnu.org>
6613 * ggv/src/ggv-window.c (ggv_window_create_page_list): new function that
6614 fetches page names from the control and puts them in the check list.
6615 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_get_prop):
6616 implement page, page_count and page_names properties.
6618 2002-02-20 Jaka Mocnik <jaka@gnu.org>
6620 * ggv/src/gtkchecklist.c: migrated to Gtk+2 tree MVC framework.
6621 * ggv/src/ggv.window.c: add a checklist to sidebar. we don't populate
6622 it yet as we first need a CORBA interface to our PostscriptView
6623 to allow for fetching page names.
6624 * ggv/idl/Ggv.idl: added typedefs for PageName and PageNameList.
6626 2002-02-19 Jaka Mocnik <jaka@gnu.org>
6628 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_create_ui):
6629 fixed a buggy path that prevented merging of size menus. They
6630 still don't show quite right though.
6632 2002-02-17 Jaka Mocnik <jaka@gnu.org>
6634 * ggv/src/ggv-window.c (ggv_window_new): add event source listener to
6636 (control_property_changed_handler): handler for events from property
6638 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_construct): add
6639 status & title properties.
6640 (ggv_postscript_view_get_prop): return title & status properties.
6641 (load_ps): loads ps from file & emits all the necessary notifications.
6642 used in both load_ps_from_stream & load_ps_from_file.
6643 * ggv/bonobo/ggv-postscript-view-ui.xml: cmd/menuitem separation.
6645 2002-02-17 Duarte Loreto <happyguy_pt@hotmail.com>
6647 * gpdf/configure.in: Added pt to All_LINGUAS.
6649 2002-02-16 Jaka Mocnik <jaka@gnu.org>
6651 * ggv/src/gtkscrollpane.c: changed in order to behave in a gtkscrollbar
6652 manner which is compatible with gtkviewport.
6653 * ggv/src/gtkscrollpane.[ch]: removed all traces of unsued member
6655 * ggv/src/ggv-window.c (ggv_window_new): add scrollpane to scrollbar.
6657 (ggv_app_verbs): added New & Close.
6658 * ggv/src/Makefile.am: readded gtkscrollpane.[ch] to sources.
6659 * ggv/src/ggv-ui.xml: fixed verb names.
6660 * ggv/idl/Ggv.idl: UPSIDE_DOWN -> UPSIDEDOWN to match GtkGS names.
6661 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_construct):
6662 add width, height and orientation properties.
6664 2002-02-14 Jaka Mocnik <jaka@gnu.org>
6666 * ggv/src/gtkgs.c (gtk_gs_next_page): fixed broken XEvent abusing code.
6667 (gtk_gs_load): call gtk_gs_set_page_size().
6668 * ggv/src/ggv-window.[ch]: main window for GGV, derived from BonoboWindow.
6669 * ggv/src/main.c: all-new-startup code.
6670 * ggv/src/ggv-ui.xml: bonobo UI for GGV.
6671 * ggv/bonobo/*: some bugfixes.
6672 * ggv/removed most of the old stuff from build.
6673 * ggv/GGV now barely shows the PS in a control and allows to move fwd/bwd.
6675 2002-02-08 Jaka Mocnik <jaka@gnu.org>
6677 * ggv/imported Gnome2 port from Satyajit Kanungo.
6678 * ggv/fixed build system.
6679 * ggv/bonobo/*: port to Gnome2. it currently compiles.
6680 * ggv/updated AUTHORS, MAINTAINERS and, most important, TODO
6682 2002-01-20 Stanislav Brabec <utx@penguin.cz>
6684 * ggv/gtkgs.c: Be able to scroll exactly to margin (especially
6685 with mouse wheel). This makes visible another bug - scroll
6686 pane is able to scroll only few pixels apart from margin.
6687 * ggv/callbacks.c: Cosmetical (spaces).
6689 2001-11-19 Jaka Mocnik <jaka@gnu.org>
6691 * ggv/src/gtkgs.c (start_interpreter): chdir() to the current dir of
6692 ps file in the child process to prevent screwing up the ggv's cwd.
6693 * ggv/ggv/ggv.schemas: fix a typo.
6694 * ggv/released 1.1.93 tarball.
6696 2001-11-18 Jaka Mocnik <jaka@gnu.org>
6698 * ggv/src/*.[ch]: applied a patch from Laurent Mazet that adds a
6699 --nostatusbar option to ggv.
6700 added (popup)menu items for statusbar visibility.
6701 handle showstatusbar preferences option properly.
6702 added show statusbar option to preferences menu.
6703 * ggv/ggv.schemas: add nostatusbar boolean key.
6704 * ggv/help/C/ggv.sgml: described --nostatusbar option.
6706 2001-11-15 Jaka Mocnik <jaka@gnu.org>
6708 * ggv/src/gtkgs.[ch]: added document_changed signal that is emitted
6709 when the loaded file changes.
6710 * ggv/src/gtkgs.c (timer_callback): emit document_changed signal.
6711 * ggv/src/callbacks.c (document_changed_callback): a handler for the
6712 document_changed signal that reloads the file.
6713 * ggv/help/C/ggv.sgml: removed last traces of "media".
6715 2001-11-13 Jaka Mocnik <jaka@gnu.org>
6717 * ggv/bonobo/ggv-postscript-view.c: fix setting UI from xml.
6718 * ggv/src/stock: added missing pixmaps.
6719 * ggv/src/main.c: removed last traces of 'media'.
6720 * ggv/configure.in: add --disable-install-schemas switch.
6721 * ggv/Makefile.am: install schemas conditionally if INSTALL_SCHEMAS
6722 is true. Install schemas file to $(sysconfdir)/gconf/schemas.
6723 * ggv/ggv.spec.in: install schemas stuff in %post phase.
6724 * ggv/released 1.1.92 tarball.
6726 2001-11-12 Stanislav Brabec <utx@penguin.cz>
6728 * ggv/idl/Ggv.idl, src/ps.h, src/main.c, src/ps.c, src/callbacks.c,
6729 src/ggvwindow.h, src/gtkgs.c, src/gtkgs.h, src/gsdefaults.c,
6730 src/gsdefaults.h, bonobo/ggv-postscript-view.h,
6731 bonobo/ggv-postscript-view-ui.xml, bonobo/ggv-postscript-view.c,
6732 ggv.schemas, help/C/ggv.sgml: Terminology change - change "media"
6733 to "page size" or "media size" everywhere to prevent ambiguities
6734 of PostScript parameters. Page Media is a set of PostScript
6735 parameters, containing page size, media color, media type etc.
6737 2001-11-09 Wang Jian <lark@linux.net.cn>
6739 * ggv/configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN.
6741 2001-11-06 Jaka Mocnik <jaka@gnu.org>
6743 * ggv/src/main.c (ggv_toolbar_set_labels): new function.
6744 * ggv/src/main.c: add a checkbox for toolbarlabels setting in prefs
6746 * ggv/src/prefs.c (ggv_prefs_load): added handling of toolbarlabels
6748 * ggv/ggv.schemas: added toolbarlabels key.
6749 * ggv/released 1.1.91 tarball.
6751 2001-11-04 Jaka Mocnik <jaka@gnu.org>
6753 * ggv/configure.in: use AM_GCONF_SOURCE.
6754 * ggv/Makefile.am: use GCONF_SCHEMA_CONFIG_SOURCE provided by above.
6755 * ggv/help/C/ggv.sgml: use "-//GNOME//DTD DocBook PNG Variant V1.1//EN".
6757 2001-11-02 John Fleck <jfleck@inkstain.net
6759 * ggv/help/C/ggv.sgml - checking in Jonathan Bartlett's updated help
6762 2001-10-30 Roy-Magne Mo <rmo@sunnmore.net>
6764 * gpdf/configure.in: Added nn to All_LINGUAS.
6766 2001-10-23 Jaka Mocnik <jaka@gnu.org>
6768 * ggv/src/gtkgs.c (gtk_gs_load): "absolutize" relative filename paths.
6770 2001-10-18 Jaka Mocnik <jaka@gnu.org>
6772 * ggv/bonobo/GNOME_GGV.oaf.in: removed embeddable server.
6773 * ggv/bonobo/ggv-postscript-view.c: removed conf_client
6776 2001-10-09 Jaka Mocnik <jaka@gnu.org>
6778 * ggv/src/gtkgs.c (start_interpreter): properly handle multiple
6779 arguments in interpreter command.
6781 2001-09-26 Abel Cheung <maddog@linux.org.hk>
6783 * gpdf/configure.in: Added zh_TW to ALL_LINGUAS.
6785 2001-09-25 Fatih Demir <kabalak@gtranslator.org>
6787 * ggv/\*/.cvsignore: Added some small cvsignore files.
6789 2001-09-19 Jaka Mocnik <jaka@gnu.org>
6791 * ggv/bonobo/ggv-control.c (zoomable_zoom_to_fit_cb): properly compute
6793 * ggv/bonobo/ggv-postscript-view.c (view_button_[press|release]_cb): call
6794 gtk_gs_[start|end]_scroll(), respectively.
6795 (ggv_postscript_view_zoom_to_fit): make it return zoom level that
6796 will make the document fit.
6798 2001-09-17 Jaka Mocnik <jaka@gnu.org>
6800 * ggv/added gconf initialization to bonobo component.
6801 * ggv/applied some patches for compilation with gcc 3.0.
6803 2001-09-09 Wang Jian <lark@linux.net.cn>
6805 * gpdf/configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN.
6807 2001-08-31 Abel Cheung <maddog@linux.org.hk>
6809 * ggv/configure.in (ALL_LINGUAS): zh_TW.Big5 -> zh_TW
6811 2001-08-30 Jaka Mocnik <jaka@gnu.org>
6813 * ggv/applied a patch by Werner Koerner
6814 <wernerk.koerner@zae.uni-wuerzburg.de>. see below.
6815 * ggv/main.c: Added new function zoom_to_fit. It sets the new zoom factor
6816 and updates the status line and the zoom submenu accordingly.
6817 Added possibility to zoom to page width.
6818 Added menu 'fit to width' to zoom submenu.
6819 * ggv/gtkgs.c (gtk_gs_zoom_to_fit): this function now only calculates the
6820 zoom factors, changing them is done in main.c/zoom_to_fit
6821 * ggv/callbacks.c: added zoom_to_fit_width_callback
6822 * ggv/main.c (refresh_coordinates): Refresh coordinates only if sidebar is
6823 visible. Remove call to ggv_menus_set_visible which overrides
6824 hiding/showing the menubar.
6825 * ggv/main.c (ggv_panel_set_visible): Add call to refresh_coordinates to
6826 initialize coordinate display when panel is shown.
6827 * ggv/gtkchecklist.c (gtk_check_list_clear): fixed memory leak
6828 * ggv/gtkgs.c (gtk_gs_destroy): fixed memory leak
6829 (gtk_gs_unrealize): new unrealize handler. fixes a mem-leak.
6830 * ggv/gtkgs.c (start_interpreter): It makes no sense to quote the filename
6831 in the argv-array - removed. Now most files containing special
6832 characters should work except uncompressed pdf-files.
6833 * ggv/gsdefaults.c (gtk_gs_defaults_get_scan_pdf_cmd): Remove quotes from
6834 default command line as filenames are either already quoted or
6835 temporary files which dont contain any special characters.
6836 * ggv/ggvutils.c (ggv_quote_filename): Quote '%'-character.
6837 * ggv/gtkgs.c (start_interpreter): Change to the directory of the input
6838 file, then start gs. This helps with some postscript files which
6839 include other files using relative paths (i.e. ghostscript's example
6842 2001-08-20 Ravi Pratap <ravi@che.iitm.ac.in>
6844 * gpdf/MAINTAINERS : Create and add Michael and myself to it.
6846 2001-08-20 Jaka Mocnik <jaka@gnu.org>
6848 * ggv/help/C/ggv.sgml: described dash filename.
6849 * ggv/src/main.c (main): don't open stdin if no filenames have been
6850 specified and the stdin isn't a tty. implement reading stdin if a
6851 dash was specified among filenames.
6853 2001-08-19 Zbigniew Chyla <cyba@gnome.pl>
6855 * gpdf/Makefile.am (SUBDIRS): Added po.
6857 * gpdf/configure.in (AC_OUTPUT): Added intl/Makefile po/Makefile.in.
6859 * gpdf/xpdf/Makefile.am (INCLUDES): Added -DGNOMELOCALEDIR.
6861 * gpdf/xpdf/bonobo-application-x-pdf.cc (main): Set textdomain and locale.
6863 * gpdf/xpdf/gpdf.cc (main): ditto.
6864 Marked a few strings for translation.
6866 2001-08-13 Jaka Mocnik <jaka@gnu.org>
6868 * ggv/src/main.c (open_prefs_dialog): add a check button for outlining
6869 last visible part of page when scrolling.
6870 * ggv/configure.in: bumped version to 1.1.1 and released a new tarball.
6872 2001-08-12 Ravi Pratap <ravi@che.iitm.ac.in>
6874 * gpdf/xpdf/bonobo-application-x-pdf-ui.xml : Add ZoomFitHeight verb and toolbar
6877 * gpdf/xpdf/bonobo-application-x-pdf.h (VERB_Z_FIT): Rename to VERB_Z_FIT_WIDTH
6878 (VERB_Z_FIT_HEIGHT): Add
6880 * gpdf/xpdf/bonobo-application-x-pdf.cc (verbs): Update to use the new
6882 (view_zoom_verb): update accordingly
6883 (zoom_to_fit): Modify to take an extra argument determining type of fit. Use
6884 the scrolled_window to determine allocation height and width.
6886 * gpdf/xpdf/Makefile.am : Comment out unnecessary targets
6888 2001-08-11 Jaka Mocnik <jaka@gnu.org>
6890 * ggv/src/gtkgs.c (gtk_gs_*_scroll): functions to mark beginning and
6891 end of a scrolling session.
6892 (*) wrapped all gdk_window_move(gs->pstarget ...) in drawing
6893 rectangles if we are scrolling.
6894 (gtk_gs_defaults_changed): get new values directly from gconf as we
6895 can't be sure that the other callback (the one from gsdefaults.c)
6896 was called before us.
6897 * ggv/src/gsdefaults.c (gtk_gs_defaults_changed): act properly on
6898 configuration changes.
6899 * ggv/ggv.schemas: add show_scroll_rect.
6901 2001-08-10 Ravi Pratap <ravi@che.iitm.ac.in>
6903 * gpdf/xpdf/stock-zoom-in.xpm : Add
6905 * gpdf/xpdf/stock-zoom-out.xpm : Add
6907 * gpdf/xpdf/stock-zoom-fit.xpm : Add
6909 * gpdf/xpdf/stock-zoom-fit-wide.xpm : Add
6911 * gpdf/xpdf/stock-zoom-fit-tall.xpm : Add
6913 * gpdf/xpdf/Makefile.am : Update, add targets etc.
6915 * gpdf/xpdf/bonobo-application-x-pdf.cc (view_zoom_verb): Change zoom
6916 factor to 1.2 which is more correct
6917 (zoom_to_fit): Small tweak to enable better approximation
6919 * gpdf/xpdf/bonobo-application-x-pdf-ui.xml : Change ZoomFit to ZoomFitWidth.
6921 * gpdf/xpdf/bonobo-application-x-pdf.cc : Update to use the new name.
6923 2001-08-10 Jaka Mocnik <jaka@gnu.org>
6925 * ggv/src/main.c, src/callbacks.c: fixed increasing/decreasing
6926 magnification. removed magstep member from ggv_window.
6928 2001-08-09 Ravi Pratap <ravi@che.iitm.ac.in>
6930 * gpdf/xpdf/bonobo-application-pdf-ui.xml: Add Zoom items to the
6933 2001-08-01 Jaka Mocnik <jaka@gnu.org>
6935 * ggv/src/main.c (ggv_*_set_visible): functions for setting visibility
6936 of panel/menus/toolbar.
6937 * ggv/src/prefs.c: finished migration to gconf. new prefs behaviour
6938 is to sync all open ggvs with prefs changes of both UI shell and
6941 2001-07-22 Jaka Mocnik <jaka@gnu.org>
6943 * ggv/src/main.c (synchronize_*_wd): new functions that sync UI with
6944 default values. these are needed as we can't rely on the order
6945 that the gconf notify functions will be called in.
6947 2001-07-22 Jaka Mocnik <jaka@gnu.org>
6949 * ggv/src/gtkgs.c (start_interpreter): enclose filename in quotes when
6950 creating GS command line in order to properly handle filenames with
6953 2001-07-18 Jaka Mocnik <jaka@gnu.org>
6955 * ggv/src/gtkgs.c (gtk_gs_defaults_changed): redisplay when zoom
6957 * ggv/src/main.c: improve logic for determining magstep from zoom factor.
6959 2001-07-14 Kjartan Maraas <kmaraas@gnome.org>
6961 * ggv/configure.in: Added "nn" to ALL_LINGUAS.
6963 2001-07-13 Jaka Mocnik <jaka@gnu.org>
6965 * ggv/moved the rest of config code in ggv to gconf.
6966 * ggv/ggvutils.[ch] (ggv_compute_zoom): moved here from main.c.
6967 (ggv_compute_spec): new function. inverse of ggv_compute_zoom().
6968 * ggv/gsdefaults.c: moved gconf client initialization from GtkGS class
6971 2001-07-10 Ravi Pratap <ravi@che.iitm.ac.in>
6973 * gpdf/xpdf/gpdf.cc (main): Make indentation consistent with the
6976 2001-07-08 Jaka Mocnik <jaka@gnu.org>
6978 * ggv/src/gtkgs.c (gtk_gs_init): add notification callbacks to gtkgs
6980 (gtk_gs_class_init): get default gconf client. assert if gconf
6982 (gtk_gs_get_gconf_client): access to the gtkgs gconf client.
6983 * ggv/src/prefs.c: removed gtkgs prefs as these are now handled by
6985 * ggv/src/main.c (main): initialize gconf.
6986 (set_gs_prefs): removed setting of GtkGS prefs as this is now
6987 handled by GtkGS gconf notification callbacks.
6988 * ggv/src/callbacks.c (prefs_apply_callback): save GtkGS prefs separately.
6989 * ggv/src/gtkscrollpane.c: removed some warnings. make use of default
6990 unrealize signal handler.
6992 2001-07-03 Jaka Mocnik <jaka@gnu.org>
6994 * ggv/src/gsdefaults.[ch]: home for all the gtk_gs_defaults_* stuff that
6995 was once in gtkgs.[ch].
6996 (gtk_gs_defaults_load, gtk_gs_defaults_save): restore/save config
6998 ggvutils.[ch]: moved unit and orientation labels, paper sizes and
6999 unit factors here from various places.
7000 (ggv_split_string, ggv_get_index_of_string): utility functions
7001 that were once static to their sources.
7003 2001-07-02 Jaka Mocnik <jaka@gnu.org>
7005 * ggv/bonobo/ggv-postscript-view.c (sync_*_items): removed debugging
7007 (ggv_postscript_view_construct): fixed media property of PropertyBag.
7008 (listener_Media_cb): don't free media: arg_release() will take care of
7010 prefs.[ch]: removed gs*_cmd global variables as they are now stored
7011 in GtkGSDefaults. fixed prefs io functions to respect this.
7012 * ggv/main.c (synchronize_*_items): new function to enable/disable
7013 paper/orientation items according to respective override setting.
7015 2001-07-01 Ravi Pratap <ravi@che.iitm.ac.in>
7017 * gpdf/xpdf/gpdf-ui.xml: Make the print menu item visible.
7019 2001-06-30 Jaka Mocnik <jaka@gnu.org>
7021 * ggv/src/prefs.c (set_prefs): apply settings for auto jump to
7022 beginning of the page.
7024 2001-06-22 Ravi Pratap <ravi@che.iitm.ac.in>
7026 * gpdf/configure.in: Fix a daft error of mine; ask for cflags
7027 and libs of bonobox instead
7029 2001-06-20 Karl Eichwalder <ke@suse.de>
7031 * ggv/configure.in: Remove AM_PROG_XML_I18N_TOOLS (duplicate).
7033 2001-06-16 Ravi Pratap <ravi@che.iitm.ac.in>
7035 * gpdf/configure.in: Fix logic for bonobo checking to stop if
7036 bonobo is not found.
7038 2001-05-31 Karl Eichwalder <ke@suse.de>
7040 * ggv/bonobo/GNOME_GGV.oaf.in: s/Postscript/PostScript/ for _value
7043 * ggv/Merge in xml-i18n-tools-0-8-4-branch.
7045 * ggv/configure.in (ALL_LINGUAS): Add 'hr'.
7047 * ggv/Start to apply xml-i18n-toolization running xml-i18n-prepare
7049 * ggv/Makefile.am (EXTRA_DIST): Add xml-i18n-extract.in
7050 xml-i18n-merge.in xml-i18n-update.in.
7051 * ggv/xml-i18n-extract.in: Add from xml-i18n-tools 0.8.4.
7052 * ggv/xml-i18n-update.in: Ditto.
7053 * ggv/xml-i18n-merge.in: Ditto.
7055 * ggv/configure.in: Add AM_PROG_XML_I18N_TOOLS.
7057 * ggv/Makefile.am (Graphics_DATA): Fix ggv.desktop entry.
7058 * ggv/.cvsignore: Add ggv.desktop.
7059 * ggv/ggv.desktop: Remove file.
7060 * ggv/ggv.desktop.in: New file.
7062 2001-05-30 Jaka Mocnik <jaka@gnu.org>
7064 * ggv/src/ggvwindow.h (struct _ggv_window): added more members for
7065 some menu & popup-menu items.
7066 * ggv/src/main.c: added First/Last Page menu and popup menu-items.
7067 patch submitted by Dan E. Kelley <dan.kelley@dal.ca>.
7068 Implemented setting of sensitivity of new menu & popup-menu items.
7070 2001-05-25 Jaka Mocnik <jaka@gnu.org>
7072 * ggv/src/prefs.c (load_prefs): really set default zoom factor. fixes
7075 2001-05-17 Jaka Mocnik <jaka@gnu.org>
7077 * ggv/src/callbacks.c: apply/save file selection dialog dimensions.
7078 * ggv/src/prefs.[ch]: save/load file selection dialog dimensions to/from
7079 config file. fixes bug #54652.
7081 2001-05-17 Jaka Mocnik <jaka@gnu.org>
7083 * ggv/src/main.c (create_popup_menus): added more keyboard accelerators.
7084 (create_menus): fixed keyboard accelerators clashes. fixes bug #54654.
7085 * ggv/src/callbacks.c (toggle_*_pages_callback): really _toggle_,
7086 don't just _set_ them. fixes bug #54653.
7088 2001-05-11 Gediminas Paulauskas <menesis@delfi.lt>
7090 * ggv/src/callbacks.c: add missing }
7092 2001-05-10 Jaka Mocnik <jaka@gnu.org>
7094 * ggv/src/callbacks.c (button_press_callback): added zoom-in function to
7096 * ggv/src/gtkgs.[ch] (gtk_gs_set_center): new function.
7097 * ggv/bonobo/ggv-postscript-view.c (sync_radio_items): fix syncing for
7099 * ggv/bonobo/ggv-postscript-view-ui.xml: added needed verbs with their
7102 2001-05-03 Jaka Mocnik <jaka@gnu.org>
7104 * ggv/bonobo/ggv-postscript-view.[ch]: move media menu template to
7106 (ggv_postscript_view_class_init): build media menus. properly
7107 encode translated strings.
7109 2001-04-28 Jaka Mocnik <jaka@gnu.org>
7111 * ggv/src/main.c (create_toolbar): respect toolbar labels preferences.
7113 2001-04-23 Jaka Mocnik <jaka@gnu.org>
7115 * ggv/bonobo/ggv-postscript-view-ui.xml: added a placeholder for media
7117 * ggv/bonobo/ggv-postscript-view.c (build_media_menu): build a
7118 BonoboUINode tree for a menu of media types.
7119 (ggv_postscript_view_construct): build a template for media menus.
7120 (ggv_postscript_view_create_ui): copy media menu template and create
7121 set the copied tree.
7123 2001-04-22 Jaka Mocnik <jaka@gnu.org>
7125 * ggv/src/gtkgs.[ch] (gtk_gs_get_current_page, gtk_gs_get_page_count): new
7127 * ggv/bonobo/ggv-postscript-view-ui.xml: added NextPage and PrevPage verbs
7129 * ggv/bonobo/ggv-postscript-view.c (verb_NextPage_cb, verb_PrevPage_cb):
7131 (ggv_postscript_view_create_ui): add verbs.
7132 (set_page_item_sensitivity): set PrevPage and NextPage sensitivity.
7134 2001-04-20 Jaka Mocnik <jaka@gnu.org>
7136 * ggv/merged in changes from ggv-1.0 where appropriate,
7137 * ggv/gtkgs.[ch]: implemented missing accessors in GtkGS API.
7138 * ggv/bonobo/ggv-postscript-view.c: worked on UI stuff.
7139 * ggv/finally commited changes to CVS.
7141 2001-04-20 Jaka Mocnik <jaka@barbara>
7143 * ggv/src/callbacks.[ch] (zoom_to_fit_callback): new function.
7144 * ggv/src/gtkgs.[ch] (gtk_gs_zoom_to_fit): new function.
7145 * ggv/src/main.c (create_menus): added "Zoom to fit" item.
7146 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_zoom_to_fit):
7149 2001-04-13 Jaka Mocnik <jaka@gnu.org>
7151 * ggv/bonobo/*: new directory with bonobo stuff.
7152 * ggv/removed old bonobo embeddable.
7153 * ggv/compile GtkGS in a library that links with both GGv and
7155 * ggv/fixed lots of compile warnings.
7156 * ggv/added prototypes for functions that didn't have them yet.
7158 2001-03-29 Jaka Mocnik <jaka@gnu.org>
7160 * ggv/ps.h (struct documentmedia): Moved to gtkgs.h and renamed to
7162 * ggv/ps.c: comply to above.
7163 * ggv/src/gtkgs.h (struct _GtkGS): changed default_page_media to
7165 (gtk_gs_*_default_media): add prototypes.
7166 (gtk_gs_defaults_get_paper_sizes, gtk_gs_defaults_get_paper_count):
7168 * ggv/src/gtkgs.c: comply with above changes.
7169 (gtk_gs_defaults_get_paper_sizes, gtk_gs_defaults_get_paper_count):
7170 new functions. return array of GtkGSPaperSizes and length of that
7171 array. this will allow us to add paper types in the future.
7172 * ggv/ggvwindow.h (struct _ggv_window): make menudata and paper_menu
7173 members pointers instead of fixed-size arrays.
7174 (struct _ggv_prefs): do the same with media_choice member.
7175 * ggv/main.c: dynamically allocate/free above members.
7177 2001-03-28 Jaka Mocnik <jaka@gnu.org>
7179 * ggv/src/gtkgs.[ch]: major beautification of GtkGS APIs.
7180 (gtk_gs_set_pagemedia): becomes gtk_gs_set_page_media().
7181 (gtk_gs_set_orientation): becomes gtk_gs_set_default_orientation().
7182 (gtk_gs_get_default_orientation): new accessor.
7183 (gtk_gs_document*): become gtk_gs_get_document*().
7184 (gtk_gs_set_override_orientation, gtk_gs_get_override_orientation,
7185 gtk_gs_set_override_media, gtk_gs_get_override_media): new accessors.
7186 Changed name of all gtkgs_defaults functions.
7187 * ggv/src/prefs.c (save_prefs): save respect EOF settiing.
7188 * ggv/*.[ch]: changed all to comply with above API changes.
7190 2001-03-24 Jaka Mocnik <jaka@gnu.org>
7192 * ggv/src/main.c (refresh_coordinates): refresh coordinates label.
7193 (apply_gs_prefs): call refresh_coordinates().
7194 (open_prefs_dialog): add another choice menu for units for coordinate
7196 * ggv/src/callbacks.c (motion_callback): only set new coordinate members
7197 of ggv_window to cursor position in inches.
7198 * ggv/src/prefs.[ch]: renaming.
7199 load & save preferred coordinate display units.
7201 2001-03-23 Jaka Mocnik <jaka@gnu.org>
7203 * ggv/src/callbacks.c (motion_callback): report coordinates. currently in
7204 points. TODO: implement conversion to metric and anglo-saxon units.
7205 * ggv/src/main.c (load_gs): clear coordinates label.
7206 (create_toolbar): added navigation and zoom buttons.
7207 (create_sidebar): removed navigation and zoom buttons, moved
7208 coordinates label below scrollpane.
7210 2001-03-17 Ravi Pratap <ravi@che.iitm.ac.in>
7212 * gpdf/configure.in : Fixed logic to determine bonobo
7215 * gpdf/gpdf.desktop : Exec=gpdf and not xpdf.
7217 2001-03-08 Jaka Mocnik <jaka@gnu.org>
7219 * ggv/removed german help translation from ditribution.
7220 * ggv/bumped version to 1.0 and released a new tarball for GNOME 1.4.
7222 2001-03-05 Jaka Mocnik <jaka@gnu.org>
7224 * ggv/src/main.c (open_prefs_dialog): left-align labels.
7225 * ggv/po/sl.po: defuzzy strings.
7227 2001-03-03 John Fleck <jfleck@inkstain.net>
7230 app-docs.make, omf-install/Makefile.am, help/C/ggv-C.omf,
7231 help/de/ggv-de.omf, help/it/ggv-it.omf, help/ja/ggv-ja.omf
7233 help/C/Makefile.am, help/de/Makefile.am, help/it/Makefile.am,
7234 help/ja/Makefile.am, configure.in, Makefile.am
7235 Adding support for ScrollKeeper
7237 2001-03-03 - John Fleck <jfleck@inkstain.net>
7239 * ggv/adding COPYING-DOCS
7241 2001-02-25 Fatih Demir <kabalak@gtranslator.org>
7243 * ggv/help/C/.cvsignore: Be quiet about ggv.info.
7245 2001-02-20 Jaka Mocnik <jaka@gnu.org>
7247 * ggv/src/gtkscrollpane.c (gtk_scrollpane_motion_notify): fixed a bug
7248 that caused the scroll pane not to properly set value when the slider
7249 was dragged to top and/or left edge.
7251 2001-02-19 Jaka Mocnik <jaka@gnu.org>
7253 * ggv/src/main.c: "Attend" should read "At end";
7254 * ggv/src/*.po: updated because of the above string change.
7256 2001-02-15 Gediminas Paulauskas <menesis@delfi.lt>
7258 * ggv/src/main.c: made ~15 strings translatable.
7260 2001-02-14 Jaka Mocnik <jaka@gnu.org>
7262 * ggv/src/bonobo-application-ps.c (set_page_item_sensitivity): check
7263 if gs->doc is NULL in order to prevent segfaults.
7265 2001-02-03 Simos Xenitellis <simos@hellug.gr>
7267 * gpdf/gpdf.desktop: Added Greek messages.
7269 * gpdf/configure.in: Added el to ALL_LINGUAS.
7271 2001-02-01 Fatih Demir <kabalak@gmx.net>
7273 * ggv/help/de/.cvsignore, help/ja/.cvsignore: Added these ignore
7276 2001-01-31 Karl Eichwalder <ke@suse.de>
7278 * ggv/configure.in (ALL_LINGUAS): Remove 1 uk entry (we've had 2).
7280 2001-01-24 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
7282 * gpdf/configure.in: Added sk to ALL_LINGUAS.
7283 * gpdf/gpdf.desktop: Added Slovak messages
7285 2001-01-23 Daniel M German <dmgerman@acm.org>
7287 * ggv/src/callbacks.c (about_callback): Added Tim Theisen and Johannes
7288 Plass as authors. There is a lot of code based on gv
7289 (including the parser) so IMHO it is fair to acknowledge them. I
7290 updated Jaka as the current maintainer.
7292 2001-01-22 Jaka Mocnik <jaka@gnu.org>
7294 * ggv/src/gtkgs.c (gtk_gs_set_pagemedia): fixed a bug that prevented proper
7295 paper size overriding.
7296 * ggv/src/ps.c (psscan), gtkgs.c: made respect_eof configurable.
7297 * ggv/src/main.c, src/callbacks.c: added respect eof option to prefs dialog.
7298 * ggv/configure.in: now we're at 1.0-test7. boy, does this testing wear me
7301 2001-01-22 Daniel M German <dmgerman@acm.org>
7303 * ggv/src/gtkgs.c (set_up_page): Remove a g_print message
7305 2001-01-21 Jaka Mocnik <jaka@gnu.org>
7307 * ggv/gtkgs.c (gtk_gs_set_pagemedia): added a check for
7308 gs->doc->pages != NULL before dereferencing them. stupid me...
7310 2001-01-21 Fatih Demir <kabalak@gmx.net>
7312 * gpdf/configure.in: Added tr to ALL_LINGUAS.
7314 2001-01-21 Daniel M German <dmgerman@acm.org>
7316 * ggv/src/ps.c (psscan): Implemented ignoring EOF in structured
7317 documents. Unfortunately some Structured Documents do not properly
7318 protect EOF of embedded documents.
7320 2001-01-17 Jaka Mocnik <jaka@gnu.org>
7322 * ggv/gtkgs.[ch]: added member loaded. set to TRUE when a document is
7324 * ggv/(struct _ggv_window): removed member loaded.
7325 * ggv/fixed paper menu and choice menu syncing.
7326 * ggv/gtkgs.c (gtk_gs_realize, compute_size, set_up_page): show white
7327 background of fallback media type when no document is loaded.
7328 (gtk_gs_set_pagemedia): hopefully this is now finally fixed. it
7329 gets media type in this order: page media, doc media, page bbox,
7331 fixed orientation menu syncing and handling.
7333 2001-01-14 Stanislav Brabec <utx@penguin.cz>
7335 * src/main.c: Swapped odd/even in menus to finish odd/even
7338 2001-01-14 Jonathan Blandford <jrb@redhat.com>
7340 * ggv/src/main.c (create_menus): oops. Forgot to change this.
7342 2001-01-14 Jonathan Blandford <jrb@redhat.com>
7344 * ggv/src/callbacks.c (*_toggled_*): Changed to use the new checklist.
7345 * ggv/src/main.c (toggle_pages): removed
7346 * ggv/src/gtkchecklist.[ch]: new widget.
7347 * ggv/src/stock/.cvsignore: added
7348 * ggv/src/main.c: Removed %800 as a zoom option. It uses a _lot_ of
7351 2001-01-14 Jaka Mocnik <jaka@barbara>
7353 * ggv/src/gtkgs.c: renamed gtkgs_errmsg to gtk_gs_emit_error_msg, to be
7354 consistent with the overall naming style.
7355 (gtk_gs_set_pagemedia): attempt to use page bounding box if no
7356 page media or document media are set. fixes problems with some PDF
7359 2001-01-13 Stanislav Brabec <utx@penguin.cz>
7361 * ggv/src/main.c: Changed bad term "Paper Type" to "Page Size" to
7362 prevent ambiguity between PageSize and MediaType Postscript
7365 * ggv/src/callbacks.c: Synchronize wheel mouse events with long time
7366 established GIMP behavior (i.e. Control=HScroll, Shift=Zoom).
7367 Increased whellmouse step. Still different from GIMP where wheel
7368 step is window size relative (1/4).
7370 * ggv/src/main.c, src/stock/toggleodd.xpm, src/stock/toggleeven.xpm:
7371 Prevent odd/even ambiguities: Use natural order (odd, even),
7372 swap images to be more intuitive.
7374 * ggv/ggv.desktop: Updated cs.
7376 2001-01-11 John Fleck <jfleck@inkstain.net>
7377 * ggv/help/C/ggv.sgml, help/de/ggv.sgml, help/it/ggv.sgml, help/ja/ggv.sgml:
7378 fixing bug in the docs that prevented them from rendering in
7379 Nautilus: "DOCTYPE" in the dtd must be capitalized. Also changed
7380 "%" to "%" so as not to choke the poor Nautilus browser
7382 2001-01-11 John Fleck <jfleck@inkstain.net>
7383 * ggv/added help/de/Makefile.am
7384 * ggv/help/C/Makefile.am, help/it/Makefile.am, help/ja/Makefile.am,
7385 help/Makefile.am, configure.in:
7386 update help doc makefiles to build html at package build time, so
7387 the packager rather than the end user needs DocBook tools to build
7388 the static html from the DocBook sgml. Also, install .sgml files
7389 in help directories for future Nautilus compatibility
7391 2001-01-11 Michael Meeks <michael@helixcode.com>
7393 * gpdf/xpdf/gpdf.cc (container_launch_component): don't add the client
7394 site to the item container.
7396 2001-01-11 Jaka Mocnik <jaka@gnu.org>
7398 * ggv/src/main.c: include stock/*.xpm, not *.xpm.
7399 * ggv/src/foot*.xpm: removed.
7400 * ggv/src/gtkgs.c (check_filecompressed): free filename after possible
7401 error messages; also uncompress files by passing the uncompressing
7402 command the compressed filename in commandline and not via redirection
7403 of stdin, as some bzip2 version seem to have problems with the latter.
7405 2001-01-09 Jaka Mocnik <jaka@gnu.org>
7407 * ggv/ggv.spec.in: removed the line for sysconfdir/CORBA/servers as
7408 .gnorba files no longer exist.
7410 2001-01-08 Jaka Mocnik <jaka@gnu.org>
7412 * ggv/src/gtkscrollpane.c (gtk_scrollpane_class_init): add handler for
7413 draw signal to fix some redrawing issues.
7414 * ggv/src/main.c (restore_session, save_session): save & restore document
7415 page, zoom and scrolled position.
7416 (synchronize_user_interface): set zoom menu option to the current
7417 window magnification and NOT to the default magnification.
7419 2000-12-24 Jaka Mocnik <jaka@gnu.org>
7421 * ggv/application-ps.oafinfo: becomes Bonobo_GGV.oafinfo. also changed
7423 * ggv/application-ps.gnorba: removed.
7424 * ggv/Makefile.am: removed application-ps.gnorba.
7425 * ggv/configure.in: bumped version to 1.0-test1. released the first
7427 * ggv/MAINTAINERS: changed to jaka@gnu.org.
7429 2000-12-22 Zbigniew Chyla <cyba@gnome.pl>
7431 * ggv/ggv.desktop: Updated Polish translation.
7433 2000-12-21 Michael Meeks <michael@helixcode.com>
7435 * gpdf/xpdf/bonobo-application-x-pdf.cc: Kill mutex / thread init code,
7438 * gpdf/xpdf/gpdf.cc: update the IID naming scheme.
7440 * gpdf/xpdf/bonobo-application-x-pdf.cc (init_bonobo_application_x_pdf_factory): ditto. (init_server_factory): setup ORB properly.
7442 * gpdf/xpdf/Makefile.am: De-goadize; update oafinfo fnames.
7444 2000-12-21 Michael Meeks <michael@helixcode.com>
7446 * gpdf/configure.in (xpdf_cv_func_select_arg): remove oaf
7449 2000-12-18 Dan Damian <dand@dnttm.ro>
7451 * ggv/configure.in: Added "ro" to ALL_LINGUAS.
7453 2000-12-16 Jaka Mocnik <jaka@gnu.org>
7455 src/bonobo-application-ps.c: updated to work with latest bonobo:
7456 changed references to EmbeddableFactory to GenericFactory.
7458 2000-12-08 Fatih Demir <kabalak@gmx.net>
7460 * gpdf/configure.in: Added "ko" to ALL_LINGUAS.
7462 2000-12-04 Jaka Mocnik <jaka@gnu.org>
7464 * ggv/src/main.c (open_window): return the new ggv_window and take
7465 parameters for x, y, width and height of the window.
7466 (restore_session, save_session, client_die): new functions to
7467 support session management.
7468 (main): implement session management.
7470 2000-12-04 Darin Adler <darin@eazel.com>
7472 * gpdf/xpdf/bonobo-application-x-pdf.cc:
7473 s/bonobo_embeddable_factory_new/bonobo_generic_factory_new/.
7475 2000-11-23 Jaka Mocnik <jaka@activetools.si>
7477 * ggv/src/bonobo-application-ps.c (reload_all_views): set menu item
7478 sensitivity for each view.
7480 2000-11-21 Yukihiro Nakai <nakai@gnome.gr.jp>
7482 * ggv/configure.in (ALL_LINGUAS): add zh_CN.GB2312
7484 2000-11-16 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
7486 * ggv/configure.in (ALL_LINGUAS): added Slovak [sk]
7488 2000-11-16 Ramiro Estrugo <ramiro@eazel.com>
7490 * gpdf/xpdf/bonobo-application-x-pdf.cc:
7491 Make the signatures of callbacks match the declaraed types to
7492 avoid compiler warnings.
7494 2000-11-16 Darin Adler <darin@eazel.com>
7496 * gpdf/xpdf/.cvsignore:
7497 * gpdf/xpdf/Makefile.am:
7498 Remove remnants of old ui translation scheme
7499 now that we have Kenneth's new one (see po).
7501 2000-11-15 Zbigniew Chyla <cyba@gnome.pl>
7503 * gpdf/configure.in: Added pl to ALL_LINGUAS.
7505 2000-11-15 Maciej Stachowiak <mjs@eazel.com>
7507 * ggv/configure.in: Make OAF support unconditional (Bonobo always uses
7509 * ggv/Makefile.am: Likewise.
7510 * ggv/acconfig.h: Likewise.
7511 * ggv/src/bonobo-application-ps.c: Likewise.
7513 2000-11-10 Robert Brady <robert@suse.co.uk>
7515 * gpdf/configure.in: Added Tamil translation.
7517 2000-11-07 Fatih Demir <kabalak@gmx.net>
7519 * gpdf/xpdf/.cvsignore: Added bonobo-application-x-pdf-ui.h and
7520 gpdf-ui.h to the ignores.
7522 2000-11-06 Jason Leach <leach@wam.umd.edu>
7524 * ggv/src/bonobo-application-ps.c (stream_read): s/copy_to/copyTo/ to
7525 compile with the latest studlyCaps bonobo.
7527 2000-11-05 Pablo Saratxaga <pablo@mandrakesoft.com>
7529 * gpdf/po/da.po,configure.in: Added Danish translation.
7531 2000-11-02 Michael Meeks <michael@helixcode.com>
7533 * gpdf/configure.in: check for Bonobo >= 0.27
7535 2000-10-27 Szabolcs Ban <shooby@gnome.hu>
7537 * gpdf/configure.in: Added Hungarian (hu) entry (ALL_LINGUAS)
7538 * gpdf/gpdf.desktop: Added Hungarian entries.
7540 2000-10-20 Darin Adler <darin@eazel.com>
7542 * gpdf/.cvsignore: Add aclocal.m4.
7543 * gpdf/xpdf/bonobo-application-x-pdf.cc:
7544 Change BonoboUIHandler to BonoboUIComponent.
7546 2000-10-19 Michael Meeks <michael@helixcode.com>
7548 * gpdf/xpdf/gpdf.cc: update for Dietmer internal changes.
7550 2000-10-19 Jarkko Ranta <jjranta@cc.joensuu.fi>
7552 * gpdf/configure.in: Added Finnish (fi) entry (ALL_LINGUAS).
7553 * gpdf/gpdf.desktop: Added Finnish entries.
7555 2000-10-18 Christophe Merlet <christophe@merlet.net>
7557 * gpdf/configure.in: Added French (fr) to ALL_LINGUAS.
7558 * gpdf/gpdf.desktop: Added French strings.
7560 2000-10-17 Michael Meeks <michael@helixcode.com>
7562 * gpdf/xpdf/gpdf.xml: add.
7564 * gpdf/xpdf/Makefile.am: sort out xml files.
7566 * gpdf/xpdf/gpdf.cc: Re-engineer to the new UI handler.
7568 * gpdf/xpdf/bonobo-application-x-pdf.cc: update to new UI handler
7570 * gpdf/xpdf/bonobo-appliation-x-pdf-ui.xml: create.
7572 * gpdf/xpdf/gpdf-ui.xml: create.
7574 2000-10-17 Michael Meeks <michael@helixcode.com>
7576 * gpdf/Makefile.am (WIN32_EXTRA): remove cruft so we distcheck.
7578 2000-10-17 Almer S. Tigelaar <almer1@dds.nl>
7580 * gpdf/configure.in: Added Dutch (nl) to ALL_LINGUAS.
7582 2000-10-15 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
7584 * ggv/src/bonobo-application-ps.c: converted to new bonobo UI code.
7586 2000-10-09 Darin Adler <darin@eazel.com>
7588 * gpdf/aclocal.m4: Removed this file which is generated
7589 * gpdf/xpdf/bonobo-application-x-pdf.cc: Ifdef'd out code that doesn't
7590 compile with the latest verb changes.
7592 2000-10-08 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
7594 * ggv/src/*.c: unified capitalization: Gnome Ghostview and GGv.
7595 no more GNOME and ggv.
7597 2000-10-07 Michael Meeks <michael@helixcode.com>
7599 * gpdf/xpdf/gpdf.cc (main): cut out stale gnorba fat.
7601 * gpdf/xpdf/bonobo-application-x-pdf.cc (init_server_factory),
7602 (init_bonobo_application_x_pdf_factory): ditto.
7604 * gpdf/xpdf/bonobo-application-x-pdf.cc (embeddable_factory): remove the
7607 2000-10-07 Michael Meeks <michael@helixcode.com>
7609 * gpdf/configure.in: check for Bonobo >= 0.20
7611 2000-10-07 Jesus Bravo Alvarez <jba@pobox.com>
7613 * gpdf/configure.in: Added Galician (gl) to ALL_LINGUAS
7615 2000-10-06 Daniel M German <dmgerman@acm.org>
7617 * ggv/src/callbacks.c
7618 * ggv/src/callbacks.h
7619 * ggv/src/ggvutils.c
7620 * ggv/src/ggvutils.h
7621 * ggv/src/ggvwindow.h
7624 * ggv/src/prefs.h: Added a toolbar and icons for the sidebar.
7625 Coded by Paolo Maggi <maggi@athena.polito.it>
7627 2000-10-05 Daniel M German <dmgerman@acm.org>
7629 * ggv/src/callbacks.c (button_press_callback): Support for
7630 wheel mice. Coded by Tomas Kindahl <tomas.kindahl@codefactory.se>
7631 * ggv/src/prefs.c: Aligned some labels in prefs window.
7633 2000-10-04 Yukihiro Nakai <nakai@gnome.gr.jp>
7635 * gpdf/configure.in: Add Japanese to ALL_LINGUAS
7637 2000-10-04 Yukihiro Nakai <nakai@gnome.gr.jp>
7639 * gpdf/gpdf.desktop: Add Japanese translation.
7641 2000-10-04 Michael Meeks <michael@helixcode.com>
7643 * gpdf/xpdf/bonobo-application-x-pdf.cc (view_create_menus): upd.
7645 * gpdf/xpdf/gpdf.cc (container_launch_component): update for ItemContainer
7646 rename. (container_new): update to bonobo-win stuff.
7647 (container_set_view): use compat_get_container.
7649 2000-10-04 Michael Meeks <michael@helixcode.com>
7651 * gpdf/configure.in (xpdf_cv_func_select_arg): check for bonobo 0.19
7653 2000-10-04 Kjartan Maraas <kmaraas@gnome.org>
7655 * gpdf/configure.in: Added ALL_LINGUAS and all current languages.
7657 2000-10-04 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
7659 * ggv/src/bonobo-application-ps.c (view_merge_menus): use
7660 Bonobo_UIContainer instead of Bonobo_UIHandler.
7662 2000-09-25 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
7664 * ggv/help/C/ggv.texi: texinfo version of the sgml docs. automatic
7665 conversion does not work well and it had to be tweaked manually.
7666 therefore I have commited it to CVS.
7667 * ggv/help/C/Makefile.am: generate and install the info file.
7669 2000-09-18 Yukihiro Nakai <nakai@gnome.gr.jp>
7671 * Update help/ja/ggv.sgml
7672 * Add ja entry to help/Makefile.am
7674 2000-09-15 Mathieu Lacage <mathieu@eazel.com>
7676 * gpdf/gpdf.keys.in: fix evil evil buggy: mime types DO NOT HAVE
7678 * gpdf/gpdf.mime: idem
7680 2000-08-24 Daniel M German <dmgerman@acm.org>
7687 - Added support for orientation on on a per window basis.
7688 - To be consistent, I added the option to override orientation
7689 instead of the automatic option
7692 - Added orientation parameters in the setup window.
7694 - There are still some bugs to fix, among them:
7695 *set new paper media after the document is loaded
7696 *there are still some bugs to fix for orientation
7697 *try to test documents with multiple media
7698 *try to see if there are documents with different orientation
7700 2000-08-22 Daniel M German <dmgerman@acm.org>
7709 - Added zoom magnification to the list of persistent parameters.
7710 - Synchronized correctly all parameters between the document
7711 and the user interface (zoom, override media, default media,
7714 2000-08-15 Daniel M German <dmgerman@acm.org>
7717 * ggv/src/callbacks.c: Added the ability to set up the orientation
7718 _before_ the document is loaded, and to set up the orientation
7719 on a window basis, instead of globally. Both zoom and orientation
7720 require options in the preferences dialog window.
7722 * ggv/src/callbacks.c
7725 Added support for individual window zooming in the menu. I also
7726 synchronized the zoom button actions with the currently selected
7727 value in the zoom radio buttons in the main menu.
7729 2000-08-13 Daniel M German <dmgerman@acm.org>
7731 * ggv/src/gtkgs.c: added bounding box options for media type
7735 * ggv/src/callbacks.c: Added the ability to set watchfile and
7736 antialiasing on a document level (previously it was a global
7739 2000-08-13 Arik Devens <arik@helixcode.com>
7741 * gpdf/xpdf/bonobo-application-x-pdf.cc (view_create_menus): Switched
7742 page_enlarge_cb and page_shrink_cb to get zooming in and out
7743 workin correctly in the menu.
7745 2000-08-10 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
7747 * ggv/src/bonobo-application-ps.c: call bonobo_object_unref() instead
7748 of bonobo_object_destroy(). also fixed the factory code and some
7750 * ggv/src/gtkgs.[ch]: renamed gtkgs_defaults_struct to GtkGSDefaults
7751 for consistency and made it private to gtkgs.c.
7752 * ggv/some renaming and code reformating was done for consistency.
7753 * ggv/configure.in: fixed the bonobo check, as we need to link with both
7754 libbonobox and libbonobo.
7756 2000-08-08 Daniel M German <dmgerman@acm.org>
7763 * ggv/src/bonobo-application-ps.c
7764 * ggv/src/callbacks.c
7765 - Revamped the way the defaults for the gtkgs widget are
7766 stored. Instead of global variables I created a structure
7767 gtkgs_defaults and a bunch of functions to set and read its
7768 values. This will be more maintable and modular.
7769 - I removed the old variables gs_antialiasing,
7770 gs_default_page_media. etc, ... and replace them with calls to
7771 their corresponding functions.
7772 - Fixed bug in which landscape documents were not recognized as
7773 such when opened. I also changed the default of Landscape (as
7774 270 degrees instead of 90) so landscape documents are shown
7776 - Currently working on the automatic discovery of paper type,
7777 orientation and the ability to set defaults on a per window basis.
7778 * ggv/src/main.c the default message in the status bar shows more info
7779 about the current document, including magnification,
7780 filename, and type of PostScript document.
7782 2000-08-07 Daniel M German <dmgerman@acm.org>
7784 * ggv/TODO: Updated it. It still needs work.
7786 2000-08-06 Daniel M German <dmgerman@acm.org>
7788 * ggv/help/Makefile.am (SUBDIRS): there was a japanese translation
7789 entry but no subdirectory for its translation. Maybe somebody
7790 forgot to upload it? I removed it.
7792 2000-08-02 Michael Meeks <michael@helixcode.com>
7794 * gpdf/xpdf/Makefile.am (gpdf_LDADD): kill ghastly hack adding -lbonobo.
7795 (bonobo_application_x_pdf_LDADD): add EXTRA_GNOME_LIBS
7797 2000-08-02 Michael Meeks <michael@helixcode.com>
7799 * gpdf/configure.in: set '$bonobo' for EXTRA_GNOME_LIBS, use bonobox
7801 * gpdf/po/POTFILES.in: add.
7803 2000-07-25 Michael Meeks <michael@helixcode.com>
7805 * gpdf/xpdf/bonobo-application-x-pdf.cc (embeddable_factory): s/gtk/bonobo/
7806 on unref. Junk 2 stop tabs throught, Derek can have my kittens.
7807 (view_create_menus): create the pdf toolbar before using it.
7808 (button_press_event_cb): return a value.
7810 2000-07-16 Karl Eichwalder <ke@suse.de>
7812 * ggv/help/C/ggv.sgml: "page" vs. "pane".
7814 * ggv/help/de/topic.dat: New file.
7815 * ggv/help/de/ggv.sgml: Start translation.
7817 * ggv/help/C/ggv.sgml: Normalize the word "PostScript".
7819 2000-07-04 Michael Meeks <michael@helixcode.com>
7821 * gpdf/xpdf/GOutputDev.cc (drawImage): kill double free.
7823 * gpdf/xpdf/BonoboStream.cc (bfread): update for new API.
7825 2000-06-22 JP Rosevear <jpr@arcavia.com>
7827 * ggv/src/bonobo-application-ps.c (view_next_page_cb): Constify param
7828 (view_prev_page_cb): ditto
7829 (view_recenter_page_cb): ditto
7830 (load_ps_from_stream): No return type any more (void).
7832 * ggv/configure.in: Improve bonobo/oaf check
7834 2000-06-21 Daniel M German <dmgerman@acm.org>
7836 * ggv/src/Makefile.am (COMPONENT_LDADD): fixed a minor error in order
7837 to compile without bonobo support.
7839 2000-06-11 Fatih Demir <kabalak@gmx.net>
7841 * gpdf/gpdf.desktop: Corrected a stupid [tr]-entry.
7843 2000-06-07 Pavel Cisler <pavel@eazel.com>
7845 * gpdf/xpdf/bonobo-application-x-pdf.cc:
7846 Renamed BonoboUIHandlerCallbackFunc to BonoboUIHandlerCallback
7847 to match new naming.
7849 2000-06-02 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
7851 * ggv/application-ps.oafinfo: added the OAF info file that I forgot
7854 2000-06-01 Darin Adler <darin@eazel.com>
7856 * gpdf/xpdf/application-x-pdf.oafinfo:
7857 * gpdf/xpdf/gpdf.cc:
7858 Fixed spelling of component in IID.
7860 2000-05-28 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
7862 * ggv/configure.in, Makefile.am, src/Makefile.am: added optional
7863 use of OAF for the bonobo component. thank god we're past GNORBA.
7864 * ggv/src/bonobo-application-ps.c (init_server_factory,
7865 init_embeddable_application_ps_factory): added OAF support.
7866 * ggv/application-ps.oafinfo: relevant OAF information for our
7868 * ggv/src/main.c (recent_add): yes, Postscript is application/postscript
7870 * ggv/acconfig.h: add USING_OAF.
7872 2000-05-27 Pauli Virtanen <pauli.virtanen@saunalahti.fi>
7874 * ggv/ggv.desktop: added finnish
7876 2000-05-26 Darin Adler <darin@eazel.com>
7878 * gpdf/xpdf/bonobo-application-x-pdf.cc (load_pdf_from_stream),
7879 (embeddable_factory):
7880 * gpdf/xpdf/gpdf.cc: (open_pdf):
7881 Updated for new PersistStream interface. I mostly just passed
7882 NULLs. Not 100% sure that's correct.
7884 2000-05-26 Dan Winship <danw@helixcode.com>
7886 * gpdf/xpdf/gpdf.cc (open_pdf): Note that the data passed to the
7887 PersistStream is "application/pdf".
7889 2000-05-24 Darin Adler <darin@eazel.com>
7892 * gpdf/goo/.cvsignore:
7893 * gpdf/ltk/.cvsignore:
7894 * gpdf/xpdf/.cvsignore:
7895 Added a bunch of generated files.
7897 * gpdf/xpdf/GOutputDev.cc: (GOutputDev::updateLineAttrs):
7898 Fixed a type to avoid a warning.
7900 2000-05-15 Kjartan Maraas <kmaraas@gnu.org>
7902 * ggv/TRANSLATABLE_FILES: Added list of files containing
7903 translatable strings / text.
7905 2000-05-14 Andreas Hyden <a.hyden@cyberpoint.se>
7907 * ggv/ggv.desktop: Added Swedish translation.
7909 2000-05-11 Daniel M German <dmgerman@acm.org>
7911 * ggv/ggv.desktop (Comment): Changed
7913 to:Gnome Ghostscript frontend
7914 Comment=A Ghostscript frontend to visualize PostScript files.
7915 (submitted by Karl Eichwalder <ke@gnu.franken.de>)
7917 * ggv/Added the option to save the current geometry. Its only current
7918 defect is that it saves the geometry of the last window open
7919 (remember, we can open more than one window at a time).
7921 2000-05-10 Karl Eichwalder <ke@suse.de>
7923 * ggv/src/main.c (create_menus): Add missing shortcut.
7925 2000-05-10 Karl Eichwalder <ke@suse.de>
7927 * ggv/ggv.desktop: Improve de.
7929 2000-05-10 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
7931 * ggv/configure.in: bumped version to 0.95 and released a new tarball.
7932 * ggv/pixmaps/foot*.xpm: moved back to src as these are actually
7933 source files and libtool doesn't like sources in another subdir.
7934 * ggv/pixmaps/Makefile.am: removed feet from SOURCES ;)
7935 * ggv/src/Makefile.am: added foot*.xpm to GTK_GS_SOURCES.
7937 2000-05-07 Maciej Stachowiak <mjs@eazel.com>
7939 Work with OAF and fix various bugs:
7941 * gpdf/configure.in, aclocal.m4: Detect when Bonobo is built with OAF
7942 support, and if so use OAF.
7943 * gpdf/xpdf/Makefile.am: When using OAF, link against OAF and install
7945 * gpdf/xpdf/gpdf.cc: Include oaf headers when using OAF.
7946 (openpdf): Use OAFIID to activate the component when using OAF.
7947 (container_set_view), (container_launch_component),
7948 (container_new): Put the view in an EventBox, not a
7949 ScrolledWindow; the component now handles scrolling itself.
7950 (key_press_event_cb): Removed; key press handling moved to
7952 (main): Initialize OAF instead of GOAD when using OAF.
7953 * gpdf/xpdf/bonobo-application-x-pdf.cc: Include OAF headers when using
7955 (redraw_view): Handle the case where we are loading before the
7956 view is realized by connecting to the "realize" signal handler
7957 and deferring redrawing until then in that case.
7958 (real_redraw_view): Function to do the real redrawing.
7959 (load_pdf_from_stream): Don't call `realize_mainbox' directly, let
7960 `real_redraw_view' do it.
7961 (key_press_event_cb): In response to various key bindings, scroll
7962 the view, navigate pages, or zoom in/out.
7963 (button_press_event_cb): Grab the keyboard focus on a press of
7965 (view_create_menus): Rename menus to be more standard, and provide
7966 accelerators for menus and items.
7967 (realize_mainbox): Get window ourselves if we have to.
7968 (view_factory): Put the view in a scrolled window so scrolling can
7969 be handled by the component itself. Connect to "key_press" and
7970 "button_press" for keyboard and focus handling. Set the
7971 GTK_CAN_FOCUS flag for the main view widget.
7972 (init_bonobo_application_x_pdf_factory, init_server_factory): Use
7973 OAF when appropriate.
7975 * gpdf/xpdf/application-x-pdf.oafinfo: New file, OAF activation record.
7977 2000-04-18 Pablo Saratxaga <pablo@mandrakesoft.com>
7979 * ggv/configure.in (ALL_LINGUAS): added Catalan
7981 2000-04-13 Fatih Demir <kabalak@gmx.net>
7983 * ggv/ggv.desktop : Added [tr] ..
7985 2000-04-11 Pablo Saratxaga <pablo@mandrakesoft.com>
7987 * ggv/configure.in (ALL_LINGUAS): added Lithuanian and Ukrainian
7989 2000-04-10 Fatih Demir <kabalak@gmx.net>
7991 * gpdf/gpdf.desktop : Added [tr] ..
7993 2000-04-10 Dima Sivachenko <dima@Chg.RU>
7995 * ggv/Update Russian translation.
7997 2000-04-03 Karl EICHWALDER <ke@suse.de>
7999 * ggv/ggv.desktop: New entries for "de".
8001 2000-04-01 Jason Leach <leach@wam.umd.edu>
8003 * ggv/main.c (recent_update): more optimization/cleaning, lets not
8004 do g_list_length where we can just use an integer counter
8005 (recent_add): a postscript isn't mime-type "text/plain" is it?
8006 shouldn't it be "application/postscript"?
8008 2000-03-30 Jason Leach <leach@wam.umd.edu>
8010 * ggv/main.c (parse_an_arg): fix indentation to 8-space;
8011 (free_wwd): removed a duplicated if()
8012 (recent_update_menus): here too.
8014 * ggv/prefs.c (load_prefs): you don't need to do an if() check before
8015 a g_free(), the if() check is actually already done at the top of
8018 2000-03-30 Christopher R. Gabriel <cgabriel@firenze.linux.it>
8020 * ggv/configure.in: added help/it/Makefile for italian user documentation
8022 2000-03-29 Jason Leach <leach@wam.umd.edu>
8024 * ggv/main.c (open_prefs_dialog): set the title of the Preferences
8025 window to "GGV Preferences" rather than have it inherit "ggv" from
8028 2000-03-27 Christopher R. Gabriel <cgabriel@firenze.linux.it>
8030 * ggv/configure.in (ALL_LINGUAS): added italian (it) translation.
8032 2000-03-24 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8034 * ggv/configure.in (ALL_LINGUAS): Added Slovene (sl) translation.
8035 * ggv/callbacks.c (about_callback): made the authors list shorter.
8036 as I've left no one out I hope no one gets mad ;) and prevented
8037 the about box from being shown multiple times.
8039 2000-03-10 Michael Meeks <michael@helixcode.com>
8041 * gpdf/xpdf/gpdf.cc: s/GNOME/Bonobo/
8043 * gpdf/xpdf/application-x-pdf.gnorba: s/GNOME/Bonobo/
8045 2000-03-10 Alastair McKinstry <mckinstry@computer.org>
8047 * ggv/configure.in (ALL_LINGUAS): Added Irish (ga) translation.
8049 2000-03-04 bertrand <bertrand@helixcode.com>
8051 * ggv/application-ps.gnorba: take into account the
8052 latest Bonobo name changes.
8054 * ggv/bonobo-application-ps.c (view_factory):
8055 no need to create the ui handler for the view,
8056 it's been already done when the view is
8059 2000-02-28 Michael Meeks <michael@helixcode.com>
8061 * gpdf/xpdf/bonobo-application-x-pdf.cc (view_factory): kill spurious
8062 UI handler creation.
8064 * gpdf/xpdf/gpdf.cc (container_set_view): update to new bonobo api.
8066 2000-02-25 NotZed <NotZed@HelixCode.com>
8068 * gpdf/xpdf/Makefile.am: Fixed up lists of sources so that distcheck
8069 works. Also, only build gpdf if with gnome (otherwise distcheck
8072 * gpdf/xpdf/gpdf.cc (container_about_cmd): Define it if we are going to
8075 2000-02-25 NotZed <NotZed@HelixCode.com>
8077 * gpdf/configure.in: Do AM_GNOME_GETTEXT for INTLLIBS def.
8079 * gpdf/Makefile.am: Dont include gjgppcf by default, can this
8080 be done in an automatic way?
8082 * gpdf/ltk/Makefile.am (libltk_a_SOURCES): Add missing sources.
8084 2000-02-09 Michael Meeks <michael@helixcode.com>
8086 gpdf/xpdf/ Clean unused & lack of casting all round the place.
8088 2000-02-08 Michael Meeks <michael@helixcode.com>
8090 * gpdf/configure.in: update bonobo check for latest ver.
8092 2000-02-08 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8094 * gtkgs.h: Added macros to access components of structure GtkGS:
8095 the filename of the uncompressed file and flags that show if the
8096 file is compressed or a pdf file.
8097 * ggv/callbacks.c (print_callback), gtkgs.c (start_interpreter),
8098 main.c (save_marked_pages): use this macros.
8099 * ggv/Makefile.am: new files ggvutils.[ch]
8100 * ggv/ps.c (psscan), gtkgs.c (gtk_gs_load):
8101 Moved uncompress functionality from ps.c (psscan) to gtkgs.c
8102 (gtk_gs_load new function check_filecompressed).
8103 Possible error messages from the uncompress command are displayed
8104 in the same way as ghostscript warnings (normally in the message
8106 Added support for bzip2-compressed files.
8107 Moved pdf-scan functionality from ps.c (psscan) to gtkgs.c
8108 (gtk_gs_load, new function check_pdf).
8109 Both functions quote the filenames for the system() calls to allow
8110 filenames containing special characters.
8111 BUG: The list of recent files don't show filenames containing spaces
8112 (and possibly other 'special' characters).
8113 * ggv/main.c (load_gs): Don't show error dialog if gtk_gs_load fails
8114 because an error message is already shown in the message window.
8115 * ggv/main.c (open_window): Don't delete ggv window if loading of a
8116 file given in the command line fails because the user should have
8117 a chance to read the error messages.
8118 * ggv/gtkgs.h (GtkGS), gtkgs.c (gtk_gs_init, start_interpreter),
8119 bonobo-application-ps.c (view-factory): Removed local copies of the
8120 commandlines for gzip and gs; use global variables instead.
8121 * ggv/callbacks.c (prefs_apply_callback), ggv_window.h (ggv_prefs),
8122 main.c (open_prefs_dialog), prefs.c, prefs.h:
8123 Support for bzip2-compressed files.
8124 * ggv/callbacks.c (print_callback): quote filename for
8125 gnome_execute_shell so that printing of files containing spaces
8127 * ps.c: The error checking of malloced memory is useless as
8128 g_malloc, g_new etc abort the application if out of memory;
8130 * ggv/prefs.c (load_prefs, save_prefs, set_prefs), prefs.h:
8131 New option gs_watch_doc.
8132 * main.c (open_prefs_dialog), callbacks.c (prefs_apply_callback):
8133 New option "watch file" in configuration dialog.
8134 * main.c (load_gs): Start gtk_timeout function to check for changes
8136 * gtkgs.c (gtk_gs_cleanup): stop timeout function.
8137 * callbacks.[ch] (timer_callback): new function; reload file if
8139 * gtkgs.h: #defines for the timing behaviour: The check for file
8140 changes is performed every second, a reload is started 2 seconds
8141 after the file was changed.
8142 * ggv/main.c (open_prefs_dialog): Connect "help" callback.
8143 * ggv/callbacks.c: New function prefs_help_callback.
8144 * ggv/gtkgs.c (gtk_gs_cleanup): Close gs_psfile and set to NULL.
8145 (gtk_gs_load, gtk_gs_goto_page): Dont change gs_psfile here.
8146 (gtk_gs_set_pagemedia): set gs->changed when pagemedia was changed.
8147 * ggv/main.c (close_window): Delete status window before deleting main window.
8148 (set_gs_prefs): Reload file if page medium is changed.
8149 (load_gs): Disable menu item "save marked pages" if a pdf file is
8150 loaded. Some additional cosmetic changes...
8151 (save_marked_pages): If a pdf file is loaded, use the name of the
8152 dsc file as input to pscopydoc. The resulting ps file can be used
8153 to print the marked pages.
8154 * ggv/ps.c (pscopydoc): Removed status messages to stdout.
8155 * ggv/help/C/ggv.sgml: Added short description of the new option
8156 "watch file" and the changed/added command lines for gzip and
8157 bzip2 in options/ghostscript.
8158 * ggv/po/POTFILES.in: Added all source files which contain strings that
8159 should be translated.
8160 * ggv/configure.in: bumped the version to 0.90.
8161 * ggv/bonobo-applicaton-ps.c (set_page_item_sensitivity): new function
8162 that sets sensitivity of Next/Previous Page menu items when the
8164 (view_[prev|next]_page_cb, view_merge_menus): use the above.
8165 * ggv/most of the above work is by Werner Koerner
8166 <wernerk.koerner@zae.uni-wuerzburg.de>
8168 2000-02-07 Michael Meeks <michael@helixcode.com>
8170 * gpdf/xpdf/bonobo-application-x-pdf.cc: fix typo.
8172 2000-02-07 Michael Meeks <michael@helixcode.com>
8174 * gpdf/configure.in (VERSION): bump.
8176 2000-02-06 Daniel German <dmg@csg.uwaterloo.ca>
8178 * ggv/ps.c (gettextline): gettextline was returning the EOL at the end
8179 of the string. This resulted in a window title bar with an EOL at
8180 the end. the panel was showing it.
8182 2000-02-02 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8184 * ggv/bonobo-application-ps.c: comply to changes in Bonobo API
8186 * ggv/configure.in: require bonobo >= 0.6.
8188 2000-01-28 Daniel German <dmg@csg.uwaterloo.ca>
8190 * ggv/Added Greek (el.po) to ALL_LINGUAS (Submitted by
8191 Spyridon Papadimitriou <Spyridon_Papadimitriou@gs91.sp.cs.cmu.edu>
8193 1999-12-21 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8195 * gtk_gs.c (input): removed call to gtk_main_iteration in the
8196 callback function input - this sometimes caused a endless
8198 * gtkgs.c (start_interpreter):
8199 The pipe to ghostscript was not set to non-blocking IO (the code
8200 was there, but not used).
8201 Some cleanup and small changes to enable reading from stdin.
8203 Reading files from comandline: try adding '.pdf.gz' to filename,
8204 allow "-" as filename, if no filename is given and input is no tty
8205 then use stdin as input.
8206 * ps.c (psscan): Added code to scan ps files with a pjl header
8207 (many printer drivers for laser printers send a pjl command to
8208 switch the printer to postscript mode).
8209 psscan now ignores a leading ^D in the postscript-file.
8210 cleaned up uncompress and pdf-scan code (no recursion or goto's)
8211 replaced some more malloc, realloc, etc calls by their glib
8213 * commented out some messages printed to stdout.
8214 Some of these messages were printed while ggv has both mouse
8215 and keyboard focus. When these call blocks (e.g. when ggv was
8216 started in a xterm in the background) the whole X server was
8218 * patches by Werner Koerner <Werner.Koerner@zae.uni-wuerzburg.de>.
8220 1999-12-17 Michael Meeks <mmeeks@gnu.org>
8222 * gpdf/xpdf/gpdf.cc (container_set_view): make wrapper invisible.
8224 * gpdf/xpdf/bonobo-application-x-pdf.cc (embeddable_factory): kill
8225 diff id string. + constify lots of paths.
8226 (view_factory): kill size query. (view_size_query): kill.
8228 1999-12-16 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8230 * ggv/bonobo-application-ps.c (embeddable_factory): don't pass goad id
8231 as a parameter to gnome_persist_stream_new().
8232 (#define GGV_GOAD_ID): removed as it was not referenced anymore.
8234 1999-12-14 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8236 * ggv/callbacks.c (open-callback, save_callback): g_free() dirname.
8237 * ggv/gsmessage.[ch]: new files, implement a dialog for showing
8238 GS error messages in a single dialog instead of a bunch of
8239 error dialogs. this was sorely needed: thanks, Werner.
8240 * ggv/main.c (load_gs): create/clear the message dialog.
8241 if no document is available, show filename as title of the main
8243 * ggv/callbacks.c (interpreter_message_callback): add text to message
8245 * ggv/gtkgs.[ch] (struct _GtkGS): removed filename_raw member.
8246 removed all references to the above member.
8247 * ggv/file.[ch]: removed.
8248 * ggv/callbacks.c (about_callback): added Werner to the about dialog.
8249 it's the least I can do to show my appreciation of his patches ;)
8250 * ggv/configure.in: increased version once again. we're at 0.83 now.
8252 1999-12-11 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8254 * ggv/gtkgs.c (input): replace call to g_main_iteration() with
8255 gtk_main_iteration().
8256 (set_up_page): clear newly allocated pixmap before it is used.
8257 (float compute_xdpi, float compute_ydpi): changed prototypes.
8258 * ggv/gtkgs.c, main.c: add checks when using document structure
8259 information (gs->doc, gs->doc->media, gs->doc->pages,
8261 * ggv/callbacks.c (select_page_button_press_callback): fixed typo.
8262 * ggv/ps.c (psscan): ambiguous if-else constuction; added braces.
8263 add prototypes for static functions.
8264 * ggv/callbacks.h (zoom_to, recent_update): add prototypes
8265 * ggv/main.c (get_number, ggv_parse_geometry, escape_underlines,
8266 create_pixmap, parse_an_arg, ggv_file_readable): made static
8267 * ggv/gtkscrollpane.c, main.c, prefs.c: fix compiler warnings
8268 * ggv/main.c (recent_update): when duplicate filenames occur then
8269 free memory of one of them.
8270 (load_gs): gtk_clist_append makes its own copies of the used strings,
8271 so an additional strdup is not necessary.
8272 (create_ggv_window): removed widget vbox which was created, but never
8274 * ggv/all of the above is courtesy of bug-spotting and coding skills of
8275 Werner Koerner <Werner.Koerner@zae.uni-wuerzburg.de>.
8276 * ggv/main.c (recent_update_menus): only allocate menu once, as only one
8277 instance is required. free it upon completing menu updating. free the
8279 * ggv/configure.in: bumped version to 0.82.
8281 1999-12-11 Daniel M German <dmg@csg.uwaterloo.ca>
8283 * ggv/Updated help/C/Makefile.am to make sure that help html files are
8284 included in the distribution file.
8285 * ggv/Released version 0.82
8287 1999-12-07 Daniel M German <dmg@csg.uwaterloo.ca>
8289 * ggv/TODO: Added request to use gdk_pixbuf (might improve performance
8292 1999-12-05 <dmg@csg.uwaterloo.ca>
8294 * ggv/configure.in: bumped version to 0.81.
8296 * ggv/Added command line options to the help file. Make sure the help
8297 files are part of the distribution.
8299 * ggv/main.c: commented code for save_as option. If somebody really
8300 wants to save "as" then she can mark all the pages and then save
8301 marked pages. Otherwise, it is just needed to implement a "copy"
8302 from the source file to the destination file.
8304 * ggv/ps.c (pscopyuntil): make sure we don't read beyond the end of
8307 * ggv/main.c (open_prefs_dialog): make sure the source file is the
8308 uncompressed one (if the source file is compressed). Fixes bug in
8309 which a "save pages" from a compressed file did not workx
8311 1999-12-03 Nat Friedman <nat@helixcode.com>
8313 * ggv/bonobo-application-ps.c (view_size_query_cb): Removed.
8314 (view_realize_cb): Removed call to deleted function
8315 gnome_view_size_request.
8316 (reload_all_views): Likewise.
8317 (view_factory): Removed signal connect to "size_query" on the
8320 1999-12-02 Daniel M German <dmg@csg.uwaterloo.ca>
8322 * ggv/configure.in: created version 0.80
8324 * ggv/prefs.c (load_prefs): ggv uses the shell to execute two
8325 commands: one to convert from pdf to ps and another to
8326 decompress. I protected the file names with " " so the file name
8327 does not get interpreted by the shell. This has a disadvantage: if
8328 the file name contains " then this will not work. Thanks to
8329 Christian Hammers <ch@lathspell.westend.com> for the bug report.
8331 1999-11-30 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8333 * ggv/ggvwindow.h (struct _ggv_window): added GtkWidget * members for
8334 menu and popupmenu items for clearing and toggling pages.
8335 * ggv/main.c: included <ctype.h> in order to get prototype for isdigit().
8336 (load_gs, create_popup_menu, create_menus): set sensitivities for the
8338 * ggv/ps.c: removed file_getTmpFileName() and replaced it with use of
8339 tempnam() and g_get_tmp_dir().
8340 * ggv/gtkgs.c (gtk_gs_cleanup): free all filenames and set them to NULL.
8341 once again, thanx for discovering these bug and providing the fixes go
8342 to Werner Koerner <werner.koerner@zae.uni-wuerzburg.de>.
8344 1999-11-28 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8346 * ggv/gtkgs.c (start_intrepreter): pass filename of the uncompressed
8347 file to gs if the original file was compressed.
8348 (gtk_gs_load): return FALSE if the document could not be loaded -
8349 this prevents segfaults when an empty document is loaded.
8350 (set_up_page): set LC_NUMERIC locale to C before printing floats for
8351 ghostscript and reset it back afterwards as ghostscript expects a
8352 '.' decimal point while some european locales use ','.
8353 * ggv/main.c (recent_update_menus): fixed occasional segfaults when
8354 updating menus. also fixed a memory leak by freeing window_with_data
8355 structures associated with menu items. don't translate the menu paths
8356 as libgnomeui does that on the fly.
8357 (recent_update): store files in a global list.
8358 (recent_update_menus): don't free the list passed in as the parameter.
8359 * ggv/ggvwindow.h (struct _ggv_window): changed recent_instantiated to
8360 num_recent (if >0 then recent file menus have been instantiated).
8361 * ggv/prefs.[ch]: removed gs_num_recent.
8362 * ggv/thanx for reporting recent files list, compressed files and locale
8363 problems and even sending patches for them go to Werner Koerner
8364 <werner.koerner@zae.uni-wuerzburg.de>
8366 1999-11-21 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8368 * ggv/main.c (load_gs): call recent_add().
8369 (open_window): call recent_update() after successfully loading a
8371 * ggv/callbacks.c (file_open_ok_callback): remove call to recent_add(), as
8372 we now call it from load_gs().
8374 1999-11-20 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8376 * ggv/gtkgs.c (gtk_gs_load): call gtk_gs_clean() even if the
8378 * ggv/callbacks.c (print_callback): if the loaded document was compressed
8379 use the uncompressed temp file as the argument for the print command.
8380 * ggv/main.c: fix setting the sensitivity of 'File' menu items.
8381 (open_prefs_dialog): handle "changed" signal of all GtkEntries with
8382 prefs_changed_callback(). this fixes a bug that caused new values to
8383 be applied only if the user "activated" the entry by pressing Enter.
8384 * ggv/ggvwindow.h: add printmarked member to struct _ggvwindow.
8386 1999-11-15 Yuri Syrota <rasta@renome.rovno.ua>
8388 * ggv/configure.in (ALL_LINGUAS): Added Ukrainian (uk).
8390 1999-11-06 Michael Meeks <mmeeks@gnu.org>
8392 * gpdf/xpdf/gtkgesture.c (gesture_data_append_point): fix leak.
8394 * gpdf/xpdf/bonobo-application-x-pdf.c (setup_pixmap): Fix leak +
8397 * gpdf/xpdf/GOutputDev.cc (~GOutputDev): Add clear of state stack +
8398 clear text page + delete font. (startPage): fic gdkGC leaks.
8401 1999-11-02 Daniel M German <dmg@csg.uwaterloo.ca>
8403 * ggv/main.c, callbacks.c: Moved error message "not marked pages" in
8404 saved_as before the file dialog
8405 * ggv/ps.c: Added code to fix a "feature" of NT in which
8406 code is added after the %%EndSetup and before
8407 the first %%Page: x y. This code belongs to
8410 1999-10-26 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8412 * ggv/main.c (create_popup_menus): add all the "Toggle *" items to the
8414 (toggle_pages): return immediately if no document is loaded.
8415 * ggv/foot.xpm, foot_white.xpm: change background to None.
8417 1999-10-26 Daniel M German <dmg@csg.uwaterloo.ca>
8419 * ggv/Released version 0.70
8421 1999-10-24 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8423 * ggv/bonobo-application-ps.c (verb_*_page): check if a document
8424 is loaded before turning the page.
8425 * ggv/foot.xpm, foot_white.xpm: make the background transparent
8427 * ggv/main.c, callbacks.c: removed some redundant marking code and
8430 1999-10-24 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8432 * ggv/main.c (set_page_sensitivities): enable the next button when
8433 a non-structured document is loaded.
8434 (load_gs): clear page list if a non-structured doc is loaded.
8436 1999-10-23 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8438 * ggv/gtkgs.c (gtk_gs_load): set send_filename_to_gs to FALSE in case
8439 of a structured doc. this fixes a nasty bug that caused ggv to
8440 hang if a structured doc was loaded after a non-structured one.
8442 1999-10-21 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8444 * ggv/main.c (create_menus): add a 'Print marked pages' item.
8445 (save_marked_pages): a utility function that saves marked pages to
8446 a file. copied code from file_save_ok_callback().
8447 * ggv/callbacks.[ch] (file_save_ok_callback): call save_marked_pages().
8448 (print_marked_pages_callback): save marked pages to a tmp file and
8449 print them. does not unlink the tmp file.
8450 * ggv/ggvwindow.h: renamed bRecentHasBeenInstantiated to
8451 recent_instantiated.
8452 * ggv/gtkgs.c (gtk_gs_marshall_signal_0): removed.
8453 some formatting and var naming changes to make the code look nicer.
8455 1999-10-20 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8457 * ggv/bonobo-application-ps.c (view_factory): set a UIHandler to our
8459 (view_activate_cb): merge/remove view menus on (de)activation.
8460 (view_next_page_cb, view_prev_page_cb, view_recenter_page_cb):
8461 callbacks for view menus.
8463 1999-10-11 Michael Meeks <mmeeks@gnu.org>
8465 * gpdf/xpdf/GOutputDev.cc: Re-enable stroke color setting.
8467 1999-10-08 Michael Meeks <mmeeks@gnu.org>
8469 * gpdf/xpdf/gpdf.cc (container_new): add to list before possibly removing.
8471 * gpdf/xpdf/bonobo-application-x-pdf.cc (destroy_embed): Quit on last
8473 (load_pdf_from_stream): inline redraw-all with new API.
8474 (redraw_view): implement (redraw_all): remove. (realize_mainbox):
8476 (destroy_view): Fix serious memory corruption freeing pixmap
8478 (view_activate): kill debug.
8480 1999-10-06 Peter Teichman <pat4@acpub.duke.edu>
8482 * gpdf/xpdf/GOutputDev.cc: add return type for GOutputServerFont::isOk()
8484 * gpdf/xpdf/bonobo-application-x-pdf.cc: casting fixes, for compiling
8487 * gpdf/xpdf/PSOutputDev.cc: same, more casting fixes
8489 1999-10-06 Michael Meeks <mmeeks@gnu.org>
8491 * gpdf/xpdf/BonoboStream.cc (bfseek): Add debug case.
8492 (bfread): nail immense leak.
8494 * gpdf/xpdf/gpdf.cc (container_set_view): Activate the component to
8495 allow gestures to work.
8497 1999-10-05 Michael Meeks <mmeeks@gnu.org>
8499 * gpdf/xpdf/bonobo-application-x-pdf.cc (setup_pixmap): Connect
8500 gestures + add event mask.
8502 * gpdf/xpdf/gpdf.cc (container_close): Created. (container_close_cmd):
8503 Use it. Huge header clean.
8505 * gpdf/xpdf/gtkgesture.[ch]: Create.
8507 1999-10-05 Jesus Bravo Alvarez <jba@pobox.com>
8509 * ggv/configure.in (ALL_LINGUAS): Added Galician (gl).
8511 1999-09-20 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8513 * ggv/gtkgs.[ch]: removed all traces of non-existant foo() signal ;).
8514 add an "interpreter_message" signal that gets called with lines of
8515 interpreter output as a parameter. the default handler simply frees
8516 the space allocated for message. seems like a nice way to pass
8517 interpreter errors to the widget user.
8518 * ggv/callbacks.[ch]: new files. moved all callbacks here from main.c
8519 since it was growing too large.
8520 (interpreter_message_callback): popup an error message with
8521 interpreter output. line by line unfortunately :(
8522 changed all instances of _cb to _callback - for consistency ;)
8523 * ggv/main.c: make some variables non-static in order to be accessed
8524 from callbacks.c. make all functions non-static.
8525 * ggv/ggvwindow.h: add enums and declarations of variables and functions
8526 shared by main.c and callbacks.c.
8527 * ggv/Makefile.am: add callbacks.c to build process.
8529 1999-09-19 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8531 * ggv/gtkgs.c: added some checks if the widget is realized before calling
8532 set_up_page(). removed some commented-out messages and improved the
8533 looks of some parts of the code.
8534 (gtk_gs_goto_page): pass a duplicated gs_filename gtk_gs_load() as
8535 gs_filename is freed in gtk_gs_load() before parameter is used.
8536 * ggv/bonobo-application-ps.c (verb_next_page, verb_prev_page): make them
8537 proper GnomeViewVerbFuncs.
8538 (view_factory): register verbs. connect realize signal handler to
8539 GtkGS in order to load and display document at realization time if it
8540 has been loaded before the view was created. connect size_query signal
8541 handler to the view.
8542 (view_realize_cb): render & display the document.
8543 (view_button_press_cb): popup verbs on button 3 click.
8544 (view_size_query_cb): ask for as much space as GtkGS needs...
8545 (stream_read): removed old code as I've implemented _Stream_copy_to()
8547 (load_ps_from_stream): move view updating here from stream_read().
8548 (update_all_views): renamed to reload_all_views(), as this is really
8551 1999-09-13 Karl Eichwalder <ke@suse.de>
8553 * ggv/main.c (create_menus): Add accel key for "Save As..."
8556 * ggv/main.c (about_callback): Fix typo.
8557 * ggv/main.c (about_callback): Fix another one: It's PostScript, but
8558 Ghostscript (note the case of "...script") ;)
8559 * ggv/main.c (open_prefs_dialog): Ditto.
8561 1999-09-11 Michael Meeks <michael@nuclecu.unam.mx>
8563 * gpdf/xpdf/bonobo-application-x-pdf.cc (destroy_view): destroy don't
8564 unref, make more paranoid add debug. (destroy_embed): Clean.
8566 * gpdf/xpdf/gpdf.cc (key_press_event_cb): Added all manner of
8568 (container_new): Add key stuff (container_destroy_cb): Implement.
8569 (container_destroy): Add paranoid check.
8571 1999-09-08 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8573 * ggv/ggvwindow.h: it is plain ugly to define and not only declare a
8574 GdkCursor in a header file, so I removed the definition.
8575 * main.c (pan_cursor): define static GdkCursor *pan_cursor;
8576 (create_popup_menus): make #defines for indexes of relevant items
8577 in the popupMenu[] array in order to avoid sensitivity setting
8578 mayhem that followed when someone inserted new items in the menu.
8579 * ggv/bonobo-application-ps.c (pan_cursor): same as above.
8580 (verbs, embeddable_factory): sync with bonobo verb changes.
8581 (view_factory): remove call to set_prefs() and instead duplicate
8582 most of its code, as it was changed to take ggvwindow* as parameter
8583 instead of GtkGS*. next time I'd appreciate if people checked how
8584 bonobo parts compiled before comitting their changes.
8585 * ggv/application-ps.gnorba: brought up-to-date.
8587 1999-09-07 Tomas Ogren <stric@ing.umu.se>
8589 * ggv/main.c: Fixed a typo
8591 1999-09-07 Michael Meeks <michael@imaginator.com>
8593 * gpdf/xpdf/gpdf.cc (container_new): Fiddled with scrollpane
8595 1999-09-07 <dmg@csg.uwaterloo.ca>
8597 * ggv/main.c: updated authors
8599 1999-09-06 Daniel M. German <dmg@csg.uwaterloo.ca>
8601 * ggv/main.c, added ggvwindow.h, prefs.h, prefs.c
8602 Modified prefs so they apply to the ggv_window
8603 instead of gs, since some options apply to the former.
8605 1999-09-06 Andreas Persenius <andreas@alfaskop.net>
8607 * ggv/main.c, prefs.h, prefs.c:
8608 Added the option to jump at the beginning of a page when
8609 scrolling with pageup, page down.
8611 1999-09-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
8613 * ggv/main.c (about_callback): Use the imlib visual for displaying the
8614 image loaded with imlib. Fixes crashes on multi-depth visuals.
8616 1999-09-03 Andreas Persenius <andreas@alfaskop.net>
8619 Adds ... to File/Open
8620 Removes ... from File/Print... since no dialog comes up.
8621 Sets the cursor position to 0 in the text entrys in the preferences
8624 1999-09-03 Daniel M. German <dmg@csg.uwaterloo.ca>
8626 * ggv/prepared version 0.61
8627 * ggv/main.c, gtkgs.c, ps.c
8628 Finished support to save marked pages.
8630 1999-09-02 Matthias Warkus <mawa@iname.com>
8632 * ggv/ggv-splash.png: Added beautiful image for about widget.
8634 1999-09-01 Michael Meeks <michael@imaginator.com>
8636 * gpdf/xpdf/bonobo-application-x-pdf.cc: Fix a massive leak :-).
8637 Considerably simplified with GtkPixmap. Fixed location problems.
8639 1999-08-29 Miguel de Icaza <miguel@gnu.org>
8641 * ggv/main.c (escape_underlines): Include escape_underlines (copies
8642 from mc/gnome/gpopup2.c).
8643 (recent_update_menus): Escape file names from underlines.
8645 1999-08-27 Michael Meeks <michael@imaginator.com>
8647 * gpdf/xpdf/bonobo-application-x-pdf.cc: Remove count of embeddable
8648 servers: seems to be handled inside Bonobo now.
8650 1999-08-27 Karl Eichwalder <ke@suse.de>
8652 * ggv/ggv.spec.in: Minor fixes.
8654 1999-08-27 Karl Eichwalder <ke@suse.de>
8656 * ggv/ggv.desktop (Comment): PostScript vs. Ghostscript. Typo.
8658 1999-08-27 <dmg@csg.uwaterloo.ca>
8660 * ggv/gtkgs.c,main.c: Finished support for selecting pages
8661 * ggv/ps.c: Started implementation of saving selected pages
8662 * ggv/foot.xpm, foot_white.xpm: Added the pixmaps for the marks
8664 1999-08-26 Michael Meeks <michael@imaginator.com>
8666 * gpdf/xpdf/gpdf.cc (component_destroy): Improved clean up.
8668 * gpdf/xpdf/bonobo-application-x-pdf.cc (bed_free_data): Expand, and
8669 clean; remove redundant pdf_stream delete.
8671 1999-08-25 <dmg@csg.uwaterloo.ca>
8673 * ggv/main.c: Starting adding support to select individual pages
8674 * ggv/main.c: Added fullscreen command line option
8676 1999-08-24 Michael Meeks <michael@imaginator.com>
8678 * gpdf/xpdf/application-x-pdf.gnorba: Update to new mime type.
8680 * gpdf/xpdf/Makefile.am (gnorba_DATA): Rename mime type.
8683 * gpdf/xpdf/gpdf.cc (main): File up a container if we fail to load any
8684 of the command line files.
8686 1999-08-24 Michael Meeks <michael@imaginator.com>
8688 * gpdf/xpdf/Makefile.am: Cleaned + added thread bits.
8690 * gpdf/xpdf/bonobo-image-x-pdf.cc: Add locking round 'xref' global.
8691 Remove CORBA_Environment global.
8693 1999-08-24 Michael Meeks <michael@imaginator.com>
8695 * gpdf/xpdf/bonobo-image-x-pdf.cc (bed_free_data): Rationalised Stream
8696 duplicate / release, and scoped BonoboFile correctly.
8698 * gpdf/xpdf/BonoboStream.cc (bfseek): Add init / free to all corba
8699 exceptions, ( stupidly lost this code somehow ).
8701 * gpdf/xpdf/bonobo-image-x-pdf.cc (render_page): Add startDoc.
8702 (main): Add freeParams.
8704 1999-08-24 Michael Meeks <michael@imaginator.com>
8706 * gpdf/configure.in: Removed check for Glade.
8708 * gpdf/Makefile.am (gpdf.*): Renamed from xpdf.*
8710 1999-08-24 Michael Meeks <michael@imaginator.com>
8712 * gpdf/configure.in: Add EXTRA_GLIB_LIBS/CFLAGS to include thread
8715 1999-08-24 <dmg@csg.uwaterloo.ca>
8717 * ggv/prepared version 0.51
8718 * ggv/Added MAINTAINERS file
8719 * ggv/gtkgs.c: Now it _deletes_ temporal files :)
8720 * ggv/main.c: Added geometry, spartan and nomenubar command line options
8721 and support for them
8722 * ggv/main.c: Add .ps or .pdf extension if not specified in the command line
8723 * ggv/ps.c: changed all free and mallocs to their gnome counterparts
8725 1999-08-23 Miguel de Icaza <miguel@gnu.org>
8727 * gpdf/xpdf/bonobo-image-x-pdf.cc: Replace exit() with gtk_main_quit()
8729 1999-08-23 Miguel de Icaza <miguel@gnu.org>
8731 * ggv/bonobo-application-ps.c (embeddable_factory): Adapt to current Bonobo.
8733 1999-08-23 Michael Meeks <michael@imaginator.com>
8735 * gpdf/xpdf/gpdf.cc (container_launch_component): Fix flags.
8736 (container_create_toolbar): Fix for new Bonobo.
8738 1999-08-23 Michael Meeks <michael@imaginator.com>
8740 * gpdf/xpdf/Makefile.am: Added helper programs back in.
8742 * gpdf/xpdf/bonobo-image-x-pdf.cc (view_create_menus): Toolbars.
8744 1999-08-23 <dmg@csg.uwaterloo.ca>
8746 * ggv/Started support for command line options
8747 * ggv/Close window is now active
8749 1999-08-22 Nat Friedman <nat@gnome-support.com>
8751 * ggv/bonobo-application-ps.c (main): Use bonobo_main.
8753 1999-08-22 Miguel de Icaza <miguel@gnu.org>
8755 * gpdf/xpdf/bonobo-image-x-pdf.cc (main): Add error checking for
8756 factory registration.
8758 1999-08-22 Michael Meeks <michael@imaginator.com>
8760 * gpdf/xpdf/bonobo-image-x-pdf.cc: Add zoom.
8762 1999-08-22 Herbert Valerio Riedel <hvr@hvrlab.dhs.org>
8764 * ggv/main.c: changed type of data in struct _window_with_data to
8765 pointer (caused problems when sizeof(gpointer) > sizeof(gint) -
8768 1999-08-21 Herbert Valerio Riedel <hvr@hvrlab.dhs.org>
8770 * ggv/Makefile.am: integrated spec file
8771 * ggv/ggv.spec.in: reworked spec file, based on old ggv.spec
8772 * ggv/configure.in: added ggv.spec.in to AC_OUTPUT
8773 * ggv/ggv.spec: removed, as it is autogenerated now
8775 1999-08-20 Daniel M. German <dmg@csg.uwaterloo.ca>
8777 * ggv/prepared version 0.50
8778 * ggv/removed debug messages
8779 * ggv/added support for most recently used documents
8780 * ggv/it deletes temporal files now
8782 1999-08-19 Michael Meeks <michael@imaginator.com>
8784 * gpdf/xpdf/PDFDoc.cc: Altered to read / write lines.
8786 * gpdf/xpdf/PDFDoc.cc: Move FileStream::checkHeader so its called in
8787 FileStream constructor.
8789 1999-08-18 Michael Meeks <michael@imaginator.com>
8791 * gpdf/xpdf/gpdf.cc: cloned from test-container.
8792 (launch_server): use GOAD_ACTIVATE_SHLIB not '0'
8794 1999-08-16 Michael Meeks <michael@imaginator.com>
8796 * gpdf/xpdf/Makefile.am (bin_PROGRAMS): Hack to only make bonobo
8799 * gpdf/xpdf/bonobo-image-x-pdf.cc (view_factory): Init all members.
8801 1999-08-15 Michael Meeks <michael@imaginator.com>
8803 * gpdf/xpdf/Now bonobo-image-x-pdf works, but everything else is
8806 make bonobo-image-xpdf to compile...
8808 1999-08-11 Michael Meeks <michael@imaginator.com>
8810 * gpdf/xpdf/bonobo-image-x-pdf.cc: Fixed innumerable bugs, some in
8812 (load_image_from_stream): Try closing the file to let its contents
8813 hit disk before reading from it :-)
8814 (configure_size): Don't get scared by configure_size.
8815 (redraw_view): Get the parameters in some sort of order.
8817 1999-08-11 Michael Meeks <michael@imaginator.com>
8819 * gpdf/xpdf/bonobo-image-x-pdf.cc: Added.
8821 * gpdf/xpdf/Makefile.am: added bonobo-image-x-pdf.c
8823 1999-08-03 Michael Meeks <michael@imaginator.com>
8825 * gpdf/xpdf/gpdf.cc: Lots of updates, gives up on logging changes
8828 1999-08-02 Michael Meeks <michael@edenproject.org>
8830 * gpdf/xpdf/GOutputDev.cc: Fix more silly region merging bugs.
8832 1999-08-01 Michael Meeks <michael@edenproject.org>
8834 * gpdf/xpdf/Makefile.in: Added -lglade, -lglade-gnome & Added -Wall
8836 * gpdf/xpdf/gpdf.glade: Added.
8838 * gpdf/xpdf/gpdf.cc (loadFile): Add typecast.
8839 Remove all DOC_ROOT's magic numbers.
8841 Lots of other bits ...
8843 1999-07-29 Michael Meeks <michael@edenproject.org>
8845 * gpdf/xpdf/GOutputDev.cc: Hahaaa... the bug ! :-) A difference in how
8846 GDK / X deal with merging rectangles and regions. Good.
8848 * gpdf/xpdf/gpdf.cc (doc_redraw_event): Messing around.
8850 * gpdf/xpdf/GOutputDev.cc (drawChar): Fix char printed as string.
8852 1999-07-13 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8854 * ggv/application-ps.gnorba: use GNOME/Embeddable*.
8855 * ggv/main.c (load_gs): if the loaded document is the same as the one
8856 viewed, don't reset the page to 0.
8857 (set_gs_prefs): really reload the document.
8858 (print_callback): use gnome_execute_shell()
8859 * ggv/prefs.c (load_prefs): add %s to the default printing command.
8861 1999-07-11 Tomas Ogren <stric@ing.umu.se>
8863 * ggv/gtkgs.c: Process events to keep the UI somewhat alive..
8865 1999-07-09 Tuomas J. Lukka <lukka@iki.fi>
8867 * ggv/Fix some cvsignores
8869 1999-07-08 Daniel M. German <dmg@csg.uwaterloo.ca>
8871 * ggv/ps.c, gtkgs.c There seem to exist some PostScript documents that
8872 do not have !PS at the beginning. Heck, they have nothing. For example,
8873 I was trying to read a file that started with:
8877 /beginword % Usage: str x y beginword
8881 Even if a remove the line with %! it is still a valid PostScript
8884 Sooo, I decided (temporarily at least) to do what gv does: pass
8885 the file to GhostScript in the hope that it will be able to deal
8886 with it. The current error messages are sent to stderr. We should
8887 handle them in a nicer way.
8889 1999-07-08 Tuomas J. Lukka <lukka@iki.fi>
8891 * ggv/From: Alexander Savelyev <fano@alfacom.net>
8892 patch to fix small buglet
8894 1999-07-08 Tuomas J. Lukka <lukka@iki.fi>
8896 * ggv/Add keystrokes to menu entries.
8898 1999-07-08 Tuomas J. Lukka <lukka@iki.fi>
8900 * ggv/Fixed my own caused bug - accelerators should
8903 1999-07-03 Daniel M. German <dmg@csg.uwaterloo.ca>
8904 * ggv/gtkgs.c fixed a bug that froze the
8905 interface whenever a encapsulated postscript
8907 * ggv/main.c added functionality to the file_open_window
8908 it now uses the directory where the current
8909 document is as the default directory.
8911 1999-07-02 Tuomas J. Lukka <lukka@iki.fi>
8913 * ggv/Add '+' and '-' keys for zoom in & out
8914 * ggv/clean up key_pressed_event_callback by moving out the
8917 1999-07-02 Tuomas J. Lukka <lukka@iki.fi>
8919 * ggv/Allow the prefix to be just %!PS, not just %!PS-Adobe.
8920 Many files have just that.
8922 1999-06-25 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8924 * ggv/test-container.c: removed. it was just another nuisance
8925 that had to be updated all the time. test-container-autoload
8926 from bonobo package will do for testing the component.
8927 * ggv/Makefile.am: updated to reflect the above.
8929 1999-06-22 Daniel M. German <dmg@csg.uwaterloo.ca>
8930 * ggv/main.c Improved the file open window. It does not close
8931 if the selected file is a directory or if the
8932 file does not exist. It now handles wildcards in the
8935 1999-06-22 Nat Friedman <nat@gnome-support.com>
8937 * ggv/test-container.c: Use gnome_bonobo_object_client_free_verbs
8938 instead of gnome_bonobo_object_free_verbs. Ditto with
8939 gnome_bonobo_object_client_get_verbs and
8940 gnome_bonobo_object_client_do_verb.
8942 * ggv/bonobo-application-ps.c (view_factory): Accept the ViewFrame as
8945 1999-06-22 Matt Loper <matt@gnome-support.com>
8947 * ggv/bonobo-application-ps.c (bonobo_object_factory): Changed to
8948 eliminate need for path, and to reflect GnomeBonoboObjectFactory
8949 -> GnomeComponentFactory change. Return GnomeObject instead of
8952 1999-06-21 <dmg@csg.uwaterloo.ca>
8953 * ggv/Contributed to the help
8955 1999-06-20 <dmg@csg.uwaterloo.ca>
8957 * ggv/Released version 0.40
8958 * ggv/Fixed pt_BR.po
8960 1999-06-18 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8962 * ggv/main.c (create_ggv_window): fix toplevel sizing.
8964 1999-06-16 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8966 * ggv/main.c (hide_menubar_callback): becomes show_menubar_callback.
8967 (hide_toolbar_callback): becomes show_panel_callback.
8968 (show_menubar_callback): small fix to properly enable the togglebuttons
8969 when the menus are not created upon startup.
8970 * ggv/main.c, prefs.[ch]: changed gs_toolbar to gs_panel.
8972 1999-06-15 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8974 * ggv/main.c: take care of the reload item sensitivity. turn hide/show items
8975 into toggleitems. some general work on code aesthethics.
8977 1999-06-14 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8979 * ggv/test-container.c: use new convenience functions for handling
8980 the verbs instead of using CORBA functions.
8981 * ggv/bonobo-application-ps.c: use the GNOME_Stream_copy_to() function,
8982 as I've just implemented it for GnomeStreamFS in bonobo.
8984 1999-06-12 Daniel M. German <dmg@csg.uwaterloo.ca>
8986 * ggv/Added pt_BR.po, contributed by Lalo Martins <lalo@webcom.com>
8988 1999-06-09 Tuomas J. Lukka <lukka@iki.fi>
8990 * ggv/Help file small edit
8992 1999-06-09 Michael Meeks <michael@edenproject.org>
8994 * gpdf/xpdf/gpdf.cc (main): Add error init.
8996 1999-06-06 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8998 * ggv/gtkgs.c (gtk_gs_load): set document size parameters to 0.
8999 * ggv/main.c (create_menus): added tooltip strings to UI items. install
9001 (load_gs): report some status via appbar flashes.
9002 (create_ggv_window): add a statusbar.
9004 1999-06-05 Tomas Ogren <stric@ing.umu.se>
9006 * ggv/configure.in: Add sv to ALL_LINGUAS
9008 1999-06-05 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
9010 * ggv/gtkgs.c (gtk_gs_load): don't try to print out page order
9011 unless we've successfully loaded the document.
9013 1999-06-04 Sergey Panov <sipan@mit.edu>
9015 * configure.in: Add ru to ALL_LINGUAS
9017 1999-06-03 Michael Meeks <michael@edenproject.org>
9019 * gpdf/xpdf/GOutputDev.cc (GOutputDev): Actually set up pixmapW & H
9020 (GOutputDev): Setup 'depth' correctly.
9022 * gpdf/xpdf/gpdf.cc (main): Moved freeParams() to after the main loop !
9024 * gpdf/xpdf/Params.cc (initParams): Added assert on fontPathLen.
9025 (freeParams): Clean global pointers on free.
9027 * gpdf/xpdf/Makefile.in (CXXFLAGS): Added LTKSRCDIR and Xpm_CFLAGS to
9030 1999-06-02 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
9032 * ggv/main.c (create_menus): moved show/hide menubar/side panel to
9033 settings menu. disable the menu items that do nothing yet.
9034 (print_callback): print by system()ing a command on the ps file.
9035 usually, this would be lpr.
9036 (open_prefs_dialog): add a Printing page, letting the user specify
9037 the command used to print files.
9038 * ggv/prefs.[ch]: added preferences for printing command.
9039 * ggv/help/C/ggv.sgml: describe the menus and the new printing feature.
9040 * ggv/configure.in: check if we have lpr's path for default print
9043 1999-06-01 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
9045 * ggv/bonobo-application-ps.c, test-container.c: respect recent
9046 changes to the Verbs interface (no more verb codes).
9048 1999-05-31 Matt Loper <matt@gnome-support.com>
9050 * ggv/application-ps.gnorba: Changed two goad_id's and one repo id to
9051 reflect the Component -> BonoboObject namechange.
9053 * ggv/test-container.c: Changed minor things to reflect Component ->
9054 BonoboObject renaming.
9056 * ggv/bonobo-application-ps.c: Changed comment to reflect
9057 renaming. Changed component_data_t typedef to
9058 bonobo_object_data_t.
9059 (bonobo_object_destroy_cb): Renamed component_destroy_cb function
9060 to bonobo_object_destroy_cb.
9061 (bonobo_object_factory): Renamed component_factory function to
9062 bonobo_object_factory.
9064 1999-05-31 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
9066 * ggv/main.c (struct _ggv_window): add prev[item|pu] and next[item|pu]
9067 members that point to Next/Prev page [popup]menu items. use these
9068 for setting their sensitivity.
9069 (set_page_sensitivities): new function to set sensitivity of all
9070 next/prev widgets (buttons, menuitems) properly.
9071 (select_page_callback, goto_page): use the above.
9072 (create_popup_menu): add zoom in/out items.
9073 * ggv/help/C/ggv.sgml: some changes to make english look more english ;)
9074 added another chapter on the preferences.
9076 1999-05-30 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
9078 * ggv/main.c (goto_page): set prev/next button sensitivity properly.
9079 (about_callback): added myself to the authors ;)
9080 * ggv/bonobo-application-ps.c (component_factory): add some verbs
9081 to our component and connect a handler for do_verb signal.
9082 gtk_object_set_data() our component_data to the actual
9083 GnomeComponent as we'll need this in do_verb_cb().
9084 (do_verb_cb): handler for do_verb signal.
9085 * ggv/test-container.c (add_verb): add an item with the verb
9086 name to Verbs menu. connect "activate" signal handler and
9087 gtk_object_set_data() the GnomeComponent that the verb was
9088 acquired from to the item.
9089 (add_cmd): get component's verb list and create menu items
9090 with their names in Verbs menu.
9091 (verb_cb): get the GnomeComponent that the verb was acquired from
9092 using a gtk_object_get_data() and do a GNOME_Component_do_verb()
9093 on it with verb_name set to NULL as we don't pass it to the
9096 1999-05-29 Michael Meeks <michael@edenproject.org>
9098 * gpdf/xpdf/Makefile.in (GPDF_OBJS): Remove XOutputDev
9099 (all): Remove all but gpdf.
9101 * gpdf/xpdf/gpdf.cc: Add define GString / undef.
9102 (main): Argc not Argv :)
9104 * gpdf/xpdf/GOutputDev.cc (findColor): Made pigs ear of colour
9107 1999-05-28 Michael Meeks <michael@imaginator.com>
9109 * gpdf/xpdf/GOutputDev.cc (drawChar16): XChar2b -> GdkWChar
9111 1999-05-28 Daniel M. German <dmg@csg.uwaterloo.ca>
9115 Added support for non structured documents. It still
9118 Disable buttons when document has not been opened
9119 Enable buttons once it has been open
9120 Disable prev page in structured documents
9122 1999-05-27 Michael Meeks <michael@imaginator.com>
9124 * gpdf/xpdf/GOutputDev.cc (GOutputFont): Hacks.
9125 (GOutputFont): Renamed.
9126 (getFont): killed redundant 'display'
9127 getGdkFont not getXFont.
9128 (GOutputDev): NB. colormap -> gtk_widget_get_default_colormap ()
9129 which returns GdkColormap *, killed colormap & depth1 in prototype.
9130 Removed redundant assigns.
9131 NB. Miguel says 'miguel> michael: a GdkPixmap is a GdkWindow'
9132 Many misc. fixes upto convertSubPath.
9134 * gpdf/xpdf/GOutputDev.h: Comments 'G'd and GOutputDev updated.
9137 * gpdf/xpdf/Makefile.in (CXXFLAGS): Add GOOSRCDIR.
9139 1999-05-27 Michael Meeks <michael@imaginator.com>
9141 * gpdf/README.CVS: Elucidated the GPL nature of xpdf.
9143 1999-05-27 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
9145 * ggv/bonobo-application-ps.c (main): remove hardcoded GtkGS
9146 instead load GS configuration from /bonobo-application-ps/...
9147 * ggv/prefs.[ch] (load_prefs, save_prefs): pass prefix as a parameter
9148 to enable loading prefs for both ggv and bonobo component.
9149 (set_prefs): apply prefs to a GtkGS widget.
9150 * ggv/ps.h: enclosed in #ifndef __GGV_PS_H__/#endif.
9151 * ggv/main.c: respect changes to prefs.[ch].
9152 * ggv/test-container.c: activate component after creating the view so
9153 that it can receive mouse events.
9154 * ggv/Makefile.am: share prefs sources between ggv and bonobo component.
9156 1999-05-27 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
9158 * ggv/bonobo-application-ps.c: new file. a bonobo component that
9159 displays postscript via gtkgs widget.
9160 * ggv/test-container.c: a test container app for bonobo component.
9161 stolen from bonobo source tree.
9162 * ggv/configure.in: check for bonobo.
9163 * ggv/Makefile.am: if bonobo is present, build ps component and
9165 * ggv/application-ps.gnorba: gnorba file for the component. note that
9166 none of the bonobo stuff is installed yet. to use the component,
9167 you have to copy bonobo-application-ps somewhere in your PATH and
9168 the .gnorba file to $prefix/etc/CORBA/servers and run test-container.
9170 1999-05-26 Tuomas J. Lukka <lukka@iki.fi>
9172 * ggv/Start a help file
9174 1999-05-24 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
9176 * ggv/gtkscrollpane.c (gtk_scrollpane_update_slider_size): fixed
9177 the size calculation code. gdk_window_move_resize() works as it
9179 (gtk_scrollpane_motion_notify): fixed this also.
9181 1999-05-23 Tuomas J. Lukka <lukka@iki.fi>
9183 * ggv/Implement the zoomin/zoomout buttons and change to using
9185 * ggv/Prevent the scrollpane from growing indefinitely (odd bug,
9186 now commented out as FIXME in gtkscrollpane.c)
9188 1999-05-23 Tuomas J. Lukka <lukka@iki.fi>
9190 * ggv/main.c : add zoomin, zoomout buttons. We need gnome stock
9192 The buttons don't do anything yet, though: we need to
9193 make the variable have a reasonable meaning (I'd prefer magstep,
9196 1999-05-23 Jaka Mocnik <jaka-mocnik@kiss.uni-lj.si>
9198 * ggv/main.c (main): load preferences BEFORE opening files from
9199 command line arguments.
9201 1999-05-20 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
9203 * ggv/prefs.[ch]: added preferences for toolbar and menubar
9205 * ggv/main.c (open_prefs_dialog): new Layout properties page for
9207 (button_press_callback, button_release_callback):
9208 moved commented out cropping code to middle-button click and
9209 assigned left-button to start panning.
9210 (motion_callback): pan if left mouse button is pressed.
9211 * ggv/gtkgs.[ch] (gtk_gs_scroll): new public function to scroll the
9213 * ggv/gtkscrollpane.h: added in_slider member. set to true when
9214 pointer is in the slider window.
9215 * ggv/gtkscrollpane.c: respect themes. fixed size requisition signal
9218 1999-05-20 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
9220 * ggv/main.c: some sanitizing of cases when a document can't be loaded.
9221 * ggv/gtkgs.c: hide gs target window when a document can't be loaded and
9222 show it when a document is successfully loaded.
9223 * ggv/gtkscrollpane.c: fixed a bug in expose signal handler that caused
9224 the shadow around the trough not to be redrawn.
9226 1999-05-19 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
9228 * ggv/main.c (create_ggv_window): cosmetics. removed the frame
9229 around "sidebar" and added one around GtkGS widget.
9230 (hide_menubar_callback): fixed.
9231 (reload_callback): fixed.
9232 (set_gs_prefs, apply_gs_prefs): new functions for setting
9233 preferences for a single and all open GtkGS widget.
9234 (open_prefs_dialog): a dialog for setting preferences.
9235 * ggv/gtkscrollpane.c (gtk_scrollpane_update_slider_size):
9236 fixed a bug that caused the scrollpane to require more space
9237 with each size_request signal.
9238 * ggv/prefs.[ch]: new files; loading and saving of preferences.
9239 * ggv/gtkgs.[ch]: changed members gs_gs_cmd_scan_pdf to gs_scan_pdf_cmd
9240 and gs_uncompress_command to gs_uncompress_cmd.
9241 (gtk_gs_set_pagemedia): changed the interface a bit.
9242 * ggv/ps.[ch]: add a #define PAPER_SIZE_COUNT in order to use papersizes[]
9244 * ggv/Makefile.am: added prefs.[ch] to ggv sources.
9246 1999-05-18 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
9248 * ggv/main.c (create_menus): use gnome-app-helper stuff where
9249 appropriate. restructured the menus a bit.
9250 (create_popup_menus): use gnome-popup-menu for this.
9251 (about_callback): cosmetics.
9252 (file_open_destroy_callback): in order to reflect its use,
9253 changed to file_open_cancel_callback.
9254 (file_open_delete_callback): new handler for file selection's
9256 (struct _ggv_window, open_callback, file_open_ok_callback,
9257 file_open_cancel_callback): use ggv->file_sel instead of a
9259 * ggv/gtkscrollpane.c (gtk_scrollpane_size_request): make it work
9262 1999-05-17 Tuomas J. Lukka <lukka@iki.fi>
9263 * ggv/main.c: factor out goto_page and make it jump in the list if
9264 the entry is not visible.
9267 1999-05-06 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
9269 * ggv/main.c (struct _ggv_window): put _window_with_data arrays
9270 for menus here instead of dynamically allocating it.
9271 (open_window, close_window): new helper functions to open and close
9273 (create_menus, new_callback): add a "New Window" item to "File"
9274 menu to open a new window.
9275 (delete_callback): new function, called instead of exit_callback()
9276 on window delete_events.
9277 (close_cmd): becomes close_callback().
9278 (create_ggv_window): make windows accept dropped files.
9279 (drop_callback): new function: load files dropped on a window.
9280 also g_free() what needs to be freed all over the code.
9282 1999-05-05 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
9284 * ggv/gtkgs.c: add checks if the GtkGS widget is realized before
9285 calling gtk_gs_munge_adjustments() preventing segfaulting due
9286 to moving and resizing a non-existant window.
9288 1999-04-23 Daniel M. German <dmg@csg.uwaterloo.ca>
9289 * ggv/gtkscrollpane.h, gtkscrollpane.c
9290 I modified the API for scrollpane in order to
9291 replace scroll up, scroll down, scroll left
9292 and scroll right with one function:
9293 gtk_scrollpane_step.
9294 Added scroll_page_goto_edge
9295 Added wrapping option to scrolling, this
9296 allows the user to move from one page to another
9297 when pressing space or backspace
9299 Replace calls to scrolling functions for new functions
9300 When scrollign through document (space), it moves
9301 the pane to the top corner in a new page. Backspace
9302 should be modified accordingly. New functions allows
9303 to write less code when handling different orientations.
9304 The idea is to have less repetion of code. The API for scrolling
9305 might change again in order to accomodate this.
9307 1999-04-22 Daniel M. German <dmg@csg.uwaterloo.ca>
9309 * Changed 'q' accelerator to Ctrl-Q, which is the
9310 GNOME standard. I also changed the location of the
9311 quit accelerator to the menu definition, so it
9312 uses the proper callback.
9313 * ggv/Added other accelerators to the menu
9315 1999-04-22 Tuomas J. Lukka <lukka@iki.fi>
9316 * ggv/Add the 'q' accelerator for getting out a la ghostview.
9317 * ggv/Add size requests to try to behave well
9318 * ggv/Add a scrollbar (scrolled_window) around the page list
9320 1999-04-15 Daniel M. German <dmg@csg.uwaterloo.ca>
9322 It now kills all windows before exiting (exit_callback), ergo
9323 no gs process are left running.
9326 1999-04-14 Daniel M. German <dmg@csg.uwaterloo.ca>
9327 * Released version 0.30
9328 * ggv/gtkgs.c, gtkgs.h
9329 Fixed the bad bug in which GS stopped processing input.
9330 The "truly bad hack" is history (I hope :)
9332 1999-04-09 Shooby Ban <bansz@szif.hu>
9333 * ggv/Added hungarian translation
9335 1999-03-28 Tuomas J. Lukka <lukka@iki.fi>
9336 * ggv/Add fi to all_linguas
9337 * ggv/set usize of scrollpane in main.c
9338 * ggv/Fix gtk_gs bug: the adjustments were not set properly
9339 since size_allocate was called when gs->width was
9340 not yet set. My fix needs to be looked at.
9341 The scrollpane now works.
9342 * ggv/Does not allocate full document size any more - this
9343 is bad because it goes over screen size easily.
9345 1999-03-28 Tuomas J. Lukka <lukka@iki.fi>
9346 * ggv/Fix desktop fi entry
9348 1999-03-13 Daniel M. German <dmg@csg.uwaterloo.ca
9350 Added error handling when loading file
9351 Fixed bugs and finished support for multiple windows (only
9353 Automatic resizing when opening files
9354 Page up (next page) and page down (prev page) reversed to mimic
9356 Modified zoom menu and (and simplified) zoom callback to reflect
9357 ghostview options (1/10, 1/8, 1/4, 1/2, 1/1.44, 1/1, etc)
9361 1999-02-25 Jonathan Blandford <jrb@redhat.com>
9363 * ggv/ggv.desktop (Comment): added German translation by Matthias
9366 1998-11-28 Raja R Harinath <harinath@cs.umn.edu>
9368 * ggv/main.c (create_ggv_window):
9369 Remove call to deleted function `gtk_clist_set_policy' which
9370 was non-functional anyway. (xref gtk+/ChangeLog:
9371 Wed Nov 19 01:22:42 1998 Tim Janik <timj@gtk.org>).
9373 * ggv/gtkgs.c (gtk_gs_init):
9374 Removed setting of the GTK_BASIC flag (xref gtk+/ChangeLog:
9375 Wed Nov 18 22:54:36 1998 Tim Janik <timj@gtk.org>).
9377 1998-11-10 Raja R Harinath <harinath@cs.umn.edu>
9379 * ggv/configure.in (paths.h): New check.
9380 (GS_PROG): Check for the full path of `gs'.
9381 (GS_PATH): New #define, defined to GS_PROG.
9382 * ggv/acconfig.h (GS_PATH): New define.
9383 * ggv/file.c: Protect inclusion of `paths.h' with HAVE_PATHS_H.
9384 * ggv/gtkgs.c (gtk_gs_init): Don't hardcode "/usr/bin/gs", use the
9386 From "Brandon S. Allbery" <allbery@ece.cmu.edu>.
9388 1998-08-12 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
9390 * ggv/configure.in (ALL_LINGUAS): Added Portuguese translation after
9391 the split of gnome-graphics.
9393 Fri Aug 7 11:54:03 1998 Jonathan Blandford <jrb@redhat.com>
9394 * ggv/main.c: commented out crop code temporarily.
9395 * ggv/when it works correctly, i'll uncomment it... (:
9397 1998-08-07 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
9399 * ggv/ggv.desktop: Added Portuguese translation.
9401 Wed Jul 29 18:19:12 1998 Jonathan Blandford <jrb@redhat.com>
9402 many changes. A bit more stable now.
9403 * ggv/main.c: Added support for key presses and some mouse click support.
9404 * ggv/gtkscrollpane.c (gtk_scrollpane_update_slider_size): fixed a big bug.
9405 * ggv/gtkgs.c: fixed many bugs.
9407 Mon Jul 27 14:50:28 1998 Tom Tromey <tromey@cygnus.com>
9409 Some `-ansi -Wall -Wmissing-declarations' fixes:
9410 * ggv/gtkgs.c (catchPipe): Now static.
9411 (start_interpreter): Removed unused variables.
9412 Include <sys/types.h>, <sys/wait.h>, and <stdio.h>.
9413 (gtk_gs_goto_page): Removed unused variable.
9414 (is_interpreter_ready): Now static.
9415 (is_interpreter_running): Likewise.
9416 * ggv/file.c: Turned C++ comments into C comments.
9417 * ggv/file.h (file_getTmpFilename): Fixed declaration to match
9419 * ggv/ps.c: Include "file.h", <glib.h>.
9420 (file_getTmpFilename): Argument now const.
9421 (get_next_text): Renamed from `gettext' to avoid clash with GNU
9424 Added gettext and argument parsing:
9425 * ggv/main.c (startup_files): New global.
9426 Include <config.h> first.
9427 (parse_an_arg): New function.
9428 (parser): New structure.
9429 (main): Pass parser to gnome_init.
9430 (orientationMenu2): Wrapped strings with N_.
9431 (fileMenu): Likewise.
9432 (documentMenu): Likewise.
9433 (helpMenu): Likewise.
9434 (mainMenu): Likewise.
9435 (about_callback): Use _() around user-visible strings.
9436 (open_callback): Likewise.
9438 Fri Jul 10 20:10:37 Jonathan Blandford <jrb@redhat.com>
9440 * ggv/rewrite of ggv. many files removed. some added.
9441 following files have been added: TODO, main.c, gtkgs.c, gtkgs.h
9442 gtkscrollpane.h gtkscrollpane.c
9443 ggv is no longer nearly as dependent on the old ghostview code
9446 1998-08-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
9448 Split of gnome-graphics into ee and ggv modules:
9452 * ggv/Makefile.am: Adjusted for new ggv module.