Commit Graph

38162 Commits

Author SHA1 Message Date
Guillaume MM
789617b818 Install a new compressor
A brand new event compressor based on Kuba Ober's cleverly simple
solution: <https://stackoverflow.com/a/21006207>.

Fix #9362, #9461, #9933: Lyx suddenly gets keyboard keys wrong, and
deadlocks

Fix #9790: LyX should perform key event compression (for improving the
remote X connections one would also need to implement
Qt::WA_KeyCompression)

Fix #10516: slowness on repeated arrow keys with IBus and Qt5

Patch pulled from
https://github.com/gadmm/lyx-unstable/commit/bf5a1efb0db5bfc2b

Signed-off-by: Juergen Spitzmueller <spitz@lyx.org>
(cherry picked from commit 43e4b80734)
2018-01-19 09:32:32 +01:00
Uwe Stöhr
e629a978fd UserGuide.lyx: correct an equation
thanks Yuriy for spotting
2018-01-19 01:02:46 +01:00
Uwe Stöhr
a6ccb4e1d7 ru.po: updates from Yuriy
- also some updates for Tutorial.lyx
2018-01-19 00:31:30 +01:00
Scott Kostyshak
968afbbadd ctests: invert for new ru example_lyxified.lyx
Consistent with the ru splash.lyx, we invert the texF tests for the
ru example_lyxified.lyx, which was recently added at 69ef4bc1.

(cherry picked from commit dc06714adb)
2018-01-18 00:03:05 -05:00
Uwe Stöhr
9054818ac8 xyfigure.lyx: add missing Makefile entry
- also update the xyfigure.png
- update image setting in LyX file
2018-01-17 15:57:09 +01:00
jpc
556af55f47 Create French translation of xyfigure.lyx 2018-01-17 10:33:42 +01:00
Scott Kostyshak
66b5538339 ctest comment: be more clear about what "!" means
The "!" line only affects tests in that file.

This amends c6d4380c.

Thanks to Kornel for spotting this.

(cherry picked from commit 39c22913a2)
2018-01-17 01:09:36 -05:00
jpc
ddc5b00ea4 File checked with pocheck.pl 2018-01-16 18:05:55 +01:00
Uwe Stöhr
8a28967898 ru.po: updates from Yuriy 2018-01-16 15:40:59 +01:00
Uwe Stöhr
3e93c4f79b example files: distribute some changes
- French:
 - fix compilation of beamer.lyx
 - update a screenshot
2018-01-16 14:49:24 +01:00
Jean-Marc Lasgouttes
9bec4b8a0a Fix repaint of unselected branch
This works around a TextMetrics issue where Row::beg/end_margin_sel
are sometimes not reset correctly when there is no selection on the
row.

In master a fix for this problem has been done at 654cded1. Here we
prefer a much simpler work around that fixes the symptom.

Fixes bug #10972.
2018-01-16 09:37:30 +01:00
Enrico Forestieri
6c6ce3bca3 Update it.po 2018-01-16 09:23:46 +01:00
Uwe Stöhr
c9c4c17d7a EmbeddedObjects.lyx: fix a typo spotted by Paul Rubin
fixes #10965
2018-01-16 04:45:20 +01:00
Uwe Stöhr
1ed8ac1adf doc files: correct preamble commands
thanks toe Jean-Pierre
2018-01-16 04:04:51 +01:00
Scott Kostyshak
7a9aa76a1a Comment: explain interpretation of "!"
The "!" line takes precedence, since it is first.

(cherry picked from commit c6d4380c89)
2018-01-15 17:31:48 -05:00
Scott Kostyshak
6474b0fb04 Whitespace 2018-01-15 17:07:55 -05:00
Scott Kostyshak
fcfc95e41c Merge branch 'ja_knitr_sweave_updates'
This merges updates from Koji Yokota, and adapts the ctests
accordingly.

(cherry picked from commit 299b730318)
2018-01-15 17:05:22 -05:00
Scott Kostyshak
2c20f06d25 ctests: allow excluding patterns
This allows us to exclude matches of certain patterns in
invertedTests, ignoredTests, unreliableTests, and suspendedTests.

To use this new functionality, prefix "!" to the pattern.

This functionality serves as a workaround in some cases to not being
able to use advanced regular expression techniques, such as
"negative lookahead", with CMake's regular expression engine.

Output of "ctest -N" is unchanged by this commit.

This functionality will be used soon (see next commits).

Patch from Kornel Benko.

(cherry picked from commit 10cd5dd223)
2018-01-15 16:58:59 -05:00
Kornel Benko
26e5991af7 Update sk.po 2018-01-15 19:48:55 +01:00
Scott Kostyshak
ba1cca5289 Remerge strings for translators 2018-01-15 13:07:48 -05:00
Uwe Stöhr
bb3ee903b6 uk.po: updates from Yuri 2018-01-15 15:33:11 +01:00
Jean-Marc Lasgouttes
894ae19224 Remove 'premature optimization' that proved buggy
At some time it seemed like a good idea in breakRow() to return early
when the row was bound to be empty. It turns out that this creates two
symptoms:

* empty paragraphs will not have an end of paragraph marker

* since row width is not correctly computed in this case, caret ghosts
  can appear in master.

