Commit Graph

39376 Commits

Author SHA1 Message Date
Juergen Spitzmueller
70d88f02e7 Yet another deprecation fix (this is the last one I am aware of)
(cherry picked from commit 9f92fc92bd)
(cherry picked from commit 67c85f54c4)
2021-06-03 17:01:07 +02:00
jpc
4688094c58 Mark as French pieces of text detected as English by Kornel 2021-05-31 17:54:06 +02:00
jpc
a3aed22877 Strikethrough vocabulary 2021-05-17 10:35:09 +02:00
jpc
8b24e7f825 Fix typo in fr.po 2021-04-25 11:27:47 +02:00
jpc
3ddd91487f Update Franch Additional manual
Update status
2021-04-13 18:51:46 +02:00
Juergen Spitzmueller
416d78076e Update status 2021-04-12 09:23:06 +02:00
Juergen Spitzmueller
4d21c899a8 Set advanced repl_buffer internal as well (#12246) 2021-04-12 09:21:57 +02:00
Juergen Spitzmueller
9a32d7b07c Mark c&p buffers internal. Cures assertion (#12246) 2021-04-12 09:19:27 +02:00
Pavel Sanda
b10777e059 Update bg.po from Veselin 2021-03-31 14:36:23 +02:00
Pavel Sanda
7b40b26a45 Remerge bg.po 2021-03-31 14:35:26 +02:00
Kornel Benko
271e1339df Update sk.po 2021-03-29 13:44:39 +02:00
jpc
7c8e7cef73 Update fr.po 2021-03-29 10:38:56 +02:00
Juergen Spitzmueller
c1e10c7185 Fix copy of multi-cells in table (#12196)
(cherry picked from commit ae892bff98)
2021-03-28 10:17:24 +02:00
Jean-Marc Lasgouttes
4b2bb08884 Fix display of emphasize in slanted text
Fixes bug #12175.

(cherry picked from commit 610ea7f4f5)
2021-03-27 19:32:15 +01:00
Scott Kostyshak
0f17c6a98f Fix Qt deprecation warns for setAutoCompletion()
This commit fixes a few warnings from Qt 5.14 like the following
one:

  error: ‘void QComboBox::setAutoCompletion(bool)’ is deprecated: Use setCompleter() instead. [-Werror=deprecated-declarations]

We only generated setAutoCompletion() from setting the property in
the .ui files. There does not seem to be a .ui file property that
generates setCompleter(). However, the default in both Qt5 [1] and
Qt4 [2] is to enable case-insensitive autocompletion, which seems to
be the same type of autocompletion as when we were relying on
setAutoCompletion(true). Thus, we can remove the properties that set
autocomplete to true. There is only one file, SearchUi.ui, where we
were turning off the autocompletion; we now do so using
setCompleter(0) in GuiSearch::GuiSearch().

[1] https://doc.qt.io/qt-5/qcombobox.html#setCompleter
[2] https://doc.qt.io/archives/qt-4.8/qcombobox.html#setCompleter

(manually cherry picked from commit 27ba830b8e)
2021-03-17 22:13:10 -04:00
Jean-Marc Lasgouttes
847312daea rawName() is only used with Qt4.
Fixes warning:
../../../../stable/src/frontends/qt4/GuiFontLoader.cpp:132:9: warning: ‘QString lyx::frontend::{anonymous}::rawName(const QString&)’ defined but not used [-Wunused-function]
  132 | QString rawName(QString const & family)
      |         ^~~~~~~
2021-03-13 21:57:35 +01:00
Juergen Spitzmueller
511abbf4ce Backport QTime related deprecation fix 2021-03-13 12:48:13 +01:00
Juergen Spitzmueller
9671f8ca20 Backport getContentsMargins() deprecation fix 2021-03-13 12:21:50 +01:00
Juergen Spitzmueller
1a3f150632 Backport QList::fromSet() deprecation warning 2021-03-13 12:19:38 +01:00
Juergen Spitzmueller
1a9bdb4452 Backport setTextColor deprecation fixes 2021-03-13 12:06:23 +01:00
Juergen Spitzmueller
75095fdc6e Backport QMatrix deprecation fixes 2021-03-13 12:06:06 +01:00
Juergen Spitzmueller
f02e79e204 Backport QPixmap::find() deprecation warning fixes 2021-03-13 12:05:36 +01:00
Juergen Spitzmueller
85ece5fb3d Backport GuiFontLoader deprecation warning fixes 2021-03-13 12:04:58 +01:00
Juergen Spitzmueller
aad8804549 Backport qSort deprecation fixes 2021-03-13 11:46:49 +01:00
Juergen Spitzmueller
935e51837d Yet another deprecation fix 2021-03-13 11:46:15 +01:00
Juergen Spitzmueller
da0d01cc10 Backport deprecation fix 2021-03-13 11:29:54 +01:00
Juergen Spitzmueller
472f4f0a9d Backport QFontMetrics::width deprecation fix 2021-03-13 11:06:11 +01:00
Juergen Spitzmueller
7922b761f5 Deprecation fix backport 2021-03-13 10:48:10 +01:00
Juergen Spitzmueller
d53e74d11b Next deprecation fix backport 2021-03-13 10:47:53 +01:00
Juergen Spitzmueller
007a49a132 Backport another straightforward deprecation fix 2021-03-13 10:46:59 +01:00
Juergen Spitzmueller
67b829bf09 Backport one more deprecation fix 2021-03-13 10:16:40 +01:00
Juergen Spitzmueller
548c165ae0 Fix deprecation warning 2021-03-13 09:17:21 +01:00
Jean-Marc Lasgouttes
2089fa7fa0 Avoid pointless 'undefined flex inset' errors
When switching class, it does not make sense to flag flex insets that
are undefined if they were already undefined before.

Part of bug #12163.

(cherry picked from commit 009efa195b)
2021-03-06 19:39:29 +01:00
Juergen Spitzmueller
8c00556d57 Fix wrap-around of spellchecker (#10383) 2021-03-06 08:27:30 +01:00
Juergen Spitzmueller
74ebb1de7f Remove redundant call (amend 2b7fae04f3)
(cherry picked from commit 23fc1b270d)
2021-03-06 08:08:56 +01:00
Juergen Spitzmueller
a44d0d2652 Fix limiting of absurdly large input to thesaurus (#10528)
(cherry picked from commit 2b7fae04f3)
2021-03-06 08:03:44 +01:00
Jean-Marc Lasgouttes
8b6460e4f2 Improve HiDpi handling
Add code stolen from QBitTorrent and Qt Creator that properly enables
HighDpi handling.

The rules are:

1/ nothing needs to be done for macOS and Qt >= 6

2/ HighDpi support is set by default starting with Qt 5.6.

3/ Support for fractional scaling is added for Qt >= 5.14.

Hopefully fixes bug #12060.

(cherry picked from commit d7a4f47e7d)
(cherry picked from commit f92f2f95ff)
2021-03-04 10:21:17 +01:00
jpc
5adb555006 Update Additional.lyx 2021-03-02 18:54:40 +01:00
Kornel Benko
d8cceefbf2 Update sk.po 2021-03-02 09:47:07 +01:00
Jean-Marc Lasgouttes
007a192fae Add Qt platform name in About dialog
(cherry picked from commit 234886f6eb)
2021-03-02 08:30:45 +01:00
jpc
9a74a51791 Update French Additional manual 2021-03-01 18:50:59 +01:00
jpc
1a57168228 Last French UserGuide and fr.po updates 2021-03-01 18:04:52 +01:00
Jean-Marc Lasgouttes
cebdac4a6f Remove assertion that is not necessary.
It may happen that there are errors when doing undo, crashing does not
help in this case.

Fixes bug #12163.

(cherry picked from commit 3e3ad2937c)
2021-03-01 12:01:15 +01:00
Enrico Forestieri
9a831200a4 Fix bug #11007
The math color inset inherits the mode of the containing inset.
This mode is inferred by the kind of font in effect. Setting the
right mode allows to insert spaces where these should be allowed.
Another small glitch was that the selection was always parsed in
math mode, so that any space was swallowed, even if the inset would
allow them.
2021-03-01 10:38:02 +01:00
Enrico Forestieri
51ec16b6c7 Fix bug #3751
We lack the necessary font (cmb10) for drawing bold uppercase greek
letters. It would be overkill adding it for this sole purpose, so
adopt the same poor man's bold strategy used with \boldsymbol.
2021-02-28 00:33:43 +01:00
Enrico Forestieri
999831043e Fix bug #3294 2021-02-27 23:31:25 +01:00
jpc
95aef13dc6 Update status 2021-02-26 11:50:31 +01:00
jpc
ac47ee306c Update fr.po
Change translations of pagebreak and linebreak
2021-02-26 11:46:46 +01:00
Pavel Sanda
dd214d3acc By report autoconf 2.71 works, 2.70 is known to have compatibility issues. 2021-02-22 20:44:08 +01:00
Enrico Forestieri
c1ef23e54e Fix bug #12148
(cherry picked from commit 7114de5175)
2021-02-19 22:41:18 +01:00