Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | async templates await attribute accessrefactor-loop-context | David Lord | 2019-11-07 | 1 | -0/+12 |
| | |||||
* | don't prefetch next item in loop context | David Lord | 2019-11-07 | 3 | -151/+224 |
| | |||||
* | clarify quoting behavior of urlencode filter | David Lord | 2019-11-04 | 2 | -26/+44 |
| | |||||
* | add break_on_hyphens parameter to wordwrap filter | Alessandro -oggei- Ogier | 2019-11-01 | 1 | -1/+15 |
| | |||||
* | reformat, doc, and test for wordwrap | David Lord | 2019-11-01 | 1 | -28/+35 |
| | |||||
* | 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 | 1 | -2/+4 |
|\ | | | | | 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 |
| | | |||||
* | | compile writes utf8 | David Lord | 2019-10-28 | 1 | -7/+7 |
| | | |||||
* | | creating a NativeTemplate creates a NativeEnvironmentnative-template-env | David Lord | 2019-10-28 | 2 | -16/+27 |
| | | |||||
* | | don't create a third queue | David Lord | 2019-10-24 | 1 | -2/+1 |
| | | |||||
* | | LRUCache.copy initializes queue methods | Ryan Siemens | 2019-10-24 | 1 | -0/+1 |
| | | |||||
* | | use "Jinja" instead of "Jinja2" | David Lord | 2019-10-23 | 1 | -1/+1 |
| | | |||||
* | | use "Jinja" instead of "Jinja2" | David Lord | 2019-10-23 | 9 | -16/+16 |
| | | |||||
* | | preserve quotes between nodes in native env | David Lord | 2019-10-22 | 1 | -17/+32 |
| | | |||||
* | | use fspath instead of str | David Lord | 2019-10-21 | 2 | -18/+37 |
| | | |||||
* | | support pathlib in FileSystemLoader and ModuleLoader | Alex Chan | 2019-10-21 | 2 | -6/+16 |
| | | |||||
* | | clarify cycler.next() behavior | David Lord | 2019-10-20 | 1 | -6/+32 |
| | | |||||
* | | clean up i18n documentation | David Lord | 2019-10-19 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | explain enabling newstyle organize newstyle advantages mention escaping percent signs for formatting mention marking format parameters as safe fix newstyle ref | ||||
* | | 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 | ||||
* | | PackageLoader doesn't depend on setuptools | David Lord | 2019-10-17 | 1 | -47/+92 |
| | | |||||
* | | fixing LoopContext, loops indexing and iterator length property | aayushuppal | 2019-10-14 | 1 | -12/+11 |
| | | |||||
* | | Don't make cond_expr_undefined configurable | Adrian Moennich | 2019-10-13 | 3 | -19/+8 |
| | | |||||
* | | Use separate undefined object for CondExpr | Adrian Moennich | 2019-10-13 | 2 | -5/+19 |
| | | |||||
* | | skip template with same name as directory | David Lord | 2019-10-13 | 1 | -7/+6 |
| | | | | | | | | | | | | When using multiple paths with FileSystemLoader, a template with the same name as a directory will not prevent loading a template in the directory. | ||||
* | | don't finalize TemplateData nodesno-finalize-template-data | David Lord | 2019-10-12 | 1 | -30/+37 |
| | | | | | | | | | | Finalize only applies to the output of expressions (constant or not). Add tests for context, eval, and env finalize functions. | ||||
* | | consistent use of token constants | David Lord | 2019-10-10 | 1 | -25/+31 |
| | | |||||
* | | Add more strict type tests | Dag Wieers | 2019-10-09 | 1 | -0/+47 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR adds a few more type-related tests. - boolean Testing of an object is a boolean required 2 tests. - false Make this similar to testing none value - true Make this similar to testing none value - integer The existing 'number' test does not make a distinction between integer, float or even booleans - float The existing 'number' test does not make a distinction between integer, float or even booleans | ||||
* | | use slots for lexer lstrip marker | David Lord | 2019-10-07 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #938 from stevenorum/master | David Lord | 2019-10-07 | 1 | -0/+2 |
|\ \ | | | | | | | Fixing compiler handling of parens around boolean comparisons. | ||||
| * | | Fixing compiler handling of parens around boolean comparisons. | Steve Norum | 2019-01-12 | 1 | -0/+2 |
| | | | |||||
* | | | add comments about lstrip code | David Lord | 2019-10-06 | 1 | -20/+37 |
| | | | |||||
* | | | Merge branch 'master' into 857-lexer-whitespace-performance | David Lord | 2019-10-06 | 12 | -108/+283 |
|\ \ \ | |||||
| * | | | document debug extension | David Lord | 2019-10-04 | 1 | -27/+20 |
| | | | | |||||
| * | | | don't bypass autoescape | David Lord | 2019-10-04 | 1 | -16/+12 |
| | | | | |||||
| * | | | Add support for a {% debug %} extension tag. | Shaheed Haque | 2019-10-04 | 1 | -2/+64 |
| | | | | | | | | | | | | | | | | This dumps the available variables, filters and tests. | ||||
| * | | | Fix bug with when using Markup on ChainableUndefined | Laurence de Bruxelles | 2019-10-04 | 1 | -4/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wrapping a ChainableUndefined object with Markup causes an UndefinedError because Markup thinks that ChainableUndefined has an attribute called __html__ and tries to call it. This commit fixes this by defining a method __html__ that calls ChainableUndefined.__str__. We also add a regression test. | ||||
| * | | | add chars option to trim | Matteo Ferrando | 2019-10-04 | 1 | -3/+3 |
| | | | | |||||
| * | | | Merge branch '2.10.x' | David Lord | 2019-10-04 | 1 | -1/+1 |
| |\ \ \ | |||||
| | * | | | release version 2.10.22.10.2 | David Lord | 2019-10-04 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | update project metadata | David Lord | 2019-10-04 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Prevent deadlock in LRUCache.setdefault | EtiennePelletier | 2019-10-04 | 1 | -10/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | setdefault was acquiring write_lock, then calling getitem and also potentially setitem, which also both try to acquire the write lock. | ||||
| * | | | | Merge pull request #1040 from minho42/Simplify-import-split | David Lord | 2019-10-04 | 1 | -3/+1 |
| |\ \ \ \ | | | | | | | | | | | | | Simplify splitting import_name in import_string() | ||||
| | * | | | | Simplify splitting import_name in import_string() | Min ho Kim | 2019-07-24 | 1 | -3/+1 |
| | | | | | | |||||
| * | | | | | Fix simple typo: problemtic -> problematic (#1059) | Tim Gates | 2019-09-04 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | | | | Plus rephrase the comment for greater clarity. | ||||
| * | | | | | Merge branch '2.10.x' | David Lord | 2019-09-04 | 1 | -5/+11 |
| |\ \ \ \ \ | | | |/ / / | | |/| | | | |||||
| | * | | | | Fix TracebackFrameProxy.set_next() on Python 3.7 | Victor Stinner | 2019-09-04 | 1 | -5/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix issue #1050: fix a crash in TracebackFrameProxy.set_next() on Python 3.7 and newer, when Python is build in debug mode. Since Python 3.7, traceback.tb_next field can be modified: ctypes is no longer needed. | ||||
| * | | | | | Merge branch '2.10.x' | David Lord | 2019-07-26 | 2 | -7/+10 |
| |\ \ \ \ \ | | |/ / / / |