Jason Gerard DeRose
|
ab10f0843b
|
179: DictProxy now has __call__() method that iterates through the values; removed __call__() method from NameSpace as it subclasses from DictProxys; DictProxy unit tests now test __call__()
|
2008-08-15 05:19:02 +00:00 |
|
Jason Gerard DeRose
|
a24f2121d5
|
178: Registrar now subclasses from DictProxy; made Registrar.__iter__ behave 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
|
2008-08-15 05:07:17 +00:00 |
|
Jason Gerard DeRose
|
5ed58fdb42
|
177: Docstring cleanup in NameSpace.__call__()
|
2008-08-15 03:45:07 +00:00 |
|
Jason Gerard DeRose
|
db8099febc
|
176: PluginProxy now subclasses from SetProxy
|
2008-08-15 03:41:17 +00:00 |
|
Jason Gerard DeRose
|
233293fb4a
|
175: Renamed Proxy to PluginProxy
|
2008-08-15 03:32:38 +00:00 |
|
Jason Gerard DeRose
|
ec0596b429
|
174: Fleshed out docstrings for SetProxy, DictProxy, and MagicDict
|
2008-08-15 03:24:37 +00:00 |
|
Jason Gerard DeRose
|
3e3b596f68
|
173: NameSpace now subclasses from DictProxy
|
2008-08-15 01:46:11 +00:00 |
|
Jason Gerard DeRose
|
1a92bdf29b
|
172: API now subclasses from DictProxy
|
2008-08-15 01:32:20 +00:00 |
|
Jason Gerard DeRose
|
e43a5c642e
|
171: MagicDict now subclasses from DictProxy; updated unit tests
|
2008-08-15 01:24:51 +00:00 |
|
Jason Gerard DeRose
|
f6c2181eeb
|
170: Added SetProxy and DictProxy classes to plugable so container emulation can be consolidated
|
2008-08-15 01:04:19 +00:00 |
|
Jason Gerard DeRose
|
88a5b3ae25
|
169: Renamed DictProxy to MagicDict
|
2008-08-14 23:49:36 +00:00 |
|
Jason Gerard DeRose
|
07cd537277
|
168: plugable.API now implements the all the usual container methods
|
2008-08-14 22:13:42 +00:00 |
|
Jason Gerard DeRose
|
5f38daf6de
|
167: In API.finalize(), lock(plugin) is used instead of plugin.__lock__(); more docstring improvements in plugable.py
|
2008-08-14 21:40:37 +00:00 |
|
Jason Gerard DeRose
|
d229a76474
|
165: Added unit tests for plugable.lock() function; replaced occurances of 'self.__lock__()' with 'lock(self)' in plugable.py
|
2008-08-14 20:32:35 +00:00 |
|
Jason Gerard DeRose
|
43c04f1cd3
|
163: Docstring improvement for ipalib/__init__.py and plugable.py
|
2008-08-14 19:36:54 +00:00 |
|
Jason Gerard DeRose
|
f423f2c9f0
|
162: Added link to container emulation documentation in plugable.py docstring
|
2008-08-14 18:59:12 +00:00 |
|
Jason Gerard DeRose
|
7c64c8b954
|
161: Registrar now takes advantage of DictProxy; updated corresponding unit tests
|
2008-08-14 18:50:21 +00:00 |
|
Jason Gerard DeRose
|
87cad5078a
|
160: DictProxy now checks type of d in __init__(); updated unit tests
|
2008-08-14 17:29:13 +00:00 |
|
Jason Gerard DeRose
|
b403fd822b
|
159: Added plugable.DictProxy class; added corresponding unit tests; added setitem(), delitem() functions to tstutil
|
2008-08-14 17:21:21 +00:00 |
|
Jason Gerard DeRose
|
ca53615ddd
|
158: Name local arg 'cls' to 'klass' in Registrar methods to avoid confusion with classmethods; some docstring improvement in Registrar
|
2008-08-14 09:38:28 +00:00 |
|
Jason Gerard DeRose
|
a3dc04ade4
|
157: More docstring cleanup; fixed remaining epydoc warnings
|
2008-08-14 09:01:02 +00:00 |
|
Jason Gerard DeRose
|
f0dfb9f873
|
156: Fixed all broken docstring cross references
|
2008-08-14 08:28:48 +00:00 |
|
Jason Gerard DeRose
|
8c27f4c2de
|
155: More docstring cleanup in plugable.py
|
2008-08-14 07:43:43 +00:00 |
|
Jason Gerard DeRose
|
00f4272662
|
154: Merged ProxyTarget functionality into Plugin to make things a bit clearer
|
2008-08-14 07:10:07 +00:00 |
|
Jason Gerard DeRose
|
a59d6698d2
|
153: Started cleaning up docstrings in Proxy and also experimented with restructuredtext formatting
|
2008-08-14 06:53:05 +00:00 |
|
Jason Gerard DeRose
|
ba8d32a110
|
150: NameSpace.__iter__() now iterates through the names, not the members; 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
|
2008-08-14 05:46:20 +00:00 |
|
Jason Gerard DeRose
|
0fed74b56d
|
138: Added ProxyTarget.doc property; CLI.print_commands() now uses cmd.doc instead of cmd.get_doc()
|
2008-08-13 02:34:36 +00:00 |
|
Jason Gerard DeRose
|
70cbe10624
|
124: Fixed case in example in ReadOnly class docstring
|
2008-08-12 23:45:36 +00:00 |
|
Jason Gerard DeRose
|
7db3aae1b2
|
123: API.finalize() now raises AssetionError if called more than once; added corresponding unit tests
|
2008-08-12 23:40:36 +00:00 |
|
Jason Gerard DeRose
|
b72cfa5dcc
|
121: Renamed API.__call__() method to API.finalize()
|
2008-08-12 22:52:37 +00:00 |
|
Jason Gerard DeRose
|
f767543fe7
|
120: Moved ProxyTarget below Proxy to emphasize relationship with Plugin; added docstrings for ProxyTarget.implements() and implemented_by() classmethods; fixed typo in Plugin.finalize() docstring
|
2008-08-12 22:40:06 +00:00 |
|
Jason Gerard DeRose
|
8640523632
|
119: Added ProxyTarget.implemented_by() classmethod; added corresponding unit tests
|
2008-08-12 21:45:54 +00:00 |
|
Jason Gerard DeRose
|
d7958f3fde
|
103: Fixed missing API.__keys assignment
|
2008-08-09 19:48:47 +00:00 |
|
Jason Gerard DeRose
|
0edb22c9ac
|
102: After the API instance calls plugin.finalize(), it also calls plugin.__lock__()
|
2008-08-09 19:39:58 +00:00 |
|
Jason Gerard DeRose
|
543aea31a4
|
101: Registrar now subclasses from ReadOnly
|
2008-08-09 19:33:13 +00:00 |
|
Jason Gerard DeRose
|
0e532cd7b3
|
100: Cleaned up NameSpace docstrings; cleanup up NameSpace unit tests
|
2008-08-09 19:28:01 +00:00 |
|
Jason Gerard DeRose
|
e756e12718
|
99: Cleaned up unit tests for plugable.Plugin
|
2008-08-09 19:09:10 +00:00 |
|
Jason Gerard DeRose
|
5315514f6c
|
98: Completed docstrings in Proxy
|
2008-08-09 18:58:46 +00:00 |
|
Jason Gerard DeRose
|
9712eae51c
|
97: Some whitespace and docstring cleanup; Plugin now subclasses from ProxyTarget
|
2008-08-09 05:19:40 +00:00 |
|
Jason Gerard DeRose
|
409f688ef5
|
96: Fixed typo is ReadOnly docstring
|
2008-08-09 04:37:37 +00:00 |
|
Jason Gerard DeRose
|
72f3132d2b
|
95: Improved docstrings for ReadOnly class; added ReadOnly.__islocked__() method; added corresponding unit tests
|
2008-08-09 04:35:06 +00:00 |
|
Jason Gerard DeRose
|
3495c67d57
|
94: Renamed Proxy._clone() method to Proxy.__clone__(); updated unit tests
|
2008-08-09 01:46:12 +00:00 |
|
Jason Gerard DeRose
|
cc5b017494
|
93: Added Proxy.implements() method; addeded corresponding unit tests
|
2008-08-09 01:06:42 +00:00 |
|
Jason Gerard DeRose
|
45201e31c1
|
92: Added ProxyTarget.name property; added corresponding unit tests
|
2008-08-08 23:26:17 +00:00 |
|
Jason Gerard DeRose
|
e3811f3f45
|
91: Fleshed out docstrings in plugable.Proxy
|
2008-08-08 23:07:22 +00:00 |
|
Jason Gerard DeRose
|
5a1223e943
|
90: Renamed plugable.Abstract to ProxyTarget, which now subclasses from ReadOnly; updated unit tests
|
2008-08-08 22:45:09 +00:00 |
|
Jason Gerard DeRose
|
1744723d11
|
88: Renamed ReadOnly._lock() to ReadOnly.__lock__(); updated subclasses and unit tests
|
2008-08-08 21:49:09 +00:00 |
|
Jason Gerard DeRose
|
3fe13d5945
|
87: Moved to_cli(), from_cli() functions from plugable.py into new cli.py file; moved corresponding unit tests into new test_cli.py file
|
2008-08-08 21:46:23 +00:00 |
|
Jason Gerard DeRose
|
fdfa827a36
|
86: Actually change *all* tab indentation to 4-space: 'sed s/\t/ /g'
|
2008-08-08 21:40:03 +00:00 |
|
Jason Gerard DeRose
|
58a3b1d091
|
85: Added ReadOnly._lock() method to make class easier to use; updated subclasses and unit tests
|
2008-08-08 21:28:56 +00:00 |
|