From 2c4ebc512e1c49e4db4bf0b975ef710cb68239fc Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 11 Nov 2010 00:54:15 +0000 Subject: [PATCH] Add file headers to the rest of the source files, don't bother with cvs keywords, fix some typos, etc. git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- buildtools/version.py | 12 +++++++++++- etg/_core.py | 1 - etg/gdicmn.py | 1 - etg/geometry.py | 1 - etg/object.py | 1 - etg/template.py | 1 - etgtools/__init__.py | 12 +++++++++++- etgtools/extractors.py | 15 +++++++++++++-- etgtools/generators.py | 12 +++++++++++- etgtools/sip_generator.py | 14 ++++++++++++++ etgtools/sphinx_generator.py | 13 +++++++++++++ etgtools/sphynx_generator.py | 0 etgtools/swig_generator.py | 13 ++++++++++++- etgtools/tweaker_tools.py | 14 ++++++++++++++ src/__init__.py | 10 +++++++++- src/string.sip | 1 - 16 files changed, 108 insertions(+), 13 deletions(-) create mode 100644 etgtools/sphinx_generator.py delete mode 100644 etgtools/sphynx_generator.py diff --git a/buildtools/version.py b/buildtools/version.py index 6cdc5cae..85f249e9 100644 --- a/buildtools/version.py +++ b/buildtools/version.py @@ -1,5 +1,15 @@ +#---------------------------------------------------------------------- +# Name: buildtools.version +# Purpose: wxPython version numbers used in the build. This can be +# considered the master copy of the version digits. +# +# Author: Robin Dunn +# +# Created: 3-Nov-2010 +# Copyright: (c) 2010 by Total Control Software +# Licence: wxWindows license +#---------------------------------------------------------------------- -# wxPython version numbers used in build VER_MAJOR = 2 # The first three must match wxWidgets VER_MINOR = 9 diff --git a/etg/_core.py b/etg/_core.py index 7a8b4aa6..769551fc 100644 --- a/etg/_core.py +++ b/etg/_core.py @@ -3,7 +3,6 @@ # Author: Robin Dunn # # Created: 8-Nove-2010 -# RCS-ID: $Id:$ # Copyright: (c) 2010 by Total Control Software # Licence: wxWindows license #--------------------------------------------------------------------------- diff --git a/etg/gdicmn.py b/etg/gdicmn.py index c69dbc84..e02ed681 100644 --- a/etg/gdicmn.py +++ b/etg/gdicmn.py @@ -3,7 +3,6 @@ # Author: Robin Dunn # # Created: 4-Nov-2010 -# RCS-ID: $Id:$ # Copyright: (c) 2010 by Total Control Software # Licence: wxWindows license #--------------------------------------------------------------------------- diff --git a/etg/geometry.py b/etg/geometry.py index 89efec28..0efc65ef 100644 --- a/etg/geometry.py +++ b/etg/geometry.py @@ -3,7 +3,6 @@ # Author: Robin Dunn # # Created: 4-Nov-2010 -# RCS-ID: $Id:$ # Copyright: (c) 2010 by Total Control Software # Licence: wxWindows license #--------------------------------------------------------------------------- diff --git a/etg/object.py b/etg/object.py index 39540f27..24bb6b60 100644 --- a/etg/object.py +++ b/etg/object.py @@ -3,7 +3,6 @@ # Author: Robin Dunn # # Created: 9-Nov-2010 -# RCS-ID: $Id:$ # Copyright: (c) 2010 by Total Control Software # Licence: wxWindows license #--------------------------------------------------------------------------- diff --git a/etg/template.py b/etg/template.py index 0a0c26d6..a6e404c7 100644 --- a/etg/template.py +++ b/etg/template.py @@ -3,7 +3,6 @@ # Author: Robin Dunn # # Created: -# RCS-ID: $Id:$ # Copyright: (c) 2010 by Total Control Software # Licence: wxWindows license #--------------------------------------------------------------------------- diff --git a/etgtools/__init__.py b/etgtools/__init__.py index 70e8f130..cde27bb9 100644 --- a/etgtools/__init__.py +++ b/etgtools/__init__.py @@ -1,7 +1,17 @@ +#--------------------------------------------------------------------------- +# Name: etgtools/__init__.py +# Author: Robin Dunn +# +# Created: 3-Nov-2010 +# Copyright: (c) 2010 by Total Control Software +# Licence: wxWindows license +#--------------------------------------------------------------------------- + """ Classes and tools for describing the public API of wxWidgets, parsing them from the Doxygen XML, and producing wrapper code from them. """ + import sys, os from extractors import * @@ -106,4 +116,4 @@ def getDocsGenerator(): #--------------------------------------------------------------------------- - \ No newline at end of file + diff --git a/etgtools/extractors.py b/etgtools/extractors.py index 1945bbea..d4fe8acc 100644 --- a/etgtools/extractors.py +++ b/etgtools/extractors.py @@ -1,5 +1,16 @@ -# Functions and classes that can parse the Doxygen XML files and extract the -# wxWidgets API info which we need from them. +#--------------------------------------------------------------------------- +# Name: etgtools/extractors.py +# Author: Robin Dunn +# +# Created: 3-Nov-2010 +# Copyright: (c) 2010 by Total Control Software +# Licence: wxWindows license +#--------------------------------------------------------------------------- + +""" +Functions and classes that can parse the Doxygen XML files and extract the +wxWidgets API info which we need from them. +""" import sys import os diff --git a/etgtools/generators.py b/etgtools/generators.py index 9a9ff884..3e6b79b1 100644 --- a/etgtools/generators.py +++ b/etgtools/generators.py @@ -1,5 +1,15 @@ #--------------------------------------------------------------------------- -# Just some base classes and stubs for the various generators +# Name: etgtools/generators.py +# Author: Robin Dunn +# +# Created: 3-Nov-2010 +# Copyright: (c) 2010 by Total Control Software +# Licence: wxWindows license +#--------------------------------------------------------------------------- + +""" +Just some base classes and stubs for the various generators +""" class WrapperGeneratorBase(object): diff --git a/etgtools/sip_generator.py b/etgtools/sip_generator.py index cdb51f2c..f63afe5d 100644 --- a/etgtools/sip_generator.py +++ b/etgtools/sip_generator.py @@ -1,3 +1,17 @@ +#--------------------------------------------------------------------------- +# Name: etgtools/sip_generator.py +# Author: Robin Dunn +# +# Created: 3-Nov-2010 +# Copyright: (c) 2010 by Total Control Software +# Licence: wxWindows license +#--------------------------------------------------------------------------- + +""" +The generator class for creating SIP definition files from the data +objects produced by the ETG scripts. +""" + import sys, os import extractors import generators diff --git a/etgtools/sphinx_generator.py b/etgtools/sphinx_generator.py new file mode 100644 index 00000000..e92d4113 --- /dev/null +++ b/etgtools/sphinx_generator.py @@ -0,0 +1,13 @@ +#--------------------------------------------------------------------------- +# Name: etgtools/sphinx_generator.py +# Author: Robin Dunn +# +# Created: 3-Nov-2010 +# Copyright: (c) 2010 by Total Control Software +# Licence: wxWindows license +#--------------------------------------------------------------------------- + + +""" +This page is intentionally left blank, at least for now... +""" diff --git a/etgtools/sphynx_generator.py b/etgtools/sphynx_generator.py deleted file mode 100644 index e69de29b..00000000 diff --git a/etgtools/swig_generator.py b/etgtools/swig_generator.py index 8b5f648f..e4902453 100644 --- a/etgtools/swig_generator.py +++ b/etgtools/swig_generator.py @@ -1 +1,12 @@ -# Move along, there's nothing to see here... \ No newline at end of file +#--------------------------------------------------------------------------- +# Name: etgtools/swig_generator.py +# Author: Robin Dunn +# +# Created: 3-Nov-2010 +# Copyright: (c) 2010 by Total Control Software +# Licence: wxWindows license +#--------------------------------------------------------------------------- + +""" +Move along, there's nothing to see here... +""" diff --git a/etgtools/tweaker_tools.py b/etgtools/tweaker_tools.py index 130468f5..84f4d1d3 100644 --- a/etgtools/tweaker_tools.py +++ b/etgtools/tweaker_tools.py @@ -1,7 +1,21 @@ +#--------------------------------------------------------------------------- +# Name: etgtools/tweaker_tools.py +# Author: Robin Dunn +# +# Created: 3-Nov-2010 +# Copyright: (c) 2010 by Total Control Software +# Licence: wxWindows license +#--------------------------------------------------------------------------- +""" +Some helpers and utility functions that can assist with the tweaker +stage of the ETG scripts. +""" import extractors + + def removeWxPrefixes(node): """ Rename items with a 'wx' prefix to not have the prefix. diff --git a/src/__init__.py b/src/__init__.py index 35af488c..57ad5006 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -1,3 +1,11 @@ +#--------------------------------------------------------------------------- +# Name: wx/__init__.py +# Author: Robin Dunn +# +# Created: 3-Nov-2010 +# Copyright: (c) 2010 by Total Control Software +# Licence: wxWindows license +#--------------------------------------------------------------------------- -from _core import * \ No newline at end of file +from _core import * diff --git a/src/string.sip b/src/string.sip index e020d443..097c3abd 100644 --- a/src/string.sip +++ b/src/string.sip @@ -5,7 +5,6 @@ // Author: Robin Dunn // // Created: 9-Nov-2010 -// RCS-ID: $Id:$ // Copyright: (c) 2010 by Total Control Software // Licence: wxWindows license /////////////////////////////////////////////////////////////////////////////