Commit Graph

263 Commits

Author SHA1 Message Date
74fcb06828
Bump version, update NEWS
All checks were successful
OpenBSD 7.5 Success
Arch Linux AUR Success
Alpine 3.20 Success
2024-12-24 10:43:59 +01:00
8cf1abf135
Bump liberty 2024-12-23 23:08:50 +01:00
b87fbc93a6
Support musl libc
All checks were successful
Alpine 3.20 Success
Arch Linux AUR Success
OpenBSD 7.5 Success
2024-09-11 04:55:59 +02:00
ac1a21eac8
Bump liberty, fix calloc argument order
All checks were successful
Alpine 3.20 Success
Arch Linux AUR Success
OpenBSD 7.5 Success
2024-08-08 09:08:33 +02:00
6934550068
CMakeLists.txt: declare compatibility with 3.27
All checks were successful
Arch Linux AUR Success
Alpine 3.19 Success
OpenBSD 7.3 Success
Sadly, the 3.5 deprecation warning doesn't go away after this.
2023-08-01 03:14:48 +02:00
cda7e1b1f3
Try harder to find ncursesw 2023-07-24 09:01:54 +02:00
14c6d285fc
CMakeLists.txt: fix OpenBSD build
Note that we still don't use link_directories() as often as we should.
2023-07-04 07:45:57 +02:00
ab5941aaef
CMakeLists.txt: fix build on macOS 2023-07-04 02:50:00 +02:00
84d6c658e8
README.adoc: update package information 2023-07-01 22:01:16 +02:00
a89fadf860
Bump liberty, improve fallback manual page output 2022-10-09 01:05:35 +02:00
4023155b67
Improve link detection suppression in man page 2022-09-30 14:49:51 +02:00
4ed58dd89a
Bump liberty, make use of its new asciiman.awk 2022-09-25 21:24:18 +02:00
022668fb23
Update README
libedit (editline) seems to work just fine now,
except for not being fully asynchronous.
2022-09-04 17:07:38 +02:00
ba5a6374b6
json-rpc-test-server: add a "wait" method
Considering the server's nature, the global lock-up it causes
shouldn't constitute a major problem.
2022-09-04 15:25:27 +02:00
67008963cf
Update NEWS 2022-09-04 15:22:46 +02:00
c1b6918db3
Fix libedit history behaviour 2022-09-04 15:22:46 +02:00
3cf3c0215e
Build with AsciiDoc as well as Asciidoctor 2022-08-24 01:09:30 +02:00
a2a72c8b92
Update .gitignore 2021-10-30 03:34:23 +02:00
57f89eba07
Add clang-format configuration 2021-10-30 02:59:33 +02:00
4795ee851d
FindLibEV.cmake: synchronise 2021-10-30 01:56:48 +02:00
87a644cc59
Fix newer libedit (2021-08-29) 2021-10-28 08:30:41 +02:00
990cf5a1d4
Reflect the sibling project's new name
Better keep all schizophreny in my own head, rather than all projects.
2021-08-06 19:26:04 +02:00
4a5c818ba1
json-rpc-shell: respect the NO_COLOR env. variable 2021-07-07 19:16:00 +02:00
af5929a383
CMakeLists.txt: fix copy-pasted variable name 2020-10-30 16:48:02 +01:00
9f5845fc51
json-rpc-shell.adoc: minor improvements
Documented envvars and added a note about XDG paths.
2020-10-30 04:21:17 +01:00
3daf254b41
CMakeLists.txt: make this build in OpenBSD 2020-10-30 04:21:16 +01:00
c533fa2fd7
CMakeLists.txt: omit end{if,foreach} expressions
Their usefulness was almost negative.
2020-10-30 04:21:16 +01:00
2fe2d6bc03
Bump minimum CMake version to 3.0
A nice, round number.  This allows us to remove some boilerplate.
2020-10-30 04:21:16 +01:00
df93937789
CMakeLists.txt: fix an outdated comment 2020-10-30 04:21:15 +01:00
ae447065f7
Bump liberty 2020-10-30 04:21:15 +01:00
f9e157293c
json-rpc-test-server: only return regular files
They can be symlinked.
2020-10-17 23:30:22 +02:00
42d1ff064f
json-rpc-test-server: comment on some CGI details
There are some unresolved issues in the CGI clients
that needed a more precise description.
2020-10-17 23:09:29 +02:00
710f8e0b2d
json-rpc-test-server: fix function names
Very obviously copied and pasted from the shell.
2020-10-16 23:55:15 +02:00
4938ee43bd
json-rpc-test-server: try to send a 408
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.
2020-10-15 04:59:01 +02:00
6927d022fb
WebSocket: send a User-Agent header 2020-10-15 04:30:48 +02:00
75b2094cdd
json-rpc-test-server: add a simple co-process mode
A disgusting copy-paste but it will have to do for now.

Closes #6
2020-10-15 03:20:20 +02:00
b3c377afdb
json-rpc-test-server: WS: fix failures to upgrade
Similar to ad1aba9, only here we return 426 to the client.
2020-10-15 00:39:27 +02:00
4236a4943a
WebSocket: adapt to common "await" infrastructure 2020-10-14 13:37:10 +02:00
23c728e535
Add a backend for co-processes
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
2020-10-14 13:37:08 +02:00
dfe814316f
This software is no longer simple 2020-10-14 13:36:35 +02:00
efc663a178
WebSocket: some clean-up 2020-10-14 12:25:22 +02:00
2b8f52ac72
Split out a http-parser wrapper 2020-10-14 12:25:22 +02:00
bb7ffe1da2
Simplify the FAIL macro 2020-10-14 12:25:21 +02:00
ad1aba9d22
WebSocket: fix upgrade processing
When http-parser sets the upgrade field, it checks for status code 101
and even resolves our TODO about checking the entire Connection header.
2020-10-14 09:44:46 +02:00
0107d09abc
json-rpc-shell.adoc: document the M-Enter binding 2020-10-14 02:37:50 +02:00
01767198f2
WebSockets -> WebSocket
This is the correct name of the protocol, usage of the word
"WebSockets" should be limited.
2020-10-14 00:03:34 +02:00
5854ed1b32
Support reading OpenRPC documents from a file
Bump liberty, it generated incorrect help messages.
2020-10-13 21:48:24 +02:00
63c8a79479
Factor out init_backend()
The main() function is still way too long.
2020-10-13 21:07:40 +02:00
d489362a28
json-rpc-test-server: implement rpc.discover 2020-10-13 20:54:27 +02:00
c87869bef7
Cleanup
Prevent the last fuck-up from happening again.
2020-10-13 20:30:33 +02:00