1. fero14041
  2. mako-doc-fixes-201205

Commits

Show all
Author Commit Message Date Builds
Mike Bayer
cleanup
Tags
rel_0_3_6
Mike Bayer
update
Mike Bayer
some ignores
Mike Bayer
- more cleanup - move Namespace docs inline to attributes on Namespace - document Cache methods, add to caching.rst - use functools.partial for partials, part of [ticket:156]
Mike Bayer
some long lines
Mike Bayer
- [ticket:98] for the pyparser module
Mike Bayer
- Patch to lexer to not generate an empty '' write in the case of backslash-ended lines. [ticket:155]
Mike Bayer
- The Beaker import (or attempt thereof) is delayed until actually needed; this to remove the performance penalty from startup, particularly for "single execution" environments such as shell scripts. [ticket:153]
Mike Bayer
- Beaker is now part of "extras" in setup.py instead of "install_requires". This to produce a lighter weight install for those who don't use the caching as well as to conform to Pyramid deployment practices. [ticket:154]
Mike Bayer
- Fixed missing **extra collection in setup.py which prevented setup.py from running 2to3 on install. [ticket:148]
Mike Bayer
name all API sections "API Reference"
Mike Bayer
-remove old content
Mike Bayer
doc
Mike Bayer
some more docstrings and I'm ready to go live
Mike Bayer
looks good
Mike Bayer
moving along
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.
  1. Prev
  2. Next