Commit Graph

47109 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
159e8f2dde Re-instate support for Qt 5.9.4
It was a bit overkill to require support for Qt 5.12 at 6ba2b5c5 and
c39d5b76. Revert partly these commits.
2024-11-04 17:22:21 +01:00
Scott Kostyshak
0bd1951184 ctests: update log 2024-11-04 13:43:35 +01:00
Juergen Spitzmueller
3a040ecdf1 Merge branch 'master' of git.lyx.org:lyx 2024-11-04 12:07:12 +01:00
Juergen Spitzmueller
7e161a9d5d Fix endless loop in lyx2lyx reversion routine 2024-11-04 12:06:18 +01:00
Jean-Marc Lasgouttes
2c694ccc2b Fix search for a good c++ compiler
Bash evaluates "c++{17,14}" as "c++17 c++14", but "c++-{17}" as "c++{17}".
2024-11-04 12:01:18 +01:00
Scott Kostyshak
1ef2f135d2 ctests: update log 2024-11-04 10:40:53 +01:00
Thibaut Cuvelier
cc2c3e648a MathStream: add missing spaces after commas. 2024-11-04 01:22:22 +01:00
Thibaut Cuvelier
3d560f9043 lyx2lyx for format 631: the new tag was inserted one line too late in the header and thus detected as part of the body when LyX parses the document. 2024-11-04 01:14:04 +01:00
Thibaut Cuvelier
c8fe57580a Add a missing subscript in lyx2lyx. 2024-11-04 00:54:03 +01:00
Juergen Spitzmueller
3e6ca9b884 More Qt enum fixes 2024-11-03 06:02:41 +01:00
Thibaut Cuvelier
08d316491f Fix two typos in comments 2024-11-03 03:31:45 +01:00
Juergen Spitzmueller
11cbc3c4a7 Fix AboutLyX layout
* remove wrong (sub)namespaces. This are inserted by newer versions of
  designer, although they are wrong
