aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* json-rpc-test-server: fix reading the request URIPřemysl Eric Janouch2020-10-131-1/+1
|
* Bump http-parserPřemysl Eric Janouch2020-10-131-0/+0
| | | | | Apparently it's reached maturity and there won't be any changes anytime soon, making this the perfect time for an upgrade.
* OpenRPC: avoid eating HTTP/transport errorsPřemysl Eric Janouch2020-10-131-15/+22
|
* Document OpenRPC tab completion supportPřemysl Eric Janouch2020-10-132-0/+5
| | | | | | | | Now that it's functional in both frontends, we can flaunt it. I still don't want to make it the default. Closes #1
* Implement tab completion under libeditPřemysl Eric Janouch2020-10-131-23/+137
| | | | | | | | | | | I haven't tested it with real wide characters but it will have to do. I wasn't even sure if this piece of crap could be coerced into doing this at first, so it's a win for me. It uses a variation of the code in degesch where we /don't/ want to print the list of candidates on partial failure. Updates #1
* json-rpc-test-server: fix a potential memory leakPřemysl Eric Janouch2020-10-131-0/+1
|
* json-rpc-shell.adoc: update WebSocket notesPřemysl Eric Janouch2020-10-101-2/+1
| | | | | https://github.com/open-rpc/client-js also uses WebSockets, although they don't seem to support notifications (in general).
* Bump libertyPřemysl Eric Janouch2020-10-102-59/+8
| | | | resolve_relative_runtime_unique_filename() used to have a bug.
* Readline: add trivial OpenRPC supportPřemysl Eric Janouch2020-10-101-6/+108
| | | | So far hidden under a switch and only for this frontend.
* 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.
* Make a release, create NEWSv1.0.0Přemysl Eric Janouch2020-09-052-2/+6
|
* Streamline the manual page a bitPřemysl Eric Janouch2020-09-051-11/+11
| | | | I have consulted `man 7 man-pages` but overall it's a huge mess.
* Use saner defaultsPřemysl Eric Janouch2020-09-052-32/+39
| | | | | | | | 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.
* Improve AsciiDoc compatibilityPřemysl Eric Janouch2020-09-051-25/+19
| | | | | | | | | | | | | I need two renderers to work: hswg/libasciidoc and asciidoctor in man page mode (and ideally in HTML as well). That should be covered now. The triple-plus thing was the first thing that showed good results, after trying backslashes, single-plus quoting and [] after ://. The change of the source code block kind could be considered as unification. I'm combining tabs with spaces within one document though, and I should get rid of the tabs in the rest of it then...
* Write a nice new man page in AsciiDocPřemysl Eric Janouch2020-09-054-34/+212
| | | | | | | | | 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-022-2/+15
|
* json-rpc-test-server: add a "date" methodPřemysl Eric Janouch2020-09-011-0/+23
|
* Update copyright yearsPřemysl Eric Janouch2020-09-013-3/+3
|
* json-rpc-test-server: reject non-null params in "ping"Přemysl Eric Janouch2020-09-011-1/+4
|
* json-rpc-test-server: make sure to set the id in responsesPřemysl Eric Janouch2020-09-011-0/+5
|
* 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-014-5/+5
|
* Bump libertyPřemysl Janouch2020-09-011-0/+0
|
* Fix running helper programsPřemysl Janouch2019-09-231-4/+11
| | | | A bug was introduced in 5c38087.
* json-rpc-test-server: fix some outstanding issuesPřemysl Janouch2018-10-191-41/+61
|
* Merge in a JSON-RPC 2.0 test serverPřemysl Janouch2018-10-186-1/+2955
|\
| * demo-json-rpc-server -> json-rpc-test-serveracid/masterPřemysl Janouch2018-10-182-4/+4
| |
| * More debugging information for static file servingPřemysl Janouch2018-10-181-1/+15
| |
| * Remember to set the server context in SCGI requestsPřemysl Janouch2018-10-181-0/+1
| |
| * Finish the FastCGI backendPřemysl Janouch2018-10-182-80/+74
| | | | | | | | Bump liberty, also fixing SCGI.
| * Finish the WebSocket backendPřemysl Janouch2018-10-181-109/+162
| | | | | | | | Of course, everything so far hasn't been tested much.
| * Synthesize EOF events in SCGIPřemysl Janouch2018-10-181-5/+23
| |
| * Wrap request::write_cb in a functionPřemysl Janouch2018-10-171-6/+13
| |
| * Allow WebSockets to micromanage shutdownsPřemysl Janouch2018-10-171-24/+35
| | | | | | | | They have their reasons, mostly event-related.
| * Implement basic connection teardownPřemysl Janouch2018-10-171-93/+147
| | | | | | | | I finally understand the codebase again. It's rather complicated.
| * Accelerated daemon quittingPřemysl Janouch2018-10-171-4/+8
| |
| * Clean up client de/allocationPřemysl Janouch2018-10-171-16/+10
| |
| * Say "finalize" instead of "destroy" where appropriatePřemysl Janouch2018-10-171-18/+18
| | | | | | | | | | | | | | | | | | | | - _make() returns a struct directly - _init() initializes over a pointer - _free() deinitializes over a pointer - _new() is like _init() but also allocates - _destroy() is like _free() but also deallocates Finalization is a matching concept in garbage-collected languages.
| * FastCGI: make it work at least in theoryPřemysl Janouch2018-10-171-29/+75
| |