Commit Graph

3437 Commits

Author SHA1 Message Date
Joe Bryan
181b1fbdb6 hoon: (and %zuse) use +run and +rut where appropriate 2020-12-01 18:26:18 -08:00
Joe Bryan
3f71826d6b hoon: adds atom map gates +run and +rut 2020-12-01 18:19:07 -08:00
Joe Bryan
12bf28e2c8 hoon: adds +sew, inverse of +cut 2020-12-01 18:15:26 -08:00
Joe Bryan
0420dad443 hoon: removes +repn and +ripn 2020-12-01 18:11:59 -08:00
Liam Fitzgerald
4e9c13834c
channel.js: address L review 2020-12-02 12:09:26 +10:00
Joe Bryan
b27806769e hoon: updates +rep and +rip to take a $bite 2020-12-01 17:52:43 -08:00
Joe Bryan
9bfc0e6492 hoon: adds $bite for atom slice specifiers 2020-12-01 17:14:10 -08:00
Joe Bryan
7a08067cf1 hoon: adds $step for bloq-sized atom offsets 2020-12-01 16:51:14 -08:00
Logan Allen
0007c5c097 Merge branch 'release/next-userspace' into la/archive-graph-on-leave 2020-12-01 16:41:26 -06:00
fang
03fd56e8cc
various: start threads with unit of tuple args
Instead of a list of arguments, with trailing ~.
2020-12-01 23:38:02 +01:00
Logan Allen
2760f79f66 group-on-leave thread: clean up contacts as well as everything else 2020-12-01 15:20:45 -06:00
Ted Blackman
635c09b6a7 tests: fix ames tests 2020-12-01 14:14:36 -05:00
Logan Allen
9e69cba237 group-on-leave: poke %graph-pull-hook to allow resubscription 2020-12-01 12:51:26 -06:00
fang
9545e8727e
dojo: correct mark conversion scry path
Fixes an instance that hadn't accounted for #3994 yet.
2020-12-01 16:55:19 +01:00
Ted Blackman
174f36f1a8 aqua/ph: fix comet test 2020-12-01 09:59:07 -05:00
Ted Blackman
c7b8ffbf4e ames: flat packet format 2020-12-01 09:51:14 -05:00
Liam Fitzgerald
9ee62a2e55
hark: rework unread tracking, again 2020-12-01 15:46:28 +10:00
Joe Bryan
096ef91f7a hood: fix obsolete syntax introduced in merge 2020-11-30 21:23:35 -08:00
Joe Bryan
072e2c8101 Merge branch 'm/vane-unversion' into m/modern-hoon
* m/vane-unversion:
  ames: remove old state versions & conversions
  gall: rename fading styles
  vanes: remove old load types and logic
  gall: refresh clay subscription on fade
  gall: add nonce to agent wires
  gall: add %doze-style fade
  gall: fade initial commit
2020-11-30 21:04:16 -08:00
Joe Bryan
409579398c Merge branch 'philip/clay-version' into m/modern-hoon
* philip/clay-version:
  jael: add version numbers
  gall: add version to over-the-wire protocol
  clay: cleanup protocol versions
2020-11-30 20:54:22 -08:00
Joe Bryan
97cb62bc45 Merge branch 'philip/fade' into m/vane-unversion
* philip/fade:
  gall: rename fading styles
  gall: refresh clay subscription on fade
  gall: add nonce to agent wires
  gall: add %doze-style fade
  gall: fade initial commit
2020-11-30 20:49:04 -08:00
Philip Monk
7e4d1a0a8b
jael: add version numbers
All over-the-wire requests should have version numbers.  This adds them
to Jael's +message.
2020-11-30 20:48:01 -08:00
Philip Monk
55de9ab0a9
gall: add version to over-the-wire protocol
All over-the-wire requests should have version numbers.  This adds them
to gall's +ames-request.
2020-11-30 20:12:43 -08:00
Joe Bryan
17f95c0cb6 Merge branch 'm/remove-ketcen' into m/modern-hoon
* m/remove-ketcen:
  u3: removes .fab from |ut hooks
  hoon: patch up +ax callsites
  u3: WIP removes fab:ut
  hoon: WIP remove fab:ut
  hoon: remove ^%
2020-11-30 20:08:17 -08:00
Philip Monk
350521853b
clay: cleanup protocol versions
+riff-any is all clay requests except "backfill" requests.  Change to
`$%` from `$^`, which was used to distinguish originally non-versioned
requests.

+fill is backfill requests and had no version number, so we add one.

