Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 26 Apr 2024 09:27:21 +0200] rev 1105
merge
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.
Edouard Tisserant [Fri, 30 Aug 2019 10:27:45 +0200] rev 1089
Reworked get_greatest_tick_count computation
Edouard Tisserant [Tue, 09 Jul 2019 08:31:02 +0200] rev 1088
Add a column to VARIABLES.CSV, containing variable (derived) type name, additionally to current last column contyaining base type name
Mario de Sousa <msousa@fe.up.pt> [Wed, 13 Feb 2019 14:40:26 +0000] rev 1087
add default NULL value to references (as suggested by anonymous in issue 62)
(Not really needed, but it is good practise...)
Mario de Sousa <msousa@fe.up.pt> [Wed, 13 Feb 2019 14:16:26 +0000] rev 1086
merge
Mario de Sousa <msousa@fe.up.pt> [Wed, 26 Dec 2018 19:36:03 +0000] rev 1085
fix issue #73: add missing overloaded functions ADD, SUB, MUL and DIV for TIME, TOD, DT, ...
Mario de Sousa <msousa@fe.up.pt> [Wed, 26 Dec 2018 12:39:41 +0000] rev 1084
remove debugging printf() introduced in previous commits
Mario de Sousa <msousa@fe.up.pt> [Wed, 26 Dec 2018 12:02:13 +0000] rev 1083
merge
Mario de Sousa <msousa@fe.up.pt> [Wed, 26 Dec 2018 11:56:14 +0000] rev 1082
fix bug introduced in previous commit (force literals to unsigned log long)
Mario de Sousa <msousa@fe.up.pt> [Wed, 26 Dec 2018 11:51:58 +0000] rev 1081
return storage of task interval back to 1 ns resolution (when calculating least common multiple et. al. of task intervals).
Mario de Sousa <msousa@fe.up.pt> [Wed, 26 Dec 2018 11:45:27 +0000] rev 1080
addendum to issue #76: detect overflow when calculating least common multiple of task intervals.
Mario de Sousa <msousa@fe.up.pt> [Wed, 26 Dec 2018 11:40:45 +0000] rev 1079
definitive fix of issue #76: remove internal overflow of u64 when calculating least common multiple of task intervals.
Mario de Sousa <msousa@fe.up.pt> [Wed, 26 Dec 2018 11:12:27 +0000] rev 1078
Test for overflow when translating task periods/intervals to integer variable.
Mario de Sousa <msousa@fe.up.pt> [Tue, 25 Dec 2018 12:15:29 +0000] rev 1077
partial fix to issue #76 - calculate task periods with 1ms (instead of 1ns) resolution. Allows for tasks with periods larger than 4.295s, but smaller than 50 days.
Mario de Sousa <msousa@fe.up.pt> [Tue, 25 Dec 2018 11:10:11 +0000] rev 1076
partial fix for issue 74: allow deref of REF in left hand side of assignment (only works in FUNCTIONS for now)
Mario de Sousa <msousa@fe.up.pt> [Fri, 21 Dec 2018 17:32:36 +0000] rev 1075
fix issue #78: IL NOT operator not working
Mario de Sousa <msousa@fe.up.pt> [Thu, 20 Dec 2018 18:55:22 +0000] rev 1074
fix issue#77 - when IL FB followed by SFC FB, non-existant error was detected in IL code.
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Sun, 14 Oct 2018 20:14:13 +0300] rev 1073
revert commits improved performance of some extensible Standard Functions (ADD, MUL, AND, OR, XOR)
Following commits are reverted:
mjsousa 0b275a2 improve performance of some extensible Standard Functions (ADD, MUL, AND, OR, XOR) -- increase hardcoded limit to 499
mjsousa 2228799 improve performance of some extensible Standard Functions (ADD, MUL, AND, OR, XOR) -- Add comments!!
mjsousa ce81fa6 improve performance of some extensible Standard Functions (ADD, MUL, AND, OR, XOR)"
The reason is that they cause regression in some cases (if function is
used as argument for function block, for example) and this is not
fixed for a long time.
Mario de Sousa <msousa@fe.up.pt> [Fri, 20 Apr 2018 17:40:29 +0100] rev 1072
merge
Mario de Sousa <msousa@fe.up.pt> [Fri, 20 Apr 2018 17:38:09 +0100] rev 1071
fix backup/restore functions: now also backup/restore programs instantiated to run inside tasks.
Andrey Skvortsov [Thu, 01 Mar 2018 19:28:38 +0000] rev 1070
add include <time.h>, required for time_t
Mario de Sousa <msousa@fe.up.pt> [Fri, 02 Feb 2018 18:36:15 +0000] rev 1069
improve performance of some extensible Standard Functions (ADD, MUL, AND, OR, XOR) -- increase hardcoded limit to 499
Mario de Sousa <msousa@fe.up.pt> [Fri, 02 Feb 2018 18:31:40 +0000] rev 1068
improve performance of some extensible Standard Functions (ADD, MUL, AND, OR, XOR) -- Add comments!!
Mario de Sousa <msousa@fe.up.pt> [Fri, 02 Feb 2018 18:15:48 +0000] rev 1067
improve performance of some extensible Standard Functions (ADD, MUL, AND, OR, XOR)"
Mario de Sousa <msousa@fe.up.pt> [Fri, 22 Dec 2017 17:14:02 +0000] rev 1066
Fix method ./configure uses to determine bison version (did not work in bourne shell) (submitted by anonymous)"
Mario de Sousa <msousa@fe.up.pt> [Thu, 21 Dec 2017 17:56:12 +0000] rev 1065
fix bug: allow variables with names starting with 'var' to be used in the first line of POU body
Mario de Sousa <msousa@fe.up.pt> [Fri, 20 Oct 2017 18:49:59 +0100] rev 1064
Abort compilation when finding R_EDGE or F_EDGE
Andrey Skvortsov [Wed, 20 Sep 2017 14:56:18 +0100] rev 1063
Fix bug: XOR operator was broken for ANY_BIT types. No XOR__[DL]WORD__[DL]WORD functions were generated.
mjsousa [Wed, 20 Sep 2017 10:47:54 +0100] rev 1062
Add some comments to code regarding backup/restore functions
Mario de Sousa <msousa@fe.up.pt> [Thu, 14 Sep 2017 10:50:41 +0100] rev 1061
fix initialization of variable (was not following ISO C++ rules)
Mario de Sousa <msousa@fe.up.pt> [Wed, 30 Aug 2017 22:13:26 +0100] rev 1060
make generating backup/restore functions a command line option (off by default).
Mario de Sousa <msousa@fe.up.pt> [Wed, 30 Aug 2017 21:57:18 +0100] rev 1059
add support for generating functions to backup/restore the internal state of the PLC.
Mario de Sousa <msousa@fe.up.pt> [Tue, 29 Aug 2017 12:02:09 +0100] rev 1058
delete unused variable.
Mario de Sousa <msousa@fe.up.pt> [Thu, 03 Aug 2017 22:55:12 +0100] rev 1057
handle POUs with no VAR .. END_VAR blocks
Mario de Sousa <msousa@fe.up.pt> [Thu, 03 Aug 2017 22:32:03 +0100] rev 1056
fix bug introduced in previous commit (matiec was unable to parse SFC code)
Mario de Sousa <msousa@fe.up.pt> [Thu, 03 Aug 2017 22:16:35 +0100] rev 1055
Fix tracking of line numbers in IL code (error messages were previously indicating incorrect line number).
Mario de Sousa <msousa@fe.up.pt> [Mon, 03 Jul 2017 20:31:47 +0100] rev 1054
Fix bug in datatype narrowing algorithm affecting IL code.
Mario de Sousa <msousa@fe.up.pt> [Mon, 03 Jul 2017 20:28:26 +0100] rev 1053
Set the symbol->token member in symbolic_variables_c objects.
Mario de Sousa <msousa@fe.up.pt> [Mon, 03 Jul 2017 20:27:15 +0100] rev 1052
Debugging helper class: print value of tokens in debugging output.
Paul Beltyukov <beltyukov.p.a@gmail.com> [Tue, 09 May 2017 21:46:44 +0100] rev 1051
Fix bug: allow global variables of type DT (initial values for DT are not const!)
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Sun, 16 Apr 2017 09:00:09 +0100] rev 1050
Add comment stating how to enable debug option in flex.
Mario de Sousa <msousa@fe.up.pt> [Sun, 16 Apr 2017 08:46:58 +0100] rev 1049
merge
Mario de Sousa <msousa@fe.up.pt> [Sun, 16 Apr 2017 08:45:56 +0100] rev 1048
Print error message when FB/Struct initial value contains other strcuts/FB/arrays (not yet supported by C code generator).
Mario de Sousa <msousa@fe.up.pt> [Wed, 05 Apr 2017 13:21:50 +0100] rev 1047
Do datatype checking of initial values for structures and FBs, and print error messages when compiling erroneuos source code.
Mario de Sousa <msousa@fe.up.pt> [Tue, 04 Apr 2017 17:21:42 +0100] rev 1046
fix bug in symbol_c::find_element()