Commit Graph

36016 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
02b248d270 Handle properly undo groups in embedded work areas
When a buffer is in an embedded work area (adv. find&replace), it is
not found by BufferList:::exists(), and therefore the undo group
created in GuiApplication::dispatch and in the handling of
LFUN_COMMAND_SEQUENCE will not be closed. Crashes can ensue, as
described in Ubuntu bug:
https://bugs.launchpad.net/bugs/1737429

The solution is to introduce BufferList::isInternal and act on it.

Fixes bug #10847.

(cherry picked from commit 8b107f0490)
2017-12-23 19:35:17 +01:00
Uwe Stöhr
cdf84eabc4 Win installer: improvements from Yuriy 2017-12-12 02:24:09 +01:00
Uwe Stöhr
f608ee75ca Win installer: settings for a 2.2.4 installer 2017-12-09 19:08:27 +01:00
Uwe Stöhr
8576728459 Win installer: new Russian translations thanks to Yuriy 2017-12-09 19:02:10 +01:00
Uwe Stöhr
a5d0909c6d Win installer: code review
- use https in URLs
- remove some unused code
- use variables if possible
2017-12-06 15:36:01 +01:00
Uwe Stöhr
7ae81dd4d7 Win installer: release a new version 2017-12-06 03:09:51 +01:00
Uwe Stöhr
31025147ec changes-merge.svgz: backport fro from commit 7aa45eb0 2017-12-05 20:42:26 +01:00
jpc
1e6775a561 A couple of editions in the French Intro manual 2017-11-27 18:25:27 +01:00
Richard Heck
992b8d42d9 Update Makefile after change of filename. 2017-11-23 11:29:26 -05:00
Kornel Benko
484443190e Renaming due to windows ignoring capitalization 2017-11-22 11:16:29 +01:00
Uwe Stöhr
7ad7575143 Win installer: check that the Win installer is not already running 2017-11-22 00:33:47 +01:00
Uwe Stöhr
224f4b0511 Ukrainian Footnote.png: update image 2017-11-22 00:24:40 +01:00
Uwe Stöhr
363484a83f Win installer: add two more required packages and correct a word
- vntex is necessary for Vietnamese, greek-fontenc for Greek
- use correct term for Farsi
2017-11-21 01:10:16 +01:00
Uwe Stöhr
778ebb3953 Win installer: backport some of the recent changes 2017-11-20 21:19:12 +01:00
Uwe Stöhr
324a0679ee Win installer: update package list
these are the packages required to compile all LyX doc, examples and template files that are not yet installed by MiKTeX on a fresh installation.
2017-11-20 02:36:34 +01:00
Uwe Stöhr
01205cfafa Win installer: add file info to the installer executable file 2017-11-18 16:54:44 +01:00
Uwe Stöhr
f0aabdc987 Win installer: enable support for high DPI 2017-11-18 15:22:26 +01:00
Uwe Stöhr
dc52d7ab2a Win installer: backport the LaTeX package list 2017-11-18 14:36:41 +01:00
Uwe Stöhr
fd76441d97 Win installer: backport some updates 2017-11-13 21:24:33 +01:00
Juergen Spitzmueller
6ef5e10e66 InsetExternal: update renderer after preview status change
This fixes a crash when changing instant preview prefs while
document with previewed external inset is opened.

Fixes: #10785
(cherry picked from commit 0842e22f45)
2017-11-13 09:54:37 +01:00
Juergen Spitzmueller
9235d5299e Mark some intentional fall-throughs (in a way understandable to gcc)
This silences -Wimplicit-fallthrough warnings with gcc7.
2017-11-10 13:07:00 +01:00
Enrico Forestieri
3628ceec48 Fix #10778 (issue with CJK and language nesting)
When using CJK, don't try to close a language that was never
opened before, such as when it is the main language.
2017-11-08 08:44:00 +01:00
Uwe Stöhr
3887ffb24f Win installer: make it a real Unicode program 2017-11-07 02:17:46 +01:00
Uwe Stöhr
27f1f8a948 Win installer: translate 2 installer sections 2017-11-05 22:33:44 +01:00
Uwe Stöhr
f2eec0b981 Win installer: convert the translations to Unicode
- since NSIS 3 Unicode is allowed and even required
2017-11-05 21:17:48 +01:00
Uwe Stöhr
6030161ad9 Win installer: backport some recent changes 2017-11-05 20:54:36 +01:00
Juergen Spitzmueller
16fcce1f71 Enable OK/Apply buttons when resetting to class defaults.
(cherry picked from commit b851a349b6)
2017-11-01 18:07:56 +01:00
Uwe Stöhr
d158f78f87 Win installer: fix detection of 64bit Krita and 64bit JabRef
also update the changelog
2017-11-01 14:34:36 +01:00
Uwe Stöhr
bffb17112b Win installer: fix a MiKTeX package issue
since a few months MiKTeX's package manager required the option "--admin" when calling it with admin privileges

