1. 11 Jan, 2018 6 commits
  2. 06 Jan, 2018 4 commits
  3. 03 Jan, 2018 2 commits
  4. 29 Dec, 2017 1 commit
  5. 28 Dec, 2017 1 commit
  6. 27 Dec, 2017 1 commit
  7. 26 Dec, 2017 1 commit
    • Kenton Varda's avatar
      Extend membrane framework to make revocation easy. · 4b28ee7f
      Kenton Varda authored
      I realized upon trying to use this framework in Sandstorm that proper revocation was not easy to implement as-is. It's easy enough to revoke new calls, but canceling existing calls requires implementing a custom RequestHook and such. Since revocation is arguably the most important thing one might want to do with a membrane, this should be built-in.
      4b28ee7f
  8. 23 Dec, 2017 19 commits
  9. 22 Dec, 2017 2 commits
  10. 21 Dec, 2017 3 commits
    • Harris Hancock's avatar
      8978caf6
    • Harris Hancock's avatar
      cmake: Remove FindCapnProto.cmake · 6b788321
      Harris Hancock authored
      This file is obsoleted by the CMake config package files that the autotools build now installs. Since FindCapnProto.cmake contains an implementation of capnp_generate_cpp(), in which I just fixed a bug, this file seems like a maintenance liability  now, so I'd like to delete it.
      6b788321
    • Harris Hancock's avatar
      cmake: capnp_generate_cpp() should import src-prefix · cb482fe3
      Harris Hancock authored
      capnp_generate_cpp() needs to import two directories by default: the src-prefix directory which houses the .capnp files being compiled (under their canonical paths), and the capnp include directory which houses capnp/rpc.capnp, capnp/schema.capnp, etc. (This latter path will necessarily be different for build-tree usage versus install-tree usage.) Before this commit, instead of importing the src-prefix, we were importing CMAKE_CURRENT_SOURCE_DIR.
      
      Note that for capnproto's own compilation of test.capnp and friends, the src-prefix and capnp include directory will end up being the exact same directory. It turns out to be surprisingly difficult to de-duplicate them, however, because the capnp include directory is actually a CMake generator expression in order to deal with the build-tree versus install-tree issue mentioned above. So, for now, we pass two -I flags to the same directory.
      
      Alongside the fix in capnp_generate_cpp(), I fixed the usage of it in c++/src/capnp/CMakeLists.txt by setting CAPNPC_SRC_PREFIX correctly and removing the /capnp suffix hack from CAPNPC_OUTPUT_DIR.
      cb482fe3