1. 08 Jul, 2010 1 commit
  2. 31 May, 2010 2 commits
  3. 05 Apr, 2010 1 commit
  4. 09 Dec, 2009 1 commit
    • Carlos Garcia Campos's avatar
      [libview] Split EvPixbufCache into dynamic and static data · 3a8589a7
      Carlos Garcia Campos authored
      Dynamic page data (page surfaces and selections) that depend on current
      scale/rotation, keep in EvPixbufCache with the current cache approach.
      Static page data (links, annots, images, text and forms) that don't
      depend on current scale/rotation, have been moved to EvPageCache and they
      are never removed from the cache.
      Fixes bgo#602405.
      3a8589a7
  5. 29 Nov, 2009 1 commit
  6. 12 May, 2009 1 commit
  7. 25 Jan, 2009 1 commit
    • Christian Persch's avatar
      Renamed from evince-backend.pc.in. Renamed library to libevdocument.la. · 49129873
      Christian Persch authored
              * configure.ac:
              * evince-document.pc.in: Renamed from evince-backend.pc.in.
              * libdocument/Makefile.am: Renamed library to libevdocument.la.
              * libview/Makefile.am:
              * shell/Makefile.am:
              * backend/*/Makefile.am: Adapt to changed library name.
      
              * libdocument/Makefile.am:
              * libview/Makefile.am: Change the installed headers path to match
              the directory names in SVN.
      
              * evince-document.h:
              * evince-view.h: Add single headers. Bug #568227.
      
              * libdocument/*.h:
              * libview/*.h: Add single headers guards.
      
              * libview/Makefile.am:
              * libdocument/Makefile.am:
              * backend/*/Makefile.am:
              * help/reference/Makefile.am: Define EVINCE_COMPILATION, so we can
              still include individual headers.
      
              * properties/Makefile.am:
              * properties/ev-properties-main.c:
              * properties/ev-properties-view.h:
              * thumbnailer/Makefile.am:
              * thumbnailer/evince-thumbnailer.c: Include only evince-document.h.
      
              * libdocument/Makefile.am:
              * libview/Makefile.am: Generate type builtins from all installed headers.
              * libdocument/ev-link-action.[ch]:
              * libdocument/ev-link-dest.[ch]:
              * libdocument/ev-transition-effect.[ch]:
              * libview/ev-view.[ch]: Remove handcoded type builtins.
      
              * libdocument/Makefile.am:
              * evince-document.h: Add ev-document-factory.h to the public headers.
      
      svn path=/trunk/; revision=3381
      49129873
  8. 18 Jan, 2009 1 commit
    • Carlos Garcia Campos's avatar
      Move EvView specific code to a libeviview library so that it can be · 68d0fc3c
      Carlos Garcia Campos authored
      2009-01-18  Carlos Garcia Campos  <carlosgc@gnome.org>
      
      	* configure.ac:
      	* Makefile.am:
      	* libdocument/Makefile.am:
      	* libview/Makefile.am:
      	* libview/ev-job-scheduler.[ch]:
      	* libview/ev-jobs.[ch]:
      	* libview/ev-page-cache.[ch]:
      	* libview/ev-pixbuf-cache.[ch]:
      	* libview/ev-timeline.[ch]:
      	* libview/ev-transition-animation.[ch]:
      	* libview/ev-view-accessible.[ch]:
      	* libview/ev-view-marshal.list:
      	* libview/ev-view.[ch]:
      	* shell/Makefile.am:
      
      	Move EvView specific code to a libeviview library so that it can
      	be embbeded in other applications. Based on patches by Tomeu
      	Vizoso. Fixes bug #567751.
      
      svn path=/trunk/; revision=3348
      68d0fc3c
  9. 03 Aug, 2008 2 commits
    • Wouter Bolsterlee's avatar
      More #include cleanups. Again: reordering, single gtk.h includes and other · 75d6ca16
      Wouter Bolsterlee authored
      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
      75d6ca16
    • Carlos Garcia Campos's avatar
      Rework the jobs system in order to make it simpler and more extensible. It · e71d27db
      Carlos Garcia Campos authored
      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
      e71d27db
  10. 31 Aug, 2007 1 commit
    • Carlos Garcia Campos's avatar
      Add support for double and triple click selections. · 982600bb
      Carlos Garcia Campos authored
      2007-08-31  Carlos Garcia Campos  <carlosgc@gnome.org>
      	* backend/dvi/dvi-document.c: (dvi_document_document_iface_init):
      	* backend/impress/impress-document.c:
      	(impress_document_document_iface_init):
      	* backend/ps/ps-document.c: (ps_document_document_iface_init):
      	* backend/djvu/djvu-document.c:
      	(djvu_document_document_iface_init),
      	(djvu_selection_get_selected_text), (djvu_selection_iface_init):
      	* backend/tiff/tiff-document.c:
      	(tiff_document_document_iface_init):
      	* backend/pixbuf/pixbuf-document.c:
      	(pixbuf_document_document_iface_init):
      	* backend/comics/comics-document.c:
      	(comics_document_document_iface_init):
      	* backend/pdf/ev-poppler.cc: (pdf_document_document_iface_init),
      	(pdf_selection_render_selection),
      	(pdf_selection_get_selected_text),
      	(pdf_selection_get_selection_region),
      	(pdf_selection_get_selection_map), (pdf_selection_iface_init):
      	* libdocument/ev-selection.[ch]: (ev_selection_get_selected_text),
      	(ev_selection_get_selection_region),
      	(ev_selection_get_selection_map):
      	* libdocument/ev-document.[ch]:
      	* shell/ev-pixbuf-cache.[ch]: (add_job),
      	(ev_pixbuf_cache_get_selection_surface), (update_job_selection):
      	* shell/ev-view-private.h:
      	* shell/ev-jobs.[ch]: (ev_job_render_new), (ev_job_render_new),
      	(ev_job_render_run):
      	* shell/ev-window.c: (ev_window_setup_action_sensitivity):
      	* shell/ev-view.c: (start_selection_for_event),
      	(ev_view_button_press_event), (ev_view_drag_data_get),
      	(ev_view_drag_data_received), (ev_view_button_release_event),
      	(compute_new_selection_text), (compute_selections),
      	(ev_view_select_all), (get_selected_text), (ev_view_copy),
      	(ev_view_primary_get_cb):
      	Add support for double and triple click selections.
      
      svn path=/trunk/; revision=2648
      982600bb
  11. 09 Jul, 2007 1 commit
    • Carlos Garcia Campos's avatar
      Redraw only form field region instead of the whole page when reloading a · a2dd71cd
      Carlos Garcia Campos authored
      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.
      
      svn path=/trunk/; revision=2565
      a2dd71cd
  12. 08 Jul, 2007 1 commit
    • Carlos Garcia Campos's avatar
      Merge evince-forms branch. · 6426ce36
      Carlos Garcia Campos authored
      2007-07-08  Carlos Garcia Campos  <carlosgc@gnome.org>
      	* configure.ac:
      	* backend/pdf/ev-poppler.cc: (pdf_document_get_crop_box),
      	(ev_form_field_from_poppler_field),
      	(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),
      	(pdf_document_document_forms_iface_init):
      	* libdocument/Makefile.am:
      	* libdocument/ev-form-field.[ch]:
      	* libdocument/ev-document-forms.[ch]:
      	* shell/ev-pixbuf-cache.[ch]: (dispose_cache_job_info),
      	(move_one_job), (copy_job_to_job_info), (add_job_if_needed),
      	(add_job), (ev_pixbuf_cache_reload_page),
      	(ev_pixbuf_cache_get_form_field_mapping):
      	* shell/ev-jobs.[ch]: (ev_job_render_new), (ev_job_render_run):
      	* shell/ev-view-private.h:
      	* shell/ev-view.[ch]: (ev_view_set_scroll_adjustments),
      	(ev_view_handle_cursor_over_xy),
      	(ev_view_get_form_field_at_location),
      	(ev_view_forms_remove_widgets), (ev_view_form_field_destroy),
      	(ev_view_form_field_button_create_widget),
      	(ev_view_form_field_text_save), (ev_view_form_field_text_changed),
      	(ev_view_form_field_text_create_widget),
      	(ev_view_form_field_choice_save),
      	(ev_view_form_field_choice_changed),
      	(ev_view_form_field_choice_create_widget),
      	(ev_view_handle_form_field), (ev_view_size_allocate),
      	(ev_view_realize), (draw_end_presentation_page),
      	(ev_view_button_press_event), (ev_view_remove_all),
      	(ev_view_motion_notify_event), (ev_view_key_press_event),
      	(ev_view_enter_notify_event), (highlight_find_results),
      	(draw_loading_text), (draw_one_page), (ev_view_destroy),
      	(ev_view_class_init), (page_changed_cb),
      	(on_adjustment_value_changed), (ev_view_set_presentation),
      	(merge_selection_region), (ev_view_set_cursor),
      	(ev_view_reset_presentation_state):
      	Merge evince-forms branch.
      
      svn path=/trunk/; revision=2560
      6426ce36
  13. 13 Jun, 2007 1 commit
    • Carlos Garcia Campos's avatar
      Use cairo image surfaces instead of GDK pixbufs for drawing pages and · 217797d6
      Carlos Garcia Campos authored
      2007-06-13  Carlos Garcia Campos  <carlosgc@gnome.org>
      	* backend/dvi/dvi-document.c: (dvi_document_render),
      	(dvi_document_render_pixbuf), (dvi_document_document_iface_init):
      	* backend/impress/impress-document.c:
      	(imp_render_get_from_drawable), (impress_document_render_pixbuf),
      	(impress_document_render), (impress_document_document_iface_init),
      	(impress_document_thumbnails_get_thumbnail):
      	* backend/djvu/djvu-document-private.h:
      	* backend/djvu/djvu-document.c: (djvu_document_render),
      	(djvu_document_finalize), (djvu_document_document_iface_init),
      	(djvu_document_thumbnails_get_thumbnail), (djvu_document_init):
      	* backend/tiff/tiff-document.c: (tiff_document_render),
      	(tiff_document_render_pixbuf),
      	(tiff_document_document_iface_init):
      	* backend/pdf/ev-poppler.cc: (pdf_document_render),
      	(pdf_document_render_pixbuf), (pdf_document_document_iface_init),
      	(pdf_selection_render_selection):
      	* backend/comics/comics-document.c:
      	(comics_document_render_pixbuf), (comics_document_render),
      	(comics_document_document_iface_init):
      	* backend/pixbuf/pixbuf-document.c: (pixbuf_document_render),
      	(pixbuf_document_document_iface_init):
      	* libdocument/ev-document-misc.[ch]:
      	(ev_document_misc_surface_from_pixbuf),
      	(ev_document_misc_surface_rotate_and_scale):
      	* libdocument/ev-document.[ch]: (ev_document_render):
      	* libdocument/ev-selection.[ch]: (ev_selection_render_selection):
      	* shell/ev-pixbuf-cache.[ch]: (dispose_cache_job_info),
      	(move_one_job), (copy_job_to_job_info), (add_job_if_needed),
      	(ev_pixbuf_cache_get_surface), (new_selection_surface_needed),
      	(clear_selection_if_needed), (ev_pixbuf_cache_style_changed),
      	(ev_pixbuf_cache_get_selection_surface), (clear_job_selection):
      	* shell/ev-jobs.[ch]: (ev_job_render_dispose),
      	(render_finished_cb), (ev_job_render_run):
      	* shell/ev-view.c: (draw_loading_text), (draw_one_page),
      	(merge_selection_region):
      	Use cairo image surfaces instead of GDK pixbufs for drawing pages
      	and selections.
      
      svn path=/trunk/; revision=2499
      217797d6
  14. 07 Jan, 2007 1 commit
    • Carlos Garcia Campos's avatar
      Add image handling support. Fixes bugs #310008 and #325047. Images · 6b9aeb5d
      Carlos Garcia Campos authored
      2007-01-07  Carlos Garcia Campos  <carlosgc@gnome.org>
      	* configure.ac:
      	* data/evince-ui.xml:
      	* pdf/ev-poppler.cc: (pdf_document_images_get_images),
      	(pdf_document_document_images_iface_init):
      	* backend/Makefile.am:
      	* backend/ev-document-images.[ch]:
      	* backend/ev-image.[ch]:
      	* lib/ev-file-helpers.[ch]: (ev_tmp_filename):
      	* shell/ev-jobs.[ch]: (ev_job_render_new), (ev_job_render_run),
      	(ev_job_xfer_run):
      	* shell/ev-pixbuf-cache.[ch]: (dispose_cache_job_info),
      	(move_one_job), (copy_job_to_job_info), (add_job_if_needed),
      	(ev_pixbuf_cache_get_image_mapping):
      	* shell/ev-window.c: (view_menu_link_popup), (view_menu_image_popup),
      	(view_menu_popup_cb), (ev_window_dispose),
      	(image_save_dialog_response_cb), (ev_view_popup_cmd_save_image_as),
      	(ev_view_popup_cmd_copy_image):
      	* shell/ev-view-private.h:
      	* shell/ev-view.c: (ev_view_get_image_at_location),
      	(ev_view_do_popup_menu), (ev_view_popup_menu),
      	(ev_view_button_press_event), (ev_view_drag_data_get),
      	(ev_view_drag_motion), (ev_view_drag_data_received),
      	(ev_view_motion_notify_event), (ev_view_button_release_event),
      	(ev_view_finalize), (ev_view_class_init):
      	Add image handling support. Fixes bugs #310008 and #325047. Images
      	selection is not supported yet. 
      
      svn path=/trunk/; revision=2194
      6b9aeb5d
  15. 06 Aug, 2005 1 commit
    • Jonathan Blandford's avatar
      Clean up selection to be much smoother! · 00efc5c1
      Jonathan Blandford authored
      Sat Aug  6 01:12:44 2005  Jonathan Blandford  <jrb@redhat.com>
      
              * NOTES:
              * backend/ev-selection.c: (ev_selection_render_selection):
              * backend/ev-selection.h:
              * pdf/ev-poppler.cc:
              * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
              (ev_job_render_run):
              * shell/ev-jobs.h:
              * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
              (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
              (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
              (ev_pixbuf_cache_style_changed),
              (ev_pixbuf_cache_get_selection_pixbuf),
              (ev_pixbuf_cache_set_selection_list),
              (ev_pixbuf_cache_get_selection_list):
              * shell/ev-pixbuf-cache.h:
              * shell/ev-utils.c: (ev_print_region_contents):
              * shell/ev-utils.h:
              * shell/ev-view.c: (ev_view_queue_draw_page),
              (selection_update_idle_cb), (ev_view_motion_notify_event),
              (ev_view_style_set), (draw_one_page), (ev_view_class_init),
              (setup_caches), (ev_view_find_next), (merge_selection_region),
              (selection_free):
              * shell/ev-window.c: (ev_window_update_fullscreen_popup):
      
              Clean up selection to be much smoother!
      00efc5c1
  16. 30 Jul, 2005 1 commit
    • Jonathan Blandford's avatar
      at Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com> · 2f1494f4
      Jonathan Blandford authored
              * 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.
      2f1494f4
  17. 29 Jul, 2005 2 commits
    • Marco Pesenti Gritti's avatar
      Use rotation rather than orientation. It's easier and enough for our · 41229e9e
      Marco Pesenti Gritti authored
      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.
      41229e9e
    • Marco Pesenti Gritti's avatar
      Really make use of the orientation bit of the render context. Use the · 96ab01a7
      Marco Pesenti Gritti authored
      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...
      96ab01a7
  18. 01 Jul, 2005 1 commit
    • Jonathan Blandford's avatar
      Add I-Beam support to EvView. Now we can see where we can select! Sweet! · 83dc7cff
      Jonathan Blandford authored
      Fri Jul  1 00:10:15 2005  Jonathan Blandford  <jrb@redhat.com>
      
              * backend/ev-selection.c: (ev_selection_get_selection_region),
              (ev_selection_get_selection_map):
              * backend/ev-selection.h:
              * pdf/ev-poppler.cc:
              * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
              * shell/ev-jobs.h:
              * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
              (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
              (ev_pixbuf_cache_get_text_mapping):
              * shell/ev-pixbuf-cache.h:
              * shell/ev-view.c: (location_in_text),
              (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
              support to EvView.  Now we can see where we can select!  Sweet!
      83dc7cff
  19. 30 Jun, 2005 1 commit
  20. 31 Mar, 2005 1 commit
    • Jonathan Blandford's avatar
      Remove pixbuf backend for now · e8096c18
      Jonathan Blandford authored
      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.
      e8096c18
  21. 23 Mar, 2005 1 commit