- Mar 02, 2010
-
-
Mike Bayer authored
-
Mike Bayer authored
-
Mike Bayer authored
- Source code escaping has been simplified. In particular, module source files are now generated with the Python "magic encoding comment", and source code is passed through mostly unescaped, except for that code which is regenerated from parsed Python source. This fixes usage of unicode in <%namespace:defname> tags. [ticket:99]
-
Mike Bayer authored
HTML file writing, consistently cleanup the modules/cache directories, use nose skiptests for unsupported features.
-
Mike Bayer authored
-
- Feb 05, 2010
-
-
Mike Bayer authored
-
- Jan 22, 2010
-
-
Philip Jenvey authored
html_error_template. fixes #88
-
- Nov 01, 2009
-
-
Philip Jenvey authored
cases
-
- Sep 22, 2009
-
-
Philip Jenvey authored
fixes #118
-
- Apr 19, 2009
-
-
Mike Bayer authored
was causing tags to compile with case-insensitive names, thus messing up custom <%call> names. [ticket:108]
-
- Mar 19, 2009
-
-
Mike Bayer authored
AttributeError on attribute not found instead of RuntimeError. [ticket:104]
-
Mike Bayer authored
allows custom decoration functions to wrap rendering callables. Mainly intended for custom caching algorithms, not sure what other uses there may be (but there may be). Examples are in the "filtering" docs.
-
- Feb 26, 2009
-
-
Mike Bayer authored
around '=' sign in defs. [ticket:102]
-
- Dec 05, 2008
-
-
Philip Jenvey authored
-
- Nov 18, 2008
-
-
Mike Bayer authored
<%page> args named the same as a __builtin__ would not honor the default value specified in <%page> [ticket:93]
-
- Nov 16, 2008
-
-
Mike Bayer authored
better support grouping
-
Mike Bayer authored
-
Mike Bayer authored
to be used in place of sys.exc_info()[2]. html_error_template() and text_error_template() accept an optional render()-time argument "traceback" which is passed to the RichTraceback object. - lexer tests now rely upon an always-sorted dict repr()
-
- Nov 15, 2008
-
-
Mike Bayer authored
http://techspot.zzzeek.org/?p=28 has now been added as a built in syntax, and is recommended as a more modern syntax versus <%call expr="expression">. The %call tag itself will always remain, with <%namespacename:defname> presenting a more HTML-like alternative to calling defs, both plain and nested. Many examples of the new syntax are in the "Calling a def with embedded content" section of the docs.
-
- Nov 07, 2008
-
-
Philip Jenvey authored
-
- Oct 25, 2008
-
-
Mike Bayer authored
- added "cache_enabled=True" flag to Template, TemplateLookup. Setting this to False causes cache operations to "pass through" and execute every time; this flag should be integrated in Pylons with its own cache_enabled configuration setting.
-
- Oct 17, 2008
-
-
Mike Bayer authored
cache sends in a "defname" parameter so that the cache can map settings to that name, instead of the key. eliminates the need to store all Value objects which will use up RAM in a dynamic-key scenario.
-
- Sep 27, 2008
-
-
Mike Bayer authored
e.g. ${local.cache.get('somekey')} or template.cache.invalidate_body() - the Cache object now supports invalidate_def(name), invalidate_body(), invalidate_closure(name), invalidate(key), which will remove the given key from the cache, if it exists. The cache arguments (i.e. storage type) are derived from whatever has been already persisted for that template. [ticket:92]
-
- Sep 18, 2008
-
-
Philip Jenvey authored
and babel is responisble for stripping them when necessary o remove the no longer needed Unicode/Str ast hack for Jython
-
- Sep 07, 2008
-
-
Mike Bayer authored
- removed unnecessary attributes from DefTemplate. - added ModuleTemplate class, which allows the construction of a Template given a Python module generated by a previous Template. This allows Python modules alone to be used as templates with no compilation step. Source code and template source are optional but allow error reporting to work correctly.
-
- Jul 08, 2008
-
-
Philip Jenvey authored
a magic encoding comment
-
- Jun 23, 2008
-
-
Mike Bayer authored
an expired section, instead of the original context passed in [ticket:87]
-
Mike Bayer authored
a cached block would raise an error when called within a cache-refresh operation that was initiated after the initiating template had completed rendering.
-
- Jun 09, 2008
-
-
Mike Bayer authored
render_unicode() from returning a unicode object
-
- Jun 02, 2008
-
-
Mike Bayer authored
-
- May 24, 2008
-
-
Mike Bayer authored
names without explicit declaration (i.e. 'id', 'exception', 'range', etc.) [ticket:83]
-
- May 03, 2008
-
-
Philip Jenvey authored
-
Mike Bayer authored
- fixed buffering when disable_unicode is used
-
Mike Bayer authored
- some functions on Context are now private: _push_buffer(), _pop_buffer(), caller_stack._push_frame(), caller_stack._pop_frame(). - implemented [ticket:76] inlining of context.write()
-
- Apr 11, 2008
-
-
Philip Jenvey authored
python via _ast and google app engine
-
- Mar 22, 2008
-
-
Mike Bayer authored
argument passed to Template or TemplateLookup. All unicode-awareness and filtering is turned off, and template modules are generated with the appropriate magic encoding comment. In this mode, template expressions can only receive raw bytestrings or Unicode objects which represent straight ASCII, and render_unicode() may not be used. [ticket:77] (courtesy anonymous guest)
-
- Mar 01, 2008
-
-
Mike Bayer authored
directly to the %page or %def, i.e. <%def name="foo(x)" cached="True" cache_key="${x}"/> [ticket:78]
-
- Feb 21, 2008
-
-
Mike Bayer authored
more elaborate combinations of quotes and comments [ticket:75]
-
- Feb 15, 2008
-
-
Mike Bayer authored
-
Mike Bayer authored
configured as module level attributes, i.e. within <%! %> sections [ticket:62] - removed reliance upon KeyError/AttributeError in namespace.__getattr__
-