2007-09-19  Federico Mena Quintero  <federico@novell.com>

	Merged from trunk:

	* lib/userdb.py (get_setting): ARGH, remove a stray parenthesis.

==================== 2.20.0 ====================

2007-09-19  Federico Mena Quintero  <federico@novell.com>

	* configure.ac: Bumped version number to 2.20.0.

2007-09-19  Federico Mena Quintero  <federico@novell.com>

	Fix http://bugzilla.gnome.org/show_bug.cgi?id=475434 - Plurals
	were not getting translated as gettext.ngettext() assumes
	textdomain() / bindtextdomain() have been called, but we use
	gettext.install() instead.

	* lib/util.py (init_gettext): Add ngettext as part of the "names"
	argument to gettext.install, so that ngettext() will get bound as a
	built-in.

	* admin-tool/saveconfirm.py (SaveConfirmationAlert.__init__): Call
	ngettext(), not gettext.ngettext(); the former is now bound as a
	built-in.

2007-09-19  Federico Mena Quintero  <federico@novell.com>

	Fix http://bugzilla.gnome.org/show_bug.cgi?id=450085 - Strings
	coming from sabayon.glade do not appear translated.

	* admin-tool/profilesdialog.py (AddProfileDialog.__init__): Pass
	the l10n domain to gtk.glade.XML.
	(ProfilesDialog.__init__): Likewise.

	* admin-tool/usersdialog.py (UsersDialog.__init__): Likewise.

2007-09-13  Federico Mena Quintero  <federico@novell.com>

	* lib/debuglog.py (DebugLog.load_configuration): Set a force_dump
	flag.  If the configuration file for the debug log is present,
	we'll assume that the user wants Sabayon to dump its debug log
	even if no errors occurred.
	(debug_log_get_force_dump): Public function.

	* admin-tool/sabayon (main): Dump the debug log if force_dump is enabled.

2007-09-13  Federico Mena Quintero  <federico@novell.com>

	* lib/config.py.in (DIRECTORIES_TO_IGNORE): Argh!  Add a missing
	comma in the list of strings; this is why .fontconfig and .beagle
	were not getting ignored.

2007-08-23  Federico Mena Quintero  <federico@novell.com>

	Fix http://bugzilla.gnome.org/show_bug.cgi?id=461110 - some
	strings are hard to translate (especially in the OpenOffice.org
	module).

	* admin-tool/lockdown/maindialog.py:
	* admin-tool/lockdown/pessulus.glade:
	* lib/protosession.py:
	* lib/sources/paneldelegate.py:
	* lib/userdb.py: Use better strings for translation.

==================== 2.19.2 ====================

2007-08-14  Federico Mena Quintero  <federico@novell.com>

	Released sabayon-2.19.2.

	* lib/config.py.in (DIRECTORIES_TO_IGNORE): Ignore .wapi,
	.fontconfig, .gstreamer-0.10.

2007-08-14  Federico Mena Quintero  <federico@novell.com>

	* admin-tool/sabayon.desktop.in (Categories): Remove
	"Application", add "GTK".  Patch by Christian Kirbach
	<Christian.Kirbach@googlemail.com>; fixes
	http://bugzilla.gnome.org/show_bug.cgi?id=417608

2007-08-14  Federico Mena Quintero  <federico@novell.com>

	* configure.ac: Bumped version number to 2.19.2.

	* NEWS: Updated.

2007-08-14  Federico Mena Quintero  <federico@novell.com>

	* configure.ac: Add a requirement for pygobject 2.12.0 or later
	for pygobject.filename_display_name().

	* lib/sources/filessource.py (FilesChange.get_short_description):
	Convert the filename to UTF-8 before generating a string for
	display.  Patch by Will Lachance <wrlach@gmail.com>.  Fixes
	http://bugzilla.gnome.org/show_bug.cgi?id=320968

2007-08-13  Federico Mena Quintero  <federico@novell.com>

	* lib/sources/paneldelegate.py (PanelDelegate.__init__): Fix
	"Appliction" typo.  Patch by Baris Cicek
	<baris@teamforce.name.tr>; fixes
	http://bugzilla.gnome.org/show_bug.cgi?id=463177

2007-08-13  Federico Mena Quintero  <federico@novell.com>

	* admin-tool/sabayon-apply: Import our config module.

	* admin-tool/sabayon-session: Likewise.

	* admin-tool/sabayon-apply (main): Start the toplevel "try" block
	right after the call to option_parser.parse_args(); if it exits
	due to being passed --help, we don't want our exception handler to
	be called.  Thanks to Colin Watson <cjwatson@debian.org> for
	catching this.  Fixes http://bugzilla.gnome.org/show_bug.cgi?id=458731

	* admin-tool/sabayon-session (main): Likewise.
	(main): Removed leftover "print" statements for debugging.

2007-08-13  Federico Mena Quintero  <federico@novell.com>

	* admin-tool/sabayon.desktop.in (Icon): Oops, make this just
	"sabayon", not "sabayon.png".

	* lib/userdb.py (UserDatabase.get_users): Clarify the ADS hosts
	comment (they are Active Directory users).

	* admin-tool/sabayon-apply: Import shutil for shutil.rmtree.

	* configure.ac (suse): Update the GNOME session paths for openSUSE 10.3.

2007-08-09  Federico Mena Quintero  <federico@novell.com>

	* data/icons/Makefile.am (install-data-hook uninstall-hook): Run
	gtk-update-icon-cache.  Patch from Christian Kirbach
	<Christian.Kirbach%40googlemail.com>.  Fixes
	http://bugzilla.gnome.org/show_bug.cgi?id=436107

2007-08-06  Federico Mena Quintero  <federico@novell.com>

	* data/icons/*: New, sexy icon files from Alberto Ruiz
	<aruiz@gnome.org> and Andreas Nilsson <andreas@andreasn.se>.

	* configure.ac (AC_CONFIG_FILES): Add the data/icons Makefiles.

	* Makefile.am (SUBDIRS): Add the "data" directory.

	* admin-tool/Makefile.am: Remove the icon installation stuff.

	* admin-tool/sabayon.png: Removed the old icon.  Wheeeee!

==================== 2.19.1 ====================

2007-07-12  Federico Mena Quintero  <federico@novell.com>

	Released sabayon-2.19.1.

	* configure.ac: Bumped version number to 2.19.1.

	* NEWS: Updated NEWS.

2006-03-24  Michael Meeks  <michael.meeks@novell.com>

	Add support for OpenOffice.org lockdown.

	* lib/sources/gconfsource.py: add int/string bits.
	
	* admin-tool/lockdownappliersabayon.py: add support
	for string & int types & re-factor a little.

	pessulus: yes I know I shouldn't commit here, but it's
	          a branch & I want a simple diff.
	
	* admin-tool/lockdown/maindialog.py: add combo
	settings, and OO.o key path / name / vbox tuples

	* admin-tool/lockdown/lockdowncombo.py: impl. new
	combo lock-down setup.
	
	* admin-tool/lockdown/pessulus.glade: add OO.o widgets

2007-07-12  Federico Mena Quintero  <federico@novell.com>

	* admin-tool/lockdown/disabledapplets.py
	(PessulusDisabledApplets.__fill_liststore): Workaround for
	https://bugzilla.novell.com/show_bug.cgi?id=256938 --- applets
	which don't have translated .server files (from bonobo-activation)
	will cause the "disabled applets" part of the lockdown dialog to
	fail.  If there is no trnslation, just use the applet's IID.

2007-07-11  Federico Mena Quintero  <federico@novell.com>

	Patch from https://bugzilla.novell.com/show_bug.cgi?id=176830

	* lib/userdb.py (UserDatabase.get_users): Ignore usernames that
	end in "$" - these are Active Directory hosts, and we should not
	display them.

2007-07-11  Federico Mena Quintero  <federico@novell.com>

	Patch from https://bugzilla.novell.com/show_bug.cgi?id=173929

	* admin-tool/sabayon-apply: If we are sabayon-controlled, first
	delete .gconf.xml.{defaults,mandatory} so that removals of
	lockdown keys will be honored.

	* lib/userdb.py (UserDatabase.is_sabayon_controlled): New function.

2007-07-11  Federico Mena Quintero  <federico@novell.com>

	Patches from https://bugzilla.novell.com/show_bug.cgi?id=230018
	and https://bugzilla.novell.com/show_bug.cgi?id=268903

	* lib/dirmonitor.py (DirectoryMonitor.__handle_gnomevfs_event): If
	we get an event for a directory, call the callback before
	recursing into the directory and adding watches to it.  This way
	the log of changes will be in the correct order (it needs to know
	that a dir is created before its subdirs are).
	(DirectoryMonitor.__should_ignore_dir): Don't print here whether
	we ignore the directory.
	(DirectoryMonitor.__should_ignore_file): Likewise.
	(DirectoryMonitor.__handle_gnomevfs_event): Print it here instead.
	(DirectoryMonitor.__monitor_dir_recurse): Likewise.
	(DirectoryMonitor.__monitor_dir_recurse): Always invoke the
	callback.
	(DirectoryMonitor.set_directories_to_ignore): Assert that we don't
	have any watches yet.
	(DirectoryMonitor.set_files_to_ignore): Likewise.

	* lib/sources/mozillasource.py (MozillaDelegate.handle_change):
	Log this.

2007-07-11  Federico Mena Quintero  <federico@novell.com>

	* lib/dirmonitor.py: Use gnome-vfs for monitoring instead of
	gamin.  Patch from http://bugzilla.gnome.org/show_bug.cgi?id=340488

2007-07-11  Federico Mena Quintero  <federico@novell.com>

	* admin-tool/sabayon.desktop.in (Exec): Use gnomesu since we must
	run as root.

	* lib/config.py.in (DIRECTORIES_TO_IGNORE): Add .beagle

2007-04-16  Funda Wang  <fundawang@gmail.com>

	* lib/userdb.py: gettext format fix.

2007-04-12  Federico Mena Quintero  <federico@novell.com>

	* Merged the debug-log branch into trunk (its ChangeLog follows):

2007-04-12  Federico Mena Quintero  <federico@novell.com>

	* admin-tool/sabayon-apply: Import userprofile before the rest, so
	it can do its weird pygtk assertions.

2007-04-10  Federico Mena Quintero  <federico@novell.com>

	* admin-tool/changeswindow.py (ChangesWindow.__on_ignore_toggled):
	Log a user action.
	(ChangesWindow.__on_mandatory_toggled): Likewise.

	* admin-tool/lockdown/maindialog.py
	(PessulusMainDialog.__on_unsafeprotocols_toggled): Log a user action.

	* admin-tool/lockdown/disabledapplets.py
	(PessulusDisabledApplets.toggle_value): Log a user action.

	* admin-tool/lockdown/simpleeditabletreeview.py
	(PessulusSimpleEditableTreeview.__on_cell_edited): Log a user
	action.
	(PessulusSimpleEditableTreeview.__on_add_button_clicked): Likewise.
	(PessulusSimpleEditableTreeview.__on_edit_button_clicked): Likewise.
	(PessulusSimpleEditableTreeview.__on_remove_button_clicked): Likewise.

	* admin-tool/lockdown/lockdowncheckbutton.py
	(PessulusLockdownCheckbutton.__on_lockdownbutton_toggled): Log a
	user action.
	(PessulusLockdownCheckbutton.__on_check_toggled): Likewise.

	* admin-tool/sessionwindow.py
	(SessionWindow.__handle_enforce_mandatory): Ahem, pass the
	"active" parameter to profile.set_enforce_mandatory().

2007-04-09  Federico Mena Quintero  <federico@novell.com>

	* lib/errors.py: Oops, import gtk for gtk.main_quit() in
	catch_exceptions().
	(FatalApplyErrorException.wrapper): Oops, return the func()'s
	own return value.

	* lib/debuglog.py (DEBUG_LOG_DOMAIN_PESSULUS): New debug domain.

	* admin-tool/sabayon-session (main): Use the same structure for
	handling exceptions before the main loop as in the main "sabayon"
	program.  Catch errors that happen during the main loop after the
	main "try" block.

	* */*: Oops, add the right debug domains to places where the
	errors.checked_callback decorator is used.

	* admin-tool/sessionwindow.py (SessionWindow.__do_save): Don't
	sys.exit() if we get an exception while commiting a change;
	instead, log a recoverable exception.

2007-04-03  Federico Mena Quintero  <federico@novell.com>

	* lib/errors.py (checked_callback): New function decorator.  We
	will use this to wrap all callbacks, so that we can catch
	exceptions in callbacks and flag the presence of fatal errors.
	These will in turn be caught outside the main loop, and we'll dump
	the debug log as appropriate.

	* admin-tool/lockdown/lockdowncheckbutton.py
	(PessulusLockdownCheckbutton.__on_notified): Make this a checked callback.
	(PessulusLockdownCheckbutton.__on_lockdownbutton_toggled): Likewise.
	(PessulusLockdownCheckbutton.__on_check_toggled): Likewise.
	(PessulusLockdownCheckbutton.__on_destroyed): Likewise.

	* admin-tool/lockdown/lockdownbutton.py
	(PessulusLockdownButton.__on_button_clicked): Likewise.

	* admin-tool/lockdown/simpleeditabletreeview.py
	(PessulusSimpleEditableTreeview.__on_cell_edited): Likewise.
	(PessulusSimpleEditableTreeview.__on_cell_editing_started): Likewise.
	(PessulusSimpleEditableTreeview.__on_cell_editing_canceled): Likewise.
	(PessulusSimpleEditableTreeview.__on_add_button_clicked): Likewise.
	(PessulusSimpleEditableTreeview.__on_edit_button_clicked): Likewise.
	(PessulusSimpleEditableTreeview.__on_remove_button_clicked): Likewise.
	(PessulusSimpleEditableTreeview.__on_treeselection_changed): Likewise.

	* admin-tool/lockdown/disabledapplets.py
	(PessulusDisabledApplets.__on_screen_changed): Likewise.
	(PessulusDisabledApplets.__on_icontheme_changed): Likewise.
	(PessulusDisabledApplets.update_icon): Likewise.
	(PessulusDisabledApplets.__on_lockdownbutton_toggled): Likewise.
	(PessulusDisabledApplets.__on_toggled): Likewise.
	(PessulusDisabledApplets.__on_notified): Likewise.
	(PessulusDisabledApplets.__on_destroyed): Likewise.

	* admin-tool/lockdown/maindialog.py
	(PessulusMainDialog.__on_dialog_response): Likewise.
	(PessulusMainDialog.__on_dialog_destroy): Likewise.
	(PessulusMainDialog.__on_unsafeprotocols_toggled): Likewise.

	* admin-tool/lockdown/safeprotocols.py
	(PessulusSafeProtocols.__on_notified): Likewise.
	(PessulusSafeProtocols.__on_lockdownbutton_toggled): Likewise.
	(PessulusSafeProtocols.__on_treeview_changed): Likewise.
	(PessulusSafeProtocols.__on_destroyed): Likewise.

	* admin-tool/aboutdialog.py (handle_delete): Likewise.
	(handle_response): Likewise.

	* admin-tool/changeswindow.py
	(ChangesWindow.__mandatory_data_method): Likewise.
	(ChangesWindow.__on_ignore_toggled): Likewise.
	(ChangesWindow.__on_mandatory_toggled): Likewise.

	* admin-tool/profilesdialog.py
	(Session.__session_child_watch_handler): Likewise.
	(Session.session_stderr_io_cb): Likewise.
	(AddProfileDialog.__name_entry_changed): Likewise.
	(ProfilesDialog.__dialog_response): Likewise.
	(ProfilesDialog.__add_button_clicked): Likewise.
	(ProfilesDialog.__session_finished): Likewise.
	(ProfilesDialog.__edit_button_clicked): Likewise.
	(ProfilesDialog.__details_button_clicked): Likewise.
	(ProfilesDialog.__users_button_clicked): Likewise.
	(ProfilesDialog.__remove_button_clicked): Likewise.
	(ProfilesDialog.__handle_key_press): Likewise.
	(ProfilesDialog.__profile_selection_changed): Likewise.

	* admin-tool/lockdownappliersabayon.py
	(LockdownApplierSabayon.__changes_model_changed): Likewise.

	* admin-tool/sessionwindow.py
	(ProfileChangesModel.handle_profile_change): Likewise.
	(SessionWindow.__add_widget): Likewise.
	(SessionWindow.__changes_model_changed): Likewise.
	(SessionWindow.__handle_save): Likewise.
	(SessionWindow.__handle_quit): Likewise.
	(SessionWindow.__handle_delete_event): Likewise.
	(SessionWindow.__handle_about): Likewise.
	(SessionWindow.__handle_edit): Likewise.
	(SessionWindow.__handle_lockdown): Likewise.
	(SessionWindow.__handle_enforce_mandatory): Likewise.
	(SessionWindow.__session_finished): Likewise.
	(SessionWindow.__session_mapped): Likewise.
	(SessionWindow.__update_statusbar): Likewise.
	(SessionWindow.__update_resize_grip): Likewise.

	* admin-tool/usersdialog.py (UsersDialog.__on_use_toggled): Likewise.
	(UsersDialog.__all_check_toggled): Likewise.

	* admin-tool/editorwindow.py
	(ProfileEditorWindow.__handle_key_press): Likewise.
	(ProfileEditorWindow.__handle_save): Likewise.
	(ProfileEditorWindow.__handle_close): Likewise.
	(ProfileEditorWindow.__handle_delete_event): Likewise.
	(ProfileEditorWindow.__handle_delete): Likewise.
	(ProfileEditorWindow.__handle_about): Likewise.
	(ProfileEditorWindow.__treeview_selection_changed): Likewise.
	(ProfileEditorWindow.__handle_row_activation): Likewise.

