Re: [LyX/master] Further amendment to 72a488d7

2017-03-26 Thread Guillaume MM
Le 21/03/2017 à 00:04, Enrico Forestieri a écrit : commit 16d5c49b383841826d1bc563e2d392e12e497ed8 Author: Enrico Forestieri 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

Re: [LyX/master] Nonsense for whoever insists on using gcc4.6 & qt4.8 in 2017

2017-03-20 Thread Guillaume MM
Le 19/03/2017 à 22:12, Pavel Sanda a écrit : Guillaume Munch wrote: If QFileSystemWatcher works, you see the modification instantly. If it does not, you now see it when you activate the window. Hmm this is not what I see here (gcc 4.9.4 & qt 4.8.5). I need to scroll or cause some movement so

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

2017-03-20 Thread Guillaume MM
Le 19/03/2017 à 20:58, Enrico Forestieri a écrit : + Don't use ligatures for en- and em-dashes Can I suggest to phrase it positively? "Output en- and em- dashes as ligatures"

Re: Build failed in Jenkins: Build branch "master" » ubuntu-xenial-qt4-autotools-extended #107

2017-03-20 Thread Guillaume MM
Le 19/03/2017 à 12:26, Christian Ridderström a écrit : # Temporary fix: Apply JMarc's patch to allow 'make distcheck' to complete patch -p1 < /builds/0001-Fix-distclean-for-recent-automake-versions.patch Jean-Marc, perhaps that patch should no longer be applied? It was needed

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

2017-03-20 Thread Guillaume MM
Le 20/03/2017 à 11:00, Enrico Forestieri a écrit : On Mon, Mar 20, 2017 at 07:25:38AM +0100, Guillaume MM wrote: Le 19/03/2017 à 20:58, Enrico Forestieri a écrit : + Don't use ligatures for en- and em-dashes Can I suggest to phrase it positively? "Output en- and em- dashes as liga

Re: Ticket #10455

2017-04-10 Thread Guillaume MM
Le 10/04/2017 à 21:05, racoon a écrit : Hi! Can someone check http://www.lyx.org/trac/ticket/10455 and put it into master for testing? Best, Daniel Hello Daniel and the list, you also have http://www.lyx.org/trac/ticket/10483 http://www.lyx.org/trac/ticket/10379

Re: [LyX/master] Add support to cross out characters

2017-04-12 Thread Guillaume MM
Le 11/04/2017 à 10:04, Jean-Marc Lasgouttes a écrit : Le 11/04/2017 à 09:45, Guenter Milde a écrit : The Python convention is to leave out "== true" while in C++ this may be required. (Python auto-converts any value to a Boolean if required in an "if" clause.) I do not see any reason to keep

Re: [LyX/master] MathAtom is a unique_ptr

2017-04-12 Thread Guillaume MM
Le 08/04/2017 à 15:10, Jean-Marc Lasgouttes a écrit : Le 07/04/2017 à 23:55, Guillaume MM a écrit : commit b382b246b62b66100733449b2bf75a01fd1d263f Author: Guillaume MM <g...@lyx.org> Date: Sun Apr 2 21:04:06 2017 +0200 MathAtom is a unique_ptr Fix coverity suggestion of de

Re: [coverity again] missing move constructors

2017-04-20 Thread Guillaume MM
I am not sure that using cache_ptr is good +// design, but it improves on the old code. +template +class cache_ptr : public unique_ptr { +#if !(defined(__GNUC__) && (__GNUC__ == 4) && (__GNUC_MINOR__ == 6)) + static_assert(std::is_default_constructible::value, + &

Re: Qt terminal message "path is empty"

2017-04-20 Thread Guillaume MM
Le 18/04/2017 à 08:10, Scott Kostyshak a écrit : I've been getting the following message on recent master: QFileSystemWatcher::removePath: path is empty One way to trigger it is to have two different LyX instances open, write "hello" in one of them and select it and copy it and paste it in

Re: beamer editing

2017-04-20 Thread Guillaume MM
Le 20/04/2017 à 23:10, Edwin Leuven a écrit : On 20 Apr 2017, at 22:47, Guillaume MM <g...@lyx.org> wrote: At the time I reviewed your patch and pointed out regressions of the new behaviour: <https://marc.info/?l=lyx-devel=145031216812301=2>. i don’t see any of those regressio

Re: SIGSEGV on luatex export #2

2017-04-20 Thread Guillaume MM
Le 20/04/2017 à 19:02, Scott Kostyshak a écrit : On Thu, Apr 20, 2017 at 04:21:49AM -0400, Scott Kostyshak wrote: On Thu, Apr 20, 2017 at 09:10:54AM +0200, Tommaso Cucinotta wrote: A 2nd SIGSEGV, involving similar actions, but the crash happens earlier, so I guess it's a different bug: 1.

Re: beamer editing

