1 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3 * ps/ps-document.c: (ps_document_get_info):
7 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
9 * backend/ev-page-cache.c: (ev_page_cache_init),
10 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
11 * backend/ev-page-cache.h:
12 * shell/ev-page-action.c: (page_changed_cb):
14 Set page action entry width depending on labels width. Fix
17 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
19 * backend/ev-link.c: (ev_link_class_init):
21 Allow -1 as page value (error)
23 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
25 * shell/ev-sidebar-thumbnails.c:
26 (ev_sidebar_thumbnails_set_document):
27 * shell/ev-view.c: (scroll_to_current_page),
28 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
29 (page_changed_cb), (on_adjustment_value_changed),
30 (ev_view_set_document):
32 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
35 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
38 * djvu/djvu-document.c: (djvu_document_get_page_size):
40 Require djvulibre CVS. Now djvu loading is much faster. Fix for
43 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
45 * shell/ev-view.c (draw_one_page): modify the expose handling to
48 * shell/ev-window.c (update_action_sensitivity): Respect
49 permissions field. Kowtow to the man.
51 * pdf/ev-poppler.cc: Get the permissions field.
53 * tiff/*c: Make a tiny bit more robust.
55 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
57 * djvu/djvu-document.c:
59 Pop messages from djvu context message queue.
61 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
63 * configure.ac, Makefile.am, shell/Makefile.am:
64 * tiff/Makefile.am, shell/ev-document-types.c:
66 Cleanup tiff configure checks. Fix for bug 305218.
68 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
70 * configure.ac: Added "uk" to ALL_LINGUAS.
72 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
74 * cut-n-paste/zoom-control/ephy-zoom.c:
75 (ephy_zoom_get_changed_zoom_level):
76 * cut-n-paste/zoom-control/ephy-zoom.h:
77 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
78 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
79 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
80 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
81 (zoom_control_changed_cb), (ev_window_init):
83 Fix minor points related to moving best fit up. Introduce
84 "zoom" property and make zoom control change it's value on
85 notify::zoom signals. Fix for 305080.
87 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
90 * shell/ev-window.c: (set_view_actions_sensitivity):
92 Use + and - as accels for zoom in and zoom out. Fix for 305001.
94 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
98 Depends on poppler 0.3.2
100 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
102 * cut-n-paste/recent-files/egg-recent-item.c:
103 (egg_recent_item_get_short_name):
104 * cut-n-paste/toolbar-editor/Makefile.am:
105 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
106 (new_pixbuf_from_widget):
107 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
108 * cut-n-paste/toolbar-editor/egg-marshal.c:
109 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
110 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
114 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
116 * tiff/tiff-document.c: Rough TIFF backend.
118 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
122 * cut-n-paste/toolbar-editor/Makefile.am:
126 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
128 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
129 (ev_view_find_next), (ev_view_find_previous):
131 Remove the locks around get_n_results
133 2005-05-21 Juerg Billeter <j@bitron.ch>
135 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
137 Pass correct number of pages to poppler.
139 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
143 * data/evince.desktop.in:
144 * data/evince.desktop.in.in:
147 Add conditionally dvi and djvu to desktop types. Fix for 304658.
149 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
151 * shell/ev-view.c: (view_update_adjustments),
152 (view_set_adjustment_values): cast adjustmen->value to (int)
153 before using it. Otherwise, we get off by a pixel in some
156 (draw_one_page): Draw the border on expose.
158 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
160 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
161 adjustment when the mode changes, #304923
163 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
165 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
166 flickering on resize but still use gdk_window_scroll on
169 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
171 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
174 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
176 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
177 second page on page_changed if possible, #304669
179 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
181 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
182 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
184 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
187 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
188 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
189 (ev_view_zoom_for_size_presentation),
190 (ev_view_zoom_for_size_continuous_and_dual_page),
191 (ev_view_zoom_for_size_continuous),
192 (ev_view_zoom_for_size_dual_page),
193 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
195 * shell/ev-window.c: (update_view_size),
196 (ev_window_sizing_mode_changed_cb):
198 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
199 the scrollbars. It's not 100% right, but it's much closer. Kills
200 an infinite loop, #304769
203 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
205 * data/evince-ui.xml:
206 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
207 * shell/ev-window.c: (set_view_actions_sensitivity):
209 Make PgUp/Down behave like Space
211 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
213 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
214 * backend/ev-ps-exporter.h:
216 * ps/ps-document.c: (ps_document_ps_export_begin):
217 * shell/ev-print-job.c: (idle_print_handler):
219 Adapt to new poppler api
221 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
223 * cut-n-paste/zoom-control/ephy-zoom-control.c:
224 (ephy_zoom_control_init):
226 Translate zoom levels
228 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
230 * cut-n-paste/zoom-control/ephy-zoom.c:
231 (ephy_zoom_get_zoom_level_index):
233 Fix current zoom -> zoom control match
235 2005-05-18 James Bowes <bowes@cs.dal.ca>
237 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
238 rather than the scrolled_window that it's in. Fixes bug #304655.
240 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
242 * shell/ev-view.c: (view_update_adjustments),
243 (view_set_adjustment_values), (view_update_range_and_current_page),
244 (view_scroll_to_page), (set_scroll_adjustment),
245 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
246 (ev_view_scroll), (ev_view_scroll_view),
247 (ensure_rectangle_is_visible), (find_page_at_location),
248 (get_link_at_location), (go_to_link), (status_message_from_link),
249 (ev_view_size_request_continuous_dual_page),
250 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
251 (ev_view_unrealize), (ev_view_expose_event),
252 (ev_view_button_press_event), (ev_view_motion_notify_event),
253 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
254 (draw_rubberband), (highlight_find_results), (draw_one_page),
255 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
256 (ev_view_init), (find_changed_cb), (page_changed_cb),
257 (on_adjustment_value_changed), (ev_view_new),
258 (ev_view_set_document), (ev_view_set_zoom),
259 (ev_view_set_continuous), (ev_view_set_dual_page),
260 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
261 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
262 (ev_view_zoom_for_size_presentation),
263 (ev_view_zoom_for_size_continuous_dual_page),
264 (ev_view_zoom_for_size_continuous),
265 (ev_view_zoom_for_size_dual_page),
266 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
267 (ev_view_get_status), (ev_view_set_status),
268 (update_find_status_message), (ev_view_get_find_status),
269 (ev_view_set_find_status), (jump_to_find_result),
270 (jump_to_find_page), (compute_selections), (clear_selection),
271 (ev_view_select_all), (get_selected_text), (ev_view_copy),
272 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
273 (ev_view_update_primary_selection),
274 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
276 * shell/ev-window.c: (ev_window_open_page_label),
277 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
280 * shell/main.c: (load_files):
282 Massive code clean up from Nickolay Shmyrev. Keep page offset
283 when resizing. Remove the bin_window(). Also, patch from James
284 Bowes to fix command line page, #300641
286 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
288 * data/evince-ui.xml:
291 * shell/ev-window.c: (update_action_sensitivity):
293 Get rid of View->Normal Size, it's just confusing
295 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
297 * backend/ev-document-info.h:
298 * backend/ev-document.c: (ev_document_info_free): Free the
301 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
302 (clear_range), (add_range), (update_visible_range),
303 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
304 (ev_sidebar_thumbnails_set_document):
305 * shell/ev-window.c: (ev_window_setup_document): Only render the
306 visible thumbnails. It takes an instant to render, but it uses
309 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
311 * shell/ev-sidebar-links.c: (popup_menu_cb):
315 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
318 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
319 (button_press_cb), (ev_sidebar_links_construct):
321 Show the popup menu also on keybindings
323 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
325 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
328 Expose api to print a range (with dialog). Make private _print use
331 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
332 (ev_sidebar_links_construct):
334 Show a print context menu on linkx, it prints the selected
337 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
339 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
342 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
348 * shell/ev-window.c: (build_comments_string),
349 (ev_window_cmd_help_about):
351 Show poppler version/backend and authors
353 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
355 * cut-n-paste/zoom-control/ephy-zoom.c:
356 (ephy_zoom_get_zoom_level_index):
357 * cut-n-paste/zoom-control/ephy-zoom.h:
359 Move the best fit items at the top of the list
361 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
363 * shell/ev-marshal.list:
364 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
365 (activate_cb), (match_selected_cb), (activate_link_cb),
366 (connect_proxy), (ev_page_action_class_init):
367 * shell/ev-page-action.h:
369 Use signals to notify action activation. Hopefully
370 I did not break completion since I cant test...
372 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
373 (register_custom_actions):
375 Connect to page selector actions and also grab focus on
376 the view when activated.
378 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
381 * backend/ev-page-cache.c: make page size calculation consistent
382 and set it to (int)( width * scale + 0.5). This makes the weird
383 line going through the middle of the page go away.
385 * shell/ev-view.c: move painting the background page after
386 checking the expose area covers us.
388 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
390 * data/evince-password.glade:
392 Mark labels as not translatable. Fix for bug 302842.
394 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
396 * configure.ac: Added "es" to ALL_LINGUAS.
398 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
400 * data/evince-toolbar.xml:
401 * shell/ev-window.c: (update_action_sensitivity),
402 (ev_window_setup_document), (ev_window_set_page_mode),
405 Remove some leftover code from jrb first continous
406 attempt. Use the new actions, we still need good icons
409 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
411 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
413 Update label when connecting proxy. Fix a warning with NULL
416 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
418 * data/evince-ui.xml:
419 * shell/ev-page-action.c: (ev_page_action_grab_focus):
420 * shell/ev-page-action.h:
421 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
423 Add mnemonic for edit toolbar.
424 ctrl+l focus the page entry.
426 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
429 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
431 * shell/main.c: (main):
433 Put the toolbar xml in evince own dot dir
435 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
437 * shell/ev-window.c: (ev_window_init):
439 Make the toolbar not removable
441 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
443 * data/evince-ui.xml:
444 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
445 * shell/ev-sidebar-links.h:
446 * shell/ev-sidebar-thumbnails.c:
447 (ev_sidebar_thumbnails_get_treeview):
448 * shell/ev-sidebar-thumbnails.h:
449 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
450 (ev_view_class_init):
452 * shell/ev-window.c: (update_action_sensitivity),
453 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
454 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
455 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
458 This is evil... Make space/backspace global accelerators but
459 enable them only for some widgets (sidebars and view).
460 I dont like it, but I dont know a better way... :/
462 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
464 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
465 (ev_page_action_widget_finalize),
466 (ev_page_action_widget_class_init), (update_page_cache):
468 Keep a weak reference on proxy->page_cache so that we
469 dont try to disconnect the signal if the object is already
470 gone. Maybe there is a better way to cleanup reference handling
471 in page action though...
473 2005-05-10 Juerg Billeter <j@bitron.ch>
475 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
476 * backend/ev-ps-exporter.h:
477 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
478 * ps/ps-document.c: (ps_document_ps_export_begin):
480 Change api to pass print range to ps_exporter_begin. The pdf backend
481 requires this information.
483 * shell/ev-print-job.c: (idle_print_handler):
487 2005-05-10 Juerg Billeter <j@bitron.ch>
489 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
491 * shell/ev-window.c: (ev_window_print):
493 Support printing page range, based on patch by Amaury Jacquot
495 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
497 * data/evince-toolbar.xml:
499 Add zoom control to available items
501 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
503 * shell/ev-window.c: (update_action_sensitivity):
505 Set slash action insensitive when appropriate
507 2005-05-10 Christian Persch <chpe@gnome.org>
509 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
511 Fix warning on the overflow menu
513 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
515 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
517 Check for uri correctness/existence
519 2005-05-09 Juerg Billeter <j@bitron.ch>
521 * shell/ev-window.c: (using_postscript_printer):
523 LPD printers use postscript, too
525 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
527 * shell/ev-window.c: (register_custom_actions):
529 The zoom one is actually sort of useful,
532 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
534 * shell/ev-window.c: (register_custom_actions):
536 Hide page/zoom controls from overflow, they
539 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
541 * cut-n-paste/update-from-egg.sh:
543 Share it between all cut-n-paste subdirs
545 * cut-n-paste/recent-files/Makefile.am:
547 Fix to use "global" update-from-egg.sh
549 * cut-n-paste/recent-files/egg-recent-model.c:
550 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
551 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
552 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
553 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
557 * cut-n-paste/toolbar-editor/Makefile.am:
559 Fix to use "global" update-from-egg.sh
561 * cut-n-paste/toolbar-editor/eggmarshalers.list:
565 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
568 * cut-n-paste/Makefile.am:
569 * cut-n-paste/recent-files/Makefile.am:
570 * cut-n-paste/toolbar-editor/.cvsignore:
571 * cut-n-paste/toolbar-editor/Makefile.am:
572 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
573 (egg_editable_toolbar_get_type), (get_toolbar_position),
574 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
575 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
576 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
577 (set_item_drag_source), (create_item_from_action), (create_item),
578 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
579 (popup_toolbar_context_menu_cb), (free_dragged_item),
580 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
581 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
582 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
583 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
584 (item_added_cb), (item_removed_cb),
585 (egg_editable_toolbar_construct),
586 (egg_editable_toolbar_disconnect_model),
587 (egg_editable_toolbar_deconstruct),
588 (egg_editable_toolbar_set_model),
589 (egg_editable_toolbar_set_ui_manager),
590 (egg_editable_toolbar_set_property),
591 (egg_editable_toolbar_get_property),
592 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
593 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
594 (egg_editable_toolbar_new_with_model),
595 (egg_editable_toolbar_get_edit_mode),
596 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
597 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
598 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
599 (new_pixbuf_from_widget), (new_separator_pixbuf),
600 (update_separator_image), (style_set_cb),
601 (_egg_editable_toolbar_new_separator_image),
602 (egg_editable_toolbar_get_model):
603 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
604 * cut-n-paste/toolbar-editor/egg-marshal.c:
605 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
606 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
607 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
608 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
609 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
610 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
611 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
612 (editor_drag_data_delete_cb), (drag_data_get_cb),
613 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
614 (editor_create_item), (update_editor_sheet), (setup_editor),
615 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
616 (parse_item_list), (model_has_action), (update_actions_list),
617 (egg_toolbar_editor_load_actions):
618 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
619 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
620 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
621 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
622 (toolbars_item_new), (free_toolbar_node), (free_item_node),
623 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
624 (egg_toolbars_model_add_separator), (impl_add_item),
625 (parse_item_list), (egg_toolbars_model_add_toolbar),
626 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
627 (impl_get_item_data), (impl_get_item_type),
628 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
629 (egg_toolbars_model_init), (free_toolbar),
630 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
631 (egg_toolbars_model_remove_toolbar),
632 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
633 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
634 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
635 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
636 (egg_toolbars_model_get_item_data),
637 (egg_toolbars_model_get_item_type):
638 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
639 * cut-n-paste/toolbar-editor/eggmarshalers.list:
641 * data/evince-toolbar.xml:
642 * data/evince-ui.xml:
643 * data/hand-open.png:
646 * shell/ev-window.c: (update_chrome_visibility),
647 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
648 (ev_window_dispose), (ev_window_init):
650 Implement epiphany like toolbar editor. Based on patch by
651 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
653 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
655 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
657 Use set_cursor instead of set_selection, so that
658 the keyboard focus moves too.
660 2005-05-09 Aleksey Kliger <akliger@gmail.com>
662 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
664 Fix infinite loop when loading Type1 fonts
666 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
668 * data/evince-ui.xml:
673 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
677 Make --disable really disable
679 2005-05-07 Juerg Billeter <j@bitron.ch>
681 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
683 Compare page labels even without has_labels set, fixes setting page
686 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
688 * shell/ev-view.c: (ev_view_create_invisible_cursor),
689 (ev_view_set_cursor), (ev_view_button_press_event),
690 (ev_view_motion_notify_event), (ev_view_button_release_event),
693 Implement middle button scrolling. Based on a patch
694 by Tommi Komulainen <tommi.komulainen@iki.fi>.
696 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
698 * shell/ev-document-types.c: (get_slow_mime_type),
699 (get_document_type_from_mime), (ev_document_type_lookup):
700 * shell/ev-document-types.h:
702 Change api to lookup from uri. Do fast lookup first, if the
703 type is unknown try with data sniffing.
705 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
706 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
710 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
712 * thumbnailer/Makefile.am:
716 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
723 * data/evince-ui.xml:
725 Hide presentation mode for now
727 * shell/ev-view.c: (highlight_find_results):
729 Show current find selection only on current page
731 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
733 * shell/ev-view.c: (ev_view_select_all):
735 Compute size of the actual page, not of
738 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
740 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
741 (view_rect_to_doc_rect), (compute_selections),
742 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
743 (ev_view_copy), (ev_view_primary_get_cb),
744 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
745 (ev_view_button_press_event), (ev_view_motion_notify_event),
746 (ev_view_button_release_event), (page_changed_cb):
750 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
752 * shell/ev-view.c: (compute_border), (get_page_extents),
753 (doc_rect_to_view_rect), (highlight_find_results),
754 (ev_view_bin_expose), (ev_view_select_all),
755 (ev_view_motion_notify_event), (update_find_status_message),
756 (jump_to_find_result), (jump_to_find_page):
758 First go at fixing search, still buggy
760 2005-05-04 Kristian Høgsberg <krh@redhat.com>
762 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
763 dropdown box and button at the top of the sidebar.
765 2005-05-02 James Bowes <bowes@cs.dal.ca>
767 * configure.ac: Output zoom-control Makefile.
768 * cut-n-paste/Makefile.am: build zoom-control subdir.
769 * cut-n-paste/zoom-control/ephy-zoom-action.c:
770 * cut-n-paste/zoom-control/ephy-zoom-action.h:
771 * cut-n-paste/zoom-control/ephy-zoom-control.c:
772 * cut-n-paste/zoom-control/ephy-zoom-control.h:
773 * cut-n-paste/zoom-control/ephy-zoom.c:
774 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
775 from epiphany, and modified to add a separator into the menu.
776 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
777 * data/evince-ui.xml: Replace old zoom toolbar actions with new
779 * shell/Makefile.am: Include zoom-control flags.
780 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
781 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
782 (ev_view_zoom_for_size_presentation),
783 (ev_view_zoom_for_size_continuous_and_dual_page),
784 (ev_view_zoom_for_size_continuous),
785 (ev_view_zoom_for_size_dual_page),
786 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
787 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
788 ev_view_get_zoom and ev_view_get_sizing_mode.
790 * shell/ev-window.c: (update_action_sensitivity),
791 (update_sizing_buttons), (zoom_control_changed_cb),
792 (register_custom_actions): Initialize and use the zoom-control
795 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
797 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
798 preview cache back to 1. Don't know when it got set to 0.
800 * shell/ev-view.c: (compute_border), (ev_view_realize),
801 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
802 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
803 (ev_view_get_fullscreen), (ev_view_set_presentation),
804 (ev_view_get_presentation), (ev_view_set_sizing_mode),
805 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
808 (update_chrome_visibility),
809 (ev_window_cmd_continuous), (ev_window_cmd_dual),
810 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
811 (update_document_mode), (ev_window_update_fullscreen_action),
812 (ev_window_fullscreen), (ev_window_unfullscreen),
813 (ev_window_cmd_view_fullscreen),
814 (ev_window_update_presentation_action),
815 (ev_window_run_presentation), (ev_window_stop_presentation),
816 (ev_window_cmd_view_presentation), (ev_window_state_event),
817 (ev_window_focus_in_event), (ev_window_focus_out_event),
818 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
819 * data/evince-ui.xml: Initial presentation mode. We should
820 probably hide this until it's done, as it's quite rough. Also,
821 change full-screen to fullscreen and add two getters to EvView.
823 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
825 * shell/ev-page-action.c: (update_page_cache),
826 (ev_page_action_dispose):
827 * shell/ev-window.c: (destroy_fullscreen_popup),
828 (ev_window_create_fullscreen_popup):
830 Use connect_object rather than explicitly
831 disconnect on dispose.
833 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
835 * shell/ev-page-action.c: (update_page_cache),
836 (ev_page_action_dispose):
838 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
840 * backend/ev-page-cache.c: (_ev_page_cache_new),
841 (ev_page_cache_set_page_label),
842 (ev_page_cache_has_nonnumeric_page_labels):
843 * backend/ev-page-cache.h:
844 * shell/ev-page-action.c: (update_pages_label):
846 If all page labels are numeric, fallback to default
847 way to display number of pages. See bug 173185.
849 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
851 * shell/ev-page-action.c: (ev_page_action_dispose):
852 * shell/ev-view.c: (view_update_range_and_current_page):
853 * shell/ev-window.c: (ev_window_dispose):
855 Set page on scroll in continuous mode. Fixes bug 301986.
856 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
858 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
862 Require poppler 0.3.0
864 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
866 * shell/Makefile.am, configure.ac: Fix build problems
867 with t1lib. Bug 301996.
869 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
871 * shell/ev-view.c: (ev_view_scroll_event):
873 Scroll up increase zoom
875 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
877 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
878 (ev_view_set_sizing_mode),
879 (ev_view_zoom_for_size_continuous_and_dual_page),
880 (ev_view_zoom_for_size_continuous):
881 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
882 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
883 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
886 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
887 Fix for 165473 and 165472.
889 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
892 * thumbnailer/Makefile.am:
893 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
894 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
895 * thumbnailer/evince-thumbnailer.schemas.in:
897 Make thumbnailer schemas translatable. Fix for bug 301773
899 * thumbnailer/evince-thumbnailer-djvu.schemas:
900 * thumbnailer/evince-thumbnailer-dvi.schemas:
901 * thumbnailer/evince-thumbnailer.schemas:
905 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
907 * shell/ev-view.c (ev_view_init): forgot to set this.
909 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
911 * shell/ev-view.c: (find_page_at_location),
912 (get_link_at_location),
913 (ev_view_set_show_border), (ev_view_set_spacing),
914 (ev_view_zoom_for_size_continuous_and_dual_page),
915 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
916 Also, add a quick fix measuring of widths. Also, removed
917 ev_view_set_spacing and ev_view_set_show_border.
919 * shell/ev-window.c: (ev_window_unfullscreen),
920 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
922 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
924 * shell/ev-view.c: (view_update_range_and_current_page),
927 Fix crash on exit and scrolling to page in continuous view.
929 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
932 * backend/ev-page-cache.c: (_ev_page_cache_new),
933 (ev_page_cache_get_max_width_size),
934 (ev_page_cache_get_max_height_size):
935 * backend/ev-page-cache.h:
936 * data/evince-ui.xml:
937 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
938 * shell/ev-view.c: (view_update_adjustments),
939 (view_update_range_and_current_page), (get_bounding_box_size),
940 (ev_view_size_request_continuous_and_dual_page),
941 (ev_view_size_request_continuous),
942 (ev_view_size_request_dual_page),
943 (ev_view_size_request_single_page), (ev_view_size_request),
944 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
945 (ev_view_bin_expose), (ev_view_expose_event),
946 (ev_view_set_property), (ev_view_get_property),
947 (ev_view_class_init), (ev_view_init), (ev_view_new),
948 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
949 (ev_view_set_dual_page), (ev_view_set_full_screen),
950 (ev_view_set_presentation), (ev_view_set_sizing_mode),
951 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
952 (ev_view_zoom_out), (zoom_for_size_fit_width),
953 (zoom_for_size_best_fit),
954 (ev_view_zoom_for_size_continuous_and_dual_page),
955 (ev_view_zoom_for_size_continuous),
956 (ev_view_zoom_for_size_dual_page),
957 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
958 (ev_view_show_cursor), (ev_sizing_mode_get_type):
960 * shell/ev-window.c: (update_action_sensitivity),
961 (ev_window_cmd_continuous), (ev_window_cmd_dual),
962 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
963 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
964 (ev_window_cmd_view_zoom_out), (update_view_size),
965 (ev_window_set_sizing_mode), (ev_window_init):
967 Add Continuous and Dual page modes.
969 2005-04-23 James Bowes <bowes@cs.dal.ca>
971 * dvi/dvi-document.c: (dvi_document_load),
972 (dvi_document_thumbnails_get_thumbnail),
973 (dvi_document_init_params): Fix up some mixups between
974 width and height to correct thumbnail rendering.
976 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
978 * dvi/mdvi-lib/private.h:
979 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
981 Suppess output for kpathsea during font generation. Thanks to
984 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
991 * Makefile.am: fix distcheck.
993 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
995 * shell/ev-sidebar-links.c: (selection_changed_callback),
996 (update_page_callback), (row_activated_callback),
997 (job_finished_callback), (ev_sidebar_links_set_document):
999 Fix for bug #169901. Double click on links expands tree.
1001 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
1003 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
1004 hard-coded style. Fix for bug 170111
1006 2005-04-22 Kristian Høgsberg <krh@redhat.com>
1008 * shell/ev-view.c (highlight_find_results): Remove unnecessary
1011 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
1013 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
1015 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1017 * pdf/ev-poppler.cc:
1018 * shell/ev-view.c: (highlight_find_results):
1020 Fix find on single page documents
1022 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
1024 * data/evince.schemas.in: fix for bug 301390
1026 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1028 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
1029 (ev_view_zoom_out), (ev_view_zoom_normal):
1031 * shell/ev-window.c: (update_action_sensitivity),
1032 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
1033 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
1034 (ev_window_cmd_view_normal_size):
1036 Fix normal size zoom. Make zoom in/zoom out unsensitive when
1037 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
1040 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1044 Depend on 2.57, 2.59 doesnt seem to be necessary
1046 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
1048 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
1051 Put back total number of pages as (1 of 1234)
1053 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
1055 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
1058 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
1059 function. This helps debugging.
1061 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1063 * djvu/djvu-document.c: (djvu_document_class_init),
1064 (djvu_document_get_info), (djvu_document_document_iface_init):
1065 * dvi/dvi-document.c: (dvi_document_class_init),
1066 (dvi_document_get_info), (dvi_document_document_iface_init):
1068 Dummy implementation of get_info method for dvi and djvu. Fix
1069 crashes with those backends
1071 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
1073 * data/evince.desktop.in:
1075 Add application/x-gzpostscript
1077 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
1079 * data/evince.schemas.in: Added real long descriptions,
1082 * README: Added actual text, closes bug 171869
1084 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1086 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1090 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1092 * backend/ev-document-info.h:
1094 s/GDate */GDate so we can just use g_free
1096 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1098 * shell/ev-window.c: (update_document_mode),
1099 (ev_window_setup_document):
1101 Show the window in fullscreen when specified by
1104 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1106 * backend/ev-document.c: (ev_document_class_init),
1107 (ev_document_get_info), (ev_document_render_pixbuf):
1108 * backend/ev-document.h:
1109 * backend/ev-page-cache.c: (_ev_page_cache_new):
1110 * pdf/ev-poppler.cc:
1111 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
1112 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
1113 * ps/ps-document.c: (ps_document_class_init), (document_load),
1114 (ps_document_get_info), (ps_document_document_iface_init):
1116 Remove get_title from the interface, we can just use document info
1118 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
1120 * backend/Makefile.am:
1121 * backend/ev-document.c: (ev_document_render_get_info):
1122 * backend/ev-document.h:
1123 * pdf/ev-poppler.cc:
1125 Initial support for document info. Based on jrb patch.
1127 2005-04-19 Paolo Borelli <pborelli@katamail.com>
1129 * shell/ev-window.c: (ev_window_state_event),
1130 (ev_window_class_init), (ev_window_init):
1132 Doesn't show resize grip when maximized. See bug #301053
1134 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1138 ev-sidebar-thumbnails now has translatable labels
1140 * shell/Makefile.am:
1141 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
1142 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
1143 (ev_sidebar_links_page_iface_init):
1144 * shell/ev-sidebar-links.h:
1145 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1146 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
1147 (ev_sidebar_page_get_label):
1148 * shell/ev-sidebar-page.h:
1149 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
1150 (ev_sidebar_thumbnails_set_document),
1151 (ev_sidebar_thumbnails_support_document),
1152 (ev_sidebar_thumbnails_get_label),
1153 (ev_sidebar_thumbnails_page_iface_init):
1154 * shell/ev-sidebar-thumbnails.h:
1155 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
1156 (ev_sidebar_set_document):
1157 * shell/ev-sidebar.h:
1158 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
1160 Small rework of sidebar code. Now sidebar pages should implement
1161 EvSidebarPage interface. That makes page management in EvSidebar
1162 easier. See bug #164811 for details
1164 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1166 * shell/ev-application.c: (ev_application_open):
1167 * shell/ev-document-types.c:
1169 Fix build error and small problem with application exit
1171 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1173 * thumbnailer/Makefile.am:
1174 * thumbnailer/evince-thumbnailer-djvu.schemas:
1175 * thumbnailer/evince-thumbnailer-dvi.schemas:
1177 Conditionally install schemas for djvu/dvi thumbnailer
1179 2005-04-18 David Malcolm <dmalcolm@redhat.com>
1181 * shell/ev-document-types.h:
1182 * shell/ev-document-types.c:
1183 New files, handling the mapping from mimetypes to backends
1185 * shell/ev-window.c:
1186 * thumbnailer/evince-thumbnailer.c:
1187 Use the ev-document-types code
1189 * shell/Makefile.am:
1190 Added new convenience library libevbackendfactory_la, containing
1191 the new mimetype->backend logic; moved the backends into it.
1193 * thumbnailer/Makefile.am:
1194 Make the thumbnailer link with the libevbackend.la convenience
1195 library, rather than having a duplicate of the backend logic here.
1197 2005-04-18 Paolo Borelli <pborelli@katamail.com>
1199 * shell/ev-stock-icons.c: constify some vars.
1200 * shell/ev-window.c: ditto.
1202 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
1204 * ps/ps-document.c (get_page_orientation):
1206 Respect document orientation
1208 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1212 * shell/Makefile.am:
1214 Move library dependencies to components.
1216 * shell/ev-window.c: (update_window_title),
1217 (start_loading_document):
1219 Fix display of uris with spaces. Bug 168358.
1221 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
1223 * shell/ev-sidebar-links.c: (selection_changed_cb):
1224 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
1225 (ev_view_button_release_event), (ev_view_set_document):
1227 * shell/ev-window.c: (find_bar_search_changed_cb):
1228 * shell/ev-window.h: Minor cleanups removing some dead code.
1230 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1232 * backend/ev-page-cache.c: (_ev_page_cache_new):
1234 Set current page to 0 if document has pages.
1236 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1238 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1240 Initialize GError to NULL, fix a crash when loading fails.
1242 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1244 * shell/ev-window.c: (update_view_size):
1246 Calculate shadow size only when there is actually
1249 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1251 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
1254 Allow setting view spacing, default to 0
1256 * shell/ev-window.c: (ev_window_unfullscreen),
1257 (ev_window_cmd_view_fullscreen), (ev_window_init):
1259 Remove spacing in fullscreen mode
1261 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1263 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
1264 (ev_view_size_request), (expose_bin_window),
1265 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
1267 * shell/ev-window.c: (ev_window_unfullscreen),
1268 (ev_window_cmd_view_fullscreen):
1270 Do not draw the border in fulscreen
1272 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1274 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
1275 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
1276 (find_page_at_location), (page_changed_cb):
1278 Rework border calculation, so that I can more easily disable it.
1279 Code somewhat cleaner too.
1281 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1283 * backend/ev-page-cache.c: (ev_page_cache_init),
1284 (_ev_page_cache_new):
1286 Remove some assertions, documents can have 0 pages.
1287 Make initial current page -1.
1289 * shell/ev-page-action.c: (page_changed_cb):
1291 Show "" if current page is -1
1293 * shell/ev-window.c: (update_action_sensitivity),
1294 (ev_window_setup_document):
1296 When document has 0 pages do not set the view
1297 and make nearly everything insensitive.
1299 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1301 * shell/ev-page-view.c:
1302 * shell/ev-page-view.h:
1304 Remove unused files.
1306 * shell/ev-sidebar-thumbnails.c:
1307 (ev_sidebar_thumbnails_set_document):
1308 * shell/ev-sidebar.c: (ev_sidebar_set_document),
1309 (ev_sidebar_supports_document):
1310 * shell/ev-sidebar.h:
1311 * shell/ev-window.c: (ev_window_setup_document):
1313 Doesn't show thumbnails if document has 1 page. Make
1314 sidebar menu entries sensitive only if if they have
1315 sense. Fix bug 164811.
1317 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
1319 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
1320 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
1321 (ev_view_zoom_out), (ev_view_set_size):
1323 Rework sizing to deal with documents with not uniform page
1326 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
1328 * backend/ev-page-cache.c: (_ev_page_cache_new):
1330 Fix several page size caching bugs
1332 2005-04-15 Luca Ferretti <elle.uca@libero.it>
1334 * shell/ev-window.c: (set_action_properties):
1336 Make all toolbar items translatable
1338 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
1340 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
1341 (save_page_list), (ps_document_save),
1342 (ps_document_document_iface_init), (ps_document_ps_export_begin),
1343 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
1344 (ps_document_ps_exporter_iface_init):
1347 Based on a patch by J�rg Billeter <j@bitron.ch>
1349 Implement print and save a copy for the ps backend.
1351 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
1353 * backend/ev-document.h:
1354 * djvu/djvu-document.c: (djvu_document_can_get_text),
1355 (djvu_document_document_iface_init):
1356 * dvi/dvi-document.c: (dvi_document_can_get_text),
1357 (dvi_document_document_iface_init):
1358 * pdf/ev-poppler.cc:
1359 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
1360 (pixbuf_document_document_iface_init):
1361 * ps/ps-document.c: (ps_document_can_get_text),
1362 (ps_document_document_iface_init):
1363 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
1364 * shell/ev-window.c: (update_action_sensitivity):
1366 Fix the crash when trying to copy in backends that doesnt
1367 support it. We can implement a better solution once we
1368 do real text selection.
1370 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
1372 * data/evince-ui.xml:
1373 * shell/ev-window.c: (ev_window_cmd_escape):
1375 Work around the Escape conflict (find bar and unfullscreen)
1377 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1379 * backend/ev-page-cache.c: (ev_page_cache_next_page):
1381 Fix for #300233. Next page correctly handles document end.
1383 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
1384 (ev_sidebar_thumbnails_class_init),
1385 (ev_sidebar_thumbnails_set_document),
1386 (ev_sidebar_thumbnails_clear_job),
1387 (ev_sidebar_thumbnails_clear_model):
1389 Cleanup thumbnail jobs on document changes.
1391 * shell/ev-view.c: (add_scroll_binding_keypad),
1392 (add_scroll_binding_shifted), (ev_view_class_init):
1394 Shift + Space scrolls up. Fix for #173184
1396 * shell/ev-window.c: (ev_window_open_page),
1397 (ev_window_cmd_view_reload):
1399 Fix reload (Bug #300094)
1401 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1404 * dvi/mdvi-lib/assoc.c:
1405 * dvi/mdvi-lib/assoc.h: Removed garbage files
1407 * dvi/mdvi-lib/bitmap.c:
1408 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
1409 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
1410 * dvi/mdvi-lib/color.h: Antialias of rules
1412 * dvi/mdvi-lib/common.h:
1413 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
1414 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
1415 * dvi/mdvi-lib/files.c:
1416 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
1417 * dvi/mdvi-lib/mdvi.h:
1418 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1419 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
1420 * dvi/mdvi-lib/util.c: Fix compile warnings
1422 * dvi/dvi-document.c:
1423 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
1424 (dvi_document_thumbnails_get_thumbnail),
1425 (dvi_document_document_thumbnails_iface_init):
1426 * dvi/mdvi-lib/Makefile.am:
1427 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1428 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
1430 Dvi backend now renders thumbnails
1432 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
1434 * shell/main.c: (main):
1436 Save accelerators on exit. Fixes bug #172095.
1438 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
1440 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
1441 update priority" comment.
1443 * backend/ev-job-queue.c: Give a way to change priority.
1445 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
1447 * shell/ev-page-action.c: Fix logic.
1449 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
1451 * shell/ev-view.c: (ev_view_can_find_next):
1452 * shell/ev-window.c: (ev_window_setup_document):
1454 Check that the document supports find
1456 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
1458 * data/evince-ui.xml:
1459 * shell/ev-view.c: (ev_view_can_find_next):
1461 * shell/ev-window.c: (update_action_sensitivity),
1462 (find_changed_cb), (ev_window_setup_document),
1463 (ev_window_cmd_edit_find_next):
1467 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
1469 * pdf/ev-poppler.cc:
1470 * shell/ev-print-job.c: (idle_print_handler):
1472 Make printing work again
1474 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
1476 * shell/ev-page-action.h:
1477 * shell/ev-page-action.c: (ev_page_action_widget_init),
1478 (ev_page_action_widget_class_init), (page_changed_cb),
1479 (create_tool_item), (update_page_cache), (build_new_tree_cb),
1480 (get_filter_model_from_model), (match_selected_cb),
1481 (display_completion_text), (match_completion), (update_model),
1482 (connect_proxy), (ev_page_action_set_property),
1483 (ev_page_action_get_property), (ev_page_action_set_document),
1484 (ev_page_action_set_model), (ev_page_action_class_init): Big
1485 reworking to make completions work iff we have >= GTK-2.7.0
1487 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
1488 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
1489 (job_finished_cb): We now have a 'model' property that is set when
1490 the links are loaded. This can be caught with "notify::model"
1492 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
1493 listen for the model to be set, and propagate it to the action.
1495 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1497 * cut-n-paste/recent-files/egg-recent-item.c:
1498 (egg_recent_item_set_uri), (make_valid_utf8),
1499 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
1500 * cut-n-paste/recent-files/egg-recent-item.h:
1502 Update egg-recent from libegg. This should fix long
1503 startup problem. For details see
1504 http://bugzilla.gnome.org/show_bug.cgi?id=160531
1506 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1508 * cut-n-paste/recent-files/Makefile.am:
1509 * data/evince-ui.xml, shell/Makefile.am:
1510 * shell/ev-application.c, shell/ev-application.h:
1511 * shell/ev-window.c: Recent files support.
1513 * configure.ac: Added "ru" to ALL_LINGUAS.
1515 * dvju: new backend to support DJVU files.
1516 * dvi: new backend to support DVI.
1518 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
1519 * ev-application.c: Support for new backends.
1521 * help, ev-window.c, main.c shell/Makefile.am:
1522 Evince user documentation.
1524 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
1527 * shell/ev-window.c:
1528 * thumbnailer/evince-thumbnailer.c:
1530 s/pdf-document/ev-poppler
1532 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
1539 * ps/ps-document.c: (setup_pixmap):
1543 2005-04-05 Kristian Høgsberg <krh@redhat.com>
1545 * backend/ev-page-cache.c (ev_page_cache_next_page):
1546 * shell/ev-window.c (ev_window_cmd_go_next_page)
1547 (ev_window_cmd_go_first_page): Fix of by one errors.
1549 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
1551 * ps/ps-document.c: (get_page_box):
1553 Fix page size calculation
1555 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
1557 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1558 (ps_document_cleanup), (setup_pixmap), (get_page_box),
1559 (get_page_orientation), (setup_page), (document_load),
1560 (ps_document_get_page_size), (render_pixbuf_idle):
1563 More refactoring to adapt to EvDocument changes
1565 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
1567 * ps/ps-document.c: (start_interpreter):
1569 Actually add alpha args
1571 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
1573 * pdf/ev-poppler.cc:
1575 Make clipboard work again
1577 2005-04-04 Kristian Høgsberg <krh@redhat.com>
1579 Make searching work again.
1581 * backend/ev-document.c:
1582 * backend/ev-document.h:
1583 * backend/ev-document-find.c:
1584 * backend/ev-document-find.h: Change EvDocumentIface so we no
1585 longer store the current page or zoom level in the document. The
1586 consequence is that all calls that operate on the current page now
1587 instead take the page number as an extra argument, and all
1588 coordinates are now doubles in document coordinate system.
1590 * pdf/ev-poppler.cc:
1591 * pixbuf/pixbuf-document.c:
1592 * ps/ps-document.c: Update backends accordingly.
1594 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
1598 Add required gettext version
1600 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
1602 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
1603 make F1 bring up non-existent help.
1605 * shell/eggfindbar.c: Patch from Christian Persch to sync to
1606 epiphany's find bar, #167477
1608 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
1609 <emil@nishra.com> to add space-bar scrolling,
1611 * shell/ev-window.c (static GtkActionEntry entries): add default
1612 keybinding for Help (F1)
1615 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
1616 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
1619 2005-04-01 David Malcolm <dmalcolm@redhat.com>
1622 * pixbuf/pixbuf-document.c:
1624 Got pixbuf backend working again
1626 2005-04-01 Steve Murphy <murf@e-tools.com>
1628 * configure.in: Added "rw" to ALL_LINGUAS.
1630 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
1632 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
1633 model types, noticed by Martin Kretzschmar.
1635 2005-04-01 Kristian Høgsberg <krh@redhat.com>
1637 * pdf/ev-poppler.cc: Implement search based on
1638 poppler_page_find_text(). Currently a bit crude since we remember
1639 all matches from all pages. Also, we grab the big document lock
1640 when we search since searching changes the underlying stream and
1641 thus conflicts with the rendering thread.
1643 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
1644 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
1645 (ev_view_find_previous): Fix some page indexes to be 0 based,
1646 offset rubber band by view offset,
1648 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
1650 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
1652 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
1654 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
1655 completely because I didn't understand GtkActions. I should
1656 read Marco's code more carefully in the future.
1658 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
1661 2005-03-31 Kristian Høgsberg <krh@redhat.com>
1663 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
1664 PopplerRectangle change from poppler CVS.
1666 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
1668 * backend/ev-document.c: (ev_document_get_page_label):
1669 * backend/ev-document.h:
1670 * backend/ev-page-cache.c: (_ev_page_cache_new),
1671 (ev_page_cache_get_page_label):
1672 * backend/ev-page-cache.h:
1673 * pdf/ev-poppler.cc:
1674 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
1675 (links_page_num_func):
1676 * shell/ev-sidebar-thumbnails.c:
1677 (ev_sidebar_thumbnails_set_document):
1678 * shell/ev-view.c: (status_message_from_link),
1679 (ev_view_motion_notify_event):
1680 * shell/ev-window.c: (document_supports_sidebar): Add in page
1681 label support. It's not perfect yet, but it's the first 'feature'
1683 Also, fix a bogus comment noticed by crispin.
1685 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
1687 * Makefile.am: Remove pixbuf backend for now
1689 * configure.ac: Require poppler-glib instead of just poppler.
1691 * backend/ev-document-thumbnails.h: Add a comment
1693 * backend/ev-document.h:
1694 * backend/ev-document.c: (ev_document_class_init),
1695 (ev_document_load), (ev_document_get_link),
1696 (ev_document_get_links): Remove 3 methods and add get_links.
1699 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1700 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
1702 * backend/ev-link.c: (ev_link_set_title),
1703 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
1704 (ev_link_mapping_find):
1705 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
1707 * backend/ev-page-cache.c: (ev_page_cache_init),
1708 (_ev_page_cache_new), (ev_page_cache_set_current_page),
1709 (ev_page_cache_get_size), (ev_page_cache_next_page),
1710 (ev_page_cache_prev_page): Fix to be 0 based.
1714 * pdf/ev-poppler.cc: New backend.
1716 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
1717 (ps_document_get_page), (ps_document_document_iface_init):
1719 * shell/ev-pixbuf-cache.h:
1720 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
1721 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
1722 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
1723 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
1724 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
1725 Fix up code to grab a page cache per each doc. Also, fix to be 0
1728 * shell/ev-sidebar-thumbnails.c:
1729 (ev_sidebar_tree_selection_changed), (page_changed_cb),
1730 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
1732 * shell/ev-view.c: (status_message_from_link),
1733 (find_page_at_location), (get_link_at_location),
1734 (ev_view_motion_notify_event), (ev_view_button_release_event),
1735 (ev_view_init): Use the new link code. Fix to be 0 based.
1737 * shell/ev-window.c: (update_action_sensitivity),
1738 (document_supports_sidebar): 0 based.
1740 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
1742 * pdf/pdf-document.cc: Patch from Fernando Herrera
1743 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
1746 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
1748 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
1749 1 to the page, as this seems to be 1 based. I thought we has this
1752 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
1755 * backend/Makefile.am:
1756 * backend/ev-document-links.c:
1757 (ev_document_links_has_document_links),
1758 (ev_document_links_get_links_model):
1759 * backend/ev-document-links.h:
1760 * backend/ev-document.c: (ev_document_get_page_cache),
1761 (ev_document_get_doc_mutex), (ev_document_load),
1762 (ev_document_save), (ev_document_get_title),
1763 (ev_document_get_n_pages), (ev_document_set_page),
1764 (ev_document_get_page), (ev_document_set_target),
1765 (ev_document_set_scale), (ev_document_set_page_offset),
1766 (ev_document_get_page_size), (ev_document_get_text),
1767 (ev_document_get_link), (ev_document_render),
1768 (ev_document_render_pixbuf), (ev_document_scale_changed):
1769 * backend/ev-document.h:
1770 * backend/ev-job-queue.c: (remove_object_from_queue),
1771 (notify_finished), (handle_job), (search_for_jobs_unlocked),
1772 (no_jobs_available_unlocked), (ev_render_thread),
1773 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
1774 (ev_job_queue_remove_job):
1775 * backend/ev-job-queue.h:
1776 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1777 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1778 (ev_job_links_class_init), (ev_job_render_init),
1779 (ev_job_render_dispose), (ev_job_render_class_init),
1780 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1781 (ev_job_thumbnail_class_init), (ev_job_finished),
1782 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1783 (ev_job_render_run), (ev_job_thumbnail_new),
1784 (ev_job_thumbnail_run):
1785 * backend/ev-jobs.h:
1786 * backend/ev-link.c:
1787 * backend/ev-link.h:
1788 * backend/ev-page-cache.c: (ev_page_cache_init),
1789 (ev_page_cache_class_init), (ev_page_cache_finalize),
1790 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
1791 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1792 (ev_page_cache_set_link), (ev_page_cache_get_title),
1793 (ev_page_cache_get_size), (ev_page_cache_next_page),
1794 (ev_page_cache_prev_page):
1795 * backend/ev-page-cache.h:
1796 * pdf/pdf-document.cc:
1799 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
1800 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
1801 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
1802 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
1803 (is_interpreter_ready), (output), (catchPipe), (input),
1804 (start_interpreter), (check_filecompressed), (compute_dimensions),
1805 (ps_document_enable_interpreter), (document_load),
1806 (ps_document_next_page), (render_page), (ps_document_set_page),
1807 (ps_document_set_scale), (render_pixbuf_idle),
1808 (ps_document_render_pixbuf), (ps_document_document_iface_init):
1810 * shell/Makefile.am:
1811 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
1812 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
1813 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
1814 (ev_pixbuf_cache_new), (job_finished_cb),
1815 (check_job_size_and_unref), (move_one_job),
1816 (ev_pixbuf_cache_update_range), (find_job_cache),
1817 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
1818 (ev_pixbuf_cache_add_jobs_if_needed),
1819 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
1820 * shell/ev-pixbuf-cache.h:
1821 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
1822 (idle_print_handler):
1823 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
1824 (selection_changed_cb), (create_loading_model),
1825 (ev_sidebar_links_construct), (links_page_num_func),
1826 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
1827 (update_page_callback), (job_finished_cb),
1828 (ev_sidebar_links_set_document):
1829 * shell/ev-sidebar-thumbnails.c:
1830 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
1831 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
1832 (page_changed_cb), (thumbnail_job_completed_callback),
1833 (ev_sidebar_thumbnails_set_document):
1834 * shell/ev-sidebar-thumbnails.h:
1835 * shell/ev-sidebar.c: (ev_sidebar_set_document):
1836 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
1837 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
1838 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
1839 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
1840 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
1841 (ev_view_button_release_event), (ev_view_scroll_view),
1842 (ev_view_class_init), (ev_view_init), (update_find_status_message),
1843 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
1844 (ev_view_new), (job_finished_cb), (page_changed_cb),
1845 (ev_view_set_document), (go_to_link), (ev_view_zoom),
1846 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
1847 (ev_view_find_previous):
1849 * shell/ev-window.c: (update_action_sensitivity),
1850 (ev_window_open_page), (update_window_title), (update_total_pages),
1851 (page_changed_cb), (ev_window_setup_document),
1852 (password_dialog_response), (ev_window_cmd_save_as),
1853 (ev_window_print), (ev_window_cmd_go_previous_page),
1854 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
1855 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
1856 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
1857 * shell/main.c: (main):
1859 Merge evince-threads branch
1861 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
1863 * configure.ac: Added "lt" to ALL_LINGUAS.
1865 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
1872 2005-03-13 Fernando Herrera <fherrera@onirica.com>
1874 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1876 Fix here also the thumbnails 1-basedness :)
1878 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
1885 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
1887 * pdf/pdf-document.cc:
1888 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
1889 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
1891 Fix the mess we did with thumbnails and 1-basedness
1893 2005-03-12 Changwoo Ryu <cwryu@debian.org>
1895 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
1897 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
1904 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
1907 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
1908 (gtk_gs_defaults_get_alpha_parameters),
1909 (gtk_gs_defaults_get_ungzip_cmd),
1910 (gtk_gs_defaults_get_unbzip2_cmd):
1912 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
1913 (ps_document_get_orientation), (document_load),
1914 (ps_document_goto_page), (ps_document_set_page_size):
1917 Some more sanitization of the ps backend. Remove a lot
1918 of unused code and do not base our defaults on ggv
1921 2005-03-08 Fernando Herrera <fherrera@onirica.com>
1923 * thumbnailer/evince-thumbnailer.schemas:
1924 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
1925 (main): add -s option for thumbnail size.
1927 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
1931 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
1934 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
1936 * pdf/pdf-document.cc:
1938 Remove 4 pixels of useless border from the
1941 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
1943 * backend/ev-document-thumbnails.c:
1944 (ev_document_thumbnails_get_thumbnail):
1945 * backend/ev-document-thumbnails.h:
1947 Rework API a bit. Add a border flag and
1948 change sizing logic (now the size we specify
1949 applies to the bigger dimension).
1951 * pdf/pdf-document.cc:
1952 * pixbuf/pixbuf-document.c:
1953 (pixbuf_document_thumbnails_get_thumbnail):
1954 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
1955 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1957 Adapt to the new API and do not draw a border for nautilus
1960 2005-03-03 Fernando Herrera <fherrera@onirica.com>
1962 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1963 take thumbnails from page "0" instead of "1". Added a copyright header.
1965 2005-03-03 Jens Granseuer <jensgr@gmx.net>
1967 * ps/ps-document.c: (set_up_page), (start_interpreter):
1969 Make it C89 compliant
1971 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
1976 * pdf/pdf-document.cc:
1977 * thumbnailer/Makefile.am:
1978 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
1980 * thumbnailer/evince-thumbnailer.schemas:
1981 * thumbnailer/pdf-icon.png:
1983 Add a nautilus thumbnailer.
1984 Based on patch by Fernando Herrera <fherrera@onirica.com>.
1986 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
1994 2005-03-01 Kristian Høgsberg <krh@redhat.com>
1996 Use poppler instead of including xpdf source code. Poppler is a
1997 fork of xpdf to build it as a shared library. See
1998 http://freedesktop.org/wiki/Software/poppler.
2000 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
2003 * pdf/Makefile.am: Build libpdfdocument.a here.
2005 * pdf/GDKSplashOutputDev.cc:
2006 * pdf/GDKSplashOutputDev.h:
2007 * pdf/GnomeVFSStream.cc:
2008 * pdf/GnomeVFSStream.h:
2011 * test-gdk-output-dev.cc
2013 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
2016 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2018 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
2020 Clear idle stack before unsetting the document
2022 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2024 * ps/ps-document.c: (ps_document_widget_event),
2025 (ps_document_set_target), (ps_document_finalize),
2026 (ps_document_get_page):
2028 Disconnect the widget event signal on finalize.
2031 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2033 * ps/ps-document.c: (set_up_page):
2035 If there is no bpixmap create one, even if size
2038 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2040 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
2041 (set_up_page), (document_load), (ps_document_set_zoom):
2043 Default page is 0. Calculate size even when we have no
2046 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
2048 * shell/ev-sidebar.c: expand the selection widget to be always as
2051 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2053 * shell/ev-sidebar-thumbnails.c:
2054 (ev_sidebar_thumbnails_set_document):
2056 Clear the list store when setting document
2058 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2060 * shell/ev-page-action.c: (update_entry), (sync_entry),
2061 (activate_cb), (entry_size_request_cb), (create_tool_item),
2064 Use an entry for the page control instead of spinbuttons
2066 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
2068 * data/evince.schemas.in:
2070 Correct confusing string
2072 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
2074 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
2075 for real. Gosh, how long has this been broken.
2077 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
2078 check for a NULL link. We crash otherwise.
2080 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
2087 2005-02-25 Sebastien Bacher <seb128@debian.org>
2089 * configure.ac: add the french translation.
2091 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2093 * shell/ev-window.c:
2095 Remove unused header -> fix distcheck
2097 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2099 * shell/ev-window.c: (update_window_title),
2100 (ev_window_popup_password_dialog):
2102 Unescape filename for display
2104 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2106 * pdf/xpdf/pdf-document.cc:
2108 In get_page_size deal with rotation. Also
2109 cleanup the function a bit.
2111 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2113 * pdf/xpdf/pdf-document.cc:
2115 Fix crash when opening in new window
2117 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
2121 Check ghostscript >= 7
2123 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
2125 * shell/ev-window.c:
2127 Make page width the default sizing mode
2129 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
2130 Marco Pesenti Gritti <marco@gnome.org>
2132 * shell/ev-window.c: Remember the sidebar size
2134 * data/evince.schemas.in: Add a new gconf key to store the size of
2137 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
2139 * data/evince-ui.xml:
2140 * shell/ev-window.c: (update_action_sensitivity),
2141 (ev_window_cmd_view_reload):
2143 Add a "Reload" action and menu entry
2145 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
2147 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
2148 iff the type doesn't support thumbnailing and indexing.
2150 2005-02-24 Martin Kretzschmar <martink@gnome.org>
2152 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
2154 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2156 * pdf/splash/Splash.cc:
2158 Port fix for a crasher from kde bug
2159 http://bugs.kde.org/show_bug.cgi?id=97131
2161 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2163 * pdf/xpdf/pdf-document.cc:
2165 Return a link even if it's of an unrecognized
2166 type. Otherwise we go in an infinte cycle.
2168 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2170 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
2171 (size_allocate_cb), (ev_window_set_sizing_mode):
2173 Update size when switching mode
2175 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2177 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2178 (ev_window_cmd_view_page_width), (update_sizing_buttons),
2179 (ev_window_cmd_view_normal_size):
2181 Fix size toggle buttons behavior
2183 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2185 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
2186 (doc_rect_to_view_rect), (ev_view_size_allocate),
2187 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
2188 (scale_changed_callback):
2190 Do not cache offsets in size_allocate.
2192 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2194 * shell/ev-view.c: (ev_view_size_allocate):
2196 Calculate offsets before calling the parent
2197 class (which does a redraw)
2199 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2201 * pdf/xpdf/pdf-document.cc:
2203 Fix a crasher on exit. Unused code, put a TODO
2205 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2207 * backend/ev-document.c: (ev_document_class_init),
2208 (ev_document_page_changed), (ev_document_scale_changed):
2209 * backend/ev-document.h:
2211 Separate page/scale notifications
2213 * pdf/xpdf/pdf-document.cc:
2215 Emit the new signals.
2216 Do not display the pdf page in _render, do it
2217 when scale/page are requested.
2219 * ps/ps-document.c: (ps_document_set_zoom),
2220 (ps_document_widget_event):
2223 Emit the new signals.
2225 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
2226 (ev_view_init), (page_changed_callback), (scale_changed_callback),
2227 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
2228 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
2230 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
2231 (ev_window_cmd_view_page_width), (size_allocate_cb),
2232 (ev_window_set_sizing_mode):
2234 Rework sizing to be pixel based.
2235 There are bugs but should be already way better.
2237 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
2239 * shell/ev-window.c: (ev_window_init):
2241 Do not allow to shrink sidebar smaller then
2244 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
2246 * shell/ev-sidebar.[ch]
2247 * shell/ev-window.c:
2249 Improved sidebar widget. Fixes #166683
2251 2005-02-23 Tommi Vainikainen <thv@iki.fi>
2253 * shell/ev-view.c (update_find_status_message): Give translators
2254 more flexibility with ngettext plural handling.
2256 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
2258 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
2259 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
2260 page when we get the page size.
2262 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2264 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
2266 ps pages are 0 based, convert
2268 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2270 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
2272 Initialize correct parent class. Set GError on document load
2274 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2276 * pdf/xpdf/pdf-document.cc:
2278 Fixup selection offset calculation
2280 * shell/ev-view.c: (view_rect_to_doc_rect),
2281 (doc_rect_to_view_rect), (ev_view_size_allocate),
2282 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
2283 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
2285 Store selection as document relative, so that zooming
2286 and offset changing doesnt break it.
2288 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2290 * shell/ev-view.c: (ev_view_best_fit):
2292 Do not try to best fit if the view is not realized
2294 2005-02-20 Kostas Papadimas <pkst@gnome.org>
2296 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
2298 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
2300 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
2302 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
2304 * shell/ev-window.c: Change the fullscreen toolbar to always be in
2305 the popup window. That prevents it resizing when in full screen
2308 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
2309 multiple rerenders. This pretty much sucks.
2311 * data/evince-ui.xml: Change the fullscreen toolbar to include the
2312 rest of the toolbar.
2314 2005-02-18 Tommi Vainikainen <thv@iki.fi>
2316 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
2318 2005-02-17 Alexander Shopov <ash@contact.bg>
2320 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
2322 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
2324 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
2326 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
2328 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
2329 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
2330 (set_document_page), (document_changed_callback),
2331 (ev_view_set_document), (ev_view_find_previous),
2332 (ev_view_hide_cursor), (ev_view_show_cursor):
2334 * shell/ev-window.c: (update_chrome_visibility),
2335 (fullscreen_timeout_cb), (fullscreen_set_timeout),
2336 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
2337 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
2338 (ev_window_unfullscreen):
2339 * shell/main.c: (main):
2341 Automatically hide the fullscreen button.
2342 Patch by Kristian Høgsberg <krh@redhat.com>
2344 2005-02-16 Vincent Noel <vnoel@cox.net>
2346 * shell/main.c (main): Specify an icon for the window. Patch by
2347 Jaap A. Haitsma. Fixes #166177.
2349 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
2351 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
2353 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
2355 * backend/ev-document-misc.h:
2356 * backend/ev-document-misc.c:
2357 (ev_document_misc_get_page_border_size),
2358 (ev_document_misc_paint_one_page): New function to canonicalize
2359 sizing/painting a border.
2361 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
2364 * pdf/xpdf/pdf-document.cc: use new function
2366 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
2367 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
2368 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
2369 shell/ev-window.c: (update_sizing_buttons),
2370 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
2371 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
2372 (ev_window_cmd_view_page_width), (size_allocate_cb),
2373 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
2374 and "fit width" values act as toggle buttons so they stay
2375 toggled. It's not 100% perfect, and it's a little slow, but it's
2376 good enough to commit I think.
2378 2005-02-15 David Lodge <dave@cirt.net>
2380 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
2382 2005-02-15 Martin Kretzschmar <martink@gnome.org>
2384 * shell/ev-window.c (update_window_title): replace newlines in
2385 the title by spaces. Bug #166107.
2387 2005-02-14 Martin Kretzschmar <martink@gnome.org>
2389 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
2390 parameters providing allocation width and height without
2391 scrollbars and width of a possible vertical scrollbar. With this
2392 additional information the functions can work as
2393 intended. Unfortunately they're not idempotent. We should
2394 transform these commands to toggles. Fixes Bug #164976
2395 Initial patch by Stephane Loeuillet, then heavily modified.
2397 * shell/ev-view.h: update prototypes.
2399 * shell/ev-window.c (ev_window_cmd_view_best_fit)
2400 (ev_window_cmd_view_page_width): provide EvView fit functions with
2401 all the information they need. Formulas to calculate this
2402 information taken from GtkScrolledWindow.
2404 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
2406 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
2407 created a thumbnail, the list store is updated to know
2408 that the thumbnail is set. Fixes bug #166792
2410 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
2412 * shell/ev-window.c: fixed typo, closes bug 166897
2414 * TODO: updated TODO with bug numbers that are relevant
2416 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
2418 * shell/ev-window.c: Support for DnD of files. Fixes #164813
2420 2005-02-09 Vincent Noel <vnoel@cox.net>
2422 * shell/ev-window.c: (set_action_properties): Set the "Previous"
2423 and "Next" toolbar buttons as important to make them stand out.
2425 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
2429 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
2430 (start_interpreter), (stop_interpreter), (document_load),
2431 (ps_document_next_page), (ps_document_goto_page),
2432 (ps_document_set_page_size), (ps_document_widget_event),
2433 (ps_document_render):
2434 * shell/ev-page-view.c: (ev_page_view_dispose):
2435 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
2437 Fix compilation on non-gcc platforms
2439 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
2446 * pdf/xpdf/Catalog.cc:
2449 Fix the fix for CAN-2004-0888
2451 2005-02-09 Luca Ferretti <elle.uca@libero.it>
2454 * data/evince-ui.xml:
2455 * shell/ev-stock-icons.c: (ev_stock_icons_init):
2456 * shell/ev-stock-icons.h:
2457 * shell/ev-window.c: (update_action_sensitivity),
2458 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
2459 (set_action_properties):
2461 Improve toolbar layout/icons
2463 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
2465 * pdf/xpdf/pdf-document.cc:
2467 Add warnings about unimplemented/unknown link
2470 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
2472 * ps/ps-document.c: (set_up_page):
2476 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
2478 * ps/ps-document.c: (start_interpreter):
2482 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
2484 * shell/ev-page-view.c: (ev_page_view_dispose):
2485 * shell/ev-view.c: (ev_view_finalize):
2486 * shell/ev-window.c: (ev_window_setup_document),
2487 (ev_window_dispose), (ev_window_init):
2489 Solve more refs issues.
2491 I commented out the page_view initialization for now:
2492 it was never destroyed (because it's never added
2493 to a container). Because of that we was leaking
2494 gs processes. Couldnt think to a clean fix.
2495 We need to figure this out, password view has the
2496 same issue probably.
2498 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
2500 * ps/ps-document.c: (ps_document_finalize),
2501 (ps_document_get_n_pages), (ps_document_get_page):
2503 Some cleanups, stop the interpreter on finalize
2505 * shell/ev-page-view.c: (ev_page_view_dispose),
2506 (ev_page_view_class_init):
2508 Release our reference on the document
2510 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
2514 * doc/debugging.txt:
2517 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
2518 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
2519 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
2522 Add debugging helpers
2525 * ps/ps-document.c: (set_up_page), (start_interpreter),
2526 (stop_interpreter), (document_load), (ps_document_next_page),
2527 (ps_document_goto_page), (ps_document_set_page_size),
2528 (ps_document_widget_event), (ps_document_render):
2529 * shell/Makefile.am:
2530 * shell/ev-view.c: (expose_bin_window):
2531 * shell/main.c: (main):
2535 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
2537 * ps/ps-document.c: (ps_document_widget_event):
2539 Initialize message_window, this should make ps
2540 rendering really work! (Never noticed because I was
2541 testing with a ps that is causing gs to exit every time!)
2543 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
2545 * data/evince.schemas.in: updated simple error in applyto closing tag
2547 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
2553 * data/evince-ui.xml:
2554 A data/evince.schemas.in:
2556 * shell/ev-stock-icons.c: (ev_stock_icons_init):
2557 * shell/ev-stock-icons.h:
2558 * shell/ev-window.c: (update_chrome_visibility),
2559 (update_chrome_flag), (ev_window_cmd_edit_find),
2560 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
2561 (ev_window_unfullscreen), (ev_window_focus_in_event),
2562 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
2563 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
2564 (ev_window_view_sidebar_cb), (find_bar_close_cb),
2565 (ev_window_dispose), (ev_window_class_init),
2566 (set_action_properties), (set_chrome_actions), (load_chrome),
2569 Implement fullscreen mode changes from bug #164776.
2570 Also implement persistent chrome toggles.
2572 2005-02-07 Jordi Mallach <jordi@sindominio.net>
2574 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
2576 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
2582 Add another check for find interface
2586 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
2588 * shell/ev-application.c: (ev_application_open):
2589 * shell/ev-window.c: (ev_window_open):
2591 Open gzipped ps documents
2593 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
2596 * shell/ev-view.c: (set_document_page):
2598 Clamp page number, dont try to move to
2601 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
2603 * backend/ev-document-find.c: (ev_document_find_changed):
2604 * backend/ev-document-find.h:
2605 * pdf/xpdf/pdf-document.cc:
2606 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
2607 * shell/ev-window.c: (find_bar_search_changed_cb):
2609 Fix several bugs with find
2611 2005-02-04 Martin Kretzschmar <martink@gnome.org>
2613 * shell/ev-sidebar-thumbnails.c
2614 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
2615 document. Prevents warning from scroll_to_cell.
2617 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
2619 * configure.ac: Add «nb» to ALL_LINGUAS too.
2621 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
2623 * NOTES: New file with some random thoughts.
2627 * backend/ev-document-misc.c:
2628 (ev_document_misc_get_page_border_size): New function to
2629 canonicalize shadow drawing sizes. Possibly goofy.
2631 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
2632 (ev_view_best_fit), (ev_view_fit_width):
2633 * pdf/xpdf/pdf-document.cc:
2634 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
2635 * ps/ps-document.c: (ps_document_get_page_size):
2636 * backend/ev-document-misc.h:
2637 * backend/ev-document.c: (ev_document_get_page_size):
2638 * backend/ev-document.h: get_page_size now takes a page number
2639 parameter. Made all the backends/frontends honor it.
2641 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
2642 see. Doesn't work yet.
2644 * shell/Makefile.am:
2645 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
2646 Doesn't do anything yet.
2648 * shell/ev-sidebar-thumbnails.c:
2649 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
2652 * shell/ev-window.c: (update_action_sensitivity),
2653 (ev_window_setup_document), (ev_window_set_page_mode),
2654 (ev_window_page_mode_cb), (ev_window_init): Clean up the
2655 view-swapping code a bit so we can have multiple views on a
2656 document. Add the multi-page view, though it can't be turned on
2659 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
2661 * shell/ev-application.c: (ev_application_open):
2662 * shell/ev-view.c: (expose_bin_window):
2663 * shell/ev-window.c: (ev_window_open):
2665 Support eps and check document supports find
2666 before drawing highlightings in expose.
2668 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
2670 * pixbuf/pixbuf-document.c:
2671 (pixbuf_document_thumbnails_get_dimensions),
2672 (pixbuf_document_document_thumbnails_iface_init):
2674 implement get_dimensions
2676 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
2683 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
2685 * shell/ev-view.c: (set_document_page):
2687 Scroll at the top of the page when changing page
2689 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
2691 * shell/ev-view.c: (ev_view_motion_notify_event):
2693 Do not redraw unnecessarily
2695 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
2697 * pdf/xpdf/pdf-document.cc:
2698 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
2699 (expose_bin_window), (find_changed_cb):
2701 Yay! find works now... Now to find bugs...
2703 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
2705 * backend/ev-document-find.c: (ev_document_find_base_init),
2706 (ev_document_find_changed):
2707 * backend/ev-document-find.h:
2708 * pdf/xpdf/pdf-document.cc:
2709 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
2710 (expose_bin_window), (ev_view_init), (set_document_page),
2711 (ensure_rectangle_is_visible), (jump_to_find_result),
2712 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
2713 (ev_view_find_next), (ev_view_find_previous):
2715 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
2717 More work on find implementation, mostly there now
2719 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
2721 * backend/ev-backend-marshalers.list:
2722 * backend/ev-document-find.c: (ev_document_find_base_init),
2723 (ev_document_find_cancel), (ev_document_find_page_has_results),
2724 (ev_document_find_get_n_results), (ev_document_find_get_result),
2725 (ev_document_find_get_progress), (ev_document_find_changed):
2726 * backend/ev-document-find.h:
2728 Enanche the find interface to be really able to do
2731 * pdf/xpdf/pdf-document.cc:
2735 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
2736 (expose_bin_window), (ev_view_init),
2737 (ev_view_get_find_status_message), (find_changed_cb),
2738 (ev_view_set_document), (set_document_page):
2740 Adapt to the new interface. A few things are regressed sorry,
2741 I will finish it soon.
2743 2005-01-28 Martin Kretzschmar <martink@gnome.org>
2745 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
2746 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
2747 ev_sidebar_thumbnails_parent_class variable, don't define another
2748 parent_class variable.
2750 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
2751 (ev_page_action_class_init): ditto.
2753 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
2754 (pixbuf_document_class_init): ditto.
2756 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
2759 * .cvsignore: ignore various valgrind output files.
2761 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
2763 * data/evince-ui.xml:
2764 * shell/Makefile.am:
2765 * shell/ev-history.c:
2766 * shell/ev-history.h:
2767 * shell/ev-navigation-action.c:
2768 * shell/ev-navigation-action.h:
2769 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
2770 (ev_view_set_page), (ev_view_fit_width):
2772 * shell/ev-window.c: (update_action_sensitivity),
2773 (ev_window_setup_document), (register_custom_actions):
2775 Kill session history
2777 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
2779 * shell/ev-window.c: (update_action_sensitivity):
2781 Fix inverted up/down buttons
2783 2005-01-27 Martin Kretzschmar <martink@gnome.org>
2785 * shell/ev-sidebar-thumbnails.c
2786 (ev_sidebar_thumbnails_select_page): make sure the selected
2787 thumbnail stays visible.
2789 2005-01-26 Martin Kretzschmar <martink@gnome.org>
2791 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
2792 scrolled window for Federico.
2794 2005-01-26 Ole Laursen <olau@hardworking.dk>
2796 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
2798 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
2801 * pdf/splash/SplashFTFontEngine.cc:
2803 Fix CID fonts with freetype 2.1.9
2805 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
2807 * TODO: added item for desktop icon thumbnailer
2809 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
2811 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
2812 unloaded docs when the title is accessed.
2814 * shell/ev-password-view.[hc]: New widget for displaying password
2817 * shell/ev-window.[ch]: Refactor password handling code to handle
2820 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
2828 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
2830 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
2831 ignore page offset here, to make search results independent of it,
2833 * shell/ev-view.c (expose_bin_window): but take offsets into
2834 account here. Bug #164932
2836 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
2837 scale at the right time. Bug #164996
2839 2005-01-22 Martin Kretzschmar <martink@gnome.org>
2841 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
2842 fix the problem. Now I just removed the Adobe font names and hope
2843 that the URW fonts are always in outline format. Bug #164934
2845 * shell/ev-window.c (update_window_title): empty titles are
2846 useless, use filename in that case too.
2848 * NEWS: Add some content.
2850 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
2852 * TODO: added one more TODO item and a TODONE section :)
2854 2005-01-21 Martin Kretzschmar <martink@gnome.org>
2856 * ps/ps-document.h: add page_[xy]_offset fields.
2858 * ps/ps-document.c (ps_document_set_page_offset)
2859 (ps_document_render): Keep offset in consideration in a few
2860 places. Bug #164752 "postscript documents are not centered in
2863 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
2864 s/gpdf/evince/. Spotted by Stephane Loeuillet.
2866 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
2867 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
2868 stub out missing methods for complete EvDocument implementation.
2869 Fixes segfaults with Save A Copy and Copy actions.
2871 * ps/ps-document.c (ps_document_save, ps_document_get_text)
2872 (ps_document_document_iface_init): ditto.
2874 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
2878 * data/evince.desktop.in:
2882 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
2884 * shell/ev-view.c: (ev_view_button_press_event),
2885 (ev_view_motion_notify_event):
2887 Make selection work in any direction
2889 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
2892 * shell/ev-window.c: (set_short_labels), (ev_window_init):
2894 Use shorter labels for some of the toolbars items
2896 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
2898 * pdf/xpdf/pdf-document.cc:
2900 Check the links info is initialized before
2901 using it. Should fix a crash on startup.
2903 2005-01-21 Martin Kretzschmar <martink@gnome.org>
2905 * pixbuf/pixbuf-document.c
2906 (pixbuf_document_thumbnails_get_dimensions): force floating point
2907 division to calculate page_ratio. Fixes crash with landscape
2910 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
2912 * shell/ev-view.c (ev_view_realize): make the bg color darker.
2914 2005-01-20 Martin Kretzschmar <martink@gnome.org>
2916 * shell/ev-view.c (set_document_page): unset has_selection when
2918 (set_document_page): handle paper size changes when the page
2919 changes (test with Free Culture, page 2).
2921 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
2923 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
2924 (expose_bin_window), (ev_view_class_init), (ev_view_init):
2926 Use normal style color for the widget background and
2927 draw a black box around the page.
2929 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
2931 * pdf/xpdf/pdf-document.cc:
2933 Keep offset in consideration in a few places
2935 * shell/ev-view.c: (expose_bin_window):
2937 Set the offsets so that the document is ever centered
2939 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
2941 * TODO: Added TODO items and finished off the first todo item
2943 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
2944 reflect current authors
2946 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
2948 * pdf/xpdf/pdf-document.cc:
2949 * shell/ev-view.c: (ev_view_set_cursor),
2950 (ev_view_motion_notify_event), (document_changed_callback),
2951 (set_document_page):
2953 Show a wait cursor while the page is rendering
2955 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
2957 * shell/ev-sidebar-thumbnails.c:
2958 (ev_sidebar_tree_selection_changed),
2959 (ev_sidebar_thumbnails_select_page):
2960 * shell/ev-sidebar-thumbnails.h:
2961 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
2962 (ev_view_can_go_forward):
2963 * shell/ev-window.c: (ev_window_open_page),
2964 (ev_window_setup_document), (update_current_page),
2965 (view_page_changed_cb), (ev_window_init):
2966 * shell/ev-window.h:
2968 Ensure thumbnails selection, toolbar page control and
2969 current page are in sync.
2971 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
2977 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
2979 * backend/Makefile.am:
2980 * backend/ev-document-links.h:
2981 * backend/ev-document-security.c: (ev_document_security_get_type),
2982 (ev_document_security_has_document_security),
2983 (ev_document_security_set_password):
2984 * backend/ev-document-security.h:
2985 * backend/ev-document.c: (ev_document_error_quark):
2986 * backend/ev-document.h:
2988 * data/evince-password.glade:
2989 * pdf/xpdf/pdf-document.cc:
2990 * shell/Makefile.am:
2991 * shell/ev-password.c: (ev_password_set_bad_password_label),
2992 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
2993 (ev_password_dialog_get_password),
2994 (ev_password_dialog_set_bad_pass):
2995 * shell/ev-password.h:
2996 * shell/ev-window.c: (ev_window_get_attribute),
2997 (ev_window_set_property), (update_action_sensitivity),
2998 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
2999 (ev_window_setup_document), (ev_window_get_password),
3000 (ev_window_open), (ev_window_cmd_save_as),
3001 (using_postscript_printer), (ev_window_print),
3002 (find_not_supported_dialog), (ev_window_cmd_edit_find),
3003 (update_fullscreen_popup), (ev_window_fullscreen),
3004 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
3005 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
3006 (menu_item_select_cb), (find_bar_search_changed_cb),
3007 (ev_window_dispose), (ev_window_init):
3009 Add initial support for password-supported dialogs. This could be
3010 a lot cooler, but it'll do for now.
3012 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
3014 * pdf/xpdf/pdf-document.cc:
3015 * shell/ev-view.c: (status_message_from_link),
3016 (ev_view_set_status), (ev_view_set_cursor),
3017 (ev_view_motion_notify_event), (ev_view_init):
3018 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
3020 Fix bugs in the links implementation and change cursor
3021 when hovering a link.
3023 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
3025 * viewer/.cvsignore: added cvsignore file for viewer directory
3027 * TODO: created TODO document
3029 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
3032 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
3033 new functions to help with implementation of sensitivity code
3034 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
3035 of all actions that might require it. Fixes a crash when you
3036 click on the Zoom actions in a window lacking a document.
3038 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
3040 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
3043 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
3045 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
3046 (pixbuf_document_document_iface_init):
3047 * ps/ps-document.c: (ps_document_get_link),
3048 (ps_document_document_iface_init):
3049 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
3050 (status_message_from_link), (ev_view_set_status),
3051 (ev_view_set_find_status), (ev_view_motion_notify_event),
3052 (ev_view_button_release_event), (ev_view_set_property),
3053 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
3054 (ev_view_get_find_status_message), (update_find_results),
3055 (ev_view_get_status), (ev_view_get_find_status):
3057 * shell/ev-window.c: (view_status_changed_cb),
3058 (view_find_status_changed_cb), (ev_window_init):
3060 View status message support, use it to show the links.
3063 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
3065 * backend/ev-document.c: (ev_document_get_link):
3066 * backend/ev-document.h:
3067 * pdf/xpdf/pdf-document.cc:
3068 * shell/ev-application.c: (ev_application_open):
3069 * shell/ev-application.h:
3070 * shell/ev-sidebar-links.c: (selection_changed_cb):
3071 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
3072 (ev_view_go_to_link):
3074 Add support for document links
3076 2005-01-13 Anders Carlsson <andersca@gnome.org>
3078 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
3080 Set the spin button limits correctly.
3082 * shell/ev-sidebar-thumbnails.c:
3083 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
3084 Support changing pages by clicking on the thumbnails.
3086 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
3088 * pixbuf/pixbuf-document.c:
3089 (pixbuf_document_thumbnails_get_dimensions),
3090 (pixbuf_document_document_thumbnails_iface_init):
3092 implement get_dimensions
3094 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
3096 * ps/ps-document.c: (ps_document_goto_page):
3098 Fix page switching on multipage documents
3100 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
3102 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
3104 check for NULL before assigning to width and height parameters
3106 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
3108 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3109 (pixbuf_document_set_property), (pixbuf_document_get_property):
3111 implement get/set properties
3113 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
3115 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
3117 return NULL instead of "Unknown", letting the title get set to
3118 the filename when the pdf has no title.
3120 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
3122 * ps/ps-document.c: (ps_document_get_page_count),
3123 (ps_document_goto_page):
3125 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
3127 * shell/ev-history.c: (ev_history_get_property),
3128 (ev_history_set_property), (ev_history_class_init),
3129 (ev_history_add_page), (ev_history_set_current_index):
3130 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
3131 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
3132 (ev_navigation_action_finalize):
3133 * shell/ev-navigation-action.h:
3134 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
3135 (ev_view_go_forward), (ev_view_get_find_status_message),
3136 (history_index_changed_cb), (ev_view_set_history):
3138 * shell/ev-window.c: (update_total_pages), (ev_window_open),
3139 (update_current_page), (register_custom_actions):
3141 Implement history dropdowns
3143 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
3145 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
3146 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
3147 (ev_view_go_forward):
3148 * shell/ev-window.c: (register_custom_actions):
3150 Fix several history bugs
3152 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
3154 * configure.ac: Add «nb» to ALL_LINGUAS.
3156 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
3158 * backend/Makefile.am:
3159 * backend/ev-bookmark.c:
3160 * backend/ev-bookmark.h:
3161 * backend/ev-document-bookmarks.c:
3162 * backend/ev-document-bookmarks.h:
3163 * backend/ev-document-links.c: (ev_document_links_get_type),
3164 (ev_document_links_has_document_links),
3165 (ev_document_links_begin_read), (ev_document_links_get_link),
3166 (ev_document_links_get_child), (ev_document_links_next),
3167 (ev_document_links_free_iter):
3168 * backend/ev-document-links.h:
3169 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
3170 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
3171 (ev_link_get_link_type), (ev_link_set_link_type),
3172 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
3173 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
3174 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
3175 (ev_link_new_external):
3176 * backend/ev-link.h:
3177 * pdf/xpdf/pdf-document.cc:
3178 * shell/Makefile.am:
3179 * shell/ev-application.c: (ev_application_open_link):
3180 * shell/ev-application.h:
3181 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
3182 (ev_history_get_link_nth):
3183 * shell/ev-history.h:
3184 * shell/ev-sidebar-bookmarks.c:
3185 * shell/ev-sidebar-bookmarks.h:
3186 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3187 (ev_sidebar_links_class_init), (selection_changed_cb),
3188 (ev_sidebar_links_construct), (ev_sidebar_links_init),
3189 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
3190 (do_one_iteration), (populate_links_idle),
3191 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
3192 * shell/ev-sidebar-links.h:
3193 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3194 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
3197 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
3198 * shell/ev-window.h:
3200 Rename bookmark to link, and use "Index" for the sidebar panel.
3202 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
3204 * shell/Makefile.am:
3205 * shell/ev-application.c: (ev_application_open_bookmark):
3206 * shell/ev-application.h:
3207 * shell/ev-history.c: (ev_history_init), (free_links_list),
3208 (ev_history_finalize), (ev_history_class_init),
3209 (ev_history_add_link), (ev_history_add_page),
3210 (ev_history_get_link_nth), (ev_history_get_n_links),
3211 (ev_history_get_current_index), (ev_history_set_current_index),
3213 * shell/ev-history.h:
3214 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
3215 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
3216 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
3217 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
3220 * shell/ev-window.c: (ev_window_open_bookmark),
3221 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
3222 (goto_page_cb), (register_custom_actions):
3223 * shell/ev-window.h:
3225 Initial history implementation. Needs work.
3227 2005-01-09 Martin Kretzschmar <martink@gnome.org>
3229 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
3231 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
3233 * cut-n-paste/recent-files/egg-recent-item.c:
3234 * cut-n-paste/recent-files/egg-recent-item.h:
3235 * cut-n-paste/recent-files/egg-recent-model.c:
3236 * cut-n-paste/recent-files/egg-recent-util.c:
3237 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3238 * cut-n-paste/recent-files/egg-recent-view.c:
3242 2005-01-08 Martin Kretzschmar <martink@gnome.org>
3244 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
3245 (fillGlyph, fillImageMask, drawImage):
3246 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
3247 pdf/splash/SplashTypes.h:
3248 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
3249 packed mode for Splash.
3251 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
3252 RGB8 packed mode, eliminates the pixbuf data creation loop.
3254 * shell/ev-print-job.c (ev_print_job_finalize)
3255 (ev_print_job_set_property, ev_print_job_get_property)
3256 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
3257 (ev_print_job_use_print_dialog_settings, idle_print_handler)
3258 (print_closure_finalize, ev_print_job_print): implement
3259 printing (for backends with EvPsExporter)
3261 * shell/ev_print_job.h: update prototypes.
3263 * shell/ev-window.c (ev_window_print): unref print job after
3266 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
3267 unless the document implements the EvDocumentFind interface.
3269 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
3271 * configure.ac: Added ja to ALL_LINGUAS.
3273 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3275 * pdf/xpdf/pdf-document.cc:
3277 add a FIXME. We should probably not allocate
3278 a bookmark object every time
3280 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3282 * shell/ev-application.c: (ev_application_open),
3283 (ev_application_open_bookmark):
3284 * shell/ev-application.h:
3286 Add a way to open bookmarks
3288 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
3289 (ev_bookmark_set_uri), (ev_bookmark_get_property),
3290 (ev_bookmark_set_property), (ev_bookmark_class_init),
3291 (ev_bookmark_new_title), (ev_bookmark_new_link),
3292 (ev_bookmark_new_external):
3294 Support for external uris, better constructors.
3296 * backend/ev-bookmark.h:
3297 * pdf/xpdf/pdf-document.cc:
3298 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
3300 Handle external uris
3302 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3304 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
3305 (ev_sidebar_bookmarks_construct), (do_one_iteration):
3307 Hook up bookmarks navigation
3309 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3311 * backend/Makefile.am:
3312 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
3313 (ev_bookmark_get_title), (ev_bookmark_set_title),
3314 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
3315 (ev_bookmark_get_page), (ev_bookmark_set_page),
3316 (ev_bookmark_get_property), (ev_bookmark_set_property),
3317 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
3319 * backend/ev-bookmark.h:
3320 * backend/ev-document-bookmarks.c:
3321 (ev_document_bookmarks_get_bookmark):
3322 * backend/ev-document-bookmarks.h:
3323 * pdf/xpdf/pdf-document.cc:
3324 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
3326 Add a bookmark object to the backend and use it instead of get_values
3328 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3330 * data/evince-ui.xml:
3332 Cleanup and add select all.
3334 * shell/ev-view.c: (ev_view_select_all),
3335 (ev_view_button_press_event):
3337 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
3340 Clear selection on click.
3342 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
3344 * shell/ev-sidebar-thumbnails.c
3345 (ev_sidebar_thumbnails_set_document): forgot to unref the
3348 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
3350 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
3351 at the visible page, not just linearly. This makes it look fast.
3353 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
3355 * backend/ev-document-misc.c
3356 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
3358 * backend/ev-document-thumbnails.h: New interface to get the size
3361 2005-01-06 Jeremy Katz <katzj@redhat.com>
3363 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
3366 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
3368 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
3369 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
3372 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
3374 2005-01-05 Martin Kretzschmar <martink@gnome.org>
3376 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
3377 fonts. Should fix font problems on systems that have the base
3378 fonts in bitmap format. Reported by James Henstridge
3379 <james@jamesh.id.au>.
3381 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
3384 * pdf/xpdf/GfxState.cc:
3386 Fix for CAN-2004-1125
3388 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
3390 * shell/ev-view.c: (ev_view_copy):
3392 * shell/ev-window.c: (ev_window_cmd_edit_copy):
3394 Implement Edit->Copy
3396 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
3398 * backend/ev-document.c: (ev_document_get_text):
3399 * backend/ev-document.h:
3400 * pdf/xpdf/pdf-document.cc:
3401 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
3402 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3403 (ev_view_update_primary_selection), (ev_view_button_press_event),
3404 (ev_view_motion_notify_event), (ev_view_button_release_event):
3406 Beginnings of clipboard support. Incomplete but primary sort
3409 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
3411 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
3412 (expose_bin_window):
3414 Nicer rubberband drawing, from GtkIconView.
3416 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
3418 * backend/ev-document.c: (ev_document_save):
3419 * backend/ev-document.h:
3420 * data/evince-ui.xml:
3421 * pdf/xpdf/pdf-document.cc:
3422 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
3424 Implement "Save a copy..." menu item
3426 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
3428 * shell/ev-view.c: (ev_view_zoom):
3430 Queue a resize when zoom changes
3432 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
3434 * backend/ev-document-misc.[ch]: New misc file to do simple drop
3437 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
3440 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
3442 * pdf/xpdf/pdf-document.cc
3443 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
3445 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
3447 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
3448 It's slow, but I'll speed it up next!
3450 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
3452 * shell/main.c (load_files):
3454 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
3455 from the command line and because it seems more appropriate.
3457 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
3459 * data/evince-ui.xml:
3460 * shell/ev-window.c: (update_action_sensitivity),
3461 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
3463 s/next page/page down
3464 s/previous page/page up
3466 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
3468 * data/evince-ui.xml:
3470 Change the layout to match clarkbw design.
3472 * shell/Makefile.am:
3473 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
3474 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
3475 (ev_navigation_action_finalize),
3476 (ev_navigation_action_set_property),
3477 (ev_navigation_action_get_property),
3478 (ev_navigation_action_class_init):
3479 * shell/ev-navigation-action.h:
3481 Implement clarkbw toolbar navigation controls (incomplete)
3483 * shell/ev-page-action.c: (update_label), (update_spin),
3484 (value_changed_cb), (create_tool_item), (connect_proxy),
3485 (ev_page_action_init), (ev_page_action_finalize),
3486 (ev_page_action_set_property), (ev_page_action_get_property),
3487 (ev_page_action_set_current_page),
3488 (ev_page_action_set_total_pages), (ev_page_action_class_init):
3489 * shell/ev-page-action.h:
3491 Implement a page switcher in the toolbar
3493 * shell/ev-view.c: (ev_view_scroll_view):
3494 * shell/ev-window.c: (update_total_pages), (ev_window_open),
3495 (update_current_page), (view_page_changed_cb), (goto_page_cb),
3496 (register_custom_actions), (ev_window_init):
3498 Change page on PageUp/Down.
3500 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
3502 * pdf/xpdf/pdf-document.cc
3503 (pdf_document_thumbnails_get_thumbnail): initial stab at
3504 implementing thumbnail support for pdfs. It only does documents
3505 with precached pdfs now.
3507 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
3509 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
3510 thumbnail code into a time-based idle as well. Also, turn off the
3511 shadow temporarily as it's really slow.
3513 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
3515 * backend/ev-document.c: (ev_document_class_init):
3516 * pdf/xpdf/pdf-document.cc:
3517 * shell/ev-window.c: (ev_window_open):
3519 Fix document title bugs and fallback to
3520 filename when not available.
3522 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
3524 * backend/ev-document.c: (ev_document_get_type),
3525 (ev_document_class_init), (ev_document_load),
3526 (ev_document_get_title):
3527 * backend/ev-document.h:
3528 * pdf/xpdf/pdf-document.cc:
3529 * ps/ps-document.c: (ps_document_set_property),
3530 (ps_document_get_property), (ps_document_class_init),
3534 * shell/ev-window.c: (update_window_title), (ev_window_open),
3537 Initial support for document title. Not working yet.
3539 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
3541 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
3543 Grab focus on the view when clicking it
3545 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
3547 * shell/ev-marshal.list:
3548 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
3549 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
3551 Add key bindings to the view. Now if the focus would work
3554 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
3557 * backend/Makefile.am:
3560 * dvi/dvilib/Makefile.am:
3561 * pdf/xpdf/Makefile.am:
3567 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
3569 * shell/ev-view.c: (ev_view_realize):
3571 Fix mouse wheel scrolling
3573 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
3579 * ps/ps-document.c: (catchPipe), (ps_document_init),
3580 (ps_document_class_init), (ps_document_cleanup),
3581 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
3582 (set_up_page), (close_pipe), (is_interpreter_ready),
3583 (interpreter_failed), (output), (input), (start_interpreter),
3584 (stop_interpreter), (file_length), (file_readable),
3585 (check_filecompressed), (check_pdf), (compute_xdpi),
3586 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
3587 (ps_document_get_type), (ps_document_emit_error_msg),
3588 (document_load), (ps_document_next_page),
3589 (ps_document_get_current_page), (ps_document_get_page_count),
3590 (ps_document_goto_page), (ps_document_set_page_size),
3591 (ps_document_zoom_to_fit), (ps_document_set_zoom),
3592 (ps_document_load), (ps_document_get_n_pages),
3593 (ps_document_set_page), (ps_document_get_page),
3594 (ps_document_widget_event), (ps_document_set_target),
3595 (ps_document_set_scale), (ps_document_set_page_offset),
3596 (ps_document_get_page_size), (ps_document_render),
3597 (ps_document_document_iface_init):
3600 * shell/ev-window.c: (ev_window_open):
3602 Rename GtkGS to PSDocument
3604 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
3606 * ps/gtkgs.c: (gtk_gs_class_init):
3609 Some more leftover...
3611 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
3613 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
3614 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
3615 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
3618 Remove unused code and make a lot of stuff private
3620 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
3622 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
3623 (gtk_gs_defaults_changed):
3629 Cleanup headers dependencies
3631 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
3636 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
3638 * ps/gtkgs.c: (file_length), (file_readable),
3639 (check_filecompressed), (check_pdf), (gtk_gs_load),
3640 (gtk_gs_get_postscript):
3644 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
3649 * ps/gtkgs.c: (gtk_gs_set_zoom):
3653 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
3655 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
3657 Ensure the page is rerendered when changing zoom
3659 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
3661 * backend/ev-document.c: (ev_document_base_init),
3662 (ev_document_changed):
3663 * backend/ev-document.h:
3665 Add a changed event that is emitted when the page content
3666 changes. This is necessary to deal with the fact that
3667 in ps backend rendering happen asycrounously.
3668 This makes the ps backend mostly work.
3670 * pdf/xpdf/pdf-document.cc:
3674 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
3675 (ps_document_set_target):
3679 * shell/ev-view.c: (document_changed_callback),
3680 (ev_view_set_document), (ev_view_set_page):
3682 Redraw on the changed signal
3684 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
3686 * configure.ac: Added pt_BR to ALL_LINGUAS.
3688 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
3690 * backend/ev-document-bookmarks.c:
3691 (ev_document_bookmarks_get_child): *
3692 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
3693 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
3694 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
3695 (ev_sidebar_bookmarks_destroy),
3696 (ev_sidebar_bookmarks_class_init),
3697 (ev_sidebar_bookmarks_construct), (stack_data_free),
3698 (do_one_iteration), (populate_bookmarks_idle),
3699 (ev_sidebar_bookmarks_clear_document),
3700 (ev_sidebar_bookmarks_set_document): *
3701 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
3702 (ev_sidebar_add_page),
3703 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
3704 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
3705 it displays both the topics and the page numbers.
3707 2004-12-23 Kristian Høgsberg <krh@redhat.com>
3709 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
3711 * shell/ev-window.c (toggle_entries): Set sidebar default value to
3714 2004-12-23 Adam Weinberger <adamw@gnome.org>
3716 * configure.ac: Added en_CA to ALL_LINGUAS.
3718 2004-12-23 Martin Kretzschmar <martink@gnome.org>
3720 * ChangeLog: replace bottom of this ChangeLog (merged history of
3721 ggv and gpdf; where all paths were wrong and most of the files are
3722 not even in this tree) with ChangeLog (from arch) of the shell
3725 2004-12-23 Havoc Pennington <hp@redhat.com>
3727 * shell/ev-window.c: hook up potentially-questionable "find
3728 results status text" feature - something involving the sidebar or
3729 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
3730 might be better in the end.
3732 * shell/ev-view.c (ev_view_get_find_status_message): new function,
3733 with corresponding signal when it should be updated
3735 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
3737 2004-12-22 Havoc Pennington <hp@redhat.com>
3739 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
3740 find stuff on other pages, sort of (only returns one result on
3741 invisible pages, to show they have results; updates full results
3742 for a page when you view it). Currently repaints the current page
3743 every time a new result is found on any page, which isn't so nice.
3745 2004-12-22 Havoc Pennington <hp@redhat.com>
3747 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
3748 the document doesn't support find (better ideas?)
3749 (find_bar_search_changed_cb): handle missing document or document
3750 that doesn't support find
3752 * pdf/xpdf/pdf-document.cc: port to implement the new
3755 * backend/ev-document-find.c: create a new interface for searching
3757 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
3759 2004-12-23 Martin Kretzschmar <martink@gnome.org>
3761 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
3764 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
3765 EvPrintJob constructor arguments.
3767 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
3768 for documents that can export PostScript (page by page).
3770 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
3772 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
3773 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
3774 (pdf_document_ps_exporter_iface_init:
3775 Implement EvPSExporter.
3777 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
3779 2004-12-22 Anders Carlsson <andersca@gnome.org>
3781 * backend/Makefile.am:
3782 * backend/ev-document-thumbnails.c:
3783 (ev_document_thumbnails_get_type),
3784 (ev_document_thumbnails_get_thumbnail):
3785 * backend/ev-document-thumbnails.h:
3786 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
3787 (pixbuf_document_thumbnails_get_thumbnail),
3788 (pixbuf_document_document_thumbnails_iface_init):
3789 * shell/Makefile.am:
3790 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
3791 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
3792 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
3793 * shell/ev-sidebar-thumbnails.h:
3794 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3795 (ev_sidebar_set_document):
3796 * shell/ev-utils.c: (gaussian), (create_blur_filter),
3797 (create_shadow), (ev_pixbuf_add_shadow):
3799 Add thumbnail support.
3801 2004-12-22 Martin Kretzschmar <martink@gnome.org>
3803 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
3804 (using_postscript_printer): Set up a print dialog for "PostScript
3807 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
3810 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
3812 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
3814 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
3815 (ps_document_set_target), (ps_document_get_page_size),
3816 (ps_document_render):
3821 2004-12-22 Christian Rose <menthos@menthos.com>
3823 * configure.ac: Added "sv" to ALL_LINGUAS.
3825 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
3827 * backend/ev-document-bookmarks.[ch]: new interface to indicate
3828 document supports bookmarks.
3830 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
3832 * ps/ggvutils.c: (ggv_file_readable):
3834 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
3835 (gtk_gs_get_postscript):
3839 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
3841 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
3842 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
3843 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
3844 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
3845 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
3846 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
3847 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
3848 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
3849 (gtk_gs_set_antialiasing), (ps_document_load),
3850 (ps_document_render):
3853 Another check point for the ps backend. Now I can get it to show
3856 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
3858 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
3859 document setting code.
3861 2004-12-22 Anders Carlsson <andersca@gnome.org>
3863 * shell/eggfindbar.c: (entry_activate_callback):
3864 Animate the next button when activate is pressed.
3866 2004-12-22 Anders Carlsson <andersca@gnome.org>
3868 * shell/ev-window.c: (ev_window_cmd_edit_find),
3869 (update_fullscreen_popup), (ev_window_fullscreen),
3870 (ev_window_unfullscreen), (ev_window_state_event_cb),
3871 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
3872 Fix bugs in fullscreen code.
3874 2004-12-22 Anders Carlsson <andersca@gnome.org>
3878 * pixbuf/Makefile.am:
3879 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
3880 (pixbuf_document_load), (pixbuf_document_get_n_pages),
3881 (pixbuf_document_set_page), (pixbuf_document_get_page),
3882 (pixbuf_document_set_target), (pixbuf_document_set_scale),
3883 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
3884 (pixbuf_document_render), (pixbuf_document_begin_find),
3885 (pixbuf_document_end_find), (pixbuf_document_finalize),
3886 (pixbuf_document_class_init),
3887 (pixbuf_document_document_iface_init), (pixbuf_document_init):
3888 * pixbuf/pixbuf-document.h:
3889 * shell/Makefile.am:
3890 * shell/ev-application.c: (ev_application_open):
3891 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
3895 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
3898 * dvi/dvilib/Makefile.am:
3900 * configure.ac: Auto*ify dvi and dvi/dvilib
3902 * dvi/Makefile: Remove from CVS
3904 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
3907 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
3909 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
3911 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
3914 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
3915 (gtk_gs_value_adjustment_changed), (compute_size),
3916 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
3917 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
3918 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
3919 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
3920 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
3921 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
3922 (ps_document_load), (ps_document_get_n_pages),
3923 (ps_document_set_page), (ps_document_get_page),
3924 (ps_document_set_target), (ps_document_set_scale),
3925 (ps_document_set_page_offset), (ps_document_get_page_size),
3926 (ps_document_render), (ps_document_begin_find),
3927 (ps_document_end_find), (ps_document_document_iface_init):
3929 * shell/Makefile.am:
3930 * shell/ev-window.c: (ev_window_open):
3932 Some work to integrate gtkgs with EvDocument
3934 2004-12-22 Anders Carlsson <andersca@gnome.org>
3936 * shell/ev-window.c: (update_fullscreen_popup),
3937 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
3938 (exit_fullscreen_button_clicked_cb),
3939 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
3940 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
3941 (ev_window_state_event_cb), (ev_window_init):
3942 Add fullscreen support from Epiphany.
3944 2004-12-22 Mark McLoughlin <mark@skynet.ie>
3946 * data/ev-stock-zoom-fit-width.png: fit-width
3947 stock icon from gpdf.
3949 * shell/ev-stock-icons.[ch]: copied from gpdf.
3951 * shell/main.c: (main): init stock icons.
3953 * shell/ev-window.c: use the fit-width icon.
3955 * data/evince-ui.xml: add zooming toolbar items.
3957 2004-12-22 Mark McLoughlin <mark@skynet.ie>
3960 (ev_view_best_fit), (ev_view_fit_width): because
3961 get_page_size() returns the scaled page size, we
3962 need to calculate the scale factor relative to
3963 the previous scale factor. Should really just
3964 add get_real_page_size().
3966 2004-12-22 Mark McLoughlin <mark@skynet.ie>
3968 * shell/ev-view.[ch]:
3969 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
3970 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
3973 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3974 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
3975 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
3978 * pdf/xpdf/pdf-document.cc:
3979 (pdf_document_begin_find),
3980 (pdf_document_end_find): make static.
3982 2004-12-22 Martin Kretzschmar <martink@gnome.org>
3984 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
3986 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
3987 names to fontconfig patterns.
3988 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
3990 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
3993 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
4009 Import ggv backend. Not hooked up yet.
4011 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4013 * shell/main.c: (load_files), (main): load files
4014 from the command line.
4016 2004-12-22 Mark McLoughlin <mark@skynet.ie>
4018 * configure.ac: don't require bonobo.
4020 * cut-n-paste/recent-files/*: kill bonobo recent
4023 * shell/ev-window.c:
4024 (ev_window_is_empty): upd.
4025 (unable_to_load), (ev_window_open): load backend
4026 based on the mime type.
4028 2004-12-22 Martin Kretzschmar <martink@gnome.org>
4030 * backend/.cvsignore: ignore generated marshalers source.
4032 * shell/main.c (main): this is not epiphany.
4034 2004-12-22 Havoc Pennington <hp@redhat.com>
4036 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
4037 (expose_bin_window): draw find highlights
4039 * shell/ev-window.c (find_bar_search_changed_cb): implement
4041 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
4042 (pdf_document_end_find): implement this interface
4044 * backend/ev-document.c (ev_document_found): add this to emit
4047 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
4049 * data/evince-ui.xml: Add a few more toolbar items.
4051 * shell/ev-window.c: Hook up page navigation toolbar
4054 * shell/ev-view.[ch]: add ev_view_set/get_page and
4055 a page-changed signal.
4057 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
4058 Add ev_document_get_page().
4060 * shell/ev-window.c: Sensitize/desensitize navigation
4063 2004-12-21 Havoc Pennington <hp@redhat.com>
4065 * backend/ev-backend-marshal.c,
4066 backend/ev-backend-marshalers.list, backend/Makefile.am: add
4067 marshaler-generator thingy. I'm sure there's a better way to do
4068 this in the modern world.
4070 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
4071 end_find methods and "found" signal.
4073 * configure.ac: find glib-genmarshal
4075 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
4077 * shell/ev-sidebar.c: Construct an actual sidebar.
4078 * shell/ev-sidebar-bookmarks.[ch]:
4079 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
4081 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
4083 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
4086 * shell/ev-view.c: Track the size from the document.
4088 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
4090 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
4091 constructor assumes ownership of the string passed in.
4093 * shell/ev-window.c (ev_window_open): Destroy the error
4094 dialog once we've displayed it.
4096 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
4098 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
4099 a bit, it works! (sort of)
4101 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
4102 Move to .cc since we need to use C++ in the implementation.
4104 * shell/dummy.cc: Add a CC file to force evince
4105 to be linked as a C++ program.
4107 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
4109 * shell/ev-view.[ch]: Start of content-area widget.
4111 * shell/ev-window.c: Create a EvView, update it
4112 as we change documents.
4114 * shell/Makefile.am shell/ev-marshal.list: Add
4115 generated marshalers.
4117 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
4119 * Makefile.am (SUBDIRS): move shell.
4121 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
4123 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
4124 .a to libtool convenience libraries.
4126 * shell/ev-window.c (ev_window_open): Hard code loading
4129 * backend/ev-document.h: Add a boolean return to load(),
4130 fix GError * to GError **.
4132 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
4133 object for a PDF backend EvDocument.
4135 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
4137 * dvi/*: New directory with the beginning of a .dvi backend.
4139 2004-12-21 Havoc Pennington <hp@redhat.com>
4141 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
4142 previous/next instead of back/forward
4144 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
4146 * backend/ev-document.[ch]: Fix a couple of problems so
4149 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
4151 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
4152 to backend/ directory, rename EvViewer to EvDocument.
4154 2004-12-21 Havoc Pennington <hp@redhat.com>
4156 * shell/ev-window.c: hook up the find bar widget; now we just need
4157 a document to find things in
4159 * shell/eggfindbar.c: a find bar widget
4161 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
4163 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
4165 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
4167 * pdf/**: Import of xpdf code from gpdf.
4169 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
4171 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
4172 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
4173 Fix FreeType includes.
4175 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
4176 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
4177 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
4178 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
4179 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
4180 Include xpdfconfig.h
4182 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
4184 * shell/ev-window.c (ev_window_dispose): dispose can be called
4187 2004-12-21 Havoc Pennington <hp@redhat.com>
4189 * shell/ev-window.c (ev_window_init): set title to Document Viewer
4192 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
4193 items; really they should be synced with the strings, etc. from
4194 current gpdf, but just getting the boring typing out of the way
4196 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
4199 * shell/ev-application.c: (window_destroy_cb):
4200 * shell/ev-window.c:
4201 * shell/main.c: (main):
4203 Actually show the window...
4205 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
4208 * shell/Makefile.am:
4209 * shell/ev-application.c: (ev_application_class_init):
4210 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
4214 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
4216 Import to gnome cvs.
4218 * Remove copies of gpdf and ggv trees.
4219 * Rip out all the recursive configure code.
4220 * Remove bonobo machinery.
4221 * viewer/*: GInterfaces that backends should/can implement.
4223 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
4225 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
4228 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
4230 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
4231 (ev_application_finalize, ev_application_class_init)
4232 (ev_application_init): use GType instance private data for priv.
4234 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
4235 (ev_window_finalize, ev_window_class_init)
4236 (ev_window_init): ditto.
4238 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
4240 * shell/ev-application.c (ev_application_new_window): make public
4241 (ev_application_show_initial_window): kill.
4243 * shell/ev-application.h: update prototypes.
4245 * shell/main.cc (main): inline ev_application_show_initial_window.
4247 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
4249 * shell/ev-application.c (ev_application_new_window): impl.
4250 (ev_application_show_initial_window): use it.
4251 (is_window_empty, ev_application_get_empty_window): returns an
4252 existing empty window or a new one.
4253 (ev_application_open): from ev_window_cmd_file_open.
4255 * shell/ev-application.h: update prototypes
4257 * shell/ev-window.c (ev_window_is_empty): impl.
4258 (ev_window_open): make public.
4259 (ev_window_cmd_file_open): use ev_application_open
4261 * shell/ev-window.h: update prototypes, remove unused.
4263 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
4265 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
4266 move destroy handler out of here...
4268 * shell/ev-application.c, shell/ev-application.h: ...into this new
4269 class. Also handles initial window creation.
4271 * shell/main.cc (main): use EvApplication to create initial
4274 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
4276 * Makefile.am (SUBDIRS): add cut-n-paste
4278 * cut-n-paste/Makefile.am: add
4280 * configure.ac: generate Makefiles in cut-n-paste
4282 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
4284 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
4285 (ev_window_class_init): install ev_window_dispose.
4287 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
4289 * shell/ev-window.h, shell/ev-window.c: replace gchar with
4290 char (gchar looks stupid).
4292 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
4294 * po/de.po: updated German translation.
4296 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
4298 * configure.ac: add more pkg-config library checks for gnome-vfs,
4301 * gpdf/configure.in: temporarily disable libpaper
4302 checks. Otherwise I'd have to add the checks for the shell, too.
4304 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4306 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
4307 and * file filters to the file choose.
4309 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4311 * po/de.po: Updated German translation.
4313 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4315 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
4317 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4319 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
4321 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
4322 (ev_window_init): implement those menuitems.
4324 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4326 * data/evince-ui.xml: add a toolbar (with FileOpen action)
4328 * shell/ev-window.c (ev_window_init): use the toolbar.
4330 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4332 * shell/ev-window.c (ev_window_init): use menu translations
4334 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4336 * configure.ac: add "de" to ALL_LINGUAS.
4338 * po/de.po: add German translation.
4340 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4342 * Makefile.am (SUBDIRS): add po
4344 * configure.ac: check intltool, glib-gettext etc, generate
4347 * po, po/POTFILES.in, po/POTFILES.skip: new.
4349 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4351 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
4352 already use (#ifdef ENABLE_NLS)
4354 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
4355 pointer indirection thinko.
4357 * shell/main.c: include gi18n.h for bindtextdomain etc.
4359 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4361 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
4362 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
4363 tooltips for menu items in the statusbar.
4365 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4367 * configure.ac, data/Makefile.am, shell/Makefile.am: use
4368 pkgdatadir drop UIDIR
4370 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4372 * data/evince-ui.xml: Add File->Open menu item
4374 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
4375 chooser), hook it up in the ui manager.
4377 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4379 * shell/ev-window.c: fix Help->About tooltip.
4381 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4383 * configure.ac: set CFLAGS for libevprivate.
4385 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
4386 definitions, factory etc.
4388 * lib/Makefile.am: build libevprivate.a (only stock icon code).
4390 * shell/Makefile.am: link against libevprivate.a.
4392 * shell/ev-window.c (entries): add stock icon to Help->About.
4394 * shell/main.c (main): init stock icon code.
4396 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4398 * lib/recent-files: egg recent files code
4400 * lib/Makefile.am: add.
4402 * Makefile.am: add lib subdir.
4404 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
4405 set CFLAGS for recent-files.
4407 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4409 * configure.ac: disable -ansi and -pedantic gcc flags. They
4410 disable POSIX stuff in stdio.h, but egg-recent uses them.
4412 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4414 * configure.ac: add --disable-deprecated flag (defaults to on in
4417 * shell/Makefile.am (INCLUDES): use it.
4419 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4421 * shell/main.c: add missing #include.
4423 * shell/ev-window.c: fix for pedantic gcc.
4424 (ev_window_cmd_help_about): split license into paragraphs for
4425 translators and pedantic compilers.
4427 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4429 * configure.ac: add more warning flags if compiling with gcc from
4430 cvs (or explicitly requested with --enable-more-warnings).
4432 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4434 * data/evince-ui.xml: add File and File->Close menu.
4436 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
4437 (ev_window_destroy): quit after destroy.
4438 (ev_window_class_init): override GtkObject::destroy.
4439 (entries): install close_window callback.
4441 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4443 * Makefile.am (SUBDIRS): add data subdir.
4445 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
4446 gtk+ 2.5.0 for GtkAboutDialog.
4448 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
4451 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
4453 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
4455 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
4457 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4459 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
4461 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
4463 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
4465 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
4467 * shell/*: Added shell directory boilerplate, build it.
4469 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
4471 * configure.ac, Makefile.am: Added top-level configure.ac and