Commit Graph

1254 Commits

Author SHA1 Message Date
Edward Amsden
59478b0eb8 Make interpret() generic over slogger (#10)
* newt: slogger trait

* make interpret() generic over Slogger trait

* impl Slogger for pin recurses

* What if we asked for Unpin

* format

* clean up hanging commented code

* fix warnings

---------

Co-authored-by: Chris Allen <cma@bitemyapp.com>
2024-08-22 10:45:35 -05:00
litlep-nibbyt
e87ef04275 disable turn 2024-08-22 10:45:35 -05:00
Edward Amsden
9841143d0c Make noun::Error an instance of std::error::Error 2024-08-22 10:45:35 -05:00
ryjm
f04dacdac3 formatting 2024-08-22 10:45:35 -05:00
ryjm
d957982e5a new_from_files 2024-08-22 10:45:35 -05:00
Chris Allen
db30cf9208 Fixing lints and build errors 2024-08-22 10:45:35 -05:00
Chris Allen
7357521682 Fixing warnings 2024-08-22 10:45:35 -05:00
Chris Allen
717668315f Pin last working version of cc for ares_guard build.rs 2024-08-22 10:45:35 -05:00
litlep-nibbyt
a64f193d08 appease format checker 2024-08-22 10:45:35 -05:00
litlep-nibbyt
396a00e222 newt.rs: remove commented out code 2024-08-22 10:45:35 -05:00
litlep-nibbyt
a6c008d1d8 newt.rs: changed new_mock output file to allow writes 2024-08-22 10:45:35 -05:00
Edward Amsden
defff0f798
Update README.md 2024-08-21 12:34:00 -05:00
Edward Amsden
0f45645a58
Merge pull request #236 from urbit/pq/fix-weird-bugs
fix two weird bugs
2024-05-31 12:40:34 -05:00
Philip Quirk
6278242bf1 clean up 2024-05-31 12:31:05 -05:00
Edward Amsden
5b24982549
Merge pull request #228 from urbit/sigilante/docs
Update DEVELOPERS.md with more detail
2024-05-30 21:54:12 -05:00
Philip Quirk
a520363432 fix two weird bugs 2024-05-30 16:52:45 -05:00
Edward Amsden
654054b856
Merge pull request #235 from urbit/matthew-levan-patch-1
Link to `DEVELOPERS.md` for alpha release
2024-05-29 20:29:35 -05:00
Matthew LeVan
1899056b00
Link to DEVELOPERS.md for alpha release 2024-05-29 13:00:29 -04:00
Sigilante
30fe59fed6
Update DEVELOPERS.md 2024-05-20 14:27:55 -05:00
barter-simsum
34c4d036bd
Merge pull request #226 from urbit/barter-simsum/pma-record-node-partitions-in-flist-on-restore
pma: fix memory corruption restoration bug
2024-04-19 13:37:32 -04:00
barter-simsum
4cf532cbff pma: minor fixup 2024-04-12 18:28:32 -04:00
barter-simsum
d9631f83e8 pma: fix memory corruption restoration bug
Previously, we failed to record node partitions in the flist on restore. No we
do so
2024-04-12 18:17:09 -04:00
Alex Shelkovnykov
06b62d3efa
Merge pull request #224 from urbit/barter-simsum/pma-restore-regression-fix
pma: fix regression on restore
2024-04-04 13:29:53 -06:00
barter-simsum
e437c287a9 pma: clean comments 2024-04-04 15:13:45 -04:00
barter-simsum
a6b12d89bd pma: _bt_state_meta_new leave second metapage zeroed
There's no reason to initialize anything but the first metapage and it's
probably less error prone to leave the second metapage zeroed. On sync, the
first metapage will get memcpy'd to the second, so why partially write some of
the data now?
2024-04-02 14:35:21 -04:00
barter-simsum
af2fde6805 pma: btest.c changes 2024-04-02 14:28:58 -04:00
barter-simsum
93a788ec76 pma: fix regression on restore
There was a regression introduced with partition striping that caused problems
on restore due to node partitions incidentally getting mapped anonymous rather
than to the backing file
2024-03-27 19:08:40 -04:00
Edward Amsden
a245328266
Merge pull request #220 from urbit/as/slice
Minor improvement to slot implementation
2024-03-19 14:43:14 -05:00
Edward Amsden
f96297d93f
Merge pull request #221 from urbit/msl/perform-flogging
debug: use `flog!` macro instead of `eprintln!` sometimes
2024-03-18 10:19:06 -05:00
Matthew LeVan
bf3b6445c0 serf: placate clippy 2024-03-18 11:16:45 -04:00
Matthew LeVan
383b8e6d86 serf: flog where possible 2024-03-18 09:55:59 -04:00
Edward Amsden
53bc2c863e
Merge branch 'status' into msl/perform-flogging 2024-03-18 08:31:29 -05:00
Edward Amsden
4ee1cb1bdb
Merge pull request #204 from urbit/barter-simsum/partition-striping
pma: partition striping
2024-03-18 08:30:51 -05:00
Matthew LeVan
cbfa7dc5b3 flog: fix unused result 2024-03-15 10:24:11 -04:00
Matthew LeVan
ef90c78438 debug: use flog! macro instead of eprintln! sometimes 2024-03-15 09:14:03 -04:00
Alex Shelkovnykov
c35b6bba38 noun: minor improvement to slot implementation 2024-03-14 15:41:37 -06:00
barter-simsum
c7246d624e pma: fix comments 2024-03-14 16:16:21 -04:00
barter-simsum
2577875c3b pma: _node_get bounds checking 2024-03-13 15:24:20 -04:00
barter-simsum
b6cf968083 pma: btree test related changes 2024-03-13 15:20:33 -04:00
barter-simsum
c97a90f77d pma: fix PMA_GROW_SIZE_p 2024-03-13 13:10:18 -04:00
barter-simsum
0ca6de4421 pma: fix cargo build warning 2024-03-13 11:59:01 -04:00
barter-simsum
c859a5f577 pma: cleanup
comment cleanup and removal of dead code
2024-03-13 11:48:42 -04:00
barter-simsum
46ffb737ac pma: fix use-after-free of pending_nlist pointer 2024-03-13 11:36:07 -04:00
barter-simsum
21a1fcce39 pma: mlist restoration bugfix
more precisely fixes erroneous logic in child node CoWing
2024-03-13 11:35:18 -04:00
barter-simsum
aeb3f5fb50 pma: flist insert bugfix 2024-03-13 11:35:18 -04:00
barter-simsum
90d7a324f4 pma: partition striping wip. test changes 2024-03-13 11:35:18 -04:00
barter-simsum
879200a81b pma: partition striping wip
still dealing with weird issues related to mlist initialization when restoring
the persistent file in _bt_state_load
2024-03-13 11:35:18 -04:00
barter-simsum
97046975ae pma: partition striping mostly working. debugging restoration bugs 2024-03-13 11:35:18 -04:00
barter-simsum
8a04934515 pma: partition striping wip 2024-03-13 11:35:18 -04:00
barter-simsum
f4a6790d12 pma: partition striping wip 2024-03-13 11:35:18 -04:00