=== gedit 2.15.3 ===

2006-06-12  Steve Frécinaux  <steve@istique.net>

	* configure.ac:
	* README:
	* NEWS:

	gedit 2.15.3 released.

	* gedit/Makefile.am: fixed gedit-enum-types.[ch] generation.

2006-06-11  Elijah Newren  <newren gmail com>

	* bindings/python/Makefile.am: Add $PYTHON_LOC_LIB to ensure
	python library gets found.  #344539

2006-06-11  Steve Frécinaux  <steve@istique.net>

	Fix for bug #165568 – Support global lockdown keys (first part)

	* gedit/gedit-app.[ch]: define GeditLockdownMask as a flag type, add a 
	'lockdown' property to GeditApp, of type GeditLockdownMask, and define
	its getter/setter.
	
	* gedit/gedit-prefs-manager.[ch]: define a new helper function
	gedit_prefs_manager_get_lockdown.
	
	* gedit/gedit-prefs-manager-app.c: Listen to lockdown GConf folder
	changes. Update GeditApp's lockdown properties when a lockdown key is
	changed.
	
	* gedit/gedit-enum-types.h.template:
	* gedit/gedit-enum-types.c.template:
	* gedit/Makefile.am:
	
	Autogenerate type definitions for exported enums using glib-mkenums.

	* configure.ac: add GLIB_MKENUMS definition.

2006-06-03  Steve Frécinaux  <steve@istique.net>

	* bindings/python/geditutils.override: override menu_position_* to
	conform to pygtk format for GtkMenuPositionFunc (you still have to use a
	lambda to provude user_data anyway)
	
	* gedit/gedit-python-module.c: call pygeditutils_register_classes (fix
	crasher bug)

2006-05-31  Paolo Maggi  <paolo@gnome.org>

	Added a couple of helper functions for plugins.
	
	* gedit/gedit-commands-file.c
	(gedit_commands_load_uri) (gedit_commands_load_uris): new public 
	functions
	(_gedit_cmd_load_files): removed
	(open_dialog_response_cb): uses gedit_commands_load_uris instead of
	_gedit_cmd_load_files
	(open_location_dialog_response_cb): ditto
	(_gedit_cmd_file_open_recent): ditto

	* gedit/gedit-commands.h 
	(gedit_commands_load_uri) (gedit_commands_load_uris): new public 
	functions

	* gedit/gedit-window.c (drag_data_received_cb): uses 
	gedit_commands_load_uris instead of _gedit_cmd_load_files
	(gedit_window_get_unsaved_documents): refactored
	(gedit_window_get_tab_from_uri): new function

	* gedit/gedit-window.h (gedit_window_get_tab_from_uri): new function

