summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Add Web IDL lexerXidorn Quan2019-11-281-0/+1269
|/ /
* | Fix unicode characterFaustino Aguilar2019-11-281-2/+2
| |
* | Update test.cr to match latest crystal syntaxFaustino Aguilar2019-11-281-560/+246
| |
* | Add terraform keywords module, data, output, and othersGeoffrey Grosenbach2019-11-281-62/+78
|/ | | | | | | | | | | | | Includes: - module - data - output - terraform - config - backend - tags Also includes example.tf with usage of these keywords.
* Merge pull request #1277 from jjatria/praat-interpolationMatthäus G. Chajdas2019-11-262-12/+146
|\ | | | | Improve detection of Praat interpolated variables
| * Improve detection of Praat interpolated variablesJosé Joaquín Atria2019-11-252-12/+146
| | | | | | | | Changes squashed / updated from https://bitbucket.org/birkenfeld/pygments-main/pull-requests/586
* | Add Solidity lexer.Georg Brandl2019-11-261-0/+74
| | | | | | | | Fixes #1214
* | Add Notmuch lexerDaniel Santana2019-11-261-0/+15
| |
* | Add Zeek lexer based on the Bro lexerJon Siwek2019-11-251-0/+181
|/ | | | | | | Bro has been renamed to Zeek, but the language is essentially the same without any different treatment of .zeek files from .bro files. This change also adds general improvements to the lexer.
* Fix #1253.Matthäus G. Chajdas2019-11-251-1/+18
|
* Add Lexer for scdocStefan Tatschner2019-11-251-0/+197
| | | | | | | | | | The scdoc markup language is increasingly used by the Wayland community for writing manpages. Examples are: * https://git.sr.ht/~sircmpwn/scdoc/tree/master/scdoc.5.scd * https://github.com/swaywm/sway/blob/master/sway/sway.1.scd * https://github.com/swaywm/swayidle/blob/master/swayidle.1.scd * https://git.sr.ht/~sircmpwn/aerc/tree/master/doc/aerc-tutorial.7.scd
* tests: set STORE_OUTPUT to false and explain itGeorg Brandl2019-11-251-1/+4
|
* Java: make it less operator-heavyGeorg Brandl2019-11-241-7/+7
| | | | Fixes #987
* Python lexers: make Python 3 the defaultGeorg Brandl2019-11-241-1/+1
|
* Fix #1256.Matthäus G. Chajdas2019-11-242-1/+21
| | | | | | | | | Reduce TeraTerm.analyze_text score to 0.01. This resolves the conflict with Turtle, but doesn't take over nearly all other languages. Added a test as provided in the bug report to ensure this won't regress again.
* Add tests for Apache2 configs, update CHANGES.Matthäus G. Chajdas2019-11-161-0/+42
|
* Add E-mail and MIME lexer (#1246)Tzu-ting2019-11-162-0/+126
| | | | Add MIME lexer with tests.
* Update for Csound 6.13.0Nathan Whetsell2019-11-103-0/+16
|
* Remove unittest classes from the test suite.Georg Brandl2019-11-1043-3913/+4022
|
* Cleanup test modules, more pytest-like testing.Georg Brandl2019-11-1011-61/+46
|
* Initial port to py.testGeorg Brandl2019-11-1016-334/+194
| | | | | Unittest classes are kept - for now - since py.test is ok with them. Generator tests had to be switched to pytest parametrized tests.
* Add lexer for ShExCLucas Werkmeister2019-07-201-0/+20
| | | | | | | | | | | | | | | | | ShExC [1] is one syntax for the ShEx (shape expressions) language [2] to describe the structure of RDF graphs (the other two syntaxes are based on JSON-LD and RDF and don?t need special lexers). It is syntactically similar to SPARQL, which is why a lot of the productions of ShExCLexer are copied from SparqlLexer, but at the same time has enough differences that I feel it?s better to simply copy the productions rather than trying to share them between the two lexers (compare e.?g. PN_LOCAL_ESCAPE_CHARS or IRIREF). The example file purports to be a brief schema for Pygments lexers, which I put together from scratch to avoid licensing issues with existing example schemas; it should not be taken too seriously. [1]: https://shex.io/shex-semantics/#shexc [2]: https://shexspec.github.io/primer/
* Merged in bnbn/pygments-main (pull request #820)Anteru2019-07-201-0/+263
|\ | | | | | | Added lexer for Zig programming language
| * Added lexer for Zig programming language and test file.Stephen2019-05-231-0/+263
| |
* | Fix #1528 -- Yaml gets confused when a comment contains a key:value pair.Matth?us G. Chajdas2019-07-201-1/+18
| |
* | Fixup all headers and some more minor problems.2.4.2Georg Brandl2019-05-2841-41/+41
|/
* Merged in lucatorella/pygments-main (pull request #813)Anteru2019-05-2111-12/+577
|\ | | | | | | Add support for @import keyword in Objective-C
| * Fix directive parsing in NasmLexer (fixes #1517.)Matth?us G. Chajdas2019-05-211-0/+30
| | | | | | | | | | | | | | 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.
| * Update terminal formatter tests.Matth?us G. Chajdas2019-05-181-5/+5
| | | | | | | | | | In eea5abc9161a, we changed the TerminalFormatter to use bright instead of bold, and this caused the tests here to fail.
| * Merged in hroncok/pygments-main/doscon_prompt (pull request #734)Anteru2019-05-091-1/+18
| |\ | | | | | | | | | Recognize single > as a prompt in doscon
| | * Recognize single > as a prompt in dosconMiro Hron?ok2017-09-221-1/+18
| | | | | | | | | | | | Fixes https://bitbucket.org/birkenfeld/pygments-main/issues/1380/lexer-for-cmdexe-interactive-session-with
| * | Never pop all states from the stack, even if a lexer wants to.Georg Brandl2019-05-061-6/+18
| | | | | | | | | | | | fixes #1506
| * | Merged in sgarnotel/pygments-main (pull request #785)Matth?us G. Chajdas2019-04-301-0/+94
| |\ \
| | * | Add FreeFem++ lexersgarnotel2018-11-271-0/+94
| | | |
| * | | Update apache2.conf sample, CHANGES.Matth?us G. Chajdas2019-04-301-0/+5
| | | |
| * | | Merged in kurtmckee/pygments-main/support-tera-term (pull request #749)Anteru2019-04-301-0/+34
| |\ \ \ | | | | | | | | | | | | | | | Support Tera Term macro language
| | * | | Support the Tera Term macro languageKurt McKee2018-01-281-0/+34
| | | |/ | | |/| | | | | | | | | | | | | | | | | 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-3035-528/+2742
| |\ \ \ | | | | | | | | | | | | | | | Add a lexer for the Boa Domain-Specific Langauge.
| | * \ \ Merged in Praetonus/pygments-main/pony (pull request #627)Anteru2019-04-3071-572/+2977
| | |\ \ \ | | | | | | | | | | | | | | | | | | Add lexer for the Pony language
| | | * \ \ Merged in gerph/pygments-main (pull request #806)Anteru2019-04-307-1/+1090
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | Create a Lexer class for BBC Basic files.
| | | | * \ \ Merge ssh://hg@bitbucket.org/Freso/pygments-main manually.Matth?us G. Chajdas2019-04-301-11/+177
| | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The PR on Bitbucket did not update correctly; pulling this in manually to get the much better TOML example file.
| | | | | * | | Add example TOML fileFrederik ?Freso? S. Olesen2019-04-011-0/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on https://github.com/toml-lang/toml/blob/master/README.md
| | | | | * | | Add lexers for DASM16, Augeas, TOML, and SlashFrederik ?Freso? S. Olesen2019-03-31497-0/+131190
| | | | | / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | | * | | Add TOML example file and improve the lexer a bit.Matth?us G. Chajdas2019-04-281-0/+15
| | | | | | |
| | | * | | | Create a Lexer class for BBC Basic files.Charles Ferguson2019-03-141-0/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | | | | Add lexer for the Pony languageBenoit Vey2016-07-251-0/+18
| | | | | | |
| * | | | | | Add a lexer for the Boa Domain-Specific Langauge.Andr?s Carrasco2018-04-171-0/+18
| | |_|_|/ / | |/| | | |
* | | | | | Add support for @import keyword in Objective-CLuca Torella2019-04-241-1/+12
| |_|_|/ / |/| | | |
* | | | | some fixes to the kotlin lexer to work with the corda kolin codebasenimmajbb2019-04-011-0/+131
| | | | |
* | | | | Merged in cjwatson/pygments-main (pull request #753)Anteru2019-04-011-0/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | Markdown: add support for reference-style links