aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add support for 'truncate' filter (see #95)Libravatar Dirkjan Ochtman2018-06-251-1/+14
|
* Allow accidentally disabled join filterLibravatar Dirkjan Ochtman2018-06-231-1/+2
|
* Fix formatting with cargo fmtLibravatar Dirkjan Ochtman2018-06-216-39/+58
|
* Converted error-chain based error to enum based errorLibravatar Philipp Korber2018-06-043-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 macroLibravatar David Tolnay2018-04-124-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)Libravatar Dirkjan Ochtman2018-04-122-8/+11
|
* Improve error message when template is not foundLibravatar Dirkjan Ochtman2018-04-091-1/+1
|
* Fix whitespace handling for include blocks (fixes #69)Libravatar Dirkjan Ochtman2018-04-021-2/+2
|
* Cleanup warnings generated by clippyLibravatar Dirkjan Ochtman2018-01-223-13/+21
|
* Don't copy trait parameters to type generics (fixes #65)Libravatar Dirkjan Ochtman2018-01-211-2/+3
|
* Use push() instead of push_value() to add type parameters (fixes #65)Libravatar Dirkjan Ochtman2018-01-201-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 integrationLibravatar Hajime Fukuda2018-01-191-0/+9
|
* Upgrade to syn-0.12 and quote-0.4Libravatar Dirkjan Ochtman2018-01-093-107/+70
|
* Properly disable rustfmt in parser moduleLibravatar Dirkjan Ochtman2017-12-251-2/+1
|
* Make generated traits public for use in other modules (fixes #61)Libravatar Dirkjan Ochtman2017-12-251-1/+1
|
* Disabling rustfmt locally doesn't work in stable RustLibravatar Dirkjan Ochtman2017-11-211-2/+2
|
* Don't restyle code in parser moduleLibravatar Dirkjan Ochtman2017-11-211-0/+4
|
* Apply suggestions from rustfmt to improve styleLibravatar Dirkjan Ochtman2017-11-217-68/+86
|
* Limit line length to < 100 charactersLibravatar Dirkjan Ochtman2017-11-071-2/+4
|
* Add some documentation for whitespace suppression helpersLibravatar Dirkjan Ochtman2017-11-071-0/+8
|
* Improve error about unsupported annotation keyLibravatar Dirkjan Ochtman2017-11-071-1/+1
|
* Support matching custom enumsLibravatar Anthony Nowell2017-11-022-7/+54
|
* Make match ref/deref as neededLibravatar Anthony Nowell2017-11-021-1/+24
| | | | | Much of this can be yanked out and made simpler when match-modes lands in stable
* support literals in match armsLibravatar Anthony Nowell2017-11-022-11/+67
|
* support else in match blockLibravatar Anthony Nowell2017-11-021-0/+15
|
* implement basic match functionalityLibravatar Anthony Nowell2017-11-022-1/+95
|
* Make empty string literals workLibravatar Dirkjan Ochtman2017-10-221-1/+1
|
* Tighten up parser code for path expressionsLibravatar Dirkjan Ochtman2017-10-201-4/+2
|
* Add support for array literals (fixes #59)Libravatar Dirkjan Ochtman2017-10-202-0/+31
|
* Add some whitespace to write_call()Libravatar Dirkjan Ochtman2017-10-151-0/+3
|
* Wrap some overly long linesLibravatar Dirkjan Ochtman2017-10-151-2/+5
|
* Add scope when importing macrosLibravatar Lars Erik Rosengren2017-10-153-24/+39
|
* Remove spurious call to dedent()Libravatar Dirkjan Ochtman2017-10-141-1/+0
|
* Add panic to make sure indentation mismatches are detectedLibravatar Dirkjan Ochtman2017-10-141-0/+3
|
* Handle path expressions (fixes #56)Libravatar Dirkjan Ochtman2017-10-042-0/+29
|
* Add a clarifying comment about whitespace in write_call()Libravatar Dirkjan Ochtman2017-10-011-1/+1
|
* Add comment explaining why Extends doesn't need whitespace handlingLibravatar Dirkjan Ochtman2017-10-011-0/+2
|
* Fix whitespace handling for macros and imports (#55)Libravatar larros2017-10-011-4/+16
| | | | | | Resolves https://github.com/djc/askama/issues/52. * Fix of review comments
* Rename parse() method to macro_map()Libravatar Dirkjan Ochtman2017-09-261-1/+1
|
* Improve code compactnessLibravatar Dirkjan Ochtman2017-09-261-5/+2
|
* Insert macro parameter into locals after defining it (fixes #53)Libravatar Dirkjan Ochtman2017-09-261-1/+1
|
* Add support for importing template files with macros (#51)Libravatar larros2017-09-263-4/+62
| | | | * Fix review comments for macro imports
* Add support for tuple indexing in templatesLibravatar Lars Erik Rosengren2017-09-101-3/+7
|
* Rename and document top-level Generator::build() methodLibravatar Dirkjan Ochtman2017-09-071-2/+3
|
* Reorder methods in Generator to aid readabilityLibravatar Dirkjan Ochtman2017-09-071-450/+450
|
* Rewrite escapable() to prevent duplicationLibravatar Dirkjan Ochtman2017-09-071-3/+6
|
* Extend escaping according to OWASP recommendationsLibravatar Dirkjan Ochtman2017-09-071-2/+5
|
* Return MarkupDisplay from json filterLibravatar Dirkjan Ochtman2017-09-072-6/+11
|
* Infer escaping mode based on template extensionLibravatar Dirkjan Ochtman2017-09-071-3/+21
|
* Refactor creation of TemplateMeta valueLibravatar Dirkjan Ochtman2017-09-071-13/+9
|