1. 07 Nov, 2006 1 commit
  2. 02 Nov, 2006 1 commit
  3. 30 Oct, 2006 1 commit
    • Brian Cameron's avatar
      Add new QUERY_CUSTOM_CMD_LABELS and QUERY_CUSTOM_CMD_NO_RESTART_STATUS · a6865f44
      Brian Cameron authored
      2006-10-30  Brian Cameron  <brian.cameron@sun.com>
      
              * config/gdm.conf.in, daemon/gdm.c, daemon/gdm.h,
                daemon/gdmconfig.c, docs/C/gdm.xml, gui/gdmlogin.c,
                gui/greeter/greeter.c, gui/greeter/greeter_item.c,
                gui/greeter/greeter_configuration.h,
                gui/greeter/greeter_system.c:  Add new QUERY_CUSTOM_CMD_LABELS
                and QUERY_CUSTOM_CMD_NO_RESTART_STATUS commands and the
                new CustomCommandIsPersistent[0-9]
      a6865f44
  4. 29 Oct, 2006 1 commit
    • Lukasz Zalewski's avatar
      Fixes enhancement request #358114. Added variables & functions used to · db0cbbd8
      Lukasz Zalewski authored
      2006-10-25  Lukasz Zalewski  <lukas@dcs.qmul.ac.uk>
      
              Fixes enhancement request #358114.
              * daemon/gdmconfig.c: Added variables & functions used to read/store
                CustomCommands related values
              * daemon/gdm.c (custom_cmd): New function that handles
                execution of CustomCommands.
              * daemon/gdm.c (custom_cmd_restart): New function that handles
                execution of CustomCommand if NoRestart option is set to false
              * daemon/gdm.c (custom_cmd_no_restart): New function that handles
                execution of CustomCommand if NoRestart option is set to true
              * daemon/gdm. [ch]: Updated macros and several functions to accomodate
                new CustomCommands functionality
              * daemon/slave.c: Added Custom command interrupt handler to handle
                the CustomCommands execution.
              * gui/gdmlogin.c (gdm_custom_cmd_handler): New function that handles
                execution of CustomCommands
              * gui/gdmlogin.c: Added variables and updated several functions to
                accomodate new CustomCommand functionality
              * gui/greeter/greeter_configuration.h: Added variables used to
                store CustomCommand related values
              * gui/greeter/greeter.c: Added variables that use/store
                CustomCommand related values
              * gui/greeter/greeter_item.c: Added visibility check for custom_cmd
                related widgets
              * gui/greeter/greeter_parser.c: Added code for parsing custom_cmd stock
                items
              * gui/greeter/greeter_system.c (greeter_custom_cmd_handler): New
                function that handles execution of CustomCommand
              * gui/greeter/greeter_system.c (query_greeter_custom_cmd_handler): New
                function that handles execution of CustomCommand (with warn message
                query beforehand)
              * gui/greeter/greeter_system.c: Updated macros and several functions
                to accomodate new CustomCommand functionality
      db0cbbd8
  5. 22 Sep, 2006 1 commit
    • Brian Cameron's avatar
      Now gdm.conf has SupportAutomount option which, when turned on, changes · b69b8baf
      Brian Cameron authored
      2006-09-22  Brian Cameron  <brian.cameron@sun.com>
      
              * config/gdm.conf.in, daemon/filecheck.c, daemon/gdm.h
                daemon/gdmconfig.c, docs/C/gdm.xml: Now gdm.conf has
                SupportAutomount option which, when turned on, changes
                the way that GDM accessess the user's $HOME/.dmrc file
                so that automounted $HOME directories can be configured
                to work even with the automounter isn't started with
                the --ghost option.  This feature is off by default.
                This addresses RFE bug #356869.  Patch by
                Jerzy Borkowski <jubork@ncac.torun.pl>.
      b69b8baf
  6. 03 Aug, 2006 1 commit
  7. 18 May, 2006 1 commit
  8. 12 May, 2006 1 commit
  9. 09 May, 2006 5 commits
  10. 02 May, 2006 1 commit
  11. 01 May, 2006 1 commit
    • Brian Cameron's avatar
      Updated by running 'cd config && cat XKeepsCrashing · 6d0c4c19
      Brian Cameron authored
      2006-05-01  Brian Cameron  <brian.cameron@sun.com>
      
              * config/gettextfoo.h, config/XKeepsCrashing:  Updated by running
                'cd config && cat XKeepsCrashing Xsession.in|./extract-shell.sh
                > gettextfoo.h', so the file is regenerated to have the latest
                strings.  Fixes bug #340017.
      6d0c4c19
  12. 28 Apr, 2006 1 commit
  13. 27 Apr, 2006 1 commit
    • Brian Cameron's avatar
      Adding per-display configuration support to GDM. Now if user has a file · 425ce74b
      Brian Cameron authored
      2006-04-26  Brian Cameron  <brian.cameron@sun.com>
      
              Adding per-display configuration support to GDM.  Now if user has
              a file named /etc/gdm/custom.conf:<displaynum>, the settings in this
              file will override the /usr/share/gdm/defaults.conf and
              /etc/X11/gdm/custom.conf settings.  Only keys that affect the GUI
              behavior are supported.  These include those in the "gui" and
              "greeter" sections and the security/PamStack key.
      
              * daemon/gdm.c: Update GET_CONFIG command so it accepts a display
                argument.  It is backwards compatible and will return the per-display
                setting if this is passed in, or the non-display value if not
                passed in.  Fix bug that caused PreFetch key to not just return
                the once as it is supposed to.
              * daemon/gdmconfig.[ch], jui/gdmconfig.c: Updated to support
                per-display configuration.
              * daemon/gdm.h: Updated documentation for new command.  Corrected some
                errors.
              * daemon/verify-pam.c, daemon/gdmconfig.c config/gdm.conf.in: Add
                security/PamStack configuration variable as a per-display setting.
                This allows the sysadmin to specify a different PAM stack, if desired
                and also allows customization per display.  Also added key info for
                some BackgroundProgram keys that were missing.
              * config/PreSession.in: now requests configuration data per-display.
                Will use normal configuration if no per-display config files.
              * gui/.cvsignore: Add gdmsetup.desktop.in
              * gui/gdmdynamic.: Improve usage warning.
              * gui/gdmlogin.c: Add some debug
              * docs/C/gdm.xml: Updated docs to reflect new per-display config.
      425ce74b
  14. 17 Apr, 2006 1 commit
    • Brian Cameron's avatar
      Added. This makes gdmsetup.desktop get properly translated. Fixes bug · 58976f19
      Brian Cameron authored
      2006-04-17  Brian Cameron  <brian.cameron@sun.com>
      
              * gui/gdmsetup.desktop.in.in: Added.  This makes gdmsetup.desktop
                get properly translated.  Fixes bug #334647.  Patch by Vincent
                Fretin <vincent.fretin@gmail.com>
              * gui/gdmsetup.desktop.in: Removed
              * gui/Makefile.am: Updated to reflect change.
      58976f19
  15. 07 Apr, 2006 1 commit
    • Brian Cameron's avatar
      Add new GdmXserverTimeout configuration variable so the length of time · c84f5c4d
      Brian Cameron authored
      2006-04-07  Brian Cameron  <brian.cameron@sun.com>
      
              * config/gdm.conf.in, daemon/gdm.h, daemon/gdmconfig.c,s
                daemon/server.c: Add new GdmXserverTimeout configuration
                variable so the length of time that GDM waits for the
                Xserver to start can be tuned.  This makes it easier
                to get GDM working with some Xservers (Xgl).  Fixes
                bug #337670.  Patch provided by Emilie (girlblossom@gmail.com).
      c84f5c4d
  16. 29 Mar, 2006 1 commit
  17. 28 Mar, 2006 2 commits
    • Julio M. Merino Vidal's avatar
      Removed a C99 local variable definition that breaks the build with gcc · 7ad2d48f
      Julio M. Merino Vidal authored
      006-03-28  Julio M. Merino Vidal  <jmmv@NetBSD.org>
      
              * daemon/xdmcp.c: Removed a C99 local variable definition that
                breaks the build with gcc 2.95 (e.g. under NetBSD 1.6).  Fixes
                bug #336368.
      
      2006-03-28  Julio M. Merino Vidal  <jmmv@NetBSD.org>
      
              * daemon/gdmconfig.c, daemon/server.c: Include sys/resource.h,
                needed to use setpriority(2) and its associated definitions.
                Fixes the build under NetBSD, closing bug #336369.
      
      2006-03-28  Julio M. Merino Vidal  <jmmv@NetBSD.org>
      
              * Makefile.am, README.install, acconfig.h, configure.ac,
                gdmsetup-security.in, config/Makefile.am, config/Xsession.in,
                config/gdm.conf.in, daemon/Makefile.am, daemon/gdm.c, daemon/gdm.h,
                daemon/gdm.in, daemon/gdmconfig.c, daemon/misc.c, daemon/server.c,
                daemon/slave.c, docs/C/gdm.xml, gui/Makefile.am, gui/gdmphotosetup.c,
                gui/gdmsetup.c, gui/gdmsetup.desktop.in, gui/greeter/Makefile.am,
                gui/greeter/gdmthemetester.in, gui/greeter/greeter.c,
                gui/modules/Makefile.am: Get rid of all EXPANDED_* variables from
                the build procedure.  Directory-related variables must only be
                expanded from the Makefiles so that they can be easily overriden
                during the installation phase.  Fixes bug #336364.
      7ad2d48f
    • Brian Cameron's avatar
      Now support --with-sysconfsubdir so that GDM can be configured to have the · f86251dc
      Brian Cameron authored
      2006-03-27  Brian Cameron  <brian.cameron@sun.com>
      
              * acconfig.h, configure.ac, config/Makefile.am, config/PostLogin,
                config/gdm.conf.in, daemon/Makefile.am, daemon/gdm.[ch],
                daemon/gdmconfig.c, gui/Makefile.am, gui/greeter/Makeifle.am,
                gui/modules/Makefile.am, gui/modules/dwellmouselistener.c,
                gui/modules/keymouselistener.c, utils/Makefile.am: Now support
                --with-sysconfsubdir so that GDM can be configured to have
                the config files in a directory that isn't hardcoded to have "/gdm"
                at the end.  Fixes bug #335957.  Patch provided by Julio M
                Merino Vidal <jmmv@NetBSD.org> with minor changes by me to fix
                some usage of EXPANDED_GDMCONFDIR that caused breakage on Solaris.
      
              * gui/gdmXnestchooser, gui/gdmchooser.c, gui/gdmcomm.[ch],
                gui/gdmdynamic.c, gui/gdmflexiserver.c, gui/gdmlogin.c,
                gui/gdmphotosetup.c, gui/greeter/greeter.c:  Now use
                gdmcomm_comm_bulk_start and gdmcomm_comm_bulk_stop to wrap areas of
                the code where we want to keep the sockets connection open for
                performance.  This makes gdmsetup start faster and better ensures
                that sockets are not left open.  Now gdmcomm_call_gdm will always
                close the socket unless inside such a block, ensuring that if distros
                add patches to read new config values at random points in the code,
                the socket won't be left open.
      
              * daemon/gdm.c: Fix gdm_debug message.
      f86251dc
  18. 15 Feb, 2006 2 commits
  19. 13 Feb, 2006 3 commits
    • Brian Cameron's avatar
      Updated. Update to 2.13.0.8 and use EXPANDED_DATADIR instead of %{datadir} · 3dc1d30d
      Brian Cameron authored
      2006-02-13  Brian Cameron  <brian.cameron@sun.com>
      
              * Release 2.13.0.8:
              * NEWS: Updated.
              * configure.ac: Update to 2.13.0.8 and use EXPANDED_DATADIR instead
                of %{datadir} since that makes it work much better.
              * README.install, README, docs/C/gdm.xml:  Update docs so that the
                change from --with-configdir to --with-defaults-conf and renaming of
                default and custom config file is documented.
              * daemon/gdm-net.c, daemon/gdmconfig.c, gui/gdmsetup.c: Update comments
                to no longer mention old name of config file.  Fix gdmsetup to know
                new location of custom config file.
              * config/Makefile.am: Now if upgrading and gdm.conf and
                factory-gdm.conf are different, move the gdm.conf file to
                custom.conf instead of copy.  This is  because we don't want GDM
                to overwrite the custom.conf file every time user upgrades.  Only
                first time, then gdm.conf should go away.
      3dc1d30d
    • Brian Cameron's avatar
      Change --with-configdir to --with-defaults-conf and make it work so that · 9db396d4
      Brian Cameron authored
      2006-02-13  Brian Cameron  <brian.cameron@sun.com>
      
              * acconfig.h, configure.ac, daemon/Makefile.am, daemon/gdmconfig.c,
                docs/C/gdm.xml: Change --with-configdir to --with-defaults-conf
                and make it work so that the gdm.conf and gdm.conf-custom file
                can be installed to different subdirectories.  Fixes bug
                #330905.  Patch provided by Ray Strode.
      9db396d4
    • Brian Cameron's avatar
      Fix calls to zenity so they work. Fixes bug #330892. Last minute updates · 8632e2a5
      Brian Cameron authored
      2006-02-13  Brian Cameron  <brian.cameron@sun.com>
      
              * config/Xsession.in: Fix calls to zenity so they work.  Fixes
                bug #330892.
              * README, README.install, docs/C/gdm.xml: Last minute updates
                before string freeze.
      8632e2a5
  20. 09 Feb, 2006 1 commit
    • Brian Cameron's avatar
      A known issue with gdmdynamic is that when a display connects to the · 9dbb5bfd
      Brian Cameron authored
      
              A known issue with gdmdynamic is that when a display connects to
              the server it generates the gdmdynamic "ADD" and "RELEASE" commands.
              On startup, hundreds of displays could send these commands at once
              and cause the server too be flooded with sockets requests.  Hammering
              the socket like this caused me to find and fix a number of problems
              that improve socket reliability for general GDM use.  I also enhanced
              gdmdynamic so it is more sensitive to the socket being busy and no
              longer overloads it, instead sleeping and retrying if necessary.  This
              allows gdmdynamic to work if there are hundreds of displays instead of
              just a dozen or so.
      
              * daemon/gdm.[ch]: Added new "SERVER_BUSY" sockets command so that
                gdmdynamic can sleep before starting new slaves if the daemon is
                already busy.
              * daemon/gdm-net.[ch]: Bump up MAX_CONNECTIONS from 10 to 15.  I notice
                that this improves performance significantly when hammering the
                daemon with connections.  Added better comments for this logic and
                now debug logs when a subconnection is thrown away.  New
                gdm_connection_is_server_busy function
              * daemon/display.c: Correct DYNAMIC_REMOVE so it works and fixes bug
                #326796.  Before it wasn't really removing the displays.
              * gui/gdmdynamic.c: Quite a bit of work to make gdmdynamic avoid
                flooding the server with sockets requests.  Now it sets sockets
                retries to 1 and manages sleeping and retries itself.
              * gui/gdmconfig.c: Added gdm_config_set_comm_retries so that slaves can
                specify how many retries they want the comm logic to use.
              * gui/gdmcomm.c: Now do_command returns NULL when it gets back "",
                which happens when a subconnection was dropped by the daemon.  This
                lets the slave try the connection again.   Now error messages are
                always logged, not just when debug is turned on.  Added
                gdmcomm_did_connection_fail and gdmcomm_set_allow_sleep so
                gdmdynamic can control the behavior of how the connection works.
              * gui/gdmcommon.c, gui/gdmchooser.c, gui/gdmlogin.c, gui/greeter/greeter.c:
                Fix gdm_common_fail so it doesn't generate compile errors when building
                with GCC.  Fixes bug #330480.
              * docs/C/gdm.xml: Cleaned up section that explains sockets commands so
                that they are in alphabetical order, added info about SERVER_BUSY
                and new gdmdynamic -s and -t options.
              * config/gdm.conf: Better description of how debug works, perhaps
                I just didn't like the word "spew".
      ---------------------------------------------------------------------
      9dbb5bfd
  21. 30 Jan, 2006 2 commits
  22. 27 Jan, 2006 1 commit
    • Brian Cameron's avatar
      Add better logic for grabbing the time for the user's locale if · 4991d8ab
      Brian Cameron authored
      2006-01-27  Brian Cameron  <brian.cameron@sun.com>
      
              * daemon/gdm.h, daemon/gdmconfig.c, gui/gdmcommon.c:  Add better
                logic for grabbing the time for the user's locale if
                Use24HourClock is set to auto.  No longer depend on translaters
                providing a hacky translation of "24-hour" to determine this.
                Instead just rely on localtime.  Fixes bug #328904.  Patch
                provided by Christopher Aillon <caillon@gmail.com>.
              * config/gdm.conf.in: Add better comments for certain keys and
                group them so that similar keys are closer together.
              * gui/gdmsetup.c, gui/greeter/greeter.c: rename
                GDM_KEY_GRAPHICAL_THEME_COLOR to GDM_KEY_GRAPHICAL_THEMED_COLOR to
                match the key.
      4991d8ab
  23. 24 Jan, 2006 1 commit
  24. 19 Jan, 2006 1 commit
  25. 13 Jan, 2006 2 commits
  26. 09 Jan, 2006 1 commit
  27. 07 Jan, 2006 1 commit
  28. 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.
      4f46297e
  29. 05 Jan, 2006 2 commits
    • Brian Cameron's avatar
    • 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.
      eb2cc614