Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend
Commit message (Collapse)AuthorAgeFilesLines
* Correctly quote symbols. Fixes crash in the bug #415370.Nickolay V. Shmyrev2007-05-091-2/+11
| | | | | | | | | | | | | 2007-05-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * backend/comics/comics-document.c: (comics_regex_quote), (extract_argv): Correctly quote symbols. Fixes crash in the bug #415370. svn path=/trunk/; revision=2446
* Use default resolution when it's not provided by document. Fixes bugCarlos Garcia Campos2007-04-081-15/+30
| | | | | | | | | | 2007-03-08 Carlos Garcia Campos <carlosgc@gnome.org> * backend/tiff/tiff-document.c: (tiff_document_get_resolution), (tiff_document_get_page_size), (tiff_document_render_pixbuf): Use default resolution when it's not provided by document. Fixes bug #408762. svn path=/trunk/; revision=2399
* Implement font color specials in the DVI backend. Fixes bug #303651.Ricardo Markiewicz2007-04-072-4/+111
| | | | | | | | | | 2007-04-07 Ricardo Markiewicz <rmarkie@fi.uba.ar> * backend/dvi/dvi-document.c: (dvi_document_class_init), (hsb2rgb), (dvi_document_do_color_special): * backend/dvi/mdvi-lib/special.c: (register_builtin_specials): Implement font color specials in the DVI backend. Fixes bug #303651. svn path=/trunk/; revision=2397
* Use an EvRenderContext for rendering thumbnails instead of a suggestedCarlos Garcia Campos2007-02-168-396/+331
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-02-16 Carlos Garcia Campos <carlosgc@gnome.org> * backend/dvi/dvi-document.c: (dvi_document_thumbnails_get_dimensions), (dvi_document_thumbnails_get_thumbnail): * backend/impress/impress-document.c: (impress_document_thumbnails_get_thumbnail), (impress_document_thumbnails_get_dimensions): * backend/ps/ps-document.c: (ps_document_thumbnails_get_thumbnail), (ps_document_thumbnails_get_dimensions): * backend/djvu/djvu-document.c: (djvu_document_thumbnails_get_dimensions), (djvu_document_thumbnails_get_thumbnail): * backend/tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail), (tiff_document_thumbnails_get_dimensions): * backend/pdf/ev-poppler.cc: (make_thumbnail_for_page), (pdf_document_thumbnails_get_thumbnail), (pdf_document_thumbnails_get_dimensions): * backend/comics/comics-document.c: (comics_document_thumbnails_get_thumbnail), (comics_document_thumbnails_get_dimensions): * backend/pixbuf/pixbuf-document.c: (pixbuf_document_thumbnails_get_thumbnail), (pixbuf_document_thumbnails_get_dimensions): * libdocument/ev-document-thumbnails.[ch]: (ev_document_thumbnails_get_thumbnail), (ev_document_thumbnails_get_dimensions): * libdocument/ev-document-misc.[ch]: (ev_document_misc_get_thumbnail_frame): * shell/ev-jobs.[ch]: (ev_job_thumbnail_dispose), (ev_job_thumbnail_new), (ev_job_thumbnail_run): * shell/ev-sidebar-thumbnails.c: (get_scale_for_page), (add_range), (ev_sidebar_thumbnails_set_loading_icon), (refresh), (ev_sidebar_thumbnails_refresh): * shell/ev-window.c: (ev_window_setup_document): * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): Use an EvRenderContext for rendering thumbnails instead of a suggested width, so that different sized pages get sized proportionally. svn path=/trunk/; revision=2332
* Fix build on Mac. Fixes bug #392186. Patch by <ephraim_owns@hotmail.com>Carlos Garcia Campos2007-02-156-12/+11
| | | | | | | | | | | | | | 2007-02-15 Carlos Garcia Campos <carlosgc@gnome.org> * backend/djvu/djvu-text.h: * backend/djvu/djvu-document.c: * backend/djvu/djvu-text-page.c: * backend/djvu/djvu-links.c: * backend/djvu/djvu-text-page.h: * backend/djvu/djvu-text.c: Fix build on Mac. Fixes bug #392186. Patch by <ephraim_owns@hotmail.com> svn path=/trunk/; revision=2328
* Restore cairo context before rendering every page when printing a PDFCarlos Garcia Campos2007-02-151-0/+4
| | | | | | | | | 2007-02-15 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: (pdf_document_file_exporter_do_page): Restore cairo context before rendering every page when printing a PDF document into a PDF file. svn path=/trunk/; revision=2327
* Handle PostScript page orientation. Fixes bug #318568.Carlos Garcia Campos2007-02-132-5/+47
| | | | | | | | | | | 2007-02-13 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ps/gstypes.h: * backend/ps/ps-document.c: (ps_document_get_page_rotation), (ps_document_get_page_size), (ps_async_renderer_render_pixbuf), (ps_document_thumbnails_get_thumbnail): Handle PostScript page orientation. Fixes bug #318568. svn path=/trunk/; revision=2324
* Add support for thumbnails in ps backend. Fixes bug #164755.Carlos Garcia Campos2007-02-137-821/+1139
| | | | | | | | | | | | | | | | | | | 2007-02-13 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ps/Makefile.am: * backend/ps/ps-document.[ch]: (ps_document_init), (ps_document_dispose), (document_load), (ps_document_load), (save_document), (save_page_list), (ps_document_get_n_pages), (ps_document_get_page_size), (ps_document_get_info), (ps_interpreter_page_rendered), (ps_async_renderer_render_pixbuf), (ps_interpreter_thumbnail_rendered), (ps_document_render_thumbnail), (ps_document_thumbnails_get_thumbnail), (ps_document_thumbnails_get_dimensions), (ps_document_document_thumbnails_iface_init): * backend/ps/ps.[ch]: (psgetpagebox): * backend/ps/ps-interpreter.[ch]: Add support for thumbnails in ps backend. Fixes bug #164755. svn path=/trunk/; revision=2323
* Check return value of psscan before trying to use it. Fixes bug #372414.Tom Parker2007-02-111-38/+37
| | | | | | | | | 2007-02-11 Tom Parker <palfrey@tevp.net> * backend/ps/ps-document.c: (document_load): Check return value of psscan before trying to use it. Fixes bug #372414. svn path=/trunk/; revision=2314
* Check whether there are missing files in indirect multipage djvuCarlos Garcia Campos2007-02-101-4/+53
| | | | | | | | | | 2007-02-10 Carlos Garcia Campos <carlosgc@gnome.org> * po/POTFILES.in: * backend/djvu/djvu-document.c: (djvu_document_load): Check whether there are missing files in indirect multipage djvu documents. Fixes bug #361683. svn path=/trunk/; revision=2306
* Make sure g_markup_escape_text receives a valid utf-8 string. Fixes bugCarlos Garcia Campos2007-02-051-1/+43
| | | | | | | | | 2007-02-05 Carlos Garcia Campos <carlosgc@gnome.org> * backend/djvu/djvu-links.c: (str_to_utf8), (build_tree): Make sure g_markup_escape_text receives a valid utf-8 string. Fixes bug #373715. svn path=/trunk/; revision=2296
* Fix memory leak.Carlos Garcia Campos2007-02-051-1/+4
| | | | | | | | 2007-02-05 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ps/ps.c: (psscan): Fix memory leak. svn path=/trunk/; revision=2295
* Support for PDF, PS and EPS compressed files. Fixes bug #307087.Carlos Garcia Campos2007-02-031-110/+7
| | | | | | | | | | | | | | | | 2007-02-03 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/ps/ps-document.c: (ps_document_init), (ps_document_dispose), (ps_interpreter_start), (document_load), (save_document), (save_page_list): * libdocument/ev-file-helpers.[ch]: (ev_file_uncompress): * libdocument/ev-document-factory.c: (ev_document_factory_get_from_mime), (get_document_from_uri), (free_uncompressed_uri), (ev_document_factory_get_document): * shell/ev-window.c: (ev_window_cmd_file_open_copy_at_dest): Support for PDF, PS and EPS compressed files. Fixes bug #307087. svn path=/trunk/; revision=2291
* Handle ghostscript interpreter crashes.Carlos Garcia Campos2007-02-031-3/+16
| | | | | | | | | 2007-02-03 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ps/ps-document.c: (ps_interpreter_finished), (ps_interpreter_start), (ps_interpreter_failed): Handle ghostscript interpreter crashes. svn path=/trunk/; revision=2288
* Rework ps-document. Code cleanups, remove deprecated code.Carlos Garcia Campos2007-02-023-816/+781
| | | | | | | | | | | | | | | | | | 2007-02-02 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ps/Makefile.am: * backend/ps/ps-document.[ch]: (ps_section_free), (ps_document_init), (ps_document_dispose), (ps_document_class_init), (ps_interpreter_input), (ps_interpreter_output), (ps_interpreter_error), (setup_interpreter_env), (ps_interpreter_start), (ps_interpreter_stop), (ps_interpreter_failed), (ps_interpreter_is_ready), (check_filecompressed), (document_load), (ps_document_load), (ps_document_get_n_pages), (setup_page), (setup_pixmap), (ps_document_widget_event), (send_ps), (ps_document_next_page), (render_page): Rework ps-document. Code cleanups, remove deprecated code. svn path=/trunk/; revision=2284
* Implements another history variantNickolay V. Shmyrev2007-01-282-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-01-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * NOTES: * backend/djvu/djvu-links.c: (djvu_links_get_links_model): * backend/pdf/ev-poppler.cc: * libdocument/ev-document-links.h: * libdocument/ev-link.c: (ev_link_get_page): * libdocument/ev-link.h: * shell/ev-history.c: (ev_history_init), (ev_history_class_init), (ev_history_add_link): * shell/ev-history.h: * shell/ev-navigation-action.c: (activate_menu_item_cb), (new_history_menu_item), (build_menu): * shell/ev-page-cache.c: (ev_page_cache_set_current_page_history): * shell/ev-sidebar-links.c: (create_loading_model), (print_section_cb), (ev_sidebar_links_construct), (fill_page_labels), (update_page_callback_foreach), (update_page_callback), (job_finished_callback): * shell/ev-view.c: (ev_view_handle_link): * shell/ev-window.c: (ev_window_find_chapter), (ev_window_add_history), (view_handle_link_cb), (history_changed_cb): Implements another history variant svn path=/trunk/; revision=2264
* Correctly handle impress document errors. Fixes nautilus crash in propertyTom Parker2007-01-251-10/+27
| | | | | | | | | | | | | | 2007-01-25 Tom Parker <palfrey@tevp.net> * backend/impress/impress-document.c: (impress_document_load), (impress_document_finalize), (impress_document_init): * properties/ev-properties-main.c: (ev_properties_get_pages): Correctly handle impress document errors. Fixes nautilus crash in property page #370491. svn path=/trunk/; revision=2250
* Fix memory leaks in ps backend.Carlos Garcia Campos2007-01-231-0/+4
| | | | | | | | 2007-01-23 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ps/ps-document.c: (start_interpreter): Fix memory leaks in ps backend. svn path=/trunk/; revision=2246
* Do not acquire fontconfig lock in impress backend, since it is using theCarlos Garcia Campos2007-01-211-1/+4
| | | | | | | | | | 2007-01-21 Carlos Garcia Campos <carlosgc@gnome.org> * backend/impress/impress-document.c: (impress_document_render_pixbuf): Do not acquire fontconfig lock in impress backend, since it is using the main loop for rendering. svn path=/trunk/; revision=2242
* Format string is corrected, fixes bug #397129.Theppitak Karoonboonyanan2007-01-161-1/+2
| | | | | | | | | | | 2007-01-16 Theppitak Karoonboonyanan <thep@linux.thai.net> * backend/dvi/mdvi-lib/fontmap.c: (mdvi_load_fontmap): Format string is corrected, fixes bug #397129. svn path=/trunk/; revision=2228
* Reorganize source tree.Nickolay V. Shmyrev2007-01-08142-5019/+30375
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Do not include ev-poppler.h when pdf is disabled.Carlos Garcia Campos2007-01-081-1/+2
| | | | | | | | 2007-01-08 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ev-document-factory.c: Do not include ev-poppler.h when pdf is disabled. svn path=/trunk/; revision=2196
* Add image handling support. Fixes bugs #310008 and #325047. ImagesCarlos Garcia Campos2007-01-075-0/+355
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-01-07 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * data/evince-ui.xml: * pdf/ev-poppler.cc: (pdf_document_images_get_images), (pdf_document_document_images_iface_init): * backend/Makefile.am: * backend/ev-document-images.[ch]: * backend/ev-image.[ch]: * lib/ev-file-helpers.[ch]: (ev_tmp_filename): * shell/ev-jobs.[ch]: (ev_job_render_new), (ev_job_render_run), (ev_job_xfer_run): * shell/ev-pixbuf-cache.[ch]: (dispose_cache_job_info), (move_one_job), (copy_job_to_job_info), (add_job_if_needed), (ev_pixbuf_cache_get_image_mapping): * shell/ev-window.c: (view_menu_link_popup), (view_menu_image_popup), (view_menu_popup_cb), (ev_window_dispose), (image_save_dialog_response_cb), (ev_view_popup_cmd_save_image_as), (ev_view_popup_cmd_copy_image): * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_get_image_at_location), (ev_view_do_popup_menu), (ev_view_popup_menu), (ev_view_button_press_event), (ev_view_drag_data_get), (ev_view_drag_motion), (ev_view_drag_data_received), (ev_view_motion_notify_event), (ev_view_button_release_event), (ev_view_finalize), (ev_view_class_init): Add image handling support. Fixes bugs #310008 and #325047. Images selection is not supported yet. svn path=/trunk/; revision=2194
* Actually remove .cvsignore filesChristian Persch2006-12-311-4/+0
| | | | svn path=/trunk/; revision=2181
* Add page transition support in presentation mode. At the moment only pageCarlos Garcia Campos2006-12-273-0/+113
| | | | | | | | | | | | | | | | | 2006-12-27 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/Makefile.am: * backend/ev-document-transition.[ch]: * pdf/ev-poppler.cc: (pdf_document_get_page_duration), (pdf_document_page_transition_iface_init): * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_destroy), (page_changed_cb), (ev_view_set_presentation), (transition_next_page), (ev_view_presentation_transition_stop), (ev_view_presentation_transition_start), (ev_view_next_page): Add page transition support in presentation mode. At the moment only page duration is supported, but not transition effects. Fixes bug #309815.
* Run find_link_dest with document lock held, since it's called by linksCarlos Garcia Campos2006-12-251-0/+2
| | | | | | | 2006-12-25 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ev-document-links.c: (ev_document_links_find_link_dest): Run find_link_dest with document lock held, since it's called by links thread and main thread at the same time.
* Use an specific lock for FontConfig. Hopefully it fixes some crashesCarlos Garcia Campos2006-12-182-2/+29
| | | | | | | | | | | | 2006-12-18 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ev-document.[ch]: (ev_document_get_fc_mutex), (ev_document_fc_mutex_lock), (ev_document_fc_mutex_unlock): * pdf/ev-poppler.cc: (make_thumbnail_for_size): * shell/ev-jobs.c: (ev_job_render_run), (ev_job_fonts_run): * shell/ev-view.c: (draw_loading_text): * shell/ev-window.c: (ev_window_cmd_file_properties): Use an specific lock for FontConfig. Hopefully it fixes some crashes related to using FontConfig from different threads.
* Adds a paper size field to the properties dialog. Fixes bug #307315. PatchWouter Bolsterlee2006-12-041-1/+4
| | | | | | | | | | | | | | | 2006-12-04 Wouter Bolsterlee <wbolster@cvs.gnome.org> * backend/ev-document-info.h: * data/evince-properties.glade: * pdf/ev-poppler.cc: * properties/ev-properties-view.c: (ev_regular_paper_size), (ev_properties_view_set_info): * ps/ps-document.c: (ps_document_get_info): Adds a paper size field to the properties dialog. Fixes bug #307315. Patch by Kasper Svendsen (with some i18n changes done by me).
* Allow printing to PDF when suppoted by the backend.Carlos Garcia Campos2006-12-035-144/+177
| | | | | | | | | | | | | | 2006-12-03 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/Makefile.am: * backend/ev-file-exporter.[ch]: * pdf/ev-poppler.cc: (pdf_document_file_exporter_*): * ps/ps-document.c: (ps_document_file_exporter_*): * tiff/tiff-document.c: (tiff_document_document_file_exporter_*): * shell/ev-jobs.[ch]: (ev_job_print_new), (ev_job_print_run): * shell/ev-window.c: (ev_window_setup_action_sensitivity), (ev_window_print_dialog_response_cb), (ev_window_print_range): Allow printing to PDF when suppoted by the backend.
* Make pdf compilation optional. See bug #38007.Yevgen Muntyan2006-11-302-1/+9
| | | | | | | | | | | | 2006-11-30 Yevgen Muntyan <muntyan@tamu.edu> * Makefile.am: * backend/Makefile.am: * backend/ev-document-factory.c: (ev_document_factory_add_filters): * configure.ac: * shell/ev-window.c: (build_comments_string): Make pdf compilation optional. See bug #38007.
* Use always ev_tmp_dir instead of g_get_tmp_dir. Fix a race condition inCarlos Garcia Campos2006-11-152-1/+3
| | | | | | | | | | | | | | 2006-11-15 Carlos Garcia Campos <carlosgc@gnome.org> * backend/Makefile.am: * backend/ev-attachment.c: (ev_attachment_open): * lib/ev-file-helpers.[ch]: (ensure_dir_exists), (ev_dot_dir), (ev_tmp_dir), (ev_tmp_filename): * shell/ev-sidebar-attachments.c: (ev_sidebar_attachments_drag_data_get): * shell/ev-window.c: (ev_window_clear_temp_file): Use always ev_tmp_dir instead of g_get_tmp_dir. Fix a race condition in ensure_dir_exists. Abort without crashing when we can't create user's directory.
* Assigned OpenDocument presenation MIME type to the Impress backend. AddedWouter Bolsterlee2006-10-081-8/+16
| | | | | | | | | | | 2006-10-08 Wouter Bolsterlee <wbolster@gnome.org> * backend/ev-document-factory.c: * configure.ac: Assigned OpenDocument presenation MIME type to the Impress backend. Added some missing (but harmless) #ifdefs in the document factory as well to make things consistent again. Fixes bug #360658.
* Reduce relocations. Bug #360616.Christian Persch2006-10-089-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Load document even if extension is wrong.Nickolay V. Shmyrev2006-10-081-13/+11
| | | | | | | | | 2006-10-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * backend/ev-document-factory.c: (ev_document_factory_get_document): Load document even if extension is wrong.
* Fix crash when opening a pdf with password protection.Carlos Garcia Campos2006-08-211-14/+23
| | | | | | 2006-08-21 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ev-document-factory.c: (ev_document_factory_get_document): Fix crash when opening a pdf with password protection.
* More correct handling of document loading. Fixes bug #349043.Nickolay V. Shmyrev2006-08-171-6/+27
| | | | | | | | | | | 2006-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * backend/ev-document-factory.c: (ev_document_factory_get_document): * tiff/tiff-document.c: (tiff_document_finalize): More correct handling of document loading. Fixes bug #349043.
* Remove GNOME_VFS_OPEN_TRUNCATE flag which is only available with gnome-vfsCarlos Garcia Campos2006-08-151-2/+1
| | | | | | | 2006-08-14 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ev-attachment.c: (ev_attachment_save): Remove GNOME_VFS_OPEN_TRUNCATE flag which is only available with gnome-vfs >= 2.9.3 and it's not really needed. Fixes bug #351493
* New backend to support impress slides. Fixes bug #30867.Bastien Nocera2006-07-103-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-07-11 Bastien Nocera <hadess@hadess.net> * Makefile.am: * backend/Makefile.am: * backend/ev-document-factory.c: (ev_document_factory_add_filters): * backend/ev-document-factory.h: * configure.ac: * impress/.cvsignore: * impress/Makefile.am: * impress/common.h: * impress/document.c: (_imp_load_xml), (imp_open), (imp_nr_pages), (imp_get_page), (imp_next_page), (imp_prev_page), (imp_get_page_no), (imp_get_page_name), (imp_get_xml), (imp_close): * impress/f_oasis.c: (render_object), (render_page), (get_geometry), (_imp_oasis_load): * impress/f_oo13.c: (render_object), (render_page), (get_geometry), (_imp_oo13_load): * impress/iksemel.c: (iks_malloc), (iks_free), (iks_set_mem_funcs), (iks_strdup), (iks_strcat), (iks_strcmp), (iks_strcasecmp), (iks_strncmp), (iks_strncasecmp), (iks_strlen), (iks_escape), (iks_unescape), (find_space), (iks_stack_new), (iks_stack_alloc), (iks_stack_strdup), (iks_stack_strcat), (iks_stack_stat), (iks_stack_delete), (iks_sax_new), (iks_sax_extend), (iks_parser_stack), (iks_user_data), (iks_nr_bytes), (iks_nr_lines), (stack_init), (stack_expand), (sax_core), (iks_parse), (iks_parser_reset), (iks_parser_delete), (iks_new), (iks_new_within), (iks_insert), (iks_insert_cdata), (iks_insert_attrib), (iks_insert_node), (iks_hide), (iks_delete), (iks_next), (iks_next_tag), (iks_prev), (iks_prev_tag), (iks_parent), (iks_root), (iks_child), (iks_first_tag), (iks_attrib), (iks_find), (iks_find_cdata), (iks_find_attrib), (iks_find_with_attrib), (iks_stack), (iks_type), (iks_name), (iks_cdata), (iks_cdata_size), (iks_has_children), (iks_has_attribs), (escape_size), (my_strcat), (escape), (iks_string), (iks_copy_within), (iks_copy), (tagHook), (cdataHook), (deleteHook), (iks_dom_new), (iks_set_size_hint), (iks_tree), (iks_load), (iks_save): * impress/iksemel.h: * impress/imposter.h: * impress/impress-document.c: (G_DEFINE_TYPE_WITH_CODE), (imp_render_draw_bezier_real), (imp_render_get_size), (imp_render_set_fg_color), (imp_render_draw_line), (imp_render_draw_rect), (imp_render_draw_polygon), (imp_render_draw_arc), (imp_render_draw_bezier), (imp_render_open_image), (imp_render_get_image_size), (imp_render_scale_image), (imp_render_draw_image), (imp_render_close_image), (imp_render_markup), (imp_render_get_text_size), (imp_render_draw_text), (impress_document_load), (impress_document_save), (impress_document_get_n_pages), (impress_document_get_page_size), (imp_render_get_from_drawable), (impress_document_render_pixbuf), (impress_document_finalize), (impress_document_class_init), (impress_document_can_get_text), (impress_document_get_info), (impress_document_document_iface_init), (impress_document_thumbnails_get_thumbnail), (impress_document_thumbnails_get_dimensions), (impress_document_document_thumbnails_iface_init), (impress_document_init): * impress/impress-document.h: * impress/internal.h: * impress/r_back.c: (_imp_fill_back): * impress/r_draw.c: (_imp_draw_rect), (_imp_draw_line_end), (_imp_draw_image), (_imp_tile_image): * impress/r_geometry.c: (r_parse_color), (r_get_color), (fg_color), (r_get_x), (r_get_y), (r_get_angle), (r_get_viewbox), (r_polygon), (r_polyline): * impress/r_gradient.c: (poly_rotate), (r_draw_gradient_simple), (r_draw_gradient_complex), (r_draw_gradient): * impress/r_style.c: (get_style), (r_get_style), (get_style_x), (r_get_bullet): * impress/r_text.c: (add_line), (add_span), (calc_sizes), (calc_pos), (_imp_draw_layout), (text_span), (text_p), (text_list), (r_text): * impress/render.c: (imp_create_context), (imp_context_set_page), (imp_context_set_step), (imp_render), (imp_delete_context): * impress/render.h: * impress/zip.c: (zip_error), (find_cd), (get_long), (get_word), (list_files), (zip_open), (zip_close), (find_file), (seek_file), (zip_load_xml), (zip_get_size), (zip_load): * impress/zip.h: * shell/ev-utils.c: New backend to support impress slides. Fixes bug #30867.
* Use consistent quoting style. Fix for the bug #320285.Nickolay V. Shmyrev2006-05-272-5/+5
| | | | | | | | | | | | | | | | | * backend/ev-attachment.c: (ev_attachment_save), (ev_attachment_launch_app), (ev_attachment_open): * backend/ev-document-factory.c: (get_document_from_uri): * cut-n-paste/recent-files/egg-recent-view-uimanager.c: (egg_recent_view_uimanager_set_list): * ps/ps-document.c: (check_filecompressed), (document_load), (ps_document_load): * shell/ev-metadata-manager.c: (load_values): * shell/ev-password.c: (ev_password_dialog_set_property): * shell/ev-view.c: (tip_from_link): * shell/ev-window.c: (file_save_dialog_response_cb), (ev_window_print_dialog_response_cb): Use consistent quoting style. Fix for the bug #320285.
* Fix page-label command line option. Bug #342070.Nickolay V. Shmyrev2006-05-272-1/+42
| | | | | | | | | | | | | | | * backend/ev-link-dest.c: (ev_link_dest_type_get_type), (ev_link_dest_get_page_label), (ev_link_dest_get_property), (ev_link_dest_set_property), (ev_link_dest_finalize), (ev_link_dest_class_init), (ev_link_dest_new_named), (ev_link_dest_new_page_label): * backend/ev-link-dest.h: * shell/ev-application.c: (ev_application_open_uri): * shell/ev-view.c: (goto_dest): * shell/ev-window.c: * shell/ev-window.h: Fix page-label command line option. Bug #342070.
* Add support for Named Action linksCarlos Garcia Campos2006-05-042-1/+45
| | | | | | | | | | 2006-05-03 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ev-link-action.[ch]: * pdf/ev-poppler.cc: (ev_link_from_action): * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_handle_link), (tip_from_action_named): * shell/ev-window.c: (do_action_named), (view_external_link_cb): Add support for Named Action links
* Rework links system, it adds support for remote links now and it makesCarlos Garcia Campos2006-05-0211-522/+1010
| | | | | | | | | | | | | | | | | | | | | | | | 2006-05-02 Carlos Garcia Campos <carlosgc@gnome.org> * backend/Makefile.am: * backend/ev-document-links.[ch]: * backend/ev-document.[ch]: * backend/ev-link-action.[ch]: * backend/ev-link-dest.[ch]: * backend/ev-link.[ch]: * pdf/ev-poppler.cc: (pdf_document_find_link_dest), (ev_link_dest_from_dest), (ev_link_from_action), (build_tree): * shell/ev-page-action.c: (build_new_tree_cb): * shell/ev-sidebar-links.c: (get_page_from_dest), (print_section_cb), (links_page_num_func), (update_page_callback): * shell/ev-view.[ch]: (ev_view_goto_dest), (ev_view_handle_link), (tip_from_link): * shell/ev-jobs.c: * shell/ev-window.[ch]: (ev_window_open_uri), (sidebar_links_link_activated_cb), (ev_view_popup_cmd_open_link): * shell/ev-application.[ch]: (ev_application_open_window), (ev_application_open_uri): Rework links system, it adds support for remote links now and it makes easier to add new kinds of actions and destinations. Fixes bug #317292
* Allow multiple selection of attachmentsCarlos Garcia Campos2006-04-301-4/+6
| | | | | | | | 2006-04-29 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ev-attachment.c: * shell/ev-attachment-bar.c: * shell/ev-window.c: Allow multiple selection of attachments
* Do not load the document twice when there isn't errorsCarlos Garcia Campos2006-04-061-2/+4
| | | | | | 2006-04-06 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ev-document-factory.c: Do not load the document twice when there isn't errors
* Fix a crash when there isn't a default application to open an attachmentCarlos Garcia Campos2006-04-041-3/+15
| | | | | | | 2006-04-03 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ev-attachment.c: Fix a crash when there isn't a default application to open an attachment
* Fallback even if extension is unknownNickolay V. Shmyrev2006-04-031-5/+3
|
* Added missing files.Carlos Garcia Campos2006-04-032-0/+467
| | | | | | | 2006-04-03 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ev-attachment.[ch]: * shell/ev-attachment-bar.[ch]: Added missing files.
* Add support for PDF attachments. Fixes bug #325143Nickolay V. Shmyrev2006-04-033-0/+29
| | | | | | | | | | | | | | | | * backend/Makefile.am: * data/evince-ui.xml: * backend/ev-attachment.[ch]: * backend/ev-document.[ch]: (ev_document_has_attachments), (ev_document_get_attachments): * pdf/ev-poppler.cc: (pdf_document_has_attachments), (attachment_save_to_buffer), (pdf_document_get_attachments), (pdf_document_document_iface_init): * shell/Makefile.am: * shell/ev-attachment-bar.[ch]: * shell/ev-window.c: Add support for PDF attachments. Fixes bug #325143
* Cleanup mime type detection on document load. Fix for the bug #336448.Nickolay V. Shmyrev2006-04-022-14/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * backend/ev-document-factory.c: (get_document_from_uri), (ev_document_factory_get_document): * backend/ev-document-factory.h: * properties/ev-properties-main.c: (ev_properties_get_pages): * shell/Makefile.am: * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked), (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue), (ev_job_queue_remove_job): * shell/ev-job-queue.h: * shell/ev-job-xfer.c: * shell/ev-job-xfer.h: * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init), (ev_job_fonts_new), (ev_job_fonts_run), (ev_job_xfer_init), (ev_job_xfer_dispose), (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run): * shell/ev-jobs.h: * shell/ev-window.c: (ev_window_is_empty), (password_dialog_response), (ev_window_clear_xfer_job), (ev_window_xfer_job_cb), (ev_window_open_uri), (ev_window_cmd_focus_page_selector), (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward), (ev_window_cmd_continuous), (ev_window_cmd_dual), (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width), (ev_window_dispose): * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): * Cleanup mime type detection on document load. Fix for the bug #336448.
* Rework factory functions so they are placed now in a single fileNickolay V. Shmyrev2006-03-302-26/+195
| | | | | | | | | | | | | | | | | | | | * backend/ev-document-factory.c: (ev_document_factory_get_from_mime), (ev_document_factory_get_all_mime_types), (get_document_from_uri), (ev_document_factory_get_document), (file_filter_add_mime_list_and_free), (ev_document_factory_add_filters): * backend/ev-document-factory.h: * properties/ev-properties-main.c: (ev_properties_get_pages): * shell/Makefile.am: * shell/ev-application.c: * shell/ev-job-xfer.c: (ev_job_xfer_run): * shell/ev-window.c: (ev_window_cmd_file_open), (ev_window_cmd_save_as): * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): Rework factory functions so they are placed now in a single file ev-document-factory.c