Isaac Visintainer
61b9556612
fix _raft_lame bug
2018-12-17 16:59:24 -08:00
Elliot Glaysher
4ebaf49b02
Merge remote-tracking branch 'origin/release-candidate' into lighter-than-eyre
2018-12-17 10:09:11 -08:00
Fang
f3e60b800a
Rename hull to point in Ethereum boot logic
2018-12-17 13:20:49 +01:00
Jōshin
830c0715f8
Only bail if profiling is enabled
2018-12-14 23:04:38 +00:00
Jōshin
69f4157588
Fixes the build on OpenBSD
...
Tested with stock clang on an OpenBSD 6.4 amd64 VM. Unfortunately
clang (and also gcc from ports) was not pleased about c3_rand,
whereas this was fine before. I have no idea what changed, but it
works now.
2018-12-14 22:51:02 +00:00
Elliot Glaysher
897a538c49
Merge remote-tracking branch 'origin/release-candidate' into lighter-than-eyre
2018-12-14 11:33:22 -08:00
Joe Bryan
7a172f6860
renames event-timing, adds build option to enable
2018-12-13 20:03:19 -05:00
Joe Bryan
5a397fef43
Merge pull request #1107 from urbit/crypt-log
...
re-enable event-log encryption
2018-12-13 19:55:22 -05:00
Joe Bryan
abe21628d5
Merge branch 'release-candidate' into build-compat
...
* release-candidate: (27 commits)
Style nits
[CI] Update arvo
Add a jet for +del:by
fit UTF-8 tape bug
calls u3_raft_work on leader promotion (for eager restart effects)
removes unused u3v_nick (effect traversal) and u3v_http_request
refactors event replay, removing unnecessary effect traversal
refactors event poke, removing unnecessary effect traversal
trailing whitespace
adds and corrects some raft comments
separates effects and persistence
updates terminal to always 32 bytes on read
updates ames to always allocate 2K bytes on read
set alarm for behn timers
updates u3_raft_work() to be async, adds sync u3_raft_play()
synchronously processes each event singly
handles effect/event pairs singly while iterating queue
factor out raft_pump()
factored out _raft_crop() and _raft_poke()
uncouple roe mutation
...
2018-12-13 17:22:04 -05:00
Joe Bryan
766e6e507e
prevents profiling on *bsd
2018-12-13 17:04:26 -05:00
Joshua Reagan
6b3c9f8dff
fit UTF-8 tape bug
...
You should be able to do this in dojo:
```
> "Some UTF-8: ἄλφα"
"Some UTF-8: ἄλφα"
```
Now you can. @joemfb told me where to find the problem.
2018-12-12 18:19:54 -08:00
Joe Bryan
80f723fc17
Merge pull request #1103 from urbit/work-on-lead
...
calls u3_raft_work on leader promotion (for eager restart effects)
2018-12-12 02:27:23 -05:00
Joe Bryan
958e857476
calls u3_raft_work on leader promotion (for eager restart effects)
2018-12-12 02:24:13 -05:00
Joe Bryan
22e6a18e14
Merge pull request #1102 from urbit/nick-no-more
...
removes unnecessary effect traversals
2018-12-12 01:37:50 -05:00
Joe Bryan
62960bbc28
enables event-log encryption
2018-12-12 01:19:34 -05:00
Joe Bryan
a848191c50
refactors event replay, removing unnecessary effect traversal
2018-12-12 00:39:31 -05:00
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
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
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
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
435596b485
fixes memory leak in _unix_update_dir()
2018-12-10 11:15:54 -05:00
Joe Bryan
76fbb1d918
adds and uses c3_realloc()
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
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
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
Joe Bryan
6a4fc7c9ae
updates calls to the |take:dawn gates to handle units
...
and bail on ~
2018-12-07 02:10:23 -05:00
Joe Bryan
65ce838b26
Merge branch 'release-candidate' into single-home
...
* release-candidate:
Write a jet for +sort
remove hold
removed more superfluous lines
removed superfluous lines
moving one brace
using u3x functions
braces constants
added shape checks
Update pin-arvo-commit.txt
Update pin-arvo-commit.txt
type variance bug fix
moves ethereum-integrated pre-boot validation to vere/dawn
2018-12-06 18:33:28 -05:00
Ted Blackman
9cff56962a
Merge pull request #1087 from belisarius222/move-dawn
...
moves ethereum-integrated pre-boot validation to vere/dawn
2018-12-06 13:09:11 -08:00
Joe Bryan
591995934a
single-home arvo with %whom
2018-12-05 16:02:43 -05:00
Joe Bryan
511ff89f80
add entropy to arvo with %wack
2018-12-05 15:52:16 -05:00
Joe Bryan
de29eb602c
Merge pull request #1085 from urbit/boot-pill-userspace
...
boot with lifecycle-formula, userspace from pill
2018-12-05 13:50:23 -05:00
Joe Bryan
384a2a1555
moves ethereum-integrated pre-boot validation to vere/dawn
2018-12-05 03:06:18 -08:00
Elliot Glaysher
82cb9ed2ce
Merge pull request #1086 from urbit/use-slaw-instead-of-slay
...
Use +slaw instead of +slay.
2018-12-04 16:53:31 -08:00
Elliot Glaysher
e7c10cd828
Merge pull request #1081 from urbit/json-trace
...
Add support for trace_event files.
2018-12-04 16:41:54 -08:00
Elliot Glaysher
39eb89d66b
Use u3_nul
2018-12-04 16:40:19 -08:00
Elliot Glaysher
e611cc34c4
Use +slaw instead of +slay.
2018-12-04 16:27:20 -08:00
Elliot Glaysher
4a53ebc6c5
Cleanup
2018-12-04 14:48:26 -08:00
Joe Bryan
bf4e7910dc
loads initial filesystem from pill, -A optional for all ships
2018-12-04 02:54:12 -05:00
Elliot Glaysher
7b475e7caa
Remove 30ms per dill-blit.
2018-12-03 16:10:07 -08:00
Elliot Glaysher
8b9680072a
Add support for trace_event files.
...
This adds a -j parameter which writes traces of your Urbit's function call
stack to a json file, readable by Chrome's about://tracing or the standalone
trace-viewer webapp.
2018-12-01 15:54:55 -08:00
Joe Bryan
bc30fb282b
automatically process events on restart
2018-11-26 16:34:49 -05:00
Joe Bryan
1774725e4c
removes i/o polling
2018-11-26 16:29:38 -05:00
Joe Bryan
9121e108ab
removes %behn timer backoff
2018-11-26 12:22:13 -05:00
Joe Bryan
c3555c25a9
increases %behn timer accuracy
2018-11-26 03:08:14 -05:00
Joe Bryan
a77f6401a7
updates %behn to use effects instead of u3v_keep polling
2018-11-26 03:08:14 -05:00
Joe Bryan
a9c8615674
removes %ames timer and disables u3v_keep polling
2018-11-26 03:08:14 -05:00
Joe Bryan
f89b02f8a1
Merge pull request #1070 from urbit/remove-obsolete-arguments
...
removes obsolete CLI arguments
2018-11-21 13:09:32 -05:00
Joe Bryan
42c61039a4
refines -F argument handling
2018-11-16 20:05:03 -05:00
Joe Bryan
80b1d34aa6
alphabetizes u3_opts and usage instructions
2018-11-16 20:04:58 -05:00
Joe Bryan
eaab7dda8f
replaces -N (enable fake networking) with -L (disable networking)
2018-11-16 19:19:48 -05:00
Robert
1c97747e7c
updates boot printfs
2018-11-16 15:40:33 -08:00
Joe Bryan
3edcd47b7c
removes the option to set -l, -n, and -r (raft options)
2018-11-16 17:52:58 -05:00
Joe Bryan
0148b101e7
removes -X ("skip last event")
2018-11-16 17:52:47 -05:00
Joe Bryan
f87120095a
removes -M ("memory madness")
2018-11-16 17:52:25 -05:00
Joe Bryan
2ea9cb52fe
properly zero-initialize u3_wcon linked-list pointer
2018-11-15 19:33:30 -05:00
Joe Bryan
965c43c57a
fixes race in _proxy_ward_close by unlinking early
2018-11-13 14:06:35 -05:00
Elliot Glaysher
e0ea15f158
Merge remote-tracking branch 'origin/release-candidate' into lighter-than-eyre
2018-11-09 10:48:52 -08:00
Joe Bryan
c072605792
restores -H for overriding contract/snapshot ames domains
2018-11-08 23:13:19 -05:00
Joe Bryan
a348fae401
adds perror() calls for u3_term_io_hija/loja i/o errors
2018-11-06 20:35:13 -05:00
Joe Bryan
ebeb785ef3
adds more specific error messages to proxy write callbacks
2018-11-06 19:43:13 -05:00
Joe Bryan
07b6cf807b
bumps http client request timeout to 5 minutes
2018-11-06 19:30:23 -05:00
Joe Bryan
db46b2d798
make implicit -S persist across fake-keyed restarts
2018-11-06 11:16:58 -05:00
Joe Bryan
f319cd6c81
fixes merge conflict resolution in the previous. mea maxima culpa
2018-11-01 01:18:50 -04:00
Joe Bryan
b3eb48408c
Merge branch 'release-candidate' into bs/disable-core-hashing-on-fake-ships
2018-11-01 01:11:57 -04:00
Joe Bryan
7027f43563
updates fake-zod examples, removing -I
2018-11-01 00:43:09 -04:00
Joe Bryan
35bfb49086
Merge branch 'release-candidate' into ames-eth-keys
...
* release-candidate: (21 commits)
zinc gate casting bug
Bug fix for metal-wrapping runes
converting iron and zinc cores to lead bug
8. updates nock 4K spec
7. updates %5 to require two subformulas (nock 4K)
6. implements edit at %10 (nock 4K)
5. removes %13 and %14 (nock 4K)
4. emits %11 and %12 (nock 4K)
3. implements hint at %11 and wish at %12 (nock 4K)
2. removes %10 and %11 (nock 4K)
1. duplicates hint (%10) and wish (%11) at %13 and %14 (nock 4K)
Disable terminal echo on passcode entry
increased inbound request and ward timeouts to 5 min
mutating edit
bail in _n_edit on invalid path
avoid allocating an atom for _cj_bash
bypass mat and chop directly in jam
small memory leak for large edits
disable hike jet, kill errant and unneccessary mutate-context-sample opcodes
bugfixes
...
2018-11-01 00:16:20 -04:00
Philip Monk
345459e931
allow booting from ethereum snapshot
2018-10-31 15:43:55 -07:00
Elliot Glaysher
a5ce6d5ead
WIP: Switching tasks
2018-10-31 14:43:16 -07:00
Joe Bryan
d6b9d6088c
sets default pre-boot validation ethereum gateway to ropsten infura
2018-10-29 21:52:46 -04:00
Joe Bryan
f0efa1ac12
includes block number and ethereum gateway url in boot event
2018-10-29 15:23:17 -04:00
Joe Bryan
770207e186
pins pre-boot validation eth rpc requests to a single block
2018-10-29 14:01:45 -04:00
Joe Bryan
9ebeaeb3dc
requires ethereum gateway (with -e) for non-fake galaxy boot
2018-10-29 12:39:02 -04:00
Joe Bryan
68a2963051
swaps -K (now kernel stage) and -k (now key-file)
2018-10-29 11:48:05 -04:00
Joe Bryan
b9668c77f9
corrects boot comments
2018-10-28 21:29:50 -04:00
Joe Bryan
b7fbd4108e
fixes memory leak (temporarily) by disabling +xeb jet
2018-10-28 21:10:25 -04:00
Benjamin Summers
c198b4ff0c
Disabled core hashing on fake ships.
2018-10-26 15:36:35 -07:00
Elliot Glaysher
3af6a85052
If we don't set content_length, it won't add the header.
2018-10-24 11:39:47 -07:00
Philip Monk
999e82a44a
actually send headers
2018-10-24 10:38:09 -07:00
Elliot Glaysher
ee2c8bd0a9
Get http timeouts working and passing into Urbit.
2018-10-23 14:36:42 -07:00
Elliot Glaysher
19ce97dfea
Disable exponential backoff in behn handler which was skewing timers
2018-10-23 14:34:10 -07:00