Commit Graph

1398 Commits

Author SHA1 Message Date
Steven Allen
dd4d8bb25e
Merge pull request #5529 from overbool/fix/issue-#5523
fix(p2p): issue #5523
2018-10-18 19:33:44 +01:00
Steven Allen
9cdbb1eaad
Merge pull request #5586 from ipfs/fix/sharness/stat-race
fix: sharness race in directory_size if file is removed
2018-10-18 15:59:18 +01:00
Steven Allen
7de79280bb
Merge pull request #5404 from ipfs/feat/namestream
ipfs name resolve --stream
2018-10-18 15:55:16 +01:00
Overbool
ec8e45120e fix(files): add test
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-10-17 01:06:32 +08:00
Łukasz Magiera
462c8026be namesys: allow non /ipfs paths
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-16 16:37:15 +02:00
Łukasz Magiera
94bbeffaa9 Merge remote-tracking branch 'origin/master' into feat/namestream
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-15 12:05:03 +02:00
Jakub Sztandera
a4fab7f885 fix(sharness): gc repo size tests failing
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-10-15 09:26:28 +01:00
Steven Allen
4f53736430 gx: update yamux and refmt
* yamux: fix memory leak.
* refmt: obey the "empty" tag.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-12 16:15:40 +01:00
Steven Allen
1efe39274b
Merge pull request #5580 from ipfs/fix/5577
test the correct return value
2018-10-12 15:18:09 +01:00
Steven Allen
8117a2bcee gx: update go-buffer-pool
Turns out that `pool.Put(buf)` had to *allocate* because we needed to turn
`[]byte` into `interface{}`. Apparently, we've never done this correctly we just
never noticed because we never really used buffer pools extensively.

However, since migrating yamux to a buffer-pool backed buffer, this started
showing up in allocation profiles.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-10 14:11:31 +01:00
Łukasz Magiera
0bef4603e8 Merge branch 'master' into feat/namestream
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-10 12:10:12 +02:00
Steven Allen
67ea8dde0e test the correct return value
`res=$?` erases `$?` (sets it to 0)

fixes #5577

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-10 10:08:54 +01:00
Kejie Zhang
f90ee061d3 update add --chunker test
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-10-08 14:15:56 +08:00
Steven Allen
098933ade4 gx: update stuff
* go-datastore and friends: GetSize
* badger: new release, fewer allocations
* go-mplex: send fewer packets
* go-bitswap: pack multiple blocks in a single message, fewer allocations
* go-buffer-pool: replace the buffer pool from go-msgio
* yamux: fixed data race and uses go-buffer-pool for stream read-buffers to
  reduce memory and allocations.
* go-libp2p-secio: get rid of a hot-spot allocation
* go-libp2p-peerstore: reduced allocations (at the cost of some memory)

More?

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-05 14:48:44 -07:00
Overbool
717c0c83a1 fix(p2p): add test for issue #5523
;wq
Signed-off-by: Overbool <overbool.xu@gmail.com>

