Aquileo | Recent changes to Project SWIGhttps://sourceforge.net/p/swig/2026-01-22T02:19:22.268000ZRecent changes to Project SWIGAquileo | #1007 xml module doesn't respect field declaration order2026-01-22T02:19:22.268000Z2026-01-22T02:19:22.268000ZOlly Bettshttps://sourceforge.net/u/olly/https://sourceforge.netd469741eed840d286cccc7fe6594eba5daa9b690<div class="markdown_content"><ul> <li><strong>status</strong>: open --&gt; closed-wont-fix</li> <li><strong>Group</strong>: --&gt; </li> </ul></div>Aquileo | SWIG-4.4.1 released2025-12-08T07:43:10.394000Z2025-12-08T07:43:10.394000ZWilliam Fultonhttps://sourceforge.net/u/wsfulton/https://sourceforge.netdb559dde3e465a71e20bf876e059df03f62e7217<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>Aquileo | SWIG-4.4.0 released2025-10-20T18:04:52.063000Z2025-10-20T18:04:52.063000ZWilliam Fultonhttps://sourceforge.net/u/wsfulton/https://sourceforge.net2c57bf10f9a54942fce9d7da6048f36543ac5b29<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>Aquileo | #1015 cast info imported incorrectly in SWIG_InitializeModule2025-08-27T20:27:45.488000Z2025-08-27T20:27:45.488000ZOlly Bettshttps://sourceforge.net/u/olly/https://sourceforge.netdeb65da269ef0ca015cb69f54687f20e11fa0444<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>Aquileo | #1166 [ruby] mixed case module names not handled correctly2025-06-17T04:36:12.084000Z2025-06-17T04:36:12.084000ZOlly Bettshttps://sourceforge.net/u/olly/https://sourceforge.netce5551fd361366af3a77fee8b8913a75e21a42a5<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>Aquileo | #1167 syntax error when parsing complex default values2025-06-17T03:29:33.312000Z2025-06-17T03:29:33.312000ZOlly Bettshttps://sourceforge.net/u/olly/https://sourceforge.net5b481c46b7d3d441c4f90ae50e1d6a9cd439d1ea<div class="markdown_content"><p>I've merged fixes for the remaining cases here - should be released in SWIG 4.4.0.</p></div>Aquileo | #1167 syntax error when parsing complex default values2025-06-11T21:22:34.575000Z2025-06-11T21:22:34.575000ZOlly Bettshttps://sourceforge.net/u/olly/https://sourceforge.netb89daae9a49238bf3de892df10a983d174b3d81b<div class="markdown_content"><ul> <li><strong>status</strong>: open --&gt; closed-duplicate</li> <li><strong>Group</strong>: --&gt; </li> </ul></div>Aquileo | #697 templates using import fails2025-06-10T22:24:20.660000Z2025-06-10T22:24:20.660000ZOlly Bettshttps://sourceforge.net/u/olly/https://sourceforge.net7c2b2789d8ad914e7f515d591a6a7f201dfee8f6<div class="markdown_content"><ul> <li><strong>status</strong>: open --&gt; closed-duplicate</li> <li><strong>Group</strong>: --&gt; </li> </ul></div>Aquileo | SWIG-4.3.1 released discussion2025-06-09T03:25:16.730000Z2025-06-09T03:25:16.730000Zl_unmshttps://sourceforge.net/u/unms/https://sourceforge.netf144ab1dc60ae0dd71ac141952bed9525115d3c3<div class="markdown_content"><p>sss</p></div>Aquileo | #878 no warning for multiple %module statements2025-06-09T00:05:53.243000Z2025-06-09T00:05:53.243000ZOlly Bettshttps://sourceforge.net/u/olly/https://sourceforge.net0e922b75954cdc81951ccf96da6e821f6670f807<div class="markdown_content"><ul> <li><strong>status</strong>: open --&gt; closed-wont-fix</li> <li><strong>Group</strong>: --&gt; </li> </ul></div>