SpaceCreator issueshttps://gitrepos.estec.esa.int/taste/spacecreator/-/issues2021-03-31T13:41:20Zhttps://gitrepos.estec.esa.int/taste/spacecreator/-/issues/1Function named "Source" seems to cause issues which are not communicated in a...2021-03-31T13:41:20ZMichal KurowskiFunction named "Source" seems to cause issues which are not communicated in a clear way.**Steps to reproduce:**
1. Create InterfaceView with an SDL function called Source.
1. Try to edit the function.
**What happens:**
1. The following error message is presented to the user.
```
InterfaceView.aadl:8:23: parsing Package_Nam...**Steps to reproduce:**
1. Create InterfaceView with an SDL function called Source.
1. Try to edit the function.
**What happens:**
1. The following error message is presented to the user.
```
InterfaceView.aadl:8:23: parsing Package_Name, list is empty
InterfaceView.aadl:8:31: parsing Import_Declaration, unexpected token ';'
InterfaceView.aadl:8:31: parsing Name_Visibility_Declaration, unexpected token ';'
InterfaceView.aadl:12:39: parsing Parameter, token ';' is expected, found token '-'
InterfaceView.aadl:11:01: parsing Features, list is empty
InterfaceView.aadl:26:37: parsing Parameter, token ';' is expected, found token '-'
InterfaceView.aadl:25:01: parsing Features, list is empty
InterfaceView.aadl:50:65: parsing Subcomponent_Access_Classifier, an identifier is expected, found keyword 'source'
```
**What is expected:**
Clear and visible communication in the IDE that the "Source" is a reserved keyword. If possible, an average TASTE user should not be concerned with the pecularities of AADL, as it is hidden behind the scenes. Also, some keywords seem like good names, at least for demonstration/educational purposes.
This may also affect other keywords.https://gitrepos.estec.esa.int/taste/spacecreator/-/issues/2:-1: error: /usr/lib/x86_64-linux-gnu/qtcreator/libexec/asn1scc/asn1.exe: Com...2023-09-13T07:59:28ZMichal Kurowski:-1: error: /usr/lib/x86_64-linux-gnu/qtcreator/libexec/asn1scc/asn1.exe: Command not found**Steps to reproduce:**
1. In the projects widget, right click on the ${PROJECT_NAME}.asn file and select Build from the context menu.
**What happens:**
1. The following error is shown:
`error: /usr/lib/x86_64-linux-gnu/qtcreator/libexe...**Steps to reproduce:**
1. In the projects widget, right click on the ${PROJECT_NAME}.asn file and select Build from the context menu.
**What happens:**
1. The following error is shown:
`error: /usr/lib/x86_64-linux-gnu/qtcreator/libexec/asn1scc/asn1.exe: Command not found`
**What should happen:**
1. Error message should not be shown, unless there is a problem with the ASN.1 file
1. [option] nothing - maybe the action should be hidden?
1. [option] compile - but then, to what target (C, Ada, ICD,...) - maybe there should be multiple actions, or a dialog?
1. [option] update the DataView (does this happen automatically?)
The compiler path found under Tools->Options->SpaceCreator->Compiler does not seem to affect this error. Should there be another path option?https://gitrepos.estec.esa.int/taste/spacecreator/-/issues/3ASN.1 types with a hyphen in the name are not supported2021-02-17T15:13:46ZMichal KurowskiASN.1 types with a hyphen in the name are not supported**Steps to reproduce:**
1. Create an ASN.1 type with a hyphen in the name, like My-Type ::= INTEGER(0..100)
1. Use the ASN.1 type as an interface parameter in a function
1. Try to edit the function or build the system
**What happens:**
...**Steps to reproduce:**
1. Create an ASN.1 type with a hyphen in the name, like My-Type ::= INTEGER(0..100)
1. Use the ASN.1 type as an interface parameter in a function
1. Try to edit the function or build the system
**What happens:**
1. When trying to edit the function, a window pops up and closes very fast
1. When trying to build the system, the following error is reported:
```
InterfaceView.aadl:11:37: parsing Parameter, token ';' is expected, found token '-'
InterfaceView.aadl:10:01: parsing Features, list is empty
InterfaceView.aadl:43:38: parsing Package_Specification, Empty packages are not allowed
InterfaceView.aadl:58:39: parsing Parameter, token ';' is expected, found token '-'
InterfaceView.aadl:57:01: parsing Features, list is empty
InterfaceView.aadl:72:37: parsing Parameter, token ';' is expected, found token '-'
InterfaceView.aadl:71:01: parsing Features, list is empty
InterfaceView.aadl:114:37: parsing Package_Specification, Empty packages are not allowed
InterfaceView.aadl:128:39: parsing Parameter, token ';' is expected, found token '-'
InterfaceView.aadl:127:01: parsing Features, list is empty
InterfaceView.aadl:161:43: parsing Package_Specification, Empty packages are not allowed
```
**What should happen:**
1. Valid ASN.1 type names should be allowed for use (proper translation to AADL compliant names should be provided)
1. When trying to edit a function, an appropriate editor should be launched, unless there are other issues. If the editor cannot be launched, a clear, readable error message should be presented to the user.
1. When trying to build the system, the system should build, unless there are other issues.https://gitrepos.estec.esa.int/taste/spacecreator/-/issues/4Editing function sometimes does not work without any clear indication of the ...2021-11-17T15:24:22ZMichal KurowskiEditing function sometimes does not work without any clear indication of the reason**This is not deterministic**
**Steps to reproduce:**
1. Create an SDL function with provided and required interface, both unprotected and with 2 parameters (this is invalid)
1. Try to edit the function
**What happens:**
1. Sometimes a...**This is not deterministic**
**Steps to reproduce:**
1. Create an SDL function with provided and required interface, both unprotected and with 2 parameters (this is invalid)
1. Try to edit the function
**What happens:**
1. Sometimes a window pops up and immediatelly closes
**What should happen:**
1. A clear, visible error message should be presented to the user
When toggling the interfaces between unprotected and sporadic and trying to build and edit the system, the error finally becomes visible - the windows does not immediatelly close. So I guess the source of the error might be some error condition between creation of the generated artefacts? The cleanup when changing the InterafceView also might be incomplete.https://gitrepos.estec.esa.int/taste/spacecreator/-/issues/5Incorrect path of ASN1SCC2021-04-23T15:54:01ZDaniel SilveiraIncorrect path of ASN1SCCHi,
I have tried last version of Space Creator and ASN1SCC needs to be updated. Now it gives following error.
![image](/uploads/a436fdc1cef667ff75f8a5b7db988e71/image.png)
It should be usr/lib/x86_64-linux-gnu/qtcreator/libexec/asn1sc...Hi,
I have tried last version of Space Creator and ASN1SCC needs to be updated. Now it gives following error.
![image](/uploads/a436fdc1cef667ff75f8a5b7db988e71/image.png)
It should be usr/lib/x86_64-linux-gnu/qtcreator/libexec/asn1scc-Fuzzer/asn1scc-fuzzerDVE_01Guenter SchwannGuenter Schwannhttps://gitrepos.estec.esa.int/taste/spacecreator/-/issues/6Create a single application with both the VS editors in2021-03-31T13:48:27ZMaxime PerrotinCreate a single application with both the VS editors inJust get to the first stepJust get to the first stephttps://gitrepos.estec.esa.int/taste/spacecreator/-/issues/7Refactor the two VS editors to a shared inheritance tree2021-03-31T13:48:27ZMaxime PerrotinRefactor the two VS editors to a shared inheritance treehttps://gitrepos.estec.esa.int/taste/spacecreator/-/issues/8Import the two VS editor source trees2021-03-31T13:48:27ZMaxime PerrotinImport the two VS editor source treesMake sure to tag (or something) the version imported in all three.Make sure to tag (or something) the version imported in all three.https://gitrepos.estec.esa.int/taste/spacecreator/-/issues/9Set up CI2021-03-31T13:52:40ZMaxime PerrotinSet up CI* [x] Enable Gitlab CI
* [x] Create new Docker image (Debian 10, Java, grantlee, QtCreator, cmake, ninja, ccache, ...)
* [x] Build SpaceCreator for Debian 10
* [x] Run unit tests
* [ ] Add Windows 10 build* [x] Enable Gitlab CI
* [x] Create new Docker image (Debian 10, Java, grantlee, QtCreator, cmake, ninja, ccache, ...)
* [x] Build SpaceCreator for Debian 10
* [x] Run unit tests
* [ ] Add Windows 10 buildhttps://gitrepos.estec.esa.int/taste/spacecreator/-/issues/10Create build instructions2021-03-31T13:52:40ZMaxime PerrotinCreate build instructionshttps://gitrepos.estec.esa.int/taste/spacecreator/-/issues/11Create dependency list2021-03-31T13:52:40ZMaxime PerrotinCreate dependency listhttps://gitrepos.estec.esa.int/taste/spacecreator/-/issues/12Save MSC files using grantlee2021-03-31T13:52:40ZMaxime PerrotinSave MSC files using grantleeAdd the same templating engine to the MSC editor as the
IV editor uses for transforming the models to code or test
scripts
* [x] Learn about grantlee
* [x] Check about IV editor implementation
* [x] Add second code path to store a ver...Add the same templating engine to the MSC editor as the
IV editor uses for transforming the models to code or test
scripts
* [x] Learn about grantlee
* [x] Check about IV editor implementation
* [x] Add second code path to store a very basic msc document
* [x] Add chart
* [x] Add instance
* [x] Add message
* [x] Add action
* [x] Add comment
* [x] Add coregion
* [x] Add timer
* [x] Add create
* [x] Add condition
* [x] Add Cif information
* [x] Add Cif information for comments
* [x] Add global commenthttps://gitrepos.estec.esa.int/taste/spacecreator/-/issues/13Mirror repo?2021-03-31T13:52:40ZMaxime PerrotinMirror repo?Find out if Maxime wants the repo mirrored at the ESA git server, and if so, do it.Find out if Maxime wants the repo mirrored at the ESA git server, and if so, do it.https://gitrepos.estec.esa.int/taste/spacecreator/-/issues/14Create a set of test MSC files2021-03-31T13:52:40ZMaxime PerrotinCreate a set of test MSC filesMaxime should give us some test files and we can create some moreMaxime should give us some test files and we can create some morehttps://gitrepos.estec.esa.int/taste/spacecreator/-/issues/15Copy the 7 Space code2021-03-31T13:52:40ZMaxime PerrotinCopy the 7 Space codeCopy this into our repo. This doesn't mean incorporating it in the code yet.Copy this into our repo. This doesn't mean incorporating it in the code yet.https://gitrepos.estec.esa.int/taste/spacecreator/-/issues/16Create a reasonable source tree2021-03-31T13:52:40ZMaxime PerrotinCreate a reasonable source treeMove stuff from the two VS apps repos to /src/{libs,apps,tests...}Move stuff from the two VS apps repos to /src/{libs,apps,tests...}https://gitrepos.estec.esa.int/taste/spacecreator/-/issues/17Create CMake build system2021-03-31T13:52:41ZMaxime PerrotinCreate CMake build systemhttps://gitrepos.estec.esa.int/taste/spacecreator/-/issues/18Split IV editor to have stuff in libs2021-03-31T13:52:41ZMaxime PerrotinSplit IV editor to have stuff in libshttps://gitrepos.estec.esa.int/taste/spacecreator/-/issues/19Get rid of the antlr build scripts and do this in cmake instead2021-03-31T13:52:41ZMaxime PerrotinGet rid of the antlr build scripts and do this in cmake insteadhttps://gitrepos.estec.esa.int/taste/spacecreator/-/issues/20Build the antlr runtime during our own build instead of providing prebuilt bi...2021-03-31T13:52:41ZMaxime PerrotinBuild the antlr runtime during our own build instead of providing prebuilt binaries in the src treeThis means getting rid of the bat and sh files to create this, and do it directly in cmake.
The current msclibrary/CMakeLists.txt has this list of files created by ANTLR:
set(ANTLR_SRC
parser/MscBaseVisitor.h
parser/MscLexer.h
...This means getting rid of the bat and sh files to create this, and do it directly in cmake.
The current msclibrary/CMakeLists.txt has this list of files created by ANTLR:
set(ANTLR_SRC
parser/MscBaseVisitor.h
parser/MscLexer.h
parser/MscParser.h
parser/MscVisitor.h
parser/MscBaseVisitor.cpp
parser/MscLexer.cpp
parser/MscParser.cpp
parser/MscVisitor.cpp
)
These should be placed in the build directory, not in the source directory.
And the files should be removed from the .gitignore.