Commit Graph

30348 Commits

Author SHA1 Message Date
DaneBettis
a8976385ae corrected private function names and block comments 2022-08-22 08:24:19 +00:00
DaneBettis
41694a306e more refactoring as suggested by master-morzod 2022-08-22 08:24:19 +00:00
DaneBettis
82dbf41ae9 WIP stuff re master-morzod 2022-08-22 08:24:19 +00:00
DaneBettis
99211d84bb remove dev-time modifications to manage.c 2022-08-22 08:24:19 +00:00
DaneBettis
ed1cea48ee make _is_indexed() more obvious and less cute 2022-08-22 08:24:19 +00:00
DaneBettis
c6c1c34db1 fixes suggested by master-morzod, and finished int taming 2022-08-22 08:24:19 +00:00
DaneBettis
6389eaec96 docs, tammed ints, better var names, removed redundant funcs 2022-08-22 08:24:19 +00:00
DaneBettis
9c5d8e9f76 taming int declarations 2022-08-22 08:24:19 +00:00
DaneBettis
86c3dfcde9 minimize the diff 2022-08-22 08:24:19 +00:00
DaneBettis
1b93d43757 this branch PR is now for xray only. meme later. 2022-08-22 08:24:19 +00:00
DaneBettis
903c7151e7 first cleanup from meeting with master-morzod 2022-08-22 08:24:19 +00:00
DaneBettis
e4a204583a added macro to clarify _slog_bytecode and cleaned hoon hint tests 2022-08-22 08:24:19 +00:00
DaneBettis
093db01c2d cleaner expression and docs 2022-08-22 08:24:18 +00:00
DaneBettis
4499f21a25 silenced the broken hoon tests 2022-08-22 08:24:18 +00:00
DaneBettis
a122475e60 partial fix for indexed bytecode args; more to come 2022-08-22 08:24:18 +00:00
DaneBettis
f0695b7ca7 more xray debugs thanks to ~master-morzod 2022-08-22 08:24:18 +00:00
DaneBettis
1e253f2f7b more xray debugs via ~master-morzod 2022-08-22 08:24:18 +00:00
DaneBettis
2f71e52857 more notes and debugging for xray 2022-08-22 08:24:18 +00:00
DaneBettis
0b9559a851 adds xray test, reorders tests, fixes sanity checks 2022-08-22 08:24:18 +00:00
DaneBettis
2dfde98b0f Adds %meme and %xray hints.
%meme reports mem usage at callsite.
%xray prints the vere bytecode of the hoon tree wrapped by the hint.
2022-08-22 08:24:18 +00:00
Joe Bryan
460e7c8800
Merge pull request #5959 from urbit/jb/silence-evil
u3: suppress bail:evil printf
2022-08-19 18:24:24 -04:00
Joe Bryan
9b2b8b3287 u3: suppress bail:evil printf 2022-08-18 20:47:48 -04:00
Joe Bryan
9bdbca6095 Merge branch 'master' into next/vere
* master:
  bitcoin: v0.0.2
  bitcoin-wallet: set state as default case for handle-provider-update
  %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.
  %bitcoin: Added %regtest to arms using the network type definition.
  %bitcoin: add regtest type to network
2022-08-11 15:57:09 -04:00
Joe Bryan
11f6b92346
Merge pull request #5928 from urbit/jb/upgrade-no-tty
vere: make `prep` and `next` commands non-interactive (no tty required)
2022-08-08 12:33:50 -04:00
Joe Bryan
aca7162d7c vere: make prep and next commands non-interactive (no tty required) 2022-08-06 22:59:50 -04:00
fang
cd10e02b73
bitcoin: v0.0.2 2022-08-03 14:54:06 +02:00
fang
f09122ae78
Merge pull request #5831 from nprz/extend-bitcoin-provider
Extend bitcoin provider
2022-08-03 14:53:02 +02:00
Joe Bryan
ac5842fd6e
Merge pull request #5915 from bradley-ray/bug-vere-u3-term-log-exit
vere: clean up terminal on invalid fake ship name
2022-07-29 12:40:56 -04:00
Bradley
3407de0fd8 vere: removed unnecessary exit(1) call
Previously exit(1) was called after calling u3_king_bail()
which was unnecessary, so removed it.
2022-07-29 11:03:25 -05:00
Bradley
2b99eb2cac vere: changed to use u3_king_bail instead of manual term clean up 2022-07-29 10:54:12 -05:00
Bradley Ray
6d0bdc06dd vere: clean up terminal on invalid fake ship name
Currently when creating a fake ship, if an invalid ship name is given,
then the program exits without ever cleaning up the terminal. This
results in  a bugged termianal that requires closing and repopening
or using the `reset` cmd.

This commits adds a call to `u3_term_log_exit()` and `fflush(stdout)`
before calling `exit(1)` to ensure proper cleanup.

