2010-06-03 Brian Cameron <brian.cameron@sun.com>

	* gui/gdmlanguages.c, gui/gdmsession.c, gui/gdmlogin.c,
	  gui/greeter/greeter.c:  Switch buttons "Make Default" and 
	  "Just For This Session" for better usability.  Fixes bug #597661.

2010-06-02 Brian Cameron <brian.cameron@sun.com>

	* vicious-extensions/ve-misc.c:  Fix bug #571846.  No longer print
	  invalid encoded strings since this can causemaster the user's
	  password to be logged in the syslog if it contains invalid characters
	  and if GDM debug is enabled. 

2009-06-08 Brian Cameron <brian.cameron@sun.com>

	* gui/gdmsetup.c: Fix call to g_markup_printf_escaped so that NULL
	  strings are not passed in.

2009-05-13 Brian Cameron <brian.cameron@sun.com>

	* gui/gdmlogin.c, gui/greeter/greeter.c: Fix the dialog that asks the
	  user if they want to change their default session when the one in the
	  user's .dmrc file is not installed on the system.

2009-04-24 Brian Cameron <brian.cameron@sun.com>

	* configure.ac: Now configure favors the Xfree Xinerama interfaces over
	  the obsolete Solaris specific interfaces.  This ensures that Xinerama
	  works on OpenSolaris where Xfree should be used, and also on Solaris
	  10 where the Solaris specific interfaces should be used.  Fixes bug
	  #580060.  Also move DEFOPEN configure checks before Xinerama checks.

2009-03-19 Brian Cameron <brian.cameron@sun.com>

	* Release 2.20.10:
	* configure.ac: Updated to new release version
	* NEWS: Updated.

2009-03-19 Brian Cameron <brian.cameron@sun.com>

	* daemon/slave.c: Make sure that gid/egid are set to 0 when running
	  the Init, PostLogin, PreSession, and PostSession scripts.  This
	  ensures that all scripts are run with consistent permisions.

2009-03-14 Brian Cameron <brian.cameron@sun.com>

	* daemon/slave.c: Do not print NULL strings when calling
	  gdm_child_exit.

2009-02-26 Brian Cameron <brian.cameron@sun.com>

	* daemon/slave.c, daemon/misc.c: Ensure that the DISPLAY environment
	  variable is never cleared on changing language.  Otherwise, it will
	  not be available for the PAM module to use, for example.

2009-02-26 Brian Cameron <brian.cameron@sun.com>

	* daemon/gdm.c, daemon/server.c:  Provide better error reporting when
	  GDM is unable to parse the command.  Another partial fix for bug
	  #530585.

2009-02-24 Brian Cameron <brian.cameron@sun.com>

	* utils/gdm-ssh-session: Patch code so that the port value can be
	  entered when doing a remote ssh connection.  Fixes bug #572052.	
	  Patch by Thomas Bechtold <thomas@jpberlin.de>.

2009-02-24 Brian Cameron <brian.cameron@sun.com>

	* gui/modules/keymouselistener.c: Using Xorg 1.5, the parse_line
	  function can fail to set the keycode if XKB is not initialized
	  when gdmlogin starts.  This fix causes GDM to check if the keycode
	  failed to be initialized on keypress.  If so, it sets it and
	  addresses the problem.

2009-02-11 Brian Cameron <brian.cameron@sun.com>

	* config/Makefile.am, config/Xsession.common, config/Xsession.in
	  Backout change for bug #509141.  This is no longer needed on
	  Solaris since the code was reworked to make use of more
	  general /etc/X11/xinit/xinitrc.d scripts.  Better to keep distro
	  specific code out of the upstream GDM.  Fixes bug #571319.  Patch by
          Takao Fujiwara <Takao.Fujiwara@sun.com>.
	* config/Xsession.solaris, config/Xsession.common: Removed.

2009-02-05 Brian Cameron <brian.cameron@sun.com>

	* daemon/gdm-xdmcp-manager.c: Remove double free and improve error
	  handling, patch by Chris Wilson (chris+gnome@aptivate.org).  Also fix
	  how the host variable is freed in gdm_xdmcp_handle_message so it
	  is not freed before it is last used.  This issue was noticed by
	  Giuseppe Lippolis (giuseppe.lippolis@thalesaleniaspace.com).  Fixes
	  two issues noted in bug #530585, though I suspect it does not
	  resolve the main issue of the bug..
	* daemon/server.c: Improve error handling.

2009-01-06 Brian Cameron <brian.cameron@sun.com>

	* daemon/server.c, daemon/gdm-daemon-config.c: Set default
	  PRIO values appropriately.

2009-01-06 Brian Cameron <brian.cameron@sun.com>

	* daemon/gdm-daemon-config.c: Set PRIO_MIN and PRIO_MAX to the
	  correct values on Solaris.

2009-01-06 Brian Cameron <brian.cameron@sun.com>

	* daemon/gdm.c, daemon/auth.c, daemon/misc.c:  Use g_remove instead
	  of g_unlink when removing directories, it is safer.

2009-01-05 Brian Cameron <brian.cameron@sun.com>

	* daemon/gdm.[hc], daemon/verify-pam.c, daemon/server.c:
	  Update SDTLOGIN logic so that the "/var/dt" directory
	  gets created if it is missing.
	* daemon/server.c, daemon/gdm-daemon-config.c: Use "#ifdef __sun"
	  instead of "#ifdef sun".

2009-01-05 Brian Cameron <brian.cameron@sun.com>

	* daemon/verify-pam.c: Make sure that pwent gets set before
	  calling audit_fail_login, otherwise the audit record is not
	  set properly.

