39221 Commits

Author SHA1 Message Date
Pavel Sanda
3ac6ffafb4 * cs.po 2018-10-03 23:21:57 +02:00
Kornel Benko
b56d8e90ae Update sk.po 2018-10-03 10:06:22 +02:00
Enrico Forestieri
59b60f3f86 Update it.po 2018-10-02 21:36:01 +02:00
Pavel Sanda
fd66660820 * cs.po 2018-10-02 16:59:33 +02:00
Juergen Spitzmueller
35373316ee de.po 2018-10-02 08:26:10 +02:00
Juergen Spitzmueller
76c15f51ea Do not store empty posttext for qualified citations
Fixes: #11308
(cherry picked from commit 90b13452037dba56b16f8fb55cce36aebc226804)
2018-10-02 08:11:50 +02:00
Juergen Spitzmueller
416b71883b Add bibtex inset to outliner if "add to toc" is checked.
Fixes #11309

(cherry picked from commit a89e3c344bdafd2922321e434c2384020318ed2e)
2018-10-02 08:09:04 +02:00
Juergen Spitzmueller
068e3d4fe5 Amend cab46ff9d1ea3
(cherry picked from commit f973855bdea94f0c6edf8eace7548a440f005902)
2018-10-02 07:47:06 +02:00
Juergen Spitzmueller
04ed229444 GuiCitation: Add some tooltips for the sake of keyboard users
Addresses #11317

(cherry picked from commit cab46ff9d1ea3bd801050eb4834f2e16a8ad3152)
2018-10-02 07:45:23 +02:00
Richard Kimberly Heck
c528f47f2d Fix mingw build script so as not to use version number for exectuables.
(cherry picked from commit 72367d94ad334ca54d9f37c325e185095178da3c)
2018-09-30 13:47:59 -04:00
Richard Kimberly Heck
3ad699168f Try to make Windows use a versioned directory for the user dir.
(cherry picked from commit 802fd7932b713ee80bf384facd45f45a5ac22de4)
(cherry picked from commit 4478451ea164a4de891b1d26ad3b1c04ad770337)
2018-09-30 13:47:54 -04:00
Richard Kimberly Heck
b66cf5aecd Revert "Check for old "LyX 2.3" user directory when configuring."
Actually, we DO use versioned directories on Windows.

This reverts commit b738aa53d13780a4e271459d72171700cba304fa.
2018-09-29 17:31:35 -04:00
Stephan Witt
9fd0c45fa3 Add missing status entries for Mac build fixes 2018-09-29 13:48:31 +02:00
Richard Kimberly Heck
2e4e32872f Update LyX packaging script. 2018-09-28 22:17:15 -04:00
Richard Kimberly Heck
b738aa53d1 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.
2018-09-28 21:54:46 -04:00
Richard Kimberly Heck
0cbde8a834 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).
2018-09-28 21:54:11 -04:00
Juergen Spitzmueller
a754912e88 Use LTR environment for forceLTR content with polyglossia
Fixes: #10548
(cherry picked from commit 10c06f67c936d8a259b03f00084fd4969f17582b)
2018-09-28 18:32:32 +02:00
Richard Kimberly Heck
1e26864c0a Status for last commit. 2018-09-27 22:14:44 -04:00
Richard Kimberly Heck
07ae4942a8 Allow 'module in child not used in master' warning to be disabled.
(cherry picked from commit 92ccf0a1a20e73a1ecf8d335ad2a2ef90ec9a89b)
2018-09-27 22:02:40 -04:00
Enrico Forestieri
804ed1bffb 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.
2018-09-27 21:32:24 +02:00
Richard Kimberly Heck
79c695806c No suffixes for binaries now. 2018-09-27 14:56:41 -04:00
Richard Kimberly Heck
98cfd22fb7 Fix build script for Windows: No suffixes. 2018-09-27 14:56:11 -04:00
Juergen Spitzmueller
ac5c2be8db Amend 2d4ac90fd20eac once more
Only use local switch in RTL environment.

(cherry picked from commit e158d661b924102acb87a3c92f800a463fdca408)
2018-09-26 17:02:18 +02:00
Juergen Spitzmueller
5d13d8c783 Amend 2d4ac90fd20eac
Properly close local language switch.

