2009-04-08 Brian Cameron * daemon/gdm-session-solaris-auditor.c: Correct reversed if-test. * daemon/gdm-session-worker.c: Fix setting of PAM_TTY on Solaris. Also make sure that the auditor is provided the username on failed login by getting PAM_USER. Without this patch, if you select the "Other" button and have a failed login, username will not be set. 2009-04-01 Hans Petter Jansson Bug 568590 - Environment doesn't get passed on to jobs, leading to unlocalized PAM messages. * daemon/gdm-session-worker-job.c (listify_hash): Make sure values are not NULL. (copy_environment_to_hash): New function. (get_job_environment): Actually copy the environment into the hash to get passed on to job. 2009-03-31 Kjartan Maraas * gui/simple-chooser/gdm-host-chooser-dialog.h: * gui/simple-chooser/gdm-host-chooser-widget.h: * gui/simple-greeter/gdm-cell-renderer-timer.h: * gui/simple-greeter/gdm-chooser-widget.h: * gui/simple-greeter/gdm-language-chooser-dialog.h: * gui/simple-greeter/gdm-layout-chooser-dialog.h: * gui/simple-greeter/gdm-option-widget.h: * gui/simple-greeter/gdm-user-chooser-dialog.h: * gui/simple-greeter/gdm-user.h: * gui/simple-greeter/libnotificationarea/na-tray-manager.c: * gui/simple-greeter/libnotificationarea/na-tray-manager.h: * gui/simple-greeter/libnotificationarea/na-tray.h: * gui/simple-greeter/libnotificationarea/obox.c: * gui/simple-greeter/libnotificationarea/obox.h: * gui/user-switch-applet/gdm-entry-menu-item.h: Use single includes for gtk+ 2009-03-27 Ray Strode Fix assorted compiler warnings. * gui/simple-greeter/gdm-user-chooser-widget.c (add_user), (get_stock_person_pixbuf), (get_logged_in_pixbuf): Add some widget casts. * gui/simple-greeter/gdm-languages.c (make_codeset_canonical_for_locale): remove unused variable * gui/simple-greeter/gdm-layouts.c: Make the layout member of LayoutData const char *. * gui/simple-greeter/gdm-remote-login-window.c (xserver_died), (stop_xserver): drop unused functions * gui/simple-greeter/gdm-language-option-widget.c (gdm_language_option_widget_set_current_language): drop misplaced & * gui/simple-greeter/gdm-user.c (curved_rectangle): don't assume width == 0, height == 0 conditions will work reliably, instead check for < EPSILON * common/gdm-common.[hc] (gdm_make_temp_dir): Make the constness of the return value and inout argument reflect the way it's being called. * daemon/gdm-display-access-file.c (_create_xauth_file_for_user): Make dir_name const * daemon/gdm-display.c (gdm_display_real_manage): drop unused variables 2009-03-23 Ray Strode Bug 573461 - Load user's settings through "other entry" * daemon/gdm-session-worker.c (gdm_session_worker_update_username): Don't try to load new user settings until after updating username state. This allows saved settings to load when choosing "Other" instead of the associated name from the chooser. Based on Patch by Mingxi Wu 2009-03-19 Ray Strode Bug 575949 – User switcher hangs when {GlobalFaceDir}/{username} exists * gui/simple-greeter/gdm-user.c (gdm_user_render_icon): Fix double free. Patch by Jeffrey S. Smith. 2009-03-19 Ray Strode * daemon/gdm-display-access-file.c (_get_auth_info_for_display): Use gethostname() instead of g_get_host_name(), in xauth database since the latter doesn't give up to date information when the hostname changes. 2009-03-19 Ray Strode * daemon/gdm-display-access-file.c (_create_xauth_file_for_user), (_clean_up_stale_auth_subdirs): Remove empty auth subdirs which can creep in from system crashes. 2009-03-16 Ray Strode Give greeter and slave access to display independent of hostname. * daemon/gdm-slave.c (gdm_slave_connect_to_x11_display): XSetAuthorization before XOpenDisplay so that the slave can connect even if hostname changes. Call XAddHosts after XOpenDisplay so that clients run by the slave and the greeter can connect even if the hostname changes. 2009-03-16 Ray Strode Fix the GetX11Cookie dbus method * daemon/gdm-display.xml: Send the cookie as a byte array instead of utf-8 string * daemon/gdm-display.[ch] (gdm_display_get_x11_cookie): pass in a GArray instead of the more natural char array and size pointers to make dbus-glib happy. * daemon/gdm-xdmcp-display-factory.c (gdm_xdmcp_handle_request): Update to use new get_x11_cookie signature. 2009-03-16 Ray Strode * data/greeter-autostart/gnome-power-manager.desktop.in.in: Don't try to start gnome-power-manager in Initialization phase, since it doesn't know to register with the session manager like INIT apps are supposed to. 2009-03-16 Ray Strode * daemon/gdm-slave-proxy.c (spawn_child_setup): * daemon/gdm-server.c (server_child_setup): * daemon/gdm-welcome-session.c (spawn_child_setup): Use O_APPEND when opening log files. 2009-03-16 Ray Strode * configure.ac: Post release bump