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