Commit Graph

4640 Commits

Author SHA1 Message Date
Mark Thom
295a642034 Merge pull request #3372 from triska/global_cardinality
FIXED: Correct global_cardinality/2 propagation with reified constraints.
2026-06-30 17:25:30 -07:00
Mark Thom
ae0999a3bb Merge pull request #3398 from Skgland/fix-3320
fix incorrect missing feature errors
2026-06-30 17:25:02 -07:00
Mark Thom
11fd39bbaf Merge pull request #3275 from abmclin/Issue-3223-migrate-to-Rust-edition-2024
Issue 3223 migrate to rust edition 2024
2026-06-30 17:22:27 -07:00
Skgland
eb06f19c32 fix incorrect missing feature errors
this was accidentally introduced in mthom/scryer-prolog#3320

fixes mthom/scryer-prolog#3397
2026-06-29 20:13:10 +02:00
Alexander McLin
ea88ca552d Issue 3223: reformat via cargo fmt 2026-06-16 21:18:49 -04:00
Alexander McLin
eabbf67e86 Issue 3223: add more unsafe scopes 2026-06-16 21:14:43 -04:00
Alexander McLin
7a636b0394 Issue 3223: trying again repair for the failing wasm32 build
Removed `mut` modifier completely.
2026-06-16 21:05:12 -04:00
Alexander McLin
71ea74a077 Issue 3223: repair for the failing wasm32 build
Removed `ref` modifier due to not being allowed when implicitly borrowing.
2026-06-16 21:05:12 -04:00
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
Markus Triska
9b73536cdd FIXED: Correct global_cardinality/2 propagation with reified constraints.
This issue was found by @david-sitsky in a Prolog formulation of an
interesting scheduling task:

    https://github.com/mthom/scryer-prolog/discussions/3341

See also the filed issue:

    https://github.com/mthom/scryer-prolog/issues/3369

Thank you a lot!

This issue needs more analysis to find out what exactly happened here,
whether other cases like it exist, and whether it can be addressed in
a better way. I would greatly appreciate any help!
2026-06-10 20:31:20 +02:00
Mark Thom
e12d3f14c1 Merge pull request #3363 from Skgland/adjust-discussion-3359-test
adjust regression test for discussion 3359
2026-06-05 13:55:21 -07:00
Mark Thom
ffb77473b2 Merge pull request #3364 from Skgland/finish-msrv-bump-cleanup
finish msrv bump cleanup
2026-06-05 13:54:49 -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
Skgland
2b757de73a adjust regression test for discussion 3359
- incorporate fix from 3a2d57db33 (commitcomment-187528793)
- mark as should panic rather than ignored, this ensures that the test will be updated should this get fixed
2026-06-05 20:29:50 +02:00
Mark Thom
03f796e9ff Merge pull request #3299 from danilp-id/interrupt_test
Test: SIGINT should be able to interrupt non-terminating goals on linux
2026-06-04 13:11:08 -07:00
Danil Platonov
d8be99b6ad fix merge 2026-06-04 12:25:54 -07:00
Danil Platonov
2a04025419 Merge branch 'master' into interrupt_test 2026-06-04 12:08:36 -07:00
Mark Thom
bc14e3aedd Merge pull request #3362 from danilp-id/socket_interrupt
Handle interrupts for socket_server_accept/4
2026-06-04 10:56:09 -07: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
Mark Thom
1cbc95bd06 Merge pull request #3360 from Skgland/fix-discussion-3359
Fix discussion 3359
2026-06-03 13:35:56 -07:00
Skgland
d1e8ea4dd5 ignore added test on i686-unknown-linux-gnu
appears to have been broken even before d50d425099
so has a different cause that needs to be investigated
2026-06-03 22:05:20 +02:00
Skgland
068959bd07 fix discussion 3359 2026-06-03 22:05:20 +02:00
Skgland
3a2d57db33 add regression test for discussion 3359 2026-06-03 22:05:20 +02:00
Mark Thom
3ce16656ee Merge pull request #3357 from Skgland/fix-issue3346
ensure ParallelHeapIter pushes its stack in pairs and fix 3346
2026-06-02 22:19:21 -07:00
Danil Platonov
732f3ae10a use Notify instead of Sender 2026-06-02 00:49:00 -07:00
Skgland
a4993284cd fix parallel heap iter 2026-06-01 23:59:37 +02:00
Skgland
8aeb326e5c use a pair for ParallelHeapIter
to ensure it is pushed popped in pairs
2026-06-01 23:58:17 +02: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
Danil Platonov
39c850b4f4 Test that SIGINT interrupts non-terminating goals on unix.
Cleanup: use tokio::test instead of special test helpers

Added pty_exec.py helper script to run binaries with a pseudoterminal attached (bug won't trigger otherwise).

Tested CI to fail on all unixes (ubuntu+macos) with older rustyline, and pass with new one.
2026-05-30 11:45:57 -07:00
Mark Thom
8b6d68a4cd Merge pull request #3347 from drzv/im7-compat2
showterm.el: use new magick command by default, fallback to convert
2026-05-28 16:34:52 -07:00
Mark Thom
149d3932be Merge pull request #3272 from abmclin/windows_improve_notty_stdin_support
Windows improve notty stdin support to resolve issue 3264
2026-05-26 14:01:23 -06:00
drzv
36cbeb3d6c showterm.el: use new magick command by default, fallback to convert 2026-05-26 11:22:17 -04:00
drzv
875ae5a773 showterm.el: revert #3338 2026-05-26 08:10:24 -04:00
Alexander McLin
70d046499a Issue 3264: rebase and update dependencies 2026-05-25 18:24:24 -04:00
Alexander McLin
b6db1cde25 Issue 3264 add rationale comment & #[allow(...)]
Explain why no multibyte UTF-8 encoding support
Disable `bytes()` clippy warning about performance penalty due to unbuffered bytes
2026-05-25 18:13:02 -04:00
Alexander McLin
257209df75 Issue 3264: refactor supported_terminal
Use better code style
2026-05-25 18:13:02 -04:00
Alexander McLin
d5d514ec96 Issue 3264: reformat to conform to style guidelines 2026-05-25 18:13:01 -04: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