Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 150: NameSpace.__iter__() now iterates through the names, not the members; ↵ | Jason Gerard DeRose | 2008-08-14 | 1 | -42/+103 |
| | | | | added NameSpace.__call__() method which iterates through the members; NameSpace no longer requires members to be Proxy instances; updated unit tests and affected code; cleaned up NameSpace docstrings and switch to epydoc param docstrings | ||||
* | 138: Added ProxyTarget.doc property; CLI.print_commands() now uses cmd.doc ↵ | Jason Gerard DeRose | 2008-08-13 | 1 | -2/+11 |
| | | | | instead of cmd.get_doc() | ||||
* | 124: Fixed case in example in ReadOnly class docstring | Jason Gerard DeRose | 2008-08-12 | 1 | -1/+1 |
| | |||||
* | 123: API.finalize() now raises AssetionError if called more than once; added ↵ | Jason Gerard DeRose | 2008-08-12 | 1 | -0/+4 |
| | | | | corresponding unit tests | ||||
* | 121: Renamed API.__call__() method to API.finalize() | Jason Gerard DeRose | 2008-08-12 | 1 | -1/+1 |
| | |||||
* | 120: Moved ProxyTarget below Proxy to emphasize relationship with Plugin; ↵ | Jason Gerard DeRose | 2008-08-12 | 1 | -37/+81 |
| | | | | added docstrings for ProxyTarget.implements() and implemented_by() classmethods; fixed typo in Plugin.finalize() docstring | ||||
* | 119: Added ProxyTarget.implemented_by() classmethod; added corresponding ↵ | Jason Gerard DeRose | 2008-08-12 | 1 | -0/+12 |
| | | | | unit tests | ||||
* | 103: Fixed missing API.__keys assignment | Jason Gerard DeRose | 2008-08-09 | 1 | -1/+1 |
| | |||||
* | 102: After the API instance calls plugin.finalize(), it also calls ↵ | Jason Gerard DeRose | 2008-08-09 | 1 | -0/+2 |
| | | | | plugin.__lock__() | ||||
* | 101: Registrar now subclasses from ReadOnly | Jason Gerard DeRose | 2008-08-09 | 1 | -1/+2 |
| | |||||
* | 100: Cleaned up NameSpace docstrings; cleanup up NameSpace unit tests | Jason Gerard DeRose | 2008-08-09 | 1 | -4/+8 |
| | |||||
* | 99: Cleaned up unit tests for plugable.Plugin | Jason Gerard DeRose | 2008-08-09 | 1 | -1/+1 |
| | |||||
* | 98: Completed docstrings in Proxy | Jason Gerard DeRose | 2008-08-09 | 1 | -5/+19 |
| | |||||
* | 97: Some whitespace and docstring cleanup; Plugin now subclasses from ↵ | Jason Gerard DeRose | 2008-08-09 | 1 | -18/+5 |
| | | | | ProxyTarget | ||||
* | 96: Fixed typo is ReadOnly docstring | Jason Gerard DeRose | 2008-08-09 | 1 | -1/+1 |
| | |||||
* | 95: Improved docstrings for ReadOnly class; added ReadOnly.__islocked__() ↵ | Jason Gerard DeRose | 2008-08-09 | 1 | -0/+39 |
| | | | | method; added corresponding unit tests | ||||
* | 94: Renamed Proxy._clone() method to Proxy.__clone__(); updated unit tests | Jason Gerard DeRose | 2008-08-09 | 1 | -2/+8 |
| | |||||
* | 93: Added Proxy.implements() method; addeded corresponding unit tests | Jason Gerard DeRose | 2008-08-09 | 1 | -2/+7 |
| | |||||
* | 92: Added ProxyTarget.name property; added corresponding unit tests | Jason Gerard DeRose | 2008-08-08 | 1 | -0/+7 |
| | |||||
* | 91: Fleshed out docstrings in plugable.Proxy | Jason Gerard DeRose | 2008-08-08 | 1 | -0/+27 |
| | |||||
* | 90: Renamed plugable.Abstract to ProxyTarget, which now subclasses from ↵ | Jason Gerard DeRose | 2008-08-08 | 1 | -49/+55 |
| | | | | ReadOnly; updated unit tests | ||||
* | 88: Renamed ReadOnly._lock() to ReadOnly.__lock__(); updated subclasses and ↵ | Jason Gerard DeRose | 2008-08-08 | 1 | -33/+36 |
| | | | | unit tests | ||||
* | 87: Moved to_cli(), from_cli() functions from plugable.py into new cli.py ↵ | Jason Gerard DeRose | 2008-08-08 | 1 | -18/+0 |
| | | | | file; moved corresponding unit tests into new test_cli.py file | ||||
* | 86: Actually change *all* tab indentation to 4-space: 'sed s/\t/ /g' | Jason Gerard DeRose | 2008-08-08 | 1 | -205/+205 |
| | |||||
* | 85: Added ReadOnly._lock() method to make class easier to use; updated ↵ | Jason Gerard DeRose | 2008-08-08 | 1 | -25/+32 |
| | | | | subclasses and unit tests | ||||
* | 84: Renamed Proxy.__public to Proxy.__public__ so it works with ↵ | Jason Gerard DeRose | 2008-08-08 | 1 | -7/+7 |
| | | | | Abstract.implements() | ||||
* | 82: Cleaned up unit tests for public.option; added some doodles in plugable.Base | Jason Gerard DeRose | 2008-08-08 | 1 | -0/+17 |
| | |||||
* | 81: Switch from tab to 4-space indentation | Jason Gerard DeRose | 2008-08-08 | 1 | -296/+296 |
| | |||||
* | 71: Proxy now uses base.__public__ instead of base.public; updated unit tests | Jason Gerard DeRose | 2008-08-07 | 1 | -2/+1 |
| | |||||
* | 70: Plugin.__repr__ now again returns 'module_name.class_name()' form; ↵ | Jason Gerard DeRose | 2008-08-07 | 1 | -1/+1 |
| | | | | updated unit test | ||||
* | 69: Made Proxy.base a private attribute; updated unit tests | Jason Gerard DeRose | 2008-08-07 | 1 | -11/+14 |
| | |||||
* | 68: Ported to changes in NameSpace, Proxy; updated unit tests | Jason Gerard DeRose | 2008-08-07 | 1 | -11/+21 |
| | |||||
* | 67: Deleted NameSpace, Proxy; renamed NameSpace2, Proxy2 to NameSpace, Proxy | Jason Gerard DeRose | 2008-08-06 | 1 | -114/+9 |
| | |||||
* | 66: Added NameSpace2 (bit simpler than NameSpace, better suited to Proxy2); ↵ | Jason Gerard DeRose | 2008-08-06 | 1 | -0/+51 |
| | | | | added corresponding unit tests | ||||
* | 65: Finished simplified Proxy2 class; updated unit tests | Jason Gerard DeRose | 2008-08-06 | 1 | -57/+23 |
| | |||||
* | 64: Almost finish with Proxy2, where base class is passed to __init__ and ↵ | Jason Gerard DeRose | 2008-08-06 | 1 | -0/+73 |
| | | | | methods use @export decorator; added corresponding unit tests | ||||
* | 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 | 1 | -5/+4 |
| | | | | uses __getattr__ for rest | ||||
* | 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 | 1 | -3/+3 |
| | | | | 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 | 1 | -2/+17 |
| | |||||
* | 54: Added plugable.Proxy._clone() method; fleshed out public.obj; updated ↵ | Jason Gerard DeRose | 2008-08-06 | 1 | -2/+24 |
| | | | | 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 | 1 | -17/+22 |
| | | | | for more than one base (for cmd and mthd) | ||||
* | 52: Got cli working against new framework | Jason Gerard DeRose | 2008-08-05 | 1 | -2/+3 |
| | |||||
* | 47: Added plugable.check_identifier() function; added corresponding unit tests | Jason Gerard DeRose | 2008-08-05 | 1 | -0/+11 |
| | |||||
* | 46: plugable.API now takes allowed base class in __init__ and creates ↵ | Jason Gerard DeRose | 2008-08-05 | 1 | -2/+8 |
| | | | | 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 | 1 | -5/+20 |
| | | | | are created; updated corresponding unit tests |