Commit Graph

5162 Commits

Author SHA1 Message Date
Joe Bryan
8b5bc77565 ur: refactors unsafe jam into a handle-based api 2020-09-17 22:45:53 -07:00
Joe Bryan
6b10dd0f7e ur: adds walk_fore variant with a handle-based api for repeated traversal 2020-09-17 22:45:53 -07:00
Joe Bryan
efe4479f23 ur: refactors unsafe cue variants into a handle-based api 2020-09-17 22:45:49 -07:00
Joe Bryan
06cf6386aa ur: renames bitstream-write reinit test helper for clarity 2020-09-17 16:19:07 -07:00
Joe Bryan
bd0432f84e ur: adds initialization/finalization to bitstream-write api 2020-09-17 16:19:01 -07:00
Joe Bryan
f6589adf05 Merge branch 'release/next-vere' into jb/hashcons
* release/next-vere: (346 commits)
  kh: support rendering +stub as ansi escape codes
  vere: disables sample profiling in the king
  u3: fixes -P profiling by moving alloc hints in imprison.c
  u3: corrects comments in allocate.h
  u3: refactors +reel and +stir jets, removing obsolete stack bookkeeping
  u3: const-qualifies u3_pile pointer in road-stack api (where appropriate)
  vere: restores a necessary layer of reallocation
  u3: clarifies forward-declaration comment in allocate.h
  u3: only perform road stack checks in +stir jet if necessary
  u3: removes redundant stack reads from +reel and +stir jets
  u3: adds further improvements to road-stack api
  u3: refactors road stack api, limiting overflow checks
  vere: incorporate term.c review feedback, updates comments
  vere: avoids allocations by attempting synchronous terminal writes
  vere: comments-out unused ansi input sequences
  vere: directly implements utf-32 to utf-8 conversion
  vere: refactors terminal rendering to limit utf-32->utf-8 conversions
  vere: refactors terminal jam-file blits
  vere: refactors %lin blit handling in term.c
  vere: refactors _term_it_show_cursor()
  ...
2020-09-16 23:30:38 -07:00
Joe Bryan
a6a7b557a9 serf: adds comments re: unnecessary failure-mode of %uncram 2020-09-15 15:12:14 -07:00
Joe Bryan
0064271e7d ur: refactors bitstream length calculatings, using bloq-conversion macros 2020-09-15 15:09:17 -07:00
Joe Bryan
9bd04f2075
Merge pull request #3433 from urbit/jb/stir-tail
u3: rewrites +stir jet, eliminating recursion and optimizing allocations
2020-09-15 14:49:40 -07:00
Joe Bryan
6477f63045 ur: refactors ur_met, deduplicating and using bloq-conversion macros 2020-09-15 14:06:46 -07:00
Joe Bryan
76f1b78218 ur: refactors scalar/direct-atom measurement macros 2020-09-15 14:06:28 -07:00
Joe Bryan
39a82fe66d ur: updates api to consistently use (len, bytes) for vectors 2020-09-15 13:50:22 -07:00
fang
55d98dfacb
Merge pull request #3487 from urbit/m/term-escape-kh
kh: support rendering +stub as ansi escape codes
2020-09-15 21:39:14 +02:00
Fang
dd3112985e
kh: support rendering +stub as ansi escape codes
Adds support to term.hs 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-15 16:50:25 +02:00
Joe Bryan
ab60025438 vere: disables sample profiling in the king 2020-09-15 01:13:20 -07:00
Joe Bryan
7cb15d77f2 u3: fixes -P profiling by moving alloc hints in imprison.c
broken by yours truly, in 406a823ddd
2020-09-15 01:13:18 -07:00
Joe Bryan
707a834397 u3: corrects comments in allocate.h 2020-09-12 22:34:05 -07:00
Joe Bryan
26d27e4215
Merge pull request #3480 from urbit/jb/term-efficiency
vere: refactors terminal output implementation for efficiency
2020-09-11 16:53:25 -07:00
Joe Bryan
b43fca4539 u3: refactors +reel and +stir jets, removing obsolete stack bookkeeping 2020-09-11 15:56:48 -07:00
Joe Bryan
0eb63131b8 u3: const-qualifies u3_pile pointer in road-stack api (where appropriate) 2020-09-11 15:56:07 -07:00
Joe Bryan
ad4d6368da vere: restores a necessary layer of reallocation 2020-09-11 15:38:55 -07:00
Joe Bryan
047481667a u3: clarifies forward-declaration comment in allocate.h 2020-09-11 15:12:46 -07:00
Joe Bryan
8db9a4d394 u3: only perform road stack checks in +stir jet if necessary 2020-09-11 15:10:49 -07:00
Joe Bryan
2e8d84c173 u3: removes redundant stack reads from +reel and +stir jets 2020-09-11 14:57:57 -07:00
Joe Bryan
a78b303bb4 u3: adds further improvements to road-stack api 2020-09-11 14:54:49 -07:00
Joe Bryan
b719a738f4 u3: refactors road stack api, limiting overflow checks 2020-09-11 13:38:04 -07:00
Joe Bryan
2af18a6659 Merge branch 'release/next-vere' into jb/stir-tail
* release/next-vere: (317 commits)
  u3: improves error output on c3_assert()
  vere: improves error messages on ipc EOF
  vere: fixes %trim effect handler
  vere: fix crash on u3_pier_bail()
  king: move most things from debug log level to info
  vere: support rendering +stub as ansi escape codes
  king: change logging from tracing to info in Wai.hs
  king dawn: export functions used in tests
  king dawn: nits
  king dawn: remove stray marks
  king dawn: instead of crashing, return an error
  king dawn: replace web3 usage with hand rolled jsonrpc messages.
  vere: v0.10.9-rc1
  vere: more correct lane cache commentary
  vere: reset instead of decrement scry fail counter
  vere: ames.c stylistic improvements
  vere: only touch forward queue counter if scrying
  vere: cache lanes for stateless forwarding
  vere: give up ames scry after successive failures
  vere: properly clean up dropped laneless packets
  ...
