]> rtime.felk.cvut.cz Git - sojka/lightdm.git/log
sojka/lightdm.git
7 years agoLoad all users only when really needed master
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.

7 years agoreleasing package lightdm version 1.20.0-0ubuntu2
Martin Pitt [Tue, 25 Oct 2016 19:40:46 +0000 (21:40 +0200)]
releasing package lightdm version 1.20.0-0ubuntu2

7 years agodebian/lightdm-greeter-session: Don't launch another session D-Bus if one
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).

7 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Sat, 22 Oct 2016 05:51:35 +0000 (05:51 +0000)]
Launchpad automatic translations update.

7 years agoUpdate vt ioctl usage
Michael Terry [Thu, 20 Oct 2016 08:53:37 +0000 (10:53 +0200)]
Update vt ioctl usage

7 years agoRe-enable SIGPIPE for children so they have default behaviour
Robert Ancell [Wed, 19 Oct 2016 12:24:49 +0000 (14:24 +0200)]
Re-enable SIGPIPE for children so they have default behaviour

7 years agoReleasing 1.20.0
Robert Ancell [Sat, 15 Oct 2016 05:15:27 +0000 (18:15 +1300)]
Releasing 1.20.0

7 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Sun, 2 Oct 2016 05:53:19 +0000 (05:53 +0000)]
Launchpad automatic translations update.

7 years agoReleasing 1.19.5
Robert Ancell [Fri, 30 Sep 2016 03:37:35 +0000 (16:37 +1300)]
Releasing 1.19.5

7 years agoRevert r2392 - it seems to have broken ABI in liblightdm-gobject
Robert Ancell [Fri, 30 Sep 2016 03:35:21 +0000 (16:35 +1300)]
Revert r2392 - it seems to have broken ABI in liblightdm-gobject

7 years agoRevert the bogus .deps file changes and fix the clean rules
Robert Ancell [Fri, 30 Sep 2016 02:32:07 +0000 (15:32 +1300)]
Revert the bogus .deps file changes and fix the clean rules

7 years agoAllow guest sessions more access to the upstart session socket
Robert Ancell [Wed, 28 Sep 2016 03:42:20 +0000 (16:42 +1300)]
Allow guest sessions more access to the upstart session socket

7 years agoDon't show guest session dialog in MATE
Robert Ancell [Wed, 28 Sep 2016 03:13:41 +0000 (16:13 +1300)]
Don't show guest session dialog in MATE

7 years agoSkip guest warning dialog in MATE (LP: #1627395)
Gunnar Hjalmarsson [Sat, 24 Sep 2016 23:38:58 +0000 (01:38 +0200)]
Skip guest warning dialog in MATE (LP: #1627395)

7 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Wed, 7 Sep 2016 06:44:42 +0000 (06:44 +0000)]
Launchpad automatic translations update.

7 years agoTidy up LightDMGreeterError documentation - still not sure why it doesn't show in...
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

7 years agoDistribute .deps file correctly
Robert Ancell [Thu, 1 Sep 2016 23:20:03 +0000 (11:20 +1200)]
Distribute .deps file correctly

7 years agoMore documentation
Robert Ancell [Thu, 1 Sep 2016 22:47:40 +0000 (10:47 +1200)]
More documentation

7 years agoAdd missing finalize for LightDMLayout
Robert Ancell [Thu, 1 Sep 2016 22:39:30 +0000 (10:39 +1200)]
Add missing finalize for LightDMLayout

7 years agoFix generated docs
Robert Ancell [Thu, 1 Sep 2016 22:34:53 +0000 (10:34 +1200)]
Fix generated docs

7 years agoUse G_DECLARE_*_TYPE to simplify code and fix docs
Robert Ancell [Thu, 1 Sep 2016 22:34:21 +0000 (10:34 +1200)]
Use G_DECLARE_*_TYPE to simplify code and fix docs

7 years agoAlphabetically order depdendencies
Robert Ancell [Tue, 30 Aug 2016 23:27:37 +0000 (11:27 +1200)]
Alphabetically order depdendencies

7 years agoDrop unnecessary (double) dependency on gobject-introspection
Robert Ancell [Tue, 30 Aug 2016 23:24:28 +0000 (11:24 +1200)]
Drop unnecessary (double) dependency on gobject-introspection

7 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Thu, 18 Aug 2016 05:29:54 +0000 (05:29 +0000)]
Launchpad automatic translations update.

