Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
merge 4be2ca3ed8be8e48795f351bb47ad51c9ca1a555 from head, docs update
Branches
rel_0_5
Mike Bayer
toot
Branches
rel_0_5
Mike Bayer
fix site base init.js, not sure what that is
Branches
rel_0_5
Mike Bayer
add a branch for 0.5, also put in the new rtd layout. will see if we can get rtd to show both versions
Branches
rel_0_5
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 293531b5e4eac04c4e8364712137c24c4d1165f3
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 33b034f14cb4365fb87b7fefda74c225988b5f8b
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 6b29775df2d3155bf6076ea103f573c5efbc8883
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
Mike Bayer
- use the _uri_cache for adjust_uri(), as this is called each time there's a namespace or include
Mike Bayer
- use deque instead of list for FastEncodingBuffer - don't call os.stat twice ! - tee hee !
Mike Bayer
- the keys() in the Context, as well as 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.
Mike Bayer
- use inlined getargspec - 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. Us…
Mike Bayer
add docs for new classes
Mike Bayer
got all tests to pass again
Mike Bayer
moving around getargs and such, have a recursion error in one test not figured out yet
Mike Bayer
step 1, three separate classes, new magic number
Mike Bayer
- add AUTHORS file - convert heading copyrights to 2006-2011, reference AUTHORS file
Mike Bayer
- now that trailing whitespace comes up in red, need to get rid of it
Mike Bayer
some manifest adjustments
Mike Bayer
merge tip
Mike Bayer
run the lexer test through combination pytidy/manual cleanup, to at least remove huge lines
  1. Prev
  2. Next