Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-06-22 | Implement support for the 'super' macro | Dirkjan Ochtman | 1 | -26/+59 | |
2018-06-22 | Disallow user-defined macros named 'super' | Dirkjan Ochtman | 1 | -9/+14 | |
2018-06-22 | Keep track of ancestor blocks in Heritage | Dirkjan Ochtman | 1 | -7/+8 | |
2018-06-22 | Fix formatting with cargo fmt | Dirkjan Ochtman | 1 | -4/+1 | |
2018-06-22 | Allow flattened types for inheriting templates | Dirkjan Ochtman | 1 | -3/+1 | |
2018-06-22 | Simplify trait names for blocks traits | Dirkjan Ochtman | 1 | -15/+2 | |
2018-06-22 | Reinstate use of Deref for inherited variable access | Dirkjan Ochtman | 1 | -19/+22 | |
2018-06-22 | Fix formatting with cargo fmt | Dirkjan Ochtman | 2 | -5/+7 | |
2018-06-21 | Flatten inherited blocks for code generation | Dirkjan Ochtman | 2 | -140/+127 | |
2018-06-21 | Store parent field type in TemplateInput | Dirkjan Ochtman | 2 | -17/+19 | |
2018-06-21 | Store extends path in Context | Dirkjan Ochtman | 2 | -15/+14 | |
2018-06-21 | Clean up clippy suggestions | Dirkjan Ochtman | 2 | -41/+41 | |
2018-06-21 | Use Contexts to keep per-template state | Dirkjan Ochtman | 2 | -111/+153 | |
2018-06-21 | Store TemplateInput in Generator | Dirkjan Ochtman | 1 | -45/+35 | |
2018-06-21 | Get rid of Generator::default() method | Dirkjan Ochtman | 1 | -5/+1 | |
2018-06-21 | Rename State/state to Context/ctx in code generator | Dirkjan Ochtman | 1 | -70/+70 | |
2018-06-21 | Fix formatting with cargo fmt | Dirkjan Ochtman | 3 | -91/+157 | |
2018-06-21 | Inline TemplateMeta into TemplateInput | Dirkjan Ochtman | 3 | -27/+24 | |
2018-06-21 | Let build_template() own the template source | Dirkjan Ochtman | 2 | -18/+17 | |
2018-06-21 | Rename variable for consistency | Dirkjan Ochtman | 1 | -5/+5 | |
2018-06-16 | Use struct name for inline templates | Dirkjan Ochtman | 1 | -1/+1 | |
2018-06-16 | Restrict use of macro/import/extend nodes to the top level | Dirkjan Ochtman | 1 | -4/+4 | |
2018-06-16 | Move code around to enforce structure | Dirkjan Ochtman | 1 | -18/+18 | |
2018-06-15 | Explicitly keep track of sources and ASTs | Dirkjan Ochtman | 1 | -6/+9 | |
2018-06-15 | Handle imports as part of code generation | Dirkjan Ochtman | 2 | -45/+17 | |
2018-06-15 | Set up State contents in generate() to prevent borrowing issues | Dirkjan Ochtman | 1 | -64/+57 | |
2018-06-15 | Port parser to nom 4 | Dirkjan Ochtman | 1 | -67/+79 | |
2018-06-14 | Leverage binding modes to make pattern matching more robust (fixes #94) | Dirkjan Ochtman | 1 | -11/+5 | |
2018-05-27 | Simplify code according to clippy suggestions | Dirkjan Ochtman | 1 | -6/+3 | |
2018-05-27 | Allow methods to be called on self | Dirkjan Ochtman | 1 | -1/+6 | |
2018-05-25 | Simplify generated code by propagating final expressions | Dirkjan Ochtman | 1 | -5/+4 | |
2018-05-25 | Extract path rooting to simplify trait_name_for_path() | Dirkjan Ochtman | 1 | -8/+8 | |
2018-05-25 | Simplify types in generator State creation | Dirkjan Ochtman | 1 | -10/+10 | |
2018-05-24 | Rename lifetime to 'askama to prevent conflicts (fixes #88) | Dirkjan Ochtman | 1 | -3/+3 | |
2018-05-24 | Fix lifetime arguments to Rocket impls (fixes #89) | Dirkjan Ochtman | 1 | -1/+1 | |
Broken during the upgrade to syn-0.14/quote-0.6. | |||||
2018-05-21 | Warn about blocks that are nested inside something other than blocks | Dirkjan Ochtman | 1 | -1/+6 | |
2018-05-21 | Upgrade to syn-0.14 and quote-0.6 | Dirkjan Ochtman | 3 | -22/+23 | |
2018-05-20 | Add support for nested blocks (fixes #85) | Dirkjan Ochtman | 1 | -4/+32 | |
2018-05-16 | Fix suggestions from clippy | Dirkjan Ochtman | 1 | -5/+4 | |
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 | 2 | -1/+18 | |
2018-04-19 | Fix issues with expression code interleaving with statements (see #78) | Dirkjan Ochtman | 1 | -20/+16 | |
2018-04-17 | Properly handle whitespace around comments (fixes #79) | Dirkjan Ochtman | 2 | -4/+11 | |
2018-04-17 | Name function call expressions before passing as an argument (fixes #78) | Dirkjan Ochtman | 1 | -13/+26 | |
2018-04-17 | Use a temporary buffer to build expressions | Dirkjan Ochtman | 1 | -88/+104 | |
2018-04-12 | Isolate proc-macro dependency to the proc macro | David Tolnay | 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. | |||||
2018-01-09 | Upgrade to syn-0.12 and quote-0.4 | Dirkjan Ochtman | 1 | -3/+3 | |
2017-09-05 | Move tightly coupled code from derive to shared crate | Dirkjan Ochtman | 1 | -111/+1 | |
2017-08-27 | Move most of the code into new askama_shared crate | Dirkjan Ochtman | 4 | -1283/+5 | |
This makes it possible to share code between askama and askama_derive. | |||||
2017-08-25 | Use block implementations in parent as defaults in trait | Dirkjan Ochtman | 1 | -11/+3 | |