Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
* Enter as shortcut key for next page. Fix for the bug #321394.Nickolay V. Shmyrev2005-11-271-0/+6
| | | | | | | | * data/evince-ui.xml: * shell/ev-window.c: (ev_window_set_view_accels_sensitivity): Enter as shortcut key for next page. Fix for the bug #321394.
* Too early for 0.5. Pixbuf cache code cleaned a bit.Nickolay V. Shmyrev2005-11-161-46/+30
| | | | | | | | | | | * shell/ev-pixbuf-cache.c: (dispose_cache_job_info), (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed), (new_selection_pixbuf_needed), (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection), (clear_job_selection): * shell/ev-view.c: (draw_one_page): Too early for 0.5. Pixbuf cache code cleaned a bit.
* Release 0.5.0Nickolay V. Shmyrev2005-11-141-1/+1
| | | | | | | | | | | | | | | | | 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * NEWS: * configure.ac: Release 0.5.0 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * comics/Makefile.am: * configure.ac: * shell/ev-document-types.c: (ev_document_types_add_filters): More advanced handling of custom mime type installation.
* Save last document settings and reuse them for new documents.Nickolay V. Shmyrev2005-11-143-95/+172
| | | | | | | | | | | | | | | | | | * data/evince.schemas.in: * shell/ev-metadata-manager.c: (value_free), (ev_metadata_manager_get_last), (ev_metadata_manager_set_last), (ev_metadata_manager_get), (ev_metadata_manager_set): * shell/ev-metadata-manager.h: * shell/ev-window.c: (update_chrome_flag), (ev_window_cmd_focus_page_selector), (update_sidebar_visibility), (setup_document_from_metadata), (setup_chrome_from_metadata), (setup_sidebar_from_metadata), (setup_view_from_metadata), (ev_window_cmd_edit_find), (ev_window_cmd_escape), (ev_window_view_toolbar_cb), (ev_window_sidebar_visibility_changed_cb), (find_bar_close_cb), (view_actions_focus_in_cb), (ev_window_init), (ev_window_new): Save last document settings and reuse them for new documents.
* New CBR/CBZ backend for comic books.Nickolay V. Shmyrev2005-11-142-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * Makefile.am: * backend/Makefile.am: * backend/ev-document-factory.c: * backend/ev-document-factory.h: * comics/Makefile.am: * comics/comics-document.c: (G_DEFINE_TYPE_WITH_CODE), (comics_document_load), (comics_document_save), (comics_document_get_n_pages), (comics_document_get_page_size), (get_page_size_area_prepared_cb), (comics_document_render_pixbuf) (render_pixbuf_size_prepared_cb), (comics_document_finalize), (comics_document_class_init), (comics_document_can_get_text), (comics_document_get_info), (comics_document_document_iface_init), (comics_document_init), (get_supported_image_extensions), (comics_document_thumbnails_get_geometry), (comics_document_thumbnails_get_thumbnail), (comics_document_thumbnails_get_dimensions), (comics_document_document_thumbnails_iface_init), (extract_argv): * comics/comics-document.h: * comics/ev-cbr-mime.xml: * configure.ac: * po/POTFILES.in: * shell/ev-application.c: (ev_application_register_service): * shell/ev-document-types.c: (ev_document_types_add_filters): * thumbnailer/Makefile.am: * thumbnailer/evince-thumbnailer-comics.schemas.in: New CBR/CBZ backend for comic books.
* Thanks to Robert McQueen <robot101@debian.org>. Dbus warning on startup ofNickolay V. Shmyrev2005-11-101-1/+1
| | | | | | | | * shell/main.c: (load_files_remote): Thanks to Robert McQueen <robot101@debian.org>. Dbus warning on startup of second instance is fixed. It is bug #320353.
* Fix double free that cause crash.Nickolay V. Shmyrev2005-10-301-1/+0
| | | | | | * shell/ev-window.c: (ev_window_finalize): Fix double free that cause crash.
* Initial accessibility support.Nickolay V. Shmyrev2005-10-296-103/+790
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Fix for bug Bug 318916: Printing multiple pages.Nickolay V. Shmyrev2005-10-261-4/+21
| | | | | | * shell/ev-print-job.c: (idle_print_handler): Fix for bug Bug 318916: Printing multiple pages.
* Thumnail dimensions unified with other backends.Nickolay V. Shmyrev2005-10-171-1/+1
| | | | | | | | | | * pdf/ev-poppler.cc: Thumnail dimensions unified with other backends. * shell/ev-window-title.c: (ev_window_title_update): Fix warning.
* Fixed warnings on reload and probably crash reason.Nickolay V. Shmyrev2005-10-111-1/+1
| | | | | | * shell/ev-window.c: (ev_window_setup_document): Fixed warnings on reload and probably crash reason.
* Add .indd files (Adobe Indesign) to the list of "bad extensions".Nickolay V. Shmyrev2005-10-021-0/+1
| | | | | | | * shell/ev-window-title.c: Add .indd files (Adobe Indesign) to the list of "bad extensions".
* Add control+keypad bindings to zoom.Nickolay V. Shmyrev2005-10-021-0/+7
|
* URL-escape link before passing it to gnome_vfs_url_show.Christian Persch2005-09-271-6/+16
| | | | | | | | | 2005-09-27 Christian Persch <chpe@cvs.gnome.org> * shell/ev-window.c: (launch_link), (launch_external_uri), (view_external_link_cb): URL-escape link before passing it to gnome_vfs_url_show.
* Disable copy action when there isn't text selected.Carlos Garcia Campos2005-09-273-3/+44
| | | | | | 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
* Guard against using g_strstrip on NULL. Fixes bug #317291.Christian Persch2005-09-261-5/+7
| | | | | | | | 2005-09-27 Christian Persch <chpe@cvs.gnome.org> * shell/ev-window-title.c: (ev_window_title_update): Guard against using g_strstrip on NULL. Fixes bug #317291.
* Strip the title stringMarco Pesenti Gritti2005-09-261-2/+4
| | | | | | | | 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window-title.c: (ev_window_title_update): Strip the title string
* Add .rtf to the bad extensions listMarco Pesenti Gritti2005-09-261-1/+2
| | | | | | | | 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window-title.c: Add .rtf to the bad extensions list
* 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
* *** empty log message ***Marco Pesenti Gritti2005-09-261-2/+2
|
* Implement launch links. Delegate external link opening to the window.Marco Pesenti Gritti2005-09-262-3/+68
| | | | | | | | | | | | | | | | | 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-243-40/+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-243-3/+72
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Refactor window title building while fixing it for password documents.Marco Pesenti Gritti2005-09-243-77/+86
| | | | | | | | | | | | | | | 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window-title.c: (get_filename_from_uri), (ev_window_title_sanitize_extension), (ev_window_title_update), (ev_window_title_set_document), (ev_window_title_set_uri), (ev_window_title_free): * shell/ev-window-title.h: * shell/ev-window.c: (ev_window_setup_document), (ev_window_popup_password_dialog): Refactor window title building while fixing it for password documents.
* Add a function to retrieve window list and share it where necessary.Marco Pesenti Gritti2005-09-233-21/+81
| | | | | | | | | | | | | | | 2005-09-23 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-application.c: (removed_from_session), (save_session), (init_session), (ev_application_get_empty_window), (ev_application_init), (ev_application_get_windows): * shell/ev-application.h: * shell/ev-window.c: (ev_window_finalize): Add a function to retrieve window list and share it where necessary. Implement session handling, works pretty well thanks to the metadata system.
* Fix for bug 316972. Use async gnome-keyring API.Nickolay V. Shmyrev2005-09-221-15/+23
| | | | | | | * shell/ev-password.c: (ev_password_item_created_callback), (ev_password_dialog_save_password): Fix for bug 316972. Use async gnome-keyring API.
* 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.
* "marco, maybe we should be crazy and jump right to 6! :)"Marco Pesenti Gritti2005-09-221-1/+1
| | | | | | | | | | 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-page-action.c: (page_changed_cb): "marco, maybe we should be crazy and jump right to 6! :)" Bryan Clark, Sep 2005
* Fix window size persistanceMarco Pesenti Gritti2005-09-221-2/+5
| | | | | | | | 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-application.c: (ev_application_open_uri): Fix window size persistance
* 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.
* Dont cast to int before scalingMarco Pesenti Gritti2005-09-191-7/+7
| | | | | | | | 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-page-cache.c: (ev_page_cache_get_size): Dont cast to int before scaling
* 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
* Return 0 results when search is not in progress.Marco Pesenti Gritti2005-09-191-2/+3
| | | | | | | | | | | | | 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com> * pdf/ev-poppler.cc: Return 0 results when search is not in progress. * shell/ev-window.c: (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page), (find_bar_search_changed_cb): Update menu sensitivity when cancelling search
* 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-195-33/+42
| | | | | | | | | | | | | | | | 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.
* Show the index by default when there is oneMarco Pesenti Gritti2005-09-191-34/+47
| | | | | | | | | | 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window.c: (update_sidebar_visibility), (setup_sidebar_from_metadata), (ev_window_setup_document), (setup_view_from_metadata): Show the index by default when there is one
* Missing null checkMarco Pesenti Gritti2005-09-191-16/+16
| | | | | | | | 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window-title.c: (ev_window_title_set_document): Missing null check
* 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.
* Make close button in toolbar editor default.Nickolay V. Shmyrev2005-09-171-0/+1
|
* Mark close button as default. Fix for 316381.Nickolay V. Shmyrev2005-09-171-0/+2
| | | | | | * shell/ev-properties-dialog.c: (ev_properties_dialog_init): Mark close button as default. Fix for 316381.
* Remove a bunch of strings that was used only by the statusbar.Marco Pesenti Gritti2005-09-161-52/+26
| | | | | | | | | 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window.c: Remove a bunch of strings that was used only by the statusbar.
* When title has a confusing extension, show also the document filenameMarco Pesenti Gritti2005-09-161-5/+43
| | | | | | | | | | 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window-title.c: (get_filename_from_uri), (ev_window_title_set_document): When title has a confusing extension, show also the document filename inside ()
* Factor out and cleanup window title codeMarco Pesenti Gritti2005-09-164-66/+193
| | | | | | | | | | | | | | | 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com> * shell/Makefile.am: * shell/ev-window-title.c: (ev_window_title_new), (ev_window_title_update), (ev_window_title_set_type), (ev_window_title_set_document), (ev_window_title_free): * shell/ev-window-title.h: * shell/ev-window.c: (ev_window_setup_document), (password_dialog_response), (ev_window_popup_password_dialog), (ev_window_dispose), (ev_window_init): Factor out and cleanup window title code
* Make dialog transient so it doesnt block other windowsMarco Pesenti Gritti2005-09-161-2/+12
| | | | | | | | | 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window.c: (unable_to_load_dialog_response_cb), (unable_to_load): Make dialog transient so it doesnt block other windows
* Increase timeout to hide full screen popup. Bug 316123.Wouter Bolsterlee2005-09-131-1/+3
| | | | | | | | | 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl> * shell/ev-window.c: (fullscreen_set_timeout): Increase timeout to hide full screen popup. Bug 316123.
* Allow the user to override document restrictions. Fix for bug 305818.Nickolay V. Shmyrev2005-09-131-6/+12
| | | | | | | | * data/evince.schemas.in: * shell/ev-window.c: (update_action_sensitivity): Allow the user to override document restrictions. Fix for bug 305818.
* Fix multihead behaviour of fullscreen toolbar popup. Fixes bug #315451.Christian Persch2005-09-131-5/+37
| | | | | | | | | 2005-09-13 Christian Persch <chpe@cvs.gnome.org> * shell/ev-window.c: (ev_window_update_fullscreen_popup), (ev_window_create_fullscreen_popup), (ev_window_screen_changed), (ev_window_class_init): Fix multihead behaviour of fullscreen toolbar popup. Fixes bug #315451.