Commit Graph
169 Commits
Author SHA1 Message Date
Oliver Hamlet 3777c067a4 Update versions and changelog for v1.2.1 1.2.1 2019-01-20 00:47:21 +00:00
Oliver Hamlet 8e116d2980 Fix parsing executables with non-US-English version info resources
pelite is hardcoded to only look for US English version info resources,
but executables may not have any, so just get the first version info
resource instead.
2019-01-20 00:38:32 +00:00
Oliver Hamlet 517b636743 Update versions and changelog for v1.2.0 1.2.0 2018-12-22 23:51:01 +00:00
Oliver Hamlet 9ef82fe886 Run rustfmt (Rust 1.31.1) 2018-12-22 22:50:16 +00:00
Oliver Hamlet 5e1ba5709b Support parsing Script Extender product version fields
They've got a format that matches the format for fixed-size version fields in resource files.
2018-12-22 22:50:16 +00:00
Oliver Hamlet c90814a8ab Read product version from string field
File Explorer displays the ProductVersion version string field, not the fixed-size product version field, so read from it so that LOOT's behaviour matches.
2018-12-22 22:50:16 +00:00
Oliver Hamlet 31d870df9c Add tests parsing conditions that caused problems 2018-12-22 22:50:15 +00:00
Oliver Hamlet 4f1b1c0bf0 Update versions and changelog for 1.1.1 1.1.1 2018-11-14 21:17:59 +00:00
Oliver Hamlet 3007a9e090 Fix parsing error if parentheses are padded with whitespace 2018-11-14 20:51:02 +00:00
Oliver Hamlet 579ba2969a Fix backslashes not allowed in paths that can't be regexes 2018-11-14 20:51:02 +00:00
Oliver Hamlet 26bbda4925 Fix parsing of greater/less-than-or-equal-to parameters 2018-11-14 20:18:28 +00:00
Oliver HamletandGitHub 84c46ebe79 Note the supported metadata syntax version 2018-11-07 18:58:35 +00:00
Oliver HamletandGitHub 1e20451e73 Update README.md 2018-11-06 14:13:37 +00:00
Oliver Hamlet a600083cc9 Apply clippy suggestions 2018-10-25 18:34:00 +01:00
Oliver Hamlet 80676f72b4 Update versions and changelog for 1.1.0 1.1.0 2018-10-23 21:12:41 +01:00
Oliver Hamlet 0c0e8a6639 Add support for product_version() conditions
This checks the product version field of executables instead of their
file version field.
2018-10-23 21:12:40 +01:00
Oliver Hamlet 07737cebe8 Add ability to read executable product version field 2018-10-23 21:12:40 +01:00
Oliver Hamlet 5512581c0f Move test resources into subdirectory 2018-10-23 21:12:40 +01:00
Oliver Hamlet b6a9066eaa Update readme 1.0.0 2018-10-21 14:42:50 +01:00
Oliver Hamlet c0bea60673 Add FFI wrapper crate 2018-10-20 21:13:33 +01:00
Oliver Hamlet 0f805d80ea Allow condition cache to be cleared 2018-10-20 21:12:55 +01:00
Oliver Hamlet efe01a060d Don't try to read executable versions for plugins with no stored version 2018-10-20 21:12:54 +01:00
Oliver Hamlet d6d968c7b5 Update readme 2018-10-07 10:52:09 +01:00
Oliver Hamlet 180b728728 Improve parsing error messages
Nom's custom error type handling isn't great, requiring a lot of
fix_error! macro calls, and even then the complete! macro hardcodes the
error type it expects as u32, so it can't be used and instead the
CompleteStr type needs to be used everywhere.
2018-10-07 10:45:24 +01:00
Oliver Hamlet d28c194c9d Add typedef to abstract away custom parsing error type 2018-10-07 10:45:24 +01:00