=== gedit 2.13.2 ===

2006-01-02  Paolo Borelli  <pborelli@katamail.com>

	* configure.ac:
	* README:
	* NEWS:

	gedit 2.13.2 released

2006-01-09  Paolo Borelli  <pborelli@katamail.com>

	* configure.ac: bump gnome-python-extras requirement to 2.12.0 since
	we need gtksourceview.defs installed.

2006-01-09  Paolo Borelli  <pborelli@katamail.com>

	* gedit/Makefile.am:
	* gedit/gedittextregion.[ch]:
	* gedit/gtktextregion.[ch]:
	* gedit/gedit-document.c:
	* gedit/update-gedittextregion.sh:

	move the local copy of textregion to gedittextregion to avoid
	symbols conflicts with the sourceview copy. Add a simple shell
	script to automate updating.

2006-01-09  Nickolay V. Shmyrev <nshmyrev@yandex.ru>

	* gedit/gedit-metadata-manager.c: (parseItem), (save_item):
	use long int when working with time_t. Fix for the bug
	#326248.

2006-01-09  Paolo Maggi  <paolo@gnome.org>

	Patch by Steve Frécinaux  <nud@apinc.org>

	* gedit/gedit-panel.c (gedit_panel_add_item): crop the image to
	GTK_ICON_SIZE_MENU size. 

	* plugins/pythonconsole/pythonconsole.py: use GTK_ICON_SIZE_MENU size
	for the icon

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

	* gedit/sexy-icon-entry.c:
	* gedit/sexy-icon-entry.h: updated from libsexy SVN repository

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

	* gedit/gedit-python-module.c (gedit_python_module_init_python):
	does not allow python to manage SIGINT signal: this is needed to avoid
	the crash reported on bug #326191 (Crash when pressing Ctrl+C 
	from terminal) 

2006-01-07  Paolo Borelli  <pborelli@katamail.com>

	* gedit/gedit-plugins-engine.c: make sure the garbage collector
	runs before we unload C plugins. Fix crash on exit.

2006-01-07  Paolo Borelli  <pborelli@katamail.com>

	* gedit/gedit-document.c: fix typos.
	* gedit/gtktextregion.[ch]: ditto.

2006-01-06  Paolo Borelli  <pborelli@katamail.com>

	* gedit/gedit-plugins-engine.[ch]
	* gedit/gedit-python-module.[ch]
	* gedit/gedit-window.c:

	Run the python Garbage Collector when closing a window or a tab
	in order to force python to release references to our objects.

2006-01-06  Paolo Borelli  <pborelli@katamail.com>

	* gedit/gedit-plugin.[ch]:
	* gedit/gedit-python-plugin.c:

	implement configure_dialog support for python plugins and make
	sure to chain up to the default gedit-plugin methods if a python
	plugin doesn't override a method.
	Patch from Jesse Van Den Kieboom and Raphael Slinckx.

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

	* gedit/gedit-view.c (gedit_view_class_init): added reset_searched_text
	signal and keybinding
	(reset_searched_text): new function

	* gedit/gedit-view.h: added  reset_searched_text signal

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

	* gedit/gedit-document.c (compute_num_of_lines): make utf8-aware.

2005-01-05  Steve Frécinaux  <nud@apinc.org>
 
 	* gedit/gedit-view.c : larger timeout for the search box, scroll back
 	only on <escape> (cf. Bug #105196) ; hide the search box when the window
 	looses focus.
 
2006-01-05  Paolo Maggi  <paolo@gnome.org>

	Implemented search highligthing: all the occurences of the searched
	text are highlighted
	
	* data/gedit.schemas.in: added editor/search_highlighting/enable key

	* gedit/Makefile.am: compile gtktextregion.[ch]
	
	* gedit/gtktextregion.[ch]: new files

	* gedit/gedit-document.c (gedit_document_finalize): destroy 
	to_search_region if needed
	(gedit_document_get_property): get the enable-search-highlighting 
	property
	(gedit_document_set_property): new function
	(gedit_document_class_init): added enable-search-highlighting property
	and search_highlight_updated signal
	(gedit_document_init): initialize enable-search-highlighting property
	and connect "insert-text" and "delete-rande" signals
	(compute_num_of_lines): new function
	(gedit_document_set_search_text): update search hl if needed
	(gedit_document_get_can_search_again): fixed to manage the case 
	in which search_text is empty
	(search_region): new funtion
	(to_search_region_range): ditto
	(_gedit_document_search_region): ditto
	(insert_text_cb): ditto
	(delete_range_cb): ditto
	(gedit_document_set_enable_search_highlighting): ditto
	(gedit_document_get_enable_search_highlighting): ditto

	* gedit/gedit-document.h: added search_highlight_updated signal and
	declare gedit_document_[set|get]_enable_search_highlighting and 
	_gedit_document_search_region functions

	* gedit/gedit-prefs-manager-app.c (gedit_prefs_manager_app_init)
	(gedit_prefs_manager_syntax_hl_enable_changed)
	(gedit_prefs_manager_search_hl_enable_changed): added support for 
	editor/search_highlighting/enable key

	* gedit/gedit-prefs-manager.[ch]: added support for 
	editor/search_highlighting/enable key

	* gedit/gedit-view.c (gedit_view_class_init): set expose_event default
	handler
	(gedit_view_new): connect to "search_highlight_updated" signal
	(gedit_view_expose)(search_highlight_updated_cb): new functions

2006-01-03  Paolo Maggi  <paolo@gnome.org>

	Fixes drag&drop of files from file-roller
	
	* gedit/gedit-utils.c (gedit_utils_is_valid_uri): fixed a compiler 
	warning
	(gedit_utils_make_canonical_uri_from_shell_arg): new function

	* gedit/gedit-utils.h: new function 
	gedit_utils_make_canonical_uri_from_shell_arg

	* gedit/gedit-window.c (drag_data_received_cb): use the new
	gedit_utils_make_canonical_uri_from_shell_arg

	* gedit/gedit.c (gedit_get_command_line_data): use the new
	gedit_utils_make_canonical_uri_from_shell_arg function

2006-01-03  Paolo Borelli  <pborelli@katamail.com>

	* gedit/gedit-app.c: fix startup race condition on active_window.
	* gedit/gedit-utils.c: sanity check arguments.

2006-01-03  Paolo Maggi  <paolo@gnome.org>

	* data/gedit.schemas.in: added restore_cursor_position key

	* gedit/gedit-prefs-manager.c
	(gedit_prefs_manager_get_restore_cursor_position): new function

	* gedit/gedit-prefs-manager.h: add restore_cursor_position key and
	gedit_prefs_manager_get_restore_cursor_position function

	* gedit/gedit-document.c (document_loader_loaded): restore the previous
	cursor position if gedit_prefs_manager_get_restore_cursor_position 
	return TRUE

2006-01-03  Paolo Maggi  <paolo@gnome.org>

	* gedit/gedit-commands-search.c (phrase_found): modified the string
	shown in the statusbar for the case occurrences == 1

2006-01-03  Paolo Maggi  <paolo@gnome.org>

	Fixes Replace All button sensitivity in the Find/Replace dialog.
	
	* gedit/dialogs/gedit-search-dialog.c (search_options_changed): function
	removed
	(gedit_search_dialog_init): do not connect search_options_changed
	(gedit_search_dialog_set_search_text): set "Replace All" button 
	sensitivity

	* gedit/gedit-commands-search.c (do_find) (do_replace_all): not set
	"Replace All" button sensitivity