Oliver Hamlet
2001fb4583
Fix another translation bug
2025-03-25 20:56:11 +00:00
Oliver Hamlet
61a1963d91
Fix another translation bug in BA2 parsing
2025-03-25 20:56:11 +00:00
Oliver Hamlet
39e575355b
Fix translation bug loading assets unnecessarily
2025-03-25 20:56:11 +00:00
Oliver Hamlet
5152783534
Fix another translation bug
2025-03-25 20:56:11 +00:00
Oliver Hamlet
d6503d5101
Fix a few more translation bugs
2025-03-25 20:56:11 +00:00
Oliver Hamlet
64b14e3770
Fix PluginMetadata::set_group arg type
2025-03-25 20:56:11 +00:00
Oliver Hamlet
e28c0f498b
Fix translation bug in substituting message placeholders
2025-03-25 20:56:11 +00:00
Oliver Hamlet
821e1b46ed
Fix translation bug in loading plugins from relative paths
2025-03-25 20:56:11 +00:00
Oliver Hamlet
9dc14da0ba
Fix missing details when logging errors
2025-03-25 20:56:11 +00:00
Oliver Hamlet
99f81ca783
Fix calling set_logging_callback multiple times
...
Store the callback as a global, independent of the log crate, and add logging macros that invoke the callback as well as the log crate's log! macro.
2025-03-25 20:56:11 +00:00
Oliver Hamlet
12e41639ea
Fix another translation bug
2025-03-25 20:56:11 +00:00
Oliver Hamlet
2a19d0cad8
Fix bugs due to translation mistakes
2025-03-25 20:56:11 +00:00
Oliver Hamlet
051372318d
Implement support for writing YAML
2025-03-25 20:56:11 +00:00
Oliver Hamlet
ce1742ef54
Add a couple of parameterised fixture tests
2025-03-25 20:56:07 +00:00
Oliver Hamlet
649560fa09
Decouple PluginSortingData and Plugin
...
The SortingPlugin trait will make testing the sorting code easier, as it won't need to load plugin files.
2025-03-25 20:41:45 +00:00
Oliver Hamlet
9aebc75027
Add a few simple unit tests
2025-03-25 20:41:33 +00:00
Oliver Hamlet
cc51f8b19a
Rework error handling
2025-03-25 20:41:31 +00:00
Oliver Hamlet
7c9558fd36
Initial translation of libloot into Rust
...
This should be equivalent to libloot commit 55b341fc6c , except for:
- Error types are incomplete
- Setting a logging callback doesn't work properly
- Serialising metadata to YAML isn't implemented
- Tests are almost entirely missing
- C/C++ FFI doesn't exist
2025-03-25 20:41:00 +00:00
Oliver Hamlet
2d96ba13d9
Update changelog and version for 0.25.5
0.25.5
2025-03-15 21:16:08 +00:00
Oliver Hamlet
e4fa201dd8
Fix LoadPlugins() with missing already-loaded plugins
2025-03-15 20:54:10 +00:00
Oliver Hamlet
b7f47af3fd
Remove common fixture and parameters from SortPlugins() tests
2025-03-15 14:39:00 +00:00
Oliver Hamlet
5d47d8732c
Remove fixture and parameters from PluginSortingData tests
2025-03-15 14:39:00 +00:00
Oliver Hamlet
2f3e61c1f5
Add SetLogLevel() to the public API
...
While the callback can filter log messages to the desired level, setting the log level in libloot means that it can avoid doing work to construct error messages that may then be discarded.
2025-03-15 14:38:38 +00:00
Oliver Hamlet
1748dc7a3c
Remove some unnecessary includes
2025-03-15 14:17:40 +00:00
Oliver Hamlet
a54ae366a3
Fix a couple of public API header includes
2025-03-12 17:28:29 +00:00