1. 03 Jun, 2010 1 commit
  2. 14 May, 2009 1 commit
  3. 02 Mar, 2008 1 commit
    • Brian Cameron's avatar
      Honor default password character rather than hardcoding to '*'. Modify · cad16372
      Brian Cameron authored
      2008-03-01 Brian Cameron <brian.cameron@sun.com>
      
              * gui/gdmlogin.c, gui/gdmsetup.glade,
                gui/greeter/greeter_canvas_item.c, gui/gdmsetup.c,
                config/gdm.conf.in: Honor default password character rather
                than hardcoding to '*'.
              * docs/C/gdm.xml: Modify docs relating to above change, and
                modify the Custom Widgetry section to explain the recent fixes
                (in last commit).
      
      svn path=/branches/gnome-2-20/; revision=5899
      cad16372
  4. 10 Dec, 2007 1 commit
  5. 14 Nov, 2007 2 commits
    • Brian Cameron's avatar
      Reversing last commit since it broke string freeze. · 051fd09c
      Brian Cameron authored
      2007-11-14  Brian Cameron  <brian.cameron@sun.com>
      
              * Reversing last commit since it broke string freeze.
      
      
      svn path=/branches/gnome-2-20/; revision=5508
      051fd09c
    • Brian Cameron's avatar
      No longer hardcode the password field to '*'. Instead use the GTK+ default · 168547c1
      Brian Cameron authored
      2007-11-14  Brian Cameron  <brian.cameron@sun.com>
      
              * gui/gdmlogin.c, gui/greeter/greeter_canvas_item.c,
                gui/gdmsetup.glade, gui/gdmsetup.c, config/gdm.conf.in,
                docs/C/gdm.xml:  No longer hardcode the password field to '*'.
                Instead use the GTK+ default character for password fields.  No
                longer support the UseCirclesInEntry configuration option.
                Addresses enhancement request #477881.  Patch by Alex "weej"
                Jones <alex@weej.com>.
      
      svn path=/branches/gnome-2-20/; revision=5505
      168547c1
  6. 15 Oct, 2007 1 commit
    • Brian Cameron's avatar
      Change behavior of Tab so it acts like enter if the focus is on the entry · b8bf2f1a
      Brian Cameron authored
      2007-10-15  Brian Cameron  <brian.cameron@sun.com>
      
              * gui/gdmlogin.c, gui/greeter/gdmgreter_item_pam.c: Change
                behavior of Tab so it acts like enter if the focus is on
                the entry field.  Ctrl-Tab can be used for changing focus.
                This fixes bug #433495.  Patch by Lo\357c Minier
                <lool@dooz.org>.
      
      svn path=/branches/gnome-2-20/; revision=5364
      b8bf2f1a
  7. 28 Sep, 2007 1 commit
  8. 16 Aug, 2007 1 commit
    • Brian Cameron's avatar
      Disable autocompletion in the face browser. · 5f27d41d
      Brian Cameron authored
      2007-08-16  Brian Cameron <brian.cameron@sun.com>
      
              * gui/gdmlogin.c, * gui/greeter/greeter_item_ulist.c: Disable
                autocompletion in the face browser.
      
      svn path=/trunk/; revision=5163
      5f27d41d
  9. 18 Jul, 2007 1 commit
    • Brian Cameron's avatar
      Fix some issues with icons not showing up properly in gdmgreeter menu. · 53a2c336
      Brian Cameron authored
      2007-07-18  Brian Cameron <brian.cameron@sun.com>
      
              * pixmaps/24x24/Makefile.am, gui/gdmlogin.c, gui/gdmcommon.[ch],
                gui/gdmchooser.c, gui/greeter/greeter.c: Fix some issues with
                icons not showing up properly in gdmgreeter menu.  Fixes enhancement
                request #360984 so it really works.  Patch by Michael Terry.
                Now use built-in icons.
      
      svn path=/trunk/; revision=5075
      53a2c336
  10. 12 Jul, 2007 1 commit
    • Brian Cameron's avatar
      Fix g_strsplit calls so that NULL return codes are better handled. · 3b4e1c86
      Brian Cameron authored
      2007-07-11  Brian Cameron <brian.cameron@sun.com>
      
              * daemon/gdm.c, daemon/server.c, common/gdm-common.[ch],
                common/gdm-common-config.c, gui/gdmlogin.c, gui/gdmcommon.[ch],
                gui/gdmflexiserver.c, gui/gdmsetup.c, gui/gdmconfig.c,
                gui/greeter/greeter_system.c, gui/greeter/greeter_item_ulist.c:
                Fix g_strsplit calls so that NULL return codes are better
                handled.
              * gui/Makefile.am, gui/greeter/Makefile.am, gui/gdmgreeter.[ch],
                Create new gdmgreeter.a library that is only linked by
                gdmlogin and gdmgreeter.  This was needed because I wanted to
                make the gdm_common_is_action_available function a common
                function and the chkauthattr function requires linking additional
                libraries.  This made this change easier and also makes GDM a bit
                cleaner.  It is better, I think, to separate the code only used by
                the greeters since these two programs have more common shared code
                than the other GDM gui programs.
      
      svn path=/trunk/; revision=5063
      3b4e1c86
  11. 28 Jun, 2007 1 commit
    • Brian Cameron's avatar
      Now allow focus to move into the OK and Cancel buttons. Fix the · 7d649ff5
      Brian Cameron authored
      2007-06-28  Brian Cameron  <brian.cameron@sun.com>
      
              * gui/gdmlogin.c:  Now allow focus to move into the OK and
                Cancel buttons.  Fix the sensitivity of the OK button so
                it is insensitive when gdmlogin first starts (since it
                should only be sensitive when there is some string entered
                in the entry field).  This addresses the security issue
                raised in bug #433495.
      
      svn path=/trunk/; revision=5022
      7d649ff5
  12. 04 Jun, 2007 3 commits
    • Lukasz Zalewski's avatar
      Changed the way CustomCommandX are handled. Fixes bug #442355 Code cleanup · 5fddaac1
      Lukasz Zalewski authored
      2007-06-04  Lukasz Zalewski <lukas@dcs.qmul.ac.uk>
      
              * gui/greeter/greeter_item.c: (greeter_item_is_visible):
                Changed the way CustomCommandX are handled. Fixes bug #442355
              * gui/greeter/greeter_parser.c: (parse_stock):
                Code cleanup regarding CustomCommands.
              * gui/greeter/greeter.c:
              * gui/gdmlogin.c:
              * daemon/gdm.c:
                More code cleanup regarding CustomCommands
      
      svn path=/trunk/; revision=4955
      5fddaac1
    • Brian Cameron's avatar
      Set invisible character to '*' if the configuration file doesn't specify · 0b7cf910
      Brian Cameron authored
      2007-06-04  Brian Cameron  <brian.cameron@sun.com>
      
              * gui/gdmlogin.c: Set invisible character to '*' if the
                configuration file doesn't specify to use invisible or
                cirlces.  Fixes bug #439089.  Patch by Sebastien Bacher
                <seb128@debian.org>.
      
      svn path=/trunk/; revision=4954
      0b7cf910
    • Brian Cameron's avatar
      No longer accept Tab as Enter, backing out fix for bug #127339. For a11y · b8be2e86
      Brian Cameron authored
      2007-06-04  Brian Cameron  <brian.cameron@sun.com>
      
              * gui/gdmlogin.c, gui/greeter/greeter_item_pam.c: No longer
                accept Tab as Enter, backing out fix for bug #127339.  For
                a11y purposes, it is better to be able to let users navigate
                to other widgets via the Tab key.  Patch by Patrick Wade
                <Patrick.Wade@sun.com> and by myself.  This fixes bug
                #433495.
      
      svn path=/trunk/; revision=4952
      b8be2e86
  13. 30 Apr, 2007 1 commit
    • Frederic Crozat's avatar
      Add support for root background when login is accepted (bug #322056). · 86153e83
      Frederic Crozat authored
      2007-04-30  Frederic Crozat  <fcrozat@mandriva.com>
      
              * gui/gdmcommon.c: (gdm_common_set_root_background):
              * gui/gdmcommon.h:
              * gui/gdmlogin.c: (setup_background):
              * gui/greeter/greeter.c: (process_operation), (key_press_event),
                (main):
              * gui/greeter/greeter.dtd:
              * gui/greeter/greeter_canvas_item.c:
                (greeter_item_create_canvas_item):
              * gui/greeter/greeter_item.c: (greeter_item_info_new):
              * gui/greeter/greeter_item.h:
              * gui/greeter/greeter_parser.c: (parse_items), (hide_item),
                (greeter_show_only_background):
              * gui/greeter/greeter_parser.h:
              * gui/greeter/themes/circles/circles.xml:
              * gui/greeter/themes/happygnome-list/happygnome.xml:
              * gui/greeter/themes/happygnome/happygnome.xml:
                Add support for root background when login is accepted
                (bug #322056).
      
              * gui/greeter/greeter_item_pam.c: (greeter_item_pam_error_set):
                Code cleanup.
      
      svn path=/trunk/; revision=4879
      86153e83
  14. 19 Apr, 2007 1 commit
    • Brian Cameron's avatar
      Add RBAC support and allow more configuration on how the System Commands · 1dbcc78d
      Brian Cameron authored
      2007-04-19  Brian Cameron  <brian.cameron@sun.com>
      
              * configure.ac, acconfig.h, daemon/gdm.c,
                daemon/gdm-daemon-config-entries.h, daemon/gdm-daemon-config-keys.h,
                gui/Makefile.am, gui/gdmlogin.c, gui/greeter/Makefile.am,
                gui/greeter/greeter.c, gui/greeter/greeter_system.c,
                config/Makefile.am, config/gdm.conf.in, docs/C/gdm.xml:  Add
                RBAC support and allow more configuration on how the System
                Commands are handled.  This includes adding the SystemCommandsInMenu
                option to specify which commands show up in the greeter menu and
                the AllowLogoutActions to specify which system commands are supported
                via the QUERY_LOGOUT_ACTION, SET_LOGOUT_ACTION, and
                SET_SAFE_LOGOUT_ACTION gdmflexiserver commands.  Also add the
                RBACSystemCommandKeys option so that RBAC can be configured in a
                generic way for each system command.  The configure.ac script sets
                up this key properly for Solaris.  Add RBAC section to the Security
                section of the docs and info about the three new configuration
                options.  This fixes bug #372738.  Note that the gdmflexiserver
                QUERY_LOGOUT_ACTION, SET_LOGOUT_ACTION, and SET_SAFE_LOGOUT_ACTION
                were broken after William Jon McCann's config cleanup, so I fixed
                this.
              * daemon/gdm-net.c: Fix includes so glib includes are after system
                includes.
      
      svn path=/trunk/; revision=4843
      1dbcc78d
  15. 10 Apr, 2007 1 commit
    • Lukasz Zalewski's avatar
      Changes to some strings related to custom commands stuff such that they · 0629610b
      Lukasz Zalewski authored
      2007-04-06  Lukasz Zalewski <lukas@dcs.qmul.ac.uk>
      
              * daemon/gdm.c, daemon/slave.c:
              * gui/gdmlogin.c, gui/gdmsetup.c:
              * gui/greeter/greeter.c, gui/greeter/greeter_item.c:
              * gui/greeter/greeter_parser.c, gui/greeter/greeter_system.c:
                Changes to some strings related to custom commands stuff such
                that they are not marked for translation. Fixes some issues
                raised in bug #423158
      
      svn path=/trunk/; revision=4818
      0629610b
  16. 06 Apr, 2007 1 commit
    • Brian Cameron's avatar
      Usernames with non-utf8 characters were causing GDM GUI to crash when it · 38ff806c
      Brian Cameron authored
      2007-04-06  Brian Cameron  <brian.cameron@sun.com>
      
              * gui/gdmcommon.[ch], gui/gdmlogin.c,
                gui/greeter/greeter_item_ulist.c:  Usernames with non-utf8
                characters were causing GDM GUI to crash when it tried to
                display in the face browser.  This patch fixes so non-utf8
                characters display as '?'.  Fixes bug #426647.  Patch by
                Ray Strode <rstrode@redhat.com>.
      
      svn path=/trunk/; revision=4769
      38ff806c
  17. 02 Apr, 2007 2 commits
    • William Jon McCann's avatar
      Use fewer global variables. Separate monolithic gdm.h into component · 274890e3
      William Jon McCann authored
      2007-04-02  William Jon McCann  <mccann@jhu.edu>
      
      	* common/Makefile.am:
      	* common/gdm-common.c: (v4_v4_equal), (v6_v6_equal),
      	(gdm_address_equal), (gdm_address_is_loopback),
      	(gdm_address_get_info):
      	* common/gdm-common.h:
      	* common/gdm-config.c: (gdm_config_peek_value),
      	(gdm_config_get_value), (gdm_config_peek_value_for_id),
      	(gdm_config_peek_string_for_id), (gdm_config_get_string_for_id),
      	(gdm_config_get_int_for_id), (gdm_config_set_int_for_id):
      	* common/gdm-config.h:
      	* common/gdm-log.c: (log_level_to_priority_and_prefix),
      	(gdm_log_default_handler), (gdm_log_set_debug), (gdm_log_init),
      	(gdm_log_shutdown):
      	* common/gdm-log.h:
      	* configure.ac:
      	* daemon/Makefile.am:
      	* daemon/auth.c: (add_auth_entry), (add_auth_entry_for_addr),
      	(get_local_auths), (gdm_auth_user_add), (gdm_auth_set_local_auth),
      	(gdm_auth_free_auth_list):
      	* daemon/choose.c: (get_first_address_for_node), (gdm_choose_data),
      	(gdm_choose_indirect_alloc),
      	(gdm_choose_indirect_dispose_empty_id),
      	(gdm_choose_indirect_lookup_by_chosen),
      	(gdm_choose_indirect_lookup), (gdm_choose_indirect_dispose):
      	* daemon/choose.h:
      	* daemon/cookie.c:
      	* daemon/cookie.h:
      	* daemon/display.c: (gdm_display_manage), (count_session_limits),
      	(gdm_display_dispose), (gdm_display_lookup):
      	* daemon/display.h:
      	* daemon/errorgui.c: (setup_dialog), (gdm_errorgui_error_box_full),
      	(gdm_errorgui_error_box), (gdm_errorgui_failsafe_question),
      	(gdm_errorgui_failsafe_yesno), (gdm_errorgui_failsafe_ask_buttons):
      	* daemon/errorgui.h:
      	* daemon/filecheck.c: (gdm_file_check), (gdm_auth_file_check):
      	* daemon/gdm-daemon-config.c: (gdm_daemon_config_get_display_list),
      	(gdm_daemon_config_display_list_append),
      	(gdm_daemon_config_display_list_insert),
      	(gdm_daemon_config_display_list_remove),
      	(gdm_daemon_config_get_bool_for_id),
      	(gdm_daemon_config_get_int_for_id),
      	(gdm_daemon_config_get_string_for_id), (handle_no_displays),
      	(gdm_daemon_config_parse):
      	* daemon/gdm-daemon-config.h:
      	* daemon/gdm-net.c:
      	* daemon/gdm-net.h:
      	* daemon/gdm.c: (mark_display_exists), (gdm_daemonify),
      	(gdm_start_first_unborn_local), (gdm_final_cleanup),
      	(deal_with_x_crashes), (gdm_safe_restart), (gdm_try_logout_action),
      	(main), (order_exists), (get_new_order), (gdm_handle_message),
      	(find_display), (handle_flexi_server), (handle_dynamic_server),
      	(gdm_handle_user_message):
      	* daemon/gdm.h:
      	* daemon/gdmconsolekit.c: (get_path_array_from_iter):
      	* daemon/gdmconsolekit.h:
      	* daemon/md5.h:
      	* daemon/misc.c: (gdm_clearenv_no_lang), (gdm_get_free_display),
      	(gdm_exec_wait), (gdm_fork_extra), (gdm_wait_for_extra),
      	(gdm_address_peek_local_list), (gdm_address_is_local),
      	(fillout_addrinfo), (gdm_gethostbyname), (gdm_gethostbyaddr),
      	(gdm_hostent_copy):
      	* daemon/misc.h:
      	* daemon/server.c: (gdm_exec_fbconsole), (gdm_server_spawn):
      	* daemon/server.h:
      	* daemon/slave.c: (get_runlevel), (gdm_slave_start),
      	(focus_first_x_window), (run_config), (play_login_sound),
      	(gdm_slave_greeter), (send_chosen_host), (gdm_slave_chooser),
      	(session_child_run), (gdm_slave_session_start),
      	(gdm_slave_session_stop), (check_for_interruption),
      	(gdm_child_exit), (gdm_slave_exec_script),
      	(gdm_parse_enriched_login), (gdm_is_user_valid):
      	* daemon/slave.h:
      	* daemon/verify-crypt.c: (gdm_verify_user),
      	(gdm_verify_setup_user):
      	* daemon/verify-pam.c: (gdm_verify_pam_conv),
      	(gdm_verify_standalone_pam_conv), (gdm_verify_user),
      	(gdm_verify_setup_user), (gdm_verify_cleanup), (gdm_verify_check):
      	* daemon/verify-shadow.c: (gdm_verify_user),
      	(gdm_verify_setup_user):
      	* daemon/verify.h:
      	* daemon/xdmcp.c: (gdm_xdmcp_displays_from_host),
      	(gdm_xdmcp_display_lookup_by_host), (ai_family_str), (ai_type_str),
      	(ai_protocol_str), (ai_flags_str), (debug_addrinfo),
      	(gdm_xdmcp_create_socket), (gdm_xdmcp_bind), (gdm_xdmcp_init),
      	(gdm_xdmcp_run), (gdm_xdmcp_close), (gdm_xdmcp_decode_packet),
      	(gdm_xdmcp_handle_query), (set_port_for_request),
      	(set_address_for_request), (gdm_xdmcp_send_forward_query),
      	(gdm_forward_query_alloc), (gdm_forward_query_lookup),
      	(gdm_forward_query_dispose), (create_sa_from_request),
      	(gdm_xdmcp_handle_forward_query), (gdm_xdmcp_send_willing),
      	(gdm_xdmcp_send_unwilling),
      	(gdm_xdmcp_really_send_managed_forward), (managed_forward_handler),
      	(gdm_xdmcp_send_managed_forward),
      	(gdm_xdmcp_send_got_managed_forward), (gdm_xdmcp_handle_request),
      	(gdm_xdmcp_send_accept), (gdm_xdmcp_send_decline),
      	(gdm_xdmcp_handle_manage), (gdm_xdmcp_handle_managed_forward),
      	(gdm_xdmcp_whack_queued_managed_forwards),
      	(gdm_xdmcp_handle_got_managed_forward), (gdm_xdmcp_send_refuse),
      	(gdm_xdmcp_send_failed), (gdm_xdmcp_handle_keepalive),
      	(gdm_xdmcp_send_alive), (gdm_xdmcp_host_allow),
      	(gdm_xdmcp_display_alloc), (gdm_xdmcp_display_lookup),
      	(gdm_xdmcp_display_dispose_check), (gdm_xdmcp_displays_check),
      	(gdm_xdmcp_recount_sessions):
      	* daemon/xdmcp.h:
      	* gui/Makefile.am:
      	* gui/gdmXnestchooser.c:
      	* gui/gdmchooser.c: (gdm_chooser_host_alloc), (gdm_chooser_cancel),
      	(gdm_chooser_manage), (gdm_read_config), (gdm_reread_config),
      	(main):
      	* gui/gdmcomm.c: (do_command), (gdmcomm_call_gdm_real):
      	* gui/gdmcommon.c: (gdm_common_log_init),
      	(gdm_common_log_set_debug), (gdm_common_fail_exit),
      	(gdm_common_fail_greeter), (gdm_common_info), (gdm_common_error),
      	(gdm_common_warning), (gdm_common_debug), (gdm_common_expand_text):
      	* gui/gdmcommon.h:
      	* gui/gdmconfig.c:
      	* gui/gdmdynamic.c: (main):
      	* gui/gdmflexiserver.c: (main):
      	* gui/gdmlanguages.c:
      	* gui/gdmlogin.c: (gdm_login_restart_handler),
      	(gdm_login_halt_handler), (gdm_login_use_chooser_handler),
      	(gdm_read_config), (gdm_reread_config), (main):
      	* gui/gdmsession.c:
      	* gui/gdmsetup.c:
      	* gui/gdmuser.c:
      	* gui/gdmwm.c:
      	* gui/greeter/greeter.c: (gdm_read_config),
      	(greeter_reread_config), (main):
      	* gui/greeter/greeter_item_customlist.c:
      	* gui/greeter/greeter_item_pam.c:
      	* gui/greeter/greeter_item_timed.c:
      	* gui/greeter/greeter_item_ulist.c:
      	* gui/greeter/greeter_parser.c: (parse_show):
      	* gui/greeter/greeter_system.c: (query_greeter_restart_handler),
      	(query_greeter_halt_handler), (greeter_restart_handler),
      	(greeter_halt_handler), (greeter_chooser_handler):
      
      	Use fewer global variables.
      	Separate monolithic gdm.h into component parts.
      	Use the Glib message logging API to write to syslog.
      	Cleans up the ipv4/6 handling in the daemon to use a common code
      	patch and be mostly AF- independent.
      	Add a few convenience functions to gdm-config for get/set by ID.
      	Patch from bug #376010
      
      
      svn path=/trunk/; revision=4762
      274890e3
    • Brian Cameron's avatar
      Now support the ability to change the language on the fly. Enhancement · 9173aa02
      Brian Cameron authored
      2006-04-02  Brian Cameron  <brian.cameron@sun.com>
      
              * daemon/gdm.h, daemon/slave.c, daemon/misc.c, gui/gdmlogin.c,
                gui/gdmlanguages.[ch], gui/greeter/Makefile.am,
                gui/greeter/greeter_item_customlist.[ch],
                gui/greeter/greeter_parser.c:  Now support the ability to
                change the language on the fly.  Enhancement request #108820.
                Patch by Takao Fujiwara <Takao.Fujiwara@sun.com>.
              * gui/greeter/greeter_action_language.[ch]: Deleted - code now
                merged into gui/gdmlanguages.[ch].
              * AUTHORS: Updated.
      
      svn path=/trunk/; revision=4738
      9173aa02
  18. 27 Mar, 2007 1 commit
    • Brian Cameron's avatar
      Fix gdmlogin and gdmgreeter so the "Configure GDM" menu choice is not · 651fa5e2
      Brian Cameron authored
      2006-03-27  Brian Cameron  <brian.cameron@sun.com>
      
              * gui/gdmlogin.c, gui/greeter/greeter_item.c, gui/greeter/greeter.c
                gui/greeter_greeter_item_ulist.c, gui/greeter/greeter_system.c:
                Fix gdmlogin and gdmgreeter so the "Configure GDM" menu choice is
                not available when accessibility is turned on since running it
                causes the system to hang.  Also fix gdmgreeter so the Face
                Browser is not displayed when Browser=false.
      
      svn path=/trunk/; revision=4727
      651fa5e2
  19. 26 Mar, 2007 2 commits
    • William Jon McCann's avatar
      Remove the PidFile configuration option. Fixes #162849 · cec2a7f5
      William Jon McCann authored
      2007-03-26  William Jon McCann  <mccann@jhu.edu>
      
      	* config/gdm.conf.in:
      	* configure.ac:
      	* daemon/gdm-daemon-config-entries.h:
      	* daemon/gdm-daemon-config-keys.h:
      	* daemon/gdm-daemon-config.c: (gdm_daemon_config_to_string),
      	(check_servauthdir), (handle_no_displays),
      	(gdm_daemon_change_user), (gdm_daemon_check_permissions):
      	* daemon/gdm.c: (gdm_daemonify), (gdm_final_cleanup), (main):
      	* gui/gdmXnestchooser.c: (main):
      	* gui/gdmcomm.c: (gdmcomm_check):
      	* gui/gdmlogin.c: (gdm_read_config):
      	* gui/greeter/greeter.c: (gdm_read_config):
      	Remove the PidFile configuration option.  Fixes #162849
      
      
      svn path=/trunk/; revision=4714
      cec2a7f5
    • William Jon McCann's avatar
      Redesign the internal configuration system. Fixes #355425 · ebacaaa7
      William Jon McCann authored
      2007-03-26  William Jon McCann  <mccann@jhu.edu>
      
      	* common/Makefile.am:
      	* common/gdm-common-config.c: (gdm_common_config_load_from_dirs),
      	(gdm_common_config_get_string),
      	(gdm_common_config_get_string_list):
      	* common/gdm-common-config.h:
      	* common/gdm-common.c: (ve_locale_to_utf8), (ve_locale_from_utf8),
      	(ve_locale_exists):
      	* common/gdm-common.h:
      	* common/gdm-config.c: (gdm_config_error_quark),
      	(gdm_config_entry_copy), (gdm_config_entry_free),
      	(gdm_config_value_new), (gdm_config_value_free), (set_string),
      	(set_string_array), (gdm_config_value_copy),
      	(gdm_config_value_get_string), (gdm_config_value_get_bool),
      	(gdm_config_value_get_int), (gdm_config_value_compare),
      	(gdm_config_value_new_from_string),
      	(gdm_config_value_set_string_array), (gdm_config_value_set_int),
      	(gdm_config_value_set_bool), (gdm_config_value_set_string),
      	(gdm_config_value_to_string), (gdm_config_init), (gdm_config_new),
      	(gdm_config_free), (gdm_config_lookup_entry),
      	(gdm_config_lookup_entry_for_id), (gdm_config_add_entry),
      	(gdm_config_add_static_entries), (gdm_config_set_validate_func),
      	(gdm_config_set_mandatory_file), (gdm_config_set_default_file),
      	(gdm_config_set_custom_file), (gdm_config_set_notify_func),
      	(key_file_get_value), (entry_get_default_value),
      	(load_value_entry), (lookup_id_for_key), (internal_set_value),
      	(store_entry_value), (load_entry), (add_keys_to_hash),
      	(collect_hash_keys), (gdm_config_get_keys_for_group),
      	(load_backend), (gdm_config_load), (process_entries),
      	(gdm_config_process_entry), (gdm_config_process_entries),
      	(gdm_config_process_all), (gdm_config_get_value),
      	(gdm_config_set_value), (gdm_config_get_value_for_id),
      	(gdm_config_set_value_for_id), (gdm_config_get_string_for_id),
      	(gdm_config_get_bool_for_id), (gdm_config_set_string_for_id),
      	(gdm_config_set_bool_for_id):
      	* common/gdm-config.h:
      	* common/test-config.c: (source_to_name), (type_to_name),
      	(notify_cb), (validate_cb), (load_servers_group), (test_config),
      	(main):
      	* daemon/Makefile.am:
      	* daemon/auth.c: (gdm_auth_secure_display), (get_local_auths),
      	(gdm_auth_user_add), (gdm_auth_user_remove):
      	* daemon/choose.c: (gdm_choose_data), (gdm_choose_indirect_lookup):
      	* daemon/cookie.c:
      	* daemon/display.c: (whack_old_slave), (gdm_display_manage):
      	* daemon/errorgui.c: (setup_dialog):
      	* daemon/filecheck.c: (gdm_file_check), (gdm_auth_file_check):
      	* daemon/gdm-daemon-config-entries.h:
      	* daemon/gdm-daemon-config-keys.h:
      	* daemon/gdm-daemon-config.c:
      	(gdm_daemon_config_get_per_display_custom_config_file),
      	(gdm_daemon_config_get_custom_config_file),
      	(gdm_daemon_config_get_value_int),
      	(gdm_daemon_config_get_value_string),
      	(gdm_daemon_config_get_value_bool),
      	(gdm_daemon_config_get_value_int_per_display),
      	(gdm_daemon_config_get_value_bool_per_display),
      	(gdm_daemon_config_get_value_string_per_display),
      	(gdm_daemon_config_key_to_string_per_display),
      	(gdm_daemon_config_key_to_string), (gdm_daemon_config_to_string),
      	(gdm_daemon_config_compare_displays), (lookup_notify_key),
      	(notify_displays_value), (gdm_daemon_config_set_value_string),
      	(gdm_daemon_config_set_value_bool),
      	(gdm_daemon_config_set_value_int),
      	(gdm_daemon_config_find_xserver), (gdm_daemon_config_get_xservers),
      	(gdm_daemon_config_load_xserver),
      	(gdm_daemon_config_unload_xservers),
      	(gdm_daemon_config_ensure_one_xserver), (load_xservers_group),
      	(gdm_daemon_config_load_xservers), (gdm_daemon_config_update_key),
      	(check_logdir), (check_servauthdir), (have_display_for_number),
      	(gdm_daemon_config_load_displays), (validate_path),
      	(validate_root_path), (validate_base_xsession),
      	(validate_power_action), (validate_standard_xserver),
      	(validate_graphical_theme_dir), (validate_graphical_theme),
      	(validate_greeter), (validate_remote_greeter),
      	(validate_session_desktop_dir), (validate_password_required),
      	(validate_allow_remote_root), (validate_xdmcp),
      	(validate_at_least_int), (validate_cb), (source_to_name),
      	(notify_cb), (handle_no_displays), (gdm_daemon_change_user),
      	(gdm_daemon_check_permissions), (gdm_daemon_config_parse),
      	(gdm_daemon_config_get_gdmuid), (gdm_daemon_config_get_gdmgid),
      	(gdm_daemon_config_get_high_display_num),
      	(gdm_daemon_config_set_high_display_num),
      	(gdm_daemon_config_is_valid_key),
      	(gdm_daemon_config_signal_terminthup_was_notified),
      	(check_user_file), (gdm_daemon_config_get_facefile_from_home),
      	(gdm_daemon_config_get_facefile_from_global), (is_prog_in_path),
      	(gdm_daemon_config_get_session_exec),
      	(gdm_daemon_config_set_user_session_lang),
      	(gdm_daemon_config_get_user_session_lang):
      	* daemon/gdm-daemon-config.h:
      	* daemon/gdm-net.c:
      	* daemon/gdm.c: (gdm_daemonify), (gdm_final_cleanup),
      	(deal_with_x_crashes), (suspend_machine), (halt_machine),
      	(restart_machine), (custom_cmd), (custom_cmd_restart),
      	(custom_cmd_no_restart), (gdm_cleanup_children),
      	(create_connections), (gdm_make_global_cookie), (main),
      	(write_x_servers), (gdm_handle_message), (handle_flexi_server),
      	(handle_dynamic_server), (gdm_handle_user_message):
      	* daemon/gdm.h:
      	* daemon/gdmconfig.c:
      	* daemon/gdmconfig.h:
      	* daemon/getvt.c: (get_free_vt_linux),
      	(get_free_vt_freebsd_dragonfly), (gdm_get_empty_vt_argument):
      	* daemon/misc.c: (gdm_debug), (gdm_text_message_dialog),
      	(gdm_text_yesno_dialog), (gdm_fork_extra):
      	* daemon/server.c: (display_parent_no_connect), (display_busy),
      	(display_vt), (do_server_wait), (gdm_server_start), (rotate_logs),
      	(gdm_server_resolve), (gdm_server_resolve_command_line),
      	(gdm_server_spawn), (get_font_path):
      	* daemon/slave.c: (gdm_slave_start), (setup_automatic_session),
      	(gdm_screen_init), (gdm_slave_check_user_wants_to_log_in),
      	(gdm_slave_run), (run_config), (play_login_sound),
      	(gdm_slave_wait_for_login), (run_pictures), (copy_auth_file),
      	(gdm_slave_greeter), (gdm_slave_send), (gdm_slave_send_string),
      	(gdm_slave_chooser), (is_session_ok), (find_a_session),
      	(session_child_run), (gdm_slave_session_start),
      	(gdm_slave_session_stop), (gdm_slave_alrm_handler),
      	(check_for_interruption), (create_temp_auth_file),
      	(gdm_slave_exec_script), (gdm_parse_enriched_login),
      	(gdm_slave_handle_notify):
      	* daemon/verify-pam.c: (gdm_verify_user), (gdm_verify_setup_user),
      	(gdm_verify_check):
      	* daemon/xdmcp.c: (gdm_xdmcp_init), (gdm_xdmcp_handle_query),
      	(gdm_xdmcp_handle_forward_query), (gdm_xdmcp_send_willing),
      	(gdm_xdmcp_handle_request), (gdm_xdmcp_handle_manage),
      	(gdm_xdmcp_display_alloc), (gdm_xdmcp_displays_check),
      	(reconnect_to_parent):
      	* gui/Makefile.am:
      	* gui/gdmXnestchooser.c:
      	* gui/gdmchooser.c:
      	* gui/gdmcomm.c:
      	* gui/gdmcommon.c: (ve_strftime):
      	* gui/gdmcommon.h:
      	* gui/gdmdynamic.c:
      	* gui/gdmflexiserver.c:
      	* gui/gdmlogin.c:
      	* gui/gdmphotosetup.c:
      	* gui/gdmsession.c:
      	* gui/gdmsetup.c: (bool_equal), (toggle_timeout), (ve_rest),
      	(combobox_timeout), (greeter_toggle_timeout), (get_archive_dir),
      	(xserver_toggle_timeout):
      	* gui/gdmuser.c:
      	* gui/greeter/greeter.c:
      	* gui/greeter/greeter_action_language.c:
      	* gui/greeter/greeter_canvas_item.c:
      	* gui/greeter/greeter_item.c:
      	* gui/greeter/greeter_item_customlist.c:
      	* gui/greeter/greeter_item_timed.c:
      	* gui/greeter/greeter_item_ulist.c:
      	* gui/greeter/greeter_parser.c:
      	* gui/greeter/greeter_session.c:
      	* gui/greeter/greeter_system.c:
      	* gui/misc.c: (gdm_working_command_exists):
      	Redesign the internal configuration system.
      	Fixes #355425
      
      
      svn path=/trunk/; revision=4712
      ebacaaa7
  20. 21 Mar, 2007 1 commit
    • Brian Cameron's avatar
      Phase 1 of removing vicious-extensions and replacing with a rewrite. · 10db3464
      Brian Cameron authored
      2006-03-20  Brian Cameron  <brian.cameron@sun.com>
      
              * configure.ac, autogen.sh, gui/gdmlanguages.c, gui/gdmconfig.h
                gui/gdmuser.c, gui/gdmwm.c, gui/gdmdynamic.c, gui/gdmlogin.c,
                gui/gdmphotosetup.c, gui/gdmsession.c, gui/gdmXnestchooser.c,
                gui/greeter/greeter.c, gui/gdmcommon.c, gui/gdmcomm.c,
                gui/gdmflexiserver.c, gui/gdmsetup.c, gui/gdmchooser.c,
                gui/misc.c, gui/gdmmconfig.c, gui/Makefile.am
                gui/greeter/greeter_item_customlist.c,
                gui/greeter/greeter_canvas_item.c gui/greeter/greeter_parser.c,
                gui/greeter/greeter_item.c, gui/greeter/greeter_item_ulist.c,
                gui/greeter/greeter_item_timed.c, gui/greeter/greeter_session.c,
                gui/greeter/greeter_system.c, gui/greeter/greeter_item_pam.c,
                gui/greeter/Makefile.am, gui/greeter/themes/Makefile.am,
                common/gdm-common.[ch], common/gdm-common-config.[ch],
                common/ve-signal.[ch], common/Makefile.am, daemon/errorgui.c,
                daemon/gdmconfig.h, daemon/display.c, daemon/gdm.c, daemon/xdmcp.c,
                daemon/filecheck.c, daemon/verify-pam.c, daemon/getvt.c,
                daemon/auth.c, daemon/server.c, daemon/cookie.c, daemon/slave.c,
                daemon/server.h, daemon/misc.c, daemon/gdm-net.c,
                daemon/gdmconfig.c, daemon/Makefile.am:  Phase 1 of removing
                vicious-extensions and replacing with a rewrite.  Changes include:
                - Create a common directory to build libgdmcommon, used by the
                  daemon and the GUI's.
                - Add a convenience layer over GKeyFile for dealing with compound
                  keys.
                - Replace selected ve functions like ve_split
                - Remove glade_helper
                - Code improvements and leaks.
                Fix by William Jon McCann <mccann@jhu.edu>.  Refer to bug
                #355425.
      
      svn path=/trunk/; revision=4689
      10db3464
  21. 26 Feb, 2007 1 commit
  22. 08 Feb, 2007 1 commit
    • Brian Cameron's avatar
      Rework how the "Start Again" button is made sensitive/insensitive so it · ec209e95
      Brian Cameron authored
      2007-02-08  Brian Cameron  <brian.cameron@sun.com>
      
              * gui/gdmlogin.c, gui/greeter/greeter.c: Rework how the "Start
                Again" button is made sensitive/insensitive so it better works
                with PAM modules.  Better to not make assumptions about whether
                PAM is asking for username/password.
      
      svn path=/trunk/; revision=4569
      ec209e95
  23. 06 Feb, 2007 1 commit
    • Brian Cameron's avatar
      Fixes by Ludwig Nussel <ludwig.nussel@suse.de>. · 663d2c10
      Brian Cameron authored
      2007-02-06  Brian Cameron  <brian.cameron@sun.com>
      
              Fixes by Ludwig Nussel <ludwig.nussel@suse.de>.
      
              * gui/gdmlogin.c: Do not set size request for Message and error
                label widgets so they grow if the message is too big.  Do not
                initialize message label to "Please enter your username" since
                there is no reason to assume that the first PAM request will ask
                for username.  Do not reselect user if chosen from face browser
                because now we manage this in daemon/verify-pam.c.
              * gui/greeter/greeter_item_ulist.[ch], gui/greeter/greeter.c:
                Do not reselect user if chosen from face browser because we
                now manage this in daemon/verify-pam.c
              * daemon/verify-pam.c: Fixes to support if there are multiple PAM
                modules with conversations.  Remove the tmp_PAM_USER hack.  Now
                display lastlog information after successful login.  If a user
                in the face browser is selected, manage not asking for username
                again here (if 3 password failures in a row then unselect face
                browser).  If a user is selected in the face browser, cancel all
                conversations in a pam_authenticate run.   No longer try to be
                smart about the username prompt - if PAM asks for a username
                then also ask the username about it.
      
      svn path=/trunk/; revision=4566
      663d2c10
  24. 05 Feb, 2007 2 commits
    • Brian Cameron's avatar
      Minor cleanup · 5651ee5c
      Brian Cameron authored
      svn path=/trunk/; revision=4564
      5651ee5c
    • Brian Cameron's avatar
      Better fix for not showing the face browser if the userlist is empty. Now · 427b3894
      Brian Cameron authored
      2007-02-05  Brian Cameron  <brian.cameron@sun.com>
      
              * gui/gdmlogin.c:  Better fix for not showing the face browser
                if the userlist is empty.  Now we add the model to the treeview
                and add entries to the model rather than building the model first.
                For some reason building the model first and adding it to the
                treeview was causing a selection "changed" signal to get sent
                which caused the interruption message to the slave process.
                Fix by Ludwig Nussel <ludwig.nussel@suse.de>.
      
      svn path=/trunk/; revision=4563
      427b3894
  25. 11 Dec, 2006 1 commit
    • Lukasz Zalewski's avatar
      Additional fixes for bug/feature request #334186. Fixed some of the · b9d38c49
      Lukasz Zalewski authored
      2006-12-10  Lukasz Zalewski  <lukas@dcs.qmul.ac.uk>
      
              * vicious-extension/ve-nongnome.c, gui/gdmsetup.c,
                gui/gdmsetup.glade, gui/greeter/greeter.c,
                gui/gdmlogin.c, gui/gdmchooser.c, gui/gdmsession.[ch],
                gui/gdmcommon.c, gui/greeter/greeter_canvas_item.c,
                gui/greeter_item_customlist.c,
                gui/greeter/greeter_item_pam.c,
                gui/greeter/greeter_geometry.c: Additional fixes for bug/feature
                request #334186.  Fixed some of the compiler warnings.
      b9d38c49
  26. 07 Dec, 2006 1 commit
    • Lukasz Zalewski's avatar
      Fixes bug/feature request #334186. Fixes bug #343206 Fixes bug #347101 · ae8b7769
      Lukasz Zalewski authored
      2006-12-07  Lukasz Zalewski  <lukas@dcs.qmul.ac.uk>
      
              Fixes bug/feature request #334186.
              Fixes bug #343206
              Fixes bug #347101
              * gui/gdmsession. [ch] (_gdm_session_list_init): Replaces functionality
                of gdm_session_list_init
              * gui/gdmsession. [ch] (gdm_session_list_init): Becomes a wrapper for
                _gdm_session_list_init, such that the old functionality within the
                code is still preserved but session data can be available through
                _gdm_session_list_init
              * gui/gdmsession.c : Removed gdmwm.h include
              * gui/gdmsession. [ch] (gdm_session_lookup): Removed all the
                gdm_wm_query_dialog calls making the function accessible without need
                for gdmwm libraries
              * gui/gdmsession. [ch] (gdm_set_save_session): Sets save session
                variable
              * gui/gdmsession. [ch] (gdm_get_default_session): Returns default
                session
              * gui/gdmlogin.c (process_operation): Added gdm_wm_query_dialog calls
                for processing lookup session results
              * gui/greeter/greeter.c (process_operation): Added
                gdm_wm_query_dialog calls for processing lookup session results
              * gui/gdmuser. [ch] (gdm_user_uid): Returns uid of a user, or -1 if
                user does not exist
              * gui/gdmuser. [ch] (get_root_user): Moved from gdmsetup.c
              * gui/gdmsetup.glade: New widgets and tooltips added
              * gui/gdmsetup.c: Numerous functions added/modifed to make way for new
                functionality
              * gui/gdmsetup.c (combobox_changed): Additional fix for bug #358114
      ae8b7769
  27. 30 Oct, 2006 2 commits
    • Brian Cameron's avatar
      Number of usability fixes for gdmlogin.c. Now do not bother showing · 1865a47e
      Brian Cameron authored
      2006-10-30  Brian Cameron  <brian.cameron@sun.com>
      
              * gui/gdmlogin.c: Number of usability fixes for gdmlogin.c.  Now
                do not bother showing browser userlist widget if there are no
                users to display.  Now OK and Cancel buttons are set sensitive or
                insensitive based on context (OK only if something is in the entry
                field and Cancel if not on "Username" request).  Fixed bug causing
                face browser to autoselect first user.  I changed the behavior
                of how key events are listened to.  Now respond on release instead
                of press for accepting Tab key as Enter, back_prog delay,
                timed_login reset, and flexiserver reaping.  This made setting the
                buttons sensitive/insensitive easier.
      1865a47e
    • 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
  28. 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
  29. 09 Oct, 2006 1 commit
    • Brian Cameron's avatar
      Fix new at-spi code so that if DOING_GDM_DEVELOPMENT is set it does not · 22c3cdaf
      Brian Cameron authored
      2006-10-09  Brian Cameron  <brian.cameron@sun.com>
      
              * gui/gdmlogin.c, gui/greeter/greeter.c,
                gui/greeter/greeter_parser.c:  Fix new at-spi code so that if
                DOING_GDM_DEVELOPMENT is set it does not try to launch the AT
                registry daemon.  Also fix broken string.
              * gui/greeter/greeter_item_ulist.c:  Fix code to avoid printing
                out warnings when DOING_GDM_DEVELOPMENT is set.  Do not process
                face browser code when user_list is NULL.
      22c3cdaf
  30. 06 Oct, 2006 1 commit
    • Ariel Rios's avatar
      gui/gdmcommon.h (gdm_commoN_atspi_launch) Header for launching the · dec35a9e
      Ariel Rios authored
      2006-10-04  Ariel Rios  <ariel@gnu.org>
      
              * gui/gdmcommon.h (gdm_commoN_atspi_launch) Header for launching
              the registry.
      
              * gui/gdmcommon.c (pre_atspi_launch): Execute the registry
              that is supposed to be located on LIBEXECDIR.
              (filter_watch):  Called whenever we get the PropertyNotify
              event and the we exit the gtk_main loop we are on and remove
              the event from the queue.
              (filter_timeout): Function launched if after 1 second the registry is
              not found.
              (error_dialog): Display message saying no at-spi-registryd was found.
              (gdm_common_atspi_launch): Launchs the registry, starts checking for
              property changes on the X root window. If the registry is found we
              continue executing the GUI.
      
              * gui/gdmlogin.c (main): Launch gdk_init and then lunch the
              at-spi-registry if GTK_ADD_MODULES is set on.
      
              * gui/greeter/greeter.c (main): Ditto.
      
              * docs/C/gdm.xml: Add documentation to indicate that the GUI will
                now launch the at-spi-registryd if GTK_ADD_MODULES is set to true.
      dec35a9e
  31. 21 Jul, 2006 1 commit
  32. 19 Jul, 2006 1 commit
    • Brian Cameron's avatar
      This patch attempts to fix the problem by turning on io channel's internal · dde03f18
      Brian Cameron authored
      2006-07-18  Brian Cameron  <brian.cameron@sun.com>
      
              * gui/gdmlogin.c, gui/greeter/greeter.c: This patch attempts
                to fix the problem by turning on io channel's internal
                buffering feature, searching for the start of the next
                message in the read in bytes and seeking backward to the
                byte before the start of the next message.   We then
                process only one message and return, picking up the next
                message next iteration of the main loop.  Patch provided
                by Ray Strode <rstrode@redhat.com>.
      dde03f18
  33. 18 Jul, 2006 1 commit
    • Brian Cameron's avatar
      Fix for bug #341619. Now GDM does not save the Failsafe GNOME or Xterm · ff5106b1
      Brian Cameron authored
      2006-07-18  Brian Cameron  <brian.cameron@sun.com>
      
              * gui/gdmlogin.c, gui/gdmsession.[ch], gui/greeter/greeter.c,
                gui/greeter/greeter_session.[ch]: Fix for bug #341619.  Now
                GDM does not save the Failsafe GNOME or Xterm session as the
                user's default.  Cleaned up the code and moved duplicate
                functions from gdmlogin/gdmgreeter code to gdmsession common
                code.
      ff5106b1