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. 12 Oct, 2017 1 commit
    • Edward Catmur's avatar
      Avoid passing null to memcpy/memcmp/memset · dbc088d1
      Edward Catmur authored
      It is invalid to pass null as a pointer argument to memcpy/memcmp/memset, even if the count argument is zero:
      
      > Where an argument declared as size_t n specifies the length of the array for a
      function, n can have the value zero on a call to that function. Unless explicitly stated
      otherwise in the description of a particular function in this subclause, pointer arguments
      on such a call shall still have valid values [...]
      
      Detected by -fsanitize=nonnull-attribute.
      dbc088d1
  3. 01 Jun, 2017 1 commit
  4. 25 Apr, 2017 1 commit
  5. 18 Feb, 2017 1 commit
  6. 24 Jan, 2017 1 commit
  7. 29 Nov, 2014 1 commit
  8. 22 Nov, 2014 1 commit
  9. 01 Jul, 2014 1 commit
  10. 29 Jun, 2014 3 commits
  11. 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
  12. 09 Jul, 2013 1 commit
  13. 03 Jul, 2013 2 commits
  14. 02 Jul, 2013 2 commits