[LyX/master] Compilation fixes

2025-02-06 Thread Juergen Spitzmueller
commit 704c087bd19b1c745fadbe32adf41a53911c6913 Author: Juergen Spitzmueller Date: Thu Feb 6 13:03:26 2025 +0100 Compilation fixes Not completely sure whether the direct inclusion of string.h is the best way. --- src/mathed/InsetMathSymbol.cpp | 2 ++ src/mathed/MathStream.cpp

[LyX/master] Cmake build: Wrong LYX_DATA_SUBDIR set for APPLE

2025-02-06 Thread Kornel Benko
commit ea55792f3ea622f5234fcc55ff0a3d650d6829f3 Author: Kornel Benko Date: Thu Feb 6 11:44:52 2025 +0100 Cmake build: Wrong LYX_DATA_SUBDIR set for APPLE Spotted by Patrick De Visschere --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeL

[LyX/master] Cmake build(APPLE): Amend ea55792f

2025-02-06 Thread Kornel Benko
commit 0ef5bee5cc9292466e09461683aeb0b4c3a2cdb4 Author: Kornel Benko Date: Thu Feb 6 21:53:17 2025 +0100 Cmake build(APPLE): Amend ea55792f Typo spotted by Patrick De Visschere --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b

[LyX/master] InsetERT: recognise whenever the contents looks sufficiently like XML to attempt outputting it as raw XML.

2025-02-06 Thread Thibaut Cuvelier
commit 554eb63d3967fb88a38452114265d8a1bd5fee04 Author: Thibaut Cuvelier Date: Fri Feb 7 00:52:18 2025 +0100 InsetERT: recognise whenever the contents looks sufficiently like XML to attempt outputting it as raw XML. This behaviour is closer to what LyX 2.3 and previous handled ERT

[LyX/master] Remove code that is commented out: it was never finished.

2025-02-06 Thread Thibaut Cuvelier
commit 2feccb0ed924b7551ea2c7b4c25cd25ce7f9a544 Author: Thibaut Cuvelier Date: Fri Feb 7 00:14:23 2025 +0100 Remove code that is commented out: it was never finished. --- src/insets/InsetERT.cpp | 5 - 1 file changed, 5 deletions(-) diff --git a/src/insets/InsetERT.cpp b/src/insets/In

[LyX/master] Remove include that is no longer necessary.

2025-02-06 Thread Thibaut Cuvelier
commit c057ddd773c2c6b1a668613fbf99c78a386514ab Author: Thibaut Cuvelier Date: Thu Feb 6 23:43:52 2025 +0100 Remove include that is no longer necessary. The use of `strcmp` has been removed as of 87f08ce2. --- src/mathed/InsetMathSymbol.cpp | 2 -- 1 file changed, 2 deletions(-)

[LyX/master] `latexkeys::mathml_type` now returns an `std::string`.

2025-02-06 Thread Thibaut Cuvelier
commit 87f08ce2ba91a4f910819a0af215fc02173a03c6 Author: Thibaut Cuvelier Date: Thu Feb 6 23:42:39 2025 +0100 `latexkeys::mathml_type` now returns an `std::string`. Avoiding C strings removes the needs for old C functions that caused compilation problems, see mailing list (https:/

[LyX/master] Remove reference to non-existent `os_os2.C` file.

2025-02-06 Thread Thibaut Cuvelier
commit 5415a0702f138718a314d0b08259cbc8510cfb32 Author: Thibaut Cuvelier Date: Fri Feb 7 00:05:59 2025 +0100 Remove reference to non-existent `os_os2.C` file. --- src/support/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/src/support/CMakeLists.txt b/src/support/CMakeLis

[LyX/master] In MathStream, change MTag and family to use `str::string` instead of C strings.

2025-02-06 Thread Thibaut Cuvelier
commit 3d7d76f578aa48a6b2add2b75b779eebe001723f Author: Thibaut Cuvelier Date: Thu Feb 6 23:35:02 2025 +0100 In MathStream, change MTag and family to use `str::string` instead of C strings. `string_view`s would be a great replacement for `const std::string &`, by the way. --- sr

[LyX/master] Rename latexkeys::MathMLtype to avoid using upper case.

2025-02-06 Thread Thibaut Cuvelier
commit f2c3a6ff150ea75a754fa26f587018dd5a055a33 Author: Thibaut Cuvelier Date: Thu Feb 6 22:00:45 2025 +0100 Rename latexkeys::MathMLtype to avoid using upper case. --- src/mathed/InsetMathSymbol.cpp | 8 src/mathed/MacroTable.cpp | 2 +- src/mathed/MathParser.cpp | 2 +-