]> git.lyx.org Git - lyx.git/log
lyx.git
5 years agoVersion 2.3.2-1 2.3.2-1
Richard Kimberly Heck [Fri, 14 Dec 2018 16:20:36 +0000 (11:20 -0500)]
Version 2.3.2-1

5 years agoVersion 2.3.2-1, for Windows.
Richard Kimberly Heck [Sat, 15 Dec 2018 01:26:34 +0000 (20:26 -0500)]
Version 2.3.2-1, for Windows.

5 years agoNeed to include these in the tarball.
Richard Kimberly Heck [Sun, 9 Dec 2018 20:47:47 +0000 (15:47 -0500)]
Need to include these in the tarball.

(cherry picked from commit 044ef5550de0925fbaf5b9860e3ed15ee75dbacc)

5 years agoThere is no reason we should need to reload the bibinfo cache for
Richard Kimberly Heck [Wed, 12 Dec 2018 06:37:00 +0000 (01:37 -0500)]
There is no reason we should need to reload the bibinfo cache for
internal buffers.

(cherry picked from commit af71ebff8e1f04c5e6f656c4ce0e4a270bbc07e1)

5 years agoFix slowness problem reported on the mailing list on Windows.
Richard Kimberly Heck [Wed, 12 Dec 2018 06:18:16 +0000 (01:18 -0500)]
Fix slowness problem reported on the mailing list on Windows.

https://marc.info/?l=lyx-devel&m=154458979925296&w=2

This is related to the fix for #9158 and the caching of bibfile
information. On Windows, it is incredibly slow to run kpsewhich,
which we do to check where files actually are, so as to get info
about them (e.g., timestamps). So we have started to cache that
as a map. The map is supposed to be invalidated when various
things happen, but an oversight was causing it to be invalidated
on every cut operation. This is because cutting uses a temporary
Buffer, and the operations on it were affecting the *global* cache
of biblio file info. (It makes sense to have a global cache, since
these files are not document-specific.) Basically, we have to update
the list of bibfiles in that temporary Buffer---but that is one of
the things that invalidated the cache. The solution is only to
invalidate the cache if the list of bibfiles has actually changed
(a sensible idea anyway). The only time that will happen in the
temporary Buffer is when the copied information contains a BibTeX
inset. That should be fairly rare.

(cherry picked from commit e9614a36ebe71ca9b7aa62a7c74e63f9753b6c0a)

5 years agoRemove lyx-bundle.nsi. 2.3.2
Richard Kimberly Heck [Sat, 8 Dec 2018 16:38:07 +0000 (11:38 -0500)]
Remove lyx-bundle.nsi.

5 years agoAmend bd21aa9
Enrico Forestieri [Thu, 6 Dec 2018 09:30:58 +0000 (10:30 +0100)]
Amend bd21aa9

Check whether a line is actually blank rather than whether
we are at the beginning of a line.

(cherry picked from commit 976e0b79933e162070ef3d2973fb0c899f8bdf54)

5 years agoFix bug #11398
Enrico Forestieri [Sun, 2 Dec 2018 17:27:38 +0000 (18:27 +0100)]
Fix bug #11398

When deciding how to strike out deleted math in change-tracking
mode, differentiate only on begin-of-line or not, and not on
after-paragraph-break or not.

The assumption that a new paragraph is always started after a
float seems to be not true and was causing this bug.

(cherry picked from commit bd21aa99d244cbfe532c4d970197a940355828dd)

5 years agoRemerge strings.
Richard Kimberly Heck [Sat, 8 Dec 2018 16:25:37 +0000 (11:25 -0500)]
Remerge strings.

5 years agoPrepare for 2.3.2.
Richard Kimberly Heck [Sat, 8 Dec 2018 16:24:40 +0000 (11:24 -0500)]
Prepare for 2.3.2.

5 years agoRevert "Revert "Check for old "LyX 2.3" user directory when configuring.""
Richard Kimberly Heck [Sun, 30 Sep 2018 17:51:30 +0000 (13:51 -0400)]
Revert "Revert "Check for old "LyX 2.3" user directory when configuring.""

This reverts commit b66cf5aecd04518243d90058c6243b9cd90eebce.

5 years ago* cs.po
Pavel Sanda [Sun, 2 Dec 2018 02:28:53 +0000 (03:28 +0100)]
* cs.po

