Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 1 | -0/+15 |
| | | | | | | | | | | | | | | 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 | 1 | -0/+25 |
| | |||||
* | Add test for parent default block implementations | Bastien Orivel | 2017-08-25 | 1 | -2/+2 |
| | |||||
* | Simplify Rocket test slightly | Dirkjan Ochtman | 2017-08-24 | 1 | -1/+1 |
| | |||||
* | Add test case for user-defined filters | Dirkjan Ochtman | 2017-08-24 | 1 | -0/+19 |
| | |||||
* | Add test for Rocket support | Dirkjan Ochtman | 2017-08-23 | 1 | -0/+33 |
| | |||||
* | Add test for Iron support | Dirkjan Ochtman | 2017-08-23 | 1 | -0/+20 |
| | |||||
* | Forgot to remove debugging cruft, again | Dirkjan Ochtman | 2017-08-23 | 1 | -1/+1 |
| | |||||
* | Adding optional json filter | Anthony Nowell | 2017-08-23 | 1 | -4/+18 |
| | |||||
* | Add test for basic macro use | Dirkjan Ochtman | 2017-08-22 | 1 | -0/+16 |
| | |||||
* | 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 | 1 | -0/+14 |
| | |||||
* | Add test for let blocks | Dirkjan Ochtman | 2017-08-15 | 1 | -0/+16 |
| | |||||
* | 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 | 1 | -0/+18 |
| | |||||
* | 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 | 1 | -1/+1 |
| | |||||
* | Add test for include blocks (see #25) | Dirkjan Ochtman | 2017-08-04 | 1 | -0/+19 |
| | |||||
* | Merge changes | Dirkjan Ochtman | 2017-08-02 | 1 | -0/+19 |
|\ | |||||
| * | Add test for basic chained attributes | Dirkjan Ochtman | 2017-05-26 | 1 | -0/+19 |
| | | |||||
* | | Add test that starts with a single brace (see #24) | Dirkjan Ochtman | 2017-08-02 | 1 | -0/+14 |
|/ | |||||
* | Remove type parameter defaults from impls (fixes #12) | Dirkjan Ochtman | 2017-03-08 | 1 | -1/+2 |
| | |||||
* | 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 | 1 | -0/+17 |
| | |||||
* | 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 | 4 | -6/+2 |
| | |||||
* | Add test for comments | 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 | 1 | -1/+1 |
| | |||||
* | Add test for handling Option types (with method calls) | Dirkjan Ochtman | 2017-02-18 | 1 | -0/+15 |
| | |||||
* | Add test for format filter | Dirkjan Ochtman | 2017-02-18 | 1 | -0/+13 |
| | |||||
* | Add test for attribute support | Dirkjan Ochtman | 2017-02-18 | 1 | -0/+17 |
| | |||||
* | Add tests for more binary operators | Dirkjan Ochtman | 2017-02-17 | 1 | -1/+1 |
| | |||||
* | Split comparison tests from other operators | Dirkjan Ochtman | 2017-02-17 | 1 | -1/+16 |
| | |||||
* | Implement support for mul, div, mod operators | Dirkjan Ochtman | 2017-02-13 | 1 | -1/+1 |
| | |||||
* | Rename comparison tests to be about any operators | Dirkjan Ochtman | 2017-02-13 | 1 | -4/+4 |
| | |||||
* | Test support for variables in inherited templates | Dirkjan Ochtman | 2017-02-12 | 1 | -7/+9 |
| | |||||
* | Explicitly pass trait implementation to top-level base template method | Dirkjan Ochtman | 2017-02-12 | 1 | -2/+4 |
| | | | | | This requires a base template struct to be a member of the derived template's context, but allows the base template to access base template fields. | ||||
* | Add test for using base template directly | Dirkjan Ochtman | 2017-02-12 | 1 | -0/+6 |
| | |||||
* | Implement basic support for template inheritance | Dirkjan Ochtman | 2017-02-05 | 1 | -0/+19 |
| | |||||
* | Add test for string literals | Dirkjan Ochtman | 2017-02-05 | 1 | -0/+11 |
| | |||||
* | Add tests for all 6 comparison operators | Dirkjan Ochtman | 2017-02-04 | 1 | -5/+5 |
| | |||||
* | Add test for == operator | Dirkjan Ochtman | 2017-02-04 | 1 | -0/+19 |
| | |||||
* | Use &str instead of String for test cases | Dirkjan Ochtman | 2017-02-04 | 1 | -6/+6 |
| | |||||
* | Add basic support for loops | Dirkjan Ochtman | 2017-02-04 | 1 | -0/+15 |
| | |||||
* | Remove unneeded feature(proc_macro) annotation | Dirkjan Ochtman | 2017-02-02 | 2 | -4/+0 |
| |