Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add some tests for escaping functionality | 2017-09-05 | 1 | -0/+39 | |
| | |||||
* | Moved precedence test into operators module | 2017-09-04 | 2 | -15/+11 | |
| | |||||
* | Changed implementation of precedence rules | 2017-09-03 | 2 | -0/+22 | |
| | | | | | | | | | | | | | | This implementation resolves djc/askama#44 by changing the precedence implementation. The previous solution was very slow because it had to try to parse all combinations of precedence layers leading to 2^9 iterations for each expr_any. This is solved by reusing the left operand instead of reparsing it when the operator isn't found. This implementation also solves another related issue that expressions with multiple operators couldn't be parsed, for example {{1 * 2 * 3}}. This is handled by using expr_any for the right operand instead of only using higher level precedence layers. | ||||
* | Add `join` filter & tests for it | 2017-09-02 | 2 | -0/+26 | |
| | |||||
* | Add test for parent default block implementations | 2017-08-25 | 2 | -2/+3 | |
| | |||||
* | Simplify Rocket test slightly | 2017-08-24 | 1 | -1/+1 | |
| | |||||
* | Allow {% block name %} {% endblock name %} | 2017-08-24 | 1 | -1/+1 | |
| | | | | This makes converting an app from tera to askama easier. | ||||
* | Add test case for user-defined filters | 2017-08-24 | 1 | -0/+19 | |
| | |||||
* | Clean up order in Cargo manifests | 2017-08-24 | 1 | -2/+2 | |
| | |||||
* | Add test for Rocket support | 2017-08-23 | 2 | -0/+39 | |
| | |||||
* | Add test for Iron support | 2017-08-23 | 2 | -2/+23 | |
| | |||||
* | Forgot to remove debugging cruft, again | 2017-08-23 | 1 | -1/+1 | |
| | |||||
* | Adding optional json filter | 2017-08-23 | 3 | -7/+25 | |
| | |||||
* | Add test for basic macro use | 2017-08-22 | 2 | -0/+21 | |
| | |||||
* | Change one test case to use source attribute | 2017-08-16 | 1 | -1/+1 | |
| | |||||
* | Add test for variable declaration | 2017-08-16 | 2 | -0/+21 | |
| | |||||
* | Add test for let blocks | 2017-08-15 | 2 | -0/+17 | |
| | |||||
* | Disable debug output for example by default | 2017-08-10 | 1 | -1/+1 | |
| | |||||
* | Add README example as a test case | 2017-08-10 | 2 | -0/+19 | |
| | |||||
* | Forgot to commit test template | 2017-08-10 | 1 | -0/+1 | |
| | |||||
* | Implement Display for all Templates | 2017-08-10 | 1 | -0/+13 | |
| | |||||
* | Propagate format errors and rename `render_to()` to `render_into()` | 2017-08-10 | 6 | -23/+23 | |
| | |||||
* | Add test for deref implementation (see #28) | 2017-08-08 | 2 | -2/+2 | |
| | |||||
* | Add test for include blocks (see #25) | 2017-08-04 | 3 | -0/+23 | |
| | |||||
* | Merge changes | 2017-08-02 | 2 | -0/+20 | |
|\ | |||||
| * | Add test for basic chained attributes | 2017-05-26 | 2 | -0/+20 | |
| | | |||||
* | | Add test that starts with a single brace (see #24) | 2017-08-02 | 2 | -0/+15 | |
|/ | |||||
* | Remove type parameter defaults from impls (fixes #12) | 2017-03-08 | 1 | -1/+2 | |
| | |||||
* | Add missing template for test_generics | 2017-03-08 | 1 | -0/+1 | |
| | |||||
* | Add test for type parameters and where clauses (see #9) | 2017-03-08 | 1 | -0/+14 | |
| | |||||
* | Remove debugging cruft from test_nested_for | 2017-03-07 | 1 | -1/+1 | |
| | |||||
* | Add test for nested loops and loops over slices (see #6, #7, #9) | 2017-03-07 | 2 | -0/+23 | |
| | |||||
* | Create separate test module for loops | 2017-03-07 | 2 | -15/+18 | |
| | |||||
* | Hide askama_derive dependency inside askama (fixes #2) | 2017-03-06 | 5 | -7/+2 | |
| | |||||
* | Update version numbers and dependencies | 2017-03-03 | 1 | -3/+3 | |
| | |||||
* | Add test for comments | 2017-03-03 | 2 | -1/+2 | |
| | |||||
* | Add test for parenthesized expressions | 2017-03-03 | 1 | -1/+1 | |
| | |||||
* | Discard trailing newlines from templates by default | 2017-03-03 | 4 | -14/+14 | |
| | | | | This matches Jinja's behavior, and seems sensible. | ||||
* | Add basic test for loop variables | 2017-02-19 | 2 | -2/+2 | |
| | |||||
* | Add test for handling Option types (with method calls) | 2017-02-18 | 2 | -0/+20 | |
| | |||||
* | Add test for format filter | 2017-02-18 | 2 | -0/+14 | |
| | |||||
* | Add test for attribute support | 2017-02-18 | 2 | -0/+18 | |
| | |||||
* | Add support for integer literals | 2017-02-17 | 1 | -1/+1 | |
| | |||||
* | Add test template (forgotten in 1121af3dd0) | 2017-02-17 | 1 | -0/+48 | |
| | |||||
* | Add tests for more binary operators | 2017-02-17 | 2 | -1/+25 | |
| | |||||
* | Split comparison tests from other operators | 2017-02-17 | 2 | -52/+19 | |
| | |||||
* | Bring back path for iternal dependencies | 2017-02-17 | 1 | -3/+3 | |
| | |||||
* | Fix askama version in testing crate | 2017-02-15 | 1 | -3/+3 | |
| | |||||
* | Implement support for mul, div, mod operators | 2017-02-13 | 2 | -1/+10 | |
| | |||||
* | Rename comparison tests to be about any operators | 2017-02-13 | 2 | -4/+4 | |
| |