- Mar 09, 2007
-
-
Mike Bayer authored
self.include_file(<filename>, **kwargs)
-
Mike Bayer authored
[ticket:24]
-
Mike Bayer authored
-
- Mar 08, 2007
-
-
Mike Bayer authored
template (keyword arguments only, must be declared in that page's <%page> tag.)
-
Mike Bayer authored
-
- 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
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 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
-
Mike Bayer authored
-
- 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>.
-
Mike Bayer authored
-
Mike Bayer authored
-
- Feb 15, 2007
-
-
Mike Bayer authored
-
- Feb 06, 2007
-
-
Ben Bangert authored
-
- Feb 01, 2007
-
-
Mike Bayer authored
-
- Jan 30, 2007
-
-
Mike Bayer authored
-
Mike Bayer authored
-
- 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
-
Mike Bayer authored
immediately catch any encoding issues and ensure internal unicode representation.
-
Mike Bayer authored
[ticket:16] - cleanup in unit tests
-
- Jan 28, 2007
-
-
Mike Bayer authored
-
- Jan 26, 2007
-
-
Mike Bayer authored
-
- 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
-
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
-