Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
happy new year
Tags
rel_0_2_5
Mike Bayer
fix some typos
Mike Bayer
use wsgiref server now
Mike Bayer
- added "mako.__version__" attribute to the base module. [ticket:110]
Mike Bayer
dont create DefTemplate object just for namespace calls
Mike Bayer
- Removed errant "lower()" in the lexer which was causing tags to compile with case-insensitive names, thus messing up custom <%call> names. [ticket:108]
Mike Bayer
- When Mako creates subdirectories in which to store templates, it uses the more permissive mode of 0775 instead of 0750, helping out with certain multi-process scenarios. Note that the mode is always subject to the restrictions of the existing umask. [ticket:101]
Mike Bayer
- Fixed namespace.__getattr__() to raise AttributeError on attribute not found instead of RuntimeError. [ticket:104]
Mike Bayer
- Added a "decorator" kw argument to <%def>, 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.
Mike Bayer
- Fixed lexing support for whitespace around '=' sign in defs. [ticket:102]
Philip Jenvey
doc corrections fixes #100
Mike Bayer
- Added last_modified accessor to Template, returns the time.time() when the module was created. [ticket:97]
Philip Jenvey
whitespace
Philip Jenvey
reapply the _fields check, it's needed for CPython 2.5
Tags
rel_0_2_4
Philip Jenvey
fixed compat. with the upcoming Jython 2.5b1 by removing all the Jython workarounds; its AST matches CPython's pretty closely
Philip Jenvey
don't assume dict ordering
Philip Jenvey
bump to 0.2.4dev
Mike Bayer
beaker 1.1
Tags
rel_0_2_3
Philip Jenvey
use __builtin__, __builtins__ is an implementation detail
Mike Bayer
- fixed bug whereby an <%included> template with <%page> args named the same as a __builtin__ would not honor the default value specified in <%page> [ticket:93]
Mike Bayer
put parenthesis around expressions from ${} blocks inside of attributes to better support grouping
Mike Bayer
support blank tag attributes
Mike Bayer
- RichTraceback() now accepts an optional traceback object to be used in place of sys.exc_info()[2]. html_error_template() and text_error_template() accept an optional render()-time argument "traceback" which is passed to the RichTraceback object. - lexer tests now rely upon an always-sorted dict repr()
Mike Bayer
- the <%namespacename:defname> syntax described at http://techspot.zzzeek.org/?p=28 has now been added as a built in syntax, and is recommended as a more modern syntax versus <%call expr="expression">. The %call tag itself will always remain, with <%namespacename:defname> presenting a more HTML-like alternative to calling defs, both plain and nested. Many examples of the new syntax are in the "Calling a def with embedded content" …
Philip Jenvey
don't assume dict ordering
Philip Jenvey
whitespace
Philip Jenvey
we don't have to split('.') either on Jython now
Mike Bayer
- beaker bump - added "cache_enabled=True" flag to Template, TemplateLookup. Setting this to False causes cache operations to "pass through" and execute every time; this flag should be integrated in Pylons with its own cache_enabled configuration setting.
Philip Jenvey
Beaker 1.0.4 isn't out yet, require dev for now
Mike Bayer
- caching now uses beaker.cache_manager directly. For best results use Beaker 1.0.4, just checked in. This version of Beaker stores no persistent state in memory for each key, allowing dynamically generated keys to work without using up available memory.
  1. Prev
  2. Next