5 years agoCorrectly update after buffer-anonymize in branch.
Pavel Sanda [Sun, 2 Dec 2018 01:08:49 +0000 (02:08 +0100)]
Correctly update after buffer-anonymize in branch.

In master the screen update after buffer-anonymize happens without screenUpdate.

5 years agogmo file update
Richard Kimberly Heck [Thu, 29 Nov 2018 23:05:09 +0000 (18:05 -0500)]
gmo file update

5 years agoHungarian translation update.
Richard Kimberly Heck [Thu, 29 Nov 2018 23:02:36 +0000 (18:02 -0500)]
Hungarian translation update.

5 years agoTypo
Richard Kimberly Heck [Thu, 29 Nov 2018 23:02:25 +0000 (18:02 -0500)]
Typo

5 years agosv.po: update by Jim.
Juergen Spitzmueller [Sun, 25 Nov 2018 10:51:11 +0000 (11:51 +0100)]
sv.po: update by Jim.

5 years agoShow cursor correctly when loading file
Jean-Marc Lasgouttes [Wed, 21 Nov 2018 12:49:20 +0000 (13:49 +0100)]
Show cursor correctly when loading file

This is a fixup to 4ecbff00. When a file is loaded and the cursor is
set, it is required to first compute metrics to be able to scroll the
screen correctly.

Fixes bug #11377.

(cherry picked from commit 2dc84b69d5a040e6343e21606f1c16a7c0957383)

5 years ago* cs.po
Pavel Sanda [Fri, 23 Nov 2018 00:03:36 +0000 (01:03 +0100)]
* cs.po

5 years agoAvoid extra space in tooltips
Jean-Marc Lasgouttes [Sun, 4 Nov 2018 23:53:36 +0000 (13:53 -1000)]
Avoid extra space in tooltips

When using QTextDocument to check the natutal size of a text, one has
to remove the text margin, which is not useful here.

Fixes bug #11353.

(cherry picked from commit 7db99672e6838535d837096ab2344e7ecedb47e3)

5 years ago* cs.po
Pavel Sanda [Mon, 19 Nov 2018 23:01:50 +0000 (00:01 +0100)]
* cs.po

5 years agopt_BR.po: update by Georger
Juergen Spitzmueller [Sun, 18 Nov 2018 17:22:08 +0000 (18:22 +0100)]
pt_BR.po: update by Georger

5 years agoru.po: yet another update by Yuriy
Juergen Spitzmueller [Thu, 15 Nov 2018 14:51:43 +0000 (15:51 +0100)]
ru.po: yet another update by Yuriy

5 years agouk.po: update by Yuri
Juergen Spitzmueller [Wed, 14 Nov 2018 15:19:40 +0000 (16:19 +0100)]
uk.po: update by Yuri

5 years agoru.po: update by Yuriy
Juergen Spitzmueller [Wed, 14 Nov 2018 15:18:55 +0000 (16:18 +0100)]
ru.po: update by Yuriy

5 years ago* cs.po
Pavel Sanda [Tue, 13 Nov 2018 23:04:21 +0000 (00:04 +0100)]
* cs.po

5 years agoFix bug #11367
Enrico Forestieri [Mon, 12 Nov 2018 20:16:14 +0000 (21:16 +0100)]
Fix bug #11367

The overset, underset, and stackrel insets behave like the script
rather than the fraction inset.

5 years agoRemerge strings.
Richard Kimberly Heck [Mon, 12 Nov 2018 19:27:49 +0000 (14:27 -0500)]
Remerge strings.

5 years ago* cs.po
Pavel Sanda [Wed, 7 Nov 2018 13:37:48 +0000 (14:37 +0100)]
* cs.po

5 years agoUpdate sk.po
Kornel Benko [Tue, 30 Oct 2018 22:14:35 +0000 (23:14 +0100)]
Update sk.po

5 years agoDispay pre- and posttext widgets if non-empty also if unapplied
Juergen Spitzmueller [Tue, 30 Oct 2018 16:23:08 +0000 (17:23 +0100)]
Dispay pre- and posttext widgets if non-empty also if unapplied

Fixes: #11352
(cherry picked from commit b8932afed543421defde7b46e4102a82b4faabe4)

5 years agoAmend 4ecbff00: it is too early for skipping the updateMacros call
Jean-Marc Lasgouttes [Mon, 22 Oct 2018 13:29:08 +0000 (15:29 +0200)]
Amend 4ecbff00: it is too early for skipping the updateMacros call

