Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rel_0_6 branchrel_0_6 | Mike Bayer | 2012-03-29 | 0 | -0/+0 |
| | |||||
* | - [feature] Added class-level flag to CacheImpl | Mike Bayer | 2012-03-24 | 4 | -11/+43 |
| | | | | | | | "pass_context"; when True, the keyword argument 'context' will be passed to get_or_create() containing the Mako Context object. [ticket:185] | ||||
* | oh we have his name | Mike Bayer | 2012-03-24 | 1 | -1/+1 |
| | |||||
* | changelog | Mike Bayer | 2012-03-24 | 1 | -0/+3 |
| | |||||
* | Merged in fero14041/mako-benchmark-add_jinja (pull request #1) | Mike Bayer | 2012-03-24 | 6 | -13/+102 |
|\ | |||||
| * | Use same constants across templates rendering functions: | Vincent Férotin | 2012-02-21 | 1 | -12/+14 |
| | | | | | | | | ``TITLE``, ``USER`` and ``(U_)ITEMS``. | ||||
| * | Add Jinja2 example to benchmark: | Vincent Férotin | 2012-02-21 | 6 | -1/+88 |
| | | | | | | | | | | | | * add two new templates directory: ``examples/bench/jinja2`` and ``examples/bench/jinja2_inheritance``; * add two set of Jinja2 templates, matching those related to Mako; * add new ``jinja2`` function in ``examples/bench/basic.py`` module to load these new templates. | ||||
| * | Remove an alone space on empty line. | Vincent Férotin | 2012-02-21 | 1 | -1/+1 |
| | | |||||
* | | - [feature] The html_error_template() will now | Mike Bayer | 2012-03-12 | 4 | -24/+131 |
| | | | | | | | | | | | | | | apply Pygments highlighting to the source code displayed in the traceback, if Pygments if available. Courtesy Ben Trofatter [ticket:95] | ||||
* | | - [feature] Added support for context managers, | Mike Bayer | 2012-03-12 | 5 | -2/+24 |
| | | | | | | | | | | i.e. "% with x as e:/ % endwith" support. Courtesy Ben Trofatter [ticket:147] | ||||
* | | - [bug] Fixed endless recursion bug when | Mike Bayer | 2012-03-08 | 4 | -5/+24 |
|/ | | | | | nesting multiple def-calls with content. Thanks to Jeff Dairiki. [ticket:186] | ||||
* | - [bug] Fixed some Py3K resource warnings due | Mike Bayer | 2012-02-21 | 6 | -12/+49 |
| | | | | | to filehandles being implicitly closed. [ticket:182] | ||||
* | forgot to tag 0.6.1 | Mike Bayer | 2012-02-02 | 1 | -0/+1 |
| | |||||
* | Added tag rel_0_6_2 for changeset 70dec0aee9b25e1c9ad75dae71509edd5d1de87d | Mike Bayer | 2012-02-02 | 1 | -0/+1 |
| | |||||
* | py3k fixesrel_0_6_2 | Mike Bayer | 2012-02-02 | 2 | -6/+20 |
| | |||||
* | Fix for [ticket:20] and [ticket:86] much thanks to Eevee | Mike Bayer | 2012-02-02 | 4 | -21/+45 |
| | |||||
* | 0.6.1rel_0_6_1 | Mike Bayer | 2012-01-28 | 1 | -1/+1 |
| | |||||
* | recommit tag | Mike Bayer | 2012-01-28 | 1 | -0/+1 |
|\ | |||||
| * | Added tag rel_0_6_0 for changeset af13670b6433c6f53d321cf044aa59370fed380f | Mike Bayer | 2012-01-21 | 1 | -0/+1 |
| | | |||||
* | | - [bug] Added special compatibility for the 0.5.0 | Mike Bayer | 2012-01-28 | 2 | -1/+11 |
|/ | | | | | | Cache() constructor, which was preventing file version checks and not allowing Mako 0.6 to recompile the module files. | ||||
* | - [bug] The "benchmark" example is now Python 3 compatiblerel_0_6_0 | Mike Bayer | 2012-01-21 | 2 | -22/+42 |
| | | | | | (even though several of those old template libs aren't available on Py3K, so YMMV) [ticket:175] | ||||
* | wrong version here | Mike Bayer | 2012-01-21 | 1 | -1/+1 |
| | |||||
* | - [feature] Added support for Beaker cache regions | Mike Bayer | 2012-01-21 | 5 | -99/+250 |
| | | | | | | | | in templates. Usage of regions should be considered as superseding the very obsolete idea of passing in backend options, timeouts, etc. within templates. - rewrite the cache docs again which had a lot of misleading/inaccurate info. | ||||
* | rename 'put' to 'set' | Mike Bayer | 2012-01-19 | 2 | -3/+13 |
| | |||||
* | get_and_replace is wrong, for now changed to get_or_create like dogpile.cache | Mike Bayer | 2012-01-18 | 4 | -8/+8 |
| | |||||
* | move _load_impl down in __init__ so impls can get at things | Mike Bayer | 2012-01-18 | 1 | -1/+1 |
| | |||||
* | cleanup, remove "site" builder, fix the titlebar | Mike Bayer | 2012-01-17 | 9 | -87/+41 |
| | |||||
* | toot our horn | Mike Bayer | 2012-01-16 | 1 | -1/+2 |
| | |||||
* | - ok init.js was from the sqlalchemy version | Mike Bayer | 2012-01-16 | 2 | -2/+1 |
| | | | | - same root url fix | ||||
* | build in new readthedocs + mako site layout build | Mike Bayer | 2012-01-16 | 13 | -47/+391 |
| | |||||
* | - [feature] Added module_writer argument to Template, | Mike Bayer | 2012-01-16 | 4 | -12/+81 |
| | | | | | | | TemplateLookup, allows a callable to be passed which takes over the writing of the template's module source file, so that special environment-specific steps can be taken. [ticket:181] | ||||
* | - [bug] Added "white-space:pre" style to html_error_template() | Mike Bayer | 2012-01-16 | 2 | -0/+6 |
| | | | | | for code blocks so that indentation is preserved [ticket:173] | ||||
* | - [bug] The exception message in the html_error_template | Mike Bayer | 2012-01-16 | 4 | -20/+40 |
| | | | | is now escaped with the HTML filter. [ticket:142] | ||||
* | 2012 | Mike Bayer | 2012-01-16 | 21 | -21/+21 |
| | |||||
* | - [feature/bug] Can now refer to context variables | Mike Bayer | 2012-01-16 | 6 | -10/+92 |
| | | | | | | | | | within extra arguments to <%block>, <%def>, i.e. <%block name="foo" cache_key="${somekey}">. Filters can also be used in this way, i.e. <%def name="foo()" filter="myfilter"> then template.render(myfilter=some_callable) [ticket:180] | ||||
* | propagate cache_impl from lookup to template , #179 | Mike Bayer | 2012-01-11 | 2 | -1/+13 |
| | |||||
* | fix genindex bug | Mike Bayer | 2012-01-05 | 1 | -5/+5 |
| | |||||
* | update sphinx rendering to use built in jinja rendering for .js/.css files | Mike Bayer | 2011-12-30 | 1 | -16/+11 |
| | |||||
* | - Added "--var name=value" option to the mako-render | Mike Bayer | 2011-12-28 | 2 | -3/+15 |
| | | | | | script, allows passing of kw to the template from the command line. [ticket:178] | ||||
* | upgrade docs to newer format from SQLA | Mike Bayer | 2011-12-21 | 4 | -230/+426 |
| | |||||
* | modernize the README | Mike Bayer | 2011-12-14 | 4 | -92/+55 |
| | |||||
* | make it more clear about what "context" is called in a template | Mike Bayer | 2011-12-05 | 2 | -5/+12 |
| | |||||
* | add classifiers | Mike Bayer | 2011-12-03 | 1 | -0/+2 |
| | |||||
* | undo all that pkg_resources crap and just cache what we get from ↵ | Mike Bayer | 2011-10-02 | 2 | -76/+34 |
| | | | | | | iter_entry_points. pkg_resources API feels very fragile | ||||
* | install extreme hoops for pkg_resources and I'm starting to wonder if | Mike Bayer | 2011-10-01 | 2 | -9/+25 |
| | | | | I really want to do it like this | ||||
* | pkg_resources hoops | Mike Bayer | 2011-10-01 | 2 | -5/+39 |
| | |||||
* | need this too | Mike Bayer | 2011-10-01 | 1 | -0/+57 |
| | |||||
* | branch merge, hooray | Mike Bayer | 2011-10-01 | 10 | -198/+578 |
|\ | |||||
| * | - Template caching has been converted into a plugin | Mike Bayer | 2011-10-01 | 10 | -198/+578 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 probably never be removed, however) and can be passed now as cache_args={'url':<some url>, 'type':'memcached', 'timeout':50, 'dir':'/path/to/some/directory'} | ||||
* | | Added tag rel_0_5_0 for changeset 5cd508ffe0d7eaadd6516fc35137c93d1d6577a9 | Mike Bayer | 2011-09-27 | 1 | -0/+1 |
|/ |