Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make ext attribute mandatory for source-specified templates | Dirkjan Ochtman | 2017-09-07 | 3 | -5/+5 |
| | |||||
* | Add some tests for escaping functionality | Dirkjan Ochtman | 2017-09-05 | 1 | -0/+39 |
| | |||||
* | Moved precedence test into operators module | Dirkjan Ochtman | 2017-09-04 | 2 | -15/+11 |
| | |||||
* | Changed implementation of precedence rules | Lars Erik Rosengren | 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 | defyrlt | 2017-09-02 | 2 | -0/+26 |
| | |||||
* | Add test for parent default block implementations | Bastien Orivel | 2017-08-25 | 2 | -2/+3 |
| | |||||
* | Simplify Rocket test slightly | Dirkjan Ochtman | 2017-08-24 | 1 | -1/+1 |
| | |||||
* | Allow {% block name %} {% endblock name %} | Bastien Orivel | 2017-08-24 | 1 | -1/+1 |
| | | | | This makes converting an app from tera to askama easier. | ||||
* | Add test case for user-defined filters | Dirkjan Ochtman | 2017-08-24 | 1 | -0/+19 |
| | |||||
* | Clean up order in Cargo manifests | Dirkjan Ochtman | 2017-08-24 | 1 | -2/+2 |
| | |||||
* | Add test for Rocket support | Dirkjan Ochtman | 2017-08-23 | 2 | -0/+39 |
| | |||||
* | Add test for Iron support | Dirkjan Ochtman | 2017-08-23 | 2 | -2/+23 |
| | |||||
* | Forgot to remove debugging cruft, again | Dirkjan Ochtman | 2017-08-23 | 1 | -1/+1 |
| | |||||
* | Adding optional json filter | Anthony Nowell | 2017-08-23 | 3 | -7/+25 |
| | |||||
* | Add test for basic macro use | Dirkjan Ochtman | 2017-08-22 | 2 | -0/+21 |
| | |||||
* | Change one test case to use source attribute | Dirkjan Ochtman | 2017-08-16 | 1 | -1/+1 |
| | |||||
* | Add test for variable declaration | Dirkjan Ochtman | 2017-08-16 | 2 | -0/+21 |
| | |||||
* | Add test for let blocks | Dirkjan Ochtman | 2017-08-15 | 2 | -0/+17 |
| | |||||
* | Disable debug output for example by default | Dirkjan Ochtman | 2017-08-10 | 1 | -1/+1 |
| | |||||
* | Add README example as a test case | Dirkjan Ochtman | 2017-08-10 | 2 | -0/+19 |
| | |||||
* | Forgot to commit test template | Dirkjan Ochtman | 2017-08-10 | 1 | -0/+1 |
| | |||||
* | Implement Display for all Templates | Dirkjan Ochtman | 2017-08-10 | 1 | -0/+13 |
| | |||||
* | Propagate format errors and rename `render_to()` to `render_into()` | Dirkjan Ochtman | 2017-08-10 | 6 | -23/+23 |
| | |||||
* | Add test for deref implementation (see #28) | Dirkjan Ochtman | 2017-08-08 | 2 | -2/+2 |
| | |||||
* | Add test for include blocks (see #25) | Dirkjan Ochtman | 2017-08-04 | 3 | -0/+23 |
| | |||||
* | Merge changes | Dirkjan Ochtman | 2017-08-02 | 2 | -0/+20 |
|\ | |||||
| * | Add test for basic chained attributes | Dirkjan Ochtman | 2017-05-26 | 2 | -0/+20 |
| | | |||||
* | | Add test that starts with a single brace (see #24) | Dirkjan Ochtman | 2017-08-02 | 2 | -0/+15 |
|/ | |||||
* | Remove type parameter defaults from impls (fixes #12) | Dirkjan Ochtman | 2017-03-08 | 1 | -1/+2 |
| | |||||
* | Add missing template for test_generics | Dirkjan Ochtman | 2017-03-08 | 1 | -0/+1 |
| | |||||
* | Add test for type parameters and where clauses (see #9) | Dirkjan Ochtman | 2017-03-08 | 1 | -0/+14 |
| | |||||
* | Remove debugging cruft from test_nested_for | Dirkjan Ochtman | 2017-03-07 | 1 | -1/+1 |
| | |||||
* | Add test for nested loops and loops over slices (see #6, #7, #9) | Dirkjan Ochtman | 2017-03-07 | 2 | -0/+23 |
| | |||||
* | Create separate test module for loops | Dirkjan Ochtman | 2017-03-07 | 2 | -15/+18 |
| | |||||
* | Hide askama_derive dependency inside askama (fixes #2) | Dirkjan Ochtman | 2017-03-06 | 5 | -7/+2 |
| | |||||
* | Update version numbers and dependencies | Dirkjan Ochtman | 2017-03-03 | 1 | -3/+3 |
| | |||||
* | Add test for comments | Dirkjan Ochtman | 2017-03-03 | 2 | -1/+2 |
| | |||||
* | Add test for parenthesized expressions | Dirkjan Ochtman | 2017-03-03 | 1 | -1/+1 |
| | |||||
* | Discard trailing newlines from templates by default | Dirkjan Ochtman | 2017-03-03 | 4 | -14/+14 |
| | | | | This matches Jinja's behavior, and seems sensible. | ||||
* | Add basic test for loop variables | Dirkjan Ochtman | 2017-02-19 | 2 | -2/+2 |
| | |||||
* | Add test for handling Option types (with method calls) | Dirkjan Ochtman | 2017-02-18 | 2 | -0/+20 |
| | |||||
* | Add test for format filter | Dirkjan Ochtman | 2017-02-18 | 2 | -0/+14 |
| | |||||
* | Add test for attribute support | Dirkjan Ochtman | 2017-02-18 | 2 | -0/+18 |
| | |||||
* | Add support for integer literals | Dirkjan Ochtman | 2017-02-17 | 1 | -1/+1 |
| | |||||
* | Add test template (forgotten in 1121af3dd0) | Dirkjan Ochtman | 2017-02-17 | 1 | -0/+48 |
| | |||||
* | Add tests for more binary operators | Dirkjan Ochtman | 2017-02-17 | 2 | -1/+25 |
| | |||||
* | Split comparison tests from other operators | Dirkjan Ochtman | 2017-02-17 | 2 | -52/+19 |
| | |||||
* | Bring back path for iternal dependencies | Dirkjan Ochtman | 2017-02-17 | 1 | -3/+3 |
| | |||||
* | Fix askama version in testing crate | Dirkjan Ochtman | 2017-02-15 | 1 | -3/+3 |
| | |||||
* | Implement support for mul, div, mod operators | Dirkjan Ochtman | 2017-02-13 | 2 | -1/+10 |
| |