Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | 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. | |||
2020-09-22 | libseat: Execute bg events after IPC calls | Kenny Levinsen | |
If a background event was queued during call dispatch, and no unread data was left on the socket, there would be no incentive for the user to call dispatch, and as a result, the events would never be executed. Execute events at the end of IPC calls that read from the socket to avoid stalls. | |||
2020-09-22 | libseat: Dispatch all non-bg events on IPC call | Kenny Levinsen | |
Dispatch on IPC call only dispatched until the first message was successfully processed. This could lead to premature dispatch termination if a background event was received during an IPC call. Instead, continue dispatching until a non-bg opcode is reported or an error is received. | |||
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-08-31 | client: Do not leak idle clients on exit | Kenny Levinsen | |
2020-08-31 | linked_list: linked_list_take should concat lists | 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 | 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 | logind: Merge PropertiesChanged handlers | Kenny Levinsen | |
2020-08-28 | libseat: Expand logging in all backends | Kenny Levinsen | |
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-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: Rename libseat_impl to seat_impl | Kenny Levinsen | |
2020-08-03 | libseat: Convert clients to linked_list | Kenny Levinsen | |
2020-08-03 | server: Stack-allocate the server | Kenny Levinsen | |
2020-08-01 | seatd: Perform clean server shutdown | Kenny Levinsen | |
2020-08-01 | FreeBSD compiler warning fix | Kenny Levinsen | |
2020-07-31 | Initial implementation of seatd and libseat | Kenny Levinsen | |