Re: [PATCH] make string breaking faster

2016-07-07 Thread Jean-Marc Lasgouttes
I will. JMarc Le 8 juillet 2016 00:42:47 GMT+02:00, Pavel Sanda a écrit : >Jean-Marc Lasgouttes wrote: >> the User Guide, because the right arrow really requires too much time >for >> some reason. [Rereading your message I notice only now that you meant >first >> page only. Oh well.] > >Can y

Re: toolbars Lock menu

2016-07-07 Thread racoon
On 07.07.2016 14:41, racoon wrote: Can someone give me a hint where LyX stores the individual toolbars' properties, i.e. position and visibility. Okay, got it (via QSettings). I was just a bit confused because the visibility is also (somewhat) stored in the preferences file. Daniel

Re: [PATCH] make string breaking faster

2016-07-07 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > the User Guide, because the right arrow really requires too much time for > some reason. [Rereading your message I notice only now that you meant first > page only. Oh well.] Can you try once more, now with only left-right cursor? The secret patch does not seem to h

Re: [PATCH] make string breaking faster

2016-07-07 Thread Jean-Marc Lasgouttes
Le 07/07/2016 23:58, Jean-Marc Lasgouttes a écrit : Le 07/07/2016 19:06, Pavel Sanda a écrit : Can you try if you can see difference between 2.1 and master for this scenario: 1. set high speed rate for your keyboard: xset r rate 300 180 2. load user guide, fullscreen 3. Hold right arrow until yo

Re: [PATCH] make string breaking faster

2016-07-07 Thread Richard Heck
On 07/07/2016 04:24 PM, Pavel Sanda wrote: Richard Heck wrote: Can you try if you can see difference between 2.1 and master for this scenario: 1. set high speed rate for your keyboard: xset r rate 300 180 2. load user guide, fullscreen 3. Hold right arrow until you reach the end of the first pag

Re: [PATCH] make string breaking faster

2016-07-07 Thread Jean-Marc Lasgouttes
Le 07/07/2016 19:06, Pavel Sanda a écrit : Can you try if you can see difference between 2.1 and master for this scenario: 1. set high speed rate for your keyboard: xset r rate 300 180 2. load user guide, fullscreen 3. Hold right arrow until you reach the end of the first page and count the time

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-07 Thread Enrico Forestieri
On Thu, Jul 07, 2016 at 10:44:31PM +0200, Jean-Marc Lasgouttes wrote: > Le 07/07/2016 21:18, Enrico Forestieri a écrit : > > What about the attached one, instead? If --with-qt-dir is specified, the > > presence of qtchooser is not checked and everything goes as before. > > If this works for you,

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-07 Thread Jean-Marc Lasgouttes
Le 07/07/2016 21:18, Enrico Forestieri a écrit : What about the attached one, instead? If --with-qt-dir is specified, the presence of qtchooser is not checked and everything goes as before. If this works for you, it is fine for me. JMarc

Re: [PATCH] make string breaking faster

2016-07-07 Thread Pavel Sanda
Richard Heck wrote: Can you try if you can see difference between 2.1 and master for this scenario: 1. set high speed rate for your keyboard: xset r rate 300 180 2. load user guide, fullscreen 3. Hold right arrow until you reach the end of the first page and count the

Re: [PATCH] make string breaking faster

2016-07-07 Thread Richard Heck
On 07/07/2016 01:06 PM, Pavel Sanda wrote: Jean-Marc Lasgouttes wrote: Le 07/07/2016 ? 18:54, Pavel Sanda a écrit : Jean-Marc Lasgouttes wrote: That's OK. But did you remove the PROFILE_xxx macros? They probably have an effect on performance. No visible effect for me. Can you try if you can

Re: Exporting compressed files

