]> rtime.felk.cvut.cz Git - sojka/lightdm.git/log
sojka/lightdm.git
9 years agoRefactored code to replace hardcoded signal identification strings by constants.
Jesús González [Mon, 29 Sep 2014 23:42:38 +0000 (01:42 +0200)]
Refactored code to replace hardcoded signal identification strings by constants.

9 years agoRename login1_session variable to login1_session_id to be clearer
Robert Ancell [Tue, 23 Sep 2014 01:24:48 +0000 (13:24 +1200)]
Rename login1_session variable to login1_session_id to be clearer

9 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Mon, 22 Sep 2014 06:36:48 +0000 (06:36 +0000)]
Launchpad automatic translations update.

9 years agoRemove trailing whitespace
Robert Ancell [Fri, 19 Sep 2014 03:16:14 +0000 (15:16 +1200)]
Remove trailing whitespace

9 years agoFix assumption that the display server is X when running scripts.
Robert Ancell [Mon, 15 Sep 2014 04:59:20 +0000 (16:59 +1200)]
Fix assumption that the display server is X when running scripts.

9 years agoMerge with trunk
Robert Ancell [Mon, 15 Sep 2014 04:50:33 +0000 (16:50 +1200)]
Merge with trunk

9 years agoDisable mir-script-hooks for now, we will work out why it's failing later
Robert Ancell [Mon, 15 Sep 2014 04:50:19 +0000 (16:50 +1200)]
Disable mir-script-hooks for now, we will work out why it's failing later

9 years agoFix test description
Robert Ancell [Mon, 15 Sep 2014 04:48:43 +0000 (16:48 +1200)]
Fix test description

9 years agoPrint error messages if fail to set channel encodings
Robert Ancell [Mon, 15 Sep 2014 04:48:28 +0000 (16:48 +1200)]
Print error messages if fail to set channel encodings

9 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Sun, 14 Sep 2014 07:04:36 +0000 (07:04 +0000)]
Launchpad automatic translations update.

9 years agoRemove unnecessary branch
Robert Ancell [Thu, 11 Sep 2014 23:50:44 +0000 (11:50 +1200)]
Remove unnecessary branch

9 years agoFix whitespace
Robert Ancell [Thu, 11 Sep 2014 23:50:00 +0000 (11:50 +1200)]
Fix whitespace

9 years agoMerge with trunk
Robert Ancell [Thu, 11 Sep 2014 04:08:38 +0000 (16:08 +1200)]
Merge with trunk

9 years agoReleasing 1.11.9
Robert Ancell [Wed, 10 Sep 2014 04:05:59 +0000 (16:05 +1200)]
Releasing 1.11.9

9 years agoMark test scripts as executable
Robert Ancell [Wed, 10 Sep 2014 03:57:28 +0000 (15:57 +1200)]
Mark test scripts as executable

9 years agoBring 1.11.8-0ubuntu2 changes in tree
Robert Ancell [Wed, 10 Sep 2014 03:33:49 +0000 (15:33 +1200)]
Bring 1.11.8-0ubuntu2 changes in tree

9 years agoDon't check the logind CanGraphical seat property unless login-check-graphical option...
Robert Ancell [Wed, 10 Sep 2014 03:33:25 +0000 (15:33 +1200)]
Don't check the logind CanGraphical seat property unless login-check-graphical option is set to true. There are too many cases of drivers that don't set the appropriate flags for this feature to work

9 years agoCall LightDM asynchronously from test-runner as LightDM might make D-Bus calls back...
Robert Ancell [Wed, 10 Sep 2014 03:32:38 +0000 (15:32 +1200)]
Call LightDM asynchronously from test-runner as LightDM might make D-Bus calls back to the test-runner and deadlock

9 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Tue, 9 Sep 2014 07:29:22 +0000 (07:29 +0000)]
Launchpad automatic translations update.

9 years agoMerge with trunk
Robert Ancell [Mon, 8 Sep 2014 22:23:30 +0000 (10:23 +1200)]
Merge with trunk

9 years agoCall LightDM asynchronously from test-runner as LightDM might make D-Bus calls back...
Robert Ancell [Mon, 8 Sep 2014 04:51:42 +0000 (16:51 +1200)]
Call LightDM asynchronously from test-runner as LightDM might make D-Bus calls back to the test-runner and deadlock

9 years agoFix variable scope
Robert Ancell [Mon, 8 Sep 2014 03:09:39 +0000 (15:09 +1200)]
Fix variable scope

