]> www.fi.muni.cz Git - evince.git/blob - ChangeLog
0bf53936183fee3af5c96452c0c72c58933bfb3e
[evince.git] / ChangeLog
1 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
2
3         * backend/ev-document.c: (ev_document_save):
4         * backend/ev-document.h:
5         * data/evince-ui.xml:
6         * pdf/xpdf/pdf-document.cc:
7         * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
8
9         Implement "Save a copy..." menu item
10
11 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
12
13         * shell/ev-view.c: (ev_view_zoom):
14
15         Queue a resize when zoom changes
16
17 Wed Jan  5 02:33:06 2005  Jonathan Blandford  <jrb@redhat.com>
18
19         * backend/ev-document-misc.[ch]: New misc file to do simple drop
20         shadows.
21
22         * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
23         thumbnails..
24
25 Tue Jan  4 22:32:32 2005  Jonathan Blandford  <jrb@redhat.com>
26
27         * pdf/xpdf/pdf-document.cc
28         (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
29
30 Tue Jan  4 21:25:05 2005  Jonathan Blandford  <jrb@redhat.com>
31
32         * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
33         It's slow, but I'll speed it up next!
34
35 2005-01-04  Jeff Muizelaar  <jrmuizel@nit.ca>
36
37         * shell/main.c (load_files):
38
39         use gnome_vfs_make_uri_from_shell_arg so that relative paths work
40         from the command line and because it seems more appropriate.
41
42 2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>
43
44         * data/evince-ui.xml:
45         * shell/ev-window.c: (update_action_sensitivity),
46         (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
47
48         s/next page/page down
49         s/previous page/page up
50
51 2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>
52
53         * data/evince-ui.xml:
54
55         Change the layout to match clarkbw design.
56
57         * shell/Makefile.am:
58         * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
59         (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
60         (ev_navigation_action_finalize),
61         (ev_navigation_action_set_property),
62         (ev_navigation_action_get_property),
63         (ev_navigation_action_class_init):
64         * shell/ev-navigation-action.h:
65
66         Implement clarkbw toolbar navigation controls (incomplete)
67
68         * shell/ev-page-action.c: (update_label), (update_spin),
69         (value_changed_cb), (create_tool_item), (connect_proxy),
70         (ev_page_action_init), (ev_page_action_finalize),
71         (ev_page_action_set_property), (ev_page_action_get_property),
72         (ev_page_action_set_current_page),
73         (ev_page_action_set_total_pages), (ev_page_action_class_init):
74         * shell/ev-page-action.h:
75
76         Implement a page switcher in the toolbar
77
78         * shell/ev-view.c: (ev_view_scroll_view):
79         * shell/ev-window.c: (update_total_pages), (ev_window_open),
80         (update_current_page), (view_page_changed_cb), (goto_page_cb),
81         (register_custom_actions), (ev_window_init):
82
83         Change page on PageUp/Down.
84
85 Tue Jan  4 03:22:56 2005  Jonathan Blandford  <jrb@redhat.com>
86
87         * pdf/xpdf/pdf-document.cc
88         (pdf_document_thumbnails_get_thumbnail): initial stab at
89         implementing thumbnail support for pdfs.  It only does documents
90         with precached pdfs now.
91
92 Mon Jan  3 17:22:25 2005  Jonathan Blandford  <jrb@redhat.com>
93
94         * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
95         thumbnail code into a time-based idle as well.  Also, turn off the
96         shadow temporarily as it's really slow.
97
98 2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
99
100         * backend/ev-document.c: (ev_document_class_init):
101         * pdf/xpdf/pdf-document.cc:
102         * shell/ev-window.c: (ev_window_open):
103
104         Fix document title bugs and fallback to
105         filename when not available.
106
107 2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
108
109         * backend/ev-document.c: (ev_document_get_type),
110         (ev_document_class_init), (ev_document_load),
111         (ev_document_get_title):
112         * backend/ev-document.h:
113         * pdf/xpdf/pdf-document.cc:
114         * ps/ps-document.c: (ps_document_set_property),
115         (ps_document_get_property), (ps_document_class_init),
116         (document_load):
117         * ps/ps-document.h:
118         * ps/ps.h:
119         * shell/ev-window.c: (update_window_title), (ev_window_open),
120         (ev_window_init):
121
122         Initial support for document title. Not working yet.
123
124 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
125
126         * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
127
128         Grab focus on the view when clicking it
129
130 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
131
132         * shell/ev-marshal.list:
133         * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
134         (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
135
136         Add key bindings to the view. Now if the focus would work
137         right...
138
139 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
140
141         * Makefile.am:
142         * backend/Makefile.am:
143         * data/Makefile.am:
144         * dvi/Makefile.am:
145         * dvi/dvilib/Makefile.am:
146         * pdf/xpdf/Makefile.am:
147         * po/POTFILES.in:
148         * ps/Makefile.am:
149
150         Fix distcheck
151
152 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
153
154         * shell/ev-view.c: (ev_view_realize):
155
156         Fix mouse wheel scrolling
157
158 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
159
160         * ps/Makefile.am:
161         * ps/gstypes.h:
162         * ps/gtkgs.c:
163         * ps/gtkgs.h:
164         * ps/ps-document.c: (catchPipe), (ps_document_init),
165         (ps_document_class_init), (ps_document_cleanup),
166         (ps_document_finalize), (send_ps), (ps_document_get_orientation),
167         (set_up_page), (close_pipe), (is_interpreter_ready),
168         (interpreter_failed), (output), (input), (start_interpreter),
169         (stop_interpreter), (file_length), (file_readable),
170         (check_filecompressed), (check_pdf), (compute_xdpi),
171         (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
172         (ps_document_get_type), (ps_document_emit_error_msg),
173         (document_load), (ps_document_next_page),
174         (ps_document_get_current_page), (ps_document_get_page_count),
175         (ps_document_goto_page), (ps_document_set_page_size),
176         (ps_document_zoom_to_fit), (ps_document_set_zoom),
177         (ps_document_load), (ps_document_get_n_pages),
178         (ps_document_set_page), (ps_document_get_page),
179         (ps_document_widget_event), (ps_document_set_target),
180         (ps_document_set_scale), (ps_document_set_page_offset),
181         (ps_document_get_page_size), (ps_document_render),
182         (ps_document_document_iface_init):
183         * ps/ps-document.h:
184         * ps/ps.c:
185         * shell/ev-window.c: (ev_window_open):
186
187         Rename GtkGS to PSDocument
188
189 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
190
191         * ps/gtkgs.c: (gtk_gs_class_init):
192         * ps/gtkgs.h:
193
194         Some more leftover...
195
196 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
197
198         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
199         (output), (stop_interpreter), (gtk_gs_emit_error_msg),
200         (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
201         * ps/gtkgs.h:
202
203         Remove unused code and make a lot of stuff private
204
205 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
206
207         * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
208         (gtk_gs_defaults_changed):
209         * ps/gsdefaults.h:
210         * ps/gtkgs.c:
211         * ps/gtkgs.h:
212         * ps/ps.h:
213
214         Cleanup headers dependencies
215
216 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
217
218         * ps/Makefile.am:
219         * ps/ggvutils.c:
220         * ps/ggvutils.h:
221         * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
222         * ps/gsdefaults.h:
223         * ps/gtkgs.c: (file_length), (file_readable),
224         (check_filecompressed), (check_pdf), (gtk_gs_load),
225         (gtk_gs_get_postscript):
226
227         Get rid of ggvutils
228
229 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
230
231         * ps/ggvutils.c:
232         * ps/ggvutils.h:
233         * ps/gsio.h:
234         * ps/gtkgs.c: (gtk_gs_set_zoom):
235
236         Cleanups
237
238 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
239
240         * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
241
242         Ensure the page is rerendered when changing zoom
243
244 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
245
246         * backend/ev-document.c: (ev_document_base_init),
247         (ev_document_changed):
248         * backend/ev-document.h:
249
250         Add a changed event that is emitted when the page content
251         changes. This is necessary to deal with the fact that
252         in ps backend rendering happen asycrounously.
253         This makes the ps backend mostly work.
254
255         * pdf/xpdf/pdf-document.cc:
256
257         Emit changed event
258
259         * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
260         (ps_document_set_target):
261
262         Emit changed event
263
264         * shell/ev-view.c: (document_changed_callback),
265         (ev_view_set_document), (ev_view_set_page):
266
267         Redraw on the changed signal
268
269 2004-12-25  Raphael Higino  <raphaelh@cvs.gnome.org>
270
271         * configure.ac: Added pt_BR to ALL_LINGUAS.
272
273 Fri Dec 24 00:48:44 2004  Jonathan Blandford  <jrb@redhat.com>
274
275         * backend/ev-document-bookmarks.c:
276         (ev_document_bookmarks_get_child): *
277         backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
278         pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
279         shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
280         (ev_sidebar_bookmarks_destroy),
281         (ev_sidebar_bookmarks_class_init),
282         (ev_sidebar_bookmarks_construct), (stack_data_free),
283         (do_one_iteration), (populate_bookmarks_idle),
284         (ev_sidebar_bookmarks_clear_document),
285         (ev_sidebar_bookmarks_set_document): *
286         shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
287         (ev_sidebar_add_page),
288         (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
289         Initial stab at a bookmarks sidebar.  It doesn't navigate yet, but
290         it displays both the topics and the page numbers.
291
292 2004-12-23  Kristian Høgsberg  <krh@redhat.com>
293
294         * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
295         toggle.
296         * shell/ev-window.c (toggle_entries): Set sidebar default value to
297         visible.
298
299 2004-12-23  Adam Weinberger  <adamw@gnome.org>
300
301         * configure.ac: Added en_CA to ALL_LINGUAS.
302
303 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
304
305         * ChangeLog: replace bottom of this ChangeLog (merged history of
306         ggv and gpdf; where all paths were wrong and most of the files are
307         not even in this tree) with ChangeLog (from arch) of the shell
308         code.
309
310 2004-12-23  Havoc Pennington  <hp@redhat.com>
311
312         * shell/ev-window.c: hook up potentially-questionable "find
313         results status text" feature - something involving the sidebar or
314         scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
315         might be better in the end.
316
317         * shell/ev-view.c (ev_view_get_find_status_message): new function, 
318         with corresponding signal when it should be updated
319
320         * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
321
322 2004-12-22  Havoc Pennington  <hp@redhat.com>
323
324         * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
325         find stuff on other pages, sort of (only returns one result on
326         invisible pages, to show they have results; updates full results
327         for a page when you view it). Currently repaints the current page
328         every time a new result is found on any page, which isn't so nice.
329
330 2004-12-22  Havoc Pennington  <hp@redhat.com>
331
332         * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
333         the document doesn't support find (better ideas?)
334         (find_bar_search_changed_cb): handle missing document or document
335         that doesn't support find
336
337         * pdf/xpdf/pdf-document.cc: port to implement the new
338         EvDocumentFindIface
339
340         * backend/ev-document-find.c: create a new interface for searching
341
342         * backend/ev-document.h, backend/ev-document.c: delete the find stuff
343
344 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
345
346         * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
347         libevbackend.la.
348
349         * shell/ev-window.c (ev_window_print): add GnomePrintJob to
350         EvPrintJob constructor arguments.
351
352         * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
353         for documents that can export PostScript (page by page).
354
355         * backend/Makefile.am (libevbackend_la_SOURCES): add them.
356         
357         * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
358         (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
359         (pdf_document_ps_exporter_iface_init:
360         Implement EvPSExporter.
361
362         * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
363
364 2004-12-22  Anders Carlsson  <andersca@gnome.org>
365
366         * backend/Makefile.am:
367         * backend/ev-document-thumbnails.c:
368         (ev_document_thumbnails_get_type),
369         (ev_document_thumbnails_get_thumbnail):
370         * backend/ev-document-thumbnails.h:
371         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
372         (pixbuf_document_thumbnails_get_thumbnail),
373         (pixbuf_document_document_thumbnails_iface_init):
374         * shell/Makefile.am:
375         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
376         (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
377         (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
378         * shell/ev-sidebar-thumbnails.h:
379         * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
380         (ev_sidebar_set_document):
381         * shell/ev-utils.c: (gaussian), (create_blur_filter),
382         (create_shadow), (ev_pixbuf_add_shadow):
383         * shell/ev-utils.h:
384         Add thumbnail support.
385         
386 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
387
388         * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
389         (using_postscript_printer): Set up a print dialog for "PostScript
390         injection" method.
391
392         * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
393         EvPrintJob.
394
395         * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
396
397 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
398
399         * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
400         (ps_document_set_target), (ps_document_get_page_size),
401         (ps_document_render):
402         * ps/gtkgs.h:
403
404         Fix a few bugs
405
406 2004-12-22  Christian Rose  <menthos@menthos.com>
407
408         * configure.ac: Added "sv" to ALL_LINGUAS.
409
410 Wed Dec 22 14:47:38 2004  Jonathan Blandford  <jrb@redhat.com>
411
412         * backend/ev-document-bookmarks.[ch]: new interface to indicate
413         document supports bookmarks.
414
415 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
416
417         * ps/ggvutils.c: (ggv_file_readable):
418         * ps/ggvutils.h:
419         * ps/gtkgs.c: (check_filecompressed), (check_pdf),
420         (gtk_gs_get_postscript):
421
422         Remove unused utils
423
424 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
425
426         * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
427         (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
428         (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
429         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
430         (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
431         (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
432         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
433         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
434         (gtk_gs_set_antialiasing), (ps_document_load),
435         (ps_document_render):
436         * ps/gtkgs.h:
437
438         Another check point for the ps backend. Now I can get it to show
439         pages!
440
441 Wed Dec 22 13:41:01 2004  Jonathan Blandford  <jrb@redhat.com>
442
443         * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
444         document setting code.
445
446 2004-12-22  Anders Carlsson  <andersca@gnome.org>
447
448         * shell/eggfindbar.c: (entry_activate_callback):
449         Animate the next button when activate is pressed.
450         
451 2004-12-22  Anders Carlsson  <andersca@gnome.org>
452
453         * shell/ev-window.c: (ev_window_cmd_edit_find),
454         (update_fullscreen_popup), (ev_window_fullscreen),
455         (ev_window_unfullscreen), (ev_window_state_event_cb),
456         (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
457         Fix bugs in fullscreen code.
458         
459 2004-12-22  Anders Carlsson  <andersca@gnome.org>
460
461         * Makefile.am:
462         * configure.ac:
463         * pixbuf/Makefile.am:
464         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
465         (pixbuf_document_load), (pixbuf_document_get_n_pages),
466         (pixbuf_document_set_page), (pixbuf_document_get_page),
467         (pixbuf_document_set_target), (pixbuf_document_set_scale),
468         (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
469         (pixbuf_document_render), (pixbuf_document_begin_find),
470         (pixbuf_document_end_find), (pixbuf_document_finalize),
471         (pixbuf_document_class_init),
472         (pixbuf_document_document_iface_init), (pixbuf_document_init):
473         * pixbuf/pixbuf-document.h:
474         * shell/Makefile.am:
475         * shell/ev-application.c: (ev_application_open):
476         * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
477         (ev_window_open):
478         Add pixbuf backend.
479         
480 Tue Dec 21 21:45:43 2004  Soeren Sandmann  <sandmann@redhat.com>
481
482         * Makefile.am: 
483         * dvi/dvilib/Makefile.am:
484         * dvi/Makefile.am:
485         * configure.ac: Auto*ify dvi and dvi/dvilib
486
487         * dvi/Makefile: Remove from CVS
488         
489         * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
490         confusion.
491
492         * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
493         
494         * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
495         
496 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
497
498         * ps/Makefile.am:
499         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
500         (gtk_gs_value_adjustment_changed), (compute_size),
501         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
502         (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
503         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
504         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
505         (gtk_gs_start_scroll), (gtk_gs_get_postscript),
506         (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
507         (ps_document_load), (ps_document_get_n_pages),
508         (ps_document_set_page), (ps_document_get_page),
509         (ps_document_set_target), (ps_document_set_scale),
510         (ps_document_set_page_offset), (ps_document_get_page_size),
511         (ps_document_render), (ps_document_begin_find),
512         (ps_document_end_find), (ps_document_document_iface_init):
513         * ps/gtkgs.h:
514         * shell/Makefile.am:
515         * shell/ev-window.c: (ev_window_open):
516
517         Some work to integrate gtkgs with EvDocument
518
519 2004-12-22  Anders Carlsson  <andersca@gnome.org>
520
521         * shell/ev-window.c: (update_fullscreen_popup),
522         (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
523         (exit_fullscreen_button_clicked_cb),
524         (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
525         (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
526         (ev_window_state_event_cb), (ev_window_init):
527         Add fullscreen support from Epiphany.
528         
529 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
530
531         * data/ev-stock-zoom-fit-width.png: fit-width
532         stock icon from gpdf.
533         
534         * shell/ev-stock-icons.[ch]: copied from gpdf.
535         
536         * shell/main.c: (main): init stock icons.
537         
538         * shell/ev-window.c: use the fit-width icon.
539         
540         * data/evince-ui.xml: add zooming toolbar items.
541
542 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
543
544         * shell/ev-view.c: 
545         (ev_view_best_fit), (ev_view_fit_width): because
546         get_page_size() returns the scaled page size, we
547         need to calculate the scale factor relative to
548         the previous scale factor. Should really just
549         add get_real_page_size().
550
551 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
552
553         * shell/ev-view.[ch]:
554         (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
555         (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
556         add zooming.
557         
558         * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
559         (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
560         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
561         hook it up.
562         
563         * pdf/xpdf/pdf-document.cc:
564         (pdf_document_begin_find),
565         (pdf_document_end_find): make static.
566
567 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
568
569         * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
570
571         * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
572         names to fontconfig patterns.
573         (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
574
575         * pdf/xpdf/pdf-document.cc (pdf_document_load): use
576         setupBaseFontsFc.
577
578 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
579
580         * Makefile.am:
581         * configure.ac:
582         * ps/Makefile.am:
583         * ps/ggvutils.c:
584         * ps/ggvutils.h:
585         * ps/gsdefaults.c:
586         * ps/gsdefaults.h:
587         * ps/gsio.c:
588         * ps/gsio.h:
589         * ps/gtkgs.c:
590         * ps/gtkgs.h:
591         * ps/ps.c:
592         * ps/ps.h:
593
594         Import ggv backend. Not hooked up yet.
595
596 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
597
598         * shell/main.c: (load_files), (main): load files
599         from the command line.
600
601 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
602
603         * configure.ac: don't require bonobo.
604         
605         * cut-n-paste/recent-files/*: kill bonobo recent
606         view.
607
608         * shell/ev-window.c:
609         (ev_window_is_empty): upd.
610         (unable_to_load), (ev_window_open): load backend
611         based on the mime type.
612
613 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
614
615         * backend/.cvsignore: ignore generated marshalers source.
616
617         * shell/main.c (main): this is not epiphany.
618
619 2004-12-22  Havoc Pennington  <hp@redhat.com>
620
621         * shell/ev-view.c (ev_view_set_document): connect to "found" signal
622         (expose_bin_window): draw find highlights
623
624         * shell/ev-window.c (find_bar_search_changed_cb): implement 
625         
626         * pdf/xpdf/pdf-document.cc (pdf_document_begin_find) 
627         (pdf_document_end_find): implement this interface
628
629         * backend/ev-document.c (ev_document_found): add this to emit
630         signal
631
632 Tue Dec 21 23:57:37 2004  Owen Taylor  <otaylor@redhat.com>
633
634         * data/evince-ui.xml: Add a few more toolbar items.
635
636         * shell/ev-window.c: Hook up page navigation toolbar 
637         items.
638
639         * shell/ev-view.[ch]: add ev_view_set/get_page and 
640         a page-changed signal.
641
642         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
643         Add ev_document_get_page().
644
645         * shell/ev-window.c: Sensitize/desensitize navigation
646         actions.
647
648 2004-12-21  Havoc Pennington  <hp@redhat.com>
649
650         * backend/ev-backend-marshal.c,
651         backend/ev-backend-marshalers.list, backend/Makefile.am: add
652         marshaler-generator thingy. I'm sure there's a better way to do
653         this in the modern world.
654
655         * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
656         end_find methods and "found" signal.
657
658         * configure.ac: find glib-genmarshal
659
660 Tue Dec 21 23:20:35 2004  Jonathan Blandford  <jrb@redhat.com>
661
662         * shell/ev-sidebar.c: Construct an actual sidebar.
663         * shell/ev-sidebar-bookmarks.[ch]:
664         * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
665
666 Tue Dec 21 23:05:51 2004  Owen Taylor  <otaylor@redhat.com>
667
668         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
669         Redo size handling.
670         
671         * shell/ev-view.c: Track the size from the document.
672
673 Tue Dec 21 22:17:04 2004  Owen Taylor  <otaylor@redhat.com>
674
675         * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
676         constructor assumes ownership of the string passed in.
677         
678         * shell/ev-window.c (ev_window_open): Destroy the error
679         dialog once we've displayed it.
680
681 Tue Dec 21 21:58:56 2004  Owen Taylor  <otaylor@redhat.com>
682
683         * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up 
684         a bit, it works! (sort of)
685
686         * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
687         Move to .cc since we need to use C++ in the implementation.
688
689         * shell/dummy.cc: Add a CC file to force evince
690         to be linked as a C++ program.
691
692 Tue Dec 21 21:07:55 2004  Owen Taylor  <otaylor@redhat.com>
693
694         * shell/ev-view.[ch]: Start of content-area widget.
695
696         * shell/ev-window.c: Create a EvView, update it
697         as we change documents.
698
699         * shell/Makefile.am shell/ev-marshal.list: Add
700         generated marshalers.
701
702 Tue Dec 21 20:28:11 2004  Jonathan Blandford  <jrb@redhat.com>
703
704         * Makefile.am (SUBDIRS): move shell.
705
706 Tue Dec 21 19:28:55 2004  Owen Taylor  <otaylor@redhat.com>
707
708         * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
709         .a to libtool convenience libraries.
710
711         * shell/ev-window.c (ev_window_open): Hard code loading
712         a PDF document.
713         
714         * backend/ev-document.h: Add a boolean return to load(),
715         fix GError * to GError **.
716
717         * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
718         object for a PDF backend EvDocument.
719
720 Tue Dec 21 18:55:06 2004  Søren Sandmann  <sandmann@redhat.com>
721
722         * dvi/*: New directory with the beginning of a .dvi backend.
723
724 2004-12-21  Havoc Pennington  <hp@redhat.com>
725
726         * shell/eggfindbar.c (egg_find_bar_init): change buttons to
727         previous/next instead of back/forward
728
729 Tue Dec 21 18:26:24 2004  Owen Taylor  <otaylor@redhat.com>
730
731         * backend/ev-document.[ch]: Fix a couple of problems so
732         it compile.
733
734 Tue Dec 21 18:20:40 2004  Owen Taylor  <otaylor@redhat.com>
735
736         * viewer/* backend/* configure.ac Makefile.am: Move viewer directory 
737         to backend/ directory, rename EvViewer to EvDocument.
738
739 2004-12-21  Havoc Pennington  <hp@redhat.com>
740
741         * shell/ev-window.c: hook up the find bar widget; now we just need
742         a document to find things in
743
744         * shell/eggfindbar.c: a find bar widget
745
746 Tue Dec 21 17:20:16 2004  Jonathan Blandford  <jrb@redhat.com>
747
748         * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
749
750 Tue Dec 21 16:30:58 2004  Owen Taylor  <otaylor@redhat.com>
751
752         * pdf/**: Import of xpdf code from gpdf. 
753
754         * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
755
756         * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
757         pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h: 
758         Fix FreeType includes.
759
760         * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
761         pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
762         pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
763         Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
764         pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
765         Include xpdfconfig.h
766         
767 Tue Dec 21 16:08:17 2004  Jonathan Blandford  <jrb@redhat.com>
768
769         * shell/ev-window.c (ev_window_dispose): dispose can be called
770         multiple times.
771
772 2004-12-21  Havoc Pennington  <hp@redhat.com>
773
774         * shell/ev-window.c (ev_window_init): set title to Document Viewer
775         rather than Evince
776
777         * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
778         items; really they should be synced with the strings, etc. from
779         current gpdf, but just getting the boring typing out of the way 
780
781 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
782
783         * po/POTFILES.in:
784         * shell/ev-application.c: (window_destroy_cb):
785         * shell/ev-window.c:
786         * shell/main.c: (main):
787
788         Actually show the window...
789
790 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
791
792         * Makefile.am:
793         * shell/Makefile.am:
794         * shell/ev-application.c: (ev_application_class_init):
795         * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
796
797         Make it build again
798
799 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
800
801         Import to gnome cvs.
802         
803         * Remove copies of gpdf and ggv trees.
804         * Rip out all the recursive configure code.
805         * Remove bonobo machinery.
806         * viewer/*: GInterfaces that backends should/can implement.
807
808 2004-11-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
809
810         * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
811         typo
812
813 2004-10-28  Martin Kretzschmar  <m_kretzschmar@gmx.net>
814
815         * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
816         (ev_application_finalize, ev_application_class_init)
817         (ev_application_init): use GType instance private data for priv.
818     
819         * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
820         (ev_window_finalize, ev_window_class_init)
821         (ev_window_init): ditto.
822
823 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
824
825         * shell/ev-application.c (ev_application_new_window): make public
826         (ev_application_show_initial_window): kill.
827     
828         * shell/ev-application.h: update prototypes.
829     
830         * shell/main.cc (main): inline ev_application_show_initial_window.
831
832 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
833
834         * shell/ev-application.c (ev_application_new_window): impl.
835         (ev_application_show_initial_window): use it.
836         (is_window_empty, ev_application_get_empty_window): returns an
837         existing empty window or a new one.
838         (ev_application_open): from ev_window_cmd_file_open.
839     
840         * shell/ev-application.h: update prototypes
841     
842         * shell/ev-window.c (ev_window_is_empty): impl.
843         (ev_window_open): make public.
844         (ev_window_cmd_file_open): use ev_application_open
845     
846         * shell/ev-window.h: update prototypes, remove unused.
847
848 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
849
850         * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
851         move destroy handler out of here...
852     
853         * shell/ev-application.c, shell/ev-application.h: ...into this new
854         class. Also handles initial window creation.
855     
856         * shell/main.cc (main): use EvApplication to create initial
857         window.
858
859 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
860
861         * Makefile.am (SUBDIRS): add cut-n-paste
862     
863         * cut-n-paste/Makefile.am: add
864     
865         * configure.ac: generate Makefiles in cut-n-paste
866
867 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
868
869         * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
870         (ev_window_class_init): install ev_window_dispose.
871
872 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
873
874         * shell/ev-window.h, shell/ev-window.c: replace gchar with
875         char (gchar looks stupid).
876
877 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
878
879         * po/de.po: updated German translation.
880
881 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
882
883         * configure.ac: add more pkg-config library checks for gnome-vfs,
884         bonobo etc.
885     
886         * gpdf/configure.in: temporarily disable libpaper
887         checks. Otherwise I'd have to add the checks for the shell, too.
888
889 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
890
891         * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
892         and * file filters to the file choose.
893
894 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
895
896         * po/de.po: Updated German translation.
897
898 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
899
900         * shell/ev-window.c: use "S" as mnemonic for Statusbar.
901
902 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
903
904         * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
905     
906         * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
907         (ev_window_init): implement those menuitems.
908
909 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
910
911         * data/evince-ui.xml: add a toolbar (with FileOpen action)
912     
913         * shell/ev-window.c (ev_window_init): use the toolbar.
914
915 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
916
917         * shell/ev-window.c (ev_window_init): use menu translations
918
919 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
920
921         * configure.ac: add "de" to ALL_LINGUAS.
922     
923         * po/de.po: add German translation.
924
925 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
926
927         * Makefile.am (SUBDIRS): add po
928     
929         * configure.ac: check intltool, glib-gettext etc, generate
930         po/Makefile.in
931     
932         * po, po/POTFILES.in, po/POTFILES.skip: new.
933
934 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
935
936         * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
937         already use (#ifdef ENABLE_NLS)
938     
939         * shell/ev-window.c (ev_window_cmd_help_about): fix two star
940         pointer indirection thinko.
941     
942         * shell/main.c: include gi18n.h for bindtextdomain etc.
943
944 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
945
946         * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
947         (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
948         tooltips for menu items in the statusbar.
949
950 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
951
952         * configure.ac, data/Makefile.am, shell/Makefile.am: use
953         pkgdatadir drop UIDIR
954
955 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
956
957         * data/evince-ui.xml: Add File->Open menu item
958     
959         * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
960         chooser), hook it up in the ui manager.
961
962 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
963
964         * shell/ev-window.c: fix Help->About tooltip.
965
966 2004-10-23 Martin Kretzschmar  <m_kretzschmar@gmx.net>
967
968         * configure.ac: set CFLAGS for libevprivate.
969     
970         * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
971         definitions, factory etc.
972     
973         * lib/Makefile.am: build libevprivate.a (only stock icon code).
974     
975         * shell/Makefile.am: link against libevprivate.a.
976     
977         * shell/ev-window.c (entries): add stock icon to Help->About.
978     
979         * shell/main.c (main): init stock icon code.
980
981 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
982
983         * lib/recent-files: egg recent files code
984     
985         * lib/Makefile.am: add.
986     
987         * Makefile.am: add lib subdir.
988     
989         * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
990         set CFLAGS for recent-files.
991
992 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
993
994         * configure.ac: disable -ansi and -pedantic gcc flags. They
995         disable POSIX stuff in stdio.h, but egg-recent uses them.
996
997 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net> 
998
999         * configure.ac: add --disable-deprecated flag (defaults to on in
1000         "cvs" builds).
1001     
1002         * shell/Makefile.am (INCLUDES): use it.
1003
1004 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1005
1006         * shell/main.c: add missing #include.
1007     
1008         * shell/ev-window.c: fix for pedantic gcc.
1009         (ev_window_cmd_help_about): split license into paragraphs for
1010         translators and pedantic compilers.
1011
1012 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1013
1014         * configure.ac: add more warning flags if compiling with gcc from
1015         cvs (or explicitly requested with --enable-more-warnings).
1016
1017 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1018
1019         * data/evince-ui.xml: add File and File->Close menu.
1020     
1021         * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1022         (ev_window_destroy): quit after destroy.
1023         (ev_window_class_init): override GtkObject::destroy.
1024         (entries): install close_window callback.
1025
1026 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1027
1028         * Makefile.am (SUBDIRS): add data subdir.
1029     
1030         * configure.ac (UIDIR): gen data/Makefile, define UIDIR.  Require
1031         gtk+ 2.5.0 for GtkAboutDialog.
1032     
1033         * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1034         main window.
1035     
1036         * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1037     
1038         * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1039         manager.
1040         (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1041
1042 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1043
1044         * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1045
1046 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1047
1048         * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1049
1050 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1051
1052         * shell/*: Added shell directory boilerplate, build it.
1053
1054 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1055
1056         * configure.ac, Makefile.am: Added top-level configure.ac and
1057         Makefile.am