4 This directory holds a set of patches for the CVS version of SWIG that
 
   5 are required if you wish to use SWIG for wxPython development, or for
 
   6 building your own extension modules that need to interface with
 
   7 wxPython.  These have been submitted to SWIG's SourceForge patch
 
   8 tracker, so hopefully they will get incorporated into the main SWIG
 
  11 wxPython currently uses the 1.3.24 version of SWIG, which you can get
 
  12 from https://sourceforge.net/projects/swig/, plus the patch(es) in this
 
  13 directory.  Download the SWIG sources, apply the patch(es) here and
 
  14 then build as normal.  If you want to use both the patched version of
 
  15 SWIG and the stock version, then you can configure the patched version
 
  16 to use a different --prefix and then specify that executable when
 
  17 running setup.py, like this:
 
  19         python setup.py SWIG=/path/to/my/swig [other params]
 
  22 ------------------------------------------------------------------------
 
  26     A bug was introduced in SWIG 1.3.23 and remains in 1.3.24 that
 
  27     causes compilation problems with wxPython (copies are being made
 
  28     of objects that don't have a copy constructor.)  This patch fixes
 
  29     the code generator to use a reference to the object instead of
 
  32     Part of my autodoc patch was disabled becuase a unit-test failed.
 
  33     I was not able to duplicate the failure so I re-enabled that
 
  34     section of code in this patch.
 
  36     Don't generate the autodocs string for a class if it has a
 
  39     Some typos fixed, etc.
 
  44 ------------------------------------------------------------------------
 
  45 This patch was added to SWIG's CVS on 10/2/2004 and a modified version
 
  46 of it is in 1.3.23 and 1.3.24.
 
  47 ------------------------------------------------------------------------
 
  52     Adds the following features to the Python Module in SWIG.  See the
 
  53     updated docs in the patch for more details.
 
  57             %feature("pythonprepend")
 
  58             %feature("pythonappend")
 
  60             %module(docstring="string")
 
  61             %module(package="string")
 
  63     https://sourceforge.net/tracker/index.php?func=detail&aid=1023309&group_id=1645&atid=301645
 
  66 ------------------------------------------------------------------------
 
  67 This patch was applied to SWIG's CVS on 07/12/2004 and is in the
 
  69 ------------------------------------------------------------------------
 
  71 swig.xmlout.patch            Fixes a couple problems in the XML output
 
  72                              of SWIG: an extra "/>" was removed and
 
  73                              newlines in attribute values were changed
 
  74                              to the #10; entity reference so they will
 
  75                              be preserved by parsers.
 
  77                              Also, added options for dumping or
 
  78                              writing to a file the XML of the parse
 
  79                              tree *after* other language modules have
 
  80                              been run (previously you could only do
 
  81                              the XML output *instead of* a regular
 
  87 ------------------------------------------------------------------------
 
  88 These patches have already been checked in to SWIG's CVS and are in
 
  90 ------------------------------------------------------------------------
 
  92 swig.SplitLines.patch       Adds a new SplitLines function to the DOH
 
  93                             library.  See SF Patch #829317.
 
  94                             *Checked in 10/31/2003*
 
  96 swig.xml.patch              Adds an option that drastically reduces
 
  97                             the size of the XML output of SWIG, which
 
  98                             increases the performance of the
 
  99                             build_renamers script used in the wxPython
 
 100                             build.  See SF Patch #829319.
 
 101                             *Checked in 10/31/2003*
 
 103 swig.python.patch           Lots of changes for SWIG's Python module,
 
 104                             especially in how the proxy code is
 
 105                             generated.  See swig.python.patch.txt for
 
 106                             more details, also SF Patch #829325.
 
 107                             *Checked in 10/31/2003*
 
 109 ------------------------------------------------------------------------