Commit Graph

13 Commits

Author SHA1 Message Date
Stefan Profanter
81148ab1eb Fix various python code quality issues
See also https://lgtm.com/projects/g/open62541/open62541/alerts
2018-11-28 16:12:12 +01:00
Stefan Profanter
9ace34e2af NodesetCompiler: Support multiple backends on command line and fix graphviz 2018-11-08 11:44:46 +01:00
Yekta Nizamoğlu
8158f37248 NodesetCompiler use Byte array instead of string (#1621)
* Use byte array instead of string

fixes #1254

The huge strings are changed as arrays of ASCII values of each element inside for ByteArrays. And also some implementations are done due to task.

* Remove max-string-length parameter for nodeset compiler

* Flush nodeset generated file to avoid buffer race conditions

* Use global variables for byte array to improve performance
2018-07-31 16:50:21 +02:00
Stefan Profanter
d8d36f2902
Set nodeset max binary encoding size 2018-04-17 08:49:32 +02:00
Stefan Profanter
1bd6943acf Set default logging level to error 2018-04-09 09:26:28 +02:00
Stefan Profanter
0dd0f444b4 Use _begin and _finish methods to ensure inherited children are not created multiple times
fixes #1547
2018-02-02 11:39:12 +01:00
Julius Pfrommer
c4c2c6f316 set executable bit on python scripts 2018-01-06 10:40:42 +01:00
Stefan Profanter
a4d0ea98ab
Python improvements
Use StringIO and fix python3 build
2017-10-12 17:26:31 +02:00
Stefan Profanter
2f9a1ce242
Use ua-nodeset repository instead of local nodeset copy
Add unit test and example for PLCopen
2017-10-12 17:26:31 +02:00
Stefan Profanter
e5ef960ec5
Split long string literals into shorter ones
This is necessary to circumvent "string is too big" errors in VS2008
2017-10-12 17:25:07 +02:00
Stefan Profanter
c504699ff2
Fix memory leaks and compile errors 2017-10-12 17:25:07 +02:00
Stefan Profanter
9d582a7d13
Fix node ordering and successfully generate code for full NS0 2017-10-12 17:25:07 +02:00
Julius Pfrommer
0e9b6caeb2
Basis for server bootstrapping 2017-10-12 17:25:06 +02:00