Commit Graph

1296 Commits

Author SHA1 Message Date
Matthew LeVan
c07a280ec4 wip: pull in mem.rs from as/motes 2024-01-31 15:43:41 -05: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
Matthew LeVan
54cea05ae2 wip: linux debugging 2024-01-30 16:37:33 -05:00
Matthew LeVan
dd70aadf6e wip: add rust-assert-no-alloc 2024-01-30 15:29:59 -05:00
Matthew LeVan
680d2d254c wip: debugging ~2024.1.30 2024-01-30 14:59:10 -05:00
Matthew LeVan
fa316f664b guard: add motes and use in all errors; disable sigint handling 2024-01-24 15:30:19 -05:00
Matthew LeVan
a0ddc1f89c guard: boots a baby pill and sigint works too; uses box 2024-01-24 13:24:48 -05:00
Matthew LeVan
a28137d472 wip: cleanup guard.c printfs 2024-01-24 10:18:02 -05:00
Matthew LeVan
0b86332659 wip: guard weird error 2024-01-23 16:10:27 -05:00
Matthew LeVan
140d02cd55 wip: got result value being passed correctly 2024-01-23 16:03:33 -05:00
Matthew LeVan
4ff53a1845 wip: need more work on ret pointer 2024-01-23 15:31:36 -05:00
Matthew LeVan
a8ed832f6b wip: restore cargo and remove eprints 2024-01-23 14:25:03 -05:00
Matthew LeVan
95d4023d72 guard: kind of works 2024-01-23 14:22:03 -05:00
Matthew LeVan
7ff1657687 wip: earl-eye in the mornin 2024-01-23 04:40:20 -05:00
Matthew LeVan
5e44f2f94f wip: debugging 2024-01-22 21:49:24 -05:00
Matthew LeVan
43d145ac72 wip: sts. vincent and anastasius ii 2024-01-22 21:10:35 -05:00
Matthew LeVan
cb73bcd8ca wip: sts. vincent and anastasius 2024-01-22 20:57:34 -05: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
f7fcffc429 wip: friday 2024-01-19 16:46:09 -05:00
Matthew LeVan
0d5e8b86aa wip: today 2024-01-19 15:36:36 -05:00
Matthew LeVan
42f56a545a guard: ready for initial rust wrapper implementation 2024-01-19 10:39:45 -05:00
Matthew LeVan
caf8f693e9 Merge branch 'status' into msl/guard 2024-01-18 16:46:20 -05:00
Matthew LeVan
28a7bf5153 guard: do not focus in top-level 2024-01-18 16:46:07 -05: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
f7f01f5073 guard: initial commit 2024-01-18 16:32:50 -05:00
Matthew LeVan
1614290eb8 Merge branch 'status' into msl/guard 2024-01-18 10:02:15 -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
3411adc930 wip: st. antony, abbot 2024-01-17 16:47:33 -05:00
Matthew LeVan
a91442491d vendor assert_no_alloc with ensure_no_alloc function added 2024-01-17 15:14:17 -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
barter-simsum
6a08d08c0f pma: file resize test in btest.c and fixes to resize logic 2024-01-11 18:26:33 -05:00
barter-simsum
f6213bd1ce pma: minor cleanup 2024-01-10 19:15:34 -05:00
barter-simsum
aa21d14739 pma: remove frontier and only rely on state->file_size_p 2024-01-10 18:49:55 -05:00
barter-simsum
19fd0e4fb4 pma: file extension - to be revised 2024-01-10 18:27:31 -05:00