Commit Graph

20701 Commits

Author SHA1 Message Date
Paul Driver
cd7c303908 vere: accept embedded nulls in leer-jet (to-wain:format)
Prior to this commit, there was a jet mismatch in to-wain (formerly
called lore, and still jetted under that name). 0 bytes in the middle of
a cord caused the jet to crash, whereas the hoon simply treated them as
the end of cord and truncated the output. The history of this behavior
is fraught with controversy. This commit rectifies the current mess with
the following rationale: Null bytes are valid ASCII/UTF-8, and \n\n in
the input will cause null list items in the output, so nulls are (for
the purposes of to-wain) allowed in cords. Trailing nulls cannot be
represented because of the nature of atoms, but that is outside the
scope of to-wain's concern. Therefore to-wain should simply measure the
cord and split on newlines, and do nothing fancy at all with nulls.

The old jet is left wired up under %lore, and should be removed when
support for the old, unupgraded zuse is no longer necessary. A new jet
with matching null handling has been wired up under the name %leer.
2020-09-18 15:37:35 -07:00
Joe Bryan
be1cfc16c4 Merge branch 'master' into release/next-vere
* master: (187 commits)
  glob: update to 0v3.u1ets.ipgbo.eo23m.md70h.djpj0
  chat: fixes
  glob: update to 0v6.cvqlg.l55tn.kk8qp.lv4q3.f06lj
  groups: restore previous virtualiser
  chat: fixes new scroll implementation behavior
  soto: address #3484 review
  soto: call resetControllers on mount
  leap: ensure selected is always an array
  glob: update to 0v4.kdc52.27is2.c7mnh.7vsrb.ij4jo
  chat: hotfix new message indicator
  leap: safety check state.selected
  glob: update to 0v6.vnpkl.sq452.quabg.73g7k.dhi55
  chat: show pending messages again
  statusBar: prepend sig to ship settings button
  links: pipe remoteContentPolicy to pending comments
  interface: always show home button
  publish: mobile scrolling fix
  publish: scroll markdown editor correctly
  chat: prevent message rerender
  interface: embeds on by default
  ...
2020-09-18 14:21:32 -07:00
Joe Bryan
4fb3ebc145
Merge pull request #3235 from urbit/jb/hashcons
u3: off-loom global deduplication
2020-09-17 00:00:40 -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
Matilde Park
4e82588cc0 glob: update to 0v3.u1ets.ipgbo.eo23m.md70h.djpj0 2020-09-16 00:32:23 -04:00
Matilde Park
b9c1b7afb3 Merge branch 'release/next-userspace' 2020-09-16 00:26:44 -04:00
matildepark
fd49748c9f
Merge pull request #3491 from tylershuster/misc-fixes
chat: fixes
2020-09-16 00:26:12 -04:00
Tyler Brown Cifu Shuster
ec99d96112 chat: fixes 2020-09-15 21:13:04 -07:00
Matilde Park
405c4792dc glob: update to 0v6.cvqlg.l55tn.kk8qp.lv4q3.f06lj 2020-09-15 22:14:46 -04:00
Matilde Park
b1573ccae5 groups: restore previous virtualiser 2020-09-15 22:09:26 -04:00
matildepark
e35bd1a2c9
Merge pull request #3476 from tylershuster/scroll-behavior
chat: Scroll behavior
2020-09-15 21:23:44 -04:00
Tyler Brown Cifu Shuster
dc1c23921b chat: fixes new scroll implementation behavior
Fixes #3482, fixes #3465, fixes #3440
2020-09-15 18:21:16 -07:00
matildepark
15593d69f0
Merge pull request #3484 from urbit/mp/dojo-subscription-tweak
soto: call resetControllers on mount
2020-09-15 19:22:43 -04:00
Matilde Park
a053f59970 soto: address #3484 review 2020-09-15 18:59:34 -04: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
Joe Bryan
ee50586070
Merge pull request #3486 from urbit/jb/fix-samp
vere: fixes -P sample profiling
2020-09-15 10:34:38 -07: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
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
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