stage4/generate_c/generate_c.cc
Wed, 26 Dec 2018 12:39:41 +0000 Mario de Sousa remove debugging printf() introduced in previous commits
Wed, 26 Dec 2018 12:02:13 +0000 Mario de Sousa merge
Wed, 26 Dec 2018 11:56:14 +0000 Mario de Sousa fix bug introduced in previous commit (force literals to unsigned log long)
Wed, 26 Dec 2018 11:51:58 +0000 Mario de Sousa return storage of task interval back to 1 ns resolution (when calculating least common multiple et. al. of task intervals).
Wed, 26 Dec 2018 11:45:27 +0000 Mario de Sousa addendum to issue #76: detect overflow when calculating least common multiple of task intervals.
Wed, 26 Dec 2018 11:40:45 +0000 Mario de Sousa definitive fix of issue #76: remove internal overflow of u64 when calculating least common multiple of task intervals.
Wed, 26 Dec 2018 11:12:27 +0000 Mario de Sousa Test for overflow when translating task periods/intervals to integer variable.
Tue, 25 Dec 2018 12:15:29 +0000 Mario de Sousa 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.
Fri, 20 Apr 2018 17:40:29 +0100 Mario de Sousa merge
Fri, 20 Apr 2018 17:38:09 +0100 Mario de Sousa fix backup/restore functions: now also backup/restore programs instantiated to run inside tasks.
Fri, 20 Oct 2017 18:49:59 +0100 Mario de Sousa Abort compilation when finding R_EDGE or F_EDGE
Wed, 20 Sep 2017 10:47:54 +0100 mjsousa Add some comments to code regarding backup/restore functions
Thu, 14 Sep 2017 10:50:41 +0100 Mario de Sousa fix initialization of variable (was not following ISO C++ rules)
Wed, 30 Aug 2017 22:13:26 +0100 Mario de Sousa make generating backup/restore functions a command line option (off by default).
Wed, 30 Aug 2017 21:57:18 +0100 Mario de Sousa add support for generating functions to backup/restore the internal state of the PLC.
Tue, 29 Aug 2017 12:02:09 +0100 Mario de Sousa delete unused variable.
Sun, 16 Apr 2017 08:46:58 +0100 Mario de Sousa merge
Mon, 03 Apr 2017 22:18:22 +0100 Mario de Sousa Access elements[] in list_c through a new get_element() method.
Wed, 12 Apr 2017 08:44:42 +0100 andrej skvortzov fix wrong common_ticktime if task interval is greater than 4.3 seconds
Tue, 28 Jun 2016 16:35:47 +0300 Andrey Skvortsov Merged mjsousa/matiec into default
Thu, 26 May 2016 15:00:20 +0100 mjsousa Add support for functions returning VOID (i.e. non-standard extension, allowing functions that do not return any data)
Sun, 08 May 2016 20:01:15 +0100 mjsousa Add option to not add the EN and ENO parameters to every function and FB (generated C code becomes smaller, and uses less memory for function invocations)
Fri, 06 May 2016 11:38:35 +0300 Andrey Skvortsov fix warning about overflow if matiec is running on 64-bit platform,
Wed, 17 Dec 2014 13:46:36 +0000 mjsousa Small code re-organization of how const values are stored in symbol_c (can now be accessed through member functions, instead of macros)
Sat, 06 Dec 2014 19:11:32 +0000 mjsousa Add a new pou_typename_c object to the AST to store references to previously declared Functions, FB, and Programs.
Sun, 16 Nov 2014 12:54:10 +0000 mjsousa Add support for relaxed datatype model for array datatypes.
Sun, 28 Sep 2014 16:35:44 +0100 mjsousa Add support for de-referencing of REF_TO datatypes (Note: dereferencing of arrays and structs not yet supported!)
Mon, 11 Aug 2014 07:56:00 +0100 mjsousa Fix typos in comments
Wed, 06 Aug 2014 10:43:15 +0100 mjsousa Fix bug (introduced a few commits ago) when generating SFC actions that are mapped onto variables --> Make generate_sfcdecl_c stateless (i.e. does not depend on order by which it is called).
Tue, 29 Jul 2014 13:39:40 +0100 mjsousa for option '-Op' (generate <pouname>.h/c): add '#include <pouname>.h' to the .c file, and '#ifdef <pouname>_H' to the .h file
Fri, 25 Jul 2014 14:58:33 +0100 mjsousa Ass include of iec_std_lib.h in POUS.h file.
Mon, 21 Jul 2014 10:39:46 +0100 mjsousa Add support for implicitly declared REF_TO datatypes.
Sun, 20 Jul 2014 21:57:10 +0100 mjsousa With -Op option --> Place implicitly defined datatypes in the .h file corresponding to the POU where they are used.
Sun, 20 Jul 2014 21:48:58 +0100 mjsousa Add name of POU as prefix to names of implicitly defined datatypes
Sun, 20 Jul 2014 16:45:45 +0100 mjsousa Implicitly defined array datatypes use new naming method (greatly simplifies stage 4 code).
Sun, 06 Jul 2014 23:31:08 +0100 mjsousa Add option to place each POU in a distinct .c and .h file pair.
Sun, 06 Jul 2014 16:54:53 +0100 mjsousa code re-organisation. Preparing for the changes to come in the next commit (one C file for each POU)
Sun, 06 Jul 2014 13:40:54 +0100 mjsousa Remove un-used parameter from class constructor.
Sat, 05 Jul 2014 14:10:28 +0100 mjsousa merge
Sat, 31 May 2014 12:49:43 +0100 mjsousa Remove dead code previously left in by mistake.
Wed, 28 May 2014 11:32:09 +0200 Edouard Tisserant merge
Sat, 29 Mar 2014 22:46:09 +0000 mjsousa Change order of SET_xxx() macros. (this will allow me to simplify the print_setter() methods later on)
Thu, 27 Mar 2014 09:52:13 +0100 Edouard Tisserant More static declarations in POUS.c in order to avoid conflicting symbol definitions with new POUS.c inclusion scheme
Wed, 26 Mar 2014 13:20:45 +0100 Edouard Tisserant Fix multiple resources support, POUS.c now only contain static definitions. POUS.c is included in configuration C code as well as in resources to allow GLOBAL FBs to be declared in configurations
Thu, 20 Mar 2014 17:27:29 +0100 Edouard Tisserant Disable stage4 options with on windows since getsuboptr isn't supported in mingw
Sun, 16 Mar 2014 13:02:28 +0000 mjsousa Make generation of #line directives optional.
Sun, 02 Mar 2014 16:42:56 +0000 mjsousa Add limited support for the REF() operator (defined in v3 of IEC 61131-3)
Mon, 24 Feb 2014 22:00:55 +0000 mjsousa Remove assertion being failed by IL labels (IL labels do not yet have specific datatypes).
Tue, 11 Feb 2014 10:55:27 +0000 mjsousa merge
Mon, 06 Jan 2014 12:25:21 +0000 Mario de Sousa Fix bug: correctly generate code when accessing external variables declared inside FBs as a structured variable (realvar := fb1.fb2.extvar1.realvar)
Sat, 08 Feb 2014 23:10:12 +0000 mjsousa Code cleanup (part 2): generate_typedecl_c now only prints to POUS.h !
Sat, 08 Feb 2014 10:32:26 +0000 mjsousa Fix bug - correctly declare struct members whose type is a directly defined array (e.g.: STRUCT x: ARRAY of XXX; END_STRUCT)
Sun, 22 Dec 2013 09:50:02 +0000 Mario de Sousa Code cleanup: move datatype analysis to get_datatype_info_c
Fri, 20 Dec 2013 11:44:38 +0000 Mario de Sousa Fix bug-fix of previous commit.
Thu, 19 Dec 2013 19:38:29 +0000 Mario de Sousa Fix bug: allow use, as lvalues, structures/arrays inside FBs (e.g. fb1.struct1.r := 33.3).
Thu, 18 Apr 2013 22:27:01 +0200 Laurent Bessard Fixed bug when defining task with single_data_source instead of interval_data_source
Wed, 13 Feb 2013 18:56:25 +0000 Mario de Sousa Add a new node to the abstract symtax tree, which will let us do datatype checking of FB variable declarations using the standard algorithm, and no special cases.
Thu, 03 Jan 2013 18:23:07 +0000 Mario de Sousa grand merge
Mon, 03 Dec 2012 14:06:49 +0000 Mario de Sousa Small code cleanup.
Thu, 15 Nov 2012 22:28:53 +0100 Laurent Bessard Adding support for declaring function block instances as global and external variables