Skgland
|
c067bfa832
|
allow 3rd argument of ffi:read_ptr to not be a variable
|
2025-08-29 00:36:35 +02:00 |
|
Mark Thom
|
aa3d8b8fba
|
Merge pull request #3059 from pmikkelsen/raw-input
Don't use "readline" input functionality for certain builtins
|
2025-08-26 23:09:18 -07:00 |
|
Skgland
|
14ce052bf2
|
export array_type/3
|
2025-08-26 00:33:16 +02:00 |
|
Skgland
|
252361fc20
|
fix left over todo
|
2025-08-26 00:15:13 +02:00 |
|
Skgland
|
78c08b87b6
|
cleanup ffi error handling and use Atom instead of &str in appropriate places
|
2025-08-26 00:01:35 +02:00 |
|
Peter Mikkelsen
|
eb91b3c1fb
|
Style tweak
|
2025-08-25 20:47:29 +02:00 |
|
Skgland
|
a140720c6f
|
use representation_error rather than resource_error
|
2025-08-25 20:14:14 +02:00 |
|
Skgland
|
6f3f66c407
|
fix builds without ffi feature
|
2025-08-24 21:08:52 +02:00 |
|
Skgland
|
1f7a60dec9
|
add meta_predicate declaration for with_locals/2
|
2025-08-24 20:25:47 +02:00 |
|
Skgland
|
ce9b41815d
|
add documentation
|
2025-08-24 20:23:17 +02:00 |
|
Skgland
|
80bf276e09
|
run rustfmt
|
2025-08-24 19:57:54 +02:00 |
|
Skgland
|
8bc8171ec7
|
fix define_foreign_struct
|
2025-08-24 19:56:26 +02:00 |
|
Skgland
|
3b5b768f4a
|
make ffi error structure not found point to the correct culprit
|
2025-08-24 19:56:26 +02:00 |
|
Skgland
|
176858ad42
|
fix map_ffi_arg
|
2025-08-24 19:56:26 +02:00 |
|
Skgland
|
eba681786d
|
make map_ffi_args a method and throw an instantiation error when encountering a variable
|
2025-08-24 19:56:25 +02:00 |
|
Skgland
|
f4297e365f
|
don't crash on empty list and differentiate list head not being string like
|
2025-08-24 19:56:25 +02:00 |
|
Skgland
|
cd777294b9
|
use setup_call_cleanup/3 for with_locals
as suggested by triska
|
2025-08-24 19:56:25 +02:00 |
|
Skgland
|
3e929511bb
|
add a test for with_locals
|
2025-08-24 19:56:24 +02:00 |
|
Skgland
|
d1356db7e3
|
include a culprit in ffi_error
|
2025-08-24 19:56:24 +02:00 |
|
Skgland
|
7b2bf73ba1
|
fix with_locals
|
2025-08-24 19:56:24 +02:00 |
|
Skgland
|
edd6d44bd6
|
require array_length to be > 0
C does not have 0-sized types
|
2025-08-24 19:56:24 +02:00 |
|
Skgland
|
4b5e4a2745
|
fix some things in ffi.pl
thanks triska for pointing out most of these
|
2025-08-24 19:56:23 +02:00 |
|
Skgland
|
3a4dfc46da
|
add ffi helpers
|
2025-08-24 19:56:23 +02:00 |
|
Skgland
|
d8346b1651
|
don't place allocate, read_ptr and deallocate between use_foreign_module and its helper predicates
|
2025-08-24 19:56:23 +02:00 |
|
Skgland
|
20d52c093a
|
add ffi:{allocate,read_ptr,deallocate}
|
2025-08-24 19:56:23 +02:00 |
|
Skgland
|
35d34231f2
|
don't fail the build script if we couldn't parse a file
this way we get to the actual compilation in which rustc shouldl fail with a more helpfull error message
|
2025-08-24 19:56:17 +02:00 |
|
Peter Mikkelsen
|
90e6e84312
|
Update src/read.rs
Co-authored-by: Bennet Bleßmann <3877590+Skgland@users.noreply.github.com>
|
2025-08-24 14:27:33 +02:00 |
|
Mark Thom
|
cd501beb0b
|
very small cargo fmt
|
2025-08-23 14:57:56 -07:00 |
|
Mark Thom
|
39d02a0caf
|
clear rustc warnings (#3051)
|
2025-08-23 14:34:49 -07:00 |
|
Mark Thom
|
e168b31963
|
make max_depth checking in heap_print.rs consistent across atomics
|
2025-08-23 14:24:14 -07:00 |
|
Mark Thom
|
eed0a5babb
|
some max_depth improvements (#1876, #2666, #3008, #3027)
|
2025-08-23 14:01:10 -07:00 |
|
Mark Thom
|
ad29f0f180
|
further improvements to cyclic partial list printing (#2635)
|
2025-08-23 13:23:39 -07:00 |
|
Mark Thom
|
b14bda310f
|
improve printer's handling of cyclic lists (#2111, #2635)
|
2025-08-23 13:23:39 -07:00 |
|
Peter Mikkelsen
|
39cf60bc05
|
Don't use "readline" input functionality for the following builtins:
* peek_byte
* peek_char
* peek_code
* get_byte
* get_char
* get_code
* get_n_chars
|
2025-08-22 11:02:59 +02:00 |
|
Mark Thom
|
02b8a6010c
|
Merge pull request #3056 from Skgland/fix-msrv
Fix msrv
|
2025-08-21 23:24:30 -07:00 |
|
Mark Thom
|
b2cfc8b6f2
|
fix cyclic detection of partial strings in StackfulPreOrderHeapIter (#3050)
|
2025-08-21 22:52:25 -07:00 |
|
Mark Thom
|
c5389dbbf2
|
Use from_str_radix for BigInt in parse_integer_by_radix (#3025, #3033)
|
2025-08-21 18:25:00 -07:00 |
|
Skgland
|
633b86ddc4
|
make CI read msrv from Cargo.toml
instead of hardcoding it, so we have a single source of truth
|
2025-08-18 21:10:27 +02:00 |
|
Skgland
|
348c5029b3
|
reduce msrv back to 1.85
|
2025-08-18 20:52:15 +02:00 |
|
Mark Thom
|
7ffd93c0d7
|
Merge pull request #3055 from Skgland/build-debs
use cargo-deb in CI to build debian deb packages
|
2025-08-17 15:49:20 -07:00 |
|
Skgland
|
6338a40eed
|
fixup logtalk-test
|
2025-08-17 22:52:45 +02:00 |
|
Skgland
|
3aa272e44d
|
explicitly pass the target to cargo-deb
|
2025-08-17 22:31:28 +02:00 |
|
Skgland
|
52f3ddd20d
|
fix paths
|
2025-08-17 22:12:54 +02:00 |
|
Mark Thom
|
f61c069c2b
|
Merge pull request #3053 from Skgland/add-test-for-issue-3048
add tests for issue 3048
|
2025-08-17 13:12:28 -07:00 |
|
Skgland
|
f1171e2fb2
|
build debian packages on linux targets
|
2025-08-17 21:36:42 +02:00 |
|
Skgland
|
e38ee14580
|
add tests for issue 3048
|
2025-08-17 14:50:15 +02:00 |
|
Mark Thom
|
93cc4d4898
|
clear pdl after comparing partial strings (#3048)
|
2025-08-16 15:26:10 -07:00 |
|
Mark Thom
|
87f5295bd0
|
check for stack variables in ground_test before iterating (#3048)
|
2025-08-14 21:21:32 -07:00 |
|
Mark Thom
|
97607d2bcd
|
small tweak for read_from_term performance (#2668)
|
2025-08-12 22:29:31 -07:00 |
|
Mark Thom
|
216c251c48
|
deref terms in read_from_term (#2668)
|
2025-08-12 22:23:52 -07:00 |
|