Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix whitespace handling for macros and imports (#55) | larros | 2017-10-01 | 2 | -6/+16 | |
| | | | | | | Resolves https://github.com/djc/askama/issues/52. * Fix of review comments | |||||
* | Add support for importing template files with macros (#51) | larros | 2017-09-26 | 1 | -0/+2 | |
| | | | | * Fix review comments for macro imports | |||||
* | Add support for tuple indexing in templates | Lars Erik Rosengren | 2017-09-10 | 1 | -0/+1 | |
| | ||||||
* | Changed implementation of precedence rules | Lars Erik Rosengren | 2017-09-03 | 1 | -0/+7 | |
| | | | | | | | | | | | | | | 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/+1 | |
| | ||||||
* | Add test for parent default block implementations | Bastien Orivel | 2017-08-25 | 1 | -0/+1 | |
| | ||||||
* | Allow {% block name %} {% endblock name %} | Bastien Orivel | 2017-08-24 | 1 | -1/+1 | |
| | | | | This makes converting an app from tera to askama easier. | |||||
* | Adding optional json filter | Anthony Nowell | 2017-08-23 | 1 | -1/+4 | |
| | ||||||
* | Add test for basic macro use | Dirkjan Ochtman | 2017-08-22 | 1 | -0/+5 | |
| | ||||||
* | Add test for variable declaration | Dirkjan Ochtman | 2017-08-16 | 1 | -0/+7 | |
| | ||||||
* | Add test for let blocks | Dirkjan Ochtman | 2017-08-15 | 1 | -0/+1 | |
| | ||||||
* | Add README example as a test case | Dirkjan Ochtman | 2017-08-10 | 1 | -0/+1 | |
| | ||||||
* | Forgot to commit test template | Dirkjan Ochtman | 2017-08-10 | 1 | -0/+1 | |
| | ||||||
* | 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 | 2 | -0/+4 | |
| | ||||||
* | Merge changes | Dirkjan Ochtman | 2017-08-02 | 1 | -0/+1 | |
|\ | ||||||
| * | Add test for basic chained attributes | Dirkjan Ochtman | 2017-05-26 | 1 | -0/+1 | |
| | | ||||||
* | | Add test that starts with a single brace (see #24) | Dirkjan Ochtman | 2017-08-02 | 1 | -0/+1 | |
|/ | ||||||
* | Add missing template for test_generics | Dirkjan Ochtman | 2017-03-08 | 1 | -0/+1 | |
| | ||||||
* | Add test for nested loops and loops over slices (see #6, #7, #9) | Dirkjan Ochtman | 2017-03-07 | 1 | -0/+6 | |
| | ||||||
* | Add test for comments | Dirkjan Ochtman | 2017-03-03 | 1 | -0/+1 | |
| | ||||||
* | Add test for parenthesized expressions | Dirkjan Ochtman | 2017-03-03 | 1 | -1/+1 | |
| | ||||||
* | 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/+5 | |
| | ||||||
* | Add test for format filter | Dirkjan Ochtman | 2017-02-18 | 1 | -0/+1 | |
| | ||||||
* | Add test for attribute support | Dirkjan Ochtman | 2017-02-18 | 1 | -0/+1 | |
| | ||||||
* | 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 | 1 | -0/+24 | |
| | ||||||
* | Split comparison tests from other operators | Dirkjan Ochtman | 2017-02-17 | 1 | -51/+3 | |
| | ||||||
* | Implement support for mul, div, mod operators | Dirkjan Ochtman | 2017-02-13 | 1 | -0/+9 | |
| | ||||||
* | Rename comparison tests to be about any operators | Dirkjan Ochtman | 2017-02-13 | 1 | -0/+0 | |
| | ||||||
* | Test support for variables in inherited templates | Dirkjan Ochtman | 2017-02-12 | 1 | -0/+1 | |
| | ||||||
* | Fix some bugs in whitespace handling | Dirkjan Ochtman | 2017-02-08 | 1 | -2/+2 | |
| | ||||||
* | Implement generator support for whitespace handling markers | Dirkjan Ochtman | 2017-02-08 | 1 | -6/+48 | |
| | ||||||
* | Implement basic support for template inheritance | Dirkjan Ochtman | 2017-02-05 | 2 | -0/+4 | |
| | ||||||
* | Add test for string literals | Dirkjan Ochtman | 2017-02-05 | 1 | -0/+1 | |
| | ||||||
* | Add tests for all 6 comparison operators | Dirkjan Ochtman | 2017-02-04 | 2 | -1/+6 | |
| | ||||||
* | Add test for == operator | Dirkjan Ochtman | 2017-02-04 | 1 | -0/+1 | |
| | ||||||
* | Add basic support for loops | Dirkjan Ochtman | 2017-02-04 | 1 | -0/+3 | |
| | ||||||
* | Use 'else if' instead of 'elif' to align more with Rust | Dirkjan Ochtman | 2017-01-12 | 2 | -1/+1 | |
| | ||||||
* | Add template source code for elif test case | Dirkjan Ochtman | 2017-01-11 | 1 | -0/+1 | |
| | ||||||
* | Add test for else blocks | Dirkjan Ochtman | 2017-01-07 | 1 | -0/+1 | |
| | ||||||
* | Add test for simple if-blocks | Dirkjan Ochtman | 2017-01-07 | 1 | -0/+1 | |
| | ||||||
* | Add basic test case for filters | Dirkjan Ochtman | 2017-01-06 | 1 | -0/+1 | |
| | ||||||
* | Rename askama_test to testing | Dirkjan Ochtman | 2017-01-03 | 1 | -0/+4 | |