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