Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Update dependency on error-chain to 0.11 | Dirkjan Ochtman | 2017-09-06 | 1 | -1/+1 | |
| | ||||||
* | Add package metadata for new askama_shared crate | Dirkjan Ochtman | 2017-09-06 | 1 | -0/+4 | |
| | ||||||
* | Add badge for Gitter chat to README | Dirkjan Ochtman | 2017-09-06 | 1 | -0/+1 | |
| | ||||||
* | Decrease coupling with Rocket in generated code | Dirkjan Ochtman | 2017-09-06 | 2 | -13/+18 | |
| | ||||||
* | Add documentation on optional features | Dirkjan Ochtman | 2017-09-06 | 1 | -0/+32 | |
| | ||||||
* | Allow setting an extension with source attributes | Dirkjan Ochtman | 2017-09-06 | 2 | -2/+24 | |
| | ||||||
* | Make path and source attributes mutually exclusive | Dirkjan Ochtman | 2017-09-06 | 2 | -2/+8 | |
| | ||||||
* | Tighten up and expand documentation on variables | Dirkjan Ochtman | 2017-09-06 | 1 | -4/+2 | |
| | ||||||
* | Cover all template() attribute options | Dirkjan Ochtman | 2017-09-06 | 1 | -0/+26 | |
| | ||||||
* | Slightly extend introduction to creating templates | Dirkjan Ochtman | 2017-09-06 | 1 | -3/+4 | |
| | ||||||
* | Strip documentation intro that duplicates the README | Dirkjan Ochtman | 2017-09-06 | 1 | -24/+2 | |
| | ||||||
* | Update feature highlights in documentation | Dirkjan Ochtman | 2017-09-06 | 1 | -2/+2 | |
| | ||||||
* | Minor documentation updates | Dirkjan Ochtman | 2017-09-06 | 1 | -4/+9 | |
| | ||||||
* | Bump version number to 0.4.0 | Dirkjan Ochtman | 2017-09-06 | 3 | -6/+6 | |
| | ||||||
* | Reflow line | Dirkjan Ochtman | 2017-09-06 | 1 | -2/+1 | |
| | ||||||
* | Add and update feature highlights and limitations | Dirkjan Ochtman | 2017-09-06 | 1 | -4/+7 | |
| | ||||||
* | Add panics during code generation for unsupported cases | Dirkjan Ochtman | 2017-09-06 | 1 | -9/+21 | |
| | ||||||
* | Allow includes to use relative paths | Dirkjan Ochtman | 2017-09-05 | 1 | -1/+1 | |
| | ||||||
* | Refactor type handling for attribute parameters | Dirkjan Ochtman | 2017-09-05 | 1 | -8/+8 | |
| | ||||||
* | Add some tests for escaping functionality | Dirkjan Ochtman | 2017-09-05 | 1 | -0/+39 | |
| | ||||||
* | Introduce attribute parameter to disable escaping | Dirkjan Ochtman | 2017-09-05 | 2 | -6/+34 | |
| | ||||||
* | Move knowledge of what to generate into Generator | Dirkjan Ochtman | 2017-09-05 | 1 | -30/+25 | |
| | ||||||
* | Extract generator::State type to clarify structure | Dirkjan Ochtman | 2017-09-05 | 2 | -98/+120 | |
| | ||||||
* | Move TemplateInput and related code into separate module | Dirkjan Ochtman | 2017-09-05 | 2 | -104/+110 | |
| | ||||||
* | Create new TemplateInput abstraction | Dirkjan Ochtman | 2017-09-05 | 1 | -13/+27 | |
| | ||||||
* | Create better abstraction around TemplateMeta type | Dirkjan Ochtman | 2017-09-05 | 1 | -48/+48 | |
| | ||||||
* | Pass AST to code generator as reference | Dirkjan Ochtman | 2017-09-05 | 2 | -2/+2 | |
| | ||||||
* | Stop mutating parsed AST for code generation | Dirkjan Ochtman | 2017-09-05 | 2 | -26/+20 | |
| | ||||||
* | Refactor code generation for block definitions | Dirkjan Ochtman | 2017-09-05 | 1 | -21/+24 | |
| | ||||||
* | Refactor handling of macros | Dirkjan Ochtman | 2017-09-05 | 2 | -16/+26 | |
| | ||||||
* | Move tightly coupled code from derive to shared crate | Dirkjan Ochtman | 2017-09-05 | 2 | -113/+112 | |
| | ||||||
* | Raise 500 error instead of unwrapping in Rocket Responder impl | Dirkjan Ochtman | 2017-09-05 | 1 | -3/+7 | |
| | ||||||
* | Remove warning, since BUILT_IN_FILTERS is now in the same module | Dirkjan Ochtman | 2017-09-05 | 1 | -2/+0 | |
| | ||||||
* | Escape all strings with character entities by default (fixes #23) | Dirkjan Ochtman | 2017-09-04 | 5 | -22/+108 | |
| | ||||||
* | 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 | |
| | ||||||
* | Moved precedence test into operators module | Dirkjan Ochtman | 2017-09-04 | 2 | -15/+11 | |
| | ||||||
* | 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 | 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 | defyrlt | 2017-09-02 | 4 | -0/+97 | |
| | ||||||
* | Refactor `visit_filter` to allow easier customization | defyrlt | 2017-09-02 | 1 | -11/+21 | |
| | ||||||
* | Export Error type | Anthony Nowell | 2017-08-29 | 2 | -2/+2 | |
| | ||||||
* | Move most of the code into new askama_shared crate | Dirkjan Ochtman | 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 | Bastien Orivel | 2017-08-25 | 2 | -2/+3 | |
| | ||||||
* | Use block implementations in parent as defaults in trait | Dirkjan Ochtman | 2017-08-25 | 1 | -11/+3 | |
| | ||||||
* | Add `unwrap()` to the hello world example in README | defyrlt | 2017-08-25 | 1 | -1/+1 | |
| | ||||||
* | Simplify Rocket test slightly | Dirkjan Ochtman | 2017-08-24 | 1 | -1/+1 | |
| | ||||||
* | Allow {% block name %} {% endblock name %} | Bastien Orivel | 2017-08-24 | 2 | -1/+2 | |
| | | | | This makes converting an app from tera to askama easier. | |||||
* | Add test case for user-defined filters | Dirkjan Ochtman | 2017-08-24 | 1 | -0/+19 | |
| |