Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-view.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Open links in new window when clicking with middle button.Carlos Garcia Campos2007-01-281-2/+18
| | | | | | | | | 2007-01-28 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (view_external_link_cb): * shell/ev-view.c: (ev_view_button_release_event): Open links in new window when clicking with middle button. svn path=/trunk/; revision=2263
* Store link before jump, not the destination. For me it seems like moreNickolay V. Shmyrev2007-01-281-1/+2
| | | | | | | | | | | | | | | 2007-01-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-navigation-action.c: (new_history_menu_item): * shell/ev-page-cache.c: (ev_page_cache_set_current_page_history): * shell/ev-view.c: (ev_view_handle_link): * shell/ev-window.c: Store link before jump, not the destination. For me it seems like more natural history behavior. svn path=/trunk/; revision=2261
* History finally works as expected.Nickolay V. Shmyrev2007-01-281-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-01-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-navigation-action.c: (activate_menu_item_cb), (ev_navigation_action_class_init): * shell/ev-navigation-action.h: * shell/ev-page-action.c: (activate_cb): * shell/ev-page-cache.c: (ev_page_cache_class_init), (ev_page_cache_set_current_page_history): * shell/ev-page-cache.h: * shell/ev-sidebar-thumbnails.c: (ev_sidebar_tree_selection_changed), (ev_sidebar_icon_selection_changed), (page_changed_cb): * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_handle_link), (ev_view_class_init): * shell/ev-view.h: * shell/ev-window.c: (page_changed_cb), (history_changed_cb), (ev_window_setup_document), (ev_window_load_job_cb): * shell/ev-window.h: History finally works as expected. svn path=/trunk/; revision=2259
* Normalize text to fix ligatures problem. See bug #341947 for details.Ed Catmur2007-01-271-1/+4
| | | | | | | | | | | | 2007-01-27 Ed Catmur <ed@catmur.co.uk> * shell/ev-view.c: (get_selected_text): Normalize text to fix ligatures problem. See bug #341947 for details. svn path=/trunk/; revision=2254
* Do not acquire fontconfig lock in impress backend, since it is using theCarlos Garcia Campos2007-01-211-1/+1
| | | | | | | | | | 2007-01-21 Carlos Garcia Campos <carlosgc@gnome.org> * backend/impress/impress-document.c: (impress_document_render_pixbuf): Do not acquire fontconfig lock in impress backend, since it is using the main loop for rendering. svn path=/trunk/; revision=2242
* Render "loading..." text into a cairo surface instead of directly into theCarlos Garcia Campos2007-01-211-41/+65
| | | | | | | | | | | | 2007-01-21 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view-private.h: * shell/ev-view.c: (draw_loading_text), (ev_view_destroy), (ev_view_set_zoom): Render "loading..." text into a cairo surface instead of directly into the window so that fontconfig lock is only needed once and UI is not blocked. Change text color to #9B9B9B. Fixes bug #397356. svn path=/trunk/; revision=2240
* Do not draw white background page in presentation mode.Carlos Garcia Campos2007-01-181-7/+7
| | | | | | | | 2007-01-18 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_expose_event), (draw_one_page): Do not draw white background page in presentation mode. svn path=/trunk/; revision=2234
* Remove unused gnome-vfs include.Jani Monoses2007-01-161-1/+0
| | | | | | | | | 2007-01-16 Jani Monoses <jani.monoses@gmail.com> * shell/ev-view.c: Remove unused gnome-vfs include. svn path=/trunk/; revision=2230
* Restore horizontal scrollbar after switching to/from fullscreen orCarlos Garcia Campos2007-01-121-5/+2
| | | | | | | | | 2007-01-12 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_size_allocate): Restore horizontal scrollbar after switching to/from fullscreen or presentation mode. Fixes bug #331728. svn path=/trunk/; revision=2218
* Use max and min scale values in the view iby taking dpi into account.Carlos Garcia Campos2007-01-111-13/+25
| | | | | | | | | | | | 2007-01-11 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view-private.h: * shell/ev-window.c: (ev_window_screen_changed), (ev_window_init): * shell/ev-view.[ch]: (ev_view_class_init), (ev_view_set_zoom), (ev_view_set_screen_dpi), (ev_view_can_zoom_in), (ev_view_can_zoom_out): Use max and min scale values in the view iby taking dpi into account. svn path=/trunk/; revision=2214
* Reorganize source tree.Nickolay V. Shmyrev2007-01-081-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-01-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * Makefile.am: * backend/Makefile.am: * backend/comics/Makefile.am: * backend/djvu/Makefile.am: * backend/dvi/Makefile.am: * backend/ev-async-renderer.c: * backend/ev-async-renderer.h: * backend/ev-attachment.c: * backend/ev-attachment.h: * backend/ev-backend-marshal.c: * backend/ev-document-factory.c: * backend/ev-document-factory.h: * backend/ev-document-find.c: * backend/ev-document-find.h: * backend/ev-document-fonts.c: * backend/ev-document-fonts.h: * backend/ev-document-images.c: * backend/ev-document-images.h: * backend/ev-document-info.h: * backend/ev-document-links.c: * backend/ev-document-links.h: * backend/ev-document-misc.c: * backend/ev-document-misc.h: * backend/ev-document-security.c: * backend/ev-document-security.h: * backend/ev-document-thumbnails.c: * backend/ev-document-thumbnails.h: * backend/ev-document-transition.c: * backend/ev-document-transition.h: * backend/ev-document.c: * backend/ev-document.h: * backend/ev-file-exporter.c: * backend/ev-file-exporter.h: * backend/ev-image.c: * backend/ev-image.h: * backend/ev-link-action.c: * backend/ev-link-action.h: * backend/ev-link-dest.c: * backend/ev-link-dest.h: * backend/ev-link.c: * backend/ev-link.h: * backend/ev-render-context.c: * backend/ev-render-context.h: * backend/ev-selection.c: * backend/ev-selection.h: * backend/impress/Makefile.am: * backend/pdf/Makefile.am: * backend/pixbuf/Makefile.am: * backend/ps/Makefile.am: * backend/ps/ps-document.c: (push_pixbuf), (interpreter_failed), (ps_document_widget_event), (setup_pixmap), (setup_page), (input), (start_interpreter), (stop_interpreter), (document_load), (ps_document_next_page), (render_page): * backend/tiff/Makefile.am: * comics/Makefile.am: * comics/comics-document.c: * comics/comics-document.h: * configure.ac: * cut-n-paste/zoom-control/ephy-zoom-control.c: * djvu/Makefile.am: * djvu/djvu-document-private.h: * djvu/djvu-document.c: * djvu/djvu-document.h: * djvu/djvu-links.c: * djvu/djvu-links.h: * djvu/djvu-text-page.c: * djvu/djvu-text-page.h: * djvu/djvu-text.c: * djvu/djvu-text.h: * dvi/Makefile.am: * dvi/dvi-document.c: * dvi/dvi-document.h: * dvi/fonts.c: * dvi/fonts.h: * dvi/mdvi-lib/Makefile.am: * dvi/mdvi-lib/afmparse.c: * dvi/mdvi-lib/afmparse.h: * dvi/mdvi-lib/bitmap.c: * dvi/mdvi-lib/bitmap.h: * dvi/mdvi-lib/color.c: * dvi/mdvi-lib/color.h: * dvi/mdvi-lib/common.c: * dvi/mdvi-lib/common.h: * dvi/mdvi-lib/defaults.h: * dvi/mdvi-lib/dvimisc.c: * dvi/mdvi-lib/dviopcodes.h: * dvi/mdvi-lib/dviread.c: * dvi/mdvi-lib/files.c: * dvi/mdvi-lib/font.c: * dvi/mdvi-lib/fontmap.c: * dvi/mdvi-lib/fontmap.h: * dvi/mdvi-lib/fontsrch.c: * dvi/mdvi-lib/gf.c: * dvi/mdvi-lib/hash.c: * dvi/mdvi-lib/hash.h: * dvi/mdvi-lib/list.c: * dvi/mdvi-lib/mdvi.h: * dvi/mdvi-lib/pagesel.c: * dvi/mdvi-lib/paper.c: * dvi/mdvi-lib/paper.h: * dvi/mdvi-lib/pk.c: * dvi/mdvi-lib/private.h: * dvi/mdvi-lib/setup.c: * dvi/mdvi-lib/sp-epsf.c: * dvi/mdvi-lib/special.c: * dvi/mdvi-lib/sysdeps.h: * dvi/mdvi-lib/t1.c: * dvi/mdvi-lib/tfm.c: * dvi/mdvi-lib/tfmfile.c: * dvi/mdvi-lib/tt.c: * dvi/mdvi-lib/util.c: * dvi/mdvi-lib/vf.c: * dvi/pixbuf-device.c: * dvi/pixbuf-device.h: * impress/Makefile.am: * impress/common.h: * impress/document.c: * impress/f_oasis.c: * impress/f_oo13.c: * impress/iksemel.c: * impress/iksemel.h: * impress/imposter.h: * impress/impress-document.c: * impress/impress-document.h: * impress/internal.h: * impress/r_back.c: * impress/r_draw.c: * impress/r_geometry.c: * impress/r_gradient.c: * impress/r_style.c: * impress/r_text.c: * impress/render.c: * impress/render.h: * impress/zip.c: * impress/zip.h: * lib/Makefile.am: * lib/ev-debug.c: * lib/ev-debug.h: * lib/ev-file-helpers.c: * lib/ev-file-helpers.h: * lib/ev-gui.c: * lib/ev-gui.h: * lib/ev-tooltip.c: * lib/ev-tooltip.h: * libdocument/Makefile.am: * libdocument/ev-file-helpers.c: * pdf/Makefile.am: * pdf/ev-poppler.cc: * pdf/ev-poppler.h: * pixbuf/Makefile.am: * pixbuf/pixbuf-document.c: * pixbuf/pixbuf-document.h: * properties/Makefile.am: * ps/Makefile.am: * ps/gsdefaults.c: * ps/gsdefaults.h: * ps/gsio.c: * ps/gsio.h: * ps/gstypes.h: * ps/ps-document.c: * ps/ps-document.h: * ps/ps.c: * ps/ps.h: * shell/Makefile.am: * shell/ev-application.h: * shell/ev-sidebar-links.c: * shell/ev-sidebar-links.h: * shell/ev-utils.c: (ev_gui_sanitise_popup_position), (ev_gui_menu_position_tree_selection): * shell/ev-utils.h: * shell/ev-view.c: (ev_view_finalize): * shell/ev-window.c: * shell/main.c: (main): * thumbnailer/Makefile.am: * tiff/Makefile.am: * tiff/tiff-document.c: * tiff/tiff-document.h: * tiff/tiff2ps.c: * tiff/tiff2ps.h: Reorganize source tree. svn path=/trunk/; revision=2197
* Add image handling support. Fixes bugs #310008 and #325047. ImagesCarlos Garcia Campos2007-01-071-25/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-01-07 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * data/evince-ui.xml: * pdf/ev-poppler.cc: (pdf_document_images_get_images), (pdf_document_document_images_iface_init): * backend/Makefile.am: * backend/ev-document-images.[ch]: * backend/ev-image.[ch]: * lib/ev-file-helpers.[ch]: (ev_tmp_filename): * shell/ev-jobs.[ch]: (ev_job_render_new), (ev_job_render_run), (ev_job_xfer_run): * 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_image_mapping): * shell/ev-window.c: (view_menu_link_popup), (view_menu_image_popup), (view_menu_popup_cb), (ev_window_dispose), (image_save_dialog_response_cb), (ev_view_popup_cmd_save_image_as), (ev_view_popup_cmd_copy_image): * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_get_image_at_location), (ev_view_do_popup_menu), (ev_view_popup_menu), (ev_view_button_press_event), (ev_view_drag_data_get), (ev_view_drag_motion), (ev_view_drag_data_received), (ev_view_motion_notify_event), (ev_view_button_release_event), (ev_view_finalize), (ev_view_class_init): Add image handling support. Fixes bugs #310008 and #325047. Images selection is not supported yet. svn path=/trunk/; revision=2194
* Move view drag and drop stuff to ev-view.Carlos Garcia Campos2007-01-071-4/+49
| | | | | | | | | | 2007-01-07 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (drag_data_received_cb), (ev_window_init): * shell/ev-view.c: (ev_view_drag_data_received), (ev_view_class_init), (ev_view_init): Move view drag and drop stuff to ev-view. svn path=/trunk/; revision=2192
* Clear selection also in pixbuf cache.Carlos Garcia Campos2007-01-051-0/+2
| | | | | | | | | 2007-01-05 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-pixbuf-cache.c: (clear_job_selection): * shell/ev-view.c: (clear_selection): Clear selection also in pixbuf cache. svn path=/trunk/; revision=2189
* Add page transition support in presentation mode. At the moment only pageCarlos Garcia Campos2006-12-271-0/+49
| | | | | | | | | | | | | | | | | 2006-12-27 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/Makefile.am: * backend/ev-document-transition.[ch]: * pdf/ev-poppler.cc: (pdf_document_get_page_duration), (pdf_document_page_transition_iface_init): * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_destroy), (page_changed_cb), (ev_view_set_presentation), (transition_next_page), (ev_view_presentation_transition_stop), (ev_view_presentation_transition_start), (ev_view_next_page): Add page transition support in presentation mode. At the moment only page duration is supported, but not transition effects. Fixes bug #309815.
* Update page-cache when page is changed by the view, so that page-changedCarlos Garcia Campos2006-12-251-1/+7
| | | | | | | 2006-12-25 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (goto_dest): Update page-cache when page is changed by the view, so that page-changed signal is emitted.