Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-01-02 | Clean up clippy warnings | Dirkjan Ochtman | 1 | -16/+13 | |
2019-11-11 | Migrate to non-macro combinators | Dirkjan Ochtman | 1 | -541/+709 | |
2019-11-11 | Upgrade to nom 5 | Dirkjan Ochtman | 1 | -94/+90 | |
2019-10-09 | Remove use of deprecated nom macro | Dirkjan Ochtman | 1 | -1/+1 | |
2019-10-08 | Add support for boolean literals | Dave Poulter | 1 | -0/+7 | |
2019-07-11 | Implement selected clippy recommendations. | Bardi Harborow | 1 | -1/+1 | |
2019-05-04 | Simplify parser with nom's list combinators | James Gilles | 1 | -121/+44 | |
2019-04-18 | WIP: Add raw block | Pavel Fokin | 1 | -1/+22 | |
2019-03-18 | Allow Rust macro calls in more places (see #226) | Dirkjan Ochtman | 1 | -2/+2 | |
2019-01-08 | Allow trailing commas in tuples (#188) | yossyJ | 1 | -0/+1 | |
2019-01-08 | Add support for #![feature(non_ascii_idents)] | yossyJ | 1 | -2/+7 | |
2019-01-04 | Add support for tuple | yossyJ | 1 | -2/+22 | |
2018-12-13 | fix rust macro arguments | Juan Aguilar Santillana | 1 | -6/+57 | |
2018-12-12 | Allow using brackets for enums in `match` | mcarton | 1 | -4/+50 | |
2018-12-08 | Use 2018 edition idioms | Dirkjan Ochtman | 1 | -2/+2 | |
2018-12-08 | Upgrade to 2018 edition | Dirkjan Ochtman | 1 | -3/+3 | |
2018-10-07 | Add Rust macro support at templates | bott | 1 | -1/+12 | |
2018-10-05 | Fix deprecated tag s! in favor of tag! | bott | 1 | -83/+83 | |
2018-10-05 | Fix fmt at parser.rs | bott | 1 | -28/+42 | |
2018-10-05 | Add changing delimiters support | bott | 1 | -68/+106 | |
2018-07-02 | Clean up according to clippy suggestions | Dirkjan Ochtman | 1 | -1/+1 | |
2018-06-23 | Add support for range operators (see #95) | Dirkjan Ochtman | 1 | -1/+21 | |
2018-06-23 | Add support for Index operation (see #95) | Dirkjan Ochtman | 1 | -1/+16 | |
2018-06-22 | Disallow user-defined macros named 'super' | Dirkjan Ochtman | 1 | -9/+14 | |
2018-06-21 | Clean up clippy suggestions | Dirkjan Ochtman | 1 | -1/+1 | |
2018-06-15 | Port parser to nom 4 | Dirkjan Ochtman | 1 | -67/+79 | |
2018-05-14 | Fix copy/paste error in whitespace handling | Dirkjan Ochtman | 1 | -2/+2 | |
2018-04-27 | Add support for unary operators (fixes #83) | Dirkjan Ochtman | 1 | -1/+11 | |
2018-04-17 | Properly handle whitespace around comments (fixes #79) | Dirkjan Ochtman | 1 | -3/+4 | |
2018-04-12 | Isolate proc-macro dependency to the proc macro | David Tolnay | 1 | -0/+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. | |||||
2018-04-12 | Handle a lack of whitespace after match block (fixes #76) | Dirkjan Ochtman | 1 | -4/+5 | |
2017-12-25 | Properly disable rustfmt in parser module | Dirkjan Ochtman | 1 | -2/+1 | |
2017-11-21 | Disabling rustfmt locally doesn't work in stable Rust | Dirkjan Ochtman | 1 | -2/+2 | |
2017-11-21 | Don't restyle code in parser module | Dirkjan Ochtman | 1 | -0/+4 | |
2017-11-02 | Support matching custom enums | Anthony Nowell | 1 | -2/+44 | |
2017-11-02 | support literals in match arms | Anthony Nowell | 1 | -7/+47 | |
2017-11-02 | support else in match block | Anthony Nowell | 1 | -0/+15 | |
2017-11-02 | implement basic match functionality | Anthony Nowell | 1 | -0/+54 | |
2017-10-22 | Make empty string literals work | Dirkjan Ochtman | 1 | -1/+1 | |
2017-10-20 | Tighten up parser code for path expressions | Dirkjan Ochtman | 1 | -4/+2 | |
2017-10-20 | Add support for array literals (fixes #59) | Dirkjan Ochtman | 1 | -0/+18 | |
2017-10-15 | Add scope when importing macros | Lars Erik Rosengren | 1 | -4/+11 | |
2017-10-04 | Handle path expressions (fixes #56) | Dirkjan Ochtman | 1 | -0/+18 | |
2017-09-26 | Add support for importing template files with macros (#51) | larros | 1 | -0/+13 | |
* Fix review comments for macro imports | |||||
2017-09-10 | Add support for tuple indexing in templates | Lars Erik Rosengren | 1 | -3/+7 | |
2017-09-06 | Code cleanups as suggested by Clippy | Dirkjan Ochtman | 1 | -4/+4 | |
2017-09-05 | Stop mutating parsed AST for code generation | Dirkjan Ochtman | 1 | -1/+0 | |
2017-09-05 | Refactor handling of macros | Dirkjan Ochtman | 1 | -5/+15 | |
2017-09-04 | Clean up and tighten faster version of expr_prec_layer macro | Dirkjan Ochtman | 1 | -15/+10 | |
2017-09-03 | Changed implementation of precedence rules | Lars Erik Rosengren | 1 | -6/+12 | |
This implementation resolves djc/askama#44 by changing the precedence implementation. The previous solution was very slow because it had to try to parse all combinations of precedence layers leading to 2^9 iterations for each expr_any. This is solved by reusing the left operand instead of reparsing it when the operator isn't found. This implementation also solves another related issue that expressions with multiple operators couldn't be parsed, for example {{1 * 2 * 3}}. This is handled by using expr_any for the right operand instead of only using higher level precedence layers. |