aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2017-08-16Add test for variable declarationLibravatar Dirkjan Ochtman1-0/+7
2017-08-15Add test for let blocksLibravatar Dirkjan Ochtman1-0/+1
2017-08-10Add README example as a test caseLibravatar Dirkjan Ochtman1-0/+1
2017-08-10Forgot to commit test templateLibravatar Dirkjan Ochtman1-0/+1
2017-08-08Add test for deref implementation (see #28)Libravatar Dirkjan Ochtman1-1/+1
2017-08-04Add test for include blocks (see #25)Libravatar Dirkjan Ochtman2-0/+4
2017-08-02Add test that starts with a single brace (see #24)Libravatar Dirkjan Ochtman1-0/+1
2017-05-26Add test for basic chained attributesLibravatar Dirkjan Ochtman1-0/+1
2017-03-08Add missing template for test_genericsLibravatar Dirkjan Ochtman1-0/+1
2017-03-07Add test for nested loops and loops over slices (see #6, #7, #9)Libravatar Dirkjan Ochtman1-0/+6
2017-03-03Add test for commentsLibravatar Dirkjan Ochtman1-0/+1
2017-03-03Add test for parenthesized expressionsLibravatar Dirkjan Ochtman1-1/+1
2017-02-19Add basic test for loop variablesLibravatar Dirkjan Ochtman1-1/+1
2017-02-18Add test for handling Option types (with method calls)Libravatar Dirkjan Ochtman1-0/+5
2017-02-18Add test for format filterLibravatar Dirkjan Ochtman1-0/+1
2017-02-18Add test for attribute supportLibravatar Dirkjan Ochtman1-0/+1
2017-02-17Add support for integer literalsLibravatar Dirkjan Ochtman1-1/+1
2017-02-17Add test template (forgotten in 1121af3dd0)Libravatar Dirkjan Ochtman1-0/+48
2017-02-17Add tests for more binary operatorsLibravatar Dirkjan Ochtman1-0/+24
2017-02-17Split comparison tests from other operatorsLibravatar Dirkjan Ochtman1-51/+3
2017-02-13Implement support for mul, div, mod operatorsLibravatar Dirkjan Ochtman1-0/+9
2017-02-13Rename comparison tests to be about any operatorsLibravatar Dirkjan Ochtman1-0/+0
2017-02-12Test support for variables in inherited templatesLibravatar Dirkjan Ochtman1-0/+1
2017-02-08Fix some bugs in whitespace handlingLibravatar Dirkjan Ochtman1-2/+2
2017-02-08Implement generator support for whitespace handling markersLibravatar Dirkjan Ochtman1-6/+48
2017-02-05Implement basic support for template inheritanceLibravatar Dirkjan Ochtman2-0/+4
2017-02-05Add test for string literalsLibravatar Dirkjan Ochtman1-0/+1
2017-02-04Add tests for all 6 comparison operatorsLibravatar Dirkjan Ochtman2-1/+6
2017-02-04Add test for == operatorLibravatar Dirkjan Ochtman1-0/+1
2017-02-04Add basic support for loopsLibravatar Dirkjan Ochtman1-0/+3
2017-01-12Use 'else if' instead of 'elif' to align more with RustLibravatar Dirkjan Ochtman2-1/+1
2017-01-11Add template source code for elif test caseLibravatar Dirkjan Ochtman1-0/+1
2017-01-07Add test for else blocksLibravatar Dirkjan Ochtman1-0/+1
2017-01-07Add test for simple if-blocksLibravatar Dirkjan Ochtman1-0/+1
2017-01-06Add basic test case for filtersLibravatar Dirkjan Ochtman1-0/+1
2017-01-03Rename askama_test to testingLibravatar Dirkjan Ochtman1-0/+4