]> www.fi.muni.cz Git - evince.git/blob - ChangeLog
Add some content.
[evince.git] / ChangeLog
1 2005-01-22  Martin Kretzschmar  <martink@gnome.org>
2
3         * NEWS: Add some content.
4
5 2005-01-21  Bryan Clark  <clarkbw@cvs.gnome.org>
6
7         * TODO: added one more TODO item and a TODONE section :)
8
9 2005-01-21  Martin Kretzschmar  <martink@gnome.org>
10
11         * ps/ps-document.h: add page_[xy]_offset fields.
12
13         * ps/ps-document.c (ps_document_set_page_offset)
14         (ps_document_render): Keep offset in consideration in a few
15         places. Bug #164752 "postscript documents are not centered in
16         window"
17
18         * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
19         s/gpdf/evince/. Spotted by Stephane Loeuillet.
20
21         * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
22         (pixbuf_document_get_text, pixbuf_document_document_iface_init):
23         stub out missing methods for complete EvDocument implementation.
24         Fixes segfaults with Save A Copy and Copy actions.
25
26         * ps/ps-document.c (ps_document_save, ps_document_get_text) 
27         (ps_document_document_iface_init): ditto.
28         
29 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
30
31         * data/.cvsignore:
32         * data/Makefile.am:
33         * data/evince.desktop.in:
34
35         Add desktop file
36
37 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
38
39         * shell/ev-view.c: (ev_view_button_press_event),
40         (ev_view_motion_notify_event):
41
42         Make selection work in any direction
43
44 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
45
46         * TODO:
47         * shell/ev-window.c: (set_short_labels), (ev_window_init):
48
49         Use shorter labels for some of the toolbars items
50
51 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
52
53         * pdf/xpdf/pdf-document.cc:
54
55         Check the links info is initialized before
56         using it. Should fix a crash on startup.
57
58 2005-01-21  Martin Kretzschmar  <martink@gnome.org>
59
60         * pixbuf/pixbuf-document.c
61         (pixbuf_document_thumbnails_get_dimensions): force floating point
62         division to calculate page_ratio. Fixes crash with landscape
63         format pixbufs.
64
65 Thu Jan 20 18:56:35 2005  Jonathan Blandford  <jrb@redhat.com>
66
67         * shell/ev-view.c (ev_view_realize): make the bg color darker.
68
69 2005-01-20  Martin Kretzschmar  <martink@gnome.org>
70
71         * shell/ev-view.c (set_document_page): unset has_selection when
72         the page changes.
73         (set_document_page): handle paper size changes when the page
74         changes (test with Free Culture, page 2).
75
76 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
77
78         * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
79         (expose_bin_window), (ev_view_class_init), (ev_view_init):
80
81         Use normal style color for the widget background and
82         draw a black box around the page.
83
84 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
85
86         * pdf/xpdf/pdf-document.cc:
87
88         Keep offset in consideration in a few places
89
90         * shell/ev-view.c: (expose_bin_window):
91
92         Set the offsets so that the document is ever centered
93
94 2005-01-20  Bryan Clark  <clarkbw@cvs.gnome.org>
95
96         * TODO: Added TODO items and finished off the first todo item
97
98         * AUTHORS: Updated AUTHORS section with piece from gpdf file and
99         reflect current authors
100
101 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
102
103         * pdf/xpdf/pdf-document.cc:
104         * shell/ev-view.c: (ev_view_set_cursor),
105         (ev_view_motion_notify_event), (document_changed_callback),
106         (set_document_page):
107
108         Show a wait cursor while the page is rendering
109
110 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
111
112         * shell/ev-sidebar-thumbnails.c:
113         (ev_sidebar_tree_selection_changed),
114         (ev_sidebar_thumbnails_select_page):
115         * shell/ev-sidebar-thumbnails.h:
116         * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
117         (ev_view_can_go_forward):
118         * shell/ev-window.c: (ev_window_open_page),
119         (ev_window_setup_document), (update_current_page),
120         (view_page_changed_cb), (ev_window_init):
121         * shell/ev-window.h:
122
123         Ensure thumbnails selection, toolbar page control and
124         current page are in sync.
125
126 2005-01-19  Marco Pesenti Gritti  <marco@gnome.org>
127
128         * pdf/xpdf/XRef.cc:
129
130         Fix CAN-2005-0064
131
132 Wed Jan 19 01:10:57 2005  Jonathan Blandford  <jrb@redhat.com>
133
134         * backend/Makefile.am:
135         * backend/ev-document-links.h:
136         * backend/ev-document-security.c: (ev_document_security_get_type),
137         (ev_document_security_has_document_security),
138         (ev_document_security_set_password):
139         * backend/ev-document-security.h:
140         * backend/ev-document.c: (ev_document_error_quark):
141         * backend/ev-document.h:
142         * data/Makefile.am:
143         * data/evince-password.glade:
144         * pdf/xpdf/pdf-document.cc:
145         * shell/Makefile.am:
146         * shell/ev-password.c: (ev_password_set_bad_password_label),
147         (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
148         (ev_password_dialog_get_password),
149         (ev_password_dialog_set_bad_pass):
150         * shell/ev-password.h:
151         * shell/ev-window.c: (ev_window_get_attribute),
152         (ev_window_set_property), (update_action_sensitivity),
153         (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
154         (ev_window_setup_document), (ev_window_get_password),
155         (ev_window_open), (ev_window_cmd_save_as),
156         (using_postscript_printer), (ev_window_print),
157         (find_not_supported_dialog), (ev_window_cmd_edit_find),
158         (update_fullscreen_popup), (ev_window_fullscreen),
159         (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
160         (ev_window_focus_out_cb), (ev_window_cmd_help_about),
161         (menu_item_select_cb), (find_bar_search_changed_cb),
162         (ev_window_dispose), (ev_window_init):
163
164         Add initial support for password-supported dialogs.  This could be
165         a lot cooler, but it'll do for now.
166
167 2005-01-18  Marco Pesenti Gritti  <marco@gnome.org>
168
169         * pdf/xpdf/pdf-document.cc:
170         * shell/ev-view.c: (status_message_from_link),
171         (ev_view_set_status), (ev_view_set_cursor),
172         (ev_view_motion_notify_event), (ev_view_init):
173         * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
174
175         Fix bugs in the links implementation and change cursor
176         when hovering a link.
177
178 2005-01-17  Bryan Clark  <clarkbw@cvs.gnome.org>
179
180         * viewer/.cvsignore: added cvsignore file for viewer directory
181
182         * TODO: created TODO document
183
184 2005-01-14  Dave Malcolm  <dmalcolm@redhat.com>
185
186         * shell/ev-view.h:
187         * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):      
188         new functions to help with implementation of sensitivity code
189         * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
190         of all actions that might require it.  Fixes a crash when you
191         click on the Zoom actions in a window lacking a document.
192
193 2005-01-13  Dave Malcolm  <dmalcolm@redhat.com>
194
195         * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
196         of the Find action
197
198 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
199
200         * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
201         (pixbuf_document_document_iface_init):
202         * ps/ps-document.c: (ps_document_get_link),
203         (ps_document_document_iface_init):
204         * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
205         (status_message_from_link), (ev_view_set_status),
206         (ev_view_set_find_status), (ev_view_motion_notify_event),
207         (ev_view_button_release_event), (ev_view_set_property),
208         (ev_view_get_property), (ev_view_class_init), (ev_view_init),
209         (ev_view_get_find_status_message), (update_find_results),
210         (ev_view_get_status), (ev_view_get_find_status):
211         * shell/ev-view.h:
212         * shell/ev-window.c: (view_status_changed_cb),
213         (view_find_status_changed_cb), (ev_window_init):
214
215         View status message support, use it to show the links.
216         Needs work...
217
218 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
219
220         * backend/ev-document.c: (ev_document_get_link):
221         * backend/ev-document.h:
222         * pdf/xpdf/pdf-document.cc:
223         * shell/ev-application.c: (ev_application_open):
224         * shell/ev-application.h:
225         * shell/ev-sidebar-links.c: (selection_changed_cb):
226         * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
227         (ev_view_go_to_link):
228
229         Add support for document links
230
231 2005-01-13  Anders Carlsson  <andersca@gnome.org>
232
233         * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
234         (create_tool_item):
235         Set the spin button limits correctly.
236         
237         * shell/ev-sidebar-thumbnails.c:
238         (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
239         Support changing pages by clicking on the thumbnails.
240         
241 2005-01-13  Jeff Muizelaar  <jeff@nit.ca>
242
243         * pixbuf/pixbuf-document.c:
244         (pixbuf_document_thumbnails_get_dimensions),
245         (pixbuf_document_document_thumbnails_iface_init):
246
247         implement get_dimensions
248
249 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
250
251         * ps/ps-document.c: (ps_document_goto_page):
252
253         Fix page switching on multipage documents
254
255 2005-01-12  Jeff Muizelaar  <jrmuizel@nit.ca>
256
257         * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
258         
259         check for NULL before assigning to width and height parameters
260
261 2005-01-12  Jeff Muizelaar  <jeff@nit.ca>
262
263         * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
264         (pixbuf_document_set_property), (pixbuf_document_get_property):
265
266         implement get/set properties
267
268 2005-01-12  Jeff Muizelaar  <jeff@nit.ca>
269
270         * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
271         
272         return NULL instead of "Unknown", letting the title get set to
273         the filename when the pdf has no title.
274
275 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
276
277         * ps/ps-document.c: (ps_document_get_page_count),
278         (ps_document_goto_page):
279
280 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
281
282         * shell/ev-history.c: (ev_history_get_property),
283         (ev_history_set_property), (ev_history_class_init),
284         (ev_history_add_page), (ev_history_set_current_index):
285         * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
286         (activate_menu_item_cb), (new_history_menu_item), (build_menu),
287         (ev_navigation_action_finalize):
288         * shell/ev-navigation-action.h:
289         * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
290         (ev_view_go_forward), (ev_view_get_find_status_message),
291         (history_index_changed_cb), (ev_view_set_history):
292         * shell/ev-view.h:
293         * shell/ev-window.c: (update_total_pages), (ev_window_open),
294         (update_current_page), (register_custom_actions):
295
296         Implement history dropdowns
297
298 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
299
300         * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
301         * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
302         (ev_view_go_forward):
303         * shell/ev-window.c: (register_custom_actions):
304
305         Fix several history bugs
306
307 2005-01-11  Kjartan Maraas  <kmaraas@gnome.org>
308
309         * configure.ac: Add Â«nb» to ALL_LINGUAS.
310
311 2005-01-10  Marco Pesenti Gritti  <marco@gnome.org>
312
313         * backend/Makefile.am:
314         * backend/ev-bookmark.c:
315         * backend/ev-bookmark.h:
316         * backend/ev-document-bookmarks.c:
317         * backend/ev-document-bookmarks.h:
318         * backend/ev-document-links.c: (ev_document_links_get_type),
319         (ev_document_links_has_document_links),
320         (ev_document_links_begin_read), (ev_document_links_get_link),
321         (ev_document_links_get_child), (ev_document_links_next),
322         (ev_document_links_free_iter):
323         * backend/ev-document-links.h:
324         * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
325         (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
326         (ev_link_get_link_type), (ev_link_set_link_type),
327         (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
328         (ev_link_set_property), (ev_window_dispose), (ev_link_init),
329         (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
330         (ev_link_new_external):
331         * backend/ev-link.h:
332         * pdf/xpdf/pdf-document.cc:
333         * shell/Makefile.am:
334         * shell/ev-application.c: (ev_application_open_link):
335         * shell/ev-application.h:
336         * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
337         (ev_history_get_link_nth):
338         * shell/ev-history.h:
339         * shell/ev-sidebar-bookmarks.c:
340         * shell/ev-sidebar-bookmarks.h:
341         * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
342         (ev_sidebar_links_class_init), (selection_changed_cb),
343         (ev_sidebar_links_construct), (ev_sidebar_links_init),
344         (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
345         (do_one_iteration), (populate_links_idle),
346         (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
347         * shell/ev-sidebar-links.h:
348         * shell/ev-sidebar.c: (ev_sidebar_set_document):
349         * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
350         (go_to_index):
351         * shell/ev-view.h:
352         * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
353         * shell/ev-window.h:
354
355         Rename bookmark to link, and use "Index" for the sidebar panel.
356
357 2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>
358
359         * shell/Makefile.am:
360         * shell/ev-application.c: (ev_application_open_bookmark):
361         * shell/ev-application.h:
362         * shell/ev-history.c: (ev_history_init), (free_links_list),
363         (ev_history_finalize), (ev_history_class_init),
364         (ev_history_add_link), (ev_history_add_page),
365         (ev_history_get_link_nth), (ev_history_get_n_links),
366         (ev_history_get_current_index), (ev_history_set_current_index),
367         (ev_history_new):
368         * shell/ev-history.h:
369         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
370         * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
371         (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
372         (go_to_index), (ev_view_go_back), (ev_view_go_forward),
373         (ev_view_set_page):
374         * shell/ev-view.h:
375         * shell/ev-window.c: (ev_window_open_bookmark),
376         (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
377         (goto_page_cb), (register_custom_actions):
378         * shell/ev-window.h:
379
380         Initial history implementation. Needs work.
381
382 2005-01-09  Martin Kretzschmar  <martink@gnome.org>
383
384         * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
385
386 2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>
387
388         * cut-n-paste/recent-files/egg-recent-item.c:
389         * cut-n-paste/recent-files/egg-recent-item.h:
390         * cut-n-paste/recent-files/egg-recent-model.c:
391         * cut-n-paste/recent-files/egg-recent-util.c:
392         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
393         * cut-n-paste/recent-files/egg-recent-view.c:
394
395         Update
396
397 2005-01-08  Martin Kretzschmar  <martink@gnome.org>
398
399         * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
400         (fillGlyph, fillImageMask, drawImage):
401         pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
402         pdf/splash/SplashTypes.h:
403         pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
404         packed mode for Splash.
405
406         * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
407         RGB8 packed mode, eliminates the pixbuf data creation loop.
408
409         * shell/ev-print-job.c (ev_print_job_finalize)
410         (ev_print_job_set_property, ev_print_job_get_property)
411         (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
412         (ev_print_job_use_print_dialog_settings, idle_print_handler)
413         (print_closure_finalize, ev_print_job_print): implement
414         printing (for backends with EvPsExporter)
415
416         * shell/ev_print_job.h: update prototypes.
417
418         * shell/ev-window.c (ev_window_print): unref print job after
419         printing.
420
421         * shell/ev-view.c (ev_view_set_document): don't connect to "found"
422         unless the document implements the EvDocumentFind interface.
423
424 2005-01-08  Satoru SATOH <ss@gnome.gr.jp>
425
426         * configure.ac: Added ja to ALL_LINGUAS.
427
428 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
429
430         * pdf/xpdf/pdf-document.cc:
431
432         add a FIXME. We should probably not allocate
433         a bookmark object every time
434
435 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
436
437         * shell/ev-application.c: (ev_application_open),
438         (ev_application_open_bookmark):
439         * shell/ev-application.h:
440         
441         Add a way to open bookmarks
442
443         * backend/ev-bookmark.c: (ev_bookmark_get_uri),
444         (ev_bookmark_set_uri), (ev_bookmark_get_property),
445         (ev_bookmark_set_property), (ev_bookmark_class_init),
446         (ev_bookmark_new_title), (ev_bookmark_new_link),
447         (ev_bookmark_new_external):
448
449         Support for external uris, better constructors.
450
451         * backend/ev-bookmark.h:
452         * pdf/xpdf/pdf-document.cc:
453         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
454
455         Handle external uris
456
457 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
458
459         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
460         (ev_sidebar_bookmarks_construct), (do_one_iteration):
461
462         Hook up bookmarks navigation
463
464 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
465
466         * backend/Makefile.am:
467         * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
468         (ev_bookmark_get_title), (ev_bookmark_set_title),
469         (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
470         (ev_bookmark_get_page), (ev_bookmark_set_page),
471         (ev_bookmark_get_property), (ev_bookmark_set_property),
472         (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
473         (ev_bookmark_new):
474         * backend/ev-bookmark.h:
475         * backend/ev-document-bookmarks.c:
476         (ev_document_bookmarks_get_bookmark):
477         * backend/ev-document-bookmarks.h:
478         * pdf/xpdf/pdf-document.cc:
479         * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
480
481         Add a bookmark object to the backend and use it instead of get_values
482
483 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
484
485         * data/evince-ui.xml:
486
487         Cleanup and add select all.
488
489         * shell/ev-view.c: (ev_view_select_all),
490         (ev_view_button_press_event):
491         * shell/ev-view.h:
492         * shell/ev-window.c: (ev_window_cmd_edit_select_all):
493
494         Add select all.
495         Clear selection on click.
496
497 Fri Jan  7 01:28:58 2005  Jonathan Blandford  <jrb@redhat.com>
498
499         * shell/ev-sidebar-thumbnails.c
500         (ev_sidebar_thumbnails_set_document): forgot to unref the
501         loading_icon.
502
503 Fri Jan  7 01:22:48 2005  Jonathan Blandford  <jrb@redhat.com>
504
505         * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
506         at the visible page, not just linearly.  This makes it look fast.
507
508 Thu Jan  6 18:48:11 2005  Jonathan Blandford  <jrb@redhat.com>
509
510         * backend/ev-document-misc.c
511         (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
512         white.
513         * backend/ev-document-thumbnails.h: New interface to get the size
514         of a page.
515
516 2005-01-06  Jeremy Katz  <katzj@redhat.com>
517
518         * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
519         make dist works
520
521 Wed Jan  5 15:38:28 2005  Jonathan Blandford  <jrb@redhat.com>
522
523         * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
524         GDKSplashOutputDev and just use a normal SplashOutputDev.  Speeds
525         things up a bit.
526
527         * shell/ev-sidebar-thumbnail.c: start of some profiling code.
528
529 2005-01-05  Martin Kretzschmar  <martink@gnome.org>
530
531         * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
532         fonts. Should fix font problems on systems that have the base
533         fonts in bitmap format. Reported by James Henstridge
534         <james@jamesh.id.au>.
535
536 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
537
538         * pdf/xpdf/Gfx.cc:
539         * pdf/xpdf/GfxState.cc:
540
541         Fix for CAN-2004-1125
542
543 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
544
545         * shell/ev-view.c: (ev_view_copy):
546         * shell/ev-view.h:
547         * shell/ev-window.c: (ev_window_cmd_edit_copy):
548
549         Implement Edit->Copy
550
551 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
552
553         * backend/ev-document.c: (ev_document_get_text):
554         * backend/ev-document.h:
555         * pdf/xpdf/pdf-document.cc:
556         * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
557         (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
558         (ev_view_update_primary_selection), (ev_view_button_press_event),
559         (ev_view_motion_notify_event), (ev_view_button_release_event):
560
561         Beginnings of clipboard support. Incomplete but primary sort
562         of work.
563
564 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
565
566         * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
567         (expose_bin_window):
568
569         Nicer rubberband drawing, from GtkIconView.
570
571 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
572
573         * backend/ev-document.c: (ev_document_save):
574         * backend/ev-document.h:
575         * data/evince-ui.xml:
576         * pdf/xpdf/pdf-document.cc:
577         * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
578
579         Implement "Save a copy..." menu item
580
581 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
582
583         * shell/ev-view.c: (ev_view_zoom):
584
585         Queue a resize when zoom changes
586
587 Wed Jan  5 02:33:06 2005  Jonathan Blandford  <jrb@redhat.com>
588
589         * backend/ev-document-misc.[ch]: New misc file to do simple drop
590         shadows.
591
592         * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
593         thumbnails..
594
595 Tue Jan  4 22:32:32 2005  Jonathan Blandford  <jrb@redhat.com>
596
597         * pdf/xpdf/pdf-document.cc
598         (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
599
600 Tue Jan  4 21:25:05 2005  Jonathan Blandford  <jrb@redhat.com>
601
602         * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
603         It's slow, but I'll speed it up next!
604
605 2005-01-04  Jeff Muizelaar  <jrmuizel@nit.ca>
606
607         * shell/main.c (load_files):
608
609         use gnome_vfs_make_uri_from_shell_arg so that relative paths work
610         from the command line and because it seems more appropriate.
611
612 2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>
613
614         * data/evince-ui.xml:
615         * shell/ev-window.c: (update_action_sensitivity),
616         (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
617
618         s/next page/page down
619         s/previous page/page up
620
621 2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>
622
623         * data/evince-ui.xml:
624
625         Change the layout to match clarkbw design.
626
627         * shell/Makefile.am:
628         * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
629         (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
630         (ev_navigation_action_finalize),
631         (ev_navigation_action_set_property),
632         (ev_navigation_action_get_property),
633         (ev_navigation_action_class_init):
634         * shell/ev-navigation-action.h:
635
636         Implement clarkbw toolbar navigation controls (incomplete)
637
638         * shell/ev-page-action.c: (update_label), (update_spin),
639         (value_changed_cb), (create_tool_item), (connect_proxy),
640         (ev_page_action_init), (ev_page_action_finalize),
641         (ev_page_action_set_property), (ev_page_action_get_property),
642         (ev_page_action_set_current_page),
643         (ev_page_action_set_total_pages), (ev_page_action_class_init):
644         * shell/ev-page-action.h:
645
646         Implement a page switcher in the toolbar
647
648         * shell/ev-view.c: (ev_view_scroll_view):
649         * shell/ev-window.c: (update_total_pages), (ev_window_open),
650         (update_current_page), (view_page_changed_cb), (goto_page_cb),
651         (register_custom_actions), (ev_window_init):
652
653         Change page on PageUp/Down.
654
655 Tue Jan  4 03:22:56 2005  Jonathan Blandford  <jrb@redhat.com>
656
657         * pdf/xpdf/pdf-document.cc
658         (pdf_document_thumbnails_get_thumbnail): initial stab at
659         implementing thumbnail support for pdfs.  It only does documents
660         with precached pdfs now.
661
662 Mon Jan  3 17:22:25 2005  Jonathan Blandford  <jrb@redhat.com>
663
664         * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
665         thumbnail code into a time-based idle as well.  Also, turn off the
666         shadow temporarily as it's really slow.
667
668 2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
669
670         * backend/ev-document.c: (ev_document_class_init):
671         * pdf/xpdf/pdf-document.cc:
672         * shell/ev-window.c: (ev_window_open):
673
674         Fix document title bugs and fallback to
675         filename when not available.
676
677 2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
678
679         * backend/ev-document.c: (ev_document_get_type),
680         (ev_document_class_init), (ev_document_load),
681         (ev_document_get_title):
682         * backend/ev-document.h:
683         * pdf/xpdf/pdf-document.cc:
684         * ps/ps-document.c: (ps_document_set_property),
685         (ps_document_get_property), (ps_document_class_init),
686         (document_load):
687         * ps/ps-document.h:
688         * ps/ps.h:
689         * shell/ev-window.c: (update_window_title), (ev_window_open),
690         (ev_window_init):
691
692         Initial support for document title. Not working yet.
693
694 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
695
696         * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
697
698         Grab focus on the view when clicking it
699
700 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
701
702         * shell/ev-marshal.list:
703         * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
704         (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
705
706         Add key bindings to the view. Now if the focus would work
707         right...
708
709 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
710
711         * Makefile.am:
712         * backend/Makefile.am:
713         * data/Makefile.am:
714         * dvi/Makefile.am:
715         * dvi/dvilib/Makefile.am:
716         * pdf/xpdf/Makefile.am:
717         * po/POTFILES.in:
718         * ps/Makefile.am:
719
720         Fix distcheck
721
722 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
723
724         * shell/ev-view.c: (ev_view_realize):
725
726         Fix mouse wheel scrolling
727
728 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
729
730         * ps/Makefile.am:
731         * ps/gstypes.h:
732         * ps/gtkgs.c:
733         * ps/gtkgs.h:
734         * ps/ps-document.c: (catchPipe), (ps_document_init),
735         (ps_document_class_init), (ps_document_cleanup),
736         (ps_document_finalize), (send_ps), (ps_document_get_orientation),
737         (set_up_page), (close_pipe), (is_interpreter_ready),
738         (interpreter_failed), (output), (input), (start_interpreter),
739         (stop_interpreter), (file_length), (file_readable),
740         (check_filecompressed), (check_pdf), (compute_xdpi),
741         (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
742         (ps_document_get_type), (ps_document_emit_error_msg),
743         (document_load), (ps_document_next_page),
744         (ps_document_get_current_page), (ps_document_get_page_count),
745         (ps_document_goto_page), (ps_document_set_page_size),
746         (ps_document_zoom_to_fit), (ps_document_set_zoom),
747         (ps_document_load), (ps_document_get_n_pages),
748         (ps_document_set_page), (ps_document_get_page),
749         (ps_document_widget_event), (ps_document_set_target),
750         (ps_document_set_scale), (ps_document_set_page_offset),
751         (ps_document_get_page_size), (ps_document_render),
752         (ps_document_document_iface_init):
753         * ps/ps-document.h:
754         * ps/ps.c:
755         * shell/ev-window.c: (ev_window_open):
756
757         Rename GtkGS to PSDocument
758
759 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
760
761         * ps/gtkgs.c: (gtk_gs_class_init):
762         * ps/gtkgs.h:
763
764         Some more leftover...
765
766 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
767
768         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
769         (output), (stop_interpreter), (gtk_gs_emit_error_msg),
770         (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
771         * ps/gtkgs.h:
772
773         Remove unused code and make a lot of stuff private
774
775 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
776
777         * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
778         (gtk_gs_defaults_changed):
779         * ps/gsdefaults.h:
780         * ps/gtkgs.c:
781         * ps/gtkgs.h:
782         * ps/ps.h:
783
784         Cleanup headers dependencies
785
786 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
787
788         * ps/Makefile.am:
789         * ps/ggvutils.c:
790         * ps/ggvutils.h:
791         * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
792         * ps/gsdefaults.h:
793         * ps/gtkgs.c: (file_length), (file_readable),
794         (check_filecompressed), (check_pdf), (gtk_gs_load),
795         (gtk_gs_get_postscript):
796
797         Get rid of ggvutils
798
799 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
800
801         * ps/ggvutils.c:
802         * ps/ggvutils.h:
803         * ps/gsio.h:
804         * ps/gtkgs.c: (gtk_gs_set_zoom):
805
806         Cleanups
807
808 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
809
810         * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
811
812         Ensure the page is rerendered when changing zoom
813
814 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
815
816         * backend/ev-document.c: (ev_document_base_init),
817         (ev_document_changed):
818         * backend/ev-document.h:
819
820         Add a changed event that is emitted when the page content
821         changes. This is necessary to deal with the fact that
822         in ps backend rendering happen asycrounously.
823         This makes the ps backend mostly work.
824
825         * pdf/xpdf/pdf-document.cc:
826
827         Emit changed event
828
829         * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
830         (ps_document_set_target):
831
832         Emit changed event
833
834         * shell/ev-view.c: (document_changed_callback),
835         (ev_view_set_document), (ev_view_set_page):
836
837         Redraw on the changed signal
838
839 2004-12-25  Raphael Higino  <raphaelh@cvs.gnome.org>
840
841         * configure.ac: Added pt_BR to ALL_LINGUAS.
842
843 Fri Dec 24 00:48:44 2004  Jonathan Blandford  <jrb@redhat.com>
844
845         * backend/ev-document-bookmarks.c:
846         (ev_document_bookmarks_get_child): *
847         backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
848         pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
849         shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
850         (ev_sidebar_bookmarks_destroy),
851         (ev_sidebar_bookmarks_class_init),
852         (ev_sidebar_bookmarks_construct), (stack_data_free),
853         (do_one_iteration), (populate_bookmarks_idle),
854         (ev_sidebar_bookmarks_clear_document),
855         (ev_sidebar_bookmarks_set_document): *
856         shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
857         (ev_sidebar_add_page),
858         (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
859         Initial stab at a bookmarks sidebar.  It doesn't navigate yet, but
860         it displays both the topics and the page numbers.
861
862 2004-12-23  Kristian Høgsberg  <krh@redhat.com>
863
864         * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
865         toggle.
866         * shell/ev-window.c (toggle_entries): Set sidebar default value to
867         visible.
868
869 2004-12-23  Adam Weinberger  <adamw@gnome.org>
870
871         * configure.ac: Added en_CA to ALL_LINGUAS.
872
873 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
874
875         * ChangeLog: replace bottom of this ChangeLog (merged history of
876         ggv and gpdf; where all paths were wrong and most of the files are
877         not even in this tree) with ChangeLog (from arch) of the shell
878         code.
879
880 2004-12-23  Havoc Pennington  <hp@redhat.com>
881
882         * shell/ev-window.c: hook up potentially-questionable "find
883         results status text" feature - something involving the sidebar or
884         scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
885         might be better in the end.
886
887         * shell/ev-view.c (ev_view_get_find_status_message): new function, 
888         with corresponding signal when it should be updated
889
890         * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
891
892 2004-12-22  Havoc Pennington  <hp@redhat.com>
893
894         * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
895         find stuff on other pages, sort of (only returns one result on
896         invisible pages, to show they have results; updates full results
897         for a page when you view it). Currently repaints the current page
898         every time a new result is found on any page, which isn't so nice.
899
900 2004-12-22  Havoc Pennington  <hp@redhat.com>
901
902         * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
903         the document doesn't support find (better ideas?)
904         (find_bar_search_changed_cb): handle missing document or document
905         that doesn't support find
906
907         * pdf/xpdf/pdf-document.cc: port to implement the new
908         EvDocumentFindIface
909
910         * backend/ev-document-find.c: create a new interface for searching
911
912         * backend/ev-document.h, backend/ev-document.c: delete the find stuff
913
914 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
915
916         * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
917         libevbackend.la.
918
919         * shell/ev-window.c (ev_window_print): add GnomePrintJob to
920         EvPrintJob constructor arguments.
921
922         * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
923         for documents that can export PostScript (page by page).
924
925         * backend/Makefile.am (libevbackend_la_SOURCES): add them.
926         
927         * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
928         (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
929         (pdf_document_ps_exporter_iface_init:
930         Implement EvPSExporter.
931
932         * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
933
934 2004-12-22  Anders Carlsson  <andersca@gnome.org>
935
936         * backend/Makefile.am:
937         * backend/ev-document-thumbnails.c:
938         (ev_document_thumbnails_get_type),
939         (ev_document_thumbnails_get_thumbnail):
940         * backend/ev-document-thumbnails.h:
941         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
942         (pixbuf_document_thumbnails_get_thumbnail),
943         (pixbuf_document_document_thumbnails_iface_init):
944         * shell/Makefile.am:
945         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
946         (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
947         (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
948         * shell/ev-sidebar-thumbnails.h:
949         * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
950         (ev_sidebar_set_document):
951         * shell/ev-utils.c: (gaussian), (create_blur_filter),
952         (create_shadow), (ev_pixbuf_add_shadow):
953         * shell/ev-utils.h:
954         Add thumbnail support.
955         
956 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
957
958         * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
959         (using_postscript_printer): Set up a print dialog for "PostScript
960         injection" method.
961
962         * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
963         EvPrintJob.
964
965         * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
966
967 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
968
969         * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
970         (ps_document_set_target), (ps_document_get_page_size),
971         (ps_document_render):
972         * ps/gtkgs.h:
973
974         Fix a few bugs
975
976 2004-12-22  Christian Rose  <menthos@menthos.com>
977
978         * configure.ac: Added "sv" to ALL_LINGUAS.
979
980 Wed Dec 22 14:47:38 2004  Jonathan Blandford  <jrb@redhat.com>
981
982         * backend/ev-document-bookmarks.[ch]: new interface to indicate
983         document supports bookmarks.
984
985 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
986
987         * ps/ggvutils.c: (ggv_file_readable):
988         * ps/ggvutils.h:
989         * ps/gtkgs.c: (check_filecompressed), (check_pdf),
990         (gtk_gs_get_postscript):
991
992         Remove unused utils
993
994 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
995
996         * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
997         (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
998         (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
999         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
1000         (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
1001         (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
1002         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1003         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1004         (gtk_gs_set_antialiasing), (ps_document_load),
1005         (ps_document_render):
1006         * ps/gtkgs.h:
1007
1008         Another check point for the ps backend. Now I can get it to show
1009         pages!
1010
1011 Wed Dec 22 13:41:01 2004  Jonathan Blandford  <jrb@redhat.com>
1012
1013         * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
1014         document setting code.
1015
1016 2004-12-22  Anders Carlsson  <andersca@gnome.org>
1017
1018         * shell/eggfindbar.c: (entry_activate_callback):
1019         Animate the next button when activate is pressed.
1020         
1021 2004-12-22  Anders Carlsson  <andersca@gnome.org>
1022
1023         * shell/ev-window.c: (ev_window_cmd_edit_find),
1024         (update_fullscreen_popup), (ev_window_fullscreen),
1025         (ev_window_unfullscreen), (ev_window_state_event_cb),
1026         (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
1027         Fix bugs in fullscreen code.
1028         
1029 2004-12-22  Anders Carlsson  <andersca@gnome.org>
1030
1031         * Makefile.am:
1032         * configure.ac:
1033         * pixbuf/Makefile.am:
1034         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1035         (pixbuf_document_load), (pixbuf_document_get_n_pages),
1036         (pixbuf_document_set_page), (pixbuf_document_get_page),
1037         (pixbuf_document_set_target), (pixbuf_document_set_scale),
1038         (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
1039         (pixbuf_document_render), (pixbuf_document_begin_find),
1040         (pixbuf_document_end_find), (pixbuf_document_finalize),
1041         (pixbuf_document_class_init),
1042         (pixbuf_document_document_iface_init), (pixbuf_document_init):
1043         * pixbuf/pixbuf-document.h:
1044         * shell/Makefile.am:
1045         * shell/ev-application.c: (ev_application_open):
1046         * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
1047         (ev_window_open):
1048         Add pixbuf backend.
1049         
1050 Tue Dec 21 21:45:43 2004  Soeren Sandmann  <sandmann@redhat.com>
1051
1052         * Makefile.am: 
1053         * dvi/dvilib/Makefile.am:
1054         * dvi/Makefile.am:
1055         * configure.ac: Auto*ify dvi and dvi/dvilib
1056
1057         * dvi/Makefile: Remove from CVS
1058         
1059         * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
1060         confusion.
1061
1062         * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
1063         
1064         * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
1065         
1066 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
1067
1068         * ps/Makefile.am:
1069         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
1070         (gtk_gs_value_adjustment_changed), (compute_size),
1071         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
1072         (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
1073         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1074         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1075         (gtk_gs_start_scroll), (gtk_gs_get_postscript),
1076         (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
1077         (ps_document_load), (ps_document_get_n_pages),
1078         (ps_document_set_page), (ps_document_get_page),
1079         (ps_document_set_target), (ps_document_set_scale),
1080         (ps_document_set_page_offset), (ps_document_get_page_size),
1081         (ps_document_render), (ps_document_begin_find),
1082         (ps_document_end_find), (ps_document_document_iface_init):
1083         * ps/gtkgs.h:
1084         * shell/Makefile.am:
1085         * shell/ev-window.c: (ev_window_open):
1086
1087         Some work to integrate gtkgs with EvDocument
1088
1089 2004-12-22  Anders Carlsson  <andersca@gnome.org>
1090
1091         * shell/ev-window.c: (update_fullscreen_popup),
1092         (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
1093         (exit_fullscreen_button_clicked_cb),
1094         (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
1095         (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
1096         (ev_window_state_event_cb), (ev_window_init):
1097         Add fullscreen support from Epiphany.
1098         
1099 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
1100
1101         * data/ev-stock-zoom-fit-width.png: fit-width
1102         stock icon from gpdf.
1103         
1104         * shell/ev-stock-icons.[ch]: copied from gpdf.
1105         
1106         * shell/main.c: (main): init stock icons.
1107         
1108         * shell/ev-window.c: use the fit-width icon.
1109         
1110         * data/evince-ui.xml: add zooming toolbar items.
1111
1112 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
1113
1114         * shell/ev-view.c: 
1115         (ev_view_best_fit), (ev_view_fit_width): because
1116         get_page_size() returns the scaled page size, we
1117         need to calculate the scale factor relative to
1118         the previous scale factor. Should really just
1119         add get_real_page_size().
1120
1121 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
1122
1123         * shell/ev-view.[ch]:
1124         (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
1125         (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
1126         add zooming.
1127         
1128         * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1129         (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
1130         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
1131         hook it up.
1132         
1133         * pdf/xpdf/pdf-document.cc:
1134         (pdf_document_begin_find),
1135         (pdf_document_end_find): make static.
1136
1137 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
1138
1139         * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
1140
1141         * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
1142         names to fontconfig patterns.
1143         (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
1144
1145         * pdf/xpdf/pdf-document.cc (pdf_document_load): use
1146         setupBaseFontsFc.
1147
1148 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
1149
1150         * Makefile.am:
1151         * configure.ac:
1152         * ps/Makefile.am:
1153         * ps/ggvutils.c:
1154         * ps/ggvutils.h:
1155         * ps/gsdefaults.c:
1156         * ps/gsdefaults.h:
1157         * ps/gsio.c:
1158         * ps/gsio.h:
1159         * ps/gtkgs.c:
1160         * ps/gtkgs.h:
1161         * ps/ps.c:
1162         * ps/ps.h:
1163
1164         Import ggv backend. Not hooked up yet.
1165
1166 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
1167
1168         * shell/main.c: (load_files), (main): load files
1169         from the command line.
1170
1171 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
1172
1173         * configure.ac: don't require bonobo.
1174         
1175         * cut-n-paste/recent-files/*: kill bonobo recent
1176         view.
1177
1178         * shell/ev-window.c:
1179         (ev_window_is_empty): upd.
1180         (unable_to_load), (ev_window_open): load backend
1181         based on the mime type.
1182
1183 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
1184
1185         * backend/.cvsignore: ignore generated marshalers source.
1186
1187         * shell/main.c (main): this is not epiphany.
1188
1189 2004-12-22  Havoc Pennington  <hp@redhat.com>
1190
1191         * shell/ev-view.c (ev_view_set_document): connect to "found" signal
1192         (expose_bin_window): draw find highlights
1193
1194         * shell/ev-window.c (find_bar_search_changed_cb): implement 
1195         
1196         * pdf/xpdf/pdf-document.cc (pdf_document_begin_find) 
1197         (pdf_document_end_find): implement this interface
1198
1199         * backend/ev-document.c (ev_document_found): add this to emit
1200         signal
1201
1202 Tue Dec 21 23:57:37 2004  Owen Taylor  <otaylor@redhat.com>
1203
1204         * data/evince-ui.xml: Add a few more toolbar items.
1205
1206         * shell/ev-window.c: Hook up page navigation toolbar 
1207         items.
1208
1209         * shell/ev-view.[ch]: add ev_view_set/get_page and 
1210         a page-changed signal.
1211
1212         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
1213         Add ev_document_get_page().
1214
1215         * shell/ev-window.c: Sensitize/desensitize navigation
1216         actions.
1217
1218 2004-12-21  Havoc Pennington  <hp@redhat.com>
1219
1220         * backend/ev-backend-marshal.c,
1221         backend/ev-backend-marshalers.list, backend/Makefile.am: add
1222         marshaler-generator thingy. I'm sure there's a better way to do
1223         this in the modern world.
1224
1225         * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
1226         end_find methods and "found" signal.
1227
1228         * configure.ac: find glib-genmarshal
1229
1230 Tue Dec 21 23:20:35 2004  Jonathan Blandford  <jrb@redhat.com>
1231
1232         * shell/ev-sidebar.c: Construct an actual sidebar.
1233         * shell/ev-sidebar-bookmarks.[ch]:
1234         * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
1235
1236 Tue Dec 21 23:05:51 2004  Owen Taylor  <otaylor@redhat.com>
1237
1238         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
1239         Redo size handling.
1240         
1241         * shell/ev-view.c: Track the size from the document.
1242
1243 Tue Dec 21 22:17:04 2004  Owen Taylor  <otaylor@redhat.com>
1244
1245         * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
1246         constructor assumes ownership of the string passed in.
1247         
1248         * shell/ev-window.c (ev_window_open): Destroy the error
1249         dialog once we've displayed it.
1250
1251 Tue Dec 21 21:58:56 2004  Owen Taylor  <otaylor@redhat.com>
1252
1253         * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up 
1254         a bit, it works! (sort of)
1255
1256         * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
1257         Move to .cc since we need to use C++ in the implementation.
1258
1259         * shell/dummy.cc: Add a CC file to force evince
1260         to be linked as a C++ program.
1261
1262 Tue Dec 21 21:07:55 2004  Owen Taylor  <otaylor@redhat.com>
1263
1264         * shell/ev-view.[ch]: Start of content-area widget.
1265
1266         * shell/ev-window.c: Create a EvView, update it
1267         as we change documents.
1268
1269         * shell/Makefile.am shell/ev-marshal.list: Add
1270         generated marshalers.
1271
1272 Tue Dec 21 20:28:11 2004  Jonathan Blandford  <jrb@redhat.com>
1273
1274         * Makefile.am (SUBDIRS): move shell.
1275
1276 Tue Dec 21 19:28:55 2004  Owen Taylor  <otaylor@redhat.com>
1277
1278         * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
1279         .a to libtool convenience libraries.
1280
1281         * shell/ev-window.c (ev_window_open): Hard code loading
1282         a PDF document.
1283         
1284         * backend/ev-document.h: Add a boolean return to load(),
1285         fix GError * to GError **.
1286
1287         * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
1288         object for a PDF backend EvDocument.
1289
1290 Tue Dec 21 18:55:06 2004  Søren Sandmann  <sandmann@redhat.com>
1291
1292         * dvi/*: New directory with the beginning of a .dvi backend.
1293
1294 2004-12-21  Havoc Pennington  <hp@redhat.com>
1295
1296         * shell/eggfindbar.c (egg_find_bar_init): change buttons to
1297         previous/next instead of back/forward
1298
1299 Tue Dec 21 18:26:24 2004  Owen Taylor  <otaylor@redhat.com>
1300
1301         * backend/ev-document.[ch]: Fix a couple of problems so
1302         it compile.
1303
1304 Tue Dec 21 18:20:40 2004  Owen Taylor  <otaylor@redhat.com>
1305
1306         * viewer/* backend/* configure.ac Makefile.am: Move viewer directory 
1307         to backend/ directory, rename EvViewer to EvDocument.
1308
1309 2004-12-21  Havoc Pennington  <hp@redhat.com>
1310
1311         * shell/ev-window.c: hook up the find bar widget; now we just need
1312         a document to find things in
1313
1314         * shell/eggfindbar.c: a find bar widget
1315
1316 Tue Dec 21 17:20:16 2004  Jonathan Blandford  <jrb@redhat.com>
1317
1318         * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
1319
1320 Tue Dec 21 16:30:58 2004  Owen Taylor  <otaylor@redhat.com>
1321
1322         * pdf/**: Import of xpdf code from gpdf. 
1323
1324         * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
1325
1326         * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
1327         pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h: 
1328         Fix FreeType includes.
1329
1330         * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
1331         pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
1332         pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
1333         Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
1334         pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
1335         Include xpdfconfig.h
1336         
1337 Tue Dec 21 16:08:17 2004  Jonathan Blandford  <jrb@redhat.com>
1338
1339         * shell/ev-window.c (ev_window_dispose): dispose can be called
1340         multiple times.
1341
1342 2004-12-21  Havoc Pennington  <hp@redhat.com>
1343
1344         * shell/ev-window.c (ev_window_init): set title to Document Viewer
1345         rather than Evince
1346
1347         * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
1348         items; really they should be synced with the strings, etc. from
1349         current gpdf, but just getting the boring typing out of the way 
1350
1351 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
1352
1353         * po/POTFILES.in:
1354         * shell/ev-application.c: (window_destroy_cb):
1355         * shell/ev-window.c:
1356         * shell/main.c: (main):
1357
1358         Actually show the window...
1359
1360 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
1361
1362         * Makefile.am:
1363         * shell/Makefile.am:
1364         * shell/ev-application.c: (ev_application_class_init):
1365         * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
1366
1367         Make it build again
1368
1369 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
1370
1371         Import to gnome cvs.
1372         
1373         * Remove copies of gpdf and ggv trees.
1374         * Rip out all the recursive configure code.
1375         * Remove bonobo machinery.
1376         * viewer/*: GInterfaces that backends should/can implement.
1377
1378 2004-11-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1379
1380         * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
1381         typo
1382
1383 2004-10-28  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1384
1385         * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
1386         (ev_application_finalize, ev_application_class_init)
1387         (ev_application_init): use GType instance private data for priv.
1388     
1389         * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
1390         (ev_window_finalize, ev_window_class_init)
1391         (ev_window_init): ditto.
1392
1393 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1394
1395         * shell/ev-application.c (ev_application_new_window): make public
1396         (ev_application_show_initial_window): kill.
1397     
1398         * shell/ev-application.h: update prototypes.
1399     
1400         * shell/main.cc (main): inline ev_application_show_initial_window.
1401
1402 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1403
1404         * shell/ev-application.c (ev_application_new_window): impl.
1405         (ev_application_show_initial_window): use it.
1406         (is_window_empty, ev_application_get_empty_window): returns an
1407         existing empty window or a new one.
1408         (ev_application_open): from ev_window_cmd_file_open.
1409     
1410         * shell/ev-application.h: update prototypes
1411     
1412         * shell/ev-window.c (ev_window_is_empty): impl.
1413         (ev_window_open): make public.
1414         (ev_window_cmd_file_open): use ev_application_open
1415     
1416         * shell/ev-window.h: update prototypes, remove unused.
1417
1418 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1419
1420         * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
1421         move destroy handler out of here...
1422     
1423         * shell/ev-application.c, shell/ev-application.h: ...into this new
1424         class. Also handles initial window creation.
1425     
1426         * shell/main.cc (main): use EvApplication to create initial
1427         window.
1428
1429 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1430
1431         * Makefile.am (SUBDIRS): add cut-n-paste
1432     
1433         * cut-n-paste/Makefile.am: add
1434     
1435         * configure.ac: generate Makefiles in cut-n-paste
1436
1437 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1438
1439         * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
1440         (ev_window_class_init): install ev_window_dispose.
1441
1442 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1443
1444         * shell/ev-window.h, shell/ev-window.c: replace gchar with
1445         char (gchar looks stupid).
1446
1447 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1448
1449         * po/de.po: updated German translation.
1450
1451 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1452
1453         * configure.ac: add more pkg-config library checks for gnome-vfs,
1454         bonobo etc.
1455     
1456         * gpdf/configure.in: temporarily disable libpaper
1457         checks. Otherwise I'd have to add the checks for the shell, too.
1458
1459 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1460
1461         * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1462         and * file filters to the file choose.
1463
1464 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1465
1466         * po/de.po: Updated German translation.
1467
1468 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1469
1470         * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1471
1472 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1473
1474         * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1475     
1476         * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1477         (ev_window_init): implement those menuitems.
1478
1479 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1480
1481         * data/evince-ui.xml: add a toolbar (with FileOpen action)
1482     
1483         * shell/ev-window.c (ev_window_init): use the toolbar.
1484
1485 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1486
1487         * shell/ev-window.c (ev_window_init): use menu translations
1488
1489 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1490
1491         * configure.ac: add "de" to ALL_LINGUAS.
1492     
1493         * po/de.po: add German translation.
1494
1495 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1496
1497         * Makefile.am (SUBDIRS): add po
1498     
1499         * configure.ac: check intltool, glib-gettext etc, generate
1500         po/Makefile.in
1501     
1502         * po, po/POTFILES.in, po/POTFILES.skip: new.
1503
1504 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1505
1506         * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1507         already use (#ifdef ENABLE_NLS)
1508     
1509         * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1510         pointer indirection thinko.
1511     
1512         * shell/main.c: include gi18n.h for bindtextdomain etc.
1513
1514 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1515
1516         * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1517         (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1518         tooltips for menu items in the statusbar.
1519
1520 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1521
1522         * configure.ac, data/Makefile.am, shell/Makefile.am: use
1523         pkgdatadir drop UIDIR
1524
1525 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1526
1527         * data/evince-ui.xml: Add File->Open menu item
1528     
1529         * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1530         chooser), hook it up in the ui manager.
1531
1532 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1533
1534         * shell/ev-window.c: fix Help->About tooltip.
1535
1536 2004-10-23 Martin Kretzschmar  <m_kretzschmar@gmx.net>
1537
1538         * configure.ac: set CFLAGS for libevprivate.
1539     
1540         * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1541         definitions, factory etc.
1542     
1543         * lib/Makefile.am: build libevprivate.a (only stock icon code).
1544     
1545         * shell/Makefile.am: link against libevprivate.a.
1546     
1547         * shell/ev-window.c (entries): add stock icon to Help->About.
1548     
1549         * shell/main.c (main): init stock icon code.
1550
1551 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1552
1553         * lib/recent-files: egg recent files code
1554     
1555         * lib/Makefile.am: add.
1556     
1557         * Makefile.am: add lib subdir.
1558     
1559         * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1560         set CFLAGS for recent-files.
1561
1562 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1563
1564         * configure.ac: disable -ansi and -pedantic gcc flags. They
1565         disable POSIX stuff in stdio.h, but egg-recent uses them.
1566
1567 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net> 
1568
1569         * configure.ac: add --disable-deprecated flag (defaults to on in
1570         "cvs" builds).
1571     
1572         * shell/Makefile.am (INCLUDES): use it.
1573
1574 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1575
1576         * shell/main.c: add missing #include.
1577     
1578         * shell/ev-window.c: fix for pedantic gcc.
1579         (ev_window_cmd_help_about): split license into paragraphs for
1580         translators and pedantic compilers.
1581
1582 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1583
1584         * configure.ac: add more warning flags if compiling with gcc from
1585         cvs (or explicitly requested with --enable-more-warnings).
1586
1587 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1588
1589         * data/evince-ui.xml: add File and File->Close menu.
1590     
1591         * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1592         (ev_window_destroy): quit after destroy.
1593         (ev_window_class_init): override GtkObject::destroy.
1594         (entries): install close_window callback.
1595
1596 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1597
1598         * Makefile.am (SUBDIRS): add data subdir.
1599     
1600         * configure.ac (UIDIR): gen data/Makefile, define UIDIR.  Require
1601         gtk+ 2.5.0 for GtkAboutDialog.
1602     
1603         * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1604         main window.
1605     
1606         * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1607     
1608         * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1609         manager.
1610         (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1611
1612 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1613
1614         * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1615
1616 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1617
1618         * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1619
1620 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1621
1622         * shell/*: Added shell directory boilerplate, build it.
1623
1624 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1625
1626         * configure.ac, Makefile.am: Added top-level configure.ac and
1627         Makefile.am