Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Move filter list closer to the actual filters, add docs | 2017-09-04 | 2 | -13/+19 | ||
| | ||||||
* | Moved precedence test into operators module | 2017-09-04 | 2 | -15/+11 | ||
| | ||||||
* | Clean up and tighten faster version of expr_prec_layer macro | 2017-09-04 | 1 | -15/+10 | ||
| | ||||||
* | Tighten up code for join filter handling | 2017-09-04 | 1 | -8/+1 | ||
| | ||||||
* | Changed implementation of precedence rules | 2017-09-03 | 3 | -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 it | 2017-09-02 | 4 | -0/+97 | ||
| | ||||||
* | Refactor `visit_filter` to allow easier customization | 2017-09-02 | 1 | -11/+21 | ||
| | ||||||
* | Export Error type | 2017-08-29 | 2 | -2/+2 | ||
| | ||||||
* | Move most of the code into new askama_shared crate | 2017-08-27 | 16 | -50/+66 | ||
| | | | | This makes it possible to share code between askama and askama_derive. | |||||
* | Add test for parent default block implementations | 2017-08-25 | 2 | -2/+3 | ||
| | ||||||
* | Use block implementations in parent as defaults in trait | 2017-08-25 | 1 | -11/+3 | ||
| | ||||||
* | Add `unwrap()` to the hello world example in README | 2017-08-25 | 1 | -1/+1 | ||
| | ||||||
* | Simplify Rocket test slightly | 2017-08-24 | 1 | -1/+1 | ||
| | ||||||
* | Allow {% block name %} {% endblock name %} | 2017-08-24 | 2 | -1/+2 | ||
| | | | | This makes converting an app from tera to askama easier. | |||||
* | Add test case for user-defined filters | 2017-08-24 | 1 | -0/+19 | ||
| | ||||||
* | Add support for user-defined filters | 2017-08-24 | 2 | -1/+17 | ||
| | ||||||
* | Clean up order in Cargo manifests | 2017-08-24 | 3 | -10/+10 | ||
| | ||||||
* | Add test for Rocket support | 2017-08-23 | 2 | -0/+39 | ||
| | ||||||
* | Add optional support for Rocket | 2017-08-23 | 4 | -0/+35 | ||
| | ||||||
* | Allow passing extra annotation parameters to impl headers | 2017-08-23 | 1 | -13/+28 | ||
| | ||||||
* | Add test for Iron support | 2017-08-23 | 2 | -2/+23 | ||
| | ||||||
* | Optionally implement Iron's Modifier<Response> for templates | 2017-08-23 | 4 | -0/+25 | ||
| | ||||||
* | Forgot to remove debugging cruft, again | 2017-08-23 | 1 | -1/+1 | ||
| | ||||||
* | Adding optional json filter | 2017-08-23 | 7 | -7/+78 | ||
| | ||||||
* | Add test for basic macro use | 2017-08-22 | 2 | -0/+21 | ||
| | ||||||
* | Add support for calling macros | 2017-08-22 | 2 | -13/+44 | ||
| | ||||||
* | Refactor parser handling of arguments | 2017-08-22 | 1 | -21/+19 | ||
| | ||||||
* | Implement support for macro definition handling | 2017-08-22 | 2 | -8/+59 | ||
| | ||||||
* | Rename method call internals for clarity | 2017-08-22 | 2 | -5/+5 | ||
| | ||||||
* | Change filters to return Result | 2017-08-21 | 2 | -25/+29 | ||
| | ||||||
* | Change one test case to use source attribute | 2017-08-16 | 1 | -1/+1 | ||
| | ||||||
* | Support specifying template source as an attribute | 2017-08-16 | 1 | -11/+29 | ||
| | ||||||
* | Pass path to code generation as Path | 2017-08-16 | 2 | -10/+8 | ||
| | ||||||
* | Change find_template_from_path() to take Path as start_at argument | 2017-08-16 | 2 | -7/+7 | ||
| | ||||||
* | Simplify relative path handling in find_template_from_path() | 2017-08-16 | 1 | -10/+7 | ||
| | ||||||
* | Use reference into AST for template path instead of cloning | 2017-08-16 | 1 | -4/+4 | ||
| | ||||||
* | Use enum for print option value | 2017-08-16 | 1 | -5/+26 | ||
| | ||||||
* | Add test for variable declaration | 2017-08-16 | 2 | -0/+21 | ||
| | ||||||
* | Allow separation of variable declaration and defintion | 2017-08-16 | 2 | -4/+27 | ||
| | ||||||
* | Add test for let blocks | 2017-08-15 | 2 | -0/+17 | ||
| | ||||||
* | Add support for simple variable definition statements | 2017-08-14 | 2 | -0/+27 | ||
| | ||||||
* | Introduce and clean up scopes where necessary | 2017-08-14 | 1 | -0/+6 | ||
| | ||||||
* | Assert invariant for SetChain implementation | 2017-08-14 | 1 | -0/+1 | ||
| | ||||||
* | Use error-chain to create a crate-specific Error type | 2017-08-14 | 3 | -4/+14 | ||
| | ||||||
* | Remove Cargo.lock | 2017-08-14 | 1 | -80/+0 | ||
| | | | | Apparently library crates generally don't include this in their repositories. | |||||
* | Define type askama::Result to use for all rendering methods | 2017-08-14 | 2 | -9/+11 | ||
| | ||||||
* | Generate with full path to Result | 2017-08-13 | 1 | -7/+7 | ||
| | ||||||
* | Inline scope tracking abstraction again | 2017-08-10 | 1 | -24/+6 | ||
| | ||||||
* | Keep better track of nested scope through scope chains | 2017-08-10 | 1 | -17/+50 | ||
| | ||||||
* | Replace unwrap() with expect() call for parent type finding | 2017-08-10 | 1 | -1/+3 | ||
| |