titan.EclipsePlug-ins issueshttps://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues2022-06-30T10:52:58Zhttps://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/492JSON float values2022-06-30T10:52:58ZAdam KnappJSON float valuesCopy of titan.core#609
## Summary
JSON decoder can not decode certain float values
## Steps and/or TTCN-3 code to reproduce
Encode a float value, such as `1.23456789e-6`
## What is the current bug behavior?
`While JSON-decoding typ...Copy of titan.core#609
## Summary
JSON decoder can not decode certain float values
## Steps and/or TTCN-3 code to reproduce
Encode a float value, such as `1.23456789e-6`
## What is the current bug behavior?
`While JSON-decoding type ...: Failed to extract valid token, invalid JSON format
Can not decode type ..., because invalid or incomplete message was received`
## What is the expected correct behavior?
Decode the float value properly
## Titan version
8.2.0
## Platform details (OS type and version)
All
/cc @aknappqwtAdam KnappAdam Knapphttps://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/472On the fly checker job never finishes2022-03-31T14:57:27ZMiklos MagyariOn the fly checker job never finishesUnder some circumstances, the on the fly checker workspace job never finishes, and blocks all other jobs from being executed. This renders the IDE almost unusable.
How to reproduce: check out repository `https://git.onem2m.org/TST/ATS.g...Under some circumstances, the on the fly checker workspace job never finishes, and blocks all other jobs from being executed. This renders the IDE almost unusable.
How to reproduce: check out repository `https://git.onem2m.org/TST/ATS.git` and switch to branch _Release3-onwards-Titan-corrections_. Also the following should be executed inside the repo directory:
`git submodule update --init`
After this, a new Titan C++ project should be created and the files from the above branch should be imported as linked resources and using virtual directories.
This could cause the on the fly checker to stuck completely.
Current workaround s completely disabling the on the fly checker.Miklos MagyariMiklos Magyarihttps://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/470Syntax coloring bug2022-11-16T14:08:37ZLevente ErősSyntax coloring bug## Summary
A single setverdict statement is colored red, while the others remained
## Steps and/or TTCN-3 code to reproduce
Create a single module
```
module my {
type port mypt message{
inout charstring;
}
type component myct{
...## Summary
A single setverdict statement is colored red, while the others remained
## Steps and/or TTCN-3 code to reproduce
Create a single module
```
module my {
type port mypt message{
inout charstring;
}
type component myct{
var integer v := 0;
port mypt P;
}
altstep myas(integer p := v, integer q := myfn2()) runs on myct{
[] any port.receive{if(p==0 and q==0){setverdict(pass);}else{setverdict(fail);}}
}
function myfn2() runs on myct return integer{
return 0;
}
function myfn(integer p := v, integer q := myfn2()) runs on myct{
if(q==0 and p==0){P.send("1")};
default d = activate(myas());
P.receive("krumplinudli");
deactivate(d);
}
testcase mytc(integer p := v, integer q := myfn2()) runs on myct{
if(p==0 and q==0){setverdict(pass);}else{setverdict(fail);}
var myct ptc := myct.create;
connect(mtc:P, ptc:P);
ptc.start(myfn());
P.receive("1");
P.send("heloka");
ptc.done;
}
}
```
Also, make sure that Window > Preferences > TITAN Preferences > Syntax Coloring > Enable semantic highlighting (EXPERIMENTAL) is checked.
## What is the current bug behavior?
The last setverdict statement is colored red instead of blue (the color of all other setverdict statements) -- although couldn't reproduce it for the second time -- maybe unchecking Enable semantic highlighting (EXPERIMENTAL) automatically unchecked something that I didn't check back in when re-checking Enable semantic highlighting (EXPERIMENTAL)?
## What is the expected correct behavior?
All setverdict statements shall be blue.
## Titan version
8.1.0
## Platform details (OS type and version)
Microsoft Windows 10 Enterprise 10.0.19042
![MicrosoftTeams-image__1_](/uploads/e78c40d61edb7384c1ad12b6c7adbad1/MicrosoftTeams-image__1_.png)
/cc @aknappqwtMiklos MagyariMiklos Magyarihttps://gitlab.eclipse.org/eclipse/titan/titan.EclipsePlug-ins/-/issues/400CFG file macro multiplication2021-05-04T09:15:19ZEclipse WebmasterCFG file macro multiplication## Submitted by Arpad Lovassy
Assigned to **Arpad Lovassy**
**[Link to original bug (#571311)](https://bugs.eclipse.org/bugs/xmlrpc.cgishow_bug.cgi?id=571311)**
## Description
Implementing macro multiplication in the CFG file in t...## Submitted by Arpad Lovassy
Assigned to **Arpad Lovassy**
**[Link to original bug (#571311)](https://bugs.eclipse.org/bugs/xmlrpc.cgishow_bug.cgi?id=571311)**
## Description
Implementing macro multiplication in the CFG file in the [DEFINE] section
Example:
[DEFINE]
DEF_1 := 10.0
DEF_2 :=
2.0
DEF_3 := 1.5
MUL_1 := ${DEF_1}*${DEF_2}
MUL_2 := ${DEF_1}*${DEF_2}*${DEF_3}
MUL_3 := ${DEF_1}*3*${DEF_2}*${DEF_3}
MUL_4 := ${DEF_1}*-1.0e2*${DEF_2}*${DEF_3}Arpad LovassyArpad Lovassy