Carl Whittaker
|
c9dcb07630
|
Merge branch 'master' into development
Conflicts:
examples/inverted.py
pystache/template.py
tests/test_pystache.py
tests/test_view.py
|
2011-05-31 17:35:32 +01:00 |
|
Mark Paschal
|
a78d3f65d6
|
Add test for inverted sections on list values
|
2011-05-09 18:24:22 -07:00 |
|
Mike O'Toole
|
feb339dae2
|
adding support for implicit iterators
|
2011-03-08 18:33:29 -05:00 |
|
Carl Whittaker
|
01cfebe1eb
|
Reverting broken whitespace preservation logic that was pushed by mistake.
|
2011-02-11 17:08:27 +00:00 |
|
Carl Whittaker
|
4b58929589
|
Adding test for flattened dictionary
|
2011-01-28 11:06:00 +00:00 |
|
Carl Whittaker
|
2825d34eef
|
Removing cruft.
|
2011-01-27 17:29:04 +00:00 |
|
Carl Whittaker
|
0a655dc6dc
|
Adding magic attribute to fetch a flattened context
|
2011-01-27 17:04:10 +00:00 |
|
Carl Whittaker
|
8eac16d8a9
|
Adding support for context nested on any flavoured object.
|
2011-01-27 16:28:54 +00:00 |
|
Carl Whittaker
|
16ce94a29e
|
Moving context logic into view
|
2011-01-27 15:50:45 +00:00 |
|
Carl Whittaker
|
bc5d0e2700
|
Fixed accessing mixed nested context objects. BOOM!
|
2011-01-13 19:36:33 +00:00 |
|
Carl Whittaker
|
36e6171163
|
Adding support for nested contexts within View.
|
2011-01-12 18:09:32 +00:00 |
|
Carl Whittaker
|
8954e01fb9
|
Fixing views as attributes not being rendered before display
|
2011-01-12 15:32:42 +00:00 |
|
Carl Whittaker
|
c859dfa2eb
|
Adding support for template encoding and support for comment and delimeter tags.
|
2011-01-12 14:58:28 +00:00 |
|
Carl Whittaker
|
28e63d4fa5
|
Adding template Loader class
|
2011-01-12 11:32:18 +00:00 |
|
Carl Whittaker
|
01dd06b313
|
Adding support for callables and Negated values.
|
2011-01-11 17:14:56 +00:00 |
|
Carl Whittaker
|
8fb76bb28f
|
First test passing with {{ }}
|
2011-01-11 15:47:07 +00:00 |
|
Carl Whittaker
|
bb549161dc
|
Adding tests for negated (empty list) tag, partials in loops not referencing parent values.
|
2011-01-11 14:24:24 +00:00 |
|
Kevin Morgan
|
78982f6bc4
|
Adding tests for a hierarchy of partials and lambdas in each.
|
2010-12-13 21:37:28 +00:00 |
|
Kevin Morgan
|
5f35d31248
|
Only returning functions when they are unbounded methods otherwise they get called in the return and fail.
|
2010-12-13 18:22:05 +00:00 |
|
Chris Wanstrath
|
152c4e025f
|
Contexts still can't see outer scope. Add failing test.
|
2010-05-14 10:11:45 -07:00 |
|
Paul Bonser
|
3bcd6b632c
|
add support for nested contexts as described in the "Non-False Values" section of http://mustache.github.com/mustache.5.html
|
2010-05-15 00:54:04 +08:00 |
|
David Logie
|
9c0b92919a
|
Inverted sections.
|
2010-05-04 03:17:28 +08:00 |
|
David Logie
|
830f9fd964
|
Higher Order Sections.
|
2010-05-04 03:17:27 +08:00 |
|
Chris Wanstrath
|
a15519f43b
|
Add {{& blah}} as an alias for {{{ blah }}}
|
2010-03-30 10:32:35 -07:00 |
|
Damien Lebrun
|
85efd80848
|
View.template_path can hold a list of path
View.load_template start looking for the template
in first path of the list.
|
2010-03-29 06:49:59 +08:00 |
|
Eric Naeseth
|
a708d12329
|
Don't render an empty string when a tag's value is 0.
|
2010-02-09 18:35:31 +08:00 |
|
Eric Naeseth
|
abfba610b2
|
Adding template file encoding awareness.
|
2010-02-09 18:35:30 +08:00 |
|
Eric Naeseth
|
112ac76d61
|
Adding support for Unicode and non-ASCII-encoded bytestring output.
|
2010-02-09 18:35:26 +08:00 |
|
Chris Wanstrath
|
e38a953b8f
|
Bugfix: Methods returning False or None are not rendered
|
2009-11-27 02:05:12 -08:00 |
|
Joshua Roesslein
|
65646c81ff
|
Allow using View instances as attributes.
|
2009-11-16 17:37:58 -08:00 |
|
Joshua Roesslein
|
f03c85c70b
|
Add support for using non-callables as View attributes.
|
2009-11-16 17:35:29 -08:00 |
|
Chris Wanstrath
|
be021363c4
|
Tests can be run by executing the test file directly
|
2009-11-13 15:31:54 -08:00 |
|
Chris Wanstrath
|
90ae7cb48f
|
Ensure we're dealing with strings, always
|
2009-11-13 15:30:07 -08:00 |
|
Chris Wanstrath
|
ab31eadcde
|
delimiter support
|
2009-11-12 21:58:39 -08:00 |
|
Chris Wanstrath
|
c215b07bfa
|
partial extension test
|
2009-11-12 20:55:05 -08:00 |
|
Chris Wanstrath
|
40b904a365
|
implement partials, make test pass
|
2009-11-12 20:52:54 -08:00 |
|
Chris Wanstrath
|
24bdeb2d80
|
failing template partial test
|
2009-11-12 19:34:55 -08:00 |
|
Chris Wanstrath
|
4f5997e3d4
|
failing unescaped test
|
2009-11-12 19:30:03 -08:00 |
|
Chris Wanstrath
|
d58a7d952b
|
failing escaped test
|
2009-11-12 19:28:49 -08:00 |
|
Chris Wanstrath
|
b06c64aeb0
|
double section test
|
2009-11-12 19:26:09 -08:00 |
|
Chris Wanstrath
|
89d8c829e4
|
whitespace
|
2009-11-12 19:22:57 -08:00 |
|
Chris Wanstrath
|
d4f27953a6
|
Add examples test file, start with a comments test
|
2009-11-12 19:22:51 -08:00 |
|
Chris Wanstrath
|
7df1984375
|
make complex_view test pass
|
2009-11-06 17:40:30 -08:00 |
|
Chris Wanstrath
|
d68ae32fda
|
Add failing (but almost passing) ComplexView test. Fixes #2
|
2009-11-05 19:50:47 -08:00 |
|
Chris Wanstrath
|
8de2493efc
|
failing pizza test
|
2009-10-30 11:02:23 -07:00 |
|
Chris Wanstrath
|
59ece1feff
|
basic subclassable view support
|
2009-10-30 11:01:25 -07:00 |
|
Chris Wanstrath
|
e822dab9fd
|
kwargify pystache.render()
|
2009-10-30 10:38:00 -07:00 |
|
dbr
|
40d09a12bf
|
Pystash class with static method seems redundant,
change it to a single function. Also update the
tests
|
2009-10-31 01:20:56 +08:00 |
|
Chris Wanstrath
|
68f7cca579
|
sections work!
|
2009-10-29 01:14:30 -07:00 |
|
Chris Wanstrath
|
1bd8530656
|
basic true / false sections
|
2009-10-29 01:00:15 -07:00 |
|