aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added set alias for letLibravatar vallentin2020-12-161-1/+1
|
* Improved template loop generation (fixes #107, #333)Libravatar vallentin2020-12-161-1/+19
|
* Merge pull request #400 from djc/localLibravatar Dirkjan Ochtman2020-12-152-3/+3
|\ | | | | Sync local repo with GitHub
| * Bump version for askama_sharedLibravatar Dirkjan Ochtman2020-11-191-1/+1
| |
| * Adapt to changed mendes APILibravatar Dirkjan Ochtman2020-11-191-2/+2
| |
| * Bump versions to fix semver problemLibravatar Dirkjan Ochtman2020-11-171-1/+1
| |
* | Fixed whitespace issue when generating match (#399)Libravatar Christian Vallentin2020-12-123-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
* | Fixed whitespace issue when generating if statement (#394)Libravatar Christian Vallentin2020-12-031-5/+6
| | | | | | * Fixed #377
* | Allow paths to start with `::` (#393)Libravatar Christian Vallentin2020-12-021-4/+25
| |
* | Improved if statement generation to avoid issues with implicit borrows (#392)Libravatar Christian Vallentin2020-12-011-0/+7
| | | | | | | | | | | | | | * Changed to automatically coerce to bool * Added new test case * Updated test case to include else if
* | Fixed parsing precedence and associativity (#391)Libravatar Christian Vallentin2020-12-011-33/+173
| |
* | Fixed implicit borrow of expressions (#390)Libravatar Christian Vallentin2020-12-011-2/+3
| |
* | Disable nom default featuresLibravatar Konrad Borowski2020-11-211-3/+1
|/ | | | | This removes unnecessary lexical feature reducing amount of crates Askama depends on.
* Bump version for askama_sharedLibravatar Dirkjan Ochtman2020-11-161-1/+1
|
* Fix urlencode to be usable for URL segments and query keys/values (#384)Libravatar Jakub Valtar2020-11-161-30/+88
|
* Correctly scope macro argument name bindings (fixes #382)Libravatar Dirkjan Ochtman2020-11-131-3/+12
|
* Improve error handling (see #368)Libravatar Dirkjan Ochtman2020-11-025-418/+554
|
* Apply clippy suggestionsLibravatar Dirkjan Ochtman2020-11-021-2/+2
|
* Upgrade to nom 6Libravatar Dirkjan Ochtman2020-11-022-37/+38
|
* fix into_f64 and into_isizeLibravatar Yuxuan Shui2020-09-161-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>
* Use unstable sort for size median calculationLibravatar Dirkjan Ochtman2020-08-251-1/+1
|
* Bump version numbersLibravatar Dirkjan Ochtman2020-07-281-1/+1
|
* Add mendes integrationLibravatar Dirkjan Ochtman2020-07-282-0/+52
|
* Use modern dyn syntax to prevent warningsLibravatar Dirkjan Ochtman2020-07-281-1/+1
|
* Point to relevant book chapter from the filters module docsLibravatar Dirkjan Ochtman2020-07-231-2/+2
|
* Clean up clippy issuesLibravatar Dirkjan Ochtman2020-07-201-8/+7
|
* Add fmt filter that swaps the first two arguments to format!().Libravatar Andrew Dona-Couch2020-07-142-1/+41
| | | | | | This allows a more natural filter usage: `{{ val | fmt("{:?}") }}` as well as enabling convenient filter composition: `{{ price | to_f64 | fmt("${:.2}") | center }}`
* Bump versions to prepare for askama_tide releaseLibravatar Dirkjan Ochtman2020-07-141-1/+1
|
* alphabetize frameworksLibravatar Jacob Rothstein2020-07-142-57/+58
|
* askama tideLibravatar Jacob Rothstein2020-07-142-0/+30
|
* Bump askama_shared version with whitespace fixesLibravatar Dirkjan Ochtman2020-06-301-1/+1
|
* Add support for more whitespace positions within expressions:Libravatar Ciprian Dorin Craciun2020-06-301-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.
* Bump version number for askama_sharedLibravatar Dirkjan Ochtman2020-06-301-1/+1
|
* Tweak dependency on futures for Actix integrationLibravatar Dirkjan Ochtman2020-06-301-2/+2
|
* Reference READMEs in crate metadataLibravatar Dirkjan Ochtman2020-06-301-0/+1
|
* Add README files for subcratesLibravatar Dirkjan Ochtman2020-06-301-0/+9
|
* Bump version numbersLibravatar Dirkjan Ochtman2020-06-301-2/+2
|
* Add license files to each crate (fixes #339)Libravatar Dirkjan Ochtman2020-06-302-0/+2
|
* Remove redundant cloneLibravatar Dirkjan Ochtman2020-06-241-1/+1
|
* Reorder parser type definitionsLibravatar Dirkjan Ochtman2020-06-031-46/+46
|
* Revert whitespace matching to old macro behaviorLibravatar Dirkjan Ochtman2020-06-031-6/+8
|
* Strip 0 or more instead of 1 whitespace character (fixes #337)Libravatar Dirkjan Ochtman2020-06-031-2/+2
|
* Allow block definitions in if/for/match blocks (fixes #335)Libravatar Dirkjan Ochtman2020-06-032-9/+14
|
* Refactor code for finding nested blocksLibravatar Dirkjan Ochtman2020-06-031-32/+27
|
* Cast empty arrays to slice to get around clippyLibravatar Dirkjan Ochtman2020-05-211-3/+2
|
* Allow clippy reversed-empty-ranges for nowLibravatar Dirkjan Ochtman2020-05-211-0/+1
| | | | Pending https://github.com/rust-lang/rust-clippy/issues/5628.
* Remove now unused match armsLibravatar Dirkjan Ochtman2020-05-171-2/+0
|
* Properly annotate non-exhaustive enumLibravatar Dirkjan Ochtman2020-05-171-6/+1
|
* Fix wrong num_traits cfg feature in askama_sharedLibravatar Jerome Gravel-Niquet2020-04-251-8/+8
|
* Fix formatting with cargo fmtLibravatar Dirkjan Ochtman2020-04-231-4/+1
|