1. 23 Dec, 2018 1 commit
  2. 06 Sep, 2012 1 commit
  3. 06 Jul, 2012 1 commit
    • Ray Strode's avatar
      daemon: clean house (drop factory mode) · c8bffea9
      Ray Strode authored
      GDM has a currently unused feature called "factory mode", where
      the login screen gets allocated its own VT and any subsequent logins
      from that login screen go to their own VT.  Any time there's a user
      switch GDM just jumps back to initial VT where the login screen is
      patiently waiting.
      
      This feature has a lot of upsides, and we've had it as a TODO item to
      start using it for while now.
      
      It doesn't look it's going to happen in the near term, though, and
      factory mode has downsides as well:
      
      - a VT switch after the user hits enter at the login screen would be
        jarring and would ruin the "flicker free" boot experience we've tried
        to acheive at various points in the past. This could theoretically be
        fixed by Wayland.
      
      - it adds a bunch of untested, unused code to the codebase.
      
      This latter reason makes me want to kill it for now. It shouldn't be
      hard to resurrect later if we end up needing the feature.
      
      This commit drops that code.
      c8bffea9
  4. 25 Jan, 2008 1 commit
    • William Jon McCann's avatar
      Use the LocalDisplayFactory to assign X11 Display numbers to all local · 325c4eb5
      William Jon McCann authored
      2008-01-24  William Jon McCann  <mccann@jhu.edu>
      
      	* daemon/Makefile.am:
      	* daemon/gdm-display-store.c: (gdm_display_store_clear),
      	(gdm_display_store_remove), (gdm_display_store_finalize):
      	* daemon/gdm-factory-slave.c: (create_product_display),
      	(gdm_factory_slave_stop):
      	* daemon/gdm-local-display-factory.c: (listify_hash), (sort_nums),
      	(take_next_display_number), (on_display_disposed), (store_display),
      	(gdm_local_display_factory_create_transient_display),
      	(gdm_local_display_factory_create_product_display),
      	(create_display_for_device), (register_factory), (connect_to_hal),
      	(gdm_local_display_factory_constructor),
      	(gdm_local_display_factory_class_init),
      	(gdm_local_display_factory_init),
      	(gdm_local_display_factory_finalize):
      	* daemon/gdm-local-display-factory.h:
      	* daemon/gdm-local-display-factory.xml:
      	* daemon/gdm-static-factory-display.c:
      	(gdm_static_factory_display_set_property),
      	(gdm_static_factory_display_get_property),
      	(gdm_static_factory_display_class_init),
      	(gdm_static_factory_display_new):
      	* daemon/gdm-static-factory-display.h:
      	* daemon/gdm-static-factory-display.xml:
      	* daemon/gdm-transient-display.c:
      	(gdm_transient_display_create_authority),
      	(gdm_transient_display_add_user_authorization),
      	(gdm_transient_display_remove_user_authorization),
      	(gdm_transient_display_manage), (gdm_transient_display_finish),
      	(gdm_transient_display_unmanage),
      	(gdm_transient_display_set_property),
      	(gdm_transient_display_get_property),
      	(gdm_transient_display_class_init), (gdm_transient_display_init),
      	(gdm_transient_display_finalize), (gdm_transient_display_new):
      	* daemon/gdm-transient-display.h:
      	* daemon/gdm-transient-display.xml:
      	Use the LocalDisplayFactory to assign X11 Display numbers
      	to all local displays.  Try to assign the lowest available.
      	Add a stub for a TransientDisplay that can be used to
      	do FUS logins.
      
      
      svn path=/trunk/; revision=5632
      325c4eb5
  5. 28 Aug, 2007 1 commit
    • William Jon McCann's avatar
      Mass change tabs to spaces. Tabs suck. · 77b6d6f4
      William Jon McCann authored
      2007-08-28  William Jon McCann  <mccann@jhu.edu>
      
      	* common/gdm-address.c:
      	* common/gdm-address.h:
      	* common/gdm-common.c:
      	* common/gdm-common.h:
      	* common/gdm-log.c:
      	* common/gdm-log.h:
      	* common/gdm-md5.c:
      	* common/gdm-md5.h:
      	* common/gdm-settings-backend.c:
      	* common/gdm-settings-backend.h:
      	* common/gdm-settings-client.c:
      	* common/gdm-settings-client.h:
      	* common/gdm-settings-desktop-backend.c:
      	* common/gdm-settings-desktop-backend.h:
      	* common/gdm-settings-direct.c:
      	* common/gdm-settings-direct.h:
      	* common/gdm-settings-keys.h:
      	* common/gdm-settings-utils.c:
      	* common/gdm-settings-utils.h:
      	* common/gdm-settings.c:
      	* common/gdm-settings.h:
      	* common/gdm-signal-handler.c:
      	* common/gdm-signal-handler.h:
      	* common/ve-signal.c:
      	* common/ve-signal.h:
      	* daemon/auth.c:
      	* daemon/choose.c:
      	* daemon/choose.h:
      	* daemon/factory-slave-main.c:
      	* daemon/filecheck.c:
      	* daemon/gdm-display-factory.c:
      	* daemon/gdm-display-factory.h:
      	* daemon/gdm-display-store.c:
      	* daemon/gdm-display-store.h:
      	* daemon/gdm-display.c:
      	* daemon/gdm-display.h:
      	* daemon/gdm-factory-slave.c:
      	* daemon/gdm-factory-slave.h:
      	* daemon/gdm-greeter-proxy.c:
      	* daemon/gdm-greeter-proxy.h:
      	* daemon/gdm-greeter-server.c:
      	* daemon/gdm-greeter-server.h:
      	* daemon/gdm-local-display-factory.c:
      	* daemon/gdm-local-display-factory.h:
      	* daemon/gdm-manager.c:
      	* daemon/gdm-manager.h:
      	* daemon/gdm-product-display.c:
      	* daemon/gdm-product-display.h:
      	* daemon/gdm-product-slave.c:
      	* daemon/gdm-product-slave.h:
      	* daemon/gdm-server.c:
      	* daemon/gdm-server.h:
      	* daemon/gdm-session-relay.c:
      	* daemon/gdm-session-relay.h:
      	* daemon/gdm-session-worker-job.c:
      	* daemon/gdm-session-worker-job.h:
      	* daemon/gdm-session-worker.c:
      	* daemon/gdm-session-worker.h:
      	* daemon/gdm-session.c:
      	* daemon/gdm-session.h:
      	* daemon/gdm-simple-slave.c:
      	* daemon/gdm-simple-slave.h:
      	* daemon/gdm-slave-proxy.c:
      	* daemon/gdm-slave-proxy.h:
      	* daemon/gdm-slave.c:
      	* daemon/gdm-slave.h:
      	* daemon/gdm-static-display.c:
      	* daemon/gdm-static-display.h:
      	* daemon/gdm-static-factory-display.c:
      	* daemon/gdm-static-factory-display.h:
      	* daemon/gdm-xdmcp-display-factory.c:
      	* daemon/gdm-xdmcp-display-factory.h:
      	* daemon/gdm-xdmcp-display.c:
      	* daemon/gdm-xdmcp-display.h:
      	* daemon/main.c:
      	* daemon/product-slave-main.c:
      	* daemon/session-worker-main.c:
      	* daemon/simple-slave-main.c:
      	* daemon/test-hal-seats.c:
      	* daemon/test-session.c:
      	* gui/simple-greeter/gdm-simple-greeter.c:
      	* gui/simple-greeter/gdm-simple-greeter.h:
      	* gui/simple-greeter/greeter-main.c:
      	* libgreeter/gdm-greeter.c:
      	* libgreeter/gdm-greeter.h:
      	* libgreeter/gdmlanguages.c:
      	* libgreeter/gdmsession.c:
      	Mass change tabs to spaces.  Tabs suck.
      
      
      svn path=/branches/mccann-gobject/; revision=5196
      77b6d6f4
  6. 03 Aug, 2007 2 commits
    • William Jon McCann's avatar
      Fix up inheritance. · 9d0888fe
      William Jon McCann authored
      2007-08-03  William Jon McCann  <mccann@jhu.edu>
      
      	* daemon/gdm-display-factory.c: (gdm_display_factory_start),
      	(gdm_display_factory_stop):
      	* daemon/gdm-display-factory.h:
      	* daemon/gdm-local-display-factory.c:
      	(gdm_local_display_factory_start),
      	(gdm_local_display_factory_stop),
      	(gdm_local_display_factory_class_init):
      	* daemon/gdm-local-display-factory.h:
      	* daemon/gdm-manager.c: (gdm_manager_start),
      	(gdm_manager_set_wait_for_go):
      	* daemon/gdm-xdmcp-display-factory.c:
      	(gdm_xdmcp_display_factory_start),
      	(gdm_xdmcp_display_factory_stop),
      	(gdm_xdmcp_display_factory_class_init):
      	* daemon/gdm-xdmcp-display-factory.h:
      	Fix up inheritance.
      
      
      svn path=/branches/mccann-gobject/; revision=5133
      9d0888fe
    • William Jon McCann's avatar
      Add an abstract base class for display factories. Rename gdm-xdmcp-manager · bbf43b5b
      William Jon McCann authored
      2007-08-03  William Jon McCann  <mccann@jhu.edu>
      
      	* daemon/Makefile.am:
      	* daemon/gdm-display-factory.c: (gdm_display_factory_error_quark),
      	(gdm_display_factory_get_display_store),
      	(gdm_display_factory_start), (gdm_display_factory_stop),
      	(gdm_display_factory_set_display_store),
      	(gdm_display_factory_set_property),
      	(gdm_display_factory_get_property),
      	(gdm_display_factory_class_init), (gdm_display_factory_init),
      	(gdm_display_factory_finalize):
      	* daemon/gdm-display-factory.h:
      	* daemon/gdm-local-display-factory.c: (create_display_for_device),
      	(create_displays_for_pci_devices),
      	(gdm_local_display_factory_start),
      	(gdm_local_display_factory_set_property),
      	(gdm_local_display_factory_get_property),
      	(gdm_local_display_factory_class_init):
      	* daemon/gdm-local-display-factory.h:
      	* daemon/gdm-manager.c: (gdm_manager_start),
      	(gdm_manager_set_wait_for_go), (gdm_manager_constructor),
      	(gdm_manager_finalize):
      	* daemon/gdm-xdmcp-display-factory.c:
      	(gdm_xdmcp_display_factory_error_quark), (get_next_session_serial),
      	(setup_multicast), (open_port), (gdm_xdmcp_num_displays_from_host),
      	(gdm_xdmcp_display_lookup_by_host), (get_willing_output),
      	(gdm_xdmcp_send_willing), (gdm_xdmcp_send_unwilling),
      	(gdm_xdmcp_send_forward_query), (handle_any_query),
      	(handle_direct_query), (gdm_xdmcp_handle_broadcast_query),
      	(gdm_xdmcp_handle_query), (gdm_xdmcp_handle_indirect_query),
      	(gdm_forward_query_dispose), (remove_oldest_forward),
      	(gdm_forward_query_alloc), (gdm_forward_query_lookup),
      	(gdm_xdmcp_whack_queued_managed_forwards),
      	(gdm_xdmcp_handle_forward_query),
      	(gdm_xdmcp_really_send_managed_forward), (managed_forward_handler),
      	(gdm_xdmcp_send_managed_forward),
      	(gdm_xdmcp_send_got_managed_forward), (count_sessions),
      	(gdm_xdmcp_recount_sessions), (purge_displays),
      	(gdm_xdmcp_displays_purge), (display_dispose_check),
      	(gdm_xdmcp_send_decline), (gdm_xdmcp_display_alloc),
      	(gdm_xdmcp_send_accept), (gdm_xdmcp_handle_request),
      	(gdm_xdmcp_display_lookup), (gdm_xdmcp_send_failed),
      	(gdm_xdmcp_send_refuse), (gdm_xdmcp_handle_manage),
      	(gdm_xdmcp_handle_managed_forward),
      	(gdm_xdmcp_handle_got_managed_forward), (gdm_xdmcp_send_alive),
      	(gdm_xdmcp_handle_keepalive), (decode_packet),
      	(gdm_xdmcp_display_factory_start),
      	(gdm_xdmcp_display_factory_stop),
      	(gdm_xdmcp_display_factory_set_port),
      	(gdm_xdmcp_display_factory_set_use_multicast),
      	(gdm_xdmcp_display_factory_set_multicast_address),
      	(gdm_xdmcp_display_factory_set_honor_indirect),
      	(gdm_xdmcp_display_factory_set_max_displays_per_host),
      	(gdm_xdmcp_display_factory_set_max_displays),
      	(gdm_xdmcp_display_factory_set_max_pending_displays),
      	(gdm_xdmcp_display_factory_set_max_wait),
      	(gdm_xdmcp_display_factory_set_willing_script),
      	(gdm_xdmcp_display_factory_set_property),
      	(gdm_xdmcp_display_factory_get_property),
      	(gdm_xdmcp_display_factory_class_init),
      	(gdm_xdmcp_display_factory_init),
      	(gdm_xdmcp_display_factory_finalize),
      	(gdm_xdmcp_display_factory_new):
      	* daemon/gdm-xdmcp-display-factory.h:
      	* daemon/gdm-xdmcp-manager.c:
      	* daemon/gdm-xdmcp-manager.h:
      	Add an abstract base class for display factories.  Rename
      	gdm-xdmcp-manager to gdm-xdmcp-display-factory.
      
      
      svn path=/branches/mccann-gobject/; revision=5132
      bbf43b5b
  7. 02 Aug, 2007 1 commit
    • William Jon McCann's avatar
      Add new object that will monitor HAL and act as a factory for displays. · 15b71907
      William Jon McCann authored
      2007-08-02  William Jon McCann  <mccann@jhu.edu>
      
      	* daemon/Makefile.am:
      	* daemon/gdm-local-display-factory.c:
      	(gdm_local_display_factory_error_quark), (get_pci_seat_devices),
      	(gdm_local_display_factory_start),
      	(gdm_local_display_factory_stop),
      	(gdm_local_display_factory_set_display_store),
      	(gdm_local_display_factory_set_property),
      	(gdm_local_display_factory_get_property),
      	(gdm_local_display_factory_class_init), (connect_to_hal),
      	(disconnect_from_hal), (gdm_local_display_factory_init),
      	(gdm_local_display_factory_finalize),
      	(gdm_local_display_factory_new):
      	* daemon/gdm-local-display-factory.h:
      	* daemon/gdm-manager.c: (gdm_manager_start),
      	(gdm_manager_set_wait_for_go), (gdm_manager_constructor):
      	Add new object that will monitor HAL and act as a factory
      	for displays.
      
      
      svn path=/branches/mccann-gobject/; revision=5125
      15b71907