Commit Graph

227 Commits

Author SHA1 Message Date
Benjamin Summers
6a450b93b9 king: Rename king package to urbit-king. 2020-01-23 21:20:43 -08:00
Benjamin Summers
fd4d7b9ba4 Merge branch 'king-haskell' of github.com:urbit/urbit into philip/king-replay 2020-01-23 18:57:22 -08:00
Benjamin Summers
c91e0a678f Merge branch 'king-haskell' of github.com:urbit/urbit into king-auto-connect 2020-01-23 01:49:18 -08:00
Benjamin Summers
27c0750796 Clean up Urbit.Atom and move it into it's own package. 2020-01-23 01:45:30 -08:00
Benjamin Summers
ad5f40efff Merge branch 'king-haskell' of github.com:urbit/urbit into king-auto-connect 2020-01-22 20:29:59 -08:00
Benjamin Summers
f1cd1bf750 Module structure, doc strings 2020-01-22 20:16:09 -08:00
Benjamin Summers
7721bae18f Bump stackage version. 2020-01-22 19:08:50 -08:00
Benjamin Summers
f0892436ff Got docs to build. 2020-01-22 18:58:22 -08:00
Isaac Visintainer
b5c24eeadb king haskell: automatically connect to terminal when running a ship 2020-01-10 16:39:31 -08:00
Philip Monk
8a8341a783
king: add partial-replay and --dry-from
partial-replay allows you to replay up to event N and make a checkpoint
there.  --dry-from replays to event N and then starts in dry-run mode
from that point, so you can attach a console.

The intended debug flow is to use partial-replay to make a checkpoint
near when a bug is triggered, then use event-browser and --dry-from to
drill down and find exactly what triggered the bug.

Unfortunately, if the bug was triggered by crash handling, you do not
have the original event, only the injected replacement event.  This is
still useful, though.
2020-01-10 14:19:08 -08:00
Benjamin Summers
06934959ca Make sure we close HTTP sockets on close (or reconfigure). 2019-12-21 18:24:54 -08:00
Benjamin Summers
2e8defccc1 Hack around terminfo database problem. 2019-12-21 07:55:24 -08:00
Benjamin Summers
5d66c39d02 Fixed bug in HTTP Server (only first block from stream was handled). 2019-12-20 13:47:20 -08:00
Benjamin Summers
5dd3cdde91 Logging for event sourced responses. 2019-12-20 12:59:01 -08:00
Benjamin Summers
ba83024c9e Cleanup port binding logic. 2019-12-20 12:58:16 -08:00
Benjamin Summers
f7e0e22ce7 Allow remote HTTP connections. 2019-12-19 14:20:04 -08:00
Benjamin Summers
921718c6f4 Try to open normal ports 80/8080/443/etc before just opening some fucking port. 2019-12-19 13:20:31 -08:00
Benjamin Summers
03131c1400 Fix HTTP server effect parse errors. 2019-12-19 11:30:09 -08:00
Benjamin Summers
44d477dff8 Hacked terminal-progress-bar to use RIO.logSticky for better interaction with log output. 2019-12-19 10:21:23 -08:00
Benjamin Summers
ef6d0cc189 Vendored terminal-progress-bar. 2019-12-19 09:40:21 -08:00
benjamin-tlon
fcae7e6587
Build Linux static executables. (#2120) 2019-12-19 08:11:59 -08:00
Benjamin Summers
e6d8d382dc Moved *.hs into a single package. 2019-05-08 13:00:12 -07:00
Benjamin Summers
fbf9a1b3fc Urbit.Time 2019-05-08 11:47:20 -07:00
Benjamin Summers
4b38053509 Behn 2019-05-05 14:46:40 -07:00
Benjamin Summers
25713052c0 Messing around. 2019-05-01 19:19:19 -07:00
Benjamin Summers
87dbcef866 Minor cleanup. 2019-04-29 16:15:25 -07:00
Benjamin Summers
ac8144114b Some Haskell. Now how to build with nix? 2019-04-29 16:01:18 -07:00