| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-21 Hiroyuki Ikezoe <poincare@ikezoe.net>
* shell/ev-sidebar-links.c
* shell/ev-print-operation.c:
* shell/ev-history.c:
* shell/ev-file-monitor.c:
* shell/ev-window.c:
* shell/ev-password-view.c:
* shell/ev-sidebar-thumbnails.c:
* shell/ev-sidebar-attachments.c:
* libview/ev-pixbuf-cache.c:
* libview/ev-view.c: Remove needless G_OBJECT from g_signal_connect.
Bug #568386.
svn path=/trunk/; revision=3370
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-31 Carlos Garcia Campos <carlosgc@gnome.org>
* configure.ac:
* backend/pdf/ev-poppler.cc:
* properties/ev-properties-view.c:
* shell/Makefile.am:
* shell/ev-tooltip.[ch]: Removed
* shell/ev-view-private.h
* shell/eggfindbar.c:
* shell/ev-application.c:
* shell/ev-open-recent-action.c:
* shell/ev-sidebar-thumbnails.c:
* shell/ev-view.c:
* shell/ev-window.c:
Bump GTK+ requirement to 2.12.
svn path=/trunk/; revision=3242
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-17 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
(ev_sidebar_thumbnails_get_loading_icon), (clear_range),
(ev_sidebar_thumbnails_fill_model),
(ev_sidebar_thumbnails_refresh),
(ev_sidebar_thumbnails_set_document):
Instead of using only one loading icon for thumbnails based on the
size of the first page, create an icon for every different page
size. Fixes bug #556264.
svn path=/trunk/; revision=3223
|
|
|
|
|
|
|
|
|
|
| |
2008-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb):
Do not crash when adjustment page size is 0. Fixes bug #547440.
svn path=/trunk/; revision=3109
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-03 Wouter Bolsterlee <wbolster@svn.gnome.org>
* backend/impress/impress-document.c:
* backend/impress/render.h:
* libdocument/ev-document-factory.c:
* libdocument/ev-document-factory.h:
* libdocument/ev-document-links.h:
* libdocument/ev-document-misc.c:
* libdocument/ev-document-misc.h:
* properties/ev-properties-main.c:
* properties/ev-properties-view.c:
* properties/ev-properties-view.h:
* shell/eggfindbar.c:
* shell/eggfindbar.h:
* shell/ev-application.c:
* shell/ev-application.h:
* shell/ev-jobs.h:
* shell/ev-message-area.h:
* shell/ev-navigation-action.c:
* shell/ev-navigation-action.h:
* shell/ev-open-recent-action.c:
* shell/ev-open-recent-action.h:
* shell/ev-page-action-widget.c:
* shell/ev-page-action.c:
* shell/ev-page-action.h:
* shell/ev-page-cache.h:
* shell/ev-password-view.h:
* shell/ev-password.h:
* shell/ev-pixbuf-cache.h:
* shell/ev-properties-fonts.c:
* shell/ev-sidebar-attachments.c:
* shell/ev-sidebar-links.c:
* shell/ev-sidebar-links.h:
* shell/ev-sidebar-thumbnails.c:
* shell/ev-sidebar-thumbnails.h:
* shell/ev-sidebar.c:
* shell/ev-sidebar.h:
* shell/ev-stock-icons.c:
* shell/ev-tooltip.h:
* shell/ev-view.c:
* shell/ev-view.h:
* shell/ev-window.c:
* shell/ev-window.h:
* shell/main.c:
More #include cleanups. Again: reordering, single gtk.h
includes and other stuff.
svn path=/trunk/; revision=3095
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-03 Wouter Bolsterlee <wbolster@svn.gnome.org>
* shell/eggfindbar.c:
* shell/ev-application.c:
* shell/ev-message-area.c:
* shell/ev-navigation-action.c:
* shell/ev-open-recent-action.c:
* shell/ev-page-action-widget.c:
* shell/ev-page-action.c:
* shell/ev-password-view.c:
* shell/ev-properties-dialog.c:
* shell/ev-properties-fonts.c:
* shell/ev-sidebar-attachments.c:
* shell/ev-sidebar-page.c:
* shell/ev-sidebar-thumbnails.c:
* shell/ev-stock-icons.c:
* shell/ev-tooltip.c:
* shell/ev-view.c:
* shell/ev-window.c:
* shell/main.c:
Cleanup many #include statements: reorder so that a
generic-to-specific order is used, use single gtk.h
includes, and some other cleanups.
svn path=/trunk/; revision=3094
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
* libdocument/ev-document.[ch]: (ev_document_doc_mutex_trylock),
(ev_document_fc_mutex_trylock):
* shell/Makefile.am:
* shell/ev-job-queue.[ch]:
* shell/ev-job-scheduler.[ch]:
* shell/ev-jobs.[ch]: (ev_job_init), (ev_job_dispose),
(ev_job_class_init), (emit_finished), (ev_job_emit_finished),
(ev_job_run), (ev_job_cancel), (ev_job_failed),
(ev_job_failed_from_error), (ev_job_succeeded),
(ev_job_is_finished), (ev_job_is_failed), (ev_job_get_run_mode),
(ev_job_set_run_mode), (ev_job_links_init), (ev_job_links_run),
(ev_job_links_class_init), (ev_job_render_init),
(notify_page_ready), (ev_job_render_page_ready),
(ev_job_render_run), (ev_job_render_class_init),
(ev_job_thumbnail_init), (ev_job_thumbnail_run),
(ev_job_thumbnail_class_init), (ev_job_fonts_init),
(ev_job_fonts_run), (ev_job_fonts_class_init), (ev_job_load_init),
(ev_job_load_run), (ev_job_load_class_init), (ev_job_save_init),
(ev_job_save_dispose), (ev_job_save_run),
(ev_job_save_class_init), (ev_job_print_init),
(ev_job_print_dispose), (ev_job_print_run),
(ev_job_print_class_init):
* shell/ev-page-cache.c:
* shell/ev-pixbuf-cache.[ch]: (dispose_cache_job_info),
(check_job_size_and_unref), (move_one_job),
(copy_job_to_job_info), (add_job),
(ev_pixbuf_cache_add_jobs_if_needed):
* shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
(job_fonts_finished_cb), (job_fonts_updated_cb),
(ev_properties_fonts_set_document):
* shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
(ev_sidebar_links_set_document):
* shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
(ev_sidebar_thumbnails_set_document),
(ev_sidebar_thumbnails_clear_job):
* shell/ev-view-private.h:
* shell/ev-view.c:
* shell/ev-window.c: (ev_window_clear_thumbnail_job),
(ev_window_refresh_window_thumbnail), (password_dialog_response),
(ev_window_clear_load_job), (ev_window_clear_reload_job),
(ev_window_load_job_cb), (ev_window_reload_job_cb),
(window_open_file_copy_ready_cb), (ev_window_open_uri),
(ev_window_reload_document), (ev_window_clear_save_job),
(ev_window_save_job_cb), (file_save_dialog_response_cb),
(ev_window_clear_print_job), (ev_window_print_job_cb),
(ev_window_print_dialog_response_cb):
* shell/main.c: (main):
Rework the jobs system in order to make it simpler and more
extensible. It allows to run jobs in the main loop instead of
using a thread when it's appropriate like the fonts job. Now it's
also possible to cancel jobs that are currently running.
svn path=/trunk/; revision=3092
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-16 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/pdf/ev-poppler.cc: (pdf_document_get_info):
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_thumbnails_set_loading_icon),
(ev_sidebar_thumbnails_refresh):
* shell/ev-window.c: (ev_window_error_message),
(ev_window_warning_message), (ev_window_refresh_window_thumbnail),
(ev_window_set_document):
Do not crash opening documents with no pages and show a warning
message in the message area. Fixes bugs #537574 and #171588.
svn path=/trunk/; revision=3052
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-14 Carlos Garcia Campos <carlosgc@gnome.org>
* libdocument/Makefile.am:
* libdocument/ev-page.[ch]:
* libdocument/ev-render-context.[ch]: (ev_render_context_dispose),
(ev_render_context_new), (ev_render_context_set_page):
* libdocument/ev-form-field.[ch]: (ev_form_field_init),
(ev_form_field_finalize), (ev_form_field_class_init):
* libdocument/ev-document-forms.[ch]:
(ev_document_forms_get_form_fields):
* libdocument/ev-document.[ch]: (ev_document_get_page),
(ev_document_get_page_size), (ev_document_get_page_label):
* shell/ev-jobs.[ch]: (ev_job_thumbnail_dispose),
(ev_job_render_run), (ev_job_thumbnail_new),
(ev_job_thumbnail_run), (ev_job_print_run):
* shell/ev-page-cache.c: (ev_page_cache_new):
* shell/ev-pixbuf-cache.c: (job_page_ready_cb), (job_finished_cb),
(check_job_size_and_unref), (add_job):
* shell/ev-sidebar-thumbnails.c: (add_range):
* 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),
(ev_view_handle_form_field), (ev_view_size_allocate),
(get_selected_text):
* shell/ev-window.c: (ev_window_refresh_window_thumbnail):
* backend/pdf/ev-poppler.cc: (pdf_document_get_page_size),
(pdf_document_get_page), (pdf_document_get_page_label),
(pdf_document_render), (pdf_document_get_info),
(pdf_document_document_iface_init),
(pdf_document_thumbnails_get_thumbnail),
(pdf_document_thumbnails_get_dimensions),
(pdf_document_file_exporter_do_page),
(pdf_selection_render_selection),
(pdf_selection_get_selected_text),
(pdf_selection_get_selection_region),
(pdf_selection_get_selection_map),
(pdf_document_forms_get_form_fields),
(pdf_document_forms_form_field_text_get_text),
(pdf_document_forms_form_field_text_set_text),
(pdf_document_forms_form_field_button_set_state),
(pdf_document_forms_form_field_button_get_state),
(pdf_document_forms_form_field_choice_get_item),
(pdf_document_forms_form_field_choice_get_n_items),
(pdf_document_forms_form_field_choice_is_item_selected),
(pdf_document_forms_form_field_choice_select_item),
(pdf_document_forms_form_field_choice_toggle_item),
(pdf_document_forms_form_field_choice_unselect_all),
(pdf_document_forms_form_field_choice_set_text),
(pdf_document_forms_form_field_choice_get_text):
* backend/ps/ev-spectre.c: (ps_document_get_page),
(ps_document_get_page_size), (ps_document_get_page_label),
(ps_document_render), (ps_document_document_iface_init),
(ps_document_file_exporter_do_page):
* backend/tiff/tiff-document.c: (tiff_document_get_page_size),
(tiff_document_render), (tiff_document_render_pixbuf),
(tiff_document_file_exporter_do_page):
* backend/pixbuf/pixbuf-document.c:
(pixbuf_document_get_page_size):
* backend/comics/comics-document.c:
(comics_document_get_page_size), (comics_document_render_pixbuf):
* backend/djvu/djvu-document.c: (djvu_document_get_page_size),
(djvu_document_render), (djvu_selection_get_selected_text),
(djvu_document_thumbnails_get_thumbnail),
(djvu_document_file_exporter_do_page),
(djvu_document_find_get_result):
* backend/dvi/dvi-document.c: (dvi_document_get_page_size),
(dvi_document_render), (dvi_document_thumbnails_get_dimensions),
(dvi_document_thumbnails_get_thumbnail),
(dvi_document_file_exporter_do_page):
* backend/impress/impress-document.c:
(impress_document_get_page_size),
(impress_document_render_pixbuf):
* thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
Add EvPage so that we can hold a reference to the backend
page. Form fields keep now a reference to the poppler page
improving performance since we don't have to create/destroy the
poppler field for every form operation. This will be needed for
annotations too.
svn path=/trunk/; revision=3004
|
|
|
|
|
|
|
|
|
|
|
| |
2007-12-01 Carlos Garcia Campos <carlosgc@gnome.org>
* ev-sidebar-thumbnails.c: (update_visible_range),
(ev_sidebar_thumbnails_refresh),
(ev_sidebar_thumbnails_set_document),
(ev_sidebar_thumbnails_support_document):
Show thumbnails for documents with one page. Fixes bug #358751.
svn path=/trunk/; revision=2755
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=2630
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-07-29 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-navigation-action.c:
(ev_navigation_action_history_changed),
(ev_navigation_action_set_history):
* shell/ev-navigation-action-widget.c:
(ev_navigation_action_widget_init):
* shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb):
Fix compile warnings.
svn path=/trunk/; revision=2596
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=2593
|
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=2492
|
|
|
|
|
|
|
|
|
|
|
| |
2007-04-22 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: (ev_window_setup_document),
(ev_window_set_document), (ev_window_load_job_cb):
* shell/ev-view.c: (setup_caches):
* shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_set_document):
Start rendering pages before any other jobs.
svn path=/trunk/; revision=2417
|
|
|
|
|
|
|
|
|
| |
2007-03-10 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb):
Do not render thumbnails when sidebar thumbnail page is not visible
at startup. Fixes bug #416447.
svn path=/trunk/; revision=2372
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-02-16 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/dvi/dvi-document.c:
(dvi_document_thumbnails_get_dimensions),
(dvi_document_thumbnails_get_thumbnail):
* backend/impress/impress-document.c:
(impress_document_thumbnails_get_thumbnail),
(impress_document_thumbnails_get_dimensions):
* backend/ps/ps-document.c: (ps_document_thumbnails_get_thumbnail),
(ps_document_thumbnails_get_dimensions):
* backend/djvu/djvu-document.c:
(djvu_document_thumbnails_get_dimensions),
(djvu_document_thumbnails_get_thumbnail):
* backend/tiff/tiff-document.c:
(tiff_document_thumbnails_get_thumbnail),
(tiff_document_thumbnails_get_dimensions):
* backend/pdf/ev-poppler.cc: (make_thumbnail_for_page),
(pdf_document_thumbnails_get_thumbnail),
(pdf_document_thumbnails_get_dimensions):
* backend/comics/comics-document.c:
(comics_document_thumbnails_get_thumbnail),
(comics_document_thumbnails_get_dimensions):
* backend/pixbuf/pixbuf-document.c:
(pixbuf_document_thumbnails_get_thumbnail),
(pixbuf_document_thumbnails_get_dimensions):
* libdocument/ev-document-thumbnails.[ch]:
(ev_document_thumbnails_get_thumbnail),
(ev_document_thumbnails_get_dimensions):
* libdocument/ev-document-misc.[ch]:
(ev_document_misc_get_thumbnail_frame):
* shell/ev-jobs.[ch]: (ev_job_thumbnail_dispose),
(ev_job_thumbnail_new), (ev_job_thumbnail_run):
* shell/ev-sidebar-thumbnails.c: (get_scale_for_page), (add_range),
(ev_sidebar_thumbnails_set_loading_icon), (refresh),
(ev_sidebar_thumbnails_refresh):
* shell/ev-window.c: (ev_window_setup_document):
* thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
Use an EvRenderContext for rendering thumbnails instead of a suggested
width, so that different sized pages get sized proportionally.
svn path=/trunk/; revision=2332
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-01-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-navigation-action.c: (activate_menu_item_cb),
(ev_navigation_action_class_init):
* shell/ev-navigation-action.h:
* shell/ev-page-action.c: (activate_cb):
* shell/ev-page-cache.c: (ev_page_cache_class_init),
(ev_page_cache_set_current_page_history):
* shell/ev-page-cache.h:
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_tree_selection_changed),
(ev_sidebar_icon_selection_changed), (page_changed_cb):
* shell/ev-view-private.h:
* shell/ev-view.c: (ev_view_handle_link), (ev_view_class_init):
* shell/ev-view.h:
* shell/ev-window.c: (page_changed_cb), (history_changed_cb),
(ev_window_setup_document), (ev_window_load_job_cb):
* shell/ev-window.h:
History finally works as expected.
svn path=/trunk/; revision=2259
|
|
|
|
|
|
|
|
|
| |
2007-01-28 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-sidebar-links.c: (ev_sidebar_links_map),
(ev_sidebar_links_class_init), (update_page_callback):
Do not update links treeview when sidepane is not visible.
svn path=/trunk/; revision=2257
|
|
|
|
|
|
|
| |
2006-08-14 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-sidebar-thumbnails.c:
Do not render thumbnails unless thumbnails page is active in the
sidebar.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac:
* properties/ev-properties-main.c: (ev_properties_get_pages):
* shell/ev-application.c: (ev_application_open_window),
(ev_application_open_uri_at_dest):
* shell/ev-sidebar-attachments.c: (ev_sidebar_attachments_init):
* shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
(ev_sidebar_thumbnails_use_icon_view), (page_changed_cb):
* shell/ev-utils.c: (save_print_config_to_file):
* shell/ev-window.c: (ev_window_cmd_save_as),
(ev_attachment_popup_cmd_save_attachment_as):
* shell/main.c: (load_files_remote):
Bump requirements to gtk 2.8 and drop all idfefs used.
|
|
|
|
|
|
|
|
| |
2006-04-02 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
Fix crash on exit, described in the bug #336825.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
* backend/ev-document-misc.c:
(ev_document_misc_get_thumbnail_frame):
* backend/ev-document-misc.h:
* configure.ac:
* pdf/ev-poppler.cc:
* shell/Makefile.am:
* shell/ev-sidebar-thumbnails.c: (add_range),
(ev_sidebar_thumbnails_set_loading_icon),
(ev_sidebar_thumbnails_refresh),
(ev_sidebar_thumbnails_set_document):
* shell/ev-sidebar-thumbnails.h:
* shell/ev-view.c: (ev_view_motion_notify_event),
(ev_view_set_property), (ev_view_get_property),
(ev_view_class_init), (ev_view_set_rotation):
* shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
(ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
(ev_window_init):
* tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
Redo rotation (again). prepare for 0.4.0
|
|
|
|
|
|
|
|
|
|
|
|
| |
* shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
* shell/ev-pixbuf-cache.h:
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_thumbnails_get_property), (add_range),
(adjustment_changed_cb):
* shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
pixbuf cache. Make thumbnailing work again. Also, fix bug where
we were thumbnailing the entire docment on startup, slowing us
down hugely.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
* 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...
|
|
|
|
|
|
|
|
|
|
| |
* lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
* shell/ev-sidebar-links.c: (create_loading_model):
* shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
* shell/ev-view.c: (ev_view_set_document):
* shell/ev-window.c: (ev_window_dispose):
Various small fixes, mostly memory leaks. Thanks to valgrind.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
* pdf/ev-poppler.cc:
* shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
(update_visible_range), (adjustment_changed_cb),
(ev_sidebar_thumbnails_fill_model),
(ev_sidebar_thumbnails_refresh),
(ev_sidebar_tree_selection_changed),
(ev_sidebar_icon_selection_changed),
(ev_sidebar_thumbnails_use_icon_view),
(ev_sidebar_thumbnails_set_document):
* shell/ev-sidebar-thumbnails.h:
* shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
(ev_window_cmd_edit_rotate_right), (ev_window_init):
Refresh thumbnails when changing orientation. Not fully
working yet becuase of a sidebar bug.
Set page orientation to poppler page everywhere. This sucks
really need to fix poppler.
|
|
|
|
| |
thumbnailer page
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
situations. That situation is that you're using GTK+-HEAD with
the patch at #306726 is applied, and you have a document with <
1500 pages in it. It's not quite as uniformly nice as the
TreeView, but should be better in the long run.
I'm pretty sure I guarded against breaking compilation with
HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
I missed some.
* shell/ev-window.c (ev_window_init): We don't have our tree/list
widget yet, so I commented that code out
enable_view_actions_for_widget() for now. Need to figure this
out.
* shell/ev-page-action.c (match_selected_cb): emit the right
signals. Our cool C-l completion now works.
|
|
|
|
|
| |
load document in background and a statusbar to display this process.
FileChooser now can select multiple uris.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_thumbnails_set_document):
* shell/ev-view.c: (scroll_to_current_page),
(view_set_adjustment_values), (ev_view_set_scroll_adjustments),
(page_changed_cb), (on_adjustment_value_changed),
(ev_view_set_document):
Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
Fix bug 305377
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
* backend/ev-document-info.h:
* backend/ev-document.c: (ev_document_info_free): Free the
EvDocumentInfo.
* shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
(clear_range), (add_range), (update_visible_range),
(adjustment_changed_cb), (ev_sidebar_thumbnails_init),
(ev_sidebar_thumbnails_set_document):
* shell/ev-window.c: (ev_window_setup_document): Only render the
visible thumbnails. It takes an instant to render, but it uses
much less memory.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince-ui.xml:
* shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
* shell/ev-sidebar-links.h:
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_thumbnails_get_treeview):
* shell/ev-sidebar-thumbnails.h:
* shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
(ev_view_class_init):
* shell/ev-view.h:
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
(set_view_actions_sensitivity), (view_actions_focus_in_cb),
(view_actions_focus_out_cb), (enable_view_actions_for_widget),
(ev_window_init):
This is evil... Make space/backspace global accelerators but
enable them only for some widgets (sidebars and view).
I dont like it, but I dont know a better way... :/
|
|
|
|
|
|
|
|
|
| |
2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-sidebar-thumbnails.c: (page_changed_cb):
Use set_cursor instead of set_selection, so that
the keyboard focus moves too.
|
|
|
|
|
|
|
|
|
|
| |
Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
remove the job.
* backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
function. This helps debugging.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* shell/ev-page-view.c:
* shell/ev-page-view.h:
Remove unused files.
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_thumbnails_set_document):
* shell/ev-sidebar.c: (ev_sidebar_set_document),
(ev_sidebar_supports_document):
* shell/ev-sidebar.h:
* shell/ev-window.c: (ev_window_setup_document):
Doesn't show thumbnails if document has 1 page. Make
sidebar menu entries sensitive only if if they have
sense. Fix bug 164811.
|
|
|
|
| |
and scrolling up with Shift + Space
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Cr 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
* backend/ev-document.c: (ev_document_get_page_label):
* backend/ev-document.h:
* backend/ev-page-cache.c: (_ev_page_cache_new),
(ev_page_cache_get_page_label):
* backend/ev-page-cache.h:
* pdf/ev-poppler.cc:
* shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
(links_page_num_func):
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_thumbnails_set_document):
* shell/ev-view.c: (status_message_from_link),
(ev_view_motion_notify_event):
* shell/ev-window.c: (document_supports_sidebar): Add in page
label support. It's not perfect yet, but it's the first 'feature'
in a while.
Also, fix a bogus comment noticed by crispin.
VS: Modified Files:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
* Makefile.am: Remove pixbuf backend for now
* configure.ac: Require poppler-glib instead of just poppler.
* backend/ev-document-thumbnails.h: Add a comment
* backend/ev-document.h:
* backend/ev-document.c: (ev_document_class_init),
(ev_document_load), (ev_document_get_link),
(ev_document_get_links): Remove 3 methods and add get_links.
Also, made 0 based.
* backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
* backend/ev-jobs.h: now EvJobRender can grab the links for a document.
* backend/ev-link.c: (ev_link_set_title),
(ev_link_mapping_free_foreach), (ev_link_mapping_free),
(ev_link_mapping_find):
* backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
* backend/ev-page-cache.c: (ev_page_cache_init),
(_ev_page_cache_new), (ev_page_cache_set_current_page),
(ev_page_cache_get_size), (ev_page_cache_next_page),
(ev_page_cache_prev_page): Fix to be 0 based.
* pdf/Makefile.am:
* pdf/ev-poppler.h:
* pdf/ev-poppler.cc: New backend.
* ps/ps-document.c: (ps_document_init), (ps_document_set_page),
(ps_document_get_page), (ps_document_document_iface_init):
* shell/ev-pixbuf-cache.h:
* shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
(dispose_cache_job_info), (job_finished_cb), (move_one_job),
(ev_pixbuf_cache_update_range), (copy_job_to_job_info),
(add_job_if_needed), (ev_pixbuf_cache_set_page_range),
(ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
Fix up code to grab a page cache per each doc. Also, fix to be 0
based.
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_tree_selection_changed), (page_changed_cb),
(ev_sidebar_thumbnails_set_document): Fix to be 0 based.
* shell/ev-view.c: (status_message_from_link),
(find_page_at_location), (get_link_at_location),
(ev_view_motion_notify_event), (ev_view_button_release_event),
(ev_view_init): Use the new link code. Fix to be 0 based.
* shell/ev-window.c: (update_action_sensitivity),
(document_supports_sidebar): 0 based.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
* pdf/pdf-document.cc:
* shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
(do_one_iteration), (ev_sidebar_thumbnails_set_document):
Fix the mess we did with thumbnails and 1-basedness
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
* backend/ev-document-thumbnails.c:
(ev_document_thumbnails_get_thumbnail):
* backend/ev-document-thumbnails.h:
Rework API a bit. Add a border flag and
change sizing logic (now the size we specify
applies to the bigger dimension).
* pdf/pdf-document.cc:
* pixbuf/pixbuf-document.c:
(pixbuf_document_thumbnails_get_thumbnail):
* shell/ev-sidebar-thumbnails.c: (do_one_iteration):
* thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
Adapt to the new API and do not draw a border for nautilus
thumbnailer.
|
|
|
|
|
|
|
|
|
| |
2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_thumbnails_set_document):
Clear the list store when setting document
|
|
|
|
|
|
|
|
| |
2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
* shell/ev-sidebar-thumbnails.c: Ensure that after we have
created a thumbnail, the list store is updated to know
that the thumbnail is set. Fixes bug #166792
|
|
|
|
| |
document. Prevents warning from scroll_to_cell.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
* NOTES: New file with some random thoughts.
* TODO: Update.
* backend/ev-document-misc.c:
(ev_document_misc_get_page_border_size): New function to
canonicalize shadow drawing sizes. Possibly goofy.
* shell/ev-view.c: (ev_view_size_request), (set_document_page),
(ev_view_best_fit), (ev_view_fit_width):
* pdf/xpdf/pdf-document.cc:
* pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
* ps/ps-document.c: (ps_document_get_page_size):
* backend/ev-document-misc.h:
* backend/ev-document.c: (ev_document_get_page_size):
* backend/ev-document.h: get_page_size now takes a page number
parameter. Made all the backends/frontends honor it.
* data/evince-ui.xml: Added a multiple-page mode. Uncomment to
see. Doesn't work yet.
* shell/Makefile.am:
* shell/ev-page-view.[ch]: New multi-page view. Really rough.
Doesn't do anything yet.
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
[0..n_pages-1]
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_setup_document), (ev_window_set_page_mode),
(ev_window_page_mode_cb), (ev_window_init): Clean up the
view-swapping code a bit so we can have multiple views on a
document. Add the multi-page view, though it can't be turned on
yet.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
(ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
ev_sidebar_thumbnails_parent_class variable, don't define another
parent_class variable.
* shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
(ev_page_action_class_init): ditto.
* pixbuf/pixbuf-document.c (pixbuf_document_finalize)
(pixbuf_document_class_init): ditto.
* backend/ev-link.c (ev_window_dispose, ev_link_class_init):
ditto.
|