2008-12-10 Brian Cameron <brian.cameron@sun.com>

	* Release 2.20.9:
	* configure.ac: Updated to new release version
	* NEWS: Updated.

2008-12-10 Brian Cameron <brian.cameron@sun.com>

	* daemon/gdm-daemon-config.c, gui/gdmsession.c: Conditionally show
	  multilabel session entires when using Trusted Solaris.  Patch by
	  Stephen Browne <Stephen.Browne@sun.com>.

2008-12-10 Brian Cameron <brian.cameron@sun.com>

	* daemon/slave.c: Use full path to chmod when setting ACL's with ZFS
	  filesystems.

2008-12-10 Brian Cameron <brian.cameron@sun.com>

	* daemon/verify-pam.c: Correct processing of CONSOLE and PASSREQ
	  /etc/default/login parameters so they are checked each time a
	  user logs in, and the latest value honored.  The previous code
	  would not unset the setting even if you modified the
	  /etc/default/login file 

2008-12-08 Brian Cameron <brian.cameron@sun.com>

	* daemon/slave.c: Fix how GDM sets ACL's on Solaris so it also works
	  with ZFS filesystems.  Now only set ACL's when a11y is turned on,
	  since they are not needed otherwise.
	* config/Xsession.solaris: Correct setting of VTE_CJK_WIDTH when on
	  Solaris.  Updated patch from Takao Fujiwara
	  <Takao.Fujiwara@sun.com>.  

2008-12-07 Brian Cameron <brian.cameron@sun.com>

	* config/Init.in: Fix underquoted strings, refer to bug #563550.
	  Patch by Pacho Ramos <pacho@condmat1.ciencias.uniovi.es>

2008-11-14 Brian Cameron <brian.cameron@sun.com>

	* daemon/misc.c: Modify the gdm_ensure_sanity function so that it
	  does nothing on Solaris.  Solaris Trusted Extensions has different
	  assumptions about how sockets should be set up, and it's better for
	  GDM to not second-guess this.
 
2008-10-23 Brian Cameron <brian.cameron@sun.com>

	* daemon/gdm.c: Move call to gdm_final_cleanup after accessing
	  configuration options since gdm_final_cleanup will clear them.
	  An obvious error uncovered after looking at bug #502975.

2008-10-23 Brian Cameron <brian.cameron@sun.com>

	* daemon/server.c: Fix fbconsole launching code so that if it fails
	  to run, the forked child just exits.

2008-09-29 Brian Cameron <brian.cameron@sun.com>

	* daemon/display.h, daemon/server.c: Update the code which launches
	  fbconsole so that fbconsole is killed after the display is done being
	  used.  This only affects Solaris, which uses fbconsole.
	* daemon/server.[ch]: Remove unused gdm_server_reinit function.

2008-09-17 Brian Cameron <brian.cameron@sun.com>

	* config/Xsession.solaris: Use bourne-shell syntax for setting
	  VTE_CJK_WIDTH.  Just works better on Solaris.

2008-09-03 Brian Cameron <brian.cameron@sun.com>

	* Release 2.20.8:
	* configure.ac: Updated to new release version
	* NEWS: Updated.

2008-09-03  Brian Cameron  <brian.cameron@sun.com>

	* daemon/gdm.c:  Improve gdm_final_cleanup so that the slave daemon
	  exits after receiving a shutdown or reboot event, and after 
	  completing all cleanup.  This should fix all the remaining 
	  issues in bug #517526.  Patch by Josselin Mouette
	  <joss@malsain.org>

2008-09-03  Brian Cameron  <brian.cameron@sun.com>

	* acconfig.h, configure.ac: Rip out ctrun integration and instead
	  manage SMF so that when the slave daemon is forked, it is spawned
	  in a separate contract.  This ensures that the user session, all
	  GDM GUI programs, and the PAM interaction all happen in the user
	  service contract.  This helps to ensure that if the Xserver crashes,
	  it does not cause the GDM service to restart.  This only affects
	  Solaris.
	* gui/modules/dwellmouselistener.c, gui/modules/keymouselistener.c,
	  daemon/slave.c: Remove ctrun integration.
	* daemon/display.c: Add logic so slave daemon is forked in a separate
	  SMF contract.

2008-08-25  Brian Cameron  <brian.cameron@sun.com>

	* daemon/server.c:  Add -n argument to call to fbconsole so it
	  doesn't open a connection to the X display, to avoid race
	  conditions with XDMCP remote sessions.

2008-08-20  Brian Cameron  <brian.cameron@sun.com>

	* configure.ac: Fix broken check for TCP Wrappers.  Fixes bug
	  #548676.  Patch by Stanislav Brabec <sbrabec@suse.cz> and
	  Brian Cameron <Brian.Cameron@sun.com>
	* daemon/Makefile.am: Add LIBWRAP_LIBS to LDFLAGS when building
	  gdm-binary.

2008-08-20 Brian Cameron <brian.cameron@sun.com>

	* daemon/slave.c: Fix memory leak in the SELinux code.  Fixes bug
	  #548670.  Patch by Josselin Mouette <joss@malsain.org> and
	  Julien Cristau.

2008-08-05 Brian Cameron <brian.cameron@sun.com>

	* config/Xsession.solaris:  Minor patch for data/Xsession.solaris
	  so that input methods work.  Fixes bug #547549.  Patch by Takao
	  Fujiwara <Takao.Fujiwara@sun.com>.  

2008-08-05 Brian Cameron <brian.cameron@sun.com>

	* gui/gdmlanguages.c: Remove Kazakh to avoid breaking string freeze.

