Re: swig-4.3.0 beta1 release available for testing

John Wyatt <[email protected]> Tue, 8 Oct 2024 10:36:26 -0400
Newsgroups gmane.comp.programming.swig,gmane.comp.programming.swig.devel
Message-ID <CAEPh5AXYyRtDCiEXBg2D7zUsvvKDw7ohd6ufqsegvE5Ovp9SLw@mail.gmail.com>
--===============1269429503357854053==
Content-Type: multipart/alternative; boundary="00000000000099e67f0623f810e0"

--00000000000099e67f0623f810e0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello everyone,

I submitted a simple SWIG Python implementation for 6.12-rc1 for the Linux
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 far
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/tools=
/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/tools/=
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@fultondesigns.=
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 release
> on 26 Oct if there are no major issues reported, so please test it before
> 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
>

--00000000000099e67f0623f810e0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello everyone,</div><div><br></div><div>I submitted =
a simple SWIG Python implementation for 6.12-rc1 for the Linux kernel&#39;s=
 cpupower utility that was developed with 4.2.1. SWIG is now used in the Li=
nux kernel for 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></di=
v><div>The current version of this simple test script (<a class=3D"gmail-ls=
-blob gmail-py" href=3D"https://git.kernel.org/pub/scm/linux/kernel/git/shu=
ah/linux.git/tree/tools/power/cpupower/bindings/python/test_raw_pylibcpupow=
er.py?h=3Dcpupower">test_raw_pylibcpupower.py</a>) I used is at:</div><div>=
<a href=3D"https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux.git/=
tree/tools/power/cpupower/bindings/python?h=3Dcpupower">https://git.kernel.=
org/pub/scm/linux/kernel/git/shuah/linux.git/tree/tools/power/cpupower/bind=
ings/python?h=3Dcpupower</a><br><br></div><div>Thank you for your work on S=
WIG.</div><div><br></div><div>P.S.</div><div>We had to use the .swg file ex=
tension because 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"gm=
ail_attr">On Mon, Oct 7, 2024 at 6:35=E2=80=AFPM William S Fulton &lt;<a hr=
ef=3D"mailto:[email protected]">[email protected]</a>&gt; wrote=
:<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"lt=
r"><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>

--00000000000099e67f0623f810e0--



--===============1269429503357854053==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============1269429503357854053==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Swig-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/swig-user

--===============1269429503357854053==--