2017-04-20 Thread Guillaume MM
Le 20/04/2017 à 09:40, Edwin Leuven a écrit : hello, quite some time ago i complained about editing frame content in lyx basic frame content is indented and has a standard environment a new line however removes the indent and resets the standard environment to frame to continue editing one

New warnings in master

2017-04-20 Thread Guillaume MM
../../src/insets/InsetSpecialChar.cpp: In member function ‘virtual lyx::docstring lyx::InsetSpecialChar::toolTip(const lyx::BufferView&, int, int) const’: ../../src/insets/InsetSpecialChar.cpp:92:9: warning: enumeration value ‘LDOTS’ not handled in switch [-Wswitch] switch (kind_) {

Re: [LyX/master] MathsUi.ui: adjust dimensions as requested

2017-04-07 Thread Guillaume MM
Le 07/04/2017 à 02:14, Uwe Stöhr a écrit : commit 74bcd5d26c558e5d540b2e3370d869a3f0469aff Author: Uwe Stöhr Date: Fri Apr 7 02:14:34 2017 +0200 MathsUi.ui: adjust dimensions as requested --- -432 +500 - 411 - 351 + 480 + 350 One should need

Re: [LyX/master] Document new behavior of "delete" LFUNs

2017-04-07 Thread Guillaume MM
Le 06/04/2017 à 06:41, Scott Kostyshak a écrit : commit 22c4a24a360b4607551ff5275cf24ac5f5e5eb4a Author: Scott Kostyshak Date: Thu Apr 6 00:34:51 2017 -0400 Document new behavior of "delete" LFUNs - Describe the change in RELEASE-NOTES. - Update the example for

Re: [coverity again] missing move constructors

2017-04-07 Thread Guillaume MM
of the move operators. Of course one should audit and simplify all the classes with these principles in mind. Guillaume >From f69fd0aa1f58284103cb4689b90d02b1648713fa Mon Sep 17 00:00:00 2001 From: Guillaume MM <g...@lyx.org> Date: Sun, 2 Apr 2017 19:58:44 +0200 Subject: [PATCH 1/2]

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

2017-07-31 Thread Guillaume MM
e one can have a look at my patches for better solutions. The last issue is fixed (in my case) by the third patch. >From 28b242803687ef57b0d4212d9d0bf00f64e83ccb Mon Sep 17 00:00:00 2001 From: Guillaume MM <g...@lyx.org> Date: Sat, 29 Jul 2017 23:23:50 +0200 Subject: [PATCH 1/3] Add visibility an

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

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

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: alternatives for dashes (please vote)

2017-07-30 Thread Guillaume MM
Le 27/07/2017 à 23:27, Guenter Milde a écrit : Dear LyX developers, following Scotts suggestion, I prepared an overview of alternatives to handle the problem with 2.2 breaking formatting of em- and en-dashes. Comments and votes welcome. Unfortunately, the topic is emotionally loaded, as we did

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: 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] prefs/needauth: added warning if user tries to disable authorization for needauth converters.

2017-08-09 Thread Guillaume MM
Le 04/08/2017 à 18:51, Tommaso Cucinotta a écrit : As per the HTML, if this is the standard for LyX then let's go for it. I don't think it is standard, but needauth messages are unusually long and require attention, and this is for them that that LyX dialogs were adapted to accept HTML

Re: Silent/automatic execution of converter and needauth, concrete questions to clarify my understanding

2017-07-17 Thread Guillaume MM
Le 17/07/2017 à 23:53, Christian Ridderström a écrit : Hi, I've gotten lots of information from Enrico and Guillaume related to the security "gap", but I'd like to boil it down to simpler questions to make the situation clear to me. Assume that I've gotten a LyX document by e-mail. It was

Re: Can shell-escape take advantage of needauth framework?

2017-07-18 Thread Guillaume MM
Le 18/07/2017 à 09:07, Scott Kostyshak a écrit : On the contrary, if preview never uses needauth converters, is it as useful in cases like gnuplot? By "it" do you mean the external template? Yes Once it is in, then it has to be supported forever, I believe there is an agreement about this.

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

2017-07-18 Thread Guillaume MM
Le 17/07/2017 à 16:25, Richard Heck a écrit : If I read JMarc's messages properly, then he also agrees that the security issues are essentially the same. That also seems right to me. Hi Richard, I did not reply to Jean-Marc, so I'll say here that I too agree with what he wrote at

Re: Can shell-escape take advantage of needauth framework?

2017-07-16 Thread Guillaume MM
Hi Scott, Sorry for the delay. I was very busy over the past two weeks. Le 05/07/2017 à 06:54, Scott Kostyshak a écrit : On Wed, Jun 28, 2017 at 02:36:49PM +0200, Guillaume MM wrote: Le 27/06/2017 à 23:45, Tommaso Cucinotta a écrit : needauth was a urgently needed mitigation of the security

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

