- 02 Sep, 2013 1 commit
-
-
Kenton Varda authored
-
- 01 Sep, 2013 7 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
Don't delete default dynamic builder constructors, because this makes things difficult for the Python wrappers.
-
- 31 Aug, 2013 8 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
Fix linking problems that only come up when using Ubuntu's libtool to build a dist and then installing it on OSX. libkj.la was not listed in libcapnpc's deps. Also put the pthread libs last since that's more correct.
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
Actually fix the bug, which was a doozy: OrphanBuilder::tag was sometimes initialized using WirePointer::setKindAndTarget(), but since the tag didn't live inside the target segment, this used illegal pointer arithmetic. The target is never read from an orphan tag anyway, so I thought it would be no big deal. But it turns out Clang actually optimizes under the assumption that pointer arithmetic returns a whole value. As a result, on 32-bit system where 64-bit values are only 32-bit aligned, the tag and target might not have been a whole number of words apart, and the extra bit actually found its way into the 'kind' bits, causing e.g. a struct pointer to become an invalid far pointer. Crash. The fix required refactoring to ensure that setKindAndOffset() is never used for orphan tags.
-
- 30 Aug, 2013 5 commits
-
-
Kenton Varda authored
Fix obscure bug where allocating an empty struct causes trouble. For reasons I don't yet fully understand, this actually caused a crash on 32-bit OSX builds (but not 64-bit, nor 32-bit Linux).
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
- 29 Aug, 2013 8 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
Delete default construcrtor on builders, so that people don't incorrectly try to just declare a Builder on the stack and then start setting its fields. Instead, a Builder can be explicitly assigned to nullptr, which makes it clearer that it isn't safe to use.
-
Kenton Varda authored
-
Kenton Varda authored
-
- 28 Aug, 2013 11 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
Rename non-group again, now to 'slot', which is much nicer. Also introduce fixed lists as a third kind of field (but not implemented yet).
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-