for nick

(Old svn revision: 25035)
* Import my Mousepad rewrite


(Old svn revision: 25036)
	* TODO, NEWS: Update the current status of the rewrite.
	* Mousepad.desktop.in.in: Add MimeType and improve Categories.
	* Initial import of my Mousepad rewrite.

(Old svn revision: 25037)
	* TODO: Remind myself to fix problems with UTF-8 filenames.
	* mousepad/mousepad-window.c: Fix crash when opening files
	  with the command line.
	* Mousepad.desktop.in.in, Mousepad.desktop.in.in: Mousepad executable
	  is now lowercase again.
	* mousepad/mousepad-screen.c: Remove unused signals from the Class.

(Old svn revision: 25040)
	* TODO, mousepad/mousepad-window.c: Add option to the recent menu
	  to clear the history.
	* mousepad/mousepad-window.c: The recent items are now in the Mousepad
	  group so it's easier to filter them when removing. The list is also
	  sorted by the most recently used item.
	* mousepad/mousepad-window.c: Fix problem in checking if the
	  file was already openened.
	* mousepad/mousepad-window.c: You can now reorder tabs.
	* mousepad/mousepad-window.c: A tab is now inserted right from the
	  current active tab.
	* mousepad/mousepad-screen.c: Untitled documents now have a number like
	  "Untitled #". The number is increased as long as the application is running.
	* mousepad/mousepad-window.c: Added first parts of code for a statusbar.

(Old svn revision: 25043)
	* mousepad/mousepad-window.c: Prevent multiple recent- and go-menu
	  updates when multiple items are opened or the recent history is
	  cleared.

(Old svn revision: 25044)
	* mousepad/mousepad-window.c: Improve the menu tooltips.

(Old svn revision: 25045)
	* mousepad/mousepad-dialogs.{c,h}: New file for the dialogs
	  so the mousepad-window file becomes more readable.
	* mousepad/mousepad-window.c: Split some function and reorder
	  them a bit.
	* mousepad/mousepad-window.c: The items in the go menu now have
	  the filename as statusbar tooltip.
	* mousepad/mousepad-window.c: Check if the file is externally modified
	  before writing. If it is, ask the user what to do.
	* mousepad/main.c, mousepad/mousepad-dbus.{c,h},
	  mousepad/mousepad-dbus-infos.xml: Support for terminating a running
	  mousepad instance (that is connected to dbus), using mousepad -q.
	* mousepad/*: Add function destriptions for Erik (and others) :-).

(Old svn revision: 25069)
	* configure.in.in, mousepad/Makefile.am: Remove the PCRE dependency.
	  I should have removed this earier after some testing.

(Old svn revision: 25070)
	* mousepad/mousepad-dialogs.{c,h}: Add response actions for Mousepad so it's
	  easier to understand what happens.
	* mousepad/mousepad-window.c, * mousepad/mousepad-screen.{c,h}: Basic
	  support for document reloading.

(Old svn revision: 25072)
	* configure.in.in: Mousepad does not depend on exo anymore. Only
	  when you run in maintainer-mode, exo-csource is required.
	* mousepad/mousepad-document.*: Renamed mousepad-screen to mousepad-document.
	* mousepad/mousepad-{search-bar,document,window).*: Added function for 
	  searching, including the type-ahead search bar.
	* mousepad/mousepad-statusbar.*: A custom statusbar suitable for displaying
	  the tooltips, overwrite/insert and the line- and column-number.
	* mousepad/mousepad-exo.*: The exo-bindings so we don't depend on exo anymore,
	  although I want to get rid of all of them.
	* mousepad/mousepad-marshal.list: Custom marshal for sending search signals.
	* mousepad/mousepad-types.h: Search types (a mousepad-enum-types.{c,h} is
	  generated during build).
	* Various performance inprovements and code cleanups.
	

(Old svn revision: 25379)
	* po/: Update the POTFILES.in file and regenerate the pot file.
	* mousepad/mousepad-document.c: Make the scroll offset smaller, so the
	  textview doesn't jump around while searching.
	* mousepad/mousepad-search-bar.c: Make sure the search signal is send
	  when the search field is empty after a backspace, so no text is selected in
	  the buffer.
	* Remove some leftover tabs.
	* mousepad/mousepad-{search-bar,document,window).*: Added function for
	* Various performance improvements and code cleanups.

(Old svn revision: 25382)
	* mousepad/mousepad-document.c: Remove unused properties.
	* mousepad/mousepad-{exo,window,preoperties,search-bar}: Remove the
	  exo bindings, mousepad only depends on Gtk and libxfce4util.
	* mousepad/mousepad-csource.pl: Perl script to generate the menu code.
	  This script also strips the code between the xml blocks, so a minimal
	  amount of text is added to the binary (ie. it produces better code then
	  exo-csource).

(Old svn revision: 25385)
	* mousepad/mousepad-document.c: Because we don't use invisible characters in
	  the text buffer, I was able to write a custom iter search function that can
	  search in both directions, can be case insensitive, no string duplications
	  and above all: is over 10x faster then the gtk version. This gives a nice
	  performance boost to the highlight function.
	* mousepad/mousepad-search-bar.c: Connected the last signals and added a
	  wrap around option to the search bar.

(Old svn revision: 25402)
	* mousepad/mousepad-window.c: Fix opening recent files that do not exist.
	* mousepad/mousepad-window.c, mousepad/mousepad-document.c: Update the window
	  title correctly and remove the unused notify::title signals.

(Old svn revision: 25404)
	* mousepad/mousepad-document.c: Fix segfault from previous commit.
	* mousepad/mousepad-document.c: Fix bug in searching backwards, we have to
	  jump one iter backwards before searching, because we start with the
	  character right from the first iter. Also removed the equal check because
	  it's not needed and only causing problems with backwards searching on the
	  first character in the buffer.

(Old svn revision: 25405)
	* mousepad/mousepad-{document,window,statusbar}: You can now click the OVR
	  text in the statusbar to toggle the overwrite mode.
	* mousepad/mousepad-{document,window,undo}: Initial version of an undo
	  manager. This is not finished yet, but it's a start.
	* mousepad/Makefile.am, mousepad/mousepad-csource.pl: Remove my perl script
	  because it has some problems. Use exo-csource instead.
	* Remove some empty object functions.

(Old svn revision: 25514)
	* mousepad/mousepad-statusbar.c: Destroy the tool items together with the
	  searchbar (memory leak from valgrind).

(Old svn revision: 25516)
	* mousepad/mousepad-{window,view}.c: Fix some potential leaks, I'm not
	  really sure, but it doesn't hurt...

(Old svn revision: 25523)
	* mousepad/mousepad-undo.c: Improve the behavior of the undo manager.
	  It now merges multiple spaces, new lines are a separate undo action and
	  when you redo some steps and then start editing again we append the redo-ed
	  steps in reversed order with an inverted action, so you can undo every thing
	  afterwards. This consumes a bit more memory compared to the old behavior
	  (which simply removed every redo-ed step), but it's much more consistent.

(Old svn revision: 25531)