2017-07-16 Thread Guillaume MM
Le 17/07/2017 à 00:49, Christian Ridderström a écrit : On 5 July 2017 at 06:59, Scott Kostyshak > wrote: Dear all, This is an important topic since it involves security. I'd appreciate it if you spent some time on understanding the issue.

Re: Can shell-escape take advantage of needauth framework?

2017-07-16 Thread Guillaume MM
Le 05/07/2017 à 06:54, Scott Kostyshak a écrit : On Wed, Jun 28, 2017 at 02:37:41PM +0200, Guillaume MM wrote: Le 27/06/2017 à 21:00, Scott Kostyshak a écrit : Where I think there is disagreement is on whether we take a paternalistic approach of "are you sure you know what you're doing?

Re: Cleanup before 2.3.0?

2017-07-16 Thread Guillaume MM
Le 15/07/2017 à 19:06, Jean-Marc Lasgouttes a écrit : Le 15/07/2017 à 18:55, Christian Ridderström a écrit : In my opinion, if we don't reach consensus easily on formatting issues, we should at least for now refrain from using a .clang-format. This is probably what is going to take too much

Re: [LyX/master] Fix uninitialized members outfd and infd

2017-07-16 Thread Guillaume MM
Le 06/07/2017 à 14:55, Jean-Marc Lasgouttes a écrit : Le 06/07/2017 à 14:52, Jean-Marc Lasgouttes a écrit : commit 02c9d2e67c16400588dfb103df284121520912a0 Author: Jean-Marc Lasgouttes Date: Thu Jul 6 14:46:03 2017 +0200 Fix uninitialized members outfd and infd

Re: Living with shell-escape: Using two LyX instances - critique invited

2017-07-18 Thread Guillaume MM
Le 18/07/2017 à 21:29, Christian Ridderström a écrit : Hi, If I had to use a converter that requires e.g. shell-escape perhaps the approach below would be useful. What problems do you see with it? 1) Use two lyx user directories, one standard and one "dangerous", with converters using

Re: Can shell-escape take advantage of needauth framework?

2017-07-18 Thread Guillaume MM
Le 18/07/2017 à 23:27, Jean-Marc Lasgouttes a écrit : Le 18/07/2017 à 23:24, Christian Ridderström a écrit : The threat model is one important aspect, but it's difficult for us to know who uses LyX and in which industries. Or how many users there are at all. And how many of them that use

Re: Any descriptions of the security aspects (related to needauth and shell-escape)?

2017-07-20 Thread Guillaume MM
Le 19/07/2017 à 16:59, Richard Heck a écrit : On 07/19/2017 02:22 AM, Christian Ridderström wrote: Hi, When having tried to contribute to the discussion on needauth and shell-escape I've felt that it's quite difficult to get a good picture of things like: - Goals of design, what are we trying

Re: Can shell-escape take advantage of needauth framework?

2017-07-20 Thread Guillaume MM
Le 19/07/2017 à 16:47, Richard Heck a écrit : On 07/19/2017 05:06 AM, Pavel Sanda wrote: Christian Ridderström wrote: I just did a test with gnuplot. In the LyX settings I had unchecked 'Forbid of use of needauth converters' and unchecked 'Use needauth option'. Then I opened a LyX doc with a

Re: Can shell-escape take advantage of needauth framework?

2017-07-20 Thread Guillaume MM
Le 19/07/2017 à 11:47, Pavel Sanda a écrit : Guillaume MM wrote: Le 18/07/2017 ?? 23:27, Jean-Marc Lasgouttes a écrit : Le 18/07/2017 ?? 23:24, Christian Ridderström a écrit : The threat model is one important aspect, but it's difficult for us to know who uses LyX and in which industries

Re: [PATCH][RFC] Make "devel mode" configurable at run time

2017-07-24 Thread Guillaume MM
Le 24/07/2017 à 16:23, Jean-Marc Lasgouttes a écrit : Hi, Anyone against putting this in master? JMarc 0001-Make-devel-mode-configurable-at-run-time.patch From 5488f8f06eae75bf2265e88a344be246130b9ada Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 24

Re: Living with shell-escape: Using two LyX instances - critique invited

2017-07-27 Thread Guillaume MM
Le 23/07/2017 à 20:45, Christian Ridderström a écrit : Bah, I again e-mailed only Guillaume and not the list. On 19 July 2017 at 00:00, Guillaume MM <g...@lyx.org> wrote: I find that it would be more cumbersome and error-prone than a good needauth implementation. cumbersome: Do you

Re: Question for Guillaume about b30f8d3c and GuiFontMetrics::countExpanders

2017-07-27 Thread Guillaume MM
Le 25/07/2017 à 14:36, Jean-Marc Lasgouttes a écrit : Hi Guillaume, The commit log for b30f8d3c says: " CountExpanders() is moved to FontMetrics to fix a discrepancy with the duplicate implementation from 598f7e4a." I interpret that to mean that countExpanders() should be available in

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

