- 16 Jul, 2018 1 commit
-
-
Kenton Varda authored
Alas, this means we can't use sprintf() anymore. Ugh.
-
- 14 Jul, 2018 1 commit
-
-
Kenton Varda authored
This is useful especially in signal handlers where malloc() is potentially unsafe.
-
- 11 Jan, 2018 1 commit
-
-
Kenton Varda authored
@kloepper pointed out a while back that every compiler you've ever heard of supports this. Plus, it's more concise, it's not prone to copy-paste errors, and it looks nicer. At the time I wanted to remain consistent and I didn't feel like spending the time to update all my existing code. But, every time I've added a new header since I've cursed the include guard, so I finally broke down and changed it.
-
- 12 Oct, 2017 1 commit
-
-
Edward Catmur authored
-
- 12 Sep, 2017 1 commit
-
-
Kenton Varda authored
E.g.: "foo"_kj This literal will have type StringPtr. Although any string literal can implicitly cast to StringPtr, using the _kj suffix has the advantage that it can be constexpr.
-
- 24 Jan, 2017 1 commit
-
-
Kenton Varda authored
-
- 25 May, 2016 1 commit
-
-
Branislav Katreniak authored
-
- 18 May, 2016 1 commit
-
-
Branislav Katreniak authored
This method provides kj-ish interface to parse numbers. Moves code from capnp json decoder to kj::StringPtr.
-
- 06 Apr, 2016 1 commit
-
-
Harris Hancock authored
-
- 15 Sep, 2015 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
Make sure ArrayPtr<char> stringifies the same as ArrayPtr<const char> (without commas after each character)
-
- 30 Dec, 2014 1 commit
-
-
Kenton Varda authored
A compatibility layer is provided to ease migration.
-
- 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.
-
- 23 Nov, 2014 1 commit
-
-
Kenton Varda authored
Thanks to Bryan Boreham <bjboreham@gmail.com> for much help getting this started.
-
- 22 Nov, 2014 1 commit
-
-
Kenton Varda authored
This prevents the compiler from reporting warnings in these headers while compiling application code. Hopefully this will stem the never-ending stream of complaints from people who enable pedantic warnings.
-
- 24 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
-
- 02 May, 2014 1 commit
-
-
Kenton Varda authored
Add ability to truncate a list post-allocation and reclaim space. Currently limited to blobs and can only be accessed through the Orphan interface.
-
- 12 Nov, 2013 1 commit
-
-
Kenton Varda authored
-
- 29 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 09 Aug, 2013 3 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
- 07 Aug, 2013 1 commit
-
-
Kenton Varda authored
Pull TextBlob out of capnpc-capnp and into KJ as kj::StringTree. Use it in the stringification code to make that code cleaner and avoid using iostreams.
-
- 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
-
- 16 Jul, 2013 1 commit
-
-
Kenton Varda authored
Complete C++ .capnp parser. Also, add a pretty-printing function for arbitrary Cap'n Proto objects which is like the existing stringification but uses whitespace (newlines an indentation) to make the structures more readable.
-
- 11 Jun, 2013 1 commit
-
-
Kenton Varda authored
-
- 06 Jun, 2013 1 commit
-
-
Kenton Varda authored
-
- 05 Jun, 2013 1 commit
-
-
Kenton Varda authored
-
- 04 Jun, 2013 1 commit
-
-
Kenton Varda authored
-
- 01 Jun, 2013 1 commit
-
-
Kenton Varda authored
-
- 31 May, 2013 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 30 May, 2013 1 commit
-
-
Kenton Varda authored
-
- 29 May, 2013 1 commit
-
-
Kenton Varda authored
-
- 02 Mar, 2013 1 commit
-
-
Kenton Varda authored
Moar type-safety, rewriting WireFormat to avoid descriptors (incomplete), decided struct pointers should point at the beginning of the struct after all.
-
- 01 Mar, 2013 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-