Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Revert "add warning and alias for jinja2" | David Lord | 2020-01-26 | 7 | -12/+15 | |
|/ | | | | This reverts commit fc9c60ba457efc4cadf6fa2886567e0ee6ca1a99. | |||||
* | extract jinja2-compat to separate repo | David Lord | 2020-01-10 | 32 | -195/+0 | |
| | ||||||
* | Merge pull request #1121 from pallets/the-great-rename | David Lord | 2020-01-10 | 104 | -408/+574 | |
|\ | | | | | Rename jinja2 to jinja | |||||
| * | add warning and alias for jinja2 | David Lord | 2020-01-10 | 39 | -15/+207 | |
| | | ||||||
| * | rename imports to jinja | David Lord | 2020-01-10 | 57 | -393/+367 | |
| | | ||||||
| * | rename directory to jinja | David Lord | 2020-01-10 | 27 | -0/+0 | |
|/ | ||||||
* | Merge pull request #1125 from pallets/style | David Lord | 2020-01-10 | 97 | -7993/+6620 | |
|\ | | | | | move to src directory, add pre-commit | |||||
| * | simplify module docstringsstyle | David Lord | 2020-01-10 | 38 | -387/+41 | |
| | | ||||||
| * | remove old scripts and examples | David Lord | 2020-01-10 | 31 | -2599/+34 | |
| | | ||||||
| * | add py 3.8 and style to tests | David Lord | 2020-01-10 | 2 | -20/+27 | |
| | | ||||||
| * | more relative imports | David Lord | 2020-01-10 | 8 | -33/+32 | |
| | | | | | | | | | | _identifier exports a compiled regex instead of a string to avoid some tricky cleanup | |||||
| * | ensure deprecation warnings mention version | David Lord | 2020-01-10 | 6 | -13/+19 | |
| | | ||||||
| * | apply flake8 | David Lord | 2020-01-10 | 43 | -433/+426 | |
| | | ||||||
| * | apply black | David Lord | 2020-01-10 | 67 | -4883/+6198 | |
| | | ||||||
| * | apply reorder-python-imports | David Lord | 2020-01-10 | 59 | -283/+460 | |
| | | ||||||
| * | add pre-commit config | David Lord | 2020-01-10 | 2 | -0/+40 | |
| | | ||||||
| * | move to src directory | David Lord | 2020-01-09 | 28 | -3/+4 | |
|/ | ||||||
* | Merge pull request #1117 from nvllsvm/fix_exc_pickle | David Lord | 2020-01-08 | 3 | -0/+16 | |
|\ | | | | | Fix TemplateSyntaxError pickling | |||||
| * | TemplateSyntaxError can be pickled | Andrew Rabert | 2020-01-08 | 3 | -0/+16 | |
|/ | ||||||
* | Merge pull request #1122 from blueyed/vim-indent | David Lord | 2020-01-06 | 1 | -8/+8 | |
|\ | | | | | ext/Vim/jinja.vim: minor fixes | |||||
| * | ext/Vim/jinja.vim: fix issues reported by vint | Daniel Hahler | 2020-01-06 | 1 | -5/+5 | |
| | | ||||||
| * | ext/Vim/jinja.vim: fix indent | Daniel Hahler | 2020-01-06 | 1 | -3/+3 | |
| | | ||||||
* | | Merge pull request #1123 from blueyed/fix-typo | David Lord | 2020-01-06 | 1 | -1/+1 | |
|\ \ | |/ |/| | minor: fix typo in docstring | |||||
| * | minor: fix typo in docstring | Daniel Hahler | 2020-01-06 | 1 | -1/+1 | |
|/ | ||||||
* | Merge pull request #1115 from myii/patch-2 | David Lord | 2019-12-08 | 1 | -1/+1 | |
|\ | | | | | fix typo in templates.rst, "hat" to "that" | |||||
| * | fix(templates.rst): fix typo (`hat` => `that`) | Imran Iqbal | 2019-12-08 | 1 | -1/+1 | |
|/ | ||||||
* | Merge pull request #1114 from pallets/import-undefined | David Lord | 2019-12-05 | 5 | -25/+95 | |
|\ | | | | | handle Undefined in get/select_template | |||||
| * | handle Undefined in get/select_template | David Lord | 2019-12-05 | 5 | -25/+95 | |
|/ | ||||||
* | Merge pull request #1113 from pallets/namespace-loader | David Lord | 2019-12-05 | 2 | -10/+43 | |
|\ | | | | | PackageLoader understands namespace packages | |||||
| * | PackageLoader understands namespace packages | David Lord | 2019-12-05 | 2 | -10/+43 | |
|/ | ||||||
* | Merge pull request #1112 from pallets/include-syntax-error-source | David Lord | 2019-12-03 | 3 | -10/+25 | |
|\ | | | | | TemplateSyntaxError from included template has source | |||||
| * | TemplateSyntaxError from included template has source | David Lord | 2019-12-03 | 3 | -10/+25 | |
|/ | ||||||
* | Merge pull request #1111 from pallets/optimizer-nodes | David Lord | 2019-12-03 | 2 | -16/+18 | |
|\ | | | | | apply optimizer to all Expr nodes | |||||
| * | apply optimizer to all Expr nodes | David Lord | 2019-12-03 | 2 | -16/+18 | |
|/ | ||||||
* | Merge pull request #861 from OddBloke/contextreference_locals | David Lord | 2019-12-02 | 4 | -4/+36 | |
|\ | | | | | Add a DerivedContextReference node type | |||||
| * | add a node for derived context references | Daniel Watkins | 2019-12-02 | 4 | -4/+36 | |
|/ | | | | | This allows extensions to access locals in the scope from which they were called. | |||||
* | Merge pull request #1110 from pallets/patch-traceback | David Lord | 2019-12-02 | 6 | -379/+234 | |
|\ | | | | | rewrite traceback rewriting support | |||||
| * | rewrite traceback rewriting support | David Lord | 2019-12-02 | 6 | -379/+234 | |
|/ | | | | | | | | | | | | | 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. | |||||
* | Merge pull request #1109 from pallets/visit-output-refactor | David Lord | 2019-11-20 | 5 | -297/+188 | |
|\ | | | | | refactor visit_Output | |||||
| * | refactor visit_Output | David Lord | 2019-11-20 | 5 | -297/+188 | |
|/ | | | | | | | | | | | | * `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. | |||||
* | Merge pull request #1105 from areebbeigh/issue-1102 | David Lord | 2019-11-20 | 3 | -8/+41 | |
|\ | | | | | nodes.py: Return on first false in Compare() expr | |||||
| * | add test and changelog for constant comparison folding | David Lord | 2019-11-20 | 3 | -8/+39 | |
| | | ||||||
| * | return on first false when folding Compare node | areebbeigh | 2019-11-20 | 1 | -0/+2 | |
|/ | ||||||
* | Merge pull request #1108 from captainmalloc/runtime_calls | David Lord | 2019-11-20 | 3 | -6/+4 | |
|\ | | | | | Use 'callable' instead of typechecking for runtime calls ctx/env injection | |||||
| * | use 'callable' instead of typechecking to inject context | Adriano Scoditti | 2019-11-20 | 3 | -6/+4 | |
|/ | ||||||
* | Merge pull request #1101 from pallets/refactor-loop-context | David Lord | 2019-11-08 | 6 | -176/+273 | |
|\ | | | | | don't prefetch next item in loop context | |||||
| * | 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 | |
|/ |