Fri, 26 Apr 2024 09:27:21 +0200merge default tip
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 26 Apr 2024 09:27:21 +0200] rev 1105
merge

Mon, 22 Apr 2024 12:11:51 +0200Continue changing STRING length from int8_t to uint8_t.
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.

Fri, 05 Apr 2024 13:23:53 +0200merge
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 05 Apr 2024 13:23:53 +0200] rev 1103
merge

Thu, 20 Jul 2023 22:03:23 +0200Add .gitignore
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 20 Jul 2023 22:03:23 +0200] rev 1102
Add .gitignore

Thu, 20 Jul 2023 22:03:02 +0200Fix C++11 invalid suffix on literal warning
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 20 Jul 2023 22:03:02 +0200] rev 1101
Fix C++11 invalid suffix on literal warning

Fri, 05 Apr 2024 12:05:28 +0200Change STRING length from int8_t to uint8_t.
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.

Fri, 22 Jul 2022 09:24:12 +0200In VARIABLES.CSV, RETAIN variable were only flagged as such for GLOBALS, now local POU variable shoud be as well.
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.

Tue, 15 Feb 2022 10:34:23 +0100Fixed logic for REPEAT..UNTIL
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

Tue, 14 Dec 2021 09:02:38 +0100Added RETAIN qualifier to VARIABLES.CSV
Edouard Tisserant [Tue, 14 Dec 2021 09:02:38 +0100] rev 1097
Added RETAIN qualifier to VARIABLES.CSV

Tue, 14 Dec 2021 08:48:05 +0100Variable 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 [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.

Wed, 24 Nov 2021 08:58:58 +0100Fixed __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 [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.

Mon, 04 Oct 2021 11:29:13 +0200Remove 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, 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.

Mon, 06 Jul 2020 13:29:08 +0200Fix in standard function library: forgot static linkage for inline __str_cmp()
Edouard Tisserant [Mon, 06 Jul 2020 13:29:08 +0200] rev 1093
Fix in standard function library: forgot static linkage for inline __str_cmp()

Tue, 30 Jun 2020 11:23:37 +0200Fixed in standard function library: NE_BOOL was missing.
Edouard Tisserant [Tue, 30 Jun 2020 11:23:37 +0200] rev 1092
Fixed in standard function library: NE_BOOL was missing.

Thu, 18 Jun 2020 14:32:20 +0200Fixed 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 [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.

Fri, 08 May 2020 10:20:04 +0200Fixed FIND Standard Character String Function. Now returns 0 in case empty string is given either for IN1 or IN2.
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.