]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/SWIG/README.txt
Don't use deprecated wx.MaskColour
[wxWidgets.git] / wxPython / SWIG / README.txt
index 2343c669bbed250fb19e14e67b3b4bce02c97b08..c2830015bd3e844c78de3df0b2e2b2f65704e555 100644 (file)
@@ -1,6 +1,72 @@
+SWIG 1.3 Patches
+================
 
-Some minor tweaks were made to these files to allow wxPython to build
-with Python 1.6.  Just put these in your swig_lib/python dir and
-you'll be all set.  These are from SWIG 1.1-810, (yes, I am a bit
-behind.)
+This directory holds a set of patches for the CVS version of SWIG that
+are required if you wish to use SWIG for wxPython development, or for
+building your own extension modules that need to interface with
+wxPython.  These have been submitted to SWIG's SourceForge patch
+tracker, so hopefully they will get incorporated into the main SWIG
+source tree soon.
 
+wxPython currently uses the 20-Feb-2004 version of SWIG.  You can get
+that version from their CVS using these commands::
+
+
+    cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/swig login
+    <press ENTER for empty password>
+
+    cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/swig \
+       checkout -D 20-FEB-2004 SWIG
+
+
+------------------------------------------------------------------------
+
+
+swig.python-docstring.patch  Adds "autodoc" and "docstring" features.
+                            See SF Patch #883402
+
+                            Also changes the "addtofunc" feature to
+                            "pythonappend" and also adds a
+                            "pythonprepend" feature that prepends
+                            pythoncode to the begining of a
+                            SWIG-generated proxy function or method.
+
+swig.xmlout.patch           Fixes a couple problems in the XML output
+                            of SWIG: an extra "/>" was removed and
+                            newlines in attribute values were changed
+                            to the #10; entity reference so they will
+                            be preserved by parsers.
+
+                            Also, added options for dumping or
+                            writing to a file the XML of the parse
+                            tree *after* other language modules have
+                            been run (previously you could only do
+                            the XML output *instead of* a regular
+                            language module.)
+                            See SF Patch #864689
+
+
+
+------------------------------------------------------------------------
+These patches have already been checked in to SWIG's CVS and are in
+the 1.3.20 release.
+------------------------------------------------------------------------
+
+swig.SplitLines.patch      Adds a new SplitLines function to the DOH
+                           library.  See SF Patch #829317.
+                           *Checked in 10/31/2003*
+
+swig.xml.patch             Adds an option that drastically reduces
+                           the size of the XML output of SWIG, which
+                           increases the performance of the
+                           build_renamers script used in the wxPython
+                           build.  See SF Patch #829319.
+                           *Checked in 10/31/2003*
+
+swig.python.patch          Lots of changes for SWIG's Python module,
+                           especially in how the proxy code is
+                           generated.  See swig.python.patch.txt for
+                           more details, also SF Patch #829325.
+                           *Checked in 10/31/2003*
+
+------------------------------------------------------------------------