Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Simplify get_template_source() by using fs::read_to_string() | Dirkjan Ochtman | 2018-07-10 | 1 | -11/+8 | |
| | ||||||
* | Use Config type for build script helper | Dirkjan Ochtman | 2018-07-10 | 2 | -7/+3 | |
| | ||||||
* | Move Config struct to askama_shared crate root | Dirkjan Ochtman | 2018-07-10 | 2 | -39/+42 | |
| | ||||||
* | Rename Config::from_file() to Config::new() | Dirkjan Ochtman | 2018-07-10 | 1 | -3/+3 | |
| | ||||||
* | Simplify find_template_from_path() to use Config directly | Dirkjan Ochtman | 2018-07-10 | 1 | -12/+9 | |
| | ||||||
* | Stop searching for templates used as relative roots | Dirkjan Ochtman | 2018-07-10 | 1 | -13/+12 | |
| | ||||||
* | Get template sources directly from absolute paths | Dirkjan Ochtman | 2018-07-10 | 1 | -22/+15 | |
| | ||||||
* | Simplify code to read configuration | Dirkjan Ochtman | 2018-07-10 | 1 | -29/+16 | |
| | ||||||
* | Simplify handling of file open errors | Dirkjan Ochtman | 2018-07-10 | 1 | -4/+3 | |
| | ||||||
* | Reorder items in top-down order | Dirkjan Ochtman | 2018-07-10 | 1 | -22/+22 | |
| | ||||||
* | Add complete support for multiple template dirs | mash | 2018-07-10 | 1 | -43/+63 | |
| | ||||||
* | Add partial support for multiple template dirs | mash | 2018-07-10 | 2 | -1/+35 | |
| | ||||||
* | Fix formatting with cargo fmt | Dirkjan Ochtman | 2018-07-02 | 1 | -3/+12 | |
| | ||||||
* | Added linebreaks and linebreaksbr filters | Aaron Power | 2018-06-29 | 1 | -1/+32 | |
| | ||||||
* | Add support for 'truncate' filter (see #95) | Dirkjan Ochtman | 2018-06-25 | 1 | -1/+14 | |
| | ||||||
* | Allow accidentally disabled join filter | Dirkjan Ochtman | 2018-06-23 | 1 | -1/+2 | |
| | ||||||
* | Fix formatting with cargo fmt | Dirkjan Ochtman | 2018-06-21 | 6 | -39/+58 | |
| | ||||||
* | Converted error-chain based error to enum based error | Philipp Korber | 2018-06-04 | 3 | -14/+98 | |
| | | | | | | | - now implements `Send` + `Sync` + `'static` - still implements `std::error::Error`, `Debug`, `Display`, `From<std::fmt::Error>`, `From<::serde_json::Error>` | |||||
* | Isolate proc-macro dependency to the proc macro | David Tolnay | 2018-04-12 | 4 | -1860/+0 | |
| | | | | | | | | | 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. | |||||
* | Handle a lack of whitespace after match block (fixes #76) | Dirkjan Ochtman | 2018-04-12 | 2 | -8/+11 | |
| | ||||||
* | Improve error message when template is not found | Dirkjan Ochtman | 2018-04-09 | 1 | -1/+1 | |
| | ||||||
* | Fix whitespace handling for include blocks (fixes #69) | Dirkjan Ochtman | 2018-04-02 | 1 | -2/+2 | |
| | ||||||
* | Cleanup warnings generated by clippy | Dirkjan Ochtman | 2018-01-22 | 3 | -13/+21 | |
| | ||||||
* | Don't copy trait parameters to type generics (fixes #65) | Dirkjan Ochtman | 2018-01-21 | 1 | -2/+3 | |
| | ||||||
* | Use push() instead of push_value() to add type parameters (fixes #65) | Dirkjan Ochtman | 2018-01-20 | 1 | -1/+1 | |
| | | | | | | push_value() requires taking care of the surrounding punctuation, which push() should handle for us. See this issue reported in syn: https://github.com/dtolnay/syn/issues/338 | |||||
* | infer Content-type from the file extension for iron integration | Hajime Fukuda | 2018-01-19 | 1 | -0/+9 | |
| | ||||||
* | Upgrade to syn-0.12 and quote-0.4 | Dirkjan Ochtman | 2018-01-09 | 3 | -107/+70 | |
| | ||||||
* | Properly disable rustfmt in parser module | Dirkjan Ochtman | 2017-12-25 | 1 | -2/+1 | |
| | ||||||
* | Make generated traits public for use in other modules (fixes #61) | Dirkjan Ochtman | 2017-12-25 | 1 | -1/+1 | |
| | ||||||
* | Disabling rustfmt locally doesn't work in stable Rust | Dirkjan Ochtman | 2017-11-21 | 1 | -2/+2 | |
| | ||||||
* | Don't restyle code in parser module | Dirkjan Ochtman | 2017-11-21 | 1 | -0/+4 | |
| | ||||||
* | Apply suggestions from rustfmt to improve style | Dirkjan Ochtman | 2017-11-21 | 7 | -68/+86 | |
| | ||||||
* | Limit line length to < 100 characters | Dirkjan Ochtman | 2017-11-07 | 1 | -2/+4 | |
| | ||||||
* | Add some documentation for whitespace suppression helpers | Dirkjan Ochtman | 2017-11-07 | 1 | -0/+8 | |
| | ||||||
* | Improve error about unsupported annotation key | Dirkjan Ochtman | 2017-11-07 | 1 | -1/+1 | |
| | ||||||
* | Support matching custom enums | Anthony Nowell | 2017-11-02 | 2 | -7/+54 | |
| | ||||||
* | Make match ref/deref as needed | Anthony Nowell | 2017-11-02 | 1 | -1/+24 | |
| | | | | | Much of this can be yanked out and made simpler when match-modes lands in stable | |||||
* | support literals in match arms | Anthony Nowell | 2017-11-02 | 2 | -11/+67 | |
| | ||||||
* | support else in match block | Anthony Nowell | 2017-11-02 | 1 | -0/+15 | |
| | ||||||
* | implement basic match functionality | Anthony Nowell | 2017-11-02 | 2 | -1/+95 | |
| | ||||||
* | Make empty string literals work | Dirkjan Ochtman | 2017-10-22 | 1 | -1/+1 | |
| | ||||||
* | Tighten up parser code for path expressions | Dirkjan Ochtman | 2017-10-20 | 1 | -4/+2 | |
| | ||||||
* | Add support for array literals (fixes #59) | Dirkjan Ochtman | 2017-10-20 | 2 | -0/+31 | |
| | ||||||
* | Add some whitespace to write_call() | Dirkjan Ochtman | 2017-10-15 | 1 | -0/+3 | |
| | ||||||
* | Wrap some overly long lines | Dirkjan Ochtman | 2017-10-15 | 1 | -2/+5 | |
| | ||||||
* | Add scope when importing macros | Lars Erik Rosengren | 2017-10-15 | 3 | -24/+39 | |
| | ||||||
* | Remove spurious call to dedent() | Dirkjan Ochtman | 2017-10-14 | 1 | -1/+0 | |
| | ||||||
* | Add panic to make sure indentation mismatches are detected | Dirkjan Ochtman | 2017-10-14 | 1 | -0/+3 | |
| | ||||||
* | Handle path expressions (fixes #56) | Dirkjan Ochtman | 2017-10-04 | 2 | -0/+29 | |
| | ||||||
* | Add a clarifying comment about whitespace in write_call() | Dirkjan Ochtman | 2017-10-01 | 1 | -1/+1 | |
| |