7 years agoReleasing 1.19.4
Robert Ancell [Thu, 11 Aug 2016 23:25:32 +0000 (11:25 +1200)]
Releasing 1.19.4

7 years agoRefresh patches
Robert Ancell [Thu, 11 Aug 2016 23:13:19 +0000 (11:13 +1200)]
Refresh patches

7 years agoRemove trailing whitespace from Makefiles
Robert Ancell [Thu, 11 Aug 2016 23:13:06 +0000 (11:13 +1200)]
Remove trailing whitespace from Makefiles

7 years agoSet hints for in-session-greeters
Robert Ancell [Thu, 11 Aug 2016 23:07:29 +0000 (11:07 +1200)]
Set hints for in-session-greeters

7 years agoFix greeter being killing a started session once if a new authentication is started
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

7 years agoAdd test to confirm in-session greeters can unlock existing sessions
Robert Ancell [Thu, 11 Aug 2016 04:53:15 +0000 (16:53 +1200)]
Add test to confirm in-session greeters can unlock existing sessions

7 years agoFix reference count when creating sessions from greeters
Robert Ancell [Thu, 11 Aug 2016 04:35:32 +0000 (16:35 +1200)]
Fix reference count when creating sessions from greeters

7 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Wed, 10 Aug 2016 05:23:49 +0000 (05:23 +0000)]
Launchpad automatic translations update.

7 years agoAdd a test for multi-seat autologin
Robert Ancell [Tue, 2 Aug 2016 09:31:12 +0000 (21:31 +1200)]
Add a test for multi-seat autologin

7 years agoAdd a test for multi-seat login
Robert Ancell [Tue, 2 Aug 2016 09:23:48 +0000 (21:23 +1200)]
Add a test for multi-seat login

7 years agoGObject property coding style fixes
Robert Ancell [Tue, 2 Aug 2016 09:16:14 +0000 (21:16 +1200)]
GObject property coding style fixes

7 years agoWatch authentication session in case seat closes it; prevents segfault in some cases
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

7 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Tue, 19 Jul 2016 05:44:28 +0000 (05:44 +0000)]
Launchpad automatic translations update.

7 years agoRemove warning about Mir IDs when not using Mir
Robert Ancell [Thu, 14 Jul 2016 04:53:46 +0000 (16:53 +1200)]
Remove warning about Mir IDs when not using Mir

7 years agoRename some functions for consistency
Robert Ancell [Thu, 14 Jul 2016 04:52:08 +0000 (16:52 +1200)]
Rename some functions for consistency

7 years agoFix warning about display server parent
Robert Ancell [Thu, 14 Jul 2016 04:50:10 +0000 (16:50 +1200)]
Fix warning about display server parent

7 years agoAdd a test to check multiple authentication in greeters works
Robert Ancell [Thu, 14 Jul 2016 03:12:25 +0000 (15:12 +1200)]
Add a test to check multiple authentication in greeters works

7 years agoFix warnings in test program logs
Robert Ancell [Thu, 14 Jul 2016 02:58:40 +0000 (14:58 +1200)]
Fix warnings in test program logs

7 years agoFix warning when tests complete
Robert Ancell [Thu, 14 Jul 2016 02:44:47 +0000 (14:44 +1200)]
Fix warning when tests complete

7 years agoFix warning about status timeout
Robert Ancell [Thu, 14 Jul 2016 02:33:33 +0000 (14:33 +1200)]
Fix warning about status timeout

7 years agoFix session_get_login1_session_id warning
Robert Ancell [Thu, 14 Jul 2016 02:25:24 +0000 (14:25 +1200)]
Fix session_get_login1_session_id warning

7 years agoAdd test to check in-session greeter doesn't open a new session when unlocking active...
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

7 years agoAllow in-session greeters to reconnect
Robert Ancell [Thu, 14 Jul 2016 01:59:39 +0000 (13:59 +1200)]
Allow in-session greeters to reconnect

7 years agoFix finalizing common account users
Robert Ancell [Thu, 14 Jul 2016 00:48:17 +0000 (12:48 +1200)]
Fix finalizing common account users

7 years agoDon't hold circular reference inside greeter
Robert Ancell [Wed, 13 Jul 2016 04:16:58 +0000 (16:16 +1200)]
Don't hold circular reference inside greeter