9 years agoMerge with trunk
Robert Ancell [Mon, 8 Sep 2014 02:59:50 +0000 (14:59 +1200)]
Merge with trunk

9 years agoRemove unnecessary variable
Robert Ancell [Sun, 7 Sep 2014 23:28:20 +0000 (11:28 +1200)]
Remove unnecessary variable

9 years agoAdd a test for the case seat0 has CanGraphical=false on startup
Robert Ancell [Fri, 5 Sep 2014 03:44:22 +0000 (15:44 +1200)]
Add a test for the case seat0 has CanGraphical=false on startup

9 years agoImprove logind log messages
Robert Ancell [Fri, 5 Sep 2014 02:41:54 +0000 (14:41 +1200)]
Improve logind log messages

9 years agoFix memory leaks
Robert Ancell [Fri, 5 Sep 2014 02:18:15 +0000 (14:18 +1200)]
Fix memory leaks

9 years agoMake socket writing code used between greeter and daemon more robust
Robert Ancell [Thu, 4 Sep 2014 05:09:02 +0000 (17:09 +1200)]
Make socket writing code used between greeter and daemon more robust

9 years agoFix memory leak in test-gobject-greeter
Robert Ancell [Thu, 4 Sep 2014 04:52:04 +0000 (16:52 +1200)]
Fix memory leak in test-gobject-greeter

9 years agoRemove unused test-mir-greeter - we use the test-gobject-greeter instead
Robert Ancell [Thu, 4 Sep 2014 04:39:37 +0000 (16:39 +1200)]
Remove unused test-mir-greeter - we use the test-gobject-greeter instead

9 years agoConvert remaining login1 functions into methods in Login1Service
Robert Ancell [Thu, 4 Sep 2014 04:23:06 +0000 (16:23 +1200)]
Convert remaining login1 functions into methods in Login1Service

9 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Wed, 3 Sep 2014 06:08:07 +0000 (06:08 +0000)]
Launchpad automatic translations update.

9 years agoReleasing 1.11.8
Robert Ancell [Wed, 3 Sep 2014 05:40:47 +0000 (17:40 +1200)]
Releasing 1.11.8

9 years agoRevert globbing changes - there are problems with it
Robert Ancell [Wed, 3 Sep 2014 05:21:46 +0000 (17:21 +1200)]
Revert globbing changes - there are problems with it

9 years agoDon't use org.freedesktop.login1.Manager.GetSessionByPID to get the logind session...
Robert Ancell [Wed, 3 Sep 2014 04:43:32 +0000 (16:43 +1200)]
Don't use org.freedesktop.login1.Manager.GetSessionByPID to get the logind session id in the child - it's racy and we already have the value in an environment variable

9 years agoDon't try and guess if the session ID is from logind or ConsoleKit - be explicit
Robert Ancell [Wed, 3 Sep 2014 04:42:44 +0000 (16:42 +1200)]
Don't try and guess if the session ID is from logind or ConsoleKit - be explicit

9 years agoDon't use org.freedesktop.login1.Manager.GetSessionByPID to get the logind session...
Robert Ancell [Wed, 3 Sep 2014 04:35:29 +0000 (16:35 +1200)]
Don't use org.freedesktop.login1.Manager.GetSessionByPID to get the logind session id in the child - it's racy and we already have the value in an environment variable

9 years agoDon't try and read both a login1 session id and ConsoleKit id from the session child
Robert Ancell [Wed, 3 Sep 2014 03:30:23 +0000 (15:30 +1200)]
Don't try and read both a login1 session id and ConsoleKit id from the session child

9 years agoMatch seat configuration using globbing
Robert Ancell [Tue, 2 Sep 2014 04:41:29 +0000 (16:41 +1200)]
Match seat configuration using globbing

9 years agoFix errors in test case and simplify using autologin instead of guest login timeouts...
Robert Ancell [Tue, 2 Sep 2014 04:34:30 +0000 (16:34 +1200)]
Fix errors in test case and simplify using autologin instead of guest login timeouts to determine which config is applied

9 years agoGenerate valid d-bus addresses for mock logind seats
Robert Ancell [Tue, 2 Sep 2014 04:26:01 +0000 (16:26 +1200)]
Generate valid d-bus addresses for mock logind seats

