Re: Options for resolving the minted + shell-escape issue

2017-07-31 Thread Enrico Forestieri
On Sun, Jul 30, 2017 at 11:01:18PM +0200, Enrico Forestieri wrote: > On Sat, Jul 29, 2017 at 07:51:08PM -0400, Scott Kostyshak wrote: > > > > If I remove the python-pygments module (and reconfigure) and test, I get > > the following error: > > > > The driver command necessary to use the

Re: Going into dangerous mode (Was: Can shell-escape take advantage of needauth framework?)

2017-07-31 Thread Jürgen Spitzmüller
I meant it in this sense. If a vote only means "I did not have a look at > the patch but I am fed-up so let us go ahead" then it is not taking responsibilities. A vote is a vote. If the given voting will be Rates differently, this will be have been the last voting I have participated on this

Re: Options for resolving the minted + shell-escape issue

2017-07-31 Thread Guillaume MM
Le 29/07/2017 à 23:57, Scott Kostyshak a écrit : On Thu, Jul 20, 2017 at 03:30:14PM -0400, Richard Heck wrote: On 07/20/2017 01:21 AM, Jürgen Spitzmüller wrote: Am Mittwoch, den 19.07.2017, 16:37 +0200 schrieb Enrico Forestieri: The attached patch takes into account all of these ideas. As a

Re: Going into dangerous mode (Was: Can shell-escape take advantage of needauth framework?)

2017-07-31 Thread Guillaume MM
Le 29/07/2017 à 23:54, Scott Kostyshak a écrit : On Thu, Jul 27, 2017 at 04:09:56PM +0200, Guillaume MM wrote: * Having to use -shell-escape for running Pygments. Yes, and if we go the way of the patch, I don't think any other improvements (e.g. post-beta1) will be made to address this,

Re: Options for resolving the minted + shell-escape issue

2017-07-31 Thread Guillaume MM
Le 31/07/2017 à 10:57, Guillaume MM a écrit : I spotted various areas of improvement: ... * The new buffer param and the boolean argument in the session file are superfluous and make the code much more complicated than needed. ... I now understand better that this is by design, but it

Re: Options for resolving the minted + shell-escape issue

2017-07-31 Thread Enrico Forestieri
On Sun, Jul 30, 2017 at 02:27:02PM +0200, Kornel Benko wrote: > > Testing the patch shell-escape-auth-5.diff, there is 1 issue from my side: > The session entry is totally ignored if using 'lyx -E', therefore I'd prefer > to save the entries in some other file (for instance

Re: Options for resolving the minted + shell-escape issue

2017-07-31 Thread Enrico Forestieri
On Mon, Jul 31, 2017 at 12:01:39PM +0200, Enrico Forestieri wrote: > On Mon, Jul 31, 2017 at 10:57:01AM +0200, Guillaume MM wrote: > > > A key point to me is that, according to your other message, going with > > 3. locks 2.3 into implementing Pygments using minted. For this reason > > and that

Re: [LyX/master] prefs/needauth: added warning if user tries to disable authorization for needauth converters.

2017-07-31 Thread Guillaume MM
Le 27/07/2017 à 00:06, Tommaso Cucinotta a écrit : commit 8a4fcd3d95ca4aeed1c46152cecadf29ed21e774 Author: Tommaso Cucinotta Date: Thu Jul 27 00:01:51 2017 +0200 prefs/needauth: added warning if user tries to disable authorization for needauth converters. --- +

Re: Options for resolving the minted + shell-escape issue

2017-07-31 Thread Enrico Forestieri
On Mon, Jul 31, 2017 at 10:57:01AM +0200, Guillaume MM wrote: > A key point to me is that, according to your other message, going with > 3. locks 2.3 into implementing Pygments using minted. For this reason > and that it does not solve fundamental issues, there are more reasonable > solutions

lyx executable built with cmake will not run

2017-07-31 Thread Jean-Pierre Chrétien
Hello Kornel After: $ cd ../buildmastercmake/ $ rm -rf * $ cmake -DLYX_ENABLE_EXPORT_TESTS=ON -DLYX_RELEASE=ONb -DLYX_PROGRAM_SUFFIX=ON -DLYX_ENABLE_CXX11=AUTO -DLYX_USE_QT=QT5 -DLYX_INSTALL_PREFIX="git-" ../master $ make $ bin/lyx2.3 I get this: support/Messages.cpp (247): No language

Re: lyx executable built with cmake will not run

2017-07-31 Thread Jean-Pierre Chrétien
Le 31/07/2017 à 18:09, Kornel Benko a écrit : I don't understand, I can load bin/lyx2.3 all right now. So everything works again? Seems to work, I've recompiled from scratch after editing the options, I'll keep you posted. -- Jean-Pierre

Re: lyx executable built with cmake will not run