2007-04-02  Federico Mena Quintero  <federico@novell.com>

	* lib/protosession.py (ProtoSession.apply_profile): Use the right
	namespace for get_*_log_config_filename().

	* admin-tool/sessionwindow.py: import errors.
	(*): uprint is really "debuglog.uprint".

	* admin-tool/sabayon-apply: import os.

	* admin-tool/profilesdialog.py (Session.build_envp_for_child):
	Oops, fill the new_environ correctly from the variables we already
	knew.

2007-04-02  Federico Mena Quintero  <federico@novell.com>

	* admin-tool/sabayon (show_error_dialog): Put the call to
	gtk.main() outside the main "try" block.  Fix the way errors are
	captured.

	* admin-tool/profilesdialog.py
	(Session.__session_child_watch_handler): Exit the main loop if we
	get a fatal error, so that the toplevel 'sabayon' will catch the
	error as soon as possible.
	(mprint): Log as milestone, sigh.

	* lib/debuglog.py (debug_log_dump_to_dated_file): Doh, call
	debug_log_dump_to_file(), not debug_log_dump_configuration()!

2007-03-30  Federico Mena Quintero  <federico@novell.com>

	* admin-tool/sabayon (main): Use errors.errors_have_fatal_error()
	instead of catching fatal exceptions.

	* admin-tool/profilesdialog.py
	(Session.__session_child_watch_handler): Use
	errors.errors_log_fatal_error() instead of throwing an exception.
	We cannot throw an exception since we are a callback inside
	gtk_main().

	* lib/errors.py (errors_have_recoverable_error): Use global
	_have_recoverable_error.  Broken scoping strikes again!
	(errors_log_recoverable_error): Likewise.
	(errors_have_fatal_error): New function.
	(errors_log_fatal_error): New function.
	(*): Oops, use debuglog.*

	* lib/debuglog.py (debug_log_dump_to_dated_file): Don't put the
	pid in the log's file name; just the date/time is enough.
	(DebugLog.dump_milestones_to_list): Print the process name in the headers.
	(DebugLog.dump_ring_buffer_to_list): Likewise.

2007-03-29  Federico Mena Quintero  <federico@novell.com>

	* lib/errors.py (errors_log_recoverable_error): New function.
	(errors_log_recoverable_exception): Use errors_log_recoverable_error().

	* lib/debuglog.py (debug_log_dump_to_dated_file): Don't reuse the
	"time" module name as a variable name.  Also, it's tm_mday, not tm_day.

	* admin-tool/profilesdialog.py
	(Session.__session_child_watch_handler): Log termination of the
	child session as a milestone; deal with the possible exit codes.
	(Session.__session_child_watch_handler): Clobber the user
	processes so that we don't race with gconfd (merged from a Novell patch).

	* admin-tool/sabayon (main): Oops, "try/else" is not the same as
	"try/except" --- I really want to catch any other exceptions.

	* admin-tool/sabayon-session (main): Likewise.

	* lib/util.py (get_admin_log_config_filename): Sigh, use "global"
	for _util_admin_log_config_filename.  Proper scoping, pretty please?
	(set_admin_log_config_filename): Likewise.
	(get_readable_log_config_filename): Likewise.
	(set_readable_log_config_filename): Likewise.

2007-03-28  Federico Mena Quintero  <federico@novell.com>

	* admin-tool/sabayon (readable_log_config_setup): New function.
	Copies the log configuration to a world-readable file, as in
	normal circumstances the "sabayon" user will not be able to read
	root's own ~/sabayon-debug-log.conf.
	(main): Capture fatal exceptions, log them, and terminate.
	Capture recoverable errors, log them, and terminate gracefully.

	* lib/errors.py (errors_exit_helper_normally): Use
	debuglog.debug_log_dump_to_file() instead of
	debug_log_dump_to_stderr().
	(errors_exit_with_fatal_exception): Likewise.

	* lib/util.py (debug_print): Really remove this (hadn't I deleted
	it before!?).

	* lib/debuglog.py (DebugLog.load_configuration): Removed stale comment.
	(debug_log): Add documentation.
	(debug_log_current_exception): Likewise.
	(debug_log_load_configuration): Likewise.
	(debug_log_is_domain_enabled): Likewise.
	(debug_log_dump_as_list): Likewise.
	(debug_log_dump_to_stderr): Likewise.
	(debug_log_dump_configuration): New function; dumps the debug log
	configuration to an open file.
	(debug_log_dump_to_dated_file): New function; dumps the debug log
	to a unique file.
	(DebugLog.dump_configuration): New method to implement the above.
	(debug_log_dump_to_file): Renamed from debug_log_dump_to_stderr();
	now dumps the log to a given file.

	* lib/config.py.in (LOG_CONFIG_FILENAME): New constant.
	(BUG_TRACKING_SYSTEM): New constant, set to
	"http://bugzilla.gnome.org".

	* admin-tool/sabayon-session: Use config.LOG_CONFIG_FILENAME.
	Compute an adequate fallback for the log config filename if none
	is provided in the command line.

	* admin-tool/sabayon-apply: Likewise.

2007-03-22  Federico Mena Quintero  <federico@novell.com>

	* admin-tool/sessionwindow.py
	(SessionWindow.__handle_enforce_mandatory): Log a user action for
	setting the enforce_mandatory option.
	(SessionWindow.__handle_lockdown): Log a user action for bringing
	up the Lockdown window.

2007-03-14  Federico Mena Quintero  <federico@novell.com>

	* admin-tool/profilesdialog.py
	(ProfilesDialog.__edit_button_clicked): Log the start of the
	editing process.
	(ProfilesDialog.__session_finished): Log the end of the editing
	process.
	(Session.build_envp_for_child): New function; build the envp for
	the child process here instead of in Session.start().
	(Session.session_stderr_io_cb): New helper function; aggregates
	the debug log from sabayon-session into our own log.
	(Session.start): Set up the machinery to sniff the debug log from
	the helper "sabayon-session" process and to aggregate it into our
	own log.

	* lib/debuglog.py (uprint): New public function; similar to
	dprint() everywhere, but this one logs to the USER domain.

	* lib/config.py.in: Note a FIXME; maybe some parameters like
	DEFAULT_PATH should be passed to the "configure" script instead of
	being hardcoded here.

	* lib/errors.py (RecoverableApplyErrorException,
	FatalApplyErrorException): New classes for throwing errors from
	the "apply" process.

	* lib/util.py (get_admin_log_config_filename):
	(set_admin_log_config_filename): New functions to get/set the
	human-readable filename for the log configuration.
	(get_readable_log_config_filename):
	(set_readable_log_config_filename): New functions to get/set the
	log configuration filename that will be readable by Sabayon's
	helper processes.

	* admin-tool/sabayon-apply: Save the admin and readable log config
	filenames.

	* admin-tool/sabayon-session: Likewise.

2007-03-07  Federico Mena Quintero  <federico@novell.com>

	* admin-tool/sabayon-apply: Log the start/end of the apply process
	as milestones instead of as normal messages.

	* admin-tool/sabayon-session: Log milestones for the start/end of
	the session window.

