Oliver Hamlet and GitHub
cf1dd29a2a
Merge pull request #61 from loot/dependabot/cargo/libc-0.2.170
...
Bump libc from 0.2.169 to 0.2.170
2025-02-24 17:13:44 +00:00
dependabot[bot] and GitHub
e381bfacd2
Bump libc from 0.2.169 to 0.2.170
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.169 to 0.2.170.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.170/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.169...0.2.170 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-24 03:54:42 +00:00
Oliver Hamlet
da95554781
Update versions and changelog for v5.2.0
5.2.0
2025-02-20 17:48:23 +00:00
Oliver Hamlet
f8cc7de5f8
Support line breaks in condition string whitespace
2025-02-20 17:47:55 +00:00
Oliver Hamlet and GitHub
35c7166661
Merge pull request #58 from loot/dependabot/cargo/tempfile-3.17.1
...
Bump tempfile from 3.17.0 to 3.17.1
2025-02-18 08:08:08 +00:00
dependabot[bot] and GitHub
2d52c9128a
Bump tempfile from 3.17.0 to 3.17.1
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.17.0 to 3.17.1.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.17.0...v3.17.1 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-18 03:48:07 +00:00
Oliver Hamlet and GitHub
8ae8fbd67a
Merge pull request #57 from loot/dependabot/cargo/tempfile-3.17.0
...
Bump tempfile from 3.16.0 to 3.17.0
2025-02-17 12:57:06 +00:00
dependabot[bot] and GitHub
94553dd229
Bump tempfile from 3.16.0 to 3.17.0
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.16.0 to 3.17.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.16.0...v3.17.0 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-17 03:56:27 +00:00
Oliver Hamlet
f7ba01a46b
Update versions and changelog for v5.1.0
5.1.0
2025-02-16 09:13:51 +00:00
Oliver Hamlet
2367403cad
Use correct dir order for OpenMW when evaluating dir entries
...
I don't think this actually matters since evaluation just returns true and only exits early on success, but if the evaluator has side effects then it could matter.
2025-02-16 09:13:51 +00:00
Oliver Hamlet
174ba55c95
Add description_contains() condition function
...
It evaluates to true if the plugin description contains text that matches the given regex.
2025-02-15 22:38:18 +00:00
Oliver Hamlet
f84083da52
Add filename_version() condition function
...
Unlike the other functions it will always evaluate to false if the version cannot be extracted from any filenames.
2025-02-15 21:27:39 +00:00
Oliver Hamlet
30e3ed9c86
Add file_size() function
...
It evaluates to false if the file doesn't exist.
2025-02-15 18:28:39 +00:00
Oliver Hamlet
bae9e8b630
Update versions and changelog for v5.0.0
5.0.0
2025-02-01 18:56:44 +00:00
Oliver Hamlet
d3da4528d3
Recognise OpenMW .omwscripts plugins
...
This doesn't really have any effect, as since ghosting is disabled for OpenMW the extension is only checked when evaluating a version() function, and .omwscripts plugins don't have a version field, so there's no reason for that version() call to exist in the first place.
2025-02-01 18:56:44 +00:00
Oliver Hamlet
7bf005118e
Don't treat any OpenMW plugin as a master
...
Master-flagged plugins are not forced to load before other plugins in OpenMW.
2025-02-01 18:33:30 +00:00
Oliver Hamlet
d7f5455cd0
Swap out some libc type aliases with std::ffi equivalents
...
Unfortunately std::ffi::c_size_t is currently experimental, and if I
define c_size_t = usize myself then cbindgen doesn't recognise it
properly and makes c_size_t a typedef of uintptr_t instead of just
replacing it with size_t.
2025-02-01 17:58:12 +00:00
Oliver Hamlet
d9c453a857
Use c_int instead of i32 in error types
...
To match the types used by the actual error mappers. c_int is a type alias of i32 on the platforms that this library is used on, so there's no practical difference.
2025-02-01 17:58:12 +00:00
Oliver Hamlet
000c9971c2
Improve running CMake in CI
2025-01-29 18:38:32 +00:00
Oliver Hamlet
08639a1e8f
Fix path handling for OpenMW
...
- Disable support for plugin ghosting for OpenMW, it's not clear if it's useful and it increases complexity.
- Search additional data paths in reverse order.
2025-01-29 18:38:32 +00:00
Oliver Hamlet
a8f9a5734a
Make Error and GameType enums non-exhaustive
...
So that it's not a breaking change to add more variants in the future.
2025-01-29 18:38:24 +00:00
Oliver Hamlet
9e2aa0cf9c
Add support for OpenMW .omwaddon and .omwgame plugins
2025-01-29 18:38:24 +00:00
Oliver Hamlet and GitHub
2852491143
Merge pull request #56 from loot/dependabot/cargo/tempfile-3.16.0
...
Bump tempfile from 3.15.0 to 3.16.0
2025-01-29 08:44:54 +00:00
dependabot[bot] and GitHub
80c9f4750f
Bump tempfile from 3.15.0 to 3.16.0
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.15.0 to 3.16.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.15.0...v3.16.0 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-29 03:46:49 +00:00
Oliver Hamlet
f357fa48a3
Add is_executable() function
...
To guard against calling product_version() or version() on (non-plugin) files that unexpectedly aren't executables, e.g. Starfield.exe from the Microsoft Store.
2025-01-28 18:17:57 +00:00