[pygccxml-commit] SF.net SVN: pygccxml:[1635]
Brought to you by:
mbaas,
roman_yakovenko
From: <rom...@us...> - 2009-01-29 06:33:20
|
Revision: 1635 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1635&view=rev Author: roman_yakovenko Date: 2009-01-29 06:33:14 +0000 (Thu, 29 Jan 2009) Log Message: ----------- rename definition.rest to definition.irest (included rest) Modified Paths: -------------- index.rest pydsc_dev/docs/pydsc.rest pygccxml_dev/docs/pygccxml.rest pyplusplus_dev/docs/comparisons/pyste.rest pyplusplus_dev/docs/documentation/tutorials/module_builder/module_builder.rest pyplusplus_dev/docs/documentation/tutorials/tutorials.rest pyplusplus_dev/docs/examples/boost/boost.rest pyplusplus_dev/docs/examples/easybmp/easybmp.rest pyplusplus_dev/docs/pyplusplus.rest pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/automatic_conversion.rest pyplusplus_dev/docs/troubleshooting_guide/exceptions/exceptions.rest pyplusplus_dev/docs/troubleshooting_guide/lessons_learned.rest pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/shared_ptr.rest pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptrs.rest sphinx/conf.py Added Paths: ----------- pydsc_dev/docs/definition.irest pygccxml_dev/docs/definition.irest pyplusplus_dev/docs/definition.irest pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/definition.irest pyplusplus_dev/docs/troubleshooting_guide/exceptions/definition.irest pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/definition.irest pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/definition.irest Removed Paths: ------------- pydsc_dev/docs/definition.rest pygccxml_dev/docs/definition.rest pyplusplus_dev/docs/definition.rest pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/definition.rest pyplusplus_dev/docs/troubleshooting_guide/exceptions/definition.rest pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/definition.rest pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/definition.rest Modified: index.rest =================================================================== --- index.rest 2009-01-29 05:52:46 UTC (rev 1634) +++ index.rest 2009-01-29 06:33:14 UTC (rev 1635) @@ -5,9 +5,9 @@ .. contents:: Table of contents .. toctree:: - :maxdepth: 2 + :maxdepth: 1 - pydsc/pydsc + pydsc/pydsc.rest ---------------- pygccxml package Copied: pydsc_dev/docs/definition.irest (from rev 1633, pydsc_dev/docs/definition.rest) =================================================================== --- pydsc_dev/docs/definition.irest (rev 0) +++ pydsc_dev/docs/definition.irest 2009-01-29 06:33:14 UTC (rev 1635) @@ -0,0 +1 @@ +:mod:`pydsc` - PYthon Documentation string Spell Checker Deleted: pydsc_dev/docs/definition.rest =================================================================== --- pydsc_dev/docs/definition.rest 2009-01-29 05:52:46 UTC (rev 1634) +++ pydsc_dev/docs/definition.rest 2009-01-29 06:33:14 UTC (rev 1635) @@ -1 +0,0 @@ -:mod:`pydsc` - PYthon Documentation string Spell Checker Modified: pydsc_dev/docs/pydsc.rest =================================================================== --- pydsc_dev/docs/pydsc.rest 2009-01-29 05:52:46 UTC (rev 1634) +++ pydsc_dev/docs/pydsc.rest 2009-01-29 06:33:14 UTC (rev 1635) @@ -18,7 +18,7 @@ What is pydsc? -------------- -.. include:: ./definition.rest +.. include:: ./definition.irest ---------------------- What it is useful for? Copied: pygccxml_dev/docs/definition.irest (from rev 1633, pygccxml_dev/docs/definition.rest) =================================================================== --- pygccxml_dev/docs/definition.irest (rev 0) +++ pygccxml_dev/docs/definition.irest 2009-01-29 06:33:14 UTC (rev 1635) @@ -0,0 +1,9 @@ +The purpose of the `GCC-XML`_ extension is to generate an XML description of a +C++ program from GCC's internal representation. + + -- Introduction to `GCC-XML`_ + +The purpose of `pygccxml`_ is to read a generated file and provide a simple +framework to navigate C++ declarations, using Python classes. + +.. _`GCC-XML` : http://www.gccxml.org Deleted: pygccxml_dev/docs/definition.rest =================================================================== --- pygccxml_dev/docs/definition.rest 2009-01-29 05:52:46 UTC (rev 1634) +++ pygccxml_dev/docs/definition.rest 2009-01-29 06:33:14 UTC (rev 1635) @@ -1,9 +0,0 @@ -The purpose of the `GCC-XML`_ extension is to generate an XML description of a -C++ program from GCC's internal representation. - - -- Introduction to `GCC-XML`_ - -The purpose of `pygccxml`_ is to read a generated file and provide a simple -framework to navigate C++ declarations, using Python classes. - -.. _`GCC-XML` : http://www.gccxml.org Modified: pygccxml_dev/docs/pygccxml.rest =================================================================== --- pygccxml_dev/docs/pygccxml.rest 2009-01-29 05:52:46 UTC (rev 1634) +++ pygccxml_dev/docs/pygccxml.rest 2009-01-29 06:33:14 UTC (rev 1635) @@ -14,7 +14,7 @@ ------------ Introduction ------------ -.. include:: ./definition.rest +.. include:: ./definition.irest ------------------------ What can you do with it? Modified: pyplusplus_dev/docs/comparisons/pyste.rest =================================================================== --- pyplusplus_dev/docs/comparisons/pyste.rest 2009-01-29 05:52:46 UTC (rev 1634) +++ pyplusplus_dev/docs/comparisons/pyste.rest 2009-01-29 06:33:14 UTC (rev 1635) @@ -8,7 +8,7 @@ What is `Py++`_? ---------------------- -.. include:: ../definition.rest +.. include:: ../definition.irest ----------------- What is `Pyste`_? @@ -416,7 +416,7 @@ `Pyste`_ is `Boost.Python`_ code generator. `Py++`_ - .. include:: ../definition.rest + .. include:: ../definition.irest `Pyste`_ and `Py++`_ have been created to handle different tasks, hence the difference in design, user interface and complexity. Bruno da Silva de Copied: pyplusplus_dev/docs/definition.irest (from rev 1633, pyplusplus_dev/docs/definition.rest) =================================================================== --- pyplusplus_dev/docs/definition.irest (rev 0) +++ pyplusplus_dev/docs/definition.irest 2009-01-29 06:33:14 UTC (rev 1635) @@ -0,0 +1,4 @@ +`Py++`_ is an object-oriented framework for creating a code generator for +`Boost.Python`_ library. + +.. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html \ No newline at end of file Deleted: pyplusplus_dev/docs/definition.rest =================================================================== --- pyplusplus_dev/docs/definition.rest 2009-01-29 05:52:46 UTC (rev 1634) +++ pyplusplus_dev/docs/definition.rest 2009-01-29 06:33:14 UTC (rev 1635) @@ -1,4 +0,0 @@ -`Py++`_ is an object-oriented framework for creating a code generator for -`Boost.Python`_ library. - -.. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html \ No newline at end of file Modified: pyplusplus_dev/docs/documentation/tutorials/module_builder/module_builder.rest =================================================================== --- pyplusplus_dev/docs/documentation/tutorials/module_builder/module_builder.rest 2009-01-29 05:52:46 UTC (rev 1634) +++ pyplusplus_dev/docs/documentation/tutorials/module_builder/module_builder.rest 2009-01-29 06:33:14 UTC (rev 1635) @@ -8,7 +8,7 @@ What is Py++? ------------- -.. include:: ./../../../definition.rest +.. include:: ./../../../definition.irest -------- Preamble Modified: pyplusplus_dev/docs/documentation/tutorials/tutorials.rest =================================================================== --- pyplusplus_dev/docs/documentation/tutorials/tutorials.rest 2009-01-29 05:52:46 UTC (rev 1634) +++ pyplusplus_dev/docs/documentation/tutorials/tutorials.rest 2009-01-29 06:33:14 UTC (rev 1635) @@ -8,7 +8,7 @@ What is Py++? ------------- -.. include:: ./../../definition.rest +.. include:: ./../../definition.irest ------------------- Graphical interface Modified: pyplusplus_dev/docs/examples/boost/boost.rest =================================================================== --- pyplusplus_dev/docs/examples/boost/boost.rest 2009-01-29 05:52:46 UTC (rev 1634) +++ pyplusplus_dev/docs/examples/boost/boost.rest 2009-01-29 06:33:14 UTC (rev 1635) @@ -11,7 +11,7 @@ What is the `Py++`_? -------------------------- -.. include:: ./../../definition.rest +.. include:: ./../../definition.irest What is the Boost? ------------------ Modified: pyplusplus_dev/docs/examples/easybmp/easybmp.rest =================================================================== --- pyplusplus_dev/docs/examples/easybmp/easybmp.rest 2009-01-29 05:52:46 UTC (rev 1634) +++ pyplusplus_dev/docs/examples/easybmp/easybmp.rest 2009-01-29 06:33:14 UTC (rev 1635) @@ -18,7 +18,7 @@ What is `Py++`_? ---------------------- -.. include:: ./../../definition.rest +.. include:: ./../../definition.irest ----------- Description Modified: pyplusplus_dev/docs/pyplusplus.rest =================================================================== --- pyplusplus_dev/docs/pyplusplus.rest 2009-01-29 05:52:46 UTC (rev 1634) +++ pyplusplus_dev/docs/pyplusplus.rest 2009-01-29 06:33:14 UTC (rev 1635) @@ -8,7 +8,7 @@ What is Py++? ------------- Definition: - .. include:: ./definition.rest + .. include:: ./definition.irest `Py++`_ uses few different programming paradigms to help you to expose C++ declarations to Python. This code generator will not stand on your way. It will Modified: pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/automatic_conversion.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/automatic_conversion.rest 2009-01-29 05:52:46 UTC (rev 1634) +++ pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/automatic_conversion.rest 2009-01-29 06:33:14 UTC (rev 1635) @@ -8,7 +8,7 @@ Introduction ------------ -.. include:: ./definition.rest +.. include:: ./definition.irest ------- Content Copied: pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/definition.irest (from rev 1633, pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/definition.rest) =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/definition.irest (rev 0) +++ pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/definition.irest 2009-01-29 06:33:14 UTC (rev 1635) @@ -0,0 +1,3 @@ +Boost.Python allows to define automatic conversion from\\to C++\\Python types. +While this is very, very useful functionality, the documentation for it does not +exist. This example will shed some light on "r-value"\\"l-value" converters. Deleted: pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/definition.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/definition.rest 2009-01-29 05:52:46 UTC (rev 1634) +++ pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/definition.rest 2009-01-29 06:33:14 UTC (rev 1635) @@ -1,3 +0,0 @@ -Boost.Python allows to define automatic conversion from\\to C++\\Python types. -While this is very, very useful functionality, the documentation for it does not -exist. This example will shed some light on "r-value"\\"l-value" converters. Copied: pyplusplus_dev/docs/troubleshooting_guide/exceptions/definition.irest (from rev 1633, pyplusplus_dev/docs/troubleshooting_guide/exceptions/definition.rest) =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/exceptions/definition.irest (rev 0) +++ pyplusplus_dev/docs/troubleshooting_guide/exceptions/definition.irest 2009-01-29 06:33:14 UTC (rev 1635) @@ -0,0 +1,4 @@ +Boost.Python has a limitation: it does not allow to create class, which derives +from the class defined in Python. In most use cases this should not bother you, +except one - exceptions. The example will provide you with one of the possible +solutions. \ No newline at end of file Deleted: pyplusplus_dev/docs/troubleshooting_guide/exceptions/definition.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/exceptions/definition.rest 2009-01-29 05:52:46 UTC (rev 1634) +++ pyplusplus_dev/docs/troubleshooting_guide/exceptions/definition.rest 2009-01-29 06:33:14 UTC (rev 1635) @@ -1,4 +0,0 @@ -Boost.Python has a limitation: it does not allow to create class, which derives -from the class defined in Python. In most use cases this should not bother you, -except one - exceptions. The example will provide you with one of the possible -solutions. \ No newline at end of file Modified: pyplusplus_dev/docs/troubleshooting_guide/exceptions/exceptions.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/exceptions/exceptions.rest 2009-01-29 05:52:46 UTC (rev 1634) +++ pyplusplus_dev/docs/troubleshooting_guide/exceptions/exceptions.rest 2009-01-29 06:33:14 UTC (rev 1635) @@ -8,7 +8,7 @@ Introduction ------------ -.. include:: ./definition.rest +.. include:: ./definition.irest ------------------- What's the problem? Modified: pyplusplus_dev/docs/troubleshooting_guide/lessons_learned.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/lessons_learned.rest 2009-01-29 05:52:46 UTC (rev 1634) +++ pyplusplus_dev/docs/troubleshooting_guide/lessons_learned.rest 2009-01-29 06:33:14 UTC (rev 1635) @@ -16,25 +16,25 @@ `custom smart pointer class`_ - .. include:: ./smart_ptrs/definition.rest + .. include:: ./smart_ptrs/definition.irest .. _`custom smart pointer class` : ./smart_ptrs/smart_ptrs.html `boost::shared_ptr< const T>`_ - .. include:: ./shared_ptr/definition.rest + .. include:: ./shared_ptr/definition.irest .. _`boost::shared_ptr< const T>` : ./shared_ptr/shared_ptr.html `automatic conversion`_ - .. include:: ./automatic_conversion/definition.rest + .. include:: ./automatic_conversion/definition.irest .. _`automatic conversion` : ./automatic_conversion/automatic_conversion.html `exceptions`_ - .. include:: ./exceptions/definition.rest + .. include:: ./exceptions/definition.irest .. _`exceptions` : ./exceptions/exceptions.html Copied: pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/definition.irest (from rev 1633, pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/definition.rest) =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/definition.irest (rev 0) +++ pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/definition.irest 2009-01-29 06:33:14 UTC (rev 1635) @@ -0,0 +1,3 @@ +Boost.Python works pretty well with ``boost::shared_ptr< T >`` class, but +additional work should be done if you want to register a conversion to +``boost::shared_ptr< const T>`` class. Deleted: pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/definition.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/definition.rest 2009-01-29 05:52:46 UTC (rev 1634) +++ pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/definition.rest 2009-01-29 06:33:14 UTC (rev 1635) @@ -1,3 +0,0 @@ -Boost.Python works pretty well with ``boost::shared_ptr< T >`` class, but -additional work should be done if you want to register a conversion to -``boost::shared_ptr< const T>`` class. Modified: pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/shared_ptr.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/shared_ptr.rest 2009-01-29 05:52:46 UTC (rev 1634) +++ pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/shared_ptr.rest 2009-01-29 06:33:14 UTC (rev 1635) @@ -8,7 +8,7 @@ Introduction ------------ -.. include:: ./definition.rest +.. include:: ./definition.irest --------- Solutions Copied: pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/definition.irest (from rev 1633, pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/definition.rest) =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/definition.irest (rev 0) +++ pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/definition.irest 2009-01-29 06:33:14 UTC (rev 1635) @@ -0,0 +1,3 @@ +There are projects, which use custom smart pointer(s). For majority of the +projects, it is not an option to switch to ``boost::shared_ptr``. The +solution contains source code and comprehensive unit test for the problem. Deleted: pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/definition.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/definition.rest 2009-01-29 05:52:46 UTC (rev 1634) +++ pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/definition.rest 2009-01-29 06:33:14 UTC (rev 1635) @@ -1,3 +0,0 @@ -There are projects, which use custom smart pointer(s). For majority of the -projects, it is not an option to switch to ``boost::shared_ptr``. The -solution contains source code and comprehensive unit test for the problem. Modified: pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptrs.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptrs.rest 2009-01-29 05:52:46 UTC (rev 1634) +++ pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptrs.rest 2009-01-29 06:33:14 UTC (rev 1635) @@ -8,7 +8,7 @@ Introduction ------------ -.. include:: ./definition.rest +.. include:: ./definition.irest Files ----- Modified: sphinx/conf.py =================================================================== --- sphinx/conf.py 2009-01-29 05:52:46 UTC (rev 1634) +++ sphinx/conf.py 2009-01-29 06:33:14 UTC (rev 1635) @@ -30,22 +30,22 @@ target = os.path.join( doc_project_root, pkg ) source = os.path.join( project_root, pkg + '_dev', 'docs' ) sys.path.append( os.path.join( project_root, pkg + '_dev' ) ) - if os.path.exists( target ): + if os.path.exists( target ): if has_true_links: os.unlink( target ) else: shutil.rmtree( target ) - - if has_true_links: - os.symlink( source, target ) - else: - shutil.copytree( source, target, ignore=shutil.ignore_patterns( r'.svn', '*.pyc', 'apidocs', 'www_configuration.py' ) ) + + if has_true_links: + os.symlink( source, target ) + else: + shutil.copytree( source, target, ignore=shutil.ignore_patterns( r'.svn', '*.pyc', 'apidocs', 'www_configuration.py' ) ) if has_true_links: if os.path.exists(os.path.join( doc_project_root, 'index.rest' )): os.unlink( os.path.join( doc_project_root, 'index.rest' ) ) os.symlink( os.path.join( project_root, 'index.rest' ) , os.path.join( doc_project_root, 'index.rest' ) ) -else: +else: shutil.copy( os.path.join( project_root, 'index.rest' ), doc_project_root ) #disable import replacment This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |