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