2008-08-05 Brian Cameron <brian.cameron@sun.com>

	* gui/gdmlanguages.c, config/locale.alias: Add Kazakh.

2008-07-31 Brian Cameron <brian.cameron@sun.com>

	* gui/greeter/greeter_geometry.c: Prevent a negative value of
	  child_allocation.width when item_type is GREETER_ITEM_TYPE_SVG.
	  Fixes bug #546214.  Patch provided by Pascal Brochart
	  <p.brochart@libertysurf.fr>.

2008-07-31 Brian Cameron <brian.cameron@sun.com>

	* gui/gdmchooser.c:  use g_strdup when copying strings to avoid
	  a crash.  Reported by Matthias Drochner <M.Drochner@fz-juelich.de>
	  in bug #544730 with a proposed patch, which I modified slightly.

2008-07-28 Brian Cameron <brian.cameron@sun.com>

	* gui/gdmchooser.c:  Ignore ENXIO when processing ioctl since
	  some distros (FreeBSD) yields ENXIO for non-IP/non-configured
	  interfaces.  Fixes bug #544790.  Patch by Volker Stolz
	  (vs+gnome@FreeBSD.org).

2008-06-30 Brian Cameron <brian.cameron@sun.com>

	* Release 2.20.7:
	* configure.ac: Updated to new release version
	* NEWS: Updated.

2008-06-24 Brian Cameron <brian.cameron@sun.com>

	* configure.ac: Fix setting of variable so it is bourne-shell
	  compliant, so it does not cause an error running on Solaris.

2008-06-19 Brian Cameron <brian.cameron@sun.com>

	* configure.ac: Set default HOST_GDM_RBAC_SYSCMD_KEYS to also
	  include the RBAC key for Suspend, when building on Solaris.
	  Patch by Simon Zheng.

2008-06-16 Brian Cameron <brian.cameron@sun.com>

	* daemon/slave.c: When processing BaseXsession, only accept the
	  first word.  Since the slave calls g_access with this value,
	  it will fail if there is more than one word or even trailing
	  space in this configuration value.  Makes the code a bit more
	  robust.
	  
2008-06-10 Brian Cameron <brian.cameron@sun.com>

	* daemon/verify.h: Remove gdm_verify_check prototype since
	  this function does not exist anymore.

2008-06-10 Brian Cameron <brian.cameron@sun.com>

	* daemon/verify-pam.c: Clean up the libaudit calls so
	  that we just log the failed login attempt once in
	  the pamerr block rather than at each failure point.
	  Add libaudit logging when autologin is being used.

2008-06-03 Brian Cameron <brian.cameron@sun.com>

	* daemon/gdm-daemon-config.c:  Free the pointer array via 
	  g_free instead of g_ptr_array_free.  Fixes an error where
	  an assertion was being triggered when GDM is exiting.
	  Further fix for bug #517526.  Patch by Frederic Crozat
	  <fcrozat@mandriva.com>.

2008-05-22 Brian Cameron <brian.cameron@sun.com>

	* daemon/getvt.c:  Change 3rd argument of XInternAtom to True,
	  so that the XFree86_VT Atom is not created if it does not
	  exist.

2008-05-12 Brian Cameron <brian.cameron@sun.com>

	* Release 2.20.6:
	* configure.ac: Updated to new release version
	* NEWS: Updated.

2008-05-09  Brian Cameron  <brian.cameron@sun.com>

	* daemon/gdm.c:  Fix crash on logout caused by trying to read
	  configuration values in the mainloop_sig_callback function.
	  Redesigned so we only read configuration values when it is
	  appropriate (when dealing with SHUTDOWN, REBOOT, etc.).
	  Fixes another issue raised in bug #517526.

2008-05-03  Brian Cameron  <brian.cameron@sun.com>
	
	* daemon/gdm-xdmcp-manager.c:  Move reading of configuration
	  from gdm_xdmcp_manager_init to gdm_xdmcp_manager_start
	  Otherwise the configuration values get over-ridden by the
	  deafult values set via properties.  Fixes bug #515148.

2008-05-02  Brian Cameron  <brian.cameron@sun.com>

	* daemon/gdm-daemon-config.c: A better fix for the problem.
	  While investigating the crashing problem on exit, I noticed
	  that gdm_daemon_config_update_key was similarly crashing
	  when calling gdm_config_load and freeing the daemon_config
          global.  This crash would only happen occasionally, but I
	  was able to recreate it a few times.  This indicates that
	  this function needs to be thread-safe, since if the deamon
	  recieves multiple UPDATE_KEY requests quickly, two requests
	  could be processed at the same time.  This change fixes the
	  code so it doesn't reload the configuration, but instead
	  loads it into a temporary variable, and then updates just
	  the key requested.  Thus avoiding the freeing of the global
	  and this should fix the crashing.  This is more sensible
	  anyway, because some places in the code resets configuration
	  values to different values (e.g. resetting CONSOLE_NOTIFY to
	  false in gdm_config_parse if no displays were defined in the
	  configuration), so we lose such values if we reload the
	  entire configuration file.  It's better to just reload the
	  specified key.
	* daemon/gdm-daemon-config.c: I noticed that the key
	  "xservers/PARAMETERS" was not being processed in the
	  gdm_daemon_config_update_key, so that if you change Xserver
	  variables in gdmsetup, they weren't getting recognized by
	  the daemon.  I fixed this, and thus fixed bug #450357.

2008-05-02  Brian Cameron  <brian.cameron@sun.com>

	* daemon/gdm-daemon-config.c: Reverse last change.  It seemed to
	  work when I first tested it, but I must have tested it wrong.
	  
