aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Raise 500 error instead of unwrapping in Rocket Responder implLibravatar Dirkjan Ochtman2017-09-051-3/+7
|
* Remove warning, since BUILT_IN_FILTERS is now in the same moduleLibravatar Dirkjan Ochtman2017-09-051-2/+0
|
* Escape all strings with character entities by default (fixes #23)Libravatar Dirkjan Ochtman2017-09-044-21/+107
|
* Move escaping algorithm into a separate moduleLibravatar Dirkjan Ochtman2017-09-043-43/+54
|
* Move filter list closer to the actual filters, add docsLibravatar Dirkjan Ochtman2017-09-042-13/+19
|
* Clean up and tighten faster version of expr_prec_layer macroLibravatar Dirkjan Ochtman2017-09-041-15/+10
|
* Tighten up code for join filter handlingLibravatar Dirkjan Ochtman2017-09-041-8/+1
|
* Changed implementation of precedence rulesLibravatar Lars Erik Rosengren2017-09-031-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 itLibravatar defyrlt2017-09-022-0/+71
|
* Refactor `visit_filter` to allow easier customizationLibravatar defyrlt2017-09-021-11/+21
|
* Export Error typeLibravatar Anthony Nowell2017-08-291-1/+1
|
* Move most of the code into new askama_shared crateLibravatar Dirkjan Ochtman2017-08-276-0/+1460
This makes it possible to share code between askama and askama_derive.