| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
It allows rendering pages into a cairo context.
|
|
|
|
|
| |
Uses common function for a temporary file creation. Fixes crash in
GNOME bug #582108.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Added flag -no-undefined required by Cygwin for installed shared
libraries since Cygwin's libtool can't track library dependency
automatically. Fixes GNOME bug #580058. Patch from Yaakov Selkowitz
<yselkowitz@users.sourceforge.net>
|
|
|
|
|
|
|
|
|
| |
* 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-file-helpers.c: (get_mime_type_from_uri): Fix a freed
memory read.
svn path=/trunk/; revision=3472
|
|
|
|
| |
svn path=/trunk/; revision=3464
|
|
|
|
|
|
|
| |
* libdocument/Makefile.am:
* libview/Makefile.am: Rename GIRs to EvinceDocument/EvinceView.
svn path=/trunk/; revision=3463
|
|
|
|
|
|
|
| |
* libdocument/ev-document-type-builtins.c.template:
* libview/ev-view-type-builtins.c.template: Use g_intern_static_string.
svn path=/trunk/; revision=3462
|
|
|
|
|
|
|
| |
* libdocument/ev-document.c: (ev_document_load): Add code to catch
backends incorrectly implementing the load vfunc.
svn path=/trunk/; revision=3460
|
|
|
|
|
|
|
|
| |
* 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=3457
|
|
|
|
| |
svn path=/trunk/; revision=3449
|
|
|
|
|
|
|
| |
* libdocument/ev-document.c: (ev_document_info_copy): Remove
unnecessary NULL check; g_strdup() is NULL-safe.
svn path=/trunk/; revision=3448
|
|
|
|
| |
svn path=/trunk/; revision=3447
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
* libdocument/ev-file-helpers.c: (compression_run): Make sure to fill
in @error on failure. Also, since this is exported in public APIs,
cope with the passed-in GError** being NULL.
svn path=/trunk/; revision=3442
|
|
|
|
| |
svn path=/trunk/; revision=3441
|
|
|
|
|
|
|
|
| |
* libdocument/ev-file-helpers.c: (get_mime_type_from_uri): NULL
safety.
(get_mime_type_from_data): Return the MIME type, not the content type.
svn path=/trunk/; revision=3440
|
|
|
|
|
|
|
| |
* libdocument/ev-file-helpers.c: (get_mime_type_from_data): Don't leak
the input stream.
svn path=/trunk/; revision=3439
|
|
|
|
|
|
|
| |
* libdocument/ev-file-helpers.c: (get_mime_type_from_data): Propagate
all errors upwards.
svn path=/trunk/; revision=3438
|
|
|
|
|
|
|
| |
* libdocument/ev-file-helpers.c: (get_mime_type_from_data): Don't use
more bytes from buffer than were read from the file.
svn path=/trunk/; revision=3437
|
|
|
|
| |
svn path=/trunk/; revision=3436
|
|
|
|
|
|
|
|
|
|
|
| |
2009-02-15 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* properties/ev-properties-view.c (set_property):
Fixes bug #571787.
svn path=/trunk/; revision=3434
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac:
* libdocument/Makefile.am:
* libview/Makefile.am: Add experimental introspection support.
Disabled by default; use --enable-introspection to enable it.
Bug #569083.
svn path=/trunk/; revision=3422
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
| |
* libdocument/ev-init.c: (ev_init): Make ev_init() also bind the
evince gettext domain, so i18n works in the library.
* properties/ev-properties-main.c: (nautilus_module_initialize):
Remove extra bindtextdomain call.
svn path=/trunk/; revision=3413
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
* libdocument/ev-document.h: Don't make GTypeInfo static. Bug #570077.
svn path=/trunk/; revision=3400
|
|
|
|
|
|
|
|
|
|
| |
2009-02-01 Carlos Garcia Campos <carlosgc@gnome.org>
* libdocument/ev-debug.h:
Fix build when debug mode is disabled.
svn path=/trunk/; revision=3395
|
|
|
|
|
|
|
|
| |
* libdocument/ev-backends-manager.c: (ev_backends_manager_load): Make
this return TRUE only if any backends were loaded, so the ev_init()
function works as documented.
svn path=/trunk/; revision=3393
|
|
|
|
| |
svn path=/trunk/; revision=3392
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* evince-document.h:
* libdocument/Makefile.am:
A libdocument/ev-init.[ch]: Add single init/shutdown method. Bug
#569117.
* libdocument/ev-backends-manager.c: (_ev_backends_manager_init):
* libdocument/ev-backends-manager.h:
* libdocument/ev-debug.c: (_ev_debug_init), (_ev_debug_shutdown):
* libdocument/ev-debug.h:
* libdocument/ev-file-helpers.c: (_ev_file_helpers_init),
(_ev_file_helpers_shutdown):
* libdocument/ev-file-helpers.h: Make these init/shutdown methods
private.
* properties/ev-properties-main.c: (nautilus_module_initialize),
(nautilus_module_shutdown):
* shell/main.c: (main):
* thumbnailer/evince-thumbnailer.c: (main): Use the new single
init/shutdown method.
svn path=/trunk/; revision=3391
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libdocument/ev-file-helpers.c: (ev_dir_ensure_exists),
(ev_tmp_dir), (ev_file_helpers_init), (ev_file_helpers_shutdown):
* libdocument/ev-file-helpers.h:
* shell/ev-application.c: (ev_application_shutdown),
(ev_application_init), (ev_application_screensaver_disable),
(ev_application_save_print_settings),
(ev_application_set_page_setup):
* shell/ev-application.h:
* shell/ev-metadata-manager.c: (load_values),
(ev_metadata_manager_save): Move ev_dot_dir() from libdocument to
shell, since it shouldn't be public API. Bug #569120.
* libdocument/ev-file-helpers.c: (ev_tmp_filename): Use
g_get_prgname() instead of hardcoding "evince" for the tmpdir name.
svn path=/trunk/; revision=3383
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-24 Carlos Garcia Campos <carlosgc@gnome.org>
* libdocument/ev-document.h:
Add EV_DEFINE_INTERFACE macro.
* libdocument/ev-async-renderer.c:
* libdocument/ev-document-find.c:
* libdocument/ev-document-fonts.c:
* libdocument/ev-document-forms.c:
* libdocument/ev-document-images.c:
* libdocument/ev-document-layers.c:
* libdocument/ev-document-links.c:
* libdocument/ev-document-security.c:
* libdocument/ev-document-thumbnails.c:
* libdocument/ev-document-transition.c:
* libdocument/ev-document.c:
* libdocument/ev-file-exporter.c:
* libdocument/ev-selection.c:
Use EV_DEFINE_INTERFACE macro to define interfaces in
libdocument. See bug #568228.
svn path=/trunk/; revision=3379
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-24 Carlos Garcia Campos <carlosgc@gnome.org>
* libdocument/ev-document.[ch]:
Add EV_DEFINE_BOXED_TYPE macro to define boxed types. See bug
#568228.
svn path=/trunk/; revision=3378
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-22 Michael J. Chudobiak <mjc@svn.gnome.org>
* libdocument/ev-file-helpers.c: (ev_xfer_uri_simple):
When saving a file, using the default permissions for the user/system,
respecting umask and any setgid bit on the directory. Uses the new
G_FILE_COPY_TARGET_DEFAULT_PERMS flag in glib 2.19.0, if available.
svn path=/trunk/; revision=3374
|
|
|
|
| |
svn path=/trunk/; revision=3373
|
|
|
|
| |
svn path=/trunk/; revision=3371
|
|
|
|
|
|
|
|
|
|
| |
2009-01-20 Tomeu Vizoso <tomeu@sugarlabs.org>
* libdocument/ev-document-info.h:
Add missing EV_TYPE_DOCUMENT_INFO. See bug #567790.
svn path=/trunk/; revision=3369
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-20 Tomeu Vizoso <tomeu@sugarlabs.org>
* libdocument/Makefile.am:
Install ev-backends-manager.h and
ev-document-type-builtins.h. Fixes bug #567787.
svn path=/trunk/; revision=3367
|
|
|
|
| |
svn path=/trunk/; revision=3362
|
|
|
|
| |
svn path=/trunk/; revision=3360
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-18 Tomeu Vizoso <tomeu@sugarlabs.org>
* libdocument/Makefile.am:
* libdocument/ev-document-info.h:
* libdocument/ev-document-type-builtins.c.template:
* libdocument/ev-document-type-builtins.h.template:
* libdocument/ev-document.c: (ev_document_info_get_type),
(ev_document_info_copy):
Make EvDocumentInfo and enums definded in ev-document-info.h
GTypes. Fixes bug #567789.
svn path=/trunk/; revision=3356
|