Commit Graph

11097 Commits

Author SHA1 Message Date
Jeromy
a0aa07e39f rename root to last 2015-05-29 13:33:45 -07:00
Juan Batiz-Benet
97d75891b0 Merge pull request #1297 from ipfs/sharness/daemon
sharness/t0060-daemon: don't reuse expect/actual names
2015-05-29 12:54:58 -07:00
Juan Batiz-Benet
787bacfe0d Merge pull request #1300 from ipfs/maint/mdns
mdns: use my fork of hashicorp/mdns
2015-05-29 12:34:00 -07:00
Henry
37b32a6587 sharness/daemon: improve error detection 2015-05-29 14:20:07 +02:00
Henry
13a7d27b4c mdns: use my fork of hashicorp/mdns
upstream didn't respond to the request to update their dependencies
2015-05-29 01:30:44 +02:00
Henry
dba455a59d sharness/t0060-daemon: don't reuse expect/actual names 2015-05-28 18:01:50 +02:00
Jeromy
38479ff1d3 docs 2015-05-28 08:52:20 -07:00
Jeromy
b660f937bd make callback take a node instead of a key 2015-05-28 08:52:20 -07:00
Jeromy
dd928a2b1d change pinning to happen in a callback 2015-05-28 08:52:20 -07:00
Jeromy
270b47702e catch other error that means the file is locked 2015-05-26 17:19:53 -07:00
rht
3547f7ae33 Replace 'var * bytes.Buffer' with '\1 := new(bytes.Buffer)' 2015-05-26 23:18:04 +07:00
Jeromy Johnson
b3e73c62fe Merge pull request #1292 from diasdavid/patch-1
Change one of the "ipfs" to "ipns"
2015-05-26 08:03:06 -07:00
rht
8cad2d2c89 Move 'tour' to core/commands
Side effect: this makes 'tour' accessible through the HTTP API
2015-05-26 21:04:03 +07:00
David Dias
b2e45da0cc Change one of the "ipfs" to "ipns" 2015-05-26 13:07:54 +01:00
Juan Batiz-Benet
4e71ce3cc7 Merge pull request #1272 from Luzifer/fix/dnslink
Fix: dnslink domain resolving was broken; Add: no caching for those
2015-05-24 18:47:54 +02:00
Juan Batiz-Benet
dacdeb1081 Merge pull request #1285 from ipfs/t0040-stdin-add-tests
t0040: test ipfs add with stdin
2015-05-24 18:24:47 +02:00
Christian Couder
ee3092f882 t0040: test ipfs add with stdin
Let's test 'ipfs add' with stdin input too.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-05-23 21:02:24 +02:00
Juan Batiz-Benet
0d1072a80b Merge pull request #1281 from ipfs/fix/bs-race
fix minor data race in bitswap
2015-05-22 23:30:35 +02:00
Juan Batiz-Benet
c8cb8d9c39 Merge pull request #1278 from ipfs/fix/bs-cmd-offline
make bitswap commands error out properly offline
2015-05-22 22:54:51 +02:00
Jeromy
a3356b0417 fix minor data race in bitswap 2015-05-22 13:39:03 -07:00
Juan Batiz-Benet
10c362823e Merge pull request #1282 from travisperson/bug/panic-on-empty-path
Bug/panic on empty path
2015-05-22 22:29:14 +02:00
Travis Person
2c71c54823 Named error for no components
Update the previous `invalid path` error to match the error returned
from `SplitAbsPath`.
2015-05-22 09:18:49 -07:00
Travis Person
d96246c622 Fixed tests to actually test for the error we are seeking
Cleaned the tests, and actually test for the error.
2015-05-22 08:56:33 -07:00
Travis Person
dcc4da0b37 Replaced old logic to check for valid path
Added the original logic to check for a invalid path and a simple test.
2015-05-22 08:56:33 -07:00
Travis Person
42289d4f21 Daemon panics if no path is given
If no path after `/ipfs/` or `/ipns/` is given, then the daemon will
panic with a slice bounds out of range error. This checks to see if we
have anything after `ipfs` or `ipns`.
2015-05-22 08:56:33 -07:00
Juan Batiz-Benet
988b158dc7 Merge pull request #1276 from ipfs/debug/perm-fail
trying to debug permissions failure
2015-05-22 12:02:07 +02:00
Jeromy
648526d8f0 make bitswap commands error out properly offline 2015-05-21 22:41:44 -07:00
Jeromy
eff73ccce7 error -> notice, bitswap 2015-05-21 21:24:42 -07:00
Jeromy
cc905539ae trying to debug permissions failure 2015-05-21 17:24:38 -07:00
Jeromy Johnson
8b94abd199 Merge pull request #1275 from ipfs/fix/resolution
fix offline full path resolution bug
2015-05-21 15:19:05 -07:00
Jeromy
60ac59139c fix offline full path resolution bug 2015-05-21 14:45:30 -07:00
Juan Batiz-Benet
5853eac344 Merge pull request #1218 from ipfs/refactor/bitswap
large refactor of bitswap, implement wantmanager to manage wantlist
2015-05-21 15:47:14 -04:00
Jeromy
ce0d2f46d6 defer tock.Stop() 2015-05-21 03:08:32 -04:00
Jeromy
2f934e8c58 warning -> notice 2015-05-21 03:08:32 -04:00
Jeromy
b71a0aced0 clarify synhronization constructs 2015-05-21 03:08:32 -04:00
Jeromy
c273a3bd4f better bitswap logging 2015-05-21 03:08:32 -04:00
Jeromy
2882c793e2 add a distribution test with the rebroadcast delay disabled 2015-05-21 03:08:32 -04:00
Juan Batiz-Benet
2eac921e1d fixup the bitswap readme 2015-05-21 03:08:32 -04:00
Jeromy
829b88420e explicitly set bitswap message fullness 2015-05-21 03:08:31 -04:00
Jeromy
594c7786c3 turn rebroadcast back on 2015-05-21 03:08:31 -04:00
Jeromy
6ab4bfea95 turn tests down a bit and better context passing 2015-05-21 03:08:31 -04:00
Jeromy
65f815a27b move taskdone inside lock boundaries 2015-05-21 03:08:31 -04:00
Jeromy
32da687774 fix race bugs 2015-05-21 03:08:31 -04:00
Jeromy
6bf33ad62f WIP: super awesome bitswap cleanup fixtime 2015-05-21 03:08:31 -04:00
Jeromy
ef967ceeef contextify peermanager 2015-05-21 03:08:31 -04:00
Jeromy
8443b99c1d update comments and reintroduce test 2015-05-21 03:08:31 -04:00
Jeromy
a159e6825c implement peermanager to control outgoing messages
Also more refactoring of bitswap in general, including some perf
improvements and eventlog removal.

clean up, and buffer channels

move some things around

correctly buffer work messages

more cleanup, and improve test perf

remove unneccessary test

revert changes to bitswap message, they werent necessary
2015-05-21 03:08:30 -04:00
Juan Batiz-Benet
f0276dc39d Merge pull request #1271 from ipfs/fix/shutdown-err
silence error log on shutdown
2015-05-21 02:53:32 -04:00
Knut Ahlers
8df8737f6a removed requirement of path package 2015-05-21 08:51:18 +02:00
Knut Ahlers
373260d373 Fix: dnslink domain resolving was broken; Add: no caching for those
fixes #1234
fixes #1267
2015-05-21 08:44:17 +02:00