stage4/generate_c/generate_c.cc
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
Thu, 04 Oct 2012 15:10:45 +0100 Mario de Sousa Merge
Wed, 26 Sep 2012 20:12:39 +0200 Manuele Conti Minor changes needed to build with pedantic flag.
Mon, 22 Oct 2012 17:44:40 +0200 Laurent Bessard Merged
Sun, 21 Oct 2012 16:55:08 +0200 Laurent Bessard Adding support for direct array declaration in structure element declaration
Fri, 19 Oct 2012 12:10:32 +0200 Edouard Tisserant Added double curly braces for pragma (kept single curly braces for compatibility). Added macro def and undef surrounding pragma to simplify user code. Moved useless comment from generated code back to code generator.
Thu, 13 Sep 2012 15:14:55 +0200 Laurent Bessard Adding error message when task interval value is not supported
Thu, 13 Sep 2012 09:55:00 +0200 Laurent Bessard Adding error message when task interval value is not supported
Wed, 22 Aug 2012 16:46:17 +0200 Laurent Bessard Merge with c2546c6e0cfa5ad55b288895f17f1b9f2a228f3b
Fri, 17 Aug 2012 19:03:13 +0100 Mario de Sousa Moving function to correct location (formating only).
Sat, 04 Aug 2012 09:59:52 +0200 Manuele Conti Fix bug in code generation for FB IN_OUT structured parameter.
Fri, 20 Jul 2012 15:50:49 +0100 Mario de Sousa Constant folding for IL.
Fri, 15 Jun 2012 19:54:33 +0100 Mario de Sousa Add ERROR_MSG macro && move extract_XXX() functions to constant_folding.cc
Thu, 14 Jun 2012 12:00:19 +0100 Mario de Sousa Clean up code (remove parsing of integers in stage 4).
Wed, 13 Jun 2012 19:43:12 +0100 Mario de Sousa Add 'dimension' parameter to subrange_c, fill it correctly, and use it.
Tue, 12 Jun 2012 22:32:09 +0200 Manuele Conti Fix extract_integer_value.
Wed, 09 May 2012 23:04:03 +0100 mjsousa Merge changes.
Wed, 09 May 2012 23:00:10 +0100 mjsousa Fix parsing os TIME literals & rename the extract_integer() function.
Tue, 24 Apr 2012 16:49:43 +0200 Conti Manuele Fix code generation about __INIT_GLOBAL_LOCATED.
Wed, 18 Apr 2012 13:29:08 +0100 Mario de Sousa Start having nicer stage 4 error messages.
Sat, 14 Apr 2012 16:53:35 +0100 Mario de Sousa Fix typo in comparison expression.
Sat, 31 Mar 2012 21:34:20 +0100 Mario de Sousa merge with Laurent's changeset (essentially, ignore all changes).
Sat, 31 Mar 2012 15:30:38 +0100 Mario de Sousa merging with Laurent's revision 55b074ea7255 (essentially ignoring all changes)
Wed, 01 Feb 2012 19:49:11 +0000 Mario de Sousa Re-write of stage3 code (done by Manuele and I), re-write of search_varfb_instance_type_c (done by myself), and several other bug fixes.
Tue, 14 Aug 2012 19:40:01 +0200 Laurent Bessard Fix bug with InOut variable of structured type
Fri, 24 Feb 2012 14:16:51 +0100 laurent Fix bug with overloaded function due to literal input values