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.
Remove a mutex in the main thread that blocks the UI in heavy documents.
2007-06-09 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_thumbnails_set_loading_icon):
Remove a mutex in the main thread that blocks the UI in heavy
documents.
Set points_set to TRUE so that selections don't disappear after a zoom
2007-06-09 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-pixbuf-cache.c (copy_job_to_job_info):
Set points_set to TRUE so that selections don't disappear after a
zoom change.
Bastien Nocera [Tue, 5 Jun 2007 13:47:37 +0000 (13:47 +0000)]
Simplify the timeout, no need for modified anymore
2007-06-05 Bastien Nocera <hadess@hadess.net>
* shell/ev-metadata-manager.c: (ev_metadata_manager_init),
(ev_metadata_manager_shutdown), (ev_metadata_manager_set_last),
(ev_metadata_manager_set), (ev_metadata_manager_save):
Simplify the timeout, no need for modified anymore
Bastien Nocera [Tue, 5 Jun 2007 09:23:09 +0000 (09:23 +0000)]
Adapted patch from Arjan van de Ven (arjan@linux.intel.com) to avoid the
2007-06-05 Bastien Nocera <hadess@hadess.net>
* shell/ev-metadata-manager.c: (ev_metadata_arm_timeout),
(ev_metadata_manager_init), (ev_metadata_manager_shutdown),
(ev_metadata_manager_set_last), (ev_metadata_manager_set),
(ev_metadata_manager_save): Adapted patch from Arjan van de
Ven (arjan@linux.intel.com) to avoid the timeout running all the
time, saves on power (Closes: #443851)
Bump requirements to poppler 0.5.9 and drop all ifdefs used.
2007-06-02 Carlos Garcia Campos <carlosgc@gnome.org>
* configure.ac:
* backend/pdf/ev-poppler.cc: (pdf_document_images_get_images),
(pdf_selection_render_selection), (pdf_document_get_page_duration):
Bump requirements to poppler 0.5.9 and drop all ifdefs used.
Add functions to delete temporary files created by evince in a safe way.
2007-05-25 Carlos Garcia Campos <carlosgc@gnome.org>
* libdocument/ev-image.c: (ev_image_finalize):
* libdocument/ev-document-factory.c: (free_uncompressed_uri):
* libdocument/ev-attachment.c: (ev_attachment_finalize):
* libdocument/ev-file-helpers.[ch]: (ev_tmp_filename_unlink),
(ev_tmp_uri_unlink):
Add functions to delete temporary files created by evince in a safe
way.
* shell/ev-window.c: (ev_window_clear_local_uri),
(open_xfer_update_progress_callback),
(save_xfer_update_progress_callback), (ev_window_save_remote),
(file_save_dialog_response_cb), (ev_window_cmd_save_as),
(image_save_dialog_response_cb), (ev_view_popup_cmd_save_image_as),
(attachment_save_dialog_response_cb),
(ev_attachment_popup_cmd_save_attachment_as):
Allow saving a copy of a document, image or attachment to a remote
location. Fixes bug #440754.
2007-05-22 Carlos Garcia Campos <carlosgc@gnome.org>
* configure.ac:
* backend/pdf/ev-poppler.cc: (pdf_selection_render_selection):
Fix build with current poppler from cvs head.