9 years agoDon't assume display server is an X server when running scripts - fixes crashes runni...
Robert Ancell [Mon, 1 Sep 2014 05:01:15 +0000 (17:01 +1200)]
Don't assume display server is an X server when running scripts - fixes crashes running scripts under Mir

9 years agoRemove remaining xdg-seat test files.
Robert Ancell [Thu, 28 Aug 2014 20:41:47 +0000 (08:41 +1200)]
Remove remaining xdg-seat test files.

9 years agoMake sure we won't try to call free functions on null pointers.
Laércio de Sousa [Thu, 28 Aug 2014 14:38:54 +0000 (11:38 -0300)]
Make sure we won't try to call free functions on null pointers.

9 years agoRemove remaining xdg-seat test files
Laércio de Sousa [Thu, 28 Aug 2014 14:25:14 +0000 (11:25 -0300)]
Remove remaining xdg-seat test files

9 years agoMerge with trunk
Laércio de Sousa [Thu, 28 Aug 2014 13:32:49 +0000 (10:32 -0300)]
Merge with trunk

9 years agoMerge with trunk
Laércio de Sousa [Thu, 28 Aug 2014 13:25:58 +0000 (10:25 -0300)]
Merge with trunk

9 years agoAdd regression test
Laércio de Sousa [Thu, 28 Aug 2014 13:20:55 +0000 (10:20 -0300)]
Add regression test

9 years agoCollects all globbing config sections that match a given seat name, not only the...
Laércio de Sousa [Thu, 28 Aug 2014 12:58:18 +0000 (09:58 -0300)]
Collects all globbing config sections that match a given seat name, not only the first one.

9 years agoUse g_pattern_match_simple() to match config section globbing against seat name.
Laércio de Sousa [Thu, 28 Aug 2014 11:51:34 +0000 (08:51 -0300)]
Use g_pattern_match_simple() to match config section globbing against seat name.

9 years agoHandle CanGraphical property changing on logind seats
Robert Ancell [Thu, 28 Aug 2014 00:11:30 +0000 (12:11 +1200)]
Handle CanGraphical property changing on logind seats

9 years agoDon't start non-graphical seats
Robert Ancell [Wed, 27 Aug 2014 23:12:39 +0000 (11:12 +1200)]
Don't start non-graphical seats

9 years agoMove get_config_section() definition code before display_manager_seat_removed_cb...
Laércio de Sousa [Wed, 27 Aug 2014 13:32:21 +0000 (10:32 -0300)]
Move get_config_section() definition code before display_manager_seat_removed_cb() definition.

9 years agoFix coding style
Laércio de Sousa [Wed, 27 Aug 2014 13:12:58 +0000 (10:12 -0300)]
Fix coding style

9 years agoAdd support for simple globbing in seat config sections.
Laércio de Sousa [Wed, 27 Aug 2014 12:29:25 +0000 (09:29 -0300)]
Add support for simple globbing in seat config sections.

9 years agoReleasing 1.11.7
Robert Ancell [Wed, 27 Aug 2014 04:56:26 +0000 (16:56 +1200)]
Releasing 1.11.7

9 years agoSet -sharevts for X servers not on seat0
Robert Ancell [Wed, 27 Aug 2014 04:49:04 +0000 (16:49 +1200)]
Set -sharevts for X servers not on seat0

9 years agoAdd a new UPDATE-SEAT command so we can test logind seat changing properties when...
Robert Ancell [Wed, 27 Aug 2014 04:09:56 +0000 (16:09 +1200)]
Add a new UPDATE-SEAT command so we can test logind seat changing properties when we support it

9 years agoUse logind to provide the list of seats to use.
Robert Ancell [Wed, 27 Aug 2014 03:49:19 +0000 (15:49 +1200)]
Use logind to provide the list of seats to use.

This deprecates the old method of defining seats in configuration. The xdg-seat option and the AddSeat() D-Bus method are now deprecated.
If logind is not present, only one seat will be started (seat0). If there is a use-case for non-logind multi-seat then we can look at creating something like /etc/lightdm/seats.conf as a fallback mechanism.

9 years agoRemove old manual way of creating seats. The xdg-seat option and the AddSeat() D...
Robert Ancell [Wed, 27 Aug 2014 03:44:23 +0000 (15:44 +1200)]
Remove old manual way of creating seats. The xdg-seat option and the AddSeat() D-Bus method are now deprecated

