Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update README | Přemysl Eric Janouch | 2022-09-04 | 1 | -4/+0 |
| | | | | | libedit (editline) seems to work just fine now, except for not being fully asynchronous. | ||||
* | json-rpc-test-server: add a "wait" method | Přemysl Eric Janouch | 2022-09-04 | 1 | -3/+15 |
| | | | | | Considering the server's nature, the global lock-up it causes shouldn't constitute a major problem. | ||||
* | Update NEWS | Přemysl Eric Janouch | 2022-09-04 | 1 | -0/+17 |
| | |||||
* | Fix libedit history behaviour | Přemysl Eric Janouch | 2022-09-04 | 3 | -13/+38 |
| | |||||
* | Build with AsciiDoc as well as Asciidoctor | Přemysl Eric Janouch | 2022-08-24 | 2 | -10/+21 |
| | |||||
* | Update .gitignore | Přemysl Eric Janouch | 2021-10-30 | 1 | -0/+2 |
| | |||||
* | Add clang-format configuration | Přemysl Eric Janouch | 2021-10-30 | 1 | -0/+33 |
| | |||||
* | FindLibEV.cmake: synchronise | Přemysl Eric Janouch | 2021-10-30 | 2 | -10/+12 |
| | |||||
* | Fix newer libedit (2021-08-29) | Přemysl Eric Janouch | 2021-10-28 | 1 | -13/+5 |
| | |||||
* | Reflect the sibling project's new name | Přemysl Eric Janouch | 2021-08-06 | 1 | -1/+1 |
| | | | | Better keep all schizophreny in my own head, rather than all projects. | ||||
* | json-rpc-shell: respect the NO_COLOR env. variable | Přemysl Eric Janouch | 2021-07-07 | 1 | -1/+1 |
| | |||||
* | CMakeLists.txt: fix copy-pasted variable name | Přemysl Eric Janouch | 2020-10-30 | 1 | -2/+2 |
| | |||||
* | json-rpc-shell.adoc: minor improvements | Přemysl Eric Janouch | 2020-10-30 | 1 | -0/+8 |
| | | | | Documented envvars and added a note about XDG paths. | ||||
* | CMakeLists.txt: make this build in OpenBSD | Přemysl Eric Janouch | 2020-10-30 | 1 | -1/+19 |
| | |||||
* | CMakeLists.txt: omit end{if,foreach} expressions | Přemysl Eric Janouch | 2020-10-30 | 1 | -7/+7 |
| | | | | Their usefulness was almost negative. | ||||
* | Bump minimum CMake version to 3.0 | Přemysl Eric Janouch | 2020-10-30 | 3 | -23/+8 |
| | | | | A nice, round number. This allows us to remove some boilerplate. | ||||
* | CMakeLists.txt: fix an outdated comment | Přemysl Eric Janouch | 2020-10-30 | 1 | -1/+1 |
| | |||||
* | Bump liberty | Přemysl Eric Janouch | 2020-10-30 | 1 | -0/+0 |
| | |||||
* | json-rpc-test-server: only return regular files | Přemysl Eric Janouch | 2020-10-17 | 1 | -1/+6 |
| | | | | They can be symlinked. | ||||
* | json-rpc-test-server: comment on some CGI details | Přemysl Eric Janouch | 2020-10-17 | 1 | -8/+33 |
| | | | | | There are some unresolved issues in the CGI clients that needed a more precise description. | ||||
* | json-rpc-test-server: fix function names | Přemysl Eric Janouch | 2020-10-16 | 1 | -4/+4 |
| | | | | Very obviously copied and pasted from the shell. | ||||
* | json-rpc-test-server: try to send a 408 | Přemysl Eric Janouch | 2020-10-15 | 1 | -14/+15 |
| | | | | | | | | | Also send "Connection: close" when we're closing the connection. With HTTP/1.1 there come some responsibilities. Surprisingly enough, the forward declaration is desirable and the invocation a clean-up. | ||||
* | WebSocket: send a User-Agent header | Přemysl Eric Janouch | 2020-10-15 | 1 | -0/+2 |
| | |||||
* | json-rpc-test-server: add a simple co-process mode | Přemysl Eric Janouch | 2020-10-15 | 3 | -7/+179 |
| | | | | | | A disgusting copy-paste but it will have to do for now. Closes #6 | ||||
* | json-rpc-test-server: WS: fix failures to upgrade | Přemysl Eric Janouch | 2020-10-15 | 1 | -5/+8 |
| | | | | Similar to ad1aba9, only here we return 426 to the client. | ||||
* | WebSocket: adapt to common "await" infrastructure | Přemysl Eric Janouch | 2020-10-14 | 1 | -79/+9 |
| | |||||
* | Add a backend for co-processes | Přemysl Eric Janouch | 2020-10-14 | 3 | -11/+439 |
| | | | | | | | | | Targets language servers. In this first stage, we don't need to support bi-directionality, although it's a requirement for finishing this task. Updates #4 | ||||
* | This software is no longer simple | Přemysl Eric Janouch | 2020-10-14 | 4 | -11/+11 |
| | |||||
* | WebSocket: some clean-up | Přemysl Eric Janouch | 2020-10-14 | 1 | -37/+26 |
| | |||||
* | Split out a http-parser wrapper | Přemysl Eric Janouch | 2020-10-14 | 1 | -111/+152 |
| | |||||
* | Simplify the FAIL macro | Přemysl Eric Janouch | 2020-10-14 | 1 | -5/+1 |
| | |||||
* | WebSocket: fix upgrade processing | Přemysl Eric Janouch | 2020-10-14 | 1 | -14/+6 |
| | | | | | When http-parser sets the upgrade field, it checks for status code 101 and even resolves our TODO about checking the entire Connection header. | ||||
* | json-rpc-shell.adoc: document the M-Enter binding | Přemysl Eric Janouch | 2020-10-14 | 1 | -1/+1 |
| | |||||
* | WebSockets -> WebSocket | Přemysl Eric Janouch | 2020-10-14 | 4 | -15/+15 |
| | | | | | This is the correct name of the protocol, usage of the word "WebSockets" should be limited. | ||||
* | Support reading OpenRPC documents from a file | Přemysl Eric Janouch | 2020-10-13 | 3 | -20/+31 |
| | | | | Bump liberty, it generated incorrect help messages. | ||||
* | Factor out init_backend() | Přemysl Eric Janouch | 2020-10-13 | 1 | -27/+31 |
| | | | | The main() function is still way too long. | ||||
* | json-rpc-test-server: implement rpc.discover | Přemysl Eric Janouch | 2020-10-13 | 1 | -2/+35 |
| | |||||
* | Cleanup | Přemysl Eric Janouch | 2020-10-13 | 1 | -14/+17 |
| | | | | Prevent the last fuck-up from happening again. | ||||
* | Add libedit autocompletion back in | Přemysl Eric Janouch | 2020-10-13 | 1 | -0/+4 |
| | | | | I've mistakenly removed it in the M-Enter change. | ||||
* | Bump version, update NEWSv1.1.0 | Přemysl Eric Janouch | 2020-10-13 | 2 | -1/+12 |
| | |||||
* | libedit: bind M-Enter to newline-insert as well | Přemysl Eric Janouch | 2020-10-13 | 1 | -5/+12 |
| | |||||
* | json-rpc-test-server: fix reading the request URI | Přemysl Eric Janouch | 2020-10-13 | 1 | -1/+1 |
| | |||||
* | Bump http-parser | Přemysl Eric Janouch | 2020-10-13 | 1 | -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 errors | Přemysl Eric Janouch | 2020-10-13 | 1 | -15/+22 |
| | |||||
* | Document OpenRPC tab completion support | Přemysl Eric Janouch | 2020-10-13 | 2 | -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 libedit | Přemysl Eric Janouch | 2020-10-13 | 1 | -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 leak | Přemysl Eric Janouch | 2020-10-13 | 1 | -0/+1 |
| | |||||
* | json-rpc-shell.adoc: update WebSocket notes | Přemysl Eric Janouch | 2020-10-10 | 1 | -2/+1 |
| | | | | | https://github.com/open-rpc/client-js also uses WebSockets, although they don't seem to support notifications (in general). | ||||
* | Bump liberty | Přemysl Eric Janouch | 2020-10-10 | 2 | -59/+8 |
| | | | | resolve_relative_runtime_unique_filename() used to have a bug. | ||||
* | Readline: add trivial OpenRPC support | Přemysl Eric Janouch | 2020-10-10 | 1 | -6/+108 |
| | | | | So far hidden under a switch and only for this frontend. |