Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-04-08 | build: don't allow "auto" for seatd, builtin, server and examples | Simon Ser | |
These features don't have any dependencies, so "auto" doesn't make sense. | |||
2021-04-08 | build: don't explicitly search for sh | Simon Ser | |
This removes the "Program sh found" line in the build logs, and should not change anything else. | |||
2021-04-08 | build: fix logind feature summary when auto-detected | Simon Ser | |
If -Dlogind=auto but systemd/elogind isn't available, logind_provider would get set to the last item of the foreach loop. This would incorrectly report "systemd: YES". | |||
2021-04-08 | build: add explicit logind provider option, auto-detect by default | Simon Ser | |
Allow package maintainers to explicitly select a logind provider by passing -Dlogind=systemd or -Dlogind=elogind. In case both are available (e.g. for distributions which support both), this makes it possible to gte deterministic behavior. By default, auto-detect the logind provider. That way, users which have systemd or elogind installed get the backend built by default. | |||
2021-04-08 | meson: make 'logind' var always available | Kenny Levinsen | |
2021-04-08 | ci: Use 'auto' for arch linux logind | Kenny Levinsen | |
2021-03-26 | Avoid a clang-format quirk | Kenny Levinsen | |
clang-format wants to put the terminating NULLs on the same line as the noop backend when it doens't have any immediate non-NULL neighbors. Add a newline to stop it. | |||
2021-03-26 | meson: declare libseat dependency | Simon Ser | |
This can be used by parent projects when seatd is a subproject: libseat = dependency('libseat', fallback: ['seatd', 'libseat']) | |||
2021-03-26 | Add no-op session | Simon Ser | |
This is useful for headless testing, for instance with VKMS: modprobe vkms export WLR_DRM_DEVICES=/dev/dri/card1 export WLR_BACKENDS=drm export LIBSEAT_BACKEND=noop sway We don't need any of the VT handling in this case. | |||
2021-03-21 | client: enable cr_pid on FreeBSD >= 12.3 | Jan Beich | |
https://cgit.freebsd.org/src/commit/?id=925f44f33862908f9a2e72520a17af148c7d0db5 https://cgit.freebsd.org/src/commit/?id=2b61bda2c75f30f6eadd18fb891fd885e4c8d19d | |||
2021-03-18 | readme: Remove alpha label | Kenny Levinsen | |
2021-03-16 | contrib: Add Documentation to systemd unit | Kenny Levinsen | |
2021-03-16 | ci: Remove unnecessary env vars | Kenny Levinsen | |
2021-03-16 | ci: Reduce test runs from 5 to 2 | Kenny Levinsen | |
2021-03-16 | meson: Disable examples by default | Kenny Levinsen | |
2021-03-16 | Correct minor misspellings | Kenny Levinsen | |
2021-03-16 | meson: Minor cleanup | Kenny Levinsen | |
2021-03-16 | meson: Fix logind backend auto mode | Kenny Levinsen | |
2021-03-15 | Bump version to 0.5.0 | Kenny Levinsen | |
2021-03-15 | ci: Add clang-extra-tools to alpine | Kenny Levinsen | |
Needed for the clang-format target. | |||
2021-03-15 | meson: Fix indentation | Kenny Levinsen | |
2021-03-15 | meson: Make summary prettier | Kenny Levinsen | |
2021-03-15 | meson: Clean up test declarations a bit | Kenny Levinsen | |
2021-03-02 | log: Include debug logs in release builds | Kenny Levinsen | |
2021-03-02 | Normalize log texts a bit | Kenny Levinsen | |
2021-03-01 | log: Remove function name from log | Kenny Levinsen | |
2021-02-27 | clang-format | Kenny Levinsen | |
2021-02-27 | seatd: Close cur_ttyfd in seat_destroy | Kenny Levinsen | |
This fd would only still be set after closing clients if no clients were active on the current VT. | |||
2021-02-27 | client: Remove link if seat_add_client succeeds | Kenny Levinsen | |
Removing the link before before means that we can return without a link, resulting in a double-remove. | |||
2021-02-27 | seatd: Clean up debug logs a bit | Kenny Levinsen | |
2021-02-27 | Convert a few debug logs to error logs | Kenny Levinsen | |
2021-02-27 | seatd: Set errno in seat_add_client | Kenny Levinsen | |
2021-02-27 | logind: Fix return values from close_device/get_fd | Kenny Levinsen | |
2021-02-27 | libseat: Fix typo in doc string | Kenny Levinsen | |
2021-02-27 | meson: ignore 'man-pages' if 'server' is disabled | Aleksei Bavshin | |
`seatd.1` is the only man page, so it's not necessary to install it or require scdoc when the server is not built. | |||
2021-02-27 | seatd: Tear down VT when disabled client closes | Kenny Levinsen | |
If a client closed while it was disabled, the VT would not be torn down. If the user navigated back to the VT it belonged to, they would be stuck. When a client is disabled, open the fd for the VT it belonged to and perform regular teardown on it. | |||
2021-02-27 | client: Replace pending_disable with state enum | Kenny Levinsen | |
This simplifies logic in seat handling. | |||
2021-02-02 | seat: Remove unused arg from seat_deactive_device | Kenny Levinsen | |
2020-12-23 | logind: Send ReleaseControl when closing seat | Kenny Levinsen | |
This is not strictly speaking necessary as detaching from the bus should trigger this automatically, but elogind apparently has issues with this. Doing this explicitly does no harm, so let's just do that. | |||
2020-12-14 | simpletest: Close fd after closing device | Kenny Levinsen | |
2020-12-10 | client: Fix typo in cr_pid usage | Kenny Levinsen | |
2020-12-08 | client: Use cr_pid if available | Kenny Levinsen | |
This is only available on FreeBSD 13, so test for that version. | |||
2020-12-08 | client: Do not use SOL_SOCKET for LOCAL_PEERCRED | Kenny Levinsen | |
This is wrong, and leads to LOCAL_PEERCRED being interpreted as SO_DEBUG. 0 should be used instead. See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246189. | |||
2020-12-04 | libseat/backend/logind: stop waiting for CanGraphical | Simon Ser | |
Upstream says compositors should wait for DRM nodes using udev instead. | |||
2020-11-24 | logind: switch_session should return 0 on success | Kenny Levinsen | |
It currently returned -1 on failure and 1 on success. The API is intended to return -1 on failure and 0 on success, so fix that. | |||
2020-11-23 | terminal: Improve logging | Kenny Levinsen | |
2020-11-23 | client: More robust handling of client links | Kenny Levinsen | |
2020-11-23 | poller: Retry poll immediately on EINTR | Kenny Levinsen | |
There is nothing for us to dispatch unless we wake on an fd, so just retry poll if it fails with EINTR instead of doing a full dispatch loop. | |||
2020-11-21 | libseat: log error when failing to open socket | Isaac Freund | |
The most common pain point I've seen with people trying out seat is forgetting to add themselves to whatever group the distro has chosen to own the socket. Logging this error and path of the socket should make it easier to tell why things aren't working. | |||
2020-11-03 | ci: Clean up build manifests | Kenny Levinsen | |