1. 08 May, 2010 1 commit
  2. 07 May, 2010 1 commit
  3. 05 Apr, 2010 1 commit
  4. 08 Dec, 2009 1 commit
  5. 24 Jan, 2009 1 commit
    • Carlos Garcia Campos's avatar
      Add EV_DEFINE_INTERFACE macro. · ab26fbf2
      Carlos Garcia Campos authored
      2009-01-24  Carlos Garcia Campos  <carlosgc@gnome.org>
      
      	* libdocument/ev-document.h:
      
      	Add EV_DEFINE_INTERFACE macro.
      
      	* libdocument/ev-async-renderer.c:
      	* libdocument/ev-document-find.c:
      	* libdocument/ev-document-fonts.c:
      	* libdocument/ev-document-forms.c:
      	* libdocument/ev-document-images.c:
      	* libdocument/ev-document-layers.c:
      	* libdocument/ev-document-links.c:
      	* libdocument/ev-document-security.c:
      	* libdocument/ev-document-thumbnails.c:
      	* libdocument/ev-document-transition.c:
      	* libdocument/ev-document.c:
      	* libdocument/ev-file-exporter.c:
      	* libdocument/ev-selection.c:
      
      	Use EV_DEFINE_INTERFACE macro to define interfaces in
      	libdocument. See bug #568228.
      
      svn path=/trunk/; revision=3379
      ab26fbf2
  6. 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
  7. 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
  8. 08 Jan, 2007 1 commit
    • Nickolay V. Shmyrev's avatar
      Reorganize source tree. · 13a06349
      Nickolay V. Shmyrev authored
      2007-01-08  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
      
      	* Makefile.am:
      	* backend/Makefile.am:
      	* backend/comics/Makefile.am:
      	* backend/djvu/Makefile.am:
      	* backend/dvi/Makefile.am:
      	* backend/ev-async-renderer.c:
      	* backend/ev-async-renderer.h:
      	* backend/ev-attachment.c:
      	* backend/ev-attachment.h:
      	* backend/ev-backend-marshal.c:
      	* backend/ev-document-factory.c:
      	* backend/ev-document-factory.h:
      	* backend/ev-document-find.c:
      	* backend/ev-document-find.h:
      	* backend/ev-document-fonts.c:
      	* backend/ev-document-fonts.h:
      	* backend/ev-document-images.c:
      	* backend/ev-document-images.h:
      	* backend/ev-document-info.h:
      	* backend/ev-document-links.c:
      	* backend/ev-document-links.h:
      	* backend/ev-document-misc.c:
      	* backend/ev-document-misc.h:
      	* backend/ev-document-security.c:
      	* backend/ev-document-security.h:
      	* backend/ev-document-thumbnails.c:
      	* backend/ev-document-thumbnails.h:
      	* backend/ev-document-transition.c:
      	* backend/ev-document-transition.h:
      	* backend/ev-document.c:
      	* backend/ev-document.h:
      	* backend/ev-file-exporter.c:
      	* backend/ev-file-exporter.h:
      	* backend/ev-image.c:
      	* backend/ev-image.h:
      	* backend/ev-link-action.c:
      	* backend/ev-link-action.h:
      	* backend/ev-link-dest.c:
      	* backend/ev-link-dest.h:
      	* backend/ev-link.c:
      	* backend/ev-link.h:
      	* backend/ev-render-context.c:
      	* backend/ev-render-context.h:
      	* backend/ev-selection.c:
      	* backend/ev-selection.h:
      	* backend/impress/Makefile.am:
      	* backend/pdf/Makefile.am:
      	* backend/pixbuf/Makefile.am:
      	* backend/ps/Makefile.am:
      	* backend/ps/ps-document.c: (push_pixbuf), (interpreter_failed),
      	(ps_document_widget_event), (setup_pixmap), (setup_page), (input),
      	(start_interpreter), (stop_interpreter), (document_load),
      	(ps_document_next_page), (render_page):
      	* backend/tiff/Makefile.am:
      	* comics/Makefile.am:
      	* comics/comics-document.c:
      	* comics/comics-document.h:
      	* configure.ac:
      	* cut-n-paste/zoom-control/ephy-zoom-control.c:
      	* djvu/Makefile.am:
      	* djvu/djvu-document-private.h:
      	* djvu/djvu-document.c:
      	* djvu/djvu-document.h:
      	* djvu/djvu-links.c:
      	* djvu/djvu-links.h:
      	* djvu/djvu-text-page.c:
      	* djvu/djvu-text-page.h:
      	* djvu/djvu-text.c:
      	* djvu/djvu-text.h:
      	* dvi/Makefile.am:
      	* dvi/dvi-document.c:
      	* dvi/dvi-document.h:
      	* dvi/fonts.c:
      	* dvi/fonts.h:
      	* dvi/mdvi-lib/Makefile.am:
      	* dvi/mdvi-lib/afmparse.c:
      	* dvi/mdvi-lib/afmparse.h:
      	* dvi/mdvi-lib/bitmap.c:
      	* dvi/mdvi-lib/bitmap.h:
      	* dvi/mdvi-lib/color.c:
      	* dvi/mdvi-lib/color.h:
      	* dvi/mdvi-lib/common.c:
      	* dvi/mdvi-lib/common.h:
      	* dvi/mdvi-lib/defaults.h:
      	* dvi/mdvi-lib/dvimisc.c:
      	* dvi/mdvi-lib/dviopcodes.h:
      	* dvi/mdvi-lib/dviread.c:
      	* dvi/mdvi-lib/files.c:
      	* dvi/mdvi-lib/font.c:
      	* dvi/mdvi-lib/fontmap.c:
      	* dvi/mdvi-lib/fontmap.h:
      	* dvi/mdvi-lib/fontsrch.c:
      	* dvi/mdvi-lib/gf.c:
      	* dvi/mdvi-lib/hash.c:
      	* dvi/mdvi-lib/hash.h:
      	* dvi/mdvi-lib/list.c:
      	* dvi/mdvi-lib/mdvi.h:
      	* dvi/mdvi-lib/pagesel.c:
      	* dvi/mdvi-lib/paper.c:
      	* dvi/mdvi-lib/paper.h:
      	* dvi/mdvi-lib/pk.c:
      	* dvi/mdvi-lib/private.h:
      	* dvi/mdvi-lib/setup.c:
      	* dvi/mdvi-lib/sp-epsf.c:
      	* dvi/mdvi-lib/special.c:
      	* dvi/mdvi-lib/sysdeps.h:
      	* dvi/mdvi-lib/t1.c:
      	* dvi/mdvi-lib/tfm.c:
      	* dvi/mdvi-lib/tfmfile.c:
      	* dvi/mdvi-lib/tt.c:
      	* dvi/mdvi-lib/util.c:
      	* dvi/mdvi-lib/vf.c:
      	* dvi/pixbuf-device.c:
      	* dvi/pixbuf-device.h:
      	* impress/Makefile.am:
      	* impress/common.h:
      	* impress/document.c:
      	* impress/f_oasis.c:
      	* impress/f_oo13.c:
      	* impress/iksemel.c:
      	* impress/iksemel.h:
      	* impress/imposter.h:
      	* impress/impress-document.c:
      	* impress/impress-document.h:
      	* impress/internal.h:
      	* impress/r_back.c:
      	* impress/r_draw.c:
      	* impress/r_geometry.c:
      	* impress/r_gradient.c:
      	* impress/r_style.c:
      	* impress/r_text.c:
      	* impress/render.c:
      	* impress/render.h:
      	* impress/zip.c:
      	* impress/zip.h:
      	* lib/Makefile.am:
      	* lib/ev-debug.c:
      	* lib/ev-debug.h:
      	* lib/ev-file-helpers.c:
      	* lib/ev-file-helpers.h:
      	* lib/ev-gui.c:
      	* lib/ev-gui.h:
      	* lib/ev-tooltip.c:
      	* lib/ev-tooltip.h:
      	* libdocument/Makefile.am:
      	* libdocument/ev-file-helpers.c:
      	* pdf/Makefile.am:
      	* pdf/ev-poppler.cc:
      	* pdf/ev-poppler.h:
      	* pixbuf/Makefile.am:
      	* pixbuf/pixbuf-document.c:
      	* pixbuf/pixbuf-document.h:
      	* properties/Makefile.am:
      	* ps/Makefile.am:
      	* ps/gsdefaults.c:
      	* ps/gsdefaults.h:
      	* ps/gsio.c:
      	* ps/gsio.h:
      	* ps/gstypes.h:
      	* ps/ps-document.c:
      	* ps/ps-document.h:
      	* ps/ps.c:
      	* ps/ps.h:
      	* shell/Makefile.am:
      	* shell/ev-application.h:
      	* shell/ev-sidebar-links.c:
      	* shell/ev-sidebar-links.h:
      	* shell/ev-utils.c: (ev_gui_sanitise_popup_position),
      	(ev_gui_menu_position_tree_selection):
      	* shell/ev-utils.h:
      	* shell/ev-view.c: (ev_view_finalize):
      	* shell/ev-window.c:
      	* shell/main.c: (main):
      	* thumbnailer/Makefile.am:
      	* tiff/Makefile.am:
      	* tiff/tiff-document.c:
      	* tiff/tiff-document.h:
      	* tiff/tiff2ps.c:
      	* tiff/tiff2ps.h:
      	
      	Reorganize source tree.
      
      
      
      svn path=/trunk/; revision=2197
      13a06349
  9. 08 Oct, 2006 1 commit
    • Christian Persch's avatar
      Reduce relocations. Bug #360616. · 47fb87e5
      Christian Persch authored
      2006-10-08  Christian Persch  <chpe@cvs.gnome.org>
      
      	* backend/ev-async-renderer.c: (ev_async_renderer_get_type):
      	* backend/ev-document-find.c: (ev_document_find_get_type):
      	* backend/ev-document-fonts.c: (ev_document_fonts_get_type):
      	* backend/ev-document-links.c: (ev_document_links_get_type):
      	* backend/ev-document-security.c: (ev_document_security_get_type):
      	* backend/ev-document-thumbnails.c:
      	(ev_document_thumbnails_get_type):
      	* backend/ev-document.c: (ev_document_get_type):
      	* backend/ev-ps-exporter.c: (ev_ps_exporter_get_type):
      	* backend/ev-selection.c: (ev_selection_get_type):
      	* cut-n-paste/recent-files/egg-recent-model.c:
      	(egg_recent_model_get_type):
      	* cut-n-paste/recent-files/egg-recent-view-uimanager.c:
      	(egg_recent_view_uimanager_get_type):
      	* cut-n-paste/recent-files/egg-recent-view.c:
      	(egg_recent_view_get_type):
      	* cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
      	(egg_editable_toolbar_get_type):
      	* cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
      	(egg_toolbar_editor_get_type):
      	* cut-n-paste/toolbar-editor/egg-toolbars-model.c:
      	(egg_toolbars_model_get_type):
      	* cut-n-paste/toolbar-editor/eggtreemultidnd.c:
      	(egg_tree_multi_drag_source_get_type):
      	* cut-n-paste/zoom-control/ephy-zoom-action.c:
      	(ephy_zoom_action_get_type):
      	* cut-n-paste/zoom-control/ephy-zoom-control.c:
      	(ephy_zoom_control_get_type):
      	* impress/r_back.c: (_imp_fill_back):
      	* properties/ev-properties-main.c:
      	(ev_properties_plugin_register_type):
      	* shell/ev-sidebar-page.c: (ev_sidebar_page_get_type):
      	* shell/ev-view-accessible.c: (ev_view_accessible_get_type),
      	(ev_view_accessible_factory_get_type):
      
      	Reduce relocations. Bug #360616.
      47fb87e5
  10. 06 Aug, 2005 2 commits
    • Kristian Høgsberg's avatar
      Change selection color on focus in and focus out events. Also, poppler now · 3f175f30
      Kristian Høgsberg authored
      2005-08-06  Kristian Høgsberg  <krh@redhat.com>
      
              * backend/ev-selection.c: (ev_selection_render_selection):
              * backend/ev-selection.h:
              * pdf/ev-poppler.cc:
              * shell/ev-jobs.c: (ev_job_render_new):
              * shell/ev-jobs.h:
              * shell/ev-pixbuf-cache.c: (get_selection_colors),
              (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
              * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
              (ev_view_class_init):
      
              Change selection color on focus in and focus out events.  Also,
              poppler now uses GdkColor for specifying the selection colors, so
              drop some awkward conversion code.
      3f175f30
    • 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
  11. 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
  12. 30 Jun, 2005 1 commit
  13. 07 Jun, 2005 1 commit
    • Marco Pesenti Gritti's avatar
      Add an async renderer interface (method + callback) which is useful for · 421d3d8b
      Marco Pesenti Gritti authored
      2005-06-07  Marco Pesenti Gritti <mpg@redhat.com>
      
              * backend/Makefile.am:
              * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
              (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
              * backend/ev-async-renderer.h:
      
              Add an async renderer interface (method + callback) which
              is useful for backends like ps.
      
              * backend/ev-job-queue.c: (remove_job_from_async_queue),
              (add_job_to_async_queue), (job_finished_cb), (handle_job),
              (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
              (ev_job_queue_add_job), (move_job_async), (move_job),
              (ev_job_queue_update_job), (ev_job_queue_remove_job):
      
              Add queues for async renderer, these are executed on the
              main thread.
      
              * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
              (ev_job_render_run):
              * backend/ev-jobs.h:
      
              If the backend support async renderer interface use it.
      
              * ps/ps-document.c: (ps_document_init), (push_pixbuf),
              (setup_pixmap), (ps_document_get_type),
              (ps_async_renderer_render_pixbuf),
              (ps_document_document_iface_init), (ps_async_renderer_iface_init):
      
              Implement async renderer interface.
      421d3d8b