Commit Graph

30669 Commits

Author SHA1 Message Date
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
Philip Monk
71ecde32e1 clay: keep marks warm 2022-07-06 18:12:59 -07:00
Philip Monk
eb1e7dd173 clay: enable goad on every commit 2022-07-06 16:56:38 -07:00
Peter McEvoy
1ea6e10a36 u3: initialize guard page in u3e_live() 2022-07-06 16:09:34 -07:00
Peter McEvoy
f2d24201a5 u3: replace u3m_bail() with u3m_signal() in u3e_fault() 2022-07-06 15:33:16 -07:00
Philip Monk
ddf13b3fb8 clay: make upgrade compile 2022-07-06 11:51:06 -07: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
Ted Blackman
0d4ce15780 clay: add .liv and .ren state to dome 2022-07-06 16:41:20 +01: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
Ted Blackman
1cda56673f gall: idle agents not in %load move 2022-07-06 12:37:17 +01:00
Philip Monk
d4f02e0a57 clay: add global %goad logic 2022-07-06 03:32:15 -07: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
Philip Monk
6d321c60cb clay, gall: move agent build management to clay 2022-07-06 00:51:11 -07: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
Sidnym Ladrut
13b8b337a0 dojo: re-add support for /=, /% runes 2022-07-06 00:29:23 -05: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
Sidnym Ladrut
3e22ee68e9 dojo: improve ford rune support for cable expressions 2022-07-02 18:04:54 -05:00
Sidnym Ladrut
8a017ce308 dojo: re-add support for /+, /- ford runes 2022-07-01 23:39:37 -05: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
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
yosoyubik
e5c86886e4 gall: fix condition to run +ap-kill-down 2022-06-30 17:44:11 +02: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