2017-07-27 Thread Guillaume MM
Le 22/07/2017 à 00:47, Guenter Milde a écrit : On 2017-07-19, Richard Heck wrote: On 07/19/2017 01:48 AM, Christian Ridderström wrote: On 18 July 2017 at 23:49, Jean-Marc Lasgouttes > wrote: Le 18/07/2017 à 23:42, Christian Ridderström a

Re: Can shell-escape take advantage of needauth framework?

2017-06-27 Thread Guillaume MM
Hi Scott, Le 25/06/2017 à 22:41, Scott Kostyshak a écrit : Judging by the comments of gpoore, we do not want to wait for this for 2.3.0. But this does affect the discussion of what to do for 2.3.0, since we might not want to introduce a workflow in 2.3.0 that we will change soon after. I

Re: Can shell-escape take advantage of needauth framework?

2017-06-28 Thread Guillaume MM
Le 27/06/2017 à 21:00, Scott Kostyshak a écrit : Where I think there is disagreement is on whether we take a paternalistic approach of "are you sure you know what you're doing? Think very hard about this before you do it" or a lax approach of allowing users to shoot themselves in the foot.

Re: Can shell-escape take advantage of needauth framework?

2017-06-28 Thread Guillaume MM
Le 27/06/2017 à 23:45, Tommaso Cucinotta a écrit : needauth was a urgently needed mitigation of the security issues behind running arbitrary external tools when compiling LyX documents; a more engineered remedy AFAICR was actually the use of sandboxing machineries, which was prototyped on

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

2017-08-02 Thread Guillaume MM
Le 01/08/2017 à 10:50, Scott Kostyshak a écrit : 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

Re: Blank buttons

2017-05-14 Thread Guillaume MM
Le 14/05/2017 à 23:25, Andrew Parsloe a écrit : I was testing compilation of files with apostrophes in the filename. When I had finished I deleted the files on disk forgetting they were still open in LyX. The attached screenshot shows the choices LyX presented me with (a difficult choice).

Re: #10400: keyboard shortcut for document settings?

2017-05-14 Thread Guillaume MM
Le 15/05/2017 à 01:01, Scott Kostyshak a écrit : On Fri, Apr 21, 2017 at 03:53:08PM -0400, Scott Kostyshak wrote: On Fri, Apr 21, 2017 at 10:48:05AM +0200, Jean-Marc Lasgouttes wrote: Le 21/04/2017 à 05:50, Scott Kostyshak a écrit : Should we have a keyboard shortcut for document settings, as

Re: [LyX/master] Add acmart template

2017-05-14 Thread Guillaume MM
Le 14/05/2017 à 11:28, Scott Kostyshak a écrit : On Sun, May 14, 2017 at 10:48:08AM +0200, Kornel Benko wrote: Same as for you (e.g. failing) If previewing I get pdf-luatex-output if requested (show nevertheless). The latex log exists and shows many errors. So it is not only your machine.

Re: [LyX/master] rename buffer parameter math_number_before to math_numbering_side

2017-05-15 Thread Guillaume MM
Le 13/05/2017 à 20:39, Uwe Stöhr a écrit : commit 0dd3311dd42996f9aede7d8c58b27937ebb48b54 Author: Uwe Stöhr Date: Sat May 13 20:39:45 2017 +0200 rename buffer parameter math_number_before to math_numbering_side this is a fileformat change also try to fix an

Re: [LyX/master] Fix compilation failure

2017-05-15 Thread Guillaume MM
Le 15/05/2017 à 10:31, Jean-Marc Lasgouttes a écrit : commit 676ce147da9f5873b4177a0cc3dd706005dd0690 Author: Jean-Marc Lasgouttes Date: Mon May 15 10:29:09 2017 +0200 Fix compilation failure --- src/frontends/qt4/qt_helpers.h |2 ++ 1 files changed, 2

Re: 2.3.0alpha1-1: file save

2017-05-10 Thread Guillaume MM
Le 10/05/2017 à 22:57, Stephan Witt a écrit : Am 09.05.2017 um 21:19 schrieb john kennan : Start a new file type something save type some more save I get "the file ... changed on disk." with two buttons: "Reload" and "Ignore" hitting Ignore leaves the file unsaved

Re: [LyX/master] Pass thru overlay argument content.

2017-05-15 Thread Guillaume MM
Le 15/05/2017 à 17:38, Jürgen Spitzmüller a écrit : Am Samstag, den 13.05.2017, 15:15 +0200 schrieb Guillaume MM: Hi Jürgen, what do you think about changing the font of these arguments to monospace to better reflect the new behaviour? (and for changes at 7f753440 too) A good idea. Jürgen

Re: [LyX/master] Add acmart template

