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
Günter Milde
d30da478d4
Fix encoding issues with configuration under Python 3.
...
Backported from [b9cc642/lyxgit].
2019-08-21 23:20:27 +02:00
Juergen Spitzmueller
0da95572ad
Correctly set language after intitle paragraphs
...
Fixes : #11514
(cherry picked from commit b5722962fb
)
2019-08-20 08:37:37 +02:00
Juergen Spitzmueller
bca4c65061
Properly terminate command.
...
This amends 1c2700eb11
.
2019-08-19 07:32:57 +02:00
Juergen Spitzmueller
8831d50936
Load rotfloat and rotating after graphicx.
...
Fixes : #11502
(cherry picked from commit f937b5eb7a
)
2019-08-16 17:25:41 +02:00
Juergen Spitzmueller
c1c94010e4
Fix coloured boxes in RTL with [pdf]latex ( #8642 )
...
(cherry picked from commit 7ca267e1fe
)
2019-08-16 08:10:17 +02:00
Juergen Spitzmueller
7f58601c00
Fix greyedout note in RTL ( #8647 )
...
More complicated than I wished for, but color handling in RTL is
particularly tricky.
The three versions are needed due to the differences between [pdf]latex,
xetex, luatex/luabidi and luatex/babel.
(cherry picked from commit 4e74dd0d42
)
2019-08-16 07:51:26 +02:00
Juergen Spitzmueller
e097bade85
hebarticle: fix compilation with XeTeX (bug #10525 )
...
(cherry picked from commit 1f2eb92b33
)
2019-08-16 07:35:43 +02:00
Juergen Spitzmueller
1c2700eb11
Re-fix #2005
...
Loading keyval does not work any longer. Fix it properly by de-activating
the equal character locally if graphics options use it.
We do this statically for Turkish and Latin in stable, as opposed to
master (where we have the ActiveChars languages tag)
2019-08-15 09:20:40 +02:00
Juergen Spitzmueller
9e9d51187d
Update stats
2019-08-14 18:59:43 +02:00
Juergen Spitzmueller
4a36be6e77
ar.po: update from Hatim Ali
2019-08-14 18:55:25 +02:00
Juergen Spitzmueller
43463a48f8
Typo
2019-08-09 08:06:23 +02:00
Juergen Spitzmueller
1ee62a3358
Fix interplay of memoir and geometry
...
Fixes : #10970
(cherry picked from commit 65c1ae8133
)
2019-08-06 10:10:53 +02:00
Juergen Spitzmueller
7c0d9eb4d9
Fix text direction of references with XeTeX/bidi
...
Fixes : #11626
(cherry picked from commit 231b36d950
)
2019-08-06 10:07:41 +02:00
Pavel Sanda
f4e700be2a
Backport eceed02a90
.
2019-07-26 21:42:19 +02:00
Richard Kimberly Heck
4582edac1a
Fix typo
...
(cherry picked from commit 4597622ce5
)
2019-07-25 00:05:39 -04:00
Uwe Stöhr
0baa24df71
colored-boxes.lyx: add section about references
...
is a user request
2019-07-21 01:31:46 +02:00
Juergen Spitzmueller
67e6f06173
Fix bug #11616
...
With !using_begin_end, we need to compare against the paragraph language
since cur_language is always empty.
No status entry needed as this fixes a bug introduced after 2.3.3.
2019-07-19 06:55:45 +02:00
Juergen Spitzmueller
6bfad588ab
he.po: Fix string direction
...
Patch by Guy Rutenberg
Fixes : #11607
2019-07-17 06:43:06 +02:00
Kornel Benko
184e41b7bb
Update sk.po
2019-07-17 00:46:26 +02:00
Juergen Spitzmueller
36bffd0d2b
Russian doc updates by Yuriy
2019-07-13 09:52:11 +02:00
Richard Kimberly Heck
c839747055
Fix bug #11612 .
...
Register verbatim includes with the outliner.
(cherry picked from commit 6960bab65c
)
2019-07-11 16:25:46 -04:00
Juergen Spitzmueller
5679dc5c6f
Proper number ordering with luabidi
...
As opposed to bidi (XeTeX), luabidi (LuaTeX) does no automatic reordering,
so we need to use \\LR{}
(cherry picked from commit 1d0929b5d9
)
2019-07-11 17:46:55 +02:00
Juergen Spitzmueller
f0f4b98c6e
Brackets reversion differs in luabidi (LuaTeX) from bidi (XeTeX)
...
This amends [195f62ac93/lyxgit]
(cherry picked from commit d3aa102260
)
2019-07-11 17:44:34 +02:00
Juergen Spitzmueller
f60f82e7b7
LuaTeX (luabidi) does not correct directions
...
This amends [9d20bc4e98/lyxgit].
(cherry picked from commit a95339c6e1
)
2019-07-11 08:37:52 +02:00
Juergen Spitzmueller
6e01ceca24
LuaTeX (luabidi) does not swap table columns
...
This amends [21b347a2f8485/lyxgit].
(cherry picked from commit 6f8db58778
)
2019-07-11 08:33:58 +02:00
Juergen Spitzmueller
2208f4f519
Fix right and left layout alignment (in workarea) with RTL
...
Fixes : #11606
(cherry picked from commit b6f0c1de3d
)
2019-07-11 08:31:50 +02:00
Juergen Spitzmueller
6afe258453
Preserve star on citation style change via menu
...
Fixes : #11439
(cherry picked from commit 52fffee7f2
)
2019-07-10 09:37:24 +02:00
Juergen Spitzmueller
4fb4035e7f
Update Russian Tutorial
...
Patch by Yuriy
2019-07-09 16:10:23 +02:00
Richard Kimberly Heck
4e8eb8d8a7
Updates to ANNOUNCE
2019-07-07 13:34:28 -04:00
Richard Kimberly Heck
1e98580988
Fix bug #11588 .
...
Check for the local file before calling kpsewhich.
(cherry picked from commit 2e433654c7
)
2019-07-07 13:31:27 -04:00
Jean-Marc Lasgouttes
c047dc64bf
Fixup 17571104
: really avoid empty numbers in toc
...
For some reason, I missed this one when trying to fix the bug.
Fixes bug #11423 .
(cherry picked from commit 5a22b2e391
)
2019-07-07 13:23:45 -04:00