Commit Graph

39065 Commits

Author SHA1 Message Date
Juergen Spitzmueller
ad56c71dce Amend 00bdc20693 2020-01-27 11:13:05 +01:00
Juergen Spitzmueller
81af6062cb Fix backspace deletion of selected items with change tracking
Move cursor at beginning of selection after deletion. Else backspace
operation gets stuck in a loop (tries to remove the selection again
and again).

This also fixes backspace deletion of insets with confirmDeletion() == true.

Fixes #11630

(cherry picked from commit adfd38e4ef)
2020-01-27 08:42:11 +01:00
Juergen Spitzmueller
6c3e7d2a47 Fix erroneous space in output caused by changebar module (bug 11473) 2020-01-27 08:39:18 +01:00
Juergen Spitzmueller
00bdc20693 Consider shorthand in biblatex cite display
Fixes #11696

(cherry picked from commit 400706ad05)
2020-01-27 08:34:54 +01:00
Juergen Spitzmueller
2deabd0fbd Fix issues with tilde in inputpath
Fixes #11699

(cherry picked from commit a426b33067)
2020-01-27 08:32:11 +01:00
Juergen Spitzmueller
878efbaf62 Re-fix #11146 with recent LaTeX
(cherry picked from commit e75fa6f3ac)
2020-01-27 08:29:12 +01:00
Richard Kimberly Heck
e887bbc544 Windows installer info. 2020-01-26 17:57:33 -05:00
Jean-Marc Lasgouttes
b7c098c3fa Avoid blinking change tracking cur for math inset.
Since there is a margin above and below the inset, there is no problem
for putting it higher.

Fixes bug #11684.

(cherry picked from commit bf7f4d716c)
2020-01-26 23:17:55 +01:00
Richard Kimberly Heck
938c7831f7 Back to development 2020-01-26 16:18:18 -05:00
Kornel Benko
d537d55b69 Cmake config: Respect the patch-level while creating package from tar/zip-source
Rename some variables to match the ones used by automake
Slightly modified patch from Eugene Chornyi <technikmagma@gmail.com>
2020-01-18 10:40:31 +01:00
Richard Kimberly Heck
c9e8ed1153 Prepare for 2.3.4. 2020-01-12 13:58:18 -05:00
Jean-Marc Lasgouttes
b7ec3d8515 Do not check again and again for non existing files
If the file of an InsetInclude does not exist, loadIfNeeded will try
again and again to look for it. This is very bad for files with many
include insets, especially on windows.

Fixes bug #11656.

(cherry picked from commit aeed6fb8fa)
2020-01-10 11:24:24 +01:00
Kornel Benko
dd27c0c4ee Update sk.po 2019-12-31 11:42:01 +01:00
Kornel Benko
a99dc05e18 Cmake tests: Make foreach() command robust
Cmake's foreach command includes forms
  foreach(<loop_var> IN LISTS <lists>)
  foreach(<loop_var> IN ITEMS <items>)
  foreach(<loop_var> RANGE ...)
We get the lines to be parsed by
  file(STRINGS "${filepath}" lines)
If in the parsed lyx-file there is a line
containing only the single word 'IN',  or 'RANGE', then
the command
  foreach(_l ${lines})
can create a syntax error (at least with cmake1.16)

In fact, in file pl_Additional.lyx:12913 happens to have
such a beast.

(cherry picked from commit 7b44280da4)
2019-12-31 11:35:54 +01:00
Jean-Marc Lasgouttes
440271540f Disable inset-dissolve in table cells
This is better than making sure that the inset has exactly one cell.

In the future, inset-dissolve could be extended to dissolve all the
cells contents in the enclosing text.

Note that this check does not appear in mathed, and using dissolve in
e.g. fraction inset may lead to data loss (only current cell contents
is preserved).

(cherry picked from commit 5ac3b88007)
2019-12-30 13:32:24 +01:00
José Matos
78db6194c6 Fix typo in lyx2lyx conversion to 2.1 (taken from master) 2019-12-28 14:39:49 +00:00
Juergen Spitzmueller
2b949e42f7 Set makeindex as index processor in the docs
Prevent that another processor (such as xindy) is used when set in prefs.

xindy does not play well with hyperref.

Fixes #11708

(cherry picked from commit cb25603ae1)
2019-12-15 07:36:40 +01:00
Enrico Forestieri
73c3654304 Update it.po 2019-11-30 10:48:19 +01:00
Juergen Spitzmueller
84e5087dcc sv: update from Jim 2019-11-29 08:56:44 +01:00
Kornel Benko
87672a1d07 Cmake build: Install executables as programms
Patch from Patrick (pdvisschere@edpnet.be)