2016-07-07 Thread Richard Heck
Patch seems reasonable to me. Please commit to 2.2.x after 2.2.1 is released. Richard On 07/07/2016 05:18 AM, José Abílio Matos wrote: On Thursday, July 7, 2016 10:09:44 AM WEST Andrew Parsloe wrote: Yes, changing > to -o results in an exported compressed file that 2.1.5 can read. Thanks fo

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-07 Thread Enrico Forestieri
On Thu, Jul 07, 2016 at 03:20:21PM +0200, Enrico Forestieri wrote: > On Thu, Jul 07, 2016 at 12:34:44PM +0200, Jean-Marc Lasgouttes wrote: > > Le 07/07/2016 à 09:39, Jean-Marc Lasgouttes a écrit : > > >M'y fault indeed. I'll fix it ASAP. > > > > What about this? > > Thanks, this solves the probl

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-07 Thread Enrico Forestieri
On Thu, Jul 07, 2016 at 04:16:26PM +0200, Kornel Benko wrote: > Am Donnerstag, 7. Juli 2016 um 15:45:52, schrieb Enrico Forestieri > > > On Thu, Jul 07, 2016 at 02:15:33PM +0200, Jean-Marc Lasgouttes wrote: > > > Le 06/07/2016 à 21:52, Enrico Forestieri a écrit : > > > >>Enrico, could you provid

Re: [PATCH] make string breaking faster

2016-07-07 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > Le 07/07/2016 ? 18:54, Pavel Sanda a écrit : >> Jean-Marc Lasgouttes wrote: >>> That's OK. But did you remove the PROFILE_xxx macros? They probably have >>> an >>> effect on performance. >> >> No visible effect for me. >> >> Can you try if you can see difference betwe

Re: [PATCH] make string breaking faster

2016-07-07 Thread Jean-Marc Lasgouttes
Le 07/07/2016 à 18:54, Pavel Sanda a écrit : Jean-Marc Lasgouttes wrote: That's OK. But did you remove the PROFILE_xxx macros? They probably have an effect on performance. No visible effect for me. Can you try if you can see difference between 2.1 and master for this scenario: 1. set high spe

Re: [PATCH] make string breaking faster

2016-07-07 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > That's OK. But did you remove the PROFILE_xxx macros? They probably have an > effect on performance. No visible effect for me. Can you try if you can see difference between 2.1 and master for this scenario: 1. set high speed rate for your keyboard: xset r rate 300 1

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-07 Thread Kornel Benko
Am Donnerstag, 7. Juli 2016 um 15:45:52, schrieb Enrico Forestieri > On Thu, Jul 07, 2016 at 02:15:33PM +0200, Jean-Marc Lasgouttes wrote: > > Le 06/07/2016 à 21:52, Enrico Forestieri a écrit : > > >>Enrico, could you provide a short snippet of code that will not compile > > >>under cygwin with -

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-07 Thread Enrico Forestieri
On Thu, Jul 07, 2016 at 02:15:33PM +0200, Jean-Marc Lasgouttes wrote: > Le 06/07/2016 à 21:52, Enrico Forestieri a écrit : > >>Enrico, could you provide a short snippet of code that will not compile > >>under cygwin with -std=c++11 ? I understand that it will be about functions > >>like popen and f

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-07 Thread Enrico Forestieri
On Thu, Jul 07, 2016 at 12:34:44PM +0200, Jean-Marc Lasgouttes wrote: > Le 07/07/2016 à 09:39, Jean-Marc Lasgouttes a écrit : > >M'y fault indeed. I'll fix it ASAP. > > What about this? Thanks, this solves the problem on solaris but still doesn't take into account the fact that one could be using

toolbars Lock menu

2016-07-07 Thread racoon
Hi, I'd like to create a lock menu entry in the toolbars menu that makes all toolbars immovable (although I have to do it without testing since I can't compile LyX). As far as I can tell there is no such thing in LyX yet. Can someone give me a hint where LyX stores the individual toolbars' p

Re: [PATCH] make string breaking faster

