1. 11 Jan, 2018 1 commit
    • Kenton Varda's avatar
      Replace all include guards with #pragma once. · 677a52ab
      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.
      677a52ab
  2. 11 Dec, 2017 2 commits
  3. 07 Apr, 2017 1 commit
  4. 24 Jan, 2017 1 commit
  5. 07 Nov, 2016 1 commit
  6. 09 Oct, 2016 1 commit
  7. 06 Apr, 2016 1 commit
    • Harris Hancock's avatar
      Use IIFE instead of GNU statement expression · e780e3ed
      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.
      e780e3ed
  8. 05 May, 2015 1 commit
  9. 30 Dec, 2014 1 commit
  10. 10 Dec, 2014 1 commit
  11. 29 Nov, 2014 2 commits
  12. 23 Nov, 2014 1 commit
  13. 22 Nov, 2014 1 commit
  14. 20 Nov, 2014 1 commit
  15. 15 Oct, 2014 1 commit
  16. 20 Jun, 2014 1 commit
    • Kenton Varda's avatar
      Change license to MIT. · 889204fe
      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
      889204fe
  17. 07 Dec, 2013 1 commit
  18. 05 Nov, 2013 1 commit
  19. 12 Sep, 2013 1 commit
  20. 23 Aug, 2013 1 commit
  21. 19 Aug, 2013 1 commit
  22. 15 Aug, 2013 1 commit
  23. 17 Jul, 2013 1 commit
  24. 10 Jul, 2013 1 commit
  25. 10 Jun, 2013 1 commit
  26. 07 Jun, 2013 1 commit
  27. 06 Jun, 2013 1 commit
  28. 04 Jun, 2013 4 commits
  29. 03 Jun, 2013 2 commits
  30. 01 Jun, 2013 1 commit
  31. 31 May, 2013 2 commits
  32. 29 May, 2013 1 commit
  33. 22 May, 2013 1 commit