1. 23 Jun, 2015 2 commits
    • Kenton Varda's avatar
      2ed4b4e7
    • Kenton Varda's avatar
      Fixes #219, with POSSIBLE (but obscure) WIRE FORMAT BREAKAGE. · db7ca960
      Kenton Varda authored
      Unfortunately, the layout algorithm had a bug which caused incorrect layout when declaring a union whose lowest-ordinal field was of type Void and nested in an inner union. That is:
      
          union {
            a :union {
              b @0 :Void
              ...
            }
            ...
          }
      
      In this case, all the fields in the struct after the Void field -- including both unions' discriminants -- would end up misplaced. Although they did not end up overlapping (and therefore the incorrect layout "worked"), the result broke schema evolution rules around "retroactive unionization".
      
      Unfortunately, we must break compatibility with any protocol that happened to contain the above pattern. Luckily, it's a fairly obscure case. Unluckily, Cap'n Proto's own schema format contains such a pattern. Luckily, the use of this pattern was introduced in v0.6.x and therefore has not been in any release build so far.
      db7ca960
  2. 14 Jun, 2015 1 commit
  3. 12 Jun, 2015 3 commits
  4. 11 Jun, 2015 4 commits
  5. 10 Jun, 2015 1 commit
  6. 09 Jun, 2015 1 commit
  7. 30 May, 2015 1 commit
  8. 29 May, 2015 2 commits
  9. 26 May, 2015 1 commit
    • Kenton Varda's avatar
      sed -r is a GNU extension, apparently, and due to stars aligning, this didn't… · 25be62be
      Kenton Varda authored
      sed -r is a GNU extension, apparently, and due to stars aligning, this didn't break the build, but led to a totally bogus soname on non-GNU systems. Argh.
      
      Apparently most systems (including GNU, undocumentedly) support -E instead, but perhaps the safest thing is to use a basic regular expression. Unfortunately on many systems ? and + are not available in basic regexes, but using * instead happens to work in our case.
      
      Thanks to @neverpanic for catching this.
      
      Fixes #210
      25be62be
  10. 21 May, 2015 1 commit
  11. 20 May, 2015 3 commits
  12. 16 May, 2015 2 commits
  13. 15 May, 2015 1 commit
  14. 10 May, 2015 1 commit
  15. 09 May, 2015 2 commits
  16. 07 May, 2015 2 commits
  17. 06 May, 2015 3 commits
  18. 05 May, 2015 3 commits
  19. 04 May, 2015 2 commits
  20. 03 May, 2015 4 commits