2003-12-08  Mark McLoughlin  <mark@skynet.ie>

	* gsm-xrandr.c: add some includes to fix warnings.

2003-12-08  Alexander Larsson  <alexl@redhat.com>

	* gsm-xrandr.[ch]:
	XRandR support (from main.c)

	* gsm-keyring.[ch]:
	Keyring support

	* Makefile.am (INCLUDES): 
	* main.c (gsm_start_keyring_daemon):
	Start the keyring daemon on startup and set env var
	Stop it on shutdown

2003-12-02  Mark McLoughlin  <mark@skynet.ie>

	* logout.c: (display_gui): Revert Bill's patch for #122737
	as it crashes with a11y turned off. See the bug report for
	details.

2003-12-02  Mark McLoughlin  <mark@skynet.ie>

	Based on a patch from W. Michael Petullo <gnome@flyn.org>
	in bug #97361.

	* main.c:
	(gsm_shutdown_gconfd): impl. shutting down gconfd.
	(main): Shut down gconfd on logout.
	
	* Makefile.am: define GCONFTOOL_CMD.

2003-11-17  Bill Haneman <billh@gnome.org>

	* logout.c:
	Call gtk_window_set_decorated (..., FALSE)
	on logout dialog instead of making it 
	override-redirect; fixes bug #122737.

2003-11-13  Mark McLoughlin  <mark@skynet.ie>

	Fixes a weird problem I was seeing that after
	doing a distcheck the splash screen no longer
	worked. Turns out that during the distcheck
	the default splash screen location was being
	set to the location within the distcheck
	install.

	* gnome-session.schemas.in: don't generate from
	.schemas.in.in and make the default splash screen
	a relative path rather than an absolute path.
	
	* gnome-session.schemas.in.in: remove.
	
	* splash-widget.c:
	(load_background_pixbuf), (load_background): be a lot
	more robust loading the image and allow relative
	paths.

==================== 2.5.1 ====================

2003-11-11  Mark McLoughlin  <mark@skynet.ie>

	* Makefile.am: use $(DISABLE_DEPRECATED_CFLAGS).

2003-10-27  Mark McLoughlin  <mark@skynet.ie>

	* splash.[ch]: kill - they got re-added accidently.

==================== 2.4.1 ====================

==================== 2.4.0 ====================

==================== 2.3.90 ====================

2003-09-02  Mark McLoughlin  <mark@skynet.ie>

	* gnome-splash.png: 2.4 splash screen.

==================== 2.3.7 ====================

2003-08-18  Mark McLoughlin  <mark@skynet.ie>

	* gnome-splash.png: new splash screen from jimmac.

==================== 2.3.6.2 ====================

2003-08-13  Mark McLoughlin  <mark@skynet.ie>

	* main.c: (main): fix warnings on startup by setting
	SM_CLIENT_ID after gtk_init.

==================== 2.3.6.1 ====================

2003-08-08  Mark McLoughlin  <mark@skynet.ie>

	* main.c: (main): make sure SM_CLIENT_ID gets set
	to a dummy id so that smproxy doesn't think we
	need to be session managed. Should fix bug 118063.

2003-08-07  Frederic Crozat  <fcrozat@mandrakesoft.com>

	* command.c: (set_logout_command):
	use g_strfreev and g_strdupv instead of our own broken stuff.

==================== 2.3.6 ====================

2003-08-01  Dennis Cranston  <dennis_cranston at yahoo com>

	* session-properties-capplet.c: Patch to fix spacing between 
	action area and vbox of preferences dialog.

Mon Jul 28 11:46:56 2003  Jonathan Blandford  <jrb@redhat.com>

	* main.c (set_gtk1_theme_rcfile): Patch from Red Hat: Point
	GTK_RC_FILES at a separate file that we change in in
	gnome-settings-daemon.

2003-07-21  Dennis Cranston <dennis_cranston at yahoo com>

	* logout.c:  HIGify widget padding between the dialog vbox 
	and action area.
	  
2003-07-17  Dennis Cranston <dennis_cranston at yahoo com>

	* session-properties-capplet.c:  Very minor HIGification
	of widget padding.

==================== 2.3.4 ====================

2003-04-14  Shailesh Mittal  <shailesh.mittal@wipro.com>

	* main.c:
	(have_ipv6): Added for checking runtime IPv6 support.
	(check_for_dns): gethostbyname() returns NULL on
	IPv6 only machines, so modified to use getaddrinfo(),
	if runtime IPv6 support and getaddrinfo() are there, 
	otherwise gethostbyname() is used.

==================== 2.3.3.1 ====================

2003-06-23  Havoc Pennington  <hp@redhat.com>

	* splash-widget.c (splash_start): use
	GDK_WINDOW_TYPE_HINT_SPLASHSCREEN instead of being override
	redirect.

2003-06-18  Balamurali Viswanathan <balamurali.viswanathan@wipro.com>

	* session-properties-capplet.c: Enable the edit and delete buttons 
	in "Session Options" and "Starup Programs" tabs only if a Session 
	or Program is selected in gnome-session-properties capplet

2003-06-14  Anders Carlsson  <andersca@codefactory.se>

	* logout.c (fadeout_screen): Set the back pixmap of the
	fadeout window to NULL to reduce flicker when initially showing it.

2003-06-13  Dennis Cranston <dennis_cranston at yahoo com>

	* logout.c:  HIG fixes for the logout dialog.

==================== 2.3.3 ====================

2003-06-06  Mark McLoughlin  <mark@skynet.ie>

	* gnome-splash.png: Funky new 2.3.x splash screen
	from Jeff Waugh.
	
2003-06-06  Balamurali Viswanathan <balamurali.viswanathan@wipro.com>

	* default.in: Remove the entry for gnome-terminal

2003-06-05  Mark McLoughlin  <mark@skynet.ie>

	Add a small command line utility to remove clients from
	the session e.g. gnome-session-remove gnome-panel
	Yes, its on crack. But its useful crack.

	* Makefile.am: build gnome-session-remove.
	
	* gsm-protocol.[ch]:
	(gsm_client_class_init), (dispatch_event): expose the SmProgram
	property.
	
	* gsm-remove-client.c: add.

2003-06-02  Michael Meeks  <michael@ximian.com>

	* gsm-gsd.c (broken_cb): use ORBitConnection not Linc foo.

2003-05-27  Mark McLoughlin  <mark@skynet.ie>

	* session-names.c: (edit_session_name):
	* startup-programs.c: (edit_client): Port from GnomeDialog
	to GtkDialog. Patch from silversides@btinternet.com in
	bug #113790.

