Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Move escaping algorithm into a separate module | Dirkjan Ochtman | 2017-09-04 | 3 | -43/+54 | |
| | ||||||
* | Move filter list closer to the actual filters, add docs | Dirkjan Ochtman | 2017-09-04 | 2 | -13/+19 | |
| | ||||||
* | Clean up and tighten faster version of expr_prec_layer macro | Dirkjan Ochtman | 2017-09-04 | 1 | -15/+10 | |
| | ||||||
* | Tighten up code for join filter handling | Dirkjan Ochtman | 2017-09-04 | 1 | -8/+1 | |
| | ||||||
* | Changed implementation of precedence rules | Lars Erik Rosengren | 2017-09-03 | 1 | -6/+12 | |
| | | | | | | | | | | | | | | 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/+71 | |
| | ||||||
* | Refactor `visit_filter` to allow easier customization | defyrlt | 2017-09-02 | 1 | -11/+21 | |
| | ||||||
* | Export Error type | Anthony Nowell | 2017-08-29 | 1 | -1/+1 | |
| | ||||||
* | Move most of the code into new askama_shared crate | Dirkjan Ochtman | 2017-08-27 | 11 | -0/+1483 | |
This makes it possible to share code between askama and askama_derive. |