Re: Deprecated warning

2025-05-23 Thread Jean-Marc Lasgouttes
Le 19/05/2025 à 11:17, Kornel Benko a écrit : Using external hunspell, I see these warnings /usr2/src/lyx/lyx-git/src/HunspellChecker.cpp:372:9: warning: 'spell' is deprecated [-Wdeprecated-declarations] /usr2/src/lyx/lyx-git/src/HunspellChecker.cpp:434:35: warning: 'suggest' is deprecated [-W

Re: Implementing \intertext and \shortintertext

2025-05-22 Thread Jean-Marc Lasgouttes
Le 22/05/2025 à 18:28, Pavel Sanda a écrit : On Thu, May 22, 2025 at 05:51:26PM +0200, Jean-Marc Lasgouttes wrote: Le 22/05/2025 ?? 16:23, Pavel Sanda a écrit : On Thu, May 22, 2025 at 10:58:29PM +0900, Koji Yokota wrote: I???m not sure if this is the good timing to propose, but I???d like to

Re: Implementing \intertext and \shortintertext

2025-05-22 Thread Jean-Marc Lasgouttes
Le 22/05/2025 à 16:23, Pavel Sanda a écrit : On Thu, May 22, 2025 at 10:58:29PM +0900, Koji Yokota wrote: I???m not sure if this is the good timing to propose, but I???d like to introduce a support for \intertext and \shortintertext commands in an appropriate LyX version. I have a patch for it

Re: Implementing \intertext and \shortintertext

2025-05-22 Thread Jean-Marc Lasgouttes
Le 22/05/2025 à 16:23, Pavel Sanda a écrit : On Thu, May 22, 2025 at 10:58:29PM +0900, Koji Yokota wrote: I???m not sure if this is the good timing to propose, but I???d like to introduce a support for \intertext and \shortintertext commands in an appropriate LyX version. I have a patch for it

Re: Implementing \intertext and \shortintertext

2025-05-22 Thread Jean-Marc Lasgouttes
Le 22/05/2025 à 15:58, Koji Yokota a écrit : Dear All, I’m not sure if this is the good timing to propose, but I’d like to introduce a support for \intertext and \shortintertext commands in an appropriate LyX version. I have a patch for it as attached to this mail which is also available on a

Re: Crash while searching (and displaying table?) in master

2025-05-19 Thread Jean-Marc Lasgouttes
Le 16/05/2025 à 21:11, Pavel Sanda a écrit : On Wed, May 14, 2025 at 11:52:24AM +0200, Jean-Marc Lasgouttes wrote: I can reproduce this issue. Does the patch here work for you? I can confirm that your patch fixes the crash here. I am actually frustrated because I do not really understand

Warning: dvipng failed to generate images from lyxpreviewSZhsFp.dvi... fallback to legacy method

2025-05-19 Thread Jean-Marc Lasgouttes
Dear all, With UserGuide, I get a lot of output concerning previews: Warning: dvipng failed to generate images from lyxpreviewSZhsFp.dvi... fallback to legacy method Warning: epstopdf failed on page 1, file lyxpreviewSZhsFp.001 Warning: epstopdf failed on page 2, file lyxpreviewSZhsFp.002 [...

Re: Towards #13132 - Extend the default length of pdftex log lines

2025-05-17 Thread Jean-Marc Lasgouttes
Le 17 mai 2025 22:07:46 GMT+02:00, Pavel Sanda a écrit : >Hi, > >I would like to get your feedback wrt #13132. > >TeXLive > 2020 implements option for extending the default length of >la/pdf/lua/xe/tex log lines >(e.g. pdflatex -cnf max_print_line=999) which would be helpful - our log >parser wo

Re: How to create an empty macro?

2025-05-16 Thread Jean-Marc Lasgouttes
Le 16 mai 2025 19:40:07 GMT+02:00, Pavel Sanda a écrit : >I'd keep CT only in master. We do not coordinate translations across minor >releases and there is a high chance the CT-on in branch manual would make it >into actual release, because no one is checking. Ok, I'll fix that. JMarc -- lyx

Re: Crash while searching (and displaying table?) in master

2025-05-16 Thread Jean-Marc Lasgouttes
Le 16 mai 2025 21:11:59 GMT+02:00, Pavel Sanda a écrit : >Don't know if it's related, but with your fix, the second time I hit Find >button >the crash is not there anymore, but the Idx inset uncollapses with broken >geometry -- the line gets broken. That might cause subsequent problems? I saw t

Re: Compilation Failure in Master

2025-05-16 Thread Jean-Marc Lasgouttes
Le 16/05/2025 à 16:31, Kornel Benko a écrit : External libs: Yes, it was anyway the default for prerelease|release build-types. While debugging the default was OFF for development|gprof build-types. Now the default would be always ON except for Windows. This was also done with autoconf when gcc

Re: Compilation Failure in Master

2025-05-16 Thread Jean-Marc Lasgouttes
Le 16/05/2025 à 15:40, Scott Kostyshak a écrit : From what I understand, this would set BOOST, Z, DTL, HUNSPELL, and ICONV to default to ON? I don't have any personal preference since it's easy for me to change my build script accordingly, but I don't know if JMarc's original argument of being

Re: segfault in master

2025-05-16 Thread Jean-Marc Lasgouttes
Le 16/05/2025 à 12:00, Pavel Sanda a écrit : On Thu, May 15, 2025 at 04:44:43PM -0400, Alexander Dunlap wrote: I have been trying out the master branch and am somewhat frequently getting segfaults with the error below in the dialogue box. It often seems to happen when typing math commands that L

Re: Compilation Failure in Master

2025-05-16 Thread Jean-Marc Lasgouttes
Le 16/05/2025 à 10:13, Kornel Benko a écrit : Am Thu, 15 May 2025 17:50:26 +0200 schrieb Scott Kostyshak : Do you mean CMake should turn set LYX_EXTERNAL_ICONV passed on the version of the compiler? I still don't know why it succeeds for me (with the default of LYX_EXTERNAL_ICONV=OFF) and not

Re: Compilation Failure in Master

2025-05-15 Thread Jean-Marc Lasgouttes
Le 15/05/2025 à 17:50, Scott Kostyshak a écrit : I still don't know why it succeeds for me (with the default of LYX_EXTERNAL_ICONV=OFF) and not for Riki. Could be different compiler versions or could be different othe CMake flags. Kornel does it compile successfully (although with warnings) for y

Re: Compilation Failure in Master

2025-05-15 Thread Jean-Marc Lasgouttes
Le 15/05/2025 à 12:31, Scott Kostyshak a écrit : On Thu, May 15, 2025 at 08:49:32AM +0200, Jean-Marc Lasgouttes wrote: Le 15 mai 2025 01:46:37 GMT+02:00, Richard Kimberly Heck a écrit : I was just using defaults: mkdir build cd buildcmake ..; and that's it. If I set LYX_EXTERNAL_ICO

Re: Compilation Failure in Master

2025-05-14 Thread Jean-Marc Lasgouttes
Le 15 mai 2025 01:46:37 GMT+02:00, Richard Kimberly Heck a écrit : > >I was just using defaults: > >mkdir build >cd buildcmake ..; and that's it. If I set LYX_EXTERNAL_ICONV to ON, then it >builds. The error seems to be in building iconv itself. > We ship libinconv 1.15. It might be that the la

Re: How to create an empty macro?

2025-05-14 Thread Jean-Marc Lasgouttes
Le 14/05/2025 à 17:06, Richard Kimberly Heck a écrit : On 5/14/25 9:32 AM, Jean-Marc Lasgouttes wrote: Le 13/05/2025 à 17:45, Richard Kimberly Heck a écrit : I'd just remove it. This is way too complicated for the User Guide anyway. I did that. Should I backport to branch? What am I sup

Re: How to create an empty macro?

2025-05-14 Thread Jean-Marc Lasgouttes
Le 13/05/2025 à 17:45, Richard Kimberly Heck a écrit : I'd just remove it. This is way too complicated for the User Guide anyway. I did that. Should I backport to branch? What am I supposed to do in terms of change tracking ? JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org https://li

Re: Crash while searching (and displaying table?) in master

2025-05-14 Thread Jean-Marc Lasgouttes
8ae346c2a5abfc93c6d68cf147df05fd4d9104e7 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 14 May 2025 11:38:43 +0200 Subject: [PATCH] Fix crashes related to simple search and metrics update These crashes are a consequence of commit 7f85024f, which improved performance by not caching position of insets

Re: How to create an empty macro?

2025-05-12 Thread Jean-Marc Lasgouttes
Le 12/05/2025 à 16:57, Richard Kimberly Heck a écrit : On 5/12/25 5:47 AM, Jean-Marc Lasgouttes wrote: Hi there, I tried to replace the example in section 6.9 Branches of the user's guide by proper math macros, because the example as it is breaks previews. So I would like to d

How to create an empty macro?

2025-05-12 Thread Jean-Marc Lasgouttes
Hi there, I tried to replace the example in section 6.9 Branches of the user's guide by proper math macros, because the example as it is breaks previews. So I would like to define \newcommand[1]{\question}{#1} \newcommand[1]{\answer}{} However, I cannot construct a math macro that does not us

Re: TextMetrics error

2025-05-11 Thread Jean-Marc Lasgouttes
Le 11/05/2025 à 01:13, Scott Kostyshak a écrit : TextMetrics.cpp (1157): MacroContext not initialised! Going through the buffer again and hope the context is better then. Please report This is fixed now. Looks good. I extended the fix to moving rows/columns at a7f81701. Thanks. Basical

Re: Scrolling assertion with big ERT inset

2025-05-10 Thread Jean-Marc Lasgouttes
Le 08/05/2025 à 13:39, Scott Kostyshak a écrit : In the attached document, if I scroll with mouse wheel or two-finger scroll (not with dragging the scrollbar) down to the end of the document, and then I two-finger scroll up to the beginning, I get an assertion at some point along the way. Can any

Re: TextMetrics error

2025-05-10 Thread Jean-Marc Lasgouttes
Le 09/05/2025 à 16:20, Jean-Pierre Chrétien a écrit : In fact, I have it readable in the local git repo : jp@pelican:/ext/lyx/master$ ls -l lib/unicode_alphanum_variants -rw-r--r-- 1 jp jp 8675 25 mars  17:55 lib/unicode_alphanum_variants but not in the local/share tree : $ find /usr/local/sha

Re: TextMetrics error

2025-05-10 Thread Jean-Marc Lasgouttes
Le 06/05/2025 à 11:13, Scott Kostyshak a écrit : On Tue, May 06, 2025 at 08:33:36AM +0200, Jean-Marc Lasgouttes wrote: Le 01/05/2025 à 18:28, Jean-Pierre Chrétien a écrit : Excellent. I made it visible to understand when it triggers. Can you describe what you do? The message occurs when I

Re: Another icon set?

2025-05-09 Thread Jean-Marc Lasgouttes
Le 12/03/2025 à 14:18, Jürgen Spitzmüller a écrit : Am Mittwoch, dem 12.03.2025 um 13:39 +0100 schrieb Jean-Marc Lasgouttes: I see. There are also the icons of the outliner that stand out. But they should be taken from the set! But it is very nice (although I'll need time to get used

Re: OSU OSL possible shutdown

2025-05-09 Thread Jean-Marc Lasgouttes
Le 03/05/2025 à 22:05, Pavel Sanda a écrit : It seem that recent US budget cuts might affect our infra provider and we'll need to think where to move next... https://osuosl.org/blog/osl-future/ What a nightmare... For their sake and ours, let's hope that they can survive this tempest. JMarc

Re: Scrolling assertion with big ERT inset

2025-05-09 Thread Jean-Marc Lasgouttes
Le 08/05/2025 à 13:39, Scott Kostyshak a écrit : In the attached document, if I scroll with mouse wheel or two-finger scroll (not with dragging the scrollbar) down to the end of the document, and then I two-finger scroll up to the beginning, I get an assertion at some point along the way. Can any

Re: TextMetrics error

2025-05-09 Thread Jean-Marc Lasgouttes
Le 06/05/2025 à 11:30, Jean-Pierre Chrétien a écrit : I tried to insert online math, I get this message (unrelated, I guess): Could not find variant symbols file This one is strange. Do you have a lib/unicode_alphanum_variants file? Yes I do not understand what happens, the code is very

Re: tex2lyx and svjour3

2025-05-07 Thread Jean-Marc Lasgouttes
Le 7 mai 2025 18:30:16 GMT+02:00, "Jürgen Spitzmüller" a écrit : >Yes, this problem has been reported several times, but it hasn't been >addressed yet. One solution would be to rename the layout (but I think >there are other layouts with the same problem), another to make tex2lyx >aware of the di

Re: TextMetrics error

2025-05-05 Thread Jean-Marc Lasgouttes
Le 01/05/2025 à 18:28, Jean-Pierre Chrétien a écrit : Excellent. I made it visible to understand when it triggers. Can you describe what you do? The message occurs when I open a table. Better now? I tried to insert online math, I get this message (unrelated, I guess): Could not find varia

Re: [LyX/master] Avoid code duplication related to PREEDIT

2025-05-01 Thread Jean-Marc Lasgouttes
Le 01/05/2025 à 03:26, Stephan Witt a écrit : thank you for the revert - I’ve checked the cursor movement now and it works again. I’m away from home and couldn't act earlier. The bug is indeed trivial (I found it know), I'll re-apply ASAP. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.

Re: TextMetrics error

2025-04-30 Thread Jean-Marc Lasgouttes
Le 30/04/2025 à 15:24, Jean-Pierre Chrétien a écrit : Dear devs After a fresh compilation of 2.5.0~devel with QT6, I see this : TextMetrics.cpp (1155): MacroContext not initialised! Going through the buffer again and hope the context is better then. Please report So I report :-) Excellent.

Re: [LyX/master] Avoid code duplication related to PREEDIT

2025-04-30 Thread Jean-Marc Lasgouttes
t line… > >BR Stephan > >> Am 29.04.2025 um 13:33 schrieb Jean-Marc Lasgouttes : >> >> commit 2637d81f313d1c94aafdbd8c687d3034e89f70df >> Author: Jean-Marc Lasgouttes >> Date: Tue Apr 29 13:29:54 2025 +0200 >> >>

Re: Search + replace math symbols?

2025-04-29 Thread Jean-Marc Lasgouttes
Le 29/04/2025 à 13:51, Kornel Benko a écrit : The issue is that regex does not identify them as regular chars, that is regex requires them backslashed. So setting them to values > 0xf while searching makes them 'normal'. What are the codepoints involved? In your addAccent thing (why the n

Re: LyX 2.5.0

2025-04-29 Thread Jean-Marc Lasgouttes
Le 29/04/2025 à 14:33, Pavel Sanda a écrit : Another thing I would like to propose to stop endlessly postponing major milestones. Our bug lists grew over reasonable size. In particular we could drop the milestone altogether if bug 1) already had 2.4.0 milestone in the past and 2) does not have

Re: Search + replace math symbols?

2025-04-29 Thread Jean-Marc Lasgouttes
Le 29/04/2025 à 12:02, Kornel Benko a écrit : Am Tue, 29 Apr 2025 08:28:22 + schrieb Bernt Lie via lyx-users : I'm on LyX 2.4.3 + Windows 64bit. I'm trying to replace the bullet ("\bullet") in [cid:image001.png@01DBB8F1.6CF55C50] with a star ("\star"). But the LyX Advanced Find and Replac

Re: Lyx-Devel crash with EmbeddedObjects.lyx

2025-04-29 Thread Jean-Marc Lasgouttes
Le 28/04/2025 à 22:14, Andreas Riedel a écrit : Dear developers, I compiled Lyx, the latest Git version, today under both Debian 11 and 12. I noticed a bug: When I open and close the EmbeddedObjects file, Lyx crashes reproducibly. Thanks for the report, Andreas. Jürgen, I suspect this is a

Re: [LyX/master] Fix handling of \int with external math tools

2025-04-29 Thread Jean-Marc Lasgouttes
Le 21/04/2025 à 12:57, Jean-Marc Lasgouttes a écrit : Le 21/04/2025 à 12:54, Jean-Marc Lasgouttes a écrit : commit 0ed7820843d2b4dd09240d6e6145ddb013d090b8 Author: Jean-Marc Lasgouttes Date:   Mon Apr 21 12:53:34 2025 +0200 Fix handling of \int with external math tools Riki, this is

Re: [LyX/master] Finish MathArray->MathData transition (1/4): rename CoordCache::arrays to cells

2025-04-28 Thread Jean-Marc Lasgouttes
Le 28/04/2025 à 14:41, Jean-Marc Lasgouttes a écrit : commit 0702580ce2532ca7fb2f79b6ae6f40f30bbabf8f Author: Jean-Marc Lasgouttes Date: Mon Apr 28 13:38:17 2025 +0200 Finish MathArray->MathData transition (1/4): rename CoordCache::arrays to cells This is a follow-up of

Re: LyX 2.5.0

2025-04-27 Thread Jean-Marc Lasgouttes
Le 27/04/2025 à 21:12, Richard Kimberly Heck a écrit : With this work, which is fantastic, it really seems to me like we are ready to start thinking about potentially considering maybe moving toward 2.5.0. Not to be too definitive about it! I agree that this is fantastic. Congrats to Jürgen fo

Re: [LyX/master] rename InsetMathHull member: label_ => labels_

2025-04-25 Thread Jean-Marc Lasgouttes
Le 25 avril 2025 21:45:52 GMT+02:00, Kornel Benko a écrit : >Done at 5cb026e5. > > Kornel Thanks Kornel. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-devel

Re: [LyX/master] rename InsetMathHull member: label_ => labels_

2025-04-25 Thread Jean-Marc Lasgouttes
Le 25 avril 2025 21:20:25 GMT+02:00, Kornel Benko a écrit : >Am Fri, 25 Apr 2025 16:32:09 + >schrieb Jean-Marc Lasgouttes : > >> commit a86e7c0a05f60fb604828a12efd324206cc73737 >> Author: Jean-Marc Lasgouttes >> Date: Fri Apr 25 18:27:05 2025 +0200 >> &

Re: [LyX/master] Fix handling of \int with external math tools

2025-04-23 Thread Jean-Marc Lasgouttes
Le 22/04/2025 à 11:49, Scott Kostyshak a écrit : I think this commit broke something with the XHTML export. The following ctest now fails: export/doc/UserGuide_xhtml (Failed) Is it better now? JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org https://lists.lyx.org/mailman/listinfo/

Re: [LyX/master] Fix handling of \int with external math tools

2025-04-22 Thread Jean-Marc Lasgouttes
Le 22 avril 2025 11:49:32 GMT+02:00, Scott Kostyshak a écrit  : >On Mon, Apr 21, 2025 at 10:54:17AM +0000, Jean-Marc Lasgouttes wrote: >> commit 0ed7820843d2b4dd09240d6e6145ddb013d090b8 >> Author: Jean-Marc Lasgouttes >> Date: Mon Apr 21 12:53:34 2025 +0200 >> >&

Re: [LyX/master] Fix handling of \int with external math tools

2025-04-21 Thread Jean-Marc Lasgouttes
Le 21/04/2025 à 12:54, Jean-Marc Lasgouttes a écrit : commit 0ed7820843d2b4dd09240d6e6145ddb013d090b8 Author: Jean-Marc Lasgouttes Date: Mon Apr 21 12:53:34 2025 +0200 Fix handling of \int with external math tools Riki, this is candidate for branch. JMarc --- src/mathed

Re: [LyX/master] Comments

2025-04-17 Thread Jean-Marc Lasgouttes
Le 17/04/2025 à 01:03, Scott Kostyshak a écrit : OTOH, you could maybe use isBroken() in screenLabel(), but it is strange then to prepend EMPTY to the label, because this means that you know why it is broken. This part I don't understand. Why is it strange to know why it is broken? To me the "i

Re: [LyX/master] Comments

2025-04-16 Thread Jean-Marc Lasgouttes
Le 12/04/2025 à 13:32, Scott Kostyshak a écrit : Can I move the setBroken() to inside screenLabel(), as in the attached patch? When looking at this code (for a different purpose), I was confused that "EMPTY" is prepended in one part, and the inset is colored red in a different part. On the othe

Re: [LyX/master] Fix annoying typo

2025-04-16 Thread Jean-Marc Lasgouttes
Le 04/04/2025 à 18:37, Richard Kimberly Heck a écrit : Fix annoying typo Riki, this is candidate for branch (has been here for 10 years). OK! Done, thanks. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-devel

Re: master crashes in updateMacros()

2025-04-14 Thread Jean-Marc Lasgouttes
Le 14 avril 2025 20:08:11 GMT+02:00, Richard Kimberly Heck a écrit : >Agreed, as well, though I'm curious why this machinery wouldn't be in >InsetCollapsible and so 'just work' for footnotes and branches and so forth. First, I suspect that multipar insets will be more difficult and will not mak

Re: master crashes in updateMacros()

2025-04-14 Thread Jean-Marc Lasgouttes
Le 14/04/2025 à 16:23, Jean-Marc Lasgouttes a écrit : Any idea why you were doing at that time ? I'll take a look this evening. I see that it is not difficult to trigger, but I am surprised by the location. This was mainly tested with the "it still compiles" strategy. JMa

Re: master crashes in updateMacros()

2025-04-14 Thread Jean-Marc Lasgouttes
Le 14 avril 2025 18:15:18 GMT+02:00, Scott Kostyshak a écrit  : >Well played! At first, JMarc makes us think that breakable insets are a reach >and uncertain. I will implement them. But it may be such a mess that you will beg me to revert :) >Now we make him think that "OK well if you aren't

