]> www.fi.muni.cz Git - evince.git/blob - ChangeLog
ignore generated marshalers source.
[evince.git] / ChangeLog
1 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
2
3         * backend/.cvsignore: ignore generated marshalers source.
4
5         * shell/main.c (main): this is not epiphany.
6
7 2004-12-22  Havoc Pennington  <hp@redhat.com>
8
9         * shell/ev-view.c (ev_view_set_document): connect to "found" signal
10         (expose_bin_window): draw find highlights
11
12         * shell/ev-window.c (find_bar_search_changed_cb): implement 
13         
14         * pdf/xpdf/pdf-document.cc (pdf_document_begin_find) 
15         (pdf_document_end_find): implement this interface
16
17         * backend/ev-document.c (ev_document_found): add this to emit
18         signal
19
20 Tue Dec 21 23:57:37 2004  Owen Taylor  <otaylor@redhat.com>
21
22         * data/evince-ui.xml: Add a few more toolbar items.
23
24         * shell/ev-window.c: Hook up page navigation toolbar 
25         items.
26
27         * shell/ev-view.[ch]: add ev_view_set/get_page and 
28         a page-changed signal.
29
30         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
31         Add ev_document_get_page().
32
33         * shell/ev-window.c: Sensitize/desensitize navigation
34         actions.
35
36 2004-12-21  Havoc Pennington  <hp@redhat.com>
37
38         * backend/ev-backend-marshal.c,
39         backend/ev-backend-marshalers.list, backend/Makefile.am: add
40         marshaler-generator thingy. I'm sure there's a better way to do
41         this in the modern world.
42
43         * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
44         end_find methods and "found" signal.
45
46         * configure.ac: find glib-genmarshal
47
48 Tue Dec 21 23:20:35 2004  Jonathan Blandford  <jrb@redhat.com>
49
50         * shell/ev-sidebar.c: Construct an actual sidebar.
51         * shell/ev-sidebar-bookmarks.[ch]:
52         * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
53
54 Tue Dec 21 23:05:51 2004  Owen Taylor  <otaylor@redhat.com>
55
56         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
57         Redo size handling.
58         
59         * shell/ev-view.c: Track the size from the document.
60
61 Tue Dec 21 22:17:04 2004  Owen Taylor  <otaylor@redhat.com>
62
63         * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
64         constructor assumes ownership of the string passed in.
65         
66         * shell/ev-window.c (ev_window_open): Destroy the error
67         dialog once we've displayed it.
68
69 Tue Dec 21 21:58:56 2004  Owen Taylor  <otaylor@redhat.com>
70
71         * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up 
72         a bit, it works! (sort of)
73
74         * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
75         Move to .cc since we need to use C++ in the implementation.
76
77         * shell/dummy.cc: Add a CC file to force evince
78         to be linked as a C++ program.
79
80 Tue Dec 21 21:07:55 2004  Owen Taylor  <otaylor@redhat.com>
81
82         * shell/ev-view.[ch]: Start of content-area widget.
83
84         * shell/ev-window.c: Create a EvView, update it
85         as we change documents.
86
87         * shell/Makefile.am shell/ev-marshal.list: Add
88         generated marshalers.
89
90 Tue Dec 21 20:28:11 2004  Jonathan Blandford  <jrb@redhat.com>
91
92         * Makefile.am (SUBDIRS): move shell.
93
94 Tue Dec 21 19:28:55 2004  Owen Taylor  <otaylor@redhat.com>
95
96         * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
97         .a to libtool convenience libraries.
98
99         * shell/ev-window.c (ev_window_open): Hard code loading
100         a PDF document.
101         
102         * backend/ev-document.h: Add a boolean return to load(),
103         fix GError * to GError **.
104
105         * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
106         object for a PDF backend EvDocument.
107
108 Tue Dec 21 18:55:06 2004  Søren Sandmann  <sandmann@redhat.com>
109
110         * dvi/*: New directory with the beginning of a .dvi backend.
111
112 2004-12-21  Havoc Pennington  <hp@redhat.com>
113
114         * shell/eggfindbar.c (egg_find_bar_init): change buttons to
115         previous/next instead of back/forward
116
117 Tue Dec 21 18:26:24 2004  Owen Taylor  <otaylor@redhat.com>
118
119         * backend/ev-document.[ch]: Fix a couple of problems so
120         it compile.
121
122 Tue Dec 21 18:20:40 2004  Owen Taylor  <otaylor@redhat.com>
123
124         * viewer/* backend/* configure.ac Makefile.am: Move viewer directory 
125         to backend/ directory, rename EvViewer to EvDocument.
126
127 2004-12-21  Havoc Pennington  <hp@redhat.com>
128
129         * shell/ev-window.c: hook up the find bar widget; now we just need
130         a document to find things in
131
132         * shell/eggfindbar.c: a find bar widget
133
134 Tue Dec 21 17:20:16 2004  Jonathan Blandford  <jrb@redhat.com>
135
136         * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
137
138 Tue Dec 21 16:30:58 2004  Owen Taylor  <otaylor@redhat.com>
139
140         * pdf/**: Import of xpdf code from gpdf. 
141
142         * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
143
144         * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
145         pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h: 
146         Fix FreeType includes.
147
148         * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
149         pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
150         pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
151         Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
152         pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
153         Include xpdfconfig.h
154         
155 Tue Dec 21 16:08:17 2004  Jonathan Blandford  <jrb@redhat.com>
156
157         * shell/ev-window.c (ev_window_dispose): dispose can be called
158         multiple times.
159
160 2004-12-21  Havoc Pennington  <hp@redhat.com>
161
162         * shell/ev-window.c (ev_window_init): set title to Document Viewer
163         rather than Evince
164
165         * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
166         items; really they should be synced with the strings, etc. from
167         current gpdf, but just getting the boring typing out of the way 
168
169 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
170
171         * po/POTFILES.in:
172         * shell/ev-application.c: (window_destroy_cb):
173         * shell/ev-window.c:
174         * shell/main.c: (main):
175
176         Actually show the window...
177
178 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
179
180         * Makefile.am:
181         * shell/Makefile.am:
182         * shell/ev-application.c: (ev_application_class_init):
183         * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
184
185         Make it build again
186
187 2004-10-23  Martin Kretzschmar  <martink@gnome.org>
188
189         * ChangeLog, ggv/ChangeLog, gpdf/ChangeLog: merge the separate
190         ChangeLogs into one toplevel file. Keep only that.
191
192 2004-09-28  Pawan Chitrakar  <pawan@nplinux.org>
193
194         * ggv/configure.in: Added ne "Nepali" in ALL_LINGUAS
195
196 2004-09-20  Mark McLoughlin  <mark@skynet.ie>
197
198         * gpdf/xpdf/GnomeVFSStream.cc (reset, fillBuf): check gnome_vfs_foo
199         return values.  Fixes crashes with gnome-vfs' http method.  Bug
200         #153159, #151364, Red Hat Bug #132469, half of Debian Bug #268873.
201
202 2004-09-13  Martin Kretzschmar  <m_kretzschmar@gmx.net>
203
204         * gpdf/configure.in, NEWS: Version 2.8.0.
205
206         * gpdf/README.GPdf: the font situation is a bit better now.
207
208 2004-09-12  Jaka Mocnik  <jaka@gnu.org>
209
210         * ggv/configure.in: version 2.8.0; tag GGV_2_8_0; tarball for the upcoming 2.8.0 release.
211
212 2004-09-07  Gora Mohanty  <gmohanty@cvs.gnome.org>
213
214         * gpdf/configure.in: Added 'or' to ALL_LINGUAS.
215
216 2004-09-06  Jaka Mocnik  <jaka@gnu.org>
217
218         * ggv/configure.in: version 2.7.99; tag GGV_2_7_99; released a tarball.
219         * ggv/ggv.desktop.in (MimeType): removed application/pdf as the pdf
220         viewing functionality of ggv is, although still available, not
221         actively supported - use gpdf for PDF previewing.
222
223 2004-09-04  Kjartan Maraas  <kmaraas@gnome.org>
224
225         * gpdf/configure.in: Add «nb» to ALL_LINGUAS.
226
227 2004-08-30  Martin Kretzschmar  <m_kretzschmar@gmx.net>
228
229         * gpdf/configure.in, NEWS: Version 2.7.91. Disable "development
230         release" warning.
231
232 2004-08-28  Martin Kretzschmar  <m_kretzschmar@gmx.net>
233
234         * gpdf/xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_update_bkvisual):
235         nodes without link actions have NULL outline items. Don't
236         dereference them. Fixes bug #150269.
237
238 2004-08-28  Akagic Amila  <bono@linux.org.ba>
239
240         * configure.in: Added 'bs' to ALL_LINGUAS.
241
242 2004-08-27  Akagic Amila  <bono@linux.org.ba>
243
244         * ggv/configure.in: Added 'bs' to ALL_LINGUAS.
245
246 2004-08-24  Dan Williams  <dcbw@redhat.com>
247
248         * gpdf/xpdf/gpdf-view.cc (gpdf_view_link_action_uri): don't dereference
249         app if it's NULL (i.e. no app available for that uri).
250         Fixes Bug #150476 (Red Hat Bug #127803).
251
252 2004-08-17  Mark McLoughlin  <mark@skynet.ie>
253
254         * gpdf/lib/recent-files/egg-recent-item.[ch],
255           lib/recent-files/egg-recent-model.c,
256           lib/recent-files/egg-recent-view-gtk.c: sync with
257         latest libegg.
258
259 2004-08-17  Mark McLoughlin  <mark@skynet.ie>
260
261         * ggv/src/recent-files/egg-recent-item.[ch],
262           src/recent-files/egg-recent-model.c,
263           src/recent-files/egg-recent-util.[ch],
264           src/recent-files/egg-recent-view-bonobo.c,
265           src/recent-files/egg-recent-view-gtk.c,
266           src/recent-files/egg-recent-view.[ch]: sync with
267         latest libegg.
268
269         * ggv/src/recent-files/update-from-egg.sh: add
270
271         * ggv/src/recent-files/Makefile.am: add update-from-egg.sh to
272         EXTRA_DIST.
273
274 2004-08-16  Kjartan Maraas  <kmaraas@gnome.org>
275
276         * ggv/configure.in: Added nb to ALL_LINGUAS.
277
278 2004-08-15  Martin Kretzschmar  <m_kretzschmar@gmx.net>
279
280         Fix for #149954.  Based on patch by Vijaykumar Patwari
281         <vijaykumar.patwari@wipro.com>
282
283         * gpdf/xpdf/gpdf-view.c, xpdf/gpdf-view.h (gpdf_view_save_as): Changed
284         to return the result of PDFDoc::saveAs.
285
286         * gpdf/xpdf/gpdf-contol.cc (overwrite_existing_file): New function, ask
287         user before overwriting existing file.
288         (save_error_dialog): New function, Throws error dialog.
289         (gpdf_control_get_filename): Morph it into
290         gpdf_control_save_file(), Check if the file already exists.
291         (verb_SaveAs_cb): Call new function to save a file.
292
293 2004-08-12  Martin Kretzschmar  <m_kretzschmar@gmx.net>
294
295         * gpdf/xpdf/GPOutputDev.cc (getFontFace): prefer embedded fonts over
296         base 14 fonts. Fixes/works around Bug #149952.
297
298 2004-08-11  Martin Kretzschmar  <m_kretzschmar@gmx.net>
299
300         * gpdf/configure.in, README.GPdf: actually, we require libgnomeprint
301         2.5.1 (for GNOME_PRINT_KEY_DUPLEX).
302         Thanks {agriffis,foser}@gentoo.org. See also
303         http://bugs.gentoo.org/show_bug.cgi?id=46913
304
305 2004-08-05  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
306
307         Fixes #126719 by Jeff Muizelaar  <jrmuizel@nit.ca>:
308
309         * gpdf/xpdf/gpdf-view.cc (gpdf_view_handle_drag_motion):
310         calculate (x,y) properly for the case where we get unhinted
311         motion events that are relative to the actual canvas window,
312         instead of the widget window.
313
314 2004-08-02  Martin Kretzschmar  <m_kretzschmar@gmx.net>
315
316         * gpdf/configure.in, NEWS: Version 2.7.90.
317
318 2004-08-02  Martin Kretzschmar  <m_kretzschmar@gmx.net>
319
320         * gpdf/shell/gpdf.c (verb_FileExit_cb, gw_close_all): remove.
321
322         * gpdf/shell/gpdf-window-ui.xml: remove FileExit references.
323         Fixes Bug 148681.
324
325 2004-08-02  Martin Kretzschmar  <m_kretzschmar@gmx.net>
326
327         * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_set_pdf_doc),
328         * gpdf/xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_set_pdf_doc):
329         Make the guint to pointer cast explicit.
330
331         * gpdf/xpdf/gpdf-control.cc (gpdf_control_print): keep the print dialog
332         in a private member variable, don't destroy it unconditionally on
333         when the BonoboControl is disconnected.
334         (gpdf_control_get_filename): ditto for the file chooser.
335         (properties_response_handler, properties_delete_handler)
336         (verb_FileProperties_cb): and for the properties window.
337         (gpdf_control_disconnected): destroy any left over dialogs.
338         Fixes Bug #149062 (and lots of crash-on-exit bugs, I hope).
339
340 2004-07-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
341
342         * gpdf/xpdf/GPOutputDev.cc (getFontFaceEmbedded): rewrite, this time
343         respect encoding information/CID-to-GID stuff etc. Fixes Bug #148362.
344         (lookupGlyph): update for changes in getFontFaceEmbedded
345         (drawString): ditto.
346
347 2004-07-21  Ray Strode  <rstrode@redhat.com>
348         * ggv/ggv/ggv.desktop.in: Add MimeType line to desktop file
349         new mime sytem.
350
351 2004-07-20  Martin Kretzschmar  <m_kretzschmar@gmx.net>
352
353         * gpdf/xpdf/gpdf-view.cc (gpdf_view_zoom): add the hack Federico did
354         for page changes for zooming as well. Still flashes when zooming,
355         but only in the background color, better than flashing with the
356         old content IMHO.
357
358 2004-07-19  Martin Kretzschmar  <m_kretzschmar@gmx.net>
359
360         * gpdf/gpdf.desktop.in: added X-GNOME-Bugzilla-foo entries. I hope that
361         fixes Bug #147870.
362         (MimeType): add, we understand application/pdf.
363
364         * gpdf/xpdf/gpdf-control.cc (gnome_vfs_uri_new): use just
365         gnome_vfs_uri_extract_short_name (which returns the unescaped
366         basename of a vfs_uri) as title. Fixes Bug #130611.
367
368 2004-07-19  Federico Mena Quintero  <federico@ximian.com>
369
370         Fixes #126720:
371
372         * gpdf/xpdf/gpdf-view.cc (gpdf_view_goto_page_no_history): Don't render
373         the page in an idle handler.
374         (gpdf_view_render_page): Return void.
375         (gpdf_view_scroll_to_top): As a hack to keep the canvas from
376         scrolling-then-updating, set the background pixmap of the
377         container window to null, then hide the bin_window, the scroll,
378         then show the bin_window, and reset the background.
379         (gpdf_view_scroll_to_bottom): Likewise.
380
381 2004-07-18  Jaka Mocnik  <jaka@gnu.org>
382
383         * ggv/configure.in: version 2.7.0; released a tarball.
384         * ggv/src/ggv-prefs.c (ggv_prefs_load): test for "/usr/usb/lpr" on Solaris.
385         * ggv/src/ggv-ui.xml: changed "Fullscreen mode" to "Full Screen"; fixes #144876.
386         * ggv/src/gtkgs.c (gtk_gs_goto_page): do a gtk_gs_set_page_size() in order to properly
387         display documents with pages of multiple sizes. now how could this one have crept in
388         and how come no one noticed it until now? fixes #147591.
389         * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_print): do not attempt to execute
390         a print command from an argv array whose first element is NULL; fixes #147705.
391
392 2004-07-16  Muktha  <muktha.narayan@wipro.com>
393
394         * ggv/bonobo/main.c (main): disable session manager connection for
395         ggv-postscript-viewer. Fixes bug #147710.
396
397 Fri Jun 18 08:33:07 2004  Jonathan Blandford  <jrb@gnome.org>
398
399         * ggv/AUTHORS: Changed the authors file to make it more obvious who's
400         really in charge.
401
402 2004-06-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
403
404         * gpdf/shell/gpdf.c (verb_HelpAbout_cb): Update copyright period to
405         1996-2004.
406
407 2004-06-16  Jaka Mocnik  <jaka@gnu.org>
408
409         * ggv/src/ggv-window.c (ggv_window_load): applied patch from Subrahmanyam
410         Madduri: added code for getting the filename which is to be opened,
411         from the path of the file. Also changed the order of display in title
412         to "<filename> - GGV". Fixes bug #60092
413         * ggv/bonobo/ggv-postscript-view-ui.xml: applied a patch from Udayan Kumar,
414         that adds a print icon to the toolbar, fixing #140907.
415
416 2004-06-13  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
417
418         * gpdf/xpdf/gpdf-view.cc (gpdf_view_reset_link_status_cb):
419         Fixed indentation.
420         Also added c-indent-level in emacs local vars.
421
422         * gpdf/xpdf/tests/test-gpdf-view.cc (TEST_NEW): Forgot to commit the
423         test. Added the pdf doc as a param for constructor.
424
425         * gpdf/xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_populate_idle):
426         Changed the way to get the gdk window on which the cursor
427         is set. Now use the treeview widget window instead of getting
428         its parent.
429
430         * gpdf/xpdf/gpdf-thumbnails-view.cc (GPDF_DEFAULT_THUMB_WIDTH):
431         Removed unused define for empty page thumbnail image.
432         (gpdf_thumbnails_view_canvas_outline_event_cb)
433         (gpdf_thumbnails_view_populate_idle):
434         Changed the way to get the gdk window on which the cursor
435         is set. Now use the canvas widget window instead of getting
436         its parent.
437
438 2004-06-07  Martin Kretzschmar  <m_kretzschmar@gmx.net>
439
440         * gpdf/configure.in, NEWS: Version 2.7.2.
441
442 2004-06-07  Martin Kretzschmar  <m_kretzschmar@gmx.net>
443
444         * gpdf/xpdf/gpdf-control.cc (gpdf_control_setup_view_widgets): set a
445         step_increment for the gtk_scrolled_window's [hv]adjustments.
446         Workaround for bug #132489 (see also bug #96546). (Makes the
447         scrollbar buttons work.)
448
449 2004-06-06  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
450
451         * gpdf/xpdf/gpdf-control.cc (gpdf_control_setup_view_widgets):
452         Use new way to allocate a gpdf-view.
453
454         * gpdf/xpdf/gpdf-view.h: Removed gpdf_view_new proto.
455
456         * gpdf/xpdf/gpdf-view.cc (gpdf_view_set_pdf_doc)
457         (gpdf_view_get_property, gpdf_view_set_property)
458         (gpdf_view_constructor, gpdf_view_class_init):
459         Change the way view is allocated to use the g_object_new
460         way. Added props for pdf doc and for parent control.
461         (gpdf_view_link_entered_cb): Init some var to NULL.
462         (gpdf_view_bookmark_selected): Added case for actionURI
463         to handle bookmarks that are URIs.
464
465         * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_class_init):
466         Removed params spec desc strings as a some translated ones.
467
468         * gpdf/xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_class_init):
469         Removed params spec desc strings as a some translated ones.
470         (gpdf_bookmarks_view_construct): Loaded a new (network) stock
471         icon for bookmarks wearing an actionURI link.
472         (gpdf_bookmarks_view_update_bkvisual): Got item object from
473         tree model to be able to discriminate icons to update. actionURI
474         associated icons and actionNamed associated icons need no update.
475         (gpdf_bookmarks_view_flat_recurse_outlines): Added new LinkURI
476         local instances. Init others to NULL to avoid warnings.
477         Changed strings when action is unknown to make it more
478         interpretable.
479         Add code to handle LinkURI actions instances.
480
481         * gpdf/xpdf/gpdf-annots-view.cc (gpdf_annots_view_class_init):
482         Removed params spec desc strings as a some translated ones.
483
484 2004-06-06  Martin Kretzschmar  <m_kretzschmar@gmx.net>
485
486         * gpdf/xpdf/gpdf-control.cc: include gpdf-control-private.h for
487         prototypes.
488         (gpdf_control_private_error_dialog): add ref_parent parameter:
489         whether to _ref the parent control.
490         (destroy_widget_unref_control): signal handler for the alert's
491         "response" signal: destroy the dialog, unref the parent control.
492         (gpdf_control_private_display_help)
493         (gpdf_control_no_postscript_printer_alert): update error_dialog
494         calls.
495         (persist_file_loading_failed_cb): ditto, with ref_parent = TRUE,
496         thus the control never auto-exits before the user can ack the
497         "Loading failed" message. Fixes bug #137262.
498
499         * gpdf/xpdf/gpdf-control-private.h: update prototype.
500
501         * gpdf/xpdf/gpdf-view.cc (gpdf_view_link_action_uri): update
502         error_dialog argument list.
503
504         * gpdf/shell/gpdf.c (gw_control_load_pdf):
505         s/error_stream:/error_persist_file:/
506
507         * gpdf/xpdf/tests/test-gpdf-view.cc (view_implements_ggv_document): fix
508         build.
509
510 2004-06-05  Martin Kretzschmar  <m_kretzschmar@gmx.net>
511
512         * gpdf/xpdf/Makefile.am: drop support for building xpdf, pdfto*.
513
514         * gpdf/configure.in: simplify more. Drop --enable-no-text-select
515         and --enable-multithreaded options. Bug #111404.
516
517 2004-06-03  Martin Kretzschmar  <m_kretzschmar@gmx.net>
518
519         * gpdf/configure.in: post release version bump.  Reorder a bit, add
520         some section header comments. Remove OS/2 check. Remove checks
521         that were only necessary for the Xpdf build system.
522
523         * gpdf/fofi/Makefile.dep, splash/Makefile.dep: cvs remove. Remainings
524         of the Xpdf non-automake build system.
525
526         * gpdf/shell/gpdf.c (verb_HelpAbout_cb):
527         s/translator_credits.../translator-credits/ as requested some
528         months ago.
529
530 2004-06-01  Martin Kretzschmar  <m_kretzschmar@gmx.net>
531
532         * gpdf/NEWS, configure.in: Version 2.7.1.
533
534 2004-05-31  Martin Kretzschmar  <m_kretzschmar@gmx.net>
535
536         * gpdf/configure.in: print Message Of Doom.
537
538 2004-05-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
539
540         * gpdf/xpdf/GPOutputDev.cc (drawImageMask): undo 2004-02-28 change and
541         obey invert parameter instead (D'oh). Bug #142964.
542         (drawImageMask): do mask color computations and some variable
543         definitions outside of the loop. Swap if/else branches.
544         (drawImage): move variable defns outside loop.
545
546 2004-05-21  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
547
548         * gpdf/xpdf/gpdf-thumbnails-view.cc: Changed current_gen_thumb
549         type from gint to guint to avoid warnings.
550         (gpdf_thumbnails_view_populate_idle): Init Thumb ptr
551         to NULL to avoid warning.
552
553         * gpdf/xpdf/gpdf-view.cc (gpdf_view_link_entered_cb):
554         Add braces around each case to avoid warning about
555         inits and/or cross case inits.
556         (gpdf_view_render_page): Update displayPage call for
557         annots view to new xpdf3 API.
558
559 2004-05-17  Martin Kretzschmar  <m_kretzschmar@gmx.net>
560
561         * gpdf/xpdf/gpdf-view.cc (gpdf_view_render_page): add missing crop
562         argument.
563
564         * gpdf/fofi/Makefile.am, splash/Makefile.am: added.
565
566         * gpdf/Makefile.am: add fofi and splash subdirs.
567
568         * gpdf/ANNOUNCE:
569         * gpdf/CHANGES:
570         * gpdf/Makefile.am:
571         * gpdf/README:
572         * gpdf/aconf-win32.h:
573         * gpdf/configure.in:
574         * gpdf/dj_make.bat:
575         * gpdf/doc/pdffonts.1:
576         * gpdf/doc/pdffonts.cat:
577         * gpdf/doc/pdffonts.hlp:
578         * gpdf/doc/pdfimages.1:
579         * gpdf/doc/pdfimages.cat:
580         * gpdf/doc/pdfimages.hlp:
581         * gpdf/doc/pdfinfo.1:
582         * gpdf/doc/pdfinfo.cat:
583         * gpdf/doc/pdfinfo.hlp:
584         * gpdf/doc/pdftopbm.1:
585         * gpdf/doc/pdftopbm.cat:
586         * gpdf/doc/pdftopbm.hlp:
587         * gpdf/doc/pdftops.1:
588         * gpdf/doc/pdftops.cat:
589         * gpdf/doc/pdftops.hlp:
590         * gpdf/doc/pdftotext.1:
591         * gpdf/doc/pdftotext.cat:
592         * gpdf/doc/pdftotext.hlp:
593         * gpdf/doc/xpdf.1:
594         * gpdf/doc/xpdf.cat:
595         * gpdf/doc/xpdf.hlp:
596         * gpdf/doc/xpdfrc.5:
597         * gpdf/doc/xpdfrc.cat:
598         * gpdf/doc/xpdfrc.hlp:
599         * gpdf/fofi/Makefile.in:
600         * gpdf/goo/GHash.cc:
601         * gpdf/goo/GHash.h:
602         * gpdf/ms_make.bat:
603         * gpdf/splash/Makefile.in:
604         * gpdf/xpdf/DisplayFontTable.h:
605         * gpdf/xpdf/ErrorCodes.h:
606         * gpdf/xpdf/FTFont.cc:
607         * gpdf/xpdf/FTFont.h:
608         * gpdf/xpdf/FontFile.cc:
609         * gpdf/xpdf/FontFile.h:
610         * gpdf/xpdf/Function.h:
611         * gpdf/xpdf/GPOutputDev.cc:
612         * gpdf/xpdf/Gfx.cc:
613         * gpdf/xpdf/Gfx.h:
614         * gpdf/xpdf/GfxFont.cc:
615         * gpdf/xpdf/GfxFont.h:
616         * gpdf/xpdf/GfxState.cc:
617         * gpdf/xpdf/GfxState.h:
618         * gpdf/xpdf/GlobalParams.cc:
619         * gpdf/xpdf/GlobalParams.h:
620         * gpdf/xpdf/Makefile.am:
621         * gpdf/xpdf/Object.cc:
622         * gpdf/xpdf/Object.h:
623         * gpdf/xpdf/Outline.cc:
624         * gpdf/xpdf/OutputDev.cc:
625         * gpdf/xpdf/OutputDev.h:
626         * gpdf/xpdf/PBMOutputDev.cc:
627         * gpdf/xpdf/PBMOutputDev.h:
628         * gpdf/xpdf/PDFDoc.cc:
629         * gpdf/xpdf/PDFDoc.h:
630         * gpdf/xpdf/PSOutputDev.cc:
631         * gpdf/xpdf/PSOutputDev.h:
632         * gpdf/xpdf/Page.cc:
633         * gpdf/xpdf/Page.h:
634         * gpdf/xpdf/Parser.cc:
635         * gpdf/xpdf/SFont.cc:
636         * gpdf/xpdf/SFont.h:
637         * gpdf/xpdf/Stream.cc:
638         * gpdf/xpdf/Stream.h:
639         * gpdf/xpdf/T1Font.cc:
640         * gpdf/xpdf/T1Font.h:
641         * gpdf/xpdf/TTFont.cc:
642         * gpdf/xpdf/TTFont.h:
643         * gpdf/xpdf/TextOutputDev.cc:
644         * gpdf/xpdf/TextOutputDev.h:
645         * gpdf/xpdf/XOutputDev.cc:
646         * gpdf/xpdf/XOutputDev.h:
647         * gpdf/xpdf/XPixmapOutputDev.cc:
648         * gpdf/xpdf/XPixmapOutputDev.h:
649         * gpdf/xpdf/XRef.cc:
650         * gpdf/xpdf/XRef.h:
651         * gpdf/xpdf/config.h:
652         * gpdf/xpdf/gpdf-control.cc:
653         * gpdf/xpdf/pdffonts.cc:
654         * gpdf/xpdf/pdfimages.cc:
655         * gpdf/xpdf/pdfinfo.cc:
656         * gpdf/xpdf/pdftopbm.cc:
657         * gpdf/xpdf/pdftops.cc:
658         * gpdf/xpdf/pdftotext.cc:
659         * gpdf/xpdf/tests/Makefile.am:
660         * gpdf/xpdf/vms_make.com:
661         * gpdf/xpdf/xpdf.cc: Imported Xpdf 3.00 and fixed build.
662
663 2004-05-17  Martin Kretzschmar  <m_kretzschmar@gmx.net>
664
665         * gpdf/ANNOUNCE:
666         * gpdf/CHANGES:
667         * gpdf/README:
668         * gpdf/aconf2.h:
669         * gpdf/configure.in:
670         * gpdf/dj_make.bat:
671         * gpdf/doc/pdffonts.1:
672         * gpdf/doc/pdffonts.cat:
673         * gpdf/doc/pdffonts.hlp:
674         * gpdf/doc/pdfimages.1:
675         * gpdf/doc/pdfimages.cat:
676         * gpdf/doc/pdfimages.hlp:
677         * gpdf/doc/pdfinfo.1:
678         * gpdf/doc/pdfinfo.cat:
679         * gpdf/doc/pdfinfo.hlp:
680         * gpdf/doc/pdftopbm.1:
681         * gpdf/doc/pdftopbm.cat:
682         * gpdf/doc/pdftopbm.hlp:
683         * gpdf/doc/pdftops.1:
684         * gpdf/doc/pdftops.cat:
685         * gpdf/doc/pdftops.hlp:
686         * gpdf/doc/pdftotext.1:
687         * gpdf/doc/pdftotext.cat:
688         * gpdf/doc/pdftotext.hlp:
689         * gpdf/doc/xpdf.1:
690         * gpdf/doc/xpdf.cat:
691         * gpdf/doc/xpdf.hlp:
692         * gpdf/doc/xpdfrc.5:
693         * gpdf/doc/xpdfrc.cat:
694         * gpdf/doc/xpdfrc.hlp:
695         * gpdf/goo/gfile.cc:
696         * gpdf/ms_make.bat:
697         * gpdf/vms_make.com:
698         * gpdf/xpdf/Annot.cc:
699         * gpdf/xpdf/Array.cc:
700         * gpdf/xpdf/BuiltinFontTables.cc:
701         * gpdf/xpdf/CMap.cc:
702         * gpdf/xpdf/CMap.h:
703         * gpdf/xpdf/Catalog.cc:
704         * gpdf/xpdf/CharCodeToUnicode.cc:
705         * gpdf/xpdf/CharCodeToUnicode.h:
706         * gpdf/xpdf/Decrypt.cc:
707         * gpdf/xpdf/Dict.cc:
708         * gpdf/xpdf/ErrorCodes.h:
709         * gpdf/xpdf/FTFont.cc:
710         * gpdf/xpdf/FTFont.h:
711         * gpdf/xpdf/FontFile.cc:
712         * gpdf/xpdf/FontFile.h:
713         * gpdf/xpdf/Function.cc:
714         * gpdf/xpdf/Gfx.cc:
715         * gpdf/xpdf/Gfx.h:
716         * gpdf/xpdf/GfxFont.cc:
717         * gpdf/xpdf/GfxFont.h:
718         * gpdf/xpdf/GfxState.cc:
719         * gpdf/xpdf/GfxState.h:
720         * gpdf/xpdf/GlobalParams.cc:
721         * gpdf/xpdf/GlobalParams.h:
722         * gpdf/xpdf/JBIG2Stream.cc:
723         * gpdf/xpdf/Link.cc:
724         * gpdf/xpdf/Link.h:
725         * gpdf/xpdf/Makefile.am:
726         * gpdf/xpdf/OutputDev.h:
727         * gpdf/xpdf/PDFDoc.cc:
728         * gpdf/xpdf/PDFDoc.h:
729         * gpdf/xpdf/PSOutputDev.cc:
730         * gpdf/xpdf/PSOutputDev.h:
731         * gpdf/xpdf/Page.cc:
732         * gpdf/xpdf/Page.h:
733         * gpdf/xpdf/Parser.cc:
734         * gpdf/xpdf/Stream.cc:
735         * gpdf/xpdf/Stream.h:
736         * gpdf/xpdf/TTFont.cc:
737         * gpdf/xpdf/TTFont.h:
738         * gpdf/xpdf/TextOutputDev.cc:
739         * gpdf/xpdf/TextOutputDev.h:
740         * gpdf/xpdf/UnicodeMap.cc:
741         * gpdf/xpdf/UnicodeMap.h:
742         * gpdf/xpdf/UnicodeTypeTable.cc:
743         * gpdf/xpdf/UnicodeTypeTable.h:
744         * gpdf/xpdf/XOutputDev.cc:
745         * gpdf/xpdf/XOutputDev.h:
746         * gpdf/xpdf/XPDFApp.cc:
747         * gpdf/xpdf/XPDFCore.cc:
748         * gpdf/xpdf/XPDFCore.h:
749         * gpdf/xpdf/XPDFViewer.cc:
750         * gpdf/xpdf/XPDFViewer.h:
751         * gpdf/xpdf/XRef.cc:
752         * gpdf/xpdf/about-text.h:
753         * gpdf/xpdf/config.h:
754         * gpdf/xpdf/gpdf-control.cc:
755         * gpdf/xpdf/gpdf-link-canvas-item.cc:
756         * gpdf/xpdf/gpdf-links-canvas-layer.cc:
757         * gpdf/xpdf/pdffonts.cc:
758         * gpdf/xpdf/pdfimages.cc:
759         * gpdf/xpdf/pdfinfo.cc:
760         * gpdf/xpdf/pdftopbm.cc:
761         * gpdf/xpdf/pdftops.cc:
762         * gpdf/xpdf/pdftotext.cc:
763         * gpdf/xpdf/tests/test-links.cc:
764         * gpdf/xpdf/vms_make.com:
765         * gpdf/xpdf/xpdf.cc: Imported Xpdf 2.03 and fixed build.
766
767 2004-05-13  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
768
769         * gpdf/xpdf/gpdf-thumbnails-view.cc:
770         Reverted some of the last commits.
771
772         * gpdf/xpdf/gpdf-annots-view.cc (gpdf_annots_view_class_init)
773         (gpdf_annots_view_set_property, gpdf_annots_view_new):
774         * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_class_init)
775         (gpdf_thumbnails_view_set_property, gpdf_thumbnails_view_new)
776         (gpdf_thumbnails_view_dispose):
777         * gpdf/xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_class_init):
778         (gpdf_bookmarks_view_set_property):
779         (gpdf_bookmarks_view_new):
780         Added set_property method. Changed param_spec_pointer in object.
781         Changed get_pointer in get_object.
782         Casted gpdf_view in GPdfView.
783
784         * gpdf/xpdf/gpdf-view.cc: Added timeout handler for status reset
785         to view private struct.
786         (gpdf_view_reset_link_status_cb): New callback for status
787         reset after timeout.
788         (gpdf_view_link_entered_cb, gpdf_view_link_leaved_cb):
789         Added handler for displaying link action in app status
790         bar when link enter/leave signal are received.
791         (gpdf_view_render_page): Connect enter/leave handlers
792         on links layer signals.
793
794         * gpdf/xpdf/gpdf-links-canvas-layer.h: Added LINK_ENTERED &
795         LINK_LEAVED signals for displaying links in app bar status
796         when mouse goes over them.
797
798         * gpdf/xpdf/gpdf-links-canvas-layer.cc: Added LINK_ENTERED &
799         LINK_LEAVED signals for displaying links in app bar status
800         when mouse goes over them.
801         (link_entered_cb, link_leaved_cb): Added handler for link
802         enter/leave signals to emit link_entered/link_leaved signals.
803         (gpdf_links_canvas_layer_add_link): Connected enter/leave
804         link signal handlers.
805         (gpdf_links_canvas_layer_class_init): Declared new signals.
806
807         * gpdf/xpdf/gpdf-bookmarks-view.cc:
808         (gpdf_bookmarks_view_set_property)
809         (gpdf_bookmarks_view_class_init, gpdf_bookmarks_view_new):
810         (gpdf_thumbnails_view_dispose):
811         Cleaned up constructor and add control ref;
812         Added constructor args as obj properties, added a ref on parent
813         control and unref in dispose.
814         (gpdf_bookmarks_view_update_popup_actions):
815         Check is bookmarks exists before changing tools menu (expand/
816         collapse/expand all/collapse all) sensitivity.
817         (gpdf_bookmarks_view_populate_idle): Remove control disconnect
818         handler IF had been registered.
819         (gpdf_bookmarks_view_get_tools_menu): Changed order of tools popup
820         menu items (to match real order).
821
822         * gpdf/xpdf/gpdf-annots-view.cc:
823         (gpdf_annots_view_set_property):
824         (gpdf_annots_view_class_init, gpdf_annots_view_new)
825         (gpdf_annots_view_dispose):
826         Cleaned up constructor;
827         Added constructor args as obj properties, added a ref on parent
828         control and unref in dispose.
829
830 2004-05-12  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
831
832         * gpdf/xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_flat_recurse_outlines):
833         Fixed missing affectation when handling link_named bookmarks.
834         The dynamic cast was just compared to NULLbut not stored in
835         link_named.
836
837 2004-05-10  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
838
839         * gpdf/xpdf/gpdf-thumbnails-view.cc: Add gpdf-control-private header
840         for using status & ratio.
841         (gpdf_thumbnails_view_populate_idle): Set ratio & status to give
842         feedback on the thumb generation.
843         Clear ration & status, reset cursor when finished.
844
845         * gpdf/xpdf/gpdf-control.cc (gpdf_control_get_bookmarks_view):
846         Give control as first arg of gpdf_bookmarks_view_new.
847
848         * gpdf/xpdf/gpdf-bookmarks-view.h: Add parent control as new arg.
849
850         * gpdf/xpdf/gpdf-bookmarks-view.cc: Add gpdf-control-private header
851         for using status & ratio.
852         Adding parent control in private struct.
853         (gpdf_bookmarks_view_new): Added control as first param to keep
854         it in private struct.
855         (gpdf_bookmarks_view_flat_recurse_outlines): Set status & advance
856         bar to give feedback about bookmarks generation.
857         (gpdf_bookmarks_view_populate_idle): Fix a problem when no bookmarks
858         are available. The idle func were always called as
859         generation_terminated was never true.
860         Set watch when generation goes on.
861         Clear status, ration & cursor when generation terminated.
862         (gpdf_bookmarks_view_set_pdf_doc): Connected remove idle
863         on control disconnect signal instead of view destroy signal.
864
865 2004-05-13  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
866
867         * gpdf/xpdf/gpdf-view.cc (gpdf_view_link_action_uri): Fixed bug when
868         launching uri. The Link string storing URI was freed with list.
869         Now the string is duped before appending it to the list.
870         Changed uri from GString * to gchar *.
871
872 2004-05-09  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
873
874         * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_set_pdf_doc):
875         Changed priority for thumbs idle in order to do queue them at end
876         and create bookmarks before.
877
878         * gpdf/xpdf/gpdf-bookmarks-view.cc
879         (gpdf_bookmarks_view_update_bookmarks_tree):
880         Changed init of idle to let user see bookmarks creation at idle.
881
882         * gpdf/xpdf/gpdf-view.cc (gpdf_view_bookmark_selected):
883         Handle case when title is selected and action is null.
884
885         * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_set_pdf_doc):
886         Remove idle on parent control disconnect if killed while generating
887         bookmarks to avoid crash.
888         Set watch pointer.
889
890         * gpdf/xpdf/gpdf-bookmarks-view.cc: Added struct GPdfBookmarksGenState
891         for implementing flat recursion when creating bookmarks. This
892         struct is used to store recursive generation state across idle func
893         boundary.
894         Also added necessary field in bookmarks view private struct to
895         keep this state.
896         (gpdf_bookmarks_view_row_expanded_cb)
897         (gpdf_bookmarks_view_row_collapsed_cb)
898         (gpdf_bookmarks_view_page_changed_cb):
899         (gpdf_bookmarks_view_selection_changed_cb):
900         Return if generation not yet finished.
901         (gpdf_bookmarks_view_bookmark_select_func):
902         Fixed a bug when a title Outline item exists. Such an item have no
903         action associated. We handle this case here and in gpdf-view.cc.
904         (gpdf_bookmarks_view_flat_recurse_outlines):
905         (gpdf_bookmarks_view_update_bookmarks_tree):
906         (gpdf_bookmarks_view_populate_idle):
907         Changed recursive bookmarks generation in a flat call to be able to
908         have it called several time as idle handler.
909         (gpdf_bookmarks_view_set_pdf_doc):
910         Remove idle on view destroy if killed while generating bookmarks
911         to avoid crash.
912         Set watch pointer.
913
914         * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_page_box_coord):
915         Removed assert and add update of thumb size guess if it was wrong.
916
917         First step for fixing Bug #137439
918
919         * gpdf/xpdf/gpdf-thumbnails-view.cc:
920         Add a counter for keeping track of current thumb generated.
921         (gpdf_thumbnails_view_set_scroll_region):
922         While setting scroll region, the loop is now between page 1
923         and last generated one (current_gen_thumb) to be able to relayout
924         while generating thumbs.
925         (gpdf_thumbnails_view_create_thumbnail):
926         Added thumb coords. Computation while creating is based on a guess.
927         The layout may be not perfect but it will be correctly relayout
928         as soon as finished.
929         (gpdf_thumbnails_view_populate_idle):
930         Changed idle logic in order to only generate one thumb for each
931         call. This way we never freeze display.
932         (gpdf_thumbnails_view_set_pdf_doc):
933         Moved thumb generation inits from idle. Set guess for page
934         width/height to have a semi correct layout.
935
936 2004-05-09  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
937
938         * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_populate_idle):
939         Use Thumb method 'ok' to ensure Thumb data availability. It should
940         avoid further crash if embed Thumb data not correctly
941         parsed.
942
943         * gpdf/xpdf/Thumb.h:
944         * gpdf/xpdf/Thumb.cc (Thumb::Thumb): Added a flag for keeping
945         Thumb data validity and the method to access it.
946
947 2004-05-08  Martin Kretzschmar  <m_kretzschmar@gmx.net>
948
949         * gpdf/lib/recent-files: updated from egg:
950
951         2004-04-15  Bastien Nocera  <hadess@hadess.net>
952
953         * gpdf/libegg/recent-files/egg-recent-util.c: another unused function
954         to comment when not using libgnomeui
955
956         2004-04-10  Bastien Nocera  <hadess@hadess.net>
957
958         * gpdf/libegg/recent-files/egg-recent-util.c: remove unused function
959         when not using libgnomeui
960
961         2004-04-05  Murray Cumming  <murrayc@murrayc.com>
962
963         * gpdf/libegg/recent-files/egg-recent-item.c: Use private_data instead
964         of private, so it can compile with a C++ compiler.
965         * gpdf/libegg/recent-files/egg-recent-view.h: Add G_BEGIN_DECLS and
966         G_END_DECLS so we can use it with C++.
967
968         2004-03-09  Bastien Nocera  <hadess@hadess.net>
969
970         * gpdf/libegg/recent-files/egg-recent-util.c:
971         (egg_recent_util_get_icon): avoid warnings when the icon file
972         isn't found
973
974         2004-01-31  James Willcox  <jwillcox@gnome.org>
975
976         * gpdf/libegg/recent-files/egg-recent-model.c:
977         (egg_recent_model_lock_file):
978
979         Fix a locking bug, patch from
980         Gustavo Giráldez <gustavo.giraldez@gmx.net>
981
982         2004-01-22  James Willcox  <jwillcox@gnome.org>
983
984         * gpdf/libegg/recent-files/egg-recent-model.c:
985         (egg_recent_model_lock_file):
986
987         Make the file locking suck a little less for nfs home directories.
988         Patch from Dan Williams <dcbw@redhat.com>.
989
990         * gpdf/libegg/recent-files/egg-recent-model.c: the 2004-01-31 change
991         fixes bug #138817
992
993         * gpdf/shell/gpdf.c (gpdf_window_new): de-brand window title -> PDF
994         Viewer. Bug #137167.
995
996         * gpdf/help/C/figures/gpdf_window.png, help/de/figures/gpdf_window.png:
997         update for new window title.
998
999         * gpdf/configure.in: bump version number for GNOME 2.7.
1000
1001         * gpdf/xpdf/gpdf-thumbnails-view.cc
1002         (gpdf_thumbnails_view_render_thumbnail_image): gdk-pixbuf requires
1003         always 8 bits per component. And Thumb::getPixbufData always
1004         provides 8 bits per component. Fixes bug #141226.
1005
1006         * gpdf/xpdf/Thumb.cc (ThumbColorMap::ThumbColorMap): unused now, remove.
1007
1008         * gpdf/xpdf/Thumb.h: ditto.
1009
1010         * gpdf/xpdf/Thumb.cc (Thumb::Thumb): use a normal GfxImageColorMap.
1011         Use it not only for Indexed color spaces but always. Fixes crasher
1012         bugs #139211, #139477, #141725.
1013
1014         * gpdf/xpdf/Thumb.h: update for ColorMap changes.
1015
1016         * gpdf/xpdf/Thumb.cc (lookup): log to stderr because that's not
1017         buffered etc.
1018
1019 2004-05-03  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1020         Fix for Bug #137952:
1021
1022         * gpdf/xpdf/gpdf-control.cc (gpdf_control_get_filename):
1023         * gpdf/shell/gpdf.c (gw_ask_for_uri):
1024         Added file filters 'application/pdf' and '*' to
1025         file choosers.
1026
1027 2004-04-18  Jaka Mocnik  <jaka@gnu.org>
1028
1029         * ggv/ggv-prefs-ui.c: (ggv_prefs_dialog_new): Changed accelarators
1030         for Document tab - Default Zoom and Coordination Units to resolve
1031         conflicts in accelarators. patch by Archana Shah. Fixes bug#
1032         134976.
1033         * ggv/src/ggv-window.c (ggv_add_open_button): added tooltip for recent
1034         files button. patch by chenthill.
1035         * ggv/backport of bugfixes from gnome-2-6 branch.
1036         * ggv/src/ggv-window.c (verb_FileOpen): don't set the file chooser size.
1037         fixes #139518. patch by Darren Adams.
1038         * ggv/src/gsdefaults.c (gtk_gs_defaults_set_*): only set the new value
1039         if it differs from the old: should fix #139362.
1040         * ggv/src/ggv-window.c (open_button_pressed_cb): applied a patch by
1041         Kouichirou Hiratsuka, fixing a crash when event parameter is NULL.
1042         fixes #139408.
1043
1044 2004-04-09  Guntupalli Karunakar  <karunakar@freedomink.org>
1045
1046         * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1047
1048 2004-04-09  Guntupalli Karunakar  <karunakar@freedomink.org>
1049
1050         * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1051
1052 2004-04-07  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1053
1054         Fix for bug #139363
1055
1056         * ggv/bonobo/ggv-postscript-view.c (verb_FileSaveMarked): Added
1057         chooser filter for PS docs and all files.
1058
1059         * ggv/src/ggv-window.c (verb_FileOpen): Added chooser filters for
1060         PS docs and all files.
1061
1062 2004-04-07  Jaka Mocnik  <jaka@gnu.org>
1063
1064         * ggv/src/recent-files/egg-recent-model.c (egg_recent_model_filter): do not
1065         test for existence of files since this is done before setting the mime
1066         filter, so we can (and usually will) end up with testing a bunch of URIs,
1067         many of which can be remote, which causes unacceptable delays when
1068         starting GGV!
1069         * ggv/configure.in: bump version to 2.7.0.
1070
1071 2004-03-31  Christian Rose  <menthos@menthos.com>
1072
1073         * gpdf/configure.in: Added "af" to ALL_LINGUAS.
1074
1075 2004-03-31  Christian Rose  <menthos@menthos.com>
1076
1077         * ggv/configure.in: Added "af" to ALL_LINGUAS.
1078
1079 2004-03-30  Adam Weinberger  <adamw@gnome.org>
1080
1081         * ggv/configure.in: Added en_CA (Canadian English) to ALL_LINGUAS.
1082
1083 2004-03-29  Samúel Jón Gunnarsson  <sammi@techattack.nu>
1084
1085         * ggv/is.po: Added "is" to ALL_LINGUAS.
1086
1087 2004-03-29  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1088
1089         * gpdf/configure.in, NEWS: Version 0.131.
1090
1091 2004-03-24  Guntupalli Karunakar  <karunakar@freedomink.org>
1092
1093         * configure.in: Added "pa" (Punjabi) to ALL_LINGUAS.
1094
1095 2004-03-22  Guntupalli Karunakar  <karunakar@freedomink.org>
1096
1097         * configure.in: Added "pa" (Punjabi) to ALL_LINGUAS.
1098
1099 2004-03-21  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1100
1101         * gpdf/configure.in, NEWS: Version 0.130.
1102
1103         * gpdf/help/c/gpdf.xml, help/de/gpdf.xml: updated for 0.130 (no
1104         changes).
1105
1106 2004-03-21  Jaka Mocnik  <jaka@gnu.org>
1107
1108         * ggv/configure.in: version 2.6.0; tagged as GGV_2_6_0.
1109
1110 2004-03-21  Gareth Owen  <gowen72@yahoo.com>
1111
1112         * gpdf/configure.in: Added en_GB to ALL_LINGUAS
1113
1114 2004-03-20  Gareth Owen  <gowen72@yahoo.com>
1115
1116         * ggv/configure.in: Added en_GB to ALL_LINGUAS
1117
1118 2004-03-18  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1119
1120         * gpdf/help/Makefile.am (SUBDIRS), configure.in: add help/de directory.
1121
1122         * gpdf/help/de: added German help.
1123
1124 2004-03-15  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1125
1126         * gpdf/configure.in, NEWS: Version 0.125.
1127
1128         * gpdf/configure.in, README.GPdf: remove message of doom.
1129
1130 2004-03-15  Alexander Winston  <alexander.winston@comcast.net>
1131
1132         * gpdf/configure.in: Added en_CA to ALL_LINGUAS.
1133
1134 2004-03-14  Jaka Mocnik  <jaka@gnu.org>
1135
1136         * ggv/configure.in: version 2.5.99.1; tagged as GGV_2_5_99_1.
1137         * ggv/src/gtkgs.c (gtk_gs_load): only hide window if it is visible.
1138         * ggv/src/main.c (create_window): don't close window if the document is
1139         not loaded: this is not very nice, but doing otherwise causes
1140         mayhem in both control and shell processes, the cause of which I
1141         am currently unable to track down.
1142         * ggv/src/ggv-window.c: applied a patch from chenthill that makes the
1143         ESC key turn off fullscreen mode.
1144
1145 2004-03-09  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1146
1147         * gpdf/shell/gpdf.c (gpdf_window_close): Added deactivation of control
1148         frame to avoid warning when setting frame ui container to null
1149         at bonobo-control-frame-dispose.
1150
1151 2004-03-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1152
1153         * gpdf/xpdf/bonobo-application-x-pdf.cc (gpdf_factory): use
1154         bonobo_control_life_instrument on controls to make the factory
1155         exit when the last control is destroyed. (For Bug #132703).
1156
1157 2004-03-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1158
1159         * gpdf/configure.in, NEWS: Version 0.124.
1160
1161         * gpdf/README.GPdf: Update.
1162
1163         * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_on_dialog_response_cb):
1164         * gpdf/xpdf/gpdf-persist-stream.cc: update for changed help id of password section.
1165
1166         * gpdf/help/C/gpdf.xml: added comment that gpdf-password id cannot be changed freely.
1167
1168 2004-03-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1169
1170         * gpdf/xpdf/gpdf-control.cc (gc_set_page_cb): focus the pdf view after
1171         setting the page. (Bug #136360)
1172
1173         * gpdf/shell/gpdf.c (gw_ask_for_uri): use gtk_dialog_run instead of a
1174         nested main loop plus connection to ::response.
1175         (file_dialog_response, file_dialog_delete_event): obsolete, no
1176         need to check if a folder was selected. (Bug #136233).
1177
1178 2004-03-08 Breda McColgan <breda.mccolgan@sun.com>
1179
1180         * ggv/help/C/ggv.xml: Updated based on technical review comments
1181         * ggv/help/C/ggv-C.omf: Updated date and version number
1182
1183 2004-03-05  Jaka Mocnik  <jaka@gnu.org>
1184
1185         * ggv/applied patch by chenthill that improves keyboard accelerators for
1186         zooming in the control.
1187
1188 2004-03-05  Jaka Mocnik  <jaka@gnu.org>
1189
1190         * ggv/src/recent-files/egg-recent-model.c (egg_recent_model_filter): test
1191         for the existence of URI _after_ the URIs are filtered, reducing
1192         overhead! fixes #136238.
1193         * ggv/applied a patch from The Written Word that fixes AIX 5.1 build.
1194         * ggv/bonobo/ggv-postscript-view-ui.xml, src/ggv-ui.xml: removed delimit
1195         attribute from Viewer Items placeholder.
1196         * ggv/src/Makefile.am (libgtkgs_la_SOURCES): removed ggv-recent.[ch].
1197         * ggv/bonobo/main.c (main): Initialized the gnome libraries to provide
1198         support for Edit->Preferences Help to work. Fixes bug#135273. Patch
1199         by Shakti Sen.
1200         * ggv/configure.in: version 2.5.99; tagged as GGV_2_5_99.
1201
1202 2004-03-04 Breda McColgan <breda.mccolgan@sun.com>
1203
1204         * gpdf/help/C/gpdf.xml: Implemented editorial review comments
1205         * gpdf/help/C/gpdf-C.omf: Updated date and manual version number
1206         * gpdf/help/C/l10n.txt: Updated date and manual version info
1207
1208 2004-03-02 Breda McColgan <breda.mccolgan@sun.com>
1209
1210         * ggv/help/C/ggv.xml: Updated for GNOME 2.6, technical review draft
1211         * ggv/help/C/ggv-C.omf: Updated for GNOME 2.6
1212         * ggv/help/C/l10n.txt: Updated for GNOME 2.6
1213         * ggv/help/C/figures/ggv_window.png: Updated for GNOME 2.6
1214
1215 2004-02-28  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1216
1217         * gpdf/xpdf/GPOutputDev.cc (drawString): handle horizontal scaling
1218         correctly (multiply with the x components of the text
1219         transformation matrix). Fixes Bug #134803.
1220         (drawImageMask): this function has always painted the mask in
1221         reverse video! Fixed it now. Part of Bug #122021.
1222
1223 2004-02-28  Julio M. Merino Vidal  <jmmv@menta.net>
1224
1225         * gpdf/Makefile.am: don't hardcode schema installation directory. Add
1226         dummy install-data-local target when GCONF_SCHEMAS_INSTALL is
1227         not set, fixes build for some make variants. (Bug #135524)
1228
1229 2004-02-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1230
1231         * gpdf/xpdf/gpdf-util.h (E_MAKE_TYPE): kill this ancient macro.
1232
1233         * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_destroy): unload
1234         the file, plugs file handle, PDFDoc, whatnot leak (Bug #135525,
1235         spotted by Ali Akcaagac).
1236
1237 2004-02-19  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1238
1239         Fix for bug #134807
1240
1241         * gpdf/xpdf/gpdf-control.cc (gpdf_control_print):
1242         Add handler for disconnected control to close print
1243         dialog when gpdf exists.
1244         (gpdf_control_get_filename): Add handler for disconnected
1245         control to close SaveAs file chooser when gpdf exists.
1246         (verb_FileProperties_cb): Add handler for disconnected
1247         control to close Properties dialog when gpdf exists.
1248
1249 2004-02-18  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1250
1251         Bugzilla #134609
1252
1253         * gpdf/xpdf/gpdf-persist-stream.cc
1254         (gpdf_persist_stream_on_dialog_response_cb):
1255         Replaced old gpdf_persist_stream_on_cancelbutton_clicked,
1256         gpdf_persist_stream_on_okbutton_clicked and
1257         gpdf_persist_stream_on_helpbutton_clicked with
1258         gpdf_persist_stream_on_dialog_response_cb.
1259         (gpdf_persist_stream_create_password_dialog):
1260         Changed handlers connected on dialog buttons with one
1261         handler connected on dialog's response.
1262
1263         * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_on_dialog_response_cb):
1264         Replaced old gpdf_persist_file_on_cancelbutton_clicked,
1265         gpdf_persist_file_on_okbutton_clicked and
1266         gpdf_persist_file_on_helpbutton_clicked with
1267         gpdf_persist_file_on_dialog_response_cb.
1268         (gpdf_persist_file_create_password_dialog):
1269         Changed handlers connected on dialog buttons with one
1270         handler connected on dialog's response.
1271
1272         * gpdf/xpdf/gpdf-control.cc (gpdf_control_private_destroy_dialog):
1273         Removed.
1274         (gpdf_control_private_error_dialog)
1275         (gpdf_control_private_warn_dialog)
1276         (gpdf_control_private_info_dialog):
1277         Changed clicked handler set on button with response handler
1278         set on dialog itself. Original handler
1279         gpdf_control_private_destroy_dialog have been replaced with
1280         gtk_widget_dialog.
1281         (gpdf_control_no_postscript_printer_alert): Use the
1282         gpdf_control_private_error_dialog instead of managing its
1283         own dialog.
1284         (gpdf_control_properties_dialog_response_cb): Removed old
1285         dialog resp cb used for props dialog.
1286         (verb_FileProperties_cb): Changed dialog handler for resp
1287         with gtk_widget_destroy.
1288         (persist_file_loading_failed_cb): Replaced dialog managed
1289         with gpdf_control_private_error_dialog.
1290
1291 2004-02-16  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1292
1293         * gpdf/configure.in, NEWS: Version 0.123.
1294
1295 2004-02-16  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1296
1297         * gpdf/autogen.sh: require automake 1.7 because of the way we use
1298         automake conditionals. Fixes distcheck.
1299
1300 2004-02-13  Jaka Mocnik  <jaka@gnu.org>
1301
1302         * ggv/configure.in: version 2.5.4; tagged as GGV_2_5_4.
1303
1304 2004-02-12  Jaka Mocnik  <jaka@gnu.org>
1305
1306         * ggv/src/recent-files/egg-recent-model.c (end_element_handler): only add
1307         an uri to the list if it exists!
1308
1309 2004-02-10  Jaka Mocnik <jaka@gnu.org>
1310
1311         * ggv/src/ggv-window.c (ggv_window_reload): show a dialog if the file
1312         can't be reloaded.
1313         * ggv/src/ggv-prefs-ui.c: remember strings when focus leaves the
1314         entry.
1315         * ggv/src/ggv-window.c (verb_FileOpen): allow opening multiple files
1316         at once!
1317         * ggv/bonobo/GNOME_GGV.server.in.in: Postscript -> PostScript!
1318
1319 2004-02-10  Jaka Mocnik  <jaka@gnu.org>
1320
1321         * ggv/src/recent-files/egg-recent-view-bonobo.c
1322         (egg_recent_view_bonobo_clear): added sanity checks for UI container.
1323         * ggv/src/ps.c (psscan): pass the filename as a parameter and use it to
1324         invoke the test command on strange files that might be PS but do not
1325         seem to be.
1326         * ggv/bonobo/ggv-sidebar.c (page_list_selection_changed): sanity check if
1327         (checklist != NULL).
1328         * ggv/bonobo/ggv-postscript-view.c (load_ps): return a boolean indicating
1329         success.
1330         (load_ps_from_stream): set exception when loading fails.
1331         (load_ps_from_file): set exception when loading fails.
1332         fix for #133601.
1333         * ggv/src/ggv-window.c (verb_FileOpen): keep the dialog open until user
1334         either enter a non-empty filename and opens it or cancel the
1335         operation. fixes #130603
1336         (verb_FileOpen): load PS file before showing a new window. destroy
1337         new window if the file is not valid PS. show dialog in that case.
1338         fixes #133601.
1339         * ggv/bonobo/ggv-postscript-view.c (add_dialog_to_view): add a dialog to
1340         the list of dialogs maintained by this PS view component.
1341         (ggv_postscript_view_destroy_dialogs): destroy all our dialogs.
1342         (ggv_postscript_view_destroy): destroy all dialogs via above func.
1343         * ggv/src/recent-files/*: synced with latest libegg, since James reverted
1344         the changes he made in November. here's what I get for tracking
1345         changes once...
1346         * ggv/src/ggv-window.c (verb_FileOpen):
1347         * ggv/src/ggv-recent.c (ggv_recent_init): use new recent-files API.
1348
1349 2004-02-09 Breda McColgan <breda.mccolgan@sun.com>
1350
1351         * gpdf/help/C/gpdf.xml: Implemented technical review comments
1352         * gpdf/help/C/gpdf-C.omf: Updated date
1353
1354 2004-02-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1355
1356         * gpdf/xpdf/gpdf-thumbnails-view.cc
1357         (gpdf_thumbnails_view_populate_idle): #if'ed out one code path
1358         that I missed on 2004-01-13 when commenting out thumbnail
1359         generation menus. Fixes a crasher.
1360
1361 2004-02-08  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1362
1363         * gpdf/xpdf/gpdf-persist-file.cc (impl_bonobo_persist_file_load):
1364         Raise Bonobo exception when file opening fails in order
1365         to enable shell to catch it and discard window opening.
1366         Fix for Bug #133503
1367
1368 2004-02-08  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1369
1370         * gpdf/xpdf/gpdf-control.cc (gpdf_control_setup_view_widgets):
1371         "Thumbnails"->"Pages" because many PDFs don't have thumbnails.
1372
1373         * gpdf/shell/gpdf.c (gpdf_window_init_fullscreen_popup): explicitly add
1374         F11 keybinding.
1375
1376         * gpdf/shell/gpdf-window-ui.xml (keybindings): ViewFullScreen is not a
1377         verb, so F11 doesn't work when in fullscreen mode. Remove it.
1378
1379         * gpdf/xpdf/gpdf-control.cc (gpdf_print_job_prepare): use duplex
1380         setting supplied by gnome-print. Part of Bug #131979.
1381
1382 2004-02-07 Breda McColgan <breda.mccolgan@sun.com>
1383
1384         * gpdf/help/C/gpdf.xml: Updated for GNOME 2.6, technical review draft
1385         * gpdf/help/C/gpdf-C.omf: Updated for GNOME 2.6
1386         * gpdf/help/C/l10n.txt: Added for GNOME 2.6
1387         * gpdf/help/C/figures/gpdf_window.png: Added for GNOME 2.6
1388
1389 2004-02-07  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1390
1391         * gpdf/shell/gpdf.c (set_window_icon_default): simplify, based on patch
1392         by Frederic Crozat <fcrozat@mandrakesoft.com> and inline into main.
1393
1394 2004-02-06  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1395
1396         * gpdf/shell/gpdf.c (gpdf_window_init_fullscreen_popup):
1397         Added accel group for exit full screen view and
1398         ESC accel key.
1399         Fix for Bug #133595.
1400
1401 2004-02-05  Tomasz Kłoczko <kloczek@pld.org.pl>
1402
1403         * ggv/acinclude.m4: removed
1404           This file contain private copy of few aclocal macros provided by
1405           gettext. It breaks regenerata aclocal.m4 under automake diffrent
1406           version than used by mantainer. All neccessary macros are copied
1407           to aclocal.m4 during run autogen.sh.
1408         * ggv/configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1409           AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are substed
1410           by default.
1411
1412 2004-02-05  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1413
1414         * gpdf/xpdf/gpdf-control.cc (gpdf_control_print): no more need to
1415         process GNOME_PRINT_DIALOG_RESPONSE_PREVIEW.
1416         (gpdf_control_no_preview_alert): no longer necessary.
1417
1418 2004-02-05  Andreas J. Guelzow <aguelzow@taliesin.ca>
1419
1420         * gpdf/xpdf/gpdf-control.cc (gpdf_control_print_dialog_new): disable
1421         print preview the right way, instead of showing some alert dialog.
1422         (Bug #133326)
1423
1424 2004-02-05  Alexander Winston  <alexander.winston@comcast.net>
1425
1426         * gpdf/acinclude.m4: correctly quote macro definitions to silence
1427         aclocal-1.8 warnings and prevent future automake problems. (Bug
1428         #133226).
1429
1430 2004-02-04  Jaka Mocnik  <jaka@gnu.org>
1431
1432         * ggv/bonobo/ggv-postscript-view.c (verb_FileSaveMarked): if Save is
1433         clicked in the file chooser and the url is empty, rerun the dialog.
1434         fixes #131656.
1435         * ggv/bonobo/ggv-control.c, bonobo/ggv-postscript-view.c: added
1436         sanity check (uicontainer != CORBA_OBJECT_NIL) before set prop
1437         calls that were not guarded yet.
1438         * ggv/src/ggv-ui.xml: removed ellipsis from "About" menu item label.
1439         * ggv/acinclude.m4: applied a patch from Alexander Winston that fixes
1440         the underquoted m4 definitions. fixes #133179.
1441         * ggv/configure.in: require intltool >= 0.30; version 2.5.3;
1442         tagged as GGV_2_5_3.
1443
1444 2004-01-29  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1445
1446         * gpdf/configure.in: Fixed missing coma in AC_HELP_STRING.
1447
1448 2004-01-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1449
1450         * gpdf/xpdf/gpdf-font-face.c: adapt to changes in libgnomeprint CVS.
1451
1452 2004-01-26  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1453
1454         * gpdf/xpdf/gpdf-thumbnails-view.cc: Include GOutputDev.h.
1455         Added an embed boolean flag for thumbnails struct.
1456         Added a all_generated boolean flag.
1457         Removed CAN_GENERATE_THUMBNAILS define.
1458         (gpdf_thumbnails_view_set_selected_page): Check if is not
1459         current page before darkening thumbnail.
1460         Added tools menu item update.
1461         (gpdf_thumbnails_view_canvas_outline_event_cb):
1462         Changed cursor when dragging in thumb.
1463         (gpdf_thumbnails_view_get_page_pixbuf): New func to gen
1464         pixbuf from a page with GOutputDev.
1465         (gpdf_thumbnails_view_create_thumbnail_pixbuf): Renamed
1466         gpdf_thumbnails_view_create_thumbnail_image that create
1467         white filled thumbs in ..._create_thumbnail_pixbuf.
1468         (gpdf_thumbnails_view_create_thumbnail_image): New func
1469         that get page pixbuf and scale it to make thumb.
1470         (gpdf_thumbnails_view_render_thumbnail_image): Added
1471         embed boolean flag and update all_generated flag.
1472         (gpdf_thumbnails_view_populate_idle): Moved PDF doc related
1473         local vars from func context to loop context.
1474         Changed gpdf_thumbnails_view_create_thumbnail_image in
1475         gpdf_thumbnails_view_create_thumbnail_pixbuf.
1476         Removed tools menu item update if no thumbs availables.
1477         Scroll to 0,0 to show first page thumb.
1478         (gpdf_thumbnails_view_popup_menu_item_generate_cb):
1479         Added implem for current page thumb generation.
1480         (gpdf_thumbnails_view_popup_menu_item_generate_all_cb):
1481         Added implem for all pages thumbs generation.
1482         (gpdf_thumbnails_view_get_tools_menu): If all thumb are
1483         generated the menu is removed.
1484         Now set menu items sensitivity to TRUE.
1485
1486         * gpdf/xpdf/gpdf-bookmarks-view.cc
1487         (gpdf_bookmarks_view_update_popup_actions): Now only updates
1488         menu items sensitivity when some bookmarks are availables.
1489         (gpdf_bookmarks_view_bookmark_select_func): Test item to be
1490         sure not to select NULL bookmark (can occurs if some problem
1491         occurs while parsing PDF: should be fixed).
1492         (gpdf_bookmarks_view_get_tools_menu): Changed menu items init
1493         stmts layout to group the expand_all/collapse_all.
1494
1495         * gpdf/xpdf/Makefile.am (libgpdf_a_SOURCES): Added again
1496         GOutputDev.cc/h and TextOutputDev.cc/h.
1497
1498         * gpdf/xpdf/GOutputDev.h: Added needFontUpdate boolean flag.
1499
1500         * gpdf/xpdf/GOutputDev.cc (GOutputDev::GOutputDev): Added
1501         needFontUpdate init.
1502         (GOutputDev::startDoc):
1503         Removed TextPage::clear call.
1504         (GOutputDev::endPage):
1505         Added boolean flag as param for coalesce.
1506         (GOutputDev::restoreState):
1507         Added needFontUpdate flag set to true.
1508         (GOutputDev::updateAll):
1509         Set flag needFontUpdate instead of calling updateFont().
1510         (GOutputDev::updateFont):
1511         reset needFontUpdate flag and call TextPage::fontUpdate().
1512         (GOutputDev::beginString):
1513         (GOutputDev::endString):
1514         Changed calls to begin/end string in begin/end word.
1515         (GOutputDev::drawChar):
1516         Added updateFont() call if needed. Added code param to
1517         TextPage::addChar.
1518         (GOutputDev::beginType3Char):
1519         Added updateFont() call if needed.
1520
1521         * gpdf/xpdf/gpdf-thumbnails-view.cc
1522         (gpdf_thumbnails_view_canvas_outline_event_cb):
1523         Fixed a bug in thumb drag. A zoom mult coef wrongly added.
1524         It has been removed, as some useless commented out traces.
1525
1526 2004-01-26  Andraz Tori  <Andraz.tori1@guest.arnes.si>
1527
1528         * gpdf/configure.in: Added "sl" (Slovenian) to ALL_LINGUAS.
1529
1530 2004-01-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1531
1532         * gpdf/Makefile.am: update for intltool 0.29, disable-schemas-install
1533         when distchecking.
1534
1535 2004-01-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1536
1537         * gpdf/xpdf/gpdf-control-ui.xml, shell/gpdf-window-ui.xml: add some
1538         explicit keybindings, menu keybindings are disabled when the
1539         menubar is hidden.
1540
1541 2004-01-22  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1542
1543         * gpdf/xpdf/gpdf-sidebar.c (set_tools_button_sensitivity):
1544         New func to set tools menu button sensitivity.
1545         (gpdf_sidebar_set_page_tools_menu):
1546         (select_page): Now call set_tools_button_sensitivity.
1547
1548         * gpdf/xpdf/gpdf-thumbnails-view.cc
1549         (gpdf_thumbnails_view_populate_idle): Added
1550         missing item var.
1551
1552         * gpdf/xpdf/gpdf-control.cc: Removed ifdef USE_ANNOTS
1553         around annots-view.h file. Ifdefs are now in the
1554         header that also defines sidebar page id.
1555         Removed Pages Ids from here to move them in
1556         their respective view header.
1557         (gpdf_control_private_reset_cursor):
1558         (gpdf_control_private_set_wait_cursor):
1559         (gpdf_control_private_set_cursor): Ensure window
1560         is a gdk_window.
1561         (gpdf_control_update_bookmarks_view_tools_menu)
1562         (gpdf_control_bookmarks_view_ready)
1563         (gpdf_control_update_thumbnails_view_tools_menu)
1564         (gpdf_control_thumbnails_view_ready)
1565         (gpdf_control_update_annots_view_tools_menu)
1566         (gpdf_control_annots_view_ready):
1567         Added funcs to deal with tools menu updates and
1568         Ready signals for views. They should be grouped
1569         in two funcs? To be fixed?...
1570         (gpdf_control_enable_ui): Added tools menu update
1571         in control enable UI func.
1572         (gpdf_control_get_bookmarks_view): Added connection
1573         to Ready signal instead of settings tools menu.
1574         This is to wait asynchronous bookmarks loads to be
1575         sure we have a tools menu to activate.
1576         (gpdf_control_get_thumbnails_view): Same for thumbnails
1577         view.
1578         (gpdf_control_get_annots_view): and for annots view.
1579         (gpdf_control_pdf_doc_changed): Moved control_enable_ui
1580         out of the if statement.
1581
1582         * gpdf/xpdf/gpdf-annots-view.h
1583         (GPDF_ANNOTS_VIEW_PAGE_ID):
1584         Sidebar Page id now defined in here.
1585         Added class func for Ready signal.
1586
1587         * gpdf/xpdf/gpdf-annots-view.cc: Removed unused private
1588         field annots. Replaced with the total number of annotations
1589         available inthe document.
1590         (gpdf_annots_view_class_init):
1591         Added Ready signal telling control that annotations
1592         asynchronous load finished.
1593         (gpdf_annots_view_emit_ready): Ready signal emission func
1594         (gpdf_annots_view_have_annotations): Added a func using
1595         the total num of annots to tell if some are available.
1596         (gpdf_annots_view_update_annots_list): Here I count
1597         total number of annotations.
1598         (gpdf_annots_view_populate_idle): Moved some local
1599         vars from func context to the loop context where they
1600         are used.
1601         (gpdf_annots_view_populate_idle): Removed a leak, annots
1602         list was not deleted.
1603         (gpdf_annots_view_get_tools_menu): Use new have_annotations
1604         func to disable tools menu when no annotations are
1605         availables.
1606
1607         * gpdf/xpdf/gpdf-thumbnails-view.h
1608         (GPDF_THUMBNAILS_VIEW_PAGE_ID):
1609         Sidebar Page id now defined in here.
1610         Added class func for Ready signal.
1611
1612         * gpdf/xpdf/gpdf-thumbnails-view.cc:
1613         (gpdf_thumbnails_view_class_init):
1614         Added Ready signal to tell control that thumbnails
1615         asynchronous load finished.
1616         (gpdf_thumbnails_view_emit_ready): Ready signal
1617         emission func.
1618         (gpdf_thumbnails_view_populate_idle): Only
1619         change tools menu item widget sensitivity if
1620         tools menu was created (widget actually exist).
1621         Changed brace position.
1622         (gpdf_thumbnails_view_populate_idle): Added
1623         ready signal emission.
1624
1625         * gpdf/xpdf/gpdf-bookmarks-view.h (GPDF_BOOKMARKS_VIEW_PAGE_ID):
1626         Sidebar Page id now defined in here.
1627         Added class func for Ready signal.
1628
1629         * gpdf/xpdf/gpdf-bookmarks-view.cc:
1630         (gpdf_bookmarks_view_class_init):
1631         Added the READY signal that tell control that
1632         asynchronous bookmarks load finished.
1633         (gpdf_bookmarks_view_emit_ready): Ready signal
1634         emission func.
1635         (gpdf_bookmarks_view_have_outline_items):
1636         Added a func telling if some bookmarks are availables.
1637         (gpdf_bookmarks_view_update_popup_actions):
1638         If no bookmarks availables, no need to browse the
1639         tree.
1640         Set menu item widget sensitivity only if menu was
1641         created.
1642         (gpdf_bookmarks_view_populate_idle):
1643         (gpdf_bookmarks_view_set_pdf_doc):
1644         Now populate bookmarks tree in idle func.
1645         (gpdf_bookmarks_view_get_tools_menu): Used
1646         gpdf_bookmarks_view_have_outline_items to
1647         disable tools menu creation when no bookmarks
1648         availables.
1649
1650 2004-01-20  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1651
1652         * gpdf/xpdf/tests/test-pdf-loading.cc (TEST_NEW):
1653         Removed unused pdf_doc var.
1654
1655         * gpdf/shell/tests/test-uri-input.c: Added decl for
1656         setup and reat_down to avoid gcc warnings.
1657
1658         * gpdf/xpdf/gpdf-stock-icons.c (GPDF_ADD_STOCK_ICON):
1659         Add init value for icon_set vars to avoid warning.
1660
1661         * gpdf/xpdf/gpdf-persist-stream.cc
1662         (gpdf_persist_stream_create_password_dialog): Added
1663         g_signal_connect for help button.
1664
1665         * gpdf/xpdf/gpdf-control.cc: Removed unused
1666         gpdf_control_get_title method. Also removed some
1667         unused vars.
1668
1669         * gpdf/xpdf/gpdf-thumbnails-view.cc:
1670         * gpdf/xpdf/gpdf-bookmarks-view.cc:
1671         * gpdf/xpdf/gpdf-annots-view.cc: Removed undefined
1672         class_finalize method decl, view_init unused method,
1673         and some unused vars.
1674
1675         * gpdf/xpdf/Thumb.cc (ThumbColorMap::ThumbColorMap): Changed
1676         field init order to match decl and to avoid warning.
1677         Removed several unused vars.
1678         (Thumb::Thumb): Removed unused vars.
1679         (Thumb::getPixbufData): Removed unused vars.
1680
1681         * gpdf/xpdf/TextOutputDev.cc (TextPage::coalesce): Init a var
1682         to avoid warning.
1683
1684         * gpdf/xpdf/GPOutputDev.cc (GPOFontMap::~GPOFontMap): Changed
1685         param named to avoid shadowing of the xref class field and
1686         the associated warning.
1687
1688         * gpdf/xpdf/Makefile.am (INCLUDES):
1689         * gpdf/shell/Makefile.am (INCLUDES):
1690         * gpdf/lib/ggv-sidebar/Makefile.am (INCLUDES):
1691         * gpdf/configure.in: Changed the way WARN_CFLAFS & WARN_CXXFLAGS
1692         were passed to compiler. Now use CFLAGS/CXXFLAGS in configure
1693         instead of INCLUDES in some Makefiles.
1694
1695 2004-01-19  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1696
1697         * gpdf/xpdf/gpdf-control.cc (MENU_FIT_WIDTH_PATH): one more "Zoom Items
1698         Placeholder" occurence. (see 2004-01-13)
1699
1700         * gpdf/gpdf.desktop.in (_Name, _Comment): short and sweet,
1701         by Ross Burton and Alexander Winston (Bug #131906).
1702
1703 2004-01-18  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1704
1705         * gpdf/xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_construct):
1706         Complement for Bug #131798: Removed shadow from scrolled
1707         window to get the same look as nautilus.
1708
1709         * gpdf/xpdf/gpdf-annots-view.cc (gpdf_annots_view_construct):
1710         Complement for Bug #131798: Removed shadow from scrolled
1711         window to get the same look as nautilus.
1712
1713         * gpdf/xpdf/gpdf-sidebar.c (gpdf_sidebar_instance_init):
1714         Changed sidebar title frame shadow type. It was ETCHED_IN
1715         and it make it look slightly different than the Nautilus
1716         sidebar one. With GTK_SHADOW_NONE both looks the same.
1717         This fix bug #131798
1718         (gpdf_sidebar_instance_init): Also changed arrow box shadows
1719         as the ones in nautilus.
1720
1721         * gpdf/xpdf/gpdf-control.cc (gpdf_control_save_sidebar_state):
1722         Changed the source for the CONF_WINDOWS_SHOW_SIDEBAR
1723         value. It was GTK_WIDGET_MAPPED, but it do not run anymore.
1724         Now use GTK_WIDGET_VISIBLE.
1725         Fix for Bug #131776.
1726
1727 2004-01-17  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1728
1729         * gpdf/xpdf/gpdf-control-ui.xml: Changed 'Side Pane' in
1730         'Sidebar' to be consistent with other designation for
1731         this widget.
1732         This fix Bug #131733.
1733
1734 2004-01-17  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1735
1736         * gpdf/xpdf/gpdf-control.cc (gpdf_control_private_error_dialog)
1737         (gpdf_control_private_warn_dialog)
1738         (gpdf_control_private_info_dialog): Ok -> GTK_STOCK_OK, suggested
1739         by Christian Neumair.
1740         (gpdf_control_private_question_dialog): unused and might encourage
1741         use of Yes/No dialogs: remove
1742         (gpdf_control_private_display_help): use "%s", not <%s>.
1743
1744         * gpdf/xpdf/gpdf-control-private.h (gpdf_control_private_question_dialog):
1745         remove prototype.
1746
1747         * gpdf/gpdf.schemas.in: removed the not really long "long" descriptions
1748         to reduce string count. Suggested by Christian Neumair.
1749
1750 2004-01-16  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1751
1752         * gpdf/configure.in: Add test to check enable_deprecation_errors
1753         value in [action-if-found] arg of AC_ARG_ENBALE in order
1754         to correctly handle --disable-deprecation-errors.
1755         Same changes for annotations_view AC_ARG_ENABLE.
1756
1757         * gpdf/xpdf/Makefile.am (EXTRA_DIST): Changed value according
1758         to USE_ANNOTS_VIEW cond in order to include annotations view
1759         icons in dist tarball (when annots-view disabled).
1760
1761 2004-01-15  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1762
1763         * gpdf/xpdf/gpdf-view.cc (gpdf_view_link_action_uri)
1764         (gpdf_view_link_action_uri):
1765         * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_popup_menu_item_generate_cb)
1766         (gpdf_thumbnails_view_popup_menu_item_generate_all_cb):
1767         * gpdf/xpdf/gpdf-annots-view.cc (gpdf_annots_view_popup_menu_item_filter_cb)
1768         (gpdf_annots_view_popup_menu_item_plugins_cb):
1769         Fix for Bug #131501.
1770         Some messages punctuations were misplaced.
1771         A syntax error was also corrected in the word "notification".
1772
1773 2004-01-14  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1774
1775         * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_scroll_region_coord):
1776         Changed abs with labs to remove ambiguity on Solaris
1777         Bug #131449
1778
1779 2004-01-13  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1780
1781         * gpdf/xpdf/Makefile.am (STOCK_ANNOTS_ICONS, ANNOTS_VIEW_SRCS):
1782         Changed variables assignement to avoid undefined
1783         message from automake-1.4.
1784
1785         * gpdf/gpdf.spec.in:
1786         Removed junk help files in %files list.
1787         Added gnome--pdf.png icon.
1788
1789         * gpdf/xpdf/Page.cc (Page::displaySlice):
1790         Changed the size of the statements
1791         enclosed in ifdef USE_ANNOTS_VIEW in order
1792         to disable annotations display when annots
1793         view is unused.
1794
1795         * gpdf/xpdf/gpdf-bookmarks-view.cc:
1796         * gpdf/xpdf/gpdf-thumbnails-view.cc:
1797         * gpdf/xpdf/gpdf-annots-view.cc:
1798         Changed the way to retrieve menu item widgets
1799         for popup menus. gnome_app_find_menu_pos always
1800         return the same widget ??? now use index in
1801         GnomeUIInfo struct.
1802
1803         * gpdf/xpdf/gpdf-stock-icons.h: Added aconf.h
1804         to get USE_ANNOTS_VIEW def.
1805
1806         * gpdf/xpdf/tests/test-gpdf-view.cc (TEST_NEW):
1807         Added new param to gpdf-view constructor.
1808         NULL instead of control for the test.
1809
1810         * gpdf/xpdf/tests/.cvsignore: Add .libs & .deps
1811
1812         * gpdf/xpdf/Thumb.cc:
1813         * gpdf/xpdf/Thumb.h: Add implem for Thumb object
1814         parsing.
1815
1816         * gpdf/xpdf/prefs-strings.h: Defines for gconf keys
1817
1818         * gpdf/xpdf/PDFDoc.h:
1819         * gpdf/xpdf/PDFDoc.cc: Added annots display CB.
1820
1821         * gpdf/xpdf/Page.h: Added getThumb method. Added annots
1822         display CB decl. Added Thumb object field for
1823         thumbnails management.
1824
1825         * gpdf/xpdf/Page.cc (Page::Page): Added thumb object
1826         parsing.
1827         (Page::display) (Page::displaySlice): Add CB for
1828         annotations in Page display.
1829         (displaySlice):
1830         Added conditional display of annotation in order to
1831         avoid them when USE_ANNOTS_VIEW is not defined.
1832
1833         * gpdf/xpdf/Outline.cc: Fixed Outline object parsing.
1834
1835         * gpdf/xpdf/Link.cc: Changed some error handling
1836         to make a difference between two parse actions
1837         and have a better report (needed for debug).
1838
1839         * gpdf/xpdf/Makefile.am:
1840         Add conditional ANNOTS_VIEW_SRCS.
1841         Change eog-hig-dialog in gpdf-hig-dialog.
1842         Added new files (srcs & icons) for sidebar and views.
1843
1844         * gpdf/xpdf/gpdf-view.h:
1845         * gpdf/xpdf/gpdf-view.cc:
1846         Add sidebar views interface.
1847
1848         * gpdf/xpdf/gpdf-thumbnails-view.h:
1849         * gpdf/xpdf/gpdf-thumbnails-view.cc:
1850         Implementation of thumbnails view.
1851
1852         * gpdf/xpdf/gpdf-stock-icons.h:
1853         * gpdf/xpdf/gpdf-stock-icons.c: Add icons for
1854         sidebar views (bookmarks, thumbnails and
1855         annotations).
1856
1857         * gpdf/xpdf/gpdf-sidebar.h:
1858         * gpdf/xpdf/gpdf-sidebar.c:
1859         Sidebar implem inspired from Galeon's one.
1860         Could remove soon the delete page button.
1861
1862         * gpdf/xpdf/gpdf-persist-stream.cc
1863         (gpdf_persist_stream_on_helpbutton_clicked):
1864         Added help button and its callback
1865         for password dialog.
1866         (gpdf_persist_stream_create_password_dialog):
1867         Merged from HEAD (one dialog for both password).
1868
1869         * gpdf/xpdf/gpdf-persist-file.cc
1870         (gpdf_persist_file_on_helpbutton_clicked):
1871         Added help button and its callback
1872         for password dialog.
1873         (gpdf_persist_file_create_password_dialog):
1874         Merged from HEAD (one dialog for both password).
1875
1876         * gpdf/xpdf/gpdf-marshal.list: Added marshalers
1877         VOID:POINTER,INT VOID:POINTER,INT,BOOLEAN and
1878         VOID:INT,INT,INT,INT,INT.
1879
1880         * gpdf/xpdf/gpdf-hig-dialog.c:
1881         * gpdf/xpdf/gpdf-hig-dialog.h: Reused eog HIG dialog
1882         in GPdf.
1883
1884         * gpdf/xpdf/gpdf-control.cc (gpdf_control_private_set_status)
1885         (gpdf_control_private_status_timeout, gpdf_control_private_push)
1886         (gpdf_control_private_pop, gpdf_control_private_clear_stack)
1887         (gpdf_control_private_set_fraction)
1888         (gpdf_control_private_set_pulse_step, gpdf_control_private_pulse)
1889         (gpdf_control_private_refresh, gpdf_control_private_set_cursor)
1890         (gpdf_control_private_set_wait_cursor)
1891         (gpdf_control_private_reset_cursor)
1892         (gpdf_control_private_get_bookmarks_view)
1893         (gpdf_control_private_get_thumbnails_view)
1894         (gpdf_control_private_get_annots_view)
1895         (gpdf_control_private_destroy_dialog)
1896         (gpdf_control_private_error_dialog)
1897         (gpdf_control_private_warn_dialog)
1898         (gpdf_control_private_info_dialog)
1899         (gpdf_control_private_question_dialog)
1900         (gpdf_control_private_display_help):
1901         control-private funcs that temporary stay
1902         in gpdf-control but will move to avoid
1903         dependency on gpdf-control.
1904         (gpdf_control_no_postscript_printer_alert):
1905         Changed eog_hig_dialog to gpdf_hig_dialog.
1906         (gpdf_control_read_sidebar_state)
1907         (gpdf_control_save_sidebar_state, gpdf_control_activate_sidebar):
1908         Support for activating sidebar and saving
1909         restoring its state.
1910         (gpdf_control_get_title, gpdf_control_get_bookmarks_view)
1911         (gpdf_control_get_thumbnails_view, gpdf_control_get_annots_view) :
1912         Sidebar internal accessors.
1913         (gpdf_control_update_toggles)
1914         (gpdf_control_view_sidebar_changed_cb)
1915         (gpdf_control_sidebar_close_requested_cb)
1916         (gpdf_control_bookmark_selected_cb)
1917         (gpdf_control_thumbnail_selected_cb)
1918         (gpdf_control_annotation_selected_cb)
1919         (gpdf_control_annotation_toggled_cb)
1920         (gpdf_control_sidebar_page_changed_cb):
1921         Sidebar events management.
1922         (gpdf_control_setup_view_widgets):
1923         Setup sidebar and its pages. Add gnome app bar and
1924         necessary layout.
1925         (gpdf_control_disconnected):
1926         Save sidebar state when component disconnect.
1927         (gpdf_control_dispose):
1928         Dispose memory when component released.
1929         (gpdf_control_class_init):
1930         Connect compnent methods. Added global params
1931         instanciation and stock icons init.
1932
1933 2004-01-13  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1934
1935         * gpdf/configure.in, NEWS: Version 0.122.
1936
1937 2004-01-13  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1938
1939         * gpdf/xpdf/gpdf-control-ui.xml: rename "View Items Placeholder" back
1940         to "Zoom Items Placeholder", put ViewSidebar outside the
1941         placeholder.
1942
1943         * gpdf/xpdf/GPOutputDev.cc (getFontFaceEmbedded): port Xpdf's support
1944         for embedded TrueType fonts.
1945
1946         * gpdf/xpdf/gpdf-thumbnails-view.cc
1947         (gpdf_thumbnails_view_get_tools_menu): we can't generate
1948         thumbnails yet, therefore disable the (empty) tools menu.
1949
1950         * gpdf/xpdf/gpdf-sidebar.c: disable remove button, because we don't
1951         have remove sidebar panes yet.
1952
1953         * gpdf/configure.in: --disable-annotations-view ->
1954         --enable-annotations-view for ui-freeze.
1955
1956         * gpdf/xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_canvas_outline_event_cb):
1957         comment out debug spew.
1958
1959         * gpdf/xpdf/Makefile.am: fixes for USE_ANNOTS_VIEW conditional.
1960
1961         * gpdf/xpdf/gpdf-view.cc (gpdf_view_setup_page_transform)
1962         (gpdf_view_link_action_goto, gpdf_view_link_action_named)
1963         (gpdf_view_link_clicked_cb, gpdf_view_scroll_adjustments_changed_cb)
1964         (gpdf_view_set_pdf_doc):
1965         * gpdf/xpdf/gpdf-control.cc (gpdf_control_class_init):
1966         * gpdf/xpdf/gpdf-control-ui.xml:
1967         * gpdf/xpdf/bonobo-application-x-pdf.cc:
1968         * gpdf/gpdf.spec.in (Requires):
1969         * gpdf/configure.in: Revert disapproved changes.
1970
1971 2004-01-12  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1972
1973         * gpdf/xpdf/gpdf-control.cc: Added support for sidebar.
1974         Replaced misc string literal with defines. Added
1975         AppBar for status and advancement control.
1976         The Annots view is conditionned by configure var
1977         and define USE_ANNOTS_VIEW.
1978
1979         * gpdf/xpdf/gpdf-control-ui.xml: Add accelerator for
1980         Print (Ctrl-P). Changed 'Zoom Items Placeholder'
1981         in 'View Items Placeholder'.
1982         Added ViewSidebar menuitem (F9). This accel is
1983         a potential conflict with the nautilus one (when
1984         using gpdf nautilus view).
1985         Changed label of Print toolitem to "Print Document".
1986
1987         * gpdf/xpdf/gpdf-control-private.h: The funcs grouped
1988         in this header are for now in gpdf-control but
1989         will move soon. They are utility funcs as
1990         status control, error/warning dialog control, etc.
1991
1992         * gpdf/xpdf/gpdf-bookmarks-view.h:
1993         * gpdf/xpdf/gpdf-bookmarks-view.cc: Implem for
1994         the bookmarks view embed in the sidebar.
1995
1996         * gpdf/xpdf/gpdf-annots-view.h:
1997         * gpdf/xpdf/gpdf-annots-view.cc: Implem for the
1998         annotations view embed in the sidebar. This view
1999         is experimental and may be disabled through
2000         the configure arg --disable-annotations-view.
2001
2002         * gpdf/xpdf/eel-gconf-extensions.h:
2003         * gpdf/xpdf/eel-gconf-extensions.c: Convinient
2004         funcs for gconf usage. These files will move to
2005         the lib directory in order for them to be used
2006         by gnome-pdf-viewer and gpdf.
2007
2008         * gpdf/xpdf/bonobo-application-x-pdf.cc: Moved
2009         global params instanciation and stock icons
2010         init from bonobo-application-x-pdf.cc to
2011         gpdf-control class init.
2012
2013         * gpdf/xpdf/Annot.h: Added getSubtype, getDict and
2014         getRefNum/Gen methods for easier annots
2015         identification.
2016         Added dict & subtype fields.
2017
2018         * gpdf/xpdf/Annot.cc (Annot::Annot): Extended Annot
2019         object to read several kind of annotations.
2020         Some more work (in coord with xpdf) is needed...
2021         (Annots::Annots): Same extensions on annotations
2022         collection object.
2023
2024         * gpdf/po/.cvsignore: Added .intltool*
2025
2026         * gpdf/shell/tests/.cvsignore:
2027         * gpdf/lib/recent-files/.cvsignore:
2028         * gpdf/lib/ggv-sidebar/.cvsignore: Added .deps & .libs.
2029
2030         * gpdf/help/C/gpdf.xml: Added a placeholder for password
2031         dialog documentation (also usefull for testing help
2032         button in password dialog).
2033
2034         * gpdf/Makefile.am (EXTRA_DIST): Added schemas
2035         and spec files.
2036         (schemadir): Definition
2037         (schema_DATA): Definition
2038         Added schemas rules and local target if schemas
2039         have to be installed.
2040         (ACLOCAL_AMFLAGS): Added gnome2-macros to avoid
2041         failure when triggered from makefile (maintainers
2042         rules).
2043         (CLEANFILES): Added schemas file
2044
2045         * gpdf/.cvsignore: Added schemas & spec files.
2046
2047         * gpdf/configure.in: Updated required specs.
2048         Removed useless AC_CANONICAL_HOST.
2049         Made --enable-deprecation-errors arg the default
2050         for this dev version.
2051         Add statements for checking gconf commands availability.
2052         Updated PKG_CHECK_MODULES with new requirements.
2053         Added --disable-annotations-view arg for cond annots view
2054         in sidebar.
2055         Added gpdf.schemas & gpdf.spec in AC_OUPUT macros.
2056
2057         * gpdf/gpdf.spec.in: Creation of spec file.
2058
2059         * gpdf/gpdf.schemas.in: Creation of schemas file for GPdf.
2060
2061 2004-01-12  Jaka Mocnik  <jaka@gnu.org>
2062
2063         * ggv/src/recent-files/*: merge with current libegg HEAD.
2064         * ggv/src/ggv-recent.c: fix in order to work with new recent-files code.
2065         * ggv/src/cursors.c, bonobo/ggv-postscript-view.c: cache cursors per
2066         ps_view instead of per process.
2067         * ggv/src/ggv-window.c (ggv_window_new): set command sensitivity.
2068         added page_count member to keep track of the document's properites.
2069         * ggv/bonobo/ggv-postscript-view.c (view_realized_cb): removed one
2070         unref too many. did this behaviour change with GTK 2.5? hth did
2071         anything work at all in GGV 2.4.x otherwise?
2072         * ggv/src/ggv-window.c (ggv_window_close): deactivate the control frame
2073         before destroying the window contents.
2074         * ggv/src/ggv-ui.xml: moved visibility settings in top level popup menu
2075         to a submenu.
2076         * ggv/Makefile.am (EXTRA_DIST): Removed OrigTree.pm from EXTRA_DIST.
2077         * ggv/src/ggv-window.c (timer_callback): reload always when the window
2078         has a specified file name, regardless of the previous state of the
2079         document. use ggv_window_load(). fixes #127214.
2080         * ggv/src/ggv-window.c (verb_FileClose): close window unconditionally. if
2081         it was the last window, quit app. inspired by patch from Mikael
2082         Brockman.
2083         * ggv/src/ggv-ui.xml: removed Exit and New commands. patch from Mikael
2084         Brockman. with the entry above, this fixes #130310.
2085         * ggv/src/gtkgs.c (gtk_gs_munge_adjustments): step_increment now equals
2086         the arrow keys' increment. fixes #126639.
2087         * ggv/bonobo/ggv_postscript-view.c: call
2088         bonobo_control_set_transient_for() and
2089         gtk_window_set_destroy_with_parent() on all dialog windows. I suppose
2090         this should help with #103729, but - wtf! - it doesn't...
2091
2092 2004-01-11  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2093
2094         * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_get_password):
2095         (gpdf_persist_file_get_owner_password)
2096         (gpdf_persist_file_get_user_password): merge, use only one passwd
2097         dialog.
2098         (impl_bonobo_persist_file_load): use it, ask for the passwd once.
2099
2100         * gpdf/xpdf/gpdf-persist-stream.cc (gpdf_persist_stream_get_password):
2101         (gpdf_persist_file_get_owner_password)
2102         (gpdf_persist_file_get_user_password)
2103         (impl_bonobo_persist_stream_load): ditto.
2104
2105         * gpdf/xpdf/gpdf-stock-icons.c (gpdf_stock_icons_init): if fit-width
2106         icon is not installed, use stock fit icon.
2107
2108 2004-01-10  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2109
2110         * gpdf/shell/gpdf-window-ui.xml:
2111         * gpdf/shell/gpdf.c (gpdf_window_open): desensitize full screen command
2112         until we have a pdf.
2113
2114         * gpdf/shell/gpdf.c (exit_fullscreen_button_clicked_cb)
2115         (update_exit_fullscreen_popup_position, screen_size_changed_cb)
2116         (gpdf_window_init_fullscreen_popup): exit full screen button,
2117         stolen from epipahny.
2118         (gpdf_window_window_state_changed): use it.
2119
2120         * gpdf/shell/gpdf-window-ui.xml:
2121         * gpdf/shell/gpdf.c:
2122         (gpdf_window_set_fullscreen, gpdf_window_window_state_changed)
2123         (listener_ViewFullScreen, gw_setup_toplevel_ui)
2124         (gpdf_window_construct): implement simple full screen mode.
2125
2126         * gpdf/gpdf.applications: add startup_notify=true.
2127
2128 2004-01-10  Jaka Mocnik  <jaka@gnu.org>
2129
2130         * ggv/src/ggv-ui.xml: add a mnemonic for fullscreen mode. fixes #119848.
2131         * ggv/ggv.desktop.in: added X-GNOME-DocPath entry - I suppose it can't
2132         hurt.
2133         * ggv/ggv.spec.in: fixed (hopefully) the RPM spec file. fixes #122003.
2134
2135 2004-01-04  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2136
2137         * gpdf/xpdf/GNOME_PDF.server.in.in: more strings for more fine-grained
2138         translations. (cf. Bug #45462)
2139
2140 2004-01-03  Robert Sedak  <robert.sedak@sk.htnet.hr>
2141
2142         * configure.in: Added "hr" in ALL_LINGUAS.
2143
2144 2004-01-02  Taneem Ahmed  <taneem@bengalinux.org>
2145
2146         * ggv/configure.in: Added "bn" to ALL_LINGUAS.
2147
2148 2003-12-30  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2149
2150         * gpdf/shell/gpdf.c (main, gw_control_load_pdf): replace deprecated
2151         calls.
2152
2153         * gpdf/shell/gpdf-recent-view-toolitem.c
2154         (gpdf_recent_view_toolitem_popup): replace deprecated
2155         gnome_popup_menu_do_popup_modal with gtk_menu_popup, adjust
2156         parameter list. Suggested by Ali Akcaagac.
2157         (gpdf_recent_view_toolitem_button_press_event)
2158         (gpdf_recent_view_toolitem_key_press_event): adjust param. list.
2159
2160         * gpdf/xpdf/gtkgesture.c (gesture_data_append_point)
2161         (gtk_gesture_handler_attach): don't use deprecated gdk_gc_unref or
2162         gtk_signal_connect.
2163
2164         * gpdf/configure.in: add --enable-deprecation-errors option, inspired
2165         by ggv's configure.
2166
2167         * gpdf/xpdf/Makefile.am, shell/Makefile.am,
2168         lib/recent-files/Makefile.am, lib/ggv-sidebar/Makefile.am
2169         (INCLUDES): use GPDF_DEPRECATED_CFLAGS.
2170
2171 2003-12-30  Jaka Mocnik  <jaka@gnu.org>
2172
2173         * ggv/Makefile.am: include intltool-modules dir in distribution tarball.
2174
2175 2003-12-29  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2176
2177         * gpdf/.cvsignore: ignore depcomp, stamp-h1.
2178
2179         * gpdf/configure.in: post-release version bump.
2180
2181         * gpdf/xpdf/pdf-properties-display.c, xpdf/pdf-info-dict-util.cc,
2182         xpdf/page-control.c, xpdf/gpdf-view.cc,
2183         xpdf/gpdf-links-canvas-layer.cc, xpdf/gpdf-link-canvas-item.cc,
2184         shell/gpdf-recent-view-toolitem.c, shell/eel-vfs-extensions.c:
2185         Use glib/gi18n.h instead of libgnome/gnome-i18n.h
2186
2187 2003-12-29  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2188
2189         * gpdf/configure.in: Version 0.121.
2190
2191         * gpdf/NEWS: upd.
2192
2193 2003-12-29  Jaka Mocnik  <jaka@gnu.org>
2194
2195         * ggv/src/gtkgs.c (check_filecompressed): added sanity check
2196         (NULL != file).
2197         * ggv/src/recent-files/*: replace GnomeIconTheme with GtkIconTheme, since
2198         the former is deprecated in upcoming GTK+.
2199         * ggv/src/gtkchecklist.c: replace deprecated gtk_tree_model_get_iter_root()
2200         with gtk_tree_model_get_iter_first().
2201         * ggv/configure.in: added an --enable-deprecations flag in order to allow
2202         configurable use of *_DISABLE_DEPRECATED flags.
2203         bumped version to 2.5.1; tagged as GGV_2_5_1; release a tarball.
2204         * ggv/*/Makefile.am: respect the above.
2205
2206 2003-12-28  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2207
2208         * gpdf/configure.in: emit a warning if font embedding is disabled.
2209
2210         * gpdf/xpdf/GPOutputDev.cc (lookupGlyph): new, a little bit better than
2211         nothing.
2212         (drawString): use lookupGlyph. Fixes a part of bug #116772.
2213
2214 2003-12-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2215
2216         * gpdf/lib/recent-files/Makefile.am (INCLUDES): eek, some
2217         _DISABLE_DEPRECATED defines were still here. Remove them.
2218
2219         * gpdf/shell/gpdf-recent-view-toolitem.c
2220         (gpdf_recent_view_toolitem_instance_init): unset CAN_FOCUS flag,
2221         for consistency with other toolbar button items. In response to
2222         bug #126191.
2223
2224         * gpdf/Makefile.am, help/C/Makefile.am, help/es/Makefile.am: fix
2225         distcheck for scrollkeeper stuff.
2226
2227         * gpdf/Makefile.am: delete intltool-* on distclean, not clean, fixes
2228         make clean; make.
2229
2230 2003-12-21  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2231
2232         gcc 3.3.3 has better diagnostics :-)
2233
2234         * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_unload):
2235         add a missing ``= NULL''
2236         (gpdf_persist_file_on_cancelbutton_clicked)
2237         (gpdf_persist_file_create_password_dialog)
2238         (gpdf_persist_file_destroy): kill dead code.
2239
2240         * gpdf/xpdf/gpdf-persist-stream.cc
2241         (gpdf_persist_file_on_cancelbutton_clicked)
2242         (gpdf_persist_file_create_password_dialog): ditto.
2243
2244         * gpdf/xpdf/gpdf-control.cc (gpdf_control_get_filenam)
2245         (gc_ui_set_pixbufs, gpdf_control_constructor): kill unused
2246         variables.
2247
2248         * gpdf/xpdf/gpdf-view.cc (gpdf_view_save_as): ditto.
2249
2250         * gpdf/xpdf/bonobo-application-x-pdf.cc: kill unused factory global.
2251
2252 2003-12-20  Arafat Medini <lumina@silverpen.de>
2253
2254         * configure.in: Added  Arabic Locale "ar" to ALL_LINGUAS
2255
2256 2003-12-20  Arafat Medini <lumina@silverpen.de>
2257
2258         * configure.in: Added Arabic locale "ar" to ALL_LINGUAS
2259
2260 2003-12-14  Jaka Mocnik  <jaka@gnu.org>
2261
2262         * ggv/src/ggv-window.c (ggv_window_set_fullscreen): applied a patch
2263         from janecek at ucw.cz that uses gtk_window_fullscreen() instead
2264         of my home-brewn stuff used in 2.4.
2265         removed functions and includes made redundant by the above patch.
2266         * ggv/src/Makefile.am: there was no need to link libgtkgs with librecent.a,
2267         so we do not do that anymore.
2268
2269 2003-12-13  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2270
2271         * gpdf/configure.in: drop libgnomeui-2.0 >= 2.4.0 requirement.
2272
2273         * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_create_password_dialog),
2274         * gpdf/xpdf/gpdf-persist-stream.cc (gpdf_persist_file_create_password_dialog):
2275         use GTK_STOCK_DIALOG_AUTHENTICATION, not GNOME_STOCK_AUTHENTICATION.
2276
2277         * gpdf/help/es/.cvsignore: add.
2278
2279         * gpdf/.cvsignore, Makefile.am (inltool_extra): update for
2280         intltool 0.28.
2281
2282         * gpdf/shell/gpdf.c (set_window_icon_default, main): set the default
2283         window icon.
2284
2285         * gpdf/shell/Makefile.am (INCLUDES): define GNOMEICONDIR
2286
2287         * gpdf/shell/gpdf.c, xpdf/gpdf-control.cc: don't
2288         gtk_window_set_default_size (cf. #128636)
2289
2290         * gpdf/configure.in: GtkFileChooser requires gtk+ 2.3
2291
2292 2003-12-11  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
2293
2294         * gpdf/help/es, configure.in, help/Makefile.am: Added Spanish help
2295
2296 2003-12-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2297
2298         * gpdf/xpdf/page-control.c (gpdf_page_control_expose)
2299         (gpdf_page_control_class_init): try to look better with some theme
2300         engines (bug and patch for similar problem pointed out by
2301         hk (Evandro)).
2302
2303         * gpdf/test-files/encrypted.pdf: an encrypted pdf, passwords are Foo
2304         and Bar.
2305
2306         * gpdf/test-files/Makefile.am (EXTRA_DIST): dist encrypted.pdf.
2307
2308         * gpdf/xpdf/gpdf-links-canvas-layer.cc: can't make canvas-item
2309         properties construct time-only. Fixes links with glib 2.3.
2310
2311         * gpdf/configure.in: post-release version bump.
2312
2313 2003-12-08  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2314
2315         * gpdf/configure.in: Version 0.120, add warning that this is not
2316         stable.
2317
2318         * gpdf/NEWS: merge news from stable, update.
2319
2320         * gpdf/README.GPdf: update.
2321
2322         * gpdf/xpdf/gpdf-properties-dialog.glade: declare some atk relations.
2323
2324         * gpdf/xpdf/page-control.c (gpdf_page_control_instance_init)
2325         (gpdf_page_control_setup_at): set some atk names.
2326
2327         * gpdf/xpdf/gpdf-view.cc (gpdf_view_setup_at): set atk role and name
2328         for the GPdfView, fixes #127897.
2329
2330         * gpdf/configure.in: require libgnomeui-2.0 >= 2.4.0 for authentication
2331         stock icon.
2332
2333         * gpdf/xpdf/gpdf-persist-file.cc, xpdf/gpdf-persist-stream.cc
2334         (gpdf_persist_file_create_password_dialog)
2335         (gpdf_persist_file_get_password)
2336         (gpdf_persist_file_get_owner_password)
2337         (gpdf_persist_file_get_user_password): HIGgify a bit: remove
2338         window title, remove unused help button, rename OK button, add
2339         authentication stock icon, frob widget spacing.
2340
2341         * gpdf/xpdf/gpdf-control.cc (gpdf_control_enable_ui): enable print verb
2342         only if the document allows printing.
2343
2344 2003-12-08  Jan Arne Petersen  <jpetersen@uni-bonn.de>
2345
2346         * gpdf/shell/gpdf.c: (file_dialog_response), (gw_ask_for_uri):
2347         * gpdf/xpdf/gpdf-control.cc: Replace GtkFileSelection with
2348         GtkFileChooser.
2349
2350 2003-12-13  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2351
2352         * gpdf/help/es/gpdf.xml, help/es/gpdf-es.omf: made them xmllint clean.
2353
2354 2003-12-07  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2355
2356         * gpdf/xpdf/gpdf-control.cc (gpdf_control_enable_ui): handle FileSaveAs
2357         as well.
2358
2359 2003-12-06  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2360
2361         * gpdf/xpdf/gpdf-persist-file.cc (impl_bonobo_persist_file_load): if
2362         the uri looks like a local path (no uri scheme), transform to a
2363         uri, escaping special chars like '%'. Fixes #128171.
2364
2365         * gpdf/shell/gpdf-recent-view-toolitem.c
2366         (gpdf_recent_view_toolitem_instance_init): set atk name for the
2367         drop down arrow. Fixes #126190.
2368         Patch by Padraig O'Briain <padraig.obriain@sun.com>
2369         Fix copyright lines to include James Willcox (for the gedit code).
2370
2371         * gpdf/xpdf/gpdf-view.cc (gpdf_view_save_as): Comment that it expects
2372         the filename in on-disk encoding.
2373
2374         * gpdf/xpdf/gpdf-control.cc (gpdf_control_get_filename): comment why it
2375         doesn't return utf-8, remove FIXME; s/const gchar*/gchar*/ because
2376         we return g_strdupped memory. Fix fileselection title.
2377         (verb_SaveAs_cb): plug leak (s/const gchar*/gchar*/)
2378
2379         * gpdf/xpdf/gpdf-control-ui.xml: renamed "Save document as" to "Save a
2380         Copy" because we continue displaying the original file.
2381
2382 2003-12-05  Jan Arne Petersen  <jpetersen@uni-bonn.de>
2383
2384         * ggv/bonobo/ggv-postscript-view.c: (verb_FileSaveMarked):
2385         * ggv/src/ggv-window.c: (verb_FileOpen): Replace GgvFileSel
2386         (GtkFileSelection) with GtkFileChooser.
2387         * ggv/src/Makefile.am:
2388         * ggv/src/ggv-file-sel.[ch]: removed unused files.
2389
2390 2003-12-01      Mohammad DAMT  <mdamt@bisnisweb.com>
2391
2392         * gpdf/configure.in: Added "id" to ALL_LINGUAS
2393         * gpdf/po/id.po: Added Indonesian Translation by Ahmad Riza H Nst <ari@160c.afraid.org>
2394
2395 2003-11-18  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
2396
2397         * gpdf/shell/gpdf.c (gpdf_window_open):
2398         Changed bonobo_object_unref with gtk_widget_destroy (more
2399         appropriate :-).
2400
2401         * gpdf/xpdf/gpdf-persist-stream.cc (impl_bonobo_persist_stream_load):
2402         * gpdf/xpdf/gpdf-persist-file.cc (impl_bonobo_persist_file_load):
2403         Fixed for BUG# 116663.
2404         Raise exception for password failure to be able to cancel
2405         window opening when catched in gpdf window code.
2406
2407         * gpdf/shell/gpdf.c:
2408         Fixed for BUG# 116663.
2409         (open_request_handler):
2410         Changed window creation flow to be able to correctly
2411         handle exceptions.
2412         Moved title update (removed here after) at this point
2413         just before window is mapped.
2414         (gw_add_control_to_ui): Removed activation of control
2415         widget (to do it later in creation flow).
2416         (gw_control_load_pdf): Removed update of title to do
2417         it later also.
2418         (gpdf_window_open): Changed window open flow to take
2419         into account exceptions. Added activation of control
2420         if no exception raised.
2421
2422         * gpdf/xpdf/gpdf-control.cc (gpdf_control_setup_persist):
2423         Merged from gpdf-outlines branch.
2424         Give bonobo control to bonobo persistant
2425         objects for them to handle password dialogs as
2426         transients.
2427
2428         * gpdf/xpdf/gpdf-persist-stream.h:
2429         * gpdf/xpdf/gpdf-persist-stream.cc:
2430         (gpdf_persist_file_on_entry_activate)
2431         (gpdf_persist_file_on_cancelbutton_clicked)
2432         (gpdf_persist_file_on_okbutton_clicked)
2433         (gpdf_persist_file_create_password_dialog)
2434         (gpdf_persist_file_get_password)
2435         (gpdf_persist_file_get_owner_password)
2436         (impl_bonobo_persist_stream_load)
2437         (gpdf_persist_stream_set_control):
2438         Merged from gpdf-outlines branch.
2439         Add password protected documents support.
2440         Fix BUG# 116663
2441
2442         * gpdf/xpdf/gpdf-persist-file.h:
2443         * gpdf/xpdf/gpdf-persist-file.cc:
2444         (gpdf_persist_file_on_entry_activate)
2445         (gpdf_persist_file_on_cancelbutton_clicked)
2446         (gpdf_persist_file_on_okbutton_clicked)
2447         (gpdf_persist_file_create_password_dialog)
2448         (gpdf_persist_file_get_password)
2449         (gpdf_persist_file_get_owner_password)
2450         (gpdf_persist_file_get_user_password)
2451         (impl_bonobo_persist_file_load, gpdf_persist_file_set_control):
2452         Merged from gpdf-outlines branch.
2453         Add password protected documents support.
2454         Fix BUG# 116663
2455
2456 2003-11-17  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
2457
2458         * gpdf/xpdf/gpdf-control-ui.xml:
2459         * gpdf/xpdf/gpdf-view.cc (gpdf_view_save_as):
2460         * gpdf/xpdf/gpdf-control.cc (gpdf_control_get_filename)
2461         (verb_SaveAs_cb):
2462         Merge SaveAs feature from gpdf-outlines branch.
2463         Fix for BUG# 117596
2464
2465         * gpdf/shell/gpdf.c (gw_ask_for_uri, gw_open_dialog):
2466         Merged "Open multiple files" feature from
2467         gpdf-outlines branch.
2468         Fix for BUG# 118942.
2469
2470 2003-11-11  Padraig O'Briain  <padraig.obriain@sun.com>
2471
2472         * gpdf/xpdf/bonobo-application-x-pdf.cc (main): call gnome_program_init
2473         ( fixes #126516, ignored gconf a11y setting).
2474
2475 2003-11-06  Breda McColgan  <Breda.McColgan@sun.com>
2476
2477         * help/C/ggv.xml: Updated for GNOME 2.4.2
2478         * help/C/ggv-C.omf : Updated to reflect new manual version number and
2479         date
2480         * help/C/l10n.txt: Updated Summary of Changes section
2481
2482 2003-11-03  Shakti  <shakti.sen@wipro.com>
2483
2484         * gpdf/gpdf.desktop.in:
2485         Added "%U" as a Exec parameter variable to handle dnd PDF files on launcher.
2486         Fixes the bug#126160
2487
2488 2003-11-02  Jaka Mocnik  <jaka@gnu.org>
2489
2490         * ggv/src/ggv-ui.xml: removed redundant separator above prefs item.
2491         * ggv/src/ggv-window.c (verb_HelpContents): if in fullscreen mode,
2492         switch to normal in order to show the help window.
2493         * ggv/src/gtkchecklist.c: implemented range selection (first selected ->
2494         cursor) when clicking with shift pressed. fixes #125760.
2495
2496 2003-10-27  Sanlig Badral  <badral@openmn.org>
2497
2498         * gpdf/configure.in: Added "mn" to ALL_LINGUAS.
2499
2500 2003-10-25  Jaka Mocnik  <jaka@gnu.org>
2501
2502         * ggv/src/ggv-prefs-ui.[ch]: migrated to GtkComboBox.
2503         removed toolbar style settings.
2504         * ggv/src/ggv-prefs.[ch]: removed toolbar style settings.
2505         * ggv/configure.in: version 2.5.0; tag GGV_2_5_0.
2506
2507 2003-10-14  Chee Bin HOH  <cbhoh@mimos.my>
2508
2509         * gpdf/help/C/gpdf.xml: upd.
2510
2511         * gpdf/shell/gpdf.c (verb_HelpAbout_cb): documentation
2512         credits.
2513         (verb_HelpContents_cb): new.
2514
2515 2003-10-13  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2516
2517         from stable branch:
2518
2519         * gpdf/xpdf/gpdf-control.cc (idle_print_handler): fix off-by-one bug
2520         (gpdf_control_print, print_to_file_workaround): make print-to-file
2521         work, needs investigation in gnome-print.
2522
2523 2003-10-10  Jaka Mocnik  <jaka@gnu.org>
2524
2525         * ggv/src/gtkgs.c (gtk_gs_zoom_to_fit): fixed a copy'n'paste error!
2526         * ggv/bonobo/ggv-control.c (sw_size_allocate): better calculation of
2527         available size for GtkGS widget.
2528
2529 2003-10-03  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
2530
2531         * gpdf/xpdf/gpdf-control.cc (persist_file_loading_finished_cb):
2532         Fix for BUG #123638.
2533         Add call to gnome_vfs_unescape_string_for_display to remove
2534         escaped chars in title.
2535
2536         * gpdf/help/C/figures/gpdf_start_window.png:
2537         * gpdf/help/C/legal.xml:
2538         * gpdf/help/C/gpdf.xml:
2539         * gpdf/help/C/Makefile.am:
2540         * gpdf/help/C/gpdf-C.omf:
2541         * gpdf/help/C/.cvsignore:
2542         * gpdf/help/Makefile.am:
2543         * gpdf/help/xmldocs.make:
2544         * gpdf/help/.cvsignore:
2545         * gpdf/help/omf.make: Added help written by Chee Bin HOH.
2546
2547         * gpdf/Makefile.am (SUBDIRS): Add help as a SUBDIR.
2548
2549         * gpdf/configure.in: Add help/Makefile and help/C/Makefile in
2550         AC_OUTPUT directive.
2551
2552         === this is HEAD === stable branch is gnome-2-4 ===
2553
2554 2003-09-30  Christian Rose  <menthos@menthos.com>
2555
2556         * gpdf/configure.in: Added "eu" to ALL_LINGUAS.
2557
2558 2003-09-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2559
2560         * gpdf/configure.in: on HP-UX with gcc 3.3, define __STDC_EXT__ (#121730).
2561
2562 2003-09-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2563
2564         * gpdf/xpdf/gpdf-control.cc (idle_print_handler): forgot to mark one
2565         message for translation. Sorry.
2566
2567 2003-09-26  Christian Neumair  <chris@gnome-de.org>
2568
2569         * gpdf/xpdf/gpdf-control.cc (verb_FileProperties_cb):
2570         * gpdf/xpdf/gpdf-properties-dialog.glade: HIGify document property dialog.
2571
2572         * gpdf/xpdf/gpdf-print-progress-dialog.glade: HIGify print progress dialog.
2573
2574 2003-09-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2575
2576         * gpdf/xpdf/gpdf-control.cc (gpdf_print_job_prepare, idle_print_handler:
2577         (gpdf_control_print_job_print, using_postscript_printer)
2578         (gpdf_control_no_preview_alert, gpdf_control_no_postscript_printer_alert)
2579         (gpdf_control_get_range_page, gpdf_control_print_dialog_new)
2580         (gpdf_control_print, verb_FilePrint_cb): implement printing.
2581         (gpdf_control_set_property): disable PersistStream implementation.
2582
2583         * gpdf/xpdf/gpdf-print-progress-dialog.glade: add.
2584
2585         * gpdf/xpdf/gpdf-control-ui.xml: add Print verb, menu item, tool item.
2586
2587         * gpdf/xpdf/Makefile.am (libgpdf_a_SOURCES): include PSOutputDev
2588         (glade_DATA): add gpdf-print-progress-dialog.glade.
2589
2590         * gpdf/xpdf/GNOME_PDF.server.in.in: don't advertise PersistStream
2591
2592         * gpdf/configure.in: bump version to 0.110.99; require libgnomeprint >=
2593         2.3.0.
2594
2595 2003-09-22  Taneem Ahmed  <taneem@bengalinux.org>
2596
2597         * gpdf/configure.in: Added "bn" to ALL_LINGUAS.
2598
2599 2003-09-08  Mugurel Tudor  <mugurelu@go.ro>
2600
2601         * gpdf/configure.in : Added "ro" to ALL_LINGUAS.
2602
2603 2003-09-08  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2604
2605         * gpdf/configure.in, NEWS: Version 0.110.
2606
2607         * gpdf/README.GPdf: add note about HP-UX + gcc 3.3 build (#121730).
2608
2609 2003-09-04  Joël Brich  <joel.brich@laposte.net>
2610
2611         * gpdf/configure.in : Added "eo" to ALL_LINGUAS.
2612
2613 2003-09-02  Gediminas Paulauskas  <menesis@delfi.lt>
2614
2615         * gpdf/configure.in: Added lt to ALL_LINGUAS.
2616
2617 2003-08-29  Irene Ryan <irene.ryan@sun.com>
2618
2619         * ggv/help/C/ggv.sgml: removed this obsolete SGML file
2620         * ggv/help/C/ggv.xml: minor updates to Help for GNOME 2.4 release
2621         * ggv/help/C/ggv-C.omf: updated manual release info
2622         * ggv/help/C/l10n.txt: updated instructions for L10N teams about
2623      changes made in latest Help
2624
2625 2003-08-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2626
2627         * gpdf/configure.in: Version 0.106.
2628
2629         * gpdf/NEWS: updated.
2630
2631         * gpdf/README: point to README.GPdf.
2632
2633         * gpdf/README.GPdf: new file.
2634
2635         * gpdf/gnome-pdf.png: icon from gnome-icon-theme by Jimmac (Jakub
2636         Steiner).
2637
2638         * gpdf/Makefile.am: dist the icon.
2639
2640 2003-08-25  Mark Finlay  <sisob@tuxfamily.org>
2641
2642         * gpdf/gpdf.desktop.in: use gnome-pdf (gnome-icon-theme) icon.
2643
2644 2003-08-19  Yanko Kaneti <yaneti@declera.com>
2645
2646         * gpdf/configure.in: (ALL_LINGUAS) Added Bulgarian (bg).
2647
2648 2003-08-18  Guntupalli Karunakar  <karunakar@freedomink.org>
2649
2650         * gpdf/configure.in: Added "hi" to ALL_LINGUAS.
2651
2652 2003-08-13  Jaka Mocnik  <jaka@gnu.org>
2653
2654         * ggv/added ggv-recent.*!
2655
2656 2003-08-12  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2657
2658         * gpdf/xpdf/gpdf-control.cc (ui_component_set_sensitive): move up.
2659         (gpdf_control_enable_ui): new.
2660         (gc_enable_go_back_verbs, gc_enable_go_forward_verbs)
2661         (gc_enable_history_back_verbs, gc_enable_history_forward_verbs):
2662         replaced by gpdf_control_enable_ui.
2663         (gc_page_changed_enable_page_buttons, gpdf_control_activate)
2664         (gpdf_control_pdf_doc_changed): use gpdf_control_enable_ui,
2665         disable ui if pdf_doc == NULL.
2666
2667 2003-08-12  Jaka Mocnik  <jaka@gnu.org>
2668
2669         * ggv/applied patch by Glynn Foster of Sun that adds support for
2670         recent files menu. Thanks!
2671
2672 2003-08-11  Dafydd Harries  <daf@parnassus.ath.cx>
2673
2674         * ggv/configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2675
2676 2003-08-09  Sajith V.K  <sajith_vk@linuxmail.org>
2677
2678         * gpdf/configure.in: Added "ml" (Malayalam) to ALL_LINGUAS.
2679
2680 2003-08-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2681
2682         * ggv/configure.in: make maintainer builds work
2683
2684 2003-08-06  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2685
2686         * gpdf/xpdf/eog-hig-dialog.c (eog_hig_dialog_new): add terminating
2687         NULL in g_object_set.
2688
2689 2003-07-29  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2690
2691         * gpdf/NEWS, configure.in: Version 0.105
2692
2693         * gpdf/shell/gpdf.c (verb_HelpAbout_cb): add Remi.
2694
2695 2003-07-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2696
2697         * gpdf/test-files/Makefile.am (%.pdf): run pdftex in nonstopmode, let
2698         make ignore pdftex errors (we are only creating test files). Makes
2699         bug #114701 less severe.
2700
2701 2003-07-24  Dafydd Harries  <daf@parnassus.ath.cx>
2702
2703         * gpdf/configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2704
2705 2003-07-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2706
2707         * gpdf/xpdf/gpdf-properties-dialog.glade: declared unused dialog title
2708         as not translatable. (Bug #118218).
2709
2710 2003-07-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2711
2712         * gpdf/xpdf/pdf-info-dict-util.cc (pdf_doc_process_properties): added a
2713         comment for translators in front of Yes/No (Bug #118214).
2714
2715 2003-07-20  Jaka Mocnik  <jaka@gnu.org>
2716
2717         * ggv/src/Makefile.am: remove built sources from distribution tarball.
2718
2719 2003-07-18  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2720
2721         * gpdf/xpdf/gpdf-persist-file.cc (impl_bonobo_persist_file_load): use
2722         more informative error messages when emitting loading-failed. Kill
2723         gotos :-).
2724         Whitespace cleanups.
2725
2726         * gpdf/xpdf/gpdf-control.cc (persist_file_loading_failed_cb): kill
2727         redundancy in error message; unset PDF document.
2728
2729         * gpdf/xpdf/eog-hig-dialog.c (eog_hig_dialog_new): remove a newline
2730
2731 2003-07-17  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
2732
2733         * gpdf/xpdf/gpdf-marshal.list (VOID:POINTER,INT)
2734         (VOID:INT,INT,INT,INT,INT): removed wrongly
2735         commited new marshalers. Should have gone to
2736         gpdf-outlines.
2737
2738 2003-07-17  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2739
2740         * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_class_init)
2741         (impl_bonobo_persist_file_load): emit (new) loading-failed signal
2742         if something goes wrong during load.
2743
2744         * gpdf/xpdf/gpdf-persist-file.h: add slot for loading-failed.
2745
2746         * gpdf/xpdf/gpdf-marshal.list: add VOID:STRING.
2747
2748         * gpdf/xpdf/gpdf-links-canvas-layer.cc: fix include (thanks Remi).
2749
2750         * gpdf/xpdf/gpdf-control.cc (gpdf_control_setup_persist)
2751         (gpdf_control_destroy): on loading-failed signal, display error
2752         alert.
2753
2754         * gpdf/xpdf/eog-hig-dialog.h, xpdf/eog-hig-dialog.c: copied from eog;
2755         HIG conforming alert dialog.
2756
2757         * gpdf/xpdf/Makefile.am (libgpdf_a_SOURCES): build eog-hig-dialog
2758
2759         * gpdf/NEWS: updated.
2760
2761 2003-07-14  Jaka Mocnik  <jaka@gnu.org>
2762
2763         * ggv/bonobo/ggv-control.c (ggv_control_key_press_event): reverted the
2764         page up/down keys behaviour.
2765         * ggv/bonobo/GNOME_GGV.server.in.in: don't register ourselves as being
2766         able to read PDF files.
2767         * ggv/bonobo/bonobo-postscript-view-ui.xml: add label to File submenu.
2768         fixes #115724.
2769         * ggv/configure.in: bumoed version to 2.3.2; tag GGV_2_3_2: released a
2770         tarball.
2771
2772 2003-07-06  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2773
2774         * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_class_init):
2775         rename set_pdf signal to loading_finished.
2776
2777         * gpdf/xpdf/gpdf-control.cc (persist_file_loading_finished_cb)
2778         (gpdf_control_setup_persist): ditto.
2779
2780         * gpdf/xpdf/tests/test-pdf-loading.cc: ditto.
2781
2782         * gpdf/xpdf/gpdf-persist-file.h: ditto.
2783
2784 2003-07-05  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2785
2786         * gpdf/shell/gpdf.c (file_dialog_ok): if selected filename does not
2787         exist, try to do completion, never try to open.
2788
2789 2003-07-05  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2790
2791         * gpdf/shell/gpdf.c (file_dialog_ok): don't try to open a
2792         directory. Code stolen from Gnumeric (gui-util.c).
2793         (file_dialog_cancel, file_dialog_delete_event, gw_ask_for_uri):
2794         hide the file selector before destroying it.
2795
2796 2003-07-05  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2797
2798         * gpdf/xpdf/gpdf-view.cc (gpdf_view_clear_history): implement.
2799         (gpdf_view_set_pdf_doc): clear history on set_pdf_doc (for
2800         nautilus).
2801
2802 2003-07-04  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2803
2804         * gpdf/xpdf/gpdf-view.h: add scroll_to prototypes
2805
2806         * gpdf/xpdf/gpdf-view.cc (gpdf_view_key_press_event): use
2807         gpdf_view_scroll_to_top and _bottom, kill superfluous/wrong
2808         do_scroll = TRUE statement (twice).
2809         (gpdf_view_scroll_to_top, gpdf_view_scroll_to_bottom): move above
2810         gpdf_view_page_prev.
2811         (gpdf_view_link_action_goto, gpdf_view_page_prev)
2812         (gpdf_view_page_next, gpdf_view_page_first, gpdf_view_page_last)
2813         (gpdf_view_back_history, gpdf_view_forward_history)
2814         (gpdf_view_key_press_event, gpdf_view_key_press_event): when
2815         jumping to another page, scroll to top of the page, except when
2816         browsing backwards with Backspace. Fixes #115173.
2817
2818         * gpdf/xpdf/gpdf-control.cc (gc_set_page_cb): #115173 fix.
2819
2820 2003-07-04  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2821
2822         * gpdf/xpdf/gpdf-view.cc (gpdf_view_scroll_to_top)
2823         (gpdf_view_scroll_to_bottom): implement.
2824
2825         * gpdf/configure.in: bump version to 0.104.99.
2826
2827 2003-07-02  Laurent Dhima  <laurenti@alblinux.net>
2828
2829         * ggv/configure.in: Added "sq" to ALL_LINGUAS.
2830
2831 2003-07-02  Jordi Mallach  <jordi@sindominio.net>
2832
2833         * ggv/ggv.desktop.in: Add X-Bugzilla entries.
2834
2835 2003-07-01  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2836
2837         * gpdf/configure.in, NEWS: Version: 0.104.
2838
2839 2003-07-01  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2840
2841         * gpdf/xpdf/tests/test-gpdf-control.cc (control_property_title): make
2842         it pass again.
2843
2844         * gpdf/xpdf/GPOutputDev.cc: fix name of Dingbats font.
2845
2846 2003-07-01  Laurent Dhima  <laurenti@alblinux.net>
2847
2848         * gpdf/configure.in: Added "sq" to ALL_LINGUAS.
2849
2850 2003-06-30  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2851
2852         * gpdf/xpdf/gpdf-control.cc (persist_stream_set_pdf_cb)
2853         (persist_file_set_pdf_cb, persist_file_set_pdf_cb)
2854         (gpdf_control_get_title, gpdf_control_constructor)
2855         (property_bag_get_prop): Plug leak. Don't recompute the title
2856         everytime it is needed.  Silly Martin told Remi the wrong place
2857         for his change.
2858
2859 2003-06-30  Alessio Frusciante  <algol@firenze.linux.it>
2860
2861         * gpdf/configure.in (ALL_LINGUAS): added "it" (Italian).
2862
2863 2003-06-28  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2864
2865         * gpdf/xpdf/gpdf-font-face.h: change license from GPL v2 to GPL v2 or
2866         later.  (with Filip's permission)
2867
2868         * gpdf/xpdf/gpdf-font-face.c: ditto.
2869
2870         * gpdf/configure.in (ALL_LINGUAS): Added "mk" and "he".
2871         (EXTRA_GNOME_CFLAGS) Do not check for freetype explicitly.  Build
2872         fix suggested by Ali Akcaagac.
2873
2874         * gpdf/NEWS: updated.
2875
2876 2003-06-26  Stanislav Brabec  <sbrabec@suse.cz>
2877
2878         * ggv/configure.in: Fixed discontinued "head -1" syntax to "head -n 1".
2879
2880 2003-06-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2881
2882         * gpdf/xpdf/gpdf-font-face.c: GnomeFontFace wrapper class for embedded
2883         fonts. Originally by me, this class is from Filip Van Raemdonck.
2884
2885         * gpdf/xpdf/gpdf-font-face.h: header for GPdfFontFace.
2886
2887         * gpdf/xpdf/Makefile.am (libgpdf_a_SOURCES): build gpdf-font-face.[hc].
2888         (INCLUDES): propagate cflags for private gnome-print headers.
2889
2890         * gpdf/xpdf/GPOutputDev.cc (getFontFaceEmbedded):
2891         s/gnome_font_face_download/gpdf_font_face_download/.
2892
2893         * gpdf/configure.in (HAVE_FONT_EMBEDDING): compile with font-embedding
2894         if complete private gnome-print headers are installed.
2895
2896         * gpdf/NEWS: updated.
2897
2898 2003-06-21  Remi Cohen-Scali  <remi@cohen-scali.com>
2899
2900         * gpdf/xpdf/gpdf-control.cc (gpdf_control_get_title): Added
2901         URI manipulation stuff for removing file:// for title
2902         property.
2903
2904         * gpdf/shell/gpdf.c (gpdf_window_update_window_title):
2905         Add handling for exception if PB cannot be retrieved.
2906         Also fix a typo about last bonobo_pbclient_get_string_with_default
2907         arg.
2908
2909 2003-06-17  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2910
2911         * gpdf/xpdf/tests/test-gpdf-control.cc (control_property_title):
2912         * gpdf/xpdf/gpdf-control.cc (gpdf_control_setup_property_bag):
2913         * gpdf/shell/gpdf.c (gpdf_window_update_window_title): plug property
2914         bag leak.
2915
2916         * gpdf/configure.in: fix typo.
2917
2918 2003-06-15  Remi Cohen-Scali  <remi@cohen-scali.com>
2919
2920         * gpdf/xpdf/gpdf-view.h:
2921         * gpdf/xpdf/gpdf-view.cc: Add support for history navigation.
2922         (gpdf_free_history_node, gpdf_view_history_stack_page)
2923         (gpdf_view_back_history, gpdf_view_forward_history)
2924         (gpdf_view_is_first_history, gpdf_view_is_last_history): impl.
2925         (gpdf_view_goto_page_no_history): renamed from
2926         gpdf_view_goto_page, made static
2927         (gpdf_view_goto_page): new, history-aware.
2928
2929         * gpdf/xpdf/gpdf-control-ui.xml: Add UI controls for history
2930         navigation.
2931
2932         * gpdf/xpdf/gpdf-control.cc (gc_page_changed_enable_page_buttons)
2933         (gc_enable_history_forward_verbs, gc_enable_history_back_verbs):
2934         Add update for history controls.
2935         (verb_GoHistoryPrev_cb, verb_GoHistoryNext_cb): Add callbacks and
2936         bonobo verbs for history controls.
2937         (gpdf_control_activate): pretend page change to update commands
2938         sensitivity.
2939         (gc_page_changed_enable_page_buttons): handle history buttons.
2940
2941 2003-06-15  Jaka Mocnik  <jaka@gnu.org>
2942
2943         * ggv/configure.in: bumped version to 2.3.1; tag GGV_2_3_1; released a
2944         tarball.
2945         * ggv/src/ggv-window.c: found and released all remaining lost references.
2946
2947 2003-06-14  Jaka Mocnik  <jaka@gnu.org>
2948
2949         * ggv/src/ggv-window.c (ggv_window_new): unref the UI container.
2950
2951 2003-06-13  Rajkumar Sivasamy  <rajkumar.siva@wipro.com>
2952
2953         * ggv/bonobo/ggv-control-ui.xml:
2954         * ggv/bonobo/ggv-control.c:
2955         * ggv/bonobo/ggv-sidebar.c:
2956         * ggv/bonobo/main.c:
2957         * ggv/src/ggvutils.c:
2958         * ggv/src/ggvutils.h:
2959         * ggv/src/main.c: Register the ggv icons as stock icons, so that the
2960         themes can override them.
2961         Fixes bug: 109158
2962
2963 2003-06-11  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2964
2965         * gpdf/xpdf/GPOutputDev.cc (drawString): don't draw glyphs for
2966         non-printing characters. Fixes #114939.
2967
2968 2003-06-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2969
2970         * gpdf/shell/gpdf.c (gpdf_window_update_window_title)
2971         (gw_control_load_pdf): set window title according to control's
2972         title property.
2973
2974         * gpdf/xpdf/tests/test-pdf-loading.cc: add test for getCurrentFile.
2975
2976         * gpdf/xpdf/tests/test-gpdf-control.cc: add test for title property.
2977
2978         * gpdf/xpdf/gpdf-persist-file.cc
2979         (impl_bonobo_persist_file_getCurrentFile): implement.
2980         (gpdf_persist_file_get_current_uri): implement.
2981
2982         * gpdf/xpdf/gpdf-persist-file.h: declare
2983         gpdf_persist_file_get_current_uri
2984
2985         * gpdf/xpdf/gpdf-control.cc (gc_page_changed_enable_page_buttons): do
2986         nothing unless activated.
2987         (gpdf_control_constructor, gpdf_control_setup_property_bag)
2988         (property_bag_get_prop): add a property bag to the control.
2989         (gpdf_control_get_title, persist_file_set_pdf_cb)
2990         (gpdf_control_destroy, persist_stream_set_pdf_cb): impl. title
2991         property (only an URI ATM).
2992
2993         * gpdf/NEWS: update
2994
2995         * gpdf/configure.in: bump version to 0.103.99.
2996
2997 2003-06-06  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2998
2999         * gpdf/configure.in: Version 0.103.
3000
3001         * gpdf/NEWS: update.
3002
3003         * gpdf/lib/ggv-sidebar/Makefile.am (libggv_sidebar_a_SOURCES): include
3004         only files that are already needed.
3005
3006 2003-06-03  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3007
3008         * gpdf/configure.in: generate lib/ggv-sidebar/Makefile.
3009
3010         * gpdf/lib/Makefile.am (SUBDIRS): add ggv-sidebar.
3011
3012         * gpdf/lib/ggv-sidebar/ggvutils.h, lib/ggv-sidebar/ggv-prefs.h:
3013         everything we need from the ggv files of the same name.
3014
3015         * gpdf/lib/ggv-sidebar/ggvutils.c: plus their implementation.
3016
3017         * gpdf/lib/ggv-sidebar/Makefile.am: add ggvutils.[hc], ggv-prefs.h.
3018
3019         * gpdf/xpdf/Makefile.am: link with ggv-sidebar.
3020
3021         * gpdf/xpdf/gpdf-view.cc: implement GgvDocument interface.
3022         (gpdf_view_get_type): cannot use CLASS_BOILERPLATE with interfaces.
3023         (gpdf_view_get_page_count, gpdf_view_get_page_names)
3024         (gpdf_view_instance_init): for the interface.
3025
3026         * gpdf/xpdf/tests/test-gpdf-view.cc: add tests for GPdfView.
3027
3028         * gpdf/xpdf/tests/.cvsignore: ignore test-gpdf-view.
3029
3030         * gpdf/xpdf/tests/Makefile.am: add new test, link with ggv-sidebar.
3031
3032 2003-06-03  Jaka Mocnik  <jaka@gnu.org>
3033
3034         * ggv/src/gtkgs.c (gtk_gs_start_scroll, gtk_gs_end_scroll): optimized:
3035         invalidate 4 tiny rectangles instead of the whole window.
3036         * ggv/src/cursors.c (cursor_get): optimized: create cursor only the first
3037         time.
3038
3039 2003-06-02  Jaka Mocnik  <jaka@gnu.org>
3040
3041         * ggv/src/ggv-window.c (set_file_cmds_sensitivity): properly enable
3042         or disable reload and close buttons!
3043
3044 2003-05-30  Jaka Mocnik  <jaka@gnu.org>
3045
3046         * ggv/bonobo/ggv-control.c (set_zoom_items_sensitivity): disable zoom spin
3047         also!
3048
3049 2003-05-29  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3050
3051         * gpdf/configure.in: define HAVE_FONT_EMBEDDING if gnome-print has the
3052         gnome_font_face_download function
3053
3054         * gpdf/xpdf/GPOutputDev.cc: use HAVE_FONT_EMBEDDING from aconf.h
3055
3056 2003-05-29  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3057
3058         * gpdf/xpdf/tests/test-gpdf-control.cc: add tests for GPdfControl
3059
3060         * gpdf/xpdf/tests/Makefile.am, xpdf/tests/.cvsignore: add
3061         test-gpdf-control
3062
3063         * gpdf/xpdf/gpdf-control.cc: use BONOBO_CLASS_BOILERPLATE.
3064         (gpdf_control_new, gpdf_control_construct): kill, use construct
3065         time properties.
3066         (gpdf_control_class_init): install constructor, properties
3067         persist-stream and persist-file.
3068         (gpdf_control_constructor): constructor impl.
3069         (gpdf_control_setup_page_control, gpdf_control_setup_zoomable)
3070         (gpdf_control_setup_view_widgets): renamed from gc_setup_foo.
3071         (gpdf_control_setup_persist): ditto, connect to PersistFile, too.
3072         (gpdf_control_set_property): impl.
3073         (persist_file_set_pdf_cb): signal callback.
3074         (persist_stream_set_pdf_cb): renamed from gc_set_pdf_cb.
3075         (gpdf_control_pdf_doc_changed): factored out from gc_set_pdf_cb.
3076         (verb_FileProperties_cb): get PDFDoc from priv.
3077
3078         * gpdf/xpdf/gpdf-control.h: kill gpdf_control_new and _construct,
3079
3080         * gpdf/xpdf/bonobo-application-x-pdf.cc (gpdf_factory): also give the
3081         control a PersistFile implementation
3082
3083         * gpdf/xpdf/Makefile.am: moved more code into libgpdf.a.
3084
3085         * gpdf/xpdf/GNOME_PDF.server.in.in: state that we implement
3086         Bonobo/PersistFile.
3087
3088         * gpdf/shell/gpdf.c (bonobo_stream_for_uri): kill.
3089         (gw_control_load_pdf): changed to load through PersistFile.
3090
3091 2003-05-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3092
3093         * gpdf/xpdf/tests/test-pdf-loading.cc: add tests for GPdfPersistFile.
3094
3095         * gpdf/xpdf/gpdf-persist-stream.h: no need to include BonoboStream.h.
3096
3097         * gpdf/xpdf/gpdf-persist-file.h, xpdf/gpdf-persist-file.cc: new class,
3098         implements the PersistFile interface.
3099
3100         * gpdf/xpdf/Makefile.am (libgpdf_a_SOURCES): add gpdf-persist-file.cc,
3101         gpdf-persist-file.h.
3102
3103         * gpdf/xpdf/gpdf-control.cc: reorder includes.
3104
3105 2003-05-26  Jaka Mocnik  <jaka@gnu.org>
3106
3107         * ggv/src/ggv-window.c (ggv_window_remove_control): remove timer callback
3108         and free filename.
3109         (ggv_window_close): call ggv_window_remove_control.
3110
3111 2003-05-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3112
3113         * gpdf/xpdf/gpdf-links-canvas-layer.cc (gnome_canvas_item_new):
3114
3115         * gpdf/xpdf/gpdf-link-canvas-item.cc (gpdf_link_canvas_item_set_link):
3116
3117         * gpdf/xpdf/tests/test-links.cc: refactoring: the LinkItem gets its
3118         directly coordinates from the Link
3119
3120 2003-05-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3121
3122         * gpdf/xpdf/gpdf-persist-stream.cc:
3123         (impl_bonobo_persist_stream_load)
3124         (impl_bonobo_persist_stream_save, impl_get_content_types)
3125         (gpdf_persist_stream_class_init, gpdf_persist_stream_construct):
3126         implement the PersistStream interface on top of BonoboPersist
3127         instead of the deprecated BonoboPersistStream GObject class.
3128         (gpdf_persist_stream_class_init, gpdf_persist_stream_construct):
3129         changes for BONOBO_CLASS_BOILERPLATE_FULL.
3130
3131         * gpdf/xpdf/gpdf-persist-stream.h: derive directly from BonoboPersist.
3132
3133         * gpdf/xpdf/tests/test-pdf-loading.cc (persist_stream_content_types)
3134         (persist_stream_no_load): test ::getContentTypes and ::save
3135         implementation in GPdfPersistStream.
3136
3137 2003-05-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3138
3139         * gpdf/xpdf/tests/test-pdf-loading.cc: new test.
3140
3141         * gpdf/xpdf/tests/Makefile.am (TESTS_NEEDING_PDFTEX): add
3142         test-pdf-loading.
3143
3144         * gpdf/xpdf/Makefile.am (libgpdf_a_SOURCES): move more files to the lib.
3145
3146         * gpdf/xpdf/gpdf-persist-stream.cc (gpdf_persist_stream_get_length):
3147         kill.
3148         (gpdf_persist_stream_delete_doc_and_stream): rename from
3149         delete_pdf_doc_full, simplify.
3150         (load_pdf_from_stream): make priv->pdf_stream local to this method,
3151         kill redundant test for catalog.
3152
3153         * gpdf/xpdf/gpdf-persist-stream.h (gpdf_persist_stream_get_length):
3154         kill.
3155
3156         * gpdf/xpdf/gpdf-control.cc (verb_FileProperties_cb): remove file size
3157         argument.
3158
3159         * gpdf/xpdf/nautilus-pdf-property-page.cc
3160         (gpdf_nautilus_property_page_set_uri): ditto.
3161
3162         * gpdf/xpdf/pdf-info-dict-util.cc (pdf_doc_process_properties): kill
3163         file size parameter.
3164
3165         * gpdf/xpdf/pdf-info-dict-util.h: ditto.
3166
3167         * gpdf/xpdf/pdf-properties-display.c: kill traces of the file size
3168         label.
3169
3170 2003-05-25  Jaka Mocnik  <jaka@gnu.org>
3171
3172         * ggv/README: added some content ;)
3173         * ggv/bonobo/ggv-control.c (ggv_control_key_press_event): explicitly queue
3174         the scrollbar for redraw when doing page wrap.
3175         * ggv/bonobo/ggv-control.c: popup menu on Shift+F10. patch by Padraig
3176         O'Briain.
3177         * ggv/src/gtkgs.c: Execute the wait() system call in a loop
3178         so that it doesn't fail with an interrupted signal which
3179         will result in defunct process. fixes #113058. patch by
3180         Rajkumar Sivasamy.
3181         * ggv/ggv.schemas: improved descriptions. Thanx to menthos for discovering these.
3182
3183 2003-05-24  Jaka Mocnik  <jaka@gnu.org>
3184
3185         * ggv/src/gtkgs.[ch] (gtk_gs_set_available_size): new function to set
3186         the visible size that is available to the widget. used to calculate
3187         zoom-to-fit factor in a better manner.
3188         * ggv/bonobo/ggv-control.c: use the above func whenever widget size
3189         changes.
3190
3191 2003-05-23  Christian Neumair  <chris@gnome-de.org>
3192
3193         * gpdf/shell/gpdf.c: (verb_HelpAbout_cb): Splitted copyright string.
3194
3195 2003-05-20  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3196
3197         * gpdf/xpdf/tests/test-links.cc (link_item_click)
3198         (link_item_enter_leave): more tests
3199
3200         * gpdf/xpdf/gpdf-link-canvas-item.cc (gpdf_link_canvas_item_click)
3201         (gpdf_link_canvas_item_enter, gpdf_link_canvas_item_leave)
3202         (gpdf_link_canvas_item_clicked, gpdf_link_canvas_item_event)
3203         (gpdf_link_canvas_item_set_property)
3204         (gpdf_link_canvas_item_class_init): refactor to make it more
3205         better testable
3206
3207         * gpdf/xpdf/gpdf-link-canvas-item.h: ditto
3208
3209 2003-05-20  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3210
3211         * gpdf/xpdf/gpdf-link-canvas-item.cc
3212         (gpdf_link_canvas_item_mouse_enter)
3213         (gpdf_link_canvas_item_mouse_leave)
3214         (gpdf_link_canvas_item_class_init): add (mouse) enter and leave
3215         signals
3216
3217         * gpdf/xpdf/gpdf-link-canvas-item.h: add signal slots for enter and
3218         leave
3219
3220         * gpdf/xpdf/tests/test-links.cc (link_item_enter_leave): test for the
3221         signals
3222
3223         * gpdf/xpdf/Makefile.am: now the marshallers sources are not shipped
3224         with the dist and correctly build when needed, finally
3225
3226         * gpdf/configure.in: version 0.102.99
3227
3228 2003-05-19  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3229
3230         * gpdf/configure.in: Version 0.102
3231
3232         * gpdf/xpdf/Makefile.am: don't do the DONT_DIST_SOURCE thing, breaks
3233         the distcheck
3234
3235 2003-05-19  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3236
3237         * gpdf/xpdf/gpdf-view.cc (gpdf_view_render_page): properly destroy the
3238         links layer when switching pages
3239
3240 2003-05-19  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3241
3242         * gpdf/xpdf/Makefile.am: don't distribute generated marshallers
3243
3244 2003-05-19  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3245
3246         * gpdf/xpdf/gpdf-links-canvas-layer.cc
3247         (gpdf_links_canvas_layer_dispose): plug leak
3248
3249         * gpdf/xpdf/tests/.cvsignore, test-files/.cvsignore: update
3250
3251         * gpdf/NEWS: update
3252
3253 2003-05-18  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3254
3255         * gpdf/xpdf/tests/test-page-setup.cc, xpdf/tests/test-links.cc:
3256         tests/experiments
3257
3258         * gpdf/xpdf/tests/Makefile.am, xpdf/tests/.cvsignore: infrastructure
3259
3260         * gpdf/xpdf/gpdf-view.h: signal slots for close and quit requests
3261
3262         * gpdf/xpdf/gpdf-view.cc (gpdf_view_link_action_named, link_clicked_cb)
3263         (gpdf_view_class_init): implement some named action links:
3264         NextPage, PrevPage, FirstPage, LastPage, signals for Close and Quit
3265
3266         * gpdf/xpdf/Makefile.am (SUBDIRS): add tests
3267
3268         * gpdf/test-files/simple-links.tex: test file, simple pdf links
3269
3270         * gpdf/test-files/.cvsignore, test-files/Makefile.am: infrastructure
3271
3272         * gpdf/configure.in: check for pdftex (not a hard requirement)
3273         add test-files/Makefile and xpdf/tests/Makefile
3274
3275         * gpdf/NEWS: update
3276
3277         * gpdf/Makefile.am (SUBDIRS): add test-files
3278
3279 2003-05-18  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3280
3281         * gpdf/xpdf/gpdf-view.cc (gpdf_view_motion_notify_event)
3282         (gpdf_view_handle_drag_motion): chain up to parent implementation
3283         of motion-notify, factor out dragging
3284         (gpdf_view_button_press_event): chain up to parent
3285         (gpdf_view_render_page): use GPdfLinksCanvasLayer to draw links
3286         (link_clicked_cb, gpdf_view_link_action_goto): implement simple
3287         GoTo links
3288         (gpdf_view_dispose): unref the links_layer
3289
3290         * gpdf/xpdf/gpdf-persist-stream.cc: store bonoboStream as BaseStream
3291
3292         * gpdf/xpdf/gpdf-marshal.list: add VOID:POINTER
3293
3294         * gpdf/xpdf/gpdf-links-canvas-layer.cc, xpdf/gpdf-links-canvas-layer.h:
3295         new class, links are grouped in such layers
3296
3297         * gpdf/xpdf/gpdf-link-canvas-item.cc, xpdf/gpdf-link-canvas-item.h: new
3298         class, representing links in the GPdfView
3299
3300         * gpdf/xpdf/Makefile.am: move away from $common_sources to convenience
3301         libraries, add gpdf-link-canvas-item.{cc,h},
3302         gpdf-links-canvas-layer.{cc,h}
3303
3304         * gpdf/xpdf/BonoboStream.cc (bfread, bfseek): fix debug messages
3305
3306 2003-05-18  Danilo Šegan  <dsegan@gmx.net>
3307
3308         * ggv/configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
3309
3310 2003-05-17  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3311
3312         * gpdf/lib/recent-files/egg-recent-model.c: update from egg
3313
3314         * gpdf/lib/recent-files/Makefile.am: fix update target
3315
3316         * gpdf/lib/ggv-sidebar/update-from-ggv.sh: fix
3317
3318         * gpdf/lib/ggv-sidebar/ggv-document.c, lib/ggv-sidebar/ggv-document.h:
3319         new interfaces from GGV
3320
3321         * gpdf/lib/ggv-sidebar: update from ggv
3322
3323         * gpdf/lib/ggv-sidebar/Makefile.am: add ggv-document.[ch], fix update
3324         target, define GNOMEICONDIR
3325
3326 2003-05-15  Jaka Mocnik  <jaka@gnu.org>
3327
3328         * ggv/applied a patch from Martin Kretzschmar that decouples GgvSidebar
3329         from GgvPostScriptView via a GgvDocument interface implemented by
3330         GgvPostScriptView.
3331         * ggv/bonobo/ggv-document.[ch]: new - a GgvDocument interface definition.
3332         * ggv/bonobo/ggv-sidebar.[ch], bonobo/ggv-postscript-view.[ch]: use the
3333         new interface instead of directly using GgvPostScriptView in the
3334         sidebar.
3335
3336 2003-05-13  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3337
3338         * gpdf/configure.in: bump version to 0.101.99
3339
3340         * gpdf/xpdf/gpdf-view.cc (setup_page_transform, gpdf_view_render_page):
3341         respect offsets from a page's CropBox/MediaBox (fixes second part
3342         of Bug #112884).
3343
3344 2003-05-10  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3345
3346         I'll elaborate a bit on the last change
3347
3348         * ggv/bonobo/ggv-document.h, bonobo/ggv-document.c: new interface with
3349         methods ggv_document_get_page_count and
3350         ggv_document_get_page_names
3351
3352         * ggv/bonobo/ggv-sidebar.c (ggv_sidebar_class_init)
3353         (page_list_selection_changed, ggv_sidebar_create_page_list)
3354         (ggv_sidebar_construct, ggv_sidebar_new): don't depend on
3355         GgvPostScriptView but on the GgvDocument interface; emit a
3356         set_page signal instead of calling ggv_postscript_view_goto_page
3357
3358         * ggv/bonobo/ggv-sidebar.h: ditto
3359
3360         * ggv/bonobo/ggv-postscript-view.h:
3361         (ggv_postscript_view_get_page_count)
3362         (ggv_postscript_view_get_page_names): no longer public
3363
3364         * ggv/bonobo/ggv-postscript-view.c (notify_page_count_change)
3365         (load_ps, ggv_postscript_view_create_ui):
3366         s/ggv_postscript_view_get_page_count/ggv_document_get_page_count/
3367         (ggv_postscript_view_get_type): expand BONOBO_TYPE_FUNC_FULL, add
3368         interface implementation stuff
3369         (ggv_document_interface_init): new, interface foo
3370         (ggv_postscript_view_get_page_count)
3371         (ggv_postscript_view_get_page_names): make static, now they serve
3372         only as implementation of the respective ggv_document:: methods
3373         (ggv_postscript_view_construct, sidebar_set_page): goto_page on
3374         set_page signal from sidebar
3375
3376         * ggv/bonobo/ggv-control.c (ggv_control_create_ui):
3377         s/ggv_postscript_view_get_page_count/ggv_document_get_page_count/
3378
3379         * ggv/bonobo/Makefile.am (ggv_postscript_viewer_SOURCES): add
3380         ggv-document.[ch] to the build
3381
3382 2003-05-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3383
3384         * gpdf/lib/ggv-sidebar/update-from-ggv.sh,
3385         lib/ggv-sidebar/gtkchecklist.h, lib/ggv-sidebar/gtkchecklist.c,
3386         lib/ggv-sidebar/ggv-sidebar.h, lib/ggv-sidebar/ggv-sidebar.c,
3387         lib/ggv-sidebar/config.h, lib/ggv-sidebar/Makefile.am,
3388         lib/ggv-sidebar/.cvsignore, lib/ggv-sidebar: sidebar code from
3389         ggv, no changes allowed here, is not in the build yet, only
3390         checked in for convenient diffing.
3391
3392 2003-05-09  Christian Neumair  <chris@gnome-de.org>
3393
3394         * ggv/ggv.schemas.in: s/postscript/PostScript/.
3395
3396 2003-05-08  Christian Neumair  <chris@gnome-de.org>
3397
3398         * ggv/ggv.schemas.in: Fixed two tiny typos.
3399
3400 2003-05-06  Danilo Šegan  <dsegan@gmx.net>
3401
3402         * gpdf/configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
3403
3404 2003-05-04  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3405
3406         * gpdf/NEWS, configure.in: Version 0.101
3407
3408 2003-05-03  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3409
3410         * gpdf/xpdf/gpdf-g-switch.h: add GMutex,
3411
3412         * gpdf/shell/gpdf.c (gpdf_window_new): s/gtk_type_new/g_object_new/,
3413         use construction time properties
3414         (gw_setup_window): kill (replaced by constr. time props)
3415         (gpdf_window_construct): don't call gw_setup_window
3416         (gw_add_control_to_ui, gpdf_window_open): more simplifications due
3417         to BonoboWidget
3418         (gw_activate_control): ditto -> kill
3419         (gw_control_load_pdf, bonobo_stream_for_uri): extract the latter
3420         from the former
3421         (gw_setup_local_contents, gw_setup_toplevel_ui)
3422         (gw_setup_recent_menu, gw_setup_recent_toolitem): slot and
3423         ui_component moved to priv
3424
3425         * gpdf/shell/gpdf-window.h (struct _GPdfWindow): move away remaining
3426         public fields
3427
3428 2003-05-03  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3429
3430         * gpdf/xpdf/pdf-info-dict-util.cc (pdf_info_dict_get_date): don't hand
3431         out invalid times; work around Distiller 3.0 y2k bug.
3432
3433 2003-05-03  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3434
3435         * gpdf/xpdf/gpdf-view.cc (gpdf_view_key_press_event): really set
3436         do_scroll when we want to scroll; on PageUp/Down move by whole
3437         pages instead of screenfuls, leave Backspace/Space for that (fixes
3438         Bug #112140)
3439
3440 2003-05-02  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3441
3442         * gpdf/shell/gpdf.c:
3443         (gpdf_window_has_contents, gw_add_control_to_ui)
3444         (gw_control_load_pdf, gw_control_load_pdf, gw_destroy)
3445         (gpdf_window_construct): refactor towards using BonoboWidget
3446         (gw_setup_control_frame): kill
3447
3448 2003-05-02  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3449
3450         * gpdf/shell/gpdf.c (gw_control_load_pdf): use a vfs: moniker; check
3451         for exceptions
3452
3453 2003-05-01  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3454
3455         * gpdf/shell/gpdf.c (gw_control_load_pdf): don't free uri
3456
3457 2003-05-01  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3458
3459         * gpdf/shell/tests/test-uri-input.c (setup, tear_down): extract uri
3460         request logging foo from tests
3461         (open_shell_arg, open_shell_arg_relative): new tests
3462
3463         * gpdf/shell/gpdf.c (create_window): use ::open_shell_arg
3464         (gw_control_load_pdf): only accept uris
3465         (gw_ask_for_uri, gw_ask_for_uri, gw_open_dialog):
3466         variable/function renamings
3467
3468         * gpdf/shell/gpdf-uri-input.h (gpdf_uri_input_open_shell_arg): add
3469         prototype
3470
3471         * gpdf/shell/gpdf-uri-input.c (gpdf_uri_input_open_shell_arg): new
3472         function
3473
3474         * gpdf/shell/eel-string.c, shell/eel-string.h,
3475         shell/eel-vfs-extensions.c, shell/eel-vfs-extensions.h: frome eel
3476
3477         * gpdf/shell/Makefile.am (libgpdfshell_a_SOURCES): add eel-string and
3478         eel-vfs-extensions
3479
3480 2003-05-01  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3481
3482         * gpdf/xpdf/pdf-info-dict-util.cc (pdf_info_dict_get_string): kill
3483         unused variable
3484
3485         * gpdf/xpdf/gpdf-view.cc (gpdf_view_construct): kill unused variables
3486
3487         * gpdf/xpdf/gpdf-control.cc (gc_zoom_to_fit_width_cb): kill (unused)
3488         (gc_ui_set_pixbufs): kill unused variables
3489
3490         * gpdf/shell/tests/test-uri-input.c: include headers for exit, strcmp
3491
3492         * gpdf/lib/recent-files/Makefile.am (INCLUDES): fix distcheck
3493
3494         * gpdf/gpdf.desktop.in (Icon): use the icon for pdf documents until we
3495         have a nice gpdf icon
3496
3497         * gpdf/NEWS: more antinews
3498
3499         * gpdf/Makefile.am (CLEANFILES): more cleaning
3500
3501 2003-04-30  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3502
3503         * gpdf/shell/gpdf-recent-view-toolitem.c: add tooltip to recent files
3504         drop down
3505
3506 2003-04-30  Jaka Mocnik  <jaka@gnu.org>
3507
3508         * ggv/src/ggv-prefs-ui.[ch] (struct _GgvPrefsDialog): removed ok, cancel
3509         and apply members and all code related to them!
3510
3511 2003-04-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3512
3513         * gpdf/shell/gpdf.c (menu_position_under_widget)
3514         (open_button_pressed_cb, open_button_key_pressed_cb)
3515         (gw_setup_recent_tool_item, gw_setup_recent_toolitem): factored
3516         out the toolitem with the recent files list
3517
3518         * gpdf/shell/gpdf-recent-view-toolitem.c,
3519         shell/gpdf-recent-view-toolitem.h: new class: button with dropdown
3520         menu of recent files
3521
3522         * gpdf/shell/Makefile.am (libgpdfshell_a_SOURCES): compile
3523         gpdf-recent-view-toolitem.c
3524
3525 2003-04-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3526
3527         Gotta love compiler warnings.
3528
3529         * gpdf/xpdf/pdf-properties-display.c (gpdf_gtk_label_make_bold): make static
3530         (gpdf_properties_display_class_init): install dispose implementation
3531
3532         * gpdf/xpdf/pdf-info-dict-util.cc (pdf_doc_process_properties): format
3533         file size with %ld, not %d
3534
3535         * gpdf/xpdf/page-control.c: #include stdlib.h for strtol
3536
3537         * gpdf/xpdf/gpdf-view.cc (canonical_multiple_of_90): return statement
3538         was missing, I wonder why it worked
3539         (gpdf_view_key_press_event): silence warning
3540         (gpdf_view_key_press_event): ditto
3541
3542         * gpdf/xpdf/GPOutputDev.cc (initBase14Fonts): use guint as array index
3543
3544         * gpdf/xpdf/BonoboStream.cc (bfseek): silence warning
3545
3546         * gpdf/shell/gpdf.c (open_request_logger): don't define if not debugging
3547
3548         * gpdf/shell/gpdf-uri-input.h: add missing prototypes
3549
3550         * gpdf/shell/gpdf-uri-input.c (gpdf_uri_input_open_uri_list): add
3551         missing return type
3552
3553         * gpdf/xpdf/Makefile.am, shell/Makefile.am, configure.in: use maximum
3554         compiler warnings
3555
3556 2003-04-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3557
3558         * gpdf/NEWS: updated.
3559
3560         * gpdf/shell/gpdf.c (gpdf_window_construct, gw_setup_recent_tool_item)
3561         (open_button_key_pressed_cb, open_button_pressed_cb)
3562         (menu_position_under_widget): implement recent files drop-down
3563         tool item (taken from gedit)
3564         (verb_HelpAbout_cb): updated (c)
3565         (gw_setup_recent_menu): renamed from gw_setup_recent_files_ui
3566
3567         * gpdf/shell/gpdf-window-ui.xml: added recent files drop-down control
3568
3569         * gpdf/shell/gpdf-recent-facade.c (gpdf_recent_facade_get_model): added
3570         missing return.
3571
3572 2003-04-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3573
3574         * gpdf/NEWS: added news and anti-news.
3575
3576         * gpdf/xpdf/gpdf-view.cc (gpdf_view_render_page): honor Rotate info
3577         of the page object. Don't set page layout in print config object,
3578         we handle the page format with calls to the canvas.
3579         (setup_page_transform): renamed from setup_upside_down_transform,
3580         take rotation angle argument.
3581         (canonical_multiple_of_90): new function.
3582
3583 2003-04-24  Abel Cheung  <maddog@linux.org.hk>
3584
3585         * ggv/src/ggv-window.c(verb_HelpAbout): Add documenter credits, and
3586           mark more translatable strings.
3587         * ggv/Makefile.am, configure.in, ggv.schemas.in: Make schemas
3588           translatable. Don't shutdown gconfd when installing schemas.
3589
3590 2003-04-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3591
3592         * gpdf/xpdf/Makefile.am (CLEANFILES): rm GNOME_PDF.server.in on clean,
3593         not on distclean (fixes Bug #111404)
3594
3595 2003-04-23  Jaka Mocnik  <jaka@gnu.org>
3596
3597         * ggv/src/ggv-prefs-ui.c: added a prefs entry for PDF->DSC command.
3598         * ggv/src/gtkgs.c (gtk_gs_get_postscript): convert PDF to PS before
3599         printing!
3600         * ggv/src/gsdefaults.[ch], ggv.schemas: added property pdf2dsc that
3601         stores PDF->DSC conversion command.
3602         * ggv/src/gtkgs.c (check_pdf): reverted to the old way of handling PDFs:
3603         create a DSC file and use the original PDF to show it.
3604
3605 2003-04-19  Hasbullah Bin Pit  <sebol@ikhlas.com>
3606
3607         * gpdf/configure.in (ALL_LINGUAS): Added "ms".
3608
3609 2003-04-15  Mike Lei <mike.lei>
3610
3611         * ggv/configure.in: Added Makefile support for l10n help files
3612         * ggv/Add online help files for de es fr it sv ja ko zh_CN zh_TW
3613
3614 2003-04-14  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3615
3616         * gpdf/shell/gpdf.c (main, gw_open_recent_file, gw_destroy)
3617         (gw_setup_recent_files_ui, gpdf_window_construct): implement
3618         recent files menu items
3619
3620         * gpdf/shell/gpdf-window-ui.xml: add placeholder for recent files menu
3621         items
3622
3623         * gpdf/shell/gpdf-recent-facade.h (gpdf_recent_facade_get_model): add
3624         prototype, slot for virtual
3625
3626         * gpdf/shell/gpdf-recent-facade.c (gpdf_recent_facade_get_model): new
3627         (gpdf_recent_facade_instance_init): set limit to list of recent
3628         files
3629
3630 2003-04-13  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3631
3632         * gpdf/shell/gpdf.c (no_contents, find_empty_or_create_new_window)
3633         (open_request_handler, open_request_logger): new functions
3634         (create_window, main, gw_control_load_pdf, gw_drag_data_received)
3635         (gw_open_dialog): use GPdfUriInput
3636         (gpdf_window_has_contents): rename from gw_has_contents, no longer
3637         static
3638         (gpdf_window_open): s/gw_has_contents/gpdf_window_has_contents/
3639
3640         * gpdf/shell/gpdf-window.h: add prototype for gpdf_window_has_contents
3641
3642         * gpdf/shell/gpdf-recent-facade.h, shell/gpdf-recent-facade.c,
3643         shell/mock-recent-facade.c: new class, plus a mock of it
3644
3645         * gpdf/shell/gpdf-uri-input.h, shell/gpdf-uri-input.c: new class
3646
3647         * gpdf/shell/tests/test-uri-input.c, shell/tests/Makefile.am: unit
3648         tests for gpdf-uri-input
3649
3650         * gpdf/shell/Makefile.am: add new files, compile them into a
3651         convenience library for testing, link gpdf with that lib and with
3652         recent files stuff
3653
3654         * gpdf/lib/recent-files: copy of egg recent files stuff
3655
3656         * gpdf/lib, lib/unit-test.h, lib/Makefile.am, lib/.cvsignore: new
3657
3658         * gpdf/xpdf/GPOutputDev.cc (getFontFaceEmbedded): fix bad C++, detected
3659         by Sun compilers. Thanks to Rich Burridge / Sun (Bug: #110402)
3660
3661         * gpdf/xpdf/gpdf-view.cc (gpdf_view_button_press_event): ditto
3662
3663         * gpdf/xpdf/gpdf-util.h (GPDF_BOILERPLATE): kill, identical with
3664         BONOBO_BOILERPLATE since libbonobo 2.2.1
3665
3666         * gpdf/xpdf/nautilus-pdf-property-page.cc (BONOBO_ARG_GET_STRING):
3667         ditto
3668
3669         * gpdf/configure.in: bumped version to 0.100.99, require libbonobo 2.2.1
3670         generate Makefiles in lib, lib/recent-files, shell/tests
3671
3672         * gpdf/Makefile.am (SUBDIRS): add lib dir
3673
3674         * gpdf/.cvsignore: ignore release tarballs
3675
3676 2003-04-08  Michael Meeks  <michael@ximian.com>
3677
3678         * gpdf/Version 0.100.0
3679
3680 2003-04-07  Jaka Mocnik  <jaka@gnu.org>
3681
3682         * ggv/bonobo/ggv-control.c (ggv_control_key_press_event): don't wrap on
3683         arrow keys - only on space and backspace!
3684         * ggv/src/main.c (create_windows_from_cmdline): fix differentiation
3685         of URIs and local file paths.
3686         * ggv/src/gtkgs.c (gtk_gs_size_allocate): always update adjustments.
3687         (gtk_gs_munge_adjustments): if we zoom mode is fit (width|page)
3688         set corresponding adjustments properly.
3689
3690 2003-04-06  Jaka Mocnik  <jaka@gnu.org>
3691
3692         * ggv/merged from gnome-2-2 branch - the instant-apply patch.
3693         * src/main.c (main): save geometry upon exit.
3694         * src/ggv-prefs-ui.c: made prefs dialog instant apply.
3695         * src/ggv-prefs.[ch] (ggv_prefs_save): removed.
3696         * src/gsdefaults.[ch] (gtk_gs_defaults_save): removed. moved gconf
3697         operation to gtk_gs_defaults_set_*() functions.
3698         * bonobo/ggv-postscript-view.c (verb_FileSaveMarked): warn even when
3699         overwriting an empty file.
3700
3701 2003-04-05  Samúel Jón Gunnarsson  <sammi@techattack.nu>
3702
3703         * gpdf/configure.in:  Added "is" in ALL_LINGUAS
3704
3705 2003-04-03  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
3706
3707         * gpdf/xpdf/Makefile.am (ui_DATA): no need for
3708         bonobo-application-x-pdf-ui.xml.
3709
3710 2003-04-03  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
3711
3712         * gpdf/xpdf/GPOutputDev.cc (getFontFaceEmbedded): use
3713         getFontFaceFallback
3714
3715         * gpdf/xpdf/page-control.c (gpdf_page_control_setup_tooltips): fix
3716         tooltip string.
3717         (gpdf_page_control_setup_tooltips): ref the tooltips object
3718
3719         * gpdf/xpdf/gpdf-properties-dialog.glade, xpdf/pdf-properties-display.c
3720         (gpdf_properties_display_set_property): disable file size label.
3721
3722 2003-04-03  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
3723
3724         * gpdf/xpdf/page-control.c (gpdf_page_control_instance_init)
3725         (gpdf_page_control_setup_tooltips, gpdf_page_control_class_init)
3726         (gpdf_page_control_destroy): add tooltips to the widget
3727
3728         * gpdf/xpdf/pdf-info-dict-util.cc: there are PDFs without
3729         info-dictionary (e.g. OpenOffice.org's), don't crash on them
3730
3731         * gpdf/Makefile.am (EXTRA_DIST): distribute gpdf.applications
3732
3733 2003-04-02  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
3734
3735         * gpdf/gpdf.applications: add
3736
3737         * gpdf/Makefile.am install gpdf.applications
3738
3739         * gpdf/gpdf.keys.in: update.
3740
3741         * gpdf/goo/Makefile.am, shell/Makefile.am, xpdf/Makefile.am: add
3742         top_srcdir to include path for aconf2.h.
3743
3744         * gpdf/goo/Makefile.am, xpdf/Makefile.am: rename libgoo.a to libGoo.a
3745         for consistency with Xpdf, don't install this library;
3746         makefile.w32 is no more.
3747
3748         * gpdf/README: added note that this does not describe the GNOME version.
3749
3750         * gpdf/Makefile.am: don't distribute README.CVS, ANNOUNCE,
3751         makefile.w32, distribute aconf2.h.
3752
3753         * gpdf/CHANGES: added reference to ChangeLog and NEWS.
3754
3755         * gpdf/AUTHORS, NEWS: updated.
3756
3757         * gpdf/configure.in: add bugzilla url to AC_INIT.
3758
3759         * gpdf/xpdf/gpdf-view.cc, xpdf/gpdf-persist-stream.cc,
3760         xpdf/gpdf-control.cc, xpdf/GPOutputDev.cc: consistently wrap debug
3761         messages.
3762
3763 2003-04-02  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
3764
3765         * gpdf/configure.in: added tests from Xpdf's configure.in
3766
3767         * gpdf/CHANGES: added note that this describes only Xpdf upstream
3768         changes
3769
3770 2003-04-01  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3771
3772         Merge with Xpdf 2.01 and make it build
3773
3774         * gpdf/ANNOUNCE, CHANGES, README, aconf-win32.h: update
3775
3776         * gpdf/xpdf/CharCodeToUnicode.cc, xpdf/Decrypt.cc, xpdf/FTFont.cc,
3777         xpdf/FTFont.h, xpdf/FontEncodingTables.cc, xpdf/Gfx.cc,
3778         xpdf/GfxFont.cc, xpdf/GfxState.cc, xpdf/GfxState.h,
3779         xpdf/GlobalParams.cc, xpdf/GlobalParams.h, xpdf/Link.cc,
3780         xpdf/NameToUnicodeTable.h, xpdf/Stream.cc, xpdf/TextOutputDev.cc,
3781         xpdf/TextOutputDev.h, xpdf/XOutputDev.cc, xpdf/config.h,
3782         xpdf/pdftotext.cc, xpdf/xpdf.cc, xpdf/Outline.cc, xpdf/XPDFApp.cc,
3783         xpdf/XPDFApp.h, xpdf/XPDFCore.cc, xpdf/XPDFCore.h,
3784         xpdf/XPDFViewer.cc, xpdf/XPDFViewer.h: update.
3785
3786         * gpdf/goo/GMutex.h: new file
3787
3788         * gpdf/goo/gfile.cc: update.
3789
3790         * gpdf/goo/Makefile.am: use GMutex.h
3791
3792         * gpdf/doc/pdffonts.1, doc/pdffonts.cat, doc/pdfimages.1,
3793         doc/pdfimages.cat, doc/pdfinfo.1, doc/pdfinfo.cat, doc/pdftopbm.1,
3794         doc/pdftopbm.cat, doc/pdftops.1, doc/pdftops.cat, doc/pdftotext.1,
3795         doc/pdftotext.cat, doc/pdftotext.hlp, doc/xpdf.1, doc/xpdf.cat,
3796         doc/xpdf.hlp, doc/xpdfrc.5, doc/xpdfrc.cat, doc/xpdfrc.hlp: update
3797
3798 2003-04-01  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
3799
3800         Merge with Xpdf 2.02 and make it build
3801
3802         * gpdf/aconf2.h, aconf-dj.h, aconf-win32.h, ANNOUNCE, CHANGES, README,
3803         vms_make.com: update.
3804
3805         * gpdf/xpdf/about-text.h, xpdf/Annot.cc, xpdf/Annot.h, xpdf/Array.cc,
3806         xpdf/Array.h, xpdf/BuiltinFont.cc, xpdf/BuiltinFont.h,
3807         xpdf/BuiltinFontTables.cc, xpdf/BuiltinFontTables.h,
3808         xpdf/Catalog.cc, xpdf/Catalog.h, xpdf/CharCodeToUnicode.cc,
3809         xpdf/CharCodeToUnicode.h, xpdf/CharTypes.h, xpdf/CMap.cc,
3810         xpdf/CMap.h, xpdf/CompactFontTables.h, xpdf/config.h,
3811         xpdf/Decrypt.cc, xpdf/Decrypt.h, xpdf/Dict.cc, xpdf/Dict.h,
3812         xpdf/DisplayFontTable.h, xpdf/Error.cc, xpdf/ErrorCodes.h,
3813         xpdf/Error.h, xpdf/FontEncodingTables.cc,
3814         xpdf/FontEncodingTables.h, xpdf/FontFile.cc, xpdf/FontFile.h,
3815         xpdf/FTFont.cc, xpdf/FTFont.h, xpdf/Function.cc, xpdf/Function.h,
3816         xpdf/Gfx.cc, xpdf/GfxFont.cc, xpdf/GfxFont.h, xpdf/Gfx.h,
3817         xpdf/GfxState.cc, xpdf/GfxState.h, xpdf/GlobalParams.cc,
3818         xpdf/GlobalParams.h, xpdf/ImageOutputDev.cc,
3819         xpdf/ImageOutputDev.h, xpdf/JBIG2Stream.cc, xpdf/JBIG2Stream.h,
3820         xpdf/Lexer.cc, xpdf/Lexer.h, xpdf/Link.cc, xpdf/Link.h,
3821         xpdf/NameToCharCode.cc, xpdf/NameToCharCode.h,
3822         xpdf/NameToUnicodeTable.h, xpdf/Object.cc, xpdf/Object.h,
3823         xpdf/Outline.cc, xpdf/Outline.h, xpdf/OutputDev.cc,
3824         xpdf/OutputDev.h, xpdf/Page.cc, xpdf/Page.h, xpdf/Parser.cc,
3825         xpdf/Parser.h, xpdf/PBMOutputDev.cc, xpdf/PBMOutputDev.h,
3826         xpdf/PDFDoc.cc, xpdf/PDFDocEncoding.cc, xpdf/PDFDocEncoding.h,
3827         xpdf/PDFDoc.h, xpdf/pdffonts.cc, xpdf/pdfimages.cc,
3828         xpdf/pdfinfo.cc, xpdf/pdftopbm.cc, xpdf/pdftops.cc,
3829         xpdf/pdftotext.cc, xpdf/PSOutputDev.cc, xpdf/PSOutputDev.h,
3830         xpdf/PSTokenizer.cc, xpdf/PSTokenizer.h, xpdf/SFont.cc,
3831         xpdf/SFont.h, xpdf/Stream.cc, xpdf/Stream-CCITT.h, xpdf/Stream.h,
3832         xpdf/T1Font.cc, xpdf/T1Font.h, xpdf/TextOutputDev.cc,
3833         xpdf/TextOutputDev.h, xpdf/TTFont.cc, xpdf/TTFont.h,
3834         xpdf/UnicodeMap.cc, xpdf/UnicodeMap.h, xpdf/UnicodeMapTables.h,
3835         xpdf/UTF8.h, xpdf/vms_make.com, xpdf/XOutputDev.cc,
3836         xpdf/XOutputDev.h, xpdf/XPDFApp.cc, xpdf/XPDFApp.h, xpdf/xpdf.cc,
3837         xpdf/XPDFCore.cc, xpdf/XPDFCore.h, xpdf/XPDFTree.cc,
3838         xpdf/XPDFTree.h, xpdf/XPDFTreeP.h, xpdf/XPDFViewer.cc,
3839         xpdf/XPDFViewer.h, xpdf/XPixmapOutputDev.cc,
3840         xpdf/XPixmapOutputDev.h, xpdf/XRef.cc, xpdf/XRef.h: update
3841
3842         * gpdf/goo/gfile.cc, goo/gfile.h, goo/GHash.cc, goo/GHash.h,
3843         goo/GList.cc, goo/GList.h, goo/gmem.c, goo/gmem.h, goo/gmempp.cc,
3844         goo/GMutex.h, goo/GString.cc, goo/GString.h, goo/gtypes.h,
3845         goo/parseargs.c, goo/parseargs.h, goo/vms_make.com: update.
3846
3847         * gpdf/doc/pdffonts.1, doc/pdffonts.cat, doc/pdffonts.hlp,
3848         doc/pdfimages.1, doc/pdfimages.cat, doc/pdfimages.hlp,
3849         doc/pdfinfo.1, doc/pdfinfo.cat, doc/pdfinfo.hlp, doc/pdftopbm.1,
3850         doc/pdftopbm.cat, doc/pdftopbm.hlp, doc/pdftops.1,
3851         doc/pdftops.cat, doc/pdftops.hlp, doc/pdftotext.1,
3852         doc/pdftotext.cat, doc/pdftotext.hlp, doc/xpdf.1, doc/xpdf.cat,
3853         doc/xpdf.hlp, doc/xpdfrc.5, doc/xpdfrc.cat, doc/xpdfrc.hlp:
3854         update.
3855
3856 2003-03-31  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3857
3858         Merge with Xpdf 2.00 and make it build
3859
3860         * gpdf/xpdf/Makefile.am: kill traces of ltk, incorporate new sources
3861
3862         * gpdf/Makefile.am, configure.in: don't build the ltk subdir
3863
3864         * gpdf/ANNOUNCE, CHANGES, ChangeLog, README, aconf-dj.h, aconf-win32.h,
3865         dj_make.bat, ms_make.bat, vms_make.com: update
3866
3867         * gpdf/xpdf/LTKOutputDev.cc, xpdf/LTKOutputDev.h, xpdf/postscript.xbm,
3868         xpdf/xpdf-flip.ltk, xpdf/xpdf-ltk.h, xpdf/xpdf-top.ltk,
3869         xpdf/xpdf.ltk: remove.
3870
3871         * gpdf/xpdf/Annot.cc, xpdf/Annot.h, xpdf/Array.cc, xpdf/Array.h,
3872         xpdf/BuiltinFont.cc, xpdf/BuiltinFont.h,
3873         xpdf/BuiltinFontTables.cc, xpdf/CMap.cc, xpdf/CMap.h,
3874         xpdf/Catalog.cc, xpdf/Catalog.h, xpdf/CharCodeToUnicode.cc,
3875         xpdf/CharCodeToUnicode.h, xpdf/Decrypt.cc, xpdf/Decrypt.h,
3876         xpdf/Dict.cc, xpdf/Dict.h, xpdf/Error.cc, xpdf/Error.h,
3877         xpdf/FTFont.cc, xpdf/FTFont.h, xpdf/FontFile.cc, xpdf/FontFile.h,
3878         xpdf/Function.cc, xpdf/Function.h, xpdf/Gfx.cc, xpdf/Gfx.h,
3879         xpdf/GfxFont.cc, xpdf/GfxFont.h, xpdf/GfxState.cc,
3880         xpdf/GfxState.h, xpdf/GlobalParams.cc, xpdf/GlobalParams.h,
3881         xpdf/ImageOutputDev.cc, xpdf/ImageOutputDev.h, xpdf/Lexer.cc,
3882         xpdf/Lexer.h, xpdf/Link.cc, xpdf/Link.h, xpdf/NameToCharCode.cc,
3883         xpdf/NameToCharCode.h, xpdf/NameToUnicodeTable.h, xpdf/Object.cc,
3884         xpdf/Object.h, xpdf/OutputDev.cc, xpdf/OutputDev.h,
3885         xpdf/PBMOutputDev.cc, xpdf/PBMOutputDev.h, xpdf/PDFDoc.cc,
3886         xpdf/PDFDoc.h, xpdf/PSOutputDev.cc, xpdf/PSOutputDev.h,
3887         xpdf/PSTokenizer.cc, xpdf/PSTokenizer.h, xpdf/Page.cc,
3888         xpdf/Page.h, xpdf/Parser.cc, xpdf/Parser.h, xpdf/SFont.cc,
3889         xpdf/SFont.h, xpdf/Stream.cc, xpdf/Stream.h, xpdf/T1Font.cc,
3890         xpdf/T1Font.h, xpdf/TTFont.cc, xpdf/TTFont.h,
3891         xpdf/TextOutputDev.cc, xpdf/TextOutputDev.h, xpdf/UnicodeMap.cc,
3892         xpdf/UnicodeMap.h, xpdf/XOutputDev.cc, xpdf/XOutputDev.h,
3893         xpdf/XRef.cc, xpdf/XRef.h, xpdf/config.h, xpdf/pdffonts.cc,
3894         xpdf/pdfimages.cc, xpdf/pdfinfo.cc, xpdf/pdftopbm.cc,
3895         xpdf/pdftops.cc, xpdf/pdftotext.cc, xpdf/vms_make.com,
3896         xpdf/xpdf.cc: update.
3897
3898         * gpdf/goo/GHash.cc, goo/GHash.h, goo/GList.cc, goo/GList.h,
3899         goo/GString.cc, goo/GString.h: mostly Mac OS X gcc fixage.
3900
3901         * gpdf/doc/pdffonts.1, doc/pdffonts.cat, doc/pdffonts.hlp,
3902         doc/pdfimages.1, doc/pdfimages.cat, doc/pdfimages.hlp,
3903         doc/pdfinfo.1, doc/pdfinfo.cat, doc/pdfinfo.hlp, doc/pdftopbm.1,
3904         doc/pdftopbm.cat, doc/pdftopbm.hlp, doc/pdftops.1,
3905         doc/pdftops.cat, doc/pdftops.hlp, doc/pdftotext.1,
3906         doc/pdftotext.cat, doc/pdftotext.hlp, doc/xpdf.1, doc/xpdf.cat,
3907         doc/xpdf.hlp, doc/xpdfrc.5, doc/xpdfrc.cat, doc/xpdfrc.hlp:
3908         update docs.
3909
3910         * gpdf/ltk: remove this directory, Xpdf has switched to Lesstif.
3911
3912         * gpdf/aconf2.h, xpdf/JBIG2Stream.cc, xpdf/JBIG2Stream.h,
3913         xpdf/Outline.cc, xpdf/Outline.h, xpdf/PDFDocEncoding.cc,
3914         xpdf/PDFDocEncoding.h, xpdf/XPDFApp.cc, xpdf/XPDFApp.h,
3915         xpdf/XPDFCore.cc, xpdf/XPDFCore.h, xpdf/XPDFTree.cc,
3916         xpdf/XPDFTree.h, xpdf/XPDFTreeP.h, xpdf/XPDFViewer.cc,
3917         xpdf/XPDFViewer.h, xpdf/XPixmapOutputDev.cc,
3918         xpdf/XPixmapOutputDev.h, xpdf/about-text.h, xpdf/backArrowDis.xbm,
3919         xpdf/dblLeftArrowDis.xbm, xpdf/dblRightArrowDis.xbm,
3920         xpdf/findDis.xbm, xpdf/forwardArrowDis.xbm, xpdf/leftArrowDis.xbm,
3921         xpdf/print.xbm, xpdf/printDis.xbm, xpdf/rightArrowDis.xbm: new
3922         files.
3923
3924 2003-03-31  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3925
3926         * gpdf/xpdf/zoomOut.xbm, xpdf/zoomIn.xbm, xpdf/makefile.w32,
3927         xpdf/Makefile.in, goo/makefile.w32, makefile.w32: remove, they are
3928         neither in Xpdf 1.01 nor necessary for GPdf
3929
3930 2003-03-13  Christian Rose  <menthos@menthos.com>
3931
3932         * ggv/configure.in: Added "ml" to ALL_LINGUAS.
3933
3934 2003-03-11  Paul Duffy  <dubhthach@frink.nuigalway.ie>
3935
3936         * gpdf/configure.in: Added Irish (ga) to ALL_LINGUAS
3937
3938 2003-03-07  Irene Ryan <irene.ryan@sun.com>
3939
3940         * ggv/help/C/ggv.xml, ggv-C.omf: updated the help to reflect changes in
3941           V1.99.98 of the application
3942         * ggv/help/C/l10n.txt: added to the instructions for L10N teams translating
3943           the help
3944         * ggv/help/C/figures/ggv_window.png: updated screenshot of the application
3945           for the help
3946
3947 2003-03-04  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3948
3949         * gpdf/xpdf/GPOutputDev.cc: undo accidental commit (thanks for telling
3950         me, Ross)
3951
3952 2003-03-04  Jaka Mocnik  <jaka@gnu.org>
3953
3954         * ggv/src/gsdefaults.c (gtk_gs_defaults_changed): fixed a typo:
3955         int->float.
3956         * ggv/src/gtkgs.c (set_up_page): use HAVE_LOCALE_H instead of
3957         HAVE_SETLOCALE.
3958
3959 2003-03-03  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3960
3961         * gpdf/xpdf/gpdf-control.cc, xpdf/nautilus-pdf-property-page.cc:
3962         extract common pdf properties code:
3963
3964         * gpdf/xpdf/pdf-info-dict-util.cc, xpdf/pdf-info-dict-util.h: the
3965         common code.
3966
3967         * gpdf/xpdf/Makefile.am: compile pdf-info-dict-util.{cc,h}.
3968
3969         * gpdf/xpdf/gpdf-control.cc (verb_FileProperties_cb): make the dialog
3970         transient for the control's parent.
3971
3972 2003-03-03  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3973
3974         * gpdf/xpdf/nautilus-pdf-property-page.cc
3975         (gpdf_nautilus_property_page_set_uri): plug leaks
3976
3977 2003-03-02  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3978
3979         * gpdf/xpdf/nautilus-pdf-property-page.cc,
3980         xpdf/nautilus-pdf-property-page.h: new class, just what the name
3981         says, uses GnomeVFSStream for loading PDFDocs.
3982
3983         * gpdf/xpdf/GnomeVFSStream.cc, xpdf/GnomeVFSStream.h: BaseStream
3984         implementation based on (synchronous) gnome-vfs calls.
3985
3986         * gpdf/xpdf/BonoboStream.cc, xpdf/BonoboStream.h: coding style fixage,
3987         include only what's needed.
3988
3989         * gpdf/xpdf/Makefile.am (gnome_pdf_viewer_SOURCES): also compile
3990         GnomeVFSStream.{cc,h}, nautilus-pdf-property-page.{cc,h}
3991
3992         * gpdf/xpdf/GNOME_PDF.server.in.in: add stanza for the Property Page.
3993
3994         * gpdf/xpdf/bonobo-application-x-pdf.cc: clean up a bit
3995         (gpdf_factory): now we produce the Property Page, too.
3996
3997         * gpdf/xpdf/gpdf-control.cc: include time.h for strftime, mktime.
3998
3999 2003-03-01  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4000
4001         I've run intltool-prepare to make the desktop file translatable
4002
4003         * gpdf/gpdf.desktop.in: added
4004
4005         * gpdf/gpdf.desktop: removed
4006
4007         * gpdf/Makefile.am: make gpdf.desktop from gpdf.desktop.in
4008
4009         * gpdf/.cvsignore: ignore gpdf.desktop
4010
4011 2003-02-28  Kaushal Kumar  <kaushal.kumar@wipro.com>
4012
4013         * ggv/src/ggv-file-sel.c (ggv_file_sel_ok_clicked): Click on 'OK' should
4014         not close File Open dialog if selection field is blank/null.
4015         Fixes bug #107241.
4016
4017 2003-02-27  Jaka Mocnik  <jaka@gnu.org>
4018
4019         * ggv/bonobo/ggv-control.c: disable zoom items when auto fit mode is
4020         selected.
4021
4022 2003-02-26  Ross Burton  <ross@burtonini.com>
4023
4024         * gpdf/gpdf.desktop: Fix so that it validates.
4025
4026         * gpdf/Makefile.am: Install the .desktop file into the correct
4027         folder. Also remove intltool-*, which are generated.
4028
4029 2003-02-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4030
4031         * gpdf/xpdf/pdf-properties-display.c
4032         (gpdf_properties_display_setup_glade): get glade file from its
4033         installed location. Martin, repeat after me: I Will Test The
4034         Installed Program.
4035
4036         * gpdf/xpdf/Makefile.am: Added the Glade file to the dist. (Originally
4037         by Ross, thanks)
4038
4039 2003-02-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4040
4041         * gpdf/xpdf/pdf-properties-display.c, xpdf/pdf-properties-display.h,
4042         xpdf/gpdf-properties-dialog.glade:
4043         new widget: table with labels displaying properties of PDFs
4044
4045         * gpdf/xpdf/gpdf-control.cc (has_unicode_marker)
4046         (utf16_big_endian_to_utf8, info_dict_get_string)
4047         (info_dict_get_date, gpdf_control_process_string_property)
4048         (gpdf_control_process_date_property)
4049         (gpdf_control_process_properties)
4050         (gpdf_control_properties_dialog_response_cb)
4051         (verb_FileProperties_cb): new: a PDF properties command
4052
4053         * gpdf/xpdf/Makefile.am: build pdf-properties-display.[ch], install
4054         glade file
4055
4056         * gpdf/xpdf/.cvsignore: ignore gpdf-properties-dialog.gladep
4057
4058         * gpdf/xpdf/gpdf-persist-stream.h, xpdf/gpdf-persist-stream.cc
4059         (gpdf_persist_stream_get_length): new function
4060
4061         * gpdf/xpdf/gpdf-control-ui.xml: add FileProperties command and menu
4062         item inside a "File Items Placeholder"
4063
4064         * gpdf/shell/gpdf-window-ui.xml: add "File Items Placeholder"
4065
4066         * gpdf/configure.in: check for libglade-2.0
4067
4068         * gpdf/Makefile.am (EXTRA_DIST): don't dist gpdf.mime
4069
4070         * gpdf/xpdf/PDFDoc.cc, xpdf/Function.cc, xpdf/FontFile.cc,
4071         goo/parseargs.c: call atof only in the "C" locale
4072
4073 2003-02-21  Roozbeh Pournader  <roozbeh@sharif.edu>
4074
4075         * ggv/configure.in: Added "fa" to ALL_LINGUAS.
4076
4077 2003-02-21  Paisa Seeluangsawat  <paisa@colorado.edu>
4078
4079         * ggv/configure.in (ALL_LINGUAS): Added "th".
4080
4081 2003-02-21  Jaka Mocnik  <jaka@gnu.org>
4082
4083         * ggv/src/ggv-window.c (ggv_window_remove_control): remove control
4084         from the control frame.
4085         (ggv_window_load): resolve the loaded uri to a desired bonobo
4086         object. this allows for easy integration of gpdf viewer in the
4087         ggv shell.
4088         (ggv_window_new): don't create control here. just reserve a place
4089         for it.
4090
4091 2003-02-20  Naba Kumar  <naba@gnome.org>
4092
4093         * ggv/configure.in, po/hi.po: Added new Hindi translation from
4094         Gnome Hindi Team <indlinux-hindi-gnome@lists.sourceforge.net>
4095         and added hi to ALL_LINGUAS.
4096
4097 2003-02-20  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4098
4099         * gpdf/xpdf/GfxState.cc: Applied a patch to fix buffer overflow (CVE:
4100         CAN-2002-1384, Redhat: RHSA-2003:037-09, Debian: DSA-222)
4101         Reminder by Michael
4102
4103 2003-02-20  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
4104
4105         * gpdf/configure.in: Added Belarusian to ALL_LINGUAS.
4106
4107 2003-02-18  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4108
4109         * gpdf/configure.in: remove GNOME2_X_CHECKS check (currently unused,
4110         will be removed from gnome-common)
4111
4112 2003-02-16  Mohammad DAMT  <mdamt@bisnisweb.com>
4113
4114         * ggv/po/id.po: Added Indonesian translation
4115         * ggv/configure.in: Added "id" to ALL_LINGUAS
4116
4117 2003-02-16  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4118
4119         * gpdf/xpdf/page-control.c, xpdf/page-control.h: show label " of n
4120         pages" next to the text entry
4121         (gpdf_page_control_set_total_pages): new
4122
4123         * gpdf/xpdf/gpdf-control.cc (gc_set_pdf_cb): notify page toolitem
4124         about page-count
4125
4126 2003-02-15  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4127
4128         * gpdf/xpdf/gpdf-view.h, xpdf/gpdf-view.cc (gpdf_view_first_page)
4129         (gpdf_view_last_page): new
4130         (gpdf_view_goto_page): kill #if'ed out debug message
4131
4132         * gpdf/xpdf/gpdf-control.cc (gc_setup_page_control, gc_setup_zoomable)
4133         (gc_setup_view_widgets): move signal connect calls to places where
4134         they belong
4135         (gc_zoom_changed_report_to_zoomable)
4136         (gc_page_changed_update_page_control): renamed from
4137         gc_zoom_changed_cb resp. gc_page_changed_cb
4138         (ui_component_set_sensitive, gc_enable_go_back_verbs)
4139         (gc_enable_go_forward_verbs, gc_page_changed_enable_page_buttons)
4140         (gc_set_ui_container): new, disable some page navigation commands
4141         on first/last page
4142         (gc_set_zoom_items_visibility): do nothing if we can't find a
4143         ui-component (don't g_assert that it's !=NULL)
4144
4145 2003-02-15  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4146
4147         * gpdf/xpdf/gpdf-stock-icons.h, xpdf/gpdf-stock-icons.c: new. register
4148         gpdf-zoom-fit-width stock icon with a GtkIconFactory
4149
4150         * gpdf/xpdf/fitwidth.png: redone in 24x24pix instead of 26x26, based on
4151         gtk's zoom-out stock icon and the original fitwidth.png
4152
4153         * gpdf/xpdf/gpdf-control.cc (gc_set_ui_container): s/gc_set_ui_pixbufs/
4154         gc_ui_set_pixbufs/
4155         (gc_ui_set_pixbufs): rewrite to use stock icon machinery, let it
4156         do the correct scaling
4157
4158         * gpdf/xpdf/bonobo-application-x-pdf.cc (main): init our stock icons
4159
4160         * gpdf/xpdf/Makefile.am (gnome_pdf_viewer_SOURCES): add
4161         gpdf-stock-icons.[ch]
4162
4163 2003-02-15  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4164
4165         * gpdf/xpdf/GPOutputDev.cc (getFontFaceEmbedded): change (disabled)
4166         font embedding code
4167
4168         * gpdf/shell/gpdf.c (gw_setup_window): set window title
4169
4170         * gpdf/xpdf/GNOME_PDF.server.in.in, shell/gpdf.c: s/Gnome/GNOME/ in
4171         strings
4172
4173         * gpdf/xpdf/page-control.c, xpdf/gpdf-view.cc,
4174         xpdf/gpdf-persist-stream.cc: use our own marshallers
4175
4176         * gpdf/configure.in, xpdf/Makefile.am, xpdf/gpdf-marshal.list: check
4177         for and use glib-genmarshal
4178
4179         * gpdf/xpdf/.cvsignore: ignore generated marshallers
4180
4181         * gpdf/xpdf/Makefile.am: clean up server.in, server files
4182
4183         * gpdf/Makefile.am, gpdf.mime: remove gpdf.mime, application/pdf is
4184         provided by gnome-vfs.mime
4185
4186 2003-02-15  Jaka Mocnik  <jaka@gnu.org>
4187
4188         * ggv/configure.in, Makefile.am: applied a patch from Julio Merino
4189         that uses gconf2 AM macros instead of home-brewed code.
4190
4191 2003-02-11  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4192
4193         * gpdf/xpdf/page-control.c (gpdf_page_control_realize): make page
4194         number entry 5 chars wide
4195
4196         * gpdf/xpdf/gpdf-control.cc (gc_setup_page_control): don't set width of
4197         page-control here
4198
4199         * gpdf/xpdf/gpdf-control-ui.xml, xpdf/gpdf-control.cc
4200         (gc_set_ui_pixbufs): scale down Fit Width icon for the View menu
4201
4202 2003-02-11  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4203
4204         * gpdf/xpdf/GPOutputDev.cc (getFontFaceFallback): use the system
4205         aliases for fallback
4206
4207 2003-02-11  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4208
4209         * gpdf/xpdf/gpdf-control.cc (gc_setup_page_control)
4210         (gc_page_changed_cb): handle set_page of the page-control
4211
4212         * gpdf/xpdf/gpdf-view.h: make gpdf_view_goto_page public
4213
4214         * gpdf/xpdf/page-control.c (gpdf_page_control_return_pressed)
4215         (gpdf_page_control_key_press_event, gpdf_page_control_class_init):
4216         add a set_page signal, emit when <RET> is pressed.
4217
4218         * gpdf/xpdf/page-control.h: fix indentation, add set_page signal.
4219
4220 2003-02-10  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4221
4222         * gpdf/xpdf/page-control.c, xpdf/page-control.h: page number entry
4223         widget (for the toolbar)
4224
4225         * gpdf/xpdf/gpdf-control.cc (gc_page_changed_cb)
4226         (gc_ui_add_page_control, gc_setup_page_control): add a
4227         page-control to the toolbar (currently displays page number only)
4228         (gc_set_ui_pixbufs): extracted from gc_set_ui_container
4229         (gc_setup_view_widgets): renamed from gc_setup_widgets
4230
4231         * gpdf/xpdf/gpdf-view.cc, xpdf/gpdf-view.h: add a page_changed signal,
4232         wrap g_signal_emit calls for improved readability
4233
4234         * gpdf/xpdf/Makefile.am (gnome_pdf_viewer_SOURCES): add page-control.c,
4235         page-control.h
4236
4237         * gpdf/xpdf/gpdf-control-ui.xml: add placeholder for page-control
4238
4239 2003-02-09  Christian Rose  <menthos@menthos.com>
4240
4241         * gpdf/configure.in: Added "kn" to ALL_LINGUAS.
4242
4243 2003-02-09  Christian Rose  <menthos@menthos.com>
4244
4245         * ggv/configure.in: Added "kn" to ALL_LINGUAS.
4246
4247 2003-02-04  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4248
4249         * gpdf/xpdf/Makefile.am: fix a comment that prevented definition of
4250         gnome_pdf_viewer_LDADD
4251         Patch by Benjamin Dauvergne <feanor@tol-eressea.org>
4252
4253 2003-02-04  Jaka Mocnik  <jaka@gnu.org>
4254
4255         * ggv/configure.in: 1.99.98. tagged as GGV_1_99_98.
4256         * ggv/bonobo/ggv-postscript-view.c, bonobo/ggv-control.c: flip
4257         pages when using cursor keys to scroll.
4258
4259 2003-01-29  Jaka Mocnik  <jaka@gnu.org>
4260
4261         * ggv/src/ggv-file-sel.c: applied a patch from Satyajit Kanungo to make
4262         the file selector modal.
4263
4264 2003-01-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4265
4266         * gpdf/xpdf/GPOutputDev.cc, xpdf/Makefile.am: disable font embedding
4267         hack introduced on 2002-12-09 to fix build with current,
4268         extra-clean gnome-print
4269
4270 2003-01-21  Christian Rose  <menthos@menthos.com>
4271
4272         * ggv/configure.in: Added "mn" to ALL_LINGUAS.
4273
4274 2003-01-20  Pablo Saratxaga  <pablo@mandrakesoft.com>
4275
4276         * ggv/configure.in: Added Macedonian (mk) to ALL_LINGUAS
4277
4278 2003-01-19  Jaka Mocnik  <jaka@gnu.org>
4279
4280         * ggv/bonobo/ggv-control.c (ggv_control_construct): don't unref the
4281         widget. ps_view needs to hold the reference!
4282         * ggv/src/ps.c (pages_new): fixed a possible buffer overflow.
4283         * ggv/src/gtkgs.c: applied a patch from Satyajit Kanungo that allows
4284         viewing of non-conformant PDFs.
4285
4286 Wed Jan 15 17:51:50 2003  Jonathan Blandford  <jrb@redhat.com>
4287
4288         * ggv/bonobo/ggv-postscript-view.c (ps_view_get_tmp_file): return NULL
4289         in error state instead of just returning.  Fixes a warning.  It
4290         occurs to me that there is no code to handle this being NULL.
4291         mkstemp almost never fails, so this is low priority.
4292
4293 2003-01-07  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4294
4295         * gpdf/xpdf/GPOutputDev.cc: change list of fonts even more to work with
4296         URW fonts on my system FIXME
4297         (~GPOFontMap, startDoc, getFontFaceEmbedded): cache the fonts
4298         extracted from the PDF and downloaded to the print context.
4299         (~GPOutputDev): plug a leak
4300
4301         * gpdf/xpdf/GPOutputDev.h: update class declarations
4302
4303 2003-01-06  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>
4304
4305         * gpdf/configure.in: Added Spanish (es) to ALL_LINGUAS.
4306
4307 2003-01-05  Artis Trops  <hornet@navigator.lv>
4308
4309         * gpdf/configure.in: Added Latvian (lv) to ALL_LINGUAS.
4310
4311 2003-01-03  Roozbeh Pournader  <roozbeh@sharif.edu>
4312
4313         * gpdf/configure.in: Added "fa" (Persian) to ALL_LINGUAS.
4314
4315 2002-12-23  Jaka Mocnik  <jaka@gnu.org>
4316
4317         * ggv/configure.in: bumped version to 1.99.97; tagged as GGV_1_99_97.
4318         * ggv/bonobo/ggv-sidebar.c: fixed a typo causing a mis-cast.
4319         * ggv/src/ggv-window.c: applied a patch from chris at gnome-de dot org
4320         that fixes the copyright string.
4321
4322 2002-12-20  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4323
4324         * gpdf/xpdf/GPOutputDev.cc (GPOFontMap, ~GPOFontMap): add c'tor, d'tor
4325         (initBase14Fonts, getFontFaceBase14, getFontFaceFallback)
4326         (getFontFace): refactor getFontFace, default to URW fonts for Base
4327         14 fonts, keep these font faces in a hash
4328
4329 2002-12-17  Rajkumar Sivasamy  <rajkumar.siva@wipro.com>
4330
4331         * ggv/ggv-prefs-ui.c: Set mnemonics to controls in preferences dialog.
4332         Fixes bug #101434
4333
4334 2002-12-17  Miloslav Trmac  <mitr@volny.cz>
4335
4336         * gpdf/configure.in (ALL_LINGUAS): Add Czech (cs)
4337
4338 2002-12-13  Jaka Mocnik  <jaka@gnu.org>
4339
4340         * ggv/applied patches that add startup notification and priority text
4341         to icons.
4342
4343 2002-12-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4344
4345         * gpdf/fitwidth.png: copy from ggv.
4346
4347         * gpdf/xpdf/Makefile.am, xpdf/gpdf-control-ui.xml, xpdf/gpdf-control.cc
4348         (gc_set_ui_container): use it.
4349
4350         * gpdf/stock-zoom-fit-tall.xpm, stock-zoom-fit-wide.xpm,
4351         stock-zoom-fit.xpm, stock-zoom-in.xpm, stock-zoom-out.xpm: kill
4352         Gnome 1 style pixmaps.
4353
4354 2002-12-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4355
4356         Using the ``nobody is using this code, just break it'' joker: This
4357         adds some kind of support for embedded Type1 fonts.  Doesn't
4358         respect gnome-print's privacy.  No caching of extracted fonts.
4359
4360         * gpdf/xpdf/GPOutputDev.cc (GPOutputDev::startDoc, setPrintContext):
4361         hand through to the font map
4362         (getStreamContents): adapted from glib
4363         (getFontFaceEmbedded): new, uses experimental
4364         gpdf_gnome_print_add_font
4365         (getFontFace): use getFontFaceEmbedded for fonts with embedded
4366         font files
4367
4368         * gpdf/xpdf/GPOutputDev.h: update declarations,
4369         (GPOFontMap::startDoc, setPrintContext): implemented inline
4370
4371         * gpdf/xpdf/gpdf-view.cc (gpdf_view_set_pdf_doc): call startDoc
4372
4373         * gpdf/xpdf/gpdf-gnome-font.h, xpdf/gpdf-gnome-font.c: new files;
4374         hackish implementation of gnome_print_add_font
4375
4376         * gpdf/xpdf/Makefile.am (gnome_pdf_viewer_SOURCES): add
4377         gpdf-gnome-font.[hc]
4378
4379 2002-11-29  Yanko Kaneti <yaneti@declera.com>
4380
4381         * ggv/src/ggv-window.c (ggv_window_load): add a missing prameter to the
4382         g_locale_to_utf8 call from the previous patch. Fixes tinderbox.
4383
4384 2002-11-28  Jaka Mocnik  <jaka@gnu.org>
4385
4386         * ggv/src/ggv-window.c (ggv_window_load): applied a patch from Hidetoshi
4387         Tajima to convert title to utf-8 before setting it.
4388
4389 2002-11-27  Michael Meeks  <michael@ximian.com>
4390
4391         * gpdf/xpdf/gpdf-control.cc,
4392         * gpdf/xpdf/gpdf-view.cc: add math.h includes.
4393
4394 2002-11-27  Jaka Mocnik  <jaka@gnu.org>
4395
4396         * ggv/src/gtkgs.c (gtk_gs_set_page_size): respect bounding box if
4397         requested.
4398         * ggv/bonobo/ggv-control.c (ggv_control_create_ui): set fit width pixbuf
4399         to popup ui component. use smaller pixbufs for menu and popup menu
4400         than for toolbar.
4401         * ggv/bonobo/ggv-postscript-view-ui.xml: removed pixtype="none".
4402
4403 2002-11-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4404
4405         * gpdf/xpdf/GPOutputDev.cc: remove unused includes
4406         (drawImageMask): implement
4407
4408         * gpdf/xpdf/GPOutputDev.h (drawImageMask): uncomment declaration
4409
4410         * gpdf/xpdf/gpdf-persist-stream.cc (load_pdf_from_stream): allow reuse
4411         of a GPdfPersistStream: delete its old contents, go on as usual
4412
4413 2002-11-22  Jaka Mocnik  <jaka@gnu.org>
4414
4415         * ggv/src/gtkgs.c (gtk_gs_goto_page): a fix for bug #85004.
4416         * ggv/src/ggv-prefs-ui.c (ggv_prefs_dialog_new): renamed right-hans side
4417         panel option.
4418         * ggv/src/ggvutils.c: removed zoom factors larger than 6.0 and smaller
4419         than 1.0/6.0.
4420
4421 2002-11-21  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4422
4423         * gpdf/xpdf/gpdf-view.cc (gpdf_view_render_page): kill page parameter,
4424         get it from priv->requested_page, change return type from void to
4425         gboolean for use as idle handler, always return FALSE
4426         (priv): new field requested_page, rename page => current_page
4427         (gpdf_view_goto_page): don't call ::render_page directly,
4428         g_idle_add it instead
4429         (gpdf_view_page_prev, gpdf_view_page_next): interprete prev and
4430         next relative to requested_page
4431         (gpdf_view_key_press_event): s/page/current_page/
4432         (gpdf_view_set_pdf_doc): don't ::render_page, ::goto_page instead
4433
4434 2002-11-19  Jaka Mocnik  <jaka@gnu.org>
4435
4436         * ggv/bonobo/ggv-postscript-view-ui-xml: removed "Override*" commands
4437         and menu items. added "OrientationDocument" and "PaperSizeDoc"
4438         commands and menu items. this allows for single-click setting of
4439         orientation and size.
4440         * ggv/bonobo/ggv-postscript-view.c: support the above changes.
4441         optimized menu syncing.
4442         * ggv/src/gtkgs.[ch]: constification of parameters.
4443         * ggv/src/gtkgs.c, src/ps.c: better handling of page and document
4444         orientations.
4445
4446 2002-11-17  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4447
4448         * gpdf/shell/gpdf.c: include aconf.h before gpdf-window.h to
4449         enable translation of the shell
4450
4451 2002-11-15  Martin Kretzschmar  <mk793652@mail.inf.tu-dresden.de>
4452
4453         * gpdf/configure.in: require libgnomeprint(ui)-2.2
4454
4455 2002-11-15  Jaka Mocnik  <jaka@gnu.org>
4456
4457         * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_create_ui): freeze
4458         UI component _before_ merging UI. this enables us to put sidebar
4459         on the right when opening a window.
4460         * ggv/src/ggv-prefs-ui.c (ggv_prefs_dialog_new): fixed placement of
4461         orientation choice menu.
4462
4463 2002-11-13  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
4464
4465         * ggv/configure.in: Added Belarusian to ALL_LINGUAS.
4466
4467 2002-11-10  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4468
4469         * gpdf/xpdf/gpdf-control.cc (gc_set_zoom_items_visibility)
4470         (ui_component_set_hidden): hide zoom commands if we have a
4471         zoomable frame
4472
4473 2002-11-10  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4474
4475         * gpdf/xpdf/gpdf-control.cc (gc_zoom_changed_cb): report gpdf_view's
4476         changed zoom level to bonobo zoomable
4477         (gc_setup_widgets): install zoom_changed handler
4478
4479         * gpdf/xpdf/gpdf-view.cc (gpdf_view_class_init): install zoom_changed
4480         signal
4481         (gpdf_view_zoom): emit zoom_changed signal
4482
4483         * gpdf/xpdf/gpdf-view.h (GPdfViewClass): add zoom_changed signal slot
4484
4485         * gpdf/configure.in: yacob Added am to ALL_LINGUAS without change log
4486         entry
4487
4488 2002-11-10  Jaka Mocnik  <jaka@gnu.org>
4489
4490         * configure.in: moved version to 1.99.96. tagged as GGV_1_99_96.
4491
4492 2002-11-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4493
4494         * gpdf/xpdf/Makefile.am: don't build pdf_view.o, GOutputDev.o
4495
4496 2002-11-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4497
4498         * gpdf/xpdf/gpdf-control.cc: remove all references to old PdfView class
4499         (preferred_zoom_levels, preferred_zoom_level_names): add more zoom
4500         levels
4501         (gc_zoom_level_from_index): kill
4502         (gpdf_control_zoom_in, gpdf_control_zoom_out)
4503         (gpdf_control_zoom_fit_width, gpdf_control_zoom_fit)
4504         (gpdf_control_zoom_default, gc_zoomable_set_zoom_level_cb):
4505         rewrite using GPdfView methods
4506
4507         * gpdf/xpdf/gpdf-view.cc (gpdf_view_zoom_in, gpdf_view_zoom_fit)
4508         (gpdf_view_zoom_fit_width): implement
4509
4510         * gpdf/xpdf/gpdf-view.h: add zoom function prototypes
4511
4512         * gpdf/xpdf/bonobo-application-x-pdf.cc (main):
4513         * gpdf/shell/gpdf.c (main): s/PACKAGE/GETTEXT_PACKAGE/ in *textdomain
4514         functions
4515
4516         * gpdf/xpdf/Makefile.am, goo/Makefile.am: fix distcheck
4517
4518 2002-11-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4519
4520         * gpdf/xpdf/gpdf-view.cc (gpdf_view_key_press_event): xpdf page
4521         numbering is not zero-based!
4522
4523         * gpdf/xpdf/GfxState.cc (GfxDeviceCMYKColorSpace::getRGB): special case
4524         cmyk k-only colors
4525
4526         * gpdf/xpdf/GPOutputDev.h: declare drawImage
4527
4528         * gpdf/xpdf/GPOutputDev.cc (getFontFace): forgot to rename one
4529         font_name to gfont_name; cleanup whitespace in the source
4530         (drawImage): implement. (Does not render output on
4531         GnomePrintPreview older than 2002-06-14)
4532
4533         * gpdf/shell/gpdf.c (gw_control_load_pdf): s|file://|file:|
4534
4535 2002-11-09  Jaka Mocnik  <jaka@gnu.org>
4536
4537         * ggv/src/ggv-ui.xml: moved Layout submenu from Edit to View menu.
4538         fixes #97843.
4539         * ggv/bonobo/ggv-postscript-view-ui.xml: fixed accelerators for
4540         navigation. fixes #97842.
4541         * ggv/src/gtkgs.c (gtk_gs_goto_page): applied patch from satyajit that
4542         fixes occasional erroneous refreshes of non-structured docs. fixes
4543         #97828.
4544         * ggv/bonobo/ggv-sidebar.c (ggv_sidebar_construct): change coordinate
4545         widget to GtkEntry instead of GtkLabel in order to prevent resizing
4546         when text grows. make it horizontally as small as possible! fixes
4547         #97711.
4548
4549 2002-11-06  Jaka Mocnik  <jaka@gnu.org>
4550
4551         * ggv/acconfig.h: remove. changes from 2002-11-04 have rendered it
4552         unnecessary.
4553
4554 2002-11-05  Martin Kretzschmar  <mk793652@mail.inf.tu-dresden.de>
4555
4556         * gpdf/xpdf/GPOutputDev.cc (updateFont): extract GfxFont->GnomeFont
4557         mapping into its own class: GPOFontMap
4558         (getFontFace): I'm cheating. This first implementation makes only
4559         some Basic-14-PostScript fonts look nice
4560
4561         * gpdf/xpdf/GPOutputDev.h: add GPOFontMap class
4562         (GPOutputDev): add GPOFontMap member
4563
4564 2002-11-05  Jaka Mocnik  <jaka@gnu.org>
4565
4566         * ggv/src/gtkgs.[ch], src/gsdefaults.[ch], src/ggv-prefs-ui.c,
4567         bonobo/ggv-postscript-view.c, ggv.schemas: from now on, we no
4568         longer make a DSC file from PDF and use it to navigate through PDF,
4569         but instead we convert every PDF to PS and show it. benefits?
4570         enables printing and saving of PDF files and solves some issues
4571         with deducing orientation and page size from PDFs. cost? a bit
4572         slower, especially for large PDFs.
4573
4574 2002-11-04  Jaka Mocnik  <jaka@gnu.org>
4575
4576         * ggv/acconfig.h: removed, so that newer autoconfs don't spit warnings
4577         about deprecation at us.
4578         * ggv/configure.in: added 3rd arg to AC_DEFINE*() in order to get nice
4579         comments in config.h.
4580         * ggv/bonobo/main.c (ggv_postscript_viewer_factory): removed signal
4581         handlers as they caused ggv to hang when rapidly starting/stopping
4582         interpreter.
4583         * ggv/bonobo/ggv-control.c: sync auto-fit items with defaults on startup
4584         and set their sensitivity according to the status of the loaded
4585         document.
4586
4587 2002-11-03  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4588
4589         * gpdf/xpdf/GPOutputDev.cc (GPOutputDev): kill one-arg constructor,
4590         more initializations in zero-arg constructor
4591         (startPage, restoreState, updateFillColor)
4592         (updateFillColorIfNecessary, updateStrokeColor)
4593         (updateStrokeColorIfNecessary, stroke, fill, eoFill): remember if
4594         the last color set was for stroking or for non-stroking
4595         operations, set the color again IfNecessary
4596         (updateLineDash, updateFillColor, updateStrokeColor, updateFont)
4597         (doPath): this is C++, so move declarations of variables to their
4598         first use and initialize them there
4599         (updateFillColor, updateStrokeColor, updateFillOpacity)
4600         (updateStrokeOpacity): hande opacity, always set color and opacity
4601         together
4602         (updateFont): store the GnomeFont we want to use later; font
4603         handling still non-existant
4604         (updateTextPos): store the text position
4605         (updateTextShift): new, updates text position
4606         (getFillColorRGBA): new, creates a RRGGBBAA gint from a GfxState
4607         (drawString): rewritten to use Glyphlist machinery, quite okay
4608         ( for western locales) now
4609
4610         * gpdf/xpdf/GPOutputDev.h: update prototypes, new private members
4611
4612         * gpdf/xpdf/gpdf-control.cc (gc_key_press_event_cb): kill, GPdfView
4613         handles all its key events
4614         (gc_setup_widgets): don't connect killed handler; gpdf_view, grab
4615         focus!
4616
4617         * gpdf/xpdf/gpdf-view.cc (gpdf_view_construct): factor out:
4618         (gpdf_view_setup_page_background): and add:
4619         (gpdf_view_setup_gesture_handler): guess what it does
4620         (gesture_page_next_event_cb, gesture_page_prev_event_cb)
4621         (gesture_page_first_event_cb, gesture_page_last_event_cb)
4622         (gesture_zoom_in_event_cb, gesture_zoom_out_event_cb): add gesture
4623         handling
4624         (gpdf_view_dispose): destroy gesture handler
4625         (gpdf_view_render_page): improve readability, split out:
4626         (setup_upside_down_transform):
4627         (gpdf_view_zoom, gpdf_view_zoom_in, gpdf_view_zoom_out): new
4628         (gpdf_view_key_press_event): new
4629         (gpdf_view_button_press_event, gpdf_view_button_release_event)
4630         (gpdf_view_motion_notify_event): for dragging the page
4631         (gpdf_view_class_init): install signal handlers
4632
4633 2002-11-03  Jaka Mocnik  <jaka@gnu.org>
4634
4635         * ggv/bonobo/ggv-control.c: handle selection of auto-fit mode.
4636         (ggv_control_construct): unref the GtkGS we get from GgvPostScriptView.
4637         * ggv/bonobo/ggv-control-ui.xml: added a menu for selection of auto-fit
4638         mode.
4639         * ggv/src/ggv-prefs-ui.[ch]: implemented a choice menu for setting the
4640         default zoom mode for GtkGS widgets!
4641         * ggv/src/ggvutils.[ch]: removed some obsolete func prototypes.
4642         added ggv_auto_fit_modes.
4643         * ggv/src/gsdefaults.[ch]: handle default zoom mode.
4644         * ggv/src/gtkgs.[ch]: added GtkGSZoomMode enum and zoom_mode member to
4645         GtkGS. implemented auto-fit functionality.
4646
4647 2002-10-31  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4648
4649         The work on a Gnome Print Output Device starts here. The last
4650         version of the old pixmap based rendering code is tagged
4651         BEFORE_GNOME_PRINT.
4652
4653         * gpdf/xpdf/gpdf-control.cc (_GpdfControlPrivate): add field for
4654         GPdfView
4655         (gc_setup_widgets, gc_set_pdf_cb, verb_GoPageLast_cb)
4656         (verb_GoPageFirst_cb, verb_GoPageNext_cb, verb_GoPagePrev_cb): use
4657         GPdfView instead of PdfView
4658
4659         * gpdf/xpdf/gpdf-view.cc, xpdf/gpdf-view.h: widget for for GPOutputDev
4660         to draw on. Using GnomePrintPreview.
4661
4662         * gpdf/xpdf/GPOutputDev.cc, xpdf/GPOutputDev.h: new Gnome Print Output
4663         Device class, strokes and fills look (surprisingly) quite okay,
4664         font and text handling is throw-away code
4665
4666         * gpdf/xpdf/gpdf-util.h (BEGIN_C_DECLS, END_C_DECLS): remove macros,
4667         use those from glib
4668         (GPDF_BOILERPLATE, GPDF_CLASS_BOILERPLATE, GPDF_REGISTER_TYPE):
4669         macros from bonobo-macros.h and gnome-macros.h compatible with
4670         c++ type system rules
4671
4672         * gpdf/xpdf/OutputDev.h: declare class Object
4673
4674         * gpdf/xpdf/Gfx.h: include Object.h
4675
4676         * gpdf/configure.in: check for libgnomeprint(ui)-2.0
4677
4678 2002-10-30  Jaka Mocnik  <jaka@gnu.org>
4679
4680         * ggv/configure.in: added G*_DISABLE_DEPRECATED to GGV_CFLAGS.
4681         * ggv/*/*.[ch]: elimination of deprecated code.
4682         * ggv/ggv.schemas: added pageflip and scrollstep keys.
4683         * ggv/src/gsdefaults.c: added scroll_step setting: tells what percentage
4684         of viewable area size will be used for scrolling.
4685         * ggv/src/ggv-prefs.[ch], src/ggv-prefs-ui.[ch]: implemented configuration
4686         for scroll step.
4687         * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_construct):
4688         read gconf setting for "pageflip": if true, pages will be flipped
4689         automatically when scrolled to the edge of document.
4690         * ggv/bonobo/ggv-control.c (zoomable_set_zoom_level_cb): only modify the
4691         adjustment value if it is different from the zoom level being set.
4692         * ggv/src/gtkgs.c (gtk_gs_get_postscript): copy whole non-structured doc.
4693         * ggv/bonobo/ggv-control-ui.xml: added missing tooltips.
4694
4695 2002-10-29  Christian Neumair  <chris@gnome-de.org>
4696
4697         * ggv/src/ggv-prefs-ui.c: Make button sequence HIG compliant.
4698
4699 2002-10-26  Jaka Mocnik  <jaka@gnu.org>
4700
4701         * ggv/src/ggv-window.c (verb_FileClose): if the document being closed is
4702         the last one, just tell the PostScriptView component to unload the
4703         document and leave the window open. fixes #96792.
4704         (control_property_changed_handler): only display status message if
4705         status is non-empty.
4706         * ggv/idl/Ggv.idl: added close() method.
4707         * ggv/bonobo/ggv-postscript-view.c (impl_GNOME_GGV_PostScriptView_close):
4708         implemented the close() method.
4709
4710 2002-10-23  Martin Kretzschmar  <mk793652@mail.inf.tu-dresden.de>
4711
4712         * gpdf/xpdf/gpdf-persist-stream.cc (PARENT_TYPE): that last s/// was
4713         obviously scrambling too many words, make that
4714         BONOBO_TYPE_PERSIST_STREAM
4715
4716 2002-10-23  Jaka Mocnik  <jaka@gnu.org>
4717
4718         * ggv/configure.in: unreverted. et.po is now really added.
4719
4720 2002-10-22  jacob berkman  <jacob@ximian.com>
4721
4722         * ggv/configure.in (ALL_LINGUAS): revert until et.po gets added
4723
4724 2002-10-22  Jaka Mocnik  <jaka@gnu.org>
4725
4726         * ggv/configure.in (ALL_LINGUAS): added "et".
4727         * ggv/po/et.po: added Estonian translation. contributed by Ilmar Kerm.
4728
4729 2002-10-21  Jaka Mocnik  <jaka@gnu.org>
4730
4731         * ggv/bonobo/ggv-sidebar.c: fixed some typos.
4732
4733 2002-10-20  Fatih Demir <kabalak@gtranslator.org>
4734
4735         * ggv/configure.in: Added "ta" to the languages' list.
4736
4737 2002-10-19  Jaka Mocnik  <jaka@gnu.org>
4738
4739         * ggv/configure.in: "head -c 1" -> "head -1" for portability reasons.
4740         * ggv/src/ggv-file-sel.c: #include <libgnomevfs/gnome-vfs-utils.h>.
4741         * ggv/applied a patch by people at bugzilla-gnome at thewrittenword.com
4742         to enable GGV to find the UI XML files when installed in a different
4743         prefix than bonobo.
4744
4745 2002-10-17  Jaka Mocnik  <jaka@gnu.org>
4746
4747         * ggv/src/ggv-window.c (verb_FileOpen): remember path of file selector.
4748         * ggv/bonobo/ggv-postscript-view.c (verb_FileSaveMarked): remember path
4749         of file selector.
4750         * ggv/src/ggv-file-sel.c (ggv_file_sel_set_uri): properly unescape uri.
4751
4752 2002-10-16  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4753
4754         * gpdf/xpdf/gpdf-persist-stream.cc: use gpdf-g-switch.h,
4755         s/BONOBO_PERSIST_STREAM_TYPE/BONOBO_TYPE_STREAM_PERSIST/
4756
4757         * gpdf/xpdf/gpdf-control.cc (gpdf_control_zoom_fit_width)
4758         (gpdf_control_zoom_fit): s/gtk_idle_add/g_idle_add/
4759         (gpdf_control_activate): use BONOBO_CALL_PARENT macro
4760         (gc_setup_widgets): use g_signal_connect, not gtk_signal_connect
4761
4762         * gpdf/xpdf/gpdf-control.h, gpdf-persist-stream.h: replace GTK_CHECK
4763         macros with G_TYPE_CHECK, GtkType with GType
4764
4765 2002-10-16  Jaka Mocnik  <jaka@gnu.org>
4766
4767         * ggv/src/ggv-window.c (ggv_window_set_layer): set window layer.
4768         (ggv_window_set_fullscreen): toggle between normal and fullscreen
4769         mode.
4770         * ggv/src/ggv-ui.xml: added full screen command and menu items.
4771         * ggv/bonobo/ggv-control.c (_set_zoom_items_sensitivity): simplified code.
4772         * ggv/src/ggvutils.c: added 3/4 and 3/2 zoom levels.
4773         * ggv/bonobo/ggv-control.c (listener_ZoomLevel_cb): simplified code.
4774         * ggv/bonobo/ggv-control-ui.xml: added 3/4 and 3/2 zoom levels.
4775
4776 2002-10-15  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4777
4778         * gpdf/shell/gpdf.c (gw_open, gw_close): rename to gpdf_window_open,
4779         gpdf_window_close and make them public
4780         (handle_cmdline_args): s/gtk_idle_add/g_idle_add/
4781         (gw_control_load_pdf): fix leaks for error cases
4782         (gpdf_window_open): simplify
4783         (gw_ask_for_filename): use g_signal_connect, not gtk_signal_connect
4784
4785         * gpdf/shell/gpdf-window.h: replace GTK_CHECK macros with G_TYPE_CHECK,
4786         s/bonobo.h/libbonoboui.h/, declare gpdf_window_open, gpdf_window_close
4787
4788 2002-10-13  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4789
4790         * gpdf/shell/Makefile.am (-DGNOMELOCALEDIR): define as everybody does
4791
4792         * gpdf/shell/gpdf-window.h: godf_window_get_type returns GType
4793
4794         * gpdf/shell/gpdf.c: use GNOME_CLASS_BOILERPLATE, no need for
4795         gpdf-util.h, GPDF_EMBEDDABLE_IID
4796         (gpdf_window_class_init, gpdf_window_instance_init): rename from
4797         class_init, init
4798         (verb_HelpAbout_cb): gnome_about_new doesn't return a GnomeDialog,
4799         modify to allow only one about dialog
4800         (raise_and_focus): for verb_HelpAbout_cb, from EogWindow
4801         (gw_close): bonobo_main_quit is correct here
4802         (gw_open): release and unref control after adding it to the
4803         control frame. Refcounting seems to work! The server autoexits :-)
4804
4805         * gpdf/xpdf/gpdf-control-ui.xml: add accelerator to View menu
4806
4807 2002-10-12  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4808
4809         * gpdf/xpdf/gpdf-control-ui.xml: hide ZoomFitWidth toolbar button
4810
4811         * gpdf/xpdf/gpdf-control.cc (struct _GPdfControlPrivate): don't store a
4812         GPdfPersistStream
4813         (gc_setup_persist): ditto
4814         (gpdf_control_destroy): don't unref GPdfPersistStream, we
4815         add_interface'd it
4816         (gc_setup_zoomable): setup a BonoboZoomable, add_interface
4817         (gc_zoomable_set_zoom_level_cb, gc_zoomable_set_frame_cb):
4818         Callbacks for the zoomable
4819         (gpdf_control_construct): use gc_setup_zoomable
4820
4821         * gpdf/xpdf/GNOME_PDF.server.in.in: add Zoomable repo id
4822
4823         * gpdf/configure.in: don't create intl/Makefile
4824
4825 2002-10-12  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4826
4827         * gpdf/xpdf/.cvsignore: add GNOME_PDF.server, GNOME_PDF.server.in
4828
4829         * gpdf/xpdf/pdf-view.cc: don't #include bonobo_application_x_pdf.h,
4830         update for new GObject, GSignal, Bonobo signatures
4831         (setup_pixmap): don't use double buffering
4832
4833         * gpdf/xpdf/gtkgesture.h: s/BEGIN_GNOME_DECLS/G_BEGIN_DECLS/
4834
4835         * gpdf/xpdf/gpdf-persist-stream.h, xpdf/gpdf-control.h, pdf-view.h
4836         (#includes): update, use gpdf-g-switch.h,
4837         s/BEGIN_GNOME_DECLS/G_BEGIN_DECLS/
4838
4839         * gpdf/xpdf/gpdf-persist-stream.cc (#includes): update
4840         (load_pdf_from_stream): Bonobo_Unknown_ref our stream
4841         (delete_pdf_doc_full): unref our stream
4842         (all around) update for new GObject, GSignal, Bonobo signatures
4843         (gpdf_persist_stream_new, gpdf_persist_stream_construct): take iid
4844         parameter to be passed on to bonobo_persist_stream_construct
4845
4846         * gpdf/xpdf/gpdf-embeddable-view.cc: don't include
4847         bonobo-application-x-pdf.h
4848
4849         * gpdf/xpdf/gpdf-control.cc: PARENT_TYPE is BONOBO_TYPE_CONTROL;
4850         update for new GObject, GtkWidget, Bonobo signatures
4851
4852         * gpdf/xpdf/gpdf-control-ui.xml: use gtk-stock-pixmaps
4853
4854         * gpdf/xpdf/bonobo-application-x-pdf.cc (#includes): use
4855         gpdf-g-switch.h, update
4856         (gpdf_factory): don't create embeddable, gpdf_persist_stream_new
4857         takes iid parameter
4858         (init_gpdf_factory, init_corba, init_bonobo): kill
4859         (main): no need to init gdk_rgb; use BONOBO_FACTORY_INIT,
4860         bonobo_generic_factory_main
4861
4862         * gpdf/xpdf/Makefile.am (INCLUDES, LDADD): update
4863         (bin_PROGRAMS): move gnome-pdf-viewer to libexec_PROGRAMS
4864         (gnome_pdf_viewer_SOURCES): nobody needs
4865         bonobo-application-x-pdf.h, don't build embeddable stuff
4866         (oafdir, oaf_DATA): kill
4867         (server_in_files, serverdir): add, do libexec sed job on
4868         .server.in.in file, add @INTLTOOL_SERVER_RULE@
4869         (uidir): s/gnome/gnome-2.0/
4870
4871         * gpdf/xpdf/GOutputDev.cc (#includes): use gpdf-g-switch.h
4872         (GOutputDev::GOutputDev): get size and depth of pixmap with
4873         gdk_drawable_get_foo background color to white
4874         (all around): gdk_region_foo now destructively update their first
4875         argument, use gdk_rgb to find colors
4876         (drawImageMask): don't gdk_image_new_bitmap
4877
4878         * gpdf/xpdf/gpdf-g-switch.h: new file, include it when switching
4879         between goo and glib headers
4880
4881         * gpdf/xpdf/GNOME_PDF.server.in.in: factory is in @LIBEXECDIR@
4882         s|GNOME/GenericFactory|Bonobo/GenericFactory|, make it
4883         translatable, kill embeddable stanza
4884
4885         * gpdf/xpdf/GNOME_PDF.oafinfo: remove
4886
4887         * gpdf/xpdf/BonoboStream.cc:
4888         s/Bonobo_Stream_SEEK_SET/Bonobo_Stream_SeekSet/ et al. (see
4889         libbonobo/ChangeLog#2002-03-31)
4890
4891         * gpdf/shell/gpdf.c (#includes): use G2 headers
4892         (main): copy from eog
4893         (struct _Component): kill (was embeddable code)
4894         (USE_CONTROL): kill #define, kill all code surrounded by #if
4895         !USE_CONTROL (i.e. embeddable code)
4896         (all around): add Corba_Environment argument where it's needed now
4897         (gw_control_load_pdf): s/BonoboStream \*stream/Bonobo_Stream
4898         stream/.  get the stream using monikers, unref it later
4899         (gw_drag_data_received): use uri handling code from gnome-vfs
4900         (verb_HelpAbout_cb): update for new gnome_about_new
4901         (verb_DebugDumpXml_cb): kill
4902         (gw_destroy): may be called more than once, so update assertions
4903         (gw_finalize): is a GObject method now, chain up to parent
4904         (class_init): update for GObject methods
4905         (gw_setup_window): blend of bonobo_window_construct and old
4906         gw_setup_geometry
4907         (gw_setup_geometry): kill
4908         (gw_setup_toplevel_ui): use BonoboUIContainer from BonoboWindow
4909         (gpdf_window_construct): use gw_setup_window, not
4910         bonobo_window_construct, not gw_setup_geometry
4911
4912         * gpdf/shell/gpdf-window.h: s/BEGIN_GNOME_DECLS/G_BEGIN_DECLS/, kill
4913         struct _Component decl (was used for embeddable)
4914
4915         * gpdf/shell/gpdf-window-ui.xml: kill DebugDumpXml verb
4916
4917         * gpdf/shell/Makefile.am: update INCLUDES, LD_ADD;
4918         (gpdf_SOURCES): add missing gpdf-window.h
4919         (uidir): s/gnome/gnome-2.0/
4920
4921         * gpdf/configure.in: clean it a bit; set version to 0.100 (version was
4922         at 0.90.1 for ever and I don't want to call it 1.01.1, this is not
4923         1.something quality code); use GNOME2 macros;
4924         (i18n): update according to G2 porting guide
4925         (gnome-lib-checks): use PKG_CHECK
4926
4927         * gpdf/autogen.sh: PKG_NAME="gpdf:", USE_GNOME2_MACROS
4928
4929         * gpdf/.cvsignore: add intltool-... files
4930
4931         Initial port to GNOME 2
4932
4933 2002-10-08  Peteris Krisjanis <peteris.krisjanis@os.lv>
4934
4935         * ggv/configure.in: added Latvian (lv) to ALL_LINGUAS.
4936
4937 2002-10-08  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4938
4939         * gpdf/xpdf/pdf-view.cc: access private fields through priv field,
4940         don't use view_data_t
4941         (pv_realize): calls render_page if we already have a pdf_doc;
4942         install as realize default handler
4943         (redraw_on_realize_cb): kill
4944         (pdf_view_set_pdf_doc): if we're not realized yet, just don't
4945         render page
4946
4947         * gpdf/xpdf/pdf-view.h: kill view_data_t typedef, move PdfView's fields
4948         to PdfViewPrivate
4949
4950         * gpdf/configure.in: check for gdk-pixbuf
4951
4952         * gpdf/xpdf/GOutputDev.cc (drawImage): replace bogus GdkImage code with
4953         GdkPixbuf code. I don't have any PDFs here which use
4954         drawImageMask, so drawImageMask I haven't rewritten drawImageMask.
4955
4956 2002-10-07  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4957
4958         * gpdf/xpdf/pdf-view.cc (first_page, last_page, next_page, prev_page):
4959         inline into pdf_view_page_first and friends
4960         (render_page): static again
4961
4962 2002-10-07  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4963
4964         * gpdf/xpdf/xpdfsrc.txt, xpdf/xpdfobj.txt: kill
4965
4966         * gpdf/xpdf/gpdf-embeddable-view.cc (gev_set_pdf_cb)
4967         (gpdf_embeddable_view_construct): see gc_set_pdf_cb entry below
4968
4969         * gpdf/xpdf/gpdf-control.cc (GPdfControlPrivate: store persist_stream
4970         (gpdf_control_destroy): write, install
4971         (gc_setup_persist, gc_set_pdf_cb): pdf_view_set_pdf_doc on set_pdf
4972         signal from persist_stream (used to be done in PdfView)
4973         (gc_setup_widgets): pdf_view_new takes no parameter
4974
4975         * gpdf/xpdf/pdf-view.h: s/extern "C" {// around headers
4976         update declarations
4977
4978         * gpdf/xpdf/pdf-view.cc (PdfViewPrivate): store only a PDFDoc, not a
4979         GPdfPersistStream
4980         (view_is_good): replace with IS_PDF_VIEW_WITH_DOC macro, use that
4981         (last_page, next_page): get pdf_doc from priv
4982         (setup_size): ditto, add parameter assertion
4983         (render_page, pdf_view_get_page_width): get pdf_doc from priv
4984         (pdf_view_set_zoom): only render_page if pdf_poc != NULL
4985         (set_pdf_cb): inline into:
4986         (pdf_view_set_pdf_doc): new method, eventually we can switch the
4987         pdf to be displayed
4988         (pv_destroy, pdf_view_construct, pdf_view_new): don't store a
4989         GPdfPersistStream
4990
4991         * gpdf/xpdf/gtkgesture.h: include gtk.h, protect with BEGIN_GNOME_DECLS
4992
4993         * gpdf/xpdf/gpdf-persist-stream.h: move GPdfPersistStreamPrivate to
4994         gpdf-persist-stream.cc
4995         (gpdf_persist_stream_get_pdf_doc): declare
4996
4997         * gpdf/xpdf/gpdf-persist-stream.cc (gpdf_persist_stream_get_pdf_doc):
4998         new accessor method
4999
5000         * gpdf/MAINTAINERS: mail your questions to me
5001
5002 2002-10-05  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5003
5004         * gpdf/xpdf/gpdf-control.cc (gc_key_press_event_cb): add _cb suffix
5005         (gc_zoom_level_from_index, gc_set_policy_idle_cb): add gc_ prefix
5006         (gpdf_control_zoom_in, gpdf_control_zoom_out)
5007         (gpdf_control_zoom_fit_width, gpdf_control_zoom_fit): extract from
5008         verb implementations
5009         (gc_zoom_in_cb, gc_zoom_out_cb, gc_zoom_to_fit_cb)
5010         (gc_zoom_to_fit_width_cb, gc_zoom_to_default_cb): callbacks for
5011         PdfView zoom signals
5012
5013         * gpdf/xpdf/pdf-view.h (PdfViewClass): add signal slots
5014         (PdfView): kill unused mainbox field
5015
5016         * gpdf/xpdf/pdf-view.cc: kill old zooming code, when we want to zoom,
5017         we just emit signals. Our container can connect to these and make
5018         the right calls (i.e. pdf_view_set_zoom).
5019         (pv_key_press_event): emit zoom signals instead of setting our
5020         zoom level directly
5021         (class_init): install signals
5022         (zoom_to_fit): kill
5023         (pdf_view_construct): connect each gesture to its own callback
5024         (gesture_page_event_cb, gesture_zoom_event_cb, view_zoom_verb)
5025         (view_switch_page): kill old gesture callbacks and helpers
5026         (gesture_page_next_event_cb, gesture_page_prev_event_cb)
5027         (gesture_page_first_event_cb, gesture_page_last_event_cb)
5028         (gesture_zoom_in_event_cb, gesture_zoom_out_event_cb): new gesture
5029         callbacks
5030
5031         * gpdf/xpdf/bonobo-application-x-pdf-ui.xml: kill zooming verbs from
5032         embeddable view ui
5033
5034         * xpdf/gpdf-embeddable-view.cc (view_zoom_verb)
5035         (page_zoom_fit_width_cb, page_zoom_fit_height_cb)
5036         (page_enlarge_cb, page_shrink_cb, view_zoom_query): kill zooming
5037         machinery in embeddable view
5038
5039         * gpdf/xpdf/pdf-view.cc (view_zoom_query): kill unused method
5040
5041 2002-10-05  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5042
5043         * gpdf/xpdf/gpdf-control-ui.xml: rename ZoomFitHeight back (2001-08-12)
5044         to ZoomFit, label it Best Fit as seen in HIG; it was never really
5045         ZoomFitHeight
5046
5047         * gpdf/xpdf/gpdf-control.cc (zoom_level_from_index, verb_ZoomIn_cb)
5048         (verb_ZoomOut_cb, set_policy_idle_cb, verb_ZoomFitWidth_cb)
5049         (verb_ZoomFit_cb): reimplement zooming (no BonoboZoomable yet;
5050         zoom-on-key-press still uses old code), rename ZoomFitHeight back
5051         to ZoomFit
5052         (gpdf_control_class_init): kill local variables
5053
5054         * gpdf/xpdf/pdf-view.h: add prototypes
5055
5056         * gpdf/xpdf/pdf-view.cc (configure_size): kill this empty function
5057         (setup_pixmap): don't call configure_size
5058         (pdf_view_get_zoom, pdf_view_set_zoom, MIN_ZOOM_FACTOR)
5059         (MAX_ZOOM_FACTOR): add nice, short zooming methods
5060         (pdf_view_get_page_width, pdf_view_get_page_height): add
5061
5062         * gpdf/shell/gpdf.c (gw_control_load_pdf, gw_open, verb_HelpAbout_cb)
5063         (gpdf_window_construct): make it compile again. The wonders of
5064         emacs dabbrev-expand and me only recompiling half of the
5065         directories.
5066
5067         * gpdf/AUTHORS: update Xpdf copyright notice
5068
5069         * gpdf/.cvsignore: ignore more automake generated files
5070
5071 2002-10-04  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5072
5073         * gpdf/xpdf/pdf-view.cc (setup_pixmap): get our GdkWindow directly from
5074         our parent window, not from the win field
5075         (mainbox_realize): kill, (it only assigns to the win field)
5076         (pdf_view_construct): don't connect to "realize" to killed
5077         mainbox_realize
5078         (real_redraw_view): don't call realize_mainbox (which would assign
5079         to win, render_page, configure_size which is empty),
5080         redraw_view_all does already render page
5081         (realize_mainbox): kill, its only caller doesn't use it anymore
5082         (real_redraw_view): rename to redraw_on_realize_cb to reflect its
5083         only use
5084         (redraw_view): rename to set_pdf_cb for same reason, clean if
5085         else, call redraw_view_all instead of real_redraw_view
5086         (key_press_event_cb): rename to pv_key_press_event, make it the
5087         default handler for our key_press_event, use pdf_view_page bla,
5088         not view_switch_page
5089         (button_press_event_cb): rename to pv_button_press_event, make it
5090         the default handler, check if we already have focus
5091         (class_init): install pv_key_press_event, pv_button_press_event
5092         (pdf_view_construct): don't connect key_press_event_cb,
5093         button_press_event_cb
5094         (redraw_view_all): fuse with render_page, use that in all places
5095
5096         * gpdf/xpdf/pdf-view.h: kill win field
5097
5098         * gpdf/xpdf/gpdf-embeddable-view.cc: s/redraw_view_all/render_page/g
5099
5100         I don't know how to write a GtkWidget, but the code for the
5101         PdfView widget had a lot of artificial complexity, in my eyes.
5102         Is this from the time before it used GtkPixmap (1999-09-01)?
5103
5104 2002-10-04  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5105
5106         * gpdf/shell/Makefile.am (EXTRA_DIST): distribute gpdf-window-ui.xml
5107
5108         * gpdf/shell/gpdf-window-ui.xml: new file, based on xpdf/gpdf-ui.xml
5109
5110         * gpdf/shell/gpdf.c (GPDF_IS_NON_NULL_WINDOW): add macro
5111         (GW_RETURN_UNLESS_GW, GW_RETURN_VAL_UNLESS_GW): kill macros, use
5112         GPDF_IS_NON_NULL_WINDOW with g_return_bla instead, this looks
5113         more G'ish to me
5114
5115         * gpdf/xpdf/.cvsignore: ignore gnome-pdf-viewer binary
5116
5117         * gpdf/xpdf/Makefile.am (XML_FILES): don't distribute gpdf-ui.xml
5118         (EXTRA_DIST): no ChangeLog here
5119
5120         * gpdf/xpdf/gpdf-ui.xml: remove
5121
5122         * gpdf/xpdf/gpdf-control-ui.xml: new file, based on
5123         bonobo-application-x-pdf-ui.xml, half-hearted attempts to be
5124         HIG-compliant
5125
5126         * gpdf/xpdf/gpdf-control.cc (GPDF_IS_NON_NULL_CONTROL): add, use it
5127         (gc_key_press_event): keyhandling mostly copied from embeddable
5128         (verb_GoPagePrev_cb, verb_GoPageNext_cb, verb_GoPageFirst_cb)
5129         (verb_GoPageLast_cb, gc_verbs []): add page verbs
5130         (gc_set_ui_container, gc_unset_ui_container)
5131         (gpdf_control_activate): install UI merging
5132         (gc_set_zoom_items_visibility): only a dummy
5133         (gpdf_control_construct): decompose into:
5134         (gc_setup_persist, gc_setup_widgets): construct helpers
5135
5136         * gpdf/xpdf/gpdf-embeddable-view.cc: use pdf_view_page_bla
5137
5138         * gpdf/xpdf/gpdf-embeddable.h (bed_t): kill already unused typedef
5139
5140         * gpdf/xpdf/pdf-view.h (pdf_view_page_prev, pdf_view_page_next)
5141         (pdf_view_page_first, pdf_view_page_last): export
5142
5143         * gpdf/xpdf/pdf-view.cc (first_page, last_page, next_page, prev_page):
5144         static again
5145         (pdf_view_page_prev, pdf_view_page_next, pdf_view_page_first)
5146         (pdf_view_page_last): methods to be called by the control (and the
5147         embeddable view) to do what their names say
5148         (IS_NON_NULL_PDF_VIEW): like IS_PDF_VIEW with obvious extra check
5149
5150 2002-10-04  Jaka Mocnik  <jaka@gnu.org>
5151
5152         * ggv/configure.in: removed duplicate AC_OUTPUT entries.
5153         * ggv/src/ggvutils.c (ggv_quote_filename): use g_shell_quote().
5154
5155 2002-10-02  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5156
5157         * gpdf/xpdf/Makefile.am: factory file name is gnome-pdf-viewer,
5158         s/GNOME_XPDF.oafinfo/GNOME_PDF.oafinfo/
5159
5160         * gpdf/xpdf/GNOME_PDF.oafinfo: s/XPDF/PDF/g, the factory file name
5161         is now gnome-pdf-viewer, add oaf_server entry for the control
5162
5163         * gpdf/xpdf/bonobo-application-x-pdf.cc (gpdf_factory): multi factory
5164         function, replaces embeddable_factory, creates controls, too
5165
5166         * gpdf/xpdf/gpdf-control.cc, xpdf/gpdf-control.h: new files, first code
5167         for PDF viewer bonobo control.
5168
5169         * gpdf/shell/gpdf.c: handle priv field in GPdfWindow, add code for using
5170         a control instead of an embeddable (use it when USE_CONTROL != 0)
5171
5172         * gpdf/shell/gpdf-window.h (GPdfWindow): add priv field, kill app field
5173         (struct _Component) is private, moved back to gpdf.c
5174
5175         * gpdf/configure.in: PACKAGE and VERSION are set by AM_INIT_AUTOMAKE,
5176         kill explicit assignments
5177
5178         * gpdf/xpdf/GNOME_XPDF.oafinfo: remove
5179
5180 2002-10-01  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5181
5182         * gpdf/xpdf/gpdf-embeddable-view.cc (gpdf_embeddable_view_construct):
5183         pdf_view_new takes persist_stream, not embeddable
5184
5185         * gpdf/xpdf/pdf-view.cc: add priv struct, use it to get persist_stream,
5186         not bed field
5187         (pdf_view_new): take persist_stream, not embeddable
5188         (pdf_view_construct): ditto, store it in priv
5189         (init): g_new0 priv
5190         (class_init): we need finalize:
5191         (pv_finalize): for priv
5192         (pv_destroy): unref priv->persist_stream
5193
5194         * gpdf/xpdf/pdf-view.h: use BEGIN_GNOME_DECLS, we have a priv field now,
5195         kill bed field, new and construct take a GPdfPersistStream now, not
5196         GPdfEmbeddable (of course, this is still ugly)
5197
5198         Various source files: remove \n from g_message calls,
5199         update Michael's email address, s/Helix Code/Ximian/
5200
5201 2002-10-01  Jaka Mocnik  <jaka@gnu.org>
5202
5203         * ggv/src/main.c (save_session): fixed possible buffer overflow.
5204
5205 2002-09-30  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5206
5207         * gpdf/xpdf/gpdf-embeddable.h (GPdfEmbeddable): kill already commented
5208         out fields
5209         (GPdfEmbeddableClass): kill pdf_changed signal slot
5210
5211 2002-09-30  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5212
5213         * gpdf/xpdf/pdf-view.cc: get PDFDoc from GPdfPersistStream, not
5214         directly from our embeddable (various places).
5215
5216         * gpdf/xpdf/Makefile.am: fix gui variable, add gpdf-persist-stream
5217         files
5218
5219         * gpdf/xpdf/bonobo-application-x-pdf.cc: include GlobalParams.h,
5220         (embeddable_factory): create a GPdfPersistStream first, then
5221         create an embeddable.
5222
5223         * gpdf/xpdf/gpdf-embeddable.cc (bed_free_data): move to
5224         gpdf-persist-stream.cc as delete_pdf_doc_full
5225         (load_pdf_from_stream): move to gpdf-persist-stream.cc
5226         (finalize): free priv field
5227         (class_init): kill pdf_changed signal, GPdfPersistStream has
5228         set_pdf signal, use finalize
5229         (gpdf_embeddable_add_interfaces): kill
5230         (gpdf_embeddable_construct): take GPdfPersistStream param,
5231         use bonobo_object_add_interface not gpdf_embeddable_add_intf
5232         (gpdf_embeddable_new): take GPdfPersistStream param
5233
5234         * gpdf/xpdf/gpdf-embeddable.h: remove extern "C" around bonobo
5235         includes, they protect themselves. Introduce private struct,
5236         still public. Use GPdfPersistStream
5237
5238         * gpdf/xpdf/gpdf-persist-stream.cc, xpdf/gpdf-persist-stream.h:
5239         files for new GPdfPersistStream class. Contains PDF loading code
5240
5241         * gpdf/xpdf/BonoboStream.h: hide GList before including gnome headers
5242
5243 2002-09-29  Jaka Mocnik  <jaka@gnu.org>
5244
5245         * ggv/bonobo/ggv-postscript-view.c (load_ps_from_file): properly unescape
5246         local uri.
5247         * ggv/src/ggvutils.c (ggv_filename_to_uri): use
5248         gnome_vfs_get_uri_from_local_path().
5249
5250 2002-09-26  Jaka Mocnik  <jaka@gnu.org>
5251
5252         * ggv/src/ps.c: fixed unsafe sscanf usage. reported in iDEFENSE Security
5253         Advisory 09.26.2002: Exploitable Buffer Overflow in gv
5254
5255 2002-09-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
5256
5257         * gpdf/configure.in: don't use macro dir, don't call AC_ARG_PROGRAM
5258         ( AM_INIT_AUTOMAKE does this), inline autoheader templates from
5259         acconfig.h, use AC_HELP_STRING where appropriate.
5260
5261         * gpdf/acconfig.h: Remove.
5262
5263         * gpdf/autogen.sh: switch from macro dir to gnome-common.
5264
5265 2002-09-24  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5266
5267         * gpdf/shell/gpdf-window.h: kill the Container typedef, everybody uses
5268         GPdfWindow now.
5269         (Component): rename container field to gpdf_window
5270
5271         * gpdf/shell/gpdf.c (gw_has_contents): ``readability function'', use it
5272         instead of testing gpdf_window->view_widget
5273         (gw_drag_data_received): inline code from container_new, clean it
5274         (gw_open_dialog): ditto
5275         (main): moe gpdf_popt_options, poptContext globals here, make
5276         command line handling an idle handler -- again, shamelessly stolen
5277         from eog:
5278         (handle_cmdline_args, create_window): command line handlers
5279         (container_new): not needed anymore, kill
5280
5281 2002-09-24  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5282
5283         * gpdf/shell/gpdf.c: s/containers/window_list/g and move definition
5284         down to GPdfWindowClass
5285         (GW_RETURN_NULL_UNLESS_GW): kill this macro, use
5286         GW_RETURN_VAL_UNLESS_GW
5287         (gw_close_all): write while loop with less ink
5288
5289 2002-09-23  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5290
5291         * gpdf/xpdf/bonobo-application-x-pdf-ui.xml: kill HelpAbout verb,
5292         only the shell implements it.
5293
5294 2002-09-23  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5295
5296         * gpdf/shell/gpdf.c (gw_setup_dnd): use TARGET_URI_LIST enum constant
5297         in GtkTargetEntry drag_types[]
5298         (component_destroy): rename to gw_component_destroy, move down to
5299         its only caller gw_destroy, add != NULL assertion
5300         (gw_destroy): call it with new name
5301         (container_set_view): rename to gw_add_component_view_to_ui, add
5302         parameter asserts, use bonobo_client_site_new_view_full, don't
5303         call bonobo_wrapper_set_visibility, bonobo_view_frame_set_covered
5304         (container_launch_component): s/container/gw/, add gpdf_window
5305         parameter, get BonoboItemContainer from it, kill goad_id
5306         parameter, always use GPDF_EMBEDDABLE_IID (new #define)
5307         (container_activate_component): s/container/gw/, kill goad_id
5308         param, check gpdf_window param, use gw_launch_component
5309         (open_pdf): rename to gw_open, factor out PersistStream loading
5310         into gw_component_load_pdf
5311         (container_destroy): kill,
5312         (container_new): use gw_close instead
5313
5314         Kill some prototype declarations.
5315
5316 2002-09-19  Jaka Mocnik  <jaka@gnu.org>
5317
5318         * ggv/src/ggv-prefs-ui.c (ggv_prefs_dialog_new): set spacing between
5319         buttons.
5320
5321 2002-09-18  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5322
5323         * gpdf/ChangeLog: merge in xpdf/ChangeLog and shell/ChangeLog using
5324         the excellent MergeLog.awk and Emacs ediff tools.
5325
5326         * gpdf/shell/ChangeLog: remove
5327
5328         * gpdf/xpdf/ChangeLog: remove
5329
5330 2002-09-17  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5331
5332         * gpdf/xpdf/gpdf-embeddable.cc (load_pdf_from_stream): don't try to
5333         check for catalog after having discovered that !pdf->isOk and
5334         having already deleted it. I introduced my first goto to this
5335         code.  Edsger Dijkstra in memoriam
5336
5337 2002-09-17  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5338
5339         * gpdf/shell/gpdf.c (container_exit_cmd): => (verb_FileExit_cb)
5340         (gw_close_all): close all windows, causing the program to exit
5341         (verb_FileExit_cb): use gw_close_all
5342         (container_open_cmd): => (verb_FileOpen_cb) which calls the new
5343         (gw_open_dialog): extract file selection code into
5344         (gw_ask_for_filename):
5345         (file_dialog_delete_event): move down to gw_ask_for_filename
5346         (set_ok): ditto, rename to file_dialog_ok
5347
5348 2002-09-17  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5349
5350         * gpdf/shell/gpdf.c (container_close_cmd): turn into
5351         (verb_FileCloseWindow_cb) with BonoboUIVerbFn prototype
5352         (container_dump_cmd): ditto (verb_DebugDumpXml_cb)
5353         (container_about_cmd): ditto (verb_HelpAbout_cv), Michael says I
5354         maintain gpdf now, added Ravi Pratap, Xpdf copyright holder is
5355         Glyph & Cog, LLC, Derek B. Noonburg's pdf consulting business
5356         (verbs []) rename: gw_verbs, make static, move to where it is
5357         needed: right before gw_setup_toplevel_ui, use new verb callback
5358         names
5359
5360 2002-09-17  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5361
5362         * gpdf/shell/gpdf.c (filenames_dropped): turn into
5363         (gw_drag_data_received) use for for (ed.'s note: not a typo)
5364         iterating the list, not while, free list after use
5365         (class_init): install gw_drag_data_received as default handler for
5366         drag_data_received
5367         (gw_setup_dnd): don't connect filenames_dropped to
5368         drag_data_received
5369         (gw_delete_event): renamed from (gw_delete) for consistency with
5370         signal name
5371
5372 2002-09-15  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5373
5374         * gpdf/xpdf/Makefile.am: don't build gpdf here
5375
5376         * gpdf/xpdf/gpdf.cc: move to shell/gpdf.c
5377
5378 2002-09-15  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5379
5380         * gpdf/shell/gpdf.c (gw_destroy): destructor (code from container_destroy)
5381         (gw_delete): delete_event default handler
5382         (gw_close): other half of container_destroy
5383         (gpdf_window_construct): no need to gtk_object_set_data
5384         "container_data", don't connect to delete_event
5385         (class_init): init parent_class, install destroy and delete_event
5386         default handler
5387         (container_close): kill, just use gw_close
5388         (container_close_cmd): call gw_close
5389
5390 2002-09-15  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5391
5392         * gpdf/shell/gpdf.c: include gpdf-window.h, pull out struct defns,
5393         implement GPdfWindow class here for now (let's see if it's more
5394         convenient)
5395         (gpdf_window_new, gpdf_window_construct): new (with helper
5396         functions)
5397         (container_new): mostly moved to gpdf_window_construct, use that
5398         (container_destroy): don't explicitly destroy and free the
5399         toplevel widget
5400
5401         * gpdf/shell/gpdf-window.h: new file, new class GPdfWindow (was
5402         Container struct)
5403
5404         * gpdf/shell/gpdf.c: M-x mark-whole-buffer, M-x indent-region
5405
5406 2002-09-15  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5407
5408         * gpdf/shell/Makefile.am: create, bin_PROGRAMS = gpdf and friends
5409
5410         * gpdf/shell/gpdf.c: cvs copy of xpdf/gpdf.cc, Code was plain C except
5411         some extern "C" declarations :-), removed them and it compiled,
5412         don't include xpdf/config.h, bonobo-application-x-pdf.h
5413         (container_about_cmd): s/xpdfVersion/VERSION/ so we really don't
5414         need xpdf/config.h (FIXME: unify aconf.h and config.h?)
5415
5416         New directory. Start ChangeLog
5417
5418 2002-09-15  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5419
5420         * gpdf/configure.in, Makefile.am: add subdirectory
5421
5422         * gpdf/shell: new directory
5423
5424 2002-09-14  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5425
5426         * gpdf/xpdf/gpdf-embeddable-view.cc (destroy_view): kill already commented
5427         out, previously unused destructor
5428         (gev_destroy): set mainbox member = NULL
5429
5430         * gpdf/xpdf/pdf-view.cc (pv_destroy): new destructor
5431         (class_init): use it, init parent_class
5432         (pdf_view_construct): reindent
5433
5434 2002-09-14  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5435
5436         * gpdf/xpdf/gpdf-embeddable-view.h (GPdfEmbeddableView): kill bed member
5437
5438         * gpdf/xpdf/gpdf-embeddable-view.cc: removed newlines from g_message calls
5439         (class_init): use checked casts, we now have destroy, no need to
5440         keep a ref to our embeddable here
5441         (gev_destroy): new destructor
5442
5443 2002-09-14  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5444
5445         * gpdf/xpdf/gpdf-embeddable-view.cc (gpdf_embeddable_view_new):
5446         s/printf/g_message/
5447         (view_create_menus, view_remove_menus): rename to
5448         (gev_set_ui_container, gev_unset_ui_container): and rewrite in EOG
5449         style
5450
5451 2002-09-13  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5452
5453         * gpdf/xpdf/gpdf-embeddable-view.cc (gev_activate): chain up to parent's
5454         activate handler, not to grand parent's
5455
5456 2002-09-13  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5457
5458         * gpdf/xpdf/bonobo-application-x-pdf.cc (embeddable_factory): don't
5459         initialize embeddable (where did that come from?)
5460
5461         * gpdf/xpdf/gpdf-embeddable-view.cc (gpdf_embeddable_view_construct): don't
5462         handle "activate" by connecting...
5463         (class_init): ...install a default signal handler...
5464         (gev_activate): cleaned up "activate" handler, renamed from
5465         (view_activate)
5466
5467 2002-09-13  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5468
5469         * gpdf/xpdf/Makefile.am: add pdf-view.cc, pdf-view.h
5470
5471         * gpdf/xpdf/gpdf-embeddable-view.cc (view_is_good, first_page, last_page)
5472         (next_page, prev_page, configure_size, setup_size, setup_pixmap)
5473         (render_page, realize_mainbox, redraw_view_all, real_redraw_view)
5474         (redraw_view): kill
5475         (first_page, last_page, next_page, prev_page, redraw_view_all):
5476         only declare here, use definitions from pdf-view.cc
5477         (page_first_cb, page_next_cb, page_prev_cb, page_last_cb):
5478         s/view_data_t/PdfView/ etc.
5479         (view_switch_page): kill
5480         (zoom_to_fit): leave only declaration
5481         (view_zoom_verb, page_zoom_fit_width_cb, page_zoom_fit_height_cb)
5482         (page_enlarge_cb, page_shrink_cb, view_zoom_query): s///
5483         (verbs[]): make static
5484         (view_create_menus, view_remove_menus, view_activate): s///
5485         (button_press_event_cb, gesture_page_event_cb)
5486         (gesture_zoom_event_cb): kill
5487         (key_press_event_cb): s///, only handle scrolling here
5488         (mainbox_realize): kill
5489         (destroy_view): comment out for now
5490         (init): empty
5491         (gpdf_embeddable_view_construct): mainbox = pdf_view_new,
5492         remove mainbox construction code
5493
5494         * gpdf/xpdf/pdf-view.cc (view_is_good): s/view_data_t/PdfView/
5495         (first_page, last_page, next_page, prev_page): non-static
5496         (setup_pixmap): view_data is our mainbox now
5497         (render_page): s/view_data_t/PdfView/ s/view_data/view/
5498         (redraw_view_all): ditto
5499         (realize_mainbox): /GPdfEmbeddableView/PdfView/ etc.
5500         (real_redraw_view): ditto
5501         (redraw_view): ditto, view is our mainbox now
5502         (page_first_cb, page_next_cb, page_prev_cb, page_last_cb): kill
5503         here (verb implementations)
5504         (view_switch_page): s/// as above
5505         (zoom_to_fit): non-static, commented out for now
5506         (view_zoom_verb, view_zoom_query): s/// as above
5507         (page_zoom_fit_width_cb, page_zoom_fit_height_cb)
5508         (page_enlarge_cb, page_shrink_cb): kill here (verb impl)
5509         (verbs[], view_create_menus, view_remove_menus, view_activate):
5510         kill here (bonobo stuff)
5511         (gesture_page_event_cb, gesture_zoom_event_cb): s///
5512         (key_press_event_cb): don't handle scrolling here, s///
5513         (destroy_view): kill here
5514         (pdf_view_construct): kill everything except mainbox construction
5515
5516         * gpdf/xpdf/gpdf-embeddable-view.h: view_data_t is no longer a typedef'd
5517         GPdfEmbeddableView. Remove PdfView related members from
5518         GPdfEmbeddableView
5519
5520         * gpdf/xpdf/pdf-view.h: s/GPdfEmbeddableView/PdfView/ with some AI ;)
5521         GPdfEmbeddableView still typedef'd view_data_t. Super class
5522         is GtkEventBox
5523
5524         Split bonobo / non-bonobo parts of GPdfEmbeddableView:
5525
5526         * gpdf/xpdf/pdf-view.h: new file (cvs copy of gpdf-embeddable.h)
5527
5528         * gpdf/xpdf/pdf-view.c: ditto. These will contain non-bonobo parts
5529
5530 2002-09-13  Jaka Mocnik  <jaka@gnu.org>
5531
5532         * ggv/bonobo/main.c: per-display registration of factory.
5533         * ggv/src/main.c (create_window): graciously handle cases when no
5534         windows could be opened because of errors.
5535         * ggv/src/ggv-prefs-ui.c (ggv_prefs_dialog_new): added colons as
5536         suggested by Muktha.
5537         added ESC as an accelerator for the Cancel button.
5538         * ggv/bonobo/ggv-sidebar.c (ggv_sidebar_construct): add tool tips to
5539         "toggle marked" and "clear all" buttons.
5540         * ggv/ggv.desktop.in (Exec): added %U so that URIs are passed to
5541         launcher (patch by Arvind Samptur).
5542
5543 2002-09-08  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5544
5545         * gpdf/xpdf/GOutputDev.h: add missing gdk include
5546
5547         * gpdf/xpdf/GOutputDev.cc (GOutputDev::drawLink): don't #if 0, just don't
5548         use it
5549         (GOutputDev::drawImage, GOutputDev::drawImageMask): use Michael's
5550         broken image handling code from gpdf 0.90.1 instead of my even
5551         more broken code
5552
5553         * gpdf/xpdf/gpdf-embeddable-view.cc (render_page): disable links here.
5554         (realize_mainbox): view == view_data now. Don't have to
5555         gtk_object_get_data anymore
5556         (real_redraw_view): ditto
5557         (redraw_view): ditto, make it static again
5558         (gpdf_embeddable_view_construct): connect redraw_view to
5559         pdf_changed signal, don't gtk_object_set_data "view_data"
5560         (view_switch_page, view_zoom_verb, view_activate)
5561         (button_press_event_cb, gesture_page_event_cb)
5562         (gesture_zoom_event_cb, key_press_event_cb, mainbox_realize): make
5563         them static again
5564
5565         * gpdf/xpdf/gpdf-embeddable.cc (class_init): add "pdf_changed" signal
5566         (load_pdf_from_stream): emit it, don't redraw_view explicitly
5567
5568         * gpdf/xpdf/gpdf-embeddable.h: add signal to class struct
5569
5570 2002-09-01  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5571
5572         * gpdf/xpdf/gpdf-embeddable.cc (gpdf_embeddable_view_factory): move here
5573         from bonobo-application-x-pdf.cc
5574
5575         * gpdf/xpdf/GOutputDev.cc (GOutputDev::drawLink): comment out for
5576         now. Segfaults. I don't understand this.
5577
5578         * gpdf/xpdf/bonobo-application-x-pdf.cc: move view_data_t related code
5579         ( except view_factory) to gpdf-embeddable-view.cc, remove lots of
5580         includes
5581
5582         * gpdf/xpdf/gpdf-embeddable-view.h: new files with new GPdfEmbeddableView
5583         class
5584
5585         * gpdf/xpdf/gpdf-embeddable-view.cc:
5586
5587         * gpdf/xpdf/gtkgesture.h: double include protection
5588
5589         * gpdf/xpdf/XOutputDev.h: add missing include "Object.h"
5590
5591         * gpdf/xpdf/GOutputDev.h: add missing include "Object.h"
5592
5593 2002-08-31  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5594
5595         * gpdf/xpdf/gpdf-embeddable.cc:
5596
5597         * gpdf/xpdf/gpdf-embeddable.h: bed_t: Replace Data Value with Object
5598         [Fowler] i.e.  turn it into the GPdf::Embeddable class.
5599
5600         * gpdf/xpdf/bonobo-application-x-pdf.cc: temporarily make some functions
5601         non-static
5602         (view_is_good): move up in file, use it in more places.
5603         (setup_pixmap): remove window parameter, get it from view_data
5604         (destroy_embed): move to GPdfEmbeddable::destroy
5605         (embeddable_factory): drastically simplify, work is done in
5606         GPdfEmbeddable::new and friends
5607         remove count of running_objects.
5608
5609         * gpdf/xpdf/gpdf-util.h: new file
5610         (E_MAKE_TYPE): copied from gal
5611
5612 2002-08-29  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5613
5614         * gpdf/xpdf/bonobo-application-x-pdf.cc: move struct bed_t to
5615         gpdf-embeddable.{cc,h}
5616         (setup_pixmap) remove doc parameter. (Get it from view_data param)
5617
5618         * gpdf/xpdf/gpdf-embeddable.cc: New files to contain the embeddable class
5619
5620         * gpdf/xpdf/gpdf-embeddable.h:
5621
5622         * gpdf/xpdf/gpdf.cc (main): remove call to setlocale (done in
5623         gnome_init...), ignore return value of oaf_init, let bonobo_init
5624         figure out which orb to use.
5625
5626         * gpdf/xpdf/Link.h: declare some methods as const.
5627         * gpdf/xpdf/Link.cc:
5628
5629 2002-08-22  Jaka Mocnik  <jaka@gnu.org>
5630
5631         * ggv/src/ggv-prefs-ui.c (ggv_prefs_dialog_new): string change -
5632         "Jump to beginning of page etc." -> "Jump to beginning of page".
5633         * ggv/bonobo/ggv-control.c (ggv_control_new): removed auto-jump as it
5634         was moved to ggv-postscript-view.c.
5635         * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_goto_page):
5636         respect auto-jump setting everytime we switch pages.
5637
5638 2002-08-21  Jaka Mocnik  <jaka@gnu.org>
5639
5640         * ggv/src/gtkgs.c: set step_increment to make stepper buttons work.
5641         * ggv/bonobo/ggv-postscript-view.c (sidebar_key_press_event): handle
5642         presses of Left/Right/Up/Down to pan.
5643         * ggv/src/gtkchecklist.c (key_press_event): handle key presses in our
5644         own fashion - PgUp/Dn do the same as in ps view - move one page
5645         at a time.
5646
5647 2002-08-20  Jaka Mocnik  <jaka@gnu.org>
5648
5649         * ggv/bonobo/ggv-postscript-view.c (load_ps_from_file): don't make a
5650         temporary copy if it is a local file.
5651         * ggv/src/gtkgs.c (gtk_gs_size_allocate): removed gdk_window_move() calls
5652         before changing adjustments as this will do the move anyway. also
5653         removed explicit event processing, as this caused trouble with
5654         zoom spin button and the infamous "erratic scrolling" bug.
5655         * ggv/bonobo/ggv-postscript-view.c (set_file_items_sensitivity): make
5656         Save & Print items insensitive when viewing a pdf file.
5657         * ggv/src/ggv-window.c (ggv_window_load): unescape URI for display.
5658
5659 2002-08-12  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5660
5661         * gpdf/xpdf/GOutputDev.cc: make it compile (without Type 3 support for now)
5662
5663         * gpdf/xpdf/bonobo-application-x-pdf.cc: Derek has removed the global xref
5664         variable. Remove the ``Ugly global xref fix''
5665
5666 2002-08-11  Ross Burton  <ross@burtonini.com>
5667
5668         * ggv/ggv.desktop.in: Add encoding keyword, and fix up Terminal and
5669         Categories keywords.
5670
5671 2002-08-09  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5672
5673         * gpdf/xpdf/BonoboStream.h: ditto.
5674
5675         * gpdf/xpdf/BonoboStream.cc: sync with FileStream.
5676
5677         Merge in Xpdf 1.01 files
5678
5679         * gpdf/xpdf/GOutputDev.cc (drawImage), (drawImageMask): use gdk_image_get
5680         as XGetSubImage
5681
5682 2002-08-09  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5683
5684         * gpdf/goo/Makefile.am: ditto.
5685
5686         * gpdf/configure.in: merged in Xpdf 1.01 changes.
5687
5688 2002-08-05  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5689
5690         * gpdf/xpdf/GOutputDev.h: ditto.
5691
5692         * gpdf/xpdf/GOutputDev.cc: sync with XOutputDev.cc.
5693
5694         * gpdf/xpdf/bonobo-application-x-pdf.cc (printCommands): is in Gfx.cc now
5695
5696 2002-08-04  Satyajit Kanungo  <satyajit.kanungo@wipro.com>
5697
5698         * ggv/src/gtkgs.c : Added gdk_pointer_ungrab while showing the error
5699           message. Fixes  #90639 .
5700
5701 2002-08-04  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
5702
5703         * gpdf/xpdf/BonoboStream.cc: merge in decryption code from FileStream 0.92
5704         (close): new method, from FileStream,
5705         (~bonoboStream): use close
5706
5707         * gpdf/xpdf/BonoboStream.h: #define bonoboStreamBufSize as in FileStream
5708         0.92,
5709         (bonoboStream): use it.
5710
5711 2002-08-04  Jaka Mocnik  <jaka@gnu.org>
5712
5713         * ggv/bonobo/ggv-postscript-view-ui.xml: "Move to" -> "Go to".
5714
5715 2002-08-01  Jaka Mocnik  <jaka@gnu.org>
5716
5717         * ggv/src/ggv-file-sel.[ch]: a file selection dialog for GGV. nothing
5718         special for now except that it returns URIs and has a convenience
5719         function to run a selector in modal mode and return the selected file.
5720         * ggv/bonobo/ggv-postscript-view.c (verb_FileSaveMarked): use our file
5721         selector instead of deprecated bonobo one.
5722         * ggv/src/ggv-window.c (verb_FileOpen): likewise.
5723
5724 2002-07-29  Jaka Mocnik  <jaka@gnu.org>
5725
5726         * ggv/configure.in: the last  of the single-digit micro version releases:
5727         1.99.9. tagged as GGV_1_99_9. released a tarball.
5728         * ggv/bonobo/ggv-postscript-view.c (verb_FileSaveMarked): use VFS enabled
5729         file selector.
5730         * ggv/src/ggv-window.c (sync_toolbar_style): respect both_horiz toolbar
5731         style when using GNOME defaults for toolbar style.
5732         (verb_FileOpen): use VFS enabled file selector.
5733         * ggv/src/main.c (create_windows_from_cmdline): escape file names to be
5734         URI-like.
5735         * ggv/src/ggvutils.c (ggv_filename_to_uri): new function. escape file name
5736         to conform to URI specification.
5737
5738 2002-07-28  Jaka Mocnik  <jaka@gnu.org>
5739
5740         * ggv/bonobo/ggv-postscript-view.c (impl_GNOME_GGV_PostScriptView_reload):
5741         update page list & status.
5742         * ggv/bonobo/ggv-postscript-view.c (verb_FileSaveMarked): uses bonobo
5743         file_selector.
5744         (ps_view_save_doc): save doc to URI using gnome vfs.
5745         removed all file selection related stuff.
5746         * ggv/ggv.schemas: fixed some typos.
5747         removed file selection size keys.
5748         * ggv/src/ggv-prefs.[ch]: removed file selector width/height.
5749         * ggv/bonobo/ggv-postscript-view.c (load_ps_from_file): uses gnome VFS
5750         for accessing the files.
5751         * ggv/src/ggv-window.c (verb_FileOpen): uses bonobo file selector.
5752         removed all file selection related stuff.
5753
5754 2002-07-27  Jaka Mocnik  <jaka@gnu.org>
5755
5756         * ggv/bonobo/ggv-control.c (ggv_control_create_ui): set pixbuf to fit
5757         width command.
5758         * ggv/configure.in: commented out check for Xinerama.
5759         * ggv/bonobo/Makefile.am: commented out use of Xinerama libs.
5760         * ggv/src/gtkgs.c (compute_?dpi): reverted the broken Xinerama patch.
5761         * ggv/bonobo/ggv-control-ui.xml: added pixmap for fit width command.
5762         added a fit width button to toolbar.
5763         * ggv/src/stock/fitwidth.png: image for the fit width button, which was
5764         kindly provided by johannes at sipsolutions dot de.
5765
5766 2002-07-23  Jaka Mocnik  <jaka@gnu.org>
5767
5768         * ggv/src/main.c (main): handle stdin if '-' is passed as the cmdline
5769         argument.
5770
5771 2002-07-22  Jaka Mocnik  <jaka@gnu.org>
5772
5773         * ggv/src/main.c (create_window): parse geometry if given.
5774         (main): added geometry option.
5775
5776 2002-07-20  Jaka Mocnik  <jaka@gnu.org>
5777
5778         * ggv/src/ggv-ui.xml: added Edit/Layout menu instead of the
5779         toplevel Settings menu.
5780         * ggv/bonobo/ggv-control-ui.xml: added accelerators for zoom items.
5781         * ggv/bonobo/ggv-control.c (ggv_control_key_press_event): move to top
5782         of page _after_ switching page.
5783         * ggv/src/gtkgs.c (gtk_gs_scroll_to_edge): fixed a nasty typo.
5784
5785 2002-07-17  Michael Meeks  <michael@ximian.com>
5786
5787         * ggv/bonobo/GNOME_GGV.server.in.in: rename to this,
5788         point at libexecdir.
5789
5790         * ggv/bonobo/Makefile.am: install component in $(libexecdir)
5791
5792 2002-07-07  Jaka Mocnik  <jaka@gnu.org>
5793
5794         * ggv/src/ggv-ui.xml: changed order of help menus.
5795         * ggv/bonobo/ggv-sidebar.c (page_list_selection_changed): scroll to cell
5796         selected.
5797
5798 2002-07-07  Jaka Mocnik  <jaka@gnu.org>
5799
5800         * ggv/configure.in: include Xlib.h when checking for Xinerama header.
5801
5802 2002-07-04  Jaka Mocnik  <jaka@gnu.org>
5803
5804         * ggv/bonobo/ggv-postscript-view-ui.xml: changed navigation accelerators
5805         to use Control instead of Alt.
5806         * ggv/released 1.99.8 tarball, tagged as GGV_1_99_8.
5807
5808 2002-07-02  Jaka Mocnik  <jaka@gnu.org>
5809
5810         * ggv/bonobo/ggv-postscript-view.c (notify_page_count_change): recreate
5811         page list.
5812         * ggv/src/gtkgs.c: fixed a number of segfaults when a non-realized widget
5813         is loaded.
5814
5815 2002-07-02  Jaka Mocnik  <jaka@gnu.org>
5816
5817         * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_create_ui): moved
5818         object_set() out of freeze/thaw pair. it seems to fix the vicious bug
5819         #86235. thank to satyajit for this one...
5820
5821 2002-06-30  Jaka Mocnik  <jaka@gnu.org>
5822
5823         * ggv/src/ggv-window.c (sync_settings_popup_items): fix a bug that caused
5824         GGV not to freeze ui component twice instead of freeze/thaw. popup
5825         menu crashes the control due to accel group trouble, though...
5826
5827 2002-06-27  Jaka Mocnik  <jaka@gnu.org>
5828
5829         * ggv/bonobo/ggv-control.c (ggv_control_destroy): fixed zoom_control
5830         ref counting.
5831
5832 2002-06-20  jacob berkman  <jacob@ximian.com>
5833
5834         * ggv/src/ggv-window.c (verb_HelpAbout): fix tyop
5835
5836 2002-06-20  Abel Cheung  <maddog@linux.org.hk>
5837
5838         * ggv/src/ggv-window.c (verb_HelpAbout): Added translator credits and
5839         documentor placeholders.
5840
5841 2002-06-19  Jaka Mocnik  <jaka@gnu.org>
5842
5843         * ggv/wrap sequences of bonobo_ui_component_set_prop() in a freeze/thaw
5844         pair.
5845         * ggv/src/ps.c (readline): skip blanks & 0x0c chars in front of DSC
5846         comments - chema came accross a PS file created from dvi that
5847         contains 0x0c char in front of a DSC comment. it seems appropriate
5848         that we handle such cases.
5849
5850 2002-06-16  Jaka Mocnik  <jaka@gnu.org>
5851
5852         * ggv/src/main.c: fixed some typos.
5853
5854 2002-06-14  Jaka Mocnik  <jaka@gnu.org>
5855
5856         * ggv/bonobo/ggv-postscript-view.c (load_ps): notify of a possible status
5857         change.
5858         * ggv/src/ggv-window.c (control_property_changed_handler): get error
5859         message from the "status" property of the control.
5860         * ggv/bonobo/ggv-postscript-view.c
5861         (ggv_postscript_view_get_default_orientation): fixed a memory leak.
5862         * ggv/src/gtkgs.[ch]: add a status field and update it.
5863         improved scroll region outlining.
5864
5865 2002-06-12  Jaka Mocnik  <jaka@gnu.org>
5866
5867         * ggv/tagged as GGV_1_99_7. released a tarball.
5868         * ggv/bonobo/ggv-sidebar.c (ggv_sidebar_page_changed): fixed a bug that
5869         caused not to select the first page.
5870         * ggv/removed a few warnings.
5871         * ggv/src/gtkgs.c (gtk_gs_munge_adjustments): set adjustments' page
5872         increment.
5873
5874 2002-06-12  Jaka Mocnik  <jaka@gnu.org>
5875
5876         * ggv/src/ggv-window.c (prefs_changed): apply visibility setting
5877         changes immediately.
5878         * ggv/src/ggv-prefs-ui.c (ggv_prefs_dialog_new): removed "by default"
5879         from strings. This behaviour is now less confusing.
5880         * ggv/*/*.c: dewarningization. it should now compile cleanly with -Wall.
5881
5882 2002-06-11  Jaka Mocnik  <jaka@gnu.org>
5883
5884         * ggv/src/ps.c: use the same orientation enums as GtkGS.
5885         * ggv/src/gtkgs.c: take care of per-page orientations.
5886         * ggv/src/main.c: handle the SIGINT and SIGTERM.
5887
5888 2002-06-08  Jaka Mocnik  <jaka@gnu.org>
5889
5890         * ggv/src/ggv-ui.xml: fixed a typo.
5891         * ggv/idl/Ggv.idl: added reload() method to GgvPostScriptView interface.
5892         * ggv/gtkgs.[ch] (gtk_gs_reload): a new function.
5893         * ggv/bonobo/ggv-postscript-view.c (document_changed-cb): use above.
5894         (impl_GNOME_GGV_PostScriptView_reload): implement the above method.
5895         * ggv/src/ggv-window.c (verb_FileReload): invoke reload() method of
5896         GgvPostScriptView interface.
5897         * ggv/src/ggv-window.c (gnome_toolbar_prefs_changed): respect GNOME
5898         toolbar style.
5899         * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_prefs_changed):
5900         handle setting changes here and not in gtkgs.c.
5901         (ggv_postscript_view_construct): set above to be called when
5902         GtkGS related settings change.
5903         (ggv_postscript_view_destroy): remove the above notification.
5904         * ggv/ggv-prefs-ui.c (ggv_prefs_dialog_apply): don't set OK button
5905         to insensitive.
5906         * ggv/src/ggv-prefs.c (ggv_prefs_changed): fixed a typo.
5907         * ggv/src/Makefile.am, bonobo/Makefile.am: fix the locale dir.
5908
5909 2002-06-08  Hasbullah Bin Pit <sebol@ikhlas.com>
5910
5911         * ggv/configure.in: Added Malay (ms)to ALL_LINGUAS.
5912         * ggv/po/ms.po: Added Malay Translation.
5913
5914 2002-06-05  Yanko Kaneti <yaneti@declera.com>
5915
5916         * ggv/configure.in: (ALL_LINGUAS) Added Bulgarian (bg).
5917
5918 2002-06-05  Federico Mena Quintero  <federico@ximian.com>
5919
5920         GGV still compiles with a lot of warnings if you do -Wall, but
5921         these seem to fix the most egregious control bugs.
5922
5923         * ggv/src/gtkgs.c (gtk_gs_set_page_size): Do not index on pageid if
5924         pageid is less than zero.
5925
5926         * ggv/bonobo/ggv-postscript-view.c (set_file_items_sensitivity): See
5927         if the UI component is bound to a container before trying to set
5928         properties on it.
5929         (_set_page_items_sensitivity): Likewise.
5930
5931         * ggv/bonobo/ggv-control.c (sync_zoom_level_items): Likewise.
5932         (_set_zoom_items_sensitivity): Likewise.
5933         (ggv_control_construct): Save the GConfClient notify ID.
5934         (ggv_control_destroy): Remove the GConfClient notification so the
5935         control doesn't get notified after it is destroyed.
5936
5937 2002-06-01  Jaka Mocnik  <jaka@gnu.org>
5938
5939         * ggv/src/gtkgs.c: added proper scrolling interface.
5940         * ggv/bonobo/*: fixed ref counting issues.
5941         * ggv/the above should fix most crashes, warnings, assertions, etc.
5942
5943 2002-05-31  Pablo Saratxaga <pablo@mandrakesoft.com>
5944
5945         * gpdf/configure.in: Added Vietnamese (vi) and Walloon (wa) to All_LINGUAS.
5946
5947 2002-05-30  Jaka Mocnik  <jaka@gnu.org>
5948
5949         * ggv/bonobo/ggv-sidebar.[ch]: fixed a stupid typo. this fixes the lost
5950         reference bug!
5951
5952 2002-05-29  Federico Mena Quintero  <federico@ximian.com>
5953
5954         * ggv/bonobo/ggv-postscript-view.c
5955         (ggv_postscript_view_add_interfaces): Pass the OAFIID to
5956         bonobo_persist_stream_new() as well.
5957
5958 2002-05-27  Kjartan Maraas  <kmaraas@gnome.org>
5959
5960         * ggv/src/ggv-pref-ui.c: Mark some strings for translation.
5961
5962 2002-05-26  Jaka Mocnik  <jaka@gnu.org>
5963
5964         * ggv/src/ggv-prefs.[ch], src/ggv-prefs-ui.[ch]: enable use of GNOME-wise
5965         defaults or custom settings for toolbar style.
5966         * ggv/src/ggv-window.c (sync_toolbar_style): comply to the above.
5967         * ggv/bonobo/ggv-postscript-view.c (save_file_sel_ok_clicked): always hide
5968         the file selection.
5969         * ggv/src/gtkgs.c (gtk_gs_get_postscript): fixed a crash when an EPS file
5970         was printed/saved.
5971
5972 2002-05-22  Jaka Mocnik  <jaka@gnu.org>
5973
5974         * ggv/src/main.c: applied a patch from jacob berkman that fixes session
5975         management bugs.
5976
5977 2002-05-18  Jaka Mocnik  <jaka@gnu.org>
5978
5979         * ggv/src/main.c (main): perform bonobo_debug_shutdown() before
5980         exiting.
5981
5982         * ggv/bonobo/main.c (ggv_postscript_viewer_factory): add a handler for
5983         TERM signal that performs a bonobo_debug_shutdown() in order to
5984         track reference count.
5985
5986 2002-05-14  Pablo Saratxaga  <pablo@mandrakesoft.com>
5987
5988         * ggv/configure.in: Added Vietnamese (vi) to ALL_LINGUAS
5989
5990 2002-05-13  Kjartan Maraas  <kmaraas@gnome.org>
5991
5992         * ggv/src/ggv-ui.xml: Add mnemonics and correct Help menu.
5993
5994 2002-05-13  Jaka Mocnik  <jaka@gnu.org>
5995
5996         * ggv/ggv.desktop.in: changed name to GGV PostScript Viewer. fixes #81366.
5997         * ggv/bonobo/ggv-postscript-view-ui.xml:
5998         * ggv/bonobo/ggv-control-ui.xml:
5999         * ggv/src/ggv-ui.xml:
6000         some changes to be more HIG compliant (although not fully, as
6001         I personally don't like some suggestions). fixes #81230.
6002         * ggv/src/main.c (main): added --windows parameter specifying how many
6003         empty windows should be created (needed to restore the number of
6004         windows from old session in order not to confuse the window
6005         manager).
6006         (main): connect "save_yourself" and "die" signals to SM client.
6007         (save_session): save session state (documents & empty windows).
6008         command line is used for this - no persistent data is stored.
6009         (client_die): nicely kill all windows.
6010         * ggv/src/ggv-window.c (verb_FileOpen): connect delete event of file
6011         selection to appropriate callback. fixes #81540.
6012         * ggv/fixed a few bugs with setting of sensitivity of menu items.
6013
6014 2002-05-12  Jaka Mocnik  <jaka@gnu.org>
6015
6016         * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_construct):
6017         fixed a stupid bug that caused us not to unref properly.
6018         (ggv_postscript_view_destroy): fixed a reference counting bug.
6019
6020 2002-05-11  Jaka Mocnik  <jaka@gnu.org>
6021
6022         * ggv/applied a patch from Satyajit Kanungo <satyajit.kanungo@wipro.com>
6023         fixing bug #81215 - now it compiles with latest GDK libs
6024         * ggv/src/gtkgs.c gdk_send_xevent changed to it's new signature.
6025         * ggv/configure.in: version 1.99.5. tag GGV_1_99_5.
6026         * ggv/release a new tarball.
6027
6028 2002-05-11  Jacob Berkman  <jacob@ximian.com>
6029
6030         * ggv/src/gtkgs.c (gtk_gs_next_page): fix previous commit to not break
6031         with gtk 2.0.  work also with gtk 2.1 by not using *private* gdk
6032         calls; just use XSendEvent
6033         * ggv/configure.in: include X libs in our link line
6034
6035 2002-05-07  Jaka Mocnik  <jaka@gnu.org>
6036
6037         * ggv/src/ggv-window.c (verb_FileReload): switch back to previously
6038         displayed page after reloading.
6039         * ggv/bonobo/ggv-postscript-view.c (document_changed_cb): redisplay
6040         the page that was displayed before reloading.
6041
6042 2002-05-06  Murray Cumming  <murrayc@usa.net>
6043
6044         * ggv/src/ggv-window.c: Replaced use of bonobo_window_construct() with
6045         construct-time properties and bonobo_window_get_ui_container(),
6046         now that BonoboWindow has been corrected.
6047
6048 2002-05-06  Jaka Mocnik  <jaka@gnu.org>
6049
6050         * ggv/src/configure.in: version 1.99.4. tag GGV_1_99_4.
6051
6052 2002-05-05  Jaka Mocnik  <jaka@gnu.org>
6053
6054         * ggv/bonobo/ggv-postscript-view.c (verb_FileSaveMarked): set the current
6055         path in the file selection.
6056         * ggv/src/ggv-window.c (verb_FileReload): a handler for FileReload verb.
6057         (verb_FileOpen): set the current path in the file selection.
6058         * ggv/src/ggv-ui.xml: add a verb for reloading files.
6059         * ggv/src/gtkgs.c (gtk_gs_class_init): add a document_changed signal.
6060         how did this get removed?
6061         * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_construct): add
6062         handler for document_changed signal to reload file.
6063
6064 2002-05-05  Jaka Mocnik  <jaka@gnu.org>
6065
6066         * ggv/bonobo/ggv-postscript-view.c (notify_page_change): notify sidebar
6067         of page change.
6068
6069 2002-05-04  Jaka Mocnik  <jaka@gnu.org>
6070
6071         * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_get_ps): fixed
6072         a segfault because PrintAll verb passes NULL to indicate that all
6073         pages should be returned.
6074
6075 2002-04-25  Jaka Mocnik  <jaka@gnu.org>
6076
6077         * ggv/bonobo/ggv-control.c (ggv_control_create_ui): added a zoom control
6078         showing current zoom factor.
6079         * ggv/*.xml: added placeholders and a zoom control to sidebar.
6080         * ggv/src/main.c (main): applied patch from Satyajit Kanungo to add help
6081         items.
6082         * ggv/implemented a setting for left/right placement of the side panel.
6083         currently only works in Nautilus.
6084
6085 2002-04-23  Jaka Mocnik  <jaka@gnu.org>
6086
6087         * ggv/src/gtkgs.c (gtk_gs_set_page_size): properly handle boundingbox
6088         size. fixes bug #79097.
6089
6090 2002-04-19  jaka mocnik  <jaka@gnu.org>
6091
6092         * ggv/applied a build fixage patch from kind people at mandrakesoft.
6093
6094 2002-04-18  jacob berkman  <jacob@ximian.com>
6095
6096         * ggv/acconfig.h: fix tyop busting build
6097
6098 2002-04-17  Satyajit Kanungo  <satyajit.kanungo@wipro.com>
6099
6100         * ggv/configure.in added AM_GCONF_SOURCE_2 to put the schemas file
6101           gconf.xml.defaults.
6102           Check for 'gs' package and get the path for 'gs' on a system where
6103           gs is not in the path.
6104
6105 2002-04-16  Abel Cheung  <maddog@linux.org.hk>
6106
6107         * ggv/TRANSLATABLE_FILES: moved to po/ directory.
6108         * ggv/ABOUT-NLS, INSTALL, TRANSLATABLE_FILES, install-sh,
6109           missing, mkinstalldirs, stamp-h.in, po/Makefile.in.in:
6110           Remove autogen'ed file.
6111         * ggv/acconfig.h: Added GETTEXT_PACKAGE
6112         * ggv/configure.in: GETTEXT_PACKAGE related cleanup, and removed
6113           AC_ARG_PROGRAM (does automake 1.5/1.6 require it?)
6114         * ggv/src/main.c: Use GETTEXT_PACKAGE for *textdomain*().
6115
6116 2002-04-11  jacob berkman  <jacob@ximian.com>
6117
6118         * ggv/configure.in (AC_OUTPUT): add src/cursors/Makefile
6119
6120 2002-04-11  Jaka Mocnik  <jaka@gnu.org>
6121
6122         * ggv/bonobo/ggv-postscript-view.c (save_file_sel_ok_clicked): ask before
6123         overwriting file.
6124         (view_button_press_cb): use hand cursor when moving page.
6125         (ggv_postscript_view_get_ps): really retrieve all pages if none
6126         are marked.
6127         (set_file_items_sensitivity): moved here from ggv-window.c.
6128         * ggv/bonobo/ggv-sidebar.c (ggv_sidebar_construct):  set AUTOMATIC policy
6129         for page list scrollbars.
6130         * ggv/bonobo/ggv-control.c (ggv_control_construct): set AUTOMATIC policy
6131         for scrolled window scrollbars.
6132         * ggv/src/cursors.[ch]: copied hand cursors from eog.
6133         * ggv/src/cursors/*: hand cursors
6134
6135 2002-04-05  Jaka Mocnik  <jaka@gnu.org>
6136
6137         * ggv/major revamp of sidebar, which is now a control, created by
6138         GgvPostScriptView andmerged in the container's UI. this enables us
6139         to view it in nautilus as well as in the GGV shell! according to
6140         this the save/print items have been moved to GgvPostScripView as well.
6141         * ggv/configure.in: barf in GS isn't installed. version 1.99.3. tarball
6142         release. tagged as GGV_1_99_3.
6143
6144 2002-03-30  Jaka Mocnik  <jaka@gnu.org>
6145
6146         * ggv/bonobo/ggv-postscript-view.c: take care of popup items sensitivity.
6147         * ggv/bonobo/ggv-control-ui.xml: add zoom to fit width menu items.
6148         * ggv/configure.in: bumped version to 1.99.2.
6149         * ggv/message-of-doom: made it less threatening ;)
6150         * ggv/tagged as GGV_1_99_2. released a new tarball.
6151
6152 2002-03-29  Jaka Mocnik  <jaka@gnu.org>
6153
6154         * ggv/src/gtkgs.c (gtk_gs_init): initialize scroll_start_? to -1.
6155         * ggv/src/ggv-ui.xml: add show/hide items to button 3 popup menu.
6156         * ggv/src/ggv-control-ui.xml: add navigation & zoom items to button 3
6157         popup menu.
6158         * ggv/src/ggv-window.c: get the popup UI component and merge our popup
6159         menu items into it.
6160         * ggv/bonobo/ggv-control.c: create popup menu. show it on button 3 press.
6161         * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_verbs): made global as control
6162         needs them as well to set to popup UI component.
6163
6164 2002-03-28  jacob berkman  <jacob@ximian.com>
6165
6166         * ggv/bonobo/ggv-control.c: add a dummy field to this empty struct
6167
6168         * ggv/bonobo/ggv-postscript-view.c: add a dummy field to this empty
6169         struct
6170
6171 2002-03-26  Jaka Mocnik  <jaka@gnu.org>
6172
6173         * ggv/src/ggv-prefs.c (ggv_prefs_dialog_class_init): fix a delete_event
6174         handler being set to a wrong class.
6175         * ggv/src/ggv-window.c (sync_toolbar_style): sync toolbar style with
6176         ggv_toolbar_labels setting.
6177         (ggv_window_drag_data_received): a handler for received dnd data.
6178         (ggv_window_new): set window as a drag destination.
6179         (verb_DnD*): verbs for DnD popup menu.
6180
6181 2002-03-24  Jaka Mocnik  <jaka@gnu.org>
6182
6183         * ggv/src/ggv-msg-window.[ch]: a window for display of ghostscript
6184         output, based on the obsolete gsmessage.[ch].
6185         * ggv/src/gsmessage.[ch]: removed.
6186         * ggv/bonobo/ggv-postscript-view.c (interpreter_message_cb): display
6187         output using ggv-msg-window API.
6188
6189 2002-03-23  Jaka Mocnik  <jaka@gnu.org>
6190
6191         * ggv/configure.in: always use x11alpha as the antialiased device.
6192         * ggv/released 1.99.1 tarball, tagged as GGV_1_99_1.
6193
6194 2002-03-23  Jaka Mocnik  <jaka@gnu.org>
6195
6196         * ggv/bonobo/ggv-postscript-view-ui.xml: added static paper size menu
6197         items.
6198         * ggv/bonobo/ggv-control-ui.xml: added static zoom level menu items.
6199         * ggv/bonobo/ggv-postscript-view.c (sync_size_items): made it work with
6200         static paper menu items.
6201         * ggv/bonobo/ggv-control.c (listener_ZoomLevel_cb): listener for zoom
6202         level menu items.
6203         (sync_zoom_level_items): sync zoom level items state with current
6204         zoom setting.
6205
6206 2002-03-18  Jaka Mocnik  <jaka@gnu.org>
6207
6208         * ggv/src/ggv-window.c (ggv_window_load): qualify the file to load with
6209         its full path as the control does not run with the same working dir.
6210         * ggv/configure.in: explicitly check for popt library.
6211         * ggv/[src|bonobo]/Makefile.am: link with popt.
6212
6213 2002-03-18  Jaka Mocnik  <jaka@gnu.org>
6214
6215         * ggv/src/gtkgs.c (check_pdf): use mkstemp to avoid potential security
6216         risks.
6217         (check_filecompressed): use mkstemp to avoid potential security
6218         risks.
6219         * ggv/bonobo/ggv-postscript-view.c (load_ps_from_stream): use mkstemp to
6220         avoid potential security risks.
6221
6222 2002-03-16  Jaka Mocnik  <jaka@gnu.org>
6223
6224         * ggv/src/ggv-window.c: fixed error dialogs when saving/printing with
6225         no pages are marked.
6226         * ggv/Makefile.am: install desktop files in $(prefix)/share/applications.
6227
6228 2002-03-15  Jaka Mocnik  <jaka@gnu.org>
6229
6230         * ggv/src/ggv-window.c: make save and print items sensitive only when a
6231         valid document is loaded.
6232         * ggv/bonobo/ggv-control.c: make zoom items sensitive only when a valid
6233         document is loaded.
6234         * ggv/src/gtkgs.c: less erratic current_page when a bad file is loaded.
6235         * ggv/bonobo/ggv-postscript-view.[ch]
6236         (ggv_postscript_view_get_current_page): new function.
6237
6238 2002-03-15  Jaka Mocnik  <jaka@gnu.org>
6239
6240         * ggv/src/ggv-window.c (control_property_changed_handler): handle change
6241         of page number to -1 as error.
6242         * ggv/src/gtkgs.[ch]: added interpreter_error signal.
6243         (gtk_gs_interpreter_message): handle output containing string "Error:"
6244         as an error and emit interpreter_error signal.
6245         (stop_interpreter): handle gs exiting with status 1 as error and
6246         emit interpreter_error signal.
6247
6248 2002-03-14  Jaka Mocnik  <jaka@gnu.org>
6249
6250         * ggv/configure.in: added --enable-bonobo-debug that logs bonobo component
6251         output to a file.
6252         * ggv/bonobo/main.c: implemented logging to a file to help debugging.
6253
6254 2002-03-14  Jaka Mocnik  <jaka@gnu.org>
6255
6256         * ggv/configure.in: check for Xinerama.
6257         * ggv/gtkgs.c (compute_?dpi): take possible multihead displays into
6258         accont. patch by Mike Hicks <hick0088@tc.umn.edu>.
6259         * ggv/[src|bonobo]/Makefile.am: link with Xinerama if found.
6260
6261 2002-03-13  Jaka Mocnik  <jaka@gnu.org>
6262
6263         * ggv/src/gsdefaults.c (gtk_gs_defaults_changed): fixed a bug that wrote
6264         alpha params to interpreter command.
6265         * ggv/bonobo/ggv-postscript-view.c (view_button_press_cb): grab keyboard
6266         focus of gtkgs widget.
6267
6268 2002-03-12  Jaka Mocnik  <jaka@gnu.org>
6269
6270         * ggv/src/ggv-window.c (ggv_window_get_ps_from_control): get the whole
6271         document or only a set of marked pages from the control via CORBA.
6272         (ggv_window_print_postscript): asynchronously spawn the printing
6273         command and feed the postscript to its stdin.
6274         (verb_FilePrint*): implemented.
6275         added message and question dialogs where appropriate.
6276         * ggv/bonobo/ggv-postscript-view.c: emit changes to page_count, page
6277         and orienation properties when appropriate.
6278
6279 2002-03-11  Jaka Mocnik  <jaka@gnu.org>
6280
6281         * ggv/idl/Ggv.idl: added getDocument and getPages methods.
6282         * ggv/bonobo/ggv-postscript-view.c: added implementation of the above.
6283         * ggv/src/gsio.[ch]: a wrapper for output destination for pscopy*()
6284         routines, as we dont want them to always write to a file anymore.
6285         * ggv/src/ggv-ui.xml: added FileSaveMarked, FilePrintMarked and
6286         FilePrintAll menu items.
6287         * ggv/src/ggv-window.c: implement verb FileSaveMarked. get postscript
6288         via CORBA from the PostScriptView.
6289
6290 2002-03-08  Pablo Saratxaga <pablo@mandrakesoft.com>
6291
6292         * ggv/configure.in (ALL_LINGUAS): added Basque
6293
6294 2002-03-07  Jaka Mocnik  <jaka@gnu.org>
6295
6296         * ggv/configure.in: remove AC_PACKAGE_NAME and _VERSION. they prevented
6297         proper make distcheck.
6298         * ggv/Makefile.am: include xmldocs.make and message-of-doom in distribution
6299         tarball.
6300         * ggv/src/ggvutils.c: don't include the zoom icons as we don't need them
6301         anymore.
6302         * ggv/po/POTFILES.in: fixed.
6303         * ggv/tagged as GGV_1_99_0 and released a 1.99.0 tarball.
6304
6305 2002-03-06  Jaka Mocnik  <jaka@gnu.org>
6306
6307         * ggv/src/ggv-window.c: added page marking buttons.
6308         (ggv_window_new): sync menu items with default values.
6309
6310 2002-03-05  Jaka Mocnik  <jaka@gnu.org>
6311
6312         * ggv/src/ggv-prefs.[ch]: derive prefs dialog from GtkWindow instead of
6313         GtkDialog.
6314         fixed major bugs. prefs now seem to work!
6315         (ggv_prefs_dialog_apply): apply prefs from dialog.
6316
6317 2002-03-04  Jaka Mocnik  <jaka@gnu.org>
6318
6319         * ggv/src/ggv-prefs.c: create prefs dialog. use the old layout from ggv
6320         1.0, just use a GtkDialog with a notebook instead of GnomePropertyBox.
6321         * ggv/src/gtkgs.c (start_interpreter): use configurable alpha parameters.
6322         * ggv/src/gsdefaults.[ch]: merged configurable alpha parameters code from
6323         ggv-gnome-1 branch.
6324         * ggv/configure.in: added check for GS version and appropriate setting
6325         of default alpha parameters.
6326         * ggv/ggv.schemas: add alpha parameters key.
6327
6328 2002-03-03  Jaka Mocnik  <jaka@gnu.org>
6329
6330         * ggv/src/ggv-prefs.[ch]: a new source for GGV shell prefs and prefs
6331         editing dialog. The former is there, the latter is coming...
6332         * ggv/src/Makefile.am: add the above to build.
6333         * ggv/src/ggv-window.c (ggv_window_destroy): save default window size.
6334         (file_sel_unmap): save default file selection size.
6335         * ggv/src/main.c (main): load and save GGV prefs.
6336         * ggv/src/ggv-ui.xml: Settings menu.
6337         * ggv/src/ggvutils.[ch]: moved zoom level stuff here from
6338         bonobo/ggv-control.c as it will also be needed by the shell itself.
6339         * ggv/bonobo/ggv-control.c (ggv_control_class_init): create a template
6340         for zoom level menus.
6341         (ggv_control_create_ui): merge the zoom level menus. it currently does
6342         not work well.
6343
6344 2002-03-03  Jaka Mocnik  <jaka@gnu.org>
6345
6346         * ggv/bonobo/ggv-control-ui.xml: added.
6347         * ggv/po/POTFILES.in: updated to reflect the real situation.
6348
6349 2002-03-03  Carlos Perelló Marín <carlos@gnome-db.org>
6350
6351         * ggv/src/callbacks.c: Fixed the translator option at about dialog.
6352         * ggv/configure.in: Added AC_PREREQ(2.52), this way, if you have also
6353         autoconf 2.13 it works.
6354
6355 2002-03-02 John Fleck <jfleck@inkstain.net>
6356
6357         add
6358         * ggv/xmldocs.make
6359         * ggv/help/C/ggv.xml, help/C/legal.xml,
6360         help/C/figures/example_screenshot.eps & example_screenshot.png
6361         changed
6362         * ggv/help/Makefile.am
6363         * ggv/help/C/Makefile.am
6364         * ggv/help/C/ggv-C.omf
6365         adding Sun docs
6366
6367 2002-03-02  Jaka Mocnik  <jaka@gnu.org>
6368
6369         * ggv/bonobo/ggv-control-ui.xml: moved ui from source to file. extend it
6370         with toolbar buttons for zooming.
6371         * ggv/bonobo/ggv-postscript-view-ui.xml: added first and last page items.
6372         added navigation buttons.
6373         * ggv/bonobo/ggv-postscript-view.c: added verbs for first and last page.
6374         * ggv/bonobo/ggv-control.c: fixed zooming. zoomable is not derived from
6375         GTK_OBJECT!
6376         * ggv/src/stock/Makefile.am: only install the toggle pixmaps as we
6377         won't need the others.
6378         * ggv/src/ggv-window.c: added about dialog.
6379         * ggv/src/ggvutils.[ch] (ggv_raise_and_focus_widget): new utility function.
6380
6381 2002-02-28  Jaka Mocnik  <jaka@gnu.org>
6382
6383         * ggv/src/main.c: removed old ggv code. it remains in ggv-gnome-1
6384         branch in order to reuse pieces of it in the new ggv.
6385         * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_construct):
6386         add key press event mask to gs widget.
6387         * ggv/ggv.schemas: key "/apps/ggv/layout/autojump" changed to
6388         "/apps/ggv/control/autojump" as it became a control-specific
6389         setting.
6390         * ggv/src/gtkgs.c (gtk_gs_scroll_step): new function that performs
6391         scroll stepping.
6392         (gtk_gs_scroll_to_edge): scrolls to desired edges.
6393         fix scrolling rect drawing. it required processing the events
6394         caused by gdk_window_move() before drawing rectangle.
6395         * ggv/bonobo/ggv-control.c (ggv_control_construct): added key press
6396         handler.
6397         added gconf notify for key "/apps/ggv/control/autojump".
6398         show scrolling rectangle when using scrollbars to scroll.
6399
6400 2002-02-26  Jaka Mocnik  <jaka@gnu.org>
6401
6402         * ggv/src/gtkgs.c: fixed scrolling policy to comply with scrolled
6403         window's requirements.
6404         * ggv/bonobo/ggv-postscript-view.c: add panning.
6405         * ggv/src/ggv-window.[ch]: get rid of the scrollpane as the control
6406         now provides scrollbars.
6407
6408 2002-02-25  Jaka Mocnik  <jaka@gnu.org>
6409
6410         * ggv/src/gg-prefs-ui.c: applied a patch from Hidetoshi Tajima to make
6411         page sizes in prefs dialog translatable.
6412         * ggv/src/ggv-window.c (ggv_window_remove_control): only deactivate
6413         control if there actually is one ;)
6414
6415 2002-02-23  Jaka Mocnik  <jaka@gnu.org>
6416
6417         * ggv/src/ggv-window.c (page_list_selection_changed): change pages
6418         when a new cell in the check list changes.
6419         (control_property_changed_handler): handle changes of page
6420         property.
6421
6422 2002-02-22  Jaka Mocnik  <jaka@gnu.org>
6423
6424         * ggv/src/ggv-window.c (ggv_window_create_page_list): new function that
6425         fetches page names from the control and puts them in the check list.
6426         * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_get_prop):
6427         implement page, page_count and page_names properties.
6428
6429 2002-02-20  Jaka Mocnik  <jaka@gnu.org>
6430
6431         * ggv/src/gtkchecklist.c: migrated to Gtk+2 tree MVC framework.
6432         * ggv/src/ggv.window.c: add a checklist to sidebar. we don't populate
6433         it yet as we first need a CORBA interface to our PostscriptView
6434         to allow for fetching page names.
6435         * ggv/idl/Ggv.idl: added typedefs for PageName and PageNameList.
6436
6437 2002-02-19  Jaka Mocnik  <jaka@gnu.org>
6438
6439         * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_create_ui):
6440         fixed a buggy path that prevented merging of size menus. They
6441         still don't show quite right though.
6442
6443 2002-02-17  Jaka Mocnik  <jaka@gnu.org>
6444
6445         * ggv/src/ggv-window.c (ggv_window_new): add event source listener to
6446         property bag.
6447         (control_property_changed_handler): handler for events from property
6448         bag.
6449         * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_construct): add
6450         status & title properties.
6451         (ggv_postscript_view_get_prop): return title & status properties.
6452         (load_ps): loads ps from file & emits all the necessary notifications.
6453         used in both load_ps_from_stream & load_ps_from_file.
6454         * ggv/bonobo/ggv-postscript-view-ui.xml: cmd/menuitem separation.
6455
6456 2002-02-17  Duarte Loreto <happyguy_pt@hotmail.com>
6457
6458         * gpdf/configure.in: Added pt to All_LINGUAS.
6459
6460 2002-02-16  Jaka Mocnik  <jaka@gnu.org>
6461
6462         * ggv/src/gtkscrollpane.c: changed in order to behave in a gtkscrollbar
6463         manner which is compatible with gtkviewport.
6464         * ggv/src/gtkscrollpane.[ch]: removed all traces of unsued member
6465         aspect_ratio.
6466         * ggv/src/ggv-window.c (ggv_window_new): add scrollpane to scrollbar.
6467         window-sizing fix.
6468         (ggv_app_verbs): added New & Close.
6469         * ggv/src/Makefile.am: readded gtkscrollpane.[ch] to sources.
6470         * ggv/src/ggv-ui.xml: fixed verb names.
6471         * ggv/idl/Ggv.idl: UPSIDE_DOWN -> UPSIDEDOWN to match GtkGS names.
6472         * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_construct):
6473         add width, height and orientation properties.
6474
6475 2002-02-14  Jaka Mocnik  <jaka@gnu.org>
6476
6477         * ggv/src/gtkgs.c (gtk_gs_next_page): fixed broken XEvent abusing code.
6478         (gtk_gs_load): call gtk_gs_set_page_size().
6479         * ggv/src/ggv-window.[ch]: main window for GGV, derived from BonoboWindow.
6480         * ggv/src/main.c: all-new-startup code.
6481         * ggv/src/ggv-ui.xml: bonobo UI for GGV.
6482         * ggv/bonobo/*: some bugfixes.
6483         * ggv/removed most of the old stuff from build.
6484         * ggv/GGV now barely shows the PS in a control and allows to move fwd/bwd.
6485
6486 2002-02-08  Jaka Mocnik  <jaka@gnu.org>
6487
6488         * ggv/imported Gnome2 port from Satyajit Kanungo.
6489         * ggv/fixed build system.
6490         * ggv/bonobo/*: port to Gnome2. it currently compiles.
6491         * ggv/updated AUTHORS, MAINTAINERS and, most important, TODO
6492
6493 2002-01-20  Stanislav Brabec  <utx@penguin.cz>
6494
6495         * ggv/gtkgs.c: Be able to scroll exactly to margin (especially
6496         with mouse wheel). This makes visible another bug - scroll
6497         pane is able to scroll only few pixels apart from margin.
6498         * ggv/callbacks.c: Cosmetical (spaces).
6499
6500 2001-11-19  Jaka Mocnik  <jaka@gnu.org>
6501
6502         * ggv/src/gtkgs.c (start_interpreter): chdir() to the current dir of
6503         ps file in the child process to prevent screwing up the ggv's cwd.
6504         * ggv/ggv/ggv.schemas: fix a typo.
6505         * ggv/released 1.1.93 tarball.
6506
6507 2001-11-18  Jaka Mocnik  <jaka@gnu.org>
6508
6509         * ggv/src/*.[ch]: applied a patch from Laurent Mazet that adds a
6510         --nostatusbar option to ggv.
6511         added (popup)menu items for statusbar visibility.
6512         handle showstatusbar preferences option properly.
6513         added show statusbar option to preferences menu.
6514         * ggv/ggv.schemas: add nostatusbar boolean key.
6515         * ggv/help/C/ggv.sgml: described --nostatusbar option.
6516
6517 2001-11-15  Jaka Mocnik  <jaka@gnu.org>
6518
6519         * ggv/src/gtkgs.[ch]: added document_changed signal that is emitted
6520         when the loaded file changes.
6521         * ggv/src/gtkgs.c (timer_callback): emit document_changed signal.
6522         * ggv/src/callbacks.c (document_changed_callback): a handler for the
6523         document_changed signal that reloads the file.
6524         * ggv/help/C/ggv.sgml: removed last traces of "media".
6525
6526 2001-11-13  Jaka Mocnik  <jaka@gnu.org>
6527
6528         * ggv/bonobo/ggv-postscript-view.c: fix setting UI from xml.
6529         * ggv/src/stock: added missing pixmaps.
6530         * ggv/src/main.c: removed last traces of 'media'.
6531         * ggv/configure.in: add --disable-install-schemas switch.
6532         * ggv/Makefile.am: install schemas conditionally if INSTALL_SCHEMAS
6533         is true. Install schemas file to $(sysconfdir)/gconf/schemas.
6534         * ggv/ggv.spec.in: install schemas stuff in %post phase.
6535         * ggv/released 1.1.92 tarball.
6536
6537 2001-11-12  Stanislav Brabec  <utx@penguin.cz>
6538
6539         * ggv/idl/Ggv.idl, src/ps.h, src/main.c, src/ps.c, src/callbacks.c,
6540         src/ggvwindow.h, src/gtkgs.c, src/gtkgs.h, src/gsdefaults.c,
6541         src/gsdefaults.h, bonobo/ggv-postscript-view.h,
6542         bonobo/ggv-postscript-view-ui.xml, bonobo/ggv-postscript-view.c,
6543         ggv.schemas, help/C/ggv.sgml: Terminology change - change "media"
6544         to "page size" or "media size" everywhere to prevent ambiguities
6545         of PostScript parameters.  Page Media is a set of PostScript
6546         parameters, containing page size, media color, media type etc.
6547
6548 2001-11-09  Wang Jian  <lark@linux.net.cn>
6549
6550         * ggv/configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN.
6551
6552 2001-11-06  Jaka Mocnik  <jaka@gnu.org>
6553
6554         * ggv/src/main.c (ggv_toolbar_set_labels): new function.
6555         * ggv/src/main.c: add a checkbox for toolbarlabels setting in prefs
6556         dialog.
6557         * ggv/src/prefs.c (ggv_prefs_load): added handling of toolbarlabels
6558         setting.
6559         * ggv/ggv.schemas: added toolbarlabels key.
6560         * ggv/released 1.1.91 tarball.
6561
6562 2001-11-04  Jaka Mocnik  <jaka@gnu.org>
6563
6564         * ggv/configure.in: use AM_GCONF_SOURCE.
6565         * ggv/Makefile.am: use GCONF_SCHEMA_CONFIG_SOURCE provided by above.
6566         * ggv/help/C/ggv.sgml: use "-//GNOME//DTD DocBook PNG Variant V1.1//EN".
6567
6568 2001-11-02 John Fleck <jfleck@inkstain.net
6569
6570         * ggv/help/C/ggv.sgml - checking in Jonathan Bartlett's updated help
6571         doc
6572
6573 2001-10-30  Roy-Magne Mo <rmo@sunnmore.net>
6574
6575         * gpdf/configure.in: Added nn to All_LINGUAS.
6576
6577 2001-10-23  Jaka Mocnik  <jaka@gnu.org>
6578
6579         * ggv/src/gtkgs.c (gtk_gs_load): "absolutize" relative filename paths.
6580
6581 2001-10-18  Jaka Mocnik  <jaka@gnu.org>
6582
6583         * ggv/bonobo/GNOME_GGV.oaf.in: removed embeddable server.
6584         * ggv/bonobo/ggv-postscript-view.c: removed conf_client
6585         initialization.
6586
6587 2001-10-09  Jaka Mocnik  <jaka@gnu.org>
6588
6589         * ggv/src/gtkgs.c (start_interpreter): properly handle multiple
6590         arguments in interpreter command.
6591
6592 2001-09-26  Abel Cheung <maddog@linux.org.hk>
6593
6594         * gpdf/configure.in: Added zh_TW to ALL_LINGUAS.
6595
6596 2001-09-25  Fatih Demir <kabalak@gtranslator.org>
6597
6598         * ggv/\*/.cvsignore: Added some small cvsignore files.
6599
6600 2001-09-19  Jaka Mocnik  <jaka@gnu.org>
6601
6602         * ggv/bonobo/ggv-control.c (zoomable_zoom_to_fit_cb): properly compute
6603         new zoom level.
6604         * ggv/bonobo/ggv-postscript-view.c (view_button_[press|release]_cb): call
6605         gtk_gs_[start|end]_scroll(), respectively.
6606         (ggv_postscript_view_zoom_to_fit): make it return zoom level that
6607         will make the document fit.
6608
6609 2001-09-17  Jaka Mocnik  <jaka@gnu.org>
6610
6611         * ggv/added gconf initialization to bonobo component.
6612         * ggv/applied some patches for compilation with gcc 3.0.
6613
6614 2001-09-09  Wang Jian  <lark@linux.net.cn>
6615
6616         * gpdf/configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN.
6617
6618 2001-08-31  Abel Cheung  <maddog@linux.org.hk>
6619
6620         * ggv/configure.in (ALL_LINGUAS): zh_TW.Big5 -> zh_TW
6621
6622 2001-08-30  Jaka Mocnik  <jaka@gnu.org>
6623
6624         * ggv/applied a patch by Werner Koerner
6625         <wernerk.koerner@zae.uni-wuerzburg.de>. see below.
6626         * ggv/main.c: Added new function zoom_to_fit. It sets the new zoom factor
6627         and updates the status line and the zoom submenu accordingly.
6628         Added possibility to zoom to page width.
6629         Added menu 'fit to width' to zoom submenu.
6630         * ggv/gtkgs.c (gtk_gs_zoom_to_fit): this function now only calculates the
6631         zoom factors, changing them is done in main.c/zoom_to_fit
6632         * ggv/callbacks.c: added zoom_to_fit_width_callback
6633         * ggv/main.c (refresh_coordinates): Refresh coordinates only if sidebar is
6634         visible. Remove call to ggv_menus_set_visible which overrides
6635         hiding/showing the menubar.
6636         * ggv/main.c (ggv_panel_set_visible): Add call to refresh_coordinates to
6637         initialize coordinate display when panel is shown.
6638         * ggv/gtkchecklist.c (gtk_check_list_clear): fixed memory leak
6639         * ggv/gtkgs.c (gtk_gs_destroy): fixed memory leak
6640         (gtk_gs_unrealize): new unrealize handler. fixes a mem-leak.
6641         * ggv/gtkgs.c (start_interpreter): It makes no sense to quote the filename
6642         in the argv-array - removed. Now most files containing special
6643         characters should work except uncompressed pdf-files.
6644         * ggv/gsdefaults.c (gtk_gs_defaults_get_scan_pdf_cmd): Remove quotes from
6645         default command line as filenames are either already quoted or
6646         temporary files which dont contain any special characters.
6647         * ggv/ggvutils.c (ggv_quote_filename): Quote '%'-character.
6648         * ggv/gtkgs.c (start_interpreter): Change to the directory of the input
6649         file, then start gs. This helps with some postscript files which
6650         include other files  using relative paths (i.e. ghostscript's example
6651         chess.ps).
6652
6653 2001-08-20  Ravi Pratap  <ravi@che.iitm.ac.in>
6654
6655         * gpdf/MAINTAINERS :  Create and add Michael and myself to it.
6656
6657 2001-08-20  Jaka Mocnik  <jaka@gnu.org>
6658
6659         * ggv/help/C/ggv.sgml: described dash filename.
6660         * ggv/src/main.c (main): don't open stdin if no filenames have been
6661         specified and the stdin isn't a tty. implement reading stdin if a
6662         dash was specified among filenames.
6663
6664 2001-08-19  Zbigniew Chyla  <cyba@gnome.pl>
6665
6666         * gpdf/Makefile.am (SUBDIRS): Added po.
6667
6668         * gpdf/configure.in (AC_OUTPUT): Added intl/Makefile po/Makefile.in.
6669
6670         * gpdf/xpdf/Makefile.am (INCLUDES): Added -DGNOMELOCALEDIR.
6671
6672         * gpdf/xpdf/bonobo-application-x-pdf.cc (main): Set textdomain and locale.
6673
6674         * gpdf/xpdf/gpdf.cc (main): ditto.
6675         Marked a few strings for translation.
6676
6677 2001-08-13  Jaka Mocnik  <jaka@gnu.org>
6678
6679         * ggv/src/main.c (open_prefs_dialog): add a check button for outlining
6680         last visible part of page when scrolling.
6681         * ggv/configure.in: bumped version to 1.1.1 and released a new tarball.
6682
6683 2001-08-12  Ravi Pratap  <ravi@che.iitm.ac.in>
6684
6685         * gpdf/xpdf/bonobo-application-x-pdf-ui.xml : Add ZoomFitHeight verb and toolbar
6686         item.
6687
6688         * gpdf/xpdf/bonobo-application-x-pdf.h (VERB_Z_FIT): Rename to VERB_Z_FIT_WIDTH
6689         (VERB_Z_FIT_HEIGHT): Add
6690
6691         * gpdf/xpdf/bonobo-application-x-pdf.cc (verbs): Update to use the new
6692         verbs and names.
6693         (view_zoom_verb): update accordingly
6694         (zoom_to_fit): Modify to take an extra argument determining type of fit. Use
6695         the scrolled_window to determine allocation height and width.
6696
6697         * gpdf/xpdf/Makefile.am : Comment out unnecessary targets
6698
6699 2001-08-11  Jaka Mocnik  <jaka@gnu.org>
6700
6701         * ggv/src/gtkgs.c (gtk_gs_*_scroll): functions to mark beginning and
6702         end of a scrolling session.
6703         (*) wrapped all gdk_window_move(gs->pstarget ...) in drawing
6704         rectangles if we are scrolling.
6705         (gtk_gs_defaults_changed): get new values directly from gconf as we
6706         can't be sure that the other callback (the one from gsdefaults.c)
6707         was called before us.
6708         * ggv/src/gsdefaults.c (gtk_gs_defaults_changed): act properly on
6709         configuration changes.
6710         * ggv/ggv.schemas: add show_scroll_rect.
6711
6712 2001-08-10  Ravi Pratap  <ravi@che.iitm.ac.in>
6713
6714         * gpdf/xpdf/stock-zoom-in.xpm : Add
6715
6716         * gpdf/xpdf/stock-zoom-out.xpm : Add
6717
6718         * gpdf/xpdf/stock-zoom-fit.xpm : Add
6719
6720         * gpdf/xpdf/stock-zoom-fit-wide.xpm : Add
6721
6722         * gpdf/xpdf/stock-zoom-fit-tall.xpm : Add
6723
6724         * gpdf/xpdf/Makefile.am : Update, add targets etc.
6725
6726         * gpdf/xpdf/bonobo-application-x-pdf.cc (view_zoom_verb): Change zoom
6727         factor to 1.2 which is more correct
6728         (zoom_to_fit): Small tweak to enable better approximation
6729
6730         * gpdf/xpdf/bonobo-application-x-pdf-ui.xml : Change ZoomFit to ZoomFitWidth.
6731
6732         * gpdf/xpdf/bonobo-application-x-pdf.cc : Update to use the new name.
6733
6734 2001-08-10  Jaka Mocnik  <jaka@gnu.org>
6735
6736         * ggv/src/main.c, src/callbacks.c: fixed increasing/decreasing
6737         magnification. removed magstep member from ggv_window.
6738
6739 2001-08-09  Ravi Pratap  <ravi@che.iitm.ac.in>
6740
6741         * gpdf/xpdf/bonobo-application-pdf-ui.xml: Add Zoom items to the
6742         toolbar
6743
6744 2001-08-01  Jaka Mocnik  <jaka@gnu.org>
6745
6746         * ggv/src/main.c (ggv_*_set_visible): functions for setting visibility
6747         of panel/menus/toolbar.
6748         * ggv/src/prefs.c: finished migration to gconf. new prefs behaviour
6749         is to sync all open ggvs with prefs changes of both UI shell and
6750         the GtkGS widget.
6751
6752 2001-07-22  Jaka Mocnik  <jaka@gnu.org>
6753
6754         * ggv/src/main.c (synchronize_*_wd): new functions that sync UI with
6755         default values. these are needed as we can't rely on the order
6756         that the gconf notify functions will be called in.
6757
6758 2001-07-22  Jaka Mocnik  <jaka@gnu.org>
6759
6760         * ggv/src/gtkgs.c (start_interpreter): enclose filename in quotes when
6761         creating GS command line in order to properly handle filenames with
6762         spaces.
6763
6764 2001-07-18  Jaka Mocnik  <jaka@gnu.org>
6765
6766         * ggv/src/gtkgs.c (gtk_gs_defaults_changed): redisplay when zoom
6767         changes.
6768         * ggv/src/main.c: improve logic for determining magstep from zoom factor.
6769
6770 2001-07-14  Kjartan Maraas  <kmaraas@gnome.org>
6771
6772         * ggv/configure.in: Added "nn" to ALL_LINGUAS.
6773
6774 2001-07-13  Jaka Mocnik  <jaka@gnu.org>
6775
6776         * ggv/moved the rest of config code in ggv to gconf.
6777         * ggv/ggvutils.[ch] (ggv_compute_zoom): moved here from main.c.
6778         (ggv_compute_spec): new function. inverse of ggv_compute_zoom().
6779         * ggv/gsdefaults.c: moved gconf client initialization from GtkGS class
6780         code to here.
6781
6782 2001-07-10  Ravi Pratap  <ravi@che.iitm.ac.in>
6783
6784         * gpdf/xpdf/gpdf.cc (main): Make indentation consistent with the
6785         rest of the source
6786
6787 2001-07-08  Jaka Mocnik  <jaka@gnu.org>
6788
6789         * ggv/src/gtkgs.c (gtk_gs_init): add notification callbacks to gtkgs
6790         gconf client.
6791         (gtk_gs_class_init): get default gconf client. assert if gconf
6792         is not initialized!
6793         (gtk_gs_get_gconf_client): access to the gtkgs gconf client.
6794         * ggv/src/prefs.c: removed gtkgs prefs as these are now handled by
6795         gconf.
6796         * ggv/src/main.c (main): initialize gconf.
6797         (set_gs_prefs): removed setting of GtkGS prefs as this is now
6798         handled by GtkGS gconf notification callbacks.
6799         * ggv/src/callbacks.c (prefs_apply_callback): save GtkGS prefs separately.
6800         * ggv/src/gtkscrollpane.c: removed some warnings. make use of default
6801         unrealize signal handler.
6802
6803 2001-07-03  Jaka Mocnik  <jaka@gnu.org>
6804
6805         * ggv/src/gsdefaults.[ch]: home for all the gtk_gs_defaults_* stuff that
6806         was once in gtkgs.[ch].
6807         (gtk_gs_defaults_load, gtk_gs_defaults_save): restore/save config
6808         using GConf.
6809         ggvutils.[ch]: moved unit and orientation labels, paper sizes and
6810         unit factors here from various places.
6811         (ggv_split_string, ggv_get_index_of_string): utility functions
6812         that were once static to their sources.
6813
6814 2001-07-02  Jaka Mocnik  <jaka@gnu.org>
6815
6816         * ggv/bonobo/ggv-postscript-view.c (sync_*_items): removed debugging
6817         output.
6818         (ggv_postscript_view_construct): fixed media property of PropertyBag.
6819         (listener_Media_cb): don't free media: arg_release() will take care of
6820         it.
6821         prefs.[ch]: removed gs*_cmd global variables as they are now stored
6822         in GtkGSDefaults. fixed prefs io functions to respect this.
6823         * ggv/main.c (synchronize_*_items): new function to enable/disable
6824         paper/orientation items according to respective override setting.
6825
6826 2001-07-01  Ravi Pratap  <ravi@che.iitm.ac.in>
6827
6828         * gpdf/xpdf/gpdf-ui.xml: Make the print menu item visible.
6829
6830 2001-06-30  Jaka Mocnik  <jaka@gnu.org>
6831
6832         * ggv/src/prefs.c (set_prefs): apply settings for auto jump to
6833         beginning of the page.
6834
6835 2001-06-22  Ravi Pratap  <ravi@che.iitm.ac.in>
6836
6837         * gpdf/configure.in: Fix a daft error of mine; ask for cflags
6838         and libs of bonobox instead
6839
6840 2001-06-20  Karl Eichwalder  <ke@suse.de>
6841
6842         * ggv/configure.in: Remove AM_PROG_XML_I18N_TOOLS (duplicate).
6843
6844 2001-06-16  Ravi Pratap  <ravi@che.iitm.ac.in>
6845
6846         * gpdf/configure.in: Fix logic for bonobo checking to stop if
6847         bonobo is not found.
6848
6849 2001-05-31  Karl Eichwalder  <ke@suse.de>
6850
6851         * ggv/bonobo/GNOME_GGV.oaf.in: s/Postscript/PostScript/ for _value
6852         strings.
6853
6854         * ggv/Merge in xml-i18n-tools-0-8-4-branch.
6855
6856         * ggv/configure.in (ALL_LINGUAS): Add 'hr'.
6857
6858         * ggv/Start to apply xml-i18n-toolization running xml-i18n-prepare
6859         (0.8.4):
6860         * ggv/Makefile.am (EXTRA_DIST): Add xml-i18n-extract.in
6861         xml-i18n-merge.in xml-i18n-update.in.
6862         * ggv/xml-i18n-extract.in: Add from xml-i18n-tools 0.8.4.
6863         * ggv/xml-i18n-update.in: Ditto.
6864         * ggv/xml-i18n-merge.in: Ditto.
6865
6866         * ggv/configure.in: Add AM_PROG_XML_I18N_TOOLS.
6867
6868         * ggv/Makefile.am (Graphics_DATA): Fix ggv.desktop entry.
6869         * ggv/.cvsignore: Add ggv.desktop.
6870         * ggv/ggv.desktop: Remove file.
6871         * ggv/ggv.desktop.in: New file.
6872
6873 2001-05-30  Jaka Mocnik  <jaka@gnu.org>
6874
6875         * ggv/src/ggvwindow.h (struct _ggv_window): added more members for
6876         some menu & popup-menu items.
6877         * ggv/src/main.c: added First/Last Page menu and popup menu-items.
6878         patch submitted by Dan E. Kelley <dan.kelley@dal.ca>.
6879         Implemented setting of sensitivity of new menu & popup-menu items.
6880
6881 2001-05-25  Jaka Mocnik  <jaka@gnu.org>
6882
6883         * ggv/src/prefs.c (load_prefs): really set default zoom factor. fixes
6884         bug #55182.
6885
6886 2001-05-17  Jaka Mocnik  <jaka@gnu.org>
6887
6888         * ggv/src/callbacks.c: apply/save file selection dialog dimensions.
6889         * ggv/src/prefs.[ch]: save/load file selection dialog dimensions to/from
6890         config file. fixes bug #54652.
6891
6892 2001-05-17  Jaka Mocnik  <jaka@gnu.org>
6893
6894         * ggv/src/main.c (create_popup_menus): added more keyboard accelerators.
6895         (create_menus): fixed keyboard accelerators clashes. fixes bug #54654.
6896         * ggv/src/callbacks.c (toggle_*_pages_callback): really _toggle_,
6897         don't just _set_ them. fixes bug #54653.
6898
6899 2001-05-11  Gediminas Paulauskas <menesis@delfi.lt>
6900
6901         * ggv/src/callbacks.c: add missing }
6902
6903 2001-05-10  Jaka Mocnik  <jaka@gnu.org>
6904
6905         * ggv/src/callbacks.c (button_press_callback): added zoom-in function to
6906         middle-button.
6907         * ggv/src/gtkgs.[ch] (gtk_gs_set_center): new function.
6908         * ggv/bonobo/ggv-postscript-view.c (sync_radio_items): fix syncing for
6909         orientation items.
6910         * ggv/bonobo/ggv-postscript-view-ui.xml: added needed verbs with their
6911         states.
6912
6913 2001-05-03  Jaka Mocnik  <jaka@gnu.org>
6914
6915         * ggv/bonobo/ggv-postscript-view.[ch]: move media menu template to
6916         class structure.
6917         (ggv_postscript_view_class_init): build media menus. properly
6918         encode translated strings.
6919
6920 2001-04-28  Jaka Mocnik  <jaka@gnu.org>
6921
6922         * ggv/src/main.c (create_toolbar): respect toolbar labels preferences.
6923
6924 2001-04-23  Jaka Mocnik  <jaka@gnu.org>
6925
6926         * ggv/bonobo/ggv-postscript-view-ui.xml: added a placeholder for media
6927         menus.
6928         * ggv/bonobo/ggv-postscript-view.c (build_media_menu): build a
6929         BonoboUINode tree for a menu of media types.
6930         (ggv_postscript_view_construct): build a template for media menus.
6931         (ggv_postscript_view_create_ui): copy media menu template and create
6932         set the copied tree.
6933
6934 2001-04-22  Jaka Mocnik  <jaka@gnu.org>
6935
6936         * ggv/src/gtkgs.[ch] (gtk_gs_get_current_page, gtk_gs_get_page_count): new
6937         functions.
6938         * ggv/bonobo/ggv-postscript-view-ui.xml: added NextPage and PrevPage verbs
6939         and menuitems.
6940         * ggv/bonobo/ggv-postscript-view.c (verb_NextPage_cb, verb_PrevPage_cb):
6941         verb callbacks.
6942         (ggv_postscript_view_create_ui): add verbs.
6943         (set_page_item_sensitivity): set PrevPage and NextPage sensitivity.
6944
6945 2001-04-20  Jaka Mocnik  <jaka@gnu.org>
6946
6947         * ggv/merged in changes from ggv-1.0 where appropriate,
6948         * ggv/gtkgs.[ch]: implemented missing accessors in GtkGS API.
6949         * ggv/bonobo/ggv-postscript-view.c: worked on UI stuff.
6950         * ggv/finally commited changes to CVS.
6951
6952 2001-04-20  Jaka Mocnik  <jaka@barbara>
6953
6954         * ggv/src/callbacks.[ch] (zoom_to_fit_callback): new function.
6955         * ggv/src/gtkgs.[ch] (gtk_gs_zoom_to_fit): new function.
6956         * ggv/src/main.c (create_menus): added "Zoom to fit" item.
6957         * ggv/bonobo/ggv-postscript-view.c (ggv_postscript_view_zoom_to_fit):
6958         implemented.
6959
6960 2001-04-13  Jaka Mocnik  <jaka@gnu.org>
6961
6962         * ggv/bonobo/*: new directory with bonobo stuff.
6963         * ggv/removed old bonobo embeddable.
6964         * ggv/compile GtkGS in a library that links with both GGv and
6965         bonobo component.
6966         * ggv/fixed lots of compile warnings.
6967         * ggv/added prototypes for functions that didn't have them yet.
6968
6969 2001-03-29  Jaka Mocnik  <jaka@gnu.org>
6970
6971         * ggv/ps.h (struct documentmedia): Moved to gtkgs.h and renamed to
6972         GtkGSPaperSize.
6973         * ggv/ps.c: comply to above.
6974         * ggv/src/gtkgs.h (struct _GtkGS): changed default_page_media to
6975         default_media.
6976         (gtk_gs_*_default_media): add prototypes.
6977         (gtk_gs_defaults_get_paper_sizes, gtk_gs_defaults_get_paper_count):
6978         new functions.
6979         * ggv/src/gtkgs.c: comply with above changes.
6980         (gtk_gs_defaults_get_paper_sizes, gtk_gs_defaults_get_paper_count):
6981         new functions. return array of GtkGSPaperSizes and length of that
6982         array. this will allow us to add paper types in the future.
6983         * ggv/ggvwindow.h (struct _ggv_window): make menudata and paper_menu
6984         members pointers instead of fixed-size arrays.
6985         (struct _ggv_prefs): do the same with media_choice member.
6986         * ggv/main.c: dynamically allocate/free above members.
6987
6988 2001-03-28  Jaka Mocnik  <jaka@gnu.org>
6989
6990         * ggv/src/gtkgs.[ch]: major beautification of GtkGS APIs.
6991         (gtk_gs_set_pagemedia): becomes gtk_gs_set_page_media().
6992         (gtk_gs_set_orientation): becomes gtk_gs_set_default_orientation().
6993         (gtk_gs_get_default_orientation): new accessor.
6994         (gtk_gs_document*): become gtk_gs_get_document*().
6995         (gtk_gs_set_override_orientation, gtk_gs_get_override_orientation,
6996         gtk_gs_set_override_media, gtk_gs_get_override_media): new accessors.
6997         Changed name of all gtkgs_defaults functions.
6998         * ggv/src/prefs.c (save_prefs): save respect EOF settiing.
6999         * ggv/*.[ch]: changed all to comply with above API changes.
7000
7001 2001-03-24  Jaka Mocnik  <jaka@gnu.org>
7002
7003         * ggv/src/main.c (refresh_coordinates): refresh coordinates label.
7004         (apply_gs_prefs): call refresh_coordinates().
7005         (open_prefs_dialog): add another choice menu for units for coordinate
7006         display.
7007         * ggv/src/callbacks.c (motion_callback): only set new coordinate members
7008         of ggv_window to cursor position in inches.
7009         * ggv/src/prefs.[ch]: renaming.
7010         load & save preferred coordinate display units.
7011
7012 2001-03-23  Jaka Mocnik  <jaka@gnu.org>
7013
7014         * ggv/src/callbacks.c (motion_callback): report coordinates. currently in
7015         points. TODO: implement conversion to metric and anglo-saxon units.
7016         * ggv/src/main.c (load_gs): clear coordinates label.
7017         (create_toolbar): added navigation and zoom buttons.
7018         (create_sidebar): removed navigation and zoom buttons, moved
7019         coordinates label below scrollpane.
7020
7021 2001-03-17  Ravi Pratap  <ravi@che.iitm.ac.in>
7022
7023         * gpdf/configure.in : Fixed logic to determine bonobo
7024         version.
7025
7026         * gpdf/gpdf.desktop : Exec=gpdf and not xpdf.
7027
7028 2001-03-08  Jaka Mocnik  <jaka@gnu.org>
7029
7030         * ggv/removed german help translation from ditribution.
7031         * ggv/bumped version to 1.0 and released a new tarball for GNOME 1.4.
7032
7033 2001-03-05  Jaka Mocnik  <jaka@gnu.org>
7034
7035         * ggv/src/main.c (open_prefs_dialog): left-align labels.
7036         * ggv/po/sl.po: defuzzy strings.
7037
7038 2001-03-03 John Fleck <jfleck@inkstain.net>
7039
7040         * ggv/added:
7041         app-docs.make, omf-install/Makefile.am, help/C/ggv-C.omf,
7042         help/de/ggv-de.omf, help/it/ggv-it.omf, help/ja/ggv-ja.omf
7043         changed:
7044         help/C/Makefile.am, help/de/Makefile.am, help/it/Makefile.am,
7045         help/ja/Makefile.am, configure.in, Makefile.am
7046         Adding support for ScrollKeeper
7047
7048 2001-03-03 - John Fleck <jfleck@inkstain.net>
7049
7050         * ggv/adding COPYING-DOCS
7051
7052 2001-02-25  Fatih Demir <kabalak@gtranslator.org>
7053
7054         * ggv/help/C/.cvsignore: Be quiet about ggv.info.
7055
7056 2001-02-20  Jaka Mocnik  <jaka@gnu.org>
7057
7058         * ggv/src/gtkscrollpane.c (gtk_scrollpane_motion_notify): fixed a bug
7059         that caused the scroll pane not to properly set value when the slider
7060         was dragged to top and/or left edge.
7061
7062 2001-02-19  Jaka Mocnik  <jaka@gnu.org>
7063
7064         * ggv/src/main.c: "Attend" should read "At end";
7065         * ggv/src/*.po: updated because of the above string change.
7066
7067 2001-02-15  Gediminas Paulauskas <menesis@delfi.lt>
7068
7069         * ggv/src/main.c: made ~15 strings translatable.
7070
7071 2001-02-14  Jaka Mocnik  <jaka@gnu.org>
7072
7073         * ggv/src/bonobo-application-ps.c (set_page_item_sensitivity): check
7074         if gs->doc is NULL in order to prevent segfaults.
7075
7076 2001-02-03  Simos Xenitellis  <simos@hellug.gr>
7077
7078         * gpdf/gpdf.desktop: Added Greek messages.
7079
7080         * gpdf/configure.in: Added el to ALL_LINGUAS.
7081
7082 2001-02-01  Fatih Demir <kabalak@gmx.net>
7083
7084         * ggv/help/de/.cvsignore, help/ja/.cvsignore: Added these ignore
7085         files.
7086
7087 2001-01-31  Karl Eichwalder  <ke@suse.de>
7088
7089         * ggv/configure.in (ALL_LINGUAS): Remove 1 uk entry (we've had 2).
7090
7091 2001-01-24  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
7092
7093         * gpdf/configure.in: Added sk to ALL_LINGUAS.
7094         * gpdf/gpdf.desktop: Added Slovak messages
7095
7096 2001-01-23  Daniel M German  <dmgerman@acm.org>
7097
7098         * ggv/src/callbacks.c (about_callback): Added Tim Theisen and Johannes
7099         Plass as authors. There is a lot of code based on gv
7100         (including the parser) so IMHO it is fair to acknowledge them. I
7101         updated Jaka as the current maintainer.
7102
7103 2001-01-22  Jaka Mocnik  <jaka@gnu.org>
7104
7105         * ggv/src/gtkgs.c (gtk_gs_set_pagemedia): fixed a bug that prevented proper
7106         paper size overriding.
7107         * ggv/src/ps.c (psscan), gtkgs.c: made respect_eof configurable.
7108         * ggv/src/main.c, src/callbacks.c: added respect eof option to prefs dialog.
7109         * ggv/configure.in: now we're at 1.0-test7. boy, does this testing wear me
7110         out...
7111
7112 2001-01-22  Daniel M German  <dmgerman@acm.org>
7113
7114         * ggv/src/gtkgs.c (set_up_page): Remove a g_print message
7115
7116 2001-01-21  Jaka Mocnik  <jaka@gnu.org>
7117
7118         * ggv/gtkgs.c (gtk_gs_set_pagemedia): added a check for
7119         gs->doc->pages != NULL before dereferencing them. stupid me...
7120
7121 2001-01-21  Fatih Demir <kabalak@gmx.net>
7122
7123         * gpdf/configure.in: Added tr to ALL_LINGUAS.
7124
7125 2001-01-21  Daniel M German  <dmgerman@acm.org>
7126
7127         * ggv/src/ps.c (psscan): Implemented ignoring EOF in structured
7128         documents. Unfortunately some Structured Documents do not properly
7129         protect EOF of embedded documents.
7130
7131 2001-01-17  Jaka Mocnik  <jaka@gnu.org>
7132
7133         * ggv/gtkgs.[ch]: added member loaded. set to TRUE when a document is
7134         loaded.
7135         * ggv/(struct _ggv_window): removed member loaded.
7136         * ggv/fixed paper menu and choice menu syncing.
7137         * ggv/gtkgs.c (gtk_gs_realize, compute_size, set_up_page): show white
7138         background of fallback media type when no document is loaded.
7139         (gtk_gs_set_pagemedia): hopefully this is now finally fixed. it
7140         gets media type in this order: page media, doc media, page bbox,
7141         doc bbox.
7142         fixed orientation menu syncing and handling.
7143
7144 2001-01-14  Stanislav Brabec  <utx@penguin.cz>
7145
7146         * src/main.c: Swapped odd/even in menus to finish odd/even
7147         cosmetics.
7148
7149 2001-01-14  Jonathan Blandford  <jrb@redhat.com>
7150
7151         * ggv/src/main.c (create_menus): oops.  Forgot to change this.
7152
7153 2001-01-14  Jonathan Blandford  <jrb@redhat.com>
7154
7155         * ggv/src/callbacks.c (*_toggled_*): Changed to use the new checklist.
7156         * ggv/src/main.c (toggle_pages): removed
7157         * ggv/src/gtkchecklist.[ch]: new widget.
7158         * ggv/src/stock/.cvsignore: added
7159         * ggv/src/main.c: Removed %800 as a zoom option.  It uses a _lot_ of
7160         memory needlessly.
7161
7162 2001-01-14  Jaka Mocnik  <jaka@barbara>
7163
7164         * ggv/src/gtkgs.c: renamed gtkgs_errmsg to gtk_gs_emit_error_msg, to be
7165         consistent with the overall naming style.
7166         (gtk_gs_set_pagemedia): attempt to use page bounding box if no
7167         page media or document media are set. fixes problems with some PDF
7168         dsc files.
7169
7170 2001-01-13  Stanislav Brabec  <utx@penguin.cz>
7171
7172         * ggv/src/main.c: Changed bad term "Paper Type" to "Page Size" to
7173         prevent ambiguity between PageSize and MediaType Postscript
7174         resources.
7175
7176         * ggv/src/callbacks.c: Synchronize wheel mouse events with long time
7177         established GIMP behavior (i.e. Control=HScroll, Shift=Zoom).
7178         Increased whellmouse step. Still different from GIMP where wheel
7179         step is window size relative (1/4).
7180
7181         * ggv/src/main.c, src/stock/toggleodd.xpm, src/stock/toggleeven.xpm:
7182         Prevent odd/even ambiguities: Use natural order (odd, even),
7183         swap images to be more intuitive.
7184
7185         * ggv/ggv.desktop: Updated cs.
7186
7187 2001-01-11 John Fleck <jfleck@inkstain.net>
7188         * ggv/help/C/ggv.sgml, help/de/ggv.sgml, help/it/ggv.sgml, help/ja/ggv.sgml:
7189         fixing bug in the docs that prevented them from rendering in
7190         Nautilus: "DOCTYPE" in the dtd must be capitalized. Also changed
7191         "%" to "&percnt;" so as not to choke the poor Nautilus browser
7192
7193 2001-01-11 John Fleck <jfleck@inkstain.net>
7194         * ggv/added help/de/Makefile.am
7195         * ggv/help/C/Makefile.am, help/it/Makefile.am, help/ja/Makefile.am,
7196         help/Makefile.am, configure.in:
7197         update help doc makefiles to build html at package build time, so
7198         the packager rather than the end user needs DocBook tools to build
7199         the static html from the DocBook sgml. Also, install .sgml files
7200         in help directories for future Nautilus compatibility
7201
7202 2001-01-11  Michael Meeks  <michael@helixcode.com>
7203
7204         * gpdf/xpdf/gpdf.cc (container_launch_component): don't add the client
7205         site to the item container.
7206
7207 2001-01-11  Jaka Mocnik  <jaka@gnu.org>
7208
7209         * ggv/src/main.c: include stock/*.xpm, not *.xpm.
7210         * ggv/src/foot*.xpm: removed.
7211         * ggv/src/gtkgs.c (check_filecompressed): free filename after possible
7212         error messages; also uncompress files by passing the uncompressing
7213         command the compressed filename in commandline and not via redirection
7214         of stdin, as some bzip2 version seem to have problems with the latter.
7215
7216 2001-01-09  Jaka Mocnik  <jaka@gnu.org>
7217
7218         * ggv/ggv.spec.in: removed the line for sysconfdir/CORBA/servers as
7219         .gnorba files no longer exist.
7220
7221 2001-01-08  Jaka Mocnik  <jaka@gnu.org>
7222
7223         * ggv/src/gtkscrollpane.c (gtk_scrollpane_class_init): add handler for
7224         draw signal to fix some redrawing issues.
7225         * ggv/src/main.c (restore_session, save_session): save & restore document
7226         page, zoom and scrolled position.
7227         (synchronize_user_interface): set zoom menu option to the current
7228         window magnification and NOT to the default magnification.
7229
7230 2000-12-24  Jaka Mocnik  <jaka@gnu.org>
7231
7232         * ggv/application-ps.oafinfo: becomes Bonobo_GGV.oafinfo. also changed
7233         OAFIIDs.
7234         * ggv/application-ps.gnorba: removed.
7235         * ggv/Makefile.am: removed application-ps.gnorba.
7236         * ggv/configure.in: bumped version to 1.0-test1. released the first
7237         test before 1.0.
7238         * ggv/MAINTAINERS: changed to jaka@gnu.org.
7239
7240 2000-12-22  Zbigniew Chyla  <cyba@gnome.pl>
7241
7242         * ggv/ggv.desktop: Updated Polish translation.
7243
7244 2000-12-21  Michael Meeks  <michael@helixcode.com>
7245
7246         * gpdf/xpdf/bonobo-application-x-pdf.cc: Kill mutex / thread init code,
7247         it screws gtk.
7248
7249         * gpdf/xpdf/gpdf.cc: update the IID naming scheme.
7250
7251         * gpdf/xpdf/bonobo-application-x-pdf.cc (init_bonobo_application_x_pdf_factory): ditto. (init_server_factory): setup ORB properly.
7252
7253         * gpdf/xpdf/Makefile.am: De-goadize; update oafinfo fnames.
7254
7255 2000-12-21  Michael Meeks  <michael@helixcode.com>
7256
7257         * gpdf/configure.in (xpdf_cv_func_select_arg): remove oaf
7258         checking cruft.
7259
7260 2000-12-18  Dan Damian  <dand@dnttm.ro>
7261
7262         * ggv/configure.in:     Added "ro" to ALL_LINGUAS.
7263
7264 2000-12-16  Jaka Mocnik  <jaka@gnu.org>
7265
7266         src/bonobo-application-ps.c: updated to work with latest bonobo:
7267         changed references to EmbeddableFactory to GenericFactory.
7268
7269 2000-12-08  Fatih Demir <kabalak@gmx.net>
7270
7271         * gpdf/configure.in: Added "ko" to ALL_LINGUAS.
7272
7273 2000-12-04  Jaka Mocnik  <jaka@gnu.org>
7274
7275         * ggv/src/main.c (open_window): return the new ggv_window and take
7276         parameters for x, y, width and height of the window.
7277         (restore_session, save_session, client_die): new functions to
7278         support session management.
7279         (main): implement session management.
7280
7281 2000-12-04  Darin Adler  <darin@eazel.com>
7282
7283         * gpdf/xpdf/bonobo-application-x-pdf.cc:
7284         s/bonobo_embeddable_factory_new/bonobo_generic_factory_new/.
7285
7286 2000-11-23  Jaka Mocnik  <jaka@activetools.si>
7287
7288         * ggv/src/bonobo-application-ps.c (reload_all_views): set menu item
7289         sensitivity for each view.
7290
7291 2000-11-21  Yukihiro Nakai  <nakai@gnome.gr.jp>
7292
7293         * ggv/configure.in (ALL_LINGUAS): add zh_CN.GB2312
7294
7295 2000-11-16  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
7296
7297         * ggv/configure.in (ALL_LINGUAS): added Slovak [sk]
7298
7299 2000-11-16  Ramiro Estrugo  <ramiro@eazel.com>
7300
7301         * gpdf/xpdf/bonobo-application-x-pdf.cc:
7302         Make the signatures of callbacks match the declaraed types to
7303         avoid compiler warnings.
7304
7305 2000-11-16  Darin Adler  <darin@eazel.com>
7306
7307         * gpdf/xpdf/.cvsignore:
7308         * gpdf/xpdf/Makefile.am:
7309         Remove remnants of old ui translation scheme
7310         now that we have Kenneth's new one (see po).
7311
7312 2000-11-15  Zbigniew Chyla  <cyba@gnome.pl>
7313
7314         * gpdf/configure.in: Added pl to ALL_LINGUAS.
7315
7316 2000-11-15  Maciej Stachowiak  <mjs@eazel.com>
7317
7318         * ggv/configure.in: Make OAF support unconditional (Bonobo always uses
7319         OAF now).
7320         * ggv/Makefile.am: Likewise.
7321         * ggv/acconfig.h: Likewise.
7322         * ggv/src/bonobo-application-ps.c: Likewise.
7323
7324 2000-11-10  Robert Brady  <robert@suse.co.uk>
7325
7326         * gpdf/configure.in: Added Tamil translation.
7327
7328 2000-11-07  Fatih Demir <kabalak@gmx.net>
7329
7330         * gpdf/xpdf/.cvsignore: Added bonobo-application-x-pdf-ui.h and
7331                 gpdf-ui.h to the ignores.
7332
7333 2000-11-06  Jason Leach  <leach@wam.umd.edu>
7334
7335         * ggv/src/bonobo-application-ps.c (stream_read): s/copy_to/copyTo/ to
7336         compile with the latest studlyCaps bonobo.
7337
7338 2000-11-05  Pablo Saratxaga <pablo@mandrakesoft.com>
7339
7340         * gpdf/po/da.po,configure.in: Added Danish translation.
7341
7342 2000-11-02  Michael Meeks  <michael@helixcode.com>
7343
7344         * gpdf/configure.in: check for Bonobo >= 0.27
7345
7346 2000-10-27  Szabolcs Ban <shooby@gnome.hu>
7347
7348         * gpdf/configure.in: Added Hungarian (hu) entry (ALL_LINGUAS)
7349         * gpdf/gpdf.desktop: Added Hungarian entries.
7350
7351 2000-10-20  Darin Adler  <darin@eazel.com>
7352
7353         * gpdf/.cvsignore: Add aclocal.m4.
7354         * gpdf/xpdf/bonobo-application-x-pdf.cc:
7355         Change BonoboUIHandler to BonoboUIComponent.
7356
7357 2000-10-19  Michael Meeks  <michael@helixcode.com>
7358
7359         * gpdf/xpdf/gpdf.cc: update for Dietmer internal changes.
7360
7361 2000-10-19  Jarkko Ranta  <jjranta@cc.joensuu.fi>
7362
7363         * gpdf/configure.in: Added Finnish (fi) entry (ALL_LINGUAS).
7364         * gpdf/gpdf.desktop: Added Finnish entries.
7365
7366 2000-10-18  Christophe Merlet  <christophe@merlet.net>
7367
7368         * gpdf/configure.in: Added French (fr) to ALL_LINGUAS.
7369         * gpdf/gpdf.desktop: Added French strings.
7370
7371 2000-10-17  Michael Meeks  <michael@helixcode.com>
7372
7373         * gpdf/xpdf/gpdf.xml: add.
7374
7375         * gpdf/xpdf/Makefile.am: sort out xml files.
7376
7377         * gpdf/xpdf/gpdf.cc: Re-engineer to the new UI handler.
7378
7379         * gpdf/xpdf/bonobo-application-x-pdf.cc: update to new UI handler
7380
7381         * gpdf/xpdf/bonobo-appliation-x-pdf-ui.xml: create.
7382
7383         * gpdf/xpdf/gpdf-ui.xml: create.
7384
7385 2000-10-17  Michael Meeks  <michael@helixcode.com>
7386
7387         * gpdf/Makefile.am (WIN32_EXTRA): remove cruft so we distcheck.
7388
7389 2000-10-17  Almer S. Tigelaar  <almer1@dds.nl>
7390
7391         * gpdf/configure.in: Added Dutch (nl) to ALL_LINGUAS.
7392
7393 2000-10-15  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
7394
7395         * ggv/src/bonobo-application-ps.c: converted to new bonobo UI code.
7396
7397 2000-10-09  Darin Adler  <darin@eazel.com>
7398
7399         * gpdf/aclocal.m4: Removed this file which is generated
7400         * gpdf/xpdf/bonobo-application-x-pdf.cc: Ifdef'd out code that doesn't
7401         compile with the latest verb changes.
7402
7403 2000-10-08  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
7404
7405         * ggv/src/*.c: unified capitalization: Gnome Ghostview and GGv.
7406         no more GNOME and ggv.
7407
7408 2000-10-07  Michael Meeks  <michael@helixcode.com>
7409
7410         * gpdf/xpdf/gpdf.cc (main): cut out stale gnorba fat.
7411
7412         * gpdf/xpdf/bonobo-application-x-pdf.cc (init_server_factory),
7413         (init_bonobo_application_x_pdf_factory): ditto.
7414
7415         * gpdf/xpdf/bonobo-application-x-pdf.cc (embeddable_factory): remove the
7416         sizeable interface.
7417
7418 2000-10-07  Michael Meeks  <michael@helixcode.com>
7419
7420         * gpdf/configure.in: check for Bonobo >= 0.20
7421
7422 2000-10-07  Jesus Bravo Alvarez  <jba@pobox.com>
7423
7424         * gpdf/configure.in: Added Galician (gl) to ALL_LINGUAS
7425
7426 2000-10-06  Daniel M German  <dmgerman@acm.org>
7427
7428         * ggv/src/callbacks.c
7429         * ggv/src/callbacks.h
7430         * ggv/src/ggvutils.c
7431         * ggv/src/ggvutils.h
7432         * ggv/src/ggvwindow.h
7433         * ggv/src/main.c
7434         * ggv/src/prefs.c
7435         * ggv/src/prefs.h: Added a toolbar and icons for the sidebar.
7436          Coded  by Paolo Maggi <maggi@athena.polito.it>
7437
7438 2000-10-05  Daniel M German  <dmgerman@acm.org>
7439
7440         * ggv/src/callbacks.c (button_press_callback): Support for
7441         wheel mice.  Coded by Tomas Kindahl <tomas.kindahl@codefactory.se>
7442         * ggv/src/prefs.c: Aligned some  labels in prefs window.
7443
7444 2000-10-04  Yukihiro Nakai  <nakai@gnome.gr.jp>
7445
7446         * gpdf/configure.in: Add Japanese to ALL_LINGUAS
7447
7448 2000-10-04  Yukihiro Nakai  <nakai@gnome.gr.jp>
7449
7450         * gpdf/gpdf.desktop: Add Japanese translation.
7451
7452 2000-10-04  Michael Meeks  <michael@helixcode.com>
7453
7454         * gpdf/xpdf/bonobo-application-x-pdf.cc (view_create_menus): upd.
7455
7456         * gpdf/xpdf/gpdf.cc (container_launch_component): update for ItemContainer
7457         rename. (container_new): update to bonobo-win stuff.
7458         (container_set_view): use compat_get_container.
7459
7460 2000-10-04  Michael Meeks  <michael@helixcode.com>
7461
7462         * gpdf/configure.in (xpdf_cv_func_select_arg): check for bonobo 0.19
7463
7464 2000-10-04  Kjartan Maraas  <kmaraas@gnome.org>
7465
7466         * gpdf/configure.in: Added ALL_LINGUAS and all current languages.
7467
7468 2000-10-04  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
7469
7470         * ggv/src/bonobo-application-ps.c (view_merge_menus): use
7471         Bonobo_UIContainer instead of Bonobo_UIHandler.
7472
7473 2000-09-25  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
7474
7475         * ggv/help/C/ggv.texi: texinfo version of the sgml docs. automatic
7476         conversion does not work well and it had to be tweaked manually.
7477         therefore I have commited it to CVS.
7478         * ggv/help/C/Makefile.am: generate and install the info file.
7479
7480 2000-09-18 Yukihiro Nakai <nakai@gnome.gr.jp>
7481
7482        * Update help/ja/ggv.sgml
7483        * Add ja entry to help/Makefile.am
7484
7485 2000-09-15  Mathieu Lacage  <mathieu@eazel.com>
7486
7487         * gpdf/gpdf.keys.in: fix evil evil buggy: mime types DO NOT HAVE
7488         a ":" after them
7489         * gpdf/gpdf.mime: idem
7490
7491 2000-08-24  Daniel M German  <dmgerman@acm.org>
7492
7493        * src/callbacks.c
7494        * src/callbacks.h
7495        * src/ggvwindow.h
7496        * src/gtkgs.c
7497        * src/main.c
7498          - Added support for orientation on on a per window basis.
7499          - To be consistent, I added the option to override orientation
7500            instead of the automatic option
7501        * src/prefs.c
7502        * src/prefs.h:
7503          - Added orientation parameters in the setup window.
7504
7505          - There are still some bugs to fix, among them:
7506            *set new paper media after the document is loaded
7507            *there are still some bugs to fix for orientation
7508            *try to test documents with multiple media
7509            *try to see if there are documents with different orientation
7510
7511 2000-08-22  Daniel M German  <dmgerman@acm.org>
7512
7513        * src/callbacks.c
7514        * src/callbacks.h
7515        * src/ggvwindow.h
7516        * src/gtkgs.c
7517        * src/main.c
7518        * src/prefs.c
7519        * src/prefs.h:
7520          - Added zoom magnification to the list of persistent parameters.
7521          - Synchronized correctly all parameters between the document
7522           and the user interface (zoom, override media, default media,
7523           etc).
7524
7525 2000-08-15  Daniel M German  <dmgerman@acm.org>
7526
7527         * ggv/src/gtkgs.c:
7528         * ggv/src/callbacks.c: Added the ability to set up the orientation
7529         _before_ the document is loaded, and to set up the orientation
7530         on a window basis, instead of globally. Both zoom and orientation
7531         require  options in the preferences dialog window.
7532
7533         * ggv/src/callbacks.c
7534         * src/main.c
7535         * src/ggvwindow.h:
7536           Added support for individual window zooming in the menu. I also
7537           synchronized the zoom button actions with the currently selected
7538           value in the zoom radio buttons in the main menu.
7539
7540 2000-08-13  Daniel M German  <dmgerman@acm.org>
7541
7542         * ggv/src/gtkgs.c: added bounding box options for media type
7543
7544         * ggv/src/prefs.c
7545         * ggv/src/main.c
7546         * ggv/src/callbacks.c: Added the ability to set watchfile and
7547         antialiasing on a document level (previously it was a global
7548         setting).
7549
7550 2000-08-13  Arik Devens  <arik@helixcode.com>
7551
7552         * gpdf/xpdf/bonobo-application-x-pdf.cc (view_create_menus): Switched
7553         page_enlarge_cb and page_shrink_cb to get zooming in and out
7554         workin correctly in the menu.
7555
7556 2000-08-10  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
7557
7558         * ggv/src/bonobo-application-ps.c: call bonobo_object_unref() instead
7559         of bonobo_object_destroy(). also fixed the factory code and some
7560         unref()ing issues.
7561         * ggv/src/gtkgs.[ch]: renamed gtkgs_defaults_struct to GtkGSDefaults
7562         for consistency and made it private to gtkgs.c.
7563         * ggv/some renaming and code reformating was done for consistency.
7564         * ggv/configure.in: fixed the bonobo check, as we need to link with both
7565         libbonobox and libbonobo.
7566
7567 2000-08-08  Daniel M German  <dmgerman@acm.org>
7568
7569         * ggv/src/prefs.c
7570         * ggv/src/main.c
7571         * ggv/src/gtkgs.c
7572         * ggv/src/gtkgs.h
7573         * ggv/src/prefs.h
7574         * ggv/src/bonobo-application-ps.c
7575         * ggv/src/callbacks.c
7576           - Revamped the way the defaults for the gtkgs widget are
7577         stored. Instead of global variables I created a structure
7578         gtkgs_defaults and a bunch of functions to set and read its
7579         values. This will be more maintable and modular.
7580           - I removed the old variables gs_antialiasing,
7581            gs_default_page_media. etc, ... and replace them with calls to
7582            their corresponding functions.
7583           - Fixed bug in which landscape documents were not recognized as
7584           such when opened. I also changed the default of Landscape (as
7585           270 degrees instead of 90) so landscape documents are shown
7586           properly)
7587           - Currently working on the automatic discovery of paper type,
7588           orientation and the ability to set defaults on a per window basis.
7589         * ggv/src/main.c the default message in the status bar shows more info
7590         about the current document, including magnification,
7591         filename, and type of PostScript document.
7592
7593 2000-08-07  Daniel M German  <dmgerman@acm.org>
7594
7595         * ggv/TODO: Updated it. It still needs work.
7596
7597 2000-08-06  Daniel M German  <dmgerman@acm.org>
7598
7599         * ggv/help/Makefile.am (SUBDIRS): there was a japanese translation
7600         entry but no subdirectory for its translation. Maybe somebody
7601         forgot to upload it? I removed it.
7602
7603 2000-08-02  Michael Meeks  <michael@helixcode.com>
7604
7605         * gpdf/xpdf/Makefile.am (gpdf_LDADD): kill ghastly hack adding -lbonobo.
7606         (bonobo_application_x_pdf_LDADD): add EXTRA_GNOME_LIBS
7607
7608 2000-08-02  Michael Meeks  <michael@helixcode.com>
7609
7610         * gpdf/configure.in: set '$bonobo' for EXTRA_GNOME_LIBS, use bonobox
7611
7612         * gpdf/po/POTFILES.in: add.
7613
7614 2000-07-25  Michael Meeks  <michael@helixcode.com>
7615
7616         * gpdf/xpdf/bonobo-application-x-pdf.cc (embeddable_factory): s/gtk/bonobo/
7617         on unref. Junk 2 stop tabs throught, Derek can have my kittens.
7618         (view_create_menus): create the pdf toolbar before using it.
7619         (button_press_event_cb): return a value.
7620
7621 2000-07-16  Karl Eichwalder  <ke@suse.de>
7622
7623         * ggv/help/C/ggv.sgml: "page" vs. "pane".
7624
7625         * ggv/help/de/topic.dat: New file.
7626         * ggv/help/de/ggv.sgml: Start translation.
7627
7628         * ggv/help/C/ggv.sgml: Normalize the word "PostScript".
7629
7630 2000-07-04  Michael Meeks  <michael@helixcode.com>
7631
7632         * gpdf/xpdf/GOutputDev.cc (drawImage): kill double free.
7633
7634         * gpdf/xpdf/BonoboStream.cc (bfread): update for new API.
7635
7636 2000-06-22  JP Rosevear  <jpr@arcavia.com>
7637
7638         * ggv/src/bonobo-application-ps.c (view_next_page_cb): Constify param
7639         (view_prev_page_cb): ditto
7640         (view_recenter_page_cb): ditto
7641         (load_ps_from_stream): No return type any more (void).
7642
7643         * ggv/configure.in: Improve bonobo/oaf check
7644
7645 2000-06-21  Daniel M German  <dmgerman@acm.org>
7646
7647         * ggv/src/Makefile.am (COMPONENT_LDADD): fixed a minor error in order
7648         to compile without bonobo support.
7649
7650 2000-06-11  Fatih Demir <kabalak@gmx.net>
7651
7652         * gpdf/gpdf.desktop: Corrected a stupid [tr]-entry.
7653
7654 2000-06-07  Pavel Cisler  <pavel@eazel.com>
7655
7656         * gpdf/xpdf/bonobo-application-x-pdf.cc:
7657         Renamed BonoboUIHandlerCallbackFunc to BonoboUIHandlerCallback
7658         to match new naming.
7659
7660 2000-06-02  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
7661
7662         * ggv/application-ps.oafinfo: added the OAF info file that I forgot
7663         during last commit.
7664
7665 2000-06-01  Darin Adler  <darin@eazel.com>
7666
7667         * gpdf/xpdf/application-x-pdf.oafinfo:
7668         * gpdf/xpdf/gpdf.cc:
7669         Fixed spelling of component in IID.
7670
7671 2000-05-28  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
7672
7673         * ggv/configure.in, Makefile.am, src/Makefile.am: added optional
7674         use of OAF for the bonobo component. thank god we're past GNORBA.
7675         * ggv/src/bonobo-application-ps.c (init_server_factory,
7676         init_embeddable_application_ps_factory): added OAF support.
7677         * ggv/application-ps.oafinfo: relevant OAF information for our
7678         bonobo component.
7679         * ggv/src/main.c (recent_add): yes, Postscript is application/postscript
7680         and not text/plain.
7681         * ggv/acconfig.h: add USING_OAF.
7682
7683 2000-05-27 Pauli Virtanen <pauli.virtanen@saunalahti.fi>
7684
7685         * ggv/ggv.desktop: added finnish
7686
7687 2000-05-26  Darin Adler  <darin@eazel.com>
7688
7689         * gpdf/xpdf/bonobo-application-x-pdf.cc (load_pdf_from_stream),
7690         (embeddable_factory):
7691         * gpdf/xpdf/gpdf.cc: (open_pdf):
7692         Updated for new PersistStream interface. I mostly just passed
7693         NULLs. Not 100% sure that's correct.
7694
7695 2000-05-26  Dan Winship  <danw@helixcode.com>
7696
7697         * gpdf/xpdf/gpdf.cc (open_pdf): Note that the data passed to the
7698         PersistStream is "application/pdf".
7699
7700 2000-05-24  Darin Adler  <darin@eazel.com>
7701
7702         * gpdf/.cvsignore:
7703         * gpdf/goo/.cvsignore:
7704         * gpdf/ltk/.cvsignore:
7705         * gpdf/xpdf/.cvsignore:
7706         Added a bunch of generated files.
7707
7708         * gpdf/xpdf/GOutputDev.cc: (GOutputDev::updateLineAttrs):
7709         Fixed a type to avoid a warning.
7710
7711 2000-05-15  Kjartan Maraas  <kmaraas@gnu.org>
7712
7713         * ggv/TRANSLATABLE_FILES: Added list of files containing
7714         translatable strings / text.
7715
7716 2000-05-14  Andreas Hyden  <a.hyden@cyberpoint.se>
7717
7718         * ggv/ggv.desktop: Added Swedish translation.
7719
7720 2000-05-11  Daniel M German  <dmgerman@acm.org>
7721
7722         * ggv/ggv.desktop (Comment): Changed
7723
7724         to:Gnome Ghostscript frontend
7725         Comment=A Ghostscript frontend to visualize PostScript files.
7726         (submitted by Karl Eichwalder <ke@gnu.franken.de>)
7727
7728         * ggv/Added the option to save the current geometry. Its only current
7729         defect is that it saves the geometry of the last window open
7730         (remember, we can open more than one window at a time).
7731
7732 2000-05-10  Karl Eichwalder  <ke@suse.de>
7733
7734         * ggv/src/main.c (create_menus): Add missing shortcut.
7735
7736 2000-05-10  Karl Eichwalder  <ke@suse.de>
7737
7738         * ggv/ggv.desktop: Improve de.
7739
7740 2000-05-10  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
7741
7742         * ggv/configure.in: bumped version to 0.95 and released a new tarball.
7743         * ggv/pixmaps/foot*.xpm: moved back to src as these are actually
7744         source files and libtool doesn't like sources in another subdir.
7745         * ggv/pixmaps/Makefile.am: removed feet from SOURCES ;)
7746         * ggv/src/Makefile.am: added foot*.xpm to GTK_GS_SOURCES.
7747
7748 2000-05-07  Maciej Stachowiak  <mjs@eazel.com>
7749
7750         Work with OAF and fix various bugs:
7751
7752         * gpdf/configure.in, aclocal.m4: Detect when Bonobo is built with OAF
7753         support, and if so use OAF.
7754         * gpdf/xpdf/Makefile.am: When using OAF, link against OAF and install
7755         oafinfo file.
7756         * gpdf/xpdf/gpdf.cc: Include oaf headers when using OAF.
7757         (openpdf): Use OAFIID to activate the component when using OAF.
7758         (container_set_view), (container_launch_component),
7759         (container_new): Put the view in an EventBox, not a
7760         ScrolledWindow; the component now handles scrolling itself.
7761         (key_press_event_cb): Removed; key press handling moved to
7762         component.
7763         (main): Initialize OAF instead of GOAD when using OAF.
7764         * gpdf/xpdf/bonobo-application-x-pdf.cc: Include OAF headers when using
7765         OAF.
7766         (redraw_view): Handle the case where we are loading before the
7767         view is realized by connecting to the "realize" signal handler
7768         and deferring redrawing until then in that case.
7769         (real_redraw_view): Function to do the real redrawing.
7770         (load_pdf_from_stream): Don't call `realize_mainbox' directly, let
7771         `real_redraw_view' do it.
7772         (key_press_event_cb): In response to various key bindings, scroll
7773         the view, navigate pages, or zoom in/out.
7774         (button_press_event_cb): Grab the keyboard focus on a press of
7775         button 1.
7776         (view_create_menus): Rename menus to be more standard, and provide
7777         accelerators for menus and items.
7778         (realize_mainbox): Get window ourselves if we have to.
7779         (view_factory): Put the view in a scrolled window so scrolling can
7780         be handled by the component itself. Connect to "key_press" and
7781         "button_press" for keyboard and focus handling. Set the
7782         GTK_CAN_FOCUS flag for the main view widget.
7783         (init_bonobo_application_x_pdf_factory, init_server_factory): Use
7784         OAF when appropriate.
7785
7786         * gpdf/xpdf/application-x-pdf.oafinfo: New file, OAF activation record.
7787
7788 2000-04-18  Pablo Saratxaga <pablo@mandrakesoft.com>
7789
7790         * ggv/configure.in (ALL_LINGUAS): added Catalan
7791
7792 2000-04-13  Fatih Demir <kabalak@gmx.net>
7793
7794         * ggv/ggv.desktop : Added [tr] ..
7795
7796 2000-04-11  Pablo Saratxaga <pablo@mandrakesoft.com>
7797
7798         * ggv/configure.in (ALL_LINGUAS): added Lithuanian and Ukrainian
7799
7800 2000-04-10  Fatih Demir <kabalak@gmx.net>
7801
7802         * gpdf/gpdf.desktop : Added [tr] ..
7803
7804 2000-04-10  Dima Sivachenko  <dima@Chg.RU>
7805
7806         * ggv/Update Russian translation.
7807
7808 2000-04-03  Karl EICHWALDER  <ke@suse.de>
7809
7810         * ggv/ggv.desktop: New entries for "de".
7811
7812 2000-04-01  Jason Leach  <leach@wam.umd.edu>
7813
7814         * ggv/main.c (recent_update): more optimization/cleaning, lets not
7815         do g_list_length where we can just use an integer counter
7816         (recent_add): a postscript isn't mime-type "text/plain" is it?
7817         shouldn't it be "application/postscript"?
7818
7819 2000-03-30  Jason Leach  <leach@wam.umd.edu>
7820
7821         * ggv/main.c (parse_an_arg): fix indentation to 8-space;
7822         (free_wwd): removed a duplicated if()
7823         (recent_update_menus): here too.
7824
7825         * ggv/prefs.c (load_prefs): you don't need to do an if() check before
7826         a g_free(), the if() check is actually already done at the top of
7827         g_free()
7828
7829 2000-03-30  Christopher R. Gabriel  <cgabriel@firenze.linux.it>
7830
7831         * ggv/configure.in: added help/it/Makefile for italian user documentation
7832
7833 2000-03-29  Jason Leach  <leach@wam.umd.edu>
7834
7835         * ggv/main.c (open_prefs_dialog): set the title of the Preferences
7836         window to "GGV Preferences" rather than have it inherit "ggv" from
7837         the parent
7838
7839 2000-03-27  Christopher R. Gabriel  <cgabriel@firenze.linux.it>
7840
7841         * ggv/configure.in (ALL_LINGUAS): added italian (it) translation.
7842
7843 2000-03-24  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
7844
7845         * ggv/configure.in (ALL_LINGUAS): Added Slovene (sl) translation.
7846         * ggv/callbacks.c (about_callback): made the authors list shorter.
7847         as I've left no one out I hope no one gets mad ;) and prevented
7848         the about box from being shown multiple times.
7849
7850 2000-03-10  Michael Meeks  <michael@helixcode.com>
7851
7852         * gpdf/xpdf/gpdf.cc: s/GNOME/Bonobo/
7853
7854         * gpdf/xpdf/application-x-pdf.gnorba: s/GNOME/Bonobo/
7855
7856 2000-03-10  Alastair McKinstry <mckinstry@computer.org>
7857
7858         * ggv/configure.in (ALL_LINGUAS): Added Irish (ga) translation.
7859
7860 2000-03-04   bertrand <bertrand@helixcode.com>
7861
7862         * ggv/application-ps.gnorba: take into account the
7863         latest Bonobo name changes.
7864
7865         * ggv/bonobo-application-ps.c (view_factory):
7866         no need to create the ui handler for the view,
7867         it's been already done when the view is
7868         constructed.
7869
7870 2000-02-28  Michael Meeks  <michael@helixcode.com>
7871
7872         * gpdf/xpdf/bonobo-application-x-pdf.cc (view_factory): kill spurious
7873         UI handler creation.
7874
7875         * gpdf/xpdf/gpdf.cc (container_set_view): update to new bonobo api.
7876
7877 2000-02-25  NotZed  <NotZed@HelixCode.com>
7878
7879         * gpdf/xpdf/Makefile.am: Fixed up lists of sources so that distcheck
7880         works.  Also, only build gpdf if with gnome (otherwise distcheck
7881         fails).
7882
7883         * gpdf/xpdf/gpdf.cc (container_about_cmd): Define it if we are going to
7884         be using it.
7885
7886 2000-02-25  NotZed  <NotZed@HelixCode.com>
7887
7888         * gpdf/configure.in: Do AM_GNOME_GETTEXT for INTLLIBS def.
7889
7890         * gpdf/Makefile.am: Dont include gjgppcf by default, can this
7891         be done in an automatic way?
7892
7893         * gpdf/ltk/Makefile.am (libltk_a_SOURCES): Add missing sources.
7894
7895 2000-02-09  Michael Meeks  <michael@helixcode.com>
7896
7897         gpdf/xpdf/ Clean unused & lack of casting all round the place.
7898
7899 2000-02-08  Michael Meeks  <michael@helixcode.com>
7900
7901         * gpdf/configure.in: update bonobo check for latest ver.
7902
7903 2000-02-08  Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
7904
7905         * gtkgs.h: Added macros to access components of structure GtkGS:
7906         the filename  of the uncompressed file and flags that show if the
7907         file is compressed or  a pdf file.
7908         * ggv/callbacks.c (print_callback), gtkgs.c (start_interpreter),
7909         main.c (save_marked_pages): use this macros.
7910         * ggv/Makefile.am: new files ggvutils.[ch]
7911         * ggv/ps.c (psscan), gtkgs.c (gtk_gs_load):
7912         Moved uncompress functionality from ps.c (psscan) to gtkgs.c
7913         (gtk_gs_load new function check_filecompressed).
7914         Possible error messages from the uncompress command are displayed
7915         in the same way as ghostscript warnings (normally in the message
7916         window).
7917         Added support for bzip2-compressed files.
7918         Moved pdf-scan functionality from ps.c (psscan) to gtkgs.c
7919         (gtk_gs_load, new function check_pdf).
7920         Both functions quote the filenames for the system() calls to allow
7921         filenames containing special characters.
7922         BUG: The list of recent files don't show filenames containing spaces
7923         (and possibly other 'special' characters).
7924         * ggv/main.c (load_gs): Don't show error dialog if gtk_gs_load fails
7925         because an error message is already shown in the message window.
7926         * ggv/main.c (open_window): Don't delete ggv window if loading of a
7927         file given in the command line fails because the user should have
7928         a chance to read the error messages.
7929         * ggv/gtkgs.h (GtkGS), gtkgs.c (gtk_gs_init, start_interpreter),
7930         bonobo-application-ps.c (view-factory): Removed local copies of the
7931         commandlines for gzip and gs; use global variables instead.
7932         * ggv/callbacks.c (prefs_apply_callback), ggv_window.h (ggv_prefs),
7933         main.c (open_prefs_dialog), prefs.c, prefs.h:
7934         Support for bzip2-compressed files.
7935         * ggv/callbacks.c (print_callback): quote filename for
7936         gnome_execute_shell so that printing of files containing spaces
7937         works.
7938         * ps.c: The error checking of malloced memory is useless as
7939         g_malloc, g_new etc abort the application if out of memory;
7940         removed.
7941         * ggv/prefs.c (load_prefs, save_prefs, set_prefs), prefs.h:
7942         New option gs_watch_doc.
7943         * main.c (open_prefs_dialog), callbacks.c (prefs_apply_callback):
7944         New option "watch file" in configuration dialog.
7945         * main.c (load_gs): Start gtk_timeout function to check for changes
7946         of the loaded file.
7947         * gtkgs.c (gtk_gs_cleanup): stop timeout function.
7948         * callbacks.[ch] (timer_callback): new function; reload file if
7949         changed.
7950         * gtkgs.h: #defines for the timing behaviour: The check for file
7951         changes is performed every second, a reload is started 2 seconds
7952         after the file was changed.
7953         * ggv/main.c (open_prefs_dialog): Connect "help" callback.
7954         * ggv/callbacks.c: New function prefs_help_callback.
7955         * ggv/gtkgs.c (gtk_gs_cleanup): Close gs_psfile and set to NULL.
7956         (gtk_gs_load, gtk_gs_goto_page): Dont change gs_psfile here.
7957         (gtk_gs_set_pagemedia): set gs->changed when pagemedia was changed.
7958         * ggv/main.c (close_window): Delete status window before deleting main window.
7959         (set_gs_prefs): Reload file if page medium is changed.
7960         (load_gs):  Disable menu item "save marked pages" if a pdf file is
7961         loaded. Some additional cosmetic changes...
7962         (save_marked_pages): If a pdf file is loaded, use the name of the
7963         dsc file as input to pscopydoc. The resulting ps file can be used
7964         to print the marked pages.
7965         * ggv/ps.c (pscopydoc): Removed status messages to stdout.
7966         * ggv/help/C/ggv.sgml: Added short description of the new option
7967         "watch file" and the changed/added command lines for gzip and
7968         bzip2 in options/ghostscript.
7969         * ggv/po/POTFILES.in: Added all source files which contain strings that
7970         should be translated.
7971         * ggv/configure.in: bumped the version to 0.90.
7972         * ggv/bonobo-applicaton-ps.c (set_page_item_sensitivity): new function
7973         that sets sensitivity of Next/Previous Page menu items when the
7974         menus are merged.
7975         (view_[prev|next]_page_cb, view_merge_menus): use the above.
7976         * ggv/most of the above work is by Werner Koerner
7977         <wernerk.koerner@zae.uni-wuerzburg.de>
7978
7979 2000-02-07  Michael Meeks  <michael@helixcode.com>
7980
7981         * gpdf/xpdf/bonobo-application-x-pdf.cc: fix typo.
7982
7983 2000-02-07  Michael Meeks  <michael@helixcode.com>
7984
7985         * gpdf/configure.in (VERSION): bump.
7986
7987 2000-02-06  Daniel German  <dmg@csg.uwaterloo.ca>
7988
7989         * ggv/ps.c (gettextline): gettextline was returning the EOL at the end
7990         of the string. This resulted in a window title bar with an EOL at
7991         the end. the panel was showing it.
7992
7993 2000-02-02  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
7994
7995         * ggv/bonobo-application-ps.c: comply to changes in Bonobo API
7996         namespace.
7997         * ggv/configure.in: require bonobo >= 0.6.
7998
7999 2000-01-28  Daniel German  <dmg@csg.uwaterloo.ca>
8000
8001         * ggv/Added Greek (el.po) to ALL_LINGUAS (Submitted by
8002        Spyridon Papadimitriou <Spyridon_Papadimitriou@gs91.sp.cs.cmu.edu>
8003
8004 1999-12-21  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8005
8006        * gtk_gs.c (input): removed call to gtk_main_iteration in the
8007        callback function input - this sometimes caused a endless
8008        recursion.
8009        * gtkgs.c (start_interpreter):
8010        The pipe to ghostscript was not set to non-blocking IO (the code
8011        was there, but not used).
8012        Some cleanup and small changes to enable reading from stdin.
8013        * main.c (main):
8014        Reading files from comandline: try adding '.pdf.gz' to filename,
8015        allow "-" as filename, if no filename is given and input is no tty
8016        then use stdin as input.
8017        * ps.c (psscan): Added code to scan ps files with a pjl header
8018        (many printer  drivers for laser printers send a pjl command to
8019        switch the printer to postscript mode).
8020        psscan now ignores a leading ^D in the postscript-file.
8021        cleaned up uncompress and pdf-scan code (no recursion or goto's)
8022        replaced some more malloc, realloc, etc calls by their glib
8023        counterparts.
8024        * commented out some messages printed to stdout.
8025        Some of these messages were printed while ggv has both mouse
8026        and keyboard focus. When these call blocks (e.g. when ggv was
8027        started in a xterm in the background) the whole X server was
8028        blocked.
8029        * patches by Werner Koerner <Werner.Koerner@zae.uni-wuerzburg.de>.
8030
8031 1999-12-17  Michael Meeks  <mmeeks@gnu.org>
8032
8033         * gpdf/xpdf/gpdf.cc (container_set_view): make wrapper invisible.
8034
8035         * gpdf/xpdf/bonobo-application-x-pdf.cc (embeddable_factory): kill
8036         diff id string. + constify lots of paths.
8037         (view_factory): kill size query. (view_size_query): kill.
8038
8039 1999-12-16  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8040
8041         * ggv/bonobo-application-ps.c (embeddable_factory): don't pass goad id
8042         as a parameter to gnome_persist_stream_new().
8043         (#define GGV_GOAD_ID): removed as it was not referenced anymore.
8044
8045 1999-12-14  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8046
8047         * ggv/callbacks.c (open-callback, save_callback): g_free() dirname.
8048         * ggv/gsmessage.[ch]: new files, implement a dialog for showing
8049         GS error messages in a single dialog instead of a bunch of
8050         error dialogs. this was sorely needed: thanks, Werner.
8051         * ggv/main.c (load_gs): create/clear the message dialog.
8052         if no document is available, show filename as title of the main
8053         window.
8054         * ggv/callbacks.c (interpreter_message_callback): add text to message
8055         dialog and show it.
8056         * ggv/gtkgs.[ch] (struct _GtkGS): removed filename_raw member.
8057         removed all references to the above member.
8058         * ggv/file.[ch]: removed.
8059         * ggv/callbacks.c (about_callback): added Werner to the about dialog.
8060         it's the least I can do to show my appreciation of his patches ;)
8061         * ggv/configure.in: increased version once again. we're at 0.83 now.
8062
8063 1999-12-11  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8064
8065         * ggv/gtkgs.c (input): replace call to g_main_iteration() with
8066         gtk_main_iteration().
8067         (set_up_page): clear newly allocated pixmap before it is used.
8068         (float compute_xdpi, float compute_ydpi): changed prototypes.
8069         * ggv/gtkgs.c, main.c: add checks when using document structure
8070         information (gs->doc, gs->doc->media, gs->doc->pages,
8071         gs->pages_marked).
8072         * ggv/callbacks.c (select_page_button_press_callback): fixed typo.
8073         * ggv/ps.c (psscan): ambiguous if-else constuction; added braces.
8074         add prototypes for static functions.
8075         * ggv/callbacks.h (zoom_to, recent_update): add prototypes
8076         * ggv/main.c (get_number, ggv_parse_geometry, escape_underlines,
8077         create_pixmap, parse_an_arg, ggv_file_readable): made static
8078         * ggv/gtkscrollpane.c, main.c, prefs.c: fix compiler warnings
8079         * ggv/main.c (recent_update): when duplicate filenames occur then
8080         free memory of one of them.
8081         (load_gs): gtk_clist_append makes its own copies of the used strings,
8082         so an additional strdup is not necessary.
8083         (create_ggv_window): removed widget vbox which was created, but never
8084         used or freed.
8085         * ggv/all of the above is courtesy of bug-spotting and coding skills of
8086         Werner Koerner <Werner.Koerner@zae.uni-wuerzburg.de>.
8087         * ggv/main.c (recent_update_menus): only allocate menu once, as only one
8088         instance is required. free it upon completing menu updating. free the
8089         label.
8090         * ggv/configure.in: bumped version to 0.82.
8091
8092 1999-12-11  Daniel M German  <dmg@csg.uwaterloo.ca>
8093
8094         * ggv/Updated help/C/Makefile.am to make sure that help html files are
8095         included in the distribution file.
8096         * ggv/Released version 0.82
8097
8098 1999-12-07  Daniel M German  <dmg@csg.uwaterloo.ca>
8099
8100         * ggv/TODO: Added request to use gdk_pixbuf (might improve performance
8101         in slow machines).
8102
8103 1999-12-05    <dmg@csg.uwaterloo.ca>
8104
8105         * ggv/configure.in: bumped version to 0.81.
8106
8107         * ggv/Added command line options to the help file. Make sure the help
8108         files are part of the distribution.
8109
8110         * ggv/main.c: commented code for save_as option. If somebody really
8111         wants to save "as" then she can mark all the pages and then save
8112         marked pages. Otherwise, it is just needed to implement a "copy"
8113         from the source file to the destination file.
8114
8115         * ggv/ps.c (pscopyuntil): make sure we don't read beyond the end of
8116         file.
8117
8118         * ggv/main.c (open_prefs_dialog): make sure the source file is the
8119         uncompressed one (if the source file is compressed). Fixes bug in
8120         which a "save pages" from a compressed file did not workx
8121
8122 1999-12-03  Nat Friedman  <nat@helixcode.com>
8123
8124         * ggv/bonobo-application-ps.c (view_size_query_cb): Removed.
8125         (view_realize_cb): Removed call to deleted function
8126         gnome_view_size_request.
8127         (reload_all_views): Likewise.
8128         (view_factory): Removed signal connect to "size_query" on the
8129         View.
8130
8131 1999-12-02  Daniel M German  <dmg@csg.uwaterloo.ca>
8132
8133         * ggv/configure.in: created version 0.80
8134
8135         * ggv/prefs.c (load_prefs): ggv uses the shell to execute two
8136         commands: one to convert from pdf to ps and another to
8137         decompress. I protected the file names with " " so the file name
8138         does not get interpreted by the shell. This has a disadvantage: if
8139         the file name contains " then this will not work. Thanks to
8140         Christian Hammers <ch@lathspell.westend.com> for the bug report.
8141
8142 1999-11-30  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8143
8144         * ggv/ggvwindow.h (struct _ggv_window): added GtkWidget * members for
8145         menu and popupmenu items for clearing and toggling pages.
8146         * ggv/main.c: included <ctype.h> in order to get prototype for isdigit().
8147         (load_gs, create_popup_menu, create_menus): set sensitivities for the
8148         page marking items.
8149         * ggv/ps.c: removed file_getTmpFileName() and replaced it with use of
8150         tempnam() and g_get_tmp_dir().
8151         * ggv/gtkgs.c (gtk_gs_cleanup): free all filenames and set them to NULL.
8152         once again, thanx for discovering these bug and providing the fixes go
8153         to Werner Koerner <werner.koerner@zae.uni-wuerzburg.de>.
8154
8155 1999-11-28  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8156
8157         * ggv/gtkgs.c (start_intrepreter): pass filename of the uncompressed
8158         file to gs if the original file was compressed.
8159         (gtk_gs_load): return FALSE if the document could not be loaded -
8160         this prevents segfaults when an empty document is loaded.
8161         (set_up_page): set LC_NUMERIC locale to C before printing floats for
8162         ghostscript and reset it back afterwards as ghostscript expects a
8163         '.' decimal point while some european locales use ','.
8164         * ggv/main.c (recent_update_menus): fixed occasional segfaults when
8165         updating menus. also fixed a memory leak by freeing window_with_data
8166         structures associated with menu items. don't translate the menu paths
8167         as libgnomeui does that on the fly.
8168         (recent_update): store files in a global list.
8169         (recent_update_menus): don't free the list passed in as the parameter.
8170         * ggv/ggvwindow.h (struct _ggv_window): changed recent_instantiated to
8171         num_recent (if >0 then recent file menus have been instantiated).
8172         * ggv/prefs.[ch]: removed gs_num_recent.
8173         * ggv/thanx for reporting recent files list, compressed files and locale
8174         problems and even sending patches for them go to Werner Koerner
8175         <werner.koerner@zae.uni-wuerzburg.de>
8176
8177 1999-11-21  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8178
8179         * ggv/main.c (load_gs): call recent_add().
8180         (open_window): call recent_update() after successfully loading a
8181         document.
8182         * ggv/callbacks.c (file_open_ok_callback): remove call to recent_add(), as
8183         we now call it from load_gs().
8184
8185 1999-11-20  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8186
8187         * ggv/gtkgs.c (gtk_gs_load): call gtk_gs_clean() even if the
8188         fname is NULL.
8189         * ggv/callbacks.c (print_callback): if the loaded document was compressed
8190         use the uncompressed temp file as the argument for the print command.
8191         * ggv/main.c: fix setting the sensitivity of 'File' menu items.
8192         (open_prefs_dialog): handle "changed" signal of all GtkEntries with
8193         prefs_changed_callback(). this fixes a bug that caused new values to
8194         be applied only if the user "activated" the entry by pressing Enter.
8195         * ggv/ggvwindow.h: add printmarked member to struct _ggvwindow.
8196
8197 1999-11-15  Yuri Syrota  <rasta@renome.rovno.ua>
8198
8199         * ggv/configure.in (ALL_LINGUAS): Added Ukrainian (uk).
8200
8201 1999-11-06  Michael Meeks  <mmeeks@gnu.org>
8202
8203         * gpdf/xpdf/gtkgesture.c (gesture_data_append_point): fix leak.
8204
8205         * gpdf/xpdf/bonobo-application-x-pdf.c (setup_pixmap): Fix leak +
8206         flicker.
8207
8208         * gpdf/xpdf/GOutputDev.cc (~GOutputDev): Add clear of state stack +
8209         clear text page + delete font. (startPage): fic gdkGC leaks.
8210         (findColor): clean.
8211
8212 1999-11-02  Daniel M German  <dmg@csg.uwaterloo.ca>
8213
8214         * ggv/main.c, callbacks.c: Moved error message "not marked pages" in
8215           saved_as before the file dialog
8216         * ggv/ps.c: Added code to fix a "feature" of NT in which
8217           code is added after the %%EndSetup and before
8218           the first %%Page: x y. This code belongs to
8219           the Setup.
8220
8221 1999-10-26  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8222
8223         * ggv/main.c (create_popup_menus): add all the "Toggle *" items to the
8224         popup menu.
8225         (toggle_pages): return immediately if no document is loaded.
8226         * ggv/foot.xpm, foot_white.xpm: change background to None.
8227
8228 1999-10-26  Daniel M German  <dmg@csg.uwaterloo.ca>
8229
8230         * ggv/Released version 0.70
8231
8232 1999-10-24  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8233
8234         * ggv/bonobo-application-ps.c (verb_*_page): check if a document
8235         is loaded before turning the page.
8236         * ggv/foot.xpm, foot_white.xpm: make the background transparent
8237         instead of white.
8238         * ggv/main.c, callbacks.c: removed some redundant marking code and
8239         unneeded printouts.
8240
8241 1999-10-24  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8242
8243         * ggv/main.c (set_page_sensitivities): enable the next button when
8244         a non-structured document is loaded.
8245         (load_gs): clear page list if a non-structured doc is loaded.
8246
8247 1999-10-23  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8248
8249         * ggv/gtkgs.c (gtk_gs_load): set send_filename_to_gs to FALSE in case
8250         of a structured doc. this fixes a nasty bug that caused ggv to
8251         hang if a structured doc was loaded after a non-structured one.
8252
8253 1999-10-21  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8254
8255         * ggv/main.c (create_menus): add a 'Print marked pages' item.
8256         (save_marked_pages): a utility function that saves marked pages to
8257         a file. copied code from file_save_ok_callback().
8258         * ggv/callbacks.[ch] (file_save_ok_callback): call save_marked_pages().
8259         (print_marked_pages_callback): save marked pages to a tmp file and
8260         print them. does not unlink the tmp file.
8261         * ggv/ggvwindow.h: renamed bRecentHasBeenInstantiated to
8262         recent_instantiated.
8263         * ggv/gtkgs.c (gtk_gs_marshall_signal_0): removed.
8264         some formatting and var naming changes to make the code look nicer.
8265
8266 1999-10-20  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8267
8268         * ggv/bonobo-application-ps.c (view_factory): set a UIHandler to our
8269         view.
8270         (view_activate_cb): merge/remove view menus on (de)activation.
8271         (view_next_page_cb, view_prev_page_cb, view_recenter_page_cb):
8272         callbacks for view menus.
8273
8274 1999-10-11  Michael Meeks  <mmeeks@gnu.org>
8275
8276         * gpdf/xpdf/GOutputDev.cc: Re-enable stroke color setting.
8277
8278 1999-10-08  Michael Meeks  <mmeeks@gnu.org>
8279
8280         * gpdf/xpdf/gpdf.cc (container_new): add to list before possibly removing.
8281
8282         * gpdf/xpdf/bonobo-application-x-pdf.cc (destroy_embed): Quit on last
8283         component close.
8284         (load_pdf_from_stream): inline redraw-all with new API.
8285         (redraw_view): implement (redraw_all): remove. (realize_mainbox):
8286         remould.
8287         (destroy_view): Fix serious memory corruption freeing pixmap
8288         twice.
8289         (view_activate): kill debug.
8290
8291 1999-10-06  Peter Teichman  <pat4@acpub.duke.edu>
8292
8293         * gpdf/xpdf/GOutputDev.cc: add return type for GOutputServerFont::isOk()
8294
8295         * gpdf/xpdf/bonobo-application-x-pdf.cc: casting fixes, for compiling
8296         with recent gcc
8297
8298         * gpdf/xpdf/PSOutputDev.cc: same, more casting fixes
8299
8300 1999-10-06  Michael Meeks  <mmeeks@gnu.org>
8301
8302         * gpdf/xpdf/BonoboStream.cc (bfseek): Add debug case.
8303         (bfread): nail immense leak.
8304
8305         * gpdf/xpdf/gpdf.cc (container_set_view): Activate the component to
8306         allow gestures to work.
8307
8308 1999-10-05  Michael Meeks  <mmeeks@gnu.org>
8309
8310         * gpdf/xpdf/bonobo-application-x-pdf.cc (setup_pixmap): Connect
8311         gestures + add event mask.
8312
8313         * gpdf/xpdf/gpdf.cc (container_close): Created. (container_close_cmd):
8314         Use it.  Huge header clean.
8315
8316         * gpdf/xpdf/gtkgesture.[ch]: Create.
8317
8318 1999-10-05  Jesus Bravo Alvarez  <jba@pobox.com>
8319
8320         * ggv/configure.in (ALL_LINGUAS): Added Galician (gl).
8321
8322 1999-09-20  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8323
8324         * ggv/gtkgs.[ch]: removed all traces of non-existant foo() signal ;).
8325         add an "interpreter_message" signal that gets called with lines of
8326         interpreter output as a parameter. the default handler simply frees
8327         the space allocated for message. seems like a nice way to pass
8328         interpreter errors to the widget user.
8329         * ggv/callbacks.[ch]: new files. moved all callbacks here from main.c
8330         since it was growing too large.
8331         (interpreter_message_callback): popup an error message with
8332         interpreter output. line by line unfortunately :(
8333         changed all instances of _cb to _callback - for consistency ;)
8334         * ggv/main.c: make some variables non-static in order to be accessed
8335         from callbacks.c. make all functions non-static.
8336         * ggv/ggvwindow.h: add enums and declarations of variables and functions
8337         shared by main.c and callbacks.c.
8338         * ggv/Makefile.am: add callbacks.c to build process.
8339
8340 1999-09-19  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8341
8342         * ggv/gtkgs.c: added some checks if the widget is realized before calling
8343         set_up_page(). removed some commented-out messages and improved the
8344         looks of some parts of the code.
8345         (gtk_gs_goto_page): pass a duplicated gs_filename gtk_gs_load() as
8346         gs_filename is freed in gtk_gs_load() before parameter is used.
8347         * ggv/bonobo-application-ps.c (verb_next_page, verb_prev_page): make them
8348         proper GnomeViewVerbFuncs.
8349         (view_factory): register verbs. connect realize signal handler to
8350         GtkGS in order to load and display document at realization time if it
8351         has been loaded before the view was created. connect size_query signal
8352         handler to the view.
8353         (view_realize_cb): render & display the document.
8354         (view_button_press_cb): popup verbs on button 3 click.
8355         (view_size_query_cb): ask for as much space as GtkGS needs...
8356         (stream_read): removed old code as I've implemented _Stream_copy_to()
8357         ages ago.
8358         (load_ps_from_stream): move view updating here from stream_read().
8359         (update_all_views): renamed to reload_all_views(), as this is really
8360         what it does.
8361
8362 1999-09-13  Karl Eichwalder  <ke@suse.de>
8363
8364         * ggv/main.c (create_menus): Add accel key for "Save As..."
8365         (cf. gnumeric).
8366
8367         * ggv/main.c (about_callback): Fix typo.
8368         * ggv/main.c (about_callback): Fix another one: It's PostScript, but
8369         Ghostscript (note the case of "...script") ;)
8370         * ggv/main.c (open_prefs_dialog): Ditto.
8371
8372 1999-09-11  Michael Meeks  <michael@nuclecu.unam.mx>
8373
8374         * gpdf/xpdf/bonobo-application-x-pdf.cc (destroy_view): destroy don't
8375         unref, make more paranoid add debug. (destroy_embed): Clean.
8376
8377         * gpdf/xpdf/gpdf.cc (key_press_event_cb): Added all manner of
8378         shortcuts.
8379         (container_new): Add key stuff (container_destroy_cb): Implement.
8380         (container_destroy): Add paranoid check.
8381
8382 1999-09-08  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8383
8384         * ggv/ggvwindow.h: it is plain ugly to define and not only declare a
8385         GdkCursor in a header file, so I removed the definition.
8386         * main.c (pan_cursor): define static GdkCursor *pan_cursor;
8387         (create_popup_menus): make #defines for indexes of relevant items
8388         in the popupMenu[] array in order to avoid sensitivity setting
8389         mayhem that followed when someone inserted new items in the menu.
8390         * ggv/bonobo-application-ps.c (pan_cursor): same as above.
8391         (verbs, embeddable_factory): sync with bonobo verb changes.
8392         (view_factory): remove call to set_prefs() and instead duplicate
8393         most of its code, as it was changed to take ggvwindow* as parameter
8394         instead of GtkGS*. next time I'd appreciate if people checked how
8395         bonobo parts compiled before comitting their changes.
8396         * ggv/application-ps.gnorba: brought up-to-date.
8397
8398 1999-09-07  Tomas Ogren  <stric@ing.umu.se>
8399
8400         * ggv/main.c: Fixed a typo
8401
8402 1999-09-07  Michael Meeks  <michael@imaginator.com>
8403
8404         * gpdf/xpdf/gpdf.cc (container_new): Fiddled with scrollpane
8405
8406 1999-09-07    <dmg@csg.uwaterloo.ca>
8407
8408         * ggv/main.c: updated authors
8409
8410 1999-09-06   Daniel M. German <dmg@csg.uwaterloo.ca>
8411
8412         * ggv/main.c, added ggvwindow.h, prefs.h, prefs.c
8413         Modified prefs so they apply to the ggv_window
8414         instead of gs, since some options apply to the former.
8415
8416 1999-09-06    Andreas Persenius <andreas@alfaskop.net>
8417
8418         * ggv/main.c, prefs.h, prefs.c:
8419         Added the option to jump at the beginning of a page when
8420         scrolling with pageup, page down.
8421
8422 1999-09-03  Miguel de Icaza  <miguel@nuclecu.unam.mx>
8423
8424         * ggv/main.c (about_callback): Use the imlib visual for displaying the
8425         image loaded with imlib.  Fixes crashes on multi-depth visuals.
8426
8427 1999-09-03  Andreas Persenius <andreas@alfaskop.net>
8428
8429         * ggv/main.c:
8430          Adds ... to File/Open
8431          Removes ... from File/Print... since no dialog comes up.
8432          Sets the cursor position to 0 in the text entrys in the preferences
8433          dialog.
8434
8435 1999-09-03   Daniel M. German <dmg@csg.uwaterloo.ca>
8436
8437         * ggv/prepared  version 0.61
8438         * ggv/main.c, gtkgs.c, ps.c
8439          Finished support to save marked pages.
8440
8441 1999-09-02  Matthias Warkus  <mawa@iname.com>
8442
8443         * ggv/ggv-splash.png: Added beautiful image for about widget.
8444
8445 1999-09-01  Michael Meeks  <michael@imaginator.com>
8446
8447         * gpdf/xpdf/bonobo-application-x-pdf.cc: Fix a massive leak :-).
8448         Considerably simplified with GtkPixmap. Fixed location problems.
8449
8450 1999-08-29  Miguel de Icaza  <miguel@gnu.org>
8451
8452         * ggv/main.c (escape_underlines): Include escape_underlines (copies
8453         from mc/gnome/gpopup2.c).
8454         (recent_update_menus): Escape file names from underlines.
8455
8456 1999-08-27  Michael Meeks  <michael@imaginator.com>
8457
8458         * gpdf/xpdf/bonobo-application-x-pdf.cc: Remove count of embeddable
8459         servers: seems to be handled inside Bonobo now.
8460
8461 1999-08-27  Karl Eichwalder  <ke@suse.de>
8462
8463         * ggv/ggv.spec.in: Minor fixes.
8464
8465 1999-08-27  Karl Eichwalder  <ke@suse.de>
8466
8467         * ggv/ggv.desktop (Comment): PostScript vs. Ghostscript.  Typo.
8468
8469 1999-08-27    <dmg@csg.uwaterloo.ca>
8470
8471         * ggv/gtkgs.c,main.c: Finished support for selecting pages
8472         * ggv/ps.c: Started implementation of saving selected pages
8473         * ggv/foot.xpm, foot_white.xpm: Added the pixmaps for the marks
8474
8475 1999-08-26  Michael Meeks  <michael@imaginator.com>
8476
8477         * gpdf/xpdf/gpdf.cc (component_destroy): Improved clean up.
8478
8479         * gpdf/xpdf/bonobo-application-x-pdf.cc (bed_free_data): Expand, and
8480         clean; remove redundant pdf_stream delete.
8481
8482 1999-08-25    <dmg@csg.uwaterloo.ca>
8483
8484         * ggv/main.c: Starting adding support to select individual pages
8485         * ggv/main.c: Added fullscreen command line option
8486
8487 1999-08-24  Michael Meeks  <michael@imaginator.com>
8488
8489         * gpdf/xpdf/application-x-pdf.gnorba: Update to new mime type.
8490
8491         * gpdf/xpdf/Makefile.am (gnorba_DATA): Rename mime type.
8492         Remove glade.
8493
8494         * gpdf/xpdf/gpdf.cc (main): File up a container if we fail to load any
8495         of the command line files.
8496
8497 1999-08-24  Michael Meeks  <michael@imaginator.com>
8498
8499         * gpdf/xpdf/Makefile.am: Cleaned + added thread bits.
8500
8501         * gpdf/xpdf/bonobo-image-x-pdf.cc: Add locking round 'xref' global.
8502         Remove CORBA_Environment global.
8503
8504 1999-08-24  Michael Meeks  <michael@imaginator.com>
8505
8506         * gpdf/xpdf/bonobo-image-x-pdf.cc (bed_free_data): Rationalised Stream
8507         duplicate / release, and scoped BonoboFile correctly.
8508
8509         * gpdf/xpdf/BonoboStream.cc (bfseek): Add init / free to all corba
8510         exceptions, ( stupidly lost this code somehow ).
8511
8512         * gpdf/xpdf/bonobo-image-x-pdf.cc (render_page): Add startDoc.
8513         (main): Add freeParams.
8514
8515 1999-08-24  Michael Meeks  <michael@imaginator.com>
8516
8517         * gpdf/configure.in: Removed check for Glade.
8518
8519         * gpdf/Makefile.am (gpdf.*): Renamed from xpdf.*
8520
8521 1999-08-24  Michael Meeks  <michael@imaginator.com>
8522
8523         * gpdf/configure.in: Add EXTRA_GLIB_LIBS/CFLAGS to include thread
8524         support.
8525
8526 1999-08-24    <dmg@csg.uwaterloo.ca>
8527
8528         * ggv/prepared version 0.51
8529         * ggv/Added MAINTAINERS file
8530         * ggv/gtkgs.c: Now it _deletes_ temporal files :)
8531         * ggv/main.c: Added geometry, spartan and nomenubar command line options
8532           and support for them
8533         * ggv/main.c: Add .ps or .pdf extension if not specified in the command line
8534         * ggv/ps.c: changed all free and mallocs to their gnome counterparts
8535
8536 1999-08-23  Miguel de Icaza  <miguel@gnu.org>
8537
8538         * gpdf/xpdf/bonobo-image-x-pdf.cc: Replace exit() with gtk_main_quit()
8539
8540 1999-08-23  Miguel de Icaza  <miguel@gnu.org>
8541
8542         * ggv/bonobo-application-ps.c (embeddable_factory): Adapt to current Bonobo.
8543
8544 1999-08-23  Michael Meeks  <michael@imaginator.com>
8545
8546         * gpdf/xpdf/gpdf.cc (container_launch_component): Fix flags.
8547         (container_create_toolbar): Fix for new Bonobo.
8548
8549 1999-08-23  Michael Meeks  <michael@imaginator.com>
8550
8551         * gpdf/xpdf/Makefile.am: Added helper programs back in.
8552
8553         * gpdf/xpdf/bonobo-image-x-pdf.cc (view_create_menus): Toolbars.
8554
8555 1999-08-23    <dmg@csg.uwaterloo.ca>
8556
8557         * ggv/Started support for command line options
8558         * ggv/Close window is now active
8559
8560 1999-08-22  Nat Friedman  <nat@gnome-support.com>
8561
8562         * ggv/bonobo-application-ps.c (main): Use bonobo_main.
8563
8564 1999-08-22  Miguel de Icaza  <miguel@gnu.org>
8565
8566         * gpdf/xpdf/bonobo-image-x-pdf.cc (main): Add error checking for
8567         factory registration.
8568
8569 1999-08-22  Michael Meeks  <michael@imaginator.com>
8570
8571         * gpdf/xpdf/bonobo-image-x-pdf.cc: Add zoom.
8572
8573 1999-08-22  Herbert Valerio Riedel  <hvr@hvrlab.dhs.org>
8574
8575         * ggv/main.c: changed type of data in struct _window_with_data to
8576         pointer (caused problems when sizeof(gpointer) > sizeof(gint) -
8577         eg. on alphas...)
8578
8579 1999-08-21  Herbert Valerio Riedel  <hvr@hvrlab.dhs.org>
8580
8581         * ggv/Makefile.am: integrated spec file
8582         * ggv/ggv.spec.in: reworked spec file, based on old ggv.spec
8583         * ggv/configure.in: added ggv.spec.in to AC_OUTPUT
8584         * ggv/ggv.spec: removed, as it is autogenerated now
8585
8586 1999-08-20  Daniel M. German  <dmg@csg.uwaterloo.ca>
8587
8588         * ggv/prepared version 0.50
8589         * ggv/removed debug messages
8590         * ggv/added support for most recently used documents
8591         * ggv/it deletes temporal files now
8592
8593 1999-08-19  Michael Meeks  <michael@imaginator.com>
8594
8595         * gpdf/xpdf/PDFDoc.cc: Altered to read / write lines.
8596
8597         * gpdf/xpdf/PDFDoc.cc: Move FileStream::checkHeader so its called in
8598         FileStream constructor.
8599
8600 1999-08-18  Michael Meeks  <michael@imaginator.com>
8601
8602         * gpdf/xpdf/gpdf.cc: cloned from test-container.
8603         (launch_server): use GOAD_ACTIVATE_SHLIB not '0'
8604
8605 1999-08-16  Michael Meeks  <michael@imaginator.com>
8606
8607         * gpdf/xpdf/Makefile.am (bin_PROGRAMS): Hack to only make bonobo
8608         component.
8609
8610         * gpdf/xpdf/bonobo-image-x-pdf.cc (view_factory): Init all members.
8611
8612 1999-08-15  Michael Meeks  <michael@imaginator.com>
8613
8614         * gpdf/xpdf/Now bonobo-image-x-pdf works, but everything else is
8615         broken: use
8616
8617                 make bonobo-image-xpdf to compile...
8618
8619 1999-08-11  Michael Meeks  <michael@imaginator.com>
8620
8621         * gpdf/xpdf/bonobo-image-x-pdf.cc: Fixed innumerable bugs, some in
8622         bonobo :-)
8623         (load_image_from_stream): Try closing the file to let its contents
8624         hit disk before reading from it :-)
8625         (configure_size): Don't get scared by configure_size.
8626         (redraw_view): Get the parameters in some sort of order.
8627
8628 1999-08-11  Michael Meeks  <michael@imaginator.com>
8629
8630         * gpdf/xpdf/bonobo-image-x-pdf.cc: Added.
8631
8632         * gpdf/xpdf/Makefile.am: added bonobo-image-x-pdf.c
8633
8634 1999-08-03  Michael Meeks  <michael@imaginator.com>
8635
8636         * gpdf/xpdf/gpdf.cc: Lots of updates, gives up on logging changes
8637         ( for a bit. )
8638
8639 1999-08-02  Michael Meeks  <michael@edenproject.org>
8640
8641         * gpdf/xpdf/GOutputDev.cc: Fix more silly region merging bugs.
8642
8643 1999-08-01  Michael Meeks  <michael@edenproject.org>
8644
8645         * gpdf/xpdf/Makefile.in: Added -lglade, -lglade-gnome & Added -Wall
8646
8647         * gpdf/xpdf/gpdf.glade: Added.
8648
8649         * gpdf/xpdf/gpdf.cc (loadFile): Add typecast.
8650         Remove all DOC_ROOT's magic numbers.
8651         Add glade GUI,
8652         Lots of other bits ...
8653
8654 1999-07-29  Michael Meeks  <michael@edenproject.org>
8655
8656         * gpdf/xpdf/GOutputDev.cc: Hahaaa... the bug ! :-) A difference in how
8657         GDK / X deal with merging rectangles and regions. Good.
8658
8659         * gpdf/xpdf/gpdf.cc (doc_redraw_event): Messing around.
8660
8661         * gpdf/xpdf/GOutputDev.cc (drawChar): Fix char printed as string.
8662
8663 1999-07-13  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8664
8665         * ggv/application-ps.gnorba: use GNOME/Embeddable*.
8666         * ggv/main.c (load_gs): if the loaded document is the same as the one
8667         viewed, don't reset the page to 0.
8668         (set_gs_prefs): really reload the document.
8669         (print_callback): use gnome_execute_shell()
8670         * ggv/prefs.c (load_prefs): add %s to the default printing command.
8671
8672 1999-07-11  Tomas Ogren  <stric@ing.umu.se>
8673
8674         * ggv/gtkgs.c: Process events to keep the UI somewhat alive..
8675
8676 1999-07-09  Tuomas J. Lukka  <lukka@iki.fi>
8677
8678         * ggv/Fix some cvsignores
8679
8680 1999-07-08 Daniel M. German <dmg@csg.uwaterloo.ca>
8681
8682         * ggv/ps.c, gtkgs.c There seem to exist some PostScript documents that
8683         do not have !PS at the beginning. Heck, they have nothing. For example,
8684         I was trying to read a file that started with:
8685
8686         %! coverpage
8687
8688         /beginword              % Usage: str x y beginword
8689         {
8690         ...
8691
8692         Even if a remove the line with %! it is still a valid PostScript
8693         file.
8694
8695         Sooo, I decided (temporarily at least) to do what gv does: pass
8696         the file to GhostScript in the hope that it will be able to deal
8697         with it. The current error messages are sent to stderr. We should
8698         handle them in a nicer way.
8699
8700 1999-07-08  Tuomas J. Lukka  <lukka@iki.fi>
8701
8702         * ggv/From: Alexander Savelyev <fano@alfacom.net>
8703         patch to fix small buglet
8704
8705 1999-07-08  Tuomas J. Lukka  <lukka@iki.fi>
8706
8707         * ggv/Add keystrokes to menu entries.
8708
8709 1999-07-08  Tuomas J. Lukka  <lukka@iki.fi>
8710
8711         * ggv/Fixed my own caused bug - accelerators should
8712           work again.
8713
8714 1999-07-03 Daniel M. German <dmg@csg.uwaterloo.ca>
8715         * ggv/gtkgs.c fixed a bug that froze the
8716           interface whenever a encapsulated postscript
8717           file was displayed.
8718         * ggv/main.c added functionality to the file_open_window
8719           it now uses the directory where the current
8720           document is as the default directory.
8721
8722 1999-07-02  Tuomas J. Lukka  <lukka@iki.fi>
8723
8724         * ggv/Add '+' and '-' keys for zoom in & out
8725         * ggv/clean up key_pressed_event_callback by moving out the
8726           stop_emit
8727
8728 1999-07-02  Tuomas J. Lukka  <lukka@iki.fi>
8729
8730         * ggv/Allow the prefix to be just %!PS, not just %!PS-Adobe.
8731          Many files have just that.
8732
8733 1999-06-25  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8734
8735         * ggv/test-container.c: removed. it was just another nuisance
8736         that had to be updated all the time. test-container-autoload
8737         from bonobo package will do for testing the component.
8738         * ggv/Makefile.am: updated to reflect the above.
8739
8740 1999-06-22 Daniel M. German <dmg@csg.uwaterloo.ca>
8741         * ggv/main.c Improved the file open window. It does not close
8742         if the selected file is a directory or if the
8743         file does not exist. It now handles wildcards in the
8744         file name.
8745
8746 1999-06-22  Nat Friedman  <nat@gnome-support.com>
8747
8748         * ggv/test-container.c: Use gnome_bonobo_object_client_free_verbs
8749         instead of gnome_bonobo_object_free_verbs.  Ditto with
8750         gnome_bonobo_object_client_get_verbs and
8751         gnome_bonobo_object_client_do_verb.
8752
8753         * ggv/bonobo-application-ps.c (view_factory): Accept the ViewFrame as
8754         a parameter.
8755
8756 1999-06-22  Matt Loper  <matt@gnome-support.com>
8757
8758         * ggv/bonobo-application-ps.c (bonobo_object_factory): Changed to
8759         eliminate need for path, and to reflect GnomeBonoboObjectFactory
8760         -> GnomeComponentFactory change. Return GnomeObject instead of
8761         GnomeBonoboObject.
8762
8763 1999-06-21    <dmg@csg.uwaterloo.ca>
8764         * ggv/Contributed to the help
8765
8766 1999-06-20    <dmg@csg.uwaterloo.ca>
8767
8768         * ggv/Released version 0.40
8769         * ggv/Fixed pt_BR.po
8770
8771 1999-06-18  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8772
8773         * ggv/main.c (create_ggv_window): fix toplevel sizing.
8774
8775 1999-06-16  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8776
8777         * ggv/main.c (hide_menubar_callback): becomes show_menubar_callback.
8778         (hide_toolbar_callback): becomes show_panel_callback.
8779         (show_menubar_callback): small fix to properly enable the togglebuttons
8780         when the menus are not created upon startup.
8781         * ggv/main.c, prefs.[ch]: changed gs_toolbar to gs_panel.
8782
8783 1999-06-15  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8784
8785         * ggv/main.c: take care of the reload item sensitivity. turn hide/show items
8786         into toggleitems. some general work on code aesthethics.
8787
8788 1999-06-14  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8789
8790         * ggv/test-container.c: use new convenience functions for handling
8791         the verbs instead of using CORBA functions.
8792         * ggv/bonobo-application-ps.c: use the GNOME_Stream_copy_to() function,
8793         as I've just implemented it for GnomeStreamFS in bonobo.
8794
8795 1999-06-12  Daniel M. German  <dmg@csg.uwaterloo.ca>
8796
8797         * ggv/Added pt_BR.po, contributed by Lalo Martins <lalo@webcom.com>
8798
8799 1999-06-09  Tuomas J. Lukka <lukka@iki.fi>
8800
8801         * ggv/Help file small edit
8802
8803 1999-06-09  Michael Meeks  <michael@edenproject.org>
8804
8805         * gpdf/xpdf/gpdf.cc (main): Add error init.
8806
8807 1999-06-06  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8808
8809         * ggv/gtkgs.c (gtk_gs_load): set document size parameters to 0.
8810         * ggv/main.c (create_menus): added tooltip strings to UI items. install
8811         menu hints.
8812         (load_gs): report some status via appbar flashes.
8813         (create_ggv_window): add a statusbar.
8814
8815 1999-06-05  Tomas Ogren  <stric@ing.umu.se>
8816
8817         * ggv/configure.in: Add sv to ALL_LINGUAS
8818
8819 1999-06-05  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8820
8821         * ggv/gtkgs.c (gtk_gs_load): don't try to print out page order
8822         unless we've successfully loaded the document.
8823
8824 1999-06-04  Sergey Panov <sipan@mit.edu>
8825
8826         * configure.in:  Add ru to ALL_LINGUAS
8827
8828 1999-06-03  Michael Meeks  <michael@edenproject.org>
8829
8830         * gpdf/xpdf/GOutputDev.cc (GOutputDev): Actually set up pixmapW & H
8831         (GOutputDev): Setup 'depth' correctly.
8832
8833         * gpdf/xpdf/gpdf.cc (main): Moved freeParams() to after the main loop !
8834
8835         * gpdf/xpdf/Params.cc (initParams): Added assert on fontPathLen.
8836         (freeParams): Clean global pointers on free.
8837
8838         * gpdf/xpdf/Makefile.in (CXXFLAGS): Added LTKSRCDIR and Xpm_CFLAGS to
8839         CXXFLAGS.
8840
8841 1999-06-02  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8842
8843         * ggv/main.c (create_menus): moved show/hide menubar/side panel to
8844         settings menu. disable the menu items that do nothing yet.
8845         (print_callback): print by system()ing a command on the ps file.
8846         usually, this would be lpr.
8847         (open_prefs_dialog): add a Printing page, letting the user specify
8848         the command used to print files.
8849         * ggv/prefs.[ch]: added preferences for printing command.
8850         * ggv/help/C/ggv.sgml: describe the menus and the new printing feature.
8851         * ggv/configure.in: check if we have lpr's path for default print
8852         command.
8853
8854 1999-06-01  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8855
8856         * ggv/bonobo-application-ps.c, test-container.c: respect recent
8857         changes to the Verbs interface (no more verb codes).
8858
8859 1999-05-31  Matt Loper  <matt@gnome-support.com>
8860
8861         * ggv/application-ps.gnorba: Changed two goad_id's and one repo id to
8862         reflect the Component -> BonoboObject namechange.
8863
8864         * ggv/test-container.c: Changed minor things to reflect Component ->
8865         BonoboObject renaming.
8866
8867         * ggv/bonobo-application-ps.c: Changed comment to reflect
8868         renaming. Changed component_data_t typedef to
8869         bonobo_object_data_t.
8870         (bonobo_object_destroy_cb): Renamed component_destroy_cb function
8871         to bonobo_object_destroy_cb.
8872         (bonobo_object_factory): Renamed component_factory function to
8873         bonobo_object_factory.
8874
8875 1999-05-31  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8876
8877         * ggv/main.c (struct _ggv_window): add prev[item|pu] and next[item|pu]
8878         members that point to Next/Prev page [popup]menu items. use these
8879         for setting their sensitivity.
8880         (set_page_sensitivities): new function to set sensitivity of all
8881         next/prev widgets (buttons, menuitems) properly.
8882         (select_page_callback, goto_page): use the above.
8883         (create_popup_menu): add zoom in/out items.
8884         * ggv/help/C/ggv.sgml: some changes to make english look more english ;)
8885         added another chapter on the preferences.
8886
8887 1999-05-30  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8888
8889         * ggv/main.c (goto_page): set prev/next button sensitivity properly.
8890         (about_callback): added myself to the authors ;)
8891         * ggv/bonobo-application-ps.c (component_factory): add some verbs
8892         to our component and connect a handler for do_verb signal.
8893         gtk_object_set_data() our component_data to the actual
8894         GnomeComponent as we'll need this in do_verb_cb().
8895         (do_verb_cb): handler for do_verb signal.
8896         * ggv/test-container.c (add_verb): add an item with the verb
8897         name to Verbs menu. connect "activate" signal handler and
8898         gtk_object_set_data() the GnomeComponent that the verb was
8899         acquired from to the item.
8900         (add_cmd): get component's verb list and create menu items
8901         with their names in Verbs menu.
8902         (verb_cb): get the GnomeComponent that the verb was acquired from
8903         using a gtk_object_get_data() and do a GNOME_Component_do_verb()
8904         on it with verb_name set to NULL as we don't pass it to the
8905         callback.
8906
8907 1999-05-29  Michael Meeks  <michael@edenproject.org>
8908
8909         * gpdf/xpdf/Makefile.in (GPDF_OBJS): Remove XOutputDev
8910         (all): Remove all but gpdf.
8911
8912         * gpdf/xpdf/gpdf.cc: Add define GString / undef.
8913         (main): Argc not Argv :)
8914
8915         * gpdf/xpdf/GOutputDev.cc (findColor): Made pigs ear of colour
8916         mappings.
8917
8918 1999-05-28  Michael Meeks  <michael@imaginator.com>
8919
8920         * gpdf/xpdf/GOutputDev.cc (drawChar16): XChar2b -> GdkWChar
8921
8922 1999-05-28  Daniel M. German <dmg@csg.uwaterloo.ca>
8923         * gtkgs.c
8924         * ggv/gtkgs.h
8925         * ggv/main.c
8926            Added support for non structured documents. It still
8927         requires testing.
8928         * ggv/main.c
8929           Disable buttons when document has not been opened
8930           Enable buttons once it has been open
8931           Disable prev page in structured documents
8932
8933 1999-05-27  Michael Meeks  <michael@imaginator.com>
8934
8935         * gpdf/xpdf/GOutputDev.cc (GOutputFont): Hacks.
8936         (GOutputFont): Renamed.
8937         (getFont): killed redundant 'display'
8938         getGdkFont not getXFont.
8939         (GOutputDev): NB. colormap -> gtk_widget_get_default_colormap ()
8940         which returns GdkColormap *, killed colormap & depth1 in prototype.
8941         Removed redundant assigns.
8942         NB. Miguel says 'miguel> michael: a GdkPixmap is a GdkWindow'
8943         Many misc. fixes upto convertSubPath.
8944
8945         * gpdf/xpdf/GOutputDev.h: Comments 'G'd and GOutputDev updated.
8946         XPoint -> GdkPoint
8947
8948         * gpdf/xpdf/Makefile.in (CXXFLAGS): Add GOOSRCDIR.
8949
8950 1999-05-27  Michael Meeks  <michael@imaginator.com>
8951
8952         * gpdf/README.CVS: Elucidated the GPL nature of xpdf.
8953
8954 1999-05-27  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8955
8956         * ggv/bonobo-application-ps.c (main): remove hardcoded GtkGS
8957         instead load GS configuration from /bonobo-application-ps/...
8958         * ggv/prefs.[ch] (load_prefs, save_prefs): pass prefix as a parameter
8959         to enable loading prefs for both ggv and bonobo component.
8960         (set_prefs): apply prefs to a GtkGS widget.
8961         * ggv/ps.h: enclosed in #ifndef __GGV_PS_H__/#endif.
8962         * ggv/main.c: respect changes to prefs.[ch].
8963         * ggv/test-container.c: activate component after creating the view so
8964         that it can receive mouse events.
8965         * ggv/Makefile.am: share prefs sources between ggv and bonobo component.
8966
8967 1999-05-27  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8968
8969         * ggv/bonobo-application-ps.c: new file. a bonobo component that
8970         displays postscript via gtkgs widget.
8971         * ggv/test-container.c: a test container app for bonobo component.
8972         stolen from bonobo source tree.
8973         * ggv/configure.in: check for bonobo.
8974         * ggv/Makefile.am: if bonobo is present, build ps component and
8975         test-container.
8976         * ggv/application-ps.gnorba: gnorba file for the component. note that
8977         none of the bonobo stuff is installed yet. to use the component,
8978         you have to copy bonobo-application-ps somewhere in your PATH and
8979         the .gnorba file to $prefix/etc/CORBA/servers and run test-container.
8980
8981 1999-05-26  Tuomas J. Lukka <lukka@iki.fi>
8982
8983         * ggv/Start a help file
8984
8985 1999-05-24  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
8986
8987         * ggv/gtkscrollpane.c (gtk_scrollpane_update_slider_size): fixed
8988         the size calculation code. gdk_window_move_resize() works as it
8989         should now.
8990         (gtk_scrollpane_motion_notify): fixed this also.
8991
8992 1999-05-23  Tuomas J. Lukka <lukka@iki.fi>
8993
8994         * ggv/Implement the zoomin/zoomout buttons and change to using
8995           magsteps.
8996         * ggv/Prevent the scrollpane from growing indefinitely (odd bug,
8997           now commented out as FIXME in gtkscrollpane.c)
8998
8999 1999-05-23  Tuomas J. Lukka <lukka@iki.fi>
9000
9001         * ggv/main.c : add zoomin, zoomout buttons. We need gnome stock
9002           buttons for these!
9003           The buttons don't do anything yet, though: we need to
9004           make the variable have a reasonable meaning (I'd prefer magstep,
9005           opinions?)
9006
9007 1999-05-23  Jaka Mocnik  <jaka-mocnik@kiss.uni-lj.si>
9008
9009         * ggv/main.c (main): load preferences BEFORE opening files from
9010         command line arguments.
9011
9012 1999-05-20  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
9013
9014         * ggv/prefs.[ch]: added preferences for toolbar and menubar
9015         visibility.
9016         * ggv/main.c (open_prefs_dialog): new Layout properties page for
9017         the above settings.
9018         (button_press_callback, button_release_callback):
9019         moved commented out cropping code to middle-button click and
9020         assigned left-button to start panning.
9021         (motion_callback): pan if left mouse button is pressed.
9022         * ggv/gtkgs.[ch] (gtk_gs_scroll): new public function to scroll the
9023         visible parts.
9024         * ggv/gtkscrollpane.h: added in_slider member. set to true when
9025         pointer is in the slider window.
9026         * ggv/gtkscrollpane.c: respect themes. fixed size requisition signal
9027         handler.
9028
9029 1999-05-20  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
9030
9031         * ggv/main.c: some sanitizing of cases when a document can't be loaded.
9032         * ggv/gtkgs.c: hide gs target window when a document can't be loaded and
9033         show it when a document is successfully loaded.
9034         * ggv/gtkscrollpane.c: fixed a bug in expose signal handler that caused
9035         the shadow around the trough not to be redrawn.
9036
9037 1999-05-19  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
9038
9039         * ggv/main.c (create_ggv_window): cosmetics. removed the frame
9040         around "sidebar" and added one around GtkGS widget.
9041         (hide_menubar_callback): fixed.
9042         (reload_callback): fixed.
9043         (set_gs_prefs, apply_gs_prefs): new functions for setting
9044         preferences for a single and all open GtkGS widget.
9045         (open_prefs_dialog): a dialog for setting preferences.
9046         * ggv/gtkscrollpane.c (gtk_scrollpane_update_slider_size):
9047         fixed a bug that caused the scrollpane to require more space
9048         with each size_request signal.
9049         * ggv/prefs.[ch]: new files; loading and saving of preferences.
9050         * ggv/gtkgs.[ch]: changed members gs_gs_cmd_scan_pdf to gs_scan_pdf_cmd
9051         and gs_uncompress_command to gs_uncompress_cmd.
9052         (gtk_gs_set_pagemedia): changed the interface a bit.
9053         * ggv/ps.[ch]: add a #define PAPER_SIZE_COUNT in order to use papersizes[]
9054         in prefs dialog.
9055         * ggv/Makefile.am: added prefs.[ch] to ggv sources.
9056
9057 1999-05-18  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
9058
9059         * ggv/main.c (create_menus): use gnome-app-helper stuff where
9060         appropriate. restructured the menus a bit.
9061         (create_popup_menus): use gnome-popup-menu for this.
9062         (about_callback): cosmetics.
9063         (file_open_destroy_callback): in order to reflect its use,
9064         changed to file_open_cancel_callback.
9065         (file_open_delete_callback): new handler for file selection's
9066         delete event.
9067         (struct _ggv_window, open_callback, file_open_ok_callback,
9068         file_open_cancel_callback): use ggv->file_sel instead of a
9069         global file_sel.
9070         * ggv/gtkscrollpane.c (gtk_scrollpane_size_request): make it work
9071         as it should.
9072
9073 1999-05-17  Tuomas J. Lukka <lukka@iki.fi>
9074         * ggv/main.c: factor out goto_page and make it jump in the list if
9075           the entry is not visible.
9076         * ggv/Update fi.po
9077
9078 1999-05-06  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
9079
9080         * ggv/main.c (struct _ggv_window): put _window_with_data arrays
9081         for menus here instead of dynamically allocating it.
9082         (open_window, close_window): new helper functions to open and close
9083         ggv windows.
9084         (create_menus, new_callback): add a "New Window" item to "File"
9085         menu to open a new window.
9086         (delete_callback): new function, called instead of exit_callback()
9087         on window delete_events.
9088         (close_cmd): becomes close_callback().
9089         (create_ggv_window): make windows accept dropped files.
9090         (drop_callback): new function: load files dropped on a window.
9091         also g_free() what needs to be freed all over the code.
9092
9093 1999-05-05  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
9094
9095         * ggv/gtkgs.c: add checks if the GtkGS widget is realized before
9096         calling gtk_gs_munge_adjustments() preventing segfaulting due
9097         to moving and resizing a non-existant window.
9098
9099 1999-04-23 Daniel M. German  <dmg@csg.uwaterloo.ca>
9100         * ggv/gtkscrollpane.h, gtkscrollpane.c
9101         I modified the API for scrollpane in order to
9102         replace scroll up, scroll down, scroll left
9103         and scroll right with one function:
9104         gtk_scrollpane_step.
9105         Added scroll_page_goto_edge
9106         Added wrapping option to scrolling, this
9107         allows the user to move from one page to another
9108         when pressing space or backspace
9109         * ggv/main.c
9110         Replace calls to scrolling functions for new functions
9111         When scrollign through document (space), it moves
9112         the pane to the top corner in a new page. Backspace
9113         should be modified accordingly. New functions allows
9114         to write less code when handling different orientations.
9115         The idea is to have less repetion of code. The API for scrolling
9116         might change again in order to accomodate this.
9117
9118 1999-04-22 Daniel M. German  <dmg@csg.uwaterloo.ca>
9119         * ggv/main.c
9120         * Changed 'q' accelerator to Ctrl-Q, which is the
9121         GNOME standard. I also changed the location of the
9122         quit accelerator to the menu definition, so it
9123         uses the proper callback.
9124         * ggv/Added other accelerators to the menu
9125
9126 1999-04-22  Tuomas J. Lukka     <lukka@iki.fi>
9127         * ggv/Add the 'q' accelerator for getting out a la ghostview.
9128         * ggv/Add size requests to try to behave well
9129         * ggv/Add a scrollbar (scrolled_window) around the page list
9130
9131 1999-04-15 Daniel M. German  <dmg@csg.uwaterloo.ca>
9132         * ggv/main.c
9133          It now kills all windows before exiting (exit_callback), ergo
9134           no gs process are left running.
9135         o
9136
9137 1999-04-14 Daniel M. German  <dmg@csg.uwaterloo.ca>
9138         * Released version 0.30
9139         * ggv/gtkgs.c, gtkgs.h
9140          Fixed the bad bug in which GS stopped processing input.
9141          The "truly bad hack" is history (I hope :)
9142
9143 1999-04-09  Shooby Ban <bansz@szif.hu>
9144         * ggv/Added hungarian translation
9145
9146 1999-03-28  Tuomas J. Lukka     <lukka@iki.fi>
9147         * ggv/Add fi to all_linguas
9148         * ggv/set usize of scrollpane in main.c
9149         * ggv/Fix gtk_gs bug: the adjustments were not set properly
9150           since size_allocate was called when gs->width was
9151           not yet set. My fix needs to be looked at.
9152           The scrollpane now works.
9153         * ggv/Does not allocate full document size any more - this
9154           is bad because it goes over screen size easily.
9155
9156 1999-03-28  Tuomas J. Lukka     <lukka@iki.fi>
9157         * ggv/Fix desktop fi entry
9158
9159 1999-03-13 Daniel M. German  <dmg@csg.uwaterloo.ca
9160         * ggv/main.c
9161         Added error handling when loading file
9162         Fixed bugs and finished support for multiple windows (only
9163           from command line)
9164         Automatic resizing when opening files
9165         Page up (next page) and page down (prev page) reversed to mimic
9166         ghostview  behaviour
9167         Modified zoom menu and (and simplified) zoom callback to reflect
9168         ghostview options (1/10, 1/8, 1/4, 1/2, 1/1.44, 1/1, etc)
9169         * ggv/gtkgs.c
9170         Fixed zooming bug
9171
9172 1999-02-25  Jonathan Blandford  <jrb@redhat.com>
9173
9174         * ggv/ggv.desktop (Comment): added German translation by Matthias
9175         Warkus.
9176
9177 1998-11-28  Raja R Harinath  <harinath@cs.umn.edu>
9178
9179         * ggv/main.c (create_ggv_window):
9180         Remove call to deleted function `gtk_clist_set_policy' which
9181         was non-functional anyway. (xref gtk+/ChangeLog:
9182         Wed Nov 19 01:22:42 1998  Tim Janik  <timj@gtk.org>).
9183
9184         * ggv/gtkgs.c (gtk_gs_init):
9185         Removed setting of the GTK_BASIC flag (xref gtk+/ChangeLog:
9186         Wed Nov 18 22:54:36 1998  Tim Janik  <timj@gtk.org>).
9187
9188 1998-11-10  Raja R Harinath  <harinath@cs.umn.edu>
9189
9190         * ggv/configure.in (paths.h): New check.
9191         (GS_PROG): Check for the full path of `gs'.
9192         (GS_PATH): New #define, defined to GS_PROG.
9193         * ggv/acconfig.h (GS_PATH): New define.
9194         * ggv/file.c: Protect inclusion of `paths.h' with HAVE_PATHS_H.
9195         * ggv/gtkgs.c (gtk_gs_init): Don't hardcode "/usr/bin/gs", use the
9196         discovered GS_PATH.
9197         From "Brandon S. Allbery" <allbery@ece.cmu.edu>.
9198
9199 1998-08-12  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>
9200
9201         * ggv/configure.in (ALL_LINGUAS): Added Portuguese translation after
9202         the split of gnome-graphics.
9203
9204 Fri Aug  7 11:54:03 1998 Jonathan Blandford <jrb@redhat.com>
9205         * ggv/main.c: commented out crop code temporarily.
9206         * ggv/when it works correctly, i'll uncomment it... (:
9207
9208 1998-08-07  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>
9209
9210         * ggv/ggv.desktop: Added Portuguese translation.
9211
9212 Wed Jul 29 18:19:12 1998  Jonathan Blandford  <jrb@redhat.com>
9213         many changes.  A bit more stable now.
9214         * ggv/main.c: Added support for key presses and some mouse click support.
9215         * ggv/gtkscrollpane.c (gtk_scrollpane_update_slider_size): fixed a big bug.
9216         * ggv/gtkgs.c: fixed many bugs.
9217
9218 Mon Jul 27 14:50:28 1998  Tom Tromey  <tromey@cygnus.com>
9219
9220         Some `-ansi -Wall -Wmissing-declarations' fixes:
9221         * ggv/gtkgs.c (catchPipe): Now static.
9222         (start_interpreter): Removed unused variables.
9223         Include <sys/types.h>, <sys/wait.h>, and <stdio.h>.
9224         (gtk_gs_goto_page): Removed unused variable.
9225         (is_interpreter_ready): Now static.
9226         (is_interpreter_running): Likewise.
9227         * ggv/file.c: Turned C++ comments into C comments.
9228         * ggv/file.h (file_getTmpFilename): Fixed declaration to match
9229         definition.
9230         * ggv/ps.c: Include "file.h", <glib.h>.
9231         (file_getTmpFilename): Argument now const.
9232         (get_next_text): Renamed from `gettext' to avoid clash with GNU
9233         gettext.
9234
9235         Added gettext and argument parsing:
9236         * ggv/main.c (startup_files): New global.
9237         Include <config.h> first.
9238         (parse_an_arg): New function.
9239         (parser): New structure.
9240         (main): Pass parser to gnome_init.
9241         (orientationMenu2): Wrapped strings with N_.
9242         (fileMenu): Likewise.
9243         (documentMenu): Likewise.
9244         (helpMenu): Likewise.
9245         (mainMenu): Likewise.
9246         (about_callback): Use _() around user-visible strings.
9247         (open_callback): Likewise.
9248
9249 Fri Jul 10 20:10:37  Jonathan Blandford <jrb@redhat.com>
9250
9251         * ggv/rewrite of ggv. many files removed. some added.
9252           following files have been added: TODO, main.c, gtkgs.c, gtkgs.h
9253           gtkscrollpane.h gtkscrollpane.c
9254           ggv is no longer nearly as dependent on the old ghostview code
9255           any more.
9256
9257 1998-08-07  Federico Mena Quintero  <federico@nuclecu.unam.mx>
9258
9259         Split of gnome-graphics into ee and ggv modules:
9260
9261         * ggv/autogen.sh:
9262         * ggv/configure.in:
9263         * ggv/Makefile.am: Adjusted for new ggv module.