| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* libdocument/ev-document-factory.c:
(ev_document_factory_get_document): If the document is encrypted,
the ev_document_factory_get_document() is supposed to return the
document *and* fill in the error. So let's propagate the local error.
svn path=/trunk/; revision=3512
|
|
|
|
|
|
|
|
| |
* libdocument/ev-document-factory.c:
(ev_document_factory_get_document): Use a local GError, and propagate
as appropriate, making sure always to fill in @error if returning NULL.
svn path=/trunk/; revision=3459
|
|
|
|
| |
svn path=/trunk/; revision=3449
|
|
|
|
| |
svn path=/trunk/; revision=3446
|
|
|
|
|
|
|
|
| |
* libdocument/ev-document-factory.c: (get_document_from_uri): Document
that this returns either NULL and fills in error, or non-NULL. Use a
local GError so we can reliably check it.
svn path=/trunk/; revision=3445
|
|
|
|
|
|
|
| |
* libdocument/ev-document-factory.c: (get_document_from_uri): Use the
content type to get the description, not the MIME type.
svn path=/trunk/; revision=3443
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-11-29 Carlos Garcia Campos <carlosgc@gnome.org>
* libdocument/ev-document-factory.c: (get_document_from_uri),
(ev_document_factory_get_document):
* libdocument/ev-file-helpers.[ch]: (get_mime_type_from_uri),
(get_mime_type_from_data), (ev_file_get_mime_type):
Move mime-type functions from document-facrory to file-helpers so
that it can be reused.
svn path=/trunk/; revision=3279
|
|
|
|
| |
svn path=/trunk/; revision=3240
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-20 Carlos Garcia Campos <carlosgc@gnome.org>
* libdocument/ev-document-factory.c: (get_mime_type_from_data),
(get_document_from_uri):
Make sure we always return a valid error struct when
get_document_from_uri fails. Fixes nautilus crash, see bug
#542548.
svn path=/trunk/; revision=3076
|
|
|
|
|
|
|
|
|
|
| |
2008-04-24 Carlos Garcia Campos <carlosgc@gnome.org>
* libdocument/ev-document-factory.c: (get_document_from_uri):
Fix memory leak.
svn path=/trunk/; revision=3022
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-24 Jean Baptiste Lallement <jeanbaptiste.lallement@gmail.com>
* libdocument/ev-document-factory.c (get_mime_type_from_uri),
(get_mime_type_from_data), (get_document_from_uri),
(ev_document_factory_get_document):
Improved error message about file opening failture.
Bug #529129.
svn path=/trunk/; revision=3021
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-19 Carlos Garcia Campos <carlosgc@gnome.org>
* libdocument/ev-document-factory.c: (get_document_from_uri):
Use the pixbuf backend only when the mime type is not supported by
any of the other backend so that tiff documents, for instance, are
handled by the tiff backend instead of the pixbuf backend. fixes
bug #520290.
svn path=/trunk/; revision=3012
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-27 Carlos Garcia Campos <carlosgc@gnome.org>
* libdocument/ev-document-factory.c: (get_mime_type_from_uri):
Duplicate mime_type string before freeing it so that it doesn't
always fail when getting mime type from uri. Fixes bug #518874.
svn path=/trunk/; revision=2931
|
|
|
|
|
|
|
|
|
|
| |
2008-01-31 Carlos Garcia Campos <carlosgc@gnome.org>
* libdocument/ev-document-factory.c: (get_mime_type_from_uri),
(get_mime_type_from_data), (get_document_from_uri):
Use g_content_type_guess() only when slow is true in
get_document_from_uri(). Fix several memory leaks.
svn path=/trunk/; revision=2883
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-30 Cosimo Cecchi <cosimoc@svn.gnome.org>
* libdocument/ev-document-factory.c:
(throw_unknown_mime_type_error), (throw_failed_to_get_info_error),
(get_document_from_uri):
Use g_content_type_guess () to get mimetype for files.
Bug #510401.
svn path=/trunk/; revision=2881
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-05-25 Carlos Garcia Campos <carlosgc@gnome.org>
* libdocument/ev-image.c: (ev_image_finalize):
* libdocument/ev-document-factory.c: (free_uncompressed_uri):
* libdocument/ev-attachment.c: (ev_attachment_finalize):
* libdocument/ev-file-helpers.[ch]: (ev_tmp_filename_unlink),
(ev_tmp_uri_unlink):
Add functions to delete temporary files created by evince in a safe
way.
* shell/ev-window.c: (ev_window_clear_local_uri),
(open_xfer_update_progress_callback),
(save_xfer_update_progress_callback), (ev_window_save_remote),
(file_save_dialog_response_cb), (ev_window_cmd_save_as),
(image_save_dialog_response_cb), (ev_view_popup_cmd_save_image_as),
(attachment_save_dialog_response_cb),
(ev_attachment_popup_cmd_save_attachment_as):
Allow saving a copy of a document, image or attachment to a remote
location. Fixes bug #440754.
svn path=/trunk/; revision=2478
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
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
|