Commit Graph

578 Commits

Author SHA1 Message Date
Liam Fitzgerald
5c3bce8dbe
glob: update to 0v5.b7cjf.2kc12.85sng.lkqav.7sn0k 2021-03-26 14:03:10 +10:00
Liam Fitzgerald
f495a806c3
glob: update to 0v3.nmpms.bgjpu.9gd2j.klgii.qgeal 2021-03-24 14:12:47 +10:00
Liam Fitzgerald
1093a80604
glob: update to 0v2.gfefu.pffjo.rphqi.mlmpu.smaq4 2021-03-24 13:00:22 +10:00
Liam Fitzgerald
dc503a826b
glob: update to 0v5.3d6ao.5f5kl.i84k6.oqf1e.njnvh 2021-03-24 12:28:27 +10:00
janeway
0a8d82d822
glob: update to 0vtbs05.a6mkl.r5ark.jfj84.3fa4h 2021-03-12 14:35:19 +10:00
janeway
d17779972f
glob: update to 0v3.o81b7.9dkd7.6ubrn.ebhmi.dtree 2021-03-10 12:12:21 +10:00
janeway
640190610c glob: update to 0v7.sjbvb.4gg0l.1qmbv.fmobl.d2tsq 2021-03-09 17:18:58 -05:00
janeway
4e9873359d glob: update to 0v3.i5rmt.7fid4.sr9bh.0pcpi.cmc0v 2021-03-09 18:07:06 +00:00
janeway
9c9446d77f
glob: update to 0v8buag.lcoib.dupqj.iprqk.spvqf 2021-03-04 19:45:20 -08:00
janeway
aa07cc4cba
glob: update to 0vah4o5.ark7i.iqunl.or5d7.3rm2e 2021-03-04 14:47:10 -08:00
janeway
7e6672d356
glob: update to 0v1.5ahkf.kj160.veq26.sbnii.p6h5t 2021-03-04 14:28:54 -08:00
Philip Monk
137f1cdff3
Merge remote-tracking branch 'origin/ted/static-clay-3' into release/next-sys 2021-03-03 18:42:44 -08:00
Philip Monk
6e3d1680a7
Merge remote-tracking branch 'origin/master' into release/next-sys 2021-03-03 17:54:57 -08:00
janeway
6bcbbf8f1a
glob: update to 0v5.ip41o.9jcdb.4jb1f.sd508.fdssj 2021-02-26 17:07:59 +10:00
Isaac Visintainer
8c84de618d release: urbit-os-v2.33 2021-02-24 14:30:45 -08:00
Ted Blackman
02dec2d0b9 pill: update solid 2021-02-24 14:44:02 -05:00
Ted Blackman
9244ae9c5f pill: update solid 2021-02-24 13:07:57 -05:00
Liam Fitzgerald
6b30a6c47d
glob: update to 0v3.10f5l.mmsef.76usq.9a3gk.0rmog 2021-02-24 14:25:45 +10:00
Jōshin
1a0d26f03b pill: solid 2021-02-23 20:44:18 +00:00
Ted Blackman
dd87bd9e1c pill: update solid 2021-02-22 14:40:30 -05:00
Ted Blackman
eb56fbd3f4 ames: shorten error printing; update pill 2021-02-19 11:54:34 -05:00
Ted Blackman
669169be0e pill: update solid 2021-02-18 22:02:54 -05:00
Ted Blackman
ad20ddb1d4 clay: added mark runes; can boot off solid pill 2021-02-17 14:31:20 -05:00
Liam Fitzgerald
081c4579b2
glob: update to 0v5.pmklm.qttdl.n8bs0.0tnc4.gg633 2021-02-17 14:35:44 +10:00
Liam Fitzgerald
79f461f5c9
glob: update to 0v7.iotki.j1ptb.mk9vm.borai.jfcr1 2021-02-13 15:24:06 +10:00
janeway
58faf16872 glob: update to 0v5d3ek.msaj7.n78mj.updun.qc1ea 2021-02-12 17:50:20 -05:00
Liam Fitzgerald
b6addb5ed3
glob: update to 0v3.t4lg5.84a6h.2bi2s.ni2p9.32uor 2021-02-12 12:31:33 +10:00
Liam Fitzgerald
b99ca963c0
glob: update to 0v1.grvkp.m0c8p.i7s2g.p5mje.im0qo 2021-02-12 11:11:09 +10:00
Liam Fitzgerald
e2ad6e3e92
glob: update to 0v7.d72b8.89c7k.vn1je.k3gvs.qr60j 2021-02-12 10:06:26 +10:00
Liam Fitzgerald
c41ea83ee1
glob: update to 0v2.n1md9.trksl.p71td.ctngq.rr9su 2021-02-05 11:02:53 +10:00
Liam Fitzgerald
9c30e4e126
glob: update to 0v1.39us5.oj5a9.9as9u.od9db.0dipj 2021-01-28 10:22:45 +10:00
Ted Blackman
ca1585c841 clay: static clay boots 2021-01-26 22:51:52 -05:00
Liam Fitzgerald
f88318b1b7
glob: update to 0v7.9mc9i.jbk7p.smfcl.3aose.b6dat 2021-01-24 11:28:33 +10:00
janeway
a9b32192fc glob: update to 0v7.3vkbq.euver.m66ss.rs6kt.06tp8 2021-01-22 17:15:13 -05:00
janeway
d16c228870 glob: update to 0v7.ttn7o.50403.rf6oh.63hnc.hgpc9 2021-01-21 19:15:58 -05:00
Liam Fitzgerald
108a5f0de8
glob: update to 0v1.4u9gp.rs1fi.ki7ok.ib4cp.mgdvs 2021-01-20 10:52:19 +10:00
Liam Fitzgerald
cb7c9c6535
glob: update to 0v1.4u9gp.rs1fi.ki7ok.ib4cp.mgdvs 2021-01-15 10:40:40 +10:00
Liam Fitzgerald
344e40fda7
glob: update to 0v1.4u9gp.rs1fi.ki7ok.ib4cp.mgdvs 2021-01-14 12:10:44 +10:00
Ted Blackman
f469dbf8bc clay,lull: compiles with static marks 2021-01-13 15:20:58 -05:00
janeway
2d50075bfb glob: update to 0v5.sekq0.8skge.ekt62.i73ig.g5sep 2021-01-11 18:15:12 -05:00
Matilde Park
85435e9a81 release: urbit-os-v2.13 2021-01-06 17:38:34 -05:00
Matilde Park
63c2c95ba3 release: urbit-os-v2.12 2021-01-04 19:49:10 -05:00
janeway
327a542952
glob: update to 0v5.hvt1e.ie7it.b7i7l.1r7jj.dn9ib 2020-12-18 13:06:18 -08:00
Liam Fitzgerald
2d6913794f
glob: update to 0v7.p2egb.1l8lk.11asn.n1bkb.71bkt 2020-12-18 14:09:25 +10:00
Liam Fitzgerald
6499eb5fe0
glob: update to 0v5.bo337.25di9.mg5d5.i9vun.5qaqe 2020-12-15 10:09:22 +10:00
Matilde Park
3f224b13b7 release: urbit-os-v2.7 2020-12-12 16:36:25 -05:00
Matilde Park
7e45efda8e release: urbit-os-v2.6 2020-12-11 20:15:55 -05:00
Matilde Park
6454b5a872 release: urbit-os-v2.5 2020-12-11 19:35:46 -05:00
Matilde Park
03eb12698a glob: update to 0vada5t.b1gqn.oo4ga.6o12h.ek1ot 2020-12-11 16:16:50 -05:00
Liam Fitzgerald
82851feaea
glob: update to 0v3.e7ep6.1ki6b.qpuiq.22qs6.qcbi7 2020-12-11 16:28:28 +10:00
Philip Monk
b1eed3a0e0
pill: brass+solid 2020-12-08 18:15:44 -08:00
Philip Monk
16dbe95fcd
pill: brass+solid 2020-12-08 17:16:20 -08:00
Philip Monk
530d0f8a40
glob: update to 0v2.u8gnq.ipqi1.eksfl.qtd8n.0d56e 2020-12-08 09:56:37 -08:00
Joe Bryan
ca02c616fb pill: solid/ivory 2020-12-08 01:22:18 -08:00
Joe Bryan
89a3f7e1d7 pill: all 2020-12-07 23:32:18 -08:00
Joe Bryan
b6834acba7 pill: solid/ivory 2020-12-07 18:57:56 -08:00
Joe Bryan
e60d599fb4 pill: solid 2020-12-07 18:03:10 -08:00
Joe Bryan
ad40a0ce1f pill: all 2020-12-06 23:10:58 -08:00
Joe Bryan
b3c07c8d85 pill: solid/ivory 2020-12-06 03:33:49 -08:00
Joe Bryan
b42eb6b780 pill: solid/ivory 2020-12-05 01:07:06 -08:00
Joe Bryan
6fc40bcea4 pill: solid 2020-12-03 16:25:44 -08:00
Joe Bryan
abb1e8f717 pill: all 2020-12-03 14:40:18 -08:00
Joe Bryan
ed016c97aa pill: solid 2020-12-02 10:13:59 -08:00
Joe Bryan
3248e8eeb1 pill: solid/ivory 2020-12-02 01:00:09 -08:00
Joe Bryan
ac4b2a46f2 pill: solid/ivory 2020-12-02 01:00:02 -08:00
Joe Bryan
a8df159496 pill: solid 2020-12-01 18:41:57 -08:00
Joe Bryan
2cf1c656bf pill: solid/ivory 2020-12-01 18:11:59 -08:00
Joe Bryan
a7f11df506 pill: all 2020-11-30 21:24:01 -08:00
Joe Bryan
096ef91f7a hood: fix obsolete syntax introduced in merge 2020-11-30 21:23:35 -08:00
Joe Bryan
444e331b6b pill: all 2020-11-30 20:36:43 -08:00
fang
c8ddfe435b
pill: all 2020-11-26 19:24:18 +01:00
Joe Bryan
7a55cb39ed pill: all 2020-11-26 02:14:08 -08:00
Joe Bryan
bbc8e13e00 pill: brass 2020-11-26 01:47:10 -08:00
Joe Bryan
76a39f7347 pill: brass 2020-11-26 01:24:44 -08:00
Joe Bryan
90d4cfec05 pill: solid 2020-11-25 23:34:44 -08:00
Joe Bryan
fe72283e08 pill: solid 2020-11-25 16:02:27 -08:00
Joe Bryan
160c35ce61 pill: solid/ivory 2020-11-25 13:35:15 -08:00
Joe Bryan
37f26b55e2 pill: all 2020-11-21 13:51:24 -08:00
Joe Bryan
5f1d75c119 pill: solid 2020-11-17 15:10:15 -08:00
Joe Bryan
e2ba632a41 pill: solid 2020-11-17 15:07:47 -08:00
Joe Bryan
5eb35b9bb5 pill: solid 2020-11-13 12:51:52 -08:00
Joe Bryan
b3b3df06b5 pill: all 2020-11-11 18:14:08 -08:00
Joe Bryan
46966c2067 pill: updates all 2020-07-27 11:59:04 -07:00
Joe Bryan
a7168478f3 gall: cleans up blocked-scry handling in %gall virtualization 2020-05-20 17:20:51 -07:00
Joe Bryan
6d3a5be259 Merge branch 'na-release/next-vere' into jt/minkleton
* na-release/next-vere: (1169 commits)
  jets: fix broken jets so ~marzod can boot.
  jets: hook up preexisting +repn jet.
  jets: add empty hashes
  jets: review comments
  Revert "Revert "u3: clear cached mugs on cell edit""
  jets: +welp and +zing
  jets: fix memory leak in +run:in
  jet: +find
  jets: +all:by and +any:by
  jets: +urn:by
  jet: +rep:by
  jet: +rep:in
  jets: +apt:in
  jets: +run:in
  jets: final cleanup
  jets: reenable +uni:by
  jets: jet +apt:by
  jets: +key:by and +wyt:by
  jets: +run:by
  jet: final cleanup
  ...