2017-07-31 Thread Kornel Benko
Am Montag, 31. Juli 2017 um 15:08:36, schrieb Jean-Pierre Chrétien > Hello Kornel > > After: > > $ cd ../buildmastercmake/ > $ rm -rf * > $ cmake -DLYX_ENABLE_EXPORT_TESTS=ON -DLYX_RELEASE=ONb > -DLYX_PROGRAM_SUFFIX=ON > -DLYX_ENABLE_CXX11=AUTO -DLYX_USE_QT=QT5

Re: lyx executable built with cmake will not run

2017-07-31 Thread Kornel Benko
Am Montag, 31. Juli 2017 um 17:55:01, schrieb Jean-Pierre Chrétien > Le 31/07/2017 à 17:28, Kornel Benko a écrit : > > Am Montag, 31. Juli 2017 um 15:08:36, schrieb Jean-Pierre Chrétien > > > >> Hello Kornel > >> > >> After: > >> > >> $

Re: lyx executable built with cmake will not run

2017-07-31 Thread Jean-Pierre Chrétien
Le 31/07/2017 à 17:28, Kornel Benko a écrit : Am Montag, 31. Juli 2017 um 15:08:36, schrieb Jean-Pierre Chrétien Hello Kornel After: $ cd ../buildmastercmake/ $ rm -rf * $ cmake -DLYX_ENABLE_EXPORT_TESTS=ON -DLYX_RELEASE=ONb -DLYX_PROGRAM_SUFFIX=ON

Re: Options for resolving the minted + shell-escape issue

2017-07-31 Thread Pavel Sanda
Scott Kostyshak wrote: > I'm concerned that since this issue has left us all exhausted, there is > a feeling of "let's just get this over so we can move on". I encourage > all of us to give one more cognitive spurt and give a vote. > > From what I understand, the three options are still what I

Re: Options for resolving the minted + shell-escape issue

2017-07-31 Thread Kornel Benko
Am Montag, 31. Juli 2017 um 12:51:15, schrieb Enrico Forestieri > On Sun, Jul 30, 2017 at 02:27:02PM +0200, Kornel Benko wrote: > > > > Testing the patch shell-escape-auth-5.diff, there is 1 issue from my side: > > The session entry is totally ignored if using 'lyx -E', therefore

Re: [patch] update PDF viewers in configure.py

2017-07-31 Thread Christian Ridderström
On 31 July 2017 at 19:52, Pavel Sanda wrote: > Kornel Benko wrote: > > > It is not a demo. Only if you want to have all features like e.g. > > > splitting PDF pages one has to buy another version. So it is the same > as > > > with Acrobat Reader, for the full feature set of

Dropping unsupported languages

2017-07-31 Thread Pavel Sanda
Per stats on https://www.lyx.org/I18n-trunk it might be proper time to drop support for languages having less %50 than translation status. Those would be the winners: Russian, Danish, Greek, Serbian, Galician, Catalan, Romanian, Dutch. Any resistance? Pavel diff --git a/po/LINGUAS b/po/LINGUAS

Re: [patch] update PDF viewers in configure.py

2017-07-31 Thread Pavel Sanda
Uwe Stöhr wrote: >> There's one certainty, regardless of the OS: no matter which order you >> specify, /someone/ is going to complain. ;-) > > Yes. So to avoid a discussion about it I have undone the sort order change > in the attached updated patch. Actually you did not. 'masterpdfeditor4' is

Preferences handling of \input token

2017-07-31 Thread Kornel Benko
This looks weird. As far as I could see, reading preferences is done via LyXRC::read(FileName const & filename, bool check_format) which return true if everything is OK. But if using '\input "some file"', we land at src/LyXRC.cpp:464 Changing as attached, cures it for me. Kornel

Re: Options for resolving the minted + shell-escape issue

