- 26 Oct, 2014 6 commits
-
-
Kenton Varda authored
Fix install/uninstall automake hooks for CAPNP_LITE builds
-
Kenton Varda authored
Remove redundant 'const' qualifiers
-
Philip Quinn authored
The command-line tools aren't built in LITE_MODE, so there's nothing to create a symlink to.
-
Philip Quinn authored
-
Kenton Varda authored
-
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.
-
- 25 Oct, 2014 7 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
Result -> Results
-
David Renshaw authored
-
Kenton Varda authored
-
Kenton Varda authored
See changes to test.capnp for example. Currently only supported through generated code, not in the dynamic API. Not exactly sure how to expose this in the dynamic API...
-
Kenton Varda authored
fix copy-paste bug in TestRpc_TailCall: add missing assertion
-
Mike Edgar authored
-
- 24 Oct, 2014 1 commit
-
-
Kenton Varda authored
-
- 23 Oct, 2014 4 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
Note that embedded schema structures in generated code are still incorrect.
-
- 22 Oct, 2014 1 commit
-
-
Kenton Varda authored
CMake improvements
-
- 21 Oct, 2014 3 commits
-
-
Kenton Varda authored
initial fixes for building kj/main.c++ utilities on mingw
-
Joshua Warner authored
-
Kenton Varda authored
Remove '-d' flag from call to atos(1)
-
- 20 Oct, 2014 14 commits
-
-
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.
-
Kenton Varda authored
-
Kenton Varda authored
-
Philip Quinn authored
-
Philip Quinn authored
atos(1) doesn't actually have a '-d' flag, but its inclusion was innocuous (and suppressed a warning) until OS X 10.10.
-
Kenton Varda authored
1) Apparently mixing member defaults and initializer lists is a C++14 thing. 2) My test script compiles with -Werror which errors out on calls to now-deprecated getDependency().
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
More refactoring is needed, but this at least makes "using" aliases work correctly with generics.
-
Philip Quinn authored
-
Philip Quinn authored
-
Philip Quinn authored
-
- 19 Oct, 2014 3 commits
-
-
Philip Quinn authored
-
Philip Quinn authored
-
Philip Quinn authored
-
- 18 Oct, 2014 1 commit
-
-
Philip Quinn authored
-