beremiz
Clone
Summary
Browse
Changes
Graph
pep8 and pylint hate me
2018-03-01, Edouard Tisserant
ce1bfd04b3f6
Fixed typo introduced in 5736d25bb393
2018-02-28, Edouard Tisserant
67f0d7ff7d3e
GetEditedElementInstancesInfos now optimized as well. Forgotten because not using [R.I.P]LibraryResolver, but still XSLT compiling was hapenning on each call.
2018-02-23, Edouard Tisserant
2d1cc4f5e4ef
Another attempt to make BitBuket's version of pylint happy.
2018-02-20, Edouard Tisserant
2b90514edfbf
Attempt to make BitBuket's version of pep8 and pylint happy.
2018-02-20, Edouard Tisserant
a1ea9856013a
Removed dead slow code
2018-02-20, Edouard Tisserant
b113d7de4899
PEP8 and PyLint conformance: whitespaces and stuff
2018-02-20, Edouard Tisserant
5736d25bb393
Copy pasted, no time wasted !
2018-02-20, Edouard Tisserant
0c20fc810d61
GetVariableDictionary and GetPouInterfaceReturnType optimized with new VariableInfoCollector based on XSLTModelQuery. Moved corresponding definitions out of PLCControler.py.
2018-02-20, Edouard Tisserant
bbd1e1744c91
GetPouInstanceTagName optimized with XSLTModelQuery.
2018-02-19, Edouard Tisserant
752ec68da94d
Better writing of some xpath added in previous commits about XSLT optimization.
2018-02-19, Edouard Tisserant
c266fbaae0f6
Moved some definitions away from controller class, and adaped references them through all code.
2018-02-19, Edouard Tisserant
b9a3f771aaab
Hook Beremiz Launcher AppStart to AdvancedSplash OnPaint event in order to ensure image is beeing displayed before loading.
2018-02-19, Edouard Tisserant
7c2cd9d33070
Avoid endline escaping in multiline xpath epressions in xslt. ' ' Is apparently ignored but never know...
2018-02-18, Edouard Tisserant
95fa4e05e30f
Fixed earlier XSLT optimizations. Some/most results were missing.
2018-02-18, Edouard Tisserant
90bf6bd94b94
Moved some code from PLCController.py to other modules. Added necessary imports.
2018-02-18, Edouard Tisserant
6162e34fb246
GetPouVariables optimized with XSLTModelQuery
2018-02-17, Edouard Tisserant
9dc0e38552b2
Added /plcopen/InstancesPathCollector.py, to move more model xslt querying code away from PLCController.py.
2018-02-17, Edouard Tisserant
a4382ae1ba82
Fixed Exception dialog disapearing after a view second when exception occurs during app startup.
2018-02-16, Edouard Tisserant
cde74a39df51
Moved XSLTModelQuery class to own module in plcopen package.
2018-02-16, Edouard Tisserant
8dc4ebc97777
Added a class to speedup all XSLT queries. WIP, now only for instances_path.xslt / GetInstanceList()
2018-02-16, Edouard Tisserant
db478d17bc3a
Stripped useless node creation in instances_path stylesheet.
2018-02-16, Edouard Tisserant
87136f8697e3
This should really help GetInstanceList to perform better: resolver removed, no more deepcopy, no more useless xml serialization, no more node-set() calls.
2018-02-16, Edouard Tisserant
986dbad48ab7
YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
2018-02-16, Edouard Tisserant
b85b13b1c2ec
Prevent compiling XSLT on each call of GetInstanceList. To be continued. More optimization needed here. 100x would be fine...
2018-02-16, Edouard Tisserant
f2b0d849ea77
Changed meaning of -c commandline argument for Beremiz service : only gives DEFAULT wamp config.
2018-02-14, Edouard Tisserant
67b06b30f2bd
Factorized duplicated code
2018-02-14, Edouard Tisserant
cef288644088
Better variable naming, and small optimization.
2018-02-14, Edouard Tisserant
65d2dbbf7022
Unclutter graphics package scope.
2018-02-13, Edouard Tisserant
7e6b03251bfe
Removed dead code
2018-02-13, Edouard Tisserant
e6de7df5f401
Fixed pyro timeout for runtime, was set too short and runtime was disconnecting when building PLC
2018-02-12, Edouard Tisserant
ed95aa627647
Ask to stop PLC before transfer if it is running
2018-02-12, Edouard Tisserant
ef6902c824f2
Factorized some repeated refresh code into a method, to allow customisation.
2018-02-12, Edouard Tisserant
5def24850a28
Launcher : add a debug attribute, instead of BMZ_DBG, so that customization can use it.
2018-02-05, Edouard Tisserant
d430a67c8462
Stripped old dead code.
2018-02-02, Edouard Tisserant
ecc53c5e6817
More changes in Launcher. Modules to be loaded in the background are given in a list, and assigned as object attributes. Also splitted CreateUI into CloseSplashScreen and CreatueUI.
2018-02-02, Edouard Tisserant
fc67b02d44e0
ClassImporter now accepts string, callable or class, for compatibility with some old extensions.
2018-02-02, Edouard Tisserant
65edbc03fdbf
Launcher: ShowUI call moves from preStart to start. ShowUI() split into CreateUI() and ShowUI(). Start()'s arguments are passed to CreateUI()
2018-02-02, Edouard Tisserant
5353f4086a45
Launcher: allows customizations to specify what globals passed to extensions
2018-02-02, Edouard Tisserant
cf54939e6b0c
Documentation
2018-02-02, Edouard Tisserant
584ad449ee58
Another set of meaningless changes to satisfy PEP8 and PyLint.
2018-02-01, Edouard Tisserant
ccea0fa6ea91
PEP8 conformity for modbus. Most of it done by autopep8, plus some easy refactoring.
2018-01-31, Edouard Tisserant
e7b6478b4ebc
Add some class factory function to ease declaration of simple POU libraries in customizations (i.e. TC6 XML file only, no special C code generation)
2018-01-31, Edouard Tisserant
d51d14719392
Small pep8 conformity enforcement.
2018-01-31, Edouard Tisserant
b69bea00765a
Better have globals passed to python extensions (-e) than locals.
2018-01-31, Edouard Tisserant
bdec3f1a40e7
launcher : move call to ShowSplashScreen and BackgroundInitialization to PreStart()
2018-01-31, Edouard Tisserant
99f8cfa80b15
modbus extension code cleanup, from smarteh's patch
2018-01-30, Edouard Tisserant
338e2f51b685
Merged Mario's modbus branch. Fixed line endings.
2018-01-30, Edouard Tisserant
8391c11477f4
merge
2017-03-24, Mario de Sousa
c1298e7ffe3a
Ignore bug report files.
2017-03-05, Mario de Sousa
a375e31bf312
Add support for Modbus (TCP and RTU) working as master & slave
2017-03-05, Mario de Sousa
bb883e063175
merge
2018-01-29, Edouard Tisserant
d0b1ffcb9368
Textviewer : moved call to Colourise in a better place, so that ST highlighting gets also updated when typing in some case, not only IL
2018-01-29, Edouard Tisserant
7dd49b65208b
fixed erro introduced 2 commits ago (-e) : tuples have no reverse() method
2018-01-24, Edouard Tisserant
9d17b9d91697
Trying to get better logging/display of exceptions at runtime's startup
2018-01-24, Edouard Tisserant
60edd0c901f1
Changed way to deal with extensions arguments (-e) so that path and filename are stored independently and accessible for extensions themselves.
2018-01-24, Edouard Tisserant
87c908079bc6
Main runtime template C code : Added HAVE_RETAIN preprocessor definition for customized build to signal it provides IEC-61131 Retain memory handling function. Removed targets/Xenomai/plc_Xenomai_noretain.c, now useless.
2018-01-19, Edouard Tisserant
084256be3658
Clarify licensing, and packaging of runtime only files :
2018-01-15, Edouard Tisserant
2b7e2db31d81
Enforced check_source.sh pep8 and pylint rules.
2018-01-11, Edouard Tisserant
e8cf68d69447
runtime/WAMP: Fixed secret loading into configuration. Fixed secret commandline switch handling.
2018-01-11, Edouard Tisserant
9d1547578f55