Re: [LyX/master] Implement Paragraph::getLabel()

2024-07-29 Thread Jean-Marc Lasgouttes
Le 29 juillet 2024 09:02:49 GMT+02:00, "Jürgen Spitzmüller" a écrit : >Am Montag, dem 29.07.2024 um 08:29 +0200 schrieb Jürgen Spitzmüller: >> Am Sonntag, dem 28.07.2024 um 19:39 +0200 schrieb Jean-Marc >> Lasgouttes: >> > Usually, when we use getLabel,

Re: [LyX/master] Implement Paragraph::getLabel()

2024-07-28 Thread Jean-Marc Lasgouttes
Le 28 juillet 2024 16:00:56 GMT+02:00, Juergen Spitzmueller a écrit : >commit a303600b544d9f4c82f2dee77616f821d0051854 >Author: Juergen Spitzmueller >Date: Sun Jul 28 15:52:19 2024 +0200 > >Implement Paragraph::getLabel() > >This function returns the first label (as string) if

Re: [RFC] Make scrolling-by-selection smoother

2024-07-26 Thread Jean-Marc Lasgouttes
But is it faster when the mouse is below the window, then? JMarc Le 25 juillet 2024 21:14:36 GMT+02:00, Scott Kostyshak a écrit : >On Thu, Jul 25, 2024 at 08:48:49PM GMT, Jean-Marc Lasgouttes wrote: >> You are in full screen, right ? > >No, but by default I don't have any t

Re: [RFC] Make scrolling-by-selection smoother

2024-07-25 Thread Jean-Marc Lasgouttes
You are in full screen, right ? JMarc Le 25 juillet 2024 20:00:15 GMT+02:00, Scott Kostyshak a écrit : >On Thu, Jul 25, 2024 at 06:45:58PM GMT, Jean-Marc Lasgouttes wrote: >> >> > To me it seems that scrolling down (if I hold and drag the mouse) is >> > much slowe

Re: [RFC] Make scrolling-by-selection smoother

2024-07-25 Thread Jean-Marc Lasgouttes
Le 25/07/2024 à 18:42, Scott Kostyshak a écrit : On Mon, Jul 22, 2024 at 10:00:46PM GMT, Jean-Marc Lasgouttes wrote: Le 22/07/2024 à 21:49, Pavel Sanda a écrit : On Sat, Jul 20, 2024 at 09:22:02PM +0200, Jean-Marc Lasgouttes wrote: So, especially if you have a slow-ish computer, please test

Re: [LyX/master] mode convertLaTeXCommands from BiblioInfo to Encodings

2024-07-25 Thread Jean-Marc Lasgouttes
Le 25/07/2024 à 15:20, Jürgen Spitzmüller a écrit : Am Donnerstag, dem 25.07.2024 um 11:30 +0200 schrieb Jean-Marc Lasgouttes: Did I already say today that I hate updateMacros and have no idea of what it does ? Just wanted to mention that this seems to cure it: Smart man. Of course

Re: [LyX/master] mode convertLaTeXCommands from BiblioInfo to Encodings

2024-07-25 Thread Jean-Marc Lasgouttes
. JMarc Bisect points me to: commit 999fb37ebb1aecfda9889fa6a2b2fbb15133f2aa Author: Jean-Marc Lasgouttes Date: Sat Jul 20 22:31:34 2024 +0200 Do not run updateMacros if the buffer has not changed Each buffer now has an id which is increased when it is marked dirty

Re: [LyX/master] Do not run updateMacros if the buffer has not changed

2024-07-24 Thread Jean-Marc Lasgouttes
Le 25/07/2024 à 00:43, Richard Kimberly Heck a écrit : On 7/24/24 12:36 PM, Jean-Marc Lasgouttes wrote: Le 24/07/2024 à 18:31, Jean-Marc Lasgouttes a écrit : commit 999fb37ebb1aecfda9889fa6a2b2fbb15133f2aa Author: Jean-Marc Lasgouttes Date:   Sat Jul 20 22:31:34 2024 +0200 Do not run

Re: [PATCH] WIP: rewrite statistics code

2024-07-24 Thread Jean-Marc Lasgouttes
Le 24/07/2024 à 22:48, Pavel Sanda a écrit : I have difficulty to see any visible difference when it comes to the cursor speed in UG after your last patch (detecting changes in buffer before calling updatemacros), i.e. the difference seems to be within rounding error. The updateMacros probably

Re: [PATCH] WIP: rewrite statistics code

2024-07-24 Thread Jean-Marc Lasgouttes
Le 24/07/2024 à 01:57, Pavel Sanda a écrit : On top of that this speed up was good enough that I do not see visually noticeable hiccups while moving with the cursor in User Guide anymore - but that's also due to the fact that cursor moving is still somewhat slow on fast repeat rates compared to

Re: [PATCH] WIP: rewrite statistics code

