Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Improve formatting of generated code | Dirkjan Ochtman | 2017-02-12 | 1 | -4/+5 | |
| | ||||||
* | Add test for using base template directly | Dirkjan Ochtman | 2017-02-12 | 1 | -0/+6 | |
| | ||||||
* | Refactor implementation of template inheritance | Dirkjan Ochtman | 2017-02-12 | 1 | -13/+40 | |
| | | | | This is somewhat less complicated, and should support variables better. | |||||
* | Rename functions to move away from 'into' suffix | Dirkjan Ochtman | 2017-02-12 | 2 | -8/+8 | |
| | | | | This is idiomatically used for type conversions. | |||||
* | Use is_none() for simple Option tests | Dirkjan Ochtman | 2017-02-08 | 1 | -2/+2 | |
| | ||||||
* | 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 | |
| | ||||||
* | Extract template_dir() helper method | Dirkjan Ochtman | 2017-02-08 | 1 | -5/+8 | |
| | ||||||
* | Expose less granular API in askama crate | Dirkjan Ochtman | 2017-02-08 | 3 | -23/+24 | |
| | ||||||
* | Move build script helper code into askama crate | Dirkjan Ochtman | 2017-02-08 | 4 | -23/+33 | |
| | ||||||
* | Add build script to force rebuild on template changes | Dirkjan Ochtman | 2017-02-08 | 2 | -0/+27 | |
| | ||||||
* | Fix some bugs in whitespace handling | Dirkjan Ochtman | 2017-02-08 | 2 | -9/+24 | |
| | ||||||
* | Implement generator support for whitespace handling markers | Dirkjan Ochtman | 2017-02-08 | 3 | -32/+117 | |
| | ||||||
* | Move handling of Node::Lit parts into write_lit() method | Dirkjan Ochtman | 2017-02-08 | 1 | -7/+5 | |
| | ||||||
* | Simplify write_lit() method | Dirkjan Ochtman | 2017-02-08 | 1 | -3/+1 | |
| | ||||||
* | Convert everything to &str in the parser code | Dirkjan Ochtman | 2017-02-08 | 2 | -28/+37 | |
| | ||||||
* | Add support for whitespace handling markers to parser | Dirkjan Ochtman | 2017-02-08 | 2 | -22/+47 | |
| | ||||||
* | Improve readability of parser macro invocations | Dirkjan Ochtman | 2017-02-08 | 1 | -15/+26 | |
| | ||||||
* | Simplify code generation for block definitions | Dirkjan Ochtman | 2017-02-08 | 1 | -22/+17 | |
| | ||||||
* | Test all crates in the workspace | Dirkjan Ochtman | 2017-02-08 | 1 | -1/+1 | |
| | ||||||
* | Add unit tests for whitespace splitter | Dirkjan Ochtman | 2017-02-08 | 1 | -0/+23 | |
| | ||||||
* | Split leading and trailing whitespace out of literals | Dirkjan Ochtman | 2017-02-08 | 2 | -5/+29 | |
| | ||||||
* | Add basic Travis configuration | Dirkjan Ochtman | 2017-02-08 | 1 | -0/+8 | |
| | ||||||
* | Assorted cleanups as suggested by clippy | Dirkjan Ochtman | 2017-02-08 | 2 | -3/+3 | |
| | ||||||
* | Simplify types for Nodes and Conds, pass slice where possible | Dirkjan Ochtman | 2017-02-08 | 2 | -13/+12 | |
| | ||||||
* | Stop taking references where unneeded | Dirkjan Ochtman | 2017-02-08 | 1 | -10/+10 | |
| | ||||||
* | Purge useless format!() calls | Dirkjan Ochtman | 2017-02-08 | 1 | -2/+2 | |
| | ||||||
* | Deref in match header as suggested by clippy | Dirkjan Ochtman | 2017-02-08 | 1 | -17/+17 | |
| | ||||||
* | Fold identical branches in parser (as suggested by clippy) | Dirkjan Ochtman | 2017-02-08 | 1 | -3/+1 | |
| | ||||||
* | Implement basic support for template inheritance | Dirkjan Ochtman | 2017-02-05 | 4 | -2/+121 | |
| | ||||||
* | Simplify writing of template struct impl | Dirkjan Ochtman | 2017-02-05 | 1 | -9/+4 | |
| | ||||||
* | Extract helper function from Generator class | Dirkjan Ochtman | 2017-02-05 | 1 | -15/+15 | |
| | ||||||
* | Add parser support for block and extend blocks | Dirkjan Ochtman | 2017-02-05 | 2 | -1/+32 | |
| | ||||||
* | Allow zero nodes in top-level parser | Dirkjan Ochtman | 2017-02-05 | 1 | -1/+1 | |
| | ||||||
* | Generate path-based type aliases | Dirkjan Ochtman | 2017-02-05 | 2 | -2/+25 | |
| | ||||||
* | Improve name and ownership of AST vector | Dirkjan Ochtman | 2017-02-05 | 2 | -8/+8 | |
| | ||||||
* | Clarify code around writing template impl | Dirkjan Ochtman | 2017-02-05 | 1 | -8/+6 | |
| | ||||||
* | Move some code around to group related parts | Dirkjan Ochtman | 2017-02-05 | 1 | -27/+27 | |
| | ||||||
* | Add test for string literals | Dirkjan Ochtman | 2017-02-05 | 2 | -0/+12 | |
| | ||||||
* | Add support for string literals | Dirkjan Ochtman | 2017-02-05 | 2 | -1/+14 | |
| | ||||||
* | Extend Template API to avoid need for multiple buffers | Dirkjan Ochtman | 2017-02-05 | 2 | -7/+10 | |
| | ||||||
* | Upgrade to nom-2.1 | Dirkjan Ochtman | 2017-02-04 | 1 | -1/+1 | |
| | ||||||
* | Add tests for all 6 comparison operators | Dirkjan Ochtman | 2017-02-04 | 3 | -6/+11 | |
| | ||||||
* | Generalize support for comparison operators | Dirkjan Ochtman | 2017-02-04 | 2 | -8/+14 | |
| | ||||||
* | Simplify parsing of if-blocks | Dirkjan Ochtman | 2017-02-04 | 1 | -2/+1 | |
| | ||||||
* | Fix incorrect indentation | Dirkjan Ochtman | 2017-02-04 | 1 | -3/+3 | |
| | ||||||
* | Add test for == operator | Dirkjan Ochtman | 2017-02-04 | 2 | -0/+20 | |
| | ||||||
* | Add support for == operator | Dirkjan Ochtman | 2017-02-04 | 2 | -4/+20 | |
| | ||||||
* | Use &str instead of String for test cases | Dirkjan Ochtman | 2017-02-04 | 1 | -6/+6 | |
| | ||||||
* | Add support for lifetime annotations on template structs | Dirkjan Ochtman | 2017-02-04 | 1 | -3/+21 | |
| |