1. 30 May, 2006 1 commit
  2. 24 May, 2006 1 commit
  3. 12 May, 2006 2 commits
    • Christian Kirbach's avatar
      stop using popt in favour of glib's GOption command line parsing. · 9a9f3e10
      Christian Kirbach authored
      2006-05-12  Christian Kirbach  <Christian.Kirbach@siemens.com>
      
              * daemon/gdm.c, gui/gdmXnestchosser.c, gui/gdmchooser.c,
                gui/gdmflexiserver.c: stop using popt in favour of glib's GOption
                command line parsing.
              * docs/C/gdm.xml: -nodaemon command line option has become --nodaemon.
                GDM User Commands section has been rewritten accordingly. Also the
                interface stability sections reflects the new changes.
              * daemon/gdm.c (gdm_handle_user_message): Fix compiler warning (too
                few arguments).
              * gui/gdmconfig.c (gdm_config_get_xservers): Remove two obsolete
                variable declarations.
      9a9f3e10
    • Brian Cameron's avatar
      Updated. Updated to reflect which interfaces are supported starting with · 2ec8c687
      Brian Cameron authored
      2006-05-12  Brian Cameron  <brian.cameron@sun.com>
      
              * Release 2.15.1:
              * NEWS: Updated.
              * docs/C/gdm.xml: Updated to reflect which interfaces are
                supported starting with 2.14.6.
      2ec8c687
  4. 28 Apr, 2006 1 commit
  5. 27 Apr, 2006 2 commits
    • Brian Cameron's avatar
      Add pam-error-logo item type. Add item type button to use a real GTK+ · 4a8546fc
      Brian Cameron authored
      2006-04-26  Brian Cameron  <brian.cameron@sun.com>
      
              * gui/greeter_item_pam.c: Add pam-error-logo item type.
              * gui/greeter/greeter_item.h, gui/greeter/greeter_canvas_item.c,
                gui/greeter/greeter_geometry, gui/greeter/greeter_parser.c: Add item
                type button to use a real GTK+ button, this better supports
                accessibility.  Add "startover" string to stock, this better name
                for the "Cancel" button was recommended.
              * gui/greeter/themes/happygnome/happygnome.xml,
                gui/greeter/themes/happygnome/happygnome-list.xml,
                gui/greeter/themes/circles/circles.xml: Updated theme to use real
                GTK+ buttons.  Now says "Start Over" instead of "Cancel" on the
                button.
              * gui/greeter/greeter_events.c, gui/greeter/greeter_item.c: Code
                cleanup.
              * docs/gdm/gdm.xml: Add docs for new features and the gtk-theme
                greeter element feature added in 2.12 but after string-freeze, so
                docs couldn't be updated then.
      4a8546fc
    • 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
  6. 26 Apr, 2006 1 commit
    • Brian Cameron's avatar
      docs/C/gdm.xml. Add units information to TimedLoginDelay. Fixes bug · c699cbd7
      Brian Cameron authored
      2006-04-25  Brian Cameron  <brian.cameron@sun.com>
      
              * docs/C/gdm.xml.  Add units information to TimedLoginDelay.
                Fixes bug #334531.  Improved PAM documentation based on input
                from Gary Winger <Gary.Winiger@sun.com>.  Added info about
                GET_CUSTOM_CONFIG_FILE.  Added docs for AlwaysLoginCurrentSession
                which I noticed were missing.
      c699cbd7
  7. 14 Apr, 2006 1 commit
  8. 05 Apr, 2006 1 commit
  9. 02 Apr, 2006 1 commit
  10. 28 Mar, 2006 1 commit
    • 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
  11. 21 Mar, 2006 2 commits
    • Brian Cameron's avatar
      Added new SVG official logos and now theme uses the new logo. Removed old · 1ccc81bc
      Brian Cameron authored
      2006-03-20  Brian Cameron  <brian.cameron@sun.com>
      
              * gui/greeter/themes/happygnome/gnome-logo.svg,
                gui/greeter/themes/happygnome/happygnome.xml
                gui/greeter/themes/happygnome-list/gnome-logo.svg,
                gui/greeter/themes/happygnome-list/happygnome.xml:
                Added new SVG official logos and now theme uses
                the new logo.
              * gui/greeter/themes/happygnome/gnome-logo.png,
                gui/greeter/themes/happygnome-list/gnome-logo.png:
                Removed old logo.
      1ccc81bc
    • Brian Cameron's avatar
      Updated version to 2.14 in docs. · 702f9372
      Brian Cameron authored
      2006-03-20  Brian Cameron  <brian.cameron@sun.com>
      
              * docs/C/gdm.xml: Updated version to 2.14 in docs.
      702f9372
  12. 17 Mar, 2006 1 commit
  13. 03 Mar, 2006 1 commit
  14. 02 Mar, 2006 1 commit
    • Brian Cameron's avatar
      Updated. Update to 2.13.0.9. Added code to support the change in · 04623abc
      Brian Cameron authored
      2006-03-03  Brian Cameron  <brian.cameron@sun.com>
      
              * Release 2.13.0.10:
              * NEWS: Updated.
              * configure.ac, acconfig.h: Update to 2.13.0.9.  Added code to support
                the change in gdmconfig.c below.
              * gui/gdmconfig.c: Fix so that if gdm.conf file exists on the system
                this is used instead of custom.conf.  This makes GDM more backwards
                compatible and won't break user configuration if the user has an old
                config file.
      04623abc
  15. 28 Feb, 2006 1 commit
  16. 27 Feb, 2006 2 commits
  17. 20 Feb, 2006 1 commit
  18. 15 Feb, 2006 1 commit
  19. 13 Feb, 2006 5 commits
    • Brian Cameron's avatar
    • Brian Cameron's avatar
      Update of PAM info. · 0e95d7d0
      Brian Cameron authored
      2006-02-13  Brian Cameron  <brian.cameron@sun.com>
      
              * docs/C/gdm.xml:  Update of PAM info.
      0e95d7d0
    • 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. 11 Feb, 2006 3 commits
    • Brian Cameron's avatar
      Fix problem with options button and F10 menu not working if the button is · 0e6e2537
      Brian Cameron authored
      2006-02-10  Brian Cameron  <brian.cameron@sun.com>
      
              * gui/greeter/greeter.c, gui/greeter/greeter_action_language.[ch],
                gui/greeter/greeter_canvas_item.c, gui/greeter/greeter_events.c,
                gui/greeter/greeter_session.c, gui/greeter/greeter_system.c:
                Fix problem with options button and F10 menu not working if the
                button is not in the theme.  This only affects buttons that can
                be in the F10 button but may not be in the theme (language,
                system, session, halt, reboot, shutdown).  Fixes bug #330343.
      0e6e2537
    • Brian Cameron's avatar
      Few more updates worth adding. · 30952964
      Brian Cameron authored
      2006-02-10  Brian Cameron  <brian.cameron@sun.com>
      
              * README, docs/C/gdm.xml: Few more updates worth adding.
      30952964
    • Brian Cameron's avatar
      Fix bug that was causing gdmflexiserver to fail. Because we were calling · 343865a8
      Brian Cameron authored
      2006-02-10  Brian Cameron  <brian.cameron@sun.com>
      
              * gui/gdmflexiserver.c: Fix bug that was causing gdmflexiserver
                to fail.  Because we were calling gtk-init when the --command
                option was being used, and this breaks gdmflexiserver since it
                is sometimes run with the --command option when there is no
                display.
              * README, README.install: Updated with some new features and moved some
                info to docs/C/gdm.xml where the info is more useful.
              * TODO: Updated.
              * configure.ac: Fixed the mess about /usr/opensolaris/bin
              * gui/greeter/greeter_system.c: Do not put tooltips on menus.  They are
                a bad idea and their use is discouraged by the HIG because they break
                a11y.
              * docs/C/gdm.xml: Updated docs with a bunch of information from the
                README and README.install file that really belonged in the docs.
      343865a8
  21. 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
  22. 07 Feb, 2006 1 commit
    • Brian Cameron's avatar
      This patch resolves some performance issues that I noticed when testing · 55230e85
      Brian Cameron authored
      2006-02-07  Brian Cameron  <brian.cameron@sun.com>
      
              This patch resolves some performance issues that I noticed when
              testing GDM with the gdmdynamic command.  I notice that waiting for
              the sockets to timeout made gdmdynamic slower so now all the clients
              load all the configuration data in one quick pass and close the
              socket.  Since the gdm_config_get functions cache the data, the slaves
              will not go over the socket to get the data again unless asked to
              reread.  Bump the maximum messages over the socket from 20 to 80
              because gdmlogin pulls about 65 configuration parms over and this
              allows all data to be accessed in one connection (and gives a little
              room for growth).  Improved the way GDM slaves deal with syslog so all
              slaves use the same interfaces.  Added three missing keys to the daemon
              configuration handling code.
      
              * daemon/gdmconfig.c: Add three keys that were missing for background
                program support.
              * gui/gdmcomm.[ch]: Now if there is a failure connecting to the daemon,
                the slave will sleep 1 second before retry (normally retries 5
                times).  If all retries fail, it will not try sleeping on subsequent
                calls to the daemon.  This greatly improves performance when the
                daemon is flooded with slave requests.  In normal usage, this will
                likely not happen, but it is good for GDM to not fail so easily.
                Added better debug.  Added gdm_comm_close function so that slaves
                can ask to close the socket when done reading config.  Now uses
                common syslog functions.
              * daemon/gdm.h: Add better comments, rename GDM_SUP_MAX_CONNECTIONS
                to GDM_SUP_MAX_MESSAGES which is more accurate, and bump the max
                number to 80.
              * gui/gdmcommon.h, gui/gdmwm.h, gui/gdmsession.h: Added common syslog
                functions to gdmcommon.h and moved some functions that were in
                gdmcommon.h to gdmwm.h and gdmsession.h since the implementations
                were in those c-files.  Renamed functions to make naming consistant.
              * gui/gdmXnestchooser, gui/gdmchooser.c, gui/gdmcommon.c,
                gui/gdmconfig.c, gui/gdmdynamic.c, gui/gdmflexiserver.c,
                gui/gdmlogin.c, gui/gdmphotosetup.c, gui/gdmsession.c, gui/gdmwm.c,
                gui/greeter/greeter.c, gui/greeter/greeter_item_ulist.c,
                gui/greeter/greeter_session.c, gui/greeter/greeter_system.c:  Slaves
                close sockets connection when done reading config.  Now slaves use
                common syslog functions.  Naming changes to reflect renaming of
                functions in gdmcommon.h/gdmwm.h/gdmsession.h.  Better debug.
              * daemon/auth.c, daemon/cookie.c, daemon/display.c, daemon/gdm.c,
                daemon/gdm-net.c, daemon/misc.c, daemon/slave.c, daemon/xdmcp.c,
                gui/gdmlanguages.c, gui/greeter/greeter_canvas_item.c,
                gui/gdmsetup.c, vicious-extensions/ve-config.c: Make spacing around
                "++" more consistant.  Add better debug in some functions
      55230e85
  23. 03 Feb, 2006 1 commit
  24. 31 Jan, 2006 1 commit
  25. 30 Jan, 2006 4 commits
    • Brian Cameron's avatar
      Adding es back to SUBDIRS. · 696a6d53
      Brian Cameron authored
      2006-01-30  Brian Cameron  <brian.cameron@sun.com>
      
              * docs/Makefile.am:  Adding es back to SUBDIRS.
      696a6d53
    • Brian Cameron's avatar
      Adding file. · e3186133
      Brian Cameron authored
      2006-01-30  Brian Cameron  <brian.cameron@sun.com>
      
              * docs/es/Makefile.am:  Adding file.
      e3186133
    • Brian Cameron's avatar
      Updated Updated version/date. Change libgstreamer-0.8 to libgstreamer-0.10 · ffe9f0d6
      Brian Cameron authored
      2006-01-30  Brian Cameron  <brian.cameron@sun.com>
      
              * Release 2.13.0.7:
              * NEWS, configure.ac: Updated
              * docs/C/gdm.xml: Updated version/date.
              * config/gdmprefetchlist.in:  Change libgstreamer-0.8 to
                libgstreamer-0.10 in the prefetch list.
      ffe9f0d6
    • Brian Cameron's avatar
      Added new "options_button" which pops up the F10 menu. Modified themes to · 4578e198
      Brian Cameron authored
      2006-01-30  Brian Cameron  <brian.cameron@sun.com>
      
              * gui/greeter/themes/happygnome/disconnect.png,
                gui/greeter/themes/happygnome/options.png,
                gui/greeter/themes/happygnome/sessions.png,
                gui/greeter/themes/happygnome/system.png,
                gui/greeter/themes/happygnome/happygnome.xml,
                gui/greeter/themes/happygnome-list/disconnect.png,
                gui/greeter/themes/happygnome-list/options.png,
                gui/greeter/themes/happygnome-list/sessions.png,
                gui/greeter/themes/happygnome-list/system.png,
                gui/greeter/themes/happygnome-list/happygnome.xml,
                gui/greeter/themes/circles/Makefile.am,
                gui/greeter/themes/circles/circles.xml,
                gui/greeter/greeter_canvas_item.c,
                gui/greeter/greeter_parser.c, gui/gdmlogin.c,
                docs/C/gdm.xml:  Added new "options_button" which pops up
                the F10 menu.  Modified themes to now use the new options
                button for a cleaner one-button look.  Patch provied by
                Sebastien Bacher <seb128@debian.org>.  Modifications to
                existing themes made by myself.  Also modified string
                "Remote login via XDMCP" to "Remote Login via XDMCP".
      4578e198
  26. 27 Jan, 2006 1 commit
  27. 24 Jan, 2006 1 commit