Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
- cached blocks now use the current context when rendering an expired section, instead of the original context passed in [ticket:87]
Tags
rel_0_2_2
Mike Bayer
- fixed a critical issue regarding caching, whereby a cached block would raise an error when called within a cache-refresh operation that was initiated after the initiating template had completed rendering.
Mike Bayer
bumped genhtml version #
Mike Bayer
- bumped magic number, which forces template recompile for this version (fixes incompatible compile symbols from 0.1 series). - added a few docs for cache options, specifically those that help with memcached.
Tags
rel_0_2_1
Mike Bayer
- fixed bug where 'output_encoding' parameter would prevent render_unicode() from returning a unicode object
Philip Jenvey
bump version number
Mike Bayer
- added a runner script "mako-render" which renders standard input as a template to stdout [ticket:81] [ticket:56]
Tags
rel_0_2_0
Mike Bayer
- dict/locals placed in mako-private namespace, [ticket:84]
Mike Bayer
- can now use most names from __builtins__ as variable names without explicit declaration (i.e. 'id', 'exception', 'range', etc.) [ticket:83]
Philip Jenvey
merge r360 from branches/jython
Mike Bayer
- some refinements to FastEncodingBuffer re: unicode - fixed buffering when disable_unicode is used
Mike Bayer
footnote to [ticket:76] - inlined FastEncodingBuffer's write() method
Mike Bayer
- CHANGES cleanup - some functions on Context are now private: _push_buffer(), _pop_buffer(), caller_stack._push_frame(), caller_stack._pop_frame(). - implemented [ticket:76] inlining of context.write()
Mike Bayer
remove erroneous extra line of declares
Philip Jenvey
little more concise syntax
Philip Jenvey
add a section about how to return early using return from Mike Orr
Philip Jenvey
use 2.5 elementtree if available
Philip Jenvey
oops, wrong branch. merge r363 from brnaches/jython
Philip Jenvey
small cleanup
Philip Jenvey
use os.path.exists instead of os.access F_OK, which is currently broken on google app engine
Philip Jenvey
merged r351 from branches/jython
Philip Jenvey
merge r349 from branches/jython
Philip Jenvey
merge branches/_ast r340:HEAD, minus r344, to trunk. adds support for parsing python via _ast and google app engine
Philip Jenvey
cleanup
Mike Bayer
- added "bytestring passthru" mode, via `disable_unicode=True` argument passed to Template or TemplateLookup. All unicode-awareness and filtering is turned off, and template modules are generated with the appropriate magic encoding comment. In this mode, template expressions can only receive raw bytestrings or Unicode objects which represent straight ASCII, and render_unicode() may not be used. [ticket:77] (courtesy anonymous guest)
Mike Bayer
typo fix
Mike Bayer
- cache_key argument can now render arguments passed directly to the %page or %def, i.e. <%def name="foo(x)" cached="True" cache_key="${x}"/> [ticket:78]
Mike Bayer
- rewrote the "whitespace adjuster" function to work with more elaborate combinations of quotes and comments [ticket:75]
Mike Bayer
self.attr is also assignable....
Mike Bayer
- added "attr" accessor to namespaces. Returns attributes configured as module level attributes, i.e. within <%! %> sections [ticket:62] - removed reliance upon KeyError/AttributeError in namespace.__getattr__
  1. Prev
  2. Next