Skip to content

Releases: DanielT/a2ltool

Version 1.5.0

26 Oct 21:06
Compare
Choose a tag to compare
  • Upgrade to the a2lfile crate version 1.4.0
  • Allow a2ltool to load and merge a2l fragments. An a2l fragment is a file that contains only the content of a MODULE, but none of the surrounding elements.
  • Upgrade all dependencies; one of these (rustix, an indirect dependency) had a vulnerability that is fixed in the latest version.

Version 1.4.4

23 Aug 13:13
Compare
Choose a tag to compare

Update to a2lfile 1.3.4 to get a fix in the a2l parser.
Previous versions did not handle strings with double "" escapes correctly.

Version 1.4.3

08 Aug 22:19
Compare
Choose a tag to compare

Improve the formatting of the --help message by

  • enabling color
  • enabling automatic wrapping of the descriptions

Add basic usage examples to the README, since some people seemed confused

Version 1.4.2

15 May 20:22
Compare
Choose a tag to compare

Upgrade to the a2lfile crate version 1.3.3. This brings:

  • The double quotes around filenames in /include are no longer mandatory; quotes are only required if the path contains spaces. Fixed by @jl-rbpt
  • The a2ml parser had a bug that prevented the datatype uint64 from being recognized
  • Handling of USER_RIGHTS block during merging is improved, so that duplicate blocks will not be created any more
  • Extra spaces will no longer be added to A2ML blocks during writing

Version 1.4.1

27 Dec 09:14
Compare
Choose a tag to compare

Version 1.4.1 contains one bug fix compared to 1.4.0:

C++ Symbol demangling was incorrectly applied to both variable names and names of struct members.
A trivial example is that "c" can be demangled to "const", so "somestruct.c" would be demangled to "somestruct.const" and then updating / inserting would fail.
The handling of name demangling has been changed completely and should make much more sense now.

Version 1.4.0

02 Nov 22:57
Compare
Choose a tag to compare

Changes since version 1.3:

  • upgrade to a2lfile 1.3.2, which fixes a mistake in the parsing of REF_UNIT
  • upgrade clap from 2.34 to 4.0. The layout and look of the --help text changes, but all functionality should remain unchanged
  • bug fix for one case where it was possible to create duplicate measurements or characteristics

Version 1.3.0

02 Apr 07:20
Compare
Choose a tag to compare

Upgrade to the a2lfile crate version 1.3.0. This brings:

  • perfect support for all of a2l version 1.7.1
  • a bug fix in the tokenizer. It didn't handle strings that end in \\" correctly and files that had such strings could not be loaded.

Version 1.2.0

18 Jan 21:47
Compare
Choose a tag to compare
  • add --cleanup which cleans up unused or useless items in the file
    It removes empty groups and functions, as well as unused compu_methods, compu_tabs, record_layouts and units.
  • add --target-group which allows new items created by --measurement[...] and --characteristic[...] to be directly added to a group
  • minor formatting improvements for output files

1.1.0

30 Dec 17:55
Compare
Choose a tag to compare

What's Changed

  • 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

13 Dec 22:41
0978a5b
Compare
Choose a tag to compare
  • fix array indexing using angle brackets
  • fix inserting complex elements with --insert-measurement and --insert-characteristic
  • update to edition 2021
  • add a changelog