Commit Graph

39065 Commits

Author SHA1 Message Date
Richard Kimberly Heck
d930913898 Fix bug #11737.
We need to use the FileName methods when moving or removing a file,
so that refresh() gets called.
2020-02-13 00:04:44 -05:00
Kornel Benko
a0c768b397 Cmake build: Amend 1c097e56, correctly respect the patch-level
Handle also the case of creating from tar-file _and_ having 'git' installed

(cherry picked from commit cd3f11e585)
2020-02-12 11:18:13 -05:00
Richard Kimberly Heck
42764fd481 Use dot instead of dash in version. 2020-02-08 14:13:24 -05:00
Stephan Witt
2bf2294697 Fix a crash with uninitialized buffer member of MathData
See the details here: https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg210294.html

(cherry picked from commit 59fa0b2592)
2020-02-08 14:10:00 -05:00
Richard Kimberly Heck
006029267d Final preparations for 2.3.4-2. 2020-02-07 10:54:16 -05:00
Juergen Spitzmueller
1f060e5b7a Ignore geometry-related settings if the class provides geometry
Fixes #11724

(cherry picked from commit dce9e44a14)
(cherry picked from commit b0a2868938)
2020-02-07 10:50:13 -05:00
Juergen Spitzmueller
e30adc702c Fix encoding inheritance with CJKUtf8 as custom document encoding
Fixes #11579

(cherry picked from commit b2604aa840)
2020-02-07 10:47:19 -05:00
Richard Kimberly Heck
ae1544fd51 Prepare for emergency release. 2020-02-06 15:10:50 -05:00
Richard Kimberly Heck
194a45270c Don't need to remove the file if it doesn't exist. (This would cause a five second delay in that case.)
Fixes bug #11728.

(cherry picked from commit 5188f0fcff)
(cherry picked from commit e60d5df4b3)
2020-02-06 15:02:39 -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