Re: [LyX/master] De-hardcode listings languages (#5651)

Kornel Benko <[email protected]> Sat, 25 Jul 2026 09:00:10 +0200
Newsgroups gmane.editors.lyx.devel
Message-ID <20260725090010.50eed538@admin1-desktop>
--===============6182317319874282427==
Content-Type: multipart/signed; boundary="Sig_/JU/JMFT5IeqyYsyf2wBztyP";
 protocol="application/pgp-signature"; micalg=pgp-sha512

--Sig_/JU/JMFT5IeqyYsyf2wBztyP
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Am Fri, 24 Jul 2026 11:57:46 +0000
schrieb Juergen Spitzmueller <[email protected]>:

> commit 97f936e17a06896fcfa21efde9d7d3f178460a5c
> Author: Juergen Spitzmueller <[email protected]>
> Date:   Fri Jul 24 13:55:43 2026 +0200
>=20
>     De-hardcode listings languages (#5651)
>    =20
>     TODO: add languages that are only supported by minted, not listings.
>=20
>  development/FORMAT                 |   5 +
>  lib/Makefile.am                    |   2 +-
>  lib/listinglanguages               | 725 +++++++++++++++++++++++++++++++=
++++++
>  lib/lyx2lyx/lyx_2_6.py             |  50 ++-
>  src/ListingLanguage.cpp            | 299 +++++++++++++++
>  src/ListingLanguage.h              | 153 ++++++++
>  src/LyX.cpp                        |  18 +
>  src/LyX.h                          |   2 +
>  src/Makefile.am                    |   2 +
>  src/frontends/qt/GuiListings.cpp   | 207 ++++-------
>  src/frontends/qt/GuiListings.h     |   4 +
>  src/insets/InsetListings.cpp       |  23 +-
>  src/insets/InsetListingsParams.cpp |  82 +----
>  src/version.h                      |   4 +-
>  14 files changed, 1357 insertions(+), 219 deletions(-)

After this commit I get the attached errors using -Werror=3Dshadow on gcc-1=
4.

	Kornel

--Sig_/JU/JMFT5IeqyYsyf2wBztyP
Content-Type: application/pgp-signature
Content-Description: Digitale Signatur von OpenPGP

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE75EqQxV38F6szpLQb1AEVgNfRFsFAmpkXvoACgkQb1AEVgNf
RFtvQQf/QuSZcf8f4GbhQzhEGihecj4BjEXDMuabqGNgcdwiT7vDt6LN+BSZehRe
zktMoDMyl86WaOBvSVlPjUlTqd0ce2jtpLuNh9xXL6q7w8JnK0ughEGwSpDc6Gay
4Js7L3wEYU5OYaOMHV0I1UKdTrEyOCPdXmDzP2hAjDgdqioEQIoVk6keZZCF1oT4
1WRTv1F5a2+eIzkMtoA1zNoijfGv9yd0gjBYp/5TUzEJ8mLy8MOVg4uWW/L56uh1
83f2QyXaC09RPTwi6ioegBnalWUg51Fpdb+GI0TpbAapUhU+iUL8RTutujHXfRBB
u22jVTASOly946n57bpFDw5rMS6evw==
=z0XP
-----END PGP SIGNATURE-----

--Sig_/JU/JMFT5IeqyYsyf2wBztyP--

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

-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

--===============6182317319874282427==--