Commit Graph

3662 Commits

Author SHA1 Message Date
Henry
bc84ffafe3 enable stdin input for ipfs object put 2015-03-07 16:50:00 +01:00
Juan Batiz-Benet
5db973a210 Merge pull request #879 from anarcat/patch-1
document how to change daemon ports
2015-03-07 05:49:10 -08:00
anarcat
5cdd8b5d61 expand the ports documentation
i took @jbenet's suggestion, but reorganised it a bit to *not* suggest what is actually warned against later. :)
2015-03-07 08:42:30 -05:00
Juan Batiz-Benet
006df7db0d Merge pull request #880 from anarcat/patch-2
explain what direct/indirect/recursive means
2015-03-07 05:37:49 -08:00
anarcat
6a3578be84 explain what direct/indirect/recursive means
i couldn't understand what those meant. it was explain (at least partly) in #590 so let's share the goods!
2015-03-07 08:32:48 -05:00
anarcat
fb8a1ab161 document how to change daemon ports
this more clearly explains that the daemon is listening on the network. it also hints as to how to change the listening ports. this is also related to #874
2015-03-07 08:24:59 -05:00
Juan Batiz-Benet
b65a3cf85b Merge pull request #877 from jbenet/race-fix
query: fixed race condition
2015-03-07 04:19:24 -08:00
Juan Batiz-Benet
c2bbca0596 query: fix race condition: redux
this time just move to goprocess
2015-03-07 04:08:26 -08:00
Juan Batiz-Benet
7a03d677ff query: fixed race condition 2015-03-07 02:44:20 -08:00
Juan Batiz-Benet
f0a15b9e20 Merge pull request #876 from wagdav/patch-1
Correct link to paper
2015-03-07 01:29:53 -08:00
David Wagner
f117e8ae9b Correct link to paper 2015-03-07 10:26:07 +01:00
Juan Batiz-Benet
d0e69a04b1 Merge pull request #865 from jbenet/ipns/refactor-unixfs
Ipns/refactor unixfs
2015-03-06 22:34:37 -08:00
Jeromy
0e9772c57e refactoring unixfs node and importer/helpers to match 2015-03-06 22:12:03 -08:00
Juan Batiz-Benet
f17521b76f Merge pull request #864 from jbenet/fix/fuse-read
take offset into account for computing read size
2015-03-06 16:36:21 -08:00
Jeromy
da47c218b7 take offset into account for computing read size 2015-03-06 11:07:09 -08:00
Juan Batiz-Benet
4e7140dd0f Merge pull request #857 from tonistiigi/nofuse-fix
Fix nofuse build tags syntax
2015-03-05 21:02:26 -08:00
Juan Batiz-Benet
6374d5f3c7 Merge pull request #860 from jbenet/fix/hasblock-explosion
implement a worker to consolidate HasBlock provide calls into one
2015-03-05 20:21:44 -08:00
Jeromy
34961a5aef toprovide -> toProvide 2015-03-05 16:37:40 -08:00
Jeromy
bfee4894b4 simplify provideCollector 2015-03-05 16:27:47 -08:00
Jeromy
8937f5fbda implement a worker to consolidate HasBlock provide calls into one to alieviate memory pressure 2015-03-05 15:18:57 -08:00
Tonis Tiigi
0f69823077 Add nofuse build tag to darwin mounter 2015-03-05 18:00:45 +02:00
Tonis Tiigi
91ab1401ab Fix nofuse build tags syntax 2015-03-05 18:00:36 +02:00
Juan Batiz-Benet
4b7493e9fd Merge pull request #853 from jbenet/noFuse
simple nofuse build tag
2015-03-04 17:24:43 -08:00
Henry
40e0a5a886 added nofuse make target 2015-03-05 01:24:17 +01:00
Henry
e55aaf3f83 nofuse: better help description for 'ipfs mount' 2015-03-05 01:24:17 +01:00
Henry
293234ae63 InitializeKeyspace doesnt care about fuse 2015-03-05 01:24:17 +01:00
Henry
66f1035d93 simple nofuse build tag to allow freebsd compilation and maybe pave the way towards windows as well 2015-03-05 01:24:17 +01:00
Juan Batiz-Benet
2d16d252ea Merge pull request #848 from techfreek/master
peer short tags are improved
2015-03-04 16:02:46 -08:00
Juan Batiz-Benet
014f0108d3 Merge pull request #852 from jbenet/t0110_cleanup
t0110: cleanup using expr
2015-03-04 12:16:19 -08:00
Christian Couder
b01e535115 t0110: cleanup using expr
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-03-04 21:02:32 +01:00
Juan Batiz-Benet
32dd4dbfa9 Merge pull request #844 from jbenet/tests-fix
fix the tests
2015-03-04 08:39:26 -08:00
Juan Batiz-Benet
4dd2e8fde9 fixed dht kbucket race
closes #836
2015-03-04 08:28:55 -08:00
Juan Batiz-Benet
04a3a66c6c sharness/testlib: seed RANDOM
this is ugly. ideally would seed using date, but unclear
what a portable datetime is. date '+%s' doesnt work on osx.
2015-03-04 08:17:55 -08:00
Juan Batiz-Benet
25f042ce36 daemon: consolidate writable gway line 2015-03-04 08:17:54 -08:00
Juan Batiz-Benet
0510633a17 tests/sharness: t0111-gateway-writable
ideally this port would be a randomly picked unused port.
for now we just pick a different port than t0110-gateway.
2015-03-04 08:17:54 -08:00
Juan Batiz-Benet
2a40d7679e test/sharness: randomize api port workaround
we have a problem where initializing daemons with the same api port
often fails-- it hangs indefinitely. The proper solution is to make
ipfs pick an unused port for the api on startup, and then use that.
Unfortunately, ipfs doesnt yet know how to do this-- the api port
must be specified. Until ipfs learns how to do this, we must use
specific port numbers, which may still fail but less frequently
if we at least use different ones.
2015-03-04 07:34:05 -08:00
Juan Batiz-Benet
999471d9bf test/sharness/t004-add-cat: quote hashes 2015-03-04 07:34:05 -08:00
Juan Batiz-Benet
38425b1a06 fuse: fix read problem in osx
@whyrusleeping's fix in c88340b broke reading fuse in osx.
i'm not sure why... anyway, i chose to revert back to
io.ReadFull, but use the min of req.Size and r.Size(), which
should not encounter the reading problem in linux that a77ea2f
fixed in the first place.

