summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2009-01-04 15:26:47 +0100
committergbrandl <devnull@localhost>2009-01-04 15:26:47 +0100
commit778e736ce9d0b19632cf2f18e216b12e2001d390 (patch)
tree9ff4148fe0dbd44cc8843547b76f155dc8440c1d
parent283da4a0c3beac704d79530d1517021831894739 (diff)
downloadpygments-778e736ce9d0b19632cf2f18e216b12e2001d390.tar.gz
Update copyrighting style to standard "team" tags.
Update AUTHORS file accordingly.
-rw-r--r--AUTHORS71
-rw-r--r--LICENSE55
-rw-r--r--Makefile22
-rw-r--r--docs/generate.py4
-rw-r--r--external/markdown-processor.py4
-rw-r--r--external/moin-parser.py4
-rw-r--r--external/rst-directive.py4
-rw-r--r--pygments/__init__.py4
-rw-r--r--pygments/cmdline.py4
-rw-r--r--pygments/console.py4
-rw-r--r--pygments/filter.py4
-rw-r--r--pygments/filters/__init__.py4
-rw-r--r--pygments/formatter.py4
-rw-r--r--pygments/formatters/__init__.py4
-rwxr-xr-xpygments/formatters/_mapping.py4
-rw-r--r--pygments/formatters/bbcode.py4
-rw-r--r--pygments/formatters/html.py4
-rw-r--r--pygments/formatters/img.py4
-rw-r--r--pygments/formatters/latex.py4
-rw-r--r--pygments/formatters/other.py4
-rw-r--r--pygments/formatters/rtf.py4
-rw-r--r--pygments/formatters/svg.py4
-rw-r--r--pygments/formatters/terminal.py4
-rw-r--r--pygments/formatters/terminal256.py4
-rw-r--r--pygments/lexer.py4
-rw-r--r--pygments/lexers/__init__.py4
-rw-r--r--pygments/lexers/_clbuiltins.py4
-rw-r--r--pygments/lexers/_luabuiltins.py4
-rw-r--r--pygments/lexers/_mapping.py4
-rw-r--r--pygments/lexers/_phpbuiltins.py4
-rw-r--r--pygments/lexers/agile.py7
-rw-r--r--pygments/lexers/asm.py4
-rw-r--r--pygments/lexers/compiled.py6
-rw-r--r--pygments/lexers/dotnet.py4
-rw-r--r--pygments/lexers/functional.py6
-rw-r--r--pygments/lexers/math.py5
-rw-r--r--pygments/lexers/other.py8
-rw-r--r--pygments/lexers/special.py4
-rw-r--r--pygments/lexers/templates.py5
-rw-r--r--pygments/lexers/text.py17
-rw-r--r--pygments/lexers/web.py6
-rw-r--r--pygments/plugin.py4
-rw-r--r--pygments/scanner.py4
-rw-r--r--pygments/style.py4
-rw-r--r--pygments/styles/__init__.py4
-rw-r--r--pygments/styles/autumn.py4
-rw-r--r--pygments/styles/borland.py4
-rw-r--r--pygments/styles/bw.py4
-rw-r--r--pygments/styles/colorful.py4
-rw-r--r--pygments/styles/default.py5
-rw-r--r--pygments/styles/emacs.py4
-rw-r--r--pygments/styles/friendly.py4
-rw-r--r--pygments/styles/fruity.py4
-rw-r--r--pygments/styles/manni.py4
-rw-r--r--pygments/styles/murphy.py4
-rw-r--r--pygments/styles/native.py4
-rw-r--r--pygments/styles/pastie.py4
-rw-r--r--pygments/styles/perldoc.py4
-rw-r--r--pygments/styles/tango.py4
-rw-r--r--pygments/styles/trac.py4
-rw-r--r--pygments/styles/vim.py4
-rw-r--r--pygments/styles/vs.py4
-rw-r--r--pygments/token.py4
-rw-r--r--pygments/unistring.py4
-rw-r--r--pygments/util.py4
-rwxr-xr-xscripts/check_sources.py10
-rwxr-xr-xscripts/find_codetags.py4
-rw-r--r--scripts/find_error.py4
-rw-r--r--scripts/vim2pygments.py2
-rw-r--r--tests/old_run.py4
-rw-r--r--tests/run.py4
-rw-r--r--tests/test_basic_api.py4
-rw-r--r--tests/test_clexer.py4
-rw-r--r--tests/test_cmdline.py4
-rw-r--r--tests/test_examplefiles.py4
-rw-r--r--tests/test_html_formatter.py4
-rw-r--r--tests/test_latex_formatter.py4
-rw-r--r--tests/test_regexlexer.py4
-rw-r--r--tests/test_token.py4
-rw-r--r--tests/test_util.py4
80 files changed, 239 insertions, 250 deletions
diff --git a/AUTHORS b/AUTHORS
index 9c7a5ae2..5ab88bdb 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,30 +1,49 @@
-Pygments is written and maintained by Georg Brandl <g.brandl@gmx.net>.
+Pygments is written and maintained by Georg Brandl <georg@python.org>.
-Other contributors (as mentionend in :copyright:s) are:
+Major developers are Tim Hatch <tim@timhatch.com> and Armin Ronacher
+<armin.ronacher@active-4.com>.
-- Armin Ronacher <armin.ronacher@active-4.com>
-- Lukas Meuser <pocoo@quittenbrod.de>
-- Matt Good <trac@matt-good.net>
-- Tim Hatch <tim@timhatch.com>
-- Ronny Pfannschmidt
-- Dennis Kaarsemaker
-- Marek Kubica
-- Ben Bangert
-- Tiberius Teng
-- Adam Blinkinsop <blinks@acm.org>
-- Kirk McDonald
-- Christopher Creutzig <christopher@creutzig.de>
-- Frits van Bommel
-- Matteo Sasso
-- Kumar Appaiah <akumar@ee.iitm.ac.in>
-- Varun Hiremath <varunhiremath@gmail.com>
-- Jeremy Thurgood
-- Matthew Harrison
-- Steven Hazel
+Other contributors, listed alphabetically, are:
-Many thanks for all your contributions!
+* Kumar Appaiah -- Debian control lexer
+* Ali Afshar -- image formatter
+* Andreas Amann -- AppleScript lexer
+* Stefan Matthias Aust -- Smalltalk lexer
+* Ben Bangert -- Mako lexers
+* Max Battcher -- Darcs patch lexer
+* Michael Bayer -- Myghty lexers
+* Jarrett Billingsley -- MiniD lexer
+* Adam Blinkinsop -- Haskell, Redcode lexers
+* Frits van Bommel -- assembler lexers
+* Pierre Bourdon -- ActionScript 3 lexer
+* Christopher Creutzig -- MuPAD lexer
+* Pete Curry -- bugfixes
+* Nick Efford -- Python 3 lexer
+* Artem Egorkine -- terminal256 formatter
+* Laurent Gautier -- R/S lexer
+* Krzysiek Goj -- Scala lexer
+* Matt Good -- Genshi, Cheetah lexers
+* Matthew Harrison -- SVG formatter
+* Steven Hazel -- Tcl lexer
+* Varun Hiremath -- Debian control lexer
+* Dennis Kaarsemaker -- sources.list lexer
+* Marek Kubica -- Scheme lexer
+* Jochen Kupperschmidt -- Markdown processor
+* Kirk McDonald -- D lexer
+* Lukas Meuser -- BBCode formatter, Lua lexer
+* Paulo Moura -- Logtalk lexer
+* Ronny Pfannschmidt -- BBCode lexer
+* Benjamin Peterson -- Test suite refactoring
+* Andre Roberge -- Tango style
+* Stou Sandalski -- NumPy, FORTRAN, tcsh and XSLT lexers
+* Matteo Sasso -- Common Lisp lexer
+* Ken Schutte -- Matlab lexers
+* Tassilo Schweyer -- Io, MOOCode lexers
+* Kirill Simonov -- YAML lexer
+* Tiberius Teng -- default style overhaul
+* Jeremy Thurgood -- Erlang, Squid config lexers
+* Whitney Young -- ObjectiveC lexer
+* Nils Winter -- Smalltalk lexer
+* Davy Wybiral -- Clojure lexer
-Also thanks to the following contributors that helped fixing minor
-bugs:
-
-- Pierre Bourdon
+Many thanks for all contributions!
diff --git a/LICENSE b/LICENSE
index 687b8482..05652fc1 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,30 +1,25 @@
-Copyright (c) 2006 by the respective authors (see AUTHORS file).
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- * Redistributions in binary form must reproduce the above
- copyright notice, this list of conditions and the following
- disclaimer in the documentation and/or other materials provided
- with the distribution.
-
- * The names of the contributors may not be used to endorse or
- promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+Copyright (c) 2006-2009 by the respective authors (see AUTHORS file).
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+* Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/Makefile b/Makefile
index 85a7ea9b..4f3b9c3e 100644
--- a/Makefile
+++ b/Makefile
@@ -4,21 +4,19 @@
#
# Combines scripts for common tasks.
#
-# :copyright: 2006-2007 by Georg Brandl.
-# :license: GNU GPL, see LICENSE for more details.
+# :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+# :license: BSD, see LICENSE for details.
#
PYTHON ?= python
export PYTHONPATH = $(shell echo "$$PYTHONPATH"):$(shell python -c 'import os; print ":".join(os.path.abspath(line.strip()) for line in file("PYTHONPATH"))' 2>/dev/null)
-.PHONY: all apidocs check clean clean-pyc codetags docs epydoc mapfiles \
+.PHONY: all check clean clean-pyc codetags docs mapfiles \
pylint reindent test test-coverage
all: clean-pyc check test
-apidocs: epydoc
-
check:
@$(PYTHON) scripts/detect_missing_analyse_text.py
@$(PYTHON) scripts/check_sources.py -i apidocs -i pygments/lexers/_mapping.py \
@@ -44,20 +42,6 @@ docs/build: docs/src/*.txt
$(PYTHON) docs/generate.py html docs/build $?
touch docs/build
-epydoc:
- @rm -rf apidocs
- @$(PYTHON) -Wi:default_transform `which epydoc` -o apidocs --css scripts/epydoc.css \
- --url http://trac.pocoo.org/pygments --no-frames --docformat restructuredtext \
- -v pygments
- @sed -i -e 's|^<br />||' \
- -e 's|\s\+$$||' \
- -e 's|^\s\+</pre>|</pre>|' \
- -e 's|\(<table class="[^"]*"\) border="1"|\1|' \
- -e 's|\(<table class="navbar" .*\) width="100%"|\1|' \
- -e 's|<td width="15%"|<td class="spacer"|' \
- apidocs/*.html
- @$(PYTHON) scripts/fix_epydoc_markup.py apidocs
-
mapfiles:
(cd pygments/lexers; $(PYTHON) _mapping.py)
(cd pygments/formatters; $(PYTHON) _mapping.py)
diff --git a/docs/generate.py b/docs/generate.py
index 658ada4b..4415374c 100644
--- a/docs/generate.py
+++ b/docs/generate.py
@@ -6,8 +6,8 @@
Generates a bunch of html files containing the documentation.
- :copyright: 2006-2007 by Armin Ronacher, Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import os
diff --git a/external/markdown-processor.py b/external/markdown-processor.py
index e7c8d6f9..9351ce8f 100644
--- a/external/markdown-processor.py
+++ b/external/markdown-processor.py
@@ -27,8 +27,8 @@
.. _Markdown: http://www.freewisdom.org/projects/python-markdown/
- :copyright: 2007 by Jochen Kupperschmidt.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
# Options
diff --git a/external/moin-parser.py b/external/moin-parser.py
index 7468c409..3117723d 100644
--- a/external/moin-parser.py
+++ b/external/moin-parser.py
@@ -31,8 +31,8 @@
If you do not want to do that and are willing to accept larger HTML
output, you can set the INLINESTYLES option below to True.
- :copyright: 2007 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
# Options
diff --git a/external/rst-directive.py b/external/rst-directive.py
index 9ed14a67..4cd0d501 100644
--- a/external/rst-directive.py
+++ b/external/rst-directive.py
@@ -31,8 +31,8 @@
.. _directive documentation:
http://docutils.sourceforge.net/docs/howto/rst-directives.html
- :copyright: 2007 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
# Options
diff --git a/pygments/__init__.py b/pygments/__init__.py
index 2d223b3e..31efe660 100644
--- a/pygments/__init__.py
+++ b/pygments/__init__.py
@@ -20,8 +20,8 @@
.. _Pygments tip: http://dev.pocoo.org/hg/pygments-main/archive/tip.tar.gz#egg=Pygments-dev
- :copyright: 2006-2008 by Georg Brandl, Armin Ronacher and others.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
__version__ = '1.0'
diff --git a/pygments/cmdline.py b/pygments/cmdline.py
index b9fe870a..9da77f04 100644
--- a/pygments/cmdline.py
+++ b/pygments/cmdline.py
@@ -5,8 +5,8 @@
Command line interface.
- :copyright: 2006-2008 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import sys
import getopt
diff --git a/pygments/console.py b/pygments/console.py
index 90ea57b2..41284e5b 100644
--- a/pygments/console.py
+++ b/pygments/console.py
@@ -5,8 +5,8 @@
Format colored console output.
- :copyright: 2006-2007 by Georg Brandl, Armin Ronacher.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
esc = "\x1b["
diff --git a/pygments/filter.py b/pygments/filter.py
index 2da319d1..b7312e90 100644
--- a/pygments/filter.py
+++ b/pygments/filter.py
@@ -5,8 +5,8 @@
Module that implements the default filter.
- :copyright: 2006-2007 by Armin Ronacher.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
diff --git a/pygments/filters/__init__.py b/pygments/filters/__init__.py
index 971e2630..08c2f3a1 100644
--- a/pygments/filters/__init__.py
+++ b/pygments/filters/__init__.py
@@ -6,8 +6,8 @@
Module containing filter lookup functions and default
filters.
- :copyright: 2006-2007 by Armin Ronacher, Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
try:
set
diff --git a/pygments/formatter.py b/pygments/formatter.py
index 60848b52..a577a4e3 100644
--- a/pygments/formatter.py
+++ b/pygments/formatter.py
@@ -5,8 +5,8 @@
Base formatter class.
- :copyright: 2006-2007 by Georg Brandl, Armin Ronacher.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.util import get_bool_opt
diff --git a/pygments/formatters/__init__.py b/pygments/formatters/__init__.py
index fb200e10..0dc3592d 100644
--- a/pygments/formatters/__init__.py
+++ b/pygments/formatters/__init__.py
@@ -5,8 +5,8 @@
Pygments formatters.
- :copyright: 2006-2007 by Georg Brandl, Armin Ronacher.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import os.path
import fnmatch
diff --git a/pygments/formatters/_mapping.py b/pygments/formatters/_mapping.py
index 3060f95d..81556276 100755
--- a/pygments/formatters/_mapping.py
+++ b/pygments/formatters/_mapping.py
@@ -9,8 +9,8 @@
Do not alter the FORMATTERS dictionary by hand.
- :copyright: 2006-2007 by Armin Ronacher, Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.util import docstring_headline
diff --git a/pygments/formatters/bbcode.py b/pygments/formatters/bbcode.py
index 8714294d..384339fc 100644
--- a/pygments/formatters/bbcode.py
+++ b/pygments/formatters/bbcode.py
@@ -5,8 +5,8 @@
BBcode formatter.
- :copyright: 2006-2007 by Lukas Meuser.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
diff --git a/pygments/formatters/html.py b/pygments/formatters/html.py
index f7834099..25d1158e 100644
--- a/pygments/formatters/html.py
+++ b/pygments/formatters/html.py
@@ -5,8 +5,8 @@
Formatter for HTML output.
- :copyright: 2006-2008 by Georg Brandl, Armin Ronacher.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import sys, os
import StringIO
diff --git a/pygments/formatters/img.py b/pygments/formatters/img.py
index 6dd1d9cc..31f43c30 100644
--- a/pygments/formatters/img.py
+++ b/pygments/formatters/img.py
@@ -5,8 +5,8 @@
Formatter for Pixmap output.
- :copyright: 2007 by Ali Afshar.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import sys
diff --git a/pygments/formatters/latex.py b/pygments/formatters/latex.py
index af8da1bb..69be017d 100644
--- a/pygments/formatters/latex.py
+++ b/pygments/formatters/latex.py
@@ -5,8 +5,8 @@
Formatter for LaTeX fancyvrb output.
- :copyright: 2006-2008 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import StringIO
diff --git a/pygments/formatters/other.py b/pygments/formatters/other.py
index fb123689..1ddba006 100644
--- a/pygments/formatters/other.py
+++ b/pygments/formatters/other.py
@@ -5,8 +5,8 @@
Other formatters: NullFormatter, RawTokenFormatter.
- :copyright: 2006-2007 by Georg Brandl, Armin Ronacher.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.formatter import Formatter
diff --git a/pygments/formatters/rtf.py b/pygments/formatters/rtf.py
index 3d430fe4..1f1023d0 100644
--- a/pygments/formatters/rtf.py
+++ b/pygments/formatters/rtf.py
@@ -5,8 +5,8 @@
A formatter that generates RTF files.
- :copyright: 2006-2007 by Armin Ronacher.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.formatter import Formatter
diff --git a/pygments/formatters/svg.py b/pygments/formatters/svg.py
index 03bca93a..0d5fb1d5 100644
--- a/pygments/formatters/svg.py
+++ b/pygments/formatters/svg.py
@@ -5,8 +5,8 @@
Formatter for SVG output.
- :copyright: 2007 by Matthew Harrison, Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.formatter import Formatter
diff --git a/pygments/formatters/terminal.py b/pygments/formatters/terminal.py
index ce1a8e9c..ba7d35db 100644
--- a/pygments/formatters/terminal.py
+++ b/pygments/formatters/terminal.py
@@ -5,8 +5,8 @@
Formatter for terminal output with ANSI sequences.
- :copyright: 2006-2007 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.formatter import Formatter
diff --git a/pygments/formatters/terminal256.py b/pygments/formatters/terminal256.py
index eb65eeac..e4ae019e 100644
--- a/pygments/formatters/terminal256.py
+++ b/pygments/formatters/terminal256.py
@@ -11,8 +11,8 @@
Formatter version 1.
- :copyright: 2007 by Artem Egorkine.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
# TODO:
diff --git a/pygments/lexer.py b/pygments/lexer.py
index cba93e4f..0e6f06bb 100644
--- a/pygments/lexer.py
+++ b/pygments/lexer.py
@@ -5,8 +5,8 @@
Base lexer classes.
- :copyright: 2006-2007 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import re
diff --git a/pygments/lexers/__init__.py b/pygments/lexers/__init__.py
index fc242ae8..33571b0e 100644
--- a/pygments/lexers/__init__.py
+++ b/pygments/lexers/__init__.py
@@ -5,8 +5,8 @@
Pygments lexers.
- :copyright: 2006-2007 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import fnmatch
import types
diff --git a/pygments/lexers/_clbuiltins.py b/pygments/lexers/_clbuiltins.py
index 01feeedf..4f4f8862 100644
--- a/pygments/lexers/_clbuiltins.py
+++ b/pygments/lexers/_clbuiltins.py
@@ -5,8 +5,8 @@
ANSI Common Lisp builtins.
- :copyright: 2006-2007 by Matteo Sasso.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
BUILTIN_FUNCTIONS = [ # 638 functions
diff --git a/pygments/lexers/_luabuiltins.py b/pygments/lexers/_luabuiltins.py
index 3a993653..31cbb5be 100644
--- a/pygments/lexers/_luabuiltins.py
+++ b/pygments/lexers/_luabuiltins.py
@@ -9,8 +9,8 @@
Do not edit the MODULES dict by hand.
- :copyright: 2006-2007 by Lukas Meuser.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
MODULES = {'basic': ['_G',
diff --git a/pygments/lexers/_mapping.py b/pygments/lexers/_mapping.py
index 7d89d51f..2a678764 100644
--- a/pygments/lexers/_mapping.py
+++ b/pygments/lexers/_mapping.py
@@ -9,8 +9,8 @@
Do not alter the LEXERS dictionary by hand.
- :copyright: 2006-2007 by Armin Ronacher, Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
LEXERS = {
diff --git a/pygments/lexers/_phpbuiltins.py b/pygments/lexers/_phpbuiltins.py
index 5f8fa228..4ab11eb7 100644
--- a/pygments/lexers/_phpbuiltins.py
+++ b/pygments/lexers/_phpbuiltins.py
@@ -12,8 +12,8 @@
internet connection. don't run that at home, use
a server ;-)
- :copyright: 2006-2007 by Armin Ronacher.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
diff --git a/pygments/lexers/agile.py b/pygments/lexers/agile.py
index e80e3fdd..963af1b5 100644
--- a/pygments/lexers/agile.py
+++ b/pygments/lexers/agile.py
@@ -5,11 +5,8 @@
Lexers for agile languages.
- :copyright: 2006-2008 by Georg Brandl, Armin Ronacher,
- Lukas Meuser, Tim Hatch, Jarrett Billingsley,
- Tassilo Schweyer, Steven Hazel, Nick Efford,
- Davy Wybiral.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import re
diff --git a/pygments/lexers/asm.py b/pygments/lexers/asm.py
index 8140af58..655b7461 100644
--- a/pygments/lexers/asm.py
+++ b/pygments/lexers/asm.py
@@ -5,8 +5,8 @@
Lexers for assembly languages.
- :copyright: 2007 by Frits van Bommel.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import re
diff --git a/pygments/lexers/compiled.py b/pygments/lexers/compiled.py
index bd8fbc26..3624b270 100644
--- a/pygments/lexers/compiled.py
+++ b/pygments/lexers/compiled.py
@@ -5,9 +5,8 @@
Lexers for compiled languages.
- :copyright: 2006-2009 by Georg Brandl, Armin Ronacher, Christoph Hack,
- Whitney Young, Kirk McDonald, Stou Sandalski, Krzysiek Goj.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import re
@@ -1295,6 +1294,7 @@ class FortranLexer(RegexLexer):
],
}
+
class GLShaderLexer(RegexLexer):
"""
GLSL (OpenGL Shader) lexer.
diff --git a/pygments/lexers/dotnet.py b/pygments/lexers/dotnet.py
index f1f324b6..b9782ab7 100644
--- a/pygments/lexers/dotnet.py
+++ b/pygments/lexers/dotnet.py
@@ -5,8 +5,8 @@
Lexers for .net languages.
- :copyright: 2006-2007 by Georg Brandl, Armin Ronacher.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import re
diff --git a/pygments/lexers/functional.py b/pygments/lexers/functional.py
index 2f3a45f2..6c9e0b04 100644
--- a/pygments/lexers/functional.py
+++ b/pygments/lexers/functional.py
@@ -5,9 +5,8 @@
Lexers for functional languages.
- :copyright: 2006-2009 by Georg Brandl, Marek Kubica,
- Adam Blinkinsop <blinks@acm.org>, Matteo Sasso.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import re
@@ -715,6 +714,7 @@ class ErlangLexer(RegexLexer):
],
}
+
class ErlangShellLexer(Lexer):
"""
Shell sessions in erl (for Erlang code).
diff --git a/pygments/lexers/math.py b/pygments/lexers/math.py
index 151c872f..055db3a3 100644
--- a/pygments/lexers/math.py
+++ b/pygments/lexers/math.py
@@ -5,9 +5,8 @@
Lexers for math languages.
- :copyright: 2007-2008 by Christopher Creutzig, Ken Schutte, Stou Sandalski,
- Laurent Gautier <lgautier@gmail.com>.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import re
diff --git a/pygments/lexers/other.py b/pygments/lexers/other.py
index 2b1eafaa..83913570 100644
--- a/pygments/lexers/other.py
+++ b/pygments/lexers/other.py
@@ -5,10 +5,8 @@
Lexers for other languages.
- :copyright: 2006-2009 by Georg Brandl, Tim Hatch <tim@timhatch.com>,
- Stou Sandalski, Paulo Moura, Clara Dimene,
- Andreas Amann <aamann@mac.com>.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import re
@@ -581,6 +579,7 @@ class MOOCodeLexer(RegexLexer):
]
}
+
class SmalltalkLexer(RegexLexer):
"""
For `Smalltalk <http://www.smalltalk.org/>`_ syntax.
@@ -702,6 +701,7 @@ class SmalltalkLexer(RegexLexer):
],
}
+
class TcshLexer(RegexLexer):
"""
Lexer for tcsh scripts.
diff --git a/pygments/lexers/special.py b/pygments/lexers/special.py
index ec3182c0..1f6b74af 100644
--- a/pygments/lexers/special.py
+++ b/pygments/lexers/special.py
@@ -5,8 +5,8 @@
Special lexers.
- :copyright: 2006-2008 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import re
diff --git a/pygments/lexers/templates.py b/pygments/lexers/templates.py
index 125ecd31..c1519d8d 100644
--- a/pygments/lexers/templates.py
+++ b/pygments/lexers/templates.py
@@ -5,9 +5,8 @@
Lexers for various template engines' markup.
- :copyright: 2006-2009 by Armin Ronacher, Georg Brandl, Matt Good,
- Ben Bangert.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import re
diff --git a/pygments/lexers/text.py b/pygments/lexers/text.py
index e098c0fa..934e79ae 100644
--- a/pygments/lexers/text.py
+++ b/pygments/lexers/text.py
@@ -5,16 +5,8 @@
Lexers for non-source code file types.
- :copyright: 2006-2009 by Armin Ronacher, Georg Brandl,
- Tim Hatch <tim@timhatch.com>,
- Ronny Pfannschmidt,
- Dennis Kaarsemaker,
- Kumar Appaiah <akumar@ee.iitm.ac.in>,
- Varun Hiremath <varunhiremath@gmail.com>,
- Jeremy Thurgood,
- Max Battcher <me@worldmaker.net>,
- Kirill Simonov <xi@resolvent.net>.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import re
@@ -233,6 +225,7 @@ class DiffLexer(RegexLexer):
if text[:4] == '--- ':
return 0.9
+
DPATCH_KEYWORDS = ['hunk', 'addfile', 'adddir', 'rmfile', 'rmdir', 'move',
'replace']
@@ -719,6 +712,7 @@ class RstLexer(RegexLexer):
text[p1+1] == text[p2-1]): # ...a sufficiently high header
return 0.5
+
class VimLexer(RegexLexer):
"""
Lexer for VimL script files.
@@ -828,6 +822,7 @@ class GettextLexer(RegexLexer):
]
}
+
class SquidConfLexer(RegexLexer):
"""
Lexer for `squid <http://www.squid-cache.org/>`_ configuration files.
@@ -1427,6 +1422,7 @@ class YamlLexer(ExtendedRegexLexer):
context = YamlLexerContext(text, 0)
return super(YamlLexer, self).get_tokens_unprocessed(text, context)
+
class LighttpdConfLexer(RegexLexer):
"""
Lexer for `Lighttpd <http://lighttpd.net/>`_ configuration files.
@@ -1454,6 +1450,7 @@ class LighttpdConfLexer(RegexLexer):
}
+
class NginxConfLexer(RegexLexer):
"""
Lexer for `Nginx <http://nginx.net/>`_ configuration files.
diff --git a/pygments/lexers/web.py b/pygments/lexers/web.py
index 3dfb2de5..5c8c1bf5 100644
--- a/pygments/lexers/web.py
+++ b/pygments/lexers/web.py
@@ -5,9 +5,8 @@
Lexers for web-related languages and markup.
- :copyright: 2006-2008 by Georg Brandl, Armin Ronacher,
- Tim Hatch <tim@timhatch.com>, Stou Sandalski.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import re
@@ -225,6 +224,7 @@ class ActionScript3Lexer(RegexLexer):
if re.match(r'\w+\s*:\s*\w', text): return 0.3
return 0.1
+
class CssLexer(RegexLexer):
"""
For CSS (Cascading Style Sheets).
diff --git a/pygments/plugin.py b/pygments/plugin.py
index d728896f..60edf39e 100644
--- a/pygments/plugin.py
+++ b/pygments/plugin.py
@@ -32,8 +32,8 @@
yourfilter = yourfilter:YourFilter
- :copyright: 2006-2007 by Armin Ronacher.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
try:
import pkg_resources
diff --git a/pygments/scanner.py b/pygments/scanner.py
index cb605117..8d633f7a 100644
--- a/pygments/scanner.py
+++ b/pygments/scanner.py
@@ -12,8 +12,8 @@
Have a look at the `DelphiLexer` to get an idea of how to use
this scanner.
- :copyright: 2006-2007 by Armin Ronacher.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import re
diff --git a/pygments/style.py b/pygments/style.py
index 2ada31b2..8a04dcb9 100644
--- a/pygments/style.py
+++ b/pygments/style.py
@@ -5,8 +5,8 @@
Basic style object.
- :copyright: 2006-2007 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.token import Token, STANDARD_TYPES
diff --git a/pygments/styles/__init__.py b/pygments/styles/__init__.py
index 5605296f..f7dc699d 100644
--- a/pygments/styles/__init__.py
+++ b/pygments/styles/__init__.py
@@ -5,8 +5,8 @@
Contains built-in styles.
- :copyright: 2006-2008 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.plugin import find_plugin_styles
diff --git a/pygments/styles/autumn.py b/pygments/styles/autumn.py
index b0862e41..8a32bb39 100644
--- a/pygments/styles/autumn.py
+++ b/pygments/styles/autumn.py
@@ -5,8 +5,8 @@
A colorful style, inspired by the terminal highlighting style.
- :copyright: 2006-2007 by Armin Ronacher.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.style import Style
diff --git a/pygments/styles/borland.py b/pygments/styles/borland.py
index 6139e845..4d1e14f4 100644
--- a/pygments/styles/borland.py
+++ b/pygments/styles/borland.py
@@ -5,8 +5,8 @@
Style similar to the style used in the Borland IDEs.
- :copyright: 2006-2007 by Armin Ronacher.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.style import Style
diff --git a/pygments/styles/bw.py b/pygments/styles/bw.py
index 2d589c3a..e7886a93 100644
--- a/pygments/styles/bw.py
+++ b/pygments/styles/bw.py
@@ -5,8 +5,8 @@
Simple black/white only style.
- :copyright: 2008 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.style import Style
diff --git a/pygments/styles/colorful.py b/pygments/styles/colorful.py
index 83988291..3c50e265 100644
--- a/pygments/styles/colorful.py
+++ b/pygments/styles/colorful.py
@@ -5,8 +5,8 @@
A colorful style, inspired by CodeRay.
- :copyright: 2006-2007 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.style import Style
diff --git a/pygments/styles/default.py b/pygments/styles/default.py
index d8d4aa38..21a088cd 100644
--- a/pygments/styles/default.py
+++ b/pygments/styles/default.py
@@ -5,9 +5,8 @@
The default highlighting style.
- :copyright: 2007 by Tiberius Teng.
- :copyright: 2006 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.style import Style
diff --git a/pygments/styles/emacs.py b/pygments/styles/emacs.py
index 0a01a39c..6f1e28cd 100644
--- a/pygments/styles/emacs.py
+++ b/pygments/styles/emacs.py
@@ -5,8 +5,8 @@
A highlighting style for Pygments, inspired by Emacs.
- :copyright: 2006-2007 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.style import Style
diff --git a/pygments/styles/friendly.py b/pygments/styles/friendly.py
index 76359d77..28075151 100644
--- a/pygments/styles/friendly.py
+++ b/pygments/styles/friendly.py
@@ -5,8 +5,8 @@
A modern style based on the VIM pyte theme.
- :copyright: 2006-2007 by Georg Brandl, Armin Ronacher.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.style import Style
diff --git a/pygments/styles/fruity.py b/pygments/styles/fruity.py
index 3d469bd9..8057f99f 100644
--- a/pygments/styles/fruity.py
+++ b/pygments/styles/fruity.py
@@ -5,8 +5,8 @@
pygments version of my "fruity" vim theme.
- :copyright: 2007 by Armin Ronacher.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.style import Style
diff --git a/pygments/styles/manni.py b/pygments/styles/manni.py
index c160f873..d004a70b 100644
--- a/pygments/styles/manni.py
+++ b/pygments/styles/manni.py
@@ -8,8 +8,8 @@
This is a port of the style used in the `php port`_ of pygments
by Manni. The style is called 'default' there.
- :copyright: 2006-2007 by Armin Ronacher, Manni <manni@fnord.name>.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.style import Style
diff --git a/pygments/styles/murphy.py b/pygments/styles/murphy.py
index 5152fe68..5a3b7fcd 100644
--- a/pygments/styles/murphy.py
+++ b/pygments/styles/murphy.py
@@ -5,8 +5,8 @@
Murphy's style from CodeRay.
- :copyright: 2006-2007 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.style import Style
diff --git a/pygments/styles/native.py b/pygments/styles/native.py
index 9b0b26ca..c216c834 100644
--- a/pygments/styles/native.py
+++ b/pygments/styles/native.py
@@ -5,8 +5,8 @@
pygments version of my "native" vim theme.
- :copyright: 2006-2007 by Armin Ronacher.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.style import Style
diff --git a/pygments/styles/pastie.py b/pygments/styles/pastie.py
index b0332252..13bf8b7c 100644
--- a/pygments/styles/pastie.py
+++ b/pygments/styles/pastie.py
@@ -7,8 +7,8 @@
.. _pastie: http://pastie.caboo.se/
- :copyright: 2006-2007 by Armin Ronacher.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.style import Style
diff --git a/pygments/styles/perldoc.py b/pygments/styles/perldoc.py
index 91e63074..0a2503f7 100644
--- a/pygments/styles/perldoc.py
+++ b/pygments/styles/perldoc.py
@@ -7,8 +7,8 @@
.. _perldoc: http://perldoc.perl.org/
- :copyright: 2006-2007 by Armin Ronacher.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.style import Style
diff --git a/pygments/styles/tango.py b/pygments/styles/tango.py
index 0880373a..0d8347ae 100644
--- a/pygments/styles/tango.py
+++ b/pygments/styles/tango.py
@@ -33,8 +33,8 @@
have been chosen to have the same style. Similarly, keywords (Keyword.*),
and Operator.Word (and, or, in) have been assigned the same style.
- :copyright: 2008 by André Roberge.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.style import Style
diff --git a/pygments/styles/trac.py b/pygments/styles/trac.py
index d6bd4cf1..3e40715a 100644
--- a/pygments/styles/trac.py
+++ b/pygments/styles/trac.py
@@ -5,8 +5,8 @@
Port of the default trac highlighter design.
- :copyright: 2006-2007 by Edgewall, Armin Ronacher.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.style import Style
diff --git a/pygments/styles/vim.py b/pygments/styles/vim.py
index 35b32b88..b7db5f8a 100644
--- a/pygments/styles/vim.py
+++ b/pygments/styles/vim.py
@@ -5,8 +5,8 @@
A highlighting style for Pygments, inspired by vim.
- :copyright: 2006-2007 by Tim Hatch.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.style import Style
diff --git a/pygments/styles/vs.py b/pygments/styles/vs.py
index 25d07707..55deac1f 100644
--- a/pygments/styles/vs.py
+++ b/pygments/styles/vs.py
@@ -5,8 +5,8 @@
Simple style with MS Visual Studio colors.
- :copyright: 2008 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
from pygments.style import Style
diff --git a/pygments/token.py b/pygments/token.py
index 4fc50919..c524bb65 100644
--- a/pygments/token.py
+++ b/pygments/token.py
@@ -5,8 +5,8 @@
Basic token types and the standard tokens.
- :copyright: 2006-2007 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
try:
set
diff --git a/pygments/unistring.py b/pygments/unistring.py
index d324d844..3f346444 100644
--- a/pygments/unistring.py
+++ b/pygments/unistring.py
@@ -8,8 +8,8 @@
Inspired by chartypes_create.py from the MoinMoin project.
- :copyright: 2007 by Georg Brandl.
- :license: BSD license.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
Cc = u'\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f\x7f\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f'
diff --git a/pygments/util.py b/pygments/util.py
index 48115abd..476027aa 100644
--- a/pygments/util.py
+++ b/pygments/util.py
@@ -5,8 +5,8 @@
Utility functions.
- :copyright: 2006-2008 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import re
diff --git a/scripts/check_sources.py b/scripts/check_sources.py
index f9f0bd13..8772bbee 100755
--- a/scripts/check_sources.py
+++ b/scripts/check_sources.py
@@ -7,8 +7,8 @@
Make sure each Python file has a correct file header
including copyright and license information.
- :copyright: 2006-2007 by Georg Brandl.
- :license: GNU GPL, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import sys, os, re
@@ -30,8 +30,8 @@ def checker(*suffixes, **kwds):
name_mail_re = r'[\w ]+(<.*?>)?'
-copyright_re = re.compile(r'^ :copyright: 200\d(-200\d)? by %s(, %s)*[,.]$' %
- (name_mail_re, name_mail_re), re.UNICODE)
+copyright_re = re.compile(r'^ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ r'see AUTHORS\.$', re.UNICODE)
copyright_2_re = re.compile(r'^ %s(, %s)*[,.]$' %
(name_mail_re, name_mail_re), re.UNICODE)
coding_re = re.compile(r'coding[:=]\s*([-\w.]+)')
@@ -126,7 +126,7 @@ def check_fileheader(fn, lines):
# check for copyright and license fields
license = llist[-2:-1]
- if license != [" :license: BSD, see LICENSE for more details.\n"]:
+ if license != [" :license: BSD, see LICENSE for details.\n"]:
yield 0, "no correct license info"
ci = -3
diff --git a/scripts/find_codetags.py b/scripts/find_codetags.py
index 4513af2f..e680d1bd 100755
--- a/scripts/find_codetags.py
+++ b/scripts/find_codetags.py
@@ -7,8 +7,8 @@
Find code tags in specified files and/or directories
and create a report in HTML format.
- :copyright: 2006-2007 by Georg Brandl.
- :license: GNU GPL, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import sys, os, re
diff --git a/scripts/find_error.py b/scripts/find_error.py
index a7719b3f..42a1e095 100644
--- a/scripts/find_error.py
+++ b/scripts/find_error.py
@@ -8,8 +8,8 @@
the text where Error tokens are being generated, along
with some context.
- :copyright: 2006-2007 by Tim Hatch <tim@timhatch.com>.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import sys, os
diff --git a/scripts/vim2pygments.py b/scripts/vim2pygments.py
index aa114abe..1acac14e 100644
--- a/scripts/vim2pygments.py
+++ b/scripts/vim2pygments.py
@@ -8,7 +8,7 @@
style classes meant for putting into modules.
:copyright 2006 by Armin Ronacher.
- :license: BSD, see LICENSE for more details.
+ :license: BSD, see LICENSE for details.
"""
import sys
diff --git a/tests/old_run.py b/tests/old_run.py
index 86ff0ea3..3c4de1de 100644
--- a/tests/old_run.py
+++ b/tests/old_run.py
@@ -8,8 +8,8 @@
python run.py [testfile ...]
- :copyright: 2006-2007 by Georg Brandl.
- :license: GNU GPL, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import sys, os
diff --git a/tests/run.py b/tests/run.py
index eee7d4d6..71bbe01f 100644
--- a/tests/run.py
+++ b/tests/run.py
@@ -8,8 +8,8 @@
python run.py [testfile ...]
- :copyright: 2006-2007 by Georg Brandl.
- :license: GNU GPL, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import sys
diff --git a/tests/test_basic_api.py b/tests/test_basic_api.py
index 5944eee5..ab6658fd 100644
--- a/tests/test_basic_api.py
+++ b/tests/test_basic_api.py
@@ -3,8 +3,8 @@
Pygments basic API tests
~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: 2006-2008 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import os
diff --git a/tests/test_clexer.py b/tests/test_clexer.py
index 1c002082..ec9f92e7 100644
--- a/tests/test_clexer.py
+++ b/tests/test_clexer.py
@@ -3,8 +3,8 @@
Basic CLexer Test
~~~~~~~~~~~~~~~~~
- :copyright: 2006-2007 by Armin Ronacher.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import unittest
diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py
index 68b2d7b7..c64a213f 100644
--- a/tests/test_cmdline.py
+++ b/tests/test_cmdline.py
@@ -3,8 +3,8 @@
Command line test
~~~~~~~~~~~~~~~~~
- :copyright: 2006-2008 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
# Test the command line interface
diff --git a/tests/test_examplefiles.py b/tests/test_examplefiles.py
index 820a7bcd..c6867b9e 100644
--- a/tests/test_examplefiles.py
+++ b/tests/test_examplefiles.py
@@ -3,8 +3,8 @@
Pygments tests with example files
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: 2006-2008 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import os
diff --git a/tests/test_html_formatter.py b/tests/test_html_formatter.py
index dc7285ad..9e0fd4ac 100644
--- a/tests/test_html_formatter.py
+++ b/tests/test_html_formatter.py
@@ -3,8 +3,8 @@
Pygments HTML formatter tests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: 2006-2008 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import os
diff --git a/tests/test_latex_formatter.py b/tests/test_latex_formatter.py
index 033f5a55..93d4578d 100644
--- a/tests/test_latex_formatter.py
+++ b/tests/test_latex_formatter.py
@@ -3,8 +3,8 @@
Pygments LaTeX formatter tests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: 2006-2007 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import os
diff --git a/tests/test_regexlexer.py b/tests/test_regexlexer.py
index de19934d..a29bef63 100644
--- a/tests/test_regexlexer.py
+++ b/tests/test_regexlexer.py
@@ -3,8 +3,8 @@
Pygments regex lexer tests
~~~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: 2007 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import unittest
diff --git a/tests/test_token.py b/tests/test_token.py
index 4c83b9ea..c225db9e 100644
--- a/tests/test_token.py
+++ b/tests/test_token.py
@@ -3,8 +3,8 @@
Test suite for the token module
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: 2006-2007 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import unittest
diff --git a/tests/test_util.py b/tests/test_util.py
index 4ea30400..d33002ed 100644
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -3,8 +3,8 @@
Test suite for the util module
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: 2006-2007 by Georg Brandl.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import unittest