(cherry picked from commit 58ed976dd3)
2019-11-27 15:11:23 +01:00
Juergen Spitzmueller
fa9e7bd9a0 Update status 2019-11-23 15:32:11 +01:00
Juergen Spitzmueller
6796e1d739 nl.po: update Niko Strijbol 2019-11-23 15:31:11 +01:00
Juergen Spitzmueller
94ebd10faa nl/Intro.lyx: Update by Niko Strijbol 2019-11-23 15:29:47 +01:00
Juergen Spitzmueller
c7f7affd50 pt_BR.po: update from Georger 2019-11-23 15:27:45 +01:00
Pavel Sanda
c85e30de99 * cs.po 2019-11-22 20:05:39 +01:00
Richard Kimberly Heck
0363588601 Remerge strings. 2019-11-22 11:43:54 -05:00
Richard Kimberly Heck
020e598b4f Update some gmo files 2019-11-22 11:43:19 -05:00
Juergen Spitzmueller
9dcb8da53e typo 2019-11-22 09:14:23 +01:00
Juergen Spitzmueller
aeb8ea29fa pt_BR.po: update from Georger 2019-11-22 09:11:28 +01:00
Pavel Sanda
02309392a4 * cs.po 2019-11-21 17:16:35 +01:00
Pavel Sanda
ea88310517 remerge cs.po 2019-11-21 16:59:34 +01:00
Pavel Sanda
b7cac2fda6 Previous header change breaks postats script for web. 2019-11-21 15:30:47 +01:00
Pavel Sanda
f08f331eac generated bg.gmo 2019-11-21 15:10:58 +01:00
Pavel Sanda
eb33c2f40d Update bg.po from Veselin. 2019-11-21 15:08:36 +01:00
Juergen Spitzmueller
631e42f68b Fix crash with polyglossia and intitle commands when lang_auto_end is false
(cherry picked from commit ed44bc9b12)
2019-11-21 09:37:05 +01:00
Juergen Spitzmueller
bf82c51f25 Beamer loads amsmath
(cherry picked from commit a37c003448)
2019-11-21 08:02:48 +01:00
Juergen Spitzmueller
8806654ee6 uk.po: update by Yuriy 2019-11-19 14:02:10 +01:00
Richard Kimberly Heck
241a005868 Update po and gmo files. 2019-11-18 16:34:21 -05:00
jpc
c134a9075b Update fr.po 2019-11-18 10:51:38 +01:00
Jean-Marc Lasgouttes
0310dcb19e Revert "Set buffer when expanding macro"
This patch is not ready yet. Moreover, change the assertion in
InsetMathGrid::colAlign to a simple test.

As a consequence, math split inset might show a bad alignment in some
situations.

This reverts commit d3fd915662.
2019-11-16 12:04:09 +01:00
Jean-Marc Lasgouttes
aaf96b3025 Use backing store also with wayland platform
Like with macOS, the Wayland compositor seems to require a
backingstore when doing partial updates like we do.

This extends the mechanism that has been introduced for macOS. This
has to be done at run time, not compile time.

Fixes bug #11692.

(cherry picked from commit 575761c665)
2019-11-07 12:40:40 +01:00
Pavel Sanda
69031bb2ce Make branch compilable in C++98 mode again. 2019-11-06 09:53:28 +01:00
Kornel Benko
d045a6ce0c Update sk.po 2019-10-31 11:12:25 +01:00
Juergen Spitzmueller
99e62c7945 de.po 2019-10-31 10:47:13 +01:00
Juergen Spitzmueller
8ed8aeac92 Add line break in message 2019-10-31 10:41:55 +01:00
Juergen Spitzmueller
482a34c9af Validate if graphics path is encodable
Fixes #11688

(cherry picked from commit 1c0572f1ab)
2019-10-31 10:15:09 +01:00
José Matos
b1860e301a Attempt to fix #11457
In python 3 the colors need to be strings and not bytes:

This was the equivalent of

>> print("%s" % b"1")
"b'1'"

since the colors were bytes the call to dvipng was something like

dvipng -Ttight -depth -height -D 115 -fg "b'rgb 0.937255 0.941176 0.945098'" -bg "b'rgb 0.137255 0.149020 0.160784'"  "lyxpreviewxBJEqm.dvi"

Note the "b'rgb after both -fg and -bg that wrecked havoc and thus dvipng failed. That was the difference between python2 and python3 calls.

(cherry picked from commit 8dd31803b1)
2019-10-30 19:27:50 -04:00
Juergen Spitzmueller
af43420165 he.po: update from Guy. 2019-10-30 19:51:22 +01:00
Kornel Benko
4e3addc6e1 Arrgh: not everything is done with cherryy-pick. Amend 24fae9f5 2019-10-26 15:31:25 +02:00
Jean-Marc Lasgouttes
24fae9f51b Make build: amend 6f2cd26103 (allow more compilers)
Allow gcc 4.7 and 4.8, but use boost regex

Allow visual studio 2015.

(cherry picked from commit 1f90cd3b3f)
2019-10-26 15:04:11 +02:00