Anonymous avatar Anonymous committed 66e19e8

[svn] Update make check.

Comments (0)

Files changed (39)

 }
 
 h1 {
-	font-weight: normal;
-	font-size: 40px;
-	color: #09839A;
+        font-weight: normal;
+        font-size: 40px;
+        color: #09839A;
 }
 
 h2 {
-	font-weight: normal;
-	font-size: 30px;
-	color: #C73F00;
+        font-weight: normal;
+        font-size: 30px;
+        color: #C73F00;
 }
 
 h1.heading {
 }
 
 h3 {
-	margin-top: 30px;
+        margin-top: 30px;
 }
 
 table.docutils {
-	border-collapse: collapse;
-	border: 2px solid #aaa;
-	margin: 0.5em 1.5em 0.5em 1.5em;
+        border-collapse: collapse;
+        border: 2px solid #aaa;
+        margin: 0.5em 1.5em 0.5em 1.5em;
 }
 
 table.docutils td {
-	padding: 2px;
-	border: 1px solid #ddd;
+        padding: 2px;
+        border: 1px solid #ddd;
 }
 
 p, li, dd, dt, blockquote {
-	font-size: 15px;
-	color: #333;
+        font-size: 15px;
+        color: #333;
 }
 
 p {
-	line-height: 150%;
-	margin-bottom: 0;
-	margin-top: 10px;
+        line-height: 150%;
+        margin-bottom: 0;
+        margin-top: 10px;
 }
 
 hr {
-	border-top: 1px solid #ccc;
-	border-bottom: 0;
-	border-right: 0;
-	border-left: 0;
-	margin-bottom: 10px;
-	margin-top: 20px;
+        border-top: 1px solid #ccc;
+        border-bottom: 0;
+        border-right: 0;
+        border-left: 0;
+        margin-bottom: 10px;
+        margin-top: 20px;
 }
 
 dl {
-	margin-left: 10px;
+        margin-left: 10px;
 }
 
 li, dt {
-	margin-top: 5px;
+        margin-top: 5px;
 }
 
 dt {
-	font-weight: bold;
+        font-weight: bold;
 }
 
 th {
-	text-align: left;
+        text-align: left;
 }
 
 a {
-	color: #990000;
+        color: #990000;
 }
 
 a:hover {
-	color: #c73f00;
+        color: #c73f00;
 }
 
 pre {
-	background-color: #f0f0f0;
-	border-top: 1px solid #ccc;
-	border-bottom: 1px solid #ccc;
-	padding: 5px;
-	font-size: 13px;
-	font-family: Bitstream Vera Sans Mono,monospace;
+        background-color: #f0f0f0;
+        border-top: 1px solid #ccc;
+        border-bottom: 1px solid #ccc;
+        padding: 5px;
+        font-size: 13px;
+        font-family: Bitstream Vera Sans Mono,monospace;
 }
 
 tt {
-	font-size: 13px;
-	font-family: Bitstream Vera Sans Mono,monospace;
-	color: black;
-	padding: 1px 2px 1px 2px;
-	background-color: #f0f0f0;
+        font-size: 13px;
+        font-family: Bitstream Vera Sans Mono,monospace;
+        color: black;
+        padding: 1px 2px 1px 2px;
+        background-color: #f0f0f0;
 }
 
 cite {
-	/* abusing <cite>, it's generated by ReST for `x` */
-	font-size: 13px;
-	font-family: Bitstream Vera Sans Mono,monospace;
-	font-weight: bold;
-	font-style: normal;
+        /* abusing <cite>, it's generated by ReST for `x` */
+        font-size: 13px;
+        font-family: Bitstream Vera Sans Mono,monospace;
+        font-weight: bold;
+        font-style: normal;
 }
 
 #backlink {
 """
 import sys
 DEFAULT_VERSION = "0.6c3"
-DEFAULT_URL     = "http://cheeseshop.python.org/packages/%s/s/setuptools/" % sys.version[:3]
+DEFAULT_URL     = "http://cheeseshop.python.org/packages/%s/s/setuptools/" % \
+                  sys.version[:3]
 
 md5_data = {
     'setuptools-0.6b1-py2.3.egg': '8822caf901250d848b996b7f25c6e6ca',
         update_md5(sys.argv[2:])
     else:
         main(sys.argv[1:])
-
-
-
-
-

pygments/__init__.py

 # -*- coding: utf-8 -*-
 """
     Pygments
