Commit Graph

20788 Commits

Author SHA1 Message Date
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
e389220d18 u3: refactors u3r_sing internals, adding comments 2020-09-15 01:12:38 -07:00
Joe Bryan
e014baacac u3: refactors u3r_sing internals to use road stack api 2020-09-15 01:12:38 -07:00
Joe Bryan
c1d22949af u3: rewrites u3s_cue to use road stack api 2020-09-15 01:12:38 -07:00
Joe Bryan
740c0bbf81 u3: splits u3a_take into north/south implementations 2020-09-15 01:12:38 -07:00
Joe Bryan
fae8980660 u3: refactors "retreat" block of u3a_take in to do/while loop 2020-09-15 01:12:38 -07:00
Joe Bryan
c591eb220d u3: factors out "advance" block of u3a_take() 2020-09-15 01:12:38 -07:00
Joe Bryan
8b08a8b5c8 u3: refactors u3a_take() to use road stack api 2020-09-15 01:12:38 -07:00
Joe Bryan
a0621f2bbf u3: refactors cell reallocation, stack struct in u3a_take() 2020-09-15 01:12:38 -07:00
Joe Bryan
00ed9b1c1c u3: refactors atom reallocation in u3a_take() 2020-09-15 01:12:38 -07:00
Joe Bryan
6f39faeb7d u3: refactors u3a_walk_fore/unsafe(), using road stack api 2020-09-15 01:12:38 -07:00
matildepark
f4b4a6b1fc
Merge pull request #3347 from urbit/mp/chat/copy-notice
chat: restore 'copied' notice on copying names
2020-09-14 21:08:37 -04:00
Matilde Park
28c019c9cb Merge branch 'release/next-userspace' into mp/chat/copy-notice 2020-09-14 21:05:58 -04:00
Matilde Park
3482f4ae59 soto: call resetControllers on mount 2020-09-14 14:36:57 -04:00
Joe Bryan
10a674b0a5 u3: rewrites u3r_mug for clarity 2020-09-12 22:35:02 -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
54d74ea1b0
Merge pull request #3471 from urbit/jb/vere-cleanup
vere: fix crash, cleanup error messages
2020-09-10 11:36:32 -07:00
matildepark
36202d8463
Merge pull request #3469 from urbit/mp/leap/arrays
leap: ensure selected is always an array
2020-09-10 12:36:49 -04: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
Matilde Park
1f6f1fcd53 leap: ensure selected is always an array
Fixes #3462.
2020-09-09 21:20:59 -04:00