- also register the .lyx22 file extension to be opened with the future LyX 2.2.4
2017-10-31 22:18:06 +01:00
Juergen Spitzmueller
c323be70b4 de.po 2017-10-24 08:45:02 +02:00
Juergen Spitzmueller
9b3b20a0ac More accurate description of fixltx2e state.
(cherry picked from commit bd14639d1c)
2017-10-23 16:41:57 -04:00
Richard Heck
c6a16909e0 Status for last two commits. 2017-10-23 16:36:34 -04:00
jpc
95d6cfe364 Make math options loading automatic, see ticket 10661
(cherry picked from commit 95f60915a7)
2017-10-23 16:34:53 -04:00
jpc
c28a604f3d Add obsolescence warning in fixltx2e description (ticket 9361)
(cherry picked from commit d57935b33b)
2017-10-23 16:32:32 -04:00
Enrico Forestieri
054b7c68a4 Speed up exit time
Instantiating a single QSettings and using it for each ui element
can significantly shorten the time required to save the various
states at exit. The speed up can be better appreciated on *nix,
where the settings are saved on disk, rather than on Windows where
they are held in memory (in the registry).
2017-10-18 22:11:56 +02:00
Richard Heck
74dbfc1b1b Revert "Fix bug #8782."
This reverts commit de2a58d986.
2017-10-15 20:57:15 -04:00
Stephan Witt
f15b3827ea Address bugs #10285 and #10542.
Add sips as a fallback converter for Mac to provide preview of PDF graphics in LyX when pdftops is not installed.

(cherry picked from commit c592fb58bb)
2017-10-15 13:16:52 -04:00
Richard Heck
de2a58d986 Fix bug #8782.
We need to invalidate the BibTeX cache when undoing or redoing. I do
not like having to do it for every undo or redo. We should only have
to do it if we restored or deleted an InsetBibTeX. But there is no
way, so far as I can see, to do it that way. I tried.

(cherry picked from commit 02847641a8)
2017-10-15 12:16:34 -04:00
Enrico Forestieri
11d6816330 Backport fix for #9778.
From Enrico.
2017-10-15 12:15:52 -04:00
Uwe Stöhr
22ff59c9ca Win installer. update Qt
- Qt 5.6.3 uses a different path name scheme
- one DLL as removed in Qt 5.6.3
2017-10-15 16:41:50 +02:00
Stephan Witt
108deae543 This change solves dialog stacking problems on newer Mac OS X in combination with the OS provided file open dialog.
(cherry picked from commit 97dc585138)
(cherry picked from commit 1460e8fe6f)
2017-10-14 17:58:10 +02:00
Juergen Spitzmueller
5ba05b546b Do not error on missing ZWNJ (ligature break) characters.
Since TeXLive 2016, "fontspec" maps the ligature break command
\textcompwordmark to the ZWNJ character (U+200C).
This character is missing in many fonts (including the default: Latin
Modern) which leads to "Missing character" warnings in the XeTeX/LuaTeX
log file if a document using non-TeX fonts contains a ligature break.

LyX reports missing characters as error since fixing #9610.
In case of "invisible" characters, there is no data loss, in case of the
ZWNJ the functionality is kept: ligatures are prevented also if the ZWNJ
is missing in a font.

Therefore, a missing ZWNJ is now treated similar to missing characters
in "nullfont" (see [63f41711/lyxgit], bug #10394) and does not trigger
an error.

Fixes: #10727
(cherry picked from commit a40868510d)
2017-10-14 17:52:42 +02:00
Juergen Spitzmueller
cd626c2411 Fix PDF output of clipped graphics with recent graphics package
The previous redirection of the senseless option "bb" to "viewport" in
PDFLaTeX output has been removed in a recent graphics package update.

This breaks documents, since clipped graphics silently stop displaying.

This change restores the previous output by using "viewport" instaed of
"bb" for non-PS/DVI output, while leaving PS/DVI untouched (where "bb"
and "viewport" behave differently.

Fixes: #7910
2017-10-13 08:31:37 +02:00
Kornel Benko
10002fe436 Cmake build: Needed variable for creation of debian package
The variable CPACK_DEBIAN_PACKAGE_RELEASE has to be in the form
of "^[A-Za-z0-9.+~]+$". We will use the abbreviated commit revision for now.
Without this change cmake 3.10 emits error.

(cherry picked from commit 847c68960a)
2017-10-09 10:05:42 +02:00
Richard Heck
6d11663090 Reset cursor before beginning reload sequence.
(cherry picked from commit af381a2fb2)
2017-10-08 23:08:05 -04:00
Uwe Stöhr
8631fa68a5 Win installer: update to Python 2.7.14 for LyX 2.2.4 2017-10-01 23:21:38 +02:00
Juergen Spitzmueller
7b41d977ad Fix crash when closing master with children and grandchildren
In some cases, it is possible that the BufferPositionMap has
dangling pointers. We thus check whether the Buffer is loaded
before accessing it.

Fixes: #10766
(cherry picked from commit 4f50cbcfe4)
2017-09-28 09:24:58 +02:00
jpc
1d55d8cd25 Update status.ééx 2017-09-26 18:21:23 +02:00
jpc
a2fe1ec8b9 Shortcut conflicts removed in fr.po 2017-09-22 22:31:30 +02:00
Uwe Stöhr
ca999d76a1 Customization.lyx: fix a typo 2017-09-11 21:19:38 +02:00