summaryrefslogtreecommitdiff
path: root/pygments
Commit message (Collapse)AuthorAgeFilesLines
* Fixup all headers and some more minor problems.2.4.2Georg Brandl2019-05-28211-1193/+1134
|
* Fix CRLF newlines.Georg Brandl2019-05-281-102/+102
|
* Boa, SGF: minor fixupsGeorg Brandl2019-05-282-29/+46
|
* Update changelog, prepare 2.4.2 release.Georg Brandl2019-05-281-1/+1
|
* Properly decode text in guess_lexer if necessary.Georg Brandl2019-05-281-1/+8
| | | | fixes #1438
* Update CHANGES and prepare for 2.4.1 release.Matth?us G. Chajdas2019-05-241-1/+1
|
* Merged in lucatorella/pygments-main (pull request #813)Anteru2019-05-2122-41/+1888
|\ | | | | | | Add support for @import keyword in Objective-C
| * Fix directive parsing in NasmLexer (fixes #1517.)Matth?us G. Chajdas2019-05-211-2/+4
| | | | | | | | | | | | | | Directives were parsed independent of whitespace after them, which caused the cpuid instruction to be parsed as CPU & id, instead of cpuid. We now expect a whitespace character after a directive, which seems to match the Nasm documentation.
| * Backed out changeset: df3df829861dMatth?us G. Chajdas2019-05-211-7/+1
| |
| * Don't emit a trailing newline in nowrap mode (fixes #1514.)Matth?us G. Chajdas2019-05-181-1/+7
| |
| * Fix comment handling in Prolog lexer (#1511.)Matth?us G. Chajdas2019-05-181-1/+0
| | | | | | | | # does not start a comment in Prolog.
| * Stop highlighting primitive types in Coq (fixes #1430.)Matth?us G. Chajdas2019-05-181-2/+0
| |
| * Don't use bold for bright text in the console formatter (fixes #1480.)Matth?us G. Chajdas2019-05-181-1/+1
| |
| * Add 'of' to TypeScript grammar (fixes #1515.)Matth?us G. Chajdas2019-05-181-1/+1
| |
| * Merged in hroncok/pygments-main/doscon_prompt (pull request #734)Anteru2019-05-091-1/+1
| |\ | | | | | | | | | Recognize single > as a prompt in doscon
| | * Recognize single > as a prompt in dosconMiro Hron?ok2017-09-221-1/+1
| | | | | | | | | | | | Fixes https://bitbucket.org/birkenfeld/pygments-main/issues/1380/lexer-for-cmdexe-interactive-session-with
| * | Rename the F# parser to F# (same as C#.)Matth?us G. Chajdas2019-05-092-7/+4
| | | | | | | | | | | | | | | fsharp continues to be a valid alias, so existing code which asks for the FSharp lexer will continue to work.
| * | Merged in SylvainCorlay/pygments-main/css-variables (pull request #814)Anteru2019-05-098-16/+63
| |\ \ | | | | | | | | | | | | | | | | | | | | Allow for CSS variable in pygments stylesheets Approved-by: Anteru <bitbucket@ca.sh13.net>
| | * | All lexers should have an alias.Georg Brandl2019-05-082-2/+2
| | | |
| | * | Add docstring to the Boa lexer.Matth?us G. Chajdas2019-05-081-1/+13
| | | |
| | * | Bump version to 2.4.0.Matth?us G. Chajdas2019-05-081-1/+1
| | | |
| | * | Add i128/u128 types to the Rust parser.Matth?us G. Chajdas2019-05-081-1/+1
| | | |
| | * | Add license information to generated files (fixes #1496).Matth?us G. Chajdas2019-05-071-2/+11
| | | | | | | | | | | | | | | | Also update the license year to 2019.
| | * | Merged in fix-1506-2 (pull request #817)Georg Brandl2019-05-072-7/+17
| | |\ \ | | | | | | | | | | | | | | | Never pop all states from the stack, even if a lexer wants to.
| | | * | Fix invalid string escape.Georg Brandl2019-05-071-1/+1
| | | | |
| | | * | Never pop all states from the stack, even if a lexer wants to.Georg Brandl2019-05-061-6/+16
| | | | | | | | | | | | | | | | | | | | fixes #1506
| | * | | Add option to wrap the code in both <code> and <pre> (fixes #438.)Matth?us G. Chajdas2019-05-061-2/+18
| | |/ / | | | | | | | | | | | | Adds a new option "wrapcode" which wraps the code using <code>.
| * | | Allow for CSS variable in pygments stylesheetsSylvain Corlay2019-05-022-4/+11
| |/ /
| * | Update mappings, CHANGS and languages.Matth?us G. Chajdas2019-04-301-1/+1
| | |
| * | Merged in sgarnotel/pygments-main (pull request #785)Matth?us G. Chajdas2019-04-302-0/+968
| |\ \
| | * | Add FreeFem++ lexersgarnotel2018-11-272-0/+968
| | | |
| * | | Merged in 6wind/pygments-main/lexer-fixes (pull request #766)Anteru2019-04-302-3/+3
| |\ \ \ | | | | | | | | | | | | | | | Lexer fixes
| | * | | lexers/apache: allow '>' characters in tagsRobin Jarry2018-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix lexer to support this: <IfVersion >= 2.4> ErrorLogFormat "%{cu}t %M" </IfVersion>
| | * | | lexers/make: allow more GNU make constructsRobin Jarry2018-06-191-2/+2
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | * Allow nested macro expansions: $(eval $(var)) * Allow digits, dots, slashes and dashes in variable names in expansions: $(var-with.1-number)
| * | | Merged in kurtmckee/pygments-main/support-tera-term (pull request #749)Anteru2019-04-303-0/+166
| |\ \ \ | | | | | | | | | | | | | | | Support Tera Term macro language
| | * | | Support the Tera Term macro languageKurt McKee2018-01-283-0/+166
| | |/ / | | | | | | | | | | | | | | | | | | | | The patch modifies the Turtle parser in rdf.py, which uses the same file extension. A unit test file is included.
| * | | Merged in andrescarrasco/pygments-main/boa (pull request #756)Anteru2019-04-30103-2921/+5439
| |\ \ \ | | | | | | | | | | | | | | | Add a lexer for the Boa Domain-Specific Langauge.
| | * | | Update CHANGES, language list.Matth?us G. Chajdas2019-04-301-4/+6
| | | | |
| | * | | Simplify a few basic regex.Matth?us G. Chajdas2019-04-301-5/+5
| | | | |
| | * | | Merged in Praetonus/pygments-main/pony (pull request #627)Anteru2019-04-30211-3676/+6396
| | |\ \ \ | | | | | | | | | | | | | | | | | | Add lexer for the Pony language
| | | * \ \ Merged in gerph/pygments-main (pull request #806)Anteru2019-04-3012-62/+987
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | Create a Lexer class for BBC Basic files.
| | | | * | | Improve TOML lexer.Matth?us G. Chajdas2019-04-301-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The last found a few shortcomings in the TOML around float parsing. These get fixed in this commit; additionally, I simplified a bunch of regex.
| | | | * | | Merge ssh://hg@bitbucket.org/Freso/pygments-main manually.Matth?us G. Chajdas2019-04-301-1/+0
| | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The PR on Bitbucket did not update correctly; pulling this in manually to get the much better TOML example file.
| | | | | * | | Add `versionadded` to new lexer classesFrederik ?Freso? S. Olesen2019-04-013-0/+11
| | | | | | | |
| | | | | * | | Add lexers for DASM16, Augeas, TOML, and SlashFrederik ?Freso? S. Olesen2019-03-31209-0/+86119
| | | | | / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lexers copied unmodified from https://github.com/liluo/pygments-github-lexers which is available under a 2-clause BSD license (same as pygments), copyright 2012 to GitHub, Inc. Fixes #1391 and #1150.
| | | | * | | Various fixes and cleanups to the last batch of new languages.Matth?us G. Chajdas2019-04-284-8/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add to CHANGES, languages, add versionadded, recreate mappings, fix DASM16 alias.
| | | | * | | Add TOML example file and improve the lexer a bit.Matth?us G. Chajdas2019-04-281-1/+8
| | | | | | |
| | | | * | | Merged in Freso/pygments-main (pull request #807)Anteru2019-04-289-60/+594
| | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Add lexers for DASM16, Augeas, TOML, and Slash
| | | | * | | | Add lexers for DASM16, Augeas, TOML, and SlashFrederik ?Freso? S. Olesen2019-03-314-2/+371
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lexers copied unmodified from https://github.com/liluo/pygments-github-lexers which is available under a 2-clause BSD license (same as pygments), copyright 2012 to GitHub, Inc. Fixes #1391 and #1150.
| | | * | | | | Create a Lexer class for BBC Basic files.Charles Ferguson2019-03-142-2/+98
| | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Lexer class for BBC Basic handles both the numbered lines, and unnumbered lines, of the detokenised (text) format of BBC BASIC. The tokeniser copes, in a naive manner, with the orignal versions, and BASIC V. It does not handle other extensions at this time, nor does it handle inline assembler. This should be sufficient for most cases where code needs to be presented in a colourful manner.