Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2020-10-19 | Bump version to 0.4.0 | Kenny Levinsen | |
2020-10-16 | readme: Update mailing list link | Kenny Levinsen | |
2020-10-12 | connection: Add unittest | Kenny Levinsen | |
2020-10-11 | libseat: Better error reporting from open_seat | Kenny Levinsen | |
2020-10-11 | logind: clang-format | Kenny Levinsen | |
2020-10-10 | logind: Use seat_path for SwitchTo | Kenny Levinsen | |
2020-09-28 | logind: close_device should not close fd | Kenny Levinsen | |
2020-09-22 | seat: Only close VT if no new session was found | Kenny Levinsen | |
2020-09-22 | terminal: Ack both release and acquire | Kenny Levinsen | |
Linux only requires acking release and ignores ack of acquire, but FreeBSD is more stringent and will patiently wait for both to be acked. Implement proper acking for both events. | |||
2020-09-22 | seat: Use current VT for switch and ack | Kenny Levinsen | |
2020-09-22 | terminal: Fix VT numbering on FreeBSD | Kenny Levinsen | |
FreeBSD adds one to the VT number returned by the GET_ACTIVE ioctl, so to match things up, the wrapper here subtracted by one. This lead to ttyv0 being named VT 0. This had the side-effect of VT numbering not matching expectations, and switching not behaving as intended. Align numbers with expectations, and move the required subtraction to terminal_open, so that VT 1 matches ttyv0. | |||
2020-09-22 | libseat/seatd: Fix socket path bounds | Kenny Levinsen | |
2020-09-22 | meson: Make default seatd socket path configurable | Kenny Levinsen | |
FreeBSD and Linux have different preferred socket locations. Expose an option to set the location, and implement simple auto-logic for linux/freebsd. |