summaryrefslogtreecommitdiff
path: root/pygments/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Prepare 2.15.1 release.2.15.1Matthäus G. Chajdas2023-04-181-1/+1
|
* Prepare 2.15 release.2.15.0Matthäus G. Chajdas2023-04-101-1/+1
|
* Use autodoc a bit moreJean Abou Samra2023-03-301-10/+10
|
* Update copyright year to 2023.Matthäus G. Chajdas2023-03-291-1/+1
|
* Prepare for 2.14.0 release.2.14.0Matthäus G. Chajdas2023-01-011-1/+1
|
* Prepare for 2.13.0 release.Matthäus G. Chajdas2022-08-151-1/+1
|
* Fix make check (#2151)Jean Abou-Samra2022-05-291-2/+2
| | | | pyflakes complained about an unused variable due to an oversight in 49c757cab5.
* Improve heuristic to warn about passing lexer/formatter class (#2123)Jean Abou-Samra2022-05-121-7/+6
| | | | Don't rely on the error message since 'missing 1 required positional argument' can give false positives. Instead, use issubclass().
* Bump version number for release.2.12.0Matthäus G. Chajdas2022-04-241-1/+1
|
* Happy new year.Georg Brandl2022-01-251-1/+1
|
* Prepare 2.11.2 release.2.11.2Matthäus G. Chajdas2022-01-061-1/+1
|
* Prepare 2.11.1 release.2.11.1Matthäus G. Chajdas2021-12-311-1/+1
|
* Bump version number.Matthäus G. Chajdas2021-12-301-1/+1
|
* Clean-up unused imports (#1887)Mickaël Schoentgen2021-08-231-1/+0
|
* Prepare 2.10.0 release.2.10.0Matthäus G. Chajdas2021-08-151-1/+1
|
* Prepare 2.9.0 release.2.9.0Matthäus G. Chajdas2021-05-031-1/+1
|
* Prepare 2.8.0 release.Matthäus G. Chajdas2021-02-141-1/+1
|
* Run pyupgrade across codebase to modernize syntax and patterns (#1622)Jon Dufresne2021-01-171-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | pyupgrade is a tool to automatically upgrade syntax for newer versions of the Python language. The project has been Python 3 only since 35544e2fc6eed0ce4a27ec7285aac71ff0ddc473, allowing for several cleanups: - Remove unnecessary "-*- coding: utf-8 -*-" cookie. Python 3 reads all source files as utf-8 by default. - Replace IOError/EnvironmentError with OSError. Python 3 unified these exceptions. The old names are aliases only. - Use the Python 3 shorter super() syntax. - Remove "utf8" argument form encode/decode. In Python 3, this value is the default. - Remove "r" from open() calls. In Python 3, this value is the default. - Remove u prefix from Unicode strings. In Python 3, all strings are Unicode. - Replace io.open() with builtin open(). In Python 3, these functions are functionally equivalent. Co-authored-by: Matthäus G. Chajdas <Anteru@users.noreply.github.com>
* Bump version to 2.7.4.2.7.4Matthäus G. Chajdas2021-01-121-1/+1
|
* Bump copyright year.Matthäus G. Chajdas2021-01-031-1/+1
|
* Prepare 2.7.3 release.2.7.3Matthäus G. Chajdas2020-12-061-1/+1
|
* Prepare 2.7.2 release.2.7.2Matthäus G. Chajdas2020-10-241-1/+1
| | | | Update CHANGES, bump version.
* fix regression in JSON lexer, bump to 2.7.12.7.1Georg Brandl2020-09-171-1/+1
| | | | Fixes #1544
* Preparing 2.7.0 release.2.7.0Matthäus G. Chajdas2020-09-121-1/+1
|
* Update copyright year (fixes #1514.)Matthäus G. Chajdas2020-08-221-1/+1
|
* Bump version to 2.6.1.2.6.1Matthäus G. Chajdas2020-03-081-1/+1
|
* Bump version to 2.6.0.2.6.0Matthäus G. Chajdas2020-03-081-1/+1
|
* Fix #1401.Matthäus G. Chajdas2020-03-071-4/+0
| | | | Remove a '__main__' handler from __init__.py.
* Remove Python 2 compatibility (#1348)Georg Brandl2020-02-291-2/+1
| | | | | | | | | | | * Remove Python 2 compatibility * remove 2/3 shims in pygments.util * update setup.py metadata * Remove unneeded object inheritance. * Remove unneeded future imports.
* keep version number in one place, dont do the "x.y.z+" anymoreGeorg Brandl2019-11-291-1/+1
|
* Post-release updates; also tweak checklistGeorg Brandl2019-11-291-1/+1
|
* update changelog, bump version to 2.5.2Georg Brandl2019-11-291-1/+1
|
* Bump version to 2.5.1.2.5.1Matthäus G. Chajdas2019-11-261-1/+1
|
* Bump version number.2.5.0Matthäus G. Chajdas2019-11-261-1/+1
|
* Update hg/bitbucket -> git/github everywhere.Georg Brandl2019-11-101-3/+3
|
* Fixup all headers and some more minor problems.2.4.2Georg Brandl2019-05-281-1/+1
|
* Update changelog, prepare 2.4.2 release.Georg Brandl2019-05-281-1/+1
|
* Update CHANGES and prepare for 2.4.1 release.Matth?us G. Chajdas2019-05-241-1/+1
|
* Bump version to 2.4.0.Matth?us G. Chajdas2019-05-081-1/+1
|
* Prepare 2.3.1 release.Matth?us G. Chajdas2018-12-161-1/+1
|
* Update changelog and version number.Matth?us G. Chajdas2018-11-241-1/+1
|
* Bump to 2.2.0 final.2.2.0Georg Brandl2017-01-221-1/+1
|
* Copyright update.Georg Brandl2017-01-221-1/+1
|
* Add support for partials and path segments for Handlebars.Christian Hammond2016-11-041-0/+90
This introduces support for some missing features to the Handlebars lexer: Partials and path segments. Partials mostly appeared to work before, but the `>` in `{{> ... }}` would appear as a syntax error, as could other components of the partial. This change introduces support for: * Standard partials: `{{> partialName}}` * Partials with parameters: `{{> partialName varname="value"}}` * Ddynamic partials: `{{> (partialFunc)}}` * Ddynamic partials with lookups: `{{> (lookup ../path "partialName")}}` * Partial blocks: `{{> @partial-block}}` * Inline partials: `{{#*inline}}..{{/inline}}` It also introduces support for path segments, which can reference content in the current context or in a parent context. For instance, `this.name`, `this/name`, `./name`, `../name`, `this/name`, etc. These are all now tracked as variables.