From dc476928b4e14c2e6eaed8e5c065b02d8979c1b1 Mon Sep 17 00:00:00 2001 From: JinWang An Date: Tue, 5 Jan 2021 12:17:30 +0900 Subject: [PATCH] Imported Upstream version 2.2.0 --- .hgignore | 19 - .hgtags | 31 - AUTHORS | 24 +- CHANGES | 51 + LICENSE | 2 +- MANIFEST.in | 2 +- Makefile | 5 +- PKG-INFO | 4 +- Pygments.egg-info/PKG-INFO | 4 +- Pygments.egg-info/SOURCES.txt | 173 +- doc/_themes/pygments14/layout.html | 2 +- .../pygments14/static/pygments14.css_t | 2 +- doc/docs/api.rst | 38 + doc/docs/cmdline.rst | 17 + doc/docs/lexerdevelopment.rst | 59 +- doc/docs/lexers.rst | 2 +- doc/docs/styles.rst | 56 + doc/docs/tokens.rst | 16 + doc/docs/unicode.rst | 2 +- doc/languages.rst | 2 + external/autopygmentize | 40 +- external/markdown-processor.py | 2 +- external/moin-parser.py | 2 +- external/rst-directive.py | 2 +- ez_setup.py | 382 -- pygments/__init__.py | 24 +- pygments/cmdline.py | 71 +- pygments/console.py | 26 +- pygments/filter.py | 10 +- pygments/filters/__init__.py | 2 +- pygments/formatter.py | 4 +- pygments/formatters/__init__.py | 39 +- pygments/formatters/_mapping.py | 2 +- pygments/formatters/bbcode.py | 2 +- pygments/formatters/html.py | 2 +- pygments/formatters/img.py | 39 +- pygments/formatters/irc.py | 2 +- pygments/formatters/latex.py | 2 +- pygments/formatters/other.py | 2 +- pygments/formatters/rtf.py | 2 +- pygments/formatters/svg.py | 2 +- pygments/formatters/terminal.py | 2 +- pygments/formatters/terminal256.py | 38 +- pygments/lexer.py | 6 +- pygments/lexers/__init__.py | 64 +- pygments/lexers/_asy_builtins.py | 2 +- pygments/lexers/_cl_builtins.py | 2 +- pygments/lexers/_cocoa_builtins.py | 2 +- pygments/lexers/_csound_builtins.py | 2 +- pygments/lexers/_lasso_builtins.py | 9 +- pygments/lexers/_lua_builtins.py | 94 +- pygments/lexers/_mapping.py | 51 +- pygments/lexers/_mql_builtins.py | 2 +- pygments/lexers/_openedge_builtins.py | 2 +- pygments/lexers/_php_builtins.py | 2 +- pygments/lexers/_postgres_builtins.py | 2 +- pygments/lexers/_scilab_builtins.py | 2 +- pygments/lexers/_sourcemod_builtins.py | 2 +- pygments/lexers/_stan_builtins.py | 2 +- pygments/lexers/_stata_builtins.py | 419 ++ pygments/lexers/_tsql_builtins.py | 1004 ++++ pygments/lexers/_vim_builtins.py | 2 +- pygments/lexers/actionscript.py | 2 +- pygments/lexers/agile.py | 2 +- pygments/lexers/algebra.py | 8 +- pygments/lexers/ambient.py | 2 +- pygments/lexers/ampl.py | 87 + pygments/lexers/apl.py | 2 +- pygments/lexers/archetype.py | 2 +- pygments/lexers/asm.py | 343 +- pygments/lexers/automation.py | 2 +- pygments/lexers/basic.py | 2 +- pygments/lexers/bibtex.py | 160 + pygments/lexers/business.py | 194 +- pygments/lexers/c_cpp.py | 38 +- pygments/lexers/c_like.py | 206 +- pygments/lexers/capnproto.py | 78 + pygments/lexers/chapel.py | 25 +- pygments/lexers/clean.py | 288 + pygments/lexers/compiled.py | 3 +- pygments/lexers/configs.py | 50 +- pygments/lexers/console.py | 2 +- pygments/lexers/crystal.py | 393 ++ pygments/lexers/csound.py | 32 +- pygments/lexers/css.py | 485 +- pygments/lexers/d.py | 2 +- pygments/lexers/dalvik.py | 2 +- pygments/lexers/data.py | 39 +- pygments/lexers/diff.py | 63 +- pygments/lexers/dotnet.py | 47 +- pygments/lexers/dsls.py | 206 +- pygments/lexers/dylan.py | 2 +- pygments/lexers/ecl.py | 2 +- pygments/lexers/eiffel.py | 2 +- pygments/lexers/elm.py | 16 +- pygments/lexers/erlang.py | 34 +- pygments/lexers/esoteric.py | 152 +- pygments/lexers/ezhil.py | 21 +- pygments/lexers/factor.py | 2 +- pygments/lexers/fantom.py | 2 +- pygments/lexers/felix.py | 4 +- pygments/lexers/forth.py | 177 + pygments/lexers/fortran.py | 15 +- pygments/lexers/foxpro.py | 2 +- pygments/lexers/functional.py | 2 +- pygments/lexers/go.py | 2 +- pygments/lexers/grammar_notation.py | 92 +- pygments/lexers/graph.py | 2 +- pygments/lexers/graphics.py | 2 +- pygments/lexers/haskell.py | 9 +- pygments/lexers/haxe.py | 2 +- pygments/lexers/hdl.py | 2 +- pygments/lexers/hexdump.py | 30 +- pygments/lexers/html.py | 19 +- pygments/lexers/idl.py | 15 +- pygments/lexers/igor.py | 404 +- pygments/lexers/inferno.py | 2 +- pygments/lexers/installers.py | 2 +- pygments/lexers/int_fiction.py | 2 +- pygments/lexers/iolang.py | 2 +- pygments/lexers/j.py | 8 +- pygments/lexers/javascript.py | 257 +- pygments/lexers/julia.py | 297 +- pygments/lexers/jvm.py | 36 +- pygments/lexers/lisp.py | 1784 +++--- pygments/lexers/make.py | 6 +- pygments/lexers/markup.py | 97 +- pygments/lexers/math.py | 2 +- pygments/lexers/matlab.py | 2 +- pygments/lexers/ml.py | 2 +- pygments/lexers/modeling.py | 2 +- pygments/lexers/modula2.py | 4 +- pygments/lexers/monte.py | 204 + pygments/lexers/ncl.py | 894 +++ pygments/lexers/nimrod.py | 24 +- pygments/lexers/nit.py | 2 +- pygments/lexers/nix.py | 2 +- pygments/lexers/oberon.py | 8 +- pygments/lexers/objective.py | 27 +- pygments/lexers/ooc.py | 2 +- pygments/lexers/other.py | 3 +- pygments/lexers/parasail.py | 4 +- pygments/lexers/parsers.py | 2 +- pygments/lexers/pascal.py | 4 +- pygments/lexers/pawn.py | 2 +- pygments/lexers/perl.py | 29 +- pygments/lexers/php.py | 38 +- pygments/lexers/praat.py | 49 +- pygments/lexers/prolog.py | 2 +- pygments/lexers/python.py | 140 +- pygments/lexers/qvt.py | 86 +- pygments/lexers/r.py | 2 +- pygments/lexers/rdf.py | 12 +- pygments/lexers/rebol.py | 2 +- pygments/lexers/resource.py | 5 +- pygments/lexers/rnc.py | 67 + pygments/lexers/roboconf.py | 2 +- pygments/lexers/robotframework.py | 2 +- pygments/lexers/ruby.py | 10 +- pygments/lexers/rust.py | 110 +- pygments/lexers/sas.py | 228 + pygments/lexers/scripting.py | 85 +- pygments/lexers/shell.py | 40 +- pygments/lexers/smalltalk.py | 2 +- pygments/lexers/smv.py | 79 + pygments/lexers/snobol.py | 2 +- pygments/lexers/special.py | 5 +- pygments/lexers/sql.py | 105 +- pygments/lexers/stata.py | 108 + pygments/lexers/supercollider.py | 12 +- pygments/lexers/tcl.py | 2 +- pygments/lexers/templates.py | 117 +- pygments/lexers/testing.py | 4 +- pygments/lexers/text.py | 2 +- pygments/lexers/textedit.py | 2 +- pygments/lexers/textfmts.py | 2 +- pygments/lexers/theorem.py | 42 +- pygments/lexers/trafficscript.py | 2 +- pygments/lexers/typoscript.py | 226 + pygments/lexers/urbi.py | 2 +- pygments/lexers/varnish.py | 190 + pygments/lexers/verification.py | 111 + pygments/lexers/web.py | 2 +- pygments/lexers/webmisc.py | 31 +- pygments/lexers/whiley.py | 116 + pygments/lexers/x10.py | 2 +- pygments/modeline.py | 11 +- pygments/plugin.py | 30 +- pygments/regexopt.py | 4 +- pygments/scanner.py | 5 +- pygments/sphinxext.py | 3 +- pygments/style.py | 43 +- pygments/styles/__init__.py | 5 +- pygments/styles/abap.py | 29 + pygments/styles/algol.py | 2 +- pygments/styles/algol_nu.py | 2 +- pygments/styles/arduino.py | 12 +- pygments/styles/autumn.py | 2 +- pygments/styles/borland.py | 2 +- pygments/styles/bw.py | 2 +- pygments/styles/colorful.py | 2 +- pygments/styles/default.py | 2 +- pygments/styles/emacs.py | 2 +- pygments/styles/friendly.py | 2 +- pygments/styles/fruity.py | 2 +- pygments/styles/igor.py | 2 +- pygments/styles/lovelace.py | 6 +- pygments/styles/manni.py | 2 +- pygments/styles/monokai.py | 2 +- pygments/styles/murphy.py | 2 +- pygments/styles/native.py | 2 +- pygments/styles/paraiso_dark.py | 2 +- pygments/styles/paraiso_light.py | 2 +- pygments/styles/pastie.py | 2 +- pygments/styles/perldoc.py | 4 +- pygments/styles/rainbow_dash.py | 89 + pygments/styles/rrt.py | 2 +- pygments/styles/sas.py | 44 + pygments/styles/stata.py | 40 + pygments/styles/tango.py | 2 +- pygments/styles/trac.py | 2 +- pygments/styles/vim.py | 2 +- pygments/styles/vs.py | 2 +- pygments/styles/xcode.py | 2 +- pygments/token.py | 37 +- pygments/unistring.py | 2 +- pygments/util.py | 9 +- requirements.txt | 5 - scripts/check_sources.py | 4 +- scripts/debug_lexer.py | 4 +- scripts/find_error.py | 247 +- scripts/get_vimkw.py | 2 +- setup.cfg | 3 +- setup.py | 32 +- tests/.coverage | Bin 13152 -> 0 bytes .../__pycache__/string_asserts.cpython-33.pyc | Bin 1469 -> 0 bytes .../__pycache__/string_asserts.cpython-35.pyc | Bin 1061 -> 0 bytes tests/__pycache__/support.cpython-33.pyc | Bin 689 -> 0 bytes tests/__pycache__/support.cpython-35.pyc | Bin 553 -> 0 bytes .../__pycache__/test_basic_api.cpython-33.pyc | Bin 18346 -> 0 bytes .../__pycache__/test_basic_api.cpython-35.pyc | Bin 12516 -> 0 bytes tests/__pycache__/test_cfm.cpython-33.pyc | Bin 2324 -> 0 bytes tests/__pycache__/test_cfm.cpython-35.pyc | Bin 1720 -> 0 bytes tests/__pycache__/test_clexer.cpython-33.pyc | Bin 7334 -> 0 bytes tests/__pycache__/test_clexer.cpython-35.pyc | Bin 6520 -> 0 bytes tests/__pycache__/test_cmdline.cpython-33.pyc | Bin 11598 -> 0 bytes tests/__pycache__/test_cmdline.cpython-35.pyc | Bin 8473 -> 0 bytes .../test_examplefiles.cpython-33.pyc | Bin 5050 -> 0 bytes .../test_examplefiles.cpython-35.pyc | Bin 3955 -> 0 bytes tests/__pycache__/test_ezhil.cpython-35.pyc | Bin 4559 -> 0 bytes .../test_html_formatter.cpython-33.pyc | Bin 9503 -> 0 bytes .../test_html_formatter.cpython-35.pyc | Bin 7141 -> 0 bytes tests/__pycache__/test_inherit.cpython-33.pyc | Bin 6640 -> 0 bytes tests/__pycache__/test_inherit.cpython-35.pyc | Bin 4403 -> 0 bytes .../test_irc_formatter.cpython-35.pyc | Bin 1169 -> 0 bytes tests/__pycache__/test_java.cpython-33.pyc | Bin 1781 -> 0 bytes tests/__pycache__/test_java.cpython-35.pyc | Bin 2221 -> 0 bytes .../test_latex_formatter.cpython-33.pyc | Bin 2290 -> 0 bytes .../test_latex_formatter.cpython-35.pyc | Bin 1779 -> 0 bytes .../test_lexers_other.cpython-33.pyc | Bin 3635 -> 0 bytes .../test_lexers_other.cpython-35.pyc | Bin 3335 -> 0 bytes .../test_objectiveclexer.cpython-33.pyc | Bin 4125 -> 0 bytes .../test_objectiveclexer.cpython-35.pyc | Bin 2865 -> 0 bytes .../__pycache__/test_perllexer.cpython-33.pyc | Bin 10626 -> 0 bytes .../__pycache__/test_perllexer.cpython-35.pyc | Bin 6954 -> 0 bytes .../test_qbasiclexer.cpython-33.pyc | Bin 2040 -> 0 bytes .../test_qbasiclexer.cpython-35.pyc | Bin 1557 -> 0 bytes .../test_regexlexer.cpython-33.pyc | Bin 2921 -> 0 bytes .../test_regexlexer.cpython-35.pyc | Bin 2069 -> 0 bytes .../__pycache__/test_regexopt.cpython-33.pyc | Bin 4440 -> 0 bytes .../__pycache__/test_regexopt.cpython-35.pyc | Bin 3150 -> 0 bytes .../test_rtf_formatter.cpython-33.pyc | Bin 6164 -> 0 bytes .../test_rtf_formatter.cpython-35.pyc | Bin 4442 -> 0 bytes tests/__pycache__/test_ruby.cpython-33.pyc | Bin 5468 -> 0 bytes tests/__pycache__/test_ruby.cpython-35.pyc | Bin 4092 -> 0 bytes tests/__pycache__/test_shell.cpython-33.pyc | Bin 2992 -> 0 bytes tests/__pycache__/test_shell.cpython-35.pyc | Bin 2803 -> 0 bytes tests/__pycache__/test_smarty.cpython-33.pyc | Bin 1939 -> 0 bytes tests/__pycache__/test_smarty.cpython-35.pyc | Bin 1487 -> 0 bytes .../test_string_asserts.cpython-33.pyc | Bin 2740 -> 0 bytes .../test_string_asserts.cpython-35.pyc | Bin 1818 -> 0 bytes .../test_terminal_formatter.cpython-35.pyc | Bin 2022 -> 0 bytes .../__pycache__/test_textfmts.cpython-33.pyc | Bin 2227 -> 0 bytes .../__pycache__/test_textfmts.cpython-35.pyc | Bin 1642 -> 0 bytes tests/__pycache__/test_token.cpython-33.pyc | Bin 2256 -> 0 bytes tests/__pycache__/test_token.cpython-35.pyc | Bin 1995 -> 0 bytes .../__pycache__/test_unistring.cpython-33.pyc | Bin 2430 -> 0 bytes .../__pycache__/test_unistring.cpython-35.pyc | Bin 1813 -> 0 bytes .../__pycache__/test_using_api.cpython-33.pyc | Bin 2446 -> 0 bytes .../__pycache__/test_using_api.cpython-35.pyc | Bin 1717 -> 0 bytes tests/__pycache__/test_util.cpython-33.pyc | Bin 12866 -> 0 bytes tests/__pycache__/test_util.cpython-35.pyc | Bin 9190 -> 0 bytes tests/cover/coverage_html.js | 376 -- tests/cover/jquery.hotkeys.js | 99 - tests/cover/jquery.isonscreen.js | 53 - tests/cover/jquery.min.js | 166 - tests/cover/jquery.tablesorter.min.js | 2 - tests/cover/keybd_closed.png | Bin 264 -> 0 bytes tests/cover/keybd_open.png | Bin 267 -> 0 bytes tests/cover/status.dat | 5179 ----------------- tests/cover/style.css | 300 - tests/examplefiles/StdGeneric.icl | 92 + tests/examplefiles/capdl_example.cdl | 64 + tests/examplefiles/demo.frt | 3 + tests/examplefiles/demo.hbs | 22 + tests/examplefiles/durexmania.aheui | 4 + tests/examplefiles/example.bat | 2 + tests/examplefiles/example.hs | 10 + tests/examplefiles/example.jsgf | 28 + tests/examplefiles/example.juttle | 110 + tests/examplefiles/example.lua | 24 + tests/examplefiles/example.md | 61 + tests/examplefiles/example.ng2 | 11 + tests/examplefiles/example.praat | 51 +- tests/examplefiles/example.sbl | 109 + tests/examplefiles/example.tasm | 527 ++ tests/examplefiles/example.whiley | 296 + tests/examplefiles/example.xtm | 1101 ++++ tests/examplefiles/example.yaml | 9 + tests/examplefiles/example2.cpp | 20 + tests/examplefiles/fibonacci.tokigun.aheui | 4 + tests/examplefiles/flatline_example | 186 + tests/examplefiles/guidance.smv | 1124 ++++ tests/examplefiles/hello-world.puzzlet.aheui | 10 + tests/examplefiles/plain.bst | 1097 ++++ tests/examplefiles/postgresql_test.txt | 34 + tests/examplefiles/rnc_example.rnc | 33 + tests/examplefiles/test.bib | 77 + tests/examplefiles/test.cr | 2871 +++++++++ tests/examplefiles/test.erl | 12 + tests/examplefiles/test.escript | 4 + tests/examplefiles/test.hsail | 62 + tests/examplefiles/test.mt | 7 + tests/examplefiles/test.ncl | 20 + tests/examplefiles/test.php | 29 + tests/examplefiles/test.sil | 206 + tests/examplefiles/tsql_example.sql | 72 + .../{example.ts => typescript_example} | 0 tests/examplefiles/typoscript_example | 1930 ++++++ tests/examplefiles/varnish.vcl | 187 + tests/examplefiles/wdiff_example1.wdiff | 731 +++ tests/examplefiles/wdiff_example3.wdiff | 10 + tests/run.py | 2 +- tests/string_asserts.py | 2 +- tests/string_asserts.pyc | Bin 1218 -> 0 bytes tests/support.pyc | Bin 631 -> 0 bytes tests/support/empty.py | 1 + tests/support/html_formatter.py | 6 + tests/support/python_lexer.py | 12 + tests/test_basic_api.py | 10 +- tests/test_basic_api.pyc | Bin 13646 -> 0 bytes tests/test_bibtex.py | 236 + tests/test_cfm.py | 2 +- tests/test_cfm.pyc | Bin 1877 -> 0 bytes tests/test_clexer.py | 2 +- tests/test_clexer.pyc | Bin 7082 -> 0 bytes tests/test_cmdline.py | 56 +- tests/test_cmdline.pyc | Bin 9732 -> 0 bytes tests/test_cpp.py | 33 + tests/test_crystal.py | 308 + tests/test_data.py | 100 + tests/test_examplefiles.py | 8 +- tests/test_examplefiles.pyc | Bin 4508 -> 0 bytes tests/test_ezhil.py | 3 +- tests/test_ezhil.pyc | Bin 4954 -> 0 bytes tests/test_html_formatter.py | 2 +- tests/test_html_formatter.pyc | Bin 7914 -> 0 bytes tests/test_inherit.py | 2 +- tests/test_inherit.pyc | Bin 4031 -> 0 bytes tests/test_irc_formatter.py | 2 +- tests/test_irc_formatter.pyc | Bin 1317 -> 0 bytes tests/test_java.py | 2 +- tests/test_java.pyc | Bin 2511 -> 0 bytes tests/test_javascript.py | 84 + tests/test_julia.py | 58 + tests/test_latex_formatter.py | 6 +- tests/test_latex_formatter.pyc | Bin 2036 -> 0 bytes tests/test_lexers_other.py | 28 +- tests/test_lexers_other.pyc | Bin 3714 -> 0 bytes tests/test_modeline.py | 26 + tests/test_objectiveclexer.py | 2 +- tests/test_objectiveclexer.pyc | Bin 3145 -> 0 bytes tests/test_perllexer.py | 24 +- tests/test_perllexer.pyc | Bin 7481 -> 0 bytes tests/test_php.py | 36 + tests/test_praat.py | 130 + tests/test_properties.py | 89 + tests/test_python.py | 113 + tests/test_qbasiclexer.py | 2 +- tests/test_qbasiclexer.pyc | Bin 1807 -> 0 bytes tests/test_regexlexer.py | 2 +- tests/test_regexlexer.pyc | Bin 2358 -> 0 bytes tests/test_regexopt.py | 36 +- tests/test_regexopt.pyc | Bin 3355 -> 0 bytes tests/test_rtf_formatter.py | 2 +- tests/test_rtf_formatter.pyc | Bin 4866 -> 0 bytes tests/test_ruby.py | 2 +- tests/test_ruby.pyc | Bin 4511 -> 0 bytes tests/test_shell.py | 57 +- tests/test_shell.pyc | Bin 3129 -> 0 bytes tests/test_smarty.py | 2 +- tests/test_smarty.pyc | Bin 1690 -> 0 bytes tests/test_sql.py | 74 + tests/test_string_asserts.py | 2 +- tests/test_string_asserts.pyc | Bin 2017 -> 0 bytes tests/test_terminal_formatter.py | 55 +- tests/test_terminal_formatter.pyc | Bin 2295 -> 0 bytes tests/test_textfmts.py | 2 +- tests/test_textfmts.pyc | Bin 1842 -> 0 bytes tests/test_token.py | 2 +- tests/test_token.pyc | Bin 2231 -> 0 bytes tests/test_unistring.py | 2 +- tests/test_unistring.pyc | Bin 1996 -> 0 bytes tests/test_using_api.py | 2 +- tests/test_using_api.pyc | Bin 1965 -> 0 bytes tests/test_util.py | 2 +- tests/test_util.pyc | Bin 9890 -> 0 bytes tests/test_whiley.py | 30 + tox.ini | 7 - 419 files changed, 23002 insertions(+), 9223 deletions(-) delete mode 100644 .hgignore delete mode 100644 .hgtags delete mode 100644 ez_setup.py create mode 100644 pygments/lexers/_stata_builtins.py create mode 100644 pygments/lexers/_tsql_builtins.py create mode 100644 pygments/lexers/ampl.py create mode 100644 pygments/lexers/bibtex.py create mode 100644 pygments/lexers/capnproto.py create mode 100644 pygments/lexers/clean.py create mode 100644 pygments/lexers/crystal.py create mode 100644 pygments/lexers/forth.py create mode 100644 pygments/lexers/monte.py create mode 100644 pygments/lexers/ncl.py create mode 100644 pygments/lexers/rnc.py create mode 100644 pygments/lexers/sas.py create mode 100644 pygments/lexers/smv.py create mode 100644 pygments/lexers/stata.py create mode 100644 pygments/lexers/typoscript.py create mode 100644 pygments/lexers/varnish.py create mode 100644 pygments/lexers/verification.py create mode 100644 pygments/lexers/whiley.py create mode 100644 pygments/styles/abap.py create mode 100644 pygments/styles/rainbow_dash.py create mode 100644 pygments/styles/sas.py create mode 100644 pygments/styles/stata.py delete mode 100644 requirements.txt mode change 120000 => 100755 scripts/find_error.py delete mode 100644 tests/.coverage delete mode 100644 tests/__pycache__/string_asserts.cpython-33.pyc delete mode 100644 tests/__pycache__/string_asserts.cpython-35.pyc delete mode 100644 tests/__pycache__/support.cpython-33.pyc delete mode 100644 tests/__pycache__/support.cpython-35.pyc delete mode 100644 tests/__pycache__/test_basic_api.cpython-33.pyc delete mode 100644 tests/__pycache__/test_basic_api.cpython-35.pyc delete mode 100644 tests/__pycache__/test_cfm.cpython-33.pyc delete mode 100644 tests/__pycache__/test_cfm.cpython-35.pyc delete mode 100644 tests/__pycache__/test_clexer.cpython-33.pyc delete mode 100644 tests/__pycache__/test_clexer.cpython-35.pyc delete mode 100644 tests/__pycache__/test_cmdline.cpython-33.pyc delete mode 100644 tests/__pycache__/test_cmdline.cpython-35.pyc delete mode 100644 tests/__pycache__/test_examplefiles.cpython-33.pyc delete mode 100644 tests/__pycache__/test_examplefiles.cpython-35.pyc delete mode 100644 tests/__pycache__/test_ezhil.cpython-35.pyc delete mode 100644 tests/__pycache__/test_html_formatter.cpython-33.pyc delete mode 100644 tests/__pycache__/test_html_formatter.cpython-35.pyc delete mode 100644 tests/__pycache__/test_inherit.cpython-33.pyc delete mode 100644 tests/__pycache__/test_inherit.cpython-35.pyc delete mode 100644 tests/__pycache__/test_irc_formatter.cpython-35.pyc delete mode 100644 tests/__pycache__/test_java.cpython-33.pyc delete mode 100644 tests/__pycache__/test_java.cpython-35.pyc delete mode 100644 tests/__pycache__/test_latex_formatter.cpython-33.pyc delete mode 100644 tests/__pycache__/test_latex_formatter.cpython-35.pyc delete mode 100644 tests/__pycache__/test_lexers_other.cpython-33.pyc delete mode 100644 tests/__pycache__/test_lexers_other.cpython-35.pyc delete mode 100644 tests/__pycache__/test_objectiveclexer.cpython-33.pyc delete mode 100644 tests/__pycache__/test_objectiveclexer.cpython-35.pyc delete mode 100644 tests/__pycache__/test_perllexer.cpython-33.pyc delete mode 100644 tests/__pycache__/test_perllexer.cpython-35.pyc delete mode 100644 tests/__pycache__/test_qbasiclexer.cpython-33.pyc delete mode 100644 tests/__pycache__/test_qbasiclexer.cpython-35.pyc delete mode 100644 tests/__pycache__/test_regexlexer.cpython-33.pyc delete mode 100644 tests/__pycache__/test_regexlexer.cpython-35.pyc delete mode 100644 tests/__pycache__/test_regexopt.cpython-33.pyc delete mode 100644 tests/__pycache__/test_regexopt.cpython-35.pyc delete mode 100644 tests/__pycache__/test_rtf_formatter.cpython-33.pyc delete mode 100644 tests/__pycache__/test_rtf_formatter.cpython-35.pyc delete mode 100644 tests/__pycache__/test_ruby.cpython-33.pyc delete mode 100644 tests/__pycache__/test_ruby.cpython-35.pyc delete mode 100644 tests/__pycache__/test_shell.cpython-33.pyc delete mode 100644 tests/__pycache__/test_shell.cpython-35.pyc delete mode 100644 tests/__pycache__/test_smarty.cpython-33.pyc delete mode 100644 tests/__pycache__/test_smarty.cpython-35.pyc delete mode 100644 tests/__pycache__/test_string_asserts.cpython-33.pyc delete mode 100644 tests/__pycache__/test_string_asserts.cpython-35.pyc delete mode 100644 tests/__pycache__/test_terminal_formatter.cpython-35.pyc delete mode 100644 tests/__pycache__/test_textfmts.cpython-33.pyc delete mode 100644 tests/__pycache__/test_textfmts.cpython-35.pyc delete mode 100644 tests/__pycache__/test_token.cpython-33.pyc delete mode 100644 tests/__pycache__/test_token.cpython-35.pyc delete mode 100644 tests/__pycache__/test_unistring.cpython-33.pyc delete mode 100644 tests/__pycache__/test_unistring.cpython-35.pyc delete mode 100644 tests/__pycache__/test_using_api.cpython-33.pyc delete mode 100644 tests/__pycache__/test_using_api.cpython-35.pyc delete mode 100644 tests/__pycache__/test_util.cpython-33.pyc delete mode 100644 tests/__pycache__/test_util.cpython-35.pyc delete mode 100644 tests/cover/coverage_html.js delete mode 100644 tests/cover/jquery.hotkeys.js delete mode 100644 tests/cover/jquery.isonscreen.js delete mode 100644 tests/cover/jquery.min.js delete mode 100644 tests/cover/jquery.tablesorter.min.js delete mode 100644 tests/cover/keybd_closed.png delete mode 100644 tests/cover/keybd_open.png delete mode 100644 tests/cover/status.dat delete mode 100644 tests/cover/style.css create mode 100644 tests/examplefiles/StdGeneric.icl create mode 100644 tests/examplefiles/capdl_example.cdl create mode 100644 tests/examplefiles/demo.frt create mode 100644 tests/examplefiles/durexmania.aheui create mode 100644 tests/examplefiles/example.jsgf create mode 100644 tests/examplefiles/example.juttle create mode 100644 tests/examplefiles/example.md create mode 100644 tests/examplefiles/example.ng2 create mode 100644 tests/examplefiles/example.sbl create mode 100644 tests/examplefiles/example.tasm create mode 100644 tests/examplefiles/example.whiley create mode 100644 tests/examplefiles/example.xtm create mode 100644 tests/examplefiles/example2.cpp create mode 100644 tests/examplefiles/fibonacci.tokigun.aheui create mode 100644 tests/examplefiles/flatline_example create mode 100644 tests/examplefiles/guidance.smv create mode 100644 tests/examplefiles/hello-world.puzzlet.aheui create mode 100644 tests/examplefiles/plain.bst create mode 100644 tests/examplefiles/rnc_example.rnc create mode 100644 tests/examplefiles/test.bib create mode 100644 tests/examplefiles/test.cr create mode 100644 tests/examplefiles/test.escript create mode 100644 tests/examplefiles/test.hsail create mode 100644 tests/examplefiles/test.mt create mode 100644 tests/examplefiles/test.ncl create mode 100644 tests/examplefiles/test.sil create mode 100644 tests/examplefiles/tsql_example.sql rename tests/examplefiles/{example.ts => typescript_example} (100%) create mode 100644 tests/examplefiles/typoscript_example create mode 100644 tests/examplefiles/varnish.vcl create mode 100644 tests/examplefiles/wdiff_example1.wdiff create mode 100644 tests/examplefiles/wdiff_example3.wdiff delete mode 100644 tests/string_asserts.pyc delete mode 100644 tests/support.pyc create mode 100644 tests/support/empty.py create mode 100644 tests/support/html_formatter.py create mode 100644 tests/support/python_lexer.py delete mode 100644 tests/test_basic_api.pyc create mode 100644 tests/test_bibtex.py delete mode 100644 tests/test_cfm.pyc delete mode 100644 tests/test_clexer.pyc delete mode 100644 tests/test_cmdline.pyc create mode 100644 tests/test_cpp.py create mode 100644 tests/test_crystal.py create mode 100644 tests/test_data.py delete mode 100644 tests/test_examplefiles.pyc delete mode 100644 tests/test_ezhil.pyc delete mode 100644 tests/test_html_formatter.pyc delete mode 100644 tests/test_inherit.pyc delete mode 100644 tests/test_irc_formatter.pyc delete mode 100644 tests/test_java.pyc create mode 100644 tests/test_javascript.py create mode 100644 tests/test_julia.py delete mode 100644 tests/test_latex_formatter.pyc delete mode 100644 tests/test_lexers_other.pyc create mode 100644 tests/test_modeline.py delete mode 100644 tests/test_objectiveclexer.pyc delete mode 100644 tests/test_perllexer.pyc create mode 100644 tests/test_php.py create mode 100644 tests/test_praat.py create mode 100644 tests/test_properties.py create mode 100644 tests/test_python.py delete mode 100644 tests/test_qbasiclexer.pyc delete mode 100644 tests/test_regexlexer.pyc delete mode 100644 tests/test_regexopt.pyc delete mode 100644 tests/test_rtf_formatter.pyc delete mode 100644 tests/test_ruby.pyc delete mode 100644 tests/test_shell.pyc delete mode 100644 tests/test_smarty.pyc create mode 100644 tests/test_sql.py delete mode 100644 tests/test_string_asserts.pyc delete mode 100644 tests/test_terminal_formatter.pyc delete mode 100644 tests/test_textfmts.pyc delete mode 100644 tests/test_token.pyc delete mode 100644 tests/test_unistring.pyc delete mode 100644 tests/test_using_api.pyc delete mode 100644 tests/test_util.pyc create mode 100644 tests/test_whiley.py delete mode 100644 tox.ini diff --git a/.hgignore b/.hgignore deleted file mode 100644 index 850baf1..0000000 --- a/.hgignore +++ /dev/null @@ -1,19 +0,0 @@ -syntax: glob -*.egg -*.pyc -*.pyo -.*.sw[op] -.idea/ -.ropeproject -.project -.tags -.tox -Pygments.egg-info/* -TAGS -build/* -dist/* -doc/_build -TAGS -tests/.coverage -tests/cover -tests/examplefiles/output diff --git a/.hgtags b/.hgtags deleted file mode 100644 index 33b32ca..0000000 --- a/.hgtags +++ /dev/null @@ -1,31 +0,0 @@ -634420aa4221cc1eb2b3753bd571166bd9e611d4 0.9 -942ecbb5c84ca5d57ae82f5697775973f4e12717 0.10 -63632d0340958d891176db20fe9a32a56abcd5ea 0.11 -13834ec94d2c5a90a68bc2c2a327abd962c486bc 0.11.1 -a5748745272afffd725570e068a560d46e28dc1f 1.0 -5a794a620dc711a219722a7af94d9d2e95cda26d 1.1 -dd81c35efd95292de4965153c66c8bbfe435f1c4 1.1.1 -e7691aa4f473a2cdaa2e5b7bfed8aec196719aca 0.5.1 -6f53364d63ddb8bd9532bb6ea402e3af05275b03 0.5 -11efe99c11e601071c3a77910b9fca769de66fbf 0.6 -99df0a7404d168b05626ffced6fd16edcf58c145 0.7 -d0b08fd569d3d9dafec4c045a7d8876442b3ef64 0.7.1 -1054522d1dda9c7899516ead3e65e5e363fdf30d 0.8 -066e56d8f5caa31e15386fff6f938bedd85a8732 0.8.1 -bae0833cae75e5a641abe3c4b430fa384cd9d258 1.2 -f6e5acee4f761696676e05a9112c91a5a5670b49 1.2.1 -580c5ce755486bc92c79c50f80cfc79924e15140 1.2.2 -c62867700c9e98cc2988c62f298ec54cee9b6927 1.3 -3a3846c2503db85bb70a243c8bc702629c4bce57 1.3.1 -8ad6d35dd2ab0530a1e2c088ab7fe0e00426b5f9 1.4 -eff3aee4abff2b72564ddfde77fcc82adbba52ad 1.5 -2c262bfc66b05a8aecc1109c3acc5b9447a5213c 1.6rc1 -7c962dcb484cb73394aec7f41709940340dc8a9c 1.6 -da509a68ea620bbb8ee3f5d5cf7761375d8f4451 2.0rc1 -ed3206a773e9cb90a0edeabee8ef6b56b5b9a53c 2.0 -94e1e056c92d97e3a54759f9216e8deff22efbdd 2.0.1 -142a870bf0f1822414649ae26f433b112a5c92d5 2.0.2 -34530db252d35d7ef57a8dbb9fce7bcc46f6ba6b 2.1 -2935c3a59672e8ae74ffb7ea66ea6567f49782f6 2.1.1 -8e7ebc56153cf899067333bff4f15ae98758a2e1 2.1.2 -88527db663dce0729c2cd6e3bc2f3c657ae39254 2.1.3 diff --git a/AUTHORS b/AUTHORS index 9318d43..f9ba267 100644 --- a/AUTHORS +++ b/AUTHORS @@ -7,7 +7,7 @@ Other contributors, listed alphabetically, are: * Sam Aaron -- Ioke lexer * Ali Afshar -- image formatter -* Thomas Aglassinger -- Easytrieve, JCL and Rexx lexers +* Thomas Aglassinger -- Easytrieve, JCL, Rexx and Transact-SQL lexers * Muthiah Annamalai -- Ezhil lexer * Kumar Appaiah -- Debian control lexer * Andreas Amann -- AppleScript lexer @@ -33,10 +33,12 @@ Other contributors, listed alphabetically, are: * Adam Blinkinsop -- Haskell, Redcode lexers * Frits van Bommel -- assembler lexers * Pierre Bourdon -- bugfixes +* Matthias Bussonnier -- ANSI style handling for terminal-256 formatter * chebee7i -- Python traceback lexer improvements * Hiram Chirino -- Scaml and Jade lexers +* Mauricio Caceres -- SAS and Stata lexers. * Ian Cooper -- VGL lexer -* David Corbett -- Inform, Jasmin, and TADS 3 lexers +* David Corbett -- Inform, Jasmin, JSGF, Snowball, and TADS 3 lexers * Leaf Corcoran -- MoonScript lexer * Christopher Creutzig -- MuPAD lexer * Daniël W. Crompton -- Pike lexer @@ -64,6 +66,7 @@ Other contributors, listed alphabetically, are: * Alex Gilding -- BlitzBasic lexer * Bertrand Goetzmann -- Groovy lexer * Krzysiek Goj -- Scala lexer +* Andrey Golovizin -- BibTeX lexers * Matt Good -- Genshi, Cheetah lexers * Michał Górny -- vim modeline support * Alex Gosse -- TrafficScript lexer @@ -88,7 +91,8 @@ Other contributors, listed alphabetically, are: * Tim Howard -- BlitzMax lexer * Dustin Howett -- Logos lexer * Ivan Inozemtsev -- Fantom lexer -* Hiroaki Itoh -- Shell console rewrite, Lexers for PowerShell session, MSDOS session, BC +* Hiroaki Itoh -- Shell console rewrite, Lexers for PowerShell session, + MSDOS session, BC, WDiff * Brian R. Jackson -- Tea lexer * Christian Jann -- ShellSession lexer * Dennis Kaarsemaker -- sources.list lexer @@ -110,7 +114,9 @@ Other contributors, listed alphabetically, are: * Jon Larimer, Google Inc. -- Smali lexer * Olov Lassus -- Dart lexer * Matt Layman -- TAP lexer +* Kristian Lyngstøl -- Varnish lexers * Sylvestre Ledru -- Scilab lexer +* Chee Sing Lee -- Flatline lexer * Mark Lee -- Vala lexer * Valentin Lorentz -- C++ lexer improvements * Ben Mabey -- Gherkin lexer @@ -135,6 +141,7 @@ Other contributors, listed alphabetically, are: * Mher Movsisyan -- DTD lexer * Dejan Muhamedagic -- Crmsh lexer * Ana Nelson -- Ragel, ANTLR, R console lexers +* Kurt Neufeld -- Markdown lexer * Nam T. Nguyen -- Monokai style * Jesper Noehr -- HTML formatter "anchorlinenos" * Mike Nolta -- Julia lexer @@ -148,6 +155,8 @@ Other contributors, listed alphabetically, are: * Dominik Picheta -- Nimrod lexer * Andrew Pinkham -- RTF Formatter Refactoring * Clément Prévost -- UrbiScript lexer +* Tanner Prynn -- cmdline -x option and loading lexers from files +* Oleh Prypin -- Crystal lexer (based on Ruby lexer) * Elias Rabel -- Fortran fixed form lexer * raichoo -- Idris lexer * Kashif Rasul -- CUDA lexer @@ -156,6 +165,8 @@ Other contributors, listed alphabetically, are: * Corey Richardson -- Rust lexer updates * Lubomir Rintel -- GoodData MAQL and CL lexers * Andre Roberge -- Tango style +* Georg Rollinger -- HSAIL lexer +* Michiel Roos -- TypoScript lexer * Konrad Rudolph -- LaTeX formatter enhancements * Mario Ruggier -- Evoque lexers * Miikka Salminen -- Lovelace style, Hexdump lexer, lexer enhancements @@ -163,22 +174,28 @@ Other contributors, listed alphabetically, are: * Matteo Sasso -- Common Lisp lexer * Joe Schafer -- Ada lexer * Ken Schutte -- Matlab lexers +* René Schwaiger -- Rainbow Dash style +* Sebastian Schweizer -- Whiley lexer * Tassilo Schweyer -- Io, MOOCode lexers * Ted Shaw -- AutoIt lexer * Joerg Sieker -- ABAP lexer * Robert Simmons -- Standard ML lexer * Kirill Simonov -- YAML lexer +* Corbin Simpson -- Monte lexer * Alexander Smishlajev -- Visual FoxPro lexer * Steve Spigarelli -- XQuery lexer * Jerome St-Louis -- eC lexer +* Camil Staps -- Clean and NuSMV lexers * James Strachan -- Kotlin lexer * Tom Stuart -- Treetop lexer * Colin Sullivan -- SuperCollider lexer +* Ben Swift -- Extempore lexer * Edoardo Tenani -- Arduino lexer * Tiberius Teng -- default style overhaul * Jeremy Thurgood -- Erlang, Squid config lexers * Brian Tiffin -- OpenCOBOL lexer * Bob Tolbert -- Hy lexer +* Matthias Trute -- Forth lexer * Erick Tryzelaar -- Felix lexer * Alexander Udalov -- Kotlin lexer improvements * Thomas Van Doren -- Chapel lexer @@ -186,6 +203,7 @@ Other contributors, listed alphabetically, are: * Abe Voelker -- OpenEdge ABL lexer * Pepijn de Vos -- HTML formatter CTags support * Matthias Vallentin -- Bro lexer +* Benoît Vinot -- AMPL lexer * Linh Vu Hong -- RSL lexer * Nathan Weizenbaum -- Haml and Sass lexers * Nathan Whetsell -- Csound lexers diff --git a/CHANGES b/CHANGES index 478970d..0bab911 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,57 @@ Issue numbers refer to the tracker at pull request numbers to the requests at . +Version 2.2.0 +------------- +(release Jan 22, 2017) + +- Added lexers: + + * AMPL + * TypoScript (#1173) + * Varnish config (PR#554) + * Clean (PR#503) + * WDiff (PR#513) + * Flatline (PR#551) + * Silver (PR#537) + * HSAIL (PR#518) + * JSGF (PR#546) + * NCAR command language (PR#536) + * Extempore (PR#530) + * Cap'n Proto (PR#595) + * Whiley (PR#573) + * Monte (PR#592) + * Crystal (PR#576) + * Snowball (PR#589) + * CapDL (PR#579) + * NuSMV (PR#564) + * SAS, Stata (PR#593) + +- Added the ability to load lexer and formatter classes directly from files + with the `-x` command line option and the `lexers.load_lexer_from_file()` + and `formatters.load_formatter_from_file()` functions. (PR#559) + +- Added `lexers.find_lexer_class_by_name()`. (#1203) + +- Added new token types and lexing for magic methods and variables in Python + and PHP. + +- Added a new token type for string affixes and lexing for them in Python, C++ + and Postgresql lexers. + +- Added a new token type for heredoc (and similar) string delimiters and + lexing for them in C++, Perl, PHP, Postgresql and Ruby lexers. + +- Styles can now define colors with ANSI colors for use in the 256-color + terminal formatter. (PR#531) + +- Improved the CSS lexer. (#1083, #1130) + +- Added "Rainbow Dash" style. (PR#623) + +- Delay loading `pkg_resources`, which takes a long while to import. (PR#690) + + Version 2.1.3 ------------- (released Mar 2, 2016) diff --git a/LICENSE b/LICENSE index 10b8e91..2181552 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2006-2015 by the respective authors (see AUTHORS file). +Copyright (c) 2006-2017 by the respective authors (see AUTHORS file). All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/MANIFEST.in b/MANIFEST.in index cfec4e9..7e1d320 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,6 +1,6 @@ include pygmentize include external/* -include Makefile CHANGES LICENSE AUTHORS TODO ez_setup.py +include Makefile CHANGES LICENSE AUTHORS TODO recursive-include tests * recursive-include doc * recursive-include scripts * diff --git a/Makefile b/Makefile index efae857..82c4a12 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ # # Combines scripts for common tasks. # -# :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. +# :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. # :license: BSD, see LICENSE for details. # @@ -55,6 +55,9 @@ test: test-coverage: @$(PYTHON) tests/run.py -d --with-coverage --cover-package=pygments --cover-erase $(TEST) +test-examplefiles: + nosetests tests/test_examplefiles.py + tox-test: @tox -- $(TEST) diff --git a/PKG-INFO b/PKG-INFO index 4e75234..34d39f2 100644 --- a/PKG-INFO +++ b/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: Pygments -Version: 2.1.3 +Version: 2.2.0 Summary: Pygments is a syntax highlighting package written in Python. Home-page: http://pygments.org/ Author: Georg Brandl @@ -21,7 +21,7 @@ Description: Pygments * a number of output formats, presently HTML, LaTeX, RTF, SVG, all image formats that PIL supports and ANSI sequences * it is usable as a command-line tool and as a library - :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. Keywords: syntax highlighting diff --git a/Pygments.egg-info/PKG-INFO b/Pygments.egg-info/PKG-INFO index 4e75234..34d39f2 100644 --- a/Pygments.egg-info/PKG-INFO +++ b/Pygments.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: Pygments -Version: 2.1.3 +Version: 2.2.0 Summary: Pygments is a syntax highlighting package written in Python. Home-page: http://pygments.org/ Author: Georg Brandl @@ -21,7 +21,7 @@ Description: Pygments * a number of output formats, presently HTML, LaTeX, RTF, SVG, all image formats that PIL supports and ANSI sequences * it is usable as a command-line tool and as a library - :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. Keywords: syntax highlighting diff --git a/Pygments.egg-info/SOURCES.txt b/Pygments.egg-info/SOURCES.txt index 5155bcc..efb359f 100644 --- a/Pygments.egg-info/SOURCES.txt +++ b/Pygments.egg-info/SOURCES.txt @@ -1,5 +1,3 @@ -.hgignore -.hgtags AUTHORS CHANGES LICENSE @@ -7,12 +5,9 @@ MANIFEST.in Makefile README.rst TODO -ez_setup.py pygmentize -requirements.txt setup.cfg setup.py -tox.ini Pygments.egg-info/PKG-INFO Pygments.egg-info/SOURCES.txt Pygments.egg-info/dependency_links.txt @@ -109,23 +104,30 @@ pygments/lexers/_postgres_builtins.py pygments/lexers/_scilab_builtins.py pygments/lexers/_sourcemod_builtins.py pygments/lexers/_stan_builtins.py +pygments/lexers/_stata_builtins.py +pygments/lexers/_tsql_builtins.py pygments/lexers/_vim_builtins.py pygments/lexers/actionscript.py pygments/lexers/agile.py pygments/lexers/algebra.py pygments/lexers/ambient.py +pygments/lexers/ampl.py pygments/lexers/apl.py pygments/lexers/archetype.py pygments/lexers/asm.py pygments/lexers/automation.py pygments/lexers/basic.py +pygments/lexers/bibtex.py pygments/lexers/business.py pygments/lexers/c_cpp.py pygments/lexers/c_like.py +pygments/lexers/capnproto.py pygments/lexers/chapel.py +pygments/lexers/clean.py pygments/lexers/compiled.py pygments/lexers/configs.py pygments/lexers/console.py +pygments/lexers/crystal.py pygments/lexers/csound.py pygments/lexers/css.py pygments/lexers/d.py @@ -144,6 +146,7 @@ pygments/lexers/ezhil.py pygments/lexers/factor.py pygments/lexers/fantom.py pygments/lexers/felix.py +pygments/lexers/forth.py pygments/lexers/fortran.py pygments/lexers/foxpro.py pygments/lexers/functional.py @@ -174,6 +177,8 @@ pygments/lexers/matlab.py pygments/lexers/ml.py pygments/lexers/modeling.py pygments/lexers/modula2.py +pygments/lexers/monte.py +pygments/lexers/ncl.py pygments/lexers/nimrod.py pygments/lexers/nit.py pygments/lexers/nix.py @@ -195,16 +200,20 @@ pygments/lexers/r.py pygments/lexers/rdf.py pygments/lexers/rebol.py pygments/lexers/resource.py +pygments/lexers/rnc.py pygments/lexers/roboconf.py pygments/lexers/robotframework.py pygments/lexers/ruby.py pygments/lexers/rust.py +pygments/lexers/sas.py pygments/lexers/scripting.py pygments/lexers/shell.py pygments/lexers/smalltalk.py +pygments/lexers/smv.py pygments/lexers/snobol.py pygments/lexers/special.py pygments/lexers/sql.py +pygments/lexers/stata.py pygments/lexers/supercollider.py pygments/lexers/tcl.py pygments/lexers/templates.py @@ -214,11 +223,16 @@ pygments/lexers/textedit.py pygments/lexers/textfmts.py pygments/lexers/theorem.py pygments/lexers/trafficscript.py +pygments/lexers/typoscript.py pygments/lexers/urbi.py +pygments/lexers/varnish.py +pygments/lexers/verification.py pygments/lexers/web.py pygments/lexers/webmisc.py +pygments/lexers/whiley.py pygments/lexers/x10.py pygments/styles/__init__.py +pygments/styles/abap.py pygments/styles/algol.py pygments/styles/algol_nu.py pygments/styles/arduino.py @@ -240,7 +254,10 @@ pygments/styles/paraiso_dark.py pygments/styles/paraiso_light.py pygments/styles/pastie.py pygments/styles/perldoc.py +pygments/styles/rainbow_dash.py pygments/styles/rrt.py +pygments/styles/sas.py +pygments/styles/stata.py pygments/styles/tango.py pygments/styles/trac.py pygments/styles/vim.py @@ -254,134 +271,50 @@ scripts/find_error.py scripts/get_vimkw.py scripts/pylintrc scripts/vim2pygments.py -tests/.coverage tests/run.py tests/string_asserts.py -tests/string_asserts.pyc tests/support.py -tests/support.pyc tests/test_basic_api.py -tests/test_basic_api.pyc +tests/test_bibtex.py tests/test_cfm.py -tests/test_cfm.pyc tests/test_clexer.py -tests/test_clexer.pyc tests/test_cmdline.py -tests/test_cmdline.pyc +tests/test_cpp.py +tests/test_crystal.py +tests/test_data.py tests/test_examplefiles.py -tests/test_examplefiles.pyc tests/test_ezhil.py -tests/test_ezhil.pyc tests/test_html_formatter.py -tests/test_html_formatter.pyc tests/test_inherit.py -tests/test_inherit.pyc tests/test_irc_formatter.py -tests/test_irc_formatter.pyc tests/test_java.py -tests/test_java.pyc +tests/test_javascript.py +tests/test_julia.py tests/test_latex_formatter.py -tests/test_latex_formatter.pyc tests/test_lexers_other.py -tests/test_lexers_other.pyc +tests/test_modeline.py tests/test_objectiveclexer.py -tests/test_objectiveclexer.pyc tests/test_perllexer.py -tests/test_perllexer.pyc +tests/test_php.py +tests/test_praat.py +tests/test_properties.py +tests/test_python.py tests/test_qbasiclexer.py -tests/test_qbasiclexer.pyc tests/test_regexlexer.py -tests/test_regexlexer.pyc tests/test_regexopt.py -tests/test_regexopt.pyc tests/test_rtf_formatter.py -tests/test_rtf_formatter.pyc tests/test_ruby.py -tests/test_ruby.pyc tests/test_shell.py -tests/test_shell.pyc tests/test_smarty.py -tests/test_smarty.pyc +tests/test_sql.py tests/test_string_asserts.py -tests/test_string_asserts.pyc tests/test_terminal_formatter.py -tests/test_terminal_formatter.pyc tests/test_textfmts.py -tests/test_textfmts.pyc tests/test_token.py -tests/test_token.pyc tests/test_unistring.py -tests/test_unistring.pyc tests/test_using_api.py -tests/test_using_api.pyc tests/test_util.py -tests/test_util.pyc -tests/__pycache__/string_asserts.cpython-33.pyc -tests/__pycache__/string_asserts.cpython-35.pyc -tests/__pycache__/support.cpython-33.pyc -tests/__pycache__/support.cpython-35.pyc -tests/__pycache__/test_basic_api.cpython-33.pyc -tests/__pycache__/test_basic_api.cpython-35.pyc -tests/__pycache__/test_cfm.cpython-33.pyc -tests/__pycache__/test_cfm.cpython-35.pyc -tests/__pycache__/test_clexer.cpython-33.pyc -tests/__pycache__/test_clexer.cpython-35.pyc -tests/__pycache__/test_cmdline.cpython-33.pyc -tests/__pycache__/test_cmdline.cpython-35.pyc -tests/__pycache__/test_examplefiles.cpython-33.pyc -tests/__pycache__/test_examplefiles.cpython-35.pyc -tests/__pycache__/test_ezhil.cpython-35.pyc -tests/__pycache__/test_html_formatter.cpython-33.pyc -tests/__pycache__/test_html_formatter.cpython-35.pyc -tests/__pycache__/test_inherit.cpython-33.pyc -tests/__pycache__/test_inherit.cpython-35.pyc -tests/__pycache__/test_irc_formatter.cpython-35.pyc -tests/__pycache__/test_java.cpython-33.pyc -tests/__pycache__/test_java.cpython-35.pyc -tests/__pycache__/test_latex_formatter.cpython-33.pyc -tests/__pycache__/test_latex_formatter.cpython-35.pyc -tests/__pycache__/test_lexers_other.cpython-33.pyc -tests/__pycache__/test_lexers_other.cpython-35.pyc -tests/__pycache__/test_objectiveclexer.cpython-33.pyc -tests/__pycache__/test_objectiveclexer.cpython-35.pyc -tests/__pycache__/test_perllexer.cpython-33.pyc -tests/__pycache__/test_perllexer.cpython-35.pyc -tests/__pycache__/test_qbasiclexer.cpython-33.pyc -tests/__pycache__/test_qbasiclexer.cpython-35.pyc -tests/__pycache__/test_regexlexer.cpython-33.pyc -tests/__pycache__/test_regexlexer.cpython-35.pyc -tests/__pycache__/test_regexopt.cpython-33.pyc -tests/__pycache__/test_regexopt.cpython-35.pyc -tests/__pycache__/test_rtf_formatter.cpython-33.pyc -tests/__pycache__/test_rtf_formatter.cpython-35.pyc -tests/__pycache__/test_ruby.cpython-33.pyc -tests/__pycache__/test_ruby.cpython-35.pyc -tests/__pycache__/test_shell.cpython-33.pyc -tests/__pycache__/test_shell.cpython-35.pyc -tests/__pycache__/test_smarty.cpython-33.pyc -tests/__pycache__/test_smarty.cpython-35.pyc -tests/__pycache__/test_string_asserts.cpython-33.pyc -tests/__pycache__/test_string_asserts.cpython-35.pyc -tests/__pycache__/test_terminal_formatter.cpython-35.pyc -tests/__pycache__/test_textfmts.cpython-33.pyc -tests/__pycache__/test_textfmts.cpython-35.pyc -tests/__pycache__/test_token.cpython-33.pyc -tests/__pycache__/test_token.cpython-35.pyc -tests/__pycache__/test_unistring.cpython-33.pyc -tests/__pycache__/test_unistring.cpython-35.pyc -tests/__pycache__/test_using_api.cpython-33.pyc -tests/__pycache__/test_using_api.cpython-35.pyc -tests/__pycache__/test_util.cpython-33.pyc -tests/__pycache__/test_util.cpython-35.pyc -tests/cover/coverage_html.js -tests/cover/jquery.hotkeys.js -tests/cover/jquery.isonscreen.js -tests/cover/jquery.min.js -tests/cover/jquery.tablesorter.min.js -tests/cover/keybd_closed.png -tests/cover/keybd_open.png -tests/cover/status.dat -tests/cover/style.css +tests/test_whiley.py tests/dtds/HTML4-f.dtd tests/dtds/HTML4-s.dtd tests/dtds/HTML4.dcl @@ -413,6 +346,7 @@ tests/examplefiles/OrderedMap.hx tests/examplefiles/RoleQ.pm6 tests/examplefiles/SmallCheck.hs tests/examplefiles/Sorting.mod +tests/examplefiles/StdGeneric.icl tests/examplefiles/Sudoku.lhs tests/examplefiles/abnf_example1.abnf tests/examplefiles/abnf_example2.abnf @@ -433,6 +367,7 @@ tests/examplefiles/bigtest.nsi tests/examplefiles/bnf_example1.bnf tests/examplefiles/boot-9.scm tests/examplefiles/ca65_example +tests/examplefiles/capdl_example.cdl tests/examplefiles/cbmbas_example tests/examplefiles/cells.ps tests/examplefiles/ceval.c @@ -448,12 +383,14 @@ tests/examplefiles/de.MoinMoin.po tests/examplefiles/demo.ahk tests/examplefiles/demo.cfm tests/examplefiles/demo.css.in +tests/examplefiles/demo.frt tests/examplefiles/demo.hbs tests/examplefiles/demo.js.in tests/examplefiles/demo.thrift tests/examplefiles/demo.xul.in tests/examplefiles/django_sample.html+django tests/examplefiles/docker.docker +tests/examplefiles/durexmania.aheui tests/examplefiles/dwarf.cw tests/examplefiles/eg_example1.eg tests/examplefiles/ember.handlebars @@ -495,7 +432,9 @@ tests/examplefiles/example.j tests/examplefiles/example.jag tests/examplefiles/example.java tests/examplefiles/example.jcl +tests/examplefiles/example.jsgf tests/examplefiles/example.jsonld +tests/examplefiles/example.juttle tests/examplefiles/example.kal tests/examplefiles/example.kt tests/examplefiles/example.lagda @@ -503,12 +442,14 @@ tests/examplefiles/example.liquid tests/examplefiles/example.lua tests/examplefiles/example.ma tests/examplefiles/example.mac +tests/examplefiles/example.md tests/examplefiles/example.monkey tests/examplefiles/example.moo tests/examplefiles/example.moon tests/examplefiles/example.mq4 tests/examplefiles/example.mqh tests/examplefiles/example.msc +tests/examplefiles/example.ng2 tests/examplefiles/example.ni tests/examplefiles/example.nim tests/examplefiles/example.nix @@ -527,6 +468,7 @@ tests/examplefiles/example.rhtml tests/examplefiles/example.rkt tests/examplefiles/example.rpf tests/examplefiles/example.rts +tests/examplefiles/example.sbl tests/examplefiles/example.scd tests/examplefiles/example.sh tests/examplefiles/example.sh-session @@ -537,20 +479,23 @@ tests/examplefiles/example.sml tests/examplefiles/example.snobol tests/examplefiles/example.stan tests/examplefiles/example.tap +tests/examplefiles/example.tasm tests/examplefiles/example.tea tests/examplefiles/example.tf tests/examplefiles/example.thy tests/examplefiles/example.todotxt -tests/examplefiles/example.ts tests/examplefiles/example.ttl tests/examplefiles/example.u tests/examplefiles/example.weechatlog +tests/examplefiles/example.whiley tests/examplefiles/example.x10 tests/examplefiles/example.xhtml tests/examplefiles/example.xtend +tests/examplefiles/example.xtm tests/examplefiles/example.yaml tests/examplefiles/example1.cadl tests/examplefiles/example2.aspx +tests/examplefiles/example2.cpp tests/examplefiles/example2.msc tests/examplefiles/exampleScript.cfc tests/examplefiles/exampleTag.cfc @@ -558,7 +503,9 @@ tests/examplefiles/example_coq.v tests/examplefiles/example_elixir.ex tests/examplefiles/example_file.fy tests/examplefiles/ezhil_primefactors.n +tests/examplefiles/fibonacci.tokigun.aheui tests/examplefiles/firefox.mak +tests/examplefiles/flatline_example tests/examplefiles/flipflop.sv tests/examplefiles/foo.sce tests/examplefiles/format.ml @@ -572,7 +519,9 @@ tests/examplefiles/genshitext_example.genshitext tests/examplefiles/glsl.frag tests/examplefiles/glsl.vert tests/examplefiles/grammar-test.p6 +tests/examplefiles/guidance.smv tests/examplefiles/hash_syntax.rb +tests/examplefiles/hello-world.puzzlet.aheui tests/examplefiles/hello.at tests/examplefiles/hello.golo tests/examplefiles/hello.lsl @@ -642,6 +591,7 @@ tests/examplefiles/perlfunc.1 tests/examplefiles/phpMyAdmin.spec tests/examplefiles/phpcomplete.vim tests/examplefiles/pkgconfig_example.pc +tests/examplefiles/plain.bst tests/examplefiles/pleac.in.rb tests/examplefiles/postgresql_test.txt tests/examplefiles/pppoe.applescript @@ -662,6 +612,7 @@ tests/examplefiles/ragel-cpp_snippet tests/examplefiles/regex.js tests/examplefiles/resourcebundle_demo tests/examplefiles/reversi.lsp +tests/examplefiles/rnc_example.rnc tests/examplefiles/roboconf.graph tests/examplefiles/roboconf.instances tests/examplefiles/robotframework_test.txt @@ -700,11 +651,13 @@ tests/examplefiles/test.apl tests/examplefiles/test.asy tests/examplefiles/test.awk tests/examplefiles/test.bb +tests/examplefiles/test.bib tests/examplefiles/test.bmx tests/examplefiles/test.boo tests/examplefiles/test.bpl tests/examplefiles/test.bro tests/examplefiles/test.cadl +tests/examplefiles/test.cr tests/examplefiles/test.cs tests/examplefiles/test.csd tests/examplefiles/test.css @@ -717,12 +670,14 @@ tests/examplefiles/test.ebnf tests/examplefiles/test.ec tests/examplefiles/test.eh tests/examplefiles/test.erl +tests/examplefiles/test.escript tests/examplefiles/test.evoque tests/examplefiles/test.fan tests/examplefiles/test.flx tests/examplefiles/test.gdc tests/examplefiles/test.gradle tests/examplefiles/test.groovy +tests/examplefiles/test.hsail tests/examplefiles/test.html tests/examplefiles/test.idr tests/examplefiles/test.ini @@ -733,7 +688,9 @@ tests/examplefiles/test.maql tests/examplefiles/test.mask tests/examplefiles/test.mod tests/examplefiles/test.moo +tests/examplefiles/test.mt tests/examplefiles/test.myt +tests/examplefiles/test.ncl tests/examplefiles/test.nim tests/examplefiles/test.odin tests/examplefiles/test.opa @@ -755,6 +712,7 @@ tests/examplefiles/test.rsl tests/examplefiles/test.scaml tests/examplefiles/test.sco tests/examplefiles/test.shen +tests/examplefiles/test.sil tests/examplefiles/test.ssp tests/examplefiles/test.swift tests/examplefiles/test.tcsh @@ -767,22 +725,31 @@ tests/examplefiles/test2.odin tests/examplefiles/test2.pypylog tests/examplefiles/test_basic.adls tests/examplefiles/truncated.pytb +tests/examplefiles/tsql_example.sql tests/examplefiles/twig_test tests/examplefiles/type.lisp +tests/examplefiles/typescript_example +tests/examplefiles/typoscript_example tests/examplefiles/underscore.coffee tests/examplefiles/unicode.applescript tests/examplefiles/unicode.go tests/examplefiles/unicode.js tests/examplefiles/unicodedoc.py tests/examplefiles/unix-io.lid +tests/examplefiles/varnish.vcl tests/examplefiles/vbnet_test.bas tests/examplefiles/vctreestatus_hg tests/examplefiles/vimrc tests/examplefiles/vpath.mk +tests/examplefiles/wdiff_example1.wdiff +tests/examplefiles/wdiff_example3.wdiff tests/examplefiles/webkit-transition.css tests/examplefiles/while.pov tests/examplefiles/wiki.factor tests/examplefiles/xml_example tests/examplefiles/yahalom.cpsa tests/examplefiles/zmlrpc.f90 +tests/support/empty.py +tests/support/html_formatter.py +tests/support/python_lexer.py tests/support/tags \ No newline at end of file diff --git a/doc/_themes/pygments14/layout.html b/doc/_themes/pygments14/layout.html index 2cc03e0..e886082 100644 --- a/doc/_themes/pygments14/layout.html +++ b/doc/_themes/pygments14/layout.html @@ -82,7 +82,7 @@ {% block footer %}