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