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