-    ~~~~~~~
+    ~~~~~~~~
 
     Pygments is a syntax highlighting package written in Python.
 

pygments/console.py

 # -*- coding: utf-8 -*-
 """
     pygments.console
-    ~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~
 
     Format colored console output.
 

pygments/formatter.py

 # -*- coding: utf-8 -*-
 """
     pygments.formatter
-    ~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~
 
     Base formatter class.
 

pygments/formatters/bbcode.py

 # -*- coding: utf-8 -*-
 """
     pygments.formatters.bbcode
-    ~~~~~~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~~~~~~
 
     BBcode formatter.
 
 
     This formatter doesn't support background colors and borders, as there are
     no common BBcodes for that.
-    
-    Some board systems (e.g. phpBB) don't support colors in their [code] tag,
+
+    Some board systems (e.g. phpBB) don't support markup in their [code] tag,
     so you can't use the highlighting together with that tag.
     Text in a [code] tag usually is shown with a monospace font (which this
     formatter can do with the ``monofont`` option) and no spaces (which you

pygments/formatters/html.py

 # -*- coding: utf-8 -*-
 """
     pygments.formatters.html
-    ~~~~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~~~~
 
     Formatter for HTML output.
 

pygments/formatters/latex.py

 # -*- coding: utf-8 -*-
 """
     pygments.formatters.latex
-    ~~~~~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~~~~~
 
     Formatter for LaTeX fancyvrb output.
 

pygments/formatters/other.py

 # -*- coding: utf-8 -*-
 """
     pygments.formatters.other
-    ~~~~~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~~~~~
 
-    Other formatters.
+    Other formatters: NullFormatter, RawTokenFormatter.
 
     :copyright: 2006 by Georg Brandl, Armin Ronacher.
     :license: GNU LGPL, see LICENSE for more details.

pygments/formatters/terminal.py

 # -*- coding: utf-8 -*-
 """
     pygments.formatters.terminal
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
     Formatter for terminal output with ANSI sequences.
 

pygments/lexer.py

 # -*- coding: utf-8 -*-
 """
     pygments.lexer
-    ~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~
 
     Base lexer classes.
 

pygments/lexers/_luabuiltins.py

 # -*- coding: utf-8 -*-
 """
     pygments.lexers._luabuiltins
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
     This file contains the names and modules of lua functions
     It is able to re-generate itself, but for adding new functions you
     probably have to add some callbacks (see function module_callbacks).
 
-    Do not edit the list by hand.
+    Do not edit the MODULES dict by hand.
 
     :copyright: 2006 by Lukas Meuser.
     :license: GNU LGPL, see LICENSE for more details.

pygments/lexers/_mapping.py

 # -*- coding: utf-8 -*-
 """
     pygments.lexers._mapping
-    ~~~~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~~~~
 
     Lexer mapping defintions. This file is generated by itself. Everytime
     you change something on a builtin lexer defintion, run this script from
     the lexers folder to update it.
 
-    Do not alter this file by hand!
+    Do not alter the LEXERS dictionary by hand.
 
     :copyright: 2006 by Armin Ronacher, Georg Brandl.
     :license: GNU LGPL, see LICENSE for more details.

pygments/lexers/_phpbuiltins.py

 # -*- coding: utf-8 -*-
 """
     pygments.lexers._phpbuiltins
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
     This file loads the function names and their modules from the
     php webpage and generates itself.
 
-    Do not alter this file by hand!
+    Do not alter the MODULES dict by hand!
 
     WARNING: the generation transfers quite much data over your
              internet connection. don't run that at home, use

pygments/lexers/agile.py

 # -*- coding: utf-8 -*-
 """
     pygments.lexers.agile
