Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend
Commit message (Collapse)AuthorAgeFilesLines
* Use g_set_error_literal now that we depend on glib 2.18.Christian Persch2009-02-055-31/+29
| | | | | | | | | | | | | | | * backend/comics/comics-document.c: (comics_document_load): * backend/djvu/djvu-document.c: (djvu_document_load): * backend/dvi/dvi-document.c: (dvi_document_load): * backend/impress/impress-document.c: (impress_document_load): * backend/pdf/ev-poppler.cc: * libdocument/ev-document-factory.c: (get_document_from_uri), (ev_document_factory_get_document): * shell/ev-print-operation.c: (ev_print_operation_export_print_dialog_response_cb): Use g_set_error_literal now that we depend on glib 2.18. svn path=/trunk/; revision=3419
* Add application/x-ext-pdf mime type for pdf backend. See bug #339172.Hib Eris2009-02-051-1/+1
| | | | | | | | | | | 2009-02-05 Hib Eris <hib@hiberis.nl> * backend/pdf/pdfdocument.evince-backend.in: Add application/x-ext-pdf mime type for pdf backend. See bug #339172. svn path=/trunk/; revision=3417
* Include gi18n-lib.h instead of gi18n.h.Christian Persch2009-02-048-8/+8
| | | | | | | | | | | | | | | | | | | | * backend/comics/comics-document.c: * backend/djvu/djvu-document.c: * backend/dvi/dvi-document.c: * backend/impress/impress-document.c: * backend/pdf/ev-poppler.cc: * backend/pixbuf/pixbuf-document.c: * backend/ps/ev-spectre.c: * backend/tiff/tiff-document.c: * libdocument/ev-attachment.c: * libdocument/ev-document-factory.c: * libview/ev-jobs.c: * libview/ev-view-accessible.c: * libview/ev-view.c: * properties/ev-properties-view.c: Include gi18n-lib.h instead of gi18n.h. svn path=/trunk/; revision=3412
* A backend/backend.symbols: Only export the backend module entry point. BugChristian Persch2009-02-012-0/+4
| | | | | | | | | * backend/Makefile.am: A backend/backend.symbols: * configure.ac: Only export the backend module entry point. Bug #569998. svn path=/trunk/; revision=3399
* Clamp top/bottom values of destinations to make sure they are not biggerCarlos Garcia Campos2009-02-011-4/+4
| | | | | | | | | | | 2009-02-01 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: (ev_link_dest_from_dest): Clamp top/bottom values of destinations to make sure they are not bigger than the page height. Fixes bug #569327. svn path=/trunk/; revision=3396
* Bug 569082 – use versioned directory for backendsChristian Persch2009-01-258-16/+0
| | | | | | | | | | * configure.ac: Define ev_binary_version and backenddir. * evince-document.pc.in: Add backenddir variable. * libdocument/Makefile.am: * backend/*/Makefile.am: Remove backenddir definition, so it picks up the one from configure. svn path=/trunk/; revision=3382
* Renamed from evince-backend.pc.in. Renamed library to libevdocument.la.Christian Persch2009-01-258-10/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix zip mime-type in comics backend. Patch by Juanjo Marín.Carlos Garcia Campos2008-12-031-1/+1
| | | | | | | | | | 2008-12-03 Carlos Garcia Campos <carlosgc@gnome.org> * backend/comics/comics-document.c: (comics_document_load): Fix zip mime-type in comics backend. Patch by Juanjo Marín. svn path=/trunk/; revision=3288
* Do not trust file extensions when getting the command needed to uncompressCarlos Garcia Campos2008-11-291-14/+7
| | | | | | | | | | | 2008-11-29 Carlos Garcia Campos <carlosgc@gnome.org> * backend/comics/comics-document.c: (comics_document_load): Do not trust file extensions when getting the command needed to uncompress comic documents. Fixes bug #562143. svn path=/trunk/; revision=3280
* Implement layers interface in PDF backend.Carlos Garcia Campos2008-11-151-0/+164
| | | | | | | | | | | 2008-11-15 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/pdf/ev-poppler.cc: Implement layers interface in PDF backend. svn path=/trunk/; revision=3265
* More renames of warning to mdvi_warning in follow up to the fix of the bugNickolay V. Shmyrev2008-11-042-10/+10
| | | | | | | | | | | | | | | 2008-11-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * backend/dvi/mdvi-lib/t1.c (t1_reset_resolution), (t1_transform_font): * backend/dvi/mdvi-lib/tt.c (tt_really_load_font), (tt_load_font): More renames of warning to mdvi_warning in follow up to the fix of the bug #553369. Fix for the bug #559257 by Tuxce <tuxce.net@gmail.com>. svn path=/trunk/; revision=3253
* Removed shell/ev-view-private.hCarlos Garcia Campos2008-10-311-2/+0
| | | | | | | | | | | | | | | | | | | | | 2008-10-31 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/pdf/ev-poppler.cc: * properties/ev-properties-view.c: * shell/Makefile.am: * shell/ev-tooltip.[ch]: Removed * shell/ev-view-private.h * shell/eggfindbar.c: * shell/ev-application.c: * shell/ev-open-recent-action.c: * shell/ev-sidebar-thumbnails.c: * shell/ev-view.c: * shell/ev-window.c: Bump GTK+ requirement to 2.12. svn path=/trunk/; revision=3242
* Bug 558064 – build with single includesChristian Persch2008-10-272-3/+3
| | | | svn path=/trunk/; revision=3240
* Bug 558066 – format not a string literal and no format argumentsChristian Persch2008-10-272-11/+11
| | | | svn path=/trunk/; revision=3237
* Fix several compile warnings in the dvi backend.Carlos Garcia Campos2008-09-284-5/+10
| | | | | | | | | | | | | 2008-09-28 Carlos Garcia Campos <carlosgc@gnome.org> * backend/dvi/Makefile.am: * backend/dvi/cairo-device.c: * backend/dvi/dvi-document.c: * backend/dvi/mdvi-lib/Makefile.am: Fix several compile warnings in the dvi backend. svn path=/trunk/; revision=3211
* Rename error as mdvi_error to avoid symbol conflicts with the libc error.Carlos Garcia Campos2008-09-2814-101/+101
| | | | | | | | | | | | | | | | | | | | | | | | | 2008-09-28 Carlos Garcia Campos <carlosgc@gnome.org> * backend/dvi/mdvi-lib/common.h: * backend/dvi/mdvi-lib/dviread.c: * backend/dvi/mdvi-lib/font.c: * backend/dvi/mdvi-lib/fontmap.c: * backend/dvi/mdvi-lib/fontsrch.c: * backend/dvi/mdvi-lib/gf.c: * backend/dvi/mdvi-lib/pagesel.c: * backend/dvi/mdvi-lib/pk.c: * backend/dvi/mdvi-lib/sp-epsf.c: * backend/dvi/mdvi-lib/special.c: * backend/dvi/mdvi-lib/tfm.c: * backend/dvi/mdvi-lib/tfmfile.c: * backend/dvi/mdvi-lib/util.c: * backend/dvi/mdvi-lib/vf.c: Rename error as mdvi_error to avoid symbol conflicts with the libc error. Rename also message, crash, fatal and warning for consistency. Fixes bug #553369. svn path=/trunk/; revision=3210
* Fix memory leak.Carlos Garcia Campos2008-09-281-0/+1
| | | | | | | | | | 2008-09-28 Carlos Garcia Campos <carlosgc@gnome.org> * backend/dvi/dvi-document.c: (dvi_document_load): Fix memory leak. svn path=/trunk/; revision=3209
* Use EV_BACKEND_IMPLEMENT_INTERFACE instead of G_IMPLEMENT_INTERFACE.Carlos Garcia Campos2008-09-281-3/+3
| | | | | | | | | | | 2008-09-28 Carlos Garcia Campos <carlosgc@gnome.org> * backend/dvi/dvi-document.c: Use EV_BACKEND_IMPLEMENT_INTERFACE instead of G_IMPLEMENT_INTERFACE. svn path=/trunk/; revision=3208
* Remove an invalid ifdef.Carlos Garcia Campos2008-09-071-4/+0
| | | | | | | | | | 2008-09-07 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: (pdf_document_images_get_image): Remove an invalid ifdef. svn path=/trunk/; revision=3158
* 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