=== gedit 2.15.9 ===

2006-08-26  Paolo Borelli  <pborelli@katamail.com>

	* configure.ac:
	* README:
	* NEWS:

	gedit 2.15.9 released.

2006-08-26  Steve Frécinaux  <steve@istique.net>

	Fix bug #352854 – modelines should revert to pref values when a
	modeline part is removed

	* plugins/modelines/modelines.py: read parameters that are not in the
	modelines anymore from gconf.

2006-08-26  Paolo Borelli  <pborelli@katamail.com>

	* gedit/gedit-python-module.c:
	* gedit/gedit-window.c:

	Run the garbage collector both at the start and at the end of 
	gedit_window_dispose, in order to enforce correct object lifetime.
	Should fix bug #350776.

2006-08-25  Paolo Borelli  <pborelli@katamail.com>

	* gedit/gedit-tab.c: plug tiny leak when loading remote files.

2006-08-25  Paolo Borelli  <pborelli@katamail.com>

	* plugins/filebrowser/gedit-file-browser-plugin.c:
	fix up patch conflict.

2006-08-25  Jesse van den Kieboom  <jesse@icecrew.nl>

	* plugins/filebrowser/gedit-file-browser-plugin.c:
	* plugins/filebrowser/gedit-file-browser-utils.[ch]:
	* plugins/filebrowser/gedit-file-browser-widget.c:
	
	Make use of gedit_utils_uri_has_file_scheme instead of using
	gedit_file_browser_utils_is_local
	
	* plugins/filebrowser/gedit-file-browser-plugin.c: do not open file
	browser at first opened document when it is a remote file (to avoid
	problems with bug #352824)
	
2006-08-25  Paolo Maggi  <paolo@gnome.org>

	Really fixes bug #352717 – gedit silently ignores saving errors when
	saving remote files
	
	* gedit/gedit-document-saver.c (manage_completed_phase): new function,
	it splits up the code related to the management of the "COMPLETED"
	phase in async_xfer_ok.
	(async_xfer_ok): returns just after calling manage_completed_phase in
	the COMPLETED phase. In this way we avoid emitting the "saving" signal
	from a potentially finalized saver
	 (async_xfer_error): does not set the error if it was already set
	 in a previous interaction
	 (async_xfer_progress): better debugging messages

2006-08-25  Paolo Borelli  <pborelli@katamail.com>

	* gedit/gedit-document-loader.c: fix a couple of typos.

2006-08-24  Paolo Borelli  <pborelli@katamail.com>

	Fixed bug #352717 – gedit silently ignores saving errors when saving
	remote files
	
	* gedit/gedit-document-saver.c: properly handle xfer errors.

2006-08-24  Paolo Maggi  <paolo@gnome.org>

	Fixed bug #352680 – Save on close for readonly files does not work as
	expected
	
	* gedit/dialogs/gedit-close-confirmation-dialog.c
	(set_logout_mode): add a "Save As" button instead of a "Save" one when
	in single mode and the document to close is untitled or readonly

	* gedit/gedit-commands-file.c (file_save): call file_save_as for
	readonly files too

2006-08-24  Paolo Borelli  <pborelli@katamail.com>

	Fixed bug #352677 – Critical warning when opening a empty remote file
	
	* gedit/gedit-document-loader.c: handle remote zero lenght files
	correctly.

2006-08-24  Paolo Maggi  <paolo@gnome.org>

	Fixes bug #352658 – print preview state machine issue.
	
	* gedit/gedit-tab.c (print_preview_destroyed): add a comment and
	check that the state is "printing" in the "else" case  
	(print_finished_cb) (print_cancelled): If we are printing while 
	showing the print preview, close the print preview when done or 
	cancelled

2006-08-24  Paolo Maggi  <paolo@gnome.org>

	Fixes bug #352662 – Opening non-existing remote file from command line
	should report an error

	* gedit/gedit-document.c (document_loader_loaded): ignore the 
	"create" flag is the file is not local

	* gedit/gedit-utils.c (gedit_utils_uri_has_file_scheme): returns FALSE
	if the uri is a chained uri.

2006-08-23  Paolo Borelli  <pborelli@katamail.com>

	* plugins/filetree/gedit-file-browser-plugin.c: plug a leak.

2006-08-23  Paolo Maggi  <paolo@gnome.org>

	* gedit/gedit-languages-manager.c
	(gedit_languages_manager_get_language_from_mime_type): gives
	priority to exact matches.

2006-08-23  Paolo Maggi  <paolo@gnome.org>

	Fixes bug #324191 – the xml.lang syntax file should include 
	application/vnd.mozilla.xul+xml
	
	* gedit/gedit-languages-manager.c
	(gedit_languages_manager_get_available_languages_sorted)
	(get_languages_cache) (get_language_from_cache)
	(add_language_to_cache)
	(gedit_languages_manager_get_language_from_mime_type): get the language
	associated to a given mime-type. It takes care for mime-types 
	inheritance. It also uses a cache of already matched mime-type in order 
	to improve performace for frequently used mime-types.

	* gedit/gedit-languages-manager.h: new prototype for function
	gedit_languages_manager_get_language_from_mime_type
	
	* gedit/gedit-document.c (set_uri): uses the new function
	gedit_languages_manager_get_language_from_mime_type

2006-08-23  Paolo Borelli  <pborelli@katamail.com>

	* gedit/gedit-python-plugin.c: fix a small leak.

2006-08-23  Jesse van den Kieboom  <jesse@icecrew.nl>

	* gedit/gedit.c: initialize gnome authentication manager before 
	plugins (since the file browser plugin might need it). Fixes Bug 
	352339 – Remote root location for filebrowser makes gedit crash on load

2006-08-23  Paolo Maggi  <paolo@gnome.org>

	* gedit/dialogs/gedit-close-confirmation-dialog.c
	(gedit_close_confirmation_dialog_init): Skips taskbar hint as for
	standard gtk+ message dialogs