2016-07-07 Thread Jean-Marc Lasgouttes
Le 07/07/2016 à 07:01, Pavel Sanda a écrit : Jean-Marc Lasgouttes wrote: Le 05/07/2016 ? 18:34, Pavel Sanda a écrit : Jean-Marc Lasgouttes wrote: Comments welcome. My plan is to use that for both Qt4 and Qt5 (for simplicity). Seeing the different behavior of Qt 4.8.1 and 4.8.7 (albeit differen

Re: [PATCH] make string breaking faster

2016-07-07 Thread Jean-Marc Lasgouttes
Le 07/07/2016 à 07:11, Pavel Sanda a écrit : Concerning this slowness, could you test the effect of the attached patch on your cursor test? I am looking for two kind of effects: performance and bugs. No help wrt performance. Pavel OK, I'll revert it. JMarc

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-07 Thread Jean-Marc Lasgouttes
Le 06/07/2016 à 21:52, Enrico Forestieri a écrit : Enrico, could you provide a short snippet of code that will not compile under cygwin with -std=c++11 ? I understand that it will be about functions like popen and friends, but I'd rather let you propose something. Yes, it complains also about s

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-07 Thread Jean-Marc Lasgouttes
Le 07/07/2016 à 09:39, Jean-Marc Lasgouttes a écrit : M'y fault indeed. I'll fix it ASAP. What about this? JMarc JMarc Le 6 juillet 2016 21:52:42 GMT+02:00, Enrico Forestieri a écrit : Rather, there is now another problem with Qt5. Until now it was not mandatory having the Qt5 binaries

Re: Aw: Re: #10199: Non-encodable characters with XeTeX

2016-07-07 Thread Guillaume Munch
Le 07/07/2016 08:53, G. Milde a écrit : - Ursprüngliche Mitteilung - #10199: Non-encodable characters with XeTeX -- Reporter: andnot | Owner: lasgouttes Type: defect | Status: fixedinmaster Priority: n

Re: Exporting compressed files

2016-07-07 Thread José Abílio Matos
On Thursday, July 7, 2016 10:09:44 AM WEST Andrew Parsloe wrote: > > Yes, changing > to -o results in an exported compressed file that 2.1.5 > can read. Thanks for the help. > > Andrew Thank you Andrew. I still blame windows for this but in any case to use the option -o is the right thing to do

Aw: Re: #10199: Non-encodable characters with XeTeX

2016-07-07 Thread G. Milde
- Ursprüngliche Mitteilung - > #10199: Non-encodable characters with XeTeX > -- >  Reporter:  andnot      |      Owner:  lasgouttes >      Type:  defect      |      Status:  fixedinmaster >  Priority:  normal      |  Milestone:  2.2.1 > Compo

Re: Why does LyX not accept empty list items?

2016-07-07 Thread racoon
On 05.07.2016 16:35, Jean-Marc Lasgouttes wrote: Le 04/07/2016 à 20:42, racoon a écrit : On 04.07.2016 16:16, Jean-Marc Lasgouttes wrote: Le 04/07/2016 à 15:38, racoon a écrit : Thanks. Still I am wondering a bit why anything special at all is necessary. Well, I am glad I do not have danglin

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-07 Thread Kornel Benko
Am Donnerstag, 7. Juli 2016 um 09:31:30, schrieb Enrico Forestieri > On Wed, Jul 06, 2016 at 11:25:02PM +0200, Kornel Benko wrote: > > Am Mittwoch, 6. Juli 2016 um 21:52:42, schrieb Enrico Forestieri > > > > > Rather, there is now another problem with Qt5. Until now it was not > > > mandatory h

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-07 Thread Jean-Marc Lasgouttes
M'y fault indeed. I'll fix it ASAP. JMarc Le 6 juillet 2016 21:52:42 GMT+02:00, Enrico Forestieri a écrit : >Rather, there is now another problem with Qt5. Until now it was not >mandatory having the Qt5 binaries in the PATH. Indeed, specifying >--with-qt-dir sufficed for finding them.

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-07 Thread Enrico Forestieri
On Wed, Jul 06, 2016 at 11:25:02PM +0200, Kornel Benko wrote: > Am Mittwoch, 6. Juli 2016 um 21:52:42, schrieb Enrico Forestieri > > > Rather, there is now another problem with Qt5. Until now it was not > > mandatory having the Qt5 binaries in the PATH. Indeed, specifying > > --with-qt-dir suffic