2008-05-02  Brian Cameron  <brian.cameron@sun.com>

        * daemon/gdm-daemon-config.c: Remove call to gdm_config_load from
          gdm_daemon_config_update_key.  This function is only called when
          the UPDATE_KEY message is passed to the daemon, which is typically
          sent from gdmsetup when a specific configuration value has changed.
          Calling gdm_config_load before processing the key will cause the
          entire configuration to get reloaded since the datestamp on the
          file will, of course, be newer than the last read.  It is more
          efficient to simply re-process the single key value requested via
          the UPDATE_KEY command.  This makes GDM behave more like it did
          in GDM 2.18 and earlier.

2008-05-01 Brian Cameron <brian.cameron@sun.com>

	* gui/gdmsession.c: If a GDM session desktop file is marked as
	  "Hidden=true" then do not show it in the session dialog.

2008-05-01 Brian Cameron <brian.cameron@sun.com>

	* common/gdm-config.c: Similar fix to ensure that we do not free
	  the data structure twice when reloading.  Similar issues as 
	  with bug #517526.

2008-04-30 Brian Cameron <brian.cameron@sun.com>

	* common/gdm-config.c: A new fix to address the crashing issue bug
	  #517526.

2008-04-30 Brian Cameron <brian.cameron@sun.com>

	* common/gdm-config.c: Back-out the last change, it did not work
	  as I thought it did.

2008-04-30 Brian Cameron <brian.cameron@sun.com>

	* common/gdm-config.c:  Fix bug that was causing GDM to crash
	  when freeing memory in the keyfile code when exiting (such as when
	  shutting down the system).  Fixes bug #517526.

2008-04-24 Brian Cameron <brian.cameron@sun.com>

	* gui/gdmsetup.c:  Fix the 24HourClock setting so that
	  we do not save translated strings as the configuration
	  option.  

2008-04-24 Brian Cameron <brian.cameron@sun.com>

	* daemon/gdm-daemon-config.c:  Fix reading of user's .dmrc
	  file so that if it does not exist, we avoid calling 
	  gkeyfile functions.  This avoids useless gkeyfile warning
	  messages about the file being NULL.  The fix on 2007-09-20
	  mostly fixed this issue by making sure the file is
	  created before trying to read it.  However, in some cases,
	  such as when the user's $HOME directory is not writable,
	  the read can happen when the file does not exist.

2008-04-24 Brian Cameron <brian.cameron@sun.com>

	* configure.ac:  Add openbsd section to configure file.
	  to specify default halt, reboot, suspend commands.
	  Fixes bug #529686.  Patch by Jasper Lievisse Adriaanse
	  <jasper@humppa.nl>.

2008-04-22 Brian Cameron <brian.cameron@sun.com>

	* configure.ac: Remove the broken logic which was trying
	  to append ${prefix}/bin to the DefaultPath and RootPath.
	  Users will need to use --with-post-path configure option
	  if they want to add their own directories to the
	  DefaultPath and RootPath.  Fixes bug #510469.

2008-04-22 Brian Cameron <brian.cameron@sun.com>

	* configure.ac, config/Xsession.in, config/Xsession.solaris,
	  config/Xsession.common, config/Makefile.am:  Fix the way 
	  Xsession is built so that distros can more easily add their
	  own logic to the Xsession script.  Move Solaris specific 
	  Xsession logic to the Xsession.solaris file.  Get rid of
	  logic to normalize LC_ variables since this was causing
	  problems for some users, fixes bug #509141.  Patch by
	  Takao Fujiwara <Takao.Fujiwara@sun.com>.

2008-04-11 Ray Strode <rstrode@redhat.com>

	* gui/slave.c:
	(gdm_slave_session_start): Sync to catch any XIO errors after session
	exits (fixes bug 419301)

2008-04-07 Brian Cameron <brian.cameron@sun.com>

	* Release 2.20.5:
	* configure.ac: Updated to new release version
	* NEWS: Updated.

2008-03-27 Brian Cameron <brian.cameron@sun.com>

	* gui/gdmdynamic.c, gui/modules/dwellmouselistener.c,
	  gui/modules/keymouselistener.c, daemon/slave.c, 
	  daemon/gdm-daemon-config.[ch]: Correct copyright information for
 	  Sun contributions to the code.

2008-03-19 Brian Cameron <brian.cameron@sun.com>

	* gui/gdmwm.c: Use GDK functions to get the proper screen
	  resolution.  Fixes bug #523403.  Patch provided by Vincent
	  Untz <vincent@vuntz.net>.

2008-03-11 Brian Cameron <brian.cameron@sun.com>

	* daemon/gdm.h, daemon/gdm-daemon-config-keys.h, po/POTFILES.in:
	  Move the default Welcome/RemoteWelcome strings from gdm.h to
	  gdm-daemon-config-keys.h.  I noticed that we were defining the
	  #defines in two places.  So now we just define them once.

2008-03-10 Brian Cameron <brian.cameron@sun.com>

	* Release 2.20.4:
	* configure.ac: Updated to new release version
	* NEWS: Updated.

2008-03-10 Brian Cameron <brian.cameron@sun.com>

	* daemon/gdm.h, po/POTFILES.in:  Mark the default local and remote
	  welcome message for translation more clearly.  Fixes bug
	  #519528.  Thanks to Wouter Bolsterlee <uws+gnome@xs4all.nl>
	  and Frederic Crozat <fcrozat@mandriva.com> for help with 
	  this patch.