-    ~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~
 
     Lexers for agile languages: Python, Ruby, Perl.
 

pygments/lexers/compiled.py

 # -*- coding: utf-8 -*-
 """
     pygments.lexers.compiled
-    ~~~~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~~~~
 
     Lexers for compiled languages: C/C++, Delphi, Java.
 

pygments/lexers/dotnet.py

 # -*- coding: utf-8 -*-
 """
     pygments.lexers.dotnet
-    ~~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~~
 
     .net languages
 

pygments/lexers/other.py

 # -*- coding: utf-8 -*-
 """
     pygments.lexers.other
-    ~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~
 
     Lexers for other languages: SQL, BrainFuck.
 

pygments/lexers/special.py

 # -*- coding: utf-8 -*-
 """
     pygments.lexers.special
-    ~~~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~~~
 
     Special lexers.
 

pygments/lexers/templates.py

 # -*- coding: utf-8 -*-
 """
     pygments.lexers.templates
-    ~~~~~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~~~~~
 
     Lexers for various template engines.
 

pygments/lexers/text.py

 # -*- coding: utf-8 -*-
 """
     pygments.lexers.text
-    ~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~
 
     Lexers for non-source code file types: Diff, Makefiles, Ini configs etc.
 

pygments/lexers/web.py

 # -*- coding: utf-8 -*-
 """
     pygments.lexers.web
-    ~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~
 
     Lexers for web-related languages: JavaScript, CSS, HTML, XML, PHP.
 

pygments/plugin.py

         yourstyle = yourstyle:YourStyle
 
 
-    :coypright: 2006 by Armin Ronacher.
-    :license: GNU LGPG; see LICENSE for more details.
+    :copyright: 2006 by Armin Ronacher.
+    :license: GNU LGPL, see LICENSE for more details.
 """
 try:
     import pkg_resources

pygments/style.py

 # -*- coding: utf-8 -*-
 """
     pygments.style
-    ~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~
 
     Basic style object.
 
     def __new__(mcs, name, bases, dct):
         obj = type.__new__(mcs, name, bases, dct)
         for token in STANDARD_TYPES:
-            if not token in obj.styles:
+            if token not in obj.styles:
                 obj.styles[token] = ''
 
         def colorformat(text):

pygments/styles/autumn.py

 # -*- coding: utf-8 -*-
 """
     pygments.styles.autumn
-    ~~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~~
 
     A colorful style, inspired by the terminal highlighting style.
 

pygments/styles/borland.py

 # -*- coding: utf-8 -*-
 """
     pygments.styles.borland
-    ~~~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~~~
 
     Style similar to the style used in the borland ides.
 

pygments/styles/colorful.py

 # -*- coding: utf-8 -*-
 """
     pygments.styles.colorful
-    ~~~~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~~~~
 
     A colorful style, inspired by CodeRay.
 

pygments/styles/default.py

 # -*- coding: utf-8 -*-
 """
     pygments.styles.default
-    ~~~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~~~
 
     The default highlighting style for Pygments.
 

pygments/styles/friendly.py

 # -*- coding: utf-8 -*-
 """
     pygments.styles.friendly
-    ~~~~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~~~~
 
     A modern style based on the VIM pyte theme.
 

pygments/styles/manni.py

 # -*- coding: utf-8 -*-
 """
     pygments.styles.manni
-    ~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~
 
     A colorful style, inspired by the terminal highlighting style.
 
     license but because it uses code from the pygments library it must
     be LGPL compatible sooner or later. ;-)
 
-    .. _php_port:: http://svn.fnord.name/manni/fnord.bb/lib/Highlighter/
+    .. _php port:: http://svn.fnord.name/manni/fnord.bb/lib/Highlighter/
 
     :copyright: 2006 by Armin Ronacher, Manni <manni@fnord.name>.
     :license: GNU LGPL, see LICENSE for more details.

pygments/styles/murphy.py

 # -*- coding: utf-8 -*-
 """
     pygments.styles.murphy
