- 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.
-
- 09 Nov, 2014 1 commit
-
-
Kenton Varda authored
-
- 26 Oct, 2014 1 commit
-
-
Kenton Varda authored
Extended discussion: https://groups.google.com/d/msg/capnproto/lRlWBOglQv4/8-Qo96AcZQIJ
-
- 20 Oct, 2014 1 commit
-
-
Kenton Varda authored
That is to say, whereas previously we would extend capnp::typeId<T>() to a new type by declaring a specialization of it for that type, now we instead have the type contain a nested class called _capnpPrivate which contains a `typeId` constant. This is necessary because it is impossible to specialize a template for a type which is itself nested inside a template type. E.g. it's impossible to write a specialization `template <typename T> typeId<Foo<T>::Bar>()`; C++ simply doesn't support this. But with generics, Cap'n Proto will allow types to be nested inside templates, so we need this to work.
-
- 17 Oct, 2014 1 commit
-
-
Kenton Varda authored
-
- 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
-
- 05 Feb, 2014 1 commit
-
-
Kenton Varda authored
-
- 04 Feb, 2014 1 commit
-
-
Jason Paryani authored
-
- 10 Dec, 2013 1 commit
-
-
Kenton Varda authored
-
- 05 Dec, 2013 1 commit
-
-
Kenton Varda authored
-
- 04 Dec, 2013 1 commit
-
-
Kenton Varda authored
-
- 28 Nov, 2013 1 commit
-
-
Kenton Varda authored
Revamp concurrency model, part 1: EventLoop no longer allows cross-thread event queuing, simplifying many things. Capability clients are no longer thread-safe, so they don't have to be so const. In the future, explicit ways to communicate between threads will be re-added, but threads will be treated more like separate vats that just happen to have a particularly fat pipe. Upcoming: Remove mutexes.
-
- 14 Nov, 2013 2 commits
-
-
Kenton Varda authored
Remove 'has' for primitive fields. Dynamic version always returns true. This also means that primitives are always included in text format, even if they are default-valued.
-
Kenton Varda authored
-
- 12 Nov, 2013 1 commit
-
-
Kenton Varda authored
Spin off libraries kj-async and capnp-rpc, so that people who don't want them can avoid their large footprint.
-
- 15 Oct, 2013 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 04 Oct, 2013 1 commit
-
-
Kenton Varda authored
-
- 24 Sep, 2013 4 commits
-
-
Kenton Varda authored
Get rid of no-longer-needed object-specific methods of DynamicStruct. Use get().as<ObjectPointer>() instead.
-
Kenton Varda authored
-
Kenton Varda authored
Revamp generated interface to Object fields. Now there is an ObjectPointer::{Reader,Builder}. This will simplify the dynamic API (next change) and also makes it easier to delegate decisions about the object type to a function that doesn't know about the context where the object lives (i.e. by passing an ObjectPointer::Builder).
-
Kenton Varda authored
-
- 23 Sep, 2013 1 commit
-
-
Kenton Varda authored
Factor Pointer{Reader,Builder} out from {Struct,List}{Reader,Builder}. Will make it easier to deal with Object fields.
-
- 29 Aug, 2013 1 commit
-
-
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.
-
- 28 Aug, 2013 3 commits
-
-
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
-
- 26 Aug, 2013 3 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
- 25 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 23 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 22 Aug, 2013 3 commits
-
-
Kenton Varda authored
New method isFoo() exists for union fields only and returns true if foo is the active union field.
-
Kenton Varda authored
-
Kenton Varda authored
-
- 21 Aug, 2013 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 20 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 19 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 15 Aug, 2013 1 commit
-
-
Kenton Varda authored
-