1. 30 May, 2006 1 commit
  2. 12 May, 2006 1 commit
    • 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
  3. 28 Apr, 2006 1 commit
  4. 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
  5. 14 Apr, 2006 1 commit
  6. 05 Apr, 2006 1 commit
  7. 02 Apr, 2006 1 commit
  8. 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
  9. 21 Mar, 2006 1 commit
    • 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
  10. 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
  11. 28 Feb, 2006 1 commit
  12. 15 Feb, 2006 1 commit
  13. 13 Feb, 2006 2 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
      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
  14. 11 Feb, 2006 2 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
      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
  15. 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
  16. 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
  17. 03 Feb, 2006 1 commit
  18. 30 Jan, 2006 2 commits
    • 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
      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
  19. 27 Jan, 2006 1 commit
  20. 24 Jan, 2006 1 commit
  21. 22 Jan, 2006 2 commits
  22. 20 Jan, 2006 1 commit
  23. 18 Jan, 2006 1 commit
  24. 17 Jan, 2006 1 commit
  25. 14 Jan, 2006 1 commit
  26. 13 Jan, 2006 1 commit
    • Brian Cameron's avatar
      Enhancement patch provided by Dominique Hazael-Massieux · b3d9dc56
      Brian Cameron authored
      2006-01-13  Brian Cameron  <brian.cameron@sun.com>
      
              Enhancement patch provided by Dominique Hazael-Massieux
              <dominique.hazael-massieux@centraliens.net> with some help from me
              getting the configure/Makefile stuff working.
      
              * configure.ac, config/Makefile.am, docs/C/gdm.xml, utils/Makefile.am:
                Add support for --enable-secureremote
              * config/ssh.desktop.in, utils/gdm-ssh-session: Added desktop file
                and gdm-ssh-session script to support secure remote login.
      b3d9dc56
  27. 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.
      9d1a8584
  28. 09 Jan, 2006 1 commit
  29. 07 Jan, 2006 2 commits
  30. 06 Jan, 2006 2 commits
    • 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
    • Francisco Javier F. Serrador's avatar
      Updated Spanish translation. · 168d9d05
      Francisco Javier F. Serrador authored
      2006-01-07  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
      
      	* es.po: Updated Spanish translation.
      168d9d05
  31. 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.
      eb2cc614
  32. 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 2.13.0.4:
              * NEWS, configure.ac: Updated
              * docs/C/gdm.xml: Updated version/date.
      849269a9
  33. 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.
      5e57744d