2006-05-31  Paolo Borelli  <pborelli@katamail.com>

	* gedit/gedit-commands-file.c (confirm_overwrite_callback): fix
	use after free. Patch by Sylvain Defresne (bug #343480)

2006-05-29  Paolo Maggi  <paolo@gnome.org>

	* gedit/gedit-app.c (window_delete_event): s/gedit_cmd/_gedit_cmd/

	* gedit/gedit-commands-documents.c
	(_gedit_cmd_documents_previous_document)
	(_gedit_cmd_documents_next_document)
	(_gedit_cmd_documents_move_to_new_window): ditto

	* gedit/gedit-commands-edit.c (_gedit_cmd_edit_undo)
	(_gedit_cmd_edit_redo) (_gedit_cmd_edit_cut) (_gedit_cmd_edit_copy)
	(_gedit_cmd_edit_paste) (_gedit_cmd_edit_delete)
	(_gedit_cmd_edit_select_all) (_gedit_cmd_edit_preferences): ditto

	* gedit/gedit-commands-file-print.c (_gedit_cmd_file_page_setup)
	(_gedit_cmd_file_print_preview) (_gedit_cmd_file_print): ditto

	* gedit/gedit-commands-file.c (_gedit_cmd_file_new)
	(_gedit_cmd_load_files) (_gedit_cmd_load_files_from_prompt)
	(open_dialog_response_cb) (_gedit_cmd_file_open)
	(open_location_dialog_response_cb) (_gedit_cmd_file_open_uri)
	(_gedit_cmd_file_open_recent) (_gedit_cmd_file_save)
	(_gedit_cmd_file_save_as) (_gedit_cmd_file_save_all)
	(_gedit_cmd_file_revert) (_gedit_cmd_file_close)
	(_gedit_cmd_file_close_all) (_gedit_cmd_file_quit): ditto

	* gedit/gedit-commands-help.c (_gedit_cmd_help_contents)
	(_gedit_cmd_help_about): ditto

	* gedit/gedit-commands-search.c (_gedit_cmd_search_find)
	(_gedit_cmd_search_replace) (_gedit_cmd_search_find_next)
	(_gedit_cmd_search_find_prev) (_gedit_cmd_search_clear_highlight)
	(_gedit_cmd_search_goto_line): ditto

	* gedit/gedit-commands-view.c (_gedit_cmd_view_show_toolbar)
	(_gedit_cmd_view_show_statusbar) (_gedit_cmd_view_show_side_pane)
	(_gedit_cmd_view_show_bottom_pane): ditto

	* gedit/gedit-commands.h: ditto

	* gedit/gedit-ui.h: ditto
	
	* gedit/gedit-window.c (open_recent_gtk) (open_recent_uim)
	(drag_data_received_cb): ditto

	* gedit/gedit.c (on_message_received) (main): ditto

	* gedit/gedit-prefs-manager.c: gedit_gconf_client_set_color is now a 
	static function

2006-05-24  Jesse van den Kieboom  <jesse@icecrew.nl>

	* tools/plugin_template/gedit-plugin.c: fixed missing semicolon and 
	private struct definition (missed a _)

2006-05-24  Jesse van den Kieboom  <jesse@icecrew.nl>

	* plugins/snippets/snippets/functions.py: oops, removed debug 
	print...

2006-05-24  Jesse van den Kieboom  <jesse@icecrew.nl>

	* plugins/snippets/snippets/functions.py:
	* plugins/snippets/snippets/Snippet.py:
	
	added replacing tabs with spaces when insert_spaces_instead_of_tabs is 
	true (closes #341109)

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

	* plugins/snippets/data/ruby.xml:
	* plugins/snippets/data/php.xml:
	
	fixed invalid tab triggers

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

	* plugins/snippets/snippets/SnippetPlaceholders.py: fix timeout_id
	to be None instead of 0 when not active because the value can be 
	0 in python placeholders (it's used for storing the default sigalarm
	handler which can be 0, and it wasn't properly restored because of 
	this). Added a new exception TimeoutError so the timeout is handled 
	differently from other errors. Show other errors to the user 
	(like syntax etc).
	
	* plugins/snippets/snippets/SnippetController.py: make sure to
	remove placeholders that need updates from the updates list when they
	are removed so that when the update runs the placeholders that don't
	exist anymore aren't tried to be updated
	
2006-05-23  Jesse van den Kieboom  <jesse@icecrew.nl>

	* plugins/snippets/snippets/SnippetsLibrary.py: fixed a problem with
	removing the last user snippet in a user library. The library would 
	signal the store that it should be removed and that causes the 
	container to be removed. After that the remove_snippet function would
	try to remove the snippet from the container causing a ValueError.
	Only IndexErrors were caught. The fix is to catch every error.

2006-05-22  Steve Frécinaux  <steve@istique.net>

	* gedit/gedit-ui.h: define GTK_STOCK_SELECT_ALL if not defined, to
	avoid the need of bumping gtk requirement to 2.9 (marked as FIXME)

2006-05-22  Paolo Borelli  <pborelli@katamail.com>

	* gedit/gedit-session.c (client_die_cb): do not call shutdown functions.

2006-05-21  Steve Frécinaux  <steve@istique.net>

	* tools/generate-plugin.py: Removed hint for gconf code generation in
	plugin generator (gconf usage is not generic enough)
	
	* tools/plugin_template/gedit-plugin-helper.py:
	* tools/plugin_template/gedit-plugin-nohelper.py:
	* tools/plugin_template/gedit-plugin.c:
	
	Added support for --with-menu generation option.

2006-05-21  Steve Frécinaux  <steve@istique.net>

	* tools/generate-plugins.py:
	* tools/preprocessor.py:

	New plugin generator, able to generate python and C plugin skeletons.
	See ./generate-plugins.py --help

	* tools/plugin_template/Makefile.am:
	* tools/plugin_template/gedit-plugin.desktop.in:
	* tools/plugin_template/gedit-plugin-helper.py:
	* tools/plugin_template/gedit-plugin-nohelper.py:
	* tools/plugin_template/gedit-plugin.c:
	* tools/plugin_template/gedit-plugin.h:

	Templates for the generator.

	* tools/.cvsignore: ignore *.pyc files.

2006-05-21  Paolo Maggi  <paolo@gnome.org>

	Fixed bug #342208 - show 'next tab' and 'previous tab' menu items
	
	* gedit/gedit-commands-documents.c
	(gedit_cmd_documents_previous_document)
	(gedit_cmd_documents_next_document): new methods

	* gedit/gedit-commands.h: new 
	gedit_cmd_documents_[previous|next]_document methods

	* gedit/gedit-ui.h: added icon to "Select All", added new actions
	for "Next|Previous Document"

	* gedit/gedit-ui.xml:  added new menu items
	for "Next|Previous Document"

	* gedit/gedit-window.c (update_next_prev_doc_sensitivity)
	(update_next_prev_doc_sensitivity_per_window)
	(set_sensitivity_according_to_tab) (notebook_tab_added)
	(notebook_tab_removed) (notebook_tabs_reordered): update sensitivity
	of "Next|Previous Document" menu item

2006-05-20  Steve Frécinaux  <steve@istique.net>

	* gedit/Makefile.am: Add gedit-prefs-manager-private.h to
	NOINST_H_FILES.
	
	* docs/reference/Makefile.am:
	* docs/reference/gedit.types:
	* docs/reference/gedit-docs.sgml:
	
	Ignore private header files when generating the docs (typically, NOINST
	and cut'n'pasted files).
	
	* docs/reference/tmpl/*: Add template files.

2006-05-20  Paolo Maggi  <paolo@gnome.org>

	* gedit/gedit-window.c (create_language_menu_item)
	(create_languages_menu) (update_languages_menu): use "None" instead of
	"Normal" in the Highlight Mode menu

2006-05-19  Steve Frécinaux  <steve@istique.net>

	* gedit/Makefile.am: Build gedit as a static library before including it
	in the binary (needed for gtk-doc gobject inspection)
	
	* configure.ac:
	* Makefile.am:
	* docs/Makefile.am:
	* docs/reference/Makefile.am:
	* docs/reference/gedit-docs.sgml:
	* docs/reference/gedit-overrides.txt:
	* docs/reference/gedit.types:
	
	Initial setup of gtk-doc for gedit.

	* .cvsignore:
	* bindings/python/.cvsignore:
	* doc/.cvsignore:
	* doc/reference/.cvsignore:
	* m4/.cvsignore:
	
	Update some CVSIGNORE files.

2006-05-19  Paolo Borelli  <pborelli@katamail.com>

	* gedit/gedit-commands-search.c
	* gedit/gedit-document-saver.c
	* gedit/gedit-document.c
	* gedit/gedit-prefs-manager.c
	* gedit/gedit-python-module.c
	* gedit/gedit-spinner.h
	* gedit/gedit-window.c
	* gedit/gedit.c

	Fix a bunch of compiler warnings from the ICC compiler.