- 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.
-
- 11 Dec, 2017 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
Especially, this adds KJ_WIN32_HANDLE_ERRORS() to parallel KJ_SYSCALL_HANDLE_ERRORS().
-
- 07 Apr, 2017 1 commit
-
-
Kenton Varda authored
-
- 24 Jan, 2017 1 commit
-
-
Harris Hancock authored
-
- 07 Nov, 2016 1 commit
-
-
Kenton Varda authored
-
- 09 Oct, 2016 1 commit
-
-
Philip Quinn authored
-
- 06 Apr, 2016 1 commit
-
-
Harris Hancock authored
An immediately-invoked function expression with a default reference capture list should be roughly equivalent to a GNU compound statement expression. I'm unsure whether or not the result should be returned by kj::mv() -- I would expect the compiler to optimize appropriately, but have not tested this. Note: There are two versions of KJ_REQUIRE_NONNULL in kj/debug.h: one that works with MSVC's preprocessor, and one which works with the standard- compliant preprocessor. This commit only touches the MSVC version of the macro, because that is the minimum necessary work to get it to compile in MSVC. However, it may make sense to convert the other one to use IIFE as well.
-
- 05 May, 2015 1 commit
-
-
Kenton Varda authored
- Reduce noise. - Trace through async callbacks.
-
- 30 Dec, 2014 1 commit
-
-
Kenton Varda authored
A compatibility layer is provided to ease migration.
-
- 10 Dec, 2014 1 commit
-
-
Kenton Varda authored
-
- 29 Nov, 2014 2 commits
-
-
Kenton Varda authored
-
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
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
-
- 15 Oct, 2014 1 commit
-
-
Joshua Warner 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
-
- 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.
-
- 05 Nov, 2013 1 commit
-
-
Kenton Varda authored
-
- 12 Sep, 2013 1 commit
-
-
Kenton Varda authored
-
- 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.
-
- 19 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 15 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 17 Jul, 2013 1 commit
-
-
Kenton Varda authored
Implement mutex and once-init synchronization primitives. Wrap pthreads for now, but plan on raw futexes later.
-
- 10 Jul, 2013 1 commit
-
-
Kenton Varda authored
-
- 10 Jun, 2013 1 commit
-
-
Kenton Varda authored
-
- 07 Jun, 2013 1 commit
-
-
Kenton Varda authored
Mark every destructor "noexcept(false)" unless it is very clearly noexcept. The change in C++11 making destructors default-noexcept was a mistake.
-
- 06 Jun, 2013 1 commit
-
-
Kenton Varda authored
-
- 04 Jun, 2013 4 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
- 03 Jun, 2013 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 01 Jun, 2013 1 commit
-
-
Kenton Varda authored
-
- 31 May, 2013 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 29 May, 2013 1 commit
-
-
Kenton Varda authored
-
- 22 May, 2013 1 commit
-
-
Kenton Varda authored
-