-    ~~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~~
 
     Murphy's style from CodeRay.
 

pygments/styles/native.py

 # -*- coding: utf-8 -*-
 """
     pygments.styles.native
-    ~~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~~
 
     pygments version of my "native" vim theme.
 

pygments/styles/pastie.py

 # -*- coding: utf-8 -*-
 """
     pygments.styles.pastie
-    ~~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~~
 
     Style similar to the `pastie`_ default style.
 

pygments/styles/perldoc.py

 # -*- coding: utf-8 -*-
 """
     pygments.styles.perldoc
-    ~~~~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~~~~
 
     Style similar to the style used in the `perldoc`_ code blocks.
 

pygments/styles/trac.py

 # -*- coding: utf-8 -*-
 """
     pygments.styles.trac
-    ~~~~~~~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~~~~~~~
 
     Port of the default trac highlighter design.
 

pygments/token.py

 # -*- coding: utf-8 -*-
 """
     pygments.token
-    ~~~~~~~~~~~~~
+    ~~~~~~~~~~~~~~
 
     Basic token types and the standard tokens.
 
 # -*- coding: utf-8 -*-
 """
     pygments.util
-    ~~~~~~~~~~~~
+    ~~~~~~~~~~~~~
 
-    Utility functions.
+    Utility functions, currently only for parsing lexer
+    and formatter options.
 
     :copyright: 2006 by Georg Brandl.
     :license: GNU LGPL, see LICENSE for more details.

scripts/check_sources.py

     return deco
 
 
-copyright_re = re.compile(r'^    :copyright: 200\d(-200\d)? by (\w| )+(, (\w| )+)*\.$')
+name_mail_re = r'[\w ]+(<.*?>)?'
+copyright_re = re.compile(r'^    :copyright: 200\d(-200\d)? by %s(, %s)*\.$' %
+                          (name_mail_re, name_mail_re))
 coding_re    = re.compile(r'coding[:=]\s*([-\w.]+)')
 not_ix_re    = re.compile(r'\bnot\s+\S+?\s+i[sn]\s\S+')
 is_const_re  = re.compile(r'if.*?==\s+(None|False|True)\b')

tests/examplefiles/smarty_example.html

 
 {if $footer_info}
     <div class="serendipity_pageFooter">
-	{if $footer_info}
-		{if $footer_prev_page}
-		<span class="previous"><a href="{$footer_prev_page}">&laquo; {$CONST.PREVIOUS_PAGE}</a></span>
-		{else}
-		<span class="previous">&#160;</span>
-		{/if}
-	{else}
-	{/if}
+    {if $footer_info}
+        {if $footer_prev_page}
+        <span class="previous"><a href="{$footer_prev_page}">&laquo; {$CONST.PREVIOUS_PAGE}</a></span>
+        {else}
+        <span class="previous">&#160;</span>
+        {/if}
+    {else}
+    {/if}
 
-	{if $footer_info}
-		<span class="entries_info">({$footer_info})</span>
-	{/if}
+    {if $footer_info}
+        <span class="entries_info">({$footer_info})</span>
+    {/if}
 
-	{if $footer_info}
-		{if $footer_next_page}
-		<span class="next"><a href="{$footer_next_page}">{$CONST.NEXT_PAGE} &raquo;</a></span>
-		{else}
-		<span class="next">&#160;</span>
-		{/if}
-	{else}
-	{/if}
+    {if $footer_info}
+        {if $footer_next_page}
+        <span class="next"><a href="{$footer_next_page}">{$CONST.NEXT_PAGE} &raquo;</a></span>
+        {else}
+        <span class="next">&#160;</span>
+        {/if}
+    {else}
+    {/if}
     </div>{/if}
     {serendipity_hookPlugin hook="entries_footer"}
 <!-- ENTRIES END -->
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.