Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend
Commit message (Collapse)AuthorAgeFilesLines
* Remove gs stuff from ps backend.Carlos Garcia Campos2008-04-1212-4028/+3
| | | | | | | | | | | 2008-04-12 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/ps/Makefile.am: Remove gs stuff from ps backend. svn path=/trunk/; revision=3002
* Bump poppler requirement to 0.8.0.Carlos Garcia Campos2008-04-121-50/+10
| | | | | | | | | | | 2008-04-12 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/pdf/ev-poppler.cc: Bump poppler requirement to 0.8.0. svn path=/trunk/; revision=3001
* Make sure link title is a valid utf8 string. Fixes bug #526517.Carlos Garcia Campos2008-04-081-5/+5
| | | | | | | | | | 2008-04-08 Carlos Garcia Campos <carlosgc@gnome.org> * backend/djvu/djvu-links.c: (build_tree): Make sure link title is a valid utf8 string. Fixes bug #526517. svn path=/trunk/; revision=2996
* Add compressed dvi to the list of supported mime types. Patch by EdCarlos Garcia Campos2008-04-061-1/+1
| | | | | | | | | | | | 2008-04-06 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/dvi/dvidocument.evince-backend.in: Add compressed dvi to the list of supported mime types. Patch by Ed Catmur. Fixes bug #307087. svn path=/trunk/; revision=2990
* Do not crash when thumbnail failed to render in PS backend. Fixes bugCarlos Garcia Campos2008-04-011-0/+5
| | | | | | | | | | | 2008-04-01 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ps/ev-spectre.c: (ps_document_thumbnails_get_thumbnail): Do not crash when thumbnail failed to render in PS backend. Fixes bug #525015. svn path=/trunk/; revision=2986
* Fix printing in documents with rotated pages. Patch by Eugen Dedu. FixesCarlos Garcia Campos2008-03-221-4/+2
| | | | | | | | | | | 2008-03-22 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: (pdf_document_file_exporter_do_page): Fix printing in documents with rotated pages. Patch by Eugen Dedu. Fixes bug #512648. svn path=/trunk/; revision=2975
* Fix warning messages.Carlos Garcia Campos2008-03-191-3/+4
| | | | | | | | | | | 2008-03-19 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: (ev_link_dest_from_dest), (ev_link_from_action): Fix warning messages. svn path=/trunk/; revision=2973
* Make ps backend module resident. Fixes bug #520607.Carlos Garcia Campos2008-03-181-0/+1
| | | | | | | | | | 2008-03-18 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ps/psdocument.evince-backend.in: Make ps backend module resident. Fixes bug #520607. svn path=/trunk/; revision=2970
* Fix build with poppler <= 0.7.2Carlos Garcia Campos2008-03-141-3/+3
| | | | | | | | | | 2008-03-14 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: (pdf_selection_render_selection): Fix build with poppler <= 0.7.2 svn path=/trunk/; revision=2967
* Fix build with poppler >= 0.7.2Carlos Garcia Campos2008-03-141-30/+140
| | | | | | | | | | | 2008-03-14 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/pdf/ev-poppler.cc: Fix build with poppler >= 0.7.2 svn path=/trunk/; revision=2965
* Allow making backend modules resident. This is needed only for someCarlos Garcia Campos2008-03-031-0/+1
| | | | | | | | | | | | | | | | 2008-03-03 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/pdfdocument.evince-backend.in: * libdocument/ev-backends-manager.c: (ev_backends_manager_load_backend), (ev_backends_manager_get_document): * libdocument/ev-module.[ch]: (ev_module_load), (ev_module_new): Allow making backend modules resident. This is needed only for some backends like pdf to avoid registering glib types more than once. svn path=/trunk/; revision=2943
* Use g_type_module_add_interface instead of g_type_add_interface_static.Carlos Garcia Campos2008-03-038-45/+45
| | | | | | | | | | | | | | | | | | | | 2008-03-03 Carlos Garcia Campos <carlosgc@gnome.org> * backend/comics/comics-document.c: * backend/djvu/djvu-document.c: * backend/impress/impress-document.c: * backend/pdf/ev-poppler.cc: * backend/pixbuf/pixbuf-document.c: * backend/ps/ev-spectre.c: * backend/ps/ps-document.c: * backend/tiff/tiff-document.c: * libdocument/ev-document.h: * properties/ev-properties-main.c: Use g_type_module_add_interface instead of g_type_add_interface_static. Fixes bug #519679. svn path=/trunk/; revision=2942
* Return the image list in the right order. Fixes bug #516237.Carlos Garcia Campos2008-02-161-1/+1
| | | | | | | | | 2008-02-16 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: (pdf_document_images_get_image_mapping): Return the image list in the right order. Fixes bug #516237. svn path=/trunk/; revision=2916
* Remove unused variable to avoid a compiler warning.Wouter Bolsterlee2008-02-121-1/+0
| | | | | | | | | | | 2008-02-12 Wouter Bolsterlee <wbolster@svn.gnome.org> * backend/impress/impress-document.c: (impress_document_thumbnails_get_thumbnail): Remove unused variable to avoid a compiler warning. svn path=/trunk/; revision=2905
* Use the new cairo function cairo_format_stride_for_width when available.Carlos Garcia Campos2008-01-312-2/+9
| | | | | | | | | | | 2008-01-31 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/djvu/djvu-document.c: (djvu_document_render): * backend/tiff/tiff-document.c: (tiff_document_render): Use the new cairo function cairo_format_stride_for_width when available. Fixes bug #482720. svn path=/trunk/; revision=2884
* Install only dvi module. Fixes bug #512718.Matthias Clasen2008-01-291-0/+1
| | | | | | | | | | 2008-01-29 Matthias Clasen <mclasen@redhat.com> * backend/dvi/Makefile.am: Install only dvi module. Fixes bug #512718. svn path=/trunk/; revision=2876
* Fixes distcheck issuesNickolay V. Shmyrev2008-01-288-8/+8
| | | | svn path=/trunk/; revision=2871
* Fix printing in dvi backend when filename contains white espaces. FixesCarlos Garcia Campos2008-01-271-5/+5
| | | | | | | | | 2008-01-27 Carlos Garcia Campos <carlosgc@gnome.org> * backend/dvi/dvi-document.c: (dvi_document_file_exporter_end): Fix printing in dvi backend when filename contains white espaces. Fixes bug #502839. svn path=/trunk/; revision=2865
* Port to gio and drop gnome-vfs dependency. Fixes bug #510401. Based onCarlos Garcia Campos2008-01-251-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-25 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/comics/comics-document.c: (comics_document_load): * libdocument/ev-attachment.[ch]: (ev_attachment_finalize), (ev_attachment_set_property), (ev_attachment_init), (ev_attachment_save), (ev_attachment_launch_app), (ev_attachment_open): * libdocument/ev-document-factory.c: (get_document_from_uri): * libdocument/ev-file-helpers.[ch]: (ev_tmp_file_get), (ev_tmp_file_unlink), (ev_tmp_uri_unlink), (ev_xfer_uri_simple),: * shell/ev-jobs.c: * shell/ev-password.c: (ev_password_dialog_set_property), (ev_password_dialog_save_password): * shell/ev-sidebar-attachments.c: (ev_sidebar_attachments_drag_data_get): * shell/ev-window-title.c: (get_filename_from_uri): * shell/ev-window.c: (ev_window_clear_temp_file), (ev_window_load_job_cb), (window_open_file_copy_ready_cb), (ev_window_open_uri), (window_save_file_copy_ready_cb), (ev_window_save_remote), (ev_window_cmd_save_as), (launch_action), (launch_external_uri), (image_save_dialog_response_cb), (attachment_save_dialog_response_cb): * shell/main.c: (load_files), (load_files_remote), (main): * thumbnailer/evince-thumbnailer.c: (main): Port to gio and drop gnome-vfs dependency. Fixes bug #510401. Based on patch by Cosimo Cecchi. svn path=/trunk/; revision=2858
* Do not render images when rendering the page but on demand. It reduces theCarlos Garcia Campos2008-01-191-4/+36
| | | | | | | | | | | | | | | | | | | | | | 2008-01-19 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/pdf/ev-poppler.cc: (pdf_document_images_get_image_mapping), (pdf_document_images_get_image), (pdf_document_document_images_iface_init): * libdocument/ev-document-images.[ch]: (ev_document_images_get_image_mapping), (ev_document_images_get_image): * libdocument/ev-image.[ch]: (ev_image_new), (ev_image_get_page), (ev_image_get_id), (ev_image_save_tmp): * shell/ev-jobs.c: (ev_job_render_run): * shell/ev-view.c: (ev_view_drag_data_get): * shell/ev-window.c: (image_save_dialog_response_cb), (ev_view_popup_cmd_copy_image): Do not render images when rendering the page but on demand. It reduces the memory comsumption. svn path=/trunk/; revision=2835
* Don't overquote special chars except of '. See bug 502500. Thanks to TomNickolay V. Shmyrev2008-01-131-0/+2
| | | | | | | | | | | | 2008-01-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * backend/comics/comics-document.c: (comics_regex_quote): Don't overquote special chars except of '. See bug 502500. Thanks to Tom Parker. svn path=/trunk/; revision=2822
* Fix compile warnings due to unused variables.Carlos Garcia Campos2008-01-131-2/+0
| | | | | | | | | 2008-01-13 Carlos Garcia Campos <carlosgc@gnome.org> * backend/djvu/djvu-text-page.c: (djvu_text_page_limits): * shell/ev-window.c: (image_save_dialog_response_cb): Fix compile warnings due to unused variables. svn path=/trunk/; revision=2817
* Bump requirements to libspectre 0.2.0. Fixes bug #507705.Carlos Garcia Campos2008-01-132-13/+15
| | | | | | | | | | 2008-01-13 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/dvi/cairo-device.c: (dvi_cairo_draw_ps): * backend/ps/ev-spectre.c: (ps_document_render): Bump requirements to libspectre 0.2.0. Fixes bug #507705. svn path=/trunk/; revision=2816
* Added implementation to get_effect() in EvDocumentTransitionIface.Carlos Garnacho2008-01-041-0/+40
| | | | | | | | | 2008-01-04 Carlos Garnacho <carlosg@gnome.org> * backend/pdf/ev-poppler.cc (pdf_document_get_effect): Added implementation to get_effect() in EvDocumentTransitionIface. svn path=/trunk/; revision=2797
* More warnings fixed.Carlos Garcia Campos2007-12-291-2/+3
| | | | | | | | 2007-12-29 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pixbuf/pixbuf-document.c: More warnings fixed. svn path=/trunk/; revision=2790
* Fix compile warnings.Carlos Garcia Campos2007-12-293-6/+2
| | | | | | | | | | | 2007-12-29 Carlos Garcia Campos <carlosgc@gnome.org> * backend/djvu/djvu-links.c: (get_djvu_link_dest), (get_djvu_hyperlink_area), (djvu_links_find_link_dest): * backend/djvu/djvu-text.h: * backend/tiff/tiff-document.c: (tiff_document_render): Fix compile warnings. svn path=/trunk/; revision=2789
* Include config.h. Bug #504721.Christian Persch2007-12-2850-0/+50
| | | | | | | | 2007-12-28 Christian Persch <chpe@gnome.org> * **/*.c: Include config.h. Bug #504721. svn path=/trunk/; revision=2787
* Plugin system for backends. Fixes bug #351348.Carlos Garcia Campos2007-12-2834-108/+311
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-12-28 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * Makefile.am: * po/POTFILES.in: * backend/comics/Makefile.am: * backend/comics/comics-document.[ch]: * backend/comics/comicsdocument.evince-backend.in: * backend/djvu/Makefile.am: * backend/djvu/djvu-document.[ch]: * backend/djvu/djvudocument.evince-backend.in: * backend/dvi/Makefile.am: * backend/dvi/dvi-document.[c]: * backend/dvi/dvidocument.evince-backend.in: * backend/impress/Makefile.am: * backend/impress/impress-document.[ch]: * backend/impress/impressdocument.evince-backend.in: * backend/pdf/Makefile.am: * backend/pdf/ev-poppler.cc: * backend/pdf/ev-poppler.h: * backend/pdf/pdfdocument.evince-backend.in: * backend/pixbuf/Makefile.am: * backend/pixbuf/pixbuf-document.[ch]: * backend/pixbuf/pixbufdocument.evince-backend.in: * backend/ps/Makefile.am: * backend/ps/ev-spectre.[ch]: * backend/ps/ps-document.[ch]: * backend/ps/psdocument.evince-backend.in: * backend/tiff/Makefile.am: * backend/tiff/tiff-document.[ch]: * backend/tiff/tiffdocument.evince-backend.in: * libdocument/Makefile.am: * libdocument/ev-backends-manager.[ch]: * libdocument/ev-module.[ch]: * libdocument/ev-document.h: * libdocument/ev-document-factory.[ch]: (gdk_pixbuf_mime_type_list), (mime_type_supported_by_gdk_pixbuf), (get_compression_from_mime_type), (get_document_from_uri), (ev_document_factory_get_document), (file_filter_add_mime_types), (ev_document_factory_add_filters): * shell/Makefile.am: * shell/ev-window-title.c: (get_filename_from_uri): * shell/main.c: (main): * thumbnailer/Makefile.am: * thumbnailer/evince-thumbnailer.c: (main): Plugin system for backends. Fixes bug #351348. svn path=/trunk/; revision=2786
* Add ps specials support in dvi backend when libspectre is present. FixesCarlos Garcia Campos2007-12-206-10/+203
| | | | | | | | | | | | | | | | 2007-12-20 Carlos Garcia Campos <carlosgc@gnome.org> * backend/dvi/Makefile.am: * backend/dvi/cairo-device.c: (dvi_cairo_draw_ps), (mdvi_cairo_device_init): * backend/dvi/mdvi-lib/common.h: * backend/dvi/mdvi-lib/mdvi.h: * backend/dvi/mdvi-lib/sp-epsf.c: (epsf_special): * backend/dvi/mdvi-lib/util.c: (mdvi_strrstr), (mdvi_build_path_from_cwd): Add ps specials support in dvi backend when libspectre is present. Fixes bug #386005. svn path=/trunk/; revision=2775
* Use libspectre, if available, for the ps backend. Fixes bugs #317106,Carlos Garcia Campos2007-12-203-1/+513
| | | | | | | | | | | 2007-12-20 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/ps/Makefile.am: * backend/ps/ev-spectre.[ch]: Use libspectre, if available, for the ps backend. Fixes bugs #317106, #499787, #501235, #421879, #445797, #443859 and #486547. svn path=/trunk/; revision=2774
* Cygwin build issue fix.Yaakov Selkowitz2007-12-181-4/+4
| | | | | | | | | | | 2007-12-18 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> * backend/comics/comics-document.c: (comics_document_load): Cygwin build issue fix. svn path=/trunk/; revision=2772
* Do not change left, top and zoom values when they are null in PDFCarlos Garcia Campos2007-12-141-3/+8
| | | | | | | | | | | | | | | | | 2007-12-14 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: (ev_link_dest_from_dest): * libdocument/ev-link-dest.[ch]: (ev_link_dest_get_top), (ev_link_dest_get_left), (ev_link_dest_get_zoom), (ev_link_dest_get_property), (ev_link_dest_set_property), (ev_link_dest_class_init), (ev_link_dest_new_xyz), (ev_link_dest_new_fith), (ev_link_dest_new_fitv), (ev_link_dest_new_fitr): * shell/ev-view.c: (goto_fitr_dest), (goto_fitv_dest), (goto_fith_dest), (goto_xyz_dest): Do not change left, top and zoom values when they are null in PDF destinations. Fixes bug #460658. svn path=/trunk/; revision=2769
* Tiff documents were rendered with wrong colors. Fixes bug #497279.Matthias Clasen2007-11-261-0/+18
| | | | | | | | 2007-11-26 Matthias Clasen <mclasen@redhat.com> * backend/tiff/tiff-document.c: (tiff_document_render): Tiff documents were rendered with wrong colors. Fixes bug #497279. svn path=/trunk/; revision=2748
* Fix printing with poppler splash backend. Fixes bug #489774.Carlos Garcia Campos2007-10-261-13/+21
| | | | | | | | | | 2007-10-24 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: (pdf_document_file_exporter_begin), (pdf_document_file_exporter_begin_page), (pdf_document_file_exporter_end_page): Fix printing with poppler splash backend. Fixes bug #489774. svn path=/trunk/; revision=2721
* Fix a crash when printing with the gnome-print dialog. Fixes bug #488939.Carlos Garcia Campos2007-10-221-1/+1
| | | | | | | | | | 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. svn path=/trunk/; revision=2713
* Fix an implicit function definition warning (#487655)Sebastien Bacher2007-10-181-0/+1
| | | | | | | | | | 2007-10-18 Sebastien Bacher <seb128@ubuntu.com> * backend/pixbuf/pixbuf-document.c: Fix an implicit function definition warning (#487655) svn path=/trunk/; revision=2708
* When printing multiple pages per sheet in reverse option, do not invertCarlos Garcia Campos2007-10-111-7/+36
| | | | | | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=2700
* Silently ignore unknown form fields. Fixes bug #482654. Patch by MatthiasCarlos Garcia Campos2007-10-041-4/+9
| | | | | | | | | | 2007-10-04 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: (ev_form_field_from_poppler_field), (pdf_document_forms_get_form_fields): Silently ignore unknown form fields. Fixes bug #482654. Patch by Matthias Drochner. svn path=/trunk/; revision=2692
* Use poppler_page_render_for_printing() instead of poppler_page_render() ifCarlos Garcia Campos2007-10-041-1/+6
| | | | | | | | | | | 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. svn path=/trunk/; revision=2691
* Remove #ifdef HAVE_FORMS, so that forms support works again.Carlos Garcia Campos2007-09-121-26/+0
| | | | | | | | 2007-09-12 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: Remove #ifdef HAVE_FORMS, so that forms support works again. svn path=/trunk/; revision=2673
* Bump requirements to poppler 0.6 and drop all ifdefs used. Double andCarlos Garcia Campos2007-09-031-15/+1
| | | | | | | | | | | | | 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. svn path=/trunk/; revision=2661
* Ignore outline items without a title. Fixes bug #453913.Carlos Garcia Campos2007-09-031-1/+4
| | | | | | | | 2007-09-03 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: (build_tree): Ignore outline items without a title. Fixes bug #453913. svn path=/trunk/; revision=2654
* Temporarily disable double and triple selections since it depends onCarlos Garcia Campos2007-09-021-0/+6
| | | | | | | | | | | | | 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. svn path=/trunk/; revision=2652
* Actually fix printing regressions. Remove orientation from EvPrintContextCarlos Garcia Campos2007-09-011-59/+86
| | | | | | | | | | | | | 2007-09-01 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: (pdf_document_file_exporter_begin), (pdf_document_file_exporter_do_page): * libdocument/ev-file-exporter.h: * shell/ev-jobs.[ch]: (ev_job_print_new), (ev_job_print_run): * shell/ev-window.c: (ev_window_print_dialog_response_cb): Actually fix printing regressions. Remove orientation from EvPrintContext since it's redundant. svn path=/trunk/; revision=2649
* Add support for double and triple click selections.Carlos Garcia Campos2007-08-318-110/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Create always a portrait cairo surface and rotate when needed forCarlos Garcia Campos2007-08-271-14/+38
| | | | | | | | | | | | | 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. svn path=/trunk/; revision=2643
* Adjust number of pages per row according to page orientation when printingCarlos Garcia Campos2007-08-251-5/+17
| | | | | | | | | | | | | 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. svn path=/trunk/; revision=2641
* Use CAIRO_FORMAT_RGB24 instead of CAIRO_FORMAT_ARGB32 when creating pageCarlos Garcia Campos2007-08-233-3/+3
| | | | | | | | | | | | | | | 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>. svn path=/trunk/; revision=2637
* Fix thumbnails rotation in pdf documents that include embedded thumbnails.Carlos Garcia Campos2007-08-171-1/+9
| | | | | | | | | | 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. svn path=/trunk/; revision=2629
* Don't use #ifdef in macro expansion. Some compilers don't like that.Jens Granseuer2007-08-151-3/+26
| | | | | | | | | | | 2007-08-15 Jens Granseuer <jensgr@gmx.net> * backend/pdf/ev-poppler.cc: Don't use #ifdef in macro expansion. Some compilers don't like that. Closes bug #467042. svn path=/trunk/; revision=2626