questions regarding the minted listings support

2017-07-25 Thread Uwe Stöhr
Hi Enrico, you added as "ef" added info to the EmbeddedObjects manual regarding the minted listings package. (Why "ef" and not a readable name? Please use real names because that makes life easier.) I tried minted out but failed. I have the following problems: 1. You write in the note

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

2017-07-25 Thread Christian Ridderström
On 25 July 2017 at 01:30, Tommaso Cucinotta wrote: > On 18/07/2017 21:50, Christian Ridderström wrote: > >> I do not know how many KGB/CIA agents will be willing attend the 'hack >> LyX' classes. How much is it worth on a spy resume ? >> > > haha! something like that must have

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

2017-07-25 Thread Christian Ridderström
On 24 July 2017 at 23:20, Tommaso Cucinotta wrote: > On 23/07/2017 20:55, Christian Ridderström wrote: > >> Regarding setting something in the preference file manually: The only >> thing I mind is that it adds a global state to LyX, as opposed to >> starting LyX with some

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

2017-07-25 Thread Christian Ridderström
On 24 July 2017 at 23:27, Tommaso Cucinotta wrote: > > > I support the idea as well, and I'm interested in contributing to it. > I could help as well, at least with the outside view. > As a starting point for the needauth stuff, I had put a recap of the > problem and

Re: cmake and make install

2017-07-25 Thread Cor Blom
Op 25-07-17 om 20:49 schreef Scott Kostyshak: On Fri, Jun 02, 2017 at 09:55:33AM +0200, Cor Blom wrote: Op 01-06-17 om 12:34 schreef Kornel Benko: (the "%cmake" macro inheritis all kind of openSUSE settings). Which ones? Expanded it becomes this: find . -name CMakeLists.txt -exec sed -i

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

2017-07-25 Thread Enrico Forestieri
On Tue, Jul 25, 2017 at 11:11:36AM +0200, Pavel Sanda wrote: > Scott Kostyshak wrote: > > It did feel strange that the "OK" and "Apply" buttons were not enabled > > when checking the "Allow running external programs" checkbox, but I got > > used to it quickly. > > Likely not feature but just

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

2017-07-25 Thread Enrico Forestieri
On Mon, Jul 24, 2017 at 11:05:42PM -0400, Scott Kostyshak wrote: > > I think the following is unexpected: > > Change a different document setting, e.g., "Synchronize with output". > The buttons "OK" and "Apply" are enabled. Then click on "Allow running > external programs". Notice that the "OK"

Re: cmake and make install

2017-07-25 Thread Scott Kostyshak
On Fri, Jun 02, 2017 at 09:55:33AM +0200, Cor Blom wrote: > Op 01-06-17 om 12:34 schreef Kornel Benko: > > > > > (the "%cmake" macro inheritis all kind of openSUSE settings). > > > > Which ones? > > > Expanded it becomes this: > > > > > > find . -name CMakeLists.txt -exec sed -i -re > > >

alpha beta lyx-formats and devel versions of the docs

2017-07-25 Thread mn
The latest publicly available binaries are for alpha1-1. The latest changes to the docs are format 544, and none of the versions I have installed can read or convert them. Now, say I have spotted errors or improvements in or for them, like latest UserGuide.de.lyx: 26812selbst) Formate für

Re: [LyX/master] We have new translation which slipped through the cracks.

2017-07-25 Thread Scott Kostyshak
On Tue, Jul 25, 2017 at 10:35:52AM +0200, Pavel Sanda wrote: > Scott Kostyshak wrote: > > > > We have new translation which slipped through the cracks. > > > > > > Scott, I am sorry I did not catch that before. > > > > I imagine this was my responsibility, actually. What command did you run

UserGuide.lyx suddenly not compilable for non-tex-fonts

2017-07-25 Thread Kornel Benko
Problems are missing glyphs U+3008 ... U+300F used for special quotes. Using tex-fonts they are emulated with math symbols. (Seen in German and English version) Kornel signature.asc Description: This is a digitally signed message part.

Re: Just a check: Ok with Qt-code in e.g. src/support/?

2017-07-25 Thread Richard Heck
On 07/25/2017 01:07 AM, Christian Ridderström wrote: > Hi, > > This is just a check. A long time ago LyX had two frontends, i.e. not > only Qt. Back then I assume the Qt-code was supposed to stay under > src/frontends/qt4/. > > I just noticed some Qt code in e.g. src/support/FileMonitor.h, so I >

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

