Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
* Fix orientation in the postscript documentMarco Pesenti Gritti2005-08-241-1/+2
| | | | | | | | | | | | | | 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf): * backend/ev-async-renderer.h: * ps/ps-document.c: (ps_document_init), (setup_pixmap), (setup_page), (ps_document_get_page_size), (ps_async_renderer_render_pixbuf): * ps/ps-document.h: * shell/ev-jobs.c: (ev_job_render_run): Fix orientation in the postscript document
* Adapt to the new poppler rotation API. Fix text maps on landscapeMarco Pesenti Gritti2005-08-231-2/+1
| | | | | | | | | | | 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com> * pdf/ev-poppler.cc: * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event): * shell/ev-view.c: (highlight_find_results): Adapt to the new poppler rotation API. Fix text maps on landscape documents.
* get the correct region when selecting in modes other than continuous.Jonathan Blandford2005-08-201-4/+17
| | | | | | | Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-view.c (compute_new_selection_text): get the correct region when selecting in modes other than continuous.
* remove redundant g_warnings.Jonathan Blandford2005-08-201-2/+0
| | | | | | Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com> * shell/main.c (main): remove redundant g_warnings.
* Don't include autogenerated file ev-application-service.h intoNickolay V. Shmyrev2005-08-191-1/+0
| | | | | | * shell/Makefile.am: Don't include autogenerated file ev-application-service.h into distribution, since it causes dbus crash. Fix for bugs 313724 and 313443.
* Fix sed expression for FreeBSD. Thanks to Joe Marcus ClarkNickolay V. Shmyrev2005-08-181-3/+14
| | | | | | | | | | | | * configure.ac: Fix sed expression for FreeBSD. Thanks to Joe Marcus Clark <marcus@freebsd.org> * shell/eggfindbar.c: (entry_activate_callback), (entry_changed_callback), (egg_find_bar_init), (egg_find_bar_set_search_string): Made findbar buttons unsensitive if there is no text in entry. Fix for the bug 313285.
* Update for 0.3.4Marco Pesenti Gritti2005-08-172-12/+4
| | | | | | | | | | | | | | | | | 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com> * NEWS: * configure.ac: Update for 0.3.4 * shell/Makefile.am: Add ev-application-service.xml to extra dist * shell/ev-view.c: (find_page_at_location): Remove unused function (fix warning)
* Fix build warnings and compilation with dbus 0.35.2Nickolay V. Shmyrev2005-08-162-6/+3
|
* Return focus back to view on escape. Fix for bug 313295.Nickolay V. Shmyrev2005-08-161-0/+1
|
* Correct conversion from uri to displayable string. Fix for bug 313296.Nickolay V. Shmyrev2005-08-161-18/+21
| | | | | | | | | * shell/ev-window.c: (update_window_title), (ev_window_popup_password_dialog), (ev_window_load_job_cb), (ev_window_cmd_save_as): Correct conversion from uri to displayable string. Fix for bug 313296.
* Release 0.3.3. Remove pdf icon.Jonathan Blandford2005-08-161-2/+2
| | | | | | | | Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com> * configure.ac: * NEWS: Release 0.3.3. * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
* HIG fixes: add a couple missing mnemonics to menu items, use titleDennis Cranston2005-08-151-5/+5
| | | | | | | | | 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com> * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes: add a couple missing mnemonics to menu items, use title capitalization for menu items and window titles, and add ellipsis to open menu item.
* * shell/ev-metadata-manager.c: (ev_metadata_manager_init): *Jonathan Blandford2005-08-154-13/+61
| | | | | | | | | | | | Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com> * pdf/ev-poppler.cc: * shell/ev-metadata-manager.c: (ev_metadata_manager_init): * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation), (ev_view_get_rotation): * shell/ev-view.h: * shell/ev-window.c: (setup_view_from_metadata), (save_rotation_to_file), (ev_window_cmd_edit_rotate_left), (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to disk.
* Fix for bug Bug 311838: Seach backward requires several clicks to find word.Nickolay V. Shmyrev2005-08-121-12/+27
| | | | Thanks to Colin Slater.
* Point to the correct function in constructor of the activate_label signalCrispin Flowerday2005-08-111-1/+1
| | | | | | | | | 2005-08-11 Crispin Flowerday <gnome@flowerday.cx> * shell/ev-page-action.c (ev_page_action_class_init): Point to the correct function in constructor of the activate_label signal
* Make thread safe.Jonathan Blandford2005-08-092-5/+5
| | | | | | | Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run): * shell/ev-jobs.h: Make thread safe.
* Don't update page range if we are scrolling to some documentNickolay V. Shmyrev2005-08-071-0/+3
| | | | point.
* Reverse rotation/scale when getting max page width, fix drawing in dual mode.Nickolay V. Shmyrev2005-08-071-2/+2
|
* reverse rotation/page when getting the area for select_all.Jonathan Blandford2005-08-071-1/+2
| | | | | | | Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-view.c (ev_view_select_all): reverse rotation/page when getting the area for select_all.
* Change selection color on focus in and focus out events. Also, poppler nowKristian Høgsberg2005-08-064-25/+46
| | | | | | | | | | | | | | | | | | 2005-08-06 Kristian Høgsberg <krh@redhat.com> * backend/ev-selection.c: (ev_selection_render_selection): * backend/ev-selection.h: * pdf/ev-poppler.cc: * shell/ev-jobs.c: (ev_job_render_new): * shell/ev-jobs.h: * shell/ev-pixbuf-cache.c: (get_selection_colors), (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf): * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out), (ev_view_class_init): Change selection color on focus in and focus out events. Also, poppler now uses GdkColor for specifying the selection colors, so drop some awkward conversion code.
* Clean up selection to be much smoother!Jonathan Blandford2005-08-068-52/+418
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com> * NOTES: * backend/ev-selection.c: (ev_selection_render_selection): * backend/ev-selection.h: * pdf/ev-poppler.cc: * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new), (ev_job_render_run): * shell/ev-jobs.h: * shell/ev-pixbuf-cache.c: (dispose_cache_job_info), (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed), (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping), (ev_pixbuf_cache_style_changed), (ev_pixbuf_cache_get_selection_pixbuf), (ev_pixbuf_cache_set_selection_list), (ev_pixbuf_cache_get_selection_list): * shell/ev-pixbuf-cache.h: * shell/ev-utils.c: (ev_print_region_contents): * shell/ev-utils.h: * shell/ev-view.c: (ev_view_queue_draw_page), (selection_update_idle_cb), (ev_view_motion_notify_event), (ev_view_style_set), (draw_one_page), (ev_view_class_init), (setup_caches), (ev_view_find_next), (merge_selection_region), (selection_free): * shell/ev-window.c: (ev_window_update_fullscreen_popup): Clean up selection to be much smoother!
* Disable save and print respect to lockdown gconf keysNickolay V. Shmyrev2005-08-031-1/+13
|
* Copy-paste g_file_set_contents to keep compatibility with gtk 2.6Nickolay V. Shmyrev2005-08-033-1/+227
| | | | Fix for bug 312228
* Persist the print settings. Fixes bug #311578.Christian Persch2005-07-311-2/+51
| | | | | | | | | 2005-07-31 Christian Persch <chpe@cvs.gnome.org> * shell/ev-window.c: (load_print_config_from_file), (save_print_config_to_file), (ev_window_print_range): Persist the print settings. Fixes bug #311578.
* at Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>Jonathan Blandford2005-07-304-5/+28
| | | | | | | | | | | | * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear): * shell/ev-pixbuf-cache.h: * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_get_property), (add_range), (adjustment_changed_cb): * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the pixbuf cache. Make thumbnailing work again. Also, fix bug where we were thumbnailing the entire docment on startup, slowing us down hugely.
* Handle n_pages == 0, fixes #310306.Jonathan Blandford2005-07-302-3/+3
| | | | | | | | Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-page-cache.c: (ev_page_cache_new): * shell/ev-window.c: (update_action_sensitivity): Handle n_pages == 0, fixes #310306.
* Account rotation in doc_rect_to_view_rect. Ensure rotation doesnt go outMarco Pesenti Gritti2005-07-291-8/+48
| | | | | | | | | | 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right), (ev_view_rotate_left): Account rotation in doc_rect_to_view_rect. Ensure rotation doesnt go out of bounds.
* *** empty log message ***Marco Pesenti Gritti2005-07-291-16/+13
|
* Use rotation rather than orientation. It's easier and enough for ourMarco Pesenti Gritti2005-07-299-103/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document-thumbnails.c: (ev_document_thumbnails_get_thumbnail): * backend/ev-document-thumbnails.h: * backend/ev-document.c: * backend/ev-document.h: * backend/ev-render-context.c: (ev_render_context_new), (ev_render_context_set_rotation): * backend/ev-render-context.h: * pdf/ev-poppler.cc: * ps/ps-document.c: (ps_document_document_iface_init): * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run): * shell/ev-jobs.h: * shell/ev-page-cache.c: (build_height_to_page), (ev_page_cache_new), (ev_page_cache_get_size), (ev_page_cache_get_max_width), (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page): * shell/ev-page-cache.h: * shell/ev-pixbuf-cache.c: (check_job_size_and_unref), (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed), (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed), (ev_pixbuf_cache_get_selection_pixbuf): * shell/ev-pixbuf-cache.h: * shell/ev-print-job.c: (idle_print_handler): * shell/ev-sidebar-thumbnails.c: (add_range): * shell/ev-view.c: (view_update_range_and_current_page), (get_page_y_offset), (get_page_extents), (ev_view_size_request_continuous_dual_page), (ev_view_size_request_continuous), (ev_view_size_request_dual_page), (ev_view_size_request_single_page), (draw_one_page), (ev_view_set_rotation), (ev_view_rotate_right), (ev_view_rotate_left), (ev_view_zoom_for_size_presentation), (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), (compute_new_selection_text), (ev_view_select_all): * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): * tiff/tiff-document.c: (tiff_document_render_pixbuf), (tiff_document_document_iface_init), (tiff_document_thumbnails_get_thumbnail): Use rotation rather than orientation. It's easier and enough for our needs.
* Make the page cache aware of page orientation.Marco Pesenti Gritti2005-07-293-80/+155
| | | | | | | | | | | | | | | | | 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-page-cache.c: (build_height_to_page), (ev_page_cache_new), (ev_page_cache_get_size), (ev_page_cache_get_max_width), (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page): * shell/ev-page-cache.h: * shell/ev-view.c: (get_page_y_offset), (get_page_extents), (ev_view_size_request_continuous_dual_page), (ev_view_size_request_continuous), (ev_view_zoom_for_size_continuous_and_dual_page), (ev_view_zoom_for_size_continuous): Make the page cache aware of page orientation.
* Really make use of the orientation bit of the render context. Use theMarco Pesenti Gritti2005-07-299-80/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document-thumbnails.c: (ev_document_thumbnails_get_thumbnail): * backend/ev-document-thumbnails.h: * backend/ev-document.c: * backend/ev-document.h: * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page): * backend/ev-ps-exporter.h: * pdf/ev-poppler.cc: * ps/ps-document.c: (ps_document_document_iface_init), (ps_document_ps_export_do_page): * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run): * shell/ev-jobs.h: * shell/ev-page-cache.c: (ev_page_cache_get_size), (ev_page_cache_get): * shell/ev-page-cache.h: * shell/ev-pixbuf-cache.c: (check_job_size_and_unref), (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed), (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed): * shell/ev-pixbuf-cache.h: * shell/ev-print-job.c: (idle_print_handler): * shell/ev-sidebar-thumbnails.c: (add_range): * shell/ev-view.c: (view_update_range_and_current_page), (get_page_extents), (ev_view_size_request_dual_page), (ev_view_size_request_single_page), (draw_one_page), (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right), (ev_view_rotate_left), (ev_view_zoom_for_size_presentation), (ev_view_zoom_for_size_dual_page), (ev_view_zoom_for_size_single_page), (compute_new_selection_text), (ev_view_select_all): * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): * tiff/tiff-document.c: (tiff_document_get_page_size), (tiff_document_get_orientation), (rotate_pixbuf), (tiff_document_render_pixbuf), (tiff_document_document_iface_init), (tiff_document_thumbnails_get_thumbnail), (tiff_document_ps_export_do_page), (tiff_document_init): Really make use of the orientation bit of the render context. Use the render context in a few more places in the backend API. This regress orientation, but now it's done right. Will try to fix it up asap...
* Patch by Nickolay V. Shmyrev to fix find flickeringMarco Pesenti Gritti2005-07-291-0/+2
| | | | | | | | 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (ensure_rectangle_is_visible): Patch by Nickolay V. Shmyrev to fix find flickering
* add paper_width, paper_height, and duplex parameters to ::begin.Martin Kretzschmar2005-07-271-3/+4
| | | | | | | | | | | | | * backend/ev-ps-exporter.h: add paper_width, paper_height, and duplex parameters to ::begin. * tiff/tiff-document.c (tiff_document_ps_export_begin): * shell/ev-print-job.c (idle_print_handler): * ps/ps-document.c (ps_document_ps_export_begin): * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin): * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update implementations. Poppler backend needs poppler cvs. Rest has unchanged behavior.
* (using_pdf_printer): new function.Martin Kretzschmar2005-07-251-2/+31
| | | | | (ev_window_print_range): print a less techy message if someone tries to print to PDF.
* Bug #311280Martin Kretzschmar2005-07-241-6/+34
| | | | | | | | | | | | | | | * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable name for PopplerFontTypes (pdf_document_fonts_fill_model): add font type to the detail column * backend/ev-document-fonts.h: added EV_DOCUMENT_FONTS_COLUMN_DETAILS. * shell/ev-properties-fonts.c (font_cell_data_func): glue together font name and font details, add a little markup. (ev_properties_fonts_init): use the new cell data func, specify ypad property for the cell renderer. (ev_properties_fonts_set_document): add the details column.
* Clear status message when pointer leaves view. Fix for bugNickolay V. Shmyrev2005-07-211-1/+8
| | | | #310818
* Set cursor to normal when leaving viewNickolay V. Shmyrev2005-07-161-0/+10
|
* Add keypad accelerators for zooming. Fix for bug 308128.Nickolay V. Shmyrev2005-07-121-4/+12
| | | | | | | | 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * data/evince-ui.xml, shell/ev-window.c: Add keypad accelerators for zooming. Fix for bug 308128.
* Allow to enable/disable the pixbuf backend. Default to off for now. If weMarco Pesenti Gritti2005-07-111-0/+2
| | | | | | | | | | | | | | | | | | | 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com> * Makefile.am: * backend/Makefile.am: * backend/ev-document-factory.c: (ev_document_type_get_from_mime): * configure.ac: * shell/ev-document-types.c: (ev_document_types_add_filters): Allow to enable/disable the pixbuf backend. Default to off for now. If we want it enabled we should really put mime types in the desktop, implement properties etc. * properties/evince-properties.c: Initialize error to NULL. Check error is not NULL before freeing.
* Use F5 as presentation accellMarco Pesenti Gritti2005-07-111-1/+1
| | | | | | | | 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window.c: Use F5 as presentation accell
* Do not leak the fullscreen toolbarMarco Pesenti Gritti2005-07-111-6/+5
| | | | | | | | | 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window.c: (update_chrome_visibility), (ev_window_create_fullscreen_popup), (ev_window_init): Do not leak the fullscreen toolbar
* These has a return value! Fix totally random focus issues we was seeing.Marco Pesenti Gritti2005-07-111-2/+6
| | | | | | | | | | 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window.c: (view_actions_focus_in_cb), (view_actions_focus_out_cb): These has a return value! Fix totally random focus issues we was seeing.
* Allow open more than one fileCarlos Garcia Campos2005-07-111-6/+9
| | | | | | 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org> * shell/main.c: (load_files_remote): Allow open more than one file
* Fix for dbus 0.33. bug #309975Marco Pesenti Gritti2005-07-111-2/+21
| | | | | | | | 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com> * shell/main.c: (load_files_remote): Fix for dbus 0.33. bug #309975
* Let tbe check file existence for us. Add a comment about eggrecent mimeMarco Pesenti Gritti2005-07-081-4/+5
| | | | | | | | | 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-application.c: (ev_application_init): Let tbe check file existence for us. Add a comment about eggrecent mime filter.
* Use common toolbar and recent models for all windows. Patch by Nickolay V.Marco Pesenti Gritti2005-07-083-71/+89
| | | | | | | | | | | | | | | | | | 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com> * data/evince-ui.xml: * shell/ev-application.c: (ev_application_shutdown), (ev_application_init), (ev_application_get_toolbars_model), (ev_application_get_recent_model), (ev_application_save_toolbars_model): * shell/ev-application.h: * shell/ev-window.c: (ev_window_add_recent), (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar), (ev_window_dispose), (ev_window_init): Use common toolbar and recent models for all windows. Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* HIGification of toolbar editor dialogue.Christian Persch2005-07-071-8/+9
| | | | | | | | 2005-07-07 Christian Persch <chpe@cvs.gnome.org> * shell/ev-window.c: (ev_window_cmd_edit_toolbar): HIGification of toolbar editor dialogue.
* Ever build metadata manager since it's just disabled at runtime now.Marco Pesenti Gritti2005-07-072-12/+3
| | | | | | | | | | 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com> * configure.ac: * shell/Makefile.am: Ever build metadata manager since it's just disabled at runtime now.
* Add an _init functions that enabled metadata management at runtime.Marco Pesenti Gritti2005-07-074-49/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-metadata-manager.c: (ev_metadata_manager_init), (ev_metadata_manager_get), (ev_metadata_manager_set): * shell/ev-metadata-manager.h: Add an _init functions that enabled metadata management at runtime. * shell/ev-window.c: (page_changed_cb), (setup_document_from_metadata), (ev_window_setup_document), (setup_view_from_metadata), (ev_window_open_uri), (ev_window_run_fullscreen), (ev_window_stop_fullscreen), (ev_window_run_presentation), (ev_window_stop_presentation), (save_sizing_mode), (ev_window_zoom_changed_cb), (ev_window_continuous_changed_cb), (ev_window_dual_mode_changed_cb), (window_state_event_cb), (window_configure_event_cb): Remove all ugly metadata define since we deal with it at runtime now. * shell/main.c: (load_files_remote), (main): Add support for dbus cvs head. Hopefully didnt break one of the other versions now! If we dont get a response from the dbus server just give up with it and not enable metadata.
* *** empty log message ***Marco Pesenti Gritti2005-07-071-20/+4
|