- Nov 16, 2010
-
-
Mike Bayer authored
least remove huge lines
-
- Nov 13, 2010
-
-
Mike Bayer authored
'' write in the case of backslash-ended lines. [ticket:155]
-
- Nov 10, 2010
-
-
Mike Bayer authored
are considered "undefined", meaning they are pulled from the context, has been trimmed back to not include variables declared inside of expressions (i.e. from list comprehensions), as well as in the argument list of lambdas. This to better support the strict_undefined feature.
-
Mike Bayer authored
strict_undefined=True, will cause variables not found in the context to raise a NameError immediately, instead of defaulting to the UNDEFINED value.
-
- Sep 02, 2010
-
-
Mike Bayer authored
doesn't occur on Python 2.7
-
- Aug 11, 2010
-
-
Mike Bayer authored
such as <%foo:bar x="${...}">, now allow multiline Python expressions.
-
- Jul 13, 2010
-
-
Mike Bayer authored
-
- Jun 30, 2010
-
-
Mike Bayer authored
for the `file` argument, i.e. with ${}. The `context` variable, if needed, must be referenced explicitly. [ticket:141] - Fixed previously non-covered regular expression, such that using a ${} expression inside of a tag element that doesn't allow them raises a CompileException instead of silently failing.
-
- Jun 22, 2010
-
-
Mike Bayer authored
i.e. in place of cgi.escape(). Faster C-based implementation and also escapes single quotes for additional security. Supports the __html__ attribute for the given expression as well. When using "disable_unicode" mode, a pure Python HTML escaper function is used which also quotes single quotes. Note that Pylons by default doesn't use Mako's filter - check your environment.py file.
-
Mike Bayer authored
-
Mike Bayer authored
exceptions.text_error_template which is not Py3k compatible. [ticket:137]
-
- May 31, 2010
-
-
Mike Bayer authored
such that if no traceback is passed and sys.exc_info() has been reset, the formatter just returns blank for the "traceback" portion. [ticket:135] - some long line cleanup
-
- Apr 21, 2010
-
-
Mike Bayer authored
-
- Apr 17, 2010
-
-
Mike Bayer authored
line contains no line number, as in when inside an eval/exec-generated function. [ticket:132]
-
- Mar 11, 2010
-
-
Mike Bayer authored
template.get_def(...).render() now checks the argument signature the same way as it did in 0.2.5, so that TypeError is not raised. reopen of [ticket:116]
-
- Mar 05, 2010
-
-
Mike Bayer authored
-
Mike Bayer authored
a given path that is a directory, not a filename, instead of passing through to the template to generate IOError. [ticket:73]
-
Mike Bayer authored
is passed only an absolute filename (i.e. with c: drive etc.) and no URI - the URI is converted to a forward-slash path and module_directory is treated as a windows path. [ticket:128]
-
Mike Bayer authored
uncommon feature, have been improved. The defs no longer get doubly-rendered in the body() scope, and now allow local variable assignment without breakage. [ticket:109]
-
Mike Bayer authored
inheriting template - the full set of render() arguments are passed down through the inherits chain. Undeclared arguments go into **pageargs as usual. [ticket:116]
-
Mike Bayer authored
% if: %endif, etc. [ticket:94] - finished cleanup for codegen.py, [ticket:98]
-
Mike Bayer authored
non-whitespace character on a line by escaping it as in "%%". [ticket:112]
-
Mike Bayer authored
text_error_template().render() now accept "error" and "traceback" as optional arguments, and these are now actually used. [ticket:122]
-
- Mar 04, 2010
-
-
Mike Bayer authored
- Python 3 support is added ! See README.py3k for installation and testing notes. [ticket:119]
-
- Mar 02, 2010
-
-
Mike Bayer authored
-
Mike Bayer authored
-
Mike Bayer authored
- Source code escaping has been simplified. In particular, module source files are now generated with the Python "magic encoding comment", and source code is passed through mostly unescaped, except for that code which is regenerated from parsed Python source. This fixes usage of unicode in <%namespace:defname> tags. [ticket:99]
-
Mike Bayer authored
HTML file writing, consistently cleanup the modules/cache directories, use nose skiptests for unsupported features.
-
Mike Bayer authored
-
- Feb 05, 2010
-
-
Mike Bayer authored
-
- Jan 22, 2010
-
-
Philip Jenvey authored
html_error_template. fixes #88
-
- Nov 01, 2009
-
-
Philip Jenvey authored
cases
-
- Sep 22, 2009
-
-
Philip Jenvey authored
fixes #118
-
- Apr 19, 2009
-
-
Mike Bayer authored
was causing tags to compile with case-insensitive names, thus messing up custom <%call> names. [ticket:108]
-
- Mar 19, 2009
-
-
Mike Bayer authored
AttributeError on attribute not found instead of RuntimeError. [ticket:104]
-
Mike Bayer authored
allows custom decoration functions to wrap rendering callables. Mainly intended for custom caching algorithms, not sure what other uses there may be (but there may be). Examples are in the "filtering" docs.
-
- Feb 26, 2009
-
-
Mike Bayer authored
around '=' sign in defs. [ticket:102]
-
- Dec 05, 2008
-
-
Philip Jenvey authored
-
- Nov 18, 2008
-
-
Mike Bayer authored
<%page> args named the same as a __builtin__ would not honor the default value specified in <%page> [ticket:93]
-
- Nov 16, 2008
-
-
Mike Bayer authored
better support grouping
-