]>
git.lyx.org Git - lyx.git/log
Uwe Stöhr [Sat, 17 Feb 2018 05:02:38 +0000 (06:02 +0100)]
Win installer: fix installation of Arabic dictionaries.nsh
- correct name of Arabic spell checker (fixes bug #11036)
- add Arabic thesaurus
- update sourceforge's mirror list
- update some dictionaries
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 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 )
Kornel Benko [Mon, 29 Jan 2018 05:44:56 +0000 (06:44 +0100)]
Update sk.po
Richard Heck [Mon, 29 Jan 2018 05:04:38 +0000 (00:04 -0500)]
Remerge strings.
Enrico Forestieri [Sun, 28 Jan 2018 14:14:31 +0000 (15:14 +0100)]
Update it.po
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 )
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 )
Jean-Marc Lasgouttes [Mon, 15 Jan 2018 16:23:48 +0000 (17:23 +0100)]
Fix repaint of unselected paragraph label
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.
(cherry picked from commit
9bec4b8a0ababb6b18c41df946fcf7e893100d94 )
Uwe Stöhr [Tue, 16 Jan 2018 03:42:08 +0000 (04:42 +0100)]
EmbeddedObjects.lyx: fix a typo spotted by Paul Rubin
fixes #10965
Uwe Stöhr [Sun, 14 Jan 2018 21:17:43 +0000 (22:17 +0100)]
Win installer: fix a typo and updates
Juergen Spitzmueller [Sat, 6 Jan 2018 08:07:26 +0000 (09:07 +0100)]
Customization: correct some color names.
#10141
Richard Heck [Tue, 2 Jan 2018 03:18:52 +0000 (22:18 -0500)]
Fix bug #10951.
The Buffer member for the remembered definition_ was not being set.
(cherry picked from commit
f130f7713fae326daa05795a5bf4761d33aee649 )
Jean-Marc Lasgouttes [Tue, 25 Jul 2017 09:51:49 +0000 (11:51 +0200)]
Check whether a class is known before loading it
Fixes bug #10719.
(cherry picked from commit
15a87dd3a86235848983022ecb7927675a62d4e3 )
Jean-Marc Lasgouttes [Wed, 13 Dec 2017 09:38:47 +0000 (10:38 +0100)]
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
8b107f0490e61b4390e925f08d21661ef50d6f49 )
Uwe Stöhr [Tue, 12 Dec 2017 01:24:09 +0000 (02:24 +0100)]
Win installer: improvements from Yuriy
Uwe Stöhr [Sat, 9 Dec 2017 18:08:27 +0000 (19:08 +0100)]
Win installer: settings for a 2.2.4 installer
Uwe Stöhr [Sat, 9 Dec 2017 18:02:10 +0000 (19:02 +0100)]
Win installer: new Russian translations thanks to Yuriy
Uwe Stöhr [Wed, 6 Dec 2017 14:36:01 +0000 (15:36 +0100)]
Win installer: code review
- use https in URLs
- remove some unused code
- use variables if possible
Uwe Stöhr [Wed, 6 Dec 2017 02:09:51 +0000 (03:09 +0100)]
Win installer: release a new version
Uwe Stöhr [Tue, 5 Dec 2017 19:42:26 +0000 (20:42 +0100)]
changes-merge.svgz: backport fro from commit
7aa45eb0
jpc [Mon, 27 Nov 2017 17:25:27 +0000 (18:25 +0100)]
A couple of editions in the French Intro manual
Richard Heck [Thu, 23 Nov 2017 16:29:26 +0000 (11:29 -0500)]
Update Makefile after change of filename.
Kornel Benko [Wed, 22 Nov 2017 10:16:29 +0000 (11:16 +0100)]
Renaming due to windows ignoring capitalization
Uwe Stöhr [Tue, 21 Nov 2017 23:33:47 +0000 (00:33 +0100)]
Win installer: check that the Win installer is not already running
Uwe Stöhr [Tue, 21 Nov 2017 23:24:40 +0000 (00:24 +0100)]
Ukrainian Footnote.png: update image
Uwe Stöhr [Tue, 21 Nov 2017 00:10:16 +0000 (01:10 +0100)]
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
Uwe Stöhr [Mon, 20 Nov 2017 20:19:12 +0000 (21:19 +0100)]
Win installer: backport some of the recent changes
Uwe Stöhr [Mon, 20 Nov 2017 01:36:34 +0000 (02:36 +0100)]
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.
Uwe Stöhr [Sat, 18 Nov 2017 15:54:44 +0000 (16:54 +0100)]
Win installer: add file info to the installer executable file
Uwe Stöhr [Sat, 18 Nov 2017 14:22:26 +0000 (15:22 +0100)]
Win installer: enable support for high DPI
Uwe Stöhr [Sat, 18 Nov 2017 13:36:41 +0000 (14:36 +0100)]
Win installer: backport the LaTeX package list
Uwe Stöhr [Mon, 13 Nov 2017 20:24:33 +0000 (21:24 +0100)]
Win installer: backport some updates
Juergen Spitzmueller [Sun, 12 Nov 2017 13:44:18 +0000 (14:44 +0100)]
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
0842e22f4551e84dbf24259c65994c760fc22925 )
Juergen Spitzmueller [Fri, 10 Nov 2017 12:07:00 +0000 (13:07 +0100)]
Mark some intentional fall-throughs (in a way understandable to gcc)
This silences -Wimplicit-fallthrough warnings with gcc7.
Enrico Forestieri [Wed, 8 Nov 2017 07:44:00 +0000 (08:44 +0100)]
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.
Uwe Stöhr [Tue, 7 Nov 2017 01:17:46 +0000 (02:17 +0100)]
Win installer: make it a real Unicode program
Uwe Stöhr [Sun, 5 Nov 2017 21:33:44 +0000 (22:33 +0100)]
Win installer: translate 2 installer sections
Uwe Stöhr [Sun, 5 Nov 2017 20:17:48 +0000 (21:17 +0100)]
Win installer: convert the translations to Unicode
- since NSIS 3 Unicode is allowed and even required
Uwe Stöhr [Sun, 5 Nov 2017 19:54:36 +0000 (20:54 +0100)]
Win installer: backport some recent changes
Juergen Spitzmueller [Wed, 1 Nov 2017 11:03:54 +0000 (12:03 +0100)]
Enable OK/Apply buttons when resetting to class defaults.
(cherry picked from commit
b851a349b6f303824f329a5dc854827f66828764 )
Uwe Stöhr [Wed, 1 Nov 2017 13:34:36 +0000 (14:34 +0100)]
Win installer: fix detection of 64bit Krita and 64bit JabRef
also update the changelog
Uwe Stöhr [Tue, 31 Oct 2017 21:18:06 +0000 (22:18 +0100)]
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
Juergen Spitzmueller [Tue, 24 Oct 2017 06:45:02 +0000 (08:45 +0200)]
de.po
Juergen Spitzmueller [Mon, 23 Oct 2017 11:49:03 +0000 (13:49 +0200)]
More accurate description of fixltx2e state.
(cherry picked from commit
bd14639d1ce7be9de94f427152cbd7d8e06269a7 )
Richard Heck [Mon, 23 Oct 2017 20:36:34 +0000 (16:36 -0400)]
Status for last two commits.
jpc [Mon, 23 Oct 2017 07:18:56 +0000 (09:18 +0200)]
Make math options loading automatic, see ticket 10661
(cherry picked from commit
95f60915a73219e1fcf549b292b17f5307f94078 )
jpc [Mon, 23 Oct 2017 07:51:08 +0000 (09:51 +0200)]
Add obsolescence warning in fixltx2e description (ticket 9361)
(cherry picked from commit
d57935b33bc813ffd8e3b49c53676d66d7ee0c4a )
Enrico Forestieri [Wed, 18 Oct 2017 20:11:56 +0000 (22:11 +0200)]
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).
Richard Heck [Mon, 16 Oct 2017 00:57:15 +0000 (20:57 -0400)]
Revert "Fix bug #8782."
This reverts commit
de2a58d986739bccb83615e8515d715ebf1b5821 .
Stephan Witt [Sat, 13 May 2017 18:05:39 +0000 (20:05 +0200)]
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
c592fb58bb71d750815a909d4180f6e4f3ebf796 )
Richard Heck [Thu, 30 Jun 2016 18:53:19 +0000 (14:53 -0400)]
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
02847641a8b97a57d1866120bb446427e0bda7a4 )
Enrico Forestieri [Sun, 15 Oct 2017 16:12:34 +0000 (12:12 -0400)]
Backport fix for #9778.
From Enrico.
Uwe Stöhr [Sun, 15 Oct 2017 14:41:50 +0000 (16:41 +0200)]
Win installer. update Qt
- Qt 5.6.3 uses a different path name scheme
- one DLL as removed in Qt 5.6.3
Stephan Witt [Tue, 12 Sep 2017 09:05:42 +0000 (11:05 +0200)]
This change solves dialog stacking problems on newer Mac OS X in combination with the OS provided file open dialog.
(cherry picked from commit
97dc58513884bb89b6a015c2c7dc61c8bb3f7dfe )
(cherry picked from commit
1460e8fe6f695720fe67cd0493701956da6d923e )
Juergen Spitzmueller [Sun, 23 Jul 2017 16:41:06 +0000 (18:41 +0200)]
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
a40868510d36ccdcf3c431cdee17f8204d4b258a )
Juergen Spitzmueller [Thu, 12 Oct 2017 13:38:59 +0000 (15:38 +0200)]
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
Kornel Benko [Sat, 7 Oct 2017 08:47:17 +0000 (10:47 +0200)]
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
847c68960a8227c344ec6c0d66034d012bb9de5c )
Richard Heck [Tue, 3 Oct 2017 21:21:21 +0000 (17:21 -0400)]
Reset cursor before beginning reload sequence.
(cherry picked from commit
af381a2fb25df71b43668fa46ba9b6395f266751 )
Uwe Stöhr [Sun, 1 Oct 2017 21:21:38 +0000 (23:21 +0200)]
Win installer: update to Python 2.7.14 for LyX 2.2.4
Juergen Spitzmueller [Thu, 28 Sep 2017 07:06:33 +0000 (09:06 +0200)]
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
4f50cbcfe405a840459be8682fd4c7521b235798 )
jpc [Tue, 26 Sep 2017 16:21:23 +0000 (18:21 +0200)]
Update status.ééx
jpc [Fri, 22 Sep 2017 20:31:30 +0000 (22:31 +0200)]
Shortcut conflicts removed in fr.po
Uwe Stöhr [Mon, 11 Sep 2017 19:19:38 +0000 (21:19 +0200)]
Customization.lyx: fix a typo
Jean-Marc Lasgouttes [Tue, 4 Jul 2017 14:34:34 +0000 (16:34 +0200)]
Use the proper buffer when recording undo
The code in InsetLabel::updateReferences code changes reference insets
in potentially several buffers. When recording undo, it is important
to use the right undo stack, otherwise crashes can ensue.
Once it is done, it is neccessary to create undo groups as needed.
This is done using UndoGroupHelper. This demonstrates a shortcoming of
UndoGroupHelper: if a buffer is encountered in two seperate
occasions, two undo groups will be created for this buffer. This is
not correct.
Fixes bug #10643.
(cherry picked from commit
4eb9b50dc642a3532d8126a93571696b3db57640 )
Jean-Marc Lasgouttes [Thu, 31 Aug 2017 12:52:30 +0000 (14:52 +0200)]
When a row is shortened, reset its flushed() attribute.
Fixes bug #10699.
(cherry picked from commit
59e2c40564f441044d38f2082b8a038cc093c932 )
Jean-Marc Lasgouttes [Mon, 28 Aug 2017 10:05:35 +0000 (12:05 +0200)]
Fix computation of string width when using a QTextLayout
It was not a good idea to rely on QTextLine::naturalTextWidth() to
compute a string width. The correct method is horizontalAdvance().
Also round the value to the nearest pixel, since this is what
QFontMetrics::width() does.
By contrast with the code in 2.3.x/master, this code had to be adapted
for Qt < 4.7, where horizontalAdvance() is not defined and
naturalTextWidth() has to be used instead. The fix is thus only
effective starting from Qt 4.7.
Fixes bug #10700 (and maybe others).
(cherry picked from commit
c874641e95b763a6d4691fb12fba893580f3018a )
Jean-Marc Lasgouttes [Tue, 29 Aug 2017 10:15:25 +0000 (12:15 +0200)]
Small update to README
Juergen Spitzmueller [Sun, 13 Aug 2017 09:47:21 +0000 (11:47 +0200)]
Babel option for Vietnamese is called "vietnamese"
The renaming happened in 2013. Contrary to what is stated in the
babel-vietnamese manual, option "vietnam" does not work anymore.
Also, the special care is not needed anymore, since language options
are not hardcoded anymore in babel.
Fixes: #10743
Juergen Spitzmueller [Sat, 12 Aug 2017 07:55:06 +0000 (09:55 +0200)]
Add missing break
As correctly pointed out by gcc7.
Uwe Stöhr [Sat, 5 Aug 2017 18:27:01 +0000 (20:27 +0200)]
Win installer: check for a package that LyX uses for instant preview
Uwe Stöhr [Tue, 25 Jul 2017 23:32:36 +0000 (01:32 +0200)]
status.22x: move crash fixes up
- also correct a bug number
Juergen Spitzmueller [Sun, 23 Jul 2017 11:19:59 +0000 (13:19 +0200)]
Properly import \newtheorem*
Fixes: #10622
Uwe Stöhr [Mon, 24 Jul 2017 22:33:04 +0000 (00:33 +0200)]
Win installer: prepare for a new 2.2.4 release
Jean-Marc Lasgouttes [Tue, 11 Jul 2017 13:28:06 +0000 (15:28 +0200)]
When cleaning up before quitting, take care of exceptions
We do not want the cleanup work to be interrupted by a buffer exception.
Spotted by coverity. See bug #9979 for discussion.
(cherry picked from commit
0d565f7b350b4dfecfa9337b4b80173282d191ab )
Jean-Marc Lasgouttes [Thu, 6 Jul 2017 12:14:43 +0000 (14:14 +0200)]
Remove test that is not needed.
We know that buf is not null at this point.
Spotted by coverity.
Juergen Spitzmueller [Sat, 17 Jun 2017 07:43:01 +0000 (09:43 +0200)]
Update parent buffer as soon as a child has been released
This prevents dangling pointers that might crash LyX.
Fixes: #9979.
Jean-Marc Lasgouttes [Wed, 5 Jul 2017 10:28:26 +0000 (12:28 +0200)]
Do not use toobar menu as fallback context menu
This is a consequence of
060a9664 , although it is not clear why. The
contextMenuEvent code of the workarea should not delegate context
menu when it cannot honor it.
Also fix a small memory leak.
Fixes bug #10616.
(cherry picked from commit
ab81c23656b59aa14c41b8acc45f0f3e410ed785 )
Juergen Spitzmueller [Tue, 11 Jul 2017 08:03:03 +0000 (10:03 +0200)]
Load color before polyglossia also in preview snippets
This fixes an error in the preview generation with polyglossia
and bidi that prevents snippet generation (and consequently also
"math as image" xhtml output).
Fixes: #10716.
Enrico Forestieri [Sun, 9 Jul 2017 21:31:33 +0000 (23:31 +0200)]
Fix bug #10546
A labeled equation is also numbered.
Jean-Marc Lasgouttes [Mon, 19 Jun 2017 10:23:17 +0000 (12:23 +0200)]
Avoid crash when selecting long text
In some (not yet understood) situations, the paragraph metrics cache
is empty in generateSyntheticMouseEvent(). We just avoid a crash in
this case, but there is probably an underlying problem that deserves
being fixed.
Fixes bug #10324.
(cherry picked from commit
4efb129ccba448edfb851741089d70b0bfd054a3 )
Juergen Spitzmueller [Sun, 25 Jun 2017 08:29:19 +0000 (10:29 +0200)]
Catch xdvipdfmx driver error (that breaks XeTeX compilation).
This prevents an assertion due to an unrecognized error.
Fixes: #10076.
Juergen Spitzmueller [Sun, 2 Jul 2017 08:54:39 +0000 (10:54 +0200)]
natbibapa.module: Do not overwrite preamble.
Also add author information.
Jean-Marc Lasgouttes [Fri, 23 Jun 2017 18:32:32 +0000 (20:32 +0200)]
Fixup the fixup
4499680b : use editable()/isActive()
While
1c07c0dc was too strong and broke mathed,
4499680b is too
lenient and can accept insets (mathed/CommandInset, InsetInfo) that
have a positive nargs() but are not editable (because they encapsulate
something).
Therefore the best solution for now is to use editable() in text and
isActive() in mathed, until those two things are merged.
Part of #10667.
(cherry picked from commit
13c3c1485b68980c51658cef8fadf804982d75ee )
Enrico Forestieri [Mon, 26 Jun 2017 21:10:30 +0000 (23:10 +0200)]
Fix bug #10705
Seemingly, std::regex does not account for newlines in the string.
Jean-Marc Lasgouttes [Tue, 20 Jun 2017 07:41:48 +0000 (09:41 +0200)]
Fixup
1c07c0dc : editable() is unusable in mathed
This is a relic from IU (Inset Unification): editable() is for text
insets and isActive() for mathed. This needs to be cleaned up.
Part of bug #10667.
(cherry picked from commit
d0acc3e570447b293169b8bdd5ac67aaade189e0 )
Guillaume MM [Mon, 1 May 2017 23:36:23 +0000 (01:36 +0200)]
Fix crash with full view source (#10560 and #10617)
Jean-Marc Lasgouttes [Thu, 15 Jun 2017 09:49:49 +0000 (11:49 +0200)]
Make fixIfBroken() more robust
Chop slice when its inset is not editable.
Fixes bug #10667.
(cherry picked from commit
522516d99eff64c0d1b339c951ef0e0d61a74394 )
Juergen Spitzmueller [Fri, 16 Jun 2017 08:05:12 +0000 (10:05 +0200)]
Catch "! Incomplete \\if[x]" error
Fixes: #10666
Jean-Marc Lasgouttes [Wed, 14 Jun 2017 13:08:27 +0000 (15:08 +0200)]
When entering an inset by cursor, reset boundary
This happens when cursor-left/right enters an inset.
Fixes bug #10630.
(cherry picked from commit
2e84b8030e69f209d6565d11b4ae84f01d450d0d )
Jean-Marc Lasgouttes [Mon, 12 Jun 2017 16:00:43 +0000 (18:00 +0200)]
Set cursor properly after double/triple click in mathed
Without this setCurrentFont() is not correctly called on the
BufferView cursor and the cursor could appear in L-form.
Fixes bug #10686.
(cherry picked from commit
5d7dae9e382f0b01800f5652e673e12fa6923740 )
Jean-Marc Lasgouttes [Mon, 12 Jun 2017 12:39:03 +0000 (14:39 +0200)]
Avoid rounding issue when painting selection
This issue was already addressed in the all_sel case. It only happens
at specific zoom and jusification values.
Fixes part of #8883.
(cherry picked from commit
71563835c7943ea987a5d967b79ec90cb2b3c26e )
Jean-Marc Lasgouttes [Thu, 8 Jun 2017 09:35:05 +0000 (11:35 +0200)]
Fix bad cursor positioning when entering an inset
The test added at
359aef92 was incorrect. Actually, Inset::editXY
returns the inset when it is edited and also when it is not, which
can be confusing. So if we are unlucky and the slices positions in the
text area and in the inner inset match, the code below triggers and
many bad things can happen.
Also improve the documentation of Inset::editXY and TextMetrics::editXY.
Fixes #10691.
(cherry picked from commit
c9fefd5a2cf5eb97fb23279e5b5e2f4c3a19b22e )
Richard Heck [Wed, 7 Jun 2017 18:57:07 +0000 (14:57 -0400)]
Early updates to ANNOUNCE in preparation for 2.2.4.
Uwe Stöhr [Tue, 6 Jun 2017 21:35:33 +0000 (23:35 +0200)]
ja.po: updates from Koji
Richard Heck [Tue, 6 Jun 2017 20:42:11 +0000 (16:42 -0400)]
Remerge strings.
Enrico Forestieri [Mon, 5 Jun 2017 22:01:14 +0000 (00:01 +0200)]
Fix bug #10685
Make sure to properly nest \begin{lang} and \end{lang} tags even
when no language package is selected. In this case, LyX assumes
that babel is being used, so the language names might be wrong
if the user arranged for using polyglossia in the preamble.
Nevertheless, we assure that the produced output is syntactically
correct, so that by adding proper preamble code a correct output
is still possible.
Enrico Forestieri [Mon, 5 Jun 2017 21:14:48 +0000 (23:14 +0200)]
Fix bugs #9598 and #10650
Enrico Forestieri [Mon, 5 Jun 2017 20:59:25 +0000 (22:59 +0200)]
Fix bug #10636
The code was not accounting for partial preview of the source code
and was trying to pop a language that was never pushed.
Richard Heck [Mon, 3 Apr 2017 00:59:23 +0000 (20:59 -0400)]
Fix bug #10295.
As it was, the comparison buffer was sharing a DocumentClass with
the buffer from which the document settings are taken.
(cherry picked from commit
f9835d054d7aac5830ec6bb5a3537c2b4fa2d269 )