Commit Graph

38153 Commits

Author SHA1 Message Date
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
jpc
e8b8cd2e78 Insert correct shortcut for environment split 2018-01-03 18:37:12 +01:00
jpc
afd1a24923 New beamer environments strings and documentation 2018-01-03 18:21:13 +01:00
Juergen Spitzmueller
d3ca12a5c2 Disable useless environment-split function at the core.
(cherry picked from commit f965d23633)
2018-01-03 13:19:24 +01:00
Juergen Spitzmueller
1b2dd66f78 Use the command-alternatives sequence as defined in menus.bind
Otherwise, the shortcut is not displayed in the menu.

(cherry picked from commit 7d2764fb9e)
2018-01-03 11:00:47 +01:00
Uwe Stöhr
964906110a ar.po: updates from Hatim 2018-01-02 15:25:00 +01:00
Günter Milde
72a6cd4bbc Update UserGuide and de/UserGuide.
Remove warnings for issues fixed in lyx2lyx.
Update the GUI name of the ligature-dash Option.
Fix example for preventing unwanted line break in French.
2018-01-02 12:55:07 +01:00
Juergen Spitzmueller
a32b764157 Update layout format 2018-01-02 11:54:58 +01:00
Günter Milde
20f3b828f9 Documentation fixes: revert conversion of -- to en dash in code.
lyx2lyx erroneousely merged -- to en dash in text with logical
markup "code".
Revealed by recent (but now silenced) ctest fails.

Also add space around en dash in examples.
2018-01-01 22:52:08 +01:00
Günter Milde
39beb08bf8 Fix lyx2lyx conversion of dashes.
Update for UserGuide and de/UserGuide will follow.
2018-01-01 22:47:56 +01:00