Re: Beta1 is slow on undo

2017-10-15 Thread Jürgen Spitzmüller
Am Sonntag, den 15.10.2017, 18:41 -0400 schrieb Richard Heck: > No, it comes whenever a document contains a BibTeX inset. A better > patch > would make it happen > only when a BibTeX inset was involved. Then the delay is no surprise: > Of > course we have to reread > the files. The attached patch

Re: Fix How Buffers are Set After Undo/Redo

2017-10-15 Thread Richard Heck
On 10/15/2017 11:01 PM, Richard Heck wrote: > On 10/15/2017 10:46 PM, Richard Heck wrote: >> In the existing codebase, there is a problem about how Insets get their >> Buffers set after undo/redo. What we do at the moment is go through the >> *entire Buffer* and set the Buffer for every single inse

Re: Fix How Buffers are Set After Undo/Redo

2017-10-15 Thread Richard Heck
On 10/15/2017 10:46 PM, Richard Heck wrote: > In the existing codebase, there is a problem about how Insets get their > Buffers set after undo/redo. What we do at the moment is go through the > *entire Buffer* and set the Buffer for every single inset. This seems > like overkill. The attached patch

Fix How Buffers are Set After Undo/Redo

2017-10-15 Thread Richard Heck
In the existing codebase, there is a problem about how Insets get their Buffers set after undo/redo. What we do at the moment is go through the *entire Buffer* and set the Buffer for every single inset. This seems like overkill. The attached patch fixes this by just setting the Buffers for the newl

Re: Beta1 is slow on undo

2017-10-15 Thread Richard Heck
On 10/15/2017 06:52 PM, Scott Kostyshak wrote: > On Sun, Oct 15, 2017 at 10:41:52PM +, Richard Heck wrote: >> On 10/15/2017 03:02 PM, Scott Kostyshak wrote: >>> On Sun, Oct 15, 2017 at 05:27:26PM +, Richard Heck wrote: >>> I propose to revert that commit in all branches pending a bette

Re: compilation of LyX 2.3 fails with Python 3.6.2

2017-10-15 Thread Uwe Stöhr
El 15.10.2017 a las 23:07, Kornel Benko escribió: As I think I proposed in the attached part in other mail. Essentially, there is the change of open(file) to codecs.open(file, 'r', 'UTF-8') Thanks Kornel, unfortunately this does not work. Changing in ReplaceValues.py for lin

Re: Beta1 is slow on undo

2017-10-15 Thread Scott Kostyshak
On Sun, Oct 15, 2017 at 10:41:52PM +, Richard Heck wrote: > On 10/15/2017 03:02 PM, Scott Kostyshak wrote: > > On Sun, Oct 15, 2017 at 05:27:26PM +, Richard Heck wrote: > > > >> I propose to revert that commit in all branches pending a better > >> solution. I don't think that will be > >> t

Re: Beta1 is slow on undo

2017-10-15 Thread Richard Heck
On 10/15/2017 03:02 PM, Scott Kostyshak wrote: > On Sun, Oct 15, 2017 at 05:27:26PM +, Richard Heck wrote: > >> I propose to revert that commit in all branches pending a better >> solution. I don't think that will be >> too difficult to find. It's just a matter of doing the work. > Reverting in

Re: compilation of LyX 2.3 fails with Python 3.6.2

2017-10-15 Thread Kornel Benko
Am Sonntag, 15. Oktober 2017 um 19:38:45, schrieb Uwe Stöhr > El 14.10.2017 a las 21:09, Kornel Benko escribió: > > > What is the exact directory name of Additional.lyx on your platform? > > D:\LyXGit\2.3.x\lib\doc > (like all other doc files) > > > Check also \origin part of Additional.lyx. >

Re: Colour schemes

2017-10-15 Thread Andrew Parsloe
On 16/10/2017 5:22 a.m., Richard Heck wrote: On 10/14/2017 05:15 PM, Andrew Parsloe wrote: Recent eye trouble made it difficult to read black text on a white-ish screen and I found myself exploring colour schemes with dark backgrounds. There are some examples on the LyX wiki at /Tips/ColorScheme

Re: Beta1 is slow on undo

2017-10-15 Thread Scott Kostyshak
On Sun, Oct 15, 2017 at 05:27:26PM +, Richard Heck wrote: > I propose to revert that commit in all branches pending a better > solution. I don't think that will be > too difficult to find. It's just a matter of doing the work. Reverting in 2.2.x makes sense to me to be extra safe. As for 2.3.

Re: compilation of LyX 2.3 fails with Python 3.6.2

2017-10-15 Thread Uwe Stöhr
El 14.10.2017 a las 21:09, Kornel Benko escribió: What is the exact directory name of Additional.lyx on your platform? D:\LyXGit\2.3.x\lib\doc (like all other doc files) Check also \origin part of Additional.lyx. it is correctly this: \origin /systemlyxdir/doc/ Can it be that python loo

Re: Beta1 is slow on undo