This commit also changes ipns, which had not been changed.
2015-03-04 07:34:05 -08:00
Juan Batiz-Benet
f77dbe0a57 fuse/ipns: implement NodeReadlinker 2015-03-04 07:34:04 -08:00
Juan Batiz-Benet
9d167cd5e8 testfix: dont break 8k goroutine limit under race 2015-03-04 07:34:04 -08:00
Juan Batiz-Benet
0adde5cfa7 Merge pull request #851 from jbenet/test/pollDaemon
Test/poll daemon
2015-03-04 07:33:20 -08:00
Henry
14090d4a11 moved pollEndpoint to thirdparty/ 2015-03-04 16:25:41 +01:00
Henry
3f932af14d removed crazy logging 2015-03-04 16:18:41 +01:00
Henry
aa745fef07 specify new dep in sharenss Makefile 2015-03-04 15:06:26 +01:00
Henry
0204a0c174 cat log output on fail 2015-03-04 14:53:30 +01:00
Henry
56a32a306c using pollEndpoint to block in tests for 'daemon ready' (updates #844) 2015-03-04 14:50:17 +01:00
Alex
da80f22bfe Implemented @jbenet's suggestion to avoid panics if peerID is of length 0. 2015-03-03 09:20:23 -08:00
Alex
bd510e2a91 Merge branch 'master' of http://github.com/techfreek/go-ipfs 2015-03-02 23:55:22 -08:00
Alex
ee449cb884 Fixed #780 2015-03-02 23:53:30 -08:00
Juan Batiz-Benet
51a8bcbf64 Merge pull request #847 from jbenet/publish-webui
published new webui
2015-03-02 23:38:30 -08:00