- Jan 29, 2007
-
-
Mike Bayer authored
changed around filtering so you can just say "decode.utf8" or "decode.<whatever>" for generic expression decoding
-
Mike Bayer authored
immediately catch any encoding issues and ensure internal unicode representation.
-
Mike Bayer authored
[ticket:16] - cleanup in unit tests
-
- Jan 24, 2007
-
-
Mike Bayer authored
-
Mike Bayer authored
-
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
-
Mike Bayer authored
magic encoding comment
-
Mike Bayer authored
-
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 11, 2007
-
-
Mike Bayer authored
-
- Jan 09, 2007
-
-
Mike Bayer authored
-
- 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
-
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
further try/except AST fixes, cleanup of filter unit tests, made __locals propigation in codegen slightly simpler/faster
-
Ben Bangert authored
-
Mike Bayer authored
-
- Dec 17, 2006
-
-
Mike Bayer authored
-
- Dec 16, 2006
-
-
Mike Bayer authored
more doc construction
-
Mike Bayer authored
by the template but otherwise not affected
-
Mike Bayer authored
implemented "args" for <%page> tag. still has a default "**_extra_pageargs" catchall for now...
-
- Dec 15, 2006
-
-
Mike Bayer authored
- more docs
-
- Dec 13, 2006
-
-
Mike Bayer authored
-
- Dec 12, 2006
-
-
Mike Bayer authored
-
- Dec 11, 2006
-
-
Mike Bayer authored
-
- Dec 10, 2006
-
-
Mike Bayer authored
occurs in a directory hierarchy resembling uri scheme
-
- Dec 09, 2006
-
-
Mike Bayer authored
-
Mike Bayer authored
-
Mike Bayer authored
-
- Dec 05, 2006
-
-
Mike Bayer authored
cache function optional
-
- Dec 04, 2006
-
-
Mike Bayer authored
-
Mike Bayer authored
-
- Dec 03, 2006
-
-
Mike Bayer authored
-