2017-10-15 Thread Richard Heck
On 10/15/2017 12:58 PM, Scott Kostyshak wrote: > On Sun, Oct 08, 2017 at 02:19:19PM +, racoon wrote: >> On 08.10.2017 00:19, Scott Kostyshak wrote: >>> On Sat, Oct 07, 2017 at 05:57:48PM +, Richard Heck wrote: On 10/07/2017 12:09 PM, racoon wrote: > Hi, > > I noticed that b

Re: [LyX/2.2.x] Fix bug #8782.

2017-10-15 Thread Richard Heck
On 10/15/2017 12:52 PM, Scott Kostyshak wrote: > On Sun, Oct 15, 2017 at 04:17:21PM +, Richard Heck wrote: >> commit de2a58d986739bccb83615e8515d715ebf1b5821 >> Author: Richard Heck >> Date: Thu Jun 30 14:53:19 2016 -0400 >> >> Fix bug #8782. >> >> We need to invalidate the BibT

Re: Beta1 is slow on undo

2017-10-15 Thread Scott Kostyshak
On Sun, Oct 08, 2017 at 02:19:19PM +, racoon wrote: > On 08.10.2017 00:19, Scott Kostyshak wrote: > > On Sat, Oct 07, 2017 at 05:57:48PM +, Richard Heck wrote: > > > On 10/07/2017 12:09 PM, racoon wrote: > > > > Hi, > > > > > > > > I noticed that beta1 shows some slowness when undoing with

Re: Beta1 is slow on undo

2017-10-15 Thread Scott Kostyshak
On Wed, Oct 11, 2017 at 03:35:34PM +, Richard Heck wrote: > On 10/08/2017 10:19 AM, racoon wrote: > > On 08.10.2017 00:19, Scott Kostyshak wrote: > >> On Sat, Oct 07, 2017 at 05:57:48PM +, Richard Heck wrote: > >>> On 10/07/2017 12:09 PM, racoon wrote: > Hi, > > I noticed tha

Re: [LyX/2.2.x] Fix bug #8782.

2017-10-15 Thread Scott Kostyshak
On Sun, Oct 15, 2017 at 04:17:21PM +, Richard Heck wrote: > commit de2a58d986739bccb83615e8515d715ebf1b5821 > Author: Richard Heck > Date: Thu Jun 30 14:53:19 2016 -0400 > > Fix bug #8782. > > We need to invalidate the BibTeX cache when undoing or redoing. I do > not like h

Re: Colour schemes

2017-10-15 Thread Richard Heck
On 10/14/2017 05:15 PM, Andrew Parsloe wrote: > Recent eye trouble made it difficult to read black text on a white-ish > screen and I found myself exploring colour schemes with dark > backgrounds. There are some examples on the LyX wiki at > /Tips/ColorSchemes. White text against a blue background

Re: Update on the 2.3.0rc1 situation

2017-10-15 Thread Enrico Forestieri
On Sun, Oct 15, 2017 at 11:35:21AM +0200, Jürgen Spitzmüller wrote: > Am Sonntag, den 15.10.2017, 10:52 +0200 schrieb Enrico Forestieri: > > I have done some more experiments and I think I found a more > > reasonable > > explanation of what I still think might be a compiler bug. Seemingly, > > whe

Re: Update on the 2.3.0rc1 situation

2017-10-15 Thread Jürgen Spitzmüller
Am Sonntag, den 15.10.2017, 10:52 +0200 schrieb Enrico Forestieri: > I have done some more experiments and I think I found a more > reasonable > explanation of what I still think might be a compiler bug. Seemingly, > when > the first parameter passed to regex_match() is afterward changed, the > sec

Re: Update on the 2.3.0rc1 situation

2017-10-15 Thread Enrico Forestieri
On Sat, Oct 14, 2017 at 09:43:50PM +0200, Pavel Sanda wrote: > Enrico Forestieri wrote: > > This is with gcc 6.4.0. Maybe other versions don't have the issue. > > If you disable compiler optimization is the bug still there? P Yes, it does not seem to depend on the optimization level. -- Enrico

Re: Update on the 2.3.0rc1 situation

2017-10-15 Thread Enrico Forestieri
On Sat, Oct 14, 2017 at 03:39:47PM -0400, Richard Heck wrote: > On 10/14/2017 01:51 PM, Enrico Forestieri wrote: > > On Sat, Oct 14, 2017 at 07:30:29PM +0200, Jürgen Spitzmüller wrote: > >> Am Samstag, den 14.10.2017, 19:15 +0200 schrieb Enrico Forestieri: > >>> On Sat, Oct 14, 2017 at 06:51:31PM

Re: LyX-Workarea: Background not shown correctly

2017-10-15 Thread Patrick De Visschere
I’ve done some more debugging and I believe I’ve found the Qt code that turns the background black or white. Om macos (and probably also on windows) Qt uses a QBackingStore for painting. I couldn’t find a QPlatformBackingStore for linux so I assume the implementation is different on linux, which