502 Commits
Author SHA1 Message Date
Oliver Hamlet 10929878d9 Update version and changelog for v0.28.4 2025-12-31 19:21:17 +00:00
Oliver Hamlet 54604a0ec8 Update version and changelog for v0.28.3 2025-10-22 18:19:02 +01:00
Oliver Hamlet 88ef5a8042 Improve licenses script
Tidy up formatting, and improve license selection logic so that the Apache license is no longer downloaded. This doesn't change what notices are generated.
2025-10-22 18:17:26 +01:00
Oliver Hamlet faa48eb2e6 Update some outdated info in metadata doc 2025-10-11 10:22:35 +01:00
Oliver Hamlet 5a50264eeb Update rust-ini to v0.21.3
This removes a dependency.
2025-10-11 09:07:51 +01:00
Oliver Hamlet 0b42c35b32 Link dependency notices to crates.io
It's the canonical location for all dependencies, and from there people can browse to the repositories or elsewhere.
2025-10-10 23:40:29 +01:00
Oliver Hamlet 893e807d4b Rewrite licenses script
It no longer depends on cargo-attribution, fixes some dev dependencies being included, and fixes some dependencies not being included.
2025-10-10 23:40:29 +01:00
Oliver Hamlet f217904715 Update dependency notices
I forgot to do this before the last release.
2025-10-10 23:31:05 +01:00
Oliver Hamlet ac2b340890 Update version in uv.lock 2025-10-09 18:20:01 +01:00
Oliver Hamlet f4a0917294 Update version and changelog for v0.28.2 2025-10-03 19:23:48 +01:00
Oliver Hamlet 927c708df6 Update version and changelog for v0.28.1 2025-08-11 19:24:39 +01:00
Oliver Hamlet 003d8e5aca Update changelog entry with more details 2025-08-05 17:21:28 +01:00
Oliver Hamlet 550c049013 Update docs to link to docs.rs 2025-08-03 12:48:20 +01:00
Oliver Hamlet 55bdf56227 Update version and changelog for v0.28.0 2025-08-02 16:36:20 +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 bca7af2af8 Update the changelog 2025-08-01 18:20:33 +01:00
Oliver Hamlet 724f6eaa15 Add versions to dependency copyright notices 2025-07-30 19:15:09 +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 efd2d43ae3 Update plugin name regex doc
fancy-regex supports more syntax than C++ std::regex, but for the syntax
that they both accept:

- std::regex matches . against a single character, fancy-regex matches
  it against a Unicode codepoint
- \w \W \d \D \s \S \b and \B are locale-dependent in std::regex but
  Unicode-aware and locale-independent in fancy-regex
- case-insensitive comparisons are locale-dependent in std::regex but
  are Unicode-aware and locale-independent in fancy-regex
- std::regex supports \0 and \cX escapes, where X is in [A-Za-z] but
  fancy-regex does not. This is not significant for libloot's usage as
  nul and control characters are not allowed in Windows filenames.
- std::regex treats \< and \> as < and > respectively, but fancy-regex
  treats them as start- and end-of-word boundary assertions
  respectively. This is not significant for libloot's usage as they are
  not allowed in Windows filenames.
- std::regex allows a literal [ to appear within a character class, but
  fancy-regex requires it to be escaped.

These differences are unlikely to cause any issues.
2025-07-29 17:56:31 +01:00
Oliver Hamlet 03d835f965 Improve readmes 2025-06-15 20:12:24 +01:00
Oliver Hamlet aaacebefa0 Update changelog 2025-06-11 22:01:33 +01:00
Oliver Hamlet e6432db640 Fix changelog entry formatting 2025-06-11 21:43:49 +01:00
Oliver Hamlet 6fd89da516 Keep copyright licenses in their own directory 2025-06-11 21:24:00 +01:00
Oliver Hamlet fa193c1bdd Merge branch 'rust-rewrite' into master 2025-06-11 21:21:55 +01:00
Oliver Hamlet 47e109b5c0 Make building C++ API docs optional
If Doxygen isn't found then the C++ API reference page won't be included in the built docs.
2025-06-11 19:06:09 +01:00