1 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5 * data/evince.desktop.in:
6 * data/evince.desktop.in.in:
9 Add conditionally dvi and djvu to desktop types. Fix for 304658.
11 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
13 * shell/ev-view.c: (view_update_adjustments),
14 (view_set_adjustment_values): cast adjustmen->value to (int)
15 before using it. Otherwise, we get off by a pixel in some
18 (draw_one_page): Draw the border on expose.
20 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
22 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
23 adjustment when the mode changes, #304923
25 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
27 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
28 flickering on resize but still use gdk_window_scroll on
31 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
33 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
36 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
38 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
39 second page on page_changed if possible, #304669
41 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
43 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
44 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
46 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
49 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
50 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
51 (ev_view_zoom_for_size_presentation),
52 (ev_view_zoom_for_size_continuous_and_dual_page),
53 (ev_view_zoom_for_size_continuous),
54 (ev_view_zoom_for_size_dual_page),
55 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
57 * shell/ev-window.c: (update_view_size),
58 (ev_window_sizing_mode_changed_cb):
60 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
61 the scrollbars. It's not 100% right, but it's much closer. Kills
62 an infinite loop, #304769
65 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
68 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
69 * shell/ev-window.c: (set_view_actions_sensitivity):
71 Make PgUp/Down behave like Space
73 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
75 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
76 * backend/ev-ps-exporter.h:
78 * ps/ps-document.c: (ps_document_ps_export_begin):
79 * shell/ev-print-job.c: (idle_print_handler):
81 Adapt to new poppler api
83 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
85 * cut-n-paste/zoom-control/ephy-zoom-control.c:
86 (ephy_zoom_control_init):
90 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
92 * cut-n-paste/zoom-control/ephy-zoom.c:
93 (ephy_zoom_get_zoom_level_index):
95 Fix current zoom -> zoom control match
97 2005-05-18 James Bowes <bowes@cs.dal.ca>
99 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
100 rather than the scrolled_window that it's in. Fixes bug #304655.
102 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
104 * shell/ev-view.c: (view_update_adjustments),
105 (view_set_adjustment_values), (view_update_range_and_current_page),
106 (view_scroll_to_page), (set_scroll_adjustment),
107 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
108 (ev_view_scroll), (ev_view_scroll_view),
109 (ensure_rectangle_is_visible), (find_page_at_location),
110 (get_link_at_location), (go_to_link), (status_message_from_link),
111 (ev_view_size_request_continuous_dual_page),
112 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
113 (ev_view_unrealize), (ev_view_expose_event),
114 (ev_view_button_press_event), (ev_view_motion_notify_event),
115 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
116 (draw_rubberband), (highlight_find_results), (draw_one_page),
117 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
118 (ev_view_init), (find_changed_cb), (page_changed_cb),
119 (on_adjustment_value_changed), (ev_view_new),
120 (ev_view_set_document), (ev_view_set_zoom),
121 (ev_view_set_continuous), (ev_view_set_dual_page),
122 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
123 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
124 (ev_view_zoom_for_size_presentation),
125 (ev_view_zoom_for_size_continuous_dual_page),
126 (ev_view_zoom_for_size_continuous),
127 (ev_view_zoom_for_size_dual_page),
128 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
129 (ev_view_get_status), (ev_view_set_status),
130 (update_find_status_message), (ev_view_get_find_status),
131 (ev_view_set_find_status), (jump_to_find_result),
132 (jump_to_find_page), (compute_selections), (clear_selection),
133 (ev_view_select_all), (get_selected_text), (ev_view_copy),
134 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
135 (ev_view_update_primary_selection),
136 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
138 * shell/ev-window.c: (ev_window_open_page_label),
139 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
142 * shell/main.c: (load_files):
144 Massive code clean up from Nickolay Shmyrev. Keep page offset
145 when resizing. Remove the bin_window(). Also, patch from James
146 Bowes to fix command line page, #300641
148 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
150 * data/evince-ui.xml:
153 * shell/ev-window.c: (update_action_sensitivity):
155 Get rid of View->Normal Size, it's just confusing
157 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
159 * backend/ev-document-info.h:
160 * backend/ev-document.c: (ev_document_info_free): Free the
163 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
164 (clear_range), (add_range), (update_visible_range),
165 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
166 (ev_sidebar_thumbnails_set_document):
167 * shell/ev-window.c: (ev_window_setup_document): Only render the
168 visible thumbnails. It takes an instant to render, but it uses
171 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
173 * shell/ev-sidebar-links.c: (popup_menu_cb):
177 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
180 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
181 (button_press_cb), (ev_sidebar_links_construct):
183 Show the popup menu also on keybindings
185 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
187 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
190 Expose api to print a range (with dialog). Make private _print use
193 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
194 (ev_sidebar_links_construct):
196 Show a print context menu on linkx, it prints the selected
199 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
201 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
204 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
210 * shell/ev-window.c: (build_comments_string),
211 (ev_window_cmd_help_about):
213 Show poppler version/backend and authors
215 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
217 * cut-n-paste/zoom-control/ephy-zoom.c:
218 (ephy_zoom_get_zoom_level_index):
219 * cut-n-paste/zoom-control/ephy-zoom.h:
221 Move the best fit items at the top of the list
223 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
225 * shell/ev-marshal.list:
226 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
227 (activate_cb), (match_selected_cb), (activate_link_cb),
228 (connect_proxy), (ev_page_action_class_init):
229 * shell/ev-page-action.h:
231 Use signals to notify action activation. Hopefully
232 I did not break completion since I cant test...
234 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
235 (register_custom_actions):
237 Connect to page selector actions and also grab focus on
238 the view when activated.
240 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
243 * backend/ev-page-cache.c: make page size calculation consistent
244 and set it to (int)( width * scale + 0.5). This makes the weird
245 line going through the middle of the page go away.
247 * shell/ev-view.c: move painting the background page after
248 checking the expose area covers us.
250 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
252 * data/evince-password.glade:
254 Mark labels as not translatable. Fix for bug 302842.
256 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
258 * configure.ac: Added "es" to ALL_LINGUAS.
260 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
262 * data/evince-toolbar.xml:
263 * shell/ev-window.c: (update_action_sensitivity),
264 (ev_window_setup_document), (ev_window_set_page_mode),
267 Remove some leftover code from jrb first continous
268 attempt. Use the new actions, we still need good icons
271 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
273 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
275 Update label when connecting proxy. Fix a warning with NULL
278 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
280 * data/evince-ui.xml:
281 * shell/ev-page-action.c: (ev_page_action_grab_focus):
282 * shell/ev-page-action.h:
283 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
285 Add mnemonic for edit toolbar.
286 ctrl+l focus the page entry.
288 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
291 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
293 * shell/main.c: (main):
295 Put the toolbar xml in evince own dot dir
297 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
299 * shell/ev-window.c: (ev_window_init):
301 Make the toolbar not removable
303 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
305 * data/evince-ui.xml:
306 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
307 * shell/ev-sidebar-links.h:
308 * shell/ev-sidebar-thumbnails.c:
309 (ev_sidebar_thumbnails_get_treeview):
310 * shell/ev-sidebar-thumbnails.h:
311 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
312 (ev_view_class_init):
314 * shell/ev-window.c: (update_action_sensitivity),
315 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
316 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
317 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
320 This is evil... Make space/backspace global accelerators but
321 enable them only for some widgets (sidebars and view).
322 I dont like it, but I dont know a better way... :/
324 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
326 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
327 (ev_page_action_widget_finalize),
328 (ev_page_action_widget_class_init), (update_page_cache):
330 Keep a weak reference on proxy->page_cache so that we
331 dont try to disconnect the signal if the object is already
332 gone. Maybe there is a better way to cleanup reference handling
333 in page action though...
335 2005-05-10 Juerg Billeter <j@bitron.ch>
337 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
338 * backend/ev-ps-exporter.h:
339 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
340 * ps/ps-document.c: (ps_document_ps_export_begin):
342 Change api to pass print range to ps_exporter_begin. The pdf backend
343 requires this information.
345 * shell/ev-print-job.c: (idle_print_handler):
349 2005-05-10 Juerg Billeter <j@bitron.ch>
351 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
353 * shell/ev-window.c: (ev_window_print):
355 Support printing page range, based on patch by Amaury Jacquot
357 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
359 * data/evince-toolbar.xml:
361 Add zoom control to available items
363 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
365 * shell/ev-window.c: (update_action_sensitivity):
367 Set slash action insensitive when appropriate
369 2005-05-10 Christian Persch <chpe@gnome.org>
371 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
373 Fix warning on the overflow menu
375 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
377 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
379 Check for uri correctness/existence
381 2005-05-09 Juerg Billeter <j@bitron.ch>
383 * shell/ev-window.c: (using_postscript_printer):
385 LPD printers use postscript, too
387 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
389 * shell/ev-window.c: (register_custom_actions):
391 The zoom one is actually sort of useful,
394 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
396 * shell/ev-window.c: (register_custom_actions):
398 Hide page/zoom controls from overflow, they
401 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
403 * cut-n-paste/update-from-egg.sh:
405 Share it between all cut-n-paste subdirs
407 * cut-n-paste/recent-files/Makefile.am:
409 Fix to use "global" update-from-egg.sh
411 * cut-n-paste/recent-files/egg-recent-model.c:
412 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
413 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
414 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
415 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
419 * cut-n-paste/toolbar-editor/Makefile.am:
421 Fix to use "global" update-from-egg.sh
423 * cut-n-paste/toolbar-editor/eggmarshalers.list:
427 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
430 * cut-n-paste/Makefile.am:
431 * cut-n-paste/recent-files/Makefile.am:
432 * cut-n-paste/toolbar-editor/.cvsignore:
433 * cut-n-paste/toolbar-editor/Makefile.am:
434 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
435 (egg_editable_toolbar_get_type), (get_toolbar_position),
436 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
437 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
438 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
439 (set_item_drag_source), (create_item_from_action), (create_item),
440 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
441 (popup_toolbar_context_menu_cb), (free_dragged_item),
442 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
443 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
444 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
445 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
446 (item_added_cb), (item_removed_cb),
447 (egg_editable_toolbar_construct),
448 (egg_editable_toolbar_disconnect_model),
449 (egg_editable_toolbar_deconstruct),
450 (egg_editable_toolbar_set_model),
451 (egg_editable_toolbar_set_ui_manager),
452 (egg_editable_toolbar_set_property),
453 (egg_editable_toolbar_get_property),
454 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
455 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
456 (egg_editable_toolbar_new_with_model),
457 (egg_editable_toolbar_get_edit_mode),
458 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
459 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
460 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
461 (new_pixbuf_from_widget), (new_separator_pixbuf),
462 (update_separator_image), (style_set_cb),
463 (_egg_editable_toolbar_new_separator_image),
464 (egg_editable_toolbar_get_model):
465 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
466 * cut-n-paste/toolbar-editor/egg-marshal.c:
467 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
468 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
469 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
470 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
471 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
472 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
473 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
474 (editor_drag_data_delete_cb), (drag_data_get_cb),
475 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
476 (editor_create_item), (update_editor_sheet), (setup_editor),
477 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
478 (parse_item_list), (model_has_action), (update_actions_list),
479 (egg_toolbar_editor_load_actions):
480 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
481 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
482 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
483 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
484 (toolbars_item_new), (free_toolbar_node), (free_item_node),
485 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
486 (egg_toolbars_model_add_separator), (impl_add_item),
487 (parse_item_list), (egg_toolbars_model_add_toolbar),
488 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
489 (impl_get_item_data), (impl_get_item_type),
490 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
491 (egg_toolbars_model_init), (free_toolbar),
492 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
493 (egg_toolbars_model_remove_toolbar),
494 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
495 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
496 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
497 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
498 (egg_toolbars_model_get_item_data),
499 (egg_toolbars_model_get_item_type):
500 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
501 * cut-n-paste/toolbar-editor/eggmarshalers.list:
503 * data/evince-toolbar.xml:
504 * data/evince-ui.xml:
505 * data/hand-open.png:
508 * shell/ev-window.c: (update_chrome_visibility),
509 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
510 (ev_window_dispose), (ev_window_init):
512 Implement epiphany like toolbar editor. Based on patch by
513 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
515 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
517 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
519 Use set_cursor instead of set_selection, so that
520 the keyboard focus moves too.
522 2005-05-09 Aleksey Kliger <akliger@gmail.com>
524 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
526 Fix infinite loop when loading Type1 fonts
528 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
530 * data/evince-ui.xml:
535 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
539 Make --disable really disable
541 2005-05-07 Juerg Billeter <j@bitron.ch>
543 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
545 Compare page labels even without has_labels set, fixes setting page
548 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
550 * shell/ev-view.c: (ev_view_create_invisible_cursor),
551 (ev_view_set_cursor), (ev_view_button_press_event),
552 (ev_view_motion_notify_event), (ev_view_button_release_event),
555 Implement middle button scrolling. Based on a patch
556 by Tommi Komulainen <tommi.komulainen@iki.fi>.
558 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
560 * shell/ev-document-types.c: (get_slow_mime_type),
561 (get_document_type_from_mime), (ev_document_type_lookup):
562 * shell/ev-document-types.h:
564 Change api to lookup from uri. Do fast lookup first, if the
565 type is unknown try with data sniffing.
567 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
568 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
572 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
574 * thumbnailer/Makefile.am:
578 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
585 * data/evince-ui.xml:
587 Hide presentation mode for now
589 * shell/ev-view.c: (highlight_find_results):
591 Show current find selection only on current page
593 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
595 * shell/ev-view.c: (ev_view_select_all):
597 Compute size of the actual page, not of
600 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
602 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
603 (view_rect_to_doc_rect), (compute_selections),
604 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
605 (ev_view_copy), (ev_view_primary_get_cb),
606 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
607 (ev_view_button_press_event), (ev_view_motion_notify_event),
608 (ev_view_button_release_event), (page_changed_cb):
612 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
614 * shell/ev-view.c: (compute_border), (get_page_extents),
615 (doc_rect_to_view_rect), (highlight_find_results),
616 (ev_view_bin_expose), (ev_view_select_all),
617 (ev_view_motion_notify_event), (update_find_status_message),
618 (jump_to_find_result), (jump_to_find_page):
620 First go at fixing search, still buggy
622 2005-05-04 Kristian Høgsberg <krh@redhat.com>
624 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
625 dropdown box and button at the top of the sidebar.
627 2005-05-02 James Bowes <bowes@cs.dal.ca>
629 * configure.ac: Output zoom-control Makefile.
630 * cut-n-paste/Makefile.am: build zoom-control subdir.
631 * cut-n-paste/zoom-control/ephy-zoom-action.c:
632 * cut-n-paste/zoom-control/ephy-zoom-action.h:
633 * cut-n-paste/zoom-control/ephy-zoom-control.c:
634 * cut-n-paste/zoom-control/ephy-zoom-control.h:
635 * cut-n-paste/zoom-control/ephy-zoom.c:
636 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
637 from epiphany, and modified to add a separator into the menu.
638 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
639 * data/evince-ui.xml: Replace old zoom toolbar actions with new
641 * shell/Makefile.am: Include zoom-control flags.
642 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
643 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
644 (ev_view_zoom_for_size_presentation),
645 (ev_view_zoom_for_size_continuous_and_dual_page),
646 (ev_view_zoom_for_size_continuous),
647 (ev_view_zoom_for_size_dual_page),
648 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
649 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
650 ev_view_get_zoom and ev_view_get_sizing_mode.
652 * shell/ev-window.c: (update_action_sensitivity),
653 (update_sizing_buttons), (zoom_control_changed_cb),
654 (register_custom_actions): Initialize and use the zoom-control
657 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
659 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
660 preview cache back to 1. Don't know when it got set to 0.
662 * shell/ev-view.c: (compute_border), (ev_view_realize),
663 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
664 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
665 (ev_view_get_fullscreen), (ev_view_set_presentation),
666 (ev_view_get_presentation), (ev_view_set_sizing_mode),
667 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
670 (update_chrome_visibility),
671 (ev_window_cmd_continuous), (ev_window_cmd_dual),
672 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
673 (update_document_mode), (ev_window_update_fullscreen_action),
674 (ev_window_fullscreen), (ev_window_unfullscreen),
675 (ev_window_cmd_view_fullscreen),
676 (ev_window_update_presentation_action),
677 (ev_window_run_presentation), (ev_window_stop_presentation),
678 (ev_window_cmd_view_presentation), (ev_window_state_event),
679 (ev_window_focus_in_event), (ev_window_focus_out_event),
680 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
681 * data/evince-ui.xml: Initial presentation mode. We should
682 probably hide this until it's done, as it's quite rough. Also,
683 change full-screen to fullscreen and add two getters to EvView.
685 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
687 * shell/ev-page-action.c: (update_page_cache),
688 (ev_page_action_dispose):
689 * shell/ev-window.c: (destroy_fullscreen_popup),
690 (ev_window_create_fullscreen_popup):
692 Use connect_object rather than explicitly
693 disconnect on dispose.
695 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
697 * shell/ev-page-action.c: (update_page_cache),
698 (ev_page_action_dispose):
700 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
702 * backend/ev-page-cache.c: (_ev_page_cache_new),
703 (ev_page_cache_set_page_label),
704 (ev_page_cache_has_nonnumeric_page_labels):
705 * backend/ev-page-cache.h:
706 * shell/ev-page-action.c: (update_pages_label):
708 If all page labels are numeric, fallback to default
709 way to display number of pages. See bug 173185.
711 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
713 * shell/ev-page-action.c: (ev_page_action_dispose):
714 * shell/ev-view.c: (view_update_range_and_current_page):
715 * shell/ev-window.c: (ev_window_dispose):
717 Set page on scroll in continuous mode. Fixes bug 301986.
718 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
720 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
724 Require poppler 0.3.0
726 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
728 * shell/Makefile.am, configure.ac: Fix build problems
729 with t1lib. Bug 301996.
731 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
733 * shell/ev-view.c: (ev_view_scroll_event):
735 Scroll up increase zoom
737 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
739 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
740 (ev_view_set_sizing_mode),
741 (ev_view_zoom_for_size_continuous_and_dual_page),
742 (ev_view_zoom_for_size_continuous):
743 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
744 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
745 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
748 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
749 Fix for 165473 and 165472.
751 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
754 * thumbnailer/Makefile.am:
755 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
756 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
757 * thumbnailer/evince-thumbnailer.schemas.in:
759 Make thumbnailer schemas translatable. Fix for bug 301773
761 * thumbnailer/evince-thumbnailer-djvu.schemas:
762 * thumbnailer/evince-thumbnailer-dvi.schemas:
763 * thumbnailer/evince-thumbnailer.schemas:
767 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
769 * shell/ev-view.c (ev_view_init): forgot to set this.
771 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
773 * shell/ev-view.c: (find_page_at_location),
774 (get_link_at_location),
775 (ev_view_set_show_border), (ev_view_set_spacing),
776 (ev_view_zoom_for_size_continuous_and_dual_page),
777 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
778 Also, add a quick fix measuring of widths. Also, removed
779 ev_view_set_spacing and ev_view_set_show_border.
781 * shell/ev-window.c: (ev_window_unfullscreen),
782 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
784 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
786 * shell/ev-view.c: (view_update_range_and_current_page),
789 Fix crash on exit and scrolling to page in continuous view.
791 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
794 * backend/ev-page-cache.c: (_ev_page_cache_new),
795 (ev_page_cache_get_max_width_size),
796 (ev_page_cache_get_max_height_size):
797 * backend/ev-page-cache.h:
798 * data/evince-ui.xml:
799 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
800 * shell/ev-view.c: (view_update_adjustments),
801 (view_update_range_and_current_page), (get_bounding_box_size),
802 (ev_view_size_request_continuous_and_dual_page),
803 (ev_view_size_request_continuous),
804 (ev_view_size_request_dual_page),
805 (ev_view_size_request_single_page), (ev_view_size_request),
806 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
807 (ev_view_bin_expose), (ev_view_expose_event),
808 (ev_view_set_property), (ev_view_get_property),
809 (ev_view_class_init), (ev_view_init), (ev_view_new),
810 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
811 (ev_view_set_dual_page), (ev_view_set_full_screen),
812 (ev_view_set_presentation), (ev_view_set_sizing_mode),
813 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
814 (ev_view_zoom_out), (zoom_for_size_fit_width),
815 (zoom_for_size_best_fit),
816 (ev_view_zoom_for_size_continuous_and_dual_page),
817 (ev_view_zoom_for_size_continuous),
818 (ev_view_zoom_for_size_dual_page),
819 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
820 (ev_view_show_cursor), (ev_sizing_mode_get_type):
822 * shell/ev-window.c: (update_action_sensitivity),
823 (ev_window_cmd_continuous), (ev_window_cmd_dual),
824 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
825 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
826 (ev_window_cmd_view_zoom_out), (update_view_size),
827 (ev_window_set_sizing_mode), (ev_window_init):
829 Add Continuous and Dual page modes.
831 2005-04-23 James Bowes <bowes@cs.dal.ca>
833 * dvi/dvi-document.c: (dvi_document_load),
834 (dvi_document_thumbnails_get_thumbnail),
835 (dvi_document_init_params): Fix up some mixups between
836 width and height to correct thumbnail rendering.
838 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
840 * dvi/mdvi-lib/private.h:
841 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
843 Suppess output for kpathsea during font generation. Thanks to
846 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
853 * Makefile.am: fix distcheck.
855 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
857 * shell/ev-sidebar-links.c: (selection_changed_callback),
858 (update_page_callback), (row_activated_callback),
859 (job_finished_callback), (ev_sidebar_links_set_document):
861 Fix for bug #169901. Double click on links expands tree.
863 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
865 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
866 hard-coded style. Fix for bug 170111
868 2005-04-22 Kristian Høgsberg <krh@redhat.com>
870 * shell/ev-view.c (highlight_find_results): Remove unnecessary
873 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
875 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
877 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
880 * shell/ev-view.c: (highlight_find_results):
882 Fix find on single page documents
884 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
886 * data/evince.schemas.in: fix for bug 301390
888 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
890 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
891 (ev_view_zoom_out), (ev_view_zoom_normal):
893 * shell/ev-window.c: (update_action_sensitivity),
894 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
895 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
896 (ev_window_cmd_view_normal_size):
898 Fix normal size zoom. Make zoom in/zoom out unsensitive when
899 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
902 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
906 Depend on 2.57, 2.59 doesnt seem to be necessary
908 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
910 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
913 Put back total number of pages as (1 of 1234)
915 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
917 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
920 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
921 function. This helps debugging.
923 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
925 * djvu/djvu-document.c: (djvu_document_class_init),
926 (djvu_document_get_info), (djvu_document_document_iface_init):
927 * dvi/dvi-document.c: (dvi_document_class_init),
928 (dvi_document_get_info), (dvi_document_document_iface_init):
930 Dummy implementation of get_info method for dvi and djvu. Fix
931 crashes with those backends
933 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
935 * data/evince.desktop.in:
937 Add application/x-gzpostscript
939 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
941 * data/evince.schemas.in: Added real long descriptions,
944 * README: Added actual text, closes bug 171869
946 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
948 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
952 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
954 * backend/ev-document-info.h:
956 s/GDate */GDate so we can just use g_free
958 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
960 * shell/ev-window.c: (update_document_mode),
961 (ev_window_setup_document):
963 Show the window in fullscreen when specified by
966 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
968 * backend/ev-document.c: (ev_document_class_init),
969 (ev_document_get_info), (ev_document_render_pixbuf):
970 * backend/ev-document.h:
971 * backend/ev-page-cache.c: (_ev_page_cache_new):
973 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
974 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
975 * ps/ps-document.c: (ps_document_class_init), (document_load),
976 (ps_document_get_info), (ps_document_document_iface_init):
978 Remove get_title from the interface, we can just use document info
980 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
982 * backend/Makefile.am:
983 * backend/ev-document.c: (ev_document_render_get_info):
984 * backend/ev-document.h:
987 Initial support for document info. Based on jrb patch.
989 2005-04-19 Paolo Borelli <pborelli@katamail.com>
991 * shell/ev-window.c: (ev_window_state_event),
992 (ev_window_class_init), (ev_window_init):
994 Doesn't show resize grip when maximized. See bug #301053
996 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1000 ev-sidebar-thumbnails now has translatable labels
1002 * shell/Makefile.am:
1003 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
1004 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
1005 (ev_sidebar_links_page_iface_init):
1006 * shell/ev-sidebar-links.h:
1007 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1008 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
1009 (ev_sidebar_page_get_label):
1010 * shell/ev-sidebar-page.h:
1011 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
1012 (ev_sidebar_thumbnails_set_document),
1013 (ev_sidebar_thumbnails_support_document),
1014 (ev_sidebar_thumbnails_get_label),
1015 (ev_sidebar_thumbnails_page_iface_init):
1016 * shell/ev-sidebar-thumbnails.h:
1017 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
1018 (ev_sidebar_set_document):
1019 * shell/ev-sidebar.h:
1020 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
1022 Small rework of sidebar code. Now sidebar pages should implement
1023 EvSidebarPage interface. That makes page management in EvSidebar
1024 easier. See bug #164811 for details
1026 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1028 * shell/ev-application.c: (ev_application_open):
1029 * shell/ev-document-types.c:
1031 Fix build error and small problem with application exit
1033 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1035 * thumbnailer/Makefile.am:
1036 * thumbnailer/evince-thumbnailer-djvu.schemas:
1037 * thumbnailer/evince-thumbnailer-dvi.schemas:
1039 Conditionally install schemas for djvu/dvi thumbnailer
1041 2005-04-18 David Malcolm <dmalcolm@redhat.com>
1043 * shell/ev-document-types.h:
1044 * shell/ev-document-types.c:
1045 New files, handling the mapping from mimetypes to backends
1047 * shell/ev-window.c:
1048 * thumbnailer/evince-thumbnailer.c:
1049 Use the ev-document-types code
1051 * shell/Makefile.am:
1052 Added new convenience library libevbackendfactory_la, containing
1053 the new mimetype->backend logic; moved the backends into it.
1055 * thumbnailer/Makefile.am:
1056 Make the thumbnailer link with the libevbackend.la convenience
1057 library, rather than having a duplicate of the backend logic here.
1059 2005-04-18 Paolo Borelli <pborelli@katamail.com>
1061 * shell/ev-stock-icons.c: constify some vars.
1062 * shell/ev-window.c: ditto.
1064 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
1066 * ps/ps-document.c (get_page_orientation):
1068 Respect document orientation
1070 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1074 * shell/Makefile.am:
1076 Move library dependencies to components.
1078 * shell/ev-window.c: (update_window_title),
1079 (start_loading_document):
1081 Fix display of uris with spaces. Bug 168358.
1083 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
1085 * shell/ev-sidebar-links.c: (selection_changed_cb):
1086 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
1087 (ev_view_button_release_event), (ev_view_set_document):
1089 * shell/ev-window.c: (find_bar_search_changed_cb):
1090 * shell/ev-window.h: Minor cleanups removing some dead code.
1092 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1094 * backend/ev-page-cache.c: (_ev_page_cache_new):
1096 Set current page to 0 if document has pages.
1098 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1100 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1102 Initialize GError to NULL, fix a crash when loading fails.
1104 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1106 * shell/ev-window.c: (update_view_size):
1108 Calculate shadow size only when there is actually
1111 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1113 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
1116 Allow setting view spacing, default to 0
1118 * shell/ev-window.c: (ev_window_unfullscreen),
1119 (ev_window_cmd_view_fullscreen), (ev_window_init):
1121 Remove spacing in fullscreen mode
1123 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1125 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
1126 (ev_view_size_request), (expose_bin_window),
1127 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
1129 * shell/ev-window.c: (ev_window_unfullscreen),
1130 (ev_window_cmd_view_fullscreen):
1132 Do not draw the border in fulscreen
1134 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1136 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
1137 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
1138 (find_page_at_location), (page_changed_cb):
1140 Rework border calculation, so that I can more easily disable it.
1141 Code somewhat cleaner too.
1143 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
1145 * backend/ev-page-cache.c: (ev_page_cache_init),
1146 (_ev_page_cache_new):
1148 Remove some assertions, documents can have 0 pages.
1149 Make initial current page -1.
1151 * shell/ev-page-action.c: (page_changed_cb):
1153 Show "" if current page is -1
1155 * shell/ev-window.c: (update_action_sensitivity),
1156 (ev_window_setup_document):
1158 When document has 0 pages do not set the view
1159 and make nearly everything insensitive.
1161 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1163 * shell/ev-page-view.c:
1164 * shell/ev-page-view.h:
1166 Remove unused files.
1168 * shell/ev-sidebar-thumbnails.c:
1169 (ev_sidebar_thumbnails_set_document):
1170 * shell/ev-sidebar.c: (ev_sidebar_set_document),
1171 (ev_sidebar_supports_document):
1172 * shell/ev-sidebar.h:
1173 * shell/ev-window.c: (ev_window_setup_document):
1175 Doesn't show thumbnails if document has 1 page. Make
1176 sidebar menu entries sensitive only if if they have
1177 sense. Fix bug 164811.
1179 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
1181 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
1182 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
1183 (ev_view_zoom_out), (ev_view_set_size):
1185 Rework sizing to deal with documents with not uniform page
1188 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
1190 * backend/ev-page-cache.c: (_ev_page_cache_new):
1192 Fix several page size caching bugs
1194 2005-04-15 Luca Ferretti <elle.uca@libero.it>
1196 * shell/ev-window.c: (set_action_properties):
1198 Make all toolbar items translatable
1200 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
1202 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
1203 (save_page_list), (ps_document_save),
1204 (ps_document_document_iface_init), (ps_document_ps_export_begin),
1205 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
1206 (ps_document_ps_exporter_iface_init):
1209 Based on a patch by J�rg Billeter <j@bitron.ch>
1211 Implement print and save a copy for the ps backend.
1213 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
1215 * backend/ev-document.h:
1216 * djvu/djvu-document.c: (djvu_document_can_get_text),
1217 (djvu_document_document_iface_init):
1218 * dvi/dvi-document.c: (dvi_document_can_get_text),
1219 (dvi_document_document_iface_init):
1220 * pdf/ev-poppler.cc:
1221 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
1222 (pixbuf_document_document_iface_init):
1223 * ps/ps-document.c: (ps_document_can_get_text),
1224 (ps_document_document_iface_init):
1225 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
1226 * shell/ev-window.c: (update_action_sensitivity):
1228 Fix the crash when trying to copy in backends that doesnt
1229 support it. We can implement a better solution once we
1230 do real text selection.
1232 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
1234 * data/evince-ui.xml:
1235 * shell/ev-window.c: (ev_window_cmd_escape):
1237 Work around the Escape conflict (find bar and unfullscreen)
1239 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1241 * backend/ev-page-cache.c: (ev_page_cache_next_page):
1243 Fix for #300233. Next page correctly handles document end.
1245 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
1246 (ev_sidebar_thumbnails_class_init),
1247 (ev_sidebar_thumbnails_set_document),
1248 (ev_sidebar_thumbnails_clear_job),
1249 (ev_sidebar_thumbnails_clear_model):
1251 Cleanup thumbnail jobs on document changes.
1253 * shell/ev-view.c: (add_scroll_binding_keypad),
1254 (add_scroll_binding_shifted), (ev_view_class_init):
1256 Shift + Space scrolls up. Fix for #173184
1258 * shell/ev-window.c: (ev_window_open_page),
1259 (ev_window_cmd_view_reload):
1261 Fix reload (Bug #300094)
1263 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1266 * dvi/mdvi-lib/assoc.c:
1267 * dvi/mdvi-lib/assoc.h: Removed garbage files
1269 * dvi/mdvi-lib/bitmap.c:
1270 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
1271 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
1272 * dvi/mdvi-lib/color.h: Antialias of rules
1274 * dvi/mdvi-lib/common.h:
1275 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
1276 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
1277 * dvi/mdvi-lib/files.c:
1278 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
1279 * dvi/mdvi-lib/mdvi.h:
1280 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1281 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
1282 * dvi/mdvi-lib/util.c: Fix compile warnings
1284 * dvi/dvi-document.c:
1285 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
1286 (dvi_document_thumbnails_get_thumbnail),
1287 (dvi_document_document_thumbnails_iface_init):
1288 * dvi/mdvi-lib/Makefile.am:
1289 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1290 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
1292 Dvi backend now renders thumbnails
1294 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
1296 * shell/main.c: (main):
1298 Save accelerators on exit. Fixes bug #172095.
1300 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
1302 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
1303 update priority" comment.
1305 * backend/ev-job-queue.c: Give a way to change priority.
1307 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
1309 * shell/ev-page-action.c: Fix logic.
1311 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
1313 * shell/ev-view.c: (ev_view_can_find_next):
1314 * shell/ev-window.c: (ev_window_setup_document):
1316 Check that the document supports find
1318 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
1320 * data/evince-ui.xml:
1321 * shell/ev-view.c: (ev_view_can_find_next):
1323 * shell/ev-window.c: (update_action_sensitivity),
1324 (find_changed_cb), (ev_window_setup_document),
1325 (ev_window_cmd_edit_find_next):
1329 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
1331 * pdf/ev-poppler.cc:
1332 * shell/ev-print-job.c: (idle_print_handler):
1334 Make printing work again
1336 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
1338 * shell/ev-page-action.h:
1339 * shell/ev-page-action.c: (ev_page_action_widget_init),
1340 (ev_page_action_widget_class_init), (page_changed_cb),
1341 (create_tool_item), (update_page_cache), (build_new_tree_cb),
1342 (get_filter_model_from_model), (match_selected_cb),
1343 (display_completion_text), (match_completion), (update_model),
1344 (connect_proxy), (ev_page_action_set_property),
1345 (ev_page_action_get_property), (ev_page_action_set_document),
1346 (ev_page_action_set_model), (ev_page_action_class_init): Big
1347 reworking to make completions work iff we have >= GTK-2.7.0
1349 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
1350 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
1351 (job_finished_cb): We now have a 'model' property that is set when
1352 the links are loaded. This can be caught with "notify::model"
1354 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
1355 listen for the model to be set, and propagate it to the action.
1357 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1359 * cut-n-paste/recent-files/egg-recent-item.c:
1360 (egg_recent_item_set_uri), (make_valid_utf8),
1361 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
1362 * cut-n-paste/recent-files/egg-recent-item.h:
1364 Update egg-recent from libegg. This should fix long
1365 startup problem. For details see
1366 http://bugzilla.gnome.org/show_bug.cgi?id=160531
1368 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1370 * cut-n-paste/recent-files/Makefile.am:
1371 * data/evince-ui.xml, shell/Makefile.am:
1372 * shell/ev-application.c, shell/ev-application.h:
1373 * shell/ev-window.c: Recent files support.
1375 * configure.ac: Added "ru" to ALL_LINGUAS.
1377 * dvju: new backend to support DJVU files.
1378 * dvi: new backend to support DVI.
1380 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
1381 * ev-application.c: Support for new backends.
1383 * help, ev-window.c, main.c shell/Makefile.am:
1384 Evince user documentation.
1386 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
1389 * shell/ev-window.c:
1390 * thumbnailer/evince-thumbnailer.c:
1392 s/pdf-document/ev-poppler
1394 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
1401 * ps/ps-document.c: (setup_pixmap):
1405 2005-04-05 Kristian Høgsberg <krh@redhat.com>
1407 * backend/ev-page-cache.c (ev_page_cache_next_page):
1408 * shell/ev-window.c (ev_window_cmd_go_next_page)
1409 (ev_window_cmd_go_first_page): Fix of by one errors.
1411 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
1413 * ps/ps-document.c: (get_page_box):
1415 Fix page size calculation
1417 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
1419 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1420 (ps_document_cleanup), (setup_pixmap), (get_page_box),
1421 (get_page_orientation), (setup_page), (document_load),
1422 (ps_document_get_page_size), (render_pixbuf_idle):
1425 More refactoring to adapt to EvDocument changes
1427 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
1429 * ps/ps-document.c: (start_interpreter):
1431 Actually add alpha args
1433 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
1435 * pdf/ev-poppler.cc:
1437 Make clipboard work again
1439 2005-04-04 Kristian Høgsberg <krh@redhat.com>
1441 Make searching work again.
1443 * backend/ev-document.c:
1444 * backend/ev-document.h:
1445 * backend/ev-document-find.c:
1446 * backend/ev-document-find.h: Change EvDocumentIface so we no
1447 longer store the current page or zoom level in the document. The
1448 consequence is that all calls that operate on the current page now
1449 instead take the page number as an extra argument, and all
1450 coordinates are now doubles in document coordinate system.
1452 * pdf/ev-poppler.cc:
1453 * pixbuf/pixbuf-document.c:
1454 * ps/ps-document.c: Update backends accordingly.
1456 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
1460 Add required gettext version
1462 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
1464 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
1465 make F1 bring up non-existent help.
1467 * shell/eggfindbar.c: Patch from Christian Persch to sync to
1468 epiphany's find bar, #167477
1470 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
1471 <emil@nishra.com> to add space-bar scrolling,
1473 * shell/ev-window.c (static GtkActionEntry entries): add default
1474 keybinding for Help (F1)
1477 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
1478 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
1481 2005-04-01 David Malcolm <dmalcolm@redhat.com>
1484 * pixbuf/pixbuf-document.c:
1486 Got pixbuf backend working again
1488 2005-04-01 Steve Murphy <murf@e-tools.com>
1490 * configure.in: Added "rw" to ALL_LINGUAS.
1492 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
1494 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
1495 model types, noticed by Martin Kretzschmar.
1497 2005-04-01 Kristian Høgsberg <krh@redhat.com>
1499 * pdf/ev-poppler.cc: Implement search based on
1500 poppler_page_find_text(). Currently a bit crude since we remember
1501 all matches from all pages. Also, we grab the big document lock
1502 when we search since searching changes the underlying stream and
1503 thus conflicts with the rendering thread.
1505 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
1506 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
1507 (ev_view_find_previous): Fix some page indexes to be 0 based,
1508 offset rubber band by view offset,
1510 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
1512 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
1514 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
1516 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
1517 completely because I didn't understand GtkActions. I should
1518 read Marco's code more carefully in the future.
1520 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
1523 2005-03-31 Kristian Høgsberg <krh@redhat.com>
1525 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
1526 PopplerRectangle change from poppler CVS.
1528 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
1530 * backend/ev-document.c: (ev_document_get_page_label):
1531 * backend/ev-document.h:
1532 * backend/ev-page-cache.c: (_ev_page_cache_new),
1533 (ev_page_cache_get_page_label):
1534 * backend/ev-page-cache.h:
1535 * pdf/ev-poppler.cc:
1536 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
1537 (links_page_num_func):
1538 * shell/ev-sidebar-thumbnails.c:
1539 (ev_sidebar_thumbnails_set_document):
1540 * shell/ev-view.c: (status_message_from_link),
1541 (ev_view_motion_notify_event):
1542 * shell/ev-window.c: (document_supports_sidebar): Add in page
1543 label support. It's not perfect yet, but it's the first 'feature'
1545 Also, fix a bogus comment noticed by crispin.
1547 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
1549 * Makefile.am: Remove pixbuf backend for now
1551 * configure.ac: Require poppler-glib instead of just poppler.
1553 * backend/ev-document-thumbnails.h: Add a comment
1555 * backend/ev-document.h:
1556 * backend/ev-document.c: (ev_document_class_init),
1557 (ev_document_load), (ev_document_get_link),
1558 (ev_document_get_links): Remove 3 methods and add get_links.
1561 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1562 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
1564 * backend/ev-link.c: (ev_link_set_title),
1565 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
1566 (ev_link_mapping_find):
1567 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
1569 * backend/ev-page-cache.c: (ev_page_cache_init),
1570 (_ev_page_cache_new), (ev_page_cache_set_current_page),
1571 (ev_page_cache_get_size), (ev_page_cache_next_page),
1572 (ev_page_cache_prev_page): Fix to be 0 based.
1576 * pdf/ev-poppler.cc: New backend.
1578 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
1579 (ps_document_get_page), (ps_document_document_iface_init):
1581 * shell/ev-pixbuf-cache.h:
1582 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
1583 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
1584 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
1585 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
1586 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
1587 Fix up code to grab a page cache per each doc. Also, fix to be 0
1590 * shell/ev-sidebar-thumbnails.c:
1591 (ev_sidebar_tree_selection_changed), (page_changed_cb),
1592 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
1594 * shell/ev-view.c: (status_message_from_link),
1595 (find_page_at_location), (get_link_at_location),
1596 (ev_view_motion_notify_event), (ev_view_button_release_event),
1597 (ev_view_init): Use the new link code. Fix to be 0 based.
1599 * shell/ev-window.c: (update_action_sensitivity),
1600 (document_supports_sidebar): 0 based.
1602 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
1604 * pdf/pdf-document.cc: Patch from Fernando Herrera
1605 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
1608 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
1610 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
1611 1 to the page, as this seems to be 1 based. I thought we has this
1614 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
1617 * backend/Makefile.am:
1618 * backend/ev-document-links.c:
1619 (ev_document_links_has_document_links),
1620 (ev_document_links_get_links_model):
1621 * backend/ev-document-links.h:
1622 * backend/ev-document.c: (ev_document_get_page_cache),
1623 (ev_document_get_doc_mutex), (ev_document_load),
1624 (ev_document_save), (ev_document_get_title),
1625 (ev_document_get_n_pages), (ev_document_set_page),
1626 (ev_document_get_page), (ev_document_set_target),
1627 (ev_document_set_scale), (ev_document_set_page_offset),
1628 (ev_document_get_page_size), (ev_document_get_text),
1629 (ev_document_get_link), (ev_document_render),
1630 (ev_document_render_pixbuf), (ev_document_scale_changed):
1631 * backend/ev-document.h:
1632 * backend/ev-job-queue.c: (remove_object_from_queue),
1633 (notify_finished), (handle_job), (search_for_jobs_unlocked),
1634 (no_jobs_available_unlocked), (ev_render_thread),
1635 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
1636 (ev_job_queue_remove_job):
1637 * backend/ev-job-queue.h:
1638 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1639 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1640 (ev_job_links_class_init), (ev_job_render_init),
1641 (ev_job_render_dispose), (ev_job_render_class_init),
1642 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1643 (ev_job_thumbnail_class_init), (ev_job_finished),
1644 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1645 (ev_job_render_run), (ev_job_thumbnail_new),
1646 (ev_job_thumbnail_run):
1647 * backend/ev-jobs.h:
1648 * backend/ev-link.c:
1649 * backend/ev-link.h:
1650 * backend/ev-page-cache.c: (ev_page_cache_init),
1651 (ev_page_cache_class_init), (ev_page_cache_finalize),
1652 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
1653 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1654 (ev_page_cache_set_link), (ev_page_cache_get_title),
1655 (ev_page_cache_get_size), (ev_page_cache_next_page),
1656 (ev_page_cache_prev_page):
1657 * backend/ev-page-cache.h:
1658 * pdf/pdf-document.cc:
1661 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
1662 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
1663 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
1664 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
1665 (is_interpreter_ready), (output), (catchPipe), (input),
1666 (start_interpreter), (check_filecompressed), (compute_dimensions),
1667 (ps_document_enable_interpreter), (document_load),
1668 (ps_document_next_page), (render_page), (ps_document_set_page),
1669 (ps_document_set_scale), (render_pixbuf_idle),
1670 (ps_document_render_pixbuf), (ps_document_document_iface_init):
1672 * shell/Makefile.am:
1673 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
1674 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
1675 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
1676 (ev_pixbuf_cache_new), (job_finished_cb),
1677 (check_job_size_and_unref), (move_one_job),
1678 (ev_pixbuf_cache_update_range), (find_job_cache),
1679 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
1680 (ev_pixbuf_cache_add_jobs_if_needed),
1681 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
1682 * shell/ev-pixbuf-cache.h:
1683 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
1684 (idle_print_handler):
1685 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
1686 (selection_changed_cb), (create_loading_model),
1687 (ev_sidebar_links_construct), (links_page_num_func),
1688 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
1689 (update_page_callback), (job_finished_cb),
1690 (ev_sidebar_links_set_document):
1691 * shell/ev-sidebar-thumbnails.c:
1692 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
1693 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
1694 (page_changed_cb), (thumbnail_job_completed_callback),
1695 (ev_sidebar_thumbnails_set_document):
1696 * shell/ev-sidebar-thumbnails.h:
1697 * shell/ev-sidebar.c: (ev_sidebar_set_document):
1698 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
1699 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
1700 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
1701 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
1702 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
1703 (ev_view_button_release_event), (ev_view_scroll_view),
1704 (ev_view_class_init), (ev_view_init), (update_find_status_message),
1705 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
1706 (ev_view_new), (job_finished_cb), (page_changed_cb),
1707 (ev_view_set_document), (go_to_link), (ev_view_zoom),
1708 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
1709 (ev_view_find_previous):
1711 * shell/ev-window.c: (update_action_sensitivity),
1712 (ev_window_open_page), (update_window_title), (update_total_pages),
1713 (page_changed_cb), (ev_window_setup_document),
1714 (password_dialog_response), (ev_window_cmd_save_as),
1715 (ev_window_print), (ev_window_cmd_go_previous_page),
1716 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
1717 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
1718 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
1719 * shell/main.c: (main):
1721 Merge evince-threads branch
1723 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
1725 * configure.ac: Added "lt" to ALL_LINGUAS.
1727 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
1734 2005-03-13 Fernando Herrera <fherrera@onirica.com>
1736 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1738 Fix here also the thumbnails 1-basedness :)
1740 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
1747 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
1749 * pdf/pdf-document.cc:
1750 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
1751 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
1753 Fix the mess we did with thumbnails and 1-basedness
1755 2005-03-12 Changwoo Ryu <cwryu@debian.org>
1757 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
1759 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
1766 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
1769 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
1770 (gtk_gs_defaults_get_alpha_parameters),
1771 (gtk_gs_defaults_get_ungzip_cmd),
1772 (gtk_gs_defaults_get_unbzip2_cmd):
1774 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
1775 (ps_document_get_orientation), (document_load),
1776 (ps_document_goto_page), (ps_document_set_page_size):
1779 Some more sanitization of the ps backend. Remove a lot
1780 of unused code and do not base our defaults on ggv
1783 2005-03-08 Fernando Herrera <fherrera@onirica.com>
1785 * thumbnailer/evince-thumbnailer.schemas:
1786 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
1787 (main): add -s option for thumbnail size.
1789 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
1793 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
1796 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
1798 * pdf/pdf-document.cc:
1800 Remove 4 pixels of useless border from the
1803 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
1805 * backend/ev-document-thumbnails.c:
1806 (ev_document_thumbnails_get_thumbnail):
1807 * backend/ev-document-thumbnails.h:
1809 Rework API a bit. Add a border flag and
1810 change sizing logic (now the size we specify
1811 applies to the bigger dimension).
1813 * pdf/pdf-document.cc:
1814 * pixbuf/pixbuf-document.c:
1815 (pixbuf_document_thumbnails_get_thumbnail):
1816 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
1817 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1819 Adapt to the new API and do not draw a border for nautilus
1822 2005-03-03 Fernando Herrera <fherrera@onirica.com>
1824 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1825 take thumbnails from page "0" instead of "1". Added a copyright header.
1827 2005-03-03 Jens Granseuer <jensgr@gmx.net>
1829 * ps/ps-document.c: (set_up_page), (start_interpreter):
1831 Make it C89 compliant
1833 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
1838 * pdf/pdf-document.cc:
1839 * thumbnailer/Makefile.am:
1840 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
1842 * thumbnailer/evince-thumbnailer.schemas:
1843 * thumbnailer/pdf-icon.png:
1845 Add a nautilus thumbnailer.
1846 Based on patch by Fernando Herrera <fherrera@onirica.com>.
1848 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
1856 2005-03-01 Kristian Høgsberg <krh@redhat.com>
1858 Use poppler instead of including xpdf source code. Poppler is a
1859 fork of xpdf to build it as a shared library. See
1860 http://freedesktop.org/wiki/Software/poppler.
1862 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
1865 * pdf/Makefile.am: Build libpdfdocument.a here.
1867 * pdf/GDKSplashOutputDev.cc:
1868 * pdf/GDKSplashOutputDev.h:
1869 * pdf/GnomeVFSStream.cc:
1870 * pdf/GnomeVFSStream.h:
1873 * test-gdk-output-dev.cc
1875 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
1878 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
1880 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
1882 Clear idle stack before unsetting the document
1884 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
1886 * ps/ps-document.c: (ps_document_widget_event),
1887 (ps_document_set_target), (ps_document_finalize),
1888 (ps_document_get_page):
1890 Disconnect the widget event signal on finalize.
1893 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
1895 * ps/ps-document.c: (set_up_page):
1897 If there is no bpixmap create one, even if size
1900 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
1902 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
1903 (set_up_page), (document_load), (ps_document_set_zoom):
1905 Default page is 0. Calculate size even when we have no
1908 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
1910 * shell/ev-sidebar.c: expand the selection widget to be always as
1913 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
1915 * shell/ev-sidebar-thumbnails.c:
1916 (ev_sidebar_thumbnails_set_document):
1918 Clear the list store when setting document
1920 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
1922 * shell/ev-page-action.c: (update_entry), (sync_entry),
1923 (activate_cb), (entry_size_request_cb), (create_tool_item),
1926 Use an entry for the page control instead of spinbuttons
1928 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
1930 * data/evince.schemas.in:
1932 Correct confusing string
1934 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
1936 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
1937 for real. Gosh, how long has this been broken.
1939 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
1940 check for a NULL link. We crash otherwise.
1942 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
1949 2005-02-25 Sebastien Bacher <seb128@debian.org>
1951 * configure.ac: add the french translation.
1953 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
1955 * shell/ev-window.c:
1957 Remove unused header -> fix distcheck
1959 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
1961 * shell/ev-window.c: (update_window_title),
1962 (ev_window_popup_password_dialog):
1964 Unescape filename for display
1966 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
1968 * pdf/xpdf/pdf-document.cc:
1970 In get_page_size deal with rotation. Also
1971 cleanup the function a bit.
1973 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
1975 * pdf/xpdf/pdf-document.cc:
1977 Fix crash when opening in new window
1979 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
1983 Check ghostscript >= 7
1985 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
1987 * shell/ev-window.c:
1989 Make page width the default sizing mode
1991 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
1992 Marco Pesenti Gritti <marco@gnome.org>
1994 * shell/ev-window.c: Remember the sidebar size
1996 * data/evince.schemas.in: Add a new gconf key to store the size of
1999 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
2001 * data/evince-ui.xml:
2002 * shell/ev-window.c: (update_action_sensitivity),
2003 (ev_window_cmd_view_reload):
2005 Add a "Reload" action and menu entry
2007 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
2009 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
2010 iff the type doesn't support thumbnailing and indexing.
2012 2005-02-24 Martin Kretzschmar <martink@gnome.org>
2014 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
2016 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2018 * pdf/splash/Splash.cc:
2020 Port fix for a crasher from kde bug
2021 http://bugs.kde.org/show_bug.cgi?id=97131
2023 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2025 * pdf/xpdf/pdf-document.cc:
2027 Return a link even if it's of an unrecognized
2028 type. Otherwise we go in an infinte cycle.
2030 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2032 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
2033 (size_allocate_cb), (ev_window_set_sizing_mode):
2035 Update size when switching mode
2037 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2039 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2040 (ev_window_cmd_view_page_width), (update_sizing_buttons),
2041 (ev_window_cmd_view_normal_size):
2043 Fix size toggle buttons behavior
2045 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2047 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
2048 (doc_rect_to_view_rect), (ev_view_size_allocate),
2049 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
2050 (scale_changed_callback):
2052 Do not cache offsets in size_allocate.
2054 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2056 * shell/ev-view.c: (ev_view_size_allocate):
2058 Calculate offsets before calling the parent
2059 class (which does a redraw)
2061 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2063 * pdf/xpdf/pdf-document.cc:
2065 Fix a crasher on exit. Unused code, put a TODO
2067 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
2069 * backend/ev-document.c: (ev_document_class_init),
2070 (ev_document_page_changed), (ev_document_scale_changed):
2071 * backend/ev-document.h:
2073 Separate page/scale notifications
2075 * pdf/xpdf/pdf-document.cc:
2077 Emit the new signals.
2078 Do not display the pdf page in _render, do it
2079 when scale/page are requested.
2081 * ps/ps-document.c: (ps_document_set_zoom),
2082 (ps_document_widget_event):
2085 Emit the new signals.
2087 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
2088 (ev_view_init), (page_changed_callback), (scale_changed_callback),
2089 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
2090 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
2092 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
2093 (ev_window_cmd_view_page_width), (size_allocate_cb),
2094 (ev_window_set_sizing_mode):
2096 Rework sizing to be pixel based.
2097 There are bugs but should be already way better.
2099 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
2101 * shell/ev-window.c: (ev_window_init):
2103 Do not allow to shrink sidebar smaller then
2106 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
2108 * shell/ev-sidebar.[ch]
2109 * shell/ev-window.c:
2111 Improved sidebar widget. Fixes #166683
2113 2005-02-23 Tommi Vainikainen <thv@iki.fi>
2115 * shell/ev-view.c (update_find_status_message): Give translators
2116 more flexibility with ngettext plural handling.
2118 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
2120 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
2121 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
2122 page when we get the page size.
2124 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2126 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
2128 ps pages are 0 based, convert
2130 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2132 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
2134 Initialize correct parent class. Set GError on document load
2136 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2138 * pdf/xpdf/pdf-document.cc:
2140 Fixup selection offset calculation
2142 * shell/ev-view.c: (view_rect_to_doc_rect),
2143 (doc_rect_to_view_rect), (ev_view_size_allocate),
2144 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
2145 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
2147 Store selection as document relative, so that zooming
2148 and offset changing doesnt break it.
2150 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
2152 * shell/ev-view.c: (ev_view_best_fit):
2154 Do not try to best fit if the view is not realized
2156 2005-02-20 Kostas Papadimas <pkst@gnome.org>
2158 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
2160 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
2162 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
2164 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
2166 * shell/ev-window.c: Change the fullscreen toolbar to always be in
2167 the popup window. That prevents it resizing when in full screen
2170 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
2171 multiple rerenders. This pretty much sucks.
2173 * data/evince-ui.xml: Change the fullscreen toolbar to include the
2174 rest of the toolbar.
2176 2005-02-18 Tommi Vainikainen <thv@iki.fi>
2178 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
2180 2005-02-17 Alexander Shopov <ash@contact.bg>
2182 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
2184 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
2186 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
2188 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
2190 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
2191 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
2192 (set_document_page), (document_changed_callback),
2193 (ev_view_set_document), (ev_view_find_previous),
2194 (ev_view_hide_cursor), (ev_view_show_cursor):
2196 * shell/ev-window.c: (update_chrome_visibility),
2197 (fullscreen_timeout_cb), (fullscreen_set_timeout),
2198 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
2199 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
2200 (ev_window_unfullscreen):
2201 * shell/main.c: (main):
2203 Automatically hide the fullscreen button.
2204 Patch by Kristian Høgsberg <krh@redhat.com>
2206 2005-02-16 Vincent Noel <vnoel@cox.net>
2208 * shell/main.c (main): Specify an icon for the window. Patch by
2209 Jaap A. Haitsma. Fixes #166177.
2211 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
2213 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
2215 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
2217 * backend/ev-document-misc.h:
2218 * backend/ev-document-misc.c:
2219 (ev_document_misc_get_page_border_size),
2220 (ev_document_misc_paint_one_page): New function to canonicalize
2221 sizing/painting a border.
2223 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
2226 * pdf/xpdf/pdf-document.cc: use new function
2228 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
2229 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
2230 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
2231 shell/ev-window.c: (update_sizing_buttons),
2232 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
2233 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
2234 (ev_window_cmd_view_page_width), (size_allocate_cb),
2235 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
2236 and "fit width" values act as toggle buttons so they stay
2237 toggled. It's not 100% perfect, and it's a little slow, but it's
2238 good enough to commit I think.
2240 2005-02-15 David Lodge <dave@cirt.net>
2242 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
2244 2005-02-15 Martin Kretzschmar <martink@gnome.org>
2246 * shell/ev-window.c (update_window_title): replace newlines in
2247 the title by spaces. Bug #166107.
2249 2005-02-14 Martin Kretzschmar <martink@gnome.org>
2251 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
2252 parameters providing allocation width and height without
2253 scrollbars and width of a possible vertical scrollbar. With this
2254 additional information the functions can work as
2255 intended. Unfortunately they're not idempotent. We should
2256 transform these commands to toggles. Fixes Bug #164976
2257 Initial patch by Stephane Loeuillet, then heavily modified.
2259 * shell/ev-view.h: update prototypes.
2261 * shell/ev-window.c (ev_window_cmd_view_best_fit)
2262 (ev_window_cmd_view_page_width): provide EvView fit functions with
2263 all the information they need. Formulas to calculate this
2264 information taken from GtkScrolledWindow.
2266 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
2268 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
2269 created a thumbnail, the list store is updated to know
2270 that the thumbnail is set. Fixes bug #166792
2272 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
2274 * shell/ev-window.c: fixed typo, closes bug 166897
2276 * TODO: updated TODO with bug numbers that are relevant
2278 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
2280 * shell/ev-window.c: Support for DnD of files. Fixes #164813
2282 2005-02-09 Vincent Noel <vnoel@cox.net>
2284 * shell/ev-window.c: (set_action_properties): Set the "Previous"
2285 and "Next" toolbar buttons as important to make them stand out.
2287 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
2291 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
2292 (start_interpreter), (stop_interpreter), (document_load),
2293 (ps_document_next_page), (ps_document_goto_page),
2294 (ps_document_set_page_size), (ps_document_widget_event),
2295 (ps_document_render):
2296 * shell/ev-page-view.c: (ev_page_view_dispose):
2297 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
2299 Fix compilation on non-gcc platforms
2301 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
2308 * pdf/xpdf/Catalog.cc:
2311 Fix the fix for CAN-2004-0888
2313 2005-02-09 Luca Ferretti <elle.uca@libero.it>
2316 * data/evince-ui.xml:
2317 * shell/ev-stock-icons.c: (ev_stock_icons_init):
2318 * shell/ev-stock-icons.h:
2319 * shell/ev-window.c: (update_action_sensitivity),
2320 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
2321 (set_action_properties):
2323 Improve toolbar layout/icons
2325 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
2327 * pdf/xpdf/pdf-document.cc:
2329 Add warnings about unimplemented/unknown link
2332 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
2334 * ps/ps-document.c: (set_up_page):
2338 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
2340 * ps/ps-document.c: (start_interpreter):
2344 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
2346 * shell/ev-page-view.c: (ev_page_view_dispose):
2347 * shell/ev-view.c: (ev_view_finalize):
2348 * shell/ev-window.c: (ev_window_setup_document),
2349 (ev_window_dispose), (ev_window_init):
2351 Solve more refs issues.
2353 I commented out the page_view initialization for now:
2354 it was never destroyed (because it's never added
2355 to a container). Because of that we was leaking
2356 gs processes. Couldnt think to a clean fix.
2357 We need to figure this out, password view has the
2358 same issue probably.
2360 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
2362 * ps/ps-document.c: (ps_document_finalize),
2363 (ps_document_get_n_pages), (ps_document_get_page):
2365 Some cleanups, stop the interpreter on finalize
2367 * shell/ev-page-view.c: (ev_page_view_dispose),
2368 (ev_page_view_class_init):
2370 Release our reference on the document
2372 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
2376 * doc/debugging.txt:
2379 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
2380 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
2381 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
2384 Add debugging helpers
2387 * ps/ps-document.c: (set_up_page), (start_interpreter),
2388 (stop_interpreter), (document_load), (ps_document_next_page),
2389 (ps_document_goto_page), (ps_document_set_page_size),
2390 (ps_document_widget_event), (ps_document_render):
2391 * shell/Makefile.am:
2392 * shell/ev-view.c: (expose_bin_window):
2393 * shell/main.c: (main):
2397 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
2399 * ps/ps-document.c: (ps_document_widget_event):
2401 Initialize message_window, this should make ps
2402 rendering really work! (Never noticed because I was
2403 testing with a ps that is causing gs to exit every time!)
2405 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
2407 * data/evince.schemas.in: updated simple error in applyto closing tag
2409 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
2415 * data/evince-ui.xml:
2416 A data/evince.schemas.in:
2418 * shell/ev-stock-icons.c: (ev_stock_icons_init):
2419 * shell/ev-stock-icons.h:
2420 * shell/ev-window.c: (update_chrome_visibility),
2421 (update_chrome_flag), (ev_window_cmd_edit_find),
2422 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
2423 (ev_window_unfullscreen), (ev_window_focus_in_event),
2424 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
2425 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
2426 (ev_window_view_sidebar_cb), (find_bar_close_cb),
2427 (ev_window_dispose), (ev_window_class_init),
2428 (set_action_properties), (set_chrome_actions), (load_chrome),
2431 Implement fullscreen mode changes from bug #164776.
2432 Also implement persistent chrome toggles.
2434 2005-02-07 Jordi Mallach <jordi@sindominio.net>
2436 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
2438 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
2444 Add another check for find interface
2448 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
2450 * shell/ev-application.c: (ev_application_open):
2451 * shell/ev-window.c: (ev_window_open):
2453 Open gzipped ps documents
2455 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
2458 * shell/ev-view.c: (set_document_page):
2460 Clamp page number, dont try to move to
2463 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
2465 * backend/ev-document-find.c: (ev_document_find_changed):
2466 * backend/ev-document-find.h:
2467 * pdf/xpdf/pdf-document.cc:
2468 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
2469 * shell/ev-window.c: (find_bar_search_changed_cb):
2471 Fix several bugs with find
2473 2005-02-04 Martin Kretzschmar <martink@gnome.org>
2475 * shell/ev-sidebar-thumbnails.c
2476 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
2477 document. Prevents warning from scroll_to_cell.
2479 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
2481 * configure.ac: Add «nb» to ALL_LINGUAS too.
2483 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
2485 * NOTES: New file with some random thoughts.
2489 * backend/ev-document-misc.c:
2490 (ev_document_misc_get_page_border_size): New function to
2491 canonicalize shadow drawing sizes. Possibly goofy.
2493 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
2494 (ev_view_best_fit), (ev_view_fit_width):
2495 * pdf/xpdf/pdf-document.cc:
2496 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
2497 * ps/ps-document.c: (ps_document_get_page_size):
2498 * backend/ev-document-misc.h:
2499 * backend/ev-document.c: (ev_document_get_page_size):
2500 * backend/ev-document.h: get_page_size now takes a page number
2501 parameter. Made all the backends/frontends honor it.
2503 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
2504 see. Doesn't work yet.
2506 * shell/Makefile.am:
2507 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
2508 Doesn't do anything yet.
2510 * shell/ev-sidebar-thumbnails.c:
2511 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
2514 * shell/ev-window.c: (update_action_sensitivity),
2515 (ev_window_setup_document), (ev_window_set_page_mode),
2516 (ev_window_page_mode_cb), (ev_window_init): Clean up the
2517 view-swapping code a bit so we can have multiple views on a
2518 document. Add the multi-page view, though it can't be turned on
2521 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
2523 * shell/ev-application.c: (ev_application_open):
2524 * shell/ev-view.c: (expose_bin_window):
2525 * shell/ev-window.c: (ev_window_open):
2527 Support eps and check document supports find
2528 before drawing highlightings in expose.
2530 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
2532 * pixbuf/pixbuf-document.c:
2533 (pixbuf_document_thumbnails_get_dimensions),
2534 (pixbuf_document_document_thumbnails_iface_init):
2536 implement get_dimensions
2538 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
2545 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
2547 * shell/ev-view.c: (set_document_page):
2549 Scroll at the top of the page when changing page
2551 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
2553 * shell/ev-view.c: (ev_view_motion_notify_event):
2555 Do not redraw unnecessarily
2557 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
2559 * pdf/xpdf/pdf-document.cc:
2560 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
2561 (expose_bin_window), (find_changed_cb):
2563 Yay! find works now... Now to find bugs...
2565 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
2567 * backend/ev-document-find.c: (ev_document_find_base_init),
2568 (ev_document_find_changed):
2569 * backend/ev-document-find.h:
2570 * pdf/xpdf/pdf-document.cc:
2571 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
2572 (expose_bin_window), (ev_view_init), (set_document_page),
2573 (ensure_rectangle_is_visible), (jump_to_find_result),
2574 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
2575 (ev_view_find_next), (ev_view_find_previous):
2577 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
2579 More work on find implementation, mostly there now
2581 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
2583 * backend/ev-backend-marshalers.list:
2584 * backend/ev-document-find.c: (ev_document_find_base_init),
2585 (ev_document_find_cancel), (ev_document_find_page_has_results),
2586 (ev_document_find_get_n_results), (ev_document_find_get_result),
2587 (ev_document_find_get_progress), (ev_document_find_changed):
2588 * backend/ev-document-find.h:
2590 Enanche the find interface to be really able to do
2593 * pdf/xpdf/pdf-document.cc:
2597 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
2598 (expose_bin_window), (ev_view_init),
2599 (ev_view_get_find_status_message), (find_changed_cb),
2600 (ev_view_set_document), (set_document_page):
2602 Adapt to the new interface. A few things are regressed sorry,
2603 I will finish it soon.
2605 2005-01-28 Martin Kretzschmar <martink@gnome.org>
2607 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
2608 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
2609 ev_sidebar_thumbnails_parent_class variable, don't define another
2610 parent_class variable.
2612 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
2613 (ev_page_action_class_init): ditto.
2615 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
2616 (pixbuf_document_class_init): ditto.
2618 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
2621 * .cvsignore: ignore various valgrind output files.
2623 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
2625 * data/evince-ui.xml:
2626 * shell/Makefile.am:
2627 * shell/ev-history.c:
2628 * shell/ev-history.h:
2629 * shell/ev-navigation-action.c:
2630 * shell/ev-navigation-action.h:
2631 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
2632 (ev_view_set_page), (ev_view_fit_width):
2634 * shell/ev-window.c: (update_action_sensitivity),
2635 (ev_window_setup_document), (register_custom_actions):
2637 Kill session history
2639 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
2641 * shell/ev-window.c: (update_action_sensitivity):
2643 Fix inverted up/down buttons
2645 2005-01-27 Martin Kretzschmar <martink@gnome.org>
2647 * shell/ev-sidebar-thumbnails.c
2648 (ev_sidebar_thumbnails_select_page): make sure the selected
2649 thumbnail stays visible.
2651 2005-01-26 Martin Kretzschmar <martink@gnome.org>
2653 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
2654 scrolled window for Federico.
2656 2005-01-26 Ole Laursen <olau@hardworking.dk>
2658 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
2660 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
2663 * pdf/splash/SplashFTFontEngine.cc:
2665 Fix CID fonts with freetype 2.1.9
2667 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
2669 * TODO: added item for desktop icon thumbnailer
2671 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
2673 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
2674 unloaded docs when the title is accessed.
2676 * shell/ev-password-view.[hc]: New widget for displaying password
2679 * shell/ev-window.[ch]: Refactor password handling code to handle
2682 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
2690 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
2692 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
2693 ignore page offset here, to make search results independent of it,
2695 * shell/ev-view.c (expose_bin_window): but take offsets into
2696 account here. Bug #164932
2698 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
2699 scale at the right time. Bug #164996
2701 2005-01-22 Martin Kretzschmar <martink@gnome.org>
2703 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
2704 fix the problem. Now I just removed the Adobe font names and hope
2705 that the URW fonts are always in outline format. Bug #164934
2707 * shell/ev-window.c (update_window_title): empty titles are
2708 useless, use filename in that case too.
2710 * NEWS: Add some content.
2712 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
2714 * TODO: added one more TODO item and a TODONE section :)
2716 2005-01-21 Martin Kretzschmar <martink@gnome.org>
2718 * ps/ps-document.h: add page_[xy]_offset fields.
2720 * ps/ps-document.c (ps_document_set_page_offset)
2721 (ps_document_render): Keep offset in consideration in a few
2722 places. Bug #164752 "postscript documents are not centered in
2725 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
2726 s/gpdf/evince/. Spotted by Stephane Loeuillet.
2728 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
2729 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
2730 stub out missing methods for complete EvDocument implementation.
2731 Fixes segfaults with Save A Copy and Copy actions.
2733 * ps/ps-document.c (ps_document_save, ps_document_get_text)
2734 (ps_document_document_iface_init): ditto.
2736 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
2740 * data/evince.desktop.in:
2744 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
2746 * shell/ev-view.c: (ev_view_button_press_event),
2747 (ev_view_motion_notify_event):
2749 Make selection work in any direction
2751 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
2754 * shell/ev-window.c: (set_short_labels), (ev_window_init):
2756 Use shorter labels for some of the toolbars items
2758 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
2760 * pdf/xpdf/pdf-document.cc:
2762 Check the links info is initialized before
2763 using it. Should fix a crash on startup.
2765 2005-01-21 Martin Kretzschmar <martink@gnome.org>
2767 * pixbuf/pixbuf-document.c
2768 (pixbuf_document_thumbnails_get_dimensions): force floating point
2769 division to calculate page_ratio. Fixes crash with landscape
2772 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
2774 * shell/ev-view.c (ev_view_realize): make the bg color darker.
2776 2005-01-20 Martin Kretzschmar <martink@gnome.org>
2778 * shell/ev-view.c (set_document_page): unset has_selection when
2780 (set_document_page): handle paper size changes when the page
2781 changes (test with Free Culture, page 2).
2783 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
2785 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
2786 (expose_bin_window), (ev_view_class_init), (ev_view_init):
2788 Use normal style color for the widget background and
2789 draw a black box around the page.
2791 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
2793 * pdf/xpdf/pdf-document.cc:
2795 Keep offset in consideration in a few places
2797 * shell/ev-view.c: (expose_bin_window):
2799 Set the offsets so that the document is ever centered
2801 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
2803 * TODO: Added TODO items and finished off the first todo item
2805 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
2806 reflect current authors
2808 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
2810 * pdf/xpdf/pdf-document.cc:
2811 * shell/ev-view.c: (ev_view_set_cursor),
2812 (ev_view_motion_notify_event), (document_changed_callback),
2813 (set_document_page):
2815 Show a wait cursor while the page is rendering
2817 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
2819 * shell/ev-sidebar-thumbnails.c:
2820 (ev_sidebar_tree_selection_changed),
2821 (ev_sidebar_thumbnails_select_page):
2822 * shell/ev-sidebar-thumbnails.h:
2823 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
2824 (ev_view_can_go_forward):
2825 * shell/ev-window.c: (ev_window_open_page),
2826 (ev_window_setup_document), (update_current_page),
2827 (view_page_changed_cb), (ev_window_init):
2828 * shell/ev-window.h:
2830 Ensure thumbnails selection, toolbar page control and
2831 current page are in sync.
2833 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
2839 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
2841 * backend/Makefile.am:
2842 * backend/ev-document-links.h:
2843 * backend/ev-document-security.c: (ev_document_security_get_type),
2844 (ev_document_security_has_document_security),
2845 (ev_document_security_set_password):
2846 * backend/ev-document-security.h:
2847 * backend/ev-document.c: (ev_document_error_quark):
2848 * backend/ev-document.h:
2850 * data/evince-password.glade:
2851 * pdf/xpdf/pdf-document.cc:
2852 * shell/Makefile.am:
2853 * shell/ev-password.c: (ev_password_set_bad_password_label),
2854 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
2855 (ev_password_dialog_get_password),
2856 (ev_password_dialog_set_bad_pass):
2857 * shell/ev-password.h:
2858 * shell/ev-window.c: (ev_window_get_attribute),
2859 (ev_window_set_property), (update_action_sensitivity),
2860 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
2861 (ev_window_setup_document), (ev_window_get_password),
2862 (ev_window_open), (ev_window_cmd_save_as),
2863 (using_postscript_printer), (ev_window_print),
2864 (find_not_supported_dialog), (ev_window_cmd_edit_find),
2865 (update_fullscreen_popup), (ev_window_fullscreen),
2866 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
2867 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
2868 (menu_item_select_cb), (find_bar_search_changed_cb),
2869 (ev_window_dispose), (ev_window_init):
2871 Add initial support for password-supported dialogs. This could be
2872 a lot cooler, but it'll do for now.
2874 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
2876 * pdf/xpdf/pdf-document.cc:
2877 * shell/ev-view.c: (status_message_from_link),
2878 (ev_view_set_status), (ev_view_set_cursor),
2879 (ev_view_motion_notify_event), (ev_view_init):
2880 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
2882 Fix bugs in the links implementation and change cursor
2883 when hovering a link.
2885 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
2887 * viewer/.cvsignore: added cvsignore file for viewer directory
2889 * TODO: created TODO document
2891 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
2894 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
2895 new functions to help with implementation of sensitivity code
2896 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
2897 of all actions that might require it. Fixes a crash when you
2898 click on the Zoom actions in a window lacking a document.
2900 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
2902 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
2905 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
2907 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
2908 (pixbuf_document_document_iface_init):
2909 * ps/ps-document.c: (ps_document_get_link),
2910 (ps_document_document_iface_init):
2911 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
2912 (status_message_from_link), (ev_view_set_status),
2913 (ev_view_set_find_status), (ev_view_motion_notify_event),
2914 (ev_view_button_release_event), (ev_view_set_property),
2915 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
2916 (ev_view_get_find_status_message), (update_find_results),
2917 (ev_view_get_status), (ev_view_get_find_status):
2919 * shell/ev-window.c: (view_status_changed_cb),
2920 (view_find_status_changed_cb), (ev_window_init):
2922 View status message support, use it to show the links.
2925 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
2927 * backend/ev-document.c: (ev_document_get_link):
2928 * backend/ev-document.h:
2929 * pdf/xpdf/pdf-document.cc:
2930 * shell/ev-application.c: (ev_application_open):
2931 * shell/ev-application.h:
2932 * shell/ev-sidebar-links.c: (selection_changed_cb):
2933 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
2934 (ev_view_go_to_link):
2936 Add support for document links
2938 2005-01-13 Anders Carlsson <andersca@gnome.org>
2940 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
2942 Set the spin button limits correctly.
2944 * shell/ev-sidebar-thumbnails.c:
2945 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
2946 Support changing pages by clicking on the thumbnails.
2948 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
2950 * pixbuf/pixbuf-document.c:
2951 (pixbuf_document_thumbnails_get_dimensions),
2952 (pixbuf_document_document_thumbnails_iface_init):
2954 implement get_dimensions
2956 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
2958 * ps/ps-document.c: (ps_document_goto_page):
2960 Fix page switching on multipage documents
2962 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
2964 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
2966 check for NULL before assigning to width and height parameters
2968 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
2970 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2971 (pixbuf_document_set_property), (pixbuf_document_get_property):
2973 implement get/set properties
2975 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
2977 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
2979 return NULL instead of "Unknown", letting the title get set to
2980 the filename when the pdf has no title.
2982 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
2984 * ps/ps-document.c: (ps_document_get_page_count),
2985 (ps_document_goto_page):
2987 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
2989 * shell/ev-history.c: (ev_history_get_property),
2990 (ev_history_set_property), (ev_history_class_init),
2991 (ev_history_add_page), (ev_history_set_current_index):
2992 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
2993 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
2994 (ev_navigation_action_finalize):
2995 * shell/ev-navigation-action.h:
2996 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
2997 (ev_view_go_forward), (ev_view_get_find_status_message),
2998 (history_index_changed_cb), (ev_view_set_history):
3000 * shell/ev-window.c: (update_total_pages), (ev_window_open),
3001 (update_current_page), (register_custom_actions):
3003 Implement history dropdowns
3005 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
3007 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
3008 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
3009 (ev_view_go_forward):
3010 * shell/ev-window.c: (register_custom_actions):
3012 Fix several history bugs
3014 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
3016 * configure.ac: Add «nb» to ALL_LINGUAS.
3018 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
3020 * backend/Makefile.am:
3021 * backend/ev-bookmark.c:
3022 * backend/ev-bookmark.h:
3023 * backend/ev-document-bookmarks.c:
3024 * backend/ev-document-bookmarks.h:
3025 * backend/ev-document-links.c: (ev_document_links_get_type),
3026 (ev_document_links_has_document_links),
3027 (ev_document_links_begin_read), (ev_document_links_get_link),
3028 (ev_document_links_get_child), (ev_document_links_next),
3029 (ev_document_links_free_iter):
3030 * backend/ev-document-links.h:
3031 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
3032 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
3033 (ev_link_get_link_type), (ev_link_set_link_type),
3034 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
3035 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
3036 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
3037 (ev_link_new_external):
3038 * backend/ev-link.h:
3039 * pdf/xpdf/pdf-document.cc:
3040 * shell/Makefile.am:
3041 * shell/ev-application.c: (ev_application_open_link):
3042 * shell/ev-application.h:
3043 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
3044 (ev_history_get_link_nth):
3045 * shell/ev-history.h:
3046 * shell/ev-sidebar-bookmarks.c:
3047 * shell/ev-sidebar-bookmarks.h:
3048 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3049 (ev_sidebar_links_class_init), (selection_changed_cb),
3050 (ev_sidebar_links_construct), (ev_sidebar_links_init),
3051 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
3052 (do_one_iteration), (populate_links_idle),
3053 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
3054 * shell/ev-sidebar-links.h:
3055 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3056 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
3059 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
3060 * shell/ev-window.h:
3062 Rename bookmark to link, and use "Index" for the sidebar panel.
3064 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
3066 * shell/Makefile.am:
3067 * shell/ev-application.c: (ev_application_open_bookmark):
3068 * shell/ev-application.h:
3069 * shell/ev-history.c: (ev_history_init), (free_links_list),
3070 (ev_history_finalize), (ev_history_class_init),
3071 (ev_history_add_link), (ev_history_add_page),
3072 (ev_history_get_link_nth), (ev_history_get_n_links),
3073 (ev_history_get_current_index), (ev_history_set_current_index),
3075 * shell/ev-history.h:
3076 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
3077 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
3078 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
3079 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
3082 * shell/ev-window.c: (ev_window_open_bookmark),
3083 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
3084 (goto_page_cb), (register_custom_actions):
3085 * shell/ev-window.h:
3087 Initial history implementation. Needs work.
3089 2005-01-09 Martin Kretzschmar <martink@gnome.org>
3091 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
3093 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
3095 * cut-n-paste/recent-files/egg-recent-item.c:
3096 * cut-n-paste/recent-files/egg-recent-item.h:
3097 * cut-n-paste/recent-files/egg-recent-model.c:
3098 * cut-n-paste/recent-files/egg-recent-util.c:
3099 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3100 * cut-n-paste/recent-files/egg-recent-view.c:
3104 2005-01-08 Martin Kretzschmar <martink@gnome.org>
3106 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
3107 (fillGlyph, fillImageMask, drawImage):
3108 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
3109 pdf/splash/SplashTypes.h:
3110 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
3111 packed mode for Splash.
3113 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
3114 RGB8 packed mode, eliminates the pixbuf data creation loop.
3116 * shell/ev-print-job.c (ev_print_job_finalize)
3117 (ev_print_job_set_property, ev_print_job_get_property)
3118 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
3119 (ev_print_job_use_print_dialog_settings, idle_print_handler)
3120 (print_closure_finalize, ev_print_job_print): implement
3121 printing (for backends with EvPsExporter)
3123 * shell/ev_print_job.h: update prototypes.
3125 * shell/ev-window.c (ev_window_print): unref print job after
3128 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
3129 unless the document implements the EvDocumentFind interface.
3131 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
3133 * configure.ac: Added ja to ALL_LINGUAS.
3135 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3137 * pdf/xpdf/pdf-document.cc:
3139 add a FIXME. We should probably not allocate
3140 a bookmark object every time
3142 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3144 * shell/ev-application.c: (ev_application_open),
3145 (ev_application_open_bookmark):
3146 * shell/ev-application.h:
3148 Add a way to open bookmarks
3150 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
3151 (ev_bookmark_set_uri), (ev_bookmark_get_property),
3152 (ev_bookmark_set_property), (ev_bookmark_class_init),
3153 (ev_bookmark_new_title), (ev_bookmark_new_link),
3154 (ev_bookmark_new_external):
3156 Support for external uris, better constructors.
3158 * backend/ev-bookmark.h:
3159 * pdf/xpdf/pdf-document.cc:
3160 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
3162 Handle external uris
3164 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3166 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
3167 (ev_sidebar_bookmarks_construct), (do_one_iteration):
3169 Hook up bookmarks navigation
3171 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3173 * backend/Makefile.am:
3174 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
3175 (ev_bookmark_get_title), (ev_bookmark_set_title),
3176 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
3177 (ev_bookmark_get_page), (ev_bookmark_set_page),
3178 (ev_bookmark_get_property), (ev_bookmark_set_property),
3179 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
3181 * backend/ev-bookmark.h:
3182 * backend/ev-document-bookmarks.c:
3183 (ev_document_bookmarks_get_bookmark):
3184 * backend/ev-document-bookmarks.h:
3185 * pdf/xpdf/pdf-document.cc:
3186 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
3188 Add a bookmark object to the backend and use it instead of get_values
3190 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
3192 * data/evince-ui.xml:
3194 Cleanup and add select all.
3196 * shell/ev-view.c: (ev_view_select_all),
3197 (ev_view_button_press_event):
3199 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
3202 Clear selection on click.
3204 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
3206 * shell/ev-sidebar-thumbnails.c
3207 (ev_sidebar_thumbnails_set_document): forgot to unref the
3210 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
3212 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
3213 at the visible page, not just linearly. This makes it look fast.
3215 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
3217 * backend/ev-document-misc.c
3218 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
3220 * backend/ev-document-thumbnails.h: New interface to get the size
3223 2005-01-06 Jeremy Katz <katzj@redhat.com>
3225 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
3228 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
3230 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
3231 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
3234 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
3236 2005-01-05 Martin Kretzschmar <martink@gnome.org>
3238 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
3239 fonts. Should fix font problems on systems that have the base
3240 fonts in bitmap format. Reported by James Henstridge
3241 <james@jamesh.id.au>.
3243 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
3246 * pdf/xpdf/GfxState.cc:
3248 Fix for CAN-2004-1125
3250 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
3252 * shell/ev-view.c: (ev_view_copy):
3254 * shell/ev-window.c: (ev_window_cmd_edit_copy):
3256 Implement Edit->Copy
3258 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
3260 * backend/ev-document.c: (ev_document_get_text):
3261 * backend/ev-document.h:
3262 * pdf/xpdf/pdf-document.cc:
3263 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
3264 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3265 (ev_view_update_primary_selection), (ev_view_button_press_event),
3266 (ev_view_motion_notify_event), (ev_view_button_release_event):
3268 Beginnings of clipboard support. Incomplete but primary sort
3271 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
3273 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
3274 (expose_bin_window):
3276 Nicer rubberband drawing, from GtkIconView.
3278 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
3280 * backend/ev-document.c: (ev_document_save):
3281 * backend/ev-document.h:
3282 * data/evince-ui.xml:
3283 * pdf/xpdf/pdf-document.cc:
3284 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
3286 Implement "Save a copy..." menu item
3288 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
3290 * shell/ev-view.c: (ev_view_zoom):
3292 Queue a resize when zoom changes
3294 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
3296 * backend/ev-document-misc.[ch]: New misc file to do simple drop
3299 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
3302 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
3304 * pdf/xpdf/pdf-document.cc
3305 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
3307 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
3309 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
3310 It's slow, but I'll speed it up next!
3312 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
3314 * shell/main.c (load_files):
3316 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
3317 from the command line and because it seems more appropriate.
3319 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
3321 * data/evince-ui.xml:
3322 * shell/ev-window.c: (update_action_sensitivity),
3323 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
3325 s/next page/page down
3326 s/previous page/page up
3328 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
3330 * data/evince-ui.xml:
3332 Change the layout to match clarkbw design.
3334 * shell/Makefile.am:
3335 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
3336 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
3337 (ev_navigation_action_finalize),
3338 (ev_navigation_action_set_property),
3339 (ev_navigation_action_get_property),
3340 (ev_navigation_action_class_init):
3341 * shell/ev-navigation-action.h:
3343 Implement clarkbw toolbar navigation controls (incomplete)
3345 * shell/ev-page-action.c: (update_label), (update_spin),
3346 (value_changed_cb), (create_tool_item), (connect_proxy),
3347 (ev_page_action_init), (ev_page_action_finalize),
3348 (ev_page_action_set_property), (ev_page_action_get_property),
3349 (ev_page_action_set_current_page),
3350 (ev_page_action_set_total_pages), (ev_page_action_class_init):
3351 * shell/ev-page-action.h:
3353 Implement a page switcher in the toolbar
3355 * shell/ev-view.c: (ev_view_scroll_view):
3356 * shell/ev-window.c: (update_total_pages), (ev_window_open),
3357 (update_current_page), (view_page_changed_cb), (goto_page_cb),
3358 (register_custom_actions), (ev_window_init):
3360 Change page on PageUp/Down.
3362 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
3364 * pdf/xpdf/pdf-document.cc
3365 (pdf_document_thumbnails_get_thumbnail): initial stab at
3366 implementing thumbnail support for pdfs. It only does documents
3367 with precached pdfs now.
3369 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
3371 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
3372 thumbnail code into a time-based idle as well. Also, turn off the
3373 shadow temporarily as it's really slow.
3375 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
3377 * backend/ev-document.c: (ev_document_class_init):
3378 * pdf/xpdf/pdf-document.cc:
3379 * shell/ev-window.c: (ev_window_open):
3381 Fix document title bugs and fallback to
3382 filename when not available.
3384 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
3386 * backend/ev-document.c: (ev_document_get_type),
3387 (ev_document_class_init), (ev_document_load),
3388 (ev_document_get_title):
3389 * backend/ev-document.h:
3390 * pdf/xpdf/pdf-document.cc:
3391 * ps/ps-document.c: (ps_document_set_property),
3392 (ps_document_get_property), (ps_document_class_init),
3396 * shell/ev-window.c: (update_window_title), (ev_window_open),
3399 Initial support for document title. Not working yet.
3401 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
3403 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
3405 Grab focus on the view when clicking it
3407 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
3409 * shell/ev-marshal.list:
3410 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
3411 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
3413 Add key bindings to the view. Now if the focus would work
3416 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
3419 * backend/Makefile.am:
3422 * dvi/dvilib/Makefile.am:
3423 * pdf/xpdf/Makefile.am:
3429 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
3431 * shell/ev-view.c: (ev_view_realize):
3433 Fix mouse wheel scrolling
3435 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
3441 * ps/ps-document.c: (catchPipe), (ps_document_init),
3442 (ps_document_class_init), (ps_document_cleanup),
3443 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
3444 (set_up_page), (close_pipe), (is_interpreter_ready),
3445 (interpreter_failed), (output), (input), (start_interpreter),
3446 (stop_interpreter), (file_length), (file_readable),
3447 (check_filecompressed), (check_pdf), (compute_xdpi),
3448 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
3449 (ps_document_get_type), (ps_document_emit_error_msg),
3450 (document_load), (ps_document_next_page),
3451 (ps_document_get_current_page), (ps_document_get_page_count),
3452 (ps_document_goto_page), (ps_document_set_page_size),
3453 (ps_document_zoom_to_fit), (ps_document_set_zoom),
3454 (ps_document_load), (ps_document_get_n_pages),
3455 (ps_document_set_page), (ps_document_get_page),
3456 (ps_document_widget_event), (ps_document_set_target),
3457 (ps_document_set_scale), (ps_document_set_page_offset),
3458 (ps_document_get_page_size), (ps_document_render),
3459 (ps_document_document_iface_init):
3462 * shell/ev-window.c: (ev_window_open):
3464 Rename GtkGS to PSDocument
3466 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
3468 * ps/gtkgs.c: (gtk_gs_class_init):
3471 Some more leftover...
3473 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
3475 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
3476 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
3477 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
3480 Remove unused code and make a lot of stuff private
3482 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
3484 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
3485 (gtk_gs_defaults_changed):
3491 Cleanup headers dependencies
3493 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
3498 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
3500 * ps/gtkgs.c: (file_length), (file_readable),
3501 (check_filecompressed), (check_pdf), (gtk_gs_load),
3502 (gtk_gs_get_postscript):
3506 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
3511 * ps/gtkgs.c: (gtk_gs_set_zoom):
3515 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
3517 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
3519 Ensure the page is rerendered when changing zoom
3521 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
3523 * backend/ev-document.c: (ev_document_base_init),
3524 (ev_document_changed):
3525 * backend/ev-document.h:
3527 Add a changed event that is emitted when the page content
3528 changes. This is necessary to deal with the fact that
3529 in ps backend rendering happen asycrounously.
3530 This makes the ps backend mostly work.
3532 * pdf/xpdf/pdf-document.cc:
3536 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
3537 (ps_document_set_target):
3541 * shell/ev-view.c: (document_changed_callback),
3542 (ev_view_set_document), (ev_view_set_page):
3544 Redraw on the changed signal
3546 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
3548 * configure.ac: Added pt_BR to ALL_LINGUAS.
3550 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
3552 * backend/ev-document-bookmarks.c:
3553 (ev_document_bookmarks_get_child): *
3554 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
3555 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
3556 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
3557 (ev_sidebar_bookmarks_destroy),
3558 (ev_sidebar_bookmarks_class_init),
3559 (ev_sidebar_bookmarks_construct), (stack_data_free),
3560 (do_one_iteration), (populate_bookmarks_idle),
3561 (ev_sidebar_bookmarks_clear_document),
3562 (ev_sidebar_bookmarks_set_document): *
3563 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
3564 (ev_sidebar_add_page),
3565 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
3566 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
3567 it displays both the topics and the page numbers.
3569 2004-12-23 Kristian Høgsberg <krh@redhat.com>
3571 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
3573 * shell/ev-window.c (toggle_entries): Set sidebar default value to
3576 2004-12-23 Adam Weinberger <adamw@gnome.org>
3578 * configure.ac: Added en_CA to ALL_LINGUAS.
3580 2004-12-23 Martin Kretzschmar <martink@gnome.org>
3582 * ChangeLog: replace bottom of this ChangeLog (merged history of
3583 ggv and gpdf; where all paths were wrong and most of the files are
3584 not even in this tree) with ChangeLog (from arch) of the shell
3587 2004-12-23 Havoc Pennington <hp@redhat.com>
3589 * shell/ev-window.c: hook up potentially-questionable "find
3590 results status text" feature - something involving the sidebar or
3591 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
3592 might be better in the end.
3594 * shell/ev-view.c (ev_view_get_find_status_message): new function,
3595 with corresponding signal when it should be updated
3597 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
3599 2004-12-22 Havoc Pennington <hp@redhat.com>
3601 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
3602 find stuff on other pages, sort of (only returns one result on
3603 invisible pages, to show they have results; updates full results
3604 for a page when you view it). Currently repaints the current page
3605 every time a new result is found on any page, which isn't so nice.
3607 2004-12-22 Havoc Pennington <hp@redhat.com>
3609 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
3610 the document doesn't support find (better ideas?)
3611 (find_bar_search_changed_cb): handle missing document or document
3612 that doesn't support find
3614 * pdf/xpdf/pdf-document.cc: port to implement the new
3617 * backend/ev-document-find.c: create a new interface for searching
3619 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
3621 2004-12-23 Martin Kretzschmar <martink@gnome.org>
3623 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
3626 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
3627 EvPrintJob constructor arguments.
3629 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
3630 for documents that can export PostScript (page by page).
3632 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
3634 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
3635 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
3636 (pdf_document_ps_exporter_iface_init:
3637 Implement EvPSExporter.
3639 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
3641 2004-12-22 Anders Carlsson <andersca@gnome.org>
3643 * backend/Makefile.am:
3644 * backend/ev-document-thumbnails.c:
3645 (ev_document_thumbnails_get_type),
3646 (ev_document_thumbnails_get_thumbnail):
3647 * backend/ev-document-thumbnails.h:
3648 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
3649 (pixbuf_document_thumbnails_get_thumbnail),
3650 (pixbuf_document_document_thumbnails_iface_init):
3651 * shell/Makefile.am:
3652 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
3653 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
3654 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
3655 * shell/ev-sidebar-thumbnails.h:
3656 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3657 (ev_sidebar_set_document):
3658 * shell/ev-utils.c: (gaussian), (create_blur_filter),
3659 (create_shadow), (ev_pixbuf_add_shadow):
3661 Add thumbnail support.
3663 2004-12-22 Martin Kretzschmar <martink@gnome.org>
3665 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
3666 (using_postscript_printer): Set up a print dialog for "PostScript
3669 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
3672 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
3674 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
3676 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
3677 (ps_document_set_target), (ps_document_get_page_size),
3678 (ps_document_render):
3683 2004-12-22 Christian Rose <menthos@menthos.com>
3685 * configure.ac: Added "sv" to ALL_LINGUAS.
3687 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
3689 * backend/ev-document-bookmarks.[ch]: new interface to indicate
3690 document supports bookmarks.
3692 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
3694 * ps/ggvutils.c: (ggv_file_readable):
3696 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
3697 (gtk_gs_get_postscript):
3701 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
3703 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
3704 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
3705 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
3706 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
3707 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
3708 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
3709 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
3710 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
3711 (gtk_gs_set_antialiasing), (ps_document_load),
3712 (ps_document_render):
3715 Another check point for the ps backend. Now I can get it to show
3718 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
3720 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
3721 document setting code.
3723 2004-12-22 Anders Carlsson <andersca@gnome.org>
3725 * shell/eggfindbar.c: (entry_activate_callback):
3726 Animate the next button when activate is pressed.
3728 2004-12-22 Anders Carlsson <andersca@gnome.org>
3730 * shell/ev-window.c: (ev_window_cmd_edit_find),
3731 (update_fullscreen_popup), (ev_window_fullscreen),
3732 (ev_window_unfullscreen), (ev_window_state_event_cb),
3733 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
3734 Fix bugs in fullscreen code.
3736 2004-12-22 Anders Carlsson <andersca@gnome.org>
3740 * pixbuf/Makefile.am:
3741 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
3742 (pixbuf_document_load), (pixbuf_document_get_n_pages),
3743 (pixbuf_document_set_page), (pixbuf_document_get_page),
3744 (pixbuf_document_set_target), (pixbuf_document_set_scale),
3745 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
3746 (pixbuf_document_render), (pixbuf_document_begin_find),
3747 (pixbuf_document_end_find), (pixbuf_document_finalize),
3748 (pixbuf_document_class_init),
3749 (pixbuf_document_document_iface_init), (pixbuf_document_init):
3750 * pixbuf/pixbuf-document.h:
3751 * shell/Makefile.am:
3752 * shell/ev-application.c: (ev_application_open):
3753 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
3757 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
3760 * dvi/dvilib/Makefile.am:
3762 * configure.ac: Auto*ify dvi and dvi/dvilib
3764 * dvi/Makefile: Remove from CVS
3766 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
3769 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
3771 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
3773 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
3776 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
3777 (gtk_gs_value_adjustment_changed), (compute_size),
3778 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
3779 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
3780 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
3781 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
3782 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
3783 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
3784 (ps_document_load), (ps_document_get_n_pages),
3785 (ps_document_set_page), (ps_document_get_page),
3786 (ps_document_set_target), (ps_document_set_scale),
3787 (ps_document_set_page_offset), (ps_document_get_page_size),
3788 (ps_document_render), (ps_document_begin_find),
3789 (ps_document_end_find), (ps_document_document_iface_init):
3791 * shell/Makefile.am:
3792 * shell/ev-window.c: (ev_window_open):
3794 Some work to integrate gtkgs with EvDocument
3796 2004-12-22 Anders Carlsson <andersca@gnome.org>
3798 * shell/ev-window.c: (update_fullscreen_popup),
3799 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
3800 (exit_fullscreen_button_clicked_cb),
3801 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
3802 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
3803 (ev_window_state_event_cb), (ev_window_init):
3804 Add fullscreen support from Epiphany.
3806 2004-12-22 Mark McLoughlin <mark@skynet.ie>
3808 * data/ev-stock-zoom-fit-width.png: fit-width
3809 stock icon from gpdf.
3811 * shell/ev-stock-icons.[ch]: copied from gpdf.
3813 * shell/main.c: (main): init stock icons.
3815 * shell/ev-window.c: use the fit-width icon.
3817 * data/evince-ui.xml: add zooming toolbar items.
3819 2004-12-22 Mark McLoughlin <mark@skynet.ie>
3822 (ev_view_best_fit), (ev_view_fit_width): because
3823 get_page_size() returns the scaled page size, we
3824 need to calculate the scale factor relative to
3825 the previous scale factor. Should really just
3826 add get_real_page_size().
3828 2004-12-22 Mark McLoughlin <mark@skynet.ie>
3830 * shell/ev-view.[ch]:
3831 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
3832 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
3835 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3836 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
3837 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
3840 * pdf/xpdf/pdf-document.cc:
3841 (pdf_document_begin_find),
3842 (pdf_document_end_find): make static.
3844 2004-12-22 Martin Kretzschmar <martink@gnome.org>
3846 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
3848 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
3849 names to fontconfig patterns.
3850 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
3852 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
3855 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
3871 Import ggv backend. Not hooked up yet.
3873 2004-12-22 Mark McLoughlin <mark@skynet.ie>
3875 * shell/main.c: (load_files), (main): load files
3876 from the command line.
3878 2004-12-22 Mark McLoughlin <mark@skynet.ie>
3880 * configure.ac: don't require bonobo.
3882 * cut-n-paste/recent-files/*: kill bonobo recent
3885 * shell/ev-window.c:
3886 (ev_window_is_empty): upd.
3887 (unable_to_load), (ev_window_open): load backend
3888 based on the mime type.
3890 2004-12-22 Martin Kretzschmar <martink@gnome.org>
3892 * backend/.cvsignore: ignore generated marshalers source.
3894 * shell/main.c (main): this is not epiphany.
3896 2004-12-22 Havoc Pennington <hp@redhat.com>
3898 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
3899 (expose_bin_window): draw find highlights
3901 * shell/ev-window.c (find_bar_search_changed_cb): implement
3903 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
3904 (pdf_document_end_find): implement this interface
3906 * backend/ev-document.c (ev_document_found): add this to emit
3909 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
3911 * data/evince-ui.xml: Add a few more toolbar items.
3913 * shell/ev-window.c: Hook up page navigation toolbar
3916 * shell/ev-view.[ch]: add ev_view_set/get_page and
3917 a page-changed signal.
3919 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
3920 Add ev_document_get_page().
3922 * shell/ev-window.c: Sensitize/desensitize navigation
3925 2004-12-21 Havoc Pennington <hp@redhat.com>
3927 * backend/ev-backend-marshal.c,
3928 backend/ev-backend-marshalers.list, backend/Makefile.am: add
3929 marshaler-generator thingy. I'm sure there's a better way to do
3930 this in the modern world.
3932 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
3933 end_find methods and "found" signal.
3935 * configure.ac: find glib-genmarshal
3937 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
3939 * shell/ev-sidebar.c: Construct an actual sidebar.
3940 * shell/ev-sidebar-bookmarks.[ch]:
3941 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
3943 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
3945 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
3948 * shell/ev-view.c: Track the size from the document.
3950 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
3952 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
3953 constructor assumes ownership of the string passed in.
3955 * shell/ev-window.c (ev_window_open): Destroy the error
3956 dialog once we've displayed it.
3958 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
3960 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
3961 a bit, it works! (sort of)
3963 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
3964 Move to .cc since we need to use C++ in the implementation.
3966 * shell/dummy.cc: Add a CC file to force evince
3967 to be linked as a C++ program.
3969 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
3971 * shell/ev-view.[ch]: Start of content-area widget.
3973 * shell/ev-window.c: Create a EvView, update it
3974 as we change documents.
3976 * shell/Makefile.am shell/ev-marshal.list: Add
3977 generated marshalers.
3979 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
3981 * Makefile.am (SUBDIRS): move shell.
3983 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
3985 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
3986 .a to libtool convenience libraries.
3988 * shell/ev-window.c (ev_window_open): Hard code loading
3991 * backend/ev-document.h: Add a boolean return to load(),
3992 fix GError * to GError **.
3994 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
3995 object for a PDF backend EvDocument.
3997 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
3999 * dvi/*: New directory with the beginning of a .dvi backend.
4001 2004-12-21 Havoc Pennington <hp@redhat.com>
4003 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
4004 previous/next instead of back/forward
4006 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
4008 * backend/ev-document.[ch]: Fix a couple of problems so
4011 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
4013 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
4014 to backend/ directory, rename EvViewer to EvDocument.
4016 2004-12-21 Havoc Pennington <hp@redhat.com>
4018 * shell/ev-window.c: hook up the find bar widget; now we just need
4019 a document to find things in
4021 * shell/eggfindbar.c: a find bar widget
4023 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
4025 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
4027 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
4029 * pdf/**: Import of xpdf code from gpdf.
4031 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
4033 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
4034 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
4035 Fix FreeType includes.
4037 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
4038 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
4039 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
4040 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
4041 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
4042 Include xpdfconfig.h
4044 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
4046 * shell/ev-window.c (ev_window_dispose): dispose can be called
4049 2004-12-21 Havoc Pennington <hp@redhat.com>
4051 * shell/ev-window.c (ev_window_init): set title to Document Viewer
4054 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
4055 items; really they should be synced with the strings, etc. from
4056 current gpdf, but just getting the boring typing out of the way
4058 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
4061 * shell/ev-application.c: (window_destroy_cb):
4062 * shell/ev-window.c:
4063 * shell/main.c: (main):
4065 Actually show the window...
4067 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
4070 * shell/Makefile.am:
4071 * shell/ev-application.c: (ev_application_class_init):
4072 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
4076 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
4078 Import to gnome cvs.
4080 * Remove copies of gpdf and ggv trees.
4081 * Rip out all the recursive configure code.
4082 * Remove bonobo machinery.
4083 * viewer/*: GInterfaces that backends should/can implement.
4085 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
4087 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
4090 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
4092 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
4093 (ev_application_finalize, ev_application_class_init)
4094 (ev_application_init): use GType instance private data for priv.
4096 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
4097 (ev_window_finalize, ev_window_class_init)
4098 (ev_window_init): ditto.
4100 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
4102 * shell/ev-application.c (ev_application_new_window): make public
4103 (ev_application_show_initial_window): kill.
4105 * shell/ev-application.h: update prototypes.
4107 * shell/main.cc (main): inline ev_application_show_initial_window.
4109 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
4111 * shell/ev-application.c (ev_application_new_window): impl.
4112 (ev_application_show_initial_window): use it.
4113 (is_window_empty, ev_application_get_empty_window): returns an
4114 existing empty window or a new one.
4115 (ev_application_open): from ev_window_cmd_file_open.
4117 * shell/ev-application.h: update prototypes
4119 * shell/ev-window.c (ev_window_is_empty): impl.
4120 (ev_window_open): make public.
4121 (ev_window_cmd_file_open): use ev_application_open
4123 * shell/ev-window.h: update prototypes, remove unused.
4125 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
4127 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
4128 move destroy handler out of here...
4130 * shell/ev-application.c, shell/ev-application.h: ...into this new
4131 class. Also handles initial window creation.
4133 * shell/main.cc (main): use EvApplication to create initial
4136 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
4138 * Makefile.am (SUBDIRS): add cut-n-paste
4140 * cut-n-paste/Makefile.am: add
4142 * configure.ac: generate Makefiles in cut-n-paste
4144 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
4146 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
4147 (ev_window_class_init): install ev_window_dispose.
4149 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
4151 * shell/ev-window.h, shell/ev-window.c: replace gchar with
4152 char (gchar looks stupid).
4154 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
4156 * po/de.po: updated German translation.
4158 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
4160 * configure.ac: add more pkg-config library checks for gnome-vfs,
4163 * gpdf/configure.in: temporarily disable libpaper
4164 checks. Otherwise I'd have to add the checks for the shell, too.
4166 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4168 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
4169 and * file filters to the file choose.
4171 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4173 * po/de.po: Updated German translation.
4175 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4177 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
4179 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4181 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
4183 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
4184 (ev_window_init): implement those menuitems.
4186 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4188 * data/evince-ui.xml: add a toolbar (with FileOpen action)
4190 * shell/ev-window.c (ev_window_init): use the toolbar.
4192 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4194 * shell/ev-window.c (ev_window_init): use menu translations
4196 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4198 * configure.ac: add "de" to ALL_LINGUAS.
4200 * po/de.po: add German translation.
4202 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4204 * Makefile.am (SUBDIRS): add po
4206 * configure.ac: check intltool, glib-gettext etc, generate
4209 * po, po/POTFILES.in, po/POTFILES.skip: new.
4211 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
4213 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
4214 already use (#ifdef ENABLE_NLS)
4216 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
4217 pointer indirection thinko.
4219 * shell/main.c: include gi18n.h for bindtextdomain etc.
4221 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4223 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
4224 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
4225 tooltips for menu items in the statusbar.
4227 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4229 * configure.ac, data/Makefile.am, shell/Makefile.am: use
4230 pkgdatadir drop UIDIR
4232 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4234 * data/evince-ui.xml: Add File->Open menu item
4236 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
4237 chooser), hook it up in the ui manager.
4239 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4241 * shell/ev-window.c: fix Help->About tooltip.
4243 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4245 * configure.ac: set CFLAGS for libevprivate.
4247 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
4248 definitions, factory etc.
4250 * lib/Makefile.am: build libevprivate.a (only stock icon code).
4252 * shell/Makefile.am: link against libevprivate.a.
4254 * shell/ev-window.c (entries): add stock icon to Help->About.
4256 * shell/main.c (main): init stock icon code.
4258 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4260 * lib/recent-files: egg recent files code
4262 * lib/Makefile.am: add.
4264 * Makefile.am: add lib subdir.
4266 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
4267 set CFLAGS for recent-files.
4269 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4271 * configure.ac: disable -ansi and -pedantic gcc flags. They
4272 disable POSIX stuff in stdio.h, but egg-recent uses them.
4274 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4276 * configure.ac: add --disable-deprecated flag (defaults to on in
4279 * shell/Makefile.am (INCLUDES): use it.
4281 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4283 * shell/main.c: add missing #include.
4285 * shell/ev-window.c: fix for pedantic gcc.
4286 (ev_window_cmd_help_about): split license into paragraphs for
4287 translators and pedantic compilers.
4289 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4291 * configure.ac: add more warning flags if compiling with gcc from
4292 cvs (or explicitly requested with --enable-more-warnings).
4294 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4296 * data/evince-ui.xml: add File and File->Close menu.
4298 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
4299 (ev_window_destroy): quit after destroy.
4300 (ev_window_class_init): override GtkObject::destroy.
4301 (entries): install close_window callback.
4303 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4305 * Makefile.am (SUBDIRS): add data subdir.
4307 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
4308 gtk+ 2.5.0 for GtkAboutDialog.
4310 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
4313 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
4315 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
4317 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
4319 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
4321 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
4323 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
4325 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
4327 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
4329 * shell/*: Added shell directory boilerplate, build it.
4331 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
4333 * configure.ac, Makefile.am: Added top-level configure.ac and