7 years agoRemove IO watch on greeter destruction
Robert Ancell [Wed, 13 Jul 2016 04:16:24 +0000 (16:16 +1200)]
Remove IO watch on greeter destruction

7 years agoTreat EOF from greeter as connection closed
Robert Ancell [Wed, 13 Jul 2016 03:25:20 +0000 (15:25 +1200)]
Treat EOF from greeter as connection closed

7 years agoClean up when greeter object destroyed
Robert Ancell [Wed, 13 Jul 2016 01:30:41 +0000 (13:30 +1200)]
Clean up when greeter object destroyed

7 years agoMake greeter socket writeable
Robert Ancell [Tue, 12 Jul 2016 22:29:44 +0000 (10:29 +1200)]
Make greeter socket writeable

7 years agoReleasing version 1.19.3
Robert Ancell [Mon, 11 Jul 2016 22:55:18 +0000 (10:55 +1200)]
Releasing version 1.19.3

7 years agoFix warning about error propagation
Robert Ancell [Mon, 11 Jul 2016 22:49:21 +0000 (10:49 +1200)]
Fix warning about error propagation

7 years agoFix in-session greeter not working for greeter logins
Robert Ancell [Mon, 11 Jul 2016 21:51:14 +0000 (09:51 +1200)]
Fix in-session greeter not working for greeter logins

7 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Mon, 4 Jul 2016 05:39:23 +0000 (05:39 +0000)]
Launchpad automatic translations update.

7 years agoUse standards-version 3.9.8
Robert Ancell [Wed, 29 Jun 2016 04:15:02 +0000 (16:15 +1200)]
Use standards-version 3.9.8

7 years agoReleasing 1.19.2
Robert Ancell [Wed, 29 Jun 2016 04:12:27 +0000 (16:12 +1200)]
Releasing 1.19.2

7 years agoRemove local path from test script
Robert Ancell [Wed, 29 Jun 2016 03:08:57 +0000 (15:08 +1200)]
Remove local path from test script

7 years agoAllow greeters to run in-session
Robert Ancell [Tue, 28 Jun 2016 04:28:47 +0000 (16:28 +1200)]
Allow greeters to run in-session

7 years agoAdd asserts on new DisplayServer methods
Robert Ancell [Tue, 28 Jun 2016 03:09:23 +0000 (15:09 +1200)]
Add asserts on new DisplayServer methods

7 years agoCorrectly handle G_IO_STATUS_AGAIN
Robert Ancell [Mon, 27 Jun 2016 04:13:28 +0000 (16:13 +1200)]
Correctly handle G_IO_STATUS_AGAIN

7 years agoReturn errors from all liblightdm methods
Robert Ancell [Mon, 27 Jun 2016 04:04:49 +0000 (16:04 +1200)]
Return errors from all liblightdm methods

7 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Sun, 26 Jun 2016 05:21:58 +0000 (05:21 +0000)]
Launchpad automatic translations update.

7 years agoSet GError values on greeter method failures
Robert Ancell [Fri, 24 Jun 2016 00:27:09 +0000 (12:27 +1200)]
Set GError values on greeter method failures

7 years agoDon't access unreffed value
Robert Ancell [Thu, 23 Jun 2016 23:18:13 +0000 (11:18 +1200)]
Don't access unreffed value

7 years agoReport connection error if fail to connect greeter to help debugging failing tests
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

7 years agoDrop mir-container sessions - they were never used
Robert Ancell [Tue, 21 Jun 2016 21:20:23 +0000 (09:20 +1200)]
Drop mir-container sessions - they were never used

7 years agoReleasing 1.19.1
Robert Ancell [Mon, 20 Jun 2016 04:50:31 +0000 (16:50 +1200)]
Releasing 1.19.1

7 years agoFix guest session AppArmor rules for input methods and remove incorrect rule that...
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

7 years agoRefresh patches
Robert Ancell [Mon, 20 Jun 2016 02:30:56 +0000 (14:30 +1200)]
Refresh patches

7 years agoRemove display_server_get_name and make better logging prefixes
Robert Ancell [Mon, 20 Jun 2016 02:24:57 +0000 (14:24 +1200)]
Remove display_server_get_name and make better logging prefixes

7 years agoUpdate apport script to get new name for greeter logs
Robert Ancell [Mon, 20 Jun 2016 02:24:27 +0000 (14:24 +1200)]
Update apport script to get new name for greeter logs

