Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-12-16 | Added set alias for let | vallentin | 1 | -1/+1 | |
2020-12-16 | Improved template loop generation (fixes #107, #333) | vallentin | 1 | -1/+19 | |
2020-12-12 | Fixed whitespace issue when generating match (#399) | Christian Vallentin | 3 | -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-03 | Fixed whitespace issue when generating if statement (#394) | Christian Vallentin | 1 | -5/+6 | |
* Fixed #377 | |||||
2020-12-02 | Allow paths to start with `::` (#393) | Christian Vallentin | 1 | -4/+25 | |
2020-12-01 | Improved if statement generation to avoid issues with implicit borrows (#392) | Christian Vallentin | 1 | -0/+7 | |
* Changed to automatically coerce to bool * Added new test case * Updated test case to include else if | |||||
2020-12-01 | Fixed parsing precedence and associativity (#391) | Christian Vallentin | 1 | -33/+173 | |
2020-12-01 | Fixed implicit borrow of expressions (#390) | Christian Vallentin | 1 | -2/+3 | |
2020-11-19 | Adapt to changed mendes API | Dirkjan Ochtman | 1 | -2/+2 | |
2020-11-16 | Fix urlencode to be usable for URL segments and query keys/values (#384) | Jakub Valtar | 1 | -30/+88 | |
2020-11-13 | Correctly scope macro argument name bindings (fixes #382) | Dirkjan Ochtman | 1 | -3/+12 | |
2020-11-02 | Improve error handling (see #368) | Dirkjan Ochtman | 5 | -418/+554 | |
2020-11-02 | Apply clippy suggestions | Dirkjan Ochtman | 1 | -2/+2 | |
2020-11-02 | Upgrade to nom 6 | Dirkjan Ochtman | 1 | -36/+37 | |
2020-09-16 | fix into_f64 and into_isize | Yuxuan Shui | 1 | -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-25 | Use unstable sort for size median calculation | Dirkjan Ochtman | 1 | -1/+1 | |
2020-07-28 | Add mendes integration | Dirkjan Ochtman | 2 | -0/+52 | |
2020-07-28 | Use modern dyn syntax to prevent warnings | Dirkjan Ochtman | 1 | -1/+1 | |
2020-07-23 | Point to relevant book chapter from the filters module docs | Dirkjan Ochtman | 1 | -2/+2 | |
2020-07-20 | Clean up clippy issues | Dirkjan Ochtman | 1 | -8/+7 | |
2020-07-14 | Add fmt filter that swaps the first two arguments to format!(). | Andrew Dona-Couch | 2 | -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-14 | alphabetize frameworks | Jacob Rothstein | 2 | -57/+58 | |
2020-07-14 | askama tide | Jacob Rothstein | 2 | -0/+30 | |
2020-06-30 | Add support for more whitespace positions within expressions: | Ciprian Dorin Craciun | 1 | -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. | |||||
2020-06-30 | Tweak dependency on futures for Actix integration | Dirkjan Ochtman | 1 | -2/+2 | |
2020-06-24 | Remove redundant clone | Dirkjan Ochtman | 1 | -1/+1 | |
2020-06-03 | Reorder parser type definitions | Dirkjan Ochtman | 1 | -46/+46 | |
2020-06-03 | Revert whitespace matching to old macro behavior | Dirkjan Ochtman | 1 | -6/+8 | |
2020-06-03 | Strip 0 or more instead of 1 whitespace character (fixes #337) | Dirkjan Ochtman | 1 | -2/+2 | |
2020-06-03 | Allow block definitions in if/for/match blocks (fixes #335) | Dirkjan Ochtman | 2 | -9/+14 | |
2020-06-03 | Refactor code for finding nested blocks | Dirkjan Ochtman | 1 | -32/+27 | |
2020-05-21 | Cast empty arrays to slice to get around clippy | Dirkjan Ochtman | 1 | -3/+2 | |
2020-05-21 | Allow clippy reversed-empty-ranges for now | Dirkjan Ochtman | 1 | -0/+1 | |
Pending https://github.com/rust-lang/rust-clippy/issues/5628. | |||||
2020-05-17 | Remove now unused match arms | Dirkjan Ochtman | 1 | -2/+0 | |
2020-05-17 | Properly annotate non-exhaustive enum | Dirkjan Ochtman | 1 | -6/+1 | |
2020-04-25 | Fix wrong num_traits cfg feature in askama_shared | Jerome Gravel-Niquet | 1 | -8/+8 | |
2020-04-23 | Fix formatting with cargo fmt | Dirkjan Ochtman | 1 | -4/+1 | |
2020-04-23 | Fix clippy suggestion | Dirkjan Ochtman | 1 | -1/+1 | |
2020-04-23 | Fix taking references of function arguments (fixes #311) | Dirkjan Ochtman | 1 | -6/+20 | |
2020-03-31 | fix: make filesizeformat work with all types that implement ↵ | Zachary Kohnen | 1 | -6/+6 | |
humansize::FileSize (#307) * fix: make filesizeformat work with all types that implement humanzie::FileSize Enabled dynamic dispatch on the filesizeformat filter as to allow for numbers other than usize to work * fix: remove dynamic dispatch dynamic dyspatch would not work since file_size takes a generic. Instead we use a generic function with type B being any type that implements FileSize. * fix: add AsRef to allow for references to be passed as well as owned values * fix: move AsRef into a generic as to allow for owned values * fix: move to borrow from asref as it is implemented by primitives * format: fix import ordering * fix: remove borrow for it was useless * fix: add borrow to input value * refactor: remove unused imports | |||||
2020-03-31 | fix urlencode bug, do not encode a fixed size of character exceptions | João Oliveira | 1 | -6/+35 | |
2020-03-30 | add urlencode filter | João Oliveira | 1 | -1/+20 | |
2020-03-18 | Use _visit_args in var/path calls | Nathan Lapel | 1 | -15/+8 | |
2020-03-18 | Support function calls | Nathan Lapel | 2 | -9/+96 | |
2020-02-24 | Fix askama_shared clippy warning | Paolo Barbolini | 1 | -6/+7 | |
2020-02-08 | Adapt to new warnings and formatting | Dirkjan Ochtman | 4 | -6/+1 | |
2020-02-07 | add 2 more test | D.Loh | 1 | -0/+3 | |
2020-02-07 | add unit test, and do not truncate when len equal | D.Loh | 1 | -1/+23 | |
2020-02-07 | eliminate panic on len not lie on boundary | D.Loh | 1 | -1/+5 | |
check boundary, add truncate len per 1 as needed till checking pass | |||||
2020-01-29 | Generalize hashmap parameter as suggested by clippy | Dirkjan Ochtman | 1 | -8/+8 | |