Address issue #5914
2022-07-28 22:15:13 -05:00
Joe Bryan
da47a2f98b Merge branch 'next/vere'
* next/vere: (49 commits)
  vere: bumps version
  vere: bumps version
  ci: enable release version mgmt
  Revert "ci: reenable release mgmt"
  ci: reenable release mgmt
  ames: track/log bad ciphertext crashes separately
  u3: %evil leaves no trace
  vere: drop bail:evil events without error notifications
  jets: bail:evil in ae-siv decryption jets
  vere: make uv_cancel return code check explicit
  u3: check for overflow in interpreter if guard page not present
  build: default to using guard page
  u3: return 0 from u3e_fault() if guard page cannot be protected
  u3: control presence of guard page using macro
  Revert "u3: check for road stack overflow on every nock %2 and %9"
  build: make bench is phony
  u3: failure to mprotect() the new guard page is fatal
  u3: removes/disables obsolete road stack overflow checks
  u3: account for guard page in cellblock allocation conditional
  u3: bump road heap offset before allocating cellblock
  ...
2022-07-28 17:33:22 -04:00
Joe Bryan
04645cbf08 vere: bumps version 2022-07-28 14:42:05 -04:00
Joe Bryan
9c18144253 vere: bumps version 2022-07-15 22:50:27 -04:00
Joe Bryan
1a84399e64 ci: enable release version mgmt 2022-07-15 10:48:04 -04:00
Joe Bryan
2195215992 Revert "ci: reenable release mgmt"
This reverts commit 756754b118.
2022-07-14 18:05:01 -04:00
Joe Bryan
756754b118 ci: reenable release mgmt 2022-07-14 11:19:08 -04:00
Joe Bryan
dd8df1b2b6
Merge pull request #5826 from urbit/jb/sivc-no-punt
jets: remove +de:sivc punt logging
2022-07-13 17:27:22 -04:00
fang
6d3d06251b urbit-os-v2.124
- Fixes an issue where behn would fail to report the next timer to vere
   correctly, resulting in timers only firing once every ten minutes.
 - Updates |rein to be additive instead of fully replacing existing
   configuration. Specifying a single agent to start will no longer stop
   other explicitly-started agents.
 - Various QoL improvements to dojo.
 - Updates DNS requests to go to ~deg instead of ~zod. The Foundation
   will take over DNS request handling.
 
 Contributions:
 
 David Farrell (5):
       dojo: have dojo check =dir exists before switching
       dojo: simplify dir not exist error message build
       dojo: setting eny/now/our shouldn't crash dojo
       dojo: say how to beat the %dy-edit-busy escape room
       dojo: remove unnecessary debug output
 
 Joe Bryan (8):
       behn: adds (failing) tests
       behn: unconditionally clear runtime timer state on %wake
       behn: don't compare pending timers to now
       behn: refactor to use +abet pattern
       behn: emit %doze on any rescheduling of the next timer
       behn: cleans up comments
       Merge pull request #5858 from urbit/jb/behn-fix2
       test: removes debugging comments from %behn unit tests
 
 Sidnym Ladrut (1):
       hood: fix issue w/ rein diff application
 
 Yaseen (1):
       eyre: Modify landing title from "OS1" to "Urbit"
 
 fang (16):
       clay: render syntax errors at end of file
       Merge pull request #5811 from ynx0/patch-1
       Merge pull request #5812 from urbit/m/eof-syntax-error
       Merge pull request #5837 from dnmfarrell/dnmfarrell/arvo-dy-edit-press-bksp-to-abort
       Merge pull request #5840 from dnmfarrell/dnmfarrell/arvo-dojo-check-dir-exists-before-switch
       Merge branch 'master' into next/arvo
       gall: exclude from traces
       Merge pull request #5841 from dnmfarrell/dnmfarrell/arvo-dojo-dont-crash-set-beak
       Merge pull request #5863 from sidnym-ladrut/sl/fix-rein-toggle-behaviori
       Merge pull request #5868 from urbit/pkova/dns
       Merge branch 'master' into next/arvo
       Merge pull request #5857 from urbit/jb/behn-fix1
       Merge pull request #5855 from urbit/m/gall-quieter
       hood: re-patch |rein
       Revert "clay: render syntax errors at end of file"
       Revert "gall: exclude from traces"
 
 pkova (1):
       dns: transfer ship.arvo.network domains from ~zod to ~deg
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEB0bRQARxix0iuhs56wNXYMG7qXIFAmLPF9wACgkQ6wNXYMG7
 qXLO5w/7BSc5aajTaA/o8ma4SoySX/PXH1dnnoJO9A2fiYR3sIpcdY12xNmnCA/e
 y0OyQeSqmRzO90bVJI3AVxN0qEDcz0fR9ZoC8YeYWRrAWy7xRTm808NRW1rovAEN
 LIlOemUpJODlqkkiD0x8hwxNSix9+tkcr6ehilzIuORaBcTI586rekT+FfXGuD9Z
 IURbKkKS443M3kIyL9MUXu8lopMpfwZg9VYwo3a8fnUvUmVRleHBpUI71GXd41w4
 eQv63197mcwM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HPh2pjP
 W9HJ0+MN7VSGqNidMv74r4ZpsDPdERkUqdhzb30tvBBp6xraXflVjvUT5Ln+501p
 m2PO5aLbeVclIViwsC7wFLYooHDz5O7hZx5Sf1uUjNsaGYSPotPGH8UsXSiyKZ5/
 p067gSrcyqHuLRYR/7izDCe7xTHImpP3doL6xmW4br2gl5wKX1s=
 =BGu/
 -----END PGP SIGNATURE-----

