2007-05-14 Brian Cameron * Release 2.19.1: * NEWS: Updated. * docs/C/gdm.xml: Updated to say release 2.19.1. * README.install: Minor update to Solaris recommended configuration. 2007-05-11 Brian Cameron * config/Xsession.in: Remove failsafe logic since it is no longer used. The gnome-session-start function in slave.c starts the xterm directly. But when that change was made, this cruft was not removed. 2007-05-11 Brian Cameron * acconfig.h, configure.ac, daemon/slave.c, gui/modules/keymouselistener.c, gui/modules/dwellmouselistener.c: Add ctrun support which can be enabled via --with-ctrun. This is a Solaris only feature that is required because GDM is started via svcadm(1M) service. Child processes (such as the session, scripts, and AT programs) need to separate themselves from the service so that if any subprocess core-dumps it doesn't cause a GDM restart. I also cleaned up the logic in gnome-session-start a lot by using a GString and appending the command to it. This makes things cleaner since the command is affected by ctrun and Trusted Solaris. The previous approach of setting argv directly was a mess. This makes this function far more maintainable. 2007-05-11 Brian Cameron * daemon/gdm-daemon-config.c: Fix gdm_daemon_check_permissions so it updates the permissions for the SERV_AUTHDIR directory not the LOGDIR directory. This bug was introduced when the config logic was rewritten. 2007-05-10 Brian Cameron * daemon/slave.c: Fix handling of AlwaysLoginCurrentSession and DoubleLoginWarning so it works for the non-migratable case (for Xnest, XDMCP, etc.). Fixes bug #435552. 2007-05-10 Brian Cameron * daemon/gdm.c: In debug message handle when display is NULL to avoid core dump on Solaris. 2007-05-09 Brian Cameron * configure.ac: Fix check for Xserver to work on Solaris also. 2007-05-09 Brian Cameron * configure.ac: Fix check for Xserver to work for Debian and Ubuntu. Fixes bug #436879. Patch by Lo\357c Minier 2007-05-09 Brian Cameron * daemon/misc.c: In gdm_fdgetc must used an unsigned char buffer here because the GUI sends username/password data as utf8 and the daemon will interpret any character sent with its high bit set as EOF unless we used unsigned here. Patch by Lo\357c Minier 2007-05-09 Brian Cameron * daemon/slave.c: No longer unset MAIL when starting a user session. Now set PWD before starting a user session which fixes problems when the user's $HOME directory is a symlink. Fixes bug #436803. Patch by Lo\357c Minier 2007-05-08 Brian Cameron * docs/gdm.1: Now refer to full documentation in "Applications / System Tools" section rather than "GNOME / System". Fixes bug #436807. Patch by Lo\357c Minier 2007-05-08 Loïc Minier * config/gdm.conf.in: Fix misc typos. Fixes bug #436814. 2007-05-08 Brian Cameron * daemon/verify-pam.c: When we receive PAM_AUTHINFO_UNAVAIL just display the default "authentication failed" message. This ensures that the error message is the same for invalid user and incorrect password, making it harder to tell whether an account is a valid one or not. Fixes bug #436812. Patch by Lo\357c Minier 2007-05-08 Brian Cameron * config/PostLogin: Change reference from $LOGIN to $LOGNAME in documentation comment. Fixes bug 436805. Patch by Lo\357c Minier 2007-05-08 Brian Cameron * gui/greeter/greeter.c: Check for existance of a theme before selecting a random theme. Fixes bug #436800. Patch by Lo\357c Minier 2007-05-08 Brian Cameron * daemon/verify-pam.c: Avoid starting timed login if a username is already entered. Fixes bug #436797. Patch by Lo\357c Minier 2007-05-02 Brian Cameron * daemon/gdm.c: Fix problem causing SET_LOGOUT_ACTION and SET_SAFE_LOGOUT_ACTION to not work. 2007-05-01 Brian Cameron * daemon/gdm-daemon-config.c: Fix return of gdm_daemon_config_update_key so that it returns TRUE when the key is valid and FALSE when the key is not valid. This fixes the UPDATE_CONFIG command so it doesn't return an error message saying it didn't recognize the key, when it fact it is a valid key. Also fixed "xdmcp/PARAMETERS" so we check return codes more nicely. Fixes bug #428657. 2007-05-01 Brian Cameron * daemon/display.[ch], daemon/server.[ch], daemon/gdm.c, daemon/gdm-daemon-config.c: Rename gdm_server_alloc to gdm_display_alloc since this function really initializes this display structure and belonds in display.c rather than in server.c. 2007-05-01 Brian Cameron * daemon/display.[ch], daemon/server.c, daemon/slave.c, daemon/gdm-daemon-config.[ch], docs/C/gdm.xml: Add optional X-Gdm-XserverArgs key to the GDM desktop files. If this is set in the desktop file, then GDM will restart the Xserver with the additional arguments specified. This allows people to create sessions that require special Xserver flags (e.g. for accessibility or to use a session that requires special Xserver extensions to be turned on, etc.) This implements enhancement request #326771. Patch by Ron Yorston . I had to rework the patch quite a bit to get it to compile against the latest code. Also added a test so that any such extra arguments are *not* used when using Xnest since this "restarting" feature does not work with Xnest. * daemon/gdm.c: Minor cleanup. 2007-05-01 Brian Cameron * docs/C/gdm.xml: Improve docs for new "background" feature. 2007-05-01 Changwoo Ryu * configure.ac: Remove docs/ko/Makefile output for gnome-doc-utils migration. 2007-04-30 Frederic Crozat * gui/gdmcommon.c: (gdm_common_set_root_background): * gui/gdmcommon.h: * gui/gdmlogin.c: (setup_background): * gui/greeter/greeter.c: (process_operation), (key_press_event), (main): * gui/greeter/greeter.dtd: * gui/greeter/greeter_canvas_item.c: (greeter_item_create_canvas_item): * gui/greeter/greeter_item.c: (greeter_item_info_new): * gui/greeter/greeter_item.h: * gui/greeter/greeter_parser.c: (parse_items), (hide_item), (greeter_show_only_background): * gui/greeter/greeter_parser.h: * gui/greeter/themes/circles/circles.xml: * gui/greeter/themes/happygnome-list/happygnome.xml: * gui/greeter/themes/happygnome/happygnome.xml: Add support for root background when login is accepted (bug #322056). * gui/greeter/greeter_item_pam.c: (greeter_item_pam_error_set): Code cleanup. 2007-04-30 Brian Cameron * daemon/gdm-xdmcp-manager.c: Add include of sys/ioctl.h to fix building problem on Gentoo. Fixes bug #434458. Patch by Ed Ed Catmur . 2007-04-24 William Jon McCann * common/test-config.c: (load_servers_group): Cast gsize to int for printf. Patch by Saleem Abdulrasool . Fixes bug #432830. 2007-04-24 Brian Cameron * daemon/misc.[ch], daemon/auth.c, daemon/misc.c: Be more clever about setting umask. Now gdm_safe_fopen_w and gdm_safe_fopen_ap takes a perm argument so that the open can specify the mode rather than having to use umask to cause the mode to be set properly. In daemon/auth.c, no longer set umask to 022 immediately before calling "goto try_user_add_again" since the umask is reset to 077 right after the goto label. Patch by Peter Baumann . Partially fixes bug #305931. 2007-04-24 Brian Cameron * common/Makefile.am: Fix so libgdmcommon.a is referenced without full path. Fixes bug #432831. Patch by Saleem Abdulrasool . 2007-04-24 Brian Cameron * daemon/filecheck.c, gui/gdmuser.c: Fix include order to correct compile issues on some platforms where uid_t isn't found. Patch by Jens Granseuer . Fixes bug #432686.