summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* merge 4be2ca3ed8be8e48795f351bb47ad51c9ca1a555 from head, docs updaterel_0_5Mike Bayer2012-01-179-87/+41
|
* tootMike Bayer2012-01-161-1/+2
|
* fix site baseMike Bayer2012-01-162-2/+1
| | | | init.js, not sure what that is
* add a branch for 0.5, also put in the new rtd layout. will see if we can ↵Mike Bayer2012-01-1615-275/+810
| | | | | | get rtd to show both versions
* - A Template is explicitly disallowedrel_0_5_0Mike Bayer2011-09-277-13/+83
| | | | | | | | | | | | | | | | | | | 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 module files can be written outside of the module root (or raise an error, if file perms aren't set up), and can also lead to the same template being cached in the lookup under multiple, relative roots. TemplateLookup instead has always supported multiple file roots for this purpose. [ticket:174]
* css fix for some unwanted pygments thingMike Bayer2011-08-081-0/+6
|
* Added tag rel_0_4_2 for changeset 293531b5e4eac04c4e8364712137c24c4d1165f3Mike Bayer2011-08-051-0/+1
|
* - Fixed bug regarding <%call>/def calls w/ contentrel_0_4_2Mike Bayer2011-08-053-2/+65
| | | | | | | 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]
* - Fixed the babel plugin to accommodate <%block>Mike Bayer2011-07-085-7/+22
| | | | [ticket:169]
* Added tag rel_0_4_1 for changeset 33b034f14cb4365fb87b7fefda74c225988b5f8bMike Bayer2011-04-061-0/+1
|
* - don't declare show_title() in the baserel_0_4_1Mike Bayer2011-04-062-2/+3
|
* - New tag: <%block>. A variant on <%def> thatMike Bayer2011-04-0616-107/+1261
| | | | | | | | | | | | | | | | 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 usage scheme make it ideal for this purpose without at all replacing most other things that defs are still good for. Lots of new docs. [ticket:164]
* - a slight adjustment to the "highlight" logicMike Bayer2011-03-223-3/+7
| | | | | | for generating template bound stacktraces. Will stick to known template source lines without any extra guessing. [ticket:165]
* Added tag rel_0_4_0 for changeset 6b29775df2d3155bf6076ea103f573c5efbc8883Mike Bayer2011-03-061-0/+1
|
* - py3k fixesrel_0_4_0Mike Bayer2011-02-213-3/+7
|
* - the "ascii encoding by default" approach doesn't work in Py3K,Mike Bayer2011-02-215-24/+73
| | | | | | | | | 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.
* - fix uncovered bug in FastEncodingBufferMike Bayer2011-02-215-6/+34
| | | | - misc cleanup
* - use the _uri_cache for adjust_uri(), as this is called each timeMike Bayer2011-02-201-3/+8
| | | | there's a namespace or include
* - use deque instead of list for FastEncodingBufferMike Bayer2011-02-203-9/+25
| | | | | - don't call os.stat twice ! - tee hee !
* - the keys() in the Context, as well asMike Bayer2011-02-203-14/+26
| | | | | | | | it's internal _data dictionary, now include just what was specified to render() as well as Mako builtins 'caller', 'capture'. The contents of __builtin__ are no longer copied.
* - use inlined getargspecMike Bayer2011-02-209-15/+81
| | | | | | | | | | | | | | | - The "output encoding" now defaults to "ascii", whereas previously it was set to None. This has the effect of FastEncodingBuffer being used internally by default when render() is called, instead of cStringIO or StringIO, which are slower, but allow bytestrings with unknown encoding to pass right through. It is of course not recommended to use bytestrings of unknown encoding. Usage of the "disable_unicode" mode also requires that output_encoding be set to None.
* add docs for new classesMike Bayer2011-02-201-0/+8
|
* got all tests to pass againMike Bayer2011-02-203-18/+41
|
* moving around getargs and such, have a recursion error in one test not ↵Mike Bayer2011-02-193-69/+122
| | | | figured out yet
* step 1, three separate classes, new magic numberMike Bayer2011-02-192-34/+80
|
* - add AUTHORS fileMike Bayer2011-02-1922-28/+81
| | | | - convert heading copyrights to 2006-2011, reference AUTHORS file
* - now that trailing whitespace comes up in red, need to get rid of itMike Bayer2011-01-1964-1107/+1107
|
* some manifest adjustmentsMike Bayer2011-01-061-4/+3
|
* merge tipMike Bayer2010-11-161-0/+1
|\
| * Added tag rel_0_3_6 for changeset 7b988e4f7b289a534ac349f003d997087b8bf565Mike Bayer2010-11-131-0/+1
| |
* | run the lexer test through combination pytidy/manual cleanup, to atMike Bayer2010-11-162-216/+427
|/ | | | least remove huge lines
* cleanuprel_0_3_6Mike Bayer2010-11-133-24/+35
|
* updateMike Bayer2010-11-131-0/+3
|
* some ignoresMike Bayer2010-11-131-0/+2
|
* - more cleanupMike Bayer2010-11-138-187/+355
| | | | | | - move Namespace docs inline to attributes on Namespace - document Cache methods, add to caching.rst - use functools.partial for partials, part of [ticket:156]
* some long linesMike Bayer2010-11-131-16/+33
|
* - [ticket:98] for the pyparser moduleMike Bayer2010-11-131-96/+201
|
* - Patch to lexer to not generate an emptyMike Bayer2010-11-123-4/+9
| | | | | '' write in the case of backslash-ended lines. [ticket:155]
* - The Beaker import (or attempt thereof)Mike Bayer2010-11-122-6/+21
| | | | | | | | is delayed until actually needed; this to remove the performance penalty from startup, particularly for "single execution" environments such as shell scripts. [ticket:153]
* - Beaker is now part of "extras" inMike Bayer2010-11-122-1/+8
| | | | | | | | setup.py instead of "install_requires". This to produce a lighter weight install for those who don't use the caching as well as to conform to Pyramid deployment practices. [ticket:154]
* - Fixed missing **extra collection inMike Bayer2010-11-122-0/+6
| | | | | | setup.py which prevented setup.py from running 2to3 on install. [ticket:148]
* name all API sections "API Reference"Mike Bayer2010-11-121-1/+1
|
* -remove old contentMike Bayer2010-11-1211-1753/+0
|
* docMike Bayer2010-11-121-0/+1
|
* some more docstrings and I'm ready to go liveMike Bayer2010-11-123-18/+55
|
* looks goodMike Bayer2010-11-1210-20/+1810
|
* moving alongMike Bayer2010-11-126-79/+938
|
* docstringsMike Bayer2010-11-123-2/+110
|
* - initial sphinx buildout. only includes "usage" so far, needs more work.Mike Bayer2010-11-1237-3125/+1634
|
* - The range of Python identifiers thatMike Bayer2010-11-105-10/+184
| | | | | | | | | | | are considered "undefined", meaning they are pulled from the context, has been trimmed back to not include variables declared inside of expressions (i.e. from list comprehensions), as well as in the argument list of lambdas. This to better support the strict_undefined feature.