[LyX/2.2.x] In mathed, require xcolor instead of color when appropriate

2016-10-26 Thread Enrico Forestieri
commit f8d3a8860b05ec29f5e13e7c9737bdce64a3da20 Author: Enrico Forestieri <for...@lyx.org> Date: Thu Oct 27 03:18:29 2016 +0200 In mathed, require xcolor instead of color when appropriate Fixes bug #10417. --- src/mathed/InsetMathColor.cpp | 22 -- stat

[LyX/2.2.x] Quote filenames used for forward-search with SumatraPDF

2016-10-26 Thread Enrico Forestieri
commit 3508c7bc8ac74e18c3428698287de7f6404bd60e Author: Enrico Forestieri <for...@lyx.org> Date: Thu Oct 27 04:16:04 2016 +0200 Quote filenames used for forward-search with SumatraPDF Single quotes are special to our parser and must be either escaped or quoted if they ar

[LyX/2.2.x] Sort the language nesting mess with polyglossia

2016-10-29 Thread Enrico Forestieri
commit 0dd7505ec66a235af2e2f22602a60947cd310848 Author: Enrico Forestieri <for...@lyx.org> Date: Sun Oct 30 00:16:50 2016 +0200 Sort the language nesting mess with polyglossia When using polyglossia, lyx was making a real mess when changing language inside nested

[LyX/2.2.x] Strike out (in the output) deleted display math with track-changes

2016-11-05 Thread Enrico Forestieri
commit 8a1f936ff190964649643872f0c45da10ce3105f Author: Enrico Forestieri <for...@lyx.org> Date: Sat Nov 5 21:31:09 2016 +0100 Strike out (in the output) deleted display math with track-changes Showing deleted display math by enabling "Show Changes in Output" was

[LyX/master] Introduce the InsetMathHull::outerDisplay method and use it

2016-10-19 Thread Enrico Forestieri
commit ab3e1ddc34bbd3c95cb5a9d88213208b1b054050 Author: Enrico Forestieri <for...@lyx.org> Date: Thu Oct 20 00:06:42 2016 +0200 Introduce the InsetMathHull::outerDisplay method and use it --- src/Paragraph.cpp| 15 ++-- src/mathed/InsetMathHull.cpp

[LyX/master] On export, mark the start of the first paragraph

2016-10-23 Thread Enrico Forestieri
commit 9ba76e6c40738f9bd0d45d4cdb00a9842d47feec Author: Enrico Forestieri <for...@lyx.org> Date: Sun Oct 23 18:04:13 2016 +0200 On export, mark the start of the first paragraph No newline is written after \begin{document}, such that the afterParbreak method would return

[LyX/master] Take into account font changes when striking out display math formulas

2016-10-17 Thread Enrico Forestieri
commit 129459a71b52babb1a8e5a1e3de986976c93bde6 Author: Enrico Forestieri <for...@lyx.org> Date: Tue Oct 18 03:29:53 2016 +0200 Take into account font changes when striking out display math formulas Font changes are brought inside the \lyxdeleted macro, just before outp

[LyX/master] Avoid introducing a spurious space in \lyxmathsout

2016-10-17 Thread Enrico Forestieri
commit 6ae6198818dec32dd7f18781c165fbfd36ac01ff Author: Enrico Forestieri <for...@lyx.org> Date: Tue Oct 18 04:35:02 2016 +0200 Avoid introducing a spurious space in \lyxmathsout --- src/LaTeXFeatures.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[LyX/master] Fix latex error when change-tracked deleted display math starts a new paragraph

2016-10-17 Thread Enrico Forestieri
commit c1bfaa5c76ce99c222b5454c60b44d9c28543f5f Author: Enrico Forestieri <for...@lyx.org> Date: Mon Oct 17 19:35:04 2016 +0200 Fix latex error when change-tracked deleted display math starts a new paragraph LaTeX refuses to break a line when it is empty. But we have to

[LyX/master] Factor out common code used to underline/strike out math

