Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-01-19 | Fix backup methods in get_socketpath for IPC client | M Stoeckl | |
Previously, the success of `getline` was tested by checking if the buffer it allocates is nonempty and has a nonzero first byte. As `getline` does not explicitly zero out its memory buffer, this may fail (e.g., with AddressSanitizer). Instead, we check that at least one character was returned on standard output. Also, trailing newlines (if present) are now removed. | |||
2019-01-16 | Use static arrays where possible. | Connor E | |
2019-01-16 | Remove usage of VLAs. | Connor E | |
2019-01-01 | Remove readline.c | Ian Fan | |
All occurrences of read_line have been replaced by getline. peek_line has been absorbed into detect_brace. | |||
2018-09-02 | prevent ub caused by misaligned stores/loads | taiyu | |
2018-08-06 | ipc-client: fix memory leaks in get_socketpath | Ian Fan | |
2018-07-09 | Update for swaywm/wlroots#1126 | emersion | |
2018-04-13 | Fix gcc string truncation warnings | Dominique Martinet | |
2018-03-29 | Allow sway IPC clients to fall back to i3 socket | Drew DeVault | |
2018-01-05 | sway: change all sway_log to wlr_log | Dominique Martinet | |
2017-03-10 | UnGNUify the codebase | Drew DeVault | |
2016-12-15 | Handle malloc failure in ipc_recv_response | Drew DeVault | |
2016-09-01 | Reorganize includes | Drew DeVault | |
2016-08-30 | Fix to make ipc client code FreeBSD compatible. | Johannes Lundberg | |
2016-05-01 | common: fix potential buffer overflow | Eric Engestrom | |
2016-03-22 | Abort when receiving 0 bytes in IPC call | Mikkel Oscar Lyderik | |
When sway crashes a swaybar process is sometimes left behind running at 100% CPU. This was caused by the swaybar trying to retrieve an IPC response from the closed sway socket. This patch fixes the problem by aborting when the socket has been closed (recv return 0). Fix #528 | |||
2016-01-03 | Add type to returned response. | Mikkel Oscar Lyderik | |
Makes `ipc_recv_response` return a struct with size, type and payload rather than just the payload string. This is useful if the type has to be checked on the client. | |||
2015-12-13 | Subscribe to workspace change events and redraw | Drew DeVault | |
2015-11-28 | Fix incorrect #include on ipc-client.c | Drew DeVault | |
2015-11-27 | Add command line to swaygrab | Drew DeVault | |
Also modifies IPC client so that we can work with persistent connections. | |||
2015-11-27 | Move IPC client into common, refactor IPC | Drew DeVault | |