2017-05-15 Thread Guillaume MM
Le 14/05/2017 à 10:31, Scott Kostyshak a écrit : On Sun, May 14, 2017 at 01:23:05AM +0200, Guillaume MM wrote: There are more general issues with listsof. I asked the maintainer about this. Good to know this is a known issue -> inverted the test at ec27acb5. I am curious to know which T

Re: updatelayouts.py broken?

2017-05-13 Thread Guillaume MM
Le 12/05/2017 à 16:55, José Abílio Matos a écrit : On Monday, 24 April 2017 06.46.21 WEST Scott Kostyshak wrote: I use development/tools/updatelayouts.py to easily update the format of our layout files. The script no longer works for me. I wonder if the script needs to be updated after

Re: 2.3.0alpha1-1: file save

2017-05-13 Thread Guillaume MM
Le 11/05/2017 à 07:46, Stephan Witt a écrit : On the first save LyX asks for a file name because it’s a new file. This in fact is a Save-As operation. The save succeeds normal. After that every change+save is accompanied by the message popup. NB: I’m accepting the file name proposal - so it’s

Re: 2.3.0alpha1-1: file save

2017-05-13 Thread Guillaume MM
ou Guillaume >From 17f644c2cc1c21020aa71215762941930689f951 Mon Sep 17 00:00:00 2001 From: Guillaume MM <g...@lyx.org> Date: Sat, 13 May 2017 01:00:30 +0200 Subject: [PATCH] Prevent false positives in external modifications When the Buffer is notified to be externally modified, check that the file contents hav

Re: [LyX/master] Pass thru overlay argument content.

2017-05-13 Thread Guillaume MM
Le 18/02/2017 à 08:48, Juergen Spitzmueller a écrit : commit 5b03606482bfd153dc97442163de19216e7c5ad0 Author: Juergen Spitzmueller Date: Sat Feb 18 08:48:15 2017 +0100 Pass thru overlay argument content. --- lib/layouts/beamer.layout | 38

Re: Regression in child document referencing (alpha1-1)

2017-05-13 Thread Guillaume MM
Le 14/05/2017 à 00:59, Andrew Parsloe a écrit : I've attached a mwe consisting of a master and two child documents. References in Child-1 to Child-2 are labelled BROKEN. References in the other direction are OK. Reversing the order in which Child-1 and Child-2 are inserted in Master shows refs

Re: [LyX/master] Add acmart template

2017-05-13 Thread Guillaume MM
Le 13/05/2017 à 18:11, Scott Kostyshak a écrit : On Sat, May 13, 2017 at 04:19:13PM +0200, Guillaume MM wrote: commit 5608f6fdb67b86b4cf3d9215d24d7734239ad05a Author: Guillaume MM <g...@lyx.org> Date: Sat May 13 16:00:57 2017 +0200 Add acmart template Move obsolete tem

Re: 2.3.0alpha1-1: file save

2017-05-15 Thread Guillaume MM
Le 14/05/2017 à 19:48, Stephan Witt a écrit : Am 13.05.2017 um 08:19 schrieb Guillaume MM <g...@lyx.org>: Le 11/05/2017 à 09:59, Stephan Witt a écrit : The delay is defined in Buffer::Impl::blockFileMonitor (Buffer.cpp:388) currently at 10ms. Can you try to increase this value a

Re: [LyX/master] Add acmart template

2017-05-15 Thread Guillaume MM
Le 14/05/2017 à 14:41, Kornel Benko a écrit : Am Sonntag, 14. Mai 2017 um 12:17:09, schrieb Guillaume MM <g...@lyx.org> Le 14/05/2017 à 11:28, Scott Kostyshak a écrit : On Sun, May 14, 2017 at 10:48:08AM +0200, Kornel Benko wrote: Same as for you (e.g. failing) If previewing I get pdf-

Re: Regression in child document referencing (alpha1-1)

2017-05-16 Thread Guillaume MM
Le 14/05/2017 à 00:59, Andrew Parsloe a écrit : I've attached a mwe consisting of a master and two child documents. References in Child-1 to Child-2 are labelled BROKEN. References in the other direction are OK. Reversing the order in which Child-1 and Child-2 are inserted in Master shows refs

Re: Blank buttons

2017-05-16 Thread Guillaume MM
Le 14/05/2017 à 23:25, Andrew Parsloe a écrit : I was testing compilation of files with apostrophes in the filename. When I had finished I deleted the files on disk forgetting they were still open in LyX. The attached screenshot shows the choices LyX presented me with (a difficult choice).

Re: Can shell-escape take advantage of needauth framework?

2017-06-19 Thread Guillaume MM
Le 19/06/2017 à 15:39, Enrico Forestieri a écrit : On Mon, Jun 19, 2017 at 06:39:22AM +0200, Jürgen Spitzmüller wrote: Am Sonntag, den 18.06.2017, 19:56 +0200 schrieb Enrico Forestieri: I think we need to provide an option to add -shell-escape only to specific documents and only on the given

