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.
Make sure thumbnails width and height is not <= 0. Fixes a crash with some
2007-06-29 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/pdf/ev-poppler.cc:
(pdf_document_thumbnails_get_dimensions):
Make sure thumbnails width and height is not <= 0. Fixes a crash
with some pdf documents which have really small pages.
Cesar Fernandez [Thu, 21 Jun 2007 14:20:20 +0000 (14:20 +0000)]
Do not change current page when returning from black/white mode in
2007-06-21 Cesar Fernandez <cesar@pk2.org>
* shell/ev-view.c: (ev_view_next_page), (ev_view_previous_page):
Do not change current page when returning from black/white mode
in presentation. Fixes bug #415032.
2007-06-17 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/dvi/Makefile.am:
* backend/dvi/pixbuf-device.[ch]: Removed
* backend/dvi/cairo-device.[ch]: Added
* backend/dvi/mdvi-lib/dviread.c: (draw_shrink_rule):
* backend/dvi/dvi-document.c: (dvi_document_load),
(dvi_document_render), (dvi_document_finalize),
(dvi_document_thumbnails_get_thumbnail), (parse_color),
(dvi_document_do_color_special):
* libdocument/ev-document-misc.[ch]:
(ev_document_misc_pixbuf_from_surface):
Port dvi backend to cairo and fix a problem with colors.
Redraw view every time we have a new surface. Fixes bug #443587.
2007-06-13 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-pixbuf-cache.c: (job_finished_cb),
(ev_pixbuf_cache_get_surface), (ev_pixbuf_cache_get_link_mapping),
(ev_pixbuf_cache_get_image_mapping),
(ev_pixbuf_cache_get_text_mapping):
Redraw view every time we have a new surface. Fixes bug #443587.