Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #3 from mikola/masterHEADmasterbaserock/morph | R. Tyler Croy | 2012-12-17 | 1 | -1/+1 |
|\ | | | | | Avoid creating an invalid class name | ||||
| * | Avoid creating an invalid class name for the file on the path where the ↵ | mikola | 2012-10-22 | 1 | -1/+1 |
| | | | | | | | | first folder name starts with a number, e.g. c:\10folder\code\sample.tmpl | ||||
* | | fixing validation logic in template initialization | Darren Yin | 2012-11-29 | 1 | -1/+1 |
|/ | |||||
* | Fixed a `TypeError` caused because of `unicode` issues in python 2.7.x | Lakshmi Vyasarajan | 2012-01-26 | 2 | -2/+6 |
| | |||||
* | Apply patch to fix another UnicodeEncodeErrornext | R. Tyler Croy | 2011-04-22 | 1 | -2/+6 |
| | | | | | | | Reported by Carles Muñoz Gorriz in the Debian bug tracker: <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584966> Change-Id: Ic6db91b5da9966eaf5b26e2d7170e667915d57c2 | ||||
* | make it possible to force file encoding via the command line | Evan Klitzke | 2010-12-12 | 2 | -1/+10 |
| | |||||
* | Check our call to PyObject_GetAttrString() to make sure it returns a ↵ | R. Tyler Croy | 2010-12-12 | 1 | -14/+25 |
| | | | | | | | | non-NULL value Should resolve issue: #6 Change-Id: Ie1fd42a9719d50e0baa600e3563ac50159201dc9 | ||||
* | Fix EOL tests for Python 2.7 | R. Tyler Croy | 2010-12-12 | 1 | -3/+3 |
| | | | | | | Patch from: Mike Bonnet <mikeb@redhat.com> Change-Id: I3a3a3e57c1c94cac0ee020e41882b86dc9a4d4be | ||||
* | Force tests to exit with a non-zero return code on failure when running ↵ | R. Tyler Croy | 2010-12-12 | 1 | -3/+4 |
| | | | | | | | | `cheetah test` Patch from: Mike Bonnet <mikeb@redhat.com> Change-Id: Ie20348e1272d6102381c467e414bd176bbc2b9b9 | ||||
* | sys.version_info isn't a tuple in 2.7. Fix version check in Template.py | Jon Siddle | 2010-12-12 | 1 | -1/+1 |
| | |||||
* | Bump the version for the next series of development | R. Tyler Croy | 2010-09-16 | 1 | -2/+2 |
| | | | | Change-Id: I04a6df632c2b0c95128ef78a766514f2da5e756a | ||||
* | Added test and fix for segfault in namemapper where exception is thrown by ↵ | Jon Siddle | 2010-09-15 | 2 | -5/+19 |
| | | | | __getattr__. | ||||
* | Use `itervalues()` when iterating over cache regions | R. Tyler Ballance | 2010-06-24 | 1 | -2/+2 |
| | | | | | | Suggested by Simon Koenig <simjoko@gmail.com> Change-Id: Ie18c8d9d82b55124440fc2aad508c9525d766a89 | ||||
* | Properly generate a PYTHONPATH and locate the cheetah executable for ↵ | R. Tyler Ballance | 2010-03-21 | 1 | -6/+12 |
| | | | | | | | | CheetahWrapper tests On FreeBSD particularly, the tempfile.mktemp() heavily sandboxes the process into /tmp/ somewhere. Finding absolute paths to the cheetah process and the Cheetah/ directory is necessary to properly run the tests | ||||
* | Increment version for next series of development | R. Tyler Ballance | 2010-02-07 | 1 | -2/+2 |
| | |||||
* | Mark v2.4.2v2.4.2 | R. Tyler Ballance | 2010-02-07 | 1 | -1/+1 |
| | |||||
* | Fix regression in the pure Python NameMapper | R. Tyler Ballance | 2010-01-31 | 1 | -1/+1 |
| | | | | | Introduced the regression in `a0c6979` when cleaning up imports. | ||||
* | Tidying up whitespace | R. Tyler Ballance | 2010-01-31 | 1 | -27/+17 |
| | |||||
* | Denote that we're working on 2.4.2rc2 now | R. Tyler Ballance | 2010-01-31 | 1 | -4/+4 |
| | |||||
* | Tag a 2.4.2 candidate release | R. Tyler Ballance | 2010-01-27 | 1 | -1/+1 |
| | |||||
* | Gut the old WebWare-servlet code from Cheetah.Servlet | R. Tyler Ballance | 2010-01-27 | 1 | -72/+8 |
| | | | | | | Apparently the attempted import might be to blame for some slowness when importing on Mac OS X which has a (large-ish) WebKit python module available. | ||||
* | Find the #encoding directive even if it's after a comment (for example) | R. Tyler Ballance | 2010-01-27 | 2 | -1/+7 |
| | | | | | | | Added a test and applied Juan's patch, everything seems to check out alright with it Reported-by: Juan Fiol <fiolj@yahoo.com> | ||||
* | Handle Python3's `slice` objects in SourceReader | R. Tyler Ballance | 2010-01-03 | 1 | -28/+5 |
| | |||||
* | Import __builtin__ in generated template code in a compatible way with 2 and 3 | R. Tyler Ballance | 2010-01-03 | 2 | -4/+17 |
| | |||||
* | Support difference between types.MethodType constructors in Python2 vs. Python3 | R. Tyler Ballance | 2010-01-03 | 1 | -12/+13 |
| | |||||
* | Add types.FileType shim compat for 3.xx | R. Tyler Ballance | 2009-12-30 | 1 | -2/+10 |
| | |||||
* | Correct references to string.letters and string.translate not caught by 2to3 | R. Tyler Ballance | 2009-12-27 | 1 | -4/+9 |
| | |||||
* | Remove references to the `new` module | R. Tyler Ballance | 2009-12-27 | 5 | -46/+23 |
| | |||||
* | Remove old bundled memcached client | R. Tyler Ballance | 2009-12-27 | 2 | -623/+1 |
| | |||||
* | Since functions are properly objects in Python 3, need to start detecting ↵ | R. Tyler Ballance | 2009-12-27 | 1 | -23/+27 |
| | | | | them differently for auto-calling | ||||
* | NameMapperTest.failureException cannot be a tuple | R. Tyler Ballance | 2009-12-27 | 1 | -1/+1 |
| | |||||
* | Fix implicit relative import of _namemapper | R. Tyler Ballance | 2009-12-27 | 1 | -1/+1 |
| | |||||
* | Prune unnecessary 'types' import in Namemapper.py | R. Tyler Ballance | 2009-12-27 | 1 | -4/+1 |
| | |||||
* | Prune some more stale code, get _namemapper.c building on Python 2 and 3 | R. Tyler Ballance | 2009-12-27 | 1 | -12/+41 |
| | |||||
* | Code using 'INCLUDE_NAMESPACE_REPR_IN_NOTFOUND_EXCEPTIONS' has been turned ↵ | R. Tyler Ballance | 2009-12-27 | 2 | -22/+2 |
| | | | | off for some time, killing it | ||||
* | Move macros into header file | R. Tyler Ballance | 2009-12-27 | 2 | -41/+35 |
| | |||||
* | Start cleaning up _namemapper.c for Python 3 support | R. Tyler Ballance | 2009-12-27 | 2 | -291/+325 |
| | |||||
* | Correct issue tested with SubclassSearchListTest | R. Tyler Ballance | 2009-12-26 | 1 | -0/+12 |
| | | | | | | | | | Subclasses (in Python) of Template failed to properly propogate attributes into the dyanmically compiled templates that were created with them as per: http://www.cheetahtemplate.org/docs/users_guide_html_multipage/gettingStarted.tutorial.html Issue reported by dhaivat. | ||||
* | Add regression test for dynamically compiled subclasses of Template | R. Tyler Ballance | 2009-12-26 | 1 | -0/+10 |
| | |||||
* | Bump version for next development cycle | R. Tyler Ballance | 2009-12-26 | 1 | -2/+2 |
| | |||||
* | Bump the version number | R. Tyler Ballance | 2009-12-19 | 1 | -2/+2 |
| | |||||
* | Add a test to verify the use of getVar and write inside of a PSP | R. Tyler Ballance | 2009-12-19 | 1 | -1/+17 |
| | |||||
* | Refactor the InlineSpanishTest to better clarify a success/failure scenario | R. Tyler Ballance | 2009-12-16 | 1 | -5/+16 |
| | |||||
* | Add a test to verify escaped entities in #raw blocks | R. Tyler Ballance | 2009-12-15 | 1 | -0/+6 |
| | | | | Related to 0cc9f78 and 70c9bd4 | ||||
* | only split multiline strings in output code at repr generated breaks | Doug Knight | 2009-12-14 | 2 | -24/+26 |
| | | | | Signed-off-by: R. Tyler Ballance <tyler@monkeypox.org> | ||||
* | move handling of escaped variables and directives to the parser | Doug Knight | 2009-12-14 | 2 | -16/+16 |
| | | | | | | | | | Once text reaches the compiler, it is too late to parse escaped variables and directives. The compiler does not know where the text came from, and can not determine when it should skip processing of escape sequences for raw blocks. Signed-off-by: R. Tyler Ballance <tyler@monkeypox.org> | ||||
* | Add another unicode test | R. Tyler Ballance | 2009-12-14 | 1 | -0/+28 |
| | | | | | | | This is based off an IRC conversation in #cheetah which I've honestly forgotten what the bug was when I wrote the test case. Pech gehabt. | ||||
* | Print the files we're analyzing | R. Tyler Ballance | 2009-11-18 | 1 | -0/+1 |
| | |||||
* | Correct relative imports of test modules | R. Tyler Ballance | 2009-11-18 | 1 | -11/+11 |
| | |||||
* | Add DirectiveAnalyzer tests to suite | R. Tyler Ballance | 2009-11-18 | 1 | -0/+2 |
| |