Commit Graph

1958 Commits

Author SHA1 Message Date
Peter McEvoy
f2d24201a5 u3: replace u3m_bail() with u3m_signal() in u3e_fault() 2022-07-06 15:33:16 -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
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
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
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
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
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
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
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
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
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
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
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
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
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
Joe Bryan
55bda20abb vere: adds support for configurable release channels 2022-05-16 20:34:17 -04:00
Joe Bryan
89955af8a8 vere: fixes up get next version 2022-05-16 18:47:01 -04:00
Joe Bryan
0eb4d3319c vere: support restarting with implicit pier (at $pier/.run) 2022-05-16 13:10:04 -04:00
Philip Monk
705aa18f45 vere: correctly measure .urb/put path 2022-05-15 01:20:10 -07:00
Philip Monk
0f657ebb1e conn: remove printf 2022-05-14 23:17:43 -07:00
Philip Monk
e6d61c0236 Merge remote-tracking branch 'origin/next/vere' into philip/tomb 2022-05-14 23:02:37 -07:00
Joe Bryan
e845f71b89 jets: plug leak in (slaw %p ...) 2022-05-14 22:54:35 -07:00
Philip Monk
833c413cbb vere: add low water mark debug printf 2022-05-10 20:33:48 -07:00
Philip Monk
3f211f8ab9 vere: bump kelvin to 329/418 2022-05-10 03:24:27 -07:00
Peter McEvoy
72bc029914 u3: comment use of X macro in interpreter 2022-05-05 18:30:39 +00:00
Joe Bryan
4d25a0577d vere: implements check for next version 2022-05-03 22:29:50 -04:00
Joe Bryan
b8a2db81dc vere: factors out generic curl get from pill download 2022-05-03 21:08:48 -04:00
Peter McEvoy
5cd72d7052 u3: unify interpreter opcode information using X macro 2022-05-03 21:40:46 +00:00
dkmike
a008bc8c04 build: fix after rebase 2022-05-01 21:20:38 +03:00
dkmike
c42b1f679e build: resurrect the openbsd build 2022-05-01 21:15:29 +03:00
Joe Bryan
92657762ed vere: stubs out --next upgrade flag 2022-04-22 22:03:00 -04:00
Joe Bryan
1c6feb7b0f
Merge pull request #5708 from urbit/m/bout-format
u3: improve %bout time printing
2022-04-22 21:59:07 -04:00
Joe Bryan
ab0381447c
Merge pull request #5717 from urbit/jb/one-vere
vere: removes urbit-worker
2022-04-22 21:58:45 -04:00
Joe Bryan
36f284c548 vere: refactors serf i/o initialization 2022-04-22 16:45:28 -04:00
Joe Bryan
618f92360a vere: restores ctrl-c on windows, fixes latent handle precision bug 2022-04-22 16:32:56 -04:00
Joe Bryan
7cd05b2bf9 vere: adds runtime status endpoint (reflecting current spinner state) 2022-04-21 15:26:17 -04:00
Joe Bryan
7741179c02 vere: refactors http request socket stealing 2022-04-21 15:25:55 -04:00
Joe Bryan
75b5f51a45 vere: temporarily disables ctrl-c on windows 2022-04-20 22:43:01 -04:00
Joe Bryan
9b947a7159 vere: removes obsolete windows binary extension handling 2022-04-20 22:43:01 -04:00
Joe Bryan
032ce14d86 vere: opens event log to aquire pier lock in all stateful utilities 2022-04-14 09:14:25 -04:00
fang
3deea4df0e
u3: improve %bout time printing
Now prints micro-, milli-, or full seconds, in the style of
u3a_print_memory (|mass).
2022-04-11 00:43:45 +02:00
Joe Bryan
cbfbfc3247 vere: removes all reference to urbit-worker 2022-04-09 22:52:09 -04:00
Joe Bryan
810f90c8d6 vere: adds lmdb/disk info to cmd 2022-04-09 22:48:22 -04:00
Joe Bryan
1f33b20a47 vere: removes urbit-worker 2022-04-09 22:48:16 -04:00
Joe Bryan
2d2ced0a0b vere: refactors urbit-worker argument parsing 2022-04-09 22:23:52 -04:00
Jōshin
654ff1f4cb
conn: add --no-conn option
Might be handy on Windows in case of running multiple fakezods.
2022-03-25 15:30:11 -06:00