aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* WIP: json-rpc-test-server: add HTTP supportHEADmasterPřemysl Eric Janouch2023-08-011-4/+565
| | | | | | | | | | | | | | | | | | | | | Stage 1: make just the HTTP part work. WIP: - Ensure requests aren't started in client_http_on_headers_complete() when the request demands an upgrade - Figure out keep-alive - Make sure request_free() is called exactly once after request start and between requests - Triple-check the code makes some resembling of sense Updates #5 Later stages: - clean up (#7) - ensure WS upgrade works here (it has a completely separate parser, which could be passed as an http_parserpp pointer to ws_handler_finish_handshake()) - move in ws_handler's handshake code
* json-rpc-test-server: try to fetch a name for usPřemysl Eric Janouch2023-08-011-12/+29
| | | | | AI_CANONNAME might not be the best thing but most of the code will stay even if we go for a better method.
* CMakeLists.txt: declare compatibility with 3.27origin/masterPřemysl Eric Janouch2023-08-011-1/+1
| | | | Sadly, the 3.5 deprecation warning doesn't go away after this.
* Try harder to find ncurseswPřemysl Eric Janouch2023-07-242-6/+7
|
* CMakeLists.txt: fix OpenBSD buildPřemysl Eric Janouch2023-07-041-6/+5
| | | | Note that we still don't use link_directories() as often as we should.
* CMakeLists.txt: fix build on macOSPřemysl Eric Janouch2023-07-041-0/+2
|
* README.adoc: update package informationPřemysl Eric Janouch2023-07-011-2/+4
|
* Bump liberty, improve fallback manual page outputPřemysl Eric Janouch2022-10-092-2/+3
|
* Improve link detection suppression in man pagePřemysl Eric Janouch2022-09-301-1/+2
|
* Bump liberty, make use of its new asciiman.awkPřemysl Eric Janouch2022-09-253-5/+13
|
* Update READMEPřemysl Eric Janouch2022-09-041-4/+0
| | | | | libedit (editline) seems to work just fine now, except for not being fully asynchronous.
* json-rpc-test-server: add a "wait" methodPřemysl Eric Janouch2022-09-041-3/+15
| | | | | Considering the server's nature, the global lock-up it causes shouldn't constitute a major problem.
* Update NEWSPřemysl Eric Janouch2022-09-041-0/+17
|
* Fix libedit history behaviourPřemysl Eric Janouch2022-09-043-13/+38
|
* Build with AsciiDoc as well as AsciidoctorPřemysl Eric Janouch2022-08-242-10/+21
|
* Update .gitignorePřemysl Eric Janouch2021-10-301-0/+2
|
* Add clang-format configurationPřemysl Eric Janouch2021-10-301-0/+33
|
* FindLibEV.cmake: synchronisePřemysl Eric Janouch2021-10-302-10/+12
|
* Fix newer libedit (2021-08-29)Přemysl Eric Janouch2021-10-281-13/+5
|
* Reflect the sibling project's new namePřemysl Eric Janouch2021-08-061-1/+1
| | | | Better keep all schizophreny in my own head, rather than all projects.
* json-rpc-shell: respect the NO_COLOR env. variablePřemysl Eric Janouch2021-07-071-1/+1
|
* CMakeLists.txt: fix copy-pasted variable namePřemysl Eric Janouch2020-10-301-2/+2
|
* json-rpc-shell.adoc: minor improvementsPřemysl Eric Janouch2020-10-301-0/+8
| | | | Documented envvars and added a note about XDG paths.
* CMakeLists.txt: make this build in OpenBSDPřemysl Eric Janouch2020-10-301-1/+19
|
* CMakeLists.txt: omit end{if,foreach} expressionsPřemysl Eric Janouch2020-10-301-7/+7
| | | | Their usefulness was almost negative.
* Bump minimum CMake version to 3.0Přemysl Eric Janouch2020-10-303-23/+8
| | | | A nice, round number. This allows us to remove some boilerplate.
* CMakeLists.txt: fix an outdated commentPřemysl Eric Janouch2020-10-301-1/+1
|
* Bump libertyPřemysl Eric Janouch2020-10-301-0/+0
|
* json-rpc-test-server: only return regular filesPřemysl Eric Janouch2020-10-171-1/+6
| | | | They can be symlinked.
* json-rpc-test-server: comment on some CGI detailsPřemysl Eric Janouch2020-10-171-8/+33
| | | | | There are some unresolved issues in the CGI clients that needed a more precise description.
* json-rpc-test-server: fix function namesPřemysl Eric Janouch2020-10-161-4/+4
| | | | Very obviously copied and pasted from the shell.
* json-rpc-test-server: try to send a 408Přemysl Eric Janouch2020-10-151-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 headerPřemysl Eric Janouch2020-10-151-0/+2
|
* json-rpc-test-server: add a simple co-process modePřemysl Eric Janouch2020-10-153-7/+179
| | | | | | A disgusting copy-paste but it will have to do for now. Closes #6
* json-rpc-test-server: WS: fix failures to upgradePřemysl Eric Janouch2020-10-151-5/+8
| | | | Similar to ad1aba9, only here we return 426 to the client.
* WebSocket: adapt to common "await" infrastructurePřemysl Eric Janouch2020-10-141-79/+9
|
* Add a backend for co-processesPřemysl Eric Janouch2020-10-143-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 simplePřemysl Eric Janouch2020-10-144-11/+11
|
* WebSocket: some clean-upPřemysl Eric Janouch2020-10-141-37/+26
|
* Split out a http-parser wrapperPřemysl Eric Janouch2020-10-141-111/+152
|
* Simplify the FAIL macroPřemysl Eric Janouch2020-10-141-5/+1
|
* WebSocket: fix upgrade processingPřemysl Eric Janouch2020-10-141-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 bindingPřemysl Eric Janouch2020-10-141-1/+1
|
* WebSockets -> WebSocketPřemysl Eric Janouch2020-10-144-15/+15
| | | | | This is the correct name of the protocol, usage of the word "WebSockets" should be limited.
* Support reading OpenRPC documents from a filePřemysl Eric Janouch2020-10-133-20/+31
| | | | Bump liberty, it generated incorrect help messages.
* Factor out init_backend()Přemysl Eric Janouch2020-10-131-27/+31
| | | | The main() function is still way too long.
* json-rpc-test-server: implement rpc.discoverPřemysl Eric Janouch2020-10-131-2/+35
|
* CleanupPřemysl Eric Janouch2020-10-131-14/+17
| | | | Prevent the last fuck-up from happening again.
* Add libedit autocompletion back inPřemysl Eric Janouch2020-10-131-0/+4
| | | | I've mistakenly removed it in the M-Enter change.
* Bump version, update NEWSv1.1.0Přemysl Eric Janouch2020-10-132-1/+12
|