Commit Graph

248 Commits

Author SHA1 Message Date
Philip Monk
1c26ef6fe9
urbit-king: bump zuse to 419 2021-11-19 18:33:58 -08:00
Joe Bryan
3fba32185d Revert "Merge pull request #4463 from urbit/m/next-gen-term"
This reverts commit 39667fc071, reversing
changes made to 698fd6f66f.
2021-09-24 16:33:15 -04:00
Joe Bryan
148779f4d4 Merge branch 'release/next-vere' into jb/next-gen-term
* release/next-vere: (67 commits)
  pill: all
  kh: improve code style
  glob: update to 0v758lj.uf0s5.0nh3m.gunn6.942gj
  Fix feepicker issues
  Add exit buttons to invoices
  Fix issue with change provider button not triggering modal
  Fix scanning text issues
  Fix enum, was breaking signer button
  Fix imports in ExternalInvoice
  glob: update to 0v4.e52ik.udm4j.6aus5.02b25.vomaj
  btc-wallet: fix imports
  aqua: assert pill type
  Port BTC wallet to Typescript
  Match edouard's designs
  Add external (psbt) invoice
  Fix copy from non-secure context issue
  Use deSig for isPatp
  Use deSig rather than concat
  Add sig to valid patp in send component
  Just show total main/change addresses scanned
  ...
2021-09-09 11:48:43 -04:00
Fang
28df07313c
kh: improve code style
Based on PR feedback. Better naming, NOTE style, and increased purity.
2021-09-01 16:57:30 +02:00
Joe Bryan
4320e5e8ee Merge branch 'jb/urcrypt' into jb/next-gen-term
* jb/urcrypt: (187 commits)
  test: removes obsolete scrypt test comment
  u3: renames secp init/stop functions, fixes comment
  u3: fixes sample deconstruction error handling in scrypt jets
  u3: fixes u3kc_bex() refcount, updates style
  build: adds urcrypt to top-level shell.nix
  urcrypt: restores pkg-config api versioning scheme
  build: restore division between pkg-config and regular deps
  mingw: sets libh2o install dir (for accurate pkg-config info)
  pmnsh: adds support for pkg-config
  build: update mingw CI to use "ares" cachix cache
  build: fixes urbit+urcrypt mingw build
  build: remove obsolete (urcrypt-vendored) dependencies
  build: normalize our use of pkg-config, rename urcrypt config
  build: implements static builds in urbit ./configure, prunes deps
  build: hack urbit configure for static linking
  build: force static urcrypt on darwin
  urcrypt: updates libaes_siv link test, supplying -lcrypto
  urcrypt: updates shared-library build test, accounts for mangling
  build: gitignore urcrypt build results
  build: gitignore library binaries
  ...
2021-08-20 16:59:33 -04:00
fang
288c2121d1
kh: respect slog priority
When printing slogs, if priority is greater than zero, prefix with '>'
characters, and adjust the slog color.
2021-06-17 23:49:45 +02:00
fang
eadd7aad01
kh: rewrite hijack to guarantee lojacking
No longer allow lojack to be called independently, instead requiring
logic to be inserted between hi- and lojack's io.
2021-06-17 23:49:44 +02:00
fang
addcf42468
kh: improve code style
Removes superfluous parens, makes better use of pattern matching, and
respects project-wide capitalization style.
2021-06-17 23:49:44 +02:00
fang
b3964c97a6
kh: implement null check correctly 2021-06-17 23:49:43 +02:00
fang
bdaad4cf84
kh: don't error during key validation
Instead produce an Either.
2021-06-17 17:42:44 +02:00
fang
f8d5a1644c
kh: improve naming and code style 2021-06-17 14:48:09 +02:00
ryjm
8ad9d022a1 king: fix noun derivation 2021-06-09 01:50:34 -04:00
fang
3b81e35260
dawn: better multikey format
Improves the multikeyfile format by taking a single ship and a list of
life+key pairs, instead of a list of full seeds.

Also decouples these changes from the dawn event, once again putting a
single seed into it. In the multikeyfile case, keys are injected as
%rekey events to jael near the end of the boot sequence.

