Commit Graph

4165 Commits

Author SHA1 Message Date
Steve Dee
2fc0ccf2d1 Fix event playback 2014-02-19 11:51:44 -08:00
Steve Dee
a957cd649e WIP cleanup and fixes 2014-02-18 16:48:46 -08:00
C. Guy Yarvin
f2636893db Minor bull fix. 2014-02-18 08:42:47 -08:00
C. Guy Yarvin
ce4daf0586 Reverse basket resize. 2014-02-18 00:17:31 -08:00
C. Guy Yarvin
4e42621b93 Add gc in restore. 2014-02-17 22:29:23 -08:00
Steve Dee
e0e37cc569 Splinter disk persistence and reck stuff back out 2014-02-17 18:21:24 -08:00
Steve Dee
704dfd6d85 Write term and log type, in preparation for raft 2014-02-17 17:56:42 -08:00
Steve Dee
6311263513 Remove unreferenced tube.h 2014-02-17 17:03:49 -08:00
C. Guy Yarvin
6c22acbfa7 Some memory palliatives. 2014-02-14 17:35:22 -08:00
Steve Dee
6182bd7d14 New event loop working, super rough cut 2014-02-14 15:15:38 -08:00
C. Guy Yarvin
a50a86cac4 Merge branch 'master' of github.com:urbit/urbit 2014-02-14 11:29:19 -08:00
Steve Dee
27b50018a4 More loop -> raft, add u2_raft_boot 2014-02-12 17:27:09 -08:00
Steve Dee
2d5f78e39a WIP Move lug_u to u2_raft 2014-02-12 11:50:24 -08:00
Steve Dee
5db81ccab7 Trivial fixups 2014-02-12 11:50:05 -08:00
Steven Dee
53735a8b33 Fixes to our hi/lojack logic
This doesn't actually fix the prompt-eating bug, but it sure looks like
it ought to, doesn't it?
2014-02-12 18:06:49 +00:00
Steve Dee
0ccaadd10b WIP raft single instance
Shove all our disk stuff crudely into raft.c.
2014-02-11 17:14:25 -08:00
Steve Dee
28fe4ec482 WIP rafty loop.c
_lo_save() sticks events on roe for processing in later calls to
_lo_work().
2014-02-11 13:13:30 -08:00
Steve Dee
580a7323f4 WIP Make _lo_work rafty
Carts are now batches of events waiting to be or just recently
persisted. _lo_work calls u2_reck_kick on the last batch of events,
removes every batch that's been through Raft, and then prepares the next
batch.

TODO make _lo_punk et al stick things on roe

TODO move disk persistence to raft.c

TODO raft_push: lo_open / mark / lo_shut
2014-02-11 12:57:41 -08:00
C. Guy Yarvin
c247844e18 Merge branch 'master' of github.com:urbit/urbit 2014-02-10 21:35:23 -08:00
C. Guy Yarvin
c3dd1c6209 Sacrifice a %bull bug. 2014-02-10 21:34:24 -08:00
Steve Dee
d69aaf1491 Make u2_reck_plan push to roe 2014-02-10 16:07:22 -08:00
Steve Dee
30061584bc Add raft.capnp 2014-02-10 16:07:22 -08:00
Steve Dee
85085f713e Move srand call, seed from pid 2014-02-10 16:07:22 -08:00
Steve Dee
5a16660af1 Skeleton for raft 2014-02-10 16:07:09 -08:00
C. Guy Yarvin
bdb87b5356 Fixes to %bull stuff. 2014-02-10 11:28:31 -08:00
Steve Dee
6df5fb3155 New-style raft options 2014-02-05 15:25:57 -08:00
Steve Dee
ec82c58982 Fix comment 2014-02-05 15:25:57 -08:00
Steve Dee
c91e950eb7 Add raft listener/peers 2014-02-05 15:25:57 -08:00
Steve Dee
fc51f17322 Add _main_readw 2014-02-05 15:25:57 -08:00
Steve Dee
c147c4a901 Add c-capnproto 2014-02-05 15:25:53 -08:00
Curtis Yarvin
d5421bf717 Fix -I. 2014-02-03 21:55:19 +00:00
johncburnham
fe90418602 Merge pull request #114 from ngvrnd/patch-1
Proposed change to name of carrier ~led, Laozi
2014-01-31 11:13:24 -08:00
Steven Dee
dc8f208b31 Merge remote-tracking branch 'urbit/master' 2014-01-30 12:51:51 -08:00
C. Guy Yarvin
f53e9727c7 Merge branch 'master' of github.com:urbit/urbit 2014-01-30 11:15:53 -08:00
Steven Dee
bb9a4858d6 No lseek64 on OpenBSD 2014-01-30 10:37:58 -08:00
Steven Dee
5f873240a1 Remove calls to sprintf and strcpy in libuv
Not that there was anything wrong with them, but less build output
is better build output.
2014-01-30 10:31:50 -08:00
Steve Dee
15efb24d68 Merge remote-tracking branch 'urbit/master' 2014-01-30 09:34:45 -08:00
C. Guy Yarvin
0b0bb00f7c Don't print that type. 2014-01-29 17:40:48 -08:00
C. Guy Yarvin
204177ce1c Merge branch 'master' of github.com:urbit/urbit 2014-01-29 14:51:25 -08:00
Steve Dee
9960b91563 Merge remote-tracking branch 'urbit/master' 2014-01-28 18:21:55 -08:00
C. Guy Yarvin
a5fee9936b Various fixes and improvements. 2014-01-27 11:09:56 -08:00
C. Guy Yarvin
eafd120bb4 Merge branch 'master' of github.com:urbit/urbit 2014-01-27 10:49:41 -08:00
Curtis Yarvin
00e218d76e Merge branch 'master' of github.com:urbit/urbit 2014-01-27 18:49:07 +00:00
Curtis Yarvin
ae489b86da Quick 64-bit fixes. 2014-01-27 18:48:55 +00:00
Steven Dee
1ab1528749 Warn about unset URBIT_HOME 2014-01-26 21:31:48 -08:00
Steve Dee
8e9e98cd9d Get at the length field of sha-512
This lets us take the hash of old-world strings with a bunch of trailing
zero bytes.
2014-01-21 15:03:30 -08:00
Steve Dee
9567f14f21 sha-512 jet 2014-01-20 18:22:05 -08:00
C. Guy Yarvin
997c32f192 Various fixes and improvements. 2014-01-20 13:50:54 -08:00
Steve Dee
2b1077899e Add hostname 2014-01-17 09:42:47 -08:00
Steve Dee
b6f39d8c6a Make some objects depend on vere.h 2014-01-17 09:38:49 -08:00