2008-03-07 Brian Cameron <brian.cameron@sun.com>

	* daemon/gdm.c:  Get default locale from LC_MESSAGES rather than
	  from g_get_language_names.  Fixes bug #517670.  Patch by Ray
	  Strode <rstrode@redhat.com>.

2008-03-05 Brian Cameron <brian.cameron@sun.com>

	* gui/gdmcommon.c: If the user uses the default remote welcome string
	  for local displays or vice-versa, then translate the string.
	* gui/gdmflexiserver.c:  Need to call gdk_init when running in
	  --command mode or the -a option fails when trying to call the
	  gdk function to get the display value.  Patch by Frederic Crozat 
          <fcrozat@mandriva.com> and myself.

2008-03-01 Brian Cameron <brian.cameron@sun.com>

	I got approval from the GNOME release team for these 3 changes.

	* gui/gdmlogin.c, gui/gdmsetup.glade,
	  gui/greeter/greeter_canvas_item.c, gui/gdmsetup.c,
	  config/gdm.conf.in: Honor default password character rather than
	  hardcoding to '*'.  Fixes bug #477881.  Note this same fix was
	  committed and reverted on 2007-11-14 because I did not obtain string
	  freeze breakage approval at that time.  Patch by Alexander "weej"
	  Jones <alex@weej.com>.
	* docs/C/gdm.xml: Modify docs relating to above change, and 
	  modify the Custom Widgetry section to explain the recent fixes
	  (in last commit).
	* gui/greeter/greeter_canvas_item.c:  Note the change on 2007-11-14
	  also fixed bug #389734.  I intended to back this change out, but I
	  obviously forgot to revert it with the other changes.  At any rate
	  there is now approval to break string freeze for this string, so
	  leaving this fix in.  Patch provided by Roberto Sarrionandia
	  <rbs.tito@gmail.com>.
 
2008-02-28 Brian Cameron <brian.cameron@sun.com>

	* gui/gdmcommon.c:  Fix code so that saving custom widgetry values
	  works again.  Now the files are saved in INI format with the
	  [GreeterInfo] group.

2008-02-18 Brian Cameron <brian.cameron@sun.com>

	* daemon/slave.c: Get the environment value for XDG_DATA_DIRS
	  before calling ve_clearenv.  This issue was noticed while
	  discussing bug #510358.

2008-01-23 Brian Cameron <brian.cameron@sun.com>

	* gui/gdmsetup.c: Fix bug that was causing the Welcome message to not
	  get saved properly.  Fixes bug #511018.  Also removed the bad code
	  to delete translated strings if the user changes the value.  If
	  user wants to change the translated strings, they should do it 
	  manually.

2008-01-10 Brian Cameron <brian.cameron@sun.com>

	* daemon/gdm-daemon-config.c: Fix the setting of the custom command
	  NOTIFY key to avoid crashing problem when changing the label values
	  of a custom command in gdmsetup.

2008-01-09 Brian Cameron <brian.cameron@sun.com>

	* daemon/verify-crypt.c, daemon/verify-shadow.c:  Add include of
	  gdm-log.h to fix compile issues.  Fixes bug #508275.  Thanks to
	  Simon Munton <simon-gnome@munton.demon.co.uk> for the patch.

2008-01-07 Brian Cameron <brian.cameron@sun.com>

	* Release 2.20.3:
	* configure.ac: Updated to new release version
	* NEWS: Updated.

2008-01-04 Brian Cameron <brian.cameron@sun.com>

	* daemon/gdm-daemon-config.c: Fix memory management for code
	  change I made on 2008-01-02.  Thanks to Martin Weinberg for
	  pointing out the problem, though I wrote the fix.

2008-01-04 Brian Cameron <brian.cameron@sun.com>

	* daemon/verify-pam.c: I think I finally got the casting
	  cleaned up so it should compile on Linux and Solaris
	  with no further warnings.

2008-01-03 Brian Cameron <brian.cameron@sun.com>

	* daemon/verify-pam.c: Fix some more casting issues pointed
	  out by Larry Doolittle <ldoolitt@recycle.lbl.gov> via email.

2008-01-03 Brian Cameron <brian.cameron@sun.com>

	* daemon/verify-pam.c: Remove unnecessary casting pointed out
	  by Larry Doolittle <ldoolitt@recycle.lbl.gov> via email.

2008-01-02 Brian Cameron <brian.cameron@sun.com>

	* common/gdm-config.h, common/gdm-config.c:  Add function for
	  getting a list of server-foo sections from the configuration
	  files.  Also fix bug that was causing the comparison of
	  STRING_ARRAY keys to not work.  This was causing gdmsetup
	  to behave badly when changing the value of the
	  Halt/Shutdown/Reboot commands.  Fixes bug #502074.
	* daemon/gdm-daemon-config.c: Now use the above functions to
	  get the server-foo section names rather than just parsing the
	  ones used in the [server] section.  This makes gdmsetup work
	  better and fixes bug #462613.
	* daemon/gdm.c, daemon/gdm-daemon-config.c: Set debug as soon as
	  the configuration value is read, not after the configuration
	  file parsing is done.  This is useful for debugging problems
	  while parsing.

2007-12-21 Brian Cameron <brian.cameron@sun.com>

	* daemon/gdm.c, daemon/slave.c: Fix some casting issues pointed out
	  by Larry Doolittle <ldoolitt@recycle.lbl.gov> via email.

2007-12-10 Brian Cameron <brian.cameron@sun.com>

	* gui/gdmflexiserver.c: Revert to the old logic for handling 
	  options.  This uses g_option_context* rather than gtk_init.
	  Now we only call gtk_init when not handling the "--command"
	  argument.  This fixes bug #438939.  The problem here is that
	  you should be able to run gdmflexiserver with the --command
	  option even if running setuid or setgid, but the gtk_init
	  function doesn't allow this.  So we need to use the g_option
	  functions instead.

