60 Commits
Author SHA1 Message Date
Oliver Hamlet 55bdf56227 Update version and changelog for v0.28.0 2025-08-02 16:36:20 +01:00
Oliver Hamlet ff86fdc65d Version array-parameterized-test independently of libloot 2025-08-02 16:26:09 +01:00
Oliver Hamlet b75eced9ea Rename and tidy up the parameterized-test crate
It needed to be renamed to allow it to be published on crates.io, as there's already a parameterized_test crate there.
2025-08-02 16:05:36 +01:00
Oliver Hamlet f14e47e0e8 Switch to the regress crate for regex
It uses about 56 MB less memory when LOOT launches into my Skyrim SE
large test load order with the latest masterlist and prelude, and
explicitly targets ECMAScript-like syntax like C++ std::regex does,
though supports newer functionality.

Compared to fancy-regex's syntax support, regress adds support for the
\0 nul character escape and removes support for:

- modifiers (e.g. `(?i)`)
- some Unicode character classes (e.g. used with `\p{}` and `\P{}`)
- the ASCII/POSIX character classes (e.g. `[:alpha:]`)
- various character escapes, including \A \a \z \b{start} \<
  \b{end} \> \b{start-half} \b{end-half}
- (?P<name>exp) named capture groups

However, since regress's v flag requires more characters to be escaped
inside character classes than fancy-regex's Unicode support requires,
it's not used, so that further restricts the supported Unicode character
classes, and means that character class intersection, union and
subtraction syntaxes aren't supported.

The nul character escape is irrelevant for filename matching as it's not
allowed in Windows or Linux filenames.

Compared to C++ std::regex, the new restrictions are:

- the lack of support for ASCII/POSIX character classes
- the lack of support for control character escapes (e.g. `\cX`)

The lack of support for control character escapes is irrelevant as
control characters aren't allowed in Windows filenames.

