Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use a temporary buffer to build expressions | Dirkjan Ochtman | 2018-04-17 | 1 | -88/+104 | |
| | ||||||
* | Isolate proc-macro dependency to the proc macro | David Tolnay | 2018-04-12 | 4 | -1/+1858 | |
| | | | | | | | | | 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. | |||||
* | Upgrade to syn-0.12 and quote-0.4 | Dirkjan Ochtman | 2018-01-09 | 1 | -3/+3 | |
| | ||||||
* | Move tightly coupled code from derive to shared crate | Dirkjan Ochtman | 2017-09-05 | 1 | -111/+1 | |
| | ||||||
* | Move most of the code into new askama_shared crate | Dirkjan Ochtman | 2017-08-27 | 4 | -1283/+5 | |
| | | | | This makes it possible to share code between askama and askama_derive. | |||||
* | Use block implementations in parent as defaults in trait | Dirkjan Ochtman | 2017-08-25 | 1 | -11/+3 | |
| | ||||||
* | Allow {% block name %} {% endblock name %} | Bastien Orivel | 2017-08-24 | 1 | -0/+1 | |
| | | | | This makes converting an app from tera to askama easier. | |||||
* | Add support for user-defined filters | Dirkjan Ochtman | 2017-08-24 | 1 | -1/+15 | |
| | ||||||
* | Add optional support for Rocket | Dirkjan Ochtman | 2017-08-23 | 1 | -0/+24 | |
| | ||||||
* | Allow passing extra annotation parameters to impl headers | Dirkjan Ochtman | 2017-08-23 | 1 | -13/+28 | |
| | ||||||
* | Optionally implement Iron's Modifier<Response> for templates | Dirkjan Ochtman | 2017-08-23 | 1 | -0/+12 | |
| | ||||||
* | Add support for calling macros | Dirkjan Ochtman | 2017-08-22 | 2 | -13/+44 | |
| | ||||||
* | Refactor parser handling of arguments | Dirkjan Ochtman | 2017-08-22 | 1 | -21/+19 | |
| | ||||||
* | Implement support for macro definition handling | Dirkjan Ochtman | 2017-08-22 | 2 | -8/+59 | |
| | ||||||
* | Rename method call internals for clarity | Dirkjan Ochtman | 2017-08-22 | 2 | -5/+5 | |
| | ||||||
* | Change filters to return Result | Dirkjan Ochtman | 2017-08-21 | 1 | -0/+3 | |
| | ||||||
* | Support specifying template source as an attribute | Dirkjan Ochtman | 2017-08-16 | 1 | -11/+29 | |
| | ||||||
* | Pass path to code generation as Path | Dirkjan Ochtman | 2017-08-16 | 2 | -10/+8 | |
| | ||||||
* | Change find_template_from_path() to take Path as start_at argument | Dirkjan Ochtman | 2017-08-16 | 2 | -7/+7 | |
| | ||||||
* | Simplify relative path handling in find_template_from_path() | Dirkjan Ochtman | 2017-08-16 | 1 | -10/+7 | |
| | ||||||
* | Use reference into AST for template path instead of cloning | Dirkjan Ochtman | 2017-08-16 | 1 | -4/+4 | |
| | ||||||
* | Use enum for print option value | Dirkjan Ochtman | 2017-08-16 | 1 | -5/+26 | |
| | ||||||
* | Allow separation of variable declaration and defintion | Dirkjan Ochtman | 2017-08-16 | 2 | -4/+27 | |
| | ||||||
* | Add support for simple variable definition statements | Dirkjan Ochtman | 2017-08-14 | 2 | -0/+27 | |
| | ||||||
* | Introduce and clean up scopes where necessary | Dirkjan Ochtman | 2017-08-14 | 1 | -0/+6 | |
| | ||||||
* | Assert invariant for SetChain implementation | Dirkjan Ochtman | 2017-08-14 | 1 | -0/+1 | |
| | ||||||
* | Use error-chain to create a crate-specific Error type | Dirkjan Ochtman | 2017-08-14 | 1 | -2/+2 | |
| | ||||||
* | Define type askama::Result to use for all rendering methods | Dirkjan Ochtman | 2017-08-14 | 1 | -7/+7 | |
| | ||||||
* | Generate with full path to Result | Anthony Nowell | 2017-08-13 | 1 | -7/+7 | |
| | ||||||
* | Inline scope tracking abstraction again | Dirkjan Ochtman | 2017-08-10 | 1 | -24/+6 | |
| | ||||||
* | Keep better track of nested scope through scope chains | Dirkjan Ochtman | 2017-08-10 | 1 | -17/+50 | |
| | ||||||
* | Replace unwrap() with expect() call for parent type finding | Dirkjan Ochtman | 2017-08-10 | 1 | -1/+3 | |
| | ||||||
* | Add note to template_dir() about being duplicated | Dirkjan Ochtman | 2017-08-10 | 1 | -0/+1 | |
| | ||||||
* | Prevent allocations for loop target names | Dirkjan Ochtman | 2017-08-10 | 1 | -3/+3 | |
| | ||||||
* | Implement Display for all Templates | Dirkjan Ochtman | 2017-08-10 | 1 | -0/+10 | |
| | ||||||
* | Propagate format errors and rename `render_to()` to `render_into()` | Dirkjan Ochtman | 2017-08-10 | 1 | -15/+24 | |
| | ||||||
* | Add helper methods to abstract away dealing with scopes | Dirkjan Ochtman | 2017-08-08 | 1 | -3/+17 | |
| | ||||||
* | Add some comments to clarify structure of the code generator | Dirkjan Ochtman | 2017-08-08 | 1 | -0/+8 | |
| | ||||||
* | Reorganize code order in askama_derive modules | Dirkjan Ochtman | 2017-08-08 | 3 | -137/+137 | |
| | ||||||
* | Clean up use statements in code generator | Dirkjan Ochtman | 2017-08-08 | 1 | -1/+4 | |
| | ||||||
* | Implement Deref<Parent> for inheriting templates (fixes #28) | Dirkjan Ochtman | 2017-08-08 | 1 | -0/+31 | |
| | ||||||
* | Refactor handling of paths and trait names | Dirkjan Ochtman | 2017-08-08 | 1 | -18/+20 | |
| | ||||||
* | Move path_as_identifier() closer to driver | Dirkjan Ochtman | 2017-08-08 | 1 | -12/+12 | |
| | ||||||
* | Add some comments to clarify code generator methods | Dirkjan Ochtman | 2017-08-08 | 1 | -0/+6 | |
| | ||||||
* | Simplify write_header() method by taking trait name directly | Dirkjan Ochtman | 2017-08-08 | 1 | -12/+6 | |
| | ||||||
* | Share HashSet for locals among nested Generators | Dirkjan Ochtman | 2017-08-06 | 1 | -10/+14 | |
| | ||||||
* | Expand include node to template source during code generation | Dirkjan Ochtman | 2017-08-06 | 2 | -7/+7 | |
| | ||||||
* | Use one way of finding templates on the path | Dirkjan Ochtman | 2017-08-06 | 3 | -5/+7 | |
| | ||||||
* | Merge handling of trailing newline into get_template_source() | Dirkjan Ochtman | 2017-08-06 | 3 | -15/+9 | |
| | ||||||
* | Add test for path::get_template_source() | Dirkjan Ochtman | 2017-08-06 | 1 | -1/+6 | |
| |