| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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...
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
(ev_window_print_range): print a less techy message if someone
tries to print to PDF.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
#310818
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-window.c:
Use F5 as presentation accell
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/main.c: (load_files_remote):
Allow open more than one file
|
|
|
|
|
|
|
|
| |
2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
* shell/main.c: (load_files_remote):
Fix for dbus 0.33. bug #309975
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
2005-07-07 Christian Persch <chpe@cvs.gnome.org>
* shell/ev-window.c: (ev_window_cmd_edit_toolbar):
HIGification of toolbar editor dialogue.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-window:
do not unnecessarily save zoom
* configure.ac:
* lib/ev-file-helpers.c: (ev_dot_dir):
* shell/Makefile.am:
* shell/dummy.cc:
Some cleanups
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
* Makefile.am:
* backend/Makefile.am:
* properties/Makefile.am:
* shell/Makefile.am:
* thumbnailer/Makefile.am:
This should solve the circular dep without
requiring dir reorg!
* shell/ev-window.c: (setup_view_from_metadata):
Never restore window size/position when the
window is already visible.
|
|
|
|
|
|
|
|
| |
2005-07-06 Christian Persch <chpe@cvs.gnome.org>
* shell/ev-metadata-manager.c: (ev_metadata_manager_save):
Return a boolean from timeout func. Fix ported from gedit.
|
|
|
|
|
|
| |
2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-document-types.c: set "All Documents" as default filter in
open dialog
|
|
|
|
|
| |
ev_metadata_manager_set_string) (ev_metadata_manager_set_boolean): fix
value/val thinko.
|
|
|
|
|
|
|
|
|
|
| |
2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-window.c: (setup_view_from_metadata),
(window_state_event_cb), (window_configure_event_cb),
(ev_window_init):
Remember window position and maximized state
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-07-06 Christian Persch <chpe@cvs.gnome.org>
* configure.ac:
Fix DBUS configure checks.
* shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
(ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
(ev_metadata_manager_set_boolean):
Plug mem leaks.
* shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
(ev_window_stop_fullscreen), (ev_window_run_presentation),
(ev_window_stop_presentation), (ev_window_zoom_changed_cb),
(ev_window_continuous_changed_cb),
(ev_window_dual_mode_changed_cb), (ev_window_new):
Fix the build without DBUS.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-07-06 Marco Pesenti Gritti <set EMAIL_ADDRESS environment variable>
* shell/ev-metadata-manager.c: (parse_value), (save_values),
(ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
(ev_metadata_manager_set_string),
(ev_metadata_manager_set_boolean):
* shell/ev-metadata-manager.h:
Add support for some more types
* shell/ev-view.c: (scroll_to_current_page),
(ev_view_get_continuous), (ev_view_set_continuous),
(ev_view_get_dual_page):
* shell/ev-view.h:
* 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_sizing_mode_changed_cb),
(ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
(ev_window_update_dual_page_action),
(ev_window_continuous_changed_cb),
(ev_window_dual_mode_changed_cb), (ev_window_init):
Remember a bunch of view/document properties. Prolly some
are still missing but it's getting interesting.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
Marco Pesenti Gritti <mpg@redhat.com>
* shell/Makefile.am: Add --prefix for dbus-binding-tool script
* shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
functions to the format required by dbus
* shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
errors. Use the RPC parameters in the expected way
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
* Makefile.am:
* properties/Makefile.am:
* properties/ev-properties-main.c: (ev_properties_get_pages):
Support all mime types
* shell/Makefile.am:
* thumbnailer/Makefile.am:
* thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
(evince_thumbnail_pngenc_get):
Use the document factory
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
* backend/Makefile.am:
* backend/ev-document-factory.c:
(mime_type_supported_by_gdk_pixbuf),
(ev_document_type_get_from_mime),
(ev_document_factory_get_document),
(ev_document_factory_get_backend),
(ev_document_factory_get_mime_types),
(ev_document_factory_get_all_mime_types):
* backend/ev-document-factory.h:
* shell/Makefile.am:
* shell/ev-document-types.c: (get_document_from_uri),
(ev_document_types_get_document),
(file_filter_add_mime_list_and_free),
(ev_document_types_add_filters):
* shell/ev-document-types.h:
* shell/ev-job-xfer.c: (ev_job_xfer_run):
* shell/ev-properties-dialog.c:
(ev_properties_dialog_set_document):
* shell/ev-window.c: (ev_window_cmd_file_open),
(ev_window_cmd_save_as):
* thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
Rework document types managing to avoid code duplication
and actually abstract from backend implementations.
Also provide a minimal factory api that can be used by
thumbnailer/properties.
|
|
|
|
|
|
|
|
|
| |
2005-07-05 Christian Persch <chpe@cvs.gnome.org>
* properties/ev-properties-view.c: (ev_properties_view_set_info):
Plug a mem leak.
* shell/ev-properties-dialog.c: (ev_properties_dialog_init):
HIG spacings.
|
|
|
|
|
|
|
|
|
| |
2005-07-04 Matthew S. Wilson <msw@rpath.com>
* shell/ev-properties-dialog.c
(ev_properties_dialog_set_document): only call
ev_properties_fonts_set_document() if the document implements the
fonts interface
|
|
|
|
|
| |
(ev_properties_fonts_set_document): use
EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
|
|
|
|
|
|
|
|
| |
* shell/main.c: include libgnomeui/gnome-authentication-manager.h
(main): to call gnome_authentication_manager_init. Should fix
Bug #308510
* configure.ac: that requires libgnomeui 2.6.0.
|
| |
|
|
|
|
|
|
|
|
| |
2005-07-04 Matthew S. Wilson <msw@rpath.com>
* shell/ev-window.c (update_action_sensitivity): disable
File->Print if the document does not implement the ps exporter
interface
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
* Makefile.am:
* configure.ac:
* data/evince-properties.glade:
* properties/.cvsignore:
* properties/Makefile.am:
* properties/ev-properties-view.c: (ev_properties_view_dispose),
(ev_properties_view_class_init), (ev_properties_view_format_date),
(make_valid_utf8), (set_property), (ev_properties_view_set_info),
(ev_properties_view_init), (ev_properties_view_new):
* properties/ev-properties-view.h:
* shell/Makefile.am:
* shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
(ev_properties_dialog_init), (ev_properties_dialog_set_document),
(ev_properties_dialog_new):
* shell/ev-properties-dialog.h:
* shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
(ev_properties_fonts_class_init), (ev_properties_fonts_init),
(update_progress_label), (job_fonts_finished_cb),
(ev_properties_fonts_set_document), (ev_properties_fonts_new):
* shell/ev-properties-fonts.h:
* shell/ev-properties.c:
* shell/ev-properties.h:
* shell/ev-window.c: (ev_window_setup_document),
(ev_window_cmd_file_properties):
Split the properties pages in two different objects, depend
only on the backend where possible, use widgets instead
of gobject for the glade part, reimplement the dialog
itself with gtk.
I need this to implement nautilus properties page.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* shell/ev-window.c: (update_document_mode),
(ev_window_run_fullscreen), (ev_window_stop_fullscreen),
(ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
(ev_window_cmd_view_presentation), (ev_window_cmd_escape):
Exit from fullscreen mode when switch to presentation. Fix for
bug 309365
|
|
|
|
|
|
|
|
| |
2005-07-02 Matthew S. Wilson <msw@rpath.com>
* shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
return NULL if the document does not implement the selection
interface.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
* backend/ev-selection.c: (ev_selection_get_selection_region),
(ev_selection_get_selection_map):
* backend/ev-selection.h:
* pdf/ev-poppler.cc:
* shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
* shell/ev-jobs.h:
* shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
(job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
(ev_pixbuf_cache_get_text_mapping):
* shell/ev-pixbuf-cache.h:
* shell/ev-view.c: (location_in_text),
(ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
support to EvView. Now we can see where we can select! Sweet!
|
|
|
|
|
|
|
| |
2005-06-30 Kristian Høgsberg <krh@redhat.com>
* shell/ev-view.c (ev_view_button_press_event): Fix
event->y + view->scroll_x typo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-30 Kristian Høgsberg <krh@redhat.com>
* pdf/ev-poppler.cc: Adjust to poppler API changes; use a
sub-GdkPixbuf instead of passing dest_x and dest_y.
* shell/ev-view.c: (view_point_to_doc_point),
(view_rect_to_doc_rect), (ev_view_button_press_event),
(ev_view_motion_notify_event), (compute_new_selection_rect),
(gdk_rectangle_point_in), (compute_new_selection_text),
(compute_selections): Update selection code to keep the selection
around as two points and not as a normalized rectangle, and fix
page level selection in two-column mode.
|