1. 19 Apr, 2016 4 commits
  2. 11 Apr, 2016 2 commits
    • Alex Richardson's avatar
      7ca97fc0
    • Alex Richardson's avatar
      Add a cmake package config module · f7d685be
      Alex Richardson authored
      This makes it a lot easier for CMake based projects to use Cap'n Proto.
      
      Example usage:
      
      find_package(CapnProto)
      capnp_generate_cpp(FOO_SRCS FOO_HDRS foo.capnp)
      add_executable(foo main.cpp ${FOO_SRCS})
      target_link_libraries(foo CapnProto::capnp CapnProto::capnp-rpc)
      
      This is a lot better than the previous variable based solution since
      linking to nonexistent targets is an error whereas an empty variable
      expansion (e.g. due to typos) will be silently ignored. It also makes
      sure that the right compiler flags, include directories, defines and
      link libraries are passed to the compiler for that target without
      needing any other include_directories(), etc.
      f7d685be
  3. 08 Apr, 2016 3 commits
  4. 05 Apr, 2016 2 commits
  5. 02 Apr, 2016 10 commits
  6. 01 Apr, 2016 1 commit
  7. 31 Mar, 2016 3 commits
  8. 30 Mar, 2016 2 commits
  9. 29 Mar, 2016 3 commits
  10. 27 Mar, 2016 2 commits
    • Kenton Varda's avatar
      be33564f
    • Kenton Varda's avatar
      Allow --packed and --flat to be used together. · 4361912b
      Kenton Varda authored
      In Sandstorm, we are encoding powerbox queries in packed base64 strings which may be placed in URL query parameters or the like. The strings are provided in interfaces called browser-side. We anticipate that some developers will prefer to specify a hardcoded string rather than generate it on-the-fly, since Cap'n Proto is not well-supported in browsers today, and anyway the developer may have no other reason to have a Cap'n Proto dependency at all, and powerbox queries are often static.
      
      In this context, speed is irrelevant, while having a compact encoding is desirable. It felt sad to me to leave in the segment table in this context, adding redundant bytes when we want a compact encoding.
      4361912b
  11. 26 Mar, 2016 2 commits
  12. 25 Mar, 2016 1 commit
  13. 21 Mar, 2016 1 commit
  14. 20 Mar, 2016 1 commit
  15. 19 Mar, 2016 2 commits
  16. 14 Mar, 2016 1 commit