aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/generator.rs (unfollow)
Commit message (Expand)AuthorFilesLines
2018-06-15Set up State contents in generate() to prevent borrowing issuesLibravatar Dirkjan Ochtman1-64/+57
2018-06-14Leverage binding modes to make pattern matching more robust (fixes #94)Libravatar Dirkjan Ochtman1-11/+5
2018-05-27Simplify code according to clippy suggestionsLibravatar Dirkjan Ochtman1-6/+3
2018-05-27Allow methods to be called on selfLibravatar Dirkjan Ochtman1-1/+6
2018-05-25Simplify generated code by propagating final expressionsLibravatar Dirkjan Ochtman1-5/+4
2018-05-25Extract path rooting to simplify trait_name_for_path()Libravatar Dirkjan Ochtman1-8/+8
2018-05-25Simplify types in generator State creationLibravatar Dirkjan Ochtman1-10/+10
2018-05-24Rename lifetime to 'askama to prevent conflicts (fixes #88)Libravatar Dirkjan Ochtman1-3/+3
2018-05-24Fix lifetime arguments to Rocket impls (fixes #89)Libravatar Dirkjan Ochtman1-1/+1
2018-05-21Warn about blocks that are nested inside something other than blocksLibravatar Dirkjan Ochtman1-1/+6
2018-05-21Upgrade to syn-0.14 and quote-0.6Libravatar Dirkjan Ochtman1-17/+20
2018-05-20Add support for nested blocks (fixes #85)Libravatar Dirkjan Ochtman1-4/+32
2018-05-16Fix suggestions from clippyLibravatar Dirkjan Ochtman1-5/+4
2018-04-27Add support for unary operators (fixes #83)Libravatar Dirkjan Ochtman1-0/+7
2018-04-19Fix issues with expression code interleaving with statements (see #78)Libravatar Dirkjan Ochtman1-20/+16
2018-04-17Properly handle whitespace around comments (fixes #79)Libravatar Dirkjan Ochtman1-1/+7
2018-04-17Name function call expressions before passing as an argument (fixes #78)Libravatar Dirkjan Ochtman1-13/+26
2018-04-17Use a temporary buffer to build expressionsLibravatar Dirkjan Ochtman1-88/+104
2018-04-12Isolate proc-macro dependency to the proc macroLibravatar David Tolnay1-2/+1
2018-04-12Handle a lack of whitespace after match block (fixes #76)Libravatar Dirkjan Ochtman1-4/+6
2018-04-02Fix whitespace handling for include blocks (fixes #69)Libravatar Dirkjan Ochtman1-2/+2
2018-01-22Cleanup warnings generated by clippyLibravatar Dirkjan Ochtman1-8/+14
2018-01-21Don't copy trait parameters to type generics (fixes #65)Libravatar Dirkjan Ochtman1-2/+3
2018-01-20Use push() instead of push_value() to add type parameters (fixes #65)Libravatar Dirkjan Ochtman1-1/+1
2018-01-19infer Content-type from the file extension for iron integrationLibravatar Hajime Fukuda1-0/+9
2018-01-09Upgrade to syn-0.12 and quote-0.4Libravatar Dirkjan Ochtman1-64/+25
2017-12-25Make generated traits public for use in other modules (fixes #61)Libravatar Dirkjan Ochtman1-1/+1
2017-11-21Apply suggestions from rustfmt to improve styleLibravatar Dirkjan Ochtman1-44/+50
2017-11-07Limit line length to < 100 charactersLibravatar Dirkjan Ochtman1-2/+4
2017-11-07Add some documentation for whitespace suppression helpersLibravatar Dirkjan Ochtman1-0/+8
2017-11-02Support matching custom enumsLibravatar Anthony Nowell1-5/+10
2017-11-02Make match ref/deref as neededLibravatar Anthony Nowell1-1/+24
2017-11-02support literals in match armsLibravatar Anthony Nowell1-4/+20
2017-11-02implement basic match functionalityLibravatar Anthony Nowell1-1/+41
2017-10-20Add support for array literals (fixes #59)Libravatar Dirkjan Ochtman1-0/+13
2017-10-15Add some whitespace to write_call()Libravatar Dirkjan Ochtman1-0/+3
2017-10-15Wrap some overly long linesLibravatar Dirkjan Ochtman1-2/+5
2017-10-15Add scope when importing macrosLibravatar Lars Erik Rosengren1-10/+16
2017-10-14Remove spurious call to dedent()Libravatar Dirkjan Ochtman1-1/+0
2017-10-14Add panic to make sure indentation mismatches are detectedLibravatar Dirkjan Ochtman1-0/+3
2017-10-04Handle path expressions (fixes #56)Libravatar Dirkjan Ochtman1-0/+11
2017-10-01Add a clarifying comment about whitespace in write_call()Libravatar Dirkjan Ochtman1-1/+1
2017-10-01Add comment explaining why Extends doesn't need whitespace handlingLibravatar Dirkjan Ochtman1-0/+2
2017-10-01Fix whitespace handling for macros and imports (#55)Libravatar larros1-4/+16
2017-09-26Insert macro parameter into locals after defining it (fixes #53)Libravatar Dirkjan Ochtman1-1/+1
2017-09-26Add support for importing template files with macros (#51)Libravatar larros1-3/+7
2017-09-07Rename and document top-level Generator::build() methodLibravatar Dirkjan Ochtman1-2/+3
2017-09-07Reorder methods in Generator to aid readabilityLibravatar Dirkjan Ochtman1-450/+450
2017-09-07Return MarkupDisplay from json filterLibravatar Dirkjan Ochtman1-1/+1
2017-09-06Code cleanups as suggested by ClippyLibravatar Dirkjan Ochtman1-23/+23