Commits

Show all
Author Commit Message Labels Comments Date
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__
Mike Bayer
fix indentation for [ticket:70]
Mike Bayer
- format_exceptions will apply the encoding options of html_error_template() to the buffered output
Mike Bayer
- fixed issue with inline format_exceptions that was producing blank exception pages when an inheriting template is present [ticket:71]
Mike Bayer
copyright !
Mike Bayer
- fixed codegen bug which occured when using <%page> level caching, combined with an expression-based cache_key, combined with the usage of <%namespace import="*"/>
Philip Jenvey
defer temp file creation until after any potential lexer exceptions fixes #69
  1. Prev
  2. Next