Commit Graph

  • c067bfa832 allow 3rd argument of ffi:read_ptr to not be a variable Skgland 2025-08-29 00:36:35 +02:00
  • aa3d8b8fba Merge pull request #3059 from pmikkelsen/raw-input Mark Thom 2025-08-26 23:09:18 -07:00
  • 14ce052bf2 export array_type/3 Skgland 2025-08-26 00:33:16 +02:00
  • 252361fc20 fix left over todo Skgland 2025-08-26 00:10:55 +02:00
  • 78c08b87b6 cleanup ffi error handling and use Atom instead of &str in appropriate places Skgland 2025-08-25 23:54:18 +02:00
  • eb91b3c1fb Style tweak Peter Mikkelsen 2025-08-25 20:47:29 +02:00
  • a140720c6f use representation_error rather than resource_error Skgland 2025-08-25 20:14:14 +02:00
  • 6f3f66c407 fix builds without ffi feature Skgland 2025-08-24 21:08:52 +02:00
  • 1f7a60dec9 add meta_predicate declaration for with_locals/2 Skgland 2025-08-24 20:25:41 +02:00
  • ce9b41815d add documentation Skgland 2025-08-24 20:23:17 +02:00
  • 80bf276e09 run rustfmt Skgland 2025-08-24 19:57:54 +02:00
  • 8bc8171ec7 fix define_foreign_struct Skgland 2025-08-17 18:22:22 +02:00
  • 3b5b768f4a make ffi error structure not found point to the correct culprit Skgland 2025-08-17 17:35:57 +02:00
  • 176858ad42 fix map_ffi_arg Skgland 2025-08-17 01:39:12 +02:00
  • eba681786d make map_ffi_args a method and throw an instantiation error when encountering a variable Skgland 2025-08-12 23:29:13 +02:00
  • f4297e365f don't crash on empty list and differentiate list head not being string like Skgland 2025-08-11 23:20:48 +02:00
  • cd777294b9 use setup_call_cleanup/3 for with_locals Skgland 2025-08-10 01:57:28 +02:00
  • 3e929511bb add a test for with_locals Skgland 2025-08-09 23:04:13 +02:00
  • d1356db7e3 include a culprit in ffi_error Skgland 2025-08-09 21:10:28 +02:00
  • 7b2bf73ba1 fix with_locals Skgland 2025-08-09 18:47:53 +02:00
  • edd6d44bd6 require array_length to be > 0 Skgland 2025-08-09 18:40:57 +02:00
  • 4b5e4a2745 fix some things in ffi.pl Skgland 2025-08-09 18:35:25 +02:00
  • 3a4dfc46da add ffi helpers Skgland 2025-08-09 17:50:58 +02:00
  • d8346b1651 don't place allocate, read_ptr and deallocate between use_foreign_module and its helper predicates Skgland 2025-08-09 17:50:30 +02:00
  • 20d52c093a add ffi:{allocate,read_ptr,deallocate} Skgland 2025-08-09 02:14:02 +02:00
  • 35d34231f2 don't fail the build script if we couldn't parse a file Skgland 2025-08-09 01:59:18 +02:00
  • 90e6e84312 Update src/read.rs Peter Mikkelsen 2025-08-24 14:17:41 +02:00
  • cd501beb0b very small cargo fmt Mark Thom 2025-08-23 14:57:56 -07:00
  • 39d02a0caf clear rustc warnings (#3051) Mark Thom 2025-08-23 14:34:49 -07:00
  • e168b31963 make max_depth checking in heap_print.rs consistent across atomics Mark Thom 2025-08-23 14:20:00 -07:00
  • eed0a5babb some max_depth improvements (#1876, #2666, #3008, #3027) Mark Thom 2025-08-23 13:18:09 -07:00
  • ad29f0f180 further improvements to cyclic partial list printing (#2635) Mark Thom 2025-08-23 11:51:56 -07:00
  • b14bda310f improve printer's handling of cyclic lists (#2111, #2635) Mark Thom 2025-08-22 18:55:32 -07:00
  • 39cf60bc05 Don't use "readline" input functionality for the following builtins: Peter Mikkelsen 2025-08-22 11:02:59 +02:00
  • 02b8a6010c Merge pull request #3056 from Skgland/fix-msrv Mark Thom 2025-08-21 23:24:30 -07:00
  • b2cfc8b6f2 fix cyclic detection of partial strings in StackfulPreOrderHeapIter (#3050) Mark Thom 2025-08-21 22:52:25 -07:00
  • c5389dbbf2 Use from_str_radix for BigInt in parse_integer_by_radix (#3025, #3033) Mark Thom 2025-08-21 17:34:21 -07:00
  • 633b86ddc4 make CI read msrv from Cargo.toml Skgland 2025-08-18 20:53:02 +02:00
  • 348c5029b3 reduce msrv back to 1.85 Skgland 2025-08-18 20:52:15 +02:00
  • 7ffd93c0d7 Merge pull request #3055 from Skgland/build-debs Mark Thom 2025-08-17 15:49:20 -07:00
  • 6338a40eed fixup logtalk-test Skgland 2025-08-17 22:52:45 +02:00
  • 3aa272e44d explicitly pass the target to cargo-deb Skgland 2025-08-17 22:31:28 +02:00
  • 52f3ddd20d fix paths Skgland 2025-08-17 22:12:54 +02:00
  • f61c069c2b Merge pull request #3053 from Skgland/add-test-for-issue-3048 Mark Thom 2025-08-17 13:12:28 -07:00
  • f1171e2fb2 build debian packages on linux targets Skgland 2025-08-17 19:19:47 +02:00
  • e38ee14580 add tests for issue 3048 Skgland 2025-08-16 15:29:25 +02:00
  • 93cc4d4898 clear pdl after comparing partial strings (#3048) Mark Thom 2025-08-16 15:26:10 -07:00
  • 87f5295bd0 check for stack variables in ground_test before iterating (#3048) Mark Thom 2025-08-14 21:21:32 -07:00
  • 97607d2bcd small tweak for read_from_term performance (#2668) Mark Thom 2025-08-12 22:29:31 -07:00
  • 216c251c48 deref terms in read_from_term (#2668) Mark Thom 2025-08-12 22:23:52 -07:00
  • 8af0a19130 Merge pull request #3042 from dcnorris/numerics Mark Thom 2025-08-11 22:26:01 -07:00
  • 9485ae2ca5 Add README entry for numerics/special_functions David C. Norris 2025-08-10 21:30:36 -04:00
  • 18c451e11c Drop 2 extra lines flagged by 'cargo fmt' David C. Norris 2025-08-10 18:44:08 -04:00
  • a4c071a44b Address CI style complaints David C. Norris 2025-08-10 18:36:54 -04:00
  • c0fb3fd429 Merge pull request #2786 from Skgland/ffi-f64-tests Mark Thom 2025-08-10 13:14:15 -07:00
  • 9fb7d15f0a Merge pull request #3023 from triska/promote_call_with_error_context Mark Thom 2025-08-10 13:04:03 -07:00
  • a8fa8993e1 Address several comments by @triska David C. Norris 2025-08-10 11:45:21 -04:00
  • af3792f79a library(numerics), special funs from crate puruspe David C. Norris 2025-08-10 10:01:01 -04:00
  • d83827b21f Merge pull request #2746 from triska/quads Mark Thom 2025-08-10 01:36:15 -07:00
  • ee39be4361 ADDED: resource_error/1 Markus Triska 2025-08-09 10:22:28 +02:00
  • bc4689ca4a ADDED: representation_error/1 Markus Triska 2025-08-09 10:19:49 +02:00
  • 86dc22a850 ADDED: variants of errors promoting call_with_error_context/2 Markus Triska 2025-08-02 09:55:47 +02:00
  • 9cc170f2ad Merge pull request #3024 from triska/remove_operator_meta_predicate Mark Thom 2025-08-08 21:12:19 -07:00
  • 61f8bc008c Merge pull request #3026 from triska/DEDUCTION Mark Thom 2025-08-08 21:11:46 -07:00
  • 948cbd8f40 Merge pull request #3029 from triska/process_item Mark Thom 2025-08-08 21:11:32 -07:00
  • e1a52a4dde allow passing a null through a cstr arg/return Skgland 2025-08-08 22:45:24 +02:00
  • 7b960a7d63 fix clippy lint warning Skgland 2025-08-08 22:08:13 +02:00
  • c5fd4c1d8a support newly added representation_error/1 in answer descriptions Markus Triska 2025-08-08 21:33:44 +02:00
  • 7dc6d6e4e0 preliminary support for a subset of quads introduced by @UWN Markus Triska 2025-08-08 18:44:25 +02:00
  • 1d643d8385 add newly available library(process) to the list of libraries Markus Triska 2025-08-05 17:50:27 +02:00
  • badd6304c7 mention the DEDUCTION Programme Markus Triska 2025-08-03 14:23:28 +02:00
  • a8da2b6a99 ISO: remove nonstandard operator meta_predicate. Markus Triska 2025-08-02 10:08:27 +02:00
  • a43bac8fd8 Merge pull request #3021 from mthom/rebis-dev Mark Thom 2025-08-02 00:01:39 -07:00
  • 72d5574ff0 Merge pull request #3009 from Skgland/process Mark Thom 2025-08-01 23:18:36 -07:00
  • a2e19bd483 add process module to all_modules test Bennet Bleßmann 2025-08-01 21:19:52 +02:00
  • d907f86c8d use call_with_error_context Bennet Bleßmann 2025-07-30 22:21:00 +02:00
  • fadd3a0839 use named vars instead of wildcards Bennet Bleßmann 2025-07-30 22:19:03 +02:00
  • 45041be336 fix culprit Bennet Bleßmann 2025-07-30 22:14:43 +02:00
  • b2d639b159 fix arity of prcess_wait builtin errors Bennet Bleßmann 2025-07-30 21:22:37 +02:00
  • 3a6b92d227 more tests Bennet Bleßmann 2025-07-27 20:36:07 +02:00
  • 409159d68d adjust/add tests Bennet Bleßmann 2025-07-26 23:59:58 +02:00
  • 143f32be23 adjust options checking and add more tests Bennet Bleßmann 2025-07-26 23:10:29 +02:00
  • d0a6dc9df2 address comment by triska Bennet Bleßmann 2025-07-26 22:08:58 +02:00
  • 62e43a3ab0 use functor/3 for must_be_known_options Bennet Bleßmann 2025-07-26 21:55:18 +02:00
  • eb82d1b6d4 reformat ; Bennet Bleßmann 2025-07-26 21:39:44 +02:00
  • 70d65bcea8 add another test and remove unecessary module qualification Bennet Bleßmann 2025-07-26 21:18:15 +02:00
  • 25edde2eb4 replace filter by tfiltert and fix Pipe{Reader,Writer} streams Bennet Bleßmann 2025-07-26 21:02:42 +02:00
  • ab675e071a adjust error kind Bennet Bleßmann 2025-07-26 18:46:47 +02:00
  • dc08a4ab11 get process_create working and add tests Bennet Bleßmann 2025-07-26 18:21:00 +02:00
  • 1120bcde29 add documentation Bennet Bleßmann 2025-07-26 13:30:56 +02:00
  • dc495f10f8 change behaviour in supposedly unreachable cases Bennet Bleßmann 2025-07-26 13:14:29 +02:00
  • d2ffd4f4bf adjust error for duplicate options Bennet Bleßmann 2025-07-21 00:25:34 +02:00
  • 87dbad2294 fix rename pid to process Bennet Bleßmann 2025-07-21 00:06:46 +02:00
  • ca52c65902 don't remove the child on wait/kill Bennet Bleßmann 2025-07-21 00:06:03 +02:00
  • 7f233da10c fix timeout default value in process_wait/3 Bennet Bleßmann 2025-07-20 23:53:01 +02:00
  • ff546a0f9a incorporate suggestion by triska Bennet Bleßmann 2025-07-20 23:52:25 +02:00
  • 746d4fd106 make atom!() with a new value less annoying Bennet Bleßmann 2025-07-20 23:04:01 +02:00
  • 97e2e5d7f0 implement process_release/1, process_wait/2, process_wait/3, and process_kill/1 Bennet Bleßmann 2025-07-20 22:57:06 +02:00
  • 1ee4f7a55f store child process in machine state Bennet Bleßmann 2025-07-20 21:08:44 +02:00
  • 43dd1587fb handle some error cases and replace unwrap with expect Bennet Bleßmann 2025-07-20 20:11:12 +02:00