stage3/narrow_candidate_datatypes.cc
Mon, 03 Apr 2017 22:18:22 +0100 Mario de Sousa Access elements[] in list_c through a new get_element() method.
Mon, 03 Apr 2017 22:06:40 +0100 Mario de Sousa Start implementation of datatype checking of initial values for structures and FBs.
Wed, 25 Jan 2017 18:22:41 +0000 Andrey Skvortsov Fix segmentation fault bug introduced by previous commit
Tue, 24 Jan 2017 12:44:44 +0000 mjsousa Correcty determine the datatype (TIME) of the parameters of SFC actions with timed qualifiers
Mon, 09 Mar 2015 19:22:00 +0000 mjsousa Do fill/narrow datatype analysis algorithm for derived_datatype_identifier_c (fixes bug related to arrays of arrays that was generating incorrect C code).
Sun, 15 Feb 2015 16:07:29 +0000 mjsousa Fix bug introduced in 2014/10/19, while adding support for REF() opertors -> datatype checking was not catching datatype inconsistency errors!
Sun, 16 Nov 2014 12:54:10 +0000 mjsousa Add support for relaxed datatype model for array datatypes.
Sat, 25 Oct 2014 11:21:40 +0100 mjsousa Filling of symbol->scope annotation moved from narrow to fill_candidate_datatypes_c (became possible because narrowing of struct, array and symbolic variables is now done directly in fill_candidate_datatypes_c)
Sun, 19 Oct 2014 11:53:36 +0100 mjsousa Fix bug with multple dereferencing (bool_var := bool_ptr_ptr^^;)
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!)
Thu, 31 Jul 2014 17:49:44 +0100 mjsousa Add support for the 'NULL' keyword, defined in version 3 of IEC 61131-3.
Sun, 13 Jul 2014 13:47:16 +0100 mjsousa Narrow array subscripts correctly, even in the presence of other datatype errors (so we do not generate error messages for array subscripts that do not contain errors).
Sun, 13 Jul 2014 12:26:58 +0100 mjsousa Add support for REF_TO derived datatypes (along with datatype verification)
Thu, 29 May 2014 12:06:22 +0100 mjsousa Add error message for invalid datatype of transition condition. Generalize datatype narrowing algorithm for transition conditions.
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)
Sun, 02 Mar 2014 16:42:56 +0000 mjsousa Add limited support for the REF() operator (defined in v3 of IEC 61131-3)
Sun, 22 Dec 2013 09:50:02 +0000 Mario de Sousa Code cleanup: move datatype analysis to get_datatype_info_c
Thu, 22 Aug 2013 16:53:17 +0100 mjsousa Fill in the 'datatype' anotation in the identifiers of symbolic variables.
Wed, 21 Aug 2013 21:34:43 +0100 mjsousa Small code cleanup (move common code to a function)
Wed, 21 Aug 2013 21:26:55 +0100 mjsousa Fix datatype analysis of conditional IL operators (CALC, CALCN, RETC, RETCN, JMPC, JMPCN, S and R)
Wed, 21 Aug 2013 16:08:50 +0100 mjsousa make sure all IL operands are narrowed (datatype checking algorithm)
Tue, 20 Aug 2013 11:15:40 +0100 mjsousa Add support for FB call semantics of 'S' and 'R' IL operators!
Wed, 07 Aug 2013 10:18:29 +0100 mjsousa Fix datatype analysis of structured variables that contain arrays in their fields (e.g. var.x1[var2 + 42].y1).
Thu, 04 Apr 2013 09:45:11 +0900 Edouard Tisserant Merged Mario's changes
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.
Wed, 23 Jan 2013 14:53:14 +0000 Mario de Sousa Consider fb_name_decl_c a non base data type class!
Wed, 23 Jan 2013 14:30:03 +0000 Mario de Sousa Fill symbol->datatype anotation for FB declarations.
Wed, 23 Jan 2013 13:46:11 +0000 Mario de Sousa Fill in the symbol.datatype annotation in symbol classes used in derived data type declarations.
Mon, 11 Mar 2013 12:49:33 +0100 Laurent Bessard Fixed bug with SFC transition datatype checking
Sun, 13 Jan 2013 16:06:00 +0000 Mario de Sousa Set the symbol->datatpe of function_declaration_c
Sun, 13 Jan 2013 14:25:38 +0000 Mario de Sousa Fill in the symbol->datatype of elementary datatypes.
Wed, 14 Nov 2012 14:03:57 +0000 Mario de Sousa Fix datatype checking of enumerated datatype declarations. We now follow the fill->narrow algorithm correctly.
Tue, 13 Nov 2012 18:03:17 +0000 Mario de Sousa Change the base datatype of enumerations to an enumerated_type_declaration_c (for named types!)
Wed, 07 Nov 2012 20:07:11 +0000 Mario de Sousa Make search_base_type_c a singleton!
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, 25 Oct 2012 18:20:28 +0100 Mario de Sousa Correctly generate C code for IL expressions, i.e. IL instructions inside parenthesis.
Sat, 13 Oct 2012 12:13:49 +0100 Mario de Sousa Move is_datatype_valid/equal() to get_datatype_info_c
Thu, 11 Oct 2012 19:16:35 +0100 Mario de Sousa Fix bug related to support of SAFE datatypes.
Sun, 07 Oct 2012 09:45:54 +0100 Mario de Sousa Set datatype of il_intruction_c objects containing an ST operator.
Sun, 07 Oct 2012 09:33:42 +0100 Mario de Sousa Delete unused variables.
Thu, 04 Oct 2012 14:30:51 +0100 Mario de Sousa Add new get_datatype_info_c (preparing to remove search_expression_type_c)
Wed, 26 Sep 2012 20:12:39 +0200 Manuele Conti Minor changes needed to build with pedantic flag.
Fri, 31 Aug 2012 15:09:25 +0100 Mario de Sousa Start adding support for data type checking of enums.
Thu, 10 May 2012 16:09:50 +0100 mjsousa Add high level comments.
Wed, 25 Apr 2012 16:44:23 +0100 Mario de Sousa Fix comment.
Mon, 16 Apr 2012 20:13:58 +0100 Mario de Sousa Fix bug when handling code with data type errors.
Sat, 07 Apr 2012 16:14:17 +0100 Mario de Sousa Start data type checking of var declarations (including direct variables!)
Thu, 15 Mar 2012 13:18:02 +0000 Mario de Sousa Add EXPT widen table.
Thu, 15 Mar 2012 12:50:44 +0000 Mario de Sousa Some stupid code cleanups.
Wed, 14 Mar 2012 20:01:50 +0000 Mario de Sousa Clean up the code.
Wed, 14 Mar 2012 11:14:41 +0000 Mario de Sousa Clean code for comparison operations & operators.
Wed, 14 Mar 2012 10:51:49 +0000 Mario de Sousa Cleaning up XORN, ANDN, and ORN operator code.
Wed, 14 Mar 2012 10:26:03 +0000 Mario de Sousa Add 'widen' tables for AND, OR and XOR operations.
Tue, 13 Mar 2012 19:04:07 +0000 Mario de Sousa Add MOD widening table, and some code clean-ups.
Tue, 13 Mar 2012 16:38:21 +0000 Mario de Sousa Change setting of deprecated_operation from fill to narrow_candidate_datatypes_c.
Sat, 10 Mar 2012 11:21:41 +0000 Mario de Sousa Clean up code, and add support for 'safe' version of literals.
Fri, 09 Mar 2012 17:58:19 +0000 Mario de Sousa Semantic verification of NOT operator.
Thu, 08 Mar 2012 19:14:45 +0000 Mario de Sousa Delete no longer needed copy_candidate_datatype_list() function.
Thu, 08 Mar 2012 18:57:55 +0000 Mario de Sousa Narrow IL lists twice, in order to handle JMP to labels before the JMP itself.