2007-12-10 Brian Cameron <brian.cameron@sun.com>

	* gui/gdmlogin.c, gui/greeter/greeter.c: Now "Esc" key acts like the
	  "Start Again" button.  Fixes enhancement request #482642.  Patch by
	  Ray Strode <rstrode@redhat.com>.

2007-12-03 Brian Cameron <brian.cameron@sun.com>

	* gui/gdmsetup.c:  In gdm_load_displays, just return if keys
	  is NULL rather than crashing.  Fixes bug #501010.
	* gui/gdmXnestchooser.c, gui/gdmsetup.c: Include "gdm-log.h" to find
	  needed prototypes.

2007-11-30 Brian Cameron <brian.cameron@sun.com>

	Thanks to George Lebl for noticing these issues.
	* daemon/errorgui.c, daemon/gdmconsolekit.c, daemon/display.c,
	  daemon/gdm.c, daemon/filecheck.c, daemon/verify-shadow.c,
	  daemon/gdm-xdmcp-manager.c, daemon/verify-crypt.c, daemon/server.c,
	  daemon/slave.c, daemon/gdm-daemon-config.c, daemon/choose.c,
	  daemon/misc.c:  Use gdm_debug instead of g_warning and g_debug.
	* daemon/gdm-xdmcp-manager.c: Fix bug where WILLING script was
	  being read from the configuration file as an int rather than a
	  string.  
	
2007-11-30 Brian Cameron <brian.cameron@sun.com>

	* daemon/gdm.c, daemon/slave.c: Fix Suspend configuration option
	  so it works.  Fixes bug #500362.  Patch by Philippe Troin
	  <phil@fifi.org>.

2007-11-27 Brian Cameron <brian.cameron@sun.com>

	* daemon/gdm-xdmcp-manager.[ch]: Fix counting of number of
	  open sessions.  Close the XDMCP socket in the finalize function.
	  Otherwise gdm-restart does not allow XDMCP connections.  
	  Remove unused function gdm_xdmcp_manager_stop.  Fixes bug
	  #495623.  Patch by Andrew Ziem <ahziem1@mailbolt.com>

2007-11-26 Brian Cameron <brian.cameron@sun.com>

	* Release 2.20.2:
	* configure.ac: Updated to new release version
	* NEWS: Updated.

2007-11-26  Brian Cameron  <brian.cameron@sun.com>

	* daemon/gdm-xdmcp-manager.c: Fix so that the XDMCP configuration
	  options are read from the configuration file again.
	  Fixes bug #498277.  Patch by Andrew Ziem <ahziem1@mailbolt.com>

2007-11-26  Brian Cameron  <brian.cameron@sun.com>

	* daemon/gdm.c, daemon/server.c, daemon/gdm-daemon-config.[ch],
	  common/gdm-config.c, common/test-config.c, gui/gdmwm.c,
	  gui/gdmphotosetup.c, gui/gdmXnestchooser.c, gui/gdmcommon.c,
	  gui/gdmflexiserver.c: Fix leaks.  Fixes bug #499445.  Patch
	  by Andrew Ziem <ahziem1@mailbolt.com>

2007-11-26  Brian Cameron  <brian.cameron@sun.com>

	* gui/gdmXnestchooser.c: Set execvec by calling make_us_an_exec_vector
	  after setting indirect_host, since the function uses this variable.
	  Fixes bug #499389.  Patch by Andrew Ziem <ahziem1@mailbolt.com>

2007-11-21  Brian Cameron  <brian.cameron@sun.com>

	* daemon/gdm.c, daemon/slave.c: Fix so that we allow setting of
	  LC_CTYPE without setting LANG.  Cleanup of how we set the
	  system locale.  Fixes bug #485852.  Patch by Sjoerd Simons
	  <sjoerd@luon.net> and Takao Fujiwara <Takao.Fujiwara@sun.com>.

2007-11-16  Brian Cameron  <brian.cameron@sun.com>

	* daemon/misc.c: Add back hinting, with a preference towards
	  IPv6.  Patch by Ely Levy <nakeee@gmail.com>.

2007-11-14  Brian Cameron  <brian.cameron@sun.com>

	* Reversing last commit since it broke string freeze.

2007-11-14  Brian Cameron  <brian.cameron@sun.com>

	* gui/gdmlogin.c, gui/greeter/greeter_canvas_item.c,
	  gui/gdmsetup.glade, gui/gdmsetup.c, config/gdm.conf.in,
	  docs/C/gdm.xml:  No longer hardcode the password field to '*'.
	  Instead use the GTK+ default character for password fields.  No
	  longer support the UseCirclesInEntry configuration option.
	  Addresses enhancement request #477881.  Patch by Alex "weej"
	  Jones <alex@weej.com>.

2007-11-13  Brian Cameron  <brian.cameron@sun.com>

	* daemon/getvt.c: If gdm_get_current_vtnum is called with a NULL
	  display, just return -1.

2007-11-07  Brian Cameron  <brian.cameron@sun.com>

	* common/gdm-common.[ch], daemon/misc.c, daemon/gdm-xdmcp-manager.c:
	  Fix to better calculate sockaddr length.  No longer set hints,
	  since the way we were doing it was broken.  hints_ai_family is not
	  a bitmask.  Patch by Robert Nelson <robertn@the-nelsons.org>.
	  Fixes bug #494817.

