Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 69: Made Proxy.base a private attribute; updated unit tests | Jason Gerard DeRose | 2008-08-07 | 2 | -12/+14 | |
| | ||||||
* | 68: Ported to changes in NameSpace, Proxy; updated unit tests | Jason Gerard DeRose | 2008-08-07 | 4 | -58/+45 | |
| | ||||||
* | 67: Deleted NameSpace, Proxy; renamed NameSpace2, Proxy2 to NameSpace, Proxy | Jason Gerard DeRose | 2008-08-06 | 2 | -253/+27 | |
| | ||||||
* | 66: Added NameSpace2 (bit simpler than NameSpace, better suited to Proxy2); ↵ | Jason Gerard DeRose | 2008-08-06 | 2 | -0/+106 | |
| | | | | added corresponding unit tests | |||||
* | 65: Finished simplified Proxy2 class; updated unit tests | Jason Gerard DeRose | 2008-08-06 | 3 | -76/+38 | |
| | ||||||
* | 64: Almost finish with Proxy2, where base class is passed to __init__ and ↵ | Jason Gerard DeRose | 2008-08-06 | 2 | -0/+144 | |
| | | | | methods use @export decorator; added corresponding unit tests | |||||
* | 63: Started fleshing out public.cmd | Jason Gerard DeRose | 2008-08-06 | 1 | -0/+25 | |
| | ||||||
* | 62: NameSpace no longer takes base=base kwarg | Jason Gerard DeRose | 2008-08-06 | 1 | -8/+3 | |
| | ||||||
* | 61: Proxy now does a setattr for all callable attributes in __slots__ (and ↵ | Jason Gerard DeRose | 2008-08-06 | 2 | -5/+7 | |
| | | | | uses __getattr__ for rest | |||||
* | 60: Remeved depreciated base.py, crud.py; remeved corresponding ↵ | Jason Gerard DeRose | 2008-08-06 | 4 | -982/+0 | |
| | | | | test_base.py, test_crud.py | |||||
* | 59: Removed NameSpace.__call__ method (returned max_len) | Jason Gerard DeRose | 2008-08-06 | 1 | -11/+0 | |
| | ||||||
* | 58: A bit of docstring cleanup in plugable.py | Jason Gerard DeRose | 2008-08-06 | 1 | -4/+3 | |
| | ||||||
* | 57: to_cli() function no longer replaces '__' with '.'; from_cli() function ↵ | Jason Gerard DeRose | 2008-08-06 | 2 | -12/+8 | |
| | | | | no longer replaces '.' with '__'; updated unit tests | |||||
* | 56: Fixed Proxy.__call__ | Jason Gerard DeRose | 2008-08-06 | 1 | -0/+3 | |
| | ||||||
* | 55: Cleaned up print_api() function in ipa script | Jason Gerard DeRose | 2008-08-06 | 2 | -31/+91 | |
| | ||||||
* | 54: Added plugable.Proxy._clone() method; fleshed out public.obj; updated ↵ | Jason Gerard DeRose | 2008-08-06 | 4 | -15/+145 | |
| | | | | unit tests; port ipa script | |||||
* | 53: Changed plugable.Registar so the same plugin can be added to in the ns ↵ | Jason Gerard DeRose | 2008-08-05 | 3 | -19/+24 | |
| | | | | for more than one base (for cmd and mthd) | |||||
* | 52: Got cli working against new framework | Jason Gerard DeRose | 2008-08-05 | 5 | -66/+77 | |
| | ||||||
* | 51: Moved old_plugins.py back to plugins.py | Jason Gerard DeRose | 2008-08-05 | 2 | -1/+1 | |
| | ||||||
* | 50: Moved plugins.py to old_plugins.py | Jason Gerard DeRose | 2008-08-05 | 1 | -0/+0 | |
| | ||||||
* | 49: Added public.PublicAPI class; added some basic unit tests for same | Jason Gerard DeRose | 2008-08-05 | 3 | -9/+38 | |
| | ||||||
* | 48: Added public.py with base classes for 'public' api used for XML-RPC, ↵ | Jason Gerard DeRose | 2008-08-05 | 2 | -0/+147 | |
| | | | | CLI, and UI; added corresponding unit stests | |||||
* | 47: Added plugable.check_identifier() function; added corresponding unit tests | Jason Gerard DeRose | 2008-08-05 | 3 | -1/+39 | |
| | ||||||
* | 46: plugable.API now takes allowed base class in __init__ and creates ↵ | Jason Gerard DeRose | 2008-08-05 | 2 | -6/+13 | |
| | | | | Registrar at API.register, thereby coupling the two; updated correspending unit tests | |||||
* | 45: Fixed docstring typo in plugable.__doc__ | Jason Gerard DeRose | 2008-08-05 | 1 | -2/+1 | |
| | ||||||
* | 44: Added Plugin.finalize() method called by API after all plugin instances ↵ | Jason Gerard DeRose | 2008-08-05 | 2 | -9/+32 | |
| | | | | are created; updated corresponding unit tests | |||||
* | 43: Fleshed out new plugable.API class; added corresponding unit tests | Jason Gerard DeRose | 2008-08-05 | 2 | -1/+77 | |
| | ||||||
* | 42: plugable.Plugin.__init__() now takes the plugable.API instance as its ↵ | Jason Gerard DeRose | 2008-08-01 | 2 | -5/+29 | |
| | | | | single argument | |||||
* | 41: New plugable.NameSpace now has attributes set for each member; updated ↵ | Jason Gerard DeRose | 2008-08-01 | 2 | -2/+9 | |
| | | | | unit tests | |||||
* | 40: Rewrote dictionary interface for plugable.NameSpace to better suite new ↵ | Jason Gerard DeRose | 2008-08-01 | 3 | -55/+104 | |
| | | | | architecture | |||||
* | 39: Added unit tests for Registrar.__iter__() | Jason Gerard DeRose | 2008-08-01 | 1 | -0/+38 | |
| | ||||||
* | 38: dict interface of Registrar now works with both classes and strings as ↵ | Jason Gerard DeRose | 2008-08-01 | 2 | -19/+120 | |
| | | | | the key | |||||
* | 37: Renamed tstutil.yes_raises() to raises(); changed test_plugable.py to ↵ | Jason Gerard DeRose | 2008-08-01 | 3 | -57/+11 | |
| | | | | use raises() throughout | |||||
* | 36: Added more functionality to tests.tstutil; added corresponding ↵ | Jason Gerard DeRose | 2008-08-01 | 2 | -16/+178 | |
| | | | | tests.test_tstutil unit tests | |||||
* | 35: Renamed unit_common.py to tstutil.py | Jason Gerard DeRose | 2008-08-01 | 2 | -7/+7 | |
| | ||||||
* | 34: Added tests.unit_common with frequently used utility functions; split ro ↵ | Jason Gerard DeRose | 2008-08-01 | 3 | -19/+107 | |
| | | | | __setattr__, __delattr__ methods out of Proxy and into new ReadOnly base class; added corresponding unit tests | |||||
* | 33: Finished unit tests for plugable.Proxy | Jason Gerard DeRose | 2008-08-01 | 2 | -14/+78 | |
| | ||||||
* | 32: Added Plugin and Proxy base classes in plugable module, along with ↵ | Jason Gerard DeRose | 2008-07-31 | 2 | -0/+131 | |
| | | | | to_cli() and from_cli() functions; added correspending unit tests | |||||
* | 31: Renamed exceptions.py to errors.py | Jason Gerard DeRose | 2008-07-31 | 5 | -25/+25 | |
| | ||||||
* | 30: Added plugable module with more generic implementation of Registrar; ↵ | Jason Gerard DeRose | 2008-07-28 | 3 | -7/+275 | |
| | | | | added corresponding unit tests | |||||
* | 29: Some experimentation to make the Registar more generalized | Jason Gerard DeRose | 2008-07-25 | 2 | -83/+175 | |
| | ||||||
* | 28: Added new base.Register class that is a more generic way of doing the ↵ | Jason Gerard DeRose | 2008-07-22 | 3 | -1/+120 | |
| | | | | plugin registration and doesn't itself instatiate any plugins; added corresponding unit tests | |||||
* | 27: Added quick hack for replace('-', '_') problem I'm having | Jason Gerard DeRose | 2008-07-21 | 2 | -3/+7 | |
| | ||||||
* | 26: Added AbstractCommand.get_doc() method to return the gettext translated ↵ | Jason Gerard DeRose | 2008-07-21 | 3 | -32/+95 | |
| | | | | summary of command; added get_doc() method to all example | |||||
* | 25: Updated plugin examples, ipa script | Jason Gerard DeRose | 2008-07-20 | 3 | -47/+69 | |
| | ||||||
* | 24: Ported Registar to changes around Attribute; updated unit tests | Jason Gerard DeRose | 2008-07-20 | 2 | -157/+140 | |
| | ||||||
* | 23: Added base.Attribute class that determins the object association via ↵ | Jason Gerard DeRose | 2008-07-20 | 2 | -2/+145 | |
| | | | | class naming convention instead of through the _obj attribute | |||||
* | 22: Named.name property now calls _get_name() at first evaluation to make ↵ | Jason Gerard DeRose | 2008-07-20 | 1 | -1/+8 | |
| | | | | changing the behaviour in subclasses easier | |||||
* | 21: ipa script: improved print_api(); added missing sys.exit() after ↵ | Jason Gerard DeRose | 2008-07-20 | 1 | -2/+4 | |
| | | | | print_api() call | |||||
* | 20: Updated example plugins, added '_api_' command to ipa script with prints ↵ | Jason Gerard DeRose | 2008-07-20 | 3 | -4/+64 | |
| | | | | the api |