]>
git.lyx.org Git - lyx.git/log
Juergen Spitzmueller [Sat, 10 Feb 2018 14:35:12 +0000 (15:35 +0100)]
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
dadec50a18d92d24d42e1ccf7474f07a2a66b5b4 )
Enrico Forestieri [Fri, 9 Feb 2018 22:35:33 +0000 (23:35 +0100)]
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
8e8b3f610495493f4f1bff3f4a0ff48f4eab4539 )
Juergen Spitzmueller [Fri, 9 Feb 2018 10:42:18 +0000 (11:42 +0100)]
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
398e026250f6d7d1687bdf04a8a27a61946d088f )
Juergen Spitzmueller [Fri, 9 Feb 2018 12:23:50 +0000 (13:23 +0100)]
tex2lyx: normalize bib and bst paths
Fixes: #7637
(cherry picked from commit
3cc98a9bf6ed506d04b502863d6424d36cb778b5 )
Juergen Spitzmueller [Thu, 8 Feb 2018 12:25:19 +0000 (13:25 +0100)]
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
2f6ada6644614df5f402efc7cbc1d27911b45376 )
Juergen Spitzmueller [Thu, 8 Feb 2018 18:06:35 +0000 (19:06 +0100)]
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
6e4e0869006aa4c225162164aaa14a70d041facf )
Juergen Spitzmueller [Thu, 8 Feb 2018 16:09:15 +0000 (17:09 +0100)]
Revert "Mark follow-up paragraphs in a paragraph group as nested."
This reverts commit
70d580fea7c0d3e914a56b9a52b401b9f948e78d .
Juergen Spitzmueller [Tue, 6 Feb 2018 17:39:00 +0000 (18:39 +0100)]
Do not show "Abstract" label in KOMA classes
This is not output by those classes (per default).
(cherry picked from commit
9b23b49d41a17054050e9b98d8cc9bf642026448 )
Juergen Spitzmueller [Tue, 6 Feb 2018 11:45:22 +0000 (12:45 +0100)]
Add missing connection.
This activates the OK/Apply when a biblatex style file is changed
manually
(cherry picked from commit
6236bcb653f36336b62d4c48769b2d60ec13a0dc )
Uwe Stöhr [Sun, 4 Feb 2018 22:40:37 +0000 (23:40 +0100)]
ru.po: translations from Yuriy
Uwe Stöhr [Sun, 4 Feb 2018 14:33:50 +0000 (15:33 +0100)]
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
Uwe Stöhr [Sun, 4 Feb 2018 14:23:36 +0000 (15:23 +0100)]
ar.po: updates from Hatim
Juergen Spitzmueller [Thu, 1 Feb 2018 13:58:49 +0000 (14:58 +0100)]
Enable CompressorProxy for all Workareas (incl. EmbeddedWorkarea)
This fixes the Advanced F&R.
(cherry picked from commit
5ce36019e591fbdf4a0cb3e44f3f9e2dc662be89 )
Uwe Stöhr [Fri, 2 Feb 2018 20:30:09 +0000 (21:30 +0100)]
sv.po: updates from Jim
Richard Heck [Fri, 2 Feb 2018 03:08:55 +0000 (22:08 -0500)]
Double escape binary regexes in module and citeengine searches.
See previous commit for explanation.
(cherry picked from commit
0e3d20929570729d2db5cd3b4b930e5234b426ac )
Richard Heck [Fri, 2 Feb 2018 02:58:29 +0000 (21:58 -0500)]
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
6b5a7116cd6697d1121a5ffb76d54102a8e265ba )
Uwe Stöhr [Thu, 1 Feb 2018 04:18:51 +0000 (05:18 +0100)]
French docs: remove a file that was accidentally committed
Uwe Stöhr [Thu, 1 Feb 2018 04:10:06 +0000 (05:10 +0100)]
pt_BR.po: updates from Georger
- He also reviewed layouttranslations and says it is OK
jpc [Wed, 31 Jan 2018 16:48:04 +0000 (17:48 +0100)]
Remove unappropriate French style command from preamble
Uwe Stöhr [Wed, 31 Jan 2018 04:46:58 +0000 (05:46 +0100)]
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
Uwe Stöhr [Wed, 31 Jan 2018 04:41:58 +0000 (05:41 +0100)]
ru.po: more translations from Yuriy
Juergen Spitzmueller [Tue, 30 Jan 2018 07:16:06 +0000 (08:16 +0100)]
Once more, the libertine font package has been renamed.
Take the newest one, if present.
Candidate for 2.3.x.
(cherry picked from commit
7e071f14b9394d1e8e974ba5d19c61921c203f5b )
jpc [Tue, 30 Jan 2018 14:09:23 +0000 (15:09 +0100)]
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
Jean-Marc Lasgouttes [Sat, 27 Jan 2018 11:29:27 +0000 (12:29 +0100)]
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
253b935f65759ba15b6af02117f8316e2aaf676e )
Jean-Marc Lasgouttes [Wed, 3 Jan 2018 17:28:55 +0000 (18:28 +0100)]
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
76f0a3dd4ee5c7958c6dea79628ef8c2ac2c59bd )
Juergen Spitzmueller [Sat, 27 Jan 2018 13:53:18 +0000 (14:53 +0100)]
Document B_ in cite style definitions
(cherry picked from commit
8a08a19122c8319cd8761e32c582ec2f42f20034 )
Juergen Spitzmueller [Sat, 27 Jan 2018 13:26:36 +0000 (14:26 +0100)]
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
5db4d712ef660273c1c12f211fdb4adf5a792ec3 )
Juergen Spitzmueller [Mon, 29 Jan 2018 08:09:51 +0000 (09:09 +0100)]
Add Bibliography to the Outliner.
Fixes: #11001, #7724.
(cherry picked from commit
fc2d8238dc5e589220e68766975b5438f1e57251 )
Uwe Stöhr [Mon, 29 Jan 2018 14:09:41 +0000 (15:09 +0100)]
French EmbeddedObjects.lyx: sync document settings with English version
- English EmbeddedObjects.lyx: correct a typo
Richard Heck [Mon, 29 Jan 2018 04:51:40 +0000 (23:51 -0500)]
Revert "Fix bug #11055."
This reverts commit
0be5ae123c212f544ace41fa94a2149c0973595b .
Unintentionally committed. Sorry!!
Richard Heck [Mon, 29 Jan 2018 04:33:45 +0000 (23:33 -0500)]
Fix bug #11055.
See also https://marc.info/?l=lyx-devel&m=
151709211602688 &w=2.
(cherry picked from commit
d3ee87eea282ca6e8f0a78bc6a0e27b4f0942624 )
Scott Kostyshak [Mon, 29 Jan 2018 02:44:36 +0000 (21:44 -0500)]
Back to development
Scott Kostyshak [Mon, 29 Jan 2018 02:42:33 +0000 (21:42 -0500)]
This is LyX 2.3.0rc2
Scott Kostyshak [Mon, 29 Jan 2018 02:42:32 +0000 (21:42 -0500)]
Remerge strings for 2.3.0rc2
Scott Kostyshak [Mon, 29 Jan 2018 02:41:52 +0000 (21:41 -0500)]
Update docs to 2.3.0rc2 format
Scott Kostyshak [Mon, 29 Jan 2018 02:13:19 +0000 (21:13 -0500)]
Update NEWS for 2.3.0rc2
Scott Kostyshak [Mon, 29 Jan 2018 01:49:43 +0000 (20:49 -0500)]
Update ANNOUNCE for 2.3.0rc2
Uwe Stöhr [Mon, 29 Jan 2018 00:34:31 +0000 (01:34 +0100)]
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
jpc [Sun, 28 Jan 2018 21:16:30 +0000 (22:16 +0100)]
One more edtion after Additional.lyx update
jpc [Sun, 28 Jan 2018 21:10:29 +0000 (22:10 +0100)]
A couple of typos detected while translating fr/Additional.lyx
jpc [Sun, 28 Jan 2018 21:00:19 +0000 (22:00 +0100)]
Update fr.po
jpc [Sun, 28 Jan 2018 16:31:21 +0000 (17:31 +0100)]
Update French Additional manual fir 2.3.0
Correlated changes in fr.po
Kornel Benko [Sun, 28 Jan 2018 12:26:40 +0000 (13:26 +0100)]
Update sk.po
Enrico Forestieri [Sun, 28 Jan 2018 09:32:50 +0000 (10:32 +0100)]
Update it.po
Juergen Spitzmueller [Sun, 28 Jan 2018 07:39:59 +0000 (08:39 +0100)]
de.po: last update before RC2
Uwe Stöhr [Sun, 28 Jan 2018 00:16:13 +0000 (01:16 +0100)]
ru.po: last minute changes for RC from Yuriy
Pavel Sanda [Sat, 27 Jan 2018 22:22:23 +0000 (23:22 +0100)]
* cs.po: backport from master
Juergen Spitzmueller [Fri, 26 Jan 2018 07:38:52 +0000 (08:38 +0100)]
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
f924ef29660af5afd22b96744a3e0bb128e1a58d )
Juergen Spitzmueller [Fri, 26 Jan 2018 07:37:06 +0000 (08:37 +0100)]
Account for custom encoding in DocIteratior::getEncoding
Addresses #10995
(cherry picked from commit
7b169de401529c5801c4326e1712fcca59125f50 )
Juergen Spitzmueller [Sat, 27 Jan 2018 10:20:11 +0000 (11:20 +0100)]
Make another GUI string translatable
Part of #10999.
(cherry picked from commit
6ed7bbbf7e8b651ff4a424ee0adf7b6b58f8cef8 )
Juergen Spitzmueller [Sat, 27 Jan 2018 09:57:33 +0000 (10:57 +0100)]
Make GUI string translatable
Part of #10999
(cherry picked from commit
26755a015e1fbeccd96848ea873c5c4dc6de0aa8 )
Juergen Spitzmueller [Sat, 27 Jan 2018 11:26:01 +0000 (12:26 +0100)]
Use proper localization chain for Box special width/height
Fixes: #11000
(cherry picked from commit
e2160ec960de2f48e5b61dfab339902426d075f8 )
Jean-Marc Lasgouttes [Sat, 27 Jan 2018 11:03:09 +0000 (12:03 +0100)]
Revert "Remove 'premature optimization' that proved buggy"
This reverts commit
894ae19224d0537c0c9ebd9ad45e547279769bd8 .
Fixes bug 10996.
Juergen Spitzmueller [Sat, 27 Jan 2018 08:59:19 +0000 (09:59 +0100)]
Fix outliner movement of frames
Make sure frames are properly separated from their neighbors above
and below in the target location.
Fixes: #10977.
Pavel Sanda [Fri, 26 Jan 2018 18:51:39 +0000 (19:51 +0100)]
* layouttranslations.review - backport changes from master
Pavel Sanda [Fri, 26 Jan 2018 18:47:40 +0000 (19:47 +0100)]
* layouttranslations - update ar, ru, el
Uwe Stöhr [Thu, 25 Jan 2018 23:15:19 +0000 (00:15 +0100)]
ru.po: translations from Yuriy
Enrico Forestieri [Thu, 25 Jan 2018 08:40:36 +0000 (09:40 +0100)]
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
144f06a00c58619557fb431877041fd9e4297a0f )
Uwe Stöhr [Thu, 25 Jan 2018 16:49:46 +0000 (17:49 +0100)]
po files: remerge for el.po
- also remerge the po files that are currently not delivered with LyX
Uwe Stöhr [Thu, 25 Jan 2018 16:44:20 +0000 (17:44 +0100)]
el.po: new translations from Odysseas
- LINGUAS: enable the delivery of Greek translation with LyX
Scott Kostyshak [Thu, 25 Jan 2018 04:43:34 +0000 (23:43 -0500)]
Correct \origin in the new ru examples
(cherry picked from commit
9b262fcff45920f07e6cd37846e31cbc31ab56b3 )
Uwe Stöhr [Wed, 24 Jan 2018 02:26:34 +0000 (03:26 +0100)]
Win installer: upgrade to Qt 5.9.4
Uwe Stöhr [Wed, 24 Jan 2018 00:24:21 +0000 (01:24 +0100)]
seminar.lyx: backport Günter's recent fixes
Uwe Stöhr [Wed, 24 Jan 2018 00:19:19 +0000 (01:19 +0100)]
build5*.bat: update to Qt 5.9.4
- also adjust build5-2015-x64.bat
Uwe Stöhr [Tue, 23 Jan 2018 13:26:18 +0000 (14:26 +0100)]
ru.po: more translations from Yuriy
Juergen Spitzmueller [Sun, 21 Jan 2018 11:24:02 +0000 (12:24 +0100)]
Fix output of quote ligatures with TeX font LuaTeX
Fixes: #10988
(cherry picked from commit
5fce313ffccea424487c83037b16f72f4f48eeb9 )
Uwe Stöhr [Sun, 21 Jan 2018 20:36:13 +0000 (21:36 +0100)]
pt_BR.po: updates for 2.3.0 from Georger
jpc [Sat, 20 Jan 2018 13:23:33 +0000 (14:23 +0100)]
Update fr.po
Enrico Forestieri [Sat, 20 Jan 2018 10:32:54 +0000 (11:32 +0100)]
Update it.po
Kornel Benko [Sat, 20 Jan 2018 09:16:53 +0000 (10:16 +0100)]
Update sk.po
Juergen Spitzmueller [Sat, 20 Jan 2018 08:47:08 +0000 (09:47 +0100)]
de.po: update
Juergen Spitzmueller [Sat, 20 Jan 2018 08:44:53 +0000 (09:44 +0100)]
update po files after
34097ce8f071c
Juergen Spitzmueller [Tue, 2 Jan 2018 12:55:01 +0000 (13:55 +0100)]
lyx_pot.py: consider empty encoding gui name
(cherry picked from commit
43c05fe16b35d302352d540a30012b353342687a )
Juergen Spitzmueller [Sun, 24 Dec 2017 16:14:05 +0000 (17:14 +0100)]
Prevent to paste uncodable characters into verbatim
Since we now have proper encoding here, we can set this restriction.
(cherry picked from commit
54846d2d93e74dcdd827f28bb7c258269863fa65 )
Juergen Spitzmueller [Sun, 24 Dec 2017 16:10:42 +0000 (17:10 +0100)]
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
Jean-Marc Lasgouttes [Fri, 12 Jan 2018 15:54:32 +0000 (16:54 +0100)]
Initialize properly class member
Spotted by coverity.
(cherry picked from commit
2ba00ecb7bf00b5f6a22f2f6ae23c4c9127e8a93 )
Juergen Spitzmueller [Fri, 12 Jan 2018 14:41:27 +0000 (15:41 +0100)]
Use qt4-compatible connect() syntax.
Signed-off-by: Juergen Spitzmueller <spitz@lyx.org>
(cherry picked from commit
aab58fed6b140e1629d7c4c4f7becbf5b3e74160 )
Guillaume MM [Fri, 12 Jan 2018 09:58:31 +0000 (10:58 +0100)]
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
43e4b8073445d147be353013e3a7e081e11653ba )
Uwe Stöhr [Fri, 19 Jan 2018 00:02:46 +0000 (01:02 +0100)]
UserGuide.lyx: correct an equation
thanks Yuriy for spotting
Uwe Stöhr [Thu, 18 Jan 2018 23:31:30 +0000 (00:31 +0100)]
ru.po: updates from Yuriy
- also some updates for Tutorial.lyx
Scott Kostyshak [Thu, 18 Jan 2018 04:15:21 +0000 (23:15 -0500)]
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
dc06714adb8ba0678b1d92e017360526eb36a1b2 )
Uwe Stöhr [Wed, 17 Jan 2018 14:57:09 +0000 (15:57 +0100)]
xyfigure.lyx: add missing Makefile entry
- also update the xyfigure.png
- update image setting in LyX file
jpc [Wed, 17 Jan 2018 09:32:34 +0000 (10:32 +0100)]
Create French translation of xyfigure.lyx
Scott Kostyshak [Wed, 17 Jan 2018 06:05:02 +0000 (01:05 -0500)]
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
39c22913a2b754a5f8e9a2bdf4e1e27aa61e354f )
jpc [Tue, 16 Jan 2018 17:05:55 +0000 (18:05 +0100)]
File checked with pocheck.pl
Uwe Stöhr [Tue, 16 Jan 2018 14:40:59 +0000 (15:40 +0100)]
ru.po: updates from Yuriy
Uwe Stöhr [Tue, 16 Jan 2018 13:49:24 +0000 (14:49 +0100)]
example files: distribute some changes
- French:
- fix compilation of beamer.lyx
- update a screenshot
Jean-Marc Lasgouttes [Mon, 15 Jan 2018 16:23:48 +0000 (17:23 +0100)]
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.
Enrico Forestieri [Tue, 16 Jan 2018 08:23:46 +0000 (09:23 +0100)]
Update it.po
Uwe Stöhr [Tue, 16 Jan 2018 03:45:20 +0000 (04:45 +0100)]
EmbeddedObjects.lyx: fix a typo spotted by Paul Rubin
fixes #10965
Uwe Stöhr [Tue, 16 Jan 2018 03:04:51 +0000 (04:04 +0100)]
doc files: correct preamble commands
thanks toe Jean-Pierre
Scott Kostyshak [Mon, 15 Jan 2018 22:28:14 +0000 (17:28 -0500)]
Comment: explain interpretation of "!"
The "!" line takes precedence, since it is first.
(cherry picked from commit
c6d4380c891e3c1f9381cc4065409e30d330f622 )
Scott Kostyshak [Mon, 15 Jan 2018 22:07:55 +0000 (17:07 -0500)]
Whitespace
Scott Kostyshak [Mon, 15 Jan 2018 22:01:28 +0000 (17:01 -0500)]
Merge branch 'ja_knitr_sweave_updates'
This merges updates from Koji Yokota, and adapts the ctests
accordingly.
(cherry picked from commit
299b730318137e01e74ed95353cfc6ef00839612 )
Scott Kostyshak [Mon, 15 Jan 2018 21:25:44 +0000 (16:25 -0500)]
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
10cd5dd223402e96c2d58a1f4b32d45abccd36ee )
Kornel Benko [Mon, 15 Jan 2018 18:48:55 +0000 (19:48 +0100)]
Update sk.po
Scott Kostyshak [Mon, 15 Jan 2018 18:02:43 +0000 (13:02 -0500)]
Remerge strings for translators
Uwe Stöhr [Mon, 15 Jan 2018 14:33:11 +0000 (15:33 +0100)]
uk.po: updates from Yuri
Jean-Marc Lasgouttes [Wed, 3 Jan 2018 17:28:55 +0000 (18:28 +0100)]
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
76f0a3dd4ee5c7958c6dea79628ef8c2ac2c59bd )
Uwe Stöhr [Sun, 14 Jan 2018 21:16:23 +0000 (22:16 +0100)]
Win installer: start an an RC2 installer
- also fix a typo and update a file size