aboutsummaryrefslogtreecommitdiff
path: root/json-rpc-shell.c
Commit message (Collapse)AuthorAgeFilesLines
* Reorder help message entries a bitPřemysl Eric Janouch2020-10-101-6/+6
| | | | Should be both more useful and more alphabetic this way.
* Fix use of possibly uninitialised memoryPřemysl Eric Janouch2020-10-101-1/+1
|
* Split make_json_rpc_call() in halfPřemysl Eric Janouch2020-10-101-13/+24
|
* Slightly refactor make_json_rpc_call()Přemysl Eric Janouch2020-10-101-36/+29
|
* Readline: make M-Enter insert a newlinePřemysl Eric Janouch2020-10-091-0/+12
| | | | | | | Before, it was only possible with C-v C-j but it's too useful to require such an awkward method. There is a precedent in, e.g., zsh and fish for the new binding.
* Fix handling terminal resizes while the terminal is suspendedPřemysl Eric Janouch2020-10-091-0/+2
| | | | GNU Readline has a misfeature.
* Readline: fix a dormant bug in prompt changesPřemysl Eric Janouch2020-10-091-5/+3
| | | | For details, see a similar change in degesch from uirc3.
* Use saner defaultsPřemysl Eric Janouch2020-09-051-13/+17
| | | | | | | | So that most of the time users won't need to use any switches. --pretty-print has been inverted into jq's --compact-output, and --auto-id has been replaced with barely, if-at-all useful --null-as-id.
* Write a nice new man page in AsciiDocPřemysl Eric Janouch2020-09-051-3/+6
| | | | | | | | | Taking some preliminary steps for inclusion in Linux distributions. The help message has been slightly improved and the README extended, with part of it now residing in the man page. One less GNU dependency, for what it's worth.
* Move "connecting..." messages to the debug modePřemysl Eric Janouch2020-09-051-1/+1
| | | | So that the --verbose option does only one thing.
* Fix libedit a bit more and discourage from using itPřemysl Eric Janouch2020-09-021-2/+12
|
* Update copyright yearsPřemysl Eric Janouch2020-09-011-1/+1
|
* Warn on unexpected "id" fieldsPřemysl Eric Janouch2020-09-011-17/+22
|
* Make the verbose mode also show the raw inputPřemysl Eric Janouch2020-09-011-1/+15
| | | | | To make it more useful for debugging. We might also tie this to the --debug option, though that would be a bit chaotic.
* Strip trailing newlines from editor outputPřemysl Eric Janouch2020-09-011-3/+10
|
* Fix libedit crashPřemysl Eric Janouch2020-09-011-1/+2
| | | | | Again, I have no idea why it started to happen, it just occured to me to try to change the call, and it turns out out it works.
* Fix prompt attributes under libeditPřemysl Eric Janouch2020-09-011-1/+1
| | | | I can only guess why this works, and I'm not sure I want to /know/.
* Name changePřemysl Eric Janouch2020-09-011-1/+1
|
* Fix running helper programsPřemysl Janouch2019-09-231-4/+11
| | | | A bug was introduced in 5c38087.
* Relicense to 0BSD, update mail addressPřemysl Janouch2018-06-241-3/+2
| | | | | | | | | I've come to the conclusion that copyright mostly just stands in the way of software development. In my jurisdiction I cannot give up my own copyright and 0BSD seems to be the closest thing to public domain. The updated mail address, also used in my author/committer lines, is shorter and looks nicer. People rarely interact anyway.
* Display unexpected messages, tooPřemysl Janouch2018-05-111-1/+9
|
* Fix UTF-8 validationPřemysl Janouch2018-05-111-1/+1
|
* Fix sent close code when failing the connectionPřemysl Janouch2018-05-111-1/+1
|
* Better fix for EOF handling with WebSocketsPřemysl Janouch2018-04-161-6/+3
| | | | Used to spin.
* Fix EOF handling with WebSocketsPřemysl Janouch2018-04-161-0/+8
|
* Bump liberty, fix GNUC detection, update READMEPřemysl Janouch2018-04-161-40/+22
|
* CleanupPřemysl Janouch2017-02-071-23/+1
|
* WebSockets are no longer experimentalPřemysl Janouch2017-02-061-4/+0
| | | | Now that I've made it work at all, at least in some cases.
* WebSocket: fix connection timeoutPřemysl Janouch2017-02-061-0/+1
|
* WebSocket: avoid closing an invalid FDPřemysl Janouch2017-02-061-1/+1
|
* WebSocket: fix reconnectionPřemysl Janouch2017-02-061-0/+2
|
* WebSocket: fix showing the close reasonPřemysl Janouch2017-02-061-2/+2
|
* WebSocket: fix segfault in HTTP parsingPřemysl Janouch2017-02-061-0/+1
|
* WebSocket: remember to send the protocol versionPřemysl Janouch2017-02-061-0/+1
|
* WebSocket: fix header parsingPřemysl Janouch2017-02-061-4/+8
|
* Fix and update LICENSEPřemysl Janouch2017-02-031-1/+0
|
* Fix OpenSSL 1.1 compatibilityPřemysl Janouch2017-01-251-0/+5
|
* Bump libertyPřemysl Janouch2017-01-231-4/+4
|
* Use TMPDIR as a fallback if setPřemysl Janouch2016-03-131-0/+3
|
* Flush output properlyPřemysl Janouch2016-01-221-1/+5
|
* Add ability to pipe output from callsPřemysl Janouch2016-01-211-22/+51
|
* Add JSON syntax highlightingPřemysl Janouch2016-01-211-15/+325
|
* Fix segfault on config load errorPřemysl Janouch2016-01-201-5/+5
|
* Allow line editing with VISUAL/EDITOR/viPřemysl Janouch2015-12-261-29/+357
| | | | Let's pray I haven't broken anything so far.
* Refactor backendsPřemysl Janouch2015-12-261-293/+270
| | | | That was fucking ugly.
* Rewrite the input layerPřemysl Janouch2015-12-251-101/+726
| | | | Now we also support libedit for the backend.
* Bump liberty, use newer configuration formatPřemysl Janouch2015-12-131-206/+231
| | | | | | So that we don't need to maintain our own string parser for attribute strings. More or less just plugging in what the old code has evolved into in degesch.
* Bump libertyPřemysl Janouch2015-12-131-6/+3
|
* Fix compile warningPřemysl Janouch2015-12-131-1/+1
|
* Reorganize codePřemysl Janouch2015-12-131-57/+57
|