2016-10-24 Thread Enrico Forestieri
commit 696ea82b21f5f0729e14bdefe90d8e18563ddf2e Author: Enrico Forestieri <for...@lyx.org> Date: Tue Oct 25 00:49:26 2016 +0200 Factor out common code used to underline/strike out math Also use the exact amount of vertical space TeX adds after a math display (instead

[LyX/master] Show on screen font changes for text-in-math

2016-10-25 Thread Enrico Forestieri
commit 3cf0cbb3c69e73d72b6cee3723de7b67e69c4c0a Author: Enrico Forestieri <for...@lyx.org> Date: Tue Oct 25 16:03:34 2016 +0200 Show on screen font changes for text-in-math --- src/MetricsInfo.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git

[LyX/2.2.x] Show on screen font changes for text-in-math

2016-10-25 Thread Enrico Forestieri
commit 4ad8be330e37b04db44c53a105653c81135772ec Author: Enrico Forestieri <for...@lyx.org> Date: Tue Oct 25 20:24:26 2016 +0200 Show on screen font changes for text-in-math --- src/MetricsInfo.cpp |6 -- status.22x |3 +++ 2 files changed, 7 insertions(+), 2 del

[LyX/master] Fortify math insets against ulem commands

2016-10-20 Thread Enrico Forestieri
commit 8d5899aaf3116c1d1e57bc7c9f460404d7cd35b0 Author: Enrico Forestieri <for...@lyx.org> Date: Fri Oct 21 01:35:39 2016 +0200 Fortify math insets against ulem commands It should be now possible underlining or striking out any kind of math inset containing any math con

[LyX/master] Fix indentation

2016-10-20 Thread Enrico Forestieri
commit 7cf12243b87b8d3e24a46dfc18af1013fa4ea0ba Author: Enrico Forestieri <for...@lyx.org> Date: Fri Oct 21 01:58:45 2016 +0200 Fix indentation --- src/Paragraph.cpp | 13 ++--- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/Paragraph.cpp b/src/Paragra

[LyX/master] Remove a now unnecessary \mbox

2016-10-18 Thread Enrico Forestieri
commit d48bc4e4ae8352a6c4856db936d8da14f18e5026 Author: Enrico Forestieri <for...@lyx.org> Date: Wed Oct 19 01:32:29 2016 +0200 Remove a now unnecessary \mbox --- src/Changes.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/Changes.cpp b/src/Chang

[LyX/master] Don't print useless messages while parsing math macros

2016-10-31 Thread Enrico Forestieri
commit e3c3719643c46819aa586346a313d514c5903898 Author: Enrico Forestieri <for...@lyx.org> Date: Mon Oct 31 15:23:20 2016 +0100 Don't print useless messages while parsing math macros Math macros can be displayed on screen by providing a different representation than t

[LyX/master] Remove context help button hint from file dialogs

2016-10-09 Thread Enrico Forestieri
commit ded8b1b3da2a79d7255959fa9f99c50b78b0528d Author: Enrico Forestieri <for...@lyx.org> Date: Mon Oct 10 01:25:07 2016 +0200 Remove context help button hint from file dialogs This removes the useless '?' button that appears in Windows builds when using non-native d

[LyX/master] Strike out (in the output) deleted display math with track-changes

2016-10-16 Thread Enrico Forestieri
commit 261e7ae9ce7e6a1ffc4932ff9c33107588a9a4ac Author: Enrico Forestieri <for...@lyx.org> Date: Mon Oct 17 03:25:35 2016 +0200 Strike out (in the output) deleted display math with track-changes Showing deleted display math by enabling "Show Changes in Output" was

[LyX/master] Update it.po

2016-12-09 Thread Enrico Forestieri
commit 096cfb2a1295780a54a6d7d56d278e63ae74cbd1 Author: Enrico Forestieri <for...@lyx.org> Date: Fri Dec 9 19:12:37 2016 +0100 Update it.po --- po/it.gmo | Bin 499301 -> 499298 bytes po/it.po | 359 ++--- 2 files cha

[LyX/master] Fix display and output of math macros with optional arguments

2016-12-01 Thread Enrico Forestieri
commit e8f480e7c22ae29804ff0c386c54e86c9b72d3ce Author: Enrico Forestieri <for...@lyx.org> Date: Thu Dec 1 18:02:47 2016 +0100 Fix display and output of math macros with optional arguments This is a long standing issue, present since the new math macros inception in versi

[LyX/2.2.x] Fix display and output of math macros with optional arguments

2016-12-04 Thread Enrico Forestieri
commit 9435dd6b52a6a73397750dd3e4113656bb2dd744 Author: Enrico Forestieri <for...@lyx.org> Date: Sun Dec 4 22:52:22 2016 +0100 Fix display and output of math macros with optional arguments This is a long standing issue, present since the new math macros inception in versi

[LyX/master] Avoid useless warning from Qt

2017-01-08 Thread Enrico Forestieri
commit 25e6b5da39b2f9d5e1ce7c66baaf0ce968c8dc1a Author: Enrico Forestieri <for...@lyx.org> Date: Sun Jan 8 23:11:04 2017 +0100 Avoid useless warning from Qt When cloning InsetExternal, the tempname_ member of InsetExternalParams has yet to be initialized. So, trying to

[LyX/master] Account for unicode chars in tempdir path on Windows

2017-03-28 Thread Enrico Forestieri
commit a5377ead20682df741e9225fd54acf2799912973 Author: Enrico Forestieri <for...@lyx.org> Date: Tue Mar 28 12:05:52 2017 +0200 Account for unicode chars in tempdir path on Windows --- src/Buffer.cpp |2 +- src/output.cpp |2 +- 2 files changed, 2 insertions(+), 2 del

Re: [LyX/master] Handle properly exception that can be thrown by to_local8bit

2017-03-28 Thread Enrico Forestieri
On Tue, Mar 28, 2017 at 01:43:54AM +0200, Enrico Forestieri wrote: > On Tue, Mar 28, 2017 at 12:02:02AM +0200, Enrico Forestieri wrote: > > On Mon, Mar 27, 2017 at 05:05:47PM +0200, Jean-Marc Lasgouttes wrote: > > > > > > Enrico, can you please double check

Re: [LyX/master] Handle properly exception that can be thrown by to_local8bit

2017-03-27 Thread Enrico Forestieri
On Mon, Mar 27, 2017 at 05:05:47PM +0200, Jean-Marc Lasgouttes wrote: > > Enrico, can you please double check the changes in os_win32.cpp and > os_cygwin.cpp ? I cannot even compile this code. They are fine and compile Ok. However, that cygwin code is from the time when cygwin was using the same

Re: [LyX/master] Handle properly exception that can be thrown by to_local8bit

2017-03-27 Thread Enrico Forestieri
On Tue, Mar 28, 2017 at 12:02:02AM +0200, Enrico Forestieri wrote: > On Mon, Mar 27, 2017 at 05:05:47PM +0200, Jean-Marc Lasgouttes wrote: > > > > Enrico, can you please double check the changes in os_win32.cpp and > > os_cygwin.cpp ? I cannot even compile this cod

[LyX/master] On windows, use the unicode version of ShellExecute

2017-03-27 Thread Enrico Forestieri
commit d996ec89928efb3042325fa158e1d5547b9eb64d Author: Enrico Forestieri <for...@lyx.org> Date: Tue Mar 28 01:32:59 2017 +0200 On windows, use the unicode version of ShellExecute --- src/support/os_cygwin.cpp | 17 ++--- src/support/os_win32.cpp | 15 +---

[LyX/master] Fix #9732: Inconsistent font properties for the preview and superscript insets

2017-03-27 Thread Enrico Forestieri
commit b6f8a84a359d717a5d87f58a3403b3c6b64440e3 Author: Enrico Forestieri <for...@lyx.org> Date: Mon Mar 27 15:00:43 2017 +0200 Fix #9732: Inconsistent font properties for the preview and superscript insets --- src/insets/InsetPreview.h |2 ++ src/insets/InsetScript.h |2

[LyX/master] Amend 16d5c49b

2017-03-27 Thread Enrico Forestieri
commit 91ca310d1dcc6bfd647eb7de4bfc417192df69a9 Author: Enrico Forestieri <for...@lyx.org> Date: Mon Mar 27 15:08:30 2017 +0200 Amend 16d5c49b Remove redundant action when toggling the dashes check box. --- src/frontends/qt4/GuiDocument.cpp |9 - src/fronten

[LyX/master] Fix output of en- and em-dashes with TeX fonts

2017-03-19 Thread Enrico Forestieri
commit 72a488d7e6b56432263c80dd92cd6acc565e03a7 Author: Enrico Forestieri <for...@lyx.org> Date: Sun Mar 19 20:50:34 2017 +0100 Fix output of en- and em-dashes with TeX fonts This commit fixes the regression introduced in 2.2 about the output of en- and em-dashes. In

[LyX/master] Further amendment to 72a488d7

2017-03-20 Thread Enrico Forestieri
commit 16d5c49b383841826d1bc563e2d392e12e497ed8 Author: Enrico Forestieri <for...@lyx.org> Date: Mon Mar 20 23:59:16 2017 +0100 Further amendment to 72a488d7 Rephrase positively the check box for the output of en- and em-dashes and disable it when using non-TeX fonts. The

Re: [LyX/master] Fix output of en- and em-dashes with TeX fonts

2017-03-20 Thread Enrico Forestieri
On Mon, Mar 20, 2017 at 05:26:01PM +0100, Jürgen Spitzmüller wrote: > 2017-03-20 10:55 GMT+01:00 Enrico Forestieri <for...@lyx.org>: > > > I think you mean development/FORMAT. I will add the reference. Note that > > also \dynamic_quotes needs to be mentioned there

Re: [LyX/master] Fix output of en- and em-dashes with TeX fonts

2017-03-20 Thread Enrico Forestieri
On Mon, Mar 20, 2017 at 12:35:35AM +, José Abílio Matos wrote: > On Sunday, 19 March 2017 19.58.08 WET Enrico Forestieri wrote: > > commit 72a488d7e6b56432263c80dd92cd6acc565e03a7 > > Author: Enrico Forestieri <for...@lyx.org> > > Date: Sun Mar 19 20:50:34 2017 +0

[LyX/master] Amend 72a488d7

2017-03-20 Thread Enrico Forestieri
commit 56bec528b5327eafac72f47db82999b0ad3a2eb5 Author: Enrico Forestieri <for...@lyx.org> Date: Mon Mar 20 14:37:25 2017 +0100 Amend 72a488d7 - Mention the new buffer parameter in development/FORMAT - Assure that lyx2lyx generates the same output obtained when

[LyX/master] Also account for development versions

2017-03-20 Thread Enrico Forestieri
commit be3f628e7d7a2f22b60d7713237e555ff8367428 Author: Enrico Forestieri <for...@lyx.org> Date: Mon Mar 20 15:08:17 2017 +0100 Also account for development versions --- lib/lyx2lyx/lyx_2_3.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/lyx2lyx/lyx_

[LyX/master] Fix bug #10554

2017-04-02 Thread Enrico Forestieri
commit e36c661c6187dbacf3537038caf6d980c417d381 Author: Enrico Forestieri <for...@lyx.org> Date: Sun Apr 2 23:56:25 2017 +0200 Fix bug #10554 The \lyxdeleted macro cannot cope with \newpage & co. --- src/insets/InsetNewpage.cpp |7 ++- 1 files changed, 6 insert

[LyX/2.2.x] Fix bug #10554

2017-04-02 Thread Enrico Forestieri
commit caf56220c65e92f0bcf189d225ed654e47932407 Author: Enrico Forestieri <for...@lyx.org> Date: Mon Apr 3 00:07:53 2017 +0200 Fix bug #10554 The \lyxdeleted macro cannot cope with \newpage & co. --- src/insets/InsetNewpage.cpp |7 ++- status.22x

[LyX/master] Fix bug #10581

2017-04-02 Thread Enrico Forestieri
commit 66aa52ff20c6e96d679d917bb3d98ff29117ad15 Author: Enrico Forestieri <for...@lyx.org> Date: Mon Apr 3 00:26:49 2017 +0200 Fix bug #10581 Tell the math parser that we are parsing a macro definition, so that it doesn't try to return a verbatim copy in case of f

[LyX/master] lyxpak.py: Python 3 compatibility

2017-04-14 Thread Enrico Forestieri
commit 217696d34b51098001b7ac67dd8d0b8c8596ab8b Author: Enrico Forestieri <for...@lyx.org> Date: Sat Apr 15 00:05:40 2017 +0200 lyxpak.py: Python 3 compatibility --- lib/scripts/lyxpak.py | 117 +++- 1 files changed, 66 insertions(

[LyX/master] Fix tests after 031748d9

2017-04-13 Thread Enrico Forestieri
commit ee0cc3cec1cf97e154e968d33dc580f37eb29e84 Author: Enrico Forestieri <for...@lyx.org> Date: Thu Apr 13 09:38:46 2017 +0200 Fix tests after 031748d9 --- src/tests/check_layout.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/tests/check_layout.cpp

[LyX/master] TeXFiles.py: Python 3 compatibility

2017-04-13 Thread Enrico Forestieri
commit db494452dccf2125f3a708d765a6e6608d0060b7 Author: Enrico Forestieri <for...@lyx.org> Date: Thu Apr 13 10:49:02 2017 +0200 TeXFiles.py: Python 3 compatibility --- lib/scripts/TeXFiles.py | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/s

[LyX/master] configure.py: Python 3 compatibility

2017-04-13 Thread Enrico Forestieri
commit 8f70d551482a69bd97a80d36623724bab5ac11b5 Author: Enrico Forestieri <for...@lyx.org> Date: Thu Apr 13 15:34:54 2017 +0200 configure.py: Python 3 compatibility Don't assume any encoding for the layout files and treat them in the same way python 2 does. Thank

[LyX/master] Avoid an assertion when compiling in debug mode with MSVC 2015

2017-04-12 Thread Enrico Forestieri
commit 031748d9c88c60d6a7c79b00599955c49a3c56aa Author: Enrico Forestieri <for...@lyx.org> Date: Wed Apr 12 21:19:42 2017 +0200 Avoid an assertion when compiling in debug mode with MSVC 2015 Seemingly, when removing an argument from argv, and thus inserting a null p

[LyX/2.2.x] Fix configuring for Qt 5.8

2017-03-04 Thread Enrico Forestieri
commit 90f7cf2fd024a5056b01df931a2765a8e8db4f58 Author: Enrico Forestieri <for...@lyx.org> Date: Sun Mar 5 00:14:53 2017 +0100 Fix configuring for Qt 5.8 They moved the QT_QPA_DEFAULT_PLATFORM_NAME definition to the newly introduced qtgui-config.h header. --- config/

[LyX/master] Fix bug #10579

2017-03-03 Thread Enrico Forestieri
commit 5940dc53aab9fec6cd02f8be337f0e6c9b2e5fb1 Author: Enrico Forestieri <for...@lyx.org> Date: Fri Mar 3 13:00:32 2017 +0100 Fix bug #10579 The \lyxdeleted macro cannot cope with empty lines. --- src/insets/InsetSeparator.cpp |7 +-- 1 files changed, 5 insertions

[LyX/2.2.x] Update it.po

2017-04-02 Thread Enrico Forestieri
commit ee7d0557913f0e18f10fe205a9517bbb86cf0264 Author: Enrico Forestieri <for...@lyx.org> Date: Mon Apr 3 00:15:47 2017 +0200 Update it.po --- po/it.gmo | Bin 493539 -> 494796 bytes po/it.po | 1066 +++-- 2 files cha

[LyX/master] Properly warn on missing pygmentize command

2017-07-31 Thread Enrico Forestieri
commit 44babaf6569898deaa9ba02b1f3170e7144e6791 Author: Enrico Forestieri <for...@lyx.org> Date: Mon Jul 31 11:32:28 2017 +0200 Properly warn on missing pygmentize command - Do not warn when the document properties pane is opened but only when minted is se

[LyX/master] The shell escape patch

2017-08-03 Thread Enrico Forestieri
commit f11bfe1697492f79f8cc02d4021305005cf539ef Author: Enrico Forestieri <for...@lyx.org> Date: Thu Aug 3 13:07:41 2017 +0200 The shell escape patch Allow a LaTeX backend to run external commands after user confirmation. This is a per document and per machine s

[LyX/master] Small tweak for 64bit Cygwin

2017-08-03 Thread Enrico Forestieri
commit dd884a6bfac19337107dd47ea20c3ff08ce6826c Author: Enrico Forestieri <for...@lyx.org> Date: Thu Aug 3 15:56:41 2017 +0200 Small tweak for 64bit Cygwin Don't specify the main entry point because on 64bit Cygwin the leading underscore is missing and that is the default

[LyX/master] Was also forgetting this

2017-08-03 Thread Enrico Forestieri
commit 0faddcae60a5a0114334057d31ef80decc260825 Author: Enrico Forestieri <for...@lyx.org> Date: Thu Aug 3 15:07:41 2017 +0200 Was also forgetting this --- lib/Makefile.am |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/Makefile.am b/lib/Makefile.am

[LyX/master] Fix bug #10718

2017-07-09 Thread Enrico Forestieri
commit 7c14ff94e31990eb0932f55942edb75f30f6b24d Author: Enrico Forestieri <for...@lyx.org> Date: Sun Jul 9 22:27:06 2017 +0200 Fix bug #10718 Due to the peculiarities of Windows, it may happen that pdftocairo is built without png support when compiled on this pl

[LyX/2.2.x] Fix bug #10546

2017-07-09 Thread Enrico Forestieri
commit 0237292eb148dc69cf608f612e0682c181e94891 Author: Enrico Forestieri <for...@lyx.org> Date: Sun Jul 9 23:31:33 2017 +0200 Fix bug #10546 A labeled equation is also numbered. --- src/mathed/MathParser.cpp |1 + status.22x|2 ++ 2 files chan

[LyX/master] Better icon for toolbar-toggle-review

2017-07-15 Thread Enrico Forestieri
commit d0989c9a534cb249ca3ba71d79f89ae45b0c2009 Author: Enrico Forestieri <for...@lyx.org> Date: Sat Jul 15 15:04:00 2017 +0200 Better icon for toolbar-toggle-review --- lib/images/toolbar-toggle_review.svgz | Bin 2641 -> 2775 bytes 1 files changed, 0 insertions(+), 0 deletions

[LyX/master] Tweak some icons

2017-07-15 Thread Enrico Forestieri
commit 2460d5904d2ac8c49ff6b3f2430d5d1e12e14c36 Author: Enrico Forestieri <for...@lyx.org> Date: Sat Jul 15 15:27:36 2017 +0200 Tweak some icons - Move down the ERT icon - Remove the transparent background from note icons as it turns out not to be transparent o

[LyX/master] Oxygen icon for toolbar-toggle-review

2017-07-15 Thread Enrico Forestieri
commit bebfa84d79dfe87129ba03f43d249c3ce64aadc1 Author: Enrico Forestieri <for...@lyx.org> Date: Sat Jul 15 16:12:40 2017 +0200 Oxygen icon for toolbar-toggle-review --- lib/images/oxygen/toolbar-toggle_review.svgz | Bin 0 -> 6149 bytes 1 files changed, 0 insertions(+), 0

[LyX/master] Classic icon for toolbar-toggle-review

2017-07-15 Thread Enrico Forestieri
commit 8ee2d74def69ad4e001acc78199f963a60b36086 Author: Enrico Forestieri <for...@lyx.org> Date: Sat Jul 15 16:43:18 2017 +0200 Classic icon for toolbar-toggle-review --- lib/images/classic/toolbar-toggle_review.png | Bin 0 -> 413 bytes 1 files changed, 0 insertions(+), 0

[LyX/master] Update lib/Makefile.am

2017-07-16 Thread Enrico Forestieri
commit aeead38d90ad206952e6654cc0faa8928fa458e3 Author: Enrico Forestieri <for...@lyx.org> Date: Sun Jul 16 11:22:05 2017 +0200 Update lib/Makefile.am --- lib/Makefile.am |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/lib/Makefile.am b/lib/Makefile.am

[LyX/master] Don't give users dangerous instructions

2017-06-27 Thread Enrico Forestieri
commit af6e4d4abb807f48f6ce29ce5336efa5bbb65fb9 Author: Enrico Forestieri <for...@lyx.org> Date: Wed Jun 28 00:30:56 2017 +0200 Don't give users dangerous instructions --- lib/examples/minted-filelisting.lyx | 11 ++- lib/examples/minted-listings.lyx| 10 ++ 2

[LyX/master] Use the OK/Apply paradigm for all document settings

2017-08-09 Thread Enrico Forestieri
commit 40e9dea5513c9e941aafc9bc3eee46d569cd6fcf Author: Enrico Forestieri <for...@lyx.org> Date: Thu Aug 10 01:32:23 2017 +0200 Use the OK/Apply paradigm for all document settings Due to its peculiarity of not being saved in the document, the shell escape setting was a

[LyX/2.3.x] Mention pygmentize_command in release notes

2017-08-23 Thread Enrico Forestieri
commit e88cccb49e3a9ae320cb4ae715a7f46d67d6a5d8 Author: Enrico Forestieri <for...@lyx.org> Date: Wed Aug 23 11:13:44 2017 +0200 Mention pygmentize_command in release notes --- lib/RELEASE-NOTES |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/lib/RELEASE-N

[LyX/master] Fix bug #10469

2017-05-17 Thread Enrico Forestieri
commit 922d1ddc8c1ef29c17c2e71d91be56ae47b7dd98 Author: Enrico Forestieri <for...@lyx.org> Date: Wed May 17 22:31:27 2017 +0200 Fix bug #10469 --- src/frontends/qt4/GuiApplication.cpp |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/fronten

[LyX/master] Use a combo box instead of a check box for selecting the listings package

2017-06-12 Thread Enrico Forestieri
commit ae561677184931cd3ebdae8c419e9a8c5dd623b1 Author: Enrico Forestieri <for...@lyx.org> Date: Mon Jun 12 17:24:26 2017 +0200 Use a combo box instead of a check box for selecting the listings package --- lib/configure.py |4 ++- lib/doc/EmbeddedObjec

[LyX/master] Remove the minted external template

2017-06-09 Thread Enrico Forestieri
commit 4722e955a88a45c2af69df5b093ab0ab0c90a2e4 Author: Enrico Forestieri <for...@lyx.org> Date: Sat Jun 10 00:12:22 2017 +0200 Remove the minted external template That functionality is now provided by the new support for minted. Also change the example file and accor

[LyX/master] Was forgetting this at 4722e955

2017-06-09 Thread Enrico Forestieri
commit 9913fe650d70d8b47b1808e0a49bcb0bb113cc3f Author: Enrico Forestieri <for...@lyx.org> Date: Sat Jun 10 02:43:16 2017 +0200 Was forgetting this at 4722e955 --- lib/Makefile.am |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/lib/Makefile.am b/lib/Makef

[LyX/master] Avoid a crash if an external template is not installed

2017-06-12 Thread Enrico Forestieri
commit c86f9d81e704fa9f8becb178dba54f7bd94bb105 Author: Enrico Forestieri <for...@lyx.org> Date: Mon Jun 12 21:24:52 2017 +0200 Avoid a crash if an external template is not installed --- src/frontends/qt4/GuiExternal.cpp |5 - 1 files changed, 4 insertions(+), 1 deletions(-)

[LyX/master] Update it.po

2017-06-12 Thread Enrico Forestieri
commit 6e7f69c6d11ca04dbd3721e2655ef943ba3f73a0 Author: Enrico Forestieri <for...@lyx.org> Date: Tue Jun 13 02:34:03 2017 +0200 Update it.po po/it.gmo | Bin 523840 -> 525065 bytes po/it.po | 1223 - 2 files cha

[LyX/master] remerge po files, except sk.{po,gmo} as requested

2017-06-12 Thread Enrico Forestieri
commit 7fdaed0ad7d334cd9b7bc8adb06a77672e4484a2 Author: Enrico Forestieri <for...@lyx.org> Date: Tue Jun 13 02:11:51 2017 +0200 remerge po files, except sk.{po,gmo} as requested po/ar.gmo| Bin 374270 -> 374270 bytes po/ar.po | 1246 ---

[LyX/master] Clarify the status of thread local storage on OSX

2017-06-26 Thread Enrico Forestieri
commit 80f3f219b7ed4a0c200fdf12e4e1c21faba1f636 Author: Enrico Forestieri <for...@lyx.org> Date: Mon Jun 26 14:41:34 2017 +0200 Clarify the status of thread local storage on OSX The __thread local storage is supported on OSX since 10.7 (Lion), released in 2012. For exampl

[LyX/2.2.x] Fix bug #10705

2017-06-26 Thread Enrico Forestieri
commit 68bc50502996a168874723c65edfecebc81af846 Author: Enrico Forestieri <for...@lyx.org> Date: Mon Jun 26 23:10:30 2017 +0200 Fix bug #10705 Seemingly, std::regex does not account for newlines in the string. --- src/insets/InsetListings.cpp |6 +- stat

[LyX/master] Amend 28be7d55 to avoid an exception

2017-06-26 Thread Enrico Forestieri
commit 7b5d33a70746f42364b7d8ff944e7a768b508e95 Author: Enrico Forestieri <for...@lyx.org> Date: Tue Jun 27 00:09:51 2017 +0200 Amend 28be7d55 to avoid an exception This was occurring during validation when trying to enter the language name in the advanced tab. --- src/

[LyX/master] Don't enclose in braces minted languages

2017-06-26 Thread Enrico Forestieri
commit 0e90aeea90a6be6d3d8872ef12ad62b16d46c1a2 Author: Enrico Forestieri <for...@lyx.org> Date: Tue Jun 27 00:58:07 2017 +0200 Don't enclose in braces minted languages This is because the braces would be part of the language name. --- src/insets/InsetListingsParams.cpp

[LyX/master] Account for old versions of Pygments

2017-06-26 Thread Enrico Forestieri
commit 28be7d552f62cc02fa86d7f79201d089bfb2d7b5 Author: Enrico Forestieri <for...@lyx.org> Date: Mon Jun 26 23:23:23 2017 +0200 Account for old versions of Pygments Pygments versions prior to 2.0 only accept lower case names for lexers. This commit makes sure to alwa

[LyX/master] Fix bug #10546

2017-06-19 Thread Enrico Forestieri
commit 4dea27c4c74ca7b29e0b574e5e3424b3acb2ec5e Author: Enrico Forestieri <for...@lyx.org> Date: Tue Jun 20 01:14:55 2017 +0200 Fix bug #10546 A labeled equation is also numbered. --- src/mathed/MathParser.cpp |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff

[LyX/2.2.x] Fix bug #10469

2017-05-19 Thread Enrico Forestieri
commit 05d4332152ce8fdba42e894c4246752d2c1c0aab Author: Enrico Forestieri <for...@lyx.org> Date: Sat May 20 02:36:16 2017 +0200 Fix bug #10469 --- src/frontends/qt4/GuiApplication.cpp |6 ++ status.22x |1 + 2 files changed, 7 insertions

[LyX/master] Fix bug #10263

2017-05-23 Thread Enrico Forestieri
commit 3ceb5034905a4594fd100b8c29719699f3e87fb7 Author: Enrico Forestieri <for...@lyx.org> Date: Wed May 24 00:24:54 2017 +0200 Fix bug #10263 --- src/insets/InsetFoot.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/insets/InsetFoot.h b/src/

[LyX/master] Amend bfe0d52e

2017-05-16 Thread Enrico Forestieri
commit ead148510bc78116f8367bd061833e05e5e85949 Author: Enrico Forestieri <for...@lyx.org> Date: Tue May 16 22:02:42 2017 +0200 Amend bfe0d52e Was forgetting to account for babel. --- src/output_latex.cpp |8 1 files changed, 4 insertions(+), 4 deletions(-)

[LyX/master] Fix bug #10636

2017-05-16 Thread Enrico Forestieri
commit bfe0d52e97e4b77076e9ed6846f638114275e1b2 Author: Enrico Forestieri <for...@lyx.org> Date: Tue May 16 20:20:32 2017 +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. --

[LyX/master] Small tweak

2017-05-28 Thread Enrico Forestieri
commit 6da125b296f987cfbd3a7892e33d4bd7fc7b6ed1 Author: Enrico Forestieri <for...@lyx.org> Date: Sun May 28 23:46:51 2017 +0200 Small tweak --- lib/examples/minted.lyx |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/examples/minted.lyx b/lib/ex

[LyX/master] Add an external template for minted

2017-05-28 Thread Enrico Forestieri
commit 85dd9a2f9c81ad8641c31aa1403cab2678590a0e Author: Enrico Forestieri <for...@lyx.org> Date: Sun May 28 23:43:19 2017 +0200 Add an external template for minted See #9095 --- lib/Makefile.am |2 + lib/examples/minted.lyx

[LyX/master] Add some clarifying comments

2017-05-29 Thread Enrico Forestieri
commit dde3e3003150d56e2262dfb3b77d98b008e61ab7 Author: Enrico Forestieri <for...@lyx.org> Date: Mon May 29 12:00:25 2017 +0200 Add some clarifying comments --- lib/examples/minted.lyx |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/examples/minted

[LyX/master] Fix bug #10685

2017-05-30 Thread Enrico Forestieri
commit 2a5bb7ab676c4e7e24d384d461a582e44aeeceef Author: Enrico Forestieri <for...@lyx.org> Date: Tue May 30 17:49:59 2017 +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 a

[LyX/master] Fix bugs #10650 and #9598

2017-06-03 Thread Enrico Forestieri
commit 55bbd67cde18184082b074f669a6b81cc48257b6 Author: Enrico Forestieri <for...@lyx.org> Date: Sat Jun 3 17:26:05 2017 +0200 Fix bugs #10650 and #9598 --- src/Font.cpp |6 +++ src/Font.h |1 + src/Paragraph.cpp

[LyX/master] Do not output a \par inside a local language switch command

2017-06-03 Thread Enrico Forestieri
commit 71f532db4bbce90574781413ffb9f5d2fdeb5b50 Author: Enrico Forestieri <for...@lyx.org> Date: Sun Jun 4 03:12:41 2017 +0200 Do not output a \par inside a local language switch command --- src/Font.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/Fo

[LyX/master] Fix up 0cf394dd

2017-06-03 Thread Enrico Forestieri
commit 8ae652eb16d04f6992fc1f28be7b47f7d40017dd Author: Enrico Forestieri <for...@lyx.org> Date: Sun Jun 4 03:28:49 2017 +0200 Fix up 0cf394dd --- src/insets/InsetGraphics.cpp |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/insets/InsetGraphics.cpp

[LyX/master] Don't allow captions in non-floating listings

2017-06-07 Thread Enrico Forestieri
commit fd0756141c960d1eb2ffa0e947f01f91aa6b6334 Author: Enrico Forestieri <for...@lyx.org> Date: Wed Jun 7 18:15:59 2017 +0200 Don't allow captions in non-floating listings It was possible to insert a caption in a listing not marked as floating. This didn't cause

[LyX/master] Simplify preamble code when using listings

2017-06-07 Thread Enrico Forestieri
commit 3cc3ff39a044a484faaaefbecf2a2937f7f102ef Author: Enrico Forestieri <for...@lyx.org> Date: Thu Jun 8 04:24:29 2017 +0200 Simplify preamble code when using listings Following an idea from Guillame. --- lib/layouts/stdinsets.inc

[LyX/master] Extend minted support to listings as child documents

2017-06-08 Thread Enrico Forestieri
commit 8fa0e539e52512b80c5c3eac965e3abb98ba484e Author: Enrico Forestieri <for...@lyx.org> Date: Thu Jun 8 19:33:54 2017 +0200 Extend minted support to listings as child documents This was slipping through the cracks, apparently... --- src/frontends/qt4/GuiInclude.cpp

[LyX/master] Fix a small glitch

2017-06-07 Thread Enrico Forestieri
commit aae04d25b92a97e99b91cbb981f30b4b20d9f4ed Author: Enrico Forestieri <for...@lyx.org> Date: Wed Jun 7 15:31:13 2017 +0200 Fix a small glitch When choosing a code language that has dialects in the languages combo box, the dialects combo gets activated also when

[LyX/master] Rename the minted 'lang' external template option as 'language'

2017-06-06 Thread Enrico Forestieri
commit 268ae66e3c7df04effc329373dc887715d9c6f06 Author: Enrico Forestieri <for...@lyx.org> Date: Wed Jun 7 01:25:35 2017 +0200 Rename the minted 'lang' external template option as 'language' This is for consistency with the newly introduced support in the listings inset,

[LyX/master] Add another minted example

2017-06-06 Thread Enrico Forestieri
commit a3389717008ca2e29536285538991ef4d16f947e Author: Enrico Forestieri <for...@lyx.org> Date: Wed Jun 7 02:28:21 2017 +0200 Add another minted example This one illustrates the usage of the new minted support. --- lib/Makefile.am |1 + lib/examples/

[LyX/master] tex2lyx: import minted listings

2017-06-16 Thread Enrico Forestieri
commit 7a9bb851840fe7211cac05cbd898b27143f73559 Author: Enrico Forestieri <for...@lyx.org> Date: Sat Jun 17 02:23:00 2017 +0200 tex2lyx: import minted listings This commit updates tex2lyx in order to also import minted listings. For the floating version of a listing,

[LyX/master] Correctly skip a bottom caption

2017-06-17 Thread Enrico Forestieri
commit 000b7f3f46e0170f6a3afdd24d96ff5d440f22bc Author: Enrico Forestieri <for...@lyx.org> Date: Sat Jun 17 14:01:42 2017 +0200 Correctly skip a bottom caption The getArg() method stops at the first closing brace, whether it matches the opening one or not, so properly

[LyX/master] Correct a default english layout translation

2017-06-17 Thread Enrico Forestieri
commit 9f9457eb005686d4b9eed2b5efb7acfb82e90024 Author: Enrico Forestieri <for...@lyx.org> Date: Sat Jun 17 15:09:06 2017 +0200 Correct a default english layout translation Of course, the default english translation for "List of Listings" is "List of Li

[LyX/master] Prune white space after the separating comma of options

2017-06-17 Thread Enrico Forestieri
commit d4d7cdf9a1d48150eec7dc0fd656488501dad4c0 Author: Enrico Forestieri <for...@lyx.org> Date: Sat Jun 17 20:41:29 2017 +0200 Prune white space after the separating comma of options Both listings and minted allow for many complex options. So, a latex source can be

[LyX/master] Don't allow raw newlines in options

2017-06-17 Thread Enrico Forestieri
commit f135c8d227b8880ee298b7aecf833342e6b152ce Author: Enrico Forestieri <for...@lyx.org> Date: Sat Jun 17 19:05:02 2017 +0200 Don't allow raw newlines in options This happens if the options are split over multiple lines in the latex source. A newline here confuses the

[LyX/master] Amend 9b2b51a4

2017-06-17 Thread Enrico Forestieri
commit a1e65ad4580d6ec4ed11de56a43f548e01bb90e5 Author: Enrico Forestieri <for...@lyx.org> Date: Sat Jun 17 19:35:10 2017 +0200 Amend 9b2b51a4 runtests.py was being forgotten and a string transliterated. --- src/tex2lyx/test/runtests.py |1 + src/tex2lyx/tes

[LyX/master] Allow captions also on non-floating minted listings

2017-06-10 Thread Enrico Forestieri
commit 3dfa1cb417fe909adb96311500bc00e7f8306fd6 Author: Enrico Forestieri <for...@lyx.org> Date: Sat Jun 10 18:43:23 2017 +0200 Allow captions also on non-floating minted listings Minted provides for captions only with floating listings. However, listings always allows ca

[LyX/master] Amend fd075614

2017-06-09 Thread Enrico Forestieri
commit ca2d972a3650da73afa1ec02ed930001a8a3ea30 Author: Enrico Forestieri <for...@lyx.org> Date: Fri Jun 9 12:35:01 2017 +0200 Amend fd075614 Actually, only when using minted it is not possible to insert a caption in a non-floating listing. --- src/insets/InsetListin

[LyX/master] Quote backspace in string

2017-06-10 Thread Enrico Forestieri
commit 6f12fe596c37c01f983595fd1cc5fc6337ff7001 Author: Enrico Forestieri <for...@lyx.org> Date: Sat Jun 10 23:12:49 2017 +0200 Quote backspace in string --- src/insets/InsetListingsParams.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/

[LyX/master] Was forgetting to add the caption to the list of listings

2017-06-10 Thread Enrico Forestieri
commit c5c480bb3c3d99a70e4b3cc6336fda171b080c15 Author: Enrico Forestieri <for...@lyx.org> Date: Sat Jun 10 21:00:43 2017 +0200 Was forgetting to add the caption to the list of listings --- src/LaTeXFeatures.cpp |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

<    2   3   4   5   6   7   8   9   10   11   >