Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix issues with expression code interleaving with statements (see #78) | 2018-04-19 | 1 | -20/+16 | |
| | |||||
* | Properly handle whitespace around comments (fixes #79) | 2018-04-17 | 1 | -1/+7 | |
| | |||||
* | Name function call expressions before passing as an argument (fixes #78) | 2018-04-17 | 1 | -13/+26 | |
| | |||||
* | Use a temporary buffer to build expressions | 2018-04-17 | 1 | -88/+104 | |
| | |||||
* | Isolate proc-macro dependency to the proc macro | 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 | 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 | 2017-08-25 | 1 | -11/+3 | |
| | |||||
* | Add support for user-defined filters | 2017-08-24 | 1 | -1/+15 | |
| | |||||
* | Add optional support for Rocket | 2017-08-23 | 1 | -0/+24 | |
| | |||||
* | Allow passing extra annotation parameters to impl headers | 2017-08-23 | 1 | -13/+28 | |
| | |||||
* | Optionally implement Iron's Modifier<Response> for templates | 2017-08-23 | 1 | -0/+12 | |
| | |||||
* | Add support for calling macros | 2017-08-22 | 1 | -0/+20 | |
| | |||||
* | Implement support for macro definition handling | 2017-08-22 | 1 | -7/+16 | |
| | |||||
* | Rename method call internals for clarity | 2017-08-22 | 1 | -3/+3 | |
| | |||||
* | Change filters to return Result | 2017-08-21 | 1 | -0/+3 | |
| | |||||
* | Pass path to code generation as Path | 2017-08-16 | 1 | -9/+5 | |
| | |||||
* | Change find_template_from_path() to take Path as start_at argument | 2017-08-16 | 1 | -2/+2 | |
| | |||||
* | Allow separation of variable declaration and defintion | 2017-08-16 | 1 | -1/+16 | |
| | |||||
* | Add support for simple variable definition statements | 2017-08-14 | 1 | -0/+15 | |
| | |||||
* | Introduce and clean up scopes where necessary | 2017-08-14 | 1 | -0/+6 | |
| | |||||
* | Assert invariant for SetChain implementation | 2017-08-14 | 1 | -0/+1 | |
| | |||||
* | Use error-chain to create a crate-specific Error type | 2017-08-14 | 1 | -2/+2 | |
| | |||||
* | Define type askama::Result to use for all rendering methods | 2017-08-14 | 1 | -7/+7 | |
| | |||||
* | Generate with full path to Result | 2017-08-13 | 1 | -7/+7 | |
| | |||||
* | Inline scope tracking abstraction again | 2017-08-10 | 1 | -24/+6 | |
| | |||||
* | Keep better track of nested scope through scope chains | 2017-08-10 | 1 | -17/+50 | |
| | |||||
* | Replace unwrap() with expect() call for parent type finding | 2017-08-10 | 1 | -1/+3 | |
| | |||||
* | Prevent allocations for loop target names | 2017-08-10 | 1 | -3/+3 | |
| | |||||
* | Implement Display for all Templates | 2017-08-10 | 1 | -0/+10 | |
| | |||||
* | Propagate format errors and rename `render_to()` to `render_into()` | 2017-08-10 | 1 | -15/+24 | |
| | |||||
* | Add helper methods to abstract away dealing with scopes | 2017-08-08 | 1 | -3/+17 | |
| | |||||
* | Add some comments to clarify structure of the code generator | 2017-08-08 | 1 | -0/+8 | |
| | |||||
* | Reorganize code order in askama_derive modules | 2017-08-08 | 1 | -82/+82 | |
| | |||||
* | Clean up use statements in code generator | 2017-08-08 | 1 | -1/+4 | |
| | |||||
* | Implement Deref<Parent> for inheriting templates (fixes #28) | 2017-08-08 | 1 | -0/+31 | |
| | |||||
* | Refactor handling of paths and trait names | 2017-08-08 | 1 | -18/+20 | |
| | |||||
* | Move path_as_identifier() closer to driver | 2017-08-08 | 1 | -12/+12 | |
| | |||||
* | Add some comments to clarify code generator methods | 2017-08-08 | 1 | -0/+6 | |
| | |||||
* | Simplify write_header() method by taking trait name directly | 2017-08-08 | 1 | -12/+6 | |
| | |||||
* | Share HashSet for locals among nested Generators | 2017-08-06 | 1 | -10/+14 | |
| | |||||
* | Expand include node to template source during code generation | 2017-08-06 | 1 | -3/+5 | |
| | |||||
* | Allow parent templates to be specified as relative paths (fixes #26) | 2017-08-06 | 1 | -4/+12 | |
| | |||||
* | Add support for include blocks (see #25) | 2017-08-04 | 1 | -5/+25 | |
| | |||||
* | Reference askama and std from the global scope (fixes #17) | 2017-03-11 | 1 | -8/+8 | |
| | | | | | | With this change, importing `std` and `askama` into modules where templates are defined is no longer necessary. `askama::Template` must still be imported in scopes where methods of the `Template` trait are called. | ||||
* | Remove type parameter defaults from impls (fixes #12) | 2017-03-08 | 1 | -1/+3 | |
| | |||||
* | Use if let to better handle Option type | 2017-03-08 | 1 | -2/+2 | |
| | |||||
* | Copy type parameters and where clauses (fixes #11) | 2017-03-08 | 1 | -9/+39 | |
| | |||||
* | Inline annotations() helper into write_header() | 2017-03-07 | 1 | -14/+9 | |
| | |||||
* | Extract writing of impl headers in generator | 2017-03-07 | 1 | -10/+14 | |
| | |||||
* | Use enumerate() for much simpler loop indexes (fixes #10) | 2017-03-06 | 1 | -23/+5 | |
| |