Nicolas Luck
7bb9c00356
fmt
2024-01-29 18:44:20 +01:00
Nicolas Luck
9aacfff35d
Add more test cases to differentiate usage of discontiguous
2024-01-29 16:49:03 +01:00
Nicolas Luck
2e728c7051
Minimal reproduction of faulty behaviour seen in integration tests
2024-01-29 15:26:06 +01:00
Nicolas Luck
7e973a6da6
Merge branch 'master' into library-use-case
2024-01-26 17:21:47 +01:00
Nicolas Luck
cb014095ad
Add expected results to integration test
...
Results are logs of what we get with old toplevel-based version of lib_machine. These are also congruent with what our tests logged out based on SWI.
2024-01-26 17:18:57 +01:00
Mark
6fe8f64835
scan registers of instructions leading to verify_attributes interrupt to find the number of registers to save ( #2307 )
2024-01-25 23:59:54 -07:00
Adrián Arroyo Calle
99c85459a7
Move copy_term/3 to library(iso_ext)
2024-01-19 17:33:45 +01:00
Mark
29ced36a79
add #2293 tests, advance continuable HeapPStrIters away from unpacked compounds ( #2293 )
2024-01-14 15:07:33 -07:00
Mark
f9a5c2d341
fix additional tests, make better use of existing code ( #2293 )
2024-01-13 12:01:54 -07:00
Mark
dde03718e1
fix additional tests ( #2293 )
2024-01-12 22:01:01 -07:00
Mark
60d34bea70
add missing CStr branch to unify_partial_string ( #2293 )
2024-01-12 13:58:46 -07:00
bakaq
f02c0eacd8
Make "cargo miri test" actually run
2024-01-09 04:38:53 -03:00
Mark
d51defed06
fix cargo --fmt check error
2024-01-04 13:56:57 -07:00
Mark
851ea2c45b
add missing permission error in compile_assert ( #2271 )
2024-01-04 13:53:46 -07:00
Adrián Arroyo Calle
fac8866fb4
Use reqwest async and use futures::executor
2024-01-03 22:43:22 +01:00
Mark Thom
5c89029462
Merge pull request #2263 from aarroyoc/docs-toplevel
...
Move argv/1 to library(os)
2024-01-02 09:19:10 -07:00
Adrián Arroyo Calle
47b5ae7984
Move argv/1 to library(os)
2024-01-02 13:16:11 +01:00
Mark Thom
1f90dbec20
Merge pull request #2259 from bakaq/comment_warnings
...
Emit warnings as Prolog comments
2024-01-01 00:33:58 -07:00
bakaq
d9d90d1ae8
Emit warnings as Prolog comments
2023-12-30 17:39:20 -03:00
Mark
75302ab716
check that Target is an atom in scoped_clause_to_evacuable ( #2248 )
2023-12-29 10:12:08 -07:00
Mark
42d6749501
throw errors from char_reader.rs and get_n_chars when reading bad UTF8 data ( #2244 )
2023-12-26 12:31:04 -07:00
Markus Triska
47ec5eb6c6
ENHANCED: Use crrl for Ed25519 signing and signature verification.
...
The main motivation for this change is the introduction of the newly
available predicate ed25519_seed_keypair/2, allowing to generate a key
pair from a given seed. In this way, a key pair can be dynamically
generated from (for example) a password, using crypto_password_hash/3
in combination with crypto_data_hkdf/4 to generate the seed. The
advantage of this method is that the private key need not be stored at
all anywhere.
It is not possible to add a corresponding feature to ring, since it is
closed as "not planned": https://github.com/briansmith/ring/issues/1003
I also used this opportunity to move more of the logic to Prolog. We
now have total control of the key pair representation, and I also
changed the representation to conform to the PKCS#8 v2 standard,
something that only later ring versions do, while still being
backwards compatible with tools that produce a wrong representation
including earlier ring versions.
Another great advantage we get from this change is that the Ed25519
predicates now also run on the 32-bit and WASM versions of Scryer.
2023-12-26 07:33:44 +01:00
Mark
373b08a91e
fix off-by-one error caused logtalk test to crash
2023-12-21 12:14:12 -07:00
Mark
a7154968d8
fix cargo fmt --check
2023-12-21 10:24:01 -07:00
Mark
46e432c4d9
restore [o|i]ip zeroing to trust and fix '$get_clause_p'/3 ( #2238 )
2023-12-20 20:45:15 -07:00
Mark
299df50066
clamp lower_bound_of_target_clause index ( #840 )
2023-12-18 15:21:30 -07:00
Mark
335330690f
don't replace undefined module predicates ( #2232 )
2023-12-18 14:57:22 -07:00
Mark
f30cee7655
fix retraction of local dynamic predicates ( #2215 , #2232 )
2023-12-18 13:28:45 -07:00
Mark
b943afb7c7
fix '$get_clause_p' whose old implementation was broken by the introduction
...
of lookahead indexing
2023-12-18 13:28:45 -07:00
Mark
30f3818c66
improve performance of lower_bound_of_target_clause ( #1598 )
2023-12-18 13:28:45 -07:00
Adrián Arroyo Calle
d132227860
Throw ValidType::Atom error in functor
2023-12-17 12:38:46 +01:00
Mark
e5ea95db8d
Revert "improve performance of lower_bound_of_target_clause ( #1598 )"
...
This reverts commit 8938331915 .
2023-12-15 00:42:58 -07:00
Mark
8938331915
improve performance of lower_bound_of_target_clause ( #1598 )
2023-12-15 00:39:36 -07:00
Mark
82f3731c97
fix cargo style failure
2023-12-11 15:17:02 -07:00
Mark
658258c8c3
dereference port address in socket_server_open ( #2222 )
2023-12-11 14:38:20 -07:00
Nicolas Luck
77ce5a9586
Result with one empty match should be false
2023-12-05 15:00:07 +01:00
Nicolas Luck
24e3e1794e
cargo fmt
2023-12-04 20:18:41 +01:00
Nicolas Luck
99055b553a
Don’t include unbound variables in results returned from run_query
2023-12-04 20:10:06 +01:00
Nicolas Luck
576f13df60
Merge branch 'master' into library-use-case
2023-12-04 20:06:14 +01:00
Mark
004201abda
add module name and missing predicate key to module_does_not_contain_claimed_export error ( #2195 )
2023-12-04 11:19:44 -07:00
Mark
de452bb2c2
fix overeager detection of (->)/2 in if position of (;)/2 ( #2183 )
2023-11-29 11:05:04 -07:00
Mark Thom
e8d8b09e52
Merge pull request #2186 from aarroyoc/cpu-now-wasm32
...
Implement $cpu_now in wasm32
2023-11-28 16:17:44 -07:00
Mark
631674db29
open pl files instead of directories ( #2014 )
2023-11-28 15:32:06 -07:00
Adrián Arroyo Calle
4c795018b4
Implement $cpu_now in wasm32
2023-11-28 23:30:02 +01:00
Mark Thom
4181c9fab2
Merge branch 'master' into flame
2023-11-24 18:00:55 +01:00
Mark Thom
73ed08a412
Merge pull request #2179 from mthom/fix_stress_integration_test
...
Fix stress integration test
2023-11-23 21:31:12 +01:00
Mark
7cac13aefa
set b0 to b for run_query call
2023-11-23 12:55:55 -07:00
Mark Thom
2e114df4c7
Merge pull request #2173 from aarroyoc/js-eval
...
Add js_eval/2 for wasm32
2023-11-22 21:52:49 +01:00
Adrián Arroyo Calle
36ab590c4e
Add js_eval/2 for wasm32
2023-11-22 21:21:19 +01:00
Mark
ef8eb935d4
add CutPoint to select_switch_on_term_index ( #2176 )
2023-11-22 08:57:23 -07:00