aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/generator.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add some whitespace to write_call()Libravatar Dirkjan Ochtman2017-10-151-0/+3
|
* Wrap some overly long linesLibravatar Dirkjan Ochtman2017-10-151-2/+5
|
* Add scope when importing macrosLibravatar Lars Erik Rosengren2017-10-151-10/+16
|
* Remove spurious call to dedent()Libravatar Dirkjan Ochtman2017-10-141-1/+0
|
* Add panic to make sure indentation mismatches are detectedLibravatar Dirkjan Ochtman2017-10-141-0/+3
|
* Handle path expressions (fixes #56)Libravatar Dirkjan Ochtman2017-10-041-0/+11
|
* Add a clarifying comment about whitespace in write_call()Libravatar Dirkjan Ochtman2017-10-011-1/+1
|
* Add comment explaining why Extends doesn't need whitespace handlingLibravatar Dirkjan Ochtman2017-10-011-0/+2
|
* Fix whitespace handling for macros and imports (#55)Libravatar larros2017-10-011-4/+16
| | | | | | Resolves https://github.com/djc/askama/issues/52. * Fix of review comments
* Insert macro parameter into locals after defining it (fixes #53)Libravatar Dirkjan Ochtman2017-09-261-1/+1
|
* Add support for importing template files with macros (#51)Libravatar larros2017-09-261-3/+7
| | | | * Fix review comments for macro imports
* Rename and document top-level Generator::build() methodLibravatar Dirkjan Ochtman2017-09-071-2/+3
|
* Reorder methods in Generator to aid readabilityLibravatar Dirkjan Ochtman2017-09-071-450/+450
|
* Return MarkupDisplay from json filterLibravatar Dirkjan Ochtman2017-09-071-1/+1
|
* Code cleanups as suggested by ClippyLibravatar Dirkjan Ochtman2017-09-061-23/+23
|
* Decrease coupling with Rocket in generated codeLibravatar Dirkjan Ochtman2017-09-061-10/+2
|
* Add panics during code generation for unsupported casesLibravatar Dirkjan Ochtman2017-09-061-9/+21
|
* Allow includes to use relative pathsLibravatar Dirkjan Ochtman2017-09-051-1/+1
|
* Introduce attribute parameter to disable escapingLibravatar Dirkjan Ochtman2017-09-051-5/+9
|
* Move knowledge of what to generate into GeneratorLibravatar Dirkjan Ochtman2017-09-051-30/+25
|
* Extract generator::State type to clarify structureLibravatar Dirkjan Ochtman2017-09-051-97/+119
|
* Pass AST to code generator as referenceLibravatar Dirkjan Ochtman2017-09-051-1/+1
|
* Stop mutating parsed AST for code generationLibravatar Dirkjan Ochtman2017-09-051-25/+20
|