Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-02-27 | Convert a few debug logs to error logs | Kenny Levinsen | |
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-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 | libseat: Expand logging in all backends | Kenny Levinsen | |
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 | |