Commit Graph

15859 Commits

Author SHA1 Message Date
Philip Monk
2e56034cfc
claz: convert to iris 2019-09-18 17:12:13 -07:00
Benjamin Summers
ff273f0b72 Demuxed terminals now track terminal state instead of terminal history.
Before, terminal demuxing used unbounded memory, but now it just tracks
the line state and 20 lines of history.
2019-09-18 16:11:06 -07:00
Benjamin Summers
dcb25bbbb8 Track terminal state in pure code. 2019-09-18 15:07:53 -07:00
Elliot Glaysher
74eb0a7fde
Merge pull request #1747 from urbit/king-exit-cleanly
Make king shutdown cleanly on a new line.
2019-09-18 11:06:11 -07:00
Elliot Glaysher
31403543b8 Make it build 2019-09-18 11:05:36 -07:00
Elliot Glaysher
ba9bd01e35
Merge branch 'king-haskell' into king-exit-cleanly 2019-09-18 11:02:46 -07:00
benjamin-tlon
e3b5c8a34d
Merge pull request #1748 from urbit/king-external-term-hack
External Terminal Hack
2019-09-18 10:58:29 -07:00
Benjamin Summers
d3d42a7fdd Re-enable local terminal (non-daemon mode) + cancelWait cleanup. 2019-09-18 10:55:21 -07:00
Elliot Glaysher
f417c084a4 Merge remote-tracking branch 'origin/king-haskell' into king-exit-cleanly 2019-09-18 10:38:20 -07:00
Jared Tobin
940ec12910
Merge branch 'liam-fitzgerald/xml-cdata-support' (#1670)
* liam-fitzgerald/xml-cdata-support:
  pills: update solid
  zuse: add en-xml:html and de-xml:html tests
  zuse: fix comment parsing in de-xml:html
  zuse: added CDATA support to de-xml:html
2019-09-18 13:31:39 -02:30
Benjamin Summers
b1a9dff197 Fixes live-lock by changing type of Vere.Term.API.Client.give to take [Term.Ev]. 2019-09-18 02:11:18 -07:00
Benjamin Summers
6b8e88fdd8 Was replaying terminal events in the wrong order. 2019-09-18 01:08:13 -07:00
Benjamin Summers
24bc28e834 Hooked up a remote terminal, it runs but doesn't work yet. 2019-09-18 00:24:10 -07:00
Benjamin Summers
4c3342f9c6 External terminals get added to the demuxed terminal set. 2019-09-17 23:59:07 -07:00
Benjamin Summers
09b30bf169 Collect terminal size. 2019-09-17 23:58:42 -07:00
Joe Bryan
865e5b9592 u3: adds comments to inner hashtable struct definitions 2019-09-17 23:41:18 -07:00
Benjamin Summers
cd07b10946 Impement basic support for multiple terminals pretending to be one terminal. 2019-09-17 23:17:54 -07:00
Benjamin Summers
ebf3d3e5c6 Move terminal client API into it's own module. 2019-09-17 22:22:19 -07:00
Benjamin Summers
4fdfab66df Minor 2019-09-17 22:06:40 -07:00
Benjamin Summers
99dd161b86 Simplify term interface. 2019-09-17 22:01:44 -07:00
Benjamin Summers
c4be3e4a19 Terminal loop cleanup. 2019-09-17 21:41:31 -07:00
Benjamin Summers
1523241b82 Got tests working again. 2019-09-17 20:33:38 -07:00
Benjamin Summers
da7190008c Move top-level into it's own module. 2019-09-17 20:14:49 -07:00
Benjamin Summers
4214ee45ac Merge branch 'king-haskell' of github.com:urbit/urbit into king-haskell 2019-09-17 20:01:34 -07:00
benjamin-tlon
5939737c43
Merge pull request #1744 from urbit/king-spinner
Terminal spinner implementation in King Haskell.
2019-09-17 19:56:43 -07:00
benjamin-tlon
91b969a931
Merge pull request #1746 from urbit/king-boot-pb
Makes a progress bar on booting a new ship.
2019-09-17 19:56:26 -07:00
Benjamin Summers
0b667d8073 Merge branch 'king-haskell' of github.com:urbit/urbit into king-boot-pb 2019-09-17 19:54:08 -07:00
Benjamin Summers
2e5b1de297 Added dhall config sketch. 2019-09-17 19:50:11 -07:00
Benjamin Summers
26f5964ef7 Move lockfile logic into it's own file. 2019-09-17 19:45:51 -07:00
Joe Bryan
8059d10957 u3: adds u3h_take/with hashtable road promotion 2019-09-17 18:31:43 -07:00
Joe Bryan
1d955d67b4 u3: adds u3h_uni hashtable merge 2019-09-17 18:29:33 -07:00
Joe Bryan
b910d178a4 u3: moves u3_put immediately after internals 2019-09-17 18:28:06 -07:00
Joe Bryan
3680c5e7cb u3: refactors hashtable allocations 2019-09-17 18:27:50 -07:00
Joe Bryan
8338345ac7 u3: adds macros for (most) hashtable shifts and bit-tests 2019-09-17 18:27:50 -07:00
Joe Bryan
a96928ad53 u3: refactors u3h_gut internals to more closely match u3h_git 2019-09-17 18:27:44 -07:00
Joe Bryan
225fba3d19 u3: fixes up whitespace in hashtable initializations 2019-09-17 14:28:57 -07:00
Joe Bryan
408eb0afcf u3: consistently uses u3k/u3z in hashtable 2019-09-17 14:22:03 -07:00
Elliot Glaysher
7c6a3c2300 Make king shutdown cleanly on a new line.
This makes canceling the persistance thread not rethrow an exception
which kills the process, and makes the terminal driver write one
final newline before giving control back to the terminal so the
bash prompt writes to its own line.
2019-09-17 14:00:54 -07:00
Elliot Glaysher
efa396ed82 Makes a progress bar on booting a new ship.
Also prints the name of the ship you're trying to boot, along with
whether its a fake or not. Also fixes a regression where we were
trying to acquire a lockfile before the pier directory was created.
2019-09-17 11:56:54 -07:00
Jared Tobin
07fcbd6d29
Merge branch 'pp/rm-nest-find' (#1643)
* pp/rm-nest-find:
  jets: rename ut_find.c -> ut_fond.c
  jets: rm nest (keep dext); find was dead code

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-17 14:05:40 -02:30
pilfer-pandex
5c93964d88
jets: rename ut_find.c -> ut_fond.c 2019-09-17 14:02:16 -02:30
pilfer-pandex
42b3be3232
jets: rm nest (keep dext); find was dead code 2019-09-17 14:01:56 -02:30
Jared Tobin
b80077906d
Merge branch 'bs/serf-dups-file-descriptors' (#1730)
* bs/serf-dups-file-descriptors:
  worker: also replaces fd 0/1 so we don't accidentally re-use them
  worker: dup({0,1}) on serf start to prevent accidental use of stdin/stdout.

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-17 13:41:36 -02:30
Joe Bryan
1af7df7bb4
worker: also replaces fd 0/1 so we don't accidentally re-use them 2019-09-17 13:17:26 -02:30
Benjamin Summers
14a5507a93
worker: dup({0,1}) on serf start to prevent accidental use of stdin/stdout. 2019-09-17 13:17:23 -02:30
Elliot Glaysher
c7945689d2 Terminal spinner implementation in King Haskell.
This gets a terminal spinner to spin after a short delay like in
vere. This also fixes a bug in termRefreshLine which was screwing
up redisplay of the terminal spinner; it hadn't been translated
from C properly.
2019-09-16 16:51:17 -07:00
Elliot Glaysher
721945d1ba
Merge pull request #1740 from urbit/king-cleanup
Further terminal fixes and cleanups
2019-09-16 14:49:09 -07:00
benjamin-tlon
63891a5d61
Merge pull request #1731 from urbit/bs/kh-pidfile
Lockfile
2019-09-16 14:39:37 -07:00
Elliot Glaysher
350e9a8f5b 80 characters + golf 2019-09-13 13:06:13 -07:00
Elliot Glaysher
229870e0cc Fix atom putfiles + do unicode accumulation correctly. 2019-09-13 11:46:03 -07:00