(cherry picked from commit 9e7832915f9763510e5820167930a38e16a8321f)

5 years agoUpdate it.po
Enrico Forestieri [Mon, 15 Oct 2018 17:32:59 +0000 (19:32 +0200)]
Update it.po

5 years agoMissing backports in the context of #9158
Juergen Spitzmueller [Mon, 15 Oct 2018 06:04:31 +0000 (08:04 +0200)]
Missing backports in the context of #9158

This fixes the remaining regressions in stable with citation

5 years ago Update fr.po
jpc [Sun, 14 Oct 2018 09:40:28 +0000 (11:40 +0200)]
    Update fr.po

5 years agoAmend a754912 once more
Juergen Spitzmueller [Sat, 13 Oct 2018 11:51:00 +0000 (13:51 +0200)]
Amend a754912 once more

Do not use LTR environment (bidi) at all, since it adds unwanted
paragraph breaks.

Fixes: #11338
(cherry picked from commit 3a91fed26941e2599b5cb5f2924225a73a98f246)

5 years agoClear bibfile cache when set of bibliography files change
Juergen Spitzmueller [Sat, 13 Oct 2018 09:06:24 +0000 (11:06 +0200)]
Clear bibfile cache when set of bibliography files change

Part of #9158

(cherry picked from commit 4115d2487f57f58774ee2846aa2b35818c0bc1b9)

5 years agoMerge paragraphs when pasted into an inset that forbids multipars
Juergen Spitzmueller [Fri, 11 May 2018 11:17:39 +0000 (13:17 +0200)]
Merge paragraphs when pasted into an inset that forbids multipars

Fixes: #8281
(cherry picked from commit 5dde4b1b3e69f132e2f27116cde377f80adb5ea3)

5 years agoLoad covington later
Juergen Spitzmueller [Tue, 9 Oct 2018 08:42:38 +0000 (10:42 +0200)]
Load covington later

This solves a loading order conflict with beamer-article.

(cherry picked from commit 00ee54e6949505cbda7f6a287d2f69f1a6b37a86)

5 years agoFix bug #11332
Enrico Forestieri [Wed, 10 Oct 2018 17:41:31 +0000 (19:41 +0200)]
Fix bug #11332

Add the "hyperref-driver=dvips" option to the extra flags of the
latex->dvi converter so that the breakurl package is automatically
loaded when needed.

(cherry picked from commit f5e6db717167ecbe9e5934c937467bf0fca90ba1)

5 years agoAmend a754912
Juergen Spitzmueller [Tue, 9 Oct 2018 16:04:51 +0000 (18:04 +0200)]
Amend a754912

Switch logic, since isStyle() does not cover inline math

Fixes: #11338
(cherry picked from commit 9d8fbc7fd15bd097771aa3e34631ea6315a7d54e)

5 years agoRevert "Fix bug #9348"
Richard Kimberly Heck [Mon, 8 Oct 2018 20:27:47 +0000 (16:27 -0400)]
Revert "Fix bug #9348"

The fix changes behavior too much for stable. My bad.

This reverts commit e94ea46be7e6738ff7ebdaca995c076a6fe649ef.

5 years agode.po
Juergen Spitzmueller [Mon, 8 Oct 2018 10:19:15 +0000 (12:19 +0200)]
de.po

5 years agoRework OK/Apply/Cancel UI of prefs dialog
Juergen Spitzmueller [Sat, 28 Apr 2018 09:19:26 +0000 (11:19 +0200)]
Rework OK/Apply/Cancel UI of prefs dialog

Instead of "Save" (permanently) and "Apply" (temporarily), OK and Apply
now always save permanently, unless the new checkbox "Apply to current
session only" is checked.

Addresses: #10016
(cherry picked from commit c7bdb3b342823d3144f3c73e125e274aa40c77e2)

5 years agoIf a master is being created at loading the child, un-hide it.
Juergen Spitzmueller [Fri, 1 Jun 2018 08:17:18 +0000 (10:17 +0200)]
If a master is being created at loading the child, un-hide it.

Fixes: #11162
(cherry picked from commit a368439bcc3fbd18b4635d1b7c12da08b9315e2c)

5 years agoFix suprious comma in book and thesis bib preview.
Juergen Spitzmueller [Thu, 6 Sep 2018 12:46:44 +0000 (14:46 +0200)]
Fix suprious comma in book and thesis bib preview.

