aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-02-22Added var and path parser testsLibravatar vallentin1-1/+72
2021-02-22Fixed path parser to account for single identifier type namesLibravatar vallentin1-7/+23
2021-02-22Removed needless borrow of rangeLibravatar vallentin1-0/+1
2021-02-15Rename askama_actix trait method as suggested by clippyLibravatar Dirkjan Ochtman1-2/+2
By bumping the dependency versions for askama and askama_shared, this should be safe.
2021-02-15Fix formatting for rust 1.50.0Libravatar Dirkjan Ochtman1-4/+6
2021-02-01Bring Ws type name in line with API guidelinesLibravatar Dirkjan Ochtman2-84/+84
2021-01-22Apply suggestions from nightly clippyLibravatar Dirkjan Ochtman1-4/+2
2021-01-13Fixed constants (fixes #291)Libravatar vallentin1-2/+5
2021-01-06Added urlencode filter to bookLibravatar vallentin1-5/+5
2021-01-06Improved comment parsing testLibravatar vallentin1-0/+18
2021-01-06Fixed comment parsingLibravatar vallentin1-7/+1
2021-01-05Removed implicit borrowing of literals, calls, and more (fixes #404)Libravatar vallentin5-55/+105
2021-01-05Added numbers parser testLibravatar vallentin1-0/+13
2021-01-05Fixed parsing floatsLibravatar vallentin1-2/+4
2021-01-05Improved filter parsing testLibravatar vallentin1-1/+35
2021-01-05Fixed precedence of filters and unary operators (fixes #424)Libravatar vallentin1-3/+3
2021-01-01Resolved Clippy lintsLibravatar vallentin1-10/+10
2020-12-30Added tojson aliasLibravatar vallentin1-1/+5
2020-12-29Fixed yaml filter generationLibravatar vallentin1-1/+1
2020-12-29Refactored into filters constantLibravatar vallentin1-8/+6
2020-12-29Added error to hint enabling serde featuresLibravatar vallentin1-0/+9
2020-12-25Added support for redefining variables (fixes #329)Libravatar vallentin1-5/+34
2020-12-21Improved implicit borrowing and changed to resolve Askama variables at ↵Libravatar vallentin1-49/+127
compile time
2020-12-21Remove an explicit lifetime to fix a clippy warningLibravatar Randati1-1/+1
2020-12-18Added comment parser testsLibravatar vallentin1-0/+17
2020-12-18Added support for nested commentsLibravatar vallentin1-4/+22
2020-12-16Added set alias for letLibravatar vallentin1-1/+1
2020-12-16Improved template loop generation (fixes #107, #333)Libravatar vallentin1-1/+19
2020-12-12Fixed whitespace issue when generating match (#399)Libravatar Christian Vallentin3-23/+28
* Fixed #397 * Updated parser to ignore whitespace between match and when * Updated test cases * Updated Python script to generate match ws tests * Added match ws tests * Resolved rustfmt lint
2020-12-03Fixed whitespace issue when generating if statement (#394)Libravatar Christian Vallentin1-5/+6
* Fixed #377
2020-12-02Allow paths to start with `::` (#393)Libravatar Christian Vallentin1-4/+25
2020-12-01Improved if statement generation to avoid issues with implicit borrows (#392)Libravatar Christian Vallentin1-0/+7
* Changed to automatically coerce to bool * Added new test case * Updated test case to include else if
2020-12-01Fixed parsing precedence and associativity (#391)Libravatar Christian Vallentin1-33/+173
2020-12-01Fixed implicit borrow of expressions (#390)Libravatar Christian Vallentin1-2/+3
2020-11-19Adapt to changed mendes APILibravatar Dirkjan Ochtman1-2/+2
2020-11-16Fix urlencode to be usable for URL segments and query keys/values (#384)Libravatar Jakub Valtar1-30/+88
2020-11-13Correctly scope macro argument name bindings (fixes #382)Libravatar Dirkjan Ochtman1-3/+12
2020-11-02Improve error handling (see #368)Libravatar Dirkjan Ochtman5-418/+554
2020-11-02Apply clippy suggestionsLibravatar Dirkjan Ochtman1-2/+2
2020-11-02Upgrade to nom 6Libravatar Dirkjan Ochtman1-36/+37
2020-09-16fix into_f64 and into_isizeLibravatar Yuxuan Shui1-13/+13
askama passes references to the filters (e.g. &f64), and &f64 doesn't implement NumCast, only f64 does. So, the filters should take &T instead of T. Fixes #357 Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2020-08-25Use unstable sort for size median calculationLibravatar Dirkjan Ochtman1-1/+1
2020-07-28Add mendes integrationLibravatar Dirkjan Ochtman2-0/+52
2020-07-28Use modern dyn syntax to prevent warningsLibravatar Dirkjan Ochtman1-1/+1
2020-07-23Point to relevant book chapter from the filters module docsLibravatar Dirkjan Ochtman1-2/+2
2020-07-20Clean up clippy issuesLibravatar Dirkjan Ochtman1-8/+7
2020-07-14Add fmt filter that swaps the first two arguments to format!().Libravatar Andrew Dona-Couch2-1/+41
This allows a more natural filter usage: `{{ val | fmt("{:?}") }}` as well as enabling convenient filter composition: `{{ price | to_f64 | fmt("${:.2}") | center }}`
2020-07-14alphabetize frameworksLibravatar Jacob Rothstein2-57/+58
2020-07-14askama tideLibravatar Jacob Rothstein2-0/+30
2020-06-30Add support for more whitespace positions within expressions:Libravatar Ciprian Dorin Craciun1-11/+20
* in function calls: `x ( 1 , 2 )`; * in path elements: `module :: element`; * in attributes: `x . y . z`; * in filter arguments: `x| filter ( 1 , 2 )`; * before unary operators: `! false` and `- 42`; * in grouped expressions: `( 1 + 2 )`; * also allow more than a single whitespace; Change some tests to include whitespaces in various positions.