Commit Graph
3957 Commits
Author SHA1 Message Date
Oliver Hamlet 73fbf73bd2 Update Google Test to v1.16.0 2025-03-30 17:05:20 +01:00
Oliver Hamlet c8d7654e93 Include architecture in CI cache key
So that the two Windows builds don't try to use the same caches.
2025-03-30 15:39:15 +01:00
Oliver Hamlet ac5356cfa7 Remove pip caching in CI
It's not actually used.
2025-03-30 15:39:09 +01:00
Oliver Hamlet 422ed8cce3 Hide MarkedYaml from the public API
This gives the freedom to changing the YAML parsing implementation without changing the public API.
2025-03-30 08:38:43 +01:00
Oliver Hamlet 74a834e039 Improve emitting strings in YAML
Consistently avoid literal tabs and line breaks because they complicate the output, and also avoid literal BOMs consistently.
2025-03-29 18:55:35 +00:00
Oliver Hamlet 1220776696 Fix capturing group replacement
It didn't correctly handle "\\(" or "((" sequences.
2025-03-29 10:42:52 +00:00
Oliver Hamlet ee8365eba8 Undo case-insensitive regex workaround
It turns out that the original approach does work after all, I'm not sure why I thought it didn't.
2025-03-29 10:42:52 +00:00
Oliver Hamlet b4f3f8e839 Reduce repetition of regex error type 2025-03-29 10:29:24 +00:00
Oliver Hamlet b996406e8f Shrink metadata vectors some metadata vectors during YAML parsing
For the Skyrim SE masterlist this saved ~ 3 MB of memory, and there was no noticeable impact doing the same for other metadata collection fields.
2025-03-28 18:00:16 +00:00
Oliver Hamlet b17691dbdd Some minor cleanup of metadata code 2025-03-28 18:00:16 +00:00
Oliver Hamlet e7a5bfd5ab Update loot-condition-interpreter to v5.3.1 2025-03-26 21:44:42 +00:00
Oliver Hamlet fb6d3b1260 Update windows crate to v0.61.1 2025-03-26 21:44:42 +00:00
Oliver Hamlet 23a00630e4 Update libloadorder to v18.3.0 2025-03-26 21:44:41 +00:00
Oliver Hamlet f19dc4ef32 Add a GitHub Actions CI workflow 2025-03-26 21:44:41 +00:00
Oliver Hamlet 8054a8a31a Allow the relevant Rust target triple to be supplied to CMake 2025-03-26 21:44:41 +00:00
Oliver Hamlet 6538a91468 Fix relative path tests
They'd fail when the current working directory was on a different drive
to the default temporary directory.
2025-03-26 21:44:41 +00:00
Oliver Hamlet 7d2324816a Fix and document Linux build process 2025-03-26 17:56:36 +00:00
Oliver Hamlet 4e0dd21495 Add more warnings to the readme 2025-03-25 22:22:49 +00:00
Oliver Hamlet b90e73c3fb Fix string quoting behaviour when emitting YAML 2025-03-25 22:02:34 +00:00
Oliver Hamlet 967ce652c1 Improve test coverage of YAML parsing code 2025-03-25 22:02:34 +00:00
Oliver Hamlet 415242b299 Fix formatting of YAML merge key error messages 2025-03-25 22:02:34 +00:00
Oliver Hamlet d6781f6a32 Refactor YAML code 2025-03-25 22:02:34 +00:00
Oliver Hamlet fdaed322df Fix linking debug builds of C++ wrapper 2025-03-25 22:02:34 +00:00
Oliver Hamlet 315d996c5b Make regex plugin matching more efficient 2025-03-25 22:02:34 +00:00
Oliver Hamlet ded5f34b7f Improve regex compatibility
Neither of the changed regexes were accepted by the regex crate, which thought the fmt regex looked like an invalid repetition count (e.g. "a{5}") and which doesn't support negative lookahead.
2025-03-25 22:02:34 +00:00