Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libdocument
Commit message (Collapse)AuthorAgeFilesLines
* Make ev_init() also bind the evince gettext domain, so i18n works in theChristian Persch2009-02-041-1/+7
| | | | | | | | | | * 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
* Include gi18n-lib.h instead of gi18n.h.Christian Persch2009-02-042-2/+2
| | | | | | | | | | | | | | | | | | | | * 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
* Don't make GTypeInfo static. Bug #570077.Christian Persch2009-02-011-1/+1
| | | | | | * libdocument/ev-document.h: Don't make GTypeInfo static. Bug #570077. svn path=/trunk/; revision=3400
* Fix build when debug mode is disabled.Carlos Garcia Campos2009-02-011-2/+2
| | | | | | | | | | 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
* Make this return TRUE only if any backends were loaded, so the ev_init()Christian Persch2009-01-301-1/+1
| | | | | | | | * 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
* Fix licence version: it's Lesser GPL 2.1.Christian Persch2009-01-302-2/+2
| | | | svn path=/trunk/; revision=3392
* A libdocument/ev-init.[ch]: Add single init/shutdown method. Bug #569117.Christian Persch2009-01-309-13/+149
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* Move ev_dot_dir() from libdocument to shell, since it shouldn't be publicChristian Persch2009-01-262-35/+12
| | | | | | | | | | | | | | | | | | | * 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
* Bug 569082 – use versioned directory for backendsChristian Persch2009-01-251-1/+1
| | | | | | | | | | * 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-2536-146/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add EV_DEFINE_INTERFACE macro.Carlos Garcia Campos2009-01-2414-272/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add EV_DEFINE_BOXED_TYPE macro to define boxed types. See bug #568228.Carlos Garcia Campos2009-01-242-10/+21
| | | | | | | | | | | 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
* When saving a file, using the default permissions for the user/system,Michael J. Chudobiak2009-01-221-0/+3
| | | | | | | | | | | | 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
* Bug 568229 – library needs libtool versioningChristian Persch2009-01-211-1/+6
| | | | svn path=/trunk/; revision=3373
* Bug 568224 – library should have version macrosChristian Persch2009-01-212-2/+34
| | | | svn path=/trunk/; revision=3371
* Add missing EV_TYPE_DOCUMENT_INFO. See bug #567790.Tomeu Vizoso2009-01-201-0/+2
| | | | | | | | | | 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
* Install ev-backends-manager.h and ev-document-type-builtins.h. Fixes bugTomeu Vizoso2009-01-201-2/+2
| | | | | | | | | | | 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
* Clean stamp filesNickolay V. Shmyrev2009-01-181-1/+1
| | | | svn path=/trunk/; revision=3362
* Fixes distcheckNickolay V. Shmyrev2009-01-181-0/+4
| | | | svn path=/trunk/; revision=3360
* Make EvDocumentInfo and enums definded in ev-document-info.h GTypes. FixesTomeu Vizoso2009-01-185-7/+139
| | | | | | | | | | | | | | | | 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
* Rename LIB as LIBDOCUMENT and use SHELL_CORE for cut-n-paste code.Carlos Garcia Campos2009-01-181-2/+2
| | | | | | | | | | | | | 2009-01-18 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * cut-n-paste/*/Makefile.am: * libdocument/Makefile.am: Rename LIB as LIBDOCUMENT and use SHELL_CORE for cut-n-paste code. svn path=/trunk/; revision=3352
* Remove unused marshalers stuff from libdocument.Carlos Garcia Campos2009-01-184-20/+0
| | | | | | | | | | | | | 2009-01-18 Carlos Garcia Campos <carlosgc@gnome.org> * libdocument/Makefile.am: * libdocument/ev-backend-marshal.c: * libdocument/ev-backend-marshalers.list: * libdocument/ev-document.c: Remove unused marshalers stuff from libdocument. svn path=/trunk/; revision=3350
* Move EvView specific code to a libeviview library so that it can beCarlos Garcia Campos2009-01-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-18 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * Makefile.am: * libdocument/Makefile.am: * libview/Makefile.am: * libview/ev-job-scheduler.[ch]: * libview/ev-jobs.[ch]: * libview/ev-page-cache.[ch]: * libview/ev-pixbuf-cache.[ch]: * libview/ev-timeline.[ch]: * libview/ev-transition-animation.[ch]: * libview/ev-view-accessible.[ch]: * libview/ev-view-marshal.list: * libview/ev-view.[ch]: * shell/Makefile.am: Move EvView specific code to a libeviview library so that it can be embbeded in other applications. Based on patches by Tomeu Vizoso. Fixes bug #567751. svn path=/trunk/; revision=3348
* Fix mime type handling.Hib Eris2008-12-311-1/+2
| | | | | | | | | | 2008-12-31 Hib Eris <hib@hiberis.nl> * libdocument/ev-file-helpers.c: (get_mime_type_from_uri): Fix mime type handling. svn path=/trunk/; revision=3318
* Show better warning message when temp file cannot be deleted.Carlos Garcia Campos2008-12-301-2/+4
| | | | | | | | | | 2008-12-30 Carlos Garcia Campos <carlosgc@gnome.org> * libdocument/ev-file-helpers.c: (ev_tmp_file_unlink): Show better warning message when temp file cannot be deleted. svn path=/trunk/; revision=3315
* Add GObject type as prerequisite to EvDocument interface so that documentCarlos Garcia Campos2008-12-271-0/+2
| | | | | | | | | | | 2008-12-24 Carlos Garcia Campos <carlosgc@gnome.org> * libdocument/ev-document.c: (ev_document_get_type): Add GObject type as prerequisite to EvDocument interface so that document instances can be used as GObjects. svn path=/trunk/; revision=3304
* Move mime-type functions from document-facrory to file-helpers so that itCarlos Garcia Campos2008-11-293-58/+68
| | | | | | | | | | | | | | 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
* Add optional content (layers) interface.Carlos Garcia Campos2008-11-155-0/+315
| | | | | | | | | | | | 2008-11-15 Carlos Garcia Campos <carlosgc@gnome.org> * libdocument/Makefile.am: * libdocument/ev-document-layers.[ch]: * libdocument/ev-layer.[ch]: Add optional content (layers) interface. svn path=/trunk/; revision=3264
* Initialize GError to NULL.Carlos Garcia Campos2008-11-011-1/+1
| | | | | | | | | | 2008-11-01 Carlos Garcia Campos <carlosgc@gnome.org> * libdocument/ev-file-helpers.c: (ev_xfer_uri_simple): Initialize GError to NULL. svn path=/trunk/; revision=3247
* Bug 558064 – build with single includesChristian Persch2008-10-275-5/+4
| | | | svn path=/trunk/; revision=3240
* Use GdkAppLaunchContext when available to open attachments.Carlos Garcia Campos2008-09-052-6/+25
| | | | | | | | | | | | | | 2008-09-05 Carlos Garcia Campos <carlosgc@gnome.org> * libdocument/ev-attachment.[ch]: (ev_attachment_launch_app), (ev_attachment_open): * shell/ev-sidebar-attachments.c: (ev_sidebar_attachments_button_press): * shell/ev-window.c: (ev_attachment_popup_cmd_open_attachment): Use GdkAppLaunchContext when available to open attachments. svn path=/trunk/; revision=3152
* EggSMClient copied from libeggCarlos Garcia Campos2008-08-311-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-31 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * cut-n-paste/Makefile.am: * cut-n-paste/smclient/Makefile.am: * cut-n-paste/smclient/eggdesktopfile.[ch]: * cut-n-paste/smclient/eggsmclient-private.h: * cut-n-paste/smclient/eggsmclient-xsmp.c: * cut-n-paste/smclient/eggsmclient.[ch]: EggSMClient copied from libegg * libdocument/ev-file-helpers.c: (ev_dot_dir): * shell/Makefile.am: * shell/ev-application.[ch]: (ev_application_load_session), (smclient_save_state_cb), (smclient_quit_cb), (ev_application_init_session), (ev_application_shutdown), (ev_application_init): * shell/main.c: (main): Use EggSMClient instead of gnome-client and remove libgnome and libgnomeui dependencies. svn path=/trunk/; revision=3130
* RemovedCarlos Garcia Campos2008-08-272-127/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* More #include cleanups. Again: reordering, single gtk.h includes and otherWouter Bolsterlee2008-08-035-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Rework the jobs system in order to make it simpler and more extensible. ItCarlos Garcia Campos2008-08-032-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org> * libdocument/ev-document.[ch]: (ev_document_doc_mutex_trylock), (ev_document_fc_mutex_trylock): * shell/Makefile.am: * shell/ev-job-queue.[ch]: * shell/ev-job-scheduler.[ch]: * shell/ev-jobs.[ch]: (ev_job_init), (ev_job_dispose), (ev_job_class_init), (emit_finished), (ev_job_emit_finished), (ev_job_run), (ev_job_cancel), (ev_job_failed), (ev_job_failed_from_error), (ev_job_succeeded), (ev_job_is_finished), (ev_job_is_failed), (ev_job_get_run_mode), (ev_job_set_run_mode), (ev_job_links_init), (ev_job_links_run), (ev_job_links_class_init), (ev_job_render_init), (notify_page_ready), (ev_job_render_page_ready), (ev_job_render_run), (ev_job_render_class_init), (ev_job_thumbnail_init), (ev_job_thumbnail_run), (ev_job_thumbnail_class_init), (ev_job_fonts_init), (ev_job_fonts_run), (ev_job_fonts_class_init), (ev_job_load_init), (ev_job_load_run), (ev_job_load_class_init), (ev_job_save_init), (ev_job_save_dispose), (ev_job_save_run), (ev_job_save_class_init), (ev_job_print_init), (ev_job_print_dispose), (ev_job_print_run), (ev_job_print_class_init): * shell/ev-page-cache.c: * shell/ev-pixbuf-cache.[ch]: (dispose_cache_job_info), (check_job_size_and_unref), (move_one_job), (copy_job_to_job_info), (add_job), (ev_pixbuf_cache_add_jobs_if_needed): * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose), (job_fonts_finished_cb), (job_fonts_updated_cb), (ev_properties_fonts_set_document): * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose), (ev_sidebar_links_set_document): * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range), (ev_sidebar_thumbnails_set_document), (ev_sidebar_thumbnails_clear_job): * shell/ev-view-private.h: * shell/ev-view.c: * shell/ev-window.c: (ev_window_clear_thumbnail_job), (ev_window_refresh_window_thumbnail), (password_dialog_response), (ev_window_clear_load_job), (ev_window_clear_reload_job), (ev_window_load_job_cb), (ev_window_reload_job_cb), (window_open_file_copy_ready_cb), (ev_window_open_uri), (ev_window_reload_document), (ev_window_clear_save_job), (ev_window_save_job_cb), (file_save_dialog_response_cb), (ev_window_clear_print_job), (ev_window_print_job_cb), (ev_window_print_dialog_response_cb): * shell/main.c: (main): Rework the jobs system in order to make it simpler and more extensible. It allows to run jobs in the main loop instead of using a thread when it's appropriate like the fonts job. Now it's also possible to cancel jobs that are currently running. svn path=/trunk/; revision=3092
* Create the hash table also when profiling service is enabled for allCarlos Garcia Campos2008-07-271-5/+4
| | | | | | | | | | | 2008-07-27 Carlos Garcia Campos <carlosgc@gnome.org> * libdocument/ev-debug.c: (profile_init): Create the hash table also when profiling service is enabled for all sections. svn path=/trunk/; revision=3087
* Add a profile mode available when debug is enabled. Add profilers inCarlos Garcia Campos2008-07-272-13/+136
| | | | | | | | | | | | | | | | | 2008-07-27 Carlos Garcia Campos <carlosgc@gnome.org> * libdocument/ev-debug.[ch]: (ev_profiler_start), (ev_profiler_stop): * shell/ev-jobs.c: (ev_job_finished), (ev_job_links_run), (notify_page_ready), (ev_job_render_run), (ev_job_thumbnail_run), (ev_job_fonts_run), (ev_job_load_run), (ev_job_save_run), (ev_job_print_run): * shell/main.c: (main): Add a profile mode available when debug is enabled. Add profilers in ev-jobs. svn path=/trunk/; revision=3086
* Make sure we always return a valid error struct when get_document_from_uriCarlos Garcia Campos2008-07-201-1/+8
| | | | | | | | | | | | | 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
* Fixes bug #542924. Makes enums static to fix Solaris build.Darren Kenny2008-07-141-3/+3
| | | | | | | | | | | | | | 2008-07-15 Darren Kenny <darren.kenny@sun.com> * libdocument/ev-transition-effect.c (ev_transition_effect_type_get_type), (ev_transition_effect_alignment_get_type), (ev_transition_effect_direction_get_type): Fixes bug #542924. Makes enums static to fix Solaris build. svn path=/trunk/; revision=3071
* Fix bytes order on big endian. Patch by Benjamin Jacobs. Fixes bugCarlos Garcia Campos2008-07-131-4/+4
| | | | | | | | | | | | 2008-07-13 Carlos Garcia Campos <carlosgc@gnome.org> * libdocument/ev-document-misc.c: (ev_document_misc_pixbuf_from_surface): Fix bytes order on big endian. Patch by Benjamin Jacobs. Fixes bug #540950. svn path=/trunk/; revision=3069
* Fix some build warnings under GCC 4.3.0. (#537535).Cosimo Cecchi2008-06-103-4/+4
| | | | | | | | | | | | | | | | | | | | | | 2008-06-10 Cosimo Cecchi <cosimoc@gnome.org> * libdocument/ev-backends-manager.c: (ev_backends_manager_load): * libdocument/ev-image.c: (ev_image_save_tmp): * libdocument/ev-module.c: (ev_module_load): * shell/ev-application.c: (ev_application_shutdown), (ev_application_get_print_settings): * shell/ev-sidebar-attachments.c: (ev_sidebar_attachments_button_press), (ev_sidebar_attachments_drag_data_get): * shell/ev-window.c: (window_save_file_copy_ready_cb), (ev_window_print_finished), (ev_window_print_send), (ev_window_print_job_cb), (ev_window_cmd_help_contents), (ev_window_preview_print_finished), (ev_window_do_preview_print), (ev_window_cmd_preview_print): * shell/main.c: (load_files_remote): Fix some build warnings under GCC 4.3.0. (#537535). svn path=/trunk/; revision=3049
* fixed typo in ev-debug.h filename. Bug #533897.Frederic Peters2008-05-191-1/+1
| | | | | | | | | | 2008-05-19 Frederic Peters <fpeters@0d.be> * libdocument/Makefile.am: fixed typo in ev-debug.h filename. Bug #533897. svn path=/trunk/; revision=3036
* Merge branch 'ev-debug' into workCarlos Garcia Campos2008-04-274-8/+160
| | | | svn path=/trunk/; revision=3025
* Fix memory leak.Carlos Garcia Campos2008-04-241-2/+5
| | | | | | | | | | 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
* Improved error message about file opening failture. Bug #529129.Jean Baptiste Lallement2008-04-231-12/+10
| | | | | | | | | | | | | 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
* Use the pixbuf backend only when the mime type is not supported by any ofCarlos Garcia Campos2008-04-191-5/+3
| | | | | | | | | | | | | 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
* Add EvPage so that we can hold a reference to the backend page. FormCarlos Garcia Campos2008-04-1411-37/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix selections with poppler-splash.Carlos Garcia Campos2008-03-141-2/+3
| | | | | | | | | | | 2008-03-14 Carlos Garcia Campos <carlosgc@gnome.org> * libdocument/ev-document-misc.c: (ev_document_misc_surface_from_pixbuf): Fix selections with poppler-splash. svn path=/trunk/; revision=2966
* Allow making backend modules resident. This is needed only for someCarlos Garcia Campos2008-03-033-3/+14
| | | | | | | | | | | | | | | | 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-031-2/+20
| | | | | | | | | | | | | | | | | | | | 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