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:
@@ -24,7 +24,7 @@ echo "Modules: " $MODULES
|
|||||||
|
|
||||||
|
|
||||||
echo "<?xml version='1.0'?>" > $DEST
|
echo "<?xml version='1.0'?>" > $DEST
|
||||||
echo "<top>" >> $DEST
|
echo "<wxPython-metadata>" >> $DEST
|
||||||
|
|
||||||
for m in $MODULES; do
|
for m in $MODULES; do
|
||||||
F=$SRC/${m}_swig.xml
|
F=$SRC/${m}_swig.xml
|
||||||
@@ -32,4 +32,4 @@ for m in $MODULES; do
|
|||||||
xsltproc $XSLT $F >> $DEST
|
xsltproc $XSLT $F >> $DEST
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "</top>" >> $DEST
|
echo "</wxPython-metadata>" >> $DEST
|
||||||
|
@@ -63,14 +63,14 @@ def processModule(newDocNode, modulename):
|
|||||||
node = topNode.children
|
node = topNode.children
|
||||||
while node is not None:
|
while node is not None:
|
||||||
if node.name == "include":
|
if node.name == "include":
|
||||||
processInclude(moduleNode, node, 0)
|
processInclude(moduleNode, node)
|
||||||
node = node.next
|
node = node.next
|
||||||
|
|
||||||
doc.freeDoc()
|
doc.freeDoc()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def processInclude(moduleNode, includeNode, level):
|
def processInclude(moduleNode, includeNode):
|
||||||
"""
|
"""
|
||||||
Almost everything we are interested in is inside an <include>,
|
Almost everything we are interested in is inside an <include>,
|
||||||
which may also be nested.
|
which may also be nested.
|
||||||
@@ -91,10 +91,10 @@ def processInclude(moduleNode, includeNode, level):
|
|||||||
node = includeNode.children
|
node = includeNode.children
|
||||||
while node is not None:
|
while node is not None:
|
||||||
if node.name == "insert":
|
if node.name == "insert":
|
||||||
processInsert(moduleNode, node, level)
|
processInsert(moduleNode, node)
|
||||||
|
|
||||||
elif node.name == "class":
|
elif node.name == "class":
|
||||||
processClass(moduleNode, node, level)
|
processClass(moduleNode, node)
|
||||||
|
|
||||||
elif node.name == "cdecl" and getAttr(node, "view") == "globalfunctionHandler":
|
elif node.name == "cdecl" and getAttr(node, "view") == "globalfunctionHandler":
|
||||||
func = libxml2.newNode("method")
|
func = libxml2.newNode("method")
|
||||||
@@ -108,13 +108,13 @@ def processInclude(moduleNode, includeNode, level):
|
|||||||
|
|
||||||
|
|
||||||
elif node.name == "include":
|
elif node.name == "include":
|
||||||
processInclude(moduleNode, node, level+1)
|
processInclude(moduleNode, node)
|
||||||
|
|
||||||
node = node.next
|
node = node.next
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def processInsert(parentNode, insertNode, level):
|
def processInsert(parentNode, insertNode):
|
||||||
"""
|
"""
|
||||||
Check for pythoncode
|
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.
|
Handle classes, constructors, methods, etc.
|
||||||
"""
|
"""
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
<?xml version='1.0'?>
|
<?xml version="1.0"?>
|
||||||
<wxPython-metadata>
|
<wxPython-metadata>
|
||||||
<module name="core">
|
<module name="core">
|
||||||
<pythoncode>
|
<pythoncode>
|
||||||
@@ -6727,7 +6727,8 @@ _core._wxPyFixStockObjects()
|
|||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
</pythoncode>
|
</pythoncode>
|
||||||
</module><module name="gdi">
|
</module>
|
||||||
|
<module name="gdi">
|
||||||
<import name="core"/>
|
<import name="core"/>
|
||||||
<pythoncode> wx = core </pythoncode>
|
<pythoncode> wx = core </pythoncode>
|
||||||
<pythoncode>
|
<pythoncode>
|
||||||
@@ -6830,10 +6831,6 @@ _core._wxPyFixStockObjects()
|
|||||||
<autodoc>Get() -> PyObject</autodoc>
|
<autodoc>Get() -> PyObject</autodoc>
|
||||||
</method>
|
</method>
|
||||||
</class>
|
</class>
|
||||||
<pythoncode>
|
|
||||||
Color = Colour
|
|
||||||
NamedColor = NamedColour
|
|
||||||
</pythoncode>
|
|
||||||
<class name="Palette" oldname="wxPalette" module="gdi">
|
<class name="Palette" oldname="wxPalette" module="gdi">
|
||||||
<baseclass name="wxGDIObject"/>
|
<baseclass name="wxGDIObject"/>
|
||||||
<constructor name="Palette" overloaded="no">
|
<constructor name="Palette" overloaded="no">
|
||||||
@@ -9534,7 +9531,8 @@ Works for single as well as multi-line strings.</docstring>
|
|||||||
</paramlist>
|
</paramlist>
|
||||||
</method>
|
</method>
|
||||||
</class>
|
</class>
|
||||||
</module><module name="windows">
|
</module>
|
||||||
|
<module name="windows">
|
||||||
<import name="core"/>
|
<import name="core"/>
|
||||||
<pythoncode> wx = core </pythoncode>
|
<pythoncode> wx = core </pythoncode>
|
||||||
<pythoncode>
|
<pythoncode>
|
||||||
@@ -13098,7 +13096,8 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE
|
|||||||
</paramlist>
|
</paramlist>
|
||||||
</method>
|
</method>
|
||||||
</class>
|
</class>
|
||||||
</module><module name="controls">
|
</module>
|
||||||
|
<module name="controls">
|
||||||
<import name="core"/>
|
<import name="core"/>
|
||||||
<pythoncode> wx = core </pythoncode>
|
<pythoncode> wx = core </pythoncode>
|
||||||
<pythoncode>
|
<pythoncode>
|
||||||
@@ -17696,7 +17695,8 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2)
|
|||||||
</paramlist>
|
</paramlist>
|
||||||
</method>
|
</method>
|
||||||
</class>
|
</class>
|
||||||
</module><module name="misc">
|
</module>
|
||||||
|
<module name="misc">
|
||||||
<import name="core"/>
|
<import name="core"/>
|
||||||
<pythoncode> wx = core </pythoncode>
|
<pythoncode> wx = core </pythoncode>
|
||||||
<pythoncode>
|
<pythoncode>
|
||||||
@@ -17737,12 +17737,6 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2)
|
|||||||
</paramlist>
|
</paramlist>
|
||||||
</staticmethod>
|
</staticmethod>
|
||||||
</class>
|
</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">
|
<class name="SystemOptions" oldname="wxSystemOptions" module="misc">
|
||||||
<baseclass name="wxObject"/>
|
<baseclass name="wxObject"/>
|
||||||
<constructor name="SystemOptions" overloaded="no">
|
<constructor name="SystemOptions" overloaded="no">
|
||||||
@@ -21495,7 +21489,8 @@ __ne__(DataFormat format) -> bool</autodoc>
|
|||||||
<autodoc>__nonzero__() -> bool</autodoc>
|
<autodoc>__nonzero__() -> bool</autodoc>
|
||||||
</method>
|
</method>
|
||||||
</class>
|
</class>
|
||||||
</module><module name="calendar">
|
</module>
|
||||||
|
<module name="calendar">
|
||||||
<import name="misc"/>
|
<import name="misc"/>
|
||||||
<pythoncode> wx = core </pythoncode>
|
<pythoncode> wx = core </pythoncode>
|
||||||
<class name="CalendarDateAttr" oldname="wxCalendarDateAttr" module="calendar">
|
<class name="CalendarDateAttr" oldname="wxCalendarDateAttr" module="calendar">
|
||||||
@@ -21802,7 +21797,8 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED,
|
|||||||
<autodoc>GetYearControl() -> Control</autodoc>
|
<autodoc>GetYearControl() -> Control</autodoc>
|
||||||
</method>
|
</method>
|
||||||
</class>
|
</class>
|
||||||
</module><module name="grid">
|
</module>
|
||||||
|
<module name="grid">
|
||||||
<import name="windows"/>
|
<import name="windows"/>
|
||||||
<pythoncode> wx = core </pythoncode>
|
<pythoncode> wx = core </pythoncode>
|
||||||
<class name="GridCellRenderer" oldname="wxGridCellRenderer" module="grid">
|
<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_HIDDEN = wx.PyEventBinder( wxEVT_GRID_EDITOR_HIDDEN )
|
||||||
EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
|
EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
|
||||||
</pythoncode>
|
</pythoncode>
|
||||||
</module><module name="html">
|
</module>
|
||||||
|
<module name="html">
|
||||||
<import name="windows"/>
|
<import name="windows"/>
|
||||||
<pythoncode> wx = core </pythoncode>
|
<pythoncode> wx = core </pythoncode>
|
||||||
<pythoncode>
|
<pythoncode>
|
||||||
@@ -25668,7 +25665,8 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
|
|||||||
<autodoc>GetFrame() -> HtmlHelpFrame</autodoc>
|
<autodoc>GetFrame() -> HtmlHelpFrame</autodoc>
|
||||||
</method>
|
</method>
|
||||||
</class>
|
</class>
|
||||||
</module><module name="wizard">
|
</module>
|
||||||
|
<module name="wizard">
|
||||||
<import name="windows"/>
|
<import name="windows"/>
|
||||||
<pythoncode> wx = core </pythoncode>
|
<pythoncode> wx = core </pythoncode>
|
||||||
<pythoncode>
|
<pythoncode>
|
||||||
@@ -25974,7 +25972,8 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
|
|||||||
</paramlist>
|
</paramlist>
|
||||||
</method>
|
</method>
|
||||||
</class>
|
</class>
|
||||||
</module><module name="glcanvas">
|
</module>
|
||||||
|
<module name="glcanvas">
|
||||||
<import name="core"/>
|
<import name="core"/>
|
||||||
<pythoncode> wx = core </pythoncode>
|
<pythoncode> wx = core </pythoncode>
|
||||||
<class name="GLContext" oldname="wxGLContext" module="glcanvas">
|
<class name="GLContext" oldname="wxGLContext" module="glcanvas">
|
||||||
@@ -26073,7 +26072,8 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
|
|||||||
<autodoc>GetContext() -> GLContext</autodoc>
|
<autodoc>GetContext() -> GLContext</autodoc>
|
||||||
</method>
|
</method>
|
||||||
</class>
|
</class>
|
||||||
</module><module name="ogl">
|
</module>
|
||||||
|
<module name="ogl">
|
||||||
<import name="windows"/>
|
<import name="windows"/>
|
||||||
<pythoncode> wx = core </pythoncode>
|
<pythoncode> wx = core </pythoncode>
|
||||||
<pythoncode>
|
<pythoncode>
|
||||||
@@ -31851,7 +31851,8 @@ ControlPoint = PyControlPoint
|
|||||||
<method name="OGLCleanUp" oldname="wxOGLCleanUp" type="void" overloaded="no">
|
<method name="OGLCleanUp" oldname="wxOGLCleanUp" type="void" overloaded="no">
|
||||||
<autodoc>OGLCleanUp()</autodoc>
|
<autodoc>OGLCleanUp()</autodoc>
|
||||||
</method>
|
</method>
|
||||||
</module><module name="stc">
|
</module>
|
||||||
|
<module name="stc">
|
||||||
<import name="core"/>
|
<import name="core"/>
|
||||||
<pythoncode> wx = core </pythoncode>
|
<pythoncode> wx = core </pythoncode>
|
||||||
<class name="StyledTextCtrl" oldname="wxStyledTextCtrl" module="stc">
|
<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_HOTSPOT_DCLICK = wx.PyEventBinder( wxEVT_STC_HOTSPOT_DCLICK, 1 )
|
||||||
EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 )
|
EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 )
|
||||||
</pythoncode>
|
</pythoncode>
|
||||||
</module><module name="xrc">
|
</module>
|
||||||
|
<module name="xrc">
|
||||||
<import name="core"/>
|
<import name="core"/>
|
||||||
<pythoncode> wx = core </pythoncode>
|
<pythoncode> wx = core </pythoncode>
|
||||||
<pythoncode>
|
<pythoncode>
|
||||||
@@ -34606,7 +34608,8 @@ XmlResource_AddSubclassFactory(XmlSubclassFactory_Python())
|
|||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
</pythoncode>
|
</pythoncode>
|
||||||
</module><module name="gizmos">
|
</module>
|
||||||
|
<module name="gizmos">
|
||||||
<import name="windows"/>
|
<import name="windows"/>
|
||||||
<import name="controls"/>
|
<import name="controls"/>
|
||||||
<pythoncode> wx = core </pythoncode>
|
<pythoncode> wx = core </pythoncode>
|
||||||
@@ -35559,4 +35562,5 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
|
|||||||
<autodoc>GetMainWindow() -> Window</autodoc>
|
<autodoc>GetMainWindow() -> Window</autodoc>
|
||||||
</method>
|
</method>
|
||||||
</class>
|
</class>
|
||||||
</module></wxPython-metadata>
|
</module>
|
||||||
|
</wxPython-metadata>
|
||||||
|
Reference in New Issue
Block a user