Wed, 10 Mar 2021 09:59:18 +0100 |
Edouard Tisserant |
Runtime: Added PostStart methot to PLCObject, called after PLC is started, with all libraries and python object already created, and python extensions "Start" methods being called.
|
file |
diff |
annotate
|
Tue, 23 Feb 2021 16:16:12 +0100 |
Edouard Tisserant |
PLCObject : Ensure that PreStart is executed before starting PLC. Also, make sure that python thread doesn't enter in a start/stop loop when ordered to stop.
|
file |
diff |
annotate
|
Tue, 22 Dec 2020 14:53:15 +0100 |
Edouard Tisserant |
Runtime: change PLCObject 'BlobAsFile' method to allow customization by overriding
|
file |
diff |
annotate
|
Thu, 10 Dec 2020 14:54:42 +0100 |
Edouard Tisserant |
Fixed "Onchange" object added in previous commit
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
Thu, 10 Sep 2020 16:08:26 +0200 |
Edouard Tisserant |
Runtime/PLCObject : move call to PreStartPLC right after call to the "start" method of all python extensions, and then just before the start of the python loop executing python_* blocks.
|
file |
diff |
annotate
|
Fri, 19 Jun 2020 11:07:25 +0200 |
Edouard Tisserant |
Runtime: Fix typo in PLCObject leading to exception when reporting failure.
|
file |
diff |
annotate
|
Tue, 16 Jun 2020 15:53:52 +0200 |
Tomaz Orac |
Merge
|
file |
diff |
annotate
|
Fri, 12 Jun 2020 10:30:23 +0200 |
Edouard Tisserant |
BACnet and Modbus: Remove additional loading and unloading, use the one already in place for extensions.
|
file |
diff |
annotate
|
Tue, 02 Jun 2020 13:37:34 +0200 |
Edouard Tisserant |
Runtime: create .md5 file at the end of all transfered files being written to disk, so that it presence indicates completeness of transfer.
|
file |
diff |
annotate
|
Thu, 28 May 2020 11:15:22 +0100 |
Mario de Sousa |
BACnet plugin: Add web interface for online parameter configuration
|
file |
diff |
annotate
|
Mon, 01 Jun 2020 14:47:31 +0200 |
Edouard Tisserant |
Runtime: fsync() files when transfering them, to prebent data loss when poweroff soon after programming. Fixed variable naming as a side effect.
|
file |
diff |
annotate
|
Thu, 28 May 2020 11:38:09 +0200 |
Edouard Tisserant |
PLCObject : reorganize code in StartPLC(), add a PreStartPLC() empty method, to be overloaded by runtime extensions.
|
file |
diff |
annotate
|
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".
|
file |
diff |
annotate
|
Sun, 14 Jul 2019 08:43:12 +0200 |
Edouard Tisserant |
Fixed code quality according to pep8 and pylint.
|
file |
diff |
annotate
|
Fri, 12 Jul 2019 11:53:04 +0200 |
Edouard Tisserant |
PurgeBlobs was faulty, but it was never having anything to purge. Fixed.
|
file |
diff |
annotate
|
Thu, 06 Jun 2019 14:03:16 +0200 |
Edouard Tisserant |
Fix PLCObject's purge failing silently with extra_files.
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
Wed, 17 Apr 2019 14:18:22 +0200 |
Edouard Tisserant |
Named runtime's threads to ease debugging
|
file |
diff |
annotate
|
Tue, 16 Apr 2019 11:26:52 +0200 |
Edouard Tisserant |
Added RepairPLC() to PLCObject. For now just calling PurgePLC and quit PLC runtime.
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
Tue, 09 Apr 2019 13:18:51 +0200 |
Edouard Tisserant |
pep8 white spaces
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
Mon, 18 Mar 2019 12:07:49 +0300 |
Andrey Skvortsov |
Fix pylint warning [C0325(superfluous-parens), ] Unnecessary parens after u'if' keyword
|
file |
diff |
annotate
|
Wed, 13 Mar 2019 14:11:13 +0300 |
Andrey Skvortsov |
Replace md5 module with hashlib
|
file |
diff |
annotate
|
Wed, 13 Mar 2019 11:47:03 +0300 |
Andrey Skvortsov |
Fix various pylint and pep8 errors
|
file |
diff |
annotate
|
Mon, 11 Mar 2019 01:03:32 +0100 |
Edouard Tisserant |
check_sources.sh makes me become even less productive
|
file |
diff |
annotate
|
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)
|
file |
diff |
annotate
|
Fri, 01 Feb 2019 14:14:13 +0100 |
Edouard Tisserant |
Fixed deadlock in runtime's Worker. Was discovered while using WAMP and PYRO simultaneously.
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
Tue, 04 Dec 2018 11:31:58 +0100 |
Edouard Tisserant |
Chunk based transfer for PLC binary and extra files, and some collateral code refactoring.
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
Wed, 10 Oct 2018 10:26:27 +0300 |
Andrey Skvortsov |
python3 support: pylint, W1606 # (execfile-builtin) execfile built-in referenced
|
file |
diff |
annotate
|
Tue, 09 Oct 2018 14:03:44 +0300 |
Andrey Skvortsov |
python3 support: pylint, W1607 # (file-builtin) file built-in referenced
|
file |
diff |
annotate
|
Thu, 04 Oct 2018 12:07:16 +0300 |
Andrey Skvortsov |
python3 support: pylint, W1613 # (xrange-builtin) xrange built-in referenced
|
file |
diff |
annotate
|
Thu, 04 Oct 2018 11:25:42 +0300 |
Andrey Skvortsov |
python3 support: pylint, W1648 # (bad-python3-import) Module moved in Python 3
|
file |
diff |
annotate
|
Fri, 23 Nov 2018 00:33:04 +0100 |
Edouard Tisserant |
Merge, with surprizingly little conflicts
|
file |
diff |
annotate
|
Wed, 03 Oct 2018 11:44:57 +0300 |
Andrey Skvortsov |
Fix old style exception raise and exec syntax
|
file |
diff |
annotate
|
Tue, 02 Oct 2018 18:08:49 +0300 |
Andrey Skvortsov |
Use python 3 compatible exception syntax everywhere
|
file |
diff |
annotate
|
Tue, 02 Oct 2018 16:53:14 +0300 |
Andrey Skvortsov |
Use predefined constants for PlcStatus instead of string literals
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
Wed, 03 Oct 2018 00:05:32 +0200 |
Edouard Tisserant |
Please pylint and pep8
|
file |
diff |
annotate
|
Tue, 21 Aug 2018 16:11:02 +0200 |
Edouard Tisserant |
Refactoring. Separated PLC Object, PYRO Server and MainWorker :
|
file |
diff |
annotate
|
Thu, 19 Apr 2018 14:53:42 +0200 |
Edouard Tisserant |
PEP-8 and PyLint
|
file |
diff |
annotate
|
Thu, 19 Apr 2018 12:22:40 +0200 |
Edouard Tisserant |
Rework of runtime non-real-time threading, and shared object dynamic loading :
|
file |
diff |
annotate
|
Tue, 17 Apr 2018 11:19:18 +0200 |
Edouard Tisserant |
Stripped forgotten debug code
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
Sat, 14 Apr 2018 10:09:33 +0200 |
Edouard Tisserant |
PLCObject got more methods serialized through worker : Start, Stop, NewPLC.
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
Thu, 12 Apr 2018 16:38:09 +0200 |
Edouard Tisserant |
Stripped more dead code.
|
file |
diff |
annotate
|
Tue, 20 Feb 2018 15:09:01 +0100 |
Edouard Tisserant |
Another attempt to make BitBuket's version of pylint happy.
|
file |
diff |
annotate
|
Tue, 20 Feb 2018 14:46:12 +0100 |
Edouard Tisserant |
Attempt to make BitBuket's version of pep8 and pylint happy.
|
file |
diff |
annotate
|
Thu, 01 Feb 2018 14:51:18 +0100 |
Edouard Tisserant |
Another set of meaningless changes to satisfy PEP8 and PyLint.
|
file |
diff |
annotate
|
Wed, 24 Jan 2018 15:44:36 +0100 |
Edouard Tisserant |
Trying to get better logging/display of exceptions at runtime's startup
|
file |
diff |
annotate
|
Mon, 15 Jan 2018 14:43:53 +0100 |
Edouard Tisserant |
Clarify licensing, and packaging of runtime only files :
|
file |
diff |
annotate
|
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`"
|
file |
diff |
annotate
|