Commit Graph

39539 Commits

Author SHA1 Message Date
Juergen Spitzmueller
fe414fcdd8 Fix race condition in processFuncRequestQueue
The issue here was that the element was only removed from the queue
after the func request was processed, but within that process, other
function could access the queue, so the queue could even be empty
when this function finally wanted to remove the item.

Fixes: #10406.
(cherry picked from commit dadec50a18)
2018-02-10 18:32:03 +01:00
Enrico Forestieri
e43bf58223 Avoid an infinite loop
When pasting "\big" without any following delimiter, avoid
processing the same token again and again. For unknown reasons,
the delim docstring turns out to always be not empty: even when
it simply contains a '0' (no delimiter follows), its length is 1.

Fixes bug #11027.

(cherry picked from commit 8e8b3f6104)
2018-02-10 10:36:48 +01:00
Juergen Spitzmueller
2d923e4243 Fix child document regex in scanLogFile
Several problems:
* The regex failed at names such as 1_text_2_text.tex
  (returned "2_text.tex)
* The regex failed at names such as 12_text.tex
  (returned "2_text.tex)
* Masters with digits in the name (2018_text.tex) were
  tracked as their own children

(cherry picked from commit 398e026250)
2018-02-10 07:59:30 +01:00
Juergen Spitzmueller
04e995e807 tex2lyx: normalize bib and bst paths
Fixes: #7637
(cherry picked from commit 3cc98a9bf6)
2018-02-09 18:57:53 +01:00
Juergen Spitzmueller
af91405786 Consider class-provided citation engines
Do not attempt to load, nor allow to set, a different engine in this
case.

Fixes: #11022
(cherry picked from commit 2f6ada6644)
2018-02-09 09:50:43 +01:00
Juergen Spitzmueller
5549d3033f Reset cur.pit() when pasting into tables.
The number of paragraphs can change here, so pit() can become invalid.

Fixes: #9983
(cherry picked from commit 6e4e086900)
2018-02-09 09:37:51 +01:00
Juergen Spitzmueller
78911c7379 Revert "Mark follow-up paragraphs in a paragraph group as nested."
This reverts commit 70d580fea7.
2018-02-08 17:09:15 +01:00
Juergen Spitzmueller
0d82fd392f Do not show "Abstract" label in KOMA classes
This is not output by those classes (per default).

(cherry picked from commit 9b23b49d41)
2018-02-06 18:41:13 +01:00
Juergen Spitzmueller
4285438558 Add missing connection.
This activates the OK/Apply when a biblatex style file is changed
manually

(cherry picked from commit 6236bcb653)
2018-02-06 17:58:13 +01:00
Uwe Stöhr
56f25c6f36 ru.po: translations from Yuriy 2018-02-04 23:40:37 +01:00
Uwe Stöhr
7d333c17a5 po files: remerge again some files
I have seen that line numbers changed in the meantime, therefore help the translators whose files are not yet 100% translated a bit
2018-02-04 15:33:50 +01:00
Uwe Stöhr
a812955d82 ar.po: updates from Hatim 2018-02-04 15:23:36 +01:00
Juergen Spitzmueller
14e0a27098 Enable CompressorProxy for all Workareas (incl. EmbeddedWorkarea)
This fixes the Advanced F&R.

(cherry picked from commit 5ce36019e5)
2018-02-03 09:43:36 +01:00
Uwe Stöhr
23d27a5953 sv.po: updates from Jim 2018-02-02 21:30:09 +01:00
Richard Heck
92ca5012ce Double escape binary regexes in module and citeengine searches.
See previous commit for explanation.

(cherry picked from commit 0e3d209295)
2018-02-01 23:33:54 -05:00
Richard Heck
42718b1dbd Double escape binary regex in lyx2lyx and fix line-ending problem.
When we switched from r'...' to b'...', this required strings used
as input to re.compile to be double-escaped. It's not an issue with
"\s", because "\s" has no special meaning in a string.

Also, printing in binary mode did not output a line ending.

(cherry picked from commit 6b5a7116cd)
2018-02-01 23:33:37 -05:00
Uwe Stöhr
4fc0f3e754 French docs: remove a file that was accidentally committed 2018-02-01 05:18:51 +01:00
Uwe Stöhr
621f8f9c16 pt_BR.po: updates from Georger
- He also reviewed layouttranslations and says it is OK
2018-02-01 05:10:06 +01:00
jpc
b1a800613b Remove unappropriate French style command from preamble 2018-01-31 17:49:51 +01:00
Uwe Stöhr
61f704d1db French docs: port Günter's changes to branch
Günter please always commit to the current branch except it is a change that describes a new feature in master
2018-01-31 05:46:58 +01:00
Uwe Stöhr
3e73fb629d ru.po: more translations from Yuriy 2018-01-31 05:41:58 +01:00
Juergen Spitzmueller
b573a9bd55 Once more, the libertine font package has been renamed.
Take the newest one, if present.

Candidate for 2.3.x.

(cherry picked from commit 7e071f14b9)
2018-01-30 19:29:10 +01:00
jpc
224e9c26eb Translation of sections 6.4 (aguplus) and 6.7 (egs)
Note that both sections are oudated
      since 2016 for aguplus and 2002 for egs
      I added notes avout this in the French version of the manual
2018-01-30 15:12:54 +01:00
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