1. 10 Dec, 2016 1 commit
  2. 09 Dec, 2016 1 commit
  3. 08 Dec, 2016 1 commit
  4. 07 Dec, 2016 3 commits
  5. 05 Dec, 2016 1 commit
  6. 03 Dec, 2016 1 commit
    • Marcel's avatar
      set default access level of nodes to read (#381) · 63a85c15
      Marcel authored
      * set default access level of nodes to read
      
      * Revert "set default access level of nodes to read"
      
      This reverts commit c345470e8abc7bfa7594143b22570006b9e4754d.
      
      * set default access level of nodes to read
      63a85c15
  7. 01 Dec, 2016 1 commit
  8. 30 Nov, 2016 1 commit
    • Maxime Puys's avatar
      Removed duplicate code from XML parser (#376) · 2f95353a
      Maxime Puys authored
      * Added: handling of Byte, SByte and DateTime convertion from ua to python
      
      * log nodeid in addressspace
      
      * Updated: Removed some duplicate xml parsing.
      
      _parse_value was parsing the child of a node as a constant.
      Making it parse a node directly and not its child allows recursive calls
      to parse ListOf elements.
      _parse_containted_value as been added as a wrapper to obtain former
      behavior.
      Now ua_type_to_python is simply a wrapper to ua_utils.string_to_val and
      _to_bool a wrapper to ua_type_to_python.
      All value parsing is performed by ua_utils.string_to_value.
      Missing types have been listed as FIXME.
      
      * Added: tests for XML parsing.
      
      Added some tests in tests/tests_xml.py for datatype DateTime (+list),
      QualifiedName (+list), ListOfGuid and ListOfExtensionObjects.
      Few tweaks in xmlimporter: (i) DateTime is now parsed in string_to_val
      and double parsing was causing an error, (ii) single Guid were converted
      to UUID while lists were not by default list case.
      Another possibility would be either to make the conversion to UUID in xmlparser
      or to make the _add_variable_value also recursive but I'm not sure of
      other possible consequences.
      Finaly it seems according to specs that all DateTime should be timezone
      aware so I forced UTC when a timezone was not precised.
      Maybe an exception should be raised?
      
      * Added: pytz in requirements
      
      * Added: pytz in travis requirements
      
      * Added: pytz in travis requirements
      2f95353a
  9. 28 Nov, 2016 1 commit
  10. 21 Nov, 2016 1 commit
  11. 19 Nov, 2016 4 commits
  12. 18 Nov, 2016 1 commit
  13. 17 Nov, 2016 2 commits
  14. 16 Nov, 2016 1 commit
  15. 15 Nov, 2016 1 commit
    • Andrew's avatar
      Caching fixes (#353) · 66575e33
      Andrew authored
      * Split a space dump and cache
      
      dumping and caching really serve different purposes; also cache is not
      fully implemented and should only be used in special cases
      
      * Fix dead history methods, docs
      
      Fix history methods and add support for historizing a list of nodes
      Add doc strings
      pep fixes
      
      * Cache fixes, close session when server stops
      
      fix caching of standard address space
      try to suport windows cache file
      close session on stop so that all subscriptions get removed (need to
      serialize nodes)
      
      * Fix cache file check, fix tests
      
      * Improve lazy loading dict
      
      at least support builtins for cache, otherwise features like
      node.delete() don't work
      
      * Update high level historize method, update examples
      
      * let caching and dump/load work at same time
      
      experimental commit for discussion
      these changes let caching and dump/load work together
      
      * Revert "let caching and dump/load work at same time"
      
      This reverts commit 0fde446e3f2c105aad7aacc34c243414b7accc4e.
      
      * Remove uneeded import
      
      * Update history tests
      
      * make naming more explicit
      
      * Small name refactor, clarified doc strings
      66575e33
  16. 13 Nov, 2016 3 commits
  17. 12 Nov, 2016 1 commit
  18. 11 Nov, 2016 4 commits
  19. 08 Nov, 2016 1 commit
    • Marcel's avatar
      fix export Enum and custom datatype variables (#354) · b08d7abf
      Marcel authored
      * fix export Enum and custom datatype variables
      
      * fixed extensionobject export again (removed typo)
      
      * Test for import/export EnumValues
      
      * move XmlExport.get_variable_basetype to ua_utils.py
      
      * undo cleanup of get_variable_basetype
      b08d7abf
  20. 06 Nov, 2016 1 commit
  21. 28 Oct, 2016 3 commits
  22. 27 Oct, 2016 2 commits
    • zerox1212's avatar
      Exporter fix to allow exporting values of 0 · 1f3680bb
      zerox1212 authored
      Can't check 'not val' because variable nodes with a value of 0.0 don't
      get exported.
      1f3680bb
    • ORD's avatar
      default_values (#340) · 0a8e74bd
      ORD authored
      * do not create Variant with value None when they are supported by protocol
      
      * add get_default_value to uatypes. This will be usefull at several places like opcuamodeler
      
      * set correct default value in high level type creation method
      0a8e74bd
  23. 26 Oct, 2016 2 commits
    • AlexejStukov's avatar
      Make subscribe method accept iterables, not only lists (#341) · 7cfd72ab
      AlexejStukov authored
      * Made subscribe handle most iterable items 
      
      like dicts, etc
      
      * replaced try/except with isinstance
      7cfd72ab
    • Andrew's avatar
      Improve instantiate when parent has string node id + small fixes (#342) · 962ab91c
      Andrew authored
      * Improve instantiate when parent has string node id
      
      * Make String node id instantiation more clear
      
      * Fix string to value for boolean
      
      Can't use bool(string); will always return true
      Make string to UA ints more readable
      
      * Ignore XML Extensions tag
      
      Other modelers make this XML element which contains a model and hash
      from the generation tool
      
      * Add test for instaniate with String NodeIds
      
      * Handle import of Null values
      962ab91c
  24. 24 Oct, 2016 2 commits