Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2020-08-03 | server: Stack-allocate the server | Kenny Levinsen | |
2020-08-03 | poller: Inline the poller into the server struct | Kenny Levinsen | |
2020-08-03 | poller: Remove unnecessary poll_impl abstraction | Kenny Levinsen | |
2020-08-03 | libseat: Remove unused stdarg.h import | Kenny Levinsen | |
2020-08-03 | compiler: Rename erroneous header-guard | Kenny Levinsen | |
2020-08-03 | terminal: Remove unused prototypes | Kenny Levinsen | |
2020-08-03 | list: Make list_concat argument const | Kenny Levinsen | |
2020-08-03 | client: Prefix notification methods with 'send' | Kenny Levinsen | |
2020-08-03 | libseat: Use symbol file instead of -fvisibility | Kenny Levinsen | |
2020-08-02 | seat: Deactivate devices before sending disable | Kenny Levinsen | |
Previously, seatd would not deactivate devices until the client had acked the disable. In once instance, this lead to libinput spending significant time checking and closing each input device. As a workaround, mimick logind's behavior of deactivating devices first. The original behavior can be reintroduced if the client-side problem is fixed. Closes: https://todo.sr.ht/~kennylevinsen/seatd/5 | |||
2020-08-02 | list: Add list_pop_back | Kenny Levinsen | |
2020-08-02 | seat: Open/close tty on activation/deactivation | Kenny Levinsen | |
The VT and KD ioctl's are picky about the tty fd used. In order to satisfy these, and to improve state cleanup, we now only and store the current tty when opening a client, and use this fd to perform teardown later. The presence of the fd is also used to signal that teardown is needed. |