Mark
0292cb73d3
expand_call_goals/3 should expand meta-predicate subgoals ( #2361 )
2024-03-19 17:12:26 -06:00
Mark
42f4827854
make indexer downcast Integers to Fixnums when possible, be slightly more judicious about allocating Integers instead of Fixnums ( #2340 )
2024-02-29 16:15:28 -07:00
Mark
f2d3779fa9
add #2341 test to lib_machine.rs
2024-02-29 15:12:58 -07:00
Mark
b70f121e46
use scryer-modular-bitfield on github, version bump
CI / build-test (ubuntu-22.04, true, stable, x86_64-unknown-linux-gnu) (push) Has been cancelled
CI / build-test (windows-latest, true, stable, x86_64-pc-windows-msvc) (push) Has been cancelled
CI / logtalk-test (push) Has been cancelled
CI / style (push) Has been cancelled
CI / build-test (--no-default-features, ubuntu-22.04, true, nightly, wasm32-unknown-unknown, --no-run --no-default-features) (push) Has been cancelled
CI / build-test (macos-11, true, stable, x86_64-apple-darwin) (push) Has been cancelled
CI / build-test (ubuntu-20.04, true, stable, x86_64-unknown-linux-gnu) (push) Has been cancelled
CI / build-test (ubuntu-22.04, 1.70, x86_64-unknown-linux-gnu) (push) Has been cancelled
CI / build-test (ubuntu-22.04, beta, x86_64-unknown-linux-gnu) (push) Has been cancelled
CI / build-test (ubuntu-22.04, nightly, x86_64-unknown-linux-gnu) (push) Has been cancelled
CI / build-test (ubuntu-22.04, true, stable, i686-unknown-linux-gnu) (push) Has been cancelled
CI / report (push) Has been cancelled
CI / release (push) Has been cancelled
Docker Publish / build (push) Has been cancelled
2024-02-29 10:08:14 -07:00
Mark
641765858f
fix misuse of TypeError trait while fixing #2345
2024-02-28 20:47:36 -07:00
Mark
ba362e2fe0
issue callable type error from dynamic_module_resolution if module is not an atom ( #2345 )
2024-02-28 20:35:38 -07:00
Mark Thom
84d5ce0d1e
Merge pull request #2309 from coasys/library-use-case
...
Iron-out edge cases for library use-case, adding extensive real-world test assertions
2024-02-28 14:34:54 -07:00
Markus Triska
27852eafd7
ADDED: Hash-based message authentication code (HMAC), using hmac(Key).
2024-02-22 20:53:27 +01:00
Mark Thom
b43f0979d9
Update src/machine/parsed_results.rs
...
Co-authored-by: Bennet Bleßmann <bennet.blessmann+github@googlemail.com >
2024-02-08 19:10:29 -07:00
Mark
614850ab1d
fmt
2024-02-05 18:34:57 -07:00
Mark
75a94fd0b3
fmt
2024-02-02 11:49:02 -07:00
Mark
cbb422f69d
record stub choice point as block
2024-02-01 09:26:58 -07:00
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