]> rtime.felk.cvut.cz Git - sojka/lightdm.git/log
sojka/lightdm.git
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.

9 years agoReleasing 1.11.6
Robert Ancell [Thu, 21 Aug 2014 21:17:52 +0000 (09:17 +1200)]
Releasing 1.11.6

9 years agoAdd a new session type 'mir-container' that allows the session to run inside a custom...
Robert Ancell [Thu, 21 Aug 2014 20:36:30 +0000 (08:36 +1200)]
Add a new session type 'mir-container' that allows the session to run inside a custom system compositor

9 years agoAdd a new session type 'mir-container' that allows the session to run inside a custom...
Robert Ancell [Thu, 21 Aug 2014 04:07:32 +0000 (16:07 +1200)]
Add a new session type 'mir-container' that allows the session to run inside a custom system compositor

9 years agoRefactor XDMCP client code so it's not hardcoded to use X in seat.c
Robert Ancell [Thu, 21 Aug 2014 03:08:22 +0000 (15:08 +1200)]
Refactor XDMCP client code so it's not hardcoded to use X in seat.c

9 years agoRefactor XDMCP client code so it's not hardcoded to use X in seat.c
Robert Ancell [Thu, 21 Aug 2014 03:07:45 +0000 (15:07 +1200)]
Refactor XDMCP client code so it's not hardcoded to use X in seat.c

9 years agoAdd simulated login1 interface for seats (not currently required, but will be used...
Robert Ancell [Tue, 19 Aug 2014 23:38:08 +0000 (11:38 +1200)]
Add simulated login1 interface for seats (not currently required, but will be used for automatic multi-seat support)

9 years agoAdd simulated login1 interface for seats (not currently required, but will be used...
Robert Ancell [Tue, 19 Aug 2014 23:37:59 +0000 (11:37 +1200)]
Add simulated login1 interface for seats (not currently required, but will be used for automatic multi-seat support)

9 years agoOnly seat0 takes VT from Plymouth
Robert Ancell [Tue, 19 Aug 2014 22:28:50 +0000 (10:28 +1200)]
Only seat0 takes VT from Plymouth

9 years agoNo need to check if get_seat_name() return value is non-NULL.
Laércio de Sousa [Tue, 19 Aug 2014 10:51:09 +0000 (07:51 -0300)]
No need to check if get_seat_name() return value is non-NULL.

9 years agoRemoved unused GAsyncResultIface.is_tagged as this attribute was not available in...
Robert Ancell [Mon, 18 Aug 2014 05:22:42 +0000 (17:22 +1200)]
Removed unused GAsyncResultIface.is_tagged as this attribute was not available in earlier versions of Glib I/O.

9 years agoAbort autogen if yelp-tools not installed
Robert Ancell [Mon, 18 Aug 2014 05:20:39 +0000 (17:20 +1200)]
Abort autogen if yelp-tools not installed

9 years agoMake get_vt() return -1 immediately if "xdg-seat" property value is not "seat0".
Laércio de Sousa [Fri, 15 Aug 2014 12:46:54 +0000 (09:46 -0300)]
Make get_vt() return -1 immediately if "xdg-seat" property value is not "seat0".

Since release 1.16, Xorg-server no longer touches VTs if -seat option
with a non-seat0 value is passed, so there's no need to return a non-negative
value in get_vt() for non-seat0 seats.

9 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Tue, 12 Aug 2014 06:04:48 +0000 (06:04 +0000)]
Launchpad automatic translations update.

9 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Wed, 6 Aug 2014 06:29:20 +0000 (06:29 +0000)]
Launchpad automatic translations update.

9 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Mon, 4 Aug 2014 06:06:33 +0000 (06:06 +0000)]
Launchpad automatic translations update.

9 years agoAdd a seat option 'allow-user-switching' that can disable all user switching for...
Robert Ancell [Fri, 1 Aug 2014 08:11:03 +0000 (20:11 +1200)]
Add a seat option 'allow-user-switching' that can disable all user switching for that seat

9 years agoFix comment
Robert Ancell [Thu, 31 Jul 2014 05:11:06 +0000 (17:11 +1200)]
Fix comment

9 years agoAdd a seat option 'allow-user-switching' that can disable all user switching for...
Robert Ancell [Thu, 31 Jul 2014 04:59:55 +0000 (16:59 +1200)]
Add a seat option 'allow-user-switching' that can disable all user switching for that seat

