2009-02-17 Carlos Garcia Campos * configure.ac: Update for release 2.25.91 2009-02-16 Thomas H.P. Andersen * backend/impress/r_gradient.c: (r_draw_gradient): Replace deprecated GTK symbol in commented out code. Bug #571707 2009-02-16 Carlos Garcia Campos * NEWS: Update for release 2.25.91. 2009-02-16 Christian Persch * libdocument/ev-file-helpers.c: (get_mime_type_from_uri): Fix a freed memory read. 2009-02-15 Christian Persch * backend/dvi/dvi-document.c: (hsb2rgb): Fix signed/unsigned compiler warnings. 2009-02-15 Christian Persch * libdocument/Makefile.am: * libview/Makefile.am: Rename GIRs to EvinceDocument/EvinceView. 2009-02-15 Christian Persch * libdocument/ev-document-type-builtins.c.template: * libview/ev-view-type-builtins.c.template: Use g_intern_static_string. 2009-02-14 Christian Persch * backend/impress/impress-document.c: (impress_document_save): Fill in the error. 2009-02-14 Christian Persch * libdocument/ev-document.c: (ev_document_load): Add code to catch backends incorrectly implementing the load vfunc. 2009-02-14 Christian Persch * 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. 2009-02-14 Christian Persch * shell/ev-window.c: (ev_window_load_job_cb): Use g_error_matches. 2009-02-14 Christian Persch * backend/pdf/ev-poppler.cc: Plug a mem leak. 2009-02-14 Christian Persch * backend/dvi/dvi-document.c: (dvi_document_load): Don't overwite an error. 2009-02-14 Christian Persch * backend/djvu/djvu-document.c: (djvu_document_load): Make sure to always set @error when returning FALSE. Fix a typo. 2009-02-14 Christian Persch * backend/tiff/tiff-document.c: (tiff_document_load): Make sure to always set @error when returning FALSE. 2009-02-14 Christian Persch * backend/comics/comics-document.c: (comics_document_load): Make sure to always set @error when returning FALSE. 2009-02-14 Christian Persch * backend/impress/impress-document.c: (impress_document_load): Plug a mem leak. 2009-02-14 Christian Persch * backend/impress/impress-document.c: (impress_document_load): Don't overwrite an error. 2009-02-14 Christian Persch * libdocument/ev-document.c: (ev_document_info_copy): Remove unnecessary NULL check; g_strdup() is NULL-safe. 2009-02-14 Christian Persch * 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. 2009-02-14 Christian Persch * libdocument/ev-document-factory.c: (get_document_from_uri): Use the content type to get the description, not the MIME type. 2009-02-14 Christian Persch * 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. 2009-02-13 Christian Persch * 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. 2009-02-13 Christian Persch * libdocument/ev-file-helpers.c: (get_mime_type_from_data): Don't leak the input stream. 2009-02-13 Christian Persch * libdocument/ev-file-helpers.c: (get_mime_type_from_data): Propagate all errors upwards. 2009-02-13 Christian Persch * libdocument/ev-file-helpers.c: (get_mime_type_from_data): Don't use more bytes from buffer than were read from the file. 2009-02-15 Nickolay V. Shmyrev * properties/ev-properties-view.c (set_property): Fixes bug #571787. 2009-02-14 Carlos Garcia Campos * shell/eggfindbar.c: (egg_find_bar_init): Use gtk_tool_button_set_use_underline() for next/previous buttons so that the underline is used for the mnemonic. Fixes bug #571547. 2009-02-09 Carlos Garcia Campos * shell/ev-window.c: (setup_document_from_metadata), (setup_sidebar_from_metadata), (setup_document_from_metadata), (setup_view_from_metadata), (ev_window_set_document), (ev_window_load_job_cb), (ev_window_reload_job_cb), (ev_window_reload_remote), (ev_window_init): Do not use metadata when reloading the document, so that the window is not resized when reloading. See bugs #571051 and #304249. 2009-02-09 Carlos Garcia Campos * configure.ac: * cut-n-paste/smclient/Makefile.am: Fix smclient libs on cycgwin. See bug #339172. 2009-02-08 Christian Persch * configure.ac: * libdocument/Makefile.am: * libview/Makefile.am: Add experimental introspection support. Disabled by default; use --enable-introspection to enable it. Bug #569083. 2009-02-08 Christian Persch * libview/Makefile.am: Link libevdocument.la to libevview.la. 2009-02-05 Christian Persch * 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. 2009-02-05 Hib Eris * shell/ev-application.c: Include gdkx.h only with X11. See bug #339172. 2009-02-05 Hib Eris * backend/pdf/pdfdocument.evince-backend.in: Add application/x-ext-pdf mime type for pdf backend. See bug #339172. 2009-02-05 Carlos Garcia Campos * configure.ac: * cut-n-paste/smclient/Makefile.am: * cut-n-paste/smclient/eggdesktopfile.c: * cut-n-paste/smclient/eggsmclient-win32.c: * shell/main.c: Make session manager code compile for w32. These changes have been taken from upstream libegg. Based on patch by Hib Eris. See bug #339172. 2009-02-05 Hib Eris * cut-n-paste/totem-screensaver/totem-scrsaver.c: Make screensaver code compile for w32. These changes have been copied from upstream totem. See bug #339172. 2009-02-05 Carlos Garcia Campos * configure.ac: * shell/ev-window.c: (ev_window_setup_action_sensitivity): Make use of GConf optional. Based on patch by Hib Eris. See bug #339172. 2009-02-04 Christian Persch * 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. 2009-02-04 Christian Persch * 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.