Commit Graph

126 Commits

Author SHA1 Message Date
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 ede055af92 Adding exception handler 2011-01-27 17:23:16 +00:00
Carl Whittaker 79817d5130 Fixed missing context attribute. 2011-01-27 17:10:47 +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 c6f78bfde7 Removing cruft. 2011-01-27 15:51:58 +00: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 69406c0823 Fixing regression on 0 values not being rendered. 2011-01-13 18:43:02 +00:00
Carl Whittaker bd0c7cc0e8 Fixing template_extension not being passed into loader. 2011-01-13 12:30:17 +00:00
Carl Whittaker 27ba90d810 Updating changelog 2011-01-12 18:14: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 b7ab439a50 Dictionaries and lists are now handled in sections. 2011-01-11 16:47:53 +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
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
Carl Whittaker 4433f174ea Adding .DS_Store to gitignore. 2011-01-11 14:15:43 +00:00
Adam Vandenberg 442f84dd1f Fix link to mustache(5) 2011-01-10 23:46:05 +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 49c34b0c22 Requires Python 2.6 2010-08-08 23:32:55 -07:00
Chris Wanstrath 4a66a1668c Use isinstance(it, collections.Callable) for callable check 2010-05-17 17:33:44 -07:00
Chris Wanstrath 152c4e025f Contexts still can't see outer scope. Add failing test. 2010-05-14 10:11:45 -07:00
Paul Bonser 5cd466a679 an object can have a __call__ attribute and not actually be callable 2010-05-15 00:54:07 +08: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
Paul Bonser 7d7ddeb4a2 update View class to return context items via subscript as well 2010-05-15 00:54:04 +08:00
Paul Bonser 2baff1a486 get by key for dict-like objects, or try attribute access for other objects 2010-05-15 00:54:03 +08:00
Chris Wanstrath 49497291dd hey now 2010-05-07 13:18:26 +03:00
Chris Wanstrath 6c679efdf5 What was I thinking? 2010-05-07 13:17:54 +03:00
Chris Wanstrath 729e2fef05 v0.3.1 v0.3.1 2010-05-07 12:45:31 +03:00
Chris Wanstrath 0104a2074e Manifest file to fix package 2010-05-07 12:44:00 +03:00
Chris Wanstrath c514948be2 install it 2010-05-03 12:22:15 -07:00
Chris Wanstrath 076e560d69 bump version 2010-05-03 12:20:24 -07:00
Chris Wanstrath 1d99d780a2 v0.3.0 v0.3.0 2010-05-03 12:19:51 -07:00
Chris Wanstrath 4fd18e5910 use issues 2010-05-03 12:17:58 -07: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 04560acac0 Convert HISTORY and README to reStructuredText
and use them setup's long_description argument.
2010-03-29 06:50:00 +08:00
Damien Lebrun feec8f0af7 Add classifiers 2010-03-29 06:49:59 +08: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
Chris Wanstrath 83c0004e4f Mention mustache 5 docs 2010-03-09 18:13:32 -07:00