]>
git.lyx.org Git - lyx.git/log
Juergen Spitzmueller [Mon, 27 Jan 2020 10:13:05 +0000 (11:13 +0100)]
Juergen Spitzmueller [Mon, 13 Jan 2020 08:48:56 +0000 (09:48 +0100)]
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
adfd38e4efd1180df164fa2c75cf15210f366e94 )
Juergen Spitzmueller [Mon, 27 Jan 2020 07:39:18 +0000 (08:39 +0100)]
Fix erroneous space in output caused by changebar module (bug 11473)
Juergen Spitzmueller [Tue, 12 Nov 2019 12:52:05 +0000 (13:52 +0100)]
Consider shorthand in biblatex cite display
Fixes #11696
(cherry picked from commit
400706ad0525b43ab20993acb487ee4660823f84 )
Juergen Spitzmueller [Wed, 20 Nov 2019 10:57:32 +0000 (11:57 +0100)]
Fix issues with tilde in inputpath
Fixes #11699
(cherry picked from commit
a426b33067ae4e9d5452f13284f3e223d87ac45d )
Juergen Spitzmueller [Wed, 20 Nov 2019 10:48:18 +0000 (11:48 +0100)]
Re-fix #11146 with recent LaTeX
(cherry picked from commit
e75fa6f3ac5735dfcd588acb5c187556bface16d )
Richard Kimberly Heck [Sun, 26 Jan 2020 22:55:24 +0000 (17:55 -0500)]
Windows installer info.
Jean-Marc Lasgouttes [Sat, 11 Jan 2020 12:39:20 +0000 (13:39 +0100)]
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
bf7f4d716cf0ef148495d7ecd616a1aaea57a13d )
Richard Kimberly Heck [Sun, 26 Jan 2020 21:18:18 +0000 (16:18 -0500)]
Back to development
Kornel Benko [Sat, 18 Jan 2020 09:40:31 +0000 (10:40 +0100)]
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>
Richard Kimberly Heck [Sun, 12 Jan 2020 18:58:18 +0000 (13:58 -0500)]
Prepare for 2.3.4.
Jean-Marc Lasgouttes [Mon, 16 Dec 2019 17:26:55 +0000 (18:26 +0100)]
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
aeed6fb8fa35c045697fe6950c6109be8d30884c )
Kornel Benko [Tue, 31 Dec 2019 10:42:01 +0000 (11:42 +0100)]
Update sk.po
Kornel Benko [Sun, 15 Dec 2019 12:38:23 +0000 (13:38 +0100)]
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
7b44280da4fc015a4a930c311cc6073cebacf738 )
Jean-Marc Lasgouttes [Wed, 4 Dec 2019 14:56:30 +0000 (15:56 +0100)]
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
5ac3b880075794130492c2fe63c35104b207ad73 )
José Matos [Sat, 28 Dec 2019 14:39:49 +0000 (14:39 +0000)]
Fix typo in lyx2lyx conversion to 2.1 (taken from master)
Juergen Spitzmueller [Sat, 14 Dec 2019 08:48:33 +0000 (09:48 +0100)]
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
cb25603ae1c68470755851e25c3ef87b96d33344 )
Enrico Forestieri [Sat, 30 Nov 2019 09:48:19 +0000 (10:48 +0100)]
Update it.po
Juergen Spitzmueller [Fri, 29 Nov 2019 07:56:44 +0000 (08:56 +0100)]
sv: update from Jim
Kornel Benko [Wed, 27 Nov 2019 14:05:44 +0000 (15:05 +0100)]
Cmake build: Install executables as programms
Patch from Patrick (pdvisschere@edpnet.be)
(cherry picked from commit
58ed976dd374582206d20ffb84feffbb2f29ecb3 )
Juergen Spitzmueller [Sat, 23 Nov 2019 14:32:11 +0000 (15:32 +0100)]
Update status
Juergen Spitzmueller [Sat, 23 Nov 2019 14:31:11 +0000 (15:31 +0100)]
nl.po: update Niko Strijbol
Juergen Spitzmueller [Sat, 23 Nov 2019 14:29:47 +0000 (15:29 +0100)]
nl/Intro.lyx: Update by Niko Strijbol
Juergen Spitzmueller [Sat, 23 Nov 2019 14:27:45 +0000 (15:27 +0100)]
pt_BR.po: update from Georger
Pavel Sanda [Fri, 22 Nov 2019 19:05:39 +0000 (20:05 +0100)]
* cs.po
Richard Kimberly Heck [Fri, 22 Nov 2019 16:43:54 +0000 (11:43 -0500)]
Remerge strings.
Richard Kimberly Heck [Fri, 22 Nov 2019 16:43:19 +0000 (11:43 -0500)]
Update some gmo files
Juergen Spitzmueller [Fri, 22 Nov 2019 08:14:23 +0000 (09:14 +0100)]
typo
Juergen Spitzmueller [Fri, 22 Nov 2019 08:11:28 +0000 (09:11 +0100)]
pt_BR.po: update from Georger
Pavel Sanda [Thu, 21 Nov 2019 16:16:35 +0000 (17:16 +0100)]
* cs.po
Pavel Sanda [Thu, 21 Nov 2019 15:59:34 +0000 (16:59 +0100)]
remerge cs.po
Pavel Sanda [Thu, 21 Nov 2019 14:30:47 +0000 (15:30 +0100)]
Previous header change breaks postats script for web.
Pavel Sanda [Thu, 21 Nov 2019 14:10:58 +0000 (15:10 +0100)]
generated bg.gmo
Pavel Sanda [Thu, 21 Nov 2019 14:08:36 +0000 (15:08 +0100)]
Update bg.po from Veselin.
Juergen Spitzmueller [Thu, 21 Nov 2019 07:38:21 +0000 (08:38 +0100)]
Fix crash with polyglossia and intitle commands when lang_auto_end is false
(cherry picked from commit
ed44bc9b12c0385eccf9323159365ae96b1b4f19 )
Juergen Spitzmueller [Wed, 20 Nov 2019 08:38:16 +0000 (09:38 +0100)]
Beamer loads amsmath
(cherry picked from commit
a37c003448c39937fe1310dc95ceeeda73f505f6 )
Juergen Spitzmueller [Tue, 19 Nov 2019 13:01:27 +0000 (14:01 +0100)]
uk.po: update by Yuriy
Richard Kimberly Heck [Mon, 18 Nov 2019 21:34:21 +0000 (16:34 -0500)]
Update po and gmo files.
jpc [Mon, 18 Nov 2019 09:51:38 +0000 (10:51 +0100)]
Update fr.po
Jean-Marc Lasgouttes [Sat, 16 Nov 2019 10:59:15 +0000 (11:59 +0100)]
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
d3fd91566249b722dbc553b921283f2507ce5e17 .
Jean-Marc Lasgouttes [Sat, 13 Jul 2019 14:21:37 +0000 (16:21 +0200)]
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
575761c665229e70d9ce9b2bd941d01a1873b9f1 )
Pavel Sanda [Wed, 6 Nov 2019 08:53:28 +0000 (09:53 +0100)]
Make branch compilable in C++98 mode again.
Kornel Benko [Thu, 31 Oct 2019 10:12:25 +0000 (11:12 +0100)]
Update sk.po
Juergen Spitzmueller [Thu, 31 Oct 2019 09:47:13 +0000 (10:47 +0100)]
de.po
Juergen Spitzmueller [Thu, 31 Oct 2019 09:41:55 +0000 (10:41 +0100)]
Add line break in message
Juergen Spitzmueller [Sat, 26 Oct 2019 06:33:51 +0000 (08:33 +0200)]
Validate if graphics path is encodable
Fixes #11688
(cherry picked from commit
1c0572f1ab9956cde47fb42ae1a3473ac26964ea )
José Matos [Tue, 28 May 2019 15:22:32 +0000 (16:22 +0100)]
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
8dd31803b16d1fb6b30772955188c3595437f64a )
Juergen Spitzmueller [Wed, 30 Oct 2019 18:51:22 +0000 (19:51 +0100)]
he.po: update from Guy.
Kornel Benko [Sat, 26 Oct 2019 13:31:25 +0000 (15:31 +0200)]
Arrgh: not everything is done with cherryy-pick. Amend
24fae9f5
Jean-Marc Lasgouttes [Sat, 29 Jun 2019 14:45:38 +0000 (16:45 +0200)]
Make build: amend
6f2cd26103d0 (allow more compilers)
Allow gcc 4.7 and 4.8, but use boost regex
Allow visual studio 2015.
(cherry picked from commit
1f90cd3b3f62c59c9a1f8ce3fb84ac163f52a9a2 )
Kornel Benko [Thu, 13 Jun 2019 07:18:40 +0000 (09:18 +0200)]
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
6f2cd26103d0d59fd76184fd76af89cb8817ad4f )
Jean-Marc Lasgouttes [Wed, 12 Jun 2019 18:17:55 +0000 (20:17 +0200)]
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
44bbd0b0ef8450f4d88dfb8c3345118f2fd14dfc )
Jean-Marc Lasgouttes [Wed, 12 Jun 2019 16:49:29 +0000 (18:49 +0200)]
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
134f3aedaf4150367cdc2f6855d695d3791a5353 )
Jean-Marc Lasgouttes [Sun, 20 Oct 2019 09:47:04 +0000 (11:47 +0200)]
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
58d22e0c6edab4cb68af63d3ccaafcb875be995d )
Jean-Marc Lasgouttes [Sun, 20 Oct 2019 18:50:23 +0000 (20:50 +0200)]
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
44816adce634c8a06c1ff0591adbcf042ec4c072 )
Jean-Marc Lasgouttes [Sun, 20 Oct 2019 10:54:59 +0000 (12:54 +0200)]
Set buffer when expanding macro
This avoids a crash in InsetMathSplit which uses the buffer() value.
Fixes bug #11686.
(cherry picked from commit
19abf29ea0cf89cdc99b9327448146aeb35d1dc1 )
Uwe Stöhr [Sun, 20 Oct 2019 21:06:21 +0000 (23:06 +0200)]
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"
Uwe Stöhr [Sun, 20 Oct 2019 19:20:55 +0000 (21:20 +0200)]
development/Makefile.am: fix compilation error
see also my message on the list
Juergen Spitzmueller [Sun, 11 Aug 2019 06:15:57 +0000 (08:15 +0200)]
Force LTR for numeric citations
Fixes: #3005
(cherry picked from commit
cce9adc1859f0134800c2405200f1467c8564b13 )
Jean-Marc Lasgouttes [Mon, 7 Oct 2019 10:31:20 +0000 (12:31 +0200)]
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
bdf58b77e7bebce6e9554151a909a5ee62be439f )
Enrico Forestieri [Sat, 28 Sep 2019 14:08:06 +0000 (16:08 +0200)]
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
0573bf92e08715266d97ba8cec74107d084744c8 )
Patrick de Visschere [Sun, 8 Sep 2019 09:11:00 +0000 (11:11 +0200)]
#6961 correct the big-endian conversion of UInt32
This is a patch from Patrick de Visschere. Thanks.
(cherry picked from commit
b70c3796a1f8752e0001701546f55a0d5feaf152 )
Kornel Benko [Mon, 16 Sep 2019 08:52:04 +0000 (10:52 +0200)]
Update sk.po
Jean-Marc Lasgouttes [Wed, 11 Sep 2019 13:49:50 +0000 (15:49 +0200)]
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
7c1c50d737d61aeccaa3ce277179db19ba3a7467 )
Jean-Marc Lasgouttes [Fri, 13 Sep 2019 07:52:33 +0000 (09:52 +0200)]
Fix warning
Richard Kimberly Heck [Thu, 12 Sep 2019 00:54:42 +0000 (20:54 -0400)]
Fix bug #11636.
Directories are created when files are copied, so we do not need
to do it prospectively here.
(cherry picked from commit
05a446b77c5eaeb8ba1982d900bd3ad6f6689139 )
Juergen Spitzmueller [Wed, 11 Sep 2019 08:29:50 +0000 (10:29 +0200)]
Allow to hide formats from menus
Fixes: #11657
(cherry picked from commit
d76cef70a0320212adb3cfcf73aa77174802e4fc )
Jean-Marc Lasgouttes [Wed, 28 Aug 2019 16:21:17 +0000 (18:21 +0200)]
Set buffer correctly when deleting column in math grid
This is a followup to
ebe6612e .
Fixes bug #11623.
(cherry picked from commit
5915d69eaf66cf89d5c5f24f436bc44afca24dfb )
Scott Kostyshak [Sat, 17 Aug 2019 20:35:01 +0000 (16:35 -0400)]
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
27f89144bbc054c2afd5ca9d7540805138d44de1 )
Juergen Spitzmueller [Tue, 27 Aug 2019 15:35:54 +0000 (17:35 +0200)]
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
Juergen Spitzmueller [Thu, 22 Aug 2019 15:35:56 +0000 (17:35 +0200)]
Amend [
d30da478d /lyxgit]
Some non-stable code was erroneously cherry-picked.
Fixes: #11642
Günter Milde [Wed, 21 Aug 2019 21:20:27 +0000 (23:20 +0200)]
Fix encoding issues with configuration under Python 3.
Backported from [
b9cc642 /lyxgit].
Juergen Spitzmueller [Fri, 16 Aug 2019 14:24:09 +0000 (16:24 +0200)]
Correctly set language after intitle paragraphs
Fixes: #11514
(cherry picked from commit
b5722962fb0393299e02df0b146522770e98aef6 )
Juergen Spitzmueller [Mon, 19 Aug 2019 05:32:57 +0000 (07:32 +0200)]
Properly terminate command.
This amends
1c2700eb1132 .
Juergen Spitzmueller [Wed, 14 Aug 2019 13:16:10 +0000 (15:16 +0200)]
Load rotfloat and rotating after graphicx.
Fixes: #11502
(cherry picked from commit
f937b5eb7a64a51cc47b4835da768556317facc6 )
Juergen Spitzmueller [Thu, 15 Aug 2019 14:21:13 +0000 (16:21 +0200)]
Fix coloured boxes in RTL with [pdf]latex (#8642)
(cherry picked from commit
7ca267e1fe7da456e41d8353b42f744797e32a9c )
Juergen Spitzmueller [Thu, 15 Aug 2019 13:15:59 +0000 (15:15 +0200)]
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
4e74dd0d4258177133e5a374264bbc0cec7f9dbb )
Juergen Spitzmueller [Thu, 15 Aug 2019 15:42:27 +0000 (17:42 +0200)]
hebarticle: fix compilation with XeTeX (bug #10525)
(cherry picked from commit
1f2eb92b334956d458bf1adca196da2eba1faadd )
Juergen Spitzmueller [Thu, 15 Aug 2019 07:20:40 +0000 (09:20 +0200)]
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)
Juergen Spitzmueller [Wed, 14 Aug 2019 16:59:43 +0000 (18:59 +0200)]
Update stats
Juergen Spitzmueller [Wed, 14 Aug 2019 16:55:25 +0000 (18:55 +0200)]
ar.po: update from Hatim Ali
Juergen Spitzmueller [Fri, 9 Aug 2019 06:06:23 +0000 (08:06 +0200)]
Typo
Juergen Spitzmueller [Mon, 5 Aug 2019 17:01:48 +0000 (19:01 +0200)]
Fix interplay of memoir and geometry
Fixes: #10970
(cherry picked from commit
65c1ae813318c128ce74f206eebc79328beb8f43 )
Juergen Spitzmueller [Mon, 5 Aug 2019 14:30:01 +0000 (16:30 +0200)]
Fix text direction of references with XeTeX/bidi
Fixes: #11626
(cherry picked from commit
231b36d95011f99993684add6e0cdd6012ec13d4 )
Pavel Sanda [Fri, 26 Jul 2019 19:42:19 +0000 (21:42 +0200)]
Richard Kimberly Heck [Thu, 25 Jul 2019 04:04:59 +0000 (00:04 -0400)]
Uwe Stöhr [Sat, 20 Jul 2019 23:31:46 +0000 (01:31 +0200)]
colored-boxes.lyx: add section about references
is a user request
Juergen Spitzmueller [Fri, 19 Jul 2019 04:55:45 +0000 (06:55 +0200)]
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.
Juergen Spitzmueller [Wed, 17 Jul 2019 04:43:06 +0000 (06:43 +0200)]
he.po: Fix string direction
Patch by Guy Rutenberg
Fixes: #11607
Kornel Benko [Tue, 16 Jul 2019 22:46:26 +0000 (00:46 +0200)]
Update sk.po
Juergen Spitzmueller [Sat, 13 Jul 2019 07:52:11 +0000 (09:52 +0200)]
Russian doc updates by Yuriy
Richard Kimberly Heck [Thu, 11 Jul 2019 20:20:10 +0000 (16:20 -0400)]
Fix bug #11612.
Register verbatim includes with the outliner.
(cherry picked from commit
6960bab65c07f36d3ab3b401214fc4f0b36f39ea )
Juergen Spitzmueller [Thu, 11 Jul 2019 07:54:28 +0000 (09:54 +0200)]
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
1d0929b5d9975923f3cbbe7f84e93f3b694a1ccb )
Juergen Spitzmueller [Thu, 11 Jul 2019 06:25:18 +0000 (08:25 +0200)]
Brackets reversion differs in luabidi (LuaTeX) from bidi (XeTeX)
This amends [
195f62ac93 /lyxgit]
(cherry picked from commit
d3aa1022603b94f101c3fc42a8d9a37cb6dc4432 )
Juergen Spitzmueller [Wed, 10 Jul 2019 17:10:16 +0000 (19:10 +0200)]
LuaTeX (luabidi) does not correct directions
This amends [
9d20bc4e98 /lyxgit].
(cherry picked from commit
a95339c6e1d9f15390a2734b7cc94b57282e740b )
Juergen Spitzmueller [Wed, 10 Jul 2019 20:57:34 +0000 (22:57 +0200)]
LuaTeX (luabidi) does not swap table columns
This amends [
21b347a2f8485 /lyxgit].
(cherry picked from commit
6f8db58778fc9851b85878e2db305bb0f897f7da )
Juergen Spitzmueller [Wed, 10 Jul 2019 12:50:08 +0000 (14:50 +0200)]
Fix right and left layout alignment (in workarea) with RTL
Fixes: #11606
(cherry picked from commit
b6f0c1de3d31b33452ad87a3a416731907e3c52e )
Juergen Spitzmueller [Tue, 9 Jul 2019 08:47:18 +0000 (10:47 +0200)]
Preserve star on citation style change via menu
Fixes: #11439
(cherry picked from commit
52fffee7f2a96025a872b5c3a8c4dc26eae04822 )
Juergen Spitzmueller [Tue, 9 Jul 2019 14:10:23 +0000 (16:10 +0200)]
Update Russian Tutorial
Patch by Yuriy
Richard Kimberly Heck [Sun, 7 Jul 2019 17:34:28 +0000 (13:34 -0400)]
Updates to ANNOUNCE