Commit Graph

11097 Commits

Author SHA1 Message Date
Juan Batiz-Benet
56b14d8e9e Merge pull request #676 from jbenet/dial-events
p2p/net: dial log -> events
2015-01-28 02:25:56 -08:00
Juan Batiz-Benet
eb79770683 p2p/net: cleaned up dial events
+ fixed race
2015-01-28 02:15:32 -08:00
Juan Batiz-Benet
03e5a3ebb0 Merge pull request #683 from jbenet/fix-sharness-daemon-fuse
Allow sharness to run daemon without FUSE
2015-01-28 01:46:58 -08:00
Juan Batiz-Benet
cbe07776e3 test/sharness: make sure to output vars in quotes
cc @whyrusleeping: you werent doing so
cc @mappum: you were trying to escape them, but
   were un-escaping them in cases with longer quotes.
2015-01-28 01:04:06 -08:00
Juan Batiz-Benet
ed16840414 test/sharness: "echo -n" bug
In OSX, the `echo -n` was _somehow_ printing "-n" out... not
really sure why, as the bsd `echo` program supports -n. I changed
this to printf -- which is safer.
2015-01-28 00:53:41 -08:00
Juan Batiz-Benet
72f703642a test/sharness: style fix
Let's use `>file`, not `> file`, as it makes it easier to parse.
2015-01-28 00:49:50 -08:00
Juan Batiz-Benet
c283c0a690 test/sharness: allow testing of daemon without FUSE
This commit allows sharness tests to run daemon tests when the FUSE
option is off. Unsure why this was previously included.
2015-01-28 00:36:30 -08:00
Juan Batiz-Benet
80089dade4 Merge pull request #680 from chriscool/fix_daemon_output
Fix daemon initialization output change
2015-01-28 00:35:51 -08:00
Juan Batiz-Benet
b4af146fc8 p2p/net: better dial log.Event 2015-01-28 00:13:42 -08:00
Brian Tiger Chow
bbce860bd0 remove debug log output 2015-01-27 17:15:56 -08:00
Brian Tiger Chow
bbcc259eaf fix(sharness): Initializing daemon... output 2015-01-27 17:04:38 -08:00
Brian Tiger Chow
9ff4dae264 gateway server
initialize if not already initialized

remove gateway fs

add gateway server
2015-01-27 16:24:36 -08:00
Brian Tiger Chow
961e3ced43 feat(coreunix): AddR for recursive Adds 2015-01-27 16:24:36 -08:00
Brian Tiger Chow
a58f3c3bfe remove message 2015-01-27 16:24:36 -08:00
Brian Tiger Chow
1ea9481a63 move config.Init into config package 2015-01-27 16:23:58 -08:00
Christian Couder
cf20552af8 Fix daemon initialization output change
Since commit 76d9d89aff, there is
"Initializing daemon..." printed on the standard output when
the daemon is started.

This means that tests have to be fixed accordingly.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-01-27 23:26:49 +01:00
Jeromy
b456d476a3 updates from CR 2015-01-27 17:28:02 +00:00
Brian Tiger Chow
577baaf621 feat(routing.grandcentral): skeleton
fixes breakages:
  - peer.Peer -> peer.ID
  - peer.X -> peer.PeerInfo
  - netmsg -> p2p streams
2015-01-27 02:32:06 -08:00
Juan Batiz-Benet
9dac5bb7d3 p2p/net: dial log -> events
This commit turns all dial logs into log.Events.

Everything's great except for one problem:
The LoggableMap I'm using does not print out things
correctly. I gave it peer.IDs, and Multiaddrs
and both got logged as nothing `{}` (didn't even call
their String() methods!) So, for now, this function
encodes it when called... This is wrong and should be
fixed before being merged in. Otherwise we  will be
constantly encoding peer.IDs and Multiaddrs without
needing to.