9 years agoDon't assume that a config section exists when copying from it
Robert Ancell [Wed, 27 Aug 2014 03:29:11 +0000 (15:29 +1200)]
Don't assume that a config section exists when copying from it

9 years agoFix multi-seat test invalid syntax
Robert Ancell [Wed, 27 Aug 2014 03:27:59 +0000 (15:27 +1200)]
Fix multi-seat test invalid syntax

9 years agoDon't start any login1 seats if start-default-seat=false to match existing use-case
Robert Ancell [Wed, 27 Aug 2014 03:19:27 +0000 (15:19 +1200)]
Don't start any login1 seats if start-default-seat=false to match existing use-case

9 years agoxdg-seat tests don't make sense anymore
Robert Ancell [Wed, 27 Aug 2014 03:14:05 +0000 (15:14 +1200)]
xdg-seat tests don't make sense anymore

9 years agoStop lightdm if can't add login1 seats to match existing behaviour
Robert Ancell [Wed, 27 Aug 2014 03:13:16 +0000 (15:13 +1200)]
Stop lightdm if can't add login1 seats to match existing behaviour

9 years agoStop lightdm if logind created seat0 fails to start to match existing behaviour
Robert Ancell [Wed, 27 Aug 2014 02:58:26 +0000 (14:58 +1200)]
Stop lightdm if logind created seat0 fails to start to match existing behaviour

9 years agoRemove spurious FIXME block on normal error messages
Robert Ancell [Wed, 27 Aug 2014 02:57:24 +0000 (14:57 +1200)]
Remove spurious FIXME block on normal error messages

9 years agoSimplify finding seats by name
Robert Ancell [Wed, 27 Aug 2014 02:57:03 +0000 (14:57 +1200)]
Simplify finding seats by name

9 years agoChange whitespace, coding style, error messages to match existing code
Robert Ancell [Wed, 27 Aug 2014 02:56:13 +0000 (14:56 +1200)]
Change whitespace, coding style, error messages to match existing code

9 years agoExport test login1 seat properties correctly
Robert Ancell [Wed, 27 Aug 2014 02:54:25 +0000 (14:54 +1200)]
Export test login1 seat properties correctly

9 years agoSimplify multi-seat test case
Robert Ancell [Wed, 27 Aug 2014 02:54:02 +0000 (14:54 +1200)]
Simplify multi-seat test case

9 years agoUse consistent seat naming
Robert Ancell [Wed, 27 Aug 2014 02:53:37 +0000 (14:53 +1200)]
Use consistent seat naming

9 years agoFix syntax in multi-seat test script
Robert Ancell [Wed, 27 Aug 2014 02:53:06 +0000 (14:53 +1200)]
Fix syntax in multi-seat test script

9 years agoMake g_dbus_connection_signal_subscribe() call a little bit safer.
Robert Ancell [Tue, 26 Aug 2014 21:45:20 +0000 (09:45 +1200)]
Make g_dbus_connection_signal_subscribe() call a little bit safer.

9 years agoMake g_dbus_connection_signal_subscribe() call a little bit safer.
Laércio de Sousa [Tue, 26 Aug 2014 18:12:23 +0000 (15:12 -0300)]
Make g_dbus_connection_signal_subscribe() call a little bit safer.

9 years agoFix mistakes in updated test-multi-seat script.
Laércio de Sousa [Tue, 26 Aug 2014 14:51:05 +0000 (11:51 -0300)]
Fix mistakes in updated test-multi-seat script.

9 years agoUse login1_service_get_instance() more extensively in lightdm.c.
Laércio de Sousa [Tue, 26 Aug 2014 14:47:39 +0000 (11:47 -0300)]
Use login1_service_get_instance() more extensively in lightdm.c.

9 years agoFix typo in g_strfreev() call.
Laércio de Sousa [Tue, 26 Aug 2014 14:13:38 +0000 (11:13 -0300)]
Fix typo in g_strfreev() call.

9 years agoMake seat type configurable for seats added from logind.
Laércio de Sousa [Tue, 26 Aug 2014 14:08:39 +0000 (11:08 -0300)]
Make seat type configurable for seats added from logind.

9 years agoUpdate test-multi-seat script to deal with seats added/removed dinamically
Laércio de Sousa [Tue, 26 Aug 2014 12:44:00 +0000 (09:44 -0300)]
Update test-multi-seat script to deal with seats added/removed dinamically
from logind.

