aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Add support for simple variable definition statementsLibravatar Dirkjan Ochtman2017-08-142-0/+27
|
* Introduce and clean up scopes where necessaryLibravatar Dirkjan Ochtman2017-08-141-0/+6
|
* Assert invariant for SetChain implementationLibravatar Dirkjan Ochtman2017-08-141-0/+1
|
* Use error-chain to create a crate-specific Error typeLibravatar Dirkjan Ochtman2017-08-143-4/+14
|
* Remove Cargo.lockLibravatar Dirkjan Ochtman2017-08-141-80/+0
| | | | Apparently library crates generally don't include this in their repositories.
* Define type askama::Result to use for all rendering methodsLibravatar Dirkjan Ochtman2017-08-142-9/+11
|
* Generate with full path to ResultLibravatar Anthony Nowell2017-08-131-7/+7
|
* Inline scope tracking abstraction againLibravatar Dirkjan Ochtman2017-08-101-24/+6
|
* Keep better track of nested scope through scope chainsLibravatar Dirkjan Ochtman2017-08-101-17/+50
|
* Replace unwrap() with expect() call for parent type findingLibravatar Dirkjan Ochtman2017-08-101-1/+3
|
* Add note to template_dir() about being duplicatedLibravatar Dirkjan Ochtman2017-08-101-0/+1
|
* Disable debug output for example by defaultLibravatar Dirkjan Ochtman2017-08-101-1/+1
|