@briantigerchow how do you suggest doing this?
I don't know my way around your Loggable.
2015-01-27 01:35:37 -08:00
Jeromy
c50d763727 add more help text for ipfs diag net 2015-01-27 09:05:06 +00:00
Jeromy Johnson
92c7f96780 Merge pull request #673 from jbenet/fix/seek
off by one error seeking to end of single block file
2015-01-26 23:49:23 -08:00
Jeromy
2eca66e6d2 off by one error seeking to end of single block file 2015-01-27 07:41:51 +00:00
Juan Batiz-Benet
b16adfeae8 Merge pull request #672 from jbenet/clear-addrs
AddrSplosion -- Partie Deux Avec Vengeance
2015-01-26 23:18:21 -08:00
Juan Batiz-Benet
71f2c4dee0 p2p/peer/peerstore: mu position + comment 2015-01-26 22:47:44 -08:00
Juan Batiz-Benet
d8a63be372 p2p/peer/addr: addrbook RLock fix 2015-01-26 22:01:26 -08:00
Jeromy Johnson
4940c3e0ae Merge pull request #655 from jbenet/feat/dagseek
Implement io.Seeker on unixio.DAGReader
2015-01-26 19:33:41 -08:00
Jeromy
e959626029 comment NodeGetter 2015-01-27 03:29:10 +00:00
Jeromy
6a6ede85d3 TODO -> Background 2015-01-27 03:27:26 +00:00
Juan Batiz-Benet
983822f335 p2p/peer: addresses expire after an hour 2015-01-26 19:23:42 -08:00
Juan Batiz-Benet
3118777a5e p2p/id: SET listen addrs, clearing old ones. 2015-01-26 19:23:42 -08:00
Juan Batiz-Benet
56d900fa10 p2p/peer: addressbook can now clear addrs 2015-01-26 19:23:42 -08:00
Juan Batiz-Benet
d87aacc83a Merge pull request #671 from jbenet/drop-logs
dropped down log.Errors
2015-01-26 19:23:00 -08:00
Juan Batiz-Benet
45e4352c9c dropped down log.Errors 2015-01-26 19:13:44 -08:00
Juan Batiz-Benet
1eb0bfe834 Merge pull request #668 from jbenet/hack
misc user-friendliness fixes
2015-01-26 19:00:09 -08:00
Juan Batiz-Benet
2b0c89a5c7 commands/diag: switch clarity 2015-01-26 18:50:16 -08:00
Jeromy
ba4ea139b9 address concerns from PR 2015-01-27 01:33:09 +00:00
Jeromy
0023cb3097 refactor and clean up dagreader 2015-01-27 01:33:09 +00:00
Jeromy
26826bd55e implement seeking in the dagreader 2015-01-27 01:33:09 +00:00
Juan Batiz-Benet
36d03306d7 Merge pull request #652 from jbenet/cli-changes
CLI changes
2015-01-26 17:24:54 -08:00
Matt Bell
d666155a0a core/commands: get: Clean output path 2015-01-26 17:07:30 -08:00
Matt Bell
5292617290 unixfs/tar: Rename p to gopath 2015-01-26 17:02:48 -08:00
Juan Batiz-Benet
76d9d89aff user friendliness in logs + output 2015-01-26 17:01:00 -08:00
Matt Bell
2c019b542e core/commands: Fixed net diag command not outputting in chosen format 2015-01-26 17:01:00 -08:00
Matt Bell
45ed27e273 test/sharness: get: Quote variables 2015-01-26 17:00:40 -08:00
Juan Batiz-Benet
ae5e244354 Merge pull request #648 from jbenet/nat-lite
NAT-Lite
2015-01-26 16:59:33 -08:00
Matt Bell
5a60b7b2e7 unixfs/tar: Use current date for file timestamps 2015-01-26 16:57:55 -08:00
Juan Batiz-Benet
d39feeb5a5 notifier: go todo 2015-01-26 16:45:43 -08:00
Juan Batiz-Benet
2c13280b5e p2p/host: doc options 2015-01-26 15:02:32 -08:00
Matt Bell
3799ad9023 core/commands: log tail: Return from goroutine when request context closes, resolves #659 2015-01-26 14:24:33 -08:00
Juan Batiz-Benet
158f5061e0 p2p: own addresses gotten from host 2015-01-26 14:00:00 -08:00