summaryrefslogtreecommitdiff
path: root/gui/greeter
Commit message (Collapse)AuthorAgeFilesLines
* Move to mccann-gobject branchmaster_svn5362Olav Vitters2007-10-1560-10301/+0
| | | | svn path=/trunk; revision=5361
* Send a response before exiting to avoid a hang. Fixes bug #473480. PatchBrian Cameron2007-09-281-0/+2
| | | | | | | | | | 2007-09-28 Brian Cameron <brian.cameron@sun.com> * gui/gdmlogin.c, gui/greeter/greeter.c: Send a response before exiting to avoid a hang. Fixes bug #473480. Patch by Ray Strode <rstrode@redhat.com>. svn path=/trunk/; revision=5320
* 2007-09-21 Dave Fincher <finchair@yahoo.com>^MDave Fincher2007-09-216-153/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug #478805. * gui/greeter/themes/happygnome/happygnome-list.xml: Updated happygnome-list.xml so that all elements display on 800x600 and larger screen resolutions and elements dynamically adjust size and position based on the screen resolution. * gui/greeter/themes/happygnome-list: Removed the options.png files which is not used in the happygnome-list theme * gui/greeter/themes/happygnome-list/Makefile.am: Removed session.png file entry which is not used in the happygnome-list theme. 2007-09-21 Dave Fincher <finchair@yahoo.com> Fixes bug #478800. * gui/greeter/themes/happygnome/happygnome.xml: Updated happygnome.xml so that the bottom buttons and bar to display on 800x600 and larger screen resolutions. * gui/greeter/themes/happygnome: Removed the options.png files which is not used in the happygnome theme * gui/greeter/themes/circles/Makefile.am: Removed session.png file entry which is not used in the circles theme. svn path=/trunk/; revision=5309
* Remove icons not used in circles theme.Brian Cameron2007-09-202-0/+0
| | | | svn path=/trunk/; revision=5305
* Updated circle.xml so that the bottom buttons and bar to display onDave Fincher2007-09-202-36/+24
| | | | | | | | | | | | | | | | | | | | | | 2007-09-20 Dave Fincher <finchair@yahoo.com> * gui/greeter/themes/circles/circles.xml: Updated circle.xml so that the bottom buttons and bar to display on 800x600 and larger screen resolutions. * gui/greeter/themes/circles: Removed the session.png and help.png files which are not used in the circles theme * gui/greeter/themes/circles/Makefile.am: Removed session.png and help.png file entries which were not used in the circles theme. * AUTHORS: Added self to authors file. 2007-09-20 Brian Cameron <brian.cameron@sun.com> * daemon/gdm-daemon-config.c: Fix so that if the .dmrc file does not exist, it is created. Fixes bug #453916. Patch by Brady Anderson <brady.anderson@gmail.com>. svn path=/trunk/; revision=5302
* Set invisible character to '*' if the configuration file does not specifyBrian Cameron2007-08-281-0/+2
| | | | | | | | | | | | 2007-08-28 Brian Cameron <brian.cameron@sun.com> * gui/greeter/greeter_canvas_item.c: Set invisible character to '*' if the configuration file does not specify to use invisible or circles. This change was already fixed for gdmlogin, refer to 2007-06-04 entry. Fixes bug #439089 for gdmgreeter. Patch by Sebastien Bacher <seb128@debian.org>. svn path=/trunk/; revision=5197
* Actually move the file.Brian Cameron2007-08-251-0/+0
| | | | svn path=/trunk/; revision=5188
* Fix bug #469759. Patch by Dave Fincher <finchair@yahoo.com>. 1. CDATABrian Cameron2007-08-254-4/+6
| | | | | | | | | | | | | | | | | | | | | | | 2007-08-25 Brian Cameron <brian.cameron@sun.com> * gui/greeter/greeter.dtd: Fix bug #469759. Patch by Dave Fincher <finchair@yahoo.com>. 1. CDATA #IMPLIED" properties 2. Added "background (true | false) #IMPLIED to item ATTLIST properties 3. Added "everywhere" and "nowhere" to list of modes for the show ATTLIST * gui/greeter/themes/happygnome-list/Makefile.am, gui/greeter/themes/happygnome-list/happygnome-list.xml: Removed an error where max-width was used as a property for a box element. The max-width property is a property of the pos element specifically dealing with a label item type: Rename happygnome.xml to happygnome-list.xml. Fixes bug #469741. Patch by Dave Fincher <finchair@yahoo.com>. * gui/greeter/themes/happygnome-list/happygnome-xml: Deleted. * gui/greeter/themes/happygnome-list/happygnome-list.xml: Added. svn path=/trunk/; revision=5187
* This was badly out of date, the new DTD file is more accurate and containsBrian Cameron2007-08-211-20/+18
| | | | | | | | | | | 2007-08-21 Brian Cameron <brian.cameron@sun.com> * gui/greeter/greeter.dtd: This was badly out of date, the new DTD file is more accurate and contains a lot of changes to the DTD format since the last time this file was updated. Changes provided by Dave Fincher <finchair@yahoo.com>. svn path=/trunk/; revision=5177
* Disable autocompletion in the face browser.Brian Cameron2007-08-161-0/+3
| | | | | | | | | 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
* Fix comment to have correct timed login message.Brian Cameron2007-08-153-3/+3
| | | | | | | | | 2007-08-15 Brian Cameron <brian.cameron@sun.com> * gui/greeter/themes/*xml: Fix comment to have correct timed login message. svn path=/trunk/; revision=5159
* Fix some issues with icons not showing up properly in gdmgreeter menu.Brian Cameron2007-07-181-3/+2
| | | | | | | | | | | | 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
* Fix g_strsplit calls so that NULL return codes are better handled.Brian Cameron2007-07-123-78/+9
| | | | | | | | | | | | | | | | | | | | | | 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
* Add icons to the gdmgreeter menu. Add new 24x24 directory. New directoryBrian Cameron2007-07-094-9/+35
| | | | | | | | | | | | | 2007-07-09 Brian Cameron <brian.cameron@sun.com> * gui/greeter/Makefile.am, gui/greeter/greeter.c, gui/greeter/greeter_canvas_item.c, gui/greeter/greeter_system.c: Add icons to the gdmgreeter menu. * pixmaps/Makefile.am: Add new 24x24 directory. * pixmaps/24x24/*: New directory with pixmaps to show in the gdmgreeter menu svn path=/trunk/; revision=5045
* when getting the theme file added a check if the file is readable (theLukasz Zalewski2007-07-021-2/+4
| | | | | | | | | | | 2007-07-01 Lukasz Zalewski <lukas@dcs.qmul.ac.uk> * gui/greeter/greeter.c: when getting the theme file added a check if the file is readable (the check was only for the file existance previously) + some error messages. Fixes issues raised in bug #451989 svn path=/trunk/; revision=5033
* + gui/greeter/greeter_parser.c: (parse_label): Ensure a non null size isFrederic Crozat2007-06-081-2/+5
| | | | | | | | | 2007-06-08 Frederic Crozat <fcrozat@mandriva.com> + gui/greeter/greeter_parser.c: (parse_label): Ensure a non null size is set by default for pango font description. svn path=/trunk/; revision=4975
* Add -lfontconfig to programs that link against gui/libgdmcommon.a since itBrian Cameron2007-06-041-1/+2
| | | | | | | | | | | 2007-06-04 Brian Cameron <brian.cameron@sun.com> * gui/Makefile.am, gui/greeter/Makefile.am: Add -lfontconfig to programs that link against gui/libgdmcommon.a since it now contains FontConfig code, due to fix for bug #426653. On Solaris it is necessary to not link libraries implicitely. svn path=/trunk/; revision=4956
* Changed the way CustomCommandX are handled. Fixes bug #442355 Code cleanupLukasz Zalewski2007-06-043-47/+39
| | | | | | | | | | | | | | | 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
* No longer accept Tab as Enter, backing out fix for bug #127339. For a11yBrian Cameron2007-06-041-9/+1
| | | | | | | | | | | | | 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
* Check for existance of a theme before selecting a random theme. Fixes bugBrian Cameron2007-05-081-7/+31
| | | | | | | | | | 2007-05-08 Brian Cameron <brian.cameron@sun.com> * gui/greeter/greeter.c: Check for existance of a theme before selecting a random theme. Fixes bug #436800. Patch by Loic Minier <lool+gnome@via.ecp.fr> svn path=/trunk/; revision=4891
* Add support for root background when login is accepted (bug #322056).Frederic Crozat2007-04-3011-20/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add RBAC support and allow more configuration on how the System CommandsBrian Cameron2007-04-193-19/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Changes to some strings related to custom commands stuff such that theyLukasz Zalewski2007-04-104-19/+19
| | | | | | | | | | | | | | 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
* Fix language restart dialog so it works properly with the gdmgreeterBrian Cameron2007-04-101-12/+15
| | | | | | | | | | | 2007-04-09 Brian Cameron <brian.cameron@sun.com> * gui/gdmlanguages.[ch], gui/greeter/greeter_item_customlist.c: Fix language restart dialog so it works properly with the gdmgreeter language combo/list style selection, not just with the language dialog that pops up from the menu. svn path=/trunk/; revision=4817
* Usernames with non-utf8 characters were causing GDM GUI to crash when itBrian Cameron2007-04-061-2/+2
| | | | | | | | | | | | | 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
* Use fewer global variables. Separate monolithic gdm.h into componentWilliam Jon McCann2007-04-027-20/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Now support the ability to change the language on the fly. EnhancementBrian Cameron2007-04-027-458/+27
| | | | | | | | | | | | | | | | 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
* In greeter_generate_userlist pass in the value for info rather thanBrian Cameron2007-03-271-5/+2
| | | | | | | | | 2006-03-27 Brian Cameron <brian.cameron@sun.com> * gui/greeter_greeter_item_ulist.c: In greeter_generate_userlist pass in the value for info rather than getting the value again. svn path=/trunk/; revision=4728
* Fix gdmlogin and gdmgreeter so the "Configure GDM" menu choice is notBrian Cameron2007-03-274-7/+30
| | | | | | | | | | | | | 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
* Partially fix #412576 by adding ATK label for the entry field. PatchBrian Cameron2007-03-271-0/+25
| | | | | | | | | | 2006-03-27 Brian Cameron <brian.cameron@sun.com> * gui/greeter/greeter_item_pam.c: Partially fix #412576 by adding ATK label for the entry field. Patch provided by David Zeuthen <david@fubar.dk>. svn path=/trunk/; revision=4721
* Fix check so the language combo style works. Fixes bug #423063. PatchBrian Cameron2007-03-271-1/+1
| | | | | | | | | | 2006-03-27 Brian Cameron <brian.cameron@sun.com> * gui/greeter/greeter_item_customlist.c: Fix check so the language combo style works. Fixes bug #423063. Patch provided by Simon <simon@munton.demon.co.uk>. svn path=/trunk/; revision=4717
* Remove the PidFile configuration option. Fixes #162849William Jon McCann2007-03-261-1/+0
| | | | | | | | | | | | | | | | | | | | | 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
* Redesign the internal configuration system. Fixes #355425William Jon McCann2007-03-2610-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add min-screen-height tag to parser so that certain elements in the themeBrian Cameron2007-03-213-1/+27
| | | | | | | | | | | | | | 2006-03-20 Brian Cameron <brian.cameron@sun.com> * configure.ac, gui/greeter/greeter_item.[ch], gui/greeter/greeter_parser.c, docs/C/gdm.xml: Add min-screen-height tag to parser so that certain elements in the theme will only display if the screen is large enough. Patch by Ray Strode. <rstrode@redhat.com>. Enhancement #420610. svn path=/trunk/; revision=4691
* Phase 1 of removing vicious-extensions and replacing with a rewrite.Brian Cameron2007-03-2112-108/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Rework how the "Start Again" button is made sensitive/insensitive so itBrian Cameron2007-02-081-14/+15
| | | | | | | | | | | 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
* Fixes by Ludwig Nussel <ludwig.nussel@suse.de>.Brian Cameron2007-02-063-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Switch from using the dbus-glib bindings to the lower level API. It justWilliam Jon McCann2007-02-051-0/+2
| | | | | | | | | | | | | | | | | 2007-02-05 William Jon McCann <mccann@jhu.edu> * daemon/gdmconsolekit.c: (add_param_int), (add_param_boolean), (add_param_string), (session_get_x11_display), (session_unlock), (get_path_array_from_iter), (get_sessions_for_user), (unlock_ck_session), (open_ck_session), (close_ck_session): Switch from using the dbus-glib bindings to the lower level API. It just wasn't working out... Fixes #400793 * daemon/slave.c: (gdm_slave_session_start): Move CK session close before post session scripts * gui/greeter/Makefile.am: Build fix svn path=/trunk/; revision=4562
* : Fix warnings and fix an assertion in gdm because it calledBrian Cameron2007-01-314-3/+4
| | | | | | | | | | | | | | | | | | | 2007-01-31 Brian Cameron <brian.cameron@sun.com> * gui/greeter/greeter_item_customlist.c, gui/greeter/greeter_canvas_item.c, gui/greeter/greeter_canvas_text.c, gui/greeter/greeter_session.c, gui/gdmXnestchooser.c, gui/gdmchooser.c, gui/gdmconfig.[ch], daemon/xdmcp.c, daemon/verify-pam.c, daemon/server.c, daemon/gdmconfig.c, daemon/errorgui.c, daemon/misc.c: : Fix warnings and fix an assertion in gdm because it called gdm_xdmcp_send_forward_query also for IPv6. Patch by Ludwig Nussel. svn path=/trunk/; revision=4558
* Backout changes I didn't mean to apply with last change. This added iconsBrian Cameron2006-12-192-31/+9
| | | | | | | | | | 2006-12-16 Brian Cameron <brian.cameron@sun.com> * gui/greeter/greeter_canvas_item.c, gui/greeter/greeter_system.c: Backout changes I didn't mean to apply with last change. This added icons to the Options menu, but some of the icons aren't showing up because gnome-settings-daemon isn't running. Want to figure this out before I commit.
* More fixes/changes for bug/feature request #334186.Lukasz Zalewski2006-12-192-9/+31
| | | | | | | 2006-12-16 Lukasz Zalewski <lukas@dcs.qmul.ac.uk> * gui/gdmsetup.c, gui/gdmsetup.glade: More fixes/changes for bug/feature request #334186.
* Fix so we only hide userlist if there is one.Brian Cameron2006-12-151-1/+1
| | | | | | | 2006-12-15 Brian Cameron <brian.cameron@sun.com> * gui/greeter/greeter_item_ulist.c: Fix so we only hide userlist if there is one.
* Fixes for compiling with gcc 2.95. Patch provided by Jens GranseuerBrian Cameron2006-12-142-3/+5
| | | | | | | | | | 2006-12-14 Brian Cameron <brian.cameron@sun.com> * daemon/gdm.c, daemon/gdmconfig.c, gui/gdmsetup.c, gui/greeter/greeter_action_language.c, gui/greeter/greeter_system.c: Fixes for compiling with gcc 2.95. Patch provided by Jens Granseuer <jensgr@gmx.net>.
* Additional fixes for bug/feature request #334186. Fixed some of theLukasz Zalewski2006-12-115-18/+16
| | | | | | | | | | | | | 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.
* Fixes bug/feature request #334186. Fixes bug #343206 Fixes bug #347101Lukasz Zalewski2006-12-071-3/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix casting.Brian Cameron2006-11-011-1/+1
| | | | | | 2006-11-01 Brian Cameron <brian.cameron@sun.com> * gui/greeter/greeter_item_customlist.c: Fix casting.
* Fix custom lists so that focus does not leave the username/password entryBrian Cameron2006-10-312-2/+25
| | | | | | | | 2006-10-31 Brian Cameron <brian.cameron@sun.com> * gui/greeter/greeter_item_customlist.c: Fix custom lists so that focus does not leave the username/password entry field. * gui/greeter/greeter_item_pam.c: Minor cleanup.
* Updated. Update to new release version. Back out patch from 10/17 fromBrian Cameron2006-10-302-21/+7
| | | | | | | | | | | 2006-10-30 Brian Cameron <brian.cameron@sun.com> * Release 2.17.1: * NEWS: Updated. * configure.ac: Update to new release version. * gui/greeter/greeter_canvas_item.c, gui/greeter/greeter_system.c: Back out patch from 10/17 from Sebastien Bacher <seb128@debian.org> since we don't have icons yet.
* No longer abort userlist check if DOING_GDM_DEVELOPMENT is set.Brian Cameron2006-10-301-3/+0
|
* *** empty log message ***Brian Cameron2006-10-303-2/+27
|