]>
Commit | Line | Data |
---|---|---|
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 | ||
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. | |
15 | ||
16 | ||
17 | ||
18 | ------------------------------------------------------------------------ | |
19 | ||
20 | ||
21 | swig.python-2.patch | |
22 | ||
23 | Adds the following features to the Python Module in SWIG. See the | |
24 | updated docs in the patch for more details. | |
25 | ||
26 | %feature("autodoc") | |
27 | %feature("docstring") | |
28 | %feature("pythonprepend") | |
29 | %feature("pythonappend") | |
30 | ||
31 | %module(docstring="string") | |
32 | %module(package="string") | |
33 | ||
34 | https://sourceforge.net/tracker/index.php?func=detail&aid=1023309&group_id=1645&atid=301645 | |
35 | ||
36 | ||
37 | ------------------------------------------------------------------------ | |
38 | This patch was applied to SWIG's CVS on 07/12/2004 and is in the | |
39 | 1.3.22 relese. | |
40 | ------------------------------------------------------------------------ | |
41 | ||
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. | |
47 | ||
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 | |
55 | ||
56 | ||
57 | ||
58 | ------------------------------------------------------------------------ | |
59 | These patches have already been checked in to SWIG's CVS and are in | |
60 | the 1.3.20 release. | |
61 | ------------------------------------------------------------------------ | |
62 | ||
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* | |
79 | ||
80 | ------------------------------------------------------------------------ |