Oliver Hamlet
2aaa13bd7e
Deny the clippy::str_to_string lint
2025-04-23 00:16:09 +01:00
Oliver Hamlet
e0a7d7c79f
Deny the clippy::expect_used and clippy::unwrap_in_result lints
2025-04-23 00:16:09 +01:00
Oliver Hamlet
919d2c229e
Deny some clippy restriction lints
...
A few lints are commented out because they seem like good ideas but
fixing the errors they cause would cause too much churn for it to be
done in this commit.
2025-04-23 00:16:08 +01:00
Oliver Hamlet
0e98c82b57
Deny some rustc lints
...
The unreachable_pub lint is commented out because it seems like a good
idea but fixing the errors it causes would cause too much churn for it
to be done in this commit.
2025-04-23 00:16:08 +01:00
Oliver Hamlet
724b8b55c1
Deny most of clippy's pedantic lints
...
They suggested a lot of good code style improvements and spotted a few mistakes.
2025-04-23 00:16:08 +01:00
Oliver Hamlet
db8984096f
Set nodejs wrapper version to 0.26.0
2025-04-22 19:30:53 +01:00
Oliver Hamlet
66cd9bfc61
Build and test the Node.js wrapper in CI
2025-04-22 19:22:37 +01:00
Oliver Hamlet
5a33e16eb3
Add a Node.js wrapper library
...
The implementation is very similar to the Python wrapper.
2025-04-22 19:22:31 +01:00
Oliver Hamlet
cb4686b0b9
Remove generated rustfmt config
2025-04-22 18:47:56 +01:00
Oliver Hamlet
53c2709d15
Remove and gitignore the generated index.js and index.d.ts files
2025-04-22 18:47:56 +01:00
Oliver Hamlet
b19b4dfb6d
Add generated files for Node.js wrapper module
...
Generated using @napi-rs/cli's "napi new".
2025-04-22 18:47:56 +01:00
Oliver Hamlet
d648011e51
Refactor FFI error handling
...
To reduce verbosity and duplication.
2025-04-22 18:39:13 +01:00
Oliver Hamlet
5c871bdf0c
Fix PluginCleaningData missing in Python module
2025-04-21 22:08:08 +01:00
Oliver Hamlet
e8bc6a4805
Fix replacing masterlist prelude with CRLF line endings
2025-04-20 19:10:01 +01:00
Oliver Hamlet
ed77fa9fbf
Add C++ tests for the C++ API metadata types
...
Taken from the same files in libloot v0.26.0, with the YAML tests removed.
2025-04-20 16:00:22 +01:00
Oliver Hamlet
2ce3a6db3a
Fix conversion to Rust structs
...
The optional fields were being set even if they were empty on the C++ side.
2025-04-20 15:59:08 +01:00
Oliver Hamlet
fb1e1ad360
Sync with libloot v0.26.0
2025-04-20 15:58:13 +01:00
Oliver Hamlet
fc4b976bd6
Update esplugin to v6.1.2
2025-04-20 09:56:16 +01:00
Oliver Hamlet
501efda9e3
Update saphyr to v0.0.4
2025-04-20 09:56:16 +01:00
Oliver Hamlet
7bbf55cbb7
Update changelogs and version for 0.26.0
0.26.0
2025-04-19 21:58:39 +01:00
Oliver Hamlet
61eeb7ef85
Update metadata conditions docs
2025-04-19 21:58:39 +01:00
Oliver Hamlet
eee46acedd
Update yaml-cpp to 0.8.0+merge-key-support.3
2025-04-19 21:58:39 +01:00
Oliver Hamlet
6f40f50e76
Update esplugin to v6.1.2
2025-04-19 21:58:39 +01:00
Oliver Hamlet
abb5ffb562
Remove ability to use find_package for yaml-cpp dependency
...
If the build system happens to have yaml-cpp installed as a system package it would link against that, causing non-obvious errors when libloot is then unable to resolve masterlist merge keys. As such, make it so that can't accidentally happen.
Also document an alternative approach for getting FetchContent to use existing sources instead of trying to download them, which is relevant for building LOOT's Flatpak.
2025-04-19 21:58:39 +01:00
Oliver Hamlet
b8aa0ee66e
Fix unintentional copy
...
GCC (15?) prints a warning about it.
2025-04-19 14:18:55 +01:00