Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-18 | Revert "Revert "Import external/python/jinja into master"" | IRIS YANG | |
This reverts commit 81aec74062b5c629b3408f7f3d18343ec0bbcab8. Reason for revert: It seems Jinja folder is empty. Revert the revert to add files back. Third-party review: ag/11821018 Change-Id: I4429a3b3448cdf2eb62ec388392a2a29fa3dbc21 | |||
2020-07-17 | Revert "Import external/python/jinja into master" | IRIS YANG | |
This reverts commit e868444bb65b7ae2a025b1c8c7854a8c4f2f58c1. Reason for revert: Since build will failed. We might need to wait b/160731429 fixed and submit it again. Change-Id: I56449de779d11c13cdfe1243b9a9726f94e55b33 | |||
2020-06-22 | ignore trim_blocks using '+%}' | Amy | |
2020-06-22 | imported templates can see the current globals | Amy | |
_get_default_module takes an optional context to indicate that the template is imported. If there are differences between the environment and rendered template globals, a new module is used for the imported template. | |||
2020-04-13 | Merge branch '2.11.x' | David Lord | |
2020-04-13 | fix changelog header | David Lord | |
2020-04-13 | release version 2.11.2 | David Lord | |
2020-04-13 | native only evals at end of render | David Lord | |
Co-authored-by: Martin Krizek <mkrizek@redhat.com> | |||
2020-04-13 | Add tests for lstrip whitespace behavior fix | Peter Dolak | |
Also did peformance tests for the previous fix and saw no measurable impact. | |||
2020-03-30 | add changelog and cleanup for pep 451 support | David Lord | |
2020-03-30 | Merge branch '2.11.x' | David Lord | |
2020-03-30 | namespace object works in async templates | Bart Feenstra | |
2020-03-30 | Fix tokens line number calculation when whitespace stripping is used | Andrey Lisin | |
2020-03-30 | Merge branch '2.11.x' | David Lord | |
2020-03-30 | changelog for reverting PackageLoader changes | David Lord | |
2020-03-27 | AttributeError in undefined message doesn't cause RuntimeError | David Lord | |
2020-02-28 | better PyObject_HEAD size calculation | David Lord | |
fixes infinite loop on Python 3.6 32-bit | |||
2020-02-27 | Merge branch '2.11.x' | David Lord | |
2020-02-27 | use soft_str in do_wordcount, to trigger undefined | Matt Martz | |
2020-02-05 | fix formatting | David Lord | |
2020-02-05 | fix formatting | David Lord | |
2020-02-05 | remove deprecated code | David Lord | |
2020-02-05 | Merge branch '2.11.x' | David Lord | |
2020-02-04 | add changelog and test | David Lord | |
2020-01-30 | Merge branch '2.11.x' | David Lord | |
2020-01-30 | add changelog | David Lord | |
2020-01-27 | start version 3.0.0 | David Lord | |
2020-01-27 | release version 2.11.0 | David Lord | |
2020-01-26 | add python 3.8 classifier, clean up changelog | David Lord | |
2020-01-26 | Revert "rename imports to jinja" | David Lord | |
This reverts commit 1167525b73863119f8bbec03ddb9d35eacff4bef. | |||
2020-01-10 | rename imports to jinja | David Lord | |
2020-01-08 | TemplateSyntaxError can be pickled | Andrew Rabert | |
2019-12-05 | handle Undefined in get/select_template | David Lord | |
2019-12-05 | PackageLoader understands namespace packages | David Lord | |
2019-12-03 | TemplateSyntaxError from included template has source | David Lord | |
2019-12-03 | apply optimizer to all Expr nodes | David Lord | |
2019-12-02 | add a node for derived context references | Daniel Watkins | |
This allows extensions to access locals in the scope from which they were called. | |||
2019-12-02 | rewrite traceback rewriting support | David Lord | |
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. | |||
2019-11-20 | add test and changelog for constant comparison folding | David Lord | |
2019-11-20 | use 'callable' instead of typechecking to inject context | Adriano Scoditti | |
2019-11-07 | async templates await attribute access | David Lord | |
2019-11-01 | add break_on_hyphens parameter to wordwrap filter | Alessandro -oggei- Ogier | |
2019-11-01 | reformat, doc, and test for wordwrap | David Lord | |
2019-10-28 | compile writes utf8 | David Lord | |
2019-10-28 | creating a NativeTemplate creates a NativeEnvironment | David Lord | |
2019-10-24 | don't create a third queue | David Lord | |
2019-10-24 | LRUCache.copy initializes queue methods | Ryan Siemens | |
2019-10-23 | use "Jinja" instead of "Jinja2" | David Lord | |
2019-10-22 | preserve quotes between nodes in native env | David Lord | |
2019-10-21 | use fspath instead of str | David Lord | |