Ted Blackman
fdd2067e75
gall: review cleanups
2022-05-03 12:49:09 +02:00
Ted Blackman
edf5ec9123
gall: upgrades almost smoothly
2022-05-03 12:49:09 +02:00
Ted Blackman
a4ae79e794
gall: compiles with nonce in wire
2022-05-03 12:49:08 +02:00
yosoyubik
0252d71553
gall: WIP added sub-nonce to state and wire
2022-05-03 12:49:08 +02:00
Philip Monk
53a417dc43
clay: add sprig cache
2022-05-03 01:32:40 -07:00
Philip Monk
21cc132884
clay: rename ford-cache->flow
2022-05-03 00:17:30 -07:00
Philip Monk
8bab16d448
clay: remove -k arms
2022-05-01 17:03:17 -07:00
Philip Monk
0b72164740
clay: remove +build-leak
2022-05-01 16:36:45 -07:00
Philip Monk
c2754662b8
clay: new ford cache
2022-05-01 03:54:03 -07:00
Philip Monk
7219b7e58f
clay: collapse version 12 into 11
2022-04-29 20:44:42 -07:00
Philip Monk
5a5de05518
clay: enable mounting revisions of desks
2022-04-29 18:50:30 -07:00
Philip Monk
a7eaddfdc7
clay: remove ankh
...
ankh was a cache of the current validated blobs, which is no longer
necessary
2022-04-29 17:29:50 -07:00
Philip Monk
60950ade08
clay: cleanup
2022-04-29 15:05:53 -07:00
yosoyubik
02806f63a1
ames: hardcode rift for comets in state upgrade
2022-04-27 06:24:55 +02:00
Philip Monk
ac6e793aa2
arvo: rename +de to +of
2022-04-22 17:55:42 -07:00
yosoyubik
9cb425e0ef
ames: remove unused ames-to-ames %plea logic
...
This seems to have been used in the past for pinging the ship's
sponsor, but was later removed when the :ping app was introduced
2022-04-22 15:49:15 +02:00
yosoyubik
087f24e931
ames: use +trace to print logs
2022-04-22 12:29:16 +02:00
yosoyubik
e2f8e21529
ames: remove sigwut
2022-04-22 12:26:53 +02:00
yosoyubik
471b9be22d
ames: fix emit of parsing old wire log
2022-04-22 12:26:24 +02:00
yosoyubik
91435a92ca
ames: don't drop events with old wires
...
Previously we were dropping events that used old
wires that lacked a rift in them. This seems a
bad behavior because we don't want to destroy a
flow that has not been processed by both ends.
Note: pending a fix to test-old-ames-wire
2022-04-22 12:26:14 +02:00
yosoyubik
6cdebea1af
ames: address review
2022-04-22 12:26:08 +02:00
yosoyubik
60cc44e961
ames: fix cached state in larval upgrade
2022-04-22 12:26:02 +02:00
yosoyubik
1b01455fe5
ames: fix dangling-bone error
2022-04-22 12:25:55 +02:00
Philip Monk
dfd4fc1028
clay: wip
2022-04-19 20:03:32 -07:00
fang
65f9f904c7
zuse: rewrite klr:format's +scag and +slag
...
The previous implementation was counting the full length of the stub
unnecessarily. Doing a single "dumb" traversal is ~40% faster.
2022-04-15 18:04:37 +02:00
Philip Monk
3b337a14ce
Merge branch 'philip/direct' into philip/tomb
2022-04-13 15:01:25 -07:00
Philip Monk
3a04dc3160
clay: address review comments
2022-04-13 15:00:59 -07:00
Philip Monk
10a2acdcc1
clay: use old requests for now when backfilling
2022-04-13 01:12:05 -07:00
Philip Monk
ce5ef26202
Merge branch 'philip/direct' into philip/tomb
2022-04-13 01:00:23 -07:00
Philip Monk
8805e0ee85
clay: convert all blobs to pages
...
This converts the blob store from having deltas, directs, and
tombstones, to just having direct pages. This simplifies a lot of code,
since we don't have to constantly ensure that deltas always have their
parent available.
This removes the hardcoded text diff logic from clay, which was
previously required for bootstrapping.
Over the wire, we handle both old and new requests and responses
transparently, so communication is normal in both directions across
ships which do or do not have this change.
2022-04-13 00:35:58 -07:00
Philip Monk
bb14c495da
clay: seek wip
2022-04-12 21:02:50 -07:00
Philip Monk
72fa850912
clay: don't download unneeded blobs
2022-04-12 18:31:55 -07:00
Philip Monk
ed00d38166
clay: add |tomb
2022-04-08 21:20:02 -07:00
Philip Monk
78d2d12cca
clay; fix overly cautios tombstoning
2022-04-08 17:28:42 -07:00
Philip Monk
39b7b0a96b
clay: add %tako scry
2022-04-08 16:21:19 -07:00
Philip Monk
07d8187fcc
clay: allow to set norm for past revision
2022-04-08 15:50:35 -07:00
Philip Monk
d71a685b91
clay: add norm to +pick cache
2022-04-07 18:10:00 -07:00
Philip Monk
85fb3502c7
Merge branch 'philip/trie' into philip/tomb
2022-04-07 17:16:14 -07:00
Philip Monk
d46dc282c4
arvo: revert axal to use $
2022-04-07 17:15:59 -07:00
Philip Monk
3096bc8991
Merge branch 'philip/trie' into philip/tomb
2022-04-07 16:31:27 -07:00
Philip Monk
6765a03cac
clay: address review comments
2022-04-07 16:31:12 -07:00
Philip Monk
6dc20bfa7f
clay: trying to find %dead bug
2022-04-07 00:44:49 -07:00
Philip Monk
7482717c02
clay: make +pick fast
2022-04-06 23:16:26 -07:00
Philip Monk
84ccf60b19
clay: add gc routines
2022-04-06 21:45:30 -07:00
Philip Monk
8084200f81
clay: add norm state, remove mark from %delta blobs
2022-04-06 21:44:50 -07:00
fang
13d1c28927
hoon: make manual shorthand type printing prettier
2022-04-06 23:24:43 +02:00
drbeefsupreme
2a57e85a09
hoon: comment out %note entry in +open
...
this was wiping out some comments buried that weren't written at the top
of an arm. not sure if this is used in another fashion that will create
issues, so I just commented it out to help remember that it used to be
there in case it needs further changes, like if I should actually skip
%know and %made notes but not %help notes
2022-04-06 16:27:07 -04:00
Philip Monk
a51152d1a4
clay: address review comments
2022-04-06 12:16:22 -07:00
Philip Monk
4131821b4f
clay: unify all trie implementations
...
We had trie operations independently implemented in +de in arvo,
+an:cloy in zuse, +zu in clay, lib/trie, and app/spider. This unifies
them all into +de in arvo, aggregating the used operations.
2022-04-06 00:19:38 -07:00
Philip Monk
0f6f2d6321
clay: bump kelvin, refactor
2022-04-06 00:18:23 -07:00
Philip Monk
90a2625016
clay: style
2022-04-05 20:30:52 -07:00
drbeefsupreme
6f32d107fc
hoon: doccords wrap tisfas fix
...
I didn't know what I was doing before, I think this is the right way to
wrap tisfas with a %note hoon.
2022-04-05 14:45:51 -04:00
drbeefsupreme
063e3ed716
hoon: doccords dist. between arm-doc and prod-doc
...
docs written above an arm are now distinguishable in the AST from
docs written above the product of the arm, by tagging docs written
above the arm with a %funk link
2022-04-05 12:35:53 -04:00
Joe Bryan
f7f4b3e748
hoon: preserve structural sharing by testing subject/product equality in +burp
2022-04-04 14:12:25 -04:00
Joe Bryan
0c255c1294
hoon: plug type leak in vase literals by properly burping %hint
2022-04-04 14:12:24 -04:00
lukechampine
8399b7b96c
ames: add resend timer for attestation requests
2022-04-04 00:19:55 -04:00
drbeefsupreme
f9dfb590d6
hoon: turn on hints for %noun types
2022-03-31 17:41:48 -04:00
Joe Bryan
9a1b3eaf15
Merge pull request #5664 from urbit/jb/type-leak
...
hoon: plug type leak in compiler bootstrap
2022-03-28 09:08:59 -04:00
Philip Monk
90098067f2
clay: extend %tomb to delete all unneeded blobs
2022-03-26 14:37:46 -07:00
Jōshin
66655a76b8
arvo: $card is (cask)
2022-03-26 09:17:39 -06:00
Jōshin
29a6692784
khan: minor whitespace cleanup
2022-03-26 09:17:38 -06:00
Jōshin
83baaaafa0
lull, zuse: cool
2022-03-26 09:17:28 -06:00
Philip Monk
ee3951e2df
clay: require non-dead files at head of remote
2022-03-25 22:15:53 -07:00
Philip Monk
4278d4c8b3
Merge pull request #5673 from urbit/philip/fix-uno
...
hoon: fix +uno:by when map is null
2022-03-25 18:23:32 -07:00
Philip Monk
07d01a0071
Merge branch 'philip/fix-uno' into philip/tomb
2022-03-25 18:11:34 -07:00
Philip Monk
50fb239d2f
hoon: fix +uno:by when map is null
...
This crashed at runtime when `a` is null because it tried to instantiate
`meg`, and that means bunting its argument, and that calls `node`, where
the assert failed.
Wet gates use the bunt of their formal argument, so we use that.
2022-03-25 18:08:13 -07:00
Philip Monk
6e641005a0
clay: add upgrade to %11
2022-03-25 18:02:22 -07:00
Philip Monk
fb3f74f639
clay: prefer life
2022-03-25 15:32:38 -07:00
Philip Monk
ef9521272a
Merge remote-tracking branch 'origin/lf/ford-memory-shit' into philip/tomb
2022-03-25 13:13:24 -07:00
Philip Monk
c5fda496ac
clay: add basic %tomb
2022-03-25 13:13:09 -07:00
Philip Monk
fb05255a83
clay: align comments
2022-03-25 12:38:51 -07:00
Philip Monk
99a10aa7a8
clay: use XX for things that really need to change
2022-03-25 12:33:48 -07:00
Philip Monk
0c3eee07b5
Merge remote-tracking branch 'origin/master' into philip/tomb
2022-03-25 12:21:56 -07:00
Joe Bryan
d937e131a4
hoon: preserve structural sharing by testing subject/product equality in +burp
2022-03-25 10:28:05 -04:00
Joe Bryan
15e570a622
hoon: plug type leak in vase literals by properly burping %hint
2022-03-25 10:27:32 -04:00
fang
01de5a06b0
term: consistently use x/y coordinate ordering
...
%rez has always used "width & height". Certainly, "x & y" is more
standard than "row & column". As such, we settle on making %hop and %hit
respect the more natural ordering. This change is safe because these
interfaces haven't made it to livenet yet.
2022-03-25 13:45:29 +01:00
Philip Monk
5ff4cc7f66
Merge pull request #5612 from ynx0/story
...
clay: add `story`, a set of tools to support commit messages
2022-03-22 21:49:16 -07:00
Liam Fitzgerald
dd70856188
clay: be careful with subject in ford results
...
This fixes a space leak where the entire ford/clay core would be
included in the ford cache. Heavily reduces memory usage by clay,
reducing total usage from 100-200MB to around 10MB.
2022-03-21 13:02:36 -06:00
Liam Fitzgerald
2def946ded
clay: break out ford memory usage in more detail
...
Instead of reporting a single memory size for built files, marks and
conversions, we now report memory size per path, mark name and mark
pair, respectively.
2022-03-21 12:21:38 -06:00
Jōshin
4be43d5e28
hoon: fix comment whitespace
2022-03-21 10:24:27 -06:00
drbeefsupreme
e50635babd
hoon: doccords wrap %rock %sand %wing %knit %bust
...
wraps them in %note hoons
2022-03-18 18:22:26 -04:00
drbeefsupreme
37580fa722
hoon: doccords for tisfas
...
wraps the skin in tisface with a %help skin
2022-03-18 17:03:02 -04:00
drbeefsupreme
2fa0bd3644
squash! hoon: doccords wrap bar runes with %notes
2022-03-16 13:43:55 -04:00
drbeefsupreme
c01732de16
hoon: doccords wrap bar runes with %notes
...
this changes the parser to take any bar runes surrounded by formal
comments and wraps them with %note tags containing those comments
2022-03-16 13:05:58 -04:00
drbeefsupreme
ff81189823
hoon: doccords %brdt cleanup revert
2022-03-16 12:13:39 -04:00
drbeefsupreme
1c72ff6103
Revert "hoon: change %brdt AST to support doccords label"
...
This reverts commit 0dc3498a6f
.
2022-03-16 12:12:39 -04:00
drbeefsupreme
643700546f
hoon: populate %brpt doccords label
2022-03-14 17:09:41 -04:00
drbeefsupreme
0dc3498a6f
hoon: change %brdt AST to support doccords label
2022-03-14 17:08:49 -04:00
drbeefsupreme
f08b613416
hoon: populate label for %brcn doccords
...
This changes the parser for +tall so that it looks before and after a
hoon for doccords, and then extracts a label for %brcn if it exists.
+wrap will be used to annotating most hoons, but this commit only covers
%brcn
2022-03-14 17:00:04 -04:00
fang
41a796d2d1
hoon: hook up $+ for shorthand type rendering
...
Too often when dealing with big types the compiler traces and other such
outputs become hard to read. Wrapping a type as $+(shorthand big-type)
will now print #shorthand in place of the type.
2022-03-14 13:58:48 -04:00
drbeefsupreme
0a3ec9a92d
hoon: doccords cleanup %note tag for +boog
2022-03-14 11:49:31 -04:00
drbeefsupreme
336817d5bc
hoon: doccords for core chapters
...
this populates the $what in $tome
2022-03-14 11:49:30 -04:00
drbeefsupreme
cdaf23a184
hoon: prefix and postfix doccords for ++ and +$
...
there's a stub for +* but its not working yet
2022-03-14 11:49:29 -04:00
fang
3df227760f
hoon: hook up $+ for shorthand type rendering
...
Too often when dealing with big types the compiler traces and other such
outputs become hard to read. Wrapping a type as $+(shorthand big-type)
will now print #shorthand in place of the type.
2022-03-10 01:45:18 +01:00
ryjm
155729ec8b
%home -> %base
...
Mostly cosmetic, but also fixes `language-server` and parts of sundry
neglected components (the nix build for solid pills, aqua, gaze exports,
+help)
2022-03-06 11:55:55 -05:00
fang
8906d1c17d
dill: move %mor case into $blit
...
This lets us send a single blit around, instead of sending facts for
every individual blit in a draw event.
2022-03-05 18:17:48 -06:00
Jōshin
06fe78ef6e
Merge branch 'next/arvo' into jo/khan
2022-03-02 20:28:44 -06:00
Jōshin
0139550c79
khan: saner tic rollover, remove our
2022-03-02 20:15:44 -06:00
Jōshin
e54e92cfa9
khan: docs
2022-03-02 18:02:20 -06:00
Jōshin
9d50957861
arvo: remove $crag, promote $page
2022-03-02 17:59:56 -06:00
Jōshin
8afea3c2ba
arvo: $card is not a cask
2022-03-02 17:38:45 -06:00
Jōshin
0b507cf498
khan: don't reset tic
...
instead make it a rolling 128-bit integer. 128 bits is the same size as
the +sham space, so is one natural choice for "big enough to never have
to think about this." 64, 32, 16, even 8 bits would probably be fine.
2022-03-02 17:28:10 -06:00
fang
998f7d081a
dill: fix %shut session deletion
...
+abet would re-insert the session into state, so we just pull the
deletion logic outside of the main core.
2022-03-02 17:24:54 -06:00
Jōshin
18274090b2
khan: handle multiple %fards in one event
2022-03-02 16:37:46 -06:00
Jōshin
5d7321385f
khan: separate arms by blank comments
2022-03-02 15:09:01 -06:00
Jōshin
1ef958ea25
khan: use +en-beam / +de-beam, wide form
2022-03-02 15:07:38 -06:00
Jōshin
02d796cddb
arvo: remove redundant *
2022-03-02 15:07:10 -06:00
Jōshin
91d390d529
khan: update docs
2022-03-02 13:23:06 -06:00
Jōshin
340f4d5b6c
khan: %fard/%arow use $cage, not $vase
...
Threads should eventually take and produce $cage instead of $vase. Since
%khan is likely to be used by third parties, we write to the eventual
intended API. We ignore the mark on the input $cage (it is safe to
always specify %noun), and we always use %noun as the output mark.
%fyrd now makes more sense. It was previously discarding the type of the
output %arow and re-encoding the raw noun as a vase of the output mark;
it is now performing mark conversion from the mark of the output $cage
to the originally requested output mark.
2022-03-02 13:07:52 -06:00
Yaseen
a57cb822a3
Merge branch 'urbit:master' into story
2022-03-02 12:03:44 -05:00
lukechampine
53a0c87cdb
ames: add sendkeys-packet
2022-03-02 00:56:57 -05:00
lukechampine
df6318acd0
ames: fix comet self-attestation handling
2022-03-02 00:52:48 -05:00
lukechampine
1044d42a15
ames: don't enqueue blobs sent to unknown comets
2022-03-02 00:46:18 -05:00
Jōshin
f5fb214939
khan: initial state version is %0
2022-03-01 23:38:55 -06:00
Jōshin
6ce6e4f504
khan: structural slap, not general slam
2022-03-01 19:34:56 -06:00
Jōshin
2e9b4f5a94
khan: better wire production
...
runs afoul of a likely hoon bug and/or use case for dependent hoon.
2022-03-01 19:33:54 -06:00
Yaseen
70afcbd642
clay: fix bug in fuse
...
Co-authored-by: Philip Monk <phil@pcmonk.me>
2022-02-25 16:34:44 -05:00
Jōshin
a9442040be
khan: alignment
2022-02-25 11:16:47 -08:00
Joe Bryan
9c93068835
gall: adds verbose arg to agent scry implementation
2022-02-23 00:15:37 -05:00
Joe Bryan
92779d8179
gall: updates agent /whey scry to produce %mass mark
2022-02-23 00:14:44 -05:00
Joe Bryan
ff3bb495d8
hoon: updates %mcgl with an hygienic expansion
2022-02-22 20:39:30 -05:00
Joe Bryan
20c4645727
gall: adds optional agent integration with |mass
2022-02-22 13:07:01 -05:00
Jōshin
d771a4b9ef
khan: randomize tids
...
tid was accidentally getting set to the name of the output mark. As we
don't currently support cancelling threads, there is no reason to
maintain the originally-intended correspondence between tid and conn
request-id.
Take the opportunity to clean up indentation somewhat.
2022-02-19 02:18:49 -08:00
~nallux-dozryl
ab35dd4028
Merge branch 'urbit:master' into master
2022-02-19 09:04:02 +08:00
Yaseen
3d006d60ad
clay: add scry for case existence check
2022-02-18 17:43:38 -05:00
Jōshin
470ae80d4b
khan: cleanup
2022-02-15 22:32:52 -08:00
Jōshin
6aa72069e3
arvo: introduces $crag
...
Also strips out `$` from khan top-level comment.
There are arguments for keeping $crag in lull, and on the other side for
moving $cast to arvo. This seemed like the most reasonable approach.
2022-02-14 12:46:31 -06:00
Jōshin
6d275fe9f3
khan: move =/ down
2022-02-14 09:09:55 -06:00
Jōshin
6c443191a7
khan: name $cast type
2022-02-13 21:13:48 -06:00
Jōshin
044e9015af
Merge branch 'next/arvo' into jo/khan
...
Conflicts:
bin/brass.pill
bin/solid.pill
Resolved by regenerating pills.
2022-02-13 21:00:10 -06:00
Jōshin
1d487a758b
test: full run, happy path
2022-02-13 07:33:03 -08:00
Jōshin
d7608019f2
khan: cleanup, namespace
2022-02-11 22:18:15 -08:00
Jōshin
c0423adea6
khan: parameterized types, nested implementation
...
%fyrd is now implemented in terms of %fard, and likewise %avow in terms
of %arow. State is tracked via wire rather than in a global map.
Unit tests adjusted to match.
2022-02-11 21:58:09 -08:00
Jōshin
ca0a861c5e
zuse: add missing assertions
2022-02-09 14:14:12 -06:00
Liam Fitzgerald
b813580b93
zuse: add ++ns:dejs:format
...
Adds a signed integer JSON parser, i.e. a gate of type $-(json @s)
2022-02-09 13:16:24 -06:00
Jōshin
5ff5082a5d
khan: docs, lift arg vase into (unit)
2022-02-08 12:03:00 -06:00
Jōshin
8123255a62
khan: add %fard/%arow for in-arvo threads
...
These take and produce vases, and assign random tids (rather than
deducing them from the input duct.)
Since %fard does not require mark conversion, we make the mark/beak on
$thread-state optional (and use this to decide whether to send %avow or
%arow.) Provide a state adapter since it's possible that people have
been experimenting with this vane.
This makes the negative case of %avow/%arow kind of clunky, since there
is no content difference, but the following does not seem possible
within the Hoon type system:
=/ gif
?~ p.tad
%arow %avow
[hen %give gif %| p.cag tang]~
2022-02-07 17:51:05 -06:00
Yaseen
ce0fa85e18
story: generators improvements
...
- use desk parameter instead of %base everywhere
- formatting clean up
- make |story-remove take a case instead of an aeon
- make desk param optional for story-set and story-log
2022-02-05 22:50:10 -05:00
Jōshin
64fcd685af
zuse: comment clarifying sk bounds check
2022-02-03 13:52:09 -06:00
Jōshin
4cef7dc38b
bounds-check against sk=1
...
+sign:schnorr crashes on `=(0 sk)`, so the bounds checking code is not
exercised for sk=0. It also crashes on `(gte sk n.domain.c)`, which is
redundant with the size check on sk, so we remove that.
2022-02-03 13:21:21 -06:00
Jōshin
f07f759253
zuse: style cleanup, use +rep/+end
2022-02-03 12:54:27 -06:00
Jōshin
822eb6ea08
Merge branch 'next/arvo' into jo/secp-arvo
2022-02-02 20:34:11 -06:00
Yaseen
b7e0b28220
Merge branch 'urbit:master' into story
2022-01-30 16:03:48 -05:00
Jōshin
21ea32e8ad
khan: +bear allows a full +beak
2022-01-27 22:28:30 -08:00
Jōshin
72981203c8
khan: PR feedback, wip tests
2022-01-27 22:20:31 -08:00
Jōshin
7f6868a06e
khan: strip inner faces from +bear
2022-01-26 21:50:08 -08:00
Jōshin
05a11d57b3
khan: cleanup
...
- only store metadata in the persistent map. just enough to support
(eventual) thread cancellation and output mark lookup.
- try to delete thread state at other failure points not covered by
%kick.
- reflect back the passed output mark rather than form.dais. not sure
about this one yet.
2022-01-26 20:09:36 -08:00
Jōshin
aba5c0303d
khan: del in %kick
2022-01-26 17:45:25 -08:00
Jōshin
1281e1cdbe
khan: functionally done
2022-01-26 17:41:01 -08:00
Jōshin
425bf6b011
khan: accepts thread arguments with marks
2022-01-26 16:26:30 -08:00
Jōshin
8ad57d8bd2
khan: cleanup
2022-01-25 21:28:45 -08:00
Jōshin
12b4c80cf1
khan: wip threads v0
...
super ghetto first pass with a bunch of stuff hard-coded to prevent
sending giant vases over the wire.
2022-01-25 20:08:48 -08:00
Jōshin
fd7d315e3b
khan: wip fyrd
2022-01-25 15:37:48 -08:00
fang
2c5510db64
Merge branch 'jb/next-gen-term' into next/dill
...
Resolves a good number of conflicts. Most notably, re-propagates removal
of gall's %onto, confirms new /app/herm behavior, coerces hood/drum
state adapters back into place, and updates webterm to use the latest
api.
2022-01-24 14:50:16 +01:00
~nallux-dozryl
dd53baa059
Fix comment indent for abs:si
2022-01-24 15:24:01 +08:00
Jōshin
30df250c7d
khan: closer to starting threads
2022-01-22 01:46:59 +00:00
Jōshin
a247113c57
khan: %done task
2022-01-22 01:46:12 +00:00
Jōshin
3cf803129d
khan: basic +call, types
2022-01-21 22:09:01 +00:00
Jōshin
575ff61fa6
khan: vane skeleton
2022-01-21 18:48:05 +00:00
yosoyubik
3d943ec201
ames: ignore missing peer-state on-publ-sponsor
2022-01-18 20:34:32 +01:00
Yaseen
b37fd09fab
clay: implement %base-tako
scry under the %s
care
2022-01-13 15:56:20 -05:00
jose
f158ebe312
Merge pull request #5532 from urbit/azimuth/jael-fix
...
jael: give new private key to subscribers on %keys new-event
2022-01-12 12:47:21 +01:00
yosoyubik
432d9674f5
jael: don't put conflicting this-su in the subject
2022-01-12 11:01:06 +01:00
Jōshin
71c59737d8
zuse: boundary assertions for schnorr
...
Just assert on mis-sized values.
2022-01-09 05:31:36 +00:00
yosoyubik
fccf99e0a6
jael: refactor new-event for %keys diff
...
this also adds a %rerun %poke to /app/azimuth
2022-01-08 19:28:11 +01:00
yosoyubik
8535563de6
jael: give private key to subscribers on keys diff
...
Triggering this event has been added to /app/azimuth's +on-load
2022-01-08 09:48:28 +01:00
Jōshin
40fbd16036
zuse: schnorr address
2021-12-30 05:46:44 +00:00
Jōshin
cb5983c6ae
zuse: schnorr jet hints
2021-12-30 04:25:31 +00:00
Jōshin
f93457ce9c
zuse: style
2021-12-30 04:14:25 +00:00
Jōshin
0fb3dd5ed0
zuse: cleanup
2021-12-30 00:47:11 +00:00
Jōshin
022ec2867d
zuse: banish byte twiddling from schnorr
...
Actually it's just hidden in +sha-256l:sha now.
2021-12-30 00:42:47 +00:00
Jōshin
57ef17fc91
zuse: signatures were backwards
2021-12-29 23:58:31 +00:00
Jōshin
09294d79bc
zuse: unused ffra
2021-12-29 23:50:16 +00:00
Jōshin
4c6187787f
zuse: remove redundant flips on sig
2021-12-29 23:50:16 +00:00
Jōshin
4f1269b205
zuse: cleanup in schnorr
2021-12-29 23:50:15 +00:00
Jōshin
b296f3912e
zuse: verify:schnorr works
2021-12-29 23:50:15 +00:00
Jōshin
ab4b735471
zuse: sign:schnorr basically done
...
Schnorr's choice of big-endian encoding commits us to some degree of
byte twiddling; try to make this fairly seamless.
2021-12-29 23:49:54 +00:00
Jōshin
f39421c97b
zuse: flip bytes in sig
...
gross!
2021-12-29 19:02:51 +00:00
Jōshin
a1c548ced4
zuse: schnorrsig-sign from spec
...
test vectors match, but are byte-flipped. has to do a lot of endianness
twiddling.
2021-12-29 18:57:45 +00:00
Jōshin
aa3bbe165e
zuse: schnorrsig stubs
2021-12-25 08:47:43 +00:00
Joe Bryan
e8cdafddfc
arvo: refactor |mass output, make vane /whey peek optional
2021-12-16 12:21:21 -05:00
Joe Bryan
32e1ed0a15
arvo: fix type typo (s/mein/mien/g)
2021-12-16 12:15:48 -05:00
yosoyubik
d08ab43f3a
lull: skip rift/life printf when booting
2021-12-06 13:47:59 +01:00
Liam Fitzgerald
82e8d35a2a
eyre: address mark review, update pill
2021-12-02 09:06:55 -05:00
Liam Fitzgerald
6160a77eaa
eyre: include mark of fact in channel json
...
This change greatly improves the ergonomics of working with channel JSON
in statically typed languages, as the polymorphism is moved out of the
actual diff and into the event framing.
2021-12-01 17:48:57 -05:00
h5gq3
c742b58426
improve de-xml parser
...
de-xml parser fails when xml content node contains doublequotes (`doq` rule), this PR proposes to remove this restriction as high-level javascript APIs that operate on DOM don't entitize/encode doublequotes by default.
2021-11-28 12:34:10 +02:00
Yaseen
163ed030d4
clay: add new %s
scry which gives the tako
for a given beak
2021-11-25 12:48:24 -05:00
Philip Monk
a2a89d3532
Merge remote-tracking branch 'origin/next/arvo' into philip/roller
2021-11-16 13:58:57 -08:00
Philip Monk
4656372b09
Merge pull request #5426 from ynx0/claybel
...
clay: support labels
2021-11-15 08:49:31 -08:00
Yaseen
c080eb8336
fix comment styling
2021-11-15 09:07:24 -05:00
Yaseen
ae7cf81c29
clay: keep info in stacktrace when labeling fails
...
Co-authored-by: Philip Monk <phil@pcmonk.me>
2021-11-15 05:32:59 -05:00
Philip Monk
8af1dd3acc
clay: refactor +wake
...
+wake had accumulated several layers of abstractions which were later
rendered unnecessary. This removes those abstractions and should have
no semantic effect.
2021-11-14 19:35:32 -08:00
Yaseen
70a85ccdb0
remove unnecessary comments
2021-11-14 20:41:30 -05:00
Yaseen
17751e7890
clay: enforce referential transparency on labels
2021-11-14 16:49:17 -05:00
Philip Monk
95a8504763
Merge pull request #5423 from urbit/release/next-sys
...
various: release/next-sys -> next/arvo
2021-11-12 20:11:17 -08:00
Yaseen
25ce97cade
clay: add support for labeling commits
...
- add helper arm `label:de`
- update relevant code to take in arbitrary aeons
2021-11-12 15:35:06 -05:00
fang
d379a38486
zuse: explicitly +cut in +cite:title, add tests
2021-11-12 13:11:40 +01:00
Philip Monk
08ab77893e
azimuth: don't start on fake ships
2021-11-09 22:36:05 -08:00
Philip Monk
1698542035
zuse: decrement kelvin to 419
2021-11-09 21:40:12 -08:00
Philip Monk
e4a069a4f6
jael: remove vestigial boq and nod
2021-11-09 16:41:23 -08:00
Philip Monk
bf7f4ba453
Merge remote-tracking branch 'origin/m/naive-ugprade-path' into philip/roller
2021-11-09 12:52:25 -08:00
Philip Monk
45c1693085
jael: use default network id
2021-11-08 22:59:06 -08:00
Philip Monk
91b38d4cea
ivory: update preboot validation format
...
string<->numbers didn't match the json serialization. This makes
preboot validation succeed.
2021-11-08 20:34:32 -08:00
Philip Monk
d9276cd51c
clay: Add support for representing tombstones
...
This adds support for tombstoned files to clay. It does not include any
way to actually tombstone them; that is left for later.
This allows tombstoning at the level of a file. Precisely, this expands
+blob:clay by adding a %dead case:
+$ blob :: fs blob
$% [%delta p=lobe q=[p=mark q=lobe] r=page] :: delta on q
[%direct p=lobe q=page] :: immediate
[%dead p=lobe ~] :: tombstone
== ::
Thus, we maintain the invariant that every lobe corresponds to a blob,
but now a blob may be an explicit tombstone.
Details:
- This has not been tested at all, except that it compiles and boots.
- This does not have a state adapter from master. The only state change
is the definition of +cach.
- Additionally, out-of-date ships may unexpectedly receive a %dead blob
from a foreign clay which would interfere with their ability to download
that desk. No code changes necessary, but sponsors should avoid
tombstoning files in %base for a while so their children can get the
update.
- A merge will only fail if the tombstoned file conflicts with another
change. Note that as written, merging from a past desk *can* bring a
tombstoned file to the head of a desk. Possibly this shouldn't be
allowed.
This also includes a couple refactors that were made possible by ford
fusion (since everything is synchronous now) but never got done. In
both cases we get to remove a monad, which simplifies the code
considerably.
- refactor +merge's error handling to use !!/mule instead of threading
through errors
- refactor all +read-* functions and related parts of +try-fill-sub to
eagerly convert lobes to cages.
We also add support reading %a/b/c/e/f/r/x from past and foreign desks,
when possible. Apologies that all of these are in one commit, it was
all a single chunk of work.
This is a draft until we have a way to tombstone. I suspect we'll want
to have a mechanism of keeping track of gc roots and trace to remove,
but this PR doesn't suggest any particular strategy.
2021-11-07 22:17:02 -08:00
fang
fecb809573
jael, azimuth: reconfigure jael for L2
...
Jael needs to be reconfigured to listen to the new aagent for azimuth
events, and the old app needs to be shut down. We do this in
/app/azimuth's +on-init.
Additionally, we make sure that jael doesn't crash when it (as expected)
loses its subscription to the old agent.
2021-11-06 01:10:33 +01:00
fang
0ec3d5111d
Merge branch 'master' into naive/roller
2021-10-26 20:46:32 +02:00
fang
36cd69b6d0
Merge tag 'urbit-os-v2.100' into naive/roller
2021-10-26 17:08:03 +02:00
fang
260c75f05d
zuse: fix +cite for odd-length names
...
Render `@p` shorthands correctly for short moon names. Fixes #5318 .
This also changes galaxy and star moons to render as `~parent^` instead of some
longer variation.
2021-10-26 02:11:45 +02:00
fang
bbd044185c
Merge pull request #5227 from urbit/m/righteous-paths
...
hoon: correctly parse empty path
2021-10-14 23:12:29 +02:00
fang
f91c4dec08
Merge branch 'master' into release/next-sys
2021-10-08 17:39:03 +04:00
fang
02e2f58d9d
Merge pull request #5283 from urbit/m/ruinator
...
jael: add %ruin task for pretend-breaching others
2021-10-08 14:11:09 +02:00
fang
bf4aef198c
clay: give %u answer for non-existent desks
...
Instead of considering it "in the future", an existence check for paths
on non-existent desks now always produce false.
2021-10-07 21:57:56 +04:00
Joe Bryan
9a1b9b4450
Merge branch 'master' into release/next-vere
...
* master: (595 commits)
grid: updating glob
landscape: updating glob
graph-store: clean up merge artefact
interface: reduce %all-stats correctly
docket: correctly en-vase a docket definition
kiln: don't +mean the tang noun alongside the tang
hood: scry for list of desks with empty desk name
hood: remove needless weld
hood: report %kids desk hash in +report-vats
landscape: fix joining indicator in statusbar
interface: reduce %saw-place correctly
app-prefs: fixing logic around enabled
pull-hook: add nice flag to kick poke
graph-pull-hook: renegotiate subscriptions
graph-store: Handle missing update-logs gracefully in scries
arvo: update jamfiles
landscape: correctly freeze graph-update-2
jael: on rekey, update life if moon
tmp/ jamfiles
btc: updating glob
...
2021-10-05 11:33:08 -04:00
fang
5a8b98b77e
Merge branch 'master' into release/next-sys
2021-10-05 16:57:56 +04:00
fang
2a1c47ddd2
jael: add %ruin task for pretend-breaching others
...
The initial use case here is clearing state relating to long-gone
comets, but this could prove to be a useful general-purpose rescue tool.
2021-10-01 01:54:33 +04:00
Philip Monk
facdf4dbc1
jael: on rekey, update life if moon
2021-09-29 20:51:57 -05:00
Ted Blackman
5cce66523c
Revert "clay: print cult"
...
This reverts commit d4bc38f774
.
2021-09-29 20:31:57 -04:00
Ted Blackman
86a2715e67
clay: purge %next and %sing on migration
2021-09-29 20:10:53 -04:00
Ted Blackman
d4bc38f774
clay: print cult
2021-09-29 20:01:43 -04:00
Ted Blackman
5e1778ea84
clay: compile failure
2021-09-29 19:43:26 -04:00
Ted Blackman
2effd3cec0
Merge branch 'dist' of github.com:urbit/urbit into dist
2021-09-29 19:37:18 -04:00
Ted Blackman
b16d176863
clay: delete /app/publish from subscription state on migration
2021-09-29 19:36:29 -04:00
Philip Monk
3c658b17fa
Revert "gall: don't crash on suspended agent build failures"
...
This reverts commit d446418d53
.
2021-09-29 18:30:01 -05:00
Ted Blackman
d446418d53
gall: don't crash on suspended agent build failures
2021-09-29 18:49:20 -04:00
Ted Blackman
bd46a367a3
clay: always notify if new read says nonexistent
2021-09-29 17:57:55 -04:00
Ted Blackman
7e5feb4cb4
gall: implement pupal +stay
2021-09-29 16:24:12 -04:00
Ted Blackman
fd54c96a3f
gall: %jolt restart agent from new desk
2021-09-29 16:03:14 -04:00
Ted Blackman
9560fa43b2
gall,clay: fix migration file build dates; add %home as parent desk in jams
2021-09-29 15:00:42 -04:00
Fang
f6bb541269
gall: also watch changes to /sys/kelvin
2021-09-29 22:13:39 +04:00
Fang
27fcc9b4c3
various: %home -> %base
2021-09-29 22:13:08 +04:00
Fang
526e60b04c
strandio: fail when http request gets cancelled
...
Instead of waiting for a proper response. Iris doesn't currently retry!
Also updates docket to detect this case and retry appropriately.
2021-09-28 20:51:51 +04:00
Fang
1867209a12
Merge branch 'jm/spider-gall' into dist
2021-09-28 17:12:17 +04:00
Fang
059c2daed3
clay: make distribution desks public on-migrate
...
To ensure our sponsees (and other ships) can install from them.
2021-09-28 15:59:36 +04:00
ryjm
472f16fd2e
garden spider: address comments
2021-09-27 21:23:46 -04:00
ryjm
47a6aa2753
spider garden: remove sigpams and move glob mark
2021-09-27 21:23:46 -04:00
ryjm
c630b560ee
gall: don't verify spider marks
2021-09-27 21:23:46 -04:00
Ted Blackman
7168959bf9
zuse: revert accidental kelvin change
2021-09-27 21:13:34 -04:00
Ted Blackman
1a16496308
./symbolic-merge.sh base-dev arvo
2021-09-27 21:02:18 -04:00
Fang
18bad9c423
gall: give correct %gu results
...
Give false for suspended agents, instead of always giving true if the
agent exists.
2021-09-28 00:22:52 +04:00
Ted Blackman
9aa8566a6e
-jam-all-desks
2021-09-26 22:03:13 -04:00
Philip Monk
a94e17915f
clay: fix failure to load apps
...
When you loaded an app with an error, then fixed the error, it would
create the main gall %mult subscription at a time in the past. Then,
clay would never fill the subscription since it couldn't get the old %a
entries for the apps.
This fixes the issue in two ways: first, don't subscribe in the past.
Second, if clay can't get the old versions, just fire the subscription
anyway.
2021-09-26 00:26:37 -04:00
Ted Blackman
d81a4a7cba
dill,kiln: fixes for boot and same-kelvin OTAs
2021-09-26 00:20:37 -04:00
Ted Blackman
8f115bf059
clay: remote-install desks during migration
2021-09-25 16:53:52 -04:00
Ted Blackman
bbc80f9d45
zuse,ames: ^^sein:title
2021-09-25 16:52:53 -04:00
ryjm
154deb3281
clay: print stacktrace on build failure
2021-09-25 15:36:00 -04:00
Fang
4ed2a5914b
eyre: bind most specific endpoint first
...
This sticks to the old behavior, which was briefly lost in recent
changes.
2021-09-25 17:44:31 +04:00
Joe Bryan
5385889ebd
Revert "Revert "Merge pull request #4463 from urbit/m/next-gen-term""
...
This reverts commit 3fba32185d
.
2021-09-24 23:14:55 -04:00
Fang
369a6b7a47
eyre: allow overwriting existing bindings
...
Previously, if trying to bind to an endpoint that was already bound to,
eyre would reject it. This doesn't play very nicely in a softdist world
where uninstalled apps might not get a chance to clean up, and apps
might re-bind simply for being re-installed.
Here we change eyre to overwrite an existing binding if it conflicts
with the new one to be added.
2021-09-25 00:54:24 +04:00
Fang
ce09681b0a
clay: avoid migrating during boot
...
We set the "have we migrated yet" flag to true during boot, because
we're starting out in a post-migration world.
Also fixes a state version number.
2021-09-24 20:55:28 +04:00
Ted Blackman
c80fb82318
clay,kiln,landscape/notify: migration runs
2021-09-23 18:07:13 -04:00
Ted Blackman
16abd02a66
gall: set %hood to %base during dist upgrade
2021-09-22 23:11:41 -04:00
Fang
6812d15480
gall, kiln: better migration logic
2021-09-22 22:34:20 +02:00
Fang
eb1ec5b749
clay: clean up migration error case printfs
2021-09-22 15:45:04 +02:00
Fang
904165f83a
clay: don't forget the extra q
...
+load still nest-fails though.
2021-09-22 01:39:29 +02:00
Fang
f588ea9feb
clay: grab tmp desk jamfile correctly
2021-09-22 01:16:21 +02:00
Ted Blackman
30364ab29b
clay: wip migration
2021-09-21 19:13:54 -04:00
Paul Driver
381f970c75
working keccak jets
2021-09-20 18:38:10 -07:00
Fang
c0bfab9bf5
clay: wip migrate from desk jams
...
To work around mark availability issues.
2021-09-21 00:28:31 +02:00
Ted Blackman
55306b503c
zuse: fix build errors
2021-09-20 17:22:32 -04:00
Fang
e9aa3821ef
zuse, clay: further wip migration
2021-09-20 23:13:04 +02:00
Ted Blackman
fb8c73e39a
zuse,clay: WIP +migrate-dist
2021-09-20 13:01:48 -04:00
Ted Blackman
04e010e6c8
Merge branch 'dist' into ted/dist-migrate-wip
2021-09-20 07:43:43 -04:00
fang
d0f8eda937
hoon: correctly parse empty path
...
And reject paths ending in empty segments.
The following cases were being parsed incorrectly:
- `/` represents the empty path, `~`. This was being parsed into `[~. ~]`
- `/x/` is not valid. This was being parsed into `[~.x ~. ~]`
This happens because `urs:ab` has no problem parsing the empty string.
For some supported cases, like `//x` (`[~. ~.x ~]`), this is actually desired
behavior, but it results in trailing empty segments for paths ending in `/`.
Here we apply a `+sear` on top of the existing parser, that transform the `/`
case to produce `~`, and ensures the absence of a trailing empty segment in
all other cases.
Note that we change `(more fas urs:ab)` to `(most fas urs:ab)`. Since `urs:ab`
parses the empty string, this doesn't actually make a difference, but it does
make it more obvious that the `+rear` call will never crash.
Alternative approaches I attempted all resulted in much more complicated
parser, so the dumb `+sear` seems preferable.
We do eat the performance cost of an additional list traversal (in `+rear`)
with this change, but that is probably not the end of the world.
Fixes #1501 .
2021-09-16 12:39:50 +02:00
Liam Fitzgerald
1ac0465da7
gall: ignore reload for dead agents
...
Fixes a bug where even if an agent was dead, if its source was modified,
then gall would still attempt a scry for its cage.
2021-09-13 08:43:57 +10:00
Ted Blackman
84c043d921
lull,clay: WIP migration
2021-08-31 02:25:36 +03:00
Ted Blackman
bce8dfd477
ames: pop the next packet, not the first packet again
2021-08-28 23:01:15 +03:00
Ted Blackman
e2fd0b61e4
ames: |ames-prod to reset congestion control
2021-08-28 22:48:23 +03:00
Ted Blackman
91714f5579
lull,dill,gall,kiln: move %pyre to :agent:gall
2021-08-27 18:06:53 +03:00
Ted Blackman
dda7f13e0e
clay: WIP migrate from master
2021-08-26 19:32:52 +03:00
Ted Blackman
f9e1812a14
sys,gen/kiln: kelvin checking seems to work
2021-08-20 10:41:16 +03:00
Ted Blackman
4ea0c56849
dill: don't sync %kids on galaxies
2021-08-18 00:57:38 +03:00
Ted Blackman
616ab66f26
merge master; loosen :hood's updates
2021-08-11 19:23:36 +03:00
Ted Blackman
b8af4835cf
dill: sync to %kids on galaxies
2021-08-09 02:31:53 +03:00
Philip Monk
98d8419c9e
hoon: don't compile .= children twice
2021-08-04 17:02:48 -04:00
Philip Monk
4e16b9c555
hoon: remove +ad
...
This reverts d96d50199
because +ad is incredibly opaque, and +ergo's
sitting right there anyway. It looks like it was intended to abstract
over +endo, +elbo, and +ergo, but only +ergo was every implemented. I
don't doubt the others could be as well, but then they would be just as
inscrutable.
2021-08-04 16:57:03 -04:00
Philip Monk
eb383baba9
dill: no-op on strange fact
...
Otherwise, if you accidentally give on the system duct, you crash the
event, as in #5138
2021-07-29 14:56:26 -04:00
Ted Blackman
a27697a45d
dill: revert change to ota setup
2021-07-23 14:14:23 +03:00
Ted Blackman
6bf7d3316e
dill: |install %base from sponsor on boot
2021-07-23 14:08:30 +03:00
Ted Blackman
d9c9740b8d
clay: print desk in +read-a
2021-07-23 14:03:36 +03:00
Ted Blackman
891a295366
gall: fix /clear-huck handling
2021-07-21 11:55:21 +03:00
Philip Monk
1d06b77a46
jael, dawn: support multikeyfile
...
taken from bdaad4cf84
2021-07-20 13:28:33 -04:00
Philip Monk
564c1216e1
Merge remote-tracking branch 'origin/lf/replace-channel' into release/next-sys
2021-07-20 13:09:41 -04:00
Philip Monk
5240b66347
Merge branch 'pr' into release/next-sys
2021-07-20 13:07:57 -04:00
Ted Blackman
88c15bcca2
gall: make %jolt idempotent, remove dead +mo-reboot
2021-07-20 17:59:20 +03:00
Ted Blackman
38d6d0f4d4
gall,kiln: clean up agent stopping, starting, linking
2021-07-19 16:58:18 +03:00
Ted Blackman
4f5739879e
clay: more printing adjustment
2021-07-19 14:01:34 +03:00
Ted Blackman
f521881212
clay: better print
2021-07-18 23:11:13 +03:00
Ted Blackman
4f3e99f797
clay,hood: seems to boot for real now
2021-07-17 02:54:20 +03:00
Ted Blackman
a1b82d4b36
various: can bootstrap off existing ship, but generators are broken
2021-07-16 19:01:55 +03:00
Ted Blackman
121502028e
dill: stop poking drum
2021-07-16 05:22:53 +03:00
Ted Blackman
4121d35b64
gall: crash on agent build failure
2021-07-16 05:22:31 +03:00
Ted Blackman
4cb5cd0ba1
gall,drum,kiln: WIP start agents in kiln
2021-07-15 09:51:03 +03:00
Ted Blackman
5e496e920e
clay: invalidate cache on kelvin change
2021-07-14 19:21:00 +03:00
Ted Blackman
f4232ce415
dill,clay: minor printing cleanup
2021-07-14 01:51:35 +03:00
Ted Blackman
529502543b
sys,lib: boots!
2021-07-14 01:00:13 +03:00
Ted Blackman
9b968edf75
clay,kiln,/mar/kelvin,/lib/pill: some fixes for pills; not done
2021-07-13 19:02:24 +03:00
Ted Blackman
5986fe67f5
gall: no-op on %slay,%idle for missing agent
2021-07-13 17:35:54 +03:00
Ted Blackman
070bbd0917
clay: use
2021-07-10 08:56:25 -04:00
ixv
9883f09a34
gall: no-op instead of sending %huck in +mo-clear-queue
2021-07-09 12:12:48 -07:00
raghu
ad96d47cdc
better formatting in error messages
2021-07-08 22:29:06 -04:00
Ted Blackman
0e144314c3
gall: suspend agents on upgrade
2021-07-07 14:08:21 -04:00
Ted Blackman
6a1cbf8894
arvo: kelvin version type
2021-07-02 17:40:55 -04:00
Fang
cb1a7cb76a
Merge branch 'm/multipass' into naive/preboot
2021-07-02 16:20:51 +02:00
Ted Blackman
82581ae993
gall: %e scry to list apps on a desk
2021-07-01 20:33:43 -04:00
Ted Blackman
784004cfb6
kiln: +install compiles and loads, untested
2021-06-30 21:03:47 -04:00
Liam Fitzgerald
6ca0fd11c4
eyre: send comments as heartbeats, not empty events
...
The previous behaviour, in addition to not being conformant with the
spec, breaks correct reconnect behaviour.
See: https://html.spec.whatwg.org/multipage/server-sent-events.html#event-stream-interpretation
2021-06-30 11:45:50 +10:00
Ted Blackman
8c3d14b7a7
clay: check kelvin on non-%base desks
2021-06-28 21:22:55 -04:00
Ted Blackman
40af38c9ee
bin/solid.pill
2021-06-28 20:18:37 -04:00
Ted Blackman
501ed4ad82
clay: remove reef
2021-06-28 20:01:51 -04:00
Logan Allen
d5ec02c801
eyre: cast within zapgar to avoid nest check
2021-06-28 17:07:13 -04:00
Liam Fitzgerald
f2583ce080
eyre: address mark review
2021-06-25 08:28:06 +10:00
Liam Fitzgerald
9aaa44ff33
eyre: replace channel upon new GET request
...
As SSE are unidirectional, the client always realises that the
connection has failed faster than the server does. Hence, resuming a
subscription is useless, because channels can only be bound to one duct
at a time. Now, instead of failing a request for a channel
that is already bound to a duct, we replace the duct and continue
normally.
2021-06-24 13:54:53 +10:00
raghu
5698e2662a
Merge remote-tracking branch 'upstream/master' into better-bar-fuse
2021-06-21 20:57:20 -04:00
raghu
a04b318d2d
clay: log on strange fuse responses
2021-06-21 20:43:49 -04:00
Philip Monk
87ca57c364
gall: allow apps to run from any desk
...
Start with |start %desk %app-name
Everywhere in the kernel that we deal with marks, we infer the app it's
connected to and use the marks from that desk.
Also some light renaming in gall, especially path->wire and
current-agent->yoke.
Subsequent tasks:
- Dojo needs a syntax to run generators and threads from other desks
- The home desk should be split into at least a minimal base desk and
big "userspace" desk. Dill's initialization logic should be updated
to handle
- |show-package, |install, and |uninstall should to be written
- Clay should have smarter handling of system versions instead of just
ignoring what's on each desk. It's not clear that this will work
correctly when sys updates right now.
2021-06-18 16:13:55 -10:00
Logan Allen
1296728d4f
eyre: cast within zapgar to avoid nest check
2021-06-14 16:18:18 -05:00
Philip Monk
85fdd6b190
clay: handle out-of-bounds versions in nako
2021-06-08 15:41:44 -10:00
Philip Monk
e5ab5db20c
Merge branch 'release/next-sys' of ssh://github.com/urbit/urbit into release/next-sys
2021-06-08 09:21:04 -10:00
fang
f17e228046
Merge pull request #4942 from urbit/m/dill-appetizer
...
dill: support next runtime's inputs
2021-06-08 21:05:25 +02:00
Philip Monk
b0c9fd1940
Merge remote-tracking branch 'origin/lf/hoon-inc' into release/next-sys
2021-06-08 08:59:27 -10:00
raghu
b499e1e711
clay: print conflicting source on fuse failure
2021-06-07 20:35:18 -04:00
L
5cc908063a
Merge pull request #4987 from urbit/la/zuse-parsing
...
zuse: comb through all notes in libraries, and move arms to zuse
2021-06-07 13:11:40 -05:00
Logan Allen
6703e03199
zuse: remove unnecessary line from +re
2021-06-07 10:20:20 -05:00
Logan Allen
b6206728cc
hoon: make +sink more concise
2021-06-04 16:06:40 -05:00
fang
4c004e0165
lull: saner belt construction
...
$% by itself wasn't quite right, considering +bolt's @c case.
2021-06-04 21:45:59 +02:00
Logan Allen
7ef313c5e1
hoon: add +sink, a slow (but faster than dunk) type printing
2021-06-04 14:40:28 -05:00
Logan Allen
2c7a909f19
zuse: comb through all notes in libraries, and move arms to zuse
2021-06-04 12:47:51 -05:00
fang
3b81e35260
dawn: better multikey format
...
Improves the multikeyfile format by taking a single ship and a list of
life+key pairs, instead of a list of full seeds.
Also decouples these changes from the dawn event, once again putting a
single seed into it. In the multikeyfile case, keys are injected as
%rekey events to jael near the end of the boot sequence.
Haskell-side changes may or may not be incomplete, boot presently fails
at some unknown point with what looks like a noun conversion error.
2021-06-04 01:49:15 +02:00
L
21ae35a08f
Merge pull request #4932 from urbit/la/fast-look
...
arvo: add +de-case to speed up +de-beam, prime cache in +settle:va
2021-06-01 13:45:32 -05:00
Logan Allen
2549eaa5c2
eyre: comment out %writ specialization because it causes crashes
2021-05-27 13:28:23 -05:00
Logan Allen
d822d5adce
gall: ensure we send %whiz after all the other moves
2021-05-27 13:24:36 -05:00
Logan Allen
3427e57cb3
eyre: specialize %clay type
2021-05-27 13:01:06 -05:00
Logan Allen
00fa3e7f0d
arvo: add %whiz option that allows one to prime the compiler cache
2021-05-27 12:55:03 -05:00
fang
bee2fd278c
dill: support next runtime's inputs
...
This, along with the new runtime understanding current dill's blits,
will ensure that the new runtime is reasonably usable even with the old
dill.
2021-05-27 16:28:42 +02:00
Logan Allen
7305ce1499
arvo: clean up unnecessary type casts and fix profiling hint
2021-05-26 17:59:00 -05:00
Logan Allen
517ebbbbee
arvo: rename +en-case to +de-case, prime the cache in +settle
2021-05-26 17:12:59 -05:00
Logan Allen
fdec9ebe93
arvo: add +en-case, hoon: remove +sloy
2021-05-26 15:45:39 -05:00
Logan Allen
23f9668d46
eyre: make fang's requested style changes
2021-05-26 12:22:54 -05:00
fang
d1890f5db2
jael, dawn: support multi-keyfile during boot
...
Allows booting with a keyfile containing multiple keys, as long as one
of them matches current PKI pubkeys for the specified ship.
All relevant keys are loaded into jael and will automatically be put to
use when they match PKI state.
2021-05-26 16:02:39 +02:00
Logan Allen
8ee9382e7b
arvo/hoon: add +sloy, a %da short-circuited +slay to speed up +de-beam and thus +look
2021-05-23 20:34:43 -05:00
Logan Allen
571e1df2c6
eyre: add ~| to slym
2021-05-20 15:05:36 -05:00
Logan Allen
be7c94fcba
eyre: replace +slam with +slym for a speedup
2021-05-20 14:31:28 -05:00
L
782a7644a3
Update pkg/arvo/sys/vane/eyre.hoon
...
Co-authored-by: fang <github@fang.io>
2021-05-20 13:40:05 -05:00
L
c0daa7f9fc
Update pkg/arvo/sys/vane/eyre.hoon
...
Co-authored-by: fang <github@fang.io>
2021-05-20 13:39:49 -05:00
Logan Allen
5e2eb1b783
eyre: use slam and statically typed conversion
2021-05-20 18:03:04 +00:00
Logan Allen
306dbbaead
eyre: use static mark conversions
2021-05-20 12:11:45 -05:00
Logan Allen
c0e4dcdc18
eyre: no-op on clay take
2021-05-19 16:01:05 -05:00
Logan Allen
054806b307
eyre: send warp to warm %c cache for any mark that gets used
2021-05-19 15:40:32 -05:00
Philip Monk
bbe3cbe8ee
clay: formatting
2021-05-18 08:32:30 -10:00
Philip Monk
1e6e69a49d
Merge branch 'pr' into release/next-sys
2021-05-18 07:50:26 -10:00
Philip Monk
5007257b63
Merge branch 'release/next-sys' of ssh://github.com/urbit/urbit into release/next-sys
2021-05-18 07:41:58 -10:00
Philip Monk
1f016f56a6
Merge pull request #4916 from urbit/la/sys-ram
...
zuse: added +ram method to ordered map and made comments on methods a…
2021-05-18 10:40:31 -07:00
Philip Monk
63ba2823dd
Merge remote-tracking branch 'origin/ted/clay-bunt' into release/next-sys
2021-05-18 07:38:52 -10:00
Logan Allen
2c754ff08f
zuse: added +ram method to ordered map and made comments on methods accurate
2021-05-18 12:38:42 -05:00
Philip Monk
e2e4d28548
Merge pull request #4788 from urbit/la/sys-fast-orm
...
zuse: add +all, +any, +got, +has, +run, and +tab to ++ordered-map, jet hints, and reorganize alphabetically
2021-05-18 10:24:31 -07:00
Philip Monk
57bea9407e
Merge pull request #4623 from urbit/jb/seminoun-bunt
...
hoon: update seminoun bunt to be fully blocked
2021-05-18 10:23:30 -07:00
Philip Monk
f73b913df9
Merge branch 'release/next-sys' of ssh://github.com/urbit/urbit into release/next-sys
2021-05-13 07:04:27 -10:00
Philip Monk
a57b6f9c9e
Merge branch 'pr' into release/next-sys
2021-05-13 07:04:07 -10:00
raghu
44722f3a09
fuse: properly report success
2021-05-11 21:30:44 -04:00
Logan Allen
b311087f6a
Merge branch 'release/next-sys' into la/sys-fast-orm
2021-05-11 12:37:16 -05:00
Logan Allen
a25f8028f4
tests: add test to make sure subtree is being modified properly in +del-span
2021-05-05 16:07:08 -05:00
Logan Allen
915c548037
zuse: fix +del-span in +tab
2021-05-05 14:41:13 -05:00
Logan Allen
36ae091cff
zuse: +tab in ordered-map is more succinct and no longer nips
2021-05-05 13:09:43 -05:00
Logan Allen
4073cf9d76
zuse: +tab marginal code cleanup to reduce use of lark
2021-05-05 12:59:40 -05:00
Logan Allen
947b9ec75c
zuse: +tab should paginate into the ordered-map starting from the highest element, not from the lowest
2021-05-05 11:56:04 -05:00
Logan Allen
c86559071f
zuse: add +tab arm to +on, which allows one to take a subset excluding the start element with a max count
2021-05-04 14:55:41 -05:00
raghu
9db61a1566
fuse: simplify state restoration logic
2021-05-03 22:26:49 -04:00
raghu
2fd8e729e1
fuse: fix indents
2021-05-03 19:29:28 -04:00
Ted Blackman
4c94c7edd4
ames: expire direct lanes faster after inactivity
2021-05-03 17:33:56 -04:00
raghu
20fb39bba7
fuse: fix comments
2021-05-02 14:15:03 -04:00
raghu
08d3aa2485
fuse: c/r
2021-05-02 14:04:03 -04:00
raghu
75ed2cc0af
fuse: c/r
2021-05-02 13:44:18 -04:00
Philip Monk
49bbf37ca2
Merge pull request #4835 from urbit/philip/clay-fixes
...
clay: fix requests for strange cares over ames
2021-04-29 15:18:05 -07:00
Philip Monk
7b7e9e3104
clay: fix requests for strange cares over ames
...
Four changes:
- implement +validate-u to allow %u requests over the network
- make +validate-x use our local marks to make %x requests generally
work over the network
- in +start-request, if a foreign ship is making a request that we
shouldn't send over the network, ignore it. This closes a DOS vector.
- in +duce, if we're about to make a request to a foreign ship which
they won't be able to answer, crash the event.
Combined, these fix many of the common cases of weirdness around foreign
clay requests. Notably absent is a fix for reading `%a` across the
network, which I still maintain should happen against the foreign
hoon/zuse.
fixes #4834
see also #4307
2021-04-28 23:24:15 -07:00
Philip Monk
b1091d0e98
Merge remote-tracking branch 'origin/master' into philip/naive
2021-04-28 20:30:07 -07:00
Logan Allen
dd6eeccdae
zuse: update names of +subset to +lot, +peek to +pry, remove unnecessary comments
2021-04-28 16:12:46 -05:00
Philip Monk
f2c43edc99
naive: make bitlengths explicit
...
Also switches everything to ropsten by default, including ivory pill.
Batches work on ropsten now.
Also adds +tx as a hacky development tool to create text for metamask to
sign and then turn that into a batch. A useful reference for bridge and
aggregator work.
2021-04-27 22:58:19 -07:00
Liam Fitzgerald
9b2061a824
hoon: add +succ gate
...
Adds an +succ (successor) gate. Whilst .+ exists, it is impossible to use
in a point free style and doesn't compose functionally.
2021-04-27 10:24:21 +10:00
fang
6f0a947d1b
Merge branch 'master' into release/next-sys
2021-04-26 23:13:27 +02:00
fang
5d4d7de6a6
Merge pull request #4745 from urbit/m/ford-fassig
...
clay: add /~ ford rune, as /= for directories
2021-04-26 16:19:19 +02:00
raghu
8cbacb2545
clay: allow successive upgrades
2021-04-25 14:01:55 -04:00
raghu
201c3db193
clay: finalize fuse request - update |fuse
2021-04-25 14:01:45 -04:00
raghu
9d7afd10ee
clay: change fuse request
2021-04-25 14:01:33 -04:00
fang
550dee32da
clay: +any:in in place of +lien over +tap:in
2021-04-23 23:05:11 +02:00
fang
dcdf695991
clay: insert %nest-fail into trace conditionally
...
Previously, we would stack on the ~| for every file we had previously
processed, even though we only want it in the trace for actual failures.
2021-04-23 22:56:24 +02:00
Logan Allen
ca9f6180d8
zuse: make ordered-map's +run wet
2021-04-22 10:46:48 -05:00
Logan Allen
cef4e6a726
zuse: fix +apt jet parent not found
2021-04-20 16:04:48 -05:00
Logan Allen
5b7b7e6cb7
zuse: reorder dip alphabetically
2021-04-20 15:21:07 -05:00
Logan Allen
6b0dc98952
ames: reflect update of name +traverse -> +dip
2021-04-20 15:04:28 -05:00
Logan Allen
b5a8e7a40b
zuse: change name of +ordered-map to +on and add alias, change name of +traverse to +dip as per talk with ted
2021-04-20 15:03:57 -05:00
Logan Allen
f0ba5afe1c
zuse: respond to joe's requests to remove mk-item and add fast hint for ordered-map
2021-04-20 12:56:24 -05:00
Logan Allen
9247fc247c
zuse: add +got and +has arms to +ordered-map
2021-04-20 12:11:54 -05:00
Logan Allen
ae2aefed2a
zuse: made +run allow type transform to match +by and +in
2021-04-20 12:06:03 -05:00
Logan Allen
2e302818d3
zuse: added +any to +ordered-map
2021-04-20 12:05:24 -05:00
Logan Allen
fd6f6b3bd0
zuse: added jet hints to all +ordered-map arms, reordered them alphabetically as is done in +in and +by
2021-04-20 12:04:59 -05:00
raghu
b2e1008d9a
clay: add %fuse
2021-04-19 23:46:46 -04:00
Philip Monk
66b4c3f193
Merge pull request #4677 from urbit/philip/fast-refresh
...
sys: Speed up things used in Landscape
2021-04-19 15:43:16 -07:00
Philip Monk
8870add20d
Merge pull request #4701 from urbit/ted/gall-print
...
gall: print on missing request for ack
2021-04-19 15:41:27 -07:00
Logan Allen
2f0ed36101
zuse: add +all and +run to ++ordered-map
2021-04-19 15:10:33 -05:00
fang
0570fb5b76
clay: share logic between build-file and directory
...
By factoring their shared logic out into +build-dependency, which gets
passed the relevant details about how to track the file being built in
the dependency stack.
2021-04-12 13:10:36 +02:00