summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Allow building GDM with Meson.wip/nielsdg/mesonNiels De Graef2018-07-2218-0/+877
| | | | | | WIP WIP WIP WIP Solves #350.
* Merge branch 'wip/nielsg/readme' into 'master'Ray Strode2018-07-225-84/+44
|\ | | | | | | | | Update README, use Markdown. See merge request GNOME/gdm!21
| * Update README, use Markdown.Niels De Graef2018-07-225-84/+44
|/ | | | | | | Remove unnecessary files with obsolete links. Remove instructions from HACKING, as they contained old versions of dependencies. It is now only a coding style guide.
* Merge branch 'wip/rstrode/unblock-sigusr1' into 'master'Ray Strode2018-07-192-15/+7
|\ | | | | | | | | | | | | session-worker: unblock SIGUSR1 before PAM Closes #399 See merge request GNOME/gdm!20
| * session-worker: unblock SIGUSR1 before PAMwip/rstrode/unblock-sigusr1Ray Strode2018-07-182-15/+7
|/ | | | | | | | | | | | Right now we unblock SIGUSR1 just before starting the session, but we should really do it before starting the worker/PAM. This commit fixes that and removes a useless call to set SIGUSR1 back to the default disposition, right before exec (which does the same thing anyway) Closes: https://gitlab.gnome.org/GNOME/gdm/issues/399
* Merge branch 'lr/store-purge' into 'master'Ray Strode2018-07-174-10/+46
|\ | | | | | | | | display-factory: avoid removing a display from store while iterating it See merge request GNOME/gdm!6
| * display-factory: avoid removing a display from store while iterating itLubomir Rintel2018-07-174-10/+46
|/
* Merge branch 'wip/pwd-fix' into 'master'Ray Strode2018-07-171-0/+1
|\ | | | | | | | | session-worker: set PWD for user session See merge request GNOME/gdm!4
| * session-worker: set PWD for user sessionRay Strode2018-07-171-0/+1
|/ | | | | | | | | | | It's possible for the current working directory to be a symlink. Some programs, and notably, the get_current_dir_name() libc api use the PWD environment variable to know the symlink being used (so they don't use the canonical name that the symlink points to) This commit makes sure we set PWD in that case, to allow those programs to show the right path.
* Update Occitan translationCédric Valmary2018-06-271-138/+158
|
* Merge branch 'wip/nielsdg/simplify-configure-ac' into 'master'Ray Strode2018-06-251-65/+0
|\ | | | | | | | | Simplify configure ac See merge request GNOME/gdm!16
| * configure.ac: Remove duplicate sys/sockio.h check.Niels De Graef2018-06-251-1/+0
| |
| * configure.ac: remove setpenv check.Niels De Graef2018-06-251-18/+0
| | | | | | | | It's nowhere used in the code, so we can safely remove it.
| * configure.ac: Remove XInput check.Niels De Graef2018-06-251-31/+0
| | | | | | | | It's no longer used anywhere, so we can safely remove it.
| * configure.ac: Remove Xft check.Niels De Graef2018-06-251-9/+0
| | | | | | | | It's no longer used.
| * configure.ac: Remove logindevperm.h check.Niels De Graef2018-06-251-6/+0
|/ | | | We no longer provide this, so we can safely remove it.
* Merge branch 'wip/nielsdg/remove-other-headers' into 'master'Ray Strode2018-06-251-6/+0
|\ | | | | | | | | configure.ac: remove libgen.h check. See merge request GNOME/gdm!15
| * configure.ac: remove libgen.h check.Niels De Graef2018-06-251-6/+0
|/ | | | It's not used anyway.
* Merge branch 'wip/nielsdg/remove-execinfo' into 'master'Ray Strode2018-06-251-6/+0
|\ | | | | | | | | configure.ac: Remove execinfo.h check. See merge request GNOME/gdm!14
| * configure.ac: Remove execinfo.h check.wip/nielsdg/remove-execinfoNiels De Graef2018-06-241-6/+0
|/ | | | | The backtrace() call is no longer being used and as such, neither is the execinfo header.
* Merge branch 'wip/nielsdg/update-glib-dep' into 'master'Ray Strode2018-06-241-1/+1
|\ | | | | | | | | configure.ac: update GLib version to 2.44. See merge request GNOME/gdm!13
| * configure.ac: update GLib version to 2.44.Niels De Graef2018-06-241-1/+1
|/ | | | | Note that this just follows from the fact that we're using stuff like g_autoptr().
* Merge branch 'wip/nielsdg/remove-mkdtemp' into 'master'Ray Strode2018-06-247-273/+1
|\ | | | | | | | | Remove mkdtemp() and its wrappers. See merge request GNOME/gdm!12
| * Remove mkdtemp() and its wrappers.Niels De Graef2018-06-247-273/+1
|/ | | | GLib has provided a wrapper for this with g_mkdtemp() since 2.30.
* Merge branch 'wip/nielsdg/remove-split-auth' into 'master'Ray Strode2018-06-241-10/+0
|\ | | | | | | | | configure.ac: remove split-authentication option. See merge request GNOME/gdm!11
| * configure.ac: remove split-authentication option.wip/nielsdg/remove-split-authNiels De Graef2018-06-241-10/+0
|/ | | | This was no longer used anywhere, so we can safely remove it.
* data: add gdm.schemas.inRay Strode2018-06-222-1/+134
| | | | | | This got dropped accidentally i think because of .gitignore See merge request GNOME/gdm!5
* Merge branch 'wip/fix-missing-login-screen' into 'master'Ray Strode2018-06-221-2/+14
|\ | | | | | | | | login screen doesn't come back after log out when performing user switching See merge request GNOME/gdm!9
| * manager: don't bail if session disappears out from under usRay Strode2018-06-221-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's entirely possible for a session returned by sd_seat_get_sessions to disappear immediately after the sd_seat_get_sessions call returns. This is especially likely at logout time where the session will briefly be in the "closing" state before getting reaped. If that happens when we're looking for a greeter session, we stop looking for a greeter session and bail out all confused. This commit fixes the confusion by gracefully handling the session disappearing by just proceeding to the next session in the list.
| * manager: start login screen if old one is finishedRay Strode2018-06-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 22c332ba we try to start a login screen if we end up on an empty VT and there isn't one running. Unfortunately the check for "is on an empty VT" is a little busted. It counts the VT has non-empty if there's a display associated with it, even if that display is in the FINISHED state about to be reaped. That means, in some cases, we'll still leave the user on an empty VT with no login screen. This commit addresses the problem by explicitly checking for FINISHED displays, and proceeding even in their presense.
| * manager: plug leak in maybe_activate_other_sessionRay Strode2018-06-221-1/+3
|/ | | | | | | The function asks logind what the currently active session is on the given seat. It then leaks the response. This commit plugs the leak.
* manager: gracefully handle the case of no session for login windowLubomir Rintel2018-06-221-2/+4
| | | | | | | | get_login_window_session_id() will return TRUE with session_id=NULL when there's no session. This restults in an assertion failure on constructing the o.fd.login1.Manager.ActivateSessionOnSeat() arguments: GLib: g_variant_new_string: assertion 'string != NULL' failed
* manager: avoid leaking session_idLubomir Rintel2018-06-221-0/+1
| | | | get_login_window_session_id() duplicates the session id.
* Merge branch 'wip/nielsdg/intltool2gettext' into 'master'Ray Strode2018-06-228-194/+129
|\ | | | | | | | | Migrate from intltool to gettext. See merge request GNOME/gdm!5
| * Migrate from intltool to gettext.wip/nielsdg/intltool2gettextNiels De Graef2018-06-128-194/+129
|/
* Merge branch 'gdm-client-use-autoptr' into 'master'Ray Strode2018-06-121-153/+111
|\ | | | | | | | | libgdm: use g_autoptr to manage objects lifecycle See merge request GNOME/gdm!3
| * libgdm: use g_autoptr to manage objects lifecycleMarco Trevisan (Treviño)2018-06-121-153/+111
|/ | | | | Using auto pointers allows to manage things in a cleaner way without having to manually unref things before returning.
* Merge branch 'fix_issue_381' into 'master'Ray Strode2018-06-121-0/+4
|\ | | | | | | | | | | | | daemon/gdm-session-record.c: open/close the utmp database Closes #381 See merge request GNOME/gdm!1
| * daemon/gdm-session-record.c: open/close the utmp databaseJason Pleau2018-06-121-0/+4
|/ | | | | | | | | | | | | | pututxline() was used without first opening the utxmp database and without closing it, preventing the logout entry from being fully committed. This caused the number of logged-in users to increment after each login, as logging out did not correctly remove the user login record from utmp. This commit wraps pututxline() between setutxent() and endutxent(), making sure that the login/logout operation are fully flushed. Fixes #381
* Update Estonian translationMadis2018-06-091-18/+17
|
* Merge branch 'gdm-client-single-connection-getter' into 'master'Marco Trevisan2018-06-041-64/+65
|\ | | | | | | | | | | | | Gdm client single connection getter Closes #386 See merge request GNOME/gdm!2
| * libgdm: Return NULL on invalid client instancesMarco Trevisan (Treviño)2018-06-041-8/+8
| |
| * libgdm: Don't save manager addressMarco Trevisan (Treviño)2018-06-021-15/+9
| | | | | | | | | | There's no need to keep the manager connection address around, and use autofree to clean it up
| * libgdb: Try to reuse connections from the available proxiesMarco Trevisan (Treviño)2018-06-021-31/+39
| | | | | | | | | | | | | | | | | | Instead of using the hard-to-maintain shared pointer to the dbus connection to the manager and reset it when the proxies that use it are deleted, just look which proxy is currently available and try to reuse the connection from it. Fixes #386
| * libgdm: Use auto-pointers and cleanup codeMarco Trevisan (Treviño)2018-06-021-8/+5
| |
| * libgdm: Don't leak connection on sync re-authenticationMarco Trevisan (Treviño)2018-06-021-1/+1
| |
| * libgdm: Don't double-ref the connection got from taskMarco Trevisan (Treviño)2018-06-021-2/+2
| | | | | | | | | | | | | | | | Both if we re-use the shared connection in `gdm_client_get_connection` and if we create a new one in `on_connected`, we steal the pointer here by using `g_task_propagate_pointer` and thus we don't have to add an additional reference to this connection when returning, or it won't ever be consumed by function customers.
| * libgdm: Unref the manager propagated from taskMarco Trevisan (Treviño)2018-06-021-1/+3
|/ | | | | | | | | This instance has already been reffed when passed to the task, and since we're stealing it with `g_task_propagate_pointer` it won't be unreffed. We could also do this in the `on_reauthentication_channel_opened` callback but since the new task will ref it anyway, we can just be clean and do it here.
* Update Chinese (China) translationTong Hui2018-05-221-72/+88
|
* data: change cirrus blacklist to use gdm-disable-waylandRay Strode2018-05-213-2/+7
| | | | | | | | | | Now that we have a gdm-disable-wayland binary for disabling wayland at boot, we should use it. This commit changes the cirrus udev rule to use gdm-disable-wayland, rather than running sh and printf. https://bugzilla.gnome.org/show_bug.cgi?id=796315