titan.core issueshttps://gitlab.eclipse.org/eclipse/titan/titan.core/-/issues2023-11-06T10:07:13Zhttps://gitlab.eclipse.org/eclipse/titan/titan.core/-/issues/706Modernize build system with CMake2023-11-06T10:07:13ZPinco PallinoModernize build system with CMakeI think that could be usuful to move the build process to CMake build systemI think that could be usuful to move the build process to CMake build systemhttps://gitlab.eclipse.org/eclipse/titan/titan.core/-/issues/695Selective code splitting2024-03-14T12:30:48ZGábor SzalaiSelective code splittingInitial request:
The compiler generates a large .cc files for some ASN.1 files with lot of type definition.
To limit the g++ memory usage the generated code can be split to more than one files. But usually, the splitting is not required ...Initial request:
The compiler generates a large .cc files for some ASN.1 files with lot of type definition.
To limit the g++ memory usage the generated code can be split to more than one files. But usually, the splitting is not required for all files in the project only just for a few ones.
The selective code splitting can be supported only with Makefile modification.
After further investigation of the requirement, the following specification is proposed:
* Make the -U option (option for code slitting) positing dependent for both makefile_gen and compiler applications
* The ASN.1 or TTCN-3 modules listed after the -U option are splitted according to the specified mode
* Make the -U option compatible with the '-' (selective code generation feature)
* (Modification of TPD handling might be also required)
```
compiler A.ttcn B.ttcn C.asn - A.ttcn -U 2 B.ttcn C.asn //split module B and C into 2
compiler A.ttcn B.ttcn C.asn - -U 2 A.ttcn B.ttcn C.asn //split all modules into 2
compiler A.ttcn B.ttcn C.asn - A.ttcn B.ttcn -U type C.asn //split only module C by types
makefile_gen A.ttcn -U 2 B.ttcn C.asn //split module B and C into 2
makefile_gen A.ttcn B.ttcn -U type C.asn //split only module C by types
```Adam KnappAdam Knapphttps://gitlab.eclipse.org/eclipse/titan/titan.core/-/issues/606Improving logging of match failures2022-05-20T10:09:36ZAdam KnappImproving logging of match failures## Summary
See https://www.eclipse.org/forums/index.php/t/1110816/
## What is the current bug behavior?
extremely hard to find out where the match failed
## What is the expected correct behavior?
Somehow make it easier by providing ...## Summary
See https://www.eclipse.org/forums/index.php/t/1110816/
## What is the current bug behavior?
extremely hard to find out where the match failed
## What is the expected correct behavior?
Somehow make it easier by providing more information in the log
## Relevant logs and/or screenshots
See https://www.eclipse.org/forums/index.php/t/1110816/
## Titan version
8.1.0.r43.g6be5a7f23
/cc @aknappqwthttps://gitlab.eclipse.org/eclipse/titan/titan.core/-/issues/553[CR] Update RAW encoder2021-06-03T07:54:26ZLenard Nagy[CR] Update RAW encoder## Summary
Update RAW encoder with the following features:
- Null terminated string
- Identify last member of record of by value
/cc @aknappqwt## Summary
Update RAW encoder with the following features:
- Null terminated string
- Identify last member of record of by value
/cc @aknappqwthttps://gitlab.eclipse.org/eclipse/titan/titan.core/-/issues/552[CR][RESEARCH] Check if C++ templates could be used for generating code for s...2021-06-03T07:51:46ZLenard Nagy[CR][RESEARCH] Check if C++ templates could be used for generating code for set of/record of## Summary
Check if C++ templates could be used for generating code for set of/record of
For details please check with Gabor Szalai
/cc @aknappqwt## Summary
Check if C++ templates could be used for generating code for set of/record of
For details please check with Gabor Szalai
/cc @aknappqwthttps://gitlab.eclipse.org/eclipse/titan/titan.core/-/issues/534Could Titan use GPUs to speed up encoding/decoding messages?2021-06-07T15:14:05ZEclipse WebmasterCould Titan use GPUs to speed up encoding/decoding messages?## Submitted by Kristof Szabados
**[Link to original bug (#569211)](https://bugs.eclipse.org/bugs/xmlrpc.cgishow_bug.cgi?id=569211)**
## Description
It might be worth a try to see if Titan could use GPUs to speed up the encoding/dec...## Submitted by Kristof Szabados
**[Link to original bug (#569211)](https://bugs.eclipse.org/bugs/xmlrpc.cgishow_bug.cgi?id=569211)**
## Description
It might be worth a try to see if Titan could use GPUs to speed up the encoding/decoding of messages (at least for some encodings and some protocols).
Most of the time, the actual real-life encoding/decoding needed to be done is not very complicated.
And for many messages or message parts, a GPU based implementation might be able to do the work much faster.
For example encode all elements of a record of integer at the same time, so that they just need to be chained together to finis the coding work.
Version: 7.1.0https://gitlab.eclipse.org/eclipse/titan/titan.core/-/issues/419ASN.1 presence constraint is ignored by the compiler2021-05-05T12:38:32ZEclipse WebmasterASN.1 presence constraint is ignored by the compiler## Submitted by Botond Baranyi
**[Link to original bug (#540177)](https://bugs.eclipse.org/bugs/xmlrpc.cgishow_bug.cgi?id=540177)**
## Description
Created attachment 276260
Example TTCN-3 file with constants and OER encoding
The co...## Submitted by Botond Baranyi
**[Link to original bug (#540177)](https://bugs.eclipse.org/bugs/xmlrpc.cgishow_bug.cgi?id=540177)**
## Description
Created attachment 276260
Example TTCN-3 file with constants and OER encoding
The compiler ignores presence constraints for ASN.1 types when checking values.
See the constants defined in the attached example.
**Attachment 276260**, "Example TTCN-3 file with constants and OER encoding":
[test.ttcn](/uploads/a5d471ae849e8dd5c66eeebc6eb3beb0/test.ttcn)
Version: 6.4.0https://gitlab.eclipse.org/eclipse/titan/titan.core/-/issues/200increased gcc warning levels reveal some potential casting issues2021-05-05T09:44:14ZEclipse Webmasterincreased gcc warning levels reveal some potential casting issues## Submitted by Kristof Szabados
**[Link to original bug (#504053)](https://bugs.eclipse.org/bugs/xmlrpc.cgishow_bug.cgi?id=504053)**
## Description
After reading an interesting publication (https://www.researchgate.net/publication/...## Submitted by Kristof Szabados
**[Link to original bug (#504053)](https://bugs.eclipse.org/bugs/xmlrpc.cgishow_bug.cgi?id=504053)**
## Description
After reading an interesting publication (https://www.researchgate.net/publication/308791357_Twice_the_Bits_Twice_the_Trouble_Vulnerabilities_Induced_by_Migrating_to_64-Bit_Platforms) on what can go wrong when C/C++ code designed for 32 bit systems is used on 64 systems I checked what the methods mentioned in the article would result in on titan.
Wsign-compare: 29 pieces
Wsign-conversion: ~5900 pieces
Wfloat-conversion: ~600 pieces
Wconversion: ~3000 pieces
Most of the found issues are harmless and correction would not result in faster operation.
Yet it would be a good idea to check and try to correct them to have a cleaner code and forego potential issues later.
Version: 5.5.0