1. 20 Oct, 2020 6 commits
    • Eric Myhre's avatar
      codegen: make error info available when tuples process data that is too long. · 2461bba8
      Eric Myhre authored
      This requires introducing an error-carrying NodeAssembler,
      because the AssembleValue methods don't have the ability to return errors themselves.
      
      AssembleValue methods have not needed to return errors before!
      Most lists don't have any reason to error: out of our whole system,
      it's only struct-with-tuple-representation that can have errors here,
      due to tuples having length limits.
      AssembleValue for maps doesn't have a similar challenge either,
      because key invalidity can always be indicated by errors returned from
      the key assembly process.
      
      I'm not a big fan of this diff -- error carrying thunks like this are
      ugly to write and they're also pretty ugly to use -- but I'm not sure
      what would be better.  ListAssembler.AssembleValue returning an error?
      Turning ListAssembler into a two phase thing, e.g. with an Advance
      method that fills some of the same role as AssembleKey does for maps,
      and gives us a place to return errors?
      2461bba8
    • Eric Myhre's avatar
      Merge-ignore branch 'stalled/dagjson-bytes'. · e2551099
      Eric Myhre authored
      I don't think we've resolved the questions already noted in that diff yet,
      and I abhor drifting open branches, so I'm going to "merge" this
      such that it's in git history for reference, but not an effected diff.
      
      Additionally, I believe we encountered a question about whether this string
      should include multibase -- this diff doesn't; the spec suggested it should;
      and I think we've agreed the spec should be changed, but I'm not sure if
      that's been done yet.
      
      At any rate, someone's welcome to take a look at this again in the future.
      e2551099
    • Eric Myhre's avatar
      Attempt to support dagjson spec for bytes; writer side. · d5b658c1
      Eric Myhre authored
      I haven't implemented the reader side because I'm not sure it's possible;
      the specification is insufficiently clear.
      I opened Issue https://github.com/ipld/specs/issues/302 to track this.
      d5b658c1
    • Eric Myhre's avatar
      Merge branch 'codegen-typofixes' · e53a5474
      Eric Myhre authored
      e53a5474
    • Eric Myhre's avatar
      329252db
    • Eric Myhre's avatar
      Merge pull request #85 from ipld/resource-budget-for-dagcbor-parser · 6428f6bb
      Eric Myhre authored
      Implement resource budgets in dagcbor parsing.
      6428f6bb
  2. 15 Oct, 2020 1 commit
  3. 04 Oct, 2020 1 commit
  4. 01 Oct, 2020 3 commits
  5. 28 Sep, 2020 1 commit
  6. 24 Sep, 2020 1 commit
  7. 10 Sep, 2020 11 commits
  8. 05 Sep, 2020 9 commits
  9. 02 Sep, 2020 3 commits
  10. 28 Aug, 2020 3 commits
  11. 27 Aug, 2020 1 commit