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