Re: master crashes in updateMacros()

2025-04-14 Thread Jean-Marc Lasgouttes
Le 14 avril 2025 17:43:33 GMT+02:00, "Jürgen Spitzmüller" a écrit : >Am Montag, dem 14.04.2025 um 17:04 +0200 schrieb Jean-Marc Lasgouttes: >> > Not for very much longer, hopefully. >> >> If I were you, I would not hold my breath. > >But I hold my bre

Re: master crashes in updateMacros()

2025-04-14 Thread Jean-Marc Lasgouttes
Le 14/04/2025 à 16:52, Jürgen Spitzmüller a écrit : You see how I am rewarded ;) There is a 1V electric fence around this thing. Not for very much longer, hopefully. If I were you, I would not hold my breath. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org https://lists.lyx.org/m

Re: master crashes in updateMacros()

2025-04-14 Thread Jean-Marc Lasgouttes
Le 14/04/2025 à 15:14, Jürgen Spitzmüller a écrit : Other than that, great to see you are brave enough to touch this, JMarc. Stupid error fixed now. For the record, it was in a super-safe renaming patch :-/ I am not really daring to change the macro thing. I am currently just trying to simp

Re: master crashes in updateMacros()

2025-04-14 Thread Jean-Marc Lasgouttes
Le 14/04/2025 à 15:14, Jürgen Spitzmüller a écrit : after the recent macro-related commits. Sigh. I really thought these did not change anything. Any idea why you were doing at that time ? I'll take a look this evening. Other than that, great to see you are brave enough to touch this, JMarc

Re: [LyX/master] Remove a profiling header

2025-04-14 Thread Jean-Marc Lasgouttes
Le 14/04/2025 à 15:35, Scott Kostyshak a écrit : JMarc, can you confirm this removal is OK? If it is in there, then I get the following: In file included from BufferView.cpp:82: ./support/pmprof.h:121:2: error: Profiling is not usable when run-time debugging is in effect 121 | #error Profil

Re: build failure Qt 6.9

2025-04-11 Thread Jean-Marc Lasgouttes
Le 11/04/2025 à 14:20, Jürgen Spitzmüller a écrit : Am Freitag, dem 11.04.2025 um 11:39 +0200 schrieb Cor Blom: For me LyX fails to build on latest openSUSE Tumbleweed, which has now has Qt 6.9, so I suspect the Qt update is the culprit. Happens both with 2.4.3 and 2.4.x branch. Have not tried

Re: [LyX/master] Do not to release inset before erasing it

2025-04-11 Thread Jean-Marc Lasgouttes
Le 11/04/2025 à 08:54, Jürgen Spitzmüller a écrit : Am Donnerstag, dem 10.04.2025 um 16:32 +0200 schrieb Jean-Marc Lasgouttes: This is a candidate for branch if Jürgen agrees with the change. and here, as well. Done. Thanks to both of you. JMarc -- lyx-devel mailing list lyx-devel

