Commit Graph

20837 Commits

Author SHA1 Message Date
Elliot Glaysher
16b3edfbd0 king: derive +code from Ring and print login +code on startup
We need to be able to programatically get the +code outside of
Urbit, so add an implementation of the derivation in king haskell.
2020-10-15 13:17:43 -04:00
Joe Bryan
4dda88864d
Merge pull request #3701 from urbit/jb/re-re-repn
u3: re-re-enable +repn jet
2020-10-14 09:46:20 -07:00
Joe Bryan
c3af1afec1
Merge pull request #3693 from urbit/jb/ames-print-less
vere: updates ames to only print network send failures once
2020-10-13 17:36:13 -07:00
pilfer-pandex
4107ad0e05
Merge pull request #3698 from urbit/pp/log-zag
Fix zigzag in --stderr logging
2020-10-13 16:15:59 -07:00
pilfer-pandex
e9ed97f8a8 king: fix zig-zag in stderr logging 2020-10-13 12:01:04 -07:00
Joe Bryan
cddcf96d75
Merge pull request #3695 from urbit/jb/defcons-redux
u3: improve efficiency of more list jets
2020-10-13 10:59:35 -07:00
Joe Bryan
cabd811091 u3: refactors +murn/+turn, removing unused variable 2020-10-11 00:19:43 -07:00
Joe Bryan
880203ec1d u3: rewrites +skim jet with u3i_defcons() 2020-10-09 16:15:24 -07:00
Joe Bryan
6010f2a866 u3: rewrites +skip jet with u3i_defcons() 2020-10-09 16:13:12 -07:00
Joe Bryan
fda817dc61 u3: rewrites +skid jet with u3i_defcons() 2020-10-09 16:06:28 -07:00
Joe Bryan
e74ca2c0fd vere: updates ames to only print network send failures once 2020-10-09 12:02:50 -07:00
Joe Bryan
21c2f91062
Merge pull request #3688 from urbit/jb/gc-tests
u3: run gc after each unit test suite
2020-10-09 09:55:53 -07:00
Joe Bryan
074b0cc0b0 u3: cleans up testing protocol, enables gc in mug tests 2020-10-08 14:20:30 -07:00
Joe Bryan
2ca626429e u3: refactors and enables gc in jam tests 2020-10-08 14:19:47 -07:00
Joe Bryan
5350dbfbbd u3: cleans up testing protocol, enables gc in hashtable tests 2020-10-08 14:19:47 -07:00
Joe Bryan
84ff37482a u3: enables gc in ames and newt tests 2020-10-08 14:19:37 -07:00
Joe Bryan
9aa9ad7ad2
Merge pull request #3666 from urbit/jb/necessary-precision
u3: replaces arbitrary-precision math in +lent and +wyt:in jets
2020-10-07 18:45:25 -07:00
Joe Bryan
6d266af503
Merge pull request #3658 from urbit/jb/defcons
u3: improve efficiency of list jets by cons'ing in-order
2020-10-07 18:45:11 -07:00
Joe Bryan
d7a5f23b12 u3: initializes head/tail in u3i_defcons() (under U3_MEMORY_DEBUG) 2020-10-07 15:08:49 -07:00
Joe Bryan
a7c813e213
Merge pull request #3656 from urbit/jb/dvr-leaks
u3: fixes jet memory leaks, mismatches in +div/+dvr/+sqt
2020-10-07 11:07:16 -07:00
Elliot Glaysher
056a179dc7
Merge pull request #3665 from urbit/king-multitenant-fixups
King multitenant fixups
2020-10-07 13:39:12 -04:00
Elliot Glaysher
5eeb86a935 king: actually try shutting down the piers 2020-10-07 13:00:05 -04:00
Elliot Glaysher
ce92c405fe king: --serf="" is a host option, not a per ship option.
This means you don't need to specify this per ship in a multitenant
environment when you are alwyas going to set it to the same binary
if you're overriding it in the first place.
2020-10-07 13:00:00 -04:00
Joe Bryan
42b10e4b80 u3: optimizes +wyt:in jet, gated by compile-time assertion 2020-10-06 17:02:30 -07:00
Joe Bryan
0f9fbba66a u3: further optimizes +lent jet, gated by compile-time assertion 2020-10-06 16:53:42 -07:00
Joe Bryan
f20fe17434 u3: refactors allocator constants, adds u3a_cells and u3a_maximum 2020-10-06 16:53:01 -07:00
Joe Bryan
94a4dc5f5d u3: optimizes +lent jet, avoiding u3i_vint() while possible 2020-10-06 16:48:38 -07:00
Joe Bryan
4215209f27 u3: moves cell allocation counter into u3a_celloc() 2020-10-06 16:13:17 -07:00
Joe Bryan
a217ddbed9 u3: fixes memory leak introduced in +murn jet 2020-10-06 16:12:03 -07:00
Joe Bryan
247f416a09 u3: fixes mismatches in +div and +dvr jets 2020-10-06 15:17:37 -07:00
Joe Bryan
c4587d9043 u3: fixes memory leaks in +dvr and +sqt jets
caused by unecessary u3k() calls around gmp conversion
2020-10-06 15:14:35 -07:00
fang
56b7777a21
Merge pull request #3557 from urbit/m/slog-stream
vere: webslogs
2020-10-06 23:09:31 +02:00
Joe Bryan
20ea17250b u3: rewrites +flop jet using new list iteration idiom 2020-10-06 14:05:31 -07:00
Joe Bryan
d9d7a4a13b u3: rewrites +weld jet using u3i_defcons() 2020-10-06 13:59:10 -07:00
Joe Bryan
d42c858d73 u3: rewrites +scag jet using u3i_defcons() 2020-10-06 13:58:08 -07:00
Joe Bryan
8d99c90d81 u3: rewrites +murn jet using u3i_defcons() 2020-10-06 13:57:10 -07:00
Joe Bryan
f81c05fd04 u3: rewrites +turn jet using u3i_defcons() 2020-10-06 13:56:20 -07:00
Joe Bryan
43425061b0 u3: adds u3i_defcons(), deferred cell constructor 2020-10-06 13:55:29 -07:00
Fang
0e790719d6
vere: add missing function comment 2020-10-06 20:59:17 +02:00
Fang
f2e64e39b6
vere: use h2o functions for finding cookie header 2020-10-06 20:57:45 +02:00
Joe Bryan
6b5be2b5cf
Merge pull request #3577 from urbit/jb/base16-jets
vere: adds jets for en/decoding base16
2020-10-06 10:52:23 -07:00
Fang
cc389c52e9
vere: put runtime http bindings under /~_~ 2020-10-06 16:37:02 +02:00
Fang
8044692b41
vere: touch up slogstream style and logic 2020-10-06 16:31:21 +02:00
Fang
2554dad0d8
vere: improve streamslog event construction
Assemble as list of atoms, then rap once, instead of catting multiple
times.

Also fixes refcounts, probably.
2020-10-06 16:10:04 +02:00
Elliot Glaysher
51e8924b27
Merge pull request #3549 from urbit/kh-strict
Fix a bunch of strictness issues in King Haskell
2020-10-05 16:57:08 -04:00
Elliot Glaysher
7e117f86b7 king: move internal IPC types to own file
This lets us put a StrictData annotation on these datas, without
touching the rest.
2020-10-05 14:28:17 -04:00
Elliot Glaysher
77a11a82be
Merge branch 'release/next-vere' into kh-strict 2020-10-05 13:26:46 -04:00
Elliot Glaysher
8d3e15c62b king: strictify all parsed nouns
At least some of the parsed plea structures were holding on to the raw
bytestrings through laziness.
2020-10-05 13:16:45 -04:00
Elliot Glaysher
0451953822 king: evaluate text which goes into the log 2020-10-05 13:15:57 -04:00
Elliot Glaysher
37a52136ab king: Use modifyTVar' instead of modifyTVar.
We mostly used modifyTVar', but there were a few lazy cases.
2020-10-05 13:12:22 -04:00