Fixes: #11272
(cherry picked from commit 399a4d7e718f7e6e88f6110aa1fd3d933ab59887)

5 years agoGuiCitation: don't reset filter on show
Juergen Spitzmueller [Sat, 22 Sep 2018 08:37:22 +0000 (10:37 +0200)]
GuiCitation: don't reset filter on show

Addresses #11291

(cherry picked from commit 33d6499bbc98fe0efd8e271049cb22944ffbf71c)

5 years agoFix indentation
Juergen Spitzmueller [Mon, 8 Oct 2018 09:32:30 +0000 (11:32 +0200)]
Fix indentation

5 years agoFix bug #9348
Enrico Forestieri [Tue, 10 Apr 2018 20:40:02 +0000 (22:40 +0200)]
Fix bug #9348

(cherry picked from commit 503f7db224c7afaa82ce1f0aea538bd2af0cf31a)

5 years agoMinor status updates
Richard Kimberly Heck [Fri, 5 Oct 2018 15:46:51 +0000 (11:46 -0400)]
Minor status updates

5 years agoFix bug #10177.
Richard Kimberly Heck [Mon, 9 Jul 2018 01:38:00 +0000 (21:38 -0400)]
Fix bug #10177.

The left margin given at class level should apply only to the main text.

(cherry picked from commit a007b65202cbc103e3e7868dcde3e754bfcd276d)

5 years agoUpdate sk.po
Kornel Benko [Thu, 4 Oct 2018 21:04:30 +0000 (23:04 +0200)]
Update sk.po

5 years agoFix bug #11275.
Richard Kimberly Heck [Thu, 4 Oct 2018 18:02:01 +0000 (14:02 -0400)]
Fix bug #11275.

Show module name with description.

(cherry picked from commit 2553b0073f5f63b7e8629154a810ffb7eaa6c366)

5 years agoWhen ignoring an update, request one for later
Jean-Marc Lasgouttes [Wed, 3 Oct 2018 13:57:11 +0000 (15:57 +0200)]
When ignoring an update, request one for later

If we were not ready to paint the screen, this does not mean that we
should give up on repainting, just potpone it.

I thought that it was bad to call update() in the paint event, but I
cannot find reference to this anymore and everything seems to work as
intended.

Fixes part of bug #11323.

(cherry picked from commit 38f09c177b7da08f852e13c9a50fd2e8098b7491)
(cherry picked from commit 2617a4dd501c64048573e2d9c4e6fb9f423a1067)

5 years agoFix bug #11180
Enrico Forestieri [Sun, 24 Jun 2018 18:06:40 +0000 (20:06 +0200)]
Fix bug #11180

When a raster image with an advertised pixel density different
from 72 dpi is included in a latex file, the output image dimensions
are scaled by the ratio 72/pixel_density. Hence, if a clipping
bounding box is specified, it has to be scaled by the same ratio,
otherwise the images will be clipped differently on screen and output.
Here we use the extractbb command (present in any TeX distribution)
to ask about the output dimensions of the image as dictated by the
pixel density and compute the scaling ratio by the knowledge of the
actual dimensions. If, for whatever reason, extractbb is not found,
everything goes as before, because the clipping bounding box will
simply not be corrected.

(cherry picked from commit 380f34a11485c41d812695dc4279b24a5ed5cc07)

5 years agoDo not step equation numbers in deleted equations.
Richard Kimberly Heck [Thu, 3 May 2018 04:05:21 +0000 (00:05 -0400)]
Do not step equation numbers in deleted equations.

(cherry picked from commit df5805917be108b0cce8b502f7b6906f59b0e2ea)

5 years agoDo not step counters in deleted material.
Richard Kimberly Heck [Thu, 3 May 2018 03:56:41 +0000 (23:56 -0400)]
Do not step counters in deleted material.

Also, display the counter as "#" if the inset is deleted.

(cherry picked from commit 200064e9a40f5ecfe6b7e5b361d31be3eba5ce92)

5 years agoFix bug 11070.
Richard Heck [Sat, 7 Apr 2018 01:31:11 +0000 (21:31 -0400)]
Fix bug 11070.

Allows plural, caps, no prefix to be set via context menu.

(cherry picked from commit 35afcfb6dd4fe9519cb132c55714c73be981b275)

