Commit Graph
1079 Commits
Author SHA1 Message Date
Alexander McLin 091af28368 Issue 3223: reformat via cargo fmt 2026-06-16 21:05:12 -04:00
Alexander McLin fbc5345c9a Issue 3223: more unsafe scope refinements 2026-06-16 21:05:12 -04:00
Alexander McLin 9d49415449 Issue 3223: reformat via cargo fmt 2026-06-16 21:05:12 -04:00
Alexander McLin 83218bf0da Issue 3223: make unsafe scopes tighter 2026-06-16 21:05:12 -04:00
Alexander McLin fcd6c3f127 Issue 3223: Second phase of migration to Rust Edition
Reformat via `cargo fmt`
2026-06-16 21:05:12 -04:00
Alexander McLin efbddeaeee Issue 3223: First phase of migration to Rust Edition 2024
Update cargo dependencies
Apply cargo fix --edition
Change cargo.toml edition property to `2024`

^ Conflicts:
^	Cargo.lock
^	src/ffi.rs

^ Conflicts:
^	src/offset_table.rs
^	src/raw_block.rs
2026-06-16 20:37:52 -04:00
Mark Thom daaab1cb37 Merge pull request #3331 from adri326/rawblock-safety
Prove safety of RawBlock and support multi-threaded usages
2026-06-11 00:38:04 -07:00
Skgland 49c0cd3733 remove unecessary use of LayzLock
AtomicBool::new const
2026-06-05 20:47:20 +02:00
Skgland a236d00d7d fix lint warnings 2026-06-05 20:45:18 +02:00
Skgland bb5a59170a cleanup after msrv bump 2026-06-05 20:44:38 +02:00
Danil Platonov bcb9dd0860 handle interrupts for tcp server 2026-06-04 02:41:11 -07:00
Mark Thom 18dd939159 Merge pull request #3352 from danilp-id/http_interrupt
Interrupts support for http server + other improvements
2026-06-03 13:36:21 -07:00
Skgland 068959bd07 fix discussion 3359 2026-06-03 22:05:20 +02:00
Danil Platonov 732f3ae10a use Notify instead of Sender 2026-06-02 00:49:00 -07:00
Danil Platonov 304cf424ed unused code for unimplemented shutdown on timeout feature 2026-05-30 15:59:16 -07:00
Danil Platonov 3cd40419eb cargo fmt 2026-05-30 15:56:18 -07:00
Danil Platonov f8f7b3b7e2 allow to stop and start http server at will with SIGINT, stop the server on uncaught throws, display timing info for each request, use setup_call_cleanup in more places to avoid potential leaks, when handler for a path doesn't have a matching case, throw a detailed error instead of silently continuing 2026-05-30 15:47:50 -07:00
Alexander McLin 533594b6b6 Fixes issue 3264 by adding a fallback read mode when reading from non-tty stdin on Windows 2026-05-25 18:13:01 -04:00
Mark Thom 43b6afcdf3 Merge pull request #3342 from Skgland/pdl-pairs
ensure pdl is pushed/popped in pairs and reuse tabu_list allocation by moving it from a local variable into the machine state
2026-05-25 15:10:02 -06:00
Mark Thom ad13aa3801 Merge pull request #3320 from Skgland/all-pure-rust
add a feature for enabling all features that don't pull in non pure rust dependencies
2026-05-25 14:36:04 -06:00
Mark Thom 79597b63bf Merge pull request #3317 from Skgland/optimize-put_back_char
optimize put_back_char
2026-05-25 14:03:31 -06:00
Skgland bdba7ba0f5 merge crypto-impure feature into feature crypto-full 2026-05-25 19:07:20 +02:00
Skgland 6c7d5e8278 more spelling fixes 2026-05-25 16:39:37 +02:00
Skgland 61ebcdb56e fix spelling 2026-05-24 23:55:19 +02:00
Skgland f2195c2362 cleanup
- fix some warnings and mark others as expected
- make use of the msrv bump to 1.93.1 and cleanup compat and workarounds
2026-05-24 23:29:23 +02:00
Skgland 938f588769 make crypto depending on ring optional 2026-05-24 23:00:27 +02:00
Mark Thom cf9e667b50 Merge pull request #3311 from Skgland/cleanup2
some cleanup and fixes
2026-05-23 18:27:50 -06:00
Mark Thom 3f0b471227 Merge pull request #3333 from 0nkery/lazy-lock
replace lazy_static macro with std::sync::LazyLock
2026-05-23 09:51:22 -06:00
Skgland e4792429d3 reuse tabu list 2026-05-17 20:50:37 +02:00
Skgland d50d425099 ensure pdl is pushed/popped in pairs 2026-05-17 19:48:52 +02:00
Dmitry Shlagoff 2bbb6487ec remove redundant closure 2026-05-12 16:12:33 +02:00
Dmitry Shlagoff 095fa1227a replace lazy_static macro with std::sync::LazyLock 2026-05-12 15:40:38 +02:00
Emilie Burgun 898b6b2b25 RawBlock: seal base and add Stack::index_dangling_or_frame
Direct accesses to `base` are replaced with dedicated methods with
explicit safety requirements.
2026-05-10 22:36:11 +02:00
Emilie Burgun 3c5818a040 RawBlock: seal most fields, replace top with a capacity field 2026-05-10 22:24:57 +02:00
Skgland 0c313a0849 upgrade libffi dependency 2026-05-08 22:36:41 +02:00
Skgland b4db85c8c3 don't erase ptr type early when construction a Cons HeapCellValue
rather than passing an address as usize pass the ArenaHeader pointer
similarly don't return a u8 ptr but use a ArenaHeader pointer instead

