]>
rtime.felk.cvut.cz Git - sojka/lightdm.git/log
Michal Sojka [Sun, 30 Oct 2016 10:49:27 +0000 (11:49 +0100)]
Load all users only when really needed
LightDM internally maintains a list of all users in the "system". This
is problematic when the user database is on a remote LDAP server and
contains thousands of users, because loading all of them can block
lightdm for minutes. This blocking seems to happen at least three times:
1) when lightdm daemon is started, 2) when a lightdm
child (seat/session?) is started and 3) when a user moves focus in the
greeter (gtk) from username to password field.
This patch eliminates long blocking by loading the users on
demand (using getpwnam() instead of getpwent()). The whole test suite
passes, but I'm afraid that some functionality could be broken. Feedback
welcome.
Martin Pitt [Tue, 25 Oct 2016 19:40:46 +0000 (21:40 +0200)]
releasing package lightdm version 1.20.0-0ubuntu2
Martin Pitt [Tue, 25 Oct 2016 19:23:18 +0000 (21:23 +0200)]
debian/lightdm-greeter-session: Don't launch another session D-Bus if one
is already running (usually from dbus-user-session).
Launchpad Translations on behalf of lightdm-team [Sat, 22 Oct 2016 05:51:35 +0000 (05:51 +0000)]
Launchpad automatic translations update.
Michael Terry [Thu, 20 Oct 2016 08:53:37 +0000 (10:53 +0200)]
Update vt ioctl usage
Robert Ancell [Wed, 19 Oct 2016 12:24:49 +0000 (14:24 +0200)]
Re-enable SIGPIPE for children so they have default behaviour
Robert Ancell [Sat, 15 Oct 2016 05:15:27 +0000 (18:15 +1300)]
Releasing 1.20.0
Launchpad automatic translations update.
Robert Ancell [Fri, 30 Sep 2016 03:37:35 +0000 (16:37 +1300)]
Releasing 1.19.5
Robert Ancell [Fri, 30 Sep 2016 03:35:21 +0000 (16:35 +1300)]
Revert r2392 - it seems to have broken ABI in liblightdm-gobject
Robert Ancell [Fri, 30 Sep 2016 02:32:07 +0000 (15:32 +1300)]
Revert the bogus .deps file changes and fix the clean rules
Robert Ancell [Wed, 28 Sep 2016 03:42:20 +0000 (16:42 +1300)]
Allow guest sessions more access to the upstart session socket
Robert Ancell [Wed, 28 Sep 2016 03:13:41 +0000 (16:13 +1300)]
Don't show guest session dialog in MATE
Gunnar Hjalmarsson [Sat, 24 Sep 2016 23:38:58 +0000 (01:38 +0200)]
Skip guest warning dialog in MATE (LP: #
1627395 )
Launchpad automatic translations update.
Robert Ancell [Thu, 1 Sep 2016 23:20:39 +0000 (11:20 +1200)]
Tidy up LightDMGreeterError documentation - still not sure why it doesn't show in GTK-Doc
Robert Ancell [Thu, 1 Sep 2016 23:20:03 +0000 (11:20 +1200)]
Distribute .deps file correctly
Robert Ancell [Thu, 1 Sep 2016 22:47:40 +0000 (10:47 +1200)]
More documentation
Robert Ancell [Thu, 1 Sep 2016 22:39:30 +0000 (10:39 +1200)]
Add missing finalize for LightDMLayout
Robert Ancell [Thu, 1 Sep 2016 22:34:53 +0000 (10:34 +1200)]
Fix generated docs
Robert Ancell [Thu, 1 Sep 2016 22:34:21 +0000 (10:34 +1200)]
Use G_DECLARE_*_TYPE to simplify code and fix docs
Robert Ancell [Tue, 30 Aug 2016 23:27:37 +0000 (11:27 +1200)]
Alphabetically order depdendencies
Robert Ancell [Tue, 30 Aug 2016 23:24:28 +0000 (11:24 +1200)]
Drop unnecessary (double) dependency on gobject-introspection
Launchpad Translations on behalf of lightdm-team [Thu, 18 Aug 2016 05:29:54 +0000 (05:29 +0000)]
Launchpad automatic translations update.
Robert Ancell [Thu, 11 Aug 2016 23:25:32 +0000 (11:25 +1200)]
Releasing 1.19.4
Robert Ancell [Thu, 11 Aug 2016 23:13:19 +0000 (11:13 +1200)]
Refresh patches
Robert Ancell [Thu, 11 Aug 2016 23:13:06 +0000 (11:13 +1200)]
Remove trailing whitespace from Makefiles
Robert Ancell [Thu, 11 Aug 2016 23:07:29 +0000 (11:07 +1200)]
Set hints for in-session-greeters
Robert Ancell [Thu, 11 Aug 2016 05:14:22 +0000 (17:14 +1200)]
Fix greeter being killing a started session once if a new authentication is started
Robert Ancell [Thu, 11 Aug 2016 04:53:15 +0000 (16:53 +1200)]
Add test to confirm in-session greeters can unlock existing sessions
Robert Ancell [Thu, 11 Aug 2016 04:35:32 +0000 (16:35 +1200)]
Fix reference count when creating sessions from greeters
Launchpad Translations on behalf of lightdm-team [Wed, 10 Aug 2016 05:23:49 +0000 (05:23 +0000)]
Launchpad automatic translations update.
Robert Ancell [Tue, 2 Aug 2016 09:31:12 +0000 (21:31 +1200)]
Add a test for multi-seat autologin
Robert Ancell [Tue, 2 Aug 2016 09:23:48 +0000 (21:23 +1200)]
Add a test for multi-seat login
Robert Ancell [Tue, 2 Aug 2016 09:16:14 +0000 (21:16 +1200)]
GObject property coding style fixes
Michael Terry [Mon, 25 Jul 2016 21:12:10 +0000 (17:12 -0400)]
Watch authentication session in case seat closes it; prevents segfault in some cases
Launchpad Translations on behalf of lightdm-team [Tue, 19 Jul 2016 05:44:28 +0000 (05:44 +0000)]
Launchpad automatic translations update.
Robert Ancell [Thu, 14 Jul 2016 04:53:46 +0000 (16:53 +1200)]
Remove warning about Mir IDs when not using Mir
Robert Ancell [Thu, 14 Jul 2016 04:52:08 +0000 (16:52 +1200)]
Rename some functions for consistency
Robert Ancell [Thu, 14 Jul 2016 04:50:10 +0000 (16:50 +1200)]
Fix warning about display server parent
Robert Ancell [Thu, 14 Jul 2016 03:12:25 +0000 (15:12 +1200)]
Add a test to check multiple authentication in greeters works
Robert Ancell [Thu, 14 Jul 2016 02:58:40 +0000 (14:58 +1200)]
Fix warnings in test program logs
Robert Ancell [Thu, 14 Jul 2016 02:44:47 +0000 (14:44 +1200)]
Fix warning when tests complete
Robert Ancell [Thu, 14 Jul 2016 02:33:33 +0000 (14:33 +1200)]
Fix warning about status timeout
Robert Ancell [Thu, 14 Jul 2016 02:25:24 +0000 (14:25 +1200)]
Fix session_get_login1_session_id warning
Robert Ancell [Thu, 14 Jul 2016 02:18:32 +0000 (14:18 +1200)]
Add test to check in-session greeter doesn't open a new session when unlocking active session
Robert Ancell [Thu, 14 Jul 2016 01:59:39 +0000 (13:59 +1200)]
Allow in-session greeters to reconnect
Robert Ancell [Thu, 14 Jul 2016 00:48:17 +0000 (12:48 +1200)]
Fix finalizing common account users
Robert Ancell [Wed, 13 Jul 2016 04:16:58 +0000 (16:16 +1200)]
Don't hold circular reference inside greeter
Robert Ancell [Wed, 13 Jul 2016 04:16:24 +0000 (16:16 +1200)]
Remove IO watch on greeter destruction
Robert Ancell [Wed, 13 Jul 2016 03:25:20 +0000 (15:25 +1200)]
Treat EOF from greeter as connection closed
Robert Ancell [Wed, 13 Jul 2016 01:30:41 +0000 (13:30 +1200)]
Clean up when greeter object destroyed
Robert Ancell [Tue, 12 Jul 2016 22:29:44 +0000 (10:29 +1200)]
Make greeter socket writeable
Robert Ancell [Mon, 11 Jul 2016 22:55:18 +0000 (10:55 +1200)]
Releasing version 1.19.3
Robert Ancell [Mon, 11 Jul 2016 22:49:21 +0000 (10:49 +1200)]
Fix warning about error propagation
Robert Ancell [Mon, 11 Jul 2016 21:51:14 +0000 (09:51 +1200)]
Fix in-session greeter not working for greeter logins
Launchpad automatic translations update.
Robert Ancell [Wed, 29 Jun 2016 04:15:02 +0000 (16:15 +1200)]
Use standards-version 3.9.8
Robert Ancell [Wed, 29 Jun 2016 04:12:27 +0000 (16:12 +1200)]
Releasing 1.19.2
Robert Ancell [Wed, 29 Jun 2016 03:08:57 +0000 (15:08 +1200)]
Remove local path from test script
Robert Ancell [Tue, 28 Jun 2016 04:28:47 +0000 (16:28 +1200)]
Allow greeters to run in-session
Robert Ancell [Tue, 28 Jun 2016 03:09:23 +0000 (15:09 +1200)]
Add asserts on new DisplayServer methods
Robert Ancell [Mon, 27 Jun 2016 04:13:28 +0000 (16:13 +1200)]
Correctly handle G_IO_STATUS_AGAIN
Robert Ancell [Mon, 27 Jun 2016 04:04:49 +0000 (16:04 +1200)]
Return errors from all liblightdm methods
Launchpad Translations on behalf of lightdm-team [Sun, 26 Jun 2016 05:21:58 +0000 (05:21 +0000)]
Launchpad automatic translations update.
Robert Ancell [Fri, 24 Jun 2016 00:27:09 +0000 (12:27 +1200)]
Set GError values on greeter method failures
Robert Ancell [Thu, 23 Jun 2016 23:18:13 +0000 (11:18 +1200)]
Don't access unreffed value
Robert Ancell [Thu, 23 Jun 2016 23:00:09 +0000 (11:00 +1200)]
Report connection error if fail to connect greeter to help debugging failing tests
Robert Ancell [Tue, 21 Jun 2016 21:20:23 +0000 (09:20 +1200)]
Drop mir-container sessions - they were never used
Robert Ancell [Mon, 20 Jun 2016 04:50:31 +0000 (16:50 +1200)]
Releasing 1.19.1
Robert Ancell [Mon, 20 Jun 2016 03:00:16 +0000 (15:00 +1200)]
Fix guest session AppArmor rules for input methods and remove incorrect rule that causes the profile to fail to compile
Robert Ancell [Mon, 20 Jun 2016 02:30:56 +0000 (14:30 +1200)]
Refresh patches
Robert Ancell [Mon, 20 Jun 2016 02:24:57 +0000 (14:24 +1200)]
Remove display_server_get_name and make better logging prefixes
Robert Ancell [Mon, 20 Jun 2016 02:24:27 +0000 (14:24 +1200)]
Update apport script to get new name for greeter logs
Robert Ancell [Mon, 20 Jun 2016 02:07:53 +0000 (14:07 +1200)]
Use seat name in greeter log filename
Robert Ancell [Mon, 20 Jun 2016 00:32:13 +0000 (12:32 +1200)]
Remove trailing whitespace
Robert Ancell [Mon, 20 Jun 2016 00:10:36 +0000 (12:10 +1200)]
Check compositor is stopped before stopping local seats
Robert Ancell [Mon, 20 Jun 2016 00:05:39 +0000 (12:05 +1200)]
Rename xlocal seat to local - it supports Mir and Wayland as well as X. The xlocal seat type is now an alias for local
Robert Ancell [Sun, 19 Jun 2016 23:50:39 +0000 (11:50 +1200)]
Allow XMir to run on the xlocal seat using the new x-server-backend=mir option
Robert Ancell [Sun, 19 Jun 2016 23:16:20 +0000 (11:16 +1200)]
Only run a single USC instance on xlocal seats (it no longer supports multiple instances)
Robert Ancell [Sun, 19 Jun 2016 22:50:13 +0000 (10:50 +1200)]
Use session IDs as assigned by U-S-C
Robert Ancell [Sun, 19 Jun 2016 22:43:19 +0000 (10:43 +1200)]
Remove MirServer class and connect Mir sessions directly to UnitySystemCompositor
Robert Ancell [Fri, 17 Jun 2016 04:03:28 +0000 (16:03 +1200)]
Make an XServerXmir object
Robert Ancell [Fri, 17 Jun 2016 02:20:42 +0000 (14:20 +1200)]
Make XServerXVNC extend XServerLocal
Robert Ancell [Fri, 17 Jun 2016 02:01:49 +0000 (14:01 +1200)]
Don't reconnect a display server if already connected to it
Robert Ancell [Fri, 17 Jun 2016 01:39:30 +0000 (13:39 +1200)]
Remove unused vfunc
Robert Ancell [Fri, 17 Jun 2016 00:38:36 +0000 (12:38 +1200)]
Don't create a default cookie in an X server object
Robert Ancell [Fri, 17 Jun 2016 00:33:15 +0000 (12:33 +1200)]
Make the display number a vfunc from the X server class
Robert Ancell [Fri, 17 Jun 2016 00:17:45 +0000 (12:17 +1200)]
Make x_authority_new_local_cookie to de-duplicate code
Robert Ancell [Fri, 17 Jun 2016 00:11:06 +0000 (12:11 +1200)]
Remove unnecessary assert
Launchpad Translations on behalf of lightdm-team [Thu, 16 Jun 2016 04:42:42 +0000 (04:42 +0000)]
Launchpad automatic translations update.
Robert Ancell [Thu, 9 Jun 2016 00:26:58 +0000 (12:26 +1200)]
Be more careful about closing uninitialized memory.
Michael Terry [Wed, 8 Jun 2016 18:10:27 +0000 (14:10 -0400)]
Be more careful about initialized fds
Robert Ancell [Wed, 8 Jun 2016 08:52:06 +0000 (20:52 +1200)]
Use MIR_SERVER_HOST_SOCKET instead of MIR_SOCKET to tell Mir sessions the socket
to connect to Unity System Compositor on.
MIR_SOCKET used to work but a change in Mir 0.21 has broken this.
MIR_SERVER_HOST_SOCKET is the correct / recommended variable name so we now use
that.
Launchpad automatic translations update.
Robert Ancell [Tue, 7 Jun 2016 03:10:57 +0000 (15:10 +1200)]
Remove trailing whitespace
Robert Ancell [Tue, 7 Jun 2016 00:10:20 +0000 (12:10 +1200)]
Correctly free seat module data on exit
Tyler Hicks [Sat, 4 Jun 2016 08:14:23 +0000 (03:14 -0500)]
Move rules to run fcitx and mozc-server into the lightdm-guest-session
profile instead of keeping them in abstractions. lightdm doesn't depend on
fcitx or mozc-server so it can't use abstractions shipped by those
packages. (LP: #
1581187 )
Tyler Hicks [Sat, 4 Jun 2016 08:00:58 +0000 (03:00 -0500)]
Remove rule from lightdm-guest-session AppArmor profile that caused the
profile to fail compilation. The rule was added outside of the profile
which is an error. Additionally, a cx transition requires a subprofile to
be present (see the apparmor.d man page) but the lightdm-guest-session
profile does not contain a subprofile.
Robert Ancell [Wed, 1 Jun 2016 00:07:33 +0000 (12:07 +1200)]
Fix invalid unref when fail to start seat. Add regression test for this case