Commit Graph

47016 Commits

Author SHA1 Message Date
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
Jean-Marc Lasgouttes
ae1ecba10c Remove unused #include 2024-10-22 18:08:32 +02:00
Jean-Marc Lasgouttes
84b5fbe326 Get rid of boost/any, use <any> instead
We can do that now that we rely on c++17.

Take this occasion to upgrade boost to version 1.83.

The 3rdparty/boost directory weights now 1MB instead of 2.3MB.
2024-10-22 17:47:15 +02:00
Jean-Marc Lasgouttes
c916bd1502 Require C++17
Add a test that requires <any> header.

Update documentation.

Remove test for C++14.

Typical gcc version we have in mind is gcc 8.
2024-10-22 17:05:56 +02:00
Pavel Sanda
4155452ce4 * Additional manual - drop chktex note, looks available in miktex now 2024-10-21 22:31:46 +02:00
Jean-Marc Lasgouttes
05f50a0544 Fixup 4d51a05c: QTimeZone is available since Qt 6.5 2024-10-21 17:37:43 +02:00
Jean-Marc Lasgouttes
7cda9a1d9f Improve spacing of _v_() helper macro 2024-10-21 15:46:56 +02:00
Jean-Marc Lasgouttes
9bc7d64140 Clean-up uses of statsEnabled() 2024-10-21 15:46:56 +02:00
Jean-Marc Lasgouttes
ac018b0304 Revert "Do not update statistics when not requested."
Actually, this test was already present.

This reverts commit c50debaffc.
2024-10-21 15:46:56 +02:00
Juergen Spitzmueller
4560cfd012 Fix dark/light mode setting and run-time switch with Qt 6.8
The old method doesn't work any longer. This one is also announced to
work cross OSes -- verification on Mac and Win is needed!
2024-10-21 12:34:57 +02:00
Juergen Spitzmueller
5ec247a957 Check for NULL pointer earlier
Reported by Coverity
2024-10-20 08:05:06 +02:00
Jean-Marc Lasgouttes
c50debaffc Do not update statistics when not requested.
If the user decides not to display statistics in the status bar, why
do the computation at all?
2024-10-19 19:02:26 +02:00
Kornel Benko
5d91fb81f9 URL Tests: add some only manually accessible urls 2024-10-19 14:42:44 +02:00
Kornel Benko
affbf6ddc1 Address the url of package in www.ctan.org instead of directory in
mirrors.ctan.org
2024-10-19 13:18:41 +02:00
Juergen Spitzmueller
4d51a05ce4 Address Qt 6.7 deprecation warning
See https://doc.qt.io/qt-6.7/qdatetime-obsolete.html#setTimeSpec
2024-10-19 09:59:37 +02:00
Kornel Benko
d5ade099cf Still some urls remaining, amend 82a0b093 2024-10-18 18:30:22 +02:00
Kornel Benko
36bde673db Cmake url tests: For each http url check (and mark) also the https
variant
2024-10-18 18:28:13 +02:00
Juergen Spitzmueller
1d6b70db64 de/Customization: include new sections on DocBook 2024-10-18 17:03:16 +02:00
Kornel Benko
c9e54c5968 Approved replace 'http:' urls with 'https:' urls
There are still urls without access to their https counterpart left
though.
2024-10-17 13:50:38 +02:00
Juergen Spitzmueller
44f5fb3275 Improve version test in chkconfig
This now only loads the package until it has the version information
and then ends the package input.

