Re: [Swig-user] swig-4.3.0 beta1 release available for testing
William S Fulton <[email protected]> Tue, 8 Oct 2024 22:12:33 +0100
| Newsgroups | gmane.comp.programming.swig.devel,gmane.comp.programming.swig |
|---|---|
| Message-ID | <CANGqftDDqmk4PHHxAQnkPk3hm0Jp8sDShZX-En5cAaE3e5XG6A@mail.gmail.com> |
--===============7735128731942542741== Content-Type: multipart/alternative; boundary="000000000000be9cd60623fd9a76" --000000000000be9cd60623fd9a76 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable That's pretty cool, thanks for letting us know. Wiliam On Tue, 8 Oct 2024 at 15:36, John Wyatt <[email protected]> wrote: > Hello everyone, > > I submitted a simple SWIG Python implementation for 6.12-rc1 for the Linu= x > kernel's cpupower utility that was developed with 4.2.1. SWIG is now used > in the Linux kernel for a user-space utility. > > I ran the test script on my locally compiled 4.3.0-beta1. No issues as fa= r > as I can tell at this point with Fedora 40 and Python 3.12.6. > > The current version of this simple test script (test_raw_pylibcpupower.py > <https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux.git/tree/too= ls/power/cpupower/bindings/python/test_raw_pylibcpupower.py?h=3Dcpupower>) > I used is at: > > https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux.git/tree/tool= s/power/cpupower/bindings/python?h=3Dcpupower > > Thank you for your work on SWIG. > > P.S. > We had to use the .swg file extension because the kernel uses .i for > something else and it is gitignored. > > On Mon, Oct 7, 2024 at 6:35=E2=80=AFPM William S Fulton <wsf@fultondesign= s.co.uk> > wrote: > >> I have made a beta version of SWIG 4.3.0 available for testing before >> making the official release. I aim to turn this into the official releas= e >> on 26 Oct if there are no major issues reported, so please test it befor= e >> then and send feedback via the Github issue tracker >> <https://github.com/swig/swig/issues> or reply to this email including >> the mailing lists. >> >> Download it from here: >> >> Source tarball: >> http://prdownloads.sourceforge.net/swig/swig-4.3.0-beta1.tar.gz >> Windows prebuilt executable: >> http://prdownloads.sourceforge.net/swig/swigwin-4.3.0-beta1.zip >> >> Summary of changes: >> >> - Add experimental support for C as a target language. >> - MzScheme/Racket is deprecated and planned for removal in SWIG-4.4. >> - The distributed Windows binary is now a 64-bit executable. >> - Add some missing use of move semantics for performance improvements. >> - Enhanced handling of namespaces when using the nspace feature. >> - STL wrapper enhancements for std::unique_ptr, std::string_view, >> std::filesystem. >> - Various enum and enum class wrapping improvements. >> - Other C++ handling improvements around templates, friends, C++11 >> trailing return types and C++17 fold expressions. >> - Many parser improvements for both C and C++, especially expressions. >> - Improvements to handling of string and character literals. >> - Minor preprocessor fixes. >> - Python: Stricter stable ABI conformance, add support for python-3.13. >> - C#: Add support for converting Doxygen comments into XML C# comments. >> - Various other target language specific enhancements and updates for >> Java, Javascript, Lua, MzScheme, Ocaml, Octave, Perl, Python, R, Ruby. >> >> More detailed information is in the CHANGES.current file in the release. >> >> William >> _______________________________________________ >> Swig-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/swig-user >> > --000000000000be9cd60623fd9a76 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>That's pretty cool, thanks for letting us know.</= div><div><br></div><div>Wiliam<br></div></div><br><div class=3D"gmail_quote= "><div dir=3D"ltr" class=3D"gmail_attr">On Tue, 8 Oct 2024 at 15:36, John W= yatt <<a href=3D"mailto:[email protected]">[email protected]</a>> wro= te:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px = 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"= ltr"><div>Hello everyone,</div><div><br></div><div>I submitted a simple SWI= G Python implementation for 6.12-rc1 for the Linux kernel's cpupower ut= ility that was developed with 4.2.1. SWIG is now used in the Linux kernel f= or a user-space utility.<br></div><div><br></div><div>I ran the test script= on my locally compiled 4.3.0-beta1. No issues as far as I can tell at this= point with Fedora 40 and Python 3.12.6.<br></div><div><br></div><div>The c= urrent version of this simple test script (<a href=3D"https://git.kernel.or= g/pub/scm/linux/kernel/git/shuah/linux.git/tree/tools/power/cpupower/bindin= gs/python/test_raw_pylibcpupower.py?h=3Dcpupower" target=3D"_blank">test_ra= w_pylibcpupower.py</a>) I used is at:</div><div><a href=3D"https://git.kern= el.org/pub/scm/linux/kernel/git/shuah/linux.git/tree/tools/power/cpupower/b= indings/python?h=3Dcpupower" target=3D"_blank">https://git.kernel.org/pub/s= cm/linux/kernel/git/shuah/linux.git/tree/tools/power/cpupower/bindings/pyth= on?h=3Dcpupower</a><br><br></div><div>Thank you for your work on SWIG.</div= ><div><br></div><div>P.S.</div><div>We had to use the .swg file extension b= ecause the kernel uses .i for something else and it is gitignored.<br></div= ></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr"= >On Mon, Oct 7, 2024 at 6:35=E2=80=AFPM William S Fulton <<a href=3D"mai= lto:[email protected]" target=3D"_blank">[email protected]</a>&= gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0= px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div = dir=3D"ltr"><div>I have made a <span>beta</span> version of SWIG=20 4.3.0 available for testing before making the official <span>release</span>= . I aim to turn this into the official <span>release</span> on 26 Oct if there are no= =20 major issues reported, so please test it before then and send feedback=20 via the <a href=3D"https://github.com/swig/swig/issues" target=3D"_blank">G= ithub issue tracker</a> or reply to this email including the=20 mailing lists.</div><div><br></div><div>Download it from here:</div><div><b= r></div><div>Source tarball: <a href=3D"http://prdownloads.sourceforge.net/= swig/swig-4.3.0-beta1.tar.gz" target=3D"_blank">http://prdownloads.sourcefo= rge.net/swig/swig-4.3.0-beta1.tar.gz</a></div><div></div><div>Windows prebu= ilt executable: <a href=3D"http://prdownloads.sourceforge.net/swig/swigwin-= 4.3.0-beta1.zip" target=3D"_blank">http://prdownloads.sourceforge.net/swig/= swigwin-4.3.0-beta1.zip</a></div><div><br></div><div></div><div>Summary of = changes:</div><div><br></div><div>- Add experimental support for C as a tar= get language.<br>- MzScheme/Racket is deprecated and planned for removal in= SWIG-4.4.<br>- The distributed Windows binary is now a 64-bit executable.<= br>- Add some missing use of move semantics for performance improvements.<b= r>- Enhanced handling of namespaces when using the nspace feature.<br>- STL= wrapper enhancements for std::unique_ptr, std::string_view,<br>=C2=A0 std:= :filesystem.<br>- Various enum and enum class wrapping improvements.<br>- O= ther C++ handling improvements around templates, friends, C++11<br>=C2=A0 t= railing return types and C++17 fold expressions.<br>- Many parser improveme= nts for both C and C++, especially expressions.<br>- Improvements to handli= ng of string and character literals.<br>- Minor preprocessor fixes.<br>- Py= thon: Stricter stable ABI conformance, add support for python-3.13.<br>- C#= : Add support for converting Doxygen comments into XML C# comments.<br>- Va= rious other target language specific enhancements and updates for<br>=C2=A0= Java, Javascript, Lua, MzScheme, Ocaml, Octave, Perl, Python, R, Ruby.</di= v><div><br></div><div>More detailed information is in the CHANGES.current f= ile in the release.</div><div><br></div><div>William<br></div></div> _______________________________________________<br> Swig-user mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">Swig-u= [email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/swig-user" rel=3D"n= oreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/s= wig-user</a><br> </blockquote></div> </blockquote></div> --000000000000be9cd60623fd9a76-- --===============7735128731942542741== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============7735128731942542741== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline