aboutsummaryrefslogtreecommitdiff
path: root/swaygrab/json.c
AgeCommit message (Collapse)AuthorLines
2018-05-11Remove swaygrab entirelyDrew DeVault-144/+0
We'll have to rewrite this later.
2017-10-22swaygrab: Add some error handling.Geoff Greer-1/+11
- If IPC response contains `success: false`, abort and print error message. - If tree has no nodes, abort with error msg instead of segfaulting.
2017-10-22swaygrab: Increase max depth of JSON parsing to 256. Prevent segfault if IPC ↵Geoff Greer-1/+10
response can't be parsed. The default max nesting depth of json-c is 32, which can cause some valid trees to fail to be parsed, so increase that. Also instead of segfaulting, just abort and print the error returned by json-c.
2017-06-06FreeBSD fixesjohalun-1/+1
Increase _POSIX_SOURCE value where needed. Increase _XOPEN_SOURCE value where needed. Conditionally link to libcap (only on Linux). Possibly some trailing whitespace fixes (automatic).
2017-03-10UnGNUify the codebaseDrew DeVault-0/+2
2016-09-18implement "focused container" feature for swaygrabZandr Martin-0/+123