Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2017-09-26 | Rename parse() method to macro_map() | Dirkjan Ochtman | 1 | -1/+1 | |
2017-09-26 | Improve code compactness | Dirkjan Ochtman | 1 | -5/+2 | |
2017-09-26 | Insert macro parameter into locals after defining it (fixes #53) | Dirkjan Ochtman | 1 | -1/+1 | |
2017-09-26 | Add support for importing template files with macros (#51) | larros | 3 | -4/+62 | |
* Fix review comments for macro imports | |||||
2017-09-10 | Add support for tuple indexing in templates | Lars Erik Rosengren | 1 | -3/+7 | |
2017-09-07 | Rename and document top-level Generator::build() method | Dirkjan Ochtman | 1 | -2/+3 | |
2017-09-07 | Reorder methods in Generator to aid readability | Dirkjan Ochtman | 1 | -450/+450 | |
2017-09-07 | Rewrite escapable() to prevent duplication | Dirkjan Ochtman | 1 | -3/+6 | |
2017-09-07 | Extend escaping according to OWASP recommendations | Dirkjan Ochtman | 1 | -2/+5 | |
2017-09-07 | Return MarkupDisplay from json filter | Dirkjan Ochtman | 2 | -6/+11 | |
2017-09-07 | Infer escaping mode based on template extension | Dirkjan Ochtman | 1 | -3/+21 | |
2017-09-07 | Refactor creation of TemplateMeta value | Dirkjan Ochtman | 1 | -13/+9 | |
2017-09-07 | Make ext attribute mandatory for source-specified templates | Dirkjan Ochtman | 1 | -4/+8 | |
2017-09-06 | Code cleanups as suggested by Clippy | Dirkjan Ochtman | 4 | -30/+30 | |
2017-09-06 | Decrease coupling with Rocket in generated code | Dirkjan Ochtman | 1 | -10/+2 | |
2017-09-06 | Allow setting an extension with source attributes | Dirkjan Ochtman | 1 | -2/+22 | |
2017-09-06 | Make path and source attributes mutually exclusive | Dirkjan Ochtman | 1 | -0/+6 | |
2017-09-06 | Add panics during code generation for unsupported cases | Dirkjan Ochtman | 1 | -9/+21 | |
2017-09-05 | Allow includes to use relative paths | Dirkjan Ochtman | 1 | -1/+1 | |
2017-09-05 | Refactor type handling for attribute parameters | Dirkjan Ochtman | 1 | -8/+8 | |
2017-09-05 | Introduce attribute parameter to disable escaping | Dirkjan Ochtman | 2 | -6/+34 | |
2017-09-05 | Move knowledge of what to generate into Generator | Dirkjan Ochtman | 1 | -30/+25 | |
2017-09-05 | Extract generator::State type to clarify structure | Dirkjan Ochtman | 2 | -98/+120 | |
2017-09-05 | Move TemplateInput and related code into separate module | Dirkjan Ochtman | 2 | -104/+110 | |
2017-09-05 | Create new TemplateInput abstraction | Dirkjan Ochtman | 1 | -13/+27 | |
2017-09-05 | Create better abstraction around TemplateMeta type | Dirkjan Ochtman | 1 | -48/+48 | |
2017-09-05 | Pass AST to code generator as reference | Dirkjan Ochtman | 2 | -2/+2 | |
2017-09-05 | Stop mutating parsed AST for code generation | Dirkjan Ochtman | 2 | -26/+20 | |
2017-09-05 | Refactor code generation for block definitions | Dirkjan Ochtman | 1 | -21/+24 | |
2017-09-05 | Refactor handling of macros | Dirkjan Ochtman | 2 | -16/+26 | |
2017-09-05 | Move tightly coupled code from derive to shared crate | Dirkjan Ochtman | 1 | -2/+111 | |
2017-09-05 | Raise 500 error instead of unwrapping in Rocket Responder impl | Dirkjan Ochtman | 1 | -3/+7 | |
2017-09-05 | Remove warning, since BUILT_IN_FILTERS is now in the same module | Dirkjan Ochtman | 1 | -2/+0 | |
2017-09-04 | Escape all strings with character entities by default (fixes #23) | Dirkjan Ochtman | 4 | -21/+107 | |
2017-09-04 | Move escaping algorithm into a separate module | Dirkjan Ochtman | 3 | -43/+54 | |
2017-09-04 | Move filter list closer to the actual filters, add docs | Dirkjan Ochtman | 2 | -13/+19 | |
2017-09-04 | Clean up and tighten faster version of expr_prec_layer macro | Dirkjan Ochtman | 1 | -15/+10 | |
2017-09-04 | Tighten up code for join filter handling | Dirkjan Ochtman | 1 | -8/+1 | |
2017-09-03 | Changed implementation of precedence rules | Lars Erik Rosengren | 1 | -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. | |||||
2017-09-02 | Add `join` filter & tests for it | defyrlt | 2 | -0/+71 | |
2017-09-02 | Refactor `visit_filter` to allow easier customization | defyrlt | 1 | -11/+21 | |
2017-08-29 | Export Error type | Anthony Nowell | 1 | -1/+1 | |
2017-08-27 | Move most of the code into new askama_shared crate | Dirkjan Ochtman | 6 | -0/+1460 | |
This makes it possible to share code between askama and askama_derive. |