9 years agoReturn correct errors for D-Bus calls
Robert Ancell [Thu, 31 Jul 2014 04:51:29 +0000 (16:51 +1200)]
Return correct errors for D-Bus calls

9 years agoReturn correct errors for D-Bus calls
Robert Ancell [Thu, 31 Jul 2014 04:51:07 +0000 (16:51 +1200)]
Return correct errors for D-Bus calls

9 years agoAdd bug link in debian changelog
Robert Ancell [Mon, 28 Jul 2014 02:23:44 +0000 (14:23 +1200)]
Add bug link in debian changelog

9 years agoReleasing 1.11.5
Robert Ancell [Mon, 28 Jul 2014 02:21:45 +0000 (14:21 +1200)]
Releasing 1.11.5

9 years agoMake the real name of a guest account translatable
Robert Ancell [Mon, 28 Jul 2014 01:36:09 +0000 (13:36 +1200)]
Make the real name of a guest account translatable

9 years agoRefresh patches
Robert Ancell [Mon, 28 Jul 2014 00:02:54 +0000 (12:02 +1200)]
Refresh patches

9 years agoMake PAM services configurable
Robert Ancell [Sun, 27 Jul 2014 23:45:31 +0000 (11:45 +1200)]
Make PAM services configurable

9 years agoAdd regression tests for PAM configuration
Robert Ancell [Sun, 27 Jul 2014 23:39:31 +0000 (11:39 +1200)]
Add regression tests for PAM configuration

9 years agoMake the real name of a guest account translatable. Fixes: https://launchpad.net...
Gunnar Hjalmarsson [Fri, 25 Jul 2014 22:12:59 +0000 (00:12 +0200)]
Make the real name of a guest account translatable. Fixes: https://launchpad.net/bugs/1177713

9 years agoMake PAM services configurable
Robert Ancell [Fri, 25 Jul 2014 05:00:37 +0000 (17:00 +1200)]
Make PAM services configurable

9 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Mon, 7 Jul 2014 05:45:16 +0000 (05:45 +0000)]
Launchpad automatic translations update.

9 years agoReleasing 1.11.4
Robert Ancell [Tue, 1 Jul 2014 04:08:49 +0000 (16:08 +1200)]
Releasing 1.11.4

9 years agolightdm.service: Don't test for specific installation path
Martin Pitt [Mon, 30 Jun 2014 06:52:39 +0000 (08:52 +0200)]
lightdm.service: Don't test for specific installation path

9 years agoDo timed autologin each time you are returned to the greeter
Robert Ancell [Mon, 30 Jun 2014 05:00:29 +0000 (17:00 +1200)]
Do timed autologin each time you are returned to the greeter

9 years agoFix tests failing with Qt 5.3 due to it checking getuid/geteuid which we are faking
Robert Ancell [Mon, 30 Jun 2014 04:19:52 +0000 (16:19 +1200)]
Fix tests failing with Qt 5.3 due to it checking getuid/geteuid which we are faking

9 years agoCheck autologin timeout value set correctly in tests, don't actually do the timeout
Robert Ancell [Mon, 30 Jun 2014 03:24:28 +0000 (15:24 +1200)]
Check autologin timeout value set correctly in tests, don't actually do the timeout

9 years agoWarn if trying to switch to user without username
Robert Ancell [Sun, 29 Jun 2014 23:24:49 +0000 (11:24 +1200)]
Warn if trying to switch to user without username

9 years agoWarn if trying to switch to user without username
Robert Ancell [Sun, 29 Jun 2014 23:15:24 +0000 (11:15 +1200)]
Warn if trying to switch to user without username

9 years agoliblightdm-gobject: Enabled the library for lower Glib I/O versions
Olivier Martin [Fri, 27 Jun 2014 08:48:38 +0000 (09:48 +0100)]
liblightdm-gobject: Enabled the library for lower Glib I/O versions

Removed GAsyncResultIface.is_tagged as this attribute was not available
in earlier versions of Glib I/O.

9 years agoautogen.sh: Fixed typo
Olivier Martin [Fri, 27 Jun 2014 08:41:45 +0000 (09:41 +0100)]
autogen.sh: Fixed typo

9 years agoMakefile: Fixed @YELP_HELP_RULES@: *** missing separator
Olivier Martin [Thu, 26 Jun 2014 22:57:58 +0000 (23:57 +0100)]
Makefile: Fixed @YELP_HELP_RULES@: *** missing separator

