summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* scripts/debug_lexer: allow guessing from contentGeorg Brandl2020-12-191-8/+23
|
* Add a check for CR/LF in files. (#1547)Matthäus G. Chajdas2020-09-201-0/+33
| | | | | | | | | | | | | | | | | | | * Add a check for CR/LF in files. This can occur when checking out things on Windows, and it breaks the tarball. This adds a script to check for the presence of CR/LF which exits early if anything gets found. * Improve error checking. * Include the external folder and check that. * Include .bashcomp files. * Use the correct CR/LF on the checker itself. * Address review feedback. * Remove || true * Fix docs * Print the first offending file name
* Remove symlink.Matthäus G. Chajdas2020-09-191-1/+0
| | | | | Windows doesn't support symlinks out of the box, and there doesn't seem to be any use of this symlink, so let's remove it.
* all: remove "u" string prefix (#1536)Georg Brandl2020-09-082-2/+2
| | | | | | | | | | | * all: remove "u" string prefix * util: remove unirange Since Python 3.3, all builds are wide unicode compatible. * unistring: remove support for narrow-unicode builds which stopped being relevant with Python 3.3
* all: use yield from (#1537)Georg Brandl2020-09-061-4/+2
|
* Update copyright year (fixes #1514.)Matthäus G. Chajdas2020-08-223-4/+4
|
* Add more checks to the release checklist.Matthäus G. Chajdas2020-03-081-2/+4
|
* Remove Python2 release instructions.Matthäus G. Chajdas2020-03-081-1/+0
|
* Remove Python 2 compatibility (#1348)Georg Brandl2020-02-295-10/+1
| | | | | | | | | | | * Remove Python 2 compatibility * remove 2/3 shims in pygments.util * update setup.py metadata * Remove unneeded object inheritance. * Remove unneeded future imports.
* add github release stepGeorg Brandl2019-11-291-1/+2
|
* keep version number in one place, dont do the "x.y.z+" anymoreGeorg Brandl2019-11-291-2/+2
|
* Post-release updates; also tweak checklistGeorg Brandl2019-11-291-5/+3
|
* check_sources: handle empty .py filesGeorg Brandl2019-11-291-0/+3
|
* Update hg/bitbucket -> git/github everywhere.Georg Brandl2019-11-101-5/+5
|
* Fixup all headers and some more minor problems.2.4.2Georg Brandl2019-05-283-4/+4
|
* Fix ResourceWarning: unclosed fileMicka?l Schoentgen2019-01-071-1/+2
| | | | Also uniformize usage of the 'with' contact manager to prevent resource leaks.
* Minimal fixup changes for the release, add release date.2.3.0Georg Brandl2018-11-251-16/+16
|
* add release checklistGeorg Brandl2018-11-241-0/+24
|
* Copyright update.Georg Brandl2017-01-223-4/+4
|
* Add support for partials and path segments for Handlebars.Christian Hammond2016-11-048-0/+2081
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.