Add an expander to the open toolbar item which pops up a dropdown menu
2007-10-29 Carlos Garcia Campos <carlosgc@gnome.org>
* data/evince-toolbar.xml:
* shell/Makefile.am:
* shell/ev-application.c: (ev_application_init):
* shell/ev-open-recent-action.[ch]:
* shell/ev-window.c:
(ev_window_open_recent_action_item_activated),
(register_custom_actions):
Add an expander to the open toolbar item which pops up a dropdown
menu with the recently used documents. Fixes bug #487215.
Do not jump to the first page when reloading by running evince from the
2007-10-29 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: (ev_window_open_uri),
(ev_window_cmd_view_reload):
Do not jump to the first page when reloading by running evince
from the command line. Fixes bug #490847.
Hiroyuki Ikezoe [Sat, 27 Oct 2007 16:48:09 +0000 (16:48 +0000)]
Plugged memory leak when help file is not found. Fixes bug #490762.
2007-10-27 Hiroyuki Ikezoe <poincare@ikezoe.net>
* shell/ev-window.c: (ev_window_cmd_help_contents):
Plugged memory leak when help file is not found. Fixes bug
#490762.
Fix a crash when printing with the gnome-print dialog. Fixes bug #488939.
2007-10-22 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/pdf/ev-poppler.cc: (pdf_document_file_exporter_begin):
* shell/ev-print-job.c: (ev_print_job_class_init):
Fix a crash when printing with the gnome-print dialog. Fixes bug
#488939.
When printing multiple pages per sheet in reverse option, do not invert
2007-10-11 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/pdf/ev-poppler.cc:
(pdf_document_file_exporter_begin_page),
(pdf_document_file_exporter_do_page),
(pdf_document_file_exporter_end_page),
(pdf_document_file_exporter_iface_init):
* libdocument/ev-file-exporter.[ch]:
(ev_file_exporter_begin_page), (ev_file_exporter_end_page):
* shell/ev-jobs.c: (ev_job_print_get_page_list),
(ev_job_print_run):
When printing multiple pages per sheet in reverse option, do not
invert the order of the pages in every sheet, but the order of the
sheets. Do not print blank pages when page range is invalid. Fixes
bugs #484857 and #485521.
Respect ranges order when printing more than one range in random order.
2007-10-10 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-jobs.c: (ev_job_print_get_page_list),
(ev_job_print_run):
* shell/ev-window.c: (ev_window_print_dialog_response_cb):
Respect ranges order when printing more than one range in random
order.
Rotate also the window icon when document is rotated. Fixes bug #474681.
2007-10-10 Martin Schanzenbach <mschanzenbach@gmail.com>
* shell/ev-window.c: (ev_window_refresh_window_thumbnail),
(ev_window_setup_document), (ev_window_rotation_changed_cb):
Rotate also the window icon when document is rotated. Fixes bug
#474681.
Use poppler_page_render_for_printing() instead of poppler_page_render() if
2007-10-04 Carlos Garcia Campos <carlosgc@gnome.org>
* configure.ac:
* backend/pdf/ev-poppler.cc: (pdf_document_file_exporter_do_page):
Use poppler_page_render_for_printing() instead of
poppler_page_render() if available when exporting to a ps or pdf
file. Fixes bug #476627.
Do not show the toolbar in fullscreen mode if the main toolbar is not
2007-10-04 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: (ev_window_run_fullscreen):
Do not show the toolbar in fullscreen mode if the main toolbar is
not visible. Fixes bug #483048.
Give priority to form fields over images when deciding whether a button
2007-09-29 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-view.c: (ev_view_button_press_event):
Give priority to form fields over images when deciding whether a
button press event is over an image or form field. It allows edit
form fields when they are over a background image. Fixes bug
#477841.
Move save a copy task to its own job so that it's carried out in a thread
2007-09-04 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
(no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
(ev_job_queue_remove_job):
* shell/ev-jobs.[ch]: (ev_job_save_init), (ev_job_save_dispose),
(ev_job_save_class_init), (ev_job_save_new), (ev_job_save_run):
* shell/ev-window.c: (ev_window_clear_save_job),
(ev_window_save_job_cb), (file_save_dialog_response_cb),
(ev_window_dispose):
Move save a copy task to its own job so that it's carried out in a
thread avoiding another lock in the main thread. Use
ev_xfer_uri_simple() instead of gnome_vfs_move() so that document
can be saved to a pathin another file system. Fixes bug #456891.
Bump requirements to poppler 0.6 and drop all ifdefs used. Double and
2007-09-03 Carlos Garcia Campos <carlosgc@gnome.org>
* configure.ac:
* backend/pdf/ev-poppler.cc: (pdf_selection_get_selected_text),
(pdf_selection_get_selection_region),
(pdf_selection_get_selection_map),
(ev_form_field_from_poppler_field):
Bump requirements to poppler 0.6 and drop all ifdefs used. Double
and triple click selections are enabled again now.
Make sure not to use the history with documents not supporting links.
2007-09-03 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: (ev_window_add_history):
Make sure not to use the history with documents not supporting
links. Fixes bug #468954.
Restart the search when reloading a document with the find bar visible.
2007-09-03 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: (ev_window_load_job_cb):
Restart the search when reloading a document with the find bar
visible. Fixes bug #461962.
Do not jump to the first page when reloading a document from the last
2007-09-03 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: (setup_document_from_metadata),
(ev_window_load_job_cb), (ev_window_cmd_view_reload):
Do not jump to the first page when reloading a document from the
last page.
Do not update visibility when changing a chrome flag so that it's possible
2007-09-03 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: (update_chrome_flag),
(setup_sidebar_from_metadata),
(ev_window_cmd_focus_page_selector), (ev_window_cmd_edit_find),
(ev_window_cmd_edit_find_next),
(ev_window_cmd_edit_find_previous), (ev_window_cmd_escape),
(ev_window_view_toolbar_cb), (ev_window_view_sidebar_cb),
(find_bar_close_cb), (view_actions_focus_in_cb):
Do not update visibility when changing a chrome flag so that it's
possible to update several flags and update visibility only once
for all of them.
Use GTK_UNIT_POINTS instead of GTK_UNIT_PIXEL, since it's not supported by
2007-09-03 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: (ev_window_print_dialog_response_cb):
Use GTK_UNIT_POINTS instead of GTK_UNIT_PIXEL, since it's not
supported by gtk+. Fixes bug #460907.
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.