runtime/PLCObject.py
Wed, 18 Sep 2019 11:03:56 +0200 Edouard Tisserant PLCobject: Call "stop" and "cleanup" methods from python runtime files in reverse order compared to "init" and "start".
Sun, 14 Jul 2019 08:43:12 +0200 Edouard Tisserant Fixed code quality according to pep8 and pylint.
Fri, 12 Jul 2019 11:53:04 +0200 Edouard Tisserant PurgeBlobs was faulty, but it was never having anything to purge. Fixed.
Thu, 06 Jun 2019 14:03:16 +0200 Edouard Tisserant Fix PLCObject's purge failing silently with extra_files.
Thu, 30 May 2019 11:53:13 +0200 Edouard Tisserant LogMessage shouldn't be serialized (can lead to blocking in case of exception in main thread), and do not require it.
Fri, 19 Apr 2019 13:11:42 +0200 Edouard Tisserant Avoid loading PLC at startup when autostart is not set in command line. As a side effect PLC status is artificially set to Stopped, and StartPLC eventually loads PLC if it is not already loaded.
Thu, 18 Apr 2019 14:32:43 +0200 Edouard Tisserant If call to GetPLCstatus can't be executed in PLC, then obtained status is disconnected. Status on "None" is not relevant anymore, and is replaced by Disconnected. fix_PLC_runtime_shutdown
Wed, 17 Apr 2019 14:18:22 +0200 Edouard Tisserant Named runtime's threads to ease debugging
Tue, 16 Apr 2019 11:26:52 +0200 Edouard Tisserant Added RepairPLC() to PLCObject. For now just calling PurgePLC and quit PLC runtime.
Mon, 15 Apr 2019 13:34:09 +0200 Edouard Tisserant Added PurgePLC() method to PLCObject, to be invoked when PLC Status is broken. It clears PLC shared object an extra files and force status to Empty. Added correponding Repair button to toolbar, visible only when PLC status is broken.
Tue, 09 Apr 2019 13:18:51 +0200 Edouard Tisserant pep8 white spaces
Tue, 09 Apr 2019 13:05:35 +0200 Edouard Tisserant Continue fixing deadlock of previous commit, this time occuring when waiting for 'cleanup' python runtime call to finish. Now 'init' and 'cleanup' python runtime calls are called directly from main thread, and aren't anymore invoked in the context of wxMainloop and/or twisted reactor.
Tue, 09 Apr 2019 09:13:55 +0200 Edouard Tisserant Fix deadlock when indirectly calling PLCObject's evaluator() from twisted of wx event loops. Was freezing while transfer/start/stop through Wamp. Serialize all PLCObject's call to self.PythonRuntimeCall into the same PythonThread thread.
Mon, 18 Mar 2019 12:07:49 +0300 Andrey Skvortsov Fix pylint warning [C0325(superfluous-parens), ] Unnecessary parens after u'if' keyword
Wed, 13 Mar 2019 14:11:13 +0300 Andrey Skvortsov Replace md5 module with hashlib
Wed, 13 Mar 2019 11:47:03 +0300 Andrey Skvortsov Fix various pylint and pep8 errors
Mon, 11 Mar 2019 01:03:32 +0100 Edouard Tisserant check_sources.sh makes me become even less productive
Wed, 13 Feb 2019 09:41:35 +0100 Edouard Tisserant Reworked chunk based transfer to support duplicated files (i.e. files with same content, but different names)
Fri, 01 Feb 2019 14:14:13 +0100 Edouard Tisserant Fixed deadlock in runtime's Worker. Was discovered while using WAMP and PYRO simultaneously.
Thu, 31 Jan 2019 14:10:06 +0100 Edouard Tisserant Add a debugger token to SetTraceVariables and GetTraceVariables to prevent crash an inconsistant data in case of multiple connections. Last connection now takes over existing connections's debug, and first connected IDE gets a wrning.
Tue, 04 Dec 2018 11:31:58 +0100 Edouard Tisserant Chunk based transfer for PLC binary and extra files, and some collateral code refactoring.
Fri, 23 Nov 2018 12:13:24 +0100 Edouard Tisserant Merged. Some changes that should already have been incuded during previous merge (mostly about PlcStatus) have been included this time.
Wed, 10 Oct 2018 10:26:27 +0300 Andrey Skvortsov python3 support: pylint, W1606 # (execfile-builtin) execfile built-in referenced
Tue, 09 Oct 2018 14:03:44 +0300 Andrey Skvortsov python3 support: pylint, W1607 # (file-builtin) file built-in referenced
Thu, 04 Oct 2018 12:07:16 +0300 Andrey Skvortsov python3 support: pylint, W1613 # (xrange-builtin) xrange built-in referenced
Thu, 04 Oct 2018 11:25:42 +0300 Andrey Skvortsov python3 support: pylint, W1648 # (bad-python3-import) Module moved in Python 3
Fri, 23 Nov 2018 00:33:04 +0100 Edouard Tisserant Merge, with surprizingly little conflicts
Wed, 03 Oct 2018 11:44:57 +0300 Andrey Skvortsov Fix old style exception raise and exec syntax
Tue, 02 Oct 2018 18:08:49 +0300 Andrey Skvortsov Use python 3 compatible exception syntax everywhere
Tue, 02 Oct 2018 16:53:14 +0300 Andrey Skvortsov Use predefined constants for PlcStatus instead of string literals
Mon, 29 Oct 2018 11:33:36 +0100 Edouard Tisserant Automatically get PSK and ID when connecting to PYRO[S], so that future connection through PYROS can use that same key. Also fixed case to UPPER for *PSK.
Wed, 03 Oct 2018 00:05:32 +0200 Edouard Tisserant Please pylint and pep8
Tue, 21 Aug 2018 16:11:02 +0200 Edouard Tisserant Refactoring. Separated PLC Object, PYRO Server and MainWorker :
Thu, 19 Apr 2018 14:53:42 +0200 Edouard Tisserant PEP-8 and PyLint
Thu, 19 Apr 2018 12:22:40 +0200 Edouard Tisserant Rework of runtime non-real-time threading, and shared object dynamic loading :
Tue, 17 Apr 2018 11:19:18 +0200 Edouard Tisserant Stripped forgotten debug code
Mon, 16 Apr 2018 16:11:18 +0200 Edouard Tisserant Fixed Xenomai 3 PLC stop freeze. Now use explicit finish command with pipes. Closing both ends of pipes doesn't abort blocking read anymore.
Sat, 14 Apr 2018 10:09:33 +0200 Edouard Tisserant PLCObject got more methods serialized through worker : Start, Stop, NewPLC.
Fri, 13 Apr 2018 00:29:52 +0200 Edouard Tisserant Fixed implementation of runtime worker that ensure that PLCObject Load and Unload methods always run main thread.
Thu, 12 Apr 2018 22:20:38 +0200 Edouard Tisserant Intermediate state while implementing runtime worker to ensure that PLCObject Load and Unload methods always run main thread.
Thu, 12 Apr 2018 16:38:09 +0200 Edouard Tisserant Stripped more dead code.
Tue, 20 Feb 2018 15:09:01 +0100 Edouard Tisserant Another attempt to make BitBuket's version of pylint happy.
Tue, 20 Feb 2018 14:46:12 +0100 Edouard Tisserant Attempt to make BitBuket's version of pep8 and pylint happy.
Thu, 01 Feb 2018 14:51:18 +0100 Edouard Tisserant Another set of meaningless changes to satisfy PEP8 and PyLint.
Wed, 24 Jan 2018 15:44:36 +0100 Edouard Tisserant Trying to get better logging/display of exceptions at runtime's startup
Mon, 15 Jan 2018 14:43:53 +0100 Edouard Tisserant Clarify licensing, and packaging of runtime only files :
Wed, 25 Oct 2017 13:50:26 +0300 Andrey Skvortsov fix pylint py3k conversion warning: "(no-absolute-import) import missing `from __future__ import absolute_import`"
Thu, 19 Oct 2017 11:03:03 +0300 Andrey Skvortsov fix pylint warning '(bad-continuation) Wrong hanging indentation before block'
Wed, 11 Oct 2017 13:15:21 +0300 Andrey Skvortsov fix pylint error '(no-self-argument) Method should have "self" as first argument'
Fri, 06 Oct 2017 17:52:34 +0300 Andrey Skvortsov fix pylint warning '(unused-import), Unused import connectors'
Thu, 05 Oct 2017 16:38:49 +0300 Andrey Skvortsov explicitly mark unused variables found by pylint with _ or dummy
Tue, 03 Oct 2017 16:31:31 +0300 Andrey Skvortsov remove unused variables found by pylint
Thu, 28 Sep 2017 15:17:57 +0300 Andrey Skvortsov fix wrong-import-order. first standard modules are imported, then others
Thu, 28 Sep 2017 12:20:40 +0300 Andrey Skvortsov fix (old-style-class) Old-style class defined error for most parts of
Mon, 21 Aug 2017 22:41:37 +0300 Andrey Skvortsov clean-up: fix PEP8 E402 module level import not at top of file
Sat, 19 Aug 2017 18:12:20 +0300 Andrey Skvortsov clean-up: fix PEP8 E722 do not use bare except'
Fri, 18 Aug 2017 20:14:38 +0300 Andrey Skvortsov clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Fri, 18 Aug 2017 12:36:31 +0300 Andrey Skvortsov clean-up: fix PEP8 E127 continuation line over-indented for visual indent
Thu, 17 Aug 2017 10:08:23 +0300 Andrey Skvortsov clean-up: fix PEP8 E262 inline comment should start with '# '
Wed, 16 Aug 2017 12:53:23 +0300 Andrey Skvortsov clean-up: fix PEP8 E306 expected 1 blank line before a nested definition, found X