source: trunk/third/gpdf/ChangeLog @ 21437

Revision 21437, 178.1 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21436, which included commits to RCS files with non-trunk default branches.
Line 
12005-01-27  Martin Kretzschmar  <martink@gnome.org>
2
3        * NEWS, configure.in: Version 2.8.3.
4
52005-01-26  Martin Kretzschmar  <martink@gnome.org>
6
7        * configure.in: Test for freetype <= or > 2.1.7.
8
9        * xpdf/GPOutputDev.cc (getFontFaceEmbedded): ifdef out Type1C
10        cid-to-gid code which is no longer necessary/breaks with freetype
11        > 2.1.7 (e.g. firefox ad). Ported from kpdf.
12
132005-01-26  Marco Pesenti Gritti  <marco@gnome.org>
14
15        * xpdf/XRef.cc:
16       
17        Fix CAN-2005-0064
18
192005-01-07  Martin Kretzschmar  <martink@gnome.org>
20
21        * configure.in: Version 2.8.2.
22
23        * xpdf/gpdf-view.cc (gpdf_view_link_entered_cb): undo string
24        freeze breakage.
25
26        * NEWS: update.
27
28        Backports from HEAD:
29       
30        2004-12-22  Martin Kretzschmar  <martink@gnome.org>
31
32        * xpdf/gpdf-view.cc (gpdf_view_link_entered_cb): fix typos and add
33        NULL-checks to fix crashes on link mouse-over. Fixes Bug #156784,
34        Bug #159966, half of Bug #159386.
35
36        2004-12-21  Martin Kretzschmar  <martink@gnome.org>
37
38        * xpdf/GPOutputDev.cc (getFontFaceEmbedded): FoFiTrueType::make
39        etc. can return NULL. Use the fallback in that case. Fixes crash
40        part of Bug #161066.
41
42        2004-12-21  Gordon Ingram  <ggi@btinternet.com>
43
44        * shell/gpdf.c (gpdf_window_focus_in_event, gpdf_window_focus_out_event)
45        (gpdf_window_class_init): Show the fullscreen button only when
46        the window is active. Stolen from epiphany. Fixes #161225.
47
482005-01-07  Martin Kretzschmar  <martink@gnome.org>
49
50        * xpdf/GfxState.cc (GfxDeviceNColorSpace::parse),
51        xpdf/Gfx.cc (doImage): update to xpdf 3.00pl2. Check that the PDF
52        file supplied color components count i within the allowed range.
53        Fixes buffer overflow vulnerability.
54
55        Fixes Bug #162084 and Bug #163026
56        http://www.idefense.com/application/poi/display?id=172
57        CAN-2004-1125
58       
59        Also thanks to Matthias Geerdsen <vorlon@gentoo.org> and Marco
60        Pesenti Gritti <marco@gnome.org>.
61       
622005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
63
64        * xpdf/gpdf-bookmarks-view.cc:
65
66        Fix click on bookmarks bar items #276482
67
682004-12-06  Martin Kretzschmar  <martink@gnome.org>
69
70        * configure.in, NEWS: Version 2.8.1.
71
72        * COPYING: fix FSF address.
73       
74        * gpdf.desktop.in: change gpdf %U to gpdf %F because there are
75        problems with most URI schemes.
76
772004-11-06  Martin Kretzschmar  <martink@gnome.org>
78
79        * xpdf/gpdf-control.cc (gpdf_control_sidebar_page_changed_cb): if
80        no known page id matches, use the bookmarks page.
81        (gpdf_control_sidebar_page_changed_cb): remove annotations view
82        special case (which would segfault if !page_id), obsolete with the
83        change above.
84
85        * xpdf/gpdf-sidebar.c (page_compare_func)
86        (gpdf_sidebar_find_page_by_id): moved up in the file.
87        (gpdf_sidebar_sanitize_page_id): sanitizes an untrusted, possibly
88        NULL page_id value to a known page_id (with "bookmarks" as
89        default).
90        (gpdf_sidebar_show): pipe the gconf value for the page id through
91        gpdf_sidebar_sanitize_page_id.
92
93        Also fixes Bug #151172 ("segfaults if schema not
94        installed"). Initial patch by Muktha <muktha.narayan@wipro.com>.
95
962004-11-06  Loic Minier  <lool@via.ecp.fr>
97
98        * shell/gpdf.c (gpdf_window_close): if we don't have a
99        BonoboWidget, don't try to work with its ControlFrame. Fixes
100        asserts when starting gpdf and closing immediately. Patch from
101        Bug #151364.
102
1032004-11-05  Dan Williams  <dcbw@redhat.com>
104
105        * xpdf/Catalog.cc, xpdf/XRef.cc: Fix for a number of integer
106        overflow bugs discovered by Chris Evans. CAN-2004-0888,
107        Bug #156729, Red Hat Bug #137420.
108
1092004-09-20  Mark McLoughlin  <mark@skynet.ie>
110
111        * xpdf/GnomeVFSStream.cc (reset, fillBuf): check gnome_vfs_foo
112        return values.  Fixes crashes with gnome-vfs' http method.  Bug
113        #153159, #151364, Red Hat Bug #132469, half of Debian Bug #268873.
114       
1152004-09-13  Martin Kretzschmar  <m_kretzschmar@gmx.net>
116
117        * configure.in, NEWS: Version 2.8.0.
118
119        * README.GPdf: the font situation is a bit better now.
120
1212004-09-07  Gora Mohanty  <gmohanty@cvs.gnome.org>
122       
123        * configure.in: Added 'or' to ALL_LINGUAS.
124
1252004-09-04  Kjartan Maraas  <kmaraas@gnome.org>
126
127        * configure.in: Add «nb» to ALL_LINGUAS.
128
1292004-08-30  Martin Kretzschmar  <m_kretzschmar@gmx.net>
130
131        * configure.in, NEWS: Version 2.7.91. Disable "development
132        release" warning.
133
1342004-08-28  Martin Kretzschmar  <m_kretzschmar@gmx.net>
135
136        * xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_update_bkvisual):
137        nodes without link actions have NULL outline items. Don't
138        dereference them. Fixes bug #150269.
139
1402004-08-28  Akagic Amila  <bono@linux.org.ba>
141
142        * configure.in: Added 'bs' to ALL_LINGUAS.
143
1442004-08-24  Dan Williams  <dcbw@redhat.com>
145
146        * xpdf/gpdf-view.cc (gpdf_view_link_action_uri): don't dereference
147        app if it's NULL (i.e. no app available for that uri).
148        Fixes Bug #150476 (Red Hat Bug #127803).
149
1502004-08-17  Mark McLoughlin  <mark@skynet.ie>
151
152        * lib/recent-files/egg-recent-item.[ch],
153          lib/recent-files/egg-recent-model.c,
154          lib/recent-files/egg-recent-view-gtk.c: sync with
155        latest libegg.
156
1572004-08-15  Martin Kretzschmar  <m_kretzschmar@gmx.net>
158
159        Fix for #149954.  Based on patch by Vijaykumar Patwari
160        <vijaykumar.patwari@wipro.com>
161       
162        * xpdf/gpdf-view.c, xpdf/gpdf-view.h (gpdf_view_save_as): Changed
163        to return the result of PDFDoc::saveAs.
164
165        * xpdf/gpdf-contol.cc (overwrite_existing_file): New function, ask
166        user before overwriting existing file.
167        (save_error_dialog): New function, Throws error dialog.
168        (gpdf_control_get_filename): Morph it into
169        gpdf_control_save_file(), Check if the file already exists.
170        (verb_SaveAs_cb): Call new function to save a file.
171       
1722004-08-12  Martin Kretzschmar  <m_kretzschmar@gmx.net>
173
174        * xpdf/GPOutputDev.cc (getFontFace): prefer embedded fonts over
175        base 14 fonts. Fixes/works around Bug #149952.
176
1772004-08-11  Martin Kretzschmar  <m_kretzschmar@gmx.net>
178
179        * configure.in, README.GPdf: actually, we require libgnomeprint
180        2.5.1 (for GNOME_PRINT_KEY_DUPLEX).
181        Thanks {agriffis,foser}@gentoo.org. See also
182        http://bugs.gentoo.org/show_bug.cgi?id=46913
183
1842004-08-05  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
185
186        Fixes #126719 by Jeff Muizelaar  <jrmuizel@nit.ca>:
187
188        * xpdf/gpdf-view.cc (gpdf_view_handle_drag_motion):
189        calculate (x,y) properly for the case where we get unhinted
190        motion events that are relative to the actual canvas window,
191        instead of the widget window.
192
1932004-08-02  Martin Kretzschmar  <m_kretzschmar@gmx.net>
194
195        * configure.in, NEWS: Version 2.7.90.
196
1972004-08-02  Martin Kretzschmar  <m_kretzschmar@gmx.net>
198
199        * shell/gpdf.c (verb_FileExit_cb, gw_close_all): remove.
200
201        * shell/gpdf-window-ui.xml: remove FileExit references.
202        Fixes Bug 148681.
203
2042004-08-02  Martin Kretzschmar  <m_kretzschmar@gmx.net>
205
206        * xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_set_pdf_doc),
207        * xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_set_pdf_doc):
208        Make the guint to pointer cast explicit.
209
210        * xpdf/gpdf-control.cc (gpdf_control_print): keep the print dialog
211        in a private member variable, don't destroy it unconditionally on
212        when the BonoboControl is disconnected.
213        (gpdf_control_get_filename): ditto for the file chooser.
214        (properties_response_handler, properties_delete_handler)
215        (verb_FileProperties_cb): and for the properties window.
216        (gpdf_control_disconnected): destroy any left over dialogs.
217        Fixes Bug #149062 (and lots of crash-on-exit bugs, I hope).
218
2192004-07-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
220
221        * xpdf/GPOutputDev.cc (getFontFaceEmbedded): rewrite, this time
222        respect encoding information/CID-to-GID stuff etc. Fixes Bug #148362.
223        (lookupGlyph): update for changes in getFontFaceEmbedded
224        (drawString): ditto.
225
2262004-07-20  Martin Kretzschmar  <m_kretzschmar@gmx.net>
227
228        * xpdf/gpdf-view.cc (gpdf_view_zoom): add the hack Federico did
229        for page changes for zooming as well. Still flashes when zooming,
230        but only in the background color, better than flashing with the
231        old content IMHO.
232
2332004-07-19  Martin Kretzschmar  <m_kretzschmar@gmx.net>
234
235        * gpdf.desktop.in: added X-GNOME-Bugzilla-foo entries. I hope that
236        fixes Bug #147870.
237        (MimeType): add, we understand application/pdf.
238
239        * xpdf/gpdf-control.cc (gnome_vfs_uri_new): use just
240        gnome_vfs_uri_extract_short_name (which returns the unescaped
241        basename of a vfs_uri) as title. Fixes Bug #130611.
242
2432004-07-19  Federico Mena Quintero  <federico@ximian.com>
244
245        Fixes #126720:
246
247        * xpdf/gpdf-view.cc (gpdf_view_goto_page_no_history): Don't render
248        the page in an idle handler.
249        (gpdf_view_render_page): Return void.
250        (gpdf_view_scroll_to_top): As a hack to keep the canvas from
251        scrolling-then-updating, set the background pixmap of the
252        container window to null, then hide the bin_window, the scroll,
253        then show the bin_window, and reset the background.
254        (gpdf_view_scroll_to_bottom): Likewise.
255
2562004-06-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
257
258        * shell/gpdf.c (verb_HelpAbout_cb): Update copyright period to
259        1996-2004.
260
2612004-06-13  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
262
263        * xpdf/gpdf-view.cc (gpdf_view_reset_link_status_cb):
264        Fixed indentation.
265        Also added c-indent-level in emacs local vars.
266
267        * xpdf/tests/test-gpdf-view.cc (TEST_NEW): Forgot to commit the
268        test. Added the pdf doc as a param for constructor.
269
270        * xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_populate_idle):
271        Changed the way to get the gdk window on which the cursor
272        is set. Now use the treeview widget window instead of getting
273        its parent.     
274
275        * xpdf/gpdf-thumbnails-view.cc (GPDF_DEFAULT_THUMB_WIDTH):
276        Removed unused define for empty page thumbnail image.
277        (gpdf_thumbnails_view_canvas_outline_event_cb)
278        (gpdf_thumbnails_view_populate_idle):
279        Changed the way to get the gdk window on which the cursor
280        is set. Now use the canvas widget window instead of getting
281        its parent.
282
2832004-06-07  Martin Kretzschmar  <m_kretzschmar@gmx.net>
284
285        * configure.in, NEWS: Version 2.7.2.
286
2872004-06-07  Martin Kretzschmar  <m_kretzschmar@gmx.net>
288
289        * xpdf/gpdf-control.cc (gpdf_control_setup_view_widgets): set a
290        step_increment for the gtk_scrolled_window's [hv]adjustments.
291        Workaround for bug #132489 (see also bug #96546). (Makes the
292        scrollbar buttons work.)
293
2942004-06-06  Martin Kretzschmar  <m_kretzschmar@gmx.net>
295
296        * xpdf/gpdf-control.cc: include gpdf-control-private.h for
297        prototypes.
298        (gpdf_control_private_error_dialog): add ref_parent parameter:
299        whether to _ref the parent control.
300        (destroy_widget_unref_control): signal handler for the alert's
301        "response" signal: destroy the dialog, unref the parent control.
302        (gpdf_control_private_display_help)
303        (gpdf_control_no_postscript_printer_alert): update error_dialog
304        calls.
305        (persist_file_loading_failed_cb): ditto, with ref_parent = TRUE,
306        thus the control never auto-exits before the user can ack the
307        "Loading failed" message. Fixes bug #137262.
308
309        * xpdf/gpdf-control-private.h: update prototype.
310
311        * xpdf/gpdf-view.cc (gpdf_view_link_action_uri): update
312        error_dialog argument list.
313
314        * shell/gpdf.c (gw_control_load_pdf):
315        s/error_stream:/error_persist_file:/
316
317        * xpdf/tests/test-gpdf-view.cc (view_implements_ggv_document): fix
318        build.
319
3202004-06-06  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
321
322        * xpdf/gpdf-control.cc (gpdf_control_setup_view_widgets):
323        Use new way to allocate a gpdf-view.
324
325        * xpdf/gpdf-view.h: Removed gpdf_view_new proto.
326
327        * xpdf/gpdf-view.cc (gpdf_view_set_pdf_doc)
328        (gpdf_view_get_property, gpdf_view_set_property)
329        (gpdf_view_constructor, gpdf_view_class_init):
330        Change the way view is allocated to use the g_object_new
331        way. Added props for pdf doc and for parent control.
332        (gpdf_view_link_entered_cb): Init some var to NULL.
333        (gpdf_view_bookmark_selected): Added case for actionURI
334        to handle bookmarks that are URIs.
335
336        * xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_class_init):
337        Removed params spec desc strings as a some translated ones.
338
339        * xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_class_init):
340        Removed params spec desc strings as a some translated ones.
341        (gpdf_bookmarks_view_construct): Loaded a new (network) stock
342        icon for bookmarks wearing an actionURI link.
343        (gpdf_bookmarks_view_update_bkvisual): Got item object from
344        tree model to be able to discriminate icons to update. actionURI
345        associated icons and actionNamed associated icons need no update.
346        (gpdf_bookmarks_view_flat_recurse_outlines): Added new LinkURI
347        local instances. Init others to NULL to avoid warnings.
348        Changed strings when action is unknown to make it more
349        interpretable.
350        Add code to handle LinkURI actions instances.
351
352        * xpdf/gpdf-annots-view.cc (gpdf_annots_view_class_init):
353        Removed params spec desc strings as a some translated ones.
354
3552004-06-05  Martin Kretzschmar  <m_kretzschmar@gmx.net>
356
357        * xpdf/Makefile.am: drop support for building xpdf, pdfto*.
358
359        * configure.in: simplify more. Drop --enable-no-text-select
360        and --enable-multithreaded options. Bug #111404.
361
3622004-06-03  Martin Kretzschmar  <m_kretzschmar@gmx.net>
363
364        * configure.in: post release version bump.  Reorder a bit, add
365        some section header comments. Remove OS/2 check. Remove checks
366        that were only necessary for the Xpdf build system.
367
368        * fofi/Makefile.dep, splash/Makefile.dep: cvs remove. Remainings
369        of the Xpdf non-automake build system.
370
371        * shell/gpdf.c (verb_HelpAbout_cb):
372        s/translator_credits.../translator-credits/ as requested some
373        months ago.
374
3752004-06-01  Martin Kretzschmar  <m_kretzschmar@gmx.net>
376
377        * NEWS, configure.in: Version 2.7.1.
378
3792004-05-31  Martin Kretzschmar  <m_kretzschmar@gmx.net>
380
381        * configure.in: print Message Of Doom.
382
3832004-05-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
384
385        * xpdf/GPOutputDev.cc (drawImageMask): undo 2004-02-28 change and
386        obey invert parameter instead (D'oh). Bug #142964.
387        (drawImageMask): do mask color computations and some variable
388        definitions outside of the loop. Swap if/else branches.
389        (drawImage): move variable defns outside loop.
390
3912004-05-21  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
392
393        * xpdf/gpdf-thumbnails-view.cc: Changed current_gen_thumb
394        type from gint to guint to avoid warnings.
395        (gpdf_thumbnails_view_populate_idle): Init Thumb ptr
396        to NULL to avoid warning.
397
398        * xpdf/gpdf-view.cc (gpdf_view_link_entered_cb):
399        Add braces around each case to avoid warning about
400        inits and/or cross case inits.
401        (gpdf_view_render_page): Update displayPage call for
402        annots view to new xpdf3 API.
403
4042004-05-17  Martin Kretzschmar  <m_kretzschmar@gmx.net>
405
406        * xpdf/gpdf-view.cc (gpdf_view_render_page): add missing crop
407        argument.
408
409        * fofi/Makefile.am, splash/Makefile.am: added.
410
411        * Makefile.am: add fofi and splash subdirs.
412
413        * ANNOUNCE:
414        * CHANGES:
415        * Makefile.am:
416        * README:
417        * aconf-win32.h:
418        * configure.in:
419        * dj_make.bat:
420        * doc/pdffonts.1:
421        * doc/pdffonts.cat:
422        * doc/pdffonts.hlp:
423        * doc/pdfimages.1:
424        * doc/pdfimages.cat:
425        * doc/pdfimages.hlp:
426        * doc/pdfinfo.1:
427        * doc/pdfinfo.cat:
428        * doc/pdfinfo.hlp:
429        * doc/pdftopbm.1:
430        * doc/pdftopbm.cat:
431        * doc/pdftopbm.hlp:
432        * doc/pdftops.1:
433        * doc/pdftops.cat:
434        * doc/pdftops.hlp:
435        * doc/pdftotext.1:
436        * doc/pdftotext.cat:
437        * doc/pdftotext.hlp:
438        * doc/xpdf.1:
439        * doc/xpdf.cat:
440        * doc/xpdf.hlp:
441        * doc/xpdfrc.5:
442        * doc/xpdfrc.cat:
443        * doc/xpdfrc.hlp:
444        * fofi/Makefile.in:
445        * goo/GHash.cc:
446        * goo/GHash.h:
447        * ms_make.bat:
448        * splash/Makefile.in:
449        * xpdf/DisplayFontTable.h:
450        * xpdf/ErrorCodes.h:
451        * xpdf/FTFont.cc:
452        * xpdf/FTFont.h:
453        * xpdf/FontFile.cc:
454        * xpdf/FontFile.h:
455        * xpdf/Function.h:
456        * xpdf/GPOutputDev.cc:
457        * xpdf/Gfx.cc:
458        * xpdf/Gfx.h:
459        * xpdf/GfxFont.cc:
460        * xpdf/GfxFont.h:
461        * xpdf/GfxState.cc:
462        * xpdf/GfxState.h:
463        * xpdf/GlobalParams.cc:
464        * xpdf/GlobalParams.h:
465        * xpdf/Makefile.am:
466        * xpdf/Object.cc:
467        * xpdf/Object.h:
468        * xpdf/Outline.cc:
469        * xpdf/OutputDev.cc:
470        * xpdf/OutputDev.h:
471        * xpdf/PBMOutputDev.cc:
472        * xpdf/PBMOutputDev.h:
473        * xpdf/PDFDoc.cc:
474        * xpdf/PDFDoc.h:
475        * xpdf/PSOutputDev.cc:
476        * xpdf/PSOutputDev.h:
477        * xpdf/Page.cc:
478        * xpdf/Page.h:
479        * xpdf/Parser.cc:
480        * xpdf/SFont.cc:
481        * xpdf/SFont.h:
482        * xpdf/Stream.cc:
483        * xpdf/Stream.h:
484        * xpdf/T1Font.cc:
485        * xpdf/T1Font.h:
486        * xpdf/TTFont.cc:
487        * xpdf/TTFont.h:
488        * xpdf/TextOutputDev.cc:
489        * xpdf/TextOutputDev.h:
490        * xpdf/XOutputDev.cc:
491        * xpdf/XOutputDev.h:
492        * xpdf/XPixmapOutputDev.cc:
493        * xpdf/XPixmapOutputDev.h:
494        * xpdf/XRef.cc:
495        * xpdf/XRef.h:
496        * xpdf/config.h:
497        * xpdf/gpdf-control.cc:
498        * xpdf/pdffonts.cc:
499        * xpdf/pdfimages.cc:
500        * xpdf/pdfinfo.cc:
501        * xpdf/pdftopbm.cc:
502        * xpdf/pdftops.cc:
503        * xpdf/pdftotext.cc:
504        * xpdf/tests/Makefile.am:
505        * xpdf/vms_make.com:
506        * xpdf/xpdf.cc: Imported Xpdf 3.00 and fixed build.
507
5082004-05-17  Martin Kretzschmar  <m_kretzschmar@gmx.net>
509
510        * ANNOUNCE:
511        * CHANGES:
512        * README:
513        * aconf2.h:
514        * configure.in:
515        * dj_make.bat:
516        * doc/pdffonts.1:
517        * doc/pdffonts.cat:
518        * doc/pdffonts.hlp:
519        * doc/pdfimages.1:
520        * doc/pdfimages.cat:
521        * doc/pdfimages.hlp:
522        * doc/pdfinfo.1:
523        * doc/pdfinfo.cat:
524        * doc/pdfinfo.hlp:
525        * doc/pdftopbm.1:
526        * doc/pdftopbm.cat:
527        * doc/pdftopbm.hlp:
528        * doc/pdftops.1:
529        * doc/pdftops.cat:
530        * doc/pdftops.hlp:
531        * doc/pdftotext.1:
532        * doc/pdftotext.cat:
533        * doc/pdftotext.hlp:
534        * doc/xpdf.1:
535        * doc/xpdf.cat:
536        * doc/xpdf.hlp:
537        * doc/xpdfrc.5:
538        * doc/xpdfrc.cat:
539        * doc/xpdfrc.hlp:
540        * goo/gfile.cc:
541        * ms_make.bat:
542        * vms_make.com:
543        * xpdf/Annot.cc:
544        * xpdf/Array.cc:
545        * xpdf/BuiltinFontTables.cc:
546        * xpdf/CMap.cc:
547        * xpdf/CMap.h:
548        * xpdf/Catalog.cc:
549        * xpdf/CharCodeToUnicode.cc:
550        * xpdf/CharCodeToUnicode.h:
551        * xpdf/Decrypt.cc:
552        * xpdf/Dict.cc:
553        * xpdf/ErrorCodes.h:
554        * xpdf/FTFont.cc:
555        * xpdf/FTFont.h:
556        * xpdf/FontFile.cc:
557        * xpdf/FontFile.h:
558        * xpdf/Function.cc:
559        * xpdf/Gfx.cc:
560        * xpdf/Gfx.h:
561        * xpdf/GfxFont.cc:
562        * xpdf/GfxFont.h:
563        * xpdf/GfxState.cc:
564        * xpdf/GfxState.h:
565        * xpdf/GlobalParams.cc:
566        * xpdf/GlobalParams.h:
567        * xpdf/JBIG2Stream.cc:
568        * xpdf/Link.cc:
569        * xpdf/Link.h:
570        * xpdf/Makefile.am:
571        * xpdf/OutputDev.h:
572        * xpdf/PDFDoc.cc:
573        * xpdf/PDFDoc.h:
574        * xpdf/PSOutputDev.cc:
575        * xpdf/PSOutputDev.h:
576        * xpdf/Page.cc:
577        * xpdf/Page.h:
578        * xpdf/Parser.cc:
579        * xpdf/Stream.cc:
580        * xpdf/Stream.h:
581        * xpdf/TTFont.cc:
582        * xpdf/TTFont.h:
583        * xpdf/TextOutputDev.cc:
584        * xpdf/TextOutputDev.h:
585        * xpdf/UnicodeMap.cc:
586        * xpdf/UnicodeMap.h:
587        * xpdf/UnicodeTypeTable.cc:
588        * xpdf/UnicodeTypeTable.h:
589        * xpdf/XOutputDev.cc:
590        * xpdf/XOutputDev.h:
591        * xpdf/XPDFApp.cc:
592        * xpdf/XPDFCore.cc:
593        * xpdf/XPDFCore.h:
594        * xpdf/XPDFViewer.cc:
595        * xpdf/XPDFViewer.h:
596        * xpdf/XRef.cc:
597        * xpdf/about-text.h:
598        * xpdf/config.h:
599        * xpdf/gpdf-control.cc:
600        * xpdf/gpdf-link-canvas-item.cc:
601        * xpdf/gpdf-links-canvas-layer.cc:
602        * xpdf/pdffonts.cc:
603        * xpdf/pdfimages.cc:
604        * xpdf/pdfinfo.cc:
605        * xpdf/pdftopbm.cc:
606        * xpdf/pdftops.cc:
607        * xpdf/pdftotext.cc:
608        * xpdf/tests/test-links.cc:
609        * xpdf/vms_make.com:
610        * xpdf/xpdf.cc: Imported Xpdf 2.03 and fixed build.
611
6122004-05-13  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
613
614        * xpdf/gpdf-thumbnails-view.cc:
615        Reverted some of the last commits.
616
617        * xpdf/gpdf-annots-view.cc (gpdf_annots_view_class_init)
618        (gpdf_annots_view_set_property, gpdf_annots_view_new):
619        * xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_class_init)
620        (gpdf_thumbnails_view_set_property, gpdf_thumbnails_view_new)
621        (gpdf_thumbnails_view_dispose):
622        * xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_class_init):
623        (gpdf_bookmarks_view_set_property):
624        (gpdf_bookmarks_view_new):
625        Added set_property method. Changed param_spec_pointer in object.
626        Changed get_pointer in get_object.
627        Casted gpdf_view in GPdfView.
628
629        * xpdf/gpdf-view.cc: Added timeout handler for status reset
630        to view private struct.
631        (gpdf_view_reset_link_status_cb): New callback for status
632        reset after timeout.
633        (gpdf_view_link_entered_cb, gpdf_view_link_leaved_cb):
634        Added handler for displaying link action in app status
635        bar when link enter/leave signal are received.
636        (gpdf_view_render_page): Connect enter/leave handlers
637        on links layer signals.
638
639        * xpdf/gpdf-links-canvas-layer.h: Added LINK_ENTERED &
640        LINK_LEAVED signals for displaying links in app bar status
641        when mouse goes over them.
642
643        * xpdf/gpdf-links-canvas-layer.cc: Added LINK_ENTERED &
644        LINK_LEAVED signals for displaying links in app bar status
645        when mouse goes over them.
646        (link_entered_cb, link_leaved_cb): Added handler for link
647        enter/leave signals to emit link_entered/link_leaved signals.
648        (gpdf_links_canvas_layer_add_link): Connected enter/leave
649        link signal handlers.
650        (gpdf_links_canvas_layer_class_init): Declared new signals.
651
652        * xpdf/gpdf-bookmarks-view.cc:
653        (gpdf_bookmarks_view_set_property)
654        (gpdf_bookmarks_view_class_init, gpdf_bookmarks_view_new):
655        (gpdf_thumbnails_view_dispose):
656        Cleaned up constructor and add control ref;
657        Added constructor args as obj properties, added a ref on parent
658        control and unref in dispose.
659        (gpdf_bookmarks_view_update_popup_actions):
660        Check is bookmarks exists before changing tools menu (expand/
661        collapse/expand all/collapse all) sensitivity.
662        (gpdf_bookmarks_view_populate_idle): Remove control disconnect
663        handler IF had been registered.
664        (gpdf_bookmarks_view_get_tools_menu): Changed order of tools popup
665        menu items (to match real order).
666
667        * xpdf/gpdf-annots-view.cc:
668        (gpdf_annots_view_set_property):
669        (gpdf_annots_view_class_init, gpdf_annots_view_new)
670        (gpdf_annots_view_dispose):
671        Cleaned up constructor;
672        Added constructor args as obj properties, added a ref on parent
673        control and unref in dispose.
674
6752004-05-10  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
676
677        * xpdf/gpdf-thumbnails-view.cc: Add gpdf-control-private header
678        for using status & ratio.
679        (gpdf_thumbnails_view_populate_idle): Set ratio & status to give
680        feedback on the thumb generation.
681        Clear ration & status, reset cursor when finished.
682
683        * xpdf/gpdf-control.cc (gpdf_control_get_bookmarks_view):
684        Give control as first arg of gpdf_bookmarks_view_new.
685
686        * xpdf/gpdf-bookmarks-view.h: Add parent control as new arg.
687
688        * xpdf/gpdf-bookmarks-view.cc: Add gpdf-control-private header
689        for using status & ratio.
690        Adding parent control in private struct.
691        (gpdf_bookmarks_view_new): Added control as first param to keep
692        it in private struct.
693        (gpdf_bookmarks_view_flat_recurse_outlines): Set status & advance
694        bar to give feedback about bookmarks generation.
695        (gpdf_bookmarks_view_populate_idle): Fix a problem when no bookmarks
696        are available. The idle func were always called as
697        generation_terminated was never true.
698        Set watch when generation goes on.
699        Clear status, ration & cursor when generation terminated.
700        (gpdf_bookmarks_view_set_pdf_doc): Connected remove idle
701        on control disconnect signal instead of view destroy signal.
702
7032004-05-13  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
704
705        * xpdf/gpdf-view.cc (gpdf_view_link_action_uri): Fixed bug when
706        launching uri. The Link string storing URI was freed with list.
707        Now the string is duped before appending it to the list.
708        Changed uri from GString * to gchar *.
709
7102004-05-12  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
711
712        * xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_flat_recurse_outlines):
713        Fixed missing affectation when handling link_named bookmarks.
714        The dynamic cast was just compared to NULLbut not stored in
715        link_named.     
716
7172004-05-09  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
718
719        * xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_set_pdf_doc):
720        Changed priority for thumbs idle in order to do queue them at end
721        and create bookmarks before.
722
723        * xpdf/gpdf-bookmarks-view.cc
724        (gpdf_bookmarks_view_update_bookmarks_tree):
725        Changed init of idle to let user see bookmarks creation at idle.
726
727        * xpdf/gpdf-view.cc (gpdf_view_bookmark_selected):
728        Handle case when title is selected and action is null.
729
730        * xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_set_pdf_doc):
731        Remove idle on parent control disconnect if killed while generating
732        bookmarks to avoid crash.
733        Set watch pointer.     
734
735        * xpdf/gpdf-bookmarks-view.cc: Added struct GPdfBookmarksGenState
736        for implementing flat recursion when creating bookmarks. This
737        struct is used to store recursive generation state across idle func
738        boundary.
739        Also added necessary field in bookmarks view private struct to
740        keep this state.
741        (gpdf_bookmarks_view_row_expanded_cb)
742        (gpdf_bookmarks_view_row_collapsed_cb)
743        (gpdf_bookmarks_view_page_changed_cb):
744        (gpdf_bookmarks_view_selection_changed_cb):
745        Return if generation not yet finished.
746        (gpdf_bookmarks_view_bookmark_select_func):
747        Fixed a bug when a title Outline item exists. Such an item have no
748        action associated. We handle this case here and in gpdf-view.cc.
749        (gpdf_bookmarks_view_flat_recurse_outlines):
750        (gpdf_bookmarks_view_update_bookmarks_tree):
751        (gpdf_bookmarks_view_populate_idle):
752        Changed recursive bookmarks generation in a flat call to be able to
753        have it called several time as idle handler.
754        (gpdf_bookmarks_view_set_pdf_doc):
755        Remove idle on view destroy if killed while generating bookmarks
756        to avoid crash.
757        Set watch pointer.
758
759        * xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_page_box_coord):
760        Removed assert and add update of thumb size guess if it was wrong.
761
762        First step for fixing Bug #137439
763
764        * xpdf/gpdf-thumbnails-view.cc:
765        Add a counter for keeping track of current thumb generated.
766        (gpdf_thumbnails_view_set_scroll_region):
767        While setting scroll region, the loop is now between page 1
768        and last generated one (current_gen_thumb) to be able to relayout
769        while generating thumbs.
770        (gpdf_thumbnails_view_create_thumbnail):
771        Added thumb coords. Computation while creating is based on a guess.
772        The layout may be not perfect but it will be correctly relayout
773        as soon as finished.
774        (gpdf_thumbnails_view_populate_idle):
775        Changed idle logic in order to only generate one thumb for each
776        call. This way we never freeze display.
777        (gpdf_thumbnails_view_set_pdf_doc):
778        Moved thumb generation inits from idle. Set guess for page
779        width/height to have a semi correct layout.
780
7812004-05-09  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
782
783        * xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_populate_idle):
784        Use Thumb method 'ok' to ensure Thumb data availability. It should
785        avoid further crash if embed Thumb data not correctly
786        parsed.
787
788        * xpdf/Thumb.h:
789        * xpdf/Thumb.cc (Thumb::Thumb): Added a flag for keeping
790        Thumb data validity and the method to access it.
791
7922004-05-08  Martin Kretzschmar  <m_kretzschmar@gmx.net>
793
794        * lib/recent-files: updated from egg:
795
796        2004-04-15  Bastien Nocera  <hadess@hadess.net>
797
798        * libegg/recent-files/egg-recent-util.c: another unused function
799        to comment when not using libgnomeui
800
801        2004-04-10  Bastien Nocera  <hadess@hadess.net>
802
803        * libegg/recent-files/egg-recent-util.c: remove unused function
804        when not using libgnomeui
805
806        2004-04-05  Murray Cumming  <murrayc@murrayc.com>
807
808        * libegg/recent-files/egg-recent-item.c: Use private_data instead
809        of private, so it can compile with a C++ compiler.
810        * libegg/recent-files/egg-recent-view.h: Add G_BEGIN_DECLS and
811        G_END_DECLS so we can use it with C++.
812
813        2004-03-09  Bastien Nocera  <hadess@hadess.net>
814
815        * libegg/recent-files/egg-recent-util.c:
816        (egg_recent_util_get_icon): avoid warnings when the icon file
817        isn't found
818
819        2004-01-31  James Willcox  <jwillcox@gnome.org>
820
821        * libegg/recent-files/egg-recent-model.c:
822        (egg_recent_model_lock_file):
823
824        Fix a locking bug, patch from
825        Gustavo Giráldez <gustavo.giraldez@gmx.net>
826
827        2004-01-22  James Willcox  <jwillcox@gnome.org>
828
829        * libegg/recent-files/egg-recent-model.c:
830        (egg_recent_model_lock_file):
831
832        Make the file locking suck a little less for nfs home directories.
833        Patch from Dan Williams <dcbw@redhat.com>.
834       
835       
836        * libegg/recent-files/egg-recent-model.c: the 2004-01-31 change
837        fixes bug #138817
838
839        * shell/gpdf.c (gpdf_window_new): de-brand window title -> PDF
840        Viewer. Bug #137167.
841
842        * help/C/figures/gpdf_window.png, help/de/figures/gpdf_window.png:
843        update for new window title.
844       
845        * configure.in: bump version number for GNOME 2.7.
846
847        * xpdf/gpdf-thumbnails-view.cc
848        (gpdf_thumbnails_view_render_thumbnail_image): gdk-pixbuf requires
849        always 8 bits per component. And Thumb::getPixbufData always
850        provides 8 bits per component. Fixes bug #141226.
851
852        * xpdf/Thumb.cc (ThumbColorMap::ThumbColorMap): unused now, remove.
853
854        * xpdf/Thumb.h: ditto.
855
856        * xpdf/Thumb.cc (Thumb::Thumb): use a normal GfxImageColorMap.
857        Use it not only for Indexed color spaces but always. Fixes crasher
858        bugs #139211, #139477, #141725.
859
860        * xpdf/Thumb.h: update for ColorMap changes.
861
862        * xpdf/Thumb.cc (lookup): log to stderr because that's not
863        buffered etc.
864
8652004-05-03  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
866        Fix for Bug #137952:
867
868        * xpdf/gpdf-control.cc (gpdf_control_get_filename):
869        * shell/gpdf.c (gw_ask_for_uri):
870        Added file filters 'application/pdf' and '*' to
871        file choosers.
872
8732004-04-09  Guntupalli Karunakar  <karunakar@freedomink.org>
874
875        * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
876
8772004-03-31  Christian Rose  <menthos@menthos.com>
878
879        * configure.in: Added "af" to ALL_LINGUAS.
880
8812004-03-29  Martin Kretzschmar  <m_kretzschmar@gmx.net>
882
883        * configure.in, NEWS: Version 0.131.
884
8852004-03-22  Guntupalli Karunakar  <karunakar@freedomink.org>
886
887        * configure.in: Added "pa" (Punjabi) to ALL_LINGUAS.
888
8892004-03-21  Gareth Owen  <gowen72@yahoo.com>
890
891        * configure.in: Added en_GB to ALL_LINGUAS
892
8932004-03-21  Martin Kretzschmar  <m_kretzschmar@gmx.net>
894
895        * configure.in, NEWS: Version 0.130.
896
897        * help/c/gpdf.xml, help/de/gpdf.xml: updated for 0.130 (no
898        changes).
899
9002004-03-18  Martin Kretzschmar  <m_kretzschmar@gmx.net>
901
902        * help/Makefile.am (SUBDIRS), configure.in: add help/de directory.
903
904        * help/de: added German help.
905       
9062004-03-15  Martin Kretzschmar  <m_kretzschmar@gmx.net>
907
908        * configure.in, NEWS: Version 0.125.
909
910        * configure.in, README.GPdf: remove message of doom.
911
9122004-03-15  Alexander Winston  <alexander.winston@comcast.net>
913
914        * configure.in: Added en_CA to ALL_LINGUAS.
915
9162004-03-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
917
918        * configure.in, NEWS: Version 0.124.
919
920        * README.GPdf: Update.
921
922        * xpdf/gpdf-persist-file.cc (gpdf_persist_file_on_dialog_response_cb):
923        * xpdf/gpdf-persist-stream.cc: update for changed help id of password section.
924
925        * help/C/gpdf.xml: added comment that gpdf-password id cannot be changed freely.
926       
9272004-03-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
928
929        * xpdf/gpdf-control.cc (gc_set_page_cb): focus the pdf view after
930        setting the page. (Bug #136360)
931
932        * shell/gpdf.c (gw_ask_for_uri): use gtk_dialog_run instead of a
933        nested main loop plus connection to ::response.
934        (file_dialog_response, file_dialog_delete_event): obsolete, no
935        need to check if a folder was selected. (Bug #136233).
936
9372004-03-09  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
938
939        * shell/gpdf.c (gpdf_window_close): Added deactivation of control
940        frame to avoid warning when setting frame ui container to null
941        at bonobo-control-frame-dispose.
942
9432004-03-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
944
945        * xpdf/bonobo-application-x-pdf.cc (gpdf_factory): use
946        bonobo_control_life_instrument on controls to make the factory
947        exit when the last control is destroyed. (For Bug #132703).
948
9492004-03-04 Breda McColgan <breda.mccolgan@sun.com>
950
951        * help/C/gpdf.xml: Implemented editorial review comments
952        * help/C/gpdf-C.omf: Updated date and manual version number
953        * help/C/l10n.txt: Updated date and manual version info
954
9552004-02-28  Martin Kretzschmar  <m_kretzschmar@gmx.net>
956
957        * xpdf/GPOutputDev.cc (drawString): handle horizontal scaling
958        correctly (multiply with the x components of the text
959        transformation matrix). Fixes Bug #134803.
960        (drawImageMask): this function has always painted the mask in
961        reverse video! Fixed it now. Part of Bug #122021.
962
9632004-02-28  Julio M. Merino Vidal  <jmmv@menta.net>
964
965        * Makefile.am: don't hardcode schema installation directory. Add
966        dummy install-data-local target when GCONF_SCHEMAS_INSTALL is
967        not set, fixes build for some make variants. (Bug #135524)
968
9692004-02-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
970
971        * xpdf/gpdf-util.h (E_MAKE_TYPE): kill this ancient macro.
972
973        * xpdf/gpdf-persist-file.cc (gpdf_persist_file_destroy): unload
974        the file, plugs file handle, PDFDoc, whatnot leak (Bug #135525,
975        spotted by Ali Akcaagac).
976
9772004-02-19  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
978       
979        Fix for bug #134807
980       
981        * xpdf/gpdf-control.cc (gpdf_control_print):
982        Add handler for disconnected control to close print
983        dialog when gpdf exists.
984        (gpdf_control_get_filename): Add handler for disconnected
985        control to close SaveAs file chooser when gpdf exists.
986        (verb_FileProperties_cb): Add handler for disconnected
987        control to close Properties dialog when gpdf exists.
988
9892004-02-18  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
990
991        Bugzilla #134609
992       
993        * xpdf/gpdf-persist-stream.cc
994        (gpdf_persist_stream_on_dialog_response_cb):
995        Replaced old gpdf_persist_stream_on_cancelbutton_clicked,
996        gpdf_persist_stream_on_okbutton_clicked and
997        gpdf_persist_stream_on_helpbutton_clicked with
998        gpdf_persist_stream_on_dialog_response_cb.
999        (gpdf_persist_stream_create_password_dialog):
1000        Changed handlers connected on dialog buttons with one
1001        handler connected on dialog's response.
1002
1003        * xpdf/gpdf-persist-file.cc (gpdf_persist_file_on_dialog_response_cb):
1004        Replaced old gpdf_persist_file_on_cancelbutton_clicked,
1005        gpdf_persist_file_on_okbutton_clicked and
1006        gpdf_persist_file_on_helpbutton_clicked with
1007        gpdf_persist_file_on_dialog_response_cb.
1008        (gpdf_persist_file_create_password_dialog):
1009        Changed handlers connected on dialog buttons with one
1010        handler connected on dialog's response.
1011
1012        * xpdf/gpdf-control.cc (gpdf_control_private_destroy_dialog):
1013        Removed.
1014        (gpdf_control_private_error_dialog)
1015        (gpdf_control_private_warn_dialog)
1016        (gpdf_control_private_info_dialog):
1017        Changed clicked handler set on button with response handler
1018        set on dialog itself. Original handler
1019        gpdf_control_private_destroy_dialog have been replaced with
1020        gtk_widget_dialog.
1021        (gpdf_control_no_postscript_printer_alert): Use the
1022        gpdf_control_private_error_dialog instead of managing its
1023        own dialog.
1024        (gpdf_control_properties_dialog_response_cb): Removed old
1025        dialog resp cb used for props dialog.
1026        (verb_FileProperties_cb): Changed dialog handler for resp
1027        with gtk_widget_destroy.
1028        (persist_file_loading_failed_cb): Replaced dialog managed
1029        with gpdf_control_private_error_dialog.
1030
10312004-02-16  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1032
1033        * configure.in, NEWS: Version 0.123.
1034
10352004-02-16  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1036
1037        * autogen.sh: require automake 1.7 because of the way we use
1038        automake conditionals. Fixes distcheck.
1039
10402004-02-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1041
1042        * xpdf/gpdf-thumbnails-view.cc
1043        (gpdf_thumbnails_view_populate_idle): #if'ed out one code path
1044        that I missed on 2004-01-13 when commenting out thumbnail
1045        generation menus. Fixes a crasher.
1046
10472004-02-09 Breda McColgan <breda.mccolgan@sun.com>
1048
1049        * help/C/gpdf.xml: Implemented technical review comments
1050        * help/C/gpdf-C.omf: Updated date
1051
10522004-02-08  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1053
1054        * xpdf/gpdf-persist-file.cc (impl_bonobo_persist_file_load):
1055        Raise Bonobo exception when file opening fails in order
1056        to enable shell to catch it and discard window opening.
1057        Fix for Bug #133503
1058
10592004-02-08  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1060
1061        * xpdf/gpdf-control.cc (gpdf_control_setup_view_widgets):
1062        "Thumbnails"->"Pages" because many PDFs don't have thumbnails.
1063
1064        * shell/gpdf.c (gpdf_window_init_fullscreen_popup): explicitly add
1065        F11 keybinding.
1066
1067        * shell/gpdf-window-ui.xml (keybindings): ViewFullScreen is not a
1068        verb, so F11 doesn't work when in fullscreen mode. Remove it.
1069
1070        * xpdf/gpdf-control.cc (gpdf_print_job_prepare): use duplex
1071        setting supplied by gnome-print. Part of Bug #131979.
1072
10732004-02-07 Breda McColgan <breda.mccolgan@sun.com>
1074
1075        * help/C/gpdf.xml: Updated for GNOME 2.6, technical review draft
1076        * help/C/gpdf-C.omf: Updated for GNOME 2.6
1077        * help/C/l10n.txt: Added for GNOME 2.6
1078        * help/C/figures/gpdf_window.png: Added for GNOME 2.6
1079
10802004-02-07  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1081
1082        * shell/gpdf.c (set_window_icon_default): simplify, based on patch
1083        by Frederic Crozat <fcrozat@mandrakesoft.com> and inline into main.
1084
10852004-02-06  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1086
1087        * shell/gpdf.c (gpdf_window_init_fullscreen_popup):
1088        Added accel group for exit full screen view and
1089        ESC accel key.
1090        Fix for Bug #133595.
1091
10922004-02-05  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1093
1094        * xpdf/gpdf-control.cc (gpdf_control_print): no more need to
1095        process GNOME_PRINT_DIALOG_RESPONSE_PREVIEW.
1096        (gpdf_control_no_preview_alert): no longer necessary.   
1097
10982004-02-05  Andreas J. Guelzow <aguelzow@taliesin.ca>
1099
1100        * xpdf/gpdf-control.cc (gpdf_control_print_dialog_new): disable
1101        print preview the right way, instead of showing some alert dialog.
1102        (Bug #133326)
1103
11042004-02-05  Alexander Winston  <alexander.winston@comcast.net>
1105
1106        * acinclude.m4: correctly quote macro definitions to silence
1107        aclocal-1.8 warnings and prevent future automake problems. (Bug
1108        #133226).
1109
11102004-01-29  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1111
1112        * configure.in: Fixed missing coma in AC_HELP_STRING.
1113
11142004-01-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1115
1116        * xpdf/gpdf-font-face.c: adapt to changes in libgnomeprint CVS.
1117
11182004-01-26  Andraz Tori  <Andraz.tori1@guest.arnes.si>
1119
1120        * configure.in: Added "sl" (Slovenian) to ALL_LINGUAS.
1121
11222004-01-26  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1123
1124        * xpdf/gpdf-thumbnails-view.cc: Include GOutputDev.h.
1125        Added an embed boolean flag for thumbnails struct.
1126        Added a all_generated boolean flag.
1127        Removed CAN_GENERATE_THUMBNAILS define.
1128        (gpdf_thumbnails_view_set_selected_page): Check if is not
1129        current page before darkening thumbnail.
1130        Added tools menu item update.
1131        (gpdf_thumbnails_view_canvas_outline_event_cb):
1132        Changed cursor when dragging in thumb.
1133        (gpdf_thumbnails_view_get_page_pixbuf): New func to gen
1134        pixbuf from a page with GOutputDev.
1135        (gpdf_thumbnails_view_create_thumbnail_pixbuf): Renamed
1136        gpdf_thumbnails_view_create_thumbnail_image that create
1137        white filled thumbs in ..._create_thumbnail_pixbuf.
1138        (gpdf_thumbnails_view_create_thumbnail_image): New func
1139        that get page pixbuf and scale it to make thumb.
1140        (gpdf_thumbnails_view_render_thumbnail_image): Added
1141        embed boolean flag and update all_generated flag.
1142        (gpdf_thumbnails_view_populate_idle): Moved PDF doc related
1143        local vars from func context to loop context.
1144        Changed gpdf_thumbnails_view_create_thumbnail_image in
1145        gpdf_thumbnails_view_create_thumbnail_pixbuf.
1146        Removed tools menu item update if no thumbs availables.
1147        Scroll to 0,0 to show first page thumb.
1148        (gpdf_thumbnails_view_popup_menu_item_generate_cb):
1149        Added implem for current page thumb generation.
1150        (gpdf_thumbnails_view_popup_menu_item_generate_all_cb):
1151        Added implem for all pages thumbs generation.
1152        (gpdf_thumbnails_view_get_tools_menu): If all thumb are
1153        generated the menu is removed.
1154        Now set menu items sensitivity to TRUE.
1155
1156        * xpdf/gpdf-bookmarks-view.cc
1157        (gpdf_bookmarks_view_update_popup_actions): Now only updates
1158        menu items sensitivity when some bookmarks are availables.
1159        (gpdf_bookmarks_view_bookmark_select_func): Test item to be
1160        sure not to select NULL bookmark (can occurs if some problem
1161        occurs while parsing PDF: should be fixed).
1162        (gpdf_bookmarks_view_get_tools_menu): Changed menu items init
1163        stmts layout to group the expand_all/collapse_all.
1164
1165        * xpdf/Makefile.am (libgpdf_a_SOURCES): Added again
1166        GOutputDev.cc/h and TextOutputDev.cc/h.
1167
1168        * xpdf/GOutputDev.h: Added needFontUpdate boolean flag.
1169
1170        * xpdf/GOutputDev.cc (GOutputDev::GOutputDev): Added
1171        needFontUpdate init.
1172        (GOutputDev::startDoc):
1173        Removed TextPage::clear call.
1174        (GOutputDev::endPage):
1175        Added boolean flag as param for coalesce.
1176        (GOutputDev::restoreState):
1177        Added needFontUpdate flag set to true.
1178        (GOutputDev::updateAll):
1179        Set flag needFontUpdate instead of calling updateFont().
1180        (GOutputDev::updateFont):
1181        reset needFontUpdate flag and call TextPage::fontUpdate().
1182        (GOutputDev::beginString):
1183        (GOutputDev::endString):
1184        Changed calls to begin/end string in begin/end word.
1185        (GOutputDev::drawChar):
1186        Added updateFont() call if needed. Added code param to
1187        TextPage::addChar.
1188        (GOutputDev::beginType3Char):
1189        Added updateFont() call if needed.
1190
1191        * xpdf/gpdf-thumbnails-view.cc
1192        (gpdf_thumbnails_view_canvas_outline_event_cb):
1193        Fixed a bug in thumb drag. A zoom mult coef wrongly added.
1194        It has been removed, as some useless commented out traces.
1195
11962004-01-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1197
1198        * Makefile.am: update for intltool 0.29, disable-schemas-install
1199        when distchecking.
1200
12012004-01-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1202
1203        * xpdf/gpdf-control-ui.xml, shell/gpdf-window-ui.xml: add some
1204        explicit keybindings, menu keybindings are disabled when the
1205        menubar is hidden.
1206
12072004-01-22  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1208
1209        * xpdf/gpdf-sidebar.c (set_tools_button_sensitivity):
1210        New func to set tools menu button sensitivity.
1211        (gpdf_sidebar_set_page_tools_menu):
1212        (select_page): Now call set_tools_button_sensitivity.
1213
1214        * xpdf/gpdf-thumbnails-view.cc
1215        (gpdf_thumbnails_view_populate_idle): Added
1216        missing item var.
1217
1218        * xpdf/gpdf-control.cc: Removed ifdef USE_ANNOTS
1219        around annots-view.h file. Ifdefs are now in the
1220        header that also defines sidebar page id.
1221        Removed Pages Ids from here to move them in
1222        their respective view header.
1223        (gpdf_control_private_reset_cursor):
1224        (gpdf_control_private_set_wait_cursor):
1225        (gpdf_control_private_set_cursor): Ensure window
1226        is a gdk_window.
1227        (gpdf_control_update_bookmarks_view_tools_menu)
1228        (gpdf_control_bookmarks_view_ready)
1229        (gpdf_control_update_thumbnails_view_tools_menu)
1230        (gpdf_control_thumbnails_view_ready)
1231        (gpdf_control_update_annots_view_tools_menu)
1232        (gpdf_control_annots_view_ready):
1233        Added funcs to deal with tools menu updates and
1234        Ready signals for views. They should be grouped
1235        in two funcs? To be fixed?...
1236        (gpdf_control_enable_ui): Added tools menu update
1237        in control enable UI func.
1238        (gpdf_control_get_bookmarks_view): Added connection
1239        to Ready signal instead of settings tools menu.
1240        This is to wait asynchronous bookmarks loads to be
1241        sure we have a tools menu to activate.
1242        (gpdf_control_get_thumbnails_view): Same for thumbnails
1243        view.
1244        (gpdf_control_get_annots_view): and for annots view.
1245        (gpdf_control_pdf_doc_changed): Moved control_enable_ui
1246        out of the if statement.
1247
1248        * xpdf/gpdf-annots-view.h
1249        (GPDF_ANNOTS_VIEW_PAGE_ID):
1250        Sidebar Page id now defined in here.
1251        Added class func for Ready signal.
1252
1253        * xpdf/gpdf-annots-view.cc: Removed unused private
1254        field annots. Replaced with the total number of annotations
1255        available inthe document.
1256        (gpdf_annots_view_class_init):
1257        Added Ready signal telling control that annotations
1258        asynchronous load finished.
1259        (gpdf_annots_view_emit_ready): Ready signal emission func
1260        (gpdf_annots_view_have_annotations): Added a func using
1261        the total num of annots to tell if some are available.
1262        (gpdf_annots_view_update_annots_list): Here I count
1263        total number of annotations.
1264        (gpdf_annots_view_populate_idle): Moved some local
1265        vars from func context to the loop context where they
1266        are used.
1267        (gpdf_annots_view_populate_idle): Removed a leak, annots
1268        list was not deleted.
1269        (gpdf_annots_view_get_tools_menu): Use new have_annotations
1270        func to disable tools menu when no annotations are
1271        availables.
1272
1273        * xpdf/gpdf-thumbnails-view.h
1274        (GPDF_THUMBNAILS_VIEW_PAGE_ID):
1275        Sidebar Page id now defined in here.
1276        Added class func for Ready signal.
1277
1278        * xpdf/gpdf-thumbnails-view.cc:
1279        (gpdf_thumbnails_view_class_init):
1280        Added Ready signal to tell control that thumbnails
1281        asynchronous load finished.
1282        (gpdf_thumbnails_view_emit_ready): Ready signal
1283        emission func.
1284        (gpdf_thumbnails_view_populate_idle): Only
1285        change tools menu item widget sensitivity if
1286        tools menu was created (widget actually exist).
1287        Changed brace position.
1288        (gpdf_thumbnails_view_populate_idle): Added
1289        ready signal emission.
1290
1291        * xpdf/gpdf-bookmarks-view.h (GPDF_BOOKMARKS_VIEW_PAGE_ID):
1292        Sidebar Page id now defined in here.
1293        Added class func for Ready signal.
1294
1295        * xpdf/gpdf-bookmarks-view.cc:
1296        (gpdf_bookmarks_view_class_init):
1297        Added the READY signal that tell control that
1298        asynchronous bookmarks load finished.
1299        (gpdf_bookmarks_view_emit_ready): Ready signal
1300        emission func.
1301        (gpdf_bookmarks_view_have_outline_items):
1302        Added a func telling if some bookmarks are availables.
1303        (gpdf_bookmarks_view_update_popup_actions):
1304        If no bookmarks availables, no need to browse the
1305        tree.
1306        Set menu item widget sensitivity only if menu was
1307        created.
1308        (gpdf_bookmarks_view_populate_idle):
1309        (gpdf_bookmarks_view_set_pdf_doc):
1310        Now populate bookmarks tree in idle func.
1311        (gpdf_bookmarks_view_get_tools_menu): Used
1312        gpdf_bookmarks_view_have_outline_items to
1313        disable tools menu creation when no bookmarks
1314        availables.
1315
13162004-01-20  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1317
1318        * xpdf/tests/test-pdf-loading.cc (TEST_NEW):
1319        Removed unused pdf_doc var.
1320
1321        * shell/tests/test-uri-input.c: Added decl for
1322        setup and reat_down to avoid gcc warnings.
1323
1324        * xpdf/gpdf-stock-icons.c (GPDF_ADD_STOCK_ICON):
1325        Add init value for icon_set vars to avoid warning.
1326
1327        * xpdf/gpdf-persist-stream.cc
1328        (gpdf_persist_stream_create_password_dialog): Added
1329        g_signal_connect for help button.
1330
1331        * xpdf/gpdf-control.cc: Removed unused
1332        gpdf_control_get_title method. Also removed some
1333        unused vars.
1334
1335        * xpdf/gpdf-thumbnails-view.cc:
1336        * xpdf/gpdf-bookmarks-view.cc:
1337        * xpdf/gpdf-annots-view.cc: Removed undefined
1338        class_finalize method decl, view_init unused method,
1339        and some unused vars.
1340
1341        * xpdf/Thumb.cc (ThumbColorMap::ThumbColorMap): Changed
1342        field init order to match decl and to avoid warning.
1343        Removed several unused vars.
1344        (Thumb::Thumb): Removed unused vars.
1345        (Thumb::getPixbufData): Removed unused vars.
1346
1347        * xpdf/TextOutputDev.cc (TextPage::coalesce): Init a var
1348        to avoid warning.
1349
1350        * xpdf/GPOutputDev.cc (GPOFontMap::~GPOFontMap): Changed
1351        param named to avoid shadowing of the xref class field and
1352        the associated warning.
1353
1354        * xpdf/Makefile.am (INCLUDES):
1355        * shell/Makefile.am (INCLUDES):
1356        * lib/ggv-sidebar/Makefile.am (INCLUDES):
1357        * configure.in: Changed the way WARN_CFLAFS & WARN_CXXFLAGS
1358        were passed to compiler. Now use CFLAGS/CXXFLAGS in configure
1359        instead of INCLUDES in some Makefiles.
1360
13612004-01-19  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1362
1363        * xpdf/gpdf-control.cc (MENU_FIT_WIDTH_PATH): one more "Zoom Items
1364        Placeholder" occurence. (see 2004-01-13)
1365
1366        * gpdf.desktop.in (_Name, _Comment): short and sweet,
1367        by Ross Burton and Alexander Winston (Bug #131906).
1368
13692004-01-18  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1370
1371        * xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_construct):
1372        Complement for Bug #131798: Removed shadow from scrolled
1373        window to get the same look as nautilus.
1374
1375        * xpdf/gpdf-annots-view.cc (gpdf_annots_view_construct):
1376        Complement for Bug #131798: Removed shadow from scrolled
1377        window to get the same look as nautilus.
1378
1379        * xpdf/gpdf-sidebar.c (gpdf_sidebar_instance_init):
1380        Changed sidebar title frame shadow type. It was ETCHED_IN
1381        and it make it look slightly different than the Nautilus
1382        sidebar one. With GTK_SHADOW_NONE both looks the same.
1383        This fix bug #131798
1384        (gpdf_sidebar_instance_init): Also changed arrow box shadows
1385        as the ones in nautilus.
1386
1387        * xpdf/gpdf-control.cc (gpdf_control_save_sidebar_state):
1388        Changed the source for the CONF_WINDOWS_SHOW_SIDEBAR
1389        value. It was GTK_WIDGET_MAPPED, but it do not run anymore.
1390        Now use GTK_WIDGET_VISIBLE.
1391        Fix for Bug #131776.
1392
13932004-01-17  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1394
1395        * xpdf/gpdf-control.cc (gpdf_control_private_error_dialog)
1396        (gpdf_control_private_warn_dialog)
1397        (gpdf_control_private_info_dialog): Ok -> GTK_STOCK_OK, suggested
1398        by Christian Neumair.
1399        (gpdf_control_private_question_dialog): unused and might encourage
1400        use of Yes/No dialogs: remove
1401        (gpdf_control_private_display_help): use "%s", not <%s>.
1402
1403        * xpdf/gpdf-control-private.h (gpdf_control_private_question_dialog):
1404        remove prototype.
1405
1406        * gpdf.schemas.in: removed the not really long "long" descriptions
1407        to reduce string count. Suggested by Christian Neumair.
1408
14092004-01-17  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1410
1411        * xpdf/gpdf-control-ui.xml: Changed 'Side Pane' in
1412        'Sidebar' to be consistent with other designation for
1413        this widget.
1414        This fix Bug #131733.
1415
14162004-01-16  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1417
1418        * configure.in: Add test to check enable_deprecation_errors
1419        value in [action-if-found] arg of AC_ARG_ENBALE in order
1420        to correctly handle --disable-deprecation-errors.
1421        Same changes for annotations_view AC_ARG_ENABLE.
1422
1423        * xpdf/Makefile.am (EXTRA_DIST): Changed value according
1424        to USE_ANNOTS_VIEW cond in order to include annotations view
1425        icons in dist tarball (when annots-view disabled).
1426
14272004-01-15  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1428
1429        * xpdf/gpdf-view.cc (gpdf_view_link_action_uri)
1430        (gpdf_view_link_action_uri):
1431        * xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_popup_menu_item_generate_cb)
1432        (gpdf_thumbnails_view_popup_menu_item_generate_all_cb):
1433        * xpdf/gpdf-annots-view.cc (gpdf_annots_view_popup_menu_item_filter_cb)
1434        (gpdf_annots_view_popup_menu_item_plugins_cb):
1435        Fix for Bug #131501.
1436        Some messages punctuations were misplaced.
1437        A syntax error was also corrected in the word "notification".
1438
14392004-01-14  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1440
1441        * xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_scroll_region_coord):
1442        Changed abs with labs to remove ambiguity on Solaris
1443        Bug #131449
1444
14452004-01-13  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1446
1447        * configure.in, NEWS: Version 0.122.
1448
14492004-01-13  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1450
1451        * xpdf/gpdf-control-ui.xml: rename "View Items Placeholder" back
1452        to "Zoom Items Placeholder", put ViewSidebar outside the
1453        placeholder.
1454
1455        * xpdf/GPOutputDev.cc (getFontFaceEmbedded): port Xpdf's support
1456        for embedded TrueType fonts.
1457
1458        * xpdf/gpdf-thumbnails-view.cc
1459        (gpdf_thumbnails_view_get_tools_menu): we can't generate
1460        thumbnails yet, therefore disable the (empty) tools menu.
1461
1462        * xpdf/gpdf-sidebar.c: disable remove button, because we don't
1463        have remove sidebar panes yet.
1464
1465        * configure.in: --disable-annotations-view ->
1466        --enable-annotations-view for ui-freeze.
1467
1468        * xpdf/gpdf-thumbnails-view.cc (gpdf_thumbnails_view_canvas_outline_event_cb):
1469        comment out debug spew.
1470
1471        * xpdf/Makefile.am: fixes for USE_ANNOTS_VIEW conditional.
1472
1473        * xpdf/gpdf-view.cc (gpdf_view_setup_page_transform)
1474        (gpdf_view_link_action_goto, gpdf_view_link_action_named)
1475        (gpdf_view_link_clicked_cb, gpdf_view_scroll_adjustments_changed_cb)
1476        (gpdf_view_set_pdf_doc):       
1477        * xpdf/gpdf-control.cc (gpdf_control_class_init):
1478        * xpdf/gpdf-control-ui.xml:
1479        * xpdf/bonobo-application-x-pdf.cc:
1480        * gpdf.spec.in (Requires):
1481        * configure.in: Revert disapproved changes.
1482
14832004-01-13  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1484
1485        * xpdf/Makefile.am (STOCK_ANNOTS_ICONS, ANNOTS_VIEW_SRCS):
1486        Changed variables assignement to avoid undefined
1487        message from automake-1.4.
1488
1489        * gpdf.spec.in:
1490        Removed junk help files in %files list.
1491        Added gnome--pdf.png icon.
1492
1493        * xpdf/Page.cc (Page::displaySlice):
1494        Changed the size of the statements
1495        enclosed in ifdef USE_ANNOTS_VIEW in order
1496        to disable annotations display when annots
1497        view is unused.
1498
1499        * xpdf/gpdf-bookmarks-view.cc:
1500        * xpdf/gpdf-thumbnails-view.cc:
1501        * xpdf/gpdf-annots-view.cc:
1502        Changed the way to retrieve menu item widgets
1503        for popup menus. gnome_app_find_menu_pos always
1504        return the same widget ??? now use index in
1505        GnomeUIInfo struct.
1506
1507        * xpdf/gpdf-stock-icons.h: Added aconf.h
1508        to get USE_ANNOTS_VIEW def.
1509
1510        * xpdf/tests/test-gpdf-view.cc (TEST_NEW):
1511        Added new param to gpdf-view constructor.
1512        NULL instead of control for the test.
1513
1514        * xpdf/tests/.cvsignore: Add .libs & .deps
1515
1516        * xpdf/Thumb.cc:
1517        * xpdf/Thumb.h: Add implem for Thumb object
1518        parsing.
1519
1520        * xpdf/prefs-strings.h: Defines for gconf keys
1521
1522        * xpdf/PDFDoc.h:
1523        * xpdf/PDFDoc.cc: Added annots display CB.
1524
1525        * xpdf/Page.h: Added getThumb method. Added annots
1526        display CB decl. Added Thumb object field for
1527        thumbnails management.
1528
1529        * xpdf/Page.cc (Page::Page): Added thumb object
1530        parsing.
1531        (Page::display) (Page::displaySlice): Add CB for
1532        annotations in Page display.
1533        (displaySlice):
1534        Added conditional display of annotation in order to
1535        avoid them when USE_ANNOTS_VIEW is not defined.
1536
1537        * xpdf/Outline.cc: Fixed Outline object parsing.
1538
1539        * xpdf/Link.cc: Changed some error handling
1540        to make a difference between two parse actions
1541        and have a better report (needed for debug).
1542
1543        * xpdf/Makefile.am:
1544        Add conditional ANNOTS_VIEW_SRCS.
1545        Change eog-hig-dialog in gpdf-hig-dialog.
1546        Added new files (srcs & icons) for sidebar and views.
1547
1548        * xpdf/gpdf-view.h:
1549        * xpdf/gpdf-view.cc:
1550        Add sidebar views interface.
1551
1552        * xpdf/gpdf-thumbnails-view.h:
1553        * xpdf/gpdf-thumbnails-view.cc:
1554        Implementation of thumbnails view.
1555
1556        * xpdf/gpdf-stock-icons.h:
1557        * xpdf/gpdf-stock-icons.c: Add icons for
1558        sidebar views (bookmarks, thumbnails and
1559        annotations).
1560
1561        * xpdf/gpdf-sidebar.h:
1562        * xpdf/gpdf-sidebar.c:
1563        Sidebar implem inspired from Galeon's one.
1564        Could remove soon the delete page button.
1565
1566        * xpdf/gpdf-persist-stream.cc
1567        (gpdf_persist_stream_on_helpbutton_clicked):
1568        Added help button and its callback
1569        for password dialog.
1570        (gpdf_persist_stream_create_password_dialog):
1571        Merged from HEAD (one dialog for both password).
1572
1573        * xpdf/gpdf-persist-file.cc
1574        (gpdf_persist_file_on_helpbutton_clicked):
1575        Added help button and its callback
1576        for password dialog.
1577        (gpdf_persist_file_create_password_dialog):
1578        Merged from HEAD (one dialog for both password).
1579
1580        * xpdf/gpdf-marshal.list: Added marshalers
1581        VOID:POINTER,INT VOID:POINTER,INT,BOOLEAN and
1582        VOID:INT,INT,INT,INT,INT.
1583
1584        * xpdf/gpdf-hig-dialog.c:
1585        * xpdf/gpdf-hig-dialog.h: Reused eog HIG dialog
1586        in GPdf.
1587
1588        * xpdf/gpdf-control.cc (gpdf_control_private_set_status)
1589        (gpdf_control_private_status_timeout, gpdf_control_private_push)
1590        (gpdf_control_private_pop, gpdf_control_private_clear_stack)
1591        (gpdf_control_private_set_fraction)
1592        (gpdf_control_private_set_pulse_step, gpdf_control_private_pulse)
1593        (gpdf_control_private_refresh, gpdf_control_private_set_cursor)
1594        (gpdf_control_private_set_wait_cursor)
1595        (gpdf_control_private_reset_cursor)
1596        (gpdf_control_private_get_bookmarks_view)
1597        (gpdf_control_private_get_thumbnails_view)
1598        (gpdf_control_private_get_annots_view)
1599        (gpdf_control_private_destroy_dialog)
1600        (gpdf_control_private_error_dialog)
1601        (gpdf_control_private_warn_dialog)
1602        (gpdf_control_private_info_dialog)
1603        (gpdf_control_private_question_dialog)
1604        (gpdf_control_private_display_help):
1605        control-private funcs that temporary stay
1606        in gpdf-control but will move to avoid
1607        dependency on gpdf-control.
1608        (gpdf_control_no_postscript_printer_alert):
1609        Changed eog_hig_dialog to gpdf_hig_dialog.
1610        (gpdf_control_read_sidebar_state)
1611        (gpdf_control_save_sidebar_state, gpdf_control_activate_sidebar):
1612        Support for activating sidebar and saving
1613        restoring its state.
1614        (gpdf_control_get_title, gpdf_control_get_bookmarks_view)
1615        (gpdf_control_get_thumbnails_view, gpdf_control_get_annots_view) :
1616        Sidebar internal accessors.
1617        (gpdf_control_update_toggles)
1618        (gpdf_control_view_sidebar_changed_cb)
1619        (gpdf_control_sidebar_close_requested_cb)
1620        (gpdf_control_bookmark_selected_cb)
1621        (gpdf_control_thumbnail_selected_cb)
1622        (gpdf_control_annotation_selected_cb)
1623        (gpdf_control_annotation_toggled_cb)
1624        (gpdf_control_sidebar_page_changed_cb):
1625        Sidebar events management.
1626        (gpdf_control_setup_view_widgets):
1627        Setup sidebar and its pages. Add gnome app bar and
1628        necessary layout.
1629        (gpdf_control_disconnected):
1630        Save sidebar state when component disconnect.
1631        (gpdf_control_dispose):
1632        Dispose memory when component released.
1633        (gpdf_control_class_init):
1634        Connect compnent methods. Added global params
1635        instanciation and stock icons init.
1636
16372004-01-12  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1638
1639        * xpdf/gpdf-control.cc: Added support for sidebar.
1640        Replaced misc string literal with defines. Added
1641        AppBar for status and advancement control.
1642        The Annots view is conditionned by configure var
1643        and define USE_ANNOTS_VIEW.
1644
1645        * xpdf/gpdf-control-ui.xml: Add accelerator for
1646        Print (Ctrl-P). Changed 'Zoom Items Placeholder'
1647        in 'View Items Placeholder'.
1648        Added ViewSidebar menuitem (F9). This accel is
1649        a potential conflict with the nautilus one (when
1650        using gpdf nautilus view).
1651        Changed label of Print toolitem to "Print Document".
1652
1653        * xpdf/gpdf-control-private.h: The funcs grouped
1654        in this header are for now in gpdf-control but
1655        will move soon. They are utility funcs as
1656        status control, error/warning dialog control, etc.
1657
1658        * xpdf/gpdf-bookmarks-view.h:
1659        * xpdf/gpdf-bookmarks-view.cc: Implem for
1660        the bookmarks view embed in the sidebar.
1661
1662        * xpdf/gpdf-annots-view.h:
1663        * xpdf/gpdf-annots-view.cc: Implem for the
1664        annotations view embed in the sidebar. This view
1665        is experimental and may be disabled through
1666        the configure arg --disable-annotations-view.
1667
1668        * xpdf/eel-gconf-extensions.h:
1669        * xpdf/eel-gconf-extensions.c: Convinient
1670        funcs for gconf usage. These files will move to
1671        the lib directory in order for them to be used
1672        by gnome-pdf-viewer and gpdf.
1673
1674        * xpdf/bonobo-application-x-pdf.cc: Moved
1675        global params instanciation and stock icons
1676        init from bonobo-application-x-pdf.cc to
1677        gpdf-control class init.
1678
1679        * xpdf/Annot.h: Added getSubtype, getDict and
1680        getRefNum/Gen methods for easier annots
1681        identification.
1682        Added dict & subtype fields.
1683
1684        * xpdf/Annot.cc (Annot::Annot): Extended Annot
1685        object to read several kind of annotations.
1686        Some more work (in coord with xpdf) is needed...
1687        (Annots::Annots): Same extensions on annotations
1688        collection object.
1689
1690        * po/.cvsignore: Added .intltool*
1691
1692        * shell/tests/.cvsignore:
1693        * lib/recent-files/.cvsignore:
1694        * lib/ggv-sidebar/.cvsignore: Added .deps & .libs.
1695
1696        * help/C/gpdf.xml: Added a placeholder for password
1697        dialog documentation (also usefull for testing help
1698        button in password dialog).
1699
1700        * Makefile.am (EXTRA_DIST): Added schemas
1701        and spec files.
1702        (schemadir): Definition
1703        (schema_DATA): Definition
1704        Added schemas rules and local target if schemas
1705        have to be installed.
1706        (ACLOCAL_AMFLAGS): Added gnome2-macros to avoid
1707        failure when triggered from makefile (maintainers
1708        rules).
1709        (CLEANFILES): Added schemas file
1710
1711        * .cvsignore: Added schemas & spec files.
1712
1713        * configure.in: Updated required specs.
1714        Removed useless AC_CANONICAL_HOST.
1715        Made --enable-deprecation-errors arg the default
1716        for this dev version.
1717        Add statements for checking gconf commands availability.
1718        Updated PKG_CHECK_MODULES with new requirements.
1719        Added --disable-annotations-view arg for cond annots view
1720        in sidebar.
1721        Added gpdf.schemas & gpdf.spec in AC_OUPUT macros.
1722
1723        * gpdf.spec.in: Creation of spec file.
1724
1725        * gpdf.schemas.in: Creation of schemas file for GPdf.
1726
17272004-01-11  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1728
1729        * xpdf/gpdf-persist-file.cc (gpdf_persist_file_get_password):
1730        (gpdf_persist_file_get_owner_password)
1731        (gpdf_persist_file_get_user_password): merge, use only one passwd
1732        dialog.
1733        (impl_bonobo_persist_file_load): use it, ask for the passwd once.
1734
1735        * xpdf/gpdf-persist-stream.cc (gpdf_persist_stream_get_password):
1736        (gpdf_persist_file_get_owner_password)
1737        (gpdf_persist_file_get_user_password)
1738        (impl_bonobo_persist_stream_load): ditto.
1739
1740        * xpdf/gpdf-stock-icons.c (gpdf_stock_icons_init): if fit-width
1741        icon is not installed, use stock fit icon.
1742
17432004-01-10  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1744
1745        * shell/gpdf-window-ui.xml:
1746        * shell/gpdf.c (gpdf_window_open): desensitize full screen command
1747        until we have a pdf.
1748
1749        * shell/gpdf.c (exit_fullscreen_button_clicked_cb)
1750        (update_exit_fullscreen_popup_position, screen_size_changed_cb)
1751        (gpdf_window_init_fullscreen_popup): exit full screen button,
1752        stolen from epipahny.
1753        (gpdf_window_window_state_changed): use it.
1754
1755        * shell/gpdf-window-ui.xml:
1756        * shell/gpdf.c:
1757        (gpdf_window_set_fullscreen, gpdf_window_window_state_changed)
1758        (listener_ViewFullScreen, gw_setup_toplevel_ui)
1759        (gpdf_window_construct): implement simple full screen mode.
1760
1761        * gpdf.applications: add startup_notify=true.
1762
17632004-01-04  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1764
1765        * xpdf/GNOME_PDF.server.in.in: more strings for more fine-grained
1766        translations. (cf. Bug #45462)
1767
17682003-01-03  Roozbeh Pournader  <roozbeh@sharif.edu>
1769
1770        * configure.in: Added "fa" (Persian) to ALL_LINGUAS.
1771
17722004-01-03  Robert Sedak  <robert.sedak@sk.htnet.hr>
1773
1774        * configure.in: Added "hr" in ALL_LINGUAS.
1775
17762003-12-30  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1777
1778        * shell/gpdf.c (main, gw_control_load_pdf): replace deprecated
1779        calls.
1780
1781        * shell/gpdf-recent-view-toolitem.c
1782        (gpdf_recent_view_toolitem_popup): replace deprecated
1783        gnome_popup_menu_do_popup_modal with gtk_menu_popup, adjust
1784        parameter list. Suggested by Ali Akcaagac.
1785        (gpdf_recent_view_toolitem_button_press_event)
1786        (gpdf_recent_view_toolitem_key_press_event): adjust param. list.
1787
1788        * xpdf/gtkgesture.c (gesture_data_append_point)
1789        (gtk_gesture_handler_attach): don't use deprecated gdk_gc_unref or
1790        gtk_signal_connect.     
1791
1792        * configure.in: add --enable-deprecation-errors option, inspired
1793        by ggv's configure.
1794
1795        * xpdf/Makefile.am, shell/Makefile.am,
1796        lib/recent-files/Makefile.am, lib/ggv-sidebar/Makefile.am
1797        (INCLUDES): use GPDF_DEPRECATED_CFLAGS.
1798
17992003-12-29  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1800
1801        * .cvsignore: ignore depcomp, stamp-h1.
1802
1803        * configure.in: post-release version bump.
1804
1805        * xpdf/pdf-properties-display.c, xpdf/pdf-info-dict-util.cc,
1806        xpdf/page-control.c, xpdf/gpdf-view.cc,
1807        xpdf/gpdf-links-canvas-layer.cc, xpdf/gpdf-link-canvas-item.cc,
1808        shell/gpdf-recent-view-toolitem.c, shell/eel-vfs-extensions.c:
1809        Use glib/gi18n.h instead of libgnome/gnome-i18n.h
1810
18112003-12-29  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1812
1813        * configure.in: Version 0.121.
1814
1815        * NEWS: upd.
1816
18172003-12-28  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1818
1819        * configure.in: emit a warning if font embedding is disabled.
1820
1821        * xpdf/GPOutputDev.cc (lookupGlyph): new, a little bit better than
1822        nothing.
1823        (drawString): use lookupGlyph. Fixes a part of bug #116772.
1824
18252003-12-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1826
1827        * lib/recent-files/Makefile.am (INCLUDES): eek, some
1828        _DISABLE_DEPRECATED defines were still here. Remove them.
1829
1830        * shell/gpdf-recent-view-toolitem.c
1831        (gpdf_recent_view_toolitem_instance_init): unset CAN_FOCUS flag,
1832        for consistency with other toolbar button items. In response to
1833        bug #126191.
1834
1835        * Makefile.am, help/C/Makefile.am, help/es/Makefile.am: fix
1836        distcheck for scrollkeeper stuff.
1837
1838        * Makefile.am: delete intltool-* on distclean, not clean, fixes
1839        make clean; make.
1840
18412003-12-21  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1842
1843        gcc 3.3.3 has better diagnostics :-)
1844       
1845        * xpdf/gpdf-persist-file.cc (gpdf_persist_file_unload):
1846        add a missing ``= NULL''
1847        (gpdf_persist_file_on_cancelbutton_clicked)
1848        (gpdf_persist_file_create_password_dialog)
1849        (gpdf_persist_file_destroy): kill dead code.
1850
1851        * xpdf/gpdf-persist-stream.cc
1852        (gpdf_persist_file_on_cancelbutton_clicked)
1853        (gpdf_persist_file_create_password_dialog): ditto.
1854
1855        * xpdf/gpdf-control.cc (gpdf_control_get_filenam)
1856        (gc_ui_set_pixbufs, gpdf_control_constructor): kill unused
1857        variables.
1858
1859        * xpdf/gpdf-view.cc (gpdf_view_save_as): ditto.
1860
1861        * xpdf/bonobo-application-x-pdf.cc: kill unused factory global.
1862
18632003-12-20  Arafat Medini <lumina@silverpen.de>
1864                                                                               
1865        * configure.in: Added  Arabic Locale "ar" to ALL_LINGUAS
1866
18672003-12-13  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1868
1869        * configure.in: drop libgnomeui-2.0 >= 2.4.0 requirement.
1870
1871        * xpdf/gpdf-persist-file.cc (gpdf_persist_file_create_password_dialog),
1872        * xpdf/gpdf-persist-stream.cc (gpdf_persist_file_create_password_dialog):
1873        use GTK_STOCK_DIALOG_AUTHENTICATION, not GNOME_STOCK_AUTHENTICATION.
1874
1875        * help/es/.cvsignore: add.
1876
1877        * .cvsignore, Makefile.am (inltool_extra): update for
1878        intltool 0.28.
1879
1880        * shell/gpdf.c (set_window_icon_default, main): set the default
1881        window icon.
1882
1883        * shell/Makefile.am (INCLUDES): define GNOMEICONDIR
1884
1885        * shell/gpdf.c, xpdf/gpdf-control.cc: don't
1886        gtk_window_set_default_size (cf. #128636)
1887
1888        * configure.in: GtkFileChooser requires gtk+ 2.3
1889
18902003-12-08  Jan Arne Petersen  <jpetersen@uni-bonn.de>
1891
1892        * shell/gpdf.c: (file_dialog_response), (gw_ask_for_uri):
1893        * xpdf/gpdf-control.cc: Replace GtkFileSelection with
1894        GtkFileChooser.
1895
18962003-12-13  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1897
1898        * help/es/gpdf.xml, help/es/gpdf-es.omf: made them xmllint clean.
1899
19002003-12-11  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
1901
1902        * help/es, configure.in, help/Makefile.am: Added Spanish help
1903
19042003-12-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1905
1906        * xpdf/page-control.c (gpdf_page_control_expose)
1907        (gpdf_page_control_class_init): try to look better with some theme
1908        engines (bug and patch for similar problem pointed out by
1909        hk (Evandro)).
1910
1911        * test-files/encrypted.pdf: an encrypted pdf, passwords are Foo
1912        and Bar.
1913
1914        * test-files/Makefile.am (EXTRA_DIST): dist encrypted.pdf.
1915
1916        * xpdf/gpdf-links-canvas-layer.cc: can't make canvas-item
1917        properties construct time-only. Fixes links with glib 2.3.
1918
1919        * configure.in: post-release version bump.
1920
19212003-12-08  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1922
1923        * configure.in: Version 0.120, add warning that this is not
1924        stable.
1925
1926        * NEWS: merge news from stable, update.
1927
1928        * README.GPdf: update.
1929
1930        * xpdf/gpdf-properties-dialog.glade: declare some atk relations.
1931
1932        * xpdf/page-control.c (gpdf_page_control_instance_init)
1933        (gpdf_page_control_setup_at): set some atk names.
1934
1935        * xpdf/gpdf-view.cc (gpdf_view_setup_at): set atk role and name
1936        for the GPdfView, fixes #127897.
1937
1938        * configure.in: require libgnomeui-2.0 >= 2.4.0 for authentication
1939        stock icon.
1940
1941        * xpdf/gpdf-persist-file.cc, xpdf/gpdf-persist-stream.cc
1942        (gpdf_persist_file_create_password_dialog)
1943        (gpdf_persist_file_get_password)
1944        (gpdf_persist_file_get_owner_password)
1945        (gpdf_persist_file_get_user_password): HIGgify a bit: remove
1946        window title, remove unused help button, rename OK button, add
1947        authentication stock icon, frob widget spacing.
1948
1949        * xpdf/gpdf-control.cc (gpdf_control_enable_ui): enable print verb
1950        only if the document allows printing.
1951
19522003-12-07  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1953
1954        * xpdf/gpdf-control.cc (gpdf_control_enable_ui): handle FileSaveAs
1955        as well.
1956
19572003-12-06  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1958
1959        * xpdf/gpdf-persist-file.cc (impl_bonobo_persist_file_load): if
1960        the uri looks like a local path (no uri scheme), transform to a
1961        uri, escaping special chars like '%'. Fixes #128171.
1962
1963        * shell/gpdf-recent-view-toolitem.c
1964        (gpdf_recent_view_toolitem_instance_init): set atk name for the
1965        drop down arrow. Fixes #126190.
1966        Patch by Padraig O'Briain <padraig.obriain@sun.com>
1967        Fix copyright lines to include James Willcox (for the gedit code).
1968       
1969        * xpdf/gpdf-view.cc (gpdf_view_save_as): Comment that it expects
1970        the filename in on-disk encoding.
1971
1972        * xpdf/gpdf-control.cc (gpdf_control_get_filename): comment why it
1973        doesn't return utf-8, remove FIXME; s/const gchar*/gchar*/ because
1974        we return g_strdupped memory. Fix fileselection title.
1975        (verb_SaveAs_cb): plug leak (s/const gchar*/gchar*/)
1976
1977        * xpdf/gpdf-control-ui.xml: renamed "Save document as" to "Save a
1978        Copy" because we continue displaying the original file.
1979
19802003-12-01      Mohammad DAMT  <mdamt@bisnisweb.com>
1981
1982        * configure.in: Added "id" to ALL_LINGUAS
1983        * po/id.po: Added Indonesian Translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1984
19852003-11-18  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
1986
1987        * shell/gpdf.c (gpdf_window_open):
1988        Changed bonobo_object_unref with gtk_widget_destroy (more
1989        appropriate :-).
1990
1991        * xpdf/gpdf-persist-stream.cc (impl_bonobo_persist_stream_load):
1992        * xpdf/gpdf-persist-file.cc (impl_bonobo_persist_file_load):
1993        Fixed for BUG# 116663.
1994        Raise exception for password failure to be able to cancel
1995        window opening when catched in gpdf window code.
1996
1997        * shell/gpdf.c:
1998        Fixed for BUG# 116663.
1999        (open_request_handler):
2000        Changed window creation flow to be able to correctly
2001        handle exceptions.
2002        Moved title update (removed here after) at this point
2003        just before window is mapped.
2004        (gw_add_control_to_ui): Removed activation of control
2005        widget (to do it later in creation flow).
2006        (gw_control_load_pdf): Removed update of title to do
2007        it later also.
2008        (gpdf_window_open): Changed window open flow to take
2009        into account exceptions. Added activation of control
2010        if no exception raised.
2011
2012        * xpdf/gpdf-control.cc (gpdf_control_setup_persist):
2013        Merged from gpdf-outlines branch.
2014        Give bonobo control to bonobo persistant
2015        objects for them to handle password dialogs as
2016        transients.
2017
2018        * xpdf/gpdf-persist-stream.h:
2019        * xpdf/gpdf-persist-stream.cc:
2020        (gpdf_persist_file_on_entry_activate)
2021        (gpdf_persist_file_on_cancelbutton_clicked)
2022        (gpdf_persist_file_on_okbutton_clicked)
2023        (gpdf_persist_file_create_password_dialog)
2024        (gpdf_persist_file_get_password)
2025        (gpdf_persist_file_get_owner_password)
2026        (impl_bonobo_persist_stream_load)
2027        (gpdf_persist_stream_set_control):
2028        Merged from gpdf-outlines branch.
2029        Add password protected documents support.
2030        Fix BUG# 116663
2031
2032        * xpdf/gpdf-persist-file.h:
2033        * xpdf/gpdf-persist-file.cc:
2034        (gpdf_persist_file_on_entry_activate)
2035        (gpdf_persist_file_on_cancelbutton_clicked)
2036        (gpdf_persist_file_on_okbutton_clicked)
2037        (gpdf_persist_file_create_password_dialog)
2038        (gpdf_persist_file_get_password)
2039        (gpdf_persist_file_get_owner_password)
2040        (gpdf_persist_file_get_user_password)
2041        (impl_bonobo_persist_file_load, gpdf_persist_file_set_control):
2042        Merged from gpdf-outlines branch.
2043        Add password protected documents support.
2044        Fix BUG# 116663
2045
20462003-11-17  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
2047
2048        * xpdf/gpdf-control-ui.xml:
2049        * xpdf/gpdf-view.cc (gpdf_view_save_as):
2050        * xpdf/gpdf-control.cc (gpdf_control_get_filename)
2051        (verb_SaveAs_cb):
2052        Merge SaveAs feature from gpdf-outlines branch.
2053        Fix for BUG# 117596
2054
2055        * shell/gpdf.c (gw_ask_for_uri, gw_open_dialog):
2056        Merged "Open multiple files" feature from
2057        gpdf-outlines branch.
2058        Fix for BUG# 118942.
2059
20602003-11-11  Padraig O'Briain  <padraig.obriain@sun.com>
2061
2062        * xpdf/bonobo-application-x-pdf.cc (main): call gnome_program_init
2063        ( fixes #126516, ignored gconf a11y setting).
2064
20652003-11-03  Shakti  <shakti.sen@wipro.com>
2066
2067        * gpdf.desktop.in:
2068        Added "%U" as a Exec parameter variable to handle dnd PDF files on launcher.
2069        Fixes the bug#126160
2070         
20712003-10-27  Sanlig Badral  <badral@openmn.org>
2072
2073        * configure.in: Added "mn" to ALL_LINGUAS.
2074
20752003-10-14  Chee Bin HOH  <cbhoh@mimos.my>
2076
2077        * help/C/gpdf.xml: upd.
2078
2079        * shell/gpdf.c (verb_HelpAbout_cb): documentation
2080        credits.
2081        (verb_HelpContents_cb): new.   
2082
20832003-10-13  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2084
2085        from stable branch:
2086       
2087        * xpdf/gpdf-control.cc (idle_print_handler): fix off-by-one bug
2088        (gpdf_control_print, print_to_file_workaround): make print-to-file
2089        work, needs investigation in gnome-print.
2090
20912003-10-03  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
2092
2093        * xpdf/gpdf-control.cc (persist_file_loading_finished_cb):
2094        Fix for BUG #123638.
2095        Add call to gnome_vfs_unescape_string_for_display to remove
2096        escaped chars in title.
2097
2098        * help/C/figures/gpdf_start_window.png:
2099        * help/C/legal.xml:
2100        * help/C/gpdf.xml:
2101        * help/C/Makefile.am:
2102        * help/C/gpdf-C.omf:
2103        * help/C/.cvsignore:
2104        * help/Makefile.am:
2105        * help/xmldocs.make:
2106        * help/.cvsignore:
2107        * help/omf.make: Added help written by Chee Bin HOH.
2108
2109        * Makefile.am (SUBDIRS): Add help as a SUBDIR.
2110
2111        * configure.in: Add help/Makefile and help/C/Makefile in
2112        AC_OUTPUT directive.
2113
2114        === this is HEAD === stable branch is gnome-2-4 ===
2115       
21162003-09-30  Christian Rose  <menthos@menthos.com>
2117
2118        * configure.in: Added "eu" to ALL_LINGUAS.
2119
21202003-09-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2121
2122        * configure.in: on HP-UX with gcc 3.3, define __STDC_EXT__ (#121730).
2123
21242003-09-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2125
2126        * xpdf/gpdf-control.cc (idle_print_handler): forgot to mark one
2127        message for translation. Sorry.
2128
21292003-09-26  Christian Neumair  <chris@gnome-de.org>
2130
2131        * xpdf/gpdf-control.cc (verb_FileProperties_cb):
2132        * xpdf/gpdf-properties-dialog.glade: HIGify document property dialog.
2133
2134        * xpdf/gpdf-print-progress-dialog.glade: HIGify print progress dialog.
2135
21362003-09-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2137
2138        * xpdf/gpdf-control.cc (gpdf_print_job_prepare, idle_print_handler:
2139        (gpdf_control_print_job_print, using_postscript_printer)
2140        (gpdf_control_no_preview_alert, gpdf_control_no_postscript_printer_alert)
2141        (gpdf_control_get_range_page, gpdf_control_print_dialog_new)
2142        (gpdf_control_print, verb_FilePrint_cb): implement printing.
2143        (gpdf_control_set_property): disable PersistStream implementation.
2144
2145        * xpdf/gpdf-print-progress-dialog.glade: add.
2146
2147        * xpdf/gpdf-control-ui.xml: add Print verb, menu item, tool item.
2148
2149        * xpdf/Makefile.am (libgpdf_a_SOURCES): include PSOutputDev
2150        (glade_DATA): add gpdf-print-progress-dialog.glade.
2151
2152        * xpdf/GNOME_PDF.server.in.in: don't advertise PersistStream
2153
2154        * configure.in: bump version to 0.110.99; require libgnomeprint >=
2155        2.3.0.
2156
21572003-09-22  Taneem Ahmed  <taneem@bengalinux.org>
2158
2159        * configure.in: Added "bn" to ALL_LINGUAS.
2160
21612003-09-08  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2162
2163        * configure.in, NEWS: Version 0.110.
2164
2165        * README.GPdf: add note about HP-UX + gcc 3.3 build (#121730).
2166
21672003-09-08  Mugurel Tudor  <mugurelu@go.ro>
2168
2169        * configure.in : Added "ro" to ALL_LINGUAS.
2170
21712003-09-04  Joël Brich  <joel.brich@laposte.net>
2172
2173        * configure.in : Added "eo" to ALL_LINGUAS.
2174
21752003-09-02  Gediminas Paulauskas  <menesis@delfi.lt>
2176
2177        * configure.in: Added lt to ALL_LINGUAS.
2178
21792003-08-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2180
2181        * configure.in: Version 0.106.
2182
2183        * NEWS: updated.
2184
2185        * README: point to README.GPdf.
2186
2187        * README.GPdf: new file.
2188
2189        * gnome-pdf.png: icon from gnome-icon-theme by Jimmac (Jakub
2190        Steiner).
2191
2192        * Makefile.am: dist the icon.
2193
21942003-08-25  Mark Finlay  <sisob@tuxfamily.org>
2195
2196        * gpdf.desktop.in: use gnome-pdf (gnome-icon-theme) icon.
2197
21982003-08-19  Yanko Kaneti <yaneti@declera.com>
2199
2200        * configure.in: (ALL_LINGUAS) Added Bulgarian (bg).
2201
22022003-08-18  Guntupalli Karunakar  <karunakar@freedomink.org>
2203
2204        * configure.in: Added "hi" to ALL_LINGUAS.
2205
22062003-08-12  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2207
2208        * xpdf/gpdf-control.cc (ui_component_set_sensitive): move up.
2209        (gpdf_control_enable_ui): new.
2210        (gc_enable_go_back_verbs, gc_enable_go_forward_verbs)
2211        (gc_enable_history_back_verbs, gc_enable_history_forward_verbs):
2212        replaced by gpdf_control_enable_ui.
2213        (gc_page_changed_enable_page_buttons, gpdf_control_activate)
2214        (gpdf_control_pdf_doc_changed): use gpdf_control_enable_ui,
2215        disable ui if pdf_doc == NULL.
2216
22172003-08-09  Sajith V.K  <sajith_vk@linuxmail.org>
2218
2219        * configure.in: Added "ml" (Malayalam) to ALL_LINGUAS.
2220
22212003-08-06  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2222
2223        * xpdf/eog-hig-dialog.c (eog_hig_dialog_new): add terminating
2224        NULL in g_object_set.
2225
22262003-07-29  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2227
2228        * NEWS, configure.in: Version 0.105
2229
2230        * shell/gpdf.c (verb_HelpAbout_cb): add Remi.
2231
22322003-07-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2233
2234        * test-files/Makefile.am (%.pdf): run pdftex in nonstopmode, let
2235        make ignore pdftex errors (we are only creating test files). Makes
2236        bug #114701 less severe.
2237
22382003-07-24  Dafydd Harries  <daf@parnassus.ath.cx>
2239
2240        * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2241
22422003-07-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2243
2244        * xpdf/gpdf-properties-dialog.glade: declared unused dialog title
2245        as not translatable. (Bug #118218).
2246
22472003-07-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2248
2249        * xpdf/pdf-info-dict-util.cc (pdf_doc_process_properties): added a
2250        comment for translators in front of Yes/No (Bug #118214).
2251
22522003-07-18  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2253
2254        * xpdf/gpdf-persist-file.cc (impl_bonobo_persist_file_load): use
2255        more informative error messages when emitting loading-failed. Kill
2256        gotos :-).
2257        Whitespace cleanups.
2258
2259        * xpdf/gpdf-control.cc (persist_file_loading_failed_cb): kill
2260        redundancy in error message; unset PDF document.
2261
2262        * xpdf/eog-hig-dialog.c (eog_hig_dialog_new): remove a newline
2263
22642003-07-17  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2265
2266        * xpdf/gpdf-persist-file.cc (gpdf_persist_file_class_init)
2267        (impl_bonobo_persist_file_load): emit (new) loading-failed signal
2268        if something goes wrong during load.
2269
2270        * xpdf/gpdf-persist-file.h: add slot for loading-failed.
2271
2272        * xpdf/gpdf-marshal.list: add VOID:STRING.
2273
2274        * xpdf/gpdf-links-canvas-layer.cc: fix include (thanks Remi).
2275
2276        * xpdf/gpdf-control.cc (gpdf_control_setup_persist)
2277        (gpdf_control_destroy): on loading-failed signal, display error
2278        alert.
2279
2280        * xpdf/eog-hig-dialog.h, xpdf/eog-hig-dialog.c: copied from eog;
2281        HIG conforming alert dialog.
2282
2283        * xpdf/Makefile.am (libgpdf_a_SOURCES): build eog-hig-dialog
2284
2285        * NEWS: updated.
2286       
22872003-07-17  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
2288
2289        * xpdf/gpdf-marshal.list (VOID:POINTER,INT)
2290        (VOID:INT,INT,INT,INT,INT): removed wrongly
2291        commited new marshalers. Should have gone to
2292        gpdf-outlines.
2293
22942003-07-06  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2295
2296        * xpdf/gpdf-persist-file.cc (gpdf_persist_file_class_init):
2297        rename set_pdf signal to loading_finished.
2298       
2299        * xpdf/gpdf-control.cc (persist_file_loading_finished_cb)
2300        (gpdf_control_setup_persist): ditto.
2301
2302        * xpdf/tests/test-pdf-loading.cc: ditto.
2303
2304        * xpdf/gpdf-persist-file.h: ditto.
2305
23062003-07-05  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2307
2308        * shell/gpdf.c (file_dialog_ok): if selected filename does not
2309        exist, try to do completion, never try to open.
2310
23112003-07-05  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2312
2313        * shell/gpdf.c (file_dialog_ok): don't try to open a
2314        directory. Code stolen from Gnumeric (gui-util.c).
2315        (file_dialog_cancel, file_dialog_delete_event, gw_ask_for_uri):
2316        hide the file selector before destroying it.
2317       
23182003-07-05  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2319
2320        * xpdf/gpdf-view.cc (gpdf_view_clear_history): implement.
2321        (gpdf_view_set_pdf_doc): clear history on set_pdf_doc (for
2322        nautilus).
2323
23242003-07-04  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2325
2326        * xpdf/gpdf-view.h: add scroll_to prototypes
2327
2328        * xpdf/gpdf-view.cc (gpdf_view_key_press_event): use
2329        gpdf_view_scroll_to_top and _bottom, kill superfluous/wrong
2330        do_scroll = TRUE statement (twice).
2331        (gpdf_view_scroll_to_top, gpdf_view_scroll_to_bottom): move above
2332        gpdf_view_page_prev.
2333        (gpdf_view_link_action_goto, gpdf_view_page_prev)
2334        (gpdf_view_page_next, gpdf_view_page_first, gpdf_view_page_last)
2335        (gpdf_view_back_history, gpdf_view_forward_history)
2336        (gpdf_view_key_press_event, gpdf_view_key_press_event): when
2337        jumping to another page, scroll to top of the page, except when
2338        browsing backwards with Backspace. Fixes #115173.
2339
2340        * xpdf/gpdf-control.cc (gc_set_page_cb): #115173 fix.
2341
23422003-07-04  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2343
2344        * xpdf/gpdf-view.cc (gpdf_view_scroll_to_top)
2345        (gpdf_view_scroll_to_bottom): implement.
2346
2347        * configure.in: bump version to 0.104.99.
2348
23492003-07-01  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2350
2351        * configure.in, NEWS: Version: 0.104.
2352
23532003-07-01  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2354
2355        * xpdf/tests/test-gpdf-control.cc (control_property_title): make
2356        it pass again.
2357
2358        * xpdf/GPOutputDev.cc: fix name of Dingbats font.
2359
23602003-07-01  Laurent Dhima  <laurenti@alblinux.net>
2361
2362        * configure.in: Added "sq" to ALL_LINGUAS.
2363
23642003-06-30  Alessio Frusciante  <algol@firenze.linux.it>
2365
2366        * configure.in (ALL_LINGUAS): added "it" (Italian).
2367
23682003-06-30  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2369
2370        * xpdf/gpdf-control.cc (persist_stream_set_pdf_cb)
2371        (persist_file_set_pdf_cb, persist_file_set_pdf_cb)
2372        (gpdf_control_get_title, gpdf_control_constructor)
2373        (property_bag_get_prop): Plug leak. Don't recompute the title
2374        everytime it is needed.  Silly Martin told Remi the wrong place
2375        for his change.
2376
23772003-06-28  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2378
2379        * xpdf/gpdf-font-face.h: change license from GPL v2 to GPL v2 or
2380        later.  (with Filip's permission)
2381
2382        * xpdf/gpdf-font-face.c: ditto.
2383
2384        * configure.in (ALL_LINGUAS): Added "mk" and "he".
2385        (EXTRA_GNOME_CFLAGS) Do not check for freetype explicitly.  Build
2386        fix suggested by Ali Akcaagac.
2387
2388        * NEWS: updated.
2389
23902003-06-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2391
2392        * xpdf/gpdf-font-face.c: GnomeFontFace wrapper class for embedded
2393        fonts. Originally by me, this class is from Filip Van Raemdonck.
2394
2395        * xpdf/gpdf-font-face.h: header for GPdfFontFace.
2396
2397        * xpdf/Makefile.am (libgpdf_a_SOURCES): build gpdf-font-face.[hc].
2398        (INCLUDES): propagate cflags for private gnome-print headers.
2399
2400        * xpdf/GPOutputDev.cc (getFontFaceEmbedded):
2401        s/gnome_font_face_download/gpdf_font_face_download/.
2402
2403        * configure.in (HAVE_FONT_EMBEDDING): compile with font-embedding
2404        if complete private gnome-print headers are installed.
2405
2406        * NEWS: updated.
2407
24082003-06-21  Remi Cohen-Scali  <remi@cohen-scali.com>
2409
2410        * xpdf/gpdf-control.cc (gpdf_control_get_title): Added
2411        URI manipulation stuff for removing file:// for title
2412        property.
2413
2414        * shell/gpdf.c (gpdf_window_update_window_title):
2415        Add handling for exception if PB cannot be retrieved.
2416        Also fix a typo about last bonobo_pbclient_get_string_with_default
2417        arg.
2418
24192003-06-17  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2420
2421        * xpdf/tests/test-gpdf-control.cc (control_property_title):
2422        * xpdf/gpdf-control.cc (gpdf_control_setup_property_bag):       
2423        * shell/gpdf.c (gpdf_window_update_window_title): plug property
2424        bag leak.
2425
2426        * configure.in: fix typo.
2427
24282003-06-15  Remi Cohen-Scali  <remi@cohen-scali.com>
2429
2430        * xpdf/gpdf-view.h:
2431        * xpdf/gpdf-view.cc: Add support for history navigation.
2432        (gpdf_free_history_node, gpdf_view_history_stack_page)
2433        (gpdf_view_back_history, gpdf_view_forward_history)
2434        (gpdf_view_is_first_history, gpdf_view_is_last_history): impl.
2435        (gpdf_view_goto_page_no_history): renamed from
2436        gpdf_view_goto_page, made static
2437        (gpdf_view_goto_page): new, history-aware.
2438       
2439        * xpdf/gpdf-control-ui.xml: Add UI controls for history
2440        navigation.
2441
2442        * xpdf/gpdf-control.cc (gc_page_changed_enable_page_buttons)
2443        (gc_enable_history_forward_verbs, gc_enable_history_back_verbs):
2444        Add update for history controls.
2445        (verb_GoHistoryPrev_cb, verb_GoHistoryNext_cb): Add callbacks and
2446        bonobo verbs for history controls.
2447        (gpdf_control_activate): pretend page change to update commands
2448        sensitivity.
2449        (gc_page_changed_enable_page_buttons): handle history buttons.
2450
24512003-06-11  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2452
2453        * xpdf/GPOutputDev.cc (drawString): don't draw glyphs for
2454        non-printing characters. Fixes #114939.
2455
24562003-06-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2457
2458        * shell/gpdf.c (gpdf_window_update_window_title)
2459        (gw_control_load_pdf): set window title according to control's
2460        title property.
2461
2462        * xpdf/tests/test-pdf-loading.cc: add test for getCurrentFile.
2463
2464        * xpdf/tests/test-gpdf-control.cc: add test for title property.
2465
2466        * xpdf/gpdf-persist-file.cc
2467        (impl_bonobo_persist_file_getCurrentFile): implement.
2468        (gpdf_persist_file_get_current_uri): implement.
2469
2470        * xpdf/gpdf-persist-file.h: declare
2471        gpdf_persist_file_get_current_uri
2472
2473        * xpdf/gpdf-control.cc (gc_page_changed_enable_page_buttons): do
2474        nothing unless activated.
2475        (gpdf_control_constructor, gpdf_control_setup_property_bag)
2476        (property_bag_get_prop): add a property bag to the control.
2477        (gpdf_control_get_title, persist_file_set_pdf_cb)
2478        (gpdf_control_destroy, persist_stream_set_pdf_cb): impl. title
2479        property (only an URI ATM).
2480
2481        * NEWS: update
2482
2483        * configure.in: bump version to 0.103.99.
2484
24852003-06-06  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2486
2487        * configure.in: Version 0.103.
2488
2489        * NEWS: update.
2490
2491        * lib/ggv-sidebar/Makefile.am (libggv_sidebar_a_SOURCES): include
2492        only files that are already needed.
2493
24942003-06-03  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2495
2496        * configure.in: generate lib/ggv-sidebar/Makefile.
2497
2498        * lib/Makefile.am (SUBDIRS): add ggv-sidebar.
2499
2500        * lib/ggv-sidebar/ggvutils.h, lib/ggv-sidebar/ggv-prefs.h:
2501        everything we need from the ggv files of the same name.
2502       
2503        * lib/ggv-sidebar/ggvutils.c: plus their implementation.
2504
2505        * lib/ggv-sidebar/Makefile.am: add ggvutils.[hc], ggv-prefs.h.
2506
2507        * xpdf/Makefile.am: link with ggv-sidebar.
2508
2509        * xpdf/gpdf-view.cc: implement GgvDocument interface.
2510        (gpdf_view_get_type): cannot use CLASS_BOILERPLATE with interfaces.
2511        (gpdf_view_get_page_count, gpdf_view_get_page_names)
2512        (gpdf_view_instance_init): for the interface.
2513
2514        * xpdf/tests/test-gpdf-view.cc: add tests for GPdfView.
2515
2516        * xpdf/tests/.cvsignore: ignore test-gpdf-view.
2517
2518        * xpdf/tests/Makefile.am: add new test, link with ggv-sidebar.
2519
25202003-05-29  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2521
2522        * configure.in: define HAVE_FONT_EMBEDDING if gnome-print has the
2523        gnome_font_face_download function
2524
2525        * xpdf/GPOutputDev.cc: use HAVE_FONT_EMBEDDING from aconf.h
2526
25272003-05-29  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2528
2529        * xpdf/tests/test-gpdf-control.cc: add tests for GPdfControl
2530
2531        * xpdf/tests/Makefile.am, xpdf/tests/.cvsignore: add
2532        test-gpdf-control
2533
2534        * xpdf/gpdf-control.cc: use BONOBO_CLASS_BOILERPLATE.
2535        (gpdf_control_new, gpdf_control_construct): kill, use construct
2536        time properties.
2537        (gpdf_control_class_init): install constructor, properties
2538        persist-stream and persist-file.
2539        (gpdf_control_constructor): constructor impl.
2540        (gpdf_control_setup_page_control, gpdf_control_setup_zoomable)
2541        (gpdf_control_setup_view_widgets): renamed from gc_setup_foo.
2542        (gpdf_control_setup_persist): ditto, connect to PersistFile, too.
2543        (gpdf_control_set_property): impl.
2544        (persist_file_set_pdf_cb): signal callback.
2545        (persist_stream_set_pdf_cb): renamed from gc_set_pdf_cb.
2546        (gpdf_control_pdf_doc_changed): factored out from gc_set_pdf_cb.
2547        (verb_FileProperties_cb): get PDFDoc from priv.
2548
2549        * xpdf/gpdf-control.h: kill gpdf_control_new and _construct,
2550
2551        * xpdf/bonobo-application-x-pdf.cc (gpdf_factory): also give the
2552        control a PersistFile implementation
2553
2554        * xpdf/Makefile.am: moved more code into libgpdf.a.
2555
2556        * xpdf/GNOME_PDF.server.in.in: state that we implement
2557        Bonobo/PersistFile.
2558
2559        * shell/gpdf.c (bonobo_stream_for_uri): kill.
2560        (gw_control_load_pdf): changed to load through PersistFile.
2561
25622003-05-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2563
2564        * xpdf/tests/test-pdf-loading.cc: add tests for GPdfPersistFile.
2565
2566        * xpdf/gpdf-persist-stream.h: no need to include BonoboStream.h.
2567
2568        * xpdf/gpdf-persist-file.h, xpdf/gpdf-persist-file.cc: new class,
2569        implements the PersistFile interface.
2570
2571        * xpdf/Makefile.am (libgpdf_a_SOURCES): add gpdf-persist-file.cc,
2572        gpdf-persist-file.h.
2573
2574        * xpdf/gpdf-control.cc: reorder includes.
2575
25762003-05-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2577
2578        * xpdf/gpdf-links-canvas-layer.cc (gnome_canvas_item_new):
2579       
2580        * xpdf/gpdf-link-canvas-item.cc (gpdf_link_canvas_item_set_link):
2581
2582        * xpdf/tests/test-links.cc: refactoring: the LinkItem gets its
2583        directly coordinates from the Link
2584
25852003-05-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2586
2587        * xpdf/gpdf-persist-stream.cc:
2588        (impl_bonobo_persist_stream_load)
2589        (impl_bonobo_persist_stream_save, impl_get_content_types)
2590        (gpdf_persist_stream_class_init, gpdf_persist_stream_construct):
2591        implement the PersistStream interface on top of BonoboPersist
2592        instead of the deprecated BonoboPersistStream GObject class.
2593        (gpdf_persist_stream_class_init, gpdf_persist_stream_construct):
2594        changes for BONOBO_CLASS_BOILERPLATE_FULL.
2595
2596        * xpdf/gpdf-persist-stream.h: derive directly from BonoboPersist.
2597
2598        * xpdf/tests/test-pdf-loading.cc (persist_stream_content_types)
2599        (persist_stream_no_load): test ::getContentTypes and ::save
2600        implementation in GPdfPersistStream.
2601
26022003-05-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2603
2604        * xpdf/tests/test-pdf-loading.cc: new test.
2605
2606        * xpdf/tests/Makefile.am (TESTS_NEEDING_PDFTEX): add
2607        test-pdf-loading.
2608
2609        * xpdf/Makefile.am (libgpdf_a_SOURCES): move more files to the lib.
2610
2611        * xpdf/gpdf-persist-stream.cc (gpdf_persist_stream_get_length):
2612        kill.
2613        (gpdf_persist_stream_delete_doc_and_stream): rename from
2614        delete_pdf_doc_full, simplify.
2615        (load_pdf_from_stream): make priv->pdf_stream local to this method,
2616        kill redundant test for catalog.
2617
2618        * xpdf/gpdf-persist-stream.h (gpdf_persist_stream_get_length):
2619        kill.
2620
2621        * xpdf/gpdf-control.cc (verb_FileProperties_cb): remove file size
2622        argument.
2623
2624        * xpdf/nautilus-pdf-property-page.cc
2625        (gpdf_nautilus_property_page_set_uri): ditto.
2626
2627        * xpdf/pdf-info-dict-util.cc (pdf_doc_process_properties): kill
2628        file size parameter.
2629
2630        * xpdf/pdf-info-dict-util.h: ditto.
2631
2632        * xpdf/pdf-properties-display.c: kill traces of the file size
2633        label.
2634
26352003-05-23  Christian Neumair  <chris@gnome-de.org>
2636
2637        * shell/gpdf.c: (verb_HelpAbout_cb): Splitted copyright string.
2638
26392003-05-20  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2640
2641        * xpdf/tests/test-links.cc (link_item_click)
2642        (link_item_enter_leave): more tests
2643
2644        * xpdf/gpdf-link-canvas-item.cc (gpdf_link_canvas_item_click)
2645        (gpdf_link_canvas_item_enter, gpdf_link_canvas_item_leave)
2646        (gpdf_link_canvas_item_clicked, gpdf_link_canvas_item_event)
2647        (gpdf_link_canvas_item_set_property)
2648        (gpdf_link_canvas_item_class_init): refactor to make it more
2649        better testable
2650
2651        * xpdf/gpdf-link-canvas-item.h: ditto
2652
26532003-05-20  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2654
2655        * xpdf/gpdf-link-canvas-item.cc
2656        (gpdf_link_canvas_item_mouse_enter)
2657        (gpdf_link_canvas_item_mouse_leave)
2658        (gpdf_link_canvas_item_class_init): add (mouse) enter and leave
2659        signals
2660
2661        * xpdf/gpdf-link-canvas-item.h: add signal slots for enter and
2662        leave
2663
2664        * xpdf/tests/test-links.cc (link_item_enter_leave): test for the
2665        signals
2666
2667        * xpdf/Makefile.am: now the marshallers sources are not shipped
2668        with the dist and correctly build when needed, finally
2669
2670        * configure.in: version 0.102.99
2671
26722003-05-19  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2673
2674        * configure.in: Version 0.102
2675
2676        * xpdf/Makefile.am: don't do the DONT_DIST_SOURCE thing, breaks
2677        the distcheck
2678
26792003-05-19  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2680
2681        * xpdf/gpdf-view.cc (gpdf_view_render_page): properly destroy the
2682        links layer when switching pages
2683
26842003-05-19  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2685
2686        * xpdf/Makefile.am: don't distribute generated marshallers
2687
26882003-05-19  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2689
2690        * xpdf/gpdf-links-canvas-layer.cc
2691        (gpdf_links_canvas_layer_dispose): plug leak
2692
2693        * xpdf/tests/.cvsignore, test-files/.cvsignore: update
2694
2695        * NEWS: update
2696
26972003-05-18  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2698
2699        * xpdf/tests/test-page-setup.cc, xpdf/tests/test-links.cc:
2700        tests/experiments
2701
2702        * xpdf/tests/Makefile.am, xpdf/tests/.cvsignore: infrastructure
2703
2704        * xpdf/gpdf-view.h: signal slots for close and quit requests
2705
2706        * xpdf/gpdf-view.cc (gpdf_view_link_action_named, link_clicked_cb)
2707        (gpdf_view_class_init): implement some named action links:
2708        NextPage, PrevPage, FirstPage, LastPage, signals for Close and Quit
2709
2710        * xpdf/Makefile.am (SUBDIRS): add tests
2711
2712        * test-files/simple-links.tex: test file, simple pdf links
2713
2714        * test-files/.cvsignore, test-files/Makefile.am: infrastructure
2715
2716        * configure.in: check for pdftex (not a hard requirement)
2717        add test-files/Makefile and xpdf/tests/Makefile
2718
2719        * NEWS: update
2720
2721        * Makefile.am (SUBDIRS): add test-files
2722
27232003-05-18  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2724
2725        * xpdf/gpdf-view.cc (gpdf_view_motion_notify_event)
2726        (gpdf_view_handle_drag_motion): chain up to parent implementation
2727        of motion-notify, factor out dragging
2728        (gpdf_view_button_press_event): chain up to parent
2729        (gpdf_view_render_page): use GPdfLinksCanvasLayer to draw links
2730        (link_clicked_cb, gpdf_view_link_action_goto): implement simple
2731        GoTo links
2732        (gpdf_view_dispose): unref the links_layer
2733
2734        * xpdf/gpdf-persist-stream.cc: store bonoboStream as BaseStream
2735
2736        * xpdf/gpdf-marshal.list: add VOID:POINTER
2737
2738        * xpdf/gpdf-links-canvas-layer.cc, xpdf/gpdf-links-canvas-layer.h:
2739        new class, links are grouped in such layers
2740
2741        * xpdf/gpdf-link-canvas-item.cc, xpdf/gpdf-link-canvas-item.h: new
2742        class, representing links in the GPdfView
2743
2744        * xpdf/Makefile.am: move away from $common_sources to convenience
2745        libraries, add gpdf-link-canvas-item.{cc,h},
2746        gpdf-links-canvas-layer.{cc,h}
2747
2748        * xpdf/BonoboStream.cc (bfread, bfseek): fix debug messages
2749
27502003-05-17  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2751
2752        * lib/recent-files/egg-recent-model.c: update from egg
2753
2754        * lib/recent-files/Makefile.am: fix update target
2755
2756        * lib/ggv-sidebar/update-from-ggv.sh: fix
2757
2758        * lib/ggv-sidebar/ggv-document.c, lib/ggv-sidebar/ggv-document.h:
2759        new interfaces from GGV
2760       
2761        * lib/ggv-sidebar: update from ggv
2762
2763        * lib/ggv-sidebar/Makefile.am: add ggv-document.[ch], fix update
2764        target, define GNOMEICONDIR
2765
27662003-05-13  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2767
2768        * configure.in: bump version to 0.101.99
2769
2770        * xpdf/gpdf-view.cc (setup_page_transform, gpdf_view_render_page):
2771        respect offsets from a page's CropBox/MediaBox (fixes second part
2772        of Bug #112884).
2773
27742003-05-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2775
2776        * lib/ggv-sidebar/update-from-ggv.sh,
2777        lib/ggv-sidebar/gtkchecklist.h, lib/ggv-sidebar/gtkchecklist.c,
2778        lib/ggv-sidebar/ggv-sidebar.h, lib/ggv-sidebar/ggv-sidebar.c,
2779        lib/ggv-sidebar/config.h, lib/ggv-sidebar/Makefile.am,
2780        lib/ggv-sidebar/.cvsignore, lib/ggv-sidebar: sidebar code from
2781        ggv, no changes allowed here, is not in the build yet, only
2782        checked in for convenient diffing.
2783
27842003-05-06  Danilo Šegan  <dsegan@gmx.net>
2785
2786        * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
2787
27882003-05-04  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2789
2790        * NEWS, configure.in: Version 0.101
2791
27922003-05-03  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2793
2794        * xpdf/gpdf-g-switch.h: add GMutex,
2795
2796        * shell/gpdf.c (gpdf_window_new): s/gtk_type_new/g_object_new/,
2797        use construction time properties
2798        (gw_setup_window): kill (replaced by constr. time props)
2799        (gpdf_window_construct): don't call gw_setup_window
2800        (gw_add_control_to_ui, gpdf_window_open): more simplifications due
2801        to BonoboWidget
2802        (gw_activate_control): ditto -> kill
2803        (gw_control_load_pdf, bonobo_stream_for_uri): extract the latter
2804        from the former
2805        (gw_setup_local_contents, gw_setup_toplevel_ui)
2806        (gw_setup_recent_menu, gw_setup_recent_toolitem): slot and
2807        ui_component moved to priv
2808
2809        * shell/gpdf-window.h (struct _GPdfWindow): move away remaining
2810        public fields
2811
28122003-05-03  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2813
2814        * xpdf/pdf-info-dict-util.cc (pdf_info_dict_get_date): don't hand
2815        out invalid times; work around Distiller 3.0 y2k bug.
2816
28172003-05-03  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2818
2819        * xpdf/gpdf-view.cc (gpdf_view_key_press_event): really set
2820        do_scroll when we want to scroll; on PageUp/Down move by whole
2821        pages instead of screenfuls, leave Backspace/Space for that (fixes
2822        Bug #112140)
2823
28242003-05-02  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2825
2826        * shell/gpdf.c:
2827        (gpdf_window_has_contents, gw_add_control_to_ui)
2828        (gw_control_load_pdf, gw_control_load_pdf, gw_destroy)
2829        (gpdf_window_construct): refactor towards using BonoboWidget
2830        (gw_setup_control_frame): kill
2831
28322003-05-02  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2833
2834        * shell/gpdf.c (gw_control_load_pdf): use a vfs: moniker; check
2835        for exceptions
2836
28372003-05-01  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2838
2839        * shell/gpdf.c (gw_control_load_pdf): don't free uri
2840
28412003-05-01  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2842
2843        * shell/tests/test-uri-input.c (setup, tear_down): extract uri
2844        request logging foo from tests
2845        (open_shell_arg, open_shell_arg_relative): new tests
2846
2847        * shell/gpdf.c (create_window): use ::open_shell_arg
2848        (gw_control_load_pdf): only accept uris
2849        (gw_ask_for_uri, gw_ask_for_uri, gw_open_dialog):
2850        variable/function renamings
2851
2852        * shell/gpdf-uri-input.h (gpdf_uri_input_open_shell_arg): add
2853        prototype
2854
2855        * shell/gpdf-uri-input.c (gpdf_uri_input_open_shell_arg): new
2856        function
2857
2858        * shell/eel-string.c, shell/eel-string.h,
2859        shell/eel-vfs-extensions.c, shell/eel-vfs-extensions.h: frome eel
2860
2861        * shell/Makefile.am (libgpdfshell_a_SOURCES): add eel-string and
2862        eel-vfs-extensions
2863
28642003-05-01  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2865
2866        * xpdf/pdf-info-dict-util.cc (pdf_info_dict_get_string): kill
2867        unused variable
2868
2869        * xpdf/gpdf-view.cc (gpdf_view_construct): kill unused variables
2870
2871        * xpdf/gpdf-control.cc (gc_zoom_to_fit_width_cb): kill (unused)
2872        (gc_ui_set_pixbufs): kill unused variables
2873
2874        * shell/tests/test-uri-input.c: include headers for exit, strcmp
2875
2876        * lib/recent-files/Makefile.am (INCLUDES): fix distcheck
2877
2878        * gpdf.desktop.in (Icon): use the icon for pdf documents until we
2879        have a nice gpdf icon
2880
2881        * NEWS: more antinews
2882
2883        * Makefile.am (CLEANFILES): more cleaning
2884
28852003-04-30  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2886
2887        * shell/gpdf-recent-view-toolitem.c: add tooltip to recent files
2888        drop down
2889
28902003-04-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2891
2892        * shell/gpdf.c (menu_position_under_widget)
2893        (open_button_pressed_cb, open_button_key_pressed_cb)
2894        (gw_setup_recent_tool_item, gw_setup_recent_toolitem): factored
2895        out the toolitem with the recent files list
2896
2897        * shell/gpdf-recent-view-toolitem.c,
2898        shell/gpdf-recent-view-toolitem.h: new class: button with dropdown
2899        menu of recent files
2900
2901        * shell/Makefile.am (libgpdfshell_a_SOURCES): compile
2902        gpdf-recent-view-toolitem.c
2903
29042003-04-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2905
2906        Gotta love compiler warnings.
2907       
2908        * xpdf/pdf-properties-display.c (gpdf_gtk_label_make_bold): make static
2909        (gpdf_properties_display_class_init): install dispose implementation
2910
2911        * xpdf/pdf-info-dict-util.cc (pdf_doc_process_properties): format
2912        file size with %ld, not %d
2913
2914        * xpdf/page-control.c: #include stdlib.h for strtol
2915
2916        * xpdf/gpdf-view.cc (canonical_multiple_of_90): return statement
2917        was missing, I wonder why it worked
2918        (gpdf_view_key_press_event): silence warning
2919        (gpdf_view_key_press_event): ditto
2920
2921        * xpdf/GPOutputDev.cc (initBase14Fonts): use guint as array index
2922
2923        * xpdf/BonoboStream.cc (bfseek): silence warning
2924
2925        * shell/gpdf.c (open_request_logger): don't define if not debugging
2926
2927        * shell/gpdf-uri-input.h: add missing prototypes
2928
2929        * shell/gpdf-uri-input.c (gpdf_uri_input_open_uri_list): add
2930        missing return type
2931
2932        * xpdf/Makefile.am, shell/Makefile.am, configure.in: use maximum
2933        compiler warnings
2934
29352003-04-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2936
2937        * NEWS: updated.
2938
2939        * shell/gpdf.c (gpdf_window_construct, gw_setup_recent_tool_item)
2940        (open_button_key_pressed_cb, open_button_pressed_cb)
2941        (menu_position_under_widget): implement recent files drop-down
2942        tool item (taken from gedit)
2943        (verb_HelpAbout_cb): updated (c)
2944        (gw_setup_recent_menu): renamed from gw_setup_recent_files_ui
2945
2946        * shell/gpdf-window-ui.xml: added recent files drop-down control
2947
2948        * shell/gpdf-recent-facade.c (gpdf_recent_facade_get_model): added
2949        missing return.
2950
29512003-04-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2952
2953        * NEWS: added news and anti-news.
2954
2955        * xpdf/gpdf-view.cc (gpdf_view_render_page): honor Rotate info
2956        of the page object. Don't set page layout in print config object,
2957        we handle the page format with calls to the canvas.
2958        (setup_page_transform): renamed from setup_upside_down_transform,
2959        take rotation angle argument.
2960        (canonical_multiple_of_90): new function.
2961
29622003-04-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2963
2964        * xpdf/Makefile.am (CLEANFILES): rm GNOME_PDF.server.in on clean,
2965        not on distclean (fixes Bug #111404)
2966
29672003-04-19  Hasbullah Bin Pit  <sebol@ikhlas.com>
2968
2969        * configure.in (ALL_LINGUAS): Added "ms".
2970
29712003-04-14  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2972
2973        * shell/gpdf.c (main, gw_open_recent_file, gw_destroy)
2974        (gw_setup_recent_files_ui, gpdf_window_construct): implement
2975        recent files menu items
2976
2977        * shell/gpdf-window-ui.xml: add placeholder for recent files menu
2978        items
2979
2980        * shell/gpdf-recent-facade.h (gpdf_recent_facade_get_model): add
2981        prototype, slot for virtual
2982
2983        * shell/gpdf-recent-facade.c (gpdf_recent_facade_get_model): new
2984        (gpdf_recent_facade_instance_init): set limit to list of recent
2985        files
2986
29872003-04-13  Martin Kretzschmar  <m_kretzschmar@gmx.net>
2988
2989        * shell/gpdf.c (no_contents, find_empty_or_create_new_window)
2990        (open_request_handler, open_request_logger): new functions
2991        (create_window, main, gw_control_load_pdf, gw_drag_data_received)
2992        (gw_open_dialog): use GPdfUriInput
2993        (gpdf_window_has_contents): rename from gw_has_contents, no longer
2994        static
2995        (gpdf_window_open): s/gw_has_contents/gpdf_window_has_contents/
2996
2997        * shell/gpdf-window.h: add prototype for gpdf_window_has_contents
2998
2999        * shell/gpdf-recent-facade.h, shell/gpdf-recent-facade.c,
3000        shell/mock-recent-facade.c: new class, plus a mock of it
3001
3002        * shell/gpdf-uri-input.h, shell/gpdf-uri-input.c: new class
3003       
3004        * shell/tests/test-uri-input.c, shell/tests/Makefile.am: unit
3005        tests for gpdf-uri-input
3006
3007        * shell/Makefile.am: add new files, compile them into a
3008        convenience library for testing, link gpdf with that lib and with
3009        recent files stuff
3010
3011        * lib/recent-files: copy of egg recent files stuff
3012
3013        * lib, lib/unit-test.h, lib/Makefile.am, lib/.cvsignore: new
3014
3015        * xpdf/GPOutputDev.cc (getFontFaceEmbedded): fix bad C++, detected
3016        by Sun compilers. Thanks to Rich Burridge / Sun (Bug: #110402)
3017
3018        * xpdf/gpdf-view.cc (gpdf_view_button_press_event): ditto
3019
3020        * xpdf/gpdf-util.h (GPDF_BOILERPLATE): kill, identical with
3021        BONOBO_BOILERPLATE since libbonobo 2.2.1
3022
3023        * xpdf/nautilus-pdf-property-page.cc (BONOBO_ARG_GET_STRING):
3024        ditto
3025
3026        * configure.in: bumped version to 0.100.99, require libbonobo 2.2.1
3027        generate Makefiles in lib, lib/recent-files, shell/tests
3028
3029        * Makefile.am (SUBDIRS): add lib dir
3030
3031        * .cvsignore: ignore release tarballs
3032
30332003-04-08  Michael Meeks  <michael@ximian.com>
3034
3035        * Version 0.100.0
3036
30372003-04-05  Samúel Jón Gunnarsson  <sammi@techattack.nu>
3038
3039        * configure.in:  Added "is" in ALL_LINGUAS
3040
30412003-04-03  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
3042
3043        * xpdf/Makefile.am (ui_DATA): no need for
3044        bonobo-application-x-pdf-ui.xml.
3045
30462003-04-03  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
3047
3048        * xpdf/GPOutputDev.cc (getFontFaceEmbedded): use
3049        getFontFaceFallback
3050
3051        * xpdf/page-control.c (gpdf_page_control_setup_tooltips): fix
3052        tooltip string.
3053        (gpdf_page_control_setup_tooltips): ref the tooltips object
3054
3055        * xpdf/gpdf-properties-dialog.glade, xpdf/pdf-properties-display.c
3056        (gpdf_properties_display_set_property): disable file size label.
3057
30582003-04-03  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
3059
3060        * xpdf/page-control.c (gpdf_page_control_instance_init)
3061        (gpdf_page_control_setup_tooltips, gpdf_page_control_class_init)
3062        (gpdf_page_control_destroy): add tooltips to the widget
3063
3064        * xpdf/pdf-info-dict-util.cc: there are PDFs without
3065        info-dictionary (e.g. OpenOffice.org's), don't crash on them
3066
3067        * Makefile.am (EXTRA_DIST): distribute gpdf.applications
3068
30692003-04-02  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
3070
3071        * gpdf.applications: add
3072
3073        * Makefile.am install gpdf.applications
3074
3075        * gpdf.keys.in: update.
3076
3077        * goo/Makefile.am, shell/Makefile.am, xpdf/Makefile.am: add
3078        top_srcdir to include path for aconf2.h.
3079
3080        * goo/Makefile.am, xpdf/Makefile.am: rename libgoo.a to libGoo.a
3081        for consistency with Xpdf, don't install this library;
3082        makefile.w32 is no more.
3083
3084        * README: added note that this does not describe the GNOME version.
3085
3086        * Makefile.am: don't distribute README.CVS, ANNOUNCE,
3087        makefile.w32, distribute aconf2.h.
3088
3089        * CHANGES: added reference to ChangeLog and NEWS.
3090
3091        * AUTHORS, NEWS: updated.
3092
3093        * configure.in: add bugzilla url to AC_INIT.
3094
3095        * xpdf/gpdf-view.cc, xpdf/gpdf-persist-stream.cc,
3096        xpdf/gpdf-control.cc, xpdf/GPOutputDev.cc: consistently wrap debug
3097        messages.
3098
30992003-04-02  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
3100
3101        * configure.in: added tests from Xpdf's configure.in
3102
3103        * CHANGES: added note that this describes only Xpdf upstream
3104        changes
3105
31062003-04-01  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
3107
3108        Merge with Xpdf 2.02 and make it build
3109       
3110        * aconf2.h, aconf-dj.h, aconf-win32.h, ANNOUNCE, CHANGES, README,
3111        vms_make.com: update.
3112
3113        * xpdf/about-text.h, xpdf/Annot.cc, xpdf/Annot.h, xpdf/Array.cc,
3114        xpdf/Array.h, xpdf/BuiltinFont.cc, xpdf/BuiltinFont.h,
3115        xpdf/BuiltinFontTables.cc, xpdf/BuiltinFontTables.h,
3116        xpdf/Catalog.cc, xpdf/Catalog.h, xpdf/CharCodeToUnicode.cc,
3117        xpdf/CharCodeToUnicode.h, xpdf/CharTypes.h, xpdf/CMap.cc,
3118        xpdf/CMap.h, xpdf/CompactFontTables.h, xpdf/config.h,
3119        xpdf/Decrypt.cc, xpdf/Decrypt.h, xpdf/Dict.cc, xpdf/Dict.h,
3120        xpdf/DisplayFontTable.h, xpdf/Error.cc, xpdf/ErrorCodes.h,
3121        xpdf/Error.h, xpdf/FontEncodingTables.cc,
3122        xpdf/FontEncodingTables.h, xpdf/FontFile.cc, xpdf/FontFile.h,
3123        xpdf/FTFont.cc, xpdf/FTFont.h, xpdf/Function.cc, xpdf/Function.h,
3124        xpdf/Gfx.cc, xpdf/GfxFont.cc, xpdf/GfxFont.h, xpdf/Gfx.h,
3125        xpdf/GfxState.cc, xpdf/GfxState.h, xpdf/GlobalParams.cc,
3126        xpdf/GlobalParams.h, xpdf/ImageOutputDev.cc,
3127        xpdf/ImageOutputDev.h, xpdf/JBIG2Stream.cc, xpdf/JBIG2Stream.h,
3128        xpdf/Lexer.cc, xpdf/Lexer.h, xpdf/Link.cc, xpdf/Link.h,
3129        xpdf/NameToCharCode.cc, xpdf/NameToCharCode.h,
3130        xpdf/NameToUnicodeTable.h, xpdf/Object.cc, xpdf/Object.h,
3131        xpdf/Outline.cc, xpdf/Outline.h, xpdf/OutputDev.cc,
3132        xpdf/OutputDev.h, xpdf/Page.cc, xpdf/Page.h, xpdf/Parser.cc,
3133        xpdf/Parser.h, xpdf/PBMOutputDev.cc, xpdf/PBMOutputDev.h,
3134        xpdf/PDFDoc.cc, xpdf/PDFDocEncoding.cc, xpdf/PDFDocEncoding.h,
3135        xpdf/PDFDoc.h, xpdf/pdffonts.cc, xpdf/pdfimages.cc,
3136        xpdf/pdfinfo.cc, xpdf/pdftopbm.cc, xpdf/pdftops.cc,
3137        xpdf/pdftotext.cc, xpdf/PSOutputDev.cc, xpdf/PSOutputDev.h,
3138        xpdf/PSTokenizer.cc, xpdf/PSTokenizer.h, xpdf/SFont.cc,
3139        xpdf/SFont.h, xpdf/Stream.cc, xpdf/Stream-CCITT.h, xpdf/Stream.h,
3140        xpdf/T1Font.cc, xpdf/T1Font.h, xpdf/TextOutputDev.cc,
3141        xpdf/TextOutputDev.h, xpdf/TTFont.cc, xpdf/TTFont.h,
3142        xpdf/UnicodeMap.cc, xpdf/UnicodeMap.h, xpdf/UnicodeMapTables.h,
3143        xpdf/UTF8.h, xpdf/vms_make.com, xpdf/XOutputDev.cc,
3144        xpdf/XOutputDev.h, xpdf/XPDFApp.cc, xpdf/XPDFApp.h, xpdf/xpdf.cc,
3145        xpdf/XPDFCore.cc, xpdf/XPDFCore.h, xpdf/XPDFTree.cc,
3146        xpdf/XPDFTree.h, xpdf/XPDFTreeP.h, xpdf/XPDFViewer.cc,
3147        xpdf/XPDFViewer.h, xpdf/XPixmapOutputDev.cc,
3148        xpdf/XPixmapOutputDev.h, xpdf/XRef.cc, xpdf/XRef.h: update
3149
3150        * goo/gfile.cc, goo/gfile.h, goo/GHash.cc, goo/GHash.h,
3151        goo/GList.cc, goo/GList.h, goo/gmem.c, goo/gmem.h, goo/gmempp.cc,
3152        goo/GMutex.h, goo/GString.cc, goo/GString.h, goo/gtypes.h,
3153        goo/parseargs.c, goo/parseargs.h, goo/vms_make.com: update.
3154
3155        * doc/pdffonts.1, doc/pdffonts.cat, doc/pdffonts.hlp,
3156        doc/pdfimages.1, doc/pdfimages.cat, doc/pdfimages.hlp,
3157        doc/pdfinfo.1, doc/pdfinfo.cat, doc/pdfinfo.hlp, doc/pdftopbm.1,
3158        doc/pdftopbm.cat, doc/pdftopbm.hlp, doc/pdftops.1,
3159        doc/pdftops.cat, doc/pdftops.hlp, doc/pdftotext.1,
3160        doc/pdftotext.cat, doc/pdftotext.hlp, doc/xpdf.1, doc/xpdf.cat,
3161        doc/xpdf.hlp, doc/xpdfrc.5, doc/xpdfrc.cat, doc/xpdfrc.hlp:
3162        update.
3163
31642003-04-01  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3165
3166        Merge with Xpdf 2.01 and make it build
3167       
3168        * ANNOUNCE, CHANGES, README, aconf-win32.h: update
3169
3170        * xpdf/CharCodeToUnicode.cc, xpdf/Decrypt.cc, xpdf/FTFont.cc,
3171        xpdf/FTFont.h, xpdf/FontEncodingTables.cc, xpdf/Gfx.cc,
3172        xpdf/GfxFont.cc, xpdf/GfxState.cc, xpdf/GfxState.h,
3173        xpdf/GlobalParams.cc, xpdf/GlobalParams.h, xpdf/Link.cc,
3174        xpdf/NameToUnicodeTable.h, xpdf/Stream.cc, xpdf/TextOutputDev.cc,
3175        xpdf/TextOutputDev.h, xpdf/XOutputDev.cc, xpdf/config.h,
3176        xpdf/pdftotext.cc, xpdf/xpdf.cc, xpdf/Outline.cc, xpdf/XPDFApp.cc,
3177        xpdf/XPDFApp.h, xpdf/XPDFCore.cc, xpdf/XPDFCore.h,
3178        xpdf/XPDFViewer.cc, xpdf/XPDFViewer.h: update.
3179
3180        * goo/GMutex.h: new file
3181
3182        * goo/gfile.cc: update.
3183
3184        * goo/Makefile.am: use GMutex.h
3185
3186        * doc/pdffonts.1, doc/pdffonts.cat, doc/pdfimages.1,
3187        doc/pdfimages.cat, doc/pdfinfo.1, doc/pdfinfo.cat, doc/pdftopbm.1,
3188        doc/pdftopbm.cat, doc/pdftops.1, doc/pdftops.cat, doc/pdftotext.1,
3189        doc/pdftotext.cat, doc/pdftotext.hlp, doc/xpdf.1, doc/xpdf.cat,
3190        doc/xpdf.hlp, doc/xpdfrc.5, doc/xpdfrc.cat, doc/xpdfrc.hlp: update
3191       
31922003-03-31  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3193
3194        Merge with Xpdf 2.00 and make it build
3195       
3196        * xpdf/Makefile.am: kill traces of ltk, incorporate new sources
3197
3198        * Makefile.am, configure.in: don't build the ltk subdir
3199
3200        * ANNOUNCE, CHANGES, ChangeLog, README, aconf-dj.h, aconf-win32.h,
3201        dj_make.bat, ms_make.bat, vms_make.com: update
3202
3203        * xpdf/LTKOutputDev.cc, xpdf/LTKOutputDev.h, xpdf/postscript.xbm,
3204        xpdf/xpdf-flip.ltk, xpdf/xpdf-ltk.h, xpdf/xpdf-top.ltk,
3205        xpdf/xpdf.ltk: remove.
3206
3207        * xpdf/Annot.cc, xpdf/Annot.h, xpdf/Array.cc, xpdf/Array.h,
3208        xpdf/BuiltinFont.cc, xpdf/BuiltinFont.h,
3209        xpdf/BuiltinFontTables.cc, xpdf/CMap.cc, xpdf/CMap.h,
3210        xpdf/Catalog.cc, xpdf/Catalog.h, xpdf/CharCodeToUnicode.cc,
3211        xpdf/CharCodeToUnicode.h, xpdf/Decrypt.cc, xpdf/Decrypt.h,
3212        xpdf/Dict.cc, xpdf/Dict.h, xpdf/Error.cc, xpdf/Error.h,
3213        xpdf/FTFont.cc, xpdf/FTFont.h, xpdf/FontFile.cc, xpdf/FontFile.h,
3214        xpdf/Function.cc, xpdf/Function.h, xpdf/Gfx.cc, xpdf/Gfx.h,
3215        xpdf/GfxFont.cc, xpdf/GfxFont.h, xpdf/GfxState.cc,
3216        xpdf/GfxState.h, xpdf/GlobalParams.cc, xpdf/GlobalParams.h,
3217        xpdf/ImageOutputDev.cc, xpdf/ImageOutputDev.h, xpdf/Lexer.cc,
3218        xpdf/Lexer.h, xpdf/Link.cc, xpdf/Link.h, xpdf/NameToCharCode.cc,
3219        xpdf/NameToCharCode.h, xpdf/NameToUnicodeTable.h, xpdf/Object.cc,
3220        xpdf/Object.h, xpdf/OutputDev.cc, xpdf/OutputDev.h,
3221        xpdf/PBMOutputDev.cc, xpdf/PBMOutputDev.h, xpdf/PDFDoc.cc,
3222        xpdf/PDFDoc.h, xpdf/PSOutputDev.cc, xpdf/PSOutputDev.h,
3223        xpdf/PSTokenizer.cc, xpdf/PSTokenizer.h, xpdf/Page.cc,
3224        xpdf/Page.h, xpdf/Parser.cc, xpdf/Parser.h, xpdf/SFont.cc,
3225        xpdf/SFont.h, xpdf/Stream.cc, xpdf/Stream.h, xpdf/T1Font.cc,
3226        xpdf/T1Font.h, xpdf/TTFont.cc, xpdf/TTFont.h,
3227        xpdf/TextOutputDev.cc, xpdf/TextOutputDev.h, xpdf/UnicodeMap.cc,
3228        xpdf/UnicodeMap.h, xpdf/XOutputDev.cc, xpdf/XOutputDev.h,
3229        xpdf/XRef.cc, xpdf/XRef.h, xpdf/config.h, xpdf/pdffonts.cc,
3230        xpdf/pdfimages.cc, xpdf/pdfinfo.cc, xpdf/pdftopbm.cc,
3231        xpdf/pdftops.cc, xpdf/pdftotext.cc, xpdf/vms_make.com,
3232        xpdf/xpdf.cc: update.
3233
3234        * goo/GHash.cc, goo/GHash.h, goo/GList.cc, goo/GList.h,
3235        goo/GString.cc, goo/GString.h: mostly Mac OS X gcc fixage.
3236       
3237        * doc/pdffonts.1, doc/pdffonts.cat, doc/pdffonts.hlp,
3238        doc/pdfimages.1, doc/pdfimages.cat, doc/pdfimages.hlp,
3239        doc/pdfinfo.1, doc/pdfinfo.cat, doc/pdfinfo.hlp, doc/pdftopbm.1,
3240        doc/pdftopbm.cat, doc/pdftopbm.hlp, doc/pdftops.1,
3241        doc/pdftops.cat, doc/pdftops.hlp, doc/pdftotext.1,
3242        doc/pdftotext.cat, doc/pdftotext.hlp, doc/xpdf.1, doc/xpdf.cat,
3243        doc/xpdf.hlp, doc/xpdfrc.5, doc/xpdfrc.cat, doc/xpdfrc.hlp:
3244        update docs.
3245
3246        * ltk: remove this directory, Xpdf has switched to Lesstif.
3247
3248        * aconf2.h, xpdf/JBIG2Stream.cc, xpdf/JBIG2Stream.h,
3249        xpdf/Outline.cc, xpdf/Outline.h, xpdf/PDFDocEncoding.cc,
3250        xpdf/PDFDocEncoding.h, xpdf/XPDFApp.cc, xpdf/XPDFApp.h,
3251        xpdf/XPDFCore.cc, xpdf/XPDFCore.h, xpdf/XPDFTree.cc,
3252        xpdf/XPDFTree.h, xpdf/XPDFTreeP.h, xpdf/XPDFViewer.cc,
3253        xpdf/XPDFViewer.h, xpdf/XPixmapOutputDev.cc,
3254        xpdf/XPixmapOutputDev.h, xpdf/about-text.h, xpdf/backArrowDis.xbm,
3255        xpdf/dblLeftArrowDis.xbm, xpdf/dblRightArrowDis.xbm,
3256        xpdf/findDis.xbm, xpdf/forwardArrowDis.xbm, xpdf/leftArrowDis.xbm,
3257        xpdf/print.xbm, xpdf/printDis.xbm, xpdf/rightArrowDis.xbm: new
3258        files.
3259
32602003-03-31  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3261
3262        * xpdf/zoomOut.xbm, xpdf/zoomIn.xbm, xpdf/makefile.w32,
3263        xpdf/Makefile.in, goo/makefile.w32, makefile.w32: remove, they are
3264        neither in Xpdf 1.01 nor necessary for GPdf
3265
32662003-03-11  Paul Duffy  <dubhthach@frink.nuigalway.ie>
3267
3268        * configure.in: Added Irish (ga) to ALL_LINGUAS
3269
32702003-03-04  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3271
3272        * xpdf/GPOutputDev.cc: undo accidental commit (thanks for telling
3273        me, Ross)
3274
32752003-03-03  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3276
3277        * xpdf/gpdf-control.cc, xpdf/nautilus-pdf-property-page.cc:
3278        extract common pdf properties code:
3279
3280        * xpdf/pdf-info-dict-util.cc, xpdf/pdf-info-dict-util.h: the
3281        common code.
3282
3283        * xpdf/Makefile.am: compile pdf-info-dict-util.{cc,h}.
3284
3285        * xpdf/gpdf-control.cc (verb_FileProperties_cb): make the dialog
3286        transient for the control's parent.
3287
32882003-03-03  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3289
3290        * xpdf/nautilus-pdf-property-page.cc
3291        (gpdf_nautilus_property_page_set_uri): plug leaks
3292
32932003-03-02  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3294
3295        * xpdf/nautilus-pdf-property-page.cc,
3296        xpdf/nautilus-pdf-property-page.h: new class, just what the name
3297        says, uses GnomeVFSStream for loading PDFDocs.
3298
3299        * xpdf/GnomeVFSStream.cc, xpdf/GnomeVFSStream.h: BaseStream
3300        implementation based on (synchronous) gnome-vfs calls.
3301
3302        * xpdf/BonoboStream.cc, xpdf/BonoboStream.h: coding style fixage,
3303        include only what's needed.
3304
3305        * xpdf/Makefile.am (gnome_pdf_viewer_SOURCES): also compile
3306        GnomeVFSStream.{cc,h}, nautilus-pdf-property-page.{cc,h}
3307
3308        * xpdf/GNOME_PDF.server.in.in: add stanza for the Property Page.
3309
3310        * xpdf/bonobo-application-x-pdf.cc: clean up a bit
3311        (gpdf_factory): now we produce the Property Page, too.
3312
3313        * xpdf/gpdf-control.cc: include time.h for strftime, mktime.
3314
33152003-03-01  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3316
3317        I've run intltool-prepare to make the desktop file translatable
3318       
3319        * gpdf.desktop.in: added
3320
3321        * gpdf.desktop: removed
3322
3323        * Makefile.am: make gpdf.desktop from gpdf.desktop.in
3324
3325        * .cvsignore: ignore gpdf.desktop
3326
33272003-02-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3328
3329        * xpdf/pdf-properties-display.c
3330        (gpdf_properties_display_setup_glade): get glade file from its
3331        installed location. Martin, repeat after me: I Will Test The
3332        Installed Program.
3333
3334        * xpdf/Makefile.am: Added the Glade file to the dist. (Originally
3335        by Ross, thanks)
3336
33372003-02-26  Ross Burton  <ross@burtonini.com>
3338
3339        * gpdf.desktop: Fix so that it validates.
3340
3341        * Makefile.am: Install the .desktop file into the correct
3342        folder. Also remove intltool-*, which are generated.
3343
33442003-02-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3345
3346        * xpdf/pdf-properties-display.c, xpdf/pdf-properties-display.h,
3347        xpdf/gpdf-properties-dialog.glade:
3348        new widget: table with labels displaying properties of PDFs
3349
3350        * xpdf/gpdf-control.cc (has_unicode_marker)
3351        (utf16_big_endian_to_utf8, info_dict_get_string)
3352        (info_dict_get_date, gpdf_control_process_string_property)
3353        (gpdf_control_process_date_property)
3354        (gpdf_control_process_properties)
3355        (gpdf_control_properties_dialog_response_cb)
3356        (verb_FileProperties_cb): new: a PDF properties command
3357
3358        * xpdf/Makefile.am: build pdf-properties-display.[ch], install
3359        glade file
3360
3361        * xpdf/.cvsignore: ignore gpdf-properties-dialog.gladep
3362
3363        * xpdf/gpdf-persist-stream.h, xpdf/gpdf-persist-stream.cc
3364        (gpdf_persist_stream_get_length): new function
3365
3366        * xpdf/gpdf-control-ui.xml: add FileProperties command and menu
3367        item inside a "File Items Placeholder"
3368
3369        * shell/gpdf-window-ui.xml: add "File Items Placeholder"
3370
3371        * configure.in: check for libglade-2.0
3372
3373        * Makefile.am (EXTRA_DIST): don't dist gpdf.mime
3374
3375        * xpdf/PDFDoc.cc, xpdf/Function.cc, xpdf/FontFile.cc,
3376        goo/parseargs.c: call atof only in the "C" locale
3377
33782003-02-20  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3379
3380        * xpdf/GfxState.cc: Applied a patch to fix buffer overflow (CVE:
3381        CAN-2002-1384, Redhat: RHSA-2003:037-09, Debian: DSA-222)
3382        Reminder by Michael
3383
33842003-02-20  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
3385
3386        * configure.in: Added Belarusian to ALL_LINGUAS.
3387
33882003-02-18  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3389
3390        * configure.in: remove GNOME2_X_CHECKS check (currently unused,
3391        will be removed from gnome-common)
3392
33932003-02-16  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3394
3395        * xpdf/page-control.c, xpdf/page-control.h: show label " of n
3396        pages" next to the text entry
3397        (gpdf_page_control_set_total_pages): new
3398
3399        * xpdf/gpdf-control.cc (gc_set_pdf_cb): notify page toolitem
3400        about page-count
3401
34022003-02-15  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3403
3404        * xpdf/gpdf-view.h, xpdf/gpdf-view.cc (gpdf_view_first_page)
3405        (gpdf_view_last_page): new
3406        (gpdf_view_goto_page): kill #if'ed out debug message
3407
3408        * xpdf/gpdf-control.cc (gc_setup_page_control, gc_setup_zoomable)
3409        (gc_setup_view_widgets): move signal connect calls to places where
3410        they belong
3411        (gc_zoom_changed_report_to_zoomable)
3412        (gc_page_changed_update_page_control): renamed from
3413        gc_zoom_changed_cb resp. gc_page_changed_cb
3414        (ui_component_set_sensitive, gc_enable_go_back_verbs)
3415        (gc_enable_go_forward_verbs, gc_page_changed_enable_page_buttons)
3416        (gc_set_ui_container): new, disable some page navigation commands
3417        on first/last page
3418        (gc_set_zoom_items_visibility): do nothing if we can't find a
3419        ui-component (don't g_assert that it's !=NULL)
3420
34212003-02-15  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3422
3423        * xpdf/gpdf-stock-icons.h, xpdf/gpdf-stock-icons.c: new. register
3424        gpdf-zoom-fit-width stock icon with a GtkIconFactory
3425
3426        * xpdf/fitwidth.png: redone in 24x24pix instead of 26x26, based on
3427        gtk's zoom-out stock icon and the original fitwidth.png
3428       
3429        * xpdf/gpdf-control.cc (gc_set_ui_container): s/gc_set_ui_pixbufs/
3430        gc_ui_set_pixbufs/
3431        (gc_ui_set_pixbufs): rewrite to use stock icon machinery, let it
3432        do the correct scaling
3433
3434        * xpdf/bonobo-application-x-pdf.cc (main): init our stock icons
3435
3436        * xpdf/Makefile.am (gnome_pdf_viewer_SOURCES): add
3437        gpdf-stock-icons.[ch]
3438
34392003-02-15  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3440
3441        * xpdf/GPOutputDev.cc (getFontFaceEmbedded): change (disabled)
3442        font embedding code
3443
3444        * shell/gpdf.c (gw_setup_window): set window title
3445
3446        * xpdf/GNOME_PDF.server.in.in, shell/gpdf.c: s/Gnome/GNOME/ in
3447        strings
3448
3449        * xpdf/page-control.c, xpdf/gpdf-view.cc,
3450        xpdf/gpdf-persist-stream.cc: use our own marshallers
3451
3452        * configure.in, xpdf/Makefile.am, xpdf/gpdf-marshal.list: check
3453        for and use glib-genmarshal
3454
3455        * xpdf/.cvsignore: ignore generated marshallers
3456
3457        * xpdf/Makefile.am: clean up server.in, server files
3458
3459        * Makefile.am, gpdf.mime: remove gpdf.mime, application/pdf is
3460        provided by gnome-vfs.mime
3461
34622003-02-11  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3463
3464        * xpdf/page-control.c (gpdf_page_control_realize): make page
3465        number entry 5 chars wide
3466       
3467        * xpdf/gpdf-control.cc (gc_setup_page_control): don't set width of
3468        page-control here
3469
3470        * xpdf/gpdf-control-ui.xml, xpdf/gpdf-control.cc
3471        (gc_set_ui_pixbufs): scale down Fit Width icon for the View menu
3472
34732003-02-11  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3474
3475        * xpdf/GPOutputDev.cc (getFontFaceFallback): use the system
3476        aliases for fallback
3477
34782003-02-11  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3479
3480        * xpdf/gpdf-control.cc (gc_setup_page_control)
3481        (gc_page_changed_cb): handle set_page of the page-control
3482
3483        * xpdf/gpdf-view.h: make gpdf_view_goto_page public
3484
3485        * xpdf/page-control.c (gpdf_page_control_return_pressed)
3486        (gpdf_page_control_key_press_event, gpdf_page_control_class_init):
3487        add a set_page signal, emit when <RET> is pressed.
3488
3489        * xpdf/page-control.h: fix indentation, add set_page signal.
3490
34912003-02-10  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3492
3493        * xpdf/page-control.c, xpdf/page-control.h: page number entry
3494        widget (for the toolbar)
3495
3496        * xpdf/gpdf-control.cc (gc_page_changed_cb)
3497        (gc_ui_add_page_control, gc_setup_page_control): add a
3498        page-control to the toolbar (currently displays page number only)
3499        (gc_set_ui_pixbufs): extracted from gc_set_ui_container
3500        (gc_setup_view_widgets): renamed from gc_setup_widgets
3501
3502        * xpdf/gpdf-view.cc, xpdf/gpdf-view.h: add a page_changed signal,
3503        wrap g_signal_emit calls for improved readability
3504
3505        * xpdf/Makefile.am (gnome_pdf_viewer_SOURCES): add page-control.c,
3506        page-control.h
3507
3508        * xpdf/gpdf-control-ui.xml: add placeholder for page-control
3509
35102003-02-09  Christian Rose  <menthos@menthos.com>
3511
3512        * configure.in: Added "kn" to ALL_LINGUAS.
3513
35142003-02-04  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3515
3516        * xpdf/Makefile.am: fix a comment that prevented definition of
3517        gnome_pdf_viewer_LDADD
3518        Patch by Benjamin Dauvergne <feanor@tol-eressea.org>
3519
35202003-01-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3521
3522        * xpdf/GPOutputDev.cc, xpdf/Makefile.am: disable font embedding
3523        hack introduced on 2002-12-09 to fix build with current,
3524        extra-clean gnome-print
3525
35262003-01-07  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3527
3528        * xpdf/GPOutputDev.cc: change list of fonts even more to work with
3529        URW fonts on my system FIXME
3530        (~GPOFontMap, startDoc, getFontFaceEmbedded): cache the fonts
3531        extracted from the PDF and downloaded to the print context.
3532        (~GPOutputDev): plug a leak
3533
3534        * xpdf/GPOutputDev.h: update class declarations
3535
35362003-01-06  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>
3537
3538        * configure.in: Added Spanish (es) to ALL_LINGUAS.
3539
35402003-01-05  Artis Trops  <hornet@navigator.lv>
3541
3542        * configure.in: Added Latvian (lv) to ALL_LINGUAS.
3543
35442002-12-20  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3545
3546        * xpdf/GPOutputDev.cc (GPOFontMap, ~GPOFontMap): add c'tor, d'tor
3547        (initBase14Fonts, getFontFaceBase14, getFontFaceFallback)
3548        (getFontFace): refactor getFontFace, default to URW fonts for Base
3549        14 fonts, keep these font faces in a hash
3550
35512002-12-17  Miloslav Trmac  <mitr@volny.cz>
3552
3553        * configure.in (ALL_LINGUAS): Add Czech (cs)
3554
35552002-12-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3556
3557        * fitwidth.png: copy from ggv.
3558
3559        * xpdf/Makefile.am, xpdf/gpdf-control-ui.xml, xpdf/gpdf-control.cc
3560        (gc_set_ui_container): use it.
3561
3562        * stock-zoom-fit-tall.xpm, stock-zoom-fit-wide.xpm,
3563        stock-zoom-fit.xpm, stock-zoom-in.xpm, stock-zoom-out.xpm: kill
3564        Gnome 1 style pixmaps.
3565
35662002-12-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3567
3568        Using the ``nobody is using this code, just break it'' joker: This
3569        adds some kind of support for embedded Type1 fonts.  Doesn't
3570        respect gnome-print's privacy.  No caching of extracted fonts.
3571       
3572        * xpdf/GPOutputDev.cc (GPOutputDev::startDoc, setPrintContext):
3573        hand through to the font map
3574        (getStreamContents): adapted from glib
3575        (getFontFaceEmbedded): new, uses experimental
3576        gpdf_gnome_print_add_font
3577        (getFontFace): use getFontFaceEmbedded for fonts with embedded
3578        font files
3579
3580        * xpdf/GPOutputDev.h: update declarations,
3581        (GPOFontMap::startDoc, setPrintContext): implemented inline
3582
3583        * xpdf/gpdf-view.cc (gpdf_view_set_pdf_doc): call startDoc
3584
3585        * xpdf/gpdf-gnome-font.h, xpdf/gpdf-gnome-font.c: new files;
3586        hackish implementation of gnome_print_add_font
3587
3588        * xpdf/Makefile.am (gnome_pdf_viewer_SOURCES): add
3589        gpdf-gnome-font.[hc]
3590
35912002-11-27  Michael Meeks  <michael@ximian.com>
3592
3593        * xpdf/gpdf-control.cc,
3594        * xpdf/gpdf-view.cc: add math.h includes.
3595
35962002-11-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3597
3598        * xpdf/GPOutputDev.cc: remove unused includes
3599        (drawImageMask): implement
3600
3601        * xpdf/GPOutputDev.h (drawImageMask): uncomment declaration
3602
3603        * xpdf/gpdf-persist-stream.cc (load_pdf_from_stream): allow reuse
3604        of a GPdfPersistStream: delete its old contents, go on as usual
3605
36062002-11-21  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3607
3608        * xpdf/gpdf-view.cc (gpdf_view_render_page): kill page parameter,
3609        get it from priv->requested_page, change return type from void to
3610        gboolean for use as idle handler, always return FALSE
3611        (priv): new field requested_page, rename page => current_page
3612        (gpdf_view_goto_page): don't call ::render_page directly,
3613        g_idle_add it instead
3614        (gpdf_view_page_prev, gpdf_view_page_next): interprete prev and
3615        next relative to requested_page
3616        (gpdf_view_key_press_event): s/page/current_page/
3617        (gpdf_view_set_pdf_doc): don't ::render_page, ::goto_page instead
3618
36192002-11-17  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3620
3621        * shell/gpdf.c: include aconf.h before gpdf-window.h to
3622        enable translation of the shell
3623       
36242002-11-15  Martin Kretzschmar  <mk793652@mail.inf.tu-dresden.de>
3625
3626        * configure.in: require libgnomeprint(ui)-2.2
3627
36282002-11-10  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3629
3630        * xpdf/gpdf-control.cc (gc_set_zoom_items_visibility)
3631        (ui_component_set_hidden): hide zoom commands if we have a
3632        zoomable frame
3633
36342002-11-10  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3635
3636        * xpdf/gpdf-control.cc (gc_zoom_changed_cb): report gpdf_view's
3637        changed zoom level to bonobo zoomable
3638        (gc_setup_widgets): install zoom_changed handler
3639
3640        * xpdf/gpdf-view.cc (gpdf_view_class_init): install zoom_changed
3641        signal
3642        (gpdf_view_zoom): emit zoom_changed signal
3643
3644        * xpdf/gpdf-view.h (GPdfViewClass): add zoom_changed signal slot
3645
3646        * configure.in: yacob Added am to ALL_LINGUAS without change log
3647        entry
3648       
36492002-11-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3650
3651        * xpdf/Makefile.am: don't build pdf_view.o, GOutputDev.o
3652
36532002-11-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3654
3655        * xpdf/gpdf-control.cc: remove all references to old PdfView class
3656        (preferred_zoom_levels, preferred_zoom_level_names): add more zoom
3657        levels
3658        (gc_zoom_level_from_index): kill
3659        (gpdf_control_zoom_in, gpdf_control_zoom_out)
3660        (gpdf_control_zoom_fit_width, gpdf_control_zoom_fit)
3661        (gpdf_control_zoom_default, gc_zoomable_set_zoom_level_cb):
3662        rewrite using GPdfView methods
3663
3664        * xpdf/gpdf-view.cc (gpdf_view_zoom_in, gpdf_view_zoom_fit)
3665        (gpdf_view_zoom_fit_width): implement
3666
3667        * xpdf/gpdf-view.h: add zoom function prototypes
3668
3669        * xpdf/bonobo-application-x-pdf.cc (main):
3670        * shell/gpdf.c (main): s/PACKAGE/GETTEXT_PACKAGE/ in *textdomain
3671        functions
3672
3673        * xpdf/Makefile.am, goo/Makefile.am: fix distcheck
3674
36752002-11-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3676
3677        * xpdf/gpdf-view.cc (gpdf_view_key_press_event): xpdf page
3678        numbering is not zero-based!
3679
3680        * xpdf/GfxState.cc (GfxDeviceCMYKColorSpace::getRGB): special case
3681        cmyk k-only colors
3682
3683        * xpdf/GPOutputDev.h: declare drawImage
3684
3685        * xpdf/GPOutputDev.cc (getFontFace): forgot to rename one
3686        font_name to gfont_name; cleanup whitespace in the source
3687        (drawImage): implement. (Does not render output on
3688        GnomePrintPreview older than 2002-06-14)
3689
3690        * shell/gpdf.c (gw_control_load_pdf): s|file://|file:|
3691
36922002-11-05  Martin Kretzschmar  <mk793652@mail.inf.tu-dresden.de>
3693
3694        * xpdf/GPOutputDev.cc (updateFont): extract GfxFont->GnomeFont
3695        mapping into its own class: GPOFontMap
3696        (getFontFace): I'm cheating. This first implementation makes only
3697        some Basic-14-PostScript fonts look nice
3698       
3699        * xpdf/GPOutputDev.h: add GPOFontMap class
3700        (GPOutputDev): add GPOFontMap member
3701
37022002-11-03  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
3703
3704        * xpdf/GPOutputDev.cc (GPOutputDev): kill one-arg constructor,
3705        more initializations in zero-arg constructor
3706        (startPage, restoreState, updateFillColor)
3707        (updateFillColorIfNecessary, updateStrokeColor)
3708        (updateStrokeColorIfNecessary, stroke, fill, eoFill): remember if
3709        the last color set was for stroking or for non-stroking
3710        operations, set the color again IfNecessary
3711        (updateLineDash, updateFillColor, updateStrokeColor, updateFont)
3712        (doPath): this is C++, so move declarations of variables to their
3713        first use and initialize them there
3714        (updateFillColor, updateStrokeColor, updateFillOpacity)
3715        (updateStrokeOpacity): hande opacity, always set color and opacity
3716        together
3717        (updateFont): store the GnomeFont we want to use later; font
3718        handling still non-existant
3719        (updateTextPos): store the text position
3720        (updateTextShift): new, updates text position
3721        (getFillColorRGBA): new, creates a RRGGBBAA gint from a GfxState
3722        (drawString): rewritten to use Glyphlist machinery, quite okay
3723        ( for western locales) now
3724       
3725        * xpdf/GPOutputDev.h: update prototypes, new private members   
3726
3727        * xpdf/gpdf-control.cc (gc_key_press_event_cb): kill, GPdfView
3728        handles all its key events
3729        (gc_setup_widgets): don't connect killed handler; gpdf_view, grab
3730        focus!
3731       
3732        * xpdf/gpdf-view.cc (gpdf_view_construct): factor out:
3733        (gpdf_view_setup_page_background): and add:
3734        (gpdf_view_setup_gesture_handler): guess what it does
3735        (gesture_page_next_event_cb, gesture_page_prev_event_cb)
3736        (gesture_page_first_event_cb, gesture_page_last_event_cb)
3737        (gesture_zoom_in_event_cb, gesture_zoom_out_event_cb): add gesture
3738        handling
3739        (gpdf_view_dispose): destroy gesture handler
3740        (gpdf_view_render_page): improve readability, split out:
3741        (setup_upside_down_transform):
3742        (gpdf_view_zoom, gpdf_view_zoom_in, gpdf_view_zoom_out): new
3743        (gpdf_view_key_press_event): new
3744        (gpdf_view_button_press_event, gpdf_view_button_release_event)
3745        (gpdf_view_motion_notify_event): for dragging the page
3746        (gpdf_view_class_init): install signal handlers
3747
37482002-10-31  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3749
3750        The work on a Gnome Print Output Device starts here. The last
3751        version of the old pixmap based rendering code is tagged
3752        BEFORE_GNOME_PRINT.
3753       
3754        * xpdf/gpdf-control.cc (_GpdfControlPrivate): add field for
3755        GPdfView
3756        (gc_setup_widgets, gc_set_pdf_cb, verb_GoPageLast_cb)
3757        (verb_GoPageFirst_cb, verb_GoPageNext_cb, verb_GoPagePrev_cb): use
3758        GPdfView instead of PdfView
3759
3760        * xpdf/gpdf-view.cc, xpdf/gpdf-view.h: widget for for GPOutputDev
3761        to draw on. Using GnomePrintPreview.
3762
3763        * xpdf/GPOutputDev.cc, xpdf/GPOutputDev.h: new Gnome Print Output
3764        Device class, strokes and fills look (surprisingly) quite okay,
3765        font and text handling is throw-away code
3766
3767        * xpdf/gpdf-util.h (BEGIN_C_DECLS, END_C_DECLS): remove macros,
3768        use those from glib
3769        (GPDF_BOILERPLATE, GPDF_CLASS_BOILERPLATE, GPDF_REGISTER_TYPE):
3770        macros from bonobo-macros.h and gnome-macros.h compatible with
3771        c++ type system rules
3772
3773        * xpdf/OutputDev.h: declare class Object
3774
3775        * xpdf/Gfx.h: include Object.h
3776
3777        * configure.in: check for libgnomeprint(ui)-2.0
3778
37792002-10-23  Martin Kretzschmar  <mk793652@mail.inf.tu-dresden.de>
3780
3781        * xpdf/gpdf-persist-stream.cc (PARENT_TYPE): that last s/// was
3782        obviously scrambling too many words, make that
3783        BONOBO_TYPE_PERSIST_STREAM
3784
37852002-10-16  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
3786
3787        * xpdf/gpdf-persist-stream.cc: use gpdf-g-switch.h,
3788        s/BONOBO_PERSIST_STREAM_TYPE/BONOBO_TYPE_STREAM_PERSIST/
3789
3790        * xpdf/gpdf-control.cc (gpdf_control_zoom_fit_width)
3791        (gpdf_control_zoom_fit): s/gtk_idle_add/g_idle_add/
3792        (gpdf_control_activate): use BONOBO_CALL_PARENT macro
3793        (gc_setup_widgets): use g_signal_connect, not gtk_signal_connect
3794
3795        * xpdf/gpdf-control.h, gpdf-persist-stream.h: replace GTK_CHECK
3796        macros with G_TYPE_CHECK, GtkType with GType
3797
37982002-10-15  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
3799
3800        * shell/gpdf.c (gw_open, gw_close): rename to gpdf_window_open,
3801        gpdf_window_close and make them public
3802        (handle_cmdline_args): s/gtk_idle_add/g_idle_add/
3803        (gw_control_load_pdf): fix leaks for error cases
3804        (gpdf_window_open): simplify
3805        (gw_ask_for_filename): use g_signal_connect, not gtk_signal_connect
3806
3807        * shell/gpdf-window.h: replace GTK_CHECK macros with G_TYPE_CHECK,
3808        s/bonobo.h/libbonoboui.h/, declare gpdf_window_open, gpdf_window_close
3809
38102002-10-13  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3811
3812        * shell/Makefile.am (-DGNOMELOCALEDIR): define as everybody does
3813
3814        * shell/gpdf-window.h: godf_window_get_type returns GType
3815
3816        * shell/gpdf.c: use GNOME_CLASS_BOILERPLATE, no need for
3817        gpdf-util.h, GPDF_EMBEDDABLE_IID
3818        (gpdf_window_class_init, gpdf_window_instance_init): rename from
3819        class_init, init
3820        (verb_HelpAbout_cb): gnome_about_new doesn't return a GnomeDialog,
3821        modify to allow only one about dialog
3822        (raise_and_focus): for verb_HelpAbout_cb, from EogWindow
3823        (gw_close): bonobo_main_quit is correct here
3824        (gw_open): release and unref control after adding it to the
3825        control frame. Refcounting seems to work! The server autoexits :-)
3826       
3827        * xpdf/gpdf-control-ui.xml: add accelerator to View menu
3828
38292002-10-12  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3830
3831        * xpdf/gpdf-control-ui.xml: hide ZoomFitWidth toolbar button
3832
3833        * xpdf/gpdf-control.cc (struct _GPdfControlPrivate): don't store a
3834        GPdfPersistStream
3835        (gc_setup_persist): ditto
3836        (gpdf_control_destroy): don't unref GPdfPersistStream, we
3837        add_interface'd it
3838        (gc_setup_zoomable): setup a BonoboZoomable, add_interface
3839        (gc_zoomable_set_zoom_level_cb, gc_zoomable_set_frame_cb):
3840        Callbacks for the zoomable
3841        (gpdf_control_construct): use gc_setup_zoomable
3842
3843        * xpdf/GNOME_PDF.server.in.in: add Zoomable repo id
3844
3845        * configure.in: don't create intl/Makefile
3846
38472002-10-12  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3848
3849        * xpdf/.cvsignore: add GNOME_PDF.server, GNOME_PDF.server.in
3850
3851        * xpdf/pdf-view.cc: don't #include bonobo_application_x_pdf.h,
3852        update for new GObject, GSignal, Bonobo signatures
3853        (setup_pixmap): don't use double buffering
3854
3855        * xpdf/gtkgesture.h: s/BEGIN_GNOME_DECLS/G_BEGIN_DECLS/
3856
3857        * xpdf/gpdf-persist-stream.h, xpdf/gpdf-control.h, pdf-view.h
3858        (#includes): update, use gpdf-g-switch.h,
3859        s/BEGIN_GNOME_DECLS/G_BEGIN_DECLS/
3860
3861        * xpdf/gpdf-persist-stream.cc (#includes): update
3862        (load_pdf_from_stream): Bonobo_Unknown_ref our stream
3863        (delete_pdf_doc_full): unref our stream
3864        (all around) update for new GObject, GSignal, Bonobo signatures
3865        (gpdf_persist_stream_new, gpdf_persist_stream_construct): take iid
3866        parameter to be passed on to bonobo_persist_stream_construct
3867       
3868        * xpdf/gpdf-embeddable-view.cc: don't include
3869        bonobo-application-x-pdf.h
3870
3871        * xpdf/gpdf-control.cc: PARENT_TYPE is BONOBO_TYPE_CONTROL;
3872        update for new GObject, GtkWidget, Bonobo signatures
3873
3874        * xpdf/gpdf-control-ui.xml: use gtk-stock-pixmaps
3875
3876        * xpdf/bonobo-application-x-pdf.cc (#includes): use
3877        gpdf-g-switch.h, update
3878        (gpdf_factory): don't create embeddable, gpdf_persist_stream_new
3879        takes iid parameter
3880        (init_gpdf_factory, init_corba, init_bonobo): kill
3881        (main): no need to init gdk_rgb; use BONOBO_FACTORY_INIT,
3882        bonobo_generic_factory_main
3883
3884        * xpdf/Makefile.am (INCLUDES, LDADD): update
3885        (bin_PROGRAMS): move gnome-pdf-viewer to libexec_PROGRAMS
3886        (gnome_pdf_viewer_SOURCES): nobody needs
3887        bonobo-application-x-pdf.h, don't build embeddable stuff
3888        (oafdir, oaf_DATA): kill
3889        (server_in_files, serverdir): add, do libexec sed job on
3890        .server.in.in file, add @INTLTOOL_SERVER_RULE@
3891        (uidir): s/gnome/gnome-2.0/
3892
3893        * xpdf/GOutputDev.cc (#includes): use gpdf-g-switch.h
3894        (GOutputDev::GOutputDev): get size and depth of pixmap with
3895        gdk_drawable_get_foo background color to white
3896        (all around): gdk_region_foo now destructively update their first
3897        argument, use gdk_rgb to find colors
3898        (drawImageMask): don't gdk_image_new_bitmap
3899       
3900        * xpdf/gpdf-g-switch.h: new file, include it when switching
3901        between goo and glib headers
3902
3903        * xpdf/GNOME_PDF.server.in.in: factory is in @LIBEXECDIR@
3904        s|GNOME/GenericFactory|Bonobo/GenericFactory|, make it
3905        translatable, kill embeddable stanza
3906
3907        * xpdf/GNOME_PDF.oafinfo: remove
3908
3909        * xpdf/BonoboStream.cc:
3910        s/Bonobo_Stream_SEEK_SET/Bonobo_Stream_SeekSet/ et al. (see
3911        libbonobo/ChangeLog#2002-03-31)
3912
3913        * shell/gpdf.c (#includes): use G2 headers
3914        (main): copy from eog
3915        (struct _Component): kill (was embeddable code)
3916        (USE_CONTROL): kill #define, kill all code surrounded by #if
3917        !USE_CONTROL (i.e. embeddable code)
3918        (all around): add Corba_Environment argument where it's needed now
3919        (gw_control_load_pdf): s/BonoboStream \*stream/Bonobo_Stream
3920        stream/.  get the stream using monikers, unref it later
3921        (gw_drag_data_received): use uri handling code from gnome-vfs
3922        (verb_HelpAbout_cb): update for new gnome_about_new
3923        (verb_DebugDumpXml_cb): kill
3924        (gw_destroy): may be called more than once, so update assertions
3925        (gw_finalize): is a GObject method now, chain up to parent
3926        (class_init): update for GObject methods
3927        (gw_setup_window): blend of bonobo_window_construct and old
3928        gw_setup_geometry
3929        (gw_setup_geometry): kill
3930        (gw_setup_toplevel_ui): use BonoboUIContainer from BonoboWindow
3931        (gpdf_window_construct): use gw_setup_window, not
3932        bonobo_window_construct, not gw_setup_geometry
3933
3934        * shell/gpdf-window.h: s/BEGIN_GNOME_DECLS/G_BEGIN_DECLS/, kill
3935        struct _Component decl (was used for embeddable)
3936
3937        * shell/gpdf-window-ui.xml: kill DebugDumpXml verb
3938
3939        * shell/Makefile.am: update INCLUDES, LD_ADD;
3940        (gpdf_SOURCES): add missing gpdf-window.h
3941        (uidir): s/gnome/gnome-2.0/
3942
3943        * configure.in: clean it a bit; set version to 0.100 (version was
3944        at 0.90.1 for ever and I don't want to call it 1.01.1, this is not
3945        1.something quality code); use GNOME2 macros;
3946        (i18n): update according to G2 porting guide
3947        (gnome-lib-checks): use PKG_CHECK
3948       
3949       
3950        * autogen.sh: PKG_NAME="gpdf:", USE_GNOME2_MACROS
3951
3952        * .cvsignore: add intltool-... files
3953
3954        Initial port to GNOME 2
3955
39562002-10-08  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3957
3958        * xpdf/pdf-view.cc: access private fields through priv field,
3959        don't use view_data_t
3960        (pv_realize): calls render_page if we already have a pdf_doc;
3961        install as realize default handler
3962        (redraw_on_realize_cb): kill
3963        (pdf_view_set_pdf_doc): if we're not realized yet, just don't
3964        render page
3965       
3966        * xpdf/pdf-view.h: kill view_data_t typedef, move PdfView's fields
3967        to PdfViewPrivate
3968       
3969        * configure.in: check for gdk-pixbuf
3970
3971        * xpdf/GOutputDev.cc (drawImage): replace bogus GdkImage code with
3972        GdkPixbuf code. I don't have any PDFs here which use
3973        drawImageMask, so drawImageMask I haven't rewritten drawImageMask.
3974
39752002-10-07  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3976
3977        * xpdf/pdf-view.cc (first_page, last_page, next_page, prev_page):
3978        inline into pdf_view_page_first and friends
3979        (render_page): static again
3980
39812002-10-07  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3982
3983        * xpdf/xpdfsrc.txt, xpdf/xpdfobj.txt: kill
3984
3985        * xpdf/gpdf-embeddable-view.cc (gev_set_pdf_cb)
3986        (gpdf_embeddable_view_construct): see gc_set_pdf_cb entry below
3987
3988        * xpdf/gpdf-control.cc (GPdfControlPrivate: store persist_stream
3989        (gpdf_control_destroy): write, install
3990        (gc_setup_persist, gc_set_pdf_cb): pdf_view_set_pdf_doc on set_pdf
3991        signal from persist_stream (used to be done in PdfView)
3992        (gc_setup_widgets): pdf_view_new takes no parameter
3993
3994        * xpdf/pdf-view.h: s/extern "C" {// around headers
3995        update declarations
3996
3997        * xpdf/pdf-view.cc (PdfViewPrivate): store only a PDFDoc, not a
3998        GPdfPersistStream
3999        (view_is_good): replace with IS_PDF_VIEW_WITH_DOC macro, use that
4000        (last_page, next_page): get pdf_doc from priv
4001        (setup_size): ditto, add parameter assertion
4002        (render_page, pdf_view_get_page_width): get pdf_doc from priv
4003        (pdf_view_set_zoom): only render_page if pdf_poc != NULL
4004        (set_pdf_cb): inline into:
4005        (pdf_view_set_pdf_doc): new method, eventually we can switch the
4006        pdf to be displayed
4007        (pv_destroy, pdf_view_construct, pdf_view_new): don't store a
4008        GPdfPersistStream
4009
4010        * xpdf/gtkgesture.h: include gtk.h, protect with BEGIN_GNOME_DECLS
4011
4012        * xpdf/gpdf-persist-stream.h: move GPdfPersistStreamPrivate to
4013        gpdf-persist-stream.cc
4014        (gpdf_persist_stream_get_pdf_doc): declare
4015
4016        * xpdf/gpdf-persist-stream.cc (gpdf_persist_stream_get_pdf_doc):
4017        new accessor method
4018
4019        * MAINTAINERS: mail your questions to me
4020
40212002-10-05  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4022
4023        * xpdf/gpdf-control.cc (gc_key_press_event_cb): add _cb suffix
4024        (gc_zoom_level_from_index, gc_set_policy_idle_cb): add gc_ prefix
4025        (gpdf_control_zoom_in, gpdf_control_zoom_out)
4026        (gpdf_control_zoom_fit_width, gpdf_control_zoom_fit): extract from
4027        verb implementations
4028        (gc_zoom_in_cb, gc_zoom_out_cb, gc_zoom_to_fit_cb)
4029        (gc_zoom_to_fit_width_cb, gc_zoom_to_default_cb): callbacks for
4030        PdfView zoom signals
4031
4032        * xpdf/pdf-view.h (PdfViewClass): add signal slots
4033        (PdfView): kill unused mainbox field
4034
4035        * xpdf/pdf-view.cc: kill old zooming code, when we want to zoom,
4036        we just emit signals. Our container can connect to these and make
4037        the right calls (i.e. pdf_view_set_zoom).
4038        (pv_key_press_event): emit zoom signals instead of setting our
4039        zoom level directly
4040        (class_init): install signals
4041        (zoom_to_fit): kill
4042        (pdf_view_construct): connect each gesture to its own callback
4043        (gesture_page_event_cb, gesture_zoom_event_cb, view_zoom_verb)
4044        (view_switch_page): kill old gesture callbacks and helpers
4045        (gesture_page_next_event_cb, gesture_page_prev_event_cb)
4046        (gesture_page_first_event_cb, gesture_page_last_event_cb)
4047        (gesture_zoom_in_event_cb, gesture_zoom_out_event_cb): new gesture
4048        callbacks
4049       
4050        * xpdf/bonobo-application-x-pdf-ui.xml: kill zooming verbs from
4051        embeddable view ui
4052
4053        * xpdf/gpdf-embeddable-view.cc (view_zoom_verb)
4054        (page_zoom_fit_width_cb, page_zoom_fit_height_cb)
4055        (page_enlarge_cb, page_shrink_cb, view_zoom_query): kill zooming
4056        machinery in embeddable view
4057
4058        * xpdf/pdf-view.cc (view_zoom_query): kill unused method
4059
40602002-10-05  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4061
4062        * xpdf/gpdf-control-ui.xml: rename ZoomFitHeight back (2001-08-12)
4063        to ZoomFit, label it Best Fit as seen in HIG; it was never really
4064        ZoomFitHeight
4065
4066        * xpdf/gpdf-control.cc (zoom_level_from_index, verb_ZoomIn_cb)
4067        (verb_ZoomOut_cb, set_policy_idle_cb, verb_ZoomFitWidth_cb)
4068        (verb_ZoomFit_cb): reimplement zooming (no BonoboZoomable yet;
4069        zoom-on-key-press still uses old code), rename ZoomFitHeight back
4070        to ZoomFit
4071        (gpdf_control_class_init): kill local variables
4072
4073        * xpdf/pdf-view.h: add prototypes
4074
4075        * xpdf/pdf-view.cc (configure_size): kill this empty function
4076        (setup_pixmap): don't call configure_size
4077        (pdf_view_get_zoom, pdf_view_set_zoom, MIN_ZOOM_FACTOR)
4078        (MAX_ZOOM_FACTOR): add nice, short zooming methods
4079        (pdf_view_get_page_width, pdf_view_get_page_height): add
4080
4081        * shell/gpdf.c (gw_control_load_pdf, gw_open, verb_HelpAbout_cb)
4082        (gpdf_window_construct): make it compile again. The wonders of
4083        emacs dabbrev-expand and me only recompiling half of the
4084        directories.
4085
4086        * AUTHORS: update Xpdf copyright notice
4087
4088        * .cvsignore: ignore more automake generated files
4089
40902002-10-04  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4091
4092        * xpdf/pdf-view.cc (setup_pixmap): get our GdkWindow directly from
4093        our parent window, not from the win field
4094        (mainbox_realize): kill, (it only assigns to the win field)
4095        (pdf_view_construct): don't connect to "realize" to killed
4096        mainbox_realize
4097        (real_redraw_view): don't call realize_mainbox (which would assign
4098        to win, render_page, configure_size which is empty),
4099        redraw_view_all does already render page
4100        (realize_mainbox): kill, its only caller doesn't use it anymore
4101        (real_redraw_view): rename to redraw_on_realize_cb to reflect its
4102        only use
4103        (redraw_view): rename to set_pdf_cb for same reason, clean if
4104        else, call redraw_view_all instead of real_redraw_view
4105        (key_press_event_cb): rename to pv_key_press_event, make it the
4106        default handler for our key_press_event, use pdf_view_page bla,
4107        not view_switch_page
4108        (button_press_event_cb): rename to pv_button_press_event, make it
4109        the default handler, check if we already have focus
4110        (class_init): install pv_key_press_event, pv_button_press_event
4111        (pdf_view_construct): don't connect key_press_event_cb,
4112        button_press_event_cb
4113        (redraw_view_all): fuse with render_page, use that in all places
4114
4115        * xpdf/pdf-view.h: kill win field
4116
4117        * xpdf/gpdf-embeddable-view.cc: s/redraw_view_all/render_page/g
4118
4119        I don't know how to write a GtkWidget, but the code for the
4120        PdfView widget had a lot of artificial complexity, in my eyes.
4121        Is this from the time before it used GtkPixmap (1999-09-01)?
4122
41232002-10-04  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4124
4125        * shell/Makefile.am (EXTRA_DIST): distribute gpdf-window-ui.xml
4126
4127        * shell/gpdf-window-ui.xml: new file, based on xpdf/gpdf-ui.xml
4128
4129        * shell/gpdf.c (GPDF_IS_NON_NULL_WINDOW): add macro
4130        (GW_RETURN_UNLESS_GW, GW_RETURN_VAL_UNLESS_GW): kill macros, use
4131        GPDF_IS_NON_NULL_WINDOW with g_return_bla instead, this looks
4132        more G'ish to me
4133
4134        * xpdf/.cvsignore: ignore gnome-pdf-viewer binary
4135
4136        * xpdf/Makefile.am (XML_FILES): don't distribute gpdf-ui.xml
4137        (EXTRA_DIST): no ChangeLog here
4138
4139        * xpdf/gpdf-ui.xml: remove
4140
4141        * xpdf/gpdf-control-ui.xml: new file, based on
4142        bonobo-application-x-pdf-ui.xml, half-hearted attempts to be
4143        HIG-compliant
4144
4145        * xpdf/gpdf-control.cc (GPDF_IS_NON_NULL_CONTROL): add, use it
4146        (gc_key_press_event): keyhandling mostly copied from embeddable
4147        (verb_GoPagePrev_cb, verb_GoPageNext_cb, verb_GoPageFirst_cb)
4148        (verb_GoPageLast_cb, gc_verbs []): add page verbs
4149        (gc_set_ui_container, gc_unset_ui_container)
4150        (gpdf_control_activate): install UI merging
4151        (gc_set_zoom_items_visibility): only a dummy
4152        (gpdf_control_construct): decompose into:
4153        (gc_setup_persist, gc_setup_widgets): construct helpers
4154
4155        * xpdf/gpdf-embeddable-view.cc: use pdf_view_page_bla
4156
4157        * xpdf/gpdf-embeddable.h (bed_t): kill already unused typedef
4158
4159        * xpdf/pdf-view.h (pdf_view_page_prev, pdf_view_page_next)
4160        (pdf_view_page_first, pdf_view_page_last): export
4161
4162        * xpdf/pdf-view.cc (first_page, last_page, next_page, prev_page):
4163        static again
4164        (pdf_view_page_prev, pdf_view_page_next, pdf_view_page_first)
4165        (pdf_view_page_last): methods to be called by the control (and the
4166        embeddable view) to do what their names say
4167        (IS_NON_NULL_PDF_VIEW): like IS_PDF_VIEW with obvious extra check
4168
41692002-10-02  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4170
4171        * xpdf/Makefile.am: factory file name is gnome-pdf-viewer,
4172        s/GNOME_XPDF.oafinfo/GNOME_PDF.oafinfo/
4173
4174        * xpdf/GNOME_PDF.oafinfo: s/XPDF/PDF/g, the factory file name
4175        is now gnome-pdf-viewer, add oaf_server entry for the control
4176
4177        * xpdf/bonobo-application-x-pdf.cc (gpdf_factory): multi factory
4178        function, replaces embeddable_factory, creates controls, too
4179
4180        * xpdf/gpdf-control.cc, xpdf/gpdf-control.h: new files, first code
4181        for PDF viewer bonobo control.
4182
4183        * shell/gpdf.c: handle priv field in GPdfWindow, add code for using
4184        a control instead of an embeddable (use it when USE_CONTROL != 0)
4185
4186        * shell/gpdf-window.h (GPdfWindow): add priv field, kill app field
4187        (struct _Component) is private, moved back to gpdf.c
4188       
4189        * configure.in: PACKAGE and VERSION are set by AM_INIT_AUTOMAKE,
4190        kill explicit assignments
4191
4192        * xpdf/GNOME_XPDF.oafinfo: remove
4193
41942002-10-01  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4195
4196        * xpdf/gpdf-embeddable-view.cc (gpdf_embeddable_view_construct):
4197        pdf_view_new takes persist_stream, not embeddable
4198
4199        * xpdf/pdf-view.cc: add priv struct, use it to get persist_stream,
4200        not bed field
4201        (pdf_view_new): take persist_stream, not embeddable
4202        (pdf_view_construct): ditto, store it in priv
4203        (init): g_new0 priv
4204        (class_init): we need finalize:
4205        (pv_finalize): for priv
4206        (pv_destroy): unref priv->persist_stream
4207
4208        * xpdf/pdf-view.h: use BEGIN_GNOME_DECLS, we have a priv field now,
4209        kill bed field, new and construct take a GPdfPersistStream now, not
4210        GPdfEmbeddable (of course, this is still ugly)
4211
4212        Various source files: remove \n from g_message calls,
4213        update Michael's email address, s/Helix Code/Ximian/
4214       
42152002-09-30  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4216
4217        * xpdf/gpdf-embeddable.h (GPdfEmbeddable): kill already commented
4218        out fields
4219        (GPdfEmbeddableClass): kill pdf_changed signal slot
4220       
42212002-09-30  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4222
4223        * xpdf/pdf-view.cc: get PDFDoc from GPdfPersistStream, not
4224        directly from our embeddable (various places).
4225
4226        * xpdf/Makefile.am: fix gui variable, add gpdf-persist-stream
4227        files
4228
4229        * xpdf/bonobo-application-x-pdf.cc: include GlobalParams.h,
4230        (embeddable_factory): create a GPdfPersistStream first, then
4231        create an embeddable.
4232
4233        * xpdf/gpdf-embeddable.cc (bed_free_data): move to
4234        gpdf-persist-stream.cc as delete_pdf_doc_full
4235        (load_pdf_from_stream): move to gpdf-persist-stream.cc
4236        (finalize): free priv field
4237        (class_init): kill pdf_changed signal, GPdfPersistStream has
4238        set_pdf signal, use finalize
4239        (gpdf_embeddable_add_interfaces): kill
4240        (gpdf_embeddable_construct): take GPdfPersistStream param,
4241        use bonobo_object_add_interface not gpdf_embeddable_add_intf
4242        (gpdf_embeddable_new): take GPdfPersistStream param
4243
4244        * xpdf/gpdf-embeddable.h: remove extern "C" around bonobo
4245        includes, they protect themselves. Introduce private struct,
4246        still public. Use GPdfPersistStream
4247
4248       
4249        * xpdf/gpdf-persist-stream.cc, xpdf/gpdf-persist-stream.h:
4250        files for new GPdfPersistStream class. Contains PDF loading code
4251
4252        * xpdf/BonoboStream.h: hide GList before including gnome headers
4253
42542002-09-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
4255
4256        * configure.in: don't use macro dir, don't call AC_ARG_PROGRAM
4257        ( AM_INIT_AUTOMAKE does this), inline autoheader templates from
4258        acconfig.h, use AC_HELP_STRING where appropriate.
4259
4260        * acconfig.h: Remove.
4261
4262        * autogen.sh: switch from macro dir to gnome-common.
4263
42642002-09-24  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4265
4266        * shell/gpdf-window.h: kill the Container typedef, everybody uses
4267        GPdfWindow now.
4268        (Component): rename container field to gpdf_window
4269
4270        * shell/gpdf.c (gw_has_contents): ``readability function'', use it
4271        instead of testing gpdf_window->view_widget
4272        (gw_drag_data_received): inline code from container_new, clean it
4273        (gw_open_dialog): ditto
4274        (main): moe gpdf_popt_options, poptContext globals here, make
4275        command line handling an idle handler -- again, shamelessly stolen
4276        from eog:
4277        (handle_cmdline_args, create_window): command line handlers
4278        (container_new): not needed anymore, kill
4279
42802002-09-24  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4281
4282        * shell/gpdf.c: s/containers/window_list/g and move definition
4283        down to GPdfWindowClass
4284        (GW_RETURN_NULL_UNLESS_GW): kill this macro, use
4285        GW_RETURN_VAL_UNLESS_GW
4286        (gw_close_all): write while loop with less ink
4287
42882002-09-23  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4289
4290        * xpdf/bonobo-application-x-pdf-ui.xml: kill HelpAbout verb,
4291        only the shell implements it.
4292
42932002-09-23  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4294
4295        * shell/gpdf.c (gw_setup_dnd): use TARGET_URI_LIST enum constant
4296        in GtkTargetEntry drag_types[]
4297        (component_destroy): rename to gw_component_destroy, move down to
4298        its only caller gw_destroy, add != NULL assertion
4299        (gw_destroy): call it with new name
4300        (container_set_view): rename to gw_add_component_view_to_ui, add
4301        parameter asserts, use bonobo_client_site_new_view_full, don't
4302        call bonobo_wrapper_set_visibility, bonobo_view_frame_set_covered
4303        (container_launch_component): s/container/gw/, add gpdf_window
4304        parameter, get BonoboItemContainer from it, kill goad_id
4305        parameter, always use GPDF_EMBEDDABLE_IID (new #define)
4306        (container_activate_component): s/container/gw/, kill goad_id
4307        param, check gpdf_window param, use gw_launch_component
4308        (open_pdf): rename to gw_open, factor out PersistStream loading
4309        into gw_component_load_pdf
4310        (container_destroy): kill,
4311        (container_new): use gw_close instead
4312
4313        Kill some prototype declarations.
4314       
43152002-09-18  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4316
4317        * ChangeLog: merge in xpdf/ChangeLog and shell/ChangeLog using
4318        the excellent MergeLog.awk and Emacs ediff tools.
4319
4320        * shell/ChangeLog: remove
4321
4322        * xpdf/ChangeLog: remove
4323       
43242002-09-17  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4325
4326        * xpdf/gpdf-embeddable.cc (load_pdf_from_stream): don't try to
4327        check for catalog after having discovered that !pdf->isOk and
4328        having already deleted it. I introduced my first goto to this
4329        code.  Edsger Dijkstra in memoriam
4330
43312002-09-17  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4332
4333        * shell/gpdf.c (container_exit_cmd): => (verb_FileExit_cb)
4334        (gw_close_all): close all windows, causing the program to exit
4335        (verb_FileExit_cb): use gw_close_all
4336        (container_open_cmd): => (verb_FileOpen_cb) which calls the new
4337        (gw_open_dialog): extract file selection code into
4338        (gw_ask_for_filename):
4339        (file_dialog_delete_event): move down to gw_ask_for_filename
4340        (set_ok): ditto, rename to file_dialog_ok
4341
43422002-09-17  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4343
4344        * shell/gpdf.c (container_close_cmd): turn into
4345        (verb_FileCloseWindow_cb) with BonoboUIVerbFn prototype
4346        (container_dump_cmd): ditto (verb_DebugDumpXml_cb)
4347        (container_about_cmd): ditto (verb_HelpAbout_cv), Michael says I
4348        maintain gpdf now, added Ravi Pratap, Xpdf copyright holder is
4349        Glyph & Cog, LLC, Derek B. Noonburg's pdf consulting business
4350        (verbs []) rename: gw_verbs, make static, move to where it is
4351        needed: right before gw_setup_toplevel_ui, use new verb callback
4352        names
4353
43542002-09-17  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4355
4356        * shell/gpdf.c (filenames_dropped): turn into
4357        (gw_drag_data_received) use for for (ed.'s note: not a typo)
4358        iterating the list, not while, free list after use
4359        (class_init): install gw_drag_data_received as default handler for
4360        drag_data_received
4361        (gw_setup_dnd): don't connect filenames_dropped to
4362        drag_data_received
4363        (gw_delete_event): renamed from (gw_delete) for consistency with
4364        signal name
4365
43662002-09-15  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4367
4368        * xpdf/Makefile.am: don't build gpdf here
4369
4370        * xpdf/gpdf.cc: move to shell/gpdf.c
4371
43722002-09-15  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4373
4374        * shell/gpdf.c (gw_destroy): destructor (code from container_destroy)
4375        (gw_delete): delete_event default handler
4376        (gw_close): other half of container_destroy
4377        (gpdf_window_construct): no need to gtk_object_set_data
4378        "container_data", don't connect to delete_event
4379        (class_init): init parent_class, install destroy and delete_event
4380        default handler
4381        (container_close): kill, just use gw_close
4382        (container_close_cmd): call gw_close
4383
43842002-09-15  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4385
4386        * shell/gpdf.c: include gpdf-window.h, pull out struct defns,
4387        implement GPdfWindow class here for now (let's see if it's more
4388        convenient)
4389        (gpdf_window_new, gpdf_window_construct): new (with helper
4390        functions)
4391        (container_new): mostly moved to gpdf_window_construct, use that
4392        (container_destroy): don't explicitly destroy and free the
4393        toplevel widget
4394
4395        * shell/gpdf-window.h: new file, new class GPdfWindow (was
4396        Container struct)
4397
4398        * shell/gpdf.c: M-x mark-whole-buffer, M-x indent-region
4399
44002002-09-15  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4401
4402        * shell/Makefile.am: create, bin_PROGRAMS = gpdf and friends
4403
4404        * shell/gpdf.c: cvs copy of xpdf/gpdf.cc, Code was plain C except
4405        some extern "C" declarations :-), removed them and it compiled,
4406        don't include xpdf/config.h, bonobo-application-x-pdf.h
4407        (container_about_cmd): s/xpdfVersion/VERSION/ so we really don't
4408        need xpdf/config.h (FIXME: unify aconf.h and config.h?)
4409       
4410        New directory. Start ChangeLog
4411
44122002-09-15  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4413
4414        * configure.in, Makefile.am: add subdirectory
4415
4416        * shell: new directory
4417
44182002-09-14  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4419
4420        * xpdf/gpdf-embeddable-view.cc (destroy_view): kill already commented
4421        out, previously unused destructor
4422        (gev_destroy): set mainbox member = NULL
4423
4424        * xpdf/pdf-view.cc (pv_destroy): new destructor
4425        (class_init): use it, init parent_class
4426        (pdf_view_construct): reindent
4427
44282002-09-14  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4429
4430        * xpdf/gpdf-embeddable-view.h (GPdfEmbeddableView): kill bed member
4431
4432        * xpdf/gpdf-embeddable-view.cc: removed newlines from g_message calls
4433        (class_init): use checked casts, we now have destroy, no need to
4434        keep a ref to our embeddable here
4435        (gev_destroy): new destructor
4436
44372002-09-14  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4438
4439        * xpdf/gpdf-embeddable-view.cc (gpdf_embeddable_view_new):
4440        s/printf/g_message/
4441        (view_create_menus, view_remove_menus): rename to
4442        (gev_set_ui_container, gev_unset_ui_container): and rewrite in EOG
4443        style
4444
44452002-09-13  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4446
4447        * xpdf/gpdf-embeddable-view.cc (gev_activate): chain up to parent's
4448        activate handler, not to grand parent's
4449
44502002-09-13  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4451
4452        * xpdf/bonobo-application-x-pdf.cc (embeddable_factory): don't
4453        initialize embeddable (where did that come from?)
4454
4455        * xpdf/gpdf-embeddable-view.cc (gpdf_embeddable_view_construct): don't
4456        handle "activate" by connecting...
4457        (class_init): ...install a default signal handler...
4458        (gev_activate): cleaned up "activate" handler, renamed from
4459        (view_activate)
4460
44612002-09-13  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4462
4463        * xpdf/Makefile.am: add pdf-view.cc, pdf-view.h
4464
4465        * xpdf/gpdf-embeddable-view.cc (view_is_good, first_page, last_page)
4466        (next_page, prev_page, configure_size, setup_size, setup_pixmap)
4467        (render_page, realize_mainbox, redraw_view_all, real_redraw_view)
4468        (redraw_view): kill
4469        (first_page, last_page, next_page, prev_page, redraw_view_all):
4470        only declare here, use definitions from pdf-view.cc
4471        (page_first_cb, page_next_cb, page_prev_cb, page_last_cb):
4472        s/view_data_t/PdfView/ etc.
4473        (view_switch_page): kill
4474        (zoom_to_fit): leave only declaration
4475        (view_zoom_verb, page_zoom_fit_width_cb, page_zoom_fit_height_cb)
4476        (page_enlarge_cb, page_shrink_cb, view_zoom_query): s///
4477        (verbs[]): make static
4478        (view_create_menus, view_remove_menus, view_activate): s///
4479        (button_press_event_cb, gesture_page_event_cb)
4480        (gesture_zoom_event_cb): kill
4481        (key_press_event_cb): s///, only handle scrolling here
4482        (mainbox_realize): kill
4483        (destroy_view): comment out for now
4484        (init): empty
4485        (gpdf_embeddable_view_construct): mainbox = pdf_view_new,
4486        remove mainbox construction code
4487
4488        * xpdf/pdf-view.cc (view_is_good): s/view_data_t/PdfView/
4489        (first_page, last_page, next_page, prev_page): non-static
4490        (setup_pixmap): view_data is our mainbox now
4491        (render_page): s/view_data_t/PdfView/ s/view_data/view/
4492        (redraw_view_all): ditto
4493        (realize_mainbox): /GPdfEmbeddableView/PdfView/ etc.
4494        (real_redraw_view): ditto
4495        (redraw_view): ditto, view is our mainbox now
4496        (page_first_cb, page_next_cb, page_prev_cb, page_last_cb): kill
4497        here (verb implementations)
4498        (view_switch_page): s/// as above
4499        (zoom_to_fit): non-static, commented out for now
4500        (view_zoom_verb, view_zoom_query): s/// as above
4501        (page_zoom_fit_width_cb, page_zoom_fit_height_cb)
4502        (page_enlarge_cb, page_shrink_cb): kill here (verb impl)
4503        (verbs[], view_create_menus, view_remove_menus, view_activate):
4504        kill here (bonobo stuff)
4505        (gesture_page_event_cb, gesture_zoom_event_cb): s///
4506        (key_press_event_cb): don't handle scrolling here, s///
4507        (destroy_view): kill here
4508        (pdf_view_construct): kill everything except mainbox construction
4509       
4510
4511        * xpdf/gpdf-embeddable-view.h: view_data_t is no longer a typedef'd
4512        GPdfEmbeddableView. Remove PdfView related members from
4513        GPdfEmbeddableView
4514
4515        * xpdf/pdf-view.h: s/GPdfEmbeddableView/PdfView/ with some AI ;)
4516        GPdfEmbeddableView still typedef'd view_data_t. Super class
4517        is GtkEventBox
4518
4519        Split bonobo / non-bonobo parts of GPdfEmbeddableView:
4520       
4521        * xpdf/pdf-view.h: new file (cvs copy of gpdf-embeddable.h)
4522
4523        * xpdf/pdf-view.c: ditto. These will contain non-bonobo parts
4524
45252002-09-08  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4526
4527        * xpdf/GOutputDev.h: add missing gdk include
4528
4529        * xpdf/GOutputDev.cc (GOutputDev::drawLink): don't #if 0, just don't
4530        use it
4531        (GOutputDev::drawImage, GOutputDev::drawImageMask): use Michael's
4532        broken image handling code from gpdf 0.90.1 instead of my even
4533        more broken code
4534
4535        * xpdf/gpdf-embeddable-view.cc (render_page): disable links here.
4536        (realize_mainbox): view == view_data now. Don't have to
4537        gtk_object_get_data anymore
4538        (real_redraw_view): ditto
4539        (redraw_view): ditto, make it static again
4540        (gpdf_embeddable_view_construct): connect redraw_view to
4541        pdf_changed signal, don't gtk_object_set_data "view_data"
4542        (view_switch_page, view_zoom_verb, view_activate)
4543        (button_press_event_cb, gesture_page_event_cb)
4544        (gesture_zoom_event_cb, key_press_event_cb, mainbox_realize): make
4545        them static again
4546
4547        * xpdf/gpdf-embeddable.cc (class_init): add "pdf_changed" signal
4548        (load_pdf_from_stream): emit it, don't redraw_view explicitly
4549
4550        * xpdf/gpdf-embeddable.h: add signal to class struct
4551
45522002-09-01  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4553
4554        * xpdf/gpdf-embeddable.cc (gpdf_embeddable_view_factory): move here
4555        from bonobo-application-x-pdf.cc
4556
4557        * xpdf/GOutputDev.cc (GOutputDev::drawLink): comment out for
4558        now. Segfaults. I don't understand this.
4559
4560        * xpdf/bonobo-application-x-pdf.cc: move view_data_t related code
4561        ( except view_factory) to gpdf-embeddable-view.cc, remove lots of
4562        includes
4563
4564        * xpdf/gpdf-embeddable-view.h: new files with new GPdfEmbeddableView
4565        class
4566
4567        * xpdf/gpdf-embeddable-view.cc:
4568
4569        * xpdf/gtkgesture.h: double include protection
4570
4571        * xpdf/XOutputDev.h: add missing include "Object.h"
4572
4573        * xpdf/GOutputDev.h: add missing include "Object.h"
4574
45752002-08-31  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4576
4577        * xpdf/gpdf-embeddable.cc:
4578
4579        * xpdf/gpdf-embeddable.h: bed_t: Replace Data Value with Object
4580        [Fowler] i.e.  turn it into the GPdf::Embeddable class.
4581
4582        * xpdf/bonobo-application-x-pdf.cc: temporarily make some functions
4583        non-static
4584        (view_is_good): move up in file, use it in more places.
4585        (setup_pixmap): remove window parameter, get it from view_data
4586        (destroy_embed): move to GPdfEmbeddable::destroy
4587        (embeddable_factory): drastically simplify, work is done in
4588        GPdfEmbeddable::new and friends
4589        remove count of running_objects.
4590       
4591        * xpdf/gpdf-util.h: new file
4592        (E_MAKE_TYPE): copied from gal
4593
45942002-08-29  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4595
4596        * xpdf/bonobo-application-x-pdf.cc: move struct bed_t to
4597        gpdf-embeddable.{cc,h}
4598        (setup_pixmap) remove doc parameter. (Get it from view_data param)
4599       
4600        * xpdf/gpdf-embeddable.cc: New files to contain the embeddable class
4601
4602        * xpdf/gpdf-embeddable.h: 
4603
4604        * xpdf/gpdf.cc (main): remove call to setlocale (done in
4605        gnome_init...), ignore return value of oaf_init, let bonobo_init
4606        figure out which orb to use.
4607       
4608        * xpdf/Link.h: declare some methods as const.
4609        * xpdf/Link.cc:
4610
46112002-08-12  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4612
4613        * xpdf/GOutputDev.cc: make it compile (without Type 3 support for now)
4614
4615        * xpdf/bonobo-application-x-pdf.cc: Derek has removed the global xref
4616        variable. Remove the ``Ugly global xref fix''
4617
46182002-08-09  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4619
4620        * xpdf/BonoboStream.h: ditto.
4621
4622        * xpdf/BonoboStream.cc: sync with FileStream.
4623
4624        Merge in Xpdf 1.01 files
4625
4626        * xpdf/GOutputDev.cc (drawImage), (drawImageMask): use gdk_image_get
4627        as XGetSubImage
4628
46292002-08-09  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4630
4631        * goo/Makefile.am: ditto.
4632
4633        * configure.in: merged in Xpdf 1.01 changes.
4634
46352002-08-05  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4636
4637        * xpdf/GOutputDev.h: ditto.
4638
4639        * xpdf/GOutputDev.cc: sync with XOutputDev.cc.
4640
4641        * xpdf/bonobo-application-x-pdf.cc (printCommands): is in Gfx.cc now
4642
46432002-08-04  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
4644
4645        * xpdf/BonoboStream.cc: merge in decryption code from FileStream 0.92
4646        (close): new method, from FileStream,
4647        (~bonoboStream): use close
4648
4649        * xpdf/BonoboStream.h: #define bonoboStreamBufSize as in FileStream
4650        0.92,
4651        (bonoboStream): use it.
4652
46532002-05-31  Pablo Saratxaga <pablo@mandrakesoft.com>
4654
4655        * configure.in: Added Vietnamese (vi) and Walloon (wa) to All_LINGUAS.
4656
46572002-02-17  Duarte Loreto <happyguy_pt@hotmail.com>
4658
4659        * configure.in: Added pt to All_LINGUAS.
4660
46612001-10-30  Roy-Magne Mo <rmo@sunnmore.net>
4662
4663        * configure.in: Added nn to All_LINGUAS.
4664
46652001-09-26  Abel Cheung <maddog@linux.org.hk>
4666
4667        * configure.in: Added zh_TW to ALL_LINGUAS.
4668
46692001-09-09  Wang Jian  <lark@linux.net.cn>
4670
4671        * configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN.
4672
46732001-08-20  Ravi Pratap  <ravi@che.iitm.ac.in>
4674
4675        * MAINTAINERS :  Create and add Michael and myself to it.
4676
46772001-08-19  Zbigniew Chyla  <cyba@gnome.pl>
4678
4679        * Makefile.am (SUBDIRS): Added po.
4680
4681        * configure.in (AC_OUTPUT): Added intl/Makefile po/Makefile.in.
4682
4683        * xpdf/Makefile.am (INCLUDES): Added -DGNOMELOCALEDIR.
4684
4685        * xpdf/bonobo-application-x-pdf.cc (main): Set textdomain and locale.
4686
4687        * xpdf/gpdf.cc (main): ditto.
4688        Marked a few strings for translation.
4689
46902001-08-12  Ravi Pratap  <ravi@che.iitm.ac.in>
4691
4692        * xpdf/bonobo-application-x-pdf-ui.xml : Add ZoomFitHeight verb and toolbar
4693        item.
4694
4695        * xpdf/bonobo-application-x-pdf.h (VERB_Z_FIT): Rename to VERB_Z_FIT_WIDTH
4696        (VERB_Z_FIT_HEIGHT): Add
4697       
4698        * xpdf/bonobo-application-x-pdf.cc (verbs): Update to use the new
4699        verbs and names.
4700        (view_zoom_verb): update accordingly
4701        (zoom_to_fit): Modify to take an extra argument determining type of fit. Use
4702        the scrolled_window to determine allocation height and width.
4703
4704        * xpdf/Makefile.am : Comment out unnecessary targets
4705
47062001-08-10  Ravi Pratap  <ravi@che.iitm.ac.in>
4707
4708        * xpdf/stock-zoom-in.xpm : Add
4709
4710        * xpdf/stock-zoom-out.xpm : Add
4711
4712        * xpdf/stock-zoom-fit.xpm : Add
4713
4714        * xpdf/stock-zoom-fit-wide.xpm : Add
4715
4716        * xpdf/stock-zoom-fit-tall.xpm : Add
4717
4718        * xpdf/Makefile.am : Update, add targets etc.
4719
4720        * xpdf/bonobo-application-x-pdf.cc (view_zoom_verb): Change zoom
4721        factor to 1.2 which is more correct
4722        (zoom_to_fit): Small tweak to enable better approximation
4723
4724        * xpdf/bonobo-application-x-pdf-ui.xml : Change ZoomFit to ZoomFitWidth.
4725
4726        * xpdf/bonobo-application-x-pdf.cc : Update to use the new name.
4727
47282001-08-09  Ravi Pratap  <ravi@che.iitm.ac.in>
4729
4730        * xpdf/bonobo-application-pdf-ui.xml: Add Zoom items to the
4731        toolbar
4732
47332001-07-10  Ravi Pratap  <ravi@che.iitm.ac.in>
4734
4735        * xpdf/gpdf.cc (main): Make indentation consistent with the
4736        rest of the source
4737
47382001-07-01  Ravi Pratap  <ravi@che.iitm.ac.in>
4739
4740        * xpdf/gpdf-ui.xml: Make the print menu item visible.
4741
47422001-06-22  Ravi Pratap  <ravi@che.iitm.ac.in>
4743
4744        * configure.in: Fix a daft error of mine; ask for cflags
4745        and libs of bonobox instead
4746
47472001-06-16  Ravi Pratap  <ravi@che.iitm.ac.in>
4748
4749        * configure.in: Fix logic for bonobo checking to stop if
4750        bonobo is not found.
4751
47522001-03-17  Ravi Pratap  <ravi@che.iitm.ac.in>
4753
4754        * configure.in : Fixed logic to determine bonobo
4755        version.
4756
4757        * gpdf.desktop : Exec=gpdf and not xpdf.
4758
47592001-02-03  Simos Xenitellis  <simos@hellug.gr>
4760
4761        * gpdf.desktop: Added Greek messages.
4762
4763        * configure.in: Added el to ALL_LINGUAS.
4764
47652001-01-24  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
4766
4767        * configure.in: Added sk to ALL_LINGUAS.
4768        * gpdf.desktop: Added Slovak messages
4769
47702001-01-21  Fatih Demir <kabalak@gmx.net>
4771
4772        * configure.in: Added tr to ALL_LINGUAS.
4773
47742001-01-11  Michael Meeks  <michael@helixcode.com>
4775
4776        * xpdf/gpdf.cc (container_launch_component): don't add the client
4777        site to the item container.
4778
47792000-12-21  Michael Meeks  <michael@helixcode.com>
4780
4781        * xpdf/bonobo-application-x-pdf.cc: Kill mutex / thread init code,
4782        it screws gtk.
4783
4784        * xpdf/gpdf.cc: update the IID naming scheme.
4785
4786        * xpdf/bonobo-application-x-pdf.cc (init_bonobo_application_x_pdf_factory): ditto. (init_server_factory): setup ORB properly.
4787
4788        * xpdf/Makefile.am: De-goadize; update oafinfo fnames.
4789
47902000-12-21  Michael Meeks  <michael@helixcode.com>
4791
4792        * configure.in (xpdf_cv_func_select_arg): remove oaf
4793        checking cruft.
4794
47952000-12-08  Fatih Demir <kabalak@gmx.net>
4796
4797        * configure.in: Added "ko" to ALL_LINGUAS.
4798
47992000-12-04  Darin Adler  <darin@eazel.com>
4800
4801        * xpdf/bonobo-application-x-pdf.cc:
4802        s/bonobo_embeddable_factory_new/bonobo_generic_factory_new/.
4803
48042000-11-16  Ramiro Estrugo  <ramiro@eazel.com>
4805
4806        * xpdf/bonobo-application-x-pdf.cc:
4807        Make the signatures of callbacks match the declaraed types to
4808        avoid compiler warnings.
4809       
48102000-11-16  Darin Adler  <darin@eazel.com>
4811
4812        * xpdf/.cvsignore:
4813        * xpdf/Makefile.am:
4814        Remove remnants of old ui translation scheme
4815        now that we have Kenneth's new one (see po).
4816
48172000-11-15  Zbigniew Chyla  <cyba@gnome.pl>
4818
4819        * configure.in: Added pl to ALL_LINGUAS.
4820
48212000-11-10  Robert Brady  <robert@suse.co.uk>
4822
4823        * configure.in: Added Tamil translation.
4824
48252000-11-07  Fatih Demir <kabalak@gmx.net>
4826
4827        * xpdf/.cvsignore: Added bonobo-application-x-pdf-ui.h and
4828                gpdf-ui.h to the ignores.
4829
48302000-11-05  Pablo Saratxaga <pablo@mandrakesoft.com>
4831
4832        * po/da.po,configure.in: Added Danish translation.
4833       
48342000-11-02  Michael Meeks  <michael@helixcode.com>
4835
4836        * configure.in: check for Bonobo >= 0.27
4837
48382000-10-27  Szabolcs Ban <shooby@gnome.hu>
4839
4840        * configure.in: Added Hungarian (hu) entry (ALL_LINGUAS)
4841        * gpdf.desktop: Added Hungarian entries.
4842
48432000-10-20  Darin Adler  <darin@eazel.com>
4844
4845        * .cvsignore: Add aclocal.m4.
4846        * xpdf/bonobo-application-x-pdf.cc:
4847        Change BonoboUIHandler to BonoboUIComponent.
4848
48492000-10-19  Michael Meeks  <michael@helixcode.com>
4850
4851        * xpdf/gpdf.cc: update for Dietmer internal changes.
4852
48532000-10-19  Jarkko Ranta  <jjranta@cc.joensuu.fi>
4854
4855        * configure.in: Added Finnish (fi) entry (ALL_LINGUAS).
4856        * gpdf.desktop: Added Finnish entries.
4857
48582000-10-18  Christophe Merlet  <christophe@merlet.net>
4859
4860        * configure.in: Added French (fr) to ALL_LINGUAS.
4861        * gpdf.desktop: Added French strings.
4862
48632000-10-17  Michael Meeks  <michael@helixcode.com>
4864
4865        * xpdf/gpdf.xml: add.
4866
4867        * xpdf/Makefile.am: sort out xml files.
4868
4869        * xpdf/gpdf.cc: Re-engineer to the new UI handler.
4870
4871        * xpdf/bonobo-application-x-pdf.cc: update to new UI handler
4872
4873        * xpdf/bonobo-appliation-x-pdf-ui.xml: create.
4874
4875        * xpdf/gpdf-ui.xml: create.
4876
48772000-10-17  Michael Meeks  <michael@helixcode.com>
4878
4879        * Makefile.am (WIN32_EXTRA): remove cruft so we distcheck.
4880
48812000-10-17  Almer S. Tigelaar  <almer1@dds.nl>
4882
4883        * configure.in: Added Dutch (nl) to ALL_LINGUAS.
4884
48852000-10-09  Darin Adler  <darin@eazel.com>
4886
4887        * aclocal.m4: Removed this file which is generated
4888        * xpdf/bonobo-application-x-pdf.cc: Ifdef'd out code that doesn't
4889        compile with the latest verb changes.
4890
48912000-10-07  Michael Meeks  <michael@helixcode.com>
4892
4893        * xpdf/gpdf.cc (main): cut out stale gnorba fat.
4894
4895        * xpdf/bonobo-application-x-pdf.cc (init_server_factory),
4896        (init_bonobo_application_x_pdf_factory): ditto.
4897
4898        * xpdf/bonobo-application-x-pdf.cc (embeddable_factory): remove the
4899        sizeable interface.
4900
49012000-10-07  Michael Meeks  <michael@helixcode.com>
4902
4903        * configure.in: check for Bonobo >= 0.20
4904
49052000-10-07  Jesus Bravo Alvarez  <jba@pobox.com>
4906
4907        * configure.in: Added Galician (gl) to ALL_LINGUAS
4908
49092000-10-04  Yukihiro Nakai  <nakai@gnome.gr.jp>
4910
4911        * configure.in: Add Japanese to ALL_LINGUAS
4912
49132000-10-04  Yukihiro Nakai  <nakai@gnome.gr.jp>
4914
4915        * gpdf.desktop: Add Japanese translation.
4916
49172000-10-04  Michael Meeks  <michael@helixcode.com>
4918
4919        * xpdf/bonobo-application-x-pdf.cc (view_create_menus): upd.
4920
4921        * xpdf/gpdf.cc (container_launch_component): update for ItemContainer
4922        rename. (container_new): update to bonobo-win stuff.
4923        (container_set_view): use compat_get_container.
4924
49252000-10-04  Michael Meeks  <michael@helixcode.com>
4926
4927        * configure.in (xpdf_cv_func_select_arg): check for bonobo 0.19
4928
49292000-10-04  Kjartan Maraas  <kmaraas@gnome.org>
4930
4931        * configure.in: Added ALL_LINGUAS and all current languages.
4932       
49332000-09-15  Mathieu Lacage  <mathieu@eazel.com>
4934
4935        * gpdf.keys.in: fix evil evil buggy: mime types DO NOT HAVE
4936        a ":" after them
4937        * gpdf.mime: idem
4938
49392000-08-13  Arik Devens  <arik@helixcode.com>
4940
4941        * xpdf/bonobo-application-x-pdf.cc (view_create_menus): Switched
4942        page_enlarge_cb and page_shrink_cb to get zooming in and out
4943        workin correctly in the menu.
4944
49452000-08-02  Michael Meeks  <michael@helixcode.com>
4946
4947        * xpdf/Makefile.am (gpdf_LDADD): kill ghastly hack adding -lbonobo.
4948        (bonobo_application_x_pdf_LDADD): add EXTRA_GNOME_LIBS
4949
49502000-08-02  Michael Meeks  <michael@helixcode.com>
4951
4952        * configure.in: set '$bonobo' for EXTRA_GNOME_LIBS, use bonobox
4953
4954        * po/POTFILES.in: add.
4955
49562000-07-25  Michael Meeks  <michael@helixcode.com>
4957
4958        * xpdf/bonobo-application-x-pdf.cc (embeddable_factory): s/gtk/bonobo/
4959        on unref. Junk 2 stop tabs throught, Derek can have my kittens.
4960        (view_create_menus): create the pdf toolbar before using it.
4961        (button_press_event_cb): return a value.
4962
49632000-07-04  Michael Meeks  <michael@helixcode.com>
4964
4965        * xpdf/GOutputDev.cc (drawImage): kill double free.
4966
4967        * xpdf/BonoboStream.cc (bfread): update for new API.
4968
49692000-06-11  Fatih Demir <kabalak@gmx.net>
4970       
4971        * gpdf.desktop: Corrected a stupid [tr]-entry. 
4972
49732000-06-07  Pavel Cisler  <pavel@eazel.com>
4974
4975        * xpdf/bonobo-application-x-pdf.cc:
4976        Renamed BonoboUIHandlerCallbackFunc to BonoboUIHandlerCallback
4977        to match new naming.
4978
49792000-06-01  Darin Adler  <darin@eazel.com>
4980
4981        * xpdf/application-x-pdf.oafinfo:
4982        * xpdf/gpdf.cc:
4983        Fixed spelling of component in IID.
4984
49852000-05-26  Darin Adler  <darin@eazel.com>
4986
4987        * xpdf/bonobo-application-x-pdf.cc (load_pdf_from_stream),
4988        (embeddable_factory):
4989        * xpdf/gpdf.cc: (open_pdf):
4990        Updated for new PersistStream interface. I mostly just passed
4991        NULLs. Not 100% sure that's correct.
4992
49932000-05-26  Dan Winship  <danw@helixcode.com>
4994
4995        * xpdf/gpdf.cc (open_pdf): Note that the data passed to the
4996        PersistStream is "application/pdf".
4997
49982000-05-24  Darin Adler  <darin@eazel.com>
4999
5000        * .cvsignore:
5001        * goo/.cvsignore:
5002        * ltk/.cvsignore:
5003        * xpdf/.cvsignore:
5004        Added a bunch of generated files.
5005       
5006        * xpdf/GOutputDev.cc: (GOutputDev::updateLineAttrs):
5007        Fixed a type to avoid a warning.
5008
50092000-05-07  Maciej Stachowiak  <mjs@eazel.com>
5010
5011        Work with OAF and fix various bugs:
5012       
5013        * configure.in, aclocal.m4: Detect when Bonobo is built with OAF
5014        support, and if so use OAF.
5015        * xpdf/Makefile.am: When using OAF, link against OAF and install
5016        oafinfo file.
5017        * xpdf/gpdf.cc: Include oaf headers when using OAF.
5018        (openpdf): Use OAFIID to activate the component when using OAF.
5019        (container_set_view), (container_launch_component),
5020        (container_new): Put the view in an EventBox, not a
5021        ScrolledWindow; the component now handles scrolling itself.
5022        (key_press_event_cb): Removed; key press handling moved to
5023        component.
5024        (main): Initialize OAF instead of GOAD when using OAF.
5025        * xpdf/bonobo-application-x-pdf.cc: Include OAF headers when using
5026        OAF.
5027        (redraw_view): Handle the case where we are loading before the
5028        view is realized by connecting to the "realize" signal handler
5029        and deferring redrawing until then in that case.
5030        (real_redraw_view): Function to do the real redrawing.
5031        (load_pdf_from_stream): Don't call `realize_mainbox' directly, let
5032        `real_redraw_view' do it.
5033        (key_press_event_cb): In response to various key bindings, scroll
5034        the view, navigate pages, or zoom in/out.
5035        (button_press_event_cb): Grab the keyboard focus on a press of
5036        button 1.
5037        (view_create_menus): Rename menus to be more standard, and provide
5038        accelerators for menus and items.
5039        (realize_mainbox): Get window ourselves if we have to.
5040        (view_factory): Put the view in a scrolled window so scrolling can
5041        be handled by the component itself. Connect to "key_press" and
5042        "button_press" for keyboard and focus handling. Set the
5043        GTK_CAN_FOCUS flag for the main view widget.
5044        (init_bonobo_application_x_pdf_factory, init_server_factory): Use
5045        OAF when appropriate.
5046
5047        * xpdf/application-x-pdf.oafinfo: New file, OAF activation record.
5048
50492000-04-10  Fatih Demir <kabalak@gmx.net>
5050
5051        * gpdf.desktop : Added [tr] ..
5052
50532000-03-10  Michael Meeks  <michael@helixcode.com>
5054
5055        * xpdf/gpdf.cc: s/GNOME/Bonobo/
5056
5057        * xpdf/application-x-pdf.gnorba: s/GNOME/Bonobo/
5058
50592000-02-28  Michael Meeks  <michael@helixcode.com>
5060
5061        * xpdf/bonobo-application-x-pdf.cc (view_factory): kill spurious
5062        UI handler creation.
5063
5064        * xpdf/gpdf.cc (container_set_view): update to new bonobo api.
5065
50662000-02-25  NotZed  <NotZed@HelixCode.com>
5067
5068        * xpdf/Makefile.am: Fixed up lists of sources so that distcheck
5069        works.  Also, only build gpdf if with gnome (otherwise distcheck
5070        fails).
5071
5072        * xpdf/gpdf.cc (container_about_cmd): Define it if we are going to
5073        be using it.
5074
50752000-02-25  NotZed  <NotZed@HelixCode.com>
5076
5077        * configure.in: Do AM_GNOME_GETTEXT for INTLLIBS def.
5078
5079        * Makefile.am: Dont include gjgppcf by default, can this
5080        be done in an automatic way?
5081
5082        * ltk/Makefile.am (libltk_a_SOURCES): Add missing sources.
5083
50842000-02-09  Michael Meeks  <michael@helixcode.com>
5085
5086        xpdf/ Clean unused & lack of casting all round the place.
5087       
50882000-02-08  Michael Meeks  <michael@helixcode.com>
5089
5090        * configure.in: update bonobo check for latest ver.
5091
50922000-02-07  Michael Meeks  <michael@helixcode.com>
5093
5094        * xpdf/bonobo-application-x-pdf.cc: fix typo.
5095
50962000-02-07  Michael Meeks  <michael@helixcode.com>
5097
5098        * configure.in (VERSION): bump.
5099
51001999-12-17  Michael Meeks  <mmeeks@gnu.org>
5101
5102        * xpdf/gpdf.cc (container_set_view): make wrapper invisible.
5103
5104        * xpdf/bonobo-application-x-pdf.cc (embeddable_factory): kill
5105        diff id string. + constify lots of paths.
5106        (view_factory): kill size query. (view_size_query): kill.
5107
51081999-11-06  Michael Meeks  <mmeeks@gnu.org>
5109
5110        * xpdf/gtkgesture.c (gesture_data_append_point): fix leak.
5111
5112        * xpdf/bonobo-application-x-pdf.c (setup_pixmap): Fix leak +
5113        flicker.
5114
5115        * xpdf/GOutputDev.cc (~GOutputDev): Add clear of state stack +
5116        clear text page + delete font. (startPage): fic gdkGC leaks.
5117        (findColor): clean.
5118
51191999-10-11  Michael Meeks  <mmeeks@gnu.org>
5120
5121        * xpdf/GOutputDev.cc: Re-enable stroke color setting.
5122
51231999-10-08  Michael Meeks  <mmeeks@gnu.org>
5124
5125        * xpdf/gpdf.cc (container_new): add to list before possibly removing.
5126
5127        * xpdf/bonobo-application-x-pdf.cc (destroy_embed): Quit on last
5128        component close.
5129        (load_pdf_from_stream): inline redraw-all with new API.
5130        (redraw_view): implement (redraw_all): remove. (realize_mainbox):
5131        remould.
5132        (destroy_view): Fix serious memory corruption freeing pixmap
5133        twice.
5134        (view_activate): kill debug.
5135
51361999-10-06  Peter Teichman  <pat4@acpub.duke.edu>
5137
5138        * xpdf/GOutputDev.cc: add return type for GOutputServerFont::isOk()
5139
5140        * xpdf/bonobo-application-x-pdf.cc: casting fixes, for compiling
5141        with recent gcc
5142
5143        * xpdf/PSOutputDev.cc: same, more casting fixes
5144       
51451999-10-06  Michael Meeks  <mmeeks@gnu.org>
5146
5147        * xpdf/BonoboStream.cc (bfseek): Add debug case.
5148        (bfread): nail immense leak.
5149
5150        * xpdf/gpdf.cc (container_set_view): Activate the component to
5151        allow gestures to work.
5152
51531999-10-05  Michael Meeks  <mmeeks@gnu.org>
5154
5155        * xpdf/bonobo-application-x-pdf.cc (setup_pixmap): Connect
5156        gestures + add event mask.
5157
5158        * xpdf/gpdf.cc (container_close): Created. (container_close_cmd):
5159        Use it.  Huge header clean.
5160
5161        * xpdf/gtkgesture.[ch]: Create.
5162
51631999-09-11  Michael Meeks  <michael@nuclecu.unam.mx>
5164
5165        * xpdf/bonobo-application-x-pdf.cc (destroy_view): destroy don't
5166        unref, make more paranoid add debug. (destroy_embed): Clean.
5167
5168        * xpdf/gpdf.cc (key_press_event_cb): Added all manner of
5169        shortcuts.
5170        (container_new): Add key stuff (container_destroy_cb): Implement.
5171        (container_destroy): Add paranoid check.
5172
51731999-09-07  Michael Meeks  <michael@imaginator.com>
5174
5175        * xpdf/gpdf.cc (container_new): Fiddled with scrollpane
5176
51771999-09-01  Michael Meeks  <michael@imaginator.com>
5178
5179        * xpdf/bonobo-application-x-pdf.cc: Fix a massive leak :-).
5180        Considerably simplified with GtkPixmap. Fixed location problems.
5181
51821999-08-27  Michael Meeks  <michael@imaginator.com>
5183
5184        * xpdf/bonobo-application-x-pdf.cc: Remove count of embeddable
5185        servers: seems to be handled inside Bonobo now.
5186
51871999-08-26  Michael Meeks  <michael@imaginator.com>
5188
5189        * xpdf/gpdf.cc (component_destroy): Improved clean up.
5190
5191        * xpdf/bonobo-application-x-pdf.cc (bed_free_data): Expand, and
5192        clean; remove redundant pdf_stream delete.
5193
51941999-08-24  Michael Meeks  <michael@imaginator.com>
5195
5196        * xpdf/application-x-pdf.gnorba: Update to new mime type.
5197
5198        * xpdf/Makefile.am (gnorba_DATA): Rename mime type.
5199        Remove glade.
5200
5201        * xpdf/gpdf.cc (main): File up a container if we fail to load any
5202        of the command line files.
5203
52041999-08-24  Michael Meeks  <michael@imaginator.com>
5205
5206        * xpdf/Makefile.am: Cleaned + added thread bits.
5207
5208        * xpdf/bonobo-image-x-pdf.cc: Add locking round 'xref' global.
5209        Remove CORBA_Environment global.
5210
52111999-08-24  Michael Meeks  <michael@imaginator.com>
5212
5213        * xpdf/bonobo-image-x-pdf.cc (bed_free_data): Rationalised Stream
5214        duplicate / release, and scoped BonoboFile correctly.
5215
5216        * xpdf/BonoboStream.cc (bfseek): Add init / free to all corba
5217        exceptions, ( stupidly lost this code somehow ).
5218
5219        * xpdf/bonobo-image-x-pdf.cc (render_page): Add startDoc.
5220        (main): Add freeParams.
5221
52221999-08-24  Michael Meeks  <michael@imaginator.com>
5223
5224        * configure.in: Removed check for Glade.
5225
5226        * Makefile.am (gpdf.*): Renamed from xpdf.*
5227
52281999-08-24  Michael Meeks  <michael@imaginator.com>
5229
5230        * configure.in: Add EXTRA_GLIB_LIBS/CFLAGS to include thread
5231        support.
5232
52331999-08-23  Miguel de Icaza  <miguel@gnu.org>
5234
5235        * xpdf/bonobo-image-x-pdf.cc: Replace exit() with gtk_main_quit()
5236
52371999-08-23  Michael Meeks  <michael@imaginator.com>
5238
5239        * xpdf/gpdf.cc (container_launch_component): Fix flags.
5240        (container_create_toolbar): Fix for new Bonobo.
5241
52421999-08-23  Michael Meeks  <michael@imaginator.com>
5243
5244        * xpdf/Makefile.am: Added helper programs back in.
5245
5246        * xpdf/bonobo-image-x-pdf.cc (view_create_menus): Toolbars.
5247
52481999-08-22  Miguel de Icaza  <miguel@gnu.org>
5249
5250        * xpdf/bonobo-image-x-pdf.cc (main): Add error checking for
5251        factory registration.
5252
52531999-08-22  Michael Meeks  <michael@imaginator.com>
5254
5255        * xpdf/bonobo-image-x-pdf.cc: Add zoom.
5256
52571999-08-19  Michael Meeks  <michael@imaginator.com>
5258
5259        * xpdf/PDFDoc.cc: Altered to read / write lines.
5260
5261        * xpdf/PDFDoc.cc: Move FileStream::checkHeader so its called in
5262        FileStream constructor.
5263
52641999-08-18  Michael Meeks  <michael@imaginator.com>
5265
5266        * xpdf/gpdf.cc: cloned from test-container.
5267        (launch_server): use GOAD_ACTIVATE_SHLIB not '0'
5268
52691999-08-16  Michael Meeks  <michael@imaginator.com>
5270
5271        * xpdf/Makefile.am (bin_PROGRAMS): Hack to only make bonobo
5272        component.
5273
5274        * xpdf/bonobo-image-x-pdf.cc (view_factory): Init all members.
5275
52761999-08-15  Michael Meeks  <michael@imaginator.com>
5277
5278        * xpdf/Now bonobo-image-x-pdf works, but everything else is
5279        broken: use
5280
5281                make bonobo-image-xpdf to compile...
5282
52831999-08-11  Michael Meeks  <michael@imaginator.com>
5284
5285        * xpdf/bonobo-image-x-pdf.cc: Fixed innumerable bugs, some in
5286        bonobo :-)
5287        (load_image_from_stream): Try closing the file to let its contents
5288        hit disk before reading from it :-)
5289        (configure_size): Don't get scared by configure_size.
5290        (redraw_view): Get the parameters in some sort of order.
5291
52921999-08-11  Michael Meeks  <michael@imaginator.com>
5293
5294        * xpdf/bonobo-image-x-pdf.cc: Added.
5295
5296        * xpdf/Makefile.am: added bonobo-image-x-pdf.c
5297
52981999-08-03  Michael Meeks  <michael@imaginator.com>
5299
5300        * xpdf/gpdf.cc: Lots of updates, gives up on logging changes
5301        ( for a bit. )
5302
53031999-08-02  Michael Meeks  <michael@edenproject.org>
5304
5305        * xpdf/GOutputDev.cc: Fix more silly region merging bugs.
5306
53071999-08-01  Michael Meeks  <michael@edenproject.org>
5308
5309        * xpdf/Makefile.in: Added -lglade, -lglade-gnome & Added -Wall
5310       
5311        * xpdf/gpdf.glade: Added.
5312       
5313        * xpdf/gpdf.cc (loadFile): Add typecast.
5314        Remove all DOC_ROOT's magic numbers.
5315        Add glade GUI,
5316        Lots of other bits ...
5317       
53181999-07-29  Michael Meeks  <michael@edenproject.org>
5319
5320        * xpdf/GOutputDev.cc: Hahaaa... the bug ! :-) A difference in how
5321        GDK / X deal with merging rectangles and regions. Good.
5322
5323        * xpdf/gpdf.cc (doc_redraw_event): Messing around.
5324
5325        * xpdf/GOutputDev.cc (drawChar): Fix char printed as string.
5326
53271999-06-09  Michael Meeks  <michael@edenproject.org>
5328
5329        * xpdf/gpdf.cc (main): Add error init.
5330
53311999-06-03  Michael Meeks  <michael@edenproject.org>
5332
5333        * xpdf/GOutputDev.cc (GOutputDev): Actually set up pixmapW & H
5334        (GOutputDev): Setup 'depth' correctly.
5335
5336        * xpdf/gpdf.cc (main): Moved freeParams() to after the main loop !
5337
5338        * xpdf/Params.cc (initParams): Added assert on fontPathLen.
5339        (freeParams): Clean global pointers on free.
5340
5341        * xpdf/Makefile.in (CXXFLAGS): Added LTKSRCDIR and Xpm_CFLAGS to
5342        CXXFLAGS.
5343
53441999-05-29  Michael Meeks  <michael@edenproject.org>
5345
5346        * xpdf/Makefile.in (GPDF_OBJS): Remove XOutputDev
5347        (all): Remove all but gpdf.
5348
5349        * xpdf/gpdf.cc: Add define GString / undef.
5350        (main): Argc not Argv :)
5351
5352        * xpdf/GOutputDev.cc (findColor): Made pigs ear of colour
5353        mappings.
5354
53551999-05-28  Michael Meeks  <michael@imaginator.com>
5356
5357        * xpdf/GOutputDev.cc (drawChar16): XChar2b -> GdkWChar
5358
53591999-05-27  Michael Meeks  <michael@imaginator.com>
5360
5361        * xpdf/GOutputDev.cc (GOutputFont): Hacks.
5362        (GOutputFont): Renamed.
5363        (getFont): killed redundant 'display'
5364        getGdkFont not getXFont.
5365        (GOutputDev): NB. colormap -> gtk_widget_get_default_colormap ()
5366        which returns GdkColormap *, killed colormap & depth1 in prototype.
5367        Removed redundant assigns.
5368        NB. Miguel says 'miguel> michael: a GdkPixmap is a GdkWindow'
5369        Many misc. fixes upto convertSubPath.
5370
5371        * xpdf/GOutputDev.h: Comments 'G'd and GOutputDev updated.
5372        XPoint -> GdkPoint
5373
5374        * xpdf/Makefile.in (CXXFLAGS): Add GOOSRCDIR.
5375
53761999-05-27  Michael Meeks  <michael@imaginator.com>
5377
5378        * README.CVS: Elucidated the GPL nature of xpdf.
Note: See TracBrowser for help on using the repository browser.