summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 2.6.1.2.6.1Matthäus G. Chajdas2020-03-082-1/+7
|
* Remove Python2 release instructions.Matthäus G. Chajdas2020-03-081-1/+0
|
* Bump version to 2.6.0.2.6.0Matthäus G. Chajdas2020-03-081-1/+1
|
* Update CHANGES.Matthäus G. Chajdas2020-03-081-0/+1
|
* Fix #1401.Matthäus G. Chajdas2020-03-072-5/+2
| | | | Remove a '__main__' handler from __init__.py.
* Merge pull request #1402 from lonetwin/masterMatthäus G. Chajdas2020-03-051-6/+7
|\ | | | | sql lexer: Add temporal support keywords
| * sql lexer: Add temporal support keywordslonetwin2020-02-291-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SQL:2011 introduced support for temporal databases[1] via new keywords to create and manage temporal tables. This patchset adds these new keywords to the sql lexer. One concrete example of these feature is the temporal tables support in MariaDB[2]. As evident from the code listing on that page, the syntax highlighting for these keywords is not as widespread as expected (I wouldn't be surprised if code listing on that page ultimately use pygments for syntax highlighting !) [1] https://en.wikipedia.org/wiki/SQL:2011 [2] https://mariadb.com/kb/en/temporal-data-tables/
* | Merge pull request #1405 from pygments/fix/1247Matthäus G. Chajdas2020-03-052-24/+36
|\ \ | | | | | | Fix #1247 by looking up in both HKLM and HKCU.
| * | Improve font handling code.Matthäus G. Chajdas2020-03-031-6/+9
| | | | | | | | | | | | | | | * Fix an issue raised in the review -- don't raise None no matter what. * Remove a few variables to make the control flow easier to understand
| * | Fix #1247 by looking up in both HKLM and HKCU.Matthäus G. Chajdas2020-03-022-24/+33
| |/ | | | | | | | | | | This is slightly different from the code posted inside the issue: * Use finally to close the registry key no matter what * Don't use break, but return directly on the first hit
* | Merge pull request #1404 from pygments/task/windows-ciMatthäus G. Chajdas2020-03-033-7/+32
|\ \ | |/ |/| Add Windows CI support & fix tests on Windows
| * Fix tests on Windows.Matthäus G. Chajdas2020-03-012-5/+25
| | | | | | | | | | | | | | This fixes three test failures on Windows: * Two due to incorrect handling of : (on Windows, multiple : can be part of a path.) * One due to newline differences
| * Run build tests on Windows.Matthäus G. Chajdas2020-03-011-2/+7
|/
* Update CHANGES.Matthäus G. Chajdas2020-02-291-1/+1
|
* Update CHANGES.Matthäus G. Chajdas2020-02-291-1/+1
|
* Merge branch 'kubo39-dlang-remove-typedef-from-keywords'Matthäus G. Chajdas2020-02-291-1/+6
|\
| * Add typedef back to the D lexer.Matthäus G. Chajdas2020-02-291-0/+5
| | | | | | | | | | Put it into a new category, Keyword.Removed, so it's not completely gone.
| * Merge branch 'dlang-remove-typedef-from-keywords' of ↵Matthäus G. Chajdas2020-02-291-1/+1
| |\ |/ / | | | | https://github.com/kubo39/pygments into kubo39-dlang-remove-typedef-from-keywords
| * D: remove typedef from keywordsHiroki Noda2020-01-181-1/+1
| | | | | | | | ref: https://dlang.org/deprecate.html#typedef
* | Update CHANGES.Matthäus G. Chajdas2020-02-291-0/+1
| |
* | Add ReasonML lexer. (#1386)Florian Hammerschmidt2020-02-294-2/+164
| |
* | Remove Python 2 compatibility (#1348)Georg Brandl2020-02-2953-260/+128
| | | | | | | | | | | | | | | | | | | | | | * Remove Python 2 compatibility * remove 2/3 shims in pygments.util * update setup.py metadata * Remove unneeded object inheritance. * Remove unneeded future imports.
* | Update CHANGES.Matthäus G. Chajdas2020-02-291-1/+1
| |
* | Merge pull request #1385 from tomerv/python-fstringMatthäus G. Chajdas2020-02-292-15/+788
|\ \ | | | | | | Python f-strings: highlight expressions in curly braces
| * | Python f-strings: highlight expressions in curly bracesTomer Vromen2020-02-042-15/+788
| | | | | | | | | | | | Fixes #1228
* | | Mention MiniScript in language list/CHANGES, add versionadded.Matthäus G. Chajdas2020-02-293-0/+4
| | |
* | | Merge pull request #1397 from JoeStrout/add-miniscriptMatthäus G. Chajdas2020-02-293-2/+340
|\ \ \ | | | | | | | | Add support for the MiniScript embedded scripting language.
| * | | Add support for the MiniScript embedded scripting language.JoeStrout2020-02-203-2/+340
| | | |
* | | | Update CHANGES.Matthäus G. Chajdas2020-02-291-5/+16
| | | |
* | | | Merge pull request #1400 from verhovsky/patch-1Georg Brandl2020-02-271-3/+3
|\ \ \ \ | |/ / / |/| | | Move Python 3-only exceptions into PythonLexer
| * | | Move Python 3-only exceptions into Python3LexerБорис Верховский2020-02-261-3/+3
|/ / /
* | | Add support for *.mjs JavaScript modules extension (#1392)Alan Hamlett2020-02-122-2/+2
| | |
* | | Support for *.eex files in ElixirLexer (#1387)Alan Hamlett2020-02-112-2/+2
| | | | | | | | | | | | | | | | | | * Support for *.eex files in ElixirLexer * update lexer mapping
* | | Fix links (#1389)Ofek Lev2020-02-102-2/+2
| | | | | | | | | | | | | | | | | | * Fix link * here too
* | | Update Csound built-ins for v6.14.0 (#1383)Nate Whetsell2020-02-092-5/+19
| | | | | | | | | | | | Update Csound built-ins for v6.14.0
* | | Merge pull request #1388 from ↵Matthäus G. Chajdas2020-02-093-7/+7
|\ \ \ | | | | | | | | | | | | | | | | alanhamlett/regex-search-does-not-work-with-multiline Multiline flag does not work with re.match
| * | | Multiline flag does not work with re.matchAlan Hamlett2020-02-083-7/+7
| |/ /
* | | Merge pull request #1375 from kubo39/dlang-add-FILE_FULL_PATHMatthäus G. Chajdas2020-02-091-3/+3
|\ \ \ | |/ / |/| | D: add __FILE_FULL_PATH__
| * | D: add __FILE_FULL_PATH__Hiroki Noda2020-01-301-3/+3
| | |
* | | Merge pull request #1382 from bslatkin/masterGeorg Brandl2020-02-042-1/+26
|\ \ \ | | | | | | | | Adds the walrus operator to the Python3 lexer.
| * | | Adds the walrus operator to the Python3 lexer.Brett Slatkin2020-02-022-1/+26
|/ / / | | | | | | | | | | | | | | | | | | - The walrus operator, also known as assignment expressions, was introduced in Python 3.8 - Moves the Token.Operator matching root above Token.Punctuation so the walrus operator takes precedence - Includes a test to make sure this behavior doesn't regress since it's sensitive to the order of expressions - Fixes #1381
* | | Fix glob patterns when absolute paths are used (#1378)Catatonic2020-02-022-1/+46
| | | | | | | | | | | | | | | | | | * Fix glob patterns for directives like Include. * removing unnecessary escaping.
* | | FAQ: refer to issue instead of email for additionGeorg Brandl2020-02-011-2/+2
| | |
* | | FAQ: add snippet.hostGeorg Brandl2020-02-011-0/+1
| | |
* | | Add support for python dependency management file (#1376)Georg Brandl2020-02-013-4/+4
|\ \ \ | |/ / |/| | Add support for python dependency management file
| * | add filename for pipenv & poetrytzing2020-02-013-4/+4
|/ /
* | Add sieve as alias for Sieve.Matthäus G. Chajdas2020-01-242-1/+2
| |
* | Update CHANGES, language list, and regenerate mapfile.Matthäus G. Chajdas2020-01-243-1/+3
| |
* | Add lexer for LLVM's MIR format (#1361)Daniel Sanders2020-01-243-5/+251
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MIR is a human readable serialization format that's used to represent LLVM's machine specific intermediate representation. It allows LLVM's developers to see the state of the compilation process at various points, as well as test individual pieces of the compiler. Our documentation for the format can be found at https://llvm.org/docs/MIRLangRef.html. Adding a lexer for this format will allow the LLVM documentation to contain syntax highlighted examples of LLVM-MIR. Two lexers are included in this change. 'llvm-mir' lexes the overall document format and delegates to 'llvm' and 'llvm-mir-body' as appropriate. 'llvm-mir-body' lexes the contents of the 'body:' attribute and can be used directly to syntax highlight code examples without including the document boilerplate. Since the 'llvm-mir' lexer delegates to the 'llvm' lexer at times, this change also adds the 'immarg' and 'willreturn' keywords to the 'llvm' lexer as these were missing.
* | Correct lexing of Idris compiler directives (#1363)Molly Miller2020-01-192-1/+66
|/ | | | | | | | | | | * Fix lexing of Idris compiler pragmas. The regex for capturing Idris compiler pragmas did not separate the leading percent sign from the disjunction of compiler directives correctly, which caused issues such as "import" or "namespace" keywords to be mishighlighted, due to confusion with the "%import" and "%name" compiler pragmas. * Add unit test for Idris compiler directive lexing