2020-09-11 12:53:30 -07:00
Joe Bryan
faaaa9415d vere: incorporate term.c review feedback, updates comments 2020-09-11 11:44:18 -07:00
Joe Bryan
67dc15efca vere: avoids allocations by attempting synchronous terminal writes 2020-09-11 00:30:28 -07:00
Joe Bryan
00a691dfe2 vere: comments-out unused ansi input sequences 2020-09-11 00:30:28 -07:00
Joe Bryan
4eaffc87b2 vere: directly implements utf-32 to utf-8 conversion 2020-09-11 00:23:20 -07:00
Joe Bryan
49210f49f3 vere: refactors terminal rendering to limit utf-32->utf-8 conversions 2020-09-11 00:23:15 -07:00
Joe Bryan
27ebfcfbdf vere: refactors terminal jam-file blits 2020-09-11 00:07:14 -07:00
Joe Bryan
ccc77d627d vere: refactors %lin blit handling in term.c 2020-09-11 00:07:14 -07:00
Joe Bryan
1e5e4e5001 vere: refactors _term_it_show_cursor() 2020-09-11 00:07:14 -07:00
Joe Bryan
f3299796e6 vere: check for null before closing terminal pipe 2020-09-11 00:07:14 -07:00
Joe Bryan
db54ac1084 vere: zero-initialize terminal mirror style offset 2020-09-11 00:07:14 -07:00
Joe Bryan
41238a5549 vere: further refactors the terminal spinner 2020-09-11 00:07:14 -07:00
Joe Bryan
bf28ff571f vere: refactors term write codepaths, avoiding reallocation 2020-09-11 00:07:09 -07:00
Joe Bryan
ce236f17ee term: refactors spinner, avoiding (most) unnecessary measurement 2020-09-10 15:01:46 -07:00
pilfer-pandex
98bb534930
Merge pull request #3470 from urbit/pp/loud
Use logInfo in place of logDebug in most situations
2020-09-10 12:47:39 -07:00
Joe Bryan
f4c58ff256 u3: improves error output on c3_assert() 2020-09-09 22:43:28 -07:00
Joe Bryan
0699f6f3f1 vere: improves error messages on ipc EOF 2020-09-09 22:42:53 -07:00
Joe Bryan
3eb51b13d6 vere: fixes %trim effect handler 2020-09-09 22:40:46 -07:00
Joe Bryan
0641769875 vere: fix crash on u3_pier_bail() 2020-09-09 22:39:39 -07:00
Joe Bryan
a353179908 vere: consistently handle %meld $writ in king 2020-09-09 22:35:52 -07:00
Joe Bryan
cda7a7edb0 ur: consistently use fibonacci constants 2020-09-09 22:33:44 -07:00
Joe Bryan
efe1f7ce39 u3: disables meld and cram under U3_MEMORY_DEEBUG 2020-09-09 22:33:07 -07:00
pilfer-pandex
ba79aa713a king: move most things from debug log level to info 2020-09-09 18:20:21 -07:00
Joe Bryan
c20385a212 u3: refactors on-loom re-allocation in _cu_all_to_loom() 2020-09-09 13:12:27 -07:00