1 2004-12-22 Martin Kretzschmar <martink@gnome.org>
3 * shell/main.c (main): this is not epiphany.
5 2004-12-22 Havoc Pennington <hp@redhat.com>
7 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
8 (expose_bin_window): draw find highlights
10 * shell/ev-window.c (find_bar_search_changed_cb): implement
12 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
13 (pdf_document_end_find): implement this interface
15 * backend/ev-document.c (ev_document_found): add this to emit
18 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
20 * data/evince-ui.xml: Add a few more toolbar items.
22 * shell/ev-window.c: Hook up page navigation toolbar
25 * shell/ev-view.[ch]: add ev_view_set/get_page and
26 a page-changed signal.
28 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
29 Add ev_document_get_page().
31 * shell/ev-window.c: Sensitize/desensitize navigation
34 2004-12-21 Havoc Pennington <hp@redhat.com>
36 * backend/ev-backend-marshal.c,
37 backend/ev-backend-marshalers.list, backend/Makefile.am: add
38 marshaler-generator thingy. I'm sure there's a better way to do
39 this in the modern world.
41 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
42 end_find methods and "found" signal.
44 * configure.ac: find glib-genmarshal
46 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
48 * shell/ev-sidebar.c: Construct an actual sidebar.
49 * shell/ev-sidebar-bookmarks.[ch]:
50 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
52 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
54 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
57 * shell/ev-view.c: Track the size from the document.
59 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
61 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
62 constructor assumes ownership of the string passed in.
64 * shell/ev-window.c (ev_window_open): Destroy the error
65 dialog once we've displayed it.
67 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
69 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
70 a bit, it works! (sort of)
72 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
73 Move to .cc since we need to use C++ in the implementation.
75 * shell/dummy.cc: Add a CC file to force evince
76 to be linked as a C++ program.
78 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
80 * shell/ev-view.[ch]: Start of content-area widget.
82 * shell/ev-window.c: Create a EvView, update it
83 as we change documents.
85 * shell/Makefile.am shell/ev-marshal.list: Add
88 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
90 * Makefile.am (SUBDIRS): move shell.
92 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
94 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
95 .a to libtool convenience libraries.
97 * shell/ev-window.c (ev_window_open): Hard code loading
100 * backend/ev-document.h: Add a boolean return to load(),
101 fix GError * to GError **.
103 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
104 object for a PDF backend EvDocument.
106 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
108 * dvi/*: New directory with the beginning of a .dvi backend.
110 2004-12-21 Havoc Pennington <hp@redhat.com>
112 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
113 previous/next instead of back/forward
115 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
117 * backend/ev-document.[ch]: Fix a couple of problems so
120 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
122 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
123 to backend/ directory, rename EvViewer to EvDocument.
125 2004-12-21 Havoc Pennington <hp@redhat.com>
127 * shell/ev-window.c: hook up the find bar widget; now we just need
128 a document to find things in
130 * shell/eggfindbar.c: a find bar widget
132 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
134 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
136 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
138 * pdf/**: Import of xpdf code from gpdf.
140 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
142 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
143 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
144 Fix FreeType includes.
146 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
147 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
148 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
149 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
150 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
153 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
155 * shell/ev-window.c (ev_window_dispose): dispose can be called
158 2004-12-21 Havoc Pennington <hp@redhat.com>
160 * shell/ev-window.c (ev_window_init): set title to Document Viewer
163 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
164 items; really they should be synced with the strings, etc. from
165 current gpdf, but just getting the boring typing out of the way
167 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
170 * shell/ev-application.c: (window_destroy_cb):
172 * shell/main.c: (main):
174 Actually show the window...
176 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
180 * shell/ev-application.c: (ev_application_class_init):
181 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
185 2004-10-23 Martin Kretzschmar <martink@gnome.org>
187 * ChangeLog, ggv/ChangeLog, gpdf/ChangeLog: merge the separate
188 ChangeLogs into one toplevel file. Keep only that.
190 2004-09-28 Pawan Chitrakar <pawan@nplinux.org>
192 * ggv/configure.in: Added ne "Nepali" in ALL_LINGUAS
194 2004-09-20 Mark McLoughlin <mark@skynet.ie>
196 * gpdf/xpdf/GnomeVFSStream.cc (reset, fillBuf): check gnome_vfs_foo
197 return values. Fixes crashes with gnome-vfs' http method. Bug
198 #153159, #151364, Red Hat Bug #132469, half of Debian Bug #268873.
200 2004-09-13 Martin Kretzschmar <m_kretzschmar@gmx.net>
202 * gpdf/configure.in, NEWS: Version 2.8.0.
204 * gpdf/README.GPdf: the font situation is a bit better now.
206 2004-09-12 Jaka Mocnik <jaka@gnu.org>
208 * ggv/configure.in: version 2.8.0; tag GGV_2_8_0; tarball for the upcoming 2.8.0 release.
210 2004-09-07 Gora Mohanty <gmohanty@cvs.gnome.org>
212 * gpdf/configure.in: Added 'or' to ALL_LINGUAS.
214 2004-09-06 Jaka Mocnik <jaka@gnu.org>
216 * ggv/configure.in: version 2.7.99; tag GGV_2_7_99; released a tarball.
217 * ggv/ggv.desktop.in (MimeType): removed application/pdf as the pdf
218 viewing functionality of ggv is, although still available, not
219 actively supported - use gpdf for PDF previewing.
221 2004-09-04 Kjartan Maraas <kmaraas@gnome.org>
223 * gpdf/configure.in: Add «nb» to ALL_LINGUAS.
225 2004-08-30 Martin Kretzschmar <m_kretzschmar@gmx.net>
227 * gpdf/configure.in, NEWS: Version 2.7.91. Disable "development
230 2004-08-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
232 * gpdf/xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_update_bkvisual):
233 nodes without link actions have NULL outline items. Don't
234 dereference them. Fixes bug #150269.
236 2004-08-28 Akagic Amila <bono@linux.org.ba>
238 * configure.in: Added 'bs' to ALL_LINGUAS.
240 2004-08-27 Akagic Amila <bono@linux.org.ba>
242 * ggv/configure.in: Added 'bs' to ALL_LINGUAS.
244 2004-08-24 Dan Williams <dcbw@redhat.com>
246 * gpdf/xpdf/gpdf-view.cc (gpdf_view_link_action_uri): don't dereference
247 app if it's NULL (i.e. no app available for that uri).
248 Fixes Bug #150476 (Red Hat Bug #127803).
250 2004-08-17 Mark McLoughlin <mark@skynet.ie>
252 * gpdf/lib/recent-files/egg-recent-item.[ch],
253 lib/recent-files/egg-recent-model.c,
254 lib/recent-files/egg-recent-view-gtk.c: sync with
257 2004-08-17 Mark McLoughlin <mark@skynet.ie>
259 * ggv/src/recent-files/egg-recent-item.[ch],
260 src/recent-files/egg-recent-model.c,
261 src/recent-files/egg-recent-util.[ch],
262 src/recent-files/egg-recent-view-bonobo.c,
263 src/recent-files/egg-recent-view-gtk.c,
264 src/recent-files/egg-recent-view.[ch]: sync with
267 * ggv/src/recent-files/update-from-egg.sh: add
269 * ggv/src/recent-files/Makefile.am: add update-from-egg.sh to
272 2004-08-16 Kjartan Maraas <kmaraas@gnome.org>
274 * ggv/configure.in: Added nb to ALL_LINGUAS.
276 2004-08-15 Martin Kretzschmar <m_kretzschmar@gmx.net>
278 Fix for #149954. Based on patch by Vijaykumar Patwari
279 <vijaykumar.patwari@wipro.com>
281 * gpdf/xpdf/gpdf-view.c, xpdf/gpdf-view.h (gpdf_view_save_as): Changed
282 to return the result of PDFDoc::saveAs.
284 * gpdf/xpdf/gpdf-contol.cc (overwrite_existing_file): New function, ask
285 user before overwriting existing file.
286 (save_error_dialog): New function, Throws error dialog.
287 (gpdf_control_get_filename): Morph it into
288 gpdf_control_save_file(), Check if the file already exists.
289 (verb_SaveAs_cb): Call new function to save a file.
291 2004-08-12 Martin Kretzschmar <m_kretzschmar@gmx.net>
293 * gpdf/xpdf/GPOutputDev.cc (getFontFace): prefer embedded fonts over
294 base 14 fonts. Fixes/works around Bug #149952.
296 2004-08-11 Martin Kretzschmar <m_kretzschmar@gmx.net>
298 * gpdf/configure.in, README.GPdf: actually, we require libgnomeprint
299 2.5.1 (for GNOME_PRINT_KEY_DUPLEX).
300 Thanks {agriffis,foser}@gentoo.org. See also
301 http://bugs.gentoo.org/show_bug.cgi?id=46913
303 2004-08-05 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
305 Fixes #126719 by Jeff Muizelaar <jrmuizel@nit.ca>:
307 * gpdf/xpdf/gpdf-view.cc (gpdf_view_handle_drag_motion):
308 calculate (x,y) properly for the case where we get unhinted
309 motion events that are relative to the actual canvas window,
310 instead of the widget window.
312 2004-08-02 Martin Kretzschmar <m_kretzschmar@gmx.net>
314 * gpdf/configure.in, NEWS: Version 2.7.90.
316 2004-08-02 Martin Kretzschmar <m_kretzschmar@gmx.net>
318 * gpdf/shell/gpdf.c (verb_FileExit_cb, gw_close_all): remove.
320 * gpdf/shell/gpdf-window-ui.xml: remove FileExit references.
323 2004-08-02 Martin Kretzschmar <m_kretzschmar@gmx.net>
325 * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_set_pdf_doc),
326 * gpdf/xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_set_pdf_doc):
327 Make the guint to pointer cast explicit.
329 * gpdf/xpdf/gpdf-control.cc (gpdf_control_print): keep the print dialog
330 in a private member variable, don't destroy it unconditionally on
331 when the BonoboControl is disconnected.
332 (gpdf_control_get_filename): ditto for the file chooser.
333 (properties_response_handler, properties_delete_handler)
334 (verb_FileProperties_cb): and for the properties window.
335 (gpdf_control_disconnected): destroy any left over dialogs.
336 Fixes Bug #149062 (and lots of crash-on-exit bugs, I hope).
338 2004-07-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
340 * gpdf/xpdf/GPOutputDev.cc (getFontFaceEmbedded): rewrite, this time
341 respect encoding information/CID-to-GID stuff etc. Fixes Bug #148362.
342 (lookupGlyph): update for changes in getFontFaceEmbedded
345 2004-07-21 Ray Strode <rstrode@redhat.com>
346 * ggv/ggv/ggv.desktop.in: Add MimeType line to desktop file
349 2004-07-20 Martin Kretzschmar <m_kretzschmar@gmx.net>
351 * gpdf/xpdf/gpdf-view.cc (gpdf_view_zoom): add the hack Federico did
352 for page changes for zooming as well. Still flashes when zooming,
353 but only in the background color, better than flashing with the
356 2004-07-19 Martin Kretzschmar <m_kretzschmar@gmx.net>
358 * gpdf/gpdf.desktop.in: added X-GNOME-Bugzilla-foo entries. I hope that
360 (MimeType): add, we understand application/pdf.
362 * gpdf/xpdf/gpdf-control.cc (gnome_vfs_uri_new): use just
363 gnome_vfs_uri_extract_short_name (which returns the unescaped
364 basename of a vfs_uri) as title. Fixes Bug #130611.
366 2004-07-19 Federico Mena Quintero <federico@ximian.com>
370 * gpdf/xpdf/gpdf-view.cc (gpdf_view_goto_page_no_history): Don't render
371 the page in an idle handler.
372 (gpdf_view_render_page): Return void.
373 (gpdf_view_scroll_to_top): As a hack to keep the canvas from
374 scrolling-then-updating, set the background pixmap of the
375 container window to null, then hide the bin_window, the scroll,
376 then show the bin_window, and reset the background.
377 (gpdf_view_scroll_to_bottom): Likewise.
379 2004-07-18 Jaka Mocnik <jaka@gnu.org>
381 * ggv/configure.in: version 2.7.0; released a tarball.
382 * ggv/src/ggv-prefs.c (ggv_prefs_load): test for "/usr/usb/lpr" on Solaris.
383 * ggv/src/ggv-ui.xml: changed "Fullscreen mode" to "Full Screen"; fixes #144876.
384 * ggv/src/gtkgs.c (gtk_gs_goto_page): do a gtk_gs_set_page_size() in order to properly
385 display documents with pages of multiple sizes. now how could this one have crept in
386 and how come no one noticed it until now? fixes #147591.
387 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_print): do not attempt to execute
388 a print command from an argv array whose first element is NULL; fixes #147705.
390 2004-07-16 Muktha <muktha.narayan@wipro.com>
392 * ggv/bonobo/main.c (main): disable session manager connection for
393 ggv-postscript-viewer. Fixes bug #147710.
395 Fri Jun 18 08:33:07 2004 Jonathan Blandford <jrb@gnome.org>
397 * ggv/AUTHORS: Changed the authors file to make it more obvious who's
400 2004-06-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
402 * gpdf/shell/gpdf.c (verb_HelpAbout_cb): Update copyright period to
405 2004-06-16 Jaka Mocnik <jaka@gnu.org>
407 * ggv/src/ggv-window.c (ggv_window_load): applied patch from Subrahmanyam
408 Madduri: added code for getting the filename which is to be opened,
409 from the path of the file. Also changed the order of display in title
410 to "<filename> - GGV". Fixes bug #60092
411 * ggv/bonobo/ggv-postscript-view-ui.xml: applied a patch from Udayan Kumar,
412 that adds a print icon to the toolbar, fixing #140907.
414 2004-06-13 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
416 * gpdf/xpdf/gpdf-view.cc (gpdf_view_reset_link_status_cb):
418 Also added c-indent-level in emacs local vars.
420 * gpdf/xpdf/tests/test-gpdf-view.cc (TEST_NEW): Forgot to commit the
421 test. Added the pdf doc as a param for constructor.
423 * gpdf/xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_populate_idle):
424 Changed the way to get the gdk window on which the cursor
425 is set. Now use the treeview widget window instead of getting
428 * gpdf/xpdf/gpdf-thumbnails-view.cc (GPDF_DEFAULT_THUMB_WIDTH):
429 Removed unused define for empty page thumbnail image.
430 (gpdf_thumbnails_view_canvas_outline_event_cb)
431 (gpdf_thumbnails_view_populate_idle):
432 Changed the way to get the gdk window on which the cursor
433 is set. Now use the canvas widget window instead of getting
436 2004-06-07 Martin Kretzschmar <m_kretzschmar@gmx.net>
438 * gpdf/configure.in, NEWS: Version 2.7.2.
440 2004-06-07 Martin Kretzschmar <m_kretzschmar@gmx.net>
442 * gpdf/xpdf/gpdf-control.cc (gpdf_control_setup_view_widgets): set a
443 step_increment for the gtk_scrolled_window's [hv]adjustments.
444 Workaround for bug #132489 (see also bug #96546). (Makes the
445 scrollbar buttons work.)
447 2004-06-06 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
449 * gpdf/xpdf/gpdf-control.cc (gpdf_control_setup_view_widgets):
450 Use new way to allocate a gpdf-view.
452 * gpdf/xpdf/gpdf-view.h: Removed gpdf_view_new proto.
454 * gpdf/xpdf/gpdf-view.cc (gpdf_view_set_pdf_doc)
455 (gpdf_view_get_property, gpdf_view_set_property)
456 (gpdf_view_constructor, gpdf_view_class_init):
457 Change the way view is allocated to use the g_object_new
458 way. Added props for pdf doc and for parent control.
459 (gpdf_view_link_entered_cb): Init some var to NULL.
460 (gpdf_view_bookmark_selected): Added case for actionURI
461 to handle bookmarks that are URIs.
463 * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_class_init):
464 Removed params spec desc strings as a some translated ones.
466 * gpdf/xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_class_init):
467 Removed params spec desc strings as a some translated ones.
468 (gpdf_bookmarks_view_construct): Loaded a new (network) stock
469 icon for bookmarks wearing an actionURI link.
470 (gpdf_bookmarks_view_update_bkvisual): Got item object from
471 tree model to be able to discriminate icons to update. actionURI
472 associated icons and actionNamed associated icons need no update.
473 (gpdf_bookmarks_view_flat_recurse_outlines): Added new LinkURI
474 local instances. Init others to NULL to avoid warnings.
475 Changed strings when action is unknown to make it more
477 Add code to handle LinkURI actions instances.
479 * gpdf/xpdf/gpdf-annots-view.cc (gpdf_annots_view_class_init):
480 Removed params spec desc strings as a some translated ones.
482 2004-06-06 Martin Kretzschmar <m_kretzschmar@gmx.net>
484 * gpdf/xpdf/gpdf-control.cc: include gpdf-control-private.h for
486 (gpdf_control_private_error_dialog): add ref_parent parameter:
487 whether to _ref the parent control.
488 (destroy_widget_unref_control): signal handler for the alert's
489 "response" signal: destroy the dialog, unref the parent control.
490 (gpdf_control_private_display_help)
491 (gpdf_control_no_postscript_printer_alert): update error_dialog
493 (persist_file_loading_failed_cb): ditto, with ref_parent = TRUE,
494 thus the control never auto-exits before the user can ack the
495 "Loading failed" message. Fixes bug #137262.
497 * gpdf/xpdf/gpdf-control-private.h: update prototype.
499 * gpdf/xpdf/gpdf-view.cc (gpdf_view_link_action_uri): update
500 error_dialog argument list.
502 * gpdf/shell/gpdf.c (gw_control_load_pdf):
503 s/error_stream:/error_persist_file:/
505 * gpdf/xpdf/tests/test-gpdf-view.cc (view_implements_ggv_document): fix
508 2004-06-05 Martin Kretzschmar <m_kretzschmar@gmx.net>
510 * gpdf/xpdf/Makefile.am: drop support for building xpdf, pdfto*.
512 * gpdf/configure.in: simplify more. Drop --enable-no-text-select
513 and --enable-multithreaded options. Bug #111404.
515 2004-06-03 Martin Kretzschmar <m_kretzschmar@gmx.net>
517 * gpdf/configure.in: post release version bump. Reorder a bit, add
518 some section header comments. Remove OS/2 check. Remove checks
519 that were only necessary for the Xpdf build system.
521 * gpdf/fofi/Makefile.dep, splash/Makefile.dep: cvs remove. Remainings
522 of the Xpdf non-automake build system.
524 * gpdf/shell/gpdf.c (verb_HelpAbout_cb):
525 s/translator_credits.../translator-credits/ as requested some
528 2004-06-01 Martin Kretzschmar <m_kretzschmar@gmx.net>
530 * gpdf/NEWS, configure.in: Version 2.7.1.
532 2004-05-31 Martin Kretzschmar <m_kretzschmar@gmx.net>
534 * gpdf/configure.in: print Message Of Doom.
536 2004-05-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
538 * gpdf/xpdf/GPOutputDev.cc (drawImageMask): undo 2004-02-28 change and
539 obey invert parameter instead (D'oh). Bug #142964.
540 (drawImageMask): do mask color computations and some variable
541 definitions outside of the loop. Swap if/else branches.
542 (drawImage): move variable defns outside loop.
544 2004-05-21 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
546 * gpdf/xpdf/gpdf-thumbnails-view.cc: Changed current_gen_thumb
547 type from gint to guint to avoid warnings.
548 (gpdf_thumbnails_view_populate_idle): Init Thumb ptr
549 to NULL to avoid warning.
551 * gpdf/xpdf/gpdf-view.cc (gpdf_view_link_entered_cb):
552 Add braces around each case to avoid warning about
553 inits and/or cross case inits.
554 (gpdf_view_render_page): Update displayPage call for
555 annots view to new xpdf3 API.
557 2004-05-17 Martin Kretzschmar <m_kretzschmar@gmx.net>
559 * gpdf/xpdf/gpdf-view.cc (gpdf_view_render_page): add missing crop
562 * gpdf/fofi/Makefile.am, splash/Makefile.am: added.
564 * gpdf/Makefile.am: add fofi and splash subdirs.
570 * gpdf/aconf-win32.h:
573 * gpdf/doc/pdffonts.1:
574 * gpdf/doc/pdffonts.cat:
575 * gpdf/doc/pdffonts.hlp:
576 * gpdf/doc/pdfimages.1:
577 * gpdf/doc/pdfimages.cat:
578 * gpdf/doc/pdfimages.hlp:
579 * gpdf/doc/pdfinfo.1:
580 * gpdf/doc/pdfinfo.cat:
581 * gpdf/doc/pdfinfo.hlp:
582 * gpdf/doc/pdftopbm.1:
583 * gpdf/doc/pdftopbm.cat:
584 * gpdf/doc/pdftopbm.hlp:
585 * gpdf/doc/pdftops.1:
586 * gpdf/doc/pdftops.cat:
587 * gpdf/doc/pdftops.hlp:
588 * gpdf/doc/pdftotext.1:
589 * gpdf/doc/pdftotext.cat:
590 * gpdf/doc/pdftotext.hlp:
595 * gpdf/doc/xpdfrc.cat:
596 * gpdf/doc/xpdfrc.hlp:
597 * gpdf/fofi/Makefile.in:
601 * gpdf/splash/Makefile.in:
602 * gpdf/xpdf/DisplayFontTable.h:
603 * gpdf/xpdf/ErrorCodes.h:
604 * gpdf/xpdf/FTFont.cc:
605 * gpdf/xpdf/FTFont.h:
606 * gpdf/xpdf/FontFile.cc:
607 * gpdf/xpdf/FontFile.h:
608 * gpdf/xpdf/Function.h:
609 * gpdf/xpdf/GPOutputDev.cc:
612 * gpdf/xpdf/GfxFont.cc:
613 * gpdf/xpdf/GfxFont.h:
614 * gpdf/xpdf/GfxState.cc:
615 * gpdf/xpdf/GfxState.h:
616 * gpdf/xpdf/GlobalParams.cc:
617 * gpdf/xpdf/GlobalParams.h:
618 * gpdf/xpdf/Makefile.am:
619 * gpdf/xpdf/Object.cc:
620 * gpdf/xpdf/Object.h:
621 * gpdf/xpdf/Outline.cc:
622 * gpdf/xpdf/OutputDev.cc:
623 * gpdf/xpdf/OutputDev.h:
624 * gpdf/xpdf/PBMOutputDev.cc:
625 * gpdf/xpdf/PBMOutputDev.h:
626 * gpdf/xpdf/PDFDoc.cc:
627 * gpdf/xpdf/PDFDoc.h:
628 * gpdf/xpdf/PSOutputDev.cc:
629 * gpdf/xpdf/PSOutputDev.h:
632 * gpdf/xpdf/Parser.cc:
633 * gpdf/xpdf/SFont.cc:
635 * gpdf/xpdf/Stream.cc:
636 * gpdf/xpdf/Stream.h:
637 * gpdf/xpdf/T1Font.cc:
638 * gpdf/xpdf/T1Font.h:
639 * gpdf/xpdf/TTFont.cc:
640 * gpdf/xpdf/TTFont.h:
641 * gpdf/xpdf/TextOutputDev.cc:
642 * gpdf/xpdf/TextOutputDev.h:
643 * gpdf/xpdf/XOutputDev.cc:
644 * gpdf/xpdf/XOutputDev.h:
645 * gpdf/xpdf/XPixmapOutputDev.cc:
646 * gpdf/xpdf/XPixmapOutputDev.h:
649 * gpdf/xpdf/config.h:
650 * gpdf/xpdf/gpdf-control.cc:
651 * gpdf/xpdf/pdffonts.cc:
652 * gpdf/xpdf/pdfimages.cc:
653 * gpdf/xpdf/pdfinfo.cc:
654 * gpdf/xpdf/pdftopbm.cc:
655 * gpdf/xpdf/pdftops.cc:
656 * gpdf/xpdf/pdftotext.cc:
657 * gpdf/xpdf/tests/Makefile.am:
658 * gpdf/xpdf/vms_make.com:
659 * gpdf/xpdf/xpdf.cc: Imported Xpdf 3.00 and fixed build.
661 2004-05-17 Martin Kretzschmar <m_kretzschmar@gmx.net>
669 * gpdf/doc/pdffonts.1:
670 * gpdf/doc/pdffonts.cat:
671 * gpdf/doc/pdffonts.hlp:
672 * gpdf/doc/pdfimages.1:
673 * gpdf/doc/pdfimages.cat:
674 * gpdf/doc/pdfimages.hlp:
675 * gpdf/doc/pdfinfo.1:
676 * gpdf/doc/pdfinfo.cat:
677 * gpdf/doc/pdfinfo.hlp:
678 * gpdf/doc/pdftopbm.1:
679 * gpdf/doc/pdftopbm.cat:
680 * gpdf/doc/pdftopbm.hlp:
681 * gpdf/doc/pdftops.1:
682 * gpdf/doc/pdftops.cat:
683 * gpdf/doc/pdftops.hlp:
684 * gpdf/doc/pdftotext.1:
685 * gpdf/doc/pdftotext.cat:
686 * gpdf/doc/pdftotext.hlp:
691 * gpdf/doc/xpdfrc.cat:
692 * gpdf/doc/xpdfrc.hlp:
696 * gpdf/xpdf/Annot.cc:
697 * gpdf/xpdf/Array.cc:
698 * gpdf/xpdf/BuiltinFontTables.cc:
701 * gpdf/xpdf/Catalog.cc:
702 * gpdf/xpdf/CharCodeToUnicode.cc:
703 * gpdf/xpdf/CharCodeToUnicode.h:
704 * gpdf/xpdf/Decrypt.cc:
706 * gpdf/xpdf/ErrorCodes.h:
707 * gpdf/xpdf/FTFont.cc:
708 * gpdf/xpdf/FTFont.h:
709 * gpdf/xpdf/FontFile.cc:
710 * gpdf/xpdf/FontFile.h:
711 * gpdf/xpdf/Function.cc:
714 * gpdf/xpdf/GfxFont.cc:
715 * gpdf/xpdf/GfxFont.h:
716 * gpdf/xpdf/GfxState.cc:
717 * gpdf/xpdf/GfxState.h:
718 * gpdf/xpdf/GlobalParams.cc:
719 * gpdf/xpdf/GlobalParams.h:
720 * gpdf/xpdf/JBIG2Stream.cc:
723 * gpdf/xpdf/Makefile.am:
724 * gpdf/xpdf/OutputDev.h:
725 * gpdf/xpdf/PDFDoc.cc:
726 * gpdf/xpdf/PDFDoc.h:
727 * gpdf/xpdf/PSOutputDev.cc:
728 * gpdf/xpdf/PSOutputDev.h:
731 * gpdf/xpdf/Parser.cc:
732 * gpdf/xpdf/Stream.cc:
733 * gpdf/xpdf/Stream.h:
734 * gpdf/xpdf/TTFont.cc:
735 * gpdf/xpdf/TTFont.h:
736 * gpdf/xpdf/TextOutputDev.cc:
737 * gpdf/xpdf/TextOutputDev.h:
738 * gpdf/xpdf/UnicodeMap.cc:
739 * gpdf/xpdf/UnicodeMap.h:
740 * gpdf/xpdf/UnicodeTypeTable.cc:
741 * gpdf/xpdf/UnicodeTypeTable.h:
742 * gpdf/xpdf/XOutputDev.cc:
743 * gpdf/xpdf/XOutputDev.h:
744 * gpdf/xpdf/XPDFApp.cc:
745 * gpdf/xpdf/XPDFCore.cc:
746 * gpdf/xpdf/XPDFCore.h:
747 * gpdf/xpdf/XPDFViewer.cc:
748 * gpdf/xpdf/XPDFViewer.h:
750 * gpdf/xpdf/about-text.h:
751 * gpdf/xpdf/config.h:
752 * gpdf/xpdf/gpdf-control.cc:
753 * gpdf/xpdf/gpdf-link-canvas-item.cc:
754 * gpdf/xpdf/gpdf-links-canvas-layer.cc:
755 * gpdf/xpdf/pdffonts.cc:
756 * gpdf/xpdf/pdfimages.cc:
757 * gpdf/xpdf/pdfinfo.cc:
758 * gpdf/xpdf/pdftopbm.cc:
759 * gpdf/xpdf/pdftops.cc:
760 * gpdf/xpdf/pdftotext.cc:
761 * gpdf/xpdf/tests/test-links.cc:
762 * gpdf/xpdf/vms_make.com:
763 * gpdf/xpdf/xpdf.cc: Imported Xpdf 2.03 and fixed build.
765 2004-05-13 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
767 * gpdf/xpdf/gpdf-thumbnails-view.cc:
768 Reverted some of the last commits.
770 * gpdf/xpdf/gpdf-annots-view.cc (gpdf_annots_view_class_init)
771 (gpdf_annots_view_set_property, gpdf_annots_view_new):
772 * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_class_init)
773 (gpdf_thumbnails_view_set_property, gpdf_thumbnails_view_new)
774 (gpdf_thumbnails_view_dispose):
775 * gpdf/xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_class_init):
776 (gpdf_bookmarks_view_set_property):
777 (gpdf_bookmarks_view_new):
778 Added set_property method. Changed param_spec_pointer in object.
779 Changed get_pointer in get_object.
780 Casted gpdf_view in GPdfView.
782 * gpdf/xpdf/gpdf-view.cc: Added timeout handler for status reset
783 to view private struct.
784 (gpdf_view_reset_link_status_cb): New callback for status
786 (gpdf_view_link_entered_cb, gpdf_view_link_leaved_cb):
787 Added handler for displaying link action in app status
788 bar when link enter/leave signal are received.
789 (gpdf_view_render_page): Connect enter/leave handlers
790 on links layer signals.
792 * gpdf/xpdf/gpdf-links-canvas-layer.h: Added LINK_ENTERED &
793 LINK_LEAVED signals for displaying links in app bar status
794 when mouse goes over them.
796 * gpdf/xpdf/gpdf-links-canvas-layer.cc: Added LINK_ENTERED &
797 LINK_LEAVED signals for displaying links in app bar status
798 when mouse goes over them.
799 (link_entered_cb, link_leaved_cb): Added handler for link
800 enter/leave signals to emit link_entered/link_leaved signals.
801 (gpdf_links_canvas_layer_add_link): Connected enter/leave
802 link signal handlers.
803 (gpdf_links_canvas_layer_class_init): Declared new signals.
805 * gpdf/xpdf/gpdf-bookmarks-view.cc:
806 (gpdf_bookmarks_view_set_property)
807 (gpdf_bookmarks_view_class_init, gpdf_bookmarks_view_new):
808 (gpdf_thumbnails_view_dispose):
809 Cleaned up constructor and add control ref;
810 Added constructor args as obj properties, added a ref on parent
811 control and unref in dispose.
812 (gpdf_bookmarks_view_update_popup_actions):
813 Check is bookmarks exists before changing tools menu (expand/
814 collapse/expand all/collapse all) sensitivity.
815 (gpdf_bookmarks_view_populate_idle): Remove control disconnect
816 handler IF had been registered.
817 (gpdf_bookmarks_view_get_tools_menu): Changed order of tools popup
818 menu items (to match real order).
820 * gpdf/xpdf/gpdf-annots-view.cc:
821 (gpdf_annots_view_set_property):
822 (gpdf_annots_view_class_init, gpdf_annots_view_new)
823 (gpdf_annots_view_dispose):
824 Cleaned up constructor;
825 Added constructor args as obj properties, added a ref on parent
826 control and unref in dispose.
828 2004-05-12 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
830 * gpdf/xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_flat_recurse_outlines):
831 Fixed missing affectation when handling link_named bookmarks.
832 The dynamic cast was just compared to NULLbut not stored in
835 2004-05-10 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
837 * gpdf/xpdf/gpdf-thumbnails-view.cc: Add gpdf-control-private header
838 for using status & ratio.
839 (gpdf_thumbnails_view_populate_idle): Set ratio & status to give
840 feedback on the thumb generation.
841 Clear ration & status, reset cursor when finished.
843 * gpdf/xpdf/gpdf-control.cc (gpdf_control_get_bookmarks_view):
844 Give control as first arg of gpdf_bookmarks_view_new.
846 * gpdf/xpdf/gpdf-bookmarks-view.h: Add parent control as new arg.
848 * gpdf/xpdf/gpdf-bookmarks-view.cc: Add gpdf-control-private header
849 for using status & ratio.
850 Adding parent control in private struct.
851 (gpdf_bookmarks_view_new): Added control as first param to keep
852 it in private struct.
853 (gpdf_bookmarks_view_flat_recurse_outlines): Set status & advance
854 bar to give feedback about bookmarks generation.
855 (gpdf_bookmarks_view_populate_idle): Fix a problem when no bookmarks
856 are available. The idle func were always called as
857 generation_terminated was never true.
858 Set watch when generation goes on.
859 Clear status, ration & cursor when generation terminated.
860 (gpdf_bookmarks_view_set_pdf_doc): Connected remove idle
861 on control disconnect signal instead of view destroy signal.
863 2004-05-13 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
865 * gpdf/xpdf/gpdf-view.cc (gpdf_view_link_action_uri): Fixed bug when
866 launching uri. The Link string storing URI was freed with list.
867 Now the string is duped before appending it to the list.
868 Changed uri from GString * to gchar *.
870 2004-05-09 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
872 * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_set_pdf_doc):
873 Changed priority for thumbs idle in order to do queue them at end
874 and create bookmarks before.
876 * gpdf/xpdf/gpdf-bookmarks-view.cc
877 (gpdf_bookmarks_view_update_bookmarks_tree):
878 Changed init of idle to let user see bookmarks creation at idle.
880 * gpdf/xpdf/gpdf-view.cc (gpdf_view_bookmark_selected):
881 Handle case when title is selected and action is null.
883 * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_set_pdf_doc):
884 Remove idle on parent control disconnect if killed while generating
885 bookmarks to avoid crash.
888 * gpdf/xpdf/gpdf-bookmarks-view.cc: Added struct GPdfBookmarksGenState
889 for implementing flat recursion when creating bookmarks. This
890 struct is used to store recursive generation state across idle func
892 Also added necessary field in bookmarks view private struct to
894 (gpdf_bookmarks_view_row_expanded_cb)
895 (gpdf_bookmarks_view_row_collapsed_cb)
896 (gpdf_bookmarks_view_page_changed_cb):
897 (gpdf_bookmarks_view_selection_changed_cb):
898 Return if generation not yet finished.
899 (gpdf_bookmarks_view_bookmark_select_func):
900 Fixed a bug when a title Outline item exists. Such an item have no
901 action associated. We handle this case here and in gpdf-view.cc.
902 (gpdf_bookmarks_view_flat_recurse_outlines):
903 (gpdf_bookmarks_view_update_bookmarks_tree):
904 (gpdf_bookmarks_view_populate_idle):
905 Changed recursive bookmarks generation in a flat call to be able to
906 have it called several time as idle handler.
907 (gpdf_bookmarks_view_set_pdf_doc):
908 Remove idle on view destroy if killed while generating bookmarks
912 * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_page_box_coord):
913 Removed assert and add update of thumb size guess if it was wrong.
915 First step for fixing Bug #137439
917 * gpdf/xpdf/gpdf-thumbnails-view.cc:
918 Add a counter for keeping track of current thumb generated.
919 (gpdf_thumbnails_view_set_scroll_region):
920 While setting scroll region, the loop is now between page 1
921 and last generated one (current_gen_thumb) to be able to relayout
922 while generating thumbs.
923 (gpdf_thumbnails_view_create_thumbnail):
924 Added thumb coords. Computation while creating is based on a guess.
925 The layout may be not perfect but it will be correctly relayout
927 (gpdf_thumbnails_view_populate_idle):
928 Changed idle logic in order to only generate one thumb for each
929 call. This way we never freeze display.
930 (gpdf_thumbnails_view_set_pdf_doc):
931 Moved thumb generation inits from idle. Set guess for page
932 width/height to have a semi correct layout.
934 2004-05-09 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
936 * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_populate_idle):
937 Use Thumb method 'ok' to ensure Thumb data availability. It should
938 avoid further crash if embed Thumb data not correctly
942 * gpdf/xpdf/Thumb.cc (Thumb::Thumb): Added a flag for keeping
943 Thumb data validity and the method to access it.
945 2004-05-08 Martin Kretzschmar <m_kretzschmar@gmx.net>
947 * gpdf/lib/recent-files: updated from egg:
949 2004-04-15 Bastien Nocera <hadess@hadess.net>
951 * gpdf/libegg/recent-files/egg-recent-util.c: another unused function
952 to comment when not using libgnomeui
954 2004-04-10 Bastien Nocera <hadess@hadess.net>
956 * gpdf/libegg/recent-files/egg-recent-util.c: remove unused function
957 when not using libgnomeui
959 2004-04-05 Murray Cumming <murrayc@murrayc.com>
961 * gpdf/libegg/recent-files/egg-recent-item.c: Use private_data instead
962 of private, so it can compile with a C++ compiler.
963 * gpdf/libegg/recent-files/egg-recent-view.h: Add G_BEGIN_DECLS and
964 G_END_DECLS so we can use it with C++.
966 2004-03-09 Bastien Nocera <hadess@hadess.net>
968 * gpdf/libegg/recent-files/egg-recent-util.c:
969 (egg_recent_util_get_icon): avoid warnings when the icon file
972 2004-01-31 James Willcox <jwillcox@gnome.org>
974 * gpdf/libegg/recent-files/egg-recent-model.c:
975 (egg_recent_model_lock_file):
977 Fix a locking bug, patch from
978 Gustavo Giráldez <gustavo.giraldez@gmx.net>
980 2004-01-22 James Willcox <jwillcox@gnome.org>
982 * gpdf/libegg/recent-files/egg-recent-model.c:
983 (egg_recent_model_lock_file):
985 Make the file locking suck a little less for nfs home directories.
986 Patch from Dan Williams <dcbw@redhat.com>.
988 * gpdf/libegg/recent-files/egg-recent-model.c: the 2004-01-31 change
991 * gpdf/shell/gpdf.c (gpdf_window_new): de-brand window title -> PDF
994 * gpdf/help/C/figures/gpdf_window.png, help/de/figures/gpdf_window.png:
995 update for new window title.
997 * gpdf/configure.in: bump version number for GNOME 2.7.
999 * gpdf/xpdf/gpdf-thumbnails-view.cc
1000 (gpdf_thumbnails_view_render_thumbnail_image): gdk-pixbuf requires
1001 always 8 bits per component. And Thumb::getPixbufData always
1002 provides 8 bits per component. Fixes bug #141226.
1004 * gpdf/xpdf/Thumb.cc (ThumbColorMap::ThumbColorMap): unused now, remove.
1006 * gpdf/xpdf/Thumb.h: ditto.
1008 * gpdf/xpdf/Thumb.cc (Thumb::Thumb): use a normal GfxImageColorMap.
1009 Use it not only for Indexed color spaces but always. Fixes crasher
1010 bugs #139211, #139477, #141725.
1012 * gpdf/xpdf/Thumb.h: update for ColorMap changes.
1014 * gpdf/xpdf/Thumb.cc (lookup): log to stderr because that's not
1017 2004-05-03 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1018 Fix for Bug #137952:
1020 * gpdf/xpdf/gpdf-control.cc (gpdf_control_get_filename):
1021 * gpdf/shell/gpdf.c (gw_ask_for_uri):
1022 Added file filters 'application/pdf' and '*' to
1025 2004-04-18 Jaka Mocnik <jaka@gnu.org>
1027 * ggv/ggv-prefs-ui.c: (ggv_prefs_dialog_new): Changed accelarators
1028 for Document tab - Default Zoom and Coordination Units to resolve
1029 conflicts in accelarators. patch by Archana Shah. Fixes bug#
1031 * ggv/src/ggv-window.c (ggv_add_open_button): added tooltip for recent
1032 files button. patch by chenthill.
1033 * ggv/backport of bugfixes from gnome-2-6 branch.
1034 * ggv/src/ggv-window.c (verb_FileOpen): don't set the file chooser size.
1035 fixes #139518. patch by Darren Adams.
1036 * ggv/src/gsdefaults.c (gtk_gs_defaults_set_*): only set the new value
1037 if it differs from the old: should fix #139362.
1038 * ggv/src/ggv-window.c (open_button_pressed_cb): applied a patch by
1039 Kouichirou Hiratsuka, fixing a crash when event parameter is NULL.
1042 2004-04-09 Guntupalli Karunakar <karunakar@freedomink.org>
1044 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1046 2004-04-09 Guntupalli Karunakar <karunakar@freedomink.org>
1048 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1050 2004-04-07 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1054 * ggv/bonobo/ggv-postscript-view.c (verb_FileSaveMarked): Added
1055 chooser filter for PS docs and all files.
1057 * ggv/src/ggv-window.c (verb_FileOpen): Added chooser filters for
1058 PS docs and all files.
1060 2004-04-07 Jaka Mocnik <jaka@gnu.org>
1062 * ggv/src/recent-files/egg-recent-model.c (egg_recent_model_filter): do not
1063 test for existence of files since this is done before setting the mime
1064 filter, so we can (and usually will) end up with testing a bunch of URIs,
1065 many of which can be remote, which causes unacceptable delays when
1067 * ggv/configure.in: bump version to 2.7.0.
1069 2004-03-31 Christian Rose <menthos@menthos.com>
1071 * gpdf/configure.in: Added "af" to ALL_LINGUAS.
1073 2004-03-31 Christian Rose <menthos@menthos.com>
1075 * ggv/configure.in: Added "af" to ALL_LINGUAS.
1077 2004-03-30 Adam Weinberger <adamw@gnome.org>
1079 * ggv/configure.in: Added en_CA (Canadian English) to ALL_LINGUAS.
1081 2004-03-29 Samúel Jón Gunnarsson <sammi@techattack.nu>
1083 * ggv/is.po: Added "is" to ALL_LINGUAS.
1085 2004-03-29 Martin Kretzschmar <m_kretzschmar@gmx.net>
1087 * gpdf/configure.in, NEWS: Version 0.131.
1089 2004-03-24 Guntupalli Karunakar <karunakar@freedomink.org>
1091 * configure.in: Added "pa" (Punjabi) to ALL_LINGUAS.
1093 2004-03-22 Guntupalli Karunakar <karunakar@freedomink.org>
1095 * configure.in: Added "pa" (Punjabi) to ALL_LINGUAS.
1097 2004-03-21 Martin Kretzschmar <m_kretzschmar@gmx.net>
1099 * gpdf/configure.in, NEWS: Version 0.130.
1101 * gpdf/help/c/gpdf.xml, help/de/gpdf.xml: updated for 0.130 (no
1104 2004-03-21 Jaka Mocnik <jaka@gnu.org>
1106 * ggv/configure.in: version 2.6.0; tagged as GGV_2_6_0.
1108 2004-03-21 Gareth Owen <gowen72@yahoo.com>
1110 * gpdf/configure.in: Added en_GB to ALL_LINGUAS
1112 2004-03-20 Gareth Owen <gowen72@yahoo.com>
1114 * ggv/configure.in: Added en_GB to ALL_LINGUAS
1116 2004-03-18 Martin Kretzschmar <m_kretzschmar@gmx.net>
1118 * gpdf/help/Makefile.am (SUBDIRS), configure.in: add help/de directory.
1120 * gpdf/help/de: added German help.
1122 2004-03-15 Martin Kretzschmar <m_kretzschmar@gmx.net>
1124 * gpdf/configure.in, NEWS: Version 0.125.
1126 * gpdf/configure.in, README.GPdf: remove message of doom.
1128 2004-03-15 Alexander Winston <alexander.winston@comcast.net>
1130 * gpdf/configure.in: Added en_CA to ALL_LINGUAS.
1132 2004-03-14 Jaka Mocnik <jaka@gnu.org>
1134 * ggv/configure.in: version 2.5.99.1; tagged as GGV_2_5_99_1.
1135 * ggv/src/gtkgs.c (gtk_gs_load): only hide window if it is visible.
1136 * ggv/src/main.c (create_window): don't close window if the document is
1137 not loaded: this is not very nice, but doing otherwise causes
1138 mayhem in both control and shell processes, the cause of which I
1139 am currently unable to track down.
1140 * ggv/src/ggv-window.c: applied a patch from chenthill that makes the
1141 ESC key turn off fullscreen mode.
1143 2004-03-09 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1145 * gpdf/shell/gpdf.c (gpdf_window_close): Added deactivation of control
1146 frame to avoid warning when setting frame ui container to null
1147 at bonobo-control-frame-dispose.
1149 2004-03-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1151 * gpdf/xpdf/bonobo-application-x-pdf.cc (gpdf_factory): use
1152 bonobo_control_life_instrument on controls to make the factory
1153 exit when the last control is destroyed. (For Bug #132703).
1155 2004-03-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1157 * gpdf/configure.in, NEWS: Version 0.124.
1159 * gpdf/README.GPdf: Update.
1161 * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_on_dialog_response_cb):
1162 * gpdf/xpdf/gpdf-persist-stream.cc: update for changed help id of password section.
1164 * gpdf/help/C/gpdf.xml: added comment that gpdf-password id cannot be changed freely.
1166 2004-03-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1168 * gpdf/xpdf/gpdf-control.cc (gc_set_page_cb): focus the pdf view after
1169 setting the page. (Bug #136360)
1171 * gpdf/shell/gpdf.c (gw_ask_for_uri): use gtk_dialog_run instead of a
1172 nested main loop plus connection to ::response.
1173 (file_dialog_response, file_dialog_delete_event): obsolete, no
1174 need to check if a folder was selected. (Bug #136233).
1176 2004-03-08 Breda McColgan <breda.mccolgan@sun.com>
1178 * ggv/help/C/ggv.xml: Updated based on technical review comments
1179 * ggv/help/C/ggv-C.omf: Updated date and version number
1181 2004-03-05 Jaka Mocnik <jaka@gnu.org>
1183 * ggv/applied patch by chenthill that improves keyboard accelerators for
1184 zooming in the control.
1186 2004-03-05 Jaka Mocnik <jaka@gnu.org>
1188 * ggv/src/recent-files/egg-recent-model.c (egg_recent_model_filter): test
1189 for the existence of URI _after_ the URIs are filtered, reducing
1190 overhead! fixes #136238.
1191 * ggv/applied a patch from The Written Word that fixes AIX 5.1 build.
1192 * ggv/bonobo/ggv-postscript-view-ui.xml, src/ggv-ui.xml: removed delimit
1193 attribute from Viewer Items placeholder.
1194 * ggv/src/Makefile.am (libgtkgs_la_SOURCES): removed ggv-recent.[ch].
1195 * ggv/bonobo/main.c (main): Initialized the gnome libraries to provide
1196 support for Edit->Preferences Help to work. Fixes bug#135273. Patch
1198 * ggv/configure.in: version 2.5.99; tagged as GGV_2_5_99.
1200 2004-03-04 Breda McColgan <breda.mccolgan@sun.com>
1202 * gpdf/help/C/gpdf.xml: Implemented editorial review comments
1203 * gpdf/help/C/gpdf-C.omf: Updated date and manual version number
1204 * gpdf/help/C/l10n.txt: Updated date and manual version info
1206 2004-03-02 Breda McColgan <breda.mccolgan@sun.com>
1208 * ggv/help/C/ggv.xml: Updated for GNOME 2.6, technical review draft
1209 * ggv/help/C/ggv-C.omf: Updated for GNOME 2.6
1210 * ggv/help/C/l10n.txt: Updated for GNOME 2.6
1211 * ggv/help/C/figures/ggv_window.png: Updated for GNOME 2.6
1213 2004-02-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
1215 * gpdf/xpdf/GPOutputDev.cc (drawString): handle horizontal scaling
1216 correctly (multiply with the x components of the text
1217 transformation matrix). Fixes Bug #134803.
1218 (drawImageMask): this function has always painted the mask in
1219 reverse video! Fixed it now. Part of Bug #122021.
1221 2004-02-28 Julio M. Merino Vidal <jmmv@menta.net>
1223 * gpdf/Makefile.am: don't hardcode schema installation directory. Add
1224 dummy install-data-local target when GCONF_SCHEMAS_INSTALL is
1225 not set, fixes build for some make variants. (Bug #135524)
1227 2004-02-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1229 * gpdf/xpdf/gpdf-util.h (E_MAKE_TYPE): kill this ancient macro.
1231 * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_destroy): unload
1232 the file, plugs file handle, PDFDoc, whatnot leak (Bug #135525,
1233 spotted by Ali Akcaagac).
1235 2004-02-19 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1239 * gpdf/xpdf/gpdf-control.cc (gpdf_control_print):
1240 Add handler for disconnected control to close print
1241 dialog when gpdf exists.
1242 (gpdf_control_get_filename): Add handler for disconnected
1243 control to close SaveAs file chooser when gpdf exists.
1244 (verb_FileProperties_cb): Add handler for disconnected
1245 control to close Properties dialog when gpdf exists.
1247 2004-02-18 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1251 * gpdf/xpdf/gpdf-persist-stream.cc
1252 (gpdf_persist_stream_on_dialog_response_cb):
1253 Replaced old gpdf_persist_stream_on_cancelbutton_clicked,
1254 gpdf_persist_stream_on_okbutton_clicked and
1255 gpdf_persist_stream_on_helpbutton_clicked with
1256 gpdf_persist_stream_on_dialog_response_cb.
1257 (gpdf_persist_stream_create_password_dialog):
1258 Changed handlers connected on dialog buttons with one
1259 handler connected on dialog's response.
1261 * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_on_dialog_response_cb):
1262 Replaced old gpdf_persist_file_on_cancelbutton_clicked,
1263 gpdf_persist_file_on_okbutton_clicked and
1264 gpdf_persist_file_on_helpbutton_clicked with
1265 gpdf_persist_file_on_dialog_response_cb.
1266 (gpdf_persist_file_create_password_dialog):
1267 Changed handlers connected on dialog buttons with one
1268 handler connected on dialog's response.
1270 * gpdf/xpdf/gpdf-control.cc (gpdf_control_private_destroy_dialog):
1272 (gpdf_control_private_error_dialog)
1273 (gpdf_control_private_warn_dialog)
1274 (gpdf_control_private_info_dialog):
1275 Changed clicked handler set on button with response handler
1276 set on dialog itself. Original handler
1277 gpdf_control_private_destroy_dialog have been replaced with
1279 (gpdf_control_no_postscript_printer_alert): Use the
1280 gpdf_control_private_error_dialog instead of managing its
1282 (gpdf_control_properties_dialog_response_cb): Removed old
1283 dialog resp cb used for props dialog.
1284 (verb_FileProperties_cb): Changed dialog handler for resp
1285 with gtk_widget_destroy.
1286 (persist_file_loading_failed_cb): Replaced dialog managed
1287 with gpdf_control_private_error_dialog.
1289 2004-02-16 Martin Kretzschmar <m_kretzschmar@gmx.net>
1291 * gpdf/configure.in, NEWS: Version 0.123.
1293 2004-02-16 Martin Kretzschmar <m_kretzschmar@gmx.net>
1295 * gpdf/autogen.sh: require automake 1.7 because of the way we use
1296 automake conditionals. Fixes distcheck.
1298 2004-02-13 Jaka Mocnik <jaka@gnu.org>
1300 * ggv/configure.in: version 2.5.4; tagged as GGV_2_5_4.
1302 2004-02-12 Jaka Mocnik <jaka@gnu.org>
1304 * ggv/src/recent-files/egg-recent-model.c (end_element_handler): only add
1305 an uri to the list if it exists!
1307 2004-02-10 Jaka Mocnik <jaka@gnu.org>
1309 * ggv/src/ggv-window.c (ggv_window_reload): show a dialog if the file
1311 * ggv/src/ggv-prefs-ui.c: remember strings when focus leaves the
1313 * ggv/src/ggv-window.c (verb_FileOpen): allow opening multiple files
1315 * ggv/bonobo/GNOME_GGV.server.in.in: Postscript -> PostScript!
1317 2004-02-10 Jaka Mocnik <jaka@gnu.org>
1319 * ggv/src/recent-files/egg-recent-view-bonobo.c
1320 (egg_recent_view_bonobo_clear): added sanity checks for UI container.
1321 * ggv/src/ps.c (psscan): pass the filename as a parameter and use it to
1322 invoke the test command on strange files that might be PS but do not
1324 * ggv/bonobo/ggv-sidebar.c (page_list_selection_changed): sanity check if
1325 (checklist != NULL).
1326 * ggv/bonobo/ggv-postscript-view.c (load_ps): return a boolean indicating
1328 (load_ps_from_stream): set exception when loading fails.
1329 (load_ps_from_file): set exception when loading fails.
1331 * ggv/src/ggv-window.c (verb_FileOpen): keep the dialog open until user
1332 either enter a non-empty filename and opens it or cancel the
1333 operation. fixes #130603
1334 (verb_FileOpen): load PS file before showing a new window. destroy
1335 new window if the file is not valid PS. show dialog in that case.
1337 * ggv/bonobo/ggv-postscript-view.c (add_dialog_to_view): add a dialog to
1338 the list of dialogs maintained by this PS view component.
1339 (ggv_postscript_view_destroy_dialogs): destroy all our dialogs.
1340 (ggv_postscript_view_destroy): destroy all dialogs via above func.
1341 * ggv/src/recent-files/*: synced with latest libegg, since James reverted
1342 the changes he made in November. here's what I get for tracking
1344 * ggv/src/ggv-window.c (verb_FileOpen):
1345 * ggv/src/ggv-recent.c (ggv_recent_init): use new recent-files API.
1347 2004-02-09 Breda McColgan <breda.mccolgan@sun.com>
1349 * gpdf/help/C/gpdf.xml: Implemented technical review comments
1350 * gpdf/help/C/gpdf-C.omf: Updated date
1352 2004-02-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1354 * gpdf/xpdf/gpdf-thumbnails-view.cc
1355 (gpdf_thumbnails_view_populate_idle): #if'ed out one code path
1356 that I missed on 2004-01-13 when commenting out thumbnail
1357 generation menus. Fixes a crasher.
1359 2004-02-08 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1361 * gpdf/xpdf/gpdf-persist-file.cc (impl_bonobo_persist_file_load):
1362 Raise Bonobo exception when file opening fails in order
1363 to enable shell to catch it and discard window opening.
1366 2004-02-08 Martin Kretzschmar <m_kretzschmar@gmx.net>
1368 * gpdf/xpdf/gpdf-control.cc (gpdf_control_setup_view_widgets):
1369 "Thumbnails"->"Pages" because many PDFs don't have thumbnails.
1371 * gpdf/shell/gpdf.c (gpdf_window_init_fullscreen_popup): explicitly add
1374 * gpdf/shell/gpdf-window-ui.xml (keybindings): ViewFullScreen is not a
1375 verb, so F11 doesn't work when in fullscreen mode. Remove it.
1377 * gpdf/xpdf/gpdf-control.cc (gpdf_print_job_prepare): use duplex
1378 setting supplied by gnome-print. Part of Bug #131979.
1380 2004-02-07 Breda McColgan <breda.mccolgan@sun.com>
1382 * gpdf/help/C/gpdf.xml: Updated for GNOME 2.6, technical review draft
1383 * gpdf/help/C/gpdf-C.omf: Updated for GNOME 2.6
1384 * gpdf/help/C/l10n.txt: Added for GNOME 2.6
1385 * gpdf/help/C/figures/gpdf_window.png: Added for GNOME 2.6
1387 2004-02-07 Martin Kretzschmar <m_kretzschmar@gmx.net>
1389 * gpdf/shell/gpdf.c (set_window_icon_default): simplify, based on patch
1390 by Frederic Crozat <fcrozat@mandrakesoft.com> and inline into main.
1392 2004-02-06 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1394 * gpdf/shell/gpdf.c (gpdf_window_init_fullscreen_popup):
1395 Added accel group for exit full screen view and
1397 Fix for Bug #133595.
1399 2004-02-05 Tomasz Kłoczko <kloczek@pld.org.pl>
1401 * ggv/acinclude.m4: removed
1402 This file contain private copy of few aclocal macros provided by
1403 gettext. It breaks regenerata aclocal.m4 under automake diffrent
1404 version than used by mantainer. All neccessary macros are copied
1405 to aclocal.m4 during run autogen.sh.
1406 * ggv/configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1407 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are substed
1410 2004-02-05 Martin Kretzschmar <m_kretzschmar@gmx.net>
1412 * gpdf/xpdf/gpdf-control.cc (gpdf_control_print): no more need to
1413 process GNOME_PRINT_DIALOG_RESPONSE_PREVIEW.
1414 (gpdf_control_no_preview_alert): no longer necessary.
1416 2004-02-05 Andreas J. Guelzow <aguelzow@taliesin.ca>
1418 * gpdf/xpdf/gpdf-control.cc (gpdf_control_print_dialog_new): disable
1419 print preview the right way, instead of showing some alert dialog.
1422 2004-02-05 Alexander Winston <alexander.winston@comcast.net>
1424 * gpdf/acinclude.m4: correctly quote macro definitions to silence
1425 aclocal-1.8 warnings and prevent future automake problems. (Bug
1428 2004-02-04 Jaka Mocnik <jaka@gnu.org>
1430 * ggv/bonobo/ggv-postscript-view.c (verb_FileSaveMarked): if Save is
1431 clicked in the file chooser and the url is empty, rerun the dialog.
1433 * ggv/bonobo/ggv-control.c, bonobo/ggv-postscript-view.c: added
1434 sanity check (uicontainer != CORBA_OBJECT_NIL) before set prop
1435 calls that were not guarded yet.
1436 * ggv/src/ggv-ui.xml: removed ellipsis from "About" menu item label.
1437 * ggv/acinclude.m4: applied a patch from Alexander Winston that fixes
1438 the underquoted m4 definitions. fixes #133179.
1439 * ggv/configure.in: require intltool >= 0.30; version 2.5.3;
1440 tagged as GGV_2_5_3.
1442 2004-01-29 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1444 * gpdf/configure.in: Fixed missing coma in AC_HELP_STRING.
1446 2004-01-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1448 * gpdf/xpdf/gpdf-font-face.c: adapt to changes in libgnomeprint CVS.
1450 2004-01-26 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1452 * gpdf/xpdf/gpdf-thumbnails-view.cc: Include GOutputDev.h.
1453 Added an embed boolean flag for thumbnails struct.
1454 Added a all_generated boolean flag.
1455 Removed CAN_GENERATE_THUMBNAILS define.
1456 (gpdf_thumbnails_view_set_selected_page): Check if is not
1457 current page before darkening thumbnail.
1458 Added tools menu item update.
1459 (gpdf_thumbnails_view_canvas_outline_event_cb):
1460 Changed cursor when dragging in thumb.
1461 (gpdf_thumbnails_view_get_page_pixbuf): New func to gen
1462 pixbuf from a page with GOutputDev.
1463 (gpdf_thumbnails_view_create_thumbnail_pixbuf): Renamed
1464 gpdf_thumbnails_view_create_thumbnail_image that create
1465 white filled thumbs in ..._create_thumbnail_pixbuf.
1466 (gpdf_thumbnails_view_create_thumbnail_image): New func
1467 that get page pixbuf and scale it to make thumb.
1468 (gpdf_thumbnails_view_render_thumbnail_image): Added
1469 embed boolean flag and update all_generated flag.
1470 (gpdf_thumbnails_view_populate_idle): Moved PDF doc related
1471 local vars from func context to loop context.
1472 Changed gpdf_thumbnails_view_create_thumbnail_image in
1473 gpdf_thumbnails_view_create_thumbnail_pixbuf.
1474 Removed tools menu item update if no thumbs availables.
1475 Scroll to 0,0 to show first page thumb.
1476 (gpdf_thumbnails_view_popup_menu_item_generate_cb):
1477 Added implem for current page thumb generation.
1478 (gpdf_thumbnails_view_popup_menu_item_generate_all_cb):
1479 Added implem for all pages thumbs generation.
1480 (gpdf_thumbnails_view_get_tools_menu): If all thumb are
1481 generated the menu is removed.
1482 Now set menu items sensitivity to TRUE.
1484 * gpdf/xpdf/gpdf-bookmarks-view.cc
1485 (gpdf_bookmarks_view_update_popup_actions): Now only updates
1486 menu items sensitivity when some bookmarks are availables.
1487 (gpdf_bookmarks_view_bookmark_select_func): Test item to be
1488 sure not to select NULL bookmark (can occurs if some problem
1489 occurs while parsing PDF: should be fixed).
1490 (gpdf_bookmarks_view_get_tools_menu): Changed menu items init
1491 stmts layout to group the expand_all/collapse_all.
1493 * gpdf/xpdf/Makefile.am (libgpdf_a_SOURCES): Added again
1494 GOutputDev.cc/h and TextOutputDev.cc/h.
1496 * gpdf/xpdf/GOutputDev.h: Added needFontUpdate boolean flag.
1498 * gpdf/xpdf/GOutputDev.cc (GOutputDev::GOutputDev): Added
1499 needFontUpdate init.
1500 (GOutputDev::startDoc):
1501 Removed TextPage::clear call.
1502 (GOutputDev::endPage):
1503 Added boolean flag as param for coalesce.
1504 (GOutputDev::restoreState):
1505 Added needFontUpdate flag set to true.
1506 (GOutputDev::updateAll):
1507 Set flag needFontUpdate instead of calling updateFont().
1508 (GOutputDev::updateFont):
1509 reset needFontUpdate flag and call TextPage::fontUpdate().
1510 (GOutputDev::beginString):
1511 (GOutputDev::endString):
1512 Changed calls to begin/end string in begin/end word.
1513 (GOutputDev::drawChar):
1514 Added updateFont() call if needed. Added code param to
1516 (GOutputDev::beginType3Char):
1517 Added updateFont() call if needed.
1519 * gpdf/xpdf/gpdf-thumbnails-view.cc
1520 (gpdf_thumbnails_view_canvas_outline_event_cb):
1521 Fixed a bug in thumb drag. A zoom mult coef wrongly added.
1522 It has been removed, as some useless commented out traces.
1524 2004-01-26 Andraz Tori <Andraz.tori1@guest.arnes.si>
1526 * gpdf/configure.in: Added "sl" (Slovenian) to ALL_LINGUAS.
1528 2004-01-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1530 * gpdf/Makefile.am: update for intltool 0.29, disable-schemas-install
1533 2004-01-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1535 * gpdf/xpdf/gpdf-control-ui.xml, shell/gpdf-window-ui.xml: add some
1536 explicit keybindings, menu keybindings are disabled when the
1539 2004-01-22 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1541 * gpdf/xpdf/gpdf-sidebar.c (set_tools_button_sensitivity):
1542 New func to set tools menu button sensitivity.
1543 (gpdf_sidebar_set_page_tools_menu):
1544 (select_page): Now call set_tools_button_sensitivity.
1546 * gpdf/xpdf/gpdf-thumbnails-view.cc
1547 (gpdf_thumbnails_view_populate_idle): Added
1550 * gpdf/xpdf/gpdf-control.cc: Removed ifdef USE_ANNOTS
1551 around annots-view.h file. Ifdefs are now in the
1552 header that also defines sidebar page id.
1553 Removed Pages Ids from here to move them in
1554 their respective view header.
1555 (gpdf_control_private_reset_cursor):
1556 (gpdf_control_private_set_wait_cursor):
1557 (gpdf_control_private_set_cursor): Ensure window
1559 (gpdf_control_update_bookmarks_view_tools_menu)
1560 (gpdf_control_bookmarks_view_ready)
1561 (gpdf_control_update_thumbnails_view_tools_menu)
1562 (gpdf_control_thumbnails_view_ready)
1563 (gpdf_control_update_annots_view_tools_menu)
1564 (gpdf_control_annots_view_ready):
1565 Added funcs to deal with tools menu updates and
1566 Ready signals for views. They should be grouped
1567 in two funcs? To be fixed?...
1568 (gpdf_control_enable_ui): Added tools menu update
1569 in control enable UI func.
1570 (gpdf_control_get_bookmarks_view): Added connection
1571 to Ready signal instead of settings tools menu.
1572 This is to wait asynchronous bookmarks loads to be
1573 sure we have a tools menu to activate.
1574 (gpdf_control_get_thumbnails_view): Same for thumbnails
1576 (gpdf_control_get_annots_view): and for annots view.
1577 (gpdf_control_pdf_doc_changed): Moved control_enable_ui
1578 out of the if statement.
1580 * gpdf/xpdf/gpdf-annots-view.h
1581 (GPDF_ANNOTS_VIEW_PAGE_ID):
1582 Sidebar Page id now defined in here.
1583 Added class func for Ready signal.
1585 * gpdf/xpdf/gpdf-annots-view.cc: Removed unused private
1586 field annots. Replaced with the total number of annotations
1587 available inthe document.
1588 (gpdf_annots_view_class_init):
1589 Added Ready signal telling control that annotations
1590 asynchronous load finished.
1591 (gpdf_annots_view_emit_ready): Ready signal emission func
1592 (gpdf_annots_view_have_annotations): Added a func using
1593 the total num of annots to tell if some are available.
1594 (gpdf_annots_view_update_annots_list): Here I count
1595 total number of annotations.
1596 (gpdf_annots_view_populate_idle): Moved some local
1597 vars from func context to the loop context where they
1599 (gpdf_annots_view_populate_idle): Removed a leak, annots
1600 list was not deleted.
1601 (gpdf_annots_view_get_tools_menu): Use new have_annotations
1602 func to disable tools menu when no annotations are
1605 * gpdf/xpdf/gpdf-thumbnails-view.h
1606 (GPDF_THUMBNAILS_VIEW_PAGE_ID):
1607 Sidebar Page id now defined in here.
1608 Added class func for Ready signal.
1610 * gpdf/xpdf/gpdf-thumbnails-view.cc:
1611 (gpdf_thumbnails_view_class_init):
1612 Added Ready signal to tell control that thumbnails
1613 asynchronous load finished.
1614 (gpdf_thumbnails_view_emit_ready): Ready signal
1616 (gpdf_thumbnails_view_populate_idle): Only
1617 change tools menu item widget sensitivity if
1618 tools menu was created (widget actually exist).
1619 Changed brace position.
1620 (gpdf_thumbnails_view_populate_idle): Added
1621 ready signal emission.
1623 * gpdf/xpdf/gpdf-bookmarks-view.h (GPDF_BOOKMARKS_VIEW_PAGE_ID):
1624 Sidebar Page id now defined in here.
1625 Added class func for Ready signal.
1627 * gpdf/xpdf/gpdf-bookmarks-view.cc:
1628 (gpdf_bookmarks_view_class_init):
1629 Added the READY signal that tell control that
1630 asynchronous bookmarks load finished.
1631 (gpdf_bookmarks_view_emit_ready): Ready signal
1633 (gpdf_bookmarks_view_have_outline_items):
1634 Added a func telling if some bookmarks are availables.
1635 (gpdf_bookmarks_view_update_popup_actions):
1636 If no bookmarks availables, no need to browse the
1638 Set menu item widget sensitivity only if menu was
1640 (gpdf_bookmarks_view_populate_idle):
1641 (gpdf_bookmarks_view_set_pdf_doc):
1642 Now populate bookmarks tree in idle func.
1643 (gpdf_bookmarks_view_get_tools_menu): Used
1644 gpdf_bookmarks_view_have_outline_items to
1645 disable tools menu creation when no bookmarks
1648 2004-01-20 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1650 * gpdf/xpdf/tests/test-pdf-loading.cc (TEST_NEW):
1651 Removed unused pdf_doc var.
1653 * gpdf/shell/tests/test-uri-input.c: Added decl for
1654 setup and reat_down to avoid gcc warnings.
1656 * gpdf/xpdf/gpdf-stock-icons.c (GPDF_ADD_STOCK_ICON):
1657 Add init value for icon_set vars to avoid warning.
1659 * gpdf/xpdf/gpdf-persist-stream.cc
1660 (gpdf_persist_stream_create_password_dialog): Added
1661 g_signal_connect for help button.
1663 * gpdf/xpdf/gpdf-control.cc: Removed unused
1664 gpdf_control_get_title method. Also removed some
1667 * gpdf/xpdf/gpdf-thumbnails-view.cc:
1668 * gpdf/xpdf/gpdf-bookmarks-view.cc:
1669 * gpdf/xpdf/gpdf-annots-view.cc: Removed undefined
1670 class_finalize method decl, view_init unused method,
1671 and some unused vars.
1673 * gpdf/xpdf/Thumb.cc (ThumbColorMap::ThumbColorMap): Changed
1674 field init order to match decl and to avoid warning.
1675 Removed several unused vars.
1676 (Thumb::Thumb): Removed unused vars.
1677 (Thumb::getPixbufData): Removed unused vars.
1679 * gpdf/xpdf/TextOutputDev.cc (TextPage::coalesce): Init a var
1682 * gpdf/xpdf/GPOutputDev.cc (GPOFontMap::~GPOFontMap): Changed
1683 param named to avoid shadowing of the xref class field and
1684 the associated warning.
1686 * gpdf/xpdf/Makefile.am (INCLUDES):
1687 * gpdf/shell/Makefile.am (INCLUDES):
1688 * gpdf/lib/ggv-sidebar/Makefile.am (INCLUDES):
1689 * gpdf/configure.in: Changed the way WARN_CFLAFS & WARN_CXXFLAGS
1690 were passed to compiler. Now use CFLAGS/CXXFLAGS in configure
1691 instead of INCLUDES in some Makefiles.
1693 2004-01-19 Martin Kretzschmar <m_kretzschmar@gmx.net>
1695 * gpdf/xpdf/gpdf-control.cc (MENU_FIT_WIDTH_PATH): one more "Zoom Items
1696 Placeholder" occurence. (see 2004-01-13)
1698 * gpdf/gpdf.desktop.in (_Name, _Comment): short and sweet,
1699 by Ross Burton and Alexander Winston (Bug #131906).
1701 2004-01-18 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1703 * gpdf/xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_construct):
1704 Complement for Bug #131798: Removed shadow from scrolled
1705 window to get the same look as nautilus.
1707 * gpdf/xpdf/gpdf-annots-view.cc (gpdf_annots_view_construct):
1708 Complement for Bug #131798: Removed shadow from scrolled
1709 window to get the same look as nautilus.
1711 * gpdf/xpdf/gpdf-sidebar.c (gpdf_sidebar_instance_init):
1712 Changed sidebar title frame shadow type. It was ETCHED_IN
1713 and it make it look slightly different than the Nautilus
1714 sidebar one. With GTK_SHADOW_NONE both looks the same.
1715 This fix bug #131798
1716 (gpdf_sidebar_instance_init): Also changed arrow box shadows
1717 as the ones in nautilus.
1719 * gpdf/xpdf/gpdf-control.cc (gpdf_control_save_sidebar_state):
1720 Changed the source for the CONF_WINDOWS_SHOW_SIDEBAR
1721 value. It was GTK_WIDGET_MAPPED, but it do not run anymore.
1722 Now use GTK_WIDGET_VISIBLE.
1723 Fix for Bug #131776.
1725 2004-01-17 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1727 * gpdf/xpdf/gpdf-control-ui.xml: Changed 'Side Pane' in
1728 'Sidebar' to be consistent with other designation for
1730 This fix Bug #131733.
1732 2004-01-17 Martin Kretzschmar <m_kretzschmar@gmx.net>
1734 * gpdf/xpdf/gpdf-control.cc (gpdf_control_private_error_dialog)
1735 (gpdf_control_private_warn_dialog)
1736 (gpdf_control_private_info_dialog): Ok -> GTK_STOCK_OK, suggested
1737 by Christian Neumair.
1738 (gpdf_control_private_question_dialog): unused and might encourage
1739 use of Yes/No dialogs: remove
1740 (gpdf_control_private_display_help): use "%s", not <%s>.
1742 * gpdf/xpdf/gpdf-control-private.h (gpdf_control_private_question_dialog):
1745 * gpdf/gpdf.schemas.in: removed the not really long "long" descriptions
1746 to reduce string count. Suggested by Christian Neumair.
1748 2004-01-16 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1750 * gpdf/configure.in: Add test to check enable_deprecation_errors
1751 value in [action-if-found] arg of AC_ARG_ENBALE in order
1752 to correctly handle --disable-deprecation-errors.
1753 Same changes for annotations_view AC_ARG_ENABLE.
1755 * gpdf/xpdf/Makefile.am (EXTRA_DIST): Changed value according
1756 to USE_ANNOTS_VIEW cond in order to include annotations view
1757 icons in dist tarball (when annots-view disabled).
1759 2004-01-15 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1761 * gpdf/xpdf/gpdf-view.cc (gpdf_view_link_action_uri)
1762 (gpdf_view_link_action_uri):
1763 * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_popup_menu_item_generate_cb)
1764 (gpdf_thumbnails_view_popup_menu_item_generate_all_cb):
1765 * gpdf/xpdf/gpdf-annots-view.cc (gpdf_annots_view_popup_menu_item_filter_cb)
1766 (gpdf_annots_view_popup_menu_item_plugins_cb):
1767 Fix for Bug #131501.
1768 Some messages punctuations were misplaced.
1769 A syntax error was also corrected in the word "notification".
1771 2004-01-14 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1773 * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_scroll_region_coord):
1774 Changed abs with labs to remove ambiguity on Solaris
1777 2004-01-13 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1779 * gpdf/xpdf/Makefile.am (STOCK_ANNOTS_ICONS, ANNOTS_VIEW_SRCS):
1780 Changed variables assignement to avoid undefined
1781 message from automake-1.4.
1783 * gpdf/gpdf.spec.in:
1784 Removed junk help files in %files list.
1785 Added gnome--pdf.png icon.
1787 * gpdf/xpdf/Page.cc (Page::displaySlice):
1788 Changed the size of the statements
1789 enclosed in ifdef USE_ANNOTS_VIEW in order
1790 to disable annotations display when annots
1793 * gpdf/xpdf/gpdf-bookmarks-view.cc:
1794 * gpdf/xpdf/gpdf-thumbnails-view.cc:
1795 * gpdf/xpdf/gpdf-annots-view.cc:
1796 Changed the way to retrieve menu item widgets
1797 for popup menus. gnome_app_find_menu_pos always
1798 return the same widget ??? now use index in
1801 * gpdf/xpdf/gpdf-stock-icons.h: Added aconf.h
1802 to get USE_ANNOTS_VIEW def.
1804 * gpdf/xpdf/tests/test-gpdf-view.cc (TEST_NEW):
1805 Added new param to gpdf-view constructor.
1806 NULL instead of control for the test.
1808 * gpdf/xpdf/tests/.cvsignore: Add .libs & .deps
1810 * gpdf/xpdf/Thumb.cc:
1811 * gpdf/xpdf/Thumb.h: Add implem for Thumb object
1814 * gpdf/xpdf/prefs-strings.h: Defines for gconf keys
1816 * gpdf/xpdf/PDFDoc.h:
1817 * gpdf/xpdf/PDFDoc.cc: Added annots display CB.
1819 * gpdf/xpdf/Page.h: Added getThumb method. Added annots
1820 display CB decl. Added Thumb object field for
1821 thumbnails management.
1823 * gpdf/xpdf/Page.cc (Page::Page): Added thumb object
1825 (Page::display) (Page::displaySlice): Add CB for
1826 annotations in Page display.
1828 Added conditional display of annotation in order to
1829 avoid them when USE_ANNOTS_VIEW is not defined.
1831 * gpdf/xpdf/Outline.cc: Fixed Outline object parsing.
1833 * gpdf/xpdf/Link.cc: Changed some error handling
1834 to make a difference between two parse actions
1835 and have a better report (needed for debug).
1837 * gpdf/xpdf/Makefile.am:
1838 Add conditional ANNOTS_VIEW_SRCS.
1839 Change eog-hig-dialog in gpdf-hig-dialog.
1840 Added new files (srcs & icons) for sidebar and views.
1842 * gpdf/xpdf/gpdf-view.h:
1843 * gpdf/xpdf/gpdf-view.cc:
1844 Add sidebar views interface.
1846 * gpdf/xpdf/gpdf-thumbnails-view.h:
1847 * gpdf/xpdf/gpdf-thumbnails-view.cc:
1848 Implementation of thumbnails view.
1850 * gpdf/xpdf/gpdf-stock-icons.h:
1851 * gpdf/xpdf/gpdf-stock-icons.c: Add icons for
1852 sidebar views (bookmarks, thumbnails and
1855 * gpdf/xpdf/gpdf-sidebar.h:
1856 * gpdf/xpdf/gpdf-sidebar.c:
1857 Sidebar implem inspired from Galeon's one.
1858 Could remove soon the delete page button.
1860 * gpdf/xpdf/gpdf-persist-stream.cc
1861 (gpdf_persist_stream_on_helpbutton_clicked):
1862 Added help button and its callback
1863 for password dialog.
1864 (gpdf_persist_stream_create_password_dialog):
1865 Merged from HEAD (one dialog for both password).
1867 * gpdf/xpdf/gpdf-persist-file.cc
1868 (gpdf_persist_file_on_helpbutton_clicked):
1869 Added help button and its callback
1870 for password dialog.
1871 (gpdf_persist_file_create_password_dialog):
1872 Merged from HEAD (one dialog for both password).
1874 * gpdf/xpdf/gpdf-marshal.list: Added marshalers
1875 VOID:POINTER,INT VOID:POINTER,INT,BOOLEAN and
1876 VOID:INT,INT,INT,INT,INT.
1878 * gpdf/xpdf/gpdf-hig-dialog.c:
1879 * gpdf/xpdf/gpdf-hig-dialog.h: Reused eog HIG dialog
1882 * gpdf/xpdf/gpdf-control.cc (gpdf_control_private_set_status)
1883 (gpdf_control_private_status_timeout, gpdf_control_private_push)
1884 (gpdf_control_private_pop, gpdf_control_private_clear_stack)
1885 (gpdf_control_private_set_fraction)
1886 (gpdf_control_private_set_pulse_step, gpdf_control_private_pulse)
1887 (gpdf_control_private_refresh, gpdf_control_private_set_cursor)
1888 (gpdf_control_private_set_wait_cursor)
1889 (gpdf_control_private_reset_cursor)
1890 (gpdf_control_private_get_bookmarks_view)
1891 (gpdf_control_private_get_thumbnails_view)
1892 (gpdf_control_private_get_annots_view)
1893 (gpdf_control_private_destroy_dialog)
1894 (gpdf_control_private_error_dialog)
1895 (gpdf_control_private_warn_dialog)
1896 (gpdf_control_private_info_dialog)
1897 (gpdf_control_private_question_dialog)
1898 (gpdf_control_private_display_help):
1899 control-private funcs that temporary stay
1900 in gpdf-control but will move to avoid
1901 dependency on gpdf-control.
1902 (gpdf_control_no_postscript_printer_alert):
1903 Changed eog_hig_dialog to gpdf_hig_dialog.
1904 (gpdf_control_read_sidebar_state)
1905 (gpdf_control_save_sidebar_state, gpdf_control_activate_sidebar):
1906 Support for activating sidebar and saving
1907 restoring its state.
1908 (gpdf_control_get_title, gpdf_control_get_bookmarks_view)
1909 (gpdf_control_get_thumbnails_view, gpdf_control_get_annots_view) :
1910 Sidebar internal accessors.
1911 (gpdf_control_update_toggles)
1912 (gpdf_control_view_sidebar_changed_cb)
1913 (gpdf_control_sidebar_close_requested_cb)
1914 (gpdf_control_bookmark_selected_cb)
1915 (gpdf_control_thumbnail_selected_cb)
1916 (gpdf_control_annotation_selected_cb)
1917 (gpdf_control_annotation_toggled_cb)
1918 (gpdf_control_sidebar_page_changed_cb):
1919 Sidebar events management.
1920 (gpdf_control_setup_view_widgets):
1921 Setup sidebar and its pages. Add gnome app bar and
1923 (gpdf_control_disconnected):
1924 Save sidebar state when component disconnect.
1925 (gpdf_control_dispose):
1926 Dispose memory when component released.
1927 (gpdf_control_class_init):
1928 Connect compnent methods. Added global params
1929 instanciation and stock icons init.
1931 2004-01-13 Martin Kretzschmar <m_kretzschmar@gmx.net>
1933 * gpdf/configure.in, NEWS: Version 0.122.
1935 2004-01-13 Martin Kretzschmar <m_kretzschmar@gmx.net>
1937 * gpdf/xpdf/gpdf-control-ui.xml: rename "View Items Placeholder" back
1938 to "Zoom Items Placeholder", put ViewSidebar outside the
1941 * gpdf/xpdf/GPOutputDev.cc (getFontFaceEmbedded): port Xpdf's support
1942 for embedded TrueType fonts.
1944 * gpdf/xpdf/gpdf-thumbnails-view.cc
1945 (gpdf_thumbnails_view_get_tools_menu): we can't generate
1946 thumbnails yet, therefore disable the (empty) tools menu.
1948 * gpdf/xpdf/gpdf-sidebar.c: disable remove button, because we don't
1949 have remove sidebar panes yet.
1951 * gpdf/configure.in: --disable-annotations-view ->
1952 --enable-annotations-view for ui-freeze.
1954 * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_canvas_outline_event_cb):
1955 comment out debug spew.
1957 * gpdf/xpdf/Makefile.am: fixes for USE_ANNOTS_VIEW conditional.
1959 * gpdf/xpdf/gpdf-view.cc (gpdf_view_setup_page_transform)
1960 (gpdf_view_link_action_goto, gpdf_view_link_action_named)
1961 (gpdf_view_link_clicked_cb, gpdf_view_scroll_adjustments_changed_cb)
1962 (gpdf_view_set_pdf_doc):
1963 * gpdf/xpdf/gpdf-control.cc (gpdf_control_class_init):
1964 * gpdf/xpdf/gpdf-control-ui.xml:
1965 * gpdf/xpdf/bonobo-application-x-pdf.cc:
1966 * gpdf/gpdf.spec.in (Requires):
1967 * gpdf/configure.in: Revert disapproved changes.
1969 2004-01-12 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
1971 * gpdf/xpdf/gpdf-control.cc: Added support for sidebar.
1972 Replaced misc string literal with defines. Added
1973 AppBar for status and advancement control.
1974 The Annots view is conditionned by configure var
1975 and define USE_ANNOTS_VIEW.
1977 * gpdf/xpdf/gpdf-control-ui.xml: Add accelerator for
1978 Print (Ctrl-P). Changed 'Zoom Items Placeholder'
1979 in 'View Items Placeholder'.
1980 Added ViewSidebar menuitem (F9). This accel is
1981 a potential conflict with the nautilus one (when
1982 using gpdf nautilus view).
1983 Changed label of Print toolitem to "Print Document".
1985 * gpdf/xpdf/gpdf-control-private.h: The funcs grouped
1986 in this header are for now in gpdf-control but
1987 will move soon. They are utility funcs as
1988 status control, error/warning dialog control, etc.
1990 * gpdf/xpdf/gpdf-bookmarks-view.h:
1991 * gpdf/xpdf/gpdf-bookmarks-view.cc: Implem for
1992 the bookmarks view embed in the sidebar.
1994 * gpdf/xpdf/gpdf-annots-view.h:
1995 * gpdf/xpdf/gpdf-annots-view.cc: Implem for the
1996 annotations view embed in the sidebar. This view
1997 is experimental and may be disabled through
1998 the configure arg --disable-annotations-view.
2000 * gpdf/xpdf/eel-gconf-extensions.h:
2001 * gpdf/xpdf/eel-gconf-extensions.c: Convinient
2002 funcs for gconf usage. These files will move to
2003 the lib directory in order for them to be used
2004 by gnome-pdf-viewer and gpdf.
2006 * gpdf/xpdf/bonobo-application-x-pdf.cc: Moved
2007 global params instanciation and stock icons
2008 init from bonobo-application-x-pdf.cc to
2009 gpdf-control class init.
2011 * gpdf/xpdf/Annot.h: Added getSubtype, getDict and
2012 getRefNum/Gen methods for easier annots
2014 Added dict & subtype fields.
2016 * gpdf/xpdf/Annot.cc (Annot::Annot): Extended Annot
2017 object to read several kind of annotations.
2018 Some more work (in coord with xpdf) is needed...
2019 (Annots::Annots): Same extensions on annotations
2022 * gpdf/po/.cvsignore: Added .intltool*
2024 * gpdf/shell/tests/.cvsignore:
2025 * gpdf/lib/recent-files/.cvsignore:
2026 * gpdf/lib/ggv-sidebar/.cvsignore: Added .deps & .libs.
2028 * gpdf/help/C/gpdf.xml: Added a placeholder for password
2029 dialog documentation (also usefull for testing help
2030 button in password dialog).
2032 * gpdf/Makefile.am (EXTRA_DIST): Added schemas
2034 (schemadir): Definition
2035 (schema_DATA): Definition
2036 Added schemas rules and local target if schemas
2037 have to be installed.
2038 (ACLOCAL_AMFLAGS): Added gnome2-macros to avoid
2039 failure when triggered from makefile (maintainers
2041 (CLEANFILES): Added schemas file
2043 * gpdf/.cvsignore: Added schemas & spec files.
2045 * gpdf/configure.in: Updated required specs.
2046 Removed useless AC_CANONICAL_HOST.
2047 Made --enable-deprecation-errors arg the default
2048 for this dev version.
2049 Add statements for checking gconf commands availability.
2050 Updated PKG_CHECK_MODULES with new requirements.
2051 Added --disable-annotations-view arg for cond annots view
2053 Added gpdf.schemas & gpdf.spec in AC_OUPUT macros.
2055 * gpdf/gpdf.spec.in: Creation of spec file.
2057 * gpdf/gpdf.schemas.in: Creation of schemas file for GPdf.
2059 2004-01-12 Jaka Mocnik <jaka@gnu.org>
2061 * ggv/src/recent-files/*: merge with current libegg HEAD.
2062 * ggv/src/ggv-recent.c: fix in order to work with new recent-files code.
2063 * ggv/src/cursors.c, bonobo/ggv-postscript-view.c: cache cursors per
2064 ps_view instead of per process.
2065 * ggv/src/ggv-window.c (ggv_window_new): set command sensitivity.
2066 added page_count member to keep track of the document's properites.
2067 * ggv/bonobo/ggv-postscript-view.c (view_realized_cb): removed one
2068 unref too many. did this behaviour change with GTK 2.5? hth did
2069 anything work at all in GGV 2.4.x otherwise?
2070 * ggv/src/ggv-window.c (ggv_window_close): deactivate the control frame
2071 before destroying the window contents.
2072 * ggv/src/ggv-ui.xml: moved visibility settings in top level popup menu
2074 * ggv/Makefile.am (EXTRA_DIST): Removed OrigTree.pm from EXTRA_DIST.
2075 * ggv/src/ggv-window.c (timer_callback): reload always when the window
2076 has a specified file name, regardless of the previous state of the
2077 document. use ggv_window_load(). fixes #127214.
2078 * ggv/src/ggv-window.c (verb_FileClose): close window unconditionally. if
2079 it was the last window, quit app. inspired by patch from Mikael
2081 * ggv/src/ggv-ui.xml: removed Exit and New commands. patch from Mikael
2082 Brockman. with the entry above, this fixes #130310.
2083 * ggv/src/gtkgs.c (gtk_gs_munge_adjustments): step_increment now equals
2084 the arrow keys' increment. fixes #126639.
2085 * ggv/bonobo/ggv_postscript-view.c: call
2086 bonobo_control_set_transient_for() and
2087 gtk_window_set_destroy_with_parent() on all dialog windows. I suppose
2088 this should help with #103729, but - wtf! - it doesn't...
2090 2004-01-11 Martin Kretzschmar <m_kretzschmar@gmx.net>
2092 * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_get_password):
2093 (gpdf_persist_file_get_owner_password)
2094 (gpdf_persist_file_get_user_password): merge, use only one passwd
2096 (impl_bonobo_persist_file_load): use it, ask for the passwd once.
2098 * gpdf/xpdf/gpdf-persist-stream.cc (gpdf_persist_stream_get_password):
2099 (gpdf_persist_file_get_owner_password)
2100 (gpdf_persist_file_get_user_password)
2101 (impl_bonobo_persist_stream_load): ditto.
2103 * gpdf/xpdf/gpdf-stock-icons.c (gpdf_stock_icons_init): if fit-width
2104 icon is not installed, use stock fit icon.
2106 2004-01-10 Martin Kretzschmar <m_kretzschmar@gmx.net>
2108 * gpdf/shell/gpdf-window-ui.xml:
2109 * gpdf/shell/gpdf.c (gpdf_window_open): desensitize full screen command
2110 until we have a pdf.
2112 * gpdf/shell/gpdf.c (exit_fullscreen_button_clicked_cb)
2113 (update_exit_fullscreen_popup_position, screen_size_changed_cb)
2114 (gpdf_window_init_fullscreen_popup): exit full screen button,
2115 stolen from epipahny.
2116 (gpdf_window_window_state_changed): use it.
2118 * gpdf/shell/gpdf-window-ui.xml:
2119 * gpdf/shell/gpdf.c:
2120 (gpdf_window_set_fullscreen, gpdf_window_window_state_changed)
2121 (listener_ViewFullScreen, gw_setup_toplevel_ui)
2122 (gpdf_window_construct): implement simple full screen mode.
2124 * gpdf/gpdf.applications: add startup_notify=true.
2126 2004-01-10 Jaka Mocnik <jaka@gnu.org>
2128 * ggv/src/ggv-ui.xml: add a mnemonic for fullscreen mode. fixes #119848.
2129 * ggv/ggv.desktop.in: added X-GNOME-DocPath entry - I suppose it can't
2131 * ggv/ggv.spec.in: fixed (hopefully) the RPM spec file. fixes #122003.
2133 2004-01-04 Martin Kretzschmar <m_kretzschmar@gmx.net>
2135 * gpdf/xpdf/GNOME_PDF.server.in.in: more strings for more fine-grained
2136 translations. (cf. Bug #45462)
2138 2004-01-03 Robert Sedak <robert.sedak@sk.htnet.hr>
2140 * configure.in: Added "hr" in ALL_LINGUAS.
2142 2004-01-02 Taneem Ahmed <taneem@bengalinux.org>
2144 * ggv/configure.in: Added "bn" to ALL_LINGUAS.
2146 2003-12-30 Martin Kretzschmar <m_kretzschmar@gmx.net>
2148 * gpdf/shell/gpdf.c (main, gw_control_load_pdf): replace deprecated
2151 * gpdf/shell/gpdf-recent-view-toolitem.c
2152 (gpdf_recent_view_toolitem_popup): replace deprecated
2153 gnome_popup_menu_do_popup_modal with gtk_menu_popup, adjust
2154 parameter list. Suggested by Ali Akcaagac.
2155 (gpdf_recent_view_toolitem_button_press_event)
2156 (gpdf_recent_view_toolitem_key_press_event): adjust param. list.
2158 * gpdf/xpdf/gtkgesture.c (gesture_data_append_point)
2159 (gtk_gesture_handler_attach): don't use deprecated gdk_gc_unref or
2162 * gpdf/configure.in: add --enable-deprecation-errors option, inspired
2165 * gpdf/xpdf/Makefile.am, shell/Makefile.am,
2166 lib/recent-files/Makefile.am, lib/ggv-sidebar/Makefile.am
2167 (INCLUDES): use GPDF_DEPRECATED_CFLAGS.
2169 2003-12-30 Jaka Mocnik <jaka@gnu.org>
2171 * ggv/Makefile.am: include intltool-modules dir in distribution tarball.
2173 2003-12-29 Martin Kretzschmar <m_kretzschmar@gmx.net>
2175 * gpdf/.cvsignore: ignore depcomp, stamp-h1.
2177 * gpdf/configure.in: post-release version bump.
2179 * gpdf/xpdf/pdf-properties-display.c, xpdf/pdf-info-dict-util.cc,
2180 xpdf/page-control.c, xpdf/gpdf-view.cc,
2181 xpdf/gpdf-links-canvas-layer.cc, xpdf/gpdf-link-canvas-item.cc,
2182 shell/gpdf-recent-view-toolitem.c, shell/eel-vfs-extensions.c:
2183 Use glib/gi18n.h instead of libgnome/gnome-i18n.h
2185 2003-12-29 Martin Kretzschmar <m_kretzschmar@gmx.net>
2187 * gpdf/configure.in: Version 0.121.
2191 2003-12-29 Jaka Mocnik <jaka@gnu.org>
2193 * ggv/src/gtkgs.c (check_filecompressed): added sanity check
2195 * ggv/src/recent-files/*: replace GnomeIconTheme with GtkIconTheme, since
2196 the former is deprecated in upcoming GTK+.
2197 * ggv/src/gtkchecklist.c: replace deprecated gtk_tree_model_get_iter_root()
2198 with gtk_tree_model_get_iter_first().
2199 * ggv/configure.in: added an --enable-deprecations flag in order to allow
2200 configurable use of *_DISABLE_DEPRECATED flags.
2201 bumped version to 2.5.1; tagged as GGV_2_5_1; release a tarball.
2202 * ggv/*/Makefile.am: respect the above.
2204 2003-12-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
2206 * gpdf/configure.in: emit a warning if font embedding is disabled.
2208 * gpdf/xpdf/GPOutputDev.cc (lookupGlyph): new, a little bit better than
2210 (drawString): use lookupGlyph. Fixes a part of bug #116772.
2212 2003-12-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
2214 * gpdf/lib/recent-files/Makefile.am (INCLUDES): eek, some
2215 _DISABLE_DEPRECATED defines were still here. Remove them.
2217 * gpdf/shell/gpdf-recent-view-toolitem.c
2218 (gpdf_recent_view_toolitem_instance_init): unset CAN_FOCUS flag,
2219 for consistency with other toolbar button items. In response to
2222 * gpdf/Makefile.am, help/C/Makefile.am, help/es/Makefile.am: fix
2223 distcheck for scrollkeeper stuff.
2225 * gpdf/Makefile.am: delete intltool-* on distclean, not clean, fixes
2228 2003-12-21 Martin Kretzschmar <m_kretzschmar@gmx.net>
2230 gcc 3.3.3 has better diagnostics :-)
2232 * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_unload):
2233 add a missing ``= NULL''
2234 (gpdf_persist_file_on_cancelbutton_clicked)
2235 (gpdf_persist_file_create_password_dialog)
2236 (gpdf_persist_file_destroy): kill dead code.
2238 * gpdf/xpdf/gpdf-persist-stream.cc
2239 (gpdf_persist_file_on_cancelbutton_clicked)
2240 (gpdf_persist_file_create_password_dialog): ditto.
2242 * gpdf/xpdf/gpdf-control.cc (gpdf_control_get_filenam)
2243 (gc_ui_set_pixbufs, gpdf_control_constructor): kill unused
2246 * gpdf/xpdf/gpdf-view.cc (gpdf_view_save_as): ditto.
2248 * gpdf/xpdf/bonobo-application-x-pdf.cc: kill unused factory global.
2250 2003-12-20 Arafat Medini <lumina@silverpen.de>
2252 * configure.in: Added Arabic Locale "ar" to ALL_LINGUAS
2254 2003-12-20 Arafat Medini <lumina@silverpen.de>
2256 * configure.in: Added Arabic locale "ar" to ALL_LINGUAS
2258 2003-12-14 Jaka Mocnik <jaka@gnu.org>
2260 * ggv/src/ggv-window.c (ggv_window_set_fullscreen): applied a patch
2261 from janecek at ucw.cz that uses gtk_window_fullscreen() instead
2262 of my home-brewn stuff used in 2.4.
2263 removed functions and includes made redundant by the above patch.
2264 * ggv/src/Makefile.am: there was no need to link libgtkgs with librecent.a,
2265 so we do not do that anymore.
2267 2003-12-13 Martin Kretzschmar <m_kretzschmar@gmx.net>
2269 * gpdf/configure.in: drop libgnomeui-2.0 >= 2.4.0 requirement.
2271 * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_create_password_dialog),
2272 * gpdf/xpdf/gpdf-persist-stream.cc (gpdf_persist_file_create_password_dialog):
2273 use GTK_STOCK_DIALOG_AUTHENTICATION, not GNOME_STOCK_AUTHENTICATION.
2275 * gpdf/help/es/.cvsignore: add.
2277 * gpdf/.cvsignore, Makefile.am (inltool_extra): update for
2280 * gpdf/shell/gpdf.c (set_window_icon_default, main): set the default
2283 * gpdf/shell/Makefile.am (INCLUDES): define GNOMEICONDIR
2285 * gpdf/shell/gpdf.c, xpdf/gpdf-control.cc: don't
2286 gtk_window_set_default_size (cf. #128636)
2288 * gpdf/configure.in: GtkFileChooser requires gtk+ 2.3
2290 2003-12-11 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2292 * gpdf/help/es, configure.in, help/Makefile.am: Added Spanish help
2294 2003-12-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
2296 * gpdf/xpdf/page-control.c (gpdf_page_control_expose)
2297 (gpdf_page_control_class_init): try to look better with some theme
2298 engines (bug and patch for similar problem pointed out by
2301 * gpdf/test-files/encrypted.pdf: an encrypted pdf, passwords are Foo
2304 * gpdf/test-files/Makefile.am (EXTRA_DIST): dist encrypted.pdf.
2306 * gpdf/xpdf/gpdf-links-canvas-layer.cc: can't make canvas-item
2307 properties construct time-only. Fixes links with glib 2.3.
2309 * gpdf/configure.in: post-release version bump.
2311 2003-12-08 Martin Kretzschmar <m_kretzschmar@gmx.net>
2313 * gpdf/configure.in: Version 0.120, add warning that this is not
2316 * gpdf/NEWS: merge news from stable, update.
2318 * gpdf/README.GPdf: update.
2320 * gpdf/xpdf/gpdf-properties-dialog.glade: declare some atk relations.
2322 * gpdf/xpdf/page-control.c (gpdf_page_control_instance_init)
2323 (gpdf_page_control_setup_at): set some atk names.
2325 * gpdf/xpdf/gpdf-view.cc (gpdf_view_setup_at): set atk role and name
2326 for the GPdfView, fixes #127897.
2328 * gpdf/configure.in: require libgnomeui-2.0 >= 2.4.0 for authentication
2331 * gpdf/xpdf/gpdf-persist-file.cc, xpdf/gpdf-persist-stream.cc
2332 (gpdf_persist_file_create_password_dialog)
2333 (gpdf_persist_file_get_password)
2334 (gpdf_persist_file_get_owner_password)
2335 (gpdf_persist_file_get_user_password): HIGgify a bit: remove
2336 window title, remove unused help button, rename OK button, add
2337 authentication stock icon, frob widget spacing.
2339 * gpdf/xpdf/gpdf-control.cc (gpdf_control_enable_ui): enable print verb
2340 only if the document allows printing.
2342 2003-12-08 Jan Arne Petersen <jpetersen@uni-bonn.de>
2344 * gpdf/shell/gpdf.c: (file_dialog_response), (gw_ask_for_uri):
2345 * gpdf/xpdf/gpdf-control.cc: Replace GtkFileSelection with
2348 2003-12-13 Martin Kretzschmar <m_kretzschmar@gmx.net>
2350 * gpdf/help/es/gpdf.xml, help/es/gpdf-es.omf: made them xmllint clean.
2352 2003-12-07 Martin Kretzschmar <m_kretzschmar@gmx.net>
2354 * gpdf/xpdf/gpdf-control.cc (gpdf_control_enable_ui): handle FileSaveAs
2357 2003-12-06 Martin Kretzschmar <m_kretzschmar@gmx.net>
2359 * gpdf/xpdf/gpdf-persist-file.cc (impl_bonobo_persist_file_load): if
2360 the uri looks like a local path (no uri scheme), transform to a
2361 uri, escaping special chars like '%'. Fixes #128171.
2363 * gpdf/shell/gpdf-recent-view-toolitem.c
2364 (gpdf_recent_view_toolitem_instance_init): set atk name for the
2365 drop down arrow. Fixes #126190.
2366 Patch by Padraig O'Briain <padraig.obriain@sun.com>
2367 Fix copyright lines to include James Willcox (for the gedit code).
2369 * gpdf/xpdf/gpdf-view.cc (gpdf_view_save_as): Comment that it expects
2370 the filename in on-disk encoding.
2372 * gpdf/xpdf/gpdf-control.cc (gpdf_control_get_filename): comment why it
2373 doesn't return utf-8, remove FIXME; s/const gchar*/gchar*/ because
2374 we return g_strdupped memory. Fix fileselection title.
2375 (verb_SaveAs_cb): plug leak (s/const gchar*/gchar*/)
2377 * gpdf/xpdf/gpdf-control-ui.xml: renamed "Save document as" to "Save a
2378 Copy" because we continue displaying the original file.
2380 2003-12-05 Jan Arne Petersen <jpetersen@uni-bonn.de>
2382 * ggv/bonobo/ggv-postscript-view.c: (verb_FileSaveMarked):
2383 * ggv/src/ggv-window.c: (verb_FileOpen): Replace GgvFileSel
2384 (GtkFileSelection) with GtkFileChooser.
2385 * ggv/src/Makefile.am:
2386 * ggv/src/ggv-file-sel.[ch]: removed unused files.
2388 2003-12-01 Mohammad DAMT <mdamt@bisnisweb.com>
2390 * gpdf/configure.in: Added "id" to ALL_LINGUAS
2391 * gpdf/po/id.po: Added Indonesian Translation by Ahmad Riza H Nst <ari@160c.afraid.org>
2393 2003-11-18 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
2395 * gpdf/shell/gpdf.c (gpdf_window_open):
2396 Changed bonobo_object_unref with gtk_widget_destroy (more
2399 * gpdf/xpdf/gpdf-persist-stream.cc (impl_bonobo_persist_stream_load):
2400 * gpdf/xpdf/gpdf-persist-file.cc (impl_bonobo_persist_file_load):
2401 Fixed for BUG# 116663.
2402 Raise exception for password failure to be able to cancel
2403 window opening when catched in gpdf window code.
2405 * gpdf/shell/gpdf.c:
2406 Fixed for BUG# 116663.
2407 (open_request_handler):
2408 Changed window creation flow to be able to correctly
2410 Moved title update (removed here after) at this point
2411 just before window is mapped.
2412 (gw_add_control_to_ui): Removed activation of control
2413 widget (to do it later in creation flow).
2414 (gw_control_load_pdf): Removed update of title to do
2416 (gpdf_window_open): Changed window open flow to take
2417 into account exceptions. Added activation of control
2418 if no exception raised.
2420 * gpdf/xpdf/gpdf-control.cc (gpdf_control_setup_persist):
2421 Merged from gpdf-outlines branch.
2422 Give bonobo control to bonobo persistant
2423 objects for them to handle password dialogs as
2426 * gpdf/xpdf/gpdf-persist-stream.h:
2427 * gpdf/xpdf/gpdf-persist-stream.cc:
2428 (gpdf_persist_file_on_entry_activate)
2429 (gpdf_persist_file_on_cancelbutton_clicked)
2430 (gpdf_persist_file_on_okbutton_clicked)
2431 (gpdf_persist_file_create_password_dialog)
2432 (gpdf_persist_file_get_password)
2433 (gpdf_persist_file_get_owner_password)
2434 (impl_bonobo_persist_stream_load)
2435 (gpdf_persist_stream_set_control):
2436 Merged from gpdf-outlines branch.
2437 Add password protected documents support.
2440 * gpdf/xpdf/gpdf-persist-file.h:
2441 * gpdf/xpdf/gpdf-persist-file.cc:
2442 (gpdf_persist_file_on_entry_activate)
2443 (gpdf_persist_file_on_cancelbutton_clicked)
2444 (gpdf_persist_file_on_okbutton_clicked)
2445 (gpdf_persist_file_create_password_dialog)
2446 (gpdf_persist_file_get_password)
2447 (gpdf_persist_file_get_owner_password)
2448 (gpdf_persist_file_get_user_password)
2449 (impl_bonobo_persist_file_load, gpdf_persist_file_set_control):
2450 Merged from gpdf-outlines branch.
2451 Add password protected documents support.
2454 2003-11-17 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
2456 * gpdf/xpdf/gpdf-control-ui.xml:
2457 * gpdf/xpdf/gpdf-view.cc (gpdf_view_save_as):
2458 * gpdf/xpdf/gpdf-control.cc (gpdf_control_get_filename)
2460 Merge SaveAs feature from gpdf-outlines branch.
2463 * gpdf/shell/gpdf.c (gw_ask_for_uri, gw_open_dialog):
2464 Merged "Open multiple files" feature from
2465 gpdf-outlines branch.
2466 Fix for BUG# 118942.
2468 2003-11-11 Padraig O'Briain <padraig.obriain@sun.com>
2470 * gpdf/xpdf/bonobo-application-x-pdf.cc (main): call gnome_program_init
2471 ( fixes #126516, ignored gconf a11y setting).
2473 2003-11-06 Breda McColgan <Breda.McColgan@sun.com>
2475 * help/C/ggv.xml: Updated for GNOME 2.4.2
2476 * help/C/ggv-C.omf : Updated to reflect new manual version number and
2478 * help/C/l10n.txt: Updated Summary of Changes section
2480 2003-11-03 Shakti <shakti.sen@wipro.com>
2482 * gpdf/gpdf.desktop.in:
2483 Added "%U" as a Exec parameter variable to handle dnd PDF files on launcher.
2484 Fixes the bug#126160
2486 2003-11-02 Jaka Mocnik <jaka@gnu.org>
2488 * ggv/src/ggv-ui.xml: removed redundant separator above prefs item.
2489 * ggv/src/ggv-window.c (verb_HelpContents): if in fullscreen mode,
2490 switch to normal in order to show the help window.
2491 * ggv/src/gtkchecklist.c: implemented range selection (first selected ->
2492 cursor) when clicking with shift pressed. fixes #125760.
2494 2003-10-27 Sanlig Badral <badral@openmn.org>
2496 * gpdf/configure.in: Added "mn" to ALL_LINGUAS.
2498 2003-10-25 Jaka Mocnik <jaka@gnu.org>
2500 * ggv/src/ggv-prefs-ui.[ch]: migrated to GtkComboBox.
2501 removed toolbar style settings.
2502 * ggv/src/ggv-prefs.[ch]: removed toolbar style settings.
2503 * ggv/configure.in: version 2.5.0; tag GGV_2_5_0.
2505 2003-10-14 Chee Bin HOH <cbhoh@mimos.my>
2507 * gpdf/help/C/gpdf.xml: upd.
2509 * gpdf/shell/gpdf.c (verb_HelpAbout_cb): documentation
2511 (verb_HelpContents_cb): new.
2513 2003-10-13 Martin Kretzschmar <m_kretzschmar@gmx.net>
2517 * gpdf/xpdf/gpdf-control.cc (idle_print_handler): fix off-by-one bug
2518 (gpdf_control_print, print_to_file_workaround): make print-to-file
2519 work, needs investigation in gnome-print.
2521 2003-10-10 Jaka Mocnik <jaka@gnu.org>
2523 * ggv/src/gtkgs.c (gtk_gs_zoom_to_fit): fixed a copy'n'paste error!
2524 * ggv/bonobo/ggv-control.c (sw_size_allocate): better calculation of
2525 available size for GtkGS widget.
2527 2003-10-03 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
2529 * gpdf/xpdf/gpdf-control.cc (persist_file_loading_finished_cb):
2530 Fix for BUG #123638.
2531 Add call to gnome_vfs_unescape_string_for_display to remove
2532 escaped chars in title.
2534 * gpdf/help/C/figures/gpdf_start_window.png:
2535 * gpdf/help/C/legal.xml:
2536 * gpdf/help/C/gpdf.xml:
2537 * gpdf/help/C/Makefile.am:
2538 * gpdf/help/C/gpdf-C.omf:
2539 * gpdf/help/C/.cvsignore:
2540 * gpdf/help/Makefile.am:
2541 * gpdf/help/xmldocs.make:
2542 * gpdf/help/.cvsignore:
2543 * gpdf/help/omf.make: Added help written by Chee Bin HOH.
2545 * gpdf/Makefile.am (SUBDIRS): Add help as a SUBDIR.
2547 * gpdf/configure.in: Add help/Makefile and help/C/Makefile in
2548 AC_OUTPUT directive.
2550 === this is HEAD === stable branch is gnome-2-4 ===
2552 2003-09-30 Christian Rose <menthos@menthos.com>
2554 * gpdf/configure.in: Added "eu" to ALL_LINGUAS.
2556 2003-09-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
2558 * gpdf/configure.in: on HP-UX with gcc 3.3, define __STDC_EXT__ (#121730).
2560 2003-09-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
2562 * gpdf/xpdf/gpdf-control.cc (idle_print_handler): forgot to mark one
2563 message for translation. Sorry.
2565 2003-09-26 Christian Neumair <chris@gnome-de.org>
2567 * gpdf/xpdf/gpdf-control.cc (verb_FileProperties_cb):
2568 * gpdf/xpdf/gpdf-properties-dialog.glade: HIGify document property dialog.
2570 * gpdf/xpdf/gpdf-print-progress-dialog.glade: HIGify print progress dialog.
2572 2003-09-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2574 * gpdf/xpdf/gpdf-control.cc (gpdf_print_job_prepare, idle_print_handler:
2575 (gpdf_control_print_job_print, using_postscript_printer)
2576 (gpdf_control_no_preview_alert, gpdf_control_no_postscript_printer_alert)
2577 (gpdf_control_get_range_page, gpdf_control_print_dialog_new)
2578 (gpdf_control_print, verb_FilePrint_cb): implement printing.
2579 (gpdf_control_set_property): disable PersistStream implementation.
2581 * gpdf/xpdf/gpdf-print-progress-dialog.glade: add.
2583 * gpdf/xpdf/gpdf-control-ui.xml: add Print verb, menu item, tool item.
2585 * gpdf/xpdf/Makefile.am (libgpdf_a_SOURCES): include PSOutputDev
2586 (glade_DATA): add gpdf-print-progress-dialog.glade.
2588 * gpdf/xpdf/GNOME_PDF.server.in.in: don't advertise PersistStream
2590 * gpdf/configure.in: bump version to 0.110.99; require libgnomeprint >=
2593 2003-09-22 Taneem Ahmed <taneem@bengalinux.org>
2595 * gpdf/configure.in: Added "bn" to ALL_LINGUAS.
2597 2003-09-08 Mugurel Tudor <mugurelu@go.ro>
2599 * gpdf/configure.in : Added "ro" to ALL_LINGUAS.
2601 2003-09-08 Martin Kretzschmar <m_kretzschmar@gmx.net>
2603 * gpdf/configure.in, NEWS: Version 0.110.
2605 * gpdf/README.GPdf: add note about HP-UX + gcc 3.3 build (#121730).
2607 2003-09-04 Joël Brich <joel.brich@laposte.net>
2609 * gpdf/configure.in : Added "eo" to ALL_LINGUAS.
2611 2003-09-02 Gediminas Paulauskas <menesis@delfi.lt>
2613 * gpdf/configure.in: Added lt to ALL_LINGUAS.
2615 2003-08-29 Irene Ryan <irene.ryan@sun.com>
2617 * ggv/help/C/ggv.sgml: removed this obsolete SGML file
2618 * ggv/help/C/ggv.xml: minor updates to Help for GNOME 2.4 release
2619 * ggv/help/C/ggv-C.omf: updated manual release info
2620 * ggv/help/C/l10n.txt: updated instructions for L10N teams about
2621 changes made in latest Help
2623 2003-08-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
2625 * gpdf/configure.in: Version 0.106.
2627 * gpdf/NEWS: updated.
2629 * gpdf/README: point to README.GPdf.
2631 * gpdf/README.GPdf: new file.
2633 * gpdf/gnome-pdf.png: icon from gnome-icon-theme by Jimmac (Jakub
2636 * gpdf/Makefile.am: dist the icon.
2638 2003-08-25 Mark Finlay <sisob@tuxfamily.org>
2640 * gpdf/gpdf.desktop.in: use gnome-pdf (gnome-icon-theme) icon.
2642 2003-08-19 Yanko Kaneti <yaneti@declera.com>
2644 * gpdf/configure.in: (ALL_LINGUAS) Added Bulgarian (bg).
2646 2003-08-18 Guntupalli Karunakar <karunakar@freedomink.org>
2648 * gpdf/configure.in: Added "hi" to ALL_LINGUAS.
2650 2003-08-13 Jaka Mocnik <jaka@gnu.org>
2652 * ggv/added ggv-recent.*!
2654 2003-08-12 Martin Kretzschmar <m_kretzschmar@gmx.net>
2656 * gpdf/xpdf/gpdf-control.cc (ui_component_set_sensitive): move up.
2657 (gpdf_control_enable_ui): new.
2658 (gc_enable_go_back_verbs, gc_enable_go_forward_verbs)
2659 (gc_enable_history_back_verbs, gc_enable_history_forward_verbs):
2660 replaced by gpdf_control_enable_ui.
2661 (gc_page_changed_enable_page_buttons, gpdf_control_activate)
2662 (gpdf_control_pdf_doc_changed): use gpdf_control_enable_ui,
2663 disable ui if pdf_doc == NULL.
2665 2003-08-12 Jaka Mocnik <jaka@gnu.org>
2667 * ggv/applied patch by Glynn Foster of Sun that adds support for
2668 recent files menu. Thanks!
2670 2003-08-11 Dafydd Harries <daf@parnassus.ath.cx>
2672 * ggv/configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2674 2003-08-09 Sajith V.K <sajith_vk@linuxmail.org>
2676 * gpdf/configure.in: Added "ml" (Malayalam) to ALL_LINGUAS.
2678 2003-08-06 Thomas Vander Stichele <thomas at apestaart dot org>
2680 * ggv/configure.in: make maintainer builds work
2682 2003-08-06 Martin Kretzschmar <m_kretzschmar@gmx.net>
2684 * gpdf/xpdf/eog-hig-dialog.c (eog_hig_dialog_new): add terminating
2685 NULL in g_object_set.
2687 2003-07-29 Martin Kretzschmar <m_kretzschmar@gmx.net>
2689 * gpdf/NEWS, configure.in: Version 0.105
2691 * gpdf/shell/gpdf.c (verb_HelpAbout_cb): add Remi.
2693 2003-07-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2695 * gpdf/test-files/Makefile.am (%.pdf): run pdftex in nonstopmode, let
2696 make ignore pdftex errors (we are only creating test files). Makes
2697 bug #114701 less severe.
2699 2003-07-24 Dafydd Harries <daf@parnassus.ath.cx>
2701 * gpdf/configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2703 2003-07-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2705 * gpdf/xpdf/gpdf-properties-dialog.glade: declared unused dialog title
2706 as not translatable. (Bug #118218).
2708 2003-07-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
2710 * gpdf/xpdf/pdf-info-dict-util.cc (pdf_doc_process_properties): added a
2711 comment for translators in front of Yes/No (Bug #118214).
2713 2003-07-20 Jaka Mocnik <jaka@gnu.org>
2715 * ggv/src/Makefile.am: remove built sources from distribution tarball.
2717 2003-07-18 Martin Kretzschmar <m_kretzschmar@gmx.net>
2719 * gpdf/xpdf/gpdf-persist-file.cc (impl_bonobo_persist_file_load): use
2720 more informative error messages when emitting loading-failed. Kill
2722 Whitespace cleanups.
2724 * gpdf/xpdf/gpdf-control.cc (persist_file_loading_failed_cb): kill
2725 redundancy in error message; unset PDF document.
2727 * gpdf/xpdf/eog-hig-dialog.c (eog_hig_dialog_new): remove a newline
2729 2003-07-17 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
2731 * gpdf/xpdf/gpdf-marshal.list (VOID:POINTER,INT)
2732 (VOID:INT,INT,INT,INT,INT): removed wrongly
2733 commited new marshalers. Should have gone to
2736 2003-07-17 Martin Kretzschmar <m_kretzschmar@gmx.net>
2738 * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_class_init)
2739 (impl_bonobo_persist_file_load): emit (new) loading-failed signal
2740 if something goes wrong during load.
2742 * gpdf/xpdf/gpdf-persist-file.h: add slot for loading-failed.
2744 * gpdf/xpdf/gpdf-marshal.list: add VOID:STRING.
2746 * gpdf/xpdf/gpdf-links-canvas-layer.cc: fix include (thanks Remi).
2748 * gpdf/xpdf/gpdf-control.cc (gpdf_control_setup_persist)
2749 (gpdf_control_destroy): on loading-failed signal, display error
2752 * gpdf/xpdf/eog-hig-dialog.h, xpdf/eog-hig-dialog.c: copied from eog;
2753 HIG conforming alert dialog.
2755 * gpdf/xpdf/Makefile.am (libgpdf_a_SOURCES): build eog-hig-dialog
2757 * gpdf/NEWS: updated.
2759 2003-07-14 Jaka Mocnik <jaka@gnu.org>
2761 * ggv/bonobo/ggv-control.c (ggv_control_key_press_event): reverted the
2762 page up/down keys behaviour.
2763 * ggv/bonobo/GNOME_GGV.server.in.in: don't register ourselves as being
2764 able to read PDF files.
2765 * ggv/bonobo/bonobo-postscript-view-ui.xml: add label to File submenu.
2767 * ggv/configure.in: bumoed version to 2.3.2; tag GGV_2_3_2: released a
2770 2003-07-06 Martin Kretzschmar <m_kretzschmar@gmx.net>
2772 * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_class_init):
2773 rename set_pdf signal to loading_finished.
2775 * gpdf/xpdf/gpdf-control.cc (persist_file_loading_finished_cb)
2776 (gpdf_control_setup_persist): ditto.
2778 * gpdf/xpdf/tests/test-pdf-loading.cc: ditto.
2780 * gpdf/xpdf/gpdf-persist-file.h: ditto.
2782 2003-07-05 Martin Kretzschmar <m_kretzschmar@gmx.net>
2784 * gpdf/shell/gpdf.c (file_dialog_ok): if selected filename does not
2785 exist, try to do completion, never try to open.
2787 2003-07-05 Martin Kretzschmar <m_kretzschmar@gmx.net>
2789 * gpdf/shell/gpdf.c (file_dialog_ok): don't try to open a
2790 directory. Code stolen from Gnumeric (gui-util.c).
2791 (file_dialog_cancel, file_dialog_delete_event, gw_ask_for_uri):
2792 hide the file selector before destroying it.
2794 2003-07-05 Martin Kretzschmar <m_kretzschmar@gmx.net>
2796 * gpdf/xpdf/gpdf-view.cc (gpdf_view_clear_history): implement.
2797 (gpdf_view_set_pdf_doc): clear history on set_pdf_doc (for
2800 2003-07-04 Martin Kretzschmar <m_kretzschmar@gmx.net>
2802 * gpdf/xpdf/gpdf-view.h: add scroll_to prototypes
2804 * gpdf/xpdf/gpdf-view.cc (gpdf_view_key_press_event): use
2805 gpdf_view_scroll_to_top and _bottom, kill superfluous/wrong
2806 do_scroll = TRUE statement (twice).
2807 (gpdf_view_scroll_to_top, gpdf_view_scroll_to_bottom): move above
2808 gpdf_view_page_prev.
2809 (gpdf_view_link_action_goto, gpdf_view_page_prev)
2810 (gpdf_view_page_next, gpdf_view_page_first, gpdf_view_page_last)
2811 (gpdf_view_back_history, gpdf_view_forward_history)
2812 (gpdf_view_key_press_event, gpdf_view_key_press_event): when
2813 jumping to another page, scroll to top of the page, except when
2814 browsing backwards with Backspace. Fixes #115173.
2816 * gpdf/xpdf/gpdf-control.cc (gc_set_page_cb): #115173 fix.
2818 2003-07-04 Martin Kretzschmar <m_kretzschmar@gmx.net>
2820 * gpdf/xpdf/gpdf-view.cc (gpdf_view_scroll_to_top)
2821 (gpdf_view_scroll_to_bottom): implement.
2823 * gpdf/configure.in: bump version to 0.104.99.
2825 2003-07-02 Laurent Dhima <laurenti@alblinux.net>
2827 * ggv/configure.in: Added "sq" to ALL_LINGUAS.
2829 2003-07-02 Jordi Mallach <jordi@sindominio.net>
2831 * ggv/ggv.desktop.in: Add X-Bugzilla entries.
2833 2003-07-01 Martin Kretzschmar <m_kretzschmar@gmx.net>
2835 * gpdf/configure.in, NEWS: Version: 0.104.
2837 2003-07-01 Martin Kretzschmar <m_kretzschmar@gmx.net>
2839 * gpdf/xpdf/tests/test-gpdf-control.cc (control_property_title): make
2842 * gpdf/xpdf/GPOutputDev.cc: fix name of Dingbats font.
2844 2003-07-01 Laurent Dhima <laurenti@alblinux.net>
2846 * gpdf/configure.in: Added "sq" to ALL_LINGUAS.
2848 2003-06-30 Martin Kretzschmar <m_kretzschmar@gmx.net>
2850 * gpdf/xpdf/gpdf-control.cc (persist_stream_set_pdf_cb)
2851 (persist_file_set_pdf_cb, persist_file_set_pdf_cb)
2852 (gpdf_control_get_title, gpdf_control_constructor)
2853 (property_bag_get_prop): Plug leak. Don't recompute the title
2854 everytime it is needed. Silly Martin told Remi the wrong place
2857 2003-06-30 Alessio Frusciante <algol@firenze.linux.it>
2859 * gpdf/configure.in (ALL_LINGUAS): added "it" (Italian).
2861 2003-06-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
2863 * gpdf/xpdf/gpdf-font-face.h: change license from GPL v2 to GPL v2 or
2864 later. (with Filip's permission)
2866 * gpdf/xpdf/gpdf-font-face.c: ditto.
2868 * gpdf/configure.in (ALL_LINGUAS): Added "mk" and "he".
2869 (EXTRA_GNOME_CFLAGS) Do not check for freetype explicitly. Build
2870 fix suggested by Ali Akcaagac.
2872 * gpdf/NEWS: updated.
2874 2003-06-26 Stanislav Brabec <sbrabec@suse.cz>
2876 * ggv/configure.in: Fixed discontinued "head -1" syntax to "head -n 1".
2878 2003-06-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
2880 * gpdf/xpdf/gpdf-font-face.c: GnomeFontFace wrapper class for embedded
2881 fonts. Originally by me, this class is from Filip Van Raemdonck.
2883 * gpdf/xpdf/gpdf-font-face.h: header for GPdfFontFace.
2885 * gpdf/xpdf/Makefile.am (libgpdf_a_SOURCES): build gpdf-font-face.[hc].
2886 (INCLUDES): propagate cflags for private gnome-print headers.
2888 * gpdf/xpdf/GPOutputDev.cc (getFontFaceEmbedded):
2889 s/gnome_font_face_download/gpdf_font_face_download/.
2891 * gpdf/configure.in (HAVE_FONT_EMBEDDING): compile with font-embedding
2892 if complete private gnome-print headers are installed.
2894 * gpdf/NEWS: updated.
2896 2003-06-21 Remi Cohen-Scali <remi@cohen-scali.com>
2898 * gpdf/xpdf/gpdf-control.cc (gpdf_control_get_title): Added
2899 URI manipulation stuff for removing file:// for title
2902 * gpdf/shell/gpdf.c (gpdf_window_update_window_title):
2903 Add handling for exception if PB cannot be retrieved.
2904 Also fix a typo about last bonobo_pbclient_get_string_with_default
2907 2003-06-17 Martin Kretzschmar <m_kretzschmar@gmx.net>
2909 * gpdf/xpdf/tests/test-gpdf-control.cc (control_property_title):
2910 * gpdf/xpdf/gpdf-control.cc (gpdf_control_setup_property_bag):
2911 * gpdf/shell/gpdf.c (gpdf_window_update_window_title): plug property
2914 * gpdf/configure.in: fix typo.
2916 2003-06-15 Remi Cohen-Scali <remi@cohen-scali.com>
2918 * gpdf/xpdf/gpdf-view.h:
2919 * gpdf/xpdf/gpdf-view.cc: Add support for history navigation.
2920 (gpdf_free_history_node, gpdf_view_history_stack_page)
2921 (gpdf_view_back_history, gpdf_view_forward_history)
2922 (gpdf_view_is_first_history, gpdf_view_is_last_history): impl.
2923 (gpdf_view_goto_page_no_history): renamed from
2924 gpdf_view_goto_page, made static
2925 (gpdf_view_goto_page): new, history-aware.
2927 * gpdf/xpdf/gpdf-control-ui.xml: Add UI controls for history
2930 * gpdf/xpdf/gpdf-control.cc (gc_page_changed_enable_page_buttons)
2931 (gc_enable_history_forward_verbs, gc_enable_history_back_verbs):
2932 Add update for history controls.
2933 (verb_GoHistoryPrev_cb, verb_GoHistoryNext_cb): Add callbacks and
2934 bonobo verbs for history controls.
2935 (gpdf_control_activate): pretend page change to update commands
2937 (gc_page_changed_enable_page_buttons): handle history buttons.
2939 2003-06-15 Jaka Mocnik <jaka@gnu.org>
2941 * ggv/configure.in: bumped version to 2.3.1; tag GGV_2_3_1; released a
2943 * ggv/src/ggv-window.c: found and released all remaining lost references.
2945 2003-06-14 Jaka Mocnik <jaka@gnu.org>
2947 * ggv/src/ggv-window.c (ggv_window_new): unref the UI container.
2949 2003-06-13 Rajkumar Sivasamy <rajkumar.siva@wipro.com>
2951 * ggv/bonobo/ggv-control-ui.xml:
2952 * ggv/bonobo/ggv-control.c:
2953 * ggv/bonobo/ggv-sidebar.c:
2954 * ggv/bonobo/main.c:
2955 * ggv/src/ggvutils.c:
2956 * ggv/src/ggvutils.h:
2957 * ggv/src/main.c: Register the ggv icons as stock icons, so that the
2958 themes can override them.
2961 2003-06-11 Martin Kretzschmar <m_kretzschmar@gmx.net>
2963 * gpdf/xpdf/GPOutputDev.cc (drawString): don't draw glyphs for
2964 non-printing characters. Fixes #114939.
2966 2003-06-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
2968 * gpdf/shell/gpdf.c (gpdf_window_update_window_title)
2969 (gw_control_load_pdf): set window title according to control's
2972 * gpdf/xpdf/tests/test-pdf-loading.cc: add test for getCurrentFile.
2974 * gpdf/xpdf/tests/test-gpdf-control.cc: add test for title property.
2976 * gpdf/xpdf/gpdf-persist-file.cc
2977 (impl_bonobo_persist_file_getCurrentFile): implement.
2978 (gpdf_persist_file_get_current_uri): implement.
2980 * gpdf/xpdf/gpdf-persist-file.h: declare
2981 gpdf_persist_file_get_current_uri
2983 * gpdf/xpdf/gpdf-control.cc (gc_page_changed_enable_page_buttons): do
2984 nothing unless activated.
2985 (gpdf_control_constructor, gpdf_control_setup_property_bag)
2986 (property_bag_get_prop): add a property bag to the control.
2987 (gpdf_control_get_title, persist_file_set_pdf_cb)
2988 (gpdf_control_destroy, persist_stream_set_pdf_cb): impl. title
2989 property (only an URI ATM).
2993 * gpdf/configure.in: bump version to 0.103.99.
2995 2003-06-06 Martin Kretzschmar <m_kretzschmar@gmx.net>
2997 * gpdf/configure.in: Version 0.103.
2999 * gpdf/NEWS: update.
3001 * gpdf/lib/ggv-sidebar/Makefile.am (libggv_sidebar_a_SOURCES): include
3002 only files that are already needed.
3004 2003-06-03 Martin Kretzschmar <m_kretzschmar@gmx.net>
3006 * gpdf/configure.in: generate lib/ggv-sidebar/Makefile.
3008 * gpdf/lib/Makefile.am (SUBDIRS): add ggv-sidebar.
3010 * gpdf/lib/ggv-sidebar/ggvutils.h, lib/ggv-sidebar/ggv-prefs.h:
3011 everything we need from the ggv files of the same name.
3013 * gpdf/lib/ggv-sidebar/ggvutils.c: plus their implementation.
3015 * gpdf/lib/ggv-sidebar/Makefile.am: add ggvutils.[hc], ggv-prefs.h.
3017 * gpdf/xpdf/Makefile.am: link with ggv-sidebar.
3019 * gpdf/xpdf/gpdf-view.cc: implement GgvDocument interface.
3020 (gpdf_view_get_type): cannot use CLASS_BOILERPLATE with interfaces.
3021 (gpdf_view_get_page_count, gpdf_view_get_page_names)
3022 (gpdf_view_instance_init): for the interface.
3024 * gpdf/xpdf/tests/test-gpdf-view.cc: add tests for GPdfView.
3026 * gpdf/xpdf/tests/.cvsignore: ignore test-gpdf-view.
3028 * gpdf/xpdf/tests/Makefile.am: add new test, link with ggv-sidebar.
3030 2003-06-03 Jaka Mocnik <jaka@gnu.org>
3032 * ggv/src/gtkgs.c (gtk_gs_start_scroll, gtk_gs_end_scroll): optimized:
3033 invalidate 4 tiny rectangles instead of the whole window.
3034 * ggv/src/cursors.c (cursor_get): optimized: create cursor only the first
3037 2003-06-02 Jaka Mocnik <jaka@gnu.org>
3039 * ggv/src/ggv-window.c (set_file_cmds_sensitivity): properly enable
3040 or disable reload and close buttons!
3042 2003-05-30 Jaka Mocnik <jaka@gnu.org>
3044 * ggv/bonobo/ggv-control.c (set_zoom_items_sensitivity): disable zoom spin
3047 2003-05-29 Martin Kretzschmar <m_kretzschmar@gmx.net>
3049 * gpdf/configure.in: define HAVE_FONT_EMBEDDING if gnome-print has the
3050 gnome_font_face_download function
3052 * gpdf/xpdf/GPOutputDev.cc: use HAVE_FONT_EMBEDDING from aconf.h
3054 2003-05-29 Martin Kretzschmar <m_kretzschmar@gmx.net>
3056 * gpdf/xpdf/tests/test-gpdf-control.cc: add tests for GPdfControl
3058 * gpdf/xpdf/tests/Makefile.am, xpdf/tests/.cvsignore: add
3061 * gpdf/xpdf/gpdf-control.cc: use BONOBO_CLASS_BOILERPLATE.
3062 (gpdf_control_new, gpdf_control_construct): kill, use construct
3064 (gpdf_control_class_init): install constructor, properties
3065 persist-stream and persist-file.
3066 (gpdf_control_constructor): constructor impl.
3067 (gpdf_control_setup_page_control, gpdf_control_setup_zoomable)
3068 (gpdf_control_setup_view_widgets): renamed from gc_setup_foo.
3069 (gpdf_control_setup_persist): ditto, connect to PersistFile, too.
3070 (gpdf_control_set_property): impl.
3071 (persist_file_set_pdf_cb): signal callback.
3072 (persist_stream_set_pdf_cb): renamed from gc_set_pdf_cb.
3073 (gpdf_control_pdf_doc_changed): factored out from gc_set_pdf_cb.
3074 (verb_FileProperties_cb): get PDFDoc from priv.
3076 * gpdf/xpdf/gpdf-control.h: kill gpdf_control_new and _construct,
3078 * gpdf/xpdf/bonobo-application-x-pdf.cc (gpdf_factory): also give the
3079 control a PersistFile implementation
3081 * gpdf/xpdf/Makefile.am: moved more code into libgpdf.a.
3083 * gpdf/xpdf/GNOME_PDF.server.in.in: state that we implement
3086 * gpdf/shell/gpdf.c (bonobo_stream_for_uri): kill.
3087 (gw_control_load_pdf): changed to load through PersistFile.
3089 2003-05-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
3091 * gpdf/xpdf/tests/test-pdf-loading.cc: add tests for GPdfPersistFile.
3093 * gpdf/xpdf/gpdf-persist-stream.h: no need to include BonoboStream.h.
3095 * gpdf/xpdf/gpdf-persist-file.h, xpdf/gpdf-persist-file.cc: new class,
3096 implements the PersistFile interface.
3098 * gpdf/xpdf/Makefile.am (libgpdf_a_SOURCES): add gpdf-persist-file.cc,
3099 gpdf-persist-file.h.
3101 * gpdf/xpdf/gpdf-control.cc: reorder includes.
3103 2003-05-26 Jaka Mocnik <jaka@gnu.org>
3105 * ggv/src/ggv-window.c (ggv_window_remove_control): remove timer callback
3107 (ggv_window_close): call ggv_window_remove_control.
3109 2003-05-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
3111 * gpdf/xpdf/gpdf-links-canvas-layer.cc (gnome_canvas_item_new):
3113 * gpdf/xpdf/gpdf-link-canvas-item.cc (gpdf_link_canvas_item_set_link):
3115 * gpdf/xpdf/tests/test-links.cc: refactoring: the LinkItem gets its
3116 directly coordinates from the Link
3118 2003-05-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
3120 * gpdf/xpdf/gpdf-persist-stream.cc:
3121 (impl_bonobo_persist_stream_load)
3122 (impl_bonobo_persist_stream_save, impl_get_content_types)
3123 (gpdf_persist_stream_class_init, gpdf_persist_stream_construct):
3124 implement the PersistStream interface on top of BonoboPersist
3125 instead of the deprecated BonoboPersistStream GObject class.
3126 (gpdf_persist_stream_class_init, gpdf_persist_stream_construct):
3127 changes for BONOBO_CLASS_BOILERPLATE_FULL.
3129 * gpdf/xpdf/gpdf-persist-stream.h: derive directly from BonoboPersist.
3131 * gpdf/xpdf/tests/test-pdf-loading.cc (persist_stream_content_types)
3132 (persist_stream_no_load): test ::getContentTypes and ::save
3133 implementation in GPdfPersistStream.
3135 2003-05-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
3137 * gpdf/xpdf/tests/test-pdf-loading.cc: new test.
3139 * gpdf/xpdf/tests/Makefile.am (TESTS_NEEDING_PDFTEX): add
3142 * gpdf/xpdf/Makefile.am (libgpdf_a_SOURCES): move more files to the lib.
3144 * gpdf/xpdf/gpdf-persist-stream.cc (gpdf_persist_stream_get_length):
3146 (gpdf_persist_stream_delete_doc_and_stream): rename from
3147 delete_pdf_doc_full, simplify.
3148 (load_pdf_from_stream): make priv->pdf_stream local to this method,
3149 kill redundant test for catalog.
3151 * gpdf/xpdf/gpdf-persist-stream.h (gpdf_persist_stream_get_length):
3154 * gpdf/xpdf/gpdf-control.cc (verb_FileProperties_cb): remove file size
3157 * gpdf/xpdf/nautilus-pdf-property-page.cc
3158 (gpdf_nautilus_property_page_set_uri): ditto.
3160 * gpdf/xpdf/pdf-info-dict-util.cc (pdf_doc_process_properties): kill
3161 file size parameter.
3163 * gpdf/xpdf/pdf-info-dict-util.h: ditto.
3165 * gpdf/xpdf/pdf-properties-display.c: kill traces of the file size
3168 2003-05-25 Jaka Mocnik <jaka@gnu.org>
3170 * ggv/README: added some content ;)
3171 * ggv/bonobo/ggv-control.c (ggv_control_key_press_event): explicitly queue
3172 the scrollbar for redraw when doing page wrap.
3173 * ggv/bonobo/ggv-control.c: popup menu on Shift+F10. patch by Padraig
3175 * ggv/src/gtkgs.c: Execute the wait() system call in a loop
3176 so that it doesn't fail with an interrupted signal which
3177 will result in defunct process. fixes #113058. patch by
3179 * ggv/ggv.schemas: improved descriptions. Thanx to menthos for discovering these.
3181 2003-05-24 Jaka Mocnik <jaka@gnu.org>
3183 * ggv/src/gtkgs.[ch] (gtk_gs_set_available_size): new function to set
3184 the visible size that is available to the widget. used to calculate
3185 zoom-to-fit factor in a better manner.
3186 * ggv/bonobo/ggv-control.c: use the above func whenever widget size
3189 2003-05-23 Christian Neumair <chris@gnome-de.org>
3191 * gpdf/shell/gpdf.c: (verb_HelpAbout_cb): Splitted copyright string.
3193 2003-05-20 Martin Kretzschmar <m_kretzschmar@gmx.net>
3195 * gpdf/xpdf/tests/test-links.cc (link_item_click)
3196 (link_item_enter_leave): more tests
3198 * gpdf/xpdf/gpdf-link-canvas-item.cc (gpdf_link_canvas_item_click)
3199 (gpdf_link_canvas_item_enter, gpdf_link_canvas_item_leave)
3200 (gpdf_link_canvas_item_clicked, gpdf_link_canvas_item_event)
3201 (gpdf_link_canvas_item_set_property)
3202 (gpdf_link_canvas_item_class_init): refactor to make it more
3205 * gpdf/xpdf/gpdf-link-canvas-item.h: ditto
3207 2003-05-20 Martin Kretzschmar <m_kretzschmar@gmx.net>
3209 * gpdf/xpdf/gpdf-link-canvas-item.cc
3210 (gpdf_link_canvas_item_mouse_enter)
3211 (gpdf_link_canvas_item_mouse_leave)
3212 (gpdf_link_canvas_item_class_init): add (mouse) enter and leave
3215 * gpdf/xpdf/gpdf-link-canvas-item.h: add signal slots for enter and
3218 * gpdf/xpdf/tests/test-links.cc (link_item_enter_leave): test for the
3221 * gpdf/xpdf/Makefile.am: now the marshallers sources are not shipped
3222 with the dist and correctly build when needed, finally
3224 * gpdf/configure.in: version 0.102.99
3226 2003-05-19 Martin Kretzschmar <m_kretzschmar@gmx.net>
3228 * gpdf/configure.in: Version 0.102
3230 * gpdf/xpdf/Makefile.am: don't do the DONT_DIST_SOURCE thing, breaks
3233 2003-05-19 Martin Kretzschmar <m_kretzschmar@gmx.net>
3235 * gpdf/xpdf/gpdf-view.cc (gpdf_view_render_page): properly destroy the
3236 links layer when switching pages
3238 2003-05-19 Martin Kretzschmar <m_kretzschmar@gmx.net>
3240 * gpdf/xpdf/Makefile.am: don't distribute generated marshallers
3242 2003-05-19 Martin Kretzschmar <m_kretzschmar@gmx.net>
3244 * gpdf/xpdf/gpdf-links-canvas-layer.cc
3245 (gpdf_links_canvas_layer_dispose): plug leak
3247 * gpdf/xpdf/tests/.cvsignore, test-files/.cvsignore: update
3251 2003-05-18 Martin Kretzschmar <m_kretzschmar@gmx.net>
3253 * gpdf/xpdf/tests/test-page-setup.cc, xpdf/tests/test-links.cc:
3256 * gpdf/xpdf/tests/Makefile.am, xpdf/tests/.cvsignore: infrastructure
3258 * gpdf/xpdf/gpdf-view.h: signal slots for close and quit requests
3260 * gpdf/xpdf/gpdf-view.cc (gpdf_view_link_action_named, link_clicked_cb)
3261 (gpdf_view_class_init): implement some named action links:
3262 NextPage, PrevPage, FirstPage, LastPage, signals for Close and Quit
3264 * gpdf/xpdf/Makefile.am (SUBDIRS): add tests
3266 * gpdf/test-files/simple-links.tex: test file, simple pdf links
3268 * gpdf/test-files/.cvsignore, test-files/Makefile.am: infrastructure
3270 * gpdf/configure.in: check for pdftex (not a hard requirement)
3271 add test-files/Makefile and xpdf/tests/Makefile
3275 * gpdf/Makefile.am (SUBDIRS): add test-files
3277 2003-05-18 Martin Kretzschmar <m_kretzschmar@gmx.net>
3279 * gpdf/xpdf/gpdf-view.cc (gpdf_view_motion_notify_event)
3280 (gpdf_view_handle_drag_motion): chain up to parent implementation
3281 of motion-notify, factor out dragging
3282 (gpdf_view_button_press_event): chain up to parent
3283 (gpdf_view_render_page): use GPdfLinksCanvasLayer to draw links
3284 (link_clicked_cb, gpdf_view_link_action_goto): implement simple
3286 (gpdf_view_dispose): unref the links_layer
3288 * gpdf/xpdf/gpdf-persist-stream.cc: store bonoboStream as BaseStream
3290 * gpdf/xpdf/gpdf-marshal.list: add VOID:POINTER
3292 * gpdf/xpdf/gpdf-links-canvas-layer.cc, xpdf/gpdf-links-canvas-layer.h:
3293 new class, links are grouped in such layers
3295 * gpdf/xpdf/gpdf-link-canvas-item.cc, xpdf/gpdf-link-canvas-item.h: new
3296 class, representing links in the GPdfView
3298 * gpdf/xpdf/Makefile.am: move away from $common_sources to convenience
3299 libraries, add gpdf-link-canvas-item.{cc,h},
3300 gpdf-links-canvas-layer.{cc,h}
3302 * gpdf/xpdf/BonoboStream.cc (bfread, bfseek): fix debug messages
3304 2003-05-18 Danilo Šegan <dsegan@gmx.net>
3306 * ggv/configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
3308 2003-05-17 Martin Kretzschmar <m_kretzschmar@gmx.net>
3310 * gpdf/lib/recent-files/egg-recent-model.c: update from egg
3312 * gpdf/lib/recent-files/Makefile.am: fix update target
3314 * gpdf/lib/ggv-sidebar/update-from-ggv.sh: fix
3316 * gpdf/lib/ggv-sidebar/ggv-document.c, lib/ggv-sidebar/ggv-document.h:
3317 new interfaces from GGV
3319 * gpdf/lib/ggv-sidebar: update from ggv
3321 * gpdf/lib/ggv-sidebar/Makefile.am: add ggv-document.[ch], fix update
3322 target, define GNOMEICONDIR
3324 2003-05-15 Jaka Mocnik <jaka@gnu.org>
3326 * ggv/applied a patch from Martin Kretzschmar that decouples GgvSidebar
3327 from GgvPostScriptView via a GgvDocument interface implemented by
3329 * ggv/bonobo/ggv-document.[ch]: new - a GgvDocument interface definition.
3330 * ggv/bonobo/ggv-sidebar.[ch], bonobo/ggv-postscript-view.[ch]: use the
3331 new interface instead of directly using GgvPostScriptView in the
3334 2003-05-13 Martin Kretzschmar <m_kretzschmar@gmx.net>
3336 * gpdf/configure.in: bump version to 0.101.99
3338 * gpdf/xpdf/gpdf-view.cc (setup_page_transform, gpdf_view_render_page):
3339 respect offsets from a page's CropBox/MediaBox (fixes second part
3342 2003-05-10 Martin Kretzschmar <m_kretzschmar@gmx.net>
3344 I'll elaborate a bit on the last change
3346 * ggv/bonobo/ggv-document.h, bonobo/ggv-document.c: new interface with
3347 methods ggv_document_get_page_count and
3348 ggv_document_get_page_names
3350 * ggv/bonobo/ggv-sidebar.c (ggv_sidebar_class_init)
3351 (page_list_selection_changed, ggv_sidebar_create_page_list)
3352 (ggv_sidebar_construct, ggv_sidebar_new): don't depend on
3353 GgvPostScriptView but on the GgvDocument interface; emit a
3354 set_page signal instead of calling ggv_postscript_view_goto_page
3356 * ggv/bonobo/ggv-sidebar.h: ditto
3358 * ggv/bonobo/ggv-postscript-view.h:
3359 (ggv_postscript_view_get_page_count)
3360 (ggv_postscript_view_get_page_names): no longer public
3362 * ggv/bonobo/ggv-postscript-view.c (notify_page_count_change)
3363 (load_ps, ggv_postscript_view_create_ui):
3364 s/ggv_postscript_view_get_page_count/ggv_document_get_page_count/
3365 (ggv_postscript_view_get_type): expand BONOBO_TYPE_FUNC_FULL, add
3366 interface implementation stuff
3367 (ggv_document_interface_init): new, interface foo
3368 (ggv_postscript_view_get_page_count)
3369 (ggv_postscript_view_get_page_names): make static, now they serve
3370 only as implementation of the respective ggv_document:: methods
3371 (ggv_postscript_view_construct, sidebar_set_page): goto_page on
3372 set_page signal from sidebar
3374 * ggv/bonobo/ggv-control.c (ggv_control_create_ui):
3375 s/ggv_postscript_view_get_page_count/ggv_document_get_page_count/
3377 * ggv/bonobo/Makefile.am (ggv_postscript_viewer_SOURCES): add
3378 ggv-document.[ch] to the build
3380 2003-05-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
3382 * gpdf/lib/ggv-sidebar/update-from-ggv.sh,
3383 lib/ggv-sidebar/gtkchecklist.h, lib/ggv-sidebar/gtkchecklist.c,
3384 lib/ggv-sidebar/ggv-sidebar.h, lib/ggv-sidebar/ggv-sidebar.c,
3385 lib/ggv-sidebar/config.h, lib/ggv-sidebar/Makefile.am,
3386 lib/ggv-sidebar/.cvsignore, lib/ggv-sidebar: sidebar code from
3387 ggv, no changes allowed here, is not in the build yet, only
3388 checked in for convenient diffing.
3390 2003-05-09 Christian Neumair <chris@gnome-de.org>
3392 * ggv/ggv.schemas.in: s/postscript/PostScript/.
3394 2003-05-08 Christian Neumair <chris@gnome-de.org>
3396 * ggv/ggv.schemas.in: Fixed two tiny typos.
3398 2003-05-06 Danilo Šegan <dsegan@gmx.net>
3400 * gpdf/configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
3402 2003-05-04 Martin Kretzschmar <m_kretzschmar@gmx.net>
3404 * gpdf/NEWS, configure.in: Version 0.101
3406 2003-05-03 Martin Kretzschmar <m_kretzschmar@gmx.net>
3408 * gpdf/xpdf/gpdf-g-switch.h: add GMutex,
3410 * gpdf/shell/gpdf.c (gpdf_window_new): s/gtk_type_new/g_object_new/,
3411 use construction time properties
3412 (gw_setup_window): kill (replaced by constr. time props)
3413 (gpdf_window_construct): don't call gw_setup_window
3414 (gw_add_control_to_ui, gpdf_window_open): more simplifications due
3416 (gw_activate_control): ditto -> kill
3417 (gw_control_load_pdf, bonobo_stream_for_uri): extract the latter
3419 (gw_setup_local_contents, gw_setup_toplevel_ui)
3420 (gw_setup_recent_menu, gw_setup_recent_toolitem): slot and
3421 ui_component moved to priv
3423 * gpdf/shell/gpdf-window.h (struct _GPdfWindow): move away remaining
3426 2003-05-03 Martin Kretzschmar <m_kretzschmar@gmx.net>
3428 * gpdf/xpdf/pdf-info-dict-util.cc (pdf_info_dict_get_date): don't hand
3429 out invalid times; work around Distiller 3.0 y2k bug.
3431 2003-05-03 Martin Kretzschmar <m_kretzschmar@gmx.net>
3433 * gpdf/xpdf/gpdf-view.cc (gpdf_view_key_press_event): really set
3434 do_scroll when we want to scroll; on PageUp/Down move by whole
3435 pages instead of screenfuls, leave Backspace/Space for that (fixes
3438 2003-05-02 Martin Kretzschmar <m_kretzschmar@gmx.net>
3440 * gpdf/shell/gpdf.c:
3441 (gpdf_window_has_contents, gw_add_control_to_ui)
3442 (gw_control_load_pdf, gw_control_load_pdf, gw_destroy)
3443 (gpdf_window_construct): refactor towards using BonoboWidget
3444 (gw_setup_control_frame): kill
3446 2003-05-02 Martin Kretzschmar <m_kretzschmar@gmx.net>
3448 * gpdf/shell/gpdf.c (gw_control_load_pdf): use a vfs: moniker; check
3451 2003-05-01 Martin Kretzschmar <m_kretzschmar@gmx.net>
3453 * gpdf/shell/gpdf.c (gw_control_load_pdf): don't free uri
3455 2003-05-01 Martin Kretzschmar <m_kretzschmar@gmx.net>
3457 * gpdf/shell/tests/test-uri-input.c (setup, tear_down): extract uri
3458 request logging foo from tests
3459 (open_shell_arg, open_shell_arg_relative): new tests
3461 * gpdf/shell/gpdf.c (create_window): use ::open_shell_arg
3462 (gw_control_load_pdf): only accept uris
3463 (gw_ask_for_uri, gw_ask_for_uri, gw_open_dialog):
3464 variable/function renamings
3466 * gpdf/shell/gpdf-uri-input.h (gpdf_uri_input_open_shell_arg): add
3469 * gpdf/shell/gpdf-uri-input.c (gpdf_uri_input_open_shell_arg): new
3472 * gpdf/shell/eel-string.c, shell/eel-string.h,
3473 shell/eel-vfs-extensions.c, shell/eel-vfs-extensions.h: frome eel
3475 * gpdf/shell/Makefile.am (libgpdfshell_a_SOURCES): add eel-string and
3478 2003-05-01 Martin Kretzschmar <m_kretzschmar@gmx.net>
3480 * gpdf/xpdf/pdf-info-dict-util.cc (pdf_info_dict_get_string): kill
3483 * gpdf/xpdf/gpdf-view.cc (gpdf_view_construct): kill unused variables
3485 * gpdf/xpdf/gpdf-control.cc (gc_zoom_to_fit_width_cb): kill (unused)
3486 (gc_ui_set_pixbufs): kill unused variables
3488 * gpdf/shell/tests/test-uri-input.c: include headers for exit, strcmp
3490 * gpdf/lib/recent-files/Makefile.am (INCLUDES): fix distcheck
3492 * gpdf/gpdf.desktop.in (Icon): use the icon for pdf documents until we
3493 have a nice gpdf icon
3495 * gpdf/NEWS: more antinews
3497 * gpdf/Makefile.am (CLEANFILES): more cleaning
3499 2003-04-30 Martin Kretzschmar <m_kretzschmar@gmx.net>
3501 * gpdf/shell/gpdf-recent-view-toolitem.c: add tooltip to recent files
3504 2003-04-30 Jaka Mocnik <jaka@gnu.org>
3506 * ggv/src/ggv-prefs-ui.[ch] (struct _GgvPrefsDialog): removed ok, cancel
3507 and apply members and all code related to them!
3509 2003-04-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
3511 * gpdf/shell/gpdf.c (menu_position_under_widget)
3512 (open_button_pressed_cb, open_button_key_pressed_cb)
3513 (gw_setup_recent_tool_item, gw_setup_recent_toolitem): factored
3514 out the toolitem with the recent files list
3516 * gpdf/shell/gpdf-recent-view-toolitem.c,
3517 shell/gpdf-recent-view-toolitem.h: new class: button with dropdown
3518 menu of recent files
3520 * gpdf/shell/Makefile.am (libgpdfshell_a_SOURCES): compile
3521 gpdf-recent-view-toolitem.c
3523 2003-04-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
3525 Gotta love compiler warnings.
3527 * gpdf/xpdf/pdf-properties-display.c (gpdf_gtk_label_make_bold): make static
3528 (gpdf_properties_display_class_init): install dispose implementation
3530 * gpdf/xpdf/pdf-info-dict-util.cc (pdf_doc_process_properties): format
3531 file size with %ld, not %d
3533 * gpdf/xpdf/page-control.c: #include stdlib.h for strtol
3535 * gpdf/xpdf/gpdf-view.cc (canonical_multiple_of_90): return statement
3536 was missing, I wonder why it worked
3537 (gpdf_view_key_press_event): silence warning
3538 (gpdf_view_key_press_event): ditto
3540 * gpdf/xpdf/GPOutputDev.cc (initBase14Fonts): use guint as array index
3542 * gpdf/xpdf/BonoboStream.cc (bfseek): silence warning
3544 * gpdf/shell/gpdf.c (open_request_logger): don't define if not debugging
3546 * gpdf/shell/gpdf-uri-input.h: add missing prototypes
3548 * gpdf/shell/gpdf-uri-input.c (gpdf_uri_input_open_uri_list): add
3551 * gpdf/xpdf/Makefile.am, shell/Makefile.am, configure.in: use maximum
3554 2003-04-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
3556 * gpdf/NEWS: updated.
3558 * gpdf/shell/gpdf.c (gpdf_window_construct, gw_setup_recent_tool_item)
3559 (open_button_key_pressed_cb, open_button_pressed_cb)
3560 (menu_position_under_widget): implement recent files drop-down
3561 tool item (taken from gedit)
3562 (verb_HelpAbout_cb): updated (c)
3563 (gw_setup_recent_menu): renamed from gw_setup_recent_files_ui
3565 * gpdf/shell/gpdf-window-ui.xml: added recent files drop-down control
3567 * gpdf/shell/gpdf-recent-facade.c (gpdf_recent_facade_get_model): added
3570 2003-04-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
3572 * gpdf/NEWS: added news and anti-news.
3574 * gpdf/xpdf/gpdf-view.cc (gpdf_view_render_page): honor Rotate info
3575 of the page object. Don't set page layout in print config object,
3576 we handle the page format with calls to the canvas.
3577 (setup_page_transform): renamed from setup_upside_down_transform,
3578 take rotation angle argument.
3579 (canonical_multiple_of_90): new function.
3581 2003-04-24 Abel Cheung <maddog@linux.org.hk>
3583 * ggv/src/ggv-window.c(verb_HelpAbout): Add documenter credits, and
3584 mark more translatable strings.
3585 * ggv/Makefile.am, configure.in, ggv.schemas.in: Make schemas
3586 translatable. Don't shutdown gconfd when installing schemas.
3588 2003-04-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
3590 * gpdf/xpdf/Makefile.am (CLEANFILES): rm GNOME_PDF.server.in on clean,
3591 not on distclean (fixes Bug #111404)
3593 2003-04-23 Jaka Mocnik <jaka@gnu.org>
3595 * ggv/src/ggv-prefs-ui.c: added a prefs entry for PDF->DSC command.
3596 * ggv/src/gtkgs.c (gtk_gs_get_postscript): convert PDF to PS before
3598 * ggv/src/gsdefaults.[ch], ggv.schemas: added property pdf2dsc that
3599 stores PDF->DSC conversion command.
3600 * ggv/src/gtkgs.c (check_pdf): reverted to the old way of handling PDFs:
3601 create a DSC file and use the original PDF to show it.
3603 2003-04-19 Hasbullah Bin Pit <sebol@ikhlas.com>
3605 * gpdf/configure.in (ALL_LINGUAS): Added "ms".
3607 2003-04-15 Mike Lei <mike.lei>
3609 * ggv/configure.in: Added Makefile support for l10n help files
3610 * ggv/Add online help files for de es fr it sv ja ko zh_CN zh_TW
3612 2003-04-14 Martin Kretzschmar <m_kretzschmar@gmx.net>
3614 * gpdf/shell/gpdf.c (main, gw_open_recent_file, gw_destroy)
3615 (gw_setup_recent_files_ui, gpdf_window_construct): implement
3616 recent files menu items
3618 * gpdf/shell/gpdf-window-ui.xml: add placeholder for recent files menu
3621 * gpdf/shell/gpdf-recent-facade.h (gpdf_recent_facade_get_model): add
3622 prototype, slot for virtual
3624 * gpdf/shell/gpdf-recent-facade.c (gpdf_recent_facade_get_model): new
3625 (gpdf_recent_facade_instance_init): set limit to list of recent
3628 2003-04-13 Martin Kretzschmar <m_kretzschmar@gmx.net>
3630 * gpdf/shell/gpdf.c (no_contents, find_empty_or_create_new_window)
3631 (open_request_handler, open_request_logger): new functions
3632 (create_window, main, gw_control_load_pdf, gw_drag_data_received)
3633 (gw_open_dialog): use GPdfUriInput
3634 (gpdf_window_has_contents): rename from gw_has_contents, no longer
3636 (gpdf_window_open): s/gw_has_contents/gpdf_window_has_contents/
3638 * gpdf/shell/gpdf-window.h: add prototype for gpdf_window_has_contents
3640 * gpdf/shell/gpdf-recent-facade.h, shell/gpdf-recent-facade.c,
3641 shell/mock-recent-facade.c: new class, plus a mock of it
3643 * gpdf/shell/gpdf-uri-input.h, shell/gpdf-uri-input.c: new class
3645 * gpdf/shell/tests/test-uri-input.c, shell/tests/Makefile.am: unit
3646 tests for gpdf-uri-input
3648 * gpdf/shell/Makefile.am: add new files, compile them into a
3649 convenience library for testing, link gpdf with that lib and with
3652 * gpdf/lib/recent-files: copy of egg recent files stuff
3654 * gpdf/lib, lib/unit-test.h, lib/Makefile.am, lib/.cvsignore: new
3656 * gpdf/xpdf/GPOutputDev.cc (getFontFaceEmbedded): fix bad C++, detected
3657 by Sun compilers. Thanks to Rich Burridge / Sun (Bug: #110402)
3659 * gpdf/xpdf/gpdf-view.cc (gpdf_view_button_press_event): ditto
3661 * gpdf/xpdf/gpdf-util.h (GPDF_BOILERPLATE): kill, identical with
3662 BONOBO_BOILERPLATE since libbonobo 2.2.1
3664 * gpdf/xpdf/nautilus-pdf-property-page.cc (BONOBO_ARG_GET_STRING):
3667 * gpdf/configure.in: bumped version to 0.100.99, require libbonobo 2.2.1
3668 generate Makefiles in lib, lib/recent-files, shell/tests
3670 * gpdf/Makefile.am (SUBDIRS): add lib dir
3672 * gpdf/.cvsignore: ignore release tarballs
3674 2003-04-08 Michael Meeks <michael@ximian.com>
3676 * gpdf/Version 0.100.0
3678 2003-04-07 Jaka Mocnik <jaka@gnu.org>
3680 * ggv/bonobo/ggv-control.c (ggv_control_key_press_event): don't wrap on
3681 arrow keys - only on space and backspace!
3682 * ggv/src/main.c (create_windows_from_cmdline): fix differentiation
3683 of URIs and local file paths.
3684 * ggv/src/gtkgs.c (gtk_gs_size_allocate): always update adjustments.
3685 (gtk_gs_munge_adjustments): if we zoom mode is fit (width|page)
3686 set corresponding adjustments properly.
3688 2003-04-06 Jaka Mocnik <jaka@gnu.org>
3690 * ggv/merged from gnome-2-2 branch - the instant-apply patch.
3691 * src/main.c (main): save geometry upon exit.
3692 * src/ggv-prefs-ui.c: made prefs dialog instant apply.
3693 * src/ggv-prefs.[ch] (ggv_prefs_save): removed.
3694 * src/gsdefaults.[ch] (gtk_gs_defaults_save): removed. moved gconf
3695 operation to gtk_gs_defaults_set_*() functions.
3696 * bonobo/ggv-postscript-view.c (verb_FileSaveMarked): warn even when
3697 overwriting an empty file.
3699 2003-04-05 Samúel Jón Gunnarsson <sammi@techattack.nu>
3701 * gpdf/configure.in: Added "is" in ALL_LINGUAS
3703 2003-04-03 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
3705 * gpdf/xpdf/Makefile.am (ui_DATA): no need for
3706 bonobo-application-x-pdf-ui.xml.
3708 2003-04-03 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
3710 * gpdf/xpdf/GPOutputDev.cc (getFontFaceEmbedded): use
3713 * gpdf/xpdf/page-control.c (gpdf_page_control_setup_tooltips): fix
3715 (gpdf_page_control_setup_tooltips): ref the tooltips object
3717 * gpdf/xpdf/gpdf-properties-dialog.glade, xpdf/pdf-properties-display.c
3718 (gpdf_properties_display_set_property): disable file size label.
3720 2003-04-03 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
3722 * gpdf/xpdf/page-control.c (gpdf_page_control_instance_init)
3723 (gpdf_page_control_setup_tooltips, gpdf_page_control_class_init)
3724 (gpdf_page_control_destroy): add tooltips to the widget
3726 * gpdf/xpdf/pdf-info-dict-util.cc: there are PDFs without
3727 info-dictionary (e.g. OpenOffice.org's), don't crash on them
3729 * gpdf/Makefile.am (EXTRA_DIST): distribute gpdf.applications
3731 2003-04-02 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
3733 * gpdf/gpdf.applications: add
3735 * gpdf/Makefile.am install gpdf.applications
3737 * gpdf/gpdf.keys.in: update.
3739 * gpdf/goo/Makefile.am, shell/Makefile.am, xpdf/Makefile.am: add
3740 top_srcdir to include path for aconf2.h.
3742 * gpdf/goo/Makefile.am, xpdf/Makefile.am: rename libgoo.a to libGoo.a
3743 for consistency with Xpdf, don't install this library;
3744 makefile.w32 is no more.
3746 * gpdf/README: added note that this does not describe the GNOME version.
3748 * gpdf/Makefile.am: don't distribute README.CVS, ANNOUNCE,
3749 makefile.w32, distribute aconf2.h.
3751 * gpdf/CHANGES: added reference to ChangeLog and NEWS.
3753 * gpdf/AUTHORS, NEWS: updated.
3755 * gpdf/configure.in: add bugzilla url to AC_INIT.
3757 * gpdf/xpdf/gpdf-view.cc, xpdf/gpdf-persist-stream.cc,
3758 xpdf/gpdf-control.cc, xpdf/GPOutputDev.cc: consistently wrap debug
3761 2003-04-02 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
3763 * gpdf/configure.in: added tests from Xpdf's configure.in
3765 * gpdf/CHANGES: added note that this describes only Xpdf upstream
3768 2003-04-01 Martin Kretzschmar <m_kretzschmar@gmx.net>
3770 Merge with Xpdf 2.01 and make it build
3772 * gpdf/ANNOUNCE, CHANGES, README, aconf-win32.h: update
3774 * gpdf/xpdf/CharCodeToUnicode.cc, xpdf/Decrypt.cc, xpdf/FTFont.cc,
3775 xpdf/FTFont.h, xpdf/FontEncodingTables.cc, xpdf/Gfx.cc,
3776 xpdf/GfxFont.cc, xpdf/GfxState.cc, xpdf/GfxState.h,
3777 xpdf/GlobalParams.cc, xpdf/GlobalParams.h, xpdf/Link.cc,
3778 xpdf/NameToUnicodeTable.h, xpdf/Stream.cc, xpdf/TextOutputDev.cc,
3779 xpdf/TextOutputDev.h, xpdf/XOutputDev.cc, xpdf/config.h,
3780 xpdf/pdftotext.cc, xpdf/xpdf.cc, xpdf/Outline.cc, xpdf/XPDFApp.cc,
3781 xpdf/XPDFApp.h, xpdf/XPDFCore.cc, xpdf/XPDFCore.h,
3782 xpdf/XPDFViewer.cc, xpdf/XPDFViewer.h: update.
3784 * gpdf/goo/GMutex.h: new file
3786 * gpdf/goo/gfile.cc: update.
3788 * gpdf/goo/Makefile.am: use GMutex.h
3790 * gpdf/doc/pdffonts.1, doc/pdffonts.cat, doc/pdfimages.1,
3791 doc/pdfimages.cat, doc/pdfinfo.1, doc/pdfinfo.cat, doc/pdftopbm.1,
3792 doc/pdftopbm.cat, doc/pdftops.1, doc/pdftops.cat, doc/pdftotext.1,
3793 doc/pdftotext.cat, doc/pdftotext.hlp, doc/xpdf.1, doc/xpdf.cat,
3794 doc/xpdf.hlp, doc/xpdfrc.5, doc/xpdfrc.cat, doc/xpdfrc.hlp: update
3796 2003-04-01 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
3798 Merge with Xpdf 2.02 and make it build
3800 * gpdf/aconf2.h, aconf-dj.h, aconf-win32.h, ANNOUNCE, CHANGES, README,
3801 vms_make.com: update.
3803 * gpdf/xpdf/about-text.h, xpdf/Annot.cc, xpdf/Annot.h, xpdf/Array.cc,
3804 xpdf/Array.h, xpdf/BuiltinFont.cc, xpdf/BuiltinFont.h,
3805 xpdf/BuiltinFontTables.cc, xpdf/BuiltinFontTables.h,
3806 xpdf/Catalog.cc, xpdf/Catalog.h, xpdf/CharCodeToUnicode.cc,
3807 xpdf/CharCodeToUnicode.h, xpdf/CharTypes.h, xpdf/CMap.cc,
3808 xpdf/CMap.h, xpdf/CompactFontTables.h, xpdf/config.h,
3809 xpdf/Decrypt.cc, xpdf/Decrypt.h, xpdf/Dict.cc, xpdf/Dict.h,
3810 xpdf/DisplayFontTable.h, xpdf/Error.cc, xpdf/ErrorCodes.h,
3811 xpdf/Error.h, xpdf/FontEncodingTables.cc,
3812 xpdf/FontEncodingTables.h, xpdf/FontFile.cc, xpdf/FontFile.h,
3813 xpdf/FTFont.cc, xpdf/FTFont.h, xpdf/Function.cc, xpdf/Function.h,
3814 xpdf/Gfx.cc, xpdf/GfxFont.cc, xpdf/GfxFont.h, xpdf/Gfx.h,
3815 xpdf/GfxState.cc, xpdf/GfxState.h, xpdf/GlobalParams.cc,
3816 xpdf/GlobalParams.h, xpdf/ImageOutputDev.cc,
3817 xpdf/ImageOutputDev.h, xpdf/JBIG2Stream.cc, xpdf/JBIG2Stream.h,
3818 xpdf/Lexer.cc, xpdf/Lexer.h, xpdf/Link.cc, xpdf/Link.h,
3819 xpdf/NameToCharCode.cc, xpdf/NameToCharCode.h,
3820 xpdf/NameToUnicodeTable.h, xpdf/Object.cc, xpdf/Object.h,
3821 xpdf/Outline.cc, xpdf/Outline.h, xpdf/OutputDev.cc,
3822 xpdf/OutputDev.h, xpdf/Page.cc, xpdf/Page.h, xpdf/Parser.cc,
3823 xpdf/Parser.h, xpdf/PBMOutputDev.cc, xpdf/PBMOutputDev.h,
3824 xpdf/PDFDoc.cc, xpdf/PDFDocEncoding.cc, xpdf/PDFDocEncoding.h,
3825 xpdf/PDFDoc.h, xpdf/pdffonts.cc, xpdf/pdfimages.cc,
3826 xpdf/pdfinfo.cc, xpdf/pdftopbm.cc, xpdf/pdftops.cc,
3827 xpdf/pdftotext.cc, xpdf/PSOutputDev.cc, xpdf/PSOutputDev.h,
3828 xpdf/PSTokenizer.cc, xpdf/PSTokenizer.h, xpdf/SFont.cc,
3829 xpdf/SFont.h, xpdf/Stream.cc, xpdf/Stream-CCITT.h, xpdf/Stream.h,
3830 xpdf/T1Font.cc, xpdf/T1Font.h, xpdf/TextOutputDev.cc,
3831 xpdf/TextOutputDev.h, xpdf/TTFont.cc, xpdf/TTFont.h,
3832 xpdf/UnicodeMap.cc, xpdf/UnicodeMap.h, xpdf/UnicodeMapTables.h,
3833 xpdf/UTF8.h, xpdf/vms_make.com, xpdf/XOutputDev.cc,
3834 xpdf/XOutputDev.h, xpdf/XPDFApp.cc, xpdf/XPDFApp.h, xpdf/xpdf.cc,
3835 xpdf/XPDFCore.cc, xpdf/XPDFCore.h, xpdf/XPDFTree.cc,
3836 xpdf/XPDFTree.h, xpdf/XPDFTreeP.h, xpdf/XPDFViewer.cc,
3837 xpdf/XPDFViewer.h, xpdf/XPixmapOutputDev.cc,
3838 xpdf/XPixmapOutputDev.h, xpdf/XRef.cc, xpdf/XRef.h: update
3840 * gpdf/goo/gfile.cc, goo/gfile.h, goo/GHash.cc, goo/GHash.h,
3841 goo/GList.cc, goo/GList.h, goo/gmem.c, goo/gmem.h, goo/gmempp.cc,
3842 goo/GMutex.h, goo/GString.cc, goo/GString.h, goo/gtypes.h,
3843 goo/parseargs.c, goo/parseargs.h, goo/vms_make.com: update.
3845 * gpdf/doc/pdffonts.1, doc/pdffonts.cat, doc/pdffonts.hlp,
3846 doc/pdfimages.1, doc/pdfimages.cat, doc/pdfimages.hlp,
3847 doc/pdfinfo.1, doc/pdfinfo.cat, doc/pdfinfo.hlp, doc/pdftopbm.1,
3848 doc/pdftopbm.cat, doc/pdftopbm.hlp, doc/pdftops.1,
3849 doc/pdftops.cat, doc/pdftops.hlp, doc/pdftotext.1,
3850 doc/pdftotext.cat, doc/pdftotext.hlp, doc/xpdf.1, doc/xpdf.cat,
3851 doc/xpdf.hlp, doc/xpdfrc.5, doc/xpdfrc.cat, doc/xpdfrc.hlp:
3854 2003-03-31 Martin Kretzschmar <m_kretzschmar@gmx.net>
3856 Merge with Xpdf 2.00 and make it build
3858 * gpdf/xpdf/Makefile.am: kill traces of ltk, incorporate new sources
3860 * gpdf/Makefile.am, configure.in: don't build the ltk subdir
3862 * gpdf/ANNOUNCE, CHANGES, ChangeLog, README, aconf-dj.h, aconf-win32.h,
3863 dj_make.bat, ms_make.bat, vms_make.com: update
3865 * gpdf/xpdf/LTKOutputDev.cc, xpdf/LTKOutputDev.h, xpdf/postscript.xbm,
3866 xpdf/xpdf-flip.ltk, xpdf/xpdf-ltk.h, xpdf/xpdf-top.ltk,
3867 xpdf/xpdf.ltk: remove.
3869 * gpdf/xpdf/Annot.cc, xpdf/Annot.h, xpdf/Array.cc, xpdf/Array.h,
3870 xpdf/BuiltinFont.cc, xpdf/BuiltinFont.h,
3871 xpdf/BuiltinFontTables.cc, xpdf/CMap.cc, xpdf/CMap.h,
3872 xpdf/Catalog.cc, xpdf/Catalog.h, xpdf/CharCodeToUnicode.cc,
3873 xpdf/CharCodeToUnicode.h, xpdf/Decrypt.cc, xpdf/Decrypt.h,
3874 xpdf/Dict.cc, xpdf/Dict.h, xpdf/Error.cc, xpdf/Error.h,
3875 xpdf/FTFont.cc, xpdf/FTFont.h, xpdf/FontFile.cc, xpdf/FontFile.h,
3876 xpdf/Function.cc, xpdf/Function.h, xpdf/Gfx.cc, xpdf/Gfx.h,
3877 xpdf/GfxFont.cc, xpdf/GfxFont.h, xpdf/GfxState.cc,
3878 xpdf/GfxState.h, xpdf/GlobalParams.cc, xpdf/GlobalParams.h,
3879 xpdf/ImageOutputDev.cc, xpdf/ImageOutputDev.h, xpdf/Lexer.cc,
3880 xpdf/Lexer.h, xpdf/Link.cc, xpdf/Link.h, xpdf/NameToCharCode.cc,
3881 xpdf/NameToCharCode.h, xpdf/NameToUnicodeTable.h, xpdf/Object.cc,
3882 xpdf/Object.h, xpdf/OutputDev.cc, xpdf/OutputDev.h,
3883 xpdf/PBMOutputDev.cc, xpdf/PBMOutputDev.h, xpdf/PDFDoc.cc,
3884 xpdf/PDFDoc.h, xpdf/PSOutputDev.cc, xpdf/PSOutputDev.h,
3885 xpdf/PSTokenizer.cc, xpdf/PSTokenizer.h, xpdf/Page.cc,
3886 xpdf/Page.h, xpdf/Parser.cc, xpdf/Parser.h, xpdf/SFont.cc,
3887 xpdf/SFont.h, xpdf/Stream.cc, xpdf/Stream.h, xpdf/T1Font.cc,
3888 xpdf/T1Font.h, xpdf/TTFont.cc, xpdf/TTFont.h,
3889 xpdf/TextOutputDev.cc, xpdf/TextOutputDev.h, xpdf/UnicodeMap.cc,
3890 xpdf/UnicodeMap.h, xpdf/XOutputDev.cc, xpdf/XOutputDev.h,
3891 xpdf/XRef.cc, xpdf/XRef.h, xpdf/config.h, xpdf/pdffonts.cc,
3892 xpdf/pdfimages.cc, xpdf/pdfinfo.cc, xpdf/pdftopbm.cc,
3893 xpdf/pdftops.cc, xpdf/pdftotext.cc, xpdf/vms_make.com,
3894 xpdf/xpdf.cc: update.
3896 * gpdf/goo/GHash.cc, goo/GHash.h, goo/GList.cc, goo/GList.h,
3897 goo/GString.cc, goo/GString.h: mostly Mac OS X gcc fixage.
3899 * gpdf/doc/pdffonts.1, doc/pdffonts.cat, doc/pdffonts.hlp,
3900 doc/pdfimages.1, doc/pdfimages.cat, doc/pdfimages.hlp,
3901 doc/pdfinfo.1, doc/pdfinfo.cat, doc/pdfinfo.hlp, doc/pdftopbm.1,
3902 doc/pdftopbm.cat, doc/pdftopbm.hlp, doc/pdftops.1,
3903 doc/pdftops.cat, doc/pdftops.hlp, doc/pdftotext.1,
3904 doc/pdftotext.cat, doc/pdftotext.hlp, doc/xpdf.1, doc/xpdf.cat,
3905 doc/xpdf.hlp, doc/xpdfrc.5, doc/xpdfrc.cat, doc/xpdfrc.hlp:
3908 * gpdf/ltk: remove this directory, Xpdf has switched to Lesstif.
3910 * gpdf/aconf2.h, xpdf/JBIG2Stream.cc, xpdf/JBIG2Stream.h,
3911 xpdf/Outline.cc, xpdf/Outline.h, xpdf/PDFDocEncoding.cc,
3912 xpdf/PDFDocEncoding.h, xpdf/XPDFApp.cc, xpdf/XPDFApp.h,
3913 xpdf/XPDFCore.cc, xpdf/XPDFCore.h, xpdf/XPDFTree.cc,
3914 xpdf/XPDFTree.h, xpdf/XPDFTreeP.h, xpdf/XPDFViewer.cc,
3915 xpdf/XPDFViewer.h, xpdf/XPixmapOutputDev.cc,
3916 xpdf/XPixmapOutputDev.h, xpdf/about-text.h, xpdf/backArrowDis.xbm,
3917 xpdf/dblLeftArrowDis.xbm, xpdf/dblRightArrowDis.xbm,
3918 xpdf/findDis.xbm, xpdf/forwardArrowDis.xbm, xpdf/leftArrowDis.xbm,
3919 xpdf/print.xbm, xpdf/printDis.xbm, xpdf/rightArrowDis.xbm: new
3922 2003-03-31 Martin Kretzschmar <m_kretzschmar@gmx.net>
3924 * gpdf/xpdf/zoomOut.xbm, xpdf/zoomIn.xbm, xpdf/makefile.w32,
3925 xpdf/Makefile.in, goo/makefile.w32, makefile.w32: remove, they are
3926 neither in Xpdf 1.01 nor necessary for GPdf
3928 2003-03-13 Christian Rose <menthos@menthos.com>
3930 * ggv/configure.in: Added "ml" to ALL_LINGUAS.
3932 2003-03-11 Paul Duffy <dubhthach@frink.nuigalway.ie>
3934 * gpdf/configure.in: Added Irish (ga) to ALL_LINGUAS
3936 2003-03-07 Irene Ryan <irene.ryan@sun.com>
3938 * ggv/help/C/ggv.xml, ggv-C.omf: updated the help to reflect changes in
3939 V1.99.98 of the application
3940 * ggv/help/C/l10n.txt: added to the instructions for L10N teams translating
3942 * ggv/help/C/figures/ggv_window.png: updated screenshot of the application
3945 2003-03-04 Martin Kretzschmar <m_kretzschmar@gmx.net>
3947 * gpdf/xpdf/GPOutputDev.cc: undo accidental commit (thanks for telling
3950 2003-03-04 Jaka Mocnik <jaka@gnu.org>
3952 * ggv/src/gsdefaults.c (gtk_gs_defaults_changed): fixed a typo:
3954 * ggv/src/gtkgs.c (set_up_page): use HAVE_LOCALE_H instead of
3957 2003-03-03 Martin Kretzschmar <m_kretzschmar@gmx.net>
3959 * gpdf/xpdf/gpdf-control.cc, xpdf/nautilus-pdf-property-page.cc:
3960 extract common pdf properties code:
3962 * gpdf/xpdf/pdf-info-dict-util.cc, xpdf/pdf-info-dict-util.h: the
3965 * gpdf/xpdf/Makefile.am: compile pdf-info-dict-util.{cc,h}.
3967 * gpdf/xpdf/gpdf-control.cc (verb_FileProperties_cb): make the dialog
3968 transient for the control's parent.
3970 2003-03-03 Martin Kretzschmar <m_kretzschmar@gmx.net>
3972 * gpdf/xpdf/nautilus-pdf-property-page.cc
3973 (gpdf_nautilus_property_page_set_uri): plug leaks
3975 2003-03-02 Martin Kretzschmar <m_kretzschmar@gmx.net>
3977 * gpdf/xpdf/nautilus-pdf-property-page.cc,
3978 xpdf/nautilus-pdf-property-page.h: new class, just what the name
3979 says, uses GnomeVFSStream for loading PDFDocs.
3981 * gpdf/xpdf/GnomeVFSStream.cc, xpdf/GnomeVFSStream.h: BaseStream
3982 implementation based on (synchronous) gnome-vfs calls.
3984 * gpdf/xpdf/BonoboStream.cc, xpdf/BonoboStream.h: coding style fixage,
3985 include only what's needed.
3987 * gpdf/xpdf/Makefile.am (gnome_pdf_viewer_SOURCES): also compile
3988 GnomeVFSStream.{cc,h}, nautilus-pdf-property-page.{cc,h}
3990 * gpdf/xpdf/GNOME_PDF.server.in.in: add stanza for the Property Page.
3992 * gpdf/xpdf/bonobo-application-x-pdf.cc: clean up a bit
3993 (gpdf_factory): now we produce the Property Page, too.
3995 * gpdf/xpdf/gpdf-control.cc: include time.h for strftime, mktime.
3997 2003-03-01 Martin Kretzschmar <m_kretzschmar@gmx.net>
3999 I've run intltool-prepare to make the desktop file translatable
4001 * gpdf/gpdf.desktop.in: added
4003 * gpdf/gpdf.desktop: removed
4005 * gpdf/Makefile.am: make gpdf.desktop from gpdf.desktop.in
4007 * gpdf/.cvsignore: ignore gpdf.desktop
4009 2003-02-28 Kaushal Kumar <kaushal.kumar@wipro.com>
4011 * ggv/src/ggv-file-sel.c (ggv_file_sel_ok_clicked): Click on 'OK' should
4012 not close File Open dialog if selection field is blank/null.
4015 2003-02-27 Jaka Mocnik <jaka@gnu.org>
4017 * ggv/bonobo/ggv-control.c: disable zoom items when auto fit mode is
4020 2003-02-26 Ross Burton <ross@burtonini.com>
4022 * gpdf/gpdf.desktop: Fix so that it validates.
4024 * gpdf/Makefile.am: Install the .desktop file into the correct
4025 folder. Also remove intltool-*, which are generated.
4027 2003-02-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
4029 * gpdf/xpdf/pdf-properties-display.c
4030 (gpdf_properties_display_setup_glade): get glade file from its
4031 installed location. Martin, repeat after me: I Will Test The
4034 * gpdf/xpdf/Makefile.am: Added the Glade file to the dist. (Originally
4037 2003-02-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4039 * gpdf/xpdf/pdf-properties-display.c, xpdf/pdf-properties-display.h,
4040 xpdf/gpdf-properties-dialog.glade:
4041 new widget: table with labels displaying properties of PDFs
4043 * gpdf/xpdf/gpdf-control.cc (has_unicode_marker)
4044 (utf16_big_endian_to_utf8, info_dict_get_string)
4045 (info_dict_get_date, gpdf_control_process_string_property)
4046 (gpdf_control_process_date_property)
4047 (gpdf_control_process_properties)
4048 (gpdf_control_properties_dialog_response_cb)
4049 (verb_FileProperties_cb): new: a PDF properties command
4051 * gpdf/xpdf/Makefile.am: build pdf-properties-display.[ch], install
4054 * gpdf/xpdf/.cvsignore: ignore gpdf-properties-dialog.gladep
4056 * gpdf/xpdf/gpdf-persist-stream.h, xpdf/gpdf-persist-stream.cc
4057 (gpdf_persist_stream_get_length): new function
4059 * gpdf/xpdf/gpdf-control-ui.xml: add FileProperties command and menu
4060 item inside a "File Items Placeholder"
4062 * gpdf/shell/gpdf-window-ui.xml: add "File Items Placeholder"
4064 * gpdf/configure.in: check for libglade-2.0
4066 * gpdf/Makefile.am (EXTRA_DIST): don't dist gpdf.mime
4068 * gpdf/xpdf/PDFDoc.cc, xpdf/Function.cc, xpdf/FontFile.cc,
4069 goo/parseargs.c: call atof only in the "C" locale
4071 2003-02-21 Roozbeh Pournader <roozbeh@sharif.edu>
4073 * ggv/configure.in: Added "fa" to ALL_LINGUAS.
4075 2003-02-21 Paisa Seeluangsawat <paisa@colorado.edu>
4077 * ggv/configure.in (ALL_LINGUAS): Added "th".
4079 2003-02-21 Jaka Mocnik <jaka@gnu.org>
4081 * ggv/src/ggv-window.c (ggv_window_remove_control): remove control
4082 from the control frame.
4083 (ggv_window_load): resolve the loaded uri to a desired bonobo
4084 object. this allows for easy integration of gpdf viewer in the
4086 (ggv_window_new): don't create control here. just reserve a place
4089 2003-02-20 Naba Kumar <naba@gnome.org>
4091 * ggv/configure.in, po/hi.po: Added new Hindi translation from
4092 Gnome Hindi Team <indlinux-hindi-gnome@lists.sourceforge.net>
4093 and added hi to ALL_LINGUAS.
4095 2003-02-20 Martin Kretzschmar <m_kretzschmar@gmx.net>
4097 * gpdf/xpdf/GfxState.cc: Applied a patch to fix buffer overflow (CVE:
4098 CAN-2002-1384, Redhat: RHSA-2003:037-09, Debian: DSA-222)
4101 2003-02-20 Dmitry G. Mastrukov <dmitry@taurussoft.org>
4103 * gpdf/configure.in: Added Belarusian to ALL_LINGUAS.
4105 2003-02-18 Martin Kretzschmar <m_kretzschmar@gmx.net>
4107 * gpdf/configure.in: remove GNOME2_X_CHECKS check (currently unused,
4108 will be removed from gnome-common)
4110 2003-02-16 Mohammad DAMT <mdamt@bisnisweb.com>
4112 * ggv/po/id.po: Added Indonesian translation
4113 * ggv/configure.in: Added "id" to ALL_LINGUAS
4115 2003-02-16 Martin Kretzschmar <m_kretzschmar@gmx.net>
4117 * gpdf/xpdf/page-control.c, xpdf/page-control.h: show label " of n
4118 pages" next to the text entry
4119 (gpdf_page_control_set_total_pages): new
4121 * gpdf/xpdf/gpdf-control.cc (gc_set_pdf_cb): notify page toolitem
4124 2003-02-15 Martin Kretzschmar <m_kretzschmar@gmx.net>
4126 * gpdf/xpdf/gpdf-view.h, xpdf/gpdf-view.cc (gpdf_view_first_page)
4127 (gpdf_view_last_page): new
4128 (gpdf_view_goto_page): kill #if'ed out debug message
4130 * gpdf/xpdf/gpdf-control.cc (gc_setup_page_control, gc_setup_zoomable)
4131 (gc_setup_view_widgets): move signal connect calls to places where
4133 (gc_zoom_changed_report_to_zoomable)
4134 (gc_page_changed_update_page_control): renamed from
4135 gc_zoom_changed_cb resp. gc_page_changed_cb
4136 (ui_component_set_sensitive, gc_enable_go_back_verbs)
4137 (gc_enable_go_forward_verbs, gc_page_changed_enable_page_buttons)
4138 (gc_set_ui_container): new, disable some page navigation commands
4140 (gc_set_zoom_items_visibility): do nothing if we can't find a
4141 ui-component (don't g_assert that it's !=NULL)
4143 2003-02-15 Martin Kretzschmar <m_kretzschmar@gmx.net>
4145 * gpdf/xpdf/gpdf-stock-icons.h, xpdf/gpdf-stock-icons.c: new. register
4146 gpdf-zoom-fit-width stock icon with a GtkIconFactory
4148 * gpdf/xpdf/fitwidth.png: redone in 24x24pix instead of 26x26, based on
4149 gtk's zoom-out stock icon and the original fitwidth.png
4151 * gpdf/xpdf/gpdf-control.cc (gc_set_ui_container): s/gc_set_ui_pixbufs/
4153 (gc_ui_set_pixbufs): rewrite to use stock icon machinery, let it
4154 do the correct scaling
4156 * gpdf/xpdf/bonobo-application-x-pdf.cc (main): init our stock icons
4158 * gpdf/xpdf/Makefile.am (gnome_pdf_viewer_SOURCES): add
4159 gpdf-stock-icons.[ch]
4161 2003-02-15 Martin Kretzschmar <m_kretzschmar@gmx.net>
4163 * gpdf/xpdf/GPOutputDev.cc (getFontFaceEmbedded): change (disabled)
4166 * gpdf/shell/gpdf.c (gw_setup_window): set window title
4168 * gpdf/xpdf/GNOME_PDF.server.in.in, shell/gpdf.c: s/Gnome/GNOME/ in
4171 * gpdf/xpdf/page-control.c, xpdf/gpdf-view.cc,
4172 xpdf/gpdf-persist-stream.cc: use our own marshallers
4174 * gpdf/configure.in, xpdf/Makefile.am, xpdf/gpdf-marshal.list: check
4175 for and use glib-genmarshal
4177 * gpdf/xpdf/.cvsignore: ignore generated marshallers
4179 * gpdf/xpdf/Makefile.am: clean up server.in, server files
4181 * gpdf/Makefile.am, gpdf.mime: remove gpdf.mime, application/pdf is
4182 provided by gnome-vfs.mime
4184 2003-02-15 Jaka Mocnik <jaka@gnu.org>
4186 * ggv/configure.in, Makefile.am: applied a patch from Julio Merino
4187 that uses gconf2 AM macros instead of home-brewed code.
4189 2003-02-11 Martin Kretzschmar <m_kretzschmar@gmx.net>
4191 * gpdf/xpdf/page-control.c (gpdf_page_control_realize): make page
4192 number entry 5 chars wide
4194 * gpdf/xpdf/gpdf-control.cc (gc_setup_page_control): don't set width of
4197 * gpdf/xpdf/gpdf-control-ui.xml, xpdf/gpdf-control.cc
4198 (gc_set_ui_pixbufs): scale down Fit Width icon for the View menu
4200 2003-02-11 Martin Kretzschmar <m_kretzschmar@gmx.net>
4202 * gpdf/xpdf/GPOutputDev.cc (getFontFaceFallback): use the system
4203 aliases for fallback
4205 2003-02-11 Martin Kretzschmar <m_kretzschmar@gmx.net>
4207 * gpdf/xpdf/gpdf-control.cc (gc_setup_page_control)
4208 (gc_page_changed_cb): handle set_page of the page-control
4210 * gpdf/xpdf/gpdf-view.h: make gpdf_view_goto_page public
4212 * gpdf/xpdf/page-control.c (gpdf_page_control_return_pressed)
4213 (gpdf_page_control_key_press_event, gpdf_page_control_class_init):
4214 add a set_page signal, emit when <RET> is pressed.
4216 * gpdf/xpdf/page-control.h: fix indentation, add set_page signal.
4218 2003-02-10 Martin Kretzschmar <m_kretzschmar@gmx.net>
4220 * gpdf/xpdf/page-control.c, xpdf/page-control.h: page number entry
4221 widget (for the toolbar)
4223 * gpdf/xpdf/gpdf-control.cc (gc_page_changed_cb)
4224 (gc_ui_add_page_control, gc_setup_page_control): add a
4225 page-control to the toolbar (currently displays page number only)
4226 (gc_set_ui_pixbufs): extracted from gc_set_ui_container
4227 (gc_setup_view_widgets): renamed from gc_setup_widgets
4229 * gpdf/xpdf/gpdf-view.cc, xpdf/gpdf-view.h: add a page_changed signal,
4230 wrap g_signal_emit calls for improved readability
4232 * gpdf/xpdf/Makefile.am (gnome_pdf_viewer_SOURCES): add page-control.c,
4235 * gpdf/xpdf/gpdf-control-ui.xml: add placeholder for page-control
4237 2003-02-09 Christian Rose <menthos@menthos.com>
4239 * gpdf/configure.in: Added "kn" to ALL_LINGUAS.
4241 2003-02-09 Christian Rose <menthos@menthos.com>
4243 * ggv/configure.in: Added "kn" to ALL_LINGUAS.
4245 2003-02-04 Martin Kretzschmar <m_kretzschmar@gmx.net>
4247 * gpdf/xpdf/Makefile.am: fix a comment that prevented definition of
4248 gnome_pdf_viewer_LDADD
4249 Patch by Benjamin Dauvergne <feanor@tol-eressea.org>
4251 2003-02-04 Jaka Mocnik <jaka@gnu.org>
4253 * ggv/configure.in: 1.99.98. tagged as GGV_1_99_98.
4254 * ggv/bonobo/ggv-postscript-view.c, bonobo/ggv-control.c: flip
4255 pages when using cursor keys to scroll.
4257 2003-01-29 Jaka Mocnik <jaka@gnu.org>
4259 * ggv/src/ggv-file-sel.c: applied a patch from Satyajit Kanungo to make
4260 the file selector modal.
4262 2003-01-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4264 * gpdf/xpdf/GPOutputDev.cc, xpdf/Makefile.am: disable font embedding
4265 hack introduced on 2002-12-09 to fix build with current,
4266 extra-clean gnome-print
4268 2003-01-21 Christian Rose <menthos@menthos.com>
4270 * ggv/configure.in: Added "mn" to ALL_LINGUAS.
4272 2003-01-20 Pablo Saratxaga <pablo@mandrakesoft.com>
4274 * ggv/configure.in: Added Macedonian (mk) to ALL_LINGUAS
4276 2003-01-19 Jaka Mocnik <jaka@gnu.org>
4278 * ggv/bonobo/ggv-control.c (ggv_control_construct): don't unref the
4279 widget. ps_view needs to hold the reference!
4280 * ggv/src/ps.c (pages_new): fixed a possible buffer overflow.
4281 * ggv/src/gtkgs.c: applied a patch from Satyajit Kanungo that allows
4282 viewing of non-conformant PDFs.
4284 Wed Jan 15 17:51:50 2003 Jonathan Blandford <jrb@redhat.com>
4286 * ggv/bonobo/ggv-postscript-view.c (ps_view_get_tmp_file): return NULL
4287 in error state instead of just returning. Fixes a warning. It
4288 occurs to me that there is no code to handle this being NULL.
4289 mkstemp almost never fails, so this is low priority.
4291 2003-01-07 Martin Kretzschmar <m_kretzschmar@gmx.net>
4293 * gpdf/xpdf/GPOutputDev.cc: change list of fonts even more to work with
4294 URW fonts on my system FIXME
4295 (~GPOFontMap, startDoc, getFontFaceEmbedded): cache the fonts
4296 extracted from the PDF and downloaded to the print context.
4297 (~GPOutputDev): plug a leak
4299 * gpdf/xpdf/GPOutputDev.h: update class declarations
4301 2003-01-06 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
4303 * gpdf/configure.in: Added Spanish (es) to ALL_LINGUAS.
4305 2003-01-05 Artis Trops <hornet@navigator.lv>
4307 * gpdf/configure.in: Added Latvian (lv) to ALL_LINGUAS.
4309 2003-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
4311 * gpdf/configure.in: Added "fa" (Persian) to ALL_LINGUAS.
4313 2002-12-23 Jaka Mocnik <jaka@gnu.org>
4315 * ggv/configure.in: bumped version to 1.99.97; tagged as GGV_1_99_97.
4316 * ggv/bonobo/ggv-sidebar.c: fixed a typo causing a mis-cast.
4317 * ggv/src/ggv-window.c: applied a patch from chris at gnome-de dot org
4318 that fixes the copyright string.
4320 2002-12-20 Martin Kretzschmar <m_kretzschmar@gmx.net>
4322 * gpdf/xpdf/GPOutputDev.cc (GPOFontMap, ~GPOFontMap): add c'tor, d'tor
4323 (initBase14Fonts, getFontFaceBase14, getFontFaceFallback)
4324 (getFontFace): refactor getFontFace, default to URW fonts for Base
4325 14 fonts, keep these font faces in a hash
4327 2002-12-17 Rajkumar Sivasamy <rajkumar.siva@wipro.com>
4329 * ggv/ggv-prefs-ui.c: Set mnemonics to controls in preferences dialog.
4332 2002-12-17 Miloslav Trmac <mitr@volny.cz>
4334 * gpdf/configure.in (ALL_LINGUAS): Add Czech (cs)
4336 2002-12-13 Jaka Mocnik <jaka@gnu.org>
4338 * ggv/applied patches that add startup notification and priority text
4341 2002-12-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
4343 * gpdf/fitwidth.png: copy from ggv.
4345 * gpdf/xpdf/Makefile.am, xpdf/gpdf-control-ui.xml, xpdf/gpdf-control.cc
4346 (gc_set_ui_container): use it.
4348 * gpdf/stock-zoom-fit-tall.xpm, stock-zoom-fit-wide.xpm,
4349 stock-zoom-fit.xpm, stock-zoom-in.xpm, stock-zoom-out.xpm: kill
4350 Gnome 1 style pixmaps.
4352 2002-12-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
4354 Using the ``nobody is using this code, just break it'' joker: This
4355 adds some kind of support for embedded Type1 fonts. Doesn't
4356 respect gnome-print's privacy. No caching of extracted fonts.
4358 * gpdf/xpdf/GPOutputDev.cc (GPOutputDev::startDoc, setPrintContext):
4359 hand through to the font map
4360 (getStreamContents): adapted from glib
4361 (getFontFaceEmbedded): new, uses experimental
4362 gpdf_gnome_print_add_font
4363 (getFontFace): use getFontFaceEmbedded for fonts with embedded
4366 * gpdf/xpdf/GPOutputDev.h: update declarations,
4367 (GPOFontMap::startDoc, setPrintContext): implemented inline
4369 * gpdf/xpdf/gpdf-view.cc (gpdf_view_set_pdf_doc): call startDoc
4371 * gpdf/xpdf/gpdf-gnome-font.h, xpdf/gpdf-gnome-font.c: new files;
4372 hackish implementation of gnome_print_add_font
4374 * gpdf/xpdf/Makefile.am (gnome_pdf_viewer_SOURCES): add
4375 gpdf-gnome-font.[hc]
4377 2002-11-29 Yanko Kaneti <yaneti@declera.com>
4379 * ggv/src/ggv-window.c (ggv_window_load): add a missing prameter to the
4380 g_locale_to_utf8 call from the previous patch. Fixes tinderbox.
4382 2002-11-28 Jaka Mocnik <jaka@gnu.org>
4384 * ggv/src/ggv-window.c (ggv_window_load): applied a patch from Hidetoshi
4385 Tajima to convert title to utf-8 before setting it.
4387 2002-11-27 Michael Meeks <michael@ximian.com>
4389 * gpdf/xpdf/gpdf-control.cc,
4390 * gpdf/xpdf/gpdf-view.cc: add math.h includes.
4392 2002-11-27 Jaka Mocnik <jaka@gnu.org>
4394 * ggv/src/gtkgs.c (gtk_gs_set_page_size): respect bounding box if
4396 * ggv/bonobo/ggv-control.c (ggv_control_create_ui): set fit width pixbuf
4397 to popup ui component. use smaller pixbufs for menu and popup menu
4399 * ggv/bonobo/ggv-postscript-view-ui.xml: removed pixtype="none".
4401 2002-11-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4403 * gpdf/xpdf/GPOutputDev.cc: remove unused includes
4404 (drawImageMask): implement
4406 * gpdf/xpdf/GPOutputDev.h (drawImageMask): uncomment declaration
4408 * gpdf/xpdf/gpdf-persist-stream.cc (load_pdf_from_stream): allow reuse
4409 of a GPdfPersistStream: delete its old contents, go on as usual
4411 2002-11-22 Jaka Mocnik <jaka@gnu.org>
4413 * ggv/src/gtkgs.c (gtk_gs_goto_page): a fix for bug #85004.
4414 * ggv/src/ggv-prefs-ui.c (ggv_prefs_dialog_new): renamed right-hans side
4416 * ggv/src/ggvutils.c: removed zoom factors larger than 6.0 and smaller
4419 2002-11-21 Martin Kretzschmar <m_kretzschmar@gmx.net>
4421 * gpdf/xpdf/gpdf-view.cc (gpdf_view_render_page): kill page parameter,
4422 get it from priv->requested_page, change return type from void to
4423 gboolean for use as idle handler, always return FALSE
4424 (priv): new field requested_page, rename page => current_page
4425 (gpdf_view_goto_page): don't call ::render_page directly,
4426 g_idle_add it instead
4427 (gpdf_view_page_prev, gpdf_view_page_next): interprete prev and
4428 next relative to requested_page
4429 (gpdf_view_key_press_event): s/page/current_page/
4430 (gpdf_view_set_pdf_doc): don't ::render_page, ::goto_page instead
4432 2002-11-19 Jaka Mocnik <jaka@gnu.org>
4434 * ggv/bonobo/ggv-postscript-view-ui-xml: removed "Override*" commands
4435 and menu items. added "OrientationDocument" and "PaperSizeDoc"
4436 commands and menu items. this allows for single-click setting of
4437 orientation and size.
4438 * ggv/bonobo/ggv-postscript-view.c: support the above changes.
4439 optimized menu syncing.
4440 * ggv/src/gtkgs.[ch]: constification of parameters.
4441 * ggv/src/gtkgs.c, src/ps.c: better handling of page and document
4444 2002-11-17 Martin Kretzschmar <m_kretzschmar@gmx.net>
4446 * gpdf/shell/gpdf.c: include aconf.h before gpdf-window.h to
4447 enable translation of the shell
4449 2002-11-15 Martin Kretzschmar <mk793652@mail.inf.tu-dresden.de>
4451 * gpdf/configure.in: require libgnomeprint(ui)-2.2
4453 2002-11-15 Jaka Mocnik <jaka@gnu.org>
4455 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_create_ui): freeze
4456 UI component _before_ merging UI. this enables us to put sidebar
4457 on the right when opening a window.
4458 * ggv/src/ggv-prefs-ui.c (ggv_prefs_dialog_new): fixed placement of
4459 orientation choice menu.
4461 2002-11-13 Dmitry G. Mastrukov <dmitry@taurussoft.org>
4463 * ggv/configure.in: Added Belarusian to ALL_LINGUAS.
4465 2002-11-10 Martin Kretzschmar <m_kretzschmar@gmx.net>
4467 * gpdf/xpdf/gpdf-control.cc (gc_set_zoom_items_visibility)
4468 (ui_component_set_hidden): hide zoom commands if we have a
4471 2002-11-10 Martin Kretzschmar <m_kretzschmar@gmx.net>
4473 * gpdf/xpdf/gpdf-control.cc (gc_zoom_changed_cb): report gpdf_view's
4474 changed zoom level to bonobo zoomable
4475 (gc_setup_widgets): install zoom_changed handler
4477 * gpdf/xpdf/gpdf-view.cc (gpdf_view_class_init): install zoom_changed
4479 (gpdf_view_zoom): emit zoom_changed signal
4481 * gpdf/xpdf/gpdf-view.h (GPdfViewClass): add zoom_changed signal slot
4483 * gpdf/configure.in: yacob Added am to ALL_LINGUAS without change log
4486 2002-11-10 Jaka Mocnik <jaka@gnu.org>
4488 * configure.in: moved version to 1.99.96. tagged as GGV_1_99_96.
4490 2002-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
4492 * gpdf/xpdf/Makefile.am: don't build pdf_view.o, GOutputDev.o
4494 2002-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
4496 * gpdf/xpdf/gpdf-control.cc: remove all references to old PdfView class
4497 (preferred_zoom_levels, preferred_zoom_level_names): add more zoom
4499 (gc_zoom_level_from_index): kill
4500 (gpdf_control_zoom_in, gpdf_control_zoom_out)
4501 (gpdf_control_zoom_fit_width, gpdf_control_zoom_fit)
4502 (gpdf_control_zoom_default, gc_zoomable_set_zoom_level_cb):
4503 rewrite using GPdfView methods
4505 * gpdf/xpdf/gpdf-view.cc (gpdf_view_zoom_in, gpdf_view_zoom_fit)
4506 (gpdf_view_zoom_fit_width): implement
4508 * gpdf/xpdf/gpdf-view.h: add zoom function prototypes
4510 * gpdf/xpdf/bonobo-application-x-pdf.cc (main):
4511 * gpdf/shell/gpdf.c (main): s/PACKAGE/GETTEXT_PACKAGE/ in *textdomain
4514 * gpdf/xpdf/Makefile.am, goo/Makefile.am: fix distcheck
4516 2002-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
4518 * gpdf/xpdf/gpdf-view.cc (gpdf_view_key_press_event): xpdf page
4519 numbering is not zero-based!
4521 * gpdf/xpdf/GfxState.cc (GfxDeviceCMYKColorSpace::getRGB): special case
4524 * gpdf/xpdf/GPOutputDev.h: declare drawImage
4526 * gpdf/xpdf/GPOutputDev.cc (getFontFace): forgot to rename one
4527 font_name to gfont_name; cleanup whitespace in the source
4528 (drawImage): implement. (Does not render output on
4529 GnomePrintPreview older than 2002-06-14)
4531 * gpdf/shell/gpdf.c (gw_control_load_pdf): s|file://|file:|
4533 2002-11-09 Jaka Mocnik <jaka@gnu.org>
4535 * ggv/src/ggv-ui.xml: moved Layout submenu from Edit to View menu.
4537 * ggv/bonobo/ggv-postscript-view-ui.xml: fixed accelerators for
4538 navigation. fixes #97842.
4539 * ggv/src/gtkgs.c (gtk_gs_goto_page): applied patch from satyajit that
4540 fixes occasional erroneous refreshes of non-structured docs. fixes
4542 * ggv/bonobo/ggv-sidebar.c (ggv_sidebar_construct): change coordinate
4543 widget to GtkEntry instead of GtkLabel in order to prevent resizing
4544 when text grows. make it horizontally as small as possible! fixes
4547 2002-11-06 Jaka Mocnik <jaka@gnu.org>
4549 * ggv/acconfig.h: remove. changes from 2002-11-04 have rendered it
4552 2002-11-05 Martin Kretzschmar <mk793652@mail.inf.tu-dresden.de>
4554 * gpdf/xpdf/GPOutputDev.cc (updateFont): extract GfxFont->GnomeFont
4555 mapping into its own class: GPOFontMap
4556 (getFontFace): I'm cheating. This first implementation makes only
4557 some Basic-14-PostScript fonts look nice
4559 * gpdf/xpdf/GPOutputDev.h: add GPOFontMap class
4560 (GPOutputDev): add GPOFontMap member
4562 2002-11-05 Jaka Mocnik <jaka@gnu.org>
4564 * ggv/src/gtkgs.[ch], src/gsdefaults.[ch], src/ggv-prefs-ui.c,
4565 bonobo/ggv-postscript-view.c, ggv.schemas: from now on, we no
4566 longer make a DSC file from PDF and use it to navigate through PDF,
4567 but instead we convert every PDF to PS and show it. benefits?
4568 enables printing and saving of PDF files and solves some issues
4569 with deducing orientation and page size from PDFs. cost? a bit
4570 slower, especially for large PDFs.
4572 2002-11-04 Jaka Mocnik <jaka@gnu.org>
4574 * ggv/acconfig.h: removed, so that newer autoconfs don't spit warnings
4575 about deprecation at us.
4576 * ggv/configure.in: added 3rd arg to AC_DEFINE*() in order to get nice
4577 comments in config.h.
4578 * ggv/bonobo/main.c (ggv_postscript_viewer_factory): removed signal
4579 handlers as they caused ggv to hang when rapidly starting/stopping
4581 * ggv/bonobo/ggv-control.c: sync auto-fit items with defaults on startup
4582 and set their sensitivity according to the status of the loaded
4585 2002-11-03 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
4587 * gpdf/xpdf/GPOutputDev.cc (GPOutputDev): kill one-arg constructor,
4588 more initializations in zero-arg constructor
4589 (startPage, restoreState, updateFillColor)
4590 (updateFillColorIfNecessary, updateStrokeColor)
4591 (updateStrokeColorIfNecessary, stroke, fill, eoFill): remember if
4592 the last color set was for stroking or for non-stroking
4593 operations, set the color again IfNecessary
4594 (updateLineDash, updateFillColor, updateStrokeColor, updateFont)
4595 (doPath): this is C++, so move declarations of variables to their
4596 first use and initialize them there
4597 (updateFillColor, updateStrokeColor, updateFillOpacity)
4598 (updateStrokeOpacity): hande opacity, always set color and opacity
4600 (updateFont): store the GnomeFont we want to use later; font
4601 handling still non-existant
4602 (updateTextPos): store the text position
4603 (updateTextShift): new, updates text position
4604 (getFillColorRGBA): new, creates a RRGGBBAA gint from a GfxState
4605 (drawString): rewritten to use Glyphlist machinery, quite okay
4606 ( for western locales) now
4608 * gpdf/xpdf/GPOutputDev.h: update prototypes, new private members
4610 * gpdf/xpdf/gpdf-control.cc (gc_key_press_event_cb): kill, GPdfView
4611 handles all its key events
4612 (gc_setup_widgets): don't connect killed handler; gpdf_view, grab
4615 * gpdf/xpdf/gpdf-view.cc (gpdf_view_construct): factor out:
4616 (gpdf_view_setup_page_background): and add:
4617 (gpdf_view_setup_gesture_handler): guess what it does
4618 (gesture_page_next_event_cb, gesture_page_prev_event_cb)
4619 (gesture_page_first_event_cb, gesture_page_last_event_cb)
4620 (gesture_zoom_in_event_cb, gesture_zoom_out_event_cb): add gesture
4622 (gpdf_view_dispose): destroy gesture handler
4623 (gpdf_view_render_page): improve readability, split out:
4624 (setup_upside_down_transform):
4625 (gpdf_view_zoom, gpdf_view_zoom_in, gpdf_view_zoom_out): new
4626 (gpdf_view_key_press_event): new
4627 (gpdf_view_button_press_event, gpdf_view_button_release_event)
4628 (gpdf_view_motion_notify_event): for dragging the page
4629 (gpdf_view_class_init): install signal handlers
4631 2002-11-03 Jaka Mocnik <jaka@gnu.org>
4633 * ggv/bonobo/ggv-control.c: handle selection of auto-fit mode.
4634 (ggv_control_construct): unref the GtkGS we get from GgvPostScriptView.
4635 * ggv/bonobo/ggv-control-ui.xml: added a menu for selection of auto-fit
4637 * ggv/src/ggv-prefs-ui.[ch]: implemented a choice menu for setting the
4638 default zoom mode for GtkGS widgets!
4639 * ggv/src/ggvutils.[ch]: removed some obsolete func prototypes.
4640 added ggv_auto_fit_modes.
4641 * ggv/src/gsdefaults.[ch]: handle default zoom mode.
4642 * ggv/src/gtkgs.[ch]: added GtkGSZoomMode enum and zoom_mode member to
4643 GtkGS. implemented auto-fit functionality.
4645 2002-10-31 Martin Kretzschmar <m_kretzschmar@gmx.net>
4647 The work on a Gnome Print Output Device starts here. The last
4648 version of the old pixmap based rendering code is tagged
4651 * gpdf/xpdf/gpdf-control.cc (_GpdfControlPrivate): add field for
4653 (gc_setup_widgets, gc_set_pdf_cb, verb_GoPageLast_cb)
4654 (verb_GoPageFirst_cb, verb_GoPageNext_cb, verb_GoPagePrev_cb): use
4655 GPdfView instead of PdfView
4657 * gpdf/xpdf/gpdf-view.cc, xpdf/gpdf-view.h: widget for for GPOutputDev
4658 to draw on. Using GnomePrintPreview.
4660 * gpdf/xpdf/GPOutputDev.cc, xpdf/GPOutputDev.h: new Gnome Print Output
4661 Device class, strokes and fills look (surprisingly) quite okay,
4662 font and text handling is throw-away code
4664 * gpdf/xpdf/gpdf-util.h (BEGIN_C_DECLS, END_C_DECLS): remove macros,
4666 (GPDF_BOILERPLATE, GPDF_CLASS_BOILERPLATE, GPDF_REGISTER_TYPE):
4667 macros from bonobo-macros.h and gnome-macros.h compatible with
4668 c++ type system rules
4670 * gpdf/xpdf/OutputDev.h: declare class Object
4672 * gpdf/xpdf/Gfx.h: include Object.h
4674 * gpdf/configure.in: check for libgnomeprint(ui)-2.0
4676 2002-10-30 Jaka Mocnik <jaka@gnu.org>
4678 * ggv/configure.in: added G*_DISABLE_DEPRECATED to GGV_CFLAGS.
4679 * ggv/*/*.[ch]: elimination of deprecated code.
4680 * ggv/ggv.schemas: added pageflip and scrollstep keys.
4681 * ggv/src/gsdefaults.c: added scroll_step setting: tells what percentage
4682 of viewable area size will be used for scrolling.
4683 * ggv/src/ggv-prefs.[ch], src/ggv-prefs-ui.[ch]: implemented configuration
4685 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_construct):
4686 read gconf setting for "pageflip": if true, pages will be flipped
4687 automatically when scrolled to the edge of document.
4688 * ggv/bonobo/ggv-control.c (zoomable_set_zoom_level_cb): only modify the
4689 adjustment value if it is different from the zoom level being set.
4690 * ggv/src/gtkgs.c (gtk_gs_get_postscript): copy whole non-structured doc.
4691 * ggv/bonobo/ggv-control-ui.xml: added missing tooltips.
4693 2002-10-29 Christian Neumair <chris@gnome-de.org>
4695 * ggv/src/ggv-prefs-ui.c: Make button sequence HIG compliant.
4697 2002-10-26 Jaka Mocnik <jaka@gnu.org>
4699 * ggv/src/ggv-window.c (verb_FileClose): if the document being closed is
4700 the last one, just tell the PostScriptView component to unload the
4701 document and leave the window open. fixes #96792.
4702 (control_property_changed_handler): only display status message if
4703 status is non-empty.
4704 * ggv/idl/Ggv.idl: added close() method.
4705 * ggv/bonobo/ggv-postscript-view.c (impl_GNOME_GGV_PostScriptView_close):
4706 implemented the close() method.
4708 2002-10-23 Martin Kretzschmar <mk793652@mail.inf.tu-dresden.de>
4710 * gpdf/xpdf/gpdf-persist-stream.cc (PARENT_TYPE): that last s/// was
4711 obviously scrambling too many words, make that
4712 BONOBO_TYPE_PERSIST_STREAM
4714 2002-10-23 Jaka Mocnik <jaka@gnu.org>
4716 * ggv/configure.in: unreverted. et.po is now really added.
4718 2002-10-22 jacob berkman <jacob@ximian.com>
4720 * ggv/configure.in (ALL_LINGUAS): revert until et.po gets added
4722 2002-10-22 Jaka Mocnik <jaka@gnu.org>
4724 * ggv/configure.in (ALL_LINGUAS): added "et".
4725 * ggv/po/et.po: added Estonian translation. contributed by Ilmar Kerm.
4727 2002-10-21 Jaka Mocnik <jaka@gnu.org>
4729 * ggv/bonobo/ggv-sidebar.c: fixed some typos.
4731 2002-10-20 Fatih Demir <kabalak@gtranslator.org>
4733 * ggv/configure.in: Added "ta" to the languages' list.
4735 2002-10-19 Jaka Mocnik <jaka@gnu.org>
4737 * ggv/configure.in: "head -c 1" -> "head -1" for portability reasons.
4738 * ggv/src/ggv-file-sel.c: #include <libgnomevfs/gnome-vfs-utils.h>.
4739 * ggv/applied a patch by people at bugzilla-gnome at thewrittenword.com
4740 to enable GGV to find the UI XML files when installed in a different
4743 2002-10-17 Jaka Mocnik <jaka@gnu.org>
4745 * ggv/src/ggv-window.c (verb_FileOpen): remember path of file selector.
4746 * ggv/bonobo/ggv-postscript-view.c (verb_FileSaveMarked): remember path
4748 * ggv/src/ggv-file-sel.c (ggv_file_sel_set_uri): properly unescape uri.
4750 2002-10-16 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
4752 * gpdf/xpdf/gpdf-persist-stream.cc: use gpdf-g-switch.h,
4753 s/BONOBO_PERSIST_STREAM_TYPE/BONOBO_TYPE_STREAM_PERSIST/
4755 * gpdf/xpdf/gpdf-control.cc (gpdf_control_zoom_fit_width)
4756 (gpdf_control_zoom_fit): s/gtk_idle_add/g_idle_add/
4757 (gpdf_control_activate): use BONOBO_CALL_PARENT macro
4758 (gc_setup_widgets): use g_signal_connect, not gtk_signal_connect
4760 * gpdf/xpdf/gpdf-control.h, gpdf-persist-stream.h: replace GTK_CHECK
4761 macros with G_TYPE_CHECK, GtkType with GType
4763 2002-10-16 Jaka Mocnik <jaka@gnu.org>
4765 * ggv/src/ggv-window.c (ggv_window_set_layer): set window layer.
4766 (ggv_window_set_fullscreen): toggle between normal and fullscreen
4768 * ggv/src/ggv-ui.xml: added full screen command and menu items.
4769 * ggv/bonobo/ggv-control.c (_set_zoom_items_sensitivity): simplified code.
4770 * ggv/src/ggvutils.c: added 3/4 and 3/2 zoom levels.
4771 * ggv/bonobo/ggv-control.c (listener_ZoomLevel_cb): simplified code.
4772 * ggv/bonobo/ggv-control-ui.xml: added 3/4 and 3/2 zoom levels.
4774 2002-10-15 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
4776 * gpdf/shell/gpdf.c (gw_open, gw_close): rename to gpdf_window_open,
4777 gpdf_window_close and make them public
4778 (handle_cmdline_args): s/gtk_idle_add/g_idle_add/
4779 (gw_control_load_pdf): fix leaks for error cases
4780 (gpdf_window_open): simplify
4781 (gw_ask_for_filename): use g_signal_connect, not gtk_signal_connect
4783 * gpdf/shell/gpdf-window.h: replace GTK_CHECK macros with G_TYPE_CHECK,
4784 s/bonobo.h/libbonoboui.h/, declare gpdf_window_open, gpdf_window_close
4786 2002-10-13 Martin Kretzschmar <m_kretzschmar@gmx.net>
4788 * gpdf/shell/Makefile.am (-DGNOMELOCALEDIR): define as everybody does
4790 * gpdf/shell/gpdf-window.h: godf_window_get_type returns GType
4792 * gpdf/shell/gpdf.c: use GNOME_CLASS_BOILERPLATE, no need for
4793 gpdf-util.h, GPDF_EMBEDDABLE_IID
4794 (gpdf_window_class_init, gpdf_window_instance_init): rename from
4796 (verb_HelpAbout_cb): gnome_about_new doesn't return a GnomeDialog,
4797 modify to allow only one about dialog
4798 (raise_and_focus): for verb_HelpAbout_cb, from EogWindow
4799 (gw_close): bonobo_main_quit is correct here
4800 (gw_open): release and unref control after adding it to the
4801 control frame. Refcounting seems to work! The server autoexits :-)
4803 * gpdf/xpdf/gpdf-control-ui.xml: add accelerator to View menu
4805 2002-10-12 Martin Kretzschmar <m_kretzschmar@gmx.net>
4807 * gpdf/xpdf/gpdf-control-ui.xml: hide ZoomFitWidth toolbar button
4809 * gpdf/xpdf/gpdf-control.cc (struct _GPdfControlPrivate): don't store a
4811 (gc_setup_persist): ditto
4812 (gpdf_control_destroy): don't unref GPdfPersistStream, we
4814 (gc_setup_zoomable): setup a BonoboZoomable, add_interface
4815 (gc_zoomable_set_zoom_level_cb, gc_zoomable_set_frame_cb):
4816 Callbacks for the zoomable
4817 (gpdf_control_construct): use gc_setup_zoomable
4819 * gpdf/xpdf/GNOME_PDF.server.in.in: add Zoomable repo id
4821 * gpdf/configure.in: don't create intl/Makefile
4823 2002-10-12 Martin Kretzschmar <m_kretzschmar@gmx.net>
4825 * gpdf/xpdf/.cvsignore: add GNOME_PDF.server, GNOME_PDF.server.in
4827 * gpdf/xpdf/pdf-view.cc: don't #include bonobo_application_x_pdf.h,
4828 update for new GObject, GSignal, Bonobo signatures
4829 (setup_pixmap): don't use double buffering
4831 * gpdf/xpdf/gtkgesture.h: s/BEGIN_GNOME_DECLS/G_BEGIN_DECLS/
4833 * gpdf/xpdf/gpdf-persist-stream.h, xpdf/gpdf-control.h, pdf-view.h
4834 (#includes): update, use gpdf-g-switch.h,
4835 s/BEGIN_GNOME_DECLS/G_BEGIN_DECLS/
4837 * gpdf/xpdf/gpdf-persist-stream.cc (#includes): update
4838 (load_pdf_from_stream): Bonobo_Unknown_ref our stream
4839 (delete_pdf_doc_full): unref our stream
4840 (all around) update for new GObject, GSignal, Bonobo signatures
4841 (gpdf_persist_stream_new, gpdf_persist_stream_construct): take iid
4842 parameter to be passed on to bonobo_persist_stream_construct
4844 * gpdf/xpdf/gpdf-embeddable-view.cc: don't include
4845 bonobo-application-x-pdf.h
4847 * gpdf/xpdf/gpdf-control.cc: PARENT_TYPE is BONOBO_TYPE_CONTROL;
4848 update for new GObject, GtkWidget, Bonobo signatures
4850 * gpdf/xpdf/gpdf-control-ui.xml: use gtk-stock-pixmaps
4852 * gpdf/xpdf/bonobo-application-x-pdf.cc (#includes): use
4853 gpdf-g-switch.h, update
4854 (gpdf_factory): don't create embeddable, gpdf_persist_stream_new
4856 (init_gpdf_factory, init_corba, init_bonobo): kill
4857 (main): no need to init gdk_rgb; use BONOBO_FACTORY_INIT,
4858 bonobo_generic_factory_main
4860 * gpdf/xpdf/Makefile.am (INCLUDES, LDADD): update
4861 (bin_PROGRAMS): move gnome-pdf-viewer to libexec_PROGRAMS
4862 (gnome_pdf_viewer_SOURCES): nobody needs
4863 bonobo-application-x-pdf.h, don't build embeddable stuff
4864 (oafdir, oaf_DATA): kill
4865 (server_in_files, serverdir): add, do libexec sed job on
4866 .server.in.in file, add @INTLTOOL_SERVER_RULE@
4867 (uidir): s/gnome/gnome-2.0/
4869 * gpdf/xpdf/GOutputDev.cc (#includes): use gpdf-g-switch.h
4870 (GOutputDev::GOutputDev): get size and depth of pixmap with
4871 gdk_drawable_get_foo background color to white
4872 (all around): gdk_region_foo now destructively update their first
4873 argument, use gdk_rgb to find colors
4874 (drawImageMask): don't gdk_image_new_bitmap
4876 * gpdf/xpdf/gpdf-g-switch.h: new file, include it when switching
4877 between goo and glib headers
4879 * gpdf/xpdf/GNOME_PDF.server.in.in: factory is in @LIBEXECDIR@
4880 s|GNOME/GenericFactory|Bonobo/GenericFactory|, make it
4881 translatable, kill embeddable stanza
4883 * gpdf/xpdf/GNOME_PDF.oafinfo: remove
4885 * gpdf/xpdf/BonoboStream.cc:
4886 s/Bonobo_Stream_SEEK_SET/Bonobo_Stream_SeekSet/ et al. (see
4887 libbonobo/ChangeLog#2002-03-31)
4889 * gpdf/shell/gpdf.c (#includes): use G2 headers
4890 (main): copy from eog
4891 (struct _Component): kill (was embeddable code)
4892 (USE_CONTROL): kill #define, kill all code surrounded by #if
4893 !USE_CONTROL (i.e. embeddable code)
4894 (all around): add Corba_Environment argument where it's needed now
4895 (gw_control_load_pdf): s/BonoboStream \*stream/Bonobo_Stream
4896 stream/. get the stream using monikers, unref it later
4897 (gw_drag_data_received): use uri handling code from gnome-vfs
4898 (verb_HelpAbout_cb): update for new gnome_about_new
4899 (verb_DebugDumpXml_cb): kill
4900 (gw_destroy): may be called more than once, so update assertions
4901 (gw_finalize): is a GObject method now, chain up to parent
4902 (class_init): update for GObject methods
4903 (gw_setup_window): blend of bonobo_window_construct and old
4905 (gw_setup_geometry): kill
4906 (gw_setup_toplevel_ui): use BonoboUIContainer from BonoboWindow
4907 (gpdf_window_construct): use gw_setup_window, not
4908 bonobo_window_construct, not gw_setup_geometry
4910 * gpdf/shell/gpdf-window.h: s/BEGIN_GNOME_DECLS/G_BEGIN_DECLS/, kill
4911 struct _Component decl (was used for embeddable)
4913 * gpdf/shell/gpdf-window-ui.xml: kill DebugDumpXml verb
4915 * gpdf/shell/Makefile.am: update INCLUDES, LD_ADD;
4916 (gpdf_SOURCES): add missing gpdf-window.h
4917 (uidir): s/gnome/gnome-2.0/
4919 * gpdf/configure.in: clean it a bit; set version to 0.100 (version was
4920 at 0.90.1 for ever and I don't want to call it 1.01.1, this is not
4921 1.something quality code); use GNOME2 macros;
4922 (i18n): update according to G2 porting guide
4923 (gnome-lib-checks): use PKG_CHECK
4925 * gpdf/autogen.sh: PKG_NAME="gpdf:", USE_GNOME2_MACROS
4927 * gpdf/.cvsignore: add intltool-... files
4929 Initial port to GNOME 2
4931 2002-10-08 Peteris Krisjanis <peteris.krisjanis@os.lv>
4933 * ggv/configure.in: added Latvian (lv) to ALL_LINGUAS.
4935 2002-10-08 Martin Kretzschmar <m_kretzschmar@gmx.net>
4937 * gpdf/xpdf/pdf-view.cc: access private fields through priv field,
4938 don't use view_data_t
4939 (pv_realize): calls render_page if we already have a pdf_doc;
4940 install as realize default handler
4941 (redraw_on_realize_cb): kill
4942 (pdf_view_set_pdf_doc): if we're not realized yet, just don't
4945 * gpdf/xpdf/pdf-view.h: kill view_data_t typedef, move PdfView's fields
4948 * gpdf/configure.in: check for gdk-pixbuf
4950 * gpdf/xpdf/GOutputDev.cc (drawImage): replace bogus GdkImage code with
4951 GdkPixbuf code. I don't have any PDFs here which use
4952 drawImageMask, so drawImageMask I haven't rewritten drawImageMask.
4954 2002-10-07 Martin Kretzschmar <m_kretzschmar@gmx.net>
4956 * gpdf/xpdf/pdf-view.cc (first_page, last_page, next_page, prev_page):
4957 inline into pdf_view_page_first and friends
4958 (render_page): static again
4960 2002-10-07 Martin Kretzschmar <m_kretzschmar@gmx.net>
4962 * gpdf/xpdf/xpdfsrc.txt, xpdf/xpdfobj.txt: kill
4964 * gpdf/xpdf/gpdf-embeddable-view.cc (gev_set_pdf_cb)
4965 (gpdf_embeddable_view_construct): see gc_set_pdf_cb entry below
4967 * gpdf/xpdf/gpdf-control.cc (GPdfControlPrivate: store persist_stream
4968 (gpdf_control_destroy): write, install
4969 (gc_setup_persist, gc_set_pdf_cb): pdf_view_set_pdf_doc on set_pdf
4970 signal from persist_stream (used to be done in PdfView)
4971 (gc_setup_widgets): pdf_view_new takes no parameter
4973 * gpdf/xpdf/pdf-view.h: s/extern "C" {// around headers
4976 * gpdf/xpdf/pdf-view.cc (PdfViewPrivate): store only a PDFDoc, not a
4978 (view_is_good): replace with IS_PDF_VIEW_WITH_DOC macro, use that
4979 (last_page, next_page): get pdf_doc from priv
4980 (setup_size): ditto, add parameter assertion
4981 (render_page, pdf_view_get_page_width): get pdf_doc from priv
4982 (pdf_view_set_zoom): only render_page if pdf_poc != NULL
4983 (set_pdf_cb): inline into:
4984 (pdf_view_set_pdf_doc): new method, eventually we can switch the
4986 (pv_destroy, pdf_view_construct, pdf_view_new): don't store a
4989 * gpdf/xpdf/gtkgesture.h: include gtk.h, protect with BEGIN_GNOME_DECLS
4991 * gpdf/xpdf/gpdf-persist-stream.h: move GPdfPersistStreamPrivate to
4992 gpdf-persist-stream.cc
4993 (gpdf_persist_stream_get_pdf_doc): declare
4995 * gpdf/xpdf/gpdf-persist-stream.cc (gpdf_persist_stream_get_pdf_doc):
4998 * gpdf/MAINTAINERS: mail your questions to me
5000 2002-10-05 Martin Kretzschmar <m_kretzschmar@gmx.net>
5002 * gpdf/xpdf/gpdf-control.cc (gc_key_press_event_cb): add _cb suffix
5003 (gc_zoom_level_from_index, gc_set_policy_idle_cb): add gc_ prefix
5004 (gpdf_control_zoom_in, gpdf_control_zoom_out)
5005 (gpdf_control_zoom_fit_width, gpdf_control_zoom_fit): extract from
5006 verb implementations
5007 (gc_zoom_in_cb, gc_zoom_out_cb, gc_zoom_to_fit_cb)
5008 (gc_zoom_to_fit_width_cb, gc_zoom_to_default_cb): callbacks for
5009 PdfView zoom signals
5011 * gpdf/xpdf/pdf-view.h (PdfViewClass): add signal slots
5012 (PdfView): kill unused mainbox field
5014 * gpdf/xpdf/pdf-view.cc: kill old zooming code, when we want to zoom,
5015 we just emit signals. Our container can connect to these and make
5016 the right calls (i.e. pdf_view_set_zoom).
5017 (pv_key_press_event): emit zoom signals instead of setting our
5019 (class_init): install signals
5021 (pdf_view_construct): connect each gesture to its own callback
5022 (gesture_page_event_cb, gesture_zoom_event_cb, view_zoom_verb)
5023 (view_switch_page): kill old gesture callbacks and helpers
5024 (gesture_page_next_event_cb, gesture_page_prev_event_cb)
5025 (gesture_page_first_event_cb, gesture_page_last_event_cb)
5026 (gesture_zoom_in_event_cb, gesture_zoom_out_event_cb): new gesture
5029 * gpdf/xpdf/bonobo-application-x-pdf-ui.xml: kill zooming verbs from
5032 * xpdf/gpdf-embeddable-view.cc (view_zoom_verb)
5033 (page_zoom_fit_width_cb, page_zoom_fit_height_cb)
5034 (page_enlarge_cb, page_shrink_cb, view_zoom_query): kill zooming
5035 machinery in embeddable view
5037 * gpdf/xpdf/pdf-view.cc (view_zoom_query): kill unused method
5039 2002-10-05 Martin Kretzschmar <m_kretzschmar@gmx.net>
5041 * gpdf/xpdf/gpdf-control-ui.xml: rename ZoomFitHeight back (2001-08-12)
5042 to ZoomFit, label it Best Fit as seen in HIG; it was never really
5045 * gpdf/xpdf/gpdf-control.cc (zoom_level_from_index, verb_ZoomIn_cb)
5046 (verb_ZoomOut_cb, set_policy_idle_cb, verb_ZoomFitWidth_cb)
5047 (verb_ZoomFit_cb): reimplement zooming (no BonoboZoomable yet;
5048 zoom-on-key-press still uses old code), rename ZoomFitHeight back
5050 (gpdf_control_class_init): kill local variables
5052 * gpdf/xpdf/pdf-view.h: add prototypes
5054 * gpdf/xpdf/pdf-view.cc (configure_size): kill this empty function
5055 (setup_pixmap): don't call configure_size
5056 (pdf_view_get_zoom, pdf_view_set_zoom, MIN_ZOOM_FACTOR)
5057 (MAX_ZOOM_FACTOR): add nice, short zooming methods
5058 (pdf_view_get_page_width, pdf_view_get_page_height): add
5060 * gpdf/shell/gpdf.c (gw_control_load_pdf, gw_open, verb_HelpAbout_cb)
5061 (gpdf_window_construct): make it compile again. The wonders of
5062 emacs dabbrev-expand and me only recompiling half of the
5065 * gpdf/AUTHORS: update Xpdf copyright notice
5067 * gpdf/.cvsignore: ignore more automake generated files
5069 2002-10-04 Martin Kretzschmar <m_kretzschmar@gmx.net>
5071 * gpdf/xpdf/pdf-view.cc (setup_pixmap): get our GdkWindow directly from
5072 our parent window, not from the win field
5073 (mainbox_realize): kill, (it only assigns to the win field)
5074 (pdf_view_construct): don't connect to "realize" to killed
5076 (real_redraw_view): don't call realize_mainbox (which would assign
5077 to win, render_page, configure_size which is empty),
5078 redraw_view_all does already render page
5079 (realize_mainbox): kill, its only caller doesn't use it anymore
5080 (real_redraw_view): rename to redraw_on_realize_cb to reflect its
5082 (redraw_view): rename to set_pdf_cb for same reason, clean if
5083 else, call redraw_view_all instead of real_redraw_view
5084 (key_press_event_cb): rename to pv_key_press_event, make it the
5085 default handler for our key_press_event, use pdf_view_page bla,
5086 not view_switch_page
5087 (button_press_event_cb): rename to pv_button_press_event, make it
5088 the default handler, check if we already have focus
5089 (class_init): install pv_key_press_event, pv_button_press_event
5090 (pdf_view_construct): don't connect key_press_event_cb,
5091 button_press_event_cb
5092 (redraw_view_all): fuse with render_page, use that in all places
5094 * gpdf/xpdf/pdf-view.h: kill win field
5096 * gpdf/xpdf/gpdf-embeddable-view.cc: s/redraw_view_all/render_page/g
5098 I don't know how to write a GtkWidget, but the code for the
5099 PdfView widget had a lot of artificial complexity, in my eyes.
5100 Is this from the time before it used GtkPixmap (1999-09-01)?
5102 2002-10-04 Martin Kretzschmar <m_kretzschmar@gmx.net>
5104 * gpdf/shell/Makefile.am (EXTRA_DIST): distribute gpdf-window-ui.xml
5106 * gpdf/shell/gpdf-window-ui.xml: new file, based on xpdf/gpdf-ui.xml
5108 * gpdf/shell/gpdf.c (GPDF_IS_NON_NULL_WINDOW): add macro
5109 (GW_RETURN_UNLESS_GW, GW_RETURN_VAL_UNLESS_GW): kill macros, use
5110 GPDF_IS_NON_NULL_WINDOW with g_return_bla instead, this looks
5113 * gpdf/xpdf/.cvsignore: ignore gnome-pdf-viewer binary
5115 * gpdf/xpdf/Makefile.am (XML_FILES): don't distribute gpdf-ui.xml
5116 (EXTRA_DIST): no ChangeLog here
5118 * gpdf/xpdf/gpdf-ui.xml: remove
5120 * gpdf/xpdf/gpdf-control-ui.xml: new file, based on
5121 bonobo-application-x-pdf-ui.xml, half-hearted attempts to be
5124 * gpdf/xpdf/gpdf-control.cc (GPDF_IS_NON_NULL_CONTROL): add, use it
5125 (gc_key_press_event): keyhandling mostly copied from embeddable
5126 (verb_GoPagePrev_cb, verb_GoPageNext_cb, verb_GoPageFirst_cb)
5127 (verb_GoPageLast_cb, gc_verbs []): add page verbs
5128 (gc_set_ui_container, gc_unset_ui_container)
5129 (gpdf_control_activate): install UI merging
5130 (gc_set_zoom_items_visibility): only a dummy
5131 (gpdf_control_construct): decompose into:
5132 (gc_setup_persist, gc_setup_widgets): construct helpers
5134 * gpdf/xpdf/gpdf-embeddable-view.cc: use pdf_view_page_bla
5136 * gpdf/xpdf/gpdf-embeddable.h (bed_t): kill already unused typedef
5138 * gpdf/xpdf/pdf-view.h (pdf_view_page_prev, pdf_view_page_next)
5139 (pdf_view_page_first, pdf_view_page_last): export
5141 * gpdf/xpdf/pdf-view.cc (first_page, last_page, next_page, prev_page):
5143 (pdf_view_page_prev, pdf_view_page_next, pdf_view_page_first)
5144 (pdf_view_page_last): methods to be called by the control (and the
5145 embeddable view) to do what their names say
5146 (IS_NON_NULL_PDF_VIEW): like IS_PDF_VIEW with obvious extra check
5148 2002-10-04 Jaka Mocnik <jaka@gnu.org>
5150 * ggv/configure.in: removed duplicate AC_OUTPUT entries.
5151 * ggv/src/ggvutils.c (ggv_quote_filename): use g_shell_quote().
5153 2002-10-02 Martin Kretzschmar <m_kretzschmar@gmx.net>
5155 * gpdf/xpdf/Makefile.am: factory file name is gnome-pdf-viewer,
5156 s/GNOME_XPDF.oafinfo/GNOME_PDF.oafinfo/
5158 * gpdf/xpdf/GNOME_PDF.oafinfo: s/XPDF/PDF/g, the factory file name
5159 is now gnome-pdf-viewer, add oaf_server entry for the control
5161 * gpdf/xpdf/bonobo-application-x-pdf.cc (gpdf_factory): multi factory
5162 function, replaces embeddable_factory, creates controls, too
5164 * gpdf/xpdf/gpdf-control.cc, xpdf/gpdf-control.h: new files, first code
5165 for PDF viewer bonobo control.
5167 * gpdf/shell/gpdf.c: handle priv field in GPdfWindow, add code for using
5168 a control instead of an embeddable (use it when USE_CONTROL != 0)
5170 * gpdf/shell/gpdf-window.h (GPdfWindow): add priv field, kill app field
5171 (struct _Component) is private, moved back to gpdf.c
5173 * gpdf/configure.in: PACKAGE and VERSION are set by AM_INIT_AUTOMAKE,
5174 kill explicit assignments
5176 * gpdf/xpdf/GNOME_XPDF.oafinfo: remove
5178 2002-10-01 Martin Kretzschmar <m_kretzschmar@gmx.net>
5180 * gpdf/xpdf/gpdf-embeddable-view.cc (gpdf_embeddable_view_construct):
5181 pdf_view_new takes persist_stream, not embeddable
5183 * gpdf/xpdf/pdf-view.cc: add priv struct, use it to get persist_stream,
5185 (pdf_view_new): take persist_stream, not embeddable
5186 (pdf_view_construct): ditto, store it in priv
5188 (class_init): we need finalize:
5189 (pv_finalize): for priv
5190 (pv_destroy): unref priv->persist_stream
5192 * gpdf/xpdf/pdf-view.h: use BEGIN_GNOME_DECLS, we have a priv field now,
5193 kill bed field, new and construct take a GPdfPersistStream now, not
5194 GPdfEmbeddable (of course, this is still ugly)
5196 Various source files: remove \n from g_message calls,
5197 update Michael's email address, s/Helix Code/Ximian/
5199 2002-10-01 Jaka Mocnik <jaka@gnu.org>
5201 * ggv/src/main.c (save_session): fixed possible buffer overflow.
5203 2002-09-30 Martin Kretzschmar <m_kretzschmar@gmx.net>
5205 * gpdf/xpdf/gpdf-embeddable.h (GPdfEmbeddable): kill already commented
5207 (GPdfEmbeddableClass): kill pdf_changed signal slot
5209 2002-09-30 Martin Kretzschmar <m_kretzschmar@gmx.net>
5211 * gpdf/xpdf/pdf-view.cc: get PDFDoc from GPdfPersistStream, not
5212 directly from our embeddable (various places).
5214 * gpdf/xpdf/Makefile.am: fix gui variable, add gpdf-persist-stream
5217 * gpdf/xpdf/bonobo-application-x-pdf.cc: include GlobalParams.h,
5218 (embeddable_factory): create a GPdfPersistStream first, then
5219 create an embeddable.
5221 * gpdf/xpdf/gpdf-embeddable.cc (bed_free_data): move to
5222 gpdf-persist-stream.cc as delete_pdf_doc_full
5223 (load_pdf_from_stream): move to gpdf-persist-stream.cc
5224 (finalize): free priv field
5225 (class_init): kill pdf_changed signal, GPdfPersistStream has
5226 set_pdf signal, use finalize
5227 (gpdf_embeddable_add_interfaces): kill
5228 (gpdf_embeddable_construct): take GPdfPersistStream param,
5229 use bonobo_object_add_interface not gpdf_embeddable_add_intf
5230 (gpdf_embeddable_new): take GPdfPersistStream param
5232 * gpdf/xpdf/gpdf-embeddable.h: remove extern "C" around bonobo
5233 includes, they protect themselves. Introduce private struct,
5234 still public. Use GPdfPersistStream
5236 * gpdf/xpdf/gpdf-persist-stream.cc, xpdf/gpdf-persist-stream.h:
5237 files for new GPdfPersistStream class. Contains PDF loading code
5239 * gpdf/xpdf/BonoboStream.h: hide GList before including gnome headers
5241 2002-09-29 Jaka Mocnik <jaka@gnu.org>
5243 * ggv/bonobo/ggv-postscript-view.c (load_ps_from_file): properly unescape
5245 * ggv/src/ggvutils.c (ggv_filename_to_uri): use
5246 gnome_vfs_get_uri_from_local_path().
5248 2002-09-26 Jaka Mocnik <jaka@gnu.org>
5250 * ggv/src/ps.c: fixed unsafe sscanf usage. reported in iDEFENSE Security
5251 Advisory 09.26.2002: Exploitable Buffer Overflow in gv
5253 2002-09-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
5255 * gpdf/configure.in: don't use macro dir, don't call AC_ARG_PROGRAM
5256 ( AM_INIT_AUTOMAKE does this), inline autoheader templates from
5257 acconfig.h, use AC_HELP_STRING where appropriate.
5259 * gpdf/acconfig.h: Remove.
5261 * gpdf/autogen.sh: switch from macro dir to gnome-common.
5263 2002-09-24 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5265 * gpdf/shell/gpdf-window.h: kill the Container typedef, everybody uses
5267 (Component): rename container field to gpdf_window
5269 * gpdf/shell/gpdf.c (gw_has_contents): ``readability function'', use it
5270 instead of testing gpdf_window->view_widget
5271 (gw_drag_data_received): inline code from container_new, clean it
5272 (gw_open_dialog): ditto
5273 (main): moe gpdf_popt_options, poptContext globals here, make
5274 command line handling an idle handler -- again, shamelessly stolen
5276 (handle_cmdline_args, create_window): command line handlers
5277 (container_new): not needed anymore, kill
5279 2002-09-24 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5281 * gpdf/shell/gpdf.c: s/containers/window_list/g and move definition
5282 down to GPdfWindowClass
5283 (GW_RETURN_NULL_UNLESS_GW): kill this macro, use
5284 GW_RETURN_VAL_UNLESS_GW
5285 (gw_close_all): write while loop with less ink
5287 2002-09-23 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5289 * gpdf/xpdf/bonobo-application-x-pdf-ui.xml: kill HelpAbout verb,
5290 only the shell implements it.
5292 2002-09-23 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5294 * gpdf/shell/gpdf.c (gw_setup_dnd): use TARGET_URI_LIST enum constant
5295 in GtkTargetEntry drag_types[]
5296 (component_destroy): rename to gw_component_destroy, move down to
5297 its only caller gw_destroy, add != NULL assertion
5298 (gw_destroy): call it with new name
5299 (container_set_view): rename to gw_add_component_view_to_ui, add
5300 parameter asserts, use bonobo_client_site_new_view_full, don't
5301 call bonobo_wrapper_set_visibility, bonobo_view_frame_set_covered
5302 (container_launch_component): s/container/gw/, add gpdf_window
5303 parameter, get BonoboItemContainer from it, kill goad_id
5304 parameter, always use GPDF_EMBEDDABLE_IID (new #define)
5305 (container_activate_component): s/container/gw/, kill goad_id
5306 param, check gpdf_window param, use gw_launch_component
5307 (open_pdf): rename to gw_open, factor out PersistStream loading
5308 into gw_component_load_pdf
5309 (container_destroy): kill,
5310 (container_new): use gw_close instead
5312 Kill some prototype declarations.
5314 2002-09-19 Jaka Mocnik <jaka@gnu.org>
5316 * ggv/src/ggv-prefs-ui.c (ggv_prefs_dialog_new): set spacing between
5319 2002-09-18 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5321 * gpdf/ChangeLog: merge in xpdf/ChangeLog and shell/ChangeLog using
5322 the excellent MergeLog.awk and Emacs ediff tools.
5324 * gpdf/shell/ChangeLog: remove
5326 * gpdf/xpdf/ChangeLog: remove
5328 2002-09-17 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5330 * gpdf/xpdf/gpdf-embeddable.cc (load_pdf_from_stream): don't try to
5331 check for catalog after having discovered that !pdf->isOk and
5332 having already deleted it. I introduced my first goto to this
5333 code. Edsger Dijkstra in memoriam
5335 2002-09-17 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5337 * gpdf/shell/gpdf.c (container_exit_cmd): => (verb_FileExit_cb)
5338 (gw_close_all): close all windows, causing the program to exit
5339 (verb_FileExit_cb): use gw_close_all
5340 (container_open_cmd): => (verb_FileOpen_cb) which calls the new
5341 (gw_open_dialog): extract file selection code into
5342 (gw_ask_for_filename):
5343 (file_dialog_delete_event): move down to gw_ask_for_filename
5344 (set_ok): ditto, rename to file_dialog_ok
5346 2002-09-17 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5348 * gpdf/shell/gpdf.c (container_close_cmd): turn into
5349 (verb_FileCloseWindow_cb) with BonoboUIVerbFn prototype
5350 (container_dump_cmd): ditto (verb_DebugDumpXml_cb)
5351 (container_about_cmd): ditto (verb_HelpAbout_cv), Michael says I
5352 maintain gpdf now, added Ravi Pratap, Xpdf copyright holder is
5353 Glyph & Cog, LLC, Derek B. Noonburg's pdf consulting business
5354 (verbs []) rename: gw_verbs, make static, move to where it is
5355 needed: right before gw_setup_toplevel_ui, use new verb callback
5358 2002-09-17 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5360 * gpdf/shell/gpdf.c (filenames_dropped): turn into
5361 (gw_drag_data_received) use for for (ed.'s note: not a typo)
5362 iterating the list, not while, free list after use
5363 (class_init): install gw_drag_data_received as default handler for
5365 (gw_setup_dnd): don't connect filenames_dropped to
5367 (gw_delete_event): renamed from (gw_delete) for consistency with
5370 2002-09-15 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5372 * gpdf/xpdf/Makefile.am: don't build gpdf here
5374 * gpdf/xpdf/gpdf.cc: move to shell/gpdf.c
5376 2002-09-15 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5378 * gpdf/shell/gpdf.c (gw_destroy): destructor (code from container_destroy)
5379 (gw_delete): delete_event default handler
5380 (gw_close): other half of container_destroy
5381 (gpdf_window_construct): no need to gtk_object_set_data
5382 "container_data", don't connect to delete_event
5383 (class_init): init parent_class, install destroy and delete_event
5385 (container_close): kill, just use gw_close
5386 (container_close_cmd): call gw_close
5388 2002-09-15 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5390 * gpdf/shell/gpdf.c: include gpdf-window.h, pull out struct defns,
5391 implement GPdfWindow class here for now (let's see if it's more
5393 (gpdf_window_new, gpdf_window_construct): new (with helper
5395 (container_new): mostly moved to gpdf_window_construct, use that
5396 (container_destroy): don't explicitly destroy and free the
5399 * gpdf/shell/gpdf-window.h: new file, new class GPdfWindow (was
5402 * gpdf/shell/gpdf.c: M-x mark-whole-buffer, M-x indent-region
5404 2002-09-15 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5406 * gpdf/shell/Makefile.am: create, bin_PROGRAMS = gpdf and friends
5408 * gpdf/shell/gpdf.c: cvs copy of xpdf/gpdf.cc, Code was plain C except
5409 some extern "C" declarations :-), removed them and it compiled,
5410 don't include xpdf/config.h, bonobo-application-x-pdf.h
5411 (container_about_cmd): s/xpdfVersion/VERSION/ so we really don't
5412 need xpdf/config.h (FIXME: unify aconf.h and config.h?)
5414 New directory. Start ChangeLog
5416 2002-09-15 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5418 * gpdf/configure.in, Makefile.am: add subdirectory
5420 * gpdf/shell: new directory
5422 2002-09-14 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5424 * gpdf/xpdf/gpdf-embeddable-view.cc (destroy_view): kill already commented
5425 out, previously unused destructor
5426 (gev_destroy): set mainbox member = NULL
5428 * gpdf/xpdf/pdf-view.cc (pv_destroy): new destructor
5429 (class_init): use it, init parent_class
5430 (pdf_view_construct): reindent
5432 2002-09-14 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5434 * gpdf/xpdf/gpdf-embeddable-view.h (GPdfEmbeddableView): kill bed member
5436 * gpdf/xpdf/gpdf-embeddable-view.cc: removed newlines from g_message calls
5437 (class_init): use checked casts, we now have destroy, no need to
5438 keep a ref to our embeddable here
5439 (gev_destroy): new destructor
5441 2002-09-14 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5443 * gpdf/xpdf/gpdf-embeddable-view.cc (gpdf_embeddable_view_new):
5445 (view_create_menus, view_remove_menus): rename to
5446 (gev_set_ui_container, gev_unset_ui_container): and rewrite in EOG
5449 2002-09-13 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5451 * gpdf/xpdf/gpdf-embeddable-view.cc (gev_activate): chain up to parent's
5452 activate handler, not to grand parent's
5454 2002-09-13 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5456 * gpdf/xpdf/bonobo-application-x-pdf.cc (embeddable_factory): don't
5457 initialize embeddable (where did that come from?)
5459 * gpdf/xpdf/gpdf-embeddable-view.cc (gpdf_embeddable_view_construct): don't
5460 handle "activate" by connecting...
5461 (class_init): ...install a default signal handler...
5462 (gev_activate): cleaned up "activate" handler, renamed from
5465 2002-09-13 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5467 * gpdf/xpdf/Makefile.am: add pdf-view.cc, pdf-view.h
5469 * gpdf/xpdf/gpdf-embeddable-view.cc (view_is_good, first_page, last_page)
5470 (next_page, prev_page, configure_size, setup_size, setup_pixmap)
5471 (render_page, realize_mainbox, redraw_view_all, real_redraw_view)
5473 (first_page, last_page, next_page, prev_page, redraw_view_all):
5474 only declare here, use definitions from pdf-view.cc
5475 (page_first_cb, page_next_cb, page_prev_cb, page_last_cb):
5476 s/view_data_t/PdfView/ etc.
5477 (view_switch_page): kill
5478 (zoom_to_fit): leave only declaration
5479 (view_zoom_verb, page_zoom_fit_width_cb, page_zoom_fit_height_cb)
5480 (page_enlarge_cb, page_shrink_cb, view_zoom_query): s///
5481 (verbs[]): make static
5482 (view_create_menus, view_remove_menus, view_activate): s///
5483 (button_press_event_cb, gesture_page_event_cb)
5484 (gesture_zoom_event_cb): kill
5485 (key_press_event_cb): s///, only handle scrolling here
5486 (mainbox_realize): kill
5487 (destroy_view): comment out for now
5489 (gpdf_embeddable_view_construct): mainbox = pdf_view_new,
5490 remove mainbox construction code
5492 * gpdf/xpdf/pdf-view.cc (view_is_good): s/view_data_t/PdfView/
5493 (first_page, last_page, next_page, prev_page): non-static
5494 (setup_pixmap): view_data is our mainbox now
5495 (render_page): s/view_data_t/PdfView/ s/view_data/view/
5496 (redraw_view_all): ditto
5497 (realize_mainbox): /GPdfEmbeddableView/PdfView/ etc.
5498 (real_redraw_view): ditto
5499 (redraw_view): ditto, view is our mainbox now
5500 (page_first_cb, page_next_cb, page_prev_cb, page_last_cb): kill
5501 here (verb implementations)
5502 (view_switch_page): s/// as above
5503 (zoom_to_fit): non-static, commented out for now
5504 (view_zoom_verb, view_zoom_query): s/// as above
5505 (page_zoom_fit_width_cb, page_zoom_fit_height_cb)
5506 (page_enlarge_cb, page_shrink_cb): kill here (verb impl)
5507 (verbs[], view_create_menus, view_remove_menus, view_activate):
5508 kill here (bonobo stuff)
5509 (gesture_page_event_cb, gesture_zoom_event_cb): s///
5510 (key_press_event_cb): don't handle scrolling here, s///
5511 (destroy_view): kill here
5512 (pdf_view_construct): kill everything except mainbox construction
5514 * gpdf/xpdf/gpdf-embeddable-view.h: view_data_t is no longer a typedef'd
5515 GPdfEmbeddableView. Remove PdfView related members from
5518 * gpdf/xpdf/pdf-view.h: s/GPdfEmbeddableView/PdfView/ with some AI ;)
5519 GPdfEmbeddableView still typedef'd view_data_t. Super class
5522 Split bonobo / non-bonobo parts of GPdfEmbeddableView:
5524 * gpdf/xpdf/pdf-view.h: new file (cvs copy of gpdf-embeddable.h)
5526 * gpdf/xpdf/pdf-view.c: ditto. These will contain non-bonobo parts
5528 2002-09-13 Jaka Mocnik <jaka@gnu.org>
5530 * ggv/bonobo/main.c: per-display registration of factory.
5531 * ggv/src/main.c (create_window): graciously handle cases when no
5532 windows could be opened because of errors.
5533 * ggv/src/ggv-prefs-ui.c (ggv_prefs_dialog_new): added colons as
5534 suggested by Muktha.
5535 added ESC as an accelerator for the Cancel button.
5536 * ggv/bonobo/ggv-sidebar.c (ggv_sidebar_construct): add tool tips to
5537 "toggle marked" and "clear all" buttons.
5538 * ggv/ggv.desktop.in (Exec): added %U so that URIs are passed to
5539 launcher (patch by Arvind Samptur).
5541 2002-09-08 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5543 * gpdf/xpdf/GOutputDev.h: add missing gdk include
5545 * gpdf/xpdf/GOutputDev.cc (GOutputDev::drawLink): don't #if 0, just don't
5547 (GOutputDev::drawImage, GOutputDev::drawImageMask): use Michael's
5548 broken image handling code from gpdf 0.90.1 instead of my even
5551 * gpdf/xpdf/gpdf-embeddable-view.cc (render_page): disable links here.
5552 (realize_mainbox): view == view_data now. Don't have to
5553 gtk_object_get_data anymore
5554 (real_redraw_view): ditto
5555 (redraw_view): ditto, make it static again
5556 (gpdf_embeddable_view_construct): connect redraw_view to
5557 pdf_changed signal, don't gtk_object_set_data "view_data"
5558 (view_switch_page, view_zoom_verb, view_activate)
5559 (button_press_event_cb, gesture_page_event_cb)
5560 (gesture_zoom_event_cb, key_press_event_cb, mainbox_realize): make
5563 * gpdf/xpdf/gpdf-embeddable.cc (class_init): add "pdf_changed" signal
5564 (load_pdf_from_stream): emit it, don't redraw_view explicitly
5566 * gpdf/xpdf/gpdf-embeddable.h: add signal to class struct
5568 2002-09-01 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5570 * gpdf/xpdf/gpdf-embeddable.cc (gpdf_embeddable_view_factory): move here
5571 from bonobo-application-x-pdf.cc
5573 * gpdf/xpdf/GOutputDev.cc (GOutputDev::drawLink): comment out for
5574 now. Segfaults. I don't understand this.
5576 * gpdf/xpdf/bonobo-application-x-pdf.cc: move view_data_t related code
5577 ( except view_factory) to gpdf-embeddable-view.cc, remove lots of
5580 * gpdf/xpdf/gpdf-embeddable-view.h: new files with new GPdfEmbeddableView
5583 * gpdf/xpdf/gpdf-embeddable-view.cc:
5585 * gpdf/xpdf/gtkgesture.h: double include protection
5587 * gpdf/xpdf/XOutputDev.h: add missing include "Object.h"
5589 * gpdf/xpdf/GOutputDev.h: add missing include "Object.h"
5591 2002-08-31 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5593 * gpdf/xpdf/gpdf-embeddable.cc:
5595 * gpdf/xpdf/gpdf-embeddable.h: bed_t: Replace Data Value with Object
5596 [Fowler] i.e. turn it into the GPdf::Embeddable class.
5598 * gpdf/xpdf/bonobo-application-x-pdf.cc: temporarily make some functions
5600 (view_is_good): move up in file, use it in more places.
5601 (setup_pixmap): remove window parameter, get it from view_data
5602 (destroy_embed): move to GPdfEmbeddable::destroy
5603 (embeddable_factory): drastically simplify, work is done in
5604 GPdfEmbeddable::new and friends
5605 remove count of running_objects.
5607 * gpdf/xpdf/gpdf-util.h: new file
5608 (E_MAKE_TYPE): copied from gal
5610 2002-08-29 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5612 * gpdf/xpdf/bonobo-application-x-pdf.cc: move struct bed_t to
5613 gpdf-embeddable.{cc,h}
5614 (setup_pixmap) remove doc parameter. (Get it from view_data param)
5616 * gpdf/xpdf/gpdf-embeddable.cc: New files to contain the embeddable class
5618 * gpdf/xpdf/gpdf-embeddable.h:
5620 * gpdf/xpdf/gpdf.cc (main): remove call to setlocale (done in
5621 gnome_init...), ignore return value of oaf_init, let bonobo_init
5622 figure out which orb to use.
5624 * gpdf/xpdf/Link.h: declare some methods as const.
5625 * gpdf/xpdf/Link.cc:
5627 2002-08-22 Jaka Mocnik <jaka@gnu.org>
5629 * ggv/src/ggv-prefs-ui.c (ggv_prefs_dialog_new): string change -
5630 "Jump to beginning of page etc." -> "Jump to beginning of page".
5631 * ggv/bonobo/ggv-control.c (ggv_control_new): removed auto-jump as it
5632 was moved to ggv-postscript-view.c.
5633 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_goto_page):
5634 respect auto-jump setting everytime we switch pages.
5636 2002-08-21 Jaka Mocnik <jaka@gnu.org>
5638 * ggv/src/gtkgs.c: set step_increment to make stepper buttons work.
5639 * ggv/bonobo/ggv-postscript-view.c (sidebar_key_press_event): handle
5640 presses of Left/Right/Up/Down to pan.
5641 * ggv/src/gtkchecklist.c (key_press_event): handle key presses in our
5642 own fashion - PgUp/Dn do the same as in ps view - move one page
5645 2002-08-20 Jaka Mocnik <jaka@gnu.org>
5647 * ggv/bonobo/ggv-postscript-view.c (load_ps_from_file): don't make a
5648 temporary copy if it is a local file.
5649 * ggv/src/gtkgs.c (gtk_gs_size_allocate): removed gdk_window_move() calls
5650 before changing adjustments as this will do the move anyway. also
5651 removed explicit event processing, as this caused trouble with
5652 zoom spin button and the infamous "erratic scrolling" bug.
5653 * ggv/bonobo/ggv-postscript-view.c (set_file_items_sensitivity): make
5654 Save & Print items insensitive when viewing a pdf file.
5655 * ggv/src/ggv-window.c (ggv_window_load): unescape URI for display.
5657 2002-08-12 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5659 * gpdf/xpdf/GOutputDev.cc: make it compile (without Type 3 support for now)
5661 * gpdf/xpdf/bonobo-application-x-pdf.cc: Derek has removed the global xref
5662 variable. Remove the ``Ugly global xref fix''
5664 2002-08-11 Ross Burton <ross@burtonini.com>
5666 * ggv/ggv.desktop.in: Add encoding keyword, and fix up Terminal and
5667 Categories keywords.
5669 2002-08-09 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5671 * gpdf/xpdf/BonoboStream.h: ditto.
5673 * gpdf/xpdf/BonoboStream.cc: sync with FileStream.
5675 Merge in Xpdf 1.01 files
5677 * gpdf/xpdf/GOutputDev.cc (drawImage), (drawImageMask): use gdk_image_get
5680 2002-08-09 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5682 * gpdf/goo/Makefile.am: ditto.
5684 * gpdf/configure.in: merged in Xpdf 1.01 changes.
5686 2002-08-05 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5688 * gpdf/xpdf/GOutputDev.h: ditto.
5690 * gpdf/xpdf/GOutputDev.cc: sync with XOutputDev.cc.
5692 * gpdf/xpdf/bonobo-application-x-pdf.cc (printCommands): is in Gfx.cc now
5694 2002-08-04 Satyajit Kanungo <satyajit.kanungo@wipro.com>
5696 * ggv/src/gtkgs.c : Added gdk_pointer_ungrab while showing the error
5697 message. Fixes #90639 .
5699 2002-08-04 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
5701 * gpdf/xpdf/BonoboStream.cc: merge in decryption code from FileStream 0.92
5702 (close): new method, from FileStream,
5703 (~bonoboStream): use close
5705 * gpdf/xpdf/BonoboStream.h: #define bonoboStreamBufSize as in FileStream
5707 (bonoboStream): use it.
5709 2002-08-04 Jaka Mocnik <jaka@gnu.org>
5711 * ggv/bonobo/ggv-postscript-view-ui.xml: "Move to" -> "Go to".
5713 2002-08-01 Jaka Mocnik <jaka@gnu.org>
5715 * ggv/src/ggv-file-sel.[ch]: a file selection dialog for GGV. nothing
5716 special for now except that it returns URIs and has a convenience
5717 function to run a selector in modal mode and return the selected file.
5718 * ggv/bonobo/ggv-postscript-view.c (verb_FileSaveMarked): use our file
5719 selector instead of deprecated bonobo one.
5720 * ggv/src/ggv-window.c (verb_FileOpen): likewise.
5722 2002-07-29 Jaka Mocnik <jaka@gnu.org>
5724 * ggv/configure.in: the last of the single-digit micro version releases:
5725 1.99.9. tagged as GGV_1_99_9. released a tarball.
5726 * ggv/bonobo/ggv-postscript-view.c (verb_FileSaveMarked): use VFS enabled
5728 * ggv/src/ggv-window.c (sync_toolbar_style): respect both_horiz toolbar
5729 style when using GNOME defaults for toolbar style.
5730 (verb_FileOpen): use VFS enabled file selector.
5731 * ggv/src/main.c (create_windows_from_cmdline): escape file names to be
5733 * ggv/src/ggvutils.c (ggv_filename_to_uri): new function. escape file name
5734 to conform to URI specification.
5736 2002-07-28 Jaka Mocnik <jaka@gnu.org>
5738 * ggv/bonobo/ggv-postscript-view.c (impl_GNOME_GGV_PostScriptView_reload):
5739 update page list & status.
5740 * ggv/bonobo/ggv-postscript-view.c (verb_FileSaveMarked): uses bonobo
5742 (ps_view_save_doc): save doc to URI using gnome vfs.
5743 removed all file selection related stuff.
5744 * ggv/ggv.schemas: fixed some typos.
5745 removed file selection size keys.
5746 * ggv/src/ggv-prefs.[ch]: removed file selector width/height.
5747 * ggv/bonobo/ggv-postscript-view.c (load_ps_from_file): uses gnome VFS
5748 for accessing the files.
5749 * ggv/src/ggv-window.c (verb_FileOpen): uses bonobo file selector.
5750 removed all file selection related stuff.
5752 2002-07-27 Jaka Mocnik <jaka@gnu.org>
5754 * ggv/bonobo/ggv-control.c (ggv_control_create_ui): set pixbuf to fit
5756 * ggv/configure.in: commented out check for Xinerama.
5757 * ggv/bonobo/Makefile.am: commented out use of Xinerama libs.
5758 * ggv/src/gtkgs.c (compute_?dpi): reverted the broken Xinerama patch.
5759 * ggv/bonobo/ggv-control-ui.xml: added pixmap for fit width command.
5760 added a fit width button to toolbar.
5761 * ggv/src/stock/fitwidth.png: image for the fit width button, which was
5762 kindly provided by johannes at sipsolutions dot de.
5764 2002-07-23 Jaka Mocnik <jaka@gnu.org>
5766 * ggv/src/main.c (main): handle stdin if '-' is passed as the cmdline
5769 2002-07-22 Jaka Mocnik <jaka@gnu.org>
5771 * ggv/src/main.c (create_window): parse geometry if given.
5772 (main): added geometry option.
5774 2002-07-20 Jaka Mocnik <jaka@gnu.org>
5776 * ggv/src/ggv-ui.xml: added Edit/Layout menu instead of the
5777 toplevel Settings menu.
5778 * ggv/bonobo/ggv-control-ui.xml: added accelerators for zoom items.
5779 * ggv/bonobo/ggv-control.c (ggv_control_key_press_event): move to top
5780 of page _after_ switching page.
5781 * ggv/src/gtkgs.c (gtk_gs_scroll_to_edge): fixed a nasty typo.
5783 2002-07-17 Michael Meeks <michael@ximian.com>
5785 * ggv/bonobo/GNOME_GGV.server.in.in: rename to this,
5786 point at libexecdir.
5788 * ggv/bonobo/Makefile.am: install component in $(libexecdir)
5790 2002-07-07 Jaka Mocnik <jaka@gnu.org>
5792 * ggv/src/ggv-ui.xml: changed order of help menus.
5793 * ggv/bonobo/ggv-sidebar.c (page_list_selection_changed): scroll to cell
5796 2002-07-07 Jaka Mocnik <jaka@gnu.org>
5798 * ggv/configure.in: include Xlib.h when checking for Xinerama header.
5800 2002-07-04 Jaka Mocnik <jaka@gnu.org>
5802 * ggv/bonobo/ggv-postscript-view-ui.xml: changed navigation accelerators
5803 to use Control instead of Alt.
5804 * ggv/released 1.99.8 tarball, tagged as GGV_1_99_8.
5806 2002-07-02 Jaka Mocnik <jaka@gnu.org>
5808 * ggv/bonobo/ggv-postscript-view.c (notify_page_count_change): recreate
5810 * ggv/src/gtkgs.c: fixed a number of segfaults when a non-realized widget
5813 2002-07-02 Jaka Mocnik <jaka@gnu.org>
5815 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_create_ui): moved
5816 object_set() out of freeze/thaw pair. it seems to fix the vicious bug
5817 #86235. thank to satyajit for this one...
5819 2002-06-30 Jaka Mocnik <jaka@gnu.org>
5821 * ggv/src/ggv-window.c (sync_settings_popup_items): fix a bug that caused
5822 GGV not to freeze ui component twice instead of freeze/thaw. popup
5823 menu crashes the control due to accel group trouble, though...
5825 2002-06-27 Jaka Mocnik <jaka@gnu.org>
5827 * ggv/bonobo/ggv-control.c (ggv_control_destroy): fixed zoom_control
5830 2002-06-20 jacob berkman <jacob@ximian.com>
5832 * ggv/src/ggv-window.c (verb_HelpAbout): fix tyop
5834 2002-06-20 Abel Cheung <maddog@linux.org.hk>
5836 * ggv/src/ggv-window.c (verb_HelpAbout): Added translator credits and
5837 documentor placeholders.
5839 2002-06-19 Jaka Mocnik <jaka@gnu.org>
5841 * ggv/wrap sequences of bonobo_ui_component_set_prop() in a freeze/thaw
5843 * ggv/src/ps.c (readline): skip blanks & 0x0c chars in front of DSC
5844 comments - chema came accross a PS file created from dvi that
5845 contains 0x0c char in front of a DSC comment. it seems appropriate
5846 that we handle such cases.
5848 2002-06-16 Jaka Mocnik <jaka@gnu.org>
5850 * ggv/src/main.c: fixed some typos.
5852 2002-06-14 Jaka Mocnik <jaka@gnu.org>
5854 * ggv/bonobo/ggv-postscript-view.c (load_ps): notify of a possible status
5856 * ggv/src/ggv-window.c (control_property_changed_handler): get error
5857 message from the "status" property of the control.
5858 * ggv/bonobo/ggv-postscript-view.c
5859 (ggv_postscript_view_get_default_orientation): fixed a memory leak.
5860 * ggv/src/gtkgs.[ch]: add a status field and update it.
5861 improved scroll region outlining.
5863 2002-06-12 Jaka Mocnik <jaka@gnu.org>
5865 * ggv/tagged as GGV_1_99_7. released a tarball.
5866 * ggv/bonobo/ggv-sidebar.c (ggv_sidebar_page_changed): fixed a bug that
5867 caused not to select the first page.
5868 * ggv/removed a few warnings.
5869 * ggv/src/gtkgs.c (gtk_gs_munge_adjustments): set adjustments' page
5872 2002-06-12 Jaka Mocnik <jaka@gnu.org>
5874 * ggv/src/ggv-window.c (prefs_changed): apply visibility setting
5875 changes immediately.
5876 * ggv/src/ggv-prefs-ui.c (ggv_prefs_dialog_new): removed "by default"
5877 from strings. This behaviour is now less confusing.
5878 * ggv/*/*.c: dewarningization. it should now compile cleanly with -Wall.
5880 2002-06-11 Jaka Mocnik <jaka@gnu.org>
5882 * ggv/src/ps.c: use the same orientation enums as GtkGS.
5883 * ggv/src/gtkgs.c: take care of per-page orientations.
5884 * ggv/src/main.c: handle the SIGINT and SIGTERM.
5886 2002-06-08 Jaka Mocnik <jaka@gnu.org>
5888 * ggv/src/ggv-ui.xml: fixed a typo.
5889 * ggv/idl/Ggv.idl: added reload() method to GgvPostScriptView interface.
5890 * ggv/gtkgs.[ch] (gtk_gs_reload): a new function.
5891 * ggv/bonobo/ggv-postscript-view.c (document_changed-cb): use above.
5892 (impl_GNOME_GGV_PostScriptView_reload): implement the above method.
5893 * ggv/src/ggv-window.c (verb_FileReload): invoke reload() method of
5894 GgvPostScriptView interface.
5895 * ggv/src/ggv-window.c (gnome_toolbar_prefs_changed): respect GNOME
5897 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_prefs_changed):
5898 handle setting changes here and not in gtkgs.c.
5899 (ggv_postscript_view_construct): set above to be called when
5900 GtkGS related settings change.
5901 (ggv_postscript_view_destroy): remove the above notification.
5902 * ggv/ggv-prefs-ui.c (ggv_prefs_dialog_apply): don't set OK button
5904 * ggv/src/ggv-prefs.c (ggv_prefs_changed): fixed a typo.
5905 * ggv/src/Makefile.am, bonobo/Makefile.am: fix the locale dir.
5907 2002-06-08 Hasbullah Bin Pit <sebol@ikhlas.com>
5909 * ggv/configure.in: Added Malay (ms)to ALL_LINGUAS.
5910 * ggv/po/ms.po: Added Malay Translation.
5912 2002-06-05 Yanko Kaneti <yaneti@declera.com>
5914 * ggv/configure.in: (ALL_LINGUAS) Added Bulgarian (bg).
5916 2002-06-05 Federico Mena Quintero <federico@ximian.com>
5918 GGV still compiles with a lot of warnings if you do -Wall, but
5919 these seem to fix the most egregious control bugs.
5921 * ggv/src/gtkgs.c (gtk_gs_set_page_size): Do not index on pageid if
5922 pageid is less than zero.
5924 * ggv/bonobo/ggv-postscript-view.c (set_file_items_sensitivity): See
5925 if the UI component is bound to a container before trying to set
5927 (_set_page_items_sensitivity): Likewise.
5929 * ggv/bonobo/ggv-control.c (sync_zoom_level_items): Likewise.
5930 (_set_zoom_items_sensitivity): Likewise.
5931 (ggv_control_construct): Save the GConfClient notify ID.
5932 (ggv_control_destroy): Remove the GConfClient notification so the
5933 control doesn't get notified after it is destroyed.
5935 2002-06-01 Jaka Mocnik <jaka@gnu.org>
5937 * ggv/src/gtkgs.c: added proper scrolling interface.
5938 * ggv/bonobo/*: fixed ref counting issues.
5939 * ggv/the above should fix most crashes, warnings, assertions, etc.
5941 2002-05-31 Pablo Saratxaga <pablo@mandrakesoft.com>
5943 * gpdf/configure.in: Added Vietnamese (vi) and Walloon (wa) to All_LINGUAS.
5945 2002-05-30 Jaka Mocnik <jaka@gnu.org>
5947 * ggv/bonobo/ggv-sidebar.[ch]: fixed a stupid typo. this fixes the lost
5950 2002-05-29 Federico Mena Quintero <federico@ximian.com>
5952 * ggv/bonobo/ggv-postscript-view.c
5953 (ggv_postscript_view_add_interfaces): Pass the OAFIID to
5954 bonobo_persist_stream_new() as well.
5956 2002-05-27 Kjartan Maraas <kmaraas@gnome.org>
5958 * ggv/src/ggv-pref-ui.c: Mark some strings for translation.
5960 2002-05-26 Jaka Mocnik <jaka@gnu.org>
5962 * ggv/src/ggv-prefs.[ch], src/ggv-prefs-ui.[ch]: enable use of GNOME-wise
5963 defaults or custom settings for toolbar style.
5964 * ggv/src/ggv-window.c (sync_toolbar_style): comply to the above.
5965 * ggv/bonobo/ggv-postscript-view.c (save_file_sel_ok_clicked): always hide
5967 * ggv/src/gtkgs.c (gtk_gs_get_postscript): fixed a crash when an EPS file
5970 2002-05-22 Jaka Mocnik <jaka@gnu.org>
5972 * ggv/src/main.c: applied a patch from jacob berkman that fixes session
5975 2002-05-18 Jaka Mocnik <jaka@gnu.org>
5977 * ggv/src/main.c (main): perform bonobo_debug_shutdown() before
5980 * ggv/bonobo/main.c (ggv_postscript_viewer_factory): add a handler for
5981 TERM signal that performs a bonobo_debug_shutdown() in order to
5982 track reference count.
5984 2002-05-14 Pablo Saratxaga <pablo@mandrakesoft.com>
5986 * ggv/configure.in: Added Vietnamese (vi) to ALL_LINGUAS
5988 2002-05-13 Kjartan Maraas <kmaraas@gnome.org>
5990 * ggv/src/ggv-ui.xml: Add mnemonics and correct Help menu.
5992 2002-05-13 Jaka Mocnik <jaka@gnu.org>
5994 * ggv/ggv.desktop.in: changed name to GGV PostScript Viewer. fixes #81366.
5995 * ggv/bonobo/ggv-postscript-view-ui.xml:
5996 * ggv/bonobo/ggv-control-ui.xml:
5997 * ggv/src/ggv-ui.xml:
5998 some changes to be more HIG compliant (although not fully, as
5999 I personally don't like some suggestions). fixes #81230.
6000 * ggv/src/main.c (main): added --windows parameter specifying how many
6001 empty windows should be created (needed to restore the number of
6002 windows from old session in order not to confuse the window
6004 (main): connect "save_yourself" and "die" signals to SM client.
6005 (save_session): save session state (documents & empty windows).
6006 command line is used for this - no persistent data is stored.
6007 (client_die): nicely kill all windows.
6008 * ggv/src/ggv-window.c (verb_FileOpen): connect delete event of file
6009 selection to appropriate callback. fixes #81540.
6010 * ggv/fixed a few bugs with setting of sensitivity of menu items.
6012 2002-05-12 Jaka Mocnik <jaka@gnu.org>
6014 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_construct):
6015 fixed a stupid bug that caused us not to unref properly.
6016 (ggv_postscript_view_destroy): fixed a reference counting bug.
6018 2002-05-11 Jaka Mocnik <jaka@gnu.org>
6020 * ggv/applied a patch from Satyajit Kanungo <satyajit.kanungo@wipro.com>
6021 fixing bug #81215 - now it compiles with latest GDK libs
6022 * ggv/src/gtkgs.c gdk_send_xevent changed to it's new signature.
6023 * ggv/configure.in: version 1.99.5. tag GGV_1_99_5.
6024 * ggv/release a new tarball.
6026 2002-05-11 Jacob Berkman <jacob@ximian.com>
6028 * ggv/src/gtkgs.c (gtk_gs_next_page): fix previous commit to not break
6029 with gtk 2.0. work also with gtk 2.1 by not using *private* gdk
6030 calls; just use XSendEvent
6031 * ggv/configure.in: include X libs in our link line
6033 2002-05-07 Jaka Mocnik <jaka@gnu.org>
6035 * ggv/src/ggv-window.c (verb_FileReload): switch back to previously
6036 displayed page after reloading.
6037 * ggv/bonobo/ggv-postscript-view.c (document_changed_cb): redisplay
6038 the page that was displayed before reloading.
6040 2002-05-06 Murray Cumming <murrayc@usa.net>
6042 * ggv/src/ggv-window.c: Replaced use of bonobo_window_construct() with
6043 construct-time properties and bonobo_window_get_ui_container(),
6044 now that BonoboWindow has been corrected.
6046 2002-05-06 Jaka Mocnik <jaka@gnu.org>
6048 * ggv/src/configure.in: version 1.99.4. tag GGV_1_99_4.
6050 2002-05-05 Jaka Mocnik <jaka@gnu.org>
6052 * ggv/bonobo/ggv-postscript-view.c (verb_FileSaveMarked): set the current
6053 path in the file selection.
6054 * ggv/src/ggv-window.c (verb_FileReload): a handler for FileReload verb.
6055 (verb_FileOpen): set the current path in the file selection.
6056 * ggv/src/ggv-ui.xml: add a verb for reloading files.
6057 * ggv/src/gtkgs.c (gtk_gs_class_init): add a document_changed signal.
6058 how did this get removed?
6059 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_construct): add
6060 handler for document_changed signal to reload file.
6062 2002-05-05 Jaka Mocnik <jaka@gnu.org>
6064 * ggv/bonobo/ggv-postscript-view.c (notify_page_change): notify sidebar
6067 2002-05-04 Jaka Mocnik <jaka@gnu.org>
6069 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_get_ps): fixed
6070 a segfault because PrintAll verb passes NULL to indicate that all
6071 pages should be returned.
6073 2002-04-25 Jaka Mocnik <jaka@gnu.org>
6075 * ggv/bonobo/ggv-control.c (ggv_control_create_ui): added a zoom control
6076 showing current zoom factor.
6077 * ggv/*.xml: added placeholders and a zoom control to sidebar.
6078 * ggv/src/main.c (main): applied patch from Satyajit Kanungo to add help
6080 * ggv/implemented a setting for left/right placement of the side panel.
6081 currently only works in Nautilus.
6083 2002-04-23 Jaka Mocnik <jaka@gnu.org>
6085 * ggv/src/gtkgs.c (gtk_gs_set_page_size): properly handle boundingbox
6086 size. fixes bug #79097.
6088 2002-04-19 jaka mocnik <jaka@gnu.org>
6090 * ggv/applied a build fixage patch from kind people at mandrakesoft.
6092 2002-04-18 jacob berkman <jacob@ximian.com>
6094 * ggv/acconfig.h: fix tyop busting build
6096 2002-04-17 Satyajit Kanungo <satyajit.kanungo@wipro.com>
6098 * ggv/configure.in added AM_GCONF_SOURCE_2 to put the schemas file
6100 Check for 'gs' package and get the path for 'gs' on a system where
6101 gs is not in the path.
6103 2002-04-16 Abel Cheung <maddog@linux.org.hk>
6105 * ggv/TRANSLATABLE_FILES: moved to po/ directory.
6106 * ggv/ABOUT-NLS, INSTALL, TRANSLATABLE_FILES, install-sh,
6107 missing, mkinstalldirs, stamp-h.in, po/Makefile.in.in:
6108 Remove autogen'ed file.
6109 * ggv/acconfig.h: Added GETTEXT_PACKAGE
6110 * ggv/configure.in: GETTEXT_PACKAGE related cleanup, and removed
6111 AC_ARG_PROGRAM (does automake 1.5/1.6 require it?)
6112 * ggv/src/main.c: Use GETTEXT_PACKAGE for *textdomain*().
6114 2002-04-11 jacob berkman <jacob@ximian.com>
6116 * ggv/configure.in (AC_OUTPUT): add src/cursors/Makefile
6118 2002-04-11 Jaka Mocnik <jaka@gnu.org>
6120 * ggv/bonobo/ggv-postscript-view.c (save_file_sel_ok_clicked): ask before
6122 (view_button_press_cb): use hand cursor when moving page.
6123 (ggv_postscript_view_get_ps): really retrieve all pages if none
6125 (set_file_items_sensitivity): moved here from ggv-window.c.
6126 * ggv/bonobo/ggv-sidebar.c (ggv_sidebar_construct): set AUTOMATIC policy
6127 for page list scrollbars.
6128 * ggv/bonobo/ggv-control.c (ggv_control_construct): set AUTOMATIC policy
6129 for scrolled window scrollbars.
6130 * ggv/src/cursors.[ch]: copied hand cursors from eog.
6131 * ggv/src/cursors/*: hand cursors
6133 2002-04-05 Jaka Mocnik <jaka@gnu.org>
6135 * ggv/major revamp of sidebar, which is now a control, created by
6136 GgvPostScriptView andmerged in the container's UI. this enables us
6137 to view it in nautilus as well as in the GGV shell! according to
6138 this the save/print items have been moved to GgvPostScripView as well.
6139 * ggv/configure.in: barf in GS isn't installed. version 1.99.3. tarball
6140 release. tagged as GGV_1_99_3.
6142 2002-03-30 Jaka Mocnik <jaka@gnu.org>
6144 * ggv/bonobo/ggv-postscript-view.c: take care of popup items sensitivity.
6145 * ggv/bonobo/ggv-control-ui.xml: add zoom to fit width menu items.
6146 * ggv/configure.in: bumped version to 1.99.2.
6147 * ggv/message-of-doom: made it less threatening ;)
6148 * ggv/tagged as GGV_1_99_2. released a new tarball.
6150 2002-03-29 Jaka Mocnik <jaka@gnu.org>
6152 * ggv/src/gtkgs.c (gtk_gs_init): initialize scroll_start_? to -1.
6153 * ggv/src/ggv-ui.xml: add show/hide items to button 3 popup menu.
6154 * ggv/src/ggv-control-ui.xml: add navigation & zoom items to button 3
6156 * ggv/src/ggv-window.c: get the popup UI component and merge our popup
6158 * ggv/bonobo/ggv-control.c: create popup menu. show it on button 3 press.
6159 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_verbs): made global as control
6160 needs them as well to set to popup UI component.
6162 2002-03-28 jacob berkman <jacob@ximian.com>
6164 * ggv/bonobo/ggv-control.c: add a dummy field to this empty struct
6166 * ggv/bonobo/ggv-postscript-view.c: add a dummy field to this empty
6169 2002-03-26 Jaka Mocnik <jaka@gnu.org>
6171 * ggv/src/ggv-prefs.c (ggv_prefs_dialog_class_init): fix a delete_event
6172 handler being set to a wrong class.
6173 * ggv/src/ggv-window.c (sync_toolbar_style): sync toolbar style with
6174 ggv_toolbar_labels setting.
6175 (ggv_window_drag_data_received): a handler for received dnd data.
6176 (ggv_window_new): set window as a drag destination.
6177 (verb_DnD*): verbs for DnD popup menu.
6179 2002-03-24 Jaka Mocnik <jaka@gnu.org>
6181 * ggv/src/ggv-msg-window.[ch]: a window for display of ghostscript
6182 output, based on the obsolete gsmessage.[ch].
6183 * ggv/src/gsmessage.[ch]: removed.
6184 * ggv/bonobo/ggv-postscript-view.c (interpreter_message_cb): display
6185 output using ggv-msg-window API.
6187 2002-03-23 Jaka Mocnik <jaka@gnu.org>
6189 * ggv/configure.in: always use x11alpha as the antialiased device.
6190 * ggv/released 1.99.1 tarball, tagged as GGV_1_99_1.
6192 2002-03-23 Jaka Mocnik <jaka@gnu.org>
6194 * ggv/bonobo/ggv-postscript-view-ui.xml: added static paper size menu
6196 * ggv/bonobo/ggv-control-ui.xml: added static zoom level menu items.
6197 * ggv/bonobo/ggv-postscript-view.c (sync_size_items): made it work with
6198 static paper menu items.
6199 * ggv/bonobo/ggv-control.c (listener_ZoomLevel_cb): listener for zoom
6201 (sync_zoom_level_items): sync zoom level items state with current
6204 2002-03-18 Jaka Mocnik <jaka@gnu.org>
6206 * ggv/src/ggv-window.c (ggv_window_load): qualify the file to load with
6207 its full path as the control does not run with the same working dir.
6208 * ggv/configure.in: explicitly check for popt library.
6209 * ggv/[src|bonobo]/Makefile.am: link with popt.
6211 2002-03-18 Jaka Mocnik <jaka@gnu.org>
6213 * ggv/src/gtkgs.c (check_pdf): use mkstemp to avoid potential security
6215 (check_filecompressed): use mkstemp to avoid potential security
6217 * ggv/bonobo/ggv-postscript-view.c (load_ps_from_stream): use mkstemp to
6218 avoid potential security risks.
6220 2002-03-16 Jaka Mocnik <jaka@gnu.org>
6222 * ggv/src/ggv-window.c: fixed error dialogs when saving/printing with
6223 no pages are marked.
6224 * ggv/Makefile.am: install desktop files in $(prefix)/share/applications.
6226 2002-03-15 Jaka Mocnik <jaka@gnu.org>
6228 * ggv/src/ggv-window.c: make save and print items sensitive only when a
6229 valid document is loaded.
6230 * ggv/bonobo/ggv-control.c: make zoom items sensitive only when a valid
6232 * ggv/src/gtkgs.c: less erratic current_page when a bad file is loaded.
6233 * ggv/bonobo/ggv-postscript-view.[ch]
6234 (ggv_postscript_view_get_current_page): new function.
6236 2002-03-15 Jaka Mocnik <jaka@gnu.org>
6238 * ggv/src/ggv-window.c (control_property_changed_handler): handle change
6239 of page number to -1 as error.
6240 * ggv/src/gtkgs.[ch]: added interpreter_error signal.
6241 (gtk_gs_interpreter_message): handle output containing string "Error:"
6242 as an error and emit interpreter_error signal.
6243 (stop_interpreter): handle gs exiting with status 1 as error and
6244 emit interpreter_error signal.
6246 2002-03-14 Jaka Mocnik <jaka@gnu.org>
6248 * ggv/configure.in: added --enable-bonobo-debug that logs bonobo component
6250 * ggv/bonobo/main.c: implemented logging to a file to help debugging.
6252 2002-03-14 Jaka Mocnik <jaka@gnu.org>
6254 * ggv/configure.in: check for Xinerama.
6255 * ggv/gtkgs.c (compute_?dpi): take possible multihead displays into
6256 accont. patch by Mike Hicks <hick0088@tc.umn.edu>.
6257 * ggv/[src|bonobo]/Makefile.am: link with Xinerama if found.
6259 2002-03-13 Jaka Mocnik <jaka@gnu.org>
6261 * ggv/src/gsdefaults.c (gtk_gs_defaults_changed): fixed a bug that wrote
6262 alpha params to interpreter command.
6263 * ggv/bonobo/ggv-postscript-view.c (view_button_press_cb): grab keyboard
6264 focus of gtkgs widget.
6266 2002-03-12 Jaka Mocnik <jaka@gnu.org>
6268 * ggv/src/ggv-window.c (ggv_window_get_ps_from_control): get the whole
6269 document or only a set of marked pages from the control via CORBA.
6270 (ggv_window_print_postscript): asynchronously spawn the printing
6271 command and feed the postscript to its stdin.
6272 (verb_FilePrint*): implemented.
6273 added message and question dialogs where appropriate.
6274 * ggv/bonobo/ggv-postscript-view.c: emit changes to page_count, page
6275 and orienation properties when appropriate.
6277 2002-03-11 Jaka Mocnik <jaka@gnu.org>
6279 * ggv/idl/Ggv.idl: added getDocument and getPages methods.
6280 * ggv/bonobo/ggv-postscript-view.c: added implementation of the above.
6281 * ggv/src/gsio.[ch]: a wrapper for output destination for pscopy*()
6282 routines, as we dont want them to always write to a file anymore.
6283 * ggv/src/ggv-ui.xml: added FileSaveMarked, FilePrintMarked and
6284 FilePrintAll menu items.
6285 * ggv/src/ggv-window.c: implement verb FileSaveMarked. get postscript
6286 via CORBA from the PostScriptView.
6288 2002-03-08 Pablo Saratxaga <pablo@mandrakesoft.com>
6290 * ggv/configure.in (ALL_LINGUAS): added Basque
6292 2002-03-07 Jaka Mocnik <jaka@gnu.org>
6294 * ggv/configure.in: remove AC_PACKAGE_NAME and _VERSION. they prevented
6295 proper make distcheck.
6296 * ggv/Makefile.am: include xmldocs.make and message-of-doom in distribution
6298 * ggv/src/ggvutils.c: don't include the zoom icons as we don't need them
6300 * ggv/po/POTFILES.in: fixed.
6301 * ggv/tagged as GGV_1_99_0 and released a 1.99.0 tarball.
6303 2002-03-06 Jaka Mocnik <jaka@gnu.org>
6305 * ggv/src/ggv-window.c: added page marking buttons.
6306 (ggv_window_new): sync menu items with default values.
6308 2002-03-05 Jaka Mocnik <jaka@gnu.org>
6310 * ggv/src/ggv-prefs.[ch]: derive prefs dialog from GtkWindow instead of
6312 fixed major bugs. prefs now seem to work!
6313 (ggv_prefs_dialog_apply): apply prefs from dialog.
6315 2002-03-04 Jaka Mocnik <jaka@gnu.org>
6317 * ggv/src/ggv-prefs.c: create prefs dialog. use the old layout from ggv
6318 1.0, just use a GtkDialog with a notebook instead of GnomePropertyBox.
6319 * ggv/src/gtkgs.c (start_interpreter): use configurable alpha parameters.
6320 * ggv/src/gsdefaults.[ch]: merged configurable alpha parameters code from
6322 * ggv/configure.in: added check for GS version and appropriate setting
6323 of default alpha parameters.
6324 * ggv/ggv.schemas: add alpha parameters key.
6326 2002-03-03 Jaka Mocnik <jaka@gnu.org>
6328 * ggv/src/ggv-prefs.[ch]: a new source for GGV shell prefs and prefs
6329 editing dialog. The former is there, the latter is coming...
6330 * ggv/src/Makefile.am: add the above to build.
6331 * ggv/src/ggv-window.c (ggv_window_destroy): save default window size.
6332 (file_sel_unmap): save default file selection size.
6333 * ggv/src/main.c (main): load and save GGV prefs.
6334 * ggv/src/ggv-ui.xml: Settings menu.
6335 * ggv/src/ggvutils.[ch]: moved zoom level stuff here from
6336 bonobo/ggv-control.c as it will also be needed by the shell itself.
6337 * ggv/bonobo/ggv-control.c (ggv_control_class_init): create a template
6338 for zoom level menus.
6339 (ggv_control_create_ui): merge the zoom level menus. it currently does
6342 2002-03-03 Jaka Mocnik <jaka@gnu.org>
6344 * ggv/bonobo/ggv-control-ui.xml: added.
6345 * ggv/po/POTFILES.in: updated to reflect the real situation.
6347 2002-03-03 Carlos Perelló Marín <carlos@gnome-db.org>
6349 * ggv/src/callbacks.c: Fixed the translator option at about dialog.
6350 * ggv/configure.in: Added AC_PREREQ(2.52), this way, if you have also
6351 autoconf 2.13 it works.
6353 2002-03-02 John Fleck <jfleck@inkstain.net>
6357 * ggv/help/C/ggv.xml, help/C/legal.xml,
6358 help/C/figures/example_screenshot.eps & example_screenshot.png
6360 * ggv/help/Makefile.am
6361 * ggv/help/C/Makefile.am
6362 * ggv/help/C/ggv-C.omf
6365 2002-03-02 Jaka Mocnik <jaka@gnu.org>
6367 * ggv/bonobo/ggv-control-ui.xml: moved ui from source to file. extend it
6368 with toolbar buttons for zooming.
6369 * ggv/bonobo/ggv-postscript-view-ui.xml: added first and last page items.
6370 added navigation buttons.
6371 * ggv/bonobo/ggv-postscript-view.c: added verbs for first and last page.
6372 * ggv/bonobo/ggv-control.c: fixed zooming. zoomable is not derived from
6374 * ggv/src/stock/Makefile.am: only install the toggle pixmaps as we
6375 won't need the others.
6376 * ggv/src/ggv-window.c: added about dialog.
6377 * ggv/src/ggvutils.[ch] (ggv_raise_and_focus_widget): new utility function.
6379 2002-02-28 Jaka Mocnik <jaka@gnu.org>
6381 * ggv/src/main.c: removed old ggv code. it remains in ggv-gnome-1
6382 branch in order to reuse pieces of it in the new ggv.
6383 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_construct):
6384 add key press event mask to gs widget.
6385 * ggv/ggv.schemas: key "/apps/ggv/layout/autojump" changed to
6386 "/apps/ggv/control/autojump" as it became a control-specific
6388 * ggv/src/gtkgs.c (gtk_gs_scroll_step): new function that performs
6390 (gtk_gs_scroll_to_edge): scrolls to desired edges.
6391 fix scrolling rect drawing. it required processing the events
6392 caused by gdk_window_move() before drawing rectangle.
6393 * ggv/bonobo/ggv-control.c (ggv_control_construct): added key press
6395 added gconf notify for key "/apps/ggv/control/autojump".
6396 show scrolling rectangle when using scrollbars to scroll.
6398 2002-02-26 Jaka Mocnik <jaka@gnu.org>
6400 * ggv/src/gtkgs.c: fixed scrolling policy to comply with scrolled
6401 window's requirements.
6402 * ggv/bonobo/ggv-postscript-view.c: add panning.
6403 * ggv/src/ggv-window.[ch]: get rid of the scrollpane as the control
6404 now provides scrollbars.
6406 2002-02-25 Jaka Mocnik <jaka@gnu.org>
6408 * ggv/src/gg-prefs-ui.c: applied a patch from Hidetoshi Tajima to make
6409 page sizes in prefs dialog translatable.
6410 * ggv/src/ggv-window.c (ggv_window_remove_control): only deactivate
6411 control if there actually is one ;)
6413 2002-02-23 Jaka Mocnik <jaka@gnu.org>
6415 * ggv/src/ggv-window.c (page_list_selection_changed): change pages
6416 when a new cell in the check list changes.
6417 (control_property_changed_handler): handle changes of page
6420 2002-02-22 Jaka Mocnik <jaka@gnu.org>
6422 * ggv/src/ggv-window.c (ggv_window_create_page_list): new function that
6423 fetches page names from the control and puts them in the check list.
6424 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_get_prop):
6425 implement page, page_count and page_names properties.
6427 2002-02-20 Jaka Mocnik <jaka@gnu.org>
6429 * ggv/src/gtkchecklist.c: migrated to Gtk+2 tree MVC framework.
6430 * ggv/src/ggv.window.c: add a checklist to sidebar. we don't populate
6431 it yet as we first need a CORBA interface to our PostscriptView
6432 to allow for fetching page names.
6433 * ggv/idl/Ggv.idl: added typedefs for PageName and PageNameList.
6435 2002-02-19 Jaka Mocnik <jaka@gnu.org>
6437 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_create_ui):
6438 fixed a buggy path that prevented merging of size menus. They
6439 still don't show quite right though.
6441 2002-02-17 Jaka Mocnik <jaka@gnu.org>
6443 * ggv/src/ggv-window.c (ggv_window_new): add event source listener to
6445 (control_property_changed_handler): handler for events from property
6447 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_construct): add
6448 status & title properties.
6449 (ggv_postscript_view_get_prop): return title & status properties.
6450 (load_ps): loads ps from file & emits all the necessary notifications.
6451 used in both load_ps_from_stream & load_ps_from_file.
6452 * ggv/bonobo/ggv-postscript-view-ui.xml: cmd/menuitem separation.
6454 2002-02-17 Duarte Loreto <happyguy_pt@hotmail.com>
6456 * gpdf/configure.in: Added pt to All_LINGUAS.
6458 2002-02-16 Jaka Mocnik <jaka@gnu.org>
6460 * ggv/src/gtkscrollpane.c: changed in order to behave in a gtkscrollbar
6461 manner which is compatible with gtkviewport.
6462 * ggv/src/gtkscrollpane.[ch]: removed all traces of unsued member
6464 * ggv/src/ggv-window.c (ggv_window_new): add scrollpane to scrollbar.
6466 (ggv_app_verbs): added New & Close.
6467 * ggv/src/Makefile.am: readded gtkscrollpane.[ch] to sources.
6468 * ggv/src/ggv-ui.xml: fixed verb names.
6469 * ggv/idl/Ggv.idl: UPSIDE_DOWN -> UPSIDEDOWN to match GtkGS names.
6470 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_construct):
6471 add width, height and orientation properties.
6473 2002-02-14 Jaka Mocnik <jaka@gnu.org>
6475 * ggv/src/gtkgs.c (gtk_gs_next_page): fixed broken XEvent abusing code.
6476 (gtk_gs_load): call gtk_gs_set_page_size().
6477 * ggv/src/ggv-window.[ch]: main window for GGV, derived from BonoboWindow.
6478 * ggv/src/main.c: all-new-startup code.
6479 * ggv/src/ggv-ui.xml: bonobo UI for GGV.
6480 * ggv/bonobo/*: some bugfixes.
6481 * ggv/removed most of the old stuff from build.
6482 * ggv/GGV now barely shows the PS in a control and allows to move fwd/bwd.
6484 2002-02-08 Jaka Mocnik <jaka@gnu.org>
6486 * ggv/imported Gnome2 port from Satyajit Kanungo.
6487 * ggv/fixed build system.
6488 * ggv/bonobo/*: port to Gnome2. it currently compiles.
6489 * ggv/updated AUTHORS, MAINTAINERS and, most important, TODO
6491 2002-01-20 Stanislav Brabec <utx@penguin.cz>
6493 * ggv/gtkgs.c: Be able to scroll exactly to margin (especially
6494 with mouse wheel). This makes visible another bug - scroll
6495 pane is able to scroll only few pixels apart from margin.
6496 * ggv/callbacks.c: Cosmetical (spaces).
6498 2001-11-19 Jaka Mocnik <jaka@gnu.org>
6500 * ggv/src/gtkgs.c (start_interpreter): chdir() to the current dir of
6501 ps file in the child process to prevent screwing up the ggv's cwd.
6502 * ggv/ggv/ggv.schemas: fix a typo.
6503 * ggv/released 1.1.93 tarball.
6505 2001-11-18 Jaka Mocnik <jaka@gnu.org>
6507 * ggv/src/*.[ch]: applied a patch from Laurent Mazet that adds a
6508 --nostatusbar option to ggv.
6509 added (popup)menu items for statusbar visibility.
6510 handle showstatusbar preferences option properly.
6511 added show statusbar option to preferences menu.
6512 * ggv/ggv.schemas: add nostatusbar boolean key.
6513 * ggv/help/C/ggv.sgml: described --nostatusbar option.
6515 2001-11-15 Jaka Mocnik <jaka@gnu.org>
6517 * ggv/src/gtkgs.[ch]: added document_changed signal that is emitted
6518 when the loaded file changes.
6519 * ggv/src/gtkgs.c (timer_callback): emit document_changed signal.
6520 * ggv/src/callbacks.c (document_changed_callback): a handler for the
6521 document_changed signal that reloads the file.
6522 * ggv/help/C/ggv.sgml: removed last traces of "media".
6524 2001-11-13 Jaka Mocnik <jaka@gnu.org>
6526 * ggv/bonobo/ggv-postscript-view.c: fix setting UI from xml.
6527 * ggv/src/stock: added missing pixmaps.
6528 * ggv/src/main.c: removed last traces of 'media'.
6529 * ggv/configure.in: add --disable-install-schemas switch.
6530 * ggv/Makefile.am: install schemas conditionally if INSTALL_SCHEMAS
6531 is true. Install schemas file to $(sysconfdir)/gconf/schemas.
6532 * ggv/ggv.spec.in: install schemas stuff in %post phase.
6533 * ggv/released 1.1.92 tarball.
6535 2001-11-12 Stanislav Brabec <utx@penguin.cz>
6537 * ggv/idl/Ggv.idl, src/ps.h, src/main.c, src/ps.c, src/callbacks.c,
6538 src/ggvwindow.h, src/gtkgs.c, src/gtkgs.h, src/gsdefaults.c,
6539 src/gsdefaults.h, bonobo/ggv-postscript-view.h,
6540 bonobo/ggv-postscript-view-ui.xml, bonobo/ggv-postscript-view.c,
6541 ggv.schemas, help/C/ggv.sgml: Terminology change - change "media"
6542 to "page size" or "media size" everywhere to prevent ambiguities
6543 of PostScript parameters. Page Media is a set of PostScript
6544 parameters, containing page size, media color, media type etc.
6546 2001-11-09 Wang Jian <lark@linux.net.cn>
6548 * ggv/configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN.
6550 2001-11-06 Jaka Mocnik <jaka@gnu.org>
6552 * ggv/src/main.c (ggv_toolbar_set_labels): new function.
6553 * ggv/src/main.c: add a checkbox for toolbarlabels setting in prefs
6555 * ggv/src/prefs.c (ggv_prefs_load): added handling of toolbarlabels
6557 * ggv/ggv.schemas: added toolbarlabels key.
6558 * ggv/released 1.1.91 tarball.
6560 2001-11-04 Jaka Mocnik <jaka@gnu.org>
6562 * ggv/configure.in: use AM_GCONF_SOURCE.
6563 * ggv/Makefile.am: use GCONF_SCHEMA_CONFIG_SOURCE provided by above.
6564 * ggv/help/C/ggv.sgml: use "-//GNOME//DTD DocBook PNG Variant V1.1//EN".
6566 2001-11-02 John Fleck <jfleck@inkstain.net
6568 * ggv/help/C/ggv.sgml - checking in Jonathan Bartlett's updated help
6571 2001-10-30 Roy-Magne Mo <rmo@sunnmore.net>
6573 * gpdf/configure.in: Added nn to All_LINGUAS.
6575 2001-10-23 Jaka Mocnik <jaka@gnu.org>
6577 * ggv/src/gtkgs.c (gtk_gs_load): "absolutize" relative filename paths.
6579 2001-10-18 Jaka Mocnik <jaka@gnu.org>
6581 * ggv/bonobo/GNOME_GGV.oaf.in: removed embeddable server.
6582 * ggv/bonobo/ggv-postscript-view.c: removed conf_client
6585 2001-10-09 Jaka Mocnik <jaka@gnu.org>
6587 * ggv/src/gtkgs.c (start_interpreter): properly handle multiple
6588 arguments in interpreter command.
6590 2001-09-26 Abel Cheung <maddog@linux.org.hk>
6592 * gpdf/configure.in: Added zh_TW to ALL_LINGUAS.
6594 2001-09-25 Fatih Demir <kabalak@gtranslator.org>
6596 * ggv/\*/.cvsignore: Added some small cvsignore files.
6598 2001-09-19 Jaka Mocnik <jaka@gnu.org>
6600 * ggv/bonobo/ggv-control.c (zoomable_zoom_to_fit_cb): properly compute
6602 * ggv/bonobo/ggv-postscript-view.c (view_button_[press|release]_cb): call
6603 gtk_gs_[start|end]_scroll(), respectively.
6604 (ggv_postscript_view_zoom_to_fit): make it return zoom level that
6605 will make the document fit.
6607 2001-09-17 Jaka Mocnik <jaka@gnu.org>
6609 * ggv/added gconf initialization to bonobo component.
6610 * ggv/applied some patches for compilation with gcc 3.0.
6612 2001-09-09 Wang Jian <lark@linux.net.cn>
6614 * gpdf/configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN.
6616 2001-08-31 Abel Cheung <maddog@linux.org.hk>
6618 * ggv/configure.in (ALL_LINGUAS): zh_TW.Big5 -> zh_TW
6620 2001-08-30 Jaka Mocnik <jaka@gnu.org>
6622 * ggv/applied a patch by Werner Koerner
6623 <wernerk.koerner@zae.uni-wuerzburg.de>. see below.
6624 * ggv/main.c: Added new function zoom_to_fit. It sets the new zoom factor
6625 and updates the status line and the zoom submenu accordingly.
6626 Added possibility to zoom to page width.
6627 Added menu 'fit to width' to zoom submenu.
6628 * ggv/gtkgs.c (gtk_gs_zoom_to_fit): this function now only calculates the
6629 zoom factors, changing them is done in main.c/zoom_to_fit
6630 * ggv/callbacks.c: added zoom_to_fit_width_callback
6631 * ggv/main.c (refresh_coordinates): Refresh coordinates only if sidebar is
6632 visible. Remove call to ggv_menus_set_visible which overrides
6633 hiding/showing the menubar.
6634 * ggv/main.c (ggv_panel_set_visible): Add call to refresh_coordinates to
6635 initialize coordinate display when panel is shown.
6636 * ggv/gtkchecklist.c (gtk_check_list_clear): fixed memory leak
6637 * ggv/gtkgs.c (gtk_gs_destroy): fixed memory leak
6638 (gtk_gs_unrealize): new unrealize handler. fixes a mem-leak.
6639 * ggv/gtkgs.c (start_interpreter): It makes no sense to quote the filename
6640 in the argv-array - removed. Now most files containing special
6641 characters should work except uncompressed pdf-files.
6642 * ggv/gsdefaults.c (gtk_gs_defaults_get_scan_pdf_cmd): Remove quotes from
6643 default command line as filenames are either already quoted or
6644 temporary files which dont contain any special characters.
6645 * ggv/ggvutils.c (ggv_quote_filename): Quote '%'-character.
6646 * ggv/gtkgs.c (start_interpreter): Change to the directory of the input
6647 file, then start gs. This helps with some postscript files which
6648 include other files using relative paths (i.e. ghostscript's example
6651 2001-08-20 Ravi Pratap <ravi@che.iitm.ac.in>
6653 * gpdf/MAINTAINERS : Create and add Michael and myself to it.
6655 2001-08-20 Jaka Mocnik <jaka@gnu.org>
6657 * ggv/help/C/ggv.sgml: described dash filename.
6658 * ggv/src/main.c (main): don't open stdin if no filenames have been
6659 specified and the stdin isn't a tty. implement reading stdin if a
6660 dash was specified among filenames.
6662 2001-08-19 Zbigniew Chyla <cyba@gnome.pl>
6664 * gpdf/Makefile.am (SUBDIRS): Added po.
6666 * gpdf/configure.in (AC_OUTPUT): Added intl/Makefile po/Makefile.in.
6668 * gpdf/xpdf/Makefile.am (INCLUDES): Added -DGNOMELOCALEDIR.
6670 * gpdf/xpdf/bonobo-application-x-pdf.cc (main): Set textdomain and locale.
6672 * gpdf/xpdf/gpdf.cc (main): ditto.
6673 Marked a few strings for translation.
6675 2001-08-13 Jaka Mocnik <jaka@gnu.org>
6677 * ggv/src/main.c (open_prefs_dialog): add a check button for outlining
6678 last visible part of page when scrolling.
6679 * ggv/configure.in: bumped version to 1.1.1 and released a new tarball.
6681 2001-08-12 Ravi Pratap <ravi@che.iitm.ac.in>
6683 * gpdf/xpdf/bonobo-application-x-pdf-ui.xml : Add ZoomFitHeight verb and toolbar
6686 * gpdf/xpdf/bonobo-application-x-pdf.h (VERB_Z_FIT): Rename to VERB_Z_FIT_WIDTH
6687 (VERB_Z_FIT_HEIGHT): Add
6689 * gpdf/xpdf/bonobo-application-x-pdf.cc (verbs): Update to use the new
6691 (view_zoom_verb): update accordingly
6692 (zoom_to_fit): Modify to take an extra argument determining type of fit. Use
6693 the scrolled_window to determine allocation height and width.
6695 * gpdf/xpdf/Makefile.am : Comment out unnecessary targets
6697 2001-08-11 Jaka Mocnik <jaka@gnu.org>
6699 * ggv/src/gtkgs.c (gtk_gs_*_scroll): functions to mark beginning and
6700 end of a scrolling session.
6701 (*) wrapped all gdk_window_move(gs->pstarget ...) in drawing
6702 rectangles if we are scrolling.
6703 (gtk_gs_defaults_changed): get new values directly from gconf as we
6704 can't be sure that the other callback (the one from gsdefaults.c)
6705 was called before us.
6706 * ggv/src/gsdefaults.c (gtk_gs_defaults_changed): act properly on
6707 configuration changes.
6708 * ggv/ggv.schemas: add show_scroll_rect.
6710 2001-08-10 Ravi Pratap <ravi@che.iitm.ac.in>
6712 * gpdf/xpdf/stock-zoom-in.xpm : Add
6714 * gpdf/xpdf/stock-zoom-out.xpm : Add
6716 * gpdf/xpdf/stock-zoom-fit.xpm : Add
6718 * gpdf/xpdf/stock-zoom-fit-wide.xpm : Add
6720 * gpdf/xpdf/stock-zoom-fit-tall.xpm : Add
6722 * gpdf/xpdf/Makefile.am : Update, add targets etc.
6724 * gpdf/xpdf/bonobo-application-x-pdf.cc (view_zoom_verb): Change zoom
6725 factor to 1.2 which is more correct
6726 (zoom_to_fit): Small tweak to enable better approximation
6728 * gpdf/xpdf/bonobo-application-x-pdf-ui.xml : Change ZoomFit to ZoomFitWidth.
6730 * gpdf/xpdf/bonobo-application-x-pdf.cc : Update to use the new name.
6732 2001-08-10 Jaka Mocnik <jaka@gnu.org>
6734 * ggv/src/main.c, src/callbacks.c: fixed increasing/decreasing
6735 magnification. removed magstep member from ggv_window.
6737 2001-08-09 Ravi Pratap <ravi@che.iitm.ac.in>
6739 * gpdf/xpdf/bonobo-application-pdf-ui.xml: Add Zoom items to the
6742 2001-08-01 Jaka Mocnik <jaka@gnu.org>
6744 * ggv/src/main.c (ggv_*_set_visible): functions for setting visibility
6745 of panel/menus/toolbar.
6746 * ggv/src/prefs.c: finished migration to gconf. new prefs behaviour
6747 is to sync all open ggvs with prefs changes of both UI shell and
6750 2001-07-22 Jaka Mocnik <jaka@gnu.org>
6752 * ggv/src/main.c (synchronize_*_wd): new functions that sync UI with
6753 default values. these are needed as we can't rely on the order
6754 that the gconf notify functions will be called in.
6756 2001-07-22 Jaka Mocnik <jaka@gnu.org>
6758 * ggv/src/gtkgs.c (start_interpreter): enclose filename in quotes when
6759 creating GS command line in order to properly handle filenames with
6762 2001-07-18 Jaka Mocnik <jaka@gnu.org>
6764 * ggv/src/gtkgs.c (gtk_gs_defaults_changed): redisplay when zoom
6766 * ggv/src/main.c: improve logic for determining magstep from zoom factor.
6768 2001-07-14 Kjartan Maraas <kmaraas@gnome.org>
6770 * ggv/configure.in: Added "nn" to ALL_LINGUAS.
6772 2001-07-13 Jaka Mocnik <jaka@gnu.org>
6774 * ggv/moved the rest of config code in ggv to gconf.
6775 * ggv/ggvutils.[ch] (ggv_compute_zoom): moved here from main.c.
6776 (ggv_compute_spec): new function. inverse of ggv_compute_zoom().
6777 * ggv/gsdefaults.c: moved gconf client initialization from GtkGS class
6780 2001-07-10 Ravi Pratap <ravi@che.iitm.ac.in>
6782 * gpdf/xpdf/gpdf.cc (main): Make indentation consistent with the
6785 2001-07-08 Jaka Mocnik <jaka@gnu.org>
6787 * ggv/src/gtkgs.c (gtk_gs_init): add notification callbacks to gtkgs
6789 (gtk_gs_class_init): get default gconf client. assert if gconf
6791 (gtk_gs_get_gconf_client): access to the gtkgs gconf client.
6792 * ggv/src/prefs.c: removed gtkgs prefs as these are now handled by
6794 * ggv/src/main.c (main): initialize gconf.
6795 (set_gs_prefs): removed setting of GtkGS prefs as this is now
6796 handled by GtkGS gconf notification callbacks.
6797 * ggv/src/callbacks.c (prefs_apply_callback): save GtkGS prefs separately.
6798 * ggv/src/gtkscrollpane.c: removed some warnings. make use of default
6799 unrealize signal handler.
6801 2001-07-03 Jaka Mocnik <jaka@gnu.org>
6803 * ggv/src/gsdefaults.[ch]: home for all the gtk_gs_defaults_* stuff that
6804 was once in gtkgs.[ch].
6805 (gtk_gs_defaults_load, gtk_gs_defaults_save): restore/save config
6807 ggvutils.[ch]: moved unit and orientation labels, paper sizes and
6808 unit factors here from various places.
6809 (ggv_split_string, ggv_get_index_of_string): utility functions
6810 that were once static to their sources.
6812 2001-07-02 Jaka Mocnik <jaka@gnu.org>
6814 * ggv/bonobo/ggv-postscript-view.c (sync_*_items): removed debugging
6816 (ggv_postscript_view_construct): fixed media property of PropertyBag.
6817 (listener_Media_cb): don't free media: arg_release() will take care of
6819 prefs.[ch]: removed gs*_cmd global variables as they are now stored
6820 in GtkGSDefaults. fixed prefs io functions to respect this.
6821 * ggv/main.c (synchronize_*_items): new function to enable/disable
6822 paper/orientation items according to respective override setting.
6824 2001-07-01 Ravi Pratap <ravi@che.iitm.ac.in>
6826 * gpdf/xpdf/gpdf-ui.xml: Make the print menu item visible.
6828 2001-06-30 Jaka Mocnik <jaka@gnu.org>
6830 * ggv/src/prefs.c (set_prefs): apply settings for auto jump to
6831 beginning of the page.
6833 2001-06-22 Ravi Pratap <ravi@che.iitm.ac.in>
6835 * gpdf/configure.in: Fix a daft error of mine; ask for cflags
6836 and libs of bonobox instead
6838 2001-06-20 Karl Eichwalder <ke@suse.de>
6840 * ggv/configure.in: Remove AM_PROG_XML_I18N_TOOLS (duplicate).
6842 2001-06-16 Ravi Pratap <ravi@che.iitm.ac.in>
6844 * gpdf/configure.in: Fix logic for bonobo checking to stop if
6845 bonobo is not found.
6847 2001-05-31 Karl Eichwalder <ke@suse.de>
6849 * ggv/bonobo/GNOME_GGV.oaf.in: s/Postscript/PostScript/ for _value
6852 * ggv/Merge in xml-i18n-tools-0-8-4-branch.
6854 * ggv/configure.in (ALL_LINGUAS): Add 'hr'.
6856 * ggv/Start to apply xml-i18n-toolization running xml-i18n-prepare
6858 * ggv/Makefile.am (EXTRA_DIST): Add xml-i18n-extract.in
6859 xml-i18n-merge.in xml-i18n-update.in.
6860 * ggv/xml-i18n-extract.in: Add from xml-i18n-tools 0.8.4.
6861 * ggv/xml-i18n-update.in: Ditto.
6862 * ggv/xml-i18n-merge.in: Ditto.
6864 * ggv/configure.in: Add AM_PROG_XML_I18N_TOOLS.
6866 * ggv/Makefile.am (Graphics_DATA): Fix ggv.desktop entry.
6867 * ggv/.cvsignore: Add ggv.desktop.
6868 * ggv/ggv.desktop: Remove file.
6869 * ggv/ggv.desktop.in: New file.
6871 2001-05-30 Jaka Mocnik <jaka@gnu.org>
6873 * ggv/src/ggvwindow.h (struct _ggv_window): added more members for
6874 some menu & popup-menu items.
6875 * ggv/src/main.c: added First/Last Page menu and popup menu-items.
6876 patch submitted by Dan E. Kelley <dan.kelley@dal.ca>.
6877 Implemented setting of sensitivity of new menu & popup-menu items.
6879 2001-05-25 Jaka Mocnik <jaka@gnu.org>
6881 * ggv/src/prefs.c (load_prefs): really set default zoom factor. fixes
6884 2001-05-17 Jaka Mocnik <jaka@gnu.org>
6886 * ggv/src/callbacks.c: apply/save file selection dialog dimensions.
6887 * ggv/src/prefs.[ch]: save/load file selection dialog dimensions to/from
6888 config file. fixes bug #54652.
6890 2001-05-17 Jaka Mocnik <jaka@gnu.org>
6892 * ggv/src/main.c (create_popup_menus): added more keyboard accelerators.
6893 (create_menus): fixed keyboard accelerators clashes. fixes bug #54654.
6894 * ggv/src/callbacks.c (toggle_*_pages_callback): really _toggle_,
6895 don't just _set_ them. fixes bug #54653.
6897 2001-05-11 Gediminas Paulauskas <menesis@delfi.lt>
6899 * ggv/src/callbacks.c: add missing }
6901 2001-05-10 Jaka Mocnik <jaka@gnu.org>
6903 * ggv/src/callbacks.c (button_press_callback): added zoom-in function to
6905 * ggv/src/gtkgs.[ch] (gtk_gs_set_center): new function.
6906 * ggv/bonobo/ggv-postscript-view.c (sync_radio_items): fix syncing for
6908 * ggv/bonobo/ggv-postscript-view-ui.xml: added needed verbs with their
6911 2001-05-03 Jaka Mocnik <jaka@gnu.org>
6913 * ggv/bonobo/ggv-postscript-view.[ch]: move media menu template to
6915 (ggv_postscript_view_class_init): build media menus. properly
6916 encode translated strings.
6918 2001-04-28 Jaka Mocnik <jaka@gnu.org>
6920 * ggv/src/main.c (create_toolbar): respect toolbar labels preferences.
6922 2001-04-23 Jaka Mocnik <jaka@gnu.org>
6924 * ggv/bonobo/ggv-postscript-view-ui.xml: added a placeholder for media
6926 * ggv/bonobo/ggv-postscript-view.c (build_media_menu): build a
6927 BonoboUINode tree for a menu of media types.
6928 (ggv_postscript_view_construct): build a template for media menus.
6929 (ggv_postscript_view_create_ui): copy media menu template and create
6930 set the copied tree.
6932 2001-04-22 Jaka Mocnik <jaka@gnu.org>
6934 * ggv/src/gtkgs.[ch] (gtk_gs_get_current_page, gtk_gs_get_page_count): new
6936 * ggv/bonobo/ggv-postscript-view-ui.xml: added NextPage and PrevPage verbs
6938 * ggv/bonobo/ggv-postscript-view.c (verb_NextPage_cb, verb_PrevPage_cb):
6940 (ggv_postscript_view_create_ui): add verbs.
6941 (set_page_item_sensitivity): set PrevPage and NextPage sensitivity.
6943 2001-04-20 Jaka Mocnik <jaka@gnu.org>
6945 * ggv/merged in changes from ggv-1.0 where appropriate,
6946 * ggv/gtkgs.[ch]: implemented missing accessors in GtkGS API.
6947 * ggv/bonobo/ggv-postscript-view.c: worked on UI stuff.
6948 * ggv/finally commited changes to CVS.
6950 2001-04-20 Jaka Mocnik <jaka@barbara>
6952 * ggv/src/callbacks.[ch] (zoom_to_fit_callback): new function.
6953 * ggv/src/gtkgs.[ch] (gtk_gs_zoom_to_fit): new function.
6954 * ggv/src/main.c (create_menus): added "Zoom to fit" item.
6955 * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_zoom_to_fit):
6958 2001-04-13 Jaka Mocnik <jaka@gnu.org>
6960 * ggv/bonobo/*: new directory with bonobo stuff.
6961 * ggv/removed old bonobo embeddable.
6962 * ggv/compile GtkGS in a library that links with both GGv and
6964 * ggv/fixed lots of compile warnings.
6965 * ggv/added prototypes for functions that didn't have them yet.
6967 2001-03-29 Jaka Mocnik <jaka@gnu.org>
6969 * ggv/ps.h (struct documentmedia): Moved to gtkgs.h and renamed to
6971 * ggv/ps.c: comply to above.
6972 * ggv/src/gtkgs.h (struct _GtkGS): changed default_page_media to
6974 (gtk_gs_*_default_media): add prototypes.
6975 (gtk_gs_defaults_get_paper_sizes, gtk_gs_defaults_get_paper_count):
6977 * ggv/src/gtkgs.c: comply with above changes.
6978 (gtk_gs_defaults_get_paper_sizes, gtk_gs_defaults_get_paper_count):
6979 new functions. return array of GtkGSPaperSizes and length of that
6980 array. this will allow us to add paper types in the future.
6981 * ggv/ggvwindow.h (struct _ggv_window): make menudata and paper_menu
6982 members pointers instead of fixed-size arrays.
6983 (struct _ggv_prefs): do the same with media_choice member.
6984 * ggv/main.c: dynamically allocate/free above members.
6986 2001-03-28 Jaka Mocnik <jaka@gnu.org>
6988 * ggv/src/gtkgs.[ch]: major beautification of GtkGS APIs.
6989 (gtk_gs_set_pagemedia): becomes gtk_gs_set_page_media().
6990 (gtk_gs_set_orientation): becomes gtk_gs_set_default_orientation().
6991 (gtk_gs_get_default_orientation): new accessor.
6992 (gtk_gs_document*): become gtk_gs_get_document*().
6993 (gtk_gs_set_override_orientation, gtk_gs_get_override_orientation,
6994 gtk_gs_set_override_media, gtk_gs_get_override_media): new accessors.
6995 Changed name of all gtkgs_defaults functions.
6996 * ggv/src/prefs.c (save_prefs): save respect EOF settiing.
6997 * ggv/*.[ch]: changed all to comply with above API changes.
6999 2001-03-24 Jaka Mocnik <jaka@gnu.org>
7001 * ggv/src/main.c (refresh_coordinates): refresh coordinates label.
7002 (apply_gs_prefs): call refresh_coordinates().
7003 (open_prefs_dialog): add another choice menu for units for coordinate
7005 * ggv/src/callbacks.c (motion_callback): only set new coordinate members
7006 of ggv_window to cursor position in inches.
7007 * ggv/src/prefs.[ch]: renaming.
7008 load & save preferred coordinate display units.
7010 2001-03-23 Jaka Mocnik <jaka@gnu.org>
7012 * ggv/src/callbacks.c (motion_callback): report coordinates. currently in
7013 points. TODO: implement conversion to metric and anglo-saxon units.
7014 * ggv/src/main.c (load_gs): clear coordinates label.
7015 (create_toolbar): added navigation and zoom buttons.
7016 (create_sidebar): removed navigation and zoom buttons, moved
7017 coordinates label below scrollpane.
7019 2001-03-17 Ravi Pratap <ravi@che.iitm.ac.in>
7021 * gpdf/configure.in : Fixed logic to determine bonobo
7024 * gpdf/gpdf.desktop : Exec=gpdf and not xpdf.
7026 2001-03-08 Jaka Mocnik <jaka@gnu.org>
7028 * ggv/removed german help translation from ditribution.
7029 * ggv/bumped version to 1.0 and released a new tarball for GNOME 1.4.
7031 2001-03-05 Jaka Mocnik <jaka@gnu.org>
7033 * ggv/src/main.c (open_prefs_dialog): left-align labels.
7034 * ggv/po/sl.po: defuzzy strings.
7036 2001-03-03 John Fleck <jfleck@inkstain.net>
7039 app-docs.make, omf-install/Makefile.am, help/C/ggv-C.omf,
7040 help/de/ggv-de.omf, help/it/ggv-it.omf, help/ja/ggv-ja.omf
7042 help/C/Makefile.am, help/de/Makefile.am, help/it/Makefile.am,
7043 help/ja/Makefile.am, configure.in, Makefile.am
7044 Adding support for ScrollKeeper
7046 2001-03-03 - John Fleck <jfleck@inkstain.net>
7048 * ggv/adding COPYING-DOCS
7050 2001-02-25 Fatih Demir <kabalak@gtranslator.org>
7052 * ggv/help/C/.cvsignore: Be quiet about ggv.info.
7054 2001-02-20 Jaka Mocnik <jaka@gnu.org>
7056 * ggv/src/gtkscrollpane.c (gtk_scrollpane_motion_notify): fixed a bug
7057 that caused the scroll pane not to properly set value when the slider
7058 was dragged to top and/or left edge.
7060 2001-02-19 Jaka Mocnik <jaka@gnu.org>
7062 * ggv/src/main.c: "Attend" should read "At end";
7063 * ggv/src/*.po: updated because of the above string change.
7065 2001-02-15 Gediminas Paulauskas <menesis@delfi.lt>
7067 * ggv/src/main.c: made ~15 strings translatable.
7069 2001-02-14 Jaka Mocnik <jaka@gnu.org>
7071 * ggv/src/bonobo-application-ps.c (set_page_item_sensitivity): check
7072 if gs->doc is NULL in order to prevent segfaults.
7074 2001-02-03 Simos Xenitellis <simos@hellug.gr>
7076 * gpdf/gpdf.desktop: Added Greek messages.
7078 * gpdf/configure.in: Added el to ALL_LINGUAS.
7080 2001-02-01 Fatih Demir <kabalak@gmx.net>
7082 * ggv/help/de/.cvsignore, help/ja/.cvsignore: Added these ignore
7085 2001-01-31 Karl Eichwalder <ke@suse.de>
7087 * ggv/configure.in (ALL_LINGUAS): Remove 1 uk entry (we've had 2).
7089 2001-01-24 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
7091 * gpdf/configure.in: Added sk to ALL_LINGUAS.
7092 * gpdf/gpdf.desktop: Added Slovak messages
7094 2001-01-23 Daniel M German <dmgerman@acm.org>
7096 * ggv/src/callbacks.c (about_callback): Added Tim Theisen and Johannes
7097 Plass as authors. There is a lot of code based on gv
7098 (including the parser) so IMHO it is fair to acknowledge them. I
7099 updated Jaka as the current maintainer.
7101 2001-01-22 Jaka Mocnik <jaka@gnu.org>
7103 * ggv/src/gtkgs.c (gtk_gs_set_pagemedia): fixed a bug that prevented proper
7104 paper size overriding.
7105 * ggv/src/ps.c (psscan), gtkgs.c: made respect_eof configurable.
7106 * ggv/src/main.c, src/callbacks.c: added respect eof option to prefs dialog.
7107 * ggv/configure.in: now we're at 1.0-test7. boy, does this testing wear me
7110 2001-01-22 Daniel M German <dmgerman@acm.org>
7112 * ggv/src/gtkgs.c (set_up_page): Remove a g_print message
7114 2001-01-21 Jaka Mocnik <jaka@gnu.org>
7116 * ggv/gtkgs.c (gtk_gs_set_pagemedia): added a check for
7117 gs->doc->pages != NULL before dereferencing them. stupid me...
7119 2001-01-21 Fatih Demir <kabalak@gmx.net>
7121 * gpdf/configure.in: Added tr to ALL_LINGUAS.
7123 2001-01-21 Daniel M German <dmgerman@acm.org>
7125 * ggv/src/ps.c (psscan): Implemented ignoring EOF in structured
7126 documents. Unfortunately some Structured Documents do not properly
7127 protect EOF of embedded documents.
7129 2001-01-17 Jaka Mocnik <jaka@gnu.org>
7131 * ggv/gtkgs.[ch]: added member loaded. set to TRUE when a document is
7133 * ggv/(struct _ggv_window): removed member loaded.
7134 * ggv/fixed paper menu and choice menu syncing.
7135 * ggv/gtkgs.c (gtk_gs_realize, compute_size, set_up_page): show white
7136 background of fallback media type when no document is loaded.
7137 (gtk_gs_set_pagemedia): hopefully this is now finally fixed. it
7138 gets media type in this order: page media, doc media, page bbox,
7140 fixed orientation menu syncing and handling.
7142 2001-01-14 Stanislav Brabec <utx@penguin.cz>
7144 * src/main.c: Swapped odd/even in menus to finish odd/even
7147 2001-01-14 Jonathan Blandford <jrb@redhat.com>
7149 * ggv/src/main.c (create_menus): oops. Forgot to change this.
7151 2001-01-14 Jonathan Blandford <jrb@redhat.com>
7153 * ggv/src/callbacks.c (*_toggled_*): Changed to use the new checklist.
7154 * ggv/src/main.c (toggle_pages): removed
7155 * ggv/src/gtkchecklist.[ch]: new widget.
7156 * ggv/src/stock/.cvsignore: added
7157 * ggv/src/main.c: Removed %800 as a zoom option. It uses a _lot_ of
7160 2001-01-14 Jaka Mocnik <jaka@barbara>
7162 * ggv/src/gtkgs.c: renamed gtkgs_errmsg to gtk_gs_emit_error_msg, to be
7163 consistent with the overall naming style.
7164 (gtk_gs_set_pagemedia): attempt to use page bounding box if no
7165 page media or document media are set. fixes problems with some PDF
7168 2001-01-13 Stanislav Brabec <utx@penguin.cz>
7170 * ggv/src/main.c: Changed bad term "Paper Type" to "Page Size" to
7171 prevent ambiguity between PageSize and MediaType Postscript
7174 * ggv/src/callbacks.c: Synchronize wheel mouse events with long time
7175 established GIMP behavior (i.e. Control=HScroll, Shift=Zoom).
7176 Increased whellmouse step. Still different from GIMP where wheel
7177 step is window size relative (1/4).
7179 * ggv/src/main.c, src/stock/toggleodd.xpm, src/stock/toggleeven.xpm:
7180 Prevent odd/even ambiguities: Use natural order (odd, even),
7181 swap images to be more intuitive.
7183 * ggv/ggv.desktop: Updated cs.
7185 2001-01-11 John Fleck <jfleck@inkstain.net>
7186 * ggv/help/C/ggv.sgml, help/de/ggv.sgml, help/it/ggv.sgml, help/ja/ggv.sgml:
7187 fixing bug in the docs that prevented them from rendering in
7188 Nautilus: "DOCTYPE" in the dtd must be capitalized. Also changed
7189 "%" to "%" so as not to choke the poor Nautilus browser
7191 2001-01-11 John Fleck <jfleck@inkstain.net>
7192 * ggv/added help/de/Makefile.am
7193 * ggv/help/C/Makefile.am, help/it/Makefile.am, help/ja/Makefile.am,
7194 help/Makefile.am, configure.in:
7195 update help doc makefiles to build html at package build time, so
7196 the packager rather than the end user needs DocBook tools to build
7197 the static html from the DocBook sgml. Also, install .sgml files
7198 in help directories for future Nautilus compatibility
7200 2001-01-11 Michael Meeks <michael@helixcode.com>
7202 * gpdf/xpdf/gpdf.cc (container_launch_component): don't add the client
7203 site to the item container.
7205 2001-01-11 Jaka Mocnik <jaka@gnu.org>
7207 * ggv/src/main.c: include stock/*.xpm, not *.xpm.
7208 * ggv/src/foot*.xpm: removed.
7209 * ggv/src/gtkgs.c (check_filecompressed): free filename after possible
7210 error messages; also uncompress files by passing the uncompressing
7211 command the compressed filename in commandline and not via redirection
7212 of stdin, as some bzip2 version seem to have problems with the latter.
7214 2001-01-09 Jaka Mocnik <jaka@gnu.org>
7216 * ggv/ggv.spec.in: removed the line for sysconfdir/CORBA/servers as
7217 .gnorba files no longer exist.
7219 2001-01-08 Jaka Mocnik <jaka@gnu.org>
7221 * ggv/src/gtkscrollpane.c (gtk_scrollpane_class_init): add handler for
7222 draw signal to fix some redrawing issues.
7223 * ggv/src/main.c (restore_session, save_session): save & restore document
7224 page, zoom and scrolled position.
7225 (synchronize_user_interface): set zoom menu option to the current
7226 window magnification and NOT to the default magnification.
7228 2000-12-24 Jaka Mocnik <jaka@gnu.org>
7230 * ggv/application-ps.oafinfo: becomes Bonobo_GGV.oafinfo. also changed
7232 * ggv/application-ps.gnorba: removed.
7233 * ggv/Makefile.am: removed application-ps.gnorba.
7234 * ggv/configure.in: bumped version to 1.0-test1. released the first
7236 * ggv/MAINTAINERS: changed to jaka@gnu.org.
7238 2000-12-22 Zbigniew Chyla <cyba@gnome.pl>
7240 * ggv/ggv.desktop: Updated Polish translation.
7242 2000-12-21 Michael Meeks <michael@helixcode.com>
7244 * gpdf/xpdf/bonobo-application-x-pdf.cc: Kill mutex / thread init code,
7247 * gpdf/xpdf/gpdf.cc: update the IID naming scheme.
7249 * gpdf/xpdf/bonobo-application-x-pdf.cc (init_bonobo_application_x_pdf_factory): ditto. (init_server_factory): setup ORB properly.
7251 * gpdf/xpdf/Makefile.am: De-goadize; update oafinfo fnames.
7253 2000-12-21 Michael Meeks <michael@helixcode.com>
7255 * gpdf/configure.in (xpdf_cv_func_select_arg): remove oaf
7258 2000-12-18 Dan Damian <dand@dnttm.ro>
7260 * ggv/configure.in: Added "ro" to ALL_LINGUAS.
7262 2000-12-16 Jaka Mocnik <jaka@gnu.org>
7264 src/bonobo-application-ps.c: updated to work with latest bonobo:
7265 changed references to EmbeddableFactory to GenericFactory.
7267 2000-12-08 Fatih Demir <kabalak@gmx.net>
7269 * gpdf/configure.in: Added "ko" to ALL_LINGUAS.
7271 2000-12-04 Jaka Mocnik <jaka@gnu.org>
7273 * ggv/src/main.c (open_window): return the new ggv_window and take
7274 parameters for x, y, width and height of the window.
7275 (restore_session, save_session, client_die): new functions to
7276 support session management.
7277 (main): implement session management.
7279 2000-12-04 Darin Adler <darin@eazel.com>
7281 * gpdf/xpdf/bonobo-application-x-pdf.cc:
7282 s/bonobo_embeddable_factory_new/bonobo_generic_factory_new/.
7284 2000-11-23 Jaka Mocnik <jaka@activetools.si>
7286 * ggv/src/bonobo-application-ps.c (reload_all_views): set menu item
7287 sensitivity for each view.
7289 2000-11-21 Yukihiro Nakai <nakai@gnome.gr.jp>
7291 * ggv/configure.in (ALL_LINGUAS): add zh_CN.GB2312
7293 2000-11-16 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
7295 * ggv/configure.in (ALL_LINGUAS): added Slovak [sk]
7297 2000-11-16 Ramiro Estrugo <ramiro@eazel.com>
7299 * gpdf/xpdf/bonobo-application-x-pdf.cc:
7300 Make the signatures of callbacks match the declaraed types to
7301 avoid compiler warnings.
7303 2000-11-16 Darin Adler <darin@eazel.com>
7305 * gpdf/xpdf/.cvsignore:
7306 * gpdf/xpdf/Makefile.am:
7307 Remove remnants of old ui translation scheme
7308 now that we have Kenneth's new one (see po).
7310 2000-11-15 Zbigniew Chyla <cyba@gnome.pl>
7312 * gpdf/configure.in: Added pl to ALL_LINGUAS.
7314 2000-11-15 Maciej Stachowiak <mjs@eazel.com>
7316 * ggv/configure.in: Make OAF support unconditional (Bonobo always uses
7318 * ggv/Makefile.am: Likewise.
7319 * ggv/acconfig.h: Likewise.
7320 * ggv/src/bonobo-application-ps.c: Likewise.
7322 2000-11-10 Robert Brady <robert@suse.co.uk>
7324 * gpdf/configure.in: Added Tamil translation.
7326 2000-11-07 Fatih Demir <kabalak@gmx.net>
7328 * gpdf/xpdf/.cvsignore: Added bonobo-application-x-pdf-ui.h and
7329 gpdf-ui.h to the ignores.
7331 2000-11-06 Jason Leach <leach@wam.umd.edu>
7333 * ggv/src/bonobo-application-ps.c (stream_read): s/copy_to/copyTo/ to
7334 compile with the latest studlyCaps bonobo.
7336 2000-11-05 Pablo Saratxaga <pablo@mandrakesoft.com>
7338 * gpdf/po/da.po,configure.in: Added Danish translation.
7340 2000-11-02 Michael Meeks <michael@helixcode.com>
7342 * gpdf/configure.in: check for Bonobo >= 0.27
7344 2000-10-27 Szabolcs Ban <shooby@gnome.hu>
7346 * gpdf/configure.in: Added Hungarian (hu) entry (ALL_LINGUAS)
7347 * gpdf/gpdf.desktop: Added Hungarian entries.
7349 2000-10-20 Darin Adler <darin@eazel.com>
7351 * gpdf/.cvsignore: Add aclocal.m4.
7352 * gpdf/xpdf/bonobo-application-x-pdf.cc:
7353 Change BonoboUIHandler to BonoboUIComponent.
7355 2000-10-19 Michael Meeks <michael@helixcode.com>
7357 * gpdf/xpdf/gpdf.cc: update for Dietmer internal changes.
7359 2000-10-19 Jarkko Ranta <jjranta@cc.joensuu.fi>
7361 * gpdf/configure.in: Added Finnish (fi) entry (ALL_LINGUAS).
7362 * gpdf/gpdf.desktop: Added Finnish entries.
7364 2000-10-18 Christophe Merlet <christophe@merlet.net>
7366 * gpdf/configure.in: Added French (fr) to ALL_LINGUAS.
7367 * gpdf/gpdf.desktop: Added French strings.
7369 2000-10-17 Michael Meeks <michael@helixcode.com>
7371 * gpdf/xpdf/gpdf.xml: add.
7373 * gpdf/xpdf/Makefile.am: sort out xml files.
7375 * gpdf/xpdf/gpdf.cc: Re-engineer to the new UI handler.
7377 * gpdf/xpdf/bonobo-application-x-pdf.cc: update to new UI handler
7379 * gpdf/xpdf/bonobo-appliation-x-pdf-ui.xml: create.
7381 * gpdf/xpdf/gpdf-ui.xml: create.
7383 2000-10-17 Michael Meeks <michael@helixcode.com>
7385 * gpdf/Makefile.am (WIN32_EXTRA): remove cruft so we distcheck.
7387 2000-10-17 Almer S. Tigelaar <almer1@dds.nl>
7389 * gpdf/configure.in: Added Dutch (nl) to ALL_LINGUAS.
7391 2000-10-15 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
7393 * ggv/src/bonobo-application-ps.c: converted to new bonobo UI code.
7395 2000-10-09 Darin Adler <darin@eazel.com>
7397 * gpdf/aclocal.m4: Removed this file which is generated
7398 * gpdf/xpdf/bonobo-application-x-pdf.cc: Ifdef'd out code that doesn't
7399 compile with the latest verb changes.
7401 2000-10-08 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
7403 * ggv/src/*.c: unified capitalization: Gnome Ghostview and GGv.
7404 no more GNOME and ggv.
7406 2000-10-07 Michael Meeks <michael@helixcode.com>
7408 * gpdf/xpdf/gpdf.cc (main): cut out stale gnorba fat.
7410 * gpdf/xpdf/bonobo-application-x-pdf.cc (init_server_factory),
7411 (init_bonobo_application_x_pdf_factory): ditto.
7413 * gpdf/xpdf/bonobo-application-x-pdf.cc (embeddable_factory): remove the
7416 2000-10-07 Michael Meeks <michael@helixcode.com>
7418 * gpdf/configure.in: check for Bonobo >= 0.20
7420 2000-10-07 Jesus Bravo Alvarez <jba@pobox.com>
7422 * gpdf/configure.in: Added Galician (gl) to ALL_LINGUAS
7424 2000-10-06 Daniel M German <dmgerman@acm.org>
7426 * ggv/src/callbacks.c
7427 * ggv/src/callbacks.h
7428 * ggv/src/ggvutils.c
7429 * ggv/src/ggvutils.h
7430 * ggv/src/ggvwindow.h
7433 * ggv/src/prefs.h: Added a toolbar and icons for the sidebar.
7434 Coded by Paolo Maggi <maggi@athena.polito.it>
7436 2000-10-05 Daniel M German <dmgerman@acm.org>
7438 * ggv/src/callbacks.c (button_press_callback): Support for
7439 wheel mice. Coded by Tomas Kindahl <tomas.kindahl@codefactory.se>
7440 * ggv/src/prefs.c: Aligned some labels in prefs window.
7442 2000-10-04 Yukihiro Nakai <nakai@gnome.gr.jp>
7444 * gpdf/configure.in: Add Japanese to ALL_LINGUAS
7446 2000-10-04 Yukihiro Nakai <nakai@gnome.gr.jp>
7448 * gpdf/gpdf.desktop: Add Japanese translation.
7450 2000-10-04 Michael Meeks <michael@helixcode.com>
7452 * gpdf/xpdf/bonobo-application-x-pdf.cc (view_create_menus): upd.
7454 * gpdf/xpdf/gpdf.cc (container_launch_component): update for ItemContainer
7455 rename. (container_new): update to bonobo-win stuff.
7456 (container_set_view): use compat_get_container.
7458 2000-10-04 Michael Meeks <michael@helixcode.com>
7460 * gpdf/configure.in (xpdf_cv_func_select_arg): check for bonobo 0.19
7462 2000-10-04 Kjartan Maraas <kmaraas@gnome.org>
7464 * gpdf/configure.in: Added ALL_LINGUAS and all current languages.
7466 2000-10-04 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
7468 * ggv/src/bonobo-application-ps.c (view_merge_menus): use
7469 Bonobo_UIContainer instead of Bonobo_UIHandler.
7471 2000-09-25 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
7473 * ggv/help/C/ggv.texi: texinfo version of the sgml docs. automatic
7474 conversion does not work well and it had to be tweaked manually.
7475 therefore I have commited it to CVS.
7476 * ggv/help/C/Makefile.am: generate and install the info file.
7478 2000-09-18 Yukihiro Nakai <nakai@gnome.gr.jp>
7480 * Update help/ja/ggv.sgml
7481 * Add ja entry to help/Makefile.am
7483 2000-09-15 Mathieu Lacage <mathieu@eazel.com>
7485 * gpdf/gpdf.keys.in: fix evil evil buggy: mime types DO NOT HAVE
7487 * gpdf/gpdf.mime: idem
7489 2000-08-24 Daniel M German <dmgerman@acm.org>
7496 - Added support for orientation on on a per window basis.
7497 - To be consistent, I added the option to override orientation
7498 instead of the automatic option
7501 - Added orientation parameters in the setup window.
7503 - There are still some bugs to fix, among them:
7504 *set new paper media after the document is loaded
7505 *there are still some bugs to fix for orientation
7506 *try to test documents with multiple media
7507 *try to see if there are documents with different orientation
7509 2000-08-22 Daniel M German <dmgerman@acm.org>
7518 - Added zoom magnification to the list of persistent parameters.
7519 - Synchronized correctly all parameters between the document
7520 and the user interface (zoom, override media, default media,
7523 2000-08-15 Daniel M German <dmgerman@acm.org>
7526 * ggv/src/callbacks.c: Added the ability to set up the orientation
7527 _before_ the document is loaded, and to set up the orientation
7528 on a window basis, instead of globally. Both zoom and orientation
7529 require options in the preferences dialog window.
7531 * ggv/src/callbacks.c
7534 Added support for individual window zooming in the menu. I also
7535 synchronized the zoom button actions with the currently selected
7536 value in the zoom radio buttons in the main menu.
7538 2000-08-13 Daniel M German <dmgerman@acm.org>
7540 * ggv/src/gtkgs.c: added bounding box options for media type
7544 * ggv/src/callbacks.c: Added the ability to set watchfile and
7545 antialiasing on a document level (previously it was a global
7548 2000-08-13 Arik Devens <arik@helixcode.com>
7550 * gpdf/xpdf/bonobo-application-x-pdf.cc (view_create_menus): Switched
7551 page_enlarge_cb and page_shrink_cb to get zooming in and out
7552 workin correctly in the menu.
7554 2000-08-10 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
7556 * ggv/src/bonobo-application-ps.c: call bonobo_object_unref() instead
7557 of bonobo_object_destroy(). also fixed the factory code and some
7559 * ggv/src/gtkgs.[ch]: renamed gtkgs_defaults_struct to GtkGSDefaults
7560 for consistency and made it private to gtkgs.c.
7561 * ggv/some renaming and code reformating was done for consistency.
7562 * ggv/configure.in: fixed the bonobo check, as we need to link with both
7563 libbonobox and libbonobo.
7565 2000-08-08 Daniel M German <dmgerman@acm.org>
7572 * ggv/src/bonobo-application-ps.c
7573 * ggv/src/callbacks.c
7574 - Revamped the way the defaults for the gtkgs widget are
7575 stored. Instead of global variables I created a structure
7576 gtkgs_defaults and a bunch of functions to set and read its
7577 values. This will be more maintable and modular.
7578 - I removed the old variables gs_antialiasing,
7579 gs_default_page_media. etc, ... and replace them with calls to
7580 their corresponding functions.
7581 - Fixed bug in which landscape documents were not recognized as
7582 such when opened. I also changed the default of Landscape (as
7583 270 degrees instead of 90) so landscape documents are shown
7585 - Currently working on the automatic discovery of paper type,
7586 orientation and the ability to set defaults on a per window basis.
7587 * ggv/src/main.c the default message in the status bar shows more info
7588 about the current document, including magnification,
7589 filename, and type of PostScript document.
7591 2000-08-07 Daniel M German <dmgerman@acm.org>
7593 * ggv/TODO: Updated it. It still needs work.
7595 2000-08-06 Daniel M German <dmgerman@acm.org>
7597 * ggv/help/Makefile.am (SUBDIRS): there was a japanese translation
7598 entry but no subdirectory for its translation. Maybe somebody
7599 forgot to upload it? I removed it.
7601 2000-08-02 Michael Meeks <michael@helixcode.com>
7603 * gpdf/xpdf/Makefile.am (gpdf_LDADD): kill ghastly hack adding -lbonobo.
7604 (bonobo_application_x_pdf_LDADD): add EXTRA_GNOME_LIBS
7606 2000-08-02 Michael Meeks <michael@helixcode.com>
7608 * gpdf/configure.in: set '$bonobo' for EXTRA_GNOME_LIBS, use bonobox
7610 * gpdf/po/POTFILES.in: add.
7612 2000-07-25 Michael Meeks <michael@helixcode.com>
7614 * gpdf/xpdf/bonobo-application-x-pdf.cc (embeddable_factory): s/gtk/bonobo/
7615 on unref. Junk 2 stop tabs throught, Derek can have my kittens.
7616 (view_create_menus): create the pdf toolbar before using it.
7617 (button_press_event_cb): return a value.
7619 2000-07-16 Karl Eichwalder <ke@suse.de>
7621 * ggv/help/C/ggv.sgml: "page" vs. "pane".
7623 * ggv/help/de/topic.dat: New file.
7624 * ggv/help/de/ggv.sgml: Start translation.
7626 * ggv/help/C/ggv.sgml: Normalize the word "PostScript".
7628 2000-07-04 Michael Meeks <michael@helixcode.com>
7630 * gpdf/xpdf/GOutputDev.cc (drawImage): kill double free.
7632 * gpdf/xpdf/BonoboStream.cc (bfread): update for new API.
7634 2000-06-22 JP Rosevear <jpr@arcavia.com>
7636 * ggv/src/bonobo-application-ps.c (view_next_page_cb): Constify param
7637 (view_prev_page_cb): ditto
7638 (view_recenter_page_cb): ditto
7639 (load_ps_from_stream): No return type any more (void).
7641 * ggv/configure.in: Improve bonobo/oaf check
7643 2000-06-21 Daniel M German <dmgerman@acm.org>
7645 * ggv/src/Makefile.am (COMPONENT_LDADD): fixed a minor error in order
7646 to compile without bonobo support.
7648 2000-06-11 Fatih Demir <kabalak@gmx.net>
7650 * gpdf/gpdf.desktop: Corrected a stupid [tr]-entry.
7652 2000-06-07 Pavel Cisler <pavel@eazel.com>
7654 * gpdf/xpdf/bonobo-application-x-pdf.cc:
7655 Renamed BonoboUIHandlerCallbackFunc to BonoboUIHandlerCallback
7656 to match new naming.
7658 2000-06-02 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
7660 * ggv/application-ps.oafinfo: added the OAF info file that I forgot
7663 2000-06-01 Darin Adler <darin@eazel.com>
7665 * gpdf/xpdf/application-x-pdf.oafinfo:
7666 * gpdf/xpdf/gpdf.cc:
7667 Fixed spelling of component in IID.
7669 2000-05-28 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
7671 * ggv/configure.in, Makefile.am, src/Makefile.am: added optional
7672 use of OAF for the bonobo component. thank god we're past GNORBA.
7673 * ggv/src/bonobo-application-ps.c (init_server_factory,
7674 init_embeddable_application_ps_factory): added OAF support.
7675 * ggv/application-ps.oafinfo: relevant OAF information for our
7677 * ggv/src/main.c (recent_add): yes, Postscript is application/postscript
7679 * ggv/acconfig.h: add USING_OAF.
7681 2000-05-27 Pauli Virtanen <pauli.virtanen@saunalahti.fi>
7683 * ggv/ggv.desktop: added finnish
7685 2000-05-26 Darin Adler <darin@eazel.com>
7687 * gpdf/xpdf/bonobo-application-x-pdf.cc (load_pdf_from_stream),
7688 (embeddable_factory):
7689 * gpdf/xpdf/gpdf.cc: (open_pdf):
7690 Updated for new PersistStream interface. I mostly just passed
7691 NULLs. Not 100% sure that's correct.
7693 2000-05-26 Dan Winship <danw@helixcode.com>
7695 * gpdf/xpdf/gpdf.cc (open_pdf): Note that the data passed to the
7696 PersistStream is "application/pdf".
7698 2000-05-24 Darin Adler <darin@eazel.com>
7701 * gpdf/goo/.cvsignore:
7702 * gpdf/ltk/.cvsignore:
7703 * gpdf/xpdf/.cvsignore:
7704 Added a bunch of generated files.
7706 * gpdf/xpdf/GOutputDev.cc: (GOutputDev::updateLineAttrs):
7707 Fixed a type to avoid a warning.
7709 2000-05-15 Kjartan Maraas <kmaraas@gnu.org>
7711 * ggv/TRANSLATABLE_FILES: Added list of files containing
7712 translatable strings / text.
7714 2000-05-14 Andreas Hyden <a.hyden@cyberpoint.se>
7716 * ggv/ggv.desktop: Added Swedish translation.
7718 2000-05-11 Daniel M German <dmgerman@acm.org>
7720 * ggv/ggv.desktop (Comment): Changed
7722 to:Gnome Ghostscript frontend
7723 Comment=A Ghostscript frontend to visualize PostScript files.
7724 (submitted by Karl Eichwalder <ke@gnu.franken.de>)
7726 * ggv/Added the option to save the current geometry. Its only current
7727 defect is that it saves the geometry of the last window open
7728 (remember, we can open more than one window at a time).
7730 2000-05-10 Karl Eichwalder <ke@suse.de>
7732 * ggv/src/main.c (create_menus): Add missing shortcut.
7734 2000-05-10 Karl Eichwalder <ke@suse.de>
7736 * ggv/ggv.desktop: Improve de.
7738 2000-05-10 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
7740 * ggv/configure.in: bumped version to 0.95 and released a new tarball.
7741 * ggv/pixmaps/foot*.xpm: moved back to src as these are actually
7742 source files and libtool doesn't like sources in another subdir.
7743 * ggv/pixmaps/Makefile.am: removed feet from SOURCES ;)
7744 * ggv/src/Makefile.am: added foot*.xpm to GTK_GS_SOURCES.
7746 2000-05-07 Maciej Stachowiak <mjs@eazel.com>
7748 Work with OAF and fix various bugs:
7750 * gpdf/configure.in, aclocal.m4: Detect when Bonobo is built with OAF
7751 support, and if so use OAF.
7752 * gpdf/xpdf/Makefile.am: When using OAF, link against OAF and install
7754 * gpdf/xpdf/gpdf.cc: Include oaf headers when using OAF.
7755 (openpdf): Use OAFIID to activate the component when using OAF.
7756 (container_set_view), (container_launch_component),
7757 (container_new): Put the view in an EventBox, not a
7758 ScrolledWindow; the component now handles scrolling itself.
7759 (key_press_event_cb): Removed; key press handling moved to
7761 (main): Initialize OAF instead of GOAD when using OAF.
7762 * gpdf/xpdf/bonobo-application-x-pdf.cc: Include OAF headers when using
7764 (redraw_view): Handle the case where we are loading before the
7765 view is realized by connecting to the "realize" signal handler
7766 and deferring redrawing until then in that case.
7767 (real_redraw_view): Function to do the real redrawing.
7768 (load_pdf_from_stream): Don't call `realize_mainbox' directly, let
7769 `real_redraw_view' do it.
7770 (key_press_event_cb): In response to various key bindings, scroll
7771 the view, navigate pages, or zoom in/out.
7772 (button_press_event_cb): Grab the keyboard focus on a press of
7774 (view_create_menus): Rename menus to be more standard, and provide
7775 accelerators for menus and items.
7776 (realize_mainbox): Get window ourselves if we have to.
7777 (view_factory): Put the view in a scrolled window so scrolling can
7778 be handled by the component itself. Connect to "key_press" and
7779 "button_press" for keyboard and focus handling. Set the
7780 GTK_CAN_FOCUS flag for the main view widget.
7781 (init_bonobo_application_x_pdf_factory, init_server_factory): Use
7782 OAF when appropriate.
7784 * gpdf/xpdf/application-x-pdf.oafinfo: New file, OAF activation record.
7786 2000-04-18 Pablo Saratxaga <pablo@mandrakesoft.com>
7788 * ggv/configure.in (ALL_LINGUAS): added Catalan
7790 2000-04-13 Fatih Demir <kabalak@gmx.net>
7792 * ggv/ggv.desktop : Added [tr] ..
7794 2000-04-11 Pablo Saratxaga <pablo@mandrakesoft.com>
7796 * ggv/configure.in (ALL_LINGUAS): added Lithuanian and Ukrainian
7798 2000-04-10 Fatih Demir <kabalak@gmx.net>
7800 * gpdf/gpdf.desktop : Added [tr] ..
7802 2000-04-10 Dima Sivachenko <dima@Chg.RU>
7804 * ggv/Update Russian translation.
7806 2000-04-03 Karl EICHWALDER <ke@suse.de>
7808 * ggv/ggv.desktop: New entries for "de".
7810 2000-04-01 Jason Leach <leach@wam.umd.edu>
7812 * ggv/main.c (recent_update): more optimization/cleaning, lets not
7813 do g_list_length where we can just use an integer counter
7814 (recent_add): a postscript isn't mime-type "text/plain" is it?
7815 shouldn't it be "application/postscript"?
7817 2000-03-30 Jason Leach <leach@wam.umd.edu>
7819 * ggv/main.c (parse_an_arg): fix indentation to 8-space;
7820 (free_wwd): removed a duplicated if()
7821 (recent_update_menus): here too.
7823 * ggv/prefs.c (load_prefs): you don't need to do an if() check before
7824 a g_free(), the if() check is actually already done at the top of
7827 2000-03-30 Christopher R. Gabriel <cgabriel@firenze.linux.it>
7829 * ggv/configure.in: added help/it/Makefile for italian user documentation
7831 2000-03-29 Jason Leach <leach@wam.umd.edu>
7833 * ggv/main.c (open_prefs_dialog): set the title of the Preferences
7834 window to "GGV Preferences" rather than have it inherit "ggv" from
7837 2000-03-27 Christopher R. Gabriel <cgabriel@firenze.linux.it>
7839 * ggv/configure.in (ALL_LINGUAS): added italian (it) translation.
7841 2000-03-24 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
7843 * ggv/configure.in (ALL_LINGUAS): Added Slovene (sl) translation.
7844 * ggv/callbacks.c (about_callback): made the authors list shorter.
7845 as I've left no one out I hope no one gets mad ;) and prevented
7846 the about box from being shown multiple times.
7848 2000-03-10 Michael Meeks <michael@helixcode.com>
7850 * gpdf/xpdf/gpdf.cc: s/GNOME/Bonobo/
7852 * gpdf/xpdf/application-x-pdf.gnorba: s/GNOME/Bonobo/
7854 2000-03-10 Alastair McKinstry <mckinstry@computer.org>
7856 * ggv/configure.in (ALL_LINGUAS): Added Irish (ga) translation.
7858 2000-03-04 bertrand <bertrand@helixcode.com>
7860 * ggv/application-ps.gnorba: take into account the
7861 latest Bonobo name changes.
7863 * ggv/bonobo-application-ps.c (view_factory):
7864 no need to create the ui handler for the view,
7865 it's been already done when the view is
7868 2000-02-28 Michael Meeks <michael@helixcode.com>
7870 * gpdf/xpdf/bonobo-application-x-pdf.cc (view_factory): kill spurious
7871 UI handler creation.
7873 * gpdf/xpdf/gpdf.cc (container_set_view): update to new bonobo api.
7875 2000-02-25 NotZed <NotZed@HelixCode.com>
7877 * gpdf/xpdf/Makefile.am: Fixed up lists of sources so that distcheck
7878 works. Also, only build gpdf if with gnome (otherwise distcheck
7881 * gpdf/xpdf/gpdf.cc (container_about_cmd): Define it if we are going to
7884 2000-02-25 NotZed <NotZed@HelixCode.com>
7886 * gpdf/configure.in: Do AM_GNOME_GETTEXT for INTLLIBS def.
7888 * gpdf/Makefile.am: Dont include gjgppcf by default, can this
7889 be done in an automatic way?
7891 * gpdf/ltk/Makefile.am (libltk_a_SOURCES): Add missing sources.
7893 2000-02-09 Michael Meeks <michael@helixcode.com>
7895 gpdf/xpdf/ Clean unused & lack of casting all round the place.
7897 2000-02-08 Michael Meeks <michael@helixcode.com>
7899 * gpdf/configure.in: update bonobo check for latest ver.
7901 2000-02-08 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
7903 * gtkgs.h: Added macros to access components of structure GtkGS:
7904 the filename of the uncompressed file and flags that show if the
7905 file is compressed or a pdf file.
7906 * ggv/callbacks.c (print_callback), gtkgs.c (start_interpreter),
7907 main.c (save_marked_pages): use this macros.
7908 * ggv/Makefile.am: new files ggvutils.[ch]
7909 * ggv/ps.c (psscan), gtkgs.c (gtk_gs_load):
7910 Moved uncompress functionality from ps.c (psscan) to gtkgs.c
7911 (gtk_gs_load new function check_filecompressed).
7912 Possible error messages from the uncompress command are displayed
7913 in the same way as ghostscript warnings (normally in the message
7915 Added support for bzip2-compressed files.
7916 Moved pdf-scan functionality from ps.c (psscan) to gtkgs.c
7917 (gtk_gs_load, new function check_pdf).
7918 Both functions quote the filenames for the system() calls to allow
7919 filenames containing special characters.
7920 BUG: The list of recent files don't show filenames containing spaces
7921 (and possibly other 'special' characters).
7922 * ggv/main.c (load_gs): Don't show error dialog if gtk_gs_load fails
7923 because an error message is already shown in the message window.
7924 * ggv/main.c (open_window): Don't delete ggv window if loading of a
7925 file given in the command line fails because the user should have
7926 a chance to read the error messages.
7927 * ggv/gtkgs.h (GtkGS), gtkgs.c (gtk_gs_init, start_interpreter),
7928 bonobo-application-ps.c (view-factory): Removed local copies of the
7929 commandlines for gzip and gs; use global variables instead.
7930 * ggv/callbacks.c (prefs_apply_callback), ggv_window.h (ggv_prefs),
7931 main.c (open_prefs_dialog), prefs.c, prefs.h:
7932 Support for bzip2-compressed files.
7933 * ggv/callbacks.c (print_callback): quote filename for
7934 gnome_execute_shell so that printing of files containing spaces
7936 * ps.c: The error checking of malloced memory is useless as
7937 g_malloc, g_new etc abort the application if out of memory;
7939 * ggv/prefs.c (load_prefs, save_prefs, set_prefs), prefs.h:
7940 New option gs_watch_doc.
7941 * main.c (open_prefs_dialog), callbacks.c (prefs_apply_callback):
7942 New option "watch file" in configuration dialog.
7943 * main.c (load_gs): Start gtk_timeout function to check for changes
7945 * gtkgs.c (gtk_gs_cleanup): stop timeout function.
7946 * callbacks.[ch] (timer_callback): new function; reload file if
7948 * gtkgs.h: #defines for the timing behaviour: The check for file
7949 changes is performed every second, a reload is started 2 seconds
7950 after the file was changed.
7951 * ggv/main.c (open_prefs_dialog): Connect "help" callback.
7952 * ggv/callbacks.c: New function prefs_help_callback.
7953 * ggv/gtkgs.c (gtk_gs_cleanup): Close gs_psfile and set to NULL.
7954 (gtk_gs_load, gtk_gs_goto_page): Dont change gs_psfile here.
7955 (gtk_gs_set_pagemedia): set gs->changed when pagemedia was changed.
7956 * ggv/main.c (close_window): Delete status window before deleting main window.
7957 (set_gs_prefs): Reload file if page medium is changed.
7958 (load_gs): Disable menu item "save marked pages" if a pdf file is
7959 loaded. Some additional cosmetic changes...
7960 (save_marked_pages): If a pdf file is loaded, use the name of the
7961 dsc file as input to pscopydoc. The resulting ps file can be used
7962 to print the marked pages.
7963 * ggv/ps.c (pscopydoc): Removed status messages to stdout.
7964 * ggv/help/C/ggv.sgml: Added short description of the new option
7965 "watch file" and the changed/added command lines for gzip and
7966 bzip2 in options/ghostscript.
7967 * ggv/po/POTFILES.in: Added all source files which contain strings that
7968 should be translated.
7969 * ggv/configure.in: bumped the version to 0.90.
7970 * ggv/bonobo-applicaton-ps.c (set_page_item_sensitivity): new function
7971 that sets sensitivity of Next/Previous Page menu items when the
7973 (view_[prev|next]_page_cb, view_merge_menus): use the above.
7974 * ggv/most of the above work is by Werner Koerner
7975 <wernerk.koerner@zae.uni-wuerzburg.de>
7977 2000-02-07 Michael Meeks <michael@helixcode.com>
7979 * gpdf/xpdf/bonobo-application-x-pdf.cc: fix typo.
7981 2000-02-07 Michael Meeks <michael@helixcode.com>
7983 * gpdf/configure.in (VERSION): bump.
7985 2000-02-06 Daniel German <dmg@csg.uwaterloo.ca>
7987 * ggv/ps.c (gettextline): gettextline was returning the EOL at the end
7988 of the string. This resulted in a window title bar with an EOL at
7989 the end. the panel was showing it.
7991 2000-02-02 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
7993 * ggv/bonobo-application-ps.c: comply to changes in Bonobo API
7995 * ggv/configure.in: require bonobo >= 0.6.
7997 2000-01-28 Daniel German <dmg@csg.uwaterloo.ca>
7999 * ggv/Added Greek (el.po) to ALL_LINGUAS (Submitted by
8000 Spyridon Papadimitriou <Spyridon_Papadimitriou@gs91.sp.cs.cmu.edu>
8002 1999-12-21 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8004 * gtk_gs.c (input): removed call to gtk_main_iteration in the
8005 callback function input - this sometimes caused a endless
8007 * gtkgs.c (start_interpreter):
8008 The pipe to ghostscript was not set to non-blocking IO (the code
8009 was there, but not used).
8010 Some cleanup and small changes to enable reading from stdin.
8012 Reading files from comandline: try adding '.pdf.gz' to filename,
8013 allow "-" as filename, if no filename is given and input is no tty
8014 then use stdin as input.
8015 * ps.c (psscan): Added code to scan ps files with a pjl header
8016 (many printer drivers for laser printers send a pjl command to
8017 switch the printer to postscript mode).
8018 psscan now ignores a leading ^D in the postscript-file.
8019 cleaned up uncompress and pdf-scan code (no recursion or goto's)
8020 replaced some more malloc, realloc, etc calls by their glib
8022 * commented out some messages printed to stdout.
8023 Some of these messages were printed while ggv has both mouse
8024 and keyboard focus. When these call blocks (e.g. when ggv was
8025 started in a xterm in the background) the whole X server was
8027 * patches by Werner Koerner <Werner.Koerner@zae.uni-wuerzburg.de>.
8029 1999-12-17 Michael Meeks <mmeeks@gnu.org>
8031 * gpdf/xpdf/gpdf.cc (container_set_view): make wrapper invisible.
8033 * gpdf/xpdf/bonobo-application-x-pdf.cc (embeddable_factory): kill
8034 diff id string. + constify lots of paths.
8035 (view_factory): kill size query. (view_size_query): kill.
8037 1999-12-16 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8039 * ggv/bonobo-application-ps.c (embeddable_factory): don't pass goad id
8040 as a parameter to gnome_persist_stream_new().
8041 (#define GGV_GOAD_ID): removed as it was not referenced anymore.
8043 1999-12-14 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8045 * ggv/callbacks.c (open-callback, save_callback): g_free() dirname.
8046 * ggv/gsmessage.[ch]: new files, implement a dialog for showing
8047 GS error messages in a single dialog instead of a bunch of
8048 error dialogs. this was sorely needed: thanks, Werner.
8049 * ggv/main.c (load_gs): create/clear the message dialog.
8050 if no document is available, show filename as title of the main
8052 * ggv/callbacks.c (interpreter_message_callback): add text to message
8054 * ggv/gtkgs.[ch] (struct _GtkGS): removed filename_raw member.
8055 removed all references to the above member.
8056 * ggv/file.[ch]: removed.
8057 * ggv/callbacks.c (about_callback): added Werner to the about dialog.
8058 it's the least I can do to show my appreciation of his patches ;)
8059 * ggv/configure.in: increased version once again. we're at 0.83 now.
8061 1999-12-11 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8063 * ggv/gtkgs.c (input): replace call to g_main_iteration() with
8064 gtk_main_iteration().
8065 (set_up_page): clear newly allocated pixmap before it is used.
8066 (float compute_xdpi, float compute_ydpi): changed prototypes.
8067 * ggv/gtkgs.c, main.c: add checks when using document structure
8068 information (gs->doc, gs->doc->media, gs->doc->pages,
8070 * ggv/callbacks.c (select_page_button_press_callback): fixed typo.
8071 * ggv/ps.c (psscan): ambiguous if-else constuction; added braces.
8072 add prototypes for static functions.
8073 * ggv/callbacks.h (zoom_to, recent_update): add prototypes
8074 * ggv/main.c (get_number, ggv_parse_geometry, escape_underlines,
8075 create_pixmap, parse_an_arg, ggv_file_readable): made static
8076 * ggv/gtkscrollpane.c, main.c, prefs.c: fix compiler warnings
8077 * ggv/main.c (recent_update): when duplicate filenames occur then
8078 free memory of one of them.
8079 (load_gs): gtk_clist_append makes its own copies of the used strings,
8080 so an additional strdup is not necessary.
8081 (create_ggv_window): removed widget vbox which was created, but never
8083 * ggv/all of the above is courtesy of bug-spotting and coding skills of
8084 Werner Koerner <Werner.Koerner@zae.uni-wuerzburg.de>.
8085 * ggv/main.c (recent_update_menus): only allocate menu once, as only one
8086 instance is required. free it upon completing menu updating. free the
8088 * ggv/configure.in: bumped version to 0.82.
8090 1999-12-11 Daniel M German <dmg@csg.uwaterloo.ca>
8092 * ggv/Updated help/C/Makefile.am to make sure that help html files are
8093 included in the distribution file.
8094 * ggv/Released version 0.82
8096 1999-12-07 Daniel M German <dmg@csg.uwaterloo.ca>
8098 * ggv/TODO: Added request to use gdk_pixbuf (might improve performance
8101 1999-12-05 <dmg@csg.uwaterloo.ca>
8103 * ggv/configure.in: bumped version to 0.81.
8105 * ggv/Added command line options to the help file. Make sure the help
8106 files are part of the distribution.
8108 * ggv/main.c: commented code for save_as option. If somebody really
8109 wants to save "as" then she can mark all the pages and then save
8110 marked pages. Otherwise, it is just needed to implement a "copy"
8111 from the source file to the destination file.
8113 * ggv/ps.c (pscopyuntil): make sure we don't read beyond the end of
8116 * ggv/main.c (open_prefs_dialog): make sure the source file is the
8117 uncompressed one (if the source file is compressed). Fixes bug in
8118 which a "save pages" from a compressed file did not workx
8120 1999-12-03 Nat Friedman <nat@helixcode.com>
8122 * ggv/bonobo-application-ps.c (view_size_query_cb): Removed.
8123 (view_realize_cb): Removed call to deleted function
8124 gnome_view_size_request.
8125 (reload_all_views): Likewise.
8126 (view_factory): Removed signal connect to "size_query" on the
8129 1999-12-02 Daniel M German <dmg@csg.uwaterloo.ca>
8131 * ggv/configure.in: created version 0.80
8133 * ggv/prefs.c (load_prefs): ggv uses the shell to execute two
8134 commands: one to convert from pdf to ps and another to
8135 decompress. I protected the file names with " " so the file name
8136 does not get interpreted by the shell. This has a disadvantage: if
8137 the file name contains " then this will not work. Thanks to
8138 Christian Hammers <ch@lathspell.westend.com> for the bug report.
8140 1999-11-30 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8142 * ggv/ggvwindow.h (struct _ggv_window): added GtkWidget * members for
8143 menu and popupmenu items for clearing and toggling pages.
8144 * ggv/main.c: included <ctype.h> in order to get prototype for isdigit().
8145 (load_gs, create_popup_menu, create_menus): set sensitivities for the
8147 * ggv/ps.c: removed file_getTmpFileName() and replaced it with use of
8148 tempnam() and g_get_tmp_dir().
8149 * ggv/gtkgs.c (gtk_gs_cleanup): free all filenames and set them to NULL.
8150 once again, thanx for discovering these bug and providing the fixes go
8151 to Werner Koerner <werner.koerner@zae.uni-wuerzburg.de>.
8153 1999-11-28 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8155 * ggv/gtkgs.c (start_intrepreter): pass filename of the uncompressed
8156 file to gs if the original file was compressed.
8157 (gtk_gs_load): return FALSE if the document could not be loaded -
8158 this prevents segfaults when an empty document is loaded.
8159 (set_up_page): set LC_NUMERIC locale to C before printing floats for
8160 ghostscript and reset it back afterwards as ghostscript expects a
8161 '.' decimal point while some european locales use ','.
8162 * ggv/main.c (recent_update_menus): fixed occasional segfaults when
8163 updating menus. also fixed a memory leak by freeing window_with_data
8164 structures associated with menu items. don't translate the menu paths
8165 as libgnomeui does that on the fly.
8166 (recent_update): store files in a global list.
8167 (recent_update_menus): don't free the list passed in as the parameter.
8168 * ggv/ggvwindow.h (struct _ggv_window): changed recent_instantiated to
8169 num_recent (if >0 then recent file menus have been instantiated).
8170 * ggv/prefs.[ch]: removed gs_num_recent.
8171 * ggv/thanx for reporting recent files list, compressed files and locale
8172 problems and even sending patches for them go to Werner Koerner
8173 <werner.koerner@zae.uni-wuerzburg.de>
8175 1999-11-21 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8177 * ggv/main.c (load_gs): call recent_add().
8178 (open_window): call recent_update() after successfully loading a
8180 * ggv/callbacks.c (file_open_ok_callback): remove call to recent_add(), as
8181 we now call it from load_gs().
8183 1999-11-20 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8185 * ggv/gtkgs.c (gtk_gs_load): call gtk_gs_clean() even if the
8187 * ggv/callbacks.c (print_callback): if the loaded document was compressed
8188 use the uncompressed temp file as the argument for the print command.
8189 * ggv/main.c: fix setting the sensitivity of 'File' menu items.
8190 (open_prefs_dialog): handle "changed" signal of all GtkEntries with
8191 prefs_changed_callback(). this fixes a bug that caused new values to
8192 be applied only if the user "activated" the entry by pressing Enter.
8193 * ggv/ggvwindow.h: add printmarked member to struct _ggvwindow.
8195 1999-11-15 Yuri Syrota <rasta@renome.rovno.ua>
8197 * ggv/configure.in (ALL_LINGUAS): Added Ukrainian (uk).
8199 1999-11-06 Michael Meeks <mmeeks@gnu.org>
8201 * gpdf/xpdf/gtkgesture.c (gesture_data_append_point): fix leak.
8203 * gpdf/xpdf/bonobo-application-x-pdf.c (setup_pixmap): Fix leak +
8206 * gpdf/xpdf/GOutputDev.cc (~GOutputDev): Add clear of state stack +
8207 clear text page + delete font. (startPage): fic gdkGC leaks.
8210 1999-11-02 Daniel M German <dmg@csg.uwaterloo.ca>
8212 * ggv/main.c, callbacks.c: Moved error message "not marked pages" in
8213 saved_as before the file dialog
8214 * ggv/ps.c: Added code to fix a "feature" of NT in which
8215 code is added after the %%EndSetup and before
8216 the first %%Page: x y. This code belongs to
8219 1999-10-26 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8221 * ggv/main.c (create_popup_menus): add all the "Toggle *" items to the
8223 (toggle_pages): return immediately if no document is loaded.
8224 * ggv/foot.xpm, foot_white.xpm: change background to None.
8226 1999-10-26 Daniel M German <dmg@csg.uwaterloo.ca>
8228 * ggv/Released version 0.70
8230 1999-10-24 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8232 * ggv/bonobo-application-ps.c (verb_*_page): check if a document
8233 is loaded before turning the page.
8234 * ggv/foot.xpm, foot_white.xpm: make the background transparent
8236 * ggv/main.c, callbacks.c: removed some redundant marking code and
8239 1999-10-24 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8241 * ggv/main.c (set_page_sensitivities): enable the next button when
8242 a non-structured document is loaded.
8243 (load_gs): clear page list if a non-structured doc is loaded.
8245 1999-10-23 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8247 * ggv/gtkgs.c (gtk_gs_load): set send_filename_to_gs to FALSE in case
8248 of a structured doc. this fixes a nasty bug that caused ggv to
8249 hang if a structured doc was loaded after a non-structured one.
8251 1999-10-21 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8253 * ggv/main.c (create_menus): add a 'Print marked pages' item.
8254 (save_marked_pages): a utility function that saves marked pages to
8255 a file. copied code from file_save_ok_callback().
8256 * ggv/callbacks.[ch] (file_save_ok_callback): call save_marked_pages().
8257 (print_marked_pages_callback): save marked pages to a tmp file and
8258 print them. does not unlink the tmp file.
8259 * ggv/ggvwindow.h: renamed bRecentHasBeenInstantiated to
8260 recent_instantiated.
8261 * ggv/gtkgs.c (gtk_gs_marshall_signal_0): removed.
8262 some formatting and var naming changes to make the code look nicer.
8264 1999-10-20 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8266 * ggv/bonobo-application-ps.c (view_factory): set a UIHandler to our
8268 (view_activate_cb): merge/remove view menus on (de)activation.
8269 (view_next_page_cb, view_prev_page_cb, view_recenter_page_cb):
8270 callbacks for view menus.
8272 1999-10-11 Michael Meeks <mmeeks@gnu.org>
8274 * gpdf/xpdf/GOutputDev.cc: Re-enable stroke color setting.
8276 1999-10-08 Michael Meeks <mmeeks@gnu.org>
8278 * gpdf/xpdf/gpdf.cc (container_new): add to list before possibly removing.
8280 * gpdf/xpdf/bonobo-application-x-pdf.cc (destroy_embed): Quit on last
8282 (load_pdf_from_stream): inline redraw-all with new API.
8283 (redraw_view): implement (redraw_all): remove. (realize_mainbox):
8285 (destroy_view): Fix serious memory corruption freeing pixmap
8287 (view_activate): kill debug.
8289 1999-10-06 Peter Teichman <pat4@acpub.duke.edu>
8291 * gpdf/xpdf/GOutputDev.cc: add return type for GOutputServerFont::isOk()
8293 * gpdf/xpdf/bonobo-application-x-pdf.cc: casting fixes, for compiling
8296 * gpdf/xpdf/PSOutputDev.cc: same, more casting fixes
8298 1999-10-06 Michael Meeks <mmeeks@gnu.org>
8300 * gpdf/xpdf/BonoboStream.cc (bfseek): Add debug case.
8301 (bfread): nail immense leak.
8303 * gpdf/xpdf/gpdf.cc (container_set_view): Activate the component to
8304 allow gestures to work.
8306 1999-10-05 Michael Meeks <mmeeks@gnu.org>
8308 * gpdf/xpdf/bonobo-application-x-pdf.cc (setup_pixmap): Connect
8309 gestures + add event mask.
8311 * gpdf/xpdf/gpdf.cc (container_close): Created. (container_close_cmd):
8312 Use it. Huge header clean.
8314 * gpdf/xpdf/gtkgesture.[ch]: Create.
8316 1999-10-05 Jesus Bravo Alvarez <jba@pobox.com>
8318 * ggv/configure.in (ALL_LINGUAS): Added Galician (gl).
8320 1999-09-20 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8322 * ggv/gtkgs.[ch]: removed all traces of non-existant foo() signal ;).
8323 add an "interpreter_message" signal that gets called with lines of
8324 interpreter output as a parameter. the default handler simply frees
8325 the space allocated for message. seems like a nice way to pass
8326 interpreter errors to the widget user.
8327 * ggv/callbacks.[ch]: new files. moved all callbacks here from main.c
8328 since it was growing too large.
8329 (interpreter_message_callback): popup an error message with
8330 interpreter output. line by line unfortunately :(
8331 changed all instances of _cb to _callback - for consistency ;)
8332 * ggv/main.c: make some variables non-static in order to be accessed
8333 from callbacks.c. make all functions non-static.
8334 * ggv/ggvwindow.h: add enums and declarations of variables and functions
8335 shared by main.c and callbacks.c.
8336 * ggv/Makefile.am: add callbacks.c to build process.
8338 1999-09-19 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8340 * ggv/gtkgs.c: added some checks if the widget is realized before calling
8341 set_up_page(). removed some commented-out messages and improved the
8342 looks of some parts of the code.
8343 (gtk_gs_goto_page): pass a duplicated gs_filename gtk_gs_load() as
8344 gs_filename is freed in gtk_gs_load() before parameter is used.
8345 * ggv/bonobo-application-ps.c (verb_next_page, verb_prev_page): make them
8346 proper GnomeViewVerbFuncs.
8347 (view_factory): register verbs. connect realize signal handler to
8348 GtkGS in order to load and display document at realization time if it
8349 has been loaded before the view was created. connect size_query signal
8350 handler to the view.
8351 (view_realize_cb): render & display the document.
8352 (view_button_press_cb): popup verbs on button 3 click.
8353 (view_size_query_cb): ask for as much space as GtkGS needs...
8354 (stream_read): removed old code as I've implemented _Stream_copy_to()
8356 (load_ps_from_stream): move view updating here from stream_read().
8357 (update_all_views): renamed to reload_all_views(), as this is really
8360 1999-09-13 Karl Eichwalder <ke@suse.de>
8362 * ggv/main.c (create_menus): Add accel key for "Save As..."
8365 * ggv/main.c (about_callback): Fix typo.
8366 * ggv/main.c (about_callback): Fix another one: It's PostScript, but
8367 Ghostscript (note the case of "...script") ;)
8368 * ggv/main.c (open_prefs_dialog): Ditto.
8370 1999-09-11 Michael Meeks <michael@nuclecu.unam.mx>
8372 * gpdf/xpdf/bonobo-application-x-pdf.cc (destroy_view): destroy don't
8373 unref, make more paranoid add debug. (destroy_embed): Clean.
8375 * gpdf/xpdf/gpdf.cc (key_press_event_cb): Added all manner of
8377 (container_new): Add key stuff (container_destroy_cb): Implement.
8378 (container_destroy): Add paranoid check.
8380 1999-09-08 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8382 * ggv/ggvwindow.h: it is plain ugly to define and not only declare a
8383 GdkCursor in a header file, so I removed the definition.
8384 * main.c (pan_cursor): define static GdkCursor *pan_cursor;
8385 (create_popup_menus): make #defines for indexes of relevant items
8386 in the popupMenu[] array in order to avoid sensitivity setting
8387 mayhem that followed when someone inserted new items in the menu.
8388 * ggv/bonobo-application-ps.c (pan_cursor): same as above.
8389 (verbs, embeddable_factory): sync with bonobo verb changes.
8390 (view_factory): remove call to set_prefs() and instead duplicate
8391 most of its code, as it was changed to take ggvwindow* as parameter
8392 instead of GtkGS*. next time I'd appreciate if people checked how
8393 bonobo parts compiled before comitting their changes.
8394 * ggv/application-ps.gnorba: brought up-to-date.
8396 1999-09-07 Tomas Ogren <stric@ing.umu.se>
8398 * ggv/main.c: Fixed a typo
8400 1999-09-07 Michael Meeks <michael@imaginator.com>
8402 * gpdf/xpdf/gpdf.cc (container_new): Fiddled with scrollpane
8404 1999-09-07 <dmg@csg.uwaterloo.ca>
8406 * ggv/main.c: updated authors
8408 1999-09-06 Daniel M. German <dmg@csg.uwaterloo.ca>
8410 * ggv/main.c, added ggvwindow.h, prefs.h, prefs.c
8411 Modified prefs so they apply to the ggv_window
8412 instead of gs, since some options apply to the former.
8414 1999-09-06 Andreas Persenius <andreas@alfaskop.net>
8416 * ggv/main.c, prefs.h, prefs.c:
8417 Added the option to jump at the beginning of a page when
8418 scrolling with pageup, page down.
8420 1999-09-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
8422 * ggv/main.c (about_callback): Use the imlib visual for displaying the
8423 image loaded with imlib. Fixes crashes on multi-depth visuals.
8425 1999-09-03 Andreas Persenius <andreas@alfaskop.net>
8428 Adds ... to File/Open
8429 Removes ... from File/Print... since no dialog comes up.
8430 Sets the cursor position to 0 in the text entrys in the preferences
8433 1999-09-03 Daniel M. German <dmg@csg.uwaterloo.ca>
8435 * ggv/prepared version 0.61
8436 * ggv/main.c, gtkgs.c, ps.c
8437 Finished support to save marked pages.
8439 1999-09-02 Matthias Warkus <mawa@iname.com>
8441 * ggv/ggv-splash.png: Added beautiful image for about widget.
8443 1999-09-01 Michael Meeks <michael@imaginator.com>
8445 * gpdf/xpdf/bonobo-application-x-pdf.cc: Fix a massive leak :-).
8446 Considerably simplified with GtkPixmap. Fixed location problems.
8448 1999-08-29 Miguel de Icaza <miguel@gnu.org>
8450 * ggv/main.c (escape_underlines): Include escape_underlines (copies
8451 from mc/gnome/gpopup2.c).
8452 (recent_update_menus): Escape file names from underlines.
8454 1999-08-27 Michael Meeks <michael@imaginator.com>
8456 * gpdf/xpdf/bonobo-application-x-pdf.cc: Remove count of embeddable
8457 servers: seems to be handled inside Bonobo now.
8459 1999-08-27 Karl Eichwalder <ke@suse.de>
8461 * ggv/ggv.spec.in: Minor fixes.
8463 1999-08-27 Karl Eichwalder <ke@suse.de>
8465 * ggv/ggv.desktop (Comment): PostScript vs. Ghostscript. Typo.
8467 1999-08-27 <dmg@csg.uwaterloo.ca>
8469 * ggv/gtkgs.c,main.c: Finished support for selecting pages
8470 * ggv/ps.c: Started implementation of saving selected pages
8471 * ggv/foot.xpm, foot_white.xpm: Added the pixmaps for the marks
8473 1999-08-26 Michael Meeks <michael@imaginator.com>
8475 * gpdf/xpdf/gpdf.cc (component_destroy): Improved clean up.
8477 * gpdf/xpdf/bonobo-application-x-pdf.cc (bed_free_data): Expand, and
8478 clean; remove redundant pdf_stream delete.
8480 1999-08-25 <dmg@csg.uwaterloo.ca>
8482 * ggv/main.c: Starting adding support to select individual pages
8483 * ggv/main.c: Added fullscreen command line option
8485 1999-08-24 Michael Meeks <michael@imaginator.com>
8487 * gpdf/xpdf/application-x-pdf.gnorba: Update to new mime type.
8489 * gpdf/xpdf/Makefile.am (gnorba_DATA): Rename mime type.
8492 * gpdf/xpdf/gpdf.cc (main): File up a container if we fail to load any
8493 of the command line files.
8495 1999-08-24 Michael Meeks <michael@imaginator.com>
8497 * gpdf/xpdf/Makefile.am: Cleaned + added thread bits.
8499 * gpdf/xpdf/bonobo-image-x-pdf.cc: Add locking round 'xref' global.
8500 Remove CORBA_Environment global.
8502 1999-08-24 Michael Meeks <michael@imaginator.com>
8504 * gpdf/xpdf/bonobo-image-x-pdf.cc (bed_free_data): Rationalised Stream
8505 duplicate / release, and scoped BonoboFile correctly.
8507 * gpdf/xpdf/BonoboStream.cc (bfseek): Add init / free to all corba
8508 exceptions, ( stupidly lost this code somehow ).
8510 * gpdf/xpdf/bonobo-image-x-pdf.cc (render_page): Add startDoc.
8511 (main): Add freeParams.
8513 1999-08-24 Michael Meeks <michael@imaginator.com>
8515 * gpdf/configure.in: Removed check for Glade.
8517 * gpdf/Makefile.am (gpdf.*): Renamed from xpdf.*
8519 1999-08-24 Michael Meeks <michael@imaginator.com>
8521 * gpdf/configure.in: Add EXTRA_GLIB_LIBS/CFLAGS to include thread
8524 1999-08-24 <dmg@csg.uwaterloo.ca>
8526 * ggv/prepared version 0.51
8527 * ggv/Added MAINTAINERS file
8528 * ggv/gtkgs.c: Now it _deletes_ temporal files :)
8529 * ggv/main.c: Added geometry, spartan and nomenubar command line options
8530 and support for them
8531 * ggv/main.c: Add .ps or .pdf extension if not specified in the command line
8532 * ggv/ps.c: changed all free and mallocs to their gnome counterparts
8534 1999-08-23 Miguel de Icaza <miguel@gnu.org>
8536 * gpdf/xpdf/bonobo-image-x-pdf.cc: Replace exit() with gtk_main_quit()
8538 1999-08-23 Miguel de Icaza <miguel@gnu.org>
8540 * ggv/bonobo-application-ps.c (embeddable_factory): Adapt to current Bonobo.
8542 1999-08-23 Michael Meeks <michael@imaginator.com>
8544 * gpdf/xpdf/gpdf.cc (container_launch_component): Fix flags.
8545 (container_create_toolbar): Fix for new Bonobo.
8547 1999-08-23 Michael Meeks <michael@imaginator.com>
8549 * gpdf/xpdf/Makefile.am: Added helper programs back in.
8551 * gpdf/xpdf/bonobo-image-x-pdf.cc (view_create_menus): Toolbars.
8553 1999-08-23 <dmg@csg.uwaterloo.ca>
8555 * ggv/Started support for command line options
8556 * ggv/Close window is now active
8558 1999-08-22 Nat Friedman <nat@gnome-support.com>
8560 * ggv/bonobo-application-ps.c (main): Use bonobo_main.
8562 1999-08-22 Miguel de Icaza <miguel@gnu.org>
8564 * gpdf/xpdf/bonobo-image-x-pdf.cc (main): Add error checking for
8565 factory registration.
8567 1999-08-22 Michael Meeks <michael@imaginator.com>
8569 * gpdf/xpdf/bonobo-image-x-pdf.cc: Add zoom.
8571 1999-08-22 Herbert Valerio Riedel <hvr@hvrlab.dhs.org>
8573 * ggv/main.c: changed type of data in struct _window_with_data to
8574 pointer (caused problems when sizeof(gpointer) > sizeof(gint) -
8577 1999-08-21 Herbert Valerio Riedel <hvr@hvrlab.dhs.org>
8579 * ggv/Makefile.am: integrated spec file
8580 * ggv/ggv.spec.in: reworked spec file, based on old ggv.spec
8581 * ggv/configure.in: added ggv.spec.in to AC_OUTPUT
8582 * ggv/ggv.spec: removed, as it is autogenerated now
8584 1999-08-20 Daniel M. German <dmg@csg.uwaterloo.ca>
8586 * ggv/prepared version 0.50
8587 * ggv/removed debug messages
8588 * ggv/added support for most recently used documents
8589 * ggv/it deletes temporal files now
8591 1999-08-19 Michael Meeks <michael@imaginator.com>
8593 * gpdf/xpdf/PDFDoc.cc: Altered to read / write lines.
8595 * gpdf/xpdf/PDFDoc.cc: Move FileStream::checkHeader so its called in
8596 FileStream constructor.
8598 1999-08-18 Michael Meeks <michael@imaginator.com>
8600 * gpdf/xpdf/gpdf.cc: cloned from test-container.
8601 (launch_server): use GOAD_ACTIVATE_SHLIB not '0'
8603 1999-08-16 Michael Meeks <michael@imaginator.com>
8605 * gpdf/xpdf/Makefile.am (bin_PROGRAMS): Hack to only make bonobo
8608 * gpdf/xpdf/bonobo-image-x-pdf.cc (view_factory): Init all members.
8610 1999-08-15 Michael Meeks <michael@imaginator.com>
8612 * gpdf/xpdf/Now bonobo-image-x-pdf works, but everything else is
8615 make bonobo-image-xpdf to compile...
8617 1999-08-11 Michael Meeks <michael@imaginator.com>
8619 * gpdf/xpdf/bonobo-image-x-pdf.cc: Fixed innumerable bugs, some in
8621 (load_image_from_stream): Try closing the file to let its contents
8622 hit disk before reading from it :-)
8623 (configure_size): Don't get scared by configure_size.
8624 (redraw_view): Get the parameters in some sort of order.
8626 1999-08-11 Michael Meeks <michael@imaginator.com>
8628 * gpdf/xpdf/bonobo-image-x-pdf.cc: Added.
8630 * gpdf/xpdf/Makefile.am: added bonobo-image-x-pdf.c
8632 1999-08-03 Michael Meeks <michael@imaginator.com>
8634 * gpdf/xpdf/gpdf.cc: Lots of updates, gives up on logging changes
8637 1999-08-02 Michael Meeks <michael@edenproject.org>
8639 * gpdf/xpdf/GOutputDev.cc: Fix more silly region merging bugs.
8641 1999-08-01 Michael Meeks <michael@edenproject.org>
8643 * gpdf/xpdf/Makefile.in: Added -lglade, -lglade-gnome & Added -Wall
8645 * gpdf/xpdf/gpdf.glade: Added.
8647 * gpdf/xpdf/gpdf.cc (loadFile): Add typecast.
8648 Remove all DOC_ROOT's magic numbers.
8650 Lots of other bits ...
8652 1999-07-29 Michael Meeks <michael@edenproject.org>
8654 * gpdf/xpdf/GOutputDev.cc: Hahaaa... the bug ! :-) A difference in how
8655 GDK / X deal with merging rectangles and regions. Good.
8657 * gpdf/xpdf/gpdf.cc (doc_redraw_event): Messing around.
8659 * gpdf/xpdf/GOutputDev.cc (drawChar): Fix char printed as string.
8661 1999-07-13 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8663 * ggv/application-ps.gnorba: use GNOME/Embeddable*.
8664 * ggv/main.c (load_gs): if the loaded document is the same as the one
8665 viewed, don't reset the page to 0.
8666 (set_gs_prefs): really reload the document.
8667 (print_callback): use gnome_execute_shell()
8668 * ggv/prefs.c (load_prefs): add %s to the default printing command.
8670 1999-07-11 Tomas Ogren <stric@ing.umu.se>
8672 * ggv/gtkgs.c: Process events to keep the UI somewhat alive..
8674 1999-07-09 Tuomas J. Lukka <lukka@iki.fi>
8676 * ggv/Fix some cvsignores
8678 1999-07-08 Daniel M. German <dmg@csg.uwaterloo.ca>
8680 * ggv/ps.c, gtkgs.c There seem to exist some PostScript documents that
8681 do not have !PS at the beginning. Heck, they have nothing. For example,
8682 I was trying to read a file that started with:
8686 /beginword % Usage: str x y beginword
8690 Even if a remove the line with %! it is still a valid PostScript
8693 Sooo, I decided (temporarily at least) to do what gv does: pass
8694 the file to GhostScript in the hope that it will be able to deal
8695 with it. The current error messages are sent to stderr. We should
8696 handle them in a nicer way.
8698 1999-07-08 Tuomas J. Lukka <lukka@iki.fi>
8700 * ggv/From: Alexander Savelyev <fano@alfacom.net>
8701 patch to fix small buglet
8703 1999-07-08 Tuomas J. Lukka <lukka@iki.fi>
8705 * ggv/Add keystrokes to menu entries.
8707 1999-07-08 Tuomas J. Lukka <lukka@iki.fi>
8709 * ggv/Fixed my own caused bug - accelerators should
8712 1999-07-03 Daniel M. German <dmg@csg.uwaterloo.ca>
8713 * ggv/gtkgs.c fixed a bug that froze the
8714 interface whenever a encapsulated postscript
8716 * ggv/main.c added functionality to the file_open_window
8717 it now uses the directory where the current
8718 document is as the default directory.
8720 1999-07-02 Tuomas J. Lukka <lukka@iki.fi>
8722 * ggv/Add '+' and '-' keys for zoom in & out
8723 * ggv/clean up key_pressed_event_callback by moving out the
8726 1999-07-02 Tuomas J. Lukka <lukka@iki.fi>
8728 * ggv/Allow the prefix to be just %!PS, not just %!PS-Adobe.
8729 Many files have just that.
8731 1999-06-25 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8733 * ggv/test-container.c: removed. it was just another nuisance
8734 that had to be updated all the time. test-container-autoload
8735 from bonobo package will do for testing the component.
8736 * ggv/Makefile.am: updated to reflect the above.
8738 1999-06-22 Daniel M. German <dmg@csg.uwaterloo.ca>
8739 * ggv/main.c Improved the file open window. It does not close
8740 if the selected file is a directory or if the
8741 file does not exist. It now handles wildcards in the
8744 1999-06-22 Nat Friedman <nat@gnome-support.com>
8746 * ggv/test-container.c: Use gnome_bonobo_object_client_free_verbs
8747 instead of gnome_bonobo_object_free_verbs. Ditto with
8748 gnome_bonobo_object_client_get_verbs and
8749 gnome_bonobo_object_client_do_verb.
8751 * ggv/bonobo-application-ps.c (view_factory): Accept the ViewFrame as
8754 1999-06-22 Matt Loper <matt@gnome-support.com>
8756 * ggv/bonobo-application-ps.c (bonobo_object_factory): Changed to
8757 eliminate need for path, and to reflect GnomeBonoboObjectFactory
8758 -> GnomeComponentFactory change. Return GnomeObject instead of
8761 1999-06-21 <dmg@csg.uwaterloo.ca>
8762 * ggv/Contributed to the help
8764 1999-06-20 <dmg@csg.uwaterloo.ca>
8766 * ggv/Released version 0.40
8767 * ggv/Fixed pt_BR.po
8769 1999-06-18 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8771 * ggv/main.c (create_ggv_window): fix toplevel sizing.
8773 1999-06-16 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8775 * ggv/main.c (hide_menubar_callback): becomes show_menubar_callback.
8776 (hide_toolbar_callback): becomes show_panel_callback.
8777 (show_menubar_callback): small fix to properly enable the togglebuttons
8778 when the menus are not created upon startup.
8779 * ggv/main.c, prefs.[ch]: changed gs_toolbar to gs_panel.
8781 1999-06-15 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8783 * ggv/main.c: take care of the reload item sensitivity. turn hide/show items
8784 into toggleitems. some general work on code aesthethics.
8786 1999-06-14 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8788 * ggv/test-container.c: use new convenience functions for handling
8789 the verbs instead of using CORBA functions.
8790 * ggv/bonobo-application-ps.c: use the GNOME_Stream_copy_to() function,
8791 as I've just implemented it for GnomeStreamFS in bonobo.
8793 1999-06-12 Daniel M. German <dmg@csg.uwaterloo.ca>
8795 * ggv/Added pt_BR.po, contributed by Lalo Martins <lalo@webcom.com>
8797 1999-06-09 Tuomas J. Lukka <lukka@iki.fi>
8799 * ggv/Help file small edit
8801 1999-06-09 Michael Meeks <michael@edenproject.org>
8803 * gpdf/xpdf/gpdf.cc (main): Add error init.
8805 1999-06-06 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8807 * ggv/gtkgs.c (gtk_gs_load): set document size parameters to 0.
8808 * ggv/main.c (create_menus): added tooltip strings to UI items. install
8810 (load_gs): report some status via appbar flashes.
8811 (create_ggv_window): add a statusbar.
8813 1999-06-05 Tomas Ogren <stric@ing.umu.se>
8815 * ggv/configure.in: Add sv to ALL_LINGUAS
8817 1999-06-05 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8819 * ggv/gtkgs.c (gtk_gs_load): don't try to print out page order
8820 unless we've successfully loaded the document.
8822 1999-06-04 Sergey Panov <sipan@mit.edu>
8824 * configure.in: Add ru to ALL_LINGUAS
8826 1999-06-03 Michael Meeks <michael@edenproject.org>
8828 * gpdf/xpdf/GOutputDev.cc (GOutputDev): Actually set up pixmapW & H
8829 (GOutputDev): Setup 'depth' correctly.
8831 * gpdf/xpdf/gpdf.cc (main): Moved freeParams() to after the main loop !
8833 * gpdf/xpdf/Params.cc (initParams): Added assert on fontPathLen.
8834 (freeParams): Clean global pointers on free.
8836 * gpdf/xpdf/Makefile.in (CXXFLAGS): Added LTKSRCDIR and Xpm_CFLAGS to
8839 1999-06-02 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8841 * ggv/main.c (create_menus): moved show/hide menubar/side panel to
8842 settings menu. disable the menu items that do nothing yet.
8843 (print_callback): print by system()ing a command on the ps file.
8844 usually, this would be lpr.
8845 (open_prefs_dialog): add a Printing page, letting the user specify
8846 the command used to print files.
8847 * ggv/prefs.[ch]: added preferences for printing command.
8848 * ggv/help/C/ggv.sgml: describe the menus and the new printing feature.
8849 * ggv/configure.in: check if we have lpr's path for default print
8852 1999-06-01 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8854 * ggv/bonobo-application-ps.c, test-container.c: respect recent
8855 changes to the Verbs interface (no more verb codes).
8857 1999-05-31 Matt Loper <matt@gnome-support.com>
8859 * ggv/application-ps.gnorba: Changed two goad_id's and one repo id to
8860 reflect the Component -> BonoboObject namechange.
8862 * ggv/test-container.c: Changed minor things to reflect Component ->
8863 BonoboObject renaming.
8865 * ggv/bonobo-application-ps.c: Changed comment to reflect
8866 renaming. Changed component_data_t typedef to
8867 bonobo_object_data_t.
8868 (bonobo_object_destroy_cb): Renamed component_destroy_cb function
8869 to bonobo_object_destroy_cb.
8870 (bonobo_object_factory): Renamed component_factory function to
8871 bonobo_object_factory.
8873 1999-05-31 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8875 * ggv/main.c (struct _ggv_window): add prev[item|pu] and next[item|pu]
8876 members that point to Next/Prev page [popup]menu items. use these
8877 for setting their sensitivity.
8878 (set_page_sensitivities): new function to set sensitivity of all
8879 next/prev widgets (buttons, menuitems) properly.
8880 (select_page_callback, goto_page): use the above.
8881 (create_popup_menu): add zoom in/out items.
8882 * ggv/help/C/ggv.sgml: some changes to make english look more english ;)
8883 added another chapter on the preferences.
8885 1999-05-30 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8887 * ggv/main.c (goto_page): set prev/next button sensitivity properly.
8888 (about_callback): added myself to the authors ;)
8889 * ggv/bonobo-application-ps.c (component_factory): add some verbs
8890 to our component and connect a handler for do_verb signal.
8891 gtk_object_set_data() our component_data to the actual
8892 GnomeComponent as we'll need this in do_verb_cb().
8893 (do_verb_cb): handler for do_verb signal.
8894 * ggv/test-container.c (add_verb): add an item with the verb
8895 name to Verbs menu. connect "activate" signal handler and
8896 gtk_object_set_data() the GnomeComponent that the verb was
8897 acquired from to the item.
8898 (add_cmd): get component's verb list and create menu items
8899 with their names in Verbs menu.
8900 (verb_cb): get the GnomeComponent that the verb was acquired from
8901 using a gtk_object_get_data() and do a GNOME_Component_do_verb()
8902 on it with verb_name set to NULL as we don't pass it to the
8905 1999-05-29 Michael Meeks <michael@edenproject.org>
8907 * gpdf/xpdf/Makefile.in (GPDF_OBJS): Remove XOutputDev
8908 (all): Remove all but gpdf.
8910 * gpdf/xpdf/gpdf.cc: Add define GString / undef.
8911 (main): Argc not Argv :)
8913 * gpdf/xpdf/GOutputDev.cc (findColor): Made pigs ear of colour
8916 1999-05-28 Michael Meeks <michael@imaginator.com>
8918 * gpdf/xpdf/GOutputDev.cc (drawChar16): XChar2b -> GdkWChar
8920 1999-05-28 Daniel M. German <dmg@csg.uwaterloo.ca>
8924 Added support for non structured documents. It still
8927 Disable buttons when document has not been opened
8928 Enable buttons once it has been open
8929 Disable prev page in structured documents
8931 1999-05-27 Michael Meeks <michael@imaginator.com>
8933 * gpdf/xpdf/GOutputDev.cc (GOutputFont): Hacks.
8934 (GOutputFont): Renamed.
8935 (getFont): killed redundant 'display'
8936 getGdkFont not getXFont.
8937 (GOutputDev): NB. colormap -> gtk_widget_get_default_colormap ()
8938 which returns GdkColormap *, killed colormap & depth1 in prototype.
8939 Removed redundant assigns.
8940 NB. Miguel says 'miguel> michael: a GdkPixmap is a GdkWindow'
8941 Many misc. fixes upto convertSubPath.
8943 * gpdf/xpdf/GOutputDev.h: Comments 'G'd and GOutputDev updated.
8946 * gpdf/xpdf/Makefile.in (CXXFLAGS): Add GOOSRCDIR.
8948 1999-05-27 Michael Meeks <michael@imaginator.com>
8950 * gpdf/README.CVS: Elucidated the GPL nature of xpdf.
8952 1999-05-27 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8954 * ggv/bonobo-application-ps.c (main): remove hardcoded GtkGS
8955 instead load GS configuration from /bonobo-application-ps/...
8956 * ggv/prefs.[ch] (load_prefs, save_prefs): pass prefix as a parameter
8957 to enable loading prefs for both ggv and bonobo component.
8958 (set_prefs): apply prefs to a GtkGS widget.
8959 * ggv/ps.h: enclosed in #ifndef __GGV_PS_H__/#endif.
8960 * ggv/main.c: respect changes to prefs.[ch].
8961 * ggv/test-container.c: activate component after creating the view so
8962 that it can receive mouse events.
8963 * ggv/Makefile.am: share prefs sources between ggv and bonobo component.
8965 1999-05-27 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8967 * ggv/bonobo-application-ps.c: new file. a bonobo component that
8968 displays postscript via gtkgs widget.
8969 * ggv/test-container.c: a test container app for bonobo component.
8970 stolen from bonobo source tree.
8971 * ggv/configure.in: check for bonobo.
8972 * ggv/Makefile.am: if bonobo is present, build ps component and
8974 * ggv/application-ps.gnorba: gnorba file for the component. note that
8975 none of the bonobo stuff is installed yet. to use the component,
8976 you have to copy bonobo-application-ps somewhere in your PATH and
8977 the .gnorba file to $prefix/etc/CORBA/servers and run test-container.
8979 1999-05-26 Tuomas J. Lukka <lukka@iki.fi>
8981 * ggv/Start a help file
8983 1999-05-24 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
8985 * ggv/gtkscrollpane.c (gtk_scrollpane_update_slider_size): fixed
8986 the size calculation code. gdk_window_move_resize() works as it
8988 (gtk_scrollpane_motion_notify): fixed this also.
8990 1999-05-23 Tuomas J. Lukka <lukka@iki.fi>
8992 * ggv/Implement the zoomin/zoomout buttons and change to using
8994 * ggv/Prevent the scrollpane from growing indefinitely (odd bug,
8995 now commented out as FIXME in gtkscrollpane.c)
8997 1999-05-23 Tuomas J. Lukka <lukka@iki.fi>
8999 * ggv/main.c : add zoomin, zoomout buttons. We need gnome stock
9001 The buttons don't do anything yet, though: we need to
9002 make the variable have a reasonable meaning (I'd prefer magstep,
9005 1999-05-23 Jaka Mocnik <jaka-mocnik@kiss.uni-lj.si>
9007 * ggv/main.c (main): load preferences BEFORE opening files from
9008 command line arguments.
9010 1999-05-20 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
9012 * ggv/prefs.[ch]: added preferences for toolbar and menubar
9014 * ggv/main.c (open_prefs_dialog): new Layout properties page for
9016 (button_press_callback, button_release_callback):
9017 moved commented out cropping code to middle-button click and
9018 assigned left-button to start panning.
9019 (motion_callback): pan if left mouse button is pressed.
9020 * ggv/gtkgs.[ch] (gtk_gs_scroll): new public function to scroll the
9022 * ggv/gtkscrollpane.h: added in_slider member. set to true when
9023 pointer is in the slider window.
9024 * ggv/gtkscrollpane.c: respect themes. fixed size requisition signal
9027 1999-05-20 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
9029 * ggv/main.c: some sanitizing of cases when a document can't be loaded.
9030 * ggv/gtkgs.c: hide gs target window when a document can't be loaded and
9031 show it when a document is successfully loaded.
9032 * ggv/gtkscrollpane.c: fixed a bug in expose signal handler that caused
9033 the shadow around the trough not to be redrawn.
9035 1999-05-19 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
9037 * ggv/main.c (create_ggv_window): cosmetics. removed the frame
9038 around "sidebar" and added one around GtkGS widget.
9039 (hide_menubar_callback): fixed.
9040 (reload_callback): fixed.
9041 (set_gs_prefs, apply_gs_prefs): new functions for setting
9042 preferences for a single and all open GtkGS widget.
9043 (open_prefs_dialog): a dialog for setting preferences.
9044 * ggv/gtkscrollpane.c (gtk_scrollpane_update_slider_size):
9045 fixed a bug that caused the scrollpane to require more space
9046 with each size_request signal.
9047 * ggv/prefs.[ch]: new files; loading and saving of preferences.
9048 * ggv/gtkgs.[ch]: changed members gs_gs_cmd_scan_pdf to gs_scan_pdf_cmd
9049 and gs_uncompress_command to gs_uncompress_cmd.
9050 (gtk_gs_set_pagemedia): changed the interface a bit.
9051 * ggv/ps.[ch]: add a #define PAPER_SIZE_COUNT in order to use papersizes[]
9053 * ggv/Makefile.am: added prefs.[ch] to ggv sources.
9055 1999-05-18 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
9057 * ggv/main.c (create_menus): use gnome-app-helper stuff where
9058 appropriate. restructured the menus a bit.
9059 (create_popup_menus): use gnome-popup-menu for this.
9060 (about_callback): cosmetics.
9061 (file_open_destroy_callback): in order to reflect its use,
9062 changed to file_open_cancel_callback.
9063 (file_open_delete_callback): new handler for file selection's
9065 (struct _ggv_window, open_callback, file_open_ok_callback,
9066 file_open_cancel_callback): use ggv->file_sel instead of a
9068 * ggv/gtkscrollpane.c (gtk_scrollpane_size_request): make it work
9071 1999-05-17 Tuomas J. Lukka <lukka@iki.fi>
9072 * ggv/main.c: factor out goto_page and make it jump in the list if
9073 the entry is not visible.
9076 1999-05-06 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
9078 * ggv/main.c (struct _ggv_window): put _window_with_data arrays
9079 for menus here instead of dynamically allocating it.
9080 (open_window, close_window): new helper functions to open and close
9082 (create_menus, new_callback): add a "New Window" item to "File"
9083 menu to open a new window.
9084 (delete_callback): new function, called instead of exit_callback()
9085 on window delete_events.
9086 (close_cmd): becomes close_callback().
9087 (create_ggv_window): make windows accept dropped files.
9088 (drop_callback): new function: load files dropped on a window.
9089 also g_free() what needs to be freed all over the code.
9091 1999-05-05 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
9093 * ggv/gtkgs.c: add checks if the GtkGS widget is realized before
9094 calling gtk_gs_munge_adjustments() preventing segfaulting due
9095 to moving and resizing a non-existant window.
9097 1999-04-23 Daniel M. German <dmg@csg.uwaterloo.ca>
9098 * ggv/gtkscrollpane.h, gtkscrollpane.c
9099 I modified the API for scrollpane in order to
9100 replace scroll up, scroll down, scroll left
9101 and scroll right with one function:
9102 gtk_scrollpane_step.
9103 Added scroll_page_goto_edge
9104 Added wrapping option to scrolling, this
9105 allows the user to move from one page to another
9106 when pressing space or backspace
9108 Replace calls to scrolling functions for new functions
9109 When scrollign through document (space), it moves
9110 the pane to the top corner in a new page. Backspace
9111 should be modified accordingly. New functions allows
9112 to write less code when handling different orientations.
9113 The idea is to have less repetion of code. The API for scrolling
9114 might change again in order to accomodate this.
9116 1999-04-22 Daniel M. German <dmg@csg.uwaterloo.ca>
9118 * Changed 'q' accelerator to Ctrl-Q, which is the
9119 GNOME standard. I also changed the location of the
9120 quit accelerator to the menu definition, so it
9121 uses the proper callback.
9122 * ggv/Added other accelerators to the menu
9124 1999-04-22 Tuomas J. Lukka <lukka@iki.fi>
9125 * ggv/Add the 'q' accelerator for getting out a la ghostview.
9126 * ggv/Add size requests to try to behave well
9127 * ggv/Add a scrollbar (scrolled_window) around the page list
9129 1999-04-15 Daniel M. German <dmg@csg.uwaterloo.ca>
9131 It now kills all windows before exiting (exit_callback), ergo
9132 no gs process are left running.
9135 1999-04-14 Daniel M. German <dmg@csg.uwaterloo.ca>
9136 * Released version 0.30
9137 * ggv/gtkgs.c, gtkgs.h
9138 Fixed the bad bug in which GS stopped processing input.
9139 The "truly bad hack" is history (I hope :)
9141 1999-04-09 Shooby Ban <bansz@szif.hu>
9142 * ggv/Added hungarian translation
9144 1999-03-28 Tuomas J. Lukka <lukka@iki.fi>
9145 * ggv/Add fi to all_linguas
9146 * ggv/set usize of scrollpane in main.c
9147 * ggv/Fix gtk_gs bug: the adjustments were not set properly
9148 since size_allocate was called when gs->width was
9149 not yet set. My fix needs to be looked at.
9150 The scrollpane now works.
9151 * ggv/Does not allocate full document size any more - this
9152 is bad because it goes over screen size easily.
9154 1999-03-28 Tuomas J. Lukka <lukka@iki.fi>
9155 * ggv/Fix desktop fi entry
9157 1999-03-13 Daniel M. German <dmg@csg.uwaterloo.ca
9159 Added error handling when loading file
9160 Fixed bugs and finished support for multiple windows (only
9162 Automatic resizing when opening files
9163 Page up (next page) and page down (prev page) reversed to mimic
9165 Modified zoom menu and (and simplified) zoom callback to reflect
9166 ghostview options (1/10, 1/8, 1/4, 1/2, 1/1.44, 1/1, etc)
9170 1999-02-25 Jonathan Blandford <jrb@redhat.com>
9172 * ggv/ggv.desktop (Comment): added German translation by Matthias
9175 1998-11-28 Raja R Harinath <harinath@cs.umn.edu>
9177 * ggv/main.c (create_ggv_window):
9178 Remove call to deleted function `gtk_clist_set_policy' which
9179 was non-functional anyway. (xref gtk+/ChangeLog:
9180 Wed Nov 19 01:22:42 1998 Tim Janik <timj@gtk.org>).
9182 * ggv/gtkgs.c (gtk_gs_init):
9183 Removed setting of the GTK_BASIC flag (xref gtk+/ChangeLog:
9184 Wed Nov 18 22:54:36 1998 Tim Janik <timj@gtk.org>).
9186 1998-11-10 Raja R Harinath <harinath@cs.umn.edu>
9188 * ggv/configure.in (paths.h): New check.
9189 (GS_PROG): Check for the full path of `gs'.
9190 (GS_PATH): New #define, defined to GS_PROG.
9191 * ggv/acconfig.h (GS_PATH): New define.
9192 * ggv/file.c: Protect inclusion of `paths.h' with HAVE_PATHS_H.
9193 * ggv/gtkgs.c (gtk_gs_init): Don't hardcode "/usr/bin/gs", use the
9195 From "Brandon S. Allbery" <allbery@ece.cmu.edu>.
9197 1998-08-12 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
9199 * ggv/configure.in (ALL_LINGUAS): Added Portuguese translation after
9200 the split of gnome-graphics.
9202 Fri Aug 7 11:54:03 1998 Jonathan Blandford <jrb@redhat.com>
9203 * ggv/main.c: commented out crop code temporarily.
9204 * ggv/when it works correctly, i'll uncomment it... (:
9206 1998-08-07 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
9208 * ggv/ggv.desktop: Added Portuguese translation.
9210 Wed Jul 29 18:19:12 1998 Jonathan Blandford <jrb@redhat.com>
9211 many changes. A bit more stable now.
9212 * ggv/main.c: Added support for key presses and some mouse click support.
9213 * ggv/gtkscrollpane.c (gtk_scrollpane_update_slider_size): fixed a big bug.
9214 * ggv/gtkgs.c: fixed many bugs.
9216 Mon Jul 27 14:50:28 1998 Tom Tromey <tromey@cygnus.com>
9218 Some `-ansi -Wall -Wmissing-declarations' fixes:
9219 * ggv/gtkgs.c (catchPipe): Now static.
9220 (start_interpreter): Removed unused variables.
9221 Include <sys/types.h>, <sys/wait.h>, and <stdio.h>.
9222 (gtk_gs_goto_page): Removed unused variable.
9223 (is_interpreter_ready): Now static.
9224 (is_interpreter_running): Likewise.
9225 * ggv/file.c: Turned C++ comments into C comments.
9226 * ggv/file.h (file_getTmpFilename): Fixed declaration to match
9228 * ggv/ps.c: Include "file.h", <glib.h>.
9229 (file_getTmpFilename): Argument now const.
9230 (get_next_text): Renamed from `gettext' to avoid clash with GNU
9233 Added gettext and argument parsing:
9234 * ggv/main.c (startup_files): New global.
9235 Include <config.h> first.
9236 (parse_an_arg): New function.
9237 (parser): New structure.
9238 (main): Pass parser to gnome_init.
9239 (orientationMenu2): Wrapped strings with N_.
9240 (fileMenu): Likewise.
9241 (documentMenu): Likewise.
9242 (helpMenu): Likewise.
9243 (mainMenu): Likewise.
9244 (about_callback): Use _() around user-visible strings.
9245 (open_callback): Likewise.
9247 Fri Jul 10 20:10:37 Jonathan Blandford <jrb@redhat.com>
9249 * ggv/rewrite of ggv. many files removed. some added.
9250 following files have been added: TODO, main.c, gtkgs.c, gtkgs.h
9251 gtkscrollpane.h gtkscrollpane.c
9252 ggv is no longer nearly as dependent on the old ghostview code
9255 1998-08-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
9257 Split of gnome-graphics into ee and ggv modules:
9261 * ggv/Makefile.am: Adjusted for new ggv module.