Commit Graph

39494 Commits

Author SHA1 Message Date
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
Kornel Benko
46e29ebe54 Cmake build:Amend 44bbd0b0 and 22f59925
44bbd0b0: Get full version of gcc
22f59925: Remove support for gcc 4.6

Also Remove support for msvc without STD_REGEX

(cherry picked from commit 6f2cd26103)
2019-10-26 14:37:30 +02:00
Jean-Marc Lasgouttes
f0f48232f0 Get full version of gcc
Recent gcc versions return a short version with -dumpversion, e.g. 9.

In this case, use -dumpfullversion, which gives something like 9.1.0.

This makes the gcc 9 detection work properly.

(cherry picked from commit 44bbd0b0ef)
2019-10-26 13:45:46 +02:00
Jean-Marc Lasgouttes
691f29b4c7 Avoid warnings with gcc 9
The warning about unneeded std::move can be solved by conditioning on
C++14 mode.

The warnings about deprecated copy is harder, so we disable it for
now. We will be able to fix our part, but Qt triggers it a lot too.

(cherry picked from commit 134f3aedaf)
2019-10-25 17:52:05 +02:00
Jean-Marc Lasgouttes
a7b5aea9b6 Keep last file positions in last-use ordering
Using a map would sort the elements in alphabetic ordering, which
means that when the number of elements is larger than 100, the wrong
elements get pruned.

This commit uses a list instead. Searching an item needs linear time,
but this should not be a problem for a list with less than 100
elements.

Fixes bug #10310.

(cherry picked from commit 58d22e0c6e)
2019-10-23 15:09:23 +02:00
Jean-Marc Lasgouttes
f6282dfec7 Be careful before using buffer parameters in colAlign
Make InsetGrid::colAlign a normal method and make it check whether
buffer is valid before using it. This avoids crashes as we have seen
in 2.3.3 (see e.g. #11686).

There is still an assertion so that failure is noticeable before release.

(cherry picked from commit 44816adce6)
2019-10-22 18:10:00 +02:00
Jean-Marc Lasgouttes
d3fd915662 Set buffer when expanding macro
This avoids a crash in InsetMathSplit which uses the buffer() value.

Fixes bug #11686.

(cherry picked from commit 19abf29ea0)
2019-10-22 17:57:52 +02:00
Uwe Stöhr
54acc050f6 Win installer: fix registry issue
- when installing LyX 2.3.x over a previous 2.3.x installation a registry key was not deleted
- also fix some hardcoded occurrences of "lyx"
2019-10-20 23:06:21 +02:00
Uwe Stöhr
cbaf5e70f8 development/Makefile.am: fix compilation error
see also my message on the list
2019-10-20 21:20:55 +02:00
Juergen Spitzmueller
1030c70b48 Force LTR for numeric citations
Fixes: #3005
(cherry picked from commit cce9adc185)
2019-10-19 15:57:24 +02:00
Jean-Marc Lasgouttes
7c35081d0c Fix bad caret position with horizontal scrolling
Horizontal scrolling used to be taken into account when updating caret
geometry. This is wrong since it may have changed when time comes to
draw the caret. This leads to a situation where the first apparition
of the caret is at a wrong place.

Now the extra horizontal offset is used at drawing time.

Fixes bug #11603.

(cherry picked from commit bdf58b77e7)
2019-10-16 16:44:42 +02:00
Enrico Forestieri
fe426c2db8 Fix bug 11667
When automatic command termination was added to texstream it was
forgotten to reset its status after a math inset.

(cherry picked from commit 0573bf92e0)
2019-10-01 08:10:46 +02:00
Patrick de Visschere
37f987afc9 #6961 correct the big-endian conversion of UInt32
This is a patch from Patrick de Visschere. Thanks.

(cherry picked from commit b70c3796a1)
2019-09-20 19:57:01 +02:00
Kornel Benko
604782af50 Update sk.po 2019-09-16 10:52:04 +02:00
Jean-Marc Lasgouttes
71b8019d56 Enable dissolve in undefined Flex inset context menu
This is a hackish special case, so I had to add a hack...

Fixes bug #8650.

(cherry picked from commit 7c1c50d737)
2019-09-15 23:23:48 +02:00
Jean-Marc Lasgouttes
8e50b9569a Fix warning 2019-09-13 09:52:33 +02:00
Richard Kimberly Heck
bd0d2ed5b2 Fix bug #11636.
Directories are created when files are copied, so we do not need
to do it prospectively here.

(cherry picked from commit 05a446b77c)
2019-09-11 22:16:44 -04:00
Juergen Spitzmueller
f838b16a9b Allow to hide formats from menus
Fixes: #11657
(cherry picked from commit d76cef70a0)
2019-09-11 10:46:07 +02:00
Jean-Marc Lasgouttes
7940263517 Set buffer correctly when deleting column in math grid
This is a followup to ebe6612e.

Fixes bug #11623.

(cherry picked from commit 5915d69eaf)
2019-09-05 13:49:52 +02:00
Scott Kostyshak
421509b260 Enable change tracking if paragraph break change
When a selection spans more than one line, we now check for whether
there is a change at one position after the last position of each
fully selected line.

This fixes #11629.

(cherry picked from commit 27f89144bb)
2019-08-31 15:06:08 -04:00
Juergen Spitzmueller
1f2598a6a1 Use acadian rather than canadien
This is what babel-french urges, and canadien currently is broken.

acadien seems to be there for at least 15 years
2019-08-27 17:35:54 +02:00
Juergen Spitzmueller
2479534e57 Amend [d30da478d/lyxgit]
Some non-stable code was erroneously cherry-picked.

Fixes: #11642
2019-08-22 17:35:56 +02:00