Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | use fspath instead of str | David Lord | 2019-10-21 | 3 | -21/+40 | |
| | | | ||||||
| * | | support pathlib in FileSystemLoader and ModuleLoader | Alex Chan | 2019-10-21 | 6 | -14/+114 | |
|/ / | ||||||
* | | Merge pull request #1085 from pallets/docs-cycler | David Lord | 2019-10-20 | 2 | -25/+54 | |
|\ \ | | | | | | | clarify cycler.next() behavior | |||||
| * | | clarify cycler.next() behavior | David Lord | 2019-10-20 | 2 | -25/+54 | |
|/ / | ||||||
* | | Merge pull request #1084 from pallets/i18n-docs | David Lord | 2019-10-19 | 3 | -115/+153 | |
|\ \ | | | | | | | clean up i18n documentation | |||||
| * | | clean up i18n documentation | David Lord | 2019-10-19 | 3 | -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-changes | David Lord | 2019-10-18 | 3 | -53/+139 | |
|\ \ | | | | | | | Address various documentation requests | |||||
| * | | 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 | |||||
| * | | document lack of file extension | David Lord | 2019-10-18 | 1 | -0/+14 | |
| | | | | | | | | | | | | closes #547 | |||||
| * | | document behavior of block tag in if block | David Lord | 2019-10-18 | 1 | -0/+4 | |
| | | | | | | | | | | | | closes #423 | |||||
| * | | format expression docs | David Lord | 2019-10-18 | 1 | -37/+37 | |
| | | | ||||||
| * | | improve docs about string methods in templates | David Lord | 2019-10-18 | 1 | -12/+29 | |
|/ / | | | | | | | closes #273 | |||||
* | | Merge pull request #1082 from pallets/pkgutil-loader | David Lord | 2019-10-17 | 4 | -54/+152 | |
|\ \ | | | | | | | PackageLoader doesn't depend on setuptools | |||||
| * | | PackageLoader doesn't depend on setuptools | David Lord | 2019-10-17 | 4 | -54/+152 | |
|/ / | ||||||
* | | Merge pull request #993 from aayushuppal/loop_fix | David Lord | 2019-10-14 | 3 | -12/+62 | |
|\ \ | | | | | | | Fix for Loop properties revindex and revindex0 still wrong in Jinja2 2.10 #794 | |||||
| * | | fixing LoopContext, loops indexing and iterator length property | aayushuppal | 2019-10-14 | 3 | -12/+62 | |
|/ / | ||||||
* | | reformat changelog | David Lord | 2019-10-14 | 1 | -5/+5 | |
| | | ||||||
* | | Merge pull request #1079 from ThiefMaster/cond-expr-undefined | David Lord | 2019-10-13 | 5 | -3/+13 | |
|\ \ | | | | | | | Use separate undefined object for else-less conditional expressions | |||||
| * | | Don't make cond_expr_undefined configurable | Adrian Moennich | 2019-10-13 | 6 | -34/+16 | |
| | | | ||||||
| * | | Use separate undefined object for CondExpr | Adrian Moennich | 2019-10-13 | 5 | -6/+34 | |
|/ / | ||||||
* | | Merge pull request #1081 from pallets/open-if-exists | David Lord | 2019-10-13 | 4 | -9/+23 | |
|\ \ | | | | | | | skip template with same name as directory | |||||
| * | | skip template with same name as directory | David Lord | 2019-10-13 | 4 | -9/+23 | |
|/ / | | | | | | | | | | | When using multiple paths with FileSystemLoader, a template with the same name as a directory will not prevent loading a template in the directory. | |||||
* | | Merge pull request #1080 from pallets/no-finalize-template-data | David Lord | 2019-10-12 | 4 | -40/+88 | |
|\ \ | | | | | | | don't finalize TemplateData nodes | |||||
| * | | don't finalize TemplateData nodesno-finalize-template-data | David Lord | 2019-10-12 | 4 | -40/+88 | |
|/ / | | | | | | | | | 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 | |
| | | ||||||
* | | Merge pull request #1077 from pallets/pytest-cleanup | David Lord | 2019-10-10 | 6 | -37/+17 | |
|\ \ | | | | | | | Pytest cleanup | |||||
| * | | fix invalid double extends test | David Lord | 2019-10-10 | 1 | -3/+3 | |
| | | | ||||||
| * | | Replaced try...catch within tests with pytest.raisespytest-cleanup | Kevin Brown | 2019-10-10 | 6 | -35/+15 | |
|/ / | | | | | | | | | | | This still leaves one in test_debug which relies on reading out the traceback and cannot easily be replaced by pytest.raises like the others. | |||||
* | | Merge pull request #824 from dagwieers/new-type-tests | David Lord | 2019-10-09 | 3 | -39/+146 | |
|\ \ | | | | | | | Add more strict type tests | |||||
| * | | Add more strict type tests | Dag Wieers | 2019-10-09 | 3 | -39/+146 | |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | | Merge pull request #1073 from brtomas0/master | David Lord | 2019-10-09 | 1 | -2/+2 | |
|\ \ | | | | | | | changed test_join functions to unique names | |||||
| * | | changed test_join functions to unique names | Brandon Tomás | 2019-10-09 | 1 | -2/+2 | |
|/ / | ||||||
* | | use slots for lexer lstrip marker | David Lord | 2019-10-07 | 1 | -0/+2 | |
| | | ||||||
* | | add changelog for #938 | David Lord | 2019-10-07 | 1 | -0/+3 | |
| | | ||||||
* | | Merge pull request #938 from stevenorum/master | David Lord | 2019-10-07 | 2 | -0/+8 | |
|\ \ | | | | | | | Fixing compiler handling of parens around boolean comparisons. | |||||
| * | | Fixing compiler handling of parens around boolean comparisons. | Steve Norum | 2019-01-12 | 2 | -0/+8 | |
| | | | ||||||
* | | | add changelog for #858 | David Lord | 2019-10-06 | 1 | -0/+2 | |
| | | | ||||||
* | | | Merge pull request #858 from exponea/857-lexer-whitespace-performance | David Lord | 2019-10-06 | 1 | -58/+52 | |
|\ \ \ | | | | | | | | | Fix lexer being extremely slow on large amounts of whitespace. Fixes #857 | |||||
| * | | | 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 | 68 | -2086/+1702 | |
| |\ \ \ | |/ / / |/| | | | ||||||
* | | | | Merge pull request #1071 from btharper/pytest-raises | David Lord | 2019-10-05 | 2 | -15/+3 | |
|\ \ \ \ | | | | | | | | | | | Eliminate dead code by using pytests.raises instead of try/except/else | |||||
| * | | | | Eliminate dead code by using pytests.raises instead of try/except/else | btharper | 2019-10-06 | 2 | -15/+3 | |
|/ / / / | ||||||
* | | | | Merge pull request #983 from kevin-brown/pr/798 | David Lord | 2019-10-04 | 5 | -33/+130 | |
|\ \ \ \ | | | | | | | | | | | Add support for a {% debug %} extension tag. | |||||
| * | | | | document debug extension | David Lord | 2019-10-04 | 4 | -57/+88 | |
| | | | | | ||||||
| * | | | | don't bypass autoescape | David Lord | 2019-10-04 | 2 | -29/+17 | |
| | | | | | ||||||
| * | | | | Add support for a {% debug %} extension tag. | Shaheed Haque | 2019-10-04 | 2 | -2/+80 | |
|/ / / / | | | | | | | | | | | | | This dumps the available variables, filters and tests. | |||||
* | | | | Merge pull request #1047 from lfdebrux/ldeb-bug-chainable_undefined_and_markup | David Lord | 2019-10-04 | 2 | -4/+12 | |
|\ \ \ \ | | | | | | | | | | | Fix bug with when using Markup on ChainableUndefined | |||||
| * | | | | Fix bug with when using Markup on ChainableUndefined | Laurence de Bruxelles | 2019-10-04 | 2 | -4/+12 | |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. |