Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
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-21 | Disable nom default features | Konrad Borowski | 1 | -3/+1 | |
This removes unnecessary lexical feature reducing amount of crates Askama depends on. | |||||
2020-11-16 | Bump version for askama_shared | Dirkjan Ochtman | 1 | -1/+1 | |
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 | 2 | -37/+38 | |
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 | Bump version numbers | 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 | Bump versions to prepare for askama_tide release | Dirkjan Ochtman | 1 | -1/+1 | |
2020-07-14 | alphabetize frameworks | Jacob Rothstein | 2 | -57/+58 | |
2020-07-14 | askama tide | Jacob Rothstein | 2 | -0/+30 | |
2020-06-30 | Bump askama_shared version with whitespace fixes | Dirkjan Ochtman | 1 | -1/+1 | |
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 | Bump version number for askama_shared | Dirkjan Ochtman | 1 | -1/+1 | |
2020-06-30 | Tweak dependency on futures for Actix integration | Dirkjan Ochtman | 1 | -2/+2 | |
2020-06-30 | Reference READMEs in crate metadata | Dirkjan Ochtman | 1 | -0/+1 | |
2020-06-30 | Add README files for subcrates | Dirkjan Ochtman | 1 | -0/+9 | |
2020-06-30 | Bump version numbers | Dirkjan Ochtman | 1 | -2/+2 | |
2020-06-30 | Add license files to each crate (fixes #339) | Dirkjan Ochtman | 2 | -0/+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 | 2 | -3/+23 | |
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 | |