5 years agoupdate LFUNs.lyx
Pavel Sanda [Wed, 3 Oct 2018 21:27:25 +0000 (23:27 +0200)]
update LFUNs.lyx

5 years ago* cs.po
Pavel Sanda [Wed, 3 Oct 2018 21:21:57 +0000 (23:21 +0200)]
* cs.po

5 years agoUpdate sk.po
Kornel Benko [Wed, 3 Oct 2018 08:06:22 +0000 (10:06 +0200)]
Update sk.po

5 years agoUpdate it.po
Enrico Forestieri [Tue, 2 Oct 2018 19:36:01 +0000 (21:36 +0200)]
Update it.po

5 years ago* cs.po
Pavel Sanda [Tue, 2 Oct 2018 14:59:33 +0000 (16:59 +0200)]
* cs.po

5 years agode.po
Juergen Spitzmueller [Tue, 2 Oct 2018 06:26:10 +0000 (08:26 +0200)]
de.po

5 years agoDo not store empty posttext for qualified citations
Juergen Spitzmueller [Tue, 25 Sep 2018 11:13:56 +0000 (13:13 +0200)]
Do not store empty posttext for qualified citations

Fixes: #11308
(cherry picked from commit 90b13452037dba56b16f8fb55cce36aebc226804)

5 years agoAdd bibtex inset to outliner if "add to toc" is checked.
Juergen Spitzmueller [Tue, 25 Sep 2018 13:24:46 +0000 (15:24 +0200)]
Add bibtex inset to outliner if "add to toc" is checked.

Fixes #11309

(cherry picked from commit a89e3c344bdafd2922321e434c2384020318ed2e)

5 years agoAmend cab46ff9d1ea3
Juergen Spitzmueller [Sat, 29 Sep 2018 08:27:20 +0000 (10:27 +0200)]
Amend cab46ff9d1ea3

(cherry picked from commit f973855bdea94f0c6edf8eace7548a440f005902)

5 years agoGuiCitation: Add some tooltips for the sake of keyboard users
Juergen Spitzmueller [Sat, 29 Sep 2018 07:18:26 +0000 (09:18 +0200)]
GuiCitation: Add some tooltips for the sake of keyboard users

Addresses #11317

(cherry picked from commit cab46ff9d1ea3bd801050eb4834f2e16a8ad3152)

5 years agoFix mingw build script so as not to use version number for exectuables.
Richard Kimberly Heck [Sat, 29 Sep 2018 21:44:25 +0000 (17:44 -0400)]
Fix mingw build script so as not to use version number for exectuables.

(cherry picked from commit 72367d94ad334ca54d9f37c325e185095178da3c)

5 years agoTry to make Windows use a versioned directory for the user dir.
Richard Kimberly Heck [Sat, 29 Sep 2018 21:26:14 +0000 (17:26 -0400)]
Try to make Windows use a versioned directory for the user dir.

(cherry picked from commit 802fd7932b713ee80bf384facd45f45a5ac22de4)
(cherry picked from commit 4478451ea164a4de891b1d26ad3b1c04ad770337)

5 years agoRevert "Check for old "LyX 2.3" user directory when configuring."
Richard Kimberly Heck [Sat, 29 Sep 2018 21:29:27 +0000 (17:29 -0400)]
Revert "Check for old "LyX 2.3" user directory when configuring."

Actually, we DO use versioned directories on Windows.

This reverts commit b738aa53d13780a4e271459d72171700cba304fa.

5 years agoAdd missing status entries for Mac build fixes
Stephan Witt [Sat, 29 Sep 2018 11:48:31 +0000 (13:48 +0200)]
Add missing status entries for Mac build fixes

5 years agoUpdate LyX packaging script.
Richard Kimberly Heck [Sat, 29 Sep 2018 02:17:15 +0000 (22:17 -0400)]
Update LyX packaging script.

5 years agoCheck for old "LyX 2.3" user directory when configuring.
Richard Kimberly Heck [Sat, 29 Sep 2018 01:42:49 +0000 (21:42 -0400)]
Check for old "LyX 2.3" user directory when configuring.

This is due to the bad packaging in the early 2.3.x installers. We
normally do not use version suffixes on Windows, but did.

5 years agoWindows packaging updates.
Richard Kimberly Heck [Sat, 29 Sep 2018 01:50:25 +0000 (21:50 -0400)]
Windows packaging updates.

The main change here is that we need to delete LyX2.3.exe and
tex2lyx2.3.exe from the install directory, so they are not left
there (from previous, versioned installs).