'yelp-tools' are required to build lighthm.
This change checks if yelp-tools are installed prior to
configure & build lighthm as recommended on this page:
https://wiki.gnome.org/Initiatives/GnomeGoals/NewDocumentationInfrastructure

9 years agoconfigure.ac: Modules gio-2.0 needs to be at least 2.34
Olivier Martin [Thu, 26 Jun 2014 22:13:24 +0000 (23:13 +0100)]
configure.ac: Modules gio-2.0 needs to be at least 2.34

GAsyncResultIface.is_tagged used by liblightdm-gobject
has been added to 2.34 in commit:

commit  82d914d808c616d14d489c0272c6d5afc4bfbd5a
Author: Dan Winship <danw@gnome.org>
Date:   Thu May 10 11:09:52 2012 -0400
Title:  gio: add g_async_result_is_tagged()

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Thu, 5 Jun 2014 05:48:23 +0000 (05:48 +0000)]
Launchpad automatic translations update.

10 years agoReleasing 1.11.3
Robert Ancell [Thu, 5 Jun 2014 04:21:20 +0000 (16:21 +1200)]
Releasing 1.11.3

10 years agoAdd in changelog entry for already released version
Robert Ancell [Thu, 5 Jun 2014 04:04:00 +0000 (16:04 +1200)]
Add in changelog entry for already released version

10 years agoAdd a test to confirm we can switch between Mir sessions correctly
Robert Ancell [Thu, 5 Jun 2014 04:02:37 +0000 (16:02 +1200)]
Add a test to confirm we can switch between Mir sessions correctly

10 years agoMerge with trunk
Robert Ancell [Thu, 5 Jun 2014 03:52:46 +0000 (15:52 +1200)]
Merge with trunk

10 years agoCheck logind session is correct in tests for lock/unlock
Robert Ancell [Thu, 5 Jun 2014 03:49:01 +0000 (15:49 +1200)]
Check logind session is correct in tests for lock/unlock

10 years agoSet active session in unity-system-compositor when running Mir sessions from VT switc...
Robert Ancell [Thu, 5 Jun 2014 02:56:03 +0000 (14:56 +1200)]
Set active session in unity-system-compositor when running Mir sessions from VT switching seats. There was a behaviour change and the session is now only shown once this is set.

10 years agoAdd back Vala bindings for LightDM.Greeter.connect_sync - just mark as deprecated
Robert Ancell [Sun, 1 Jun 2014 11:33:51 +0000 (19:33 +0800)]
Add back Vala bindings for LightDM.Greeter.connect_sync - just mark as deprecated

10 years agoFix all the things that prevent clang (3.5) from building LightDM with -Werror.
Robert Ancell [Thu, 29 May 2014 11:29:19 +0000 (13:29 +0200)]
Fix all the things that prevent clang (3.5) from building LightDM with -Werror.

10 years agoPut unity-system-compositor's mir_socket under /run rather than /tmp.
Robert Ancell [Thu, 29 May 2014 05:18:21 +0000 (07:18 +0200)]
Put unity-system-compositor's mir_socket under /run rather than /tmp.

/run is root-owned, so prevents non-admin users from performing a trivial DoS attack.

Longer term we should move to not having a socket file at all, and doing plain FD passing,
but that requires quite a lot of extra infrastructure.

10 years agoFix a whole bunch of warnings generated by Clang.
Christopher James Halse Rogers [Wed, 28 May 2014 20:23:37 +0000 (22:23 +0200)]
Fix a whole bunch of warnings generated by Clang.

Mostly printf-format-not-literal, which is mostly just paranoia, but also some
genuine bugs that I have no idea why GCC doesn't find (like not returning
a value from a non-void function)

10 years agoFix up the paths in the tests
Christopher James Halse Rogers [Wed, 28 May 2014 16:18:22 +0000 (18:18 +0200)]
Fix up the paths in the tests

10 years agoAlso lightdm-mir-%d sockets under /run
Christopher James Halse Rogers [Wed, 28 May 2014 16:18:06 +0000 (18:18 +0200)]
Also lightdm-mir-%d sockets under /run

10 years agoPut unity-system-compositor's mir_socket under /run rather than /tmp.
Christopher James Halse Rogers [Wed, 28 May 2014 15:38:19 +0000 (17:38 +0200)]
Put unity-system-compositor's mir_socket under /run rather than /tmp.

/run is root-owned, so prevents non-admin users from performing a trivial DoS attack.

Longer term we should move to not having a socket file at all, and doing plain FD passing