Commit Graph

24399 Commits

Author SHA1 Message Date
fang
01b8995e33
kh: decouple trace & slog writing from drum prompt
New blit logic already stopped assuming the bottom line based on %nel
blits, instead looking at cursor position to determine if something
was getting drawn to the bottom of the screen or not.

Here, we stop overwriting the bottom line entirely (except for the
spinner), instead inserting the trace/slog directly above the bottom
line on-screen, without overwriting anything.

Side-effect of this is that trailing newlines are always there, so we
can stop including them explicitly.
2021-04-02 14:21:22 +02:00
fang
a90489830d
kh: update Term for new dill interface
Support new Belts/Blits and updated semantics.
2021-04-02 13:58:13 +02:00
fang
1abbe168fe
kh: expose to/fromNoun template logic separately
Separately from deriveNoun, which gives you an entire instance. Having
access to these lets you call out to the auto-generated conversion
logic when writing custom code for it.
2021-04-02 13:21:20 +02:00
fang
7e2cc77ae0
clay: explicitly ask dill to print changelist
Instead of emitting a "debug message" gift and hoping dill picks it up
for printing.
2021-03-31 22:28:22 +02:00
fang
49a991e40e
term: final +belt tweaks
The previous version allowed for redundant values (both [%bac ~] and
[%key ~ %bac ~] for example), had an odd constraint in @cF, and relied
unnecessarily on $<.

Also rewords some of the belt and blit descriptions.
2021-03-19 23:56:51 +01:00
fang
1d43942bf2
various: fix compilation failures
Due to recent dill changes.
2021-03-15 21:19:28 +01:00
fang
7fe8c67684
drum: restrict +se-blin to expected/sane blits
We only expect the two primary screen-draw blits here.
2021-03-13 02:34:45 +01:00
fang
8f92265680
term: correctly deduce stub memory requirements
We were only counting one instead of two colors (fg/bg), and not
allowing for combined decorators.
2021-03-13 02:20:11 +01:00
fang
23ec162c2f
term: rewrite _term_it_send_csi
Instead of asynchronously printing the sequence as we render it,
construct it once and then write it out synchronously.
2021-03-13 02:20:10 +01:00
fang
d355d3b71c
webterm: improve style & dark mode reactivity
Now reacts to changes in light/dark more, uses Landscape font set,
covers up container gaps.
2021-03-13 02:20:08 +01:00
fang
81e7808247
webterm: improve state management/lifecycle
Results in slightly better behavior... but it still breaks on dev
auto-refresh?

Also no longer does the ''<->'default' transform for the default session
identification in state, instead always using the empty string.
2021-03-13 02:20:07 +01:00
fang
4b7f05c681
dill: rename %lin to %put
It's no longer strictly a full line of screen content, instead more
accurately described now as "put text at cursor".
2021-03-13 02:20:00 +01:00
fang
2861de983b
dill: replace %ctl and %met belts with %key
Previously, we relied on foolish hacks, like [%met %bac], to send
"special" keystrokes with modifiers.

This updates the belt type to have %key, which represents a single
keystroke, with any combination of modifier keys.

