Mebus
fd42e227e0
refactor(build): Change the Python shebangs to Python version 3 ( #3911 )
2020-09-25 14:19:45 +02:00
Wouter Nuyts
596a998d3f
fix(nc): correct nested datatype definition parsing
...
The nodeset_compiler parsing code now correctly constructs the `__definition__`
Python attribute of a `DataTypeNode` if the input UANodeSetXML satisfies the following conditions:
1. The nodeset contains a datatype node in which another datatype node is nested.
2. The enclosing datatype node is located before the nested datatype in the UANodeSetXML.
Fixes #3716
2020-06-17 15:20:25 +02:00
Silvio Traversaro
2d70f1eef3
feat(nc): add support for reading Historizing attribute in UAVariable
...
Parsing of UAVariable xml element now also supports Historizing attribute
Closes https://github.com/open62541/open62541/issues/2516
2019-09-18 06:05:25 +02:00
Stefan Profanter
01fae7b5b4
Merge remote-tracking branch '1.0' into master
2019-09-02 14:34:18 +02:00
Stefan Profanter
2d9b25905e
fix: nodeset compiler ignore SymbolicName attribute to disable warning
2019-08-30 21:27:29 +02:00
Stefan Profanter
9bdd6c3f74
fix: Nodeset compiler correctly parse default field datatype
2019-08-30 15:48:44 +02:00
Julius Pfrommer
51ed5301ef
NodeSetCompiler: Pull NamespacMapping out of datatypes.py
2019-08-17 12:09:31 +02:00
ichrispa
12980441bc
Unify license headers
2019-08-14 13:38:07 +02:00
Stefan Profanter
71d206c202
NodesetCompiler: Correct inheritance of Variable DataType and ValueRank
2019-05-08 09:07:38 +02:00
Stefan Profanter
feba0f6158
NodesetCompiler: Handle value encoding correctly and clean up code
2019-05-08 09:07:38 +02:00
Jannis Voelker
0c14cf1692
Add all attributes of VariableType nodes in the nodeset compiler
...
The compatibleDataType check in ua_services_attribute.c is updated
to support multiple levels of subtypes.
2019-05-08 09:07:38 +02:00
Stefan Profanter
fffb2f4a28
Nodeset: Support empty display name and use BrowseName as default value
...
See https://github.com/open62541/open62541/issues/2627
With this commit we support optional display name in the NodeSet2.xml.
If it is not given, we take the name part of the BrowseName.
2019-04-10 06:20:17 +00:00
matkonnerth
6afa8c0fdf
NodesetCompiler: enhancement for extension objects, array initialization
...
changes to testnodeset.xml
geändert: ../examples/nodeset/testnodeset.xml
NodesetCompiler: generate code for array within ExtensionObject
first prototype
generate nested array code
prototype nested array
added array1size
fix nodeset.xml
nodes
get the right type array
fixed datatypes.py
cleanup
cleanup debug comments
remove whitespace
remove trailing whitespaces
2019-02-25 18:26:14 +01:00
Stefan Profanter
24c1df4161
NodesetCompiler: Correctly map namespace for extension object type id
2019-02-09 10:52:46 +01:00
Stefan Profanter
064cf25800
NodesetCompiler: Add support for OptionSet
...
Fixes #2300
2019-01-31 13:47:40 +01:00
Ralph Lange
762d391990
NodesetCompiler: fix python shebang lines
2019-01-25 21:48:51 +01:00
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
e1b11ea2e7
NodesetCompiler: Correctly handle namespace mapping for encoded objects. Fixes #2137
2018-11-02 10:36:56 +01:00
Stefan Profanter
824cae8fd0
NodesetCompiler: Hide valueRank not supported warning
...
The valueRank for data types is currently not used in the nodeset compiler
and thus we can hide the warning. The rest of the code still works.
This valueRank attribute should then later on be used when creating
data type definitions on the fly with fixed array size instead of malloc
arrays.
2018-11-02 10:36:10 +01:00
Julius Pfrommer
043a151047
NodesetCompiler: Remove numeric NodeClass representation; Remove constants.py
2018-06-01 18:37:15 +02:00
Jannis Voelker
4849d4b30a
Add multi-dimensional array support for VariableNode code generation
...
This patch enables the nodeset compiler to create c code for VariableNode
instances with arrayDimensions.
2018-05-22 09:52:03 +02:00
Julius Pfrommer
1473e47792
Prefer HasSubtype for the parent ref
2018-04-09 09:26:28 +02:00
Julius Pfrommer
62e0c0ab40
Nodeset: Fix parsing the EventNotifier attribute of Views
2018-04-09 09:26:28 +02:00
Julius Pfrommer
9d8157ddf2
Nodset compiler: Support aliases for all uses of NodeIds
2018-04-09 09:26:28 +02:00
Julius Pfrommer
f777fe276a
Simplify node sorting rules in the nodeset compiler
2018-04-04 13:31:01 +02:00
Stefan Profanter
2706aac3a2
Include node ids in error output
2018-02-27 22:04:46 +01:00
tbeu
983f956003
Fix typos
2017-12-13 09:15:49 +01:00
Stefan Profanter
bcd3e49656
Support DateTime as value and fix parsing of date values
2017-10-16 15:27:36 +02:00
Stefan Profanter
0f5d0af2fa
Set abstract flag for VariableType nodes
2017-10-12 17:26:32 +02: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
b4d3b0dab5
Add unit test for nodeset compiler and fix additional bugs
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