Commit Graph

27 Commits

Author SHA1 Message Date
Benjamin Summers
b5919df50d Remove SDL dependency. 2019-12-10 22:38:35 -08:00
Benjamin Summers
624e054be4 Actually use lmdb-static package plus don't build all deps. 2019-12-10 22:06:43 -08:00
Elliot Glaysher
8a09262092 Separate the config into pier and network sections.
Make the ames tests compile again, reading from a test instance of
HasNetworkConfig without phony HasPierConfig data.
2019-10-22 11:25:04 -07:00
Elliot Glaysher
29a471c3df Default to the bootstrap pill of the current urbit version.
Also set the version number of king in lockstep with vere.
2019-10-16 16:03:02 -07:00
Elliot Glaysher
a14b6e06d3 Boot from mined comets in king.
This makes the comet mining code actually work. You can now run
king with `new --comet` to mine a new comet and get it on the
network. Mining appears to be significantly faster; I've had to
wait up to 20 minutes with vere, but I've never needed to wait more
than 30 seconds with king.
2019-10-10 13:45:01 -07:00
Elliot Glaysher
a511b3aba8 Stubbed comet mining 2019-10-09 13:39:11 -07:00
Elliot Glaysher
4be3829b68 Make TLS work and get the comet sponsor list. 2019-10-02 13:55:30 -07:00
Elliot Glaysher
1c683b3d97 Merge remote-tracking branch 'origin/king-haskell' into king-dawn
Does a few small fixups for compilation and to make sure things
still work.
2019-09-27 10:30:26 -07:00
Benjamin Summers
b8106bc427 Wrote a golden test for map/set conversions. 2019-09-26 16:03:25 -07:00
Benjamin Summers
ee0def33f5 Haskell <-> Hoon conversions for map and set. 2019-09-26 13:29:19 -07:00
Elliot Glaysher
8b46d2dfc8 Switched from cryptonite to ed25519; key derivation works now! 2019-09-25 14:26:51 -07:00
Elliot Glaysher
676a8ee6a6 WIP: Use edwards curve point types from Crypto.ECC.Edwards25519
This changes Pass to decode the Ed.Point directly in the type,
instead of having the packed Atom representation or raw ByteStrings.
Added conversion quickchecks and also decoded data off the Ethereum
contracts.
2019-09-24 14:01:39 -07:00
Elliot Glaysher
87a9f4e667 Can retrieve the ames domains from Ethereum using web3.
Partial support for retrieving the galaxy table, but I'm having
problems converting the public key type.
2019-09-19 15:40:23 -07:00
Benjamin Summers
09b30bf169 Collect terminal size. 2019-09-17 23:58:42 -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
Elliot Glaysher
721945d1ba
Merge pull request #1740 from urbit/king-cleanup
Further terminal fixes and cleanups
2019-09-16 14:49:09 -07:00
Elliot Glaysher
229870e0cc Fix atom putfiles + do unicode accumulation correctly. 2019-09-13 11:46:03 -07:00
Benjamin Summers
707c546cda Implemented lockfile with correct handling of SIGINT (^C) and SIGTERM (send by kill). 2019-09-12 23:55:10 -07:00
Elliot Glaysher
860f59d46f Display a progress bar on startup when we have to replay the log.
Use the terminal-progress-bar package to display a progress bar
during replay, when there are jobs that need to be replayed. Bumps
the lts resolver so we get access to this package.
2019-09-12 12:49:27 -07:00
Elliot Glaysher
25450d5ac8 Merge remote-tracking branch 'origin/bs/uterm' into eg/uterm 2019-09-03 16:45:45 -07:00
Benjamin Summers
e5c0174800 Some preliminary work on static linking. 2019-08-30 01:57:05 -07:00
Benjamin Summers
ec372efb31 Wrote hacky websocket client/server for terminal driver.
Using websockets because it would be nice to eventually have a terminal
in the Electron client.

This is prototype-quality code. Using the built-in client/server from the
`websockets` package, but that's just for testing.
2019-08-30 00:56:28 -07:00
Elliot Glaysher
cdcdc6a59e Merge remote-tracking branch 'origin/bs/king-logging' into eg/uterm 2019-08-29 10:30:53 -07:00
Elliot Glaysher
555b9e7dcf Moved terminal initialization up to Pier.
Joe told me to look at the Jaque terminal and I just did. That uses
the Lanterna Java library to handle terminal output. Joe then suggested
that I move the entire system here to curses or another similar library.
2019-08-28 13:17:01 -07:00
Benjamin Summers
c1bb26e628 Logging in Vere.Pier 2019-08-28 04:45:49 -07:00
Benjamin Summers
360d166344 Started RIO's logging system instead of printfs. 2019-08-28 04:00:26 -07:00
Benjamin Summers
55ceffc4c3 CLI parsing. 2019-08-12 21:57:30 -07:00