Commits

Author Commit Message Labels Comments Date
Mike Bayer
propagate cache_impl from lookup to template , #179
Mike Bayer
fix genindex bug
Mike Bayer
update sphinx rendering to use built in jinja rendering for .js/.css files
Mike Bayer
- Added "--var name=value" option to the mako-render script, allows passing of kw to the template from the command line. [ticket:178]
Mike Bayer
close old branch
Branches
py3k
Mike Bayer
closing out
Branches
py3k_old
Mike Bayer
upgrade docs to newer format from SQLA
Mike Bayer
modernize the README
Mike Bayer
make it more clear about what "context" is called in a template
Mike Bayer
add classifiers
Mike Bayer
undo all that pkg_resources crap and just cache what we get from iter_entry_points. pkg_resources API feels very fragile
Mike Bayer
install extreme hoops for pkg_resources and I'm starting to wonder if I really want to do it like this
Mike Bayer
pkg_resources hoops
Mike Bayer
need this too
Mike Bayer
branch merge, hooray
Mike Bayer
Added tag rel_0_5_0 for changeset b6d322beae3e
Mike Bayer
- Template caching has been converted into a plugin system, whereby the usage of Beaker is just the default plugin. Template and TemplateLookup now accept a string "cache_impl" parameter which refers to the name of a cache plugin, defaulting to the name 'beaker'. New plugins can be registered as pkg_resources entrypoints under the group "mako.cache", or registered directly using mako.cache.register_plugin(). The core plugin is the mako.cache.CacheImpl class. - The <%def>, <%block> and <%page> tags now accept any argument named "cache_*", and the key minus the "cache_" prefix will be passed as keyword arguments to the CacheImpl methods. - Template and TemplateLookup now accept an argument cache_args, which refers to a dictionary containing cache parameters. The cache_dir, cache_url, cache_type, cache_timeout arguments are deprecated (will…
Mike Bayer
- A Template is explicitly disallowed from having a url that normalizes to relative outside of the root. That is, if the Lookup is based at /home/mytemplates, an include that would place the ultimate template at /home/mytemplates/../some_other_directory, i.e. outside of /home/mytemplates, is disallowed. This usage was never intended despite the lack of an explicit check. The main issue this causes is that modul…
Tags
rel_0_5_0
Mike Bayer
css fix for some unwanted pygments thing
Mike Bayer
Added tag rel_0_4_2 for changeset 27ed71934c2e
Mike Bayer
- Fixed bug regarding <%call>/def calls w/ content whereby the identity of the "caller" callable inside the <%def> would be corrupted by the presence of another <%call> in the same block. [ticket:170]
Tags
rel_0_4_2
Mike Bayer
- Fixed the babel plugin to accommodate <%block> [ticket:169]
Mike Bayer
Added tag rel_0_4_1 for changeset 4f1f0d9e6d1d
Mike Bayer
- don't declare show_title() in the base
Tags
rel_0_4_1
Mike Bayer
- New tag: <%block>. A variant on <%def> that evaluates its contents in-place. Can be named or anonymous, the named version is intended for inheritance layouts where any given section can be surrounded by the <%block> tag in order for it to become overrideable by inheriting templates, without the need to specify a top-level <%def> plus explicit call. Modified scoping and argument rules as well as a more strictly enforced u…
Mike Bayer
- a slight adjustment to the "highlight" logic for generating template bound stacktraces. Will stick to known template source lines without any extra guessing. [ticket:165]
Mike Bayer
Added tag rel_0_4_0 for changeset 44e46fe61e39
Mike Bayer
- py3k fixes
Tags
rel_0_4_0
Mike Bayer
- the "ascii encoding by default" approach doesn't work in Py3K, because a string and an ascii encoded string are of course different things, and we'd like render() by default to return a string. So go the other way, use FEB in all cases, add a new flag bytestring_passthrough which goes back to StringIO, to support that one guy who wanted to force a bytestring through in an expression.
Mike Bayer
- fix uncovered bug in FastEncodingBuffer - misc cleanup
  1. Prev
  2. Next