2024-07-24 Thread Jean-Marc Lasgouttes
Le 24/07/2024 à 19:28, Scott Kostyshak a écrit : /home/scott/lyxbuilds/master-master/repo/src/insets/InsetTabular.h:1120:7: error: 'updateStatistics' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override] void updateStatistics(Statistics &

Re: [LyX/master] Do not run updateMacros if the buffer has not changed

2024-07-24 Thread Jean-Marc Lasgouttes
Le 24/07/2024 à 18:31, Jean-Marc Lasgouttes a écrit : commit 999fb37ebb1aecfda9889fa6a2b2fbb15133f2aa Author: Jean-Marc Lasgouttes Date: Sat Jul 20 22:31:34 2024 +0200 Do not run updateMacros if the buffer has not changed Each buffer now has an id which is increased when

Re: [LyX/master] Fixup 216a6fb348: close when quitting text mode

2024-07-24 Thread Jean-Marc Lasgouttes
Le 24/07/2024 à 17:46, Richard Kimberly Heck a écrit : Riki, this is candidate for branch. Any and all fixes for this are fine. Thanks, everything is in now. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: [LyX/master] Fixup 216a6fb3: fix broken xml syntax

2024-07-24 Thread Jean-Marc Lasgouttes
Le 24/07/2024 à 17:45, Richard Kimberly Heck a écrit : On 7/23/24 5:49 PM, Jean-Marc Lasgouttes wrote: Le 23/07/2024 à 19:52, Jean-Marc Lasgouttes a écrit : commit a268fe096a58a7818554a7da4da85896bb289c81 Author: Jean-Marc Lasgouttes Date:   Tue Jul 23 15:04:49 2024 +0200 Fixup 216a6fb3

Re: [PATCH] WIP: rewrite statistics code

2024-07-24 Thread Jean-Marc Lasgouttes
Le 24/07/2024 à 09:43, Jean-Marc Lasgouttes a écrit : All in all this patch is nice piece of work! :) Thanks. It needs some cleanup, so I will push it later. I found the time, the code is now in. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo

Re: [PATCH] WIP: rewrite statistics code

2024-07-24 Thread Jean-Marc Lasgouttes
Le 24/07/2024 à 12:30, Jean-Marc Lasgouttes a écrit : Le 24/07/2024 à 09:55, Pavel Sanda a écrit : On Wed, Jul 24, 2024 at 09:43:43AM +0200, Jean-Marc Lasgouttes wrote: Good, that was the point. The code I proposed to avoid running updateMacros on an unchanged document can be used here too

Re: LyX user file in linux

2024-07-24 Thread Jean-Marc Lasgouttes
Le 24/07/2024 à 15:36, Jürgen Spitzmüller a écrit : Am Mittwoch, dem 24.07.2024 um 10:40 +0100 schrieb José Matos: What do you think? Any idea about this? Since I do access it often, I am personally not too fond of having it hidden deeper down the hierarchy. I also think some external

Re: [PATCH] WIP: rewrite statistics code

2024-07-24 Thread Jean-Marc Lasgouttes
Le 24/07/2024 à 09:55, Pavel Sanda a écrit : On Wed, Jul 24, 2024 at 09:43:43AM +0200, Jean-Marc Lasgouttes wrote: Good, that was the point. The code I proposed to avoid running updateMacros on an unchanged document can be used here too. Are updateMacros called for each caret movement

Re: [PATCH] WIP: rewrite statistics code

2024-07-24 Thread Jean-Marc Lasgouttes
Le 24 juillet 2024 01:57:01 GMT+02:00, Pavel Sanda a écrit : >I tested and do not see any counting difference in my selected document and >confirm that profiling gives about 3x better time with your patch. Thanks for testing. To be frank, I have been disappointed at first to have "only" a 3x

Re: [LyX/master] Do not export the content of InsetMathBoxed as text in MathML

2024-07-23 Thread Jean-Marc Lasgouttes
Le 23/07/2024 à 23:48, Jean-Marc Lasgouttes a écrit : commit 1186d90edf9a6702573f296d5642c5e61ceaaedf Author: Jean-Marc Lasgouttes Date: Tue Jul 23 23:44:58 2024 +0200 Do not export the content of InsetMathBoxed as text in MathML \boxed{} is the only box in LaTeX

Re: [LyX/master] Fixup 216a6fb348: close when quitting text mode

2024-07-23 Thread Jean-Marc Lasgouttes
Le 23/07/2024 à 22:11, Jean-Marc Lasgouttes a écrit : commit 1385f0fddd0229770496b1e50b76782892032d18 Author: Jean-Marc Lasgouttes Date: Tue Jul 23 22:02:50 2024 +0200 Fixup 216a6fb348: close when quitting text mode This fixes malformed documents on UserGuide export

Re: [LyX/master] Fixup 216a6fb3: fix broken xml syntax

