1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-06 19:44:01 +08:00

146 Commits

Author SHA1 Message Date
faf5230e69 coreapi unixfs: Return seeker from get
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-22 23:38:47 +02:00
34b1313d82 coreapi unixfs: remove Cat, use sessions
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-22 23:37:45 +02:00
16e6343abe Merge remote-tracking branch 'origin/master' into feat/namestream
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-18 12:26:20 +02:00
59e5a9c652 gx: update to use extracted go-ipfs-files
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-18 10:16:31 +02:00
e335fd32f2 namesys: drop prefix args
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-16 16:35:31 +02:00
7dbeb27e5b namesys: review fixes
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-16 16:09:55 +02:00
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
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
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
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
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
18d5999ebc coreapi pubsub: fix review nits
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-05 11:51:36 -07:00
d6aa9527f2 pubsub cmd: switch to coreapi
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-05 11:51:36 -07:00
d3f3afa5de coreapi pubsub: add tests
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-05 11:49:36 -07:00
51bb9d6843 coreapi: implement pubsub api
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-05 11:49:36 -07:00
3d3bedcf41 coreapi: pubsub interface
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-05 11:49:36 -07:00
676403be19 Merge remote-tracking branch 'origin/master' into feat/coreapi/unixfs
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-05 11:45:37 +02:00
35e8d6fba1 update unixfs inline option comment to give us room to change things
(addressing CR)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-04 21:12:53 -07:00
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
2e975add22 gx update go-libp2p-peerstore
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-04 20:04:22 -04:00
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
e8b137f885 coreapi name: add some missing options
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-04 22:11:17 +02:00
4b1f733864 coreapi unixfs: fix inline doc
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-04 20:39:43 +02:00
d51ce96f55 coreapi unixfs: filestore opts
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-04 01:24:57 +02:00
a81ec29baa coreapi unixfs: progress events
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-04 01:00:26 +02:00
f9cf84965d coreapi unixfs: stdin-name option
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 23:17:18 +02:00
3e754d64fb coreapi unixfs: hidden opiton
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 22:49:42 +02:00
18fec6eb5f coreapi unixfs: wrap option
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 22:30:45 +02:00
8dda69575a coreapi unixfs: unixfs.Get
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 17:24:15 +02:00
e6bc923425 coreapi unixfs: multi file support in unixfs coreapi
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 15:15:28 +02:00
374fb00cc3 coreapi unixfs: separate option to enable inlining
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
9887a05e43 coreapi unixfs: docs on options
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
679d60993d coreapi unixfs: cleanup options
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
49946c69c4 coreapi unixfs: pin/local/hash-only options
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
6337e69ff7 coreapi unixfs: layout/chunker options
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
041e55d706 coreapi unixfs: options for RawLeaves / Inline
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
c68ab5620a coreapi unixfs: cid prefix options
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
795d1ea540 coreapi unixfs: use fileAdder directly
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-03 14:08:15 +02:00
4f9bde807b Merge pull request #4803 from ipfs/feat/coreapi/swarm
coreapi: Swarm API
2018-10-02 16:25:45 -07:00
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
b2f6c3e3ed coreapi swarm: missing docs, review
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-02 12:31:50 +02:00
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
df9f101892 coreapi swarm: rewire connect/disconnect
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-26 22:13:17 +02:00
30d42f4550 swarm cmd: port to new cmd lib
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-26 22:09:14 +02:00
e7f493b569 fix infinite loop in connInfo.ID
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-26 22:01:28 +02:00
8358c8d041 coreapi: implement swarm api
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-26 22:01:28 +02:00
1373218519 coreapi: swarm interface
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-26 22:01:28 +02:00
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
91833e288f gx: update go-libp2p-routing
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-24 14:03:57 +02:00
0fd87de1a4 coreapi name: accept namesys options
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-19 11:51:42 +02:00