Commit Graph

20842 Commits

Author SHA1 Message Date
Elliot Glaysher
e9f09e32c1 king: put slogs in the muxed scrollback
If you connect to an urbit using the remote terminal code,
slogs would not be printed to them since they were hard
coded to be printed to stderr. This threads slog printing
to the terminal driver, and puts them in scrollback.

(It does not actually fix slogs being printed on one line.)
2020-09-25 12:40:23 -04:00
fang
dc7f9bd08c
Merge pull request #3561 from urbit/m/king-ascii
kh: abolish unicode syntax in favor of ascii
2020-09-25 11:12:23 +02:00
Joe Bryan
2541ccbbec vere: refactors u3qe_de_base16() to properly handle odd lengths 2020-09-24 23:27:38 -07:00
Joe Bryan
a5c51aed0b vere: adds jets for en/decoding base16 2020-09-24 19:59:53 -07:00
Fang
6659c859f1
kh: abolish unicode syntax in favor of ascii 2020-09-25 01:43:03 +02:00
Fang
a6af035532
vere: add heartbeat to slog endpoint
Because ISPs might close connections that have no data going over them.
2020-09-24 23:30:42 +02:00
Fang
c4a2088bff
vere: add /~/slog http endpoint
Acts as a SSE endpoint for streaming slogs emitted by the runtime. Takes care
of tank rendering, emitting the lines resulting from printing the tank at
whatever the current terminal width is.

Adds siginfo logic to http.c, showing how many connections to that endpoint are
open.
2020-09-24 23:29:50 +02:00
Elliot Glaysher
bf2aa9d2e6 king: remove dead code in noun conversion. 2020-09-23 11:27:53 -04:00
Joe Bryan
592b61fa86 vere: use cue/test handles for repeated packet parsing 2020-09-22 11:55:57 -07:00
Joe Bryan
7493f98480 ur: adds missing serial.h include 2020-09-22 11:42:28 -07:00
Fang
d6c14eea35
term: don't print styles in non-interactive mode 2020-09-19 00:41:06 +02: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
d2047862d8 u3: updates u3s_cue_xeno() to return error, not bail on oversized atoms 2020-09-18 12:25:47 -07:00
Joe Bryan
00df76c214 u3: factors atoms/backrefs back into u3s_cue_xeno() 2020-09-18 12:24:34 -07:00
Joe Bryan
c3a854363e u3: renames u3s_cue_sill* to u3s_cue_xeno* 2020-09-18 12:04:04 -07:00
Joe Bryan
5f8dcecbe3 u3: removes u3s_cue_xeno() 2020-09-18 12:02:38 -07:00
Joe Bryan
77754c974c u3: removes unused atom measurement function in urth.c 2020-09-18 11:35:36 -07:00
Joe Bryan
e4e8c4e9e8 vere: use u3s_cue_sill() for ivory pill 2020-09-18 11:24:20 -07:00
Joe Bryan
830df0d86e vere: use u3s_cue_sill for ipc $plea's 2020-09-18 11:24:02 -07:00
Joe Bryan
a79a0e9437 serf: use u3s_cue_sill() for ipc $writ's 2020-09-18 11:23:12 -07:00
Joe Bryan
fe01695594 u3: use u3s_cue_sill_with() in u3u_uncram() 2020-09-18 11:22:36 -07:00
Joe Bryan
bf117f63a8 u3: adds u3s_cue_fill and handle-based api 2020-09-17 22:45:53 -07:00
Joe Bryan
55c4fa2079 u3: factors atoms/backrefs out of u3s_cue_xeno 2020-09-17 22:45:53 -07:00
Joe Bryan
81e38c7b72 u3: refactors u3s_cue_bytes() to use road-stack api 2020-09-17 22:45:53 -07:00
Joe Bryan
6ef6acbddc ur: removes unused variables in tests 2020-09-17 22:45:53 -07:00
Joe Bryan
bc3c1eb0c7 ur: cleans up ur_bsr_log() 2020-09-17 22:45:53 -07:00
Joe Bryan
bf20b93e4d ur: cleans up ur_met(), atom measurement 2020-09-17 22:45:53 -07:00
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
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