Re: Shall we drop resources ?

2020-05-18 Thread Jürgen Spitzmüller
Am Montag, den 18.05.2020, 21:59 +0200 schrieb Pavel Sanda: > You were right, most of the time is taken by layout2layout.py. We could update the layouts in master. Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list lyx-devel@lists.lyx.org http:/

Re: Shall we drop resources ?

2020-05-18 Thread Pavel Sanda
On Mon, May 18, 2020 at 05:31:08PM +0200, Jean-Marc Lasgouttes wrote: > So we can gain a noticeable time using resources. Do you use svg or png > icons? How will I find out? Is the resource file compatible across Qt 4/5? Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.or

Re: Shall we drop resources ?

2020-05-18 Thread Pavel Sanda
On Mon, May 18, 2020 at 05:46:02PM +0200, Enrico Forestieri wrote: > Launch lyx with the --verbose switch and see how many times python is > called for updating layouts. It really slows things down. You were right, most of the time is taken by layout2layout.py. Pavel -- lyx-devel mailing list lyx

Re: Python error

2020-05-18 Thread Richard Kimberly Heck
On 5/18/20 1:39 PM, Enrico Forestieri wrote: > On Sat, Mar 14, 2020 at 05:27:19PM +0100, Enrico Forestieri wrote: > >> On Sat, Mar 14, 2020 at 04:36:41PM +0100, Jürgen Spitzmüller wrote: >>> Am Samstag, den 14.03.2020, 16:22 +0100 schrieb Enrico Forestieri: Please, try the attached patch. >>>

Re: Python error

2020-05-18 Thread Enrico Forestieri
On Sat, Mar 14, 2020 at 05:27:19PM +0100, Enrico Forestieri wrote: > On Sat, Mar 14, 2020 at 04:36:41PM +0100, Jürgen Spitzmüller wrote: > > Am Samstag, den 14.03.2020, 16:22 +0100 schrieb Enrico Forestieri: > > > Please, try the attached patch. > > > > This fixes the problem for me. > > I have

Re: [LyX/master] Add revtex 4.2 files to distribution

2020-05-18 Thread Kornel Benko
Am Mon, 18 May 2020 18:58:29 +0200 (CEST) schrieb Richard Kimberly Heck : > commit c90a8e6885fa5ac0e25e65a47915c49995bfb505 > Author: Richard Kimberly Heck > Date: Mon May 18 13:20:39 2020 -0400 > > Add revtex 4.2 files to distribution > --- > lib/Makefile.am |2 ++ > 1 files changed,

LyX 2.3.5

2020-05-18 Thread Richard Kimberly Heck
We have been seeing a lot of reports of problems with Inkscape 1.0, and the bug about that has (we think) now been fixed. So it seems like a good time to release a new version. Are there any bugs (especially those that might involve string changes) that need attention before then? Riki -- lyx-d

Re: Shall we drop resources ?

2020-05-18 Thread Kornel Benko
Am Mon, 18 May 2020 17:09:36 +0200 schrieb Pavel Sanda : > On Mon, May 18, 2020 at 05:03:04PM +0200, Jürgen Spitzmüller wrote: > > Am Montag, den 18.05.2020, 16:42 +0200 schrieb Pavel Sanda: > > > What is interesting is not time for math but time for new document! > > > > > > Even with cache I

Re: Shall we drop resources ?

2020-05-18 Thread Jürgen Spitzmüller
Am Montag, den 18.05.2020, 17:31 +0200 schrieb Jean-Marc Lasgouttes: > Jürgen, returning to your original argument about being able to > override > > icons, I suspect that reading in the order > > 1/ userdir > > 2/ resources > > 3/ sysdir > > would be OK, right? Yes. > Or maybe you do not c

Re: Shall we drop resources ?

2020-05-18 Thread Enrico Forestieri
On Mon, May 18, 2020 at 05:09:36PM +0200, Pavel Sanda wrote: > On Mon, May 18, 2020 at 05:03:04PM +0200, Jürgen Spitzmüller wrote: > > Am Montag, den 18.05.2020, 16:42 +0200 schrieb Pavel Sanda: > > > What is interesting is not time for math but time for new document! > > > > > > Even with cache I

Re: Shall we drop resources ?

2020-05-18 Thread Jean-Marc Lasgouttes
Le 18/05/2020 à 17:09, Pavel Sanda a écrit : Opening empty file saved in 2.4 has the same problem, so lyx2lyx is out of game, not sure about layout2layout part. Do you observe similar in release mode (assuming you use it)? Profiling and release modes are basically the same, except that debuggi

Re: Shall we drop resources ?

2020-05-18 Thread Jean-Marc Lasgouttes
Le 18/05/2020 à 16:42, Pavel Sanda a écrit : On Fri, May 15, 2020 at 11:10:01AM +0200, Jean-Marc Lasgouttes wrote: Le 14/05/2020 ? 23:40, Jean-Marc Lasgouttes a écrit : Le 14/05/2020 ? 22:29, Jean-Pierre Chrétien a écrit : My computer uses mechanical drives all right, and runs an AMD biprocess

Re: Shall we drop resources ?

2020-05-18 Thread Pavel Sanda
On Mon, May 18, 2020 at 05:03:04PM +0200, Jürgen Spitzmüller wrote: > Am Montag, den 18.05.2020, 16:42 +0200 schrieb Pavel Sanda: > > What is interesting is not time for math but time for new document! > > > > Even with cache I am waiting for about ~5s for new document to > > appear. > > > > We h

Re: Shall we drop resources ?

2020-05-18 Thread Jürgen Spitzmüller
Am Montag, den 18.05.2020, 16:42 +0200 schrieb Pavel Sanda: > What is interesting is not time for math but time for new document! > > Even with cache I am waiting for about ~5s for new document to > appear. > > We had to screew something badly because 2.3.x gives ~0.5s (or I am > paying for --ena

Re: Shall we drop resources ?

2020-05-18 Thread Pavel Sanda
On Fri, May 15, 2020 at 11:10:01AM +0200, Jean-Marc Lasgouttes wrote: > Le 14/05/2020 ? 23:40, Jean-Marc Lasgouttes a écrit : > >Le 14/05/2020 ? 22:29, Jean-Pierre Chrétien a écrit : > >>My computer uses mechanical drives all right, and runs an AMD > >>biprocessor since 2009. Does it seem enough di