5 years agoUse LTR environment for forceLTR content with polyglossia
Juergen Spitzmueller [Fri, 28 Sep 2018 06:36:44 +0000 (08:36 +0200)]
Use LTR environment for forceLTR content with polyglossia

Fixes: #10548
(cherry picked from commit 10c06f67c936d8a259b03f00084fd4969f17582b)

5 years agoStatus for last commit.
Richard Kimberly Heck [Fri, 28 Sep 2018 02:14:44 +0000 (22:14 -0400)]
Status for last commit.

5 years agoAllow 'module in child not used in master' warning to be disabled.
Richard Kimberly Heck [Fri, 28 Sep 2018 01:56:29 +0000 (21:56 -0400)]
Allow 'module in child not used in master' warning to be disabled.

(cherry picked from commit 92ccf0a1a20e73a1ecf8d335ad2a2ef90ec9a89b)

5 years agoFix bug #11210
Enrico Forestieri [Thu, 27 Sep 2018 19:32:24 +0000 (21:32 +0200)]
Fix bug #11210

On Windows, start viewers in detached processes in order to avoid
a crash of the QProcess destructor when their thread terminates.
The opening of a console window is avoided by redirecting to the
null device all standard I/O channels.

5 years agoNo suffixes for binaries now.
Richard Kimberly Heck [Thu, 27 Sep 2018 18:53:05 +0000 (14:53 -0400)]
No suffixes for binaries now.

5 years agoFix build script for Windows: No suffixes.
Richard Kimberly Heck [Thu, 27 Sep 2018 18:53:41 +0000 (14:53 -0400)]
Fix build script for Windows: No suffixes.

5 years agoAmend 2d4ac90fd20eac once more
Juergen Spitzmueller [Mon, 10 Sep 2018 10:29:22 +0000 (12:29 +0200)]
Amend 2d4ac90fd20eac once more

Only use local switch in RTL environment.

(cherry picked from commit e158d661b924102acb87a3c92f800a463fdca408)

5 years agoAmend 2d4ac90fd20eac
Juergen Spitzmueller [Sat, 8 Sep 2018 10:50:42 +0000 (12:50 +0200)]
Amend 2d4ac90fd20eac

Properly close local language switch.

(cherry picked from commit 11163359772db1ca80dccde5087f55686b9da76d)

5 years agoFix text direction problem with polyglossia
Juergen Spitzmueller [Fri, 24 Aug 2018 13:02:26 +0000 (15:02 +0200)]
Fix text direction problem with polyglossia

If an RTL language is set via environment in polyglossia, only a nested
\\text<lang> command will reset the direction for LTR languages

Fixes rest of # 10111.

(cherry picked from commit 2d4ac90fd20eac5a32b2d71e7de1d2c92ee2429e)

5 years agoCheck exit state of install_name_tool calls.
Stephan Witt [Fri, 21 Sep 2018 19:47:29 +0000 (21:47 +0200)]
Check exit state of install_name_tool calls.

(cherry picked from commit 28b84f5ddc42d2b4ec973b0abd4f8f3608952c61)

5 years agoAdd -headerpad_max_install_names option to linker calls and make run path configurati...
Stephan Witt [Fri, 21 Sep 2018 19:46:47 +0000 (21:46 +0200)]
Add -headerpad_max_install_names option to linker calls and make run path configuration consistent.

This avoids failures when running install_name_tool on Mac when creating relocatable binaries using the bundled private frameworks.

(cherry picked from commit d9c0807227a9bdff2d28a80181d0e7ec5532ba1e)

5 years agoAvoid crash with cursor down in math
Jean-Marc Lasgouttes [Thu, 20 Sep 2018 20:15:12 +0000 (22:15 +0200)]
Avoid crash with cursor down in math

This can happen when the inset that contains the cursor is outside of
the screen.

THis is only a workaround. The real solution would be a
processUpdateFlags(FitCursor) call, but the code is not ready for that
yet.

Fixes bug #11296.

(cherry picked from commit 17576fb83b5a560fb8a1c59ca7051dcb2b165c05)

5 years agoIgnore horizontal wheel scrolling in workarea
Jean-Marc Lasgouttes [Thu, 20 Sep 2018 21:21:41 +0000 (23:21 +0200)]
Ignore horizontal wheel scrolling in workarea