2007-02-15  Federico Mena Quintero  <federico@novell.com>

	* lib/Makefile.am (PYTHON_FILES): Added debuglog.py, errors.py.

	* lib/errors.py (errors_exit_helper_normally): New utility function to
	exit normally from the helper programs, dumping the debug log as
	appropriate.
	(errors_exit_with_fatal_exception): New utility function to exit
	when a fatal exception happens after dumping the debug log.

	* admin-tool/sabayon-apply: Oops, import "debuglog" and "errors".
	Use optparser for argument parsing.  Add --sabayon-session as an
	alias for the -s option.  Add a --log-config option to specify
	where to read the options for the debug log.  Use
	errors_exit_normally() and errors_exit_with_fatal_exception().
	(dprint): Use debuglog.debug_log().
	(mprint): New function to print milestones.

	* admin-tool/sabayon-session: Add the same toplevel logging
	machinery as sabayon-apply.

	* lib/util.py (EXIT_CODE_FATAL, EXIT_CODE_RECOVERABLE): Moved the
	exit codes for the helper programs to here.
	(init_debug_modules): Removed; moved the logic for deprecation
	warnings to debug_log_load_configuration().  Also removed the
	debug domains; moved them to debuglog.py.
	(debug_print): Removed.

	* lib/debuglog.py (DEBUG_LOG_DOMAIN_SABAYON_SESSION): New domain
	for sabayon-session.  Move the debug log domains from util.py to
	here.
	(debug_log_load_configuration): Disble deprecation warnings unless
	DEBUG_LOG_DOMAIN_DEPRECATED is enabled (moved from
	util.py:init_debug_modules().

	* admin-tool/profilesdialog.py (dprint): Use debuglog.debug_log
	rather than debug_print()
	* admin-tool/changeswindow.py (dprint): Likewise.
	* admin-tool/lockdownappliersabayon.py (dprint): Likewise.
	* admin-tool/sessionwindow.py (dprint): Likewise.
	* admin-tool/editorwindow.py (dprint): Likewise.
	* admin-tool/sessionwidget.py (dprint): Likewise.
	* lib/sources/mozillasource.py (dprint): Likewise.
	* lib/sources/paneldelegate.py (dprint): Likewise.
	* lib/sources/gconfsource.py (dprint): Likewise.
	* lib/sources/filessource.py (dprint): Likewise.
	* lib/mozilla_bookmarks.py (dprint): Likewise.
	* lib/userprofile.py (dprint): Likewise.
	* lib/cache.py (dprint): Likewise.
	* lib/storage.py (dprint): Likewise.
	* lib/protosession.py (dprint): Likewise.
	* lib/usermod.py (dprint): Likewise.
	* lib/dirmonitor.py (dprint): Likewise.
	* lib/userdb.py (dprint): Likewise.

	* lib/sources/mozillasource.py (dwarn): Removed unused function.

2007-02-14  Federico Mena Quintero  <federico@novell.com>

	Start fixing bug #398479 - make errors visible to the user, and
	keep a debug log that can be used for bug reports.

	* admin-tool/sabayon: Include a comment with Emacs local variables
	so that it picks up python-mode for this file.
	* admin-tool/sabayon-apply: Likewise.

	* admin-tool/sabayon-session: Likewise.

	* lib/debuglog.py: New file for a ring buffer debug log, similar
	to nautilus-debug-log.

	* lib/test-debug-log.py: Simple test for the debug log mechanism.

	* lib/errors.py: New file with utilities to log the presence of
	recoverable errors.

	* admin-tool/sabayon-apply: Dump the debug log when the program
	finishes, so that the calling progrma will in turn log it
	somewhere.  If there was a recoverable error during execution,
	exit() with EXIT_CODE_RECOVERABLE=2 so that the calling program
	will notify the admin.  If we get a fatal exception, which would
	otherwise be uncaught, then exit() with EXIT_CODE_FATAL=1.

	* This is the end of the debug-log branch.

2007-02-13  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	Merge from gnome-2-18 branch.

	* admin-tool/saveconfirm.py (SaveConfirmationAlert.__init__): Do not
	overload singular form of formatted plural string with normal string,
	to allow translation for certain languages with no plural concept.
	Fixes bug #353236 - Overloaded plural strings.

	* lib/sources/paneldelegate.py (PanelObject.__init__): Fixes "X
	launcher" string with grammar too specific for translation.
	Fixes bug #402089 - String untranslatable due to too specific grammar.

==================== 2.17.90 ====================

2007-01-22  Federico Mena Quintero  <federico@novell.com>

	Released sabayon-2.17.90.

	* NEWS: Update for release.

2007-01-19  Federico Mena Quintero  <federico@novell.com>

	* lib/storage.py
	(ProfileStorage.extract.copy_preserving_permissions):  New helper
	function.  When populating the scratch home directory, we may get
	read-only files from /etc/skel which we need to overwrite with
	files from the zipped user profile (like ~/.gnu-emacs from
	openSUSE - it's read-only).  However, we can't write to these
	files since they are read-only.  So, we first save the
	permissions, then unlink the file, write the new file, and restore
	the permissions.  See
	https://bugzilla.novell.com/show_bug.cgi?id=230018#c11
	(ProfileStorage.extract): Use copy_preserving_permissions().

2007-01-18  Federico Mena Quintero  <federico@novell.com>

	* configure.ac: Version mega-bump from 2.12.15 to 2.17.90 to
	finally make a release for GNOME 2.17.

2007-01-18  Federico Mena Quintero  <federico@novell.com>

	* lib/sources/gconfsource.py: 
	* lib/sources/paneldelegate.py: Use subprocess.call() instead of
	os.call() so that we don't use unrobust shell quoting.  Patch
	taken from https://bugzilla.novell.com/show_bug.cgi?id=184919, by
	Hans Petter Jansson <hpj@novell.com>.

2007-01-18  Federico Mena Quintero  <federico@novell.com>

	* lib/sources/filessource.py (FilesSource.__handle_monitor_event):
	Also notice creation/removal of directories.  Fixes bug #395505.
	Patch by Hans Petter Jansson <hpj@novell.com>.

2007-01-17  Federico Mena Quintero  <federico@novell.com>

	* admin-tool/sessionwindow.py (SessionWindow.__do_save): The changes model
	stores changes in reverse chronological order, so that the latest
	changes are always visible at the top of the window.  To apply the
	changes, we need them in chronological order.  So, we collect all
	the changes and reverse that list before committing the
	changes.  Also, do *not* let exceptions pass through!  Abort
	immediately if we get an exception while committing.  This is part
	of the fix for https://bugzilla.novell.com/show_bug.cgi?id=230018:
	user profiles are not saved correctly because Sabayon thinks some
	files are missing.

	* lib/sources/mozillasource.py (MozillaDelegate.is_profile_file):
	Ensure that we have an ini_file before invoking methods on it!

2007-01-17  Federico Mena Quintero  <federico@novell.com>

	Fix bug #320589 - use long descriptions for changes to the panel,
	instead of generic "%s added to panel".  Patch by Sayamindu
	Dasgupta <sayamindu@gmail.com>.

	* lib/sources/paneldelegate.py
	(PanelAppletAddedChange.get_short_description): Use long
	descriptions, like "Applet %s added to top panel".
	(PanelAppletRemovedChange.get_short_description): Likewise,
	"Applet %s removed from left panel".
	(PanelObjectAddedChange.get_short_description): Likewise, 
	"%s added to right panel".
	(PanelObjectRemovedChange.get_short_description): Likewise,
	"%s removed from bottom panel".
	(PanelDelegate.__init__): Store the orientation of the panel so
	that we can use it from the applet/object delegates.
	(PanelDelegate.__init__): Find the human-readable name of the
	applet by querying bonobo-activation.
	(PanelDelegate.__init__): Compute a human-readable name from the
	object's type.

2007-01-11  Federico Mena Quintero  <federico@novell.com>

	* MAINTAINERS: Update to proper format, add myself, removed Alex.

2006-12-09  Thierry Randrianiriana  <randrianiriana@gmail.com>

	* po/mg.po: Added Malagasy translation
	* po/LINGUAS: Added 'mg'

2006-12-08  Kjartan Maraas  <kmaraas@gnome.org>

	* admin-tool/sabayon.glade: Mark a string as translatable.

Thu Sep 28 22:57:23 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* lib/userdb.py: revert patch for #327983
	  <uws> DV: You broke string freeze when fixing #327983. Since
	  sabayon has not been branched for gnome-2-16 (or something like
	  that, why doesn't it use gnome versioning?), please revert!

Thu Sep 28 11:30:52 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* admin-tool/Makefile.am: applied patch from Joseph Sacco to have
	  a nicer 'make uninstall' closes bug #339807

Thu Sep 28 10:15:07 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* lib/userdb.py: apply patch for bug #327983 to ease localization
	  of an error string

2006-08-28  Alexander Larsson  <alexl@redhat.com>

	* admin-tool/sabayon.desktop.in:
	Change sabayon category to GNOME;Application;System;Settings;
	(#331615) Patch from Wouter Bolsterlee

2006-08-15  Kjartan Maraas  <kmaraas@gnome.org>

	* configure.ac: Bump intltool req.

2006-08-03  Jovan Naumovski  <jovan@lugola.net>

	* Added sl.po to po/ and 'sl' to LINGUAS

2006-07-28  Alexander Larsson  <alexl@redhat.com>

	* lib/config.py.in:
	Remove #!

2006-07-28  Alexander Larsson  <alexl@redhat.com>

	* admin-tool/Makefile.am:
	* admin-tool/lockdown/Makefile.am:
	* lib/Makefile.am:
	* lib/sources/Makefile.am:
	Install into lib64 on 64bit arches,  because we ship
	an .so file.

2006-07-28  Alexander Larsson  <alexl@redhat.com>

	* configure.ac:
	Post release version bump

==================== 2.12.4 ====================

2006-07-27  Alexander Larsson  <alexl@redhat.com>

	* NEWS:
	Update for release

2006-07-27  Alexander Larsson  <alexl@redhat.com>

	* admin-tool/aboutdialog.py:
	* admin-tool/changeswindow.py:
	* admin-tool/editorwindow.py:
	* admin-tool/fileviewer.py:
	* admin-tool/gconfviewer.py:
	* admin-tool/lockdownappliersabayon.py:
	* admin-tool/profilesdialog.py:
	* admin-tool/saveconfirm.py:
	* admin-tool/sessionwidget.py:
	* admin-tool/sessionwindow.py:
	* admin-tool/usersdialog.py:
	* lib/cache.py:
	* lib/dirmonitor.py:
	* lib/mozilla_bookmarks.py:
	* lib/protosession.py:
	* lib/sources/filessource.py:
	* lib/sources/gconfsource.py:
	* lib/sources/mozillasource.py:
	* lib/sources/paneldelegate.py:
	* lib/sources/testsource.py:
	* lib/storage.py:
	* lib/userdb.py:
	* lib/usermod.py:
	* lib/userprofile.py:
	* lib/util.py:
	Remove unneeded #! from python files

2006-04-28  Alexander Larsson  <alexl@redhat.com>

	* configure.ac:
	Use po/LINGUAS (#338011)
	Patch from Przemyslaw Grzegorczyk

2006-04-23  Kjartan Maraas <kmaraas@gnome.org>

	* configure.ac: Unbreak the build.

2006-04-18  Kjartan Maraas  <kmaraas@gnome.org>

	* configure.ac: Remove obsolete entry for no_NO
	* po/no.po: And the translation.

2006-04-18  Vladimer Sichinava  <alinux@siena.linux.it>

        * configure.ac: Added "ka" (Georgian) to ALL_LINGUAS

2006-04-11  William Lachance  <wrlach@gmail.com>

	* lib/config.py.in: Fix breakage.

2006-04-05  Pema Geyleg  <pema.geyleg@gmail.com>

	* configure.ac: Added dz (Dzongkha) to ALL_LINGUAS.

2006-03-31  Rhys Jones  <rhys@sucs.org>

	* configure.ac: Added Welsh (cy) to ALL_LINGUAS.

2006-03-22  Alexander Larsson  <alexl@redhat.com>

	* configure.ac:
	Add support for Frugalware Linux
	Patch from Alex Smith <alex.extreme2@gmail.com>

2006-03-13  Rajesh Ranjan  <rranjan@redhat.com>

	* configure.ac: Added Hindi (hi_IN) to ALL_LINGUAS.

2006-03-12  Alessio Frusciante  <algol@firenze.linux.it>

	* configure.ac: Added Italian (it) to ALL_LINGUAS.

2006-03-11  Duarte Loreto <happyguy_pt@hotmail.com>

	* configure.ac: Added Portuguese (pt) to ALL_LINGUAS.

2006-03-09  Ahmad Riza H Nst  <rizahnst@id.gnome.org>

	* po/id.po: Added Indonesian Translation
	* configure.ac: Added id in to ALL_LINGUAS line

2006-03-06  Alexander Larsson  <alexl@redhat.com>

	* configure.ac:
	Handle FC5 Xsession path change

2006-03-06  Alexander Larsson  <alexl@redhat.com>

	* Makefile.am:
	Move sabayon.schema to EXTRA_DIST

2006-02-23  Inaki Larranaga  <dooteo@euskalgnu.org>

	* configure.ac: Added "eu" to ALL_LINGUAS.

2006-02-19  Erdal Ronahi  <erdal.ronahi@gmail.com>

	* configure.ac: Added "ku" to ALL_LINGUAS.

2006-02-16  Kang Jeong-Hee  <keizie@gmail.co>

	* configure.in: Added "ko" to ALL_LINGUAS.

2006-01-31  Elijah Newren  <newren gmail com>

	* configure.ac:
	Post release version bump to 2.12.4

==================== 2.12.3 ====================

2006-01-31  Elijah Newren  <newren gmail com>

	* NEWS: 2.12.3 release

2006-01-27  Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

	* configure.in: Added "zh_HK" "zh_TW" to ALL_LINGUAS.

2006-01-24  Clytie Siddall <clytie@riverland.net.au>

	* configure.in	Added vi in ALL_LINGUAS line.

	2005-12-30  Slobodan D. Sredojevic  <ssl@uns.ns.ac.yu>

	* configure.ac: Add 'sr' and 'sr@Latn' to ALL_LINGUAS

2005-12-28  William Lachance <wrlach@gmail.com>

	* configure.ac lib/config.py.in lib/Makefile.am:
	Don't assume that the Xnest binary is '/usr/X11R6/bin/Xnest':
	detect its location automatically. Also make configure fail if
	we can't find it, since it no longer has a canonical location.

2005-12-20  Ankit Patel  <ankit644@yahoo.com>

        * configure.ac: Added 'gu' to ALL_LINGUAS.

2005-12-05  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* configure.ac: Added 'th' (Thai) to ALL_LINGUAS.

2005-11-29  Žygimantas Beručka  <zygis@gnome.org>

	* configure.ac: Added Lithuanian to ALL_LINGUAS.

2005-11-28  Ignacio Casal Quinteiro  <nacho.resa@gmail.com>

	* configure.ac: Added 'gl' to ALL_LINGUAS.

2005-11-20  Amanpreet Singh Alam <amanpreetalam@yahoo.com>

	* configure.ac: Add "pa" Punjabi to ALL_LINGUAS

2005-11-20  Ilkka Tuohela <hile@iki.fi>

	* configure.ac: Added 'fi' (Finnish) to ALL_LINGUAS.

2005-11-19  Takeshi AIHANA <aihana@gnome.gr.jp>

	* configure.ac: Added 'ja' (Japanese) to ALL_LINGUAS.

2005-11-17  Alexander Larsson  <alexl@redhat.com>

	* configure.ac:
	Post release version bump

==================== 2.12.2 ====================

2005-11-17  Alexander Larsson  <alexl@redhat.com>

	* configure.ac:
	Update version to 2.12.2

	* NEWS:
	Update for release

2005-11-15  Alexander Larsson  <alexl@redhat.com>

	* sabayon.spec.in:
	Add sabayon.schema docs

2005-11-11  Alexander Larsson  <alexl@redhat.com>

	* admin-tool/sabayon.glade:
	Remove separators from dialogs.

2005-11-11  Alexander Larsson  <alexl@redhat.com>

	* AUTHORS:
	Add me

	* Makefile.am:
	* sabayon.schema:
	Add LDAP example schema

	* doc/Makefile.am:
	* doc/config.html:
	* doc/flat.html:
	* doc/format.html:
	* doc/ldap.html:
	* doc/sabayon.css:
	* doc/site.xsl:
	Update docs a bit. Add LDAP docs.

2005-11-10  Alexander Larsson  <alexl@redhat.com>

	* lib/userdb.py:
	Initial ldap support

	* sabayon.spec.in:
	Require python-ldap

2005-11-08  Frederic Crozat  <fcrozat@mandriva.com>

	* configure.ac:
	Use correct login XSession script for Mandriva.

2005-11-08  Frederic Crozat  <fcrozat@mandriva.com>

	* configure.ac:
	Add support for Mandriva distributions.

2005-11-08  Alexander Larsson  <alexl@redhat.com>

	* configure.ac:
	Suse support. Patch from James Willcox <snorp@snorp.net>

2005-11-07  Alexander Larsson  <alexl@redhat.com>

	* admin-tool/sessionwindow.py:
	* lib/userprofile.py:
	Add method mergo_old_change to ProfileChange and call it

	* lib/sources/filessource.py:
	Use the merging to make delete changes remove a create change
	from this session.
	Fix delete change events

	* lib/config.py.in:
	Ignore files ~/.config and ~/.local.

==================== 2.12.1 ====================

2005-11-07  Alexander Larsson  <alexl@redhat.com>

	* NEWS:
	Update for release.

2005-11-07  Alexander Larsson  <alexl@redhat.com>

	* admin-tool/lockdown/Makefile.am:
	* admin-tool/lockdown/disabledapplets.py:
	* admin-tool/lockdown/globalvar.py:
	* admin-tool/lockdown/icons.py:
	* admin-tool/lockdown/lockdownbutton.py:
	* admin-tool/lockdown/lockdowncheckbutton.py:
	* admin-tool/lockdown/maindialog.py:
	* admin-tool/lockdown/pessulus.glade:
	* admin-tool/lockdown/safeprotocols.py:
	Update to latest pessulus version (ChangeLog entry 2005-11-04)

2005-11-04  Alexander Larsson  <alexl@redhat.com>

	* sabayon.spec.in:
	Update for changes

	* lib/sources/mozillasource.py:
	Fix bug that caused multiple files in profile to be mishandled

	* lib/util.py:
	debug prints for "all" gets mask 0xFFFFFFFF

2005-11-03  Alexander Larsson  <alexl@redhat.com>

	* lib/protosession.py:
	Generate our own cookie instead of reusing the one from the
	parent display. (#318810)

	* lib/util.py:
	Add function to generate random strings

2005-11-03  Alexander Larsson  <alexl@redhat.com>

	* lib/sources/mozillasource.py:
	Don't strip comments from inside strings

	* lib/unittests.py:
	Add mozillasource tests

2005-11-03  Alexander Larsson  <alexl@redhat.com>

	* lib/cache.py:
	Use ~/.sabayon/profile_cache, not ~/.profile_cache

2005-11-02  Alexander Larsson  <alexl@redhat.com>

	* lib/storage.py:
	* lib/unittests.py:
	Remove the revisioning stuff from the storage. The UI was way to
	complicated. This is easier done on a profile zipfile level.

	* admin-tool/editorwindow.py:
	Remove revisions from UI.
	Display panel launcher files.

2005-11-02  Alexander Larsson  <alexl@redhat.com>

	* lib/userprofile.py:
	Add get_path_description to delegates

	* lib/sources/paneldelegate.py:
	Implement get_path_description for panel delegate.
	Remove launchers from storage on removal.

2005-11-02  Alexander Larsson  <alexl@redhat.com>

	* configure.ac:
	* admin-tool/Makefile.am:
	* admin-tool/lockdown/.cvsignore:
	* admin-tool/lockdown/DONT_EDIT_FILES_HERE:
	* admin-tool/lockdown/Makefile.am:
	* admin-tool/lockdown/__init__.py:
	* admin-tool/lockdown/config.py:
	Set up for pessulus import.

	* admin-tool/lockdown/disabledapplets.py:
	* admin-tool/lockdown/icons.py:
	* admin-tool/lockdown/lockdownapplier.py:
	* admin-tool/lockdown/lockdowncheckbutton.py:
	* admin-tool/lockdown/maindialog.py:
	* admin-tool/lockdown/pessulus.glade:
	* admin-tool/lockdown/safeprotocols.py:
	* admin-tool/lockdown/simpleeditabletreeview.py:
	Initial pessulus import (ChangeLog entry 2005-11-02)

	* admin-tool/lockdownwindow.py:
	* admin-tool/lockdownappliersabayon.py:
	* admin-tool/sessionwindow.py:
	Remove lockdown window and move sabayon applier
	code to its own file.

	* lib/Makefile.am:
	* lib/config.py.in:
	* lib/util.py:
	Add and use LOCALEDIR

	* lib/sources/gconfsource.py:
	Implement set_gconf_list.

2005-11-01  Alexander Larsson  <alexl@redhat.com>

	* lib/userprofile.py:
	Start monitory delegates after sources, needed because
	the panel delegate needs the gconf source to initialize
	the gconf path file.

	* lib/sources/paneldelegate.py:
	Handle files added when you add panel launchers.

2005-11-01  Alexander Larsson  <alexl@redhat.com>

	* admin-tool/lockdownwindow.py:
	* lib/sources/gconfsource.py:
	Update to use the latest pessulus lockdownapplier, but don't
	actually use pessulus yet.

2005-10-28  Alexander Larsson  <alexl@redhat.com>

	* admin-tool/lockdownwindow.py:
	* admin-tool/Makefile.am:
	New lockdown window.
	Simple initial version, using an applier abstraction so that we
	can plug in Pessulus later.

	* lib/userprofile.py:
	Add get_mandatory method to ProfileChange

	* admin-tool/sessionwindow.py:
	Use the lockdown window.
	Add changed parameter to changed signal of change model
	Add find method for chage model
	Get mandatory setting from change event if set

	* admin-tool/changeswindow.py:
	Emit changed when changing the mandatory setting of a change

	* lib/sources/gconfsource.py:
	Add gconf helper for lockdown settings

2005-10-27  Alexander Larsson  <alexl@redhat.com>

	* admin-tool/sessionwindow.py:
	* lib/sources/filessource.py:
	* lib/userprofile.py:
	Make backup files be marked ignore by default.

2005-10-27  Alexander Larsson  <alexl@redhat.com>

	* README:
	Add comment about gconf 2.12.1 requirement for enforce mandatory

	* admin-tool/sabayon.desktop.in:
	Better name

	* admin-tool/changeswindow.py:
	* admin-tool/editorwindow.py:
	* admin-tool/fileviewer.py:
	* admin-tool/gconfviewer.py:
	* admin-tool/sabayon.glade:
	* admin-tool/sessionwindow.py:
	* admin-tool/usersdialog.py:
	* lib/protosession.py:
	Better window titles

2005-10-27  Alexander Larsson  <alexl@redhat.com>

	* admin-tool/sabayon-apply:
	Add -s argument to mean "nested sabayon session"

	* admin-tool/sessionwindow.py:
	Add Enforce mandatory toggle menu item. You can use
	this to edit a settting that you earlier set as mandatory.

	* lib/config.py.in:
	Ignore directory .gconf.xml.mandatory-alt

	* lib/protosession.py:
	Pass -s to apply tool

	* lib/sources/filessource.py:
	* lib/sources/mozillasource.py:
	* lib/sources/paneldelegate.py:
	* lib/sources/testsource.py:
	* lib/userprofile.py:
	Add set_enforce_mandatory() call and is_sabayon_session argument
	to apply()

	* lib/storage.py:
	Allow you to use different source name when adding file

	* lib/sources/gconfsource.py:
	Implement set_enforce_mandatory() by having two mandatory trees
	at different places in the stack and moving between them.
	Only listen for changes in the ~/.gconf source
	use client.suggest_sync to sync in sync_changes instead of shutting
	down gconfd.

2005-10-26  Alexander Larsson  <alexl@redhat.com>

	* admin-tool/sessionwindow.py:
	* lib/protosession.py:
	Apply the profile before starting the session.
	This means the file sources being applied isn't recorded in the session.

2005-10-24  Alexander Larsson  <alexl@redhat.com>

	* lib/sources/gconfsource.py (GConfSource.sync_changes):
	Look for the right file when saving gconf state.

2005-10-24  Alexander Larsson  <alexl@redhat.com>

	* admin-tool/gconfviewer.py:
	* admin-tool/sabayon:
	* admin-tool/sabayon-session:
	* lib/userprofile.py:
	Find correct pygtk version if installed in a non-default place.

2005-10-20  Sebastien Bacher  <seb128@debian.org>

	* lib/Makefile.am: fix a typo with the sed command used
	  to set the session name (Closes: #319314).

2005-10-11  Mark McLoughlin  <mark@skynet.ie>

	* configure.ac: post-release bump to 2.12.1

==================== 2.12.0 ====================

2005-10-11  Mark McLoughlin  <mark@skynet.ie>

	* configure.ac: Version 2.12.0.

2005-10-04  Pawan Chitrakar  <pchitrakar@gmail.com>

	* configure.ac: Added ne in ALL_LINGUASi

2005-10-02 02:57:00 EST 2005 William Lachance <wrlach@gmail.com>

	* lib/config.py.in: ignore .esd_auth.

Wed Sep 21 10:53:17 CEST 2005 Daniel Veillard <veillard@redhat.com>

	* configure.ac lib/config.py.in lib/Makefile.am: applied patch from
	  William Lachance fixing a problem with session name on some distribs

2005-08-31  Christophe Merlet  <redfox@redfoxcenter.org>

	* configure.ac: Added "fr" to ALL_LINGUAS

2005-08-15  Mark McLoughlin  <markmc@redhat.com>

	* lib/protosession.py: create a copy of os.envrion
	before modifying it.

	* sabayon.spec.in: sync some changes from downstream.

2005-08-10  Maxim Dziumanenko <mvd@mylinux.ua>

	* configure.ac: Added "uk" to ALL_LINGUAS

2005-08-01  Mark McLoughlin  <markmc@redhat.com>

	* configure.ac: post-release bump to 2.11.91

==================== 2.11.90 ====================

2005-08-01  Mark McLoughlin  <markmc@redhat.com>

	* configure.ac: Version 2.11.90.

2005-08-01  Mark McLoughlin  <markmc@redhat.com>

	* lib/sources/paneldelegate.py: add some more debug
	spew.

2005-08-01  Mark McLoughlin  <markmc@redhat.com>

	Allow ignoring changes to specific GConf keys.
	Bug #310514

	* lib/config.py.in: add GCONF_KEYS_TO_IGNORE

	* lib/sources/gconfsource.py: ignore notifications
	of changes to keys which match any pattern in
	GCONF_KEYS_TO_IGNORE

2005-08-01  Mark McLoughlin  <markmc@redhat.com>

	* lib/config.py.in: looks like .ICEauthority gets
	created initially as .ICEauthority-c or whatever.
	Ignore those files too.

2005-08-01  Mark McLoughlin  <markmc@redhat.com>

	Fix issue with stacking behaviour of windows.
	Turns out to be that you shouldn't have a
	_NET_WM_WINDOW_TYPE_NORMAL window whose
	transient parent is _NET_WM_WINDOW_TYPE_DIALOG.
	Bug #305181

	* admin-tool/sabayon.glade: set type_hint on
	profiles_dialog to _NET_WM_WINDOW_TYPE_DIALOG
	and window_position to GTK_WIN_POS_CENTER.

2005-08-01  Mark McLoughlin  <markmc@redhat.com>

	* lib/storage.py: fix another instance of
	a translator-unfriendly	string. Bug #308363

2005-07-29  Mark McLoughlin  <markmc@redhat.com>

	* sabayon.spec.in: on FC5, require pygtk-2.7.1 for
	the MessageDialog constructor fix in bug #311226.
	pygtk-2.6.x should work fine too, though.

2005-07-29  Mark McLoughlin  <markmc@redhat.com>

	Fixes bug #308363

	* lib/sources/mozillasource.py,
	  lib/storage.py: add variable names to some
	format strings so translators can switch around
	their order.

2005-07-29  Mark McLoughlin  <markmc@redhat.com>

	* lib/util.py: turn deprecation warnings off by
	default unless you do SABAYON_DEBUG=deprecated

2005-07-29  Mark McLoughlin  <markmc@redhat.com>

	* lib/config.py.in:
	s/.gtkrc-1.2-gnome2/.gtkrc-1.2-gnome2\*/ in
	files-to-ignore so we catch the temporary .new
	file.

2005-07-29  Mark McLoughlin  <markmc@redhat.com>

	* lib/config.py.in: add ".fonts.cache-1*" to
	files-to-ignore.

	* lib/dirmonitor.py:
	(DirectoryMonitor.__should_ignore_dir),
	(DirectoryMonitor.__should_ignore_file): add support
	for shell-style globs in the lists of files and
	directories to ignore.

2005-07-29  Mark McLoughlin  <markmc@redhat.com>

	* lib/userdb.py: minor fix to DV's fix for bug #311796

Fri Jul 29 12:09:38 CEST 2005 Daniel Veillard <veillard@redhat.com>

	* lib/userdb.py: second part of #311796 fix, unescape once the
	  URI base composition has been done if it is a local path.

2005-07-29  Mark McLoughlin  <markmc@redhat.com>

	* lib/config.py.in: add ~/.profile_cache to directories-to-ignore
	in case it gets created (which it shouldn't)

2005-07-29  Mark McLoughlin  <markmc@redhat.com>

	* lib/userdb.py:
	(UserDatabase.__profile_name_to_location): make the debug
	spew a bit more clear.

	* admin-tool/sabayon-apply, lib/userprofile.py: make
	the debug spew not crash if the profile name contains
	a '%' character.

Thu Jul 28 12:05:25 CEST 2005 Daniel Veillard <veillard@redhat.com>

	* lib/cache.py: trying to fix #309273, avoid creating ~/.profile_cache
	  if no remote resources are used.

Thu Jul 28 11:14:59 CEST 2005 Daniel Veillard <veillard@redhat.com>

	* lib/userdb.py: tried to fix #311796 problem of profilename to
	  URI conversion.

2005-07-28  Mark McLoughlin  <markmc@redhat.com>

	Fixes bug #311798

	* lib/config.py.in: add ~/.thumbnails to
	directories-to-ignore

2005-07-27  Mark McLoughlin  <markmc@redhat.com>

	* lib/protosession.py: remove stale X lock files and
	unix sockets. Now that Xnest runs as the sabayon
	user and not root, Xnest won't have permission to
	overwrite someone else's files.

2005-07-25  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/sessionwidget.py: fix debug spew error.

2005-07-18  Mark McLoughlin  <markmc@redhat.com>

	* lib/config.py.in: add ~/.gstreamer-0.8 to
	directories-to-ignore - registry.xml is basically
	just a cache of plugin info; it'll never be
	interesting to have in a profile since it gets
	created during login.

2005-07-18  Mark McLoughlin  <markmc@redhat.com>

	* lib/config.py.in: add ~/.recently-used to
	files-to-ignore - its never going to something
	an admin will want populated by default.

2005-07-14  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/sessionwindow.py: treat a delete event
	from the saveconfirm dialog the same as cancel.

2005-07-14  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/changeswindow.py: fix type in Will's patch.

2005-07-14  William Lachance  <wrlach@gmail.com>

	* admin-tool/changeswindow.py: Desensitize "mandatory"
	column in changes window if ignore is selected. Fixes
	bug #305786.

2005-07-11  William Lachance  <wrlach@gmail.com>

	* admin-tool/usersdialog.py: Sort by name of user.

	* admin-tool/sabayon.glade: Increase default width
	of users dialog to 440 from 400 (eliminates need for
	horizontal scrollbar in most cases)

Sun Jul  3 11:31:26 CEST 2005 Daniel Veillard <veillard@redhat.com>

	* po/POTFILES.in: adding missing admin-tool/changeswindow.py

2005-07-01  Mark McLoughlin  <markmc@redhat.com>

	* lib/config.py.in: add some more files to
	ignore.

2005-06-30  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/sessionwidget.py: fixup debug spew and
	send the modifier state with button events.

	* lib/xlib.c:
	(xlib_send_button_event): allow sending the modifier
	state.
	(xlib_send_motion_event),
	(xlib_send_crossing_event): fix deprecation warning
	caused by the fact that we're passed floating point
	co-ordinates and ask PyArg_Parse() to convert them
	to integers.

2005-06-30  Mark McLoughlin  <markmc@redhat.com>

	Patch from William Lachance <wrlach@gmail.com> in
	bug #308735

	* lib/config.py.in: add .gconf.path.defaults and
	.gconf.path.mandatory to FILES_TO_IGNORE

2005-06-30  Mark McLoughlin  <markmc@redhat.com>

	Re-work things such that we display only the latest
	change in a status bar at the bottom of the window
	and a more detailed list of changes can be reached
	from the menus.

	The idea is that each change you make in the protosession
	should correspond to a single change which Sabayon
	notices. Lot of work needed to get there, though.

	* admin-tool/sessionwindow.py: add a Statusbar and
	remove the changes list.

	* admin-tool/changeswindow.py: split out the changes
	list here.

	* admin-tool/Makefile.am: add changeswindow.py.

	* admin-tool/sabayon.glade: remove the session window.

	* lib/storage.py: fix debug spew.

2005-06-22  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/sessionwindow.py,
	  admin-tool/sabayon.glade: Move the monitor
	output into a pane on the righthand side of the
	window, remove the mandatory/ignore toggles, add
	a pixbuf toggle for the mandatory flag, ellipsize
	the change description.

2005-06-21  John Dennis  <jdennis@redhat.com>

	* apply Mark's patch for get_extract_src_path()

2005-06-21  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/sessionwindow.py: use gtk.UIManager()
	for menus.

	* admin-tool/sabayon.glade: remove menus.

	* admin-tool/editorwindow.py: fix debug spew.

2005-06-21  Mark McLoughlin  <markmc@redhat.com>

	* sabayon.spec.in: update %files

2005-06-21  Mark McLoughlin  <markmc@redhat.com>

	Move the monitoring window out into the session
	window itself. Things still look a bit funny; more
	work needed.

	Fixes "closing session window doesn't ask me if I
	want to save". Bug #305871

	* admin-tool/sabayon-session: add this back again.
	The session window now runs as the sabayon user
	rather than as root.

	* admin-tool/Makefile.am: add sabayon-session; remove
	sabayon-monitor and monitorwindow.py

	* admin-tool/profilesdialog.py: run sabayon-session
	as the sabayon user. Need to setup the temporary homedir,
	copy/chown the xauth file and copy/chown the profile
	beforehand.

	* admin-tool/sabayon: check to see if the sabayon user
	exists and pop up an error if not.

	* admin-tool/sabayon.glade: re-name some widgets; pack
	the monitor output at the end of the vbox so we can
	stick the session widget in there.

	* admin-tool/sessionwindow.py: merge everything from
	monitorwindow.py in here and add a save confirmation
	dialog.

	* admin-tool/monitorwindow.py: remove.

	* lib/config.py.in: add SESSION_TOOL_ARGV and rename
	ADMIN_TOOL_TIMEOUT to XNEST_USR1_TIMEOUT.

	* lib/protosession.py: substantially re-work so as to
	split up the code into the stuff that needs to be run
	by sabayon as root and the stuff that gets run by
	sabayon-session as the sabayon user. Also, don't
	run sabayon-monitor anymore.

	* lib/dirmonitor.py, lib/storage.py: fix debug spew.

2005-06-21  Mark McLoughlin  <markmc@redhat.com>

	* lib/storage.py:
	(ProfileStorage.get_extract_src_path): allow dprint to
	combine the format strings and arguments. The path may
	contain '%' symbols which we don't want in the format
	string.

2005-06-20  John Dennis  <jdennis@redhat.com>

	* lib/util.py: add new function split_path()
	* lib/storage.py: make suggested fixes to get_extract_src_path(),
	now it just returns a path instead of a tuple, extract now checks
	to see if the extract_src_path is a directory and calls copy_tree
	if it is. The extract_src_path is split via util.split_path() into
	a head (the storage directory) and a tail (the requested subdir)
	before invoking copy_tree.

2005-06-20  Mark McLoughlin  <markmc@redhat.com>

	Big pile o' hacks to get input focus working in a
	reasonably sane manner. Highlights:
	   - SessionWidget is a NO_WINDOW widget, but it creates
	     an XWindow for XNest to use as a root window
	   - It can draw a focus indication around (not in) that
	     window
	   - We also have an InputOnly window so we can trap
	     ButtonPress events and grab focus. We can't trap
	     the ButtonPress on Xnest's window because only one
	     client can select ButtonPress events. Once we have
	     focus, we hide the InputOnly window so window cursors
	     in the protosession work
	   - Any input events we receive, either from the focus
	     proxy or the InputOnly window, we forward to the
	     Xnest window.

	* admin-tool/sessionwidget.py: implement SessionWidget

	* admin-tool/sessionwindow.py: use sessionwidget

	* admin-tool/Makefile.am: add sessionwidget.py

	* lib/xlib.c:
	(xlib_send_key_event), (xlib_send_button_event),
	(xlib_send_motion_event), (xlib_send_crossing_event):
	Add new XSendEvent wrappers

2005-06-20  Mark McLoughlin  <markmc@redhat.com>

	* sabayon.spec.in: don't %ghost .pyo files, package them

2005-06-17  John Dennis  <jdennis@redhat.com>

	Fixes for bug #305778

	* admin-tool/editorwindow.py: in ProfileModel:reload if get_source
	fails try calling get_delegate

	* lib/storage.py: break extract() into two parts, new function
	get_extract_src_path() computes the path to the file/directory
	requested for extraction, extract() now calls
	get_extract_src_path() and then just does the copy
	operation. get_extract_src_path() can now be used by other code to
	get a path to the file in the profile without having to copy to a
	destination, this is useful if all you want to do is read the file.

	* lib/userprofile.py: add UserProfile:get_delegate &
	ProfileSource:get_delegate()

	* lib/sources/mozillasource.py: remove internationalization of
	Firefox name, implement get_path_description


2005-06-16  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/sessionwindow.py:
	(SessionWindow.__init__): set the window's title
	and icon
	(SessionWindow.__handle_key_press),
	(SessionWindow.__handle_key_press): improve debug
	spew.

	* lib/config.py.in: pass through metacity debug
	environment variables to the prototype session.

2005-06-15  Mark McLoughlin  <markmc@redhat.com>

	* sabayon.spec.in: need to BuildRequires pygtk2-devel
	too

2005-06-15  Mark McLoughlin  <markmc@redhat.com>

	* sabayon.spec.in: update

2005-06-14  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/sessionwindow.py: fix debug spew.

2005-06-14  Mark McLoughlin  <markmc@redhat.com>

	Add all sorts of crackrock to fix focus handling with
	the embedded Xnest.

	The strategy is simple - any GTK key events received
	on the window (which we're using as the root window
	for the embedded session) should get sent back to
	the window again using XSendEvent()

	The reason for needing to do this is because the
	pseudo-root window itself is not the keyboard focus
	window, which it would be with plain old Xnest. Instead
	GTK+'s focus proxy receives the X event, Xnest never
	sees that because it has selected events on the
	pseudo-root and so we need to catch the event and
	make sure it actually gets sent to the pseudo-root
	window itself.

	There's still bugs - we seem to get even more confused
	with Alt now. Its probably a metacity bug.

	* acinclude.m4: add AM_CHECK_PYTHON_HEADERS

	* autogen.sh: use the autogen from gnome-common.

	* configure.ac: check for python headers, gtk+, pygobject,
	C compiler etc. etc.

	* lib/Makefile.am: build the xlib module.

	* lib/xlib.c: (xlib_send_key_event), (initxlib): add simple
	module with a wrapper for XSendEvent()

	* admin-tool/sessionwindow.py: make the toplevel focusable
	and re-send key press/release events with xlib.send_key_event()

	* lib/protosession.py, lib/util.py: don't override builtin
	str() in exception handler (don't ask me ... wtf?)

2005-06-13  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/sessionwindow.py: disconnect from
	the "map-event" signal once we've started the
	session. Don't want to try and start the session
	again when we change workspaces etc.

2005-06-13  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/sessionwindow.py: show the window
	on "map-event" rather than on "realize" - fixes
	race condition with Xnest.

	* lib/protosession.py: handle EINTR from
	select.select() and commands.getstatusoutput()

2005-06-13  Mark McLoughlin  <markmc@redhat.com>

	Don't allow running Sabayon within a Sabayon session.
	Fixes bug #305510

	* lib/protosession.py:
	(ProtoSession.__start_session): set $SABAYON_SESSION_RUNNING

	* admin-tool/sabayon: pop up an error dialog if
	$SABAYON_SESSION_RUNNING is set.

2005-06-13  Mark McLoughlin  <markmc@redhat.com>

	Fix for "the Sabayon session is locked and I don't have
	a password for sabayon-admin issue". Bug #305771

	* lib/protosession.py:
	(ProtoSession.__start_session): set $RUNNING_UNDER_GDM
	env variable so Xscreensaver won't ever lock the screen.

Fri Jun 10 22:20:01 CEST 2005 Daniel Veillard <veillard@redhat.com>

	* sabayon.spec.in: add a new file.
	* po/POTFILES.in: removed now missing file.

2005-06-10  Mark McLoughlin  <markmc@redhat.com>

	Embed Xnest in a window which we create. First step
	towards making the monitor window contain the prototype
	session	rather than the other way around.

	* admin-tool/Makefile.am: add sessionwindow.py and
	remove sabayon-session.

	* lib/protosession.py: allow passing a parent window id
	which Xnest should embed itself in.

	* admin-tool/sessionwindow.py: add. Creates a toplevel
	window and embeds Xnest in it.

	* admin-tool/profilesdialog.py: open a SessionWindow
	rather than running sabayon-session

	* admin-tool/sabayon-session: remove. I don't think
	we've needed to run the protosession code from a
	separate process for quite a while now. The original
	problem was that we couldn't open an X connection
	with the Xnest server if we already had an open X
	connection, but we solved that with the open_x_connection()
	hack in protosession.py (I think)

	* lib/config.py.in: remove SESSION_TOOL_ARGV

2005-06-10  Mark McLoughlin  <markmc@redhat.com>

	Fix for bug #307062 - when you run configure with no
	--prefix, PAM_PREFIX ends up defined as "NONE/etc"

	* configure.ac: move a block of code up to where it
	belongs.

2005-06-09  Mark McLoughlin  <markmc@redhat.com>

	Should fix bug #305868 - "Clear History" causes the profile
	contents do dissappear from the window.

	* admin-tool/editorwindow.py:
	(ProfileModel.reload), (RevisionsModel.reload): add
	some debug spew.
	(ProfileEditorWindow.__handle_clear_history): unset the
	current profile when we clear the history.

2005-06-09  Mark McLoughlin  <markmc@redhat.com>

	Fix for bug #305869 - closing the details window using
	the WM close button doesn't give you a save confirmation
	dialog.

	* admin-tool/editorwindow.py:
	(ProfileEditorWindow.__init__): connect to the toplevel
	"delete-event" signal
	(ProfileEditorWindow.__handle_delete_event): if changes
	have been made, display the saveconfirm dialog, allowing
	the window to be destroyed unless "Cancel" is clicked.

2005-06-09  Mark McLoughlin  <markmc@redhat.com>

	Fix for bug #305865 - traceback on opening user's
	dialog with a profile which has been made the default
	for all users.

	* admin-tool/usersdialog.py: connect to the checkbox
	toggled signal only after we've set its initial state.

2005-06-08  Mark McLoughlin  <markmc@redhat.com>

	Fixes bug #305761

	* admin-tool/profilesdialog.py:
	(ProfilesDialog.__delete_currently_selected): remove
	any references to the profile from userdb too.

2005-06-08  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/profilesdialog.py:
	(ProfilesModel.reload): use UserDatabase.get_profiles()
	(ProfilesDialog.__make_unique_profile_name): ditto

	* lib/userdb.py: use config.PROFILESDIR rather
	than /etc/desktop-profiles

2005-06-08  Mark McLoughlin  <markmc@redhat.com>

	When creating a new profile, make sure the profile name
	is unique. Fixes bug #305759

	* admin-tool/profilesdialog.py:
	(ProfilesDialog.__make_unique_profile_name): if the
	profile name already exists, make it unique by adding
	an integer in parenthesis to the name.

2005-06-08  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/profilesdialog.py:
	(ProfilesModel.reload): sort the profiles list
	(ProfilesDialog.__delete_currently_selected): select
	another profile in the list when we delete a profile.

2005-06-07  Mark McLoughlin  <markmc@redhat.com>

	Fix for bug #305395

	* admin-tool/profilesdialog.py: make the "Base on" combo
	insensitive if there's no existing profiles.

Fri Jun  3 15:06:31 CEST 2005 Daniel Veillard <veillard@redhat.com>

	* doc/flat.html doc/index.html: added link to the english version
	  of Philippe Tonguet's docs.

2005-05-23  Mark McLoughlin  <markmc@redhat.com>

	* sabayon.spec.in: update for new icon location
	and run update-icon-cache at the appropriate
	times.

2005-05-23  Mark McLoughlin  <markmc@redhat.com>

	Make the window icon work.

	* admin-tool/Makefile.am: install the icon in
	$(datadir)/icons/hicolor/48x48/apps

	* admin-tool/profilesdialog.py,
	  admin-tool/usersdialog.py: set the icon name
	on the users and profiles windows.

Thu May 19 13:52:09 CEST 2005 Daniel Veillard <veillard@redhat.com>

	* doc/config.html doc/format.html doc/site.xsl doc/*.html: added
	  documentation for the config and profile formats, updated the
	  stylesheet and regenerated the docs.

2005-05-19  Mark McLoughlin  <markmc@redhat.com>

	Based on a patch from  Sebastien Bacher <seb128@debian.org>
	in bug #304696

	* admin-tool/usersdialog.py: pw_gecos is a comma separated
	list of values - split it an use the first value as the
	user's name. If that's not set, just use the username as the
	user's name.

2005-05-19  Mark McLoughlin  <markmc@redhat.com>

	* sabayon.spec.in: sync changes back from Fedora Extras.

2005-05-18  Mark McLoughlin  <markmc@redhat.com>

	* configure.ac: post-release bump to 0.19.

==================== 0.18 ====================

2005-05-18  Mark McLoughlin  <markmc@redhat.com>

	* configure.in: Version 0.18.

2005-05-18  Mark McLoughlin  <markmc@redhat.com>

	* lib/cache.py: not everyone want's to use DV's homedir :-)

Wed May 18 16:33:34 CEST 2005 Daniel Veillard <veillard@redhat.com>

	* lib/userdb.py lib/cache.py: add XInclude support when parsing
	  the user DB database to be able to build it from various web
	  fragments. MAke sure the cache is used for all those potential
	  web requests. Now the user as well as the profiles can be defined
	  in a centralized place.

2005-05-17  Mark McLoughlin  <markmc@redhat.com>

	* lib/unittests.py: add cache

Tue May 17 17:49:48 CEST 2005 Daniel Veillard <veillard@redhat.com>

	* lib/cache.py lib/storage.py: plugging the network cache at the
	  storage level, added read-only property, change the cache output
	  to be filenames not streams, and a couple of bug fixes
	* sabayon.spec.in lib/Makefile.am: integration of the cache module

Tue May 17 14:33:55 CEST 2005 Daniel Veillard <veillard@redhat.com>

	* lib/cache.py lib/util.py: added regression testing to the cache
	  module, fixed a few bugs, integrated in the debugging API, but
	  not plugged yet.

Mon May 16 19:21:37 CEST 2005 Daniel Veillard <veillard@redhat.com>

	* Makefile.am: fix "make rpm"
	* lib/cache.py: first version of the cache code, not plugged yet
	  regression tests needed, and timeout contorl need to be added too

2005-05-13  Mark McLoughlin  <markmc@redhat.com>

	* sabayon.spec.in: update the %files list.

2005-05-12  Mark McLoughlin  <markmc@redhat.com>

	* doc/flat.html: fix invalid html.

	* doc/index.html: rebuild.

2005-05-12  Mark McLoughlin  <markmc@redhat.com>

	Add a dialog for associating users with profiles.

	* admin-tool/Makefile.am: add usersdialog.py

	* admin-tool/usersdialog.py: dialog from which you
	can make a profile the default profile or assign
	that profile to users.

	* admin-tool/profilesdialog.py: add a "Users" button
	and popup the dialog when clicked.

	* admin-tool/sabayon.glade: add the new dialog and
	button.

	* lib/unittests.py: add userdb.

	* lib/userdb.py: implement get_default_profile() and
	set set_default_profile(). Add a "profile_location"
	arg to get_profile() and get_default_profile() which
	specifies whether you want to know the full path for
	the profile. Add a "ignore_default" arg to get_profile()
	which causes it to not return the default profile if
	no profile is explicitly set for that user.

	* admin-tool/userswindow.py: goodness, I'd forgotten
	I'd ever written this junk.

2005-05-12  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/sabayon.glade: rename the
	"Properties" button to "Details"

2005-05-12  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/sabayon.glade: move the New/Delete
	buttons to under the profiles list and rename
	them to Add/Remove.

	* admin-tool/profilesdialog.py: new/delete to
	add/remove renaming.

2005-05-10  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* configure.ac: Added Spanish "es" to ALL_LINGUAS

Tue May 10 16:11:10 CEST 2005 Daniel Veillard <veillard@redhat.com>

	* doc/flat.html doc/index.html: added a pointer to the documentation
	  in french.

2005-05-10  Sebastien Bacher  <seb128@debian.org>

	* admin-tool/sabayon-xinitrc.sh.in: fix a syntax error.

2005-05-09  Sebastien Bacher  <seb128@debian.org>

	* admin-tool/profilesdialog.py: use shutil.move instead of os.rename,
	fix the issue when /tmp and /etc are on different partitions.

2005-05-09  Mark McLoughlin  <markmc@redhat.com>

	* lib/util.py: import errno module

2005-05-09  Mark McLoughlin  <markmc@redhat.com>

	* lib/util.py:
	(uninterruptible_spawnv): actually call
	uninterruptible_spawnve() rather than os.spawnv

2005-05-09  Mark McLoughlin  <markmc@redhat.com>

	* lib/usermod.py: don't import errno.

	* lib/util.py:
	(uninterruptible_spawnve): if env is None, call
	os.spawnv() since os.spawnve() seems to dislike
	when env is None.

2005-05-09  Mark McLoughlin  <markmc@redhat.com>

	* lib/usermod.py: move _uninterruptible_spawn() to ..

	* lib/util.py:
	(uninterruptible_spawnv),
	(uninterruptible_spawnve): ... here

	* admin-tool/profilesdialog.py,
	  lib/protosession.py: use uninterruptible variant
	of os.spawnv() here too.

2005-05-09  Mark McLoughlin  <markmc@redhat.com>

	Fix hang when exiting the prototype session on Ubuntu.

	Problem turned out to be that os.spawn() doesn't handle
	EINTR from waitpid() on Linux:
	  http://sourceforge.net/tracker/?group_id=5470&atid=105470&func=detail&aid=686667

	Thanks to Sebastien Bacher <seb128@debian.org> for help
	in tracking the problem down. Bug #303034.

	* lib/usermod.py:
	(_uninterruptible_spawn): ignore EINTR from os.spawn()
	(set_shell), (set_homedir): use _uninterruptible_spawn()

	* lib/protosession.py:
	(ProtoSession.__session_child_watch_handler): emit the
	"finished" signal before anything else so that we
	still quit the mainloop even if we get an exception.

2005-04-26  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/sabayon-apply: actually look up the profile
	from userdb.

2005-04-11  Josep Puigdemont  <josep.puigdemont@gmail.com>

	* configure.ca: Added "ca" to ALL_LINGUAS.

2005-04-07  John Dennis  <jdennis@redhat.com>

	* Bookmark commit/sync/apply mostly working.
	  Is initial state correct?
	  Bookmark root and traversal needs reworking.
	  Many places now have redundant code that varies only
	  a few variables, these should be collapsed into subroutines.

2005-04-06  John Dennis  <jdennis@redhat.com>

	* bookmark changes now working

2005-04-01  Steve Murphy  <murf@e-tools.com>

        * configure.ac: Added "rw" to ALL_LINGUAS.

2005-03-31  John Dennis  <jdennis@redhat.com>

	* lib/util.py
	* lib/mozilla_bookmarks.py
	* lib/sources/mozillasource.py

	Fix traversal order problem, traversal order is now identical to
	originial bookmark order.

	Move DictCompare from mozillasource.py to util.py so it can be shared.

2005-03-31  John Dennis  <jdennis@redhat.com>

	* lib/mozilla_bookmarks.py
	* lib/sources/mozillasource.py

	Initial "glue" to wed together mozilla_bookmarks and mozillasource.
	Mozillasource now monitors and creates a bookmark object.
	Remove obsolete ununsed code
	Clean up home_dir initialization
	Mozilla_bookmarks now python stand alone for testing, not sh standalone
	Can now compare and generate differences between two bookmark files.
	Can now write out bookmark file from data structure (note, the
	original ordering is not fully preserved, this needs to be fixed.
	Attributes written out can now be filtered.
	Rework add_file method.

2005-03-30  John Dennis  <jdennis@redhat.com>

	* lib/mozilla_bookmarks.py: Add new python file for mozilla
	bookmarks. Not complete yet, it can parse DOCTYPE
	NETSCAPE-Bookmark-file-1 format file, build a data structure of
	folder trees, bookmarks, and all attributes. Folders and bookmarks
	can be searched for.

	ToDo: Generate the difference between two book mark files, this
	will use the same difference generator code currently in
	mozillasource. Merge one bookmark file into another. Integrate
	into monitor and apply. Filter attributes during apply that should
	not be merged (e.g. timestamps)

Sat Mar 26 17:37:45 CET 2005 Daniel Veillard <veillard@redhat.com>

	* configure.ac: applied patch from Joshua Hoblitt to add Gentoo support

2005-03-24  Mark McLoughlin  <markmc@redhat.com>

	* configure.ac: post-release bump to 0.18.

==================== 0.17 ====================

2005-03-24  Mark McLoughlin  <markmc@redhat.com>

	* configure.ac: Version 0.17.

2005-03-24  Mark McLoughlin  <markmc@redhat.com>

	* configure.ac: add --with-prototype-user=<username>,
	defaults to "sabayon"

	* lib/Makefile.am, lib/config.py.in: set PROTOTYPE_USER
	to whatever was passed to configure.

	* sabayon.spec.in: use --with-prototype-user.

	* doc/site.xsl: add link to Fedora Extras repository.

	* doc/*.html: rebuild.

2005-03-23  John Dennis  <jdennis@redhat.com>

	* lib/userprofile.py: add start_monitoring and stop_monitoring to
	the Delegate class, and invoke them.

	* lib/paneldelegate.py: add start_monitoring and stop_monitoring
	stub routines

	* lib/util.py: Add ability for a modules debug flag to be a hex
	mask. Thus debug output can be limited not only to specific
	modules, but also to specific classes of debug messages in a
	module. See usage in mozilla-source.py.

	* lib/sources/mozilla-source.py: Fix the two major bugs
	outstanding, the union of all profile changes are appled to all
	target profiles instead of a one-to-one profile merge and the
	initial state is correctly set at the beginning of monitoring so
	that we detect what has changed. Clean up path handling. Implement
	debug logging according to class of message. Remove the source and
	delegate from the JavascriptPrefFile class. Add code to load the
	state, used at beginning of monitoring. Added support for
	start_monitoring. Removed other attempts to load file state during
	apply and delegate construction. During sync_change take the union
	of all profile changes and store these in the firefox directory,
	not in the profile directory. Then have apply() merge this one set
	of changes stored in the storage module to all target profiles.

2005-03-22  Mark McLoughlin  <markmc@redhat.com>

	* sabayon.spec.in: add BuildRequires: usermode

2005-03-22  Mark McLoughlin  <markmc@redhat.com>

	Patch from Alak Trakru <atrak@eden.rutgers.edu>

	* configure.ac: add slackware support.

2005-03-21  Mark McLoughlin  <markmc@redhat.com>

	* sabayon.spec.in: couple more minor fixes.

2005-03-21  Mark McLoughlin  <markmc@redhat.com>

	* sabayon.spec.in: lots of changes from Fedora Extras
	review.

2005-03-18  Mark McLoughlin  <markmc@redhat.com>

	* sabayon.spec.in: add BuildRequires: gettext-devel
	and add X-Fedora-Extra to .desktop file.

2005-03-18  Mark McLoughlin  <markmc@redhat.com>

	* configure.ac: post-release bump to 0.17.

==================== 0.16 ====================

2005-03-18  Mark McLoughlin  <markmc@redhat.com>

	* configure.ac: Version 0.16.

2005-03-18  Mark McLoughlin  <markmc@redhat.com>

	* lib/userprofile.py: import sources from the
	sources module.

	* lib/sources/filessource.py,
	  lib/sources/gconfsource.py,
	  lib/sources/mozillasource.py,
	  lib/sources/paneldelegate.py,
	  lib/sources/testsource.py: import the
	various sabayon python modules from the
	sabayon namespace instead of expecting
	them to be in the toplevel namespace.

	* lib/sources/__init__.py: module init script
	for the sources module.

	* lib/sources/Makefile.am: install __init__.py

2005-03-18  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/Makefile.am: fix blooper.

2005-03-18  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/editorwindow.py: fix problems with displaying
	empty profiles.

2005-03-18  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/Makefile.am: hopefully fix problem	which
	was causing obstuse "@INTLTOOL_PERL@: bad interpreter"
	error messages.

2005-03-18  Mark McLoughlin  <markmc@redhat.com>

	* sabayon.spec.in: forgot some fixes.

2005-03-18  Mark McLoughlin  <markmc@redhat.com>

	Re-work the way we install all the python stuff to
	bring us in line with normal conventions.

	* admin-tool/Makefile.am: install the python files
	in libdir/python/site-packages/sabayon, remove the
	wrapper scripts and install the python main scripts
	in sbindir/libexec etc.

	* admin-tool/sabayon: renamed from sabayon.py

	* admin-tool/sabayon-apply: renamed from sabayon-apply.py.

	* admin-tool/sabayon-monitor: renamed from sabayon-monitor.py.

	* admin-tool/sabayon-session: renamed from sabayon-session.py.

	* lib/Makefile.am: install __init__.py and install
	python files in libdir/python/site-packages/sabayon.

	* lib/__init__.py: empty module init script.

	* lib/config.py.in: remove GLADEDIR and MODULEPATH foo.

	* lib/dirmonitor.py: make the unit tests pass.

	* lib/sources/Makefile.am: change install locatio of python
	files.

	* lib/userprofile.py: re-work the module loader to figure
	out the module load path itself at runtime.

	* sabayon.spec.in: package the python stuff according
	to Fedora Extras guidelines.

2005-03-18  Mark McLoughlin  <markmc@redhat.com>

	* sabayon.spec.in: go back to using shadow-utils instead
	of fedora-usermgmt as there doesn't actually seem to be
	consensus around using fedora-usermgmt.

2005-03-17  John Dennis  <jdennis@redhat.com>

	* remove redundant pref file writing method, fix use of
	"enumerations", fix initial and subsequent loading of ini file,
	fix several bugs that confused absolute paths and relative paths,
	fix the copying of key/values from an extracted pref file to an
	instantiated pref file, fix how types determined and passed, fix
	the creation of the sabayon pref file in storage, if no ini file
	exists in the target extract the ini file that is in storage,
	parse the ini after we've determined if we using the stored one or
	the user's target version, iterate over every profile defined in
	the ini and apply the preferences from storage, fix the ordering
	of target application so that ini's come first, then prefs, then
	bookmarks, then other files, make sure directories exist before
	trying to write a file.

	* Still need to do: Need to reparse the everything after the apply
	and before monitoring happens. Currently prefs are merged
	one-to-one with profiles, it should be the default is merged to
	all profiles.

Thu Mar 17 22:44:53 CET 2005 Daniel Veillard <veillard@redhat.com>

	* lib/userdb.py: adding saving back on changes.

Thu Mar 17 10:03:50 CET 2005 Daniel Veillard <veillard@redhat.com>

	* lib/userdb.py: remove a couple of bugs

Wed Mar 16 19:40:03 CET 2005 Daniel Veillard <veillard@redhat.com>

	* lib/userdb.py lib/util.py po/POTFILES.in: implementation of userdb,
	  doesn't write back on changes yet.

2005-03-16  Mark McLoughlin  <markmc@redhat.com>

	* configure.ac: subst a subdir of sysconfdir
	for xinitrc rather than using sysconfdir
	directly.

	* admin-tool/Makefile.am: upd. for above change.
	Needed because sysconfdir may be passed as an
	argument to make itself.

	* sabayon.spec.in: changes to bring in line with
	Fedora guidelines. Most notable change is that
	it uses the fedora-usermgmt scripts for creating
	users.
	Note, the uid/gid will need to be registered somewhere
	like http://www.fedora.us/wiki/PackageUserRegistry

2005-03-16  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/Makefile.am: add userswindow.py

	* lib/Makefile.am: add userdb.py

2005-03-16  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/userswindow.py: fix silly.

2005-03-16  Mark McLoughlin  <markmc@redhat.com>

	* lib/protosession.py: set $DISABLE_SABAYON_XINITRC
	when running our protosession.

	* admin-tool/sabayon-xinitrc.sh.in: don't run
	sabayon-apply if $DISABLE_SABAYON_XINITRC is set.

	* lib/userdb.py: add silly impl. of the stubs for
	testing.

2005-03-16  Mark McLoughlin  <markmc@redhat.com>

	* configure.ac: set XINITRCDIR and INSTALL_XINITRC_SCRIPT
	on Fedora.

	* admin-tool/sabayon-xinitrc.sh.in: add xinitrc script
	to run sabayon-apply at login.

	* admin-tool/Makefile.am: install sabayon-xinitrc.sh.

2005-03-15  John Dennis  <jdennis@redhat.com>

	* Expand mozilla functionality. The MozillaChange class has more
	info. An individual pref in a javascript file is now its own
	class. We now recognize the different javascript pref functions
	and record them. We now have two new functions for writing a
	javascript pref file. More get_* functions for various
	classes. commit_changes now respect mandatory flag and cache
	committed preferences for later processing. The default profiles
	prefs.js is now added to the profile (but I'm not sure thats the
	right thing to do, but it had to exist for testing, I'll revisit
	this). apply now knows the difference between javascript
	preference files and other files. apply now merges javascript
	prefs into the default profile's prefs.js respecting the mandatory
	flag.

	Issues: What to do with multiple firefox profiles? At the moment
	we only apply to the default firefox profile. Perhaps the apply
	should occur for all firefox profiles, not just the default. By
	the same token should the recorded preferences be the union of all
	changed profiles or just the default? If its the union which one
	wins when there is an overlap? There may be ordering problems with
	the apply, the profiles.ini file should exist first, and then the
	prefs.js file, before merging occurs. Nothing at the moment
	enforces this ordering (we've been lucky). Should we take
	advantage of the user.js file instead of merging into prefs.js? We
	sometimes fail to recognize there is a profiles.ini file which
	controls many important functions. If we don't know its there we
	fail to recognize files we need to watch because that file defines
	where profiles live. At the moment I think this is due to ordering
	relationship between class creation (one place we look for the
	file), the apply extraction of that file, and the subsequent file
	monitoring. Probably fix is to create the profiles ini object
	after apply extraction of the file.

2005-03-15  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/sabayon-apply.py: add some commented out
	code to hook up to userdb in order to find the profile
	for the current user.

2005-03-15  Mark McLoughlin  <markmc@redhat.com>

	Partial fix for bug #170280

	* admin-tool/monitorwindow.py: just print a traceback
	if commit_change() fails and continue committing remaining
	changes.

2005-03-15  Mark McLoughlin  <markmc@redhat.com>

	* lib/storage.py: fix minor problems with Will's patch.

2005-03-14  William Lachance <wrlach@gmail.com>

	* configure.ac: Not finding xnest should be a warning, not an error.
	Check for distro, and set path to Xsession accordingly (bug #168123).

	* lib/config.py.in: Don't hard code Xsession, make it a build-time
	option.

	* lib/Makefile.am: Substitute the Xsession variable appropriately.

	* lib/storage.py: Actually give the filename that's not found upon
	a ProfileStorageException.

2005-03-14  John Dennis  <jdennis@redhat.com>

	* rework mozillasource so code and class structure better supports
	file creation, file apply, etc. The profiles.ini file is now added
	and applied to the storage, as well as a sabayon prefs.js
	file. Other files under the profile directory are analyzed if they
	should be added to the storage for each profile. At the moment
	only prefs.js and bookmarks.html are stored under the
	profile. Next is to correctly merge these during the apply phase.

2005-03-14  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/userswindow.py: add cheesy UI which uses
	userdb.py

2005-03-14  Mark McLoughlin  <markmc@redhat.com>

	* lib/userdb.py: add stub for DV to hack on.

Sun Mar 13 08:11:04 CET 2005 Daniel Veillard <veillard@redhat.com>

	* po/POTFILES.in: added admin-tool/fileviewer.py

2005-03-11  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/sabayon.png: new icon from Diana.

2005-03-11  Mark McLoughlin  <markmc@redhat.com>

	* lib/userprofile.py:
	(SourceDelegate.sync_changes),
	(SourceDelegate.apply): add stubs for these delegate
	methods.
	(UserProfile.apply): invoke sync_changes() on each
	of the delegates after invoking it on the source.

	* lib/sources/mozillasource.py:
	(MozillaDelegate.sync_changes),
	(MozillaDelegate.commit_change),
	(MozillaDelegate.apply): add empty stubs.

	* lib/sources/paneldelegate.py:
	(PanelDelegate.sync_changes): add empty stub.

Thu Mar 10 16:39:38 CET 2005 Daniel Veillard <veillard@redhat.com>

	* doc/site.xsl doc/*.html: updated the source tarball download link

2005-03-10  Mark McLoughlin  <markmc@redhat.com>

	* configure.ac: post-release bump to 0.16.

==================== 0.15 ====================

2005-03-10  Mark McLoughlin  <markmc@redhat.com>

	* configure.in: Version 0.15.

2005-03-10  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/fileviewer.py: an even cheesier
	text file viewer to go along with the cheesy
	GConf viewer.

	* admin-tool/Makefile.am: add fileviewer.py

	* admin-tool/editorwindow.py: hook it up.

2005-03-09  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/gconfviewer.py: cheesy view-only
	gconf-editor type thing.

	* admin-tool/Makefile.am: add gconfviewer.py

	* admin-tool/editorwindow.py: show the GConf
	viewer when a GConf element is activated.

	* lib/sources/gconfsource.py: fix silly.

2005-03-09  Mark McLoughlin  <markmc@redhat.com>

	* lib/userprofile.py:
	(ProfileSource.get_path_description): add stub for
	sources to implement giving descriptions for their
	paths.
	(UserProfile.get_source): lookup a source by name.

	* lib/sources/filessource.py:
	(FilesSource.get_path_description): return
	a description for menu files.

	* lib/sources/gconfsource.py:
	(GConfSource.get_path_description): return
	descriptions for .gconf.xml.defaults and
	.gconf.xml.mandatory.

	* admin-tool/editorwindow.py: Display the description
	for the path rather than the path itself.

2005-03-08  Mark McLoughlin  <markmc@redhat.com>

	* lib/storage.py:
	(ProfileStorage.revert): set the prefix correctly
	on the temporary directory.

2005-03-08  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/editorwindow.py: add a combo box for each
	element in the list to allow you to revert to previous
	versions of files or directories.

2005-03-08  Mark McLoughlin  <markmc@redhat.com>

	* lib/storage.py: bah, fix other place where timestamp
	was being saved as a date string.

Tue Mar  8 14:55:42 CET 2005 Daniel Veillard <veillard@redhat.com>

	* doc/flat.html doc/testing.html: fix a small formatting glitch
	  before pushing live

2005-03-07  Mark McLoughlin  <markmc@redhat.com>

	* lib/storage.py:
	(ProfileStorage.get_source),
	(ProfileStorage.revert): implement.
	(run_unit_tests): yet more unit tests.

	* admin-tool/editorwindow.py: allow reverting to
	previous versions of the profile.

2005-03-07  Mark McLoughlin  <markmc@redhat.com>

	This commit changes the metadata format again.

	* lib/storage.py: save a timestamp rather than date
	string for each revision.

	* admin-tool/editorwindow.py: format the timestamp
	according to the locale.

	* lib/util.py:
	(init_gettext): call setlocale()

Mon Mar  7 16:08:23 CET 2005 Daniel Veillard <veillard@redhat.com>

	* doc/Makefile.am: added validation of output pages on rebuild
	  and package them in the distrib
	* sabayon.spec.in: add the web informations as documentation

Mon Mar  7 15:45:12 CET 2005 Daniel Veillard <veillard@redhat.com>

	* Makefile.am configure.ac doc/Makefile.am: integrating the doc
	  subdir with the site/doc informations. The "make rebuild" target
	  rebuilds the web site
	* doc/brownbar.jpg doc/brownbarTop.jpg doc/sabayon.css doc/shadow.gif
	  doc/title01.jpg doc/title02.jpg: new web site design from
	  Diana Fong and Bryan Clark
	* TODO site.xsl flat.html: converted the web site generation to
	  a raw content flat file and an XSLT stylesheet generating the
	  html pages. Separation of content and presentation, except the
	  content of the boxes on the left is contained in the stylesheet,
	  but they should stll be easy to maintain.

2005-03-07  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/editorwindow.py: add a combo to allow
	selecting the profile revision.

	* lib/storage.py:
	(ProfileStorage.get_revision): return the date along
	with the revision in a tuple.

Sun Mar  6 11:49:38 CET 2005 Daniel Veillard <veillard@redhat.com>

	* po/POTFILES.in: added admin-tool/aboutdialog.py to avoid automated
	  mail stating it is missing.

2005-03-04  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/editorwindow.py: convert to using
	gtk.UIManager.

	* admin-tool/sabayon.glade: remove the editor
	window.

2005-03-03  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/Makefile.am: add saveconfirm.py

	* admin-tool/saveconfirm.py: HIG save confirmation
	dialog. Mostly copied from GEdit.

	* admin-tool/editorwindow.py: hook up the save
	confirmation dialog.

2005-03-03  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/sabayon.glade: add a "Delete" menu item.

	* admin-tool/editorwindow.py:
	(ProfileModel.reload): implement reloading the model.
	(ProfileEditorWindow.__handle_key_press),
	(ProfileEditorWindow.__handle_delete): hook up the
	delete key and menu item.

	* admin-tool/profilesdialog.py:
	(ProfilesDialog.__handle_key_press): hook up the
	delete key.

2005-03-03  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/sabayon.glade: add a "Clear History"
	menu item.

	* admin-tool/editorwindow.py: hook up "Clear History"
	and "Save".

	* lib/storage.py:
	(ProfileStorage.clear_revisions): implement clear
	revision history.
	(run_unit_tests): add tests for clearing revision
	history.

2005-03-02  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/editorwindow.py: add a silly little
	placeholder viewer for the contents of the profile.
	Lots more work to be done here.

	* admin-tool/profilesdialog.py: add a "Properties"
	button and hook up the editor window.

	* admin-tool/sabayon.glade: add the properties button
	and the editor window.

	* admin-tool/Makefile.am: add editorwindow.py

2005-03-02  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/monitorwindow.py: move about dialog
	stuff to

	* admin-tool/aboutdialog.py: here.

	* admin-tool/Makefile.am: add aboutdialog.py

2005-03-01  Mark McLoughlin  <markmc@redhat.com>

	* lib/sources/filessource.py:
	(commit): set the "mandatory" attribute correctly.

	* lib/sources/gconfsource.py:
	(apply): fix check to see if the GConf dirs are in
	the profile storage.

2005-03-01  Mark McLoughlin  <markmc@redhat.com>

	* lib/storage.py:
	(__item_revision_is_current): return false if no
	current revision.
	(__unpack): create the revisions directory. Use the
	list of files and directories in the metadata to
	figure out what to unpack. Fixes problems with adding
	empty dirs.
	(add): don't copy previous revision if it doesn't
	exist.
	(save.zip_directory): remove unused param.
	(save): consolidate duplicate code paths

	* lib/sources/gconfsource.py:
	(sync): only add directories to storage if they exist.
	(apply): only extract directories if they exist.

	* lib/sources/filessource.py: don't pre-format the
	debugging string since the path can contain '%'

	* lib/sources/paneldelegate.py: ditto.

2005-03-01  Mark McLoughlin  <markmc@redhat.com>

	* lib/storage.py: fix spelling error pointed out
	by Adam Weinberger <adamw@gnome.org> in bug #168843

2005-02-28  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/profilesdialog.py: fix bug with cancel
	on the new profile dialog.

	* lib/config.py.in: move the Xnest window name to

	* lib/protosession.py: here so we don't try and
	reference _() before its defined.

	* lib/storage.py: add a needs_saving flag so that
	saving an empty and non-existant profile works.

2005-02-28  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/profilesdialog.py:
	(__create_new_profile): upd to use new ProfileStorage
	API.

	* admin-tool/monitorwindow.py,
	  admin-tool/sabayon-apply.py,
	  admin-tool/sabayon-session.py,
	  admin-tool/sabayon-monitor.py: pass about
	the profile name instead of the profile path.


	* lib/storage.py: allow a profile name to be an
	absolute path. Kill "running_unit_tests" hack.

	* lib/sources/filessource.py,
	  lib/sources/gconfsource.py,
	  lib/userprofile.py:
	(run_unit_tests): fix to work with new ProfileStoage
	API.

	* lib/README.storage: remove, its out of date
	and we've inline docs now.

2005-02-28  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/monitorwindow.py:
	(__handle_about): add translator credits.

2005-02-28  Mark McLoughlin  <markmc@redhat.com>

	i18nize the python code and construct paths
	with os.path.join()

	* lib/util.py:
	(init_gettext): add function to call gettext.install()

	* admin-tool/sabayon-apply.py,
	  admin-tool/sabayon-monitor.py,
	  admin-tool/sabayon-session.py,
	  admin-tool/sabayon.py: call util.init_gettext()

	* lib/Makefile.am: subst some more variables into
	config.py.

	* lib/config.py.in: add PACKAGE and use os.path.join()

	* admin-tool/monitorwindow.py,
	  admin-tool/profilesdialog.py,
	  lib/dirmonitor.py,
	  lib/protosession.py,
	  lib/sources/filessource.py,
	  lib/sources/gconfsource.py,
	  lib/sources/mozillasource.py,
	  lib/sources/paneldelegate.py,
	  lib/storage.py,
	  lib/unittests.py: i18nize and use os.path.join()

2005-02-28  Alexander Shopov  <ash@contact.bg>

	* configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS

2005-02-25  Mark McLoughlin  <markmc@redhat.com>

	This commit breaks any existing profiles. The metadata
	format has changed.

	Also, the code in admin-tool still needs to be fixed
	up to made work with this stuff. All the unit tests
	pass, though.

	* lib/storage.py: substantially re-work to add revision
	history and make the API more useful.

	* lib/sources/filessource.py,
	  lib/sources/gconfsource.py,
	  lib/sources/mozillasource.py,
	  lib/sources/paneldelegate.py,
	  lib/sources/testsource.py,
	  lib/userprofile.py: Fixup to use the new ProfileStorage
	API.

	* lib/config.py.in: add .gconf.xml.defaults and
	.gconf.xml.mandatory to the list of dirs to ignore.

Tue Feb 22 03:10:20 CET 2005 William Lachance <wlach@nit.ca>

	* autogen.sh configure.ac: Properly check for xnest #168124

Mon Feb 21 11:48:20 CET 2005 Daniel Veillard <veillard@redhat.com>

	* doc/helping.html: one more Evince->Sabaon cleanup bug #168000

2005-02-20  Kostas Papadimas <pkst@gnome.org>

	* configure.ac: Add el (Greek) to ALL_LINGUAS

Sun Feb 20 00:47:20 CET 2005 Daniel Veillard <veillard@redhat.com>

	* doc/developing.html doc/helping.html doc/index.html: more fixes
	  of links, etc. on the web site.

Sun Feb 20 00:23:00 CET 2005 Daniel Veillard <veillard@redhat.com>

	* TODO: small update

Sun Feb 20 00:11:09 CET 2005 Daniel Veillard <veillard@redhat.com>

	* doc/developing.html doc/helping.html doc/index.html doc/sabayon.css
	  doc/testing.html doc/images/screenshot.png: build a preliminary
	  web page based on Evince one.

2005-02-18  Kjartan Maraas  <kmaraas@gnome.org>

	* configure.ac: Add «nb» and «no» to ALL_LINGUAS

2005-02-17  Mark McLoughlin  <markmc@redhat.com>

	* sabayon.spec.in: kill the xmlsoft.org url :)

2005-02-17  Mark McLoughlin  <markmc@redhat.com>

	* configure.ac: post-release bump to 0.15.

==================== 0.12 ====================

2005-02-17  Mark McLoughlin  <markmc@redhat.com>

	* configure.ac: Version 0.12.

2005-02-17  Mark McLoughlin  <markmc@redhat.com>

	* sabayon.spec.in: copy GDM's method of creating
	the sabayon user.

2005-02-17  Mark McLoughlin  <markmc@redhat.com>

	* configure.ac: post-release bump to 0.12.

==================== 0.11 ====================

2005-02-17  Mark McLoughlin  <markmc@redhat.com>

	* configure.ac: Version 0.11.

2005-02-17  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/sabayon.glade: remove the splitter
	for now - we're not using the text view yet.

	* lib/config.py.in: add ADMIN_TOOL_TIMEOUT

	* lib/protosession.py: and use it here.

	* lib/sources/gconfsource.py:
	(GConfChange): store the key and value rather
	than the entry so we can unset the value if
	we wish.

	* lib/sources/paneldelegate.py: upd.

	* sabayon.spec.in: create /etc/gconf/2/local-defaults.path
	and /etc/gconf/2/local-mandatory.path

2005-02-17  Mark McLoughlin  <markmc@redhat.com>

	* lib/protosession.py: clobber all process running
	as the prototype user before starting the new session.

	* lib/config.py.in: add CLOBBER_USER_PROCESSES

2005-02-17  Mark McLoughlin  <markmc@redhat.com>

	* lib/sources/gconfsource.py:
	(GConfSource.sync): recursively add all the files
	in the GConf database to the ProfileStorage.
	(GConfSource.apply): copy the GConf database out
	from the ProfileStorage temporary install location.

	* lib/sources/filessource.py: fix typo.

	* lib/util.py:
	(debug_print): only take a pre-formatted string.

	* lib/storage.py:
	(ProfileStorage.delete_file): use list.remove() instead
	of non-existant	list.delete()
	(ProfileStorage.install): change the prefix for the
	temporary dir.

2005-02-17  Mark McLoughlin  <markmc@redhat.com>

	* lib/sources/gconfsource.py: add some debugging.

2005-02-16  Mark McLoughlin  <markmc@redhat.com>

	* lib/config.py.in: upd Xnest command line.

	* lib/sources/filessource.py: fix typos.

	* sabayon.spec.in: don't set the homedir to
	/var/sabayon - we don't use that anymore.

2005-02-16  Mark McLoughlin  <markmc@redhat.com>

	* lib/userprofile.py:
	(ProfileChange): kill get_name(), get_type() and
	get_value(). Add get_id() and get_short_description().

	* lib/sources/filessource.py,
	  lib/sources/gconfsource.py,
	  lib/sources/mozillasource.py,
	  lib/sources/paneldelegate.py,
	  lib/sources/testsource.py: impl. new functions.

	* admin-tool/monitorwindow.py: update for ProfileChange
	changes.

2005-02-16  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/monitorwindow.py: change things around
	a bit so that we lose some of the columns in the list
	and the commit menu item. Now everything gets saved
	by default unless you toggle the "ignore" button for
	the change.

2005-02-16  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/sabayon.glade: add an about menu item.

	* admin-tool/monitorwindow.py: hook up the about
	dialog.

	* admin-tool/profilesdialog.py: set the window icon.

	* lib/Makefile.am, lib/config.py.in: add VERSION to
	the config.

	* lib/usermod.py: add a FIXME.

2005-02-16  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/profilesdialog.py: hook up "Base on" by
	just copying the profile we're basing the new one on.

2005-02-16  Mark McLoughlin  <markmc@redhat.com>

	* lib/config.py.in: add PROTOTYPE_USER.

	* admin-tool/profilesdialog.py: use it here.

2005-02-16  Mark McLoughlin  <markmc@redhat.com>

	* lib/config.py.in: add SKEL_HOMEDIR.

	* lib/usermod.py:
	(create_temporary_homedir): copy the contents of
	/etc/skel when creating the homedir.

	* lib/protosession.py:
	(__start_session): fix uid/gid mixup
	(__setup_shell_and_homedir):
	use usermod.create_temporary_homedir()

2005-02-16  Mark McLoughlin  <markmc@redhat.com>

	* lib/protosession.py: create a temporary homedir
	before starting the session and delete it after.

	* lib/usermod.py:
	(set_shell), (set_homedir): split these out
	into their own module. We'll prolly need to
	implement them differently for other distros.

	* lib/Makefile.am: add usermod.py.

	* lib/util.py: add usermod debugging.

	* lib/config.py.in: re-name/re-organize a few things.

	* lib/dirmonitor.py: add IO_PRI to the io_watch and
	fill in the other arguments in the callback.

2005-02-15  Mark McLoughlin  <markmc@redhat.com>

	* lib/sources/paneldelegate.py: fix typo.

2005-02-15  Mark McLoughlin  <markmc@redhat.com>

	* configure.ac: subst the expanded value of
	$(sbindir) and output sabayon.console. Hack copied
	from gdm.

	* admin-tool/Makefile.am: don't build sabayon.console here.

	* admin-tool/sabayon.console.in: use $(EXPANDED_SABAYON_DIR)

	* lib/sources/Makefile.am: install in the right directory.

	* sabayon.spec.in: update to include icon, .desktop file,
	usermode stuff, localizations etc.

2005-02-15  Mark McLoughlin  <markmc@redhat.com>

	* Makefile.am,
	  admin-tool/Makefile.am: distcheck fixes.

2005-02-15  Mark McLoughlin  <markmc@redhat.com>

	Applying seems to actually work now ...

	* admin-tool/sabayon-apply.in,
	  admin-tool/sabayon-apply.py: add tool which applies
	a profile.

	* admin-tool/Makefile.am: add sabayon-apply.

	* lib/config.py.in: s/SESSION_TOOL_PATH/SESSION_TOOL_ARGV/
	and add APPLY_TOOL_ARGV.

	* lib/protosession.py: run sabayon-apply instead of
	trying to do it directly.

	* admin-tool/profilesdialog.py: use SESSION_TOOL_ARGV
	instead of SESSION_TOOL_PATH.

2005-02-14  Mark McLoughlin  <markmc@redhat.com>

	* lib/config.py.in: add a list of env variables
	which should be passed through unmodified when
	starting the prototype session. Include SABAYON_DEBUG
	in the list.

	* lib/protosession.py: use the list here.

	* lib/dirmonitor.py: add debug spew, fix a bug
	with ignorationism.

	* lib/sources/filessource.py,
	  lib/sources/paneldelegate.py,
	  lib/storage.py,
	  lib/userprofile.py: more debug spew.

	* lib/util.py: add pid to debug spew.

	* admin-tool/monitorwindow.py,
	  admin-tool/profilesdialog.py: yet more spewage.

2005-02-14  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/monitorwindow.py,
	  lib/sources/mozillasource.py,
	  lib/sources/paneldelegate.py: hook up debugging.

2005-02-14  Mark McLoughlin  <markmc@redhat.com>

	* lib/util.py: (debug_print): add "admin-tool" key.

	* admin-tool/profilesdialog.py: hook up debugging.

	* lib/protosession.py: ditto.

2005-02-14  Mark McLoughlin  <markmc@redhat.com>

	* lib/protosession.py: pass the profile file
	to sabayon-monitor when launching it.

	* admin-tool/sabayon-monitor.py: barf if we're
	not passed an argument

2005-02-14  Mark McLoughlin  <markmc@redhat.com>

	Add a SABAYON_DEBUG env variable. Run with
	SABAYON_DEBUG=help to see allowable values.

	* lib/util.py: add debug_print() foo.

	* lib/storage.py: use it here.

2005-02-14  Mark McLoughlin  <markmc@redhat.com>

	Try to fix the build mess.

	* configure.ac:
	Use AM_PATH_PYTHON instead of random copied and pasted
	crackrock.
	Add --enable-consolehelper and check for PAM prefix. Both
	copied from GDM.

	* admin-tool/Makefile.am:
	Use the SCRIPTS primary for the wrapper scripts and the
	PYTHON primary for python files.
	Generate sabayon.console so we get the right path.
	Copy GDM's consolehelper install stuff.

	* admin-tool/sabayon.console.in: copy from sabayon.console.

	* lib/Makefile.am,
	  lib/sources/Makefile.am: use the PYTHON primary for
	python files.

2005-02-13  David Lodge <dave@cirt,net>

	* configure.ac: Added en_GB to ALL_LINGUAS.

2005-02-13  Seth Nickell  <seth@gnome.org>

	* admin-tool/sabayon.glade:

	Don't require GNOME (causes lots of debug warnings at
	sabayon startup).

	* lib/sources/gconfsource.py:

	Change self.get_committing_client() call to the function name
	as implemented: self.get_committing_client_and_address().
	Fixes error when committing GConf keys.

2005-02-13  Seth Nickell  <seth@gnome.org>

	* admin-tool/Makefile.am:
	* admin-tool/sabayon.desktop.in:

	Initial .desktop file for Sabayon

	* admin-tool/sabayon.png:

	Placeholder icon...10 bonus points if you can tell what it is

	* admin-tool/sabayon.console:
	* admin-tool/sabayon.pam:

	consolehelper magic so sabayon can be run from GNOME w/o
	being root already.

2005-02-13  Seth Nickell  <seth@gnome.org>

	* admin-tool/profilesdialog.py:

	Throw up an explanatory (but not helpful...) error alert if the
	sabayon user account does not exist. We should really offer to
	create it.

2005-02-11  Mark McLoughlin  <markmc@redhat.com>

	Add first cut of "stuff to ignore" list.

	* lib/dirmonitor.py:
	(DirectoryMonitor.set_directories_to_ignore),
	(DirectoryMonitor.set_files_to_ignore): impl.
	(DirectoryMonitor.__handle_gamin_event),
	(DirectoryMonitor.monitor_dir): ignore stuff.
	(run_unit_tests): test out new foo.

	* lib/config.py.in: add lists of files and directories
	to ignore.

	* lib/sources/filessource.py: hook up lists.

2005-02-11  Mark McLoughlin  <markmc@redhat.com>

	* lib/sources/paneldelegate.py: fix typo.

2005-02-11  Mark McLoughlin  <markmc@redhat.com>

	* lib/userprofile.py:
	(UserProfile.apply): call apply() on all delegates
	for each source too.

	* lib/sources/paneldelegate.py:
	(PanelDelegate.apply): add - it doesn't need to do anything, though.

2005-02-11  Mark McLoughlin  <markmc@redhat.com>

	* lib/sources/gconfsource.py:
	(recursive_unset): add - it turns out gconf_client_recursive_unset()
	isn't wrapped either.

	* lib/sources/paneldelegate.py:
	(PanelDelegate.__commit_removed_changed): make it work.
	(run_unit_tests): make sure committing is actually doing something.

2005-02-11  Mark McLoughlin  <markmc@redhat.com>

	* lib/config.py.in: add PANEL_KEY_BASE.

	* lib/sources/paneldelegate.py: use it, instead of hardcoding
	/apps/panel - older versions use /apps/panel/profiles/default.

2005-02-11  Mark McLoughlin  <markmc@redhat.com>

	* lib/sources/gconfsource.py:
	(associate_schema): gconf_engine_associate_schema() isn't wrapped, so
	use gconftool to do the job.
	(get_client_and_address_for_path): we want the address rather than
	engine now.

	* lib/sources/paneldelegate.py:
	(PanelDelegate.__handle_id_list_change): remove all the added/removed
	functions and do it generically here.
	(PanelDelegate.__copy_dir): implement.
	(PanelDelegate.__commit_removed_change),
	(PanelDelegate.__commit_added_change): use our cache of the id list
	rather than the schema default when committing the id list.
	(run_unit_tests: put Humpty together again.

2005-02-11  Mark McLoughlin  <markmc@redhat.com>

	* lib/sources/gconfsource.py:
	(GConfSource.__get_client): rename to get_committing_client()
	and export. Also make it return a (client, engine) tupple.

	* lib/sources/paneldelegate.py:
	Store cached panel configuration in objects rather than tupples.
	Add added/removed flags for each panel/applet etc. If an applet
	has been added or removed, but that change not yet committed
	then these flags are set.
	(PanelDelegate.handle_change): filter out any changes to not
	yet committed added/removed panel/applets etc.
	(PanelDelegate.commit_change): first cut impl. Needs finishing,
	though.
	(run_unit_tests): update.

Thu Feb 10 18:33:48 CET 2005 Daniel Veillard <veillard@redhat.com>

	* lib/config.py.in: added shell and usermod entries
	* lib/protosession.py: added set/reset shell methods

2005-02-10  Mark McLoughlin  <markmc@redhat.com>

	* lib/sources/paneldelegate.py: make the unit tests
	run again.

2005-02-10  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/Makefile.am: add wrappers to distclean.

2005-02-10  Mark McLoughlin  <markmc@redhat.com>

	Add ability for delegates to commit changes.

	* lib/userprofile.py:
	(ProfileChange.__init__): allow a delegate to be
	passed to the constructor.
	(SourceDelegate.__init__): kill the "changes class" idea.
	(SourceDelegate.commit_change): add hook for delegates
	to implement.
	(ProfileSource.commit_change): if a change is associated
	with a delegate, commit the change via the delegate.

	* lib/sources/filessource.py:
	(FilesSource.commit_change): chain up to ProfileSource.commit_change.

	* lib/sources/gconfsource.py:
	(GConfSource.commit_change): ditto.

	* lib/sources/paneldelegate.py: associate changes with the delegate
	and add a commit_change() stub. Just need to figure out how in hell
	to do it now.

Thu Feb 10 13:30:58 CET 2005 Daniel Veillard <veillard@redhat.com>

	* ISSUES Makefile.am TODO sabayon.spec.in: added an ISSUES file
	  listing the open questions we need feedback on, added to
	  dist and spec file.

Thu Feb 10 12:49:53 CET 2005 Daniel Veillard <veillard@redhat.com>

	* lib/Makefile.am: cosmetic cleanup
	* admin-tool/Makefile.am: making sure the desktop-profiles dir
	  is created
	* admin-tool/profilesdialog.py: renamed user to sabayon from protouser
	* Makefile.am sabayon.spec.in: added make rpm target as it's far
	  more convenient right now

Thu Feb 10 12:05:38 CET 2005 Daniel Veillard <veillard@redhat.com>

	* lib/Makefile.am: make sure we clean up and rebuild config.py

Thu Feb 10 11:22:18 CET 2005 Daniel Veillard <veillard@redhat.com>

	* admin-tool/Makefile.am lib/Makefile.am lib/config.py.in:
	  moving sabayon-session and sabayon-monitor to @libexecdir@
	  since they should not be launched directly

Thu Feb 10 10:57:20 CET 2005 Daniel Veillard <veillard@redhat.com>

	* TODO: docs and man page

2005-02-09  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/profilesdialog.py:
	(edit_button_clicked): copy the profile for
	the prototype session and copy it back when
	finished.
	(create_new_profile): remove hackiness.

	* lib/sources/gconfsource.py: don't import
	tempfile and shutil, not needed.

2005-02-09  Mark McLoughlin  <markmc@redhat.com>

	* lib/config.py.in: add path to sabayon-session.

	* admin-tool/profilesdialog.py: use it.

2005-02-09  Mark McLoughlin  <markmc@redhat.com>

	* lib/Makefile.am,
	  lib/config.py.in: sabayon-monitor is currently
	installed in sbindir, not bindir.

2005-02-09  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/sabayon-session.py: import os module.

2005-02-09  Mark McLoughlin  <markmc@redhat.com>

	* lib/protosession.py:
	(open_x_connection): absolutely horrendous hack to
	have a child process hold open a dummy X connection
	on Xnest.
	(main): remove - its been moved to sabayon-session.

	* lib/config.py.in: upd for admin-tool renaming.

2005-02-09  Mark McLoughlin  <markmc@redhat.com>

	* lib/Makefile.am: add protosession.py

2005-02-09  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/Makefile.am: add sabayon-monitor and
	sabayon-session.

	* admin-tool/profilesdialog.py:
	(edit_button_clicked): run sabayon session since
	ProtoSession has problems if there's an existing
	X display already open.
	(create_new_profile): temporary hack to make the profile
	writable by the prototype user. Will fix soon.

	* admin-tool/sabayon-monitor.in,
	  admin-tool/sabayon-monitor.py: re-name sabayon to
	sabayon-monitor.

	* admin-tool/sabayon-session.in,
	  admin-tool/sabayon-session.py: script to run a
	prototype session.

	* admin-tool/sabayon.py: launch the profiles editor
	from here.

	* admin-tool/profilesdialog.in: remove

Tue Feb  8 17:12:02 CET 2005 Daniel Veillard <veillard@redhat.com>

	* admin-tool/.cvsignore admin-tool/Makefile.am
	  admin-tool/profilesdialog.in: adding a wrapper shell for
	  profilesdialog too

2005-02-08  Mark McLoughlin  <markmc@redhat.com>

	* lib/sources/Makefile.am: s/testmodule.py/testsource.py/

Tue Feb  8 11:51:19 CET 2005 Daniel Veillard <veillard@redhat.com>

	* lib/dirmonitor.py: ignore (End)Exists events since we scan
	  the tree ourselves, works only with gamin >= 0.0.23

2005-02-05  Seth Nickell  <seth@gnome.org>

	* lib/sources/mozillasource.py:
	If there's only one profile, its the default even if it
	doesn't have the Default=1 flag. This makes mozillasource.py
	work on stock (to Fedora at least) Firefox installs,
	where the auto-generated profile doesn't have the Default=
	flag set.

2005-02-05  Seth Nickell  <seth@gnome.org>

	* admin-tool/sabayon.glade:

	Set list view scrollbar policy to auto.

2005-02-04  Frank Arnold  <farnold@cvs.gnome.org>

	* configure.ac: Added de to ALL_LINGUAS.

2005-02-03  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/profilesdialog.py: hook up edit to
	protosession.

2005-02-03  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/profilesdialog.py: make new and delete
	do stuff.

2005-02-03  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/profilesdialog.py,
	  admin-tool/sabayon.glade: add a "New Profile" dialog.

2005-02-03  Mark McLoughlin  <markmc@redhat.com>

	* lib/storage.py: change things about a bit so that
	it creates its own temprary install directory.
	Add ProfileStorage::uninstall()
	Rename ProfileStorage::get_directory() to
	ProfileStorage::get_install_path()

	* admin-tool/monitorwindow.py,
	  admin-tool/sabayon.py,
	  lib/README.storage,
	  lib/protosession.py,
	  lib/sources/filessource.py,
	  lib/sources/gconfsource.py,
	  lib/userprofile.py: update for above change.

	* lib/sources/mozillasource.py: get_source() takes
	a ProfileStorage not profile_path

2005-02-03  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/profilesdialog.py: start implementing
	profiles manager dialog.

	* admin-tool/sabayon.glade: add profiles dialog.

	* lib/Makefile.am, lib/config.py.in: add some more
	variables.

	* lib/protosession.py: move some variables to config.py

2005-02-02  Mark McLoughlin  <markmc@redhat.com>

	* lib/protosession.py: apply the profile before
	launching the session.

	* lib/storage.py: don't throw an exception if asked
	to install when the profile doesn't yet exist.

	* lib/userprofile.py: don't ignore exceptions from
	ProfileStorage.install()

2005-02-02  Mark McLoughlin  <markmc@redhat.com>

	* lib/storage.py: test adding a new file after
	installing.

2005-02-02  Mark McLoughlin  <markmc@redhat.com>

	* README: add bit about bug #154779

	* lib/storage.py:
	(print_exception): remove, unused.
	(ProfileStorage.__init__): add directory to constructor.
	Doesn't make sense for it to default to the home directory.
	(ProfileStorage.__get_metadata_description): accessor
	for description.
	(ProfileStorage.__get_file_info): build the tuple to be
	returned from update_all(), info_all() and install()
	(ProfileStorage.__get_asb_filename): rename to
	__get_abs_filename()
	(ProfileStorage.update_all): allow for a file that was
	added after installation.
	(run_unit_tests): re-work so we don't use the home dir,
	not spew debugging, test things a bit more and crap out
	if something fails

	* lib/README.storage: update.

	* lib/sources/filessource.py: lots of fixing, commiting
	and applying work now.

	* lib/sources/gconfsource.py: update for ProfileStorage
	changes.

	* lib/userprofile.py:
	(UserProfile.__init__): update for storage changes.
	(UserProfile.sync_changes): sync storage to disk.

	* lib/util.py:
	(set_home_dir_for_unit_tests): add to make writing
	unit tests easier.

2005-02-02  Mark McLoughlin  <markmc@redhat.com>

	* lib/unittests.py: over-engineer the test harness
	to make it easier to selectively run certain tests
	i.e. "./unittests.py util storage filessource" just
	runs those tests.

2005-02-01  Mark McLoughlin  <markmc@redhat.com>

	* lib/protosession.py: launch the admin tool an
	arbtrary 5 seconds after starting the session.

	* lib/userprofile.py: allow the delegate not to
	emit any changes of its own.

2005-02-01  Mark McLoughlin  <markmc@redhat.com>

	* lib/protosession.py: open the dummy X connection
	on the right display.

2005-01-31  Mark McLoughlin  <markmc@redhat.com>

	* lib/protosession.py: open and hold open an X
	connection so Xnest doesn't re-init as xsetroot
	and xrdb connect and disconnect.

2005-01-31  Mark McLoughlin  <markmc@redhat.com>

	* lib/protosession.py:
	Explicitly write the protouser's xauth file since
	we need to change the display number.
	Use execve instead of changing os.environ.
	Add debugging spew.

2005-01-31  Mark McLoughlin  <markmc@redhat.com>

	* lib/dirmonitor.py: disconnect from gamin when
	stopping the monitor.

2005-01-31  Mark McLoughlin  <markmc@redhat.com>

	* lib/dirmonitor.py: remove all watches when
	stopping monitoring.

2005-01-31  Mark McLoughlin  <markmc@redhat.com>

	* lib/dirmonitor.py: fixup some bugs, passes unit
	tests again.

2005-01-29  Raphael Higino  <raphaelh@cvs.gnome.org>

	* configure.ac: Added pt_BR to ALL_LINGUAS.

2005-01-28  Mark McLoughlin  <markmc@redhat.com>

	* lib/protosession.py: copy the xauth file for the user
	before starting the session.

2005-01-28  Mark McLoughlin  <markmc@redhat.com>

	* lib/protosession.py: add code to write out an xauth
	file for Xnest.

Fri Jan 28 11:20:03 CET 2005 Daniel Veillard <veillard@redhat.com>

	* README lib/dirmonitor.py: switching to using gamin directly
	  for the directory watches.

2005-01-27  Mark McLoughlin  <markmc@redhat.com>

	* lib/protosession.py: checkpoint of the session
	launching code.

2005-01-27  Mark McLoughlin  <markmc@redhat.com>

	* lib/util.py: hmm, use GeneralError again.

2005-01-26  Mark McLoughlin  <markmc@redhat.com>

	* lib/util.py: pull username and homedir from
	the passwd database if available.

2005-01-25  Adam Weinberger  <adamw@gnome.org>

	* configure.ac: Added en_CA to ALL_LINGUAS.

2005-01-25  Mark McLoughlin  <markmc@redhat.com>

	* lib/userprofile.py: introduce the concept of a
	"delegate" - a helper class to give a higher level
	interpretation of some changes from a given source.

	* lib/sources/paneldelegate.py: an implementation
	of the helper class for the panel's config - so, e.g.,
	when you added an applet you get "applet added" rather
	than a whole bunch of GConf keys changed.

	* lib/sources/Makefile.am: add paneldelegate.py.

	* lib/sources/filessource.py,
	  lib/sources/gconfsource.py,
	  lib/sources/mozillasource.py: update.

	* lib/unittests.py,
	  lib/sources/testsource.py: hook up some more unit
	tests.

2005-01-24  Mark McLoughlin  <markmc@redhat.com>

	* lib/storage-modules/: rename to lib/sources -
	these modules are ProfileSource sub-classes, nothing
	to do with the ProfileStorage class - to avoid
	confusion.

	* configure.ac, lib/Makefile.am, lib/config.py.in
	  lib/unittests.py, lib/userprofile.py: update.

2005-01-24  Christian Rose  <menthos@menthos.com>

	* configure.ac: Added "sv" to ALL_LINGUAS.

Fri Jan 21 13:45:19 CET 2005 Daniel Veillard <veillard@redhat.com>

	* lib/dirmonitor.py: do not explode when launched on a real user
	  environment.

Fri Jan 21 12:00:42 CET 2005 Daniel Veillard <veillard@redhat.com>

	* README: small update
	* lib/dirmonitor.py: try to fix problem with older gnome-vfs bindings

2005-01-21  Mark McLoughlin  <markmc@redhat.com>

	* lib/userprofile.py: last few bits of the grand re-naming.

	* lib/storage-modules/mozillasource.py: disable for now.

Thu Jan 20 21:44:31 CET 2005 Daniel Veillard <veillard@redhat.com>

	* lib/dirmonitor.py: try to work around a portability problem
	  about gnome-vfs python module name
	* lib/util.py: added a routine print_exception() to display an exception

2005-01-20  Mark McLoughlin  <markmc@redhat.com>

	* lib/modules/gconfprofile.py: import errno module.

2005-01-20  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/monitorwindow.py: fix buglet.

2005-01-20  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/Makefile.am: install glade file
	in $pkgdatadir/glade, generate user-profile-admin.

	* admin-tool/user-profile-admin: remove.

	* admin-tool/user-profile-admin.in: add - generated
	now with correct prefix.

	* lib/Makefile.am: add some missing files, generate
	config.py.

	* lib/config.py: remove

	* lib/config.py.in: add - generates config.py.

	* lib/modules/Makefile.am: add filesprofile.py

Thu Jan 20 15:30:04 CET 2005 Daniel Veillard <veillard@redhat.com>

	* lib/README.package lib/package.py: added a get_directory() entry point
	* admin-tool/monitorwindow.py admin-tool/user-profile-admin.py:
	  moving profile file intialization down to UserProfile() init
	* lib/userprofile.py lib/modules/filesprofile.py
	  lib/modules/gconfprofile.py lib/modules/testmodule.py: adding the
	  self.profile_storage coming from the storage module, replacing
	  bascially self.profile_path by self.profile_storage.get_directory().
	  The modules creation routines now take a storage object argument
	  instead of a storage path.

2005-01-20  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/monitorwindow.py: add a mandatory toggle,
	stop using magic numbers for column indices.

Thu Jan 20 13:32:28 CET 2005 Daniel Veillard <veillard@redhat.com>

	* admin-tool/user-profile-admin.py: use the package module instead of
	  tar files for the profile storage. Loading only ATM.

2005-01-20  Mark McLoughlin  <markmc@redhat.com>

	* admin-tool/monitorwindow.py:
	(ProfileChangesModel.handle_profile_change):
	remove existing changes to the same item from the model
	before prepending the new one.
	(ProfileMonitorWindow): hook up the menu items.

	* admin-tool/user-profile-admin.glade: add a "Commit"
	menu item.

2005-01-20  Mark McLoughlin  <markmc@redhat.com>

	* lib/modules/filesprofile.py: add "files" backend

	* lib/dirmonitor.py: remove the timeout when we've
	completed our tests so we don't screw over other
	tests.

	* lib/modules/gconfprofile.py: user util.get_home_dir()
	and util.get_user_name ()

	* lib/unittests.py: hook up more tests.

Thu Jan 20 11:28:50 CET 2005 Daniel Veillard <veillard@redhat.com>

	* lib/package.py: GPL header
	* lib/config.py admin-tool/user-profile-admin: trying to get paths
	  to work automatically from CVS checkout too

Thu Jan 20 10:42:03 CET 2005 Daniel Veillard <veillard@redhat.com>

	* lib/package.py: reuse util functions

2005-01-20  Mark McLoughlin  <markmc@redhat.com>

	* lib/util.py: add get_home_dir() and get_user_name()
	utility functions.

2005-01-19  Mark McLoughlin  <markmc@redhat.com>

	* lib/dirmonitor.py: add a recursive directory monitor
	thingy.

Wed Jan 19 11:36:57 CET 2005 Daniel Veillard <veillard@redhat.com>

	* lib/README.package: quick doc for the package module

Wed Jan 19 11:15:04 CET 2005 Daniel Veillard <veillard@redhat.com>

	* lib/Makefile.am lib/package.py: integrated the package lib in the
	  tree
