- 16 Feb, 2018 3 commits
-
-
Harris authored
-
Harris authored
-
Harris Hancock authored
Instantiating kj::downcast<T, T>() causes a compile failure with -Werror=address because the compiler knows the dynamic_cast check in downcast() can never fail.
-
- 11 Feb, 2018 1 commit
-
-
Harris Hancock authored
Previously ${CMAKE_CURRENT_LIST_DIR} was expanded (to an empty string) before CapnProtoConfig.cmake.in was configured, resulting in CapnProtoConfig.cmake setting CAPNP_INCLUDE_DIRECTORY to "/../../include", which is obviously wrong.
-
- 11 Jan, 2018 11 commits
-
-
Kenton Varda authored
Silence compiler warning about non-virtual dtor on non-final classes
-
Harris Hancock authored
-
Kenton Varda authored
Make AsyncUnixTest/InterruptedTimer slower on Linux becaues it turns out to be flaky on machines other than mine.
-
Kenton Varda authored
-
Kenton Varda authored
Replace all include guards with #pragma once.
-
Kenton Varda authored
@kloepper pointed out a while back that every compiler you've ever heard of supports this. Plus, it's more concise, it's not prone to copy-paste errors, and it looks nicer. At the time I wanted to remain consistent and I didn't feel like spending the time to update all my existing code. But, every time I've added a new header since I've cursed the include guard, so I finally broke down and changed it.
-
Kenton Varda authored
Fix wrong poll/epoll timeout after EINTR.
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
Fix capnp_generate_cpp usage of --src-prefix
-
- 06 Jan, 2018 4 commits
-
-
Kenton Varda authored
Various tweaks needed by Sandstorm HTTP changes
-
Kenton Varda authored
-
Kenton Varda authored
This gives Sandstorm a way to move the membrane to a different process when desired.
-
Kenton Varda authored
-
- 03 Jan, 2018 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 29 Dec, 2017 1 commit
-
-
Kenton Varda authored
Add totalSize() to list readers, like struct readers.
-
- 28 Dec, 2017 1 commit
-
-
Kenton Varda authored
-
- 27 Dec, 2017 1 commit
-
-
Kenton Varda authored
Extend membrane framework to make revocation easy.
-
- 26 Dec, 2017 1 commit
-
-
Kenton Varda authored
I realized upon trying to use this framework in Sandstorm that proper revocation was not easy to implement as-is. It's easy enough to revoke new calls, but canceling existing calls requires implementing a custom RequestHook and such. Since revocation is arguably the most important thing one might want to do with a membrane, this should be built-in.
-
- 23 Dec, 2017 15 commits
-
-
Kenton Varda authored
Change capnp compiler to use KJ filesystem API.
-
Kenton Varda authored
Also fixed a similar _MSC_VER guard that I realized was catching MinGW by accident.
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
The disk-backed implementations were already inherently threadsafe. Making this explicit allows callers to rely on it. This is particularly useful for SchemaParser, which is intended to be threadsafe.
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
Unfortunately, our cmake build scripts have historically passed -I flags specifying both the root of the source tree and the specific subdirectory in which the .capnp file is located. This is not correct, but since people do it (including our own cmake build), we need to not fail when this happens. Instead we print a warning.
-
Kenton Varda authored
Apparently, msync()'s parameters must be page-aligned, bah.
-
Kenton Varda authored
This allows detecting when two objects point to the same underlying file.
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
Fix Windows: SchemaParser::parseDiskFile() expects native paths, so use Windows-style absolute paths on Windows.
-
Kenton Varda authored
-