stage4/generate_c/generate_c_st.cc
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.
Sun, 09 Apr 2017 23:43:04 +0100 Mario de Sousa Allow use of GLOBAL/EXTERNAL variables as control variable of FOR loop.
Tue, 17 Jan 2017 15:50:55 +0000 Andrey Skvortsov Fix code generation for XOR expressions in ST (add parenthesis)
Wed, 11 May 2016 18:41:45 +0100 mjsousa Add support for non standard feature: allow POUs with no in, out and inout parameters
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)
Wed, 15 Apr 2015 23:25:07 +0100 mjsousa transform CASE into if()..else if().. -> fixes 2 bugs (1)case within case statements, and (2)repeated elements in case options
Sun, 16 Nov 2014 12:54:10 +0000 mjsousa Add support for relaxed datatype model for array datatypes.
Sat, 25 Oct 2014 13:20:10 +0100 mjsousa fix code generation when dereferencing pointers (ref_to) to arrays (ref_to_array^[5])
Sat, 25 Oct 2014 11:28:48 +0100 mjsousa Editing of error message to make it more clear.
Sun, 19 Oct 2014 08:36:49 +0100 mjsousa Fix bug: Add support for de-referencing pointers to struct (struct_ptr^.elem1) when used inside FB.
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!)
Sun, 13 Jul 2014 17:25:20 +0100 mjsousa Change REF() operator to return the correct REF_TO datatype datatype.
Sun, 13 Jul 2014 12:26:58 +0100 mjsousa Add support for REF_TO derived datatypes (along with datatype verification)
Sat, 31 May 2014 16:22:57 +0100 mjsousa Add support for Stepname.X syntax.
Tue, 08 Apr 2014 14:35:31 +0100 mjsousa Correctly handle structured variables that include FB and external FBs (example: FB1.FB2.extFB3.FB4.extFB5.extFB6.structvar.field1 := 42;) (this commit fixes only ST code. TODO: IL and SFC)
Fri, 04 Apr 2014 16:21:55 +0100 mjsousa Remove call to type_is_complex() in ST code generation.
Mon, 31 Mar 2014 20:05:49 +0100 mjsousa A little code cleanup (reduce number of possible variable generation states)
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)
Sun, 16 Mar 2014 10:16:25 +0000 mjsousa Insert #line directives in generated C code.
Sun, 02 Mar 2014 16:42:56 +0000 mjsousa Add limited support for the REF() operator (defined in v3 of IEC 61131-3)
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)
Sun, 09 Feb 2014 07:23:30 +0000 mjsousa Code cleanup (part 3): generate_c_typedecl_c is no longer needed for code generation in POUS.c It is now only needed for datatype declaration in POUS.h
Wed, 05 Feb 2014 20:04:50 +0000 mjsousa Start using the called_fb_declaration annotation when generating C code from FB calls in ST.
Sun, 22 Dec 2013 09:50:02 +0000 Mario de Sousa Code cleanup: move datatype analysis to get_datatype_info_c
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).
Wed, 18 Dec 2013 18:41:05 +0000 Mario de Sousa Fix bug/issue #33 (correctly access struct/array variables declared inside a FB -> r:=FB1.FB2.struct1.array1[3] )
Fri, 08 Mar 2013 02:00:36 +0100 Laurent Bessard Fixed bug in case statement with enumerated type variable as case expression
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, 08 Nov 2012 17:31:50 +0000 Mario de Sousa Fix counting bug in dsymbtable_c
Wed, 07 Nov 2012 20:07:11 +0000 Mario de Sousa Make search_base_type_c a singleton!
Thu, 15 Nov 2012 22:28:53 +0100 Laurent Bessard Adding support for declaring function block instances as global and external variables
Sat, 06 Oct 2012 14:21:04 +0200 Manuele Conti Fix stage4 for compare expressions.
Fri, 26 Oct 2012 10:11:28 +0100 Mario de Sousa Prepare to delete search_constant_type_c -> Move the static variables from search_constant_type_c to get_datatype_info_c
Thu, 04 Oct 2012 16:53:02 +0100 Mario de Sousa Deprecating use of search_expression_type_c, so it may later be deleted!
Thu, 04 Oct 2012 15:10:45 +0100 Mario de Sousa Merge
Fri, 31 Aug 2012 19:30:48 +0100 Mario de Sousa Deleting datatype checks no longer needed (with a view of making search_expression_type_c redundant).
Wed, 22 Aug 2012 16:46:17 +0200 Laurent Bessard Merge with c2546c6e0cfa5ad55b288895f17f1b9f2a228f3b
Thu, 14 Jun 2012 12:00:19 +0100 Mario de Sousa Clean up code (remove parsing of integers in stage 4).
Wed, 25 Apr 2012 15:46:53 +0100 Mario de Sousa Make temporary fix to is_complex() method.
Sat, 14 Apr 2012 16:44:53 +0100 Mario de Sousa Removing code from search_varfb_instance_type_c (use search_var_instance_decl_c instead).
Fri, 13 Apr 2012 13:05:44 +0100 Mario de Sousa Edit formating and delete unused code.
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:36:08 +0100 Mario de Sousa merging with Laurent's 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.
Sat, 28 Jul 2012 17:38:57 +0200 Laurent Bessard Fix bug while using complex type variables in Function and FunctionBlock interface
Fri, 27 Jul 2012 15:43:32 +0200 Laurent Bessard Fix bug while using complex type variables in Function and FunctionBlock interface
Fri, 24 Feb 2012 14:16:51 +0100 laurent Fix bug with overloaded function due to literal input values
Tue, 21 Feb 2012 22:31:38 +0100 laurent Fix bug wrong code generated when, in a pou, a located variable has the same name than a function block instance input variable
Fri, 03 Feb 2012 00:09:52 +0100 laurent Fix bug with functions like LEN and TRUNC that have overloaded return type for same inputs type
Fri, 18 Nov 2011 17:28:37 +0100 laurent Fixing generated code for global variables. Adding support for defining global variables with complex type
Sat, 29 Oct 2011 19:30:47 +0100 Mario de Sousa Fix code generation of FOR loops. Now handles negative values of BY correctly.
Tue, 11 Oct 2011 12:30:49 +0200 laurent Fix bug in parser while trying to use IL operator like S1, R1, etc... as standard function block interface variable in structured_variable syntax and bug in code generator while generating code for assignment of function block interface variable using structured_variable syntax
Wed, 14 Sep 2011 22:58:39 +0200 laurent Adding support for compiling direct array specification inside variable declaration
Fri, 09 Sep 2011 12:03:15 +0200 laurent Making case statement code generated safer
Thu, 08 Sep 2011 20:25:00 +0200 laurent Merge with 01068ccb73b202b2872d4117ad01984bac956cbb
Wed, 31 Aug 2011 19:29:47 +0100 Mario de Sousa delete code no longer needed.