38287 Commits

Author SHA1 Message Date
Richard Heck
9deedd5c18 Simplify code a bit. 2018-03-17 15:44:05 -04:00
Richard Heck
96ec4d645b Use pythonic syntax, as suggested by José.
(cherry picked from commit cec9edd34b9a43beadefd55d1755209e1acff191)
2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
11d20e132a tex2lyx: do not force default bibliography style if none is set
Some classes provide a \bibliographystyle, so we must not output any
\bibliographystyle if none is set in the TeX file.

Fixes: #10673
(cherry picked from commit ed331bedd6f7c412cbcf552c58da5d7b62846339)
2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
b35fb98335 Fix list of viewable formats in view/update menu.
Also fix list in (currently unused) Export toolbar button.

Fixes: #11044
(cherry picked from commit ab6bd5e3190e61fa46eb2fd057cdf7f71faf3f38)
2018-03-17 15:44:05 -04:00
Jean-Marc Lasgouttes
f599e90d92 Kill macro mode when using LFUN_ESCAPE
Add a `cancel' boolean to macroModeClose() that just removes all trace
of what has been entered instead of finalizing it.

When entering a macro in mathed, let LFUN_ESCAPE invoke
macroModeClose(true). The new semantics of LFUN_ESCAPE in mathed is
thus to abort the input of a macro name.

Fixes bug #9251.

(cherry picked from commit 9296344b9a26191a2092d175a51e357ecc35145d)
2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
148a053fbc escape label in included listings
Also use docstring rather than string.

Fixes part of #10544

(cherry picked from commit 0bf88651229bddc34b9856c7fa025245aa4246b8)
2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
0e08b4e4f5 Adapt to new ChkTeX return values.
As of v. 1.7.7, chktex has four exit values. Only consider the program
failed with EXIT_FAILURE (1). This is backwards compatible to chktex
up to v. 1.7.5 and later patched versions included in TeXLive, where
there was the distinction EXIT_FAILURE (program failed) and EXIT_SUCCESS
(program successfully run, with or without something to report).

Note that ChkTeX v. 1.7.5 and 1.7.6 vanilla (as included in MikTeX) also
returned EXITE_FAILURE if ChkTeX found something to report.

We do not, and never did, support this case.

Fixes: #9989 (after ChkTeX 1.7.7. is released).
(cherry picked from commit 0d806799aaef65b12a9b75e8c49c2613c68d5ac2)
2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
8bf7e691bc Do not use English, but the context language, when pasting from math
Fixes: #2596
(cherry picked from commit 92990adc236b19277a80c82ffa0580f5d1555bb0)
2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
6da7b92c36 update status 2018-03-17 15:44:05 -04:00
Richard Heck
2508e7aacc Status file for 2.3.1 2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
6c64844d3b Do not use English, but the context language, when pasting from LaTeX
Fixes: #9199
(cherry picked from commit e85704020ba613594a38e6f016ca7905c8f84c94)
2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
c285b4f8c3 amend 71fea633266
(cherry picked from commit be4d49ebd107cb4b91844a555302a6052457c483)
2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
c0a1893008 Disable CheckTeX while buffer is processed
Since CheckTeX itself processes the tex file, a synchronous run with
a TeX process can lead to all sorts of conflicts, including crashes.

Fixes: #7434.
(cherry picked from commit 71fea6332667e1a9fe99c38624e4dcaf1129d6c5)
2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
b408222f76 Disable BUFFER_EXPORT and BUFFER_EXPORT_AS while buffer is processed
I am rather irritated we didn't do this already, since synchronous runs
with BUFFER_VIEW or BUFFER_UPDATE leads to all sorts of problems,
including crashes.

Fixes the crash in #8338 (but not the bug itself).

(cherry picked from commit 1437ae3f9cf78ffd5c639cb4e70a0b1fba9f600e)
2018-03-17 15:44:05 -04:00
Pavel Sanda
9f3da3e616 Fix sideset hints, part of bug #11015. 2018-03-17 15:44:05 -04:00
Juergen Spitzmueller
cd51b9cca1 Re-add method to get a temporary file name without persistent QTemporaryFile object
This is needed for cases where the temp file has to be manually removed
at some point (e.g., if temp files are used as conversion target, and
the initial file only serves as a placeholder), since QTemporaryFile
objects cannot be manually removed at least on Windows (they are always
kept open internally even after close()). See
​http://lists.qt-project.org/pipermail/interest/2013-August/008352.html

In order to avoid race conditions due to duplicate names (the issue why
the old method was removed), we record all used temp file names.

Fixes: #9139
(cherry picked from commit 9e2928be68992161a54287d153e1e9431e30bb4c)
2018-03-17 15:44:05 -04:00
Richard Heck
7d98aebfd9 Remerge strings. 2018-03-17 15:40:17 -04:00
Uwe Stöhr
df3065124d ar.po: some updates from Hatim 2018-03-09 05:48:31 +01:00
Uwe Stöhr
ee51a86758 Arabic doc files: corrections by Hatim 2018-03-05 22:33:56 +01:00
Uwe Stöhr
276f1c90a0 ru.po: updates by Yuriy 2018-03-05 20:42:18 +01:00
Uwe Stöhr
5e03834223 ar.po: update from Hatim 2018-03-04 21:26:01 +01:00
Uwe Stöhr
0dee0920e0 Revert "configure.py: fix bug #11053"
This reverts commit 151ee98e3b886bc95fc072c7401270658f0bff6e.
2018-03-02 20:13:22 +01:00
Uwe Stöhr
151ee98e3b configure.py: fix bug #11053
- add quotes around the path to the python executable
2018-03-02 20:12:41 +01:00
Uwe Stöhr
1137a6a7fe po files: remerge the po files that are currently not actively maintained
- for the case that a new translator will show up he can start with this.
2018-03-01 19:34:36 +01:00
Uwe Stöhr
a54ab3ff33 ru.po: updates from Yuriy 2018-03-01 19:32:55 +01:00
Uwe Stöhr
68421b02d5 ar.po: update from Hatim 2018-03-01 19:19:42 +01:00
Kornel Benko
39a12a5cc9 Update sk.po 2018-02-27 09:25:30 +01:00
Scott Kostyshak
944dbdb56c configure.ac: development version is 2.3.1dev 2018-02-26 11:53:16 -05:00
Scott Kostyshak
f6b788f706 Back to development 2018-02-24 19:16:37 -05:00
Scott Kostyshak
4d5e926f0a This is LyX 2.3.0 2.3.0 2018-02-24 19:14:56 -05:00
Scott Kostyshak
8050fccca8 Remerge strings for 2.3.0 2018-02-24 19:14:55 -05:00
Pavel Sanda
411860ed26 sv.po reviewed by Jim 2018-02-24 14:13:44 +01:00
Pavel Sanda
7f783a68ce * cs.po - fix shortcut conflict 2018-02-24 01:19:41 +01:00
Pavel Sanda
4955d6abc8 * cs.po typo 2018-02-24 01:15:29 +01:00
Pavel Sanda
b9700d3b02 * cs.po 2018-02-24 01:14:39 +01:00
Uwe Stöhr
b5dc4856f7 ar.po: correct year 2018-02-23 22:37:02 +01:00
Scott Kostyshak
0601533c3c RELEASE-NOTES: document some new and changed LFUNs 2018-02-23 13:55:26 -05:00
Scott Kostyshak
b12156255d Copy caveats from RELEASE-NOTES to UPGRADING 2018-02-22 23:24:50 -05:00
Scott Kostyshak
88f4cb4999 Update ANNOUNCE for 2.3.0 2018-02-22 21:46:58 -05:00
Scott Kostyshak
8fa5b001d8 README.localization: layouttranslations1 on Linux
The target layouttranslations1 also works when using CMake on Linux.

(cherry picked from commit ee5f05bd1c06249b1c63c67fcf730b543d2547ba)
2018-02-22 15:17:51 -05:00
Pavel Sanda
06563275d7 * cs.po 2018-02-22 21:02:05 +01:00
Scott Kostyshak
78e666b478 ANNOUNCE: put that the primary FTP is in France
See discussion here:

https://www.mail-archive.com/search?l=mid&q=CAAGOGw8xabSxFadY31vT2ZLo%3DmN3o2XD2%3DkcdxKQgY8rgN_nZA%40mail.gmail.com
2018-02-22 13:35:42 -05:00
Uwe Stöhr
1aa4f965c5 Arabic Shortcuts.lyx: fixes by Hatim 2018-02-22 15:35:22 +01:00
Juergen Spitzmueller
d11d44026e Fix convert_separator routine with ancient LyX files. 2018-02-22 10:25:18 +01:00
Uwe Stöhr
11cd38d24a ru.po: corrections by Yuriy 2018-02-21 19:19:01 +01:00
Uwe Stöhr
7ddb5fb3e5 Arabic Shortcuts.lyx: translation update from Hatim 2018-02-21 19:18:40 +01:00
jpc
e6aaecd3f5 More French translations of the UserGuide 2018-02-21 16:47:06 +01:00
Pavel Sanda
9aa280993f small doc glitches 2018-02-21 14:44:56 +01:00
Pavel Sanda
1e863d35e1 whitespace 2018-02-21 14:34:46 +01:00
jpc
dbf33acb22 Better French translation for strike/cross out 2018-02-21 14:08:14 +01:00