Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 150: NameSpace.__iter__() now iterates through the names, not the members; ↵ | Jason Gerard DeRose | 2008-08-14 | 5 | -54/+122 |
| | | | | 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 | ||||
* | 149: CLI.run() now does an arg.decode('utf-8') for args in sys.argv so that ↵ | Jason Gerard DeRose | 2008-08-14 | 1 | -3/+2 |
| | | | | non-ascii characters work | ||||
* | 148: Added some basic out put for cli.help.__call__() method | Jason Gerard DeRose | 2008-08-13 | 1 | -0/+5 |
| | |||||
* | 147: Changed cmd calling signature to __call__(self, *args, **kw) | Jason Gerard DeRose | 2008-08-13 | 1 | -1/+1 |
| | |||||
* | 146: Removed CLI.parse_kw() method and corresponding unit tests | Jason Gerard DeRose | 2008-08-13 | 2 | -27/+2 |
| | |||||
* | 145: Added new CLI.parse() method; added corresponding unit tests | Jason Gerard DeRose | 2008-08-13 | 2 | -1/+32 |
| | |||||
* | 144: Made properties in example plugins all required | Jason Gerard DeRose | 2008-08-13 | 1 | -0/+4 |
| | |||||
* | 143: Added errors.RequirementError exception; cmd.validate() now raises ↵ | Jason Gerard DeRose | 2008-08-13 | 3 | -16/+43 |
| | | | | RequirementError if a required option is missing | ||||
* | 142: python2.4: Fixed custom exceptions in errors.py as exceptions in ↵ | Jason Gerard DeRose | 2008-08-13 | 1 | -3/+3 |
| | | | | Python2.4 are not new-style classes | ||||
* | 141: Fixed unit tests for CLI.finalize() | Jason Gerard DeRose | 2008-08-13 | 1 | -0/+3 |
| | |||||
* | 140: Added a skeleton help command in cli.py | Jason Gerard DeRose | 2008-08-13 | 1 | -0/+5 |
| | |||||
* | 139: Removed dummy gettext _() func from cli.py; improved CLI.print_commands() | Jason Gerard DeRose | 2008-08-13 | 1 | -6/+3 |
| | |||||
* | 138: Added ProxyTarget.doc property; CLI.print_commands() now uses cmd.doc ↵ | Jason Gerard DeRose | 2008-08-13 | 5 | -49/+49 |
| | | | | instead of cmd.get_doc() | ||||
* | 137: Removed depreciated PublicAPI.max_cmd_len property | Jason Gerard DeRose | 2008-08-13 | 1 | -11/+0 |
| | |||||
* | 136: CLI.print_commands() now prints cmd.get_doc() as well | Jason Gerard DeRose | 2008-08-13 | 1 | -1/+4 |
| | |||||
* | 135: Added unit test for CLI dictoinary interface | Jason Gerard DeRose | 2008-08-13 | 1 | -0/+16 |
| | |||||
* | 134: Added CLI.mcl (Max Command Length) property; added corresponding unit tests | Jason Gerard DeRose | 2008-08-13 | 2 | -0/+53 |
| | |||||
* | 133: Renamed run.py to api.py | Jason Gerard DeRose | 2008-08-13 | 4 | -6/+8 |
| | |||||
* | 132: Removed test util.py file | Jason Gerard DeRose | 2008-08-13 | 1 | -57/+0 |
| | |||||
* | 131: Renamed Plugins/ to plugins/ | Jason Gerard DeRose | 2008-08-13 | 3 | -1/+1 |
| | |||||
* | 130: Renamed startup.py to load_plugins.py | Jason Gerard DeRose | 2008-08-13 | 2 | -6/+5 |
| | |||||
* | 129: Deleted the test mod1.py, mod2.py files | Jason Gerard DeRose | 2008-08-13 | 2 | -48/+0 |
| | |||||
* | 128: Fixed startup.py, example.py to work with new plugin locations | Jason Gerard DeRose | 2008-08-13 | 3 | -5/+6 |
| | |||||
* | 127: Removed depreciated identity.py | Jason Gerard DeRose | 2008-08-13 | 1 | -54/+0 |
| | |||||
* | 126: Renamed plugins.py to Plugins/example.py | Jason Gerard DeRose | 2008-08-13 | 1 | -0/+0 |
| | |||||
* | 125: Added some generic auto-import stuff | Jason Gerard DeRose | 2008-08-13 | 4 | -0/+129 |
| | |||||
* | 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 | 2 | -0/+7 |
| | | | | corresponding unit tests | ||||
* | 122: The dictorary interface to CLI now has keys build using to_cli(), ↵ | Jason Gerard DeRose | 2008-08-12 | 2 | -4/+15 |
| | | | | rather than converting at each call | ||||
* | 121: Renamed API.__call__() method to API.finalize() | Jason Gerard DeRose | 2008-08-12 | 4 | -4/+4 |
| | |||||
* | 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 | 2 | -0/+55 |
| | | | | unit tests | ||||
* | 118: Added user_login.default() method as another example; print_call() now ↵ | Jason Gerard DeRose | 2008-08-12 | 2 | -6/+12 |
| | | | | prints sorted by the keys in ascending order | ||||
* | 117: Improved readability of cmd.print_call() | Jason Gerard DeRose | 2008-08-12 | 1 | -6/+8 |
| | |||||
* | 116: Added a user_initials property plugin to demostrate default() method | Jason Gerard DeRose | 2008-08-12 | 2 | -9/+24 |
| | |||||
* | 115: CLI now parses out kw args; cmd.__call__() now uses print_n_call() to ↵ | Jason Gerard DeRose | 2008-08-12 | 3 | -20/+32 |
| | | | | give feedback on the calling | ||||
* | 114: Fixed cmd.__get_options(); more work on CLI | Jason Gerard DeRose | 2008-08-12 | 3 | -10/+31 |
| | |||||
* | 113: Fixed regex used in attr.__init__(); added unit tests for ↵ | Jason Gerard DeRose | 2008-08-11 | 2 | -2/+42 |
| | | | | mthd.get_options() | ||||
* | 112: More work on cli.py | Jason Gerard DeRose | 2008-08-11 | 1 | -9/+15 |
| | |||||
* | 111: Minor changes to mthd and prop classes; updated mthd and prop unit tests | Jason Gerard DeRose | 2008-08-11 | 2 | -17/+30 |
| | |||||
* | 110: Started fleshing out more in cli.py | Jason Gerard DeRose | 2008-08-11 | 5 | -3/+65 |
| | |||||
* | 109: Cleanups in cmd; added unit tests for cmd.validate() | Jason Gerard DeRose | 2008-08-11 | 2 | -5/+35 |
| | |||||
* | 108: Changed cmd.default() so that it now only return dictionary of values ↵ | Jason Gerard DeRose | 2008-08-11 | 2 | -14/+12 |
| | | | | for which defaults were generated; updated unit tests | ||||
* | 107: Some cleanup in cmd; added unit tests for cmd.default() method | Jason Gerard DeRose | 2008-08-11 | 2 | -10/+40 |
| | |||||
* | 106: Fixed some typos in cmd.__get_options(); added unit tests for ↵ | Jason Gerard DeRose | 2008-08-11 | 2 | -6/+42 |
| | | | | cmd.options and cmd.normalize() | ||||
* | 105: Added a default implementation of cmd.get_options; added corresponding ↵ | Jason Gerard DeRose | 2008-08-11 | 2 | -12/+43 |
| | | | | unit tests | ||||
* | 104: public.option now subclasses from plugable.Plugin; cleaned up unit ↵ | Jason Gerard DeRose | 2008-08-10 | 2 | -10/+13 |
| | | | | tests for option | ||||
* | 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 |
| |