aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Support matching custom enumsLibravatar Anthony Nowell2017-11-021-0/+8
|
* Make match ref/deref as neededLibravatar Anthony Nowell2017-11-021-0/+6
| | | | | Much of this can be yanked out and made simpler when match-modes lands in stable
* support literals in match armsLibravatar Anthony Nowell2017-11-022-0/+10
|
* implement basic match functionalityLibravatar Anthony Nowell2017-11-021-0/+6
|
* Add scope when importing macrosLibravatar Lars Erik Rosengren2017-10-151-2/+2
|
* Fix whitespace handling for macros and imports (#55)Libravatar larros2017-10-012-6/+16
| | | | | | Resolves https://github.com/djc/askama/issues/52. * Fix of review comments
* Add support for importing template files with macros (#51)Libravatar larros2017-09-261-0/+2
| | | | * Fix review comments for macro imports
* Add support for tuple indexing in templatesLibravatar Lars Erik Rosengren2017-09-101-0/+1
|
* Changed implementation of precedence rulesLibravatar Lars Erik Rosengren2017-09-031-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.
* Add `join` filter & tests for itLibravatar defyrlt2017-09-021-0/+1
|
* Add test for parent default block implementationsLibravatar Bastien Orivel2017-08-251-0/+1
|
* Allow {% block name %} {% endblock name %}Libravatar Bastien Orivel2017-08-241-1/+1
| | | | This makes converting an app from tera to askama easier.
* Adding optional json filterLibravatar Anthony Nowell2017-08-231-1/+4
|
* Add test for basic macro useLibravatar Dirkjan Ochtman2017-08-221-0/+5
|
* Add test for variable declarationLibravatar Dirkjan Ochtman2017-08-161-0/+7
|
* Add test for let blocksLibravatar Dirkjan Ochtman2017-08-151-0/+1
|
* Add README example as a test caseLibravatar Dirkjan Ochtman2017-08-101-0/+1
|
* Forgot to commit test templateLibravatar Dirkjan Ochtman2017-08-101-0/+1
|
* Add test for deref implementation (see #28)Libravatar Dirkjan Ochtman2017-08-081-1/+1
|
* Add test for include blocks (see #25)Libravatar Dirkjan Ochtman2017-08-042-0/+4
|
* Merge changesLibravatar Dirkjan Ochtman2017-08-021-0/+1
|\
| * Add test for basic chained attributesLibravatar Dirkjan Ochtman2017-05-261-0/+1
| |
* | Add test that starts with a single brace (see #24)Libravatar Dirkjan Ochtman2017-08-021-0/+1
|/
* Add missing template for test_genericsLibravatar Dirkjan Ochtman2017-03-081-0/+1
|
* Add test for nested loops and loops over slices (see #6, #7, #9)Libravatar Dirkjan Ochtman2017-03-071-0/+6
|
* Add test for commentsLibravatar Dirkjan Ochtman2017-03-031-0/+1
|
* Add test for parenthesized expressionsLibravatar Dirkjan Ochtman2017-03-031-1/+1
|
* Add basic test for loop variablesLibravatar Dirkjan Ochtman2017-02-191-1/+1
|
* Add test for handling Option types (with method calls)Libravatar Dirkjan Ochtman2017-02-181-0/+5
|
* Add test for format filterLibravatar Dirkjan Ochtman2017-02-181-0/+1
|
* Add test for attribute supportLibravatar Dirkjan Ochtman2017-02-181-0/+1
|
* Add support for integer literalsLibravatar Dirkjan Ochtman2017-02-171-1/+1
|
* Add test template (forgotten in 1121af3dd0)Libravatar Dirkjan Ochtman2017-02-171-0/+48
|
* Add tests for more binary operatorsLibravatar Dirkjan Ochtman2017-02-171-0/+24
|
* Split comparison tests from other operatorsLibravatar Dirkjan Ochtman2017-02-171-51/+3
|
* Implement support for mul, div, mod operatorsLibravatar Dirkjan Ochtman2017-02-131-0/+9
|
* Rename comparison tests to be about any operatorsLibravatar Dirkjan Ochtman2017-02-131-0/+0
|
* Test support for variables in inherited templatesLibravatar Dirkjan Ochtman2017-02-121-0/+1
|
* Fix some bugs in whitespace handlingLibravatar Dirkjan Ochtman2017-02-081-2/+2
|
* Implement generator support for whitespace handling markersLibravatar Dirkjan Ochtman2017-02-081-6/+48
|
* Implement basic support for template inheritanceLibravatar Dirkjan Ochtman2017-02-052-0/+4
|
* Add test for string literalsLibravatar Dirkjan Ochtman2017-02-051-0/+1
|
* Add tests for all 6 comparison operatorsLibravatar Dirkjan Ochtman2017-02-042-1/+6
|
* Add test for == operatorLibravatar Dirkjan Ochtman2017-02-041-0/+1
|
* Add basic support for loopsLibravatar Dirkjan Ochtman2017-02-041-0/+3
|
* Use 'else if' instead of 'elif' to align more with RustLibravatar Dirkjan Ochtman2017-01-122-1/+1
|
* Add template source code for elif test caseLibravatar Dirkjan Ochtman2017-01-111-0/+1
|
* Add test for else blocksLibravatar Dirkjan Ochtman2017-01-071-0/+1
|
* Add test for simple if-blocksLibravatar Dirkjan Ochtman2017-01-071-0/+1
|
* Add basic test case for filtersLibravatar Dirkjan Ochtman2017-01-061-0/+1
|