Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed whitespace issue when generating if statement (#394) | Christian Vallentin | 2020-12-03 | 1 | -5/+6 |
| | | | * Fixed #377 | ||||
* | Improved if statement generation to avoid issues with implicit borrows (#392) | Christian Vallentin | 2020-12-01 | 1 | -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) | Christian Vallentin | 2020-12-01 | 1 | -2/+3 |
| | |||||
* | Correctly scope macro argument name bindings (fixes #382) | Dirkjan Ochtman | 2020-11-13 | 1 | -3/+12 |
| | |||||
* | Improve error handling (see #368) | Dirkjan Ochtman | 2020-11-02 | 1 | -306/+383 |
| | |||||
* | Use unstable sort for size median calculation | Dirkjan Ochtman | 2020-08-25 | 1 | -1/+1 |
| | |||||
* | Add mendes integration | Dirkjan Ochtman | 2020-07-28 | 1 | -0/+51 |
| | |||||
* | Use modern dyn syntax to prevent warnings | Dirkjan Ochtman | 2020-07-28 | 1 | -1/+1 |
| | |||||
* | Clean up clippy issues | Dirkjan Ochtman | 2020-07-20 | 1 | -8/+7 |
| | |||||
* | Add fmt filter that swaps the first two arguments to format!(). | Andrew Dona-Couch | 2020-07-14 | 1 | -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 frameworks | Jacob Rothstein | 2020-07-14 | 1 | -56/+57 |
| | |||||
* | askama tide | Jacob Rothstein | 2020-07-14 | 1 | -0/+29 |
| | |||||
* | Tweak dependency on futures for Actix integration | Dirkjan Ochtman | 2020-06-30 | 1 | -2/+2 |
| | |||||
* | Allow block definitions in if/for/match blocks (fixes #335) | Dirkjan Ochtman | 2020-06-03 | 1 | -9/+1 |
| | |||||
* | Fix taking references of function arguments (fixes #311) | Dirkjan Ochtman | 2020-04-23 | 1 | -6/+20 |
| | |||||
* | Use _visit_args in var/path calls | Nathan Lapel | 2020-03-18 | 1 | -15/+8 |
| | |||||
* | Support function calls | Nathan Lapel | 2020-03-18 | 1 | -0/+39 |
| | |||||
* | Adapt to new warnings and formatting | Dirkjan Ochtman | 2020-02-08 | 1 | -2/+0 |
| | |||||
* | Generalize hashmap parameter as suggested by clippy | Dirkjan Ochtman | 2020-01-29 | 1 | -8/+8 |
| | |||||
* | Move code generation into askama_shared | Dirkjan Ochtman | 2020-01-29 | 1 | -0/+1380 |
| | |||||
* | Isolate proc-macro dependency to the proc macro | David Tolnay | 2018-04-12 | 1 | -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) | Dirkjan Ochtman | 2018-04-12 | 1 | -4/+6 |
| | |||||
* | Fix whitespace handling for include blocks (fixes #69) | Dirkjan Ochtman | 2018-04-02 | 1 | -2/+2 |
| | |||||
* | Cleanup warnings generated by clippy | Dirkjan Ochtman | 2018-01-22 | 1 | -8/+14 |
| | |||||
* | Don't copy trait parameters to type generics (fixes #65) | Dirkjan Ochtman | 2018-01-21 | 1 | -2/+3 |
| | |||||
* | Use push() instead of push_value() to add type parameters (fixes #65) | Dirkjan Ochtman | 2018-01-20 | 1 | -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 integration | Hajime Fukuda | 2018-01-19 | 1 | -0/+9 |
| | |||||
* | Upgrade to syn-0.12 and quote-0.4 | Dirkjan Ochtman | 2018-01-09 | 1 | -64/+25 |
| | |||||
* | Make generated traits public for use in other modules (fixes #61) | Dirkjan Ochtman | 2017-12-25 | 1 | -1/+1 |
| | |||||
* | Apply suggestions from rustfmt to improve style | Dirkjan Ochtman | 2017-11-21 | 1 | -44/+50 |
| | |||||
* | Limit line length to < 100 characters | Dirkjan Ochtman | 2017-11-07 | 1 | -2/+4 |
| | |||||
* | Add some documentation for whitespace suppression helpers | Dirkjan Ochtman | 2017-11-07 | 1 | -0/+8 |
| | |||||
* | Support matching custom enums | Anthony Nowell | 2017-11-02 | 1 | -5/+10 |
| | |||||
* | Make match ref/deref as needed | Anthony Nowell | 2017-11-02 | 1 | -1/+24 |
| | | | | | Much of this can be yanked out and made simpler when match-modes lands in stable | ||||
* | support literals in match arms | Anthony Nowell | 2017-11-02 | 1 | -4/+20 |
| | |||||
* | implement basic match functionality | Anthony Nowell | 2017-11-02 | 1 | -1/+41 |
| | |||||
* | Add support for array literals (fixes #59) | Dirkjan Ochtman | 2017-10-20 | 1 | -0/+13 |
| | |||||
* | Add some whitespace to write_call() | Dirkjan Ochtman | 2017-10-15 | 1 | -0/+3 |
| | |||||
* | Wrap some overly long lines | Dirkjan Ochtman | 2017-10-15 | 1 | -2/+5 |
| | |||||
* | Add scope when importing macros | Lars Erik Rosengren | 2017-10-15 | 1 | -10/+16 |
| | |||||
* | Remove spurious call to dedent() | Dirkjan Ochtman | 2017-10-14 | 1 | -1/+0 |
| | |||||
* | Add panic to make sure indentation mismatches are detected | Dirkjan Ochtman | 2017-10-14 | 1 | -0/+3 |
| | |||||
* | Handle path expressions (fixes #56) | Dirkjan Ochtman | 2017-10-04 | 1 | -0/+11 |
| | |||||
* | Add a clarifying comment about whitespace in write_call() | Dirkjan Ochtman | 2017-10-01 | 1 | -1/+1 |
| | |||||
* | Add comment explaining why Extends doesn't need whitespace handling | Dirkjan Ochtman | 2017-10-01 | 1 | -0/+2 |
| | |||||
* | Fix whitespace handling for macros and imports (#55) | larros | 2017-10-01 | 1 | -4/+16 |
| | | | | | | Resolves https://github.com/djc/askama/issues/52. * Fix of review comments | ||||
* | Insert macro parameter into locals after defining it (fixes #53) | Dirkjan Ochtman | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | Add support for importing template files with macros (#51) | larros | 2017-09-26 | 1 | -3/+7 |
| | | | | * Fix review comments for macro imports | ||||
* | Rename and document top-level Generator::build() method | Dirkjan Ochtman | 2017-09-07 | 1 | -2/+3 |
| | |||||
* | Reorder methods in Generator to aid readability | Dirkjan Ochtman | 2017-09-07 | 1 | -450/+450 |
| |