Commits

Author Commit Message Labels Comments Date
Mike Bayer
docstrings
Mike Bayer
- initial sphinx buildout. only includes "usage" so far, needs more work.
Mike Bayer
- The range of Python identifiers that 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
- New flag on Template, TemplateLookup - strict_undefined=True, will cause variables not found in the context to raise a NameError immediately, instead of defaulting to the UNDEFINED value.
Mike Bayer
Added tag rel_0_3_5 for changeset 3c97a5d3dbd3
Mike Bayer
- Added a try/except around "import markupsafe". This to support GAE which can't run markupsafe. [ticket:151] No idea whatsoever if the install_requires in setup.py also breaks GAE, couldn't get an answer on this.
Tags
rel_0_3_5
Mike Bayer
- adjust the new multiline ${} in tag feature to allow trailing whitespace, doesn't occur on Python 2.7
Mike Bayer
- ${} expressions embedded in tags, such as <%foo:bar x="${...}">, now allow multiline Python expressions.
Mike Bayer
petite
Mike Bayer
merge tag
Mike Bayer
- The <%namespace> tag allows expressions 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.
Mike Bayer
Added tag rel_0_3_4 for changeset 7c0d449fb0aa
Mike Bayer
ensure .mako goes in here
Tags
rel_0_3_4
Mike Bayer
- Now using MarkupSafe for HTML escaping, 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
upgrade to 0.6.13 of distribute loader
Mike Bayer
merge tag
Mike Bayer
py3k test fixes
Mike Bayer
- Fixed call to "unicode.strip" in exceptions.text_error_template which is not Py3k compatible. [ticket:137]
Mike Bayer
Added tag rel_0_3_3 for changeset 6efa09cec79f
Mike Bayer
add html files to test suite
Tags
rel_0_3_3
Mike Bayer
- Added conditional to RichTraceback 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
Mike Bayer
updates to setup for mercurial
Mike Bayer
- When a .py is being created, the tempfile where the source is stored temporarily is now made in the same directory as that of the .py file. This ensures that the two files share the same filesystem, thus avoiding cross-filesystem synchronization issues. Thanks to Charles Cazabon.
Mike Bayer
fix test to use correct parameter
Mike Bayer
yikes, no more svn version here...
Mike Bayer
- Fixed error formatting when a stacktrace line contains no line number, as in when inside an eval/exec-generated function. [ticket:132]
Mike Bayer
- Fixed broken @property decorator on template.last_modified
Mike Bayer
- Fixed sometimes incorrect usage of exc.__class__.__name__ in html/text error templates when using Python 2.4 [ticket:131]
Mike Bayer
add an ignore file
convert-repo
update tags
  1. Prev
  2. Next