aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/generator.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Bring Ws type name in line with API guidelinesLibravatar Dirkjan Ochtman2021-02-011-18/+18
|
* Fixed constants (fixes #291)Libravatar vallentin2021-01-131-2/+5
|
* Removed implicit borrowing of literals, calls, and more (fixes #404)Libravatar vallentin2021-01-051-3/+10
|
* Added tojson aliasLibravatar vallentin2020-12-301-1/+5
|
* Fixed yaml filter generationLibravatar vallentin2020-12-291-1/+1
|
* Refactored into filters constantLibravatar vallentin2020-12-291-8/+6
|
* Added error to hint enabling serde featuresLibravatar vallentin2020-12-291-0/+9
|
* Added support for redefining variables (fixes #329)Libravatar vallentin2020-12-251-5/+34
|
* Improved implicit borrowing and changed to resolve Askama variables at ↵Libravatar vallentin2020-12-211-49/+127
| | | | compile time
* Improved template loop generation (fixes #107, #333)Libravatar vallentin2020-12-161-1/+19
|
* Merge pull request #400 from djc/localLibravatar Dirkjan Ochtman2020-12-151-2/+2
|\ | | | | Sync local repo with GitHub
| * Adapt to changed mendes APILibravatar Dirkjan Ochtman2020-11-191-2/+2
| |
* | Fixed whitespace issue when generating match (#399)Libravatar Christian Vallentin2020-12-121-15/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | 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 implicit borrow of expressions (#390)Libravatar Christian Vallentin2020-12-011-2/+3
|/
* Correctly scope macro argument name bindings (fixes #382)Libravatar Dirkjan Ochtman2020-11-131-3/+12
|
* Improve error handling (see #368)Libravatar Dirkjan Ochtman2020-11-021-306/+383
|
* Use unstable sort for size median calculationLibravatar Dirkjan Ochtman2020-08-251-1/+1
|
* Add mendes integrationLibravatar Dirkjan Ochtman2020-07-281-0/+51
|
* Use modern dyn syntax to prevent warningsLibravatar Dirkjan Ochtman2020-07-281-1/+1
|
* 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-141-0/+18
| | | | | | This allows a more natural filter usage: `{{ val | fmt("{:?}") }}` as well as enabling convenient filter composition: `{{ price | to_f64 | fmt("${:.2}") | center }}`
* alphabetize frameworksLibravatar Jacob Rothstein2020-07-141-56/+57
|
* askama tideLibravatar Jacob Rothstein2020-07-141-0/+29
|
* Tweak dependency on futures for Actix integrationLibravatar Dirkjan Ochtman2020-06-301-2/+2
|
* Allow block definitions in if/for/match blocks (fixes #335)Libravatar Dirkjan Ochtman2020-06-031-9/+1
|
* Fix taking references of function arguments (fixes #311)Libravatar Dirkjan Ochtman2020-04-231-6/+20
|
* Use _visit_args in var/path callsLibravatar Nathan Lapel2020-03-181-15/+8
|
* Support function callsLibravatar Nathan Lapel2020-03-181-0/+39
|
* Adapt to new warnings and formattingLibravatar Dirkjan Ochtman2020-02-081-2/+0
|
* Generalize hashmap parameter as suggested by clippyLibravatar Dirkjan Ochtman2020-01-291-8/+8
|
* Move code generation into askama_sharedLibravatar Dirkjan Ochtman2020-01-291-0/+1380
|
* Isolate proc-macro dependency to the proc macroLibravatar David Tolnay2018-04-121-919/+0
| | | | | | | | | The dependency of askama on askama_shared on syn on libproc_macro used to mean libproc_macro would be dynamically linked into any crate using askama. We want only askama_derive to have a runtime dependency on proc macro. This commit moves all proc macro code from askama_shared into askama_derive so that the askama crate no longer dynamically links libproc_macro.
* Handle a lack of whitespace after match block (fixes #76)Libravatar Dirkjan Ochtman2018-04-121-4/+6
|
* Fix whitespace handling for include blocks (fixes #69)Libravatar Dirkjan Ochtman2018-04-021-2/+2
|
* Cleanup warnings generated by clippyLibravatar Dirkjan Ochtman2018-01-221-8/+14
|
* Don't copy trait parameters to type generics (fixes #65)Libravatar Dirkjan Ochtman2018-01-211-2/+3
|
* Use push() instead of push_value() to add type parameters (fixes #65)Libravatar Dirkjan Ochtman2018-01-201-1/+1
| | | | | | push_value() requires taking care of the surrounding punctuation, which push() should handle for us. See this issue reported in syn: https://github.com/dtolnay/syn/issues/338
* infer Content-type from the file extension for iron integrationLibravatar Hajime Fukuda2018-01-191-0/+9
|
* Upgrade to syn-0.12 and quote-0.4Libravatar Dirkjan Ochtman2018-01-091-64/+25
|
* Make generated traits public for use in other modules (fixes #61)Libravatar Dirkjan Ochtman2017-12-251-1/+1
|
* Apply suggestions from rustfmt to improve styleLibravatar Dirkjan Ochtman2017-11-211-44/+50
|
* Limit line length to < 100 charactersLibravatar Dirkjan Ochtman2017-11-071-2/+4
|
* Add some documentation for whitespace suppression helpersLibravatar Dirkjan Ochtman2017-11-071-0/+8
|
* Support matching custom enumsLibravatar Anthony Nowell2017-11-021-5/+10
|
* Make match ref/deref as neededLibravatar Anthony Nowell2017-11-021-1/+24
| | | | | Much of this can be yanked out and made simpler when match-modes lands in stable
* support literals in match armsLibravatar Anthony Nowell2017-11-021-4/+20
|
* implement basic match functionalityLibravatar Anthony Nowell2017-11-021-1/+41
|
* Add support for array literals (fixes #59)Libravatar Dirkjan Ochtman2017-10-201-0/+13
|