- 16 Nov, 2015 1 commit
-
-
Kamal Marhubi authored
-
- 09 Jun, 2015 1 commit
-
-
Kenton Varda authored
Maybe::emplace() should return the newly-constructed value so that you don't have to immediately KJ_ASSERT_NONNULL it.
-
- 05 May, 2015 1 commit
-
-
Kenton Varda authored
- Reduce noise. - Trace through async callbacks.
-
- 21 Apr, 2015 1 commit
-
-
Kenton Varda authored
https://llvm.org/bugs/show_bug.cgi?id=22354 At the time DisallowConstCopy was introduced, GCC 4.7 and Clang 3.2 refused to allow the non-const copy constructors to be defaulted inline. This must have been concluded to be a compiler bug, as GCC 4.8 and Clang 3.4 seem fine with it. So, we can clean this up. Meanwhile, the above-linked Clang bug triggered when a DisallowConstCopy derivative is captured by value in a C++14 generic lambda. capnp::CallContext in particular tended to be hit by this a lot. The bug only affects non-default (or out-of-line default) copy constructors, and thus is conveniently sidestepped by this change.
-
- 22 Mar, 2015 1 commit
-
-
Kenton Varda authored
-
- 15 Mar, 2015 1 commit
-
-
Kenton Varda authored
-
- 13 Mar, 2015 1 commit
-
-
Kenton Varda authored
-
- 22 Jan, 2015 1 commit
-
-
Kenton Varda authored
Work around incompatibility between various C++ standard libs in C++14 mode on some Linux distros, including Ubuntu 14.04.
-
- 29 Dec, 2014 1 commit
-
-
Kenton Varda authored
-
- 30 Nov, 2014 1 commit
-
-
Philip Quinn authored
-
- 29 Nov, 2014 2 commits
-
-
Kenton Varda authored
Distinguishing between "local bugs" and "preconditions" was proving difficult in practice, because a precondition failure in one function may very well indicate a bug in a calling function, but the exception may be thrown through that function, thus when caught the classification is nonsensical. The distinction also was not as useful as imagined. So, I eliminated this distinction.
-
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.
-
- 24 Nov, 2014 2 commits
-
-
Kenton Varda authored
-
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.
-
- 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.
-
- 20 Nov, 2014 1 commit
-
-
Todor Totev authored
Add __forceinline for MSVC
-
- 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
-
- 16 Jun, 2014 1 commit
-
-
Kenton Varda authored
-
- 22 Apr, 2014 1 commit
-
-
Kenton Varda authored
-
- 10 Mar, 2014 1 commit
-
-
Kenton Varda authored
Extend FlatArrayMessageReader to indicate where the message actually ended, in case it was not the end of the array. Useful when reading an mmap'd file with a Cap'n Proto prefix. Also fix a bug in Maybe dealing with DisallowConstCopy subclasses.
-
- 10 Dec, 2013 1 commit
-
-
Kenton Varda authored
-
- 07 Dec, 2013 1 commit
-
-
Kenton Varda authored
Don't ever auto-define NDEBUG. Just decide KJ_DEBUG based on optimization mode if neither DEBUG nor NDEBUG is defined.
-
- 12 Nov, 2013 3 commits
-
-
Kenton Varda authored
Improve inf/nan. This also makes GCC encode them consistently with Clang and with the existing testdata.
-
Kenton Varda authored
-
Kenton Varda authored
Define new KJ constants for min/max integer values and inf/nan, then remove all use of numeric_limits.
-
- 05 Nov, 2013 1 commit
-
-
Kenton Varda authored
-
- 15 Oct, 2013 1 commit
-
-
Kenton Varda authored
-
- 09 Oct, 2013 1 commit
-
-
Kenton Varda authored
-
- 08 Oct, 2013 1 commit
-
-
Kenton Varda authored
-
- 12 Sep, 2013 1 commit
-
-
Kenton Varda authored
-
- 28 Aug, 2013 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
Make 'capnp decode' heuristically detect and warn when the wrong format flag (e.g. --packed, --flat) is used.
-
- 23 Aug, 2013 1 commit
-
-
Kenton Varda authored
Warn when an optimized build doesn't set NDEBUG and then #define it ourselves -- unless the build explicitly sets DEBUG.
-
- 15 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 14 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 09 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 02 Aug, 2013 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
Fix compiler bugs. Now test.capnp compiles to an identical schema to the old Haskell compiler, minus intentional changes.
-