This release contains the following changes:
- The application is now built on the latest (2024-09) Eclipse target.
- The generated code for all target languages (except SCXML) was optimized for some modelling patterns. While neither the state machines APIs nor their behavior are affected this results in reduced code size and less issues if static code analysis tools are applied to the generated code.
- Reduced unnecessary variable value assignments
- Removed functions that represents state reactions if the state has no reaction
- Improved UML->SCT transformation.
- The C# code generator now supports the following new generator options:
-
compilerPragma : The specified string gets generated at the start of the ‘.cs’ file. This enables to specify C# compiler pragmas.
-
generatedFileExtension : If set to
true the generated files are suffixed with ‘.g.cs’ instead of ‘.cs’ to enable specific handling of those files when compiling a C# project.
- Extended the documentation for integrating generated state machine code with real time operating systems (RTOS). And additionally provide examples for FreeRTOS and Zephyr.
Additionally, these issues were fixed:
- fixed the statechart search feature.
- fixed a bug when local reactions of parent states get executed multiple times when a contained completion transition chain is executed.
- fixed a bug in UML->SCT transformation when transforming transitions from named exit points to named entry points.
- fixed a null pointer bug when validating proxy objects
- fixed a bug related to enumerations when simulating a Java domain statechart.
- fixed C code generator issues:
- ‘#include <string.h>’ is only generated if required.
- add size information of arrays in meta source.
- fixed the headless code generator application for SCTUnit generating for C language.
- fixed a null pointer bug related to coverage, when executing SCTUnit tests.
- fixed a scalability issue when simulating large statecharts.
- fixed some minor editor related issues.
- fixed an issue resulting in customers not getting the latest version of the examples when checking them out in the ‘Examples Wizard’.
- removed not necessary files from the compressed downloadable of the product.