Commit Graph

38633 Commits

Author SHA1 Message Date
Uwe Stöhr
099c884abb ru.po: translations from Yuriy 2018-01-26 00:15:19 +01:00
Enrico Forestieri
8b0280d216 Correctly output a single char_type
On platforms where char_type is typedef'd to an integral type
rather than to wchar_t, when using the insertion operator <<
a single char_type is output as the number corresponding to the
code point of the character rather than as the character itself.
In this case, one has to use put().

(cherry picked from commit 144f06a00c)
2018-01-25 20:49:45 +01:00
Uwe Stöhr
71f534e0f7 po files: remerge for el.po
- also remerge the po files that are currently not delivered with LyX
2018-01-25 17:49:46 +01:00
Uwe Stöhr
61fe7e6513 el.po: new translations from Odysseas
- LINGUAS: enable the delivery of Greek translation with LyX
2018-01-25 17:44:20 +01:00
Scott Kostyshak
76a693a945 Correct \origin in the new ru examples
(cherry picked from commit 9b262fcff4)
2018-01-24 23:45:08 -05:00
Uwe Stöhr
55d5c20d93 Win installer: upgrade to Qt 5.9.4 2018-01-24 03:26:34 +01:00
Uwe Stöhr
b36aca42a2 seminar.lyx: backport Günter's recent fixes 2018-01-24 01:24:21 +01:00
Uwe Stöhr
cd8c6d4d2b build5*.bat: update to Qt 5.9.4
- also adjust build5-2015-x64.bat
2018-01-24 01:19:19 +01:00
Uwe Stöhr
bcedc7cd95 ru.po: more translations from Yuriy 2018-01-23 14:26:18 +01:00
Juergen Spitzmueller
17e241c694 Fix output of quote ligatures with TeX font LuaTeX
Fixes: #10988
(cherry picked from commit 5fce313ffc)
2018-01-22 09:24:59 +01:00
Uwe Stöhr
5018d23ff9 pt_BR.po: updates for 2.3.0 from Georger 2018-01-21 21:36:13 +01:00
jpc
309c7e17fd Update fr.po 2018-01-20 14:23:33 +01:00
Enrico Forestieri
0984e11317 Update it.po 2018-01-20 11:33:13 +01:00
Kornel Benko
5472bd18d8 Update sk.po 2018-01-20 10:16:53 +01:00
Juergen Spitzmueller
315032622b de.po: update 2018-01-20 09:47:08 +01:00
Juergen Spitzmueller
00aa9733a8 update po files after 34097ce8f0 2018-01-20 09:44:53 +01:00
Juergen Spitzmueller
c284a1b5b3 lyx_pot.py: consider empty encoding gui name
(cherry picked from commit 43c05fe16b)
2018-01-20 09:23:30 +01:00
Juergen Spitzmueller
34097ce8f0 Prevent to paste uncodable characters into verbatim
Since we now have proper encoding here, we can set this restriction.

(cherry picked from commit 54846d2d93)
2018-01-20 09:23:00 +01:00
Juergen Spitzmueller
74a1666531 Introduce "inherit" encoding for latex_language
This gets rid of the hardcoded latin1 encoding for verbatim. Instead,
verbatim now inherits the encoding from the context, which is what is
actually wanted here.

Fixes: #9012, #9258
2018-01-20 09:22:38 +01:00
Jean-Marc Lasgouttes
93893396e4 Initialize properly class member
Spotted by coverity.

(cherry picked from commit 2ba00ecb7b)
2018-01-19 09:33:53 +01:00
Juergen Spitzmueller
b0868e6eb1 Use qt4-compatible connect() syntax.
Signed-off-by: Juergen Spitzmueller <spitz@lyx.org>
(cherry picked from commit aab58fed6b)
2018-01-19 09:33:06 +01:00
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