Commit Graph

119 Commits

Author SHA1 Message Date
C. Guy Yarvin
81d5e748f9 Merge branch 'newbreach' of github.com:urbit/urbit into newbreach
Conflicts:
	urb/zod/arvo/hoon.hoon
2014-05-20 10:36:10 -07:00
~hatteb-mitlyd
7881861296 sync palliative: check after block, not before 2014-05-13 16:34:09 -07:00
~hatteb-mitlyd
4daa9a6ed9 remove URBIT_HOME
New piers are structured as so:

cpu/.urb/{urbit.pill,chk,sis,get,put,code.~dansut-docfyn}
cpu/dansut-docfyn-dozzod-dozzod--dozzod-dozzod-dozzod-dozzod/{try,main,arvo}
2014-05-13 12:22:07 -07:00
~hatteb-mitlyd
43c3988995 add exit code to %logo card 2014-05-12 15:42:43 -07:00
~hatteb-mitlyd
a5e0972193 Merge branch 'master' into newbreach 2014-05-12 11:12:37 -07:00
~hatteb-mitlyd
a1a62f2d1a eviscerate u2_ho_cash 2014-05-12 10:51:53 -07:00
~hatteb-mitlyd
c51892324f convert nash to store value pointers 2014-05-12 10:51:52 -07:00
Steve Dee
66700aada4 Merge remote-tracking branch 'urbit/master' into newbreach
Conflicts:
	.gitignore
	Makefile
	urb/urbit.pill

Took both bpt and ed25519, and generated a new pill starting from master's.
2014-05-08 14:53:12 -07:00
~hatteb-mitlyd
65e621150f style 2014-05-07 11:36:48 -07:00
Steve Dee
3b7734336c Merge branch 'master' into newbreach
Conflicts:
	urb/urbit.pill
	urb/zod/arvo/ames.hoon
2014-04-25 18:39:29 -07:00
~hatteb-mitlyd
aacbe8f4da use a non-noun-based hashtable to jam 2014-04-23 19:55:53 -07:00
C. Guy Yarvin
29ca4f9fe2 Fix ames timer to actually work. 2014-04-23 10:02:36 -07:00
Steve Dee
322d448d0f Jetted en and ex
You'll note that ex involves more endianness twiddling. This is
unfortunate, but en is exactly as stupid as you'd hope it would be,
so I'm going to call it okay.

Also, fixed ex. In particular, (ex:aesc 0) now agrees with the C's
output. Our bad.
2014-04-18 14:58:51 -07:00
Steve Dee
a0e835ecd8 Merge branch 'master' into newbreach
Took master's pill.

Conflicts:
	Makefile
	urb/urbit.pill