Re: [LyX/master] Fix bug #9101

2017-06-19 Thread Guillaume MM
Le 08/06/2017 à 04:28, Enrico Forestieri a écrit : Actually it was simpler than expected. Thanks.

Re: [LyX/master] Use otexstringstream for the captions of InsetCaptionables

2017-06-19 Thread Guillaume MM
Le 11/06/2017 à 01:08, Enrico Forestieri a écrit : On Mon, Oct 17, 2016 at 00:16:21AM +0200, Guillaume Munch wrote: commit 676a0639c505d52336e3228c44c2515ccbbaf34a Author: Guillaume Munch Date: Sat Sep 24 00:49:00 2016 +0200 Use otexstringstream for the captions of

Re: [LyX/2.2.x] Fix bugs #9598 and #10650

2017-06-19 Thread Guillaume MM
Le 08/06/2017 à 02:07, Enrico Forestieri a écrit : On Thu, Jun 08, 2017 at 12:50:19AM +0200, Guillaume MM wrote: Le 05/06/2017 à 23:15, Enrico Forestieri a écrit : commit 59c22bd7b604a3ba9e0e78f7c51cb601f08d0192 Author: Enrico Forestieri<for...@lyx.org> Date: Mon Jun 5 23:14:48 2017

Re: Can shell-escape take advantage of needauth framework?

2017-06-20 Thread Guillaume MM
Le 20/06/2017 à 09:54, Jürgen Spitzmüller a écrit : 2017-06-20 2:43 GMT+02:00 Guillaume MM <g...@lyx.org <mailto:g...@lyx.org>>: ... An alternative is provided by the possibility to add pygmentize to the list of "trusted commands", but this is something users

Re: dash patch for stable

2017-06-19 Thread Guillaume MM
Le 03/06/2017 à 01:08, Enrico Forestieri a écrit : On Fri, Jun 02, 2017 at 07:30:34PM +, Guenter Milde wrote: Note that the "ERT patch" is only for *stable*, i.e. 2.2.x. For 2.2, ERT is the only way to ensure full backwards compatibility. A solution should have been thought and done

Re: [LyX/master] Fixup 522516d9 : editable() is unusable in mathed

2017-06-20 Thread Guillaume MM
Hi Jean-Marc, There is the case of InsetMathRef which has nargs()!=0 but whose cell is not active. See e.g. the fix at 7337c968. Is the logic still valid in this case? Just in case. Guillaume Le 20/06/2017 à 09:44, Jean-Marc Lasgouttes a écrit : commit

Re: [LyX/master] Fixup 522516d9 : editable() is unusable in mathed

2017-06-25 Thread Guillaume MM
Le 23/06/2017 à 20:38, Jean-Marc Lasgouttes a écrit : Le 20/06/2017 à 23:31, Guillaume MM a écrit : Hi Jean-Marc, There is the case of InsetMathRef which has nargs()!=0 but whose cell is not active. See e.g. the fix at 7337c968. Is the logic still valid in this case? Just in case. Hi

Re: [LyX/2.2.x] Fix bugs #9598 and #10650

2017-06-25 Thread Guillaume MM
Le 08/06/2017 à 26:72, Enrico Forestieri a écrit : > On Thu, Jun 08, 2017 at 12:50:19AM +0200, Guillaume MM wrote: > >> Le 05/06/2017 à 23:15, Enrico Forestieri a écrit : >>> commit 59c22bd7b604a3ba9e0e78f7c51cb601f08d0192 >>> Author: Enrico Forestieri<for...@lyx

Re: [LyX/2.2.x] Fix bugs #9598 and #10650

2017-06-25 Thread Guillaume MM
so as not to lay a trap for the developers who are going to come after me. "to maintain the code after me" (avoiding any unintentional double meaning due to my uncolloquial English).

Re: Can shell-escape take advantage of needauth framework?

2017-06-25 Thread Guillaume MM
Le 21/06/2017 à 07:15, Guillaume MM a écrit : While I believe that the question of providing the package most popular at a certain point in time vs. a good enough implementation is secondary to security implications, I also inquired at <https://github.com/gpoore/minted/issues/166> w

Re: [coverity again] missing move constructors

2017-05-24 Thread Guillaume MM
Le 24/05/2017 à 04:59, Scott Kostyshak a écrit : On Tue, May 09, 2017 at 04:25:15PM +0200, Jean-Marc Lasgouttes wrote: Le 21/04/2017 à 00:11, Guillaume MM a écrit : Le 08/04/2017 à 23:05, Jean-Marc Lasgouttes a écrit : FileName: This would be automatically copyable and movable

Re: No toolbar menu and no toolbar icon-size in menu

