source: trunk/third/ggv/ChangeLog @ 18824

Revision 18824, 113.9 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18823, which included commits to RCS files with non-trunk default branches.
Line 
12003-02-04  Jaka Mocnik  <jaka@gnu.org>
2
3        * configure.in: 1.99.98. tagged as GGV_1_99_98.
4        * bonobo/ggv-postscript-view.c, bonobo/ggv-control.c: flip
5        pages when using cursor keys to scroll.
6       
72003-01-29  Jaka Mocnik  <jaka@gnu.org>
8
9        * src/ggv-file-sel.c: applied a patch from Satyajit Kanungo to make
10        the file selector modal.
11       
122003-01-21  Christian Rose  <menthos@menthos.com>
13
14        * configure.in: Added "mn" to ALL_LINGUAS.
15
162003-01-20  Pablo Saratxaga  <pablo@mandrakesoft.com>
17
18        * configure.in: Added Macedonian (mk) to ALL_LINGUAS
19
202003-01-19  Jaka Mocnik  <jaka@gnu.org>
21
22        * bonobo/ggv-control.c (ggv_control_construct): don't unref the
23        widget. ps_view needs to hold the reference!
24        * src/ps.c (pages_new): fixed a possible buffer overflow.
25        * src/gtkgs.c: applied a patch from Satyajit Kanungo that allows
26        viewing of non-conformant PDFs.
27
28Wed Jan 15 17:51:50 2003  Jonathan Blandford  <jrb@redhat.com>
29
30        * bonobo/ggv-postscript-view.c (ps_view_get_tmp_file): return NULL
31        in error state instead of just returning.  Fixes a warning.  It
32        occurs to me that there is no code to handle this being NULL.
33        mkstemp almost never fails, so this is low priority.
34
352002-12-23  Jaka Mocnik  <jaka@gnu.org>
36
37        * configure.in: bumped version to 1.99.97; tagged as GGV_1_99_97.
38        * bonobo/ggv-sidebar.c: fixed a typo causing a mis-cast.
39        * src/ggv-window.c: applied a patch from chris at gnome-de dot org
40        that fixes the copyright string.
41
422002-12-17  Rajkumar Sivasamy  <rajkumar.siva@wipro.com>
43
44        * ggv-prefs-ui.c: Set mnemonics to controls in preferences dialog.
45        Fixes bug #101434
46
472002-12-13  Jaka Mocnik  <jaka@gnu.org>
48
49        * applied patches that add startup notification and priority text
50        to icons.
51
522002-11-29  Yanko Kaneti <yaneti@declera.com>
53
54        * src/ggv-window.c (ggv_window_load): add a missing prameter to the
55        g_locale_to_utf8 call from the previous patch. Fixes tinderbox.
56
572002-11-28  Jaka Mocnik  <jaka@gnu.org>
58
59        * src/ggv-window.c (ggv_window_load): applied a patch from Hidetoshi
60        Tajima to convert title to utf-8 before setting it.
61
622002-11-27  Jaka Mocnik  <jaka@gnu.org>
63
64        * src/gtkgs.c (gtk_gs_set_page_size): respect bounding box if
65        requested.
66        * bonobo/ggv-control.c (ggv_control_create_ui): set fit width pixbuf
67        to popup ui component. use smaller pixbufs for menu and popup menu
68        than for toolbar.
69        * bonobo/ggv-postscript-view-ui.xml: removed pixtype="none".
70
712002-11-22  Jaka Mocnik  <jaka@gnu.org>
72
73        * src/gtkgs.c (gtk_gs_goto_page): a fix for bug #85004.
74        * src/ggv-prefs-ui.c (ggv_prefs_dialog_new): renamed right-hans side
75        panel option.
76        * src/ggvutils.c: removed zoom factors larger than 6.0 and smaller
77        than 1.0/6.0.
78
792002-11-19  Jaka Mocnik  <jaka@gnu.org>
80
81        * bonobo/ggv-postscript-view-ui-xml: removed "Override*" commands
82        and menu items. added "OrientationDocument" and "PaperSizeDoc"
83        commands and menu items. this allows for single-click setting of
84        orientation and size.
85        * bonobo/ggv-postscript-view.c: support the above changes.
86        optimized menu syncing.
87        * src/gtkgs.[ch]: constification of parameters.
88        * src/gtkgs.c, src/ps.c: better handling of page and document
89        orientations.
90
912002-11-15  Jaka Mocnik  <jaka@gnu.org>
92
93        * bonobo/ggv-postscript-view.c (ggv_postscript_view_create_ui): freeze
94        UI component _before_ merging UI. this enables us to put sidebar
95        on the right when opening a window.
96        * src/ggv-prefs-ui.c (ggv_prefs_dialog_new): fixed placement of
97        orientation choice menu.
98
992002-11-13  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
100
101        * configure.in: Added Belarusian to ALL_LINGUAS.
102
1032002-11-10  Jaka Mocnik  <jaka@gnu.org>
104
105        * configure.in: moved version to 1.99.96. tagged as GGV_1_99_96.
106
1072002-11-09  Jaka Mocnik  <jaka@gnu.org>
108
109        * src/ggv-ui.xml: moved Layout submenu from Edit to View menu.
110        fixes #97843.
111        * bonobo/ggv-postscript-view-ui.xml: fixed accelerators for
112        navigation. fixes #97842.
113        * src/gtkgs.c (gtk_gs_goto_page): applied patch from satyajit that
114        fixes occasional erroneous refreshes of non-structured docs. fixes
115        #97828.
116        * bonobo/ggv-sidebar.c (ggv_sidebar_construct): change coordinate
117        widget to GtkEntry instead of GtkLabel in order to prevent resizing
118        when text grows. make it horizontally as small as possible! fixes
119        #97711.
120
1212002-11-06  Jaka Mocnik  <jaka@gnu.org>
122
123        * acconfig.h: remove. changes from 2002-11-04 have rendered it
124        unnecessary.
125
1262002-11-05  Jaka Mocnik  <jaka@gnu.org>
127
128        * src/gtkgs.[ch], src/gsdefaults.[ch], src/ggv-prefs-ui.c,
129        bonobo/ggv-postscript-view.c, ggv.schemas: from now on, we no
130        longer make a DSC file from PDF and use it to navigate through PDF,
131        but instead we convert every PDF to PS and show it. benefits?
132        enables printing and saving of PDF files and solves some issues
133        with deducing orientation and page size from PDFs. cost? a bit
134        slower, especially for large PDFs.
135
1362002-11-04  Jaka Mocnik  <jaka@gnu.org>
137
138        * acconfig.h: removed, so that newer autoconfs don't spit warnings
139        about deprecation at us.
140        * configure.in: added 3rd arg to AC_DEFINE*() in order to get nice
141        comments in config.h.
142        * bonobo/main.c (ggv_postscript_viewer_factory): removed signal
143        handlers as they caused ggv to hang when rapidly starting/stopping
144        interpreter.
145        * bonobo/ggv-control.c: sync auto-fit items with defaults on startup
146        and set their sensitivity according to the status of the loaded
147        document.
148
1492002-11-03  Jaka Mocnik  <jaka@gnu.org>
150
151        * bonobo/ggv-control.c: handle selection of auto-fit mode.
152        (ggv_control_construct): unref the GtkGS we get from GgvPostScriptView.
153        * bonobo/ggv-control-ui.xml: added a menu for selection of auto-fit
154        mode.
155        * src/ggv-prefs-ui.[ch]: implemented a choice menu for setting the
156        default zoom mode for GtkGS widgets!
157        * src/ggvutils.[ch]: removed some obsolete func prototypes.
158        added ggv_auto_fit_modes.
159        * src/gsdefaults.[ch]: handle default zoom mode.
160        * src/gtkgs.[ch]: added GtkGSZoomMode enum and zoom_mode member to
161        GtkGS. implemented auto-fit functionality.
162
1632002-10-30  Jaka Mocnik  <jaka@gnu.org>
164
165        * configure.in: added G*_DISABLE_DEPRECATED to GGV_CFLAGS.
166        * */*.[ch]: elimination of deprecated code.
167        * ggv.schemas: added pageflip and scrollstep keys.
168        * src/gsdefaults.c: added scroll_step setting: tells what percentage
169        of viewable area size will be used for scrolling.
170        * src/ggv-prefs.[ch], src/ggv-prefs-ui.[ch]: implemented configuration
171        for scroll step.
172        * bonobo/ggv-postscript-view.c (ggv_postscript_view_construct):
173        read gconf setting for "pageflip": if true, pages will be flipped
174        automatically when scrolled to the edge of document.
175        * bonobo/ggv-control.c (zoomable_set_zoom_level_cb): only modify the
176        adjustment value if it is different from the zoom level being set.
177        * src/gtkgs.c (gtk_gs_get_postscript): copy whole non-structured doc.
178        * bonobo/ggv-control-ui.xml: added missing tooltips.
179
1802002-10-29  Christian Neumair  <chris@gnome-de.org>
181
182        * src/ggv-prefs-ui.c: Make button sequence HIG compliant.
183
1842002-10-26  Jaka Mocnik  <jaka@gnu.org>
185
186        * src/ggv-window.c (verb_FileClose): if the document being closed is
187        the last one, just tell the PostScriptView component to unload the
188        document and leave the window open. fixes #96792.
189        (control_property_changed_handler): only display status message if
190        status is non-empty.
191        * idl/Ggv.idl: added close() method.
192        * bonobo/ggv-postscript-view.c (impl_GNOME_GGV_PostScriptView_close):
193        implemented the close() method.
194
1952002-10-23  Jaka Mocnik  <jaka@gnu.org>
196
197        * configure.in: unreverted. et.po is now really added.
198
1992002-10-22  jacob berkman  <jacob@ximian.com>
200
201        * configure.in (ALL_LINGUAS): revert until et.po gets added
202
2032002-10-22  Jaka Mocnik  <jaka@gnu.org>
204
205        * configure.in (ALL_LINGUAS): added "et".
206        * po/et.po: added Estonian translation. contributed by Ilmar Kerm.
207
2082002-10-21  Jaka Mocnik  <jaka@gnu.org>
209
210        * bonobo/ggv-sidebar.c: fixed some typos.
211
2122002-10-20  Fatih Demir <kabalak@gtranslator.org>
213
214        * configure.in: Added "ta" to the languages' list.
215
2162002-10-19  Jaka Mocnik  <jaka@gnu.org>
217
218        * configure.in: "head -c 1" -> "head -1" for portability reasons.
219        * src/ggv-file-sel.c: #include <libgnomevfs/gnome-vfs-utils.h>.
220        * applied a patch by people at bugzilla-gnome at thewrittenword.com
221        to enable GGV to find the UI XML files when installed in a different
222        prefix than bonobo.
223       
2242002-10-17  Jaka Mocnik  <jaka@gnu.org>
225
226        * src/ggv-window.c (verb_FileOpen): remember path of file selector.
227        * bonobo/ggv-postscript-view.c (verb_FileSaveMarked): remember path
228        of file selector.
229        * src/ggv-file-sel.c (ggv_file_sel_set_uri): properly unescape uri.
230
2312002-10-16  Jaka Mocnik  <jaka@gnu.org>
232
233        * src/ggv-window.c (ggv_window_set_layer): set window layer.
234        (ggv_window_set_fullscreen): toggle between normal and fullscreen
235        mode.
236        * src/ggv-ui.xml: added full screen command and menu items.
237        * bonobo/ggv-control.c (_set_zoom_items_sensitivity): simplified code.
238        * src/ggvutils.c: added 3/4 and 3/2 zoom levels.
239        * bonobo/ggv-control.c (listener_ZoomLevel_cb): simplified code.
240        * bonobo/ggv-control-ui.xml: added 3/4 and 3/2 zoom levels.
241
2422002-10-08  Peteris Krisjanis <peteris.krisjanis@os.lv>
243
244        * configure.in: added Latvian (lv) to ALL_LINGUAS.
245
2462002-10-04  Jaka Mocnik  <jaka@gnu.org>
247
248        * configure.in: removed duplicate AC_OUTPUT entries.
249        * src/ggvutils.c (ggv_quote_filename): use g_shell_quote().
250
2512002-10-01  Jaka Mocnik  <jaka@gnu.org>
252
253        * src/main.c (save_session): fixed possible buffer overflow.
254
2552002-09-29  Jaka Mocnik  <jaka@gnu.org>
256
257        * bonobo/ggv-postscript-view.c (load_ps_from_file): properly unescape
258        local uri.
259        * src/ggvutils.c (ggv_filename_to_uri): use
260        gnome_vfs_get_uri_from_local_path().
261
2622002-09-26  Jaka Mocnik  <jaka@gnu.org>
263
264        * src/ps.c: fixed unsafe sscanf usage. reported in iDEFENSE Security
265        Advisory 09.26.2002: Exploitable Buffer Overflow in gv
266
2672002-09-19  Jaka Mocnik  <jaka@gnu.org>
268
269        * src/ggv-prefs-ui.c (ggv_prefs_dialog_new): set spacing between
270        buttons.
271
2722002-09-13  Jaka Mocnik  <jaka@gnu.org>
273
274        * bonobo/main.c: per-display registration of factory.
275        * src/main.c (create_window): graciously handle cases when no
276        windows could be opened because of errors.
277        * src/ggv-prefs-ui.c (ggv_prefs_dialog_new): added colons as
278        suggested by Muktha.
279        added ESC as an accelerator for the Cancel button.
280        * bonobo/ggv-sidebar.c (ggv_sidebar_construct): add tool tips to
281        "toggle marked" and "clear all" buttons.
282        * ggv.desktop.in (Exec): added %U so that URIs are passed to
283        launcher (patch by Arvind Samptur).
284
2852002-08-22  Jaka Mocnik  <jaka@gnu.org>
286
287        * src/ggv-prefs-ui.c (ggv_prefs_dialog_new): string change -
288        "Jump to beginning of page etc." -> "Jump to beginning of page".
289        * bonobo/ggv-control.c (ggv_control_new): removed auto-jump as it
290        was moved to ggv-postscript-view.c.
291        * bonobo/ggv-postscript-view.c (ggv_postscript_view_goto_page):
292        respect auto-jump setting everytime we switch pages.
293
2942002-08-21  Jaka Mocnik  <jaka@gnu.org>
295
296        * src/gtkgs.c: set step_increment to make stepper buttons work.
297        * bonobo/ggv-postscript-view.c (sidebar_key_press_event): handle
298        presses of Left/Right/Up/Down to pan.
299        * src/gtkchecklist.c (key_press_event): handle key presses in our
300        own fashion - PgUp/Dn do the same as in ps view - move one page
301        at a time.
302
3032002-08-20  Jaka Mocnik  <jaka@gnu.org>
304
305        * bonobo/ggv-postscript-view.c (load_ps_from_file): don't make a
306        temporary copy if it is a local file.
307        * src/gtkgs.c (gtk_gs_size_allocate): removed gdk_window_move() calls
308        before changing adjustments as this will do the move anyway. also
309        removed explicit event processing, as this caused trouble with
310        zoom spin button and the infamous "erratic scrolling" bug.
311        * bonobo/ggv-postscript-view.c (set_file_items_sensitivity): make
312        Save & Print items insensitive when viewing a pdf file.
313        * src/ggv-window.c (ggv_window_load): unescape URI for display.
314
3152002-08-11  Ross Burton  <ross@burtonini.com>
316
317        * ggv.desktop.in: Add encoding keyword, and fix up Terminal and
318        Categories keywords.
319
3202002-08-04  Satyajit Kanungo  <satyajit.kanungo@wipro.com>
321
322        * src/gtkgs.c : Added gdk_pointer_ungrab while showing the error
323          message. Fixes  #90639 . 
324
3252002-08-04  Jaka Mocnik  <jaka@gnu.org>
326
327        * bonobo/ggv-postscript-view-ui.xml: "Move to" -> "Go to".
328
3292002-08-01  Jaka Mocnik  <jaka@gnu.org>
330
331        * src/ggv-file-sel.[ch]: a file selection dialog for GGV. nothing
332        special for now except that it returns URIs and has a convenience
333        function to run a selector in modal mode and return the selected file.
334        * bonobo/ggv-postscript-view.c (verb_FileSaveMarked): use our file
335        selector instead of deprecated bonobo one.
336        * src/ggv-window.c (verb_FileOpen): likewise.
337       
3382002-07-29  Jaka Mocnik  <jaka@gnu.org>
339
340        * configure.in: the last  of the single-digit micro version releases:
341        1.99.9. tagged as GGV_1_99_9. released a tarball.
342        * bonobo/ggv-postscript-view.c (verb_FileSaveMarked): use VFS enabled
343        file selector.
344        * src/ggv-window.c (sync_toolbar_style): respect both_horiz toolbar
345        style when using GNOME defaults for toolbar style.
346        (verb_FileOpen): use VFS enabled file selector.
347        * src/main.c (create_windows_from_cmdline): escape file names to be
348        URI-like.
349        * src/ggvutils.c (ggv_filename_to_uri): new function. escape file name
350        to conform to URI specification.
351       
3522002-07-28  Jaka Mocnik  <jaka@gnu.org>
353
354        * bonobo/ggv-postscript-view.c (impl_GNOME_GGV_PostScriptView_reload):
355        update page list & status.
356        * bonobo/ggv-postscript-view.c (verb_FileSaveMarked): uses bonobo
357        file_selector.
358        (ps_view_save_doc): save doc to URI using gnome vfs.
359        removed all file selection related stuff.
360        * ggv.schemas: fixed some typos.
361        removed file selection size keys.
362        * src/ggv-prefs.[ch]: removed file selector width/height.
363        * bonobo/ggv-postscript-view.c (load_ps_from_file): uses gnome VFS
364        for accessing the files.
365        * src/ggv-window.c (verb_FileOpen): uses bonobo file selector.
366        removed all file selection related stuff.       
367
3682002-07-27  Jaka Mocnik  <jaka@gnu.org>
369
370        * bonobo/ggv-control.c (ggv_control_create_ui): set pixbuf to fit
371        width command.
372        * configure.in: commented out check for Xinerama.
373        * bonobo/Makefile.am: commented out use of Xinerama libs.
374        * src/gtkgs.c (compute_?dpi): reverted the broken Xinerama patch.
375        * bonobo/ggv-control-ui.xml: added pixmap for fit width command.
376        added a fit width button to toolbar.
377        * src/stock/fitwidth.png: image for the fit width button, which was
378        kindly provided by johannes at sipsolutions dot de.
379
3802002-07-23  Jaka Mocnik  <jaka@gnu.org>
381
382        * src/main.c (main): handle stdin if '-' is passed as the cmdline
383        argument.
384
3852002-07-22  Jaka Mocnik  <jaka@gnu.org>
386
387        * src/main.c (create_window): parse geometry if given.
388        (main): added geometry option.
389
3902002-07-20  Jaka Mocnik  <jaka@gnu.org>
391
392        * src/ggv-ui.xml: added Edit/Layout menu instead of the
393        toplevel Settings menu.
394        * bonobo/ggv-control-ui.xml: added accelerators for zoom items.
395        * bonobo/ggv-control.c (ggv_control_key_press_event): move to top
396        of page _after_ switching page.
397        * src/gtkgs.c (gtk_gs_scroll_to_edge): fixed a nasty typo.
398
3992002-07-17  Michael Meeks  <michael@ximian.com>
400
401        * bonobo/GNOME_GGV.server.in.in: rename to this,
402        point at libexecdir.
403
404        * bonobo/Makefile.am: install component in $(libexecdir)
405
4062002-07-07  Jaka Mocnik  <jaka@gnu.org>
407
408        * src/ggv-ui.xml: changed order of help menus.
409        * bonobo/ggv-sidebar.c (page_list_selection_changed): scroll to cell
410        selected.
411
4122002-07-07  Jaka Mocnik  <jaka@gnu.org>
413
414        * configure.in: include Xlib.h when checking for Xinerama header.
415
4162002-07-04  Jaka Mocnik  <jaka@gnu.org>
417
418        * bonobo/ggv-postscript-view-ui.xml: changed navigation accelerators
419        to use Control instead of Alt.
420        * released 1.99.8 tarball, tagged as GGV_1_99_8.
421
4222002-07-02  Jaka Mocnik  <jaka@gnu.org>
423
424        * bonobo/ggv-postscript-view.c (notify_page_count_change): recreate
425        page list.
426        * src/gtkgs.c: fixed a number of segfaults when a non-realized widget
427        is loaded.
428
4292002-07-02  Jaka Mocnik  <jaka@gnu.org>
430
431        * bonobo/ggv-postscript-view.c (ggv_postscript_view_create_ui): moved
432        object_set() out of freeze/thaw pair. it seems to fix the vicious bug
433        #86235. thank to satyajit for this one...
434
4352002-06-30  Jaka Mocnik  <jaka@gnu.org>
436
437        * src/ggv-window.c (sync_settings_popup_items): fix a bug that caused
438        GGV not to freeze ui component twice instead of freeze/thaw. popup
439        menu crashes the control due to accel group trouble, though...
440
4412002-06-27  Jaka Mocnik  <jaka@gnu.org>
442
443        * bonobo/ggv-control.c (ggv_control_destroy): fixed zoom_control
444        ref counting.
445
4462002-06-20  jacob berkman  <jacob@ximian.com>
447
448        * src/ggv-window.c (verb_HelpAbout): fix tyop
449
4502002-06-20  Abel Cheung  <maddog@linux.org.hk>
451
452        * src/ggv-window.c (verb_HelpAbout): Added translator credits and
453        documentor placeholders.
454
4552002-06-19  Jaka Mocnik  <jaka@gnu.org>
456
457        * wrap sequences of bonobo_ui_component_set_prop() in a freeze/thaw
458        pair.
459        * src/ps.c (readline): skip blanks & 0x0c chars in front of DSC
460        comments - chema came accross a PS file created from dvi that
461        contains 0x0c char in front of a DSC comment. it seems appropriate
462        that we handle such cases.
463
4642002-06-16  Jaka Mocnik  <jaka@gnu.org>
465
466        * src/main.c: fixed some typos.
467       
4682002-06-14  Jaka Mocnik  <jaka@gnu.org>
469
470        * bonobo/ggv-postscript-view.c (load_ps): notify of a possible status
471        change.
472        * src/ggv-window.c (control_property_changed_handler): get error
473        message from the "status" property of the control.
474        * bonobo/ggv-postscript-view.c
475        (ggv_postscript_view_get_default_orientation): fixed a memory leak.
476        * src/gtkgs.[ch]: add a status field and update it.
477        improved scroll region outlining.
478
4792002-06-12  Jaka Mocnik  <jaka@gnu.org>
480
481        * tagged as GGV_1_99_7. released a tarball.
482        * bonobo/ggv-sidebar.c (ggv_sidebar_page_changed): fixed a bug that
483        caused not to select the first page.
484        * removed a few warnings.
485        * src/gtkgs.c (gtk_gs_munge_adjustments): set adjustments' page
486        increment.
487
4882002-06-12  Jaka Mocnik  <jaka@gnu.org>
489
490        * src/ggv-window.c (prefs_changed): apply visibility setting
491        changes immediately.
492        * src/ggv-prefs-ui.c (ggv_prefs_dialog_new): removed "by default"
493        from strings. This behaviour is now less confusing.
494        * */*.c: dewarningization. it should now compile cleanly with -Wall.
495
4962002-06-11  Jaka Mocnik  <jaka@gnu.org>
497
498        * src/ps.c: use the same orientation enums as GtkGS.
499        * src/gtkgs.c: take care of per-page orientations.
500        * src/main.c: handle the SIGINT and SIGTERM.
501
5022002-06-08  Hasbullah Bin Pit <sebol@ikhlas.com>
503
504        * configure.in: Added Malay (ms)to ALL_LINGUAS.
505        * po/ms.po: Added Malay Translation.
506
5072002-06-08  Jaka Mocnik  <jaka@gnu.org>
508
509        * src/ggv-ui.xml: fixed a typo.
510        * idl/Ggv.idl: added reload() method to GgvPostScriptView interface.
511        * gtkgs.[ch] (gtk_gs_reload): a new function.
512        * bonobo/ggv-postscript-view.c (document_changed-cb): use above.
513        (impl_GNOME_GGV_PostScriptView_reload): implement the above method.
514        * src/ggv-window.c (verb_FileReload): invoke reload() method of
515        GgvPostScriptView interface.
516        * src/ggv-window.c (gnome_toolbar_prefs_changed): respect GNOME
517        toolbar style.
518        * bonobo/ggv-postscript-view.c (ggv_postscript_view_prefs_changed):
519        handle setting changes here and not in gtkgs.c.
520        (ggv_postscript_view_construct): set above to be called when
521        GtkGS related settings change.
522        (ggv_postscript_view_destroy): remove the above notification.
523        * ggv-prefs-ui.c (ggv_prefs_dialog_apply): don't set OK button
524        to insensitive.
525        * src/ggv-prefs.c (ggv_prefs_changed): fixed a typo.
526        * src/Makefile.am, bonobo/Makefile.am: fix the locale dir.
527       
5282002-06-05  Federico Mena Quintero  <federico@ximian.com>
529
530        GGV still compiles with a lot of warnings if you do -Wall, but
531        these seem to fix the most egregious control bugs.
532
533        * src/gtkgs.c (gtk_gs_set_page_size): Do not index on pageid if
534        pageid is less than zero.
535
536        * bonobo/ggv-postscript-view.c (set_file_items_sensitivity): See
537        if the UI component is bound to a container before trying to set
538        properties on it.
539        (_set_page_items_sensitivity): Likewise.
540
541        * bonobo/ggv-control.c (sync_zoom_level_items): Likewise.
542        (_set_zoom_items_sensitivity): Likewise.
543        (ggv_control_construct): Save the GConfClient notify ID.
544        (ggv_control_destroy): Remove the GConfClient notification so the
545        control doesn't get notified after it is destroyed.
546
5472002-06-05  Yanko Kaneti <yaneti@declera.com>
548
549        * configure.in: (ALL_LINGUAS) Added Bulgarian (bg).
550
5512002-06-01  Jaka Mocnik  <jaka@gnu.org>
552
553        * src/gtkgs.c: added proper scrolling interface.
554        * bonobo/*: fixed ref counting issues.
555        * the above should fix most crashes, warnings, assertions, etc.
556
5572002-05-30  Jaka Mocnik  <jaka@gnu.org>
558
559        * bonobo/ggv-sidebar.[ch]: fixed a stupid typo. this fixes the lost
560        reference bug!
561
5622002-05-29  Federico Mena Quintero  <federico@ximian.com>
563
564        * bonobo/ggv-postscript-view.c
565        (ggv_postscript_view_add_interfaces): Pass the OAFIID to
566        bonobo_persist_stream_new() as well.
567
5682002-05-27  Kjartan Maraas  <kmaraas@gnome.org>
569
570        * src/ggv-pref-ui.c: Mark some strings for translation.
571       
5722002-05-26  Jaka Mocnik  <jaka@gnu.org>
573
574        * src/ggv-prefs.[ch], src/ggv-prefs-ui.[ch]: enable use of GNOME-wise
575        defaults or custom settings for toolbar style.
576        * src/ggv-window.c (sync_toolbar_style): comply to the above.
577        * bonobo/ggv-postscript-view.c (save_file_sel_ok_clicked): always hide
578        the file selection.
579        * src/gtkgs.c (gtk_gs_get_postscript): fixed a crash when an EPS file
580        was printed/saved.
581
5822002-05-22  Jaka Mocnik  <jaka@gnu.org>
583
584        * src/main.c: applied a patch from jacob berkman that fixes session
585        management bugs.
586
5872002-05-18  Jaka Mocnik  <jaka@gnu.org>
588
589        * src/main.c (main): perform bonobo_debug_shutdown() before
590        exiting.
591
592        * bonobo/main.c (ggv_postscript_viewer_factory): add a handler for
593        TERM signal that performs a bonobo_debug_shutdown() in order to
594        track reference count.
595
5962002-05-13  Kjartan Maraas  <kmaraas@gnome.org>
597
598        * src/ggv-ui.xml: Add mnemonics and correct Help menu.
599       
6002002-05-14  Pablo Saratxaga  <pablo@mandrakesoft.com>
601
602        * configure.in: Added Vietnamese (vi) to ALL_LINGUAS
603
6042002-05-13  Jaka Mocnik  <jaka@gnu.org>
605
606        * ggv.desktop.in: changed name to GGV PostScript Viewer. fixes #81366.
607        * bonobo/ggv-postscript-view-ui.xml:
608        * bonobo/ggv-control-ui.xml:
609        * src/ggv-ui.xml:
610        some changes to be more HIG compliant (although not fully, as
611        I personally don't like some suggestions). fixes #81230.
612        * src/main.c (main): added --windows parameter specifying how many
613        empty windows should be created (needed to restore the number of
614        windows from old session in order not to confuse the window
615        manager).
616        (main): connect "save_yourself" and "die" signals to SM client.
617        (save_session): save session state (documents & empty windows).
618        command line is used for this - no persistent data is stored.
619        (client_die): nicely kill all windows.
620        * src/ggv-window.c (verb_FileOpen): connect delete event of file
621        selection to appropriate callback. fixes #81540.
622        * fixed a few bugs with setting of sensitivity of menu items.
623
6242002-05-12  Jaka Mocnik  <jaka@gnu.org>
625
626        * bonobo/ggv-postscript-view.c (ggv_postscript_view_construct):
627        fixed a stupid bug that caused us not to unref properly.
628        (ggv_postscript_view_destroy): fixed a reference counting bug.
629
6302002-05-11  Jacob Berkman  <jacob@ximian.com>
631
632        * src/gtkgs.c (gtk_gs_next_page): fix previous commit to not break
633        with gtk 2.0.  work also with gtk 2.1 by not using *private* gdk
634        calls; just use XSendEvent
635        * configure.in: include X libs in our link line
636
6372002-05-11  Jaka Mocnik  <jaka@gnu.org>
638
639        * applied a patch from Satyajit Kanungo <satyajit.kanungo@wipro.com>
640        fixing bug #81215 - now it compiles with latest GDK libs
641        * src/gtkgs.c gdk_send_xevent changed to it's new signature.
642        * configure.in: version 1.99.5. tag GGV_1_99_5.
643        * release a new tarball.
644               
6452002-05-07  Jaka Mocnik  <jaka@gnu.org>
646
647        * src/ggv-window.c (verb_FileReload): switch back to previously
648        displayed page after reloading.
649        * bonobo/ggv-postscript-view.c (document_changed_cb): redisplay
650        the page that was displayed before reloading.
651
6522002-05-06  Jaka Mocnik  <jaka@gnu.org>
653
654        * src/configure.in: version 1.99.4. tag GGV_1_99_4.
655
6562002-05-06  Murray Cumming  <murrayc@usa.net>
657
658        * src/ggv-window.c: Replaced use of bonobo_window_construct() with
659        construct-time properties and bonobo_window_get_ui_container(),
660        now that BonoboWindow has been corrected.
661
6622002-05-05  Jaka Mocnik  <jaka@gnu.org>
663
664        * bonobo/ggv-postscript-view.c (verb_FileSaveMarked): set the current
665        path in the file selection.
666        * src/ggv-window.c (verb_FileReload): a handler for FileReload verb.
667        (verb_FileOpen): set the current path in the file selection.
668        * src/ggv-ui.xml: add a verb for reloading files.
669        * src/gtkgs.c (gtk_gs_class_init): add a document_changed signal.
670        how did this get removed?
671        * bonobo/ggv-postscript-view.c (ggv_postscript_view_construct): add
672        handler for document_changed signal to reload file.
673
6742002-05-05  Jaka Mocnik  <jaka@gnu.org>
675
676        * bonobo/ggv-postscript-view.c (notify_page_change): notify sidebar
677        of page change.
678
6792002-05-04  Jaka Mocnik  <jaka@gnu.org>
680
681        * bonobo/ggv-postscript-view.c (ggv_postscript_view_get_ps): fixed
682        a segfault because PrintAll verb passes NULL to indicate that all
683        pages should be returned.
684
6852002-04-25  Jaka Mocnik  <jaka@gnu.org>
686
687        * bonobo/ggv-control.c (ggv_control_create_ui): added a zoom control
688        showing current zoom factor.
689        * *.xml: added placeholders and a zoom control to sidebar.
690        * src/main.c (main): applied patch from Satyajit Kanungo to add help
691        items.
692        * implemented a setting for left/right placement of the side panel.
693        currently only works in Nautilus.
694
6952002-04-23  Jaka Mocnik  <jaka@gnu.org>
696
697        * src/gtkgs.c (gtk_gs_set_page_size): properly handle boundingbox
698        size. fixes bug #79097.
699
7002002-04-19  jaka mocnik  <jaka@gnu.org>
701
702        * applied a build fixage patch from kind people at mandrakesoft.
703
7042002-04-18  jacob berkman  <jacob@ximian.com>
705
706        * acconfig.h: fix tyop busting build
707
7082002-04-17  Satyajit Kanungo  <satyajit.kanungo@wipro.com>
709
710        * configure.in added AM_GCONF_SOURCE_2 to put the schemas file
711          gconf.xml.defaults.
712          Check for 'gs' package and get the path for 'gs' on a system where
713          gs is not in the path.                       
714
7152002-04-16  Abel Cheung  <maddog@linux.org.hk>
716
717        * TRANSLATABLE_FILES: moved to po/ directory.
718        * ABOUT-NLS, INSTALL, TRANSLATABLE_FILES, install-sh,
719          missing, mkinstalldirs, stamp-h.in, po/Makefile.in.in:
720          Remove autogen'ed file.
721        * acconfig.h: Added GETTEXT_PACKAGE
722        * configure.in: GETTEXT_PACKAGE related cleanup, and removed
723          AC_ARG_PROGRAM (does automake 1.5/1.6 require it?)
724        * src/main.c: Use GETTEXT_PACKAGE for *textdomain*().
725
7262002-04-11  jacob berkman  <jacob@ximian.com>
727
728        * configure.in (AC_OUTPUT): add src/cursors/Makefile
729
7302002-04-11  Jaka Mocnik  <jaka@gnu.org>
731
732        * bonobo/ggv-postscript-view.c (save_file_sel_ok_clicked): ask before
733        overwriting file.
734        (view_button_press_cb): use hand cursor when moving page.
735        (ggv_postscript_view_get_ps): really retrieve all pages if none
736        are marked.
737        (set_file_items_sensitivity): moved here from ggv-window.c.
738        * bonobo/ggv-sidebar.c (ggv_sidebar_construct):  set AUTOMATIC policy
739        for page list scrollbars.
740        * bonobo/ggv-control.c (ggv_control_construct): set AUTOMATIC policy
741        for scrolled window scrollbars.
742        * src/cursors.[ch]: copied hand cursors from eog.
743        * src/cursors/*: hand cursors
744       
7452002-04-05  Jaka Mocnik  <jaka@gnu.org>
746
747        * major revamp of sidebar, which is now a control, created by
748        GgvPostScriptView andmerged in the container's UI. this enables us
749        to view it in nautilus as well as in the GGV shell! according to
750        this the save/print items have been moved to GgvPostScripView as well.
751        * configure.in: barf in GS isn't installed. version 1.99.3. tarball
752        release. tagged as GGV_1_99_3.
753
7542002-03-30  Jaka Mocnik  <jaka@gnu.org>
755
756        * bonobo/ggv-postscript-view.c: take care of popup items sensitivity.
757        * bonobo/ggv-control-ui.xml: add zoom to fit width menu items.
758        * configure.in: bumped version to 1.99.2.
759        * message-of-doom: made it less threatening ;)
760        * tagged as GGV_1_99_2. released a new tarball.
761
7622002-03-29  Jaka Mocnik  <jaka@gnu.org>
763
764        * src/gtkgs.c (gtk_gs_init): initialize scroll_start_? to -1.
765        * src/ggv-ui.xml: add show/hide items to button 3 popup menu.
766        * src/ggv-control-ui.xml: add navigation & zoom items to button 3
767        popup menu.
768        * src/ggv-window.c: get the popup UI component and merge our popup
769        menu items into it.
770        * bonobo/ggv-control.c: create popup menu. show it on button 3 press.
771        * bonobo/ggv-postscript-view.c (ggv_postscript_view_verbs): made global as control
772        needs them as well to set to popup UI component.
773
7742002-03-28  jacob berkman  <jacob@ximian.com>
775
776        * bonobo/ggv-control.c: add a dummy field to this empty struct
777
778        * bonobo/ggv-postscript-view.c: add a dummy field to this empty
779        struct
780
7812002-03-26  Jaka Mocnik  <jaka@gnu.org>
782
783        * src/ggv-prefs.c (ggv_prefs_dialog_class_init): fix a delete_event
784        handler being set to a wrong class.
785        * src/ggv-window.c (sync_toolbar_style): sync toolbar style with
786        ggv_toolbar_labels setting.
787        (ggv_window_drag_data_received): a handler for received dnd data.
788        (ggv_window_new): set window as a drag destination.
789        (verb_DnD*): verbs for DnD popup menu.
790
7912002-03-24  Jaka Mocnik  <jaka@gnu.org>
792
793        * src/ggv-msg-window.[ch]: a window for display of ghostscript
794        output, based on the obsolete gsmessage.[ch].
795        * src/gsmessage.[ch]: removed.
796        * bonobo/ggv-postscript-view.c (interpreter_message_cb): display
797        output using ggv-msg-window API.
798
7992002-03-23  Jaka Mocnik  <jaka@gnu.org>
800
801        * configure.in: always use x11alpha as the antialiased device.
802        * released 1.99.1 tarball, tagged as GGV_1_99_1.
803
8042002-03-23  Jaka Mocnik  <jaka@gnu.org>
805
806        * bonobo/ggv-postscript-view-ui.xml: added static paper size menu
807        items.
808        * bonobo/ggv-control-ui.xml: added static zoom level menu items.
809        * bonobo/ggv-postscript-view.c (sync_size_items): made it work with
810        static paper menu items.
811        * bonobo/ggv-control.c (listener_ZoomLevel_cb): listener for zoom
812        level menu items.
813        (sync_zoom_level_items): sync zoom level items state with current
814        zoom setting.
815
8162002-03-18  Jaka Mocnik  <jaka@gnu.org>
817
818        * src/ggv-window.c (ggv_window_load): qualify the file to load with
819        its full path as the control does not run with the same working dir.
820        * configure.in: explicitly check for popt library.
821        * [src|bonobo]/Makefile.am: link with popt.
822
8232002-03-18  Jaka Mocnik  <jaka@gnu.org>
824
825        * src/gtkgs.c (check_pdf): use mkstemp to avoid potential security
826        risks.
827        (check_filecompressed): use mkstemp to avoid potential security
828        risks.
829        * bonobo/ggv-postscript-view.c (load_ps_from_stream): use mkstemp to
830        avoid potential security risks.
831
8322002-03-16  Jaka Mocnik  <jaka@gnu.org>
833
834        * src/ggv-window.c: fixed error dialogs when saving/printing with
835        no pages are marked.
836        * Makefile.am: install desktop files in $(prefix)/share/applications.
837
8382002-03-15  Jaka Mocnik  <jaka@gnu.org>
839
840        * src/ggv-window.c: make save and print items sensitive only when a
841        valid document is loaded.
842        * bonobo/ggv-control.c: make zoom items sensitive only when a valid
843        document is loaded.
844        * src/gtkgs.c: less erratic current_page when a bad file is loaded.
845        * bonobo/ggv-postscript-view.[ch]
846        (ggv_postscript_view_get_current_page): new function.
847
8482002-03-15  Jaka Mocnik  <jaka@gnu.org>
849
850        * src/ggv-window.c (control_property_changed_handler): handle change
851        of page number to -1 as error.
852        * src/gtkgs.[ch]: added interpreter_error signal.
853        (gtk_gs_interpreter_message): handle output containing string "Error:"
854        as an error and emit interpreter_error signal.
855        (stop_interpreter): handle gs exiting with status 1 as error and
856        emit interpreter_error signal.
857
8582002-03-14  Jaka Mocnik  <jaka@gnu.org>
859
860        * configure.in: added --enable-bonobo-debug that logs bonobo component
861        output to a file.
862        * bonobo/main.c: implemented logging to a file to help debugging.
863
8642002-03-14  Jaka Mocnik  <jaka@gnu.org>
865
866        * configure.in: check for Xinerama.
867        * gtkgs.c (compute_?dpi): take possible multihead displays into
868        accont. patch by Mike Hicks <hick0088@tc.umn.edu>.
869        * [src|bonobo]/Makefile.am: link with Xinerama if found.
870
8712002-03-13  Jaka Mocnik  <jaka@gnu.org>
872
873        * src/gsdefaults.c (gtk_gs_defaults_changed): fixed a bug that wrote
874        alpha params to interpreter command.
875        * bonobo/ggv-postscript-view.c (view_button_press_cb): grab keyboard
876        focus of gtkgs widget.
877
8782002-03-12  Jaka Mocnik  <jaka@gnu.org>
879
880        * src/ggv-window.c (ggv_window_get_ps_from_control): get the whole
881        document or only a set of marked pages from the control via CORBA.
882        (ggv_window_print_postscript): asynchronously spawn the printing
883        command and feed the postscript to its stdin.
884        (verb_FilePrint*): implemented.
885        added message and question dialogs where appropriate.
886        * bonobo/ggv-postscript-view.c: emit changes to page_count, page
887        and orienation properties when appropriate.
888
8892002-03-11  Jaka Mocnik  <jaka@gnu.org>
890
891        * idl/Ggv.idl: added getDocument and getPages methods.
892        * bonobo/ggv-postscript-view.c: added implementation of the above.
893        * src/gsio.[ch]: a wrapper for output destination for pscopy*()
894        routines, as we dont want them to always write to a file anymore.
895        * src/ggv-ui.xml: added FileSaveMarked, FilePrintMarked and
896        FilePrintAll menu items.
897        * src/ggv-window.c: implement verb FileSaveMarked. get postscript
898        via CORBA from the PostScriptView.
899
9002002-03-08  Pablo Saratxaga <pablo@mandrakesoft.com>
901
902        * configure.in (ALL_LINGUAS): added Basque
903
9042002-03-07  Jaka Mocnik  <jaka@gnu.org>
905
906        * configure.in: remove AC_PACKAGE_NAME and _VERSION. they prevented
907        proper make distcheck.
908        * Makefile.am: include xmldocs.make and message-of-doom in distribution
909        tarball.
910        * src/ggvutils.c: don't include the zoom icons as we don't need them
911        anymore.
912        * po/POTFILES.in: fixed.
913        * tagged as GGV_1_99_0 and released a 1.99.0 tarball.
914
9152002-03-06  Jaka Mocnik  <jaka@gnu.org>
916
917        * src/ggv-window.c: added page marking buttons.
918        (ggv_window_new): sync menu items with default values.
919
9202002-03-05  Jaka Mocnik  <jaka@gnu.org>
921
922        * src/ggv-prefs.[ch]: derive prefs dialog from GtkWindow instead of
923        GtkDialog.
924        fixed major bugs. prefs now seem to work!
925        (ggv_prefs_dialog_apply): apply prefs from dialog.
926
9272002-03-04  Jaka Mocnik  <jaka@gnu.org>
928
929        * src/ggv-prefs.c: create prefs dialog. use the old layout from ggv
930        1.0, just use a GtkDialog with a notebook instead of GnomePropertyBox.
931        * src/gtkgs.c (start_interpreter): use configurable alpha parameters.
932        * src/gsdefaults.[ch]: merged configurable alpha parameters code from
933        ggv-gnome-1 branch.
934        * configure.in: added check for GS version and appropriate setting
935        of default alpha parameters.
936        * ggv.schemas: add alpha parameters key.
937
9382002-03-03  Jaka Mocnik  <jaka@gnu.org>
939
940        * src/ggv-prefs.[ch]: a new source for GGV shell prefs and prefs
941        editing dialog. The former is there, the latter is coming...
942        * src/Makefile.am: add the above to build.
943        * src/ggv-window.c (ggv_window_destroy): save default window size.
944        (file_sel_unmap): save default file selection size.
945        * src/main.c (main): load and save GGV prefs.
946        * src/ggv-ui.xml: Settings menu.
947        * src/ggvutils.[ch]: moved zoom level stuff here from
948        bonobo/ggv-control.c as it will also be needed by the shell itself.
949        * bonobo/ggv-control.c (ggv_control_class_init): create a template
950        for zoom level menus.
951        (ggv_control_create_ui): merge the zoom level menus. it currently does
952        not work well.
953
9542002-03-03  Jaka Mocnik  <jaka@gnu.org>
955
956        * bonobo/ggv-control-ui.xml: added.
957        * po/POTFILES.in: updated to reflect the real situation.
958       
9592002-03-03  Carlos Perelló Marín <carlos@gnome-db.org>
960
961        * src/callbacks.c: Fixed the translator option at about dialog.
962        * configure.in: Added AC_PREREQ(2.52), this way, if you have also
963        autoconf 2.13 it works.
964
9652002-03-02 John Fleck <jfleck@inkstain.net>
966
967        add
968        * xmldocs.make
969        * help/C/ggv.xml, help/C/legal.xml,
970        help/C/figures/example_screenshot.eps & example_screenshot.png
971        changed
972        * help/Makefile.am
973        * help/C/Makefile.am
974        * help/C/ggv-C.omf
975        adding Sun docs
976
9772002-03-02  Jaka Mocnik  <jaka@gnu.org>
978       
979        * bonobo/ggv-control-ui.xml: moved ui from source to file. extend it
980        with toolbar buttons for zooming.
981        * bonobo/ggv-postscript-view-ui.xml: added first and last page items.
982        added navigation buttons.
983        * bonobo/ggv-postscript-view.c: added verbs for first and last page.
984        * bonobo/ggv-control.c: fixed zooming. zoomable is not derived from
985        GTK_OBJECT!
986        * src/stock/Makefile.am: only install the toggle pixmaps as we
987        won't need the others.
988        * src/ggv-window.c: added about dialog.
989        * src/ggvutils.[ch] (ggv_raise_and_focus_widget): new utility function.
990
9912002-02-28  Jaka Mocnik  <jaka@gnu.org>
992
993        * src/main.c: removed old ggv code. it remains in ggv-gnome-1
994        branch in order to reuse pieces of it in the new ggv.
995        * bonobo/ggv-postscript-view.c (ggv_postscript_view_construct):
996        add key press event mask to gs widget.
997        * ggv.schemas: key "/apps/ggv/layout/autojump" changed to
998        "/apps/ggv/control/autojump" as it became a control-specific
999        setting.
1000        * src/gtkgs.c (gtk_gs_scroll_step): new function that performs
1001        scroll stepping.
1002        (gtk_gs_scroll_to_edge): scrolls to desired edges.
1003        fix scrolling rect drawing. it required processing the events
1004        caused by gdk_window_move() before drawing rectangle.
1005        * bonobo/ggv-control.c (ggv_control_construct): added key press
1006        handler.
1007        added gconf notify for key "/apps/ggv/control/autojump".
1008        show scrolling rectangle when using scrollbars to scroll.
1009
10102002-02-26  Jaka Mocnik  <jaka@gnu.org>
1011
1012        * src/gtkgs.c: fixed scrolling policy to comply with scrolled
1013        window's requirements.
1014        * bonobo/ggv-postscript-view.c: add panning.
1015        * src/ggv-window.[ch]: get rid of the scrollpane as the control
1016        now provides scrollbars.
1017       
10182002-02-23  Jaka Mocnik  <jaka@gnu.org>
1019
1020        * src/ggv-window.c (page_list_selection_changed): change pages
1021        when a new cell in the check list changes.
1022        (control_property_changed_handler): handle changes of page
1023        property.
1024
10252002-02-22  Jaka Mocnik  <jaka@gnu.org>
1026
1027        * src/ggv-window.c (ggv_window_create_page_list): new function that
1028        fetches page names from the control and puts them in the check list.
1029        * bonobo/ggv-postscript-view.c (ggv_postscript_view_get_prop):
1030        implement page, page_count and page_names properties.   
1031
10322002-02-20  Jaka Mocnik  <jaka@gnu.org>
1033
1034        * src/gtkchecklist.c: migrated to Gtk+2 tree MVC framework.
1035        * src/ggv.window.c: add a checklist to sidebar. we don't populate
1036        it yet as we first need a CORBA interface to our PostscriptView
1037        to allow for fetching page names.
1038        * idl/Ggv.idl: added typedefs for PageName and PageNameList.
1039
10402002-02-19  Jaka Mocnik  <jaka@gnu.org>
1041
1042        * bonobo/ggv-postscript-view.c (ggv_postscript_view_create_ui):
1043        fixed a buggy path that prevented merging of size menus. They
1044        still don't show quite right though.
1045
10462002-02-17  Jaka Mocnik  <jaka@gnu.org>
1047
1048        * src/ggv-window.c (ggv_window_new): add event source listener to
1049        property bag.
1050        (control_property_changed_handler): handler for events from property
1051        bag.
1052        * bonobo/ggv-postscript-view.c (ggv_postscript_view_construct): add
1053        status & title properties.
1054        (ggv_postscript_view_get_prop): return title & status properties.
1055        (load_ps): loads ps from file & emits all the necessary notifications.
1056        used in both load_ps_from_stream & load_ps_from_file.
1057        * bonobo/ggv-postscript-view-ui.xml: cmd/menuitem separation.
1058
10592002-02-16  Jaka Mocnik  <jaka@gnu.org>
1060
1061        * src/gtkscrollpane.c: changed in order to behave in a gtkscrollbar
1062        manner which is compatible with gtkviewport.
1063        * src/gtkscrollpane.[ch]: removed all traces of unsued member
1064        aspect_ratio.
1065        * src/ggv-window.c (ggv_window_new): add scrollpane to scrollbar.
1066        window-sizing fix.
1067        (ggv_app_verbs): added New & Close.
1068        * src/Makefile.am: readded gtkscrollpane.[ch] to sources.
1069        * src/ggv-ui.xml: fixed verb names.
1070        * idl/Ggv.idl: UPSIDE_DOWN -> UPSIDEDOWN to match GtkGS names.
1071        * bonobo/ggv-postscript-view.c (ggv_postscript_view_construct):
1072        add width, height and orientation properties.
1073
10742002-02-14  Jaka Mocnik  <jaka@gnu.org>
1075
1076        * src/gtkgs.c (gtk_gs_next_page): fixed broken XEvent abusing code.
1077        (gtk_gs_load): call gtk_gs_set_page_size().
1078        * src/ggv-window.[ch]: main window for GGV, derived from BonoboWindow.
1079        * src/main.c: all-new-startup code.
1080        * src/ggv-ui.xml: bonobo UI for GGV.
1081        * bonobo/*: some bugfixes.
1082        * removed most of the old stuff from build.
1083        * GGV now barely shows the PS in a control and allows to move fwd/bwd.
1084
10852002-02-08  Jaka Mocnik  <jaka@gnu.org>
1086
1087        * imported Gnome2 port from Satyajit Kanungo.
1088        * fixed build system.
1089        * bonobo/*: port to Gnome2. it currently compiles.
1090        * updated AUTHORS, MAINTAINERS and, most important, TODO
1091
10922002-01-20  Stanislav Brabec  <utx@penguin.cz>
1093
1094        * gtkgs.c: Be able to scroll exactly to margin (especially
1095        with mouse wheel). This makes visible another bug - scroll
1096        pane is able to scroll only few pixels apart from margin.
1097        * callbacks.c: Cosmetical (spaces).
1098
10992001-11-19  Jaka Mocnik  <jaka@gnu.org>
1100
1101        * src/gtkgs.c (start_interpreter): chdir() to the current dir of
1102        ps file in the child process to prevent screwing up the ggv's cwd.
1103        * ggv/ggv.schemas: fix a typo.
1104        * released 1.1.93 tarball.
1105
11062001-11-18  Jaka Mocnik  <jaka@gnu.org>
1107
1108        * src/*.[ch]: applied a patch from Laurent Mazet that adds a
1109        --nostatusbar option to ggv.
1110        added (popup)menu items for statusbar visibility.
1111        handle showstatusbar preferences option properly.
1112        added show statusbar option to preferences menu.
1113        * ggv.schemas: add nostatusbar boolean key.
1114        * help/C/ggv.sgml: described --nostatusbar option.
1115       
11162001-11-15  Jaka Mocnik  <jaka@gnu.org>
1117
1118        * src/gtkgs.[ch]: added document_changed signal that is emitted
1119        when the loaded file changes.
1120        * src/gtkgs.c (timer_callback): emit document_changed signal.
1121        * src/callbacks.c (document_changed_callback): a handler for the
1122        document_changed signal that reloads the file.
1123        * help/C/ggv.sgml: removed last traces of "media".
1124
11252001-11-13  Jaka Mocnik  <jaka@gnu.org>
1126
1127        * bonobo/ggv-postscript-view.c: fix setting UI from xml.
1128        * src/stock: added missing pixmaps.
1129        * src/main.c: removed last traces of 'media'.
1130        * configure.in: add --disable-install-schemas switch.
1131        * Makefile.am: install schemas conditionally if INSTALL_SCHEMAS
1132        is true. Install schemas file to $(sysconfdir)/gconf/schemas.
1133        * ggv.spec.in: install schemas stuff in %post phase.
1134        * released 1.1.92 tarball.
1135
11362001-11-12  Stanislav Brabec  <utx@penguin.cz>
1137
1138        * idl/Ggv.idl, src/ps.h, src/main.c, src/ps.c, src/callbacks.c,
1139        src/ggvwindow.h, src/gtkgs.c, src/gtkgs.h, src/gsdefaults.c,
1140        src/gsdefaults.h, bonobo/ggv-postscript-view.h,
1141        bonobo/ggv-postscript-view-ui.xml, bonobo/ggv-postscript-view.c,
1142        ggv.schemas, help/C/ggv.sgml: Terminology change - change "media"
1143        to "page size" or "media size" everywhere to prevent ambiguities
1144        of PostScript parameters.  Page Media is a set of PostScript
1145        parameters, containing page size, media color, media type etc.
1146
11472001-11-09  Wang Jian  <lark@linux.net.cn>
1148
1149        * configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN.
1150
11512001-11-06  Jaka Mocnik  <jaka@gnu.org>
1152
1153        * src/main.c (ggv_toolbar_set_labels): new function.
1154        * src/main.c: add a checkbox for toolbarlabels setting in prefs
1155        dialog.
1156        * src/prefs.c (ggv_prefs_load): added handling of toolbarlabels
1157        setting.
1158        * ggv.schemas: added toolbarlabels key.
1159        * released 1.1.91 tarball.
1160
11612001-11-04  Jaka Mocnik  <jaka@gnu.org>
1162
1163        * configure.in: use AM_GCONF_SOURCE.
1164        * Makefile.am: use GCONF_SCHEMA_CONFIG_SOURCE provided by above.
1165        * help/C/ggv.sgml: use "-//GNOME//DTD DocBook PNG Variant V1.1//EN".
1166
11672001-11-02 John Fleck <jfleck@inkstain.net
1168
1169        * help/C/ggv.sgml - checking in Jonathan Bartlett's updated help
1170        doc
1171
11722001-10-23  Jaka Mocnik  <jaka@gnu.org>
1173
1174        * src/gtkgs.c (gtk_gs_load): "absolutize" relative filename paths.
1175
11762001-10-18  Jaka Mocnik  <jaka@gnu.org>
1177
1178        * bonobo/GNOME_GGV.oaf.in: removed embeddable server.
1179        * bonobo/ggv-postscript-view.c: removed conf_client
1180        initialization.
1181
11822001-10-09  Jaka Mocnik  <jaka@gnu.org>
1183
1184        * src/gtkgs.c (start_interpreter): properly handle multiple
1185        arguments in interpreter command.
1186
11872001-09-25  Fatih Demir <kabalak@gtranslator.org>
1188
1189        * \*/.cvsignore: Added some small cvsignore files.
1190
11912001-09-19  Jaka Mocnik  <jaka@gnu.org>
1192
1193        * bonobo/ggv-control.c (zoomable_zoom_to_fit_cb): properly compute
1194        new zoom level.
1195        * bonobo/ggv-postscript-view.c (view_button_[press|release]_cb): call
1196        gtk_gs_[start|end]_scroll(), respectively.
1197        (ggv_postscript_view_zoom_to_fit): make it return zoom level that
1198        will make the document fit.
1199
12002001-09-17  Jaka Mocnik  <jaka@gnu.org>
1201
1202        * added gconf initialization to bonobo component.
1203        * applied some patches for compilation with gcc 3.0.
1204
12052001-08-30  Jaka Mocnik  <jaka@gnu.org>
1206
1207        * applied a patch by Werner Koerner
1208        <wernerk.koerner@zae.uni-wuerzburg.de>. see below.
1209        * main.c: Added new function zoom_to_fit. It sets the new zoom factor
1210        and updates the status line and the zoom submenu accordingly.
1211        Added possibility to zoom to page width.
1212        Added menu 'fit to width' to zoom submenu.
1213        * gtkgs.c (gtk_gs_zoom_to_fit): this function now only calculates the
1214        zoom factors, changing them is done in main.c/zoom_to_fit
1215        * callbacks.c: added zoom_to_fit_width_callback
1216        * main.c (refresh_coordinates): Refresh coordinates only if sidebar is
1217        visible. Remove call to ggv_menus_set_visible which overrides
1218        hiding/showing the menubar.
1219        * main.c (ggv_panel_set_visible): Add call to refresh_coordinates to
1220        initialize coordinate display when panel is shown.
1221        * gtkchecklist.c (gtk_check_list_clear): fixed memory leak
1222        * gtkgs.c (gtk_gs_destroy): fixed memory leak
1223        (gtk_gs_unrealize): new unrealize handler. fixes a mem-leak.
1224        * gtkgs.c (start_interpreter): It makes no sense to quote the filename
1225        in the argv-array - removed. Now most files containing special
1226        characters should work except uncompressed pdf-files.
1227        * gsdefaults.c (gtk_gs_defaults_get_scan_pdf_cmd): Remove quotes from
1228        default command line as filenames are either already quoted or
1229        temporary files which dont contain any special characters.
1230        * ggvutils.c (ggv_quote_filename): Quote '%'-character.
1231        * gtkgs.c (start_interpreter): Change to the directory of the input
1232        file, then start gs. This helps with some postscript files which
1233        include other files  using relative paths (i.e. ghostscript's example
1234        chess.ps).
1235
12362001-08-31  Abel Cheung  <maddog@linux.org.hk>
1237
1238        * configure.in (ALL_LINGUAS): zh_TW.Big5 -> zh_TW
1239
12402001-08-20  Jaka Mocnik  <jaka@gnu.org>
1241
1242        * help/C/ggv.sgml: described dash filename.
1243        * src/main.c (main): don't open stdin if no filenames have been
1244        specified and the stdin isn't a tty. implement reading stdin if a
1245        dash was specified among filenames.
1246
12472001-08-13  Jaka Mocnik  <jaka@gnu.org>
1248
1249        * src/main.c (open_prefs_dialog): add a check button for outlining
1250        last visible part of page when scrolling.
1251        * configure.in: bumped version to 1.1.1 and released a new tarball.
1252
12532001-08-11  Jaka Mocnik  <jaka@gnu.org>
1254
1255        * src/gtkgs.c (gtk_gs_*_scroll): functions to mark beginning and
1256        end of a scrolling session.
1257        (*) wrapped all gdk_window_move(gs->pstarget ...) in drawing
1258        rectangles if we are scrolling.
1259        (gtk_gs_defaults_changed): get new values directly from gconf as we
1260        can't be sure that the other callback (the one from gsdefaults.c)
1261        was called before us.
1262        * src/gsdefaults.c (gtk_gs_defaults_changed): act properly on
1263        configuration changes.
1264        * ggv.schemas: add show_scroll_rect.
1265
12662001-08-10  Jaka Mocnik  <jaka@gnu.org>
1267
1268        * src/main.c, src/callbacks.c: fixed increasing/decreasing
1269        magnification. removed magstep member from ggv_window.
1270       
12712001-08-01  Jaka Mocnik  <jaka@gnu.org>
1272
1273        * src/main.c (ggv_*_set_visible): functions for setting visibility
1274        of panel/menus/toolbar.
1275        * src/prefs.c: finished migration to gconf. new prefs behaviour
1276        is to sync all open ggvs with prefs changes of both UI shell and
1277        the GtkGS widget.
1278
12792001-07-22  Jaka Mocnik  <jaka@gnu.org>
1280
1281        * src/main.c (synchronize_*_wd): new functions that sync UI with
1282        default values. these are needed as we can't rely on the order
1283        that the gconf notify functions will be called in.
1284
12852001-07-22  Jaka Mocnik  <jaka@gnu.org>
1286
1287        * src/gtkgs.c (start_interpreter): enclose filename in quotes when
1288        creating GS command line in order to properly handle filenames with
1289        spaces.
1290
12912001-07-18  Jaka Mocnik  <jaka@gnu.org>
1292
1293        * src/gtkgs.c (gtk_gs_defaults_changed): redisplay when zoom
1294        changes.
1295        * src/main.c: improve logic for determining magstep from zoom factor.
1296
12972001-07-14  Kjartan Maraas  <kmaraas@gnome.org>
1298
1299        * configure.in: Added "nn" to ALL_LINGUAS.
1300
13012001-07-13  Jaka Mocnik  <jaka@gnu.org>
1302
1303        * moved the rest of config code in ggv to gconf.
1304        * ggvutils.[ch] (ggv_compute_zoom): moved here from main.c.
1305        (ggv_compute_spec): new function. inverse of ggv_compute_zoom().
1306        * gsdefaults.c: moved gconf client initialization from GtkGS class
1307        code to here.
1308       
13092001-07-08  Jaka Mocnik  <jaka@gnu.org>
1310
1311        * src/gtkgs.c (gtk_gs_init): add notification callbacks to gtkgs
1312        gconf client.
1313        (gtk_gs_class_init): get default gconf client. assert if gconf
1314        is not initialized!
1315        (gtk_gs_get_gconf_client): access to the gtkgs gconf client.
1316        * src/prefs.c: removed gtkgs prefs as these are now handled by
1317        gconf.
1318        * src/main.c (main): initialize gconf.
1319        (set_gs_prefs): removed setting of GtkGS prefs as this is now
1320        handled by GtkGS gconf notification callbacks.
1321        * src/callbacks.c (prefs_apply_callback): save GtkGS prefs separately.
1322        * src/gtkscrollpane.c: removed some warnings. make use of default
1323        unrealize signal handler.
1324
13252001-07-03  Jaka Mocnik  <jaka@gnu.org>
1326
1327        * src/gsdefaults.[ch]: home for all the gtk_gs_defaults_* stuff that
1328        was once in gtkgs.[ch].
1329        (gtk_gs_defaults_load, gtk_gs_defaults_save): restore/save config
1330        using GConf.
1331        ggvutils.[ch]: moved unit and orientation labels, paper sizes and
1332        unit factors here from various places.
1333        (ggv_split_string, ggv_get_index_of_string): utility functions
1334        that were once static to their sources.
1335       
13362001-07-02  Jaka Mocnik  <jaka@gnu.org>
1337
1338        * bonobo/ggv-postscript-view.c (sync_*_items): removed debugging
1339        output.
1340        (ggv_postscript_view_construct): fixed media property of PropertyBag.
1341        (listener_Media_cb): don't free media: arg_release() will take care of
1342        it.
1343        prefs.[ch]: removed gs*_cmd global variables as they are now stored
1344        in GtkGSDefaults. fixed prefs io functions to respect this.
1345        * main.c (synchronize_*_items): new function to enable/disable
1346        paper/orientation items according to respective override setting.
1347
13482001-06-30  Jaka Mocnik  <jaka@gnu.org>
1349
1350        * src/prefs.c (set_prefs): apply settings for auto jump to
1351        beginning of the page.
1352
13532001-06-20  Karl Eichwalder  <ke@suse.de>
1354
1355        * configure.in: Remove AM_PROG_XML_I18N_TOOLS (duplicate).
1356
13572001-05-31  Karl Eichwalder  <ke@suse.de>
1358
1359        * bonobo/GNOME_GGV.oaf.in: s/Postscript/PostScript/ for _value
1360        strings.
1361
1362        * Merge in xml-i18n-tools-0-8-4-branch.
1363
1364        * configure.in (ALL_LINGUAS): Add 'hr'.
1365
1366        * Start to apply xml-i18n-toolization running xml-i18n-prepare
1367        (0.8.4):
1368        * Makefile.am (EXTRA_DIST): Add xml-i18n-extract.in
1369        xml-i18n-merge.in xml-i18n-update.in.
1370        * xml-i18n-extract.in: Add from xml-i18n-tools 0.8.4.
1371        * xml-i18n-update.in: Ditto.
1372        * xml-i18n-merge.in: Ditto.
1373
1374        * configure.in: Add AM_PROG_XML_I18N_TOOLS.
1375
1376        * Makefile.am (Graphics_DATA): Fix ggv.desktop entry.
1377        * .cvsignore: Add ggv.desktop.
1378        * ggv.desktop: Remove file.
1379        * ggv.desktop.in: New file.
1380
13812001-05-30  Jaka Mocnik  <jaka@gnu.org>
1382
1383        * src/ggvwindow.h (struct _ggv_window): added more members for
1384        some menu & popup-menu items.
1385        * src/main.c: added First/Last Page menu and popup menu-items.
1386        patch submitted by Dan E. Kelley <dan.kelley@dal.ca>.
1387        Implemented setting of sensitivity of new menu & popup-menu items.
1388
13892001-05-25  Jaka Mocnik  <jaka@gnu.org>
1390
1391        * src/prefs.c (load_prefs): really set default zoom factor. fixes
1392        bug #55182.
1393
13942001-05-17  Jaka Mocnik  <jaka@gnu.org>
1395
1396        * src/callbacks.c: apply/save file selection dialog dimensions.
1397        * src/prefs.[ch]: save/load file selection dialog dimensions to/from
1398        config file. fixes bug #54652.
1399
14002001-05-17  Jaka Mocnik  <jaka@gnu.org>
1401
1402        * src/main.c (create_popup_menus): added more keyboard accelerators.
1403        (create_menus): fixed keyboard accelerators clashes. fixes bug #54654.
1404        * src/callbacks.c (toggle_*_pages_callback): really _toggle_,
1405        don't just _set_ them. fixes bug #54653.
1406
14072001-05-11  Gediminas Paulauskas <menesis@delfi.lt>
1408
1409        * src/callbacks.c: add missing }
1410
14112001-05-10  Jaka Mocnik  <jaka@gnu.org>
1412
1413        * src/callbacks.c (button_press_callback): added zoom-in function to
1414        middle-button.
1415        * src/gtkgs.[ch] (gtk_gs_set_center): new function.
1416        * bonobo/ggv-postscript-view.c (sync_radio_items): fix syncing for
1417        orientation items.
1418        * bonobo/ggv-postscript-view-ui.xml: added needed verbs with their
1419        states.
1420
14212001-05-03  Jaka Mocnik  <jaka@gnu.org>
1422
1423        * bonobo/ggv-postscript-view.[ch]: move media menu template to
1424        class structure.
1425        (ggv_postscript_view_class_init): build media menus. properly
1426        encode translated strings.
1427       
14282001-04-28  Jaka Mocnik  <jaka@gnu.org>
1429
1430        * src/main.c (create_toolbar): respect toolbar labels preferences.
1431
14322001-04-23  Jaka Mocnik  <jaka@gnu.org>
1433
1434        * bonobo/ggv-postscript-view-ui.xml: added a placeholder for media
1435        menus.
1436        * bonobo/ggv-postscript-view.c (build_media_menu): build a
1437        BonoboUINode tree for a menu of media types.
1438        (ggv_postscript_view_construct): build a template for media menus.
1439        (ggv_postscript_view_create_ui): copy media menu template and create
1440        set the copied tree.
1441
14422001-04-22  Jaka Mocnik  <jaka@gnu.org>
1443
1444        * src/gtkgs.[ch] (gtk_gs_get_current_page, gtk_gs_get_page_count): new
1445        functions.
1446        * bonobo/ggv-postscript-view-ui.xml: added NextPage and PrevPage verbs
1447        and menuitems.
1448        * bonobo/ggv-postscript-view.c (verb_NextPage_cb, verb_PrevPage_cb):
1449        verb callbacks.
1450        (ggv_postscript_view_create_ui): add verbs.
1451        (set_page_item_sensitivity): set PrevPage and NextPage sensitivity.
1452
14532001-04-20  Jaka Mocnik  <jaka@barbara>
1454
1455        * src/callbacks.[ch] (zoom_to_fit_callback): new function.
1456        * src/gtkgs.[ch] (gtk_gs_zoom_to_fit): new function.
1457        * src/main.c (create_menus): added "Zoom to fit" item.
1458        * bonobo/ggv-postscript-view.c (ggv_postscript_view_zoom_to_fit):
1459        implemented.
1460       
14612001-04-20  Jaka Mocnik  <jaka@gnu.org>
1462
1463        * merged in changes from ggv-1.0 where appropriate,
1464        * gtkgs.[ch]: implemented missing accessors in GtkGS API.
1465        * bonobo/ggv-postscript-view.c: worked on UI stuff.
1466        * finally commited changes to CVS.
1467
14682001-04-13  Jaka Mocnik  <jaka@gnu.org>
1469
1470        * bonobo/*: new directory with bonobo stuff.
1471        * removed old bonobo embeddable.
1472        * compile GtkGS in a library that links with both GGv and
1473        bonobo component.
1474        * fixed lots of compile warnings.
1475        * added prototypes for functions that didn't have them yet.
1476
14772001-03-29  Jaka Mocnik  <jaka@gnu.org>
1478
1479        * ps.h (struct documentmedia): Moved to gtkgs.h and renamed to
1480        GtkGSPaperSize.
1481        * ps.c: comply to above.
1482        * src/gtkgs.h (struct _GtkGS): changed default_page_media to
1483        default_media.
1484        (gtk_gs_*_default_media): add prototypes.
1485        (gtk_gs_defaults_get_paper_sizes, gtk_gs_defaults_get_paper_count):
1486        new functions.
1487        * src/gtkgs.c: comply with above changes.
1488        (gtk_gs_defaults_get_paper_sizes, gtk_gs_defaults_get_paper_count):
1489        new functions. return array of GtkGSPaperSizes and length of that
1490        array. this will allow us to add paper types in the future.
1491        * ggvwindow.h (struct _ggv_window): make menudata and paper_menu
1492        members pointers instead of fixed-size arrays.
1493        (struct _ggv_prefs): do the same with media_choice member.
1494        * main.c: dynamically allocate/free above members.
1495
14962001-03-28  Jaka Mocnik  <jaka@gnu.org>
1497
1498        * src/gtkgs.[ch]: major beautification of GtkGS APIs.
1499        (gtk_gs_set_pagemedia): becomes gtk_gs_set_page_media().
1500        (gtk_gs_set_orientation): becomes gtk_gs_set_default_orientation().
1501        (gtk_gs_get_default_orientation): new accessor.
1502        (gtk_gs_document*): become gtk_gs_get_document*().
1503        (gtk_gs_set_override_orientation, gtk_gs_get_override_orientation,
1504        gtk_gs_set_override_media, gtk_gs_get_override_media): new accessors.
1505        Changed name of all gtkgs_defaults functions.
1506        * src/prefs.c (save_prefs): save respect EOF settiing.
1507        * *.[ch]: changed all to comply with above API changes.
1508
15092001-03-24  Jaka Mocnik  <jaka@gnu.org>
1510
1511        * src/main.c (refresh_coordinates): refresh coordinates label.
1512        (apply_gs_prefs): call refresh_coordinates().
1513        (open_prefs_dialog): add another choice menu for units for coordinate
1514        display.
1515        * src/callbacks.c (motion_callback): only set new coordinate members
1516        of ggv_window to cursor position in inches.
1517        * src/prefs.[ch]: renaming.
1518        load & save preferred coordinate display units.
1519
15202001-03-23  Jaka Mocnik  <jaka@gnu.org>
1521
1522        * src/callbacks.c (motion_callback): report coordinates. currently in
1523        points. TODO: implement conversion to metric and anglo-saxon units.
1524        * src/main.c (load_gs): clear coordinates label.
1525        (create_toolbar): added navigation and zoom buttons.
1526        (create_sidebar): removed navigation and zoom buttons, moved
1527        coordinates label below scrollpane.
1528       
1529
15302001-03-08  Jaka Mocnik  <jaka@gnu.org>
1531
1532        * removed german help translation from ditribution.
1533        * bumped version to 1.0 and released a new tarball for GNOME 1.4.
1534       
15352001-03-05  Jaka Mocnik  <jaka@gnu.org>
1536
1537        * src/main.c (open_prefs_dialog): left-align labels.
1538        * po/sl.po: defuzzy strings.
1539
15402001-03-03 - John Fleck <jfleck@inkstain.net>
1541
1542        * adding COPYING-DOCS
1543
15442001-03-03 John Fleck <jfleck@inkstain.net>
1545
1546        * added:
1547        app-docs.make, omf-install/Makefile.am, help/C/ggv-C.omf,
1548        help/de/ggv-de.omf, help/it/ggv-it.omf, help/ja/ggv-ja.omf
1549        changed:
1550        help/C/Makefile.am, help/de/Makefile.am, help/it/Makefile.am,
1551        help/ja/Makefile.am, configure.in, Makefile.am
1552        Adding support for ScrollKeeper
1553
15542001-02-25  Fatih Demir <kabalak@gtranslator.org>
1555
1556        * help/C/.cvsignore: Be quiet about ggv.info.
1557
15582001-02-20  Jaka Mocnik  <jaka@gnu.org>
1559
1560        * src/gtkscrollpane.c (gtk_scrollpane_motion_notify): fixed a bug
1561        that caused the scroll pane not to properly set value when the slider
1562        was dragged to top and/or left edge.
1563
15642001-02-19  Jaka Mocnik  <jaka@gnu.org>
1565
1566        * src/main.c: "Attend" should read "At end";
1567        * src/*.po: updated because of the above string change.
1568
15692001-02-15  Gediminas Paulauskas <menesis@delfi.lt>
1570
1571        * src/main.c: made ~15 strings translatable.
1572
15732001-02-14  Jaka Mocnik  <jaka@gnu.org>
1574
1575        * src/bonobo-application-ps.c (set_page_item_sensitivity): check
1576        if gs->doc is NULL in order to prevent segfaults.
1577
15782001-02-01  Fatih Demir <kabalak@gmx.net>
1579
1580        * help/de/.cvsignore, help/ja/.cvsignore: Added these ignore
1581        files.
1582
15832001-01-31  Karl Eichwalder  <ke@suse.de>
1584
1585        * configure.in (ALL_LINGUAS): Remove 1 uk entry (we've had 2).
1586
15872001-01-23  Daniel M German  <dmgerman@acm.org>
1588
1589        * src/callbacks.c (about_callback): Added Tim Theisen and Johannes
1590        Plass as authors. There is a lot of code based on gv
1591        (including the parser) so IMHO it is fair to acknowledge them. I
1592        updated Jaka as the current maintainer.
1593       
15942001-01-22  Daniel M German  <dmgerman@acm.org>
1595
1596        * src/gtkgs.c (set_up_page): Remove a g_print message
1597
15982001-01-22  Jaka Mocnik  <jaka@gnu.org>
1599
1600        * src/gtkgs.c (gtk_gs_set_pagemedia): fixed a bug that prevented proper
1601        paper size overriding.
1602        * src/ps.c (psscan), gtkgs.c: made respect_eof configurable.
1603        * src/main.c, src/callbacks.c: added respect eof option to prefs dialog.
1604        * configure.in: now we're at 1.0-test7. boy, does this testing wear me
1605        out...
1606
16072001-01-21  Daniel M German  <dmgerman@acm.org>
1608
1609        * src/ps.c (psscan): Implemented ignoring EOF in structured
1610        documents. Unfortunately some Structured Documents do not properly
1611        protect EOF of embedded documents.
1612
16132001-01-21  Jaka Mocnik  <jaka@gnu.org>
1614
1615        * gtkgs.c (gtk_gs_set_pagemedia): added a check for
1616        gs->doc->pages != NULL before dereferencing them. stupid me...
1617
16182001-01-17  Jaka Mocnik  <jaka@gnu.org>
1619
1620        * gtkgs.[ch]: added member loaded. set to TRUE when a document is
1621        loaded.
1622        * (struct _ggv_window): removed member loaded.
1623        * fixed paper menu and choice menu syncing.
1624        * gtkgs.c (gtk_gs_realize, compute_size, set_up_page): show white
1625        background of fallback media type when no document is loaded.
1626        (gtk_gs_set_pagemedia): hopefully this is now finally fixed. it
1627        gets media type in this order: page media, doc media, page bbox,
1628        doc bbox.
1629        fixed orientation menu syncing and handling.
1630
16312001-01-14  Stanislav Brabec  <utx@penguin.cz> 
1632
1633        * src/main.c: Swapped odd/even in menus to finish odd/even
1634        cosmetics.
1635
16362001-01-14  Jonathan Blandford  <jrb@redhat.com>
1637
1638        * src/main.c (create_menus): oops.  Forgot to change this.
1639
16402001-01-14  Jonathan Blandford  <jrb@redhat.com>
1641
1642        * src/callbacks.c (*_toggled_*): Changed to use the new checklist.
1643        * src/main.c (toggle_pages): removed
1644        * src/gtkchecklist.[ch]: new widget.
1645        * src/stock/.cvsignore: added
1646        * src/main.c: Removed %800 as a zoom option.  It uses a _lot_ of
1647        memory needlessly.
1648
16492001-01-14  Jaka Mocnik  <jaka@barbara>
1650
1651        * src/gtkgs.c: renamed gtkgs_errmsg to gtk_gs_emit_error_msg, to be
1652        consistent with the overall naming style.
1653        (gtk_gs_set_pagemedia): attempt to use page bounding box if no
1654        page media or document media are set. fixes problems with some PDF
1655        dsc files.
1656
16572001-01-13  Stanislav Brabec  <utx@penguin.cz>
1658
1659        * src/main.c: Changed bad term "Paper Type" to "Page Size" to
1660        prevent ambiguity between PageSize and MediaType Postscript
1661        resources.
1662
1663        * src/callbacks.c: Synchronize wheel mouse events with long time
1664        established GIMP behavior (i.e. Control=HScroll, Shift=Zoom).
1665        Increased whellmouse step. Still different from GIMP where wheel
1666        step is window size relative (1/4).
1667
1668        * src/main.c, src/stock/toggleodd.xpm, src/stock/toggleeven.xpm:
1669        Prevent odd/even ambiguities: Use natural order (odd, even),
1670        swap images to be more intuitive.
1671
1672        * ggv.desktop: Updated cs.
1673
16742001-01-11 John Fleck <jfleck@inkstain.net>
1675        * help/C/ggv.sgml, help/de/ggv.sgml, help/it/ggv.sgml, help/ja/ggv.sgml:
1676        fixing bug in the docs that prevented them from rendering in
1677        Nautilus: "DOCTYPE" in the dtd must be capitalized. Also changed
1678        "%" to "&percnt;" so as not to choke the poor Nautilus browser
1679       
16802001-01-11 John Fleck <jfleck@inkstain.net>
1681        * added help/de/Makefile.am
1682        * help/C/Makefile.am, help/it/Makefile.am, help/ja/Makefile.am,
1683        help/Makefile.am, configure.in:
1684        update help doc makefiles to build html at package build time, so
1685        the packager rather than the end user needs DocBook tools to build
1686        the static html from the DocBook sgml. Also, install .sgml files
1687        in help directories for future Nautilus compatibility
1688
16892001-01-11  Jaka Mocnik  <jaka@gnu.org>
1690
1691        * src/main.c: include stock/*.xpm, not *.xpm.
1692        * src/foot*.xpm: removed.
1693        * src/gtkgs.c (check_filecompressed): free filename after possible
1694        error messages; also uncompress files by passing the uncompressing
1695        command the compressed filename in commandline and not via redirection
1696        of stdin, as some bzip2 version seem to have problems with the latter.
1697
16982001-01-09  Jaka Mocnik  <jaka@gnu.org>
1699
1700        * ggv.spec.in: removed the line for sysconfdir/CORBA/servers as
1701        .gnorba files no longer exist.
1702
17032001-01-08  Jaka Mocnik  <jaka@gnu.org>
1704
1705        * src/gtkscrollpane.c (gtk_scrollpane_class_init): add handler for
1706        draw signal to fix some redrawing issues.
1707        * src/main.c (restore_session, save_session): save & restore document
1708        page, zoom and scrolled position.
1709        (synchronize_user_interface): set zoom menu option to the current
1710        window magnification and NOT to the default magnification.
1711
17122000-12-24  Jaka Mocnik  <jaka@gnu.org>
1713
1714        * application-ps.oafinfo: becomes Bonobo_GGV.oafinfo. also changed
1715        OAFIIDs.
1716        * application-ps.gnorba: removed.
1717        * Makefile.am: removed application-ps.gnorba.
1718        * configure.in: bumped version to 1.0-test1. released the first
1719        test before 1.0.
1720        * MAINTAINERS: changed to jaka@gnu.org.
1721
17222000-12-22  Zbigniew Chyla  <cyba@gnome.pl>
1723       
1724        * ggv.desktop: Updated Polish translation.
1725
17262000-12-18  Dan Damian  <dand@dnttm.ro>
1727
1728        * configure.in: Added "ro" to ALL_LINGUAS.
1729
17302000-12-16  Jaka Mocnik  <jaka@gnu.org>
1731
1732        src/bonobo-application-ps.c: updated to work with latest bonobo:
1733        changed references to EmbeddableFactory to GenericFactory.
1734
17352000-12-04  Jaka Mocnik  <jaka@gnu.org>
1736
1737        * src/main.c (open_window): return the new ggv_window and take
1738        parameters for x, y, width and height of the window.
1739        (restore_session, save_session, client_die): new functions to
1740        support session management.
1741        (main): implement session management.
1742
17432000-11-23  Jaka Mocnik  <jaka@activetools.si>
1744
1745        * src/bonobo-application-ps.c (reload_all_views): set menu item
1746        sensitivity for each view.
1747
17482000-11-21  Yukihiro Nakai  <nakai@gnome.gr.jp>
1749
1750        * configure.in (ALL_LINGUAS): add zh_CN.GB2312
1751
17522000-11-16  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
1753
1754        * configure.in (ALL_LINGUAS): added Slovak [sk]
1755
17562000-11-15  Maciej Stachowiak  <mjs@eazel.com>
1757
1758        * configure.in: Make OAF support unconditional (Bonobo always uses
1759        OAF now).
1760        * Makefile.am: Likewise.
1761        * acconfig.h: Likewise.
1762        * src/bonobo-application-ps.c: Likewise.
1763
17642000-11-06  Jason Leach  <leach@wam.umd.edu>
1765
1766        * src/bonobo-application-ps.c (stream_read): s/copy_to/copyTo/ to
1767        compile with the latest studlyCaps bonobo.
1768
17692000-10-15  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
1770
1771        * src/bonobo-application-ps.c: converted to new bonobo UI code.
1772
17732000-10-08  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
1774
1775        * src/*.c: unified capitalization: Gnome Ghostview and GGv.
1776        no more GNOME and ggv.
1777
17782000-10-06  Daniel M German  <dmgerman@acm.org>
1779
1780        * src/callbacks.c
1781        * src/callbacks.h
1782        * src/ggvutils.c
1783        * src/ggvutils.h
1784        * src/ggvwindow.h
1785        * src/main.c
1786        * src/prefs.c
1787        * src/prefs.h: Added a toolbar and icons for the sidebar.
1788         Coded  by Paolo Maggi <maggi@athena.polito.it>
1789
17902000-10-05  Daniel M German  <dmgerman@acm.org>
1791
1792        * src/callbacks.c (button_press_callback): Support for
1793        wheel mice.  Coded by Tomas Kindahl <tomas.kindahl@codefactory.se>
1794        * src/prefs.c: Aligned some  labels in prefs window.
1795
17962000-10-04  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
1797
1798        * src/bonobo-application-ps.c (view_merge_menus): use
1799        Bonobo_UIContainer instead of Bonobo_UIHandler.
1800       
18012000-09-25  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
1802
1803        * help/C/ggv.texi: texinfo version of the sgml docs. automatic
1804        conversion does not work well and it had to be tweaked manually.
1805        therefore I have commited it to CVS.
1806        * help/C/Makefile.am: generate and install the info file.
1807       
18082000-09-18 Yukihiro Nakai <nakai@gnome.gr.jp>
1809
1810       * Update help/ja/ggv.sgml
1811       * Add ja entry to help/Makefile.am
1812
18132000-08-24  Daniel M German  <dmgerman@acm.org>
1814
1815       * src/callbacks.c
1816       * src/callbacks.h
1817       * src/ggvwindow.h
1818       * src/gtkgs.c
1819       * src/main.c
1820         - Added support for orientation on on a per window basis.
1821         - To be consistent, I added the option to override orientation
1822           instead of the automatic option
1823       * src/prefs.c
1824       * src/prefs.h:
1825         - Added orientation parameters in the setup window.
1826       
1827         - There are still some bugs to fix, among them:
1828           *set new paper media after the document is loaded
1829           *there are still some bugs to fix for orientation
1830           *try to test documents with multiple media
1831           *try to see if there are documents with different orientation
1832           
1833       
18342000-08-22  Daniel M German  <dmgerman@acm.org>
1835
1836       * src/callbacks.c
1837       * src/callbacks.h
1838       * src/ggvwindow.h
1839       * src/gtkgs.c
1840       * src/main.c
1841       * src/prefs.c
1842       * src/prefs.h:
1843         - Added zoom magnification to the list of persistent parameters.
1844         - Synchronized correctly all parameters between the document
1845          and the user interface (zoom, override media, default media,
1846          etc).
1847       
1848       
18492000-08-15  Daniel M German  <dmgerman@acm.org>
1850
1851        * src/gtkgs.c:
1852        * src/callbacks.c: Added the ability to set up the orientation
1853        _before_ the document is loaded, and to set up the orientation
1854        on a window basis, instead of globally. Both zoom and orientation
1855        require  options in the preferences dialog window.
1856       
1857        * src/callbacks.c
1858        * src/main.c
1859        * src/ggvwindow.h:
1860          Added support for individual window zooming in the menu. I also
1861          synchronized the zoom button actions with the currently selected
1862          value in the zoom radio buttons in the main menu.
1863
18642000-08-13  Daniel M German  <dmgerman@acm.org>
1865
1866        * src/gtkgs.c: added bounding box options for media type
1867       
1868        * src/prefs.c
1869        * src/main.c
1870        * src/callbacks.c: Added the ability to set watchfile and
1871        antialiasing on a document level (previously it was a global
1872        setting).
1873
18742000-08-10  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
1875
1876        * src/bonobo-application-ps.c: call bonobo_object_unref() instead
1877        of bonobo_object_destroy(). also fixed the factory code and some
1878        unref()ing issues.
1879        * src/gtkgs.[ch]: renamed gtkgs_defaults_struct to GtkGSDefaults
1880        for consistency and made it private to gtkgs.c.
1881        * some renaming and code reformating was done for consistency.
1882        * configure.in: fixed the bonobo check, as we need to link with both
1883        libbonobox and libbonobo.
1884
18852000-08-08  Daniel M German  <dmgerman@acm.org>
1886
1887        * src/prefs.c
1888        * src/main.c
1889        * src/gtkgs.c
1890        * src/gtkgs.h
1891        * src/prefs.h
1892        * src/bonobo-application-ps.c
1893        * src/callbacks.c
1894          - Revamped the way the defaults for the gtkgs widget are
1895        stored. Instead of global variables I created a structure
1896        gtkgs_defaults and a bunch of functions to set and read its
1897        values. This will be more maintable and modular.
1898          - I removed the old variables gs_antialiasing,
1899           gs_default_page_media. etc, ... and replace them with calls to
1900           their corresponding functions.
1901          - Fixed bug in which landscape documents were not recognized as
1902          such when opened. I also changed the default of Landscape (as
1903          270 degrees instead of 90) so landscape documents are shown
1904          properly)
1905          - Currently working on the automatic discovery of paper type,
1906          orientation and the ability to set defaults on a per window basis.
1907        * src/main.c the default message in the status bar shows more info
1908        about the current document, including magnification,
1909        filename, and type of PostScript document.
1910
19112000-08-07  Daniel M German  <dmgerman@acm.org>
1912
1913        * TODO: Updated it. It still needs work.
1914
19152000-08-06  Daniel M German  <dmgerman@acm.org>
1916
1917        * help/Makefile.am (SUBDIRS): there was a japanese translation
1918        entry but no subdirectory for its translation. Maybe somebody
1919        forgot to upload it? I removed it.
1920
19212000-07-16  Karl Eichwalder  <ke@suse.de>
1922
1923        * help/C/ggv.sgml: "page" vs. "pane".
1924
1925        * help/de/topic.dat: New file.
1926        * help/de/ggv.sgml: Start translation.
1927
1928        * help/C/ggv.sgml: Normalize the word "PostScript".
1929
19302000-06-22  JP Rosevear  <jpr@arcavia.com>
1931
1932        * src/bonobo-application-ps.c (view_next_page_cb): Constify param
1933        (view_prev_page_cb): ditto
1934        (view_recenter_page_cb): ditto
1935        (load_ps_from_stream): No return type any more (void).
1936
1937        * configure.in: Improve bonobo/oaf check
1938
19392000-06-21  Daniel M German  <dmgerman@acm.org>
1940
1941        * src/Makefile.am (COMPONENT_LDADD): fixed a minor error in order
1942        to compile without bonobo support.
1943
19442000-06-02  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
1945
1946        * application-ps.oafinfo: added the OAF info file that I forgot
1947        during last commit.
1948
19492000-05-28  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
1950
1951        * configure.in, Makefile.am, src/Makefile.am: added optional
1952        use of OAF for the bonobo component. thank god we're past GNORBA.
1953        * src/bonobo-application-ps.c (init_server_factory,
1954        init_embeddable_application_ps_factory): added OAF support.
1955        * application-ps.oafinfo: relevant OAF information for our
1956        bonobo component.
1957        * src/main.c (recent_add): yes, Postscript is application/postscript
1958        and not text/plain.
1959        * acconfig.h: add USING_OAF.
1960
19612000-05-27 Pauli Virtanen <pauli.virtanen@saunalahti.fi>
1962
1963        * ggv.desktop: added finnish
1964
19652000-05-15  Kjartan Maraas  <kmaraas@gnu.org>
1966
1967        * TRANSLATABLE_FILES: Added list of files containing
1968        translatable strings / text.
1969       
19702000-05-14  Andreas Hyden  <a.hyden@cyberpoint.se>
1971
1972        * ggv.desktop: Added Swedish translation.
1973
19742000-05-11  Daniel M German  <dmgerman@acm.org>
1975
1976        * ggv.desktop (Comment): Changed
1977
1978        to:Gnome Ghostscript frontend
1979        Comment=A Ghostscript frontend to visualize PostScript files.   
1980        (submitted by Karl Eichwalder <ke@gnu.franken.de>)
1981       
1982       
1983        * Added the option to save the current geometry. Its only current
1984        defect is that it saves the geometry of the last window open
1985        (remember, we can open more than one window at a time).
1986
1987       
1988
19892000-05-10  Karl Eichwalder  <ke@suse.de>
1990
1991        * src/main.c (create_menus): Add missing shortcut.
1992
19932000-05-10  Karl Eichwalder  <ke@suse.de>
1994
1995        * ggv.desktop: Improve de.
1996
19972000-05-10  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
1998
1999        * configure.in: bumped version to 0.95 and released a new tarball.
2000        * pixmaps/foot*.xpm: moved back to src as these are actually
2001        source files and libtool doesn't like sources in another subdir.
2002        * pixmaps/Makefile.am: removed feet from SOURCES ;)
2003        * src/Makefile.am: added foot*.xpm to GTK_GS_SOURCES.
2004
20052000-04-18  Pablo Saratxaga <pablo@mandrakesoft.com>
2006
2007        * configure.in (ALL_LINGUAS): added Catalan
2008
20092000-04-13  Fatih Demir <kabalak@gmx.net>
2010
2011        * ggv.desktop : Added [tr] ..
2012
20132000-04-11  Pablo Saratxaga <pablo@mandrakesoft.com>
2014
2015        * configure.in (ALL_LINGUAS): added Lithuanian and Ukrainian
2016
20172000-04-10  Dima Sivachenko  <dima@Chg.RU>
2018
2019        * Update Russian translation.
2020
20212000-04-03  Karl EICHWALDER  <ke@suse.de>
2022
2023        * ggv.desktop: New entries for "de".
2024
20252000-04-01  Jason Leach  <leach@wam.umd.edu>
2026
2027        * main.c (recent_update): more optimization/cleaning, lets not
2028        do g_list_length where we can just use an integer counter
2029        (recent_add): a postscript isn't mime-type "text/plain" is it?
2030        shouldn't it be "application/postscript"?
2031
20322000-03-30  Jason Leach  <leach@wam.umd.edu>
2033
2034        * main.c (parse_an_arg): fix indentation to 8-space;
2035        (free_wwd): removed a duplicated if()
2036        (recent_update_menus): here too.
2037
2038        * prefs.c (load_prefs): you don't need to do an if() check before
2039        a g_free(), the if() check is actually already done at the top of
2040        g_free()
2041
20422000-03-30  Christopher R. Gabriel  <cgabriel@firenze.linux.it>
2043
2044        * configure.in: added help/it/Makefile for italian user documentation
2045
20462000-03-29  Jason Leach  <leach@wam.umd.edu>
2047
2048        * main.c (open_prefs_dialog): set the title of the Preferences
2049        window to "GGV Preferences" rather than have it inherit "ggv" from
2050        the parent
2051
20522000-03-27  Christopher R. Gabriel  <cgabriel@firenze.linux.it>
2053
2054        * configure.in (ALL_LINGUAS): added italian (it) translation.
2055
20562000-03-24  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2057
2058        * configure.in (ALL_LINGUAS): Added Slovene (sl) translation.
2059        * callbacks.c (about_callback): made the authors list shorter.
2060        as I've left no one out I hope no one gets mad ;) and prevented
2061        the about box from being shown multiple times.
2062
20632000-03-10  Alastair McKinstry <mckinstry@computer.org>
2064       
2065        * configure.in (ALL_LINGUAS): Added Irish (ga) translation.
2066
20672000-03-04   bertrand <bertrand@helixcode.com>
2068
2069        * application-ps.gnorba: take into account the
2070        latest Bonobo name changes.
2071
2072        * bonobo-application-ps.c (view_factory):
2073        no need to create the ui handler for the view,
2074        it's been already done when the view is
2075        constructed.
2076
20772000-02-08  Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
2078
2079        * gtkgs.h: Added macros to access components of structure GtkGS:
2080        the filename  of the uncompressed file and flags that show if the
2081        file is compressed or  a pdf file.
2082        * callbacks.c (print_callback), gtkgs.c (start_interpreter),
2083        main.c (save_marked_pages): use this macros.
2084        * Makefile.am: new files ggvutils.[ch]
2085        * ps.c (psscan), gtkgs.c (gtk_gs_load):
2086        Moved uncompress functionality from ps.c (psscan) to gtkgs.c
2087        (gtk_gs_load new function check_filecompressed).
2088        Possible error messages from the uncompress command are displayed
2089        in the same way as ghostscript warnings (normally in the message
2090        window).
2091        Added support for bzip2-compressed files.
2092        Moved pdf-scan functionality from ps.c (psscan) to gtkgs.c
2093        (gtk_gs_load, new function check_pdf).
2094        Both functions quote the filenames for the system() calls to allow
2095        filenames containing special characters.
2096        BUG: The list of recent files don't show filenames containing spaces
2097        (and possibly other 'special' characters).
2098        * main.c (load_gs): Don't show error dialog if gtk_gs_load fails
2099        because an error message is already shown in the message window.
2100        * main.c (open_window): Don't delete ggv window if loading of a
2101        file given in the command line fails because the user should have
2102        a chance to read the error messages.
2103        * gtkgs.h (GtkGS), gtkgs.c (gtk_gs_init, start_interpreter),
2104        bonobo-application-ps.c (view-factory): Removed local copies of the
2105        commandlines for gzip and gs; use global variables instead.
2106        * callbacks.c (prefs_apply_callback), ggv_window.h (ggv_prefs),
2107        main.c (open_prefs_dialog), prefs.c, prefs.h:
2108        Support for bzip2-compressed files.
2109        * callbacks.c (print_callback): quote filename for
2110        gnome_execute_shell so that printing of files containing spaces
2111        works.
2112        * ps.c: The error checking of malloced memory is useless as
2113        g_malloc, g_new etc abort the application if out of memory;
2114        removed.
2115        * prefs.c (load_prefs, save_prefs, set_prefs), prefs.h:
2116        New option gs_watch_doc.
2117        * main.c (open_prefs_dialog), callbacks.c (prefs_apply_callback):
2118        New option "watch file" in configuration dialog.
2119        * main.c (load_gs): Start gtk_timeout function to check for changes
2120        of the loaded file.
2121        * gtkgs.c (gtk_gs_cleanup): stop timeout function.
2122        * callbacks.[ch] (timer_callback): new function; reload file if
2123        changed.
2124        * gtkgs.h: #defines for the timing behaviour: The check for file
2125        changes is performed every second, a reload is started 2 seconds
2126        after the file was changed.
2127        * main.c (open_prefs_dialog): Connect "help" callback.
2128        * callbacks.c: New function prefs_help_callback.
2129        * gtkgs.c (gtk_gs_cleanup): Close gs_psfile and set to NULL.
2130        (gtk_gs_load, gtk_gs_goto_page): Dont change gs_psfile here.
2131        (gtk_gs_set_pagemedia): set gs->changed when pagemedia was changed.
2132        * main.c (close_window): Delete status window before deleting main window.
2133        (set_gs_prefs): Reload file if page medium is changed.
2134        (load_gs):  Disable menu item "save marked pages" if a pdf file is
2135        loaded. Some additional cosmetic changes...
2136        (save_marked_pages): If a pdf file is loaded, use the name of the
2137        dsc file as input to pscopydoc. The resulting ps file can be used
2138        to print the marked pages.
2139        * ps.c (pscopydoc): Removed status messages to stdout.
2140        * help/C/ggv.sgml: Added short description of the new option
2141        "watch file" and the changed/added command lines for gzip and
2142        bzip2 in options/ghostscript.
2143        * po/POTFILES.in: Added all source files which contain strings that
2144        should be translated.
2145        * configure.in: bumped the version to 0.90.
2146        * bonobo-applicaton-ps.c (set_page_item_sensitivity): new function
2147        that sets sensitivity of Next/Previous Page menu items when the
2148        menus are merged.
2149        (view_[prev|next]_page_cb, view_merge_menus): use the above.
2150        * most of the above work is by Werner Koerner
2151        <wernerk.koerner@zae.uni-wuerzburg.de>
2152
21532000-02-06  Daniel German  <dmg@csg.uwaterloo.ca>
2154
2155        * ps.c (gettextline): gettextline was returning the EOL at the end
2156        of the string. This resulted in a window title bar with an EOL at
2157        the end. the panel was showing it.
2158
21592000-02-02  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2160
2161        * bonobo-application-ps.c: comply to changes in Bonobo API
2162        namespace.
2163        * configure.in: require bonobo >= 0.6.
2164
21652000-01-28  Daniel German  <dmg@csg.uwaterloo.ca>
2166
2167        * Added Greek (el.po) to ALL_LINGUAS (Submitted by
2168       Spyridon Papadimitriou <Spyridon_Papadimitriou@gs91.sp.cs.cmu.edu>
2169
21701999-12-21  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2171
2172       * gtk_gs.c (input): removed call to gtk_main_iteration in the
2173       callback function input - this sometimes caused a endless
2174       recursion.
2175       * gtkgs.c (start_interpreter):
2176       The pipe to ghostscript was not set to non-blocking IO (the code
2177       was there, but not used).
2178       Some cleanup and small changes to enable reading from stdin.
2179       * main.c (main):
2180       Reading files from comandline: try adding '.pdf.gz' to filename,
2181       allow "-" as filename, if no filename is given and input is no tty
2182       then use stdin as input.
2183       * ps.c (psscan): Added code to scan ps files with a pjl header
2184       (many printer  drivers for laser printers send a pjl command to
2185       switch the printer to postscript mode).
2186       psscan now ignores a leading ^D in the postscript-file.
2187       cleaned up uncompress and pdf-scan code (no recursion or goto's)
2188       replaced some more malloc, realloc, etc calls by their glib
2189       counterparts.
2190       * commented out some messages printed to stdout.
2191       Some of these messages were printed while ggv has both mouse
2192       and keyboard focus. When these call blocks (e.g. when ggv was
2193       started in a xterm in the background) the whole X server was 
2194       blocked.
2195       * patches by Werner Koerner <Werner.Koerner@zae.uni-wuerzburg.de>.
2196       
21971999-12-16  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2198
2199        * bonobo-application-ps.c (embeddable_factory): don't pass goad id
2200        as a parameter to gnome_persist_stream_new().
2201        (#define GGV_GOAD_ID): removed as it was not referenced anymore.
2202
22031999-12-14  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2204
2205        * callbacks.c (open-callback, save_callback): g_free() dirname.
2206        * gsmessage.[ch]: new files, implement a dialog for showing
2207        GS error messages in a single dialog instead of a bunch of
2208        error dialogs. this was sorely needed: thanks, Werner.
2209        * main.c (load_gs): create/clear the message dialog.
2210        if no document is available, show filename as title of the main
2211        window.
2212        * callbacks.c (interpreter_message_callback): add text to message
2213        dialog and show it.
2214        * gtkgs.[ch] (struct _GtkGS): removed filename_raw member.
2215        removed all references to the above member.
2216        * file.[ch]: removed.
2217        * callbacks.c (about_callback): added Werner to the about dialog.
2218        it's the least I can do to show my appreciation of his patches ;)
2219        * configure.in: increased version once again. we're at 0.83 now.
2220       
22211999-12-11  Daniel M German  <dmg@csg.uwaterloo.ca>
2222
2223        * Updated help/C/Makefile.am to make sure that help html files are
2224        included in the distribution file.
2225        * Released version 0.82
2226
22271999-12-11  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2228
2229        * gtkgs.c (input): replace call to g_main_iteration() with
2230        gtk_main_iteration().
2231        (set_up_page): clear newly allocated pixmap before it is used.
2232        (float compute_xdpi, float compute_ydpi): changed prototypes.
2233        * gtkgs.c, main.c: add checks when using document structure
2234        information (gs->doc, gs->doc->media, gs->doc->pages,
2235        gs->pages_marked).
2236        * callbacks.c (select_page_button_press_callback): fixed typo.
2237        * ps.c (psscan): ambiguous if-else constuction; added braces.
2238        add prototypes for static functions.
2239        * callbacks.h (zoom_to, recent_update): add prototypes
2240        * main.c (get_number, ggv_parse_geometry, escape_underlines,
2241        create_pixmap, parse_an_arg, ggv_file_readable): made static
2242        * gtkscrollpane.c, main.c, prefs.c: fix compiler warnings
2243        * main.c (recent_update): when duplicate filenames occur then
2244        free memory of one of them.
2245        (load_gs): gtk_clist_append makes its own copies of the used strings,
2246        so an additional strdup is not necessary.
2247        (create_ggv_window): removed widget vbox which was created, but never
2248        used or freed.
2249        * all of the above is courtesy of bug-spotting and coding skills of
2250        Werner Koerner <Werner.Koerner@zae.uni-wuerzburg.de>.
2251        * main.c (recent_update_menus): only allocate menu once, as only one
2252        instance is required. free it upon completing menu updating. free the
2253        label.
2254        * configure.in: bumped version to 0.82.
2255
22561999-12-07  Daniel M German  <dmg@csg.uwaterloo.ca>
2257
2258        * TODO: Added request to use gdk_pixbuf (might improve performance
2259        in slow machines).
2260
22611999-12-05    <dmg@csg.uwaterloo.ca>
2262
2263        * configure.in: bumped version to 0.81.
2264       
2265        * Added command line options to the help file. Make sure the help
2266        files are part of the distribution.
2267
2268        * main.c: commented code for save_as option. If somebody really
2269        wants to save "as" then she can mark all the pages and then save
2270        marked pages. Otherwise, it is just needed to implement a "copy"
2271        from the source file to the destination file.
2272
2273        * ps.c (pscopyuntil): make sure we don't read beyond the end of
2274        file.
2275
2276        * main.c (open_prefs_dialog): make sure the source file is the
2277        uncompressed one (if the source file is compressed). Fixes bug in
2278        which a "save pages" from a compressed file did not workx
2279
22801999-12-03  Nat Friedman  <nat@helixcode.com>
2281
2282        * bonobo-application-ps.c (view_size_query_cb): Removed.
2283        (view_realize_cb): Removed call to deleted function
2284        gnome_view_size_request.
2285        (reload_all_views): Likewise.
2286        (view_factory): Removed signal connect to "size_query" on the
2287        View.
2288
22891999-12-02  Daniel M German  <dmg@csg.uwaterloo.ca>
2290
2291        * configure.in: created version 0.80
2292
2293        * prefs.c (load_prefs): ggv uses the shell to execute two
2294        commands: one to convert from pdf to ps and another to
2295        decompress. I protected the file names with " " so the file name
2296        does not get interpreted by the shell. This has a disadvantage: if
2297        the file name contains " then this will not work. Thanks to
2298        Christian Hammers <ch@lathspell.westend.com> for the bug report.
2299
23001999-11-30  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2301
2302        * ggvwindow.h (struct _ggv_window): added GtkWidget * members for
2303        menu and popupmenu items for clearing and toggling pages.
2304        * main.c: included <ctype.h> in order to get prototype for isdigit().
2305        (load_gs, create_popup_menu, create_menus): set sensitivities for the
2306        page marking items.
2307        * ps.c: removed file_getTmpFileName() and replaced it with use of
2308        tempnam() and g_get_tmp_dir().
2309        * gtkgs.c (gtk_gs_cleanup): free all filenames and set them to NULL.
2310        once again, thanx for discovering these bug and providing the fixes go
2311        to Werner Koerner <werner.koerner@zae.uni-wuerzburg.de>.
2312       
23131999-11-28  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2314
2315        * gtkgs.c (start_intrepreter): pass filename of the uncompressed
2316        file to gs if the original file was compressed.
2317        (gtk_gs_load): return FALSE if the document could not be loaded -
2318        this prevents segfaults when an empty document is loaded.
2319        (set_up_page): set LC_NUMERIC locale to C before printing floats for
2320        ghostscript and reset it back afterwards as ghostscript expects a
2321        '.' decimal point while some european locales use ','.
2322        * main.c (recent_update_menus): fixed occasional segfaults when
2323        updating menus. also fixed a memory leak by freeing window_with_data
2324        structures associated with menu items. don't translate the menu paths
2325        as libgnomeui does that on the fly.
2326        (recent_update): store files in a global list.
2327        (recent_update_menus): don't free the list passed in as the parameter.
2328        * ggvwindow.h (struct _ggv_window): changed recent_instantiated to
2329        num_recent (if >0 then recent file menus have been instantiated).
2330        * prefs.[ch]: removed gs_num_recent.
2331        * thanx for reporting recent files list, compressed files and locale
2332        problems and even sending patches for them go to Werner Koerner
2333        <werner.koerner@zae.uni-wuerzburg.de>
2334
23351999-11-21  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2336
2337        * main.c (load_gs): call recent_add().
2338        (open_window): call recent_update() after successfully loading a
2339        document.
2340        * callbacks.c (file_open_ok_callback): remove call to recent_add(), as
2341        we now call it from load_gs().
2342
23431999-11-20  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2344
2345        * gtkgs.c (gtk_gs_load): call gtk_gs_clean() even if the
2346        fname is NULL.
2347        * callbacks.c (print_callback): if the loaded document was compressed
2348        use the uncompressed temp file as the argument for the print command.
2349        * main.c: fix setting the sensitivity of 'File' menu items.
2350        (open_prefs_dialog): handle "changed" signal of all GtkEntries with
2351        prefs_changed_callback(). this fixes a bug that caused new values to
2352        be applied only if the user "activated" the entry by pressing Enter.
2353        * ggvwindow.h: add printmarked member to struct _ggvwindow.
2354
23551999-11-15  Yuri Syrota  <rasta@renome.rovno.ua>
2356
2357        * configure.in (ALL_LINGUAS): Added Ukrainian (uk).
2358
23591999-11-02  Daniel M German  <dmg@csg.uwaterloo.ca>
2360
2361        * main.c, callbacks.c: Moved error message "not marked pages" in
2362          saved_as before the file dialog
2363        * ps.c: Added code to fix a "feature" of NT in which
2364          code is added after the %%EndSetup and before
2365          the first %%Page: x y. This code belongs to
2366          the Setup.
2367
23681999-10-26  Daniel M German  <dmg@csg.uwaterloo.ca>
2369
2370        * Released version 0.70
2371
23721999-10-26  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2373
2374        * main.c (create_popup_menus): add all the "Toggle *" items to the
2375        popup menu.
2376        (toggle_pages): return immediately if no document is loaded.
2377        * foot.xpm, foot_white.xpm: change background to None.
2378
23791999-10-24  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2380
2381        * bonobo-application-ps.c (verb_*_page): check if a document
2382        is loaded before turning the page.
2383        * foot.xpm, foot_white.xpm: make the background transparent
2384        instead of white.
2385        * main.c, callbacks.c: removed some redundant marking code and
2386        unneeded printouts.
2387
23881999-10-24  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2389
2390        * main.c (set_page_sensitivities): enable the next button when
2391        a non-structured document is loaded.
2392        (load_gs): clear page list if a non-structured doc is loaded.
2393       
23941999-10-23  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2395
2396        * gtkgs.c (gtk_gs_load): set send_filename_to_gs to FALSE in case
2397        of a structured doc. this fixes a nasty bug that caused ggv to
2398        hang if a structured doc was loaded after a non-structured one.
2399
24001999-10-21  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2401
2402        * main.c (create_menus): add a 'Print marked pages' item.
2403        (save_marked_pages): a utility function that saves marked pages to
2404        a file. copied code from file_save_ok_callback().
2405        * callbacks.[ch] (file_save_ok_callback): call save_marked_pages().
2406        (print_marked_pages_callback): save marked pages to a tmp file and
2407        print them. does not unlink the tmp file.
2408        * ggvwindow.h: renamed bRecentHasBeenInstantiated to
2409        recent_instantiated.
2410        * gtkgs.c (gtk_gs_marshall_signal_0): removed.
2411        some formatting and var naming changes to make the code look nicer.
2412
24131999-10-20  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2414
2415        * bonobo-application-ps.c (view_factory): set a UIHandler to our
2416        view.
2417        (view_activate_cb): merge/remove view menus on (de)activation.
2418        (view_next_page_cb, view_prev_page_cb, view_recenter_page_cb):
2419        callbacks for view menus.
2420
24211999-10-05  Jesus Bravo Alvarez  <jba@pobox.com>
2422
2423        * configure.in (ALL_LINGUAS): Added Galician (gl).
2424
24251999-09-20  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2426
2427        * gtkgs.[ch]: removed all traces of non-existant foo() signal ;).
2428        add an "interpreter_message" signal that gets called with lines of
2429        interpreter output as a parameter. the default handler simply frees
2430        the space allocated for message. seems like a nice way to pass
2431        interpreter errors to the widget user.
2432        * callbacks.[ch]: new files. moved all callbacks here from main.c
2433        since it was growing too large.
2434        (interpreter_message_callback): popup an error message with
2435        interpreter output. line by line unfortunately :(
2436        changed all instances of _cb to _callback - for consistency ;)
2437        * main.c: make some variables non-static in order to be accessed
2438        from callbacks.c. make all functions non-static.
2439        * ggvwindow.h: add enums and declarations of variables and functions
2440        shared by main.c and callbacks.c.
2441        * Makefile.am: add callbacks.c to build process.
2442
24431999-09-19  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2444
2445        * gtkgs.c: added some checks if the widget is realized before calling
2446        set_up_page(). removed some commented-out messages and improved the
2447        looks of some parts of the code.
2448        (gtk_gs_goto_page): pass a duplicated gs_filename gtk_gs_load() as
2449        gs_filename is freed in gtk_gs_load() before parameter is used.
2450        * bonobo-application-ps.c (verb_next_page, verb_prev_page): make them
2451        proper GnomeViewVerbFuncs.
2452        (view_factory): register verbs. connect realize signal handler to
2453        GtkGS in order to load and display document at realization time if it
2454        has been loaded before the view was created. connect size_query signal
2455        handler to the view.
2456        (view_realize_cb): render & display the document.
2457        (view_button_press_cb): popup verbs on button 3 click.
2458        (view_size_query_cb): ask for as much space as GtkGS needs...
2459        (stream_read): removed old code as I've implemented _Stream_copy_to()
2460        ages ago.
2461        (load_ps_from_stream): move view updating here from stream_read().
2462        (update_all_views): renamed to reload_all_views(), as this is really
2463        what it does.
2464
24651999-09-13  Karl Eichwalder  <ke@suse.de>
2466
2467        * main.c (create_menus): Add accel key for "Save As..."
2468        (cf. gnumeric).
2469
2470        * main.c (about_callback): Fix typo.
2471        * main.c (about_callback): Fix another one: It's PostScript, but
2472        Ghostscript (note the case of "...script") ;)
2473        * main.c (open_prefs_dialog): Ditto.
2474
24751999-09-08  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2476
2477        * ggvwindow.h: it is plain ugly to define and not only declare a
2478        GdkCursor in a header file, so I removed the definition.
2479        * main.c (pan_cursor): define static GdkCursor *pan_cursor;
2480        (create_popup_menus): make #defines for indexes of relevant items
2481        in the popupMenu[] array in order to avoid sensitivity setting
2482        mayhem that followed when someone inserted new items in the menu.
2483        * bonobo-application-ps.c (pan_cursor): same as above.
2484        (verbs, embeddable_factory): sync with bonobo verb changes.
2485        (view_factory): remove call to set_prefs() and instead duplicate
2486        most of its code, as it was changed to take ggvwindow* as parameter
2487        instead of GtkGS*. next time I'd appreciate if people checked how
2488        bonobo parts compiled before comitting their changes.
2489        * application-ps.gnorba: brought up-to-date.
2490
24911999-09-07    <dmg@csg.uwaterloo.ca>
2492
2493        * main.c: updated authors
2494
24951999-09-07  Tomas Ogren  <stric@ing.umu.se>
2496
2497        * main.c: Fixed a typo
2498
24991999-09-06   Daniel M. German <dmg@csg.uwaterloo.ca>
2500       
2501        * main.c, added ggvwindow.h, prefs.h, prefs.c
2502        Modified prefs so they apply to the ggv_window
2503        instead of gs, since some options apply to the former.
2504       
25051999-09-06    Andreas Persenius <andreas@alfaskop.net>
2506
2507        * main.c, prefs.h, prefs.c:
2508        Added the option to jump at the beginning of a page when
2509        scrolling with pageup, page down.
2510       
2511
25121999-09-03  Miguel de Icaza  <miguel@nuclecu.unam.mx>
2513
2514        * main.c (about_callback): Use the imlib visual for displaying the
2515        image loaded with imlib.  Fixes crashes on multi-depth visuals.
2516
25171999-09-03   Daniel M. German <dmg@csg.uwaterloo.ca>
2518       
2519        * prepared  version 0.61
2520        * main.c, gtkgs.c, ps.c
2521         Finished support to save marked pages.
2522
25231999-09-03  Andreas Persenius <andreas@alfaskop.net>
2524
2525        * main.c:
2526         Adds ... to File/Open
2527         Removes ... from File/Print... since no dialog comes up.
2528         Sets the cursor position to 0 in the text entrys in the preferences
2529         dialog.
2530
25311999-09-02  Matthias Warkus  <mawa@iname.com>
2532
2533        * ggv-splash.png: Added beautiful image for about widget.
2534
25351999-08-29  Miguel de Icaza  <miguel@gnu.org>
2536
2537        * main.c (escape_underlines): Include escape_underlines (copies
2538        from mc/gnome/gpopup2.c).
2539        (recent_update_menus): Escape file names from underlines.
2540
25411999-08-27  Karl Eichwalder  <ke@suse.de>
2542
2543        * ggv.spec.in: Minor fixes.
2544
25451999-08-27  Karl Eichwalder  <ke@suse.de>
2546
2547        * ggv.desktop (Comment): PostScript vs. Ghostscript.  Typo.
2548
25491999-08-27    <dmg@csg.uwaterloo.ca>
2550
2551        * gtkgs.c,main.c: Finished support for selecting pages
2552        * ps.c: Started implementation of saving selected pages
2553        * foot.xpm, foot_white.xpm: Added the pixmaps for the marks
2554       
25551999-08-25    <dmg@csg.uwaterloo.ca>
2556
2557        * main.c: Starting adding support to select individual pages
2558        * main.c: Added fullscreen command line option
2559
25601999-08-24    <dmg@csg.uwaterloo.ca>
2561
2562        * prepared version 0.51
2563        * Added MAINTAINERS file
2564        * gtkgs.c: Now it _deletes_ temporal files :)
2565        * main.c: Added geometry, spartan and nomenubar command line options
2566          and support for them
2567        * main.c: Add .ps or .pdf extension if not specified in the command line
2568        * ps.c: changed all free and mallocs to their gnome counterparts
2569
25701999-08-23    <dmg@csg.uwaterloo.ca>
2571       
2572        * Started support for command line options
2573        * Close window is now active
2574
25751999-08-23  Miguel de Icaza  <miguel@gnu.org>
2576
2577        * bonobo-application-ps.c (embeddable_factory): Adapt to current Bonobo.
2578
25791999-08-22  Nat Friedman  <nat@gnome-support.com>
2580
2581        * bonobo-application-ps.c (main): Use bonobo_main.
2582
25831999-08-22  Herbert Valerio Riedel  <hvr@hvrlab.dhs.org>
2584
2585        * main.c: changed type of data in struct _window_with_data to
2586        pointer (caused problems when sizeof(gpointer) > sizeof(gint) -
2587        eg. on alphas...)
2588
25891999-08-21  Herbert Valerio Riedel  <hvr@hvrlab.dhs.org>
2590
2591        * Makefile.am: integrated spec file
2592        * ggv.spec.in: reworked spec file, based on old ggv.spec
2593        * configure.in: added ggv.spec.in to AC_OUTPUT
2594        * ggv.spec: removed, as it is autogenerated now
2595
25961999-08-20  Daniel M. German  <dmg@csg.uwaterloo.ca>
2597
2598        * prepared version 0.50
2599        * removed debug messages
2600        * added support for most recently used documents
2601        * it deletes temporal files now
2602
26031999-07-13  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2604
2605        * application-ps.gnorba: use GNOME/Embeddable*.
2606        * main.c (load_gs): if the loaded document is the same as the one
2607        viewed, don't reset the page to 0.
2608        (set_gs_prefs): really reload the document.
2609        (print_callback): use gnome_execute_shell()
2610        * prefs.c (load_prefs): add %s to the default printing command.
2611
26121999-07-11  Tomas Ogren  <stric@ing.umu.se>
2613
2614        * gtkgs.c: Process events to keep the UI somewhat alive..
2615
26161999-07-09  Tuomas J. Lukka  <lukka@iki.fi>
2617
2618        * Fix some cvsignores
2619
26201999-07-08  Tuomas J. Lukka  <lukka@iki.fi>
2621
2622        * From: Alexander Savelyev <fano@alfacom.net>
2623        patch to fix small buglet
2624
2625
26261999-07-08  Tuomas J. Lukka  <lukka@iki.fi>
2627
2628        * Add keystrokes to menu entries.
2629
26301999-07-08  Tuomas J. Lukka  <lukka@iki.fi>
2631
2632        * Fixed my own caused bug - accelerators should
2633          work again.
2634
26351999-07-08 Daniel M. German <dmg@csg.uwaterloo.ca>
2636       
2637        * ps.c, gtkgs.c There seem to exist some PostScript documents that
2638        do not have !PS at the beginning. Heck, they have nothing. For example,
2639        I was trying to read a file that started with:
2640       
2641        %! coverpage
2642
2643        /beginword              % Usage: str x y beginword
2644        {
2645        ...
2646
2647        Even if a remove the line with %! it is still a valid PostScript
2648        file.
2649               
2650        Sooo, I decided (temporarily at least) to do what gv does: pass
2651        the file to GhostScript in the hope that it will be able to deal
2652        with it. The current error messages are sent to stderr. We should
2653        handle them in a nicer way.
2654
2655       
26561999-07-03 Daniel M. German <dmg@csg.uwaterloo.ca>
2657        * gtkgs.c fixed a bug that froze the
2658          interface whenever a encapsulated postscript
2659          file was displayed.
2660        * main.c added functionality to the file_open_window
2661          it now uses the directory where the current
2662          document is as the default directory.
2663               
26641999-07-02  Tuomas J. Lukka  <lukka@iki.fi>
2665
2666        * Add '+' and '-' keys for zoom in & out
2667        * clean up key_pressed_event_callback by moving out the
2668          stop_emit
2669
26701999-07-02  Tuomas J. Lukka  <lukka@iki.fi>
2671
2672        * Allow the prefix to be just %!PS, not just %!PS-Adobe.
2673         Many files have just that.
2674
26751999-06-25  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2676
2677        * test-container.c: removed. it was just another nuisance
2678        that had to be updated all the time. test-container-autoload
2679        from bonobo package will do for testing the component.
2680        * Makefile.am: updated to reflect the above.
2681
26821999-06-22  Nat Friedman  <nat@gnome-support.com>
2683
2684        * test-container.c: Use gnome_bonobo_object_client_free_verbs
2685        instead of gnome_bonobo_object_free_verbs.  Ditto with
2686        gnome_bonobo_object_client_get_verbs and
2687        gnome_bonobo_object_client_do_verb.
2688
2689        * bonobo-application-ps.c (view_factory): Accept the ViewFrame as
2690        a parameter.
2691
26921999-06-22  Matt Loper  <matt@gnome-support.com>
2693
2694        * bonobo-application-ps.c (bonobo_object_factory): Changed to
2695        eliminate need for path, and to reflect GnomeBonoboObjectFactory
2696        -> GnomeComponentFactory change. Return GnomeObject instead of
2697        GnomeBonoboObject.
2698
26991999-06-22 Daniel M. German <dmg@csg.uwaterloo.ca>
2700        * main.c Improved the file open window. It does not close
2701        if the selected file is a directory or if the
2702        file does not exist. It now handles wildcards in the
2703        file name.
2704
27051999-06-21    <dmg@csg.uwaterloo.ca>
2706        * Contributed to the help
2707       
27081999-06-20    <dmg@csg.uwaterloo.ca>
2709
2710        * Released version 0.40
2711        * Fixed pt_BR.po
2712
27131999-06-18  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2714
2715        * main.c (create_ggv_window): fix toplevel sizing.
2716       
27171999-06-16  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2718
2719        * main.c (hide_menubar_callback): becomes show_menubar_callback.
2720        (hide_toolbar_callback): becomes show_panel_callback.
2721        (show_menubar_callback): small fix to properly enable the togglebuttons
2722        when the menus are not created upon startup.
2723        * main.c, prefs.[ch]: changed gs_toolbar to gs_panel.
2724
27251999-06-15  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2726
2727        * main.c: take care of the reload item sensitivity. turn hide/show items
2728        into toggleitems. some general work on code aesthethics.
2729
27301999-06-14  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2731
2732        * test-container.c: use new convenience functions for handling
2733        the verbs instead of using CORBA functions.
2734        * bonobo-application-ps.c: use the GNOME_Stream_copy_to() function,
2735        as I've just implemented it for GnomeStreamFS in bonobo.
2736       
27371999-06-12  Daniel M. German  <dmg@csg.uwaterloo.ca>
2738
2739        * Added pt_BR.po, contributed by Lalo Martins <lalo@webcom.com>
2740
27411999-06-09  Tuomas J. Lukka <lukka@iki.fi>
2742
2743        * Help file small edit
2744
27451999-06-06  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2746
2747        * gtkgs.c (gtk_gs_load): set document size parameters to 0.
2748        * main.c (create_menus): added tooltip strings to UI items. install
2749        menu hints.
2750        (load_gs): report some status via appbar flashes.
2751        (create_ggv_window): add a statusbar.
2752
27531999-06-05  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2754
2755        * gtkgs.c (gtk_gs_load): don't try to print out page order
2756        unless we've successfully loaded the document.
2757
27581999-06-05  Tomas Ogren  <stric@ing.umu.se>
2759
2760        * configure.in: Add sv to ALL_LINGUAS
2761
27621999-06-04  Sergey Panov <sipan@mit.edu>
2763
2764        * configure.in:  Add ru to ALL_LINGUAS
2765
27661999-06-02  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2767
2768        * main.c (create_menus): moved show/hide menubar/side panel to
2769        settings menu. disable the menu items that do nothing yet.
2770        (print_callback): print by system()ing a command on the ps file.
2771        usually, this would be lpr.
2772        (open_prefs_dialog): add a Printing page, letting the user specify
2773        the command used to print files.
2774        * prefs.[ch]: added preferences for printing command.
2775        * help/C/ggv.sgml: describe the menus and the new printing feature.
2776        * configure.in: check if we have lpr's path for default print
2777        command.
2778
27791999-06-01  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2780
2781        * bonobo-application-ps.c, test-container.c: respect recent
2782        changes to the Verbs interface (no more verb codes).
2783       
27841999-05-31  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2785
2786        * main.c (struct _ggv_window): add prev[item|pu] and next[item|pu]
2787        members that point to Next/Prev page [popup]menu items. use these
2788        for setting their sensitivity.
2789        (set_page_sensitivities): new function to set sensitivity of all
2790        next/prev widgets (buttons, menuitems) properly.
2791        (select_page_callback, goto_page): use the above.
2792        (create_popup_menu): add zoom in/out items.
2793        * help/C/ggv.sgml: some changes to make english look more english ;)
2794        added another chapter on the preferences.
2795       
27961999-05-31  Matt Loper  <matt@gnome-support.com>
2797
2798        * application-ps.gnorba: Changed two goad_id's and one repo id to
2799        reflect the Component -> BonoboObject namechange.
2800
2801        * test-container.c: Changed minor things to reflect Component ->
2802        BonoboObject renaming.
2803
2804        * bonobo-application-ps.c: Changed comment to reflect
2805        renaming. Changed component_data_t typedef to
2806        bonobo_object_data_t.
2807        (bonobo_object_destroy_cb): Renamed component_destroy_cb function
2808        to bonobo_object_destroy_cb.
2809        (bonobo_object_factory): Renamed component_factory function to
2810        bonobo_object_factory.
2811       
28121999-05-30  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2813
2814        * main.c (goto_page): set prev/next button sensitivity properly.
2815        (about_callback): added myself to the authors ;)       
2816        * bonobo-application-ps.c (component_factory): add some verbs
2817        to our component and connect a handler for do_verb signal.
2818        gtk_object_set_data() our component_data to the actual
2819        GnomeComponent as we'll need this in do_verb_cb().
2820        (do_verb_cb): handler for do_verb signal.
2821        * test-container.c (add_verb): add an item with the verb
2822        name to Verbs menu. connect "activate" signal handler and
2823        gtk_object_set_data() the GnomeComponent that the verb was
2824        acquired from to the item.
2825        (add_cmd): get component's verb list and create menu items
2826        with their names in Verbs menu.
2827        (verb_cb): get the GnomeComponent that the verb was acquired from
2828        using a gtk_object_get_data() and do a GNOME_Component_do_verb()
2829        on it with verb_name set to NULL as we don't pass it to the
2830        callback.
2831
28321999-05-28  Daniel M. German <dmg@csg.uwaterloo.ca>
2833        * gtkgs.c
2834        * gtkgs.h
2835        * main.c
2836           Added support for non structured documents. It still
2837        requires testing.
2838        * main.c
2839          Disable buttons when document has not been opened
2840          Enable buttons once it has been open
2841          Disable prev page in structured documents
2842
2843         
28441999-05-27  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2845
2846        * bonobo-application-ps.c (main): remove hardcoded GtkGS
2847        instead load GS configuration from /bonobo-application-ps/...
2848        * prefs.[ch] (load_prefs, save_prefs): pass prefix as a parameter
2849        to enable loading prefs for both ggv and bonobo component.
2850        (set_prefs): apply prefs to a GtkGS widget.
2851        * ps.h: enclosed in #ifndef __GGV_PS_H__/#endif.
2852        * main.c: respect changes to prefs.[ch].
2853        * test-container.c: activate component after creating the view so
2854        that it can receive mouse events.
2855        * Makefile.am: share prefs sources between ggv and bonobo component.
2856
28571999-05-27  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2858
2859        * bonobo-application-ps.c: new file. a bonobo component that
2860        displays postscript via gtkgs widget.
2861        * test-container.c: a test container app for bonobo component.
2862        stolen from bonobo source tree.
2863        * configure.in: check for bonobo.
2864        * Makefile.am: if bonobo is present, build ps component and
2865        test-container.
2866        * application-ps.gnorba: gnorba file for the component. note that
2867        none of the bonobo stuff is installed yet. to use the component,
2868        you have to copy bonobo-application-ps somewhere in your PATH and
2869        the .gnorba file to $prefix/etc/CORBA/servers and run test-container.
2870       
28711999-05-26  Tuomas J. Lukka <lukka@iki.fi>
2872
2873        * Start a help file
2874
28751999-05-24  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2876
2877        * gtkscrollpane.c (gtk_scrollpane_update_slider_size): fixed
2878        the size calculation code. gdk_window_move_resize() works as it
2879        should now.
2880        (gtk_scrollpane_motion_notify): fixed this also.
2881
28821999-05-23  Tuomas J. Lukka <lukka@iki.fi>
2883
2884        * Implement the zoomin/zoomout buttons and change to using
2885          magsteps.
2886        * Prevent the scrollpane from growing indefinitely (odd bug,
2887          now commented out as FIXME in gtkscrollpane.c)
2888
28891999-05-23  Tuomas J. Lukka <lukka@iki.fi>
2890
2891        * main.c : add zoomin, zoomout buttons. We need gnome stock
2892          buttons for these!
2893          The buttons don't do anything yet, though: we need to
2894          make the variable have a reasonable meaning (I'd prefer magstep,
2895          opinions?)
2896
28971999-05-23  Jaka Mocnik  <jaka-mocnik@kiss.uni-lj.si>
2898
2899        * main.c (main): load preferences BEFORE opening files from
2900        command line arguments.
2901       
29021999-05-20  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2903
2904        * prefs.[ch]: added preferences for toolbar and menubar
2905        visibility.
2906        * main.c (open_prefs_dialog): new Layout properties page for
2907        the above settings.
2908        (button_press_callback, button_release_callback):
2909        moved commented out cropping code to middle-button click and
2910        assigned left-button to start panning.
2911        (motion_callback): pan if left mouse button is pressed.
2912        * gtkgs.[ch] (gtk_gs_scroll): new public function to scroll the
2913        visible parts.
2914        * gtkscrollpane.h: added in_slider member. set to true when
2915        pointer is in the slider window.
2916        * gtkscrollpane.c: respect themes. fixed size requisition signal
2917        handler.
2918
29191999-05-20  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2920
2921        * main.c: some sanitizing of cases when a document can't be loaded.
2922        * gtkgs.c: hide gs target window when a document can't be loaded and
2923        show it when a document is successfully loaded.
2924        * gtkscrollpane.c: fixed a bug in expose signal handler that caused
2925        the shadow around the trough not to be redrawn.
2926       
29271999-05-19  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2928
2929        * main.c (create_ggv_window): cosmetics. removed the frame
2930        around "sidebar" and added one around GtkGS widget.
2931        (hide_menubar_callback): fixed.
2932        (reload_callback): fixed.
2933        (set_gs_prefs, apply_gs_prefs): new functions for setting
2934        preferences for a single and all open GtkGS widget.
2935        (open_prefs_dialog): a dialog for setting preferences.
2936        * gtkscrollpane.c (gtk_scrollpane_update_slider_size):
2937        fixed a bug that caused the scrollpane to require more space
2938        with each size_request signal.
2939        * prefs.[ch]: new files; loading and saving of preferences.
2940        * gtkgs.[ch]: changed members gs_gs_cmd_scan_pdf to gs_scan_pdf_cmd
2941        and gs_uncompress_command to gs_uncompress_cmd.
2942        (gtk_gs_set_pagemedia): changed the interface a bit.
2943        * ps.[ch]: add a #define PAPER_SIZE_COUNT in order to use papersizes[]
2944        in prefs dialog.
2945        * Makefile.am: added prefs.[ch] to ggv sources.
2946
29471999-05-18  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2948
2949        * main.c (create_menus): use gnome-app-helper stuff where
2950        appropriate. restructured the menus a bit.
2951        (create_popup_menus): use gnome-popup-menu for this.
2952        (about_callback): cosmetics.
2953        (file_open_destroy_callback): in order to reflect its use,
2954        changed to file_open_cancel_callback.
2955        (file_open_delete_callback): new handler for file selection's
2956        delete event.
2957        (struct _ggv_window, open_callback, file_open_ok_callback,
2958        file_open_cancel_callback): use ggv->file_sel instead of a
2959        global file_sel.
2960        * gtkscrollpane.c (gtk_scrollpane_size_request): make it work
2961        as it should.
2962
29631999-05-17  Tuomas J. Lukka <lukka@iki.fi>
2964        * main.c: factor out goto_page and make it jump in the list if
2965          the entry is not visible.
2966        * Update fi.po
2967
29681999-05-06  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2969
2970        * main.c (struct _ggv_window): put _window_with_data arrays
2971        for menus here instead of dynamically allocating it.
2972        (open_window, close_window): new helper functions to open and close
2973        ggv windows.
2974        (create_menus, new_callback): add a "New Window" item to "File"
2975        menu to open a new window.
2976        (delete_callback): new function, called instead of exit_callback()
2977        on window delete_events.
2978        (close_cmd): becomes close_callback().
2979        (create_ggv_window): make windows accept dropped files.
2980        (drop_callback): new function: load files dropped on a window.
2981        also g_free() what needs to be freed all over the code.
2982
29831999-05-05  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
2984
2985        * gtkgs.c: add checks if the GtkGS widget is realized before
2986        calling gtk_gs_munge_adjustments() preventing segfaulting due
2987        to moving and resizing a non-existant window.
2988       
29891999-04-23 Daniel M. German  <dmg@csg.uwaterloo.ca>
2990        * gtkscrollpane.h, gtkscrollpane.c
2991        I modified the API for scrollpane in order to
2992        replace scroll up, scroll down, scroll left
2993        and scroll right with one function:
2994        gtk_scrollpane_step.
2995        Added scroll_page_goto_edge
2996        Added wrapping option to scrolling, this
2997        allows the user to move from one page to another
2998        when pressing space or backspace
2999        * main.c
3000        Replace calls to scrolling functions for new functions
3001        When scrollign through document (space), it moves
3002        the pane to the top corner in a new page. Backspace
3003        should be modified accordingly. New functions allows
3004        to write less code when handling different orientations.
3005        The idea is to have less repetion of code. The API for scrolling
3006        might change again in order to accomodate this.
3007       
3008       
30091999-04-22 Daniel M. German  <dmg@csg.uwaterloo.ca>
3010        * main.c
3011        * Changed 'q' accelerator to Ctrl-Q, which is the
3012        GNOME standard. I also changed the location of the
3013        quit accelerator to the menu definition, so it
3014        uses the proper callback.
3015        * Added other accelerators to the menu
3016       
30171999-04-22  Tuomas J. Lukka     <lukka@iki.fi>
3018        * Add the 'q' accelerator for getting out a la ghostview.
3019        * Add size requests to try to behave well
3020        * Add a scrollbar (scrolled_window) around the page list
3021
30221999-04-15 Daniel M. German  <dmg@csg.uwaterloo.ca>
3023        * main.c
3024         It now kills all windows before exiting (exit_callback), ergo
3025          no gs process are left running.
3026        o
30271999-04-14 Daniel M. German  <dmg@csg.uwaterloo.ca>
3028        * Released version 0.30
3029        * gtkgs.c, gtkgs.h
3030         Fixed the bad bug in which GS stopped processing input.
3031         The "truly bad hack" is history (I hope :)
3032       
30331999-04-09  Shooby Ban <bansz@szif.hu>
3034        * Added hungarian translation
3035
30361999-03-28  Tuomas J. Lukka     <lukka@iki.fi>
3037        * Add fi to all_linguas
3038        * set usize of scrollpane in main.c
3039        * Fix gtk_gs bug: the adjustments were not set properly
3040          since size_allocate was called when gs->width was
3041          not yet set. My fix needs to be looked at.
3042          The scrollpane now works.
3043        * Does not allocate full document size any more - this
3044          is bad because it goes over screen size easily.
3045
30461999-03-28  Tuomas J. Lukka     <lukka@iki.fi>
3047        * Fix desktop fi entry
3048
30491999-03-13 Daniel M. German  <dmg@csg.uwaterloo.ca
3050        * main.c
3051        Added error handling when loading file
3052        Fixed bugs and finished support for multiple windows (only
3053          from command line)
3054        Automatic resizing when opening files
3055        Page up (next page) and page down (prev page) reversed to mimic
3056        ghostview  behaviour
3057        Modified zoom menu and (and simplified) zoom callback to reflect
3058        ghostview options (1/10, 1/8, 1/4, 1/2, 1/1.44, 1/1, etc)                               
3059        * gtkgs.c       
3060        Fixed zooming bug
3061
3062       
30631999-02-25  Jonathan Blandford  <jrb@redhat.com>
3064
3065        * ggv.desktop (Comment): added German translation by Matthias
3066        Warkus.
3067
30681998-11-28  Raja R Harinath  <harinath@cs.umn.edu>
3069
3070        * main.c (create_ggv_window):
3071        Remove call to deleted function `gtk_clist_set_policy' which
3072        was non-functional anyway. (xref gtk+/ChangeLog:
3073        Wed Nov 19 01:22:42 1998  Tim Janik  <timj@gtk.org>).
3074
3075        * gtkgs.c (gtk_gs_init):
3076        Removed setting of the GTK_BASIC flag (xref gtk+/ChangeLog:
3077        Wed Nov 18 22:54:36 1998  Tim Janik  <timj@gtk.org>).
3078
30791998-11-10  Raja R Harinath  <harinath@cs.umn.edu>
3080
3081        * configure.in (paths.h): New check.
3082        (GS_PROG): Check for the full path of `gs'.
3083        (GS_PATH): New #define, defined to GS_PROG.
3084        * acconfig.h (GS_PATH): New define.
3085        * file.c: Protect inclusion of `paths.h' with HAVE_PATHS_H.
3086        * gtkgs.c (gtk_gs_init): Don't hardcode "/usr/bin/gs", use the
3087        discovered GS_PATH.
3088        From "Brandon S. Allbery" <allbery@ece.cmu.edu>.
3089       
30901998-08-12  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>
3091
3092        * configure.in (ALL_LINGUAS): Added Portuguese translation after
3093        the split of gnome-graphics.
3094
3095Fri Aug  7 11:54:03 1998 Jonathan Blandford <jrb@redhat.com>
3096        * main.c: commented out crop code temporarily.
3097        * when it works correctly, i'll uncomment it... (:
3098
30991998-08-07  Federico Mena Quintero  <federico@nuclecu.unam.mx>
3100
3101        Split of gnome-graphics into ee and ggv modules:
3102
3103        * autogen.sh:
3104        * configure.in:
3105        * Makefile.am: Adjusted for new ggv module.
3106
31071998-08-07  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>
3108
3109        * ggv.desktop: Added Portuguese translation.
3110
3111Wed Jul 29 18:19:12 1998  Jonathan Blandford  <jrb@redhat.com>
3112        many changes.  A bit more stable now.
3113        * main.c: Added support for key presses and some mouse click support.
3114        * gtkscrollpane.c (gtk_scrollpane_update_slider_size): fixed a big bug.
3115        * gtkgs.c: fixed many bugs.
3116
3117Mon Jul 27 14:50:28 1998  Tom Tromey  <tromey@cygnus.com>
3118
3119        Some `-ansi -Wall -Wmissing-declarations' fixes:
3120        * gtkgs.c (catchPipe): Now static.
3121        (start_interpreter): Removed unused variables.
3122        Include <sys/types.h>, <sys/wait.h>, and <stdio.h>.
3123        (gtk_gs_goto_page): Removed unused variable.
3124        (is_interpreter_ready): Now static.
3125        (is_interpreter_running): Likewise.
3126        * file.c: Turned C++ comments into C comments.
3127        * file.h (file_getTmpFilename): Fixed declaration to match
3128        definition.
3129        * ps.c: Include "file.h", <glib.h>.
3130        (file_getTmpFilename): Argument now const.
3131        (get_next_text): Renamed from `gettext' to avoid clash with GNU
3132        gettext.
3133
3134        Added gettext and argument parsing:
3135        * main.c (startup_files): New global.
3136        Include <config.h> first.
3137        (parse_an_arg): New function.
3138        (parser): New structure.
3139        (main): Pass parser to gnome_init.
3140        (orientationMenu2): Wrapped strings with N_.
3141        (fileMenu): Likewise.
3142        (documentMenu): Likewise.
3143        (helpMenu): Likewise.
3144        (mainMenu): Likewise.
3145        (about_callback): Use _() around user-visible strings.
3146        (open_callback): Likewise.
3147
3148Fri Jul 10 20:10:37  Jonathan Blandford <jrb@redhat.com>
3149
3150        * rewrite of ggv. many files removed. some added.
3151          following files have been added: TODO, main.c, gtkgs.c, gtkgs.h
3152          gtkscrollpane.h gtkscrollpane.c
3153          ggv is no longer nearly as dependent on the old ghostview code
3154          any more.
Note: See TracBrowser for help on using the repository browser.