2017-07-31 Thread Enrico Forestieri
On Mon, Jul 31, 2017 at 09:07:11PM +0200, Guillaume MM wrote: > > I am sure that Scott meant to include in some way the option that I have > been advocating constantly from the beginning, which I understand is > probably 1. (Otherwise, I do not see what the option 1. refers to nor > who proposed

Re: [LyX features/properpaint] Fix caret painting

2017-07-31 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > Le 25/07/2017 ?? 11:37, Pavel Sanda a écrit : >>> Preliminary testing shows that the performance of pressing cursor down >>> repeatedly is the same, but the performance of Page Down is much better. >> Is this supposed to change only perf of going down or it also

Re: [patch] update PDF viewers in configure.py

2017-07-31 Thread Pavel Sanda
Kornel Benko wrote: > > It is not a demo. Only if you want to have all features like e.g. > > splitting PDF pages one has to buy another version. So it is the same as > > with Acrobat Reader, for the full feature set of Acrobat one has to pay. > > Do we really try to promote commercial

Re: Going into dangerous mode (Was: Can shell-escape take advantage of needauth framework?)

2017-07-31 Thread Guillaume MM
Le 31/07/2017 à 13:31, Jürgen Spitzmüller a écrit : I meant it in this sense. If a vote only means "I did not have a look at the patch but I am fed-up so let us go ahead" then it is not taking responsibilities. A vote is a vote. If the given voting will be Rates

Re: [patch] update PDF viewers in configure.py

2017-07-31 Thread Christian Ridderström
On 30 July 2017 at 23:47, Jean-Marc Lasgouttes wrote: > >Under Linux I was looking for a PDF program with which I can properly > >fill out and submit PDF forms. I found the Program Master PDF editor > >and > >would therefore like to support it in LyX. > > To be frank I never

Re: Options for resolving the minted + shell-escape issue

2017-07-31 Thread Guillaume MM
Le 31/07/2017 à 13:00, Enrico Forestieri a écrit : On Mon, Jul 31, 2017 at 12:01:39PM +0200, Enrico Forestieri wrote: On Mon, Jul 31, 2017 at 10:57:01AM +0200, Guillaume MM wrote: A key point to me is that, according to your other message, going with 3. locks 2.3 into implementing Pygments

Re: [LyX/master] Cmake build: Ignore boost settings if we are using std-regex

2017-07-31 Thread Kornel Benko
Am Montag, 31. Juli 2017 um 01:09:09, schrieb Scott Kostyshak > On Sun, Jul 30, 2017 at 07:41:02AM +0200, Kornel Benko wrote: > > Am Samstag, 29. Juli 2017 um 19:14:01, schrieb Scott Kostyshak > > > > > On Thu, Jul 27, 2017 at 11:32:06PM +0200, Kornel Benko

Re: Options for resolving the minted + shell-escape issue

2017-07-31 Thread Christian Ridderström
Hi Scott, On 31 July 2017 at 16:50, Pavel Sanda wrote: > Scott Kostyshak wrote: > > I'm concerned that since this issue has left us all exhausted, there is > > a feeling of "let's just get this over so we can move on". I encourage > > all of us to give one more cognitive spurt

Re: [LyX features/properpaint] Fix caret painting

2017-07-31 Thread Jean-Marc Lasgouttes
I do not think so. Maybe after 2.3.0, it will be up to Richard, since the amount of code is small. Thanks for testing. I am happy that it works. But I suspect that there are dark corners that we have not visited yet. JMarc Le 31 juillet 2017 19:45:09 GMT+02:00, Pavel Sanda a

Re: Going into dangerous mode (Was: Can shell-escape take advantage of needauth framework?)

2017-07-31 Thread Christian Ridderström
On 31 July 2017 at 20:44, Guillaume MM wrote: > Le 31/07/2017 à 13:31, Jürgen Spitzmüller a écrit : > >> I meant it in this sense. If a vote only means "I did not have a >> look at >> >> the patch but I am fed-up so let us go ahead" then it is not taking >>

Re: [LyX/master] prefs/needauth: added warning if user tries to disable authorization for needauth converters.

2017-07-31 Thread Christian Ridderström
On 27 July 2017 at 00:06, Tommaso Cucinotta wrote: > commit 8a4fcd3d95ca4aeed1c46152cecadf29ed21e774 > + _("SECURITY WARNING!"), _("Unchecking this option has the > effect that potentially harmful converters would be run without asking your > permission first. This

Re: [LyX features/properpaint] Fix caret painting

2017-07-31 Thread Richard Heck
On 07/31/2017 02:02 PM, Jean-Marc Lasgouttes wrote: > I do not think so. Maybe after 2.3.0, it will be up to Richard, since the > amount of code is small. I guess we will need to see, as usual, if there's a need for fast release of 2.3.1. But, if not, then we can think about merging early so it

Regarding safety/security, the DOCX and DOCM formats of MS Office

2017-07-31 Thread Christian Ridderström
Hi, Regarding safe behaviour or not, I happened to remember an aspect related to MS Word and macros. Some years ago Microsoft changed the old DOC format and as default introduced the DOCX format. One change was of course the use of XML, but another is that DOCX does _not_ allow macros --- at

Re: Options for resolving the minted + shell-escape issue

2017-07-31 Thread Pavel Sanda
Christian Ridderström wrote: > Please note that I'm _not_ wholly against something like needauth, I'm simply > not convinced it's good enough. In fact, I'm still unclear on exactly how it > currently works, or perhaps rather, how it's intended to work in LyX 2.3. I already wrote you possible

Re: [LyX features/properpaint] Fix caret painting

2017-07-31 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > I do not think so. Maybe after 2.3.0 :( > But I suspect that there are dark corners that we have not visited yet. What is your strategy with features/properpaint? To continue piling up new patches on top of if or leave it for testing? Pavel

Re: Options for resolving the minted + shell-escape issue

2017-07-31 Thread Pavel Sanda
Pavel Sanda wrote: > I did not hear your reaction to it either. I see you just did that, sorry... P