- 08 Oct, 2018 1 commit
-
-
Kenton Varda authored
Implement JSON-RPC adapter to Cap'n Proto interfaces.
-
- 07 Oct, 2018 3 commits
-
-
Kenton Varda authored
This isn't related to JSON-RPC but is a fix needed for the Ekam language server.
-
Kenton Varda authored
This implements JSON-RPC 2.0: https://www.jsonrpc.org/specification
-
Kenton Varda authored
Some protocols, like Visual Studio Code's Language Server Protocol, have made the unfortunate decision to use HTTP-style message envelope even though they are not HTTP protocols. LSP, for example, sends each JSON-RPC messages as a Content-Length header followed by two CRLF followed by a JSON message of that length. I didn't want to rewrite HTTP parsing, so I extended the HTTP library to make this functionality reusable.
-
- 27 Sep, 2018 4 commits
-
-
Kenton Varda authored
Overload Maybe::operator=() to match all copy constructors.
-
Kenton Varda authored
-
Ingvar Stepanyan authored
Immovable types can be already wrapped into `Maybe`, which can be constructed as default `nullptr`, set to a constructed value via `.emplace()`, but couldn't be cleared back to `nullptr`. The previous commit fixed the bug, this commit adds a test.
-
Kenton Varda authored
Previously we depended on the compiler to implicitly invoke the copy constructor followed by the assignment operator, but this can lead to the compiler making surprising decisions in some cases, such as deciding that the literal 0 is a better match for nullptr than for T. Overloading operator=() to match every copy constructor is the safe thing to do.
-
- 25 Sep, 2018 2 commits
-
-
Kenton Varda authored
Fix minor typo spotted by lintian
-
Tom Lee authored
-
- 17 Sep, 2018 1 commit
-
-
Kenton Varda authored
Fix JSON field handlers not triggering on union members of annotated types.
-
- 16 Sep, 2018 3 commits
-
-
Kenton Varda authored
Wrap KJ_LOG in braces
-
Kenton Varda authored
Add a way to set a maximum number of event loop turns before we poll for input.
-
Kenton Varda authored
-
- 11 Sep, 2018 1 commit
-
-
Kenton Varda authored
-
- 10 Sep, 2018 1 commit
-
-
Kenton Varda authored
Implement kj::newTee()
-
- 08 Sep, 2018 2 commits
-
-
Harris Hancock authored
-
Harris Hancock authored
-
- 07 Sep, 2018 1 commit
-
-
Oleg Kolosov authored
Using "for" statement instead of "if", as suggested by Kenton, still avoids "dangling else" warnings and also allows to have diagnostics on missing ";" at the end. So this way is better.
-
- 05 Sep, 2018 1 commit
-
-
Kenton Varda authored
Make it possible to configure HttpClient to not reuse connections at all.
-
- 02 Sep, 2018 1 commit
-
-
Harris Hancock authored
-
- 31 Aug, 2018 1 commit
-
-
Kenton Varda authored
-
- 30 Aug, 2018 1 commit
-
-
Oleg Kolosov authored
This fixes "dangling else" warnings when KJ_LOG is used after unbraced if statement.
-
- 29 Aug, 2018 3 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
- 26 Aug, 2018 13 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
Fix json-test on MSVC.
-
Kenton Varda authored
-
Kenton Varda authored
Fix tls-test for OpenSSL 1.1.1.
-
Kenton Varda authored
These errors apparently don't show up until the first read with 1.1.1, and may have different messages. Apparently this landed on my Debian machine *today* and then all of the sudden the test was failing. I was so confused.
-
Kenton Varda authored
Resolve or defer all TODO(soon)s
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
Fix Android build/test issues.
-
Kenton Varda authored
-
Kenton Varda authored
-
- 25 Aug, 2018 1 commit
-
-
Kenton Varda authored
More 0.7 fixes
-