]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
1 | SWIG 1.3 Patches |
2 | ================ | |
3 | ||
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 | |
9 | source tree soon. | |
10 | ||
414863fd RD |
11 | wxPython currently uses the 1.3.22 version of SWIG, which you can get |
12 | from https://sourceforge.net/projects/swig/, plus the patches in this | |
13 | directory. Download the SWIG sources, apply the patch(es) here and | |
14 | then build as normal. | |
f96a7475 RD |
15 | |
16 | ||
d14a1e28 RD |
17 | |
18 | ------------------------------------------------------------------------ | |
19 | ||
d14a1e28 | 20 | |
414863fd | 21 | swig.python-2.patch |
d14a1e28 | 22 | |
414863fd RD |
23 | Adds the following features to the Python Module in SWIG. See the |
24 | updated docs in the patch for more details. | |
42637d60 | 25 | |
414863fd RD |
26 | %feature("autodoc") |
27 | %feature("docstring") | |
28 | %feature("pythonprepend") | |
29 | %feature("pythonappend") | |
42637d60 | 30 | |
414863fd RD |
31 | %module(docstring="string") |
32 | %module(package="string") | |
42637d60 | 33 | |
414863fd | 34 | https://sourceforge.net/tracker/index.php?func=detail&aid=1023309&group_id=1645&atid=301645 |
42637d60 | 35 | |
42637d60 | 36 | |
414863fd RD |
37 | ------------------------------------------------------------------------ |
38 | This patch was applied to SWIG's CVS on 07/12/2004 and is in the | |
39 | 1.3.22 relese. | |
40 | ------------------------------------------------------------------------ | |
42637d60 | 41 | |
414863fd RD |
42 | swig.xmlout.patch Fixes a couple problems in the XML output |
43 | of SWIG: an extra "/>" was removed and | |
44 | newlines in attribute values were changed | |
45 | to the #10; entity reference so they will | |
46 | be preserved by parsers. | |
1e9b37a2 | 47 | |
414863fd RD |
48 | Also, added options for dumping or |
49 | writing to a file the XML of the parse | |
50 | tree *after* other language modules have | |
51 | been run (previously you could only do | |
52 | the XML output *instead of* a regular | |
53 | language module.) | |
54 | See SF Patch #864689 | |
d14a1e28 RD |
55 | |
56 | ||
0cb6df6e | 57 | |
d14a1e28 | 58 | ------------------------------------------------------------------------ |
700c96d4 RD |
59 | These patches have already been checked in to SWIG's CVS and are in |
60 | the 1.3.20 release. | |
d14a1e28 RD |
61 | ------------------------------------------------------------------------ |
62 | ||
414863fd RD |
63 | swig.SplitLines.patch Adds a new SplitLines function to the DOH |
64 | library. See SF Patch #829317. | |
65 | *Checked in 10/31/2003* | |
66 | ||
67 | swig.xml.patch Adds an option that drastically reduces | |
68 | the size of the XML output of SWIG, which | |
69 | increases the performance of the | |
70 | build_renamers script used in the wxPython | |
71 | build. See SF Patch #829319. | |
72 | *Checked in 10/31/2003* | |
73 | ||
74 | swig.python.patch Lots of changes for SWIG's Python module, | |
75 | especially in how the proxy code is | |
76 | generated. See swig.python.patch.txt for | |
77 | more details, also SF Patch #829325. | |
78 | *Checked in 10/31/2003* | |
d14a1e28 RD |
79 | |
80 | ------------------------------------------------------------------------ |