Commit Graph

11097 Commits

Author SHA1 Message Date
Jeromy
ffc59fff1b add blowfish code and refactor pipes and duplex a little 2014-11-01 16:07:56 -07:00
Jeromy
01c0c6e169 implement signed pipe and add blowfish cipher to supported suites 2014-11-01 16:07:56 -07:00
Jeromy
3994762ca6 fix bug 2014-11-01 16:07:56 -07:00
Jeromy
317ca2f865 benchmark secure channel 2014-11-01 16:07:56 -07:00
Christian Couder
630816c7ee Speed up checking if mount works
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-11-01 15:29:27 +01:00
Christian Couder
4e2763a40a Refactor mount related tests
This adds test_launch_ipfs_mount() and test_kill_ipfs_mount()
to avoid duplicating tests to launch "ipfs mount" and to
kill it.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-11-01 10:52:09 +01:00
Christian Couder
e3da26d116 Add test script for add and cat commands
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-10-31 22:19:19 +01:00
Christian Couder
223d5c3001 Add trash directories into test/.gitignore
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-10-31 21:44:07 +01:00
Christian Couder
b6a98c10b3 Add test for ipfs mount
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-10-31 21:25:35 +01:00
Jeromy
c7ef55a450 move OSX specific calls to build tagged files 2014-10-31 19:46:42 +00:00
Juan Batiz-Benet
ca1bf26744 check osxfuse version. Fixes #202. 2014-10-31 10:10:12 -07:00
Jeromy
b02dbc4a6b Add testutil package and function to generate a dagservice 2014-10-31 06:02:52 +00:00
Jeromy
e9779b1c7f address comments from PR 2014-10-31 05:57:47 +00:00
Jeromy
ae339a0320 remove dagwriter in favor of new importer function 2014-10-31 05:03:42 +00:00
Juan Batiz-Benet
01a583ea7f Merge pull request #241 from jbenet/fix/log-debugf
fix(everything) log.Debug -> log.Debugf
2014-10-30 17:09:26 -07:00
Jeromy
3270ab0efb fix bug where terminal would randomly become garbled binary crap 2014-10-30 16:34:52 +00:00
Brian Tiger Chow
cea398b8a7 fix(all) log.Debug -> log.Debugf 2014-10-30 06:35:29 -07:00
Juan Batiz-Benet
b5fc3caea3 cmd/add: output file hash Fixed #239 2014-10-30 06:15:23 -07:00
Juan Batiz-Benet
70e1f9b6bc make vendor
cc @whyrusleeping
2014-10-30 05:43:14 -07:00
Juan Batiz-Benet
334cc4b7a1 Merge pull request #240 from jbenet/perf/no-snappy-compression
perf(core/datastore) disable snappy compression
2014-10-30 05:10:11 -07:00
Juan Batiz-Benet
3430a4d80a remove comment 2014-10-30 05:08:03 -07:00
Juan Batiz-Benet
f62cedf4d7 rm comments 2014-10-30 05:07:07 -07:00
Brian Tiger Chow
ff490a6d52 perf(core/datastore) disable snappy compression 2014-10-30 04:58:25 -07:00
Juan Batiz-Benet
461e5a3c2c Merge pull request #237 from jbenet/dont-write-twice
blockservice: dont write blocks twice
2014-10-30 04:44:18 -07:00
Juan Batiz-Benet
483ccf9f5f better test exercises saved buf 2014-10-30 04:33:13 -07:00
Juan Batiz-Benet
adec8dac12 util: cleaner ByteChanReader.Read 2014-10-30 04:14:37 -07:00
Juan Batiz-Benet
cb22b62a9b util: remove broken rand 2014-10-30 04:14:05 -07:00
Juan Batiz-Benet
37ce1863c0 test splitting is deterministic. (it is) 2014-10-30 02:49:42 -07:00
Juan Batiz-Benet
13f00abc27 blockservice: signal add optimization 2014-10-30 02:01:27 -07:00
Juan Batiz-Benet
04eba28a16 blockservice: dont write blocks twice
If the datastore has a value for the key, we already have
the block. We should not write it again. This will make redundant
writes much faster.

At the moment, a datastore.Has on leveldb is a GetBackedHas.
Track https://github.com/jbenet/go-datastore/issues/6
2014-10-30 01:54:53 -07:00
Juan Batiz-Benet
f0d823c2db fix tests (circular import) 2014-10-30 01:17:26 -07:00
Jeromy
71ac117546 Address concerns in PR 2014-10-30 06:23:31 +00:00
Jeromy
18ada93ec3 rewrite add command to use dagwriter, moved a pinner into the dagwriter for inline pinning 2014-10-30 04:40:48 +00:00
Juan Batiz-Benet
a29b9d3353 Merge pull request #235 from jbenet/feat/mprof-in-cli-ipfs1-debug
perf(cmd/ipfs) write mprof file in debug mode
2014-10-29 18:27:42 -07:00
Brian Tiger Chow
7510ef2081 feat(cmd/ipfs1) add mem profiling in debug mode
TODO add memory profiling to ipfs2
2014-10-29 18:24:32 -07:00
Brian Tiger Chow
1e847059bc style(cmd/ipfs/pprof) move defer close to initialization 2014-10-29 18:24:32 -07:00
Brian Tiger Chow
79866d3378 hotfix(core) assign node.Resolver = path.Resolver
discovered by @mappum and applied at 414e20b71e

fixing here to address #233

https://github.com/jbenet/go-ipfs/issues/233
2014-10-29 06:58:35 -07:00
Juan Batiz-Benet
3a0bbe2aa8 Merge pull request #224 from jbenet/issue-209-plus
refactor(blockservice, merkledag, namesys) deprecate u.ErrNotFound
2014-10-28 16:11:52 -07:00
Brian Tiger Chow
9a9dc926b5 fix(merkledag) return static error 2014-10-28 16:10:17 -07:00
Brian Tiger Chow
edbaa3f664 fix(namesys) use the error that already exists 2014-10-28 15:41:49 -07:00
Brian Tiger Chow
0bfadea036 fix(namesys, merkledag) use static error 2014-10-28 15:40:26 -07:00
Brian Tiger Chow
c534daef86 refactor(namesys) use one-off error 2014-10-28 15:27:00 -07:00
Brian Tiger Chow
04e270a91e refactor(merkledag) use one-off error 2014-10-28 15:27:00 -07:00
Brian Tiger Chow
1f9541d29b refactor(blockservice) export blockservice.ErrNotFound 2014-10-28 15:27:00 -07:00
Juan Batiz-Benet
cee1e9ccda Merge pull request #223 from jbenet/issue-209
refactor(routing) replace u.ErrNotFound with routing.ErrNotFound
2014-10-28 15:25:49 -07:00
Juan Batiz-Benet
cb3a8bfc96 Merge pull request #216 from jbenet/fix/bsmsg-duplicates
fix(bitswap/message) duplicate entries
2014-10-28 15:21:38 -07:00
Brian Tiger Chow
e0f4000fcf style(routing) message 2014-10-28 05:12:54 -07:00
Brian Tiger Chow
321eb421e7 refactor(routing) use routing.ErrNotFound 2014-10-28 02:17:46 -07:00
Brian Tiger Chow
f75f4a4b6d feat(routing) define routing.ErrNotFound 2014-10-28 01:06:28 -07:00
Brian Tiger Chow
42dfc50250 docs(bitswap/message) BitSwapMessage interface 2014-10-27 22:43:54 -07:00