2003-05-20  Jon Svendsen  <jon-sven@frisurf.no>

	* logout.c: (hide_fadeout_windows): Fix crash on multiple 
	invocations (#108199)

2003-05-19  Mark McLoughlin  <mark@skynet.ie>

	 Patch from Aron Griffis <agriffis@gentoo.org>. Fixes #105439.

	* gsm-client-editor.c: (gsm_client_editor_get_type):
	* gsm-client-editor.h: s/guint/GtkType/g.

2003-04-22  Alexander Larsson  <alexl@redhat.com>

	* main.c (set_display_properties):
	Xrandr support. We set the new resolution as early as possible
	to avoid changing it after any UI is shown.

2003-01-03  Mark McLoughlin  <mark@skynet.ie>

	* Makefile.am: add gsm-procotol.[ch] to the session-save
	build.

	* save-session.c: (set_session_name), (main): impl a
	--session-name arg to set the current session before
	saving.

2003-02-27  Mark McLoughlin  <mark@skynet.ie>

	* logout.c: modified version of Iain Holme's new
	logout effect patch.

2003-02-26  Mark McLoughlin  <mark@skynet.ie>

	* gsm-gsd.c: (gsd_error_dialog):
	* session-properties.c: (create_table): warnings fixes.

2003-02-26  Mark McLoughlin  <mark@skynet.ie>

	* Makefile.am: link logout-test against $(X_LIBS). Should
	fix #106904.

2003-02-26  Mark McLoughlin  <mark@skynet.ie>

	* egg-screen-exec.c, egg-screen-help.[ch],
	  egg-screen-url.[ch]: sync with libegg.

	* logout.c: (display_gui): upd for new signatures of
	the gnome-help multiscreen variants.

2003-02-25  Arvind Samptur <arvind.samptur@wipro.com>
	* manager.c: (interact_request) : Removed the bogus 
	sorting of the interact list. Fixes the problem of
	desktop hang when multiple apps request interaction
	Fixes #105338

2003-02-20  Balamurali Viswanathan <balamurali.viswanathan@wipro.com>

	* Makefile.am: egg-screen* file changes
	* logout.c: Use egg_screen_help_display_desktop for invoking help
	* Added egg-screen-exec.[ch], egg-screen-help.[ch]
	  egg-screen-url.[ch]

2003-02-18  Mark McLoughlin  <mark@skynet.ie>

	* Makefile.am:
	* logout-test.c: add little test wrapper for trying
	out different logout effects.

2003-02-17  Mark McLoughlin  <mark@skynet.ie>

	* Makefile.am: honour the GCONF_SCHEMAS_INSTALL
	conditional. Patch from Julio Merino.

2003-02-13  Havoc Pennington  <hp@redhat.com>

	* splash-widget.c (get_splash_icon): lookup icon from the icon
	theme, #106037

2003-01-23  Yuriy Syrota	<rastaman renome.rovno.ua>

	* session-properties-capplet.c: Fixed Bug #99829 by
	Maxim Dzumanenko <mvd mylinux.com.ua>:
	/gnome-session/session-properties-capplet.c file
	has two (at least) not marked for translation strings.
	Here are they:
	  label = gtk_label_new_with_mnemonic ("_Sessions:");
	and
	  label = gtk_label_new_with_mnemonic ("Additional startup _programs:");

2003-01-06  Mark McLoughlin  <mark@skynet.ie>

	* main.c: make purge_delay and warn_delay 2 minutes
	by default. A proper strategy for this is being
	worked out in #94754 and will hopefully be done in
	2.4. Should fixes the problem of slow starting up
	apps being killed off - e.g. OpenOffice.

2003-01-03  Mark McLoughlin  <mark@skynet.ie>

	* gsm-protocol.[ch]:
	(gsm_protocol_new): don't request the properties in
	idle here. We only need to do that when we're in a SMlib
	callback. Fixes crash if the GsmProtocol is unreffed before
	we ever hit the mainloop.
	(gsm_protocol_set_session_name): make the "name" arg a
	const.

2002-12-17  Satyajit kanungo  <satyajit.kanungo@wipro.com>

	* session-properties-capplet.h Changed the startup_list_add_dialog()
	  startup_list_edit_dialog(), session_list_add_dialog(),
	  session_list_edit_dialog to pass the parent dialog.

	  session-names.c,startup-programs.c  Set GnomeDialog as a 
	  transient dialog. So that the window manager can keep it always
	  above the parent dialog.

2002-12-10  Dennis Cranston <dennis_cranston@yahoo.com>

	* save-session.desktop.in: add startup notification support
	* session-properties.desktop.in: add startup notification support
	
2002-12-05  Brian Cameron <brian.cameron@sun.com

	* main.c: added g_object_unref of gconf_client variable.

2002-11-18  Fernando Herrera <fherrera@onirica.com>

	* save-session.desktop.in: add X-GNOME-BUGZILLA stuff
	* session-properties.desktop.in: add X-GNOME-BUGZILLA stuff

2002-11-28  Evandro Fernandes Giovanini <evandrofg@ig.com.br>

	* splash-widget.c: Updated applications map table
	(added g-s-d, removed old capplets). bug #78553.

2002-10-15  Mark McLoughlin  <mark@skynet.ie>

	* gsm-multiscreen.[ch]:
	(gsm_screen_get_x), (gsm_screen_get_y): impl.

	* logout.c: (iris_on_screen): use it. The Xinerama
	stuff musn't have been working at all :/

2002-10-08  Mark McLoughlin  <mark@skynet.ie>

	* gsm-sound.c:
	(esd_enabled): check the enable_esd key.
	(sound_events_enabled): check the enable_sounds key.
	(sound_init), (gsm_sound_logout):
	start esd if enable_esd is set and play the sounds
	if enable_sounds is set. Fixes #94956.

2002-10-02  Mark McLoughlin  <mark@skynet.ie>

	* Makefile.am: use intltool to merge schemas
	translations.

	* gnome-session.schemas: rename to
	gnome-session.schemas.in.in.

	* gnome-session.schemas.in.in: add splash_image key.

	* splash-widget.c: (read_background): allow the
	splash screen image to be configured. Patch from
	dobey@free.fr, #57151.

2002-09-23  Mark McLoughlin  <mark@skynet.ie>

	* session-names.c: (edit_session_name): don't warn
	about the session name already existing if we
	haven't changed the name. Fixes #92748.
	Patch from Matt Brubeck <mbrubeck@cs.hmc.edu>.

2002-09-20  Mark McLoughlin  <mark@skynet.ie>

	* session-properties-capplet.c: (apply): set
	state_dirty to FALSE to the user doesn't have
	to confirm again when closing the dialog.
	Fixes #93628.

2002-09-20  Mark McLoughlin  <mark@skynet.ie>

	* logout.c: (display_gui): only grab the server and
	draw the iris if accessibility is not enabled. Fixes
	hang on logout with accessibility, #93103. Patch
	from Padraig O'Briain.

2002-09-20  Mark McLoughlin  <mark@skynet.ie>

	* session-properties-capplet.c: (capplet_build):
	* startup-programs.c: (edit_client): s/Priority/Order/
	Fixes #85124.

2002-09-19  Mark McLoughlin  <mark@skynet.ie>

	* gsm-multiscreen.c: (gsm_foreach_screen),
	(gsm_screen_contains_pointer), (gsm_locate_screen_with_pointer),
	(gsm_screen_get_width), (gsm_screen_get_height),
	(gsm_center_window_on_screen):
	* logout.c: (iris_on_screen), (refresh_screen), (display_gui):
	kill HAVE_GTK_MULTIHEAD conditionals. We require gtk+
	HEAD now.

2002-09-17  jacob berkman  <jacob@ximian.com>

	* splash-widget.h (SPLASH_LABEL_V_OFFSET): the code assumes this
	is positive, and all the other constants are, so make it positive.
	fixes ximian bug #29675

	* splash.[ch]: kill

2002-09-16  Mark McLoughlin  <mark@skynet.ie>

	* startup-programs.c: (edit_client): don't allow
	negative values for priority. #93278.

2002-08-11  Ross Burton  <ross@burtonini.com>

	* session-properties.desktop.in, save-session.desktop.in:
	fix the Terminal keyword, add GNOME to the Categories,
	and set Save Session as OnlyShowIn=GNOME.

2002-08-08  Mark McLoughlin  <mark@skynet.ie>

	* Makefile.am: add gsm-multiscreen.[ch] to
	the build.

	* gsm-multiscreen.[ch]: (gsm_foreach_screen),
	(gsm_screen_contains_pointer), (gsm_locate_screen_with_pointer),
	(gsm_screen_get_width), (gsm_screen_get_height),
	(gsm_center_window_on_screen): impl various multiscreen
	helper functions.

	* logout.c: (iris_callback), (iris_on_screen), (iris),
	(refresh_screen), (display_gui): draw the iris on both
	screens and realise the logout dialog on the screen
	which currently contains the pointer.

2002-08-05  jacob berkman  <jacob@ximian.com>

	* gnome-wm: prefer metacity to sawfish

2002-08-01  Mark McLoughlin  <mark@skynet.ie>

	* manager.c: (process_save_request): if a global only
	session save was requested, but the user selects
	'Save current setup', ammend save style to Both.

	* save-session.c: kill debug.

2002-07-30  jacob berkman  <jacob@ximian.com>

	* session-properties-capplet.c (apply): don't write the "state"
	anymore - this is just for the list of apps
	(spc_write_state): make non-static for session-names.c to use

	* startup-programs.c (startup_list_add_dialog): 
	(startup_list_edit_dialog): 
	(startup_list_delete): 

	* session-names.c (session_list_add_dialog): 
	(session_list_delete): 
	(session_list_edit_dialog): write the state

	patch from stephen browne for bug #88419

2002-07-26  Arvind Samptur <arvind.samptur@wipro.com>

	* main.c Increased the wait period for clients to save
	from 10 to 30 seconds. Solves the problem of panel
	not coming up the first time for new users.
	Fixes #88485

2002-07-25  Federico Mena Quintero  <federico@ximian.com>

	* startup-programs.c (edit_client): Do not show the dialog, as
	gnome_dialog_run() takes care of that for us.  Also, showing the
	dialog beforehand means that GTK+ must install a grab and we don't
	want that.  Instead, just show_all() the vbox.  Also, set the file
	entry to be modal.  Fixes the gnome-session-properties part of
	#88849.

2002-07-25  Michael Meeks  <michael@ximian.com>

	* splash-widget.c (splash_widget_expose_event),
	(splash_widget_add_icon, calc_text_box): improve
	the text rendering so it's never clipped and
	positioning is saner.

	* splash-widget.h: tweak the text positioning.

2002-07-17  jacob berkman  <jacob@ximian.com>

	* main.c (gnome_login_check): fix some failed assertions

2002-07-17  Michael Meeks  <michael@ximian.com>

	* splash-widget.c (splash_widget_size_request),
	(splash_widget_size_allocate): fix minor sizing
	thinko.

	* main.c (gnome_login_check): only destroy the
	widget if we created it.

	* splash-widget.c (layout_icon): only scale if
	necessary.

2002-07-15  Michael Meeks  <michael@ximian.com>

	* splash-widget.[ch]: re-write the splash widget
	completely, to use pure Gtk+ instead of the canvas,
	to improve performance by avoiding the Pango stuff.

	* splash.[ch]: kill.

	* manager.c (run_command_prop): upd.

	* main.c (main): upd.

	* Makefile.am: upd.

2002-07-15  jacob berkman  <jacob@ximian.com>

	* logout.c (display_gui): don't reference a destroyed widget
	(#86618)

	* main.c (gnome_login_check): kill the dialog when we're done
	(bugzilla.ximian.com #27747)

2002-07-12  jacob berkman  <jacob@ximian.com>

	* gsm-client-row.c:
	* manager.c:
	* session-names.c:
	* session-properties-capplet.[ch]:
	* session-properties.c:
	* startup-programs.c: usability patch from stephen (bug #85652)

2002-07-12  Brian Cameron  <Brian.Cameron@sun.com>

	* Makefile.am
	* gsm-sound.c
	Now support esd when it is installed via the --with-esd-dir
	configure option

2002-07-11  Brian Cameron  <Brian.Cameron@sun.com>

	* Makefile.am
	* main.c
	Now support gconf-sanity-check when it is installed in libexec.

2002-05-27  Alvaro Lopez Ortega  <alvaro@0x50.org>

	* logout.c (iris_callback): don't overlap rectangles if the
	screen is not a square. #83300.

2002-07-12  Mark McLoughlin  <mark@skynet.ie>

	* session-properties.desktop.in: patch from Glynn to
	change the tooltip. #87758.

2002-07-08  jacob berkman  <jacob@ximian.com>

	* session-properties-capplet.c (main): quit on the SM die signal
	(fixes bug #82166)

	* logout.c (display_gui): call XSetInputFocus() on our window to
	fix #77517 again (thanks, owen)

2002-07-08  Mark McLoughlin  <mark@skynet.ie>

	* Makefile.am: define RSH_COMMAND.

	* remote.c: (remote_start): use it here, checking
	to see if exists first of all.

	* remote.h: delete RSHCMD.

2002-07-02  jacob berkman  <jacob@ximian.com>

	* main.c (main): move gnome_login_check() back to where it was -
	right after initializing i18n - but add a call to gtk_init() so we
	can pop up a dialog if we need to.

2002-07-02  Mark McLoughlin  <mark@skynet.ie>

	* logout.c: (display_gui): string changes
	patch from Glynn in #85623.

2002-07-01  jacob berkman  <jacob@ximian.com>

	* main.c (gnome_login_check): cut-n-paste stuff from
	gnome-login-check.c that we still need

	* gnome-login-check.c:
	* Makefile.am: kill gnome-login-check

	hopefully help bug #85115

2002-06-21  Mark McLoughlin  <mark@skynet.ie>

	* manager.c: fix warning.

	* session-properties.c: remove a quite unbelievable
	amount of cruft.

2002-06-20  jacob berkman  <jacob@ximian.com>

	* gsm-gsd.c (gsd_error_dialog): fix tyop

2002-06-19  jacob berkman  <jacob@ximian.com>

	* main.c (main): call the gsd and sound functions

	* gsm-sound.[ch] (gsm_sound_login): if built with esound support,
	start esd and load the login sound, and play the login sound
	(gsm_sound_logout): play the logout sound
	
	fixes bug #84774

	* gnome-login-check.c (main): remove gnomeui dependency, and only
	init libgnome if we need to find the pixmap.  helps bug #85115

	* default.in (num_clients): remove gnome-settings-daemon

	* gsm-gsd.[ch] (gsm_gsd_start): start gnome-settings-daemon via
	bonobo-activation, and restart it if it dies.  fixes #85030

2002-06-17  Mark McLoughlin  <mark@skynet.ie>

	* Makefile.am, gnome-splash-1.4.0.png: remove.

	* gnome-splash.png: new splash screen from jimmac.

2002-06-07  jacob berkman  <jacob@ximian.com>

	* prop.c (gsm_prop_copy): don't "return" void when prop is NULL,
	and prefer malloc to g_new for consistency

	fixes bug #84503

	* manager.c (free_client): free the discard property with
	SmFreeProperty (fixes a memleak)

	* ice.c (accept_connection): fix embarassing typo

2002-06-06  jacob berkman  <jacob@ximian.com>

	* Makefile.am (INCLUDES): set localedir to
	$prefix/$DATADIRNAME/locale and not $datadir (fixes #83626,
	HideToshi Tajima <hidetoshi.tajima@sun.com>)

	* manager.c (SaveState): add SENDING_INTERACT_2 when we are
	interacting in a phase 2
	(interact_request):
	(interact_done):
	(client_clean_up): properly handle phase 2 interacts.  better fix
	for #83783

2002-06-05  jacob berkman  <jacob@ximian.com>

	* patch from havoc to run gconf-sanity-check on login (fixes bug
	#83833)

	* manager.c (maybe_run_discard_commands): don't run the current
	discard command if we are autosaving (tracked down by Gustavo
	Girldez <gustavo.giraldez@gmx.net>)

2002-06-03  jacob berkman  <jacob@ximian.com>

	* manager.c (interact_request): accept interacts in phase 2.  fix
	for #83783

2002-05-28  Satyajit Kanungo <satyajit.kanungo@wipro.com>

	* logout.c: Changed the help link to fetch the help documents 
	  from user-guide.

2002-05-24  Satyajit Kanungo <satyajit.kanungo@wipro.com>

	* session-properties-capplet.c : Added a help button for the
	session properties capplet and link the button to the help
	document present under user-guide.

2002-05-28  Mark McLoughlin  <mark@skynet.ie>

	Fix #82959 by invoking DiscardCommand every time we
	forget a RestartCommand. This assumes every client
	knows to re-save its session data every SaveYourself,
	so we also check that a client is doing this.

	* manager.c: (free_client): free last_discard.
	(run_command_prop), (run_command): split run_command into
	two methods. run_command_prop invokes a command directly
	from and SmProp.
	(reincarnate_client): also copy session_saved.
	(process_save_request): save the DiscardCommand in last_discard
	before sending a SaveYourself.
	(maybe_run_discard_commands): impl method to run DiscardCommand
	every time we 'forget' a RestartCommand.
	(save_yourself_done): use it here.

	* command.c:
	(prop_dup): move and rename to gsm_prop_copy in prop.c
	(client_reasons), (client_property), (command): upd.

	* headers.h: add last_discard and session_saved members to
	Client structure.

	* prop.[ch]: (gsm_parse_vector_prop), (gsm_prop_copy),
	(gsm_array8_compare), (gsm_prop_compare): implement these
	methods.
	(find_vector_property): use gsm_parse_vector_prop.

	* util.[ch]: (gsm_compare_commands): implement this.

	* save.c:
	(write_one_client), (read_clients): set session_saved here.
	(delete_session): use gsm_compare_commands.

2002-05-25  Mark McLoughlin  <mark@skynet.ie>

	* logout.c: (display_gui): revert back the dialog to OK_CANCEL.
	That's whats fashionable today apparently. (#82009)

2002-05-23  jacob berkman  <jacob@ximian.com>

	* logout.c (display_gui): more fixups for the commit 2 monday

	should fix #82629

2002-05-22  jacob berkman  <jacob@ximian.com>

	* gnome-libice-check.c:
	* gnome-login-check.c (main): 
	* Makefile.am (bin_PROGRAMS): remove libice check stuff

	* manager.c (free_client): more debug spew

	* gsm-client-editor.c (gsm_client_editor_new): fix some breakage i
	did in last commit

2002-05-21  jacob berkman  <jacob@ximian.com>

	* session-properties-capplet.c (capplet_build): 
	* main.c (main): if the current session is an empty string, use
	the default session

	fixes #79076

	* logout.c (display_gui): don't reference destroyed widgets.
	thanks owen.

2002-05-20  jacob berkman  <jacob@ximian.com>

	* logout.c (display_gui): destroy the dialog before doing
	refreshing and stuff.  somehow, this fixes #80202

2002-05-17  jacob berkman  <jacob@ximian.com>

	* gsm-client-editor.c (gsm_client_editor_new): use the right
	signal.  fixes bug #76890

2002-05-13  jacob berkman  <jacob@ximian.com>

	* *.[ch]: use GConf for autosave, logout prompt, splash screen,
	and listen for tcp settings (fixes #81065)

	* session-properties-capplet.c: don't have a "browse currently
	running apps" button as that's in the third tab

	* Makefile.am:
	* *.desktop.in: rename some things to have (better) namespacing

	* gnome-session.schemas: creamy settings for your desktop, now
	with sysadmin things

2002-05-02  Jacob Berkman  <jacob@ximian.com>

	* Makefile.am (session_properties_SOURCES): add
	session-properties.h

2002-05-01  jacob berkman  <jacob@ximian.com>

	* ice.c (startup_clean_ice): 
	(initialize_ice):
	(clean_ice): don't SEGV on bad authfile entries created when
	X/gnome-session crashes during startup (fixes #72816)

	* manager.c (maybe_write_session): merge code that was in 4 or so
	places into one function, and have it display a dialog saying it
	saved the session in some cases.
	(process_save_request): don't send a SaveCancelled message to the
	client, as they weren't sent a SaveYourself command yet and this
	spewed XSMP protocol error messages!
	(various): add debug spew

	* save-session.c: don't use the bogus gsm "protocol" and just ask
	the SM to save the session.  also fix to be a little less lame,
	using some neat libICE hacks.  also don't pop a dialog saying the
	session was saved as g-s does that for us now.

	this should fix #75850

	* Makefile.am: don't link in gsm-protocol.[ch] anymore

	* logout.c (iris_callback): merge patch from RHL from owen (fixes
	#8547)
	(maybe_display_gui): add some debug spew
	
2002-04-29  jacob berkman  <jacob@ximian.com>

	* Makefile.am:
	* util.[ch]: the msm cut-n-paste frenzy begins.  add a log
	function only triggered when GSM_VERBOSE_DEBUG is set in the
	environment

	* *.c: spew stuff at various times

2002-04-29  Seth Nickell  <snickell@stanford.edu>

	* Makefile.am:
	* session-properties-capplet.c: (capplet_build), (apply),
	(spc_write_state):
	* session-properties.c: (session_properties_create_page),
	(session_properties_apply), (dirty_cb):
	* session-properties.desktop.in:
	* session.desktop.in:

	Merge the two session-related capplets together in the spirit
	of the new minimalistic control center. Make current session
	a tab in the old session-properties-capplet.
	
2002-04-24  Tom Tromey <tromey@redhat.com>

	* main.c: don't allow to start 2 instances of gnome-session. Fixes
	#77147.

2002-04-23  jacob berkman  <jacob@ximian.com>

	* logout.c (display_gui): fix a typo that's been there since '99
	and remove a hack that's not needed any more

	fixes #77517

2002-04-18  jacob berkman  <jacob@ximian.com>

	* session-properties.c (create_table): add atk descriptions

	* gsm-client-editor.c (gsm_client_editor_new): add atk
	descriptions and fix mnemonic labels

	fixes #79051

	* Makefile.am (session_properties_capplet_SOURCES): remove session
	list stuff as it's not used

	* session-properties-capplet.c: remove unused headers

	* gsm-atk.[ch] (gsm_atk_set_name): 
	(gsm_atk_set_description): atk sugar

2002-04-18  Mark McLoughlin  <mark@skynet.ie>

	* splash.c: updated the icon table to be a little less crufty.

2002-04-17  Mark McLoughlin  <mark@skynet.ie>

	Based on a patch by Dennis M. Cranston <dennis_cranston@yahoo.com>
	which was based on a patch by Murray Cumming <murrayc@usa.net>.

	* logout.c: (register_logout_stock_item): impl method to
	register a logout stock item.
	(display_gui): Changed Logout dialog's [No] [Yes]
	buttons to [Cancel] [Logout].

2002-04-15  Mark McLoughlin  <mark@skynet.ie>

	* save.c: (read_session): revert my previous fix.
	--choose-sesion is supposed to create a new session using
	the system default session.

2002-04-12  Mark McLoughlin  <mark@skynet.ie>

	* save.c: (read_session): if loading a named session
	failed try loading the user's Default session before
	trying the system Default. (78042)

2002-04-12  Mark McLoughlin  <mark@skynet.ie>

	* splash.c: (start_splash): fix font description.
	Patch from Changwoo Ryu <78001>.

Tue Apr  9 15:03:32 2002  Jonathan Blandford  <jrb@gnome.org>

	* default.in (num_clients): use new name for the
	gnome-settings-daemon

2002-04-04  jacob berkman  <jacob@ximian.com>

	* gsm-client-row.[ch]: 
	* gsm-client-list.[ch]:
	* session-properties.c: port from CList to TreeView

2002-04-01  Mark McLoughlin  <mark@skynet.ie>

	* session-names.c, startup-programs.c: don't include
	capplet-widget.h.

2002-03-31  Lauris Kaplinski  <lauris@ximian.com>

	* startup-programs.c (startup_list_update_gui): Port to GtkTreeModel
	(is_blank): Made argument const to kill warning
	(startup_list_add_dialog): No need for clist argument at all
	(startup_list_edit_dialog): Remove GtkCList dependency
	(startup_list_delete): Ditto

	* session-names.c (session_list_update_gui): Port to GtkTreeModel
	(session_list_add_dialog): We do not need clist argument at all
	(session_list_delete): Remove GtkCList dependency
	(session_list_edit_dialog): Ditto

	* session-properties-capplet.h: Changed GUI method signatures to fit
	with GtkTreeView architecture

	* session-properties-capplet.c: Ported it to GtkTreeView, removed
	old libcapplet dependencies, ported to new session core. As almost all
	methods changed it does not make sense to list these here one-by-one

	* Makefile.am: Re-enabled session-properties-capplet

2002-03-29  Mark McLoughlin  <mark@skynet.ie>

	* gsm-client-list.c: (gsm_client_list_remove_selection): don't
	crash if we haven't selected anything. (76888)

2002-03-28  Mark McLoughlin  <mark@skynet.ie>

	* manager.c: (run_command): don't assume errno isn't set
	on success. (52781)

2002-03-27  Frederic Crozat  <fcrozat@mandrakesoft.com>

        * default.in: prevent nautilus to open a new window at
          startup.

2002-03-22  Mark McLoughlin  <mark@skynet.ie>

	* logout.c: (display_gui): don't destroy the dialog before
	checking the toggle buttons ...

2002-03-21  Mark McLoughlin  <mark@skynet.ie>

	* logout.c:
	(force_pango_cache_init): copy hack from metacity to force
	pango to do its grab before ours - thanks Owen/Havoc.
	(display_gui): port the logout dialog to GtkDialog.

2002-03-20  jacob berkman  <jacob@ximian.com>

	* Makefile.am (built_sources): fix up built sources rules

2002-03-20  Mark McLoughlin  <mark@skynet.ie>

	* Makefile.am: build enum GTypes using glib-mkenums
	for GsmStyle and GsmState.

	* gsm-protocol.c: (gsm_client_class_init): use these
	when declaring the signal handlers.

2002-03-20  Mark McLoughlin  <mark@skynet.ie>

	* gsm-client-list.c: (gsm_client_list_live_session),
	(gsm_client_list_saved_session) (register_change),
	(gsm_client_list_discard_changes): GsmSession is not a GtkObject
	(gsm_client_list_add_program), (gsm_client_list_remove_selection),
	(changed_cb): upd for ClientRow changes.

	* gsm-client-row.h: port to GObject

	* gsm-client-row.c: (gsm_client_row_finalize): impl.
	(gsm_client_row_class_init): kill parent_class stuff.
	(gsm_client_row_instance_init): impl.
	(gsm_client_row_get_type): port to GType
	(gsm_client_row_new): upd.

	* gsm-protocol.c: (gsm_client_class_init): kill signal decl.

	* session-properties.c: (last_session), (saved_sessions),
	(create_dialog): update for GsmProtocol port to GObject

2002-03-19  Mark McLoughlin  <mark@skynet.ie>

	* Makefile.am: install session properties capplet .desktops in
	share/control-center-2.0 not share/control-center-2. Thanks Arvind.

2002-03-19  Mark McLoughlin  <mark@skynet.ie>

	* Makefile.am: add disable deprecated and standard properties cflags.

	* command.c: (command): kill old __gsm__ config code.

	* gsm-client-list.h: include gsm-protocol.h and make the session member
	of GsmClientList a GsmSession.

	* gsm-protocol.[ch]: port from GtkObject to GObject, gnome dialogs to
	gtk dialogs etc.

	* headers.h: kill old config defines.

	* ice.c: port Ice connection source from deprecated calls.

	* main.c: include string.h to kill warnings.

	* save-session.c: use gtk dialogs.

	* session-properties.c: use GsmProtocol instead of GtkObject.

	* splash.c, gsm-client-list.c: various more braindead porting.

2002-03-17  Kjartan Maraas  <kmaraas@gnome.org>

	* Makefile.am: Remove bogus define of sysdir.
	
2002-03-12  Glynn Foster  <glynn.foster@sun.com>

	* default.in: Update to reflect new exe name.
	s/gnome-panel-2/gnome-panel.

2002-02-26  Mark McLoughlin  <mark@skynet.ie>

	* Makefile.am: add WARN_CFLAGS.

	* gnome-login-check.c: include netdb.h.
	(check_for_dns): kill unused variables.

	* gsm-client-editor.c: (change): kill unused var.

	* gsm-client-list.[ch]:
	(gsm_client_list_new): kill unused var/code.
	(gsm_client_list_add_program): make command arg const.

	* gsm-protocol.[ch]:
	(gsm_sh_quotes_balance), (gsm_sh_to_prop): make char* args
	const char*.

2002-2-21  Jonathan Blandford  <jrb@redhat.com>

	* default.in: confusingly enough, it's gnome2-settings-daemon,
	but gnome-wm and gnome-panel-2.

2002-02-17  Seth Nickell  <snickell@stanford.edu>

	* Makefile.am:
	* session-properties.desktop.in:
	* session.desktop.in:

	Only put in advanced settings (really, I want these to
	go away completely...)
	
2002-02-17  Kjartan Maraas  <kmaraas@gnome.org>

	* splash.c: Remove deprecated calls to deprecated functions
	gtk_widget_push|pop_visual().
	
2002-02-13  jacob berkman  <jacob@ximian.com>

	* default.in: add nautilus, and fixup a couple typos

2002-02-13  Mark McLoughlin  <mark@skynet.ie>

	* Makefile.am: build fix.

Tue Feb 12 01:41:02 2002  Jonathan Blandford  <jrb@redhat.com>

	* default.in (num_clients): add gnome-settings-daemon so we
	actually get settings.

2002-02-11  jacob berkman  <jacob@ximian.com>

	* Makefile.am: fix distcheck fix

2002-02-11  Mark McLoughlin  <mark@skynet.ie>

	* Makefile.am: distcheck fix.

2002-02-11  Mark McLoughlin  <mark@skynet.ie>

	* gnome-login-check.c: (check_for_dns): drastically simplify
	and remove dependancy on dns-helper which we don't ship
	anymore. Probably not as robust though.

2002-02-10  Gediminas Paulauskas <menesis@delfi.lt>

	* Makefile.am: use intltool for .desktop files.
	* *.desktop.in: add files without translations.
	* *.desktop: removed, they are generated.

2002-02-10  Gediminas Paulauskas <menesis@delfi.lt>

	* logout.c: put dialog buttons in "right" order ;)

2002-02-04  jacob berkman  <jacob@ximian.com>

	* Makefile.am (gsm-protocol.c): this file really does depend on
	gsm-marshal.[ch]

2002-01-31  Kjartan Maraas  <kmaraas@gnome.org>

	* gsm-client-list.c: Merge fix for crash on double delete
	from Glynn from stable.
	
2001-12-30  Glynn Foster  <glynn.foster@sun.com>

	* default.in: Added gnome-panel-2 because it doesn't crash
	all that often now.

2001-12-24  Seth Nickell  <snickell@stanford.edu>

	* save-session.desktop:

	Tweak icon filename to make it work, move into
	Utilities (not really a setting, neh?)

2001-12-19  Seth Nickell  <snickell@stanford.edu>

	* Makefile.am:

	Er, and get the third .desktop file :-)

2001-12-19  Seth Nickell  <snickell@stanford.edu>

	* Makefile.am:

	Install .desktop settings files into 
	$datadir/control-center/capplets

2001-12-08  Richard Hestilow  <hestilow@ximian.com>

	* gnome-wm: Communicate current wm to wm-properties capplet
	via gconf, not gnome_config.

	* gnome-wm.1: Note move away from GConf.

2001-12-06  Glynn Foster  <glynn.foster@sun.com>

	* splash.c: Fix up the arguments to the canvas-text-item to use
	a PangoFontDesc instead. Dunno if this actually works, I'm too
	afraid to run gnome-session-2 on my machine. Thanks to Miles for
	spotting this out.

2001-12-06  Malcolm Tredinnick <malcolm@commsecure.com.au>
	* main.c: call gnome_program_init() before the ICE stuff so that
	  things get initialized in the right order. This kills a few
	  warnings.

2001-12-03  Malcolm Tredinnick <malcolm@commsecure.com.au>
	* gnome-wm: config stuff (default.wm) goes in $HOME/.gnome2 now
	  (but it's a variable at the top, so it is easy to change back
	  later).

2001-12-01  Havoc Pennington  <hp@pobox.com>

	* gnome-wm: prefer Metacity to Enlightenment - take that!

2001-11-29  Mark McLoughlin  <mark@skynet.ie>

	* Makefile.am: comment out capplet SOURCES.

2001-11-28  Mark McLoughlin  <mark@skynet.ie>

	* gsm-protocol.c: (gsm_protocol_new), (dispatch_event): use
	  g_idle_add instead of gtk_idle_add and save a few
	  stackframes.

2001-11-27  Seth Nickell  <snickell@stanford.edu>

	* Makefile.am:

	install .desktop files to datadir/applications
	
	* save-session.desktop:
	* session-properties.desktop:
	* session.desktop:

	Add Categories field.
	
Tue Nov 27 17:21:46 2001  Owen Taylor  <otaylor@redhat.com>

	* gsm-client-editor.c (change): Fix error in retrieving
	activate child by using gtk_option_menu_get_history().

	* gsm-client-row.c (create_stock_menu_pixmaps): Do this
	in a _bit_ more sane way that actually warks.

2001-11-26  Mark McLoughlin  <mark@skynet.ie>

	* Makefile.am: remove gsm-protocol.c rule.

	* main.c: (set_lang): warning fix.

Mon, 19 Nov 2001 01:25:40 -0500 Frank Belew <frb@ximian.com>

	* Makefile.am: added gsm-marshal.list to EXTRA_DIST
	* gnome-login-check.c, main.c, save-session.c,
	  session-properties-capplet.c, session-properties.c:
	  replaced PACKAGE with GETTEXT_PACKAGE on all
          calls to bindtextdomain and textdomain

2001-11-12  Frank Belew <frb@ximian.com>
	
	* Makefile.am: comment out SUBDIRS entirely, or Makefiles break

2001-11-03  Glynn Foster <glynn.foster@sun.com> 

	* main.c: Align with the gnome_client_get_destop_id in libgnomeui
	for the global session ID. GNOME_DESKTOP_SESSION_ID. 

2001-10-31 Stephen Browne <stephen.browne@sun.com>

	* splash.c: removed hint() and calls to it.

2001-09-21  jacob berkman  <jacob@ximian.com>

	* splash-test.c: small program to debug the splash screen

2001-09-20  jacob berkman  <jacob@ximian.com>

	* gsm-client-list.c (gsm_client_list_new): #if 0 out some code
	which doesn't seem to affect anything and uses style->font

	* Makefile.am (LDADD): link against -lwrap when we are supposed to

2001-09-12  jacob berkman  <jacob@ximian.com>

	* session-properties-capplet.c (main):
	* main.c (main):
	* save-session.c (main): re-enable window icon code

	* ice.c (accept_connection): do a better fix for the deadlock

	* Makefile.am: cleanup a bit

	* splash.c: pass an extra NULL to gdk_pixbuf_new_from_file()

	* session-properties-capplet.c (main):
	* main.c (main):
	* save-session.c (main): comment out window icon code until it
	gets back in

	* main.c (main): remove gnomelib_init() call; it was just a
	workaround for a bug in gnome-libs 1.x

	* logout.c (display_gui): temporarily comment out help code

	* ice.c (accept_connection): wrap the gtk_main_iteration() call
	with gdk_threads_enter()/_leave() so we don't lock up

	* gsm-client-row.c (create_stock_menu_pixmaps): this is broken,
	but it compiles now

	* gsm-client-list.c (gsm_client_list_new):
	(gsm_client_list_class_init): 
	* gsm-client-editor.c (gsm_client_editor_class_init): fixup for
	gtk 2

2001-08-28  Glynn Foster <glynn.foster@sun.com>
	* headers.h, session-properties-capplet.h: Added patch from 
	Havoc Pennington <hp@redhat.com> to turn off session autosaving
	by default.

2001-08-28  Kjartan Maraas  <kmaraas@gnome.org>

	* session-properties-capplet.c: Change help() to show_help()
	and make it use gnome_help_display() so it is shown in the default
	help-system.
	
2001-08-20  Jarkko Ranta <jjranta@cc.joensuu.fi>

	* *.desktop: Updated Finnish translation by Pauli Virtanen

Tue Aug 14 14:31:17 2001  George Lebl <jirka@5z.com>

	* logout.c: apply a patch from Nalin Dahyabhai <nalin@redhat.com>
	  to make this work with some newer way redhat will be doing things

2001-08-20  Jarkko Ranta <jjranta@cc.joensuu.fi>

	* *.desktop: Updated Finnish strings by Pauli Virtanen

Tue Aug 14 14:31:17 2001  George Lebl <jirka@5z.com>

	* logout.c: apply a patch from Nalin Dahyabhai <nalin@redhat.com>
	  to make this work with some newer way redhat will be doing things

2001-08-03  Abel Cheung  <maddog@linux.org.hk>

	* *.desktop : Reviewed/Modified/Added traditional Chinese strings.

2001-08-03  Kjartan Maraas  <kmaraas@gnome.org>

	* *.desktop: Added nynorsk.
	
2001-07-12  Havoc Pennington  <hp@redhat.com>

	* logout.c (display_gui): s/Halt/Shut Down/

2001-06-19  Glynn Foster <glynn.foster@sun.COM>

	* gsm-client-list.c: (gsm_client_list_new):
	Changes from David KAELBLING <drk@sgi.com> to fix
	the build on IRIX [by way of Kjartan].

2001-04-18  Glynn Foster <glynn.foster@sun.COM>
	
	* save.c: Repeat what Richard did for main.c :)

2001-06-18  Richard Hult  <rhult@codefactory.se>

	* main.c: Add trailing NULL in g_strconcat call.

2001-06-15  Glynn Foster <glynn.foster@sun.com>

	* main.c: (set_lang), (main)
	  save.c: (set_session_name)
	Fixed some sort of env var inconsistancy now uses g_
	equivalent. Started the first stage of multi-session
	panel implementation. We now have GNOME_SESSION_NAME
	env var for any app to use if need be.

2001-06-11  Glynn Foster  <glynn.foster@sun.com>

	Removed some C duplicate variables - bug # 54780 from
	Dan McNichol. Just removed the extern ref's to the 
	ICE stuff from headers.h. Also renamed static variable
	in session-properties-capplet.c just to be pedantic :)

2001-06-11  Glynn Foster  <glynn.foster@sun.com>

	Right I've had enough of this stinking 'warner' thing
	so I've removed about 99% of the references in it. Also
	cleaned up the default.session to remove the Warner and
	Chooser sessions - they are totally pointless now. This 
	also [quite by accident I assure you :)] fixes a bug
	#54843]  
	Removed stuff from the following -
	* command.c: (command)
	* default.in
	* headers.h
	* manager.c: (no_response_warning), (new_client)
	* session-properties-capplet.c: (main)
	* session-properties.c: (main)

2001-06-05  Christian Rose  <menthos@menthos.com>

	* session-properties.desktop: Added Swedish translation.
	* session.desktop: Modified Swedish translation.

Thu May 31 00:43:59 2001  George Lebl <jirka@5z.com>

	* splash.c: make dark half transparent rectangle behind the text as
	  the shadow, this makes the text completely readable even with a
	  light splashscreen.c (like we have now)

2001-05-30  Glynn Foster  <glynn.foster@sun.com>

	* headers.h: Added FAILSAFE_SESSION #def - mostly useless
	* main.c: (main): Removed setting of CurrentSession - the 
	  hack that was put in for gdm which killed the concept of 
	  multiple concurrent sessions. If in failsafe mode, make 
	  sure we just load Default from default.session only...even
	  if the session is called Failsafe for now - in theory we
	  should have a Failsafe session in default.session but for
	  the moment Default will do.
	* save.c: (read_session): Make sure we load Failsafe [ie.
	  Default] from default.session only...

	* gsm/*.[ch] - Man, this stuff is confusing...

2001-05-27  Stanislav Brabec  <utx@penguin.cz>

	* save-session.desktop, session-properties.desktop: Added
	comment; these desktops are used also in apps directory, so
	they should have comment (if item is dragged to panel, it's
	only text description).

2001-05-23  jacob berkman  <jacob@ximian.com>

	* splash.c: make nautilus use desktop icon

Thu May 10 19:06:12 2001  George Lebl <jirka@5z.com>

	* logout.c: include ice.h

	* manager.c, save.c, prop.c: In trying to procrastinate from doing
	  homework I sanitized the property code a little bit and fixed
	  a corner case minor leak.  Basically now the functions for
	  getting properties 1) have some preconditions 2) always set
	  the pointers when returning through an argument list (to NULL or 0)
	  to avoid possible uses of some uninitialized memory.  Also
	  fixed one 64bitness issue by casting pid_t to long in printf

2001-05-11  Glynn Foster <glynn.foster@sun.com>
	* command.c ice.c logout.c manager.c manager.h save.c: Apply patch
	  from Alan Cox. If this works [ie. fixes the enormous amount of 
          bugs against gsm] he will have saved the day once more, if it 
	  doesn't it probably will have done more good than harm. We can 
	  now freeze and thaw ICE while doing some gtk iterations so 
	  hopefully ICE won't stomp on other things.....
	  [Apparently].

2001-05-01  Glynn Foster <glynn.foster@sun.com>
	* session-names.c: Removed an unused variable that might just
          have caused an ugly segv

Wed May 02 16:38:01 2001  George Lebl <jirka@5z.com>

	* splash.c, Makefile.am, gnome-splash-1.4.0.png: Add code to pick a
	  splash screen according to the version with the old
	  gnome-splash.png as a fallback.  So this new 1.4 splashscreen will
	  only show up in 1.4.0.x releases.  Just in case we forget to change
	  it.  Also add a black shadow to the text on the splashscreen to make
	  it nicer.

2001-05-01  Glynn Foster <glynn.foster@sun.com>
	* save.c: Get rid of stupid warning 

Sun Apr 29 23:46:44 2001  George Lebl <jirka@5z.com>

	* main.c: when GDM_GNOME_SESSION is set, use that session.  Command
	  line still overrides it however

2001-04-30  Glynn Foster <glynn.foster@sun.com>
	* main.c: If using the --choose-session=ARG bit, then
	  immediately set the value of the CurrentSession. This
	  is mainly an untested fix for gdm

2001-04-26  Glynn Foster  <glynn.foster@sun.com>

	* default.in: So now we have [Classic] and [Default].
	  Classic will be gmc and Default will be Nautilus.
          Okay there's also [Nautilus] for some monkeys which 
          will be removed later.

2001-03-23  Glynn Foster <glynn.foster@sun.com>
	* logout.c: Get rid of gsm-protocol calls since they are not 
	  needed.

Wed Mar 14 12:39:26 2001  George Lebl <jirka@5z.com>

	* logout.c:  call poweroff and reboot instead of shutdown, that works
	  on old and new redhats alike

Mon Mar 12 14:44:19 2001  George Lebl <jirka@5z.com>

	* splash.c: Make it possible to make the done string translated, by
	  translating the entire line for the "done", and making it a special
	  case.

Sat Mar 10 19:13:50 2001  George Lebl <jirka@5z.com>

	* logout.c: freeing strings from under gettext is generally
	  considered bad :)

2001-03-07  Glynn Foster  <glynn.foster@sun.com>

	The following contains some gruesome hacks to not get gnome-session
        saving all the time. Actually it does carry out the save
        proccess but only writes to the session file when it should. It
        seems that this is the quickest hack to get things working 
        correctly.

	* command.c: (command): Add command for new GsmSessionSaveMode
	* gsm-protocol.c: (gsm_protocol_set_sessionsave_mode): Added 
        new function to set up the session save. 
	* gsm-protocol.h: Added function header
	* headers.h: Added extern gboolean session_save
	* logout.c: (display_gui): toggle_button was being reverse 
        engineered? [remove !]
	* main.c: Added gboolean session_save
	* manager.c: (save_yourself_request), (update_save_state),
	(new_client): So we save all the time - but do we write all
        the time?
	* save-session.c: (main): Now sets the value of session_save
        at the start of the save to TRUE and sets it back to false at
        the end of the save. This is just a klunky way of making sure 
        that the session gets saved.
	* save.c: (set_sessionsave_mode): Added new function. Sets the 
        session_save variable
	* save.h: Added function header
	* session.h: Added GsmSessionSaveMode hash-define.

2001-02-26  Glynn Foster  <glynn.foster@sun.com>

	* command.c: (command): Make sure that call with 
	  GsmAutoSaveMode is doing the right thing
	* save.c: (set_autosave_mode): Added function to set
          autosave variable [somehow got removed previously]
	* save.h: function definition
	* session-properties-capplet.c: (write_state): Don't
          use gnome_config to set autosave since it is set by
          the protocol.

Sat Feb 17 21:04:19 2001  George Lebl <jirka@5z.com>

	* logout.c:  instead of simply checking for existance of
	  /usr/bin/shutdown, check for it being executable for the
	  current user.

2001-02-15  jacob berkman  <jacob@ximian.com>

	* save.c (read_session): still look in user dir if session is
	`Default'

2001-02-15  Jacob "Ulysses" Berkman  <jacob@helixcode.com>

	* default.in: add a `Nautilus' session.  In beta 2, `Classic' will
	run gmc, `Default' will run nautilus.
	
2001-02-14  jacob berkman  <jacob@ximian.com>

	* save.c (read_session): if we are choosing a session, also look
	in the default file for it.

	* session-properties-capplet.c (capplet_build): default to the
	default session

2001-02-14 Glynn Foster <glynn.foster@ireland.sun.com>
	
	* session-properties-capplet.c/session-names.c: Was freeing 
          something I shouldn't, so 'try' and 'revert' *should* work 
	  like you think they should work, only different :)
	* session-properties-capplet.h: Added mindless whitespace hacking
	* command.c: Added mindless comment

2001-02-14  Christophe Merlet  <redfox@eikonex.org>

	* session-properties.c: Marqued string for translation.

Tue Feb 13 23:41:58 2001  George Lebl <jirka@5z.com>

	* splash.c: use the windowmanager icon for sawfish, not sawfish.png,
	  until there is a nice sawfish icon

Tue Feb 13 21:57:18 2001  George Lebl <jirka@5z.com>

	* session-properties-capplet.c:  Save splash setting under the correct
	  key

	* splash.c: splash bugfixing galore.  Add nautilus to list of
	  programs we know.  Fix possible crashes related to bad timeout
	  removal.  Don't run icon_cb if not needed.  Fix possible races
	  on destruction.  Make sure the scalefactor is in a reasonable level
	  so we don't crash on rediculous splash screen images.  Rescale
	  icons when they go out of bounds.  Use "fontset" and not "font"
	  for text, and mark fontname for translation.  Should fix any
	  remaining "splash screen segfaults" bugs on bugzilla.

Fri Feb 9 2001 Glynn Foster <glynn.foster@sun.com>
	* save.c (set_session_name): Set the current session
	* gsm-protocol.c (gsm_protocol_set_session_name): Check *name
	  for non-NULL
	* session-properties-capplet.c (write_state): Remove config
	  code to set CurrentSession in ~/.gnome/session-options since
	  code in set_session_name (above) does this

Thurs Feb 8 2001 Glynn Foster <glynn.foster@sun.com>
	* session-properties-capplet.c (capplet_build): Just fixed up a 
	  few Gtk-CRITICAL Warnings for the capplet code.

2001-01-28  John Harper  <jsh@eazel.com>

	* manager.c (interact_done): if the shutdown is cancelled, send
	SmsShutdownCancelled message to clients in the
	save_finished_list as well as those in the save_yourself_list
	and the save_yourself_p2_list (otherwise these clients will
	hang waiting for this or SaveComplete)

Mon Feb 5 2001 Glynn Foster <glynn.foster@sun.com>
	
	* Some gsm loving - just a quick cleanup, added headers 
		* headers.h, logout.h, save.h, ice.h, prop.h
 		  remote.h, command.h	
          Created single global variable gchar *session_name to 
          point to the current session, which can be changed by
          using gsm-protocol.

	* Implemented basic multi-session support. gnome-session
	  now supports --choose-session=ARG commandline option which
          will override any value for the CurrentSession key. If ARG
          doesn't exist in the session file, or if the value of the 
          CurrentSession doesn't exist in the session file, then 
          gnome-session will use the default but save to the given 
          session name.

	* Moved Current Session indicator to ~/.gnome/session-options
          file, along with new key/value pair AutoSave [which was more
	  intuitive that TrashMode

	* Incoporated capplet code into gnome-core/gsm and implemented
	  multi-session chooser [still buggy - doesn't do the try and
	  revert buttons properly, doesn't change the global session 
          pointer using the gsm_protocol]
		* session-properties-capplet.c, session-properties-capplet.h,
		  session-properties.desktop, startup-programs.c,
		  session-names.c

	* Updated the man page, changed session-properties.desktop file
           


Wed Jan 10 11:08:06 2001  George Lebl <jirka@5z.com>

	Applying the patches from helix rpms, redhat stuff and other
	fixes.

	* Makefile.am: compile with gdkpixmap canvas stuff

	* gnome-login-check.c: warning fix

	* main.c: apply the GDM_LANG patch from redhat stuff

	* splash.c: Use the helix version, but use the normal gnome
	  splash screen.  Fixup warnings, handle all error case, fix
	  a segfault and scale stuff correctly to the size of the
	  splashscreen image so that it works with any size splashscreen
	  image nicely and some i18n fixes

Mon Dec 18 00:10:13 2000  George Lebl <jirka@5z.com>

	* logout.c:  Just before showing the dialog, focus the default widget
	  otherwise Help might actually end up getting the default because
	  it might end up getting the focus.

Wed Dec 13 20:50:16 2000  George Lebl <jirka@5z.com>

	* gnome-login-check.c, ice.c, manager.[ch], prop.c, remote.c, 
	  save.c:  Fixup malloc/g_malloc confusion a bit.  Use glib's
	  mem routines in more places where possible.  Also add a bunch
	  of sanity "null after free" things all around, and use
	  g_snprintf instead of sprintf out of paranoia (none of those
	  actually resulted in real fixes though).  So this is not a high
	  priority fix and doesn't need to go to stable, it just makes it
	  all work with glib's mem checking stuff turned on.

2000-11-15  Jacob "Ulysses" Berkman  <jacob@helixcode.com>

	* gnome-login-check.c (main): change the error message to
	reference the patch which fixes this.

2000-11-09  Karl Eichwalder  <ke@suse.de>

	* gnome-wm: Fix typo.

2000-11-03  Jacob "Ulysses" Berkman  <jacob@helixcode.com>

	* gnome-login-check.c (main): only do the login check on Solaris

Thu Nov 02 01:58:03 2000  George Lebl <jirka@5z.com>

	* manager.c (update_save_state):  When concatenating, copy the
	  list.  Also free the old list since we used a copy to concat.
	  this is because the send_message is mucking around inside the
	  list which really confuses things unless it works on it's own
	  private copy.  This pases with glib compiled with glists really
	  being freed.

2000-10-31  Jacob "Ulysses" Berkman  <jacob@helixcode.com>

	* gnome-login-check.c (main): patch from KUSANO Takayuki
	<AE5T-KSN@asahi-net.or.jp> to fix i18n

2000-10-30  Jacob "Ulysses" Berkman  <jacob@helixcode.com>

	* gnome-libice-check.c (main): seg fault if libICE is broken

	* gnome-login-check.c (main): add a test for broken libICE on solaris

2000-10-15 John Fleck <jfleck@inkstain.net>

	* updated help/C/session.sgml for Nautilus compatibility (patch
	from Greg Leblanc)

Thu Jun 29 02:39:04 2000  Tim Janik  <timj@gtk.org>

	* main.c (main): if the session loaded is empty (probably because
	the session name is a new one), fallback to failsafe and reload,
	so the clients of the default session are present.

Sat May 27 12:33:19 2000  George Lebl <jirka@5z.com>

	* main.c, manager.c, session-properties.c, gsm-protocol.c, ice.c:
          Fix compile warnings

	* logout.c: Dialog running can return -1 as well.  This is fixes
	  a compile warning and bug #12130

2000-05-18  Mark Crichton <crichton@gimp.org>

        * session-properties.c: Made it use a better default visual.
        This is for the proposed changes in gdk_imlib.

2000-05-14  Karl Eichwalder  <ke@suse.de>

	* session.desktop: Improve de.

2000-05-11  Miguel de Icaza  <miguel@helixcode.com>

	* ice.c (initialize_ice): By default, do not listen to TCP
	connections.

Mon May 08 20:18:32 2000  George Lebl <jirka@5z.com>

	* splash.c (destroy_dialog): run gnome-hint with --startup-session

2000-05-06  Jacob Berkman  <jacob@helixcode.com>

	* default.in: move gmc to priority 40 so that it shows up in the
	splash screen

2000-05-05  Jacob Berkman  <jacob@helixcode.com>

	* logout.c (display_gui): open up (the panel's) help
	(display_gui): add a help button

2000-05-03  Michael Meeks  <michael@helixcode.com>

	* command.c (command): s/strcasecmp/g_strcasecmp/

Tue May 02 23:42:25 2000  George Lebl <jirka@5z.com>

	* ice.c: since the code using IceListenForWellKnownConnections is
	  comment it out, comment out the init_well_known_connections
	  function, this will make it at least for now compile on non
	  Linux or IRIX systems.

2000-05-03  Yukihiro Nakai <nakai@gnome.gr.jp>

	* save-session.desktop: Add Japanese translation.

2000-04-28  John Harper  <john@dcs.warwick.ac.uk>

	* gnome-wm: updated for sawmill -> sawfish name change

2000-04-20  Jacob Berkman  <jacob@helixcode.com>

	* session-properties.c (help): May as well make the help button
	actually do something

2000-01-03  Miguel de Icaza  <miguel@gnu.org>

	* gnome-session.1: remove options that are not actually
	implemented (Thank to Owen for reviewing the documentation)

2000-04-15  Karl EICHWALDER  <ke@suse.de>

	* save-session.desktop: Add de, lt, ru and sv -- entries were gone
	with revision 1.14 (fi).

2000-04-14  Fatih Demir	<kabalak@gmx.net>

	* session.desktop & save-session.desktop :
		added [tr] ...

2000-04-12  Karl EICHWALDER  <ke@suse.de>

	* save-session.desktop (Name): Add `de'.
	* session.desktop (Comment): Improve `de'.

2000-04-04  Jacob Berkman  <jacob@helixcode.com>

	* save-session.desktop (Icon): use mc's floppy icon

	* ice.c (initialize_ice): enable TCP for now, since the
	non-TCP is very broken here.

	* save-session.1: document --gui

2000-04-03  Jacob Berkman  <jacob@helixcode.com>

	* ice.c (init_well_known_connections): pass &socket, not socket

2000-04-03  Miguel de Icaza  <miguel@helixcode.com>

	* ice.c (init_well_known_connections): Attempt to allocate a
	number of ports, instead of failing on the first one

2000-01-03  Miguel de Icaza  <miguel@gnu.org>

	* gnome-session.1: remove options that are not actually
	implemented (Thank to Owen for reviewing the documentation)

2000-03-31  Jacob Berkman  <jacob@helixcode.com>

	* ice.c (initialize_ice): 

	* main.c (main): we need to gnomelib_init() before
	initialize_ice() due to the fact that gnome-libs is
	broken, and we need to gnome_config() in initialize_ice()

2000-04-03  Alastair McKinstry <mckinstry@computer.org>

	* gsm.desktop: Add Irish (Gaelic) translation.

2000-03-30  Jacob Berkman  <jacob@helixcode.com>

	* splash.c (hint): remove some more debugging stuff

	* default.in: bell-capplet is no more

2000-02-28  Jacob Berkman  <jacob@helixcode.com>

	* save.c (read_one_client): fix possible seg fault (patch from
	Peter Runestig <peter@runestig.com>)

2000-02-27  Jacob Berkman  <jacob@helixcode.com>

	* splash.c (window_realize): add some better window hints

	* default.in (num_clients): remove gnome-hint from the session

	* splash.c (stop_splash): add a 2 second delay after we get called
	before destroying the dialog.
	(stop_splash): run gnome-hint if splash screen is disabled
	(splash_cleanup): run gnome-hint if splash screen is enabled

2000-02-20  Jacob Berkman  <jacob@helixcode.com>

	* Makefile.am (desktop_DATA): put in the Session directory

2000-02-18  Timur Bakeyev  <timur@gnu.org>

	* gnome-wm: Replace call to 'which' with simple, home-made script.
	Unfortunately, some vendors are broken-mind, and which returns 0 and
	error string on stdout instead of just indication of an error...
	
	* Add qvwm as a bit better WM that fvwm:.

2000-02-13  Jacob Berkman  <jacob@helixcode.com>

	* gsm-protocol.c (dispatch_event): remove some debugging stuff

2000-02-11  Jacob Berkman  <jacob@helixcode.com>

	* splash.c (update_splash): fix tyops

2000-02-10  Matthias Warkus  <mawa@iname.com>

	* session.desktop: Use gnome-session.png.

2000-02-05  Jacob Berkman  <jacob@helixcode.com>

	* save-session.desktop (Exec): pass --gui

	* save-session.c: pop up some spiffy dialogs instead of
	printing to the console if --gui was passed

2000-01-30  Jacob Berkman  <jacob@helixcode.com>

	* session.desktop (Name): undo last change

2000-01-27  Jacob Berkman  <jacob@helixcode.com>

	* Makefile.am (pixmap_DATA): move gnome-splash here

	* splash.c (start_splash): look in pixmaps/splash/ for the splash
	screen

2000-01-24  Jacob Berkman  <jacob@helixcode.com>

	* session-properties.c (sess_select_row): don't connect the signal

2000-01-23  Jacob Berkman  <jacob@helixcode.com>

	* session-properties.c (create_table): don't wait for the 
	initialized signal
	(initialized_cb): disable this code for now
	(main): show the app here

2000-01-11  Anders Carlsson  <andersca@gnu.org>

	* splash.c (start_splash): Changed the splash window to a 
	GTK_WINDOW_POPUP one and put everything in a GtkFrame.

Mon Jan 10 17:26:50 2000  George Lebl <jirka@5z.com>

	* gnome-wm: Take two arguments, --default-wm and --sm-client-id
	  and run a windowmanager with the client id translated into an
	  appropriate option for any given windowmanager.

	* default.in: add the --sm-client-id option and always call gnome-wm
	  script and pass the @WINDOW_MANAGER@ configure variable as the
	  --default-wm

	* gnome-wm.1: update for the two options and the new behaviour and
	  fix a couple spelling errors

2000-01-08  Jacob Berkman  <jacob@helixcode.com>

	* splash.c: remove debuggin' output

2000-01-06  Jacob Berkman  <jacob@helixcode.com>

	* Makefile.am (default_DATA): fix tyop from previous
	commit

Mon Jan 03 22:19:47 2000  George Lebl <jirka@5z.com>

	* splash.c: put the splashscreen into the WIN_LAYER_ABOVEDOCK
	  layer to put it above anything.  Makes it look much better
	  if the splashscreen stays around long enough for the hints
	  to come up.

2000-01-01  Miguel de Icaza  <miguel@gnu.org>

	* save-session.1: New man page.
	
	* gnome-session.1.in: New man page.

	* default.session.5.in: New man page.

	* gnome-wm.1: Added gnome-wm man page

	* gnome-login-check.c (main): Made indentation consistent.

1999-12-29  Jacob Berkman  <jberkman@andrew.cmu.edu>

	* main.c:
	* manager.[ch]: support the splash screen stuff

	* splash.[ch]: splash dialog which indicates progress up
	to level 49

1999-12-10  Jacob Berkman  <jberkman@andrew.cmu.edu>

	* default.in: don't pass -clientId as this really screws
	things up for people using sawmill or wmaker.  We should
	probably find a better way of doing this

1999-11-02  Elliot Lee  <sopwith@redhat.com>

	* *.c: Eliminate miscellaneous warnings found by OSPC, including the bugfix for property name comparison.
	* gnome-login-check.c: Check ownership of /tmp/orbit-username for sanity's sake.

1999-10-25  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* logout.c, manager.c, gnome-login-check.c: Include config.h.
	Otherwise messages are not translated.

1999-10-22  Jacob Berkman  <jberkman@andrew.cmu.edu>

	* gnome-wm: add sawmill to the front of the list,
	since people who have sawmill probably want to use it

1999-10-21  Jacob Berkman  <jberkman@andrew.cmu.edu>

	* manager.h: use a signed int for num_sockets.

1999-10-20  Martin Norbck  <norpan@bigfoot.com>

	* session.desktop: Added Swedish entry

Sat Oct 02 21:29:32 1999  George Lebl  <jirka@5z.com>

	* default.in: add gnome-hint to the default session

1999-09-22  Jonathan Blandford  <jrb@redhat.com>

	* logout.c (refresh_screen): let the logout button get the new
	theme too.

1999-08-17  Jacob Berkman  <jberkman@andrew.cmu.edu>

	* gnome-wm: add twm as a last-chance-best-effort try
	for a window manager

	<Myth> twm is better than nothing at all	

1999-08-01  Tom Tromey  <tromey@cygnus.com>

	* logout.c (display_gui): Call set_trash_mode.
	(save): Removed.

	* logout.c: Reverted previous patch.  It turns out that saves can
	happen at "random" times, so this change would have caused user
	confusion and not much more.

1999-08-01  Jacob Berkman  <jberkman@andrew.cmu.edu>

	* logout.c (display_gui): always display the "save current setup"
	check box, but uncheck it if we are trashing the session

1999-07-31  Tom Tromey  <tromey@cygnus.com>

	* logout.c (display_gui): Added `ask next time' button.

	* manager.c (process_save_request): Cancel a shutdown cancelled by
	user.

1999-07-30  Tom Tromey  <tromey@cygnus.com>

	* gnome-login-check.c (timeout): Removed unused variable.
	(check_for_dns): Now static.

	* manager.h (set_logout_command): Declare.
	(maybe_display_gui): Declare.
	* command.c (set_logout_command): New function.
	(prop_dup): Made `i' signed.
	* manager.c (process_save_request): Query user on interactive
	shutdown.
	(update_save_state): Made `runlevel' unsigned.

	* logout.c: New file (modified from patch by Owen Taylor).

1999-07-30  Owen Taylor  <otaylor@redhat.com>

	* Makefile.am (noinst_PROGRAMS): Removed.
	(bin_PROGRAMS): Include session-properties again.  Added
	gnome-login-check.
	(gnome_login_check_SOURCES): New macro.
	* command.c (logout_command_argc, logout_command_argv): New
	globals.
	(execute_logout): New function.
	* gnome-login-check.c: New file.
	* main.c (options): Removed --trash-saves.
	(main): Set `trashing' based on user option.  Call
	execute_logout.
	* manager.h (MANUAL_CONFIG_PREFIX): New macro.
	(GSM_OPTION_CONFIG_PREFIX): Likewise.
	(TRASH_MODE_KEY, TRASH_MODE_DEFAULT): Likewise.
	(execute_logout): Declare.
	(set_trash_mode): Likewise.
	* save.c (saved_session_name): New global.
	(set_session_name): Set it.
	(set_trash_mode): New function.
	(read_session): Read manual client list from config file.
	* session-properties.c (create_table): Omit "Program" field.

1999-07-16  Tom Tromey  <tromey@cygnus.com>

	Warning cleanups:
	* gsm-protocol.c (gsm_session_destroy): Actually NULL
	live_session.
	(gsm_session_destroy): Removed unused variables.
	(gsm_client_destroy): Likewise.
	(gsm_protocol_destroy): Likewise.
	(dispatch_event): Likewise.
	* gsm-client-row.c (gsm_client_row_add): Removed unused variable.
	(gsm_client_row_remove): Likewise.
	* gsm-client-editor.c (gsm_client_editor_class_init): Removed
	unused variable.
	(gsm_client_editor_new): Likewise.
	* gsm-client-list.c (gsm_client_list_class_init): Removed unused
	variable.
	(gsm_client_list_new): Likewise.
	* session-properties.c (create_table): Removed unused variable.
	(create_buttons): Likewise.
	* remote.c (remote_start): Removed unused variable.
	* save.c (read_session): Removed unused variable.
	* main.c (main): Removed unused variable.
	* ice.c (initialize_ice): Removed unused variable.
	* manager.c (run_command): Removed unused variables.
	(remove_client): Actually traverse linked list.
	(find_client_by_connection): Removed unused function.

Wed Jun 16 09:28:48 1999  Owen Taylor  <otaylor@redhat.com>

	* manager.c (reincarnate_client): Account for the
	fact that a client that has not yet had a handle
	assigned to it may be restarted if it dies during
	initialization. (Fixes problem where control-C'ing
	gmc while it was waiting for the metadata lock
	would kill gnome-session)

	Split some common code off into a separate function. 

1999-07-15  Tom Tromey  <tromey@cygnus.com>

	* ice.c (initialize_ice): Save umask while calling
	IceListenForConnections.  From Roberto Zunino
	<zunino@cli.di.unipi.it>.

	* session.h (DEFAULT_PRIORITY): New macro.
	* save.c (read_one_client): Use DEFAULT_PRIORITY.
	* manager.c (new_client): Use DEFAULT_PRIORITY.
	* gsm-protocol.c (gsm_client_object_init): Use DEFAULT_PRIORITY.
	* command.c (command): Use DEFAULT_PRIORITY.

	* prop.c (free_vector): Only free `argv' if not NULL.

	* ice.c (write_authfile): Don't remove entries from list.  Don't
	free entries.
	(auth_entries): New global.
	(initialize_ice): Set it.

	* manager.h (remote_start, auth_entries): Declare.
	* Makefile.am (gnome_session_SOURCES): Added remote.c.
	* remote.c: New file; modified from X11R6.3 xsm.
	* manager.c (run_command): Correctly determine when `envc' is
	even.  Always call free_vector on environment list.  Remote start
	client if appropriate.

	* session.h (GsmRestartService): New macro.
	* save.c (properties): Added _XC_RestartService entry.

	* auth.h: Removed.
	* auth.c: Removed.

1999-07-05  David Kaelbling <drk@sgi.com>

	* manager.c: time_t is not always a long as it was assumed.  ON
	64-mahcines it might be sometehing else.

1999-05-22  Felix Bellaby  <felix@pooh.u-net.com> 

	* ice.c (initialize_ice): incorporate Martin's change of 1999-05-20
	into initialize_ice so that gsm only locks the authority file once.
	(startup_clean_ice): redundant and removed.
	
1999-05-20  Martin Baulig  <martin@home-of-linux.org>

	* ice.c (startup_clean_ice): New static function. After an unclean
	shutdown clean_ice () may not have been called the last time so there
	may be stale records left in the ICEauthority file which we need to
	remove first.

1999-04-14  Matthias Warkus  <mawa@iname.com>

	* session.desktop: Added [de] translations; methinks this was a
	silly thing since the file looked kinda obsolete...

1999-03-25  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* Makefile.am: Put gnome-wm in EXTRA_DIST.

1999-03-24  Felix Bellaby  <felix@pooh.u-net.com> 

	* manager.c (purge): put all clients that fail to register from
	default.session into the purge_retain_list so they are restarted.
	
1999-03-23  Martin Baulig  <martin@home-of-linux.org>

	* gnome-wm: New file. This is a short shell script that starts
	the WM for us. The user can set a WINDOW_MANAGER environment
	variable in his ~/.xsession to set his prefered WM; otherwise
	it looks which WMs are installed and chooses a good one. To tell
	the wm-properties-capplet which WM we're running, this will be
	writtin into `default_wm/Default/WM'.

	* Makefile.am: Added explicit dependency to create default.session
	and default.wm if config.status has changed.

1999-03-22  Felix Bellaby  <felix@pooh.u-net.com> 

	* manager.c (no_response_warning): remove clients on failure to 
	respond to XSMP commands with user confirmation via separate GUI.
 	(remove_client): add capacity to remove unresponsive clients.
	* session.h, command.c, save.c: add confirmations to warning dialogs.
	* main.c: add warn-delay option.
	* ice.c (accept_connection): accept during shutdown to return error.
	* manager.h: update to match above changes.
	* default.in: new session containing a client which shows warnings.
	* session-properties.c: support a warning only mode.
	* gsm-client-row.c: relocate warning handler code into parent:
	* gsm-protocol.c, gsm-protocol.h: obtain user confirmations.

1999-03-19  Felix Bellaby  <felix@pooh.u-net.com> 

	* main.c (main): extra command line options.
	* save.c (set_session_name): set name to TRASH_SESSION on trash-saves.
	(read_session): ignore CONFIG_PREFIX on failsafe.
	(write_session): do not write the CHOOSER_SESSION.
	* session.h, comand.c(command): minor protocol refinements. 
	* manager.h: add items from session.h that are private to gnome-session
	* default.in: add specification of the chooser command/session.
	* gsm-client-*: signal end of session startup. 
	
1999-03-18  Felix Bellaby  <felix@pooh.u-net.com> 

	* save.c (read_one_client): never use glib to alloc client->id. 
	* manager.c (free_client): use free to free client->id because libSM
	allocs client->id using malloc.
	(remove_client): also remove clients which have yet to be started.
	(purge_client): put GsmAddClient clients into purge_retain_list.
	* ice.c (initialize_ice): do not free value passed to putenv.
	* Makefile.am: change files used in build as follows...
	* gsm-column.*: no longer used.
	* gsm-client-editor.*: alternative means of editing clients.
	* gsm-*: change GUI details and add session chooser stuff.
	* session-properties.c: updated for changs in GUI.

1999-03-17  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>

	* manager.c (free_client): use g_free() to free client->id instead
	of free(). It is a value returned by gnome_config_get_string().

Wed Mar 17 11:48:11 1999  Owen Taylor  <otaylor@redhat.com>

	* Makefile.am (default_DATA): Install default.session
	in $datadir/gnome, where it is being looked for now.
	
1999-03-12 Felix Bellaby  <felix@pooh.u-net.com> 

	* session.h: protocol extension specs.
	* command.c: contains the code implementing the server side of
	the gnome-session protocol extensions.
	* manager.*, save.c.: accomodate protocol extensions.
	* ice.c: remove dependency on iceauth binary.
	* main.c: fix SIGPIPE handling.
	* gsm-client-*, gsm-column.*: the client list widget code.
	* gsm-protocol.*: gtk interface to protocol extensions.
	* session-properties.c: use client list widget.
	* Makefile.am: build the new code.

1999-03-02  Martin Baulig  <martin@home-of-linux.org>

	* default.wm.in: New file. We install this in $(datadir) and
	read it in the wm-properties capplet to get the default WM.

1999-02-25 Michael Fulbright <drmike@redhat.com>

	* Makefile.am: moved to Settings group

1999-02-16 Felix Bellaby  <felix@pooh.u-net.com>

	* manager.c (start_client): drop non-session aware clients from memory.
	* save.c (delete_session): read non-session aware clients from config. 
	(write_session): write non-session aware clients back into config.
	(set_session_name): record name of current session in config.
	(read_session): use name of last session run as first fallback.
	* manager.h: move DEFAULT_SESSION to session.h
	* session.h: add the additional info needed by session-properties.
	These changes allow the session-properties capplet to control which
	non-session aware clients are in the session by editing the config.
	* session-properties.c: fixed but rendered obsolete by capplet.
	
1999-02-14  Owen Taylor  <otaylor@redhat.com>

	* manager.c (close_connection): Removed C++ comment.

1999-02-14 Felix Bellaby  <felix@pooh.u-net.com>

	* manager.c (io_error_handler): NEVER close connections outside
	gnome-ice.c because the ICElibs sometimes go haywire if you close 
	a connection inside the IceProcessMessages call!
	(kill_client_connection): redundant and removed.
	
1999-02-14 Felix Bellaby  <felix@pooh.u-net.com>

	* manager.c (io_error_handler): do not close connections which
	have no matching clients as gnome-ice.c does this for us.
	
1999-02-12 Felix Bellaby  <felix@pooh.u-net.com>

	* save.c (write_session): write details of clients in the purged_list.
	(delete_session): do not call discard commands on purged_list clients.
	(read_one_client): reallocate g_malloc'd strings as malloc'd strings
 	to avoid potential seg faults when they are free'd.
	* manager.c (update_save_state): clear the purged_list on shutdown so
	that any remaining purged clients are discarded.

1999-02-11 Felix Bellaby  <felix@pooh.u-net.com>
	* save.c: Replace "Priority with "_GSM_Priority" throughout.
	(write_session): write details of clients in the pending_list.
	* manager.c (close_connection): use start_client on respawned clients
 	so that they are purged when they fail to connect.

1999-02-10 Felix Bellaby  <felix@pooh.u-net.com>

	* save.c (delete_session): do not call discard commands on clients
	in the pending_list.
	* manager.c: export pending_list to save.c

1999-02-09 Felix Bellaby  <felix@pooh.u-net.com>

	* manager.c (close_connection): restart RestartImmediately clients
	unless they have failed 10 times in last 2 minutes.
	* save.c (delete_session): use free_client to free ALL client memory.
	* manager.h: export free_client and expand Client struct.
	
1999-02-06  Changwoo Ryu  <cwryu@adam.kaist.ac.kr>

	* gsm.desktop: Updated Korean translation.

1999-01-28 Felix Bellaby  <felix@pooh.u-net.com>

	* default.in: added esd to start up.
	
1999-01-22 Felix Bellaby  <felix@pooh.u-net.com>

	* manager.h, manager.c (load_session) : queue session starts.
	(process_load_request): initialise load bas on priority ordering.
	(purge): clear slow clients from list of awaited registrations.
	(start_client) support non-session aware clients as well.
	(register_client): maximise retention of previous client ids.
	(update_save_state): startup clients in run level order.
	* save.c (unlock_session, set_session_name) skeleton for name locking.
	* main.c (main): new option to set purge-delay during start up.
	* default.in (accept_connection): new format including runlevels.
	* ice.c (accept_connection): do not close connection on an error
	as the gtk_main_loop does this now inside gnome-ice.c.
	* save-session.c (main): wait until request is acknowledged before
	dying because gnome-session no longer honours requests from zombies.
	
1999-01-21  Carsten Schaar  <nhadcasc@fs-maphy.uni-hannover.de>

	* ice.c (initialize_ice): Removed the 'free' call to the argument
 	of 'putenv', because this breaks the setting of the environment
 	variable at least on my libc5 system.

Tue Jan 19 Felix Bellaby  <felix@pooh.u-net.com>

	* manager.c (kill_client_connection): close protocol cleanly.
	(run_command): run a command for a live client.
	(start_client): convenience function.
	(register_client): carry forward properties on restarted clients
	and send SaveYourselfs to new ones to get their properties.
	(interact_request): allow multiple requests per client and dispatch
	them in order, separating requests for each client.
	(interact_done): wait for SaveDones following a ShutdownCancel to
	avoid confusing one session save with another.
	(process_save_request): process a queued save request.
	(update_save_state): less cryptic replacement for check_session_end
	which does not close connections (as this often kills clients).
	(display_reasons): warning dialog.
	(close_connection): handle RestartImmediately & close cleanly.
	(new_client): refuse connections during shutdown with reason.
	(io_error_handler): display warning.

	* save.c (properties): save SmRestartStyleHint and SmProgram.
	(read_client): translates config file to SmProperties.
	(read_clients): recover full client details from config section.
	(read_session): clone merged session if one is already running
	(delete_session): pulled all the discard code together.

Tue Jan 12 Felix Bellaby  <felix@pooh.u-net.com>

	* manager.c (send_message): Fixed bug patched over by Jay.

Mon Dec 21 Jay Painter <jpaint@serv.net>

	* manager.c (send_message): I don't know what it was suppose to do,
	but now at least it sends messages correctly.  Felix needs to
	look at this.

Mon Dec 14 

	* manager.c (save_yourself_p2_request): only accept one such request
	per client and check if ready to send the Save Yourself P2 messages.
	
Fri Dec 11 Felix Bellaby  <felix@pooh.u-net.com>

	* manager.c (send_message): protect against io errors.
	* manager.c (save_session): protect against io errors.
	* manager.c (check_session_end): protect against io errors.
	* manager.c (interact_done): cancel shutdown when a shutdown cancel
	is sent. Ignore cancels when not shutting down.
	* manager.c (save_yourself_done): do nothing if a shutdown cancelled
	has already been sent.
	
Thu Dec 10 Felix Bellaby  <felix@pooh.u-net.com>

	* save.c (run_commands): fix broken logic on last change.
	
Thu Dec 10 Felix Bellaby  <felix@pooh.u-net.com>

	* save.c (run_commands): fix some memory leaks.
	* save.c (run_string_commands): alternate version of above for
	backwards compatibility with xsm string format discard commands.
	* save.c (delete_session): run string format discard commands.
	* save.c (write_one_client): added support for saving string 
	format discard commands.
	
Tue Dec 7 Felix Bellaby  <felix@pooh.u-net.com>

	* save.c (run_commands): call discard commands on clients that are
	still in the session IF they have changed their discard commands.
	[ partial reversion of change on Nov 28 ] 
	* manager.c (check_session_end): write all running SmRestartIfRunning 
	clients even when the Save Yourself only covered a single client.
	
Sat Dec 5 Felix Bellaby  <felix@pooh.u-net.com>

	* manager.c (save_yourself_request): fix g_assert.
	
1998-11-29  Herbert Valerio Riedel  <hvr@hvrlab.ml.org>

	* session-properties.c (program_remove_cb): added one GPOINTER_TO_INT

	* manager.[ch] (find_client_by_id): added const to arguments

	* prop.c: added #include <string.h> for memcpy-prototype 

Sat Nov 28 Felix Bellaby  <felix@pooh.u-net.com>

	* prop.c (find_string_property): fixed problem that created need
	for "static" patch reverted on Nov 25.
	* save.c (delete_session): do not call discard command on clients 
	that are still in the session.
	* save.c (run_commands): do not call commands on clients in
 	either of two lists.
	* manager.h, manager.c (find_client_by_id): now exported. 

1998-11-27  Jay Painter <jpaint@serv.net>

	* session-properties.c: big UI cleanup in preperation for
	moving it into the Gnome Control Center.

1998-11-25  Tom Tromey  <tromey@cygnus.com>

	* save.c (write_one_client): Reverted `static' change of Nov 11.

1998-11-24  Martin Baulig  <martin@home-of-linux.org>

	* session-properties.c (setup): Put the GtkCList into a
	GtkScrolledWindow and use gtk_scrolled_window_set_policy ()
	if using Gtk 1.1.4.

	* session-properties.c (setup): Set the GtkCList in multiple
	selection mode to fix this fixme.

Wed Nov 11 Felix Bellaby  <felix@pooh.u-net.com>

	* save.c (write_one_client) change argvs to static variable -
	temporary fix until real reason for stack corruption is known.

Fri Nov 6 Felix Bellaby  <felix@pooh.u-net.com>

	* save-session.c (options) added missing val item from struct so
 	that save session does not zap session every time.

Sun Aug 16 17:47:00 1998  Tom Tromey  <tromey@cygnus.com>

	* main.c (main): Call clean_ice().
	(options): New array.
	(debugging): New global.
	(parse_an_arg): Recognize --debug.
	(main): Handle debugging case.
	* auth.h: Use real function prototypes.
	* auth.c: Include auth.h and libgnome/libgnome.h.
	(SetAuthentication): Put .xsm files into ~/.gnome/.

Thu Jul 23 21:50:33 1998  Tom Tromey  <tromey@cygnus.com>

	* session-properties.c (session_die): New function.
	(session_save): New function.
	(struct info): Added `argv0' element.
	(setup): Initialize argv0 element of info.  Return info
	structure.
	(options): New structure.
	(parse_an_arg): New function.
	(geometry): New global.
	(parser): New global.
	(main): Handle session management and argument parsing.

Wed Jul 22 23:11:47 1998  Tom Tromey  <tromey@cygnus.com>

	* session-properties.c (setup): Use GNOME_PAD and
	GNOME_PAD_SMALL.

1998-07-23  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>

	* session.desktop: Added Portuguese translation. 

Tue Jul 21 10:25:55 1998  Tom Tromey  <tromey@cygnus.com>

	* session-properties.c (setup): Connect to "activate" signal on
	entry.  Disable "Delete" button initially.  Connect to "clicked"
	signal on button.
	(entry_ok): New function.
	(remove_items): New function.
	(struct info): New structure.

	* save.c (run_default_session): Use run_preloads to run default
	session.

	* Makefile.am (EXTRA_DIST): Added default.in.
	(data_DATA): New macro.
	(default.session): New target.
	(INCLUDES): Define DEFAULTDIR.
	* default.in: New file.

	* session-properties.c (apply_properties): Use PRELOAD_COUNT_KEY.
	(fill_clist): Likewise.

	* save.c (session_loaded): New global.
	(run_preloads): New function.
	(num_preloads): New function.
	(read_session): Call run_preloads.

	* save.c: Include "session.h".
	* session-properties.c: Include "session.h".
	* Makefile.am (gnome_session_SOURCES): Added session.h.
	(session_properties_SOURCES): Likewise.
	* session.h: New file.

	* session-properties.c (setup): Set scrollbar policy on clist.
	Left align label above clist.
	(apply_properties): Synchronize config.
	(PRELOAD_PREFIX): New define.
	(apply_properties): Use it.
	(fill_clist): New function.
	(setup): Call it.

Sun Jul 19 16:31:51 1998  Tom Tromey  <tromey@cygnus.com>

	* session.desktop: New file.
	* Makefile.am (sysdir): New macro.
	(sys_DATA): Likewise.
	(EXTRA_DIST): Likewise.

	* Makefile.am (bin_PROGRAMS): Added session-properties.
	(session_properties_SOURCES): New macro.
	* session-properties.c: New file.

	* manager.c (save_yourself_request): Handle single-client saves.

	Reverted most changes from July 7.
	* manager.c (old_sess): Removed.
	(restart_session): Removed.
	(save_ps): Removed.
	(saving_ps): Removed.
	* save.c (get_session_name): Removed.
	* manager.h (get_session_name): Removed.

Thu Jul 16 18:10:26 1998  Tom Tromey  <tromey@cygnus.com>

	* save.c (run_default_session): Run gnome-smproxy, not smproxy.

mar jul  7 09:56:07 ART 1998  Horacio J. Pea <horape@compendium.com.ar>

	* manager.c: added support for saving state
	of only one process and for restarting sessions. (it's ugly)
		New global variables saving_ps & old_sess.
		save_yourself_request: added a bunch of code to check for
		the "new" services.
		check_session_end: removed !live_list check (Tom, is it ok?)
		check_session_end: added support for saving_ps & old_sess.
		New functions: save_ps & restart_session.
	* manager.h: Added prototipe for get_session_name.
	* save.c: Added get_session_name.

Sun Jul  5 18:16:00 1998  Tom Tromey  <tromey@cygnus.com>

	* main.c (main): Set the DISPLAY environment variable.
	* save.c (properties): Added SmEnvironment.
	(run_commands): Look up environment and pass to exec.

Sat Jun 13 20:54:05 1998  Tom Tromey  <tromey@cygnus.com>

	Fixed all -Wall warnings:
	* auth.c: Include <stdlib.h>, <sys/stat.h>, <unistd.h>.
	* save-session.c: Include libgnomeui.h, not gnome-client.h.
	(main): Removed unused variable.
	* save.c (write_one_client): Removed unused variable.
	(run_commands): Likewise.
	(delete_session): Likewise.
	* main.c: Include libgnomeui.h, not gnome-client.h.
	* ice.c: Include <gtk/gtk.h>, <stdlib.h>.
	* manager.c: Include <stdlib.h>, <libgnome/libgnome.h>,
	<gtk/gtk.h>.

Sat Jun  6 02:09:49 1998  Tom Tromey  <tromey@cygnus.com>

	* save.c (read_session): If no clients in saved session, load
	default session.

	* manager.c (run_shutdown_commands): New function.
	(check_session_end): Call it.

1998-06-06  Carsten Schaar  <nhadcasc@fs-maphy.uni-hannover.de>

	* save-session.c (main): Replaced 'gnome_client_new_default' with
 	'gnome_master_client'.

	* main.c: Included 'libgnome/gnome-client.h'.
	(main): Added call to 'gnome_client_disable_master_connection'
 	because otherwise 'gnome-session' tries to connect to itself.

Sat May 16 00:47:11 1998  Tom Tromey  <tromey@cygnus.com>

	* Makefile.am (gnome_session_SOURCES): Removed exec.c.
	* manager.h: Don't declare execute_async.
	* save.c (run_commands): Use gnome_execute_async.
	(run_default_session): Likewise.
	* exec.c: Removed.

Thu May 14 09:49:08 1998  Tom Tromey  <tromey@cygnus.com>

	* save.c (run_default_session): Make icewm the default window
	manager.

	* save-session.c (main): Print error if couldn't connect to
	session manager.

	* manager.c (kill_client_connection): New function.
	(check_session_end): Correctly determine when last ordinary client
	finishes.  Send kill_client_connection message to each client,
	just to make sure.

Sun May  3 10:53:01 1998  Tom Tromey  <tromey@cygnus.com>

	* manager.c (io_error_handler): Call IceCloseConnection.

Thu Apr 30 23:13:53 1998  Tom Tromey  <tromey@cygnus.com>

	* save.c (run_default_session): Run `smproxy'.

	* prop.c (find_string_property): Put trailing \0 on result
	string.
	(find_vector_property): Likewise.

Sun Apr 26 16:19:31 1998  Tom Tromey  <tromey@cygnus.com>

	* save.c (run_default_session): If WINDOW_MANAGER defined, then
	launch it.

Wed Mar 18 22:26:54 1998  Tom Tromey  <tromey@cygnus.com>

	* save.c (run_default_session): Put `gmc' into the default
	session.

Mon Mar 16 00:52:21 1998  Tom Tromey  <tromey@cygnus.com>

	* main.c (ignore): Use sigemptyset to initialize sa_mask member.

	* save-session.c (main): Removed local "zap" variable.

	* main.c (ignore): New function.
	(main): Ignore SIGPIPE.

Tue Mar 10 21:40:28 1998  Tom Tromey  <tromey@cygnus.com>

	* save.c (run_commands): Pass saved directory information to
	execute_async().
	* exec.c (execute_async): Added `dir' argument.

Sun Mar  8 18:36:38 1998  Tom Tromey  <tromey@cygnus.com>

	* save.c (run_commands): `def' now a gboolean.
	(read_session): Likewise.
	(delete_session): Likewise.

	* Makefile.am (INCLUDES): Added GNOME_INCLUDEDIR.  Define
	GNOMELOCALEDIR.

Sat Mar  7 11:45:07 1998  Tom Tromey  <tromey@cygnus.com>

	* save-session.c (options): New structure.
	(parser): Likewise.
	(usage): Removed.
	(zap): New global.
	(parse_an_arg): New function.
	(main): Use new argument parsing and client-handling functions.
	* Makefile.am (gnome_session_SOURCES): Removed testbed.c, added
	main.c.
	* testbed.c: Removed.
	* main.c: New file.

Thu Feb 26 02:26:51 1998  Tom Tromey  <tromey@cygnus.com>

	* exec.c (errno): Declare if not a macro.

	* Makefile.am (bin_PROGRAMS): Only define if session support
	available.

	* Makefile.am (bin_PROGRAMS): Added save-session.
	(save_session_SOURCES): New macro.
	* save-session.c: New file.

	* testbed.c (main): Don't call gtk_init.

	* exec.c (execute_async): "pid" is a pid_t, not an int.  Close
	read end of pipe in child; mark write end as close-on-exec.

	* save.c (run_default_session): Run gnome-help-browser.

Mon Feb 23 00:49:05 1998  Tom Tromey  <tromey@cygnus.com>

	* save.c (run_default_session): NULL-terminate argv.
	* exec.c (report_errno): New function.
	(execute_async): Use it.

1998-02-19  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* testbed.c (main): Added app_id "gsm-testbed".

Mon Feb 16 00:04:09 1998  Tom Tromey  <tromey@cygnus.com>

	* exec.c (execute_async): Wait for child process.

	* save.c (run_default_session): New function.
	(read_session): If no saved session, and trying to load the
	default, then call run_default_session.

	* manager.c (check_session_end): Call gtk_main_quit if shutting
	down.

	* manager.h (execute_func): Removed.
	* save.c (run_commands): Removed executor argument.

	* manager.c (check_session_end): Save anyway_list first.

	* save.c (write_one_client): If restart style is RestartNever,
	don't bother saving client.
	(write_session): Added list2 argument.

	* manager.c (anyway_list): New global.
	(free_client): Do nothing if client is NULL.
	(close_connection): Take restart hints into account.
	(check_session_end): Pass anyway_list to write_session.

	* save.c: Include <gtk/gtk.h>.

Mon Feb 16 11:15:43 KST 1998  Changwoo Ryu  <cwryu@adam.kaist.ac.kr>

	* save.c: Include <config.h>.
	Replace "gnome-session.h" with "gnome-client.h".

Sat Feb 14 01:45:26 1998  Tom Tromey  <tromey@cygnus.com>

	* exec.c (execute_once): Removed.
	* manager.h (execute_once): Removed decl.
	* save.c (properties): Removed GNOME_SM_INIT_COMMAND.
	(read_session): Don't run initialization commands.

	* Makefile.am (LDADD): Don't include LEXLIB or DL_LIB.  Do include
	INTLLIBS.

Mon Feb  9 13:24:01 1998  Tom Tromey  <tromey@cygnus.com>

	* save.c (write_session): gnome -> session.
	(run_commands): Likewise.
	(read_session): Likewise.
	(delete_session): Likewise.
	* Makefile.am (bin_PROGRAMS): Changed name to gnome-session.
	(gnome_session_SOURCES): Likewise.

Tue Feb  3 00:38:40 1998  Tom Tromey  <tromey@cygnus.com>

	* save.c (write_session): gsm->gnome.
	(run_commands): Likewise.
	(read_session): Likewise.
	(delete_session): Likewise.

	* exec.c (execute_async): Wrote.

	* Makefile.am (bin_PROGRAMS): Program named "gnome".
	(gnome_SOURCES): Renamed.

	* save.c (delete_session): Call gnome_config_sync().

Mon Feb  2 23:08:50 1998  Tom Tromey  <tromey@cygnus.com>

	* save.c (write_one_client): Use gnome_config_set_vector.
	(write_session): Use prefix that doesn't result in new sub-keys.
	(read_session): Use new prefix.
	(run_commands): Likewise.  Use gnome_config_get_vector_with_default.

Thu Jan 29 16:49:12 EST 1998 Nathan Bryant <bryant@cs.usm.maine.edu>

	* Makefile.am: add DL_LIB.

Wed Jan 21 00:41:27 1998  Federico Mena <federico@bananoid.nuclecu.unam.mx>

	* gsm.c (gsm_generate_session_list): Replace snprintf with
	g_snprintf.

Tue Jan 20 18:43:50 1998  Tom Tromey  <tromey@cygnus.com>

	* gsm.h, gsm.c, gsm-backend.c: Removed.

Sun Jan 18 15:28:06 1998  Tom Tromey  <tromey@cygnus.com>

	* manager.c (check_session_end): New function.
	(save_yourself_done): Use it.
	(close_connection): Likewise.

	* manager.c: Include <string.h>.
	* ice.c: Include <config.h>.

	* testbed.c (main): Read session.

Fri Jan 16 23:50:48 1998  Tom Tromey  <tromey@cygnus.com>

	* ice.c (initialize_ice): Use Gnome's version number.

Sun Jan  4 13:24:47 1998  Tom Tromey  <tromey@cygnus.com>

	* save.c (read_session): Changed return value.  Started
	implementation.
	(run_commands): New function.
	(delete_session): Use it.

	* manager.c (add_zombie): New function.
	* manager.h (add_zombie): Declare.

	* Makefile.am (gsm_SOURCES): Include exec.c.
	* exec.c: New file.
	* manager.h (execute_async): Declare.

	* save.c (write_one_client): Added `number' argument; changed
	return value; changed how information represented in file.
	(prefix): No longer global.
	(write_session): Changed how information represented in file.
	(delete_session): Wrote.

Fri Jan  2 00:11:49 1998  Tom Tromey  <tromey@cygnus.com>

	* manager.c (save_yourself_done): Move save_finished_list to
	live_list when done.

Thu Jan  1 15:53:26 1998  Tom Tromey  <tromey@cygnus.com>

	* manager.h: Declare delete_session.
	* manager.c (save_yourself_done): Call write_session.
	* save.c (set_session_name): Made name argument const.
	(read_session): Likewise.
	(write_session): Made list argument const.
	(propsave): New type.
	(properties): New array.
	(NUM_PROPERTIES): New macro.
	(write_one_client): New function.
	(write_session): Wrote.
	(delete_session): New function.

	* prop.c (find_property_by_name): Made client argument const.
	(find_card8_property): Likewise.
	(find_string_property): Likewise.
	(find_vector_property): Likewise.

Sat Dec 27 12:39:40 1997  Tom Tromey  <tromey@cygnus.com>

	* save.c: New file.
	* prop.c: New file.
	* Makefile.am (gsm_SOURCES): Include prop.c, save.c.

	* manager.h: Declare find_property_by_name, find_card8_property,
	find_string_property, find_vector_property.

	* manager.c (save_helper): Removed.
	(x_save_type, x_interact_style, x_fast): Removed.
	(save_session): Traverse list by hand.
	(find_property_by_name): Moved to prop.c; exported.

Fri Dec 26 00:00:42 1997  Tom Tromey  <tromey@cygnus.com>

	* manager.c (find_client_by_connection): New function.
	(io_error_handler): New function.
	* manager.h: Declare io_error_handler.
	* ice.c (initialize_ice): Install IO error handler.

	* manager.c (close_connection): Remove client from all lists.
	Free client structure.

	* auth.c (write_iceauth): Make sure data is in range for fprintf.

	* Makefile: Removed.
	* Makefile.am: New file.
	* testbed.c: New file.

Thu Dec 25 00:12:44 1997  Tom Tromey  <tromey@cygnus.com>

	* ice.c (accept_connection): Must wait for ICE connection to leave
	pending state.

Wed Dec 24 23:33:09 1997  Tom Tromey  <tromey@cygnus.com>

	* auth.c, auth.h: Modified files from X11R6.3 `xsm' program.
	* TODO, manager.c, manager.h, ice.c: New files.

