Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
...
* Use connect_object rather than explicitly disconnect on dispose.Marco Pesenti Gritti2005-04-292-14/+10
| | | | | | | | | | | | 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-page-action.c: (update_page_cache), (ev_page_action_dispose): * shell/ev-window.c: (destroy_fullscreen_popup), (ev_window_create_fullscreen_popup): Use connect_object rather than explicitly disconnect on dispose.
* Fix for 173185. Number of pages is simply "of ..." when there is noNickolay V. Shmyrev2005-04-281-1/+5
| | | | page labels
* Update current page while scrolling in continuous modeNickolay V. Shmyrev2005-04-273-3/+22
| | | | CVSr ----------------------------------------------------------------------
* Fix for 301996Nickolay V. Shmyrev2005-04-261-4/+0
|
* Scroll up increase zoomNickolay V. Shmyrev2005-04-241-1/+1
|
* Horizontal scroll and zooming with mouse wheelNickolay V. Shmyrev2005-04-242-33/+60
|
* forgot to set this.Jonathan Blandford2005-04-241-1/+1
| | | | | | Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-view.c (ev_view_init): forgot to set this.
* Fix links for dual/continuous. Also, add a quick fix measuring of widths.Jonathan Blandford2005-04-243-54/+44
| | | | | | | | | | | | | | | Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-view.c: (find_page_at_location), (get_link_at_location), (ev_view_set_show_border), (ev_view_set_spacing), (ev_view_zoom_for_size_continuous_and_dual_page), (ev_view_zoom_for_size_continuous): Fix links for dual/continuous. Also, add a quick fix measuring of widths. Also, removed ev_view_set_spacing and ev_view_set_show_border. * shell/ev-window.c: (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
* Fix crash on exit and scrolling to pageNickolay V. Shmyrev2005-04-231-9/+33
|
* Add Continuous and Dual page modes.Jonathan Blandford2005-04-234-171/+914
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com> * TODO: * backend/ev-page-cache.c: (_ev_page_cache_new), (ev_page_cache_get_max_width_size), (ev_page_cache_get_max_height_size): * backend/ev-page-cache.h: * data/evince-ui.xml: * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): * shell/ev-view.c: (view_update_adjustments), (view_update_range_and_current_page), (get_bounding_box_size), (ev_view_size_request_continuous_and_dual_page), (ev_view_size_request_continuous), (ev_view_size_request_dual_page), (ev_view_size_request_single_page), (ev_view_size_request), (ev_view_size_allocate), (get_page_extents), (draw_one_page), (ev_view_bin_expose), (ev_view_expose_event), (ev_view_set_property), (ev_view_get_property), (ev_view_class_init), (ev_view_init), (ev_view_new), (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous), (ev_view_set_dual_page), (ev_view_set_full_screen), (ev_view_set_presentation), (ev_view_set_sizing_mode), (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in), (ev_view_zoom_out), (zoom_for_size_fit_width), (zoom_for_size_best_fit), (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_view_show_cursor), (ev_sizing_mode_get_type): * shell/ev-view.h: * shell/ev-window.c: (update_action_sensitivity), (ev_window_cmd_continuous), (ev_window_cmd_dual), (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width), (update_sizing_buttons), (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out), (update_view_size), (ev_window_set_sizing_mode), (ev_window_init): Add Continuous and Dual page modes.
* Fix for 169901Nickolay V. Shmyrev2005-04-221-6/+30
|
* Fix for 170111Nickolay V. Shmyrev2005-04-221-1/+0
|
* Remove unnecessary locking.Kristian Høgsberg2005-04-221-4/+0
| | | | | | | 2005-04-22 Kristian Høgsberg <krh@redhat.com> * shell/ev-view.c (highlight_find_results): Remove unnecessary locking.
* Fix find on single page documentsMarco Pesenti Gritti2005-04-221-2/+2
| | | | | | | | | 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com> * pdf/ev-poppler.cc: * shell/ev-view.c: (highlight_find_results): Fix find on single page documents
* Fix normal size zoom. Make zoom in/zoom out unsensitive when they areMarco Pesenti Gritti2005-04-223-7/+43
| | | | | | | | | | | | | | | | 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_out), (ev_view_zoom_normal): * shell/ev-view.h: * shell/ev-window.c: (update_action_sensitivity), (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size): Fix normal size zoom. Make zoom in/zoom out unsensitive when they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but better than oom.
* Put back total number of pages as (1 of 1234)Marco Pesenti Gritti2005-04-221-2/+28
| | | | | | | | | 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-page-action.c: (update_pages_label), (page_changed_cb), (create_tool_item): Put back total number of pages as (1 of 1234)
* actually remove the job.Jonathan Blandford2005-04-225-43/+44
| | | | | | | | | | Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually remove the job. * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking function. This helps debugging.
* Show the window in fullscreen when specified by the documentMarco Pesenti Gritti2005-04-191-0/+14
| | | | | | | | | | 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window.c: (update_document_mode), (ev_window_setup_document): Show the window in fullscreen when specified by the document
* Bug 301053: hide statusbar resize-grip when maximized. Fix from Paolo BorelliNickolay V. Shmyrev2005-04-191-13/+16
|
* Small rework of sidebar pages handling. See bug #164811 for detailsNickolay V. Shmyrev2005-04-1910-120/+293
|
* Fix build error and small problem on application exitNickolay V. Shmyrev2005-04-182-1/+5
|
* New files, handling the mapping from mimetypes to backendsDavid Malcolm2005-04-184-108/+194
| | | | | | | | | | | | | | | | | | | | 2005-04-18 David Malcolm <dmalcolm@redhat.com> * shell/ev-document-types.h: * shell/ev-document-types.c: New files, handling the mapping from mimetypes to backends * shell/ev-window.c: * thumbnailer/evince-thumbnailer.c: Use the ev-document-types code * shell/Makefile.am: Added new convenience library libevbackendfactory_la, containing the new mimetype->backend logic; moved the backends into it. * thumbnailer/Makefile.am: Make the thumbnailer link with the libevbackend.la convenience library, rather than having a duplicate of the backend logic here.
* constify some vars. ditto.Paolo Borelli2005-04-182-7/+7
| | | | | | | 2005-04-18 Paolo Borelli <pborelli@katamail.com> * shell/ev-stock-icons.c: constify some vars. * shell/ev-window.c: ditto.
* Move library dependencies to components.Nickolay V. Shmyrev2005-04-172-9/+6
| | | | | | | | | | | | | | * djvu/Makefile.am: * dvi/Makefile.am: * shell/Makefile.am: Move library dependencies to components. * shell/ev-window.c: (update_window_title), (start_loading_document): Fix display of uris with spaces. Bug 168358. ---------------------------------------------------------------------
* Minor cleanups removing some dead code.Jonathan Blandford2005-04-165-52/+30
| | | | | | | | | | | Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-sidebar-links.c: (selection_changed_cb): * shell/ev-view.c: (ev_view_finalize), (go_to_link), (ev_view_button_release_event), (ev_view_set_document): * shell/ev-view.h: * shell/ev-window.c: (find_bar_search_changed_cb): * shell/ev-window.h: Minor cleanups removing some dead code.
* Calculate shadow size only when there is actually a shadow.Marco Pesenti Gritti2005-04-161-3/+6
| | | | | | | | | 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window.c: (update_view_size): Calculate shadow size only when there is actually a shadow.
* Allow setting view spacing, default to 0Marco Pesenti Gritti2005-04-163-11/+32
| | | | | | | | | | | | | | 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init): * shell/ev-view.h: Allow setting view spacing, default to 0 * shell/ev-window.c: (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen), (ev_window_init): Remove spacing in fullscreen mode
* Do not draw the border in fulscreenMarco Pesenti Gritti2005-04-163-6/+39
| | | | | | | | | | | | | 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (compute_border), (compute_zoom_factor), (ev_view_size_request), (expose_bin_window), (ev_view_set_show_border), (ev_view_init), (page_changed_cb): * shell/ev-view.h: * shell/ev-window.c: (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen): Do not draw the border in fulscreen
* Rework border calculation, so that I can more easily disable it. CodeMarco Pesenti Gritti2005-04-161-39/+32
| | | | | | | | | | | 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor), (ev_view_size_request), (expose_bin_window), (ev_view_select_all), (find_page_at_location), (page_changed_cb): Rework border calculation, so that I can more easily disable it. Code somewhat cleaner too.
* Remove some assertions, documents can have 0 pages. Make initial currentMarco Pesenti Gritti2005-04-162-26/+24
| | | | | | | | | | | | | | | | | | | | 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-page-cache.c: (ev_page_cache_init), (_ev_page_cache_new): Remove some assertions, documents can have 0 pages. Make initial current page -1. * shell/ev-page-action.c: (page_changed_cb): Show "" if current page is -1 * shell/ev-window.c: (update_action_sensitivity), (ev_window_setup_document): When document has 0 pages do not set the view and make nearly everything insensitive.
* Remove unused files.Nickolay V. Shmyrev2005-04-156-785/+49
| | | | | | | | | | | | | | | | | | * shell/ev-page-view.c: * shell/ev-page-view.h: Remove unused files. * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_set_document): * shell/ev-sidebar.c: (ev_sidebar_set_document), (ev_sidebar_supports_document): * shell/ev-sidebar.h: * shell/ev-window.c: (ev_window_setup_document): Doesn't show thumbnails if document has 1 page. Make sidebar menu entries sensitive only if if they have sense. Fix bug 164811.
* Rework sizing to deal with documents with not uniform page size.Marco Pesenti Gritti2005-04-151-53/+55
| | | | | | | | | | | 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request), (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out), (ev_view_set_size): Rework sizing to deal with documents with not uniform page size.
* Make all toolbar items translatableLuca Ferretti2005-04-151-1/+18
| | | | | | | | 2005-04-15 Luca Ferretti <elle.uca@libero.it> * shell/ev-window.c: (set_action_properties): Make all toolbar items translatable
* Fix the crash when trying to copy in backends that doesnt support it. WeMarco Pesenti Gritti2005-04-142-2/+13
| | | | | | | | | | | | | | | | | | | | | 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document.h: * djvu/djvu-document.c: (djvu_document_can_get_text), (djvu_document_document_iface_init): * dvi/dvi-document.c: (dvi_document_can_get_text), (dvi_document_document_iface_init): * pdf/ev-poppler.cc: * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text), (pixbuf_document_document_iface_init): * ps/ps-document.c: (ps_document_can_get_text), (ps_document_document_iface_init): * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb): * shell/ev-window.c: (update_action_sensitivity): Fix the crash when trying to copy in backends that doesnt support it. We can implement a better solution once we do real text selection.
* Work around the Escape conflict (find bar and unfullscreen)Marco Pesenti Gritti2005-04-121-2/+18
| | | | | | | | | 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com> * data/evince-ui.xml: * shell/ev-window.c: (ev_window_cmd_escape): Work around the Escape conflict (find bar and unfullscreen)
* Fix for bugs 300233,173184,300094. Problems with page index started at 0Nickolay V. Shmyrev2005-04-123-21/+79
| | | | and scrolling up with Shift + Space
* Save accelerators on exit. Fixes bug #172095.Christian Persch2005-04-091-0/+2
| | | | | | | | 2005-04-09 Christian Persch <chpe@cvs.gnome.org> * shell/main.c: (main): Save accelerators on exit. Fixes bug #172095.
* Actually fix the "FIXME: update priority" comment.Jonathan Blandford2005-04-091-1/+1
| | | | | | | | | Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME: update priority" comment. * backend/ev-job-queue.c: Give a way to change priority.
* Fix logic.Jonathan Blandford2005-04-091-2/+3
| | | | | | Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-page-action.c: Fix logic.
* Check that the document supports findMarco Pesenti Gritti2005-04-082-5/+7
| | | | | | | | | 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (ev_view_can_find_next): * shell/ev-window.c: (ev_window_setup_document): Check that the document supports find
* Add Edit->Find NextMarco Pesenti Gritti2005-04-083-1/+41
| | | | | | | | | | | | | 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com> * data/evince-ui.xml: * shell/ev-view.c: (ev_view_can_find_next): * shell/ev-view.h: * shell/ev-window.c: (update_action_sensitivity), (find_changed_cb), (ev_window_setup_document), (ev_window_cmd_edit_find_next): Add Edit->Find Next
* Make printing work againMarco Pesenti Gritti2005-04-081-2/+2
| | | | | | | | | 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com> * pdf/ev-poppler.cc: * shell/ev-print-job.c: (idle_print_handler): Make printing work again
* Big reworking to make completions work iff we have >= GTK-2.7.0Jonathan Blandford2005-04-085-39/+376
| | | | | | | | | | | | | | | | | | | | | | | Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-page-action.h: * shell/ev-page-action.c: (ev_page_action_widget_init), (ev_page_action_widget_class_init), (page_changed_cb), (create_tool_item), (update_page_cache), (build_new_tree_cb), (get_filter_model_from_model), (match_selected_cb), (display_completion_text), (match_completion), (update_model), (connect_proxy), (ev_page_action_set_property), (ev_page_action_get_property), (ev_page_action_set_document), (ev_page_action_set_model), (ev_page_action_class_init): Big reworking to make completions work iff we have >= GTK-2.7.0 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property), (ev_sidebar_links_get_property), (ev_sidebar_links_class_init), (job_finished_cb): We now have a 'model' property that is set when the links are loaded. This can be caught with "notify::model" * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init): listen for the model to be set, and propagate it to the action.
* Recent files support.Nickolay V. Shmyrev2005-04-075-33/+191
| | | | | | | | | | | | | | | | | | | 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * cut-n-paste/recent-files/Makefile.am: * data/evince-ui.xml, shell/Makefile.am: * shell/ev-application.c, shell/ev-application.h: * shell/ev-window.c: Recent files support. * configure.ac: Added "ru" to ALL_LINGUAS. * dvju: new backend to support DJVU files. * dvi: new backend to support DVI. * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c: * ev-application.c: Support for new backends. * help, ev-window.c, main.c shell/Makefile.am:
* s/pdf-document/ev-popplerMarco Pesenti Gritti2005-04-061-1/+1
| | | | | | | | | | 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com> * po/POTFILES.in: * shell/ev-window.c: * thumbnailer/evince-thumbnailer.c: s/pdf-document/ev-poppler
* Fix of by one errors.Kristian Høgsberg2005-04-061-2/+2
| | | | | | | | 2005-04-05 Kristian Høgsberg <krh@redhat.com> * backend/ev-page-cache.c (ev_page_cache_next_page): * shell/ev-window.c (ev_window_cmd_go_next_page) (ev_window_cmd_go_first_page): Fix of by one errors.
* Make searching work again.Kristian Høgsberg2005-04-053-40/+50
| | | | | | | | | | | | | | | | | | | 2005-04-04 Kristian Høgsberg <krh@redhat.com> Make searching work again. * backend/ev-document.c: * backend/ev-document.h: * backend/ev-document-find.c: * backend/ev-document-find.h: Change EvDocumentIface so we no longer store the current page or zoom level in the document. The consequence is that all calls that operate on the current page now instead take the page number as an extra argument, and all coordinates are now doubles in document coordinate system. * pdf/ev-poppler.cc: * pixbuf/pixbuf-document.c: * ps/ps-document.c: Update backends accordingly.
* Patch from Alberto Mesas <amesas@gmail.com> to make F1 bring upJonathan Blandford2005-04-034-117/+219
| | | | | | | | | | | | | | | | | | | | | Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com> * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to make F1 bring up non-existent help. * shell/eggfindbar.c: Patch from Christian Persch to sync to epiphany's find bar, #167477 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan <emil@nishra.com> to add space-bar scrolling, * shell/ev-window.c (static GtkActionEntry entries): add default keybinding for Help (F1) Fixes #171068 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug 170110
* Fix mismatch in model types, noticed by Martin Kretzschmar.Jonathan Blandford2005-04-011-2/+2
| | | | | | | Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in model types, noticed by Martin Kretzschmar.
* Implement search based on poppler_page_find_text(). Currently a bit crudeKristian Høgsberg2005-04-011-12/+13
| | | | | | | | | | | | | | | 2005-04-01 Kristian Høgsberg <krh@redhat.com> * pdf/ev-poppler.cc: Implement search based on poppler_page_find_text(). Currently a bit crude since we remember all matches from all pages. Also, we grab the big document lock when we search since searching changes the underlying stream and thus conflicts with the rendering thread. * shell/ev-view.c: (draw_rubberband), (highlight_find_results), (jump_to_find_page), (ev_view_set_document), (ev_view_find_next), (ev_view_find_previous): Fix some page indexes to be 0 based, offset rubber band by view offset,