- 19 Feb, 2015 1 commit
-
-
Kenton Varda authored
- Promise<T>::catch_() method which is equivalent to then() but you only specify an error handler; the non-error continuation is the identity function. - kj::evalNow() function which synchronously calls a function and returns a promise for the result, or a broken promise if the function threw an exception. This is convenient for making sure exceptions get pushed into the promise chain. - KJ_WARN_UNUSED_RESULT on various methods that return promises.
-
- 29 Nov, 2014 1 commit
-
-
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.
-
- 23 Nov, 2014 1 commit
-
-
Kenton Varda authored
-
- 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 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
-
- 01 Apr, 2014 1 commit
-
-
Kenton Varda authored
- Define separate times for durations vs. absolute times. - Make more consistent with existing precedents in KJ style.
-
- 30 Mar, 2014 1 commit
-
-
Remy Blank authored
-
- 11 Mar, 2014 1 commit
-
-
Kenton Varda authored
-
- 30 Nov, 2013 1 commit
-
-
Kenton Varda authored
-
- 12 Nov, 2013 1 commit
-
-
Kenton Varda authored
-
- 22 Oct, 2013 1 commit
-
-
Kenton Varda authored
-
- 04 Oct, 2013 1 commit
-
-
Kenton Varda authored
-
- 06 Jun, 2013 1 commit
-
-
Kenton Varda authored
-
- 30 May, 2013 1 commit
-
-
Kenton Varda authored
-
- 12 Mar, 2013 1 commit
-
-
Kenton Varda authored
Basic code generation starting to work. My machine just did something weird so I'm submitting and pushing in case of imminant hardware failure...
-
- 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 1 commit
-
-
Kenton Varda authored
-
- 26 Feb, 2013 1 commit
-
-
Kenton Varda authored
-