]> git.saurik.com Git - wxWidgets.git/blame - wxPython/SWIG/README.txt
regenerated make/project files after applying mediactrl patch (1427775)
[wxWidgets.git] / wxPython / SWIG / README.txt
CommitLineData
3c1705d9
RD
1SWIG 1.3.x Patches
2==================
d14a1e28
RD
3
4This directory holds a set of patches for the CVS version of SWIG that
5are required if you wish to use SWIG for wxPython development, or for
6building your own extension modules that need to interface with
7wxPython. These have been submitted to SWIG's SourceForge patch
8tracker, so hopefully they will get incorporated into the main SWIG
9source tree soon.
10
9269629e
RD
11wxPython currently uses the 1.3.27 version of SWIG, which you can get
12from https://sourceforge.net/projects/swig/, plus the patch(es) in
13this directory. Download the SWIG sources, apply the patch(es) here
14and then build as normal. I have also have made available a tarball
15containing the patched SWIG sources, plus a win32 binary, located
16here:
17
18 http://starship.python.net/crew/robind/wxPython/tools/
19
20If you want to use the patched version of SWIG and still have the
21stock version available for other projects, then you can configure the
22patched version to use a different --prefix and then specify that
23executable when running setup.py, like this:
f96a7475 24
3c1705d9 25 python setup.py SWIG=/path/to/my/swig [other params]
f96a7475 26
d14a1e28 27
9269629e 28
2f810297
RD
29------------------------------------------------------------------------
30
31swig-1.3.27.patch
32
33 SWIG changed slightly how the runtime type_info data is structured
34 in order to optimize load time and runtime access. wxPython
35 uncovered a bug in the implementation, so this patch includes the
36 fix that was checked in to CVS for 1.3.28.
37
38 SWIG changed how the import statments are output to the proxy
39 file, but this also caused the order to change (they all moved to
40 the very top of the file) so this broke the module docstring, as
41 well as some behavior that Chandler development is depending upon,
42 so this patch changes back to how it was done in prior releases.
43
44 Bug fix for SWIG's definition of the %makedefault macro.
45
9037d43c
RD
46 Add a SWIG_VERSION macro to the wrapper file so C/C++ code can
47 integrate with different versions of the generated runtime code.
2f810297 48
9037d43c 49
2f810297 50
d14a1e28
RD
51------------------------------------------------------------------------
52
9269629e 53swig-1.3.24.patch (now obsolete)
3c1705d9
RD
54
55 A bug was introduced in SWIG 1.3.23 and remains in 1.3.24 that
56 causes compilation problems with wxPython (copies are being made
57 of objects that don't have a copy constructor.) This patch fixes
58 the code generator to use a reference to the object instead of
59 making a copy.
60
61 Part of my autodoc patch was disabled becuase a unit-test failed.
782ece57
RD
62 It turns out that the failure was due to a name clash in the unit
63 test itself, so I re-enabled that section of code in this patch.
3c1705d9
RD
64
65 Don't generate the autodocs string for a class if it has a
66 docstring attribute.
67
68 Some typos fixed, etc.
69
70
71
72
73------------------------------------------------------------------------
74This patch was added to SWIG's CVS on 10/2/2004 and a modified version
75of it is in 1.3.23 and 1.3.24.
76------------------------------------------------------------------------
77
d14a1e28 78
414863fd 79swig.python-2.patch
d14a1e28 80
414863fd
RD
81 Adds the following features to the Python Module in SWIG. See the
82 updated docs in the patch for more details.
42637d60 83
414863fd
RD
84 %feature("autodoc")
85 %feature("docstring")
86 %feature("pythonprepend")
87 %feature("pythonappend")
42637d60 88
414863fd
RD
89 %module(docstring="string")
90 %module(package="string")
42637d60 91
414863fd 92 https://sourceforge.net/tracker/index.php?func=detail&aid=1023309&group_id=1645&atid=301645
42637d60 93
42637d60 94
414863fd
RD
95------------------------------------------------------------------------
96This patch was applied to SWIG's CVS on 07/12/2004 and is in the
971.3.22 relese.
98------------------------------------------------------------------------
42637d60 99
414863fd
RD
100swig.xmlout.patch Fixes a couple problems in the XML output
101 of SWIG: an extra "/>" was removed and
102 newlines in attribute values were changed
103 to the #10; entity reference so they will
104 be preserved by parsers.
1e9b37a2 105
414863fd
RD
106 Also, added options for dumping or
107 writing to a file the XML of the parse
108 tree *after* other language modules have
109 been run (previously you could only do
110 the XML output *instead of* a regular
111 language module.)
112 See SF Patch #864689
d14a1e28
RD
113
114
0cb6df6e 115
d14a1e28 116------------------------------------------------------------------------
700c96d4
RD
117These patches have already been checked in to SWIG's CVS and are in
118the 1.3.20 release.
d14a1e28
RD
119------------------------------------------------------------------------
120
414863fd
RD
121swig.SplitLines.patch Adds a new SplitLines function to the DOH
122 library. See SF Patch #829317.
123 *Checked in 10/31/2003*
124
125swig.xml.patch Adds an option that drastically reduces
126 the size of the XML output of SWIG, which
127 increases the performance of the
128 build_renamers script used in the wxPython
129 build. See SF Patch #829319.
130 *Checked in 10/31/2003*
131
132swig.python.patch Lots of changes for SWIG's Python module,
133 especially in how the proxy code is
134 generated. See swig.python.patch.txt for
135 more details, also SF Patch #829325.
136 *Checked in 10/31/2003*
d14a1e28
RD
137
138------------------------------------------------------------------------