- 29 Apr, 2017 1 commit
-
-
Kenton Varda authored
-
- 28 Apr, 2017 1 commit
-
-
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.
-
- 26 Apr, 2017 1 commit
-
-
Kenton Varda authored
Apparently the test has accidentally been using the installed capnp all along.
-
- 25 Apr, 2017 4 commits
-
-
Kenton Varda authored
Fixes #251
-
Kenton Varda authored
Fixes #363.
-
Kenton Varda authored
Fixes #403
-
Kenton Varda authored
Fixes #405
-
- 21 Apr, 2017 1 commit
-
-
Kenton Varda authored
-
- 18 Apr, 2017 1 commit
-
-
Harris Hancock authored
Microsoft only implements putenv, which has a slightly different syntax. This change allows CMake to build the entire project on Windows with MinGW 4.8.5.
-
- 10 Apr, 2017 1 commit
-
-
Kenton Varda authored
-
- 30 Mar, 2017 3 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
TODO: - Rename Guarded to Bounded? - Consider bounded array (where size and indexes are bounded quantities). - Implement non-CAPNP_DEBUG_TYPES fallback. - Don't allow casting kj::maxValue to bounded type, this won't work right when not using debug types! - Verify that this change doesn't hurt performance.
-
- 24 Jan, 2017 5 commits
-
-
Harris Hancock authored
Bootstrap regeneration commit to follow.
-
Harris Hancock authored
Although bootstrap regeneration will basically be a no-op (no bootstraps have deeply nested generics which this commit fixes), one will follow this commit for completeness.
-
Harris Hancock authored
MSVC cannot deduce sizes of arrays defined inside class templates. Bootstrap regeneration commit to follow.
-
Harris Hancock authored
-
Harris Hancock authored
MSVC erroneously refuses to compile code which calculates the address of objects of static storage duration at compile-time, despite this being legal. Work around this by changing `_capnpPrivate::brand` from constexpr pointers to static constexpr functions returning pointers. The compiler is then free to calculate it at compile-time if it can (gcc, clang), but can also defer it to run-time if it can't (MSVC). This change is split into three commits: 1. Changes to the code generator (this commit). 2. A bootstrap regeneration, after which the codebase will not compile. 3. Changes to the generated code support header, after which the codebase will again compile.
-
- 12 Dec, 2016 1 commit
-
-
Kenton Varda authored
The trick here is that you must specify the value as a separate constant with a defined type. Then, you can reference that constant where an AnyPointer is expected. Eventually we should maybe support some sort of inline syntax that specifies a type explicitly...
-
- 02 Oct, 2016 1 commit
-
-
David Renshaw authored
-
- 05 Sep, 2016 1 commit
-
-
David Renshaw authored
-
- 08 Aug, 2016 1 commit
-
-
Kenton Varda authored
-
- 04 Jul, 2016 2 commits
-
-
David Renshaw authored
-
David Renshaw authored
-
- 23 Jun, 2016 1 commit
-
-
Kenton Varda authored
Since simply fixing the bug would silently break backwards-compatibility for affected schemas, we instead throw an exception to alert developers. See Issue #344 for more details.
-
- 20 Jun, 2016 1 commit
-
-
- 17 Jun, 2016 1 commit
-
-
Kenton Varda authored
-
- 14 Jun, 2016 1 commit
-
-
Branislav Katreniak authored
-
- 21 May, 2016 1 commit
-
-
Kenton Varda authored
-
- 20 May, 2016 2 commits
-
-
Matthew Maurer authored
-
Harris Hancock authored
This is necessary to get things working in MSVC. Note I swapped unistd.h for miniposix.h in the compiler, too, which will be necessary to port the compiler to MSVC. This commit also pulls capnp/compiler/capnp.c++'s pipe() implementation details (i.e., 8k reserved memory, _O_BINARY mode) into kj/miniposix.h.
-
- 18 May, 2016 1 commit
-
-
Branislav Katreniak authored
-
- 10 May, 2016 1 commit
-
-
Matthew Maurer authored
You can now spawn a canonical message from: * StructReader * AnyStruct::Reader * capnpc-c++ generated Foo::Reader
-
- 08 Apr, 2016 1 commit
-
-
Kenton Varda authored
-
- 06 Apr, 2016 5 commits
-
-
Harris Hancock authored
-
Harris Hancock authored
-
Harris Hancock authored
-
Harris Hancock authored
-
Harris Hancock authored
-
- 02 Apr, 2016 1 commit
-
-
Liam Staskawicz authored
fixes #304
-