7 years agoUse seat name in greeter log filename
Robert Ancell [Mon, 20 Jun 2016 02:07:53 +0000 (14:07 +1200)]
Use seat name in greeter log filename

7 years agoRemove trailing whitespace
Robert Ancell [Mon, 20 Jun 2016 00:32:13 +0000 (12:32 +1200)]
Remove trailing whitespace

7 years agoCheck compositor is stopped before stopping local seats
Robert Ancell [Mon, 20 Jun 2016 00:10:36 +0000 (12:10 +1200)]
Check compositor is stopped before stopping local seats

7 years agoRename xlocal seat to local - it supports Mir and Wayland as well as X. The xlocal...
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

7 years agoAllow XMir to run on the xlocal seat using the new x-server-backend=mir option
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

7 years agoOnly run a single USC instance on xlocal seats (it no longer supports multiple instances)
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)

7 years agoUse session IDs as assigned by U-S-C
Robert Ancell [Sun, 19 Jun 2016 22:50:13 +0000 (10:50 +1200)]
Use session IDs as assigned by U-S-C

7 years agoRemove MirServer class and connect Mir sessions directly to UnitySystemCompositor
Robert Ancell [Sun, 19 Jun 2016 22:43:19 +0000 (10:43 +1200)]
Remove MirServer class and connect Mir sessions directly to UnitySystemCompositor

7 years agoMake an XServerXmir object
Robert Ancell [Fri, 17 Jun 2016 04:03:28 +0000 (16:03 +1200)]
Make an XServerXmir object

7 years agoMake XServerXVNC extend XServerLocal
Robert Ancell [Fri, 17 Jun 2016 02:20:42 +0000 (14:20 +1200)]
Make XServerXVNC extend XServerLocal

7 years agoDon't reconnect a display server if already connected to it
Robert Ancell [Fri, 17 Jun 2016 02:01:49 +0000 (14:01 +1200)]
Don't reconnect a display server if already connected to it

7 years agoRemove unused vfunc
Robert Ancell [Fri, 17 Jun 2016 01:39:30 +0000 (13:39 +1200)]
Remove unused vfunc

7 years agoDon't create a default cookie in an X server object
Robert Ancell [Fri, 17 Jun 2016 00:38:36 +0000 (12:38 +1200)]
Don't create a default cookie in an X server object

7 years agoMake the display number a vfunc from the X server class
Robert Ancell [Fri, 17 Jun 2016 00:33:15 +0000 (12:33 +1200)]
Make the display number a vfunc from the X server class

7 years agoMake x_authority_new_local_cookie to de-duplicate code
Robert Ancell [Fri, 17 Jun 2016 00:17:45 +0000 (12:17 +1200)]
Make x_authority_new_local_cookie to de-duplicate code

7 years agoRemove unnecessary assert
Robert Ancell [Fri, 17 Jun 2016 00:11:06 +0000 (12:11 +1200)]
Remove unnecessary assert

7 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Thu, 16 Jun 2016 04:42:42 +0000 (04:42 +0000)]
Launchpad automatic translations update.

7 years agoBe more careful about closing uninitialized memory.
Robert Ancell [Thu, 9 Jun 2016 00:26:58 +0000 (12:26 +1200)]
Be more careful about closing uninitialized memory.

7 years agoBe more careful about initialized fds
Michael Terry [Wed, 8 Jun 2016 18:10:27 +0000 (14:10 -0400)]
Be more careful about initialized fds

7 years agoUse MIR_SERVER_HOST_SOCKET instead of MIR_SOCKET to tell Mir sessions the socket
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.

7 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of lightdm-team [Wed, 8 Jun 2016 05:19:11 +0000 (05:19 +0000)]
Launchpad automatic translations update.

7 years agoRemove trailing whitespace
Robert Ancell [Tue, 7 Jun 2016 03:10:57 +0000 (15:10 +1200)]
Remove trailing whitespace

7 years agoCorrectly free seat module data on exit
Robert Ancell [Tue, 7 Jun 2016 00:10:20 +0000 (12:10 +1200)]
Correctly free seat module data on exit

7 years agoMove rules to run fcitx and mozc-server into the lightdm-guest-session
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)

7 years agoRemove rule from lightdm-guest-session AppArmor profile that caused the
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.

7 years agoFix invalid unref when fail to start seat. Add regression test for this case
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