Nicolas Luck
06f198bc57
Test show problem with nonexistent predicate
2024-02-01 14:14:50 +01:00
Nicolas Luck
6586657658
fmt
2024-02-01 13:53:21 +01:00
Nicolas Luck
a0e598b97e
clippy
2024-02-01 13:51:37 +01:00
Nicolas Luck
8a6ea29c45
Fix all orderings in integration assertions
2024-02-01 13:43:51 +01:00
Nicolas Luck
e1b0ba466b
Remove test with long program literals, not needed
2024-02-01 13:00:49 +01:00
Nicolas Luck
f35d6287ab
More ordering adjustments
2024-02-01 12:59:10 +01:00
Mark
53028a9c2a
fix style errors
2024-01-31 17:32:32 -07:00
Mark
33fc2ed10c
index stub choice point correctly
2024-01-31 17:30:13 -07:00
Nicolas Luck
bc02fb3754
Extract failing assertion as single test case
2024-01-31 15:03:28 +01:00
Nicolas Luck
48b2379fe5
Adjust some first result orderings in integration assertions
2024-01-30 12:54:12 +01:00
Mark
7de693eb23
check for True or False Query Resolution unconditionally
2024-01-29 15:06:56 -07:00
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