Commit Graph

20417 Commits

Author SHA1 Message Date
Fang
467d8d239b
vere: support rendering +stub as ansi escape codes
Adds support to term.c for a %klr blit, containing a +stub describing
styled text.

Dill will start making use of this in a separate commit, for release
cutting reasons.
2020-09-09 19:06:40 +02:00
Joe Bryan
6cb5df513e u3: refactors off-loom re-allocation in _cu_from_loom() 2020-09-08 22:30:55 -07:00
Joe Bryan
82e91811d4 ur: replaces allocation-failure assertions with error printfs/abort() 2020-09-08 22:25:24 -07:00
Joe Bryan
562548440b ur: assert not-null after all allocations 2020-09-08 13:20:43 -07:00
Joe Bryan
40dabb3bac u3: tweaks +stir jet for refcount clarity 2020-09-08 13:11:29 -07:00
Elliot Glaysher
0a3fe85c06
Merge pull request #3439 from urbit/kh-sending-chunk
king: change logging from tracing to info in Wai.hs
2020-09-08 10:32:23 -04:00
Elliot Glaysher
d6762a8baf
Merge pull request #3431 from urbit/fixup-galaxy-table
king dawn: replace web3 usage with hand rolled jsonrpc messages.
2020-09-08 10:10:50 -04:00
Elliot Glaysher
ecbcdf7d00 king: change logging from tracing to info in Wai.hs
I noticed that the king's text log file kept filling up, and it's
mostly 'sending chunk "\n"' from eyre. This changes the log level
of every partial send over an active eyre channel to info, instead
of always.
2020-09-05 21:49:23 -04:00
Elliot Glaysher
a42c90db9c king dawn: export functions used in tests 2020-09-04 17:02:11 -04:00
Joe Bryan
89f833365c u3: optimizes +stir jet, pushes incremental results onto the road stack 2020-09-04 13:07:52 -07:00
Joe Bryan
836715ff31 u3: optimizes +stir jet, reducing incremental allocations in fold 2020-09-04 13:08:11 -07:00
Joe Bryan
8e1468b2e0 u3: rewrites +stir to use loops (constant stack space) 2020-09-04 13:07:52 -07:00
Elliot Glaysher
74b40e0e52 king dawn: nits 2020-09-04 14:44:26 -04:00
Elliot Glaysher
07089a1c93 king dawn: remove stray marks 2020-09-04 11:01:47 -04:00
Elliot Glaysher
4bd0882e7d king dawn: instead of crashing, return an error 2020-09-04 10:54:31 -04:00
Joe Bryan
844ed22a2e vere: moves |pack initiation to king, handles future |meld 2020-09-03 22:22:38 -07:00
Joe Bryan
81aa0e3003 vere: adds missing function comments in pier.c 2020-09-03 22:14:07 -07:00
Joe Bryan
b47047b869 u3: renames global deduplication to %meld, adds to $writ 2020-09-03 22:07:55 -07:00
Joe Bryan
4d86e3595c u3: switches +cue jet to use new implementation 2020-09-03 16:00:19 -07:00
Joe Bryan
e9d4b7b762 ur: cleans up header comments 2020-09-03 15:50:58 -07:00
Joe Bryan
51b85dc5a8 u3: removes redundant byte-array allocation in u3s_cue_xeno 2020-09-03 15:38:27 -07:00
Joe Bryan
f42e436055 vere: use off-loom cue for ipc $plea 2020-09-03 15:00:17 -07:00
Joe Bryan
466f342e7b vere: use off-loom jam for ipc $writ 2020-09-03 14:48:58 -07:00
Joe Bryan
33b6a8b924 u3: ports (formerly) failing jam test case from ur_tests 2020-09-03 14:30:05 -07:00
Joe Bryan
c469ccb043 ur: fixes a bug in ur_bsw_bytes()
which was introduced by an earlier fix for a buffer over-read
2020-09-03 14:29:30 -07:00
Joe Bryan
9c59363680 ur: updates ur_bsw_t comparison tests to memcmp() buffers (failing) 2020-09-03 14:29:30 -07:00
Joe Bryan
0569bd9e3d ur: adds failing jam test case 2020-09-03 14:29:30 -07:00
Elliot Glaysher
4a7e1b2009 king dawn: replace web3 usage with hand rolled jsonrpc messages.
This replaces the autogenerated bindings to the Azimuth contracts
which use Network.Web3 with hand rolled json messages. Booting a
ship involved 256 individual galaxy point lookups using web3, while
Vere batched all of that into one JSONRPC message.

