Edouard Tisserant <edouard@beremiz.fr> [Mon, 22 Apr 2024 12:11:51 +0200] rev 1104
Continue changing STRING length from int8_t to uint8_t.
This fix segmentation faults caused by overflow when converting from string to numeric types.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 05 Apr 2024 13:23:53 +0200] rev 1103
merge
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 20 Jul 2023 22:03:23 +0200] rev 1102
Add .gitignore
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 20 Jul 2023 22:03:02 +0200] rev 1101
Fix C++11 invalid suffix on literal warning
Edouard Tisserant <edouard@beremiz.fr> [Fri, 05 Apr 2024 12:05:28 +0200] rev 1100
Change STRING length from int8_t to uint8_t.
This fixes GCC warning when using DELETE function from Standard Library.
Edouard Tisserant [Fri, 22 Jul 2022 09:24:12 +0200] rev 1099
In VARIABLES.CSV, RETAIN variable were only flagged as such for GLOBALS, now local POU variable shoud be as well.
Edouard Tisserant [Tue, 15 Feb 2022 10:34:23 +0100] rev 1098
Fixed logic for REPEAT..UNTIL
In Stage4, C code generator, REPEAT statement was generating a while loop with inverted logic
Edouard Tisserant [Tue, 14 Dec 2021 09:02:38 +0100] rev 1097
Added RETAIN qualifier to VARIABLES.CSV
Edouard Tisserant [Tue, 14 Dec 2021 08:48:05 +0100] rev 1096
Variable forcing now uses limited list and buffer instead of systematical instance tree traversal and in-tree "fvalue" to keep track of forced value for pointed variables (external, located). Pointer swapping is performed when forcing externals and located, with backup being restored when forcing is reset. Match Beremiz commit 93ad018fb602.
Edouard Tisserant [Wed, 24 Nov 2021 08:58:58 +0100] rev 1095
Fixed __SET_EXTERNAL_FB declaration in accessor.h, invoked when accessing EXTERNAL_BLOCK.VARIABLE. Macro was invoking __SET_VAR with wrong parameter count. Fixed corresponding code generator for ST. Seems similar codegen for IL is also broken, but fix would affect other (unknown) behviours -> didn't touch it.
Edouard Tisserant [Mon, 04 Oct 2021 11:29:13 +0200] rev 1094
Remove RETAIN qualifier for F_TRIG and R_TRIG 'M' variable. This is not following standard, and implicitely consumes a lot of RETAIN memory. User can explicitely qualify R_TRIG of F_TRIG instance as RETAIN if needed.
Edouard Tisserant [Mon, 06 Jul 2020 13:29:08 +0200] rev 1093
Fix in standard function library: forgot static linkage for inline __str_cmp()
Edouard Tisserant [Tue, 30 Jun 2020 11:23:37 +0200] rev 1092
Fixed in standard function library: NE_BOOL was missing.
Edouard Tisserant [Thu, 18 Jun 2020 14:32:20 +0200] rev 1091
Fixed in standard function library: String comparison was retrurning wrong result whith strings of different sizes but starting the same, or with zero length strings.
Edouard Tisserant [Fri, 08 May 2020 10:20:04 +0200] rev 1090
Fixed FIND Standard Character String Function. Now returns 0 in case empty string is given either for IN1 or IN2.