Commit Graph

14562 Commits

Author SHA1 Message Date
Philip Monk
a7a3790346 kelvin: bump to 139 2023-01-13 16:12:35 -07:00
Philip Monk
cdaae65786 dojo: mule calls to doccords 2023-01-12 13:53:15 -07:00
Philip Monk
0119eef28d Merge branch 'next/arvo' into jon/doccords 2023-01-12 13:14:06 -07:00
Philip Monk
3efce771d5 kiln: add once flag to |install
It's often useful to |merge a desk, but if you're still getting updates
from your sync source, you may get overwritten in the future.  In this
case, you want to merge and clear the sync source.  With this change,
you can do this with:

```
|install ~ship %desk, =once &
```
2023-01-12 12:38:28 -07:00
Philip Monk
e306d32c74 Revert "Merge pull request #6039 from tadad/da/apt-in"
This reverts commit 31bb93846c, reversing
changes made to 7940dd442b.

Reverting because we can't upgrade jetted code without ensuring the jets
change in lockstep.
2023-01-11 15:12:11 -07:00
Philip Monk
7bbcceebaf hoon: typo 2023-01-11 14:47:13 -07:00
Philip Monk
f36591493c kelvin: landscape is only compatible with 416 2023-01-11 14:44:55 -07:00
Philip Monk
3d177369c0 kelvin: webterm is not compatible with 417 2023-01-10 16:41:16 -07:00
Philip Monk
7ef91f5218 kelvin: for apps, add compatibility with 417 2023-01-10 15:13:00 -07:00
fang
b78902c30e
Merge branch 'next/dill' into next/arvo 2023-01-10 20:22:29 +01:00
fang
5b160f0c74
zuse: bump kelvin to 416
And lull to 327.
2023-01-06 23:31:16 +01:00
fang
9a4e6d0f8e
webterm: v1.1.0
Compatibility with dill changes. Sessions support.
2023-01-06 14:04:59 +01:00
Philip Monk
9031128759
Merge pull request #6047 from bacwyls/team_patch
zuse: change team:title to return false for moons
2023-01-05 15:23:03 -07:00
Zach Alberico
53b429fe46
Merge branch 'next/arvo' into m/ruin-louder 2023-01-05 14:17:13 -08:00
Zach Alberico
5148399c1e
Merge branch 'next/arvo' into jon/remove-plat 2023-01-05 14:12:32 -08:00
fang
5a284197bf
Merge branch 'next/dill' into m/drum-sessions 2023-01-05 22:23:20 +01:00
fang
0af037571e
Merge branch 'next/arvo' into next/dill 2023-01-05 22:20:02 +01:00
fang
d384b01e7f
Merge branch 'master' into next/arvo 2023-01-05 22:13:43 +01:00
drbeefsupreme
5b99f74c94 hoon: remove deprecated lustar parser
See #6052. This is completely different from the +* used at the top
of doors, and has almost entirely been replaced by |$. The exception is
the use of the `%made` spec, not present in `|$`. I do not see an
obvious way to change `|$` to use `%made` since this `+*` parser uses
the name of the arm in the `%made` structure, unless we change the
AST of |$.
2023-01-04 18:33:47 -05:00
Hunter Miller
2506fb85f8
Merge pull request #6157 from urbit/lf/rebuild-wait-2
group-store: allow rebuilding .wait state
2023-01-04 13:10:00 -06:00
Hunter Miller
9316aebec7 group-store: only run rebuild once 2023-01-04 12:40:18 -06:00
fang
41f08b30b3
sole: update sole-action mark wrt recent changes
It was not properly accounting for the sole-id type change.
2023-01-04 19:10:46 +01:00
fang
ff84878c8b
lens: update for sole protocol changes
Dojo had also been incorrectly updated, assuming the type of
%lens-command changed to match. Since lens should only ever be used for
running commands on the local ship (and even that being contentious (; ),
we simply auto-fill the sole session id with the local ship name.
2023-01-04 19:10:33 +01:00
Hunter Miller
563aed6b7f group-store: automatically run rebuild on load 2023-01-04 11:17:44 -06:00
drbeefsupreme
d5bf903f56 Merge branch 'next/arvo' into jon/doccords 2023-01-04 10:22:17 -05:00
Hunter Miller
936835cd0c groups-store: fixing wire check for leaves 2023-01-03 18:50:05 -06:00
Hunter Miller
264678a908 group-store: correct target 2023-01-03 18:17:02 -06:00
Hunter Miller
4e3698f327 group-store: instead of only watching missing, restart any migration subscriptions that might be bad 2023-01-03 17:47:26 -06:00
tomholford
0f5433c014 Merge branch 'master' into next/groups 2023-01-03 14:16:28 -08:00
Philip Monk
0da6127ee4 Merge branch 'master' into next/arvo 2023-01-03 11:40:37 -07:00
Philip Monk
f230e2ec2d Merge commit 'eb324b4fa4c2b08c76317601c88708c624f98c70' 2023-01-03 11:39:08 -07:00
Philip Monk
2f17a17406 Revert "wip"
This reverts commit 0e16d82a46.
2023-01-03 11:37:43 -07:00
Philip Monk
56ceee5006 Revert "Merge pull request #6171 from urbit/jb/release/vere"
This reverts commit 21f7023198, reversing
changes made to 1e09188065.
2023-01-03 11:24:54 -07:00
fang
36731f92e7
Merge branch 'next/dill' into m/drum-sessions
Also cleans up some remaining merge artefacts.
2023-01-03 19:08:41 +01:00
fang
ea3c64de79
king: clean up merge artefacts 2023-01-03 19:02:09 +01:00
fang
721fa05519
Merge branch 'next/arvo' into next/dill 2023-01-03 18:56:33 +01:00
fang
ceafb37042
vere: remove trailing newlines from u3l_log calls
As of dc2c990 these are redundant. See also 9631be6.
2023-01-03 17:36:37 +01:00
fang
a15111a35c
Merge branch 'next/arvo' into m/drum-sessions 2023-01-03 17:19:32 +01:00
fang
fb9fd34956
Merge branch 'master' into next/arvo 2023-01-02 22:42:32 +01:00
Joe Bryan
eb324b4fa4 vere: bumps version 2022-12-20 18:55:39 -05:00
Joe Bryan
9a16d670e6
Merge branch 'master' into jb/release/vere 2022-12-16 23:07:10 -05:00
drbeefsupreme
d7edbd63da hoon: doccordsify hoon.hoon comments
making hoon.hoon more legible to doccords. also moving some things
around that seemed to be in the wrong place
2022-12-16 15:47:09 -05:00
drbeefsupreme
3da062594e hoon: sweeten =+ foo |@ ++ $ bar -- patterns
|*  foo  bar is sugar for =+  foo  |@  ++  $  bar  --, and newbies find
the old style confusing. this switches out the |@ pattern for the |*
one, at least in layer <=4. the only ones remaining are +toad, +rune,
and +runo, which are already tweaked in #5873 so we omit them here.
2022-12-16 12:46:13 -05:00
Joe Bryan
4e9de85aba vere: refactors http server init for better error messages 2022-12-16 11:17:53 -05:00
Joe Bryan
1f84fcf262 vere: fix queu short-args parsing 2022-12-16 10:00:22 -05:00
Joe Bryan
aa83de5e8b vere: bumps version 2022-12-16 00:52:19 -05:00
Joe Bryan
4b5494fb85 vere: fix "queu" command argument parsing 2022-12-16 00:34:54 -05:00
Joe Bryan
4d08d874c6 vere: make full replay (play -f) command bypass corruption 2022-12-16 00:34:15 -05:00
Joe Bryan
f095679e02
Merge pull request #6167 from joemfb/ctrl-z-replay
vere: support ctrl-z in play command
2022-12-15 22:04:33 -05:00
Joe Bryan
124aec68ad term: skip prompt refresh on ^c under -t 2022-12-15 21:48:34 -05:00
Joe Bryan
8671d3091d u3: make the fault handler robust against initialization reorder 2022-12-15 21:26:30 -05:00
Joe Bryan
f7fd944e02 mars: cleanup event log on exit 2022-12-15 21:22:54 -05:00
Joe Bryan
f4235ebc91 vere: handle ctrl-z like ctrl-c in play command 2022-12-15 21:22:36 -05:00
Zach Alberico
a2173f1eb3
Merge branch 'next/arvo' into lf/ames-snub 2022-12-15 17:40:04 -08:00
Zach Alberico
0153d11972
Merge branch 'master' into lf/rebuild-wait-2 2022-12-15 17:36:44 -08:00
Zach Alberico
e60e15b022 Merge remote-tracking branch 'origin/master' into merge/master-to-next 2022-12-15 14:04:02 -08:00
Zach Alberico
fd766faa03 Fix build break typo in azimuth
Fixes typo introduced in 0e16d82a46
2022-12-15 13:21:19 -08:00
drbeefsupreme
4d084005d7 dprint: call $ arms $ arms 2022-12-15 15:06:02 -05:00
drbeefsupreme
835428d820 dprint: cut off signatures of length >= 3
anytime a gate prints with a complicated sample or product type it is
frequently extremely long. 3 is probably too low of a cutoff number, but
ideally a future version will have verbosity settings that will help
control this.
2022-12-15 15:04:33 -05:00
Liam Fitzgerald
c0be44f790 helm: add ames passthrough for %snub 2022-12-15 13:47:36 -06:00
Liam Fitzgerald
14baf6f3d6 ames: add %snub functionality
Adds .snub to ames-state, a global blocklist for ships. If a packet is
received from a ship that is in the .snub set, it is immediately
dropped. Adds %snub to ames' $task, to allow manipulating this list
2022-12-15 13:37:14 -06:00
drbeefsupreme
e04262ed2d hoon: swap ?. for ?: on +loaf and +loan
no idea how this ended up happening, but apparently it was my fault.
2022-12-15 14:24:38 -05:00
Joe Bryan
e0320ddfc2 vere: bumps version 2022-12-15 14:18:56 -05:00
Joe Bryan
8e677537c0 mars: fix bail:meme retry counter 2022-12-15 14:10:22 -05:00
drbeefsupreme
517945c582 hoon: remove $plat
$plat was a type of $plot added in
bc6ad0456d

plots are no longer a thing, so
neither should be plats.
2022-12-14 20:43:39 -05:00
drbeefsupreme
44aa90c9ad hoon: remove +hint:ax
all this did was set .nut. while it could be used with doccords, it is
currently unused, and none of the other values in the sample of _ax are
set this way (bug, def, cox, hay, dom). i experimented a little bit with
trying to make use of this but it made things overall more unreadable,
and it wouldn't make sense to do it without doing the same for other
values of the sample. im guessing this is just an old style.
2022-12-14 20:27:08 -05:00
Joe Bryan
a7880717e3 vere: adds --auto-meld for play subcommand 2022-12-14 18:30:09 -05:00
Joe Bryan
3843c6090f vere: adds full replay option to play subcommand 2022-12-14 17:47:40 -05:00
Joe Bryan
82d5738df4 vere: adds dedicated replay command: play 2022-12-14 17:47:40 -05:00
Joe Bryan
67ef11117f vere: updates command docs 2022-12-14 17:47:39 -05:00
Joe Bryan
c15b822087 mars: adds replay implementation 2022-12-14 17:47:39 -05:00
Joe Bryan
a5362f2af0 vere: ports u3_disk_read_list() 2022-12-14 17:47:39 -05:00
Joe Bryan
9daab2fd5a vere: ports synchronous event log iterator 2022-12-14 17:47:33 -05:00
Joe Bryan
99a8ccda7b vere: ports synchronous lmdb iterator 2022-12-14 17:47:33 -05:00
Joe Bryan
91f7818ab7 vere: factors out sift/etch functions event serialization 2022-12-14 17:47:33 -05:00
Joe Bryan
5a775d1c79 u3: ports meld measurement printfs 2022-12-14 17:47:33 -05:00
Joe Bryan
fdafdf1f12 u3: ports new arvo invocations for boot and +poke 2022-12-14 17:47:33 -05:00
Joe Bryan
535c49d2db u3: factors out |mass-style memory measurement 2022-12-14 17:47:33 -05:00
Joe Bryan
5d4142eff8 u3: ports minor noun/ cleanup 2022-12-14 17:47:21 -05:00
drbeefsupreme
68c2ab5e25 hoon: fix .nut comment
notes aren't just for doccords, of course
2022-12-14 16:25:04 -05:00
drbeefsupreme
25dba7e672 hoon: remove extra hoon casts in +decorate
everything appears to work fine without them and I don't think it is any
less unclear what this gate is doing.
2022-12-14 16:02:41 -05:00
Liam Fitzgerald
4df4a16881 group-store: add %rebuild poke 2022-12-14 13:29:17 -06:00
Liam Fitzgerald
48978bd940 group-store: allow rebuilding 2022-12-14 12:46:36 -06:00
fang
94dd77bb0e
jael: also send %ruin breaches to catch-all subs
Previously, fake breaches triggered by a %ruin task would only get sent to
subscribers watching for the affected ship specifically. Now, we send them to
both those subscribers, and the ones watching for pubkey changes on all ships.
2022-12-13 23:52:10 +01:00
Joe Bryan
a8dadedebf vere: bumps version 2022-12-13 11:22:13 -05:00
Joe Bryan
af8607fde4 u3: adds comments to road pave implementations 2022-12-13 00:23:47 -05:00
Joe Bryan
ebf0ab49af u3: adds facade for u3e_ward(), refactors watermarks 2022-12-13 00:23:47 -05:00
Joe Bryan
973cea6d91 u3: refactors u3e_save() facade and watermark calculations 2022-12-13 00:23:47 -05:00
Joe Bryan
c3821c3325 u3: adds facade for u3e_fault(), refactors error handling 2022-12-13 00:23:45 -05:00
Joe Bryan
d043a42128 u3: reimplements guard page w/out posts 2022-12-13 00:09:09 -05:00
Joe Bryan
4659b92d26 u3: factors out individual page protections 2022-12-13 00:09:01 -05:00
Joe Bryan
9fe6f3dde0 u3: refactors loom protect-south page-length calculation
blah
2022-12-13 00:07:56 -05:00
Joe Bryan
e378b497cb u3: fixes compile-time conditionals around guard page impl 2022-12-13 00:07:55 -05:00
Joe Bryan
54e591b719 u3: simplifies u3e_live() signature 2022-12-13 00:07:55 -05:00
Joe Bryan
12229a50e8 u3: adds snapshot facade to manage.c 2022-12-13 00:07:52 -05:00
Philip Monk
e1419d1787 contact-store: no-op if adding old contact
%contact-store is responsible for sending updates about contacts, eg
profile color.  When it hears an update, it fans that out to its
subsribers, unless that update is stale.  If you reguarly fan out stale
updates, then they reverberate across the network indefinitely -- we
call this "echoing".

To cut off this echoing, all edits have a timestamp, and we consider any
updates from before this timestamp to be stale.  Additions are separate
from edits, and for them we instead do a value comparison on the contact
-- if it didn't change, we consider the update stale.

The problem with this scheme is that if an addition and edit happen one
after the other in quick succession, you might have the following
sequence:

- add comes in with timestamp T1
- edit comes in with timestamp T2 after T1
- we hear an echo of the add, and that errantly applies because it
  passes our "did the contact actually change" check
- we hear an echo of the edit, which applies because T2 is after T1
- GOTO 3

Each time we apply the stale update, we fan that out to our subscribers,
and if any two hosts subscribe to each other, this will loop.  This may
even loop unconditionally because the ship that made the profile changes
seems like it might not recognize that those changes didn't come from
itself, so it sends them to all the groups it's in.  If so, that's an
important issue to fix.

Fixes tloncorp/landscape-issues#1442
2022-12-12 13:03:41 -07:00
Joe Bryan
5726f08da8 u3: simplifies road stack adjustment after snapshot load 2022-12-09 23:41:45 -05:00
Joe Bryan
f5fdaa2781 u3: automatically place the guard page in u3e_live() 2022-12-09 23:41:45 -05:00
Joe Bryan
39d0250afa u3: move directory creation out of events.c 2022-12-09 23:41:42 -05:00
Joe Bryan
bceb9cde4a u3: stop using u3P.dir_c outside of events.c 2022-12-09 23:41:42 -05:00