2007-10-31  Luca Ferretti  <elle.uca@libero.it>

	* data/icons/README: Added, with the list of currently installed
	icons and some info if you need to provide new named icons.

2007-10-31  Luca Ferretti  <elle.uca@libero.it>

	* gui/gdmflexiserver.desktop.in: "flexiserver", not "flexyiserver"

2007-10-31  Luca Ferretti  <elle.uca@libero.it>

	* data/icons/32x32/apps/gdm-setup.png: 
	This should never be there, sorry. Deleted from svn.

2007-10-31  Luca Ferretti  <elle.uca@libero.it>

	* pixmaps/16x16/Makefile.am:
	* pixmaps/32x32/Makefile.am:
	* pixmaps/48x48/Makefile.am:
	* pixmaps/Makefile.am:
	Update the icon cache only when exiting from pixmaps/ dir,
	plus remove old "gdm-setup" icon from build.

	* pixmaps/48x48/gdm-setup.png
	* pixmaps/32x32/gdm-setup.png
	* pixmaps/24x24/gdm-setup.png
	Deleted from svn; note that the 24x24 one wasn't used in build.

2007-10-31  Luca Ferretti  <elle.uca@libero.it>

	* gui/gdmflexiserver.desktop.in: Use new "gdmflexiserver" icon
	in launcher
	* gui/gdmsetup.desktop.in.in: Use new "gdmsetup" icon in
	launcher
	* gui/gdmsetup.c: (main): USe new "gdmsetup" icon as default
	window icon (gtk_window_set_default_icon_name)
	* gui/greeter/greeter_system.c: Use "gdmsetup" icon for
	Configure Login Manager menu entry.