2017-05-24 Thread Guillaume MM
Le 24/05/2017 à 08:30, racoon a écrit : On 24.05.2017 08:21, racoon wrote: On 22.05.2017 18:55, racoon wrote: With LyX 2.2.3 on Win7 I have no toolbar menu (just "No Action Defined!") and no toolbar icon-size in menu. Can someone else verify? On alpha1-1 the toolbar menu works as expected

Re: lyx-2.3.0alpha1-1 crash

2017-05-26 Thread Guillaume MM
Le 26/05/2017 à 23:15, PhilipPirrip a écrit : On 05/26/2017 05:04 PM, PhilipPirrip wrote: I think I caught this one too. I was working on a document with a few float figures exported from inkscape as pdf, LyX 2.3.0alpha1 crashed after updating (saving as pdf) one of the figures. I was

Re: lyx-2.3.0alpha1-1 crash

2017-05-26 Thread Guillaume MM
Le 26/05/2017 à 23:29, Guillaume MM a écrit : Le 26/05/2017 à 23:15, PhilipPirrip a écrit : On 05/26/2017 05:04 PM, PhilipPirrip wrote: I think I caught this one too. I was working on a document with a few float figures exported from inkscape as pdf, LyX 2.3.0alpha1 crashed after updating

Re: lyx-2.3.0alpha1-1 crash

2017-05-27 Thread Guillaume MM
Le 27/05/2017 à 00:56, Guillaume MM a écrit : Thread 1 "lyx" received signal SIGSEGV, Segmentation fault. 0x768612ef in QFileInfo::absoluteFilePath() const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #0 0x768612ef in QFileInfo::absoluteFilePath() const (

Re: lyx-2.3.0alpha1-1 crash

2017-05-28 Thread Guillaume MM
://copr.fedorainfracloud.org/coprs/jamatos/lyx-next/ Will try to reproduce. Here is a patch, reviews are welcome. Guillaume >From a3b7ae3c752327768952115b5990de455bd6cc48 Mon Sep 17 00:00:00 2001 From: Guillaume MM <g...@lyx.org> Date: Sun, 28 May 2017 13:25:53 +0200 Subject: [PATCH] Prope

Re: [LyX/master] Fix bug #10263

2017-05-25 Thread Guillaume MM
Le 25/05/2017 à 17:34, Enrico Forestieri a écrit : No, this is not related to language nesting but is due to the fact that \textbf is not a robust command and the footnote contains multiple paragraphs. Three possible solutions come to mind: 1) Use \cprotect if the footnote contains a \par token

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

2017-06-03 Thread Guillaume MM
Le 03/06/2017 à 17:26, Enrico Forestieri a écrit : commit 55bbd67cde18184082b074f669a6b81cc48257b6 Author: Enrico Forestieri Date: Sat Jun 3 17:26:05 2017 +0200 Fix bugs #10650 and #9598 Hi Enrico, It seems that the above commit changes the output of the attached

Re: Can shell-escape take advantage of needauth framework?

2017-06-07 Thread Guillaume MM
Le 29/05/2017 à 23:53, Scott Kostyshak a écrit : It would be nice to make the process of temporarily using -shell-escape more user-friendly.[...] One solution is to add a set of converters, one for each LaTeX flavor, and then to specify the "needauth" flag for those converters.[...] Any

Re: [LyX/2.2.x] Fix bugs #9598 and #10650

2017-06-07 Thread Guillaume MM
Le 05/06/2017 à 23:15, Enrico Forestieri a écrit : commit 59c22bd7b604a3ba9e0e78f7c51cb601f08d0192 Author: Enrico Forestieri Date: Mon Jun 5 23:14:48 2017 +0200 Fix bugs #9598 and #10650 --- +// gcc < 4.8.0 and msvc < 2015 do not support C++11 thread_local +#if

Re: [LyX/master] Fix bug #9101

2017-06-07 Thread Guillaume MM
Le 07/06/2017 à 01:08, Enrico Forestieri a écrit : commit 8dab1cfe7ee6a3bb6d5e57afb55cb357e1e8ec23 Author: Enrico Forestieri Date: Wed Jun 7 00:55:23 2017 +0200 Fix bug #9101 Update the listings inset to optionally use the minted package (instead of the

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

2017-06-04 Thread Guillaume MM
Le 04/06/2017 à 02:27, Enrico Forestieri a écrit : On Sat, Jun 03, 2017 at 11:27:25PM +0200, Guillaume MM wrote: I am wondering since this results in a different vertical spacing. No, this will not change the vertical spacing. It actually does, as shown with diffpdf.

Re: lyx-2.3.0alpha1-1 crash

2017-06-11 Thread Guillaume MM
Le 10/06/2017 à 00:34, Scott Kostyshak a écrit : On Thu, Jun 01, 2017 at 01:43:11PM -0400, PhilipPirrip wrote: On 05/28/2017 08:20 AM, Guillaume MM wrote: Here is a patch, reviews are welcome. Can't say much about the patch, but want to confirm that LyX is not crashing any more. Also

