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
Brian Tiger Chow
edf99f5e20
fix(bitswap) preserve ordering in bitswap message
2014-10-27 22:43:54 -07:00
Brian Tiger Chow
91a31a3e7d
test(bitswap/message) no duplicates
2014-10-27 21:58:21 -07:00
Brian Tiger Chow
cebeff43b9
style(bitswap/message) rename method -> AddBlock
...
to emphasize idempotence
2014-10-27 21:58:21 -07:00
Brian Tiger Chow
caedb64697
fix(bitswap/message) impl with map to ensure no duplicate blocks
...
comes at the cost of O(n) Blocks() method.
2014-10-27 21:58:21 -07:00
Brian Tiger Chow
2c4fefb9d6
style(bitswap/message) rename struct
...
so there's one less name to think about
2014-10-27 21:58:20 -07:00
Brian Tiger Chow
f94d6a37b6
refactor(bitswap/message) use map to prevent duplicate entries
...
A nice invariant for bitswap sessions:
Senders and receivers can trust that messages do not contain
duplicate blocks or duplicate keys. Backing the message with a
map enforces this invariant.
This comes at the cost of O(n) getters.
2014-10-27 21:58:20 -07:00
Brian Tiger Chow
842b910853
style(bitswap/message) rename AppendWanted -> AddWanted
...
implementation will be patched to ensure bitswap messages cannot contain
duplicate blocks or keys
2014-10-27 21:58:20 -07:00
Brian Tiger Chow
8193049dda
fix(bitswap) duplicate key in wantlist
...
@whyrusleeping noticed this a couple days ago
potential long-term fix: prevent duplicate entries in the wantlist by
using a map/set and iterating over this data structure on export
2014-10-27 21:58:20 -07:00
Brian Tiger Chow
e8ec8ce9bb
Merge pull request #219 from jbenet/revert-218-fix/2014-10-29-mux-rwmutex
...
Revert "perf(mux) use RWMutex"
2014-10-27 21:13:19 -07:00
Brian Tiger Chow
3323952401
Revert "perf(mux) use RWMutex"
2014-10-27 21:12:03 -07:00
Juan Batiz-Benet
77b6361c82
Merge pull request #218 from jbenet/fix/2014-10-29-mux-rwmutex
...
perf(mux) use RWMutex
2014-10-27 20:44:06 -07:00
Brian Tiger Chow
ed0556b919
perf(mux) use RWMutex
2014-10-27 20:36:45 -07:00
Juan Batiz-Benet
0197fe6046
Merge pull request #213 from jbenet/tour
...
ipfs tour
2014-10-27 11:46:58 -07:00
Juan Batiz-Benet
0ee4b3ec77
tour list: left justify
2014-10-26 10:03:38 -07:00
Juan Batiz-Benet
6f7bab389e
tour: command
2014-10-26 08:32:08 -07:00
Juan Batiz-Benet
b4ea414c4c
Merge pull request #211 from chriscool/improve_tests
...
Improve tests
2014-10-26 05:10:18 -07:00
Christian Couder
8357c7b13d
Add test script for ipfs init
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-10-26 10:10:22 +01:00
Christian Couder
07bd18b53d
Display which Makefile target is launched
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-10-26 10:10:22 +01:00
Juan Batiz-Benet
54c2a14c10
nocolor log fmt
2014-10-26 01:44:11 -07:00
Juan Batiz-Benet
ef6d735019
updates: dont count dev versions as older
...
- if equinox says there is a new update, but the version number IS NOT
larger, we interpret that as no update (you may have gotten a newer
version by building it yourself).
- Also export ErrNoUpdateAvailable so clients don't also need to
import the equinox library to check the error.
cc @cryptix comments?
2014-10-26 01:38:44 -07:00
Juan Batiz-Benet
be1c10f30f
Merge pull request #208 from jbenet/ctxcloserify
...
ContextCloserify
2014-10-25 21:38:20 -07:00
Juan Batiz-Benet
d79ebe68d2
dht ctxcloserify
2014-10-25 21:33:59 -07:00
Juan Batiz-Benet
4584bc8d18
clean up core initialization
...
- less floating variables
2014-10-25 21:33:59 -07:00
Juan Batiz-Benet
8cf22c062f
core is now ctxcloser
2014-10-25 21:33:10 -07:00
Juan Batiz-Benet
90b989a718
AddCloserChild + net ctxcloser
2014-10-25 21:33:10 -07:00
Juan Batiz-Benet
f2b8803a57
net/service now uses ctxcloser
2014-10-25 21:33:10 -07:00
Juan Batiz-Benet
93497c2d00
muxer now uses ctxCloser
2014-10-25 21:33:10 -07:00
Juan Batiz-Benet
08edaf87fb
Merge pull request #191 from ehmry/dagservice-interface
...
convert DAGService to an interface
2014-10-25 21:16:09 -07:00
Emery Hemingway
056699cebe
convert DAGService to an interface
2014-10-25 22:15:19 -04:00
Juan Batiz-Benet
39316a210f
Merge pull request #210 from jbenet/whydev
...
Fix logs + msgio error
2014-10-25 18:37:59 -07:00
Jeromy
d92db12460
lots of logging
2014-10-26 00:45:40 +00:00
Jeromy
ab7491f809
logging, logging, and some minor logging
2014-10-25 14:50:22 -07:00