- 10 Dec, 2014 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
Add an easier way to read a message directly into a builder. Requires a copy for security/validation.
-
- 29 Nov, 2014 1 commit
-
-
Kenton Varda authored
Add asBytes() and asChars() methods to array classes to reinterpret-cast to bytes / chars, since this happens all the time and is otherwise a huge pain. Use the new methods in a bunch of places.
-
- 24 Nov, 2014 1 commit
-
-
Kenton Varda authored
The project file still only compiles a test binary, but it should be easy to separate out a library project from here. Thanks again to Bryan Boreham <bjboreham@gmail.com> for much help getting this working.
-
- 20 Jun, 2014 1 commit
-
-
Kenton Varda authored
For portions currently copyright by Kenton (most of it), transfer copyright to Sandstorm Development Group, Inc. (Kenton's company). The license change is practically meaningless, as MIT and BSD 2-clause are legally equivalent. However, the BSD 2-clause license is sometimes confused for its ugly siblings, BSD 3-clause and BSD 4-clause. The MIT license is more immediately recognizeable for what it is. Rémy Blank and Jason Choy (the two non-trivial contributors) are on record as approving this change: https://groups.google.com/d/msg/capnproto/xXDd2HUOCcc/gbe_COIuXKYJ
-
- 13 May, 2014 1 commit
-
-
Kenton Varda authored
-
- 10 Mar, 2014 1 commit
-
-
Kenton Varda authored
Extend FlatArrayMessageReader to indicate where the message actually ended, in case it was not the end of the array. Useful when reading an mmap'd file with a Cap'n Proto prefix. Also fix a bug in Maybe dealing with DisallowConstCopy subclasses.
-
- 07 Jun, 2013 1 commit
-
-
Kenton Varda authored
Add mechanism for catching exceptions that has limited use even with -fno-exceptions, as well as a mechanism to detect when a destructor is called during unwind and to avoid throwing in these situations.
-
- 06 Jun, 2013 5 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
- 04 Jun, 2013 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 03 Jun, 2013 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 01 Jun, 2013 1 commit
-
-
Kenton Varda authored
-
- 31 May, 2013 1 commit
-
-
Kenton Varda authored
-
- 30 May, 2013 1 commit
-
-
Kenton Varda authored
-
- 29 May, 2013 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 25 May, 2013 1 commit
-
-
Kenton Varda authored
-
- 23 May, 2013 1 commit
-
-
Kenton Varda authored
-
- 15 Apr, 2013 2 commits
-
-
Kenton Varda authored
Get rid of redundant ErrorReporter that goes in ReaderOptions. Registering an ExceptionCallback is a better approach.
-
Kenton Varda authored
Replace most CAPNPROTO_ASSERTs with the new logging/error macros. Also add a SYSCALL macro and use it. Also add commentary.
-
- 13 Apr, 2013 1 commit
-
-
Kenton Varda authored
Refuse to read messages with excessive segment counts or messages whose total size exceeds the traversal limit, before allocating any space. This is important for security.
-
- 04 Apr, 2013 1 commit
-
-
Kenton Varda authored
Update implemented pointer format to match docs: Don't store field count in struct pointers because it isn't needed. Instead extend data and pointer section sizes to 16 bits, which should be enough for anyone. Also, store offsets from the end of the pointer rather than the beginning, because this makes it possible for them to be zero, which compresses better. In particular, the root reference will always have a zero offset, so this will shave a byte off of very small packed messages.
-
- 28 Mar, 2013 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 22 Mar, 2013 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 21 Mar, 2013 1 commit
-
-
Kenton Varda authored
-
- 19 Mar, 2013 1 commit
-
-
Kenton Varda authored
-