- May 18, 2007
-
-
Mike Bayer authored
-
Mike Bayer authored
which control generation of HTML tags, CSS [ticket:39]
-
- May 17, 2007
-
-
Mike Bayer authored
all of MyghtyUtils merged into it now
-
- May 14, 2007
-
-
Mike Bayer authored
-
- May 02, 2007
-
-
Mike Bayer authored
-
Mike Bayer authored
lines (#32) - fixed single "#" comments in docs
-
Mike Bayer authored
for specifying the error handler associated with encoding to 'output_encoding' [ticket:40] - the Template returned by html_error_template now defaults to output_encoding=sys.getdefaultencoding(), encoding_errors='htmlentityreplace' [ticket:37]
-
- Apr 21, 2007
-
-
Mike Bayer authored
using a more portable **exception_kwargs collection - added "source" member to the dict propigated to Lexer/Compile exceptions - RichTraceback can access original template source as a unicode object using either 'source' memebr on Lexer/Compile exception, or 'source' property on ModuleInfo, fixes #37 - unit tests for #37
-
- Apr 14, 2007
-
-
Mike Bayer authored
allows much simpler and hopefully bug-free tracking of 'caller', fixes #28 - if plain Python defs are used with <%call>, a decorator @runtime.supports_callable exists to ensure that the "caller" stack is properly handled for the def.
-
- Apr 09, 2007
-
-
Mike Bayer authored
-
- Apr 06, 2007
-
-
Mike Bayer authored
[ticket:34]
-
- Mar 27, 2007
-
-
Mike Bayer authored
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 objects. - added support for "class" structures in ast parsing (i.e. class-level data members wont get added to the "declared" list)
-
- Mar 26, 2007
-
-
Mike Bayer authored
during 0.1.4 [ticket:29]
-
- Mar 24, 2007
-
-
Mike Bayer authored
-
- 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
-