2007-10-31  Luca Ferretti  <elle.uca@libero.it>

	* Makefile.am: Added new data/ directory to SUBDIRS.
	* configure.ac: Added new data/* directories to AC_OUTPUT.

2007-10-31  Luca Ferretti  <elle.uca@libero.it>

	* data/*: Added new data/ directory to svn, storing
	by now icons/ directory with new named icons for gdm:
	"gdmsetup" and "gdmflexiserver".
	See bugs #477799 and #477983.

2007-10-15 Brian Cameron <brian.cameron@sun.com>

	* Release 2.20.1:
	* configure.ac: Updated to new release version
	* NEWS: Updated.

2007-10-15  Brian Cameron  <brian.cameron@sun.com>

	* gui/gdmlogin.c, gui/greeter/gdmgreter_item_pam.c: Change
	  behavior of Tab so it acts like enter if the focus is on
	  the entry field.  Ctrl-Tab can be used for changing focus.
	  This fixes bug #433495.  Patch by Lo\357c Minier
	  <lool@dooz.org>.

2007-10-09  Brian Cameron  <brian.cameron@sun.com>

	* daemon/verify-crypt.c, daemon/verify-shadow.c, 
	  daemon/filecheck.c, daemon/gdm-xdmcp-manager.c: No longer
	  translate messages in debug.

2007-10-09  Brian Cameron  <brian.cameron@sun.com>

	* daemon/verify-crypt.c, daemon/verify-shadow.c: No longer print
	  username in error messages in case the user accidently types
	  their password in the username entry.  We should avoid logging
	  any passwords to syslog.  Addresses some problems in bug 
	  #484750.

2007-10-03  Brian Cameron  <brian.cameron@sun.com>

	* Decrease num_sessions when appropriate.  Otherwise GDM incorrectly
	  thinks the maximum number of XDMCP connections has been reached.
	  Fixes bug #478441.  Patch by Francis Giraldeau
	  <francis.giraldeau@revolutionlinux.com>.

2007-09-28  Brian Cameron  <brian.cameron@sun.com>

	* gui/gdmlogin.c, gui/greeter/greeter.c: Send a response before
	  exiting to avoid a hang.  Fixes bug #473480.  Patch by Ray
	  Strode <rstrode@redhat.com>.

2007-09-21  Brian Cameron  <brian.cameron@sun.com>

	* gui/gdmXnestchooser.c, gui/gdmsetup.c: Turn off debug message
	  logging.  Fixes bug #478318.

2007-09-21  Dave Fincher  <finchair@yahoo.com>

	Fixes bug #478805.
	* gui/greeter/themes/happygnome/happygnome-list.xml: Updated
	  happygnome-list.xml so that all elements display on 800x600 and
	  larger screen resolutions and elements dynamically adjust size and
	  position based on the screen resolution.
	* gui/greeter/themes/happygnome-list: Removed the options.png files
	  which  is not used in the happygnome-list theme
	* gui/greeter/themes/happygnome-list/Makefile.am:
	  Removed session.png file entry which is not used in the
	  happygnome-list theme.

2007-09-21  Dave Fincher  <finchair@yahoo.com>

	Fixes bug #478800.
	* gui/greeter/themes/happygnome/happygnome.xml: Updated happygnome.xml 
	  so that the bottom buttons and bar to display on 800x600 and larger
	  screen resolutions.
	* gui/greeter/themes/happygnome: Removed the options.png files which 
	  is not used in the happygnome theme
	* gui/greeter/themes/circles/Makefile.am:
	  Removed session.png file entry which is not used in the circles theme.

2007-09-20  Brian Cameron  <brian.cameron@sun.com>

	* configure.ac: Bump glib dependency to 2.12 since we now
	  use g_hash_table_remove_all.

2007-09-20  Dave Fincher  <finchair@yahoo.com>

	* gui/greeter/themes/circles/circles.xml: Updated circle.xml so that
	  the bottom buttons and bar to display on 800x600 and larger screen
	  resolutions.
	* gui/greeter/themes/circles: Removed the options.png and help.png
	  files which are not used in the circles theme
	* gui/greeter/themes/circles/Makefile.am:
	  Removed session.png and help.png file entries which were not used in
	  the circles theme.
	* AUTHORS: Added self to authors file.

2007-09-20 Brian Cameron <brian.cameron@sun.com>

	* daemon/gdm-daemon-config.c: Fix so that if the .dmrc file does
	  not exist, it is created.  Fixes bug #453916.  Patch by Brady
	  Anderson <brady.anderson@gmail.com>.

2007-09-19 Brian Cameron <brian.cameron@sun.com>

	* configure.ac, gui/Makefile.am: I discovered that GDM was getting
	  -lsocket and -lnsl from a different pc file, which is not
	  appropriate.  Fix gdm so we list these explicitely.  This is
	  needed on Solaris where we need to specify dependant libraries.

2007-09-18 Brian Cameron <brian.cameron@sun.com>

	* gui/gdmcommon.c: Set stdout/stderr to DEV_NULL when spawning
	  at_spi_registryd and the prefetch program.  This fixes a
	  hanging problem reported in bug #473480.  Patch by
	  Huang Peng <shawn.p.huang@gmail.com>

2007-09-17 Brian Cameron <brian.cameron@sun.com>

	* Release 2.20.0:
	* configure.ac: Updated to new release version
	* NEWS: Updated.
	* gui/gdmcommon.c, gui/Makefile.am: Properly propegate the new
	  atspidir to the c-file.  This fixes bug #471978.

2007-09-17 Brian Cameron <brian.cameron@sun.com>

	* configure.ac, gui/gdmcommon.c: Now allow users to specify the
	  location of at-spi-registryd via the --with-atspi-dir configure
	  argument.

2007-09-12 Brian Cameron <brian.cameron@sun.com>

	* gui/modules/dwellmouselistener.c: Fix casting so that it doesn't
	  generate warnings when you enter/leave various widgets.  Fixes
	  bug #440948.  Patch by Gerd Kohlberger <lowfi@chello.at>.

2007-09-12 Brian Cameron <brian.cameron@sun.com>

	* gui/gdmlanguages.c: Fix Macedonian language so that the
	  language appears in the local language.  Fixes bug #474530.
	  Patch by Arangel Angov <ufo@linux.net.mk>.

2007-09-12 Brian Cameron <brian.cameron@sun.com>

	* gui/modules/keymouselistener.c: Improve checking for input 
	  devices so it doesn't fail on Ubuntu, and we free memory
	  relating to the devices.  Fixes bug #440948.  Patch by 
	  Gerd Kohlberger <lowfi@chello.at>.

2007-09-12 Brian Cameron <brian.cameron@sun.com>

	* daemon/auth.c, common/gdm-common.c: Fix bug with IPv6 logic.  Fixes
	  bug reported in bug #376010.  Patch by Jacob Berkman
	  <jacob@gnome.org>.

2007-09-06 Brian Cameron <brian.cameron@sun.com>

	* Release 2.19.8:
	* configure.ac: Updated to new release version
	* NEWS: Updated.

2007-09-06  Brian Cameron  <brian.cameron@sun.com>

	* configure.ac: Add support for /usr/X11/bin/Xorg when
	  setting X_PATH, etc.  Patch by Laszlo Peter 
	  <Laszlo.Peter@sun.com>.

2007-09-01  Brian Cameron  <brian.cameron@sun.com>

	* daemon/gdm-daemon-config.c: Fix bug #470390 where GDM was not
	  properly executing a custom start script.  This relates to my
	  previous fix for bug #462613, which didn't fix this part.

2007-08-31  Brian Cameron  <brian.cameron@sun.com>

	* MAINTAINERS: Update so it is in the right format.
	* configure.ac: Fix bug from the last commit that caused the 
	  HALT_COMMAND to no longer get set.

2007-08-29  Brian Cameron  <brian.cameron@sun.com>

	* configure.ac: Make it possible to configure system dependant
	  options by setting environment variables before running
	  configure.  Patch by Laszlo Peter <Laszlo.Peter@sun.com>

2007-08-29  Brian Cameron  <brian.cameron@sun.com>

	* daemon/slave.c: Fix bug with ConsoleKit that occurs when
	  the session is going to migrate.  Previous code was failing
	  to send the notification when the greeter is not TYPE_FLEXI.
	  Fixes bug #461056.  Patch by Ian Jackson <iwj@ubuntu.com>

2007-08-28  Brian Cameron  <brian.cameron@sun.com>

	* gui/greeter/greeter_canvas_item.c: Set invisible character to '*' if
	  the configuration file does not specify to use invisible or circles.
	  This change was already fixed for gdmlogin, refer to 2007-06-04
	  entry.  Fixes bug #439089 for gdmgreeter.  Patch by Sebastien Bacher
	  <seb128@debian.org>.

2007-08-27 Brian Cameron <brian.cameron@sun.com>

	* daemon/verify-pam.c: When using gdm_verify_standalone_pam_conv
	  we need to send echo to FALSE when PAM_PROMPT_ECHO_OFF is
	  handled.  Fixes bug #470728.

2007-08-27 Brian Cameron <brian.cameron@sun.com>

	* Release 2.19.7:
	* configure.ac: Updated to new release version
	* NEWS: Updated.

2007-08-25  Brian Cameron <brian.cameron@sun.com>

	* gui/greeter/greeter.dtd: Fix bug #469759.  Patch by Dave
	  Fincher <finchair@yahoo.com>.
