[pygccxml-commit] SF.net SVN: pygccxml:[1661]
Brought to you by:
mbaas,
roman_yakovenko
|
From: <rom...@us...> - 2009-02-08 08:23:28
|
Revision: 1661
http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1661&view=rev
Author: roman_yakovenko
Date: 2009-02-08 08:23:25 +0000 (Sun, 08 Feb 2009)
Log Message:
-----------
sphinx
Modified Paths:
--------------
pygccxml_dev/unittests/autoconfig.py
pyplusplus_dev/pyplusplus/messages/__init__.py
pyplusplus_dev/unittests/autoconfig.py
sphinx/conf.py
Added Paths:
-----------
sphinx/ignore_dictionary.txt
Removed Paths:
-------------
pygccxml_dev/unittests/ignore_dictionary.txt
pyplusplus_dev/unittests/ignore_dictionary.txt
Modified: pygccxml_dev/unittests/autoconfig.py
===================================================================
--- pygccxml_dev/unittests/autoconfig.py 2009-02-08 06:21:39 UTC (rev 1660)
+++ pygccxml_dev/unittests/autoconfig.py 2009-02-08 08:23:25 UTC (rev 1661)
@@ -7,20 +7,11 @@
import sys
import getpass
-
-
#~ os.environ['PYCHECKER'] = '--limit=1000 -q --no-argsused'
#~ import pychecker.checker
this_module_dir_path = os.path.abspath ( os.path.dirname( sys.modules[__name__].__file__) )
-sys.path.append( os.path.abspath( os.path.join( this_module_dir_path, '..', '..', 'pydsc_dev' ) ) )
-
-import pydsc
-pydsc.ignore_dictionary( 'ignore_dictionary.txt' )
-pydsc.set_text_preprocessor( pydsc.sphinx_preprocessor )
-pydsc.include_paths( os.path.join( this_module_dir_path, '..', '..', 'pygccxml_dev' ) )
-
data_directory = os.path.join( this_module_dir_path, 'data' )
build_directory = os.path.join( this_module_dir_path, 'temp' )
Deleted: pygccxml_dev/unittests/ignore_dictionary.txt
===================================================================
--- pygccxml_dev/unittests/ignore_dictionary.txt 2009-02-08 06:21:39 UTC (rev 1660)
+++ pygccxml_dev/unittests/ignore_dictionary.txt 2009-02-08 08:23:25 UTC (rev 1661)
@@ -1,29 +0,0 @@
-Yakovenko
-org
-www
-txt
-http
-bool
-const
-JNI
-jboolean
-jbyte
-jchar
-jdouble
-jfloat
-jint
-jlong
-jshort
-GCC
-wchar
-TODO
-namespace
-namespaces
-str
-pygccxml
-GCCXML
-gccxml
-GCC
-gcc
-noncopyable
-Bierbaum
Modified: pyplusplus_dev/pyplusplus/messages/__init__.py
===================================================================
--- pyplusplus_dev/pyplusplus/messages/__init__.py 2009-02-08 06:21:39 UTC (rev 1660)
+++ pyplusplus_dev/pyplusplus/messages/__init__.py 2009-02-08 08:23:25 UTC (rev 1661)
@@ -3,9 +3,11 @@
# accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
-"""This package defines all user messages( warnings + errors ), which will be
+"""This package defines all user messages( warnings + errors ), which will be
reported to user.
"""
+
+import warnings_
from warnings_ import *
def find_out_message_id( msg ):
@@ -21,11 +23,11 @@
def filter_disabled_msgs( msgs, disable_messages=None ):
report = []
-
+
skip_them = DISABLE_MESSAGES[:]
if disable_messages:
skip_them.extend( disable_messages )
-
+
skip_them = filter( None, map( find_out_message_id, skip_them ) )
for msg in msgs:
Modified: pyplusplus_dev/unittests/autoconfig.py
===================================================================
--- pyplusplus_dev/unittests/autoconfig.py 2009-02-08 06:21:39 UTC (rev 1660)
+++ pyplusplus_dev/unittests/autoconfig.py 2009-02-08 08:23:25 UTC (rev 1661)
@@ -9,17 +9,8 @@
import unittest
import subprocess
-
this_module_dir_path = os.path.abspath ( os.path.dirname( sys.modules[__name__].__file__) )
-sys.path.append( os.path.abspath( os.path.join( this_module_dir_path, '..', '..', 'pydsc_dev' ) ) )
-
-#~ import pydsc
-#~ pydsc.ignore_dictionary( os.path.join( this_module_dir_path, 'ignore_dictionary.txt' ) )
-#~ pydsc.set_text_preprocessor( pydsc.sphinx_preprocessor )
-#~ pydsc.include_paths( os.path.join( this_module_dir_path, '..', '..', 'pyplusplus_dev' ) )
-
-
data_directory = os.path.join( this_module_dir_path, 'data' )
build_directory = os.path.join( this_module_dir_path, 'temp' )
build_dir = build_directory
Deleted: pyplusplus_dev/unittests/ignore_dictionary.txt
===================================================================
--- pyplusplus_dev/unittests/ignore_dictionary.txt 2009-02-08 06:21:39 UTC (rev 1660)
+++ pyplusplus_dev/unittests/ignore_dictionary.txt 2009-02-08 08:23:25 UTC (rev 1661)
@@ -1,29 +0,0 @@
-Yakovenko
-org
-www
-txt
-http
-bool
-const
-JNI
-jboolean
-jbyte
-jchar
-jdouble
-jfloat
-jint
-jlong
-jshort
-GCC
-wchar
-TODO
-namespace
-namespaces
-str
-pygccxml
-GCCXML
-gccxml
-GCC
-gcc
-noncopyable
-Bierbaum
Modified: sphinx/conf.py
===================================================================
--- sphinx/conf.py 2009-02-08 06:21:39 UTC (rev 1660)
+++ sphinx/conf.py 2009-02-08 08:23:25 UTC (rev 1661)
@@ -48,9 +48,15 @@
else:
shutil.copy( os.path.join( project_root, 'index.rest' ), doc_project_root )
-#disable import replacment
-#os.environ['PYDSC'] = 'sphinx'
+import pydsc
+#report errors related to the project only
+pydsc.include_paths( project_root )
+pydsc.ignore_dictionary( 'ignore_dictionary.txt' )
+pydsc.set_text_preprocessor( pydsc.sphinx_preprocessor )
+import pygccxml
+import pyplusplus
+
# General configuration
# ---------------------
Added: sphinx/ignore_dictionary.txt
===================================================================
--- sphinx/ignore_dictionary.txt (rev 0)
+++ sphinx/ignore_dictionary.txt 2009-02-08 08:23:25 UTC (rev 1661)
@@ -0,0 +1,29 @@
+Yakovenko
+org
+www
+txt
+http
+bool
+const
+JNI
+jboolean
+jbyte
+jchar
+jdouble
+jfloat
+jint
+jlong
+jshort
+GCC
+wchar
+TODO
+namespace
+namespaces
+str
+pygccxml
+GCCXML
+gccxml
+GCC
+gcc
+noncopyable
+Bierbaum
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|