aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Create better abstraction around TemplateMeta typeLibravatar Dirkjan Ochtman2017-09-051-48/+48
|
* Pass AST to code generator as referenceLibravatar Dirkjan Ochtman2017-09-052-2/+2
|
* Stop mutating parsed AST for code generationLibravatar Dirkjan Ochtman2017-09-052-26/+20
|
* Refactor code generation for block definitionsLibravatar Dirkjan Ochtman2017-09-051-21/+24
|
* Refactor handling of macrosLibravatar Dirkjan Ochtman2017-09-052-16/+26
|
* Move tightly coupled code from derive to shared crateLibravatar Dirkjan Ochtman2017-09-052-113/+112
|
* 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-045-22/+108
|
* 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
|
* Moved precedence test into operators moduleLibravatar Dirkjan Ochtman2017-09-042-15/+11
|
* 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-033-6/+34
| | | | | | | | | | | | | | 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-024-0/+97
|
* Refactor `visit_filter` to allow easier customizationLibravatar defyrlt2017-09-021-11/+21
|
* Export Error typeLibravatar Anthony Nowell2017-08-292-2/+2
|
* Move most of the code into new askama_shared crateLibravatar Dirkjan Ochtman2017-08-2716-50/+66
| | | | This makes it possible to share code between askama and askama_derive.
* Add test for parent default block implementationsLibravatar Bastien Orivel2017-08-252-2/+3
|
* Use block implementations in parent as defaults in traitLibravatar Dirkjan Ochtman2017-08-251-11/+3
|
* Add `unwrap()` to the hello world example in READMELibravatar defyrlt2017-08-251-1/+1
|
* Simplify Rocket test slightlyLibravatar Dirkjan Ochtman2017-08-241-1/+1
|
* Allow {% block name %} {% endblock name %}Libravatar Bastien Orivel2017-08-242-1/+2
| | | | This makes converting an app from tera to askama easier.
* Add test case for user-defined filtersLibravatar Dirkjan Ochtman2017-08-241-0/+19
|
* Add support for user-defined filtersLibravatar Dirkjan Ochtman2017-08-242-1/+17
|
* Clean up order in Cargo manifestsLibravatar Dirkjan Ochtman2017-08-243-10/+10
|
* Add test for Rocket supportLibravatar Dirkjan Ochtman2017-08-232-0/+39
|
* Add optional support for RocketLibravatar Dirkjan Ochtman2017-08-234-0/+35
|
* Allow passing extra annotation parameters to impl headersLibravatar Dirkjan Ochtman2017-08-231-13/+28
|
* Add test for Iron supportLibravatar Dirkjan Ochtman2017-08-232-2/+23
|
* Optionally implement Iron's Modifier<Response> for templatesLibravatar Dirkjan Ochtman2017-08-234-0/+25
|
* Forgot to remove debugging cruft, againLibravatar Dirkjan Ochtman2017-08-231-1/+1
|
* Adding optional json filterLibravatar Anthony Nowell2017-08-237-7/+78
|
* Add test for basic macro useLibravatar Dirkjan Ochtman2017-08-222-0/+21
|
* Add support for calling macrosLibravatar Dirkjan Ochtman2017-08-222-13/+44
|
* Refactor parser handling of argumentsLibravatar Dirkjan Ochtman2017-08-221-21/+19
|
* Implement support for macro definition handlingLibravatar Dirkjan Ochtman2017-08-222-8/+59
|
* Rename method call internals for clarityLibravatar Dirkjan Ochtman2017-08-222-5/+5
|
* Change filters to return ResultLibravatar Dirkjan Ochtman2017-08-212-25/+29
|
* Change one test case to use source attributeLibravatar Dirkjan Ochtman2017-08-161-1/+1
|
* Support specifying template source as an attributeLibravatar Dirkjan Ochtman2017-08-161-11/+29
|
* Pass path to code generation as PathLibravatar Dirkjan Ochtman2017-08-162-10/+8
|
* Change find_template_from_path() to take Path as start_at argumentLibravatar Dirkjan Ochtman2017-08-162-7/+7
|
* Simplify relative path handling in find_template_from_path()Libravatar Dirkjan Ochtman2017-08-161-10/+7
|
* Use reference into AST for template path instead of cloningLibravatar Dirkjan Ochtman2017-08-161-4/+4
|
* Use enum for print option valueLibravatar Dirkjan Ochtman2017-08-161-5/+26
|
* Add test for variable declarationLibravatar Dirkjan Ochtman2017-08-162-0/+21
|
* Allow separation of variable declaration and defintionLibravatar Dirkjan Ochtman2017-08-162-4/+27
|
* Add test for let blocksLibravatar Dirkjan Ochtman2017-08-152-0/+17
|