Commit Graph

1097 Commits

Author SHA1 Message Date
Elliot Glaysher
1cca039b6f First part of the code review with Ben. 2019-10-09 14:58:27 -07:00
Elliot Glaysher
a511b3aba8 Stubbed comet mining 2019-10-09 13:39:11 -07:00
Elliot Glaysher
e1ef550ffc Further fake mode cleanups. 2019-10-09 10:25:11 -07:00
Elliot Glaysher
2ccf931cb8 Remove tracing code. 2019-10-08 16:53:07 -07:00
Elliot Glaysher
72ef261ebe Binds to INADDR_ANY on real ships.
This at least gets us to "~zod is ok" and "~zod is your neighbor",
along with the landscape welcome message from ~marzod. Persistent
connectivity has problems though.
2019-10-08 16:32:47 -07:00
Elliot Glaysher
26046b63ef Thread isFake bit to Ames and condition how we send messages on it. 2019-10-08 16:18:52 -07:00
Elliot Glaysher
8cd9c690db Use the same socket for sending and receiving. 2019-10-08 15:56:32 -07:00
Elliot Glaysher
872d4b1c76 WIP: Compiles, but appears to have broken fakezod/fakenec. 2019-10-08 15:01:16 -07:00
Elliot Glaysher
4a0c2f0393 Skeleton implementation of Ames with galaxy lookup.
Needs to be moved to RIO so that I can get logging data about this.
2019-10-08 13:04:21 -07:00
Elliot Glaysher
fcdc5904e8 General cleanup. 2019-10-04 13:47:05 -07:00
Elliot Glaysher
bf8a00d8dc Retrieve entire sponsorship chains.
This retrieves the point data for not just the immediate sponsor,
but for the whole sponsorship chain. (For a moon: [galaxy star
planet], for a planet: [galaxy star], and so on.)
2019-10-04 11:54:25 -07:00
Elliot Glaysher
93e3a2e0e8 Start working through %dawn differences on a comet.
I booted a comet with vere, had it dump its keyfile, and then went
through `stack run king -- new` with that keyfile. Things were
fairly close, but there's still more to do here.

This fixes the turf uniqueness issue and makes us do less work for
things that vere didn't bother making real, like ownership
information.
2019-10-03 16:39:16 -07:00
Elliot Glaysher
6235f87579 Can now print a vere %dawn event in king's event browser. 2019-10-03 15:51:34 -07:00
Elliot Glaysher
b95c354ba3 Hook up the lite mode flag. 2019-10-03 15:41:19 -07:00
Elliot Glaysher
fbe0a78db5 Merge remote-tracking branch 'origin/king-haskell' into king-dawn 2019-10-03 15:41:09 -07:00
Elliot Glaysher
ea431e18ad Merge remote-tracking branch 'origin/master' into king-haskell
This adds minor changes to king haskell to support the new boot
event structure.
2019-10-03 11:11:27 -07:00
Jared Tobin
8920bf0dc5
meta: update contributing section in arvo readme [ci skip]
The subtree in pkg/arvo apparently still has a README in it, which had
gotten only slightly out of sync with the overall project README.  This
commit updates its 'contributing' section to point at the appropriate
contributing document.
2019-10-03 14:39:14 +04:00
Elliot Glaysher
4be3829b68 Make TLS work and get the comet sponsor list. 2019-10-02 13:55:30 -07:00
Elliot Glaysher
dd4551c996 Fix the format of the %barn event 2019-10-02 11:53:52 -07:00
Elliot Glaysher
1dd90f310b Hook up the command line flags to the serf. 2019-10-02 11:50:03 -07:00
Elliot Glaysher
ea2be11f7c Fixes the crash on planet startup. 2019-10-01 16:22:27 -07:00
Elliot Glaysher
2dfa1606f4 Fix Dawn event to be the right shape. 2019-10-01 15:26:34 -07:00
Joe Bryan
22ddd4aeb5 arvo: clear caches in response to (high) memory pressure 2019-10-01 15:04:13 -07:00
Joe Bryan
ef959e0c52 gall: clear caches in response to memory pressure 2019-10-01 15:04:07 -07:00
Joe Bryan
1e9cc07649 eyre: close channels in response to memory pressure 2019-10-01 15:04:03 -07:00
Elliot Glaysher
0de09bb97b Reorganize the king new command line flags to boot from keyfiles.
(Ships booted from keyfiles are still in an invalid dill state.)
2019-10-01 14:44:14 -07:00
Elliot Glaysher
16440eaeb5 Fix TermEfInit so it takes a Ship instead of null 2019-10-01 11:36:46 -07:00
Joe Bryan
8ff445c68c ford: clear caches in response to memory pressure 2019-10-01 11:35:08 -07:00
Elliot Glaysher
d96bf9bb52 Booting fake ships other than zod 2019-10-01 11:23:34 -07:00
Logan Allen
ee92862785 hood: start up groups and permissions 2019-09-30 16:43:09 -07:00
Logan Allen
4b01718d76 apps: added group/permission stores, hooks, marks 2019-09-30 14:46:07 -07:00
Jared Tobin
21c3119660
gall: remove %gall-booting printf
%gall currently prints

  [%gall-booting <app> p=<ship> q=<desk>]

