diff --git a/Cargo.lock b/Cargo.lock index 9117775..82043b4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,18 +4,18 @@ version = 3 [[package]] name = "a2lfile" -version = "1.0.0" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "515feaa3b5c95872af7b59f3d8ded26ea1379e4e0533fc2c313ff621b92a686d" +checksum = "ecc5defe972b09fcd87ebadd99aa53b7b430dc5bc416ad33339fdeee8ca15184" dependencies = [ "a2lmacros", ] [[package]] name = "a2lmacros" -version = "1.0.0" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "496f0034a7c46555480b3ffec89870c9bd55523552667f0227e0484e2a18f811" +checksum = "98358403089a3911a7e642ec55d3bf1913283a81125641b7ed16a793191abc31" dependencies = [ "proc-macro2", "quote", @@ -23,7 +23,7 @@ dependencies = [ [[package]] name = "a2ltool" -version = "1.0.1" +version = "1.1.0" dependencies = [ "a2lfile", "clap", @@ -176,9 +176,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.111" +version = "0.2.112" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e167738f1866a7ec625567bae89ca0d44477232a4f7c52b1c7f2adc2c98804f" +checksum = "1b03d17f364a3a042d5e5d46b053bbbf82c92c9430c592dd4c064dc6ee997125" [[package]] name = "memchr" @@ -218,18 +218,18 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.33" +version = "1.0.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb37d2df5df740e582f28f8560cf425f52bb267d872fe58358eadb554909f07a" +checksum = "c7342d5883fbccae1cc37a2353b09c87c9b0f3afd73f5fb9bba687a1f733b029" dependencies = [ "unicode-xid", ] [[package]] name = "quote" -version = "1.0.10" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38bc8cc6a5f2e3655e0899c1b848643b2562f853f114bfec7be120678e3ace05" +checksum = "47aa80447ce4daf1717500037052af176af5d38cc3e571d9ec1c7353fc10c87d" dependencies = [ "proc-macro2", ] diff --git a/Cargo.toml b/Cargo.toml index 28ed3bc..8ac51a8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "a2ltool" -version = "1.0.1" +version = "1.1.0" authors = ["Daniel Thaler "] edition = "2021" license = "MIT OR Apache-2.0" diff --git a/Changelog.md b/Changelog.md index e580020..e487e86 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,4 +1,15 @@ # Changelog +## Version 1.1.0 + - rename --insert-characteristic to --characteristic and --insert-measurement to --measurement. + The old nemaes remain as aliases, though they are not shown by --help + - add --measurement-range and --characteristic-range. Each of these takes a start address and + an end address and inserts all variables found in this range into the a2l file. + - add --measurement-regex and --characteristic-regex. Each of these takes a regex pattern. + Any variable matching the pattern will be inserted into the a2l file. + Example: [...] --characteristic-regex "TuningData" [...] would insert TuningData1 and TuningData2, and also DefaultTuningData + Example: [...] --measurement-regex "^TestVar\\.\_0\_.*" [...] would insert TestVar.\_0_.member, but not TestVar.\_1_.member + - Bugfix: the output path is no longer restricted to valid utf-8 + ## Version 1.0.1 - fix a bug where referring to array elements using angle brackets (array[0]) did not work corrctly - fix a bug in --insert-characteristic and --insert-measurement where these could only reference variables, but not array elements or struct members diff --git a/README.md b/README.md index 370c464..27361ef 100644 --- a/README.md +++ b/README.md @@ -17,5 +17,5 @@ The consumer of the a2l file typically allows online calibraction over a protoco The a2l file format is specified by ASAM and is formally called ASAM MCD-2 MC. ## Project Status -The Project appears to be done: all planned features are implemented and there are no known bugs. - +With a2ltool version 1.0 all initially planned features were fully implemented. +Version 1.1.0 brings some new features that go beyond the initial plan - see the changelog.