| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
- start work on #98
|
|
|
|
| |
html_error_template. fixes #88
|
|
|
|
| |
cases
|
|
|
|
| |
fixes #118
|
| |
|
|
|
|
| |
the base module. [ticket:110]
|
| |
|
|
|
|
|
|
| |
was causing tags to compile with
case-insensitive names, thus messing up
custom <%call> names. [ticket:108]
|
|
|
|
|
|
|
|
|
| |
to store templates, it uses the more
permissive mode of 0775 instead of 0750,
helping out with certain multi-process
scenarios. Note that the mode is always
subject to the restrictions of the existing
umask. [ticket:101]
|
|
|
|
|
| |
AttributeError on attribute not found
instead of RuntimeError. [ticket:104]
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
around '=' sign in defs. [ticket:102]
|
|
|
|
|
| |
returns the time.time() when the module
was created. [ticket:97]
|
| |
|
| |
|
|
|
|
| |
workarounds; its AST matches CPython's pretty closely
|
| |
|
|
|
|
|
| |
<%page> args named the same as a __builtin__ would not
honor the default value specified in <%page> [ticket:93]
|
|
|
|
| |
better support grouping
|
| |
|
|
|
|
|
|
|
|
| |
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()
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
| |
use Beaker 1.0.4, just checked in. This version of Beaker stores
no persistent state in memory for each key, allowing dynamically
generated keys to work without using up available memory.
|
|
|
|
|
|
| |
that name, instead of the key.
eliminates the need to store all Value objects which will use up RAM in a dynamic-key scenario.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
| |
and babel is responisble for stripping them when necessary
o remove the no longer needed Unicode/Str ast hack for Jython
|
|
|
|
| |
adds support for Jython 2.5
|
|
|
|
| |
fixes #90
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
version of Beaker.
- 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.
|
|
|
|
|
|
|
| |
container classes, so cache types such as
"ext:google", "ext:sqla", etc. are available.
memcached is available as both "ext:memcached" and
"memcached", the latter for backwards compatibility.
|
|
|
|
| |
a magic encoding comment
|
|
|
|
|
| |
an expired section, instead of the original context
passed in [ticket:87]
|
|
|
|
|
|
| |
a cached block would raise an error when called within a
cache-refresh operation that was initiated after the
initiating template had completed rendering.
|
|
|
|
|
|
|
| |
this version (fixes incompatible compile symbols from 0.1
series).
- added a few docs for cache options, specifically those that
help with memcached.
|
|
|
|
| |
render_unicode() from returning a unicode object
|
| |
|
|
|
|
|
| |
names without explicit declaration (i.e. 'id',
'exception', 'range', etc.) [ticket:83]
|
|
|
|
| |
- fixed buffering when disable_unicode is used
|
| |
|
|
|
|
|
|
|
| |
- 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()
|
| |
|
| |
|
|
|
|
| |
google app engine
|
| |
|