whenever it receives a %conf (i.e., when it boots an app).  This turns
up in many of the places the old, less-informative '%mo-not-running'
printf did, but it's of similarly little use, and mainly serves to
create redundant line noise.  This commit just removes it.
2019-09-30 01:58:28 +04:00
Logan Allen
166465af59
zuse: added path, tank, string utils to en/dejs 2019-09-30 01:31:46 +04:00
Jared Tobin
b330fb4a8d
Merge branch 'safe-memo' (#1780)
* safe-memo:
  u3: refactors memoization patterns for safer rc

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-30 00:50:30 +04:00
Jared Tobin
2add146302
Merge branch 'reclamation' (#1773)
* reclamation:
  solid pill
  arvo: wires up %trim memory-pressure event stubs
  u3: wires up the %trim event in the daemon
  u3: adds %trim memory-pressure notification "effect"
  u3: tweaks |mass output (and fixes inadvertent truncation)
  u3: refactors periodic memory reclamation
  u3: factors out u3a_idle() to measure free-lists in a road
  u3: adds and uses u3a_full/heap/temp road macros
  u3: cleans up whitespace, removes dead code in allocator
2019-09-29 21:30:56 +04:00
Jared Tobin
5c99f33271
Merge branch 'ted/verb' (#1754)
* ted/verb:
  update pill
  hood: |knob {tag} {level} to set dill verbosity
  dill: set verbosity by error tag
2019-09-29 21:09:05 +04:00
Ted Blackman
0bf9e98d08
hood: |knob {tag} {level} to set dill verbosity 2019-09-29 20:45:10 +04:00
Joe Bryan
9896f3d16f u3: refactors memoization patterns for safer rc
specifically, avoiding uncounted references when
memoizing in the compiler
2019-09-27 17:02:27 -07:00
Elliot Glaysher
51126ec1d4 Make the Behn tests less noisy. 2019-09-27 13:21:07 -07:00
Joe Bryan
3dd9bd7111 arvo: wires up %trim memory-pressure event stubs 2019-09-27 13:02:11 -07:00
Joe Bryan
7a62373308 u3: wires up the %trim event in the daemon 2019-09-27 13:02:11 -07:00
Joe Bryan
c5ab5c6c5b u3: adds %trim memory-pressure notification "effect" 2019-09-27 13:02:11 -07:00
Joe Bryan
a0cab6c8ed u3: tweaks |mass output (and fixes inadvertent truncation) 2019-09-27 13:02:11 -07:00
Joe Bryan
e51ba034d2 u3: refactors periodic memory reclamation
and adds clarifying comments to u3m_reclaim()
2019-09-27 13:02:11 -07:00
Joe Bryan
b75b418e25 u3: factors out u3a_idle() to measure free-lists in a road 2019-09-27 13:02:11 -07:00
Joe Bryan
ca2671947b u3: adds and uses u3a_full/heap/temp road macros 2019-09-27 13:02:11 -07:00
Joe Bryan
a2732a35b6 u3: cleans up whitespace, removes dead code in allocator 2019-09-27 13:02:11 -07:00
Elliot Glaysher
a80b8fc8ee Don't write files to disk during testing.
While doing our golden testing, we shouldn't write result files to
the filesystem. They are temporary and can fail. Use the in memory
comparisson function instead.
2019-09-27 11:09:10 -07:00
Ted Blackman
f2073dbc34 dill: set verbosity by error tag 2019-09-27 13:55:14 -04: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