summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Config with pure python template (#11)Michael Howitz2023-01-103-4/+2
| | | | | * Drop support for Python 2.7, 3.5, 3.6. * Add support for Python 3.11.
* Lint the code.Michael Howitz2022-09-075-9/+14
|
* Isort imports.Michael Howitz2022-09-072-2/+6
|
* Fix tests on Python 3.8Colin Watson2019-12-181-1/+2
| | | | | | | | | | Marius Gedminas worked out that the fix for https://bugs.python.org/issue4963 in Python 3.8 (also backported to 3.7) meant that `mimetypes.init` now modifies `mimetypes.types_map` in place. Work around this by remembering the length of `types_map` at the start of each test. Fixes #7.
* Enable Sphinx for RTDdocsJason Madden2017-08-083-13/+71
| | | | Also fix usage of zope.contenttype as a main module.
* Add Python 3.6, drop Python 3.3.py36Jason Madden2017-08-035-26/+19
| | | | | | | | | | | - Badges - Add coverage environment and coveralls - 100% coverage - Some simplifications to help that, including using print_function for simpler parity on Py2/Py3, and not rewriting the _token_match function at runtime (presumably this was to delay compiling a regex at import time, but other regexes are already being compiled now at import time, so the hit is minor)
* Require 100% coverage.Tres Seaver2015-02-233-7/+11
|
* Let's agree that files of unknown contents are bytes, not strings.Albertas Agejevas2013-02-202-25/+25
|
* - Added some tests for better coverage.Stephan Richter2013-02-113-9/+37
| | | | | | - Added `tox.ini` and manifest. - Added support for Python 3.3 and PyPy 1.9.
* Properly restore the HTML snippet detection, by looking at the entire string ↵Hanno Schlichting2011-07-272-6/+8
| | | | and not just its start.
* Restore detection of HTML snippets from 3.4 series.Hanno Schlichting2011-07-262-3/+9
|
* Added new mime types for web fonts, cache manifest and new media formats.Hanno Schlichting2011-03-181-0/+11
|
* Typo.Tres Seaver2011-02-111-1/+1
|
* LP #717289: added 'video/x-m4v' mimetype for the '.m4v' extension.Tres Seaver2011-02-111-1/+2
|
* Don't import module-under-test at global scope.Tres Seaver2010-09-121-61/+65
|
* Remove CVS-era Id fossils.Tres Seaver2010-06-032-7/+0
|
* Comply with repository policy.Tres Seaver2010-04-064-4/+4
|
* LP #242321: fix IndexError raised when testing strings consisting solely of ↵Tres Seaver2010-03-242-16/+20
| | | | leading whitespace.
* Updated mime.types for .js to 'application/javascript'.Aaron Lehmann2009-12-291-1/+1
|
* Break long lines; scrub module-scope dependencies, import of module-under-test.Tres Seaver2009-11-251-37/+37
|
* documented moving contenttype parsing from zope.publisher to this package, ↵Thomas Lotze2009-10-081-20/+20
| | | | adapted tests
* moved tests for contenttype parsing from zope.publisher to zope.contenttype ↵Thomas Lotze2009-10-081-0/+199
| | | | after code has been moved
* moved the implementation of zope.publisher.contenttype to zope.contenttype.parseThomas Lotze2009-10-081-0/+136
|
* cleanup whitespaceRoger Ineichen2009-05-281-3/+0
|
* As 'setuptools' is a dependency 'pkg_resources' will be available always. ↵Baiju Muthukadan2009-03-111-7/+1
| | | | Ref: http://mail.zope.org/pipermail/zope-dev/2009-March/035277.html
* Added MS Office 12 typesAdam Groszer2009-02-131-0/+17
|
* Added reference docsShane Hathaway2009-02-031-3/+25
|
* some more checksAndreas Jung2007-09-162-2/+5
|
* Improved text_type(). Based on the patch fromAndreas Jung2007-09-162-10/+36
| | | | http://www.zope.org/Collectors/Zope/2355/
* Moving code to satellite.Christian Theune2007-05-036-0/+184
|
* Initial commit of zope.contenttype for eggification.Baiju Muthukadan2006-10-301-0/+7