]>
git.lyx.org Git - lyx.git/log
Pavel Sanda [Tue, 15 Nov 2022 12:57:48 +0000 (13:57 +0100)]
update cs.po
Pavel Sanda [Tue, 15 Nov 2022 12:55:52 +0000 (13:55 +0100)]
remerge cs.po
Jean-Marc Lasgouttes [Wed, 9 Nov 2022 09:26:10 +0000 (10:26 +0100)]
document recent changes
Jean-Marc Lasgouttes [Tue, 8 Nov 2022 22:58:02 +0000 (23:58 +0100)]
gcc 12 compilation fixes
Jean-Marc Lasgouttes [Fri, 24 Jun 2022 11:27:55 +0000 (13:27 +0200)]
Fix configure script with autoconf 2.71
Not a backport, but related to
e4416535 .
Jean-Marc Lasgouttes [Thu, 28 Apr 2022 13:31:54 +0000 (15:31 +0200)]
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.
Pavel Sanda [Wed, 7 Sep 2022 18:23:01 +0000 (20:23 +0200)]
* cs.po
jpc [Tue, 5 Apr 2022 07:14:48 +0000 (09:14 +0200)]
Update fr.po
Stephan Witt [Tue, 15 Feb 2022 21:12:00 +0000 (22:12 +0100)]
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
f2f861f017bd598c9e5b72f64e10587cbe1e3405 )
jpc [Mon, 14 Feb 2022 10:18:43 +0000 (11:18 +0100)]
Update fr.po
Jean-Marc Lasgouttes [Thu, 16 Dec 2021 11:38:19 +0000 (12:38 +0100)]
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
c213eb7f75d53165f55e64f0149fec833e5b5b5e )
(cherry picked from commit
1ed9257c6dc57fc11990b86d5774ac9a8e70cfa6 )
Stephan Witt [Sun, 24 Oct 2021 19:43:23 +0000 (21:43 +0200)]
#12150 don't set the directory file permissions of LyX app bundle to 444 anymore
(cherry picked from commit
c38e759b283df3074f1cfb2897115162af337464 )
plus status entry
Stephan Witt [Sun, 31 Oct 2021 09:35:15 +0000 (10:35 +0100)]
#12247 disable Qt5 modifier hack for Qt-5.12 version or newer
backport of commit
c5262f04a266cc2e499a4a341daf9528feaa8dd3
jpc [Mon, 25 Oct 2021 08:42:32 +0000 (10:42 +0200)]
Update fr.po
Stephan Witt [Sun, 14 Feb 2021 18:04:33 +0000 (19:04 +0100)]
#11925 Remove the gap between button frame and button background (by Daniel Ramoeller)
(cherry picked from commit
3d616bfc79866a8b7c97f1fd4d566eefb3da6f40 )
Juergen Spitzmueller [Thu, 21 Oct 2021 15:01:40 +0000 (17:01 +0200)]
de.po
Kornel Benko [Thu, 21 Oct 2021 14:42:42 +0000 (16:42 +0200)]
Update sk.po
Pavel Sanda [Thu, 21 Oct 2021 14:02:56 +0000 (16:02 +0200)]
Pavel Sanda [Thu, 21 Oct 2021 13:17:39 +0000 (15:17 +0200)]
Improve error msg.
Pavel Sanda [Thu, 21 Oct 2021 13:16:59 +0000 (15:16 +0200)]
* cs.po
Pavel Sanda [Thu, 21 Oct 2021 13:15:49 +0000 (15:15 +0200)]
Remerge cs.po
jpc [Tue, 19 Oct 2021 09:27:45 +0000 (11:27 +0200)]
Update fr.po
Kornel Benko [Mon, 18 Oct 2021 08:39:21 +0000 (10:39 +0200)]
Update sk.po
Juergen Spitzmueller [Mon, 18 Oct 2021 06:48:05 +0000 (08:48 +0200)]
de.po
Juergen Spitzmueller [Sun, 17 Oct 2021 09:30:24 +0000 (11:30 +0200)]
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
354362618280c8f80603672e06b650ac557b3837 )
Juergen Spitzmueller [Sun, 17 Oct 2021 09:29:18 +0000 (11:29 +0200)]
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
f3500725655c2a219d86f5f341195b4ae365ab4c )
Kornel Benko [Sat, 16 Oct 2021 09:31:31 +0000 (11:31 +0200)]
Cmake build: Remove some deprecation warnings
Kornel Benko [Sat, 16 Oct 2021 09:23:34 +0000 (11:23 +0200)]
Cmake build: disable warning deprecated-copy when supported
Jean-Marc Lasgouttes [Fri, 15 Oct 2021 15:05:04 +0000 (17:05 +0200)]
Jean-Marc Lasgouttes [Fri, 15 Oct 2021 14:20:40 +0000 (16:20 +0200)]
Explicit InsetTableCell copy constructor
Use explicit default syntax (C++11).
Adapted from:
commit
bff97ba76d65da3f9048ef107b29ee642bdd5229
commit
3d46cc302bcff979a874ef2ea9c8a56a85aaec77
Jean-Marc Lasgouttes [Fri, 15 Oct 2021 15:41:01 +0000 (17:41 +0200)]
Fix more unintended copies in range-based for loops
Spotted by g++ 11.
Jean-Marc Lasgouttes [Fri, 15 Oct 2021 14:10:04 +0000 (16:10 +0200)]
Avoid some more copies in range-based for loops
This triggers warnings with clang++ 10 and gcc 11.
(cherry-picked from commit
7035e230caa69a2e35f16dcf0d9696c59cef5c4c )
Jean-Marc Lasgouttes [Tue, 28 Apr 2020 11:27:50 +0000 (13:27 +0200)]
Do not for copies in range-based for loops.
Spotted by clang++ 10.
(cherry picked from commit
a85c48de5a15c4f70f79a53b451fbe0d083e9ece )
Jean-Marc Lasgouttes [Fri, 15 Oct 2021 13:49:40 +0000 (15:49 +0200)]
Remove variable that is not used
Spotted by clang++ 13.
(cherry picked from commit
d99502d9154e7e51a665f03963e010411e9545be )
Pavel Sanda [Thu, 14 Oct 2021 19:57:57 +0000 (21:57 +0200)]
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
1c1c83eced96 ), let's be prudent here.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg216414.html
Juergen Spitzmueller [Tue, 12 Oct 2021 05:42:21 +0000 (07:42 +0200)]
Prevent null pointer
No status entry needed (this bug crept in after the last release)
Stephan Witt [Wed, 16 Jun 2021 05:58:32 +0000 (07:58 +0200)]
#12305 add status entry for back-port
Stephan Witt [Wed, 16 Jun 2021 05:45:20 +0000 (07:45 +0200)]
#12305 Correct typo in library name QtDBus - fatal error with case sensitive file systems
(cherry picked from commit
15d1f2c76d523f89c7223022e2f73aec3f2e7e15 )
Juergen Spitzmueller [Fri, 12 Mar 2021 11:14:42 +0000 (12:14 +0100)]
Yet another deprecation fix (this is the last one I am aware of)
(cherry picked from commit
9f92fc92bdd41c367b0975454a01c15403d51a60 )
(cherry picked from commit
67c85f54c4d7422b715898070e63dfe7a984a6ca )
jpc [Mon, 31 May 2021 15:54:06 +0000 (17:54 +0200)]
Mark as French pieces of text detected as English by Kornel
jpc [Mon, 17 May 2021 08:35:09 +0000 (10:35 +0200)]
Strikethrough vocabulary
jpc [Sun, 25 Apr 2021 09:27:47 +0000 (11:27 +0200)]
Fix typo in fr.po
jpc [Tue, 13 Apr 2021 16:51:46 +0000 (18:51 +0200)]
Update Franch Additional manual
Update status
Juergen Spitzmueller [Mon, 12 Apr 2021 07:23:06 +0000 (09:23 +0200)]
Update status
Juergen Spitzmueller [Mon, 12 Apr 2021 07:21:57 +0000 (09:21 +0200)]
Set advanced repl_buffer internal as well (#12246)
Juergen Spitzmueller [Mon, 12 Apr 2021 07:19:27 +0000 (09:19 +0200)]
Mark c&p buffers internal. Cures assertion (#12246)
Pavel Sanda [Wed, 31 Mar 2021 12:36:23 +0000 (14:36 +0200)]
Update bg.po from Veselin
Pavel Sanda [Wed, 31 Mar 2021 12:35:26 +0000 (14:35 +0200)]
Remerge bg.po
Kornel Benko [Mon, 29 Mar 2021 11:44:39 +0000 (13:44 +0200)]
Update sk.po
jpc [Mon, 29 Mar 2021 08:38:56 +0000 (10:38 +0200)]
Update fr.po
Juergen Spitzmueller [Fri, 12 Mar 2021 16:41:43 +0000 (17:41 +0100)]
Fix copy of multi-cells in table (#12196)
(cherry picked from commit
ae892bff98962359e3a29d0d3bc7e69bdc3ea72b )
Jean-Marc Lasgouttes [Sun, 7 Mar 2021 12:29:21 +0000 (13:29 +0100)]
Fix display of emphasize in slanted text
Fixes bug #12175.
(cherry picked from commit
610ea7f4f503d690287c75fc5e8b003e1d7b5c96 )
Scott Kostyshak [Thu, 18 Mar 2021 02:13:10 +0000 (22:13 -0400)]
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
27ba830b8ef513c8332e15747797844a97807791 )
Jean-Marc Lasgouttes [Sat, 13 Mar 2021 20:57:18 +0000 (21:57 +0100)]
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)
| ^~~~~~~
Juergen Spitzmueller [Sat, 13 Mar 2021 11:48:13 +0000 (12:48 +0100)]
Backport QTime related deprecation fix
Juergen Spitzmueller [Sat, 13 Mar 2021 11:21:50 +0000 (12:21 +0100)]
Backport getContentsMargins() deprecation fix
Juergen Spitzmueller [Sat, 13 Mar 2021 11:19:38 +0000 (12:19 +0100)]
Backport QList::fromSet() deprecation warning
Juergen Spitzmueller [Sat, 13 Mar 2021 11:06:23 +0000 (12:06 +0100)]
Backport setTextColor deprecation fixes
Juergen Spitzmueller [Sat, 13 Mar 2021 11:06:06 +0000 (12:06 +0100)]
Backport QMatrix deprecation fixes
Juergen Spitzmueller [Sat, 13 Mar 2021 11:05:36 +0000 (12:05 +0100)]
Backport QPixmap::find() deprecation warning fixes
Juergen Spitzmueller [Sat, 13 Mar 2021 11:04:58 +0000 (12:04 +0100)]
Backport GuiFontLoader deprecation warning fixes
Juergen Spitzmueller [Sat, 13 Mar 2021 10:46:49 +0000 (11:46 +0100)]
Backport qSort deprecation fixes
Juergen Spitzmueller [Sat, 13 Mar 2021 10:46:15 +0000 (11:46 +0100)]
Yet another deprecation fix
Juergen Spitzmueller [Sat, 13 Mar 2021 10:29:54 +0000 (11:29 +0100)]
Backport deprecation fix
Juergen Spitzmueller [Sat, 13 Mar 2021 10:06:11 +0000 (11:06 +0100)]
Backport QFontMetrics::width deprecation fix
Juergen Spitzmueller [Sat, 13 Mar 2021 09:48:10 +0000 (10:48 +0100)]
Deprecation fix backport
Juergen Spitzmueller [Sat, 13 Mar 2021 09:47:53 +0000 (10:47 +0100)]
Next deprecation fix backport
Juergen Spitzmueller [Sat, 13 Mar 2021 09:46:59 +0000 (10:46 +0100)]
Backport another straightforward deprecation fix
Juergen Spitzmueller [Sat, 13 Mar 2021 09:16:40 +0000 (10:16 +0100)]
Backport one more deprecation fix
Juergen Spitzmueller [Sat, 13 Mar 2021 08:17:21 +0000 (09:17 +0100)]
Fix deprecation warning
Jean-Marc Lasgouttes [Tue, 2 Mar 2021 08:12:47 +0000 (09:12 +0100)]
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
009efa195bf2837a007c0b070261b34a715b9b39 )
Juergen Spitzmueller [Sat, 6 Mar 2021 07:27:30 +0000 (08:27 +0100)]
Fix wrap-around of spellchecker (#10383)
Juergen Spitzmueller [Fri, 5 Mar 2021 06:54:17 +0000 (07:54 +0100)]
Remove redundant call (amend
2b7fae04f32c )
(cherry picked from commit
23fc1b270d0e3a7ac4ac121115af07f7f1c69a36 )
Juergen Spitzmueller [Fri, 5 Mar 2021 06:51:49 +0000 (07:51 +0100)]
Fix limiting of absurdly large input to thesaurus (#10528)
(cherry picked from commit
2b7fae04f32c2db8aa71c5208f289c7ff77db951 )
Jean-Marc Lasgouttes [Thu, 25 Feb 2021 16:56:11 +0000 (17:56 +0100)]
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
d7a4f47e7d42af33858ff263823bd7cdbea98b57 )
(cherry picked from commit
f92f2f95ffd5f0d9d9704c9d7f67e4a9e74db0f6 )
jpc [Tue, 2 Mar 2021 17:54:03 +0000 (18:54 +0100)]
Update Additional.lyx
Kornel Benko [Tue, 2 Mar 2021 08:47:07 +0000 (09:47 +0100)]
Update sk.po
Jean-Marc Lasgouttes [Tue, 2 Mar 2021 07:28:47 +0000 (08:28 +0100)]
Add Qt platform name in About dialog
(cherry picked from commit
234886f6eb438b68f72f46ed2904fd408741f777 )
jpc [Mon, 1 Mar 2021 17:47:55 +0000 (18:47 +0100)]
Update French Additional manual
jpc [Mon, 1 Mar 2021 17:02:44 +0000 (18:02 +0100)]
Last French UserGuide and fr.po updates
Jean-Marc Lasgouttes [Thu, 25 Feb 2021 19:00:41 +0000 (20:00 +0100)]
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
3e3ad2937cbb26724eb5c898b905f882df8e3a63 )
Enrico Forestieri [Mon, 1 Mar 2021 09:38:02 +0000 (10:38 +0100)]
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.
Enrico Forestieri [Sat, 27 Feb 2021 23:33:43 +0000 (00:33 +0100)]
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.
Enrico Forestieri [Sat, 27 Feb 2021 22:31:25 +0000 (23:31 +0100)]
Fix bug #3294
jpc [Fri, 26 Feb 2021 10:50:31 +0000 (11:50 +0100)]
Update status
jpc [Fri, 26 Feb 2021 10:44:59 +0000 (11:44 +0100)]
Update fr.po
Change translations of pagebreak and linebreak
Pavel Sanda [Mon, 22 Feb 2021 10:09:22 +0000 (11:09 +0100)]
By report autoconf 2.71 works, 2.70 is known to have compatibility issues.
Enrico Forestieri [Fri, 19 Feb 2021 01:19:06 +0000 (02:19 +0100)]
Fix bug #12148
(cherry picked from commit
7114de5175e0d34275b39bb998dd65186d1d219f )
Jean-Marc Lasgouttes [Thu, 11 Feb 2021 15:58:28 +0000 (16:58 +0100)]
DEPM: do not fix cursor pit if it was in a different cell
This bug has been here forever.
Fixes bug #12117.
(cherry-picked from
939d25561d5345d367309b7994eaefa355072456 )
Enrico Forestieri [Thu, 4 Feb 2021 20:20:45 +0000 (21:20 +0100)]
Disable direct insertion of multiple spaces in mathed text
Fixes #1311
(cherry picked from commit
8202e4e571b90b3b87918437d6346bbf1cbfc6aa )
Enrico Forestieri [Sat, 30 Jan 2021 00:32:40 +0000 (01:32 +0100)]
Allow pasting references to mathed
A reference can be directly inserted into mathed but cannot be pasted
because the pasted material is returned in plain text format. This patch
allows getting a string from the cut stack in a suitable format allowing
the math parser to actually create an InsetRef.
Fixes #11539
(cherry picked from commit
22ee249c3ea6426dbf24956ae36986e3ee6f81c0 )
Enrico Forestieri [Sat, 30 Jan 2021 23:51:15 +0000 (00:51 +0100)]
Change backspace behavior in align type equations
When hitting backspace in the first position of a cell in mathed,
if the cell is part of an array, the whole array is dissolved
and the sole cell content pasted in the containing environment.
But if the cell is part of an eqnarray or align math hull type, the
cursor is simply (and unexpectedly) taken out of the whole equation,
which is left unchanged.
This patch makes backspace equivalent to the cursor left key in those
cases, while leaving the behavior unchanged in all other ones.
Fixes #11678
(cherry picked from commit
c79ec4114e419ae8f4711c4c07ab0df19dafaaa3 )
Juergen Spitzmueller [Fri, 29 Jan 2021 14:45:54 +0000 (15:45 +0100)]
Do not output \maketitle in table cells if the table is in the title
(cherry picked from commit
6d05e7816863c08ce2826b3e3a8170ebd3b9bcd0 )
Jean-Marc Lasgouttes [Fri, 8 Jan 2021 09:11:23 +0000 (10:11 +0100)]
Fixup
20e1fe46 : fix the StartupWMClass in desktop file
(cherry picked from commit
20e1fe4674cdcd0164c74f76dddd882d95ea3c88 )
Jean-Marc Lasgouttes [Fri, 8 Jan 2021 18:27:19 +0000 (19:27 +0100)]
Move handling of LFUN_COPY to BufferView
It turns out that the code is the same in texted ans mathed and that
whatever is done in InsetTabular is not useful.
This means that we do not need to deal Text::dispatch idiosyncrasies
(in particular forcing the cursor to be visible).
Fix bug #11225.
(cherry picked from commit
9e1db65932b895778525c48d524adfad2ae37739 )
Pavel Sanda [Wed, 6 Jan 2021 15:22:48 +0000 (16:22 +0100)]
* cs.po
Eugene Chornyi [Sun, 3 Jan 2021 19:11:49 +0000 (20:11 +0100)]
Fix bug 9961
remove the error message for not finding a pdf viewer (apparently empty string is returned by FindExecutable if the executable is a Windows Store app). If there is really no pdf viewer, let the Windows itself decide what to do (produce error or not and which one).
Juergen Spitzmueller [Mon, 28 Dec 2020 08:58:30 +0000 (09:58 +0100)]
Re-enable input of non-LyX files (e.g., tex, pgf) (#12056)
This amends [
a385b7dc2b58 /lyxgit]
(cherry picked from commit
2af8e661a3a7652f31bbef4890a4b9290bf0febd )
Jean-Marc Lasgouttes [Wed, 18 Nov 2020 15:41:19 +0000 (16:41 +0100)]
Do nothing if hunspell support is disabled
(cherry picked from commit
031720b66a40bd7b520b4b01d894a0244cdcc32a )
Kornel Benko [Wed, 12 Jun 2019 17:29:46 +0000 (19:29 +0200)]
Amend
c3484fa6 , adapt cmake-build to new hunspell-version
(cherry picked from commit
cf980435b12e697b90508924cf0c82dd3c1c0b36 )