- Jan 29, 2007
-
-
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
-