aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Handle path expressions (fixes #56)Libravatar Dirkjan Ochtman2017-10-042-0/+29
|
* Add a clarifying comment about whitespace in write_call()Libravatar Dirkjan Ochtman2017-10-011-1/+1
|
* Add comment explaining why Extends doesn't need whitespace handlingLibravatar Dirkjan Ochtman2017-10-011-0/+2
|
* Fix whitespace handling for macros and imports (#55)Libravatar larros2017-10-011-4/+16
| | | | | | Resolves https://github.com/djc/askama/issues/52. * Fix of review comments
* Rename parse() method to macro_map()Libravatar Dirkjan Ochtman2017-09-261-1/+1
|
* Improve code compactnessLibravatar Dirkjan Ochtman2017-09-261-5/+2
|
* Insert macro parameter into locals after defining it (fixes #53)Libravatar Dirkjan Ochtman2017-09-261-1/+1
|
* Add support for importing template files with macros (#51)Libravatar larros2017-09-263-4/+62
| | | | * Fix review comments for macro imports
* Add support for tuple indexing in templatesLibravatar Lars Erik Rosengren2017-09-101-3/+7
|
* Bump version number to 0.5.0Libravatar Dirkjan Ochtman2017-09-071-1/+1
|
* Rename and document top-level Generator::build() methodLibravatar Dirkjan Ochtman2017-09-071-2/+3
|
* Reorder methods in Generator to aid readabilityLibravatar Dirkjan Ochtman2017-09-071-450/+450
|
* Rewrite escapable() to prevent duplicationLibravatar Dirkjan Ochtman2017-09-071-3/+6
|
* Extend escaping according to OWASP recommendationsLibravatar Dirkjan Ochtman2017-09-071-2/+5
|
* Return MarkupDisplay from json filterLibravatar Dirkjan Ochtman2017-09-072-6/+11
|
* Infer escaping mode based on template extensionLibravatar Dirkjan Ochtman2017-09-071-3/+21
|
* Refactor creation of TemplateMeta valueLibravatar Dirkjan Ochtman2017-09-071-13/+9
|
* Make ext attribute mandatory for source-specified templatesLibravatar Dirkjan Ochtman2017-09-071-4/+8
|
* Code cleanups as suggested by ClippyLibravatar Dirkjan Ochtman2017-09-064-30/+30
|
* Update dependency on error-chain to 0.11Libravatar Dirkjan Ochtman2017-09-061-1/+1
|
* Add package metadata for new askama_shared crateLibravatar Dirkjan Ochtman2017-09-061-0/+4
|
* Decrease coupling with Rocket in generated codeLibravatar Dirkjan Ochtman2017-09-061-10/+2
|
* Allow setting an extension with source attributesLibravatar Dirkjan Ochtman2017-09-061-2/+22
|
* Make path and source attributes mutually exclusiveLibravatar Dirkjan Ochtman2017-09-061-0/+6
|
* Bump version number to 0.4.0Libravatar Dirkjan Ochtman2017-09-061-1/+1
|
* Add panics during code generation for unsupported casesLibravatar Dirkjan Ochtman2017-09-061-9/+21
|
* Allow includes to use relative pathsLibravatar Dirkjan Ochtman2017-09-051-1/+1
|
* Refactor type handling for attribute parametersLibravatar Dirkjan Ochtman2017-09-051-8/+8
|
* Introduce attribute parameter to disable escapingLibravatar Dirkjan Ochtman2017-09-052-6/+34
|
* Move knowledge of what to generate into GeneratorLibravatar Dirkjan Ochtman2017-09-051-30/+25
|
* Extract generator::State type to clarify structureLibravatar Dirkjan Ochtman2017-09-052-98/+120
|
* Move TemplateInput and related code into separate moduleLibravatar Dirkjan Ochtman2017-09-052-104/+110
|
* Create new TemplateInput abstractionLibravatar Dirkjan Ochtman2017-09-051-13/+27
|
* Create better abstraction around TemplateMeta typeLibravatar Dirkjan Ochtman2017-09-051-48/+48
|
* Pass AST to code generator as referenceLibravatar Dirkjan Ochtman2017-09-052-2/+2
|
* Stop mutating parsed AST for code generationLibravatar Dirkjan Ochtman2017-09-052-26/+20
|
* Refactor code generation for block definitionsLibravatar Dirkjan Ochtman2017-09-051-21/+24
|
* Refactor handling of macrosLibravatar Dirkjan Ochtman2017-09-052-16/+26
|
* Move tightly coupled code from derive to shared crateLibravatar Dirkjan Ochtman2017-09-051-2/+111
|
* Raise 500 error instead of unwrapping in Rocket Responder implLibravatar Dirkjan Ochtman2017-09-051-3/+7
|
* Remove warning, since BUILT_IN_FILTERS is now in the same moduleLibravatar Dirkjan Ochtman2017-09-051-2/+0
|
* Escape all strings with character entities by default (fixes #23)Libravatar Dirkjan Ochtman2017-09-044-21/+107
|
* Move escaping algorithm into a separate moduleLibravatar Dirkjan Ochtman2017-09-043-43/+54
|
* Move filter list closer to the actual filters, add docsLibravatar Dirkjan Ochtman2017-09-042-13/+19
|
* 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-031-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.
* Add `join` filter & tests for itLibravatar defyrlt2017-09-022-0/+71
|
* Refactor `visit_filter` to allow easier customizationLibravatar defyrlt2017-09-021-11/+21
|
* Export Error typeLibravatar Anthony Nowell2017-08-291-1/+1
|