2020-05-20 14:05:17 -07:00
Joe Bryan
593fcdc915 pill: solid and ivory 2020-05-14 20:01:25 -07:00
Joe Bryan
981f4ed998 pill: updates solid 2020-05-14 19:11:13 -07:00
Elliot Glaysher
12c556f0be Merge remote-tracking branch 'origin/release/next-vere' into eg/map-jets 2020-05-14 15:26:25 -07:00
Elliot Glaysher
19bb618d8c Merge remote-tracking branch 'origin/release/next-vere' into scot-jets 2020-05-14 14:42:53 -07:00
Elliot Glaysher
34c1f416f4 jets: +welp and +zing 2020-05-13 11:18:37 -07:00
Elliot Glaysher
3b645370e2 jets: +urn:by 2020-05-12 14:03:58 -07:00
Elliot Glaysher
94c66ec433 jets: +apt:in 2020-05-11 16:31:46 -07:00
Elliot Glaysher
8791af0333 jets: jet +apt:by
As a lark, I put in a debugging printf on this function. It spammed
the console. It's a highly recursive function so jet it.
2020-05-08 14:48:27 -07:00
Elliot Glaysher
a05360f97a jets: hook %ob, then %fein/%fynd 2020-05-06 15:13:59 -07:00
Isaac Visintainer
734e643eb7 release: urbit-os-v1.0.15 2020-05-05 19:32:08 -06:00
Elliot Glaysher
fa4dbfb9f6 jets: remove +ob and add hooks for +fein and +fynd
I'm not going to be able to debug the memory leaks in the +ob core
jets, so remove those new jets and hooks to +fein and +fynd so they
can be called from the @p parsing jets. This moves +fein adn +fynd
to the toplevel because there appear to be issues with hooks
referencing things that aren't in the directly jetted core.
2020-05-04 15:49:20 -07:00
Elliot Glaysher
bf1f08e698 jets: Rebuild pills, the enabled jets here now don't leak memory. 2020-05-04 12:59:41 -07:00
Jared Tobin
0bcd971c5f
release: urbit-os-v1.0.14.rc1 2020-04-24 12:15:39 +04:00
Jared Tobin
1dd082e020
pill: update solid 2020-04-23 15:05:17 +04:00
Isaac Visintainer
d8cdbfdeb8 release: urbit-os-v1.0.13 2020-04-13 19:26:13 -07:00
Jared Tobin
cc16e905af
Merge branch 'yosoyubik/apt-dup' (#2417)
* yosoyubik/apt-dup:
  hoon: +apt:by check for duplicate keys
2020-04-13 17:43:41 +04:00
Jared Tobin
bf78e71479
Merge branch 'courajs/json-unit-tests' (#1769)
* courajs/json-unit-tests:
  Change at:dejs-soft:format to reject too-long json arrays
  Add unit tests for json de/serialization.
2020-04-13 16:38:42 +04:00
Isaac Visintainer
eef6e56dca release: urbit-os-v1.0.12 2020-04-09 17:47:55 -07:00
Isaac Visintainer
7df1ebe3f7 update solid pill 2020-04-09 15:48:32 -07:00
Philip Monk
b98d3bf5ef
pill: update
Committed pill booted a fakezod with #2675
2020-04-06 21:48:33 -07:00
Aaron Sikes
eb0ce2daba Change at:dejs-soft:format to reject too-long json arrays
`at` is for when you expect an array of a certain exact structure. If it
has extra elements, that indicates you were mistaken about the strucutre,
so it should fail to match.
2020-04-06 14:05:35 -04:00
Isaac Visintainer
5faaa6c710 release: urbit-os-v1.0.10 2020-04-02 15:54:24 -07:00
Fang
d1894cdbe6
zuse: allow empty segments in de-purl url parsing
RFC 2396 specifies that segments must be zero or more pchars.[1] We were
deviating from this by requiring at least one pchar per segment.

With this change, we support /some//path, and no longer lose the
trailing slash in /some/path/.

[1]: https://tools.ietf.org/html/rfc2396#section-3.3
2020-04-02 14:44:45 +02:00
Isaac Visintainer
93c881cec9 release: urbit-os-v1.0.9 2020-03-31 16:45:40 -07:00
Philip Monk
5a4786169d
clay: don't underflow when patch produces empty file
Fixes #2602

I haven't been able to reproduce this bug, but I can see how it could
happen in theory.  This should resolve the issue.
2020-03-31 11:37:58 -07:00
Isaac Visintainer
12f150659b release: urbit-os-v1.0.8 2020-03-30 20:28:35 -07:00
Isaac Visintainer
0d3e409f7c release: urbit-os-v1.0.7 2020-03-26 09:25:02 -07:00
Isaac Visintainer
f7133f77e0 release: urbit-os-v1.0.6 2020-03-24 15:45:34 -07:00
Philip Monk
1599937c81
clay: add option to skip queue
Makes it so that |cancel %force skips the next thing in the queue if
you're not in the middle of something.  If you are in the middle of
something, it skips the thing you're in the middle of (just like naked
|cancel).

This should resolve issues where |cancel doesn't drain the queue.
2020-03-23 15:53:18 -07:00
Isaac Visintainer
83fc700d41 release: urbit-os-v1.0.4 2020-03-19 11:19:30 -07:00
Isaac Visintainer
a9f8a2bd88 release: urbit-os-v1.0.3 2020-03-17 18:04:34 -07:00
Philip Monk
7d7f4133a6
arvo: add bar stack to hoon stack trace
We have three stacks: the hoon stack, bar stack, and duct stack.  This
turns the bar stack to a list of ducts and adds it to the hoon stack.
This tells you the ducts of the moves that caused the move where you
crashed.

See:

recover: dig: intr
crud: %belt event failed
bail: intr
  bar-stack
~[
  ~[/g/use/spider/~zod/build/~.dojo_0v5ogno.5anji.vn3f6.4gs7t.6r2ft /d //term/1]
  ~[/d //term/1]
  ~[/g/use/spider/~zod/find/~.dojo_0v5ogno.5anji.vn3f6.4gs7t.6r2ft /d //term/1]
  ~[/g/use/dojo/~zod/out/~zod/spider/drum/wool /d //term/1]
  ~[/d //term/1]
  ~[/g/use/dojo/~zod/drum/hand /d //term/1]
  ~[/g/use/hood/~zod/out/~zod/dojo/drum/phat/~zod/dojo /d //term/1]
  ~[/d //term/1]
  ~[//term/1]
]
call: failed
/~zod/home/~2020.3.17..23.14.11..50e0/sys/vane/ford:<[6.128 3].[6.220 5]>
/~zod/home/~2020.3.17..23.14.11..50e0/sys/vane/ford:<[6.129 3].[6.220 5]>
/~zod/home/~2020.3.17..23.14.11..50e0/sys/vane/ford:<[6.132 3].[6.220 5]>
...
2020-03-17 16:31:38 -07:00
Jared Tobin
80ab15e7b6
Merge branch 'pkova/master' (#2423)
* pkova/master:
  hoon: fix ket not working past tistar
2020-03-17 16:56:39 +04:00
Isaac Visintainer
9c495aa38a release: urbit-os-v1.0.2 2020-03-16 17:55:56 -07:00
Jared Tobin
1dd2b77222
release: urbit-os-v1.0.1 2020-03-16 15:10:58 +04:00
Jared Tobin
c0cc4a1db8
Revert "Merge branch 'liam-fitzgerald/hoon-spot' (#2247)"
This reverts commit 046506f9d4, reversing
changes made to 6ef08962ef.

I'm reverting this as we're moving to a new branch/release model in
which breaching changes (as this one is) will live on a long-running
'next' branch, rather than alongside non-breaching changes in master.

This revert should itself be reverted on the 'next' branch.
2020-03-16 10:51:00 +04:00
yosoyubik
b8d5227c21 hoon: +apt:by check for duplicate keys
Fixes https://github.com/urbit/urbit/issues/2413
2020-03-13 05:19:10 +01:00
pkova
0d079b537c hoon: fix ket not working past tistar 2020-03-13 00:37:33 +02:00
Jared Tobin
b6f9cf2027
pill: solid 2020-03-12 21:47:35 +04:00
Joe Bryan
41ceac8610 pill: all 2020-03-05 12:15:50 -08:00
Jared Tobin
a1d489d977
Merge branch 'os1-rc' (#2365)
* origin/os1-rc: (439 commits)
  pills: updated brass and solid
  chat: pull room contacts from associated group
  chat: spell 'permanent' correctly
  eyre: remove padding from 'access' input
  chat: only delete metadata for a chat if you created it
  chat: settings inputs add borders on focus
  chat: remove console.log from metadataAction
  chat: style fixes during review, use metadata-hook
  chat: edit description, color settings
  chat: add update-metadata to metadata reducer
  chat: revise api.js to match data structures
  metadata-json: add json to action parsers
  chat: construct settings page for metadata
  chat: correct bottom border on join links
  chat: copy shortcodes
  chat: linkify unmanaged chats
  metadata-hook: support group members other than host creating shared resources
  contacts: add bg-gray0 to root page
  chat + contact views: updated for style and to assert that group-path must be equal to app-path if there are ships in the members set
  contacts: changed color + copy of "add to group" button
  ...
2020-03-04 15:48:05 +04:00
Logan Allen
c5d28c9e85 pills: updated brass and solid 2020-03-03 18:28:54 -08:00
Joe Bryan
18f199b2c3 ford: restores pit-shortcircuit, but only during boot 2020-03-02 12:20:21 -08:00
Jared Tobin
9c1d3090c9
Merge branch 'lukechampine/crypto-tests' (#2222)
* lukechampine/crypto-tests:
  test: add bip32 vectors
  test: add scrypt vectors
  test: add hmac vectors
  test: add ed25519 vectors
  test: add expect arm
  test: add AES SIV mode vectors
  zuse: split sivb keys at correct offset
  test: add AES-CMAC vectors
  test: add AES CTR mode vectors
  test: add AES CBC mode vectors
  test: add AES ECB mode vectors
2020-02-29 19:39:35 +04:00
Jared Tobin
bd2d90440f
Merge branch 'ted/ford-no-pit' (#2322)
* origin/ted/ford-no-pit:
  pills: update solid
  http.c: revert timeout to original ~m10
  tests: prime ford %reef cache
  http.c: bump timeout from ~m20 to ~m30
  http.c: bump timeout from ~m10 to ~m20
  tests: fix ford tests for no %reef short-circuit
  ford: remove pit short-circuit
2020-02-28 20:48:24 +04:00
Jared Tobin
d4225848be
pills: update solid 2020-02-28 20:31:32 +04:00
Liam Fitzgerald
8c6ae6f917 Merge branch 'master' into hoon-spot 2020-02-26 09:29:54 +10:00
Liam Fitzgerald
df51577022 hoon: toggle spot typehints on flag
Hides %spot typehints behind a compiler flag. Adds ++mind:ut to
expose this flag conveniently.
2020-02-26 08:07:02 +10:00
Paul Driver
0671278a80 hoon: use constant hint pass-thru for +mink
Instead of trying to hint computations (buying us %memo, etc), we
simply pass through the nouns (with constant [1 noun] formulas)
to the underlying runtime.  This avoids spuriously product-hinting
the +tone results of +mink as the previous version did.
2020-02-25 13:32:40 -08:00
Paul Driver
a486688481
hoon: style issue in +mook 2020-02-20 19:26:26 +04:00
Paul Driver
352c0c9f51
hoon: pills expunged of temporary names 2020-02-20 19:11:08 +04:00
Paul Driver
acb17c18cc
hoon: pills refer to old names (mink etc), temp names remain 2020-02-20 18:48:52 +04:00
Paul Driver
e5841d821d
hoon: pills contain no references to toon/tone/mook/mock/mink 2020-02-20 18:32:23 +04:00
Philip Monk
e082845e0d
gall: make 2140e07 ota-able
Does not change state type, but clears outstanding.agents.state since
it's full of garbage values.  This introduces a possibility that we may
have been in the middle of something, so we handle that in a reasonably
sane way.
2020-02-13 17:20:27 -08:00
Paul Driver
0d0549f6cb
hoon: update pills before moving mink callers 2020-02-13 19:43:58 +04:00
Paul Driver
50aaa27ed1
hoon: add +mino, a new virtual nock interpreter
+mink, the current virtual nock interpreter, has a couple of problems.
 1. it propagates blocks as a list of paths, which is inconsistent with
    the way the jet behaves (only a single path is ever blocked on, with
    exception semantics).
 2. +mush was not updated after the change to molds to crash instead of
    bunting. it crashes when not given the right kind of data, which is
    inconsistent with the intended semantics of ++mink.
 3. it "eats" hints, causing (for example) slogs to disappear when running
    without a mink jet.
 4. the naming/style was typically cryptic. since +mink will never really
    be run, one could argue that its primary purpose is to be read.

+mino (which will be renamed to +mink after some staging) has had its
return type (+tono, to be renamed +tone) modified in the block case so
that it only blocks on one path, has a corrected +mush, carefully
"passes through" all hints to the underlying interpreter, and has more
meaningful names, with the intention of improving readability.

A generator (gen/mino.hoon) is also included in this commit; it contains
tests that were used during the development of +mino. It should be removed
before integration, and is included for posterity. The stack trace semantics
are expected to change in the near future (since they are dependent on jets
faithfully preserving the stack pushes of the pure nock, an onerous burden).
They are, however, tested in gen/mino.hoon, which makes it unsuitable as a
long-term test.
2020-02-13 19:19:52 +04:00
Liam Fitzgerald
5449a0e05b hoon: support %spot hint in xray 2020-02-10 14:20:46 +10:00
Logan Allen
1c60096090 pills: updated all 2020-02-07 16:20:15 -08:00
Liam Fitzgerald
5cd189f83c hoon: add %spot typehint
Adds a `[%spot *]` type to the `note` type annotation definition.
These are added when the %dbug hoon is encountered. Done to enable
jump to defintion in the language-server.
2020-02-07 17:57:54 +10:00
Fang
717e2310be
eyre: remove potentially noisy printf
It's perfectly sane for gall (apps) to send quits to subscriptions
incoming from the web.
2020-02-05 18:20:43 +01:00
lukechampine
225fee0258 zuse: split sivb keys at correct offset 2020-02-04 00:17:43 -05:00
Ted Blackman
7dc499d438
ford: ignore spurious clay responses
Due to asynchronicity, Ford can receive responses from Clay to requests
that it has already attempted to cancel. This removes some overzealous
assertions that this wouldn't happen.
2020-01-29 15:11:36 +04:00
Jared Tobin
47b1b0a9bd
Revert "zuse: allow non-trailing null bytes in to-wain:format"
This reverts commit db1b88b21b.

See discussion in #2195, #1755.
2020-01-29 14:53:09 +04:00
Ted Blackman
0d69031c72
ford: add +got-build helper
Replaced manual calls to (~(got by builds.state) build) with a new
+got-build helper function that prints a helpful error message on
failure.
2020-01-29 14:00:25 +04:00
Jared Tobin
a3e682f596
Merge branch 'ford-orphans' (#2192)
* ford-orphans:
  ford: dequeue orphans

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-28 17:39:36 +04:00
Ted Blackman
155ab60609
ford: dequeue orphans
@ixv recently uncovered a bug (#2180) in Ford that caused certain
rebuilds to crash. @Fang- and I believe this change should fix the bug,
and we have confirmed that the reproduction that used to fail about two
thirds of the time now has not failed at all in the ten or so times
we've run it since then. @Fang- is still running more tests to confirm
the fix with more certainty.

It turned out the cause was that (depending on the rebuild order, which
is unspecified and should not need to be specified), Ford could enqueue
a provisional sub-build to be run but then, later in the same +gather
call, discover that the sub-build was in fact an orphan and delete it
from builds.state accordingly. Then when Ford tried to run the
sub-build, it would have already been deleted from the state, so Ford
would crash when trying to process its result in +reduce.

The fix was to make sure that when we discover a provisional sub-build
is orphaned, dequeue it from candidate-builds and next-builds to make
sure we don't try to run it. I'm about 95% sure this fix completely
solves the bug.
2020-01-28 17:29:24 +04:00
Ted Blackman
0bee77ce8e
/sys: use +harden on vane tasks
Uses Zuse's previously unused +harden helper function to streamline
+task unwrapping in vanes.

(Arguably, in landlocked vanes like Ford, we should crash if we get a
%soft task, since no events should be coming in directly from the
outside.)
2020-01-27 09:53:53 +04:00
Logan Allen
cdd59ef8f9 pills: updated solid and brass 2020-01-24 17:31:31 -08:00
Jared Tobin
c182672b54
Merge branch 'ames-goof' (#2166)
* origin/ames-goof:
  ames: adjust route update logic

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-22 13:14:39 +04:00
Ted Blackman
11c92e691d
ames: adjust route update logic
There was a typo in the routing logic that was comparing equality
against a value where it should have been doing a pattern match. The
value compared against contained the literal * gate, which would never
match route.peer-state, so this condition was always true, meaning the
fix that had added this extra condition (5406f06) did not actually
change the behavior from what it been previously.
2020-01-22 12:50:18 +04:00
Philip Monk
d578159791
ames: fix assertion bug and add debug info
If we receive the naxplanation before the nack, the assertion in the gte
direction fails.  The intent of the assertion is to make sure top of the
live queue never falls behind current.state, so it was simply in the
wrong direction.
2020-01-14 08:34:12 -08:00
Fang
ae8a57ca25
gall: (list path) in %fact and %kick
Instead of providing a (unit path), allows for (list path), which better
supports the "update to path and subpath cases".

For example, if /things wants updates about everything, and
/things/specific wants updates about the specific thing, they'll both
need to receive a %fact when the specific thing changes.
Previously, these would have been two separate moves. Now, gall handles
the multi-targeting for you.
2019-12-23 13:37:32 +01:00
Fang
ea7c1db61c
various: use =/ in place of =+ ^-
Also faceless =; where appropriate.
2019-12-21 14:29:14 -03:30
Fang
21ac0e513b
hoon: parse =; without face
Allows for =;([a=@ b=@] ...) and similar constructions.

Also affects =/ and =^.
2019-12-21 14:20:11 -03:30
Jared Tobin
103e375417
Merge branch 'ford-safe' (#2117)
* origin/ford-safe:
  ford: clear build results on +load

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-20 13:22:23 -03:30
Jared Tobin
ee0de1a657
Merge branch 'm/clay-u' (#2119)
* origin/m/clay-u:
  clay: implement %u care

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-19 14:09:52 -03:30
Jared Tobin
eee651042c
Merge branch 'm/eth-sending' (#2094)
* origin/m/eth-sending:
  eth-sender: do proper nonce reading
  zuse: implement eth rlp decoding
  zuse: correctly encode leading zeroes in rlp data
  zuse: lightly restructure encode:rlp:ethereum
  static gall: update send-txs
  ethio: implement +request-batch-rpc-loose

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-19 11:20:06 -03:30
Fang
3808f02287
clay: implement %u care
Previously, it would always produce ~, regardless of the path asked
about.

Now, it produces a loobean, based on whether or not a file exists at the
specified path.
2019-12-18 21:02:38 +01:00
Philip Monk
1a7658bd91
ph: fix tests by spamming blocks regularly 2019-12-18 11:53:36 -03:30
Philip Monk
de2d0f3014
gaze: reflect changes to eth-watcher 2019-12-18 11:38:56 -03:30
Philip Monk
3d30b3b73c
jael: only advance lifes
This matches the semantics of rifts and makes it more forgiving of
misordered updates.
2019-12-18 11:31:14 -03:30
Philip Monk
16d98e5eda
jael: stop ship-to-ship 2019-12-18 11:19:41 -03:30
Philip Monk
18c3e7253b
jael: add "eager" mode to avoid hitting nodes as much 2019-12-18 10:58:00 -03:30
Ted Blackman
9fb37543ec ford: clear build results on +load 2019-12-18 00:25:27 -05:00
Fang
1647d760d1
zuse: implement eth rlp decoding
Also updates existing tests to check both en- and decoding.
2019-12-14 21:39:54 +01:00
Elliot Glaysher
44f6a90a4c
hoon: fix typo in +put:in
This fixes +put:in so that it works without the correct jet.  There's a
mismatch where the hoon code is wrong and the jet is correct, so that
when we try to run this on alternate interpreters which may not have the
+in jets, things won't work.
2019-12-13 21:00:21 +08:00
Jared Tobin
aff97bf150
Merge branch 'm/eth-apps' (#2084)
* origin/m/eth-apps:
  claz: clean up head of app file
  static gall: update claz
  ethio: add +get-next-nonce
  zuse: update %eth-get-transaction-count
  zuse: include all relevant azimuth addresses
  ethio: implement +batch-read-contract-strict
  ethio: fail request-rpc more properly
  static gall: update gaze

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-12 16:27:04 +08:00
Ted Blackman
d77fb0f685
ames: add %sift to trace by ship 2019-12-12 15:55:32 +08:00
Fang
a16fbd20ae
zuse: update %eth-get-transaction-count
It apparently now requires a second argument indicating the block to get
the result at.
2019-12-11 17:32:33 +01:00
Philip Monk
68279d91e4
gall: remove message type from wire
%leave over the network didn't work because we included the message type
in the wire from gall, so the duct for the initial %watch and the %leave
were different.  We need to know the message type so we can route the
acknowledgment as %poke-ack, %watch-ack, or no-op.

This moves this piece of information to a piece of state, where we queue
up the message types per [duct wire].  Ames guarantees that
acknowledgments will come in order.

This also includes an easy state adapter.  The more interesting part of
the upgrade is that we likely have outstanding subscriptions with the
old wire format.  The disadvantage of storing information in wires is
that it can't be upgraded in +load.  So, here we listen for updates on
the old wire format, and when we get them we kill the old subscription,
so that it will be recreated with the new wire format.

As an aside, this is a good example of what we mean when we say
subscriptions may be killed at any time, so apps must handle this case.

Finally, this fixes the "attributing" ship to ~zod for agent requests.
This information was ignored for agent requests, but including it causes
spurious duct mismatches.
2019-12-10 19:32:26 +08:00
Ted Blackman
bee0b5803a
ames: don't crash on missing queued larval event 2019-12-05 17:04:24 +08:00
Jared Tobin
f23bbd1cec
Merge branch 'pkova/master' (#1991)
* pkova/master:
  zuse: implement json number to @rd parsing

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-05 16:38:57 +08:00
Philip Monk
5406f06092
ames: don't overwrite lane if already direct
This is why basically all packets are going through the galaxies right
now.  Most of the time, the flow right now is:

* talking to ~dopzod but don't know where it is, so ask ~zod to forward,
  which it does

* ~dopzod responds both directly (on the origin lane) and through ~zod

* (if NAT, the direct response doesn't get back, but the one through
  ~zod does. Then you respond directly to ~dopzod because their lane
  piggybacked on the response. ~dopzod responds both directly and
  through ~zod, and the story picks up the same as if you weren't behind a
  NAT)

* now you have a direct lane to ~dopzod, so all is well.

* now the duplicate response from ~dopzod through ~zod comes in (takes a
  little longer because it's bouncing off ~zod), resetting your lane to
  "provisional"

* since your lane is provisional, you send your next packet both
  directly and through ~zod

* GOTO 2

This change says "if I already have a direct lane, don't overwrite it
with a provisional one". This way, the only way the direct lane can be
overwritten is if they stop responding on it (cleared on "not
responding; still trying").

I also added |- to +send-blob to make |ames-verb %rot less confusing.
2019-12-05 16:05:06 +08:00
Jared Tobin
73cffdb28f
(re)release: v0.10.0
Updates brass pill.
2019-12-05 02:25:00 +08:00
Ted Blackman
b3f757d88b
ames: send larval crashes to dill 2019-12-05 02:23:13 +08:00
Ted Blackman
4c9cc1542a
ames: dequeue failed larval timer 2019-12-05 02:23:13 +08:00
Ted Blackman
c20f2391e1
ames: print and retry larval crashes 2019-12-05 02:22:27 +08:00
Jared Tobin
d310cb68bd
release: v0.10.0.rc-1
* Remove testnet configuration from %zuse
* Bump URBIT_VERSION
* Update Landscape builds
* Update all pills
2019-12-04 19:41:43 +08:00
Philip Monk
ba5e7d9090
dojo: set prompt on watch 2019-12-03 17:18:09 -08:00
Philip Monk
38197fc79d
gen: add comments on new generators 2019-12-03 16:41:29 -08:00
Philip Monk
17db094d61
publish: set permissions on %serve 2019-12-02 22:29:12 -08:00
Philip Monk
3b9bcf64b0
arvo: remove unneeded top-level mock 2019-12-02 20:52:59 -08:00
Philip Monk
ef29349ec9
pill 2019-12-02 20:28:07 -08:00
Philip Monk
6d648fcba6
ping: rewrite to handle sponsor breaches/changes
The old version of ping hung when your sponsor breached while you had an
outstanding poke.  I believe it would do the same if your sponsor
changed and the old sponsor didn't respond to you.

This explicitly subscribes to Jael for updates to our sponsorship tree,
and kicks the pings of any ships that change rift and any changed
sponsors.
2019-12-02 20:09:36 -08:00
Philip Monk
93d3edbf73
pill 2019-12-02 20:09:36 -08:00
Philip Monk
19c5ad4c9b
Merge remote-tracking branch 'origin/jam-cue-rock' into philip/merg 2019-12-02 13:57:57 -08:00
Philip Monk
096273cf4a
gall: add state upgrade for %pack 2019-12-02 03:20:34 -08:00
Philip Monk
0431c3c073
Merge remote-tracking branch 'origin/jam-cue-rock' into rc 2019-12-02 02:08:37 -08:00
Philip Monk
64e8318657
hoon: zpgl -> zpld for consistency 2019-12-02 01:36:00 -08:00
Philip Monk
e3005eaffa
ames: clear out-of-order messages from packet queue 2019-12-02 00:41:50 -08:00
Philip Monk
aaf7b3b42e
ames: don't crash in +on-take-wake 2019-12-01 16:00:32 -08:00
Philip Monk
7149ceacc3
pill 2019-12-01 00:38:04 -08:00
Philip Monk
689b829a1d
Merge remote-tracking branch 'origin/master' into rc 2019-11-30 21:54:36 -08:00
Philip Monk
0eaad536a0
eth-watcher: keep timers going 2019-11-30 19:38:43 -08:00
Philip Monk
f30daf5af2
azimuth-tracker: send new-style eth-watcher poke 2019-11-30 17:39:31 -08:00