2024-07-23 Thread Jean-Marc Lasgouttes
Le 23/07/2024 à 19:52, Jean-Marc Lasgouttes a écrit : commit a268fe096a58a7818554a7da4da85896bb289c81 Author: Jean-Marc Lasgouttes Date: Tue Jul 23 15:04:49 2024 +0200 Fixup 216a6fb3: fix broken xml syntax This commit addresses two issues: 1/ the embarassing one

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Jean-Marc Lasgouttes
Le 23/07/2024 à 22:22, Scott Kostyshak a écrit : On Tue, Jul 23, 2024 at 04:14:28PM GMT, Scott Kostyshak wrote: On Tue, Jul 23, 2024 at 10:12:32PM GMT, Jean-Marc Lasgouttes wrote: Le 23/07/2024 à 21:11, Scott Kostyshak a écrit : I believe this one is very recent: export/doc

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Jean-Marc Lasgouttes
Le 23/07/2024 à 21:11, Scott Kostyshak a écrit : I believe this one is very recent: export/doc/UserGuide_xhtml This corresponds to the English user guide. This one was easy. Do you have another one for me? JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Jean-Marc Lasgouttes
Le 23/07/2024 à 21:11, Kornel Benko a écrit : Am Tue, 23 Jul 2024 20:47:03 +0200 schrieb Jean-Marc Lasgouttes : Le 23/07/2024 à 20:23, Kornel Benko a écrit : From the 132 previously failed tests now are only 54 test failing. Some of the first are: 59% tests passed, 54 tests failed out

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Jean-Marc Lasgouttes
Le 23/07/2024 à 20:53, Scott Kostyshak a écrit : I have 60 xhtml tests failing on current master now. Some are timing out so that might be a good place to start. For example, the following export times out for me after 10 minutes: cd lib/examples/Curricula_Vitae && lyx -e xhtml Modern_CV.lyx

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Jean-Marc Lasgouttes
Le 23/07/2024 à 20:23, Kornel Benko a écrit : From the 132 previously failed tests now are only 54 test failing. Some of the first are: 59% tests passed, 54 tests failed out of 132 The following tests FAILED: 300 - export/export/docbook/basic_xhtml (Failed) 306 -

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Jean-Marc Lasgouttes
Le 23/07/2024 à 19:24, Kornel Benko a écrit : Even with newest commits I get 71% tests passed, 132 tests failed out of 449 from # ctest -R .xhtml Kornel Hopefully most of the issues are gone now. The biggest and stupidest problem was that a backup variable was a bool instead

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Jean-Marc Lasgouttes
Le 23/07/2024 à 19:24, Kornel Benko a écrit : Am Mon, 22 Jul 2024 16:47:14 -0400 schrieb Scott Kostyshak : I don't have time to look into them but a whole bunch of xhtml and docbook tests started failing recently on master. Kornel can you reproduce? Scott Even with newest commits I get 71%

Re: Many xhtml/docbook tests now failing on master

2024-07-22 Thread Jean-Marc Lasgouttes
Le 22/07/2024 à 23:58, Scott Kostyshak a écrit : On Mon, Jul 22, 2024 at 11:27:46PM GMT, Jean-Marc Lasgouttes wrote: Le 22/07/2024 à 22:47, Scott Kostyshak a écrit : I don't have time to look into them but a whole bunch of xhtml and docbook tests started failing recently on master. Kornel can

Re: [LyX/2.4.x] Cleanup MathMLStream

