Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-view.c
Commit message (Collapse)AuthorAgeFilesLines
* Cancel the find operation when the find bar is closed. Fixes bug #508845.Carlos Garcia Campos2008-03-181-2/+14
| | | | | | | | | | | | 2008-03-18 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.[ch]: (ev_view_find_cancel): * shell/ev-window.c: (find_bar_close_cb): Cancel the find operation when the find bar is closed. Fixes bug #508845. svn path=/trunk/; revision=2971
* Added. Returns whether the animation has everything necessary to run. DoCarlos Garnacho2008-02-291-4/+7
| | | | | | | | | | | | | | 2008-02-29 Carlos Garnacho <carlosg@gnome.org> * shell/ev-transition-animation.[ch] (ev_transition_animation_ready): Added. Returns whether the animation has everything necessary to run. * shell/ev-view.c (ev_view_expose_event): Do not assume the animation is ready just because it's been created. Fixes #519106. (draw_one_page): Do not show the "Loading..." text in presentation mode, there was a slim probability that this could happen. svn path=/trunk/; revision=2933
* Fix a crash when a choice form field doesn't have any item selected. FixesCarlos Garcia Campos2008-02-271-1/+2
| | | | | | | | | | | 2008-02-27 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_form_field_choice_changed): Fix a crash when a choice form field doesn't have any item selected. Fixes bug #518831 svn path=/trunk/; revision=2930
* RemovedCarlos Garcia Campos2008-01-261-7/+0
| | | | | | | | | | | | | | | 2008-01-26 Carlos Garcia Campos <carlosgc@gnome.org> * cut-n-paste/totem-screensaver/totem-scrsaver.c: (screensaver_disable_x11): * shell/Makefile.am: * shell/xdg-user-dir-lookup.c: Removed * shell/ev-metadata-manager.c: (ev_metadata_arm_timeout): * shell/ev-view.c: (ev_view_presentation_transition_start): * shell/ev-window.c: (ev_window_cmd_file_open), (ev_window_cmd_save_as), (presentation_set_timeout): Remove #ifdefs that are no longer needed. svn path=/trunk/; revision=2861
* Stop autoscroll when Escape key is pressed. Fixes bug #511635.Carlos Garcia Campos2008-01-261-8/+35
| | | | | | | | | | | 2008-01-26 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.[ch]: (ev_view_button_release_event), (ev_view_autoscroll_start), (ev_view_autoscroll_stop): * shell/ev-window.c: (ev_window_cmd_view_autoscroll), (ev_window_cmd_escape): Stop autoscroll when Escape key is pressed. Fixes bug #511635. svn path=/trunk/; revision=2860
* Do not create the idle function for kinetic scrolling if we are not in aCarlos Garcia Campos2008-01-221-7/+11
| | | | | | | | | 2008-01-22 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_button_release_event): Do not create the idle function for kinetic scrolling if we are not in a drag operation. svn path=/trunk/; revision=2840
* Restore cursor after autoscrolling. Fixes bug #509958.Carlos Garcia Campos2008-01-221-15/+23
| | | | | | | | | | 2008-01-22 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_handle_cursor_over_xy), (ev_view_button_press_event), (ev_view_motion_notify_event), (ev_view_button_release_event): Restore cursor after autoscrolling. Fixes bug #509958. svn path=/trunk/; revision=2839
* Do not render images when rendering the page but on demand. It reduces theCarlos Garcia Campos2008-01-191-2/+14
| | | | | | | | | | | | | | | | | | | | | | 2008-01-19 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/pdf/ev-poppler.cc: (pdf_document_images_get_image_mapping), (pdf_document_images_get_image), (pdf_document_document_images_iface_init): * libdocument/ev-document-images.[ch]: (ev_document_images_get_image_mapping), (ev_document_images_get_image): * libdocument/ev-image.[ch]: (ev_image_new), (ev_image_get_page), (ev_image_get_id), (ev_image_save_tmp): * shell/ev-jobs.c: (ev_job_render_run): * shell/ev-view.c: (ev_view_drag_data_get): * shell/ev-window.c: (image_save_dialog_response_cb), (ev_view_popup_cmd_copy_image): Do not render images when rendering the page but on demand. It reduces the memory comsumption. svn path=/trunk/; revision=2835
* Repair gorizontal scrolling with shift. Fixes bug #483412.Nickolay V. Shmyrev2008-01-141-3/+4
| | | | | | | | | | | | 2008-01-15 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-view.c: (ev_view_scroll_event): Repair gorizontal scrolling with shift. Fixes bug #483412. svn path=/trunk/; revision=2826
* Add a EvTransitionAnimation to the struct.Carlos Garnacho2008-01-041-20/+106
| | | | | | | | | | | | | | | | | | | | | 2008-01-04 Carlos Garnacho <carlosg@gnome.org> * shell/ev-view-private.h: Add a EvTransitionAnimation to the struct. * shell/ev-view.c (ev_view_expose_event) (ev_view_change_page) (ev_view_transition_animation_start) (ev_view_transition_animation_finish) (ev_transition_animation_frame) (job_finished_cb) (page_changed_cb) (ev_view_set_presentation) (ev_view_next_page) (ev_view_previous_page): Use EvTransitionAnimation to drive page changes in the presentation mode, the animation will wait to start until both the origin and destination page surfaces are available. Fixes #458460. (draw_loading_text): Remove workaround for bug #320352, it's now fixed properly. svn path=/trunk/; revision=2800
* Include config.h. Bug #504721.Christian Persch2007-12-281-0/+1
| | | | | | | | 2007-12-28 Christian Persch <chpe@gnome.org> * **/*.c: Include config.h. Bug #504721. svn path=/trunk/; revision=2787
* Kinetic scrolling implemented as requested in bug #461271. Thanks to DavidNickolay V. Shmyrev2007-12-241-4/+92
| | | | | | | | | | | | | | | 2007-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_drag_update_momentum), (ev_view_scroll_drag_release), (ev_view_motion_notify_event), (ev_view_button_release_event), (ev_view_destroy): Kinetic scrolling implemented as requested in bug #461271. Thanks to David Turner <cillian64@googlemail.com>. svn path=/trunk/; revision=2783
* Autoscroll feature with the context menu. Fixes bug #323670. Thanks toNickolay V. Shmyrev2007-12-231-0/+70
| | | | | | | | | | | | | | | | | | | | | | 2007-12-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * data/evince-toolbar.xml: * data/evince-ui.xml: * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_handle_cursor_over_xy), (ev_view_button_press_event), (ev_view_motion_notify_event), (ev_view_button_release_event), (ev_view_init), (ev_view_autoscroll_cb), (ev_view_autoscroll), (ev_view_set_cursor): * shell/ev-view.h: * shell/ev-window.c: (ev_window_setup_action_sensitivity), (ev_window_cmd_view_autoscroll): Autoscroll feature with the context menu. Fixes bug #323670. Thanks to David Turner <cillian64@googlemail.com>. svn path=/trunk/; revision=2781
* Do not limit the minimum zoom factor when sizing mode is best bit or fitCarlos Garcia Campos2007-12-161-1/+3
| | | | | | | | | 2007-12-16 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_set_zoom): Do not limit the minimum zoom factor when sizing mode is best bit or fit width. Fixes bug #503805. svn path=/trunk/; revision=2770
* Do not change left, top and zoom values when they are null in PDFCarlos Garcia Campos2007-12-141-19/+36
| | | | | | | | | | | | | | | | | 2007-12-14 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: (ev_link_dest_from_dest): * libdocument/ev-link-dest.[ch]: (ev_link_dest_get_top), (ev_link_dest_get_left), (ev_link_dest_get_zoom), (ev_link_dest_get_property), (ev_link_dest_set_property), (ev_link_dest_class_init), (ev_link_dest_new_xyz), (ev_link_dest_new_fith), (ev_link_dest_new_fitv), (ev_link_dest_new_fitr): * shell/ev-view.c: (goto_fitr_dest), (goto_fitv_dest), (goto_fith_dest), (goto_xyz_dest): Do not change left, top and zoom values when they are null in PDF destinations. Fixes bug #460658. svn path=/trunk/; revision=2769
* Restore cursor to normal after a drag operation. Fixes bug #501603.Carlos Garcia Campos2007-12-051-2/+4
| | | | | | | | | 2007-12-05 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_handle_cursor_over_xy): Restore cursor to normal after a drag operation. Fixes bug #501603. svn path=/trunk/; revision=2763
* Give priority to form fields over images when deciding whether a buttonCarlos Garcia Campos2007-09-291-3/+3
| | | | | | | | | | | 2007-09-29 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_button_press_event): Give priority to form fields over images when deciding whether a button press event is over an image or form field. It allows edit form fields when they are over a background image. Fixes bug #477841. svn path=/trunk/; revision=2689
* Make sure current-page <= end-page in continuous mode. Fixes bug #454950.Carlos Garcia Campos2007-09-031-1/+1
| | | | | | | | | 2007-09-03 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (view_update_range_and_current_page): Make sure current-page <= end-page in continuous mode. Fixes bug #454950. svn path=/trunk/; revision=2655
* Use always drag mouse cursor during a drag operation. Fixes bug #470564.Carlos Garcia Campos2007-09-031-9/+13
| | | | | | | | | | 2007-09-03 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_handle_cursor_over_xy), (ev_view_button_release_event), (ev_view_leave_notify_event): Use always drag mouse cursor during a drag operation. Fixes bug #470564. svn path=/trunk/; revision=2653
* Add support for double and triple click selections.Carlos Garcia Campos2007-08-311-37/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-08-31 Carlos Garcia Campos <carlosgc@gnome.org> * backend/dvi/dvi-document.c: (dvi_document_document_iface_init): * backend/impress/impress-document.c: (impress_document_document_iface_init): * backend/ps/ps-document.c: (ps_document_document_iface_init): * backend/djvu/djvu-document.c: (djvu_document_document_iface_init), (djvu_selection_get_selected_text), (djvu_selection_iface_init): * backend/tiff/tiff-document.c: (tiff_document_document_iface_init): * backend/pixbuf/pixbuf-document.c: (pixbuf_document_document_iface_init): * backend/comics/comics-document.c: (comics_document_document_iface_init): * backend/pdf/ev-poppler.cc: (pdf_document_document_iface_init), (pdf_selection_render_selection), (pdf_selection_get_selected_text), (pdf_selection_get_selection_region), (pdf_selection_get_selection_map), (pdf_selection_iface_init): * libdocument/ev-selection.[ch]: (ev_selection_get_selected_text), (ev_selection_get_selection_region), (ev_selection_get_selection_map): * libdocument/ev-document.[ch]: * shell/ev-pixbuf-cache.[ch]: (add_job), (ev_pixbuf_cache_get_selection_surface), (update_job_selection): * shell/ev-view-private.h: * shell/ev-jobs.[ch]: (ev_job_render_new), (ev_job_render_new), (ev_job_render_run): * shell/ev-window.c: (ev_window_setup_action_sensitivity): * shell/ev-view.c: (start_selection_for_event), (ev_view_button_press_event), (ev_view_drag_data_get), (ev_view_drag_data_received), (ev_view_button_release_event), (compute_new_selection_text), (compute_selections), (ev_view_select_all), (get_selected_text), (ev_view_copy), (ev_view_primary_get_cb): Add support for double and triple click selections. svn path=/trunk/; revision=2648
* Enables 'find next' when bindbar is hidden. Fixes bug #323817.Justin Blanchard2007-08-271-1/+8
| | | | | | | | | | | | | | | | | 2007-08-28 Justin Blanchard <justinb04@aim.com> * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_expose_event), (ev_view_init), (ev_view_set_highlight_search): * shell/ev-view.h: * shell/ev-window.c: (ev_window_cmd_edit_find_next), (ev_window_cmd_edit_find_previous), (find_bar_search_changed_cb), (find_bar_visibility_changed_cb): Enables 'find next' when bindbar is hidden. Fixes bug #323817. svn path=/trunk/; revision=2645
* Do not use cairo_rectangle and cairo_clip since we are not usingCarlos Garcia Campos2007-08-051-20/+14
| | | | | | | | | | 2007-08-05 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_expose_event), (draw_one_page): Do not use cairo_rectangle and cairo_clip since we are not using cairo_fill but cairo_paint. Use the same cairo context for every page in the same expose event. svn path=/trunk/; revision=2613
* Fix a headers problem with ev-linkCarlos Garcia Campos2007-07-301-4/+71
| | | | | | | | | | | | | | | | | | 2007-07-30 Carlos Garcia Campos <carlosgc@gnome.org> * libdocument/ev-document-info.h: * libdocument/ev-document.h: * shell/ev-page-action.h: * shell/ev-sidebar-links.h: Fix a headers problem with ev-link * libdocument/ev-link.[ch]: (ev_link_mapping_get_area): * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_handle_cursor_over_xy), (get_link_area), (ev_view_query_tooltip), (ev_view_leave_notify_event), (ev_view_destroy), (ev_view_class_init): Use new gtk tooltips when available instead of ev-tooltip. svn path=/trunk/; revision=2599
* Use g_timeout_add_seconds instead of g_timeout_add when available.Carlos Garcia Campos2007-07-291-4/+13
| | | | | | | | | | | | | 2007-07-29 Carlos Garcia Campos <carlosgc@gnome.org> * cut-n-paste/totem-screensaver/totem-scrsaver.c: (screensaver_disable_x11): * shell/ev-metadata-manager.c: (ev_metadata_arm_timeout): * shell/ev-window.c: (presentation_set_timeout): * shell/ev-view.c: (ev_view_presentation_transition_start): Use g_timeout_add_seconds instead of g_timeout_add when available. svn path=/trunk/; revision=2594
* Check for NULL, fixes bug #460862.Nickolay V. Shmyrev2007-07-291-3/+4
| | | | | | | | | | | 2007-07-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-view.c: (tip_from_link): Check for NULL, fixes bug #460862. svn path=/trunk/; revision=2590
* Unix-like hjkl bindings added. See bug #458111.Cosimo Cecchi2007-07-271-0/+9
| | | | | | | | | | | | 2007-07-27 Cosimo Cecchi <anarki@lilik.it> * shell/ev-view.c: (ev_view_class_init): Unix-like hjkl bindings added. See bug #458111. svn path=/trunk/; revision=2583
* Reorganizes utility functions.Johannes Buchner2007-07-271-1/+36
| | | | | | | | | | | | | | | | | | | | 2007-07-27 Johannes Buchner <buchner.johannes@gmx.at> * shell/ev-utils.c: (get_num_monitors), (get_screen_dpi): * shell/ev-utils.h: * shell/ev-view.c: (ev_view_set_zoom_for_size), (ev_view_update_view_size): * shell/ev-view.h: * shell/ev-window.c: (ev_window_update_actions), (setup_view_from_metadata), (ev_window_screen_changed), (ev_window_sizing_mode_changed_cb), (ev_window_zoom_changed_cb), (zoom_control_changed_cb): * shell/ev-window.h: Reorganizes utility functions. svn path=/trunk/; revision=2582
* Give priority to forms over text to set the cursor.Carlos Garcia Campos2007-07-251-2/+2
| | | | | | | | 2007-07-25 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_handle_cursor_over_xy): Give priority to forms over text to set the cursor. svn path=/trunk/; revision=2578
* Use IBEAM cursor for text form fields and NORMAL cursor for read onlyCarlos Garcia Campos2007-07-241-47/+18
| | | | | | | | | | | | 2007-07-24 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_handle_cursor_over_xy), (ev_view_leave_notify_event), (ev_view_finalize), (ev_view_get_property), (ev_view_class_init): Use IBEAM cursor for text form fields and NORMAL cursor for read only fields. Remove unused status attribute. svn path=/trunk/; revision=2577
* Update region for current selected items also for checkbox buttons, sinceCarlos Garcia Campos2007-07-201-26/+18
| | | | | | | | | | 2007-07-20 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_form_field_button_create_widget): Update region for current selected items also for checkbox buttons, since they can behave as radio buttons when they are in a set. svn path=/trunk/; revision=2576
* Fix build with current poppler cvs head.Carlos Garcia Campos2007-07-191-4/+2
| | | | | | | | | | 2007-07-19 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: (ev_form_field_from_poppler_field): * libdocument/ev-form-field.h: * shell/ev-view.c: (ev_view_form_field_text_create_widget): Fix build with current poppler cvs head. svn path=/trunk/; revision=2574
* Fix a crash when closing whith a form widget visible.Carlos Garcia Campos2007-07-091-1/+7
| | | | | | | | | 2007-07-09 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_form_field_text_save), (ev_view_form_field_choice_save): Fix a crash when closing whith a form widget visible. svn path=/trunk/; revision=2567
* Update also the region of the current selected button when clicking onCarlos Garcia Campos2007-07-091-11/+51
| | | | | | | | | 2007-07-09 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_form_field_button_create_widget): Update also the region of the current selected button when clicking on another button if they are radio buttons. svn path=/trunk/; revision=2566
* Redraw only form field region instead of the whole page when reloading aCarlos Garcia Campos2007-07-091-2/+42
| | | | | | | | | | | | | | | | | | | 2007-07-09 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-pixbuf-cache.[ch]: (ev_pixbuf_cache_class_init), (dispose_cache_job_info), (job_finished_cb), (move_one_job), (add_job), (add_job_if_needed), (ev_pixbuf_cache_get_surface), (ev_pixbuf_cache_get_link_mapping), (ev_pixbuf_cache_get_image_mapping), (ev_pixbuf_cache_get_form_field_mapping), (ev_pixbuf_cache_get_text_mapping), (ev_pixbuf_cache_reload_page): * shell/ev-view.c: (ev_view_form_field_get_region), (ev_view_form_field_button_create_widget), (ev_view_form_field_text_save), (ev_view_form_field_choice_save), (job_finished_cb): Redraw only form field region instead of the whole page when reloading a page to show changes on the form field. svn path=/trunk/; revision=2565
* Fix selection of first item in list form fields.Carlos Garcia Campos2007-07-091-7/+7
| | | | | | | | 2007-07-09 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_form_field_choice_save): Fix selection of first item in list form fields. svn path=/trunk/; revision=2563
* Merge evince-forms branch.Carlos Garcia Campos2007-07-081-74/+575
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-07-08 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/pdf/ev-poppler.cc: (pdf_document_get_crop_box), (ev_form_field_from_poppler_field), (pdf_document_forms_get_form_fields), (pdf_document_forms_form_field_text_get_text), (pdf_document_forms_form_field_text_set_text), (pdf_document_forms_form_field_button_set_state), (pdf_document_forms_form_field_button_get_state), (pdf_document_forms_form_field_choice_get_item), (pdf_document_forms_form_field_choice_get_n_items), (pdf_document_forms_form_field_choice_is_item_selected), (pdf_document_forms_form_field_choice_select_item), (pdf_document_forms_form_field_choice_toggle_item), (pdf_document_forms_form_field_choice_unselect_all), (pdf_document_forms_form_field_choice_set_text), (pdf_document_forms_form_field_choice_get_text), (pdf_document_document_forms_iface_init): * libdocument/Makefile.am: * libdocument/ev-form-field.[ch]: * libdocument/ev-document-forms.[ch]: * shell/ev-pixbuf-cache.[ch]: (dispose_cache_job_info), (move_one_job), (copy_job_to_job_info), (add_job_if_needed), (add_job), (ev_pixbuf_cache_reload_page), (ev_pixbuf_cache_get_form_field_mapping): * shell/ev-jobs.[ch]: (ev_job_render_new), (ev_job_render_run): * shell/ev-view-private.h: * shell/ev-view.[ch]: (ev_view_set_scroll_adjustments), (ev_view_handle_cursor_over_xy), (ev_view_get_form_field_at_location), (ev_view_forms_remove_widgets), (ev_view_form_field_destroy), (ev_view_form_field_button_create_widget), (ev_view_form_field_text_save), (ev_view_form_field_text_changed), (ev_view_form_field_text_create_widget), (ev_view_form_field_choice_save), (ev_view_form_field_choice_changed), (ev_view_form_field_choice_create_widget), (ev_view_handle_form_field), (ev_view_size_allocate), (ev_view_realize), (draw_end_presentation_page), (ev_view_button_press_event), (ev_view_remove_all), (ev_view_motion_notify_event), (ev_view_key_press_event), (ev_view_enter_notify_event), (highlight_find_results), (draw_loading_text), (draw_one_page), (ev_view_destroy), (ev_view_class_init), (page_changed_cb), (on_adjustment_value_changed), (ev_view_set_presentation), (merge_selection_region), (ev_view_set_cursor), (ev_view_reset_presentation_state): Merge evince-forms branch. svn path=/trunk/; revision=2560
* Do not change current page when returning from black/white mode inCesar Fernandez2007-06-211-0/+14
| | | | | | | | | 2007-06-21 Cesar Fernandez <cesar@pk2.org> * shell/ev-view.c: (ev_view_next_page), (ev_view_previous_page): Do not change current page when returning from black/white mode in presentation. Fixes bug #415032. svn path=/trunk/; revision=2515
* Draw only visible region.Carlos Garcia Campos2007-06-141-1/+7
| | | | | | | | 2007-06-14 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (draw_one_page): Draw only visible region. svn path=/trunk/; revision=2505
* Use cairo image surfaces instead of GDK pixbufs for drawing pages andCarlos Garcia Campos2007-06-131-101/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-13 Carlos Garcia Campos <carlosgc@gnome.org> * backend/dvi/dvi-document.c: (dvi_document_render), (dvi_document_render_pixbuf), (dvi_document_document_iface_init): * backend/impress/impress-document.c: (imp_render_get_from_drawable), (impress_document_render_pixbuf), (impress_document_render), (impress_document_document_iface_init), (impress_document_thumbnails_get_thumbnail): * backend/djvu/djvu-document-private.h: * backend/djvu/djvu-document.c: (djvu_document_render), (djvu_document_finalize), (djvu_document_document_iface_init), (djvu_document_thumbnails_get_thumbnail), (djvu_document_init): * backend/tiff/tiff-document.c: (tiff_document_render), (tiff_document_render_pixbuf), (tiff_document_document_iface_init): * backend/pdf/ev-poppler.cc: (pdf_document_render), (pdf_document_render_pixbuf), (pdf_document_document_iface_init), (pdf_selection_render_selection): * backend/comics/comics-document.c: (comics_document_render_pixbuf), (comics_document_render), (comics_document_document_iface_init): * backend/pixbuf/pixbuf-document.c: (pixbuf_document_render), (pixbuf_document_document_iface_init): * libdocument/ev-document-misc.[ch]: (ev_document_misc_surface_from_pixbuf), (ev_document_misc_surface_rotate_and_scale): * libdocument/ev-document.[ch]: (ev_document_render): * libdocument/ev-selection.[ch]: (ev_selection_render_selection): * shell/ev-pixbuf-cache.[ch]: (dispose_cache_job_info), (move_one_job), (copy_job_to_job_info), (add_job_if_needed), (ev_pixbuf_cache_get_surface), (new_selection_surface_needed), (clear_selection_if_needed), (ev_pixbuf_cache_style_changed), (ev_pixbuf_cache_get_selection_surface), (clear_job_selection): * shell/ev-jobs.[ch]: (ev_job_render_dispose), (render_finished_cb), (ev_job_render_run): * shell/ev-view.c: (draw_loading_text), (draw_one_page), (merge_selection_region): Use cairo image surfaces instead of GDK pixbufs for drawing pages and selections. svn path=/trunk/; revision=2499
* Show loading text centered. Fixes bug #433061Carlos Garcia Campos2007-06-121-1/+1
| | | | | | | | 2007-06-09 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (draw_loading_text): Show loading text centered. Fixes bug #433061 svn path=/trunk/; revision=2494
* Update cursor and tooltip on page change and view scroll. Fixes bugCarlos Garcia Campos2007-05-191-5/+14
| | | | | | | | | 2007-05-19 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (page_changed_cb), (on_adjustment_value_changed): Update cursor and tooltip on page change and view scroll. Fixes bug #439217. svn path=/trunk/; revision=2466
* Start rendering pages before any other jobs.Carlos Garcia Campos2007-04-221-0/+3
| | | | | | | | | | | 2007-04-22 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_setup_document), (ev_window_set_document), (ev_window_load_job_cb): * shell/ev-view.c: (setup_caches): * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_set_document): Start rendering pages before any other jobs. svn path=/trunk/; revision=2417
* Check pointer != NULL before using it. Fixes bug #416841.Carlos Garcia Campos2007-03-191-2/+4
| | | | | | | | 2007-03-19 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_primary_get_cb): Check pointer != NULL before using it. Fixes bug #416841. svn path=/trunk/; revision=2382
* Allow deleting in goto window entry in presentation mode.Carlos Garcia Campos2007-02-231-0/+2
| | | | | | | | 2007-02-23 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_goto_window_key_press_event): Allow deleting in goto window entry in presentation mode. svn path=/trunk/; revision=2347
* Fix critical warnings when there is no document loaded.Carlos Garcia Campos2007-02-151-0/+6
| | | | | | | | | 2007-02-15 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_button_press_event), (ev_view_key_press_event): Fix critical warnings when there is no document loaded. svn path=/trunk/; revision=2330
* Do not start an image drag and drop operation when pointer is on text, soCarlos Garcia Campos2007-02-011-1/+2
| | | | | | | | | | 2007-02-01 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_button_press_event): Do not start an image drag and drop operation when pointer is on text, so that we can select text when the whole background is an image. svn path=/trunk/; revision=2283
* Do not zoom in or out on presentation mode. Fixes bug #401305.Esteban Sanchez2007-01-311-0/+6
| | | | | | | | 2007-01-31 Esteban Sanchez <esteban@steve-0.com> * shell/ev-view.c: (ev_view_zoom_in), (ev_view_zoom_out): Do not zoom in or out on presentation mode. Fixes bug #401305. svn path=/trunk/; revision=2281
* Fix memory leak.Carlos Garcia Campos2007-01-281-1/+0
| | | | | | | | 2007-01-29 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_add_history): Fix memory leak. svn path=/trunk/; revision=2270
* Correctly handle named destination linksNickolay V. Shmyrev2007-01-281-4/+8
| | | | | | | | | | | | | 2007-01-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-view.c: (ev_view_page_label_from_dest), (tip_from_link): * shell/ev-view.h: * shell/ev-window.c: (ev_window_add_history): Correctly handle named destination links svn path=/trunk/; revision=2269
* Implements another history variantNickolay V. Shmyrev2007-01-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-01-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * NOTES: * backend/djvu/djvu-links.c: (djvu_links_get_links_model): * backend/pdf/ev-poppler.cc: * libdocument/ev-document-links.h: * libdocument/ev-link.c: (ev_link_get_page): * libdocument/ev-link.h: * shell/ev-history.c: (ev_history_init), (ev_history_class_init), (ev_history_add_link): * shell/ev-history.h: * shell/ev-navigation-action.c: (activate_menu_item_cb), (new_history_menu_item), (build_menu): * shell/ev-page-cache.c: (ev_page_cache_set_current_page_history): * shell/ev-sidebar-links.c: (create_loading_model), (print_section_cb), (ev_sidebar_links_construct), (fill_page_labels), (update_page_callback_foreach), (update_page_callback), (job_finished_callback): * shell/ev-view.c: (ev_view_handle_link): * shell/ev-window.c: (ev_window_find_chapter), (ev_window_add_history), (view_handle_link_cb), (history_changed_cb): Implements another history variant svn path=/trunk/; revision=2264