Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 159: Added plugable.DictProxy class; added corresponding unit tests; added ↵ | Jason Gerard DeRose | 2008-08-14 | 3 | -5/+138 | |
| | | | | 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 | 2 | -8/+17 | |
| | ||||||
* | 156: Fixed all broken docstring cross references | Jason Gerard DeRose | 2008-08-14 | 4 | -45/+59 | |
| | ||||||
* | 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 | 2 | -255/+245 | |
| | ||||||
* | 153: Started cleaning up docstrings in Proxy and also experimented with ↵ | Jason Gerard DeRose | 2008-08-14 | 1 | -9/+11 | |
| | | | | restructuredtext formatting | |||||
* | 152: Updated unit tests check_name() now that it returns the name | Jason Gerard DeRose | 2008-08-14 | 1 | -1/+1 | |
| | ||||||
* | 151: Rearanged tests in test_plugable.py to match definition order in ↵ | Jason Gerard DeRose | 2008-08-14 | 1 | -143/+143 | |
| | | | | plugable.py | |||||
* | 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 | |
| |