- 10 Dec, 2014 1 commit
-
-
Kenton Varda authored
-
- 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.
-
- 26 Oct, 2014 1 commit
-
-
Kenton Varda authored
To use, pass --disable-reflection to the configure script. This produces a smaller runtime library. However, using it for this purpose is not recommended. The main purpose of lite mode is to define a subset of Cap'n Proto which might plausibly compile under MSVC. MSVC still lacks full support for constexpr and expression SFINAE; luckily, most of our use of these things relates to reflection, and not all users need reflection. Cap'n Proto lite mode inherits its name from Protocol Buffers' lite mode. However, there are some key differences: - Protobuf generated code included global constructors related to registering descriptors and extensions. For many people, this was the main reason to use lite mode: to get rid of these global constructors and achieve faster startup times. Cap'n Proto, on the other hand, never had global constructors in the first place. - Schemas are actually still available in lite mode, though only in their raw (Cap'n Proto structure) form. Only the schema API (which wraps the raw schemas in a more convenient interface) and reflection API (which offers a convenient way to use the schemas) are unavailable. - Lite mode is enabled in an application by defining CAPNP_LITE rather than by specifying an annotation in the schema file. This better-reflects real-world usage patterns, where you typically want to enable lite mode application-wide anyway. - We do not build the lite mode library by default. You must request it by passing --disable-reflection to the configure script. Before you can do that, you must have a prebuilt Cap'n Proto compiler binary available, since the compiler can't be built without reflection. - Relatedly, the lite mode library is built with the same name as the full library. This library is not intended to be installed. If anything it should be statically linked. But, mostly the option only exists on non-MSVC platform to give us a way to test that we haven't broken lite mode.
-
- 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
-
- 11 Dec, 2013 1 commit
-
-
Kenton Varda authored
Eliminate the concept of imbuing messages in favor of the simpler concept of setting a cap table directly on MessageReader / getting one from MessageBuilder. This eliminates capability-context entirely. This was made possible by the earlier change which moved capabilities to a separate table rather than storing CapDescriptors inline, but I didn't realize it at the time.
-
- 05 Dec, 2013 1 commit
-
-
Kenton Varda authored
-
- 08 Oct, 2013 1 commit
-
-
Kenton Varda authored
-
- 04 Oct, 2013 1 commit
-
-
Kenton Varda authored
-
- 25 Sep, 2013 1 commit
-
-
Kenton Varda authored
-
- 26 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 23 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 22 Jul, 2013 1 commit
-
-
Kenton Varda authored
-
- 17 Jul, 2013 1 commit
-
-
Kenton Varda authored
Implement mutex and once-init synchronization primitives. Wrap pthreads for now, but plan on raw futexes later.
-
- 08 Jul, 2013 1 commit
-
-
Kenton Varda authored
-
- 14 Jun, 2013 1 commit
-
-
Kenton Varda authored
-
- 07 Jun, 2013 2 commits
-
-
Kenton Varda authored
Mark every destructor "noexcept(false)" unless it is very clearly noexcept. The change in C++11 making destructors default-noexcept was a mistake.
-
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 6 commits
-
-
Kenton Varda authored
-
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
-
- 29 May, 2013 1 commit
-
-
Kenton Varda authored
-
- 22 May, 2013 1 commit
-
-
Kenton Varda authored
-
- 16 May, 2013 1 commit
-
-
Kenton Varda authored
Implement ability to set() struct and list fields by deep-copying from a corresponding Reader. This copy requires no schema knowledge.
-
- 15 May, 2013 1 commit
-
-
Kenton Varda authored
Mass rename 'reference' -> 'pointer'. Been meaning to do this for a while -- all the documentation talks about 'pointers', not 'references'.
-
- 11 May, 2013 1 commit
-
-
Kenton Varda authored
-
- 08 May, 2013 1 commit
-
-
Kenton Varda authored
Restore ability to upgrade from List(Bool) to List(T) where T is a struct whose @0 field is of type Bool. I previously disallowed this to reduce complexity, but it turned out to actually increase complexity.
-
- 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.
-
- 10 Apr, 2013 1 commit
-
-
Kenton Varda authored
-
- 09 Apr, 2013 1 commit
-
-
Kenton Varda authored
-
- 28 Mar, 2013 1 commit
-
-
Kenton Varda authored
-
- 26 Mar, 2013 1 commit
-
-
Kenton Varda authored
-