1. 12 Jan, 2006 1 commit
    • Brian Cameron's avatar
      : Rename "shutdown" to "shut down" or "halt" and rename "capslock" to · 9d1a8584
      Brian Cameron authored
      2006-01-11  Brian Cameron  <brian.cameron@sun.com>
              * daemon/slave.c, docs/C/gdm.xml, gui/greeter/greeter_parser.c:: Rename
                "shutdown" to "shut down" or "halt" and rename "capslock" to
                "Caps Lock" since these are the recommended wordings suggested by
                Calum Benson.  Also corrected a few errors in the stock labels.
  2. 09 Jan, 2006 1 commit
  3. 07 Jan, 2006 2 commits
  4. 06 Jan, 2006 1 commit
    • Brian Cameron's avatar
      Fix Prefetch command so that there is a needed "@" before the argument to · 4f46297e
      Brian Cameron authored
      2006-01-04  Brian Cameron  <brian.cameron@sun.com>
              * configure.ac, docs/C/gdm.xml, config/gdm.conf.in: Fix
                Prefetch command so that there is a needed "@" before the
                argument to gdmprefetch.  Padraid O'Briain pointed out this
                oversight.  Made docs a bit more clear to highlight the usage
                of this "@" character.
              * gui/greeter.c, gui/greeter/greeter_item.c,
                gui/greeter/greeter_system.c: Now call gdm_working_command_exists
                for halt/reboot/suspend/configurator once at startup and cache
                the values in globals so we don't have to keep calling this
                function over and over while gdmgreeter runs.  Padraig noticed
                that this function causes a large number of calls to stat which
                are easily avoided by caching.
  5. 05 Jan, 2006 1 commit
    • Brian Cameron's avatar
      Fix problem with client not properly counting the number of connections, · eb2cc614
      Brian Cameron authored
      2006-01-03  Brian Cameron  <brian.cameron@sun.com>
              * gui/gdmcommon.c: Fix problem with client not properly counting
                the number of connections, and make logic more robust so when
                it receives an "ERROR 200 Too many messages" it will close and
                reopen the connection and try again rather than just fail.
              * configure.ac, configure/Makefile.am: Add loginpreloadlist
              * utils/prefetch.c: Now handle comments that start with "#" in
                the preloadlist file.
              * daemon/gdm.h, daemon/gdmconfig.c, config/gdm.conf, gui/gdmlogin.c,
                gui/gdmcommon.[ch], gui/greeter/greeter.c: Now PostDisplayProgram is
                PreFetchProgram.  Fixed some comments in gdm.h.
              * daemon/gdm.c: Now KEY_PRE_FETCH_PROGRAM is only returned to the
                first slave that asks for the value, ensuring the prefetch only
                happens the first time a greeter is displayed.
              * docs/C/gdm.xml: Rewrote the Introduction section so it is more
                clear, made improvements to the Accessibility section, and fixed
                a number of formatting issues.  Now a separate Security section.
                Updated docs to reflect PreFetchProgram change.
              * gui/gdmflexiserver.c: Clean up the code a little.
  6. 02 Jan, 2006 1 commit
    • Brian Cameron's avatar
      Updated Updated version/date. · 849269a9
      Brian Cameron authored
      2006-01-02  Brian Cameron  <brian.cameron@sun.com>
              * Release
              * NEWS, configure.ac: Updated
              * docs/C/gdm.xml: Updated version/date.
  7. 25 Dec, 2005 1 commit
    • Brian Cameron's avatar
      Happy holidays. Some bug fixes. · 5e57744d
      Brian Cameron authored
      2005-12-24  Brian Cameron  <brian.cameron@sun.com>
              Happy holidays.  Some bug fixes.
              * daemon/gdm.h, daemon/gdmconfig.c, daemon/slave.c,
                gui/gdmlogin.c, gui/greeter/greeter_item_timed.c:
                Fix so that timed/automatic enable is checked and
                automatic/timed login is only turned on if they are
                enabled.  Fix so greeters restart if timed login is
                changed in gdmsetup.  Fixes bug #324337.
              * gui/gdmcommon.c, gui/gdmlogin.c, gui/greeter/greeter.c,
                gui/greeter/greeter_item.c, gui/greeter/greeter_parser.c:
                Now gdmlogin and gdmcommon use the same character sequences
                with Welcome/RemoteWelcome messages.  Fixes bug #322711.
              * docs/C/gdm.xml: Document how character sequences work with text
                labels and Welcome/RemoteWelcome messages.
              * gui/gdmcommon.[ch], gui/gdmchooser.c,
                gui/greeter/greeter_canvas_item.c, gui/greeter/greeter_geometry.c:
                Rename functions so all common functions have prefix gdm_common.
  8. 22 Dec, 2005 1 commit
    • Brian Cameron's avatar
      Now use g_ stdio function like g_chmod instead of chmod. Fixes bug · 2be57792
      Brian Cameron authored
      2005-12-22  Brian Cameron  <brian.cameron@sun.com>
              * daemon/auth.c, daemon/display.c, daemon/errorgui.c,
                daemon/filecheck.c, daemon/fstype.c, daemon/gdm-net.c,
                daemon/gdm.[ch], daemon/gdmconfig.c, daemon/misc.c,
                daemon/server.c, daemon/slave.c, daemon/verify-pam.c,
                daemon/xdmcp.c, gui/gdmXnestchooser.c, gui/gdmchooser.c,
                gui/gdmcommon.c, gui/gdmlogin.c, gui/gdmphotosetup.c,
                gui/gdmsetup.c, gui/gdmuser.c, utils/gdmprefetch.c,
                vicious-extensions/ve-config.c, vicious-extensions/ve-gnome.c,
                vicious-extensions/ve-misc.[ch], vicious-extensions/ve-nongnome.c:
                Now use g_ stdio function like g_chmod instead of chmod.
                Fixes bug #310229.
  9. 21 Dec, 2005 2 commits
    • Brian Cameron's avatar
      Add new priority configuration option for setting xserver priority. · 3d36e449
      Brian Cameron authored
      2005-12-21  Brian Cameron  <brian.cameron@sun.com>
              * daemon/gdm.[ch], daemon/gdmconfig.c, daemon/server.c:  Add new
                priority configuration option for setting xserver priority.
              * config/gdm.conf.in, docs/C/gdm.xml: Updated docs with information
                about the new priority [server-foo] configuration option.
              * configure.ac, gdm.spec.in: Fix gtk dependency so 2.6.0
                is listed as the requirement.
              * gui/Makefile.am: Add X_LIBS when building GUI programs.
              * gui/misc.c: Add needed stdio.h include.
    • Brian Cameron's avatar
      Patch by Padraig O'Briain <Padraig.OBriain@sun.com>, modified by myself so · 11c28082
      Brian Cameron authored
      2005-12-21  Brian Cameron  <brian.cameron@sun.com>
              Patch by Padraig O'Briain <Padraig.OBriain@sun.com>, modified by myself
              so it also works with gdmlogin and not just gdmgreeter.  Also I
              integrated his gdmprefetch.c utility into the configure/Makefile system
              with the --with-prefetch option.
              * configure.ac:  Now support --with-prefetch
              * daemon/gdm.h, daemon/gdmconfig.c, config/gdm.conf.in:  Support
                new PostDisplayProgram key.
              * gui/gdmcommon.[ch], gui/gdmlogin.c, gui/greeter/greeter.c:  Now
                support new PostDisplayProgram key.
              * docs/C/gdm.xml: Add docs for new key.
              * utils/Makefile.am, utils/gdmprefetch.c: Add new
                gdmprefetch utility.
              * config/Makefile.am: Now install gdm.conf file with 444
                permissions and always write over the installed gdm.conf
                after first moving aside the user's gdm.conf file if
  10. 20 Dec, 2005 1 commit
    • Brian Cameron's avatar
      After two months, the redesign of GDM's internal configuration is finally · 2cfd51d2
      Brian Cameron authored
      2005-12-21  Brian Cameron  <brian.cameron@sun.com>
              After two months, the redesign of GDM's internal configuration is
              finally reaching a close.  Now GDM users are instructed to not modify
              the gdm.conf file directly and instead put any cutomizations in a
              separate file called gdm.conf-custom (read the comments in both files).
              gdmsetup now modifies the gdm.conf-custom file.  The GDM daemon will
              now use values in gdm.conf-custom first and the default values in
              gdm.conf if no value is defined in gdm.conf-custom.  Benefits:
              1) Now GDM truly supports system-wide and machine-specific config.
                 System wide configuration is when the sysadmin wants to share the
                 main gdm.conf file across multiple systems on a shared file system
                 (possible by building GDM with the --with-configdir option or by
                 running GDM with the --config option).  Specific systems can
                 override defaults by modifying the gdm.conf-custom file.
              2) Distros can stomp the main gdm.conf file on upgrade knowing that any
                 user changes are stored in a separate file.  For best backwards
                 compatibility, distros will need to move the gdm.conf file to
                 gdm.conf-custom if the gdm.conf file exists on the system but the
                 gdm.conf-custom file does not.
              3) Making this work required a lot of cleanup in the way GDM manages
                 its configuration files.  For example, now config options are
                 managed via access functions, and do not depend on non-static
                 globals being shared across files.  The GET_CONFIG and UPDATE_CONFIG
                 commands work better and do not require special tweaking when adding
                 new config options.  Vicious-extensions is now only included in a
                 few files that need to know how to access the config files directly.
              This makes GDM support a popular feature in CDE which works similarly.
              (config files in /etc/dt/config take precidence over the ones in
              * daemon/gdmconfig.[ch]: Now supports reading configuration values
                (including "servers" and "server-foo" sections from gdm.conf-custom
                and then from gdm.conf if not found in the custom file.  Now store
                translated strings in a separate hash since this improves
                performance.  Fix GET_SERVER_DETAILS so it works better and
                update config can now update server-foo sections via the
                "xservers/PARMAETERS" key.
              * gui/gdmsetup.c: Now only writes to the gdm.conf-custom file and isa
                smart enough to just delete the key if the value will be the same as
                in the gdm.conf file.  Fixed some core dumping issues caused by my
                change to make gdmsetup use the new gdmconfig functions for getting
                configuration data from the server.  This work cleaned up the code
                quite a bit.  Removed the "--config" option from gdmsetup since this
                change makes it edit the configuration of the running GDM daemon
                instead of a program that edits a particular configuration file.
              * daemon/gdm.h, doc/C/gdm.xml: Updated docs with info about how
                configuration works nwo.  Now sockets protocol info is the same
                in both documents.
              * daemon/gdm.c: Fix GET_SERVER_DETAILS to support "ID" and some
              * gui/Makefile.am, daemon/Makefile.am: Support --with-configdir option
                which got broken.
              * config/gdm.conf.in: Updated comments to mention that this file is not
                to be edited. Cleaned up the file so it is more readible.
              * config/Makefile.am: Install gdm.conf-custom and move gdm.conf to
                gdm.conf-custom if it is modified and gdm.conf-custom is not already
                installed.  If it is changed and gdm.conf-custom already exists, move
                it to gdm.conf.org.
              * gui/gdmchooser.c, gui/gdmflexiserver.c: Remove unused getting of the
                configuration file.
              * gui/gdmconfig.[ch]: Add function to tell config to never_cache, which
                is needed by gdmsetup.
              * config/gdm.conf-custom: Added template file.
  11. 13 Dec, 2005 1 commit
    • Brian Cameron's avatar
      Add GET_SERVER_LIST and GET_SERVER_DETAILS sockets functions so that · 864af89d
      Brian Cameron authored
      2005-12-12  Brian Cameron  <brian.cameron@sun.com>
              * daemon/gdm.[ch], daemongdmconfig.[ch]: Add
                sockets functions so that gdmflexiserver and
                gdmconfig do not need to access the config
                file for these, instead using the sockets
              * docs/C/gdm.xml: Add docs for new sockets
              * configure.ac, gui/Makefile.am: Remove some
                libgnome/libgnomeui dependencies.
              * gui/gdmcomm.c: Now close sockets connection
                after 20 messages since the daemon gets mad
                if you send more.
              * gui/gdmconfig.[ch]: New client functions for
                getting server information via sockets.
              * gui/gdmflexiserver.c: Remove libgnome
                dependencies and now use new config
                mechanism for getting server info.
              * gui/gdmsetup.c: Now use new config
                mechanism for reading from config file and
                remove libgnome dependencies.  Cleaned up
                the code a bit.  Now we don't call
                ve_config_get all over the place, which
                seems to speed up the start time.
  12. 12 Dec, 2005 1 commit
  13. 22 Nov, 2005 1 commit
    • Brian Cameron's avatar
      This further improves GDM configuration so that now only the GDM daemon · b68ffea6
      Brian Cameron authored
      2005-11-21  Brian Cameron <Brian.Cameron@sun.com>
              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
              * 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
              * 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
              * 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
              * 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/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.
  14. 24 Jul, 2004 1 commit
  15. 15 Mar, 2004 1 commit