aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-07-20Fix additional clippy issueLibravatar Dirkjan Ochtman1-1/+1
2020-07-20Clean up clippy issuesLibravatar Dirkjan Ochtman1-2/+1
2020-06-30Add tests for allow whitespaces patchLibravatar Ciprian Dorin Craciun1-0/+63
2020-01-29Move Iron integration into a separate askama_iron crateLibravatar Dirkjan Ochtman1-1/+0
2020-01-12Add new templatesLibravatar Dirkjan Ochtman2-0/+6
2020-01-12Support escaping in string literalsLibravatar Tuomas Siipola1-0/+2
Do not attempt to parse escape sequences thoroughly. Instead let the Rust compiler to check the string literals and provide nice error messages if necessary.
2020-01-03Support char literalsLibravatar Tuomas Siipola2-0/+9
2019-10-09Reformat test for better readabilityLibravatar Dirkjan Ochtman1-15/+3
2019-10-09Limit test sensitivity to macro pretty printing outputLibravatar Dirkjan Ochtman1-14/+3
See https://github.com/rust-lang/rust/issues/65207.
2019-10-08Add support for boolean literalsLibravatar Dave Poulter1-0/+2
2019-04-18WIP: Add raw blockLibravatar Pavel Fokin2-0/+8
2019-03-18Move small templates into source codeLibravatar Dirkjan Ochtman2-4/+0
2019-03-18Documenting feature render in templateLibravatar Vicente Ramirez Perea3-0/+10
2019-01-08Add support for loop.lastLibravatar yossyJ2-2/+2
2019-01-08Allow trailing commas in tuples (#188)Libravatar yossyJ1-1/+1
2019-01-04Add support for tupleLibravatar yossyJ2-0/+4
2018-12-13fix rust macro argumentsLibravatar Juan Aguilar Santillana1-0/+26
2018-12-12Allow using brackets for enums in `match`Libravatar mcarton1-2/+2
2018-10-20Add test for unescaped variable expressions (see #132)Libravatar Qian Linfeng1-0/+5
2018-10-08Clean up warning about unused fieldLibravatar Dirkjan Ochtman1-1/+1
2018-10-07Add Rust macro support at templatesLibravatar bott1-0/+1
2018-09-21fix panicked on range-based for loopLibravatar bott1-0/+15
2018-09-14Fix operator preference at loop.indexLibravatar bott1-1/+1
2018-09-14Fix operator preference at loop.firstLibravatar bott1-0/+3
2018-09-07Fix deep nested imports in macro callsLibravatar bott3-2/+8
2018-09-02Fix multiple nesting in macro calls into different scopesLibravatar bott1-2/+6
2018-09-02Add test for nested macro calls into different scopeLibravatar bott2-0/+9
2018-06-28Add benchmarks to the Askama repoLibravatar Dirkjan Ochtman2-0/+20
2018-06-25Add test for 'loop.first' variableLibravatar Dirkjan Ochtman1-1/+1
2018-06-23Add test for range operatorsLibravatar Dirkjan Ochtman1-0/+5
2018-06-22Add test for 'super' macroLibravatar Dirkjan Ochtman1-0/+1
2018-06-22Add test for deep inheritanceLibravatar Dirkjan Ochtman3-0/+43
2018-05-21Forgot to add new test templatesLibravatar Dirkjan Ochtman2-0/+8
2018-04-12Handle a lack of whitespace after match block (fixes #76)Libravatar Dirkjan Ochtman1-0/+1
2018-04-02Fix whitespace handling for include blocks (fixes #69)Libravatar Dirkjan Ochtman1-1/+1
2018-01-19infer Content-type from the file extension for iron integrationLibravatar Hajime Fukuda1-0/+1
2017-11-02Support matching custom enumsLibravatar Anthony Nowell1-0/+8
2017-11-02Make match ref/deref as neededLibravatar Anthony Nowell1-0/+6
Much of this can be yanked out and made simpler when match-modes lands in stable
2017-11-02support literals in match armsLibravatar Anthony Nowell2-0/+10
2017-11-02implement basic match functionalityLibravatar Anthony Nowell1-0/+6
2017-10-15Add scope when importing macrosLibravatar Lars Erik Rosengren1-2/+2
2017-10-01Fix whitespace handling for macros and imports (#55)Libravatar larros2-6/+16
Resolves https://github.com/djc/askama/issues/52. * Fix of review comments
2017-09-26Add support for importing template files with macros (#51)Libravatar larros1-0/+2
* Fix review comments for macro imports
2017-09-10Add support for tuple indexing in templatesLibravatar Lars Erik Rosengren1-0/+1
2017-09-03Changed implementation of precedence rulesLibravatar Lars Erik Rosengren1-0/+7
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-02Add `join` filter & tests for itLibravatar defyrlt1-0/+1
2017-08-25Add test for parent default block implementationsLibravatar Bastien Orivel1-0/+1
2017-08-24Allow {% block name %} {% endblock name %}Libravatar Bastien Orivel1-1/+1
This makes converting an app from tera to askama easier.
2017-08-23Adding optional json filterLibravatar Anthony Nowell1-1/+4
2017-08-22Add test for basic macro useLibravatar Dirkjan Ochtman1-0/+5