Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-29 | libseat: Check euid before using builtin | Kenny Levinsen | |
2020-08-29 | libseat: Remove pointless check | Kenny Levinsen | |
2020-08-29 | libseat: Keep track of error state | Kenny Levinsen | |
Store if an error has occurred and return -1 with ENOTCONN from all future calls, avoiding attempts to use a broken connection. | |||
2020-08-29 | libseat: Improve logging with seatd conn helpers | Kenny Levinsen | |
Add helpers around connection access to have all logging centralized and reduce code duplication. Improve existing helpers to further reduce code duplication. The seatd backend should have much better logging after this. | |||
2020-08-29 | libseat: Assert that listener is non-NULL | Kenny Levinsen | |
2020-08-28 | Bump version to 0.2.0 | Kenny Levinsen | |
2020-08-28 | logind: Merge PropertiesChanged handlers | Kenny Levinsen | |
2020-08-28 | libseat: Expand logging in all backends | Kenny Levinsen | |
2020-08-28 | libseat: Only print backend attempts for matches | Kenny Levinsen | |
2020-08-28 | terminal: Explain FreeBSD current_vt behavior | Kenny Levinsen | |
2020-08-28 | terminal: Construct TTY paths correctly on FreeBSD | Kenny Levinsen | |
FreeBSD TTY paths are contructed in the kernel using the %r formatter, which in this case ends up being a base 32 encoding. The base 32 implementation is taken more or less directly from wlroots commit fc6c0ca12e94. | |||
2020-08-28 | terminal: FreeBSD VT num is 1 higher than tty num | Kenny Levinsen | |
This was causing all VT and TTY changes to be applied to the wrong TTY. | |||
2020-08-28 | terminal: Set K_RAW and term raw mode on FreeBSD | Kenny Levinsen | |
Taken from X11, weston and consolekit2 ports for FreeBSD. Setting just K_CODE as done before makes input seemingly have no ill effects, but it is still buffered and possibly send to the terminal after application exit if stdin is never drained. Setting raw mode appears to be needed to solve that issue. A K_OFF-like VT keyboard setting like Linux has would seem more appropriate, but that is not currently available to us on FreeBSD. | |||
2020-08-28 | simpletest: Set log level to debug | Kenny Levinsen | |
2020-08-28 | Introduce libseat_set_log_level | Simon Ser | |
The default level is SILENT. log_init no longer takes an initial log level (so that calls to libseat_set_log_level prior to log_init work correctly). | |||
2020-08-28 | Nuke LIBSEAT_LOGLEVEL | Simon Ser | |
This will be replaced with a libseat API to set the log level. | |||
2020-08-28 | Introduce libseat_set_log_handler | Simon Ser | |
This allows libseat users to register a custom logging function. | |||
2020-08-28 | Rename enum log_level to libseat_log_level | Simon Ser | |
This is preparatory work for exposing a public function to set libseat's log handler. | |||
2020-08-24 | libseat: Remove useless logind fallbacks | Kenny Levinsen | |
The logind code is based on the wlroots implementation, which in turn contained copy-paste code from Mutter that serves no purpose here. | |||
2020-08-23 | logind: Set session type from env | Kenny Levinsen | |
2020-08-23 | logind: Remove session type check | Kenny Levinsen | |
2020-08-23 | logind: Remove useless check | Kenny Levinsen | |
2020-08-22 | meson: Set license to MIT | Kenny Levinsen | |
2020-08-08 | seatd: Use path-based chmod/chown | Kenny Levinsen | |
The fd variants do not seem to work for sockets | |||
2020-08-08 | ci: Install scdoc for alpine and archlinux | Kenny Levinsen | |
2020-08-08 | man: Add simple seatd(1) page | Kenny Levinsen | |
2020-08-08 | build: check for libelogind before libsystemd | Isaac Freund | |
elogind provides a libsystemd wrapper which is packaged by some distros. For whatever reason using this wrapper instead of libelogind directly causes compiler warnings to pop up. Checking for libelogind first ensures that this wrapper is not used. | |||
2020-08-07 | contrib: Add example systemd service | Kenny Levinsen | |
2020-08-07 | seatd: Add command-line arguments | Kenny Levinsen | |
2020-08-06 | ci: Run unittests on all platforms | Kenny Levinsen | |
2020-08-06 | linked_list: Add unittest | Kenny Levinsen | |
2020-08-06 | logind: Allow SwitchTo for all seats | Kenny Levinsen | |
2020-08-06 | logind: close_device always returned error | Kenny Levinsen | |
Error handling was broken in close_device, always returning -1. Use the return value, and add a few errno assignments while we're at it. | |||
2020-08-05 | libseat: Fix doc typo | Kenny Levinsen | |
2020-08-05 | libseat: Rename libseat_impl to seat_impl | Kenny Levinsen | |
2020-08-05 | log: Remove libseat prefixes | Kenny Levinsen | |
2020-08-05 | Remove pointless compiler.h | Kenny Levinsen | |
2020-08-04 | linked_list: Assert initialized list in linked_list_empty | Kenny Levinsen | |
2020-08-04 | seat: Fix device double-remove | Kenny Levinsen | |
2020-08-04 | seatd: Unlink default seatd socket on startup | Kenny Levinsen | |
2020-08-04 | server: Gracefully shut down on error | Kenny Levinsen | |
2020-08-04 | client: Sanitize shutdown/kill mechanism | Kenny Levinsen | |
2020-08-03 | client: Tidying | Kenny Levinsen | |
2020-08-03 | seat: Enable VT process switching when switching away | Kenny Levinsen | |
2020-08-03 | seat: Add VT cleanup on switch to empty VT | Kenny Levinsen | |
VTs were being cleaned up the active client of a VT went away, or if we were acking a kernel VT switch request. However, no cleanup was done if the user had reqested a session switch to a different VT. Duplicate the VT cleanup to the VT switch condition. | |||
2020-08-03 | libseat: Use LIBSEAT_LOGLEVEL instead of SEATD_LOGLEVEL | Kenny Levinsen | |
2020-08-03 | libseat: Convert clients to linked_list | Kenny Levinsen | |
2020-08-03 | seat: Convert client list to linked list | Kenny Levinsen | |
2020-08-03 | seat: Convert device list to linked list | Kenny Levinsen | |
2020-08-03 | linked_list: Initial implementation | Kenny Levinsen | |