* add vertical spacer
* make horizontal spacer expand
2024-11-02 14:39:59 +01:00
Pavel Sanda
caff99419a Move header include to cpp. 2024-11-01 20:04:43 +01:00
Thibaut Cuvelier
f6405ef853 Fix a tautological condition. 2024-11-01 17:57:06 +01:00
Scott Kostyshak
24a709ce22 Update tex2lyx tests
From what I understand, the changes are expected.
2024-11-01 17:10:01 +01:00
Juergen Spitzmueller
561aa8bb32 Fix loading order of fancyhdr (#13118)
This must be loaded after geometry (amends ca4fc01847)
2024-11-01 14:49:29 +01:00
Pavel Sanda
a7845b561e Header not needed anymore 2024-10-31 21:32:42 +01:00
Pavel Sanda
a8afca4de0 Header not needed anymore. 2024-10-30 20:29:54 +01:00
Jean-Marc Lasgouttes
e30758166e Revert "Remove workaround that is not needed anymore with Qt 5.12"
We want to support Qt 5.9 for now.

This reverts commit 8837f8ca8c.
2024-10-30 19:31:59 +01:00
Kornel Benko
7d8c1fcf64 Cmake url tests: try to check also some modified urls
If the url contains 'ctan', try to determine the correct url depending
of the components to deside if using 'https://www.ctan.org' or rather
https://mirrors.ctan.org.
Without 'ctan' try to check https:// instead of ftp:// or http://
2024-10-30 11:15:47 +01:00
Thibaut Cuvelier
110e654b67 InsetMathFont: harden the new switches against unexpected values. 2024-10-30 01:58:54 +01:00
Pavel Sanda
87fb63220a File removed at 1c458dc121. 2024-10-29 19:58:19 +01:00
Thibaut Cuvelier
73c19cae41 Amend 7feffb89: restore the meaning of the elements in the QComboBox.
The order is not user-friendly, but correct. Before this patch, the elements in the UI didn't correspond to the implemented behaviour. The problem is the order: the first element is always MathML, the second HTML, etc. I think we should rather use some `userData` in QComboBox items to decouple the order from the semantics.
2024-10-29 04:31:41 +01:00
Thibaut Cuvelier
5c17e07bd1 Math: support all font combinations in HTML.
This code cannot yet be triggered, we need nesting first.
2024-10-29 04:24:01 +01:00
Thibaut Cuvelier
78ce5ebc45 Math: use the new MathFontInfo class to determine HTML and MathML attributes. 2024-10-29 04:24:01 +01:00
Thibaut Cuvelier
9a81bb36f4 Math: add a structure to hold font information.
It will allow to merge a lot of code for MathML and HTML: same parsing, slightly different outputs. The refactoring also shows clearly what parts are missing in HTML (while being easily fixable). The change is a prerequisite for implementing font nesting (although it is not done yet).

The new class is not yet used within InsetMathFont; it will come in the next commit.

Open question: should we use InsetMath::mode_type somewhere? I believe so, to determine whether the current default is italics or not in MathML.
2024-10-29 04:24:01 +01:00
Thibaut Cuvelier
91a85dd96a Amend 477e36db.
This was the wrong place...
2024-10-29 03:55:40 +01:00
Thibaut Cuvelier
477e36db9f MathML: add a note about small caps. 2024-10-29 03:17:12 +01:00
Thibaut Cuvelier
7feffb89e9 MathML: let the user change the MathML version.
Discussed in https://www.lyx.org/trac/ticket/13058.
2024-10-29 01:58:56 +01:00
Pavel Sanda
df1ba8ee59 Little ugly, but we can get rid of QString as well. 2024-10-24 20:11:05 +02:00
Pavel Sanda
6e832efbde QHeaderView is unecessarily heavy to include everywhere 2024-10-24 19:53:01 +02:00
Pavel Sanda
b2d157a4da No need to include Buffer.h everywhere 2024-10-24 19:44:06 +02:00
Jean-Marc Lasgouttes
a2c1229ac1 Handle backslash at end of line
This occurs when importing the sampleart.ltx file from ltugboat document class.
2024-10-24 17:35:00 +02:00
Kornel Benko
d6fba3b94e Cmake build: Start demanding at least version 5.1 if compiling with gcc 2024-10-24 14:52:22 +02:00
Kornel Benko
cd3d3957c5 Amend 09684899d6 for cmake build: 2024-10-24 14:36:40 +02:00
Kornel Benko
6c46cc66c9 Amend 02beaa0a7b for cmake build 2024-10-24 14:19:16 +02:00
Kornel Benko
de08319c73 Update sk.po 2024-10-24 12:04:09 +02:00
Kornel Benko
112208ddd9 Amend c916bd15 for cmake build: Require C++17 2024-10-24 11:36:09 +02:00
Kornel Benko
7bba9a3ade Amend 6ba2b5c5 for cmake build: Require at least Qt 5.12 2024-10-24 11:36:09 +02:00
Pavel Sanda
26d27eda58 Requiring C+11 & purging boost includes makes bind.h useless. 2024-10-23 20:07:16 +02:00
Jean-Marc Lasgouttes
88e092ae02 Fixup c39d5b76: the wrong branch of #if was retained. 2024-10-23 15:34:27 +02:00
Jean-Marc Lasgouttes
438fed6b62 Mac OS X is macOS these days 2024-10-23 14:14:04 +02:00
Jean-Marc Lasgouttes
19ef7a2dea Remove references to older Qt versions 2024-10-23 13:43:36 +02:00
Jean-Marc Lasgouttes
0a4f7db022 If the comment is correct, this code is not needed anymore
This was introduced at 3da25187.
2024-10-23 13:41:14 +02:00
Jean-Marc Lasgouttes
8837f8ca8c Remove workaround that is not needed anymore with Qt 5.12
See discussion at
https://stackoverflow.com/questions/10755058/qflags-enum-type-conversion-fails-all-of-a-sudden
2024-10-23 13:37:29 +02:00
Jean-Marc Lasgouttes
29c4e4706e Use QT_CHECK_VERSION to condition on qt version 2024-10-23 13:23:05 +02:00
Jean-Marc Lasgouttes
c39d5b760c Require at least Qt 5.12. Part2: Qt frontend
Most of it is fairly mechanical, but some parts require care.
2024-10-23 12:00:20 +02:00
Jean-Marc Lasgouttes
6ba2b5c5b9 Require at least Qt 5.12
Update the #if confitional accordingly everywhere excpt in frontends/qt.

Update INSTALL and README.

Cmake will need to be updated too.
2024-10-23 10:50:23 +02:00
Pavel Sanda
3f6eb9523d Document GCC dependency. 2024-10-22 21:05:39 +02:00
Pavel Sanda
aa7ca6a6bd Requiring C+11 & purging boost includes makes functional.h useless. 2024-10-22 20:45:20 +02:00