Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 242: Started cleanup of custom exceptions; added unit tests for errors.IPAError | Jason Gerard DeRose | 2008-09-03 | 1 | -2/+4 |
| | |||||
* | 239: Added errors.ConversionError; started big clean up of how ↵ | Jason Gerard DeRose | 2008-09-03 | 1 | -17/+25 |
| | | | | ValidationError is raised so it works well with multivalues | ||||
* | 237: Ported public.Method to new Option; updated corresponding unit tests | Jason Gerard DeRose | 2008-09-03 | 1 | -1/+1 |
| | |||||
* | 236: Ported pubic.Command to new Option; updated corresponding unit tests | Jason Gerard DeRose | 2008-09-02 | 1 | -26/+14 |
| | |||||
* | 235: Added Public.option instance attribute; updated corresponding unit ↵ | Jason Gerard DeRose | 2008-09-02 | 1 | -33/+33 |
| | | | | tests; disable some broken unit tests | ||||
* | 234: Renamed Option2 to Option | Jason Gerard DeRose | 2008-09-02 | 1 | -1/+1 |
| | |||||
* | 233: Removed public.Option class; removed corresponding unit tests | Jason Gerard DeRose | 2008-09-02 | 1 | -93/+33 |
| | |||||
* | 232: Added Option2.get_values() method; added corresponding unit tests | Jason Gerard DeRose | 2008-09-02 | 1 | -0/+5 |
| | |||||
* | 231: Added Option2.get_default() method; added corresponding unit tests | Jason Gerard DeRose | 2008-09-02 | 1 | -2/+14 |
| | |||||
* | 230: Renamed allow_None kwarg to allow_none | Jason Gerard DeRose | 2008-09-02 | 1 | -1/+1 |
| | |||||
* | 229: Option2.__init__() now uses check_type() | Jason Gerard DeRose | 2008-09-02 | 1 | -7/+9 |
| | |||||
* | 220: Renamed Option2.validate_scalar() to Option2.__validate_scalar(); added ↵ | Jason Gerard DeRose | 2008-08-29 | 1 | -9/+30 |
| | | | | Option2.normalize() method; added corresponding unit tests | ||||
* | 218: Finished unit tests for Option2.validate(), Option2.validate_scalar() | Jason Gerard DeRose | 2008-08-28 | 1 | -9/+7 |
| | |||||
* | 217: Started work on new Option2 class that is more declarative and doesn't ↵ | Jason Gerard DeRose | 2008-08-28 | 1 | -0/+37 |
| | | | | require subclassing from Option | ||||
* | 198: Renamed Command.default() to Command.get_default(); ↵ | Jason Gerard DeRose | 2008-08-26 | 1 | -6/+6 |
| | | | | Command.get_default_iter() now correctly calls Option.get_default() instead of Option.default() | ||||
* | 197: Added new public.Option.get_default() method that calls ↵ | Jason Gerard DeRose | 2008-08-26 | 1 | -12/+13 |
| | | | | Option.default_from() if it's a DefaultFrom instance, and otherwise returns Option.default (the static default value) | ||||
* | 196: DefaultFrom.__call__() now returns values from callback even if not ↵ | Jason Gerard DeRose | 2008-08-26 | 1 | -5/+8 |
| | | | | basestring; small work on DefaultFrom docstrings | ||||
* | 195: Started on docstring for public.DefaultFrom | Jason Gerard DeRose | 2008-08-26 | 1 | -0/+20 |
| | |||||
* | 193: Removed depreciated public.PublicAPI class; removed corresponding unit ↵ | Jason Gerard DeRose | 2008-08-26 | 1 | -5/+0 |
| | | | | tests | ||||
* | 190: Renamed public.option class to public.Option | Jason Gerard DeRose | 2008-08-25 | 1 | -8/+8 |
| | |||||
* | 188: Added unit tests for public.Object.finalize() method | Jason Gerard DeRose | 2008-08-22 | 1 | -1/+4 |
| | |||||
* | 187: Renamed plubic.obj to Object; reworked plublic.Object unit tests to use ↵ | Jason Gerard DeRose | 2008-08-22 | 1 | -10/+10 |
| | | | | ClassChecker | ||||
* | 186: Renamed public.attr to Attribute; reworked public.Attribute unit tests ↵ | Jason Gerard DeRose | 2008-08-22 | 1 | -6/+6 |
| | | | | using ClassChecker | ||||
* | 185: Renamed public.prop to Property | Jason Gerard DeRose | 2008-08-22 | 1 | -11/+11 |
| | |||||
* | 184: Renamed public.mthd class to Method | Jason Gerard DeRose | 2008-08-22 | 1 | -8/+8 |
| | |||||
* | 183: Added public.DefaultFrom class; added corresponding unit tests | Jason Gerard DeRose | 2008-08-22 | 1 | -0/+21 |
| | |||||
* | 182: Renamed plublic.cmd base class to Command | Jason Gerard DeRose | 2008-08-15 | 1 | -6/+6 |
| | |||||
* | 180: Fixed a few things in public.py that were broken by the changed ↵ | Jason Gerard DeRose | 2008-08-15 | 1 | -4/+6 |
| | | | | NameSpace iter behaiviour | ||||
* | 175: Renamed Proxy to PluginProxy | Jason Gerard DeRose | 2008-08-15 | 1 | -1/+1 |
| | |||||
* | 150: NameSpace.__iter__() now iterates through the names, not the members; ↵ | Jason Gerard DeRose | 2008-08-14 | 1 | -2/+2 |
| | | | | 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 | ||||
* | 147: Changed cmd calling signature to __call__(self, *args, **kw) | Jason Gerard DeRose | 2008-08-13 | 1 | -1/+1 |
| | |||||
* | 143: Added errors.RequirementError exception; cmd.validate() now raises ↵ | Jason Gerard DeRose | 2008-08-13 | 1 | -3/+7 |
| | | | | RequirementError if a required option is missing | ||||
* | 138: Added ProxyTarget.doc property; CLI.print_commands() now uses cmd.doc ↵ | Jason Gerard DeRose | 2008-08-13 | 1 | -1/+0 |
| | | | | instead of cmd.get_doc() | ||||
* | 137: Removed depreciated PublicAPI.max_cmd_len property | Jason Gerard DeRose | 2008-08-13 | 1 | -11/+0 |
| | |||||
* | 118: Added user_login.default() method as another example; print_call() now ↵ | Jason Gerard DeRose | 2008-08-12 | 1 | -1/+1 |
| | | | | 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 | 1 | -6/+10 |
| | |||||
* | 115: CLI now parses out kw args; cmd.__call__() now uses print_n_call() to ↵ | Jason Gerard DeRose | 2008-08-12 | 1 | -6/+6 |
| | | | | give feedback on the calling | ||||
* | 114: Fixed cmd.__get_options(); more work on CLI | Jason Gerard DeRose | 2008-08-12 | 1 | -1/+4 |
| | |||||
* | 113: Fixed regex used in attr.__init__(); added unit tests for ↵ | Jason Gerard DeRose | 2008-08-11 | 1 | -1/+1 |
| | | | | mthd.get_options() | ||||
* | 111: Minor changes to mthd and prop classes; updated mthd and prop unit tests | Jason Gerard DeRose | 2008-08-11 | 1 | -10/+14 |
| | |||||
* | 110: Started fleshing out more in cli.py | Jason Gerard DeRose | 2008-08-11 | 1 | -3/+2 |
| | |||||
* | 109: Cleanups in cmd; added unit tests for cmd.validate() | Jason Gerard DeRose | 2008-08-11 | 1 | -4/+16 |
| | |||||
* | 108: Changed cmd.default() so that it now only return dictionary of values ↵ | Jason Gerard DeRose | 2008-08-11 | 1 | -10/+9 |
| | | | | 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 | 1 | -10/+11 |
| | |||||
* | 106: Fixed some typos in cmd.__get_options(); added unit tests for ↵ | Jason Gerard DeRose | 2008-08-11 | 1 | -4/+7 |
| | | | | cmd.options and cmd.normalize() | ||||
* | 105: Added a default implementation of cmd.get_options; added corresponding ↵ | Jason Gerard DeRose | 2008-08-11 | 1 | -9/+13 |
| | | | | unit tests | ||||
* | 104: public.option now subclasses from plugable.Plugin; cleaned up unit ↵ | Jason Gerard DeRose | 2008-08-10 | 1 | -1/+1 |
| | | | | tests for option | ||||
* | 94: Renamed Proxy._clone() method to Proxy.__clone__(); updated unit tests | Jason Gerard DeRose | 2008-08-09 | 1 | -1/+1 |
| | |||||
* | 86: Actually change *all* tab indentation to 4-space: 'sed s/\t/ /g' | Jason Gerard DeRose | 2008-08-08 | 1 | -145/+145 |
| |