Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make sure ZopePythonExpr and PythonExpr are separate classes | Marius Gedminas | 2013-03-15 | 1 | -8/+8 |
| | | | | | | There are ZCML files out there (zope.app.pagetemplate) that want to define permissions for ZopePythonExpr and PythonExpr, and get conflicts if these are two names referring to the same class. | ||||
* | Port to Py3.3. | Albertas Agejevas | 2013-02-22 | 7 | -93/+128 |
| | |||||
* | Close files. Gets rid of warnings on Py3. | Albertas Agejevas | 2013-02-22 | 1 | -2/+4 |
| | |||||
* | Fixup extra. | Albertas Agejevas | 2013-02-22 | 1 | -6/+9 |
| | |||||
* | Switch to zope.untrustedpython, make it an extra. | Albertas Agejevas | 2013-02-22 | 2 | -3/+12 |
| | |||||
* | Added crude way of normalizing whitespace in an html test. | Maurits van Rees | 2013-01-18 | 1 | -0/+3 |
| | | | | When using Chameleon/z3c.ptcompat there are minor differences that are irrelevant. | ||||
* | PageTemplateTracebackSupplement does not pass check_macro_expansion=False | Maurits van Rees | 2013-01-04 | 1 | -1/+5 |
| | | | | | in case of an old template that does not accept this argument. Refs LP#732972 | ||||
* | Workaround for CPU-burning pt_errors() on a recursive template. | Marius Gedminas | 2012-12-12 | 4 | -6/+42 |
| | | | | | | | | | | | | | | See https://bugs.launchpad.net/zope.pagetemplate/+bug/732972 This implements the short workaround version of the solution mentioned in the bug: let's skip macro expansion checking while we're formatting an error traceback (with the default recursion limit of 100 this still burns a lot of CPU: ~20 seconds on a 2.5 GHz Core i5). The test can be easily extended for the better suggested solution (some time in the future): just drop check_macro_expansion=False and make sure METAL silently stops recursing iff it notices a loop and TAL evaluation is disabled. | ||||
* | Drop support for Python 2.4 and 2.5. | Tres Seaver | 2012-05-17 | 2 | -11/+10 |
| | | | | | | | | | Replace 'zope.interface.classProvides' usage with equivalent 'zope.interface.provider' decorator. Replace 'zope.interface.implements' usage with equivalent 'zope.interface.implementer' decorator. | ||||
* | Revert last change as it is not needed after all. | Maurits van Rees | 2012-01-06 | 1 | -3/+0 |
| | | | | This is an error in test setup of a different package that creates a too simply dummy site manager context. | ||||
* | If no IPageTemplateEngine utility can be found, make doubly sure to | Maurits van Rees | 2012-01-05 | 1 | -0/+3 |
| | | | | use the default PageTemplateEngine. | ||||
* | The ``pt_edit`` method always cooks the template before returning; no need ↵ | Malthe Borch | 2011-10-07 | 1 | -1/+1 |
| | | | | to do it twice. This behavior has now been documented in the interface method description of ``pt_edit``. | ||||
* | Fixed test assertions to be compatible with zope.tal 3.6. | Hanno Schlichting | 2011-09-21 | 1 | -4/+2 |
| | |||||
* | Fixed issue where a template would not have a ``_v_macros`` attribute. | Malthe Borch | 2011-09-13 | 3 | -16/+20 |
| | | | | | | | | | | This volatile attribute is relied upon by some legacy code such as the Zope 2 product ``PageTemplates``. In this changeset, the interface is changed to match that of the TAL parser's ``getCode`` method which returns a tuple ``(program, macros)``. These are in turn assigned to the volatile attributes ``_v_program`` and ``_v_macros``. | ||||
* | Fixed issue with missing default value for ``strictinsert``. | Malthe Borch | 2011-08-23 | 2 | -2/+3 |
| | |||||
* | Replaced StringIO stream class with a faster list-based implementation. | Hanno Schlichting | 2011-08-20 | 1 | -2/+14 |
| | |||||
* | Abstract out the template engine and program interfaces and allow ↵ | Malthe Borch | 2011-08-14 | 3 | -26/+169 |
| | | | | implementation replacement via a utility component registration. | ||||
* | Removed ancient copyright from test files (LP: #607228) | Gediminas Paulauskas | 2011-06-08 | 5 | -72/+0 |
| | |||||
* | make the PTRuntimeError exception message consistent across Python versions | Fred Drake | 2010-07-08 | 2 | -3/+18 |
| | |||||
* | Remove CVS-era Id fossils. | Tres Seaver | 2010-06-03 | 14 | -28/+0 |
| | |||||
* | Conform to repository policy. | Tres Seaver | 2010-05-05 | 14 | -14/+14 |
| | |||||
* | Removed use of 'zope.testing.doctestunit' in favor of stdlib's doctest. | Tres Seaver | 2010-04-16 | 1 | -1/+1 |
| | |||||
* | fix dependencies (thanks to z3c.dependencychecker) | Godefroid Chapelle | 2009-12-18 | 1 | -5/+5 |
| | |||||
* | Moved 'engine' module and here from ``zope.app.pagetemplate`` package. | Tres Seaver | 2009-05-25 | 4 | -0/+616 |
| | | | | o Moved / cleaned up related test scaffolding too. | ||||
* | Remove old zpkg-related DEPENDENCIES.cfg file. | Dan Korostelev | 2009-03-16 | 1 | -3/+0 |
| | | | | | Change package's mailing list address to zope-dev at zope.org. Change `cheeseshop` to `pypi` in the packages' homepage url. | ||||
* | As 'setuptools' is a dependency 'pkg_resources' will be available always. ↵ | Baiju Muthukadan | 2009-03-11 | 1 | -8/+1 |
| | | | | Ref: http://mail.zope.org/pipermail/zope-dev/2009-March/035277.html | ||||
* | Make tests work with recent changes to the TAL interpreter (zope.tal 3.5.0) ↵ | Philipp von Weitershausen | 2008-06-07 | 1 | -6/+6 |
| | | | | | | regarding trailing newline characters. | ||||
* | Fix up REST a little bit. | Stephan Richter | 2007-10-03 | 1 | -5/+0 |
| | |||||
* | removed pt_warnings() since the pt_warnings() implementation has been removed | Andreas Jung | 2007-08-04 | 1 | -7/+0 |
| | | | | (appearently being a cruft) without removing the method from the interface | ||||
* | Moving code to satellite. | Christian Theune | 2007-05-03 | 47 | -0/+2031 |
| | |||||
* | Changed the version number in setup.py and also made it import find_packages | Alexander Heavner | 2007-02-13 | 1 | -0/+8 |
and then used find_packages. Changed the try, except statement in __init__.py. Removed setup.cfg.in, INSTALL.txt, develop.py, CHANGES.txt, test.py, MANIFEST.in and README.txt because they were no longer needed. |