Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 227: check_type() and check_isinstance() now take arguments in (value, ↵ | Jason Gerard DeRose | 2008-09-02 | 3 | -62/+65 |
| | | | | type_, name) order so the first two match the built-in isinstance() call signature | ||||
* | 226: check_type() and check_isinstance() now return the value; updated ↵ | Jason Gerard DeRose | 2008-09-02 | 2 | -5/+7 |
| | | | | corresponding unit tests | ||||
* | 225: Added errors.check_type() and errors.check_isinstance() functions; ↵ | Jason Gerard DeRose | 2008-08-29 | 2 | -16/+108 |
| | | | | added corresponding unit tests | ||||
* | 224: Reworked IPATypeError class into raise_TypeError function | Jason Gerard DeRose | 2008-08-29 | 2 | -53/+50 |
| | |||||
* | 223: IPATypeError takes as first argument, has attribute | Jason Gerard DeRose | 2008-08-29 | 2 | -16/+42 |
| | |||||
* | 222: Fixed broken assertion in IPATypeError; did more work on docstrings in same | Jason Gerard DeRose | 2008-08-29 | 2 | -9/+18 |
| | |||||
* | 221: Added errors.IPATypeError exception; added new test_errors.py module ↵ | Jason Gerard DeRose | 2008-08-29 | 2 | -0/+66 |
| | | | | with corresponding unit tests | ||||
* | 220: Renamed Option2.validate_scalar() to Option2.__validate_scalar(); added ↵ | Jason Gerard DeRose | 2008-08-29 | 2 | -31/+124 |
| | | | | Option2.normalize() method; added corresponding unit tests | ||||
* | 219: run-tests.bash now passes -v option to nosetests for verbose output | Jason Gerard DeRose | 2008-08-29 | 1 | -1/+1 |
| | |||||
* | 218: Finished unit tests for Option2.validate(), Option2.validate_scalar() | Jason Gerard DeRose | 2008-08-28 | 3 | -10/+64 |
| | |||||
* | 217: Started work on new Option2 class that is more declarative and doesn't ↵ | Jason Gerard DeRose | 2008-08-28 | 2 | -1/+65 |
| | | | | require subclassing from Option | ||||
* | 216: Added ipa_types.Enum.validate() method; added corresponding unit tests | Jason Gerard DeRose | 2008-08-28 | 2 | -3/+21 |
| | |||||
* | 215: Added basics of ipa_types.Enum class; added corresponding unit tests | Jason Gerard DeRose | 2008-08-28 | 2 | -0/+47 |
| | |||||
* | 214: Added ipa_types.Bool.validate() method; added corresponding unit tests | Jason Gerard DeRose | 2008-08-28 | 2 | -0/+13 |
| | |||||
* | 213: Added ipa_type.Bool class; added corresponding unit tests | Jason Gerard DeRose | 2008-08-28 | 2 | -0/+61 |
| | |||||
* | 212: Type.__init__() now can also raise TypeError; added unit tests for ↵ | Jason Gerard DeRose | 2008-08-28 | 2 | -3/+21 |
| | | | | Type.__init__() | ||||
* | 211: run-tests.bash now echos the number of versions the tests ran under | Jason Gerard DeRose | 2008-08-28 | 1 | -3/+5 |
| | |||||
* | 210: Type.__init__() now takes the type as the first argument, does not use ↵ | Jason Gerard DeRose | 2008-08-28 | 2 | -17/+21 |
| | | | | subclass attribute; updated Int, Unicode, and their unit tests accordingly | ||||
* | 209: Added Type.__call__() method; fleshed out Type.convert() method; added ↵ | Jason Gerard DeRose | 2008-08-28 | 2 | -3/+43 |
| | | | | corresponding unit tests | ||||
* | 208: Made output of run-tests.bash a bit easier to read and also added ↵ | Jason Gerard DeRose | 2008-08-28 | 1 | -8/+20 |
| | | | | python2.6 to versions tested | ||||
* | 207: Added Unicode.validate() method and corresponding unit tests | Jason Gerard DeRose | 2008-08-27 | 2 | -1/+32 |
| | |||||
* | 206: Finished unit tests for Unicode.__init__() | Jason Gerard DeRose | 2008-08-27 | 1 | -0/+31 |
| | |||||
* | 205: Continued work on Unicode.__init__() and corresponding unit tests | Jason Gerard DeRose | 2008-08-27 | 2 | -8/+53 |
| | |||||
* | 204: Fixed logic error in check_min_max(); started work on argument ↵ | Jason Gerard DeRose | 2008-08-27 | 2 | -17/+26 |
| | | | | validation for Unicode | ||||
* | 203: Finished ipa_types.check_min_max() function; added corresponding unit ↵ | Jason Gerard DeRose | 2008-08-27 | 2 | -42/+67 |
| | | | | tests; ipa_types.Int now uses check_min_max() | ||||
* | 202: Started work on type classes in ipa_types module; added corresponding ↵ | Jason Gerard DeRose | 2008-08-27 | 2 | -0/+213 |
| | | | | unit tests | ||||
* | 201: Added new cli command 'console' that starts a custom interactive Python ↵ | Jason Gerard DeRose | 2008-08-27 | 1 | -1/+13 |
| | | | | console | ||||
* | 200: Added plugins/override.py with an example of overriding a plugin | Jason Gerard DeRose | 2008-08-26 | 2 | -0/+34 |
| | |||||
* | 199: Updated user_login and user_initials example plugins to use ↵ | Jason Gerard DeRose | 2008-08-26 | 1 | -12/+8 |
| | | | | Option.default_from | ||||
* | 198: Renamed Command.default() to Command.get_default(); ↵ | Jason Gerard DeRose | 2008-08-26 | 2 | -14/+14 |
| | | | | 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 | 2 | -15/+29 |
| | | | | 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 | 2 | -0/+26 |
| | |||||
* | 194: Removed like to Bazaar Plugin doc as it's not very relevant | Jason Gerard DeRose | 2008-08-26 | 1 | -3/+0 |
| | |||||
* | 193: Removed depreciated public.PublicAPI class; removed corresponding unit ↵ | Jason Gerard DeRose | 2008-08-26 | 2 | -22/+0 |
| | | | | tests | ||||
* | 192: Added a quick console example to docstring in ipalib/__init__.py | Jason Gerard DeRose | 2008-08-26 | 1 | -0/+24 |
| | |||||
* | 191: Removed ipalib/api.py module; standard plugable.API instance is now in ↵ | Jason Gerard DeRose | 2008-08-25 | 4 | -29/+12 |
| | | | | ipalib.__init__.py | ||||
* | 190: Renamed public.option class to public.Option | Jason Gerard DeRose | 2008-08-25 | 2 | -23/+23 |
| | |||||
* | 189: Ignoring .git/ | Jason Gerard DeRose | 2008-08-25 | 1 | -0/+1 |
| | |||||
* | 188: Added unit tests for public.Object.finalize() method | Jason Gerard DeRose | 2008-08-22 | 2 | -1/+69 |
| | |||||
* | 187: Renamed plubic.obj to Object; reworked plublic.Object unit tests to use ↵ | Jason Gerard DeRose | 2008-08-22 | 3 | -17/+28 |
| | | | | ClassChecker | ||||
* | 186: Renamed public.attr to Attribute; reworked public.Attribute unit tests ↵ | Jason Gerard DeRose | 2008-08-22 | 2 | -27/+38 |
| | | | | using ClassChecker | ||||
* | 185: Renamed public.prop to Property | Jason Gerard DeRose | 2008-08-22 | 3 | -21/+21 |
| | |||||
* | 184: Renamed public.mthd class to Method | Jason Gerard DeRose | 2008-08-22 | 3 | -24/+24 |
| | |||||
* | 183: Added public.DefaultFrom class; added corresponding unit tests | Jason Gerard DeRose | 2008-08-22 | 2 | -0/+56 |
| | |||||
* | 182: Renamed plublic.cmd base class to Command | Jason Gerard DeRose | 2008-08-15 | 5 | -34/+38 |
| | |||||
* | 181: Changed docstrings on example plugins to use itial capital | Jason Gerard DeRose | 2008-08-15 | 1 | -21/+21 |
| | |||||
* | 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 | ||||
* | 179: DictProxy now has __call__() method that iterates through the values; ↵ | Jason Gerard DeRose | 2008-08-15 | 2 | -8/+10 |
| | | | | removed __call__() method from NameSpace as it subclasses from DictProxys; DictProxy unit tests now test __call__() | ||||
* | 178: Registrar now subclasses from DictProxy; made Registrar.__iter__ behave ↵ | Jason Gerard DeRose | 2008-08-15 | 2 | -87/+47 |
| | | | | 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 |