2020-05-26 Edouard Tisserant Solve import order problem when POULibrary imports ConfigTreeNode because of UserAddressedException. Now UserAddressedException is declared in POULibrary.py, as a quick and dirty fix, but some independant module should be created for beremiz exceptions in general.
2019-12-18 Edouard Tisserant Add --on-plc-start --on-plc-stop and --status-change to runtime command line, calling given command respectively on start stop or any event. Command line string is python formated (to eventually include status with {}) before being split (supports quoted strings) and passed to Popen for non-blocking execution.
2019-11-25 Edouard Tisserant Etherlab : Merged 2014-2018 changes from jblee and others
2019-11-25 Edouard Tisserant Close branch ethercat_from_kosmos ethercat_from_kosmos
2019-11-20 Edouard Tisserant EtherCat master plugin : commit changes recovered from KOSMOS 2018 installer, unkown author(s). ethercat_from_kosmos
2019-11-13 Edouard Tisserant Add FatalError() method to ConfigTreeNode.
2019-10-24 Edouard Tisserant Fixed one more sequel of marking temporary variables created while generating ST code out of FBD
2019-10-09 Edouard Tisserant Changed yslt_noindent.yml2 again
2019-09-25 Edouard Tisserant Non significant changes in generated xslt, side effect of changes in yslt_noindent.yml2
2019-09-19 Edouard Tisserant More customizations to yslt
2019-09-18 Edouard Tisserant PLCobject: Call "stop" and "cleanup" methods from python runtime files in reverse order compared to "init" and "start".
2019-09-11 Edouard Tisserant Non significant changes to mute GCC warnings about unused variables.
2019-09-05 Edouard Tisserant Fixed sequel of earlier commit in PLCGenerator.py. Some ref to temporary variables are still not using the _TMP_ prefix. They are quite hard to find, so to be continued...
2019-08-26 Edouard Tisserant variable access code moved from plc_debug.c to targets/var_access.c for easiewr re-use in ext.
2019-08-20 Edouard Tisserant Swap CTN code gen and Libraries code generation order. In general library part of an extension needs to be computed before CTN part.
2019-08-20 Edouard Tisserant yslt_noindent : Avoid YSLT's indent logic to interfere when using linequote.
2019-08-14 Edouard Tisserant Add marker to temporary variables created while generating ST code out of FBD, so that they can be recognized as such.
2019-08-12 Edouard Tisserant Allow using docutil.get_inkscape_path() on Linux also.
2019-08-09 Edouard Tisserant Moved XSLT model query python code so that XSLT part can be reused for other transformations
2019-09-24 Edouard Tisserant Fixed unitialized parameter in instances_path stylesheet, leading to
2019-07-14 Edouard Tisserant Fixed code quality according to pep8 and pylint.
2019-07-13 Edouard Tisserant Fix exception on exit in some case, sequel of an earlier cleanup commit I couldn't find back. Disconnecting the event is apparently the way to go. https://wiki.wxpython.org/Surviving%20with%20wxEVT%20KILL%20FOCUS%20under%20Microsoft%20Windows
2019-07-12 Edouard Tisserant PurgeBlobs was faulty, but it was never having anything to purge. Fixed.
2019-07-12 Edouard Tisserant Fixed repetitive freezing of IDE when connection drops.
2019-07-10 Edouard Tisserant Better error handling when blob transfer fail
2019-07-10 Edouard Tisserant Removed dead code.
2019-07-09 Edouard Tisserant Now expects 1 more columns in VARIABLE.CSV file generated by MatIEC. Pair with MatIEC commit 9cb7c8bf7dbc :
2019-06-18 Edouard Tisserant Merged workaround for loading bug happening after automatic resize of function blocks. It appears that some code in GraphicCommons.py loop endlessly when wires coordinate do not align with x or y axis. Those erroneous coordinate are now filtered out when loaded in the view.
2019-06-18 Edouard Tisserant Removed debug code and closed branch fix_fb_resize_wire_bug
2019-06-18 Edouard Tisserant GraphicCommons.py : Wire.SetPoints() move filtering before computation of Start and End points to avoid setting them with arbitrary directions. fix_fb_resize_wire_bug
2019-06-18 Edouard Tisserant GraphicCommons.py : rewrote Wire.Setpoints. fix_fb_resize_wire_bug
2019-06-13 Edouard Tisserant 'Change POU Type To' becomes 'Duplicate as...', avoiding side effects of type change when POU is already instanciated. Also remove leftover returType tag in ex-function POUs, triggering exceptions at build time.
2019-06-06 Edouard Tisserant Fix PLCObject's purge failing silently with extra_files.
2019-05-30 Edouard Tisserant LogMessage shouldn't be serialized (can lead to blocking in case of exception in main thread), and do not require it.
2019-05-30 Edouard Tisserant Fixed typo leading to some exception in some rare corner cases in worker.py
2019-04-23 Edouard Tisserant Added missing 'path' field to WAMP addresses in URI editor.
2019-04-23 Edouard Tisserant Fixed exception when using URI editor for PYRO addresses
2019-04-19 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.
2019-04-19 Edouard Tisserant Add Repair() to WAMP interface
2019-04-18 Edouard Tisserant Merged fix_PLC_runtime_shutdown
2019-04-18 Edouard Tisserant Close fix_PLC_runtime_shutdown fix_PLC_runtime_shutdown
2019-04-18 Edouard Tisserant Runtime worker : unblock the last waiting job and prevent any new job to wait when Main Worker is being shut down. fix_PLC_runtime_shutdown
2019-04-18 Edouard Tisserant Add some "pipe to self" trick in Pyro server to accelerate runtime shutdown instead of waiting for arbitrary pyro timeout. fix_PLC_runtime_shutdown
2019-04-18 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
2019-04-18 Edouard Tisserant Enure that all threads are joined before trying to exit fix_PLC_runtime_shutdown
2019-04-17 Edouard Tisserant Named runtime's threads to ease debugging
2019-04-17 Edouard Tisserant Added Repair() png icon
2019-04-16 Edouard Tisserant pep8 again...
2019-04-16 Edouard Tisserant PEP8 fix : ./connectors/PYRO/PSK_Adapter.py:49:1: E302 expected 2 blank lines, found 1
2019-04-16 Edouard Tisserant Added RepairPLC() to PLCObject. For now just calling PurgePLC and quit PLC runtime.
2019-04-16 Edouard Tisserant Ensure Beremiz_service.py quits properly when Main Worker stops and wa are using Wx and/or Twisted.
2019-04-15 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.
2019-04-11 Edouard Tisserant Background erase of debug variable panel was disabled for some reason, and it not anymore compatible with EVT_PAINT based refresh. It was leaving traces behind when removing traced variable. Fixed.
2019-04-11 Edouard Tisserant force redraw only through EVT_PAINT event and use wxPaintDC, as described in wx documentation
2019-04-11 Edouard Tisserant Fixed refresh problem following 9c5f835b031e, 9622418ac28c, c67488bd8134 : force redraw only through EVT_PAINT event and use wxPaintDC, as described in wx documentation
2019-04-11 Edouard Tisserant merged
2019-04-10 Edouard Tisserant Nicer name than 'var_name' for variable auto-renaming in Modbus
2019-04-10 Edouard Tisserant Allow starting IDE without sslpsk module installed. Fail when connecting to PYROS if sslpsk unavailable.
2019-04-09 Edouard Tisserant Fixed preview drawing/refresh problem in sfc/ld/fbd graphical element creation dialogs on windows (introduced in 9c5f835b031e, continuation of 9622418ac28c)
2019-04-09 Edouard Tisserant pep8 white spaces