This way, we do not need to care about package peculiarities (having
to be loaded after \documentclass or internal dependencies which, if
not given, might break the whole configuration, see #13112)
2024-10-17 09:55:31 +02:00
Scott Kostyshak
b9c8f2c3e2 ctests: uninvert xhtml test thanks to fix
Thanks to the fix at 18657384, this test is fixed.
2024-10-16 19:03:40 +02:00
Jean-Marc Lasgouttes
f4a3f4f29b Give a layout name to math HulInset
This makes it accessible to inset-forall.
2024-10-16 15:19:07 +02:00
Juergen Spitzmueller
1865738417 Escape standalone ampersands in xhtml InsetCitation 2024-10-16 12:55:11 +02:00
Juergen Spitzmueller
b1c388207e Load the minimal class in chkconfig.ltx
Otherwise some packages (e.g. babel and xkeyval) error on checking
2024-10-16 12:06:10 +02:00
Juergen Spitzmueller
ee63d0890e Fix hyphenation patterns check with recent babel
This was broken since 2016.

See discussion in https://www.lyx.org/trac/ticket/13112
2024-10-16 12:05:09 +02:00
Kornel Benko
705c82893a Update sk.po 2024-10-16 10:00:36 +02:00
Juergen Spitzmueller
7287926e05 de.po 2024-10-16 09:02:43 +02:00
Pavel Sanda
abd26f1122 Not needed anymore 2024-10-15 20:09:52 +02:00
Jean-Marc Lasgouttes
507e21f84e Rename word-togglecase to word-invertcase.
As suggested by Jürgen.
2024-10-15 17:36:19 +02:00
Kornel Benko
46a45c625a Update sk.po 2024-10-15 11:25:23 +02:00
Kornel Benko
52b7a4df3f Converted all 'http://lyx.org' urls to the 'https' version
Also change the url to revisionhistory.html' in the Obsoleted templates
2024-10-15 10:54:11 +02:00
Kornel Benko
dfd84f6b8f Cmake url tests: Expand list of invalid urls
These urls will not be tested
2024-10-15 10:50:27 +02:00
Kornel Benko
fdd314e25e Cmake tests urls: Changed log-output for easier parsing 2024-10-15 10:48:26 +02:00
Kornel Benko
7abdcb613d Cosmetics 2024-10-15 10:47:26 +02:00
Pavel Sanda
b7402aecfb * word-togglecase - add description from commit. 2024-10-14 21:00:41 +02:00
Juergen Spitzmueller
7cb1583964 de.po 2024-10-14 18:58:02 +02:00
Jean-Marc Lasgouttes
afc524da3f Add LFUN_WORD_TOGGLECASE (word-togglecase)
The new function word-togglecase is a companion of word-upcase and
word-lowcase: it toggles each character between lowcase and upcase,
which is useful when one FORGOT THE cAPS lOCK KEY.

Add bindings (except for emacs) and a menu entry.
2024-10-14 18:19:09 +02:00
Jean-Marc Lasgouttes
3d2ffc5b53 remove spurious comment 2024-10-14 17:30:32 +02:00
Pavel Sanda
4e0059ad63 eu layouttranslations review from Inaki 2024-10-12 21:49:03 +02:00
Kornel Benko
82a0b09322 Final check for invalid urls
These slipped the previos commits
	-https://www.ctan.org/tex-archive/macros/latex/contrib/covington/
	+https://www.ctan.org/pkg/covington

	-https://git.lyx.org/gitweb/?p=lyx.git;a=tree;f=lib/doc/fr;hb=HEAD
	+https://www.lyx.org/trac/browser/lyxgit/lib/doc/fr?order=name&rev=HEAD

	-https://git.lyx.org/gitweb/?p=lyx.git;a=tree;f=lib/doc;hb=HEAD
	+https://www.lyx.org/trac/browser/lyxgit/lib/doc?order=name&rev=HEAD

The following are only cosmetics
	-https://www.ctan.org/
	+https://www.ctan.org

	-http://mirrors.ctan.org/macros/latex/contrib/fixme/fixme.pdf
	+https://mirrors.ctan.org/macros/latex/contrib/fixme/fixme.pdf
2024-10-12 18:33:01 +02:00
Pavel Sanda
510f17f606 * sv.po - one more iteration, thanks Pavel. 2024-10-11 20:31:18 +02:00
Pavel Sanda
b8317f179e * sv layouttranslations, review for acknowledgement from Pavel 2024-10-10 23:03:43 +02:00
Pavel Sanda
d7effa7fd9 * sv layouttranslations reviewed 2024-10-10 22:48:46 +02:00
Pavel Sanda
41228bb041 * sv.po import major update from branch & remerge 2024-10-10 22:43:33 +02:00