Re: [LyX/master] Fix wrong index when searching for a second bibitem.

2025-04-10 Thread Jean-Marc Lasgouttes
Le 10/04/2025 à 16:28, Jean-Marc Lasgouttes a écrit : commit b93ad7171df84360049b2f1a493efa856814e228 Author: Jean-Marc Lasgouttes Date: Wed Apr 9 14:55:39 2025 +0200 Fix wrong index when searching for a second bibitem. Riki, This is a candidate for branch if Jürgen agrees with the

Re: [LyX/master] Do not to release inset before erasing it

2025-04-10 Thread Jean-Marc Lasgouttes
Le 10/04/2025 à 16:28, Jean-Marc Lasgouttes a écrit : commit 4f20ac64d70282f1792abfeafa48a9fea8f89af1 Author: Jean-Marc Lasgouttes Date: Wed Apr 9 14:29:14 2025 +0200 Do not to release inset before erasing it It will be done by eraseChar if needed. But when change tracking

Re: Upgrading LyXRC file format

2025-04-10 Thread Jean-Marc Lasgouttes
Le 10/04/2025 à 07:25, Koji Yokota a écrit : Dear all, I’m planning to update LYXRC_FILEFORMAT to 40 in a few days to include \color_theme command for preserving color theme over sessions. If there is any problem, please let me know. There may have been an option to give more general command

Re: [automated testing] bionic: compile failure

2025-04-05 Thread Jean-Marc Lasgouttes
Le 18/03/2025 à 10:07, test...@tester.lyx.org a écrit : Making all in autotests Making all in config Making all in development Making all in po Making all in 3rdparty Making all in nod Making all in src CHK lyx_commit_hash.h Making all in support Making all in frontends Making all in qt

Re: [LyX/master] Improve breaking of equation with C-Return

2025-04-03 Thread Jean-Marc Lasgouttes
Le 03/04/2025 à 23:26, Jean-Marc Lasgouttes a écrit : commit 016bb5b23ccce06128d878139a625a75557afca5 Author: Jean-Marc Lasgouttes Date: Thu Apr 3 23:16:21 2025 +0200 Improve breaking of equation with C-Return This does two different changes: 1/ when the equation

Re: [LyX/master] Fix annoying typo

2025-04-03 Thread Jean-Marc Lasgouttes
Le 03/04/2025 à 23:03, Jean-Marc Lasgouttes a écrit : commit e671833bba60f95891fb2235accb1a10af1a7e45 Author: Jean-Marc Lasgouttes Date: Thu Apr 3 22:32:30 2025 +0200 Fix annoying typo Riki, this is candidate for branch (has been here for 10 years). JMarc --- src/mathed

Coverity Scan defect in InsetRef::latex (Jürgen?)

2025-04-01 Thread Jean-Marc Lasgouttes
Dear all, Coverity Scan points to line 339 of InsetRef::latex, where it points out that 'first' can never be false. I do not know how to solve it. But seems I do not seem to receive mail notifications of new defects, I prefer to post it here. JMarc -- lyx-devel mailing list lyx-devel@lists.

Re: [LyX/master] Give error if adding a branch that already exists

2025-03-25 Thread Jean-Marc Lasgouttes
Le 25 mars 2025 19:26:29 GMT+01:00, "José Matos" a écrit : >On Tue, 2025-03-25 at 12:04 -0400, Richard Kimberly Heck wrote: >> I'm happy with that plan and would be willing to act as release manager >> again. I do not have much time actually to code, but the on-again >> off-again time commitment

Re: [LyX/master] Give error if adding a branch that already exists

2025-03-25 Thread Jean-Marc Lasgouttes
Le 25 mars 2025 14:08:31 GMT+01:00, Scott Kostyshak a écrit : >On Tue, Mar 25, 2025 at 10:58:30AM +0100, Jean-Marc Lasgouttes wrote: > >> For the record, my next big project should be making some text insets >> breakable at end-of-line. This will undoubtedly create many issu

Re: [LyX/master] Give error if adding a branch that already exists

2025-03-25 Thread Jean-Marc Lasgouttes
Le 25 mars 2025 09:16:08 GMT+01:00, "José Matos" a écrit : > >The issue comes then to what is needed to make a stable release? > >Some question to developers: >1. Or asking in another way what is the current state of 2.5? >2. What do we need to do to enter the freeze stage? >3. What are your plans

Re: Opening Document > Settings feels a bit laggy to me

2025-03-21 Thread Jean-Marc Lasgouttes
Le 20/03/2025 à 17:54, Jürgen Spitzmüller a écrit : I'll see if I can take a look at this somewhere in the near future. I've done this today, as you've probably seen. Document dialog now loads subjectively faster (and it should also in theory). I hope this also shows in numbers. Thanks, this

Re: very, very small problem with location of buttons in find and replace

2025-03-19 Thread Jean-Marc Lasgouttes
Le 19/03/2025 à 11:18, Pavel Sanda a écrit : I did my own bisect and it came down to this commit: e5c31699b4d8fd13c71212158d835c7fa750100f is the first bad commit commit e5c31699b4d8fd13c71212158d835c7fa750100f Author: Jean-Marc Lasgouttes Date: Fri Sep 6 16:21:47 2024 +0200 Remove

Re: very, very small problem with location of buttons in find and replace

2025-03-19 Thread Jean-Marc Lasgouttes
Le 19/03/2025 à 11:18, Pavel Sanda a écrit : On Tue, Mar 18, 2025 at 03:19:21PM +0100, Jean-Marc Lasgouttes wrote: Le 18/03/2025 ?? 15:16, Pavel Sanda a écrit : I am not sure I described the problem comprehensibly. The bug is very likely due to some broken logic in search function and I have

Re: very, very small problem with location of buttons in find and replace

2025-03-18 Thread Jean-Marc Lasgouttes
Le 18/03/2025 à 15:16, Pavel Sanda a écrit : I am not sure I described the problem comprehensibly. The bug is very likely due to some broken logic in search function and I have hard time to see how scrolling code should affect this. I see the bug you describe (I managed to get a crash too, but

Re: Opening Document > Settings feels a bit laggy to me

2025-03-17 Thread Jean-Marc Lasgouttes
Le 17/03/2025 à 16:50, Jürgen Spitzmüller a écrit : Am Mittwoch, dem 12.03.2025 um 11:38 +0100 schrieb Jean-Marc Lasgouttes: Isn't it possible to have a single model for these colors and use it in several combo boxes? I see 21 calls to updateCustomColors just to open the document settings

Re: A major bug in latex import for Lyx 2.4

2025-03-15 Thread Jean-Marc Lasgouttes
Le 15/03/2025 à 13:21, Jürgen Spitzmüller a écrit : Am Samstag, dem 15.03.2025 um 23:25 +1300 schrieb Andrew Parsloe: I've attached the LyX file. In a text editor it looks to be all there but the display in LyX stops at the first = sign. Thanks. So as JMarc suspected, the (^$MS) line endings s

Re: A major bug in latex import for Lyx 2.4

2025-03-14 Thread Jean-Marc Lasgouttes
Le 14/03/2025 à 11:20, Scott Kostyshak a écrit : @Shuvomoy do you have preview enabled? Does only the first line show up in the PDF output if you view it? Another question : what is your operating system ? (I wonder whether it could be related to end-of-line characters). JMarc -- lyx-devel m

Re: Opening Document > Settings feels a bit laggy to me

2025-03-13 Thread Jean-Marc Lasgouttes
Le 12/03/2025 à 11:35, Scott Kostyshak a écrit : On Mon, Mar 10, 2025 at 09:53:34AM +0100, Jürgen Spitzmüller wrote: Am Sonntag, dem 09.03.2025 um 18:23 +0100 schrieb Jean-Marc Lasgouttes: With 2.5, this is dwarfed by ColorCombo, but that is a different story. One thing that probably is

Re: Another icon set?

2025-03-12 Thread Jean-Marc Lasgouttes
Le 12 mars 2025 13:13:39 GMT+01:00, "Jürgen Spitzmüller" a écrit : >Am Mittwoch, dem 12.03.2025 um 11:51 +0100 schrieb Jean-Marc >Lasgouttes: >> Is it expected that we still see colorful icons on dialog buttons? > >You mean OK etc.? I think this is determined by the

Re: Another icon set?

2025-03-12 Thread Jean-Marc Lasgouttes
Le 11/03/2025 à 17:54, Jürgen Spitzmüller a écrit : I have assembled an alternative icon set for LyX based on current Adwaita (symbolic) icons. It looks more clean than what we provide, also a bit less dated, and it particularly works well in both dark and light modes (see attached screenshots).

Re: Opening Document > Settings feels a bit laggy to me

2025-03-12 Thread Jean-Marc Lasgouttes
Le 12/03/2025 à 11:47, Jürgen Spitzmüller a écrit : Am Mittwoch, dem 12.03.2025 um 11:38 +0100 schrieb Jean-Marc Lasgouttes: Isn't it possible to have a single model for these colors and use it in several combo boxes? I see 21 calls to updateCustomColors just to open the document settings

Re: Another icon set?

2025-03-11 Thread Jean-Marc Lasgouttes
Le 11/03/2025 à 17:54, Jürgen Spitzmüller a écrit : I have assembled an alternative icon set for LyX based on current Adwaita (symbolic) icons. It looks more clean than what we provide, also a bit less dated, and it particularly works well in both dark and light modes (see attached screenshots).

Re: Opening Document > Settings feels a bit laggy to me

2025-03-09 Thread Jean-Marc Lasgouttes
Le 09/03/2025 à 21:38, Scott Kostyshak a écrit : Thanks for the patch! I have similar stats: #pmprof# bulletsModule: 313.96 ms, count=1, total=313.96 ms #pmprof# colorModule: 931.35 ms, count=1, total=931.35 ms #pmprof# GuiDocument: 1.29 s, count=1, total=1.29 s And does the lag feels like 1.

Re: Opening Document > Settings feels a bit laggy to me

2025-03-09 Thread Jean-Marc Lasgouttes
Le 09/03/2025 à 18:23, Jean-Marc Lasgouttes a écrit : I do not have much time right now, but hotspot thinks that the time is spent in BulletsModule constructor. This code uses svg images since the commit below. Would it be faster with one big svg for each type of bullets ? With 2.5, this is

Re: [LyX/master] Introducing color themes

2025-03-06 Thread Jean-Marc Lasgouttes
Le 06/03/2025 à 10:10, Koji Yokota a écrit : 2025/03/02 23:07、Scott Kostyshak のメール: support/FileName.cpp (464): Directory '/home/scott/lyxbuilds/master-master/user-dirthemes' does not exist! The message goes away with the following change: - usr_theme_dir.set((package().user_support

Re: Branches workflow

2025-03-03 Thread Jean-Marc Lasgouttes
Le 03/03/2025 à 15:12, Scott Kostyshak a écrit : True, my theory is that some developers don't use branches because having to use the features repo is just a bit more of an inconvenience than using the main repo. I'm not so confident in my theory though. Why is it less convenient? I personally

Logic issue in InsetTableCell::draw

2025-03-02 Thread Jean-Marc Lasgouttes
Dear all, This one is for Jürgen. Coverity states it very clearly: "Local variable change_drawn is assigned only once, to a constant value, making it effectively constant throughout its scope. If this is not the intent, examine the logic to see if there is a missing assignment that would make

Python warning in lyx2lyx

2025-03-01 Thread Jean-Marc Lasgouttes
Hello, While playing with master, I got the following warning: /home/jean-marc/src/lyx/master/lib/lyx2lyx/lyx_2_5.py:2464: SyntaxWarning: invalid escape sequence '\e' cmd = " special=\"" + scmd + "r@{\extracolsep{0pt}" + decpoint + "}" + scmd2 + "l\">" I cannot reproduce it for some reason

Re: Compilation problem with d6200568056

2025-02-27 Thread Jean-Marc Lasgouttes
Le 27/02/2025 à 13:59, Koji Yokota a écrit : 2025/02/27 17:57、Kornel Benko のメール: after this commit, I get error compiling with clang-15 ang QT 6.2.4. Kornel Thank you, Kornel. The operator “+” to combine keys is replaced by “|” as of Qt 6.0. It is now fixed at 16d1133. I have no

Re: Custom color names for non-english users

2025-02-21 Thread Jean-Marc Lasgouttes
Le 21/02/2025 à 13:24, Jürgen Spitzmüller a écrit : Am Freitag, dem 21.02.2025 um 13:37 +0100 schrieb Kornel Benko: Sure, but if someone wants to define a color like "#887543" with a his custom name, it is prohibited. I don't understand. Please give a concrete example. I suspect that Kornel

Re: Metrics-related crashes in branch

2025-02-20 Thread Jean-Marc Lasgouttes
Le 29/01/2025 à 14:18, Pavel Sanda a écrit : JMarc, unless you have some other fix in mind we should perhaps backport? I have backported the two patches now. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-devel

Re: [LyX/master] A bit more color to the world, part II

2025-02-20 Thread Jean-Marc Lasgouttes
Le 20/02/2025 à 17:47, Jürgen Spitzmüller a écrit : Am Donnerstag, dem 20.02.2025 um 17:18 +0100 schrieb Jean-Marc Lasgouttes: Thanks for working on this. One thing I have always been too lazy to do concerning colors is adding the possibility to refer to another color. For example, having a

Re: [LyX/2.4.x] Backport 2a771febd1a (last fix for #12819 - check for deleted documents)

2025-02-20 Thread Jean-Marc Lasgouttes
Le 20/02/2025 à 10:38, Pavel Sanda a écrit : This fails to build in C++11 mode (ms suffix is a C++14 thing). Thanks for the catch. Does the following compile for you? Thanks, it works. I've committed it. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org https://lists.lyx.org/mailman/li

Re: [LyX/master] Introducing OnTheSpot-style input method editing & IME integration

2025-02-20 Thread Jean-Marc Lasgouttes
Le 27/01/2025 à 13:46, Scott Kostyshak a écrit : On Thu, Jan 23, 2025 at 04:46:25PM +0100, Scott Kostyshak wrote: On Thu, Jan 23, 2025 at 04:00:11PM +0100, Jean-Marc Lasgouttes wrote: Undo.cpp (309): There is no group open (creating one) Would it make sense to assert in this case? It would

Re: [LyX/master] A bit more color to the world, part II

2025-02-20 Thread Jean-Marc Lasgouttes
Le 20/02/2025 à 16:22, Juergen Spitzmueller a écrit : commit e27f15355af1798f67181e4cd95c048a16562d49 Author: Juergen Spitzmueller Date: Thu Feb 20 16:20:48 2025 +0100 A bit more color to the world, part II add the possibility to add own custom colors (#1841) Thanks for work

Re: [PATCH] Use a while() loop instead of fighting against for()

2025-02-20 Thread Jean-Marc Lasgouttes
Le 20/02/2025 à 12:14, José Matos a écrit : On Wed, 2025-02-19 at 18:51 -0500, Richard Kimberly Heck wrote: I don't use minted either, but the patch looks right to me. Riki I use minted and the patch does make sense. The next issue is if we use this idiom elsewhere... because we looking into

Re: [LyX/master] A bit more color to the world, part I

2025-02-20 Thread Jean-Marc Lasgouttes
Le 20/02/2025 à 11:34, Jürgen Spitzmüller a écrit : No, I think they should be translatable in general. Quickly accepting the English string (or simply ignoring those terms) is doable. Will this affect the translation completeness statistics? JMarc -- lyx-devel mailing list lyx-devel@lists.lyx

[PATCH] Use a while() loop instead of fighting against for()

2025-02-19 Thread Jean-Marc Lasgouttes
Hi, Since I am not able to run or even understand a minted test, I'll like some feedback about this (straightforward?) patch. Does it make sense? It was spotted by Coverity Scan. JMarc From 2a97a951901cd5efaede2dca19b873d71910d31d Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes

Re: [LyX/2.4.x] Backport 2a771febd1a (last fix for #12819 - check for deleted documents)

2025-02-19 Thread Jean-Marc Lasgouttes
Le 08/02/2025 à 18:56, Pavel Sanda a écrit : commit c8319a1f7e434b9cf55802a70d6cdad8facbf377 Author: Pavel Sanda Date: Sat Feb 8 18:55:00 2025 +0100 Backport 2a771febd1a (last fix for #12819 - check for deleted documents) --- src/Buffer.cpp | 28 status.24

Re: I love free software day

2025-02-14 Thread Jean-Marc Lasgouttes
Le 14 février 2025 18:02:25 GMT+01:00, m...@drylandriver.at a écrit : >Thank you for your great software. > >Best regards > >Maja Dear Maja, Thanks a lot, this is unexpected and appreciated. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-devel

  1   2   3   4   5   6   7   8   9   10   >