Skip to content
This repository was archived by the owner on Apr 26, 2021. It is now read-only.

12.6.1: Event Callbacks, Shell scripts and FolderDS for remote logging

Choose a tag to compare

@sergirubio sergirubio released this 06 Apr 08:33
· 487 commits to master since this release

IMPORTANT: Due to fandango.device module refactoring you may need to remove previous package before installing this one


12.6.1 - April 2017

Solve bugs in csv2tango and fandango launcher
Remove extensions from scripts

Add functional.obj2str, better string return from fandango launcher
filtersmart: accept strings as filter sequence
Solve exceptions on ThreadedObject exit
Solve bug on EventsThread.EVENT_POLLING_RATIO

PENDING:

NOT-TODO-YET(tiago): replace dicts.Enumeration by python Enum (but as it is not supported in python 2.6 we will wait to next OS upgrade)
NOTE: Some bugs where found in new multi-host capablities of tango.* methods; I did some patches but play with care.
ONGOING:
dicts: implement DictFile regexp alternative to CSVArray (to be used to import/export web reports)
StructDict with sort/get/filter methods like Panic api
preparing next PyAlarm release with None not allowed in comparisons


12.6 - March 2017

Arrays: 
  Solve bug in CSVArray.getAsTree when lastbranch is a column name
  Apply x/y offsets on calls to CSVArray.resize()
  Add try/except to CSVArray.set()
Callbacks/EventSource:
  Adapted to multiple sources, add dummy for persistence
  Rethrow exceptions on EventSource/CachedProxy.read(_raise=True) (default)
  Solve EventSource filtering and polling bugs, cleanup now() references
  solve issues with poll-only  attributes, tune for >1000 events/second
  Add write_with_read argument to EventSource.init()
  Enable EventSource subscribe without listeners
  Enable EventSource.removeListener(sequence)
  Add extra counters to EventSource, solve bug in Cached values
Dev4Tango:
  add LastUpdate and MemUsage attributes to all devices
Dicts:
  ThreadDict: add _updates refresh on write hardware 
Functional
  Add iif(condition,truepart,falsepart,foward)
FolderDS/GUI:
  add SaveFolder attribute
  Solve bug in FolderGUI.ListFiles
Qt: 
  Adapt fadango.QEvaluator to latest PyQt4
  patch for taurus 4
  Solve problems with non-string models in QSignalHook
Scripts:
  Add offset to tango2csv.add_properties_to_csv()
  Enable host argument to tango_servers start/status/stop
  Use tango_property to export DynamicDS properties
Tango:
  Remove domain info in get_tango_host() (pytango bug)
  Adapt get_device_info to multihost
  Adapt fakeAttributeValue to taurus4
  Solve bug in TangoEval formula starting with 'not '
  add get_server_property method
  check_attribute to allow proxy or taurusattribute as argument
Tests/simulation: 
  Set SimulatorDS as default simulation class
Threading:
  Add ThreadedObject.get_avg_delay method

12.5 - January 2017

Solve problems on DynamicDS evalAttr() and tuples as sequences

12.4 - January 2017

Solve MRO exception in device.Dev4Tango
Solve bug in get_device_info/get_database_device 
  caused by domains in tango hostname

12.3 - November 2016

Improve documentation

functional:

  • Add timed_range
  • Improve export_device_to_dict()
  • Solve regexp bug in str2py
  • Add tango2json script
  • add clsplit method

Dynamic:

  • Improve ATTR/XATTR syntax
  • Solve compatibility with Unsigned types, 12.2.3
  • allow READ(full_attr) on eval

New-cache-proxy:

  • Solve Bugs in EventListener and ThreadedObject

FolderDS:

  • Adapt FolderAPI to multi-tango-host environment
  • Add launchers

12.2.1 - October 2016, Bugfix release, required by latest PyPLC/Panic

Solve critical bug in tango.add_new_device that may prevent PyAlarm to start

FolderDS/API/GUI updated to be multi-tango-host capable
threads: timed_range new time-based iterator
dynamic: extend DynamicAttribute formula syntax for ATTR/GET/SET
callbacks: New EventSource/Listener API for registering to Tango events (BETA)
inheritance: printout that caused problems on fandango.sh


12.1 - August 2016, required by latest PyPLC/Panic

device.FolderAPI is now Singleton, capable of parsing folderds:/tango: URI's
functional: Solved bug on str2type(list)


12.0 - August 2016, required by latest PyPLC/Panic
Adds FolderDS device/api and solves JSON export issues

MIGRATED TO GITHUB: https://github.com/sergirubio/fandango

device/FolderDS:

  • remote writing/reading log files
  • FolderGUI tool for managing FolderDS devices
  • FolderDS device class and documentation

functional:

  • Add multiline strings when exporting to json dictionary
  • Solve bug in replaceCl, dict2json
  • Add code2atoms, allow str2list to keep separator
  • solve bug in filtersmart()
  • Add is_zero argument to isBool (enable 0 as a valid boolean by default)

tango:

  • Solve numpy bug on export_attribute_to_dict (using str2type)
  • Add verbose state on check_device()
  • Add load_by_class get_device_host methods to ServersDict (for better device-based API's)
  • Add get_device_help internal DS method
  • Add get_class_devices method
  • Add get_full_name method

linos: Add caseless option to listdir()
dynamic: Add Help() command to DynamicDS
qt: Solve bug in QEvaluator.setModel()
objects: Add nullDecorator to objects
log: Add logLevel to FakeLogger
test: Adding custom test scripts