9 years agoRevert changes made in revision 2032.
Laércio de Sousa [Mon, 25 Aug 2014 14:53:10 +0000 (11:53 -0300)]
Revert changes made in revision 2032.

9 years agoEnsure start-default-seat condition will never be reached when
Laércio de Sousa [Mon, 25 Aug 2014 11:00:05 +0000 (08:00 -0300)]
Ensure start-default-seat condition will never be reached when
adding seats from logind.

9 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Mon, 25 Aug 2014 07:08:53 +0000 (07:08 +0000)]
Launchpad automatic translations update.

9 years agoAdd/Update some debug messages.
Laércio de Sousa [Fri, 22 Aug 2014 19:21:19 +0000 (16:21 -0300)]
Add/Update some debug messages.

9 years agoRemove uneeded g_variant_unref() call inside g_variant_iter_loop().
Laércio de Sousa [Fri, 22 Aug 2014 19:16:00 +0000 (16:16 -0300)]
Remove uneeded g_variant_unref() call inside g_variant_iter_loop().

See documentation at https://developer.gnome.org/glib/2.41/glib-GVariant.html#g-variant-iter-loop

9 years agoAdd a debug message before start monitoring logind for new/removed seats
Laércio de Sousa [Fri, 22 Aug 2014 17:01:38 +0000 (14:01 -0300)]
Add a debug message before start monitoring logind for new/removed seats

9 years agoAdd missing '*' in login1_service declaration.
Laércio de Sousa [Fri, 22 Aug 2014 13:46:10 +0000 (10:46 -0300)]
Add missing '*' in login1_service declaration.

9 years agoIf logind is running, disable old-style static seat loading,
Laércio de Sousa [Fri, 22 Aug 2014 13:33:55 +0000 (10:33 -0300)]
If logind is running, disable old-style static seat loading,
and set properties from config sections [Seat:seat*]
to dynamical seats added from logind.

9 years agoAdd missing declarations in callback function login1_service_seat_removed_cb().
Laércio de Sousa [Fri, 22 Aug 2014 13:24:28 +0000 (10:24 -0300)]
Add missing declarations in callback function login1_service_seat_removed_cb().

9 years agoSimplify callback function signal_cb() in login1.c.
Laércio de Sousa [Fri, 22 Aug 2014 13:05:44 +0000 (10:05 -0300)]
Simplify callback function signal_cb() in login1.c.

9 years agoIntroduce automatic multiseat support.
Laércio de Sousa [Fri, 22 Aug 2014 12:59:32 +0000 (09:59 -0300)]
Introduce automatic multiseat support.

9 years agoAdd --show-config option that shows combined configuration
Robert Ancell [Fri, 22 Aug 2014 09:06:41 +0000 (21:06 +1200)]
Add --show-config option that shows combined configuration

9 years agoShow source of configuration keys
Robert Ancell [Fri, 22 Aug 2014 09:01:20 +0000 (21:01 +1200)]
Show source of configuration keys

9 years agoAdd --show-config option that shows combined configuration
Robert Ancell [Fri, 22 Aug 2014 07:58:05 +0000 (19:58 +1200)]
Add --show-config option that shows combined configuration

9 years agoGet seat properties from logind
Robert Ancell [Fri, 22 Aug 2014 02:03:12 +0000 (14:03 +1200)]
Get seat properties from logind

9 years agoGet seat properties from logind
Robert Ancell [Fri, 22 Aug 2014 01:56:45 +0000 (13:56 +1200)]
Get seat properties from logind

9 years agoMake a login1 service object (not currently required, but will be used for automatic...
Robert Ancell [Fri, 22 Aug 2014 01:41:12 +0000 (13:41 +1200)]
Make a login1 service object (not currently required, but will be used for automatic multi-seat support)

9 years agoConnect to logind on startup
Robert Ancell [Fri, 22 Aug 2014 01:35:29 +0000 (13:35 +1200)]
Connect to logind on startup

9 years agoMake a login1 service object (not currently required, but will be used for automatic...
Robert Ancell [Fri, 22 Aug 2014 01:12:25 +0000 (13:12 +1200)]
Make a login1 service object (not currently required, but will be used for automatic multi-seat support)

9 years agoDrop the surfaceflinger seat type. This was a temporary solution while Ubuntu Phone...
Robert Ancell [Thu, 21 Aug 2014 21:36:03 +0000 (09:36 +1200)]
Drop the surfaceflinger seat type. This was a temporary solution while Ubuntu Phone was migrating to Mir.