Re: [LyX/master] Add accelerator

2017-06-11 Thread Guillaume MM
Le 11/06/2017 à 16:23, Jürgen Spitzmüller a écrit : And LyX should add the -shell-escape flag for minted documents (but warn the user before issuing it). Hi Jürgen, this is being discussed in this thread: https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg200515.html

Re: Fix for vertical table border for added column

2017-05-07 Thread Guillaume MM
Le 15/02/2017 à 04:24, Scott Kostyshak a écrit : On Tue, Oct 18, 2016 at 11:03:21PM +0200, racoon wrote: On 18.10.2016 21:35, racoon wrote: I think the attached fix leads to more intuitive results for added table borders. This solves one strange case: 1. create a new table (with the default

Re: [LyX/master] Add support to cross out characters

2017-05-07 Thread Guillaume MM
Le 05/04/2017 à 00:01, Uwe Stöhr a écrit : commit e575e7eebd32d687f3e23be0eeca185adb3b341b Author: Uwe Stöhr Date: Wed Apr 5 00:01:19 2017 +0200 Add support to cross out characters - adds support for the command \xout of the LateX package ulem - fileformat

Re: [coverity again] missing move constructors

2017-05-07 Thread Guillaume MM
Le 21/04/2017 à 00:11, Guillaume MM a écrit : I am thinking about something along the lines of the attached patches. But to be clear, one should not expect any performance gain. Only some review, clarification, and simplification of the code. Speaking of review, I found that setMouseHover

Re: #10455: Preferences shows current zoom instead of preference's default zoom

2017-05-07 Thread Guillaume MM
Le 29/10/2016 à 22:31, racoon a écrit : On 29.10.2016 22:17, racoon wrote: On 29.10.2016 10:33, racoon wrote: I am working on a patch for http://www.lyx.org/trac/ticket/10455 Seemed to me like a good suggestion. Attached is a not yet working patch. Unfortunately, I have no idea in which

Re: Default to Qt 4 or Qt 5 with our build systems?

2017-05-01 Thread Guillaume MM
Le 01/05/2017 à 18:43, Jean-Marc Lasgouttes a écrit : We can define a lower bound for acceptable qt5 version like we do for python 3 vs 2. I would not want a crappy qt 5.1 on a system with a perfectly valid qt4.8. Note that the end of life warning is not relevant on old systems (in Linux

Re: #9841: use Qt's session management?

2017-05-01 Thread Guillaume MM
Le 21/04/2017 à 05:51, Scott Kostyshak a écrit : Please see http://www.lyx.org/trac/ticket/9841 Guillaume proposed to use Qt's session management, which would simplify things. Does anyone have an opinion? I'm not sure if Guillaume would have the time and interest to implement this for

Re: copy inside math and paste in text mode gives LaTeX

2017-05-01 Thread Guillaume MM
Le 27/02/2017 à 18:41, Scott Kostyshak a écrit : I'm often asked by LyX users why LyX behaves in the following way: 1. Start math and type X to the power \alpha. 2. Inside the math inset, copy the contents. 3. Outside the math inset, paste. The text "X^{\alpha}" is pasted. The user seems to

Re: Release of LyX version 2.3.0alpha1-1

2017-05-05 Thread Guillaume MM
Le 05/05/2017 à 17:46, Jean-Marc Lasgouttes a écrit : Hi Scott, One thing to note for next release: you should make it clear that this is just a preview of LyX 2.3.0 and that nobody should use it for serious work (although I trust it is not too bad). Another reason is that the file format

Re: [patch] support for document class option leqno

2017-05-05 Thread Guillaume MM
Le 05/05/2017 à 19:52, Jean-Marc Lasgouttes a écrit : Le 05/05/2017 à 18:38, Jean-Marc Lasgouttes a écrit : So please fell free to ad support reqno if others agree. No, I am not going to "feel free" to implement it. I already "fell free" "felt" ;) to rewrite partly the fleqn patch and to

Support for acmart.cls

2017-05-06 Thread Guillaume MM
the maintainer because of the license. Guillaume >From a0e92e58f8625c282cc4646cadbe53d6717ad663 Mon Sep 17 00:00:00 2001 From: Guillaume MM <g...@lyx.org> Date: Fri, 5 May 2017 23:49:52 +0200 Subject: [PATCH 1/6] InTitle: ignore InPreamble styles for outputting \maketitle. --- src/output_late

Re: Default to Qt 4 or Qt 5 with our build systems?

2017-05-04 Thread Guillaume MM
Le 04/05/2017 à 19:43, Pavel Sanda a écrit : Guillaume MM wrote: Le 01/05/2017 ?? 18:43, Jean-Marc Lasgouttes a écrit : We can define a lower bound for acceptable qt5 version like we do for python 3 vs 2. I would not want a crappy qt 5.1 on a system with a perfectly valid qt4.8. Note

  1   2   >