Commit Graph

217 Commits

Author SHA1 Message Date
Jason Gerard DeRose
c6f69e1c66 54: Added plugable.Proxy._clone() method; fleshed out public.obj; updated unit tests; port ipa script 2008-08-06 02:00:18 +00:00
Jason Gerard DeRose
f31f7813fe 53: Changed plugable.Registar so the same plugin can be added to in the ns for more than one base (for cmd and mthd) 2008-08-05 23:34:59 +00:00
Jason Gerard DeRose
159207514f 52: Got cli working against new framework 2008-08-05 22:21:57 +00:00
Jason Gerard DeRose
56fa454fdd 47: Added plugable.check_identifier() function; added corresponding unit tests 2008-08-05 06:33:09 +00:00
Jason Gerard DeRose
d134b48306 46: plugable.API now takes allowed base class in __init__ and creates Registrar at API.register, thereby coupling the two; updated correspending unit tests 2008-08-05 05:12:09 +00:00
Jason Gerard DeRose
2b3c2238f6 45: Fixed docstring typo in plugable.__doc__ 2008-08-05 04:40:44 +00:00
Jason Gerard DeRose
42c53b2a53 44: Added Plugin.finalize() method called by API after all plugin instances are created; updated corresponding unit tests 2008-08-05 04:24:19 +00:00
Jason Gerard DeRose
c3bf5ad857 43: Fleshed out new plugable.API class; added corresponding unit tests 2008-08-05 03:21:52 +00:00
Jason Gerard DeRose
74f5719078 42: plugable.Plugin.__init__() now takes the plugable.API instance as its single argument 2008-08-01 21:25:46 +00:00
Jason Gerard DeRose
a0f480a414 41: New plugable.NameSpace now has attributes set for each member; updated unit tests 2008-08-01 20:58:48 +00:00
Jason Gerard DeRose
f3762a76c0 40: Rewrote dictionary interface for plugable.NameSpace to better suite new architecture 2008-08-01 20:42:35 +00:00
Jason Gerard DeRose
8881e4a543 38: dict interface of Registrar now works with both classes and strings as the key 2008-08-01 06:44:30 +00:00
Jason Gerard DeRose
31fc955355 34: Added tests.unit_common with frequently used utility functions; split ro __setattr__, __delattr__ methods out of Proxy and into new ReadOnly base class; added corresponding unit tests 2008-08-01 03:12:17 +00:00
Jason Gerard DeRose
f53dec2600 33: Finished unit tests for plugable.Proxy 2008-08-01 01:47:49 +00:00
Jason Gerard DeRose
a131ebf724 32: Added Plugin and Proxy base classes in plugable module, along with to_cli() and from_cli() functions; added correspending unit tests 2008-07-31 22:36:15 +00:00
Jason Gerard DeRose
d7569a84b9 31: Renamed exceptions.py to errors.py 2008-07-31 18:57:10 +00:00
Jason Gerard DeRose
bc1675dc38 30: Added plugable module with more generic implementation of Registrar; added corresponding unit tests 2008-07-28 04:34:25 +00:00