py_ext/PythonFileCTNMixin.py
Tue, 22 Dec 2020 14:57:59 +0100 Edouard Tisserant Merged default in svghmi branch svghmi
Thu, 10 Dec 2020 11:37:27 +0100 Edouard Tisserant Python Safe Globals now have more reliable triggering of OnChange call. Added "Onchange" object to accessible runtime variables that let user python code see count of changes and first and last values. svghmi
Wed, 18 Nov 2020 10:15:44 +0100 Edouard Tisserant py_ext: better handling of coma separated OnChange attribute for python safe global variables. svghmi
Mon, 02 Nov 2020 10:56:09 +0100 Edouard Tisserant Allow customization of generated py_ext OnChange calls, by adding a static method to PythonFileCTNMixin that can the be later hot patched. svghmi
Tue, 20 Oct 2020 00:23:52 +0200 Edouard Tisserant PY_EXT: OnChange is now a coma separated list of callables. Updated tests/python accordingly. svghmi
Fri, 10 Jul 2020 11:15:41 +0200 Edouard Tisserant Python Runtime : stil untested optimization of Python Safe Globals. svghmi
Fri, 03 Jul 2020 14:02:04 +0200 Edouard Tisserant Prevent global python_poll blocks to be created when accidentally adding content to C-File OnChange column. svghmi
Thu, 10 Dec 2020 11:37:27 +0100 Edouard Tisserant Python Safe Globals now have more reliable triggering of OnChange call. Added "Onchange" object to accessible runtime variables that let user python code see count of changes and first and last values.
Wed, 18 Nov 2020 10:15:44 +0100 Edouard Tisserant py_ext: better handling of coma separated OnChange attribute for python safe global variables.
Mon, 02 Nov 2020 10:56:09 +0100 Edouard Tisserant Allow customization of generated py_ext OnChange calls, by adding a static method to PythonFileCTNMixin that can the be later hot patched.
Tue, 20 Oct 2020 00:23:52 +0200 Edouard Tisserant PY_EXT: OnChange is now a coma separated list of callables. Updated tests/python accordingly.
Thu, 18 Jun 2020 14:18:16 +0200 Edouard Tisserant Py_ext: use non-derived type when generating C code for handling Python PLC globals.
Wed, 17 Jun 2020 14:30:55 +0200 Edouard Tisserant Runtime: STRING type for Python PLC Globals was making problem with strings, since generated code wasn't doing comparison properly.
Tue, 09 Oct 2018 14:03:44 +0300 Andrey Skvortsov python3 support: pylint, W1607 # (file-builtin) file built-in referenced
Tue, 09 Oct 2018 11:56:45 +0300 Andrey Skvortsov Fix pep8 warning: W605 invalid escape sequence ?x?
Thu, 04 Oct 2018 17:24:40 +0300 Andrey Skvortsov python3 support: pylint, W1612 # (unicode-builtin) unicode built-in referenced
Tue, 02 Oct 2018 18:08:49 +0300 Andrey Skvortsov Use python 3 compatible exception syntax everywhere
Mon, 15 Jan 2018 14:43:53 +0100 Edouard Tisserant Clarify licensing, and packaging of runtime only files :
Thu, 11 Jan 2018 15:41:20 +0100 Edouard Tisserant Enforced check_source.sh pep8 and pylint rules.
Wed, 10 Jan 2018 15:36:03 +0100 Edouard Tisserant Extend python<->PLC global variable description "GlobalDesc" to support Initial value setting.
Thu, 19 Oct 2017 11:03:03 +0300 Andrey Skvortsov fix pylint warning '(bad-continuation) Wrong hanging indentation before block'
Mon, 09 Oct 2017 18:13:26 +0300 Andrey Skvortsov fix pylint warning "(relative-import) Relative import 'Y', should be 'X.Y'"
Fri, 06 Oct 2017 17:52:34 +0300 Andrey Skvortsov fix pylint warning '(unused-import), Unused import connectors'
Tue, 03 Oct 2017 16:31:31 +0300 Andrey Skvortsov remove unused variables found by pylint
Thu, 28 Sep 2017 16:25:05 +0300 Andrey Skvortsov fix unnecessary lambda and enable corresponding pylint check
Sat, 19 Aug 2017 17:04:31 +0300 Andrey Skvortsov clean-up: fix PEP8 E131 continuation line unaligned for hanging indent
Fri, 18 Aug 2017 20:14:38 +0300 Andrey Skvortsov clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Thu, 17 Aug 2017 17:25:17 +0300 Andrey Skvortsov clean-up: fix PEP8 E129 visually indented line with same indent as next logical line
Thu, 17 Aug 2017 15:43:25 +0300 Andrey Skvortsov clean-up: fix PEP8 E502 the backslash is redundant between brackets
Wed, 16 Aug 2017 12:57:52 +0300 Andrey Skvortsov clean-up: fix PEP8 E301 expected 1 blank line, found 0
Wed, 16 Aug 2017 12:30:31 +0300 Andrey Skvortsov clean-up: fix PEP8 W391 blank line at end of file
Tue, 15 Aug 2017 22:38:43 +0300 Andrey Skvortsov clean-up: fix PEP8 E251 unexpected spaces around keyword / parameter equals
Tue, 15 Aug 2017 16:48:49 +0300 Andrey Skvortsov clean-up: fix PEP8 E225 missing whitespace around operator
Tue, 15 Aug 2017 15:50:30 +0300 Andrey Skvortsov clean-up: fix PEP8 E231 missing whitespace after ':' or ','
Tue, 15 Aug 2017 12:17:51 +0300 Andrey Skvortsov clean-up: fix PEP8 E203 whitespace before ':' and whitespace before ','
Mon, 14 Aug 2017 23:27:15 +0300 Andrey Skvortsov clean-up: fix PEP8 E302 expected 2 blank lines, found 1
Mon, 14 Aug 2017 22:23:17 +0300 Andrey Skvortsov clean-up: fix some PEP8 E228 missing whitespace around modulo operator
Mon, 14 Aug 2017 21:20:32 +0300 Andrey Skvortsov clean-up: fix PEP8 E401 multiple imports on one line
Thu, 20 Apr 2017 13:01:45 +0300 Andrey Skvortsov make run Beremiz and PLCOpen Editor, if full path contain non-lating
Fri, 06 May 2016 14:05:44 +0300 Andrey Skvortsov add copyright notices to python files where there were missing, that
Fri, 22 Apr 2016 21:26:31 +0300 Andrey Skvortsov fix regression introduced by changeset: 1431:28e9d479aa65 [Use '-p' command line option when running matiec (iec2c)]
Wed, 21 Oct 2015 15:00:32 +0100 mjsousa merge
Sat, 06 Dec 2014 19:31:51 +0000 mjsousa Use '-p' command line option when running matiec (iec2c)
Wed, 26 Nov 2014 16:05:14 +0000 mjsousa Add command line option '-l' when calling matiec
Wed, 25 Feb 2015 14:00:11 +0100 Edouard Tisserant Fixed build of tests/python.
Sat, 21 Feb 2015 10:20:24 +0100 Edouard Tisserant Added __ext_name__ variable accessible from user python code, reflecting extension name. Fixed contend of OnChange field in PLCGlobalsDesc
Thu, 19 Feb 2015 00:40:53 +0100 Edouard Tisserant Added more columns in variable list of extensions' code editors - updating python's PLCGlobals from PLC logic can trigger asynchronous 'OnChange' python call
Tue, 17 Feb 2015 10:23:57 +0100 Edouard Tisserant Fixed systematically loading PLC binary at startup even without -a parameter. Extended py_ext extensions instances variable description (PLCGlobalsDesc). Now contains list of variables organizd by extension, with extension name
Mon, 02 Feb 2015 23:11:01 +0100 Edouard Tisserant py_ext user python code can now know about global variables shared with PLC. updated tests/python accordingly
Fri, 27 Sep 2013 16:22:40 +0200 Laurent Bessard Added support for loading XML file even if not following XSD schema (but still following XML syntax), warning user of errors in XML file
Wed, 11 Sep 2013 23:48:41 +0200 Laurent Bessard Fixed Beremiz for working with new xmlclass support using lxml
Thu, 16 May 2013 20:42:48 +0900 Edouard Tisserant Fixed GCC warnings when building stub code for python PLC globals access
Thu, 16 May 2013 14:46:20 +0900 Edouard Tisserant Fixed build error with python <-> PLCglobals variables declared with no initial value
Wed, 15 May 2013 23:11:49 +0200 Laurent Bessard Fixed bug when generating py_ext code when no variable defined
Wed, 15 May 2013 18:21:20 +0900 Edouard Tisserant Fixed PLC global var access from python. Added test in tests/python
Wed, 15 May 2013 17:13:49 +0900 Edouard Tisserant Added stub code and declarations for bidirectional access to PLC globals from python code (untested)
Tue, 14 May 2013 18:41:33 +0900 Edouard Tisserant Rewrote py_ext and wxglade generators in a clean factored way, added C skeleton for python access to PLC global vars
Mon, 13 May 2013 14:31:23 +0200 Laurent Bessard Fixed support for defining python runtime code using sections like in c_ext
Fri, 10 May 2013 13:15:18 +0200 Laurent Bessard Removed some prints for code debugging
Fri, 10 May 2013 13:07:26 +0200 Laurent Bessard Fixed generated code in py_ext runtime file