Commit Graph

13965 Commits

Author SHA1 Message Date
yosoyubik
354a914c82 gall: run +ap-kill-down on +molt 2022-07-13 15:51:28 +02:00
yosoyubik
a3518ef4d6 ames: add trace for %cork plea 2022-07-13 09:17:42 +02:00
Joe Bryan
dca17825e1
Merge pull request #4727 from urbit/lf/http2-support
vere: enable HTTP2
2022-07-12 14:40:36 -04:00
bacwyls
49b837f5e8
eyre: fix for %trim bug - addendum
Broader, more direct solution.
2022-07-08 17:10:41 -07:00
bacwyls
c8fafa53bd
eyre: fix for %trim bug
Problem:
by-channel has its own copy of server-state from line 2182. discard-channel returns an altered state, with one channel removed from the state of by-channel.
but the state of by-channel isn't changing with each iteration, so |trim is only removing one channel per invocation.

Solution:
update by-channel on each iteration.
2022-07-08 15:14:13 -07:00
Joe Bryan
52cb382ea0
Merge pull request #5883 from urbit/jb/exit-errors
vere: exit correctly on fatal error
2022-07-08 18:00:24 -04:00
Joe Bryan
94821d8e86 vere: make uv_cancel return code check explicit 2022-07-08 14:49:13 -04:00
Joe Bryan
ae370dd7e0 u3: check for overflow in interpreter if guard page not present 2022-07-08 14:38:32 -04:00
Joe Bryan
517ca69823 build: default to using guard page 2022-07-08 14:37:39 -04:00
Hunter Miller
f0973947c6 Merge branch 'next/groups' 2022-07-08 13:25:02 -05:00
janeway-bot
e6996cb77c groups: [skip actions] update glob (0v3.mtkm8.77bad.7j793.jtnl4.pi1mm) 2022-07-08 10:20:31 -07:00
yosoyubik
34a7496720 ames: clean up nack flows after a cork 2022-07-08 07:29:04 +02:00
Nick
9972f0b4ec bitcoin-wallet: set state as default case for handle-provider-update 2022-07-07 16:47:06 -04:00
Nick
8726ca2ebc %bitcoin: Implement additional RPC calls from btc-provider.
%histogram, %block-headers, %tx-from-pos, %fee, %psbt are now all callable from the btc-provider agent. These actions are necessary in order to get the lightning network working within Urbit.
2022-07-07 16:47:06 -04:00
Nick
740d68777c %bitcoin: Added %regtest to arms using the network type definition. 2022-07-07 16:47:06 -04:00
Nick
56f01a52ed %bitcoin: add regtest type to network
Updating bitcoin provider agent to enable connection to a bitcoin provider node in regtest mode
2022-07-07 16:47:06 -04:00
Peter McEvoy
abe5788daf u3: return 0 from u3e_fault() if guard page cannot be protected 2022-07-07 09:48:33 -07:00
Peter McEvoy
b7cd97664d u3: control presence of guard page using macro 2022-07-07 09:33:41 -07:00
fang
283e5ad1db
Revert "gall: exclude from traces"
This reverts commit b1b422ce05.
2022-07-07 16:24:03 +02:00
fang
a1b3348cdf
Revert "clay: render syntax errors at end of file"
This reverts commit 7a110db60d.
2022-07-07 16:21:43 +02:00
yosoyubik
ca1b586a46 ames: init cork timer on larval +take 2022-07-07 11:35:28 +02:00
yosoyubik
d4d443db13 ames: remove cork wire from state 2022-07-07 09:20:57 +02:00
Joe Bryan
53af044d18 Revert "u3: check for road stack overflow on every nock %2 and %9"
This reverts commit 4bd4e8a4a9.
2022-07-07 01:34:05 -04:00
Joe Bryan
8fb3b1502b build: make bench is phony 2022-07-07 01:34:05 -04:00
Joe Bryan
9d5b24362e u3: failure to mprotect() the new guard page is fatal 2022-07-07 01:34:05 -04:00
Joe Bryan
f0fa528f3b u3: removes/disables obsolete road stack overflow checks 2022-07-07 01:17:16 -04:00
Joe Bryan
350406c9e1 u3: account for guard page in cellblock allocation conditional 2022-07-07 00:48:50 -04:00
Joe Bryan
b630490573 u3: bump road heap offset before allocating cellblock 2022-07-07 00:48:19 -04:00
Peter McEvoy
a2a6250d77 u3: restore missing return 0 to u3e_fault() 2022-07-06 18:42:50 -07:00
Peter McEvoy
a830db5f68 u3: initialize guard page in u3e_init() 2022-07-06 18:29:16 -07:00
Peter McEvoy
1ea6e10a36 u3: initialize guard page in u3e_live() 2022-07-06 16:09:34 -07:00
drbeefsupreme
c29512308f doccords: deco remove double comment 2022-07-06 18:59:01 -04:00
Peter McEvoy
f2d24201a5 u3: replace u3m_bail() with u3m_signal() in u3e_fault() 2022-07-06 15:33:16 -07:00
drbeefsupreme
73c0222d2e doccords: deco convention for +$ arms 2022-07-06 18:22:21 -04:00
drbeefsupreme
ef9297cfd7 doccords: these <-> other locations 2022-07-06 17:43:41 -04:00
drbeefsupreme
b7412d939c doccords: lib/deco remove informal comment 2022-07-06 17:31:55 -04:00
drbeefsupreme
4dd8b4d043 doccords: change :: in lib/deco to :> 2022-07-06 17:30:52 -04:00
drbeefsupreme
862f6cc899 doccords: update language in lib/deco 2022-07-06 17:28:14 -04:00
drbeefsupreme
948bd1e185 doccords: adds batch comment examples to lib/deco 2022-07-06 17:23:25 -04:00
drbeefsupreme
37343b6d87 doccords: add sample library lib/deco.hoon 2022-07-06 17:20:21 -04:00
drbeefsupreme
938dc8cfe4 dojo: reverse doccords query ordering 2022-07-06 17:19:44 -04:00
drbeefsupreme
27135f1bb5 dprint: links -> cuff 2022-07-06 16:31:07 -04:00
drbeefsupreme
1cd95a9ceb hoon: add +$ cuff (list link)
makes doccords stuff more readable. also changes the (list link) in
$help to cuff
2022-07-06 16:30:24 -04:00
drbeefsupreme
a4ca51009a dprint: fix syntax and test suite for new parser 2022-07-06 16:21:13 -04:00
drbeefsupreme
de19456f82 hoon: revamp doccords parsing for batch comments
this commit replaces the previous intermediate parsing structure, $whit,
with a new one better suited for batch comments and taking into account
that {#  %label} syntax is no longer being used anywhere. basically,
this makes it so that all doccords are batch comments, where if they are
preceded by a (list link) then they will try to attach to the given
link (only utilizes first link for now), and a blank link means it will
try to attach to the following hoon or spec
2022-07-06 16:17:54 -04:00
Joe Bryan
4bd4e8a4a9 u3: check for road stack overflow on every nock %2 and %9
(cherry picked from commit 9db1411bd8e8c0b8e9bf38aadb869c5fd678023b)
2022-07-06 11:40:12 -07:00
Joe Bryan
e045bfd593 u3: adds (failing) test for bail:meme
(cherry picked from commit 3a03b1de5d57201c153229db69051235a50907c0)
2022-07-06 11:40:11 -07:00
Joe Bryan
146db7b832 u3: allocate emergency buffer on every road, free on bail for trace cells
(cherry picked from commit 3a11a08b712b52805f97ceb06da8417a8b7cbde4)
2022-07-06 11:40:11 -07:00
Joe Bryan
eaf47ce0cf u3: correct u3m_soft() error result where +mook is unavailable
(cherry picked from commit bbc54b7a890845e4281d3a250fefedefb464bc8d)
2022-07-06 11:40:11 -07:00
Joe Bryan
bcdafbe206 u3: make output pointer optional in u3r_p()
(cherry picked from commit 2a0b92b4474947fcbb519d4158eae9cb3b5d6287)
2022-07-06 11:40:11 -07:00
Peter McEvoy
78cb396736 u3: use pag_siz_i and pag_wiz_i where appropriate 2022-07-06 11:40:09 -07:00
Peter McEvoy
f0cebdcab0 u3: place guard page between heap and stack 2022-07-06 11:37:35 -07:00
fang
ddf3520648
hood: re-patch |rein
Essentially reimplements #5863 in the generator, instead of the library.
2022-07-06 20:18:45 +02:00
fang
c437f1cdbd
Merge pull request #5855 from urbit/m/gall-quieter
gall: exclude from traces
2022-07-06 18:48:55 +02:00
Hunter Miller
c8a5824576 Merge branch 'next/groups' 2022-07-06 11:38:24 -05:00
Hunter Miller
5e427b6655 Merge branch 'next/groups' of github.com:urbit/urbit into next/groups 2022-07-06 11:37:45 -05:00
Hunter Miller
3f8cef1cac groups: correcting package lock yet again 2022-07-06 11:37:34 -05:00
yosoyubik
e366e55dbc ames: add global daily timer for pending corks
WIP compiles and upgrades, and the timer gets properly reset
but untested for actual re-subscriptions with old publishers
2022-07-06 17:00:35 +02:00
yosoyubik
608aba2a87 gall: handle subscriber-side %cork
this also enables increasing sub-nonces for every new subscription
TODO: create one global cork timer for all peers
2022-07-06 14:44:20 +02:00
yosoyubik
f3a60aef14 gall: don't send %cork when leaving a subscription
This is a temporary fix, and first part of the gall-request-queue-fix
release in two stages. This gives a publisher ship the ability to
understand a %cork and handle it properly, but no subscriber will
be sending %corks at this stage when leaving a subscription.

We still add a nonce to all subscription wires but it doesn't
increment it when resubscribing, allowing flows to be reused.

Tested locally with toy pub/sub agents and Group join/leaving
2022-07-06 10:59:08 +02:00
yosoyubik
76919ce07c ames: resend %cork after a naxplanation in one day 2022-07-06 10:52:19 +02:00
yosoyubik
850de0bfd3 Revert "gall: run +ap-kill-down on +molt"
This reverts commit 2107240962.
2022-07-06 09:12:30 +02:00
yosoyubik
675cf45171 Revert "gall: run +ap-kill-down only once"
This reverts commit cb5893ac05.
2022-07-06 09:12:10 +02:00
yosoyubik
3560f6b7e3 Revert "gall: fix condition to run +ap-kill-down"
This reverts commit e5c86886e4.
2022-07-06 09:11:22 +02:00
Joe Bryan
7dce9aede3 vere: check exit code before upgrade/prepare-for, print failure msg 2022-07-05 23:13:20 -04:00
Joe Bryan
0e2880169d vere: set exit code globally on fatal error 2022-07-05 23:09:49 -04:00
Joe Bryan
9cf153f1b6 vere: fix ctrl-c during replay 2022-07-05 23:08:59 -04:00
Joe Bryan
e6005b0734 vere: skip disk cleanup if commit thread cannot be canceled 2022-07-05 23:08:26 -04:00
Joe Bryan
f9e4822026
Merge pull request #5880 from midlyx-hatrys/compdb
vere: build: add ability to create compdb (for Clangd etc.)
2022-07-05 22:42:19 -04:00
Joe Bryan
279a7f18db Merge branch 'master' into next/vere
* master: (61 commits)
  rich-text: removing broken plugin, reverting react-md to 5.0.3 for compat
  graphcontent: blockquotes now correctly break paragraphs off
  md-editor: fixing background in darkmode
  landscape: [skip actions] update glob (0v5.kgrq2.gp725.bo5bk.dmr7d.h41qk)
  ops: fixing build
  meta: version bump for new changes from next/landscape
  meta: package bump:
  eventsource: prevent resetting event id counter
  interface: fixing react-codemirror2 dep
  groups: add webp to list of image types to check links for in chat
  groups: fix issue where URL would be shown along with image in chat
  groups: fix issue with chanel perms caused by use of Set()
  groups: update glob (0v4.2se6m.fvv67.nn5e8.vfrv9.mmi88)[skip actions]
  groups: updating package lock
  groups: updating nvmrc
  Fix webpack, build dependency issues
  compat: fixing react-codemirror2 deps
  compat: updating to latest sigil-js for react
  compat: updating indigo, and removing unused deps
  meta: fixing react version issue
  ...
2022-07-05 22:41:53 -04:00
Midlyx Hatrys
85eaefd82a vere: build: add ability to create compdb (for Clangd etc.)
Running "make compile_commands.json" after configuring does the
needful.
2022-07-05 21:03:46 +03:00
fang
6eece773ba
Merge pull request #5857 from urbit/jb/behn-fix1
behn: fix timers not firing
2022-07-05 16:00:31 +02:00
drbeefsupreme
b80590fd05 hoon: remove _docs-engine
thought this would play a larger role than it did. currently it is unused
2022-07-01 17:47:18 -04:00
drbeefsupreme
274bc167d0 dprint: remove erroneous sigpam 2022-07-01 17:11:38 -04:00
drbeefsupreme
2028ae9397 dprint: batch comment tests, more refactoring 2022-07-01 13:48:48 -04:00
drbeefsupreme
3bfad4807a hoon: fix batch comment parser
the merge broke it i guess
2022-07-01 12:14:47 -04:00
drbeefsupreme
37ce546dd4 dprint: simplify arm doc testing 2022-07-01 10:39:01 -04:00
yosoyubik
ea4a31558f ames: ack last fragment from closing bone 2022-07-01 09:59:24 +02:00
Philip Monk
89b9977ac8 azimuth: fetch snapshot on boot
Previously, the initial Azimuth snapshot was stored in Clay and shipped
in the pill.  This causes several problems:

- It bloats the pill
- Updating the snapshot added large blobs to Clay's state.  Even now
  that tombstoning is possible, you don't want to have to do that
  regularly.
- As a result, the snapshot was never updated.
- Even if you did tombstone those files, it could only be updated as
  often as the pill
- And those updates would be sent over the network to people who didn't
  need them

This moves the snapshot out of the pill and refactors Azimuth's
initialization process.  On boot, when app/azimuth starts up, it first
downloads a snapshot from bootstrap.urbit.org and uses that to
initialize its state.  As before, updates after this initial snapshot
come from an Ethereum node directly and are verified locally.

Relevant commands are:

- `-azimuth-snap-state %filename` creates a snapshot file
- `-azimuth-load "url"` downloads and inits from a snapshot, with url
  defaulting to https://bootstrap.urbit.org/mainnet.azimuth-snapshot
- `:azimuth &azimuth-poke-data %load snap-state` takes a snap-state any
  way you have it

Note the snapshot is downloaded from the same place as the pill, so this
doesn't introduce additional trust beyond what was already required.
When remote scry is released, we should consider allowing downloading
the snapshot in that way.
2022-06-30 23:22:50 -07:00
drbeefsupreme
5710826cd4 dprint: fix test library argument 2022-06-30 17:18:09 -04:00
drbeefsupreme
97d183b7af Merge branch 'master' into jon/doccords 2022-06-30 17:17:15 -04:00
drbeefsupreme
b3e6f82499 dojo: change doccords syntax to be path-like
using col as a seperate made it look like a bunch of =<, which doesn't
make sense for e.g. pritning chapters. paths aren't quite right either,
so we don't use +stap, and just want identifiers separated by fas
without any leading fas
2022-06-30 17:13:07 -04:00
drbeefsupreme
b4d04444cd dprint: add missing doccords 2022-06-30 16:58:45 -04:00
drbeefsupreme
0f8f90c1fd dprint: simplify type to item interface
shouldn't need to surface recursion to the developer
2022-06-30 16:56:04 -04:00
tacryt-socryp
238a2b8d6b
Merge pull request #5749 from rabsef-bicrym/patch-4
Solve #5706 - Create vase at each branch of `t.t.t.t.path`
2022-06-30 15:27:53 -05:00
drbeefsupreme
69b06e0ac3 dprint: add identifying glyphs to various items 2022-06-30 16:27:06 -04:00
drbeefsupreme
4b8cdd6f83 dprint: easier to read style changes 2022-06-30 15:14:56 -04:00
yosoyubik
e5c86886e4 gall: fix condition to run +ap-kill-down 2022-06-30 17:44:11 +02:00
drbeefsupreme
5b65288268 dprint: add styled text first run
mostly just to get something working, next i will clean up syntax
2022-06-30 11:39:06 -04:00
yosoyubik
a967b42c30 ames: print bone if "hear last in-progress" 2022-06-30 17:12:07 +02:00
yosoyubik
cb5893ac05 gall: run +ap-kill-down only once 2022-06-30 17:06:22 +02:00
yosoyubik
2107240962 gall: run +ap-kill-down on +molt 2022-06-30 15:57:02 +02:00
fang
ad6a5acfbc
Merge branch 'master' into next/arvo 2022-06-30 12:59:41 +02:00
yosoyubik
b0766c2f53 ames: remove misleading trace printf 2022-06-30 10:46:02 +02:00
yosoyubik
27ac0b601e ames: use %$ as recipient vane for %corks 2022-06-30 10:18:37 +02:00
Hunter Miller
370c6dcbc8 Merge branch 'next/groups' 2022-06-29 10:18:17 -05:00
drbeefsupreme
72dec146b4 dprint: update default core arm comment syntax 2022-06-28 13:30:40 -04:00
drbeefsupreme
77b5c736aa hoon: fix batch comment parsing for ++ $ arms
comments for ++  $  arms are set using four aces
2022-06-28 13:29:42 -04:00
drbeefsupreme
8f48f08f1a dprint: change to batch comment syntax 2022-06-28 12:12:03 -04:00
drbeefsupreme
efe01b815a hoon: batch comment doccords inside of cores
changes $whit to have a (unit link) instead of (unit term). this holds
the identifier for where a comment is supposed to go. changes to parsers
in docs:vast to accomodate this.

this only allows for batch comments written for arms within a given
core. someday, the feature should allow you to write comments
virtually anywhere. the (unit link) in $whit should become a (unit (list
link)) to accommodate this
2022-06-28 12:12:03 -04:00
drbeefsupreme
8cd919b936 dojo: ?? pattern matches on %hint types 2022-06-28 11:31:22 -04:00
yosoyubik
17d52b8535 ames: handle bounce %cork from old publisher
Because the publisher will send the cork plea back to the subscriber on
the next bone, we are not able to know the bone for the original cork.
To handle it, we add the cork bone to the plea path

still wip: it keeps resending the cork plea faster than its ~h1 timer
2022-06-28 12:48:07 +02:00
yosoyubik
070d0a7d4b Merge branch 'jb/behn-fix1' into yu/gall-rq-wire-ames-flow-kill 2022-06-28 10:47:50 +02:00
fang
a874744802
Merge pull request #5868 from urbit/pkova/dns
dns: transfer ship.arvo.network domains from ~zod to ~deg
2022-06-27 18:44:03 +02:00
Hunter Miller
24c8519c69 rich-text: removing broken plugin, reverting react-md to 5.0.3 for compat 2022-06-27 11:40:31 -05:00
Hunter Miller
6e9c17a9c2 graphcontent: blockquotes now correctly break paragraphs off 2022-06-27 10:29:05 -05:00
Hunter Miller
90b8776fad md-editor: fixing background in darkmode 2022-06-27 09:57:18 -05:00
yosoyubik
7de9c72f36 ames: add rift when inserting new peer state 2022-06-27 13:55:07 +02:00
pkova
7e74d44054 dns: transfer ship.arvo.network domains from ~zod to ~deg 2022-06-26 00:24:20 +03:00
drbeefsupreme
8f946ed414 dojo: print %help hints with ?? 2022-06-24 13:55:09 -04:00
drbeefsupreme
941ff18d9b hoon: refactor doccord parsing for +tall and +till 2022-06-24 12:30:52 -04:00
janeway-bot
e09c48cb40 landscape: [skip actions] update glob (0v5.kgrq2.gp725.bo5bk.dmr7d.h41qk) 2022-06-23 11:15:50 -07:00
Hunter Miller
3caa04c8b9 ops: fixing build 2022-06-23 12:24:39 -05:00
drbeefsupreme
6f66a6d7fd pprint: add %dict tag 2022-06-22 15:47:08 -04:00
drbeefsupreme
552b8e9e94 hoon: spec doccord parsing, refactor +till +tall 2022-06-22 15:46:11 -04:00
drbeefsupreme
d0b8d284ce hoon: add %dict tag to %spec for doccords 2022-06-22 15:45:40 -04:00
Hunter Miller
5f1371f4a2 meta: version bump for new changes from next/landscape 2022-06-21 14:52:20 -05:00
Hunter Miller
ca28bffd62 Merge branch 'master' into next/npm 2022-06-21 14:51:19 -05:00
Hunter Miller
4378b87ac0 Merge branch 'next/landscape' 2022-06-21 14:50:40 -05:00
Hunter Miller
09e1dd7089 meta: package bump: 2022-06-21 14:43:40 -05:00
Hunter Miller
e5b66e3484 eventsource: prevent resetting event id counter 2022-06-21 14:04:30 -05:00
Sidnym Ladrut
be1d70f4b6 hood: fix issue w/ rein diff application 2022-06-18 18:34:44 -05:00
fang
981bc796d7
Merge pull request #5841 from dnmfarrell/dnmfarrell/arvo-dojo-dont-crash-set-beak
dojo: setting eny/now/our shouldn't crash dojo
2022-06-18 14:25:04 +02:00
Joe Bryan
244961ed39 test: removes debugging comments from %behn unit tests 2022-06-17 22:24:24 -04:00
Joe Bryan
6b99b154d6 behn: cleans up comments 2022-06-17 22:20:16 -04:00
Hunter Miller
23b9bbe948 Merge branch 'master' into next/groups 2022-06-17 15:32:55 -05:00
Hunter Miller
6bff31f369 interface: fixing react-codemirror2 dep 2022-06-17 14:59:28 -05:00
Joe Bryan
1b6d4f0fc5 behn: refactor to use +abet pattern 2022-06-17 10:27:27 -04:00
Joe Bryan
5482d3ff93 behn: emit %doze on any rescheduling of the next timer 2022-06-17 10:27:27 -04:00
Joe Bryan
bf8114a29d behn: don't compare pending timers to now 2022-06-17 10:27:27 -04:00
Joe Bryan
1843df6cde behn: unconditionally clear runtime timer state on %wake 2022-06-17 10:27:27 -04:00
Joe Bryan
5e867610ec behn: adds (failing) tests 2022-06-17 10:27:23 -04:00
fang
b1b422ce05
gall: exclude from traces
Removes the !: at the top of gall, so that it no longer gets included in traces about agent builds or crashes.

We also refine intentional crashes with ~_s, so that we still see a crash reason even if we don't get a full trace.

Lastly, flops the trace for +on-load crashes, which were getting printed bottom-first.
2022-06-17 14:08:47 +02:00
yosoyubik
2e92331a0b Merge branch 'next/arvo' into yu/gall-rq-wire-ames-flow-kill 2022-06-16 08:54:24 +02:00
fang
094396a26a
Merge branch 'master' into next/arvo 2022-06-15 18:29:14 +02:00
Patrick O'Sullivan
d11ce99b48 groups: add webp to list of image types to check links for in chat 2022-06-15 11:21:24 -05:00
Patrick O'Sullivan
b77baf4270 groups: fix issue where URL would be shown along with image in chat 2022-06-15 10:24:31 -05:00
Patrick O'Sullivan
1cdef1e06d groups: fix issue with chanel perms caused by use of Set() 2022-06-14 10:57:18 -05:00
fang
df82167111
Merge pull request #5840 from dnmfarrell/dnmfarrell/arvo-dojo-check-dir-exists-before-switch
dojo: check =dir exists before switching
2022-06-14 16:26:01 +02:00
David Farrell
d8f34e8930 dojo: remove unnecessary debug output
The tip already communicates to the user that dojo is busy, so the
sigpam output isn't needed anymore.
2022-06-13 21:00:46 -04:00
David Farrell
d439b33cc9 dojo: say how to beat the %dy-edit-busy escape room
It's too easy to get trapped in the dojo %dy-edit-busy escape room. Just
type something like:

  -build-file /=base/gen/ls/hoon

This modifies the dojo output to tell the user how to get out.

Fixes #1462.
2022-06-13 21:00:21 -04:00
David Farrell
04672fbe1d dojo: setting eny/now/our shouldn't crash dojo
Changes dojo to emit a usage message and ignore the request.

Fixes #1519
2022-06-13 20:51:38 -04:00
David Farrell
3a10b4d8f3 dojo: simplify dir not exist error message build
Incorporates @Fang- suggested changes (thanks!).

Drops the path serialization as it will print on two separate lines,
and it is already displayed in dojo immediately above the error message:

    > =dir /=base=/ge
    dojo: dir does not exist
2022-06-13 20:37:55 -04:00
David Farrell
73c1c94ea8 dojo: have dojo check =dir exists before switching
Scries clay for a list of files beneath the provided path - if the response
is nil then the dir must not exist (clay abhors a vacuum).

Fixes #1559
2022-06-13 20:37:49 -04:00
janeway-bot
f777e009ad groups: update glob (0v4.2se6m.fvv67.nn5e8.vfrv9.mmi88)[skip actions] 2022-06-13 16:59:14 -07:00
Hunter Miller
48c25cb9bc groups: updating package lock 2022-06-13 17:20:39 -05:00
Hunter Miller
8250a30ad5 groups: updating nvmrc 2022-06-13 15:28:35 -05:00
Patrick O'Sullivan
b6b6655149 Fix webpack, build dependency issues 2022-06-13 12:53:45 -05:00
Joe Bryan
0ab44a44b7
Merge pull request #5829 from botter-nidnul/botter-nidnul_aarch64-mapsize
vere: change mapsize to 500 GiB on AAarch64 Linux
2022-06-11 10:47:36 -04:00
drbeefsupreme
8cb392fbba dprint: comment for library 2022-06-09 16:21:48 -04:00
drbeefsupreme
a8e28cc632 dprint: remove chapter-id from %chapter item
redundant with the name
2022-06-09 15:19:39 -04:00
drbeefsupreme
832d483388 dprint: cleanup some logic around %hint types
deduplicating some code and making it a bit easier to understand. still
kind of a mess, but its progress and all tests are passing
2022-06-09 14:40:45 -04:00
drbeefsupreme
8f0bc304df dprint: help from hint uses second type, pass test
still not entirely sure what's different in the two types in a %hint
type, but this change made a bunch of the unit tests go from failing to passing
2022-06-09 13:46:21 -04:00
drbeefsupreme
a59bd02054 hoon: doccords, product-docs arent made in +boog
this is almost a revert of the commit that added in the %funk tag, but
not quite, so its a new commit. i apparently forgot that product docs
are actually built by +wrap, not +boog, so it was treating postfix
arm-docs as if they were product docs
2022-06-09 13:30:18 -04:00
drbeefsupreme
f31a9edd79 dprint: swap expected<->actual order in unit tests 2022-06-09 11:52:38 -04:00
drbeefsupreme
62716ff976 dprint: name core containing types 2022-06-09 11:35:10 -04:00
drbeefsupreme
693226bca3 dprint: deduplicate role of +signify
some of the functionality of +signify was being done elsewhere, this
moves it into +signify
2022-06-09 11:33:29 -04:00
drbeefsupreme
f7d0d3e5a1 dprint: missed |^ in last commit 2022-06-09 11:18:10 -04:00
drbeefsupreme
605960eb3a dprint: simplify and fix core/chapter/arm search
the main issue fixed was with looking inside of chapters for arms didn't work
2022-06-09 11:04:09 -04:00
drbeefsupreme
a3ddde7cfc dprint: compile default arm in core against core
previously it was only compiling against the context, which meant it
broke if an arm referred to another arm
2022-06-08 15:41:04 -04:00
drbeefsupreme
0972c85e91 dprint: arms calling other arms dont steal doccord
i thought this would be a neat feature but ted called it too clever and
probably not what you really want. this code is atrocious though and
needs some serious cleanup
2022-06-08 15:39:40 -04:00
drbeefsupreme
6e02e35862 dprint: fix issues with core types
not actually sure this is correct yet, but it fixed the issue where
there would be a crash when looking for docs in an arm like +bar in
|%
++  foo  'foo'
++  bar  foo
--
2022-06-08 12:43:01 -04:00
drbeefsupreme
7e0d16d817 dprint: new core naming syntax
changes the syntax for cores named with :>  #  %corename to
|%  %core-name for the dprint and dprint testing library
2022-06-07 12:37:32 -04:00
drbeefsupreme
3d3ea61d53 hoon: %brcn and %brpt names for doccords
changes the syntax for naming |% and |@ cores from
:>  #  %core-name
to
|%  %core-name
2022-06-07 12:36:23 -04:00
drbeefsupreme
39ac7cb820 Merge branch 'master' into jon/doccords 2022-06-07 11:10:20 -04:00
fang
5eac6a8aa3
aqua: add %aqua-effect mark file 2022-06-05 19:06:34 +02:00
botter-nidnul
ad11647ed8 vere: change mapsize to 500 GiB on AAarch64 Linux
Sets the mapsize for AAarch64 Linux in `pkg/urbit/vere/disk.c` to the largest size I can get to work with musl, 500 MiB.

Leaves the Windows mapsize untouched at the old default of 60 GiB because I haven't done any testing to see what the limit is there.
2022-06-05 01:39:20 -05:00
Joe Bryan
0e14cf893f
Merge pull request #5824 from urbit/jb/fix-remote-pr
vere: fix ci for remote PRs
2022-06-03 20:02:24 -04:00
Joe Bryan
24e872f28c
Merge pull request #5814 from urbit/m/4vpi
vere: print ip address in correct order
2022-06-03 20:02:12 -04:00
fang
f34c044e5b
vere: warn reader about endianness 2022-06-04 01:13:25 +02:00
Hunter Miller
5b6a2d5625 compat: fixing react-codemirror2 deps 2022-06-03 17:57:53 -05:00
Hunter Miller
d31b2bd853 compat: updating to latest sigil-js for react 2022-06-03 16:56:33 -05:00
Hunter Miller
39488a3167 compat: updating indigo, and removing unused deps 2022-06-03 16:34:43 -05:00
Joe Bryan
e3f688297f vere: fix -Y (should not be resolved) 2022-06-03 14:40:08 -04:00
Joe Bryan
ace6ca12ff vere: adds --no-dock to usage printf 2022-06-03 14:40:08 -04:00
Hunter Miller
db709df178 meta: fixing react version issue 2022-06-03 11:26:41 -05:00
Hunter Miller
8c0d0a6f5b Merge branch 'master' into next/groups 2022-06-03 10:49:33 -05:00
Hunter Miller
c7ee2f7230 Merge branch 'master' into next/landscape 2022-06-03 10:48:39 -05:00
fang
bad5013c8a
gen: in |new-desk, prompt instead of crash
If a desk already existed, we would crash the generator, embedding a
message in the resulting stack trace.

To improve legibility, we turn this into an %ask generator, prompting
only if we are about to overwrite an existing desk.

We also update the =force argument to be =hard instead, to match |nuke.
2022-06-01 20:21:27 +02:00
fang
49ad872629
gen: in |new-desk, fetch files individually
The ankh is no longer included in the dome, so we must scry out files
one by one.
2022-06-01 20:20:18 +02:00
fang
d260f391ea
gen: |make-desk -> |new-desk
User survey (sample size: 2) suggests |new-desk is the more ergonomic
name.
2022-06-01 20:19:13 +02:00
Joe Bryan
182e8ab214 vere: bumps version to v1.9 2022-06-01 03:24:50 -04:00
fang
46a5f2b317
vere: print ip address in correct order
This was printing the components of IPv4 addresses in backwards order.
2022-06-01 00:27:18 +02:00
Joe Bryan
39b4488101 vere: removes extra ctype.h include 2022-05-31 17:32:03 -04:00
Joe Bryan
e3ea3c85b0 vere: bumps version to 1.9-rc6 2022-05-31 16:54:23 -04:00
Joe Bryan
c0011ea102 Merge branch 'jb/next' into jb/next-rc
* jb/next:
  vere: disable printfs on failed requests to $version/next
  vere: create $pier/.bin/pace automatically
  build: factor out reusable workflow, call on push and tag creation
  vere: trim trailing whitespace from pace file
  build: use gh action artifact to propagate version string
  build: fix version path for windows pre-release
  build: fix bash conditional in pre-release upload check
  build: run on appropriate tags
  build: cut pre-releases on appropriate tags
2022-05-31 16:53:03 -04:00
Joe Bryan
8b8612604c Merge branch 'next/vere' into jb/next-rc
* next/vere:
  vere: fixes -X scry/export (broken in previous refactoring)
2022-05-31 16:46:31 -04:00
Joe Bryan
534999844a vere: disable printfs on failed requests to $version/next 2022-05-31 14:42:57 -04:00
Joe Bryan
082f07474d vere: create $pier/.bin/pace automatically 2022-05-31 12:04:16 -04:00
Joe Bryan
45e3609da7 vere: trim trailing whitespace from pace file 2022-05-31 12:03:19 -04:00
Joe Bryan
c2d9d88558 vere: fixes -X scry/export (broken in previous refactoring) 2022-05-31 11:05:42 -04:00
fang
ac90c2a602
Merge pull request #5812 from urbit/m/eof-syntax-error
clay: render syntax errors at end of file
2022-05-31 16:58:46 +02:00
fang
e9a0c8543e
Merge pull request #5811 from ynx0/patch-1
eyre: Modify landing title from "OS1" to "Urbit"
2022-05-31 16:56:15 +02:00
fang
7a110db60d
clay: render syntax errors at end of file
Previously, if the pointer for a syntax error pointed to the end of the file
(and the file ended in a newline) the code snippet rendering would try to
display a line _beyond_ the end of the file, causing a crash.

Here, we detect that case, and display `<<end of file>>` instead.
2022-05-30 16:08:59 +02:00
Yaseen
c94fea25da
eyre: Modify landing title from "OS1" to "Urbit" 2022-05-29 16:22:20 -04:00
David Farrell
43b2481bdf pkg: default test everything under /=base=/tests
Checks if args is empty and if so, sets the test path to /=base=/tests.
2022-05-27 21:23:16 -04:00
David Farrell
09fdc43e6b pkg: -test shouldn't require a list of paths
Changes the test command to check if args contains a single path and
wraps it in a list. Now a test thread can be started without providing
a list:

  -test %/tests/lib

And passing a list still works:

  test %/tests/lib ~

One nit in this change is the lark expression to reach into args: if
args is ~ then instead of getting a useful need/have error, the test
ends in a "false-start". Perhaps this could be fixed by detecting ~
and setting it to %/tests.
2022-05-27 21:23:16 -04:00
Joe Bryan
dbc61c360b vere: trim trailing whitespace from pace file 2022-05-27 12:27:14 -04:00
Joe Bryan
dcb057d6b6 vere: bumps version to 1.9-rc4 2022-05-26 15:18:44 -04:00
Liam Fitzgerald
d22c530f63 @urbit/http-api: update tests 2022-05-26 09:26:10 -05:00
Liam Fitzgerald
f50de24521 @urbit/http-api: surface mark of updates 2022-05-26 09:15:51 -05:00
Joe Bryan
5cb745e31c Merge branch 'next/arvo' into jb/next-rc
* next/arvo: (435 commits)
  vere: backs out overly zealous path canonicalization assertions
  clay: update tests
  vere: bump version to 1.9-rc3
  vere: bump version to 1.9-rc1
  clay: add logging commands
  ames: fix comet communication with breached ship
  pill: multi-brass
  clay: don't add lobe to wire to avoid flow leak
  ames: handle +call moves if re-evolving from larva
  clay: add tomb scry
  clay: make trim clear ford cache
  clay: progress download when receiving tombstone
  clay: fetch entire latest foreign commit
  clay: don't require head of foreign desks
  clay: fixes
  clay: tweaks from walkthrough
  ames: indent
  ames: start drainage timer if regressed from adult
  clay: re-export page to not break apps
  clay: fix stack while building directories
  ...
2022-05-26 02:16:20 -04:00
Joe Bryan
5787a4d55f Merge branch 'next/vere' into jb/next-rc
* next/vere:
  urcrypt: correct parameter ordering in urcrypt_ed_veri()
  u3: comment use of X macro in interpreter
  u3: unify interpreter opcode information using X macro
2022-05-26 02:15:54 -04:00
Joe Bryan
a4c58f2515 vere: fixes function comments in main.c 2022-05-26 01:49:06 -04:00
Joe Bryan
11b50a786b vere: adds vere/fetch-vere subcommand for downloading a binary 2022-05-26 01:49:06 -04:00
Joe Bryan
2643ee9405 vere: adds dock subcommand for copying binary into pier 2022-05-26 01:49:03 -04:00
Joe Bryan
e473beef41 vere: adds -a/--arch option to next subcommand 2022-05-26 01:48:58 -04:00
Joe Bryan
afd3fd19d1 vere: improves error handling in binary download 2022-05-26 01:48:58 -04:00
Joe Bryan
3ef8404522 vere: refactors getting next version string 2022-05-26 01:48:53 -04:00
Joe Bryan
f609bca531 vere: address review comments for upgrade functions 2022-05-25 22:34:42 -04:00
Joe Bryan
87e25a6a41 vere: refactors binary copy on boot to use hardcoded pace 2022-05-25 22:09:46 -04:00
Joe Bryan
0aa09ba7cb vere: refactors macros for binary alias ($pier/.run) 2022-05-25 22:08:16 -04:00
Joe Bryan
f4aeb62896 nix: vere is always built for a pace 2022-05-25 21:52:09 -04:00
Joe Bryan
7d99acdec8 vere: corrects base url for binary download 2022-05-25 18:56:45 -04:00
Joe Bryan
f5366338a5 vere: hack around linux crash on libuv cleanup 2022-05-25 18:56:45 -04:00
Joe Bryan
176fc1b029 vere: refactors binary download, prevents overwriting existing binaries 2022-05-25 18:56:39 -04:00
Joe Bryan
d1f80b4e3a vere: retries read/write errors when copying binaries 2022-05-25 18:17:46 -04:00
Joe Bryan
c717b8b5ed vere: supports subcommands via $pier/.run cmd 2022-05-24 09:59:43 -04:00
Joe Bryan
c78f6e98ba vere: implements prep (for upgrade) subcommand 2022-05-24 09:59:39 -04:00
Joe Bryan
b9404c32e3 vere: implements --no-dock to disable binary copying/linking 2022-05-24 09:59:39 -04:00
Joe Bryan
05b817a207 vere: only define actively used architecture strings 2022-05-24 09:59:39 -04:00
Joe Bryan
ed234bfd41 vere: switches upgrade to subcommand (next instead of --next) 2022-05-24 09:59:33 -04:00
Joe Bryan
c7f970fb7b vere: adds mass as synonym for grab subcommand 2022-05-23 17:04:48 -04:00
Philip Monk
5b773723b3 Merge remote-tracking branch 'origin/yu/ames-fixes' into next/arvo 2022-05-20 22:52:00 -07:00
Joe Bryan
d2f24b4a93 vere: plugs leak, notes TODOs 2022-05-21 01:14:29 -04:00
Philip Monk
f674e8db14 Merge remote-tracking branch 'origin/jb/path-insanity' into philip/tomb 2022-05-20 21:49:45 -07:00
Joe Bryan
86002baa4a vere: backs out overly zealous path canonicalization assertions 2022-05-21 00:47:48 -04:00
Philip Monk
ac64f44538 clay: update tests 2022-05-20 20:03:34 -07:00
Philip Monk
01965eed21 vere: bump version to 1.9-rc3 2022-05-20 17:43:44 -07:00
Philip Monk
c3b48e3c6e vere: bump version to 1.9-rc1 2022-05-20 17:06:04 -07:00
Philip Monk
b914fbaedc clay: add logging commands 2022-05-20 17:01:50 -07:00
Joe Bryan
5036d53834 vere: copy binary instead of link on boot 2022-05-20 15:15:04 -04:00
Joe Bryan
302024330c vere: get binary self-path with whereami lib 2022-05-20 12:58:39 -04:00
Philip Monk
f16abbd992 ames: fix comet communication with breached ship 2022-05-19 20:20:00 -07:00
Joe Bryan
a8a4393f92 vere: temporarily "vendors" whereami lib 2022-05-19 13:34:10 -04:00
Joe Bryan
c70e8ed167 vere: copy argv[0] before calling dirname() 2022-05-19 09:29:40 -04:00
Joe Bryan
a9233493d3 vere: compat: link binary at $pier/.run.exe on windows 2022-05-19 09:29:13 -04:00
Joe Bryan
baf690c85a vere: compat: polyfill link() on windows 2022-05-19 09:28:55 -04:00
Philip Monk
7f63f548f5 clay: don't add lobe to wire to avoid flow leak 2022-05-18 20:54:10 -07:00
Philip Monk
637e2c1ff8 Merge remote-tracking branch 'origin/master' into philip/tomb 2022-05-18 20:31:32 -07:00
Joe Bryan
45d4c5ef68 vere: link binary on boot 2022-05-18 15:53:05 -04:00
Joe Bryan
f97e186e61 vere: refactor _king_get_vere() 2022-05-18 15:53:05 -04:00
Joe Bryan
c5269773d5 vere: implements upgrade 2022-05-18 15:52:45 -04:00
yosoyubik
16920a894e Merge branch 'yu/ames-fixes' into yu/gall-rq-wire-ames-flow-kill 2022-05-18 17:37:24 +02:00
yosoyubik
c2576cdc46 ames: handle +call moves if re-evolving from larva 2022-05-18 17:36:40 +02:00
yosoyubik
fe412b1ca7 gall: remove $watches from egg/yoke
Also renames $beat to $boar so it signifies more its closeness to $boat
2022-05-18 15:27:17 +02:00
Philip Monk
201cb7290f clay: add tomb scry 2022-05-18 02:12:35 -07:00
Philip Monk
6cae525464 clay: make trim clear ford cache 2022-05-18 00:35:23 -07:00
Philip Monk
61c1e19db5 clay: progress download when receiving tombstone 2022-05-18 00:11:16 -07:00
Philip Monk
4051d182ee clay: fetch entire latest foreign commit 2022-05-17 22:07:53 -07:00