YAKINDU Statechart Tools 4.0.5 (Feb 08, 2021)
Copy link to clipboard
This release contains the following new features:
- The C code generator can now generate meta files containing state names and features as string arrays. You can enable this feature with the
metaSource option in
GeneratorOptions. Read more about this feature
here.
- For the C and C++ code generators it is now possible to configure the file extensions of the generated artifacts. You can specify which file extensions should be used with the
headerFilenameExtension and
sourceFilenameExtension options in
IdentifierSettings. For the corresponding SCTUnit code generators you can use the option
testFilenameExtension to configure the file extension of the generated GTest file. Read more about this feature
here.
- We added a new validation that produces a warning when unbuffered in/local events are raised but not consumed downstream.
- We added a new validation that produces a warning when unbuffered local events are used but never raised upstream.
- We added a new validation that produces an error for assignments to a submachine’s readonly properties.
In addition, the following issues were fixed:
- The C++ domain had an issue with parsing operations that used parameters of template and normal types. This is fixed now.
- The C++ domain had an issue with typedefs used in combination with namespaces. This is fixed now.
- The C++ domain had an issue with parsing the linkage specification in some cases. This is fixed now.
- The C++ code generator sometimes produced initialization lists with duplicated statements. This is fixed now.
- We fixed several issues for the YET C code generator.
- The Python code generator produced a warning when ‘valueof’ was used on string typed events. This is fixed now.
- The Python code generator produced unused properties for outgoing events even if out event getters are disabled. This is fixed now.
- In the generated Java and Python code for SCTUnit, the
proceed x cycles statement now proceeds only the remaining time that is required for the
x cycles to be invoked. Before that, the statement always proceeded
x * cyclePeriod milliseconds.
- The simulation view had an issue when complex types with nested boolean properties were used multiple times. This is fixed now.
- We fixed a few issues that caused UI freezes during statechart editing.
- The note widget is now usable again.