Updated html files, removed old simplify xsl and shell script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
dd35b09a3b
commit
9c329f86c6
@ -15,8 +15,8 @@ development and testing, and is meant to help other people that want
|
||||
to do the same thing. I'll assume that you are using either a CVS
|
||||
snapshot from <a class="reference" href="http://wxwindows.org/snapshots/">http://wxwindows.org/snapshots/</a>, a checkout from CVS, or
|
||||
one of the released wxPythonSrc-2.5.* tarballs. I'll also assume that
|
||||
you know your way around your system, the compiler, etc. and that you
|
||||
know what you are doing! ;-)</p>
|
||||
you know your way around your system, the compiler, etc. and most
|
||||
importantly, that you know what you are doing! ;-)</p>
|
||||
<p>If you want to also install the version of wxPython you build to be in
|
||||
your site-packages dir and be your default version of wxPython, then a
|
||||
few additional steps are needed, and you may want to use slightly
|
||||
@ -169,7 +169,7 @@ python2.3 demo.py
|
||||
<p>OS X NOTE: You need to use "pythonw" on the command line to run
|
||||
wxPython applications. This version of the Python executable is
|
||||
part of the Python Framework and is allowed to interact with the
|
||||
display. You can also Double Click on a .py or a .pyw file from
|
||||
display. You can also double click on a .py or a .pyw file from
|
||||
the finder (assuming that PythonLauncher is still associated with
|
||||
these file extensions) and it will launch the Framework version of
|
||||
Python for you. For information about creating Applicaiton Bundles
|
||||
@ -321,7 +321,7 @@ python demo.py
|
||||
</div>
|
||||
<hr class="footer" />
|
||||
<div class="footer">
|
||||
Generated on: 2004-02-04 23:31 UTC.
|
||||
Generated on: 2004-02-27 00:27 UTC.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -47,6 +47,16 @@ image (.dmg file) that users can just drag and drop to wherever they
|
||||
want to put them.</p>
|
||||
<p>The wxWave class has been renamed to wxSound, and now has a slightly
|
||||
different API.</p>
|
||||
<p>Updated the AnalogClockWindow with many enhancements from E. A. Tacão.</p>
|
||||
<p>wxMac now has wx.ToggleButton!</p>
|
||||
<p>wx.stc.StyledTextCtrl has been update to version 1.58 of Scintilla.</p>
|
||||
<p>To help with the wx.stc.StyledTextCtrl performance issues on wxMac
|
||||
I've added a SetUseAntiAliasing method (and GetUseAntiAliasing) too
|
||||
that will turn off the use of antialiased fonts in the wxSTC, allowing
|
||||
it to bypass the slow text measuring routines and use the fast and
|
||||
simple one instead. By default the setting is turned off. When run
|
||||
on OSX The Py* apps have a new item on the Options menu for
|
||||
controlling this setting if you would like to experiment with it.</p>
|
||||
</div>
|
||||
<div class="section" id="id1">
|
||||
<h1><a name="id1">2.4.2.4</a></h1>
|
||||
@ -1201,7 +1211,7 @@ version segfault shortly after starting up.</p>
|
||||
</div>
|
||||
<hr class="footer" />
|
||||
<div class="footer">
|
||||
Generated on: 2004-02-04 23:31 UTC.
|
||||
Generated on: 2004-02-27 00:27 UTC.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -136,7 +136,7 @@ copy %WXWIN%\BIN\wx*h_*.dll c:\Python23\Lib\site-pacakges\wx
|
||||
</div>
|
||||
<hr class="footer" />
|
||||
<div class="footer">
|
||||
Generated on: 2004-02-04 23:31 UTC.
|
||||
Generated on: 2004-02-27 00:27 UTC.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -393,7 +393,7 @@ different API.</p>
|
||||
</div>
|
||||
<hr class="footer" />
|
||||
<div class="footer">
|
||||
Generated on: 2004-02-04 23:31 UTC.
|
||||
Generated on: 2004-02-27 00:27 UTC.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<title>The Py Manual</title>
|
||||
<meta name="author" content="Patrick K. O'Brien" />
|
||||
<meta name="organization" content="Orbtech" />
|
||||
<meta name="date" content="2003-07-02" />
|
||||
<meta name="date" content="2004-02-04" />
|
||||
<link rel="stylesheet" href="default.css" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
@ -25,9 +25,9 @@
|
||||
<tr><th class="docinfo-name">Organization:</th>
|
||||
<td><a class="first last reference" href="http://www.orbtech.com/">Orbtech</a></td></tr>
|
||||
<tr><th class="docinfo-name">Date:</th>
|
||||
<td>2003-07-02</td></tr>
|
||||
<td>2004-02-04</td></tr>
|
||||
<tr><th class="docinfo-name">Revision:</th>
|
||||
<td>1.2</td></tr>
|
||||
<td>1.3</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="contents topic" id="contents">
|
||||
@ -237,6 +237,10 @@ programs and modules, since the beginning.</p>
|
||||
<p>Removed docs tabs from crust interface:
|
||||
* wxPython Docs
|
||||
* wxSTC Docs</p>
|
||||
<p>Fixed Calltip tab refresh problem on Windows.</p>
|
||||
<p>shell.autoCompleteAutoHide added with default of True.</p>
|
||||
<p>Changed default namespace of Shell to __main__.__dict__, instead of an
|
||||
empty dictionary.</p>
|
||||
</div>
|
||||
<div class="section" id="to-1-24-2004">
|
||||
<h2><a class="toc-backref" href="#id19" name="to-1-24-2004">0.9.3 (9/25/2003 to 1/24/2004)</a></h2>
|
||||
@ -696,7 +700,7 @@ needed. PyCrust had to happen...</p>
|
||||
</div>
|
||||
<hr class="footer" />
|
||||
<div class="footer">
|
||||
Generated on: 2004-02-04 23:31 UTC.
|
||||
Generated on: 2004-02-27 00:27 UTC.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -60,7 +60,7 @@ Robin Dunn
|
||||
</div>
|
||||
<hr class="footer" />
|
||||
<div class="footer">
|
||||
Generated on: 2004-02-04 23:31 UTC.
|
||||
Generated on: 2004-02-27 00:27 UTC.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,35 +0,0 @@
|
||||
#!/bin/bash
|
||||
#----------------------------------------------------------------------
|
||||
# Uses simplify.xsl to convert the XML files output by SWIG to a
|
||||
# simpler XML format that contains only the metadata that we are
|
||||
# interested in. Converts all input files into a single output file.
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
if [ ! -d wxPython ]; then
|
||||
echo "Please run this script from the root wxPython directory."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
XSLT=docs/bin/simplify.xsl
|
||||
MODULES=`python -c "import sys,setup; [sys.stdout.write(e.name[1:]+' ') for e in setup.wxpExtensions]"`
|
||||
DEST=docs/xml/wxPython-metadata.xml
|
||||
SRC=docs/xml-raw
|
||||
|
||||
|
||||
echo "Using: " $XSLT
|
||||
echo "Writing to: " $DEST
|
||||
echo "Modules: " $MODULES
|
||||
|
||||
|
||||
|
||||
echo "<?xml version='1.0'?>" > $DEST
|
||||
echo "<wxPython-metadata>" >> $DEST
|
||||
|
||||
for m in $MODULES; do
|
||||
F=$SRC/${m}_swig.xml
|
||||
echo $F
|
||||
xsltproc $XSLT $F >> $DEST
|
||||
done
|
||||
|
||||
echo "</wxPython-metadata>" >> $DEST
|
@ -1,217 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:strip-space elements="*" />
|
||||
<xsl:output method="xml" omit-xml-declaration="yes" indent="yes" />
|
||||
|
||||
|
||||
<!-- Stuff to ignore (ignored because the rules don't do anything) -->
|
||||
<xsl:template match="/top/attributelist" />
|
||||
<xsl:template match="include/attributelist" />
|
||||
<xsl:template match="namespace" />
|
||||
<xsl:template match="typemap" />
|
||||
<xsl:template match="typemapcopy" />
|
||||
<xsl:template match="insert" />
|
||||
<xsl:template match="fragment" />
|
||||
<xsl:template match="constant" />
|
||||
<xsl:template match="import" />
|
||||
|
||||
|
||||
<!-- Wrap the whole thing in a top level element -->
|
||||
<xsl:template match="/">
|
||||
<xsl:element name="module">
|
||||
<xsl:attribute name="name"><xsl:value-of select="top/attributelist/attribute[@name='module']/@value"/></xsl:attribute>
|
||||
<xsl:apply-templates />
|
||||
</xsl:element>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
|
||||
<xsl:template match="/top/include/import/module">
|
||||
<xsl:element name="import">
|
||||
<xsl:attribute name="name"><xsl:value-of select="./attributelist/attribute[@name='name']/@value"/></xsl:attribute>
|
||||
</xsl:element>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!-- A callable template that outputs the various docstrings for the current node -->
|
||||
<xsl:template name="DoDocstrings">
|
||||
<xsl:if test="./attributelist/attribute[@name='python_autodoc' and @value!='']">
|
||||
<xsl:element name="autodoc"><xsl:value-of select="./attributelist/attribute[@name='python_autodoc']/@value"/></xsl:element>
|
||||
</xsl:if>
|
||||
<xsl:if test="./attributelist/attribute[@name='feature_docstring' and @value!='']">
|
||||
<xsl:element name="docstring"><xsl:value-of select="./attributelist/attribute[@name='feature_docstring']/@value"/></xsl:element>
|
||||
</xsl:if>
|
||||
<xsl:if test="./attributelist/attribute[@name='feature_refdoc' and @value!='']">
|
||||
<xsl:element name="refdoc"><xsl:value-of select="./attributelist/attribute[@name='feature_refdoc']/@value"/></xsl:element>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!-- A callable template that handles parameter lists -->
|
||||
<xsl:template name="DoParamList">
|
||||
<xsl:if test="attributelist/parmlist">
|
||||
<xsl:element name="paramlist">
|
||||
<xsl:for-each select="attributelist/parmlist/parm">
|
||||
<xsl:element name="param">
|
||||
<xsl:attribute name="name"><xsl:value-of select="./attributelist/attribute[@name='name']/@value"/></xsl:attribute>
|
||||
<xsl:attribute name="type"><xsl:value-of select="./attributelist/attribute[@name='type']/@value"/></xsl:attribute>
|
||||
<xsl:attribute name="default"><xsl:value-of select="./attributelist/attribute[@name='value']/@value"/></xsl:attribute>
|
||||
</xsl:element>
|
||||
</xsl:for-each>
|
||||
</xsl:element>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!-- Check for overloaded methods -->
|
||||
<xsl:template name="CheckOverloaded">
|
||||
<xsl:choose>
|
||||
<xsl:when test="./attributelist/attribute[@name='sym_overloaded']">
|
||||
<xsl:attribute name="overloaded">yes</xsl:attribute>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:attribute name="overloaded">no</xsl:attribute>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
|
||||
<!-- A callable template that handles functions, methods, etc. -->
|
||||
<xsl:template name="DoFunction">
|
||||
<xsl:attribute name="name"><xsl:value-of select="./attributelist/attribute[@name='sym_name']/@value"/></xsl:attribute>
|
||||
<!-- <xsl:attribute name="returntype"><xsl:value-of select="./attributelist/attribute[@name='type']/@value"/></xsl:attribute> -->
|
||||
<xsl:call-template name="CheckOverloaded" />
|
||||
<xsl:call-template name="DoDocstrings" />
|
||||
<xsl:call-template name="DoParamList" />
|
||||
</xsl:template>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- Create a class element with doc sub elements taken from the attributelist -->
|
||||
<xsl:template match="class">
|
||||
<xsl:element name="class">
|
||||
|
||||
<xsl:attribute name="name">
|
||||
<xsl:value-of select="./attributelist/attribute[@name='sym_name']/@value"/>
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="oldname">
|
||||
<xsl:value-of select="./attributelist/attribute[@name='name']/@value"/>
|
||||
</xsl:attribute>
|
||||
|
||||
<xsl:attribute name="module">
|
||||
<xsl:value-of select="./attributelist/attribute[@name='module']/@value"/>
|
||||
</xsl:attribute>
|
||||
|
||||
<xsl:call-template name="DoDocstrings" />
|
||||
<xsl:apply-templates />
|
||||
|
||||
</xsl:element>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="base">
|
||||
<xsl:element name="baseclass">
|
||||
<xsl:attribute name="name">
|
||||
<xsl:value-of select="@name"/>
|
||||
</xsl:attribute>
|
||||
</xsl:element>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!-- constructor -->
|
||||
<xsl:template match="constructor">
|
||||
<xsl:element name="constructor">
|
||||
<xsl:attribute name="name">
|
||||
<xsl:value-of select="./attributelist/attribute[@name='sym_name']/@value"/>
|
||||
</xsl:attribute>
|
||||
<xsl:call-template name="CheckOverloaded" />
|
||||
|
||||
<xsl:call-template name="DoDocstrings" />
|
||||
<xsl:call-template name="DoParamList" />
|
||||
|
||||
</xsl:element>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!-- destructor -->
|
||||
<xsl:template match="destructor">
|
||||
<xsl:element name="destructor">
|
||||
|
||||
<xsl:attribute name="name">
|
||||
<xsl:value-of select="./attributelist/attribute[@name='sym_name']/@value"/>
|
||||
</xsl:attribute>
|
||||
|
||||
<xsl:call-template name="DoDocstrings" />
|
||||
<xsl:call-template name="DoParamList" />
|
||||
|
||||
</xsl:element>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!-- cdecls: can be functions, methods, properties, etc. -->
|
||||
<xsl:template match="cdecl">
|
||||
<xsl:choose>
|
||||
<!-- method -->
|
||||
<xsl:when test="./attributelist/attribute[@name='view' and @value='memberfunctionHandler']">
|
||||
<xsl:element name="method">
|
||||
<xsl:call-template name="DoFunction" />
|
||||
</xsl:element>
|
||||
</xsl:when>
|
||||
|
||||
<!-- staticmethod -->
|
||||
<xsl:when test="./attributelist/attribute[@name='view' and @value='staticmemberfunctionHandler']">
|
||||
<xsl:element name="staticmethod">
|
||||
<xsl:call-template name="DoFunction" />
|
||||
</xsl:element>
|
||||
</xsl:when>
|
||||
|
||||
<!-- property -->
|
||||
<xsl:when test="./attributelist/attribute[@name='view' and @value='variableHandler']">
|
||||
<xsl:element name="property">
|
||||
<xsl:attribute name="name">
|
||||
<xsl:value-of select="./attributelist/attribute[@name='sym_name']/@value"/>
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="type">
|
||||
<xsl:value-of select="./attributelist/attribute[@name='type']/@value"/>
|
||||
</xsl:attribute>
|
||||
<xsl:choose>
|
||||
<xsl:when test="./attributelist/attribute[@name='feature_immutable']">
|
||||
<xsl:attribute name="readonly">yes</xsl:attribute>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:attribute name="readonly">no</xsl:attribute>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:call-template name="DoDocstrings" />
|
||||
</xsl:element>
|
||||
</xsl:when>
|
||||
|
||||
<!-- global function -->
|
||||
<xsl:when test="./attributelist/attribute[@name='view' and @value='globalfunctionHandler']">
|
||||
<xsl:element name="function">
|
||||
<xsl:attribute name="oldname">
|
||||
<xsl:value-of select="./attributelist/attribute[@name='name']/@value"/>
|
||||
</xsl:attribute>
|
||||
<xsl:call-template name="DoFunction" />
|
||||
</xsl:element>
|
||||
</xsl:when>
|
||||
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!-- %pythoncode directives -->
|
||||
<xsl:template match="insert">
|
||||
<xsl:if test="./attributelist/attribute[@name='section' and @value='python']">
|
||||
<xsl:element name="pythoncode">
|
||||
<xsl:value-of select="./attributelist/attribute[@name='code']/@value"/>
|
||||
</xsl:element>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
@ -8,7 +8,7 @@
|
||||
<meta name="author" content="Patrick K. O'Brien" />
|
||||
<meta name="author" content="Robin Dunn" />
|
||||
<meta name="organization" content="Orbtech" />
|
||||
<meta name="date" content="2003-07-02" />
|
||||
<meta name="date" content="2004-02-04" />
|
||||
<link rel="stylesheet" href="default.css" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
@ -28,9 +28,9 @@
|
||||
<tr><th class="docinfo-name">Organization:</th>
|
||||
<td><a class="first last reference" href="http://www.orbtech.com/">Orbtech</a></td></tr>
|
||||
<tr><th class="docinfo-name">Date:</th>
|
||||
<td>2003-07-02</td></tr>
|
||||
<td>2004-02-04</td></tr>
|
||||
<tr><th class="docinfo-name">Revision:</th>
|
||||
<td>1.2</td></tr>
|
||||
<td>1.3</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="contents topic" id="contents">
|
||||
@ -171,7 +171,7 @@ You can learn more about these in the <a class="reference" href="PyManual.html">
|
||||
</div>
|
||||
<hr class="footer" />
|
||||
<div class="footer">
|
||||
Generated on: 2004-02-04 23:31 UTC.
|
||||
Generated on: 2004-02-27 00:27 UTC.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -71,7 +71,7 @@ using the Epydoc tool.</p>
|
||||
</div>
|
||||
<hr class="footer" />
|
||||
<div class="footer">
|
||||
Generated on: 2004-02-04 23:31 UTC.
|
||||
Generated on: 2004-02-27 00:27 UTC.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -220,7 +220,7 @@ if __name__ == '__main__':
|
||||
</div>
|
||||
<hr class="footer" />
|
||||
<div class="footer">
|
||||
Generated on: 2004-02-04 23:31 UTC.
|
||||
Generated on: 2004-02-27 00:27 UTC.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1074,7 +1074,7 @@ As such, it adheres to the same license, which is provided here:</p>
|
||||
</div>
|
||||
<hr class="footer" />
|
||||
<div class="footer">
|
||||
Generated on: 2004-02-04 23:31 UTC.
|
||||
Generated on: 2004-02-27 00:27 UTC.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -122,7 +122,7 @@ that comes with wxWindows:</p>
|
||||
</div>
|
||||
<hr class="footer" />
|
||||
<div class="footer">
|
||||
Generated on: 2004-02-04 23:31 UTC.
|
||||
Generated on: 2004-02-27 00:27 UTC.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user