2017-07-25 Thread Tommaso Cucinotta
On 25/07/2017 11:10, Pavel Sanda wrote: 1. No "needauth" preferences (do not allow needauth from being disabled). instead of this, why don't we put some more stress on the action of disabling the "Use needauth option", e.g., the attached patch ? Some nice text would have to be properly

Question for Guillaume about b30f8d3c and GuiFontMetrics::countExpanders

2017-07-25 Thread Jean-Marc Lasgouttes
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 GuiPainter too, right? OTOH, countExpanders is basically

Re: [LyX features/properpaint] Fix caret painting

2017-07-25 Thread Jean-Marc Lasgouttes
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 affects just going through the text

Re: [LyX features/properpaint] Cleanup and simplify WorkArea code

2017-07-25 Thread Jean-Marc Lasgouttes
Le 25/07/2017 à 11:33, Pavel Sanda a écrit : Not sure how much strict you wanted to be about cursor/caret but there were bunch of "cursors" left in the patch... P Indeed :) I'll double check that. JMarc

Re: [LyX features/properpaint] Fix caret painting

2017-07-25 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > Le 21/07/2017 ?? 23:31, Jean-Marc Lasgouttes a écrit : >> The branch, properpaint, has been updated. >> - Log - >> commit de11aeb73b97ea6fd3c76d71aa027d5d7dc90f7d >> Author: Jean-Marc Lasgouttes

Re: [LyX features/properpaint] Cleanup and simplify WorkArea code

2017-07-25 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > @@ -486,9 +469,9 @@ void GuiWorkArea::redraw(bool update_metrics) > > // update cursor position, because otherwise it has to wait until > // the blinking interval is over > - if (d->cursor_visible_) { > - d->hideCursor(); > -

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

2017-07-25 Thread Pavel Sanda
Scott Kostyshak wrote: > It did feel strange that the "OK" and "Apply" buttons were not enabled > when checking the "Allow running external programs" checkbox, but I got > used to it quickly. Likely not feature but just forgotten connect with signal of box being checked. P

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

2017-07-25 Thread Pavel Sanda
Guillaume MM wrote: > Not sure if what is being discussed is for 2.3 or for an ideal > implementation, but ideally what about: > > 1. No "needauth" preferences (do not allow needauth from being disabled). > 2. The dialog has a checkbox "I have read the above and I understand the > consequences",

Re: short report from LyX under Linux

2017-07-25 Thread Pavel Sanda
Paul A. Rubin wrote: > On 07/24/2017 05:39 PM, Uwe Stöhr wrote: > but Adobe Reader 9.5.5 is available for Ubuntu, Linux Mint, and maybe some > other Debian-based distributions. I assume it's not the latest version of > Reader, but it's fine for my purposes (which, admittedly, do not include >

Re: short report from LyX under Linux

2017-07-25 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > Le 24/07/2017 ?? 14:18, mn a écrit : >> ??? Simplify UserGuide in regard to dependencies > > Indeed. Personally, I never use enumitem :) There is probably a good reason > why it is not in the main texlive distribution. Ironically it was Uwe who disagreed to make

Re: [LyX/master] Fixup the fixup d0acc3e57044: use editable()/isActive()

2017-07-25 Thread Jean-Marc Lasgouttes
Le 20/07/2017 à 15:13, Jürgen Spitzmüller a écrit : Am Donnerstag, den 20.07.2017, 14:57 +0200 schrieb Jean-Marc Lasgouttes: Technically, insets with a dialog are also "editable". No, now we say that they "have settings". The notion of editable is really related to entering in the inset with

Re: [LyX/master] We have new translation which slipped through the cracks.

2017-07-25 Thread Pavel Sanda
Scott Kostyshak wrote: > > > We have new translation which slipped through the cracks. > > > > Scott, I am sorry I did not catch that before. > > I imagine this was my responsibility, actually. What command did you run > to make the above commit? Was it the following? > > make

Re: [LyX/master] Overtake layout translations from fi.po, ja.po, zh_CN.po

2017-07-25 Thread Pavel Sanda
Jari-Matti Mäkelä wrote: > Wed, 19 Jul 2017 13:41:17 +0200 > Pavel Sanda wrote: > > > Pavel Sanda wrote: > > > Hi, > > > thanks, for the clarifications! > > > > > > I see you removed the "luettelo" parts which is supposedly "List" > > > in your language. Are you sure about that