Skip to content

Commit

Permalink
Jenkins: Updated docs-sources/releases/CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins committed May 8, 2024
1 parent 5ff8bc2 commit 0238c32
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs-sources/releases/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# 1.0.3 (2024-05-08 12:45)
1. The C++ code generator now supports [delegation connectors]({$vars.doc.server$}/art-lang/?h=delegation#connector). For an example, see [this sample]({$vars.github.repo$}/tree/main/art-comp-test/tests/delegation_connector).
2. The C++ code generator now analyzes `rt::decl` code snippets of a capsule, looking for a user-defined destructor. If a user-defined destructor is present, the code generator doesn't generate the capsule destructor it otherwise generates. For an example, see [this sample]({$vars.github.repo$}/tree/main/art-comp-test/tests/capsule_userdefined_destructor).
3. A new documentation chapter explaining how timers work is now available [here]({$vars.doc.server$}/target-rts/timers/). Three new sample applications that show how to use timers are also included (linked from the new documentation chapter).
4. Content Assist for capsules was extended to allow creation of a destructor, as well as overriding some of the virtual functions from the `RTActor` base class (such as `_predestroy()`).
5. Three more checkboxes are now present in the Properties view of a structure diagram for a selected port. They allow setting the port as `notify`, `publish` and `subscribe`. Another improvement is that checkboxes for properties that are not applicable for a port with a predefined protocol (such as `Timing` or `Frame`) will now be hidden.
6. A new validation rule [ART_0038_portWithPredefinedProtocolNotCorrectlyDeclared]({$vars.doc.server$}/validation/#art_0038_art_0038_portwithpredefinedprotocolnotcorrectlydeclared) now reports a warning if a port with a predefined protocol (such as `Timing` or `Frame`) is declared with properties that are not applicable for such a port (for example `notify` or `unwired`).
7. It's now possible to use the variable `$(CAPSULE_CLASS)` in the value for the [`capsuleFactory`]({$vars.doc.server$}/building/transformation-configurations.md#capsulefactory) TC property. It will be replaced with the name of the C++ class that is generated for the capsule. This can be useful for implementing a generic capsule factory which takes the capsule class as a template parameter.
8. The C++ code generator now supports state redefinition with regards to entry and exit actions. For an example, see [this sample]({$vars.github.repo$}/tree/main/art-comp-test/tests/redefined_entry_action).
9. It's now possible to access properties from the top TC from a prerequisite TC by means of the `TCF.getTopTC()` function and the special `eval` property. This is useful in order to allow the same library to be built as a prerequisite from multiple executables. For more information, see [the documentation]({$vars.doc.server$}/building/transformation-configurations/#accessing-the-top-tc-from-a-prerequisite-tc).
10. You are now welcome to contribute to the contents of the Code RealTime [GitHub repo]({$vars.github.repo$})(samples, test cases and documentation). See [this page]({$vars.doc.server$}/contributing/) for information on how to do it.
11. Two new TC properties are now available for controlling the name of a generated executable or library: `executableName` and `libraryName`.
12. Each connector between two ports yields one or many connections at runtime on which messages can be transported. The number of such connections should for each connected port exactly match its runtime capacity. This capacity is determined by the port's multiplicity, and, if the connector also references a part, also the part's multiplicity. This constraint is now checked by a new validation rule [ART_0039_portPartMultiplicityMismatch]({$vars.doc.server$}/validation/#art_0039_portpartmultiplicitymismatch). If a mismatch is detected, a warning is reported.
13. You can now build regular, non-generated, C++ source files together with the generated C++ files. It's no longer necessary to place such C++ code into wrapper Art files. The generated make file will automatically include rules for building all .cpp files that are present in the workspace folder (or a subfolder of it), and all folders that contain .h files will be added to the `inclusionPath` property. The `sources` TC property can be used to precisely control which C++ source files that should be included into the build. For more information, see [the documentation]({$vars.doc.server$}/building/build-cpp-files/).

# 1.0.2 (2024-03-27 21:14)
1. Semantic errors related to the triggers of a transition are now shown in state diagrams.
2. The C++ code generator now generates the macros `SUPERMETHOD` and `CALLSUPER` for redefined transitions. They make it possible to call the effect or guard code of an inherited transition from a redefined transition, without having to place such code in a capsule member function. For an example, see [this sample]({$vars.github.repo$}/tree/main/art-comp-test/tests/macro_callsuper_supermethod).
Expand Down

0 comments on commit 0238c32

Please sign in to comment.