Skip to content

Commit 95d3b61

Browse files
authored
Update Pygments to 2.8.0 (#224)
1 parent 52d7762 commit 95d3b61

File tree

254 files changed

+4759
-1574
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

254 files changed

+4759
-1574
lines changed

CHANGELOG.adoc

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
This document provides a high-level view of the changes to the {project-name} by release.
66
For a detailed view of what has changed, refer to the {uri-repo}/commits/master[commit history] on GitHub.
77

8+
== Unreleased
9+
10+
* Update Pygments to 2.8.0
11+
812
== 2.0.0 (2021-01-08) - @slonopotamus
913

1014
* stop sending/receiving `ids` between Ruby and Python

test/test_pygments.rb

-10
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,6 @@ def test_full_html_highlight
2828
</pre></div>), code
2929
end
3030

31-
def test_full_table_highlight
32-
code = P.highlight(RUBY_CODE, options: { linenos: true })
33-
assert_match '<span class="ch">#!/usr/bin/ruby</span>', code
34-
assert_equal %(<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre>1
35-
2</pre></div></td><td class="code"><div class="highlight"><pre><span></span><span class="ch">#!/usr/bin/ruby</span>
36-
<span class="nb">puts</span> <span class="s1">&#39;foo&#39;</span>
37-
</pre></div>
38-
</td></tr></table>), code
39-
end
40-
4131
def test_highlight_works_with_larger_files
4232
code = P.highlight(TEST_CODE)
4333
assert_match 'Main loop, waiting for inputs on stdin', code

vendor/pygments-main/Pygments-2.7.4.dist-info/RECORD

-482
This file was deleted.

vendor/pygments-main/Pygments-2.7.4.dist-info/AUTHORS renamed to vendor/pygments-main/Pygments-2.8.0.dist-info/AUTHORS

+4
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,10 @@ Other contributors, listed alphabetically, are:
234234
* Alex Zimin -- Nemerle lexer
235235
* Rob Zimmerman -- Kal lexer
236236
* Vincent Zurczak -- Roboconf lexer
237+
* Hubert Gruniaux -- C and C++ lexer improvements
238+
* Thomas Symalla -- AMDGPU Lexer
237239
* 15b3 -- Image Formatter improvements
240+
* Fabian Neumann -- CDDL lexer
241+
* Thomas Duboucher -- CDDL lexer
238242

239243
Many thanks for all contributions!
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
Metadata-Version: 2.1
22
Name: Pygments
3-
Version: 2.7.4
3+
Version: 2.8.0
44
Summary: Pygments is a syntax highlighting package written in Python.
55
Home-page: https://pygments.org/
66
Author: Georg Brandl
77
Author-email: [email protected]
88
License: BSD License
99
Keywords: syntax highlighting
1010
Platform: any
11-
Classifier: License :: OSI Approved :: BSD License
11+
Classifier: Development Status :: 6 - Mature
1212
Classifier: Intended Audience :: Developers
1313
Classifier: Intended Audience :: End Users/Desktop
1414
Classifier: Intended Audience :: System Administrators
15-
Classifier: Development Status :: 6 - Mature
15+
Classifier: License :: OSI Approved :: BSD License
16+
Classifier: Operating System :: OS Independent
1617
Classifier: Programming Language :: Python
1718
Classifier: Programming Language :: Python :: 3
1819
Classifier: Programming Language :: Python :: 3.5
@@ -22,12 +23,10 @@ Classifier: Programming Language :: Python :: 3.8
2223
Classifier: Programming Language :: Python :: 3.9
2324
Classifier: Programming Language :: Python :: Implementation :: CPython
2425
Classifier: Programming Language :: Python :: Implementation :: PyPy
25-
Classifier: Operating System :: OS Independent
2626
Classifier: Topic :: Text Processing :: Filters
2727
Classifier: Topic :: Utilities
2828
Requires-Python: >=3.5
2929

30-
3130
Pygments
3231
~~~~~~~~
3332

@@ -40,10 +39,10 @@ are:
4039
* a wide range of over 500 languages and other text formats is supported
4140
* special attention is paid to details, increasing quality by a fair amount
4241
* support for new languages and formats are added easily
43-
* a number of output formats, presently HTML, LaTeX, RTF, SVG, all image formats that PIL supports and ANSI sequences
42+
* a number of output formats, presently HTML, LaTeX, RTF, SVG, all image
43+
formats that PIL supports and ANSI sequences
4444
* it is usable as a command-line tool and as a library
4545

46-
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
47-
:license: BSD, see LICENSE for details.
48-
46+
Copyright 2006-2021 by the Pygments team, see ``AUTHORS``.
47+
Licensed under the BSD, see ``LICENSE`` for details.
4948

vendor/pygments-main/Pygments-2.8.0.dist-info/RECORD

+494
Large diffs are not rendered by default.

vendor/pygments-main/pygments/__init__.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
"""
32
Pygments
43
~~~~~~~~
@@ -28,7 +27,7 @@
2827
import sys
2928
from io import StringIO, BytesIO
3029

31-
__version__ = '2.7.4'
30+
__version__ = '2.8.0'
3231
__docformat__ = 'restructuredtext'
3332

3433
__all__ = ['lex', 'format', 'highlight']

vendor/pygments-main/pygments/__main__.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
"""
32
pygments.__main__
43
~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)