]>
git.lyx.org Git - lyx.git/log
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 )
Jean-Marc Lasgouttes [Mon, 17 Jun 2019 10:17:40 +0000 (12:17 +0200)]
Re-add win_api/config.h and somewhat update CMakeLists.txt
(cherry picked from commit
91c58d9a68ca2f4fc3114fd00cb49d6486420496 )
Jean-Marc Lasgouttes [Wed, 12 Jun 2019 14:38:42 +0000 (16:38 +0200)]
Update the in-source hunspell to version 1.7.0
(cherry picked from commit
c3484fa6c81e14bc2a4df92c4cf0bb043ac4b99a )
Jean-Marc Lasgouttes [Sat, 24 Oct 2020 17:29:34 +0000 (19:29 +0200)]
Replace QFontMetrics::width() by horizontalAdvance() in Qt>=5.11
The method horizontalAdvance() replaces width() starting with Qt 5.11.
To handle this, all direct calls to QFontMetrics::width() are replaced
by calls to GuiFontMetrics::width(), and the code for
GuiFontMetrics::width(QChar) uses horizontalAdvance on newer Qt
versions.
(cherry picked from commit
21422dd6527754d8b7876a6e11b686cd726321ed )
Jean-Marc Lasgouttes [Tue, 17 Nov 2020 16:47:22 +0000 (17:47 +0100)]
Take right margin into account for text inset width
This is particularly important for contents in RtL languages, where
the right margin may contain the paragraph indentation, or
itemize/enumeration symbols.
Fixes bug #12030.
(cherry picked from commit
875b1def4fde82ff06089bd84fc9b3157878c011 )
Jean-Marc Lasgouttes [Tue, 15 Dec 2020 14:25:07 +0000 (15:25 +0100)]
Take label width into account for SubLabel insets
The drawing of the label should not go further than inset width.
Fixes bug #12046.
(cherry picked from commit
3950f054977c60cdbf73c805cbd898003974aaee )
Juergen Spitzmueller [Tue, 15 Dec 2020 14:55:22 +0000 (15:55 +0100)]
Do not close spellchecker after "Replace All" (#11310)
Wrong use of wrapAround here
Enrico Forestieri [Mon, 7 Dec 2020 21:48:27 +0000 (22:48 +0100)]
Typo
Kornel Benko [Mon, 7 Dec 2020 08:13:26 +0000 (09:13 +0100)]
Update sk.po
Richard Kimberly Heck [Sun, 6 Dec 2020 01:27:29 +0000 (20:27 -0500)]
Fix bug #12033.
Silly mistake: Only considered the parent, not grandparents, etc.
(cherry picked from commit
742348262ec6a8f65abc95a50ce0a270b90e4dbb )
Juergen Spitzmueller [Sat, 5 Dec 2020 12:48:14 +0000 (13:48 +0100)]
de.po
Pavel Sanda [Fri, 4 Dec 2020 20:26:30 +0000 (21:26 +0100)]
* Status
Pavel Sanda [Fri, 4 Dec 2020 17:16:44 +0000 (18:16 +0100)]
Improve VCS error message when RCS is not installed.
User's report that it takes time to realize what package
is 'ci' part of, so we can give a hint for the initial
file registration.
Juergen Spitzmueller [Thu, 3 Dec 2020 06:46:39 +0000 (07:46 +0100)]
Add empty line after last \bibitem in bibliography (#12041)
(cherry picked from commit
4a13a29042a05dfeba57ea4d2299d96d6ac7d30e )
Juergen Spitzmueller [Wed, 2 Dec 2020 14:45:48 +0000 (15:45 +0100)]
Polish translation fix (#12013)
(cherry picked from commit
a58990abfd2031221a4a932a96043bee0476004d )
Juergen Spitzmueller [Wed, 25 Nov 2020 12:10:04 +0000 (13:10 +0100)]
Fix tex4ht odt converter
Private message by Michal Hoftich (tex4ht head developer):
oolatex is not recommended way to use Tex4ht for the ODT conversion.
It is better to use
make4ht -f odt mwe.tex
make4ht fixes some issues in ODT files
This is candidate for stable.
(cherry picked from commit
17ebec693ad1fce6961867a5514217707a8f8051 )
Jean-Marc Lasgouttes [Thu, 12 Nov 2020 11:09:36 +0000 (12:09 +0100)]
Store correctly the window position with Wayland
To do this, hard-coded test for xcb had to be replaced with a call to
platformName(). Since this method does not exist in Qt4, we emulate
it.
Note that Qt5 uses xcb bindings for X11 system, while Qt4 relies on
older X11 bindings. We return platorm == "qt4x11" in this case.
Fixes bug #11746.
(cherry picked from commit
222a317dd243fb18f01bfa6e994902fee06ae3db )
Richard Kimberly Heck [Mon, 30 Nov 2020 18:29:22 +0000 (13:29 -0500)]
Back to development
Richard Kimberly Heck [Mon, 30 Nov 2020 18:28:29 +0000 (13:28 -0500)]
Minor ANNOUNCE fix. Will only matter if there is a 2.3.6.1...
Richard Kimberly Heck [Fri, 27 Nov 2020 17:18:52 +0000 (12:18 -0500)]
Remerge strings.
Richard Kimberly Heck [Fri, 27 Nov 2020 17:15:22 +0000 (12:15 -0500)]
Prepare for 2.3.6
Pavel Sanda [Sun, 22 Nov 2020 10:54:58 +0000 (11:54 +0100)]
Erase white frame in fullscreen mode.
Backport
4eb791ff187741 .
Richard Kimberly Heck [Thu, 5 Nov 2020 14:51:10 +0000 (09:51 -0500)]
Brazillian Portuguese translation from Georger
Juergen Spitzmueller [Wed, 4 Nov 2020 06:15:55 +0000 (07:15 +0100)]
de.po
jpc [Tue, 3 Nov 2020 15:47:12 +0000 (16:47 +0100)]
Update status
jpc [Tue, 3 Nov 2020 15:44:14 +0000 (16:44 +0100)]
Update fr.po
Richard Kimberly Heck [Mon, 2 Nov 2020 18:44:48 +0000 (13:44 -0500)]
Remerge strings.
Enrico Forestieri [Fri, 30 Oct 2020 14:53:35 +0000 (15:53 +0100)]
Fix on-screen display of special math fonts
Make sure that the on-screen representation of the special math fonts
mathbb, mathds, mathfrak, mathcal, and mathscr matches the latex output.
Pavel Sanda [Fri, 30 Oct 2020 12:55:22 +0000 (13:55 +0100)]
* cs.po
Kornel Benko [Fri, 30 Oct 2020 10:47:06 +0000 (11:47 +0100)]
Update sk.po
Yuriy Skalko [Fri, 30 Oct 2020 07:34:08 +0000 (09:34 +0200)]
Update ru.po
Scott Kostyshak [Mon, 19 Oct 2020 18:59:17 +0000 (14:59 -0400)]
CMake deb: support "python2 | python3" dependency
The latest debian-based distributions have moved away from
the "python" package dependency to "python2" and "python3".
(cherry picked from commit
fe1cbc06c320677bf5930d3e3e943f7d9a75bdcf )
Scott Kostyshak [Mon, 19 Oct 2020 19:06:04 +0000 (15:06 -0400)]
CMake deb: update python2 requirement
Synchronize with README: >= 2.7.
(cherry picked from commit
334552ade5bcaf55c8ac337ea3ecf350867f0707 )
Richard Kimberly Heck [Thu, 29 Oct 2020 21:57:02 +0000 (17:57 -0400)]
Remerge strings.