Commit Graph

38216 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
19c90f3a89 Make sure to add at least one element in row if possible
breakRow should only produce an empty row when there is nothing left
in the paragraph.

Fixes bug #10996.

(cherry picked from commit 253b935f65)
2018-01-30 11:07:44 +01:00
Jean-Marc Lasgouttes
34c1b3c42c 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-30 11:06:30 +01:00
Juergen Spitzmueller
bff3141b5c Document B_ in cite style definitions
(cherry picked from commit 8a08a19122)
2018-01-30 08:21:39 +01:00
Juergen Spitzmueller
275d5d30de Differentiate Buffer strings and GUI strings in citeengines
The former need to be translated to the buffer language, the latter to
the GUI language.

Fixes: #10946
(cherry picked from commit 5db4d712ef)
2018-01-30 08:21:21 +01:00
Juergen Spitzmueller
48f1b52004 Add Bibliography to the Outliner.
Fixes: #11001, #7724.
(cherry picked from commit fc2d8238dc)
2018-01-30 08:17:44 +01:00
Uwe Stöhr
6e06ef8b06 French EmbeddedObjects.lyx: sync document settings with English version
- English EmbeddedObjects.lyx: correct a typo
2018-01-29 15:09:41 +01:00
Richard Heck
bb30118ff4 Revert "Fix bug #11055."
This reverts commit 0be5ae123c.

Unintentionally committed. Sorry!!
2018-01-28 23:51:40 -05:00
Richard Heck
0be5ae123c Fix bug #11055.
See also https://marc.info/?l=lyx-devel&m=151709211602688&w=2.

(cherry picked from commit d3ee87eea2)
2018-01-28 23:46:39 -05:00
Scott Kostyshak
bdf5ea7833 Back to development 2018-01-28 21:44:36 -05:00
Scott Kostyshak
5a7aca6efd This is LyX 2.3.0rc2 2018-01-28 21:42:33 -05:00
Scott Kostyshak
26ecf5cb29 Remerge strings for 2.3.0rc2 2018-01-28 21:42:32 -05:00
Scott Kostyshak
45f3616786 Update docs to 2.3.0rc2 format 2018-01-28 21:41:52 -05:00
Scott Kostyshak
4d678859f3 Update NEWS for 2.3.0rc2 2018-01-28 21:14:01 -05:00
Scott Kostyshak
16a6ecf638 Update ANNOUNCE for 2.3.0rc2 2018-01-28 20:51:54 -05:00
Uwe Stöhr
4dbed35fa8 French Additional.lyx: fixes to be in sync with the English version
- 2 new sections added, some preamble fixes
- English Additional.lyx: remove unnecessary preamble code
2018-01-29 01:34:31 +01:00
jpc
7432a6a822 One more edtion after Additional.lyx update 2018-01-28 22:16:30 +01:00
jpc
5650d0fae0 A couple of typos detected while translating fr/Additional.lyx 2018-01-28 22:10:29 +01:00
jpc
29550a9586 Update fr.po 2018-01-28 22:00:19 +01:00
jpc
0e76d976de Update French Additional manual fir 2.3.0
Correlated changes in fr.po
2018-01-28 17:31:21 +01:00
Kornel Benko
366e800e85 Update sk.po 2018-01-28 13:26:40 +01:00
Enrico Forestieri
8b57f470c6 Update it.po 2018-01-28 10:32:50 +01:00
Juergen Spitzmueller
e947ca2551 de.po: last update before RC2 2018-01-28 08:39:59 +01:00
Uwe Stöhr
45b24df21d ru.po: last minute changes for RC from Yuriy 2018-01-28 01:16:13 +01:00
Pavel Sanda
fb06866220 * cs.po: backport from master 2018-01-27 23:22:57 +01:00
Juergen Spitzmueller
cf6ff2cac7 Properly communicate forced encodings
This is currently only relevant fo InsetListings, which falls back to
a fixed-width encoding under specific conditions. It is now possible
to query the inset about that and report the correct encoding in
DocIterator::getEncoding.

Addresses the second part of #10995

(cherry picked from commit f924ef2966)
2018-01-27 18:35:16 +01:00
Juergen Spitzmueller
463c994de2 Account for custom encoding in DocIteratior::getEncoding
Addresses #10995

(cherry picked from commit 7b169de401)
2018-01-27 18:34:51 +01:00
Juergen Spitzmueller
fdc98c3fa8 Make another GUI string translatable
Part of #10999.

(cherry picked from commit 6ed7bbbf7e)
2018-01-27 18:30:14 +01:00
Juergen Spitzmueller
47adfa661e Make GUI string translatable
Part of #10999

(cherry picked from commit 26755a015e)
2018-01-27 18:29:46 +01:00
Juergen Spitzmueller
d65eee3688 Use proper localization chain for Box special width/height
Fixes: #11000
(cherry picked from commit e2160ec960)
2018-01-27 18:25:52 +01:00
Jean-Marc Lasgouttes
f27d2cfa30 Revert "Remove 'premature optimization' that proved buggy"
This reverts commit 894ae19224.

Fixes bug 10996.
2018-01-27 12:18:25 +01:00
Juergen Spitzmueller
8cc7fe1c4b Fix outliner movement of frames
Make sure frames are properly separated from their neighbors above
and below in the target location.

Fixes: #10977.
2018-01-27 09:59:19 +01:00
Pavel Sanda
d57bb206c6 * layouttranslations.review - backport changes from master 2018-01-26 19:51:39 +01:00
Pavel Sanda
41ac1dba8c * layouttranslations - update ar, ru, el 2018-01-26 19:47:40 +01:00
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