Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-22 | poller: Raise signals through self-pipe | Kenny Levinsen | |
Signal handling relied on poll(2) being interrupted by signals, followed by a check for signal handlers flagging a signal as received. This only allowed signals that were received during poll(2) to be handled correctly. Implement the usual self-pipe implementation, where signal handlers write an arbitrary byte to a polled file descriptor to ensure proper level-triggered signal handling. | |||
2020-09-08 | Bump version to 0.3.0 | Kenny Levinsen | |
2020-09-08 | libseat: Version the .so file | Kenny Levinsen | |
2020-09-07 | man: Mention assistance from other contributors | Kenny Levinsen | |
2020-09-07 | libseat: Handle SERVER_ERROR correctly | Kenny Levinsen | |
The connection buffer position was erroneously rewinded before reading the protocol message when the message was a SERVER_ERROR. | |||
2020-09-01 | meson: fix manpage generation for cross builds | Isaac Freund | |
We want to use the scdoc of the host system not the target system, so pass the `native: true` parameter to meson. | |||
2020-09-01 | client: Only unlink if on the idle list | Kenny Levinsen | |
2020-09-01 | ci: ASan smoketest on FreeBSD | Kenny Levinsen | |
2020-09-01 | ci: ASan all build steps on arch | Kenny Levinsen | |
2020-09-01 | Move list removal to seat/client destroy | Kenny Levinsen | |
2020-08-31 | client: Do not leak idle clients on exit | Kenny Levinsen | |
2020-08-31 | poller: Remember to remove sources from list | Kenny Levinsen | |
2020-08-31 | server: Remember to remove seat from list | Kenny Levinsen | |
2020-08-31 | test: Add test_run and test_assert macros | Kenny Levinsen | |
test_run and test_assert replaces regular assert with better logging which include the currently running test name. The tests can now also be built without DEBUG. | |||
2020-08-31 | Remove unused list implementation | Kenny Levinsen | |
2020-08-31 | poller: Convert to linked_list | Kenny Levinsen | |
2020-08-31 | linked_list: linked_list_take should concat lists | Kenny Levinsen | |
2020-08-31 | server: Convert seat list to linked_list | Kenny Levinsen | |
2020-08-31 | poller: Make event sources opaque | Kenny Levinsen | |
2020-08-30 | seatd: Explicit cast -1 to unsigned gid_t | Kenny Levinsen | |
Silences a warning on some architectures. | |||
2020-08-30 | seatd: Slight error handling cleanup | Kenny Levinsen | |
2020-08-30 | seatd: Remove unused device_closed msg body | Kenny Levinsen | |
2020-08-30 | linked_list: Implement linked_list_take | Kenny Levinsen | |
2020-08-29 | seat: Destroy all clients on teardown | Kenny Levinsen | |
2020-08-29 | protocol: Add note to remove device_closed msg | Kenny Levinsen | |
The content of this message is unused, so it should be converted to a content-less message. | |||
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 | |