summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* async templates await attribute accessrefactor-loop-contextDavid Lord2019-11-074-25/+49
|
* don't prefetch next item in loop contextDavid Lord2019-11-073-151/+224
|
* Merge pull request #1098 from pallets/urlencode-docsDavid Lord2019-11-043-38/+61
|\ | | | | clarify quoting behavior of urlencode filter
| * clarify quoting behavior of urlencode filterDavid Lord2019-11-043-38/+61
|/
* Merge pull request #829 from aogier/feature/550-hyphens-wordwrapDavid Lord2019-11-012-1/+17
|\ | | | | Exposing Textwrapper break_on_hyphens option to wordwrap filter
| * add break_on_hyphens parameter to wordwrap filterAlessandro -oggei- Ogier2019-11-012-1/+17
|/
* Merge pull request #766 from fheinle/palletes_jinja_175-wordwrapDavid Lord2019-11-013-15/+45
|\ | | | | Let wordwrap filter respect existing newlines
| * reformat, doc, and test for wordwrapDavid Lord2019-11-013-28/+44
| |
| * let wordwrap filter respect existing newlinesFlorian Heinle2019-11-011-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_tracebackDavid Lord2019-11-012-2/+8
|\ | | | | handle template.get_corresponding_lineno() for lines without debug info
| * Return empty list when debug_info is empty stringMr. Senko2017-01-291-2/+4
| |
| * Add test for Template.get_corresponding_lineno()Mr. Senko2017-01-291-0/+4
| | | | | | | | this currently breaks with an exception inside Jinja
* | Merge pull request #1096 from pallets/compile-encodingDavid Lord2019-10-282-7/+9
|\ \ | | | | | | compile writes utf8
| * | compile writes utf8David Lord2019-10-282-7/+9
|/ /
* | Merge pull request #1095 from pallets/native-template-envDavid Lord2019-10-284-135/+153
|\ \ | | | | | | creating a NativeTemplate creates a NativeEnvironment
| * | creating a NativeTemplate creates a NativeEnvironmentnative-template-envDavid Lord2019-10-284-135/+153
| | |
* | | Merge pull request #1093 from cclauss/print-functionDavid Lord2019-10-2812-11/+22
|\ \ \ | |/ / |/| | Use print() function in both Python2 and Python 3
| * | Use print() function in both Python2 and Python 3cclauss2019-10-2712-11/+22
|/ /
* | Merge pull request #1090 from pallets/lrucache-copyDavid Lord2019-10-243-3/+17
|\ \ | | | | | | LRUCache.copy's queue methods point to the correct queue
| * | don't create a third queueDavid Lord2019-10-243-5/+5
| | |
| * | LRUCache.copy initializes queue methodsRyan Siemens2019-10-243-1/+15
|/ /
* | use "Jinja" instead of "Jinja2"David Lord2019-10-233-6/+6
| |
* | Merge pull request #1087 from pallets/jinja-nameDavid Lord2019-10-2330-160/+158
|\ \ | | | | | | use "Jinja" instead of "Jinja2"
| * | use "Jinja" instead of "Jinja2"David Lord2019-10-2330-160/+158
|/ /
* | Merge pull request #1086 from pallets/native-string-literalDavid Lord2019-10-223-18/+52
|\ \ | | | | | | preserve quotes between nodes in native env
| * | preserve quotes between nodes in native envDavid Lord2019-10-223-18/+52
|/ /
* | Merge pull request #1064 from alexwlchan/support-pathlibDavid Lord2019-10-216-17/+136
|\ \ | | | | | | Support paths created with pathlib in FileSystemLoader and ModuleLoader
| * | use fspath instead of strDavid Lord2019-10-213-21/+40
| | |
| * | support pathlib in FileSystemLoader and ModuleLoaderAlex Chan2019-10-216-14/+114
|/ /
* | Merge pull request #1085 from pallets/docs-cyclerDavid Lord2019-10-202-25/+54
|\ \ | | | | | | clarify cycler.next() behavior
| * | clarify cycler.next() behaviorDavid Lord2019-10-202-25/+54
|/ /
* | Merge pull request #1084 from pallets/i18n-docsDavid Lord2019-10-193-115/+153
|\ \ | | | | | | clean up i18n documentation
| * | clean up i18n documentationDavid Lord2019-10-193-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-changesDavid Lord2019-10-183-53/+139
|\ \ | | | | | | Address various documentation requests
| * | document equivalent generator expressions for filtersDavid Lord2019-10-181-0/+35
| | | | | | | | | | | | closes #1068
| * | document how ContextReference relates to contextfunctionDavid Lord2019-10-181-0/+5
| | | | | | | | | | | | closes #762
| * | document formatting methods in format filterDavid Lord2019-10-181-4/+15
| | | | | | | | | | | | closes #566
| * | document lack of file extensionDavid Lord2019-10-181-0/+14
| | | | | | | | | | | | closes #547
| * | document behavior of block tag in if blockDavid Lord2019-10-181-0/+4
| | | | | | | | | | | | closes #423
| * | format expression docsDavid Lord2019-10-181-37/+37
| | |
| * | improve docs about string methods in templatesDavid Lord2019-10-181-12/+29
|/ / | | | | | | closes #273
* | Merge pull request #1082 from pallets/pkgutil-loaderDavid Lord2019-10-174-54/+152
|\ \ | | | | | | PackageLoader doesn't depend on setuptools
| * | PackageLoader doesn't depend on setuptoolsDavid Lord2019-10-174-54/+152
|/ /
* | Merge pull request #993 from aayushuppal/loop_fixDavid Lord2019-10-143-12/+62
|\ \ | | | | | | Fix for Loop properties revindex and revindex0 still wrong in Jinja2 2.10 #794
| * | fixing LoopContext, loops indexing and iterator length propertyaayushuppal2019-10-143-12/+62
|/ /
* | reformat changelogDavid Lord2019-10-141-5/+5
| |
* | Merge pull request #1079 from ThiefMaster/cond-expr-undefinedDavid Lord2019-10-135-3/+13
|\ \ | | | | | | Use separate undefined object for else-less conditional expressions
| * | Don't make cond_expr_undefined configurableAdrian Moennich2019-10-136-34/+16
| | |
| * | Use separate undefined object for CondExprAdrian Moennich2019-10-135-6/+34
|/ /
* | Merge pull request #1081 from pallets/open-if-existsDavid Lord2019-10-134-9/+23
|\ \ | | | | | | skip template with same name as directory