aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - 1.0.13rel_1_0_13Mike Bayer2019-07-013-12/+13
|
* Correctly track line numbers for multi-line code blocksMartin von Gagern2019-07-014-6/+66
| | | | | | | | | | | | | | | | Improved the line-number tracking for source lines inside of Python ``<% ... %>`` blocks, such that text- and HTML-formatted exception traces such as that of :func:`.html_error_template` now report the correct source line inside the block, rather than the first line of the block itself. Exceptions in ``<%! ... %>`` blocks which get raised while loading the module are still not reported correctly, as these are handled before the Mako code is generated. Pull request courtesy Martin von Gagern. Closes: #297 Pull-request: https://github.com/sqlalchemy/mako/pull/297 Pull-request-sha: 60ad749604f8de0a9b8133430995045a93d0939c Change-Id: I2086e4370e8e2db7099de01743840286f0160efc
* Version 1.0.13 placeholderMike Bayer2019-06-052-1/+5
|
* - 1.0.12rel_1_0_12Mike Bayer2019-06-053-9/+10
|
* Remove all non-essential functions from _ast_util.pyMike Bayer2019-06-033-188/+22
| | | | | | | | | | | | | As this is an old module that keeps changing with new Python releases, combined with the fact that we no longer use "import *", remove all unused functions from this module so that the list of imports we are maintaining is much shorter. Python 3.8 is also added to tox.ini with more adjustments to test_exceptions to accommodate for quoting differences. Fixes: #296 Change-Id: I0cea7d21ecb2be9335e0845ae7fbd06d468a137b
* Version 1.0.12 placeholderMike Bayer2019-05-312-1/+5
|
* - 1.0.11rel_1_0_11Mike Bayer2019-05-312-6/+7
|
* - modernize tox, travis versionsMike Bayer2019-05-314-15/+6
| | | | | | | - fix MANIFEST to remove old names, add tox.ini - reformat .gitignore Change-Id: I450672f92ebfb43a023df502de795f24ad809884
* - update copyrightMike Bayer2019-05-3126-22/+46
| | | | Change-Id: I258e9ff77e5a9ac687cd20d33b6d75de7c79b4dc
* - add change note for code formatting / metadataMike Bayer2019-05-311-0/+5
| | | | Change-Id: Ibb0af4ae3e89ede0d50ea5e16f66ad9ce15ffec5
* - add links for documentation / githubMike Bayer2019-05-311-0/+4
| | | | Change-Id: I3650915ea2e45c48f0823b08084eecb46ee17a14
* Use tox / zimportsMike Bayer2019-05-3156-3987/+6203
| | | | Change-Id: Ia047c7052a6d242c2cf1c7a83981f1e38ea4d928
* - update LICENSE to be exact MIT textMike Bayer2019-05-281-17/+16
| | | | Change-Id: I531f9eb3d2277c5a201c2284aa87cae5c4e1b11a
* - add OSI classifier for licenseMike Bayer2019-05-281-0/+1
| | | | Change-Id: Ic7b1dadd186ec007e9e0116bb196f9c5ac85aaa4
* Version 1.0.11 placeholderMike Bayer2019-05-102-1/+5
|
* - 1.0.10rel_1_0_10Mike Bayer2019-05-101-1/+1
|
* Use utf-8 encoding for traceback source with no encoding in py3kMike Bayer2019-05-094-0/+28
| | | | | | | | | | Added a default encoding of "utf-8" when the :class:`.RichTraceback` object retrieves Python source lines from a Python traceback; as these are bytes in Python 3 they need to be decoded so that they can be formatted in the template. Fixes: #293 Change-Id: I41a5c09422d6500c7cab2423ed14ac951a64e2f4
* Version 1.0.10 placeholderMike Bayer2019-04-152-1/+5
|
* - 1.0.9rel_1_0_9Mike Bayer2019-04-151-1/+1
|
* Merge "Use Constant.value, not Constant.n"mike bayer2019-04-132-2/+12
|\
| * Use Constant.value, not Constant.nMiro HronĨok2019-04-122-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since Python 3.8, class ast.Constant is used for all constants. Old classes ast.Num, ast.Str, ast.Bytes, ast.NameConstant and ast.Ellipsis are still available, but they will be removed in future Python releases. Further corrected the previous fix for :ticket:`287` as it relied upon an attribute that is monkeypatched by Python's ``ast`` module for some reason, which fails if ``ast`` hasn't been imported; the correct attribute ``Constant.value`` is now used. Also note the issue was mis-numbered in the previous changelog note. References: https://github.com/Pylons/pyramid_mako/issues/47 Fixes: #287 Closes: #292 Pull-request: https://github.com/sqlalchemy/mako/pull/292 Pull-request-sha: b48081aa08fdc1cb6e0196b59a2d0eff35adcd94 Change-Id: Ic3fd1975e608b6890410f3fd4ad4d949478dc45e
* | - add unreleased directory as it is getting added as an includeMike Bayer2019-04-131-0/+13
|/ | | | | | to changelog by the common release scripts Change-Id: Ib31e19482776723bf3c70bb251e06018cb08cd95
* Document support for `with x as e:`Andy Freeland2019-03-221-2/+2
| | | | | This has been supported since 8bebfc205230d41429a88c98b56d45acf7e67226 but isn't in the docs.
* Merge remote-tracking branch 'github/pr/289'Mike Bayer2019-03-211-1/+1
|\ | | | | | | Change-Id: I5c7410a0445ee50d3c42d412a9bfe682f1f567f4
| * Use latest documentation URL, save redirectSteve Piercy2019-03-201-1/+1
| |
* | save a redirect, use httpsSteve Piercy2019-03-201-1/+1
|/
* Version 1.0.9 placeholderMike Bayer2019-03-202-1/+5
|
* - 1.0.8rel_1_0_8Mike Bayer2019-03-201-0/+1
|
* - fix formattingMike Bayer2019-03-201-2/+2
| | | | Change-Id: Ifcd32c227700d7a9bc1eff6d26cd45ce6a04b0cf
* - 1.0.8Mike Bayer2019-03-201-0/+1
|
* Add Constant to _ast_utilMike Bayer2019-03-203-1/+12
| | | | | | | | Python 3.8 seems to require this be present for expression generation to succeed. Fixes: #287 Change-Id: I4a3ac22c74e3c96f5f15d349fc8fe2523d6e7def
* Adjust setup.cfg for Pytest 4.Marius Bakke2019-03-101-1/+1
|
* - cut and paste vim tilde errorMike Bayer2018-12-031-1/+0
| | | | Change-Id: I12a50d430d10fd52ab9afe8721a4964a135cfab5
* All sphinx dependencies move under the github sqlalchemy organizationMike Bayer2018-12-031-4/+4
| | | | Change-Id: I7e5433ba1e0f6ca6e44a35664d1d4fcaa3fce545
* Merge branch 'master' of bitbucket.org:zzzeek/makoMike Bayer2018-11-263-15/+4
|\
| * move to github, remove bitbucket linksMike Bayer2018-11-263-15/+4
| | | | | | | | Change-Id: Ia2af89ba031f2a282b795a2ea05503e766329498
* | remove @HEAD indicator from docs requirementsMike Bayer2018-11-261-3/+3
| | | | | | | | this is failing with more recent git/pip combinations.
* | Merge branch 'use_zzzeeksphinx'Mike Bayer2018-10-042-1/+3
|\ \
| * | - tweaksuse_zzzeeksphinxMike Bayer2018-10-042-1/+3
| | |
* | | Revert "Revert "Remove built-in theme and start using zzzeeksphinx.""Mike Bayer2018-10-0415-1048/+11
| | | | | | | | | | | | This reverts commit babbc711b02bb5c58e0bb50edc61ef3adc22d2a3.
* | | Revert "Remove built-in theme and start using zzzeeksphinx."Mike Bayer2018-10-0315-11/+1048
|/ / | | | | | | This reverts commit 9055282a969fb92c7d28bcbf83e23c65000155df.
* / Remove built-in theme and start using zzzeeksphinx.Mike Bayer2018-10-0315-1048/+11
|/ | | | | this allows maintenance of the "non-standard Sphinx theme" to remain in one place.
* - add py37Mike Bayer2018-06-281-1/+1
| | | | Change-Id: I151a2351a7fadffd99c843e70c1504135a2c56c6
* Remove redundant Python<2.6 codeHugo2018-01-165-13/+4
| | | | | | | | | | | | | | | | | | | | | Includes PR https://github.com/zzzeek/mako/pull/26 so [Travis CI passes](https://travis-ci.org/hugovk/mako/builds/329346809). The last two commits are unique to this PR. --- Since Mako 1.0.0, Python 2.6 has been the minimum supported version: > [general] Compatibility changes; in order to modernize the codebase, Mako is now dropping support for Python 2.4 and Python 2.5 altogether. The source base is now targeted at Python 2.6 and forwards. http://docs.makotemplates.org/en/latest/changelog.html#change-b602a175c0ec26eaa4f42962d23cca96 This removes redundant code only relevant to Python 2.5 or earlier. It also adds `python_requires` to setup.py, so pip won't install this version on Python 2.5 or earlier. For people with older versions, pip will install the next Mako version down. Are all Python 3.x versions supported? If not, I'll add those to `python_requires` as well. Change-Id: I624e1d56e79555c579278c7a5b4de9498179ffe9 Pull-request: https://github.com/zzzeek/mako/pull/27
* Merge remote-tracking branch 'github/pr/26'Mike Bayer2018-01-162-9/+10
|\
| * Use tox-travis to avoid InterpreterNotFoundHugo2018-01-151-10/+9
| |
| * Test on Python 3.5 and 3.6Hugo2018-01-152-1/+3
| |
* | Removed unnecessary "usage" prefix from mako-render script.Hugo2018-01-162-1/+7
| | | | | | | | | | | | | | | | Pull request courtesy Hugo. (cherry picked from commit 7e6a1d7822bac275aabb3c1cc90cb67612548127) Change-Id: I84a302c982f18762d2514c3f840331d1eb3ebcda
* | Add --output-encoding to mako-renderlacsaP2017-11-153-3/+19
|/ | | | | Fixes: #271 Change-Id: I88b46cfbdea9eda0b4c478dd97829bee8431ff58
* - 1.0.7rel_1_0_7Mike Bayer2017-07-131-0/+1
|