Tool tweaks and metadata update

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-12-24 01:09:51 +00:00
parent 61940a7061
commit 0dd25e819c
3 changed files with 33483 additions and 33479 deletions

View File

@@ -24,7 +24,7 @@ echo "Modules: " $MODULES
echo "<?xml version='1.0'?>" > $DEST
echo "<top>" >> $DEST
echo "<wxPython-metadata>" >> $DEST
for m in $MODULES; do
F=$SRC/${m}_swig.xml
@@ -32,4 +32,4 @@ for m in $MODULES; do
xsltproc $XSLT $F >> $DEST
done
echo "</top>" >> $DEST
echo "</wxPython-metadata>" >> $DEST

View File

@@ -63,14 +63,14 @@ def processModule(newDocNode, modulename):
node = topNode.children
while node is not None:
if node.name == "include":
processInclude(moduleNode, node, 0)
processInclude(moduleNode, node)
node = node.next
doc.freeDoc()
def processInclude(moduleNode, includeNode, level):
def processInclude(moduleNode, includeNode):
"""
Almost everything we are interested in is inside an <include>,
which may also be nested.
@@ -91,10 +91,10 @@ def processInclude(moduleNode, includeNode, level):
node = includeNode.children
while node is not None:
if node.name == "insert":
processInsert(moduleNode, node, level)
processInsert(moduleNode, node)
elif node.name == "class":
processClass(moduleNode, node, level)
processClass(moduleNode, node)
elif node.name == "cdecl" and getAttr(node, "view") == "globalfunctionHandler":
func = libxml2.newNode("method")
@@ -108,13 +108,13 @@ def processInclude(moduleNode, includeNode, level):
elif node.name == "include":
processInclude(moduleNode, node, level+1)
processInclude(moduleNode, node)
node = node.next
def processInsert(parentNode, insertNode, level):
def processInsert(parentNode, insertNode):
"""
Check for pythoncode
"""
@@ -126,7 +126,7 @@ def processInsert(parentNode, insertNode, level):
def processClass(parentNode, classNode, level):
def processClass(parentNode, classNode):
"""
Handle classes, constructors, methods, etc.
"""

View File

@@ -1,4 +1,4 @@
<?xml version='1.0'?>
<?xml version="1.0"?>
<wxPython-metadata>
<module name="core">
<pythoncode>
@@ -6727,7 +6727,8 @@ _core._wxPyFixStockObjects()
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
</pythoncode>
</module><module name="gdi">
</module>
<module name="gdi">
<import name="core"/>
<pythoncode> wx = core </pythoncode>
<pythoncode>
@@ -6830,10 +6831,6 @@ _core._wxPyFixStockObjects()
<autodoc>Get() -&gt; PyObject</autodoc>
</method>
</class>
<pythoncode>
Color = Colour
NamedColor = NamedColour
</pythoncode>
<class name="Palette" oldname="wxPalette" module="gdi">
<baseclass name="wxGDIObject"/>
<constructor name="Palette" overloaded="no">
@@ -9534,7 +9531,8 @@ Works for single as well as multi-line strings.</docstring>
</paramlist>
</method>
</class>
</module><module name="windows">
</module>
<module name="windows">
<import name="core"/>
<pythoncode> wx = core </pythoncode>
<pythoncode>
@@ -13098,7 +13096,8 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE
</paramlist>
</method>
</class>
</module><module name="controls">
</module>
<module name="controls">
<import name="core"/>
<pythoncode> wx = core </pythoncode>
<pythoncode>
@@ -17696,7 +17695,8 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2)
</paramlist>
</method>
</class>
</module><module name="misc">
</module>
<module name="misc">
<import name="core"/>
<pythoncode> wx = core </pythoncode>
<pythoncode>
@@ -17737,12 +17737,6 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2)
</paramlist>
</staticmethod>
</class>
<pythoncode>
# backwards compatibility aliasses
SystemSettings_GetSystemColour = SystemSettings_GetColour
SystemSettings_GetSystemFont = SystemSettings_GetFont
SystemSettings_GetSystemMetric = SystemSettings_GetMetric
</pythoncode>
<class name="SystemOptions" oldname="wxSystemOptions" module="misc">
<baseclass name="wxObject"/>
<constructor name="SystemOptions" overloaded="no">
@@ -21495,7 +21489,8 @@ __ne__(DataFormat format) -&gt; bool</autodoc>
<autodoc>__nonzero__() -&gt; bool</autodoc>
</method>
</class>
</module><module name="calendar">
</module>
<module name="calendar">
<import name="misc"/>
<pythoncode> wx = core </pythoncode>
<class name="CalendarDateAttr" oldname="wxCalendarDateAttr" module="calendar">
@@ -21802,7 +21797,8 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED,
<autodoc>GetYearControl() -&gt; Control</autodoc>
</method>
</class>
</module><module name="grid">
</module>
<module name="grid">
<import name="windows"/>
<pythoncode> wx = core </pythoncode>
<class name="GridCellRenderer" oldname="wxGridCellRenderer" module="grid">
@@ -24187,7 +24183,8 @@ EVT_GRID_EDITOR_SHOWN = wx.PyEventBinder( wxEVT_GRID_EDITOR_SHOWN )
EVT_GRID_EDITOR_HIDDEN = wx.PyEventBinder( wxEVT_GRID_EDITOR_HIDDEN )
EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
</pythoncode>
</module><module name="html">
</module>
<module name="html">
<import name="windows"/>
<pythoncode> wx = core </pythoncode>
<pythoncode>
@@ -25668,7 +25665,8 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
<autodoc>GetFrame() -&gt; HtmlHelpFrame</autodoc>
</method>
</class>
</module><module name="wizard">
</module>
<module name="wizard">
<import name="windows"/>
<pythoncode> wx = core </pythoncode>
<pythoncode>
@@ -25974,7 +25972,8 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
</paramlist>
</method>
</class>
</module><module name="glcanvas">
</module>
<module name="glcanvas">
<import name="core"/>
<pythoncode> wx = core </pythoncode>
<class name="GLContext" oldname="wxGLContext" module="glcanvas">
@@ -26073,7 +26072,8 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
<autodoc>GetContext() -&gt; GLContext</autodoc>
</method>
</class>
</module><module name="ogl">
</module>
<module name="ogl">
<import name="windows"/>
<pythoncode> wx = core </pythoncode>
<pythoncode>
@@ -31851,7 +31851,8 @@ ControlPoint = PyControlPoint
<method name="OGLCleanUp" oldname="wxOGLCleanUp" type="void" overloaded="no">
<autodoc>OGLCleanUp()</autodoc>
</method>
</module><module name="stc">
</module>
<module name="stc">
<import name="core"/>
<pythoncode> wx = core </pythoncode>
<class name="StyledTextCtrl" oldname="wxStyledTextCtrl" module="stc">
@@ -33876,7 +33877,8 @@ EVT_STC_HOTSPOT_CLICK = wx.PyEventBinder( wxEVT_STC_HOTSPOT_CLICK, 1 )
EVT_STC_HOTSPOT_DCLICK = wx.PyEventBinder( wxEVT_STC_HOTSPOT_DCLICK, 1 )
EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 )
</pythoncode>
</module><module name="xrc">
</module>
<module name="xrc">
<import name="core"/>
<pythoncode> wx = core </pythoncode>
<pythoncode>
@@ -34606,7 +34608,8 @@ XmlResource_AddSubclassFactory(XmlSubclassFactory_Python())
#----------------------------------------------------------------------------
</pythoncode>
</module><module name="gizmos">
</module>
<module name="gizmos">
<import name="windows"/>
<import name="controls"/>
<pythoncode> wx = core </pythoncode>
@@ -35559,4 +35562,5 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
<autodoc>GetMainWindow() -&gt; Window</autodoc>
</method>
</class>
</module></wxPython-metadata>
</module>
</wxPython-metadata>