With this patch, we also batch everything at each phase into one
JSONRPC batch.
2020-09-03 16:05:08 -04:00
Joe Bryan
91f5c50bef vere: adds jam/cue tracing to ipc and disk layers 2020-09-02 23:23:18 -07:00
Joe Bryan
9159a7a318 serf: use off-loom cue for ipc $writ 2020-09-02 23:23:18 -07:00
Joe Bryan
313c5f6050 serf: use off-loom jam for ipc $plea 2020-09-02 23:23:18 -07:00
Joe Bryan
b9409693dc serf: refactors event tracing, adds jam/cue tracing 2020-09-02 23:23:18 -07:00
Joe Bryan
2bd4602143 Revert "TMP: adds ivory-pill boot-timing printfs"
This reverts commit e7df5cedc1ff24b8cf9f07484278a9fc9d647ff4.
2020-09-02 18:50:45 -07:00
Joe Bryan
0709edb84a vere: swaps out cue implementation in ivory pill boot 2020-09-02 18:50:45 -07:00
Joe Bryan
9ef5e096a7 TMP: adds ivory-pill boot-timing printfs 2020-09-02 18:50:45 -07:00
Joe Bryan
8eb8a142a6 ur: adds explanatory comments to ur_tests.c 2020-09-02 18:50:45 -07:00
Joe Bryan
f45dfaed36 ur: refactors and adds comments to hashcons.h 2020-09-02 18:50:45 -07:00
Joe Bryan
f49963ffcf ur: refactors and adds comments to bitstream.h 2020-09-02 18:50:40 -07:00
Joe Bryan
f6bd14c7c6 ur: cleans up and comments defs.h 2020-09-02 15:44:05 -07:00
Joe Bryan
d676d034cc vere: refactors ipc-framing api (newt.c) 2020-09-01 14:38:49 -07:00
Joe Bryan
1839384d52 u3: refactors ivory-pill boot 2020-09-01 14:20:07 -07:00
Joe Bryan
2897feeea3 u3: removes obsolete portable snapshot implementation 2020-09-01 13:59:20 -07:00
Joe Bryan
7d541b5a1f u3: refactors mmap read/write patterns in urth.c 2020-09-01 13:55:46 -07:00
Joe Bryan
f0dd6dc7a6 u3: refactors u3s_cue_xeno, declares u3s_cue_xeno_unsafe() 2020-09-01 11:44:59 -07:00
Fang
626c4671da
vere: v0.10.9-rc1 2020-09-01 14:30:42 +02:00
Joe Bryan
b01d57eb30 u3: distinguish bad backreferences, enforce 62-bit cursors in cue 2020-08-31 18:06:42 -07:00
Joe Bryan
fd5edcb6b6 ur: distinguish bad backreferences from other failures in cue 2020-08-31 18:06:42 -07:00
Joe Bryan
612df9541f ur: documents jam/cue invariants, enforces cue 2020-08-31 18:06:42 -07:00
Joe Bryan
4128b19d91 ur: adds ur_bsr_init() to check 64-bit bitwise-addressing overflow 2020-08-31 18:06:42 -07:00
Joe Bryan
4387c3e2d8 ur: adds ur_bsr_skip_any() and tests, uses in ur_cue_test() 2020-08-31 18:06:42 -07:00