Merge tag 'urbit-os-v2.124'

urbit-os-v2.124

- Fixes an issue where behn would fail to report the next timer to vere
  correctly, resulting in timers only firing once every ten minutes.
- Updates |rein to be additive instead of fully replacing existing
  configuration. Specifying a single agent to start will no longer stop
  other explicitly-started agents.
- Various QoL improvements to dojo.
- Updates DNS requests to go to ~deg instead of ~zod. The Foundation
  will take over DNS request handling.

Contributions:

David Farrell (5):
      dojo: have dojo check =dir exists before switching
      dojo: simplify dir not exist error message build
      dojo: setting eny/now/our shouldn't crash dojo
      dojo: say how to beat the %dy-edit-busy escape room
      dojo: remove unnecessary debug output

Joe Bryan (8):
      behn: adds (failing) tests
      behn: unconditionally clear runtime timer state on %wake
      behn: don't compare pending timers to now
      behn: refactor to use +abet pattern
      behn: emit %doze on any rescheduling of the next timer
      behn: cleans up comments
      Merge pull request #5858 from urbit/jb/behn-fix2
      test: removes debugging comments from %behn unit tests

Sidnym Ladrut (1):
      hood: fix issue w/ rein diff application

Yaseen (1):
      eyre: Modify landing title from "OS1" to "Urbit"

fang (16):
      clay: render syntax errors at end of file
      Merge pull request #5811 from ynx0/patch-1
      Merge pull request #5812 from urbit/m/eof-syntax-error
      Merge pull request #5837 from dnmfarrell/dnmfarrell/arvo-dy-edit-press-bksp-to-abort
      Merge pull request #5840 from dnmfarrell/dnmfarrell/arvo-dojo-check-dir-exists-before-switch
      Merge branch 'master' into next/arvo
      gall: exclude from traces
      Merge pull request #5841 from dnmfarrell/dnmfarrell/arvo-dojo-dont-crash-set-beak
      Merge pull request #5863 from sidnym-ladrut/sl/fix-rein-toggle-behaviori
      Merge pull request #5868 from urbit/pkova/dns
      Merge branch 'master' into next/arvo
      Merge pull request #5857 from urbit/jb/behn-fix1
      Merge pull request #5855 from urbit/m/gall-quieter
      hood: re-patch |rein
      Revert "clay: render syntax errors at end of file"
      Revert "gall: exclude from traces"

pkova (1):
      dns: transfer ship.arvo.network domains from ~zod to ~deg
2022-07-13 21:58:49 +02:00
Hunter Miller
e6ae2ba5dc meta: correcting version' 2022-07-13 12:23:29 -05:00
Hunter Miller
1ac97b2f69 meta: version bumps 2022-07-13 12:21:20 -05:00
Joe Bryan
f028c9afa7
Merge pull request #5709 from mikhail-diakov/openbsd-build
Resurrect the OpenBSD Build
2022-07-13 11:56:59 -04:00
Joe Bryan
c5312ee313 ames: track/log bad ciphertext crashes separately 2022-07-13 11:49:54 -04:00
Joe Bryan
8fb19c9ae2 u3: %evil leaves no trace 2022-07-13 11:49:48 -04:00
Joe Bryan
69c66adf22 vere: drop bail:evil events without error notifications 2022-07-13 10:53:31 -04:00
Joe Bryan
70033110c0 jets: bail:evil in ae-siv decryption jets 2022-07-13 10:53:31 -04:00
Joe Bryan
dca17825e1
Merge pull request #4727 from urbit/lf/http2-support
vere: enable HTTP2
2022-07-12 14:40:36 -04: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
0a86639a04
Merge pull request #5881 from urbit/peter/guard-page
u3: add guard page to loom
2022-07-08 16:53:01 -04:00
Joe Bryan
94821d8e86 vere: make uv_cancel return code check explicit 2022-07-08 14:49:13 -04:00