Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | async templates await attribute accessrefactor-loop-context | David Lord | 2019-11-07 | 4 | -25/+49 |
| | |||||
* | don't prefetch next item in loop context | David Lord | 2019-11-07 | 3 | -151/+224 |
| | |||||
* | Merge pull request #1098 from pallets/urlencode-docs | David Lord | 2019-11-04 | 3 | -38/+61 |
|\ | | | | | clarify quoting behavior of urlencode filter | ||||
| * | clarify quoting behavior of urlencode filter | David Lord | 2019-11-04 | 3 | -38/+61 |
|/ | |||||
* | Merge pull request #829 from aogier/feature/550-hyphens-wordwrap | David Lord | 2019-11-01 | 2 | -1/+17 |
|\ | | | | | Exposing Textwrapper break_on_hyphens option to wordwrap filter | ||||
| * | add break_on_hyphens parameter to wordwrap filter | Alessandro -oggei- Ogier | 2019-11-01 | 2 | -1/+17 |
|/ | |||||
* | Merge pull request #766 from fheinle/palletes_jinja_175-wordwrap | David Lord | 2019-11-01 | 3 | -15/+45 |
|\ | | | | | Let wordwrap filter respect existing newlines | ||||
| * | reformat, doc, and test for wordwrap | David Lord | 2019-11-01 | 3 | -28/+44 |
| | | |||||
| * | let wordwrap filter respect existing newlines | Florian Heinle | 2019-11-01 | 1 | -3/+17 |
|/ | | | | | | | | | | | textwrap.wrap() has unexpected behaviour where when wrapping multiple paragraphs it will not consider existing newlines. I.e. when your first paragraph ends on col 75, the next paragraph will be wrapped on col 5 already. This patch is wrapping each line individually and combining it back together. | ||||
* | Merge pull request #673 from MrSenko/get_corresponding_lineno_traceback | David Lord | 2019-11-01 | 2 | -2/+8 |
|\ | | | | | handle template.get_corresponding_lineno() for lines without debug info | ||||
| * | Return empty list when debug_info is empty string | Mr. Senko | 2017-01-29 | 1 | -2/+4 |
| | | |||||
| * | Add test for Template.get_corresponding_lineno() | Mr. Senko | 2017-01-29 | 1 | -0/+4 |
| | | | | | | | | this currently breaks with an exception inside Jinja | ||||
* | | Merge pull request #1096 from pallets/compile-encoding | David Lord | 2019-10-28 | 2 | -7/+9 |
|\ \ | | | | | | | compile writes utf8 | ||||
| * | | compile writes utf8 | David Lord | 2019-10-28 | 2 | -7/+9 |
|/ / | |||||
* | | Merge pull request #1095 from pallets/native-template-env | David Lord | 2019-10-28 | 4 | -135/+153 |
|\ \ | | | | | | | creating a NativeTemplate creates a NativeEnvironment | ||||
| * | | creating a NativeTemplate creates a NativeEnvironmentnative-template-env | David Lord | 2019-10-28 | 4 | -135/+153 |
| | | | |||||
* | | | Merge pull request #1093 from cclauss/print-function | David Lord | 2019-10-28 | 12 | -11/+22 |
|\ \ \ | |/ / |/| | | Use print() function in both Python2 and Python 3 | ||||
| * | | Use print() function in both Python2 and Python 3 | cclauss | 2019-10-27 | 12 | -11/+22 |
|/ / | |||||
* | | Merge pull request #1090 from pallets/lrucache-copy | David Lord | 2019-10-24 | 3 | -3/+17 |
|\ \ | | | | | | | LRUCache.copy's queue methods point to the correct queue | ||||
| * | | don't create a third queue | David Lord | 2019-10-24 | 3 | -5/+5 |
| | | | |||||
| * | | LRUCache.copy initializes queue methods | Ryan Siemens | 2019-10-24 | 3 | -1/+15 |
|/ / | |||||
* | | use "Jinja" instead of "Jinja2" | David Lord | 2019-10-23 | 3 | -6/+6 |
| | | |||||
* | | Merge pull request #1087 from pallets/jinja-name | David Lord | 2019-10-23 | 30 | -160/+158 |
|\ \ | | | | | | | use "Jinja" instead of "Jinja2" | ||||
| * | | use "Jinja" instead of "Jinja2" | David Lord | 2019-10-23 | 30 | -160/+158 |
|/ / | |||||
* | | Merge pull request #1086 from pallets/native-string-literal | David Lord | 2019-10-22 | 3 | -18/+52 |
|\ \ | | | | | | | preserve quotes between nodes in native env | ||||
| * | | preserve quotes between nodes in native env | David Lord | 2019-10-22 | 3 | -18/+52 |
|/ / | |||||
* | | Merge pull request #1064 from alexwlchan/support-pathlib | David Lord | 2019-10-21 | 6 | -17/+136 |
|\ \ | | | | | | | Support paths created with pathlib in FileSystemLoader and ModuleLoader | ||||
| * | | use fspath instead of str | David Lord | 2019-10-21 | 3 | -21/+40 |
| | | | |||||
| * | | support pathlib in FileSystemLoader and ModuleLoader | Alex Chan | 2019-10-21 | 6 | -14/+114 |
|/ / | |||||
* | | Merge pull request #1085 from pallets/docs-cycler | David Lord | 2019-10-20 | 2 | -25/+54 |
|\ \ | | | | | | | clarify cycler.next() behavior | ||||
| * | | clarify cycler.next() behavior | David Lord | 2019-10-20 | 2 | -25/+54 |
|/ / | |||||
* | | Merge pull request #1084 from pallets/i18n-docs | David Lord | 2019-10-19 | 3 | -115/+153 |
|\ \ | | | | | | | clean up i18n documentation | ||||
| * | | clean up i18n documentation | David Lord | 2019-10-19 | 3 | -115/+153 |
|/ / | | | | | | | | | | | | | | | explain enabling newstyle organize newstyle advantages mention escaping percent signs for formatting mention marking format parameters as safe fix newstyle ref | ||||
* | | Merge pull request #1083 from pallets/docs-changes | David Lord | 2019-10-18 | 3 | -53/+139 |
|\ \ | | | | | | | Address various documentation requests | ||||
| * | | document equivalent generator expressions for filters | David Lord | 2019-10-18 | 1 | -0/+35 |
| | | | | | | | | | | | | closes #1068 | ||||
| * | | document how ContextReference relates to contextfunction | David Lord | 2019-10-18 | 1 | -0/+5 |
| | | | | | | | | | | | | closes #762 | ||||
| * | | document formatting methods in format filter | David Lord | 2019-10-18 | 1 | -4/+15 |
| | | | | | | | | | | | | closes #566 | ||||
| * | | document lack of file extension | David Lord | 2019-10-18 | 1 | -0/+14 |
| | | | | | | | | | | | | closes #547 | ||||
| * | | document behavior of block tag in if block | David Lord | 2019-10-18 | 1 | -0/+4 |
| | | | | | | | | | | | | closes #423 | ||||
| * | | format expression docs | David Lord | 2019-10-18 | 1 | -37/+37 |
| | | | |||||
| * | | improve docs about string methods in templates | David Lord | 2019-10-18 | 1 | -12/+29 |
|/ / | | | | | | | closes #273 | ||||
* | | Merge pull request #1082 from pallets/pkgutil-loader | David Lord | 2019-10-17 | 4 | -54/+152 |
|\ \ | | | | | | | PackageLoader doesn't depend on setuptools | ||||
| * | | PackageLoader doesn't depend on setuptools | David Lord | 2019-10-17 | 4 | -54/+152 |
|/ / | |||||
* | | Merge pull request #993 from aayushuppal/loop_fix | David Lord | 2019-10-14 | 3 | -12/+62 |
|\ \ | | | | | | | Fix for Loop properties revindex and revindex0 still wrong in Jinja2 2.10 #794 | ||||
| * | | fixing LoopContext, loops indexing and iterator length property | aayushuppal | 2019-10-14 | 3 | -12/+62 |
|/ / | |||||
* | | reformat changelog | David Lord | 2019-10-14 | 1 | -5/+5 |
| | | |||||
* | | Merge pull request #1079 from ThiefMaster/cond-expr-undefined | David Lord | 2019-10-13 | 5 | -3/+13 |
|\ \ | | | | | | | Use separate undefined object for else-less conditional expressions | ||||
| * | | Don't make cond_expr_undefined configurable | Adrian Moennich | 2019-10-13 | 6 | -34/+16 |
| | | | |||||
| * | | Use separate undefined object for CondExpr | Adrian Moennich | 2019-10-13 | 5 | -6/+34 |
|/ / | |||||
* | | Merge pull request #1081 from pallets/open-if-exists | David Lord | 2019-10-13 | 4 | -9/+23 |
|\ \ | | | | | | | skip template with same name as directory |