2005-11-28 Brian Cameron * Release 2.13.0.2: * NEWS, configure.ac: Updated * docs/C/gdm.xml: Updated version/date and added new info about GET_CONFIG command. 2005-11-28 Brian Cameron * config/Makefile.am: Ensure gnome.desktop and default.desktop files have 644 perms. Fixes bug #322600. Patch provided by Andrew Benton . * daemon/gdmconfig.c: Correct spelling of GDM_KEY_XDMCP when HAVE_LIBXDMCP is not defined. 2005-11-23 Dennis Cranston * gui/gdmphotosetup.c: (browse_button_cb): Fix a double free. Remove unused function. 2005-11-23 Dennis Cranston * gui/gdmphotosetup.c, gui/gdmphotosetup.glade: Fix bug #317744, "Login photo dialog is awful", by simplifying the dialog. 2005-11-23 Brian Cameron * daemon/verify-crypt.c, daemon/verify-pam.c, Convert to using new gdmconfig interfaces. * daemon/choose.c, daemon/errorgui.c, daemon/gdm.c, daemon/gdmconfig.c, daemon/misc.c, daemon/slave.c, daemon/xdmcp.c, gui/gdmXnestchooser.c, gui/gdmconfig.c, gui/gdmlogin.c, gui/greeter/greeter_canvas_textm.c: Fix compiler warnings. Patch provided by Frederic Crozat on gdm-list@gnome.org. Also make sure that all functions have a space before the "(" to better follow coding style guide. * daemon/cookie.c, daemon/display.c, daemon/gdm-net.c, daemon/getvt.c, daemon/md5.c, daemon/server.c, daemon/verify-pam.c, gui/gdmchooser.c, gui/gdmcommon.c, gui/gdmdynamic.c, gui/gdmlanguages.c, gui/gdmuser.c, gui/greeter/greeter.c, gui/greeter/greeter_action_language.c, gui/greeter/greeter_action_canvas_item.c, gui/greeter/greeter_session.c, gui/greeter/greeter_system.c: Make sure that all functions have a space before the "(" to better follow coding style guide. 2005-11-22 Brian Cameron * daemon/getvt.c: Fix ifdefs again. 2005-11-22 Brian Cameron * gui/modules/keymouselistener.c, gui/modules/dwellmouselistener.c: Backing out this fix. It is not needed. 2005-11-22 Brian Cameron * gui/modules/keymouselistener.c, gui/modules/dwellmouselistener.c: Fix build on Darwin. Fixes bug #322085. Patch provided by dmacks@netspace.org. 2005-11-22 Brian Cameron * gui/gdmconfig.c: Remove value_set_hash since it isn't really needed. Further cleanup. 2005-11-22 Brian Cameron * daemon/gdmconfig.c, gui/gdmconfig.c: Minor tweaks. Honor doing_update when doing translations and don't translate Welcome or RemoteWelcome in the daemon since it does not make sense to do this here. 2005-11-22 Brian Cameron * daemon/cookie.c, daemon/gdm.c, daemon/xdmcp.c, gui/gdmchooser.c, gui/greeter/greeter_events.c, gui/greeter/greeter_item_ulist.c, gui/greeter/greeter_parser.[ch], gui/modules/dwellmouselistener.c, gui/modules/keymouselistener.c: Fix compiler warnings. Fixes bug #322053. Patch provided by Frederic Crozat. Patch required some work to apply to CVS head. 2005-11-22 Brian Cameron * gui/gdmlogin.c: Now use GDK_RGB_DITHER_MAX so that GDM always displays a nice background regardless of X configuration (X in 16bpp mode). Fixes bug #322029. Patch provided by Frederic Crozat. 2005-11-22 Brian Cameron * configure.in, vicious-extensions/ve-misc.c: Fix build on Darwin. Fixes bug #322085. Patch provided by dmacks@netspace.org. 2005-11-22 Brian Cameron * NEWS: Updated so it has 2.8.0.6 info. 2005-11-22 Brian Cameron * daemon/getvt.c: Fix get_free_vt_linux so it returns the correct VT. Fixes bug #322137. Patch by Frederic Crozat. 2005-11-21 Brian Cameron This further improves GDM configuration so that now only the GDM daemon parses and manages the configuration file. Most client programs use the GET_CONFIG command to access needed data. This simplifies the configuration logic and puts all configuration parsing in one place and gets rid of a lot of global variables that were making the code look messy. This also gets rid of several places where gnome_config deprecated functions were being used. I have cleaned up the code so that the vicious-extensions code is more localized in gui/gdmconfig.[ch]. Some work is left to do: gdmflexiserver still uses gnome_config functions and gdmconfig should use the new functions for reading from the configuration file. Some compile issues fixed as highlghted by dmacks@netspace.org to fix bug #322083. * NEWS: Fixed comment. * daemon/gdm.h: Further cleanup of #define's so that they better match the names of the config keys. * daemon/gdm.c: Now GET_CONFIG returns "OK" if the key is valid but has no value when it is a string. Now free return value from gdm_config_to_string. * daemon/Makefile.am, gui/greeter/Makefile.am: Now the daemon validates the greeter's theme directory, so pass the default value into the daemon and not the greeter. * daemon/gdmconfig.h: Added gdm_is_valid_key and corrected prototype for gdm_set_user_session_lang. * daemon/slave.c: Fix warning and compile errors. * daemon/gdmconfig.c: Further fleshed out. Now it supports a few additional keys I overlooked. It now validates all keys used by the slaves. Now handles translated string. Further refactored the code. * gui/Makefile.am: Added gdmconfig.[ch] to common library. * gui/gdmconfig.[ch]: New functions for accessing configuration data for slaves. * gui/gdmXnestchooser.c, gui/gdmlanguages.c, gui/gdmsession.h, gui/gdmuser.h, gui/gdmwm.c, gui/misc.c, gui/greeter/greeter_item_capslock.c: gui/greeter/greeter_item_pam.c: No longer include vicious.h/viciousui.h, instead gdmconfig.h. * gui/gdmcomm.c: Fix gdm_check_comm to no longer require passing in the config file name. * gui/gdmcommon.[ch]: Get rid of old gdm_common_*_same functions that are replaced with new gui/gdmconfig logic. Now functions that access config data use the new functions. * gui/gdmflexiserver.c: Now displays the localized string when you use GET_CONFIG to access a translatable string. * gui/gdmconfig.c: Now calls update_key in addition to update_greeters when updating greeter config data, since the daemon needs to update the values now when they change. * gui/gdmchooser.c, gui/gdmdynamic.c, gui/gdmlogin.c, gui/gdmphotosetup.c, gui/gdmsession.c, gui/gdmuser.c, gui/gdm/gdmXnestchooser.c, gui/greeter/greeter.c, gui/greeter/greeter_action_language.c, gui/greeter/greeter_canvas_item.c, gui/greeter/greeter_item.c, gui/greeter/greeter_item_customlist.c, gui/greeter/greeter_item_timed.c, gui/greeter/greeter_item_list.c, gui/greeter/greeter_parser.c, gui/greeter/greeter_session.c, gui/greeter/greeter_system.c: Updated to use new configuration functions. * vicious-extensions/glade-helper.c: Now include stdlib.h to avoid compiler warnings. * gui/greeter/greeter.c: Remove unused gdm_kill_thingies function. 2005-11-19 Jürg Billeter * configure.ac: Really check for X server in prefix /usr 2005-11-16 Brian Cameron * daemon/getvt.c: Fix #ifdef's. 2005-11-15 Brian Cameron * daemon/getvt.c: Change made on 11/03 to make GDM use VT_GETSTATE for peeking VT freeness broke BSD builds. Put back code for BSD. Linux will continue to use VT_GETSTATE. Fixes bug #321493.