2014-04-16 10:53:50 -07:00
C. Guy Yarvin
1317ac3c1e Clean up requests from dead connections. 2014-04-14 11:01:18 -07:00
Steve Dee
a5a3d0d85d Fix for 64-bit sequence numbers 2014-04-09 13:31:00 -07:00
Steve Dee
c9a4cf19cf 64-bit entry numbers 2014-04-08 09:25:49 -07:00
~hatteb-mitlyd
93d5722faa remove the old poll-based term stuff in favor of a uv_pipe 2014-04-03 14:47:22 -07:00
~hatteb-mitlyd
75dce9eefc make asserting malloc into a #define 2014-04-03 14:37:32 -07:00
~hatteb-mitlyd
a0c18f56b2 change to asserting malloc 2014-04-01 17:48:26 -07:00
Steve Dee
fd3c03fa73 Options cleanup
Remove sow, pas, and rez. Add comments with flags and short
descriptions. Also correctly bound ports.
2014-03-31 07:46:54 -07:00
Steve Dee
b7c6df667c Add flag to skip the last event
Handy when that event causes disastrous repercussions at the C level.
On the whole, terrible. Note that the flag is spelled "-Xwtf",
pronounced "pleaXe wipe that fscker".
2014-03-28 11:38:23 -07:00
Steven Dee
5c68bb4de6 fpurge stopped working on Arch at some point 2014-03-25 08:43:52 -07:00
~hatteb-mitlyd
d5c61a3038 use a uv_prepare callback to scan fs tree
Much more responsive file sync.
2014-03-24 11:31:03 -07:00
C. Guy Yarvin
c837404578 A bunch of web fixes. Preparing to proxy. 2014-03-21 14:46:14 -07:00
C. Guy Yarvin
55c9f41b14 Merge branch 'master' of github.com:urbit/urbit 2014-03-19 15:42:12 -07:00
C. Guy Yarvin
56a61c1c7f Add a pseudo-secure http server. 2014-03-19 15:40:40 -07:00
~hatteb-mitlyd
e7a75fed3c separate out needs-handshake from SSL-is-open status
no longer responds to "no request"
2014-03-18 17:29:52 -07:00
~hatteb-mitlyd
4370e1ecc0 closer, no longer loops infinitely 2014-03-18 17:29:51 -07:00
~hatteb-mitlyd
1abfee3d03 works a little better, but is shoving SSL data into the parser 2014-03-18 17:29:51 -07:00
~hatteb-mitlyd
65aba238a8 first-line work on SSLifying the HTTP client
doesn't work at all, because the encrypted buffer never gets written to the net
2014-03-18 17:29:51 -07:00
Steve Dee
bf3e5568da Comments on raft data structures 2014-03-14 11:02:46 -07:00
Steve Dee
ba71f7ca11 Trailing whitespace cleanup, C level 2014-03-14 10:50:12 -07:00
Steve Dee
f4f1c711d5 New event log format including term and type 2014-03-10 16:14:21 -07:00
Steve Dee
6a3a939c4a Fix for duplicate vote responses 2014-03-10 12:18:18 -07:00
Steve Dee
c5bb5bb5e7 Moronic key-value store
This is kind of dumb, but we need to persist stuff for Raft, and
we can't touch noun state from followers.
2014-03-07 19:12:27 -08:00
Steve Dee
8aa97708f4 Fix a stupid in c3_log_every 2014-03-07 19:12:21 -08:00
Steve Dee
f92eaf970c Clean up Raft options and init
I opted to keep u2_opts to just numbers, strings, and beans for now and
parse them to peer names in the Raft init code.
2014-03-07 16:19:38 -08:00
Steve Dee
4287bad4df Remove trailing capnproto stuff 2014-03-07 12:09:52 -08:00
Steve Dee
1e10cd5d95 Clean up connections
The code seems much less racy now.
2014-03-07 20:00:44 +00:00
Steven Dee
7c7c044525 Add ron_u->liv
This prevents us from double-killing connections in races, e.g. the
one between _raft_rest_name and _raft_connect_cb.
2014-03-07 20:00:44 +00:00
Steve Dee
9e2f12fb80 Leader election appears to work 2014-03-06 08:59:20 -08:00
Steve Dee
66fedab1fe Raft message sending working 2014-03-06 08:59:20 -08:00
Steve Dee
008558a1f7 WIP hand-rolled parsing, read side 2014-03-06 08:59:20 -08:00
Steve Dee
d045f31f23 Rejigger the event loop again 2014-03-06 08:59:20 -08:00
Steve Dee
424af0354d WIP Raft network base 2014-03-06 08:59:19 -08:00
C. Guy Yarvin
dd4a42b345 Some HTTP client fixes. 2014-03-03 11:51:35 -08:00
C. Guy Yarvin
3400b6bacb Working HTTP client. 2014-03-02 14:31:03 -08:00
C. Guy Yarvin
a7055224fa Various HTTP client fixes. 2014-02-26 17:58:40 -08:00
C. Guy Yarvin
54ed2bdcb0 More C files. 2014-02-26 16:40:53 -08:00