pygccxml-commit Mailing List for C++ Python language bindings (Page 9)
Brought to you by:
mbaas,
roman_yakovenko
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
(190) |
Apr
(166) |
May
(170) |
Jun
(75) |
Jul
(105) |
Aug
(131) |
Sep
(99) |
Oct
(84) |
Nov
(67) |
Dec
(54) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(66) |
Feb
(49) |
Mar
(25) |
Apr
(62) |
May
(21) |
Jun
(34) |
Jul
(9) |
Aug
(21) |
Sep
(5) |
Oct
|
Nov
(63) |
Dec
(34) |
2008 |
Jan
(10) |
Feb
(42) |
Mar
(26) |
Apr
(25) |
May
(6) |
Jun
(40) |
Jul
(18) |
Aug
(29) |
Sep
(6) |
Oct
(32) |
Nov
(14) |
Dec
(56) |
2009 |
Jan
(127) |
Feb
(52) |
Mar
(2) |
Apr
(10) |
May
(29) |
Jun
(3) |
Jul
|
Aug
(16) |
Sep
(4) |
Oct
(11) |
Nov
(8) |
Dec
(14) |
2010 |
Jan
(31) |
Feb
(1) |
Mar
(7) |
Apr
(9) |
May
(1) |
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
(8) |
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <rom...@us...> - 2009-02-03 20:42:23
|
Revision: 1657 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1657&view=rev Author: roman_yakovenko Date: 2009-02-03 20:42:16 +0000 (Tue, 03 Feb 2009) Log Message: ----------- enable pydsc Modified Paths: -------------- pydsc_dev/pydsc.py pygccxml_dev/unittests/autoconfig.py Modified: pydsc_dev/pydsc.py =================================================================== --- pydsc_dev/pydsc.py 2009-02-03 20:06:54 UTC (rev 1656) +++ pydsc_dev/pydsc.py 2009-02-03 20:42:16 UTC (rev 1657) @@ -23,6 +23,7 @@ import os import sys +import pdb import pprint import inspect import __builtin__ @@ -40,7 +41,7 @@ class FILTER_TYPE: """ defines few filter constants - + - *INCLUDE* - *EXCLUDE* """ @@ -150,7 +151,7 @@ return False #do not check already imported modules if self.filter: try: - source_file = inspect.getsourcefile(obj) + source_file = self.getsourcefile(obj) if source_file is None: source_file = inspect.getfile( obj ) return self.filter.check( source_file ) @@ -170,14 +171,21 @@ return True return False - def import_( self, name, globals=None, locals=None, fromlist=None ): + def import_( self, name, globals=None, locals=None, fromlist=None, level=-1 ): """Hook to import functionality""" - pymodule = self.__orig_import( name, globals, locals, fromlist ) + pymodule = self.__orig_import( name, globals, locals, fromlist, level ) if self.should_be_checked(pymodule): self.__already_imported.add( name ) self.__check( pymodule ) return pymodule + @staticmethod + def getsourcefile( obj ): + try: + return inspect.getsourcefile( obj ) + except TypeError: + pass + def __check_text_impl( self, obj, text, text_type ): if not text: return @@ -194,9 +202,9 @@ if not errors: return write = self.writer.write - if inspect.getsourcefile( inspect.getmodule( obj ) ): + if self.getsourcefile( inspect.getmodule( obj ) ): write( ' error details: %s' % os.linesep ) - write( ' file : %s%s' % ( inspect.getsourcefile( inspect.getmodule( obj ) ), os.linesep ) ) + write( ' file : %s%s' % ( self.getsourcefile( inspect.getmodule( obj ) ), os.linesep ) ) write( ' line : %d%s' % ( inspect.getsourcelines( obj )[1], os.linesep ) ) write( ' text type : %s%s' % ( text_type, os.linesep ) ) else: @@ -208,8 +216,11 @@ def __check_text( self, obj): self.__check_text_impl( obj, inspect.getdoc( obj ), 'documentation string' ) - if inspect.getsourcefile( obj ): - self.__check_text_impl( obj, inspect.getcomments( obj ), 'comment' ) + try: + if self.getsourcefile( obj ): + self.__check_text_impl( obj, inspect.getcomments( obj ), 'comment' ) + except TypeError: + pass def __check( self, module ): self.__check_text( module ) @@ -227,6 +238,8 @@ if 'PYDSC' in os.environ: if not 'sphinx' in os.environ['PYDSC']: doc_checker = checker_t( checker.SpellChecker( "en_US" ) ) +else: + doc_checker = checker_t( checker.SpellChecker( "en_US" ) ) def exclude( what ): """ Modified: pygccxml_dev/unittests/autoconfig.py =================================================================== --- pygccxml_dev/unittests/autoconfig.py 2009-02-03 20:06:54 UTC (rev 1656) +++ pygccxml_dev/unittests/autoconfig.py 2009-02-03 20:42:16 UTC (rev 1657) @@ -7,12 +7,17 @@ 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 + data_directory = os.path.join( this_module_dir_path, 'data' ) build_directory = os.path.join( this_module_dir_path, 'temp' ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2009-02-03 20:06:59
|
Revision: 1656 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1656&view=rev Author: roman_yakovenko Date: 2009-02-03 20:06:54 +0000 (Tue, 03 Feb 2009) Log Message: ----------- sphinx Modified Paths: -------------- pyplusplus_dev/docs/examples/examples.rest pyplusplus_dev/docs/peps/peps_index.rest Modified: pyplusplus_dev/docs/examples/examples.rest =================================================================== --- pyplusplus_dev/docs/examples/examples.rest 2009-02-03 19:30:36 UTC (rev 1655) +++ pyplusplus_dev/docs/examples/examples.rest 2009-02-03 20:06:54 UTC (rev 1656) @@ -29,7 +29,7 @@ * `Boost.Random`_ This is not "just another example". I went father and created new package: -`pyboost`_. This is fully working Python package, with almost all unit test from +:doc:`pyboost <boost/boost>`. This is fully working Python package, with almost all unit test from the libraries ported to Python. For more information please read :doc:`pyboost <boost/boost>` package documentation. Modified: pyplusplus_dev/docs/peps/peps_index.rest =================================================================== --- pyplusplus_dev/docs/peps/peps_index.rest 2009-02-03 19:30:36 UTC (rev 1655) +++ pyplusplus_dev/docs/peps/peps_index.rest 2009-02-03 20:06:54 UTC (rev 1656) @@ -6,7 +6,7 @@ Description ----------- -This page is an official `Py++`_ "TODO" page. +This page is an official `Py++` "TODO" page. For small features, the description of the feature and it's implementation will be written here. Big features will get their own page. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2009-02-03 19:30:39
|
Revision: 1655 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1655&view=rev Author: roman_yakovenko Date: 2009-02-03 19:30:36 +0000 (Tue, 03 Feb 2009) Log Message: ----------- sphinx Modified Paths: -------------- pygccxml_dev/docs/example/example.rest pygccxml_dev/pygccxml/declarations/algorithm.py pygccxml_dev/pygccxml/declarations/templates.py pyplusplus_dev/docs/comparisons/pyste.rest pyplusplus_dev/docs/documentation/functions/transformation/inout.rest pyplusplus_dev/docs/documentation/functions/transformation/terminology.rest pyplusplus_dev/docs/documentation/functions/transformation/transformation.rest pyplusplus_dev/docs/documentation/how_to/best_practices.rest pyplusplus_dev/docs/documentation/how_to/exception_translation.rest pyplusplus_dev/docs/documentation/how_to/fatal_error_c1204.rest pyplusplus_dev/docs/documentation/how_to/file_name_too_long.rest pyplusplus_dev/docs/documentation/tutorials/module_builder/module_builder.rest pyplusplus_dev/docs/documentation/tutorials/tutorials.rest pyplusplus_dev/docs/examples/examples.rest pyplusplus_dev/docs/history/history.rest Modified: pygccxml_dev/docs/example/example.rest =================================================================== --- pygccxml_dev/docs/example/example.rest 2009-02-02 22:06:53 UTC (rev 1654) +++ pygccxml_dev/docs/example/example.rest 2009-02-03 19:30:36 UTC (rev 1655) @@ -2,7 +2,7 @@ Example ======= -This example prints all declarations found in `example.hpp <./example.hpp.html>`_ +This example prints all declarations found in :doc:`example.hpp <example.hpp>` file. For every class, it prints it's base and derived classes. @@ -12,7 +12,7 @@ .. toctree:: :maxdepth: 1 - C++ source code, this file was passed to GCC-XML <example.hpp.rest> - GCC-XML generated file <example.hpp.xml.rest> - :mod:`pygccxml` package API usage example <example.py.rest> - `example.py` output <output.txt.rest> + example.hpp.rest + example.hpp.xml.rest + example.py.rest + output.txt.rest Modified: pygccxml_dev/pygccxml/declarations/algorithm.py =================================================================== --- pygccxml_dev/pygccxml/declarations/algorithm.py 2009-02-02 22:06:53 UTC (rev 1654) +++ pygccxml_dev/pygccxml/declarations/algorithm.py 2009-02-03 19:30:36 UTC (rev 1655) @@ -308,7 +308,7 @@ class visit_function_has_not_been_found_t( RuntimeError ): """ - exception that is raised, from :function:`apply_visitor`, when a visitor could not be + exception that is raised, from :func:`apply_visitor`, when a visitor could not be applied. """ Modified: pygccxml_dev/pygccxml/declarations/templates.py =================================================================== --- pygccxml_dev/pygccxml/declarations/templates.py 2009-02-02 22:06:53 UTC (rev 1654) +++ pygccxml_dev/pygccxml/declarations/templates.py 2009-02-03 19:30:36 UTC (rev 1655) @@ -12,7 +12,7 @@ - name ( std::vector ) - list of arguments ( int ) -This module also defines few convenience function like :function:split and :function:join. +This module also defines few convenience function like :func:split and :func:join. """ import pattern_parser Modified: pyplusplus_dev/docs/comparisons/pyste.rest =================================================================== --- pyplusplus_dev/docs/comparisons/pyste.rest 2009-02-02 22:06:53 UTC (rev 1654) +++ pyplusplus_dev/docs/comparisons/pyste.rest 2009-02-03 19:30:36 UTC (rev 1655) @@ -216,10 +216,8 @@ modify\\create `Pyste`_ interface files. They are solved by :doc:`pygccxml <../../pygccxml/pygccxml>` package. Please take a look on :doc:`pygccxml <../../pygccxml/pygccxml>` - `query interface`__ documentation. + :doc:`query interface <../../pygccxml/query_interface>` documentation. -.. __ : ./../../pygccxml/query_interface.html - Now about mistakes. There is a gold rule: one class, one responsibility. `Pyste`_ breaks this rule. One more time *Exporter* class responsibilities: Modified: pyplusplus_dev/docs/documentation/functions/transformation/inout.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/transformation/inout.rest 2009-02-02 22:06:53 UTC (rev 1654) +++ pyplusplus_dev/docs/documentation/functions/transformation/inout.rest 2009-02-03 19:30:36 UTC (rev 1655) @@ -6,7 +6,7 @@ Definition ---------- -``inout`` transformer is a combination of `input`_ and `output`_ transformers. +``inout`` transformer is a combination of :doc:`input <inout>` and :doc:`output <output>` transformers. It removes a "reference" type from the function argument and then adds the "returned", by the original function, value to the return statement of the function-wrapper. @@ -15,9 +15,6 @@ argument. The argument should have "reference" type. Support for "pointer" type will be added pretty soon. -.. _`input` : input.html -.. _`output` : output.html - ------- Example ------- Modified: pyplusplus_dev/docs/documentation/functions/transformation/terminology.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/transformation/terminology.rest 2009-02-02 22:06:53 UTC (rev 1654) +++ pyplusplus_dev/docs/documentation/functions/transformation/terminology.rest 2009-02-03 19:30:36 UTC (rev 1655) @@ -29,7 +29,6 @@ Name under which `Python`_ users see the exposed function -.. _`Py++` : ./../../../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/functions/transformation/transformation.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/transformation/transformation.rest 2009-02-02 22:06:53 UTC (rev 1654) +++ pyplusplus_dev/docs/documentation/functions/transformation/transformation.rest 2009-02-03 19:30:36 UTC (rev 1655) @@ -101,11 +101,9 @@ version of :doc:`Py++ <../../../pyplusplus>`. If you created your own transformer consider to contribute it to the project. -I suggest you to start reading `output`_ transformer. It is pretty simple and +I suggest you to start reading :doc:`output <output>` transformer. It is pretty simple and well explained. -.. _`output` : ./output.html - All built-in transformers could be applied on any function, except constructors and pure virtual functions. The support for them be added in future releases. Modified: pyplusplus_dev/docs/documentation/how_to/best_practices.rest =================================================================== --- pyplusplus_dev/docs/documentation/how_to/best_practices.rest 2009-02-02 22:06:53 UTC (rev 1654) +++ pyplusplus_dev/docs/documentation/how_to/best_practices.rest 2009-02-03 19:30:36 UTC (rev 1655) @@ -19,10 +19,8 @@ First of all, let me to define "big project". "Big project" is a project with few hundred of header files. :doc:`Py++ <../../pyplusplus>` was born to create `Python`_ bindings -for such projects. If you take a look `here`__ you will find few such projects. +for such projects. If you take a look :doc:`here <../../quotes>` you will find few such projects. -.. __ : ./../../quotes.html - Tips ---- @@ -35,7 +33,8 @@ `GCC-XML`_ processing time from multiple hours with gigabytes of caches to a couple minutes with a reasonable cache size. - You can read more about different caches supported by :doc:`pygccxml <../../../pygccxml/pygccxml>` `here`__. + You can read more about different caches supported by :doc:`pygccxml <../../../pygccxml/pygccxml>` + :doc:`here <../../../pygccxml/design>`. ``module_builder_t.__init__`` method takes reference to an instance of cache class or ``None``: @@ -107,7 +106,6 @@ mb = module_builder( [ os.path.abspath('date_time/date_time.hpp') ], ... ) .. _`this error` : http://boost.org/libs/python/doc/v2/faq.html#c1204 -.. __ : ./../../../pygccxml/design.html * Keep the declaration tree small. Modified: pyplusplus_dev/docs/documentation/how_to/exception_translation.rest =================================================================== --- pyplusplus_dev/docs/documentation/how_to/exception_translation.rest 2009-02-02 22:06:53 UTC (rev 1654) +++ pyplusplus_dev/docs/documentation/how_to/exception_translation.rest 2009-02-03 19:30:36 UTC (rev 1655) @@ -9,12 +9,10 @@ Boost.Python provides functionality to translate any C++ exception to a Python one. :doc:`Py++ <../../pyplusplus>` provides a convenient API to do this. -By the way, be sure to take a look on "`troubleshooting guide - exceptions`_". +By the way, be sure to take a look on ":doc:`troubleshooting guide - exceptions <../../troubleshooting_guide/exceptions/exceptions>`". The guide will introduces a complete solution for handling exceptions within Python scripts. -.. _`troubleshooting guide - exceptions` : ./../../troubleshooting_guide/exceptions/exceptions.html - -------- Solution -------- Modified: pyplusplus_dev/docs/documentation/how_to/fatal_error_c1204.rest =================================================================== --- pyplusplus_dev/docs/documentation/how_to/fatal_error_c1204.rest 2009-02-02 22:06:53 UTC (rev 1654) +++ pyplusplus_dev/docs/documentation/how_to/fatal_error_c1204.rest 2009-02-03 19:30:36 UTC (rev 1655) @@ -15,11 +15,9 @@ could not be compiled, because of the error, you can ask :doc:`Py++ <../../pyplusplus>` to split the code generated for class to be split to few source files. -For more information, considre to read the `splitting generated code to files`_ +For more information, considre to read the :doc:`splitting generated code to files <../split_module>` document. -.. _`splitting generated code to files` : ./../split_module.html - .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/how_to/file_name_too_long.rest =================================================================== --- pyplusplus_dev/docs/documentation/how_to/file_name_too_long.rest 2009-02-02 22:06:53 UTC (rev 1654) +++ pyplusplus_dev/docs/documentation/how_to/file_name_too_long.rest 2009-02-03 19:30:36 UTC (rev 1655) @@ -38,9 +38,8 @@ holder.rename( 'IntHolder' ) Another solution to the problem, is to use different strategy to split the generated -code to files. You can read more about splitting files `here`_. +code to files. You can read more about splitting files :doc:`here <../split_module>`. -.. _`here` : ./../split_module.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/tutorials/module_builder/module_builder.rest =================================================================== --- pyplusplus_dev/docs/documentation/tutorials/module_builder/module_builder.rest 2009-02-02 22:06:53 UTC (rev 1654) +++ pyplusplus_dev/docs/documentation/tutorials/module_builder/module_builder.rest 2009-02-03 19:30:36 UTC (rev 1655) @@ -16,15 +16,12 @@ please take a look on two files: -* `hello_world.hpp`_ - C++ source code, that we want to export to Python +* :doc:`hello_world.hpp <hello_world.hpp>` - C++ source code, that we want to export to Python -* `generate_code.py`_ - Python code, that uses :doc:`Py++ <../../../pyplusplus>` to export +* :doc:`generate_code.py <generate_code.py>` - Python code, that uses :doc:`Py++ <../../../pyplusplus>` to export declarations from the source file -.. _`hello_world.hpp` : ./hello_world.hpp.html -.. _`generate_code.py` : ./generate_code.py.html - ---------------- module_builder_t ---------------- Modified: pyplusplus_dev/docs/documentation/tutorials/tutorials.rest =================================================================== --- pyplusplus_dev/docs/documentation/tutorials/tutorials.rest 2009-02-02 22:06:53 UTC (rev 1654) +++ pyplusplus_dev/docs/documentation/tutorials/tutorials.rest 2009-02-03 19:30:36 UTC (rev 1655) @@ -16,11 +16,11 @@ ------------------- Graphical interface ------------------- -:doc:`Py++ <../../pyplusplus>` includes a `graphical interface`_. `Graphical interface`_ is invoked +:doc:`Py++ <../../pyplusplus>` includes a :doc:`graphical interface <pyplusplus_gui>`. :doc:`Graphical interface <pyplusplus_gui>` is invoked with the ``pyplusplus_gui`` command, or with ``pyplusplus_gui.pyw`` from the ``scripts`` subdirectory, of the `Python`_ installation directory. -My advise to you - start with `graphical interface`_, because: +My advise to you - start with :doc:`graphical interface <pyplusplus_gui>`, because: * you don't have to learn new API @@ -34,18 +34,13 @@ * it is able to generate :doc:`Py++ <../../pyplusplus>` code for you -.. _`graphical interface` : ./pyplusplus_gui.html -.. _`Graphical interface` : ./pyplusplus_gui.html - --------------- Getting started --------------- -I suppose you decided to do some coding with :doc:`Py++ <../../pyplusplus>`. `Module builder`_ -tutorials will help you. +I suppose you decided to do some coding with :doc:`Py++ <../../pyplusplus>`. +:doc:`Module builder <module_builder/module_builder>` tutorials will help you. -.. _`Module builder` : ./module_builder/module_builder.html - -------- Advanced -------- Modified: pyplusplus_dev/docs/examples/examples.rest =================================================================== --- pyplusplus_dev/docs/examples/examples.rest 2009-02-02 22:06:53 UTC (rev 1654) +++ pyplusplus_dev/docs/examples/examples.rest 2009-02-03 19:30:36 UTC (rev 1655) @@ -30,12 +30,10 @@ This is not "just another example". I went father and created new package: `pyboost`_. This is fully working Python package, with almost all unit test from -the libraries ported to Python. For more information please read `pyboost`_ +the libraries ported to Python. For more information please read :doc:`pyboost <boost/boost>` package documentation. -.. _`pyboost` : ./boost/boost.html - .. toctree:: boost/boost.rest Modified: pyplusplus_dev/docs/history/history.rest =================================================================== --- pyplusplus_dev/docs/history/history.rest 2009-02-02 22:06:53 UTC (rev 1654) +++ pyplusplus_dev/docs/history/history.rest 2009-02-03 19:30:36 UTC (rev 1655) @@ -150,14 +150,10 @@ for reporting them. 3. New and highly experimental feature was introduced - - `Boost.Python and ctypes integration`_. + :doc:`Boost.Python and ctypes integration <../documentation/ctypes/ctypes_integration>`. -.. _`Boost.Python and ctypes integration` : ../documentation/ctypes/ctypes_integration.html +4. Support for :doc:`boost::python::make_constructor <../documentation/functions/make_constructor>` functionality was added. -4. Support for `boost::python::make_constructor`_ functionality was added. - -.. _`boost::python::make_constructor` : ../documentation/functions/make_constructor.html - 5. Support for unions and unnamed classes was added. 6. Doxygen documentation extractor was improved. Many thanks to Hernán Ordiales. @@ -189,29 +185,23 @@ of ``std::vector< int, std::allocator< int > >``, in many cases :doc:`Py++ <../pyplusplus>` will generate ``std::vector< int >``. -5. `create_with_signature`_ algorithm was improved. :doc:`Py++ <../pyplusplus>` will generate correct - code in one more use case. +5. :doc:`create_with_signature <../documentation/functions/overloading>` algorithm was improved. + :doc:`Py++ <../pyplusplus>` will generate correct code in one more use case. -.. _`create_with_signature` : ../documentation/functions/overloading.html - 6. Added ability to exclude declarations from being exposed, if they will cause compilation to fail. 7. Starting from this version, :doc:`Py++ <../pyplusplus>` provides a complete solution for - `multi-module development`_. + :doc:`multi-module development <../documentation/multi_module_development>`. -.. _`multi-module development` : ../documentation/multi_module_development.html - 8. Classes, which expose C arrays will be registered only once. 9. Starting from this version, :doc:`Py++ <../pyplusplus>` supports a code generation with different encodings. 10. There is a new strategy to split code into files. It is IDE friendly. Be sure - to read `the updated documentation`_. + to read :doc:`the updated documentation <../documentation/split_module>`. -.. _`the updated documentation` : ../documentation/split_module.html - ------------- Version 0.9.0 ------------- @@ -222,16 +212,12 @@ an empty throw was fixed. Now the exception specification is generated properly. Many thanks to Martin Preisler for reporting the bug. -.. line-separator - 2. Added exposing of copy constructor, ``operator=`` and ``operator<<``. * ``operator=`` is exposed under "assign" name * ``operator<<`` is exposed under "__str__" name -.. line-separator - 3. Added new call policies: * :doc:`as_tuple <../documentation/functions/call_policies/as_tuple>` This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2009-02-02 23:22:09
|
Revision: 1654 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1654&view=rev Author: roman_yakovenko Date: 2009-02-02 22:06:53 +0000 (Mon, 02 Feb 2009) Log Message: ----------- sphinx Modified Paths: -------------- pydsc_dev/docs/pydsc.rest pygccxml_dev/docs/pygccxml.rest pygccxml_dev/docs/upgrade_issues.rest pyplusplus_dev/docs/comparisons/compare_to.rest pyplusplus_dev/docs/comparisons/pyste.rest pyplusplus_dev/docs/documentation/ctypes/ctypes_integration.rest pyplusplus_dev/docs/documentation/functions/call_policies/call_policies.rest pyplusplus_dev/docs/documentation/functions/call_policies/return_range.rest pyplusplus_dev/docs/documentation/functions/overloading.rest pyplusplus_dev/docs/documentation/index.rest pyplusplus_dev/docs/examples/examples.rest pyplusplus_dev/docs/history/history.rest pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/automatic_conversion.rest pyplusplus_dev/docs/troubleshooting_guide/exceptions/exceptions.rest pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/shared_ptr.rest pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptrs.rest Modified: pydsc_dev/docs/pydsc.rest =================================================================== --- pydsc_dev/docs/pydsc.rest 2009-02-02 21:09:57 UTC (rev 1653) +++ pydsc_dev/docs/pydsc.rest 2009-02-02 22:06:53 UTC (rev 1654) @@ -24,7 +24,7 @@ What it is useful for? ---------------------- -The `pydsc`_ module checks documentation strings and comments for spelling errors. +The :mod:`pydsc <pydsc>` module checks documentation strings and comments for spelling errors. Usage example ------------- @@ -76,5 +76,4 @@ python setup.py install -.. _`pydsc`: ./pydsc.html .. _`PyEnchant`: http://pyenchant.sourceforge.net/ Modified: pygccxml_dev/docs/pygccxml.rest =================================================================== --- pygccxml_dev/docs/pygccxml.rest 2009-02-02 21:09:57 UTC (rev 1653) +++ pygccxml_dev/docs/pygccxml.rest 2009-02-02 22:06:53 UTC (rev 1654) @@ -56,15 +56,13 @@ ``None`` means "any type". In my opinion, the code is prety clear and readable. -If you want to know more about provided API read `query interface`__ document or -API documentation. +If you want to know more about provided API read :doc:`query interface <query_interface>` +document or :doc:`API documentation <apidocs/api>` -.. __: ./query_interface.html - Type traits ----------- :doc:`pygccxml <pygccxml>` provides a lot of functionality to analyze C++ types and relationship -between them. For more information please refer to `design`__ document or API +between them. For more information please refer to :doc:`design <design>` document or API documentation. Just a few names of algorithms: * ``is_convertible( from, to )`` @@ -76,9 +74,7 @@ returns ``True`` if ``oper`` describes unary operator -.. __: ./design.html - Declaration dependencies ------------------------ You can query a declaration, about it dependencies - declarations it depends on. Modified: pygccxml_dev/docs/upgrade_issues.rest =================================================================== --- pygccxml_dev/docs/upgrade_issues.rest 2009-02-02 21:09:57 UTC (rev 1653) +++ pygccxml_dev/docs/upgrade_issues.rest 2009-02-02 22:06:53 UTC (rev 1654) @@ -20,12 +20,9 @@ an implicit ones. If you rely heavily on their existence in the generated XML, I suggest you to switch -to `type_traits.has_trivial_constructor`_/`type_traits.has_trivial_copy`_ functions. +to :func:`has_trivial_constructor <pygccxml.declarations.type_traits.has_trivial_constructor>` +and to :func:`has_trivial_copy <pygccxml.declarations.type_traits.has_copy_constructor>` functions. -.. _`type_traits.has_trivial_constructor` : ./apidocs/pygccxml.declarations.type_traits-pysrc.html#has_trivial_constructor -.. _`type_traits.has_trivial_copy` : ./apidocs/pygccxml.declarations.type_traits-pysrc.html#has_trivial_copy - - -------------------------- Pointer to member variable -------------------------- Modified: pyplusplus_dev/docs/comparisons/compare_to.rest =================================================================== --- pyplusplus_dev/docs/comparisons/compare_to.rest 2009-02-02 21:09:57 UTC (rev 1653) +++ pyplusplus_dev/docs/comparisons/compare_to.rest 2009-02-02 22:06:53 UTC (rev 1654) @@ -8,10 +8,8 @@ `Pyste`_ is the Boost.Python code generator, which is not under active development any more. Nevertheless, users request to compare :doc:`Py++ <../pyplusplus>` and `Pyste`_. You -can read `here`_ the comparison. +can read :doc:`here <pyste>` the comparison. -.. _`here` : ./pyste.html - ---------- SWIG & SIP ---------- Modified: pyplusplus_dev/docs/comparisons/pyste.rest =================================================================== --- pyplusplus_dev/docs/comparisons/pyste.rest 2009-02-02 21:09:57 UTC (rev 1653) +++ pyplusplus_dev/docs/comparisons/pyste.rest 2009-02-02 22:06:53 UTC (rev 1654) @@ -103,7 +103,7 @@ 1. GUI - small and simple graphic user interface, which does not request from user any knowledge about `Boost.Python`_ or :doc:`Py++ <../pyplusplus>`. You can see - its `screenshot`_. + its :doc:`screenshot <../documentation/tutorials/pyplusplus_gui>`. 2. API - object-oriented framework, that helps you to create code generator, that suites your needs. :doc:`Py++ <../pyplusplus>` framework consists 3 packages: @@ -422,7 +422,6 @@ thought about them, long before I created :doc:`Py++ <../pyplusplus>`. But unfortunately, lack of time and motivation prevents him to work on `Pyste`_. -.. _`screenshot` : ./../documentation/tutorials/pyplusplus_gui.html .. _`Pyste`: http://www.boost.org/libs/python/doc/index.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`SourceForge`: http://sourceforge.net/index.php Modified: pyplusplus_dev/docs/documentation/ctypes/ctypes_integration.rest =================================================================== --- pyplusplus_dev/docs/documentation/ctypes/ctypes_integration.rest 2009-02-02 21:09:57 UTC (rev 1653) +++ pyplusplus_dev/docs/documentation/ctypes/ctypes_integration.rest 2009-02-02 22:06:53 UTC (rev 1654) @@ -67,7 +67,7 @@ * expose variable, which has a union type -* return address of return value as integer - `new call policy was created`_ +* return address of return value as integer - :doc:`new call policy was created <../../documentation/functions/call_policies/return_addressof>` --------------------------- ctypes integration contents @@ -90,7 +90,6 @@ * to add ability to expose "C" functions without using `Boost.Python`_. -.. _`new call policy was created` : ./../../documentation/functions/call_policies/return_addressof.html .. _`ctypes` : http://docs.python.org/lib/module-ctypes.html .. _`from_address` : http://docs.python.org/lib/ctypes-data-types.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html Modified: pyplusplus_dev/docs/documentation/functions/call_policies/call_policies.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/call_policies/call_policies.rest 2009-02-02 21:09:57 UTC (rev 1653) +++ pyplusplus_dev/docs/documentation/functions/call_policies/call_policies.rest 2009-02-02 22:06:53 UTC (rev 1654) @@ -196,12 +196,9 @@ return_range.rest custom_call_policies.rest -.. _`new indexing suite` : ./../../containers.html -.. _`this file` : http://pygccxml.svn.sourceforge.net/viewvc/pygccxml/pyplusplus_dev/pyplusplus/code_repository/call_policies.py?view=markup .. _`ResultConverterGenerator` : http://boost.org/libs/python/doc/v2/ResultConverter.html#ResultConverterGenerator-concept .. _`CallPolicies` : http://www.boost.org/libs/python/doc/v2/CallPolicies.html#CallPolicies-concept - .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/functions/call_policies/return_range.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/call_policies/return_range.rest 2009-02-02 21:09:57 UTC (rev 1653) +++ pyplusplus_dev/docs/documentation/functions/call_policies/return_range.rest 2009-02-02 22:06:53 UTC (rev 1654) @@ -215,15 +215,10 @@ Dependencies ~~~~~~~~~~~~ -The new call policy depends on `new indexing suite`_ and :doc:`Py++ <../../../pyplusplus>` :-). But if you -want you can extract the relevant piece of code from `this file`_. +The new call policy depends on :doc:`new indexing suite <../../containers>` and :doc:`Py++ <../../../pyplusplus>` :-). -.. _`new indexing suite` : ./../../containers.html -.. _`this file` : http://pygccxml.svn.sourceforge.net/viewvc/pygccxml/pyplusplus_dev/pyplusplus/code_repository/call_policies.py?view=markup - .. _`ResultConverterGenerator` : http://boost.org/libs/python/doc/v2/ResultConverter.html#ResultConverterGenerator-concept .. _`CallPolicies` : http://www.boost.org/libs/python/doc/v2/CallPolicies.html#CallPolicies-concept - .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/functions/overloading.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/overloading.rest 2009-02-02 21:09:57 UTC (rev 1653) +++ pyplusplus_dev/docs/documentation/functions/overloading.rest 2009-02-02 22:06:53 UTC (rev 1654) @@ -160,11 +160,8 @@ The default value of the property is ``False``. You don't really have to use the macros, unless you have "registration order" -problem. The problem and work around described in `default arguments`_ document. +problem. The problem and work around described in :doc:`default arguments <default_args>` document. -.. _`default arguments` : ./default_args.html - - .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/index.rest =================================================================== --- pyplusplus_dev/docs/documentation/index.rest 2009-02-02 21:09:57 UTC (rev 1653) +++ pyplusplus_dev/docs/documentation/index.rest 2009-02-02 22:06:53 UTC (rev 1654) @@ -44,63 +44,6 @@ functions/functions.rest how_to/how_to.rest -* `STL containers`_ - describes various methods to expose STL containers to `Python`_ - -.. _`STL containers` : ./containers.html - -* `architecture`_ - describes the architecture behind :doc:`Py++ <../pyplusplus>` - -.. _`architecture` : ./architecture.html - -* `documentation string`_ - explains how to automatically extract a documentation - from the source files and put it as Python documentation string - -.. _`documentation string` : ./doc_string.html - -* `functions & operators`_ - contains a complete guide to exposing functions and - operators, including "call policies" and description of different caveats - -.. _`functions & operators` : ./functions/functions.html - -* `how to ... ?`_ - contains answers for different FAQs and my suggestions about - better :doc:`Py++ <../pyplusplus>` usage. - -.. _`how to ... ?` : ./how_to/how_to.html - -* `inserting code`_ - a complete guide for insert your code into the generated one - -.. _`inserting code` : ./inserting_code.html - -* `multi-module development`_ - describes how expose hierarchy of classes, which - is spread few different libraries - -.. _`multi-module development`: ./multi_module_development.html - -* `properties`_ - describes how to create class properties using :doc:`Py++ <../pyplusplus>` and - built-in algorithm for automatic properties recognition - -.. _`properties`: ./properties.html - -* `splitting generated code to files`_ - :doc:`Py++ <../pyplusplus>` provides 4 different strategies - for splitting the generated code into files. Take a look on this document, - it will save you the time. - -.. _`splitting generated code to files` : ./split_module.html - -* `tutorials`_ - don't know where to start? Start here. Small and simple example - will help you to start with :doc:`Py++ <../pyplusplus>`. If you want to evaluate :doc:`Py++ <../pyplusplus>` you will - find here small and handy GUI program. - -.. _`tutorials` : ./tutorials/tutorials.html - -* `warnings`_ - :doc:`Py++ <../pyplusplus>` could be used as some kind of validator. It checks the - exposed declarations and reports the potential errors. Thus you are able to - create high quality Python bindings from the beginning. This document also - describes how to suppress the errors\\warnings. - -.. _`warnings` : ./warnings.html - - .. _`epydoc` : http://epydoc.sourceforge.net/ .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org Modified: pyplusplus_dev/docs/examples/examples.rest =================================================================== --- pyplusplus_dev/docs/examples/examples.rest 2009-02-02 21:09:57 UTC (rev 1653) +++ pyplusplus_dev/docs/examples/examples.rest 2009-02-02 22:06:53 UTC (rev 1654) @@ -5,23 +5,17 @@ Graphical interface ------------------- +:doc:`Py++ <../pyplusplus>` has nice, small and simple :doc:`graphical interface <../documentation/tutorials/pyplusplus_gui>`. +Consider to read :doc:`tutorials <../documentation/tutorials/tutorials>` for more information. -:doc:`Py++ <../pyplusplus>` has nice, small and simple `graphical interface`_. Please, read -`tutorials`_ for more information. - -.. _`graphical interface` : ./../documentation/tutorials/pyplusplus_gui.html -.. _`tutorials` : ./../documentation/tutorials/tutorials.html - --------- pyeasybmp --------- -`EasyBMP`_ is a small cross-platform library that provide you functionality +:doc:`EasyBMP <easybmp/easybmp>` is a small cross-platform library that provide you functionality needed to work with Windows bitmap (BMP) image files. I took me only few minutes -to create Python bindings for the library. Read more `here`__. +to create Python bindings for the library. Read more :doc:`here <easybmp/easybmp>`. -.. __ : ./easybmp/easybmp.html - --------------- boost libraries --------------- @@ -51,8 +45,5 @@ .. _`boost.crc` : http://boost.org/libs/crc/index.html .. _`boost.rational` : http://boost.org/libs/rational/index.html .. _`boost.random` : http://boost.org/libs/random/index.html - -.. _`GUI`: ./../tutorials/pyplusplus_demo.png .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html -.. _`EasyBMP`: http://easybmp.sourceforge.net/ Modified: pyplusplus_dev/docs/history/history.rest =================================================================== --- pyplusplus_dev/docs/history/history.rest 2009-02-02 21:09:57 UTC (rev 1653) +++ pyplusplus_dev/docs/history/history.rest 2009-02-02 22:06:53 UTC (rev 1654) @@ -234,29 +234,21 @@ 3. Added new call policies: - * `as_tuple`_ + * :doc:`as_tuple <../documentation/functions/call_policies/as_tuple>` - * `custom_call_policies`_ + * :doc:`custom_call_policies <../documentation/functions/call_policies/return_range>` - * `return_range`_ + * :doc:`return_range <../documentation/functions/call_policies/return_range>` -.. _`as_tuple` : ../documentation/functions/call_policies/as_tuple.html -.. _`return_range`: ../documentation/functions/call_policies/return_range.html -.. _`custom_call_policies` : ../documentation/functions/call_policies/custom_call_policies.html - 4. Added an initial support for multi-module development. Now you can mark your declarations as ``already_exposed`` and :doc:`Py++ <../pyplusplus>` will do the rest. For more - information read `multi-module development guide`_. + information read :doc:`multi-module development guide <../documentation/multi_module_development>`. -.. _`multi-module development guide` : ../documentation/multi_module_development.html - .. line-separator -5. `input_c_buffer`_ - new functions transformation, which allows to pass a Python - sequence to function, instead of pair of arguments: pointer to buffer and size. +5. :doc:`input_c_buffer <../documentation/functions/transformation/input_c_buffer>` - new functions + transformation, which allows to pass a Python sequence to function, instead of pair of arguments: pointer to buffer and size. -.. _`input_c_buffer` : ../documentation/functions/transformation/input_c_buffer.html - 6. Added ability to control generated "include" directives. Now you can ask :doc:`Py++ <../pyplusplus>` to include a header file, when it generates code for some declaration. For more information refers to `inserting code guide`_. @@ -267,22 +259,16 @@ will be included from the generated files only in case the generated code depends on them. -.. line-separator - 8. Performance improvements: Py++ runs 1.5 - 2 times faster, than the previous one. -.. line-separator - 9. Added ability to add code before overridden and default function calls. For more information refer to `member function API documentation`_. .. _`member function API documentation` : ../documentation/apidocs/pyplusplus.decl_wrappers.calldef_wrapper.member_function_t-class.html 10. :doc:`Py++ <../pyplusplus>` will generate documentation for automatically constructed properties. - For more information refer to `properties guide`_ + For more information refer to :doc:`properties guide <../documentation/properties>`. -.. _`properties guide`: ../documentation/properties.html#documentation - 11. Added iteration functionality to Boost.Python Indexing Suite V2 ``std::map`` and ``std::multimap`` containers. @@ -290,24 +276,17 @@ Version 0.8.5 ------------- -1. Added `Function Transformation`_ feature. +1. Added :doc:`Function Transformation <../documentation/functions/transformation/transformation>` feature. -.. _`Function transformation` : ../documentation/functions/transformation/transformation.html - 2. "Py++" introduces new functionality, which allows you to control messages and - warnings: `how to disable warnings?`_ . + warnings: :doc:`how to disable warnings? <../documentation/warnings>`. -.. _`how to disable warnings?` : ../documentation/warnings.html - 3. Added new algorithm, which controls the registration order of the functions. - See `registration order document`_ + See :doc:`registration order document <../documentation/functions/registration_order>` -.. _`registration order document` : ../documentation/functions/registration_order.html +4. New "Py++" defined :doc:`return_pointee_value <../documentation/functions/call_policies/return_pointee_value>` + call policy was introduced. -4. New "Py++" defined `return_pointee_value`_ call policy was introduced. - -.. _`return_pointee_value` : ../documentation/functions/call_policies/return_pointee_value.html - 5. Support for opaque types was added. Read more about this feature `here`__. .. __ : ../documentation/functions/call_policies/call_policies.html#special-case @@ -337,7 +316,7 @@ 2. Performance improvements. In some cases you can get x10 performance boost. Many thanks to Allen Bierbaum! Saving and reusing results of different - :doc:`pygccxml <../pygccxml>` algorithms and type traits functions achieved this. + :doc:`pygccxml <../../pygccxml/pygccxml>` algorithms and type traits functions achieved this. 3. Convenience API for registering exception translator was introduced. Modified: pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/automatic_conversion.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/automatic_conversion.rest 2009-02-02 21:09:57 UTC (rev 1653) +++ pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/automatic_conversion.rest 2009-02-02 22:06:53 UTC (rev 1654) @@ -38,6 +38,4 @@ Download -------- -`automatic_conversion.zip`_ - -.. _`automatic_conversion.zip` : ./automatic_conversion.zip +:download:`automatic_conversion.zip` Modified: pyplusplus_dev/docs/troubleshooting_guide/exceptions/exceptions.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/exceptions/exceptions.rest 2009-02-02 21:09:57 UTC (rev 1653) +++ pyplusplus_dev/docs/troubleshooting_guide/exceptions/exceptions.rest 2009-02-02 22:06:53 UTC (rev 1654) @@ -57,7 +57,5 @@ Download -------- -`exceptions.zip`_ +:download:`exceptions.zip` -.. _`exceptions.zip` : ./exceptions.zip - Modified: pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/shared_ptr.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/shared_ptr.rest 2009-02-02 21:09:57 UTC (rev 1653) +++ pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/shared_ptr.rest 2009-02-02 22:06:53 UTC (rev 1654) @@ -73,7 +73,5 @@ Download -------- -`shared_ptr.zip`_ +:download:`shared_ptr.zip` -.. _`shared_ptr.zip` : ./shared_ptr.zip - Modified: pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptrs.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptrs.rest 2009-02-02 21:09:57 UTC (rev 1653) +++ pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptrs.rest 2009-02-02 22:06:53 UTC (rev 1654) @@ -25,10 +25,7 @@ Download -------- -`smart_ptrs.zip`_ +:download:`smart_ptrs.zip` -.. _`smart_ptrs.zip` : ./smart_ptrs.zip - - .. _`SourceForge`: http://sourceforge.net/index.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2009-02-02 21:10:01
|
Revision: 1653 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1653&view=rev Author: roman_yakovenko Date: 2009-02-02 21:09:57 +0000 (Mon, 02 Feb 2009) Log Message: ----------- sphinx Modified Paths: -------------- pygccxml_dev/docs/pygccxml.rest pygccxml_dev/docs/query_interface.rest pyplusplus_dev/docs/comparisons/compare_to.rest pyplusplus_dev/docs/comparisons/pyste.rest pyplusplus_dev/docs/definition.irest pyplusplus_dev/docs/documentation/architecture.rest pyplusplus_dev/docs/documentation/containers.rest pyplusplus_dev/docs/documentation/ctypes/ctypes_integration.rest pyplusplus_dev/docs/documentation/ctypes/this_and_sizeof.rest pyplusplus_dev/docs/documentation/ctypes/unions.rest pyplusplus_dev/docs/documentation/ctypes/variables.rest pyplusplus_dev/docs/documentation/doc_string.rest pyplusplus_dev/docs/documentation/functions/call_policies/as_tuple.rest pyplusplus_dev/docs/documentation/functions/call_policies/call_policies.rest pyplusplus_dev/docs/documentation/functions/call_policies/custom_call_policies.rest pyplusplus_dev/docs/documentation/functions/call_policies/return_addressof.rest pyplusplus_dev/docs/documentation/functions/call_policies/return_pointee_value.rest pyplusplus_dev/docs/documentation/functions/call_policies/return_range.rest pyplusplus_dev/docs/documentation/functions/default_args.rest pyplusplus_dev/docs/documentation/functions/functions.rest pyplusplus_dev/docs/documentation/functions/make_constructor.rest pyplusplus_dev/docs/documentation/functions/overloading.rest pyplusplus_dev/docs/documentation/functions/registration_order.rest pyplusplus_dev/docs/documentation/functions/transformation/inout.rest pyplusplus_dev/docs/documentation/functions/transformation/input.rest pyplusplus_dev/docs/documentation/functions/transformation/input_c_buffer.rest pyplusplus_dev/docs/documentation/functions/transformation/input_static_array.rest pyplusplus_dev/docs/documentation/functions/transformation/modify_type.rest pyplusplus_dev/docs/documentation/functions/transformation/name_mangling.rest pyplusplus_dev/docs/documentation/functions/transformation/output.rest pyplusplus_dev/docs/documentation/functions/transformation/output_static_array.rest pyplusplus_dev/docs/documentation/functions/transformation/terminology.rest pyplusplus_dev/docs/documentation/functions/transformation/transfer_ownership.rest pyplusplus_dev/docs/documentation/functions/transformation/transformation.rest pyplusplus_dev/docs/documentation/how_to/absolute_relative_paths.rest pyplusplus_dev/docs/documentation/how_to/best_practices.rest pyplusplus_dev/docs/documentation/how_to/exception_translation.rest pyplusplus_dev/docs/documentation/how_to/fatal_error_c1204.rest pyplusplus_dev/docs/documentation/how_to/file_name_too_long.rest pyplusplus_dev/docs/documentation/how_to/hints.rest pyplusplus_dev/docs/documentation/how_to/templates.rest pyplusplus_dev/docs/documentation/index.rest pyplusplus_dev/docs/documentation/inserting_code.rest pyplusplus_dev/docs/documentation/multi_module_development.rest pyplusplus_dev/docs/documentation/properties.rest pyplusplus_dev/docs/documentation/split_module.rest pyplusplus_dev/docs/documentation/tutorials/module_builder/module_builder.rest pyplusplus_dev/docs/documentation/tutorials/tutorials.rest pyplusplus_dev/docs/documentation/warnings.rest pyplusplus_dev/docs/download.rest pyplusplus_dev/docs/examples/boost/boost.rest pyplusplus_dev/docs/examples/easybmp/easybmp.rest pyplusplus_dev/docs/examples/examples.rest pyplusplus_dev/docs/history/history.rest pyplusplus_dev/docs/links.rest pyplusplus_dev/docs/peps/dsl_challenge.rest pyplusplus_dev/docs/peps/dsl_challenge_introduction.irest pyplusplus_dev/docs/peps/peps_index.rest pyplusplus_dev/docs/pyplusplus.rest pyplusplus_dev/docs/quotes.rest pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptrs.rest Modified: pygccxml_dev/docs/pygccxml.rest =================================================================== --- pygccxml_dev/docs/pygccxml.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pygccxml_dev/docs/pygccxml.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -22,7 +22,7 @@ * parse C++ source code * create a powerful code generator - + `Py++`_ is heavily based on :doc:`pygccxml <pygccxml>` + + :doc:`Py++ <../pyplusplus/pyplusplus>` is heavily based on :doc:`pygccxml <pygccxml>` + generate `WSDL`_ file from sources + ... @@ -82,7 +82,7 @@ Declaration dependencies ------------------------ You can query a declaration, about it dependencies - declarations it depends on. -This is very powerful and useful feature. `Py++`_, for example, uses this +This is very powerful and useful feature. :doc:`Py++ <../pyplusplus/pyplusplus>`, for example, uses this functionality to check that user creates Python bindings for all relevant declarations. @@ -133,8 +133,6 @@ apidocs/api.rest .. _`WSDL`: http://www.w3.org/TR/wsdl -.. _`Py++`: ./../pyplusplus/pyplusplus.html - .. _`SourceForge`: http://sourceforge.net/index.php .. _`Docutils`: http://docutils.sourceforge.net .. _`Python`: http://www.python.org Modified: pygccxml_dev/docs/query_interface.rest =================================================================== --- pygccxml_dev/docs/query_interface.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pygccxml_dev/docs/query_interface.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -184,7 +184,7 @@ Return value of ``member_functions`` is not Python list or set, but instance of ``mdecl_wrapper_t`` class. This class allows you to work on all selected -objects at once. I will give an example from another project - `Py++`_. +objects at once. I will give an example from another project - :doc:`Py++ <../pyplusplus/pyplusplus>`. In order to help `Boost.Python`_ to manage objects life time, all functions should have `call policies`_. For example: @@ -213,7 +213,7 @@ clone.call_policies = return_value_policy( manage_new_object ) -Another example, from `Py++`_ project. Sometimes it is desirable to +Another example, from :doc:`Py++ <../pyplusplus/pyplusplus>` project. Sometimes it is desirable to exclude declaration, from being exported to Python. The following code will exclude ``clone`` member function from being exported: @@ -286,7 +286,6 @@ .. _`call policies`: http://boost.org/libs/python/doc/tutorial/doc/html/python/functions.html#python.call_policies .. _`Call policies`: http://boost.org/libs/python/doc/tutorial/doc/html/python/functions.html#python.call_policies -.. _`Py++`: ./../pyplusplus/pyplusplus.html .. _`SourceForge`: http://sourceforge.net/index.php .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/comparisons/compare_to.rest =================================================================== --- pyplusplus_dev/docs/comparisons/compare_to.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/comparisons/compare_to.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -7,7 +7,7 @@ ----- `Pyste`_ is the Boost.Python code generator, which is not under active development -any more. Nevertheless, users request to compare `Py++`_ and `Pyste`_. You +any more. Nevertheless, users request to compare :doc:`Py++ <../pyplusplus>` and `Pyste`_. You can read `here`_ the comparison. .. _`here` : ./pyste.html @@ -16,7 +16,7 @@ SWIG & SIP ---------- -The document, that compares SIP, SWIG and `Py++`_ is under construction. +The document, that compares SIP, SWIG and :doc:`Py++ <../pyplusplus>` is under construction. May be you are editing it right now, by evaluating these tools :-). I did not use SWIG and SIP, so I cannot provide you with fair comparison. I will let the open source project(s) "to talk": @@ -24,7 +24,7 @@ * `Python-OGRE`_: The impression of Lakin Wecker, after spending 30 hours working working with - `Py++`_: http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=1478&sid=4d77585146aabbc54f4b31ec50874d86 + :doc:`Py++ <../pyplusplus>`: http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=1478&sid=4d77585146aabbc54f4b31ec50874d86 `Python-OGRE`_ project is reached the state, when it has all functionality provided by similar one - `PyOgre`_. `PyOgre`_ is developed using SWIG. @@ -67,5 +67,4 @@ pyste.rest -.. _`Py++` : ./../pyplusplus.html .. _`Pyste`: http://www.boost.org/libs/python/doc/index.html Modified: pyplusplus_dev/docs/comparisons/pyste.rest =================================================================== --- pyplusplus_dev/docs/comparisons/pyste.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/comparisons/pyste.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -3,14 +3,14 @@ ======================== ---------------------- -What is `Py++`_? +What is Py++? ---------------------- .. include:: ../definition.irest ------------------ -What is `Pyste`_? ------------------ +-------------- +What is Pyste? +-------------- `Pyste`_ is a `Boost.Python`_ code generator. The user specifies the classes and functions to be exported using a simple interface file, which following the @@ -23,7 +23,7 @@ -------- If you are reading this document, I can assume that you know what `Boost.Python`_, -`Pyste`_ and `Py++`_ are. This document compares `Pyste`_ and `Py++`_. +`Pyste`_ and :doc:`Py++ <../pyplusplus>` are. This document compares `Pyste`_ and :doc:`Py++ <../pyplusplus>`. I am going to compare: * user interface @@ -53,7 +53,7 @@ I tried to fix `Pyste`_. At first, I developed :doc:`pygccxml <../../pygccxml/pygccxml>` and tried to replace relevant `Pyste`_ functionality. I did not like the result. After this, I dropped -the idea to fix `Pyste`_ and decided to develop new code generator - `Py++`_. +the idea to fix `Pyste`_ and decided to develop new code generator - :doc:`Py++ <../pyplusplus>`. Later you will find few points, which explains, why I decided not to fix `Pyste`_. Have a nice reading. @@ -99,14 +99,14 @@ Py++ ---- -`Py++`_ has 2 user interfaces: +:doc:`Py++ <../pyplusplus>` has 2 user interfaces: 1. GUI - small and simple graphic user interface, which does not request from - user any knowledge about `Boost.Python`_ or `Py++`_. You can see + user any knowledge about `Boost.Python`_ or :doc:`Py++ <../pyplusplus>`. You can see its `screenshot`_. 2. API - object-oriented framework, that helps you to create code generator, - that suites your needs. `Py++`_ framework consists 3 packages: + that suites your needs. :doc:`Py++ <../pyplusplus>` framework consists 3 packages: 1. Code creators package. The only responsibility of classes in this package is to create code. Those classes do not care where code is @@ -119,7 +119,7 @@ 3. File writers package. This package contains classes that write generated code to file(s). -The good news: it is very easy to evaluate `Py++`_, using GUI. The bad +The good news: it is very easy to evaluate :doc:`Py++ <../pyplusplus>`, using GUI. The bad news is that you should learn an other set of API's in order to complete your task. It is not as awful as it sounds, but still there is some learning curve. @@ -155,7 +155,7 @@ One of the biggest weaknesses of `Pyste`_ is a lack of good `GCC-XML`_ front-end and this fact cause `Pyste`_ to generate not optimal code. I will prove this -later. In order to avoid such weakness, before I have created `Py++`_, +later. In order to avoid such weakness, before I have created :doc:`Py++ <../pyplusplus>`, I created :doc:`pygccxml <../../pygccxml/pygccxml>`. :doc:`pygccxml <../../pygccxml/pygccxml>` is a stand-alone project, which provides few things: @@ -170,14 +170,14 @@ + every file will be parsed alone, after this, duplicated declarations and types will be removed -:doc:`pygccxml <../../pygccxml/pygccxml>` contributes in few ways to `Py++`_: +:doc:`pygccxml <../../pygccxml/pygccxml>` contributes in few ways to :doc:`Py++ <../pyplusplus>`: - + `Py++`_ has nothing to do with code parsing. Theoretically + + :doc:`Py++ <../pyplusplus>` has nothing to do with code parsing. Theoretically an other back-end could be added to :doc:`pygccxml <../../pygccxml/pygccxml>` without changing even one - line of code within `Py++`_. + line of code within :doc:`Py++ <../pyplusplus>`. + :doc:`pygccxml <../../pygccxml/pygccxml>` has type traits. A lot of type traits algorithms from - `boost.type_traits`_ library has been implemented. `Py++`_ makes + `boost.type_traits`_ library has been implemented. :doc:`Py++ <../pyplusplus>` makes an extensive use of them: * identify "call policies" algorithm @@ -235,7 +235,7 @@ what is going on, in "ClassExporter.py" file. Class *ClassExporter* knows everything about internal exporters, more over *ClassExporter* is responsible to export all its base classes before it exports itself. This is just wrong. -`Py++`_ implements better solution. `Py++`_ has code creators class +:doc:`Py++ <../pyplusplus>` implements better solution. :doc:`Py++ <../pyplusplus>` has code creators class hierarchy and factory, that creates those code creators based on given declarations. The questions like: @@ -249,7 +249,7 @@ solved by the factory. The only thing that left to code creators is to create code. By the way, it is not an easy task to fix this specific problem in `Pyste`_. -Serious re-factoring should be done. `Py++`_ defines *compound_t* code +Serious re-factoring should be done. :doc:`Py++ <../pyplusplus>` defines *compound_t* code creator. *module_t*, *module_body_t*, *class_t* - are typical examples of compound code creators. They do know few code creators, but that is all. @@ -260,7 +260,7 @@ protocol and may be to modify code unit. Try to add *Exporter* that exposes get\\set functions as property. It is not an easy task. An other problem, I see here, is that code unit is some kind of *Exporter*. Code unit also creates code. -I did not fill good with this design. So I decided, that in `Py++`_ code +I did not fill good with this design. So I decided, that in :doc:`Py++ <../pyplusplus>` code should be created only by code creators. This decision simplifies a lot of things: @@ -280,29 +280,29 @@ ------------ Dependencies ------------ -Both `Pyste`_ and `Py++`_ introduce one external dependency. In order to -parse XML `Pyste`_ uses `elementtree`_. On the other side `Py++`_ +Both `Pyste`_ and :doc:`Py++ <../pyplusplus>` introduce one external dependency. In order to +parse XML `Pyste`_ uses `elementtree`_. On the other side :doc:`Py++ <../pyplusplus>` depends on :doc:`pygccxml <../../pygccxml/pygccxml>` project. ------------- Features list ------------- -`Py++`_ supports almost all features `Pyste`_ implements. `Py++`_, +:doc:`Py++ <../pyplusplus>` supports almost all features `Pyste`_ implements. :doc:`Py++ <../pyplusplus>`, version 0.8.0, does not implements the following functionality, implemented by `Pyste`_: * *pow* operator * good documentation -Here you can find the complete features list of `Py++`_. +Here you can find the complete features list of :doc:`Py++ <../pyplusplus>`. -Features unique to `Py++`_: +Features unique to :doc:`Py++ <../pyplusplus>`: - * `Py++`_ exposes protected member functions + * :doc:`Py++ <../pyplusplus>` exposes protected member functions - * `Py++`_, in most cases, will automatically detect class held type + * :doc:`Py++ <../pyplusplus>`, in most cases, will automatically detect class held type - * `Py++`_ creates implicit conversion code for: + * :doc:`Py++ <../pyplusplus>` creates implicit conversion code for: + casting constructors @@ -316,13 +316,13 @@ * operators defined in base class could be redefined/exposed in derived class - * `Py++`_ exposes bit fields member variables + * :doc:`Py++ <../pyplusplus>` exposes bit fields member variables Nice features list ------------------ -Both `Pyste`_ and `Py++`_ generate working code. As we already saw in some -cases `Py++`_ do better job. `Py++`_ allows the following customization on +Both `Pyste`_ and :doc:`Py++ <../pyplusplus>` generate working code. As we already saw in some +cases :doc:`Py++ <../pyplusplus>` do better job. :doc:`Py++ <../pyplusplus>` allows the following customization on generated code: * To define std and user directories. *include_t* code creator will take @@ -335,7 +335,7 @@ namespace dt = boost::date_time; All code, which is generated after this statement, will use ``dt`` instead of - ``boost::date_time``. This allows `Py++`_ to create user-friendly code. + ``boost::date_time``. This allows :doc:`Py++ <../pyplusplus>` to create user-friendly code. * Classes and functions support 2 modes of code generation. Example: @@ -376,13 +376,13 @@ 2. If in future a developer decides to create overload to some function, this code will continue to compile. - * `Py++`_ has small nice future - "license". User can specify the + * :doc:`Py++ <../pyplusplus>` has small nice future - "license". User can specify the license and it will appear in every generated file. - * `Py++`_ allows user to define custom call policies resolver. See + * :doc:`Py++ <../pyplusplus>` allows user to define custom call policies resolver. See boost.date_time example - * `Py++`_ allows user to create custom code creators. See + * :doc:`Py++ <../pyplusplus>` allows user to create custom code creators. See "custom_code_creator" example. * real world examples: @@ -397,9 +397,9 @@ Conclusion ---------- -If I were you I would choose `Py++`_ to create bindings for your project. -For very small projects or for educational reasons you may use `Py++`_.GUI. -For big projects, you need flexibility and power of `Py++`_. +If I were you I would choose :doc:`Py++ <../pyplusplus>` to create bindings for your project. +For very small projects or for educational reasons you may use :doc:`Py++ <../pyplusplus>`.GUI. +For big projects, you need flexibility and power of :doc:`Py++ <../pyplusplus>`. ---- P.S. @@ -408,22 +408,21 @@ This comparison was a little unfair. First of all `Pyste`_ is no more under active development\\support. Second, `Pyste`_ has been written 2 years ago and had different goal. The following definitions will help you to understand the main -difference between `Pyste`_ and `Py++`_. +difference between `Pyste`_ and :doc:`Py++ <../pyplusplus>`. `Pyste`_ `Pyste`_ is `Boost.Python`_ code generator. - `Py++`_ + :doc:`Py++ <../pyplusplus>` .. include:: ../definition.irest -`Pyste`_ and `Py++`_ have been created to handle different tasks, hence +`Pyste`_ and :doc:`Py++ <../pyplusplus>` have been created to handle different tasks, hence the difference in design, user interface and complexity. Bruno da Silva de Oliveira, the `Pyste`_ author, understands the problems, I raised here. He -thought about them, long before I created `Py++`_. But unfortunately, lack +thought about them, long before I created :doc:`Py++ <../pyplusplus>`. But unfortunately, lack of time and motivation prevents him to work on `Pyste`_. .. _`screenshot` : ./../documentation/tutorials/pyplusplus_gui.html -.. _`Py++` : ./../pyplusplus.html .. _`Pyste`: http://www.boost.org/libs/python/doc/index.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`SourceForge`: http://sourceforge.net/index.php Modified: pyplusplus_dev/docs/definition.irest =================================================================== --- pyplusplus_dev/docs/definition.irest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/definition.irest 2009-02-02 21:09:57 UTC (rev 1653) @@ -1,4 +1,4 @@ -`Py++`_ is an object-oriented framework for creating a code generator for -`Boost.Python`_ library. +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 +.. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html Modified: pyplusplus_dev/docs/documentation/architecture.rest =================================================================== --- pyplusplus_dev/docs/documentation/architecture.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/documentation/architecture.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -6,7 +6,7 @@ Introduction ------------ -This document will describe an architecture behind `Py++`_. +This document will describe an architecture behind :doc:`Py++ <../pyplusplus>`. --------------------------- Py++ & pygccxml integration @@ -32,7 +32,7 @@ * C++ source files parsing and caching functionality -`Py++`_ uses those services to: +:doc:`Py++ <../pyplusplus>` uses those services to: * extract declarations from source files and to provide powerful query interface @@ -50,14 +50,14 @@ Integration details ------------------- -`Py++`_ uses different approaches to expose these services to the user. +:doc:`Py++ <../pyplusplus>` uses different approaches to expose these services to the user. Parsing integration ~~~~~~~~~~~~~~~~~~~ -`Py++`_ provides it's own "API" to configure :doc:`pygccxml <../../pygccxml/pygccxml>` parsing services. The +:doc:`Py++ <../pyplusplus>` provides it's own "API" to configure :doc:`pygccxml <../../pygccxml/pygccxml>` parsing services. The "API" I am talking about, is arguments to ``module_builder.__init__`` method. -We think, that exposing those services via `Py++`_ simplifies its usage. +We think, that exposing those services via :doc:`Py++ <../pyplusplus>` simplifies its usage. Declarations tree integration @@ -95,7 +95,7 @@ What you see here, is a common pattern, that will appear in all projects, that -use `Py++`_: +use :doc:`Py++ <../pyplusplus>`: * find the declaration(s) @@ -103,7 +103,7 @@ What is the point of this example? From the user point of view it is perfectly good, it makes a lot of sense to configure the code generation engine, using -the declarations tree. How does `Py++`_ add missing functionality to +the declarations tree. How does :doc:`Py++ <../pyplusplus>` add missing functionality to ``pygccxml.declarations`` classes? There were few possible solutions to the problem. The following one was implemented: @@ -146,7 +146,7 @@ * How it should be written to files? - Remember, `Py++`_ is targeting big projects. It cannot generate all code + Remember, :doc:`Py++ <../pyplusplus>` is targeting big projects. It cannot generate all code in one file - this will not work, not at all. ``Code creators`` and file writers provides solution for both problems. @@ -290,7 +290,7 @@ ---------------- ``File writers`` classes are responsible for writing ``code creators tree`` into -the files. `Py++`_ implements the following strategies of writing ``code creators tree`` +the files. :doc:`Py++ <../pyplusplus>` implements the following strategies of writing ``code creators tree`` into files: * single file @@ -318,11 +318,10 @@ Conclusion ---------- -It safe to use `Py++`_ for big and small projects! +It safe to use :doc:`Py++ <../pyplusplus>` for big and small projects! .. _`open-closed principle` : http://www.google.com/search?sourceid=gmail&q=open%20closed%20principle -.. _`Py++` : ./../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/containers.rest =================================================================== --- pyplusplus_dev/docs/documentation/containers.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/documentation/containers.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -55,7 +55,7 @@ Py++ and indexing suites ------------------------ -`Py++`_ implements support for both indexing suites. More over, you can +:doc:`Py++ <../pyplusplus>` implements support for both indexing suites. More over, you can freely mix indexing suites. For example you can expose ``std::vector<int>`` using `Boost.Python`_ built-in indexing suite and ``std::map< int, std::string>`` using Raoul Gough's indexing suite. @@ -64,9 +64,9 @@ How does it work? ----------------- -In both cases, `Py++`_ provides almost "hands free" solution. `Py++`_ +In both cases, :doc:`Py++ <../pyplusplus>` provides almost "hands free" solution. :doc:`Py++ <../pyplusplus>` keeps track of all exported functions and variables, and if it sees that there is -a usage of stl container, it exports the container. In both cases, `Py++`_ +a usage of stl container, it exports the container. In both cases, :doc:`Py++ <../pyplusplus>` analyzes the container ``value_type`` ( or in case of mapping container ``mapped_type`` ), in order to set reasonable defaults, when it generates the code. @@ -74,7 +74,7 @@ Indexing suites API ------------------- -By default, `Py++`_ works with built-in indexing suite. If you want to use +By default, :doc:`Py++ <../pyplusplus>` works with built-in indexing suite. If you want to use indexing suite version 2, you should tell this to the ``module_builder_t.__init__`` method: @@ -87,7 +87,7 @@ of ``indexing_suite1_t`` or ``indexing_suite2_t`` class. -How does `Py++`_ know, that a class represents STL container instantiation? +How does :doc:`Py++ <../pyplusplus>` know, that a class represents STL container instantiation? Well, it uses ``pygccxml.declarations.container_traits`` to find out this. ``pygccxml.declarations.container_traits`` class, provides all functionality needed to identify container and to find out its ``value_type`` @@ -97,7 +97,7 @@ Built-in indexing suite API --------------------------- -`Py++`_ defines ``indexing_suite1_t`` class. This class allows configure +:doc:`Py++ <../pyplusplus>` defines ``indexing_suite1_t`` class. This class allows configure any detail of generated code: * ``no_proxy`` - a boolean, if ``value_type`` is one of the the following types @@ -138,19 +138,19 @@ }; -`Py++`_ declarations tree will contains ``item``, ``my_data``, +:doc:`Py++ <../pyplusplus>` declarations tree will contains ``item``, ``my_data``, ``vector<item>`` and ``map<string,item>`` class declarations. If ``value_type`` does not support "equal" or "less than" functionality, sort and search functionality could not be exported. -`Py++`_ class declaration has two properties: ``equality_comparable`` and +:doc:`Py++ <../pyplusplus>` class declaration has two properties: ``equality_comparable`` and ``less_than_comparable``. The value of those properties is calculated on first -invocation. If `Py++`_ can find ``operator==``, that works on ``value_type``, +invocation. If :doc:`Py++ <../pyplusplus>` can find ``operator==``, that works on ``value_type``, then, ``equality_comparable`` property value will be set to ``True``, otherwise to ``False``. Same process is applied on ``less_than_comparable`` property. -In our case, `Py++`_ will set both properties to ``False``, thus sort and +In our case, :doc:`Py++ <../pyplusplus>` will set both properties to ``False``, thus sort and search functionality will not be exported. It is the time to introduce ``indexing_suite2_t`` class: @@ -165,13 +165,13 @@ * ``element_type`` - is a reference to container ``value_type`` or ``mapped_type``. * ``call_policies`` - read/write property, in near future I will add code to - `Py++`_ that will analyze container ``value_type`` and will decide about + :doc:`Py++ <../pyplusplus>` that will analyze container ``value_type`` and will decide about default call policies. Just an example: for non-copy constructable classes ``call_policies`` should be set to ``return_internal_reference``. * ``[disable|enable]_method`` - new indexing suite, allows to configure functionality exported to Python, using simple bitwise operations on predefined - flags. `Py++`_ allows you to specify what methods you want to disable + flags. :doc:`Py++ <../pyplusplus>` allows you to specify what methods you want to disable or enable. ``indexing_suite2_t.METHODS`` contains names of all supported methods. * ``[disable|enable]_methods_group`` - almost same as above, but allows you @@ -186,11 +186,10 @@ explicitly to disable method or methods group. 2. The documentation of new indexing suite contains few small mistakes. - I hope, I will have time to fix them. Any way, `Py++`_ generates + I hope, I will have time to fix them. Any way, :doc:`Py++ <../pyplusplus>` generates correct code. -.. _`Py++` : ./../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/ctypes/ctypes_integration.rest =================================================================== --- pyplusplus_dev/docs/documentation/ctypes/ctypes_integration.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/documentation/ctypes/ctypes_integration.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -24,7 +24,7 @@ -------- The idea behind "ctypes integration" functionality is really simple: you -configure `Py++`_ to expose address of the variable\\return value, and than you +configure :doc:`Py++ <../../pyplusplus>` to expose address of the variable\\return value, and than you you use `ctypes`_ `from_address`_ functionality to access and modify the data. Obviously, this approach has pros and cons: @@ -57,7 +57,7 @@ Implemented functionality ------------------------- -`Py++`_ is able to +:doc:`Py++ <../../pyplusplus>` is able to * expose global and member variable address @@ -93,7 +93,6 @@ .. _`new call policy was created` : ./../../documentation/functions/call_policies/return_addressof.html .. _`ctypes` : http://docs.python.org/lib/module-ctypes.html .. _`from_address` : http://docs.python.org/lib/ctypes-data-types.html -.. _`Py++` : ./../../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/ctypes/this_and_sizeof.rest =================================================================== --- pyplusplus_dev/docs/documentation/ctypes/this_and_sizeof.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/documentation/ctypes/this_and_sizeof.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -6,7 +6,7 @@ The purpose ----------- -`Py++`_ can expose a class ``sizeof`` and ``this`` pointer value to `Python`_. +:doc:`Py++ <../../pyplusplus>` can expose a class ``sizeof`` and ``this`` pointer value to `Python`_. I created this functionality without special purpose in mind. ------- @@ -37,7 +37,6 @@ .. _`ctypes` : http://docs.python.org/lib/module-ctypes.html .. _`from_address` : http://docs.python.org/lib/ctypes-data-types.html -.. _`Py++` : ./../../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/ctypes/unions.rest =================================================================== --- pyplusplus_dev/docs/documentation/ctypes/unions.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/documentation/ctypes/unions.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -10,7 +10,7 @@ In this document, I am going to show you a complete example how to get access to the data, stored in the variable. -`Py++`_ will not expose a union - it is impossible using `Boost.Python`_, +:doc:`Py++ <../../pyplusplus>` will not expose a union - it is impossible using `Boost.Python`_, instead it will expose the address of the variable and the rest is done from the `Python`_ using `ctypes`_ package. @@ -30,7 +30,7 @@ actual_data_t data; }; -As in many other cases, `Py++`_ does the job automatically: +As in many other cases, :doc:`Py++ <../../pyplusplus>` does the job automatically: .. code-block:: python @@ -65,7 +65,6 @@ .. _`ctypes` : http://docs.python.org/lib/module-ctypes.html .. _`from_address` : http://docs.python.org/lib/ctypes-data-types.html -.. _`Py++` : ./../../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/ctypes/variables.rest =================================================================== --- pyplusplus_dev/docs/documentation/ctypes/variables.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/documentation/ctypes/variables.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -7,10 +7,10 @@ -------------- ``variable_t`` declarations have got new property ``expose_address``. If you set -it value to ``True``, `Py++`_ will register new property with the same name, but +it value to ``True``, :doc:`Py++ <../../pyplusplus>` will register new property with the same name, but the type of it will be ``unsigned int`` and the value is address of the variable. -`Py++`_ will take care and generate the right code for global, static and member +:doc:`Py++ <../../pyplusplus>` will take care and generate the right code for global, static and member variables. ---------------- @@ -45,7 +45,7 @@ bytes = mb.class_( 'bytes_t' ) bytes.vars().expose_address = True -`Py++`_ will generate code, which will expose the address of the variables. +:doc:`Py++ <../../pyplusplus>` will generate code, which will expose the address of the variables. and now it is a time to show some `ctypes`_ magic: @@ -68,7 +68,6 @@ .. _`ctypes` : http://docs.python.org/lib/module-ctypes.html .. _`from_address` : http://docs.python.org/lib/ctypes-data-types.html -.. _`Py++` : ./../../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/doc_string.rest =================================================================== --- pyplusplus_dev/docs/documentation/doc_string.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/documentation/doc_string.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -6,7 +6,7 @@ Introduction ------------ -`Py++`_ provides a convenient way to export documentation from C++ source +:doc:`Py++ <../pyplusplus>` provides a convenient way to export documentation from C++ source files as `Python`_ `documentation string`_ --------------- @@ -21,11 +21,11 @@ my_class.member_function( "do_nothing" ).documentation = \ '"This function does nothing."' -In `Py++`_ every class, which describes C++ declarations has ``documentation`` +In :doc:`Py++ <../pyplusplus>` every class, which describes C++ declarations has ``documentation`` property. This property should contain valid C++ string or ``None``. `Boost.Python`_ not always provides functionality, which exports documentation string. -In those cases, `Py++`_ will not generate documentation string. +In those cases, :doc:`Py++ <../pyplusplus>` will not generate documentation string. Also the previous method is pretty clear, it is not practical. There should be a better way, to complete the task. Lets take a look on @@ -48,10 +48,10 @@ * ``decl.location.line`` - line number. So, you can go to the source file and to extract declaration from it. -`Py++`_ will call ``doc_extractor`` on every exported declaration. +:doc:`Py++ <../pyplusplus>` will call ``doc_extractor`` on every exported declaration. -Now, when I think you understand what functionality `Py++`_ provides. -It is a time to say what functionality is missing. `Py++`_ does not +Now, when I think you understand what functionality :doc:`Py++ <../pyplusplus>` provides. +It is a time to say what functionality is missing. :doc:`Py++ <../pyplusplus>` does not provide any documentation extractor. It is not completely true. You can find document extractor for `doxygen`_ format in ``contrib/doc_extractors`` directory. Georgiy Dernovoy has contributed it. @@ -59,7 +59,6 @@ .. _`doxygen` : http://www.stack.nl/~dimitri/doxygen/ .. _`documentation string` : http://docs.python.org/tut/node6.html#SECTION006760000000000000000 -.. _`Py++` : ./../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/functions/call_policies/as_tuple.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/call_policies/as_tuple.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/documentation/functions/call_policies/as_tuple.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -61,7 +61,7 @@ * none - do nothing -The `Py++`_ code is slightly different from the C++ one, but it is definitely shorter: +The :doc:`Py++ <../../../pyplusplus>` code is slightly different from the C++ one, but it is definitely shorter: .. code-block:: python @@ -78,7 +78,6 @@ .. _`ResultConverterGenerator` : http://boost.org/libs/python/doc/v2/ResultConverter.html#ResultConverterGenerator-concept .. _`CallPolicies` : http://www.boost.org/libs/python/doc/v2/CallPolicies.html#CallPolicies-concept -.. _`Py++` : ./../../../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/functions/call_policies/call_policies.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/call_policies/call_policies.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/documentation/functions/call_policies/call_policies.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -16,26 +16,26 @@ Syntax ------ -The call policies in `Py++`_ are named exactly as in `Boost.Python`_, only the +The call policies in :doc:`Py++ <../../../pyplusplus>` are named exactly as in `Boost.Python`_, only the syntax is slightly different. For instance, this call policy: .. code-block:: c++ return_internal_reference< 1, with_custodian_and_ward<1, 2> >() -becomes in `Py++`_ +becomes in :doc:`Py++ <../../../pyplusplus>` .. code-block:: python return_internal_reference( 1, with_custodian_and_ward(1, 2) ) -`Py++`_ supports all call policies presented in `Boost.Python`_. +:doc:`Py++ <../../../pyplusplus>` supports all call policies presented in `Boost.Python`_. ------------- Usage example ------------- -Every "callable" object in `Py++`_ has ``call_policies`` property. +Every "callable" object in :doc:`Py++ <../../../pyplusplus>` has ``call_policies`` property. C++ code: @@ -70,7 +70,7 @@ Defaults -------- -`Py++`_ is able to "guess" few call policies, base on analysis of return type +:doc:`Py++ <../../../pyplusplus>` is able to "guess" few call policies, base on analysis of return type and\\or callable name: * ``default_call_policies``: @@ -92,7 +92,7 @@ * return type is ``T*`` and ``T`` is a user defined opaque type ``class_t`` and ``class_declaration_t`` classes have ``opaque`` property. - You have to set it to ``True``, if you want `Py++`_ to create this call + You have to set it to ``True``, if you want :doc:`Py++ <../../../pyplusplus>` to create this call policy automatically for all functions, that use ``T*`` as return type. * ``copy_const_reference`` @@ -124,15 +124,15 @@ If you don't specify call policy for a function and it needs one, few things will happen: -* `Py++`_ prints a warning message +* :doc:`Py++ <../../../pyplusplus>` prints a warning message -* `Py++`_ generates code with +* :doc:`Py++ <../../../pyplusplus>` generates code with .. code-block:: c++ /* undefined call policies */ - comment, instead of call policy. If `Py++`_ was wrong and function doesn't + comment, instead of call policy. If :doc:`Py++ <../../../pyplusplus>` was wrong and function doesn't need call policy the generate code will compile fine, otherwise you will get a compilation error. @@ -146,11 +146,11 @@ ``return_value_policy( return_opaque_pointer )`` is a special policy for `Boost.Python`_. In this case, it requires from you to define specialization for the ``boost::python::type_id`` function on the type pointed to by returned pointer. -`Py++`_ will generate the required code. +:doc:`Py++ <../../../pyplusplus>` will generate the required code. Actually you should define ``boost::python::type_id`` specialization also in case -a function takes the opaque type as an argument. `Py++`_ can do it for you, all +a function takes the opaque type as an argument. :doc:`Py++ <../../../pyplusplus>` can do it for you, all you need is to mark a declaration as opaque. Example: @@ -169,7 +169,7 @@ ... }; -`Py++`_ code: +:doc:`Py++ <../../../pyplusplus>` code: .. code-block:: python @@ -183,7 +183,7 @@ Py++ defined call policies -------------------------- -`Py++`_ defines few call policies. I hope you will find them useful. I don't mind +:doc:`Py++ <../../../pyplusplus>` defines few call policies. I hope you will find them useful. I don't mind to contribute them to `Boost.Python`_ library, but I don't have enough free time to "boostify" them. @@ -202,7 +202,6 @@ .. _`ResultConverterGenerator` : http://boost.org/libs/python/doc/v2/ResultConverter.html#ResultConverterGenerator-concept .. _`CallPolicies` : http://www.boost.org/libs/python/doc/v2/CallPolicies.html#CallPolicies-concept -.. _`Py++` : ./../../../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/functions/call_policies/custom_call_policies.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/call_policies/custom_call_policies.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/documentation/functions/call_policies/custom_call_policies.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -7,7 +7,7 @@ ---------- ``custom_call_policies`` is a special call policy, which allows you to integrate -the call policies, you defined, with `Py++`_ +the call policies, you defined, with :doc:`Py++ <../../../pyplusplus>` ------- Example @@ -30,7 +30,6 @@ = call_policies.custom_call_policies( <<<your call policies code>>>, "xyz.hpp" ) -.. _`Py++` : ./../../../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/functions/call_policies/return_addressof.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/call_policies/return_addressof.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/documentation/functions/call_policies/return_addressof.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -32,7 +32,7 @@ , bpl::return_value_policy< pyplusplus::call_policies::return_addressof<> >() ); } -The `Py++`_ code is not that different from what you already know: +The :doc:`Py++ <../../../pyplusplus>` code is not that different from what you already know: .. code-block:: python @@ -56,7 +56,6 @@ .. _`ResultConverterGenerator` : http://boost.org/libs/python/doc/v2/ResultConverter.html#ResultConverterGenerator-concept -.. _`Py++` : ./../../../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/functions/call_policies/return_pointee_value.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/call_policies/return_pointee_value.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/documentation/functions/call_policies/return_pointee_value.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -111,7 +111,7 @@ , bpl::return_value_policy< pyplusplus::call_policies::return_pointee_value<> >() ); } -The `Py++`_ code is not that different from what you already know: +The :doc:`Py++ <../../../pyplusplus>` code is not that different from what you already know: .. code-block:: python @@ -135,7 +135,6 @@ .. _`ResultConverterGenerator` : http://boost.org/libs/python/doc/v2/ResultConverter.html#ResultConverterGenerator-concept .. _`CallPolicies` : http://www.boost.org/libs/python/doc/v2/CallPolicies.html#CallPolicies-concept -.. _`Py++` : ./../../../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/functions/call_policies/return_range.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/call_policies/return_range.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/documentation/functions/call_policies/return_range.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -164,7 +164,7 @@ Py++ integration ~~~~~~~~~~~~~~~~ -The `Py++`_ code is not that different from what you already know: +The :doc:`Py++ <../../../pyplusplus>` code is not that different from what you already know: .. code-block:: python @@ -192,12 +192,12 @@ call_policies.return_range arguments: -1. A reference to function. `Py++`_ will extract by itself the type of the array +1. A reference to function. :doc:`Py++ <../../../pyplusplus>` will extract by itself the type of the array element. 2. A name of "get size" class. -3. A call policies for "__getitem__" function. `Py++`_ will analyze the array +3. A call policies for "__getitem__" function. :doc:`Py++ <../../../pyplusplus>` will analyze the array element type. If the type is mapped to immutable type, than ``default_call_policies`` is used, otherwise you have to specify call policies. @@ -215,7 +215,7 @@ Dependencies ~~~~~~~~~~~~ -The new call policy depends on `new indexing suite`_ and `Py++`_ :-). But if you +The new call policy depends on `new indexing suite`_ and :doc:`Py++ <../../../pyplusplus>` :-). But if you want you can extract the relevant piece of code from `this file`_. .. _`new indexing suite` : ./../../containers.html @@ -224,7 +224,6 @@ .. _`ResultConverterGenerator` : http://boost.org/libs/python/doc/v2/ResultConverter.html#ResultConverterGenerator-concept .. _`CallPolicies` : http://www.boost.org/libs/python/doc/v2/CallPolicies.html#CallPolicies-concept -.. _`Py++` : ./../../../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/functions/default_args.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/default_args.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/documentation/functions/default_args.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -23,7 +23,7 @@ Do nothing approach ------------------- -By default `Py++`_ exposes function with its default arguments. +By default :doc:`Py++ <../../pyplusplus>` exposes function with its default arguments. .. code-block:: c++ @@ -96,8 +96,8 @@ The good news is that it is very easy to identify the problem: the module could not be loaded. The main reason is that expression ``arg("s1")=S1()`` requires ``S1`` struct to be registered. `GCC-XML`_ reports default arguments as strings. -`Py++`_ doesn't have enough information to generate code with the right class -registration order. In this case you have to instruct `Py++`_ to use macros: +:doc:`Py++ <../../pyplusplus>` doesn't have enough information to generate code with the right class +registration order. In this case you have to instruct :doc:`Py++ <../../pyplusplus>` to use macros: .. code-block:: python @@ -134,13 +134,12 @@ }; -You cannot use same work around and `Py++`_ ( version 0.8.2 ) could not help you. +You cannot use same work around and :doc:`Py++ <../../pyplusplus>` ( version 0.8.2 ) could not help you. The use case presented here is a little bit esoteric. If you have such use case -and you cannot change the source code, consider contacting `Py++`_ developers. +and you cannot change the source code, consider contacting :doc:`Py++ <../../pyplusplus>` developers. I am sure we will be able to help you. -.. _`Py++` : ./../../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/functions/functions.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/functions.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/documentation/functions/functions.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -7,7 +7,7 @@ -------- `Boost.Python`_ provides very rich interface to expose functions and operators. -This section of documentation will explain how to configure `Py++`_ in order +This section of documentation will explain how to configure :doc:`Py++ <../../pyplusplus>` in order to export your functions, using desired `Boost.Python`_ functionality. -------- @@ -24,7 +24,6 @@ registration_order.rest -.. _`Py++` : ./../../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/functions/make_constructor.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/make_constructor.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/documentation/functions/make_constructor.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -37,7 +37,7 @@ The code is pretty simple - it defines two ``create`` functions, which construct new class ``number_t`` instances. -`Py++`_ configuration is pretty simple: +:doc:`Py++ <../../pyplusplus>` configuration is pretty simple: .. code-block:: python @@ -70,7 +70,6 @@ print number.x .. _`make_constructor`: http://www.boost.org/doc/libs/1_35_0/libs/python/doc/v2/make_function.html#make_constructor-spec -.. _`Py++` : ./../../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/functions/overloading.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/overloading.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/documentation/functions/overloading.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -41,7 +41,7 @@ Do nothing approach ------------------- -I am sure you will like "do nothing" approach. `Py++`_ recognize that you want to +I am sure you will like "do nothing" approach. :doc:`Py++ <../../pyplusplus>` recognize that you want to export an overloaded function and will generate the right code: .. code-block:: c++ @@ -92,9 +92,9 @@ }; If you didn't instantiate( use ) ``do_smth`` member function, than `GCC-XML`_ -will not report it. As a result, `Py++`_ will not be aware of the fact that +will not report it. As a result, :doc:`Py++ <../../pyplusplus>` will not be aware of the fact that ``do_smth`` is an overloaded function. To make the long story short, the generated -code will not compile. You have to instruct `Py++`_ to generate code, which +code will not compile. You have to instruct :doc:`Py++ <../../pyplusplus>` to generate code, which contains function type: .. code-block:: python @@ -106,7 +106,7 @@ y.member_function( 'do_smth' ).create_with_signature = True #------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Every `Py++`_ class, which describes C++ function\\operator has ``create_with_signature`` +Every :doc:`Py++ <../../pyplusplus>` class, which describes C++ function\\operator has ``create_with_signature`` property. You have to set it to ``True``. Default value of the property is computed. If the exported function is overloaded, then its value is ``True`` otherwise it will be ``False``. @@ -145,7 +145,7 @@ .. _`explanation` : http://boost.org/libs/python/doc/tutorial/doc/html/python/functions.html#python.auto_overloading -You can instruct `Py++`_ to generate code, which will use the macros: +You can instruct :doc:`Py++ <../../pyplusplus>` to generate code, which will use the macros: .. code-block:: python @@ -165,7 +165,6 @@ .. _`default arguments` : ./default_args.html -.. _`Py++` : ./../../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/functions/registration_order.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/registration_order.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/documentation/functions/registration_order.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -38,7 +38,7 @@ { return "do_smth( int )"; } }; -`Py++`_ generates code, that register functions in the order they appear in the +:doc:`Py++ <../../pyplusplus>` generates code, that register functions in the order they appear in the source code: .. code-block:: c++ @@ -103,7 +103,7 @@ 2. You can reorder the declarations within the source file. -3. You can ask `Py++`_ to generate code, which takes into account the order of +3. You can ask :doc:`Py++ <../../pyplusplus>` to generate code, which takes into account the order of declarations: .. code-block:: python @@ -113,7 +113,7 @@ sort_algorithms.USE_CALLDEF_ORGANIZER = True # The functionality is available from version 0.8.3 -4. The last and the perfect solution. `Py++`_ will let you know, when your code +4. The last and the perfect solution. :doc:`Py++ <../../pyplusplus>` will let you know, when your code has such problem. The functionality is available from version 0.8.3. After this you can change the aliases of the functions. The third step is to create small "dispatch" function in Python: @@ -133,7 +133,7 @@ The technique shown here described pretty good in `Boost.Python`_ `Extending Wrapped Objects in Python tutorials`_ . - May be in future, `Py++`_ will generate this code for you. Anyway, if you have + May be in future, :doc:`Py++ <../../pyplusplus>` will generate this code for you. Anyway, if you have a lot of use cases like this consider to generate `Python`_ code and not to write it manually. @@ -142,7 +142,6 @@ -.. _`Py++` : ./../../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/functions/transformation/inout.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/transformation/inout.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/documentation/functions/transformation/inout.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -32,7 +32,7 @@ Lets say that you need to expose ``hello_world`` function. As you know ``std::string`` is mapped to `Python`_ string, which is immutable type, so you -have to create small wrapper for the function. The following `Py++`_ code does it for you: +have to create small wrapper for the function. The following :doc:`Py++ <../../../pyplusplus>` code does it for you: .. code-block:: python @@ -59,7 +59,6 @@ bp::def( "hello_world", &hello_world_a3478182294a057b61508c30b1361318 ); } -.. _`Py++` : ./../../../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/functions/transformation/input.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/transformation/input.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/documentation/functions/transformation/input.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -26,7 +26,7 @@ Lets say that you need to expose ``hello_world`` function. As you know ``std::string`` is mapped to `Python`_ string, which is immutable type, so you -have to create small wrapper for the function. The following `Py++`_ code does it for you: +have to create small wrapper for the function. The following :doc:`Py++ <../../../pyplusplus>` code does it for you: .. code-block:: python @@ -52,7 +52,6 @@ bp::def( "hello_world", &hello_world_a3478182294a057b61508c30b1361318 ); } -.. _`Py++` : ./../../../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/functions/transformation/input_c_buffer.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/transformation/input_c_buffer.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/documentation/functions/transformation/input_c_buffer.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -25,7 +25,7 @@ }; In order to expose ``write`` member function we need to create small wrapper. -The following `Py++`_ code does it for you: +The following :doc:`Py++ <../../../pyplusplus>` code does it for you: .. code-block:: python @@ -66,7 +66,6 @@ , ( bp::arg("inst"), bp::arg("buffer") ) ); } -.. _`Py++` : ./../../../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/functions/transformation/input_static_array.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/transformation/input_static_array.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/documentation/functions/transformation/input_static_array.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -32,7 +32,7 @@ }; In order to expose ``init`` member function we need to create small wrapper: -The following `Py++`_ code does it for you: +The following :doc:`Py++ <../../../pyplusplus>` code does it for you: .. code-block:: python @@ -69,7 +69,6 @@ .def_readwrite( "z", &ft::vector3::z ); } -.. _`Py++` : ./../../../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/functions/transformation/modify_type.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/transformation/modify_type.rest 2009-02-02 20:40:36 UTC (rev 1652) +++ pyplusplus_dev/docs/documentation/functions/transformation/modify_type.rest 2009-02-02 21:09:57 UTC (rev 1653) @@ -36,7 +36,7 @@ Lets say that you need to expose ``hello_world`` function. As you know ``std::string`` is mapped to `Python`_ string, which is immutable type, so you -have to create small wrapper for the function. The following `Py++`_ code does it for you: +have to create small wrapper for the function. The following :doc:`Py++ <../../../pyplusplus>` c... [truncated message content] |
From: <rom...@us...> - 2009-02-02 20:40:45
|
Revision: 1652 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1652&view=rev Author: roman_yakovenko Date: 2009-02-02 20:40:36 +0000 (Mon, 02 Feb 2009) Log Message: ----------- sphinx Modified Paths: -------------- pygccxml_dev/docs/apidocs/declarations.rest pygccxml_dev/docs/definition.irest pygccxml_dev/docs/design.rest pygccxml_dev/docs/download.rest pygccxml_dev/docs/history/history.rest pygccxml_dev/docs/links.rest pygccxml_dev/docs/pygccxml.rest pygccxml_dev/docs/query_interface.rest pygccxml_dev/docs/upgrade_issues.rest pygccxml_dev/docs/users.rest pygccxml_dev/pygccxml/declarations/__init__.py pygccxml_dev/pygccxml/declarations/algorithm.py pygccxml_dev/pygccxml/declarations/call_invocation.py pygccxml_dev/pygccxml/declarations/calldef.py pygccxml_dev/pygccxml/declarations/class_declaration.py pygccxml_dev/pygccxml/declarations/cpptypes.py pygccxml_dev/pygccxml/declarations/declaration.py pygccxml_dev/pygccxml/declarations/matchers.py pygccxml_dev/pygccxml/declarations/mdecl_wrapper.py pygccxml_dev/pygccxml/declarations/namespace.py pygccxml_dev/pygccxml/declarations/scopedef.py pygccxml_dev/pygccxml/declarations/templates.py pygccxml_dev/pygccxml/declarations/type_traits.py pygccxml_dev/pygccxml/declarations/variable.py pyplusplus_dev/docs/comparisons/pyste.rest pyplusplus_dev/docs/documentation/architecture.rest pyplusplus_dev/docs/documentation/ctypes/ctypes_integration.rest pyplusplus_dev/docs/documentation/ctypes/this_and_sizeof.rest pyplusplus_dev/docs/documentation/ctypes/unions.rest pyplusplus_dev/docs/documentation/ctypes/variables.rest pyplusplus_dev/docs/documentation/how_to/best_practices.rest pyplusplus_dev/docs/documentation/inserting_code.rest pyplusplus_dev/docs/documentation/split_module.rest pyplusplus_dev/docs/documentation/tutorials/module_builder/module_builder.rest pyplusplus_dev/docs/documentation/tutorials/tutorials.rest pyplusplus_dev/docs/documentation/warnings.rest pyplusplus_dev/docs/download.rest pyplusplus_dev/docs/examples/boost/boost.rest pyplusplus_dev/docs/examples/easybmp/easybmp.rest pyplusplus_dev/docs/history/history.rest pyplusplus_dev/docs/pyplusplus.rest pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptrs.rest Modified: pygccxml_dev/docs/apidocs/declarations.rest =================================================================== --- pygccxml_dev/docs/apidocs/declarations.rest 2009-02-02 19:04:21 UTC (rev 1651) +++ pygccxml_dev/docs/apidocs/declarations.rest 2009-02-02 20:40:36 UTC (rev 1652) @@ -72,8 +72,8 @@ :members: :show-inheritance: -ecl_printer ------------ +decl_printer +------------ .. automodule:: pygccxml.declarations.decl_printer :members: Modified: pygccxml_dev/docs/definition.irest =================================================================== --- pygccxml_dev/docs/definition.irest 2009-02-02 19:04:21 UTC (rev 1651) +++ pygccxml_dev/docs/definition.irest 2009-02-02 20:40:36 UTC (rev 1652) @@ -1,9 +1,9 @@ -The purpose of the `GCC-XML`_ extension is to generate an XML description of a +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`_ + -- 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. +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/design.rest =================================================================== --- pygccxml_dev/docs/design.rest 2009-02-02 19:04:21 UTC (rev 1651) +++ pygccxml_dev/docs/design.rest 2009-02-02 20:40:36 UTC (rev 1652) @@ -6,7 +6,7 @@ The view from 10000 fits ------------------------ -`pygccxml`_ has 3 packages: +:doc:`pygccxml <pygccxml>` has 3 packages: * ``declarations`` package defines classes that describe C++ declarations and types @@ -44,7 +44,7 @@ a pointer or a reference? Or does a type have a trivial constructor, or a const-qualifier? -`pygccxml`_ implements a lot of functionality from the library: +:doc:`pygccxml <pygccxml>` implements a lot of functionality from the library: * a lot of algorithms were implemented @@ -147,7 +147,7 @@ to 2 classes: 1. ``scanner_t`` - this class scans the "XML" file, generated by `GCC-XML`_ and - creates `pygccxml`_ declarations and types classes. After the xml file has + creates :doc:`pygccxml <pygccxml>` declarations and types classes. After the xml file has been processed declarations and type class instances keeps references to each other using `GCC-XML`_ generated ids. @@ -160,7 +160,7 @@ pretty quick. ``project_reader_t`` - think about this class as a linker. In most cases you work -with few source files. GCC-XML does not supports this mode of work. So, `pygccxml`_ +with few source files. GCC-XML does not supports this mode of work. So, :doc:`pygccxml <pygccxml>` implements all functionality needed to parse few source files at once. ``project_reader_t`` implements 2 different algorithms, that solves the problem: @@ -242,9 +242,9 @@ In some cases, ``directory_cache_t`` class gives much better performance, than ``file_cache_t``. Many thanks to Matthias Baas for its implementation. -**Warning**: when `pygccxml`_ writes information to files, using cache classes, +**Warning**: when :doc:`pygccxml <pygccxml>` writes information to files, using cache classes, it does not write any version information. It means, that when you upgrade -`pygccxml`_ you have to delete all your cache files. Otherwise you will get very +:doc:`pygccxml <pygccxml>` you have to delete all your cache files. Otherwise you will get very strange errors. For example: missing attribute. @@ -264,9 +264,9 @@ void fix_enum( ns1::ns2::fruit arg=ns1::ns2::apple ); `GCC-XML`_ will report the default value of ``arg`` as ``apple``. Obviously -this in an error. `pygccxml`_ knows how to fix this bug. +this in an error. :doc:`pygccxml <pygccxml>` knows how to fix this bug. -This is not the only bug, which could be fixed, there are few of them. `pygccxml`_ +This is not the only bug, which could be fixed, there are few of them. :doc:`pygccxml <pygccxml>` introduces few classes, which knows how to deal with specific bug. More over, those bugs are fixed, only if I am 101% sure, that this is the right thing to do. @@ -274,11 +274,11 @@ Summary ------- -That's all. I hope I was clear, at least I tried. Any way, `pygccxml`_ is an open +That's all. I hope I was clear, at least I tried. Any way, :doc:`pygccxml <pygccxml>` is an open source project. You always can take a look on the source code. If you need more information please read API documentation. -.. _`pygccxml`: ./pygccxml.html + .. _`SourceForge`: http://sourceforge.net/index.php .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pygccxml_dev/docs/download.rest =================================================================== --- pygccxml_dev/docs/download.rest 2009-02-02 19:04:21 UTC (rev 1651) +++ pygccxml_dev/docs/download.rest 2009-02-02 20:40:36 UTC (rev 1652) @@ -6,11 +6,11 @@ pygccxml on SourceForge ------------------------- -`pygccxml`_ project is hosted on SourceForge. Using SourceForge services you +:doc:`pygccxml <pygccxml>` project is hosted on SourceForge. Using SourceForge services you can: 1) get access to source code -2) get access to latest release version of `pygccxml`_ +2) get access to latest release version of :doc:`pygccxml <pygccxml>` ----------------- @@ -34,20 +34,20 @@ There are few different ways to install GCC-XML on your system: 1. If you use Linux, than I am almost sure your system has "gccxml" package. - Consider to install it using "native"(rpm, deb, portage) packaging system. + Consider to install it using "native"(rpm, deb, portage) packaging system. .. line separator -2. Another option is to install it from the source code. See `instructions`_ +2. Another option is to install it from the source code. See `instructions`_ provided by Brad King, the author of `GCC-XML`_. Installation from sources - is supported for Windows, Linux and Mac platforms. + is supported for Windows, Linux and Mac platforms. .. _`instructions` : http://gccxml.org/HTML/Install.html 3. You can use `GCC-XML`_ installer created by me. Go to `download page`_ and get - `"gccxml_installer.zip"`_ file. You will find installation instructions within - the file. The setup is basically small Python script, which installs `GCC-XML`_ - to the specified directory. It works pretty well for me on Linux and Windows. + `"gccxml_installer.zip"`_ file. You will find installation instructions within + the file. The setup is basically small Python script, which installs `GCC-XML`_ + to the specified directory. It works pretty well for me on Linux and Windows. You don't have to download CMake build system or anything else. .. _`download page` : http://sourceforge.net/project/showfiles.php?group_id=118209&package_id=146545 @@ -56,11 +56,11 @@ pygccxml -------- In command prompt or shell change current directory to be "pygccxml-X.Y.Z". -"X.Y.Z" is version of `pygccxml`_. Type the following command: +"X.Y.Z" is version of :doc:`pygccxml <pygccxml>`. Type the following command: | ``python setup.py install`` -After this command complete, you should have installed `pygccxml`_ package. +After this command complete, you should have installed :doc:`pygccxml <pygccxml>` package. ------------ Dependencies @@ -68,5 +68,4 @@ * `GCC-XML`_ -.. _`pygccxml` : ./../pygccxml/pygccxml.html .. _`GCC-XML`: http://www.gccxml.org Modified: pygccxml_dev/docs/history/history.rest =================================================================== --- pygccxml_dev/docs/history/history.rest 2009-02-02 19:04:21 UTC (rev 1651) +++ pygccxml_dev/docs/history/history.rest 2009-02-02 20:40:36 UTC (rev 1652) @@ -120,7 +120,7 @@ Version 0.9.0 ------------- -1. Performance was improved. `pygccxml`_ is now 30-50% faster. The improvement +1. Performance was improved. :doc:`pygccxml <../pygccxml>` is now 30-50% faster. The improvement was achieved by using `cElementTree`_ package, ``iterparse`` functionality, instead of standard XML SAX API. If `cElementTree`_ package is not available, the built-in XML SAX package is used. @@ -188,7 +188,7 @@ types and declarations it depends on. 2. ``signed char`` and ``char`` are two different types. This bug was fixed and - now `pygccxml`_ treats them right. Many thanks to Gaetan Lehmann for reporting + now :doc:`pygccxml <../pygccxml>` treats them right. Many thanks to Gaetan Lehmann for reporting the bug. 3. Declarations, read from GCC-XML generated file, could be saved in cache. @@ -225,7 +225,7 @@ small example that reproduced the error. 2. Huge speed improvement has been achieved (x10). Allen Bierbaum suggested to - save and reuse results of different `pygccxml`_ algorithms: + save and reuse results of different :doc:`pygccxml <../pygccxml>` algorithms: * ``declarations.remove_alias`` * ``declarations.full_name`` @@ -259,7 +259,7 @@ Version 0.8.1 ------------- -1. `pygccxml`_ has been ported to MacOS X. Many thanks to Darren Garnier! +1. :doc:`pygccxml <../pygccxml>` has been ported to MacOS X. Many thanks to Darren Garnier! 2. New type traits have been added: @@ -327,7 +327,7 @@ #instead of op = cls.operator( symbol='<' ) -5. `pygccxml`_ improved a lot functionality related to providing feedback to user: +5. :doc:`pygccxml <../pygccxml>` improved a lot functionality related to providing feedback to user: * every package has its own logger @@ -364,10 +364,10 @@ Version 0.8 ----------- -1. `pygccxml`_ now has power "select" interface. Read more about this cool feature +1. :doc:`pygccxml <../pygccxml>` now has power "select" interface. Read more about this cool feature in tutorials. -2. Improved support for template instantiations. `pygccxml`_ now take into +2. Improved support for template instantiations. :doc:`pygccxml <../pygccxml>` now take into account demangled name of declarations. Please refer to documentation for more explanantion. @@ -429,8 +429,8 @@ easily extend functionality provided by built-in declarations. 6. Sometimes, there is a need to find a declaration that match some criteria. - The was such functionality in `pygccxml`_, but it was too limited. This - release fix the situation. `pygccxml`_ adds a set of classes that will help + The was such functionality in :doc:`pygccxml <../pygccxml>`, but it was too limited. This + release fix the situation. :doc:`pygccxml <../pygccxml>` adds a set of classes that will help you to deal with this problem. 7. New cache - ``parser.directory_cache_t`` has been implemented. @@ -463,8 +463,8 @@ 12. Documentation. Allen Bierbaum and Matthias Baas contributed so much in this area. Almost every public function/class has now documentation string. -13. Logging functionality has been added. `pygccxml`_ creates new logger - "pygccxml". Now it is possible to see what `pygccxml`_ is doing right now. +13. Logging functionality has been added. :doc:`pygccxml <../pygccxml>` creates new logger + "pygccxml". Now it is possible to see what :doc:`pygccxml <../pygccxml>` is doing right now. 14. I am sure I forgot something. @@ -547,9 +547,8 @@ time. 8. There are some cases when `GCC-XML`_ reports *"restricted"*. In this case - `pygccxml`_ replaces *"restricted"* with *"volatile"*. + :doc:`pygccxml <../pygccxml>` replaces *"restricted"* with *"volatile"*. -.. _`pygccxml`: ./../pygccxml.html .. _`SourceForge`: http://sourceforge.net/index.php .. _`GCC-XML`: http://www.gccxml.org Modified: pygccxml_dev/docs/links.rest =================================================================== --- pygccxml_dev/docs/links.rest 2009-02-02 19:04:21 UTC (rev 1651) +++ pygccxml_dev/docs/links.rest 2009-02-02 20:40:36 UTC (rev 1652) @@ -17,4 +17,4 @@ .. _`XTI An Extended Type Information Library` : http://lcgapp.cern.ch/project/architecture/XTI_accu.pdf -.. _`pygccxml`: ./pygccxml.html + Modified: pygccxml_dev/docs/pygccxml.rest =================================================================== --- pygccxml_dev/docs/pygccxml.rest 2009-02-02 19:04:21 UTC (rev 1651) +++ pygccxml_dev/docs/pygccxml.rest 2009-02-02 20:40:36 UTC (rev 1652) @@ -17,12 +17,12 @@ ------------------------ What can you do with it? ------------------------ -Using `pygccxml`_ you can: +Using :doc:`pygccxml <pygccxml>` you can: * parse C++ source code * create a powerful code generator - + `Py++`_ is heavily based on `pygccxml`_ + + `Py++`_ is heavily based on :doc:`pygccxml <pygccxml>` + generate `WSDL`_ file from sources + ... @@ -36,7 +36,7 @@ Query interface --------------- -`pygccxml`_ provides simple and powerful API to query declarations tree. How many +:doc:`pygccxml <pygccxml>` provides simple and powerful API to query declarations tree. How many lines is needed to write the following query? :: @@ -63,7 +63,7 @@ Type traits ----------- -`pygccxml`_ provides a lot of functionality to analyze C++ types and relationship +:doc:`pygccxml <pygccxml>` provides a lot of functionality to analyze C++ types and relationship between them. For more information please refer to `design`__ document or API documentation. Just a few names of algorithms: @@ -96,7 +96,7 @@ * parse each file separately and then join the results The difference between these approaches is the caching algorithm used in the -second case. `pygccxml`_ supports both of them. Actually `pygccxml`_ supports +second case. :doc:`pygccxml <pygccxml>` supports both of them. Actually :doc:`pygccxml <pygccxml>` supports more caching strategies, read the API documentation for more information. @@ -110,7 +110,7 @@ Test environment ---------------- -`pygccxml`_ comes with comprehensive unit tests. They are executed on Windows XP +:doc:`pygccxml <pygccxml>` comes with comprehensive unit tests. They are executed on Windows XP and `Ubuntu`_ Linux operating systems. In most cases Python 2.5 and 2.6 are used. All in all, `pygccxml` has more than 230 tests. @@ -134,7 +134,7 @@ .. _`WSDL`: http://www.w3.org/TR/wsdl .. _`Py++`: ./../pyplusplus/pyplusplus.html -.. _`pygccxml`: ./pygccxml.html + .. _`SourceForge`: http://sourceforge.net/index.php .. _`Docutils`: http://docutils.sourceforge.net .. _`Python`: http://www.python.org Modified: pygccxml_dev/docs/query_interface.rest =================================================================== --- pygccxml_dev/docs/query_interface.rest 2009-02-02 19:04:21 UTC (rev 1651) +++ pygccxml_dev/docs/query_interface.rest 2009-02-02 20:40:36 UTC (rev 1652) @@ -6,7 +6,7 @@ Introduction ------------ You parsed the source files. Now you have to do some real work with the extracted -information, right? `pygccxml`_ provides very powerful and simple interface to +information, right? :doc:`pygccxml <pygccxml>` provides very powerful and simple interface to query about extracted declarations. Just an example. I want to select all member functions, which have 2 arguments. @@ -161,11 +161,11 @@ ``RECURSIVE_DEFAULT`` variable. Its initial value is ``True``. So, if you don't pass ``recursive`` argument, the value of ``RECURSIVE_DEFAULT`` variable will be used. This "yet another level of indirection" allows you to configure - `pygccxml`_ "select" functions in one place for all project. + :doc:`pygccxml <pygccxml>` "select" functions in one place for all project. * ``allow_empty`` - Python boolean object, it says `pygccxml`_ what to do if query returns empty. + Python boolean object, it says :doc:`pygccxml <pygccxml>` what to do if query returns empty. If ``allow_empty`` is ``False``, then exception ``RuntimeError( "Multi declaration query returned 0 declarations." )`` @@ -285,7 +285,7 @@ .. _`Boost.Python`: http://boost.org/libs/python/doc/tutorial/doc/html/index.html .. _`call policies`: http://boost.org/libs/python/doc/tutorial/doc/html/python/functions.html#python.call_policies .. _`Call policies`: http://boost.org/libs/python/doc/tutorial/doc/html/python/functions.html#python.call_policies -.. _`pygccxml`: ./pygccxml.html + .. _`Py++`: ./../pyplusplus/pyplusplus.html .. _`SourceForge`: http://sourceforge.net/index.php .. _`Python`: http://www.python.org Modified: pygccxml_dev/docs/upgrade_issues.rest =================================================================== --- pygccxml_dev/docs/upgrade_issues.rest 2009-02-02 19:04:21 UTC (rev 1651) +++ pygccxml_dev/docs/upgrade_issues.rest 2009-02-02 20:40:36 UTC (rev 1652) @@ -73,7 +73,7 @@ <Typedef id="_52" name="mvar_ptr_t" type="_139" /> <OffsetType id="_139" basetype="_92" type="_131" size="32" align="32"/> -`pygccxml`_ handles this issue automatically, you don't have to change your code. +:doc:`pygccxml <pygccxml>` handles this issue automatically, you don't have to change your code. ----------------------- Constant variable value @@ -90,7 +90,7 @@ GCC-XML 0.9 will report the ``initialized`` value as ``10122004ul``, while GCC-XML 0.7 as ``10122004``. -`pygccxml`_ handles this problem automatically, you don't have to change your code. +:doc:`pygccxml <pygccxml>` handles this problem automatically, you don't have to change your code. ------------------------------------------ Free and member function default arguments @@ -190,7 +190,7 @@ <Argument name="types" type="_3096" default="std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >(((const std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >&)((const std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*)(& std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >()))))"/> -Basically `pygccxml`_ can't help you here. The good news is that you always can +Basically :doc:`pygccxml <pygccxml>` can't help you here. The good news is that you always can change the default value expression from the script: .. code-block:: python @@ -230,11 +230,11 @@ class demangled name item_t<3740067437l> item_t<3740067437ul> ==================== ====================== ======================= -`pygccxml`_ uses class demangled name as a "name" of the class. This was done to +:doc:`pygccxml <pygccxml>` uses class demangled name as a "name" of the class. This was done to overcome few bugs GCC-XML has, when it works on libraries with extreme usage of templates. -As you can see the name of the class is different. `pygccxml`_ is unable to help +As you can see the name of the class is different. :doc:`pygccxml <pygccxml>` is unable to help you in such situations. I suggest you to use query API strict mode. This is the default one. If the class/declaration with the given name could not be found, it will raise an error with clear description of the problem. @@ -243,6 +243,6 @@ of the class/declaration from it. -.. _`pygccxml`: ./pygccxml.html + .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pygccxml_dev/docs/users.rest =================================================================== --- pygccxml_dev/docs/users.rest 2009-02-02 19:04:21 UTC (rev 1651) +++ pygccxml_dev/docs/users.rest 2009-02-02 20:40:36 UTC (rev 1652) @@ -21,16 +21,14 @@ - http://cysquatch.net/blog/2007/09/01/c-code-metrics-with-pygccxml - `pygccxml`_ is used to calculate the Weighted Methods per Class (WMC) metric. + :doc:`pygccxml <pygccxml>` is used to calculate the Weighted Methods per Class (WMC) metric. - http://www.garagegames.com/blogs/4280/13907 - `pygccxml`_ is used to generate input files for `SIP`_ code generator. + :doc:`pygccxml <pygccxml>` is used to generate input files for `SIP`_ code generator. .. _`SIP` : http://www.riverbankcomputing.com/software/sip/intro - http://blogs.sun.com/thorsten/entry/more_on_source_code_grokking Short listing of C++ parsers and their description. - - .. _`pygccxml` : ./pygccxml.html Modified: pygccxml_dev/pygccxml/declarations/__init__.py =================================================================== --- pygccxml_dev/pygccxml/declarations/__init__.py 2009-02-02 19:04:21 UTC (rev 1651) +++ pygccxml_dev/pygccxml/declarations/__init__.py 2009-02-02 20:40:36 UTC (rev 1652) @@ -233,29 +233,29 @@ #make matchers to look more like functors or_matcher = or_matcher_t -"""see :class:or_matcher for documentation""" +"""see :class:`or_matcher_t` for documentation""" and_matcher = and_matcher_t -"""see :class:and_matcher for documentation""" +"""see :class:`and_matcher_t` for documentation""" not_matcher = not_matcher_t -"""see :class:not_matcher for documentation""" +"""see :class:`not_matcher_t` for documentation""" declaration_matcher = declaration_matcher_t -"""see :class:declaration_matcher for documentation""" +"""see :class:`declaration_matcher_t` for documentation""" calldef_matcher = calldef_matcher_t -"""see :class:calldef_matcher for documentation""" +"""see :class:`calldef_matcher_t` for documentation""" namespace_matcher = namespace_matcher_t -"""see :class:namespace_matcher for documentation""" +"""see :class:`namespace_matcher_t` for documentation""" variable_matcher = variable_matcher_t -"""see :class:variable_matcher for documentation""" +"""see :class:`variable_matcher_t` for documentation""" regex_matcher = regex_matcher_t -"""see :class:regex_matcher for documentation""" +"""see :class:`regex_matcher_t` for documentation""" access_type_matcher = access_type_matcher_t -"""see :class:access_type_matcher for documentation""" +"""see :class:`access_type_matcher_t` for documentation""" operator_matcher = operator_matcher_t -"""see :class:operator_matcher for documentation""" +"""see :class:`operator_matcher_t` for documentation""" custom_matcher = custom_matcher_t -"""see :class:custom_matcher for documentation""" +"""see :class:`custom_matcher_t` for documentation""" virtuality_type_matcher = virtuality_type_matcher_t -"""see :class:virtuality_type_matcher for documentation""" +"""see :class:`virtuality_type_matcher_t` for documentation""" from matcher import matcher Modified: pygccxml_dev/pygccxml/declarations/algorithm.py =================================================================== --- pygccxml_dev/pygccxml/declarations/algorithm.py 2009-02-02 19:04:21 UTC (rev 1651) +++ pygccxml_dev/pygccxml/declarations/algorithm.py 2009-02-02 20:40:36 UTC (rev 1652) @@ -12,7 +12,7 @@ returns a list of parent declarations names :param decl: declaration for which declaration path should be calculated - :type decl: :class:declaration_t + :type decl: :class:`declaration_t` :rtype: [names], where first item contains top parent name and last item contains decl name @@ -42,7 +42,7 @@ have default value :param decl: declaration for which declaration path should be calculated - :type decl: :class:declaration_t + :type decl: :class:`declaration_t` :rtype: [names], where first item contains top parent name and last item contains decl name @@ -75,9 +75,9 @@ returns a reference to a named parent declaration :param decl: the child declaration - :type decl: :class:declaration_t + :type decl: :class:`declaration_t` - :rtype: reference to :class:declaration_t or None if not found + :rtype: reference to :class:`declaration_t` or None if not found """ if not decl: return None @@ -100,8 +100,8 @@ returns declaration full qualified name If `decl` belongs to anonymious namespace or class, the function will return C++ illegal qualified name. - :param decl: :class:declaration_t - :type decl: :class:declaration_t + :param decl: :class:`declaration_t` + :type decl: :class:`declaration_t` :rtype: full name of declarations. """ if None is decl: @@ -121,7 +121,7 @@ converts tree representation of declarations to flatten one. :param decl_or_decls: reference to list of declaration's or single declaration - :type decl_or_decls: :class:declaration_t or [ :class:declaration_t ] + :type decl_or_decls: :class:`declaration_t` or [ :class:`declaration_t` ] :rtype: [ all internal declarations ] """ @@ -152,7 +152,7 @@ converts tree representation of declarations to flatten one. :param decl_or_decls: reference to list of declaration's or single declaration - :type decl_or_decls: :class:declaration_t or [ :class:declaration_t ] + :type decl_or_decls: :class:`declaration_t` or [ :class:`declaration_t` ] :rtype: [ all internal declarations ] """ @@ -191,7 +191,7 @@ helper class for different search algorithms. This class will help developer to match declaration by: - - declaration type, for example :class:class_t or L{operator_t}. + - declaration type, for example :class:`class_t` or :class:`operator_t`. - declaration name - declaration full name - reference to parent declaration @@ -208,7 +208,7 @@ returns True if inst do match one of specified criteria :param inst: declaration instance - :type inst: :class:declaration_t + :type inst: :class:`declaration_t` :rtype: bool """ @@ -239,7 +239,7 @@ """ returns a list of all declarations that match criteria, defined by developer - For more information about arguments see :class:match_declaration_t class. + For more information about arguments see :class:`match_declaration_t` class. :rtype: [ matched declarations ] """ @@ -261,9 +261,9 @@ returns single declaration that match criteria, defined by developer. If more the one declaration was found None will be returned. - For more information about arguments see :class:match_declaration_t class. + For more information about arguments see :class:`match_declaration_t` class. - :rtype: matched declaration :class:declaration_t or None + :rtype: matched declaration :class:`declaration_t` or None """ decl = find_all_declarations( declarations, type=type, name=name, parent=parent, recursive=recursive, fullname=fullname ) if len( decl ) == 1: @@ -273,9 +273,9 @@ """ returns first declaration that match criteria, defined by developer - For more information about arguments see :class:match_declaration_t class. + For more information about arguments see :class:`match_declaration_t` class. - :rtype: matched declaration :class:declaration_t or None + :rtype: matched declaration :class:`declaration_t` or None """ matcher = match_declaration_t(type, name, fullname, parent) if recursive: @@ -295,7 +295,7 @@ contains all file names of declarations. :param decl_or_decls: reference to list of declaration's or single declaration - :type decl_or_decls: :class:declaration_t or [ :class:declaration_t ] + :type decl_or_decls: :class:`declaration_t` or [ :class:`declaration_t` ] :rtype: set( declaration file names ) """ @@ -308,7 +308,7 @@ class visit_function_has_not_been_found_t( RuntimeError ): """ - exception that is raised, from L{apply_visitor}, when a visitor could not be + exception that is raised, from :function:`apply_visitor`, when a visitor could not be applied. """ @@ -325,7 +325,7 @@ applies a visitor on declaration instance :param visitor: instance - :type visitor: L{type_visitor_t} or L{decl_visitor_t} + :type visitor: :class:`type_visitor_t` or :class:`decl_visitor_t` """ fname = 'visit_' + decl_inst.__class__.__name__[:-2] #removing '_t' from class name if not hasattr(visitor, fname ): Modified: pygccxml_dev/pygccxml/declarations/call_invocation.py =================================================================== --- pygccxml_dev/pygccxml/declarations/call_invocation.py 2009-02-02 19:04:21 UTC (rev 1651) +++ pygccxml_dev/pygccxml/declarations/call_invocation.py 2009-02-02 20:40:36 UTC (rev 1652) @@ -61,7 +61,7 @@ finds arguments within function invocation. :type text: str - :rtype: [ arguments ] or L{NOT_FOUND} if arguments could not be found + :rtype: [ arguments ] or :data:NOT_FOUND if arguments could not be found """ global __THE_PARSER return __THE_PARSER.find_args( text, start ) Modified: pygccxml_dev/pygccxml/declarations/calldef.py =================================================================== --- pygccxml_dev/pygccxml/declarations/calldef.py 2009-02-02 19:04:21 UTC (rev 1651) +++ pygccxml_dev/pygccxml/declarations/calldef.py 2009-02-02 20:40:36 UTC (rev 1652) @@ -139,8 +139,7 @@ def _set_type(self, type): self._type = type type = property( _get_type, _set_type - , doc="""The type of the argument. - @type: :class:type_t""") + , doc="""The argument :class:`type <type_t>`""") def _get_attributes( self ): return self._attributes @@ -198,7 +197,7 @@ self._arguments = arguments arguments = property( _get_arguments , _set_arguments , doc="""The argument list. - @type: list of :class:argument_t""") + @type: list of :class:`argument_t`""") @property def has_ellipsis( self ): @@ -241,7 +240,7 @@ self._exceptions = exceptions exceptions = property( _get_exceptions, _set_exceptions , doc="""The list of exceptions. - @type: list of :class:declaration_t""") + @type: list of :class:`declaration_t`""") def _get_return_type(self): return self._return_type @@ -249,13 +248,13 @@ self._return_type = return_type return_type = property( _get_return_type, _set_return_type , doc='''The type of the return value of the "callable" or None (constructors). - @type: :class:type_t + @type: :class:`type_t` ''') @property def overloads(self): """A list of overloaded "callables" (i.e. other callables with the same name within the same scope. - @type: list of L{calldef_t} + @type: list of :class:`calldef_t` """ if not self.parent: return [] @@ -364,7 +363,7 @@ self._calling_convention = cc calling_convention = property( get_calling_convention, set_calling_convention - , doc="function calling convention. See L{CALLING_CONVENTION_TYPES} class for possible values" ) + , doc="function calling convention. See :class:CALLING_CONVENTION_TYPES class for possible values" ) #Second level in hierarchy of calldef @@ -417,7 +416,7 @@ assert virtuality in VIRTUALITY_TYPES.ALL self._virtuality = virtuality virtuality = property( get_virtuality, set_virtuality - , doc="""Describes the "virtuality" of the member (as defined by the string constants in the class L{VIRTUALITY_TYPES}). + , doc="""Describes the "virtuality" of the member (as defined by the string constants in the class :class:VIRTUALITY_TYPES). @type: str""") def _get_access_type(self): @@ -441,7 +440,7 @@ , doc="""describes, whether "callable" has static modifier or not""") def function_type(self): - """returns function type. See :class:type_t hierarchy""" + """returns function type. See :class:`type_t` hierarchy""" if self.has_static: return cpptypes.free_function_type_t( return_type=self.return_type , arguments_types=[ arg.type for arg in self.arguments ] ) @@ -495,7 +494,7 @@ return [] def function_type(self): - """returns function type. See :class:type_t hierarchy""" + """returns function type. See :class:`type_t` hierarchy""" return cpptypes.free_function_type_t( return_type=self.return_type , arguments_types=[ arg.type for arg in self.arguments ] ) Modified: pygccxml_dev/pygccxml/declarations/class_declaration.py =================================================================== --- pygccxml_dev/pygccxml/declarations/class_declaration.py 2009-02-02 19:04:21 UTC (rev 1651) +++ pygccxml_dev/pygccxml/declarations/class_declaration.py 2009-02-02 20:40:36 UTC (rev 1652) @@ -83,7 +83,7 @@ assert( isinstance( new_related_class, class_t ) ) self._related_class = new_related_class related_class = property( _get_related_class, _set_related_class - , doc="reference to base or derived L{class<class_t>}") + , doc="reference to base or derived :class:`class <class_t>`") def _get_access(self): return self._access @@ -92,7 +92,7 @@ self._access = new_access access = property( _get_access, _set_access ) access_type = property( _get_access, _set_access - , doc="describes L{hierarchy type<ACCESS_TYPES>}") + , doc="describes :class:`hierarchy type <ACCESS_TYPES>`") #TODO: check whether GCC XML support this and if so parser this information def _get_is_virtual(self): @@ -124,11 +124,11 @@ def _set_aliases( self, new_aliases ): self._aliases = new_aliases aliases = property( _get_aliases, _set_aliases - , doc="List of L{aliases<typedef_t>} to this instance") + , doc="List of :class:`aliases <typedef_t>` to this instance") @property def container_traits( self ): - """reference to L{container traits<container_traits.py>} or None""" + """reference to :class:`container_traits_impl_t` or None""" if self._container_traits_set == False: import container_traits #prevent cyclic dependencies self._container_traits_set = True @@ -231,18 +231,18 @@ assert( new_class_type in CLASS_TYPES.ALL ) self._class_type = new_class_type class_type = property( _get_class_type, _set_class_type - , doc="describes class L{type<CLASS_TYPES>}") + , doc="describes class :class:`type <CLASS_TYPES>`") def _get_bases(self): return self._bases def _set_bases( self, new_bases ): self._bases = new_bases bases = property( _get_bases, _set_bases - , doc="list of L{base classes<hierarchy_info_t>}") + , doc="list of :class:`base classes <hierarchy_info_t>`") @property def recursive_bases(self): - """list of all L{base classes<hierarchy_info_t>}""" + """list of all :class:`base classes <hierarchy_info_t>`""" if self._recursive_bases is None: to_go = self.bases[:] all_bases = [] @@ -259,11 +259,11 @@ def _set_derived( self, new_derived ): self._derived = new_derived derived = property( _get_derived, _set_derived - , doc="list of L{derived classes<hierarchy_info_t>}") + , doc="list of :class:`derived classes <hierarchy_info_t>`") @property def recursive_derived(self): - """list of all L{derive classes<hierarchy_info_t>}""" + """list of all :class:`derive classes <hierarchy_info_t>`""" if self._recursive_derived is None: to_go = self.derived[:] all_derived = [] @@ -334,7 +334,7 @@ def _set_aliases( self, new_aliases ): self._aliases = new_aliases aliases = property( _get_aliases, _set_aliases - , doc="List of L{aliases<typedef_t>} to this instance") + , doc="List of :class:`aliases <typedef_t>` to this instance") def _get_byte_size(self): return self._byte_size @@ -384,7 +384,7 @@ def adopt_declaration( self, decl, access ): """adds new declaration to the class - :param decl: reference to a L{declaration<declaration_t>} + :param decl: reference to a :class:`declaration_t` :param access: member access type :type access: :class:ACCESS_TYPES @@ -406,7 +406,7 @@ removes decl from members list :param decl: declaration to be removed - :type decl: :class:declaration_t + :type decl: :class:`declaration_t` """ container = None access_type = self.find_out_member_access_type( decl ) @@ -424,7 +424,7 @@ returns member access type :param member: member of the class - :type member: :class:declaration_t + :type member: :class:`declaration_t` :rtype: :class:ACCESS_TYPES """ @@ -470,7 +470,7 @@ @property def container_traits( self ): - """reference to L{container traits<container_traits.py>} or None""" + """reference to :class:`container_traits_impl_t` or None""" if self._container_traits_set == False: import container_traits #prevent cyclic dependencies self._container_traits_set = True Modified: pygccxml_dev/pygccxml/declarations/cpptypes.py =================================================================== --- pygccxml_dev/pygccxml/declarations/cpptypes.py 2009-02-02 19:04:21 UTC (rev 1651) +++ pygccxml_dev/pygccxml/declarations/cpptypes.py 2009-02-02 20:40:36 UTC (rev 1652) @@ -80,7 +80,7 @@ class dummy_type_t( type_t ): - """provides :class:type_t interface for a string, that defines C++ type. + """provides :class:`type_t` interface for a string, that defines C++ type. This class could be very useful in the code generator. """ @@ -467,14 +467,14 @@ def _set_return_type(self, new_return_type): self._return_type = new_return_type return_type = property( _get_return_type, _set_return_type - , doc="reference to L{return type<type_t>}") + , doc="reference to :class:`return type <type_t>`") def _get_arguments_types(self): return self._arguments_types def _set_arguments_types(self, new_arguments_types): self._arguments_types = new_arguments_types arguments_types = property( _get_arguments_types, _set_arguments_types - , doc="list of argument L{types<type_t>}") + , doc="list of argument :class:`types <type_t>`") @property def has_ellipsis( self ): @@ -495,11 +495,9 @@ returns free function type :param return_type: function return type - :type return_type: :class:type_t - + :type return_type: :class:`type_t` :param arguments_types: list of argument :class:`type <type_t>` - - :rtype: L{free_function_type_t} + :rtype: :class:`free_function_type_t` """ f = lambda x: x.build_decl_string( with_defaults ) return free_function_type_t.NAME_TEMPLATE % { @@ -552,7 +550,7 @@ def _set_class_inst(self, class_inst ): self._class_inst = class_inst class_inst = property( _get_class_inst, _set_class_inst - ,doc="reference to parent L{class<declaration_t>}" ) + ,doc="reference to parent :class:`class <declaration_t>`" ) #TODO: create real typedef def create_typedef( self, typedef_name, class_alias=None, with_defaults=True): @@ -644,7 +642,7 @@ ## declarated types: class declarated_t( type_t ): - """class that binds between to hierarchies: :class:type_t and :class:declaration_t""" + """class that binds between to hierarchies: :class:`type_t` and :class:`declaration_t`""" def __init__( self, declaration ): type_t.__init__( self ) self._declaration = declaration @@ -654,7 +652,7 @@ def _set_declaration(self, new_declaration): self._declaration = new_declaration declaration = property( _get_declaration, _set_declaration - , doc="reference to L{declaration<declaration_t>}") + , doc="reference to :class:`declaration_t`") def build_decl_string(self, with_defaults=True): if with_defaults: Modified: pygccxml_dev/pygccxml/declarations/declaration.py =================================================================== --- pygccxml_dev/pygccxml/declarations/declaration.py 2009-02-02 19:04:21 UTC (rev 1651) +++ pygccxml_dev/pygccxml/declarations/declaration.py 2009-02-02 20:40:36 UTC (rev 1652) @@ -200,7 +200,7 @@ self._location = new_location location = property( _get_location, _set_location , doc="""Location of the declaration within source file - @type: L{location_t} + @type: :class:`location_t` """) def _get_is_artificial( self ): @@ -268,7 +268,7 @@ def cache( self ): """implementation details - reference to instance of L{algorithms_cache.algorithms_cache_t} class. + reference to instance of :class:`algorithms_cache_t` class. """ return self._cache Modified: pygccxml_dev/pygccxml/declarations/matchers.py =================================================================== --- pygccxml_dev/pygccxml/declarations/matchers.py 2009-02-02 19:04:21 UTC (rev 1651) +++ pygccxml_dev/pygccxml/declarations/matchers.py 2009-02-02 20:40:36 UTC (rev 1652) @@ -112,13 +112,13 @@ - declaration name, also could be fully qualified name Example: wstring or ::std::wstring - declaration type - Example: :class:class_t, :class:namespace_t, :class:enumeration_t + Example: :class:`class_t`, :class:`namespace_t`, :class:`enumeration_t` - location within file system ( file or directory ) """ def __init__( self, name=None, decl_type=None, header_dir=None, header_file=None ): """ - :param decl_type: declaration type to match by. For example :class:enumeration_t. - :type decl_type: any class that derives from L{declarations.declaration_t} class + :param decl_type: declaration type to match by. For example :class:`enumeration_t`. + :type decl_type: any class that derives from :class:`declaration_t` class :param name: declaration name, could be full name. :type name: str @@ -259,13 +259,13 @@ class variable_matcher_t( declaration_matcher_t ): """ Instance of this class will match variables by next criteria: - - :class:declaration_matcher_t criteria - - variable type. Example: L{int_t} or 'int' + - :class:`declaration_matcher_t` criteria + - variable type. Example: :class:`int_t` or 'int' """ def __init__( self, name=None, type=None, header_dir=None, header_file=None ): """ :param type: variable type - :type type: string or instance of :class:type_t derived class + :type type: string or instance of :class:`type_t` derived class """ declaration_matcher_t.__init__( self , name=name @@ -315,18 +315,18 @@ class calldef_matcher_t( declaration_matcher_t ): """ Instance of this class will match callable by next criteria: - - :class:declaration_matcher_t criteria - - return type. Example: L{int_t} or 'int' + - :class:`declaration_matcher_t` criteria + - return type. Example: :class:`int_t` or 'int' - argument types """ def __init__( self, name=None, return_type=None, arg_types=None, decl_type=None, header_dir=None, header_file=None): """ :param return_type: callable return type - :type return_type: string or instance of :class:type_t derived class + :type return_type: string or instance of :class:`type_t` derived class :param arg_types: list of function argument types. arg_types can contain. - Any item within the list could be string or instance of :class:type_t derived + Any item within the list could be string or instance of :class:`type_t` derived class. If you don't want some argument to participate in match you can put None. For example: @@ -397,7 +397,7 @@ class operator_matcher_t( calldef_matcher_t ): """ Instance of this class will match operators by next criteria: - - L{calldef_matcher_t} criteria + - :class:`calldef_matcher_t` criteria - operator symbol: =, !=, (), [] and etc """ def __init__( self, name=None, symbol=None, return_type=None, arg_types=None, decl_type=None, header_dir=None, header_file=None): @@ -499,7 +499,7 @@ def __init__( self, virtuality_type ): """ :param access_type: declaration access type - :type access_type: L{VIRTUALITY_TYPES} defines few consts for your convinience. + :type access_type: :class:VIRTUALITY_TYPES defines few consts for your convinience. """ matcher_base_t.__init__( self ) self.virtuality_type = virtuality_type Modified: pygccxml_dev/pygccxml/declarations/mdecl_wrapper.py =================================================================== --- pygccxml_dev/pygccxml/declarations/mdecl_wrapper.py 2009-02-02 19:04:21 UTC (rev 1651) +++ pygccxml_dev/pygccxml/declarations/mdecl_wrapper.py 2009-02-02 20:40:36 UTC (rev 1652) @@ -4,10 +4,10 @@ # http://www.boost.org/LICENSE_1_0.txt) """ -defines class L{mdecl_wrapper_t} that allows to work on set of declarations, +defines class :class:`mdecl_wrapper_t` that allows to work on set of declarations, as it was one declaration. -The L{class<mdecl_wrapper_t>} allows user to not write "for" loops within the code. +The :class:`class <mdecl_wrapper_t>` allows user to not write "for" loops within the code. """ import os @@ -46,7 +46,7 @@ def __init__( self, decls ): """:param decls: list of declarations to operate on. - :type decls: list of L{declaration wrappers<decl_wrapper_t>} + :type decls: list of :class:`declaration wrappers <decl_wrapper_t>` """ object.__init__( self ) self.__dict__['declarations'] = decls Modified: pygccxml_dev/pygccxml/declarations/namespace.py =================================================================== --- pygccxml_dev/pygccxml/declarations/namespace.py 2009-02-02 19:04:21 UTC (rev 1651) +++ pygccxml_dev/pygccxml/declarations/namespace.py 2009-02-02 20:40:36 UTC (rev 1652) @@ -58,7 +58,7 @@ removes decl from members list :param decl: declaration to be removed - :type decl: :class:declaration_t + :type decl: :class:`declaration_t` """ del self.declarations[ self.declarations.index( decl ) ] decl.cache.reset() Modified: pygccxml_dev/pygccxml/declarations/scopedef.py =================================================================== --- pygccxml_dev/pygccxml/declarations/scopedef.py 2009-02-02 19:04:21 UTC (rev 1651) +++ pygccxml_dev/pygccxml/declarations/scopedef.py 2009-02-02 20:40:36 UTC (rev 1652) @@ -53,7 +53,7 @@ Example 2: :: ns - referers to global namespace do_smths = ns.member_functions( "do_something ) - will return instance - of L{mdecl_wrapper_t} object. This object allows you few things: + of :class:`mdecl_wrapper_t` object. This object allows you few things: 1. To iterate on selected declarations @@ -129,7 +129,7 @@ return self._all_decls_not_recursive else: return self._get_declarations_impl() - declarations = property( _get_declarations, doc="list of children L{declarations<declaration_t>}" ) + declarations = property( _get_declarations, doc="list of children :class:`declarations <declaration_t>`" ) def remove_declaration( self, decl ): raise NotImplementedError() Modified: pygccxml_dev/pygccxml/declarations/templates.py =================================================================== --- pygccxml_dev/pygccxml/declarations/templates.py 2009-02-02 19:04:21 UTC (rev 1651) +++ pygccxml_dev/pygccxml/declarations/templates.py 2009-02-02 20:40:36 UTC (rev 1652) @@ -12,7 +12,7 @@ - name ( std::vector ) - list of arguments ( int ) -This module also defines few convenience function like L{split} and L{join}. +This module also defines few convenience function like :function:split and :function:join. """ import pattern_parser Modified: pygccxml_dev/pygccxml/declarations/type_traits.py =================================================================== --- pygccxml_dev/pygccxml/declarations/type_traits.py 2009-02-02 19:04:21 UTC (rev 1651) +++ pygccxml_dev/pygccxml/declarations/type_traits.py 2009-02-02 20:40:36 UTC (rev 1652) @@ -12,7 +12,7 @@ - modify type Those functions are very valuable for code generation. Almost all functions -within this module works on :class:type_t class hierarchy and\\or :class:class_t. +within this module works on :class:`type_t` class hierarchy and\\or :class:class_t. """ import os @@ -252,9 +252,9 @@ return nake_type.base def remove_declarated( type_ ): - """removes type-declaration class-binder L{declarated_t} from the type_ + """removes type-declaration class-binder :class:`declarated_t` from the type_ - If type_ is not L{declarated_t}, it will be returned as is + If type_ is not :class:`declarated_t`, it will be returned as is """ type_ = remove_alias( type_ ) if isinstance( type_, cpptypes.declarated_t ): Modified: pygccxml_dev/pygccxml/declarations/variable.py =================================================================== --- pygccxml_dev/pygccxml/declarations/variable.py 2009-02-02 19:04:21 UTC (rev 1651) +++ pygccxml_dev/pygccxml/declarations/variable.py 2009-02-02 20:40:36 UTC (rev 1652) @@ -48,7 +48,7 @@ def _set_type_qualifiers(self, type_qualifiers): self._type_qualifiers = type_qualifiers type_qualifiers = property( _get_type_qualifiers, _set_type_qualifiers - , doc="reference to the L{type_qualifiers_t} instance" ) + , doc="reference to the :class:`type_qualifiers_t` instance" ) def _get_value(self): return self._value Modified: pyplusplus_dev/docs/comparisons/pyste.rest =================================================================== --- pyplusplus_dev/docs/comparisons/pyste.rest 2009-02-02 19:04:21 UTC (rev 1651) +++ pyplusplus_dev/docs/comparisons/pyste.rest 2009-02-02 20:40:36 UTC (rev 1652) @@ -51,7 +51,7 @@ 2. It is very difficult to customize generated code. I will provide few examples later. -I tried to fix `Pyste`_. At first, I developed `pygccxml`_ and tried to replace +I tried to fix `Pyste`_. At first, I developed :doc:`pygccxml <../../pygccxml/pygccxml>` and tried to replace relevant `Pyste`_ functionality. I did not like the result. After this, I dropped the idea to fix `Pyste`_ and decided to develop new code generator - `Py++`_. Later you will find few points, which explains, why I decided not to fix `Pyste`_. @@ -156,7 +156,7 @@ One of the biggest weaknesses of `Pyste`_ is a lack of good `GCC-XML`_ front-end and this fact cause `Pyste`_ to generate not optimal code. I will prove this later. In order to avoid such weakness, before I have created `Py++`_, -I created `pygccxml`_. `pygccxml`_ is a stand-alone project, which provides few +I created :doc:`pygccxml <../../pygccxml/pygccxml>`. :doc:`pygccxml <../../pygccxml/pygccxml>` is a stand-alone project, which provides few things: * hierarchy of C++ declarations @@ -170,13 +170,13 @@ + every file will be parsed alone, after this, duplicated declarations and types will be removed -`pygccxml`_ contributes in few ways to `Py++`_: +:doc:`pygccxml <../../pygccxml/pygccxml>` contributes in few ways to `Py++`_: + `Py++`_ has nothing to do with code parsing. Theoretically - an other back-end could be added to `pygccxml`_ without changing even one + an other back-end could be added to :doc:`pygccxml <../../pygccxml/pygccxml>` without changing even one line of code within `Py++`_. - + `pygccxml`_ has type traits. A lot of type traits algorithms from + + :doc:`pygccxml <../../pygccxml/pygccxml>` has type traits. A lot of type traits algorithms from `boost.type_traits`_ library has been implemented. `Py++`_ makes an extensive use of them: @@ -215,7 +215,7 @@ 3. Maintenance. Every time you add new file\\class to your project you should modify\\create `Pyste`_ interface files. - They are solved by `pygccxml`_ package. Please take a look on `pygccxml`_ + They are solved by :doc:`pygccxml <../../pygccxml/pygccxml>` package. Please take a look on :doc:`pygccxml <../../pygccxml/pygccxml>` `query interface`__ documentation. .. __ : ./../../pygccxml/query_interface.html @@ -282,7 +282,7 @@ ------------ Both `Pyste`_ and `Py++`_ introduce one external dependency. In order to parse XML `Pyste`_ uses `elementtree`_. On the other side `Py++`_ -depends on `pygccxml`_ project. +depends on :doc:`pygccxml <../../pygccxml/pygccxml>` project. ------------- Features list @@ -424,7 +424,6 @@ .. _`screenshot` : ./../documentation/tutorials/pyplusplus_gui.html .. _`Py++` : ./../pyplusplus.html -.. _`pygccxml` : ./../../pygccxml/pygccxml.html .. _`Pyste`: http://www.boost.org/libs/python/doc/index.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`SourceForge`: http://sourceforge.net/index.php Modified: pyplusplus_dev/docs/documentation/architecture.rest =================================================================== --- pyplusplus_dev/docs/documentation/architecture.rest 2009-02-02 19:04:21 UTC (rev 1651) +++ pyplusplus_dev/docs/documentation/architecture.rest 2009-02-02 20:40:36 UTC (rev 1652) @@ -23,7 +23,7 @@ On the earlier stage of the development, I realized, that all this functionality does not belong to code generator and should be implemented out side of it. -`pygccxml`_ project was born. `pygccxml`_ made the code generator to be smaller +:doc:`pygccxml <../../pygccxml/pygccxml>` project was born. :doc:`pygccxml <../../pygccxml/pygccxml>` made the code generator to be smaller and C++ parser independent. It provides the following services: * definition of classes, that describe C++ declaration and types, and their @@ -55,7 +55,7 @@ Parsing integration ~~~~~~~~~~~~~~~~~~~ -`Py++`_ provides it's own "API" to configure `pygccxml`_ parsing services. The +`Py++`_ provides it's own "API" to configure :doc:`pygccxml <../../pygccxml/pygccxml>` parsing services. The "API" I am talking about, is arguments to ``module_builder.__init__`` method. We think, that exposing those services via `Py++`_ simplifies its usage. @@ -131,7 +131,7 @@ * provides user with additional information( warnings and hints ) -* as a bonus, `pygccxml`_ remained to be stand-alone project +* as a bonus, :doc:`pygccxml <../../pygccxml/pygccxml>` remained to be stand-alone project ---------------------- Code generation engine @@ -323,7 +323,6 @@ .. _`open-closed principle` : http://www.google.com/search?sourceid=gmail&q=open%20closed%20principle .. _`Py++` : ./../pyplusplus.html -.. _`pygccxml` : ./../../pygccxml/pygccxml.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/ctypes/ctypes_integration.rest =================================================================== --- pyplusplus_dev/docs/documentation/ctypes/ctypes_integration.rest 2009-02-02 19:04:21 UTC (rev 1651) +++ pyplusplus_dev/docs/documentation/ctypes/ctypes_integration.rest 2009-02-02 20:40:36 UTC (rev 1652) @@ -94,7 +94,6 @@ .. _`ctypes` : http://docs.python.org/lib/module-ctypes.html .. _`from_address` : http://docs.python.org/lib/ctypes-data-types.html .. _`Py++` : ./../../pyplusplus.html -.. _`pygccxml` : ./../../../pygccxml/pygccxml.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/ctypes/this_and_sizeof.rest =================================================================== --- pyplusplus_dev/docs/documentation/ctypes/this_and_sizeof.rest 2009-02-02 19:04:21 UTC (rev 1651) +++ pyplusplus_dev/docs/documentation/ctypes/this_and_sizeof.rest 2009-02-02 20:40:36 UTC (rev 1652) @@ -38,7 +38,6 @@ .. _`ctypes` : http://docs.python.org/lib/module-ctypes.html .. _`from_address` : http://docs.python.org/lib/ctypes-data-types.html .. _`Py++` : ./../../pyplusplus.html -.. _`pygccxml` : ./../../../pygccxml/pygccxml.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org .. _`GCC-XML`: http://www.gccxml.org Modified: pyplusplus_dev/docs/documentation/ctypes/unions.rest =================================================================== --- pyplusplus_dev/docs/documentation/ctypes/unions.rest 2009-02-02 19:04:21 UTC (rev 1651) +++ pyplusplus_dev/docs/documentation/ctypes/unions.rest 2009-02-02 20:40:36 UTC (rev 1652) @@ -66,7 +66,6 @@ .. _`ctypes` : http://docs.pyth... [truncated message content] |
From: <rom...@us...> - 2009-02-02 19:04:26
|
Revision: 1651 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1651&view=rev Author: roman_yakovenko Date: 2009-02-02 19:04:21 +0000 (Mon, 02 Feb 2009) Log Message: ----------- sphinx - correct documentation string Modified Paths: -------------- pygccxml_dev/pygccxml/declarations/__init__.py pygccxml_dev/pygccxml/declarations/algorithm.py pygccxml_dev/pygccxml/declarations/calldef.py pygccxml_dev/pygccxml/declarations/class_declaration.py pygccxml_dev/pygccxml/declarations/cpptypes.py pygccxml_dev/pygccxml/declarations/matchers.py pygccxml_dev/pygccxml/declarations/namespace.py pygccxml_dev/pygccxml/declarations/type_traits.py pygccxml_dev/pygccxml/declarations/typedef.py pygccxml_dev/pygccxml/declarations/variable.py Modified: pygccxml_dev/pygccxml/declarations/__init__.py =================================================================== --- pygccxml_dev/pygccxml/declarations/__init__.py 2009-02-02 18:31:43 UTC (rev 1650) +++ pygccxml_dev/pygccxml/declarations/__init__.py 2009-02-02 19:04:21 UTC (rev 1651) @@ -233,29 +233,29 @@ #make matchers to look more like functors or_matcher = or_matcher_t -"""see L{or_matcher} for documentation""" +"""see :class:or_matcher for documentation""" and_matcher = and_matcher_t -"""see L{and_matcher} for documentation""" +"""see :class:and_matcher for documentation""" not_matcher = not_matcher_t -"""see L{not_matcher} for documentation""" +"""see :class:not_matcher for documentation""" declaration_matcher = declaration_matcher_t -"""see L{declaration_matcher} for documentation""" +"""see :class:declaration_matcher for documentation""" calldef_matcher = calldef_matcher_t -"""see L{calldef_matcher} for documentation""" +"""see :class:calldef_matcher for documentation""" namespace_matcher = namespace_matcher_t -"""see L{namespace_matcher} for documentation""" +"""see :class:namespace_matcher for documentation""" variable_matcher = variable_matcher_t -"""see L{variable_matcher} for documentation""" +"""see :class:variable_matcher for documentation""" regex_matcher = regex_matcher_t -"""see L{regex_matcher} for documentation""" +"""see :class:regex_matcher for documentation""" access_type_matcher = access_type_matcher_t -"""see L{access_type_matcher} for documentation""" +"""see :class:access_type_matcher for documentation""" operator_matcher = operator_matcher_t -"""see L{operator_matcher} for documentation""" +"""see :class:operator_matcher for documentation""" custom_matcher = custom_matcher_t -"""see L{custom_matcher} for documentation""" +"""see :class:custom_matcher for documentation""" virtuality_type_matcher = virtuality_type_matcher_t -"""see L{virtuality_type_matcher} for documentation""" +"""see :class:virtuality_type_matcher for documentation""" from matcher import matcher Modified: pygccxml_dev/pygccxml/declarations/algorithm.py =================================================================== --- pygccxml_dev/pygccxml/declarations/algorithm.py 2009-02-02 18:31:43 UTC (rev 1650) +++ pygccxml_dev/pygccxml/declarations/algorithm.py 2009-02-02 19:04:21 UTC (rev 1651) @@ -12,7 +12,7 @@ returns a list of parent declarations names :param decl: declaration for which declaration path should be calculated - :type decl: L{declaration_t} + :type decl: :class:declaration_t :rtype: [names], where first item contains top parent name and last item contains decl name @@ -42,7 +42,7 @@ have default value :param decl: declaration for which declaration path should be calculated - :type decl: L{declaration_t} + :type decl: :class:declaration_t :rtype: [names], where first item contains top parent name and last item contains decl name @@ -75,9 +75,9 @@ returns a reference to a named parent declaration :param decl: the child declaration - :type decl: L{declaration_t} + :type decl: :class:declaration_t - :rtype: reference to L{declaration_t} or None if not found + :rtype: reference to :class:declaration_t or None if not found """ if not decl: return None @@ -97,12 +97,11 @@ def full_name( decl, with_defaults=True ): """ - returns full name of the declaration - :param decl: declaration for which full name should be calculated. If decl - belongs to unnamed namespace, then L{full_name} is not valid C++ full name. - - :type decl: L{declaration_t} - + returns declaration full qualified name + + If `decl` belongs to anonymious namespace or class, the function will return C++ illegal qualified name. + :param decl: :class:declaration_t + :type decl: :class:declaration_t :rtype: full name of declarations. """ if None is decl: @@ -122,7 +121,7 @@ converts tree representation of declarations to flatten one. :param decl_or_decls: reference to list of declaration's or single declaration - :type decl_or_decls: L{declaration_t} or [ L{declaration_t} ] + :type decl_or_decls: :class:declaration_t or [ :class:declaration_t ] :rtype: [ all internal declarations ] """ @@ -153,7 +152,7 @@ converts tree representation of declarations to flatten one. :param decl_or_decls: reference to list of declaration's or single declaration - :type decl_or_decls: L{declaration_t} or [ L{declaration_t} ] + :type decl_or_decls: :class:declaration_t or [ :class:declaration_t ] :rtype: [ all internal declarations ] """ @@ -192,7 +191,7 @@ helper class for different search algorithms. This class will help developer to match declaration by: - - declaration type, for example L{class_t} or L{operator_t}. + - declaration type, for example :class:class_t or L{operator_t}. - declaration name - declaration full name - reference to parent declaration @@ -209,7 +208,7 @@ returns True if inst do match one of specified criteria :param inst: declaration instance - :type inst: L{declaration_t} + :type inst: :class:declaration_t :rtype: bool """ @@ -240,7 +239,7 @@ """ returns a list of all declarations that match criteria, defined by developer - For more information about arguments see L{match_declaration_t} class. + For more information about arguments see :class:match_declaration_t class. :rtype: [ matched declarations ] """ @@ -262,9 +261,9 @@ returns single declaration that match criteria, defined by developer. If more the one declaration was found None will be returned. - For more information about arguments see L{match_declaration_t} class. + For more information about arguments see :class:match_declaration_t class. - :rtype: matched declaration L{declaration_t} or None + :rtype: matched declaration :class:declaration_t or None """ decl = find_all_declarations( declarations, type=type, name=name, parent=parent, recursive=recursive, fullname=fullname ) if len( decl ) == 1: @@ -274,9 +273,9 @@ """ returns first declaration that match criteria, defined by developer - For more information about arguments see L{match_declaration_t} class. + For more information about arguments see :class:match_declaration_t class. - :rtype: matched declaration L{declaration_t} or None + :rtype: matched declaration :class:declaration_t or None """ matcher = match_declaration_t(type, name, fullname, parent) if recursive: @@ -296,7 +295,7 @@ contains all file names of declarations. :param decl_or_decls: reference to list of declaration's or single declaration - :type decl_or_decls: L{declaration_t} or [ L{declaration_t} ] + :type decl_or_decls: :class:declaration_t or [ :class:declaration_t ] :rtype: set( declaration file names ) """ Modified: pygccxml_dev/pygccxml/declarations/calldef.py =================================================================== --- pygccxml_dev/pygccxml/declarations/calldef.py 2009-02-02 18:31:43 UTC (rev 1650) +++ pygccxml_dev/pygccxml/declarations/calldef.py 2009-02-02 19:04:21 UTC (rev 1651) @@ -140,7 +140,7 @@ self._type = type type = property( _get_type, _set_type , doc="""The type of the argument. - @type: L{type_t}""") + @type: :class:type_t""") def _get_attributes( self ): return self._attributes @@ -198,7 +198,7 @@ self._arguments = arguments arguments = property( _get_arguments , _set_arguments , doc="""The argument list. - @type: list of L{argument_t}""") + @type: list of :class:argument_t""") @property def has_ellipsis( self ): @@ -241,7 +241,7 @@ self._exceptions = exceptions exceptions = property( _get_exceptions, _set_exceptions , doc="""The list of exceptions. - @type: list of L{declaration_t}""") + @type: list of :class:declaration_t""") def _get_return_type(self): return self._return_type @@ -249,7 +249,7 @@ self._return_type = return_type return_type = property( _get_return_type, _set_return_type , doc='''The type of the return value of the "callable" or None (constructors). - @type: L{type_t} + @type: :class:type_t ''') @property def overloads(self): @@ -423,7 +423,7 @@ def _get_access_type(self): return self.parent.find_out_member_access_type( self ) access_type = property( _get_access_type - , doc="""Return the access type of the member (as defined by the string constants in the class L{ACCESS_TYPES}. + , doc="""Return the access type of the member (as defined by the string constants in the class :class:ACCESS_TYPES. @type: str""") def _get_has_const(self): @@ -441,7 +441,7 @@ , doc="""describes, whether "callable" has static modifier or not""") def function_type(self): - """returns function type. See L{type_t} hierarchy""" + """returns function type. See :class:type_t hierarchy""" if self.has_static: return cpptypes.free_function_type_t( return_type=self.return_type , arguments_types=[ arg.type for arg in self.arguments ] ) @@ -495,7 +495,7 @@ return [] def function_type(self): - """returns function type. See L{type_t} hierarchy""" + """returns function type. See :class:type_t hierarchy""" return cpptypes.free_function_type_t( return_type=self.return_type , arguments_types=[ arg.type for arg in self.arguments ] ) Modified: pygccxml_dev/pygccxml/declarations/class_declaration.py =================================================================== --- pygccxml_dev/pygccxml/declarations/class_declaration.py 2009-02-02 18:31:43 UTC (rev 1650) +++ pygccxml_dev/pygccxml/declarations/class_declaration.py 2009-02-02 19:04:21 UTC (rev 1651) @@ -313,21 +313,21 @@ def _set_public_members( self, new_public_members ): self._public_members = new_public_members public_members = property( _get_public_members, _set_public_members - , doc="list of all public L{members<declaration_t>}") + , doc="list of all public :class:`members <declarationt_>`") def _get_private_members(self): return self._private_members def _set_private_members( self, new_private_members ): self._private_members = new_private_members private_members = property( _get_private_members, _set_private_members - , doc="list of all private L{members<declaration_t>}") + , doc="list of all private :class:`members <declarationt_>`") def _get_protected_members(self): return self._protected_members def _set_protected_members( self, new_protected_members ): self._protected_members = new_protected_members protected_members = property( _get_protected_members, _set_protected_members - , doc="list of all protected L{members<declaration_t>}" ) + , doc="list of all protected :class:`members <declarationt_>`" ) def _get_aliases(self): return self._aliases @@ -364,7 +364,7 @@ data will stop work and may to give you wrong results. :param access: describes desired members - :type access: L{ACCESS_TYPES} + :type access: :class:ACCESS_TYPES :rtype: [ members ] """ @@ -387,7 +387,7 @@ :param decl: reference to a L{declaration<declaration_t>} :param access: member access type - :type access: L{ACCESS_TYPES} + :type access: :class:ACCESS_TYPES """ if access == ACCESS_TYPES.PUBLIC: self.public_members.append( decl ) @@ -406,7 +406,7 @@ removes decl from members list :param decl: declaration to be removed - :type decl: L{declaration_t} + :type decl: :class:declaration_t """ container = None access_type = self.find_out_member_access_type( decl ) @@ -424,9 +424,9 @@ returns member access type :param member: member of the class - :type member: L{declaration_t} + :type member: :class:declaration_t - :rtype: L{ACCESS_TYPES} + :rtype: :class:ACCESS_TYPES """ assert member.parent is self if not member.cache.access_type: Modified: pygccxml_dev/pygccxml/declarations/cpptypes.py =================================================================== --- pygccxml_dev/pygccxml/declarations/cpptypes.py 2009-02-02 18:31:43 UTC (rev 1650) +++ pygccxml_dev/pygccxml/declarations/cpptypes.py 2009-02-02 19:04:21 UTC (rev 1651) @@ -80,7 +80,7 @@ class dummy_type_t( type_t ): - """provides L{type_t} interface for a string, that defines C++ type. + """provides :class:type_t interface for a string, that defines C++ type. This class could be very useful in the code generator. """ @@ -495,9 +495,9 @@ returns free function type :param return_type: function return type - :type return_type: L{type_t} + :type return_type: :class:type_t - :param arguments_types: list of argument L{type<type_t>} + :param arguments_types: list of argument :class:`type <type_t>` :rtype: L{free_function_type_t} """ @@ -629,7 +629,7 @@ def _set_variable_type(self, new_type): self._mv_type = new_type variable_type = property( _get_variable_type, _set_variable_type - , doc="describes member variable L{type<type_t>}") + , doc="describes member variable :class:`type <type_t>`") def build_decl_string(self, with_defaults=True): return self.NAME_TEMPLATE % { 'type' : self.variable_type.build_decl_string(with_defaults) @@ -644,7 +644,7 @@ ## declarated types: class declarated_t( type_t ): - """class that binds between to hierarchies: L{type_t} and L{declaration_t}""" + """class that binds between to hierarchies: :class:type_t and :class:declaration_t""" def __init__( self, declaration ): type_t.__init__( self ) self._declaration = declaration Modified: pygccxml_dev/pygccxml/declarations/matchers.py =================================================================== --- pygccxml_dev/pygccxml/declarations/matchers.py 2009-02-02 18:31:43 UTC (rev 1650) +++ pygccxml_dev/pygccxml/declarations/matchers.py 2009-02-02 19:04:21 UTC (rev 1651) @@ -112,12 +112,12 @@ - declaration name, also could be fully qualified name Example: wstring or ::std::wstring - declaration type - Example: L{class_t}, L{namespace_t}, L{enumeration_t} + Example: :class:class_t, :class:namespace_t, :class:enumeration_t - location within file system ( file or directory ) """ def __init__( self, name=None, decl_type=None, header_dir=None, header_file=None ): """ - :param decl_type: declaration type to match by. For example L{enumeration_t}. + :param decl_type: declaration type to match by. For example :class:enumeration_t. :type decl_type: any class that derives from L{declarations.declaration_t} class :param name: declaration name, could be full name. @@ -259,13 +259,13 @@ class variable_matcher_t( declaration_matcher_t ): """ Instance of this class will match variables by next criteria: - - L{declaration_matcher_t} criteria + - :class:declaration_matcher_t criteria - variable type. Example: L{int_t} or 'int' """ def __init__( self, name=None, type=None, header_dir=None, header_file=None ): """ :param type: variable type - :type type: string or instance of L{type_t} derived class + :type type: string or instance of :class:type_t derived class """ declaration_matcher_t.__init__( self , name=name @@ -315,7 +315,7 @@ class calldef_matcher_t( declaration_matcher_t ): """ Instance of this class will match callable by next criteria: - - L{declaration_matcher_t} criteria + - :class:declaration_matcher_t criteria - return type. Example: L{int_t} or 'int' - argument types """ @@ -323,10 +323,10 @@ def __init__( self, name=None, return_type=None, arg_types=None, decl_type=None, header_dir=None, header_file=None): """ :param return_type: callable return type - :type return_type: string or instance of L{type_t} derived class + :type return_type: string or instance of :class:type_t derived class :param arg_types: list of function argument types. arg_types can contain. - Any item within the list could be string or instance of L{type_t} derived + Any item within the list could be string or instance of :class:type_t derived class. If you don't want some argument to participate in match you can put None. For example: @@ -475,7 +475,7 @@ def __init__( self, access_type ): """ :param access_type: declaration access type - :type access_type: L{ACCESS_TYPES} defines few consts for your convinience. + :type access_type: :class:ACCESS_TYPES defines few consts for your convinience. Any way you can pass public, private or protected as argument to this function """ matcher_base_t.__init__( self ) Modified: pygccxml_dev/pygccxml/declarations/namespace.py =================================================================== --- pygccxml_dev/pygccxml/declarations/namespace.py 2009-02-02 18:31:43 UTC (rev 1650) +++ pygccxml_dev/pygccxml/declarations/namespace.py 2009-02-02 19:04:21 UTC (rev 1651) @@ -58,7 +58,7 @@ removes decl from members list :param decl: declaration to be removed - :type decl: L{declaration_t} + :type decl: :class:declaration_t """ del self.declarations[ self.declarations.index( decl ) ] decl.cache.reset() Modified: pygccxml_dev/pygccxml/declarations/type_traits.py =================================================================== --- pygccxml_dev/pygccxml/declarations/type_traits.py 2009-02-02 18:31:43 UTC (rev 1650) +++ pygccxml_dev/pygccxml/declarations/type_traits.py 2009-02-02 19:04:21 UTC (rev 1651) @@ -12,7 +12,7 @@ - modify type Those functions are very valuable for code generation. Almost all functions -within this module works on L{type_t} class hierarchy and\\or L{class_t}. +within this module works on :class:type_t class hierarchy and\\or :class:class_t. """ import os Modified: pygccxml_dev/pygccxml/declarations/typedef.py =================================================================== --- pygccxml_dev/pygccxml/declarations/typedef.py 2009-02-02 18:31:43 UTC (rev 1650) +++ pygccxml_dev/pygccxml/declarations/typedef.py 2009-02-02 19:04:21 UTC (rev 1651) @@ -32,7 +32,7 @@ def _set_type(self, type): self._type = type type = property( _get_type, _set_type - , doc="reference to the original L{type<type_t>}" ) + , doc="reference to the original :class:`type <type_t>`" ) def i_depend_on_them( self, recursive=True ): return [ dependencies.dependency_info_t( self, self.type ) ] Modified: pygccxml_dev/pygccxml/declarations/variable.py =================================================================== --- pygccxml_dev/pygccxml/declarations/variable.py 2009-02-02 18:31:43 UTC (rev 1650) +++ pygccxml_dev/pygccxml/declarations/variable.py 2009-02-02 19:04:21 UTC (rev 1651) @@ -41,7 +41,7 @@ def _set_type(self, type): self._type = type type = property( _get_type, _set_type - , doc="reference to the variable L{type<type_t>}" ) + , doc="reference to the variable :class:`type <type_t>`" ) def _get_type_qualifiers(self): return self._type_qualifiers This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2009-02-02 18:31:48
|
Revision: 1650 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1650&view=rev Author: roman_yakovenko Date: 2009-02-02 18:31:43 +0000 (Mon, 02 Feb 2009) Log Message: ----------- sphinx - correct documentation string Modified Paths: -------------- pydsc_dev/pydsc.py pygccxml_dev/docs/apidocs/api.rest pygccxml_dev/docs/apidocs/binary_parsers.rest pygccxml_dev/docs/apidocs/declarations.rest pygccxml_dev/docs/apidocs/parser.rest pygccxml_dev/docs/apidocs/utils.rest pygccxml_dev/pygccxml/declarations/__init__.py pygccxml_dev/pygccxml/declarations/algorithm.py pygccxml_dev/pygccxml/declarations/call_invocation.py pygccxml_dev/pygccxml/declarations/class_declaration.py pygccxml_dev/pygccxml/declarations/cpptypes.py pygccxml_dev/pygccxml/declarations/enumeration.py pygccxml_dev/pygccxml/declarations/matcher.py pygccxml_dev/pygccxml/declarations/matchers.py pygccxml_dev/pygccxml/declarations/mdecl_wrapper.py pygccxml_dev/pygccxml/declarations/namespace.py pygccxml_dev/pygccxml/declarations/scopedef.py pygccxml_dev/pygccxml/declarations/templates.py pygccxml_dev/pygccxml/parser/__init__.py pygccxml_dev/pygccxml/parser/declarations_cache.py pygccxml_dev/pygccxml/parser/directory_cache.py pygccxml_dev/pygccxml/parser/project_reader.py pygccxml_dev/pygccxml/parser/source_reader.py pygccxml_dev/unittests/data/core_cache.hpp pyplusplus_dev/pyplusplus/code_creators/calldef_transformed.py pyplusplus_dev/pyplusplus/code_creators/code_creator.py pyplusplus_dev/pyplusplus/code_creators/compound.py pyplusplus_dev/pyplusplus/code_creators/declaration_based.py pyplusplus_dev/pyplusplus/code_creators/module.py pyplusplus_dev/pyplusplus/creators_factory/bpcreator.py pyplusplus_dev/pyplusplus/decl_wrappers/call_policies.py pyplusplus_dev/pyplusplus/decl_wrappers/class_wrapper.py pyplusplus_dev/pyplusplus/file_writers/balanced_files.py pyplusplus_dev/pyplusplus/file_writers/multiple_files.py pyplusplus_dev/pyplusplus/file_writers/writer.py pyplusplus_dev/pyplusplus/function_transformers/controllers.py pyplusplus_dev/pyplusplus/function_transformers/transformer.py pyplusplus_dev/pyplusplus/function_transformers/transformers.py pyplusplus_dev/pyplusplus/module_builder/boost_python_builder.py pyplusplus_dev/pyplusplus/module_builder/ctypes_builder.py pyplusplus_dev/pyplusplus/module_builder/module_builder.py Modified: pydsc_dev/pydsc.py =================================================================== --- pydsc_dev/pydsc.py 2009-02-02 13:53:17 UTC (rev 1649) +++ pydsc_dev/pydsc.py 2009-02-02 18:31:43 UTC (rev 1650) @@ -66,13 +66,13 @@ """ returns true if one of the directories is root directory for the `path`, false otherwise - @param path: path - @type path: str + :param path: path + :type path: str - @param dirs: list of directories and\\or files - @type dirs: [ str ] + :param dirs: list of directories and\\or files + :type dirs: [ str ] - @return: bool + :rtype: bool """ #precondition: dirs and fpath should be normalize_path'ed before calling this function return bool( filter( lambda dir: path.startswith( dir ), dirs ) ) @@ -106,23 +106,23 @@ saved in one of the members of the class, and replaced with import_ member function. - @param speller: reference to enchant.checker.SpellChecker object - @type speller: enchant.checker.SpellChecker + :param speller: reference to enchant.checker.SpellChecker object + :type speller: enchant.checker.SpellChecker - @param writer: reference to instance of class that has write method. + :param writer: reference to instance of class that has write method. By default sys.stdout will be used. - @param filter: list of files or directories - @type filter: [ str ] + :param filter: list of files or directories + :type filter: [ str ] - @param filter_type: provides interpretation for content of filter parameter - @type filter_type: L{FILTER_TYPE} + :param filter_type: provides interpretation for content of filter parameter + :type filter_type: L{FILTER_TYPE} - @param ignore_identifiers: often comments/documentation strings contains + :param ignore_identifiers: often comments/documentation strings contains class\\method\\function names. Those names, usually introduce spell error. If ignore_identifiers set to True, those names will be ignored. - @type ignore_identifiers: bool + :type ignore_identifiers: bool """ object.__init__( self ) self.__checked = set() Modified: pygccxml_dev/docs/apidocs/api.rest =================================================================== --- pygccxml_dev/docs/apidocs/api.rest 2009-02-02 13:53:17 UTC (rev 1649) +++ pygccxml_dev/docs/apidocs/api.rest 2009-02-02 18:31:43 UTC (rev 1650) @@ -7,7 +7,7 @@ .. toctree:: :maxdepth: 4 - declarations - contains classes, which describe C++ declarations <declarations> - parser - contains classes, which parse GCC-XML generated file <parser> - binary_parsers - contains classes, which extract some information from `.dll`, `.map`, `.so` files <binary_parsers> - utils - few useful utilities <utils> + declarations.rest + parser.rest + binary_parsers.rest + utils.rest Modified: pygccxml_dev/docs/apidocs/binary_parsers.rest =================================================================== --- pygccxml_dev/docs/apidocs/binary_parsers.rest 2009-02-02 13:53:17 UTC (rev 1649) +++ pygccxml_dev/docs/apidocs/binary_parsers.rest 2009-02-02 18:31:43 UTC (rev 1650) @@ -1,23 +1,10 @@ -=============================== -pygccxml.binary_parsers package -=============================== +=========================== +pygccxml.binary_parsers API +=========================== -This page contains the `pygccxml.binary_parsers` package API documentation. +parsers +------- -The :mod:`pygccxml.binary_parsers` package ------------------------------------------- - -.. automodule:: pygccxml.binary_parsers - :members: - :undoc-members: - :show-inheritance: - - -The :mod:`parsers <pygccxml.binary_parsers.parsers>` module ------------------------------------------------------------ - .. automodule:: pygccxml.binary_parsers.parsers :members: - :undoc-members: :show-inheritance: - Modified: pygccxml_dev/docs/apidocs/declarations.rest =================================================================== --- pygccxml_dev/docs/apidocs/declarations.rest 2009-02-02 13:53:17 UTC (rev 1649) +++ pygccxml_dev/docs/apidocs/declarations.rest 2009-02-02 18:31:43 UTC (rev 1650) @@ -2,187 +2,176 @@ pygccxml.declarations package ============================= -This page contains the `pygccxml.declarations` package API documentation. +algorithm +--------- -The :mod:`pygccxml.declarations` package ----------------------------------------- - -.. automodule:: pygccxml.declarations - :members: - :undoc-members: - :show-inheritance: - - -The :mod:`algorithm <pygccxml.declarations.algorithm>` module --------------------------------------------------------------- - .. automodule:: pygccxml.declarations.algorithm :members: :show-inheritance: -The :mod:`algorithms_cache <pygccxml.declarations.algorithms_cache>` module ---------------------------------------------------------------------------- +algorithms_cache +---------------- .. automodule:: pygccxml.declarations.algorithms_cache :members: :show-inheritance: -The :mod:`calldef <pygccxml.declarations.calldef>` module ---------------------------------------------------------- +calldef +------- .. automodule:: pygccxml.declarations.calldef :members: :show-inheritance: -The :mod:`call_invocation <pygccxml.declarations.call_invocation>` module -------------------------------------------------------------------------- +call_invocation +--------------- .. automodule:: pygccxml.declarations.call_invocation :members: :show-inheritance: -The :mod:`class_declaration <pygccxml.declarations.class_declaration>` module ------------------------------------------------------------------------------ +class_declaration +----------------- .. automodule:: pygccxml.declarations.class_declaration :members: :show-inheritance: -The :mod:`compilers <pygccxml.declarations.compilers>` module -------------------------------------------------------------- +compilers +--------- .. automodule:: pygccxml.declarations.compilers :members: :show-inheritance: -The :mod:`container_traits <pygccxml.declarations.container_traits>` module ---------------------------------------------------------------------------- +container_traits +---------------- .. automodule:: pygccxml.declarations.container_traits :members: :show-inheritance: -The :mod:`cpptypes <pygccxml.declarations.cpptypes>` module ------------------------------------------------------------ +cpptypes +-------- .. automodule:: pygccxml.declarations.cpptypes :members: :show-inheritance: -The :mod:`declaration <pygccxml.declarations.declaration>` module ------------------------------------------------------------------ +declaration +----------- .. automodule:: pygccxml.declarations.declaration :members: :show-inheritance: -The :mod:`decl_factory <pygccxml.declarations.decl_factory>` module -------------------------------------------------------------------- +decl_factory +------------ .. automodule:: pygccxml.declarations.decl_factory :members: :show-inheritance: -The :mod:`decl_printer <pygccxml.declarations.decl_printer>` module -------------------------------------------------------------------- +ecl_printer +----------- .. automodule:: pygccxml.declarations.decl_printer :members: :show-inheritance: -The :mod:`decl_visitor <pygccxml.declarations.decl_visitor>` module --------------------------------------------------------------------- +decl_visitor +------------ .. automodule:: pygccxml.declarations.decl_visitor :members: :show-inheritance: -The :mod:`dependencies <pygccxml.declarations.dependencies>` module --------------------------------------------------------------------- +dependencies +------------ .. automodule:: pygccxml.declarations.dependencies :members: :show-inheritance: -The :mod:`enumeration <pygccxml.declarations.enumeration>` module ------------------------------------------------------------------- +enumeration +----------- .. automodule:: pygccxml.declarations.enumeration :members: :show-inheritance: -The :mod:`function_traits <pygccxml.declarations.function_traits>` module -------------------------------------------------------------------------- +function_traits +--------------- .. automodule:: pygccxml.declarations.function_traits :members: :show-inheritance: -The :mod:`matcher <pygccxml.declarations.matcher>` module ---------------------------------------------------------- +matcher +------- .. automodule:: pygccxml.declarations.matcher :members: :show-inheritance: -The :mod:`matchers <pygccxml.declarations.matchers>` module ------------------------------------------------------------ +matchers +-------- .. automodule:: pygccxml.declarations.matchers :members: :show-inheritance: -The :mod:`mdecl_wrapper <pygccxml.declarations.mdecl_wrapper>` module ---------------------------------------------------------------------- +mdecl_wrapper +------------- .. automodule:: pygccxml.declarations.mdecl_wrapper :members: :show-inheritance: -The :mod:`namespace <pygccxml.declarations.namespace>` module -------------------------------------------------------------- +namespace +--------- .. automodule:: pygccxml.declarations.namespace :members: :show-inheritance: -The :mod:`scopedef <pygccxml.declarations.scopedef>` module ------------------------------------------------------------ +scopedef +-------- .. automodule:: pygccxml.declarations.scopedef :members: :show-inheritance: -The :mod:`templates <pygccxml.declarations.templates>` module -------------------------------------------------------------- +templates +--------- .. automodule:: pygccxml.declarations.templates :members: :show-inheritance: -The :mod:`typedef <pygccxml.declarations.typedef>` module ---------------------------------------------------------- +typedef +------- .. automodule:: pygccxml.declarations.typedef :members: :show-inheritance: -The :mod:`type_traits <pygccxml.declarations.type_traits>` module ------------------------------------------------------------------ +type_traits +----------- .. automodule:: pygccxml.declarations.type_traits :members: :show-inheritance: -The :mod:`type_visitor <pygccxml.declarations.type_visitor>` module -------------------------------------------------------------------- +type_visitor +------------ .. automodule:: pygccxml.declarations.type_visitor :members: :show-inheritance: -The :mod:`variable <pygccxml.declarations.variable>` module ------------------------------------------------------------ +variable +-------- .. automodule:: pygccxml.declarations.variable :members: Modified: pygccxml_dev/docs/apidocs/parser.rest =================================================================== --- pygccxml_dev/docs/apidocs/parser.rest 2009-02-02 13:53:17 UTC (rev 1649) +++ pygccxml_dev/docs/apidocs/parser.rest 2009-02-02 18:31:43 UTC (rev 1650) @@ -2,54 +2,45 @@ pygccxml.parser package ======================= -This page contains the `pygccxml.parser` package API documentation. +config +------ -The :mod:`pygccxml.parser` Package ----------------------------------------------------------- - -.. automodule:: pygccxml.parser +.. automodule:: pygccxml.parser.config :members: - :undoc-members: :show-inheritance: -The :mod:`config <pygccxml.parser.config>` module -------------------------------------------------- +declarations_cache +------------------ -.. automodule:: pygccxml.parser.config +.. automodule:: pygccxml.parser.declarations_cache :members: - :undoc-members: :show-inheritance: -The :mod:`declarations_cache <pygccxml.parser.declarations_cache>` module --------------------------------------------------------------------------- +directory_cache +--------------- -.. automodule:: pygccxml.parser.declarations_cache +.. automodule:: pygccxml.parser.directory_cache :members: - :undoc-members: :show-inheritance: +patcher +------- -The :mod:`pygccxml.parser.patcher` module ------------------------------------------ - .. automodule:: pygccxml.parser.patcher :members: - :undoc-members: :show-inheritance: -The :mod:`project_reader <pygccxml.parser.project_reader>` module ------------------------------------------------------------------ +project_reader +-------------- .. automodule:: pygccxml.parser.project_reader :members: - :undoc-members: :show-inheritance: -The :mod:`source_reader <pygccxml.parser.source_reader>` module ------------------------------------------------ +source_reader +------------- + .. automodule:: pygccxml.parser.source_reader :members: - :undoc-members: :show-inheritance: - Modified: pygccxml_dev/docs/apidocs/utils.rest =================================================================== --- pygccxml_dev/docs/apidocs/utils.rest 2009-02-02 13:53:17 UTC (rev 1649) +++ pygccxml_dev/docs/apidocs/utils.rest 2009-02-02 18:31:43 UTC (rev 1650) @@ -2,23 +2,11 @@ pygccxml.utils package ====================== -This page contains the `pygccxml.utils` package API documentation. -The :mod:`pygccxml.utils` package ---------------------------------- +fs_utils +-------- -.. automodule:: pygccxml.utils - :members: - :undoc-members: - :show-inheritance: - - - -The :mod:`utils.fs_utils` module ---------------------------------- - .. automodule:: pygccxml.utils.fs_utils :members: - :undoc-members: :show-inheritance: Modified: pygccxml_dev/pygccxml/declarations/__init__.py =================================================================== --- pygccxml_dev/pygccxml/declarations/__init__.py 2009-02-02 13:53:17 UTC (rev 1649) +++ pygccxml_dev/pygccxml/declarations/__init__.py 2009-02-02 18:31:43 UTC (rev 1650) @@ -3,9 +3,7 @@ # accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) -""" -contains classes that describe different C++ declarations -""" +"""contains classes that describe different C++ declarations""" import compilers Modified: pygccxml_dev/pygccxml/declarations/algorithm.py =================================================================== --- pygccxml_dev/pygccxml/declarations/algorithm.py 2009-02-02 13:53:17 UTC (rev 1649) +++ pygccxml_dev/pygccxml/declarations/algorithm.py 2009-02-02 18:31:43 UTC (rev 1650) @@ -11,10 +11,10 @@ """ returns a list of parent declarations names - @param decl: declaration for which declaration path should be calculated - @type decl: L{declaration_t} + :param decl: declaration for which declaration path should be calculated + :type decl: L{declaration_t} - @return: [names], where first item contains top parent name and last item + :rtype: [names], where first item contains top parent name and last item contains decl name """ if not decl: @@ -41,10 +41,10 @@ returns a list of parent declarations names without template arguments that have default value - @param decl: declaration for which declaration path should be calculated - @type decl: L{declaration_t} + :param decl: declaration for which declaration path should be calculated + :type decl: L{declaration_t} - @return: [names], where first item contains top parent name and last item + :rtype: [names], where first item contains top parent name and last item contains decl name """ #TODO: @@ -74,10 +74,10 @@ """ returns a reference to a named parent declaration - @param decl: the child declaration - @type decl: L{declaration_t} + :param decl: the child declaration + :type decl: L{declaration_t} - @return: reference to L{declaration_t} or None if not found + :rtype: reference to L{declaration_t} or None if not found """ if not decl: return None @@ -98,12 +98,12 @@ def full_name( decl, with_defaults=True ): """ returns full name of the declaration - @param decl: declaration for which full name should be calculated. If decl + :param decl: declaration for which full name should be calculated. If decl belongs to unnamed namespace, then L{full_name} is not valid C++ full name. - @type decl: L{declaration_t} + :type decl: L{declaration_t} - @return: full name of declarations. + :rtype: full name of declarations. """ if None is decl: raise RuntimeError( "Unable to generate full name for None object!" ) @@ -121,10 +121,10 @@ """ converts tree representation of declarations to flatten one. - @param decl_or_decls: reference to list of declaration's or single declaration - @type decl_or_decls: L{declaration_t} or [ L{declaration_t} ] + :param decl_or_decls: reference to list of declaration's or single declaration + :type decl_or_decls: L{declaration_t} or [ L{declaration_t} ] - @return: [ all internal declarations ] + :rtype: [ all internal declarations ] """ import pygccxml.declarations #prevent cyclic import def proceed_single( decl ): @@ -152,10 +152,10 @@ """ converts tree representation of declarations to flatten one. - @param decl_or_decls: reference to list of declaration's or single declaration - @type decl_or_decls: L{declaration_t} or [ L{declaration_t} ] + :param decl_or_decls: reference to list of declaration's or single declaration + :type decl_or_decls: L{declaration_t} or [ L{declaration_t} ] - @return: [ all internal declarations ] + :rtype: [ all internal declarations ] """ import pygccxml.declarations @@ -208,10 +208,10 @@ """ returns True if inst do match one of specified criteria - @param inst: declaration instance - @type inst: L{declaration_t} + :param inst: declaration instance + :type inst: L{declaration_t} - @return: bool + :rtype: bool """ answer = True if None != self.type: @@ -242,7 +242,7 @@ For more information about arguments see L{match_declaration_t} class. - @return: [ matched declarations ] + :rtype: [ matched declarations ] """ decls = [] if recursive: @@ -264,7 +264,7 @@ For more information about arguments see L{match_declaration_t} class. - @return: matched declaration L{declaration_t} or None + :rtype: matched declaration L{declaration_t} or None """ decl = find_all_declarations( declarations, type=type, name=name, parent=parent, recursive=recursive, fullname=fullname ) if len( decl ) == 1: @@ -276,7 +276,7 @@ For more information about arguments see L{match_declaration_t} class. - @return: matched declaration L{declaration_t} or None + :rtype: matched declaration L{declaration_t} or None """ matcher = match_declaration_t(type, name, fullname, parent) if recursive: @@ -295,10 +295,10 @@ Every declaration is declared in some file. This function returns set, that contains all file names of declarations. - @param decl_or_decls: reference to list of declaration's or single declaration - @type decl_or_decls: L{declaration_t} or [ L{declaration_t} ] + :param decl_or_decls: reference to list of declaration's or single declaration + :type decl_or_decls: L{declaration_t} or [ L{declaration_t} ] - @return: set( declaration file names ) + :rtype: set( declaration file names ) """ files = set() decls = make_flatten( decl_or_decls ) @@ -325,8 +325,8 @@ """ applies a visitor on declaration instance - @param visitor: instance - @type visitor: L{type_visitor_t} or L{decl_visitor_t} + :param visitor: instance + :type visitor: L{type_visitor_t} or L{decl_visitor_t} """ fname = 'visit_' + decl_inst.__class__.__name__[:-2] #removing '_t' from class name if not hasattr(visitor, fname ): Modified: pygccxml_dev/pygccxml/declarations/call_invocation.py =================================================================== --- pygccxml_dev/pygccxml/declarations/call_invocation.py 2009-02-02 13:53:17 UTC (rev 1649) +++ pygccxml_dev/pygccxml/declarations/call_invocation.py 2009-02-02 18:31:43 UTC (rev 1650) @@ -27,10 +27,10 @@ """ returns True if `decl_string` is function invocation and False otherwise - @param decl_string: string that should be checked for pattern presence - @type decl_string: str + :param decl_string: string that should be checked for pattern presence + :type decl_string: str - @return: bool + :rtype: bool """ global __THE_PARSER return __THE_PARSER.has_pattern( decl_string ) @@ -39,8 +39,8 @@ """ returns name of function - @type decl_string: str - @return: str + :type decl_string: str + :rtype: str """ global __THE_PARSER return __THE_PARSER.name( decl_string ) @@ -49,8 +49,8 @@ """ returns list of function arguments - @type decl_string: str - @return: [str] + :type decl_string: str + :rtype: [str] """ global __THE_PARSER return __THE_PARSER.args( decl_string ) @@ -60,8 +60,8 @@ """ finds arguments within function invocation. - @type text: str - @return: [ arguments ] or L{NOT_FOUND} if arguments could not be found + :type text: str + :rtype: [ arguments ] or L{NOT_FOUND} if arguments could not be found """ global __THE_PARSER return __THE_PARSER.find_args( text, start ) Modified: pygccxml_dev/pygccxml/declarations/class_declaration.py =================================================================== --- pygccxml_dev/pygccxml/declarations/class_declaration.py 2009-02-02 13:53:17 UTC (rev 1649) +++ pygccxml_dev/pygccxml/declarations/class_declaration.py 2009-02-02 18:31:43 UTC (rev 1650) @@ -363,10 +363,10 @@ You should not modify the list content, otherwise different optimization data will stop work and may to give you wrong results. - @param access: describes desired members - @type access: L{ACCESS_TYPES} + :param access: describes desired members + :type access: L{ACCESS_TYPES} - @return: [ members ] + :rtype: [ members ] """ if access == ACCESS_TYPES.PUBLIC: return self.public_members @@ -384,10 +384,10 @@ def adopt_declaration( self, decl, access ): """adds new declaration to the class - @param decl: reference to a L{declaration<declaration_t>} + :param decl: reference to a L{declaration<declaration_t>} - @param access: member access type - @type access: L{ACCESS_TYPES} + :param access: member access type + :type access: L{ACCESS_TYPES} """ if access == ACCESS_TYPES.PUBLIC: self.public_members.append( decl ) @@ -405,8 +405,8 @@ """ removes decl from members list - @param decl: declaration to be removed - @type decl: L{declaration_t} + :param decl: declaration to be removed + :type decl: L{declaration_t} """ container = None access_type = self.find_out_member_access_type( decl ) @@ -423,10 +423,10 @@ """ returns member access type - @param member: member of the class - @type member: L{declaration_t} + :param member: member of the class + :type member: L{declaration_t} - @return: L{ACCESS_TYPES} + :rtype: L{ACCESS_TYPES} """ assert member.parent is self if not member.cache.access_type: Modified: pygccxml_dev/pygccxml/declarations/cpptypes.py =================================================================== --- pygccxml_dev/pygccxml/declarations/cpptypes.py 2009-02-02 13:53:17 UTC (rev 1649) +++ pygccxml_dev/pygccxml/declarations/cpptypes.py 2009-02-02 18:31:43 UTC (rev 1650) @@ -494,12 +494,12 @@ """ returns free function type - @param return_type: function return type - @type return_type: L{type_t} + :param return_type: function return type + :type return_type: L{type_t} - @param arguments_types: list of argument L{type<type_t>} + :param arguments_types: list of argument L{type<type_t>} - @return: L{free_function_type_t} + :rtype: L{free_function_type_t} """ f = lambda x: x.build_decl_string( with_defaults ) return free_function_type_t.NAME_TEMPLATE % { @@ -520,7 +520,7 @@ def create_typedef( self, typedef_name, unused=None, with_defaults=True): """returns string, that contains valid C++ code, that defines typedef to function type - @param name: the desired name of typedef + :param name: the desired name of typedef """ #unused argument simplifies user code f = lambda x: x.build_decl_string( with_defaults ) @@ -558,8 +558,8 @@ def create_typedef( self, typedef_name, class_alias=None, with_defaults=True): """creates typedef to the function type - @param typedef_name: desired type name - @return: string + :param typedef_name: desired type name + :rtype: string """ has_const_str = '' if self.has_const: Modified: pygccxml_dev/pygccxml/declarations/enumeration.py =================================================================== --- pygccxml_dev/pygccxml/declarations/enumeration.py 2009-02-02 13:53:17 UTC (rev 1649) +++ pygccxml_dev/pygccxml/declarations/enumeration.py 2009-02-02 18:31:43 UTC (rev 1650) @@ -22,12 +22,12 @@ The items of the list 'values' may either be strings containing the enumeration value name or tuples (name, numvalue). - @param name: Enum name - @type name: str - @param parent: Parent declaration - @type parent: declaration_t - @param values: Enumeration values - @type values: list + :param name: Enum name + :type name: str + :param parent: Parent declaration + :type parent: declaration_t + :param values: Enumeration values + :type values: list """ declaration.declaration_t.__init__( self, name ) @@ -83,10 +83,10 @@ When the 'values' attribute is accessed the resulting list will be in the same order as append_value() was called. - @param valuename: The name of the value. - @type valuename: str - @param valuenum: The numeric value or None. - @type valuenum: int + :param valuename: The name of the value. + :type valuename: str + :param valuenum: The numeric value or None. + :type valuenum: int """ # No number given? Then use the previous one + 1 if valuenum==None: @@ -101,9 +101,9 @@ def has_value_name(self, name): """Check if this enum has a particular name among its values. - @param name: Enumeration value name - @type name: str - @return: True if there is an enumeration value with the given name + :param name: Enumeration value name + :type name: str + :rtype: True if there is an enumeration value with the given name """ for val,num in self._values: if val==name: Modified: pygccxml_dev/pygccxml/declarations/matcher.py =================================================================== --- pygccxml_dev/pygccxml/declarations/matcher.py 2009-02-02 13:53:17 UTC (rev 1649) +++ pygccxml_dev/pygccxml/declarations/matcher.py 2009-02-02 18:31:43 UTC (rev 1650) @@ -34,9 +34,9 @@ def find( decl_matcher, decls, recursive=True ): """returns a list of declarations that match "decl_matcher" defined criretia or None - @param decl_matcher: Python callable object, that takes one argument - reference to declaration - @param decls: reference to declaration or list of declarations to be searched in - @param recursive: boolean, if True the method will run decl_matcher, on internal declarations too + :param decl_matcher: Python callable object, that takes one argument - reference to declaration + :param decls: reference to declaration or list of declarations to be searched in + :param recursive: boolean, if True the method will run decl_matcher, on internal declarations too """ where = [] @@ -54,9 +54,9 @@ criretia, if a unique declaration could not be found the method will return None. - @param decl_matcher: Python callable object, that takes one argument - reference to declaration - @param decls: reference to declaration or list of declarations to be searched in - @param recursive: boolean, if True the method will run decl_matcher, on internal declarations too + :param decl_matcher: Python callable object, that takes one argument - reference to declaration + :param decls: reference to declaration or list of declarations to be searched in + :param recursive: boolean, if True the method will run decl_matcher, on internal declarations too """ answer = matcher.find( decl_matcher, decls, recursive ) if len(answer) == 1: @@ -68,9 +68,9 @@ criretia, if a unique declaration could not be found, an appropriate exception will be raised. - @param decl_matcher: Python callable object, that takes one argument - reference to declaration - @param decls: reference to declaration or list of declarations to be searched in - @param recursive: boolean, if True the method will run decl_matcher, on internal declarations too + :param decl_matcher: Python callable object, that takes one argument - reference to declaration + :param decls: reference to declaration or list of declarations to be searched in + :param recursive: boolean, if True the method will run decl_matcher, on internal declarations too """ answer = matcher.find( decl_matcher, decls, recursive ) if len(answer) == 1: Modified: pygccxml_dev/pygccxml/declarations/matchers.py =================================================================== --- pygccxml_dev/pygccxml/declarations/matchers.py 2009-02-02 13:53:17 UTC (rev 1649) +++ pygccxml_dev/pygccxml/declarations/matchers.py 2009-02-02 18:31:43 UTC (rev 1650) @@ -117,17 +117,17 @@ """ def __init__( self, name=None, decl_type=None, header_dir=None, header_file=None ): """ - @param decl_type: declaration type to match by. For example L{enumeration_t}. - @type decl_type: any class that derives from L{declarations.declaration_t} class + :param decl_type: declaration type to match by. For example L{enumeration_t}. + :type decl_type: any class that derives from L{declarations.declaration_t} class - @param name: declaration name, could be full name. - @type name: str + :param name: declaration name, could be full name. + :type name: str - @param header_dir: absolute directory path - @type header_dir: str + :param header_dir: absolute directory path + :type header_dir: str - @param header_file: absolute file path - @type header_file: str + :param header_file: absolute file path + :type header_file: str """ #An other option is that pygccxml will create absolute path using @@ -264,8 +264,8 @@ """ def __init__( self, name=None, type=None, header_dir=None, header_file=None ): """ - @param type: variable type - @type type: string or instance of L{type_t} derived class + :param type: variable type + :type type: string or instance of L{type_t} derived class """ declaration_matcher_t.__init__( self , name=name @@ -322,10 +322,10 @@ def __init__( self, name=None, return_type=None, arg_types=None, decl_type=None, header_dir=None, header_file=None): """ - @param return_type: callable return type - @type return_type: string or instance of L{type_t} derived class + :param return_type: callable return type + :type return_type: string or instance of L{type_t} derived class - @param arg_types: list of function argument types. arg_types can contain. + :param arg_types: list of function argument types. arg_types can contain. Any item within the list could be string or instance of L{type_t} derived class. If you don't want some argument to participate in match you can put None. For example: @@ -334,7 +334,7 @@ will match all functions that takes 2 arguments, where the first one is reference to integer and second any - @type arg_types: list + :type arg_types: list """ if None is decl_type: decl_type = calldef.calldef_t @@ -402,8 +402,8 @@ """ def __init__( self, name=None, symbol=None, return_type=None, arg_types=None, decl_type=None, header_dir=None, header_file=None): """ - @param symbol: operator symbol - @type symbol: str + :param symbol: operator symbol + :type symbol: str """ if None is decl_type: decl_type = calldef.operator_t @@ -443,10 +443,10 @@ """ def __init__( self, regex, function=None ): """ - @param regex: regular expression - @type regex: string, an instance of this class will compile it for you + :param regex: regular expression + :type regex: string, an instance of this class will compile it for you - @param function: function that will be called to get an information from + :param function: function that will be called to get an information from declaration as string. As input this function takes 1 argument: reference to declaration. Return value should be string. If function is None, then the matcher will use declaration name. @@ -474,8 +474,8 @@ def __init__( self, access_type ): """ - @param access_type: declaration access type - @type access_type: L{ACCESS_TYPES} defines few consts for your convinience. + :param access_type: declaration access type + :type access_type: L{ACCESS_TYPES} defines few consts for your convinience. Any way you can pass public, private or protected as argument to this function """ matcher_base_t.__init__( self ) @@ -498,8 +498,8 @@ def __init__( self, virtuality_type ): """ - @param access_type: declaration access type - @type access_type: L{VIRTUALITY_TYPES} defines few consts for your convinience. + :param access_type: declaration access type + :type access_type: L{VIRTUALITY_TYPES} defines few consts for your convinience. """ matcher_base_t.__init__( self ) self.virtuality_type = virtuality_type @@ -520,7 +520,7 @@ def __init__( self, function ): """ - @param function: callable, that takes single argument - declaration instance + :param function: callable, that takes single argument - declaration instance should return True or False """ matcher_base_t.__init__( self ) Modified: pygccxml_dev/pygccxml/declarations/mdecl_wrapper.py =================================================================== --- pygccxml_dev/pygccxml/declarations/mdecl_wrapper.py 2009-02-02 13:53:17 UTC (rev 1649) +++ pygccxml_dev/pygccxml/declarations/mdecl_wrapper.py 2009-02-02 18:31:43 UTC (rev 1650) @@ -17,8 +17,8 @@ def __init__( self, name, decls ): """creates call_redirector_t instance. - @param name: name of method, to be called on every object in C{decls} list - @param decls: list of objects + :param name: name of method, to be called on every object in C{decls} list + :param decls: list of objects """ object.__init__( self ) self.name = name @@ -45,8 +45,8 @@ """ def __init__( self, decls ): - """@param decls: list of declarations to operate on. - @type decls: list of L{declaration wrappers<decl_wrapper_t>} + """:param decls: list of declarations to operate on. + :type decls: list of L{declaration wrappers<decl_wrapper_t>} """ object.__init__( self ) self.__dict__['declarations'] = decls @@ -74,15 +74,15 @@ def __setattr__( self, name, value ): """Updates the value of attribute on all declarations. - @param name: name of attribute - @param value: new value of attribute + :param name: name of attribute + :param value: new value of attribute """ self.__ensure_attribute( name ) for d in self.declarations: setattr( d, name, value ) def __getattr__( self, name ): - """@param name: name of method + """:param name: name of method """ return call_redirector_t( name, self.declarations ) Modified: pygccxml_dev/pygccxml/declarations/namespace.py =================================================================== --- pygccxml_dev/pygccxml/declarations/namespace.py 2009-02-02 13:53:17 UTC (rev 1649) +++ pygccxml_dev/pygccxml/declarations/namespace.py 2009-02-02 18:31:43 UTC (rev 1650) @@ -57,8 +57,8 @@ """ removes decl from members list - @param decl: declaration to be removed - @type decl: L{declaration_t} + :param decl: declaration to be removed + :type decl: L{declaration_t} """ del self.declarations[ self.declarations.index( decl ) ] decl.cache.reset() Modified: pygccxml_dev/pygccxml/declarations/scopedef.py =================================================================== --- pygccxml_dev/pygccxml/declarations/scopedef.py 2009-02-02 13:53:17 UTC (rev 1649) +++ pygccxml_dev/pygccxml/declarations/scopedef.py 2009-02-02 18:31:43 UTC (rev 1650) @@ -652,7 +652,7 @@ def __getitem__(self, name_or_function): """ Allow simple name based find of decls. Internally just calls decls() method. - @param name_or_function Name of decl to lookup or finder function. + :param name_or_function Name of decl to lookup or finder function. """ return self.decls(name_or_function) Modified: pygccxml_dev/pygccxml/declarations/templates.py =================================================================== --- pygccxml_dev/pygccxml/declarations/templates.py 2009-02-02 13:53:17 UTC (rev 1649) +++ pygccxml_dev/pygccxml/declarations/templates.py 2009-02-02 18:31:43 UTC (rev 1650) @@ -23,10 +23,10 @@ """ returns True if decl_string is template instantiation and False otherwise - @param decl_string: string that should be checked for pattern presence - @type decl_string: str + :param decl_string: string that should be checked for pattern presence + :type decl_string: str - @return: bool + :rtype: bool """ global __THE_PARSER return __THE_PARSER.has_pattern( decl_string ) @@ -35,8 +35,8 @@ """ returns name of instantiated template - @type decl_string: str - @return: str + :type decl_string: str + :rtype: str """ global __THE_PARSER return __THE_PARSER.name( decl_string ) @@ -45,8 +45,8 @@ """ returns list of template arguments - @type decl_string: str - @return: [str] + :type decl_string: str + :rtype: [str] """ global __THE_PARSER return __THE_PARSER.args( decl_string ) Modified: pygccxml_dev/pygccxml/parser/__init__.py =================================================================== --- pygccxml_dev/pygccxml/parser/__init__.py 2009-02-02 13:53:17 UTC (rev 1649) +++ pygccxml_dev/pygccxml/parser/__init__.py 2009-02-02 18:31:43 UTC (rev 1650) @@ -37,14 +37,14 @@ """ Parse header files. - @param files: The header files that should be parsed - @type files: list of str - @param config: Configuration object or None - @type config: L{config_t} - @param compilation_mode: Determines whether the files are parsed individually or as one single chunk - @type compilation_mode: L{COMPILATION_MODE} - @param cache: Declaration cache (None=no cache) - @type cache: L{cache_base_t} or str + :param files: The header files that should be parsed + :type files: list of str + :param config: Configuration object or None + :type config: L{config_t} + :param compilation_mode: Determines whether the files are parsed individually or as one single chunk + :type compilation_mode: L{COMPILATION_MODE} + :param cache: Declaration cache (None=no cache) + :type cache: L{cache_base_t} or str @returns: Declarations """ if not config: Modified: pygccxml_dev/pygccxml/parser/declarations_cache.py =================================================================== --- pygccxml_dev/pygccxml/parser/declarations_cache.py 2009-02-02 13:53:17 UTC (rev 1649) +++ pygccxml_dev/pygccxml/parser/declarations_cache.py 2009-02-02 18:31:43 UTC (rev 1650) @@ -58,19 +58,19 @@ def update(self, source_file, configuration, declarations, included_files): """ Update cache entry. - @param source_file: path to the C++ source file being parsed - @param configuration: configuration used in parsing (config_t) - @param declarations: declaration tree found when parsing - @param included_files: files included by parsing. + :param source_file: path to the C++ source file being parsed + :param configuration: configuration used in parsing (config_t) + :param declarations: declaration tree found when parsing + :param included_files: files included by parsing. """ raise NotImplementedError() def cached_value(self, source_file, configuration): - """ Return declarations we have cached for the source_file and configuration - given. - @param source_file: path to the C++ source file being parsed. - @param configuration: configuration to use for parsing (config_t) """ + Return declarations, we have cached, for the source_file and the given configuration. + :param source_file: path to the C++ source file being parsed. + :param configuration: configuration to use for parsing (config_t) + """ raise NotImplementedError() class record_t( object ): @@ -131,7 +131,7 @@ def __init__( self, name ): """ - @param name: name of the cache file. + :param name: name of the cache file. """ cache_base_t.__init__( self ) self.__name = name # Name of cache file Modified: pygccxml_dev/pygccxml/parser/directory_cache.py =================================================================== --- pygccxml_dev/pygccxml/parser/directory_cache.py 2009-02-02 13:53:17 UTC (rev 1649) +++ pygccxml_dev/pygccxml/parser/directory_cache.py 2009-02-02 18:31:43 UTC (rev 1650) @@ -109,14 +109,14 @@ def update(self, source_file, configuration, declarations, included_files): """Replace a cache entry by a new value. - @param source_file: Header file name. - @type source_file: str - @param configuration: Configuration object. - @type configuration: L{config_t} - @param declarations: Declarations contained in the header file. - @type declarations: picklable object - @param included_files: Dependent files - @type included_files: list of str + :param source_file: Header file name. + :type source_file: str + :param configuration: Configuration object. + :type configuration: L{config_t} + :param declarations: Declarations contained in the header file. + :type declarations: picklable object + :param included_files: Dependent files + :type included_files: list of str """ # Normlize all paths... source_file = os.path.normpath(source_file) @@ -156,11 +156,11 @@ def cached_value(self, source_file, configuration): """Return the cached declarations or None. - @param source_file: Header file name - @type source_file: str - @param configuration: Configuration object - @type configuration: L{config_t} - @return: Cached declarations or None + :param source_file: Header file name + :type source_file: str + :param configuration: Configuration object + :type configuration: L{config_t} + :rtype: Cached declarations or None """ # Check if the cache contains an entry for source_file @@ -240,8 +240,8 @@ Reads a pickled object from disk and returns it. - @param filename: Name of the file that should be read. - @type filename: str + :param filename: Name of the file that should be read. + :type filename: str @returns: Unpickled file contents """ if self.__compression: @@ -257,10 +257,10 @@ The data object is written to a file using the pickle mechanism. - @param filename: Output file name - @type filename: str - @param data: A Python object that will be pickled - @type data: picklable object + :param filename: Output file name + :type filename: str + :param data: A Python object that will be pickled + :type data: picklable object """ if self.__compression: f = gzip.GzipFile(filename, "wb") @@ -280,10 +280,10 @@ If key references a non-existing entry, the method returns immediately. - @param source_file: Header file name - @type source_file: str - @param key: Key value for the specified header file - @type key: hashable object + :param source_file: Header file name + :type source_file: str + :param key: Key value for the specified header file + :type key: hashable object """ entry = self.__index.get(key) @@ -309,8 +309,8 @@ def _create_cache_key(self, source_file): """Return the cache key for a header file. - @param source_file: Header file name - @type source_file: str + :param source_file: Header file name + :type source_file: str @returns: Key for the given header file @rtype: str """ @@ -320,8 +320,8 @@ def _create_cache_filename(self, source_file): """Return the cache file name for a header file. - @param source_file: Header file name - @type source_file: str + :param source_file: Header file name + :type source_file: str @returns: Cache file name (*.cache) @rtype: str """ @@ -335,8 +335,8 @@ working_directory, include_paths, define_symbols and undefine_symbols. - @param config: Configuration object - @type config: L{config_t} + :param config: Configuration object + :type config: L{config_t} @returns: Signature @rtype: str """ Modified: pygccxml_dev/pygccxml/parser/project_reader.py =================================================================== --- pygccxml_dev/pygccxml/parser/project_reader.py 2009-02-02 13:53:17 UTC (rev 1649) +++ pygccxml_dev/pygccxml/parser/project_reader.py 2009-02-02 18:31:43 UTC (rev 1650) @@ -92,10 +92,10 @@ Creates L{file_configuration_t} instance, configured to contain Python string, that contains valid C++ code - @param text: C++ code - @type text: str + :param text: C++ code + :type text: str - @return: L{file_configuration_t} + :rtype: L{file_configuration_t} """ return file_configuration_t( data=text , content_type=file_configuration_t.CONTENT_TYPE.TEXT ) @@ -105,10 +105,10 @@ Creates L{file_configuration_t} instance, configured to contain path to C++ source file - @param header: path to C++ source file - @type header: str + :param header: path to C++ source file + :type header: str - @return: L{file_configuration_t} + :rtype: L{file_configuration_t} """ return file_configuration_t( data=header , content_type=file_configuration_t.CONTENT_TYPE.STANDARD_SOURCE_FILE ) @@ -118,10 +118,10 @@ Creates L{file_configuration_t} instance, configured to contain path to GCC-XML generated XML file. - @param xml_file: path to GCC-XML generated XML file - @type xml_file: str + :param xml_file: path to GCC-XML generated XML file + :type xml_file: str - @return: L{file_configuration_t} + :rtype: L{file_configuration_t} """ return file_configuration_t( data=xml_file , content_type=file_configuration_t.CONTENT_TYPE.GCCXML_GENERATED_FILE ) @@ -133,13 +133,13 @@ it will be created and used for parsing. If XML file exists, it will be used for parsing. - @param header: path to C++ source file - @type header: str + :param header: path to C++ source file + :type header: str - @param cached_source_file: path to GCC-XML generated XML file - @type cached_source_file: str + :param cached_source_file: path to GCC-XML generated XML file + :type cached_source_file: str - @return: L{file_configuration_t} + :rtype: L{file_configuration_t} """ return file_configuration_t( data=header , cached_source_file=cached_source_file @@ -161,12 +161,12 @@ appropriate declaration class. By default, the declaration classes defined in the L{declarations} package are used. - @param config: Configuration object - @type config: L{config_t} - @param cache: Declaration cache (None=no cache) - @type cache: L{cache_base_t} or str - @param decl_factory: Custom declaration factory object or None - @type decl_factory: decl_factory_t + :param config: Configuration object + :type config: L{config_t} + :param cache: Declaration cache (None=no cache) + :type cache: L{cache_base_t} or str + :param decl_factory: Custom declaration factory object or None + :type decl_factory: decl_factory_t """ self.__config = config self.__dcache = None @@ -186,9 +186,9 @@ def get_os_file_names( files ): """Returns a list of OS file names - @param files: list of strings or L{file_configuration_t} instances. + :param files: list of strings or L{file_configuration_t} instances. files could contain a mix of them - @type files: list + :type files: list """ fnames = [] for f in files: @@ -205,11 +205,11 @@ def read_files( self, files, compilation_mode=COMPILATION_MODE.FILE_BY_FILE): """Parse header files. - @param files: list of strings or L{file_configuration_t} instances. + :param files: list of strings or L{file_configuration_t} instances. files could contain a mix of them - @type files: list - @param compilation_mode: Determines whether the files are parsed individually or as one single chunk - @type compilation_mode: L{COMPILATION_MODE} + :type files: list + :param compilation_mode: Determines whether the files are parsed individually or as one single chunk + :type compilation_mode: L{COMPILATION_MODE} @returns: Declarations """ if compilation_mode == COMPILATION_MODE.ALL_AT_ONCE \ @@ -300,8 +300,8 @@ def read_string(self, content): """Parse a string containing C/C++ source code. - @param content: C/C++ source code. - @type content: str + :param content: C/C++ source code. + :type content: str @returns: Declarations """ reader = source_reader.source_reader_t( self.__config, None, self.__decl_factory ) Modified: pygccxml_dev/pygccxml/parser/source_reader.py =================================================================== --- pygccxml_dev/pygccxml/parser/source_reader.py 2009-02-02 13:53:17 UTC (rev 1649) +++ pygccxml_dev/pygccxml/parser/source_reader.py 2009-02-02 18:31:43 UTC (rev 1650) @@ -27,10 +27,10 @@ """ This function binds between class and it's typedefs. - @param decls: list of all declarations - @type all_classes: list of L{declaration_t} items + :param decls: list of all declarations + :type all_classes: list of L{declaration_t} items - @return: None + :rtype: None """ visited = set() typedefs = filter( lambda decl: isinstance( decl, typedef_t ), decls ) @@ -65,15 +65,15 @@ """ def __init__( self, config, cache=None, decl_factory=None ): """ - @param config: instance of L{config_t} class, that contains GCC-XML + :param config: instance of L{config_t} class, that contains GCC-XML configuration - @type config: L{config_t} + :type config: L{config_t} - @param cache: reference to cache object, that will be updated after + :param cache: reference to cache object, that will be updated after file has been parsed. - @param cache: instance of class, that derives from {cache_base_t} + :param cache: instance of class, that derives from {cache_base_t} - @param decl_factory: declarations factory, if not given default + :param decl_factory: declarations factory, if not given default declarations factory L{decl_factory_t} will be used """ self.logger = utils.loggers.cxx_parser @@ -128,14 +128,14 @@ for "header" file. If destination_file_path is not None, then this file path will be used and returned. - @param header: path to source file, that should be parsed - @type header: str + :param header: path to source file, that should be parsed + :type header: str - @param destination: if given, will be used as target file/path for + :param destination: if given, will be used as target file/path for GCC-XML generated file. - @type destination: str + :type destination: str - @return: path to GCC-XML generated file + :rtype: path to GCC-XML generated file """ gccxml_file = destination # If file specified, remove it to start else create new file name @@ -173,13 +173,13 @@ """ Creates XML file from text. - @param content: C++ source code - @type content: str + :param content: C++ source code + :type content: str - @param destination: file name for GCC-XML generated file - @type destination: str + :param destination: file name for GCC-XML generated file + :type destination: str - @return: returns file name of GCC-XML generated file + :rtype: returns file name of GCC-XML generated file """ header_file = pygccxml.utils.create_temp_file_name( suffix='.h' ) gccxml_file = None @@ -199,8 +199,8 @@ """ Reads C++ source file and returns declarations tree - @param source_file: path to C++ source file - @type source_file: str + :param source_file: path to C++ source file + :type source_file: str """ declarations = None gccxml_file = '' @@ -227,10 +227,10 @@ """ Reads GCC-XML generated XML file. - @param gccxml_created_file: path to GCC-XML generated file - @type gccxml_created_file: str + :param gccxml_created_file: path to GCC-XML generated file + :type gccxml_created_file: str - @return: declarations tree + :rtype: declarations tree """ assert(self.__config!=None) Modified: pygccxml_dev/unittests/data/core_cache.hpp =================================================================== --- pygccxml_dev/unittests/data/core_cache.hpp 2009-02-02 13:53:17 UTC (rev 1649) +++ pygccxml_dev/unittests/data/core_cache.hpp 2009-02-02 18:31:43 UTC (rev 1650) @@ -22,4 +22,4 @@ #endif//__core_cache_hpp__ -//touch//touch//touch//touch//touch//touch//touch//touch//touch \ No newline at end of file +//touch//touch//touch//touch//touch//touch//touch//touch//touch//touch \ No newline at end of file Modified: pyplusplus_dev/pyplusplus/code_creators/calldef_transformed.py =================================================================== --- pyplusplus_dev/pyplusplus/code_creators/calldef_transformed.py 2009-02-02 13:53:17 UTC (rev 1649) +++ pyplusplus_dev/pyplusplus/code_creators/calldef_transformed.py 2009-02-02 18:31:43 UTC (rev 1650) @@ -137,8 +137,8 @@ def __init__( self, function ): """Constructor. - @param function: Function declaration - @type function: calldef_t + :param function: Function declaration + :type function: calldef_t """ sealed_fun_transformed_wrapper_t .__init__( self, function=function ) @@ -193,8 +193,8 @@ def __init__( self, function ): """Constructor. - @param function: Function declaration - @type function: calldef_t + :param function: Function declaration... [truncated message content] |
From: <rom...@us...> - 2009-02-02 13:53:22
|
Revision: 1649 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1649&view=rev Author: roman_yakovenko Date: 2009-02-02 13:53:17 +0000 (Mon, 02 Feb 2009) Log Message: ----------- sphinx Modified Paths: -------------- pygccxml_dev/docs/apidocs/declarations.rest pygccxml_dev/docs/pygccxml.rest pygccxml_dev/pygccxml/declarations/scopedef.py pygccxml_dev/pygccxml/parser/declarations_cache.py pygccxml_dev/unittests/data/core_cache.hpp pyplusplus_dev/examples/pyeasybmp_dev/ctypes/easybmp.py Modified: pygccxml_dev/docs/apidocs/declarations.rest =================================================================== --- pygccxml_dev/docs/apidocs/declarations.rest 2009-02-02 09:17:41 UTC (rev 1648) +++ pygccxml_dev/docs/apidocs/declarations.rest 2009-02-02 13:53:17 UTC (rev 1649) @@ -161,7 +161,7 @@ :show-inheritance: The :mod:`typedef <pygccxml.declarations.typedef>` module ------------------------------------------------ +--------------------------------------------------------- .. automodule:: pygccxml.declarations.typedef :members: Modified: pygccxml_dev/docs/pygccxml.rest =================================================================== --- pygccxml_dev/docs/pygccxml.rest 2009-02-02 09:17:41 UTC (rev 1648) +++ pygccxml_dev/docs/pygccxml.rest 2009-02-02 13:53:17 UTC (rev 1649) @@ -112,9 +112,10 @@ `pygccxml`_ comes with comprehensive unit tests. They are executed on Windows XP and `Ubuntu`_ Linux operating systems. In most cases Python 2.5 and 2.6 are used. -I still maintain backward compatibility to Python 2.4. All in all, `pygccxml` has -more than 230 tests. +All in all, `pygccxml` has more than 230 tests. +Support for Python 2.4 was dropped. + ------------------------------- pygccxml documentation contents ------------------------------- Modified: pygccxml_dev/pygccxml/declarations/scopedef.py =================================================================== --- pygccxml_dev/pygccxml/declarations/scopedef.py 2009-02-02 09:17:41 UTC (rev 1648) +++ pygccxml_dev/pygccxml/declarations/scopedef.py 2009-02-02 13:53:17 UTC (rev 1649) @@ -3,9 +3,7 @@ # accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) -""" -defines base class for L{namespace_t} and L{class_t} classes -""" +"""defines :class:`scopedef_t` class""" import time import algorithm @@ -16,7 +14,8 @@ import matcher as matcher_module class scopedef_t( declaration.declaration_t ): - """Base class for L{namespace_t} and L{class_t} classes. + """ + Base class for :class:`namespace_t` and :class:`class_t` classes. This is the base class for all declaration classes that may have children nodes. The children can be accessed via the C{declarations} @@ -26,36 +25,45 @@ can get instance or instances of internal declaration(s). You can find declaration(s) using next criteria: - 1. name - declaration name, could be full qualified name - 2. header_dir - directory, to which belongs file, that the declaration was declarated in. - header_dir should be absolute path. - 3. header_file - file that the declaration was declarated in. - 4. function - user ( your ) custom criteria. The interesting thing is that + + 1. `name` - declaration name, could be full qualified name + + 2. `header_dir` - directory, to which belongs file, that the declaration was declarated in. + `header_dir` should be absolute path. + + 3. `header_file` - file that the declaration was declarated in. + + 4. `function` - user ( your ) custom criteria. The interesting thing is that this function will be joined with other arguments ( criteria ). - 5. recursive - the search declaration range, if True will be search in - internal declarations too. + 5. `recursive` - the search declaration range, if True will be search in + internal declarations too. + + Every "select" API you can invoke and pass as first argument at declaration name or function. This class will find out correctly what argument represents. - Example:: + Example: :: ns - referrers to global namespace ns.member_function( "do_something ) - will return reference to member function named "do_something". If there is no such function exception will be raised. If there is more then one function exception will be raised too. - Example 2:: + Example 2: :: ns - referers to global namespace do_smths = ns.member_functions( "do_something ) - will return instance of L{mdecl_wrapper_t} object. This object allows you few things: 1. To iterate on selected declarations + 2. To set some property to desired value using one line of code only: do_smths.call_policies = x + 3. To call some function on every instance using one line of code: do_smths.exclude() + Pay attention: you can not use "get" functions or properties. """ Modified: pygccxml_dev/pygccxml/parser/declarations_cache.py =================================================================== --- pygccxml_dev/pygccxml/parser/declarations_cache.py 2009-02-02 09:17:41 UTC (rev 1648) +++ pygccxml_dev/pygccxml/parser/declarations_cache.py 2009-02-02 13:53:17 UTC (rev 1649) @@ -5,9 +5,9 @@ # http://www.boost.org/LICENSE_1_0.txt) import os -import md5 import time -import cPickle +import hashlib +import cPickle from pygccxml import utils import config as cxx_parsers_cfg @@ -19,10 +19,10 @@ # Extend here to use md5 hash for signature # - This change allows duplicate autogenerated files to be recognized #return os.path.getmtime( source ) - sig = md5.new() + sig = hashlib.md5() f = file(filename,'r') sig.update(f.read()) - f.close() + f.close() return sig.hexdigest() def configuration_signature( config ): @@ -32,7 +32,7 @@ a configuration that could cause the declarations generated to be different between runs. """ - sig = md5.new() + sig = hashlib.md5() if isinstance( config, cxx_parsers_cfg.gccxml_configuration_t ): sig.update(str(config.gccxml_path)) sig.update(str(config.working_directory)) @@ -43,19 +43,19 @@ for s in config.define_symbols: sig.update(str(s)) for u in config.undefine_symbols: - sig.update(str(u)) + sig.update(str(u)) return sig.hexdigest() class cache_base_t( object ): logger = utils.loggers.declarations_cache - + def __init__( self ): object.__init__(self) - + def flush(self): """ Flush (write out) the cache to disk if needed. """ raise NotImplementedError() - + def update(self, source_file, configuration, declarations, included_files): """ Update cache entry. @param source_file: path to the C++ source file being parsed @@ -63,14 +63,14 @@ @param declarations: declaration tree found when parsing @param included_files: files included by parsing. """ - raise NotImplementedError() - + raise NotImplementedError() + def cached_value(self, source_file, configuration): """ Return declarations we have cached for the source_file and configuration given. @param source_file: path to the C++ source file being parsed. @param configuration: configuration to use for parsing (config_t) - """ + """ raise NotImplementedError() class record_t( object ): @@ -86,60 +86,60 @@ self.__included_files_signature = included_files_signature self.__declarations = declarations self.__was_hit = True # Track if there was a cache hit - + def _get_was_hit(self): return self.__was_hit def _set_was_hit(self, was_hit): self.__was_hit = was_hit was_hit = property( _get_was_hit, _set_was_hit ) - + def key(self): return ( self.__source_signature, self.__config_signature) - + @staticmethod def create_key( source_file, configuration ): return ( file_signature(source_file) - , configuration_signature(configuration)) - + , configuration_signature(configuration)) + def __source_signature(self): return self.__source_signature source_signature = property( __source_signature ) - + def __config_signature(self): return self.__config_signature config_signature = property( __config_signature ) - + def __included_files(self): return self.__included_files included_files = property( __included_files ) - + def __included_files_signature(self): return self.__included_files_signature included_files_signature = property( __included_files_signature ) - + def __declarations(self): return self.__declarations - declarations = property( __declarations ) + declarations = property( __declarations ) -class file_cache_t( cache_base_t ): - """ Cache implementation to store data in a pickled form in a file. +class file_cache_t( cache_base_t ): + """ Cache implementation to store data in a pickled form in a file. This class contains some cache logic that keeps track of which entries have been 'hit' in the cache and if an entry has not been hit then it is deleted at the time of the flush(). This keeps the cache from - growing larger when files change and are not used again. + growing larger when files change and are not used again. """ def __init__( self, name ): """ @param name: name of the cache file. """ - cache_base_t.__init__( self ) + cache_base_t.__init__( self ) self.__name = name # Name of cache file self.__cache = self.__load( self.__name ) # Map record_key to record_t - self.__needs_flushed = not bool( self.__cache ) # If empty then we need to flush + self.__needs_flushed = not bool( self.__cache ) # If empty then we need to flush for entry in self.__cache.itervalues(): # Clear hit flags entry.was_hit = False - + @staticmethod def __load( file_name ): " Load pickled cache from file and return the object. " @@ -153,7 +153,7 @@ try: file_cache_t.logger.info( 'Loading cache file "%s".' % file_name ) start_time = time.clock() - cache = cPickle.load( cache_file_obj ) + cache = cPickle.load( cache_file_obj ) file_cache_t.logger.debug( "Cache file has been loaded in %.1f secs"%( time.clock() - start_time ) ) file_cache_t.logger.debug( "Found cache in file: [%s] entries: %s" % ( file_name, len( cache.keys() ) ) ) @@ -162,15 +162,15 @@ cache_file_obj.close() file_cache_t.logger.info( "Invalid cache file: [%s] Regenerating." % file_name ) file(file_name, 'w+b').close() # Create empty file - cache = {} # Empty cache + cache = {} # Empty cache return cache - + def flush(self): # If not marked as needing flushed, then return immediately if not self.__needs_flushed: self.logger.debug("Cache did not change, ignoring flush.") return - + # Remove entries that did not get a cache hit num_removed = 0 for key in self.__cache.keys(): @@ -190,14 +190,14 @@ , config_signature=configuration_signature(configuration) , included_files=included_files , included_files_signature=map( file_signature, included_files) - , declarations=declarations + , declarations=declarations ) # Switched over to holding full record in cache so we don't have # to keep creating records in the next method. self.__cache[ record.key() ] = record self.__cache[ record.key() ].was_hit = True self.__needs_flushed = True - + def cached_value(self, source_file, configuration): """ Attempt to lookup the cached decls for the given file and configuration. If not found or signature check fails, returns None. @@ -209,10 +209,10 @@ if self.__is_valid_signature( record ): record.was_hit = True # Record cache hit return record.declarations - else: #some file has been changed + else: #some file has been changed del self.__cache[key] return None - + def __is_valid_signature( self, record ): # This is now part of key #if self.__signature( record.source_file ) != record.source_file_signature: @@ -221,17 +221,17 @@ if file_signature( included_file ) != record.included_files_signature[index]: return False return True - + class dummy_cache_t( cache_base_t ): def __init__( self ): cache_base_t.__init__(self) - + def flush(self): pass - + def update(self, source_file, configuration, declarations, included_files): pass - + def cached_value(self, source_file, configuration): - return None \ No newline at end of file + return None Modified: pygccxml_dev/unittests/data/core_cache.hpp =================================================================== --- pygccxml_dev/unittests/data/core_cache.hpp 2009-02-02 09:17:41 UTC (rev 1648) +++ pygccxml_dev/unittests/data/core_cache.hpp 2009-02-02 13:53:17 UTC (rev 1649) @@ -22,4 +22,4 @@ #endif//__core_cache_hpp__ -//touch//touch//touch//touch//touch//touch//touch//touch \ No newline at end of file +//touch//touch//touch//touch//touch//touch//touch//touch//touch \ No newline at end of file Modified: pyplusplus_dev/examples/pyeasybmp_dev/ctypes/easybmp.py =================================================================== --- pyplusplus_dev/examples/pyeasybmp_dev/ctypes/easybmp.py 2009-02-02 09:17:41 UTC (rev 1648) +++ pyplusplus_dev/examples/pyeasybmp_dev/ctypes/easybmp.py 2009-02-02 13:53:17 UTC (rev 1649) @@ -1,111 +1,108 @@ -# This file has been generated by Py++. - import sys - import ctypes - +import cpptypes import ctypes_utils -easybmplib = ctypes.CPPDLL( r"E:\development\language-binding\pyplusplus_dev\examples\pyeasybmp_dev\easybmp\binaries\easybmp.dll" ) +easybmplib = cpptypes.AnyDLL( r"easybmp.dll" ) easybmplib.undecorated_names = {#mapping between decorated and undecorated names - "unsigned short FlipWORD(unsigned short)" : "?FlipWORD@@YAGG@Z", - "BMP::BMP(void)" : "??0BMP@@QAE@XZ", - "bool BMP::SetPixel(int,int RGBApixel)" : "?SetPixel@BMP@@QAE_NHHURGBApixel@@@Z", - "bool BMP::Read32bitRow(unsigned char *,int,int)" : "?Read32bitRow@BMP@@AAE_NPAEHH@Z", - "bool BMP::ReadFromFile(char const *)" : "?ReadFromFile@BMP@@QAE_NPBD@Z", - "void BMIH::display(void)" : "?display@BMIH@@QAEXXZ", - "double Square(double)" : "?Square@@YANN@Z", - "unsigned char BMP::FindClosestColor RGBApixel &)" : "?FindClosestColor@BMP@@AAEEAAURGBApixel@@@Z", - "bool BMP::Read24bitRow(unsigned char *,int,int)" : "?Read24bitRow@BMP@@AAE_NPAEHH@Z", - "int BMP::TellBitDepth(void)" : "?TellBitDepth@BMP@@QAEHXZ", - "bool BMP::Write24bitRow(unsigned char *,int,int)" : "?Write24bitRow@BMP@@AAE_NPAEHH@Z", - "BMIH::BMIH(void)" : "??0BMIH@@QAE@XZ", - "int BMP::TellWidth(void)" : "?TellWidth@BMP@@QAEHXZ", - "bool BMP::Write1bitRow(unsigned char *,int,int)" : "?Write1bitRow@BMP@@AAE_NPAEHH@Z", - "RGBApixel & RGBApixel::operator= RGBApixel const &)" : "??4RGBApixel@@QAEAAU0@ABU0@@Z", - "int BMP::TellVerticalDPI(void)" : "?TellVerticalDPI@BMP@@QAEHXZ", - "bool BMP::WriteToFile(char const *)" : "?WriteToFile@BMP@@QAE_NPBD@Z", - "bool BMP::Read4bitRow(unsigned char *,int,int)" : "?Read4bitRow@BMP@@AAE_NPAEHH@Z", - "void BMP::SetDPI(int,int)" : "?SetDPI@BMP@@QAEXHH@Z", - "int IntSquare(int)" : "?IntSquare@@YAHH@Z", - "bool BMP::Write32bitRow(unsigned char *,int,int)" : "?Write32bitRow@BMP@@AAE_NPAEHH@Z", - "BMFH & BMFH::operator= BMFH const &)" : "??4BMFH@@QAEAAV0@ABV0@@Z", - "bool BMP::Read1bitRow(unsigned char *,int,int)" : "?Read1bitRow@BMP@@AAE_NPAEHH@Z", - "BMFH::BMFH(void)" : "??0BMFH@@QAE@XZ", - "BMP::BMP BMP &)" : "??0BMP@@QAE@AAV0@@Z", - "bool BMP::Write4bitRow(unsigned char *,int,int)" : "?Write4bitRow@BMP@@AAE_NPAEHH@Z", - "unsigned int FlipDWORD(unsigned int)" : "?FlipDWORD@@YAII@Z", - "int BMP::TellHeight(void)" : "?TellHeight@BMP@@QAEHXZ", - "bool IsBigEndian(void)" : "?IsBigEndian@@YA_NXZ", - "RGBApixel BMP::GetPixel(int,int)const" : "?GetPixel@BMP@@QBE?AURGBApixel@@HH@Z", - "bool BMP::SetBitDepth(int)" : "?SetBitDepth@BMP@@QAE_NH@Z", - "void BMIH::SwitchEndianess(void)" : "?SwitchEndianess@BMIH@@QAEXXZ", - "int BMP::TellNumberOfColors(void)" : "?TellNumberOfColors@BMP@@QAEHXZ", - "BMP & BMP::operator= BMP const &)" : "??4BMP@@QAEAAV0@ABV0@@Z", - "bool BMP::SetColor(int RGBApixel)" : "?SetColor@BMP@@QAE_NHURGBApixel@@@Z", - "void BMFH::SwitchEndianess(void)" : "?SwitchEndianess@BMFH@@QAEXXZ", - "void BMFH::display(void)" : "?display@BMFH@@QAEXXZ", - "bool BMP::SetSize(int,int)" : "?SetSize@BMP@@QAE_NHH@Z", - "bool BMP::Read8bitRow(unsigned char *,int,int)" : "?Read8bitRow@BMP@@AAE_NPAEHH@Z", - "BMIH & BMIH::operator= BMIH const &)" : "??4BMIH@@QAEAAV0@ABV0@@Z", - "bool BMP::Write8bitRow(unsigned char *,int,int)" : "?Write8bitRow@BMP@@AAE_NPAEHH@Z", - "BMP::~BMP(void)" : "??1BMP@@QAE@XZ", - "RGBApixel * BMP::operator()(int,int)" : "??RBMP@@QAEPAURGBApixel@@HH@Z", - "RGBApixel BMP::GetColor(int)" : "?GetColor@BMP@@QAE?AURGBApixel@@H@Z", - "int BMP::TellHorizontalDPI(void)" : "?TellHorizontalDPI@BMP@@QAEHXZ", - "bool BMP::CreateStandardColorTable(void)" : "?CreateStandardColorTable@BMP@@QAE_NXZ", - "?FlipWORD@@YAGG@Z" : "unsigned short FlipWORD(unsigned short)", - "??0BMP@@QAE@XZ" : "BMP::BMP(void)", - "?SetPixel@BMP@@QAE_NHHURGBApixel@@@Z" : "bool BMP::SetPixel(int,int RGBApixel)", - "?Read32bitRow@BMP@@AAE_NPAEHH@Z" : "bool BMP::Read32bitRow(unsigned char *,int,int)", - "?ReadFromFile@BMP@@QAE_NPBD@Z" : "bool BMP::ReadFromFile(char const *)", - "?display@BMIH@@QAEXXZ" : "void BMIH::display(void)", - "?Square@@YANN@Z" : "double Square(double)", - "?FindClosestColor@BMP@@AAEEAAURGBApixel@@@Z" : "unsigned char BMP::FindClosestColor RGBApixel &)", - "?Read24bitRow@BMP@@AAE_NPAEHH@Z" : "bool BMP::Read24bitRow(unsigned char *,int,int)", - "?TellBitDepth@BMP@@QAEHXZ" : "int BMP::TellBitDepth(void)", - "?Write24bitRow@BMP@@AAE_NPAEHH@Z" : "bool BMP::Write24bitRow(unsigned char *,int,int)", - "??0BMIH@@QAE@XZ" : "BMIH::BMIH(void)", - "?TellWidth@BMP@@QAEHXZ" : "int BMP::TellWidth(void)", - "?Write1bitRow@BMP@@AAE_NPAEHH@Z" : "bool BMP::Write1bitRow(unsigned char *,int,int)", - "??4RGBApixel@@QAEAAU0@ABU0@@Z" : "RGBApixel & RGBApixel::operator= RGBApixel const &)", - "?TellVerticalDPI@BMP@@QAEHXZ" : "int BMP::TellVerticalDPI(void)", - "?WriteToFile@BMP@@QAE_NPBD@Z" : "bool BMP::WriteToFile(char const *)", - "?Read4bitRow@BMP@@AAE_NPAEHH@Z" : "bool BMP::Read4bitRow(unsigned char *,int,int)", - "?SetDPI@BMP@@QAEXHH@Z" : "void BMP::SetDPI(int,int)", - "?IntSquare@@YAHH@Z" : "int IntSquare(int)", - "?Write32bitRow@BMP@@AAE_NPAEHH@Z" : "bool BMP::Write32bitRow(unsigned char *,int,int)", - "??4BMFH@@QAEAAV0@ABV0@@Z" : "BMFH & BMFH::operator= BMFH const &)", - "?Read1bitRow@BMP@@AAE_NPAEHH@Z" : "bool BMP::Read1bitRow(unsigned char *,int,int)", - "??0BMFH@@QAE@XZ" : "BMFH::BMFH(void)", - "??0BMP@@QAE@AAV0@@Z" : "BMP::BMP BMP &)", - "?Write4bitRow@BMP@@AAE_NPAEHH@Z" : "bool BMP::Write4bitRow(unsigned char *,int,int)", - "?FlipDWORD@@YAII@Z" : "unsigned int FlipDWORD(unsigned int)", - "?TellHeight@BMP@@QAEHXZ" : "int BMP::TellHeight(void)", - "?IsBigEndian@@YA_NXZ" : "bool IsBigEndian(void)", - "?GetPixel@BMP@@QBE?AURGBApixel@@HH@Z" : "RGBApixel BMP::GetPixel(int,int)const", - "?SetBitDepth@BMP@@QAE_NH@Z" : "bool BMP::SetBitDepth(int)", - "?SwitchEndianess@BMIH@@QAEXXZ" : "void BMIH::SwitchEndianess(void)", - "?TellNumberOfColors@BMP@@QAEHXZ" : "int BMP::TellNumberOfColors(void)", - "??4BMP@@QAEAAV0@ABV0@@Z" : "BMP & BMP::operator= BMP const &)", - "?SetColor@BMP@@QAE_NHURGBApixel@@@Z" : "bool BMP::SetColor(int RGBApixel)", - "?SwitchEndianess@BMFH@@QAEXXZ" : "void BMFH::SwitchEndianess(void)", - "?display@BMFH@@QAEXXZ" : "void BMFH::display(void)", - "?SetSize@BMP@@QAE_NHH@Z" : "bool BMP::SetSize(int,int)", - "?Read8bitRow@BMP@@AAE_NPAEHH@Z" : "bool BMP::Read8bitRow(unsigned char *,int,int)", - "??4BMIH@@QAEAAV0@ABV0@@Z" : "BMIH & BMIH::operator= BMIH const &)", - "?Write8bitRow@BMP@@AAE_NPAEHH@Z" : "bool BMP::Write8bitRow(unsigned char *,int,int)", - "??1BMP@@QAE@XZ" : "BMP::~BMP(void)", - "??RBMP@@QAEPAURGBApixel@@HH@Z" : "RGBApixel * BMP::operator()(int,int)", - "?GetColor@BMP@@QAE?AURGBApixel@@H@Z" : "RGBApixel BMP::GetColor(int)", - "?TellHorizontalDPI@BMP@@QAEHXZ" : "int BMP::TellHorizontalDPI(void)", - "?CreateStandardColorTable@BMP@@QAE_NXZ" : "bool BMP::CreateStandardColorTable(void)", + "unsigned short FlipWORD(unsigned short)" : "?FlipWORD@@YAGG@Z", + "BMP::BMP(void)" : "??0BMP@@QAE@XZ", + "bool BMP::SetPixel(int,int RGBApixel)" : "?SetPixel@BMP@@QAE_NHHURGBApixel@@@Z", + "bool BMP::Read32bitRow(unsigned char *,int,int)" : "?Read32bitRow@BMP@@AAE_NPAEHH@Z", + "bool BMP::ReadFromFile(char const *)" : "?ReadFromFile@BMP@@QAE_NPBD@Z", + "void BMIH::display(void)" : "?display@BMIH@@QAEXXZ", + "double Square(double)" : "?Square@@YANN@Z", + "unsigned char BMP::FindClosestColor RGBApixel &)" : "?FindClosestColor@BMP@@AAEEAAURGBApixel@@@Z", + "bool BMP::Read24bitRow(unsigned char *,int,int)" : "?Read24bitRow@BMP@@AAE_NPAEHH@Z", + "int BMP::TellBitDepth(void)" : "?TellBitDepth@BMP@@QAEHXZ", + "bool BMP::Write24bitRow(unsigned char *,int,int)" : "?Write24bitRow@BMP@@AAE_NPAEHH@Z", + "BMIH::BMIH(void)" : "??0BMIH@@QAE@XZ", + "int BMP::TellWidth(void)" : "?TellWidth@BMP@@QAEHXZ", + "bool BMP::Write1bitRow(unsigned char *,int,int)" : "?Write1bitRow@BMP@@AAE_NPAEHH@Z", + "RGBApixel & RGBApixel::operator= RGBApixel const &)" : "??4RGBApixel@@QAEAAU0@ABU0@@Z", + "int BMP::TellVerticalDPI(void)" : "?TellVerticalDPI@BMP@@QAEHXZ", + "bool BMP::WriteToFile(char const *)" : "?WriteToFile@BMP@@QAE_NPBD@Z", + "bool BMP::Read4bitRow(unsigned char *,int,int)" : "?Read4bitRow@BMP@@AAE_NPAEHH@Z", + "void BMP::SetDPI(int,int)" : "?SetDPI@BMP@@QAEXHH@Z", + "int IntSquare(int)" : "?IntSquare@@YAHH@Z", + "bool BMP::Write32bitRow(unsigned char *,int,int)" : "?Write32bitRow@BMP@@AAE_NPAEHH@Z", + "BMFH & BMFH::operator= BMFH const &)" : "??4BMFH@@QAEAAV0@ABV0@@Z", + "bool BMP::Read1bitRow(unsigned char *,int,int)" : "?Read1bitRow@BMP@@AAE_NPAEHH@Z", + "BMFH::BMFH(void)" : "??0BMFH@@QAE@XZ", + "BMP::BMP BMP &)" : "??0BMP@@QAE@AAV0@@Z", + "bool BMP::Write4bitRow(unsigned char *,int,int)" : "?Write4bitRow@BMP@@AAE_NPAEHH@Z", + "unsigned int FlipDWORD(unsigned int)" : "?FlipDWORD@@YAII@Z", + "int BMP::TellHeight(void)" : "?TellHeight@BMP@@QAEHXZ", + "bool IsBigEndian(void)" : "?IsBigEndian@@YA_NXZ", + "RGBApixel BMP::GetPixel(int,int)const" : "?GetPixel@BMP@@QBE?AURGBApixel@@HH@Z", + "bool BMP::SetBitDepth(int)" : "?SetBitDepth@BMP@@QAE_NH@Z", + "void BMIH::SwitchEndianess(void)" : "?SwitchEndianess@BMIH@@QAEXXZ", + "int BMP::TellNumberOfColors(void)" : "?TellNumberOfColors@BMP@@QAEHXZ", + "BMP & BMP::operator= BMP const &)" : "??4BMP@@QAEAAV0@ABV0@@Z", + "bool BMP::SetColor(int RGBApixel)" : "?SetColor@BMP@@QAE_NHURGBApixel@@@Z", + "void BMFH::SwitchEndianess(void)" : "?SwitchEndianess@BMFH@@QAEXXZ", + "void BMFH::display(void)" : "?display@BMFH@@QAEXXZ", + "bool BMP::SetSize(int,int)" : "?SetSize@BMP@@QAE_NHH@Z", + "bool BMP::Read8bitRow(unsigned char *,int,int)" : "?Read8bitRow@BMP@@AAE_NPAEHH@Z", + "BMIH & BMIH::operator= BMIH const &)" : "??4BMIH@@QAEAAV0@ABV0@@Z", + "bool BMP::Write8bitRow(unsigned char *,int,int)" : "?Write8bitRow@BMP@@AAE_NPAEHH@Z", + "BMP::~BMP(void)" : "??1BMP@@QAE@XZ", + "RGBApixel * BMP::operator()(int,int)" : "??RBMP@@QAEPAURGBApixel@@HH@Z", + "RGBApixel BMP::GetColor(int)" : "?GetColor@BMP@@QAE?AURGBApixel@@H@Z", + "int BMP::TellHorizontalDPI(void)" : "?TellHorizontalDPI@BMP@@QAEHXZ", + "bool BMP::CreateStandardColorTable(void)" : "?CreateStandardColorTable@BMP@@QAE_NXZ", + "?FlipWORD@@YAGG@Z" : "unsigned short FlipWORD(unsigned short)", + "??0BMP@@QAE@XZ" : "BMP::BMP(void)", + "?SetPixel@BMP@@QAE_NHHURGBApixel@@@Z" : "bool BMP::SetPixel(int,int RGBApixel)", + "?Read32bitRow@BMP@@AAE_NPAEHH@Z" : "bool BMP::Read32bitRow(unsigned char *,int,int)", + "?ReadFromFile@BMP@@QAE_NPBD@Z" : "bool BMP::ReadFromFile(char const *)", + "?display@BMIH@@QAEXXZ" : "void BMIH::display(void)", + "?Square@@YANN@Z" : "double Square(double)", + "?FindClosestColor@BMP@@AAEEAAURGBApixel@@@Z" : "unsigned char BMP::FindClosestColor RGBApixel &)", + "?Read24bitRow@BMP@@AAE_NPAEHH@Z" : "bool BMP::Read24bitRow(unsigned char *,int,int)", + "?TellBitDepth@BMP@@QAEHXZ" : "int BMP::TellBitDepth(void)", + "?Write24bitRow@BMP@@AAE_NPAEHH@Z" : "bool BMP::Write24bitRow(unsigned char *,int,int)", + "??0BMIH@@QAE@XZ" : "BMIH::BMIH(void)", + "?TellWidth@BMP@@QAEHXZ" : "int BMP::TellWidth(void)", + "?Write1bitRow@BMP@@AAE_NPAEHH@Z" : "bool BMP::Write1bitRow(unsigned char *,int,int)", + "??4RGBApixel@@QAEAAU0@ABU0@@Z" : "RGBApixel & RGBApixel::operator= RGBApixel const &)", + "?TellVerticalDPI@BMP@@QAEHXZ" : "int BMP::TellVerticalDPI(void)", + "?WriteToFile@BMP@@QAE_NPBD@Z" : "bool BMP::WriteToFile(char const *)", + "?Read4bitRow@BMP@@AAE_NPAEHH@Z" : "bool BMP::Read4bitRow(unsigned char *,int,int)", + "?SetDPI@BMP@@QAEXHH@Z" : "void BMP::SetDPI(int,int)", + "?IntSquare@@YAHH@Z" : "int IntSquare(int)", + "?Write32bitRow@BMP@@AAE_NPAEHH@Z" : "bool BMP::Write32bitRow(unsigned char *,int,int)", + "??4BMFH@@QAEAAV0@ABV0@@Z" : "BMFH & BMFH::operator= BMFH const &)", + "?Read1bitRow@BMP@@AAE_NPAEHH@Z" : "bool BMP::Read1bitRow(unsigned char *,int,int)", + "??0BMFH@@QAE@XZ" : "BMFH::BMFH(void)", + "??0BMP@@QAE@AAV0@@Z" : "BMP::BMP BMP &)", + "?Write4bitRow@BMP@@AAE_NPAEHH@Z" : "bool BMP::Write4bitRow(unsigned char *,int,int)", + "?FlipDWORD@@YAII@Z" : "unsigned int FlipDWORD(unsigned int)", + "?TellHeight@BMP@@QAEHXZ" : "int BMP::TellHeight(void)", + "?IsBigEndian@@YA_NXZ" : "bool IsBigEndian(void)", + "?GetPixel@BMP@@QBE?AURGBApixel@@HH@Z" : "RGBApixel BMP::GetPixel(int,int)const", + "?SetBitDepth@BMP@@QAE_NH@Z" : "bool BMP::SetBitDepth(int)", + "?SwitchEndianess@BMIH@@QAEXXZ" : "void BMIH::SwitchEndianess(void)", + "?TellNumberOfColors@BMP@@QAEHXZ" : "int BMP::TellNumberOfColors(void)", + "??4BMP@@QAEAAV0@ABV0@@Z" : "BMP & BMP::operator= BMP const &)", + "?SetColor@BMP@@QAE_NHURGBApixel@@@Z" : "bool BMP::SetColor(int RGBApixel)", + "?SwitchEndianess@BMFH@@QAEXXZ" : "void BMFH::SwitchEndianess(void)", + "?display@BMFH@@QAEXXZ" : "void BMFH::display(void)", + "?SetSize@BMP@@QAE_NHH@Z" : "bool BMP::SetSize(int,int)", + "?Read8bitRow@BMP@@AAE_NPAEHH@Z" : "bool BMP::Read8bitRow(unsigned char *,int,int)", + "??4BMIH@@QAEAAV0@ABV0@@Z" : "BMIH & BMIH::operator= BMIH const &)", + "?Write8bitRow@BMP@@AAE_NPAEHH@Z" : "bool BMP::Write8bitRow(unsigned char *,int,int)", + "??1BMP@@QAE@XZ" : "BMP::~BMP(void)", + "??RBMP@@QAEPAURGBApixel@@HH@Z" : "RGBApixel * BMP::operator()(int,int)", + "?GetColor@BMP@@QAE?AURGBApixel@@H@Z" : "RGBApixel BMP::GetColor(int)", + "?TellHorizontalDPI@BMP@@QAEHXZ" : "int BMP::TellHorizontalDPI(void)", + "?CreateStandardColorTable@BMP@@QAE_NXZ" : "bool BMP::CreateStandardColorTable(void)", } class BMFH(ctypes.Structure): """class BMFH""" - + def __init__( self, *args ): """BMFH::BMFH(void)""" return self._methods_['__init__']( ctypes.pointer( self ), *args ) @@ -120,7 +117,7 @@ class BMIH(ctypes.Structure): """class BMIH""" - + def __init__( self, *args ): """BMIH::BMIH(void)""" return self._methods_['__init__']( ctypes.pointer( self ), *args ) @@ -135,7 +132,7 @@ class BMP(ctypes.Structure): """class BMP""" - + def TellBitDepth( self, *args ): """int BMP::TellBitDepth(void)""" return self._methods_['TellBitDepth']( ctypes.pointer( self ), *args ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2009-02-02 09:17:45
|
Revision: 1648 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1648&view=rev Author: roman_yakovenko Date: 2009-02-02 09:17:41 +0000 (Mon, 02 Feb 2009) Log Message: ----------- compile easybmp Modified Paths: -------------- pyplusplus_dev/examples/pyeasybmp_dev/easybmp/binaries/easybmp.dll pyplusplus_dev/examples/pyeasybmp_dev/easybmp/binaries/easybmp.dll.manifest pyplusplus_dev/examples/pyeasybmp_dev/easybmp/binaries/easybmp.exp pyplusplus_dev/examples/pyeasybmp_dev/easybmp/binaries/easybmp.lib pyplusplus_dev/examples/pyeasybmp_dev/easybmp/binaries/easybmp.map Modified: pyplusplus_dev/examples/pyeasybmp_dev/easybmp/binaries/easybmp.dll =================================================================== (Binary files differ) Modified: pyplusplus_dev/examples/pyeasybmp_dev/easybmp/binaries/easybmp.dll.manifest =================================================================== --- pyplusplus_dev/examples/pyeasybmp_dev/easybmp/binaries/easybmp.dll.manifest 2009-02-01 20:00:45 UTC (rev 1647) +++ pyplusplus_dev/examples/pyeasybmp_dev/easybmp/binaries/easybmp.dll.manifest 2009-02-02 09:17:41 UTC (rev 1648) @@ -1,15 +1,8 @@ <?xml version='1.0' encoding='UTF-8' standalone='yes'?> <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'> - <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> - <security> - <requestedPrivileges> - <requestedExecutionLevel level='asInvoker' uiAccess='false' /> - </requestedPrivileges> - </security> - </trustInfo> <dependency> <dependentAssembly> - <assemblyIdentity type='win32' name='Microsoft.VC90.CRT' version='9.0.21022.8' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' /> + <assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50727.762' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' /> </dependentAssembly> </dependency> </assembly> Modified: pyplusplus_dev/examples/pyeasybmp_dev/easybmp/binaries/easybmp.exp =================================================================== (Binary files differ) Modified: pyplusplus_dev/examples/pyeasybmp_dev/easybmp/binaries/easybmp.lib =================================================================== (Binary files differ) Modified: pyplusplus_dev/examples/pyeasybmp_dev/easybmp/binaries/easybmp.map =================================================================== --- pyplusplus_dev/examples/pyeasybmp_dev/easybmp/binaries/easybmp.map 2009-02-01 20:00:45 UTC (rev 1647) +++ pyplusplus_dev/examples/pyeasybmp_dev/easybmp/binaries/easybmp.map 2009-02-02 09:17:41 UTC (rev 1648) @@ -1,12 +1,12 @@ easybmp - Timestamp is 495f259b (Sat Jan 03 10:45:15 2009) + Timestamp is 4986ba41 (Mon Feb 02 11:17:53 2009) Preferred load address is 10000000 Start Length Name Class - 0001:00000000 00006934H .text CODE - 0001:00006940 00000083H .text$x CODE + 0001:00000000 00006878H .text CODE + 0001:00006880 000000b3H .text$x CODE 0002:00000000 0000011cH .idata$5 DATA 0002:0000011c 00000004H .CRT$XCA DATA 0002:00000120 00000004H .CRT$XCZ DATA @@ -15,24 +15,24 @@ 0002:0000012c 00000004H .CRT$XIC DATA 0002:00000130 00000004H .CRT$XIZ DATA 0002:00000138 00001288H .rdata DATA - 0002:000013c0 00000010H .rdata$sxdata DATA - 0002:000013d0 00000004H .rtc$IAA DATA - 0002:000013d4 00000004H .rtc$IZZ DATA - 0002:000013d8 00000004H .rtc$TAA DATA - 0002:000013dc 00000004H .rtc$TZZ DATA - 0002:000013e0 0000013cH .xdata$x DATA - 0002:0000151c 0000003cH .idata$2 DATA - 0002:00001558 00000014H .idata$3 DATA - 0002:0000156c 0000011cH .idata$4 DATA - 0002:00001688 00000878H .idata$6 DATA - 0002:00001f00 000006eaH .edata DATA + 0002:000013c0 00000014H .rdata$sxdata DATA + 0002:000013d4 00000004H .rtc$IAA DATA + 0002:000013d8 00000004H .rtc$IZZ DATA + 0002:000013dc 00000004H .rtc$TAA DATA + 0002:000013e0 00000004H .rtc$TZZ DATA + 0002:000013e8 0000016cH .xdata$x DATA + 0002:00001554 0000003cH .idata$2 DATA + 0002:00001590 00000014H .idata$3 DATA + 0002:000015a4 0000011cH .idata$4 DATA + 0002:000016c0 00000878H .idata$6 DATA + 0002:00001f40 000006eaH .edata DATA 0003:00000000 00000020H .data DATA 0003:00000020 00000354H .bss DATA Address Publics by Value Rva+Base Lib:Object 0000:00000000 __except_list 00000000 <absolute> - 0000:00000004 ___safe_se_handler_count 00000004 <absolute> + 0000:00000005 ___safe_se_handler_count 00000005 <absolute> 0000:00009876 __fltused 00009876 <absolute> 0000:00009876 __ldused 00009876 <absolute> 0000:00000000 ___ImageBase 10000000 <linker-defined> @@ -70,78 +70,78 @@ 0001:000010c0 ?SetBitDepth@BMP@@QAE_NH@Z 100020c0 f EasyBMP.obj 0001:00001240 ?SetSize@BMP@@QAE_NHH@Z 10002240 f EasyBMP.obj 0001:00001460 ?WriteToFile@BMP@@QAE_NPBD@Z 10002460 f EasyBMP.obj - 0001:00002000 ?ReadFromFile@BMP@@QAE_NPBD@Z 10003000 f EasyBMP.obj - 0001:00003280 ?CreateStandardColorTable@BMP@@QAE_NXZ 10004280 f EasyBMP.obj - 0001:00003910 ?SafeFread@@YA_NPADHHPAU_iobuf@@@Z 10004910 f EasyBMP.obj - 0001:00003960 ?SetDPI@BMP@@QAEXHH@Z 10004960 f EasyBMP.obj - 0001:000039a0 ?TellVerticalDPI@BMP@@QAEHXZ 100049a0 f EasyBMP.obj - 0001:000039d0 ?TellHorizontalDPI@BMP@@QAEHXZ 100049d0 f EasyBMP.obj - 0001:00003a00 ?GetBMFH@@YA?AVBMFH@@PBD@Z 10004a00 f EasyBMP.obj - 0001:00003b60 ?GetBMIH@@YA?AVBMIH@@PBD@Z 10004b60 f EasyBMP.obj - 0001:00003d50 ?DisplayBitmapInfo@@YAXPBD@Z 10004d50 f EasyBMP.obj - 0001:00004150 ?GetBitmapColorDepth@@YAHPBD@Z 10005150 f EasyBMP.obj - 0001:00004170 ?PixelToPixelCopy@@YAXAAVBMP@@HH0HH@Z 10005170 f EasyBMP.obj - 0001:000041a0 ?PixelToPixelCopyTransparent@@YAXAAVBMP@@HH0HHAAURGBApixel@@@Z 100051a0 f EasyBMP.obj - 0001:00004230 ?RangedPixelToPixelCopy@@YAXAAVBMP@@HHHH0HH@Z 10005230 f EasyBMP.obj - 0001:00004360 ?RangedPixelToPixelCopyTransparent@@YAXAAVBMP@@HHHH0HHAAURGBApixel@@@Z 10005360 f EasyBMP.obj - 0001:00004490 ?CreateGrayscaleColorTable@@YA_NAAVBMP@@@Z 10005490 f EasyBMP.obj - 0001:000045a0 ?Read32bitRow@BMP@@AAE_NPAEHH@Z 100055a0 f EasyBMP.obj - 0001:00004610 ?Read24bitRow@BMP@@AAE_NPAEHH@Z 10005610 f EasyBMP.obj - 0001:00004680 ?Read8bitRow@BMP@@AAE_NPAEHH@Z 10005680 f EasyBMP.obj - 0001:00004700 ?Read4bitRow@BMP@@AAE_NPAEHH@Z 10005700 f EasyBMP.obj - 0001:000047e0 ?Read1bitRow@BMP@@AAE_NPAEHH@Z 100057e0 f EasyBMP.obj - 0001:00004910 ?Write32bitRow@BMP@@AAE_NPAEHH@Z 10005910 f EasyBMP.obj - 0001:00004980 ?Write24bitRow@BMP@@AAE_NPAEHH@Z 10005980 f EasyBMP.obj - 0001:000049f0 ?Write8bitRow@BMP@@AAE_NPAEHH@Z 100059f0 f EasyBMP.obj - 0001:00004a60 ?Write4bitRow@BMP@@AAE_NPAEHH@Z 10005a60 f EasyBMP.obj - 0001:00004b30 ?Write1bitRow@BMP@@AAE_NPAEHH@Z 10005b30 f EasyBMP.obj - 0001:00004c20 ?FindClosestColor@BMP@@AAEEAAURGBApixel@@@Z 10005c20 f EasyBMP.obj - 0001:00004cf0 ?EasyBMPcheckDataSize@@YA_NXZ 10005cf0 f EasyBMP.obj - 0001:00004e40 ?Rescale@@YA_NAAVBMP@@DH@Z 10005e40 f EasyBMP.obj - 0001:00005a30 ??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z 10006a30 f i EasyBMP.obj - 0001:00005d10 ??0sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@AAV12@@Z 10006d10 f i EasyBMP.obj - 0001:00005dd0 ??1sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@XZ 10006dd0 f i EasyBMP.obj - 0001:00005e40 ??Bsentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QBE_NXZ 10006e40 f i EasyBMP.obj - 0001:00005e60 ??0_Sentry_base@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@AAV12@@Z 10006e60 f i EasyBMP.obj - 0001:00005eb0 ??1_Sentry_base@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@XZ 10006eb0 f i EasyBMP.obj - 0001:00005ef1 ??_U@YAPAXI@Z 10006ef1 f msvcprt:newaop_s.obj - 0001:00005f00 ??_V@YAXPAX@Z 10006f00 f MSVCRT:MSVCR90.dll - 0001:00005f10 __ftol2_sse 10006f10 f MSVCRT:ftol2.obj - 0001:00005f19 __ftol2_pentium4 10006f19 f MSVCRT:ftol2.obj - 0001:00005f2c __ftol2_sse_excpt 10006f2c f MSVCRT:ftol2.obj - 0001:00005f46 __ftol2 10006f46 f MSVCRT:ftol2.obj - 0001:00005fbc _memcpy 10006fbc f MSVCRT:MSVCR90.dll - 0001:00005fc2 ___CxxFrameHandler3 10006fc2 f MSVCRT:MSVCR90.dll - 0001:00005fc8 @__security_check_cookie@4 10006fc8 f MSVCRT:secchk.obj - 0001:00006026 __CRT_INIT@12 10007026 f MSVCRT:crtdll.obj - 0001:00006362 __DllMainCRTStartup@12 10007362 f MSVCRT:crtdll.obj - 0001:00006386 ??2@YAPAXI@Z 10007386 f MSVCRT:MSVCR90.dll - 0001:000063dc __get_sse2_info 100073dc f MSVCRT:cpu_disp.obj - 0001:0000643e ___sse2_available_init 1000743e f MSVCRT:cpu_disp.obj - 0001:0000644b ___report_gsfailure 1000744b f MSVCRT:gs_report.obj - 0001:00006551 ___clean_type_info_names 10007551 f MSVCRT:tncleanup.obj - 0001:0000655d __onexit 1000755d f MSVCRT:atonexit.obj - 0001:00006602 _atexit 10007602 f MSVCRT:atonexit.obj - 0001:00006619 __RTC_Initialize 10007619 f MSVCRT:_initsect_.obj - 0001:0000663f __RTC_Terminate 1000763f f MSVCRT:_initsect_.obj - 0001:00006670 __ValidateImageBase 10007670 f MSVCRT:pesect.obj - 0001:000066b0 __FindPESection 100076b0 f MSVCRT:pesect.obj - 0001:00006700 __IsNonwritableInCurrentImage 10007700 f MSVCRT:pesect.obj - 0001:000067be __initterm 100077be f MSVCRT:MSVCR90.dll - 0001:000067c4 __initterm_e 100077c4 f MSVCRT:MSVCR90.dll - 0001:000067ca __amsg_exit 100077ca f MSVCRT:MSVCR90.dll - 0001:000067d0 ___CppXcptFilter 100077d0 f MSVCRT:MSVCR90.dll - 0001:000067d6 _DllMain@12 100077d6 f MSVCRT:dllmain.obj - 0001:000067fc __SEH_prolog4 100077fc f MSVCRT:sehprolg4.obj - 0001:00006841 __SEH_epilog4 10007841 f MSVCRT:sehprolg4.obj - 0001:00006855 __except_handler4 10007855 f MSVCRT:chandler4gs.obj - 0001:0000687a ___security_init_cookie 1000787a f MSVCRT:gs_support.obj - 0001:00006910 __crt_debugger_hook 10007910 f MSVCRT:MSVCR90.dll - 0001:00006916 ___clean_type_info_names_internal 10007916 f MSVCRT:MSVCR90.dll - 0001:0000691c __unlock 1000791c f MSVCRT:MSVCR90.dll - 0001:00006922 ___dllonexit 10007922 f MSVCRT:MSVCR90.dll - 0001:00006928 __lock 10007928 f MSVCRT:MSVCR90.dll - 0001:0000692e __except_handler4_common 1000792e f MSVCRT:MSVCR90.dll + 0001:00001ff0 ?ReadFromFile@BMP@@QAE_NPBD@Z 10002ff0 f EasyBMP.obj + 0001:00003270 ?CreateStandardColorTable@BMP@@QAE_NXZ 10004270 f EasyBMP.obj + 0001:00003900 ?SafeFread@@YA_NPADHHPAU_iobuf@@@Z 10004900 f EasyBMP.obj + 0001:00003950 ?SetDPI@BMP@@QAEXHH@Z 10004950 f EasyBMP.obj + 0001:00003990 ?TellVerticalDPI@BMP@@QAEHXZ 10004990 f EasyBMP.obj + 0001:000039c0 ?TellHorizontalDPI@BMP@@QAEHXZ 100049c0 f EasyBMP.obj + 0001:000039f0 ?GetBMFH@@YA?AVBMFH@@PBD@Z 100049f0 f EasyBMP.obj + 0001:00003b50 ?GetBMIH@@YA?AVBMIH@@PBD@Z 10004b50 f EasyBMP.obj + 0001:00003d40 ?DisplayBitmapInfo@@YAXPBD@Z 10004d40 f EasyBMP.obj + 0001:00004140 ?GetBitmapColorDepth@@YAHPBD@Z 10005140 f EasyBMP.obj + 0001:00004160 ?PixelToPixelCopy@@YAXAAVBMP@@HH0HH@Z 10005160 f EasyBMP.obj + 0001:00004190 ?PixelToPixelCopyTransparent@@YAXAAVBMP@@HH0HHAAURGBApixel@@@Z 10005190 f EasyBMP.obj + 0001:00004220 ?RangedPixelToPixelCopy@@YAXAAVBMP@@HHHH0HH@Z 10005220 f EasyBMP.obj + 0001:00004350 ?RangedPixelToPixelCopyTransparent@@YAXAAVBMP@@HHHH0HHAAURGBApixel@@@Z 10005350 f EasyBMP.obj + 0001:00004480 ?CreateGrayscaleColorTable@@YA_NAAVBMP@@@Z 10005480 f EasyBMP.obj + 0001:00004590 ?Read32bitRow@BMP@@AAE_NPAEHH@Z 10005590 f EasyBMP.obj + 0001:00004600 ?Read24bitRow@BMP@@AAE_NPAEHH@Z 10005600 f EasyBMP.obj + 0001:00004670 ?Read8bitRow@BMP@@AAE_NPAEHH@Z 10005670 f EasyBMP.obj + 0001:000046f0 ?Read4bitRow@BMP@@AAE_NPAEHH@Z 100056f0 f EasyBMP.obj + 0001:000047d0 ?Read1bitRow@BMP@@AAE_NPAEHH@Z 100057d0 f EasyBMP.obj + 0001:00004900 ?Write32bitRow@BMP@@AAE_NPAEHH@Z 10005900 f EasyBMP.obj + 0001:00004970 ?Write24bitRow@BMP@@AAE_NPAEHH@Z 10005970 f EasyBMP.obj + 0001:000049e0 ?Write8bitRow@BMP@@AAE_NPAEHH@Z 100059e0 f EasyBMP.obj + 0001:00004a50 ?Write4bitRow@BMP@@AAE_NPAEHH@Z 10005a50 f EasyBMP.obj + 0001:00004b20 ?Write1bitRow@BMP@@AAE_NPAEHH@Z 10005b20 f EasyBMP.obj + 0001:00004c10 ?FindClosestColor@BMP@@AAEEAAURGBApixel@@@Z 10005c10 f EasyBMP.obj + 0001:00004ce0 ?EasyBMPcheckDataSize@@YA_NXZ 10005ce0 f EasyBMP.obj + 0001:00004e30 ?Rescale@@YA_NAAVBMP@@DH@Z 10005e30 f EasyBMP.obj + 0001:00005a20 ??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z 10006a20 f i EasyBMP.obj + 0001:00005cf0 ??0sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@AAV12@@Z 10006cf0 f i EasyBMP.obj + 0001:00005db0 ??1sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@XZ 10006db0 f i EasyBMP.obj + 0001:00005e20 ??Bsentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QBE_NXZ 10006e20 f i EasyBMP.obj + 0001:00005e40 ??0_Sentry_base@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@AAV12@@Z 10006e40 f i EasyBMP.obj + 0001:00005e90 ??1_Sentry_base@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@XZ 10006e90 f i EasyBMP.obj + 0001:00005ed1 ??_U@YAPAXI@Z 10006ed1 f msvcprt:newaop_s.obj + 0001:00005ee0 ??_V@YAXPAX@Z 10006ee0 f MSVCRT:MSVCR80.dll + 0001:00005ef0 __ftol2_sse 10006ef0 f MSVCRT:ftol2.obj + 0001:00005ef9 __ftol2_pentium4 10006ef9 f MSVCRT:ftol2.obj + 0001:00005f0c __ftol2_sse_excpt 10006f0c f MSVCRT:ftol2.obj + 0001:00005f26 __ftol2 10006f26 f MSVCRT:ftol2.obj + 0001:00005f9c _memcpy 10006f9c f MSVCRT:MSVCR80.dll + 0001:00005fa2 ___CxxFrameHandler3 10006fa2 f MSVCRT:MSVCR80.dll + 0001:00005fa8 @__security_check_cookie@4 10006fa8 f MSVCRT:secchk.obj + 0001:00006004 __CRT_INIT@12 10007004 f MSVCRT:crtdll.obj + 0001:000062dd __DllMainCRTStartup@12 100072dd f MSVCRT:crtdll.obj + 0001:000062fe ??2@YAPAXI@Z 100072fe f MSVCRT:MSVCR80.dll + 0001:00006354 __get_sse2_info 10007354 f MSVCRT:cpu_disp.obj + 0001:000063b4 ___sse2_available_init 100073b4 f MSVCRT:cpu_disp.obj + 0001:000063c1 ___report_gsfailure 100073c1 f MSVCRT:gs_report.obj + 0001:000064c5 ___clean_type_info_names 100074c5 f MSVCRT:tncleanup.obj + 0001:000064d1 __onexit 100074d1 f MSVCRT:atonexit.obj + 0001:00006576 _atexit 10007576 f MSVCRT:atonexit.obj + 0001:00006588 __RTC_Initialize 10007588 f MSVCRT:initsect.obj + 0001:000065ac __RTC_Terminate 100075ac f MSVCRT:initsect.obj + 0001:000065d0 __ValidateImageBase 100075d0 f MSVCRT:pesect.obj + 0001:00006600 __FindPESection 10007600 f MSVCRT:pesect.obj + 0001:00006650 __IsNonwritableInCurrentImage 10007650 f MSVCRT:pesect.obj + 0001:0000670c __initterm 1000770c f MSVCRT:MSVCR80.dll + 0001:00006712 __initterm_e 10007712 f MSVCRT:MSVCR80.dll + 0001:00006718 __amsg_exit 10007718 f MSVCRT:MSVCR80.dll + 0001:0000671e ___CppXcptFilter 1000771e f MSVCRT:MSVCR80.dll + 0001:00006724 _DllMain@12 10007724 f MSVCRT:dllmain.obj + 0001:00006744 __SEH_prolog4 10007744 f MSVCRT:sehprolg4.obj + 0001:00006789 __SEH_epilog4 10007789 f MSVCRT:sehprolg4.obj + 0001:0000679d __except_handler4 1000779d f MSVCRT:chandler4gs.obj + 0001:000067c0 ___security_init_cookie 100077c0 f MSVCRT:gs_support.obj + 0001:00006854 __crt_debugger_hook 10007854 f MSVCRT:MSVCR80.dll + 0001:0000685a ___clean_type_info_names_internal 1000785a f MSVCRT:MSVCR80.dll + 0001:00006860 __unlock 10007860 f MSVCRT:MSVCR80.dll + 0001:00006866 ___dllonexit 10007866 f MSVCRT:MSVCR80.dll + 0001:0000686c __lock 1000786c f MSVCRT:MSVCR80.dll + 0001:00006872 __except_handler4_common 10007872 f MSVCRT:MSVCR80.dll 0002:00000000 __imp__Sleep@4 10008000 kernel32:KERNEL32.dll 0002:00000004 __imp__InterlockedCompareExchange@12 10008004 kernel32:KERNEL32.dll 0002:00000008 __imp__TerminateProcess@8 10008008 kernel32:KERNEL32.dll @@ -157,62 +157,62 @@ 0002:00000030 __imp__GetSystemTimeAsFileTime@4 10008030 kernel32:KERNEL32.dll 0002:00000034 __imp__InterlockedExchange@8 10008034 kernel32:KERNEL32.dll 0002:00000038 \177KERNEL32_NULL_THUNK_DATA 10008038 kernel32:KERNEL32.dll - 0002:0000003c __imp_?width@ios_base@std@@QBEHXZ 1000803c msvcprt:MSVCP90.dll - 0002:00000040 __imp_?length@?$char_traits@D@std@@SAIPBD@Z 10008040 msvcprt:MSVCP90.dll - 0002:00000044 __imp_?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@XZ 10008044 msvcprt:MSVCP90.dll - 0002:00000048 __imp_?tie@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_ostream@DU?$char_traits@D@std@@@2@XZ 10008048 msvcprt:MSVCP90.dll - 0002:0000004c __imp_?good@ios_base@std@@QBE_NXZ 1000804c msvcprt:MSVCP90.dll - 0002:00000050 __imp_?flags@ios_base@std@@QBEHXZ 10008050 msvcprt:MSVCP90.dll - 0002:00000054 __imp_?uncaught_exception@std@@YA_NXZ 10008054 msvcprt:MSVCP90.dll - 0002:00000058 __imp_?_Lock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ 10008058 msvcprt:MSVCP90.dll - 0002:0000005c __imp_?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ 1000805c msvcprt:MSVCP90.dll - 0002:00000060 __imp_?fill@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEDXZ 10008060 msvcprt:MSVCP90.dll - 0002:00000064 __imp_?rdbuf@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_streambuf@DU?$char_traits@D@std@@@2@XZ 10008064 msvcprt:MSVCP90.dll - 0002:00000068 __imp_?sputc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHD@Z 10008068 msvcprt:MSVCP90.dll - 0002:0000006c __imp_?eof@?$char_traits@D@std@@SAHXZ 1000806c msvcprt:MSVCP90.dll - 0002:00000070 __imp_?eq_int_type@?$char_traits@D@std@@SA_NABH0@Z 10008070 msvcprt:MSVCP90.dll - 0002:00000074 __imp_?sputn@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHPBDH@Z 10008074 msvcprt:MSVCP90.dll - 0002:00000078 __imp_?width@ios_base@std@@QAEHH@Z 10008078 msvcprt:MSVCP90.dll - 0002:0000007c __imp_?setstate@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXH_N@Z 1000807c msvcprt:MSVCP90.dll - 0002:00000080 __imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@G@Z 10008080 msvcprt:MSVCP90.dll - 0002:00000084 __imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@I@Z 10008084 msvcprt:MSVCP90.dll - 0002:00000088 __imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@P6AAAV01@AAV01@@Z@Z 10008088 msvcprt:MSVCP90.dll - 0002:0000008c __imp_?endl@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@1@AAV21@@Z 1000808c msvcprt:MSVCP90.dll - 0002:00000090 __imp_?cout@std@@3V?$basic_ostream@DU?$char_traits@D@std@@@1@A 10008090 msvcprt:MSVCP90.dll - 0002:00000094 __imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@H@Z 10008094 msvcprt:MSVCP90.dll - 0002:00000098 __imp_?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ 10008098 msvcprt:MSVCP90.dll - 0002:0000009c \177MSVCP90_NULL_THUNK_DATA 1000809c msvcprt:MSVCP90.dll - 0002:000000a0 __imp__free 100080a0 MSVCRT:MSVCR90.dll - 0002:000000a4 __imp___encoded_null 100080a4 MSVCRT:MSVCR90.dll - 0002:000000a8 __imp___decode_pointer 100080a8 MSVCRT:MSVCR90.dll - 0002:000000ac __imp___initterm 100080ac MSVCRT:MSVCR90.dll - 0002:000000b0 __imp___initterm_e 100080b0 MSVCRT:MSVCR90.dll - 0002:000000b4 __imp___amsg_exit 100080b4 MSVCRT:MSVCR90.dll - 0002:000000b8 __imp___adjust_fdiv 100080b8 MSVCRT:MSVCR90.dll - 0002:000000bc __imp____CppXcptFilter 100080bc MSVCRT:MSVCR90.dll - 0002:000000c0 __imp___crt_debugger_hook 100080c0 MSVCRT:MSVCR90.dll - 0002:000000c4 __imp____clean_type_info_names_internal 100080c4 MSVCRT:MSVCR90.dll - 0002:000000c8 __imp___unlock 100080c8 MSVCRT:MSVCR90.dll - 0002:000000cc __imp____dllonexit 100080cc MSVCRT:MSVCR90.dll - 0002:000000d0 __imp___lock 100080d0 MSVCRT:MSVCR90.dll - 0002:000000d4 __imp___onexit 100080d4 MSVCRT:MSVCR90.dll - 0002:000000d8 __imp___except_handler4_common 100080d8 MSVCRT:MSVCR90.dll - 0002:000000dc __imp___malloc_crt 100080dc MSVCRT:MSVCR90.dll - 0002:000000e0 __imp___encode_pointer 100080e0 MSVCRT:MSVCR90.dll - 0002:000000e4 __imp_??2@YAPAXI@Z 100080e4 MSVCRT:MSVCR90.dll - 0002:000000e8 __imp____CxxFrameHandler3 100080e8 MSVCRT:MSVCR90.dll - 0002:000000ec __imp__sprintf 100080ec MSVCRT:MSVCR90.dll - 0002:000000f0 __imp__floor 100080f0 MSVCRT:MSVCR90.dll - 0002:000000f4 __imp__memcpy 100080f4 MSVCRT:MSVCR90.dll - 0002:000000f8 __imp__feof 100080f8 MSVCRT:MSVCR90.dll - 0002:000000fc __imp__fread 100080fc MSVCRT:MSVCR90.dll - 0002:00000100 __imp__fopen 10008100 MSVCRT:MSVCR90.dll - 0002:00000104 __imp__fclose 10008104 MSVCRT:MSVCR90.dll - 0002:00000108 __imp__ceil 10008108 MSVCRT:MSVCR90.dll - 0002:0000010c __imp__fwrite 1000810c MSVCRT:MSVCR90.dll - 0002:00000110 __imp_??_V@YAXPAX@Z 10008110 MSVCRT:MSVCR90.dll - 0002:00000114 __imp__toupper 10008114 MSVCRT:MSVCR90.dll - 0002:00000118 \177MSVCR90_NULL_THUNK_DATA 10008118 MSVCRT:MSVCR90.dll + 0002:0000003c __imp_?width@ios_base@std@@QBEHXZ 1000803c msvcprt:MSVCP80.dll + 0002:00000040 __imp_?length@?$char_traits@D@std@@SAIPBD@Z 10008040 msvcprt:MSVCP80.dll + 0002:00000044 __imp_?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@XZ 10008044 msvcprt:MSVCP80.dll + 0002:00000048 __imp_?tie@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_ostream@DU?$char_traits@D@std@@@2@XZ 10008048 msvcprt:MSVCP80.dll + 0002:0000004c __imp_?good@ios_base@std@@QBE_NXZ 1000804c msvcprt:MSVCP80.dll + 0002:00000050 __imp_?flags@ios_base@std@@QBEHXZ 10008050 msvcprt:MSVCP80.dll + 0002:00000054 __imp_?uncaught_exception@std@@YA_NXZ 10008054 msvcprt:MSVCP80.dll + 0002:00000058 __imp_?_Lock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ 10008058 msvcprt:MSVCP80.dll + 0002:0000005c __imp_?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ 1000805c msvcprt:MSVCP80.dll + 0002:00000060 __imp_?fill@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEDXZ 10008060 msvcprt:MSVCP80.dll + 0002:00000064 __imp_?rdbuf@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_streambuf@DU?$char_traits@D@std@@@2@XZ 10008064 msvcprt:MSVCP80.dll + 0002:00000068 __imp_?sputc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHD@Z 10008068 msvcprt:MSVCP80.dll + 0002:0000006c __imp_?eof@?$char_traits@D@std@@SAHXZ 1000806c msvcprt:MSVCP80.dll + 0002:00000070 __imp_?eq_int_type@?$char_traits@D@std@@SA_NABH0@Z 10008070 msvcprt:MSVCP80.dll + 0002:00000074 __imp_?sputn@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHPBDH@Z 10008074 msvcprt:MSVCP80.dll + 0002:00000078 __imp_?width@ios_base@std@@QAEHH@Z 10008078 msvcprt:MSVCP80.dll + 0002:0000007c __imp_?setstate@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXH_N@Z 1000807c msvcprt:MSVCP80.dll + 0002:00000080 __imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@G@Z 10008080 msvcprt:MSVCP80.dll + 0002:00000084 __imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@I@Z 10008084 msvcprt:MSVCP80.dll + 0002:00000088 __imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@P6AAAV01@AAV01@@Z@Z 10008088 msvcprt:MSVCP80.dll + 0002:0000008c __imp_?endl@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@1@AAV21@@Z 1000808c msvcprt:MSVCP80.dll + 0002:00000090 __imp_?cout@std@@3V?$basic_ostream@DU?$char_traits@D@std@@@1@A 10008090 msvcprt:MSVCP80.dll + 0002:00000094 __imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@H@Z 10008094 msvcprt:MSVCP80.dll + 0002:00000098 __imp_?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ 10008098 msvcprt:MSVCP80.dll + 0002:0000009c \177MSVCP80_NULL_THUNK_DATA 1000809c msvcprt:MSVCP80.dll + 0002:000000a0 __imp__free 100080a0 MSVCRT:MSVCR80.dll + 0002:000000a4 __imp___encoded_null 100080a4 MSVCRT:MSVCR80.dll + 0002:000000a8 __imp___decode_pointer 100080a8 MSVCRT:MSVCR80.dll + 0002:000000ac __imp___initterm 100080ac MSVCRT:MSVCR80.dll + 0002:000000b0 __imp___initterm_e 100080b0 MSVCRT:MSVCR80.dll + 0002:000000b4 __imp___amsg_exit 100080b4 MSVCRT:MSVCR80.dll + 0002:000000b8 __imp___adjust_fdiv 100080b8 MSVCRT:MSVCR80.dll + 0002:000000bc __imp____CppXcptFilter 100080bc MSVCRT:MSVCR80.dll + 0002:000000c0 __imp___crt_debugger_hook 100080c0 MSVCRT:MSVCR80.dll + 0002:000000c4 __imp____clean_type_info_names_internal 100080c4 MSVCRT:MSVCR80.dll + 0002:000000c8 __imp___unlock 100080c8 MSVCRT:MSVCR80.dll + 0002:000000cc __imp____dllonexit 100080cc MSVCRT:MSVCR80.dll + 0002:000000d0 __imp___lock 100080d0 MSVCRT:MSVCR80.dll + 0002:000000d4 __imp___onexit 100080d4 MSVCRT:MSVCR80.dll + 0002:000000d8 __imp___except_handler4_common 100080d8 MSVCRT:MSVCR80.dll + 0002:000000dc __imp___malloc_crt 100080dc MSVCRT:MSVCR80.dll + 0002:000000e0 __imp___encode_pointer 100080e0 MSVCRT:MSVCR80.dll + 0002:000000e4 __imp_??2@YAPAXI@Z 100080e4 MSVCRT:MSVCR80.dll + 0002:000000e8 __imp____CxxFrameHandler3 100080e8 MSVCRT:MSVCR80.dll + 0002:000000ec __imp__sprintf 100080ec MSVCRT:MSVCR80.dll + 0002:000000f0 __imp__floor 100080f0 MSVCRT:MSVCR80.dll + 0002:000000f4 __imp__memcpy 100080f4 MSVCRT:MSVCR80.dll + 0002:000000f8 __imp__feof 100080f8 MSVCRT:MSVCR80.dll + 0002:000000fc __imp__fread 100080fc MSVCRT:MSVCR80.dll + 0002:00000100 __imp__fopen 10008100 MSVCRT:MSVCR80.dll + 0002:00000104 __imp__fclose 10008104 MSVCRT:MSVCR80.dll + 0002:00000108 __imp__ceil 10008108 MSVCRT:MSVCR80.dll + 0002:0000010c __imp__fwrite 1000810c MSVCRT:MSVCR80.dll + 0002:00000110 __imp_??_V@YAXPAX@Z 10008110 MSVCRT:MSVCR80.dll + 0002:00000114 __imp__toupper 10008114 MSVCRT:MSVCR80.dll + 0002:00000118 \177MSVCR80_NULL_THUNK_DATA 10008118 MSVCRT:MSVCR80.dll 0002:0000011c ___xc_a 1000811c MSVCRT:cinitexe.obj 0002:00000120 ___xc_z 10008120 MSVCRT:cinitexe.obj 0002:00000124 ___xi_a 10008124 MSVCRT:cinitexe.obj @@ -230,20 +230,20 @@ 0002:00001368 __pDefaultRawDllMain 10009368 MSVCRT:crtdll.obj 0002:00001378 __load_config_used 10009378 MSVCRT:loadcfg.obj 0002:000013c0 ___safe_se_handler_table 100093c0 <linker-defined> - 0002:000013d0 ___rtc_iaa 100093d0 MSVCRT:_initsect_.obj - 0002:000013d4 ___rtc_izz 100093d4 MSVCRT:_initsect_.obj - 0002:000013d8 ___rtc_taa 100093d8 MSVCRT:_initsect_.obj - 0002:000013dc ___rtc_tzz 100093dc MSVCRT:_initsect_.obj - 0002:0000151c __IMPORT_DESCRIPTOR_MSVCP90 1000951c msvcprt:MSVCP90.dll - 0002:00001530 __IMPORT_DESCRIPTOR_MSVCR90 10009530 MSVCRT:MSVCR90.dll - 0002:00001544 __IMPORT_DESCRIPTOR_KERNEL32 10009544 kernel32:KERNEL32.dll - 0002:00001558 __NULL_IMPORT_DESCRIPTOR 10009558 msvcprt:MSVCP90.dll + 0002:000013d4 ___rtc_iaa 100093d4 MSVCRT:initsect.obj + 0002:000013d8 ___rtc_izz 100093d8 MSVCRT:initsect.obj + 0002:000013dc ___rtc_taa 100093dc MSVCRT:initsect.obj + 0002:000013e0 ___rtc_tzz 100093e0 MSVCRT:initsect.obj + 0002:00001554 __IMPORT_DESCRIPTOR_MSVCP80 10009554 msvcprt:MSVCP80.dll + 0002:00001568 __IMPORT_DESCRIPTOR_MSVCR80 10009568 MSVCRT:MSVCR80.dll + 0002:0000157c __IMPORT_DESCRIPTOR_KERNEL32 1000957c kernel32:KERNEL32.dll + 0002:00001590 __NULL_IMPORT_DESCRIPTOR 10009590 msvcprt:MSVCP80.dll 0003:00000004 ?EasyBMPwarnings@@3_NA 1000b004 EasyBMP.obj 0003:00000010 ___security_cookie 1000b010 MSVCRT:gs_cookie.obj 0003:00000014 ___security_cookie_complement 1000b014 MSVCRT:gs_cookie.obj 0003:00000018 ___native_dllmain_reason 1000b018 MSVCRT:natstart.obj 0003:0000001c ___native_vcclrit_reason 1000b01c MSVCRT:natstart.obj - 0003:0000034c __forceCRTManifestRTM 1000b34c MSVCRT:crtmanifestrtm.obj + 0003:0000034c __forceCRTManifest 1000b34c MSVCRT:crtmanifest.obj 0003:00000350 ?__type_info_root_node@@3U__type_info_node@@A 1000b350 MSVCRT:tncleanup.obj 0003:00000358 __adjust_fdiv 1000b358 <common> 0003:0000035c ___native_startup_state 1000b35c <common> @@ -253,22 +253,22 @@ 0003:0000036c ___sse2_available 1000b36c <common> 0003:00000370 ___dyn_tls_init_callback 1000b370 <common> - entry point at 0001:00006362 + entry point at 0001:000062dd Static symbols - 0001:00005c95 __catch$??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z$0 10006c95 f i EasyBMP.obj - 0001:00005fd7 _pre_c_init 10006fd7 f MSVCRT:crtdll.obj - 0001:0000624c ___DllMainCRTStartup 1000724c f MSVCRT:crtdll.obj - 0001:0000638c _has_osfxsr_set 1000738c f MSVCRT:cpu_disp.obj - 0001:00006940 __unwindfunclet$?Rescale@@YA_NAAVBMP@@DH@Z$0 10007940 f EasyBMP.obj - 0001:00006948 __ehhandler$?Rescale@@YA_NAAVBMP@@DH@Z 10007948 f EasyBMP.obj - 0001:00006970 __unwindfunclet$??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z$2 10007970 f EasyBMP.obj - 0001:00006978 __ehhandler$??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z 10007978 f EasyBMP.obj - 0001:000069a0 __unwindfunclet$??1sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@XZ$0 100079a0 f EasyBMP.obj - 0001:000069a0 __unwindfunclet$??0sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@AAV12@@Z$0 100079a0 f EasyBMP.obj - 0001:000069a8 __ehhandler$??0sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@AAV12@@Z 100079a8 f EasyBMP.obj - 0001:000069a8 __ehhandler$??1sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@XZ 100079a8 f EasyBMP.obj + 0001:00005c83 __catch$??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z$0 10006c83 f i EasyBMP.obj + 0001:00005fb7 _pre_c_init 10006fb7 f MSVCRT:crtdll.obj + 0001:000061c7 ___DllMainCRTStartup 100071c7 f MSVCRT:crtdll.obj + 0001:00006304 _has_osfxsr_set 10007304 f MSVCRT:cpu_disp.obj + 0001:00006880 __unwindfunclet$?Rescale@@YA_NAAVBMP@@DH@Z$0 10007880 f EasyBMP.obj + 0001:00006888 __ehhandler$?Rescale@@YA_NAAVBMP@@DH@Z 10007888 f EasyBMP.obj + 0001:000068b0 __unwindfunclet$??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z$2 100078b0 f EasyBMP.obj + 0001:000068b8 __ehhandler$??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z 100078b8 f EasyBMP.obj + 0001:000068e0 __unwindfunclet$??0sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@AAV12@@Z$0 100078e0 f EasyBMP.obj + 0001:000068e8 __ehhandler$??0sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@AAV12@@Z 100078e8 f EasyBMP.obj + 0001:00006910 __unwindfunclet$??1sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@XZ$0 10007910 f EasyBMP.obj + 0001:00006918 __ehhandler$??1sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@XZ 10007918 f EasyBMP.obj Exports This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2009-02-01 20:00:49
|
Revision: 1647 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1647&view=rev Author: roman_yakovenko Date: 2009-02-01 20:00:45 +0000 (Sun, 01 Feb 2009) Log Message: ----------- sphinx Modified Paths: -------------- pyplusplus_dev/docs/documentation/ctypes/ctypes_integration.rest pyplusplus_dev/docs/documentation/functions/call_policies/call_policies.rest pyplusplus_dev/docs/documentation/functions/functions.rest pyplusplus_dev/docs/documentation/functions/transformation/transformation.rest pyplusplus_dev/docs/documentation/how_to/how_to.rest pyplusplus_dev/docs/documentation/index.rest pyplusplus_dev/docs/documentation/tutorials/module_builder/generate_code.py.rest pyplusplus_dev/docs/documentation/tutorials/module_builder/generated.cpp.rest pyplusplus_dev/docs/documentation/tutorials/module_builder/hello_world.hpp.rest pyplusplus_dev/docs/documentation/tutorials/module_builder/module_builder.rest pyplusplus_dev/docs/documentation/tutorials/tutorials.rest pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/bindings.cpp.rest pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/classes.hpp.rest pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/sconstruct.rest pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptr.h.rest pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptrs.rest pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/test.py.rest Added Paths: ----------- pyplusplus_dev/docs/documentation/apidocs/api.rest pyplusplus_dev/docs/documentation/tutorials/pyplusplus_gui.rest Removed Paths: ------------- pyplusplus_dev/docs/comparisons/www_configuration.py pyplusplus_dev/docs/documentation/apidocs/www_configuration.py pyplusplus_dev/docs/documentation/ctypes/www_configuration.py pyplusplus_dev/docs/documentation/easy_extending_guide.odt pyplusplus_dev/docs/documentation/functions/call_policies/www_configuration.py pyplusplus_dev/docs/documentation/functions/transformation/www_configuration.py pyplusplus_dev/docs/documentation/functions/www_configuration.py pyplusplus_dev/docs/documentation/how_to/www_configuration.py pyplusplus_dev/docs/documentation/indexing_suite_v2_files/www_configuration.py pyplusplus_dev/docs/documentation/tutorials/module_builder/www_configuration.py pyplusplus_dev/docs/documentation/tutorials/pyplusplus_gui.rest pyplusplus_dev/docs/documentation/tutorials/www_configuration.py pyplusplus_dev/docs/documentation/www_configuration.py pyplusplus_dev/docs/examples/boost/www_configuration.py pyplusplus_dev/docs/examples/easybmp/www_configuration.py pyplusplus_dev/docs/osdc2006/www_configuration.py pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/www_configuration.py pyplusplus_dev/docs/troubleshooting_guide/www_configuration.py pyplusplus_dev/docs/tutorials.rest Deleted: pyplusplus_dev/docs/comparisons/www_configuration.py =================================================================== --- pyplusplus_dev/docs/comparisons/www_configuration.py 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/comparisons/www_configuration.py 2009-02-01 20:00:45 UTC (rev 1647) @@ -1,5 +0,0 @@ -name = 'compare to ...' -main_html_file = 'compare_to.html' -names = { 'compare_to' : 'compare to ...' - , 'pyste' : 'Pyste' -} \ No newline at end of file Added: pyplusplus_dev/docs/documentation/apidocs/api.rest =================================================================== --- pyplusplus_dev/docs/documentation/apidocs/api.rest (rev 0) +++ pyplusplus_dev/docs/documentation/apidocs/api.rest 2009-02-01 20:00:45 UTC (rev 1647) @@ -0,0 +1,9 @@ +=== +API +=== + +`Py++` consists from XXX sub packages + +.. toctree:: + :maxdepth: 4 + Deleted: pyplusplus_dev/docs/documentation/apidocs/www_configuration.py =================================================================== --- pyplusplus_dev/docs/documentation/apidocs/www_configuration.py 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/documentation/apidocs/www_configuration.py 2009-02-01 20:00:45 UTC (rev 1647) @@ -1,2 +0,0 @@ -name = 'API docs' -main_html_file = 'index.html' \ No newline at end of file Modified: pyplusplus_dev/docs/documentation/ctypes/ctypes_integration.rest =================================================================== --- pyplusplus_dev/docs/documentation/ctypes/ctypes_integration.rest 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/documentation/ctypes/ctypes_integration.rest 2009-02-01 20:00:45 UTC (rev 1647) @@ -19,7 +19,6 @@ compatible data types, and allows to call functions in dlls/shared libraries. It can be used to wrap these libraries in pure Python. - -------- The idea -------- @@ -70,6 +69,16 @@ * return address of return value as integer - `new call policy was created`_ +--------------------------- +ctypes integration contents +--------------------------- + +.. toctree:: + + variables.rest + this_and_sizeof.rest + unions.rest + ----------------- Future directions ----------------- Deleted: pyplusplus_dev/docs/documentation/ctypes/www_configuration.py =================================================================== --- pyplusplus_dev/docs/documentation/ctypes/www_configuration.py 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/documentation/ctypes/www_configuration.py 2009-02-01 20:00:45 UTC (rev 1647) @@ -1,6 +0,0 @@ -name = 'ctypes integration' -main_html_file = 'ctypes_integration.html' - -names = { 'ctypes_integration' : 'ctypes integration' - , 'this_and_sizeof' : 'this & sizeof'} - Deleted: pyplusplus_dev/docs/documentation/easy_extending_guide.odt =================================================================== (Binary files differ) Modified: pyplusplus_dev/docs/documentation/functions/call_policies/call_policies.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/call_policies/call_policies.rest 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/documentation/functions/call_policies/call_policies.rest 2009-02-01 20:00:45 UTC (rev 1647) @@ -184,9 +184,18 @@ -------------------------- `Py++`_ defines few call policies. I hope you will find them useful. I don't mind -to contribute them to `Boost.Python`_ library, but I don't have enough free time +to contribute them to `Boost.Python`_ library, but I don't have enough free time to "boostify" them. + +.. toctree:: + + as_tuple.rest + return_addressof.rest + return_pointee_value.rest + return_range.rest + custom_call_policies.rest + .. _`new indexing suite` : ./../../containers.html .. _`this file` : http://pygccxml.svn.sourceforge.net/viewvc/pygccxml/pyplusplus_dev/pyplusplus/code_repository/call_policies.py?view=markup Deleted: pyplusplus_dev/docs/documentation/functions/call_policies/www_configuration.py =================================================================== --- pyplusplus_dev/docs/documentation/functions/call_policies/www_configuration.py 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/documentation/functions/call_policies/www_configuration.py 2009-02-01 20:00:45 UTC (rev 1647) @@ -1,6 +0,0 @@ -name = 'call policies' -#main_html_file = 'index.html' - -names = { 'call_policies' : 'call policies' -} - Modified: pyplusplus_dev/docs/documentation/functions/functions.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/functions.rest 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/documentation/functions/functions.rest 2009-02-01 20:00:45 UTC (rev 1647) @@ -10,7 +10,20 @@ This section of documentation will explain how to configure `Py++`_ in order to export your functions, using desired `Boost.Python`_ functionality. +-------- +Contents +-------- +.. toctree:: + + call_policies/call_policies.rest + transformation/transformation.rest + default_args.rest + make_constructor.rest + overloading.rest + registration_order.rest + + .. _`Py++` : ./../../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org Modified: pyplusplus_dev/docs/documentation/functions/transformation/transformation.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/transformation/transformation.rest 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/documentation/functions/transformation/transformation.rest 2009-02-01 20:00:45 UTC (rev 1647) @@ -6,11 +6,11 @@ Introduction ------------ -During the development of `Python`_ bindings for some C++ library, it might get -necessary to write custom wrapper code for a particular function in order to +During the development of `Python`_ bindings for some C++ library, it might get +necessary to write custom wrapper code for a particular function in order to make that function usable from `Python`_. -An often mentioned example that demonstrates the problem is the ``get_size()`` +An often mentioned example that demonstrates the problem is the ``get_size()`` member function of a fictitious image class: .. code-block:: c++ @@ -18,9 +18,9 @@ void get_size(int& width, int& height); This member function cannot be exposed with standard `Boost.Python`_ mechanisms. -The main reasons for this is that ``int`` is immutable type in `Python`_. -An instance of immutable type could not be changed after construction. The only -way to expose this function to `Python`_ is to create small wrapper, which will +The main reasons for this is that ``int`` is immutable type in `Python`_. +An instance of immutable type could not be changed after construction. The only +way to expose this function to `Python`_ is to create small wrapper, which will return a tuple. In `Python`_, the above function would instead be invoked like this: .. code-block:: python @@ -37,67 +37,66 @@ img.get_size( width, height ); return boost::python::make_tuple( width, height ); } - -As you can see this function is simply invokes the original ``get_size()`` member + +As you can see this function is simply invokes the original ``get_size()`` member function and return the output values as a tuple. -Unfortunately, C++ source code cannot describe the semantics of an argument so -there is no way for a code generator tool such as `Py++`_ to know whether an -argument that has a reference type is actually an output argument, an input -argument or an input/output argument. That's why the user will always have to -"enhance" the C++ code and tell the code generator tool about the missing -information. +Unfortunately, C++ source code cannot describe the semantics of an argument so +there is no way for a code generator tool such as `Py++`_ to know whether an +argument that has a reference type is actually an output argument, an input +argument or an input/output argument. That's why the user will always have to +"enhance" the C++ code and tell the code generator tool about the missing +information. Note: C++ fundamental types, enumerations and string are all mapped to `Python`_ immutable types. -Instead of forcing you to write the entire wrapper function, `Py++`_ allows you -to provide the semantics of an argument(s) and then it will take care of +Instead of forcing you to write the entire wrapper function, `Py++`_ allows you +to provide the semantics of an argument(s) and then it will take care of producing the correct code: .. code-block:: python from pyplusplus import module_builder from pyplusplus import function_transformers as FT - + mb = module_builder.module_builder_t( ... ) get_size = mb.mem_fun( 'image_t::get_size' ) get_size.add_transformation( FT.output(0), FT.output(1) ) #the following line has same effect get_size.add_transformation( FT.output('width'), FT.output('height') ) -`Py++`_ will generate a code, very similar to one found in +`Py++`_ will generate a code, very similar to one found in ``boost::python::tuple get_size( const image_t& img )`` function. --------- -Thanks to +Thanks to --------- A thanks goes to Matthias Baas for his efforts and hard work. He did a research, -implemented the initial working version and wrote a lot of documentation. +implemented the initial working version and wrote a lot of documentation. --------------------- -Built-in transformers +Transformers contents --------------------- `Py++`_ comes with few predefined transformers: -* ``output`` +.. toctree:: -* ``input`` + terminology.rest + Generated functions name <name_mangling.rest> + output.rest + input.rest + inout.rest + modify_type.rest + input_static_array.rest + output_static_array.rest + transfer_ownership.rest + input_c_buffer.rest -* ``inout`` -* ``modify_type`` -* ``input_static_array`` - -* ``output_static_array`` - -* ``input_c_buffer`` - -* ``transfer_ownership`` - The set doesn't cover all common use cases, but it will grow with every new version of `Py++`_. If you created your own transformer consider to contribute it to the project. Deleted: pyplusplus_dev/docs/documentation/functions/transformation/www_configuration.py =================================================================== --- pyplusplus_dev/docs/documentation/functions/transformation/www_configuration.py 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/documentation/functions/transformation/www_configuration.py 2009-02-01 20:00:45 UTC (rev 1647) @@ -1,6 +0,0 @@ -name = 'function transformation' -#main_html_file = 'index.html' - -names = { 'built_in_transformers' : 'built-in transformers' - , 'name_mangling' : 'name mangling' -} Deleted: pyplusplus_dev/docs/documentation/functions/www_configuration.py =================================================================== --- pyplusplus_dev/docs/documentation/functions/www_configuration.py 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/documentation/functions/www_configuration.py 2009-02-01 20:00:45 UTC (rev 1647) @@ -1,7 +0,0 @@ -name = 'functions & operators' -#main_html_file = 'index.html' - -names = { 'call_policies' : 'call policies' - , 'default_args' : 'default arguments' - , 'registration_order' : 'registration order' -} Modified: pyplusplus_dev/docs/documentation/how_to/how_to.rest =================================================================== --- pyplusplus_dev/docs/documentation/how_to/how_to.rest 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/documentation/how_to/how_to.rest 2009-02-01 20:00:45 UTC (rev 1647) @@ -2,28 +2,12 @@ How to ... ? ============ -`How to deal with templates?`_ +.. toctree:: -.. _`How to deal with templates?` : ./templates.html - -`How to register an exception translation?`_ - -.. _`How to register an exception translation?` : exception_translation.html - -`Fatal error C1204:Compiler limit: internal structure overflow`_ - -.. _`Fatal error C1204:Compiler limit: internal structure overflow` : ./fatal_error_c1204.html - -`Absolute\\relative paths`_ - -.. _`Absolute\\relative paths` : ./absolute_relative_paths.html - -`Generated file name is too long`_ - -.. _`Generated file name is too long` : ./file_name_too_long.html - - -.. _`Py++` : ./../../pyplusplus.html -.. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html -.. _`Python`: http://www.python.org -.. _`GCC-XML`: http://www.gccxml.org + templates.rest + exception_translation.rest + fatal_error_c1204.rest + absolute_relative_paths.rest + file_name_too_long.rest + best_practices.rest + hints.rest Deleted: pyplusplus_dev/docs/documentation/how_to/www_configuration.py =================================================================== --- pyplusplus_dev/docs/documentation/how_to/www_configuration.py 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/documentation/how_to/www_configuration.py 2009-02-01 20:00:45 UTC (rev 1647) @@ -1,13 +0,0 @@ -name = 'how to ... ?' -#main_html_file = 'index.html' - -names = { 'hints' : 'hints' - , 'how_to' : 'how to' - , 'templates' : 'deal with templates' - , 'best_practices' : 'best practices' - , 'exception_translation' : 'exception translation' - , 'fatal_error_c1204' : 'fatal error: C1204' - , 'absolute_relative_paths' : 'absolute\\relative paths' - , 'file_name_too_long' : 'file name is too long' -} - Modified: pyplusplus_dev/docs/documentation/index.rest =================================================================== --- pyplusplus_dev/docs/documentation/index.rest 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/documentation/index.rest 2009-02-01 20:00:45 UTC (rev 1647) @@ -28,10 +28,21 @@ Overview -------- -* `API docs`_ - contains API documentation, including source code, generated by `epydoc`_ +.. toctree:: -.. _`API docs` : ./apidocs/index.html -.. _`epydoc` : http://epydoc.sourceforge.net/ + tutorials/tutorials.rest + architecture.rest + apidocs/api.rest + containers.rest + doc_string.rest + multi_module_development.rest + properties.rest + split_module.rest + warnings.rest + inserting_code.rest + ctypes/ctypes_integration.rest + functions/functions.rest + how_to/how_to.rest * `STL containers`_ - describes various methods to expose STL containers to `Python`_ @@ -70,12 +81,12 @@ .. _`properties`: ./properties.html -* `splitting generated code to files`_ - `Py++`_ provides 4 different strategies - for splitting the generated code into files. Take a look on this document, +* `splitting generated code to files`_ - `Py++`_ provides 4 different strategies + for splitting the generated code into files. Take a look on this document, it will save you the time. - + .. _`splitting generated code to files` : ./split_module.html - + * `tutorials`_ - don't know where to start? Start here. Small and simple example will help you to start with `Py++`_. If you want to evaluate `Py++`_ you will find here small and handy GUI program. Deleted: pyplusplus_dev/docs/documentation/indexing_suite_v2_files/www_configuration.py =================================================================== --- pyplusplus_dev/docs/documentation/indexing_suite_v2_files/www_configuration.py 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/documentation/indexing_suite_v2_files/www_configuration.py 2009-02-01 20:00:45 UTC (rev 1647) @@ -1 +0,0 @@ -expose_to_web = False \ No newline at end of file Modified: pyplusplus_dev/docs/documentation/tutorials/module_builder/generate_code.py.rest =================================================================== --- pyplusplus_dev/docs/documentation/tutorials/module_builder/generate_code.py.rest 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/documentation/tutorials/module_builder/generate_code.py.rest 2009-02-01 20:00:45 UTC (rev 1647) @@ -1,2 +1,6 @@ +================================ +`module_builder_t` usage example +================================ + .. literalinclude:: ./generate_code.py :language: python Modified: pyplusplus_dev/docs/documentation/tutorials/module_builder/generated.cpp.rest =================================================================== --- pyplusplus_dev/docs/documentation/tutorials/module_builder/generated.cpp.rest 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/documentation/tutorials/module_builder/generated.cpp.rest 2009-02-01 20:00:45 UTC (rev 1647) @@ -1,2 +1,6 @@ +============== +Generated code +============== + .. literalinclude:: ./generated.cpp :language: c++ Modified: pyplusplus_dev/docs/documentation/tutorials/module_builder/hello_world.hpp.rest =================================================================== --- pyplusplus_dev/docs/documentation/tutorials/module_builder/hello_world.hpp.rest 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/documentation/tutorials/module_builder/hello_world.hpp.rest 2009-02-01 20:00:45 UTC (rev 1647) @@ -1,2 +1,6 @@ +=============== +C++ header file +=============== + .. literalinclude:: ./hello_world.hpp :language: c++ Modified: pyplusplus_dev/docs/documentation/tutorials/module_builder/module_builder.rest =================================================================== --- pyplusplus_dev/docs/documentation/tutorials/module_builder/module_builder.rest 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/documentation/tutorials/module_builder/module_builder.rest 2009-02-01 20:00:45 UTC (rev 1647) @@ -149,13 +149,15 @@ For big projects it is a must to minimize compilation time. So `Py++`_ splits your module source code to different files within the directory. ------- -Result ------- +----- +Files +----- -`View generated file`_ +.. toctree:: -.. _`View generated file` : ./generated.cpp.html + hello_world.hpp.rest + generate_code.py.rest + generated.cpp.rest That's all. I hope you enjoyed. Deleted: pyplusplus_dev/docs/documentation/tutorials/module_builder/www_configuration.py =================================================================== --- pyplusplus_dev/docs/documentation/tutorials/module_builder/www_configuration.py 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/documentation/tutorials/module_builder/www_configuration.py 2009-02-01 20:00:45 UTC (rev 1647) @@ -1 +0,0 @@ -name = 'module builder' \ No newline at end of file Deleted: pyplusplus_dev/docs/documentation/tutorials/pyplusplus_gui.rest =================================================================== --- pyplusplus_dev/docs/documentation/tutorials/pyplusplus_gui.rest 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/documentation/tutorials/pyplusplus_gui.rest 2009-02-01 20:00:45 UTC (rev 1647) @@ -1 +0,0 @@ -.. image:: pyplusplus_gui.png Added: pyplusplus_dev/docs/documentation/tutorials/pyplusplus_gui.rest =================================================================== --- pyplusplus_dev/docs/documentation/tutorials/pyplusplus_gui.rest (rev 0) +++ pyplusplus_dev/docs/documentation/tutorials/pyplusplus_gui.rest 2009-02-01 20:00:45 UTC (rev 1647) @@ -0,0 +1,5 @@ +===================== +pygccxml and Py++ GUI +===================== + +.. image:: pyplusplus_gui.png Modified: pyplusplus_dev/docs/documentation/tutorials/tutorials.rest =================================================================== --- pyplusplus_dev/docs/documentation/tutorials/tutorials.rest 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/documentation/tutorials/tutorials.rest 2009-02-01 20:00:45 UTC (rev 1647) @@ -2,6 +2,11 @@ tutorials ========= +.. toctree:: + + module_builder/module_builder.rest + pyplusplus_gui.rest + ------------- What is Py++? ------------- Deleted: pyplusplus_dev/docs/documentation/tutorials/www_configuration.py =================================================================== --- pyplusplus_dev/docs/documentation/tutorials/www_configuration.py 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/documentation/tutorials/www_configuration.py 2009-02-01 20:00:45 UTC (rev 1647) @@ -1,2 +0,0 @@ -name = 'tutorials' -names = { 'pyplusplus_gui' : 'Py++ - graphical user interface' } Deleted: pyplusplus_dev/docs/documentation/www_configuration.py =================================================================== --- pyplusplus_dev/docs/documentation/www_configuration.py 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/documentation/www_configuration.py 2009-02-01 20:00:45 UTC (rev 1647) @@ -1,11 +0,0 @@ -name = 'documentation' -main_html_file = 'index.html' -files_to_skip = ['indexing_suite_v2.html', 'feedback.html'] -names = { 'containers' : 'STL containers' - , 'how_to' : 'how to ... ?' - , 'doc_string' : 'documentation string' - , 'inserting_code' : 'inserting code' - , 'best_practices' : 'best practices' - , 'multi_module_development' : 'multi-module development' - , 'split_module' : 'splitting generated code to files' -} Deleted: pyplusplus_dev/docs/examples/boost/www_configuration.py =================================================================== --- pyplusplus_dev/docs/examples/boost/www_configuration.py 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/examples/boost/www_configuration.py 2009-02-01 20:00:45 UTC (rev 1647) @@ -1,2 +0,0 @@ -name = 'boost' -#This directory used as place holder for Py++ directory \ No newline at end of file Deleted: pyplusplus_dev/docs/examples/easybmp/www_configuration.py =================================================================== --- pyplusplus_dev/docs/examples/easybmp/www_configuration.py 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/examples/easybmp/www_configuration.py 2009-02-01 20:00:45 UTC (rev 1647) @@ -1 +0,0 @@ -name = 'EasyBMP' \ No newline at end of file Deleted: pyplusplus_dev/docs/osdc2006/www_configuration.py =================================================================== --- pyplusplus_dev/docs/osdc2006/www_configuration.py 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/osdc2006/www_configuration.py 2009-02-01 20:00:45 UTC (rev 1647) @@ -1 +0,0 @@ -expose_to_web = False \ No newline at end of file Modified: pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/bindings.cpp.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/bindings.cpp.rest 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/bindings.cpp.rest 2009-02-01 20:00:45 UTC (rev 1647) @@ -1,2 +1,6 @@ +======================== +C++/Python bindings code +======================== + .. literalinclude:: ./bindings.cpp :language: c++ Modified: pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/classes.hpp.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/classes.hpp.rest 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/classes.hpp.rest 2009-02-01 20:00:45 UTC (rev 1647) @@ -1,2 +1,6 @@ +========================= +To be exposed C++ classes +========================= + .. literalinclude:: ./classes.hpp :language: c++ Modified: pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/sconstruct.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/sconstruct.rest 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/sconstruct.rest 2009-02-01 20:00:45 UTC (rev 1647) @@ -1,2 +1,6 @@ +==================== +Build script (SCons) +==================== + .. literalinclude:: ./sconstruct :language: python Modified: pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptr.h.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptr.h.rest 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptr.h.rest 2009-02-01 20:00:45 UTC (rev 1647) @@ -1,2 +1,6 @@ +================================== +User defined "smart pointer" class +================================== + .. literalinclude:: ./smart_ptr.h :language: c++ Modified: pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptrs.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptrs.rest 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptrs.rest 2009-02-01 20:00:45 UTC (rev 1647) @@ -11,25 +11,16 @@ Files ----- -* `smart_ptr.h`_ file contains definition of custom smart pointer class. +.. toctree:: -* `classes.hpp`_ file contains definition of few classes, which should be exposed - to Python. + smart_ptr.h.rest + classes.hpp.rest + bindings.cpp.rest + sconstruct.rest + test.py.rest -* `bindings.cpp`_ file contains source code that exposes the classes to Python. - -* `sconstruct`_ file contains build instructions for scons build tool. - -* `test.py`_ file contains complete unit tests for the exposed classes - All files contain comments, which describe what and why was done. -.. _`smart_ptr.h` : ./smart_ptr.h.html -.. _`classes.hpp` : ./classes.hpp.html -.. _`bindings.cpp` : ./bindings.cpp.html -.. _`sconstruct` : ./sconstruct.html -.. _`test.py` : ./test.py.html - -------- Download -------- Modified: pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/test.py.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/test.py.rest 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/test.py.rest 2009-02-01 20:00:45 UTC (rev 1647) @@ -1,2 +1,6 @@ +==================== +Usage example/Tester +==================== + .. literalinclude:: ./test.py :language: python Deleted: pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/www_configuration.py =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/www_configuration.py 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/www_configuration.py 2009-02-01 20:00:45 UTC (rev 1647) @@ -1,3 +0,0 @@ -name = 'custom smart pointer' -files_to_skip = ['definition.rest'] -names = {} Deleted: pyplusplus_dev/docs/troubleshooting_guide/www_configuration.py =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/www_configuration.py 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/troubleshooting_guide/www_configuration.py 2009-02-01 20:00:45 UTC (rev 1647) @@ -1,3 +0,0 @@ -name = 'Boost.Python - troubleshooting guide' -main_html_file = 'lessons_learned.html' -names = { 'lessons_learned' : 'Boost.Python - lessons learned' } Deleted: pyplusplus_dev/docs/tutorials.rest =================================================================== --- pyplusplus_dev/docs/tutorials.rest 2009-02-01 18:29:31 UTC (rev 1646) +++ pyplusplus_dev/docs/tutorials.rest 2009-02-01 20:00:45 UTC (rev 1647) @@ -1,7 +0,0 @@ -.. raw:: html - - <head><meta http-equiv="refresh" content="0; URL=./documentation/tutorials/tutorials.html"/></head> - <body> - Automatic redirection failed, please go to - <a href="./documentation/tutorials/tutorials.html">./documentation/tutorials/tutorials.html</a> - </body> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2009-02-01 18:29:38
|
Revision: 1646 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1646&view=rev Author: roman_yakovenko Date: 2009-02-01 18:29:31 +0000 (Sun, 01 Feb 2009) Log Message: ----------- sphinx Modified Paths: -------------- pygccxml_dev/docs/design.rest pygccxml_dev/docs/download.rest pygccxml_dev/docs/history/history.rest pygccxml_dev/docs/links.rest pygccxml_dev/docs/query_interface.rest pygccxml_dev/docs/upgrade_issues.rest pygccxml_dev/docs/users.rest pyplusplus_dev/docs/comparisons/pyste.rest pyplusplus_dev/docs/documentation/architecture.rest pyplusplus_dev/docs/documentation/containers.rest pyplusplus_dev/docs/documentation/ctypes/ctypes_integration.rest pyplusplus_dev/docs/documentation/ctypes/this_and_sizeof.rest pyplusplus_dev/docs/documentation/ctypes/unions.rest pyplusplus_dev/docs/documentation/ctypes/variables.rest pyplusplus_dev/docs/documentation/doc_string.rest pyplusplus_dev/docs/documentation/functions/call_policies/as_tuple.rest pyplusplus_dev/docs/documentation/functions/call_policies/call_policies.rest pyplusplus_dev/docs/documentation/functions/call_policies/custom_call_policies.rest pyplusplus_dev/docs/documentation/functions/call_policies/return_addressof.rest pyplusplus_dev/docs/documentation/functions/call_policies/return_pointee_value.rest pyplusplus_dev/docs/documentation/functions/call_policies/return_range.rest pyplusplus_dev/docs/documentation/functions/default_args.rest pyplusplus_dev/docs/documentation/functions/functions.rest pyplusplus_dev/docs/documentation/functions/make_constructor.rest pyplusplus_dev/docs/documentation/functions/overloading.rest pyplusplus_dev/docs/documentation/functions/registration_order.rest pyplusplus_dev/docs/documentation/functions/transformation/inout.rest pyplusplus_dev/docs/documentation/functions/transformation/input.rest pyplusplus_dev/docs/documentation/functions/transformation/input_c_buffer.rest pyplusplus_dev/docs/documentation/functions/transformation/input_static_array.rest pyplusplus_dev/docs/documentation/functions/transformation/modify_type.rest pyplusplus_dev/docs/documentation/functions/transformation/name_mangling.rest pyplusplus_dev/docs/documentation/functions/transformation/output.rest pyplusplus_dev/docs/documentation/functions/transformation/output_static_array.rest pyplusplus_dev/docs/documentation/functions/transformation/terminology.rest pyplusplus_dev/docs/documentation/functions/transformation/transfer_ownership.rest pyplusplus_dev/docs/documentation/functions/transformation/transformation.rest pyplusplus_dev/docs/documentation/how_to/best_practices.rest pyplusplus_dev/docs/documentation/how_to/exception_translation.rest pyplusplus_dev/docs/documentation/how_to/hints.rest pyplusplus_dev/docs/documentation/how_to/how_to.rest pyplusplus_dev/docs/documentation/how_to/templates.rest pyplusplus_dev/docs/documentation/index.rest pyplusplus_dev/docs/documentation/inserting_code.rest pyplusplus_dev/docs/documentation/multi_module_development.rest pyplusplus_dev/docs/documentation/properties.rest pyplusplus_dev/docs/documentation/split_module.rest pyplusplus_dev/docs/documentation/tutorials/module_builder/module_builder.rest pyplusplus_dev/docs/documentation/tutorials/tutorials.rest pyplusplus_dev/docs/documentation/warnings.rest pyplusplus_dev/docs/download.rest pyplusplus_dev/docs/examples/boost/boost.rest pyplusplus_dev/docs/examples/easybmp/easybmp.rest pyplusplus_dev/docs/history/history.rest pyplusplus_dev/docs/links.rest pyplusplus_dev/docs/osdc2006/presentation-talk.rest pyplusplus_dev/docs/quotes.rest pyplusplus_dev/docs/troubleshooting_guide/easy_extending_guide/easy_extending_guide.rest pyplusplus_dev/docs/troubleshooting_guide/lessons_learned.rest pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/pointer_holder.hpp.patch.rest pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/sconstruct.rest pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/shared_ptr.rest pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/solution.cpp.rest pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/test.py.rest pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptrs.rest sphinx/conf.py Removed Paths: ------------- pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/www_configuration.py Modified: pygccxml_dev/docs/design.rest =================================================================== --- pygccxml_dev/docs/design.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pygccxml_dev/docs/design.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ pygccxml design =============== -.. contents:: Table of contents - ------------------------ The view from 10000 fits ------------------------ Modified: pygccxml_dev/docs/download.rest =================================================================== --- pygccxml_dev/docs/download.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pygccxml_dev/docs/download.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ pygccxml download ================= -.. contents:: Table of contents - ------------------------- pygccxml on SourceForge ------------------------- Modified: pygccxml_dev/docs/history/history.rest =================================================================== --- pygccxml_dev/docs/history/history.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pygccxml_dev/docs/history/history.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ pygccxml development history ============================ -.. contents:: Table of contents - ------------ Contributors ------------ Modified: pygccxml_dev/docs/links.rest =================================================================== --- pygccxml_dev/docs/links.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pygccxml_dev/docs/links.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ C++ Reflection ============== -.. contents:: Table of contents - ----- Links ----- Modified: pygccxml_dev/docs/query_interface.rest =================================================================== --- pygccxml_dev/docs/query_interface.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pygccxml_dev/docs/query_interface.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ pygccxml.declarations query API =============================== -.. contents:: Table of contents - ------------ Introduction ------------ Modified: pygccxml_dev/docs/upgrade_issues.rest =================================================================== --- pygccxml_dev/docs/upgrade_issues.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pygccxml_dev/docs/upgrade_issues.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ GCC-XML 0.7 -> 0.9 upgrade issues ================================= -.. contents:: Table of contents - ------------ Introduction ------------ Modified: pygccxml_dev/docs/users.rest =================================================================== --- pygccxml_dev/docs/users.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pygccxml_dev/docs/users.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Who is using pygccxml? ====================== -.. contents:: Table of contents - Users ----- Modified: pyplusplus_dev/docs/comparisons/pyste.rest =================================================================== --- pyplusplus_dev/docs/comparisons/pyste.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/comparisons/pyste.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Pyste & Py++ comparison ======================== -.. contents:: Table of contents - ---------------------- What is `Py++`_? ---------------------- Modified: pyplusplus_dev/docs/documentation/architecture.rest =================================================================== --- pyplusplus_dev/docs/documentation/architecture.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/architecture.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Architecture ============ -.. contents:: Table of contents - ------------ Introduction ------------ Modified: pyplusplus_dev/docs/documentation/containers.rest =================================================================== --- pyplusplus_dev/docs/documentation/containers.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/containers.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ C++ containers support ====================== -.. contents:: Table of contents - ------------ Introduction ------------ Modified: pyplusplus_dev/docs/documentation/ctypes/ctypes_integration.rest =================================================================== --- pyplusplus_dev/docs/documentation/ctypes/ctypes_integration.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/ctypes/ctypes_integration.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ ctypes integration ================== -.. contents:: Table of contents - ------------ Introduction ------------ Modified: pyplusplus_dev/docs/documentation/ctypes/this_and_sizeof.rest =================================================================== --- pyplusplus_dev/docs/documentation/ctypes/this_and_sizeof.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/ctypes/this_and_sizeof.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ this & sizeof ============= -.. contents:: Table of contents - ----------- The purpose ----------- Modified: pyplusplus_dev/docs/documentation/ctypes/unions.rest =================================================================== --- pyplusplus_dev/docs/documentation/ctypes/unions.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/ctypes/unions.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ C++ union ========= -.. contents:: Table of contents - ------------ Introduction ------------ Modified: pyplusplus_dev/docs/documentation/ctypes/variables.rest =================================================================== --- pyplusplus_dev/docs/documentation/ctypes/variables.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/ctypes/variables.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Variables ========= -.. contents:: Table of contents - -------------- expose_address -------------- Modified: pyplusplus_dev/docs/documentation/doc_string.rest =================================================================== --- pyplusplus_dev/docs/documentation/doc_string.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/doc_string.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Documentation string ==================== -.. contents:: Table of contents - ------------ Introduction ------------ Modified: pyplusplus_dev/docs/documentation/functions/call_policies/as_tuple.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/call_policies/as_tuple.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/functions/call_policies/as_tuple.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ as_tuple ======== -.. contents:: Table of contents - ---------- Definition ---------- Modified: pyplusplus_dev/docs/documentation/functions/call_policies/call_policies.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/call_policies/call_policies.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/functions/call_policies/call_policies.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Call policies ============= -.. contents:: Table of contents - ------------ Introduction ------------ Modified: pyplusplus_dev/docs/documentation/functions/call_policies/custom_call_policies.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/call_policies/custom_call_policies.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/functions/call_policies/custom_call_policies.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ custom_call_policies ==================== -.. contents:: Table of contents - ---------- Definition ---------- Modified: pyplusplus_dev/docs/documentation/functions/call_policies/return_addressof.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/call_policies/return_addressof.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/functions/call_policies/return_addressof.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ return_addressof ================ -.. contents:: Table of contents - ---------- Definition ---------- Modified: pyplusplus_dev/docs/documentation/functions/call_policies/return_pointee_value.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/call_policies/return_pointee_value.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/functions/call_policies/return_pointee_value.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ return_pointee_value ==================== -.. contents:: Table of contents - ---------- Definition ---------- Modified: pyplusplus_dev/docs/documentation/functions/call_policies/return_range.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/call_policies/return_range.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/functions/call_policies/return_range.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ return_range ============= -.. contents:: Table of contents - ---------- Definition ---------- Modified: pyplusplus_dev/docs/documentation/functions/default_args.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/default_args.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/functions/default_args.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Default arguments ================= -.. contents:: Table of contents - ------------ Introduction ------------ Modified: pyplusplus_dev/docs/documentation/functions/functions.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/functions.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/functions/functions.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Functions & operators ===================== -.. contents:: Table of contents - -------- Preamble -------- Modified: pyplusplus_dev/docs/documentation/functions/make_constructor.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/make_constructor.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/functions/make_constructor.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ make_constructor ================ -.. contents:: Table of contents - ------------ Introduction ------------ Modified: pyplusplus_dev/docs/documentation/functions/overloading.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/overloading.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/functions/overloading.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Overloading =========== -.. contents:: Table of contents - ------------ Introduction ------------ Modified: pyplusplus_dev/docs/documentation/functions/registration_order.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/registration_order.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/functions/registration_order.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Registration order ================== -.. contents:: Table of contents - ------------ Introduction ------------ Modified: pyplusplus_dev/docs/documentation/functions/transformation/inout.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/transformation/inout.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/functions/transformation/inout.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ ``inout`` transformer ====================== -.. contents:: Table of contents - ---------- Definition ---------- Modified: pyplusplus_dev/docs/documentation/functions/transformation/input.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/transformation/input.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/functions/transformation/input.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ ``input`` transformer ====================== -.. contents:: Table of contents - ---------- Definition ---------- Modified: pyplusplus_dev/docs/documentation/functions/transformation/input_c_buffer.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/transformation/input_c_buffer.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/functions/transformation/input_c_buffer.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ ``input_c_buffer`` transformer ================================== -.. contents:: Table of contents - ---------- Definition ---------- Modified: pyplusplus_dev/docs/documentation/functions/transformation/input_static_array.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/transformation/input_static_array.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/functions/transformation/input_static_array.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ ``input_static_array`` transformer ================================== -.. contents:: Table of contents - ---------- Definition ---------- Modified: pyplusplus_dev/docs/documentation/functions/transformation/modify_type.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/transformation/modify_type.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/functions/transformation/modify_type.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ ``modify_type`` transformer =========================== -.. contents:: Table of contents - ---------- Definition ---------- Modified: pyplusplus_dev/docs/documentation/functions/transformation/name_mangling.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/transformation/name_mangling.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/functions/transformation/name_mangling.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Name mangling ============= -.. contents:: Table of contents - ---------- Definition ---------- Modified: pyplusplus_dev/docs/documentation/functions/transformation/output.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/transformation/output.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/functions/transformation/output.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ ``output`` transformer ====================== -.. contents:: Table of contents - ---------- Definition ---------- Modified: pyplusplus_dev/docs/documentation/functions/transformation/output_static_array.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/transformation/output_static_array.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/functions/transformation/output_static_array.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ ``output_static_array`` transformer =================================== -.. contents:: Table of contents - ---------- Definition ---------- Modified: pyplusplus_dev/docs/documentation/functions/transformation/terminology.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/transformation/terminology.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/functions/transformation/terminology.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Terminology =========== -.. contents:: Table of contents - **Function transformation** `Py++`_ sub-system\\framework, which allows you to create function wrappers Modified: pyplusplus_dev/docs/documentation/functions/transformation/transfer_ownership.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/transformation/transfer_ownership.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/functions/transformation/transfer_ownership.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ ``transfer_ownership`` transformer ================================== -.. contents:: Table of contents - ---------- Definition ---------- Modified: pyplusplus_dev/docs/documentation/functions/transformation/transformation.rest =================================================================== --- pyplusplus_dev/docs/documentation/functions/transformation/transformation.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/functions/transformation/transformation.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Function transformation ======================= -.. contents:: Table of contents - ------------ Introduction ------------ Modified: pyplusplus_dev/docs/documentation/how_to/best_practices.rest =================================================================== --- pyplusplus_dev/docs/documentation/how_to/best_practices.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/how_to/best_practices.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Best practices ============== -.. contents:: Table of contents - ------------ Introduction ------------ Modified: pyplusplus_dev/docs/documentation/how_to/exception_translation.rest =================================================================== --- pyplusplus_dev/docs/documentation/how_to/exception_translation.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/how_to/exception_translation.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ How to register an exception translation? ========================================= -.. contents:: Table of contents - ------------ Introduction ------------ Modified: pyplusplus_dev/docs/documentation/how_to/hints.rest =================================================================== --- pyplusplus_dev/docs/documentation/how_to/hints.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/how_to/hints.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Hints ===== -.. contents:: Table of contents - ---------------------------------- Class template instantiation alias ---------------------------------- Modified: pyplusplus_dev/docs/documentation/how_to/how_to.rest =================================================================== --- pyplusplus_dev/docs/documentation/how_to/how_to.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/how_to/how_to.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ How to ... ? ============ -.. contents:: Table of contents - `How to deal with templates?`_ .. _`How to deal with templates?` : ./templates.html Modified: pyplusplus_dev/docs/documentation/how_to/templates.rest =================================================================== --- pyplusplus_dev/docs/documentation/how_to/templates.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/how_to/templates.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ How to deal with templates? =========================== -.. contents:: Table of contents - ------------ Introduction ------------ Modified: pyplusplus_dev/docs/documentation/index.rest =================================================================== --- pyplusplus_dev/docs/documentation/index.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/index.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Py++ documentation ================== -.. contents:: Table of contents - ------------ Help needed! ------------ Modified: pyplusplus_dev/docs/documentation/inserting_code.rest =================================================================== --- pyplusplus_dev/docs/documentation/inserting_code.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/inserting_code.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Inserting code ============== -.. contents:: Table of contents - ------------ Introduction ------------ Modified: pyplusplus_dev/docs/documentation/multi_module_development.rest =================================================================== --- pyplusplus_dev/docs/documentation/multi_module_development.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/multi_module_development.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Multi-module development ======================== -.. contents:: Table of contents - ------------ Introduction ------------ Modified: pyplusplus_dev/docs/documentation/properties.rest =================================================================== --- pyplusplus_dev/docs/documentation/properties.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/properties.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Properties ========== -.. contents:: Table of contents - ------------ Introduction ------------ Modified: pyplusplus_dev/docs/documentation/split_module.rest =================================================================== --- pyplusplus_dev/docs/documentation/split_module.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/split_module.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Splitting generated code to files ================================= -.. contents:: Table of contents - ------------ Introduction ------------ Modified: pyplusplus_dev/docs/documentation/tutorials/module_builder/module_builder.rest =================================================================== --- pyplusplus_dev/docs/documentation/tutorials/module_builder/module_builder.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/tutorials/module_builder/module_builder.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Py++ tutorials ============== -.. contents:: Table of contents - ------------- What is Py++? ------------- Modified: pyplusplus_dev/docs/documentation/tutorials/tutorials.rest =================================================================== --- pyplusplus_dev/docs/documentation/tutorials/tutorials.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/tutorials/tutorials.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ tutorials ========= -.. contents:: Table of contents - ------------- What is Py++? ------------- Modified: pyplusplus_dev/docs/documentation/warnings.rest =================================================================== --- pyplusplus_dev/docs/documentation/warnings.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/documentation/warnings.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Py++ warnings ============= -.. contents:: Table of contents - ------------ Introduction ------------ Modified: pyplusplus_dev/docs/download.rest =================================================================== --- pyplusplus_dev/docs/download.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/download.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Py++ download ============= -.. contents:: Table of contents - ------------------- Py++ on SourceForge ------------------- Modified: pyplusplus_dev/docs/examples/boost/boost.rest =================================================================== --- pyplusplus_dev/docs/examples/boost/boost.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/examples/boost/boost.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ boost libraries =============== -.. contents:: Table of contents - -------------- Introduction -------------- Modified: pyplusplus_dev/docs/examples/easybmp/easybmp.rest =================================================================== --- pyplusplus_dev/docs/examples/easybmp/easybmp.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/examples/easybmp/easybmp.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ EasyBMP example =============== -.. contents:: Table of contents - ------------ Introduction ------------ Modified: pyplusplus_dev/docs/history/history.rest =================================================================== --- pyplusplus_dev/docs/history/history.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/history/history.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Py++ development history ======================== -.. contents:: Table of contents - ------------ Contributors ------------ Modified: pyplusplus_dev/docs/links.rest =================================================================== --- pyplusplus_dev/docs/links.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/links.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Links ===== -.. contents:: Table of contents - ---- Wiki ---- Modified: pyplusplus_dev/docs/osdc2006/presentation-talk.rest =================================================================== --- pyplusplus_dev/docs/osdc2006/presentation-talk.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/osdc2006/presentation-talk.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,9 +2,6 @@ C++ Python bindings =================== -.. contents:: Table of contents - - ------------------ C++ Python binding ------------------ Modified: pyplusplus_dev/docs/quotes.rest =================================================================== --- pyplusplus_dev/docs/quotes.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/quotes.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ What they say about Py++? ========================= -.. contents:: Table of contents - ----------------- What do they say? ----------------- Modified: pyplusplus_dev/docs/troubleshooting_guide/easy_extending_guide/easy_extending_guide.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/easy_extending_guide/easy_extending_guide.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/troubleshooting_guide/easy_extending_guide/easy_extending_guide.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ Easy extending guide ==================== -.. contents:: Table of contents - ------------ Introduction ------------ Modified: pyplusplus_dev/docs/troubleshooting_guide/lessons_learned.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/lessons_learned.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/troubleshooting_guide/lessons_learned.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -13,13 +13,9 @@ .. toctree:: - easy_extending_guide <easy_extending_guide/easy_extending_guide.rest> + easy_extending_guide/easy_extending_guide.rest + smart_ptrs/smart_ptrs.rest + shared_ptr/shared_ptr.rest + automatic_conversion/automatic_conversion.rest + exceptions/exceptions.rest - custom smart pointer class <smart_ptrs/smart_ptrs.rest> - - `boost::shared_ptr< const T>` <shared_ptr/shared_ptr.rest> - - automatic conversion <automatic_conversion/automatic_conversion.rest> - - exceptions <exceptions/exceptions.rest> - Modified: pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/pointer_holder.hpp.patch.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/pointer_holder.hpp.patch.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/pointer_holder.hpp.patch.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -1,3 +1,7 @@ +========================== +Boost.Python library patch +========================== + Download: `pointer_holder.hpp.patch`_ .. _`pointer_holder.hpp.patch` : pointer_holder.hpp.patch Modified: pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/sconstruct.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/sconstruct.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/sconstruct.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -1,2 +1,6 @@ +==================== +Build script (SCons) +==================== + .. literalinclude:: ./sconstruct :language: python Modified: pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/shared_ptr.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/shared_ptr.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/shared_ptr.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ How to register ``shared_ptr<const T>`` conversion? =================================================== -.. contents:: Table of contents - ------------ Introduction ------------ @@ -14,34 +12,34 @@ Solutions --------- -There are two possible solutions to the problem. The first one is to fix -Boost.Python library: `pointer_holder.hpp.patch`_ . The patch was contributed +There are two possible solutions to the problem. The first one is to fix +Boost.Python library: `pointer_holder.hpp.patch` . The patch was contributed to the library ( 8-December-2006 ) and some day it will be committed to the CVS. It is also possible to solve the problem, without changing Boost.Python library: .. code-block:: c++ - namespace boost{ - - template<class T> + namespace boost{ + + template<class T> inline T* get_pointer( boost::shared_ptr<const T> const& p ){ return const_cast< T* >( p.get() ); } - + } - - namespace boost{ namespace python{ - - template<class T> + + namespace boost{ namespace python{ + + template<class T> struct pointee< boost::shared_ptr<T const> >{ typedef T type; }; - + } } //boost::python - + namespace utils{ - + template< class T > register_shared_ptrs_to_python(){ namespace bpl = boost::python; @@ -49,9 +47,9 @@ bpl::register_ptr_to_python< boost::shared_ptr< const T > >(); bpl::implicitly_convertible< boost::shared_ptr< T >, boost::shared_ptr< const T > >(); } - + } - + BOOST_PYTHON_MODULE(...){ class_< YourClass >( "YourClass" ) ...; @@ -64,24 +62,13 @@ Files ----- -* `solution.cpp`_ file contains definition of a class and few functions, which - have ``shared_ptr< T >`` and ``shared_ptr< const T>`` as return type or as an - argument. The file also contains source code that exposes the defined - functionality to Python. +.. toctree:: -* `sconstruct`_ file contains build instructions for scons build tool. + `solution.cpp` - C++ source file <solution.cpp.rest> + Build script (SCons) <sconstruct.rest> + Usage example/tester <test.py.rest> + `pointer_holder.hpp.patch` Boost.Python library patch <pointer_holder.hpp.patch.rest> -* `test.py`_ file contains complete unit tests for the exposed classes - -* `pointer_holder.hpp.patch`_ file contains patch for the library - -All files contain comments, which describe what and why was done. - -.. _`solution.cpp` : ./solution.cpp.html -.. _`sconstruct` : ./sconstruct.html -.. _`test.py` : ./test.py.html -.. _`pointer_holder.hpp.patch` : ./pointer_holder.hpp.patch.html - -------- Download -------- @@ -90,8 +77,3 @@ .. _`shared_ptr.zip` : ./shared_ptr.zip - -.. _`Py++` : ./../pyplusplus.html -.. _`pygccxml` : http://www.language-binding.net/pygccxml/pygccxml.html -.. _`SourceForge`: http://sourceforge.net/index.php - Modified: pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/solution.cpp.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/solution.cpp.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/solution.cpp.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -1,2 +1,6 @@ +================================ +`solution.cpp` - C++ source file +================================ + .. literalinclude:: ./solution.cpp :language: c++ Modified: pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/test.py.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/test.py.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/test.py.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -1,2 +1,6 @@ +==================== +Usage example/tester +==================== + .. literalinclude:: ./test.py :language: python Deleted: pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/www_configuration.py =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/www_configuration.py 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/www_configuration.py 2009-02-01 18:29:31 UTC (rev 1646) @@ -1,3 +0,0 @@ -name = 'shared_ptr< const T>' -files_to_skip = ['definition.rest'] -names = {} Modified: pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptrs.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptrs.rest 2009-02-01 06:22:29 UTC (rev 1645) +++ pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptrs.rest 2009-02-01 18:29:31 UTC (rev 1646) @@ -2,8 +2,6 @@ How to expose custom smart pointer? =================================== -.. contents:: Table of contents - ------------ Introduction ------------ @@ -15,7 +13,7 @@ * `smart_ptr.h`_ file contains definition of custom smart pointer class. -* `classes.hpp`_ file contains definition of few classes, which should be exposed +* `classes.hpp`_ file contains definition of few classes, which should be exposed to Python. * `bindings.cpp`_ file contains source code that exposes the classes to Python. @@ -24,7 +22,7 @@ * `test.py`_ file contains complete unit tests for the exposed classes -All files contain comments, which describe what and why was done. +All files contain comments, which describe what and why was done. .. _`smart_ptr.h` : ./smart_ptr.h.html .. _`classes.hpp` : ./classes.hpp.html Modified: sphinx/conf.py =================================================================== --- sphinx/conf.py 2009-02-01 06:22:29 UTC (rev 1645) +++ sphinx/conf.py 2009-02-01 18:29:31 UTC (rev 1646) @@ -39,7 +39,7 @@ if has_true_links: os.symlink( source, target ) else: - shutil.copytree( source, target, ignore=shutil.ignore_patterns( r'.svn', '*.pyc', 'www_configuration.py' ) ) + shutil.copytree( source, target, ignore=shutil.ignore_patterns( r'.svn', '*.pyc', 'osdc2006', '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' ) ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2009-02-01 06:22:34
|
Revision: 1645 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1645&view=rev Author: roman_yakovenko Date: 2009-02-01 06:22:29 +0000 (Sun, 01 Feb 2009) Log Message: ----------- sphinx Modified Paths: -------------- pyplusplus_dev/docs/peps/dsl_challenge.rest pyplusplus_dev/docs/peps/peps_index.rest pyplusplus_dev/docs/pyplusplus.rest pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/automatic_conversion.rest pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/custom_rvalue.cpp.rest pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/sconstruct.rest pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/test.py.rest pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/tuples.hpp.rest pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/tuples_tester.cpp.rest pyplusplus_dev/docs/troubleshooting_guide/exceptions/exceptions.cpp.rest pyplusplus_dev/docs/troubleshooting_guide/exceptions/exceptions.rest pyplusplus_dev/docs/troubleshooting_guide/exceptions/sconstruct.rest pyplusplus_dev/docs/troubleshooting_guide/exceptions/test.py.rest pyplusplus_dev/docs/troubleshooting_guide/lessons_learned.rest Removed Paths: ------------- pyplusplus_dev/docs/peps/www_configuration.py pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/www_configuration.py pyplusplus_dev/docs/troubleshooting_guide/easy_extending_guide/easy_extending_guide.odt pyplusplus_dev/docs/troubleshooting_guide/easy_extending_guide/easy_extending_guide.pdf pyplusplus_dev/docs/troubleshooting_guide/easy_extending_guide/www_configuration.py pyplusplus_dev/docs/troubleshooting_guide/exceptions/www_configuration.py pyplusplus_dev/docs/www_configuration.py Modified: pyplusplus_dev/docs/peps/dsl_challenge.rest =================================================================== --- pyplusplus_dev/docs/peps/dsl_challenge.rest 2009-01-30 21:33:48 UTC (rev 1644) +++ pyplusplus_dev/docs/peps/dsl_challenge.rest 2009-02-01 06:22:29 UTC (rev 1645) @@ -2,13 +2,11 @@ DSL challenge ============= -.. contents:: Table of contents - ------------ Introduction ------------ -.. include:: ./dsl_challenge_introduction.rest +.. include:: ./dsl_challenge_introduction.irest ------------------- Py++ user interface Modified: pyplusplus_dev/docs/peps/peps_index.rest =================================================================== --- pyplusplus_dev/docs/peps/peps_index.rest 2009-01-30 21:33:48 UTC (rev 1644) +++ pyplusplus_dev/docs/peps/peps_index.rest 2009-02-01 06:22:29 UTC (rev 1645) @@ -11,20 +11,9 @@ For small features, the description of the feature and it's implementation will be written here. Big features will get their own page. ------------------------------------------- -Domain Specific Language ( DSL ) challenge ------------------------------------------- - -.. include:: ./dsl_challenge_introduction.rest - -Please read `DSL challenge`_ document and contribute your ideas, thoughts or just -comments. - -.. _`DSL challenge` : ./dsl_challenge.html - .. toctree:: - dsl_challenge.rest + Domain Specific Language( DSL ) challenge <dsl_challenge.rest> .. _`Py++` : ./../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html Deleted: pyplusplus_dev/docs/peps/www_configuration.py =================================================================== --- pyplusplus_dev/docs/peps/www_configuration.py 2009-01-30 21:33:48 UTC (rev 1644) +++ pyplusplus_dev/docs/peps/www_configuration.py 2009-02-01 06:22:29 UTC (rev 1645) @@ -1,5 +0,0 @@ -name = 'PEP index' -main_html_file = 'peps_index.html' -files_to_skip = ['dsl_challenge_introduction.rest'] -names = { 'function_transformation' : 'function transformation' - , 'dsl_challenge' : 'DSL challenge' } Modified: pyplusplus_dev/docs/pyplusplus.rest =================================================================== --- pyplusplus_dev/docs/pyplusplus.rest 2009-01-30 21:33:48 UTC (rev 1644) +++ pyplusplus_dev/docs/pyplusplus.rest 2009-02-01 06:22:29 UTC (rev 1645) @@ -167,13 +167,16 @@ `Boost Software License`_. +--------------------------- +Py++ documentation contents +--------------------------- .. toctree:: - tutorials.rest - download.rest - links.rest - quotes.rest + documentation/tutorials/tutorials.rest + download.rest + links.rest + quotes.rest comparisons/compare_to.rest documentation/index.rest examples/examples.rest Modified: pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/automatic_conversion.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/automatic_conversion.rest 2009-01-30 21:33:48 UTC (rev 1644) +++ pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/automatic_conversion.rest 2009-02-01 06:22:29 UTC (rev 1645) @@ -2,8 +2,6 @@ Automatic conversion between C++ and Python types ================================================= -.. contents:: Table of contents - ------------ Introduction ------------ @@ -28,27 +26,14 @@ Files ----- -* `tuples.hpp`_ file contains Boost.Tuple to\\from Python tuple conversion - implementation +.. toctree:: -* `tuples_tester.cpp`_ file contains few functions, which test the tuples - conversion functionality + tuples.hpp.rest + tuples_tester.cpp.rest + custom_rvalue.cpp.rest + sconstruct.rest + test.py.rest -* `custom_rvalue.cpp`_ file contains example of registration custom r-value - converter - -* `sconstruct`_ file contains build instructions for scons build tool. - -* `test.py`_ file contains complete unit tests for both example - -All files contain comments, which describe what and why was done. - -.. _`tuples.hpp` : ./tuples.hpp.html -.. _`tuples_tester.cpp` : ./tuples_tester.cpp.html -.. _`custom_rvalue.cpp` : ./custom_rvalue.cpp.html -.. _`sconstruct` : ./sconstruct.html -.. _`test.py` : ./test.py.html - -------- Download -------- @@ -56,9 +41,3 @@ `automatic_conversion.zip`_ .. _`automatic_conversion.zip` : ./automatic_conversion.zip - - -.. _`Py++` : ./../pyplusplus.html -.. _`pygccxml` : http://www.language-binding.net/pygccxml/pygccxml.html -.. _`SourceForge`: http://sourceforge.net/index.php - Modified: pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/custom_rvalue.cpp.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/custom_rvalue.cpp.rest 2009-01-30 21:33:48 UTC (rev 1644) +++ pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/custom_rvalue.cpp.rest 2009-02-01 06:22:29 UTC (rev 1645) @@ -1,2 +1,6 @@ +===================================== +Custom r-value converter registration +===================================== + .. literalinclude:: ./custom_rvalue.cpp :language: c++ Modified: pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/sconstruct.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/sconstruct.rest 2009-01-30 21:33:48 UTC (rev 1644) +++ pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/sconstruct.rest 2009-02-01 06:22:29 UTC (rev 1645) @@ -1,2 +1,6 @@ +==================== +Build script (SCons) +==================== + .. literalinclude:: ./sconstruct :language: python Modified: pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/test.py.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/test.py.rest 2009-01-30 21:33:48 UTC (rev 1644) +++ pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/test.py.rest 2009-02-01 06:22:29 UTC (rev 1645) @@ -1,2 +1,6 @@ +==================== +Usage example/tester +==================== + .. literalinclude:: ./test.py :language: python Modified: pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/tuples.hpp.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/tuples.hpp.rest 2009-01-30 21:33:48 UTC (rev 1644) +++ pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/tuples.hpp.rest 2009-02-01 06:22:29 UTC (rev 1645) @@ -1,2 +1,6 @@ +============================================ +Boost.Python to/from Python tuple conversion +============================================ + .. literalinclude:: ./tuples.hpp :language: c++ Modified: pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/tuples_tester.cpp.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/tuples_tester.cpp.rest 2009-01-30 21:33:48 UTC (rev 1644) +++ pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/tuples_tester.cpp.rest 2009-02-01 06:22:29 UTC (rev 1645) @@ -1,2 +1,6 @@ +=================================================== +Boost.Python to/from Python tuple conversion tester +=================================================== + .. literalinclude:: ./tuples_tester.cpp :language: c++ Deleted: pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/www_configuration.py =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/www_configuration.py 2009-01-30 21:33:48 UTC (rev 1644) +++ pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/www_configuration.py 2009-02-01 06:22:29 UTC (rev 1645) @@ -1,3 +0,0 @@ -name = 'automatic conversion' -files_to_skip = ['definition.rest'] -names = {} Deleted: pyplusplus_dev/docs/troubleshooting_guide/easy_extending_guide/easy_extending_guide.odt =================================================================== (Binary files differ) Deleted: pyplusplus_dev/docs/troubleshooting_guide/easy_extending_guide/easy_extending_guide.pdf =================================================================== (Binary files differ) Deleted: pyplusplus_dev/docs/troubleshooting_guide/easy_extending_guide/www_configuration.py =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/easy_extending_guide/www_configuration.py 2009-01-30 21:33:48 UTC (rev 1644) +++ pyplusplus_dev/docs/troubleshooting_guide/easy_extending_guide/www_configuration.py 2009-02-01 06:22:29 UTC (rev 1645) @@ -1,2 +0,0 @@ -name = 'easy extending guide' -names = {} Modified: pyplusplus_dev/docs/troubleshooting_guide/exceptions/exceptions.cpp.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/exceptions/exceptions.cpp.rest 2009-01-30 21:33:48 UTC (rev 1644) +++ pyplusplus_dev/docs/troubleshooting_guide/exceptions/exceptions.cpp.rest 2009-02-01 06:22:29 UTC (rev 1645) @@ -1,2 +1,6 @@ +================================== +`exceptions.cpp` - C++ source code +================================== + .. literalinclude:: ./exceptions.cpp :language: c++ Modified: pyplusplus_dev/docs/troubleshooting_guide/exceptions/exceptions.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/exceptions/exceptions.rest 2009-01-30 21:33:48 UTC (rev 1644) +++ pyplusplus_dev/docs/troubleshooting_guide/exceptions/exceptions.rest 2009-02-01 06:22:29 UTC (rev 1645) @@ -2,8 +2,6 @@ Custom exceptions ================= -.. contents:: Table of contents - ------------ Introduction ------------ @@ -47,18 +45,14 @@ Files ----- -* `exceptions.cpp`_ file contains source code for the guide - -* `sconstruct`_ file contains build instructions for scons build tool. - -* `test.py`_ file contains complete unit test suite - All files contain comments, which describe what and why was done. -.. _`exceptions.cpp` : ./exceptions.cpp.html -.. _`sconstruct` : ./sconstruct.html -.. _`test.py` : ./test.py.html +.. toctree:: + `exceptions.cpp` - C++ source code <exceptions.cpp.rest> + Build script (SCons) <sconstruct.rest> + Usage example/tester <test.py.rest> + -------- Download -------- @@ -67,8 +61,3 @@ .. _`exceptions.zip` : ./exceptions.zip - -.. _`Py++` : ./../pyplusplus.html -.. _`pygccxml` : http://www.language-binding.net/pygccxml/pygccxml.html -.. _`SourceForge`: http://sourceforge.net/index.php - Modified: pyplusplus_dev/docs/troubleshooting_guide/exceptions/sconstruct.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/exceptions/sconstruct.rest 2009-01-30 21:33:48 UTC (rev 1644) +++ pyplusplus_dev/docs/troubleshooting_guide/exceptions/sconstruct.rest 2009-02-01 06:22:29 UTC (rev 1645) @@ -1,2 +1,6 @@ +==================== +Build script (SCons) +==================== + .. literalinclude:: ./sconstruct :language: python Modified: pyplusplus_dev/docs/troubleshooting_guide/exceptions/test.py.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/exceptions/test.py.rest 2009-01-30 21:33:48 UTC (rev 1644) +++ pyplusplus_dev/docs/troubleshooting_guide/exceptions/test.py.rest 2009-02-01 06:22:29 UTC (rev 1645) @@ -1,2 +1,6 @@ +==================== +Usage example/tester +==================== + .. literalinclude:: ./test.py :language: python Deleted: pyplusplus_dev/docs/troubleshooting_guide/exceptions/www_configuration.py =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/exceptions/www_configuration.py 2009-01-30 21:33:48 UTC (rev 1644) +++ pyplusplus_dev/docs/troubleshooting_guide/exceptions/www_configuration.py 2009-02-01 06:22:29 UTC (rev 1645) @@ -1,3 +0,0 @@ -name = 'exceptions' -files_to_skip = ['definition.rest'] -names = {} Modified: pyplusplus_dev/docs/troubleshooting_guide/lessons_learned.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/lessons_learned.rest 2009-01-30 21:33:48 UTC (rev 1644) +++ pyplusplus_dev/docs/troubleshooting_guide/lessons_learned.rest 2009-02-01 06:22:29 UTC (rev 1645) @@ -6,37 +6,20 @@ Preamble -------- -Software development is an interactive process. During `Py++`_ development +Software development is an interactive process. During `Py++` development I see many interesting problems and even more interesting solutions. On this page you will find my collection of the solutions to some of the problems. +.. toctree:: -`custom smart pointer class`_ + easy_extending_guide <easy_extending_guide/easy_extending_guide.rest> - .. include:: ./smart_ptrs/definition.irest + custom smart pointer class <smart_ptrs/smart_ptrs.rest> -.. _`custom smart pointer class` : ./smart_ptrs/smart_ptrs.html + `boost::shared_ptr< const T>` <shared_ptr/shared_ptr.rest> -`boost::shared_ptr< const T>`_ + automatic conversion <automatic_conversion/automatic_conversion.rest> - .. include:: ./shared_ptr/definition.irest + exceptions <exceptions/exceptions.rest> -.. _`boost::shared_ptr< const T>` : ./shared_ptr/shared_ptr.html - -`automatic conversion`_ - - .. include:: ./automatic_conversion/definition.irest - -.. _`automatic conversion` : ./automatic_conversion/automatic_conversion.html - -`exceptions`_ - - .. include:: ./exceptions/definition.irest - -.. _`exceptions` : ./exceptions/exceptions.html - -.. _`Py++` : ./../pyplusplus.html -.. _`pygccxml` : http://www.language-binding.net/pygccxml/pygccxml.html -.. _`SourceForge`: http://sourceforge.net/index.php - Deleted: pyplusplus_dev/docs/www_configuration.py =================================================================== --- pyplusplus_dev/docs/www_configuration.py 2009-01-30 21:33:48 UTC (rev 1644) +++ pyplusplus_dev/docs/www_configuration.py 2009-02-01 06:22:29 UTC (rev 1645) @@ -1,3 +0,0 @@ -name = 'Py++' -main_html_file = 'pyplusplus.html' -files_to_skip = ['definition.rest', 'examples.rest'] \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2009-01-30 22:51:50
|
Revision: 1644 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1644&view=rev Author: roman_yakovenko Date: 2009-01-30 21:33:48 +0000 (Fri, 30 Jan 2009) Log Message: ----------- sphinx Modified Paths: -------------- pyplusplus_dev/docs/comparisons/compare_to.rest pyplusplus_dev/docs/examples/examples.rest pyplusplus_dev/docs/peps/peps_index.rest pyplusplus_dev/docs/pyplusplus.rest pyplusplus_dev/docs/troubleshooting_guide/lessons_learned.rest Added Paths: ----------- pyplusplus_dev/docs/peps/dsl_challenge_introduction.irest Removed Paths: ------------- pygccxml_dev/docs/www_configuration.py pyplusplus_dev/docs/peps/dsl_challenge_introduction.rest Deleted: pygccxml_dev/docs/www_configuration.py =================================================================== --- pygccxml_dev/docs/www_configuration.py 2009-01-30 20:34:42 UTC (rev 1643) +++ pygccxml_dev/docs/www_configuration.py 2009-01-30 21:33:48 UTC (rev 1644) @@ -1,4 +0,0 @@ -name = 'pygccxml' -files_to_skip = ['definition.rest'] -names = { 'query_interface' : 'query interface' - , 'upgrade_issues' : 'gccxml 0.7 => 0.9 upgrade issues' } Modified: pyplusplus_dev/docs/comparisons/compare_to.rest =================================================================== --- pyplusplus_dev/docs/comparisons/compare_to.rest 2009-01-30 20:34:42 UTC (rev 1643) +++ pyplusplus_dev/docs/comparisons/compare_to.rest 2009-01-30 21:33:48 UTC (rev 1644) @@ -2,8 +2,6 @@ Compare Py++ to ... =================== -.. contents:: Table of contents - ----- Pyste ----- @@ -63,5 +61,11 @@ .. _`Python Wrapper Tools: A Performance Study` : http://people.web.psi.ch/geus/talks/europython2004_geus.pdf + +.. toctree:: + + pyste.rest + + .. _`Py++` : ./../pyplusplus.html .. _`Pyste`: http://www.boost.org/libs/python/doc/index.html Modified: pyplusplus_dev/docs/examples/examples.rest =================================================================== --- pyplusplus_dev/docs/examples/examples.rest 2009-01-30 20:34:42 UTC (rev 1643) +++ pyplusplus_dev/docs/examples/examples.rest 2009-01-30 21:33:48 UTC (rev 1644) @@ -1,9 +1,6 @@ ======== Examples ======== - -.. contents:: Table of contents - ------------------- Graphical interface ------------------- @@ -44,6 +41,12 @@ .. _`pyboost` : ./boost/boost.html + +.. toctree:: + + boost/boost.rest + easybmp/easybmp.rest + .. _`boost.date_time` : http://boost.org/doc/html/date_time.html .. _`boost.crc` : http://boost.org/libs/crc/index.html .. _`boost.rational` : http://boost.org/libs/rational/index.html Copied: pyplusplus_dev/docs/peps/dsl_challenge_introduction.irest (from rev 1638, pyplusplus_dev/docs/peps/dsl_challenge_introduction.rest) =================================================================== --- pyplusplus_dev/docs/peps/dsl_challenge_introduction.irest (rev 0) +++ pyplusplus_dev/docs/peps/dsl_challenge_introduction.irest 2009-01-30 21:33:48 UTC (rev 1644) @@ -0,0 +1,11 @@ + +More or less formal definition of DSL could be found `here`__. + +.. __ : http://en.wikipedia.org/wiki/Domain_Specific_Language + +`Py++`_ has been created to solve single and well-defined problem: to create +Python bindings for C++ projects. The good news - `Py++`_ achieved the goal, +the bad news - users are forced to read the documentation. DSL cannot completely +solve the problem, but it can eliminate the need to read documentation in 80% of +the cases. + Property changes on: pyplusplus_dev/docs/peps/dsl_challenge_introduction.irest ___________________________________________________________________ Added: svn:mergeinfo + Deleted: pyplusplus_dev/docs/peps/dsl_challenge_introduction.rest =================================================================== --- pyplusplus_dev/docs/peps/dsl_challenge_introduction.rest 2009-01-30 20:34:42 UTC (rev 1643) +++ pyplusplus_dev/docs/peps/dsl_challenge_introduction.rest 2009-01-30 21:33:48 UTC (rev 1644) @@ -1,11 +0,0 @@ - -More or less formal definition of DSL could be found `here`__. - -.. __ : http://en.wikipedia.org/wiki/Domain_Specific_Language - -`Py++`_ has been created to solve single and well-defined problem: to create -Python bindings for C++ projects. The good news - `Py++`_ achieved the goal, -the bad news - users are forced to read the documentation. DSL cannot completely -solve the problem, but it can eliminate the need to read documentation in 80% of -the cases. - Modified: pyplusplus_dev/docs/peps/peps_index.rest =================================================================== --- pyplusplus_dev/docs/peps/peps_index.rest 2009-01-30 20:34:42 UTC (rev 1643) +++ pyplusplus_dev/docs/peps/peps_index.rest 2009-01-30 21:33:48 UTC (rev 1644) @@ -2,8 +2,6 @@ TODO ==== -.. contents:: Table of contents - ----------- Description ----------- @@ -24,6 +22,10 @@ .. _`DSL challenge` : ./dsl_challenge.html +.. toctree:: + + dsl_challenge.rest + .. _`Py++` : ./../pyplusplus.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html .. _`Python`: http://www.python.org Modified: pyplusplus_dev/docs/pyplusplus.rest =================================================================== --- pyplusplus_dev/docs/pyplusplus.rest 2009-01-30 20:34:42 UTC (rev 1643) +++ pyplusplus_dev/docs/pyplusplus.rest 2009-01-30 21:33:48 UTC (rev 1644) @@ -2,8 +2,6 @@ Py++ introduction ================= -.. contents:: Table of contents - ------------- What is Py++? ------------- @@ -169,6 +167,21 @@ `Boost Software License`_. + +.. toctree:: + + tutorials.rest + download.rest + links.rest + quotes.rest + comparisons/compare_to.rest + documentation/index.rest + examples/examples.rest + history/history.rest + peps/peps_index.rest + troubleshooting_guide/lessons_learned.rest + + .. _`Py++` : ./pyplusplus.html .. _`pygccxml` : ./../pygccxml/pygccxml.html .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html Modified: pyplusplus_dev/docs/troubleshooting_guide/lessons_learned.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/lessons_learned.rest 2009-01-30 20:34:42 UTC (rev 1643) +++ pyplusplus_dev/docs/troubleshooting_guide/lessons_learned.rest 2009-01-30 21:33:48 UTC (rev 1644) @@ -2,8 +2,6 @@ Boost.Python - lessons learned ============================== -.. contents:: Table of contents - -------- Preamble -------- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2009-01-30 20:34:47
|
Revision: 1643 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1643&view=rev Author: roman_yakovenko Date: 2009-01-30 20:34:42 +0000 (Fri, 30 Jan 2009) Log Message: ----------- add extract_return_type to indexing suite v2 - patch from Maik Beckmann Modified Paths: -------------- pyplusplus_dev/indexing_suite_v2/indexing_suite/slice_handler.hpp pyplusplus_dev/pyplusplus/code_repository/indexing_suite/slice_handler_header.py Modified: pyplusplus_dev/indexing_suite_v2/indexing_suite/slice_handler.hpp =================================================================== --- pyplusplus_dev/indexing_suite_v2/indexing_suite/slice_handler.hpp 2009-01-30 20:03:31 UTC (rev 1642) +++ pyplusplus_dev/indexing_suite_v2/indexing_suite/slice_handler.hpp 2009-01-30 20:34:42 UTC (rev 1643) @@ -12,7 +12,8 @@ // ======= // 2003/ 9/ 9 rmg File creation // 2008/12/08 Roman Change indexing suite layout -// +// 2009/01/30 Roman patch from Maik Beckmann was applied - fixes error: +// // error: no class template named 'extract_return_type' // $Id: slice_handler.hpp,v 1.1.2.10 2003/11/24 16:35:52 raoulgough Exp $ // @@ -64,6 +65,9 @@ typedef boost::python::default_result_converter result_converter; typedef typename Policy::argument_package argument_package; + template<class Sig> struct extract_return_type : + Policy::template extract_return_type<Sig> { }; + postcall_override (Policy const &p); bool precall (PyObject *args); Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/slice_handler_header.py =================================================================== --- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/slice_handler_header.py 2009-01-30 20:03:31 UTC (rev 1642) +++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/slice_handler_header.py 2009-01-30 20:34:42 UTC (rev 1643) @@ -1,14 +1,14 @@ -# Copyright 2004-2008 Roman Yakovenko. -# Distributed under the Boost Software License, Version 1.0. (See -# accompanying file LICENSE_1_0.txt or copy at -# http://www.boost.org/LICENSE_1_0.txt) - -""" -This file contains indexing suite v2 code -""" - -file_name = "indexing_suite/slice_handler.hpp" - +# Copyright 2004-2008 Roman Yakovenko. +# Distributed under the Boost Software License, Version 1.0. (See +# accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +""" +This file contains indexing suite v2 code +""" + +file_name = "indexing_suite/slice_handler.hpp" + code = """// -*- mode:c++ -*- // // Header file slice_handler.hpp @@ -23,7 +23,8 @@ // ======= // 2003/ 9/ 9 rmg File creation // 2008/12/08 Roman Change indexing suite layout -// +// 2009/01/30 Roman patch from Maik Beckmann was applied - fixes error: +// // error: no class template named 'extract_return_type' // $Id: slice_handler.hpp,v 1.1.2.10 2003/11/24 16:35:52 raoulgough Exp $ // @@ -75,6 +76,9 @@ typedef boost::python::default_result_converter result_converter; typedef typename Policy::argument_package argument_package; + template<class Sig> struct extract_return_type : + Policy::template extract_return_type<Sig> { }; + postcall_override (Policy const &p); bool precall (PyObject *args); @@ -307,6 +311,6 @@ } } } #endif // BOOST_PYTHON_INDEXING_SLICE_HANDLER_HPP - - -""" + + +""" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2009-01-30 20:03:42
|
Revision: 1642 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1642&view=rev Author: roman_yakovenko Date: 2009-01-30 20:03:31 +0000 (Fri, 30 Jan 2009) Log Message: ----------- sphinx Modified Paths: -------------- pygccxml_dev/docs/apidocs/binary_parsers.rest pygccxml_dev/docs/apidocs/declarations.rest pygccxml_dev/docs/apidocs/parser.rest Modified: pygccxml_dev/docs/apidocs/binary_parsers.rest =================================================================== --- pygccxml_dev/docs/apidocs/binary_parsers.rest 2009-01-29 22:14:51 UTC (rev 1641) +++ pygccxml_dev/docs/apidocs/binary_parsers.rest 2009-01-30 20:03:31 UTC (rev 1642) @@ -5,7 +5,7 @@ This page contains the `pygccxml.binary_parsers` package API documentation. The :mod:`pygccxml.binary_parsers` package ------------------------------------------------------------ +------------------------------------------ .. automodule:: pygccxml.binary_parsers :members: Modified: pygccxml_dev/docs/apidocs/declarations.rest =================================================================== --- pygccxml_dev/docs/apidocs/declarations.rest 2009-01-29 22:14:51 UTC (rev 1641) +++ pygccxml_dev/docs/apidocs/declarations.rest 2009-01-30 20:03:31 UTC (rev 1642) @@ -13,183 +13,176 @@ :show-inheritance: -The :mod:`pygccxml.declarations.algorithm` module -------------------------------------------------- +The :mod:`algorithm <pygccxml.declarations.algorithm>` module +-------------------------------------------------------------- .. automodule:: pygccxml.declarations.algorithm :members: :show-inheritance: -The :mod:`pygccxml.declarations.algorithms_cache` module --------------------------------------------------------- +The :mod:`algorithms_cache <pygccxml.declarations.algorithms_cache>` module +--------------------------------------------------------------------------- .. automodule:: pygccxml.declarations.algorithms_cache :members: :show-inheritance: -The :mod:`pygccxml.declarations.calldef` module ------------------------------------------------ +The :mod:`calldef <pygccxml.declarations.calldef>` module +--------------------------------------------------------- .. automodule:: pygccxml.declarations.calldef :members: :show-inheritance: -The :mod:`pygccxml.declarations.call_invocation` module -------------------------------------------------------- +The :mod:`call_invocation <pygccxml.declarations.call_invocation>` module +------------------------------------------------------------------------- .. automodule:: pygccxml.declarations.call_invocation :members: :show-inheritance: -The :mod:`pygccxml.declarations.class_declaration` module ---------------------------------------------------------- +The :mod:`class_declaration <pygccxml.declarations.class_declaration>` module +----------------------------------------------------------------------------- .. automodule:: pygccxml.declarations.class_declaration :members: :show-inheritance: -The :mod:`pygccxml.declarations.compilers` module -------------------------------------------------- +The :mod:`compilers <pygccxml.declarations.compilers>` module +------------------------------------------------------------- .. automodule:: pygccxml.declarations.compilers :members: :show-inheritance: -The :mod:`pygccxml.declarations.container_traits` module --------------------------------------------------------- +The :mod:`container_traits <pygccxml.declarations.container_traits>` module +--------------------------------------------------------------------------- .. automodule:: pygccxml.declarations.container_traits :members: :show-inheritance: -The :mod:`pygccxml.declarations.cpptypes` module ------------------------------------------------- +The :mod:`cpptypes <pygccxml.declarations.cpptypes>` module +----------------------------------------------------------- .. automodule:: pygccxml.declarations.cpptypes :members: :show-inheritance: -The :mod:`pygccxml.declarations.declaration` module ---------------------------------------------------- +The :mod:`declaration <pygccxml.declarations.declaration>` module +----------------------------------------------------------------- .. automodule:: pygccxml.declarations.declaration :members: :show-inheritance: -The :mod:`pygccxml.declarations.decl_factory` module ----------------------------------------------------- +The :mod:`decl_factory <pygccxml.declarations.decl_factory>` module +------------------------------------------------------------------- .. automodule:: pygccxml.declarations.decl_factory :members: :show-inheritance: -The :mod:`pygccxml.declarations.decl_printer` module ----------------------------------------------------- +The :mod:`decl_printer <pygccxml.declarations.decl_printer>` module +------------------------------------------------------------------- .. automodule:: pygccxml.declarations.decl_printer :members: :show-inheritance: -The :mod:`pygccxml.declarations.decl_visitor` module ----------------------------------------------------- +The :mod:`decl_visitor <pygccxml.declarations.decl_visitor>` module +-------------------------------------------------------------------- .. automodule:: pygccxml.declarations.decl_visitor :members: :show-inheritance: -The :mod:`pygccxml.declarations.dependencies` module ----------------------------------------------------- +The :mod:`dependencies <pygccxml.declarations.dependencies>` module +-------------------------------------------------------------------- .. automodule:: pygccxml.declarations.dependencies :members: :show-inheritance: -The :mod:`pygccxml.declarations.enumeration` module ---------------------------------------------------- +The :mod:`enumeration <pygccxml.declarations.enumeration>` module +------------------------------------------------------------------ .. automodule:: pygccxml.declarations.enumeration :members: :show-inheritance: -The :mod:`pygccxml.declarations.function_traits` module -------------------------------------------------------- +The :mod:`function_traits <pygccxml.declarations.function_traits>` module +------------------------------------------------------------------------- .. automodule:: pygccxml.declarations.function_traits :members: :show-inheritance: -The :mod:`pygccxml.declarations.matcher` module ------------------------------------------------ +The :mod:`matcher <pygccxml.declarations.matcher>` module +--------------------------------------------------------- .. automodule:: pygccxml.declarations.matcher :members: :show-inheritance: -The :mod:`pygccxml.declarations.matchers` module ------------------------------------------------- +The :mod:`matchers <pygccxml.declarations.matchers>` module +----------------------------------------------------------- .. automodule:: pygccxml.declarations.matchers :members: :show-inheritance: -The :mod:`pygccxml.declarations.mdecl_wrapper` module ------------------------------------------------------ +The :mod:`mdecl_wrapper <pygccxml.declarations.mdecl_wrapper>` module +--------------------------------------------------------------------- .. automodule:: pygccxml.declarations.mdecl_wrapper :members: :show-inheritance: -The :mod:`pygccxml.declarations.namespace` module -------------------------------------------------- +The :mod:`namespace <pygccxml.declarations.namespace>` module +------------------------------------------------------------- .. automodule:: pygccxml.declarations.namespace :members: :show-inheritance: -The :mod:`pygccxml.declarations.pattern_parser` module ------------------------------------------------------- +The :mod:`scopedef <pygccxml.declarations.scopedef>` module +----------------------------------------------------------- -.. automodule:: pygccxml.declarations.pattern_parser - :members: - :show-inheritance: - -The :mod:`pygccxml.declarations.scopedef` module ------------------------------------------------- - .. automodule:: pygccxml.declarations.scopedef :members: :show-inheritance: -The :mod:`pygccxml.declarations.templates` module -------------------------------------------------- +The :mod:`templates <pygccxml.declarations.templates>` module +------------------------------------------------------------- .. automodule:: pygccxml.declarations.templates :members: :show-inheritance: -The :mod:`pygccxml.declarations.typedef` module +The :mod:`typedef <pygccxml.declarations.typedef>` module ----------------------------------------------- .. automodule:: pygccxml.declarations.typedef :members: :show-inheritance: -The :mod:`pygccxml.declarations.type_traits` module ---------------------------------------------------- +The :mod:`type_traits <pygccxml.declarations.type_traits>` module +----------------------------------------------------------------- .. automodule:: pygccxml.declarations.type_traits :members: :show-inheritance: -The :mod:`pygccxml.declarations.type_visitor` module ----------------------------------------------------- +The :mod:`type_visitor <pygccxml.declarations.type_visitor>` module +------------------------------------------------------------------- .. automodule:: pygccxml.declarations.type_visitor :members: :show-inheritance: -The :mod:`pygccxml.declarations.variable` module ------------------------------------------------- +The :mod:`variable <pygccxml.declarations.variable>` module +----------------------------------------------------------- .. automodule:: pygccxml.declarations.variable :members: Modified: pygccxml_dev/docs/apidocs/parser.rest =================================================================== --- pygccxml_dev/docs/apidocs/parser.rest 2009-01-29 22:14:51 UTC (rev 1641) +++ pygccxml_dev/docs/apidocs/parser.rest 2009-01-30 20:03:31 UTC (rev 1642) @@ -12,46 +12,23 @@ :undoc-members: :show-inheritance: -The :mod:`pygccxml.parser.config` module ----------------------------------------- +The :mod:`config <pygccxml.parser.config>` module +------------------------------------------------- .. automodule:: pygccxml.parser.config :members: :undoc-members: :show-inheritance: -The :mod:`pygccxml.parser.declarations_cache` module ----------------------------------------------------- +The :mod:`declarations_cache <pygccxml.parser.declarations_cache>` module +-------------------------------------------------------------------------- .. automodule:: pygccxml.parser.declarations_cache :members: :undoc-members: :show-inheritance: -The :mod:`pygccxml.parser.directory_cache` module -------------------------------------------------- -.. automodule:: pygccxml.parser.directory_cache - :members: - :undoc-members: - :show-inheritance: - -The :mod:`pygccxml.parser.etree_scanner` module ------------------------------------------------ - -.. automodule:: pygccxml.parser.etree_scanner - :members: - :undoc-members: - :show-inheritance: - -The :mod:`pygccxml.parser.linker` module ----------------------------------------- - -.. automodule:: pygccxml.parser.linker - :members: - :undoc-members: - :show-inheritance: - The :mod:`pygccxml.parser.patcher` module ----------------------------------------- @@ -60,23 +37,15 @@ :undoc-members: :show-inheritance: -The :mod:`pygccxml.parser.project_reader` module ------------------------------------------------- +The :mod:`project_reader <pygccxml.parser.project_reader>` module +----------------------------------------------------------------- .. automodule:: pygccxml.parser.project_reader :members: :undoc-members: :show-inheritance: -The :mod:`pygccxml.parser.scanner` module ------------------------------------------ - -.. automodule:: pygccxml.parser.scanner - :members: - :undoc-members: - :show-inheritance: - -The :mod:`pygccxml.parser.source_reader` module +The :mod:`source_reader <pygccxml.parser.source_reader>` module ----------------------------------------------- .. automodule:: pygccxml.parser.source_reader This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2009-01-29 23:22:38
|
Revision: 1641 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1641&view=rev Author: roman_yakovenko Date: 2009-01-29 22:14:51 +0000 (Thu, 29 Jan 2009) Log Message: ----------- sphinx Modified Paths: -------------- pydsc_dev/pydsc.py pygccxml_dev/docs/apidocs/api.rest pygccxml_dev/docs/apidocs/binary_parsers.rest pygccxml_dev/docs/apidocs/declarations.rest pygccxml_dev/docs/apidocs/parser.rest pygccxml_dev/docs/apidocs/utils.rest pygccxml_dev/docs/pygccxml.rest pygccxml_dev/pygccxml/parser/__init__.py Removed Paths: ------------- pygccxml_dev/docs/apidocs/modules.txt Modified: pydsc_dev/pydsc.py =================================================================== --- pydsc_dev/pydsc.py 2009-01-29 19:49:51 UTC (rev 1640) +++ pydsc_dev/pydsc.py 2009-01-29 22:14:51 UTC (rev 1641) @@ -65,9 +65,7 @@ def contains_parent_dir( path, dirs ): """ returns true if one of the directories is root directory for the `path`, false otherwise - - :parameters: - - `path` - a path + @param path: path @type path: str Modified: pygccxml_dev/docs/apidocs/api.rest =================================================================== --- pygccxml_dev/docs/apidocs/api.rest 2009-01-29 19:49:51 UTC (rev 1640) +++ pygccxml_dev/docs/apidocs/api.rest 2009-01-29 22:14:51 UTC (rev 1641) @@ -1,14 +1,13 @@ -============ -pygccxml API -============ +=== +API +=== -Modules: --------- +`pygccxml` consists from 4 sub packages .. toctree:: :maxdepth: 4 - binary_parsers - declarations - parser - utils + declarations - contains classes, which describe C++ declarations <declarations> + parser - contains classes, which parse GCC-XML generated file <parser> + binary_parsers - contains classes, which extract some information from `.dll`, `.map`, `.so` files <binary_parsers> + utils - few useful utilities <utils> Modified: pygccxml_dev/docs/apidocs/binary_parsers.rest =================================================================== --- pygccxml_dev/docs/apidocs/binary_parsers.rest 2009-01-29 19:49:51 UTC (rev 1640) +++ pygccxml_dev/docs/apidocs/binary_parsers.rest 2009-01-29 22:14:51 UTC (rev 1641) @@ -1,11 +1,11 @@ -=========================== -pygccxml.binary_parsers API -=========================== +=============================== +pygccxml.binary_parsers package +=============================== This page contains the `pygccxml.binary_parsers` package API documentation. The :mod:`pygccxml.binary_parsers` package ------------------------------------------- +----------------------------------------------------------- .. automodule:: pygccxml.binary_parsers :members: @@ -13,27 +13,11 @@ :show-inheritance: -The :mod:`pygccxml.binary_parsers.get_dll_exported_symbols` module ------------------------------------------------------------------- +The :mod:`parsers <pygccxml.binary_parsers.parsers>` module +----------------------------------------------------------- -.. automodule:: pygccxml.binary_parsers.get_dll_exported_symbols - :members: - :undoc-members: - :show-inheritance: - -The :mod:`pygccxml.binary_parsers.parsers` module -------------------------------------------------- - .. automodule:: pygccxml.binary_parsers.parsers :members: :undoc-members: :show-inheritance: -The :mod:`pygccxml.binary_parsers.undname` module -------------------------------------------------- - -.. automodule:: pygccxml.binary_parsers.undname - :members: - :undoc-members: - :show-inheritance: - Modified: pygccxml_dev/docs/apidocs/declarations.rest =================================================================== --- pygccxml_dev/docs/apidocs/declarations.rest 2009-01-29 19:49:51 UTC (rev 1640) +++ pygccxml_dev/docs/apidocs/declarations.rest 2009-01-29 22:14:51 UTC (rev 1641) @@ -1,8 +1,18 @@ -..\Pygccxml_Dev\Pygccxml\Declarations Documentation -=================================================== +============================= +pygccxml.declarations package +============================= -This page contains the ..\Pygccxml_Dev\Pygccxml\Declarations Package documentation. +This page contains the `pygccxml.declarations` package API documentation. +The :mod:`pygccxml.declarations` package +---------------------------------------- + +.. automodule:: pygccxml.declarations + :members: + :undoc-members: + :show-inheritance: + + The :mod:`pygccxml.declarations.algorithm` module ------------------------------------------------- Deleted: pygccxml_dev/docs/apidocs/modules.txt =================================================================== --- pygccxml_dev/docs/apidocs/modules.txt 2009-01-29 19:49:51 UTC (rev 1640) +++ pygccxml_dev/docs/apidocs/modules.txt 2009-01-29 22:14:51 UTC (rev 1641) @@ -1,16 +0,0 @@ -Miville Modules Documentation -============================= - -This page contains the Miville Modules documentation. - -Modules: --------- - -.. toctree:: - :maxdepth: 4 - - __init__ - binary_parsers - declarations - parser - utils Modified: pygccxml_dev/docs/apidocs/parser.rest =================================================================== --- pygccxml_dev/docs/apidocs/parser.rest 2009-01-29 19:49:51 UTC (rev 1640) +++ pygccxml_dev/docs/apidocs/parser.rest 2009-01-29 22:14:51 UTC (rev 1641) @@ -1,84 +1,85 @@ -..\Pygccxml_Dev\Pygccxml\Parser Documentation -============================================= +======================= +pygccxml.parser package +======================= -This page contains the ..\Pygccxml_Dev\Pygccxml\Parser Package documentation. +This page contains the `pygccxml.parser` package API documentation. -The :mod:`parser.config` Modules --------------------------------- +The :mod:`pygccxml.parser` Package +---------------------------------------------------------- -.. automodule:: parser.config +.. automodule:: pygccxml.parser :members: :undoc-members: :show-inheritance: -The :mod:`parser.declarations_cache` Modules --------------------------------------------- +The :mod:`pygccxml.parser.config` module +---------------------------------------- -.. automodule:: parser.declarations_cache +.. automodule:: pygccxml.parser.config :members: :undoc-members: :show-inheritance: -The :mod:`parser.directory_cache` Modules ------------------------------------------ +The :mod:`pygccxml.parser.declarations_cache` module +---------------------------------------------------- -.. automodule:: parser.directory_cache +.. automodule:: pygccxml.parser.declarations_cache :members: :undoc-members: :show-inheritance: -The :mod:`parser.etree_scanner` Modules ---------------------------------------- +The :mod:`pygccxml.parser.directory_cache` module +------------------------------------------------- -.. automodule:: parser.etree_scanner +.. automodule:: pygccxml.parser.directory_cache :members: :undoc-members: :show-inheritance: -The :mod:`parser.linker` Modules --------------------------------- +The :mod:`pygccxml.parser.etree_scanner` module +----------------------------------------------- -.. automodule:: parser.linker +.. automodule:: pygccxml.parser.etree_scanner :members: :undoc-members: :show-inheritance: -The :mod:`parser.patcher` Modules ---------------------------------- +The :mod:`pygccxml.parser.linker` module +---------------------------------------- -.. automodule:: parser.patcher +.. automodule:: pygccxml.parser.linker :members: :undoc-members: :show-inheritance: -The :mod:`parser.project_reader` Modules ----------------------------------------- +The :mod:`pygccxml.parser.patcher` module +----------------------------------------- -.. automodule:: parser.project_reader +.. automodule:: pygccxml.parser.patcher :members: :undoc-members: :show-inheritance: -The :mod:`parser.scanner` Modules ---------------------------------- +The :mod:`pygccxml.parser.project_reader` module +------------------------------------------------ -.. automodule:: parser.scanner +.. automodule:: pygccxml.parser.project_reader :members: :undoc-members: :show-inheritance: -The :mod:`parser.source_reader` Modules ---------------------------------------- +The :mod:`pygccxml.parser.scanner` module +----------------------------------------- -.. automodule:: parser.source_reader +.. automodule:: pygccxml.parser.scanner :members: :undoc-members: :show-inheritance: -The :mod:`..\pygccxml_dev\pygccxml\parser` Package --------------------------------------------------- +The :mod:`pygccxml.parser.source_reader` module +----------------------------------------------- -.. automodule:: ..\pygccxml_dev\pygccxml\parser +.. automodule:: pygccxml.parser.source_reader :members: :undoc-members: :show-inheritance: Modified: pygccxml_dev/docs/apidocs/utils.rest =================================================================== --- pygccxml_dev/docs/apidocs/utils.rest 2009-01-29 19:49:51 UTC (rev 1640) +++ pygccxml_dev/docs/apidocs/utils.rest 2009-01-29 22:14:51 UTC (rev 1641) @@ -1,20 +1,23 @@ -..\Pygccxml_Dev\Pygccxml\Utils Documentation -============================================ +====================== +pygccxml.utils package +====================== -This page contains the ..\Pygccxml_Dev\Pygccxml\Utils Package documentation. +This page contains the `pygccxml.utils` package API documentation. -The :mod:`utils.fs_utils` Modules +The :mod:`pygccxml.utils` package --------------------------------- -.. automodule:: pygccxml.utils.fs_utils +.. automodule:: pygccxml.utils :members: :undoc-members: :show-inheritance: -The :mod:`..\pygccxml_dev\pygccxml\utils` Package -------------------------------------------------- -.. automodule:: pygccxml.utils + +The :mod:`utils.fs_utils` module +--------------------------------- + +.. automodule:: pygccxml.utils.fs_utils :members: :undoc-members: :show-inheritance: Modified: pygccxml_dev/docs/pygccxml.rest =================================================================== --- pygccxml_dev/docs/pygccxml.rest 2009-01-29 19:49:51 UTC (rev 1640) +++ pygccxml_dev/docs/pygccxml.rest 2009-01-29 22:14:51 UTC (rev 1641) @@ -111,7 +111,7 @@ ---------------- `pygccxml`_ comes with comprehensive unit tests. They are executed on Windows XP -and `Ubuntu`_ Linux operating system. In most cases Python 2.5 and 2.6 are used. +and `Ubuntu`_ Linux operating systems. In most cases Python 2.5 and 2.6 are used. I still maintain backward compatibility to Python 2.4. All in all, `pygccxml` has more than 230 tests. @@ -120,7 +120,6 @@ ------------------------------- .. toctree:: - :maxdepth: 2 example/example.rest download.rest Modified: pygccxml_dev/pygccxml/parser/__init__.py =================================================================== --- pygccxml_dev/pygccxml/parser/__init__.py 2009-01-29 19:49:51 UTC (rev 1640) +++ pygccxml_dev/pygccxml/parser/__init__.py 2009-01-29 22:14:51 UTC (rev 1641) @@ -34,7 +34,8 @@ , config=None , compilation_mode=COMPILATION_MODE.FILE_BY_FILE , cache=None ): - """Parse header files. + """ + Parse header files. @param files: The header files that should be parsed @type files: list of str @@ -46,7 +47,6 @@ @type cache: L{cache_base_t} or str @returns: Declarations """ - if not config: config = config_t() parser = project_reader_t( config=config, cache=cache ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2009-01-29 19:49:53
|
Revision: 1640 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1640&view=rev Author: roman_yakovenko Date: 2009-01-29 19:49:51 +0000 (Thu, 29 Jan 2009) Log Message: ----------- change *.txt to *.rest Added Paths: ----------- pygccxml_dev/docs/apidocs/binary_parsers.rest pygccxml_dev/docs/apidocs/parser.rest pygccxml_dev/docs/apidocs/utils.rest Removed Paths: ------------- pygccxml_dev/docs/apidocs/binary_parsers.txt pygccxml_dev/docs/apidocs/parser.txt pygccxml_dev/docs/apidocs/utils.txt Copied: pygccxml_dev/docs/apidocs/binary_parsers.rest (from rev 1638, pygccxml_dev/docs/apidocs/binary_parsers.txt) =================================================================== --- pygccxml_dev/docs/apidocs/binary_parsers.rest (rev 0) +++ pygccxml_dev/docs/apidocs/binary_parsers.rest 2009-01-29 19:49:51 UTC (rev 1640) @@ -0,0 +1,39 @@ +=========================== +pygccxml.binary_parsers API +=========================== + +This page contains the `pygccxml.binary_parsers` package API documentation. + +The :mod:`pygccxml.binary_parsers` package +------------------------------------------ + +.. automodule:: pygccxml.binary_parsers + :members: + :undoc-members: + :show-inheritance: + + +The :mod:`pygccxml.binary_parsers.get_dll_exported_symbols` module +------------------------------------------------------------------ + +.. automodule:: pygccxml.binary_parsers.get_dll_exported_symbols + :members: + :undoc-members: + :show-inheritance: + +The :mod:`pygccxml.binary_parsers.parsers` module +------------------------------------------------- + +.. automodule:: pygccxml.binary_parsers.parsers + :members: + :undoc-members: + :show-inheritance: + +The :mod:`pygccxml.binary_parsers.undname` module +------------------------------------------------- + +.. automodule:: pygccxml.binary_parsers.undname + :members: + :undoc-members: + :show-inheritance: + Property changes on: pygccxml_dev/docs/apidocs/binary_parsers.rest ___________________________________________________________________ Added: svn:mergeinfo + Deleted: pygccxml_dev/docs/apidocs/binary_parsers.txt =================================================================== --- pygccxml_dev/docs/apidocs/binary_parsers.txt 2009-01-29 19:41:13 UTC (rev 1639) +++ pygccxml_dev/docs/apidocs/binary_parsers.txt 2009-01-29 19:49:51 UTC (rev 1640) @@ -1,39 +0,0 @@ -=========================== -pygccxml.binary_parsers API -=========================== - -This page contains the `pygccxml.binary_parsers` package API documentation. - -The :mod:`pygccxml.binary_parsers` package ------------------------------------------- - -.. automodule:: pygccxml.binary_parsers - :members: - :undoc-members: - :show-inheritance: - - -The :mod:`pygccxml.binary_parsers.get_dll_exported_symbols` module ------------------------------------------------------------------- - -.. automodule:: pygccxml.binary_parsers.get_dll_exported_symbols - :members: - :undoc-members: - :show-inheritance: - -The :mod:`pygccxml.binary_parsers.parsers` module -------------------------------------------------- - -.. automodule:: pygccxml.binary_parsers.parsers - :members: - :undoc-members: - :show-inheritance: - -The :mod:`pygccxml.binary_parsers.undname` module -------------------------------------------------- - -.. automodule:: pygccxml.binary_parsers.undname - :members: - :undoc-members: - :show-inheritance: - Copied: pygccxml_dev/docs/apidocs/parser.rest (from rev 1638, pygccxml_dev/docs/apidocs/parser.txt) =================================================================== --- pygccxml_dev/docs/apidocs/parser.rest (rev 0) +++ pygccxml_dev/docs/apidocs/parser.rest 2009-01-29 19:49:51 UTC (rev 1640) @@ -0,0 +1,85 @@ +..\Pygccxml_Dev\Pygccxml\Parser Documentation +============================================= + +This page contains the ..\Pygccxml_Dev\Pygccxml\Parser Package documentation. + +The :mod:`parser.config` Modules +-------------------------------- + +.. automodule:: parser.config + :members: + :undoc-members: + :show-inheritance: + +The :mod:`parser.declarations_cache` Modules +-------------------------------------------- + +.. automodule:: parser.declarations_cache + :members: + :undoc-members: + :show-inheritance: + +The :mod:`parser.directory_cache` Modules +----------------------------------------- + +.. automodule:: parser.directory_cache + :members: + :undoc-members: + :show-inheritance: + +The :mod:`parser.etree_scanner` Modules +--------------------------------------- + +.. automodule:: parser.etree_scanner + :members: + :undoc-members: + :show-inheritance: + +The :mod:`parser.linker` Modules +-------------------------------- + +.. automodule:: parser.linker + :members: + :undoc-members: + :show-inheritance: + +The :mod:`parser.patcher` Modules +--------------------------------- + +.. automodule:: parser.patcher + :members: + :undoc-members: + :show-inheritance: + +The :mod:`parser.project_reader` Modules +---------------------------------------- + +.. automodule:: parser.project_reader + :members: + :undoc-members: + :show-inheritance: + +The :mod:`parser.scanner` Modules +--------------------------------- + +.. automodule:: parser.scanner + :members: + :undoc-members: + :show-inheritance: + +The :mod:`parser.source_reader` Modules +--------------------------------------- + +.. automodule:: parser.source_reader + :members: + :undoc-members: + :show-inheritance: + +The :mod:`..\pygccxml_dev\pygccxml\parser` Package +-------------------------------------------------- + +.. automodule:: ..\pygccxml_dev\pygccxml\parser + :members: + :undoc-members: + :show-inheritance: + Property changes on: pygccxml_dev/docs/apidocs/parser.rest ___________________________________________________________________ Added: svn:mergeinfo + Deleted: pygccxml_dev/docs/apidocs/parser.txt =================================================================== --- pygccxml_dev/docs/apidocs/parser.txt 2009-01-29 19:41:13 UTC (rev 1639) +++ pygccxml_dev/docs/apidocs/parser.txt 2009-01-29 19:49:51 UTC (rev 1640) @@ -1,85 +0,0 @@ -..\Pygccxml_Dev\Pygccxml\Parser Documentation -============================================= - -This page contains the ..\Pygccxml_Dev\Pygccxml\Parser Package documentation. - -The :mod:`parser.config` Modules --------------------------------- - -.. automodule:: parser.config - :members: - :undoc-members: - :show-inheritance: - -The :mod:`parser.declarations_cache` Modules --------------------------------------------- - -.. automodule:: parser.declarations_cache - :members: - :undoc-members: - :show-inheritance: - -The :mod:`parser.directory_cache` Modules ------------------------------------------ - -.. automodule:: parser.directory_cache - :members: - :undoc-members: - :show-inheritance: - -The :mod:`parser.etree_scanner` Modules ---------------------------------------- - -.. automodule:: parser.etree_scanner - :members: - :undoc-members: - :show-inheritance: - -The :mod:`parser.linker` Modules --------------------------------- - -.. automodule:: parser.linker - :members: - :undoc-members: - :show-inheritance: - -The :mod:`parser.patcher` Modules ---------------------------------- - -.. automodule:: parser.patcher - :members: - :undoc-members: - :show-inheritance: - -The :mod:`parser.project_reader` Modules ----------------------------------------- - -.. automodule:: parser.project_reader - :members: - :undoc-members: - :show-inheritance: - -The :mod:`parser.scanner` Modules ---------------------------------- - -.. automodule:: parser.scanner - :members: - :undoc-members: - :show-inheritance: - -The :mod:`parser.source_reader` Modules ---------------------------------------- - -.. automodule:: parser.source_reader - :members: - :undoc-members: - :show-inheritance: - -The :mod:`..\pygccxml_dev\pygccxml\parser` Package --------------------------------------------------- - -.. automodule:: ..\pygccxml_dev\pygccxml\parser - :members: - :undoc-members: - :show-inheritance: - Copied: pygccxml_dev/docs/apidocs/utils.rest (from rev 1638, pygccxml_dev/docs/apidocs/utils.txt) =================================================================== --- pygccxml_dev/docs/apidocs/utils.rest (rev 0) +++ pygccxml_dev/docs/apidocs/utils.rest 2009-01-29 19:49:51 UTC (rev 1640) @@ -0,0 +1,21 @@ +..\Pygccxml_Dev\Pygccxml\Utils Documentation +============================================ + +This page contains the ..\Pygccxml_Dev\Pygccxml\Utils Package documentation. + +The :mod:`utils.fs_utils` Modules +--------------------------------- + +.. automodule:: pygccxml.utils.fs_utils + :members: + :undoc-members: + :show-inheritance: + +The :mod:`..\pygccxml_dev\pygccxml\utils` Package +------------------------------------------------- + +.. automodule:: pygccxml.utils + :members: + :undoc-members: + :show-inheritance: + Property changes on: pygccxml_dev/docs/apidocs/utils.rest ___________________________________________________________________ Added: svn:mergeinfo + Deleted: pygccxml_dev/docs/apidocs/utils.txt =================================================================== --- pygccxml_dev/docs/apidocs/utils.txt 2009-01-29 19:41:13 UTC (rev 1639) +++ pygccxml_dev/docs/apidocs/utils.txt 2009-01-29 19:49:51 UTC (rev 1640) @@ -1,21 +0,0 @@ -..\Pygccxml_Dev\Pygccxml\Utils Documentation -============================================ - -This page contains the ..\Pygccxml_Dev\Pygccxml\Utils Package documentation. - -The :mod:`utils.fs_utils` Modules ---------------------------------- - -.. automodule:: pygccxml.utils.fs_utils - :members: - :undoc-members: - :show-inheritance: - -The :mod:`..\pygccxml_dev\pygccxml\utils` Package -------------------------------------------------- - -.. automodule:: pygccxml.utils - :members: - :undoc-members: - :show-inheritance: - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2009-01-29 19:41:19
|
Revision: 1639 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1639&view=rev Author: roman_yakovenko Date: 2009-01-29 19:41:13 +0000 (Thu, 29 Jan 2009) Log Message: ----------- sphinx Removed Paths: ------------- pydsc_dev/docs/apidocs/ pydsc_dev/docs/www_configuration.py Deleted: pydsc_dev/docs/www_configuration.py =================================================================== --- pydsc_dev/docs/www_configuration.py 2009-01-29 14:13:25 UTC (rev 1638) +++ pydsc_dev/docs/www_configuration.py 2009-01-29 19:41:13 UTC (rev 1639) @@ -1 +0,0 @@ -files_to_skip = ['definition.rest'] \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2009-01-29 14:13:29
|
Revision: 1638 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1638&view=rev Author: roman_yakovenko Date: 2009-01-29 14:13:25 +0000 (Thu, 29 Jan 2009) Log Message: ----------- deprecated Removed Paths: ------------- pygccxml_dev/docs/msvc/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2009-01-29 14:11:23
|
Revision: 1637 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1637&view=rev Author: roman_yakovenko Date: 2009-01-29 14:11:17 +0000 (Thu, 29 Jan 2009) Log Message: ----------- sphinx Modified Paths: -------------- index.rest pygccxml_dev/docs/example/example.hpp pygccxml_dev/docs/example/example.hpp.rest pygccxml_dev/docs/example/example.hpp.xml pygccxml_dev/docs/example/example.hpp.xml.rest pygccxml_dev/docs/example/example.py pygccxml_dev/docs/example/example.py.rest pygccxml_dev/docs/example/example.rest pygccxml_dev/docs/example/output.txt pygccxml_dev/docs/example/output.txt.rest pygccxml_dev/docs/pygccxml.rest pygccxml_dev/pygccxml/declarations/call_invocation.py pygccxml_dev/pygccxml/declarations/declaration.py sphinx/conf.py Added Paths: ----------- pygccxml_dev/docs/apidocs/api.rest pygccxml_dev/docs/apidocs/binary_parsers.txt pygccxml_dev/docs/apidocs/declarations.rest pygccxml_dev/docs/apidocs/modules.txt pygccxml_dev/docs/apidocs/parser.txt pygccxml_dev/docs/apidocs/utils.txt Removed Paths: ------------- pygccxml_dev/docs/apidocs/www_configuration.py pygccxml_dev/docs/example/www_configuration.py Modified: index.rest =================================================================== --- index.rest 2009-01-29 07:34:48 UTC (rev 1636) +++ index.rest 2009-01-29 14:11:17 UTC (rev 1637) @@ -2,13 +2,6 @@ C++ Python language binding =========================== -.. contents:: Table of contents - -.. toctree:: - :maxdepth: 1 - - pydsc/pydsc.rest - ---------------- pygccxml package ---------------- @@ -73,6 +66,7 @@ .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html + Indices and tables ================== @@ -80,7 +74,14 @@ * :ref:`modindex` * :ref:`search` +.. toctree:: + :maxdepth: 2 + pydsc/pydsc.rest + pygccxml/pygccxml.rest + pyplusplus/pyplusplus.rest + + .. _`pyboost` : ./pyplusplus/examples/boost/boost.html .. _`boost.graph` : http://www.boost.org/libs/graph/doc/table_of_contents.html .. _`boost.date_time` : http://boost.org/doc/html/date_time.html Added: pygccxml_dev/docs/apidocs/api.rest =================================================================== --- pygccxml_dev/docs/apidocs/api.rest (rev 0) +++ pygccxml_dev/docs/apidocs/api.rest 2009-01-29 14:11:17 UTC (rev 1637) @@ -0,0 +1,14 @@ +============ +pygccxml API +============ + +Modules: +-------- + +.. toctree:: + :maxdepth: 4 + + binary_parsers + declarations + parser + utils Added: pygccxml_dev/docs/apidocs/binary_parsers.txt =================================================================== --- pygccxml_dev/docs/apidocs/binary_parsers.txt (rev 0) +++ pygccxml_dev/docs/apidocs/binary_parsers.txt 2009-01-29 14:11:17 UTC (rev 1637) @@ -0,0 +1,39 @@ +=========================== +pygccxml.binary_parsers API +=========================== + +This page contains the `pygccxml.binary_parsers` package API documentation. + +The :mod:`pygccxml.binary_parsers` package +------------------------------------------ + +.. automodule:: pygccxml.binary_parsers + :members: + :undoc-members: + :show-inheritance: + + +The :mod:`pygccxml.binary_parsers.get_dll_exported_symbols` module +------------------------------------------------------------------ + +.. automodule:: pygccxml.binary_parsers.get_dll_exported_symbols + :members: + :undoc-members: + :show-inheritance: + +The :mod:`pygccxml.binary_parsers.parsers` module +------------------------------------------------- + +.. automodule:: pygccxml.binary_parsers.parsers + :members: + :undoc-members: + :show-inheritance: + +The :mod:`pygccxml.binary_parsers.undname` module +------------------------------------------------- + +.. automodule:: pygccxml.binary_parsers.undname + :members: + :undoc-members: + :show-inheritance: + Added: pygccxml_dev/docs/apidocs/declarations.rest =================================================================== --- pygccxml_dev/docs/apidocs/declarations.rest (rev 0) +++ pygccxml_dev/docs/apidocs/declarations.rest 2009-01-29 14:11:17 UTC (rev 1637) @@ -0,0 +1,187 @@ +..\Pygccxml_Dev\Pygccxml\Declarations Documentation +=================================================== + +This page contains the ..\Pygccxml_Dev\Pygccxml\Declarations Package documentation. + +The :mod:`pygccxml.declarations.algorithm` module +------------------------------------------------- + +.. automodule:: pygccxml.declarations.algorithm + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.algorithms_cache` module +-------------------------------------------------------- + +.. automodule:: pygccxml.declarations.algorithms_cache + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.calldef` module +----------------------------------------------- + +.. automodule:: pygccxml.declarations.calldef + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.call_invocation` module +------------------------------------------------------- + +.. automodule:: pygccxml.declarations.call_invocation + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.class_declaration` module +--------------------------------------------------------- + +.. automodule:: pygccxml.declarations.class_declaration + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.compilers` module +------------------------------------------------- + +.. automodule:: pygccxml.declarations.compilers + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.container_traits` module +-------------------------------------------------------- + +.. automodule:: pygccxml.declarations.container_traits + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.cpptypes` module +------------------------------------------------ + +.. automodule:: pygccxml.declarations.cpptypes + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.declaration` module +--------------------------------------------------- + +.. automodule:: pygccxml.declarations.declaration + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.decl_factory` module +---------------------------------------------------- + +.. automodule:: pygccxml.declarations.decl_factory + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.decl_printer` module +---------------------------------------------------- + +.. automodule:: pygccxml.declarations.decl_printer + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.decl_visitor` module +---------------------------------------------------- + +.. automodule:: pygccxml.declarations.decl_visitor + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.dependencies` module +---------------------------------------------------- + +.. automodule:: pygccxml.declarations.dependencies + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.enumeration` module +--------------------------------------------------- + +.. automodule:: pygccxml.declarations.enumeration + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.function_traits` module +------------------------------------------------------- + +.. automodule:: pygccxml.declarations.function_traits + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.matcher` module +----------------------------------------------- + +.. automodule:: pygccxml.declarations.matcher + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.matchers` module +------------------------------------------------ + +.. automodule:: pygccxml.declarations.matchers + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.mdecl_wrapper` module +----------------------------------------------------- + +.. automodule:: pygccxml.declarations.mdecl_wrapper + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.namespace` module +------------------------------------------------- + +.. automodule:: pygccxml.declarations.namespace + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.pattern_parser` module +------------------------------------------------------ + +.. automodule:: pygccxml.declarations.pattern_parser + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.scopedef` module +------------------------------------------------ + +.. automodule:: pygccxml.declarations.scopedef + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.templates` module +------------------------------------------------- + +.. automodule:: pygccxml.declarations.templates + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.typedef` module +----------------------------------------------- + +.. automodule:: pygccxml.declarations.typedef + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.type_traits` module +--------------------------------------------------- + +.. automodule:: pygccxml.declarations.type_traits + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.type_visitor` module +---------------------------------------------------- + +.. automodule:: pygccxml.declarations.type_visitor + :members: + :show-inheritance: + +The :mod:`pygccxml.declarations.variable` module +------------------------------------------------ + +.. automodule:: pygccxml.declarations.variable + :members: + :show-inheritance: + Added: pygccxml_dev/docs/apidocs/modules.txt =================================================================== --- pygccxml_dev/docs/apidocs/modules.txt (rev 0) +++ pygccxml_dev/docs/apidocs/modules.txt 2009-01-29 14:11:17 UTC (rev 1637) @@ -0,0 +1,16 @@ +Miville Modules Documentation +============================= + +This page contains the Miville Modules documentation. + +Modules: +-------- + +.. toctree:: + :maxdepth: 4 + + __init__ + binary_parsers + declarations + parser + utils Added: pygccxml_dev/docs/apidocs/parser.txt =================================================================== --- pygccxml_dev/docs/apidocs/parser.txt (rev 0) +++ pygccxml_dev/docs/apidocs/parser.txt 2009-01-29 14:11:17 UTC (rev 1637) @@ -0,0 +1,85 @@ +..\Pygccxml_Dev\Pygccxml\Parser Documentation +============================================= + +This page contains the ..\Pygccxml_Dev\Pygccxml\Parser Package documentation. + +The :mod:`parser.config` Modules +-------------------------------- + +.. automodule:: parser.config + :members: + :undoc-members: + :show-inheritance: + +The :mod:`parser.declarations_cache` Modules +-------------------------------------------- + +.. automodule:: parser.declarations_cache + :members: + :undoc-members: + :show-inheritance: + +The :mod:`parser.directory_cache` Modules +----------------------------------------- + +.. automodule:: parser.directory_cache + :members: + :undoc-members: + :show-inheritance: + +The :mod:`parser.etree_scanner` Modules +--------------------------------------- + +.. automodule:: parser.etree_scanner + :members: + :undoc-members: + :show-inheritance: + +The :mod:`parser.linker` Modules +-------------------------------- + +.. automodule:: parser.linker + :members: + :undoc-members: + :show-inheritance: + +The :mod:`parser.patcher` Modules +--------------------------------- + +.. automodule:: parser.patcher + :members: + :undoc-members: + :show-inheritance: + +The :mod:`parser.project_reader` Modules +---------------------------------------- + +.. automodule:: parser.project_reader + :members: + :undoc-members: + :show-inheritance: + +The :mod:`parser.scanner` Modules +--------------------------------- + +.. automodule:: parser.scanner + :members: + :undoc-members: + :show-inheritance: + +The :mod:`parser.source_reader` Modules +--------------------------------------- + +.. automodule:: parser.source_reader + :members: + :undoc-members: + :show-inheritance: + +The :mod:`..\pygccxml_dev\pygccxml\parser` Package +-------------------------------------------------- + +.. automodule:: ..\pygccxml_dev\pygccxml\parser + :members: + :undoc-members: + :show-inheritance: + Added: pygccxml_dev/docs/apidocs/utils.txt =================================================================== --- pygccxml_dev/docs/apidocs/utils.txt (rev 0) +++ pygccxml_dev/docs/apidocs/utils.txt 2009-01-29 14:11:17 UTC (rev 1637) @@ -0,0 +1,21 @@ +..\Pygccxml_Dev\Pygccxml\Utils Documentation +============================================ + +This page contains the ..\Pygccxml_Dev\Pygccxml\Utils Package documentation. + +The :mod:`utils.fs_utils` Modules +--------------------------------- + +.. automodule:: pygccxml.utils.fs_utils + :members: + :undoc-members: + :show-inheritance: + +The :mod:`..\pygccxml_dev\pygccxml\utils` Package +------------------------------------------------- + +.. automodule:: pygccxml.utils + :members: + :undoc-members: + :show-inheritance: + Deleted: pygccxml_dev/docs/apidocs/www_configuration.py =================================================================== --- pygccxml_dev/docs/apidocs/www_configuration.py 2009-01-29 07:34:48 UTC (rev 1636) +++ pygccxml_dev/docs/apidocs/www_configuration.py 2009-01-29 14:11:17 UTC (rev 1637) @@ -1,2 +0,0 @@ -name = 'API docs' -main_html_file = 'index.html' \ No newline at end of file Modified: pygccxml_dev/docs/example/example.hpp =================================================================== --- pygccxml_dev/docs/example/example.hpp 2009-01-29 07:34:48 UTC (rev 1636) +++ pygccxml_dev/docs/example/example.hpp 2009-01-29 14:11:17 UTC (rev 1637) @@ -1,4 +1,4 @@ -// Copyright 2004-2007 Roman Yakovenko. +// Copyright 2004-2009 Roman Yakovenko. // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) @@ -6,61 +6,46 @@ #ifndef example_hpp_12_10_2006 #define example_hpp_12_10_2006 -#include <vector> -#include <string> -#include <map> namespace unittests{ struct test_results{ - + enum status{ ok, fail, error }; - - typedef std::map< std::string, status > result_container; - - void update( const std::string& name, status result ){ - m_results[ name ] = result; - } - -private: - result_container m_results; + + void update( const char* test_name, status result ); }; - + struct test_case{ - - test_case( const std::string& name ) - : m_name( name ) - {} - + + test_case( const char* test_case_name ); + virtual void set_up(){} - + virtual void tear_down(){} - + virtual void run() = 0; - + private: - const std::string m_name; + const char* m_name; }; +class test_container; + struct test_suite : public test_case{ - - typedef std::vector< test_case* > test_container; - - test_suite( const std::string& name, const test_container& tests ) - : test_case(name) - , m_tests( tests ) - {} - - virtual void run(); - - const test_results& get_results() const + + test_suite( const char* name, const test_container& tests ); + + void run(); + + const test_results& get_results() const { return m_results; } - -private: - const test_container m_tests; + +private: + test_container* m_tests; test_results m_results; }; - + } #endif//example_hpp_12_10_2006 Modified: pygccxml_dev/docs/example/example.hpp.rest =================================================================== --- pygccxml_dev/docs/example/example.hpp.rest 2009-01-29 07:34:48 UTC (rev 1636) +++ pygccxml_dev/docs/example/example.hpp.rest 2009-01-29 14:11:17 UTC (rev 1637) @@ -1,2 +1,6 @@ -.. literalinclude:: ./example.hpp - :language: c++ +=============== +C++ header file +=============== + +.. literalinclude:: example.hpp + :language: c++ Modified: pygccxml_dev/docs/example/example.hpp.xml =================================================================== --- pygccxml_dev/docs/example/example.hpp.xml 2009-01-29 07:34:48 UTC (rev 1636) +++ pygccxml_dev/docs/example/example.hpp.xml 2009-01-29 14:11:17 UTC (rev 1637) @@ -1,6888 +1,86 @@ <?xml version="1.0"?> -<GCC_XML cvs_revision="1.118"> - <Namespace id="_1" name="::" members="_3 _4 _5 _6 _7 _8 _9 _10 _11 _12 _13 _14 _15 _16 _17 _18 _20 _21 _22 _23 _24 _25 _26 _27 _28 _29 _31 _32 _33 _34 _35 _36 _37 _38 _39 _40 _41 _42 _43 _44 _45 _46 _47 _49 _50 _51 _52 _53 _54 _55 _56 _57 _58 _59 _60 _62 _63 _64 _65 _66 _67 _68 _69 _70 _71 _74 _75 _76 _77 _78 _79 _80 _81 _82 _83 _84 _85 _86 _87 _88 _89 _90 _91 _92 _93 _94 _95 _96 _97 _98 _99 _100 _101 _102 _103 _104 _105 _106 _107 _108 _109 _110 _111 _112 _113 _114 _116 _117 _118 _119 _120 _121 _122 _123 _124 _126 _127 _128 _129 _130 _131 _132 _133 _134 _135 _136 _137 _139 _140 _141 _142 _143 _144 _145 _146 _148 _149 _150 _151 _152 _153 _155 _156 _157 _158 _159 _160 _161 _162 _163 _164 _165 _166 _167 _168 _169 _170 _171 _172 _173 _174 _175 _176 _177 _178 _179 _180 _181 _182 _183 _184 _185 _186 _187 _188 _189 _190 _191 _192 _193 _194 _195 _196 _197 _198 _199 _200 _201 _202 _203 _204 _205 _206 _207 _208 _209 _210 _211 _212 _213 _214 _218 _219 _221 _220 _222 _223 _224 _225 _226 _227 _228 _229 _230 _231 _233 _234 _235 _236 _237 _238 _239 _240 _241 _242 _243 _244 _245 _246 _247 _248 _249 _250 _251 _252 _253 _254 _255 _256 _257 _258 _259 _260 _261 _262 _263 _264 _265 _266 _267 _268 _269 _270 _271 _272 _273 _276 _277 _278 _279 _280 _281 _282 _284 _283 _285 _286 _287 _288 _289 _290 _291 _292 _293 _294 _295 _296 _297 _298 _299 _300 _301 _302 _303 _304 _305 _306 _308 _309 _310 _311 _312 _313 _314 _315 _316 _317 _318 _319 _320 _321 _322 _324 _325 _326 _328 _329 _330 _331 _332 _333 _334 _335 _336 _337 _338 _339 _2 _343 _344 _345 _346 _347 _348 _349 _353 _354 _355 _356 _357 _358 _359 _360 _361 _362 _363 _364 _365 _366 _367 _368 _369 _370 _371 _372 _373 _374 _375 _376 _377 _378 _379 _380 _381 _382 _383 _384 _385 _386 _387 _388 _389 _390 _391 _232 _392 _393 _394 _395 _396 _397 _398 _399 _400 _401 _402 _406 _407 _408 _409 _410 _411 _412 _413 _414 _415 _416 _417 _418 _419 _420 _421 _423 _424 _425 _426 _427 _428 _429 _430 _431 _432 _433 _434 _437 _438 _439 _440 _441 _442 _443 _444 _445 _446 _447 _448 _450 _449 _451 _452 _453 _454 _455 _456 _457 _458 _459 _460 _461 _462 _463 _464 _465 _466 _467 _468 _469 _470 _471 _472 _473 _474 _475 _476 _477 _478 _479 _480 _481 _482 _483 _484 _485 _486 _487 _488 _489 _490 _491 _492 _493 _494 _495 _496 _497 _498 _499 _500 _501 _502 _503 _504 _505 _506 _507 _508 _509 _510 _511 _512 _513 _514 _515 _516 _517 _518 _519 _520 _521 _522 _523 _524 _525 _526 _527 _528 _529 _530 _531 _532 _533 _534 _535 _536 _537 _538 _539 _540 _541 _542 _543 _544 _545 _546 _547 _548 _549 _551 _552 _553 _554 _555 _556 _557 _558 _559 _560 _561 _562 _563 _564 _565 _566 _567 _568 _569 _570 _571 _572 _573 _574 _575 _576 _577 _578 _579 _580 _581 _582 _583 _584 " mangled="_Z2::" demangled="::"/> - <Namespace id="_2" name="std" context="_1" members="_585 _4 _617 _620 _621 _625 _626 _628 _629 _631 _632 _640 _641 _642 _62 _643 _644 _647 _648 _670 _674 _124 _677 _678 _680 _683 _684 _685 _686 _688 _689 _693 _697 _698 _700 _701 _702 _202 _703 _707 _708 _711 _716 _233 _717 _718 _720 _726 _728 _729 _730 _731 _733 _750 _299 _751 _755 _756 _757 _308 _758 _760 _764 _320 _325 _767 _768 _769 _774 _775 _776 _359 _777 _778 _385 _782 _784 _785 _792 _400 _794 _797 _418 _798 _421 _799 _800 _802 _804 _455 _461 _807 _808 _810 _811 _815 _816 _817 _818 _819 _820 _827 _503 _833 _834 _835 _839 _539 _847 _848 _850 _851 _852 _854 _855 _856 _858 _859 _864 " mangled="_Z3std" demangled="std"/> - <Function id="_3" name="_wcsset" returns="_865" context="_1" location="f0:191" file="f0" line="191" extern="1" attributes="__cdecl__"> - <Argument type="_865" location="f0:191" file="f0" line="191"/> - <Argument type="_550" location="f0:191" file="f0" line="191"/> - </Function> - <Struct id="_4" name="tm" context="_1" mangled="2tm" demangled="tm" location="f1:721" file="f1" line="721" artificial="1" size="288" align="32" members="_866 _867 _868 _869 _870 _871 _872 _873 _874 " bases=""/> - <Function id="_5" name="wcsrtombs" returns="_385" context="_1" location="f1:764" file="f1" line="764" extern="1" attributes="__cdecl__"> - <Argument type="_138" location="f1:764" file="f1" line="764"/> - <Argument type="_875" location="f1:764" file="f1" line="764"/> - <Argument type="_385" location="f1:764" file="f1" line="764"/> - <Argument type="_876" location="f1:764" file="f1" line="764"/> - </Function> - <Variable id="_6" name="_pwctype" type="_877" context="_1" location="f2:67" file="f2" line="67" extern="1"/> - <Function id="_7" name="tmpfile" returns="_878" context="_1" location="f3:320" file="f3" line="320" extern="1" attributes="__cdecl__"/> - <Function id="_8" name="_strset" returns="_138" context="_1" location="f0:103" file="f0" line="103" extern="1" attributes="__cdecl__"> - <Argument type="_138" location="f0:103" file="f0" line="103"/> - <Argument type="_307" location="f0:103" file="f0" line="103"/> - </Function> - <Function id="_9" name="wcrtomb" returns="_385" context="_1" location="f1:763" file="f1" line="763" extern="1" attributes="__cdecl__"> - <Argument type="_138" location="f1:763" file="f1" line="763"/> - <Argument type="_550" location="f1:763" file="f1" line="763"/> - <Argument type="_876" location="f1:763" file="f1" line="763"/> - </Function> - <Function id="_10" name="vprintf" returns="_307" context="_1" location="f3:325" file="f3" line="325" extern="1" attributes="nothrow __cdecl__ nonnull() format(,,)"> - <Argument type="_115" location="f3:325" file="f3" line="325"/> - <Argument type="_139" location="f3:325" file="f3" line="325"/> - </Function> - <Function id="_11" name="swscanf" returns="_307" context="_1" location="f3:380" file="f3" line="380" extern="1" attributes="__cdecl__"> - <Argument type="_879" location="f3:380" file="f3" line="380"/> - <Argument type="_879" location="f3:380" file="f3" line="380"/> - <Ellipsis/> - </Function> - <Function id="_12" name="remove" returns="_307" context="_1" location="f3:306" file="f3" line="306" extern="1" attributes="__cdecl__"> - <Argument type="_115" location="f3:306" file="f3" line="306"/> - </Function> - <Function id="_13" name="_strcmpi" returns="_307" context="_1" location="f0:121" file="f0" line="121" extern="1" attributes="__cdecl__"> - <Argument type="_115" location="f0:121" file="f0" line="121"/> - <Argument type="_115" location="f0:121" file="f0" line="121"/> - </Function> - <Function id="_14" name="_wcsicmp" returns="_307" context="_1" location="f0:187" file="f0" line="187" extern="1" attributes="__cdecl__"> - <Argument type="_879" location="f0:187" file="f0" line="187"/> - <Argument type="_879" location="f0:187" file="f0" line="187"/> - </Function> - <Function id="_15" name="_set_se_translator" returns="_31" context="_1" mangled="_Z18_set_se_translatorPFvjP19_EXCEPTION_POINTERSE" demangled="_set_se_translator(void (*)(unsigned int, _EXCEPTION_POINTERS*))" location="f4:63" file="f4" line="63" extern="1" attributes="__cdecl__"> - <Argument type="_31" location="f4:63" file="f4" line="63"/> - </Function> - <Function id="_16" name="_wpopen" returns="_878" context="_1" location="f3:393" file="f3" line="393" extern="1" attributes="__cdecl__"> - <Argument type="_879" location="f3:393" file="f3" line="393"/> - <Argument type="_879" location="f3:393" file="f3" line="393"/> - </Function> - <Variable id="_17" name="_fmode" type="_307" context="_1" location="f5:239" file="f5" line="239" extern="1"/> - <Function id="_18" name="_fdopen" returns="_878" context="_1" location="f3:263" file="f3" line="263" extern="1" attributes="__cdecl__"> - <Argument type="_307" location="f3:263" file="f3" line="263"/> - <Argument type="_115" location="f3:263" file="f3" line="263"/> - </Function> - <FundamentalType id="_19" name="short unsigned int" size="16" align="16"/> - <Typedef id="_20" name="wctype_t" type="_19" context="_1" location="f3:84" file="f3" line="84"/> - <Struct id="_21" name="_iobuf" context="_1" mangled="6_iobuf" demangled="_iobuf" location="f3:125" file="f3" line="125" artificial="1" size="256" align="32" members="_880 _881 _882 _883 _884 _885 _886 _887 " bases=""/> - <Function id="_22" name="wscanf" returns="_307" context="_1" location="f3:382" file="f3" line="382" extern="1" attributes="__cdecl__"> - <Argument type="_879" location="f3:382" file="f3" line="382"/> - <Ellipsis/> - </Function> - <Function id="_23" name="iswascii" returns="_307" context="_1" location="f1:377" file="f1" line="377" endline="377" inline="1" attributes="__cdecl__"> - <Argument name="_C" type="_503" location="f1:377" file="f1" line="377"/> - </Function> - <Variable id="_24" name="_wctype" type="_888c" context="_1" location="f2:65" file="f2" line="65" extern="1"/> - <Function id="_25" name="setbuf" returns="_890" context="_1" location="f3:311" file="f3" line="311" extern="1" attributes="__cdecl__"> - <Argument type="_878" location="f3:311" file="f3" line="311"/> - <Argument type="_138" location="f3:311" file="f3" line="311"/> - </Function> - <Function id="_26" name="gcvt" returns="_138" context="_1" location="f5:434" file="f5" line="434" extern="1" attributes="__cdecl__"> - <Argument type="_891" location="f5:434" file="f5" line="434"/> - <Argument type="_307" location="f5:434" file="f5" line="434"/> - <Argument type="_138" location="f5:434" file="f5" line="434"/> - </Function> - <Function id="_27" name="set_unexpected" returns="_96" context="_1" mangled="_Z14set_unexpectedPFvvE" demangled="set_unexpected(void (*)())" location="f4:62" file="f4" line="62" extern="1" attributes="__cdecl__"> - <Argument type="_96" location="f4:62" file="f4" line="62"/> - </Function> - <Function id="_28" name="_wmktemp" returns="_865" context="_1" location="f1:296" file="f1" line="296" extern="1" attributes="__cdecl__"> - <Argument type="_865" location="f1:296" file="f1" line="296"/> - </Function> - <Function id="_29" name="iswupper" returns="_307" context="_1" location="f1:365" file="f1" line="365" endline="365" inline="1" attributes="nothrow pure __cdecl__"> - <Argument name="_C" type="_503" location="f1:365" file="f1" line="365"/> - </Function> - <PointerType id="_30" type="_892" size="32" align="32"/> - <Typedef id="_31" name="_se_translator_function" type="_30" context="_1" location="f4:51" file="f4" line="51"/> - <Function id="_32" name="iscntrl" returns="_307" context="_1" location="f2:104" file="f2" line="104" extern="1" attributes="nothrow pure __cdecl__"> - <Argument type="_307" location="f2:104" file="f2" line="104"/> - </Function> - <Function id="_33" name="_wfreopen" returns="_878" context="_1" location="f3:391" file="f3" line="391" extern="1" attributes="__cdecl__"> - <Argument type="_879" location="f3:391" file="f3" line="391"/> - <Argument type="_879" location="f3:391" file="f3" line="391"/> - <Argument type="_878" location="f3:391" file="f3" line="391"/> - </Function> - <Function id="_34" name="_strlwr" returns="_138" context="_1" location="f0:131" file="f0" line="131" extern="1" attributes="__cdecl__"> - <Argument type="_138" location="f0:131" file="f0" line="131"/> - </Function> - <Function id="_35" name="fflush" returns="_307" context="_1" location="f3:268" file="f3" line="268" extern="1" attributes="__cdecl__"> - <Argument type="_878" location="f3:268" file="f3" line="268"/> - </Function> - <Function id="_36" name="_wfindnexti64" returns="_307" context="_1" location="f1:301" file="f1" line="301" extern="1" attributes="__cdecl__"> - <Argument type="_383" location="f1:301" file="f1" line="301"/> - <Argument type="_893" location="f1:301" file="f1" line="301"/> - </Function> - <Variable id="_37" name="_ZTISt9bad_alloc" type="_894c" context="_1" location="f6:17" file="f6" line="17" extern="1" artificial="1"/> - <Function id="_38" name="mbrtowc" returns="_385" context="_1" location="f1:760" file="f1" line="760" extern="1" attributes="__cdecl__"> - <Argument type="_865" location="f1:760" file="f1" line="760"/> - <Argument type="_115" location="f1:760" file="f1" line="760"/> - <Argument type="_385" location="f1:760" file="f1" line="760"/> - <Argument type="_876" location="f1:760" file="f1" line="760"/> - </Function> - <Function id="_39" name="_makepath" returns="_890" context="_1" location="f5:366" file="f5" line="366" extern="1" attributes="__cdecl__"> - <Argument type="_138" location="f5:366" file="f5" line="366"/> - <Argument type="_115" location="f5:366" file="f5" line="366"/> - <Argument type="_115" location="f5:366" file="f5" line="366"/> - <Argument type="_115" location="f5:366" file="f5" line="366"/> - <Argument type="_115" location="f5:366" file="f5" line="366"/> - </Function> - <Function id="_40" name="_putw" returns="_307" context="_1" location="f3:305" file="f3" line="305" extern="1" attributes="__cdecl__"> - <Argument type="_307" location="f3:305" file="f3" line="305"/> - <Argument type="_878" location="f3:305" file="f3" line="305"/> - </Function> - <Function id="_41" name="_wstat64" returns="_307" context="_1" location="f1:496" file="f1" line="496" extern="1" attributes="__cdecl__"> - <Argument type="_879" location="f1:496" file="f1" line="496"/> - <Argument type="_896" location="f1:496" file="f1" line="496"/> - </Function> - <Function id="_42" name="strtok" returns="_138" context="_1" location="f0:142" file="f0" line="142" extern="1" attributes="__cdecl__"> - <Argument type="_138" location="f0:142" file="f0" line="142"/> - <Argument type="_115" location="f0:142" file="f0" line="142"/> - </Function> - <Function id="_43" name="iswspace" returns="_307" context="_1" location="f1:369" file="f1" line="369" endline="369" inline="1" attributes="nothrow pure __cdecl__"> - <Argument name="_C" type="_503" location="f1:369" file="f1" line="369"/> - </Function> - <Function id="_44" name="_wfdopen" returns="_878" context="_1" location="f3:389" file="f3" line="389" extern="1" attributes="__cdecl__"> - <Argument type="_307" location="f3:389" file="f3" line="389"/> - <Argument type="_879" location="f3:389" file="f3" line="389"/> - </Function> - <Function id="_45" name="towupper" returns="_550" context="_1" location="f1:258" file="f1" line="258" extern="1" attributes="nothrow pure __cdecl__"> - <Argument type="_550" location="f1:258" file="f1" line="258"/> - </Function> - <Function id="_46" name="_wfullpath" returns="_865" context="_1" location="f1:628" file="f1" line="628" extern="1" attributes="__cdecl__"> - <Argument type="_865" location="f1:628" file="f1" line="628"/> - <Argument type="_879" location="f1:628" file="f1" line="628"/> - <Argument type="_385" location="f1:628" file="f1" line="628"/> - </Function> - <Function id="_47" name="__iscsymf" returns="_307" context="_1" location="f2:111" file="f2" line="111" extern="1" attributes="__cdecl__"> - <Argument type="_307" location="f2:111" file="f2" line="111"/> - </Function> - <FundamentalType id="_48" name="long int" size="32" align="32"/> - <Typedef id="_49" name="time_t" type="_48" context="_1" location="f1:89" file="f1" line="89"/> - <Struct id="_50" name="_ldiv_t" context="_1" mangled="7_ldiv_t" demangled="_ldiv_t" location="f5:119" file="f5" line="119" artificial="1" size="64" align="32" members="_897 _898 " bases=""/> - <Variable id="_51" name="__argc" type="_307" context="_1" location="f5:222" file="f5" line="222" extern="1"/> - <Variable id="_52" name="__argv" type="_899" context="_1" location="f5:223" file="f5" line="223" extern="1"/> - <Function id="_53" name="strcmpi" returns="_307" context="_1" location="f0:152" file="f0" line="152" extern="1" attributes="__cdecl__"> - <Argument type="_115" location="f0:152" file="f0" line="152"/> - <Argument type="_115" location="f0:152" file="f0" line="152"/> - </Function> - <Function id="_54" name="iswalpha" returns="_307" context="_1" location="f1:364" file="f1" line="364" endline="364" inline="1" attributes="nothrow pure __cdecl__"> - <Argument name="_C" type="_503" location="f1:364" file="f1" line="364"/> - </Function> - <Function id="_55" name="mblen" returns="_307" context="_1" location="f5:297" file="f5" line="297" extern="1" attributes="__cdecl__"> - <Argument type="_115" location="f5:297" file="f5" line="297"/> - <Argument type="_385" location="f5:297" file="f5" line="297"/> - </Function> - <Function id="_56" name="atof" returns="_891" context="_1" location="f5:269" file="f5" line="269" extern="1" attributes="__cdecl__"> - <Argument type="_115" location="f5:269" file="f5" line="269"/> - </Function> - <Function id="_57" name="atoi" returns="_307" context="_1" location="f5:270" file="f5" line="270" extern="1" attributes="__cdecl__"> - <Argument type="_115" location="f5:270" file="f5" line="270"/> - </Function> - <Function id="_58" name="___mb_cur_max_func" returns="_307" context="_1" location="f5:140" file="f5" line="140" extern="1" attributes="__cdecl__"/> - <Function id="_59" name="terminate" returns="_890" context="_1" mangled="_Z9terminatev" demangled="terminate()" location="f4:54" file="f4" line="54" extern="1" attributes="noreturn __cdecl__"/> - <Function id="_60" name="_Getdays" returns="_138" context="_1" location="f7:73" file="f7" line="73" extern="1" attributes="__cdecl__"/> - <PointerType id="_61" type="_900" size="32" align="32"/> - <Typedef id="_62" name="unexpected_handler" type="_61" context="_1" location="f4:48" file="f4" line="48"/> - <Variable id="_63" name="_ZTIN9unittests10test_suiteE" type="_894c" context="_1" location="f8:45" file="f8" line="45" extern="1" artificial="1"/> - <Function id="_64" name="wctomb" returns="_307" context="_1" location="f5:316" file="f5" line="316" extern="1" attributes="__cdecl__"> - <Argument type="_138" location="f5:316" file="f5" line="316"/> - <Argument type="_550" location="f5:316" file="f5" line="316"/> - </Function> - <Variable id="_65" name="_ZTISt16invalid_argument" type="_894c" context="_1" location="f9:68" file="f9" line="68" extern="1" artificial="1"/> - <Variable id="_66" name="_ZTISt9type_info" type="_901c" context="_1" location="f10:41" file="f10" line="41" extern="1" artificial="1"/> - <Function id="_67" name="fwprintf" returns="_307" context="_1" location="f3:359" file="f3" line="359" extern="1" attributes="__cdecl__"> - <Argument type="_878" location="f3:359" file="f3" line="359"/> - <Argument type="_879" location="f3:359" file="f3" line="359"/> - <Ellipsis/> - </Function> - <Function id="_68" name="_fullpath" returns="_138" context="_1" location="f5:361" file="f5" line="361" extern="1" attributes="__cdecl__"> - <Argument type="_138" location="f5:361" file="f5" line="361"/> - <Argument type="_115" location="f5:361" file="f5" line="361"/> - <Argument type="_385" location="f5:361" file="f5" line="361"/> - </Function> - <Function id="_69" name="wmemmove" returns="_865" context="_1" location="f1:795" file="f1" line="795" endline="797" inline="1"> - <Argument name="_S1" type="_865" location="f1:795" file="f1" line="795"/> - <Argument name="_S2" type="_879" location="f1:795" file="f1" line="795"/> - <Argument name="_N" type="_385" location="f1:795" file="f1" line="795"/> - </Function> - <Function id="_70" name="_cgetws" returns="_865" context="_1" location="f1:507" file="f1" line="507" extern="1" attributes="__cdecl__"> - <Argument type="_865" location="f1:507" file="f1" line="507"/> - </Function> - <Variable id="_71" name="_pgmptr" type="_138" context="_1" location="f5:233" file="f5" line="233" extern="1"/> - <Function id="_72" name="wmemchr" returns="_865" context="_1" mangled="_Z7wmemchrPwwj" demangled="wmemchr(wchar_t*, wchar_t, unsigned int)" location="f1:807" file="f1" line="807" endline="808" inline="1"> - <Argument name="_S" type="_865" location="f1:807" file="f1" line="807"/> - <Argument name="_C" type="_550" location="f1:807" file="f1" line="807"/> - <Argument name="_N" type="_385" location="f1:807" file="f1" line="807"/> - </Function> - <Function id="_73" name="wmemchr" returns="_879" context="_1" location="f1:781" file="f1" line="781" endline="785" inline="1"> - <Argument name="_S" type="_879" location="f1:781" file="f1" line="781"/> - <Argument name="_C" type="_550" location="f1:781" file="f1" line="781"/> - <Argument name="_N" type="_385" location="f1:781" file="f1" line="781"/> - </Function> - <Typedef id="_74" name="off_t" type="_48" context="_1" location="f1:414" file="f1" line="414"/> - <Function id="_75" name="wcstod" returns="_891" context="_1" location="f1:602" file="f1" line="602" extern="1" attributes="__cdecl__"> - <Argument type="_879" location="f1:602" file="f1" line="602"/> - <Argument type="_903" location="f1:602" file="f1" line="602"/> - </Function> - <Function id="_76" name="wcstok" returns="_865" context="_1" location="f0:182" file="f0" line="182" extern="1" attributes="__cdecl__"> - <Argument type="_865" location="f0:182" file="f0" line="182"/> - <Argument type="_879" location="f0:182" file="f0" line="182"/> - </Function> - <Function id="_77" name="wcstol" returns="_48" context="_1" location="f1:603" file="f1" line="603" extern="1" attributes="__cdecl__"> - <Argument type="_879" location="f1:603" file="f1" line="603"/> - <Argument type="_903" location="f1:603" file="f1" line="603"/> - <Argument type="_307" location="f1:603" file="f1" line="603"/> - </Function> - <Function id="_78" name="__iscsym" returns="_307" context="_1" location="f2:112" file="f2" line="112" extern="1" attributes="__cdecl__"> - <Argument type="_307" location="f2:112" file="f2" line="112"/> - </Function> - <Function id="_79" name="_Getdateorder" returns="_307" context="_1" location="f7:72" file="f7" line="72" extern="1" attributes="__cdecl__"/> - <Function id="_80" name="_rotl" returns="_125" context="_1" location="f5:370" file="f5" line="370" extern="1" attributes="__cdecl__"> - <Argument type="_125" location="f5:370" file="f5" line="370"/> - <Argument type="_307" location="f5:370" file="f5" line="370"/> - </Function> - <Function id="_81" name="_rotr" returns="_125" context="_1" location="f5:372" file="f5" line="372" extern="1" attributes="__cdecl__"> - <Argument type="_125" location="f5:372" file="f5" line="372"/> - <Argument type="_307" location="f5:372" file="f5" line="372"/> - </Function> - <Function id="_82" name="_Tolower" returns="_307" context="_1" location="f7:88" file="f7" line="88" extern="1" attributes="__cdecl__"> - <Argument type="_307" location="f7:88" file="f7" line="88"/> - <Argument type="_904" location="f7:88" file="f7" line="88"/> - </Function> - <Function id="_83" name="sprintf" returns="_307" context="_1" location="f3:315" file="f3" line="315" extern="1" attributes="nothrow __cdecl__ nonnull() format(,,)"> - <Argument type="_138" location="f3:315" file="f3" line="315"/> - <Argument type="_115" location="f3:315" file="f3" line="315"/> - <Ellipsis/> - </Function> - <Function id="_84" name="strtod" returns="_891" context="_1" location="f5:311" file="f5" line="311" extern="1" attributes="__cdecl__"> - <Argument type="_115" location="f5:311" file="f5" line="311"/> - <Argument type="_899" location="f5:311" file="f5" line="311"/> - </Function> - <Function id="_85" name="strtol" returns="_48" context="_1" location="f5:312" file="f5" line="312" extern="1" attributes="__cdecl__"> - <Argument type="_115" location="f5:312" file="f5" line="312"/> - <Argument type="_899" location="f5:312" file="f5" line="312"/> - <Argument type="_307" location="f5:312" file="f5" line="312"/> - </Function> - <Function id="_86" name="putchar" returns="_307" context="_1" location="f3:303" file="f3" line="303" extern="1" attributes="__cdecl__"> - <Argument type="_307" location="f3:303" file="f3" line="303"/> - </Function> - <Function id="_87" name="wcstombs" returns="_385" context="_1" location="f5:317" file="f5" line="317" extern="1" attributes="__cdecl__"> - <Argument type="_138" location="f5:317" file="f5" line="317"/> - <Argument type="_879" location="f5:317" file="f5" line="317"/> - <Argument type="_385" location="f5:317" file="f5" line="317"/> - </Function> - <Function id="_88" name="wmemcmp" returns="_307" context="_1" location="f1:786" file="f1" line="786" endline="790" inline="1"> - <Argument name="_S1" type="_879" location="f1:786" file="f1" line="786"/> - <Argument name="_S2" type="_879" location="f1:786" file="f1" line="786"/> - <Argument name="_N" type="_385" location="f1:786" file="f1" line="786"/> - </Function> - <Function id="_89" name="getc" returns="_307" context="_1" location="f3:293" file="f3" line="293" extern="1" attributes="__cdecl__"> - <Argument type="_878" location="f3:293" file="f3" line="293"/> - </Function> - <Function id="_90" name="gets" returns="_138" context="_1" location="f3:296" file="f3" line="296" extern="1" attributes="__cdecl__"> - <Argument type="_138" location="f3:296" file="f3" line="296"/> - </Function> - <Function id="_91" name="getw" returns="_307" context="_1" location="f3:442" file="f3" line="442" extern="1" attributes="__cdecl__"> - <Argument type="_878" location="f3:442" file="f3" line="442"/> - </Function> - <Function id="_92" name="_vscprintf" returns="_307" context="_1" location="f3:328" file="f3" line="328" extern="1" attributes="__cdecl__"> - <Argument type="_115" location="f3:328" file="f3" line="328"/> - <Argument type="_139" location="f3:328" file="f3" line="328"/> - </Function> - <Function id="_93" name="_wcsnset" returns="_865" context="_1" location="f0:189" file="f0" line="189" extern="1" attributes="__cdecl__"> - <Argument type="_865" location="f0:189" file="f0" line="189"/> - <Argument type="_550" location="f0:189" file="f0" line="189"/> - <Argument type="_385" location="f0:189" file="f0" line="189"/> - </Function> - <Function id="_94" name="_wcslwr" returns="_865" context="_1" location="f0:193" file="f0" line="193" extern="1" attributes="__cdecl__"> - <Argument type="_865" location="f0:193" file="f0" line="193"/> - </Function> - <Function id="_95" name="fputchar" returns="_307" context="_1" location="f3:441" file="f3" line="441" extern="1" attributes="__cdecl__"> - <Argument type="_307" location="f3:441" file="f3" line="441"/> - </Function> - <Typedef id="_96" name="unexpected_function" type="_61" context="_1" location="f4:46" file="f4" line="46"/> - <Function id="_97" name="wmemcpy" returns="_865" context="_1" location="f1:791" file="f1" line="791" endline="793" inline="1"> - <Argument name="_S1" type="_865" location="f1:791" file="f1" line="791"/> - <Argument name="_S2" type="_879" location="f1:791" file="f1" line="791"/> - <Argument name="_N" type="_385" location="f1:791" file="f1" line="791"/> - </Function> - <Function id="_98" name="printf" returns="_307" context="_1" location="f3:301" file="f3" line="301" extern="1" attributes="nothrow __cdecl__ nonnull() format(,,)"> - <Argument type="_115" location="f3:301" file="f3" line="301"/> - <Ellipsis/> - </Function> - <Namespace id="_99" name="unittests" context="_1" members="_905 _906 _907 " mangled="_Z9unittests" demangled="unittests"/> - <Variable id="_100" name="_environ" type="_899" context="_1" location="f5:229" file="f5" line="229" extern="1"/> - <Function id="_101" name="qsort" returns="_890" context="_1" location="f5:302" file="f5" line="302" extern="1" attributes="__cdecl__"> - <Argument type="_908" location="f5:302" file="f5" line="302"/> - <Argument type="_385" location="f5:302" file="f5" line="302"/> - <Argument type="_385" location="f5:302" file="f5" line="302"/> - <Argument type="_909" location="f5:302" file="f5" line="302"/> - </Function> - <Variable id="_102" name="_ZTISt7codecvtIwciE" type="_894c" context="_1" location="f11:655" file="f11" line="655" extern="1" artificial="1"/> - <Function id="_103" name="_cputws" returns="_307" context="_1" location="f1:512" file="f1" line="512" extern="1" attributes="__cdecl__"> - <Argument type="_879" location="f1:512" file="f1" line="512"/> - </Function> - <Variable id="_104" name="_wpgmptr" type="_865" context="_1" location="f5:234" file="f5" line="234" extern="1"/> - <Function id="_105" name="__cxa_end_catch" returns="_890" context="_1" location="f12:592" file="f12" line="592" extern="1"/> - <Function id="_106" name="fseek" returns="_307" context="_1" location="f3:290" file="f3" line="290" extern="1" attributes="__cdecl__"> - <Argument type="_878" location="f3:290" file="f3" line="290"/> - <Argument type="_48" location="f3:290" file="f3" line="290"/> - <Argument type="_307" location="f3:290" file="f3" line="290"/> - </Function> - <Function id="_107" name="flushall" returns="_307" context="_1" location="f3:440" file="f3" line="440" extern="1" attributes="__cdecl__"/> - <Variable id="_108" name="_ZTISt9basic_iosItSt11char_traitsItEE" type="_894c" context="_1" location="f13:16" file="f13" line="16" extern="1" artificial="1"/> - <Function id="_109" name="vwprintf" returns="_307" context="_1" location="f3:370" file="f3" line="370" extern="1" attributes="__cdecl__"> - <Argument type="_879" location="f3:370" file="f3" line="370"/> - <Argument type="_139" location="f3:370" file="f3" line="370"/> - </Function> - <Function id="_110" name="__isascii" returns="_307" context="_1" location="f2:109" file="f2" line="109" extern="1" attributes="__cdecl__"> - <Argument type="_307" location="f2:109" file="f2" line="109"/> - </Function> - <Function id="_111" name="__toascii" returns="_307" context="_1" location="f2:110" file="f2" line="110" extern="1" attributes="__cdecl__"> - <Argument type="_307" location="f2:110" file="f2" line="110"/> - </Function> - <Function id="_112" name="getchar" returns="_307" context="_1" location="f3:294" file="f3" line="294" extern="1" attributes="__cdecl__"/> - <Function id="_113" name="memchr" returns="_908" context="_1" location="f0:110" file="f0" line="110" extern="1" attributes="__cdecl__"> - <Argument type="_910" location="f0:110" file="f0" line="110"/> - <Argument type="_307" location="f0:110" file="f0" line="110"/> - <Argument type="_385" location="f0:110" file="f0" line="110"/> - </Function> - <Function id="_114" name="clearerr" returns="_890" context="_1" location="f3:256" file="f3" line="256" extern="1" attributes="__cdecl__"> - <Argument type="_878" location="f3:256" file="f3" line="256"/> - </Function> - <PointerType id="_115" type="_911c" size="32" align="32"/> - <Typedef id="_116" name="__exString" type="_115" context="_1" location="f14:36" file="f14" line="36"/> - <Variable id="_117" name="_ZTISt14overflow_error" type="_894c" context="_1" location="f9:167" file="f9" line="167" extern="1" artificial="1"/> - <Function id="_118" name="fgetchar" returns="_307" context="_1" location="f3:438" file="f3" line="438" extern="1" attributes="__cdecl__"/> - <Variable id="_119" name="_ZTIN9unittests9test_caseE" type="_901c" context="_1" location="f8:29" file="f8" line="29" extern="1" artificial="1"/> - <Function id="_120" name="setvbuf" returns="_307" context="_1" location="f3:313" file="f3" line="313" extern="1" attributes="__cdecl__"> - <Argument type="_878" location="f3:313" file="f3" line="313"/> - <Argument type="_138" location="f3:313" file="f3" line="313"/> - <Argument type="_307" location="f3:313" file="f3" line="313"/> - <Argument type="_385" location="f3:313" file="f3" line="313"/> - </Function> - <Function id="_121" name="memmove" returns="_908" context="_1" location="f1:773" file="f1" line="773" extern="1" attributes="nothrow __cdecl__ nonnull"> - <Argument type="_908" location="f0:116" file="f0" line="116"/> - <Argument type="_910" location="f0:116" file="f0" line="116"/> - <Argument type="_385" location="f0:116" file="f0" line="116"/> - </Function> - <Function id="_122" name="_ecvt" returns="_138" context="_1" location="f5:354" file="f5" line="354" extern="1" attributes="__cdecl__"> - <Argument type="_891" location="f5:354" file="f5" line="354"/> - <Argument type="_307" location="f5:354" file="f5" line="354"/> - <Argument type="_913" location="f5:354" file="f5" line="354"/> - <Argument type="_913" location="f5:354" file="f5" line="354"/> - </Function> - <Function id="_123" name="_strncoll" returns="_307" context="_1" location="f0:125" file="f0" line="125" extern="1" attributes="__cdecl__"> - <Argument type="_115" location="f0:125" file="f0" line="125"/> - <Argument type="_115" location="f0:125" file="f0" line="125"/> - <Argument type="_385" location="f0:125" file="f0" line="125"/> - </Function> - <Typedef id="_124" name="new_handler" type="_61" context="_2" location="f6:40" file="f6" line="40"/> - <FundamentalType id="_125" name="unsigned int" size="32" align="32"/> - <Typedef id="_126" name="_dev_t" type="_125" context="_1" location="f1:402" file="f1" line="402"/> - <Function id="_127" name="memcpy" returns="_908" context="_1" location="f1:775" file="f1" line="775" extern="1" attributes="nothrow __cdecl__ nonnull"> - <Argument type="_908" location="f0:100" file="f0" line="100"/> - <Argument type="_910" location="f0:100" file="f0" line="100"/> - <Argument type="_385" location="f0:100" file="f0" line="100"/> - </Function> - <Function id="_128" name="strncat" returns="_138" context="_1" location="f0:132" file="f0" line="132" extern="1" attributes="nothrow __cdecl__ nonnull"> - <Argument type="_138" location="f0:132" file="f0" line="132"/> - <Argument type="_115" location="f0:132" file="f0" line="132"/> - <Argument type="_385" location="f0:132" file="f0" line="132"/> - </Function> - <Function id="_129" name="_wcsnicoll" returns="_307" context="_1" location="f0:199" file="f0" line="199" extern="1" attributes="__cdecl__"> - <Argument type="_879" location="f0:199" file="f0" line="199"/> - <Argument type="_879" location="f0:199" file="f0" line="199"/> - <Argument type="_385" location="f0:199" file="f0" line="199"/> - </Function> - <Function id="_130" name="ultoa" returns="_138" context="_1" location="f5:440" file="f5" line="440" extern="1" attributes="__cdecl__"> - <Argument type="_323" location="f5:440" file="f5" line="440"/> - <Argument type="_138" location="f5:440" file="f5" line="440"/> - <Argument type="_307" location="f5:440" file="f5" line="440"/> - </Function> - <Function id="_131" name="_wfindfirst64" returns="_383" context="_1" location="f1:300" file="f1" line="300" extern="1" attributes="__cdecl__"> - <Argument type="_865" location="f1:300" file="f1" line="300"/> - <Argument type="_914" location="f1:300" file="f1" line="300"/> - </Function> - <Function id="_132" name="_wspawnve" returns="_383" context="_1" location="f1:335" file="f1" line="335" extern="1" attributes="__cdecl__"> - <Argument type="_307" location="f1:335" file="f1" line="335"/> - <Argument type="_879" location="f1:335" file="f1" line="335"/> - <Argument type="_915" location="f1:335" file="f1" line="335"/> - <Argument type="_915" location="f1:335" file="f1" line="335"/> - </Function> - <Function id="_133" name="fgetwc" returns="_503" context="_1" location="f3:344" file="f3" line="344" extern="1" attributes="__cdecl__"> - <Argument type="_878" location="f3:344" file="f3" line="344"/> - </Function> - <Function id="_134" name="bsearch" returns="_908" context="_1" location="f5:273" file="f5" line="273" extern="1" attributes="__cdecl__"> - <Argument type="_910" location="f5:273" file="f5" line="273"/> - <Argument type="_910" location="f5:273" file="f5" line="273"/> - <Argument type="_385" location="f5:273" file="f5" line="273"/> - <Argument type="_385" location="f5:273" file="f5" line="273"/> - <Argument type="_909" location="f5:273" file="f5" line="273"/> - </Function> - <Function id="_135" name="fgetws" returns="_865" context="_1" location="f3:354" file="f3" line="354" extern="1" attributes="__cdecl__"> - <Argument type="_865" location="f3:354" file="f3" line="354"/> - <Argument type="_307" location="f3:354" file="f3" line="354"/> - <Argument type="_878" location="f3:354" file="f3" line="354"/> - </Function> - <Function id="_136" name="vsprintf" returns="_307" context="_1" location="f3:327" file="f3" line="327" extern="1" attributes="nothrow __cdecl__ nonnull() format(,,)"> - <Argument type="_138" location="f3:327" file="f3" line="327"/> - <Argument type="_115" location="f3:327" file="f3" line="327"/> - <Argument type="_139" location="f3:327" file="f3" line="327"/> - </Function> - <Function id="_137" name="mbstowcs" returns="_385" context="_1" location="f5:300" file="f5" line="300" extern="1" attributes="__cdecl__"> - <Argument type="_865" location="f5:300" file="f5" line="300"/> - <Argument type="_115" location="f5:300" file="f5" line="300"/> - <Argument type="_385" location="f5:300" file="f5" line="300"/> - </Function> - <PointerType id="_138" type="_911" size="32" align="32"/> - <Typedef id="_139" name="va_list" type="_138" context="_1" location="f3:96" file="f3" line="96"/> - <Function id="_140" name="_Strcoll" returns="_307" context="_1" location="f7:83" file="f7" line="83" extern="1" attributes="__cdecl__"> - <Argument type="_115" location="f7:83" file="f7" line="83"/> - <Argument type="_115" location="f7:83" file="f7" line="83"/> - <Argument type="_115" location="f7:83" file="f7" line="83"/> - <Argument type="_115" location="f7:83" file="f7" line="83"/> - <Argument type="_916" location="f7:83" file="f7" line="83"/> - </Function> - <Function id="_141" name="_Getcvt" returns="_450" context="_1" location="f7:70" file="f7" line="70" extern="1" attributes="__cdecl__"/> - <Function id="_142" name="_wremove" returns="_307" context="_1" location="f3:394" file="f3" line="394" extern="1" attributes="__cdecl__"> - <Argument type="_879" location="f3:394" file="f3" line="394"/> - </Function> - <Function id="_143" name="iswprint" returns="_307" context="_1" location="f1:372" file="f1" line="372" endline="373" inline="1" attributes="nothrow pure __cdecl__"> - <Argument name="_C" type="_503" location="f1:372" file="f1" line="372"/> - </Function> - <Variable id="_144" name="_ZTI10bad_typeid" type="_894c" context="_1" location="f10:68" file="f10" line="68" extern="1" artificial="1"/> - <Variable id="_145" name="_ZTISt11range_error" type="_894c" context="_1" location="f9:213" file="f9" line="213" extern="1" artificial="1"/> - <Function id="_146" name="_Getwctypes" returns="_879" context="_1" location="f7:99" file="f7" line="99" extern="1" attributes="__cdecl__"> - <Argument type="_879" location="f7:99" file="f7" line="99"/> - <Argument type="_879" location="f7:99" file="f7" line="99"/> - <Argument type="_917" location="f7:99" file="f7" line="99"/> - <Argument type="_904" location="f7:99" file="f7" line="99"/> - </Function> - <PointerType id="_147" type="_918" size="32" align="32"/> - <Typedef id="_148" name="_secerr_handler_func" type="_147" context="_1" location="f5:172" file="f5" line="172"/> - <Function id="_149" name="strnset" returns="_138" context="_1" location="f0:157" file="f0" line="157" extern="1" attributes="__cdecl__"> - <Argument type="_138" location="f0:157" file="f0" line="157"/> - <Argument type="_307" location="f0:157" file="f0" line="157"/> - <Argument type="_385" location="f0:157" file="f0" line="157"/> - </Function> - <Function id="_150" name="wcsicoll" returns="_307" context="_1" location="f0:215" file="f0" line="215" extern="1" attributes="__cdecl__"> - <Argument type="_879" location="f0:215" file="f0" line="215"/> - <Argument type="_879" location="f0:215" file="f0" line="215"/> - </Function> - <Function id="_151" name="fcvt" returns="_138" context="_1" location="f5:433" file="f5" line="433" extern="1" attributes="__cdecl__"> - <Argument type="_891" location="f5:433" file="f5" line="433"/> - <Argument type="_307" location="f5:433" file="f5" line="433"/> - <Argument type="_913" location="f5:433" file="f5" line="433"/> - <Argument type="_913" location="f5:433" file="f5" line="433"/> - </Function> - <Function id="_152" name="_Mbrtowc" returns="_307" context="_1" location="f7:78" file="f7" line="78" extern="1" attributes="__cdecl__"> - <Argument type="_865" location="f7:78" file="f7" line="78"/> - <Argument type="_115" location="f7:78" file="f7" line="78"/> - <Argument type="_385" location="f7:78" file="f7" line="78"/> - <Argument type="_876" location="f7:78" file="f7" line="78"/> - <Argument type="_919" location="f7:78" file="f7" line="78"/> - </Function> - <Function id="_153" name="mbtowc" returns="_307" context="_1" location="f5:299" file="f5" line="299" extern="1" attributes="__cdecl__"> - <Argument type="_865" location="f5:299" file="f5" line="299"/> - <Argument type="_115" location="f5:299" file="f5" line="299"/> - <Argument type="_385" location="f5:299" file="f5" line="299"/> - </Function> - <FundamentalType id="_154" name="long long int" size="64" align="64"/> - <Typedef id="_155" name="__time64_t" type="_154" context="_1" location="f1:96" file="f1" line="96"/> - <Function id="_156" name="_cwprintf" returns="_307" context="_1" location="f1:513" file="f1" line="513" extern="1" attributes="__cdecl__"> - <Argument type="_879" location="f1:513" file="f1" line="513"/> - <Ellipsis/> - </Function> - <Function id="_157" name="abort" returns="_890" context="_1" location="f5:255" file="f5" line="255" extern="1" attributes="nothrow noreturn __cdecl__"/> - <Function id="_158" name="onexit" returns="_423" context="_1" location="f5:437" file="f5" line="437" extern="1" attributes="__cdecl__"> - <Argument type="_423" location="f5:437" file="f5" line="437"/> - </Function> - <Function id="_159" name="iswlower" returns="_307" context="_1" location="f1:366" file="f1" line="366" endline="366" inline="1" attributes="nothrow pure __cdecl__"> - <Argument name="_C" type="_503" location="f1:366" file="f1" line="366"/> - </Function> - <Variable id="_160" name="_ZTISt12length_error" type="_894c" context="_1" location="f9:91" file="f9" line="91" extern="1" artificial="1"/> - <Function id="_161" name="getwchar" returns="_503" context="_1" location="f3:349" file="f3" line="349" extern="1" attributes="__cdecl__"/> - <Function id="_162" name="_wtof" returns="_891" context="_1" location="f1:607" file="f1" line="607" extern="1" attributes="__cdecl__"> - <Argument type="_879" location="f1:607" file="f1" line="607"/> - </Function> - <Function id="_163" name="_itoa" returns="_138" context="_1" location="f5:281" file="f5" line="281" extern="1" attributes="__cdecl__"> - <Argument type="_307" location="f5:281" file="f5" line="281"/> - <Argument type="_138" location="f5:281" file="f5" line="281"/> - <Argument type="_307" location="f5:281" file="f5" line="281"/> - </Function> - <Function id="_164" name="_wtoi" returns="_307" context="_1" location="f1:608" file="f1" line="608" extern="1" attributes="__cdecl__"> - <Argument type="_879" location="f1:608" file="f1" line="608"/> - </Function> - <Function id="_165" name="_wtol" returns="_48" context="_1" location="f1:609" file="f1" line="609" extern="1" attributes="__cdecl__"> - <Argument type="_879" location="f1:609" file="f1" line="609"/> - </Function> - <Function id="_166" name="strncmp" returns="_307" context="_1" location="f0:133" file="f0" line="133" extern="1" attributes="nothrow pure __cdecl__ nonnull"> - <Argument type="_115" location="f0:133" file="f0" line="133"/> - <Argument type="_115" location="f0:133" file="f0" line="133"/> - <Argument type="_385" location="f0:133" file="f0" line="133"/> - </Function> - <Function id="_167" name="_itow" returns="_865" context="_1" location="f1:599" file="f1" line="599" extern="1" attributes="__cdecl__"> - <Argument type="_307" location="f1:599" file="f1" line="599"/> - <Argument type="_865" location="f1:599" file="f1" line="599"/> - <Argument type... [truncated message content] |
From: <rom...@us...> - 2009-01-29 07:34:51
|
Revision: 1636 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1636&view=rev Author: roman_yakovenko Date: 2009-01-29 07:34:48 +0000 (Thu, 29 Jan 2009) Log Message: ----------- sphinx Modified Paths: -------------- pydsc_dev/docs/pydsc.rest pygccxml_dev/docs/pygccxml.rest Modified: pydsc_dev/docs/pydsc.rest =================================================================== --- pydsc_dev/docs/pydsc.rest 2009-01-29 06:33:14 UTC (rev 1635) +++ pydsc_dev/docs/pydsc.rest 2009-01-29 07:34:48 UTC (rev 1636) @@ -5,7 +5,7 @@ .. contents:: Table of contents .. toctree:: - :maxdepth: 2 + :maxdepth: 1 API <api> Modified: pygccxml_dev/docs/pygccxml.rest =================================================================== --- pygccxml_dev/docs/pygccxml.rest 2009-01-29 06:33:14 UTC (rev 1635) +++ pygccxml_dev/docs/pygccxml.rest 2009-01-29 07:34:48 UTC (rev 1636) @@ -4,13 +4,18 @@ .. contents:: Table of contents +.. toctree:: + :maxdepth: 1 + + API <api> + .. meta:: :description: C++ declarations parser :keywords: C++, source code, header file, parser, UML, free, declarations - , XML, class hierarchy, analyze, AST, code generator, + , XML, class hierarchy, analyze, AST, code generator, , синтаксический анализатор, исходный текст, исходная программа , описание, определение, иерархия классов, генератор кода - + ------------ Introduction ------------ @@ -25,8 +30,8 @@ * create a powerful code generator + `Py++`_ is heavily based on `pygccxml`_ - + generate `WSDL`_ file from sources - + ... + + generate `WSDL`_ file from sources + + ... * generate UML diagrams * build code analyzer @@ -43,7 +48,7 @@ :: select all free functions from the project - where + where name equal to "do_smth" return type is void function has two arguments @@ -58,7 +63,7 @@ ``None`` means "any type". In my opinion, the code is prety clear and readable. -If you want to know more about provided API read `query interface`__ document or +If you want to know more about provided API read `query interface`__ document or API documentation. .. __: ./query_interface.html @@ -66,38 +71,38 @@ Type traits ----------- `pygccxml`_ provides a lot of functionality to analyze C++ types and relationship -between them. For more information please refer to `design`__ document or API +between them. For more information please refer to `design`__ document or API documentation. Just a few names of algorithms: * ``is_convertible( from, to )`` - returns ``True`` if there is a conversion from type ``from`` to type ``to``, + returns ``True`` if there is a conversion from type ``from`` to type ``to``, otherwise ``False`` - + * ``is_unary_operator( oper )`` returns ``True`` if ``oper`` describes unary operator - + .. __: ./design.html Declaration dependencies ------------------------ You can query a declaration, about it dependencies - declarations it depends on. -This is very powerful and useful feature. `Py++`_, for example, uses this -functionality to check that user creates Python bindings for all relevant -declarations. +This is very powerful and useful feature. `Py++`_, for example, uses this +functionality to check that user creates Python bindings for all relevant +declarations. Caching ------- -Consider the following situation: you have to parse the same set of files every +Consider the following situation: you have to parse the same set of files every day. There are 2 possible ways to complete the task: * create a header file that includes all files you need to parse * parse each file separately and then join the results -The difference between these approaches is the caching algorithm used in the +The difference between these approaches is the caching algorithm used in the second case. `pygccxml`_ supports both of them. Actually `pygccxml`_ supports more caching strategies, read the API documentation for more information. @@ -106,15 +111,15 @@ License ------- -`Boost Software License`_. +`Boost Software License`_. ----------------- Test environments ----------------- -`pygccxml`_ comes with comprehensive unit tests. It is running on Windows XP and -`Ubuntu`_. I am using `Python`_ 2.4\\2.5 and `GCC-XML`_ CVS. `pygccxml`_ has -more then 215 tests. They test almost every piece of code. It also has performance +`pygccxml`_ comes with comprehensive unit tests. It is running on Windows XP and +`Ubuntu`_. I am using `Python`_ 2.4\\2.5 and `GCC-XML`_ CVS. `pygccxml`_ has +more then 215 tests. They test almost every piece of code. It also has performance tests. Most of the time I am using "white box" testing strategy. .. _`WSDL`: http://www.w3.org/TR/wsdl This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
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. |
From: <rom...@us...> - 2009-01-29 05:52:52
|
Revision: 1634 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1634&view=rev Author: roman_yakovenko Date: 2009-01-29 05:52:46 +0000 (Thu, 29 Jan 2009) Log Message: ----------- sphinx related changes Modified Paths: -------------- pygccxml_dev/docs/example/example.hpp.rest pygccxml_dev/docs/example/example.hpp.xml.rest pygccxml_dev/docs/example/example.py.rest pygccxml_dev/docs/example/output.txt.rest pyplusplus_dev/docs/documentation/tutorials/module_builder/generate_code.py.rest pyplusplus_dev/docs/documentation/tutorials/module_builder/generated.cpp.rest pyplusplus_dev/docs/documentation/tutorials/module_builder/hello_world.hpp.rest pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/custom_rvalue.cpp.rest pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/sconstruct.rest pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/test.py.rest pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/tuples.hpp.rest pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/tuples_tester.cpp.rest pyplusplus_dev/docs/troubleshooting_guide/exceptions/exceptions.cpp.rest pyplusplus_dev/docs/troubleshooting_guide/exceptions/sconstruct.rest pyplusplus_dev/docs/troubleshooting_guide/exceptions/test.py.rest pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/pointer_holder.hpp.patch.rest pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/sconstruct.rest pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/solution.cpp.rest pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/test.py.rest pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/bindings.cpp.rest pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/classes.hpp.rest pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/sconstruct.rest pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptr.h.rest pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/test.py.rest Modified: pygccxml_dev/docs/example/example.hpp.rest =================================================================== --- pygccxml_dev/docs/example/example.hpp.rest 2009-01-28 20:08:58 UTC (rev 1633) +++ pygccxml_dev/docs/example/example.hpp.rest 2009-01-29 05:52:46 UTC (rev 1634) @@ -1,3 +1,2 @@ -.. code-block:: - :language: C++ - :source-file: ./example.hpp +.. literalinclude:: ./example.hpp + :language: c++ Modified: pygccxml_dev/docs/example/example.hpp.xml.rest =================================================================== --- pygccxml_dev/docs/example/example.hpp.xml.rest 2009-01-28 20:08:58 UTC (rev 1633) +++ pygccxml_dev/docs/example/example.hpp.xml.rest 2009-01-29 05:52:46 UTC (rev 1634) @@ -1,3 +1,2 @@ -.. code-block:: - :language: XML - :source-file: ./example.hpp.xml +.. literalinclude:: ./example.hpp.xml + :language: xml Modified: pygccxml_dev/docs/example/example.py.rest =================================================================== --- pygccxml_dev/docs/example/example.py.rest 2009-01-28 20:08:58 UTC (rev 1633) +++ pygccxml_dev/docs/example/example.py.rest 2009-01-29 05:52:46 UTC (rev 1634) @@ -1,3 +1,2 @@ -.. code-block:: - :language: Python - :source-file: ./example.py +.. literalinclude:: ./example.py + :language: python \ No newline at end of file Modified: pygccxml_dev/docs/example/output.txt.rest =================================================================== --- pygccxml_dev/docs/example/output.txt.rest 2009-01-28 20:08:58 UTC (rev 1633) +++ pygccxml_dev/docs/example/output.txt.rest 2009-01-29 05:52:46 UTC (rev 1634) @@ -1,3 +1,2 @@ -.. code-block:: +.. literalinclude:: ./output.txt :language: text - :source-file: ./output.txt Modified: pyplusplus_dev/docs/documentation/tutorials/module_builder/generate_code.py.rest =================================================================== --- pyplusplus_dev/docs/documentation/tutorials/module_builder/generate_code.py.rest 2009-01-28 20:08:58 UTC (rev 1633) +++ pyplusplus_dev/docs/documentation/tutorials/module_builder/generate_code.py.rest 2009-01-29 05:52:46 UTC (rev 1634) @@ -1,3 +1,2 @@ -.. code-block:: - :language: Python - :source-file: ./generate_code.py +.. literalinclude:: ./generate_code.py + :language: python Modified: pyplusplus_dev/docs/documentation/tutorials/module_builder/generated.cpp.rest =================================================================== --- pyplusplus_dev/docs/documentation/tutorials/module_builder/generated.cpp.rest 2009-01-28 20:08:58 UTC (rev 1633) +++ pyplusplus_dev/docs/documentation/tutorials/module_builder/generated.cpp.rest 2009-01-29 05:52:46 UTC (rev 1634) @@ -1,3 +1,2 @@ -.. code-block:: - :language: C++ - :source-file: ./generated.cpp +.. literalinclude:: ./generated.cpp + :language: c++ Modified: pyplusplus_dev/docs/documentation/tutorials/module_builder/hello_world.hpp.rest =================================================================== --- pyplusplus_dev/docs/documentation/tutorials/module_builder/hello_world.hpp.rest 2009-01-28 20:08:58 UTC (rev 1633) +++ pyplusplus_dev/docs/documentation/tutorials/module_builder/hello_world.hpp.rest 2009-01-29 05:52:46 UTC (rev 1634) @@ -1,3 +1,2 @@ -.. code-block:: - :language: C++ - :source-file: ./hello_world.hpp +.. literalinclude:: ./hello_world.hpp + :language: c++ Modified: pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/custom_rvalue.cpp.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/custom_rvalue.cpp.rest 2009-01-28 20:08:58 UTC (rev 1633) +++ pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/custom_rvalue.cpp.rest 2009-01-29 05:52:46 UTC (rev 1634) @@ -1,3 +1,2 @@ -.. code-block:: - :language: C++ - :source-file: ./custom_rvalue.cpp +.. literalinclude:: ./custom_rvalue.cpp + :language: c++ Modified: pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/sconstruct.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/sconstruct.rest 2009-01-28 20:08:58 UTC (rev 1633) +++ pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/sconstruct.rest 2009-01-29 05:52:46 UTC (rev 1634) @@ -1,3 +1,2 @@ -.. code-block:: - :language: Python - :source-file: ./sconstruct +.. literalinclude:: ./sconstruct + :language: python Modified: pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/test.py.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/test.py.rest 2009-01-28 20:08:58 UTC (rev 1633) +++ pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/test.py.rest 2009-01-29 05:52:46 UTC (rev 1634) @@ -1,3 +1,2 @@ -.. code-block:: - :language: Python - :source-file: ./test.py +.. literalinclude:: ./test.py + :language: python Modified: pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/tuples.hpp.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/tuples.hpp.rest 2009-01-28 20:08:58 UTC (rev 1633) +++ pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/tuples.hpp.rest 2009-01-29 05:52:46 UTC (rev 1634) @@ -1,3 +1,2 @@ -.. code-block:: - :language: C++ - :source-file: ./tuples.hpp +.. literalinclude:: ./tuples.hpp + :language: c++ Modified: pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/tuples_tester.cpp.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/tuples_tester.cpp.rest 2009-01-28 20:08:58 UTC (rev 1633) +++ pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/tuples_tester.cpp.rest 2009-01-29 05:52:46 UTC (rev 1634) @@ -1,3 +1,2 @@ -.. code-block:: - :language: C++ - :source-file: ./tuples_tester.cpp +.. literalinclude:: ./tuples_tester.cpp + :language: c++ Modified: pyplusplus_dev/docs/troubleshooting_guide/exceptions/exceptions.cpp.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/exceptions/exceptions.cpp.rest 2009-01-28 20:08:58 UTC (rev 1633) +++ pyplusplus_dev/docs/troubleshooting_guide/exceptions/exceptions.cpp.rest 2009-01-29 05:52:46 UTC (rev 1634) @@ -1,3 +1,2 @@ -.. code-block:: - :language: C++ - :source-file: ./exceptions.cpp +.. literalinclude:: ./exceptions.cpp + :language: c++ Modified: pyplusplus_dev/docs/troubleshooting_guide/exceptions/sconstruct.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/exceptions/sconstruct.rest 2009-01-28 20:08:58 UTC (rev 1633) +++ pyplusplus_dev/docs/troubleshooting_guide/exceptions/sconstruct.rest 2009-01-29 05:52:46 UTC (rev 1634) @@ -1,3 +1,2 @@ -.. code-block:: - :language: Python - :source-file: ./sconstruct +.. literalinclude:: ./sconstruct + :language: python Modified: pyplusplus_dev/docs/troubleshooting_guide/exceptions/test.py.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/exceptions/test.py.rest 2009-01-28 20:08:58 UTC (rev 1633) +++ pyplusplus_dev/docs/troubleshooting_guide/exceptions/test.py.rest 2009-01-29 05:52:46 UTC (rev 1634) @@ -1,3 +1,2 @@ -.. code-block:: - :language: Python - :source-file: ./test.py +.. literalinclude:: ./test.py + :language: python Modified: pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/pointer_holder.hpp.patch.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/pointer_holder.hpp.patch.rest 2009-01-28 20:08:58 UTC (rev 1633) +++ pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/pointer_holder.hpp.patch.rest 2009-01-29 05:52:46 UTC (rev 1634) @@ -2,6 +2,5 @@ .. _`pointer_holder.hpp.patch` : pointer_holder.hpp.patch -.. code-block:: +.. literalinclude:: ./pointer_holder.hpp.patch :language: diff - :source-file: ./pointer_holder.hpp.patch Modified: pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/sconstruct.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/sconstruct.rest 2009-01-28 20:08:58 UTC (rev 1633) +++ pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/sconstruct.rest 2009-01-29 05:52:46 UTC (rev 1634) @@ -1,3 +1,2 @@ -.. code-block:: - :language: Python - :source-file: ./sconstruct +.. literalinclude:: ./sconstruct + :language: python Modified: pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/solution.cpp.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/solution.cpp.rest 2009-01-28 20:08:58 UTC (rev 1633) +++ pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/solution.cpp.rest 2009-01-29 05:52:46 UTC (rev 1634) @@ -1,3 +1,2 @@ -.. code-block:: - :language: C++ - :source-file: ./solution.cpp +.. literalinclude:: ./solution.cpp + :language: c++ Modified: pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/test.py.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/test.py.rest 2009-01-28 20:08:58 UTC (rev 1633) +++ pyplusplus_dev/docs/troubleshooting_guide/shared_ptr/test.py.rest 2009-01-29 05:52:46 UTC (rev 1634) @@ -1,3 +1,2 @@ -.. code-block:: - :language: Python - :source-file: ./test.py +.. literalinclude:: ./test.py + :language: python Modified: pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/bindings.cpp.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/bindings.cpp.rest 2009-01-28 20:08:58 UTC (rev 1633) +++ pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/bindings.cpp.rest 2009-01-29 05:52:46 UTC (rev 1634) @@ -1,3 +1,2 @@ -.. code-block:: - :language: C++ - :source-file: ./bindings.cpp +.. literalinclude:: ./bindings.cpp + :language: c++ Modified: pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/classes.hpp.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/classes.hpp.rest 2009-01-28 20:08:58 UTC (rev 1633) +++ pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/classes.hpp.rest 2009-01-29 05:52:46 UTC (rev 1634) @@ -1,3 +1,2 @@ -.. code-block:: - :language: C++ - :source-file: ./classes.hpp +.. literalinclude:: ./classes.hpp + :language: c++ Modified: pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/sconstruct.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/sconstruct.rest 2009-01-28 20:08:58 UTC (rev 1633) +++ pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/sconstruct.rest 2009-01-29 05:52:46 UTC (rev 1634) @@ -1,3 +1,2 @@ -.. code-block:: - :language: Python - :source-file: ./sconstruct +.. literalinclude:: ./sconstruct + :language: python Modified: pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptr.h.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptr.h.rest 2009-01-28 20:08:58 UTC (rev 1633) +++ pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptr.h.rest 2009-01-29 05:52:46 UTC (rev 1634) @@ -1,3 +1,2 @@ -.. code-block:: - :language: C++ - :source-file: ./smart_ptr.h +.. literalinclude:: ./smart_ptr.h + :language: c++ Modified: pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/test.py.rest =================================================================== --- pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/test.py.rest 2009-01-28 20:08:58 UTC (rev 1633) +++ pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/test.py.rest 2009-01-29 05:52:46 UTC (rev 1634) @@ -1,3 +1,2 @@ -.. code-block:: - :language: Python - :source-file: ./test.py +.. literalinclude:: ./test.py + :language: python This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2009-01-28 20:09:00
|
Revision: 1633 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1633&view=rev Author: roman_yakovenko Date: 2009-01-28 20:08:58 +0000 (Wed, 28 Jan 2009) Log Message: ----------- sphinx - small changes Modified Paths: -------------- pydsc_dev/pydsc.py sphinx/conf.py Removed Paths: ------------- sphinx/Makefile Property Changed: ---------------- sphinx/ Modified: pydsc_dev/pydsc.py =================================================================== --- pydsc_dev/pydsc.py 2009-01-28 18:25:43 UTC (rev 1632) +++ pydsc_dev/pydsc.py 2009-01-28 20:08:58 UTC (rev 1633) @@ -38,14 +38,20 @@ """ class FILTER_TYPE: - """defines few filter constants""" + """ + defines few filter constants + + - *INCLUDE* + - *EXCLUDE* + """ INCLUDE = 'include' EXCLUDE = 'exclude' def __init__( self, what, ftype ): """ - what - list of paths, could contain file and directory names - ftype - FILTER_TYPE constant + :parameters: + - `what` - could be file or directory name, or list of them + - `ftype` - one of the :const:`FILTER_TYPE` constants """ self.what = what if None is self.what: @@ -58,9 +64,10 @@ @staticmethod def contains_parent_dir( path, dirs ): """ - returns true if one of the directories is root directory for the path, - false otherwise - + returns true if one of the directories is root directory for the `path`, false otherwise + + :parameters: + - `path` - a path @param path: path @type path: str @@ -219,8 +226,9 @@ """documentation spell checker instance""" doc_checker = None -if 'sphinx' not in os.environ['PYDSC']: - doc_checker = checker_t( checker.SpellChecker( "en_US" ) ) +if 'PYDSC' in os.environ: + if not 'sphinx' in os.environ['PYDSC']: + doc_checker = checker_t( checker.SpellChecker( "en_US" ) ) def exclude( what ): """ Property changes on: sphinx ___________________________________________________________________ Modified: svn:ignore - __build pydsc pygccxml pyplusplus + __build pydsc pygccxml pyplusplus index.rest Deleted: sphinx/Makefile =================================================================== --- sphinx/Makefile 2009-01-28 18:25:43 UTC (rev 1632) +++ sphinx/Makefile 2009-01-28 20:08:58 UTC (rev 1633) @@ -1,75 +0,0 @@ -# Makefile for Sphinx documentation -# - -# You can set these variables from the command line. -SPHINXOPTS = -SPHINXBUILD = sphinx-build -PAPER = - -# Internal variables. -PAPEROPT_a4 = -D latex_paper_size=a4 -PAPEROPT_letter = -D latex_paper_size=letter -ALLSPHINXOPTS = -d __build/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . - -.PHONY: help clean html web pickle htmlhelp latex changes linkcheck - -help: - @echo "Please use \`make <target>' where <target> is one of" - @echo " html to make standalone HTML files" - @echo " pickle to make pickle files" - @echo " json to make JSON files" - @echo " htmlhelp to make HTML files and a HTML help project" - @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" - @echo " changes to make an overview over all changed/added/deprecated items" - @echo " linkcheck to check all external links for integrity" - -clean: - -rm -rf __build/* - -html: - mkdir -p __build/html __build/doctrees - $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) __build/html - @echo - @echo "Build finished. The HTML pages are in __build/html." - -pickle: - mkdir -p __build/pickle __build/doctrees - $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) __build/pickle - @echo - @echo "Build finished; now you can process the pickle files." - -web: pickle - -json: - mkdir -p __build/json __build/doctrees - $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) __build/json - @echo - @echo "Build finished; now you can process the JSON files." - -htmlhelp: - mkdir -p __build/htmlhelp __build/doctrees - $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) __build/htmlhelp - @echo - @echo "Build finished; now you can run HTML Help Workshop with the" \ - ".hhp project file in __build/htmlhelp." - -latex: - mkdir -p __build/latex __build/doctrees - $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) __build/latex - @echo - @echo "Build finished; the LaTeX files are in __build/latex." - @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \ - "run these through (pdf)latex." - -changes: - mkdir -p __build/changes __build/doctrees - $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) __build/changes - @echo - @echo "The overview file is in __build/changes." - -linkcheck: - mkdir -p __build/linkcheck __build/doctrees - $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) __build/linkcheck - @echo - @echo "Link check complete; look for any errors in the above output " \ - "or in __build/linkcheck/output.txt." Modified: sphinx/conf.py =================================================================== --- sphinx/conf.py 2009-01-28 18:25:43 UTC (rev 1632) +++ sphinx/conf.py 2009-01-28 20:08:58 UTC (rev 1633) @@ -24,15 +24,31 @@ project_root = os.path.abspath('..') doc_project_root = os.path.abspath('.') packages = ( 'pydsc', 'pygccxml', 'pyplusplus' ) + +has_true_links = 'linux' in sys.platform for pkg in packages: 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' ) ) - source = os.path.join( project_root, pkg + '_dev', 'docs' ) - if os.path.exists( target ): - shutil.rmtree( target ) - shutil.copytree( source, target, ignore=shutil.ignore_patterns( r'.svn', '*.pyc', 'apidocs', 'www_configuration.py' ) ) -shutil.copy( os.path.join( project_root, 'index.rest' ), doc_project_root ) + 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: + 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: + shutil.copy( os.path.join( project_root, 'index.rest' ), doc_project_root ) +#disable import replacment os.environ['PYDSC'] = 'sphinx' # General configuration This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |