[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

[LyX/master] Fix depth bar optics

2024-06-14 Thread Jean-Marc Lasgouttes
commit 92aeaf5d73923af03b6ab0e1711b157375d4c8e4 Author: Daniel Ramoeller Date: Thu Aug 13 16:36:15 2020 +0200 Fix depth bar optics --- src/RowPainter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/RowPainter.cpp b/src/RowPainter.cpp index

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

[LyX features/biginset] InsetMathMacoTemplate: recompute metrics on editXY too

2024-06-11 Thread Jean-Marc Lasgouttes
commit b2b565e6cbfda5c62b22610617fef0b6d5472c62 Author: Jean-Marc Lasgouttes Date: Tue Jun 11 17:04:58 2024 +0200 InsetMathMacoTemplate: recompute metrics on editXY too This inset can change dimensions when edited (like macros can). Therefore Update::SinglePar should be set

[LyX/master] InsetMathMacoTemplate: recompute metrics on editXY too

2024-06-11 Thread Jean-Marc Lasgouttes
commit b54d3520753f79231c9f09a45f4efd9c8ac2d90a Author: Jean-Marc Lasgouttes Date: Tue Jun 11 17:04:58 2024 +0200 InsetMathMacoTemplate: recompute metrics on editXY too This inset can change dimensions when edited (like macros can). Therefore Update::SinglePar should be set

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

Re: The Demise of 2.4.1-devel

2024-06-11 Thread Jean-Marc Lasgouttes
Le 11/06/2024 à 15:59, Alexander Dunlap a écrit : LyX uses either cmake (required for windows) or autoconf[*] (from which other official releases are done AFAIK). What is your preference for testing? I have been using autoconf and qt6. So it is the easy case. What you need is around line 420

Re: operator << for Cursor seems to not work

2024-06-11 Thread Jean-Marc Lasgouttes
Le 30/05/2024 à 22:10, Kornel Benko a écrit : I see it while checking the output of LYXERR(Debug::FINDVERBOSE, "Advancing pos: cur=" << cur); The only output is 'lyxfind.cpp (4504): Advancing pos: cur=' Gdb never enters Cursor.cpp:164 LyXErr & operator<<(LyXErr & os,

Re: The Demise of 2.4.1-devel

2024-06-11 Thread Jean-Marc Lasgouttes
Le 11/06/2024 à 15:46, Alexander Dunlap a écrit : But to use it in C++ I think Riki's suggestion of using the Qt XML parsing libraries make sense. It seems the QT "xml" module needs to be loaded in order to use this -- can anyone help me with the best way to add this module to LyX's build

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

2024-06-11 Thread Jean-Marc Lasgouttes
Le 11/06/2024 à 15:17, Jean-Marc Lasgouttes a écrit : commit f48cf461010daa8aceb220a6762cb50c1192db0d Author: Jean-Marc Lasgouttes Date: Sat Jul 15 11:46:25 2023 +0200 Add "full" drawing strategy Riki, would it be OK to backport this change to 2.4.1? I would like to kn

[LyX/master] Add "full" drawing strategy

2024-06-11 Thread Jean-Marc Lasgouttes
commit f48cf461010daa8aceb220a6762cb50c1192db0d Author: Jean-Marc Lasgouttes Date: Sat Jul 15 11:46:25 2023 +0200 Add "full" drawing strategy With this patch, 3 draw strategies (set in prefs with \draw_strategy partial|backingstore|full) are available:

Re: Mail delivery to jaoma...@gmail.com

2024-06-11 Thread Jean-Marc Lasgouttes
Le 11/06/2024 à 14:20, Kornel Benko a écrit : José, I got this as answer of my email to you: From: Mail Delivery System To: kor...@lyx.org Subject: Mail delivery failed: returning message to sender Date: Tue, 11 Jun 2024 13:07:40 +0200 Hi Kornel, Currently, gmail rejects all messages from

[LyX/2.4.x] Set buffer when creating a MathData from parts of another one

2024-06-10 Thread Jean-Marc Lasgouttes
commit 2699a58cd7c98e54cb5cfbaf3f6cdf2621651a64 Author: Jean-Marc Lasgouttes Date: Thu Apr 25 17:13:15 2024 +0200 Set buffer when creating a MathData from parts of another one This is triggered by selecting part of an equation under Xcb platform (x11). Indeed, the current

[LyX/2.4.x] Try to make sure that math insets have a properly set buffer_ member

2024-06-10 Thread Jean-Marc Lasgouttes
commit 76188dcdf11e06e8772e900de04ccbfb079bafac Author: Jean-Marc Lasgouttes Date: Fri Oct 14 22:42:21 2022 +0200 Try to make sure that math insets have a properly set buffer_ member Set the buffer of contents that is added to a MathData object through MathData::insert() (both

[LyX/2.4.x] Set buffer_ correctly when inseting a math macro over a selection

2024-06-10 Thread Jean-Marc Lasgouttes
commit 13a34d6cd1bbf2a93d5b51624de7085d594cf8fa Author: Jean-Marc Lasgouttes Date: Thu Apr 25 14:28:10 2024 +0200 Set buffer_ correctly when inseting a math macro over a selection The code that handles this special macro insertion (in Cursor::mathMacroClose())) is very weird

[LyX/2.4.x] Sanitize cursors after a buffer has been reloaded

2024-06-10 Thread Jean-Marc Lasgouttes
commit 21096f696a0de7a95b0a12b1d9530c3b4aa399e7 Author: Jean-Marc Lasgouttes Date: Tue Apr 16 11:45:09 2024 +0200 Sanitize cursors after a buffer has been reloaded When a buffer is reloaded, its content may remain the same, but the memory allocation is new, so that the inset

[LyX/2.4.x] Document biginset branch

2024-06-10 Thread Jean-Marc Lasgouttes
commit 9b4b05e64ea0e692035052e5c5797545a6915b5a Author: Jean-Marc Lasgouttes Date: Sun Apr 21 22:26:41 2024 +0200 Document biginset branch --- status.24x | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/status.24x b/status.24x index 350e94d4da..78494339b1 100644

[LyX/2.4.x] Improve the code that limits scrolling at top/bottom

2024-06-10 Thread Jean-Marc Lasgouttes
commit e5aaa64b63ab0a0090df90b034925decd1c84061 Author: Jean-Marc Lasgouttes Date: Fri Nov 17 18:30:37 2023 +0100 Improve the code that limits scrolling at top/bottom The most visible part of this commit is the move of part of BufferView::updateMetrics to a new TextMetrics

[LyX/2.4.x] Always repaint the gray area below main inset

2024-06-10 Thread Jean-Marc Lasgouttes
commit c9f5f34fd703117981cc198ba910328b93e43e99 Author: Jean-Marc Lasgouttes Date: Tue Apr 16 23:55:24 2024 +0200 Always repaint the gray area below main inset Now that SingleParUpdate does not always lead to a full screen update when the height of the paragraph changes (see

[LyX/2.4.x] Remove some redundant calls to updatePosCache

2024-06-10 Thread Jean-Marc Lasgouttes
commit e51f9d9f885bdf76ba6a20671d0f730d6be87483 Author: Jean-Marc Lasgouttes Date: Mon Jul 24 15:35:16 2023 +0200 Remove some redundant calls to updatePosCache The setting of insets positions was done twice in updateMetrics. When one of the paragraph is a huge branch, this can

[LyX/2.4.x] Implement quick scroll

2024-06-10 Thread Jean-Marc Lasgouttes
commit 2434a3a28848669f7d8463bef70c668e0d6e615a Author: Jean-Marc Lasgouttes Date: Mon Jul 24 23:23:40 2023 +0200 Implement quick scroll Replace flag parameter for updateMetrics() by a `force' boolean. When it is false, the method keeps the metrics of paragraphs that are still

[LyX/2.4.x] Do not compute metrics at each preview when loading file

2024-06-10 Thread Jean-Marc Lasgouttes
commit 15eef6a2c7cdca128a3476f2109371f35b372eba Author: Jean-Marc Lasgouttes Date: Thu Dec 21 16:33:06 2023 +0100 Do not compute metrics at each preview when loading file With the branch-test.lyx file from #12297, loading takes forever when previews are activated

[LyX/2.4.x] Introduce new helpers ParagraphMetrics::top/bottom

2024-06-10 Thread Jean-Marc Lasgouttes
commit b1a0983570b01348685fbcb3070fc071f1b40c15 Author: Jean-Marc Lasgouttes Date: Tue Jul 25 16:31:13 2023 +0200 Introduce new helpers ParagraphMetrics::top/bottom This avoids code with position/ascent/descent that is difficult to follow. No change in function intended

[LyX/2.4.x] In the no-draw phase, do not cache the positions of not visible insets

2024-06-10 Thread Jean-Marc Lasgouttes
commit 5e1c414a21cd5d3345e7d3ff9181d7fa08c86830 Author: Jean-Marc Lasgouttes Date: Mon Jul 24 17:53:16 2023 +0200 In the no-draw phase, do not cache the positions of not visible insets This can make a big difference for a very large branch that contains lots of equations

[LyX/2.4.x] Enable Update::SinglePar in nested insets too

2024-06-10 Thread Jean-Marc Lasgouttes
commit 13c7fd78c6c4876330598e89146ef4c7e44998bd Author: Jean-Marc Lasgouttes Date: Mon Jul 17 14:43:29 2023 +0200 Enable Update::SinglePar in nested insets too The idea of single par update is to try to re-break only the paragraph containing the cursor (if this paragraph

[LyX/master] Remove debug code that is not very useful as it is.

2024-06-10 Thread Jean-Marc Lasgouttes
commit 30338ec6b36f654e32a6ac5fc85e8d3716d42abf Author: Jean-Marc Lasgouttes Date: Mon Jun 10 20:32:47 2024 +0200 Remove debug code that is not very useful as it is. --- src/insets/InsetIndex.cpp | 4 1 file changed, 4 deletions(-) diff --git a/src/insets/InsetIndex.cpp b/src/insets

Re: 2.4.1

2024-06-10 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? That would be great.

[LyX/2.4.1-devel] Fixup 39c7199a: the code did not do what it was supposed to

2024-06-09 Thread Jean-Marc Lasgouttes
commit 312dacb7f32ce5465e1fe3d5d7ac5e0b9b51e045 Author: Jean-Marc Lasgouttes Date: Wed Jun 5 23:05:22 2024 +0200 Fixup 39c7199a: the code did not do what it was supposed to (cherry picked from commit 92ef555abde86466b7ca3c3401ab8132258fc497) --- src/insets/InsetLayout.h | 2 +- 1

[LyX/2.4.1-devel] Do not draw appendix lines below en of document

2024-06-09 Thread Jean-Marc Lasgouttes
commit 13a6be1f9c4668dd661bc197df226b20e420e24b Author: Jean-Marc Lasgouttes Date: Thu Jun 6 14:32:00 2024 +0200 Do not draw appendix lines below en of document This bug is pretty old, but it was not visible because the grey area below the document would overwrite

[LyX features/biginset] Text::dispatch: ignore single par update when there is a full update

2024-06-08 Thread Jean-Marc Lasgouttes
commit cd3453ec453f811e4204eaad8d4df73fde7fa9c9 Author: Jean-Marc Lasgouttes Date: Fri Jun 7 16:49:25 2024 +0200 Text::dispatch: ignore single par update when there is a full update Reorder the tests so that, when the flag Update::SinglePar has been specified, it does not take

Re: [LyX/master] Implement InsetLayout::requiresPackage()

2024-06-08 Thread Jean-Marc Lasgouttes
Le 08/06/2024 à 17:04, Jürgen Spitzmüller a écrit : Am Samstag, dem 08.06.2024 um 16:29 +0200 schrieb Jean-Marc Lasgouttes: Maybe required(name)? We already have the required() member which returns the whole set. requiresFeature(name)? Yes, why not. Some members have required() that return

Re: [LyX/master] Implement InsetLayout::requiresPackage()

2024-06-08 Thread Jean-Marc Lasgouttes
Le 08/06/2024 à 16:26, Jürgen Spitzmüller a écrit : Am Samstag, dem 08.06.2024 um 15:37 +0200 schrieb Jean-Marc Lasgouttes: Is the Package part needed here? It is more a feature than a package that we require, isn't it? I started with requires, but this has been flagged as a keyword

Re: [LyX/master] Show full inset context-menu when clicking on text part of collapsible (#10370)

2024-06-08 Thread Jean-Marc Lasgouttes
Le 08/06/2024 à 12:22, Jürgen Spitzmüller a écrit : Am Samstag, dem 08.06.2024 um 11:16 +0200 schrieb Jean-Marc Lasgouttes: No this is a change that I did later. I did test that there is no crash in the 2.4.1-devel branch, which only has the hopefully safe part of biginset. I am relieved to see

Re: [LyX/master] Implement InsetLayout::requiresPackage()

2024-06-08 Thread Jean-Marc Lasgouttes
Le 08/06/2024 à 13:03, Juergen Spitzmueller a écrit : commit f1742ee26950f2f1cf520b787e59e6adaa06d34d Author: Juergen Spitzmueller Date: Sat Jun 8 13:02:26 2024 +0200 Implement InsetLayout::requiresPackage() Is the Package part needed here? It is more a feature than a package that we

Re: Scrolling unresponsive in LyX 2.4.0

2024-06-08 Thread Jean-Marc Lasgouttes
Le 07/06/2024 à 22:01, Richard Kimberly Heck a écrit : On 6/7/24 15:13, Hung-Tzu Chang via lyx-users wrote: I recently installed LyX 2.4.0 on macOS 12.7.5(intel) and found that scrolling plain-text (revtex4-2, with several sections with math, comments and LyX note plus an appendix but no

Re: [LyX/master] Show full inset context-menu when clicking on text part of collapsible (#10370)

2024-06-08 Thread Jean-Marc Lasgouttes
Le 08/06/2024 à 10:40, Jürgen Spitzmüller a écrit : Am Freitag, dem 07.06.2024 um 16:54 +0200 schrieb Jean-Marc Lasgouttes: This should be fixed in master now. This was actually more general than just an inset-split issue. Thank you, I confirm this fixes the crash for me, too. Does this need

Re: [LyX/master] Show full inset context-menu when clicking on text part of collapsible (#10370)

2024-06-07 Thread Jean-Marc Lasgouttes
Le 07/06/2024 à 16:05, Jürgen Spitzmüller a écrit : Am Freitag, dem 07.06.2024 um 15:29 +0200 schrieb Jürgen Spitzmüller: I suspect some update is missing now (after the biginset change) in the splitInset chain, but I do not see where (and which). JMarc, do you happen to have an idea? As a

[LyX/master] Text::dispatch: ignore single par update when there is a full update

2024-06-07 Thread Jean-Marc Lasgouttes
commit a1856427468cd4e442c77f394715c825d919f902 Author: Jean-Marc Lasgouttes Date: Fri Jun 7 16:49:25 2024 +0200 Text::dispatch: ignore single par update when there is a full update Reorder the tests so that, when the flag Update::SinglePar has been specified, it does not take

Re: FW: Lyx 2.4 - strange rendering problem in Windows

2024-06-06 Thread Jean-Marc Lasgouttes
Le 05/06/2024 à 17:09, Dr Paul Verschueren a écrit : Thanks to all for making 2.4 a reality. I’ve just installed on Win11 and have a strange issue: when a document is scrolled or moved up or down, a ghost image is left behind (see screenshot below). This disappears on single clicking in

Re: Error: attempt to compare iterators from different sequences

2024-06-06 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] Fixup de5f63eeb: the code did not do what it was supposed to

2024-06-06 Thread Jean-Marc Lasgouttes
Le 06/06/2024 à 17:49, Richard Kimberly Heck a écrit : On 6/6/24 02:55, Jean-Marc Lasgouttes wrote: Le 06/06/2024 à 08:48, Jean-Marc Lasgouttes a écrit : commit 92ef555abde86466b7ca3c3401ab8132258fc497 Author: Jean-Marc Lasgouttes Date:   Wed Jun 5 23:05:22 2024 +0200 Fixup de5f63eeb

[LyX/2.4.x] Fixup 39c7199a: the code did not do what it was supposed to

2024-06-06 Thread Jean-Marc Lasgouttes
commit 312dacb7f32ce5465e1fe3d5d7ac5e0b9b51e045 Author: Jean-Marc Lasgouttes Date: Wed Jun 5 23:05:22 2024 +0200 Fixup 39c7199a: the code did not do what it was supposed to (cherry picked from commit 92ef555abde86466b7ca3c3401ab8132258fc497) --- src/insets/InsetLayout.h | 2 +- 1

Re: Appendix border lines painting cross document border

2024-06-06 Thread Jean-Marc Lasgouttes
Le 06/06/2024 à 16:01, Richard Kimberly Heck a écrit : So the bug will disappear when branch 2.4.1-devel is merged, but still I'd like to back port this commit. Riki, OK to back port to 2.4.x? Yes. Done now (although I fix had to fix the fix on master). JMarc -- lyx-devel mailing list

[LyX/2.4.x] Do not draw appendix lines below en of document

2024-06-06 Thread Jean-Marc Lasgouttes
commit 13a6be1f9c4668dd661bc197df226b20e420e24b Author: Jean-Marc Lasgouttes Date: Thu Jun 6 14:32:00 2024 +0200 Do not draw appendix lines below en of document This bug is pretty old, but it was not visible because the grey area below the document would overwrite

[LyX/master] Fixup 7acfbe0fccc7: forgot to change one location

2024-06-06 Thread Jean-Marc Lasgouttes
commit c96d3a03400893f440dca7e68ed87bd70bea0b39 Author: Jean-Marc Lasgouttes Date: Thu Jun 6 17:27:24 2024 +0200 Fixup 7acfbe0fccc7: forgot to change one location --- src/RowPainter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RowPainter.cpp b/src

Re: Unbinding Alt-1 Does Not Work

2024-06-06 Thread Jean-Marc Lasgouttes
Le 06/06/2024 à 16:50, Richard Kimberly Heck a écrit : I assume there is also ~C? Does that ever get used? It's not in any of our files, only ~S. Allowing for the possibility of something like C-~S-~A-8 is not going to be trivial, so I'm wondering if we could change that. I guess that

Re: Unbinding Alt-1 Does Not Work

2024-06-06 Thread Jean-Marc Lasgouttes
Le 04/06/2024 à 17:31, Richard Kimberly Heck a écrit : There are other cases like C-~S-underscore. On most English keyboards, underscore is shifted, but it might not be even on all English keyboards. I guess the only solution then is to figure out how to make unbinding work for sequences with

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

2024-06-06 Thread Jean-Marc Lasgouttes
Le 19/05/2024 à 17:35, Scott Kostyshak a écrit : If I enter a math macro from below/above, it does not paint correctly. From left or right, it does display correctly. For an example, you can search in the Math manual for "Math macros". I am not totally sure about what to look for. JMarc --

Re: Appendix border lines painting cross document border

2024-06-06 Thread Jean-Marc Lasgouttes
Le 04/06/2024 à 10:02, Pavel Sanda a écrit : Hi, just a small painting issue: 1. start new file 2. document -> start appendix here 3. type anything 4. the border lines stretch below the end of document 5. it get's fixed byt enter 6. type again -> border is wrong again This is fixed in master

[LyX/master] Do not draw appendix lines below en of document

2024-06-06 Thread Jean-Marc Lasgouttes
commit 7acfbe0fccc729dcf5d910a4049b25e9943329fc Author: Jean-Marc Lasgouttes Date: Thu Jun 6 14:32:00 2024 +0200 Do not draw appendix lines below en of document This bug is pretty old, but it was not visible because the grey area below the document would overwrite

Re: Appendix border lines painting cross document border

2024-06-06 Thread Jean-Marc Lasgouttes
Le 04/06/2024 à 10:02, Pavel Sanda a écrit : Hi, just a small painting issue: 1. start new file 2. document -> start appendix here 3. type anything 4. the border lines stretch below the end of document 5. it get's fixed byt enter 6. type again -> border is wrong again This is 2.4.x, right? I

Re: Error: attempt to compare iterators from different sequences

2024-06-06 Thread Jean-Marc Lasgouttes
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 was faulty. Could you check that the issue is gone now? JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: [LyX/master] Fixup de5f63eeb: the code did not do what it was supposed to

2024-06-06 Thread Jean-Marc Lasgouttes
Le 06/06/2024 à 08:48, Jean-Marc Lasgouttes a écrit : commit 92ef555abde86466b7ca3c3401ab8132258fc497 Author: Jean-Marc Lasgouttes Date: Wed Jun 5 23:05:22 2024 +0200 Fixup de5f63eeb: the code did not do what it was supposed to Riki, I think this should go to 2.4.x too ;) It took me

[LyX/master] Fixup de5f63eeb: the code did not do what it was supposed to

2024-06-06 Thread Jean-Marc Lasgouttes
commit 92ef555abde86466b7ca3c3401ab8132258fc497 Author: Jean-Marc Lasgouttes Date: Wed Jun 5 23:05:22 2024 +0200 Fixup de5f63eeb: the code did not do what it was supposed to --- src/insets/InsetLayout.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets

Re: Timeout while loading pages on www.lyx.org

2024-06-05 Thread Jean-Marc Lasgouttes
This is a general problem, the server is overloaded by robots, we need to set some safeguards. JMarc Le 5 juin 2024 10:08:46 GMT+02:00, "Jean-Pierre Chrétien" a écrit : >Dear developers > >I get a timeout while loading > >https://www.lyx.org/AdditionalSoftware > >Am I alone to see this ? >

Re: Unbinding Alt-1 Does Not Work

2024-06-04 Thread Jean-Marc Lasgouttes
Le 04/06/2024 à 10:14, Pavel Sanda a écrit : Sorry for my ignorance, what is the '~' in ~S supposed to mean? Ignore Shift state? I see we use it like crazy in aqua.bind and bunch of other places. It is supposedly useful with a French keyboard, where the numbers require shift. I do not have

[LyX/2.4.1-devel] Fix display of math hull inset in RTL context

2024-06-02 Thread Jean-Marc Lasgouttes
commit 342a0f543812e21dade99b7fa46ea674075b8199 Author: Jean-Marc Lasgouttes Date: Thu May 16 14:56:28 2024 +0200 Fix display of math hull inset in RTL context The inversion of margin was done in the wrong way for RTL support. (cherry picked from commit

[LyX/2.4.1-devel] small changes backported from master

2024-06-02 Thread Jean-Marc Lasgouttes
commit 3941c487e85a5c2a2b7897c9a6da3ac2d00b1da2 Author: Jean-Marc Lasgouttes Date: Fri Apr 19 17:16:00 2024 +0200 small changes backported from master --- INSTALL | 6 +++--- README | 8 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/INSTALL b/INSTALL index

[LyX/2.4.1-devel] Fix compilation with msvc 2019

2024-06-02 Thread Jean-Marc Lasgouttes
commit 25f11742036f762aa1a83d377bc416a519bca6ef Author: Jean-Marc Lasgouttes Date: Sun Apr 7 20:41:13 2024 +0200 Fix compilation with msvc 2019 'uint' is not defined, 'unsigned int' is better. (cherry picked from commit c7f53afd319fc9028be74f8949cec00063972462) --- src

[LyX/2.4.1-devel] Do not include in InsetInfo.h

2024-06-02 Thread Jean-Marc Lasgouttes
commit 89afdb050f2b59aeed09bb199cb698d904e2144d Author: Jean-Marc Lasgouttes Date: Thu Apr 4 17:35:54 2024 +0200 Do not include in InsetInfo.h This is used by getDate/getTime, which actually should not be InsetInfoParams methods, but functions in anonymous namespace

[LyX/2.4.1-devel] Compilation fix with Qt < 5.7

2024-06-02 Thread Jean-Marc Lasgouttes
commit 0cd169d6baecb4e6854c408a7452a843e57070e6 Author: Jean-Marc Lasgouttes Date: Wed Apr 3 12:39:09 2024 +0200 Compilation fix with Qt < 5.7 Qt::ImAnchorRectangle has only been introduced in Qt 5.7. Since it is used to answer a query from the IM machinery, there is no n

Re: layout update in master?

2024-06-02 Thread Jean-Marc Lasgouttes
Le 02/06/2024 à 19:37, Richard Kimberly Heck a écrit : Right. I think -dbg any loads absolutely every layout file it can find. If the layout formats are not up to date, that is going to take even longer than it otherwise would. I don't think caching previous loads is possible. Some of them

Re: [LyX/2.4.x] New status file, and status for last commit

2024-06-02 Thread Jean-Marc Lasgouttes
Le 02/06/2024 à 15:18, Jean-Marc Lasgouttes a écrit : Le 02/06/2024 à 14:44, Kornel Benko a écrit : This is very confusing. If 2.4.x will become 2.4.1, what happens with 2.4.1~devel? It will go to 2.4.2. The 2.4.1-devel branch is "next stable release which is not an emergency re

Re: [LyX/2.4.x] New status file, and status for last commit

2024-06-02 Thread Jean-Marc Lasgouttes
Le 02/06/2024 à 14:44, Kornel Benko a écrit : This is very confusing. If 2.4.x will become 2.4.1, what happens with 2.4.1~devel? It will go to 2.4.2. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: Lyx 2.4.0 producing performing inconsistently on Mac OSX

2024-06-02 Thread Jean-Marc Lasgouttes
Hi Robert, Le 02/06/2024 à 08:24, Robert Betz a écrit : (3) There is inconsistency on rendering the maths equations in the Lyx interface -- sometimes they will not render at all and stay in the blue editing mode colout, sometimes they will render to the black mode, but the size is not the

Re: Regression in 2.4.0

2024-06-01 Thread Jean-Marc Lasgouttes
Le 01/06/2024 à 19:07, Richard Kimberly Heck a écrit : The real issue is now fixed at b469c142ad579d. Riki, is it something that I should push to 2.4.1-devel? I guess it is too late for 2.4.0, which we do not want to delay forever. Or I can sit on it and commit is as soon as the 2.4.x is

[LyX/2.4.x] Fix display of math hull inset in RTL context

2024-06-01 Thread Jean-Marc Lasgouttes
commit 342a0f543812e21dade99b7fa46ea674075b8199 Author: Jean-Marc Lasgouttes Date: Thu May 16 14:56:28 2024 +0200 Fix display of math hull inset in RTL context The inversion of margin was done in the wrong way for RTL support. (cherry picked from commit

[LyX/master] Extend tab context menu features

2024-06-01 Thread Jean-Marc Lasgouttes
commit a114f12868f8b48b9507aa22bf4156af0062ac97 Author: Daniel Ramoeller Date: Sat Feb 27 07:05:54 2021 +0100 Extend tab context menu features Add - Close Other Tabs - Close Tabs to Left/Right - Move Tab to Start/End - Show Enclosing Folder to the

[LyX/2.4.1-devel] Set buffer when creating a MathData from parts of another one

2024-06-01 Thread Jean-Marc Lasgouttes
commit 2699a58cd7c98e54cb5cfbaf3f6cdf2621651a64 Author: Jean-Marc Lasgouttes Date: Thu Apr 25 17:13:15 2024 +0200 Set buffer when creating a MathData from parts of another one This is triggered by selecting part of an equation under Xcb platform (x11). Indeed, the current

[LyX/2.4.1-devel] Try to make sure that math insets have a properly set buffer_ member

2024-06-01 Thread Jean-Marc Lasgouttes
commit 76188dcdf11e06e8772e900de04ccbfb079bafac Author: Jean-Marc Lasgouttes Date: Fri Oct 14 22:42:21 2022 +0200 Try to make sure that math insets have a properly set buffer_ member Set the buffer of contents that is added to a MathData object through MathData::insert() (both

Re: Regression in 2.4.0

2024-06-01 Thread Jean-Marc Lasgouttes
Le 16/05/2024 à 15:03, Jean-Marc Lasgouttes a écrit : Le 15/05/2024 à 15:00, Udicoudco a écrit : About the side, I thought I had tested that in some way. Is the side consistent across all methods to switch to Hebrew (babel, polyglossia, something else I do not know…)? It turns out that we

Re: [LyX/ next] Prepare the removal of Python 2 support

2024-05-31 Thread Jean-Marc Lasgouttes
Le 31/05/2024 à 13:19, José Matos a écrit : On Fri, 2024-05-31 at 11:47 +0200, Pavel Sanda wrote: Another important distinction to make here is in these arguments are if the issues are related to the users or to the developers? For my part, I am stuck at work with Ubuntu 20.04 and python 3.8.

Re: [LyX/ next] Prepare the removal of Python 2 support

2024-05-30 Thread Jean-Marc Lasgouttes
Le 30/05/2024 à 17:58, José Matos a écrit : In order to pay the technical debt that is the Python 2 support I intend to start removing its support. The first step is to change the build support to ignore Python 2. Since that is code that, usually, I run away from I would like to get your

Re: UPDATE: Pasted text from another document underlined in blue

2024-05-29 Thread Jean-Marc Lasgouttes
Le 29/05/2024 à 17:07, Christopher Menzel a écrit : I just figured this out. For some reason, LyX thinks the languages of the two documents are different. (They are both set to the system Default.) Fortunately, the underlining can be turned off in Preferences → Language Settings. Seems like a

Re: CMake: LYX_PROGRAM_SUFFIX=OFF -> user dir .lyx or .lyx2.4?

2024-05-28 Thread Jean-Marc Lasgouttes
Le 26/05/2024 à 12:30, Kornel Benko a écrit : Am Sun, 26 May 2024 08:52:30 +0200 schrieb Jean-Marc Lasgouttes : For a reference point, that is what happens with auto tools. However the macOS packaging usus the same convention as you describe. Kornel, we should decide what is best :) I

Re: CMake: LYX_PROGRAM_SUFFIX=OFF -> user dir .lyx or .lyx2.4?

2024-05-26 Thread Jean-Marc Lasgouttes
For a reference point, that is what happens with auto tools. However the macOS packaging usus the same convention as you describe. Kornel, we should decide what is best :) JMarc Le 26 mai 2024 04:52:40 GMT+02:00, Scott Kostyshak a écrit : >(not important for 2.4.0 release) > > >If I set: > >

Re: Error: attempt to compare iterators from different sequences

2024-05-20 Thread Jean-Marc Lasgouttes
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. Note my version shows I've pulled in Riki's fix: $ lyx --version LyX 2.5.0~devel (2024-05-20) Git commit hash 2d86b881 I attach the

Re: [LyX/master] Address Qt 6.7 deprecation warning

2024-05-20 Thread Jean-Marc Lasgouttes
Le 20/05/2024 à 14:02, Jürgen Spitzmüller a écrit : Am Montag, dem 20.05.2024 um 10:37 +0200 schrieb Jean-Marc Lasgouttes: What about putting it in  2.4.1? Yes, why not. Currently it is just another annoying warning, though. Yes, but eventually it will bite. And we know that 2.4 will stay

Re: Error: attempt to compare iterators from different sequences

2024-05-20 Thread Jean-Marc Lasgouttes
This is very weird. It is at the same location AFAICS. JMarc Le 20 mai 2024 03:45:23 GMT+02:00, Scott Kostyshak a écrit : -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: [LyX/master] Address Qt 6.7 deprecation warning

2024-05-20 Thread Jean-Marc Lasgouttes
What about putting it in 2.4.1? JMarc Le 20 mai 2024 09:49:57 GMT+02:00, Juergen Spitzmueller a écrit  : >commit 44633c7f729e79ea023f2a5ccbbdd0002411619f >Author: Juergen Spitzmueller >Date: Mon May 20 09:49:10 2024 +0200 > >Address Qt 6.7 deprecation warning >--- >

Re: Error: attempt to compare iterators from different sequences

2024-05-19 Thread Jean-Marc Lasgouttes
Le 19/05/2024 à 20:20, Jean-Marc Lasgouttes a écrit : If you look at the error details, it seems to me that the addresses are different. But this is weird. Note that we can use count() instead of find(), which would solve the issue. What about that? It seems that the compiler was right

Re: Error: attempt to compare iterators from different sequences

2024-05-19 Thread Jean-Marc Lasgouttes
Le 19/05/2024 à 20:11, Richard Kimberly Heck a écrit : On 5/19/24 13:55, Scott Kostyshak wrote: On Sun, May 19, 2024 at 07:27:42PM GMT, Jean-Marc Lasgouttes wrote: Le 18/05/2024 à 17:28, Scott Kostyshak a écrit : When I compile LyX with some compiler debug flags and extra checks, I get

Re: Error: attempt to compare iterators from different sequences

2024-05-19 Thread Jean-Marc Lasgouttes
Le 19/05/2024 à 19:55, Scott Kostyshak a écrit : On Sun, May 19, 2024 at 07:27:42PM GMT, Jean-Marc Lasgouttes wrote: Le 18/05/2024 à 17:28, Scott Kostyshak a écrit : When I compile LyX with some compiler debug flags and extra checks, I get the output below when trying to compile a .lyx file

Re: Workarea does not follow search in master

2024-05-19 Thread Jean-Marc Lasgouttes
Le 16/05/2024 à 18:48, Scott Kostyshak a écrit : Not sure if it's related, but after a search, if I press escape to hide the search bar, the part of the work area behind the search panel is missing a painting update until I scroll. I failed to reproduce this with master with xcb and wayland,

Re: Bug while cutting rows of a table

2024-05-19 Thread Jean-Marc Lasgouttes
Le 19/05/2024 à 19:14, emile a écrit : On several occasions I have encountered a LyX2.4R4 crash when trying to delete several consecutive rows from a table, either under Windows or Linux. I have reproduced this phenomenon on the empty table attached. Hello Émile, Can you describe precisely

Re: Error: attempt to compare iterators from different sequences

2024-05-19 Thread Jean-Marc Lasgouttes
Le 18/05/2024 à 17:28, Scott Kostyshak a écrit : When I compile LyX with some compiler debug flags and extra checks, I get the output below when trying to compile a .lyx file to PDF. Anything worth fixing here? Definitely. Could you run it under gdb and tell us where the error happened to

Re: Tests failing on recent master

2024-05-19 Thread Jean-Marc Lasgouttes
Le 18/05/2024 à 17:45, Jürgen Spitzmüller a écrit : Am Samstag, dem 18.05.2024 um 16:28 +0200 schrieb Kornel Benko: How should I know? I am reacting to the output of valgrind only. I'd like to understand why the patch is needed. And why only for this boolean. Otherwise it seems just a shot in

Re: Tests failing on recent master

2024-05-18 Thread Jean-Marc Lasgouttes
Le 18/05/2024 à 13:52, Kornel Benko a écrit : Test passes after the attached patch. The patch looks good. Is this where other variables are initialized, or is it in the constructor here? JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: Workarea does not follow search in master

2024-05-17 Thread Jean-Marc Lasgouttes
Le 16/05/2024 à 06:25, Jürgen Spitzmüller a écrit : The screen moves a bit, but not to the point where the highlighted match is. Should be OK now. Note that the cause was more profound than I anticipated, I hope I got it right. I added some assertions for good measure, so that we will soon

[LyX features/biginset] Fix up a4d9315b: handle metrics of not visible paragraphs

2024-05-17 Thread Jean-Marc Lasgouttes
commit 5c5410c39cd7f3dfe4e187eedb7a4222e07c4b83 Author: Jean-Marc Lasgouttes Date: Fri May 17 15:42:08 2024 +0200 Fix up a4d9315b: handle metrics of not visible paragraphs The code is not ready for situations where some paragraphs that are not visible have metrics available

[LyX/master] Fix up a4d9315b: handle metrics of not visible paragraphs

2024-05-17 Thread Jean-Marc Lasgouttes
commit 145af7c2ac1eb2c5ec5102a7a11cb740be7b3c43 Author: Jean-Marc Lasgouttes Date: Fri May 17 15:42:08 2024 +0200 Fix up a4d9315b: handle metrics of not visible paragraphs The code is not ready for situations where some paragraphs that are not visible have metrics available

Re: Tests failing on recent master

2024-05-17 Thread Jean-Marc Lasgouttes
Le 17/05/2024 à 14:46, Scott Kostyshak a écrit : On Fri, May 17, 2024 at 12:04:49PM GMT, Kornel Benko wrote: Am Fri, 17 May 2024 05:57:27 +0200 schrieb "Jürgen Spitzmüller" : Am Donnerstag, dem 16.05.2024 um 22:19 +0200 schrieb Kornel Benko: -- Error line = /usr2/src/lyx/lyx-

Re: Regression in 2.4.0

2024-05-16 Thread Jean-Marc Lasgouttes
Le 16/05/2024 à 22:38, Jean-Marc Lasgouttes a écrit : Why do we have an exception for arabic-arabi? Is the output different from hebrew? My guess is that it was in 2017 when I wrote f1dd80f464b46f61:    * the language arabic_arabi also sets leqno by default. This is   currently

  1   2   3   4   5   6   7   8   9   10   >