- 29 Apr, 2017 10 commits
-
-
Harris Hancock authored
VS2015 only barely compiled ~NullableValue's noexcept specifier expression. VS2017 can't at all, so we're going with noexcept(false) for MSVC for now.
-
Harris Hancock authored
-
Kenton Varda authored
KJ Filesystem API
-
Kenton Varda authored
This reverts commit f836a5fc.
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
- 28 Apr, 2017 23 commits
-
-
Kenton Varda authored
Have AppVeyor run the tests.
-
Kenton Varda authored
-
Kenton Varda authored
I can only reproduce this failure on AppVeyor, but the test prints: capnp\rpc.c++:2886: exception = kj\async-io-win32.c++:399: failed: WSASend(): A request to send or receive data was disallowed because the socket had already been shut down in that direction with a previous shutdown call. I think this is because WSAESHUTDOWN was considered to be a "bug" exception rather than a "disconnected" exception. It is odd, though, that it doesn't happen when I run locally.
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
On Linux this cuts 56% off the run time of the fuzz test (aka 2.28x speedup). On Windows this makes it practical to run the fuzz test at all -- previously it was wayyyyyyy too slow.
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Harris Hancock authored
-
Harris Hancock authored
While the VS2015 build no longer depends on the MinGW installation as an external capnp, I think testing the CMake MinGW build on Windows probably remains worthwhile.
-
Harris Hancock authored
This option was only useful when MSVC couldn't build the capnp command line tools, so let's back it out.
-
Harris Hancock authored
The previous solution used hard-coded paths which would have had to be special-cased for multi-configuration generators such as Visual Studio, which put binaries in individual Debug, Release, etc. directories.
-
Harris Hancock authored
-
Kenton Varda authored
-
Harris Hancock authored
MSVC as of VS2015 does not initialize the vtable pointers of constexpr objects, causing nullptr dereferences at runtime. To solve this, we can just convert them to regular const variables with internal (static) linkage. The internal linkage bit is important: as long as they are invisible outside their respective translation units, we do not risk the static initialization order fiasco. If we ever need to reference them outside their translation units, we would need to hide them behind functions (like HeapArrayDisposer::instance()) to keep things safe.
-
Harris Hancock authored
This works around an issue which prevented kj::parse::ref() from compiling.
-
Harris Hancock authored
The fix in ae6b4452 worked for getting the HTTP code building, but was apparently insufficient for the capnp command line tools.
-
Kenton Varda authored
-
Kenton Varda authored
This is currently passing.
-
Kenton Varda authored
This is currently passing.
-
Kenton Varda authored
-
Kenton Varda authored
-
- 27 Apr, 2017 7 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
This has three main parts: * The Path data structure, a more-explicit approach to file paths. * The File/Directory abstract interfaces. * The "InMemory" implementations of File and Directory. Disk-based implementations will come in a future commit.
-
Kenton Varda authored
-
Kenton Varda authored
-