Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch '2.11.x' | David Lord | 2020-04-13 | 2 | -0/+103 |
|\ | |||||
| * | native only evals at end of render | David Lord | 2020-04-13 | 1 | -0/+9 |
| | | | | | | | | Co-authored-by: Martin Krizek <mkrizek@redhat.com> | ||||
| * | Add tests for lstrip whitespace behavior fix | Peter Dolak | 2020-04-13 | 1 | -0/+92 |
| | | | | | | | | | | Also did peformance tests for the previous fix and saw no measurable impact. | ||||
* | | add changelog and cleanup for pep 451 support | David Lord | 2020-03-30 | 1 | -14/+7 |
| | | |||||
* | | Use importlib machinery to fix PEP 451 import hooks | Anthony Sottile | 2020-03-30 | 1 | -0/+41 |
| | | |||||
* | | Merge branch '2.11.x' | David Lord | 2020-03-30 | 2 | -0/+29 |
|\ \ | |/ | |||||
| * | namespace object works in async templates | Bart Feenstra | 2020-03-30 | 1 | -0/+11 |
| | | |||||
| * | Fix tokens line number calculation when whitespace stripping is used | Andrey Lisin | 2020-03-30 | 1 | -0/+18 |
| | | |||||
* | | Merge branch '2.11.x' | David Lord | 2020-03-30 | 1 | -0/+15 |
|\ \ | |/ | |||||
| * | Revert "PackageLoader doesn't depend on setuptools" | David Lord | 2020-03-30 | 2 | -50/+0 |
| | | | | | | | | This reverts commit 4b6077a8c0a0f56bb8dbac37f8f9027130b4091c. | ||||
| * | AttributeError in undefined message doesn't cause RuntimeError | David Lord | 2020-03-27 | 1 | -0/+15 |
| | | |||||
* | | Merge branch '2.11.x' | David Lord | 2020-02-27 | 1 | -0/+7 |
|\ \ | |/ | |||||
| * | use soft_str in do_wordcount, to trigger undefined | Matt Martz | 2020-02-27 | 1 | -0/+7 |
| | | |||||
* | | Merge branch '2.11.x' | David Lord | 2020-02-05 | 16 | -111/+0 |
|\ \ | |/ | |||||
| * | remove custom pytest marks | David Lord | 2020-02-05 | 16 | -111/+0 |
| | | |||||
* | | apply pyupgrade and f-strings | David Lord | 2020-02-05 | 19 | -261/+229 |
| | | |||||
* | | remove more compat code | David Lord | 2020-02-05 | 3 | -36/+24 |
| | | |||||
* | | remove _compat module | David Lord | 2020-02-05 | 9 | -162/+40 |
| | | |||||
* | | remove deprecated code | David Lord | 2020-02-05 | 2 | -11/+2 |
|/ | |||||
* | add changelog and test | David Lord | 2020-02-04 | 1 | -0/+19 |
| | |||||
* | Added regression test for slicing of attributes | Armin Ronacher | 2020-01-30 | 1 | -0/+4 |
| | |||||
* | isolate bytecode cache tests | David Lord | 2020-01-26 | 1 | -3/+3 |
| | |||||
* | Revert "rename imports to jinja" | David Lord | 2020-01-26 | 21 | -166/+168 |
| | | | | This reverts commit 1167525b73863119f8bbec03ddb9d35eacff4bef. | ||||
* | Revert "add warning and alias for jinja2" | David Lord | 2020-01-26 | 1 | -3/+3 |
| | | | | This reverts commit fc9c60ba457efc4cadf6fa2886567e0ee6ca1a99. | ||||
* | add warning and alias for jinja2 | David Lord | 2020-01-10 | 1 | -3/+3 |
| | |||||
* | rename imports to jinja | David Lord | 2020-01-10 | 21 | -168/+166 |
| | |||||
* | simplify module docstringsstyle | David Lord | 2020-01-10 | 15 | -135/+0 |
| | |||||
* | ensure deprecation warnings mention version | David Lord | 2020-01-10 | 1 | -4/+0 |
| | |||||
* | apply flake8 | David Lord | 2020-01-10 | 17 | -220/+143 |
| | |||||
* | apply black | David Lord | 2020-01-10 | 23 | -2542/+3178 |
| | |||||
* | apply reorder-python-imports | David Lord | 2020-01-10 | 18 | -53/+113 |
| | |||||
* | TemplateSyntaxError can be pickled | Andrew Rabert | 2020-01-08 | 1 | -0/+7 |
| | |||||
* | handle Undefined in get/select_template | David Lord | 2019-12-05 | 1 | -0/+25 |
| | |||||
* | TemplateSyntaxError from included template has source | David Lord | 2019-12-03 | 1 | -4/+19 |
| | |||||
* | add a node for derived context references | Daniel Watkins | 2019-12-02 | 1 | -4/+21 |
| | | | | | This allows extensions to access locals in the scope from which they were called. | ||||
* | rewrite traceback rewriting support | David Lord | 2019-12-02 | 1 | -2/+2 |
| | | | | | | | | | | | | | Simplify the `jinja.debug` code. On Python >= 3.7, `tb_next` is directly assignable. On PyPy, use transparent proxies only if support is enabled. For cpython < 3.7, use ctypes to set `tb_next`. Rewrite the ctypes code to use `py_object` and `pythonapi.Py_IncRef`, which seems to avoid crashing on debug builds. On Python 3, a rewritten `TemplateSyntaxError` would retain the frames from the compiler functions for some reason. Clear these so the template source is the last thing in the traceback. | ||||
* | refactor visit_Output | David Lord | 2019-11-20 | 2 | -22/+21 |
| | | | | | | | | | | | | * `finalize` is generated once and cached for all nodes. * Extract common behavior for native env. Removed the compiler behavior where groups of nodes would generate a format string. Instead, individual nodes are always yielded. This made rendering 30% faster in the examples, and simplifies the code. It also removes the issue where Python would report either the first or last line of the multi-line format expression, messing up the traceback line number mapping. | ||||
* | add test and changelog for constant comparison folding | David Lord | 2019-11-20 | 1 | -8/+31 |
| | |||||
* | async templates await attribute accessrefactor-loop-context | David Lord | 2019-11-07 | 2 | -20/+24 |
| | |||||
* | clarify quoting behavior of urlencode filter | David Lord | 2019-11-04 | 1 | -12/+17 |
| | |||||
* | reformat, doc, and test for wordwrap | David Lord | 2019-11-01 | 1 | -0/+6 |
| | |||||
* | Merge pull request #673 from MrSenko/get_corresponding_lineno_traceback | David Lord | 2019-11-01 | 1 | -0/+4 |
|\ | | | | | handle template.get_corresponding_lineno() for lines without debug info | ||||
| * | Add test for Template.get_corresponding_lineno() | Mr. Senko | 2017-01-29 | 1 | -0/+4 |
| | | | | | | | | this currently breaks with an exception inside Jinja | ||||
* | | creating a NativeTemplate creates a NativeEnvironmentnative-template-env | David Lord | 2019-10-28 | 1 | -119/+123 |
| | | |||||
* | | don't create a third queue | David Lord | 2019-10-24 | 1 | -1/+2 |
| | | |||||
* | | LRUCache.copy initializes queue methods | Ryan Siemens | 2019-10-24 | 1 | -1/+12 |
| | | |||||
* | | preserve quotes between nodes in native env | David Lord | 2019-10-22 | 1 | -1/+17 |
| | | |||||
* | | support pathlib in FileSystemLoader and ModuleLoader | Alex Chan | 2019-10-21 | 3 | -8/+95 |
| | | |||||
* | | PackageLoader doesn't depend on setuptools | David Lord | 2019-10-17 | 2 | -7/+58 |
| | | |||||
* | | fixing LoopContext, loops indexing and iterator length property | aayushuppal | 2019-10-14 | 1 | -0/+48 |
| | |