- 24 Jan, 2020 1 commit
-
-
Ben Clayton authored
I'm not convinced that `opt.value() = foo` is a desirable pattern, and worse still it confuses some compilers about which overload to use. Just remove it.
-
- 17 Jan, 2020 3 commits
-
-
Ben Clayton authored
On windows text mode for these plays with newline escape sequences, breaking the ContextStream encoding. Fixes: #12
-
Ben Clayton authored
`std::atomic<bool>` does not default initialize to `false`. Bug: #12
-
Ben Clayton authored
Without this the vscode extension cannot find the example executable, and the example fails. Also use $USERPROFILE instead of $HOME for finding the `.vscode` user directory for installing the extension. Bug: #12
-
- 06 Jan, 2020 4 commits
-
-
Ben Clayton authored
Empty structs were being serialized as `null`, when they should have been serialized as `{}`. This was due to the type inference on the serializer - where no calls to `field()` would result in the default `null` type. To solve this, the `serialize(const void* object, const std::initializer_list<Field>&)` inline helper has been promoted to a virtual function (and renamed to `fields()`). The JSON serializer implementation of this now first sets the object type to `object`, even if there are no fields to serialize. Added test for this. Fixes: #10 -
Ben Clayton authored
-
Ben Clayton authored
-
Ben Clayton authored
-
- 31 Dec, 2019 2 commits
-
-
Ben Clayton authored
Compiler warning was signed / unsigned compare.
-
kuafuwang authored
The `body` field of the Response is optional. Do not error if it is missing. If the typeinfo of the response. This was incorrectly using the Request type. Authored by kuafuwang, squashed by ben-clayton.
-
- 05 Dec, 2019 1 commit
-
-
Ben Clayton authored
The onError parameter of Server::start was default initialized with OnError(), which is an 'invalid target', not a no-op implementation. Replace with a true no-op implementation.
-
- 02 Dec, 2019 1 commit
-
-
Ben Clayton authored
-
- 26 Nov, 2019 1 commit
-
-
Ben Clayton authored
`nlohmann/json` raises a `size_t` to `int` MSVC warning that will fail the build if `CPPDAP_WARNINGS_AS_ERRORS` is enabled. Given that this is not our code, the best we can do is to make an exception for this warning.
-
- 18 Nov, 2019 1 commit
-
-
Ben Clayton authored
Only set the third_party directory variables if they're not already set (by the dependee project).
-
- 14 Nov, 2019 4 commits
-
-
Ben Clayton authored
-
Ben Clayton authored
-
Ben Clayton authored
-
Ben Clayton authored
-
- 08 Nov, 2019 1 commit
-
-
Ben Clayton authored
-