1. 06 Aug, 2015 1 commit
    • Kenton Varda's avatar
      WIP JSON encoder/decoder library. Currently only encodes. · e3e9ce8d
      Kenton Varda authored
      The library allows for registering special handlers for specific types or fields. This is particluarly useful for overriding the way `Data` is encoded (since many approaches exist) or supporting encodings like EJSON or Q which extend JSON with special types encoded as objects with field names perfixed by dollar signs.
      
      Not integrated into build system yet (but builds nicely with Ekam). I think this is going to need to be a separate library, e.g. libcapnp-json, because clearly a lot of Cap'n Proto users don't need it at all.
      
      For the moment, this was written for use inside Sandstorm. There is no current need for a decoder, so I have not written that yet and have no immediate plans to do so. But it will be added before any official Cap'n Proto release, certainly. A simple recursive descent parser should be easy...
      e3e9ce8d
  2. 20 Mar, 2015 1 commit
  3. 29 Jan, 2015 1 commit
  4. 30 Dec, 2014 1 commit
  5. 12 Dec, 2014 1 commit
  6. 30 Nov, 2014 1 commit
  7. 25 Oct, 2014 1 commit
  8. 23 Oct, 2014 1 commit
  9. 20 Oct, 2014 2 commits
    • Kenton Varda's avatar
      Fix build on GCC 4.7. · 330e3fc7
      Kenton Varda authored
      330e3fc7
    • Kenton Varda's avatar
      Fix build for C++11. · 4692a669
      Kenton Varda authored
      1) Apparently mixing member defaults and initializer lists is a C++14 thing.
      2) My test script compiles with -Werror which errors out on calls to now-deprecated getDependency().
      4692a669
  10. 17 Oct, 2014 2 commits
  11. 11 Oct, 2014 1 commit
  12. 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
  13. 05 Dec, 2013 1 commit
  14. 16 Oct, 2013 1 commit
  15. 15 Oct, 2013 2 commits
  16. 24 Sep, 2013 1 commit
    • Kenton Varda's avatar
      Revamp generated interface to Object fields. Now there is an… · 2b643930
      Kenton Varda authored
      Revamp generated interface to Object fields.  Now there is an ObjectPointer::{Reader,Builder}.  This will simplify the dynamic API (next change) and also makes it easier to delegate decisions about the object type to a function that doesn't know about the context where the object lives (i.e. by passing an ObjectPointer::Builder).
      2b643930
  17. 28 Aug, 2013 3 commits
  18. 25 Aug, 2013 1 commit
  19. 22 Aug, 2013 3 commits
  20. 21 Aug, 2013 1 commit
  21. 19 Aug, 2013 1 commit
  22. 15 Aug, 2013 2 commits
  23. 09 Aug, 2013 2 commits
  24. 18 Jul, 2013 1 commit
  25. 06 Jun, 2013 6 commits
  26. 04 Jun, 2013 1 commit