summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Prep 4.1.0 release.4.1.0Tres Seaver2014-12-292-2/+3
|
* Note blocker for PyPy3 support.Tres Seaver2014-12-293-0/+10
|
* Add support for Python 3.4Tres Seaver2014-12-295-5/+17
|
* Garden ReST.Tres Seaver2014-12-292-27/+28
| | | | [ci skip]
* Speed up Travis builds via 'sudo: false'Tres Seaver2014-12-201-0/+1
|
* Update to latest bootstrap.Tres Seaver2014-12-201-186/+98
|
* svbTres Seaver2014-01-132-1/+6
|
* Prep 4.0.0 release.4.0.0Tres Seaver2014-01-132-3/+3
|
* Rewrite the print testing so it works in Python 3.3.Maurits van Rees2014-01-131-2/+10
|
* Catch warnings in test_translate_existing.Maurits van Rees2014-01-132-12/+19
| | | | Otherwise a warning is printed each time you run the tests.
* Minor pep8 for long lines.Maurits van Rees2014-01-132-7/+14
|
* Merge branch 'master' into maurits-gettextMaurits van Rees2014-01-111-7/+7
|\
| * Try to work around build failure on TravisMarius Gedminas2013-09-261-7/+7
| | | | | | | | | | | | | | | | | | | | | | I can reproduce that failure locally, using tox. Only python 2.7 fails, Python 2.6 and 3.3 (and PyPy) are fine. The failure is a difference in filenames (relative versus absolute) in test_sa4.html. I've tried digging, but gave up. The failure appears if I run tox -e py27. It doesn't appear if I run tox -e py27 --develop. So let's tell Travis to use the latter, to at least catch new regressions.
* | Fix warning of msgid with different default for Python 3.Maurits van Rees2013-09-211-2/+8
| |
* | Fix possible UnicodeDecodeError in warning when msgid already exists.Maurits van Rees2013-09-213-3/+32
|/ | | | | | | | This happens when comparing 'Read more…' with 'Read moreā€¦'. That should not give a warning, because they are really the same, but that would need a fix somewhere else, in the code that gets the value of an i18n:attribute in a different way than an i18n:translate. Added test for the proper printing of the warning.
* modernize bootstrap.pyAdam Groszer2013-07-061-53/+165
|
* 'Updated Travis YAML.'Stephan Richter2013-03-041-0/+12
|
* Mention one rather important change in the changelogMarius Gedminas2013-02-262-0/+5
|
* Back to development: 4.0.0a2Marius Gedminas2013-02-152-1/+7
|
* Preparing release 4.0.0a14.0.0a1Marius Gedminas2013-02-152-3/+3
|
* Rename *.txt to *.rst for prettier Github renderingMarius Gedminas2013-02-126-3/+3
|
* Update bootstrap.py to latest v2 bootstrapMarius Gedminas2013-02-121-78/+116
| | | | (downloaded from http://downloads.buildout.org/2/bootstrap.py)
* Add a .gitignoreMarius Gedminas2013-02-121-0/+5
|
* Fix occasional \r\r\n newlines with XML test files on WindowsMarius Gedminas2013-02-112-8/+23
| | | | | The test suite now passes on both Windows and Unix, with both newline styles (CRLF and LF).
* Make runtest.py use optparse.Marius Gedminas2013-02-113-54/+74
| | | | | Make python -m zope.tal.runtest work even when your current working directory is not src/zope/tal/
* Use optparse instead of getopt.Marius Gedminas2013-02-111-80/+41
|
* Whoops, another use of the obsolete setpath hack.Marius Gedminas2013-02-111-3/+0
|
* Make it possible to filter FileTestCases by filename.Marius Gedminas2013-02-091-0/+5
| | | | | Example: bin/test -t test04.xml
* This should make the tests pass on Windows.Marius Gedminas2013-02-081-0/+5
| | | | Does anybody care about Windows?
* Explain the &#45 parsing difference (it's the stdlib)Marius Gedminas2013-02-071-2/+2
|
* Add PyPy support because it's not hardMarius Gedminas2013-02-074-5/+11
|
* We've reached Py3K: add classifiers, enable toxMarius Gedminas2013-02-073-3/+6
|
* Towards Py3K: &#45 inside attribute valuesMarius Gedminas2013-02-071-5/+7
| | | | | | | | I've no idea why this case is handled differently on Python 2 and Python 3. There's precedent for different escaping on different Python versions: before 2.6 and since 2.6. Speaking of which, let's drop the "before 2.6" case.
* Towards Py3K: Python code inside templatesMarius Gedminas2013-02-071-9/+9
|
* Towards Py3K: use html.escape instead of cgi.escapeMarius Gedminas2013-02-072-6/+14
| | | | | | | | There's one difference -- html.escape also escapes single quotes ('), while cgi.escape doesn't. html.escape doesn't exist on Python 2.x, while cgi.escape emits a deprecation warning on Python 3.x. To get unified behavior across all Python versions I had to inline the escape function in zope.tal.taldefs.quote().
* Towards Py3K: builtins (part 2)Marius Gedminas2013-02-071-0/+7
|
* Towards Py3K: use io.StringIOMarius Gedminas2013-02-075-6/+34
| | | | | | | While Python 2.6+ also has io.StringIO(), using it causes numerous test failures -- because io.StringIO() insists on unicode, and our tests are full of (ASCII-only) native string literals. For this reason I decided to keep using StringIO.StringIO or cStringIO.StringIO on Python 2.x.
* Towards Py3K: xml.parsers.expat wants byte strings (part 2)Marius Gedminas2013-02-071-1/+2
| | | | Also avoid ResourceWarning by explicitly closing the file.
* Make attribute ordering deterministicMarius Gedminas2013-02-073-6/+6
|
* Better test failure reporting in FileTestCaseMarius Gedminas2013-02-072-11/+22
| | | | | | | | | Previously the diff would be printed to stdout in the middle of a sea of dots, and *then* you'd get test failure assertions mentioning only the filename (and on Python 3.3 you'd also get a gratuitous SystemExit traceback in addition to the assertion failure) Now you get a sane single assertion failure with the diff inside it.
* Replace ndiff.py with stdlib's difflibMarius Gedminas2013-02-072-673/+2
|
* Remove the ancient setpath.py hackMarius Gedminas2013-02-072-49/+0
| | | | | | | | | | | | | | Now you can debug failures by doing, e.g. .tox/py27/bin/python -m zope.tal.driver -s src/zope/tal/tests/input/test24.html .tox/py33/bin/python -m zope.tal.driver -s src/zope/tal/tests/input/test24.html and comparing the emitted bytecode. Note: if you want to use bin/py, you must also use -- to avoid a bug in buildout's interpreter wrapper script: bin/py -m zope.tal.driver -- -s src/zope/tal/tests/input/test24.html
* Towards Py3K: avoid deprecated assertion spellingsMarius Gedminas2013-02-074-20/+20
|
* Towards Py3K: xml.parsers.expat wants byte stringsMarius Gedminas2013-02-071-13/+13
|
* Missing errno importMarius Gedminas2013-02-071-0/+1
|
* Unused importsMarius Gedminas2013-02-072-2/+0
|
* Towards Py3K: range() returns an iteratorMarius Gedminas2013-02-071-1/+1
|
* Towards Py3K: use f(*args) instead of apply(f, args)Marius Gedminas2013-02-071-1/+1
|
* Towards Py3K: builtinsMarius Gedminas2013-02-074-0/+24
|
* Towards Py3K: stdlib reorganizationMarius Gedminas2013-02-072-3/+15
| | | | | | | StringIO is omitted from this checkin: we can't use io.StringIO nor io.BytesIO, because zope.tal likes to write both byte strings and Unicode objects into the same stream. This will require careful untangling.