2005-08-08 Brian Cameron * Release 2.8.0.2. * NEWS: Updated * gui/gdmsetup.glade: Fixed strings, refer to bugs #312956, 312959, and 312960. * daemon/gdm.c: Fixed Multicast compile issue when IPv6 is not enabled. * configure.in, config/Makefile.am: Fixed "make distcheck" issue. 2005-08-08 Brian Cameron This change was approved by the release team since it affects UI after the UI freeze. * daemon/gdm.[ch], gui/gdmsetup.c : Change GDM_KEY_SERVERS to GDM_KEY_SECTION_SERVER and added GDM_KEY_SECTION_GREETER. There already is a GDM_KEY_GREETER, so for section #defines it's better to include "SECTION" in it. * gui/gdmsetup.c, gui/gdmsetup.glade: Made a number of UI improvements. Calum Benson is doing a UI review of gdmsetup and I made the following fixes based on his recommendations. No longer have mnemonics on the tabs since this is against HIG rules, changes "Face Browser" tab to "Users" since the Include/Exclude list really also affects Automatic/Timed login and not just the Face Browser. Added label to the Users tab to explain what the tab does, since it wasn't too clear before. Improved description of "Disallow TCP connections" on the security tab so it is more clear what this does (and highlight it doesn't affect XDMCP). I also fixed the sensitivities when "Include All Users" is checked. Previously it was making both the Include and Exclude list insensitive - it really should just make the Include list and buttons to move between Incude/Exclude insensitive. This is now working. 2005-08-04 Brian Cameron * daemon/server.c: Fix malformed string. * daemon/gdm.c, daemon/gdm.h: Fixed GET_CONFIG command so it works. Before it only printed out the value if it had a value defined in the gdm.conf file. Now it prints out the runtime value. For values that are only used by other programs, it prints out the compiled-in default if no value exists in gdm.conf. Added comments to gdm.h to make it clear what work developers should do when adding new configuration options. * gui/gdm.h, config/gdm.conf.in: Fixed default value for GtkRC so it's %datadir%/themes/Default/gtk-2.0/gtkrc instead of Default/gtk/gtkrc. 2005-08-04 Brian Cameron * daemon/gdm.h, gui/gdmlogin.c, gui/greeter/greeter.c: GDM is more backwards compatible. The change to add DefaultWelcome and DefaultRemoteWelcome to the config file would cause old configuration files to ignore the setting. Now if the gdm.conf file is missing the DefaultWelcome or DefaultRemoteWelcome key it goes ahead and uses the message in gdm.conf (unless the message is the same as the default anyway). 2005-08-04 Brian Cameron Since this returns the default interfaces back to the way it was in the previous version, I do not think that this requires release team approval. * gdm.h: Change "xdmcp" to "XDMCP" in comments. * acconfig.h, configure.in, daemon/Makefile.am, daemon/gdm.c, Change to the way the patch introduced on 07/22 works. Now GDM continues to install the default gdm.conf file in %sysconfdir%/gdm unless the user runs configure with the --with-configdir option. The daemon will now first look in this location and then look in the %sysconfdir%/gdm directory for the config file. This allows GDM to better support system-wide configuration, but leaves the config file in %sysconfdir% for systems that do not need this feature. * docs/C/gdm.xml: Updated docs. * README.install: Updated text to include information about HaltCommand and RebootCommand. 2005-07-26 Tommi Vainikainen This change was given release team approval since it changes UI. * gui/gdmsetup.c (setup_gui), gui/gdmsetup.glade: Removed special option for 24 hour time format. * gui/gdmcommon.h, gui/gdmcommon.c (gdm_common_select_time_format): Added function to parse between "auto", "true", and "false" in "Use24Clock" setting. * gui/gdmlogin.c (gdm_login_parse_config), gui/greeter/greeter.c (greeter_parse_config): Use gdm_common_select_time_format(...). * docs/C/gdm.xml: Documented new default "auto" option for Use24Clock, which selects 24 hour time format by locale (translation). Fixes bug #145549. 2005-07-25 Brian Cameron * config/Makefile.am: Now installs gdm.conf to /usr/share/gdm. Fixed "make distcheck". 2005-07-25 William Jon McCann * .cvsignore: Added depcomp and stamp-h1 * daemon/slave.c (ask_migrate) (gdm_slave_check_user_wants_to_log_in): * daemon/gdm.[ch] (gdm_config_parse): * config/gdm.conf.in: Add a configuration option AlwaysLoginCurrentSession that will automatically switch the user back to their previous session without asking. This is off by default for now. Fixes bug #311415. 2005-07-25 William Jon McCann * gui/gdmcommon.c (gdm_common_get_config_file): Don't return a pointer into the middle of a string that must be freed. Fixes bug #311499. * gui/gdmphotosetup.c (main): Free config file string again. 2005-07-25 William Jon McCann * daemon/gdm.c: Fix build by only using GDM_KEY_MULTICAST when IPV6 is enabled. 2005-07-25 William Jon McCann * gui/faces/butterfly.png: Somehow missed adding this file. * gui/faces/.cvsignore: Add file. 2005-07-24 William Jon McCann * gui/greeter/greeter_item_ulist.c (check_for_displays) (greeter_generate_userlist, greeter_populate_user_list): A few more tweaks to the face browser. * gui/gdmphotosetup.c (maybe_migrate_old_config): Fix leak. (main): Freeing result of gdm_common_get_config file causes memory corruption. So, don't free it until we find the problem. 2005-07-24 William Jon McCann * gui/faces/Makefile.am: * gui/face/dice.jpg: * gui/face/sky.jpg: Updated images. * gui/face/astronaut.jpg: * gui/face/baseball.png: * gui/face/butterfly.png: * gui/face/cat-eye.jpg: * gui/face/chess.jpg: * gui/face/coffee.jpg: * gui/face/energy-arc.jpg: * gui/face/fish.jpg: * gui/face/flake.jpg: * gui/face/flower.jpg: * gui/face/grapes.jpg: * gui/face/guitar.jpg: * gui/face/launch.jpg: * gui/face/leaf.jpg: * gui/face/lightning.jpg: * gui/face/penguin.jpg: * gui/face/puppy.jpg: * gui/face/soccerball.png: * gui/face/sunflower.jpg: * gui/face/sunset.jpg: * gui/face/tennis-ball.png: * gui/face/yellow-rose.jpg: New images. All derived from images on wikipedia and wikimedia with free licenses. * gui/face/bonfire.jpg: * gui/face/cdrom.jpg: * gui/face/clock.jpg: * gui/face/hollyleaf.jpg: * gui/face/lamas.jpg: * gui/face/seal.jpg: * gui/face/skyline.jpg: * gui/face/daisy.jpg: Removed. 2005-07-22 Brian Cameron * configure.in: Bumped version to 2.8.0.2 since a new interface was added, the gdmflexiserver command, GET_CONFIG_FILE was added. * daemon/Makefile.am, daemon/gdm.[ch], daemon/server.c, daemon/xdmcp.c, docs/C/gdm.xml, gui/Makefile.am, gui/gdmXnestchooser.c, gui/gdmchooser.c, gdm/gdmcomm.[ch], gui/gdmcommon.[ch], gdm/gdmdynamic.c, gui/gdmflexiserver.c, gui/gdmlogin.c, gui/gdmphotosetup.c, gui/gdmsetup.c, gui/greeter/greeter.c: If /etc/gdm/gdm.conf does not exist, then GDM will look in /usr/share/gdm/gdm.conf. Since /usr/share can be shared across multiple systems, this makes it easier for sysadmins to configure sitewide settings for GDM2 instead of having to customize /etc/gdm/gdm.conf on all the machines separately. Now GDM installs the gdm.conf and factory-gdm.conf files in the /usr/share/gdm location. The gdm daemon needs to be restarted to use a different configuration file. All applications that use the config file now use the new GET_CONFIG_FILE gdmflexiserver command to get the configuration file to use. This way the applications don't get confused if, say, the sysadmin creates an /etc/gdm/gdm.conf file after the server was started using one in /usr/share/gdm. Both the gdm daemon and gdmsetup now allow a --config option so the sysadmin can specify their own location for the config file. Moved GdmMulticast and GdmMulticastAddr to gdm.c so we don't access the config file a second time in xdmcp.c. Corrected grammar for some messages. Changed g_access() to access() in gdmphotosetup.c since this is a new 2.7 usntable function. I will change it back when 2.8 is released. * config/Makefile.am: Changed install location of gdm.conf and factory-gdm.conf to %datadir%/gdm 2005-07-21 William Jon McCann * gui/gdmphotosetup.glade: New file. * gui/Makefile.am: Add glade file. * gui/gdmphotosetup.c: Rewritten to be more HIG compliant, use GtkIconView, include preview in file selector, and be instant apply. 2005-07-21 Brian Cameron * gui/gdmsetup.c: C89 compliance patch provided by Jens Granseuer. Fixes bug #311097. 2005-07-21 Brian Cameron * daemon/verify-crypt.c, daemon/verify-pam.c, daemon/verify-shadow.c: Remove unused gtkmessagedialog.h header file. * gui/gdmchooser-strings.c, gui/gdmchooser.gladep, gui/gdmsetup-strings.c, gui/gdmsetup.gladep: Removing these files from the module since they are not needed. The *.glade files are now translated directly. This fixes bug #310857. 2005-07-20 William Jon McCann * gui/greeter/themes/happygnome-list/happygnome.xml: Tweak the colors in the user list. Make the background translucent behind the user list. * gui/greeter/greeter_item_ulist.c (greeter_populate_user_list): Make real name bold if it is available. Design for humans. (force_no_tree_separators): Set treeview style so that we don't get strange lines between tree rows when we set a userlist color in the theme. (greeter_item_ulist_setup): Only shrink the size of the user list. Set the default widget style. * gui/greeter/greeter_canvas_item.c (greeter_item_create_canvas_item): Don't set rules hint for userlist treeview. 2005-07-20 Brian Cameron * utils/gdm-dmx-reconnect-proxy.c: Fixed grammar, fixing bug #310958. 2005-07-20 Brian Cameron * configure.in: TCP Wrappers now works on Solaris. 2005-07-20 Brian Cameron * gui/Makefile.am, gui/gdmcommon.c, gdmwm.c: Moved gdm_common_show_info_msg, gdm_common_msg and gdm_common_query from gdmcommon.c to gdmwm.c. Now no longer include gdmwm.[ch] in libgdmcommon.a since these are in libgdmwm.a: This is cleaner since these 3 functions reference gdmwm functions. This fixes a link problem on Solaris caused because the Xinerama functions were getting referenced in gdmsetup even though they are unused. * gui/gdmphotosetup.c: Now use chmod instead of g_chmod. 2005-07-19 Brian Cameron * gui/gdmphotosetup.c: Backed out calls to g_chmod since gdm2 should not depend on glib functions only available in an unstable build (2.7). 2005-07-19 William Jon McCann * gui/greeter/greeter_item_ulist.c (gdm_greeter_users_init): Use common function for loading face images. * gui/greeter/greeter.c (greeter_ctrl_handler): Update for new common code. * gui/gdmuser.c (gdm_user_alloc): Use common function for loading face images. (setup_user): Define as static. * gui/gdmlogin.c (gdm_kill_thingies): Make static. (gdm_login_ctrl_handler): Update for new gdm_common_login_sound. Add gdm_kill_thingies before all abort calls since they are not in gdm_common_abort anymore. (main): Use new common get face function. * gui/Makefile.am: * gui/gdmcommon.c (gdm_common_show_info_msg, gdm_common_login_sound): Make more common by not depending on external variables. (gdm_common_abort): Make more common by not depending on external functions. (gdm_common_get_face): Add a common function for loading face images. * daemon/slave.c (path_is_local, check_user_file) (check_global_file, get_facefile_from_gnome2_dir_config) (get_facefile_from_home, get_facefile_from_global, run_pictures): Don't stat or read from remote home directories. Fixes #310545. * configure.in: * daemon/Makefile.am: * daemon/fstype.c: Add ability to detect filesystem types. * gui/greeter/greeter_item_ulist.c (gdm_greeter_users_init): * gui/gdmlogin.c (main): Try GTK+ themed icon stock_person before falling back to nobody.png. Fixes #310906. 2005-07-19 William Jon McCann * gui/gdmlogin.c (gdm_login_gui_init): Use HIG style button layout. Fixes #310549. 2005-07-19 Tommi Vainikainen * config/XKeepsCrashing, config/Xsession.in, daemon/display.c, daemon/gdm.c, daemon/slave.c, docs/C/gdm.xml, gui/gdmXnestchooser.c, gui/gdmchooser.c, gui/gdmcomm.c, gui/gdmlogin.c, gui/gdmphotosetup.c, gui/gdmsetup.c, gui/gdmsetup.glade, gui/greeter/greeter.c, gui/greeter/greeter_session.c, gui/greeter/greeter_system.c: Cleanup terminology, and fix many strings. See bug #310453. Also fixes bug #308287. List of the most important string changes: machine -> computer program -> application or command superuser -> root gdm, Gdm -> GDM See the Language chapter in GNOME HIG for more information. 2005-07-14 Brian Cameron * daemon/getvt.c, daemon/gdm.c: Support DragonFly VT since it is the same as FreeBSD. Patch provided by Joerg Sonnenberger . Fixes bug #310218. 2005-07-13 William Jon McCann * gui/gdmphotosetup.c (main): Use new gstdio functions and set correct permission on .face. 2005-07-11 Brian Cameron * configure.in: Cleaned up configure file. * gui/gdmsession.c: Changed "Gnome" to "GNOME".