Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename State/state to Context/ctx in code generator | Dirkjan Ochtman | 2018-06-21 | 1 | -70/+70 |
| | |||||
* | Fix formatting with cargo fmt | Dirkjan Ochtman | 2018-06-21 | 1 | -81/+143 |
| | |||||
* | Inline TemplateMeta into TemplateInput | Dirkjan Ochtman | 2018-06-21 | 1 | -1/+1 |
| | |||||
* | Restrict use of macro/import/extend nodes to the top level | Dirkjan Ochtman | 2018-06-16 | 1 | -4/+4 |
| | |||||
* | Move code around to enforce structure | Dirkjan Ochtman | 2018-06-16 | 1 | -18/+18 |
| | |||||
* | Explicitly keep track of sources and ASTs | Dirkjan Ochtman | 2018-06-15 | 1 | -6/+9 |
| | |||||
* | Handle imports as part of code generation | Dirkjan Ochtman | 2018-06-15 | 1 | -4/+16 |
| | |||||
* | Set up State contents in generate() to prevent borrowing issues | Dirkjan Ochtman | 2018-06-15 | 1 | -64/+57 |
| | |||||
* | Leverage binding modes to make pattern matching more robust (fixes #94) | Dirkjan Ochtman | 2018-06-14 | 1 | -11/+5 |
| | |||||
* | Simplify code according to clippy suggestions | Dirkjan Ochtman | 2018-05-27 | 1 | -6/+3 |
| | |||||
* | Allow methods to be called on self | Dirkjan Ochtman | 2018-05-27 | 1 | -1/+6 |
| | |||||
* | Simplify generated code by propagating final expressions | Dirkjan Ochtman | 2018-05-25 | 1 | -5/+4 |
| | |||||
* | Extract path rooting to simplify trait_name_for_path() | Dirkjan Ochtman | 2018-05-25 | 1 | -8/+8 |
| | |||||
* | Simplify types in generator State creation | Dirkjan Ochtman | 2018-05-25 | 1 | -10/+10 |
| | |||||
* | Rename lifetime to 'askama to prevent conflicts (fixes #88) | Dirkjan Ochtman | 2018-05-24 | 1 | -3/+3 |
| | |||||
* | Fix lifetime arguments to Rocket impls (fixes #89) | Dirkjan Ochtman | 2018-05-24 | 1 | -1/+1 |
| | | | | Broken during the upgrade to syn-0.14/quote-0.6. | ||||
* | Warn about blocks that are nested inside something other than blocks | Dirkjan Ochtman | 2018-05-21 | 1 | -1/+6 |
| | |||||
* | Upgrade to syn-0.14 and quote-0.6 | Dirkjan Ochtman | 2018-05-21 | 1 | -17/+20 |
| | |||||
* | Add support for nested blocks (fixes #85) | Dirkjan Ochtman | 2018-05-20 | 1 | -4/+32 |
| | |||||
* | Fix suggestions from clippy | Dirkjan Ochtman | 2018-05-16 | 1 | -5/+4 |
| | |||||
* | Add support for unary operators (fixes #83) | Dirkjan Ochtman | 2018-04-27 | 1 | -0/+7 |
| | |||||
* | Fix issues with expression code interleaving with statements (see #78) | Dirkjan Ochtman | 2018-04-19 | 1 | -20/+16 |
| | |||||
* | Properly handle whitespace around comments (fixes #79) | Dirkjan Ochtman | 2018-04-17 | 1 | -1/+7 |
| | |||||
* | Name function call expressions before passing as an argument (fixes #78) | Dirkjan Ochtman | 2018-04-17 | 1 | -13/+26 |
| | |||||
* | 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 | 1 | -0/+918 |
| | | | | | | | | | 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. | ||||
* | Move most of the code into new askama_shared crate | Dirkjan Ochtman | 2017-08-27 | 1 | -715/+0 |
| | | | | 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 |
| | |||||
* | 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 | 1 | -0/+20 |
| | |||||
* | Implement support for macro definition handling | Dirkjan Ochtman | 2017-08-22 | 1 | -7/+16 |
| | |||||
* | Rename method call internals for clarity | Dirkjan Ochtman | 2017-08-22 | 1 | -3/+3 |
| | |||||
* | Change filters to return Result | Dirkjan Ochtman | 2017-08-21 | 1 | -0/+3 |
| | |||||
* | Pass path to code generation as Path | Dirkjan Ochtman | 2017-08-16 | 1 | -9/+5 |
| | |||||
* | Change find_template_from_path() to take Path as start_at argument | Dirkjan Ochtman | 2017-08-16 | 1 | -2/+2 |
| | |||||
* | Allow separation of variable declaration and defintion | Dirkjan Ochtman | 2017-08-16 | 1 | -1/+16 |
| | |||||
* | Add support for simple variable definition statements | Dirkjan Ochtman | 2017-08-14 | 1 | -0/+15 |
| | |||||
* | 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 |
| | |||||
* | 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 |
| |