(cherry picked from commit 11163359772db1ca80dccde5087f55686b9da76d)
2018-09-26 16:58:38 +02:00
Juergen Spitzmueller
87f58708f3 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)
2018-09-26 16:58:21 +02:00
Stephan Witt
1b55d4017b Check exit state of install_name_tool calls.
(cherry picked from commit 28b84f5ddc42d2b4ec973b0abd4f8f3608952c61)
2018-09-22 20:33:55 +02:00
Stephan Witt
b090327dec 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)
2018-09-22 20:33:41 +02:00
Jean-Marc Lasgouttes
ebd4e25588 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)
2018-09-21 18:43:53 +02:00
Jean-Marc Lasgouttes
bf3b81e46a 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)
2018-09-21 18:42:32 +02:00
Jean-Marc Lasgouttes
97f3f18007 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)
2018-09-21 18:41:08 +02:00
Jean-Marc Lasgouttes
f00a3e9304 Paint underline for insets too.
Fixes bug 11297.

(cherry picked from commit 328ff9df3a4ac217a0424743575a0c7c293361ea)
2018-09-20 17:07:10 +02:00
Juergen Spitzmueller
bebb077955 Avoid infinite loop
Fixes: #11295
(cherry picked from commit 92bfa07a6205e6e2aae486510c148582e11d6017)
2018-09-20 17:01:38 +02:00
Juergen Spitzmueller
2f4323e278 Update layout format information in the docs.
Based on a patch by Andrew Parsloe.
2018-09-20 13:01:48 +02:00
Jean-Marc Lasgouttes
b956265be3 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)
2018-09-19 22:39:01 +02:00
Juergen Spitzmueller
b5892e58f0 Fix copy-paste error.
(cherry picked from commit 305d449a47bf54d4f8ec594b0d1a2b5cf070c30b)
2018-09-19 08:54:09 +02:00
Jean-Marc Lasgouttes
c2ea2057fb Forgot this 2018-09-18 23:14:19 +02:00
Jean-Marc Lasgouttes
286be197e0 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)
2018-09-18 23:00:46 +02:00
Jean-Marc Lasgouttes
741d81ecc6 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)
2018-09-18 22:57:41 +02:00
Jean-Marc Lasgouttes
5c4c8065aa 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)
2018-09-18 08:52:57 +02:00
Juergen Spitzmueller
3c049c20d1 pt_BR.po: update by Georger. 2018-09-16 09:50:02 +02:00
Juergen Spitzmueller
734176c452 zh_CN.po: update by Winfred 2018-09-15 16:24:25 +02:00
Jean-Marc Lasgouttes
66e23c6334 Use a unicode character for menu separator on screen
Additionally, use a left pointing character in a RtL setting.

(cherry picked from commit 76512a7569dfc00cfb858a1405c0f64aea19f4ef)
2018-09-11 10:59:26 +02:00
Juergen Spitzmueller
a6fa2d721e tex2lyx: support for plural and capitalized refstyle
Also fix a glitch in non-refstyle import (getOpt() returns the option
with delimiter, so do not add them in ERT once more)

Candidate for stable

(cherry picked from commit faf40fb4084e10848bbb33ec6d892c05843cd179)
2018-09-11 08:07:03 +02:00
Juergen Spitzmueller
4431ae2505 tex2lyx: support decimal alignment in tables
(cherry picked from commit 8ef2558dc23a44185b246d3f66e1384a6144caa2)
2018-09-11 08:03:23 +02:00
Richard Kimberly Heck
8a4a613222 typo 2018-09-10 19:21:14 -04:00
Juergen Spitzmueller
87db8ba5b8 Fix RTL tabular output with bidi package (i.e., polyglossia)
Fixes: #9686
(cherry picked from commit 21b347a2f8485ec3113dd7d76f8d78eb0cd426e2)
2018-09-10 19:20:24 +02:00
Juergen Spitzmueller
c5fe0751d9 tex2lyx: Fixes to the btUnit import
1. Do not attempt to mix diverging btUnits (e.g., chapters and sections).
2. use parse_text to properly parse the contents.

(cherry picked from commit 68d48b0015065f3c3cdd1377678bca56551cc203)
2018-09-10 17:50:30 +02:00
Juergen Spitzmueller
84aac99b96 tex2lyx: simplify btUnit parsing 2018-09-10 17:48:25 +02:00
Juergen Spitzmueller
fae4338468 tex2lyx: support for btUnit (multibib)
(cherry picked from commit 0ae68ae828cd8d3589c7aa4bd2ef958aa38182b4)
2018-09-10 17:47:48 +02:00
Juergen Spitzmueller
b1e5663333 tex2lyx: Add support for horizontal longtabular alignment 2018-09-10 16:31:46 +02:00