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