Aquileo | Recent changes to Project SWIGhttps://sourceforge.net/p/swig/Recent changes to Project SWIGenThu, 22 Jan 2026 02:19:22 -0000Aquileo | #1007 xml module doesn't respect field declaration orderhttps://sourceforge.net/p/swig/bugs/1007/?limit=25#b72d<div class="markdown_content"><ul> <li><strong>status</strong>: open --&gt; closed-wont-fix</li> <li><strong>Group</strong>: --&gt; </li> </ul></div>Olly BettsThu, 22 Jan 2026 02:19:22 -0000https://sourceforge.netd469741eed840d286cccc7fe6594eba5daa9b690Aquileo | SWIG-4.4.1 releasedhttps://sourceforge.net/p/swig/news/2025/12/swig-441-released/<div class="markdown_content"><ul> <li>Fix errors with some combinations of Py_LIMITED_API and recent Python versions.</li> <li>A couple of other minor fixes/improvements.</li> </ul></div>William FultonMon, 08 Dec 2025 07:43:10 -0000https://sourceforge.netdb559dde3e465a71e20bf876e059df03f62e7217Aquileo | SWIG-4.4.0 releasedhttps://sourceforge.net/p/swig/news/2025/10/swig-440-released/<div class="markdown_content"><ul> <li>Python-3.14 and early Python-3.15 support including modernisations:<ul> <li>Remove some DeprecationWarnings.</li> <li>Added support for free-threading Python.</li> <li>Multi-phase module initialization.</li> <li>Use heap types instead of static types.</li> </ul> </li> <li>Go minimum version is now 1.20.</li> <li>Removed support for MzScheme/Racket.</li> <li>Minor typemap improvements.</li> <li>compactdefaultarg feature improvements and fixes.</li> <li>Fewer C, C++ and Java compiler warnings in generated code.</li> <li>c++-14 auto return type parsing fixes.</li> <li>Various improvements related to parsing expressions.</li> <li>Runtime type system thread safety fixes.</li> <li>Minor fixes and improvements specific to:<br/> C#, D, Guile, Java, Javascript, Lua, Perl, PHP, Python, Tcl.</li> </ul></div>William FultonMon, 20 Oct 2025 18:04:52 -0000https://sourceforge.net2c57bf10f9a54942fce9d7da6048f36543ac5b29Aquileo | #1015 cast info imported incorrectly in SWIG_InitializeModulehttps://sourceforge.net/p/swig/bugs/1015/?limit=25#b206<div class="markdown_content"><p>c840bb728a886fd8b9a9f241c2d2b603f0e7a91b changed this code to make type casting threadsafe.</p> <p>It's hard to be sure without having a reproducer, but it looks like the problem may still exist as <code>cast-&gt;type</code> is still only updated here <code>if (type == swig_module.type_initial[i])</code>.</p></div>Olly BettsWed, 27 Aug 2025 20:27:45 -0000https://sourceforge.netdeb65da269ef0ca015cb69f54687f20e11fa0444Aquileo | #1166 [ruby] mixed case module names not handled correctlyhttps://sourceforge.net/p/swig/bugs/1166/?limit=25#b2cb<div class="markdown_content"><p>We're still generating the same code AFAICS.</p> <p>Retesting though I found it does actually work <strong>provided you use consistent naming</strong>:</p> <div class="codehilite"><pre><span></span><code>$<span class="w"> </span><span class="nv">RUBY</span><span class="o">=</span>ruby3.2 $<span class="w"> </span><span class="nb">echo</span><span class="w"> </span><span class="s1">'%module OpenBabel'</span><span class="w"> </span>&gt;<span class="w"> </span>test.i $<span class="w"> </span>swig<span class="w"> </span>-ruby<span class="w"> </span>test.i $<span class="w"> </span>g++<span class="w"> </span>-shared<span class="w"> </span>-fPIC<span class="w"> </span><span class="se">\</span> <span class="w"> </span>-I<span class="s2">"`</span><span class="nv">$RUBY</span><span class="s2"> -r rbconfig -e 'puts(RbConfig::CONFIG["</span>rubyhdrdir<span class="s2">"] || "")'`"</span><span class="w"> </span><span class="se">\</span> <span class="w"> </span>-I<span class="s2">"`</span><span class="nv">$RUBY</span><span class="s2"> -r rbconfig -e 'puts(RbConfig::CONFIG["</span>rubyarchhdrdir<span class="s2">"] || "")'`"</span><span class="w"> </span><span class="se">\</span> <span class="w"> </span>-o<span class="w"> </span>OpenBabel.so<span class="w"> </span>test_wrap.c $<span class="w"> </span><span class="nv">$RUBY</span><span class="w"> </span>-I.<span class="w"> </span>-e<span class="w"> </span><span class="s1">'require "OpenBabel"'</span> $ </code></pre></div> <p>So if you use <code>%module OpenBabel</code> then you need to name the shared object <code>OpenBabel.so</code> and load it with <code>require "OpenBabel"</code>. That naming doesn't match Ruby conventions, but it is what was requested and does seem to work if applied consistently.</p> <p>Still really needs input (and ideally a patch) from a Ruby person.</p></div>Olly BettsTue, 17 Jun 2025 04:36:12 -0000https://sourceforge.netce5551fd361366af3a77fee8b8913a75e21a42a5Aquileo | #1167 syntax error when parsing complex default valueshttps://sourceforge.net/p/swig/bugs/1167/?limit=25#1060<div class="markdown_content"><p>I've merged fixes for the remaining cases here - should be released in SWIG 4.4.0.</p></div>Olly BettsTue, 17 Jun 2025 03:29:33 -0000https://sourceforge.net5b481c46b7d3d441c4f90ae50e1d6a9cd439d1eaAquileo | #1167 syntax error when parsing complex default valueshttps://sourceforge.net/p/swig/bugs/1167/?limit=25#1dd0<div class="markdown_content"><ul> <li><strong>status</strong>: open --&gt; closed-duplicate</li> <li><strong>Group</strong>: --&gt; </li> </ul></div>Olly BettsWed, 11 Jun 2025 21:22:34 -0000https://sourceforge.netb89daae9a49238bf3de892df10a983d174b3d81bAquileo | #697 templates using import failshttps://sourceforge.net/p/swig/bugs/697/?limit=25#db79<div class="markdown_content"><ul> <li><strong>status</strong>: open --&gt; closed-duplicate</li> <li><strong>Group</strong>: --&gt; </li> </ul></div>Olly BettsTue, 10 Jun 2025 22:24:20 -0000https://sourceforge.net7c2b2789d8ad914e7f515d591a6a7f201dfee8f6Aquileo | SWIG-4.3.1 released discussionhttps://sourceforge.net/p/swig/news/2025/04/swig-431-released/?limit=25#5478<div class="markdown_content"><p>sss</p></div>l_unmsMon, 09 Jun 2025 03:25:16 -0000https://sourceforge.netf144ab1dc60ae0dd71ac141952bed9525115d3c3Aquileo | #878 no warning for multiple %module statementshttps://sourceforge.net/p/swig/bugs/878/?limit=25#b15e<div class="markdown_content"><ul> <li><strong>status</strong>: open --&gt; closed-wont-fix</li> <li><strong>Group</strong>: --&gt; </li> </ul></div>Olly BettsMon, 09 Jun 2025 00:05:53 -0000https://sourceforge.net0e922b75954cdc81951ccf96da6e821f6670f807