1. 09 Jul, 2015 1 commit
  2. 03 Jun, 2015 1 commit
  3. 01 Jun, 2015 1 commit
  4. 30 May, 2015 1 commit
  5. 28 May, 2015 1 commit
  6. 26 May, 2015 1 commit
  7. 18 May, 2015 1 commit
  8. 28 Apr, 2015 1 commit
  9. 20 Apr, 2015 1 commit
    • Jeromy's avatar
      fix for #1008 and other pinning fixes · 99bdf197
      Jeromy authored
      This commit adds a new set of sharness tests for pinning, and addresses
      bugs that were pointed out by said tests.
      
      test/sharness: added more pinning tests
      
      Pinning is currently broken. See issue #1051. This commit introduces
      a few more pinning tests. These are by no means exhaustive, but
      definitely surface the present problems going on. I believe these
      tests are correct, but not sure. Pushing them as failing so that
      pinning is fixed in this PR.
      
      make pinning and merkledag.Get take contexts
      
      improve 'add' commands usage of pinning
      
      FIXUP: fix 'pin lists look good'
      
      ipfs-pin-stat simple script to help check pinning
      
      This is a simple shell script to help check pinning.
      
      We ought to strive towards making adding commands this easy.
      The http api is great and powerful, but our setup right now
      gets in the way. Perhaps we can clean up that area.
      
      updated t0081-repo-pinning
      
      - fixed a couple bugs with the tests
      - made it a bit clearer (still a lot going on)
      - the remaining tests are correct and highlight a problem with
        pinning. Namely, that recursive pinning is buggy. At least:
        towards the end of the test, $HASH_DIR4 and $HASH_FILE4 should
        be pinned indirectly, but they're not. And thus get gc-ed out.
        There may be other problems too.
      
      cc @whyrusleeping
      
      fix grep params for context deadline check
      
      fix bugs in pin and pin tests
      
      check for block local before checking recursive pin
      99bdf197
  10. 15 Apr, 2015 1 commit
  11. 31 Mar, 2015 1 commit
  12. 24 Mar, 2015 2 commits
  13. 07 Mar, 2015 1 commit
  14. 27 Feb, 2015 1 commit
  15. 25 Feb, 2015 2 commits
    • Juan Batiz-Benet's avatar
      Merge pull request #819 from jbenet/x_net_context_leeroy · c0fdcddd
      Juan Batiz-Benet authored
      update context imports to golang.org/x/net
      c0fdcddd
    • Henry's avatar
      rewrote import paths of go.net/context to use golang.org/x/context · 7659d388
      Henry authored
      - updated go-ctxgroup and goprocess
      ctxgroup: AddChildGroup was changed to AddChild. Used in two files:
      - p2p/net/mock/mock_net.go
      - routing/dht/dht.go
      
      - updated context from hg repo to git
      prev. commit in hg was ad01a6fcc8a19d3a4478c836895ffe883bd2ceab. (context: make parentCancelCtx iterative)
      represents commit 84f8955a887232b6308d79c68b8db44f64df455c in git repo
      
      - updated context to master (b6fdb7d8a4ccefede406f8fe0f017fb58265054c)
      
      Aaron Jacobs (2):
      net/context: Don't accept a context in the DoSomethingSlow example.
      context: Be clear that users must cancel the result of WithCancel.
      
      Andrew Gerrand (1):
      go.net: use golang.org/x/... import paths
      
      Bryan C. Mills (1):
      net/context: Don't leak goroutines in Done example.
      
      Damien Neil (1):
      context: fix removal of cancelled timer contexts from parent
      
      David Symonds (2):
      context: Fix WithValue example code.
      net: add import comments.
      
      Sameer Ajmani (1):
      context: fix TestAllocs to account for ints in interfaces
      7659d388
  16. 24 Feb, 2015 1 commit
  17. 19 Feb, 2015 2 commits
  18. 04 Feb, 2015 1 commit
  19. 03 Feb, 2015 1 commit
  20. 31 Jan, 2015 1 commit
  21. 27 Jan, 2015 4 commits
  22. 15 Jan, 2015 1 commit
    • Juan Batiz-Benet's avatar
      race fix: pinner loads with a threadsafe datastore · 559d20fd
      Juan Batiz-Benet authored
      All the datastores used by pinners and so on should be mutex
      wrapped. One issue with changing all of them from
      ds.Datastore -> ds.ThreadSafeDatastore is that we wrap the
      incoming ds.ThreadSafeDatastore with other datastores, which
      do not implement the interface. Re-wrapping again causes
      double locking. (which may be ok..., but...) any ideas?
      559d20fd
  23. 07 Jan, 2015 4 commits
  24. 06 Jan, 2015 2 commits
    • Juan Batiz-Benet's avatar
      merkledag: keep links sorted by name · 1a5c8cc4
      Juan Batiz-Benet authored
      May not be necessary to sort when adding each link--
      doing so would be unnecessarily expensive O(n^2) when
      constructing nodes -- though n wont be big.
      1a5c8cc4
    • Jeromy's avatar
      implement recursive indirect blocks · a32fc7ff
      Jeromy authored
      improve efficiency of multilayered indirect blocks
      
      clean up tests
      
      panic cleanup
      
      clean up logic, improve readability
      
      add final root node to the dagservice upon creation
      
      importer: simplified dag generation
      
      test: updated hashes using latest code
      
      @whyrusleeping this is why the sharness tests
      were failing: the hashes are added manually to
      make sure our generation doesn't change.
      
      cleanup after CR
      
      fix merkledag tests
      
      fix small block generation (no subblocks!)
      a32fc7ff
  25. 05 Jan, 2015 1 commit
    • Juan Batiz-Benet's avatar
      merkledag: LONG timeout on Get · 339d2a98
      Juan Batiz-Benet authored
      we shouldn't use an arbitrary timeout here. since Get
      doesnt take in a context yet, we give a large upper bound.
      think of an http request. we want it to go on as long as
      the client requests it.
      339d2a98
  26. 24 Dec, 2014 1 commit
  27. 23 Dec, 2014 1 commit
  28. 18 Dec, 2014 1 commit
  29. 15 Dec, 2014 2 commits