Alex Shelkovnykov
6aab4f089d
stack: remove stack / alloc pointer collision checks
2024-02-10 02:28:19 +09:00
Edward Amsden
888e604cef
Merge pull request #210 from urbit/pq/fix-mac-x86-build
...
remove cargo-watch for darwin-x86 because it doesn't build
2024-02-08 19:58:27 -06:00
~martyr-binbex
368f8584b3
fix up
2024-02-08 17:21:47 -06:00
~martyr-binbex
d8e879636d
remove cargo-watch for darwin-x86 because it doesn't build
2024-02-08 17:07:27 -06:00
Matthew LeVan
7372095804
Merge pull request #207 from urbit/as/motes
...
Add motes and `NockStack` allocation safety
2024-02-08 12:11:15 -05:00
Matthew LeVan
0f5863d4f3
Merge pull request #209 from urbit/eamsden/fix-nix
...
nix: remove glibc.static package that interferes with builds
2024-02-08 11:21:08 -05:00
Edward Amsden
077af357ae
Merge branch 'eamsden/fix-nix' into as/motes
2024-02-08 10:06:34 -06:00
Edward Amsden
51463f486b
Merge branch 'status' into eamsden/fix-nix
2024-02-08 09:51:29 -06:00
Edward Amsden
ebc79371c8
nix: remove glibc.static package that interferes with builds
2024-02-08 09:50:07 -06:00
Alex Shelkovnykov
a1686c3851
Merge branch 'status' into motes
2024-02-08 14:10:04 +09:00
Edward Amsden
b39bebb54d
Merge pull request #208 from urbit/as/debug
...
stack: add debug helper functions to NockStack
2024-02-07 21:01:56 -06:00
Matthew LeVan
6b1e287c6f
Merge pull request #189 from urbit/msl/ares-crypto
...
`ares_crypto`
2024-02-07 19:49:21 -05:00
Matthew LeVan
0f1d4d7c47
Revert "ci: remove nix"
...
This reverts commit ff0c1d05b0
.
2024-02-07 17:56:06 -05:00
Matthew LeVan
ff0c1d05b0
ci: remove nix
2024-02-07 11:04:08 -05:00
Matthew LeVan
e6890a3c74
cargo: clippy
2024-02-07 10:46:13 -05:00
Alex Shelkovnykov
1364836b20
style: clippy
2024-02-07 23:29:07 +09:00
Alex Shelkovnykov
3406124a53
style: cargo fmt
2024-02-07 23:26:04 +09:00
Alex Shelkovnykov
88757cb040
Merge branch 'status' into crypto
2024-02-07 23:25:10 +09:00
Alex Shelkovnykov
593e386bc4
sha: various fixes
...
- make variable names consistent w/ their Hoon counterparts
- fix slice copy bugs
- add tests for cases that weren't caught until live testing
- btree.c change to boot w/ slim.pill
2024-02-07 22:56:38 +09:00
Alex Shelkovnykov
e02a232f2c
style: same as prev commit
2024-02-02 21:24:38 -06:00
Alex Shelkovnykov
2a040b565b
style: fix cargo fmt complaints
2024-02-02 21:22:35 -06:00
Alex Shelkovnykov
a5379458cc
stack: add debug helper functions to NockStack
2024-02-03 10:54:45 +09:00
Matthew LeVan
dc657deb0b
lock: use sha1
pattern for shal
2024-02-02 10:44:29 -05:00
Matthew LeVan
dc4cb73f9e
noun: fix new_raw_mut_bytearray
bitshift direction
2024-02-02 10:01:43 -05:00
Alex Shelkovnykov
ffb5641a3e
docs: style improvements
2024-02-01 23:31:13 +09:00
Alex Shelkovnykov
2bcf8e29a1
Merge branch 'status' into motes
2024-02-01 23:29:27 +09:00
Matthew LeVan
c0ca1813a8
ares_crypto
: fix typo
2024-02-01 09:23:30 -05:00
Matthew LeVan
0f749965e1
ares_crypto
: remove cruft
2024-02-01 09:17:30 -05:00
Edward Amsden
dd8f481824
Merge pull request #166 from urbit/msl/more-parse-jets
...
more parse jets
2024-01-31 18:04:45 -06:00
Alex Shelkovnykov
ab9ac5662f
Merge branch 'status' into parse
2024-01-31 19:43:31 +09:00
Alex Shelkovnykov
5a8286e17e
jets: fix imports and nits
2024-01-31 19:23:39 +09:00
Alex Shelkovnykov
d0693218a1
interpreter: fix minor bug
...
unwrap_or is eagerly evaluated; we want unwrap_or_else which is lazily
evaluated.
2024-01-31 17:11:33 +09:00
Alex Shelkovnykov
190e926903
stack: do not modify pointers unless a valid allocation is possible
2024-01-31 17:11:33 +09:00
Alex Shelkovnykov
30ccf384e0
interpreter: add error motes
2024-01-31 17:11:31 +09:00
Alex Shelkovnykov
af1b00bc9c
stack: check for stack overflow
2024-01-31 17:10:01 +09:00
Edward Amsden
8e45025228
Merge pull request #190 from urbit/eamsden/jet-turn
...
jets: jet +turn
2024-01-22 13:21:15 -06:00
Matthew LeVan
9d16f1807f
Merge pull request #203 from urbit/msl/fix-pma-file-extension-macos
...
pma: declare `_bt_falloc` iterator variables before `start` label
2024-01-18 16:44:21 -05:00
Matthew LeVan
d4e0d983de
pma: declare _bt_falloc
iterator variables before start
label
2024-01-18 10:00:54 -05:00
Matthew LeVan
d1e8ef632d
Merge branch 'status' into msl/ares-crypto
2024-01-18 08:42:29 -05:00
Matthew LeVan
c4c1388573
noun: remove IndirectAtom::as_mut_bytes
2024-01-17 20:46:45 -05:00
Edward Amsden
2706cb5834
jets: format
2024-01-17 19:37:19 -06:00
Edward Amsden
b884cb3130
jets: add safety check to jet cache in jet_turn
2024-01-17 18:54:39 -06:00
Edward Amsden
98b6b67cdc
Merge branch 'status' into eamsden/jet-turn
2024-01-17 18:34:27 -06:00
Edward Amsden
5336ca7a91
Merge pull request #201 from urbit/barter-simsum/file-extension
...
PMA file extension
2024-01-17 17:39:10 -06:00
barter-simsum
85a878a85c
pma: remove comments referring to the persistent file's "frontier"
2024-01-17 18:07:56 -05:00
Matthew LeVan
6eba257803
Merge pull request #200 from urbit/pq/tracing
...
don't fsync on every nock event while tracing
2024-01-16 14:18:19 -05:00
Philip Quirk
25239fd475
don't fsync on every nock event while tracing
2024-01-16 12:04:42 -06:00
barter-simsum
390c1c3356
pma: file extension bug fixes. test changes
...
file extension seems to be working now after reordering freelist restoration and
calling _bt_falloc in _nlist_new to create the first partition
should be able to move on to partition striping now and the explicit call to
_bt_falloc will make this easier
2024-01-12 20:02:59 -05:00
barter-simsum
a604f19d74
pma: nlist creation depends on flist existence
...
reordered to handle this dependency. Still debugging an issue with _flist_grow
The dependency is natural and will be required to implement partition
striping. All node partitions should call falloc and be represented in the flist
2024-01-12 19:41:19 -05:00
barter-simsum
aaa6f5e2ff
pma: persistent file growth highpg tracking attempted fix
...
spent a while debugging this, but there are still issues on restoration. We
cannot simply call _flist_new and _flist_record_alloc on persistent state
restoration since _flist_new won't properly set the highpg. If restoring, we
should derive the high flist page (alloced or not) from state->file_size_p. I
think I way overcomplicated this
2024-01-12 18:11:42 -05:00