Don't convert the pointer to a ConsPtr by going through native endian
bytes in between.
We are exploiting the fact that the 3 least significant bytes are zero
for pointer to types of alignment 8 and we expect these to line up with
the f, m, and tag field at the end of the ConsPtr struct, but using
native endiannes for this would only work on big endian systems.
2026-04-25 18:12:31 +02:00
Skgland 6765921666 fix unused import warning on windows 2026-04-25 16:19:58 +02:00
Skgland ff293a56e6 fix large enum variant size difference warning of PermVarAllocation
by wrapping BranchNumber in an Arc.
PermVarAllocation::Done had size 208 and is now down to 32.
A Box rather than an Arc would be smaller, but it looks like BranchNumber/BranchDesignator are clones a bunch so I expect it to be beneficial to reduce allocations both of the Box itself as well as its content.
2026-04-25 16:19:53 +02:00
Mark Thom 8dffd72db5 replace tabs with spaces 2026-04-21 16:22:38 -07:00
Mark Thom 703a6dddd1 dereference compare_term_test args down from stack (#3286, #3295) 2026-04-21 16:02:55 -07:00
Mark Thom 5ea262e1d3 replace tabs with spaces 2026-04-21 15:02:14 -07:00
Mark Thom 010b00f349 take Lis index from rd in copy_var (#3298) 2026-04-21 14:31:53 -07:00
Mark Thom 9cf0d8b484 Merge pull request #3274 from no382001/issue3262
fix read/1 on non-TTY stdin blocking until newline
2026-04-18 18:16:53 -06:00
Mark Thom 87f97c7e5c Merge pull request #3276 from Skgland/cleanup
remove unused file
2026-04-08 22:18:32 -06:00
Mark Thom 3e2f3ecfdb Merge pull request #3273 from no382001/issue2914
fix panic in current_prolog_flag/2 when arguments are the same variable
2026-04-04 13:06:11 -06:00
Skgland bb9c1cf5a2 remove unused file 2026-04-03 00:16:59 +02:00
no382001andBennet Bleßmann 28f8da5ce9 restructure based on suggestion
Co-authored-by: Bennet Bleßmann <3877590+Skgland@users.noreply.github.com>
2026-03-31 21:14:54 +02:00
no382001 c065b52778 fix read/1 on non-TTY stdin blocking until newline #3262 2026-03-31 15:52:27 +02:00
no382001 6a10c6d6a5 fix panic in current_prolog_flag/2 when arguments are the same variable 2026-03-31 12:01:00 +02:00
Skgland 3c9c7ade8d use checked_add to prevent silent overflow 2026-03-27 22:00:54 +01:00