1. fero14041
  2. mako-benchmark-add_jinja

Commits

Show all
Author Commit Message Date Builds
Mike Bayer
README file
Tags
rel_0_1_5
Mike Bayer
adding some 0.1.5 versions
Mike Bayer
adjustments to the buffer_filters arg so it works right with cached/buffered
Mike Bayer
- added "n" filter, disables *all* filters normally applied to an expression via <%page> or default_filters (but not those within the filter) - added buffer_filters argument, defines filters applied to the return value of buffered/cached/filtered %defs, after all filters defined with the %def itself have been applied. allows the creation of default expression filters that let the output of return-valued %defs "opt out" of that filtering via passing special attributes or o…
Mike Bayer
filtered out throwaway func name when getting <%include> kwargs
Mike Bayer
- fix to context-arguments inside of <%include> tag which broke during 0.1.4 [ticket:29]
Mike Bayer
- fix to lexing of <%docs> tag nested in other tags
Mike Bayer
cache_url attribute on page tag
Mike Bayer
added cache_url to API level
Mike Bayer
added "cache_url" argument passthru for memcached
Mike Bayer
- AST parsing, properly detects imports of the form "import foo.bar" [ticket:27]
Mike Bayer
- AST expression generation - added in just about everything expression-wise from the AST module [ticket:26]
Mike Bayer
0.1.4 prep
Tags
rel_0_1_4
Mike Bayer
- <%include> plus arguments is also programmatically available via self.include_file(<filename>, **kwargs)
Mike Bayer
- further escaping added for multibyte expressions in %def, %call attributes [ticket:24]
Mike Bayer
correction for line=None [ticket:25]
Mike Bayer
- <%include> has an "args" attribute that can pass arguments to the called template (keyword arguments only, must be declared in that page's <%page> tag.)
Mike Bayer
added docs about traceback formatting
Mike Bayer
- fixed/improved "caller" semantics so that undefined caller is "UNDEFINED", propigates __nonzero__ method so it evaulates to False if not present, True otherwise. this way you can say % if caller:\n ${caller.body()}\n% endif
Mike Bayer
- added a path normalization step to lookup so URIs like "/foo/bar/../etc/../foo" pre-process the ".." tokens before checking the filesystem
Mike Bayer
further fix to previous ast enhancement; dont log identifiers as "declared" once we're traversing inside functions since they are local to the function.
Mike Bayer
- fix to variable scoping for identifiers only referenced within functions
Mike Bayer
- fixes to code parsing/whitespace adjusting where plain python comments may contain quote characters [ticket:23]
Mike Bayer
- got defs-within-defs to be cacheable
Mike Bayer
- added "preprocessor" argument to Template, TemplateLookup - is a single callable or list of callables which will be applied to the template text before lexing. given the text as an argument, returns the new text. - added mako.ext.preprocessors package, contains one preprocessor so far: 'convert_comments', which will convert single # comments to the new ## format
Tags
rel_0_1_3
Mike Bayer
fixed comment to new style
Mike Bayer
- added lexer error for unclosed control-line (%) line
Mike Bayer
multiline comment syntax now <%doc>
Mike Bayer
- improvement to scoping of "caller" variable when using <%call> tag
Mike Bayer
- fix to text parsing to not yank "#" on the first col of the line - doc adjustments, changeset adjustments, modified unicode tests to use ## instead of # for magic encoding comment. # will still work for now. - unsure whether we are going with #* *# or <%doc> for multiline comments, looking like <%doc>.
  1. Prev
  2. Next