Note that this has overlap with %txt to some extent. [%key ~ 'a'] should
be considered equivalent and preferred to [%txt 'a' ~], but updating
existing usage is left to a later commit.
2021-03-13 02:19:36 +01:00
fang
544126f3ee
Merge remote-tracking branch 'origin/release/next-js' into m/next-gen-term 2021-03-10 11:49:08 +01:00
Liam Fitzgerald
d82e886e2a
UnjoinedResource: fix crash 2021-03-10 17:19:08 +10:00
matildepark
9c5b82237e
Merge pull request #4575 from urbit/lf/hark-refresh
Notifications: fix refresh
2021-03-10 01:35:45 -05:00
Liam Fitzgerald
e44f78ad1b
Profile: fix broken status 2021-03-10 16:15:34 +10:00
Liam Fitzgerald
c0eddeda4b
notifications: fix refresh bug
Fixes urbit/landscape#546
2021-03-10 16:11:13 +10:00
Liam Fitzgerald
ca682f7bcf
RemoteContent: fix store access 2021-03-10 15:56:22 +10:00
Liam Fitzgerald
77857a487e
Merge pull request #4510 from tylershuster/zustand-stores
interface: convert stores to zustand
2021-03-10 15:40:29 +10:00
janeway-bot
b5c0176fec
Merge d17779972f into release/next-js 2021-03-10 06:15:20 +04:00
janeway
d17779972f
glob: update to 0v3.o81b7.9dkd7.6ubrn.ebhmi.dtree 2021-03-10 12:12:21 +10:00
Liam Fitzgerald
80efb64190
LinkItem: safely access size
Fixes urbit/landscape#542
2021-03-10 11:53:25 +10:00
Liam Fitzgerald
869a25adcf
RemoteContent: use settings instead of local state
Fixes urbit/landscape#544
2021-03-10 11:50:55 +10:00
Tyler Brown Cifu Shuster
4055eac9b9 interface: prevent comment crash by sanity checking size 2021-03-09 17:42:43 -08:00
Tyler Brown Cifu Shuster
f89b7fcbae Merge branch 'release/next-js' of https://github.com/urbit/urbit into zustand-stores 2021-03-09 17:03:45 -08:00
fang
da5177aeac
Merge branch 'master' into m/next-gen-term 2021-03-10 01:19:00 +01:00
janeway-bot
d5bed9f7e4
Merge 640190610c into release/next-js 2021-03-10 02:47:19 +04:00
janeway
640190610c glob: update to 0v7.sjbvb.4gg0l.1qmbv.fmobl.d2tsq 2021-03-09 17:18:58 -05:00
Matilde Park
8cbb985d1f Merge branch 'la/fix-receive-before-pending' (#4572)
* origin/la/fix-receive-before-pending:
  interface: links opacity
  interface: working timestamp fuzzy diffing
  interface: unpleasant changes to pending states
  interface: graph reducer fix receive before pending bug

Signed-off-by: Matilde Park <matilde.park@gmail.com>
2021-03-09 17:11:28 -05:00
Logan Allen
33cc337442 interface: links opacity 2021-03-09 16:03:00 -06:00
Logan Allen
cbef07d19f interface: working timestamp fuzzy diffing 2021-03-09 15:38:48 -06:00
Logan Allen
0fc7c312ab interface: unpleasant changes to pending states 2021-03-09 15:01:05 -06:00
Logan Allen
731732a86e interface: graph reducer fix receive before pending bug 2021-03-09 14:34:53 -06:00
Tyler Brown Cifu Shuster
7161174ca5 interface: update state hooks to accomodate graph schema changes 2021-03-09 10:58:49 -08:00
Tyler Brown Cifu Shuster
5328aae1a6 Merge branch 'release/next-js' of https://github.com/urbit/urbit into zustand-stores 2021-03-09 10:58:29 -08:00
janeway-bot
9ee46dea64
Merge 4e9873359d into release/next-js 2021-03-09 22:24:17 +04:00
janeway
4e9873359d glob: update to 0v3.i5rmt.7fid4.sr9bh.0pcpi.cmc0v 2021-03-09 18:07:06 +00:00
Logan Allen
e080233c91 Merge branch 'release/next-js' into la/release-2021-03-04 2021-03-09 17:58:35 +00:00
L
207268d236
Merge pull request #4571 from urbit/mp/chat/inline-code-dark
chat: make code blocks inherit from input color
2021-03-09 11:57:31 -06:00
Matilde Park
4b86de5c83 chat: make code blocks inherit from input color 2021-03-09 12:54:50 -05:00
matildepark
c3d7c6eaa1
Merge pull request #4568 from urbit/lf/tutorial-polish
Tutorial: polish for release
2021-03-09 12:41:57 -05:00
matildepark
ba24935192
Merge pull request #4569 from urbit/lf/dark-sigils
Sigils: fix default background
2021-03-09 12:37:51 -05:00
Tyler Brown Cifu Shuster
7864d91b14 interface: grabbag of fixes for state hook implementation 2021-03-09 08:32:55 -08:00
Liam Fitzgerald
e296a5d986
Tutorial: dismiss correctly 2021-03-09 12:59:54 +10:00
Liam Fitzgerald
f1ae3ab81b
Sigils: fix default background 2021-03-09 12:47:19 +10:00
Matilde Park
8f8786ff26 tutorialModel: fix syntax error 2021-03-08 21:44:43 -05:00
matildepark
898561ea30
Merge pull request #4565 from urbit/lf/grabbag
interface: grabbag of fixes
2021-03-08 21:36:34 -05:00
matildepark
f1dc011aae
Merge pull request #4566 from urbit/lf/group-invites
Invites: accept already joined group
2021-03-08 21:32:26 -05:00
matildepark
348ca8b3a7
Merge pull request #4559 from urbit/james/message-from-profile
profile: surface "message" action on non-owned profiles
2021-03-08 21:31:55 -05:00