We do not have version numbers on responses since those are implied by
the request.  If someone requests at version `n` and you're at `n+1`,
you must respond in the format of `n`.

If someone requests at version `n+1` and you're at `n`, you crash;
though possibly you should be able to respond with message "I only know
up to `n`", in which case they may be able to re-request at `n`.  In
either case, the version of the response is dictated by the request.
2020-11-30 19:25:12 -08:00
ixv
29850cdfa0
Merge pull request #4042 from urbit/ixv/aqua-azimuth
aqua: rework how it uses azimuth
2020-11-30 16:54:04 -08:00
Logan Allen
46fd3004bf %group-on-leave thread: simplified and got it to compile 2020-11-30 16:59:30 -06:00
Logan Allen
2a47b18be7 thread: remove group-leave-metadata 2020-11-30 16:33:48 -06:00
Logan Allen
1b0e19eb51 observe-hook: state-2 typo 2020-11-30 16:32:53 -06:00
Logan Allen
41e3af25b3 threads: collapse them into a single %group-on-leave thread 2020-11-30 16:30:20 -06:00
Logan Allen
6c26a01655 contact-view: remove (now) unnecessary metadata removal 2020-11-30 16:22:20 -06:00
Logan Allen
a6bf3ca924 observe-hook + thread: remove metadata when leaving a group 2020-11-30 16:20:26 -06:00
fang
d7c740b32a
jael: add %vile scry endpoint for current keyfile 2020-11-30 22:35:22 +01:00
Isaac Visintainer
5217a5c00e ph: add and modify some ph helper functions; adds new thread for booting/breaching in the new paradigm, as well as a helper thread for just starting drivers in case you want to manipulate aqua manually 2020-11-30 13:15:59 -08:00
Isaac Visintainer
e03a18bad3 aqua: update and add new generators 2020-11-30 13:15:59 -08:00
Isaac Visintainer
94bb140448 aqua: manage azimuth state within aqua itself rather than using a thread 2020-11-30 13:15:59 -08:00
Logan Allen
1aa9337301 leave-graph: emit %done upon failed poke-acks 2020-11-30 14:33:22 -06:00
Logan Allen
f2e20efcf0 observe-hook: compiles 2020-11-30 13:20:27 -06:00
Logan Allen
b4e66ec4ed thread: %group-leave-graph now compiles 2020-11-30 12:50:38 -06:00
fang
122123c11a
ames: remove old state versions & conversions 2020-11-27 13:55:21 +01:00
fang
732addadd3
various: touch up improperly rewritten comments
Also patches /mar/snip to be more correct, but a &snip [~ ~] in dojo
still does not work.
2020-11-27 13:25:40 +01:00
fang
a3c36f2e76
tests: update vane tests for new scry gate 2020-11-26 19:12:35 +01:00
fang
f71bcb9f11
ted: update threads that had fallen into disrepair 2020-11-26 17:44:25 +01:00
fang
d6a9c39f29
test: only build .hoon files
Previously it would fail to build .txt files and such. Now it filters
those out and doesn't try.
2020-11-26 17:44:19 +01:00
fang
d61e5afdc4
test: don't panic after building non-/tests files 2020-11-26 17:44:10 +01:00
fang
88e3e5dabd
group: remove unused library 2020-11-26 17:44:02 +01:00
fang
eef09dd63b
hoon: remove deprecated character parsers 2020-11-26 17:43:54 +01:00
fang
8e57961183
hoon: remove {type} syntax 2020-11-26 17:43:42 +01:00
fang
a539d986a7
various: move away from {type} syntax
In favor of [type] syntax.
Turns a bunch of ++ into +$ along the way.
2020-11-26 17:43:26 +01:00
fang
ebe0feed50
hoon: remove face/type syntax 2020-11-26 17:38:20 +01:00
fang
44fb0cc19d
various: move away from face/type syntax
In favor of face=type.
2020-11-26 17:38:00 +01:00
fang
2545282d5e
hoon: remove $constant type syntax 2020-11-26 17:31:23 +01:00
fang
a6e7af38d5
various: move away from $constant type syntax 2020-11-26 17:31:06 +01:00
fang
194e8ae440
hoon: remove += and +- arm syntax 2020-11-26 17:27:30 +01:00
Joe Bryan
a7a94e5b9c Revert "arvo: temporary, removes initial kernel source from +brass"
This reverts commit 698710250d.
2020-11-26 02:02:53 -08:00
Joe Bryan
44a8e41e04 Merge branch 'jb/re-mug' into jb/candidate
* jb/re-mug:
  ur: updates +mug
  pill: all
  Revert "arvo: temporary, build +brass out of /not-sys"
  u3: switches to new +mug
  pill: brass
