Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add test for path::get_template_source() | Dirkjan Ochtman | 2017-08-06 | 1 | -1/+6 |
| | |||||
* | Allow parent templates to be specified as relative paths (fixes #26) | Dirkjan Ochtman | 2017-08-06 | 1 | -4/+12 |
| | |||||
* | Add tests for find_template_from_path() | Dirkjan Ochtman | 2017-08-06 | 1 | -0/+30 |
| | |||||
* | Add function to find template relative to another template's path | Dirkjan Ochtman | 2017-08-06 | 1 | -0/+24 |
| | |||||
* | Add test for panic on invalid blocks (see #27) | Dirkjan Ochtman | 2017-08-04 | 1 | -0/+5 |
| | |||||
* | Let parse() panic if template is not parsed completely (fixes #27) | Dirkjan Ochtman | 2017-08-04 | 1 | -1/+8 |
| | |||||
* | Handle parsing for blocks in one place | Dirkjan Ochtman | 2017-08-04 | 1 | -15/+14 |
| | |||||
* | Add support for include blocks (see #25) | Dirkjan Ochtman | 2017-08-04 | 2 | -5/+47 |
| | |||||
* | Merge changes | Dirkjan Ochtman | 2017-08-02 | 2 | -20/+29 |
|\ | |||||
| * | Add support for chained attributes (fixes #22) | Dirkjan Ochtman | 2017-05-26 | 1 | -12/+21 |
| | | |||||
| * | Reference askama and std from the global scope (fixes #17) | Dirkjan Ochtman | 2017-03-11 | 1 | -8/+8 |
| | | | | | | | | | | | | With this change, importing `std` and `askama` into modules where templates are defined is no longer necessary. `askama::Template` must still be imported in scopes where methods of the `Template` trait are called. | ||||
* | | Fix edge cases in content literal parser (fixes #24) | Dirkjan Ochtman | 2017-08-02 | 1 | -11/+26 |
|/ | |||||
* | Remove type parameter defaults from impls (fixes #12) | Dirkjan Ochtman | 2017-03-08 | 1 | -1/+3 |
| | |||||
* | Use if let to better handle Option type | Dirkjan Ochtman | 2017-03-08 | 1 | -2/+2 |
| | |||||
* | Copy type parameters and where clauses (fixes #11) | Dirkjan Ochtman | 2017-03-08 | 2 | -9/+40 |
| | |||||
* | Inline annotations() helper into write_header() | Dirkjan Ochtman | 2017-03-07 | 1 | -14/+9 |
| | |||||
* | Extract writing of impl headers in generator | Dirkjan Ochtman | 2017-03-07 | 1 | -10/+14 |
| | |||||
* | Panic with better message if template not found (fixes #4) | Dirkjan Ochtman | 2017-03-07 | 1 | -1/+8 |
| | |||||
* | Panic with better message if template attribute is not found (fixes #3) | Dirkjan Ochtman | 2017-03-07 | 1 | -1/+8 |
| | |||||
* | Use enumerate() for much simpler loop indexes (fixes #10) | Dirkjan Ochtman | 2017-03-06 | 1 | -23/+5 |
| | |||||
* | Better support for Iterator variants in for loop (fixes #8) | Dirkjan Ochtman | 2017-03-06 | 1 | -2/+2 |
| | |||||
* | Hide askama_derive dependency inside askama (fixes #2) | Dirkjan Ochtman | 2017-03-06 | 4 | -2/+891 |
| | |||||
* | Move template metadata processing into askama crate | Dirkjan Ochtman | 2017-02-17 | 1 | -31/+1 |
| | |||||
* | Define struct to represent template metadata | Dirkjan Ochtman | 2017-02-17 | 1 | -9/+23 |
| | |||||
* | Simplify derive_template() function | Dirkjan Ochtman | 2017-02-08 | 1 | -5/+2 |
| | |||||
* | Simplify code to find template path | Dirkjan Ochtman | 2017-02-08 | 1 | -23/+10 |
| | |||||
* | Expose less granular API in askama crate | Dirkjan Ochtman | 2017-02-08 | 1 | -17/+1 |
| | |||||
* | Generate path-based type aliases | Dirkjan Ochtman | 2017-02-05 | 1 | -1/+1 |
| | |||||
* | Improve name and ownership of AST vector | Dirkjan Ochtman | 2017-02-05 | 1 | -2/+2 |
| | |||||
* | Pass entire AST to code generator | Dirkjan Ochtman | 2017-02-04 | 1 | -2/+1 |
| | |||||
* | Upgrade to syn-0.11 | Dirkjan Ochtman | 2017-02-04 | 1 | -1/+1 |
| | |||||
* | Remove unneeded feature(proc_macro) annotation | Dirkjan Ochtman | 2017-02-02 | 1 | -2/+0 |
| | |||||
* | Move parser and generator code into askama crate | Dirkjan Ochtman | 2017-01-07 | 3 | -187/+3 |
| | |||||
* | Get rid of unused quote dependency | Dirkjan Ochtman | 2017-01-07 | 1 | -2/+0 |
| | |||||
* | Add parser and code generator support for Filter expressions | Dirkjan Ochtman | 2017-01-06 | 2 | -4/+37 |
| | |||||
* | Separate writing to buffer and node visitation in generator | Dirkjan Ochtman | 2017-01-06 | 1 | -12/+15 |
| | |||||
* | Rename askama_codegen to askama_derive | Dirkjan Ochtman | 2017-01-03 | 3 | -0/+216 |
This appears to be best practice for crates using macros 1.1. |