aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-11-05Improve performance of html escapeLibravatar bott1-46/+39
2018-11-05Add f64 filterLibravatar Tomas1-1/+19
2018-11-05Add isize filterLibravatar Tomas1-1/+26
2018-10-25Fix off-by-one error with HTML escapingLibravatar Benjamin Li1-1/+2
If the second-to-last character of a string should be escaped, but not the last, the last character was not being included in the result.
2018-10-17Replace `format!()` with `to_string()` in filtersLibravatar Casey Rodarmor1-10/+10
2018-10-17Add `indent` filterLibravatar Casey Rodarmor1-1/+32
2018-10-08Remove periods from documentation sentence fragmentsLibravatar Dirkjan Ochtman1-2/+2
2018-10-08Fix formattingLibravatar Dirkjan Ochtman1-2/+7
2018-10-08Move default_syntax setting into general sectionLibravatar Dirkjan Ochtman1-21/+21
2018-10-07Handle syntax validation during Config instantiationLibravatar Dirkjan Ochtman1-16/+38
2018-10-07Remove unnecessary type declarationLibravatar Dirkjan Ochtman1-1/+1
2018-10-07Tweak error messages for language, consistencyLibravatar Dirkjan Ochtman1-2/+2
2018-10-07Reorder code for better readabilityLibravatar Dirkjan Ochtman1-48/+48
2018-10-05Add changing delimiters supportLibravatar bott1-22/+201
2018-09-25Add center filterLibravatar bott1-1/+37
2018-09-25Add wordcount filterLibravatar bott1-1/+17
2018-09-25Add capitalize filterLibravatar bott1-1/+33
2018-09-22Add absolute value filterLibravatar bott2-1/+22
2018-09-02Fix formatting with cargo fmtLibravatar Dirkjan Ochtman1-2/+4
2018-07-23Document mechanism for user-defined filters (fixes #102)Libravatar Dirkjan Ochtman1-1/+2
2018-07-23Improve documentation for built-in filtersLibravatar Dirkjan Ochtman1-10/+15
2018-07-14Make config file structure more future-proofLibravatar Dirkjan Ochtman1-4/+14
2018-07-12Add some tests for Config contentsLibravatar Dirkjan Ochtman1-0/+16
2018-07-12Enable instantiation of Config from str configurationLibravatar Dirkjan Ochtman1-13/+15
2018-07-11Move get_template_source() into askama_deriveLibravatar Dirkjan Ochtman2-30/+0
2018-07-11Move find_template_from_path() into ConfigLibravatar Dirkjan Ochtman2-66/+73
2018-07-11Fix formatting with cargo fmtLibravatar Dirkjan Ochtman2-3/+9
2018-07-11Revert to using assert_eq!() for path testsLibravatar Dirkjan Ochtman1-3/+13
2018-07-10Simplify get_template_source() by using fs::read_to_string()Libravatar Dirkjan Ochtman1-11/+8
2018-07-10Use Config type for build script helperLibravatar Dirkjan Ochtman2-7/+3
2018-07-10Move Config struct to askama_shared crate rootLibravatar Dirkjan Ochtman2-39/+42
2018-07-10Rename Config::from_file() to Config::new()Libravatar Dirkjan Ochtman1-3/+3
2018-07-10Simplify find_template_from_path() to use Config directlyLibravatar Dirkjan Ochtman1-12/+9
2018-07-10Stop searching for templates used as relative rootsLibravatar Dirkjan Ochtman1-13/+12
2018-07-10Get template sources directly from absolute pathsLibravatar Dirkjan Ochtman1-22/+15
2018-07-10Simplify code to read configurationLibravatar Dirkjan Ochtman1-29/+16
2018-07-10Simplify handling of file open errorsLibravatar Dirkjan Ochtman1-4/+3
2018-07-10Reorder items in top-down orderLibravatar Dirkjan Ochtman1-22/+22
2018-07-10Add complete support for multiple template dirsLibravatar mash1-43/+63
2018-07-10Add partial support for multiple template dirsLibravatar mash2-1/+35
2018-07-02Fix formatting with cargo fmtLibravatar Dirkjan Ochtman1-3/+12
2018-06-29Added linebreaks and linebreaksbr filtersLibravatar Aaron Power1-1/+32
2018-06-25Add support for 'truncate' filter (see #95)Libravatar Dirkjan Ochtman1-1/+14
2018-06-23Allow accidentally disabled join filterLibravatar Dirkjan Ochtman1-1/+2
2018-06-21Fix formatting with cargo fmtLibravatar Dirkjan Ochtman6-39/+58
2018-06-04Converted error-chain based error to enum based errorLibravatar Philipp Korber3-14/+98
- now implements `Send` + `Sync` + `'static` - still implements `std::error::Error`, `Debug`, `Display`, `From<std::fmt::Error>`, `From<::serde_json::Error>`
2018-04-12Isolate proc-macro dependency to the proc macroLibravatar David Tolnay4-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.
2018-04-12Handle a lack of whitespace after match block (fixes #76)Libravatar Dirkjan Ochtman2-8/+11
2018-04-09Improve error message when template is not foundLibravatar Dirkjan Ochtman1-1/+1
2018-04-02Fix whitespace handling for include blocks (fixes #69)Libravatar Dirkjan Ochtman1-2/+2