1. 01 Apr, 2016 2 commits
  2. 31 Mar, 2016 1 commit
  3. 29 Mar, 2016 3 commits
  4. 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
  5. 26 Mar, 2016 2 commits
  6. 25 Mar, 2016 5 commits
  7. 21 Mar, 2016 1 commit
  8. 20 Mar, 2016 2 commits
    • Kenton Varda's avatar
    • Matthew Maurer's avatar
      Add Canonicalization · 5db2c8f8
      Matthew Maurer authored
      The user facing API is in MessageReader and MessageBuilder
      
      {MessageBuilder,MessageReader}::isCanonical verifies the canonicity of a
      message. This is both useful for debugging and for knowing if a received
      message can be used for hashes, bytewise equality, etc.
      
      MessageBuilder::canonicalRoot(Reader) can be used to write a canonical
      message on a best effort basis, and checks itself using isCanonical.
      It should succeed as long as the MessageBuilder in question:
      * Has a first segment which is long enough to contain the message
      * Has not been used before
      
      Tests have been added in canonicalize-test.c++ which verify that for
      crafted examples of canonicalization errors, isCanonical will reject,
      and for a canonicalized version of the standard test message, it will
      accept.
      5db2c8f8
  9. 19 Mar, 2016 2 commits
  10. 14 Mar, 2016 2 commits
  11. 10 Mar, 2016 1 commit
  12. 04 Mar, 2016 4 commits
  13. 03 Mar, 2016 2 commits
    • Kenton Varda's avatar
      Merge pull request #289 from zarvox/pkg-config-exec-prefix · b260dd17
      Kenton Varda authored
      *.pc.in: add exec_prefix lines
      b260dd17
    • Drew Fisher's avatar
      *.pc.in: add exec_prefix lines · 34dcf746
      Drew Fisher authored
      The removal of exec_prefix in a900f200
      caused the generated .pc files to be unusable when built with autotools.
      
      The generated libdir value would read:
      
        libdir=${exec_prefix}/lib
      
      but since exec_prefix was unspecified, pkg-config would choke:
      
        zarvox@localhost $ pkg-config capnp-rpc --cflags --libs
        Variable 'exec_prefix' not defined in '/usr/local/lib/pkgconfig/capnp-rpc.pc'
      34dcf746
  14. 26 Feb, 2016 1 commit
  15. 22 Feb, 2016 1 commit
  16. 16 Feb, 2016 2 commits
  17. 15 Feb, 2016 1 commit
  18. 06 Feb, 2016 1 commit
  19. 01 Feb, 2016 1 commit
  20. 29 Jan, 2016 4 commits