Skip to content

Commit

Permalink
Update lingua-franca and known good
Browse files Browse the repository at this point in the history
  • Loading branch information
lhstrh committed Oct 28, 2024
1 parent 83bf8e3 commit 2e0dbec
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 492 deletions.
2 changes: 1 addition & 1 deletion lingua-franca
Submodule lingua-franca updated 39 files
+34 −0 .github/actions/setup-patmos/action.yml
+0 −8 .github/workflows/all-misc.yml
+4 −0 .github/workflows/c-embedded.yml
+56 −0 .github/workflows/c-patmos-tests.yml
+4 −0 .github/workflows/lsp-tests.yml
+2 −2 .github/workflows/rti-docker.yml
+2 −2 .github/workflows/ts-tests.yml
+6 −5 README.md
+3 −2 core/src/integrationTest/java/org/lflang/tests/RuntimeTest.java
+1 −0 core/src/integrationTest/java/org/lflang/tests/runtime/CCppTest.java
+54 −0 core/src/integrationTest/java/org/lflang/tests/runtime/CPatmosTest.java
+1 −1 core/src/main/java/org/lflang/ast/ASTUtils.java
+1 −1 core/src/main/java/org/lflang/federated/extensions/CExtension.java
+3 −8 core/src/main/java/org/lflang/generator/GeneratorBase.java
+44 −1 core/src/main/java/org/lflang/generator/c/CCmakeGenerator.java
+88 −9 core/src/main/java/org/lflang/generator/c/CGenerator.java
+4 −1 core/src/main/java/org/lflang/generator/c/CReactionGenerator.java
+87 −25 core/src/main/java/org/lflang/generator/python/PythonGenerator.java
+1 −2 core/src/main/java/org/lflang/generator/python/PythonReactionGenerator.java
+1 −0 core/src/main/java/org/lflang/target/property/type/PlatformType.java
+1 −1 core/src/main/java/org/lflang/util/ImportUtil.java
+5 −0 core/src/main/kotlin/org/lflang/generator/ts/TSFileConfig.kt
+1 −1 core/src/main/kotlin/org/lflang/generator/ts/TSGenerator.kt
+1 −1 core/src/main/resources/lib/c/reactor-c
+6 −7 core/src/main/resources/lib/ts/package.json
+0 −1 core/src/main/resources/lib/ts/tsconfig.json
+27 −0 core/src/testFixtures/java/org/lflang/tests/Configurators.java
+1 −0 core/src/testFixtures/java/org/lflang/tests/TestRegistry.java
+3 −1 test/C/src/Mutable.lf
+67 −0 test/C/src/modal_models/ModalMultiport.lf
+67 −0 test/C/src/modal_models/ModalMultiportBank.lf
+11 −0 test/C/src/patmos/HelloPatmos.lf
+3 −1 test/C/src/token/MutableToken.lf
+45 −0 test/Python/src/concurrent/ConcurrentActionRepeat.lf
+43 −0 test/Python/src/concurrent/failing/ConcurrentAction.lf
+0 −1 test/Python/src/federated/LingoFederatedImport.lf
+0 −21 test/Python/src/lingo_imports/FederatedTestImportPackages.lf
+63 −0 test/Python/src/modal_models/ModalMultiport.lf
+63 −0 test/Python/src/modal_models/ModalMultiportBank.lf
2 changes: 1 addition & 1 deletion src/extension_version.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
'use strict';
// This is a generated file. Do not edit.
export const version = "0aa241b1a6750887e50c4ae04a1a4b74826a7f31";
export const version = "3d655f812e25ca29012b614acdc91db0bf4fc29f";
16 changes: 15 additions & 1 deletion test/known-good/C/src/Mutable.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,20 @@
) {
</span>

<span class="source-lf comment-line-double-dash-lflang">

</span>
<span class="source-lf comment-line-double-dash-lflang">
// Pathetically, the Windows C compiler doesn't support arrays on the stack with a variable size.
</span>

<span class="source-lf comment-line-double-dash-lflang">

</span>
<span class="source-lf comment-line-double-dash-lflang">
// So we have to give a constant here instead of the parameter width.
</span>

<span class="source-lf">

</span>
Expand All @@ -207,7 +221,7 @@
input
</span>
<span class="source-lf">
[width] in:
[2] in:
</span>
<span class="source-lf meta-embedded-block-cpp">

Expand Down
16 changes: 15 additions & 1 deletion test/known-good/C/src/token/MutableToken.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,20 @@
) {
</span>

<span class="source-lf comment-line-double-dash-lflang">

</span>
<span class="source-lf comment-line-double-dash-lflang">
// Pathetically, the Windows C compiler doesn't support arrays on the stack with a variable size.
</span>

<span class="source-lf comment-line-double-dash-lflang">

</span>
<span class="source-lf comment-line-double-dash-lflang">
// So we have to give a constant here instead of the parameter width.
</span>

<span class="source-lf">

</span>
Expand All @@ -155,7 +169,7 @@
input
</span>
<span class="source-lf">
[width] in:
[2] in:
</span>
<span class="source-lf meta-embedded-block-cpp">

Expand Down
244 changes: 0 additions & 244 deletions test/known-good/Python/src/LingoFederatedImport.html

This file was deleted.

Loading

0 comments on commit 2e0dbec

Please sign in to comment.