Commit Graph

39410 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
9fc89762ee Fix configure script with autoconf 2.71
Not a backport, but related to e4416535.
2022-11-08 23:59:58 +01:00
Jean-Marc Lasgouttes
2849127f44 Run autoupdate to remove many warnings
Autoconf 2.71 now show all warnings. Instead of cherry picking the 2.4
patch, the choice was made to apply autoupdate directly.

Additionally, AC_INIT now clearly indicates that automake >= 1.14 is required.
2022-11-08 23:59:58 +01:00
Pavel Sanda
b65c5480e8 * cs.po 2022-09-07 20:23:01 +02:00
jpc
5c47048047 Update fr.po 2022-04-05 09:14:48 +02:00
Stephan Witt
c22119eb1c Use real path names for buffer lookup by name of temporary external files.
In case of path names for external files containing symbolic links the real path
and the logical path name may be different for the same file or directory.
LyX is using QDir::tempPath() to create the path name of the temporary directory.
The Qt implementation is free to return the logical or the real path name here and
it happens to be different for various platforms and versions.
The most stable and clean solution is to use the real path name consistently.

(cherry picked from commit f2f861f017)
2022-02-20 14:18:26 +01:00
jpc
a12f66d7bc Update fr.po 2022-02-14 11:18:43 +01:00
Jean-Marc Lasgouttes
1def11d296 Add lyxrc option to force the use of backing store
LyX relies on a a backing store to draw when running under macOS or
Wayland, because Qt arbitrarily overwrites parts of the workarea
before we paint (and we paint only the parts that need to be painted).
However it seems that this is also necessary on X11 when the WM theme
is translucid. Since there is no way that I know of to detect this
situation, this patch adds a LyXRC setting to manually select this
drawing strategy.

Note that using a backing store is not always a good solution, since
this disables subpixel aliasing.

At this point there is no UI for the variable.

Fixes bug #12119

(cherry picked from commit c213eb7f75)
(cherry picked from commit 1ed9257c6d)
2022-01-13 17:24:28 +01:00
Stephan Witt
4455585608 #12150 don't set the directory file permissions of LyX app bundle to 444 anymore
(cherry picked from commit c38e759b28)

plus status entry
2021-10-31 10:39:27 +01:00
Stephan Witt
8b7c1d7800 #12247 disable Qt5 modifier hack for Qt-5.12 version or newer
backport of commit c5262f04a2
2021-10-31 10:35:15 +01:00
jpc
88944acf99 Update fr.po 2021-10-25 10:42:32 +02:00
Stephan Witt
dd18429aaa #11925 Remove the gap between button frame and button background (by Daniel Ramoeller)
(cherry picked from commit 3d616bfc79)
2021-10-21 22:10:24 +02:00
Juergen Spitzmueller
6a6cd13e64 de.po 2021-10-21 17:01:40 +02:00
Kornel Benko
145dc3149f Update sk.po 2021-10-21 16:42:42 +02:00
Pavel Sanda
1c93e3e695 backport 6770fe5f38 2021-10-21 16:02:56 +02:00
Pavel Sanda
c2a9f55be8 Improve error msg. 2021-10-21 15:17:39 +02:00
Pavel Sanda
202fd4a9f6 * cs.po 2021-10-21 15:16:59 +02:00
Pavel Sanda
66d2734292 Remerge cs.po 2021-10-21 15:15:49 +02:00
jpc
2de7e8dcc1 Update fr.po 2021-10-19 11:27:45 +02:00
Kornel Benko
c14c254e6b Update sk.po 2021-10-18 10:39:21 +02:00
Juergen Spitzmueller
a3533eeb4f de.po 2021-10-18 08:48:05 +02:00
Juergen Spitzmueller
c276c3e7b1 Do not change bibliography processor to default if it is not found
Rather than that, keep it with a warning that it is not available.
Fallback procedure (which maintains security measures) is done in
the conversion step.

This prevents document properties being silently changed on sharing.

(cherry picked from commit 3543626182)
2021-10-18 08:38:10 +02:00
Juergen Spitzmueller
c7d29be153 Provide proper fallback if a bibliography processor is not found
Check for appropriate fallbacks and warn user if the requested
bibliography processor is unavailable.

(cherry picked from commit f350072565)
2021-10-18 08:34:19 +02:00
Kornel Benko
4e59593514 Cmake build: Remove some deprecation warnings 2021-10-16 11:31:31 +02:00
Kornel Benko
7572771c0f Cmake build: disable warning deprecated-copy when supported 2021-10-16 11:23:34 +02:00
Jean-Marc Lasgouttes
1922ee7d40 Autoconf: disable warning deprecated-copy when supported
Cherry-picked from:
4aee447af1
c52049bb83
37c34c5ca9
2021-10-15 18:11:25 +02:00
Jean-Marc Lasgouttes
dfa97f80d9 Explicit InsetTableCell copy constructor
Use explicit default syntax (C++11).

Adapted from:
commit bff97ba76d
commit 3d46cc302b
2021-10-15 17:43:12 +02:00
Jean-Marc Lasgouttes
09b340a45e Fix more unintended copies in range-based for loops
Spotted by g++ 11.
2021-10-15 17:43:12 +02:00
Jean-Marc Lasgouttes
cca4b8d42a Avoid some more copies in range-based for loops
This triggers warnings with clang++ 10 and gcc 11.

(cherry-picked from commit 7035e230ca)
2021-10-15 17:43:12 +02:00
Jean-Marc Lasgouttes
4d410d0d32 Do not for copies in range-based for loops.
Spotted by clang++ 10.

(cherry picked from commit a85c48de5a)
2021-10-15 17:43:12 +02:00
Jean-Marc Lasgouttes
3beb9b326d Remove variable that is not used
Spotted by clang++ 13.

(cherry picked from commit d99502d915)
2021-10-15 15:51:13 +02:00
Pavel Sanda
cad91ec1bc Guard against possible referencing null.
Those checks might not be needed, but it's not self obvious from
the surrounding code. Because we already experienced crash from
similar change (cf 1c1c83eced), let's be prudent here.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg216414.html
2021-10-14 22:02:32 +02:00
Juergen Spitzmueller
1c1c83eced Prevent null pointer
No status entry needed (this bug crept in after the last release)
2021-10-12 07:42:21 +02:00
Stephan Witt
3be447c9d8 #12305 add status entry for back-port 2021-06-16 07:58:32 +02:00
Stephan Witt
beac25f08e #12305 Correct typo in library name QtDBus - fatal error with case sensitive file systems
(cherry picked from commit 15d1f2c76d)
2021-06-16 07:53:50 +02:00
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