Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 361: Implemented crud.Add.get_options() method; added corresponding unit tests | Jason Gerard DeRose | 2008-09-25 | 1 | -2/+2 | |
| | ||||||
* | 354: Added NameSpace.__todict__() method that returns copy of ↵ | Jason Gerard DeRose | 2008-09-24 | 1 | -6/+12 | |
| | | | | NameSpace.__map; updated NameSpace unit test to also test __todict__() | |||||
* | 325: API.finalize() now creates instance attribtue 'plugins', which is a ↵ | Jason Gerard DeRose | 2008-09-24 | 1 | -13/+48 | |
| | | | | tuple of PluginInfo objects; renamed show_plugins cli command to namespaces; added new cli command plugins | |||||
* | 323: Added Command.run() method that dispatches to execute() or forward(); ↵ | Jason Gerard DeRose | 2008-09-24 | 1 | -2/+6 | |
| | | | | added corresponding unit tests | |||||
* | 320: plugable.API now respects the Plugin.__proxy__ flag; added test for ↵ | Jason Gerard DeRose | 2008-09-24 | 1 | -1/+5 | |
| | | | | plugins without proxy to unit tests for API | |||||
* | 314: Completed some missing features in Command.__call__(); removed ↵ | Jason Gerard DeRose | 2008-09-22 | 1 | -0/+1 | |
| | | | | depreciated Command.print_call() method | |||||
* | 307: Split Plugin.finalize() into two steps 1) Plugin.set_api() and 2) ↵ | Jason Gerard DeRose | 2008-09-21 | 1 | -11/+6 | |
| | | | | Plugin.finalize(); updated unit tests | |||||
* | 306: Added Plugin.set_api() method; added corresponding unit tests | Jason Gerard DeRose | 2008-09-21 | 1 | -0/+8 | |
| | ||||||
* | 299: Cleaned up unit tests for ReadOnly class | Jason Gerard DeRose | 2008-09-18 | 1 | -1/+1 | |
| | ||||||
* | 298: Cleaned up docstrings in ReadOnly methods | Jason Gerard DeRose | 2008-09-18 | 1 | -7/+11 | |
| | ||||||
* | 297: Added a better example in docstring for ReadOnly | Jason Gerard DeRose | 2008-09-18 | 1 | -19/+18 | |
| | ||||||
* | 296: Added more to docstrings for NameSpace.__iter_() and NameSpace.__call__() | Jason Gerard DeRose | 2008-09-18 | 1 | -0/+4 | |
| | ||||||
* | 294: NameSpace no longer subclasses from DictProxy; NameSpace.__getitem__() ↵ | Jason Gerard DeRose | 2008-09-18 | 1 | -16/+49 | |
| | | | | now works with int and slice objects | |||||
* | 274: NameSpace.__init__() now takes sort=True keyword arument to allow for ↵ | Jason Gerard DeRose | 2008-09-09 | 1 | -9/+27 | |
| | | | | non-sorted NameSpaces; updated and improved NameSpace unit tests | |||||
* | 271: Improved __repr__ methods for better output from the show-plugins command | Jason Gerard DeRose | 2008-09-08 | 1 | -1/+1 | |
| | ||||||
* | 267: Finished builtin CLI api command | Jason Gerard DeRose | 2008-09-08 | 1 | -3/+2 | |
| | ||||||
* | 228: plugable.check_name() now uses errors.check_type() | Jason Gerard DeRose | 2008-09-02 | 1 | -1/+2 | |
| | ||||||
* | 179: DictProxy now has __call__() method that iterates through the values; ↵ | Jason Gerard DeRose | 2008-08-15 | 1 | -8/+8 | |
| | | | | removed __call__() method from NameSpace as it subclasses from DictProxys; DictProxy unit tests now test __call__() | |||||
* | 178: Registrar now subclasses from DictProxy; made Registrar.__iter__ behave ↵ | Jason Gerard DeRose | 2008-08-15 | 1 | -59/+26 | |
| | | | | same as the other container emulation in plugable.py, and made the dictorary interface return the base and the attribute interface return the MagicDict; updated API class and unit tests | |||||
* | 177: Docstring cleanup in NameSpace.__call__() | Jason Gerard DeRose | 2008-08-15 | 1 | -1/+2 | |
| | ||||||
* | 176: PluginProxy now subclasses from SetProxy | Jason Gerard DeRose | 2008-08-15 | 1 | -15/+7 | |
| | ||||||
* | 175: Renamed Proxy to PluginProxy | Jason Gerard DeRose | 2008-08-15 | 1 | -2/+2 | |
| | ||||||
* | 174: Fleshed out docstrings for SetProxy, DictProxy, and MagicDict | Jason Gerard DeRose | 2008-08-15 | 1 | -10/+49 | |
| | ||||||
* | 173: NameSpace now subclasses from DictProxy | Jason Gerard DeRose | 2008-08-15 | 1 | -53/+9 | |
| | ||||||
* | 172: API now subclasses from DictProxy | Jason Gerard DeRose | 2008-08-15 | 1 | -29/+2 | |
| | ||||||
* | 171: MagicDict now subclasses from DictProxy; updated unit tests | Jason Gerard DeRose | 2008-08-15 | 1 | -57/+31 | |
| | ||||||
* | 170: Added SetProxy and DictProxy classes to plugable so container emulation ↵ | Jason Gerard DeRose | 2008-08-15 | 1 | -0/+33 | |
| | | | | can be consolidated | |||||
* | 169: Renamed DictProxy to MagicDict | Jason Gerard DeRose | 2008-08-14 | 1 | -4/+4 | |
| | ||||||
* | 168: plugable.API now implements the all the usual container methods | Jason Gerard DeRose | 2008-08-14 | 1 | -11/+40 | |
| | ||||||
* | 167: In API.finalize(), lock(plugin) is used instead of plugin.__lock__(); ↵ | Jason Gerard DeRose | 2008-08-14 | 1 | -4/+8 | |
| | | | | more docstring improvements in plugable.py | |||||
* | 165: Added unit tests for plugable.lock() function; replaced occurances of ↵ | Jason Gerard DeRose | 2008-08-14 | 1 | -11/+17 | |
| | | | | 'self.__lock__()' with 'lock(self)' in plugable.py | |||||
* | 163: Docstring improvement for ipalib/__init__.py and plugable.py | Jason Gerard DeRose | 2008-08-14 | 1 | -1/+1 | |
| | ||||||
* | 162: Added link to container emulation documentation in plugable.py docstring | Jason Gerard DeRose | 2008-08-14 | 1 | -0/+4 | |
| | ||||||
* | 161: Registrar now takes advantage of DictProxy; updated corresponding unit ↵ | Jason Gerard DeRose | 2008-08-14 | 1 | -26/+52 | |
| | | | | tests | |||||
* | 160: DictProxy now checks type of d in __init__(); updated unit tests | Jason Gerard DeRose | 2008-08-14 | 1 | -0/+1 | |
| | ||||||
* | 159: Added plugable.DictProxy class; added corresponding unit tests; added ↵ | Jason Gerard DeRose | 2008-08-14 | 1 | -4/+66 | |
| | | | | setitem(), delitem() functions to tstutil | |||||
* | 158: Name local arg 'cls' to 'klass' in Registrar methods to avoid confusion ↵ | Jason Gerard DeRose | 2008-08-14 | 1 | -20/+26 | |
| | | | | with classmethods; some docstring improvement in Registrar | |||||
* | 157: More docstring cleanup; fixed remaining epydoc warnings | Jason Gerard DeRose | 2008-08-14 | 1 | -7/+7 | |
| | ||||||
* | 156: Fixed all broken docstring cross references | Jason Gerard DeRose | 2008-08-14 | 1 | -13/+20 | |
| | ||||||
* | 155: More docstring cleanup in plugable.py | Jason Gerard DeRose | 2008-08-14 | 1 | -26/+29 | |
| | ||||||
* | 154: Merged ProxyTarget functionality into Plugin to make things a bit clearer | Jason Gerard DeRose | 2008-08-14 | 1 | -123/+122 | |
| | ||||||
* | 153: Started cleaning up docstrings in Proxy and also experimented with ↵ | Jason Gerard DeRose | 2008-08-14 | 1 | -9/+11 | |
| | | | | restructuredtext formatting | |||||
* | 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 | |
| |