Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-view.c
Commit message (Collapse)AuthorAgeFilesLines
* Add keybindings for percision-scrolling of display area. Fix for the bugRicardo Markiewicz2006-01-231-6/+18
| | | | | | | | | | 2006-01-24 Ricardo Markiewicz <rmarkie@fi.uba.ar> * shell/ev-view.c: (add_scroll_binding_keypad), (ev_view_binding_activated), (ev_view_class_init): Add keybindings for percision-scrolling of display area. Fix for the bug #314072.
* Dual mode places even pages to the left. Fix for the bug #309393.Nickolay V. Shmyrev2006-01-071-41/+29
| | | | | | | | | | | | | | | | | | | | | | | * shell/ev-page-cache.c: (build_height_to_page), (ev_page_cache_get_height_to_page): * shell/ev-page-cache.h: * shell/ev-view.c: (view_update_range_and_current_page), (get_page_y_offset), (get_page_extents), (ev_view_next_page), (ev_view_previous_page): Dual mode places even pages to the left. Fix for the bug #309393. * shell/ev-view.h: * shell/ev-window.c: (update_action_sensitivity), (setup_view_from_metadata), (view_menu_popup_cb): Don't restore presentation in empty windows, more intelligent next page behaviour in dual mode. * shell/ev-pixbuf-cache.c: (check_job_size_and_unref), (ev_pixbuf_cache_clear_job_sizes): Cleanup job callback on removal. Fix for the bug #325886.
* Two page scrolling with Space and PageUp in dual mode. Second fix for theNickolay V. Shmyrev2006-01-061-2/+27
| | | | | | | | | | * shell/ev-view.c: (ev_view_scroll), (ev_view_previous_page), (ev_view_can_previous_page), (ev_view_can_next_page): * shell/ev-view.h: * shell/ev-window.c: (update_action_sensitivity): Two page scrolling with Space and PageUp in dual mode. Second fix for the bug #316608.
* Correctly clamp adjustment value. Fix for the bug #325808.Nickolay V. Shmyrev2006-01-051-1/+4
| | | | | | | * shell/ev-view.c: (scroll_to_current_page): Correctly clamp adjustment value. Fix for the bug #325808.
* Fix for the bug #325067 with more intelligent selection of current link inNickolay V. Shmyrev2005-12-281-1/+1
| | | | | | | | | | | | | | | | | * backend/ev-link.c: (ev_link_get_page), (ev_link_init): * shell/ev-page-action.c: (build_new_tree_cb): * shell/ev-sidebar-links.c: (links_page_num_func), (update_page_callback_foreach), (update_page_callback): * shell/ev-view.c: (scroll_to_current_page): Fix for the bug #325067 with more intelligent selection of current link in sidebar. Make sidebar handle links of FITR-like type more correctly. * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule), (dvi_pixbuf_put_pixel): Fix memory consumtion with disabled alpha channel.
* Bind context menu to keyboard also. Fix for the bug #325065.Nickolay V. Shmyrev2005-12-271-0/+15
| | | | | | | * shell/ev-view.c: (ev_view_popup_menu), (ev_view_class_init): Bind context menu to keyboard also. Fix for the bug #325065.
* Horizontal scroll on selection also.Nickolay V. Shmyrev2005-12-271-2/+16
| | | | | | * shell/ev-view.c: (selection_scroll_timeout_cb): Horizontal scroll on selection also.
* Correct zoom setup and metadata save broken in some locales.Nickolay V. Shmyrev2005-12-251-1/+1
| | | | | | | | * shell/ev-metadata-manager.c: (parse_value): * shell/ev-view.c: (goto_xyz_link): Correct zoom setup and metadata save broken in some locales.
* Fix very small typo.Nickolay V. Shmyrev2005-12-251-2/+5
|
* Delay scroll until allocation to correctly position page. Fix for the bugNickolay V. Shmyrev2005-12-251-48/+51
| | | | | | | | | | | | * shell/ev-view-private.h: * shell/ev-view.c: (scroll_to_current_page), (view_set_adjustment_values), (goto_fitr_link), (goto_fitv_link), (goto_fith_link), (goto_fit_link), (goto_xyz_link), (page_changed_cb), (ev_view_set_continuous), (ev_view_set_dual_page), (ev_view_set_presentation): Delay scroll until allocation to correctly position page. Fix for the bug #317334.
* Update NEWS and require poppler 0.5.0.Nickolay V. Shmyrev2005-12-251-9/+25
| | | | | | | | | | | | | | | | | | | | | | 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * NEWS: * configure.ac: Update NEWS and require poppler 0.5.0. 2005-12-25 Carlos Garcia Campos <carlosgc@gnome.org> * data/evince-ui.xml: * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_get_link_at_location), (handle_link_over_xy), (ev_view_button_press_event), (ev_view_button_release_event), (ev_view_class_init): * shell/ev-window.c: (view_menu_popup_cb), (ev_window_dispose), (ev_popup_cmd_open_link), (ev_popup_cmd_copy_link_address), (ev_window_init): Implement right-click context menu.
* Small cleanup and autoscrolling during selection. Thanks to RicardoNickolay V. Shmyrev2005-12-251-10/+67
| | | | | | | | | | * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_realize), (selection_update_idle_cb), (selection_scroll_timeout_cb), (ev_view_motion_notify_event), (ev_view_button_release_event), (ev_view_destroy): Small cleanup and autoscrolling during selection. Thanks to Ricardo Markiewicz <rmarkie@fi.uba.ar>.
* Initial accessibility support.Nickolay V. Shmyrev2005-10-291-103/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * po/POTFILES.in: * shell/Makefile.am: * shell/ev-view-accessible.c: (ev_view_accessible_get_priv), (ev_view_accessible_free_priv), (ev_view_accessible_class_init), (ev_view_accessible_get_text), (ev_view_accessible_get_character_at_offset), (ev_view_accessible_get_text_before_offset), (ev_view_accessible_get_text_at_offset), (ev_view_accessible_get_text_after_offset), (ev_view_accessible_get_character_count), (ev_view_accessible_get_caret_offset), (ev_view_accessible_set_caret_offset), (ev_view_accessible_get_run_attributes), (ev_view_accessible_get_default_attributes), (ev_view_accessible_get_character_extents), (ev_view_accessible_get_offset_at_point), (ev_view_accessible_get_n_selections), (ev_view_accessible_get_selection), (ev_view_accessible_add_selection), (ev_view_accessible_remove_selection), (ev_view_accessible_set_selection), (ev_view_accessible_text_iface_init), (ev_view_accessible_idle_do_action), (ev_view_accessible_action_do_action), (ev_view_accessible_action_get_n_actions), (ev_view_accessible_action_get_description), (ev_view_accessible_action_get_name), (ev_view_accessible_action_set_description), (ev_view_accessible_action_iface_init), (ev_view_accessible_get_type), (ev_view_accessible_new), (ev_view_accessible_factory_get_accessible_type), (ev_view_accessible_factory_create_accessible), (ev_view_accessible_factory_class_init), (ev_view_accessible_factory_get_type): * shell/ev-view-accessible.h: * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_get_accessible), (ev_view_class_init): * shell/ev-view.h: Initial accessibility support.
* Disable copy action when there isn't text selected.Carlos Garcia Campos2005-09-271-1/+24
| | | | | | 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.[ch], shell/ev-window.c: Disable copy action when there isn't text selected.
* Check tooltip is valid utf8 before showing itMarco Pesenti Gritti2005-09-271-3/+7
| | | | | | | | 2005-09-27 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (handle_link_over_xy): Check tooltip is valid utf8 before showing it
* Allow drag and drop of text. Fixes #316772Carlos Garcia Campos2005-09-271-12/+98
| | | | | 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: Allow drag and drop of text. Fixes #316772
* Ignore link coordinates if they are outside page boundsMarco Pesenti Gritti2005-09-261-13/+30
| | | | | | | | | 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link), (goto_fitv_link), (goto_fith_link), (goto_xyz_link): Ignore link coordinates if they are outside page bounds
* Implement launch links. Delegate external link opening to the window.Marco Pesenti Gritti2005-09-261-3/+13
| | | | | | | | | | | | | | | | | 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_filename), (ev_link_get_params), (ev_link_get_property), (ev_link_set_property), (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch): * backend/ev-link.h: * pdf/ev-poppler.cc: * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init): * shell/ev-window.c: (launch_link), (view_external_link_cb), (ev_window_init): Implement launch links. Delegate external link opening to the window.
* Implement fitr linksMarco Pesenti Gritti2005-09-241-0/+29
| | | | | | | | | | | | | | 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom), (ev_link_get_right), (ev_link_get_property), (ev_link_set_property), (ev_link_class_init), (ev_link_new_page_fitv), (ev_link_new_page_fitr): * backend/ev-link.h: * pdf/ev-poppler.cc: * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link): Implement fitr links
* Do not use modes for link, we need to calculate size ad hoc. Still notMarco Pesenti Gritti2005-09-241-30/+56
| | | | | | | | | | | | | | | | | | | | | 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height), (goto_fitv_link), (goto_fith_link), (goto_fit_link), (ev_view_goto_link), (ev_view_size_request_continuous_dual_page), (ev_view_size_request_continuous), (ev_view_size_request_dual_page), (ev_view_size_request_single_page), (ev_view_size_allocate), (ev_view_zoom_for_size_continuous_and_dual_page), (ev_view_zoom_for_size_continuous), (ev_view_zoom_for_size_dual_page), (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size), (ev_sizing_mode_get_type): * shell/ev-view.h: * shell/ev-window.c: (ev_window_sizing_mode_changed_cb): Do not use modes for link, we need to calculate size ad hoc. Still not perfect because of the usual scrollbar issues grrr.
* Implement FIT_HEIGHT mode (only for links). Implement FITH linksMarco Pesenti Gritti2005-09-241-2/+59
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-link.c: (ev_link_type_get_type), (ev_link_new_page_fith), (ev_link_new_page_fitv): * backend/ev-link.h: * pdf/ev-poppler.cc: * shell/ev-view.c: (goto_fitv_link), (goto_fith_link), (ev_view_goto_link), (ev_view_size_request_continuous_dual_page), (ev_view_size_request_continuous), (ev_view_size_request_dual_page), (ev_view_size_request_single_page), (ev_view_size_allocate), (zoom_for_size_fit_height), (ev_view_zoom_for_size_continuous_and_dual_page), (ev_view_zoom_for_size_continuous), (ev_view_zoom_for_size_dual_page), (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size), (ev_sizing_mode_get_type): * shell/ev-view.h: * shell/ev-window.c: (ev_window_sizing_mode_changed_cb): Implement FIT_HEIGHT mode (only for links). Implement FITH links
* Remove unused unrealize handler. Add scroll handling toChristian Persch2005-09-221-23/+41
| | | | | | | | | 2005-09-22 Christian Persch <chpe@cvs.gnome.org> * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init): Remove unused unrealize handler. Add scroll handling to ev_view_scroll_event for presentation mode (bug #316708), and fix the event state checks there.
* Based on a patch from carlosgc@gnome.org. Mouse buttons switch pages inMarco Pesenti Gritti2005-09-221-7/+19
| | | | | | | | | 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (ev_view_button_release_event): Based on a patch from carlosgc@gnome.org. Mouse buttons switch pages in presentation mode.
* Implement FIT and FITH linksMarco Pesenti Gritti2005-09-191-0/+27
| | | | | | | | | | | | | 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-link.c: (ev_link_type_get_type), (ev_link_new_page_xyz), (ev_link_new_page_fit), (ev_link_new_page_fith): * backend/ev-link.h: * pdf/ev-poppler.cc: * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link): Implement FIT and FITH links
* Take all pages in consideration, not just current oneMarco Pesenti Gritti2005-09-191-4/+8
| | | | | | | | 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (ev_view_can_find_next): Take all pages in consideration, not just current one
* Move page next/previous functions from page chace to view and change it toMarco Pesenti Gritti2005-09-191-3/+38
| | | | | | | | | | | | | | | | 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-page-cache.c: * shell/ev-page-cache.h: * shell/ev-view.c: (ev_view_binding_activated), (ev_view_next_page), (ev_view_previous_page), (ev_sizing_mode_get_type): * shell/ev-view.h: * shell/ev-window.c: (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page): Move page next/previous functions from page chace to view and change it to move by 2 page steps in dual mode.
* Allow display of last odd page in dual view. Fix for 316347.Nickolay V. Shmyrev2005-09-171-0/+2
| | | | | | * shell/ev-view.c: (view_update_range_and_current_page): Allow display of last odd page in dual view. Fix for 316347.
* More precise handling of enter_notify/leave_notify. Fix for 315470.Nickolay V. Shmyrev2005-09-111-31/+58
|
* Fix some bugs with xyz links, respect zoomMarco Pesenti Gritti2005-09-081-6/+15
| | | | | | | | | | 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-link.c: (ev_link_new_page_xyz): * pdf/ev-poppler.cc: * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link): Fix some bugs with xyz links, respect zoom
* Add a signal for link activation.Marco Pesenti Gritti2005-09-081-5/+3
| | | | | | | | | | | | | | | | | | | | | | 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init), (selection_changed_callback): * shell/ev-sidebar-links.h: Add a signal for link activation. * shell/ev-view.c: (ev_view_goto_link), (ev_view_button_release_event): * shell/ev-view.h: * shell/ev-window.c: (sidebar_links_link_activated_cb), (ev_window_init): Implement the signal so that we can handle all link types. * shell/ev-page-cache.c: Remove unused set_link function
* Use mozilla style vs gtk style, way better for links.Marco Pesenti Gritti2005-09-071-6/+9
| | | | | | | | | | | | | 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com> * lib/ev-tooltip.c: Use mozilla style vs gtk style, way better for links. * shell/ev-view.c: (ev_view_motion_notify_event), (ev_view_destroy), (ev_view_init): Deactive tooltip when the link hovered is changed.
* Implement xyz links, still not functional. Links are a total mess, willMarco Pesenti Gritti2005-09-071-1/+58
| | | | | | | | | | | | | | | | | 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document.h: * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top), (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property), (ev_link_set_property), (ev_window_dispose), (ev_link_class_init), (ev_link_new_page), (ev_link_new_page_xyz): * backend/ev-link.h: * pdf/ev-poppler.cc: * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link), (go_to_link), (tip_from_link): Implement xyz links, still not functional. Links are a total mess, will need to refactor and bugfix a lot :(
* Delay popup showing. Mirror gtk logic/times.Marco Pesenti Gritti2005-09-051-2/+2
| | | | | | | | | | | | | 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com> * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init), (ev_tooltip_set_position), (ev_tooltip_recently_shown), (ev_tooltip_timeout), (ev_tooltip_activate), (ev_tooltip_deactivate): * lib/ev-tooltip.h: * shell/ev-view.c: (ev_view_motion_notify_event): Delay popup showing. Mirror gtk logic/times.
* Simple widget to show tooltips at a custom positionMarco Pesenti Gritti2005-09-031-6/+23
| | | | | | | | | | | | | | | | | 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com> * lib/Makefile.am: * lib/ev-tooltip.c: (ev_tooltip_expose_event), (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new), (ev_tooltip_set_text), (ev_tooltip_set_position): * lib/ev-tooltip.h: Simple widget to show tooltips at a custom position * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event), (ev_view_destroy): Use it for links. First go, needs work
*