143 Commits

Author SHA1 Message Date
Chris Wanstrath f543efac93 Merge pull request #28 from arkany/master
Added a logo
2011-08-23 15:40:56 -07:00
arkany 929c369218 added Pystache logo. Hope you like it! 2011-08-19 06:57:37 -03:00
arkany e427b7bee3 Edited README.rst via GitHub 2011-08-19 06:51:32 -03:00
Carl Whittaker b9bd807ac0 Merge branch 'development' of https://github.com/lambacck/pystache into development 2011-05-31 17:41:36 +01:00
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
Carl Whittaker 2a4270e12a Merge pull request #23 from yuest/pullrequest
Inverted Sections For Empty List
2011-05-31 08:50:26 -07:00
Yuest Wang f9708e525a Merge pull request #1 from markpasc/master
Test for inverted sections with lists
2011-05-16 19:47:39 -07:00
Mark Paschal a78d3f65d6 Add test for inverted sections on list values 2011-05-09 18:24:22 -07:00
Yuest Wang de9f7d4110 Inverted Sections For Empty List 2011-04-20 10:51:39 +08:00
Christopher Lambacher a00b5688e9 Optionally support setuptools/distribute 2011-04-04 13:22:35 -04:00
Christopher Lambacher 75254d671a Optionally support markupsafe
This will allow the namesapce to provide information about
whether something is to be escaped or not.
2011-04-04 13:21:17 -04:00
Mike O'Toole feb339dae2 adding support for implicit iterators 2011-03-08 18:33:29 -05:00
Carl Whittaker 172ad89170 Merge branch 'development' of github.com:defunkt/pystache into development
Conflicts:
	tests/test_simple.py
2011-02-11 17:11:03 +00:00
Zachary Voase 088b57134b Made the modifiers registry a class attribute rather than a global. 2011-02-11 17:08:35 +00:00
Carl Whittaker 01cfebe1eb Reverting broken whitespace preservation logic that was pushed by mistake. 2011-02-11 17:08:27 +00:00
Carl Whittaker c6e3e50b51 Merge branch 'development' of https://github.com/zacharyvoase/pystache into development 2011-02-11 15:57:34 +00:00
Zachary Voase c106cf8601 Made the modifiers registry a class attribute rather than a global. 2011-02-11 10:24:27 +00:00
Carl Whittaker a9bae00220 Adding logic to preserve whitespace. 2011-02-08 00:10:15 +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