Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-04-12 | Isolate proc-macro dependency to the proc macro | David Tolnay | 1 | -694/+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. | |||||
2017-08-27 | Move most of the code into new askama_shared crate | Dirkjan Ochtman | 1 | -0/+0 | |
This makes it possible to share code between askama and askama_derive. | |||||
2017-08-24 | Allow {% block name %} {% endblock name %} | Bastien Orivel | 1 | -0/+1 | |
This makes converting an app from tera to askama easier. | |||||
2017-08-22 | Add support for calling macros | Dirkjan Ochtman | 1 | -13/+24 | |
2017-08-22 | Refactor parser handling of arguments | Dirkjan Ochtman | 1 | -21/+19 | |
2017-08-22 | Implement support for macro definition handling | Dirkjan Ochtman | 1 | -1/+43 | |
2017-08-22 | Rename method call internals for clarity | Dirkjan Ochtman | 1 | -2/+2 | |
2017-08-16 | Allow separation of variable declaration and defintion | Dirkjan Ochtman | 1 | -3/+11 | |
2017-08-14 | Add support for simple variable definition statements | Dirkjan Ochtman | 1 | -0/+12 | |
2017-08-06 | Expand include node to template source during code generation | Dirkjan Ochtman | 1 | -4/+2 | |
2017-08-06 | Use one way of finding templates on the path | Dirkjan Ochtman | 1 | -1/+2 | |
2017-08-06 | Merge handling of trailing newline into get_template_source() | Dirkjan Ochtman | 1 | -10/+4 | |
2017-08-04 | Add test for panic on invalid blocks (see #27) | Dirkjan Ochtman | 1 | -0/+5 | |
2017-08-04 | Let parse() panic if template is not parsed completely (fixes #27) | Dirkjan Ochtman | 1 | -1/+8 | |
2017-08-04 | Handle parsing for blocks in one place | Dirkjan Ochtman | 1 | -15/+14 | |
2017-08-04 | Add support for include blocks (see #25) | Dirkjan Ochtman | 1 | -0/+22 | |
2017-08-02 | Fix edge cases in content literal parser (fixes #24) | Dirkjan Ochtman | 1 | -11/+26 | |
2017-05-26 | Add support for chained attributes (fixes #22) | Dirkjan Ochtman | 1 | -12/+21 | |
2017-03-06 | Hide askama_derive dependency inside askama (fixes #2) | Dirkjan Ochtman | 1 | -0/+0 | |
2017-03-03 | Add basic support for comments | Dirkjan Ochtman | 1 | -1/+10 | |
2017-03-03 | Add support for parenthesized expressions | Dirkjan Ochtman | 1 | -1/+8 | |
2017-02-18 | Add support for method calls | Dirkjan Ochtman | 1 | -1/+7 | |
2017-02-18 | Add parser for identifiers | Dirkjan Ochtman | 1 | -12/+26 | |
2017-02-18 | Add support for filters with multiple arguments | Dirkjan Ochtman | 1 | -6/+34 | |
2017-02-18 | Add support for attributes | Dirkjan Ochtman | 1 | -1/+11 | |
2017-02-17 | Add support for integer literals | Dirkjan Ochtman | 1 | -0/+6 | |
2017-02-17 | Use better parsing strategy for filter expressions | Dirkjan Ochtman | 1 | -26/+22 | |
2017-02-17 | Import alphanumeric from nom to simplify macro handling | Dirkjan Ochtman | 1 | -5/+5 | |
2017-02-17 | Derive Debug for parser AST enums | Dirkjan Ochtman | 1 | -1/+4 | |
2017-02-17 | Add support for most binary operators | Dirkjan Ochtman | 1 | -1/+8 | |