1 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
3 * pdf/xpdf/pdf-document.cc:
5 Keep offset in consideration in a few places
7 * shell/ev-view.c: (expose_bin_window):
9 Set the offsets so that the document is ever centered
11 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
13 * TODO: Added TODO items and finished off the first todo item
15 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
16 reflect current authors
18 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
20 * pdf/xpdf/pdf-document.cc:
21 * shell/ev-view.c: (ev_view_set_cursor),
22 (ev_view_motion_notify_event), (document_changed_callback),
25 Show a wait cursor while the page is rendering
27 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
29 * shell/ev-sidebar-thumbnails.c:
30 (ev_sidebar_tree_selection_changed),
31 (ev_sidebar_thumbnails_select_page):
32 * shell/ev-sidebar-thumbnails.h:
33 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
34 (ev_view_can_go_forward):
35 * shell/ev-window.c: (ev_window_open_page),
36 (ev_window_setup_document), (update_current_page),
37 (view_page_changed_cb), (ev_window_init):
40 Ensure thumbnails selection, toolbar page control and
41 current page are in sync.
43 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
49 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
51 * backend/Makefile.am:
52 * backend/ev-document-links.h:
53 * backend/ev-document-security.c: (ev_document_security_get_type),
54 (ev_document_security_has_document_security),
55 (ev_document_security_set_password):
56 * backend/ev-document-security.h:
57 * backend/ev-document.c: (ev_document_error_quark):
58 * backend/ev-document.h:
60 * data/evince-password.glade:
61 * pdf/xpdf/pdf-document.cc:
63 * shell/ev-password.c: (ev_password_set_bad_password_label),
64 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
65 (ev_password_dialog_get_password),
66 (ev_password_dialog_set_bad_pass):
67 * shell/ev-password.h:
68 * shell/ev-window.c: (ev_window_get_attribute),
69 (ev_window_set_property), (update_action_sensitivity),
70 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
71 (ev_window_setup_document), (ev_window_get_password),
72 (ev_window_open), (ev_window_cmd_save_as),
73 (using_postscript_printer), (ev_window_print),
74 (find_not_supported_dialog), (ev_window_cmd_edit_find),
75 (update_fullscreen_popup), (ev_window_fullscreen),
76 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
77 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
78 (menu_item_select_cb), (find_bar_search_changed_cb),
79 (ev_window_dispose), (ev_window_init):
81 Add initial support for password-supported dialogs. This could be
82 a lot cooler, but it'll do for now.
84 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
86 * pdf/xpdf/pdf-document.cc:
87 * shell/ev-view.c: (status_message_from_link),
88 (ev_view_set_status), (ev_view_set_cursor),
89 (ev_view_motion_notify_event), (ev_view_init):
90 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
92 Fix bugs in the links implementation and change cursor
95 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
97 * viewer/.cvsignore: added cvsignore file for viewer directory
99 * TODO: created TODO document
101 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
104 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
105 new functions to help with implementation of sensitivity code
106 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
107 of all actions that might require it. Fixes a crash when you
108 click on the Zoom actions in a window lacking a document.
110 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
112 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
115 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
117 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
118 (pixbuf_document_document_iface_init):
119 * ps/ps-document.c: (ps_document_get_link),
120 (ps_document_document_iface_init):
121 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
122 (status_message_from_link), (ev_view_set_status),
123 (ev_view_set_find_status), (ev_view_motion_notify_event),
124 (ev_view_button_release_event), (ev_view_set_property),
125 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
126 (ev_view_get_find_status_message), (update_find_results),
127 (ev_view_get_status), (ev_view_get_find_status):
129 * shell/ev-window.c: (view_status_changed_cb),
130 (view_find_status_changed_cb), (ev_window_init):
132 View status message support, use it to show the links.
135 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
137 * backend/ev-document.c: (ev_document_get_link):
138 * backend/ev-document.h:
139 * pdf/xpdf/pdf-document.cc:
140 * shell/ev-application.c: (ev_application_open):
141 * shell/ev-application.h:
142 * shell/ev-sidebar-links.c: (selection_changed_cb):
143 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
144 (ev_view_go_to_link):
146 Add support for document links
148 2005-01-13 Anders Carlsson <andersca@gnome.org>
150 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
152 Set the spin button limits correctly.
154 * shell/ev-sidebar-thumbnails.c:
155 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
156 Support changing pages by clicking on the thumbnails.
158 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
160 * pixbuf/pixbuf-document.c:
161 (pixbuf_document_thumbnails_get_dimensions),
162 (pixbuf_document_document_thumbnails_iface_init):
164 implement get_dimensions
166 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
168 * ps/ps-document.c: (ps_document_goto_page):
170 Fix page switching on multipage documents
172 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
174 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
176 check for NULL before assigning to width and height parameters
178 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
180 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
181 (pixbuf_document_set_property), (pixbuf_document_get_property):
183 implement get/set properties
185 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
187 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
189 return NULL instead of "Unknown", letting the title get set to
190 the filename when the pdf has no title.
192 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
194 * ps/ps-document.c: (ps_document_get_page_count),
195 (ps_document_goto_page):
197 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
199 * shell/ev-history.c: (ev_history_get_property),
200 (ev_history_set_property), (ev_history_class_init),
201 (ev_history_add_page), (ev_history_set_current_index):
202 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
203 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
204 (ev_navigation_action_finalize):
205 * shell/ev-navigation-action.h:
206 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
207 (ev_view_go_forward), (ev_view_get_find_status_message),
208 (history_index_changed_cb), (ev_view_set_history):
210 * shell/ev-window.c: (update_total_pages), (ev_window_open),
211 (update_current_page), (register_custom_actions):
213 Implement history dropdowns
215 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
217 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
218 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
219 (ev_view_go_forward):
220 * shell/ev-window.c: (register_custom_actions):
222 Fix several history bugs
224 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
226 * configure.ac: Add «nb» to ALL_LINGUAS.
228 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
230 * backend/Makefile.am:
231 * backend/ev-bookmark.c:
232 * backend/ev-bookmark.h:
233 * backend/ev-document-bookmarks.c:
234 * backend/ev-document-bookmarks.h:
235 * backend/ev-document-links.c: (ev_document_links_get_type),
236 (ev_document_links_has_document_links),
237 (ev_document_links_begin_read), (ev_document_links_get_link),
238 (ev_document_links_get_child), (ev_document_links_next),
239 (ev_document_links_free_iter):
240 * backend/ev-document-links.h:
241 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
242 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
243 (ev_link_get_link_type), (ev_link_set_link_type),
244 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
245 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
246 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
247 (ev_link_new_external):
249 * pdf/xpdf/pdf-document.cc:
251 * shell/ev-application.c: (ev_application_open_link):
252 * shell/ev-application.h:
253 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
254 (ev_history_get_link_nth):
255 * shell/ev-history.h:
256 * shell/ev-sidebar-bookmarks.c:
257 * shell/ev-sidebar-bookmarks.h:
258 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
259 (ev_sidebar_links_class_init), (selection_changed_cb),
260 (ev_sidebar_links_construct), (ev_sidebar_links_init),
261 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
262 (do_one_iteration), (populate_links_idle),
263 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
264 * shell/ev-sidebar-links.h:
265 * shell/ev-sidebar.c: (ev_sidebar_set_document):
266 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
269 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
272 Rename bookmark to link, and use "Index" for the sidebar panel.
274 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
277 * shell/ev-application.c: (ev_application_open_bookmark):
278 * shell/ev-application.h:
279 * shell/ev-history.c: (ev_history_init), (free_links_list),
280 (ev_history_finalize), (ev_history_class_init),
281 (ev_history_add_link), (ev_history_add_page),
282 (ev_history_get_link_nth), (ev_history_get_n_links),
283 (ev_history_get_current_index), (ev_history_set_current_index),
285 * shell/ev-history.h:
286 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
287 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
288 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
289 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
292 * shell/ev-window.c: (ev_window_open_bookmark),
293 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
294 (goto_page_cb), (register_custom_actions):
297 Initial history implementation. Needs work.
299 2005-01-09 Martin Kretzschmar <martink@gnome.org>
301 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
303 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
305 * cut-n-paste/recent-files/egg-recent-item.c:
306 * cut-n-paste/recent-files/egg-recent-item.h:
307 * cut-n-paste/recent-files/egg-recent-model.c:
308 * cut-n-paste/recent-files/egg-recent-util.c:
309 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
310 * cut-n-paste/recent-files/egg-recent-view.c:
314 2005-01-08 Martin Kretzschmar <martink@gnome.org>
316 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
317 (fillGlyph, fillImageMask, drawImage):
318 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
319 pdf/splash/SplashTypes.h:
320 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
321 packed mode for Splash.
323 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
324 RGB8 packed mode, eliminates the pixbuf data creation loop.
326 * shell/ev-print-job.c (ev_print_job_finalize)
327 (ev_print_job_set_property, ev_print_job_get_property)
328 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
329 (ev_print_job_use_print_dialog_settings, idle_print_handler)
330 (print_closure_finalize, ev_print_job_print): implement
331 printing (for backends with EvPsExporter)
333 * shell/ev_print_job.h: update prototypes.
335 * shell/ev-window.c (ev_window_print): unref print job after
338 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
339 unless the document implements the EvDocumentFind interface.
341 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
343 * configure.ac: Added ja to ALL_LINGUAS.
345 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
347 * pdf/xpdf/pdf-document.cc:
349 add a FIXME. We should probably not allocate
350 a bookmark object every time
352 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
354 * shell/ev-application.c: (ev_application_open),
355 (ev_application_open_bookmark):
356 * shell/ev-application.h:
358 Add a way to open bookmarks
360 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
361 (ev_bookmark_set_uri), (ev_bookmark_get_property),
362 (ev_bookmark_set_property), (ev_bookmark_class_init),
363 (ev_bookmark_new_title), (ev_bookmark_new_link),
364 (ev_bookmark_new_external):
366 Support for external uris, better constructors.
368 * backend/ev-bookmark.h:
369 * pdf/xpdf/pdf-document.cc:
370 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
374 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
376 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
377 (ev_sidebar_bookmarks_construct), (do_one_iteration):
379 Hook up bookmarks navigation
381 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
383 * backend/Makefile.am:
384 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
385 (ev_bookmark_get_title), (ev_bookmark_set_title),
386 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
387 (ev_bookmark_get_page), (ev_bookmark_set_page),
388 (ev_bookmark_get_property), (ev_bookmark_set_property),
389 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
391 * backend/ev-bookmark.h:
392 * backend/ev-document-bookmarks.c:
393 (ev_document_bookmarks_get_bookmark):
394 * backend/ev-document-bookmarks.h:
395 * pdf/xpdf/pdf-document.cc:
396 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
398 Add a bookmark object to the backend and use it instead of get_values
400 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
402 * data/evince-ui.xml:
404 Cleanup and add select all.
406 * shell/ev-view.c: (ev_view_select_all),
407 (ev_view_button_press_event):
409 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
412 Clear selection on click.
414 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
416 * shell/ev-sidebar-thumbnails.c
417 (ev_sidebar_thumbnails_set_document): forgot to unref the
420 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
422 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
423 at the visible page, not just linearly. This makes it look fast.
425 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
427 * backend/ev-document-misc.c
428 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
430 * backend/ev-document-thumbnails.h: New interface to get the size
433 2005-01-06 Jeremy Katz <katzj@redhat.com>
435 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
438 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
440 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
441 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
444 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
446 2005-01-05 Martin Kretzschmar <martink@gnome.org>
448 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
449 fonts. Should fix font problems on systems that have the base
450 fonts in bitmap format. Reported by James Henstridge
451 <james@jamesh.id.au>.
453 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
456 * pdf/xpdf/GfxState.cc:
458 Fix for CAN-2004-1125
460 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
462 * shell/ev-view.c: (ev_view_copy):
464 * shell/ev-window.c: (ev_window_cmd_edit_copy):
468 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
470 * backend/ev-document.c: (ev_document_get_text):
471 * backend/ev-document.h:
472 * pdf/xpdf/pdf-document.cc:
473 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
474 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
475 (ev_view_update_primary_selection), (ev_view_button_press_event),
476 (ev_view_motion_notify_event), (ev_view_button_release_event):
478 Beginnings of clipboard support. Incomplete but primary sort
481 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
483 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
486 Nicer rubberband drawing, from GtkIconView.
488 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
490 * backend/ev-document.c: (ev_document_save):
491 * backend/ev-document.h:
492 * data/evince-ui.xml:
493 * pdf/xpdf/pdf-document.cc:
494 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
496 Implement "Save a copy..." menu item
498 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
500 * shell/ev-view.c: (ev_view_zoom):
502 Queue a resize when zoom changes
504 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
506 * backend/ev-document-misc.[ch]: New misc file to do simple drop
509 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
512 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
514 * pdf/xpdf/pdf-document.cc
515 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
517 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
519 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
520 It's slow, but I'll speed it up next!
522 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
524 * shell/main.c (load_files):
526 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
527 from the command line and because it seems more appropriate.
529 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
531 * data/evince-ui.xml:
532 * shell/ev-window.c: (update_action_sensitivity),
533 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
535 s/next page/page down
536 s/previous page/page up
538 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
540 * data/evince-ui.xml:
542 Change the layout to match clarkbw design.
545 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
546 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
547 (ev_navigation_action_finalize),
548 (ev_navigation_action_set_property),
549 (ev_navigation_action_get_property),
550 (ev_navigation_action_class_init):
551 * shell/ev-navigation-action.h:
553 Implement clarkbw toolbar navigation controls (incomplete)
555 * shell/ev-page-action.c: (update_label), (update_spin),
556 (value_changed_cb), (create_tool_item), (connect_proxy),
557 (ev_page_action_init), (ev_page_action_finalize),
558 (ev_page_action_set_property), (ev_page_action_get_property),
559 (ev_page_action_set_current_page),
560 (ev_page_action_set_total_pages), (ev_page_action_class_init):
561 * shell/ev-page-action.h:
563 Implement a page switcher in the toolbar
565 * shell/ev-view.c: (ev_view_scroll_view):
566 * shell/ev-window.c: (update_total_pages), (ev_window_open),
567 (update_current_page), (view_page_changed_cb), (goto_page_cb),
568 (register_custom_actions), (ev_window_init):
570 Change page on PageUp/Down.
572 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
574 * pdf/xpdf/pdf-document.cc
575 (pdf_document_thumbnails_get_thumbnail): initial stab at
576 implementing thumbnail support for pdfs. It only does documents
577 with precached pdfs now.
579 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
581 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
582 thumbnail code into a time-based idle as well. Also, turn off the
583 shadow temporarily as it's really slow.
585 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
587 * backend/ev-document.c: (ev_document_class_init):
588 * pdf/xpdf/pdf-document.cc:
589 * shell/ev-window.c: (ev_window_open):
591 Fix document title bugs and fallback to
592 filename when not available.
594 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
596 * backend/ev-document.c: (ev_document_get_type),
597 (ev_document_class_init), (ev_document_load),
598 (ev_document_get_title):
599 * backend/ev-document.h:
600 * pdf/xpdf/pdf-document.cc:
601 * ps/ps-document.c: (ps_document_set_property),
602 (ps_document_get_property), (ps_document_class_init),
606 * shell/ev-window.c: (update_window_title), (ev_window_open),
609 Initial support for document title. Not working yet.
611 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
613 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
615 Grab focus on the view when clicking it
617 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
619 * shell/ev-marshal.list:
620 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
621 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
623 Add key bindings to the view. Now if the focus would work
626 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
629 * backend/Makefile.am:
632 * dvi/dvilib/Makefile.am:
633 * pdf/xpdf/Makefile.am:
639 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
641 * shell/ev-view.c: (ev_view_realize):
643 Fix mouse wheel scrolling
645 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
651 * ps/ps-document.c: (catchPipe), (ps_document_init),
652 (ps_document_class_init), (ps_document_cleanup),
653 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
654 (set_up_page), (close_pipe), (is_interpreter_ready),
655 (interpreter_failed), (output), (input), (start_interpreter),
656 (stop_interpreter), (file_length), (file_readable),
657 (check_filecompressed), (check_pdf), (compute_xdpi),
658 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
659 (ps_document_get_type), (ps_document_emit_error_msg),
660 (document_load), (ps_document_next_page),
661 (ps_document_get_current_page), (ps_document_get_page_count),
662 (ps_document_goto_page), (ps_document_set_page_size),
663 (ps_document_zoom_to_fit), (ps_document_set_zoom),
664 (ps_document_load), (ps_document_get_n_pages),
665 (ps_document_set_page), (ps_document_get_page),
666 (ps_document_widget_event), (ps_document_set_target),
667 (ps_document_set_scale), (ps_document_set_page_offset),
668 (ps_document_get_page_size), (ps_document_render),
669 (ps_document_document_iface_init):
672 * shell/ev-window.c: (ev_window_open):
674 Rename GtkGS to PSDocument
676 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
678 * ps/gtkgs.c: (gtk_gs_class_init):
681 Some more leftover...
683 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
685 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
686 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
687 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
690 Remove unused code and make a lot of stuff private
692 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
694 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
695 (gtk_gs_defaults_changed):
701 Cleanup headers dependencies
703 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
708 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
710 * ps/gtkgs.c: (file_length), (file_readable),
711 (check_filecompressed), (check_pdf), (gtk_gs_load),
712 (gtk_gs_get_postscript):
716 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
721 * ps/gtkgs.c: (gtk_gs_set_zoom):
725 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
727 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
729 Ensure the page is rerendered when changing zoom
731 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
733 * backend/ev-document.c: (ev_document_base_init),
734 (ev_document_changed):
735 * backend/ev-document.h:
737 Add a changed event that is emitted when the page content
738 changes. This is necessary to deal with the fact that
739 in ps backend rendering happen asycrounously.
740 This makes the ps backend mostly work.
742 * pdf/xpdf/pdf-document.cc:
746 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
747 (ps_document_set_target):
751 * shell/ev-view.c: (document_changed_callback),
752 (ev_view_set_document), (ev_view_set_page):
754 Redraw on the changed signal
756 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
758 * configure.ac: Added pt_BR to ALL_LINGUAS.
760 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
762 * backend/ev-document-bookmarks.c:
763 (ev_document_bookmarks_get_child): *
764 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
765 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
766 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
767 (ev_sidebar_bookmarks_destroy),
768 (ev_sidebar_bookmarks_class_init),
769 (ev_sidebar_bookmarks_construct), (stack_data_free),
770 (do_one_iteration), (populate_bookmarks_idle),
771 (ev_sidebar_bookmarks_clear_document),
772 (ev_sidebar_bookmarks_set_document): *
773 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
774 (ev_sidebar_add_page),
775 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
776 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
777 it displays both the topics and the page numbers.
779 2004-12-23 Kristian Høgsberg <krh@redhat.com>
781 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
783 * shell/ev-window.c (toggle_entries): Set sidebar default value to
786 2004-12-23 Adam Weinberger <adamw@gnome.org>
788 * configure.ac: Added en_CA to ALL_LINGUAS.
790 2004-12-23 Martin Kretzschmar <martink@gnome.org>
792 * ChangeLog: replace bottom of this ChangeLog (merged history of
793 ggv and gpdf; where all paths were wrong and most of the files are
794 not even in this tree) with ChangeLog (from arch) of the shell
797 2004-12-23 Havoc Pennington <hp@redhat.com>
799 * shell/ev-window.c: hook up potentially-questionable "find
800 results status text" feature - something involving the sidebar or
801 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
802 might be better in the end.
804 * shell/ev-view.c (ev_view_get_find_status_message): new function,
805 with corresponding signal when it should be updated
807 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
809 2004-12-22 Havoc Pennington <hp@redhat.com>
811 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
812 find stuff on other pages, sort of (only returns one result on
813 invisible pages, to show they have results; updates full results
814 for a page when you view it). Currently repaints the current page
815 every time a new result is found on any page, which isn't so nice.
817 2004-12-22 Havoc Pennington <hp@redhat.com>
819 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
820 the document doesn't support find (better ideas?)
821 (find_bar_search_changed_cb): handle missing document or document
822 that doesn't support find
824 * pdf/xpdf/pdf-document.cc: port to implement the new
827 * backend/ev-document-find.c: create a new interface for searching
829 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
831 2004-12-23 Martin Kretzschmar <martink@gnome.org>
833 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
836 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
837 EvPrintJob constructor arguments.
839 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
840 for documents that can export PostScript (page by page).
842 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
844 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
845 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
846 (pdf_document_ps_exporter_iface_init:
847 Implement EvPSExporter.
849 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
851 2004-12-22 Anders Carlsson <andersca@gnome.org>
853 * backend/Makefile.am:
854 * backend/ev-document-thumbnails.c:
855 (ev_document_thumbnails_get_type),
856 (ev_document_thumbnails_get_thumbnail):
857 * backend/ev-document-thumbnails.h:
858 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
859 (pixbuf_document_thumbnails_get_thumbnail),
860 (pixbuf_document_document_thumbnails_iface_init):
862 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
863 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
864 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
865 * shell/ev-sidebar-thumbnails.h:
866 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
867 (ev_sidebar_set_document):
868 * shell/ev-utils.c: (gaussian), (create_blur_filter),
869 (create_shadow), (ev_pixbuf_add_shadow):
871 Add thumbnail support.
873 2004-12-22 Martin Kretzschmar <martink@gnome.org>
875 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
876 (using_postscript_printer): Set up a print dialog for "PostScript
879 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
882 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
884 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
886 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
887 (ps_document_set_target), (ps_document_get_page_size),
888 (ps_document_render):
893 2004-12-22 Christian Rose <menthos@menthos.com>
895 * configure.ac: Added "sv" to ALL_LINGUAS.
897 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
899 * backend/ev-document-bookmarks.[ch]: new interface to indicate
900 document supports bookmarks.
902 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
904 * ps/ggvutils.c: (ggv_file_readable):
906 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
907 (gtk_gs_get_postscript):
911 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
913 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
914 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
915 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
916 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
917 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
918 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
919 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
920 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
921 (gtk_gs_set_antialiasing), (ps_document_load),
922 (ps_document_render):
925 Another check point for the ps backend. Now I can get it to show
928 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
930 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
931 document setting code.
933 2004-12-22 Anders Carlsson <andersca@gnome.org>
935 * shell/eggfindbar.c: (entry_activate_callback):
936 Animate the next button when activate is pressed.
938 2004-12-22 Anders Carlsson <andersca@gnome.org>
940 * shell/ev-window.c: (ev_window_cmd_edit_find),
941 (update_fullscreen_popup), (ev_window_fullscreen),
942 (ev_window_unfullscreen), (ev_window_state_event_cb),
943 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
944 Fix bugs in fullscreen code.
946 2004-12-22 Anders Carlsson <andersca@gnome.org>
950 * pixbuf/Makefile.am:
951 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
952 (pixbuf_document_load), (pixbuf_document_get_n_pages),
953 (pixbuf_document_set_page), (pixbuf_document_get_page),
954 (pixbuf_document_set_target), (pixbuf_document_set_scale),
955 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
956 (pixbuf_document_render), (pixbuf_document_begin_find),
957 (pixbuf_document_end_find), (pixbuf_document_finalize),
958 (pixbuf_document_class_init),
959 (pixbuf_document_document_iface_init), (pixbuf_document_init):
960 * pixbuf/pixbuf-document.h:
962 * shell/ev-application.c: (ev_application_open):
963 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
967 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
970 * dvi/dvilib/Makefile.am:
972 * configure.ac: Auto*ify dvi and dvi/dvilib
974 * dvi/Makefile: Remove from CVS
976 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
979 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
981 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
983 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
986 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
987 (gtk_gs_value_adjustment_changed), (compute_size),
988 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
989 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
990 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
991 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
992 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
993 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
994 (ps_document_load), (ps_document_get_n_pages),
995 (ps_document_set_page), (ps_document_get_page),
996 (ps_document_set_target), (ps_document_set_scale),
997 (ps_document_set_page_offset), (ps_document_get_page_size),
998 (ps_document_render), (ps_document_begin_find),
999 (ps_document_end_find), (ps_document_document_iface_init):
1001 * shell/Makefile.am:
1002 * shell/ev-window.c: (ev_window_open):
1004 Some work to integrate gtkgs with EvDocument
1006 2004-12-22 Anders Carlsson <andersca@gnome.org>
1008 * shell/ev-window.c: (update_fullscreen_popup),
1009 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
1010 (exit_fullscreen_button_clicked_cb),
1011 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
1012 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
1013 (ev_window_state_event_cb), (ev_window_init):
1014 Add fullscreen support from Epiphany.
1016 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1018 * data/ev-stock-zoom-fit-width.png: fit-width
1019 stock icon from gpdf.
1021 * shell/ev-stock-icons.[ch]: copied from gpdf.
1023 * shell/main.c: (main): init stock icons.
1025 * shell/ev-window.c: use the fit-width icon.
1027 * data/evince-ui.xml: add zooming toolbar items.
1029 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1032 (ev_view_best_fit), (ev_view_fit_width): because
1033 get_page_size() returns the scaled page size, we
1034 need to calculate the scale factor relative to
1035 the previous scale factor. Should really just
1036 add get_real_page_size().
1038 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1040 * shell/ev-view.[ch]:
1041 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
1042 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
1045 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1046 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
1047 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
1050 * pdf/xpdf/pdf-document.cc:
1051 (pdf_document_begin_find),
1052 (pdf_document_end_find): make static.
1054 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1056 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
1058 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
1059 names to fontconfig patterns.
1060 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
1062 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
1065 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
1081 Import ggv backend. Not hooked up yet.
1083 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1085 * shell/main.c: (load_files), (main): load files
1086 from the command line.
1088 2004-12-22 Mark McLoughlin <mark@skynet.ie>
1090 * configure.ac: don't require bonobo.
1092 * cut-n-paste/recent-files/*: kill bonobo recent
1095 * shell/ev-window.c:
1096 (ev_window_is_empty): upd.
1097 (unable_to_load), (ev_window_open): load backend
1098 based on the mime type.
1100 2004-12-22 Martin Kretzschmar <martink@gnome.org>
1102 * backend/.cvsignore: ignore generated marshalers source.
1104 * shell/main.c (main): this is not epiphany.
1106 2004-12-22 Havoc Pennington <hp@redhat.com>
1108 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
1109 (expose_bin_window): draw find highlights
1111 * shell/ev-window.c (find_bar_search_changed_cb): implement
1113 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
1114 (pdf_document_end_find): implement this interface
1116 * backend/ev-document.c (ev_document_found): add this to emit
1119 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
1121 * data/evince-ui.xml: Add a few more toolbar items.
1123 * shell/ev-window.c: Hook up page navigation toolbar
1126 * shell/ev-view.[ch]: add ev_view_set/get_page and
1127 a page-changed signal.
1129 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
1130 Add ev_document_get_page().
1132 * shell/ev-window.c: Sensitize/desensitize navigation
1135 2004-12-21 Havoc Pennington <hp@redhat.com>
1137 * backend/ev-backend-marshal.c,
1138 backend/ev-backend-marshalers.list, backend/Makefile.am: add
1139 marshaler-generator thingy. I'm sure there's a better way to do
1140 this in the modern world.
1142 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
1143 end_find methods and "found" signal.
1145 * configure.ac: find glib-genmarshal
1147 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
1149 * shell/ev-sidebar.c: Construct an actual sidebar.
1150 * shell/ev-sidebar-bookmarks.[ch]:
1151 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
1153 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
1155 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
1158 * shell/ev-view.c: Track the size from the document.
1160 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
1162 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
1163 constructor assumes ownership of the string passed in.
1165 * shell/ev-window.c (ev_window_open): Destroy the error
1166 dialog once we've displayed it.
1168 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
1170 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
1171 a bit, it works! (sort of)
1173 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
1174 Move to .cc since we need to use C++ in the implementation.
1176 * shell/dummy.cc: Add a CC file to force evince
1177 to be linked as a C++ program.
1179 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
1181 * shell/ev-view.[ch]: Start of content-area widget.
1183 * shell/ev-window.c: Create a EvView, update it
1184 as we change documents.
1186 * shell/Makefile.am shell/ev-marshal.list: Add
1187 generated marshalers.
1189 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
1191 * Makefile.am (SUBDIRS): move shell.
1193 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
1195 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
1196 .a to libtool convenience libraries.
1198 * shell/ev-window.c (ev_window_open): Hard code loading
1201 * backend/ev-document.h: Add a boolean return to load(),
1202 fix GError * to GError **.
1204 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
1205 object for a PDF backend EvDocument.
1207 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
1209 * dvi/*: New directory with the beginning of a .dvi backend.
1211 2004-12-21 Havoc Pennington <hp@redhat.com>
1213 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
1214 previous/next instead of back/forward
1216 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
1218 * backend/ev-document.[ch]: Fix a couple of problems so
1221 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
1223 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
1224 to backend/ directory, rename EvViewer to EvDocument.
1226 2004-12-21 Havoc Pennington <hp@redhat.com>
1228 * shell/ev-window.c: hook up the find bar widget; now we just need
1229 a document to find things in
1231 * shell/eggfindbar.c: a find bar widget
1233 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
1235 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
1237 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
1239 * pdf/**: Import of xpdf code from gpdf.
1241 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
1243 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
1244 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
1245 Fix FreeType includes.
1247 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
1248 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
1249 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
1250 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
1251 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
1252 Include xpdfconfig.h
1254 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
1256 * shell/ev-window.c (ev_window_dispose): dispose can be called
1259 2004-12-21 Havoc Pennington <hp@redhat.com>
1261 * shell/ev-window.c (ev_window_init): set title to Document Viewer
1264 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
1265 items; really they should be synced with the strings, etc. from
1266 current gpdf, but just getting the boring typing out of the way
1268 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1271 * shell/ev-application.c: (window_destroy_cb):
1272 * shell/ev-window.c:
1273 * shell/main.c: (main):
1275 Actually show the window...
1277 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1280 * shell/Makefile.am:
1281 * shell/ev-application.c: (ev_application_class_init):
1282 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
1286 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
1288 Import to gnome cvs.
1290 * Remove copies of gpdf and ggv trees.
1291 * Rip out all the recursive configure code.
1292 * Remove bonobo machinery.
1293 * viewer/*: GInterfaces that backends should/can implement.
1295 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
1297 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
1300 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
1302 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
1303 (ev_application_finalize, ev_application_class_init)
1304 (ev_application_init): use GType instance private data for priv.
1306 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
1307 (ev_window_finalize, ev_window_class_init)
1308 (ev_window_init): ditto.
1310 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1312 * shell/ev-application.c (ev_application_new_window): make public
1313 (ev_application_show_initial_window): kill.
1315 * shell/ev-application.h: update prototypes.
1317 * shell/main.cc (main): inline ev_application_show_initial_window.
1319 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
1321 * shell/ev-application.c (ev_application_new_window): impl.
1322 (ev_application_show_initial_window): use it.
1323 (is_window_empty, ev_application_get_empty_window): returns an
1324 existing empty window or a new one.
1325 (ev_application_open): from ev_window_cmd_file_open.
1327 * shell/ev-application.h: update prototypes
1329 * shell/ev-window.c (ev_window_is_empty): impl.
1330 (ev_window_open): make public.
1331 (ev_window_cmd_file_open): use ev_application_open
1333 * shell/ev-window.h: update prototypes, remove unused.
1335 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1337 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
1338 move destroy handler out of here...
1340 * shell/ev-application.c, shell/ev-application.h: ...into this new
1341 class. Also handles initial window creation.
1343 * shell/main.cc (main): use EvApplication to create initial
1346 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1348 * Makefile.am (SUBDIRS): add cut-n-paste
1350 * cut-n-paste/Makefile.am: add
1352 * configure.ac: generate Makefiles in cut-n-paste
1354 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
1356 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
1357 (ev_window_class_init): install ev_window_dispose.
1359 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1361 * shell/ev-window.h, shell/ev-window.c: replace gchar with
1362 char (gchar looks stupid).
1364 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1366 * po/de.po: updated German translation.
1368 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
1370 * configure.ac: add more pkg-config library checks for gnome-vfs,
1373 * gpdf/configure.in: temporarily disable libpaper
1374 checks. Otherwise I'd have to add the checks for the shell, too.
1376 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1378 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1379 and * file filters to the file choose.
1381 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1383 * po/de.po: Updated German translation.
1385 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1387 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1389 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1391 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1393 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1394 (ev_window_init): implement those menuitems.
1396 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1398 * data/evince-ui.xml: add a toolbar (with FileOpen action)
1400 * shell/ev-window.c (ev_window_init): use the toolbar.
1402 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1404 * shell/ev-window.c (ev_window_init): use menu translations
1406 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1408 * configure.ac: add "de" to ALL_LINGUAS.
1410 * po/de.po: add German translation.
1412 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1414 * Makefile.am (SUBDIRS): add po
1416 * configure.ac: check intltool, glib-gettext etc, generate
1419 * po, po/POTFILES.in, po/POTFILES.skip: new.
1421 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
1423 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1424 already use (#ifdef ENABLE_NLS)
1426 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1427 pointer indirection thinko.
1429 * shell/main.c: include gi18n.h for bindtextdomain etc.
1431 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1433 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1434 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1435 tooltips for menu items in the statusbar.
1437 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1439 * configure.ac, data/Makefile.am, shell/Makefile.am: use
1440 pkgdatadir drop UIDIR
1442 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1444 * data/evince-ui.xml: Add File->Open menu item
1446 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1447 chooser), hook it up in the ui manager.
1449 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1451 * shell/ev-window.c: fix Help->About tooltip.
1453 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1455 * configure.ac: set CFLAGS for libevprivate.
1457 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1458 definitions, factory etc.
1460 * lib/Makefile.am: build libevprivate.a (only stock icon code).
1462 * shell/Makefile.am: link against libevprivate.a.
1464 * shell/ev-window.c (entries): add stock icon to Help->About.
1466 * shell/main.c (main): init stock icon code.
1468 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1470 * lib/recent-files: egg recent files code
1472 * lib/Makefile.am: add.
1474 * Makefile.am: add lib subdir.
1476 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1477 set CFLAGS for recent-files.
1479 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1481 * configure.ac: disable -ansi and -pedantic gcc flags. They
1482 disable POSIX stuff in stdio.h, but egg-recent uses them.
1484 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1486 * configure.ac: add --disable-deprecated flag (defaults to on in
1489 * shell/Makefile.am (INCLUDES): use it.
1491 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1493 * shell/main.c: add missing #include.
1495 * shell/ev-window.c: fix for pedantic gcc.
1496 (ev_window_cmd_help_about): split license into paragraphs for
1497 translators and pedantic compilers.
1499 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1501 * configure.ac: add more warning flags if compiling with gcc from
1502 cvs (or explicitly requested with --enable-more-warnings).
1504 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1506 * data/evince-ui.xml: add File and File->Close menu.
1508 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1509 (ev_window_destroy): quit after destroy.
1510 (ev_window_class_init): override GtkObject::destroy.
1511 (entries): install close_window callback.
1513 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1515 * Makefile.am (SUBDIRS): add data subdir.
1517 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
1518 gtk+ 2.5.0 for GtkAboutDialog.
1520 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1523 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1525 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1527 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1529 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
1531 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1533 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1535 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1537 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1539 * shell/*: Added shell directory boilerplate, build it.
1541 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
1543 * configure.ac, Makefile.am: Added top-level configure.ac and