Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use Contexts to keep per-template state | Dirkjan Ochtman | 2018-06-21 | 2 | -111/+153 |
| | |||||
* | Store TemplateInput in Generator | Dirkjan Ochtman | 2018-06-21 | 1 | -45/+35 |
| | |||||
* | Get rid of Generator::default() method | Dirkjan Ochtman | 2018-06-21 | 1 | -5/+1 |
| | |||||
* | 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 | 20 | -184/+281 |
| | |||||
* | Inline TemplateMeta into TemplateInput | Dirkjan Ochtman | 2018-06-21 | 3 | -27/+24 |
| | |||||
* | Let build_template() own the template source | Dirkjan Ochtman | 2018-06-21 | 2 | -18/+17 |
| | |||||
* | Rename variable for consistency | Dirkjan Ochtman | 2018-06-21 | 1 | -5/+5 |
| | |||||
* | Use struct name for inline templates | Dirkjan Ochtman | 2018-06-16 | 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 | 2 | -45/+17 |
| | |||||
* | Set up State contents in generate() to prevent borrowing issues | Dirkjan Ochtman | 2018-06-15 | 1 | -64/+57 |
| | |||||
* | Port parser to nom 4 | Dirkjan Ochtman | 2018-06-15 | 2 | -68/+80 |
| | |||||
* | Leverage binding modes to make pattern matching more robust (fixes #94) | Dirkjan Ochtman | 2018-06-14 | 1 | -11/+5 |
| | |||||
* | Converted error-chain based error to enum based error | Philipp Korber | 2018-06-04 | 4 | -15/+98 |
| | | | | | | | - now implements `Send` + `Sync` + `'static` - still implements `std::error::Error`, `Debug`, `Display`, `From<std::fmt::Error>`, `From<::serde_json::Error>` | ||||
* | Expand documentation on whitespace suppression (fixes #80) | Dirkjan Ochtman | 2018-06-04 | 1 | -4/+18 |
| | |||||
* | Simplify code according to clippy suggestions | Dirkjan Ochtman | 2018-05-27 | 1 | -6/+3 |
| | |||||
* | Add note about calling methods and warn about stack overflow | Dirkjan Ochtman | 2018-05-27 | 1 | -0/+6 |
| | |||||
* | Reformat and rename method testing tests for better organization | Dirkjan Ochtman | 2018-05-27 | 1 | -13/+14 |
| | |||||
* | Add tests for calling methods on self | Mika Lehtinen | 2018-05-27 | 1 | -0/+42 |
| | |||||
* | Allow methods to be called on self | Dirkjan Ochtman | 2018-05-27 | 1 | -1/+6 |
| | |||||
* | Make inheritance example more interesting | Dirkjan Ochtman | 2018-05-27 | 1 | -1/+1 |
| | |||||
* | Fix typo in inheritance documentation (fixes #90) | Dirkjan Ochtman | 2018-05-27 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | Switch to SVG for Gitter badge | Dirkjan Ochtman | 2018-05-22 | 1 | -1/+1 |
| | |||||
* | Add newline to fix testimonial layout | Dirkjan Ochtman | 2018-05-22 | 1 | -0/+1 |
| | |||||
* | Add testimonial from Nikolay Kim | Dirkjan Ochtman | 2018-05-22 | 1 | -0/+3 |
| | |||||
* | 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 | 4 | -24/+26 |
| | |||||
* | Remove forgotten debugging cruft | Dirkjan Ochtman | 2018-05-21 | 1 | -2/+2 |
| | |||||
* | Forgot to add new test templates | Dirkjan Ochtman | 2018-05-21 | 2 | -0/+8 |
| | |||||
* | Add support for nested blocks (fixes #85) | Dirkjan Ochtman | 2018-05-20 | 2 | -4/+50 |
| | |||||
* | Fix suggestions from clippy | Dirkjan Ochtman | 2018-05-16 | 1 | -5/+4 |
| | |||||
* | Fix copy/paste error in whitespace handling | Dirkjan Ochtman | 2018-05-14 | 1 | -2/+2 |
| | |||||
* | Bump version numbers to 0.6.4 | Dirkjan Ochtman | 2018-04-27 | 2 | -3/+3 |
| | |||||
* | Add test for unary - operator | Dirkjan Ochtman | 2018-04-27 | 1 | -0/+13 |
| | |||||
* | Add test for ! operator (see #83) | Dirkjan Ochtman | 2018-04-27 | 1 | -0/+13 |
| | |||||
* | Add support for unary operators (fixes #83) | Dirkjan Ochtman | 2018-04-27 | 2 | -1/+18 |
| | |||||
* | Bump versions to 0.6.3 | Dirkjan Ochtman | 2018-04-19 | 2 | -3/+3 |
| | |||||
* | Add test for filter in let statement | Dirkjan Ochtman | 2018-04-19 | 1 | -0/+22 |
| | |||||
* | Fix issues with expression code interleaving with statements (see #78) | Dirkjan Ochtman | 2018-04-19 | 1 | -20/+16 |
| | |||||
* | Version bump to 0.6.2 | Dirkjan Ochtman | 2018-04-18 | 3 | -6/+6 |
| | |||||
* | Properly handle whitespace around comments (fixes #79) | Dirkjan Ochtman | 2018-04-17 | 3 | -4/+22 |
| | |||||
* | Add test for nested filters with references (see #76) | Dirkjan Ochtman | 2018-04-17 | 1 | -0/+18 |
| |