We do not know what to do with horizontal scrolling events, so we ignore them.

Note that the code has to be different between Qt4 and Qt5.

Fixes bug #11257.

(cherry picked from commit 2cfbc5ecf6e26da0ca3f61372e5373d1ef4f7ab7)

5 years agoAvoid space before completion in mathed
Jean-Marc Lasgouttes [Thu, 20 Sep 2018 21:51:21 +0000 (23:51 +0200)]
Avoid space before completion in mathed

This can happen if the current element has space after it (e.g. before
a relation).

Fixes bug #11283.

(cherry picked from commit 1b5ccecd65a795ba4ff21aa5733fa18866fefd1c)

5 years agoPaint underline for insets too.
Jean-Marc Lasgouttes [Thu, 20 Sep 2018 09:31:23 +0000 (11:31 +0200)]
Paint underline for insets too.

Fixes bug 11297.

(cherry picked from commit 328ff9df3a4ac217a0424743575a0c7c293361ea)

5 years agoAvoid infinite loop
Juergen Spitzmueller [Wed, 19 Sep 2018 08:19:19 +0000 (10:19 +0200)]
Avoid infinite loop

Fixes: #11295
(cherry picked from commit 92bfa07a6205e6e2aae486510c148582e11d6017)

5 years agoUpdate layout format information in the docs.
Juergen Spitzmueller [Thu, 20 Sep 2018 11:01:48 +0000 (13:01 +0200)]
Update layout format information in the docs.

Based on a patch by Andrew Parsloe.

5 years agoHandle branches with space in their name
Jean-Marc Lasgouttes [Fri, 7 Sep 2018 13:49:21 +0000 (15:49 +0200)]
Handle branches with space in their name

1/ Handle space in color name in set-color (with quoting)

2/ read properly branch inset which name has a space

Fixes bug #11108.

(cherry picked from commit 819cf53c2254f17e9bb6c6b971904451cfaaae6d)

5 years agoFix copy-paste error.
Juergen Spitzmueller [Sun, 16 Sep 2018 08:34:01 +0000 (10:34 +0200)]
Fix copy-paste error.

(cherry picked from commit 305d449a47bf54d4f8ec594b0d1a2b5cf070c30b)

5 years agoForgot this
Jean-Marc Lasgouttes [Tue, 18 Sep 2018 21:14:19 +0000 (23:14 +0200)]
Forgot this

5 years agoImprove DEPM
Jean-Marc Lasgouttes [Sun, 22 Jul 2018 20:13:44 +0000 (22:13 +0200)]
Improve DEPM

Now any sequence of spaces around old cursor will be removed, even at
start or end of paragraph. Sequences of more than 2 characters are
also taken into account.

The version of DEPM which acts on a sequence of paragraphs is also
rewritten to match the local one.

(cherry picked from commit 20976e81fb25899ee8d3ec5ed941fda6b453f59f)
(cherry picked from commit c54fe6c5840afdbbac5e242db724fb0bf6bc084f)

5 years agoDo not remove character at start of paragraph when cutting
Jean-Marc Lasgouttes [Sun, 22 Jul 2018 20:18:50 +0000 (22:18 +0200)]
Do not remove character at start of paragraph when cutting

The part of code that removed space at start of paragraph have been
there forever, but its intent is unclear. For example, cutting text at
the end of a paragraph will lead to remove space at the start of this
same paragraph.

The removal of this functionality is offset by a rewrite of DEPM that
makes it more thorough.

Fixes bug #10503.

(cherry picked from commit e4dba53232bc71d5a577466e7fb4a3251944d9d8)

5 years agoneedauth is not needed for Sweave>LyX
Jean-Marc Lasgouttes [Wed, 12 Sep 2018 13:14:56 +0000 (15:14 +0200)]
needauth is not needed for Sweave>LyX

Indeed this relies on tex2lyx and does not run R scripts.

The same holds for Knitr>LyX

(cherry picked from commit 23dbacb636c2ac616967669ec038ab0d5c8b9dd3)

5 years agopt_BR.po: update by Georger.
Juergen Spitzmueller [Sun, 16 Sep 2018 07:50:02 +0000 (09:50 +0200)]
pt_BR.po: update by Georger.

5 years agozh_CN.po: update by Winfred
Juergen Spitzmueller [Sat, 15 Sep 2018 14:24:25 +0000 (16:24 +0200)]
zh_CN.po: update by Winfred