| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix fallback when zope.i18nmessageid is not installed | Colin Watson | 2023-01-02 | 2 | -3/+49 |
| | | | | | | | | I introduced this regression in https://github.com/zopefoundation/zope.schema/pull/118 by misreading the try/except/else logic in `zope.schema._messageid`. The new tests should guard against somebody else making a similar mistake in future. | ||||
| * | Fix test deprecation warning on Python 3.11 | Colin Watson | 2022-12-23 | 1 | -5/+6 |
| | | | | | Fixes #112. | ||||
| * | Drop support for Python < 3.7 (#118) | Colin Watson | 2022-12-23 | 9 | -178/+46 |
| | | |||||
| * | Fix outsized integer test values that break tests on newer Python versions | Jens Vagelpohl | 2022-09-14 | 2 | -15/+15 |
| | | |||||
| * | Fix tox lint run + isort imports. (#114) | Michael Howitz | 2022-08-05 | 20 | -140/+199 |
| | | |||||
| * | Configuring for pure-python (#108) | Michael Howitz | 2021-09-06 | 1 | -1/+1 |
| | | |||||
| * | revert parts of #105 due to incompatibilityrevert-parts-of-105 | Jens W. Klein | 2021-08-19 | 3 | -7/+25 |
| | | | | | see also issue #104 | ||||
| * | Fix `IField.required` to not be required by default. (#105) | agitator | 2021-02-09 | 3 | -0/+15 |
| | | | | | | | | * set required=False as default on Bool fields * set default for IBool to not be required * bump version Co-authored-by: Michael Howitz <mh@gocept.com> | ||||
| * | test the BBB inst property works for getting and setting | Jan-Wijbrand Kolman | 2021-01-25 | 1 | -2/+12 |
| | | |||||
| * | process PR comments | Jan-Wijbrand Kolman | 2021-01-25 | 2 | -6/+15 |
| | | |||||
| * | Fix FieldUpdateEvent implementation by having an `object` attribute as the ↵ | Jan-Wijbrand Kolman | 2021-01-25 | 2 | -6/+10 |
| | | | | | `IFieldUpdatedEvent` interfaces claims there should be. Fixes #102 | ||||
| * | Enable branch coverage and bring it to 100% | Colin Watson | 2021-01-04 | 6 | -19/+47 |
| | | | | | | | In most cases this involved judicious use of pragmas (especially for code that was explicitly or implicitly specific to Python 2 or 3), but I added a few more tests for some edge cases as well. | ||||
| * | Merge pull request #97 from cjwatson/flake8 | Colin Watson | 2021-01-04 | 17 | -194/+297 |
| |\ | | | | | Add a tox lint environment, and make it pass | ||||
| | * | Use coverage-python-version | Colin Watson | 2021-01-04 | 3 | -5/+5 |
| | | | |||||
| | * | Rephrase IPassword docstring so that it can use triple quotes | Colin Watson | 2021-01-04 | 1 | -1/+1 |
| | | | |||||
| | * | Apply suggestions from code review | Colin Watson | 2021-01-04 | 1 | -1/+1 |
| | | | | | | | Co-authored-by: Marius Gedminas <marius@gedmin.as> | ||||
| | * | Restore zope.schema._field.InvalidDecimalLiteral | Colin Watson | 2021-01-04 | 1 | -0/+1 |
| | | | |||||
| | * | Add a tox lint environment, and make it pass | Colin Watson | 2020-12-23 | 17 | -191/+293 |
| | | | |||||
| * | | Restore 100% coverage | Colin Watson | 2020-12-23 | 1 | -1/+1 |
| |/ | | | | This branch is unused when running tests with zope.interface >= 5.0.1. | ||||
| * | Make the resolution order of all fields consistent.issue80 | Jason Madden | 2020-03-20 | 5 | -36/+157 |
| | | | | | | | And test this. Fixes #80. Add Python 3.8, drop Python 3.4. | ||||
| * | Fix: add ``Text.unicode_normalization = 'NFC'`` as defaultadamg-fix-text | Adam Groszer | 2020-03-06 | 2 | -1/+21 |
| | | |||||
| * | Set `IDecimal` attributes `min`, `max` and `default` as `Decimal` type ↵adamg-decimal | Adam Groszer | 2020-03-06 | 5 | -125/+142 |
| | | | | | instead of `Number`. | ||||
| * | Removing left-over line from test that has been movedissue86 | Georg Bernhard | 2020-02-15 | 1 | -1/+0 |
| | | |||||
| * | text_type was already imported from _compat, there is no need to repeat that | Georg Bernhard | 2020-02-14 | 1 | -4/+0 |
| | | |||||
| * | Making tests work wirh all versions of python is harder than one might think. | Georg Bernhard | 2020-02-14 | 1 | -4/+6 |
| | | |||||
| * | Making tests work with py2 and py3 | Georg Bernhard | 2020-02-14 | 2 | -7/+10 |
| | | |||||
| * | Trying to get tests to run without literal utf-8 characters | Georg Bernhard | 2020-02-14 | 1 | -1/+1 |
| | | |||||
| * | Keeping signature the same | Georg Bernhard | 2020-02-14 | 1 | -1/+0 |
| | | |||||
| * | Merge branch 'issue86' of github.com:zopefoundation/zope.schema into issue86 | Georg Bernhard | 2020-02-14 | 1 | -1/+2 |
| |\ | |||||
| | * | Update src/zope/schema/_bootstrapfields.py | Georg Gogo. BERNHARD | 2020-02-14 | 1 | -1/+2 |
| | | | | | | | Co-Authored-By: Jason Madden <jamadden@gmail.com> | ||||
| * | | Validation after normalization | Georg Bernhard | 2020-02-14 | 2 | -6/+2 |
| |/ | |||||
| * | Moving doctest to zope testing | Georg Bernhard | 2020-02-14 | 1 | -2/+0 |
| | | |||||
| * | Allowing for all variants of normalization | Georg Bernhard | 2020-02-14 | 2 | -7/+7 |
| | | |||||
| * | Doc-Tests need unicodedata to be imported | Georg Bernhard | 2020-02-14 | 1 | -0/+1 |
| | | |||||
| * | Tests need coding defined | Georg Bernhard | 2020-02-14 | 2 | -0/+4 |
| | | |||||
| * | Fixing issue86 by normalizing unicode for IFromUnicode | Georg Bernhard | 2020-02-14 | 2 | -2/+33 |
| | | |||||
| * | Fixed a ReST error in getDoc() results when having "subfields" with titles | Lennart Regebro | 2018-10-12 | 2 | -4/+8 |
| | | |||||
| * | - Make sure that the title for ``IObject.validate_invariants`` is a unicode | Stephan Richter | 2018-10-11 | 1 | -1/+1 |
| | | | | | string. | ||||
| * | Fix handling of non-ascii bytes tokens | David Glick | 2018-09-29 | 2 | -1/+10 |
| | | |||||
| * | Make DottedName accept leading underscores. | Jason Madden | 2018-09-24 | 4 | -5/+108 |
| | | | | | Add a PythonIdentifier class, and share the regex for an identifier between DottedName and PythonIdentifier so they are in sync. | ||||
| * | Merge pull request #77 from zopefoundation/issue76 | Jason Madden | 2018-09-24 | 2 | -0/+28 |
| |\ | | | | | Fix Field.getDoc() when value_type or key_type are present | ||||
| | * | Fix Field.getDoc() when value_type or key_type are presentissue76 | Jason Madden | 2018-09-23 | 2 | -0/+28 |
| | | | | | | | | | Fixes #76 | ||||
| * | | Make NativeString[Line] into distinct types.issue74 | Jason Madden | 2018-09-22 | 3 | -19/+119 |
| |/ | | | | | | This facilitates documentation and interactive exploration. Fixes #74. | ||||
| * | Document IFromBytes in Sphinx. | Jason Madden | 2018-09-20 | 1 | -0/+2 |
| | | | | | Add a missing '.. versionadded::' directive. | ||||
| * | Fix passing ``None`` as the description to a field constructor. | Jason Madden | 2018-09-19 | 2 | -1/+28 |
| | | | | | Fixes #69. | ||||
| * | Use separate branches for Number.fromBytes for PY2/3; sprinkle 'no cover' ↵ | Jason Madden | 2018-09-19 | 1 | -1/+5 |
| | | | | | for PY2 | ||||
| * | Add versionchanged sphinx directive for Bool.feature/IFromBytes | Jason Madden | 2018-09-18 | 1 | -1/+6 |
| | | |||||
| * | Add IFromBytes | Jason Madden | 2018-09-18 | 7 | -68/+284 |
| | | | | | | | | | | | As a counterpoint to IFromUnicode. This is useful when you know the type of data you're dealing with, and conversions are either trivially non-lossy (or will fail anyway) or are not necessary. The numeric fields as well as Bytes/Line and URI, DottedName and Id implement this, the last three because they are native string lines that want to accept bytes on Python 2 anyway. On Python 2, lxml likes to produce byte strings "to save memory" even when parsing unicode and given proper XML encoding information, so this can be very helpful there. | ||||
| * | Give TOO_LARGE|SMALL meaningful reprs, as suggested. | Jason Madden | 2018-09-11 | 3 | -9/+31 |
| | | | | | Minor whitespace cleanups. | ||||
| * | Add 'bound' to TooShort|Long|Big|Smallissue65 | Jason Madden | 2018-09-10 | 4 | -281/+216 |
| | | | | | | | Using a common superclass. Unify a bunch of the tests for these and remove duplication. | ||||