2020-11-26 02:02:24 -08:00
Joe Bryan
698710250d arvo: temporary, removes initial kernel source from +brass 2020-11-26 01:47:10 -08:00
Joe Bryan
76451b54a3 Merge branch 'jb/re-mug-pre' into jb/candidate
* jb/re-mug-pre:
  arvo: temporary, build +brass out of /not-sys
  hoon: switches to new +mug
  u3: adds new +mug (as u3r_gum_*)
  hoon: adds new +mug (as +gum)
  u3: updates +muk to truncate seed and removes spurious assertion
  hoon: updates +muk to truncate seed and removes spurious assertion
2020-11-26 01:20:28 -08:00
Joe Bryan
833f5f4b77 Revert "arvo: temporary, build +brass out of /not-sys"
This reverts commit 44b4dc0e33e92b624466141216a3885b691a1859.
2020-11-26 01:18:53 -08:00
Joe Bryan
5b2d695861 arvo: temporary, build +brass out of /not-sys 2020-11-26 00:32:37 -08:00
Joe Bryan
cd3918b852 hoon: switches to new +mug 2020-11-26 00:32:52 -08:00
Joe Bryan
fc30df7401 hoon: adds new +mug (as +gum) 2020-11-26 00:31:25 -08:00
Joe Bryan
b2eaa5e5b8 arvo: removes neo-arvo and obsolete pill generators 2020-11-25 23:34:44 -08:00
Joe Bryan
f8b2beae32 arvo: adds some more explicit stack frames 2020-11-25 23:34:44 -08:00
Joe Bryan
aba8bdc989 arvo: moves tasks to top-level, restructures state 2020-11-25 23:34:39 -08:00
Liam Fitzgerald
f73a96ba90
pull-hook: backstop crashed kick handler
Virtualises the kick handler for the inner door in lib/pull-hook, so
that crashes in the handler do not cause a dangling resource with no
subscription. Additionally, failed kicks now cause the sync to be
dropped into a failed-kicks map in the state, where we attempt to
recover from the failure in the on-load.
2020-11-26 16:09:14 +10:00
Liam Fitzgerald
f851803d3c
pull-hook: do not crash on dangling sync
If the %kick handler of the inner-core crashes, then we never get to
resubscribe, thus leaving a dangling entry in the state with no
corresponding subscription. Updates the pull-hook-action pokes to not
crash when given a dangling entry.
2020-11-26 15:42:23 +10:00
Joe Bryan
b8974d5338 arvo: improves faces in vane install/upgrade 2020-11-25 19:03:05 -08:00
Joe Bryan
4d5f1388f4 arvo: fix hoon source reference in +boot re-compilation 2020-11-25 18:57:41 -08:00
Matilde Park
959b585b38 glob: update to 0v5.0umdn.af5hq.bp84b.66eao.q0b98 2020-11-25 20:19:24 -05:00
Matilde Park
531f406222 glob: update to 0v2.qmtv4.6j75q.g4ph5.5agd1.02hsd 2020-11-25 20:11:34 -05:00
Joe Bryan
e1dbd37b5c arvo: remove old-style event routing 2020-11-25 16:48:44 -08:00
Joe Bryan
eaa77fae3e arvo: require both hoon and arvo in initial larval filesystem 2020-11-25 16:02:27 -08:00
Joe Bryan
e85f00f46b arvo: only allow a single %whom 2020-11-25 16:02:27 -08:00
Joe Bryan
f95e1f48c2 arvo: scry reform 2020-11-25 16:02:10 -08:00
Philip Monk
7259b2c121
gall: rename fading styles 2020-11-25 14:46:33 -08:00
fang
ad8367974b arvo: allow %$ care in +sloy
Similar to the fix made for desk in f714d90, now that we actually want to do so.
2020-11-25 10:55:11 -08:00
Joe Bryan
788f8532fe Merge branch 'na-release/candidate' into jb/wyrd
* na-release/candidate: (461 commits)
  pill: update
  zuse: make octs value @ again
  zuse, clay, various: unflop the spur in beams
  hoon: add +snip and +rear
  arvo: unflop the spur in scry
  tests: checks bip32 for xpub/xprv/pif/address
  bip32: adds network option for bitcoin addresses
  bip32: adds network type option for xpub/priv
  pill: all
  pill: change to ropsten
  zuse: change to ropsten
  pill: all
  u3: fix accidental neologism in comments
  pill: solid
  pill: solid
  nix: trims trailing whitespace from solid pill builder
  hoon: adds $cord to $tank
  zuse: modernizes syntax of top-level structures
  zuse: removes obselete structures $ares, $coop, and $disc
  hoon: moves $json and styled-text molds back to %zuse
  ...
