Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 4 | -109/+72 |
| | |||||
* | Properly disable rustfmt in parser module | Dirkjan Ochtman | 2017-12-25 | 1 | -2/+1 |
| | |||||
* | Make generated traits public for use in other modules (fixes #61) | Dirkjan Ochtman | 2017-12-25 | 1 | -1/+1 |
| | |||||
* | Disabling rustfmt locally doesn't work in stable Rust | Dirkjan Ochtman | 2017-11-21 | 1 | -2/+2 |
| | |||||
* | Don't restyle code in parser module | Dirkjan Ochtman | 2017-11-21 | 1 | -0/+4 |
| | |||||
* | Apply suggestions from rustfmt to improve style | Dirkjan Ochtman | 2017-11-21 | 7 | -68/+86 |
| | |||||
* | 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 |
| | |||||
* | Improve error about unsupported annotation key | Dirkjan Ochtman | 2017-11-07 | 1 | -1/+1 |
| | |||||
* | Support matching custom enums | Anthony Nowell | 2017-11-02 | 2 | -7/+54 |
| | |||||
* | 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 | 2 | -11/+67 |
| | |||||
* | support else in match block | Anthony Nowell | 2017-11-02 | 1 | -0/+15 |
| | |||||
* | implement basic match functionality | Anthony Nowell | 2017-11-02 | 2 | -1/+95 |
| | |||||
* | Make empty string literals work | Dirkjan Ochtman | 2017-10-22 | 1 | -1/+1 |
| | |||||
* | Tighten up parser code for path expressions | Dirkjan Ochtman | 2017-10-20 | 1 | -4/+2 |
| | |||||
* | Add support for array literals (fixes #59) | Dirkjan Ochtman | 2017-10-20 | 2 | -0/+31 |
| | |||||
* | 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 | 3 | -24/+39 |
| | |||||
* | 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 | 2 | -0/+29 |
| | |||||
* | 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 | ||||
* | Rename parse() method to macro_map() | Dirkjan Ochtman | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | Improve code compactness | Dirkjan Ochtman | 2017-09-26 | 1 | -5/+2 |
| | |||||
* | 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 | 3 | -4/+62 |
| | | | | * Fix review comments for macro imports | ||||
* | Add support for tuple indexing in templates | Lars Erik Rosengren | 2017-09-10 | 1 | -3/+7 |
| | |||||
* | Bump version number to 0.5.0 | Dirkjan Ochtman | 2017-09-07 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | Rewrite escapable() to prevent duplication | Dirkjan Ochtman | 2017-09-07 | 1 | -3/+6 |
| | |||||
* | Extend escaping according to OWASP recommendations | Dirkjan Ochtman | 2017-09-07 | 1 | -2/+5 |
| | |||||
* | Return MarkupDisplay from json filter | Dirkjan Ochtman | 2017-09-07 | 2 | -6/+11 |
| | |||||
* | Infer escaping mode based on template extension | Dirkjan Ochtman | 2017-09-07 | 1 | -3/+21 |
| | |||||
* | Refactor creation of TemplateMeta value | Dirkjan Ochtman | 2017-09-07 | 1 | -13/+9 |
| | |||||
* | Make ext attribute mandatory for source-specified templates | Dirkjan Ochtman | 2017-09-07 | 1 | -4/+8 |
| | |||||
* | Code cleanups as suggested by Clippy | Dirkjan Ochtman | 2017-09-06 | 4 | -30/+30 |
| | |||||
* | Update dependency on error-chain to 0.11 | Dirkjan Ochtman | 2017-09-06 | 1 | -1/+1 |
| | |||||
* | Add package metadata for new askama_shared crate | Dirkjan Ochtman | 2017-09-06 | 1 | -0/+4 |
| | |||||
* | Decrease coupling with Rocket in generated code | Dirkjan Ochtman | 2017-09-06 | 1 | -10/+2 |
| | |||||
* | Allow setting an extension with source attributes | Dirkjan Ochtman | 2017-09-06 | 1 | -2/+22 |
| | |||||
* | Make path and source attributes mutually exclusive | Dirkjan Ochtman | 2017-09-06 | 1 | -0/+6 |
| | |||||
* | Bump version number to 0.4.0 | Dirkjan Ochtman | 2017-09-06 | 1 | -1/+1 |
| | |||||
* | Add panics during code generation for unsupported cases | Dirkjan Ochtman | 2017-09-06 | 1 | -9/+21 |
| |