This commit removes the oprimization and replace the do {} while()
construct to a straightforward while() {}.

Related to bug #10952.

(cherry picked from commit 76f0a3dd4e)
2018-01-15 09:49:10 +01:00
Uwe Stöhr
41fe69e5d0 Win installer: start an an RC2 installer
- also fix a typo and update a file size
2018-01-14 22:16:23 +01:00
Juergen Spitzmueller
9b603d90c8 Fix loop while separating
getMaxDepthAfter() gives wrong result here.

Fixes: #10979

Signed-off-by: Juergen Spitzmueller <spitz@lyx.org>
(cherry picked from commit bceaa7f929)
2018-01-13 10:01:44 +01:00
Günter Milde
1702e76a1f Do not convert dashes/hyphens in LyX-Code.
See previous commit and #10961
2018-01-12 13:54:05 +01:00
Günter Milde
145f583244 Do not convert dashes/hyphens in Code insets (logical markup).
Code is by default rendered as typewriter and should be treated
similar:
In text marked up as code, -- or --- is typically part of a
command (e.g. "lyx --help" or "x--") and not a transliteration
for en dash, see #10961.
This is already handled so for text in typewriter font
(see Text.cpp:500).
2018-01-12 13:54:05 +01:00
Juergen Spitzmueller
8c3650f8a0 Take AgainFrame to the TOC.
(cherry picked from commit 3daa447c3c)
2018-01-12 10:33:14 +01:00
Juergen Spitzmueller
9e8d702d63 Fix Null-checking issue detected by Coverity.
(cherry picked from commit 974553d858)
2018-01-12 10:31:40 +01:00
Juergen Spitzmueller
e8fb5da776 Revert "de.po: update some translations"
This reverts commit 9089dec01d.
2018-01-12 10:23:44 +01:00
Uwe Stöhr
3954e8a9c6 UserGuide.lyx: distribute recent changes 2018-01-12 04:52:53 +01:00
Uwe Stöhr
9089dec01d de.po: update some translations 2018-01-12 04:51:54 +01:00
Uwe Stöhr
8a03417b65 Additional.lyx: re-sync with master
please use use LyX 2.3.x and keep the docs in sync unless you describe a new feature of LyX 2.4
2018-01-12 02:41:52 +01:00
Pavel Sanda
f91e77d18e RCS: commit undo allowed only in unlocked state. 2018-01-11 23:47:41 +01:00
Uwe Stöhr
952abe8c54 ru.po: updates from Yuriy 2018-01-10 02:37:58 +01:00
Uwe Stöhr
e1b275650c another dummy test commit 2018-01-10 02:24:29 +01:00
Uwe Stöhr
123759be5f Customization.lyx: distribute and accept recent changes 2018-01-09 01:27:51 +01:00
jpc
130c34596d Update log 2018-01-08 11:12:45 +01:00
jpc
a03ee8ed5c Hopefully final update of French EmbeddedObjects manual for 2.3.0 2018-01-07 11:00:40 +01:00
jpc
a9b5f7e348 Typo 2018-01-07 10:59:21 +01:00
Juergen Spitzmueller
70d580fea7 Mark follow-up paragraphs in a paragraph group as nested.
This gives a more consistent indication of what belongs to an environment
(and semantically, such paragraphs are synonymous to nested standard
paragraphs)

Addresses part of #9261.
2018-01-07 10:38:30 +01:00
jpc
f05ba30e88 Typo 2018-01-07 10:32:36 +01:00
Jean-Marc Lasgouttes
572b29b139 Update buffer when an inset or an INFO inset has bee inserted
This is important for info inset, since if updateBuffer needs to be
run in redoParagraph (for the macro code), crashes can happen.

Fixes bug #10944.

(cherry picked from commit 806f40dbd4)
2018-01-06 15:08:42 +01:00
Juergen Spitzmueller
de748ead81 Start inset at new line
(cherry picked from commit 7da8473c4f)
2018-01-06 11:39:41 +01:00
Juergen Spitzmueller
01281ca670 Customization: some color name fixes.
(cherry picked from commit 44670d4778)
2018-01-06 09:32:50 +01:00
Guillaume MM
225d47f298 Fix preview with a nested preview not being shown (#10795)
Regression at db581113.

(cherry picked from commit 94c65074e0)
2018-01-06 02:58:36 -05:00
Uwe Stöhr
6cdd0b9fe0 ru.po: fix msgmerge warnings 2018-01-05 21:52:37 +01:00
Juergen Spitzmueller
bd9c62d018 Minor re-ordering of the Insert menu
(cherry picked from commit 016393a0dd)
2018-01-05 11:10:52 +01:00
Richard Heck
b92ddb0362 Fix bug #10951.
The Buffer member for the remembered definition_ was not being set.

(cherry picked from commit f130f7713f)
2018-01-04 15:26:57 -05:00
Juergen Spitzmueller
cf97ec4a21 Do note attempt to nest more than possible.
(cherry picked from commit 32efb91438)
2018-01-04 18:40:26 +01:00
Juergen Spitzmueller
7668633b94 Properly handle color none.
Fixes: #5870
(cherry picked from commit 9a1eeb8cbb)
2018-01-04 08:23:04 +01:00