summaryrefslogtreecommitdiffstats
path: root/swaygrab/json.c
Commit message (Collapse)AuthorAge
* Revert "Merge remote-tracking branch 'besser82/bugfix/json-c' into 0.15"Libravatar Drew DeVault2017-12-17
| | | | | This reverts commit 1c4a086e7556475139960a25cb642f115d057c23, reversing changes made to 1263ea6497c732bfa1835eea4a8ffe2e6ea6e377.
* Adaptions for API change in json-c v0.13Libravatar Björn Esser2017-12-14
|
* swaygrab: Add some error handling.Libravatar Geoff Greer2017-10-22
| | | | | - If IPC response contains `success: false`, abort and print error message. - If tree has no nodes, abort with error msg instead of segfaulting.
* swaygrab: Increase max depth of JSON parsing to 256. Prevent segfault if IPC ↵Libravatar Geoff Greer2017-10-22
| | | | | | 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.
* FreeBSD fixesLibravatar johalun2017-06-06
| | | | | | | 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).
* UnGNUify the codebaseLibravatar Drew DeVault2017-03-10
|
* implement "focused container" feature for swaygrabLibravatar Zandr Martin2016-09-18