- 23 Jun, 2015 3 commits
-
-
Kenton Varda authored
Fix bug where calling a list setter using a list obtained from a similarly-typed getter, but where the underlying pointer was null, would write an incorrectly-typed pointer in the destination (specifically, an empty List(Void)). Now it sets an empty list of the correct type.
-
Kenton Varda authored
-
Kenton Varda authored
Unfortunately, the layout algorithm had a bug which caused incorrect layout when declaring a union whose lowest-ordinal field was of type Void and nested in an inner union. That is: union { a :union { b @0 :Void ... } ... } In this case, all the fields in the struct after the Void field -- including both unions' discriminants -- would end up misplaced. Although they did not end up overlapping (and therefore the incorrect layout "worked"), the result broke schema evolution rules around "retroactive unionization". Unfortunately, we must break compatibility with any protocol that happened to contain the above pattern. Luckily, it's a fairly obscure case. Unluckily, Cap'n Proto's own schema format contains such a pattern. Luckily, the use of this pattern was introduced in v0.6.x and therefore has not been in any release build so far.
-
- 12 Jun, 2015 1 commit
-
-
Kenton Varda authored
-
- 11 Jun, 2015 3 commits
-
-
Jason Paryani authored
It turns out that somehow these templates were missing InternalOwner and ExternalOwner definitions, which was causing problems if a RealmGateway was defined with them.
-
Kenton Varda authored
Don't kill the connection just because someone pipelined on a capability pointer that turned out to be null.
-
Kenton Varda authored
-
- 10 Jun, 2015 1 commit
-
-
Jason Paryani authored
-
- 09 Jun, 2015 1 commit
-
-
Kenton Varda authored
Maybe::emplace() should return the newly-constructed value so that you don't have to immediately KJ_ASSERT_NONNULL it.
-
- 29 May, 2015 1 commit
-
-
Fraser Hutchison authored
-
- 20 May, 2015 2 commits
-
-
Kenton Varda authored
-
Ed Maste authored
This avoids an unused function warning for crashHandler.
-
- 16 May, 2015 1 commit
-
-
Tom Lee authored
-
- 10 May, 2015 1 commit
-
-
Tom Lee authored
-
- 09 May, 2015 2 commits
-
-
David Renshaw authored
-
Tom Lee authored
Fixes a build error on GNU/Hurd.
-
- 07 May, 2015 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
Fix bug where capability pointers were corrupted when 'transferred', e.g. using adoptWithCaveats() or truncate().
-
- 06 May, 2015 3 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
Add ability to construct a new bootstrap capability for each connecting client based on their authenticated VatId.
-
Kenton Varda authored
-
- 05 May, 2015 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
- Reduce noise. - Trace through async callbacks.
-
- 04 May, 2015 1 commit
-
-
Jason Paryani authored
-
- 03 May, 2015 2 commits
-
-
Kenton Varda authored
-
Tom Lee authored
-
- 29 Apr, 2015 1 commit
-
-
Ivan Lezhankin authored
-
- 28 Apr, 2015 1 commit
-
-
David Renshaw authored
-
- 26 Apr, 2015 1 commit
-
-
David Renshaw authored
-
- 25 Apr, 2015 2 commits
-
-
David Renshaw authored
-
David Renshaw authored
-
- 21 Apr, 2015 1 commit
-
-
Kenton Varda authored
https://llvm.org/bugs/show_bug.cgi?id=22354 At the time DisallowConstCopy was introduced, GCC 4.7 and Clang 3.2 refused to allow the non-const copy constructors to be defaulted inline. This must have been concluded to be a compiler bug, as GCC 4.8 and Clang 3.4 seem fine with it. So, we can clean this up. Meanwhile, the above-linked Clang bug triggered when a DisallowConstCopy derivative is captured by value in a C++14 generic lambda. capnp::CallContext in particular tended to be hit by this a lot. The bug only affects non-default (or out-of-line default) copy constructors, and thus is conveniently sidestepped by this change.
-
- 20 Apr, 2015 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 17 Apr, 2015 1 commit
-
-
Kenton Varda authored
-
- 15 Apr, 2015 3 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
Add simple convenience classes for using TwoPartyVatNetwork as client or server, since I find myself rewriting this code over and over.
-
- 12 Apr, 2015 2 commits
-
-
Kenton Varda authored
AnyList::operator== is not inline but was declared as such. Also made formatting of operator declarations consistent.
-
Kenton Varda authored
-