License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-10-05 13:30:31 +08:00
Kejie Zhang
dee54b36d9 add test about issue #4978
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-10-05 11:21:54 +08:00
Kejie Zhang
51fa159e4a add dns support in p2p forward connect
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-10-04 18:14:55 -07:00
Steven Allen
05b3b81743
Merge pull request #5555 from overbool/feat/add-force-flag-for-files-rm
feat(command): add force flag for files rm
2018-10-04 17:52:01 -07:00
Kevin Atkinson
d127f1be98 gx update libp2p/go-buffer-pool
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-04 20:05:26 -04:00
Lars Gierth
fc2575740e gx: update go-ipfs-config, iptb
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2018-10-04 20:02:42 -04:00
Lars Gierth
2c3ed7efb0 gx: update go-datastore, go-libp2p-swarm
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2018-10-04 19:52:42 -04:00
Overbool
a86cde50de test(files): add test for force flag
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-10-04 23:09:39 +08:00
Steven Allen
181c39993a
Merge pull request #5472 from overbool/fix/diff-raw-leaves
fix(object): add support for raw leaves in object diff
2018-10-03 18:58:06 -07:00
Steven Allen
4f9bde807b
Merge pull request #4803 from ipfs/feat/coreapi/swarm
coreapi: Swarm API
2018-10-02 16:25:45 -07:00
Steven Allen
021fc9fb97
Merge pull request #5385 from ipfs/kevina/cid-cmd
Provide new "cid" sub-command.
2018-10-02 15:54:55 -07:00
Łukasz Magiera
1ed555b87f Cleanup instances of manual resolver construction
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-02 18:35:14 +02:00
Kevin Atkinson
88a7e58b58 Add basic sharness tests.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-01 14:06:53 -04:00
Łukasz Magiera
ea352f62d0 update routing-helpers
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-29 12:43:30 +02:00
Jakub Sztandera
12746433ea test: add tess for /debug/pprof-mutex/ endpoint
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-09-27 03:44:44 +02:00
Łukasz Magiera
6fa2ab0d41 coreapi swarm: rewire address listing cmds
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-26 22:17:23 +02:00
Overbool
c6daf934ea fix(diff): modify diff logic and comment
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-09-24 20:39:07 +08:00
Steven Allen
dac058f8be gx: update go-log go-ipld-cbor
(and friends)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-24 05:36:29 -07:00
Steven Allen
ac53d3aaa4
Merge pull request #5494 from rob-deutsch/feat/publishquieter
add quieter option to name publish
2018-09-24 10:11:18 +00:00
rob-deutsch
286d935036 add quieter option to name publish
Added a quieter/Q option to 'name publish' that, consistent with 'add', only outputs the value that was published.

License: MIT
Signed-off-by: Rob Deutsch <rdeutschob@gmail.com>
2018-09-22 09:49:40 +10:00
Overbool
7d7bca0375 feat(daemon): print version
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-09-21 14:44:08 +08:00
Overbool
d656ade823 test(add): add test for issue \#5456
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-09-20 07:54:39 +08:00
keks
480184fafa document TEST_IMMEDIATE in test/sharness/README.md
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-09-19 14:35:54 -07:00
Steven Allen
08cc8552e2 fix broken gc test
`ipfs refs` won't work because we don't have the referenced objects (ipfs refs
fetches everything it prints).

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-19 14:35:54 -07:00
keks
908ffddc1b big squash commit
excerpt of commit messages:
- update postrun functions in core/commands
- sharness: allow setting -i with TEST_IMMEDIATE=1
- cmds Run func returns error now
- gx update cmdkit to 1.1.2 and cmds to 2.0.0-beta1

License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-09-19 14:35:54 -07:00
Steven Allen
370bd22372
Merge pull request #5484 from ipfs/fix/resolve-hamt
resolve: use unixfs ResolveOnce
2018-09-19 18:41:44 +00:00
Kejie Zhang
9a53494440 update test about publish offline mode
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-09-18 14:04:56 +08:00
Overbool
7cda005a5f test(diff): separate diff test cases
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-09-18 08:56:01 +08:00
Łukasz Magiera
ec96a21db3 resolve: use unixfs ResolveOnce
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-18 01:08:04 +02:00
Overbool
5b0a94895f fix(object): add Diff() comment and test case
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-09-17 22:34:54 +08:00
Steven Allen
041e771dbd
Merge pull request #5449 from kjzz/fix/chunker
add rabin min error test
2018-09-14 01:32:36 +00:00
Steven Allen
984ae1f406 fix expected error code for add-and-cat test
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-13 17:53:24 -07:00
Steven Allen
2de616300b
Merge pull request #4929 from ipfs/misc/cleanup-p2p
Refactor `ipfs p2p`
2018-09-13 23:57:43 +00:00
Steven Allen
72133283fb
Merge pull request #5399 from kjzz/zkj/feat
add --name new flag when ipfs adding from stdin
2018-09-13 21:44:41 +00:00
Steven Allen
18781fb2e7 fix sharness test_expect_code location in add-and-cat
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-13 14:40:38 -07:00
Steven Allen
ce236abf81
Merge pull request #5440 from ipfs/feat/ungodep
remove Godeps
2018-09-13 21:13:57 +00:00