Commit Graph

4013 Commits

Author SHA1 Message Date
Joe Bryan
dfecb3a1cb refactors event poke, removing unnecessary effect traversal 2018-12-12 00:39:06 -05:00
Ted Blackman
073136cb1a
Merge pull request #1101 from urbit/rc-behn-fix
fix behn timers
2018-12-11 18:56:50 -08:00
Ted Blackman
918e1cb38f
trailing whitespace 2018-12-11 18:42:38 -08:00
Joe Bryan
050c8ce104
Merge pull request #910 from urbit/lather
Process one event at a time
2018-12-11 21:05:21 -05:00
Joe Bryan
ccfe5888aa
Merge pull request #995 from urbit/fix-libuv-max-allocation
Use smaller heap allocations on libuv i/o reads
2018-12-11 21:04:37 -05:00
Joe Bryan
d448340a76 adds and corrects some raft comments 2018-12-11 20:55:52 -05:00
Joe Bryan
302704bd22 separates effects and persistence
and always apply effects, even if the state didn't change
2018-12-11 20:51:09 -05:00
Joe Bryan
2f24bb1d1b updates terminal to always 32 bytes on read 2018-12-11 18:39:02 -05:00
Joe Bryan
d23e55356f updates ames to always allocate 2K bytes on read 2018-12-11 18:39:02 -05:00
Isaac Visintainer
594b059b62 set alarm for behn timers 2018-12-11 14:26:57 -08:00
Ted Blackman
d8b7068345 updates u3_raft_work() to be async, adds sync u3_raft_play() 2018-12-11 17:13:55 -05:00
Ted Blackman
6e77f2b2c1 synchronously processes each event singly 2018-12-11 16:39:54 -05:00
Joe Bryan
97408e42f4 handles effect/event pairs singly while iterating queue 2018-12-11 16:39:07 -05:00
Ted Blackman
0a66673134 factor out raft_pump() 2018-12-11 02:09:52 -05:00
Ted Blackman
94cacc5629 factored out _raft_crop() and _raft_poke() 2018-12-11 02:08:49 -05:00
Ted Blackman
43d18fd0a3 uncouple roe mutation 2018-12-11 02:08:00 -05:00
Ted Blackman
cf935baf0f Synchronous egg commitment 2018-12-11 02:04:16 -05:00
Joe Bryan
99312b86cb
Merge pull request #931 from joemfb/exit-print
removes superfluous exit printf
2018-12-11 01:23:44 -05:00
Joseph Bryan
a2a6b7e810 disables tracing exit printf when tracing is off 2018-12-10 21:34:00 -05:00
Joe Bryan
5bb9cacf6d
Merge pull request #1099 from urbit/fix-mount-sync
fix (my own) use-after-free in unix dir/file watch
2018-12-10 18:16:09 -05:00
Joe Bryan
fc2eaf1132 ensure file path is always freed 2018-12-10 18:02:37 -05:00
Joe Bryan
98604d04d0 fix (my own) use-after-free in unix dir/file watch 2018-12-10 17:49:05 -05:00
Joe Bryan
b58528e3ce
Merge pull request #1097 from urbit/print-in-assert
updates c3_assert() to print assertion/file/line before bail
2018-12-10 17:34:57 -05:00
Joe Bryan
de7df542c9 updates c3_assert() to print assertion/file/line before bail 2018-12-10 17:17:16 -05:00
Joe Bryan
e9df5f93aa
Merge pull request #1095 from urbit/markdown-b-gone
removes commonmark and the markdown jet
2018-12-10 16:14:32 -05:00
Joe Bryan
6266388109 removes commonmark and the markdown jet 2018-12-10 16:03:37 -05:00
Joe Bryan
f4ea9faa77
Merge pull request #1093 from urbit/no-install
updates subprojects to not install static libs and headers
2018-12-10 15:55:13 -05:00
Joe Bryan
7d6da1bcf0 uses linker flags for openbsd 2018-12-10 14:46:58 -05:00
Joe Bryan
012424c5d5 matches "freebsd" in os conditional 2018-12-10 14:43:11 -05:00
Joe Bryan
c2a0800bf8 requires less-recent libcurl release 2018-12-10 14:40:30 -05:00
Joe Bryan
3ae323e43e updates subprojects to not install static libs and headers 2018-12-10 13:50:16 -05:00
Joe Bryan
a8500ce23d
Merge pull request #1092 from urbit/scan-build-cleanup
fix issues flagged by clang static analyzer
2018-12-10 13:27:04 -05:00
Joe Bryan
b60e10f149 corrects profiling struct initializations 2018-12-10 12:02:16 -05:00
Joe Bryan
2bb7b6edd3 removes unused variable in _reck_kick_spec() 2018-12-10 12:01:03 -05:00
Joe Bryan
675fd01607 disables unused _sist_text() 2018-12-10 12:00:45 -05:00
Joe Bryan
606650ab3f disables unused _term_close_cb() 2018-12-10 12:00:22 -05:00
Joe Bryan
413b53ea16 prevents 0-byte allocation in u3qe_lore() 2018-12-10 11:15:54 -05:00
Joe Bryan
435596b485 fixes memory leak in _unix_update_dir() 2018-12-10 11:15:54 -05:00
Joe Bryan
bdc7179a28 prevents ub in u3x_cap and u3x_mas 2018-12-10 11:15:49 -05:00
Joe Bryan
76fbb1d918 adds and uses c3_realloc() 2018-12-08 20:09:23 -05:00
Joe Bryan
a3bef0f23a prevents 0-byte allocations in u3i_molt() and u3r_mean() 2018-12-08 20:09:23 -05:00
Joe Bryan
b60668f1d8 fixes 0-byte allocation in _cttp_bods_to_vec() 2018-12-08 20:09:23 -05:00
Joe Bryan
0d5beaf774 fixes duplicate assignment in u3v_nick() 2018-12-08 20:09:23 -05:00
Joe Bryan
21224cc359 fixes memory leak in _cj_je_fsck() 2018-12-08 20:09:23 -05:00
Joe Bryan
295affdaad fixes memory leak in _sist_cask() 2018-12-08 20:09:23 -05:00
Joe Bryan
d6f02165a0 fixes use-after-free in _http_serv_start() 2018-12-08 20:09:23 -05:00
Joe Bryan
e3f2519055
Merge pull request #1091 from urbit/dawn-take-error
adds more rudimentary error handle to pre-boot validation
2018-12-07 14:28:11 -05:00
Joe Bryan
eabeb4a200 corrects typo in comment 2018-12-07 14:23:43 -05:00
Joe Bryan
55f792e8ab updates calls to the |snap:dawn gates to handle units 2018-12-07 02:10:29 -05:00
Joe Bryan
611d72d957 refactors |take:dawn unit promotion 2018-12-07 02:10:23 -05:00