2024-07-22 Thread Jean-Marc Lasgouttes
Le 22/07/2024 à 22:40, Enrico Forestieri a écrit : diff --git a/src/mathed/InsetMathChar.cpp b/src/mathed/InsetMathChar.cpp index 199982a5f7..82d0b63f1e 100644 --- a/src/mathed/InsetMathChar.cpp +++ b/src/mathed/InsetMathChar.cpp @@ -248,7 +248,7 @@ void InsetMathChar::mathmlize(MathMLStream &

Re: [LyX/2.4.x] Cleanup MathMLStream

2024-07-22 Thread Jean-Marc Lasgouttes
Le 22/07/2024 à 22:40, Enrico Forestieri a écrit : I don't understand the need for the two changes above. Note that on systems where sizeof(wchar_t) == 2, lyx::char_type is defined as a 32- bit value. So, with the above changes, char_ will be output as a number rather than a character. What

Re: Many xhtml/docbook tests now failing on master

2024-07-22 Thread Jean-Marc Lasgouttes
Le 22/07/2024 à 22:47, Scott Kostyshak a écrit : I don't have time to look into them but a whole bunch of xhtml and docbook tests started failing recently on master. Kornel can you reproduce? I would be grateful to have individual examples. I guess the point made by Enrico is one of those

Re: [RFC] Make scrolling-by-selection smoother

2024-07-22 Thread Jean-Marc Lasgouttes
Le 22/07/2024 à 21:49, Pavel Sanda a écrit : On Sat, Jul 20, 2024 at 09:22:02PM +0200, Jean-Marc Lasgouttes wrote: So, especially if you have a slow-ish computer, please test. I tested on two archaic laptops and do not see any visible difference in speed. But the version with your patch

Re: [PATCH] use yellow background for math comments

2024-07-21 Thread Jean-Marc Lasgouttes
Le 21/07/2024 à 09:49, José Matos a écrit : Actually it was more (for me a least) import that you applied one of the changes. Personally I prefer your first option but even the second option would be better than not to do nothing. I suppose that we can improve our communication skills and avoid

[PATCH] WIP: rewrite statistics code

2024-07-21 Thread Jean-Marc Lasgouttes
rom: Jean-Marc Lasgouttes Date: Sun, 21 Jul 2024 22:09:28 +0200 Subject: [PATCH] WIP: rewrite statistics code The statistics code is known to be very slow, because it relies on DocIterator to go through the buffer. This commit introduces a new Statitistics class that encapsulates the main code, al

Get rid of INSTALL.MacOSX?

2024-07-20 Thread Jean-Marc Lasgouttes
The last remaining bit of TODO.killqt4 is INSTALL.MacOSX. I thought we wanted to update it, but I fail to see what should be kept in this file as it is. Stephan, do we have a reason to keep it? Later, you could create a new INSTALL.macOS with up-to-date information if you feel that the file

Re: [LyX/master] Fixup 2bdd691130: remove two more Update::SinglePar instances

2024-07-20 Thread Jean-Marc Lasgouttes
Le 20/07/2024 à 21:22, Richard Kimberly Heck a écrit : On 7/20/24 11:16 AM, Jean-Marc Lasgouttes wrote: Le 20/07/2024 à 17:13, Jean-Marc Lasgouttes a écrit : commit 485f5afc21ba553fd16465231de7570b0c631298 Author: Jean-Marc Lasgouttes Date:   Sat Jul 20 17:12:09 2024 +0200 Fixup

Re: [PATCH] use yellow background for math comments

2024-07-20 Thread Jean-Marc Lasgouttes
Le 19/06/2024 à 16:23, Jean-Marc Lasgouttes a écrit : I can't find the place where math comments appearance was discussed recently, so here is is. This trivial patch uses a yellow (Note) background to mark comments. While the result is not the same as Notes (the output actually goes to LaTeX

Re: [RFC] Make scrolling-by-selection smoother

2024-07-20 Thread Jean-Marc Lasgouttes
Le 20/07/2024 à 21:23, Richard Kimberly Heck a écrit : On 7/20/24 3:22 PM, Jean-Marc Lasgouttes wrote: PS: the profiler tells me that more than 10% of this time is lost updating macros over and over. I'll take a look at that. That is at the root of a lot of the performance issues we have

[RFC] Make scrolling-by-selection smoother

2024-07-20 Thread Jean-Marc Lasgouttes
, but I am not sure how. So, especially if you have a slow-ish computer, please test. JMarc PS: the profiler tells me that more than 10% of this time is lost updating macros over and over. I'll take a look at that.From 9da312f269b2ab3060d1b4231a82dc36787fd45a Mon Sep 17 00:00:00 2001 From: Jean-Marc

Re: [LyX/master] Fixup 2bdd691130: remove two more Update::SinglePar instances

2024-07-20 Thread Jean-Marc Lasgouttes
Le 20/07/2024 à 17:13, Jean-Marc Lasgouttes a écrit : commit 485f5afc21ba553fd16465231de7570b0c631298 Author: Jean-Marc Lasgouttes Date: Sat Jul 20 17:12:09 2024 +0200 Fixup 2bdd691130: remove two more Update::SinglePar instances They do not do what the author(s

Re: SIGSEGV when doing undo after putting bib items in a note

2024-07-18 Thread Jean-Marc Lasgouttes
Le 16/07/2024 à 17:26, Richard Kimberly Heck a écrit : On 7/16/24 9:48 AM, Jean-Marc Lasgouttes wrote: Le 15/07/2024 à 18:14, Scott Kostyshak a écrit : I cannot reproduce, but the following patch makes sense. Does it work? Yes it fixes the behavior both with and without change tracking

Re: LyX 2.4.1 Released

2024-07-18 Thread Jean-Marc Lasgouttes
Le 18/07/2024 à 04:45, Richard Kimberly Heck a écrit : This line is present in master as well, but is actually coming from completely different changeset (1d1f95d2ed0b, JMarc, Reduce metrics updates from 4 to 1 when loading file) which is not part of 2.4. So it seems that it got accidentally

Re: SIGSEGV when doing undo after putting bib items in a note

2024-07-16 Thread Jean-Marc Lasgouttes
it was kind of stable now. Riki, this is obviously candidate for branch. JMarc commit 82f387dabc2b18de6a9917192f4304e92bff8bc1 Author: Jean-Marc Lasgouttes Date: Tue Jul 16 15:43:11 2024 +0200 Fix faulty undo recording The recordUndo() call is very wrong, since we may be inserting

Re: Compilation warning

2024-07-15 Thread Jean-Marc Lasgouttes
Le 12/07/2024 à 21:25, Richard Kimberly Heck a écrit : On 7/12/24 11:13 AM, Jean-Marc Lasgouttes wrote: Le 12/07/2024 à 17:02, Jürgen Spitzmüller a écrit : Am Freitag, dem 12.07.2024 um 16:18 +0200 schrieb Jean-Marc Lasgouttes: It is the fault of autoconf 2.72, actually. Try the patch below

Re: SIGSEGV when doing undo after putting bib items in a note

2024-07-15 Thread Jean-Marc Lasgouttes
Le 02/07/2024 à 18:01, Scott Kostyshak a écrit : To reproduce: 1. Fresh build on current master. 2. Open User Guide. 3. Make sure that editing is enabled, and turn off change tracking. 4. Scroll to the end. 5. Select multiple bib items. 6. Click on the yellow note. 7. Do Undo with ctrl + z. I

Re: Compilation warning

2024-07-12 Thread Jean-Marc Lasgouttes
Le 12/07/2024 à 17:02, Jürgen Spitzmüller a écrit : Am Freitag, dem 12.07.2024 um 16:18 +0200 schrieb Jean-Marc Lasgouttes: It is the fault of autoconf 2.72, actually. Try the patch below. Thanks, this works! Very good. It is in master now. Riki, this is candidate for branch. A workaround

Re: Compilation warning

2024-07-12 Thread Jean-Marc Lasgouttes
Le 12/07/2024 à 15:56, Jean-Marc Lasgouttes a écrit : Le 12/07/2024 à 15:47, Jürgen Spitzmüller a écrit : Am Freitag, dem 12.07.2024 um 15:28 +0200 schrieb Jean-Marc Lasgouttes: Do you see a mention of grep and egrep in the configure output? yes: checking for grep that handles long lines

Re: Compilation warning

2024-07-12 Thread Jean-Marc Lasgouttes
Le 12/07/2024 à 15:47, Jürgen Spitzmüller a écrit : Am Freitag, dem 12.07.2024 um 15:28 +0200 schrieb Jean-Marc Lasgouttes: Do you see a mention of grep and egrep in the configure output? yes: checking for grep that handles long lines and -e... /usr/bin/grep I get nothing like the above

Re: Compilation warning

2024-07-12 Thread Jean-Marc Lasgouttes
Le 12/07/2024 à 14:16, Jürgen Spitzmüller a écrit : Am Freitag, dem 12.07.2024 um 11:31 +0200 schrieb Pavel Sanda: Can you share the exact autogen/configure sequence and params so I can try to reproduce your workflow? ./autogen.sh ./configure --enable-build-type=rel The issue shows up in the

Re: LyX 2.4.0 and 2.4.1

2024-07-12 Thread Jean-Marc Lasgouttes
Le 12/07/2024 à 03:54, John O'Gorman a écrit : Hi I have recently installed 2.4.0 and then upgraded to 2.4.1 on 2 machines: an imac and an OpenSuSE tumbleweed. The Mac and Linux implementations differ. On the Mac the top left icon gives the About LyX output. On the Linux you instead go to

Re: Request to backport some screen-update code

2024-07-10 Thread Jean-Marc Lasgouttes
Le 10/07/2024 à 17:17, Richard Kimberly Heck a écrit : Riki, would that be OK? Yes. Should get plenty of testing before release. Thanks, I did that. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: [LyX/master] Fix display of page references when language is not specified

2024-07-10 Thread Jean-Marc Lasgouttes
Le 05/07/2024 à 18:12, Richard Kimberly Heck a écrit : On 7/5/24 10:25 AM, Jean-Marc Lasgouttes wrote: Le 05/07/2024 à 16:18, Jean-Marc Lasgouttes a écrit : commit 6f6d9b631d110fb71fcd99351b4f40d58451700a Author: Jean-Marc Lasgouttes Date:   Fri Jul 5 16:10:17 2024 +0200 Fix display

Request to backport some screen-update code

2024-07-10 Thread Jean-Marc Lasgouttes
anchor_pit + 1; + pit_type const npit = pit_type(text_->paragraphs().size()); for (; pit2 < npit && y2 < bv_height; ++pit2) { if (!contains(pit2)) redoParagraph(pit2); -- 2.34.1 From 6f61b0b4318e435838a29ecdd6775d8ffbb9400a Mon Sep 17 00:00:00 2001 From: Jean-

Re: Exception ignored in: _io.TextIOWrapper

2024-07-05 Thread Jean-Marc Lasgouttes
Le 05/07/2024 à 18:46, Scott Kostyshak a écrit : On Fri, Jul 05, 2024 at 05:33:39PM GMT, José Matos wrote: On Fri, 2024-07-05 at 16:27 +0200, Jean-Marc Lasgouttes wrote: Can InsetInfo run an occasional pref2pref? Possible but unlikely. As far as I remember all layout files are updated

Re: Exception ignored in: _io.TextIOWrapper

2024-07-05 Thread Jean-Marc Lasgouttes
Le 05/07/2024 à 15:59, José Matos a écrit : On Fri, 2024-07-05 at 14:33 +0200, Jean-Marc Lasgouttes wrote: While scrolling text in stable (preview if off), I get messages like: Exception ignored in: <_io.TextIOWrapper name='' mode='w' encoding='utf-8'> José, this looks like python stuff

Re: [LyX/master] Fix display of page references when language is not specified

2024-07-05 Thread Jean-Marc Lasgouttes
Le 05/07/2024 à 16:18, Jean-Marc Lasgouttes a écrit : commit 6f6d9b631d110fb71fcd99351b4f40d58451700a Author: Jean-Marc Lasgouttes Date: Fri Jul 5 16:10:17 2024 +0200 Fix display of page references when language is not specified Riki, this is candidate for branch. A pretty minor issue

Exception ignored in: _io.TextIOWrapper

2024-07-05 Thread Jean-Marc Lasgouttes
While scrolling text in stable (preview if off), I get messages like: Exception ignored in: <_io.TextIOWrapper name='' mode='w' encoding='utf-8'> José, this looks like python stuff, over to you :) JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: 2.4.1

2024-07-05 Thread Jean-Marc Lasgouttes
Le 05/07/2024 à 14:10, Jürgen Spitzmüller a écrit : Am Donnerstag, dem 04.07.2024 um 17:12 +0200 schrieb Jean-Marc Lasgouttes: From what I understand, it exhausts the memory of the computer by allocating memory somewhere in the regex machinery (see the backtrace in the report). So the problem

Re: 2.4.1

2024-07-04 Thread Jean-Marc Lasgouttes
Le 04/07/2024 à 16:42, Jürgen Spitzmüller a écrit : I think the problem is that we call getAuthors() for one and the same reference way too often by calling BibTeXInfo::getAuthorList() from diverse places (which is at least in parts also my fault, see BibTeXInfo::getValueForKey()). Every time we

Re: Out of sync information between Help->About LyX->{Version, Build Info}

2024-07-04 Thread Jean-Marc Lasgouttes
Le 04/07/2024 à 14:01, José Matos a écrit : On Thu, 2024-07-04 at 13:47 +0200, Pavel Sanda wrote: I would be concerned if running ./configure does not fix the Qt version. Does it fix it in your case? Pavel Yes, it works. Since you do an out source dir build I always need to extract the

Re: Out of sync information between Help->About LyX->{Version, Build Info}

2024-07-04 Thread Jean-Marc Lasgouttes
Le 04/07/2024 à 13:47, Pavel Sanda a écrit : On Thu, Jul 04, 2024 at 12:29:13PM +0100, José Matos wrote: There is some mechanism in action because all C++ files were recompiled when the Qt version changed. I would be concerned if running ./configure does not fix the Qt version. Does it fix it

Re: Out of sync information between Help->About LyX->{Version, Build Info}

2024-07-04 Thread Jean-Marc Lasgouttes
Le 04/07/2024 à 11:47, José Matos a écrit : The Qt version is an old one, most likely the one used last time that configure ran. Indeed. Not sure what to do about it. But the Qt version at configure time may matter, if we did tricks according to it. JMarc -- lyx-devel mailing list

Re: SIGSEGV when doing undo after putting bib items in a note

2024-07-03 Thread Jean-Marc Lasgouttes
Le 02/07/2024 à 18:01, Scott Kostyshak a écrit : To reproduce: 1. Fresh build on current master. 2. Open User Guide. 3. Make sure that editing is enabled, and turn off change tracking. 4. Scroll to the end. 5. Select multiple bib items. 6. Click on the yellow note. 7. Do Undo with ctrl + z. I

Re: 2.4.1

2024-07-03 Thread Jean-Marc Lasgouttes
Le 24/06/2024 à 22:26, Richard Kimberly Heck a écrit : On 6/24/24 1:20 PM, Jean-Marc Lasgouttes wrote: Le 09/06/2024 à 19:18, Richard Kimberly Heck a écrit : We do not seem to have had any panicked reports of crashes. Yea! So I propose to merge 2.4.1-devel into 2.4.x and plan to release 2.4.1

Re: Assertion when selecting large table in User Guide on master

2024-07-03 Thread Jean-Marc Lasgouttes
Le 03/07/2024 à 19:34, Scott Kostyshak a écrit : On Wed, Jul 03, 2024 at 05:48:23PM GMT, Jean-Marc Lasgouttes wrote: Le 03/07/2024 à 06:17, Scott Kostyshak a écrit : I still get an assertion while selecting the phone table. Hmm, I was two quick in my testing. I just pushed two patches which

Re: Assertion when selecting large table in User Guide on master

2024-07-03 Thread Jean-Marc Lasgouttes
Le 03/07/2024 à 06:17, Scott Kostyshak a écrit : I still get an assertion while selecting the phone table. Hmm, I was two quick in my testing. I just pushed two patches which: 1/ avoids setting Update::SinglePar in a place where this does not make sense 2/ make BufferView::singleParUpdate

Re: Assertion when selecting large table in User Guide on master

2024-07-02 Thread Jean-Marc Lasgouttes
Le 02/07/2024 à 05:27, Scott Kostyshak a écrit : I no longer get the assertion in that place. But if I work a bit harder and drag the selection up and down, eventually I get an assertion. Backtrace attached (this was while testing the patch). OK, I just pushed a different solution: instead of

Re: Assertion when selecting large table in User Guide on master

2024-07-02 Thread Jean-Marc Lasgouttes
Le 02/07/2024 à 17:44, Scott Kostyshak a écrit : Oops, sorry about that. Backtrace now attached. The way I reproduce is just drag selection with my mouse up and down, up and down in the User Guide. It usually just takes a few seconds. I can reproduce too. The goodpart is that the assertion

Re: change in behavior of cursor movement in math array

2024-07-02 Thread Jean-Marc Lasgouttes
Le 02/07/2024 à 17:53, Udicoudco a écrit : On Tue, Jul 2, 2024 at 6:39 PM Jean-Marc Lasgouttes wrote: The place you are looking for is InsetMathGrid::firstIdx. It enters by the first/middle/last row depending on the vertical alignment of the inset. I guess the change happened at commit

Re: Issue when putting bib items in note: CoordCache.cpp (26): break on pointer

2024-07-02 Thread Jean-Marc Lasgouttes
Le 02/07/2024 à 17:36, Richard Kimberly Heck a écrit : Riki, this is needed in 2.4.x too. Can it go in or shall I wait for 2.4.1 release? 2.4.1 is built. But if you think it's necessary, I can rebuild. Jürgen has a couple things, as well. Well, it is a crash that happens when inserting an

Re: change in behavior of cursor movement in math array

2024-07-02 Thread Jean-Marc Lasgouttes
Le 02/07/2024 à 17:24, Udicoudco a écrit : Hello all, Open a new file, enter a math align environment via Insert->Math->AMS align environment add two additional rows to a total of 3 put the cursor to the left of the equation now press on the left arrow key several times In LyX2.4.0 the cursor

Math preview failure in UserGuide

2024-07-02 Thread Jean-Marc Lasgouttes
When I load UserGuide with previews enabled, I see a lot of errors on console: Warning: dvipng failed to generate images from lyxpreviewjVAhXp.dvi... fallback to legacy method Warning: epstopdf failed on page 1, file lyxpreviewjVAhXp.001 Warning: epstopdf failed on page 2, file

Re: Issue when putting bib items in note: CoordCache.cpp (26): break on pointer

2024-07-02 Thread Jean-Marc Lasgouttes
Le 02/07/2024 à 14:49, Jean-Marc Lasgouttes a écrit : Le 02/07/2024 à 05:33, Scott Kostyshak a écrit : On Tue, Jul 02, 2024 at 01:03:09AM GMT, Jean-Marc Lasgouttes wrote: Le 28/06/2024 à 19:43, Scott Kostyshak a écrit : To reproduce on current master: 1. Open the User Guide. 2. Enable

Re: Issue when putting bib items in note: CoordCache.cpp (26): break on pointer

2024-07-02 Thread Jean-Marc Lasgouttes
Le 02/07/2024 à 05:33, Scott Kostyshak a écrit : On Tue, Jul 02, 2024 at 01:03:09AM GMT, Jean-Marc Lasgouttes wrote: Le 28/06/2024 à 19:43, Scott Kostyshak a écrit : To reproduce on current master: 1. Open the User Guide. 2. Enable editing. 3. Go to end of the document. 4. Select as is shown

Re: Issue when putting bib items in note: CoordCache.cpp (26): break on pointer

2024-07-01 Thread Jean-Marc Lasgouttes
Le 28/06/2024 à 19:43, Scott Kostyshak a écrit : To reproduce on current master: 1. Open the User Guide. 2. Enable editing. 3. Go to end of the document. 4. Select as is shown in the attached screenshot. 5. Click the yellow note icon to insert a LyX note. 6. Click "OK" on the dialog that pops

Re: Assertion when selecting large table in User Guide on master

2024-07-01 Thread Jean-Marc Lasgouttes
Le 28/06/2024 à 18:15, Scott Kostyshak a écrit : Does this patch help? It does not seem to help. I still get the assertion. This one should be better. JMarc From 59bac4712239505148b2fc8e3d9443373d138890 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 1 Jul 2024 23:56:33

Re: Assertion when selecting large table in User Guide on master

2024-06-28 Thread Jean-Marc Lasgouttes
Le 28/06/2024 à 18:15, Scott Kostyshak a écrit : On Fri, Jun 28, 2024 at 05:36:15PM GMT, Jean-Marc Lasgouttes wrote: Le 26/06/2024 à 06:25, Scott Kostyshak a écrit : When I select the table with the mouse cursor (see attachment for which table), I get the following assertion: support

Re: Assertion when selecting large table in User Guide on master

2024-06-28 Thread Jean-Marc Lasgouttes
Le 26/06/2024 à 06:25, Scott Kostyshak a écrit : When I select the table with the mouse cursor (see attachment for which table), I get the following assertion: support/lassert.cpp (52): ASSERTION hasPosition() VIOLATED IN /home/scott/lyxbuilds/master-master/repo/src/ParagraphMetrics.cpp:71

Re: Does Qt6 require C++17?

2024-06-24 Thread Jean-Marc Lasgouttes
Le 24/06/2024 à 18:17, José Matos a écrit : I am not sure about the announcement but the wiki is clear: https://wiki.qt.io/Building_Qt_6_from_Git "System Requirements: ... C++ compiler supporting C++ 17 " OK, so now you have proved that I can barely read, are you proud of what you have done?

Re: 2.4.1

2024-06-24 Thread Jean-Marc Lasgouttes
Le 09/06/2024 à 19:18, Richard Kimberly Heck a écrit : We do not seem to have had any panicked reports of crashes. Yea! So I propose to merge 2.4.1-devel into 2.4.x and plan to release 2.4.1 at the end of the month. We have quite a few fixes already in the pipeline. OK? Otherwise, I'm going

Re: Does Qt6 require C++17?

2024-06-24 Thread Jean-Marc Lasgouttes
Le 24/06/2024 à 17:24, Jürgen Spitzmüller a écrit : It's actually also mentioned in the Qt6 release announcement: https://www.qt.io/blog/qt-6.0-released "With Qt 6 we now require a C++17 compatible compiler enabling the use more modern C++ language constructs when developing Qt and also allows

Does Qt6 require C++17?

2024-06-24 Thread Jean-Marc Lasgouttes
I see that Qt6.4 build fails when I enforce C++11. Is there an announcement somewhere that this is the requirement? https://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/global/qcompilerdetection.h#n1254 JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: Valgrind: conditional jump or move depends on uninitalized value(s)

2024-06-21 Thread Jean-Marc Lasgouttes
Le 20/06/2024 à 20:03, Scott Kostyshak a écrit : This report is from opening LyX, starting a new document, and quitting. How can I read it to know if it's LyX's fault or not? Specifically, how can I know whether the uninitialised value is created inside QPainter::drawPixmap() or if it's instead

[PATCH] use yellow background for math comments

2024-06-19 Thread Jean-Marc Lasgouttes
From: Jean-Marc Lasgouttes Date: Wed, 5 Jun 2024 10:41:47 +0200 Subject: [PATCH] Use background to make math comments more visible --- src/mathed/InsetMathComment.cpp | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/mathed/InsetMathComment.cpp b/src/mathed/InsetMathComment.cpp index

Re: [LyX/master] Move DrawStrategy enum to update_flags.h.

2024-06-19 Thread Jean-Marc Lasgouttes
Le 18/06/2024 à 20:47, Jean-Marc Lasgouttes a écrit : Thanks, I'll fix that. Done. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: [LyX/master] Move DrawStrategy enum to update_flags.h.

2024-06-18 Thread Jean-Marc Lasgouttes
Thanks, I'll fix that. JMarc Le 18 juin 2024 18:53:34 GMT+02:00, Scott Kostyshak a écrit : >On Tue, Jun 18, 2024 at 04:29:34PM GMT, Jean-Marc Lasgouttes wrote: >> commit c263463cadc92a9e5b29df97a825328c9300b76a >> Author: Jean-Marc Lasgouttes >> Date: Tue Jun 1

Re: [wip][patch] use qmake with autoconf for qt5 too

2024-06-17 Thread Jean-Marc Lasgouttes
Le 17/06/2024 à 16:41, Jean-Marc Lasgouttes a écrit : Le 15/06/2024 à 22:59, Enrico Forestieri a écrit : On Fri, Jun 14, 2024 at 08:09:00PM +0200, Jean-Marc Lasgouttes wrote: This seems to work, although for some reason it does not add x11extras here. Actually, x11extras is detected

Re: [wip][patch] use qmake with autoconf for qt5 too

2024-06-17 Thread Jean-Marc Lasgouttes
Le 15/06/2024 à 22:59, Enrico Forestieri a écrit : On Fri, Jun 14, 2024 at 08:09:00PM +0200, Jean-Marc Lasgouttes wrote: This seems to work, although for some reason it does not add x11extras here. Actually, x11extras is detected but you forgot about HAVE_QT5_X11_EXTRAS. I thought

[wip][patch] use qmake with autoconf for qt5 too

2024-06-14 Thread Jean-Marc Lasgouttes
have a go at it before I push it? JMarc From 43e510fd38734761f1fd2ba86fce83824092773d Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Fri, 14 Jun 2024 19:17:27 +0200 Subject: [PATCH] WIP: support qmake with Qt5 --- config/qt.m4 | 97

Re: Existential doubt: Python line size

2024-06-13 Thread Jean-Marc Lasgouttes
Le 13/06/2024 à 22:34, Pavel Sanda a écrit : On Thu, Jun 13, 2024 at 07:08:01PM +0100, José Matos wrote: Although modern terminals have more lines and rows (for example the shell screen that I use have 236 rows by 90 lines) we need to set some common ground. So my question to you is: what do

Re: operator << for Cursor seems to not work

2024-06-12 Thread Jean-Marc Lasgouttes
Le 12/06/2024 à 12:55, Kornel Benko a écrit : I was not aware of it. Anyway, it worked , later it did not work (for me) and now it works again. Great. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: operator << for Cursor seems to not work

2024-06-12 Thread Jean-Marc Lasgouttes
Le 12/06/2024 à 10:53, Kornel Benko a écrit : Am Tue, 11 Jun 2024 16:37:37 +0200 schrieb Jean-Marc Lasgouttes : Le 11/06/2024 à 16:41, Kornel Benko a écrit : Works now. But gives not the needed info. Result is e.g. "inset: 0x5604fff94be0 idx: 0 par: 3 pos: 0". Could you give me

Re: [LyX/master] Add "full" drawing strategy

2024-06-11 Thread Jean-Marc Lasgouttes
Le 11/06/2024 à 21:56, José Matos a écrit : So this is the auto setting that I referred in the other sub-thread. ️ Right :) Could there be some "property" information tab? I say this because sometimes the console (stderr) is not the best place to put this information for easier debugging.

Re: Error: attempt to compare iterators from different sequences

2024-06-11 Thread Jean-Marc Lasgouttes
Le 06/06/2024 à 17:33, Scott Kostyshak a écrit : On Thu, Jun 06, 2024 at 09:00:05AM GMT, Jean-Marc Lasgouttes wrote: Le 20/05/2024 à 03:45, Scott Kostyshak a écrit : Great, thanks! I pulled in the fix, made a fresh build and I get another error along the same lines. Actually the fix

Re: [LyX/master] Add "full" drawing strategy

2024-06-11 Thread Jean-Marc Lasgouttes
Le 11/06/2024 à 17:44, Richard Kimberly Heck a écrit : On 6/11/24 09:36, Jean-Marc Lasgouttes wrote: The point is to offer a mode where the screen is redrawn fully every time (only the drawing, not the metrics computation). The performance seems quite reasonable to me, actually. I assume

Re: [LyX/master] Add "full" drawing strategy

2024-06-11 Thread Jean-Marc Lasgouttes
Le 11/06/2024 à 17:56, José Matos a écrit : Does it make sense to have another option "auto" that automatically chooses the best strategy? That way we could assume that the previous default was auto and be done with it. I am aware that I am leaving many details on the air. My motivation for

Re: Entering a math macro using or does not display correctly

2024-06-11 Thread Jean-Marc Lasgouttes
Le 06/06/2024 à 17:42, Scott Kostyshak a écrit : In the attached screenshots, if I enter from below, then the painting is strange. In this case, I put the cursor in the word "formula" and pressed . I attach this "bad" case as "enter-from-below.png". If instead I put the cursor to the right of

Re: operator << for Cursor seems to not work

2024-06-11 Thread Jean-Marc Lasgouttes
Le 11/06/2024 à 16:41, Kornel Benko a écrit : Works now. But gives not the needed info. Result is e.g. "inset: 0x5604fff94be0 idx: 0 par: 3 pos: 0". Could you give me a concrete example I can test? JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org

  1   2   3   4   5   6   7   8   9   10   >