Commit Graph

33 Commits

Author SHA1 Message Date
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
Carl Whittaker 16ce94a29e Moving context logic into view 2011-01-27 15:50:45 +00:00
Carl Whittaker ac941e567d Fixed nested context in loops not being passed to partials. 2011-01-18 11:26:30 +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 01dd06b313 Adding support for callables and Negated values. 2011-01-11 17:14:56 +00:00
Carl Whittaker b7ab439a50 Dictionaries and lists are now handled in sections. 2011-01-11 16:47:53 +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
Carl Whittaker 6c2d2b056f Adding tests for negated (empty list) tag, partials in loops not referencing parent values. 2011-01-11 14:24:09 +00:00
Kevin Morgan 45fa7443b4 Removing unused debug lambda. 2010-12-13 21:41:27 +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
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
Chris Wanstrath c63d008486 section and tag names can include aesthetic whitespace 2009-11-12 22:02:02 -08:00
Chris Wanstrath de25342bb2 ensure tags can have spaces 2009-11-12 21:58:47 -08:00
Chris Wanstrath ab31eadcde delimiter support 2009-11-12 21:58:39 -08:00
Chris Wanstrath 76b3c5d13c fix title bar method 2009-11-12 20:55:09 -08:00
Chris Wanstrath c215b07bfa partial extension test 2009-11-12 20:55:05 -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 d4f27953a6 Add examples test file, start with a comments test 2009-11-12 19:22:51 -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