Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend
Commit message (Collapse)AuthorAgeFilesLines
* RemovedCarlos Garcia Campos2008-08-278-620/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-27 Carlos Garcia Campos <carlosgc@gnome.org> * backend/djvu/Makefile.am: * backend/djvu/djvu-document-private.h: * backend/djvu/djvu-document.c: (djvu_document_find_find_text), (djvu_document_find_iface_init): * backend/djvu/djvu-text-page.[ch]: * backend/djvu/djvu-text.[ch]: Removed * backend/pdf/ev-poppler.cc: (pdf_document_find_find_text), (pdf_document_find_iface_init): * libdocument/ev-document-find.[ch]: (ev_document_find_find_text): * shell/ev-jobs.[ch]: (ev_job_find_init), (ev_job_find_dispose), (ev_job_find_run), (ev_job_find_class_init), (ev_job_find_new), (ev_job_find_get_n_results), (ev_job_find_get_progress), (ev_job_find_has_results), (ev_job_find_get_results): * shell/ev-view-private.h: * shell/ev-view.[ch]: (ev_view_expose_event), (highlight_find_results), (ev_view_finalize), (ev_view_get_property), (ev_view_class_init), (page_changed_cb), (ev_view_set_document), (ev_view_find_get_n_results), (ev_view_find_get_result), (jump_to_find_result), (jump_to_find_page), (ev_view_find_changed), (ev_view_find_next), (ev_view_find_previous), (ev_view_find_search_changed), (ev_view_find_set_highlight_search), (ev_view_find_cancel): * shell/ev-window.c: (ev_window_update_actions), (page_changed_cb), (ev_window_setup_document), (ev_window_update_find_status_message), (ev_window_find_job_finished_cb), (ev_window_find_job_updated_cb), (ev_window_clear_find_job), (find_bar_close_cb), (find_bar_search_changed_cb), (find_bar_visibility_changed_cb), (ev_window_dispose), (ev_window_init): Rework find interface. The find logic has been moved from backends to the shell avoiding a lot of duplicated code in the backends and making easier to implement the find interface in the backends. svn path=/trunk/; revision=3123
* Make sure thumbnail size returned by the PDF is actually valid. Fixes bugCarlos Garcia Campos2008-08-251-1/+1
| | | | | | | | | | | | 2008-08-25 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: (pdf_document_thumbnails_get_dimensions): Make sure thumbnail size returned by the PDF is actually valid. Fixes bug #548462. svn path=/trunk/; revision=3119
* Implement document_get_page_label in tiff backend.Carlos Garcia Campos2008-08-191-0/+16
| | | | | | | | | | | 2008-08-19 Carlos Garcia Campos <carlosgc@gnome.org> * backend/tiff/tiff-document.c: (tiff_document_get_page_label), (tiff_document_document_iface_init): Implement document_get_page_label in tiff backend. svn path=/trunk/; revision=3111
* Handle document orientation in tiff backend. Fixes bug #548444.Carlos Garcia Campos2008-08-191-1/+6
| | | | | | | | | | 2008-08-19 Carlos Garcia Campos <carlosgc@gnome.org> * backend/tiff/tiff-document.c: (tiff_document_render): Handle document orientation in tiff backend. Fixes bug #548444. svn path=/trunk/; revision=3110
* More #include cleanups. Again: reordering, single gtk.h includes and otherWouter Bolsterlee2008-08-032-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Added support for 7-zip based cb7 comic book. Patch by Kartik Rustagi.Nickolay V. Shmyrev2008-07-112-1/+7
| | | | | | | | | | | | | | | 2008-07-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * backend/comics/comics-document.c (comics_document_load): * backend/comics/comicsdocument.evince-backend.in: * configure.ac: * thumbnailer/evince-thumbnailer-comics.schemas.in: Added support for 7-zip based cb7 comic book. Patch by Kartik Rustagi. Fixes bug #532312. svn path=/trunk/; revision=3068
* Do not crash opening documents with no pages and show a warning message inCarlos Garcia Campos2008-06-161-10/+13
| | | | | | | | | | | | | | | | | 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
* Fix a free() that should be an iks_free(). Fix an array overflow in theHans Petter Jansson2008-05-011-3/+3
| | | | | | | | | | | 2008-05-01 Hans Petter Jansson <hpj@novell.com> * backend/impress/iksemel.c (sax_core): Fix a free() that should be an iks_free(). Fix an array overflow in the XML parser that would occur whenever the number of attributes in a tag was greater than 0 and divisible by 6. Fixes GNOME bug #530852. svn path=/trunk/; revision=3029
* Make sure load job doesn't finish successfully when the document is notCarlos Garcia Campos2008-04-294-29/+110
| | | | | | | | | | | | | | | | | | 2008-04-29 Carlos Garcia Campos <carlosgc@gnome.org> * backend/djvu/djvu-document-private.h: * backend/djvu/djvu-links.c: * backend/djvu/djvu-text.c: * backend/djvu/djvu-document.c: (djvu_handle_events), (djvu_wait_for_message), (djvu_document_load), (document_get_page_size), (djvu_document_render), (djvu_document_thumbnails_get_thumbnail), (djvu_document_file_exporter_end): Make sure load job doesn't finish successfully when the document is not successfully decoded by libdjvu. Fixes bug #530202. svn path=/trunk/; revision=3027
* Fix T1 font rendering in dvi backend. Patch by Mattias Nissler.Carlos Garcia Campos2008-04-144-20/+13
| | | | | | | | | | | | | 2008-04-14 Carlos Garcia Campos <carlosgc@gnome.org> * backend/dvi/mdvi-lib/bitmap.[ch]: (bitmap_convert_lsb8), (bitmap_convert_msb8): * backend/dvi/mdvi-lib/t1.c: (t1_glyph_bitmap): * backend/dvi/mdvi-lib/tt.c: (tt_get_bitmap): Fix T1 font rendering in dvi backend. Patch by Mattias Nissler. svn path=/trunk/; revision=3006
* Add EvPage so that we can hold a reference to the backend page. FormCarlos Garcia Campos2008-04-148-178/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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