A search of the masterlists doesn't find any use of the ASCII character
classes, and it's very unlikely that any user metadata would use them.
If such syntax is in use, it'll cause an error.
2025-07-29 18:25:40 +01:00
Oliver Hamlet ac0a355117 Update NAPI-RS to v3 2025-07-27 10:00:40 +01:00
Oliver HamletandGitHub b3c12f8913 Merge pull request #127 from loot/dependabot/cargo/cxx-build-1.0.161
Bump cxx-build from 1.0.160 to 1.0.161
2025-07-25 20:59:28 +01:00
dependabot[bot]andGitHub 213252072a Bump cxx-build from 1.0.160 to 1.0.161
---
updated-dependencies:
- dependency-name: cxx-build
  dependency-version: 1.0.161
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-22 19:08:08 +00:00
dependabot[bot]andGitHub 109cc76cdb Bump cxx from 1.0.160 to 1.0.161
Bumps [cxx](https://github.com/dtolnay/cxx) from 1.0.160 to 1.0.161.
- [Release notes](https://github.com/dtolnay/cxx/releases)
- [Commits](https://github.com/dtolnay/cxx/compare/1.0.160...1.0.161)

---
updated-dependencies:
- dependency-name: cxx
  dependency-version: 1.0.161
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-22 19:08:06 +00:00
Oliver Hamlet 7fe2b0cc95 Remove libloot dependency from libloot-ffi-errors 2025-07-22 19:56:21 +01:00
dependabot[bot]andGitHub be7596f747 Bump delegate from 0.13.3 to 0.13.4
---
updated-dependencies:
- dependency-name: delegate
  dependency-version: 0.13.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-21 18:32:31 +00:00
dependabot[bot]andGitHub ca08a67bb6 Bump crc32fast from 1.4.2 to 1.5.0
Bumps [crc32fast](https://github.com/srijs/rust-crc32fast) from 1.4.2 to 1.5.0.
- [Commits](https://github.com/srijs/rust-crc32fast/compare/v1.4.2...v1.5.0)

---
updated-dependencies:
- dependency-name: crc32fast
  dependency-version: 1.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-14 18:50:49 +00:00
dependabot[bot]andGitHub ca08ad7453 Bump fancy-regex from 0.14.0 to 0.15.0
Bumps [fancy-regex](https://github.com/fancy-regex/fancy-regex) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/fancy-regex/fancy-regex/releases)
- [Changelog](https://github.com/fancy-regex/fancy-regex/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fancy-regex/fancy-regex/compare/0.14.0...0.15.0)

---
updated-dependencies:
- dependency-name: fancy-regex
  dependency-version: 0.15.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-07 18:11:43 +00:00
Oliver HamletandGitHub 7692ff5521 Merge pull request #115 from loot/dependabot/cargo/cxx-1.0.160
Bump cxx from 1.0.158 to 1.0.160
2025-07-01 19:21:37 +01:00
Oliver HamletandGitHub 7e3214843a Merge pull request #116 from loot/dependabot/cargo/cxx-build-1.0.160
Bump cxx-build from 1.0.158 to 1.0.160
2025-07-01 19:21:29 +01:00
dependabot[bot]andGitHub 0dcac691b8 Bump cxx-build from 1.0.158 to 1.0.160
Bumps [cxx-build](https://github.com/dtolnay/cxx) from 1.0.158 to 1.0.160.
- [Release notes](https://github.com/dtolnay/cxx/releases)
- [Commits](https://github.com/dtolnay/cxx/compare/1.0.158...1.0.160)

---
updated-dependencies:
- dependency-name: cxx-build
  dependency-version: 1.0.160
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-30 19:25:27 +00:00
dependabot[bot]andGitHub ff913b3545 Bump cxx from 1.0.158 to 1.0.160
Bumps [cxx](https://github.com/dtolnay/cxx) from 1.0.158 to 1.0.160.
- [Release notes](https://github.com/dtolnay/cxx/releases)
- [Commits](https://github.com/dtolnay/cxx/compare/1.0.158...1.0.160)

---
updated-dependencies:
- dependency-name: cxx
  dependency-version: 1.0.160
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-30 18:54:29 +00:00
dependabot[bot]andGitHub 8b1747cf2a Bump napi-build from 2.2.1 to 2.2.2
Bumps [napi-build](https://github.com/napi-rs/napi-rs) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/napi-rs/napi-rs/releases)
- [Commits](https://github.com/napi-rs/napi-rs/compare/napi-build@2.2.1...napi-build@2.2.2)

---
updated-dependencies:
- dependency-name: napi-build
  dependency-version: 2.2.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-30 18:54:23 +00:00
dependabot[bot]andGitHub 2159865684 Bump syn from 2.0.103 to 2.0.104
Bumps [syn](https://github.com/dtolnay/syn) from 2.0.103 to 2.0.104.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/2.0.103...2.0.104)

---
updated-dependencies:
- dependency-name: syn
  dependency-version: 2.0.104
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-23 18:02:42 +00:00
Oliver Hamlet 36ce35950d Update pyo3 to v0.25.1 2025-06-18 18:48:43 +01:00
Oliver Hamlet 695d5b9a23 Update syn to v2.0.103 2025-06-18 18:08:33 +01:00
Oliver Hamlet ef1019d19c Update napi-build to v2.2.1 2025-06-18 18:07:56 +01:00
Oliver Hamlet 0ce5d3e45c Update cxx, cxx-build to v1.0.158 2025-06-18 18:04:17 +01:00
Oliver Hamlet 6003d5c2c2 Update saphyr to v0.0.6 2025-06-18 17:44:13 +01:00
Oliver Hamlet f2d9bdad7c Update windows to v0.61.3 2025-06-18 17:44:00 +01:00
Oliver Hamlet c5501b7583 Update tempfile to v3.20.0 2025-06-18 17:41:44 +01:00