- Mar 14, 2007
-
-
Mike Bayer authored
[ticket:27]
-
Mike Bayer authored
expression-wise from the AST module [ticket:26]
-
- Mar 10, 2007
-
-
Mike Bayer authored
-
- Mar 09, 2007
-
-
Mike Bayer authored
self.include_file(<filename>, **kwargs)
-
Mike Bayer authored
[ticket:24]
-
- Mar 08, 2007
-
-
Mike Bayer authored
template (keyword arguments only, must be declared in that page's <%page> tag.)
-
- Mar 06, 2007
-
-
Mike Bayer authored
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 authored
pre-process the ".." tokens before checking the filesystem
-
Mike Bayer authored
-
- Mar 01, 2007
-
-
Mike Bayer authored
comments may contain quote characters [ticket:23]
-
Mike Bayer authored
-
- Feb 21, 2007
-
-
Mike Bayer authored
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
-
- Feb 20, 2007
-
-
Mike Bayer authored
-
- Feb 19, 2007
-
-
Mike Bayer authored
-
Mike Bayer authored
-
- Feb 17, 2007
-
-
Mike Bayer authored
- 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>.
-
- Feb 15, 2007
-
-
Mike Bayer authored
-
- Jan 30, 2007
-
-
Mike Bayer authored
-
- Jan 29, 2007
-
-
Mike Bayer authored
-
Mike Bayer authored
[ticket:16] - cleanup in unit tests
-
- Jan 26, 2007
-
-
Mike Bayer authored
-
- Jan 24, 2007
-
-
Mike Bayer authored
- added "default_filters" argument to Template, TemplateLookup. applies only to expressions, gets prepended to "expression_filter" arg from <%page>. defaults to ["unicode"], so that all expressions get stringified into u'' by default (this is what Mako already does). By setting to [], expressions are passed through raw. - added "imports" argument to Template, TemplateLookup. so you can predefine a list of import statements at the top of the template. can be used in conjunction with default_filters.
-
- Jan 22, 2007
-
-
Mike Bayer authored
magic encoding comment
-
Mike Bayer authored
file - added modulename_callable to TemplateLookup to allow a function to determine module filenames (takes filename, uri arguments). used for [ticket:14]
-
- Jan 19, 2007
-
-
Mike Bayer authored
with a template that indicates a non-standard encoding, are expanded into backslash-escaped glyphs before being AST parsed [ticket:11]
-
- Jan 14, 2007
-
-
Mike Bayer authored
-
- Jan 11, 2007
-
-
Mike Bayer authored
converted to a list [ticket:9]
-
- Jan 05, 2007
-
-
Mike Bayer authored
this is implemented by changing the "topleveldefs" and "closuredefs" collections from a Set to a dictionary. a unit test was added with alternate set-ordering as the original issue only appeared on linux to start. - "backslash" -> "slash" in syntax doc
-
- Jan 04, 2007
-
-
Mike Bayer authored
-
- Jan 03, 2007
-
-
Mike Bayer authored
-
Mike Bayer authored
occurs before filtering - removed encoding() filter - it conflicts with the fact that unicode conversion has to occur on the value first before being sent to the filter. recommended way for encoded strings is to just say unicode(x, encoding='whatever')
-
- Jan 02, 2007
-
-
Mike Bayer authored
-
- Jan 01, 2007
-
-
Mike Bayer authored
-
- Dec 31, 2006
-
-
Mike Bayer authored
handling for the given expression. usage is like: ${data | encoding('utf-8', errors='strict')}
-
Mike Bayer authored
-
Mike Bayer authored
-