1. 28 Apr, 2017 1 commit
    • Harris Hancock's avatar
      Fix crashes due to null vtable pointers with MSVC · 2e7ece6b
      Harris Hancock authored
      MSVC as of VS2015 does not initialize the vtable pointers of constexpr
      objects, causing nullptr dereferences at runtime. To solve this, we can
      just convert them to regular const variables with internal (static)
      linkage.
      
      The internal linkage bit is important: as long as they are invisible
      outside their respective translation units, we do not risk the static
      initialization order fiasco.  If we ever need to reference them outside
      their translation units, we would need to hide them behind functions (like
      HeapArrayDisposer::instance()) to keep things safe.
      2e7ece6b
  2. 20 May, 2016 1 commit
    • Harris Hancock's avatar
      Depend on kj/miniposix.h instead of unistd.h in most places · 669469ca
      Harris Hancock authored
      This is necessary to get things working in MSVC. Note I swapped unistd.h
      for miniposix.h in the compiler, too, which will be necessary to port the
      compiler to MSVC.
      
      This commit also pulls capnp/compiler/capnp.c++'s pipe() implementation
      details (i.e., 8k reserved memory, _O_BINARY mode) into kj/miniposix.h.
      669469ca
  3. 29 Jul, 2015 1 commit
  4. 18 Nov, 2014 1 commit
  5. 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
  6. 30 Nov, 2013 2 commits
  7. 02 Sep, 2013 1 commit
  8. 26 Aug, 2013 1 commit
  9. 23 Aug, 2013 1 commit
  10. 14 Aug, 2013 1 commit
  11. 10 Aug, 2013 1 commit
  12. 06 Aug, 2013 1 commit
    • Kenton Varda's avatar
      Arrange for compiler to send to the code generator the complete contents of all… · 7b59b551
      Kenton Varda authored
      Arrange for compiler to send to the code generator the complete contents of all files listed on the command line, all first-level dependencies of those files, and parent scopes of those dependencies, but nothing more.  This means it's sometimes possible to compile a schema file without parsing all transitive dependencies.  Also, in 'decode' mode, don't compile annotations, so that the files defining those annotations need not be opened at all.
      7b59b551
  13. 02 Aug, 2013 1 commit
  14. 01 Aug, 2013 1 commit
  15. 26 Jul, 2013 1 commit