Temporarily disable double and triple selections since it depends on
2007-09-02 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/pdf/ev-poppler.cc: (pdf_selection_get_selected_text),
(pdf_selection_get_selection_region),
(pdf_selection_get_selection_map):
Temporarily disable double and triple selections since it depends on
poppler cvs head. It'll be enabled again as soon as poppler 0.6 is
released and the update of the external dependency minimal version
approved.
Create always a portrait cairo surface and rotate when needed for
2007-08-27 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/pdf/ev-poppler.cc: (pdf_print_context_free),
(pdf_document_file_exporter_begin),
(pdf_document_file_exporter_do_page):
* shell/ev-jobs.c: (ev_job_print_run):
* shell/ev-window.c: (ev_window_print_dialog_response_cb):
Create always a portrait cairo surface and rotate when needed for
landscape. It fixes printing problems in real printers.
Adjust number of pages per row according to page orientation when printing
2007-08-25 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/pdf/ev-poppler.cc: (pdf_document_file_exporter_begin):
* libdocument/ev-file-exporter.[ch]:
(ev_file_exporter_get_capabilities):
* shell/ev-jobs.[ch]: (ev_job_print_new), (ev_job_print_run):
* shell/ev-window.c: (ev_window_print_dialog_response_cb):
Adjust number of pages per row according to page orientation when
printing 2 or 6 pages per sheet.
Reset also cups setting to 1 when printing multiple pages per sheet. Fixes
2007-08-25 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: (ev_window_print_send):
Reset also cups setting to 1 when printing multiple pages per
sheet. Fixes bug #468853.
Use directly cairo_surface_get_content() when creating a similar surface
2007-08-24 Carlos Garcia Campos <carlosgc@gnome.org>
* libdocument/ev-document-misc.c:
(ev_document_misc_surface_rotate_and_scale):
Use directly cairo_surface_get_content() when creating a similar
surface as suggested by Jeff Muizelaar. Thanks again.
Use CAIRO_FORMAT_RGB24 instead of CAIRO_FORMAT_ARGB32 when creating page
2007-08-24 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/djvu/djvu-document.c: (djvu_document_render):
* backend/tiff/tiff-document.c: (tiff_document_render):
* backend/pdf/ev-poppler.cc: (pdf_document_render):
* libdocument/ev-document-misc.c:
(ev_document_misc_surface_from_pixbuf),
(ev_document_misc_surface_rotate_and_scale):
Use CAIRO_FORMAT_RGB24 instead of CAIRO_FORMAT_ARGB32 when
creating page surfaces. Fixes bug #453123. Thank you very much to
Jeff Muizelaar <jeff@infidigm.net>.
Also store in page-cache the dimensions of the thumbnails so that they can
2007-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-page-cache.c: (ev_page_cache_new),
(ev_page_cache_get_thumbnail_size):
* shell/ev-sidebar-thumbnails.c: (get_scale_for_page),
(ev_sidebar_thumbnails_set_loading_icon):
Also store in page-cache the dimensions of the thumbnails so that
they can be used to create the correct loading icon in the side
pane. Fixes bug #466857.
Fix thumbnails rotation in pdf documents that include embedded thumbnails.
2007-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/pdf/ev-poppler.cc:
(pdf_document_thumbnails_get_thumbnail):
Fix thumbnails rotation in pdf documents that include embedded
thumbnails.
Use g_get_user_special_dir when available instead of xdg_user_dir_lookup.
2007-08-11 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: (ev_window_cmd_file_open),
(ev_window_cmd_save_as):
Use g_get_user_special_dir when available instead of
xdg_user_dir_lookup.
Do not use cairo_rectangle and cairo_clip since we are not using
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.
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.
Do not hide sidebar in fullscreen mode. Fixes bug #396535.
2007-07-30 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: (update_chrome_visibility),
(ev_window_sidebar_visibility_changed_cb):
Do not hide sidebar in fullscreen mode. Fixes bug #396535.
Set horizontal scrollbar policy to AUTOMATIC instead of NEVER. Workaround
2007-07-29 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_init):
Set horizontal scrollbar policy to AUTOMATIC instead of
NEVER. Workaround for bug #449462.
Add page_ready callback to main loop with high priority and hold a
2007-07-29 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-jobs.c: (ev_job_render_page_ready):
Add page_ready callback to main loop with high priority and hold
a reference to job during idle.
Do not use display before initializing it. Remove compile warnings.
2007-07-27 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-utils.c: (get_num_monitors):
* shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
Do not use display before initializing it. Remove compile
warnings.
Add page_ready signal to notify that page is ready as soon as possible
2007-07-26 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-pixbuf-cache.c: (job_page_ready_cb), (job_finished_cb),
(copy_job_page_and_selection_to_job_info), (copy_job_to_job_info),
(add_job), (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):
* shell/ev-jobs.[ch]: (ev_job_render_class_init),
(notify_page_ready), (ev_job_render_page_ready),
(ev_job_render_run):
Add page_ready signal to notify that page is ready as soon as
possible even if other page elements like links, forms, images or
text mapping are not ready yet.
Give priority to forms over text to set the cursor.
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.
Use IBEAM cursor for text form fields and NORMAL cursor for read only
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.
Update region for current selected items also for checkbox buttons, since
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.
2007-07-19 Carlos Garcia Campos <carlosgc@gnome.org>
* configure.ac:
* backend/pdf/ev-poppler.cc: (ev_form_field_from_poppler_field):
Get max length of text form fields.
Fix a crash when closing whith a form widget visible.
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.
Update also the region of the current selected button when clicking on
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.
Redraw only form field region instead of the whole page when reloading a
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.
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.
Do not connect selection changed signal more than once. Fixes bug #349433.
2007-07-01 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-sidebar-links.c: (job_finished_callback):
Do not connect selection changed signal more than once. Fixes bug
#349433.
Do not change sidebar chrome flag when pressing F9 key in presentation
2007-06-29 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: (ev_window_view_sidebar_cb):
Do not change sidebar chrome flag when pressing F9 key in
presentation mode.