2020-11-25 10:54:53 -08:00
matildepark
f9ef625cb5
Merge pull request #4017 from urbit/lf/edit-notifications
hark: update mark conversion for editable comments
2020-11-25 13:35:58 -05:00
fang
7956adedee
vanes: remove old load types and logic
Maintains state version numbers to avoid tripping up migration tools.
2020-11-25 16:24:16 +01:00
fang
b5c2264d2c
Merge pull request #2990 from yosoyubik/decompress-point
bip32: bitcoin address derivation from extended keys
2020-11-25 13:24:41 +01:00
fang
bf49ba024c
Merge pull request #3964 from ronreg-ribdev/sponsor
gen: add +sponsor generator
2020-11-25 12:33:48 +01:00
fang
b6e93e0900
Merge pull request #3861 from ronreg-ribdev/update-hoon-syntax
Use new-style gate argument syntax in /mar
2020-11-25 12:33:13 +01:00
Joe Bryan
e2a33eee8d hoon: updates +muk to truncate seed and removes spurious assertion 2020-11-25 00:43:34 -08:00
Liam Fitzgerald
507bcfc9cb
glob: update to 0v5.c8agf.rjdcu.6p4ea.umc9e.5olmv 2020-11-25 16:42:09 +10:00
Liam Fitzgerald
7addb558b2
channel.js: debounce subscribes 2020-11-25 16:38:16 +10:00
Liam Fitzgerald
d4d655528e
channel.js: queue interactions 2020-11-25 16:38:16 +10:00
matildepark
3415435399
Merge pull request #4016 from urbit/lf/read-index-fix
hark-store: fix caching of merged notifications
2020-11-25 00:25:27 -05:00
matildepark
91df3ca710
Merge pull request #4019 from urbit/lf/safe-update-log-peek
graph-store: safely peek update-log
2020-11-25 00:24:38 -05:00
Liam Fitzgerald
88adb0033a
graph-store: safely peek update-log
Safely returns a null when either the update-log does not exists, or it
is empty

Fixes #3976
2020-11-25 14:41:19 +10:00
Liam Fitzgerald
905ce6dc2d
hark: update mark conversion for editable comments
Updated mark conversion so that edits to comments are notified
separately to new comments.
2020-11-25 12:21:37 +10:00
Liam Fitzgerald
8a299eadc0
hark-store: fix caching of merged notifications
If a notification came in that merged with a notification that had
already been read, then it would not be added to the cache properly and
therefore would not correctly send %read updates when %read-index was
called.

Fixes #3977
2020-11-25 10:53:45 +10:00
ronreg-ribdev
a5d661f2d1 mar: use new-style gate argument syntax in /mar
Switch a bunch of .hoon files in /mar from using
the old `{}` syntax for specifying argument types, to the
newer `[argname=argtype]` syntax.
2020-11-24 14:16:20 -08:00
ronreg-ribdev
4a4e220e11 gen: add +sponsor generator
Add a new generator +sponsor that encapsulates the logic of invoking
`(sein:title our now our)` to get the sponsor of the current ship.
2020-11-24 14:13:38 -08:00
fang
3ff083e9db
hoon: patch up +ax callsites
Some were still passing in a value for fab, which is no longer used.
2020-11-24 21:12:43 +01:00
Joe Bryan
a2abf1c992 arvo: moves |de out of +node, renames +node to +axal 2020-11-24 11:34:44 -08:00
Joe Bryan
6f0b7f120b arvo: refines version negotation, requires filesystem to molt 2020-11-24 11:34:40 -08:00
fang
38d85876d6
zuse: make octs value @ again
eaa69ec had reverted the change from c46061e.
2020-11-24 16:14:19 +01:00
fang
27d6fc7597
zuse, clay, various: unflop the spur in beams
Unflops the spur in +en-beam, +de-beam, and everything that calls either
of those, or works with the consequences of their output.

This includes clay's interface for mounting and unmounting, which now
no longer expects the arguments to contain an old-style spur.
2020-11-24 15:44:25 +01:00
fang
79f698c3a9
hoon: add +snip and +rear
Helper functions for dealing with the ends of lists.
2020-11-24 15:41:36 +01:00