=== gedit 2.13.4 === 2006-01-20 Paolo Borelli * configure.ac: * README: * NEWS: gedit 2.13.4 released 2006-01-20 Paolo Borelli * configure.ac: depend on the brand new gnome-python-desktop instead of gnome-python-extras. 2006-01-20 Paolo Borelli * gedit/bacon-message-connection.[ch]: update from libbacon, fixes crash on startup reported in bug 326247. Patch by Marco Barisione. 2006-01-20 Paolo Borelli * gedit/gedit-document-saver.c: actually use the PRESERVE_BACKUP flag introduced with the autosave patch. 2006-01-20 Paolo Borelli * gedit/gedit-window.c: fix warning introduced by my last patch. Do some cleanup while we are at it. 2006-01-19 Paolo Maggi * gedit/gedit-io-error-message-area.c (gedit_unrecoverable_loading_error_message_area_new) (gedit_unrecoverable_reverting_error_message_area_new) (gedit_conversion_error_while_loading_message_area_new) (gedit_conversion_error_while_saving_message_area_new) (gedit_externally_modified_saving_error_message_area_new) (gedit_no_backup_saving_error_message_area_new) (gedit_unrecoverable_saving_error_message_area_new): use g_markup_printf_escaped instead of g_strdup_printf when needed * gedit/gedit-tab.c (show_loading_message_area) (show_saving_message_area) (_gedit_tab_get_tooltips): ditto * gedit/gedit-utils.c (gedit_utils_get_glade_widgets): ditto 2006-01-19 Paolo Borelli * gedit/gedit-window.c: properly restore the bottom panel size on startup. 2006-01-19 Paolo Maggi Re-added autosave feature. Based on a patch by Sergio Villar Senin * gedit/gedit-debug.[ch]: s/GEDIT_DEBUG_FILE/GEDIT_DEBUG_TAB * gedit/gedit-document.c (gedit_document_finalize) (gedit_document_init) (set_readonly) (gedit_document_get_encoding): remove autosave related functions (moved to gedit-tab.c) * gedit/gedit-document.h: remove autosave related functions (moved to gedit-tab.h) * gedit/gedit-prefs-manager-app.c (gedit_prefs_manager_auto_save_changed): use new functions for autosave * gedit/gedit-tab.c (install_auto_save_timeout) (install_auto_save_timeout_if_needed) (remove_auto_save_timeout) (gedit_tab_get_property) (gedit_tab_set_property) (gedit_tab_finalize) (gedit_tab_class_init) (document_uri_notify_handler) (recoverable_loading_error_message_area_response) (unrecoverable_reverting_error_message_area_response) (show_loading_message_area) (show_saving_message_area) (message_area_set_progress) (document_loading) (document_loaded) (document_saving) (end_saving) (unrecoverable_saving_error_message_area_response) (no_backup_error_message_area_response) (externally_modified_error_message_area_response) (recoverable_saving_error_message_area_response) (document_saved) (gedit_tab_init) (_gedit_tab_load) (_gedit_tab_revert) (_gedit_tab_save) (gedit_tab_auto_save) (_gedit_tab_save_as) (gedit_tab_get_auto_save_enabled) (gedit_tab_set_auto_save_enabled) (gedit_tab_get_auto_save_interval) (gedit_tab_set_auto_save_interval): implemented autosave feature. It works in the following way: - the auto_save_timeout timeout is used to call gedit_document_auto_save every X minutes - when a file is loaded or saved the timeout is removed (to avoid the case in which autosave is called while loading/saving) - when a file has been loaded/saved, if needed, the timeout is re-created and so gedit_document_auto_save will be called after X minutes again * gedit/gedit-tab.h: new functions related to autosave * bindings/python/gedit.defs: updated 2006-01-19 Paolo Borelli * gedit/gedit-panel.c: fix warning. * gedit-ui.h: make view bottom pane action sensitive. * gedit/gedit-window.c: handle view bottom pane sensitivity according to the presence of items in the bottom pane. 2006-01-19 Paolo Borelli * bindings/python/gedit.defs: bind new panel function. * gedit/gedit-panel.[ch]: add item_added and item_removed signals and a function to get the number of items in a panel. * gedit/gedit-window.c: hide the bottom panel when all the items are removed. 2006-01-18 Steve Frécinaux * plugins/externaltools/tools/capture.py: corrected freeze bug when an input was specified. End signal is sent *after* the other signals. * plugins/externaltools/tools/functions.py: corrected syntax errors. System-wide env vars are passed to the child process (allow to launch X apps). new GEDIT_DOCUMENTS_(PATH|URI) and GEDIT_CURRENT_DOCUMENT_NAME environment variables. Ensure "replace" output options effectively replace previous content. User feedback: wait cursor and locked view. Load an empty tree if no file found (instead of None) * plugin/externaltools/tools/stock-tools.xml: Update with new sample tools using the new features. 2006-01-18 Paolo Borelli * gedit/gedit.c (main): call gnome_accelerators_sync before exit to save the custom accels. 2006-01-17 Adam Weinberger * plugins/snippets/snippets/__init__.py: Spelling and grammar tweak. Fixes bug #57553.