Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Tighten up parser code for path expressions | 2017-10-20 | 1 | -4/+2 | ||
| | ||||||
* | Add support for array literals (fixes #59) | 2017-10-20 | 2 | -0/+31 | ||
| | ||||||
* | Add some whitespace to write_call() | 2017-10-15 | 1 | -0/+3 | ||
| | ||||||
* | Wrap some overly long lines | 2017-10-15 | 1 | -2/+5 | ||
| | ||||||
* | Add scope when importing macros | 2017-10-15 | 3 | -24/+39 | ||
| | ||||||
* | Remove spurious call to dedent() | 2017-10-14 | 1 | -1/+0 | ||
| | ||||||
* | Add panic to make sure indentation mismatches are detected | 2017-10-14 | 1 | -0/+3 | ||
| | ||||||
* | Handle path expressions (fixes #56) | 2017-10-04 | 2 | -0/+29 | ||
| | ||||||
* | Add a clarifying comment about whitespace in write_call() | 2017-10-01 | 1 | -1/+1 | ||
| | ||||||
* | Add comment explaining why Extends doesn't need whitespace handling | 2017-10-01 | 1 | -0/+2 | ||
| | ||||||
* | Fix whitespace handling for macros and imports (#55) | 2017-10-01 | 1 | -4/+16 | ||
| | | | | | | Resolves https://github.com/djc/askama/issues/52. * Fix of review comments | |||||
* | Rename parse() method to macro_map() | 2017-09-26 | 1 | -1/+1 | ||
| | ||||||
* | Improve code compactness | 2017-09-26 | 1 | -5/+2 | ||
| | ||||||
* | Insert macro parameter into locals after defining it (fixes #53) | 2017-09-26 | 1 | -1/+1 | ||
| | ||||||
* | Add support for importing template files with macros (#51) | 2017-09-26 | 3 | -4/+62 | ||
| | | | | * Fix review comments for macro imports | |||||
* | Add support for tuple indexing in templates | 2017-09-10 | 1 | -3/+7 | ||
| | ||||||
* | Rename and document top-level Generator::build() method | 2017-09-07 | 1 | -2/+3 | ||
| | ||||||
* | Reorder methods in Generator to aid readability | 2017-09-07 | 1 | -450/+450 | ||
| | ||||||
* | Rewrite escapable() to prevent duplication | 2017-09-07 | 1 | -3/+6 | ||
| | ||||||
* | Extend escaping according to OWASP recommendations | 2017-09-07 | 1 | -2/+5 | ||
| | ||||||
* | Return MarkupDisplay from json filter | 2017-09-07 | 2 | -6/+11 | ||
| | ||||||
* | Infer escaping mode based on template extension | 2017-09-07 | 1 | -3/+21 | ||
| | ||||||
* | Refactor creation of TemplateMeta value | 2017-09-07 | 1 | -13/+9 | ||
| | ||||||
* | Make ext attribute mandatory for source-specified templates | 2017-09-07 | 1 | -4/+8 | ||
| | ||||||
* | Code cleanups as suggested by Clippy | 2017-09-06 | 4 | -30/+30 | ||
| | ||||||
* | Decrease coupling with Rocket in generated code | 2017-09-06 | 1 | -10/+2 | ||
| | ||||||
* | Allow setting an extension with source attributes | 2017-09-06 | 1 | -2/+22 | ||
| | ||||||
* | Make path and source attributes mutually exclusive | 2017-09-06 | 1 | -0/+6 | ||
| | ||||||
* | Add panics during code generation for unsupported cases | 2017-09-06 | 1 | -9/+21 | ||
| | ||||||
* | Allow includes to use relative paths | 2017-09-05 | 1 | -1/+1 | ||
| | ||||||
* | Refactor type handling for attribute parameters | 2017-09-05 | 1 | -8/+8 | ||
| | ||||||
* | Introduce attribute parameter to disable escaping | 2017-09-05 | 2 | -6/+34 | ||
| | ||||||
* | Move knowledge of what to generate into Generator | 2017-09-05 | 1 | -30/+25 | ||
| | ||||||
* | Extract generator::State type to clarify structure | 2017-09-05 | 2 | -98/+120 | ||
| | ||||||
* | Move TemplateInput and related code into separate module | 2017-09-05 | 2 | -104/+110 | ||
| | ||||||
* | Create new TemplateInput abstraction | 2017-09-05 | 1 | -13/+27 | ||
| | ||||||
* | Create better abstraction around TemplateMeta type | 2017-09-05 | 1 | -48/+48 | ||
| | ||||||
* | Pass AST to code generator as reference | 2017-09-05 | 2 | -2/+2 | ||
| | ||||||
* | Stop mutating parsed AST for code generation | 2017-09-05 | 2 | -26/+20 | ||
| | ||||||
* | Refactor code generation for block definitions | 2017-09-05 | 1 | -21/+24 | ||
| | ||||||
* | Refactor handling of macros | 2017-09-05 | 2 | -16/+26 | ||
| | ||||||
* | Move tightly coupled code from derive to shared crate | 2017-09-05 | 1 | -2/+111 | ||
| | ||||||
* | Raise 500 error instead of unwrapping in Rocket Responder impl | 2017-09-05 | 1 | -3/+7 | ||
| | ||||||
* | Remove warning, since BUILT_IN_FILTERS is now in the same module | 2017-09-05 | 1 | -2/+0 | ||
| | ||||||
* | Escape all strings with character entities by default (fixes #23) | 2017-09-04 | 4 | -21/+107 | ||
| | ||||||
* | Move escaping algorithm into a separate module | 2017-09-04 | 3 | -43/+54 | ||
| | ||||||
* | Move filter list closer to the actual filters, add docs | 2017-09-04 | 2 | -13/+19 | ||
| | ||||||
* | 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 | 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. |