Haskell-side changes may or may not be incomplete, boot presently fails
at some unknown point with what looks like a noun conversion error.
2021-06-04 01:49:15 +02:00
fang
cc362b27c9
kh: support multikeyfiles 2021-06-03 01:04:45 +02:00
fang
0f6c3c05cd
term: best-effort compatibility with old blits
Render old %lin and %mor blits, for backwards compatibility with old
dill.
2021-05-27 20:26:12 +02:00
fang
719ff8b442
Merge branch 'master' into m/next-gen-term
Notably includes some changes to webterm's app.tsx that are required to
keep it functioning correctly. As of yet unclear why exactly this is
necessary, presumably hook shenanigans triggered by recent-ish changes.
2021-05-15 00:21:06 +02:00
fang
97540ed638
various: comments, clean-up 2021-04-28 16:45:55 +02:00
pilfer-pandex
b2c2aa2240
Merge pull request #4792 from urbit/lf/king-fix-hidden-files
king: do not commit files starting with a dot
2021-04-26 19:23:15 -04:00
pilfer-pandex
94ad4ec3ac king: fix typo in UDP.hs comment 2021-04-26 18:58:14 -04:00
pilfer-pandex
dad455365d king: add requested disclamer to UDP.hs 2021-04-23 15:51:51 -04:00
pilfer-pandex
17bf33d3a0 king: fix byte order of Ipv4 2021-04-23 15:51:51 -04:00
pilfer-pandex
48837a1fbe king: ames: make udp serv reuse port on err 2021-04-23 15:51:50 -04:00
Liam Fitzgerald
d357593ef1
king: address ~pilfer-pandex review 2021-04-21 16:40:22 +10:00
fang
d1fba5d740
kh: correctly (re)store styled lines
We weren't accounting for the cursor column when storing output, nor
accounting for styled contents properly.

See also a8de23ca9 for the equivalent change in Vere.
2021-04-21 00:43:12 +02:00
Liam Fitzgerald
e6857d5797
king: do not commit files starting with a dot 2021-04-20 15:32:26 +10:00
fang
8716c49b45
kh: always draw spinner on bottom line
Now always draws the spinner on the bottom line, regardless of the
cursor position.
2021-04-16 15:11:33 +02:00
fang
fab0f65d58
term: bump on-return spinner delay from 0 to 100ms
Not drawing the spinner when the command gets processed nearly instantly
makes things feel slightly better.
2021-04-15 20:54:55 +02:00
fang
98d48913bf
kh: improve term code style
Based on feedback during review.
2021-04-14 17:10:50 +02:00
fang
0a75ca19f3
kh: support mouse reporting for %hit belts
This comes with the caveat that this specific mouse reporting mode
(which should only report clicks of the primary button) doesn't
actually seem to be supported by most terminal emulators, even though
it precedes the more complex reporting modes.

(Enabling a more complex reporting mode instead would also capture
scroll events, which interferes with expected behavior while in tmux.)
2021-04-02 14:25:29 +02:00
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
pilfer-pandex
229ae81bf1
Merge pull request #4516 from ryjm/fix-king-scry
king: fix textAsTa
2021-03-23 14:54:56 -04:00
pilfer-pandex
19f4b36ac5
Merge pull request #4616 from urbit/pp/vegeta
king: commit seppuku when server is out of fds, also setrlimit allowing for more fds
2021-03-23 14:53:15 -04:00
pilfer-pandex
1a39dac437 king: address joe on fds/seppuku 2021-03-21 21:27:50 -04:00
pilfer-pandex
88375f37ec king: commit seppuku when server is out of fds 2021-03-16 00:40:18 -04:00
pilfer-pandex
7f86f41da3 king: fix moronic space leak in http client 2021-03-05 18:48:07 -05:00
pilfer-pandex
af3ea0b9a1 king: fix insidious space leak in IPC.hs 2021-03-05 16:19:25 -05:00
ryjm
f9a5666074 king: textAsTa -> textAsT 2021-03-02 14:19:48 -05:00
pilfer-pandex
e70fa2629d king: error message for lock file 2021-02-02 15:58:30 -08:00
pilfer-pandex
ac00ea43f8 king: fix lane format; vere: don't crash on bad lane 2021-02-02 10:54:07 -08:00
pilfer-pandex
1042422bbe king: address joe's comments again 2021-01-29 14:15:27 -08:00
pilfer-pandex
fbe13d411d king: elim zigzag in --stderr (still interlacing) 2021-01-21 14:55:03 -08:00
pilfer-pandex
958ebc5a24 king: ted's new packet format 2021-01-10 21:19:40 -08:00
pilfer-pandex
29cc12d206 king: various fixes and improvements 2020-12-18 17:00:56 -08:00
pilfer-pandex
fec7d99fd1 Merge branch 'eg/wyrd-hs' into pp/wire 2020-12-18 12:04:52 -08:00
Elliot Glaysher
3451e02cd1 OK, and now we are walking through the effects 2020-12-16 16:53:25 -05:00
Elliot Glaysher
44d8119119 That was it. Fixed the wyrd:insane issue. 2020-12-16 11:46:54 -05:00
Elliot Glaysher
d6def3c4cb WIP: Got to the point where we boot and goof on the event 2020-12-16 11:17:13 -05:00
pilfer-pandex
aefb53e64e king: path format chage, fix tests 2020-12-15 13:46:26 -08:00
Elliot Glaysher
c887dcd626 Merge remote-tracking branch 'origin/pp/wire' into eg/wyrd-hs 2020-12-11 17:13:39 -05:00