summaryrefslogtreecommitdiff
path: root/pystache
Commit message (Collapse)AuthorAgeFilesLines
...
| * Merge branch 'development' of https://github.com/defunkt/pystache into ↵Rodrigo Bernardo Pimentel2012-04-2981-94/+4286
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | development Conflicts: pystache/context.py pystache/tests/test_context.py pystache/tests/test_renderengine.py tests/common.py
| * | Auto-calling elements in the middle of a dot-notation path (reverts ↵Rodrigo Bernardo Pimentel2012-04-291-4/+1
| | | | | | | | | | | | 3c5a6db5a0fe7cfeaee04476419ca2b7ada18b1e)
| * | Fixing logic mistake when determining auto-invoking. Added tests for this case.Rodrigo Bernardo Pimentel2012-04-041-5/+4
| | |
| * | Not auto-invoking when there are still dot notation parts to examine. The ↵Rodrigo Bernardo Pimentel2012-04-041-1/+4
| | | | | | | | | | | | previous behaviour breaks calls like foo.bar.baz, if foo.bar defines __call__
| * | Bail early when the attribute is not found, when expanding dot-notationRodrigo Bernardo Pimentel2012-04-041-2/+3
| | |
| * | Dot notation support, thereby making pystache compliant with Mustache spec ↵Rodrigo Bernardo Pimentel2012-04-031-4/+13
| | | | | | | | | | | | v1.1.2 (and updating the spec submodule accordingly)
* | | Some clean-ups to the context module (docstring changes, added TODO's, etc).Chris Jerdonek2012-05-013-31/+42
| | |
* | | Added a test case that dotted name resolution should make forward-only progress.Chris Jerdonek2012-04-291-0/+13
| | |
* | | Added a TODO to context.py.Chris Jerdonek2012-04-291-0/+2
| | |
* | | Dot notation spec tests now pass in--Chris Jerdonek2012-04-292-3/+11
| | | | | | | | | | | | https://github.com/mustache/spec/tree/9b1bc7ad19247e9671304af02078f2ce30132665
* | | Made context.resolve() a method on the ContextStack class.Chris Jerdonek2012-04-292-39/+37
| | |
* | | Started implementing dot notation.Chris Jerdonek2012-04-291-6/+24
| | |
* | | Fixed issue #114: "List of lambdas not processed correctly for sections"Chris Jerdonek2012-04-291-15/+34
| | |
* | | Added failing test case for issue #114.Chris Jerdonek2012-04-291-0/+16
| |/ |/|
* | Refactored spectesting.py: added _convert_children() function.Chris Jerdonek2012-04-291-8/+33
| |
* | Fixed issue #113: "Section lambdas mistakenly pushed onto context stack"Chris Jerdonek2012-04-292-1/+40
| |
* | Moved a string slice operation from parse() to _parse_section().Chris Jerdonek2012-04-281-4/+4
| |
* | Commented some of the section parsing code.Chris Jerdonek2012-04-282-13/+48
| |
* | Added back using nose to test a subset of tests.Chris Jerdonek2012-04-282-2/+4
| |
* | Stubbed out tests/test_parser.py.Chris Jerdonek2012-04-281-0/+26
| |
* | Merge branch 'master' into 'development': changes for v0.5.1 prep.Chris Jerdonek2012-04-251-1/+1
|\ \ | | | | | | | | | | | | Conflicts: HISTORY.rst
| * | Bump version from 0.5.1-rc to 0.5.1 prior to release to PyPI.v0.5.1Chris Jerdonek2012-04-251-1/+1
| | |
* | | Add RenderEngine test cases for "falsey" context values.Chris Jerdonek2012-04-251-0/+21
| | |
* | | Renamed Context to ContextStack.Chris Jerdonek2012-04-256-61/+61
| | |
* | | Refactored by adding a resolve() function to context.py:Chris Jerdonek2012-04-243-12/+25
|/ / | | | | | | | | | | | | The resolve() function is responsible for the interpolation name resolution rules described in the Mustache spec. Also, falsey values are now coerced to strings using Python's str(), which is more in line with the spec.
* | Finalizing v0.5.1 prior to merge to master, bump version to 0.5.1-rc.Chris Jerdonek2012-04-241-1/+1
| |
* | Test scripts now work with and without source.Chris Jerdonek2012-04-241-10/+31
| |
* | Fixed an issue whereby setup.py was not importable when running tox.Chris Jerdonek2012-04-231-2/+12
| |
* | Changes in preparation for 0.5.1.Chris Jerdonek2012-04-232-3/+27
| |
* | Removed a TODO that has already been addressed.Chris Jerdonek2012-04-231-1/+1
| |
* | Added unit tests for pystache/__init__.py.Chris Jerdonek2012-04-233-9/+40
| |
* | Test script now works with Python 2.4; tox now works with Python 2.4 to 3.2.Chris Jerdonek2012-04-238-38/+37
| | | | | | | | Doctest discovery no longer depends on pkgutil.walk_packages().
* | Added docstrings to all modules to avoid doctest bug 14649: ↵Chris Jerdonek2012-04-2318-0/+105
| | | | | | | | http://bugs.python.org/issue14649
* | Moved some of the test-discovery logic into tests/common.pyChris Jerdonek2012-04-232-71/+77
| |
* | Only pull in 2to3-related modules when running Python 3.x.Chris Jerdonek2012-04-211-4/+7
| |
* | The test script now converts text doctest files to Python 3 when needed.Chris Jerdonek2012-04-211-3/+42
| |
* | Fixed a bug that affected the processing of ~lambdas.json (but not YAML).Chris Jerdonek2012-04-211-13/+28
| |
* | Moved test_mustachespec.py to spectesting.py since it no longer contains ↵Chris Jerdonek2012-04-212-2/+1
| | | | | | | | unit tests.
* | The pystache-tests script now accepts a spec test directory argument.Chris Jerdonek2012-04-212-5/+16
| |
* | Refactored pystache/tests/test_mustachespec.py to expose get_spec_tests().Chris Jerdonek2012-04-212-80/+134
| |
* | Renamed get_module_doctests() to get_doctests().Chris Jerdonek2012-04-212-5/+10
| |
* | The project directory can now be passed to pystache-test (for doctest purposes).Chris Jerdonek2012-04-212-8/+15
| |
* | Updated a comment in tests/common.py.Chris Jerdonek2012-04-211-2/+1
| |
* | Deleted a trailing space.Chris Jerdonek2012-04-211-1/+1
| |
* | Added extra lineChris Jerdonek2012-04-201-0/+1
| |
* | Added a hack to get around Python bug #7559: http://bugs.python.org/issue7559Chris Jerdonek2012-04-202-2/+20
| |
* | Adjusted comments in pystache/tests/main.py.Chris Jerdonek2012-04-201-18/+10
| |
* | Replaced the TestHarness class with a run_tests() function.Chris Jerdonek2012-04-202-35/+27
| |
* | Removed test_doctests.py (and use of the load_tests protocol).Chris Jerdonek2012-04-203-48/+13
| |
* | Renamed SOURCE_DIR to PACKAGE_DIR.Chris Jerdonek2012-04-203-17/+12
| |