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 |
|
Jason Gerard DeRose
|
6dc60a18c7
|
84: Renamed Proxy.__public to Proxy.__public__ so it works with Abstract.implements()
|
2008-08-08 20:55:08 +00:00 |
|
Jason Gerard DeRose
|
d171dc9011
|
82: Cleaned up unit tests for public.option; added some doodles in plugable.Base
|
2008-08-08 19:53:45 +00:00 |
|
Jason Gerard DeRose
|
8e46824815
|
81: Switch from tab to 4-space indentation
|
2008-08-08 17:11:29 +00:00 |
|
Jason Gerard DeRose
|
f904cb0422
|
71: Proxy now uses base.__public__ instead of base.public; updated unit tests
|
2008-08-07 00:51:34 +00:00 |
|
Jason Gerard DeRose
|
778a019129
|
70: Plugin.__repr__ now again returns 'module_name.class_name()' form; updated unit test
|
2008-08-07 00:35:51 +00:00 |
|
Jason Gerard DeRose
|
19dbd57141
|
69: Made Proxy.base a private attribute; updated unit tests
|
2008-08-07 00:21:50 +00:00 |
|
Jason Gerard DeRose
|
7335af8a9e
|
68: Ported to changes in NameSpace, Proxy; updated unit tests
|
2008-08-07 00:14:38 +00:00 |
|
Jason Gerard DeRose
|
03bad04e7b
|
67: Deleted NameSpace, Proxy; renamed NameSpace2, Proxy2 to NameSpace, Proxy
|
2008-08-06 23:22:29 +00:00 |
|
Jason Gerard DeRose
|
e63453a858
|
66: Added NameSpace2 (bit simpler than NameSpace, better suited to Proxy2); added corresponding unit tests
|
2008-08-06 22:59:50 +00:00 |
|
Jason Gerard DeRose
|
f13f1226b4
|
65: Finished simplified Proxy2 class; updated unit tests
|
2008-08-06 21:54:56 +00:00 |
|
Jason Gerard DeRose
|
0c7769473c
|
64: Almost finish with Proxy2, where base class is passed to __init__ and methods use @export decorator; added corresponding unit tests
|
2008-08-06 20:38:07 +00:00 |
|
Jason Gerard DeRose
|
495f96a73f
|
62: NameSpace no longer takes base=base kwarg
|
2008-08-06 15:06:39 +00:00 |
|
Jason Gerard DeRose
|
4e825ba2d9
|
61: Proxy now does a setattr for all callable attributes in __slots__ (and uses __getattr__ for rest
|
2008-08-06 14:59:54 +00:00 |
|
Jason Gerard DeRose
|
62d2cd65f2
|
59: Removed NameSpace.__call__ method (returned max_len)
|
2008-08-06 14:27:33 +00:00 |
|
Jason Gerard DeRose
|
2081987186
|
58: A bit of docstring cleanup in plugable.py
|
2008-08-06 14:22:38 +00:00 |
|
Jason Gerard DeRose
|
e618d99bc7
|
57: to_cli() function no longer replaces '__' with '.'; from_cli() function no longer replaces '.' with '__'; updated unit tests
|
2008-08-06 03:58:15 +00:00 |
|
Jason Gerard DeRose
|
8865f516df
|
56: Fixed Proxy.__call__
|
2008-08-06 03:51:33 +00:00 |
|
Jason Gerard DeRose
|
277685439c
|
55: Cleaned up print_api() function in ipa script
|
2008-08-06 03:27:00 +00:00 |
|
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 |
|