- 04 Jun, 2018 1 commit
-
-
Kenton Varda authored
I was shocked to find that there was no good way to represent a multi-line literal currently. This implements C-style literals, where multiple consecutive string literals are concatenated.
-
- 19 Oct, 2017 1 commit
-
-
Ed Catmur authored
before including windows.h.
-
- 12 Oct, 2017 1 commit
-
-
Ed Catmur authored
Visual Studio 2017 (14.11.25503, 19.11.25508.2) needs `#include <wincrypt.h>` for CryptGenRandom etc.
-
- 22 May, 2017 1 commit
-
-
Kenton Varda authored
People see files named "md5" and get worried about security issues, even though we're using it only as a *non-cryptographic* PRNG. So, I renamed the files to type-id.*, encapsulated the code better to make clear that it's only used to generate type IDs, and added comments clarifying that we're not expecting it to be collision-proof. Fixes #482.
-
- 25 Apr, 2017 1 commit
-
-
Kenton Varda authored
Fixes #251
-
- 21 Apr, 2017 1 commit
-
-
Kenton Varda authored
-
- 06 Apr, 2016 2 commits
-
-
Harris Hancock authored
-
Harris Hancock authored
-
- 29 Jul, 2015 1 commit
-
-
Kenton Varda authored
Example: const data :Data = embed "some-file.dat"; Files are looked up the same way an import would be. You can use embed when Data or Text is expected. You can also use it when a struct type is expected -- the file will be interpreted as a message using standard binary serialization.
-
- 23 Jan, 2015 1 commit
-
-
Kenton Varda authored
-
- 25 Oct, 2014 1 commit
-
-
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...
-
- 20 Oct, 2014 1 commit
-
-
Kenton Varda authored
-
- 17 Oct, 2014 1 commit
-
-
Kenton Varda authored
-
- 11 Oct, 2014 1 commit
-
-
Kenton Varda authored
-
- 29 Jun, 2014 1 commit
-
-
Jason Choy 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
-
- 30 Nov, 2013 1 commit
-
-
Kenton Varda authored
-
- 12 Nov, 2013 1 commit
-
-
Kenton Varda authored
Define new KJ constants for min/max integer values and inf/nan, then remove all use of numeric_limits.
-
- 02 Oct, 2013 1 commit
-
-
Kenton Varda authored
Interface code generation. Also update method grammar to allow multiple returns, and allow specifying request/response structs instead of parameter lists.
-
- 29 Sep, 2013 1 commit
-
-
Kenton Varda authored
Extend interface grammar to support inheritance, and update compiler to properly compile interfaces.
-
- 24 Sep, 2013 1 commit
-
-
Kenton Varda authored
-
- 28 Aug, 2013 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 23 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 22 Aug, 2013 2 commits
-
-
Kenton Varda authored
Require a colon before 'group' or 'union' except for unnamed unions as well as the legacy case of a named union with an ordinal (where the colon is optional).
-
Kenton Varda authored
New method isFoo() exists for union fields only and returns true if foo is the active union field.
-
- 21 Aug, 2013 3 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
- 20 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 19 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 16 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 15 Aug, 2013 3 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
Unnamed unions WIP. About to change MemberInfo format, which will require re-bootstrapping the code generator.
-
- 06 Aug, 2013 1 commit
-
-
Kenton Varda authored
Arrange for compiler to send to the code generator the complete contents of all files listed on the command line, all first-level dependencies of those files, and parent scopes of those dependencies, but nothing more. This means it's sometimes possible to compile a schema file without parsing all transitive dependencies. Also, in 'decode' mode, don't compile annotations, so that the files defining those annotations need not be opened at all.
-
- 02 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 01 Aug, 2013 2 commits
-
-
Kenton Varda authored
Compiler actually running plugins! Hooked it up to capnpc-capnp (the loopback plugin). Working on getting the output identical to the old capnpc... still a few bugs left.
-
Kenton Varda authored
Add utility code for really nice command-line option parsing and start using it in the compiler (still WIP).
-
- 26 Jul, 2013 1 commit
-
-
Kenton Varda authored
-