[LyX features/biginset] Enable Update::SinglePar in nested insets too

2024-04-05 Thread Jean-Marc Lasgouttes
commit 9a96726bcd06d565c3027011fea954656aa46668 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 contai

[LyX features/biginset] Update update-po.sh script

2024-04-05 Thread Richard Kimberly Heck
commit eb57c93aab05d586e8b06ef8a7277850f1591e24 Author: Richard Kimberly Heck Date: Thu Apr 4 17:09:16 2024 -0400 Update update-po.sh script (cherry picked from commit b360b9ebf7c2b1bbb0fe674790ed78065c3780c0) --- development/tools/update-po.sh | 12 +++- 1 file changed, 7

[LyX features/biginset] Implement undo coalescing

2024-04-05 Thread Jean-Marc Lasgouttes
commit f5bbadbad92d55d480ea8b20c1e29f9ffe4ca224 Author: Jean-Marc Lasgouttes Date: Thu Jul 14 01:02:28 2022 +0200 Implement undo coalescing if the undo element we want to add only changes stuff that was already modified by the previous one on undo stack (in the same group), the

[LyX features/biginset] In the no-draw phase, do not cache the positions of not visible insets

2024-04-05 Thread Jean-Marc Lasgouttes
commit 7f85024f80601b15634fb5e771bba51435ad429f 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 features/biginset] Implement quick scroll

2024-04-05 Thread Jean-Marc Lasgouttes
commit 08010c6a5e425b3f2d0d625536e3a571c90a0482 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 features/biginset] Do not compute metrics at each preview when loading file

2024-04-05 Thread Jean-Marc Lasgouttes
commit 244969330108a89f4be93d3b2eb9024bdb756204 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. This is becau

[LyX features/biginset] Avoid metrics computation on resize when width did not change

2024-04-05 Thread Jean-Marc Lasgouttes
commit f7218cec188cad2dbf68de47ad4345fcddf1bdb8 Author: Jean-Marc Lasgouttes Date: Mon Nov 27 11:46:52 2023 +0100 Avoid metrics computation on resize when width did not change Entering a math inset triggers a work area reize because the math toobars appear automatically. Howeve

[LyX features/biginset] Avoid some full metrics computations related to math previews

2024-04-05 Thread Jean-Marc Lasgouttes
commit 5e8578837fea0321998eac04222102986261666d Author: Jean-Marc Lasgouttes Date: Mon Nov 27 15:13:56 2023 +0100 Avoid some full metrics computations related to math previews When entering/leaving a math hull inset, a Update::Force flag was set, in case the metrics of the inse

[LyX features/biginset] Improve the code that limits scrolling at top/bottom

2024-04-05 Thread Jean-Marc Lasgouttes
commit f15d2ebf3819913114ab93d1ff7e140cb26b03d5 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::upd

[LyX features/biginset] Introduce new helpers ParagraphMetrics::top/bottom

2024-04-05 Thread Jean-Marc Lasgouttes
commit 0b6105b9245350e428c73deee88af2cd7c0d4732 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 features/biginset] Indicate that, by default, mouse LFUN do not require a metrics update

2024-04-05 Thread Jean-Marc Lasgouttes
commit 9fd397ac1cb8c97d9b3058a669a045db0cceee1c Author: Jean-Marc Lasgouttes Date: Mon Nov 27 17:50:40 2023 +0100 Indicate that, by default, mouse LFUN do not require a metrics update This is done easily in LyXAction.cpp. Remember that, by default, each function is supposed to

[LyX features/biginset] Update PAINTING_ANALYSIS

2024-04-05 Thread Jean-Marc Lasgouttes
commit a23522073c8bb2cd06ddc7cc564e9c78f868a86d Author: Jean-Marc Lasgouttes Date: Mon Nov 20 17:24:09 2023 +0100 Update PAINTING_ANALYSIS --- development/PAINTING_ANALYSIS | 62 +-- 1 file changed, 42 insertions(+), 20 deletions(-) diff --git a/dev

[LyX features/biginset] Reduce metrics updates from 4 to 1 when loading file

2024-04-05 Thread Jean-Marc Lasgouttes
commit 1d1f95d2ed0bf02e8a9cd9685ed4ba3365b9b493 Author: Jean-Marc Lasgouttes Date: Wed Nov 22 12:07:51 2023 +0100 Reduce metrics updates from 4 to 1 when loading file The number of metrics updates when loading file and showing it in a new work area is unreasonable. The

[LyX features/biginset] Avoid full metrics computation when entering/leaving inset

2024-04-05 Thread Jean-Marc Lasgouttes
commit 73678dcde977802d5ff3ae07f0226484041fff48 Author: Jean-Marc Lasgouttes Date: Mon Nov 27 15:57:09 2023 +0100 Avoid full metrics computation when entering/leaving inset Annotate function LFUN_FINISHED_xxx to indicate that they do not require a full metrics computation.

[LyX/master] Enable Update::SinglePar in nested insets too

2024-04-05 Thread Jean-Marc Lasgouttes
commit 9a96726bcd06d565c3027011fea954656aa46668 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 contai

[LyX/master] Introduce new helpers ParagraphMetrics::top/bottom

2024-04-05 Thread Jean-Marc Lasgouttes
commit 0b6105b9245350e428c73deee88af2cd7c0d4732 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/master] In the no-draw phase, do not cache the positions of not visible insets

2024-04-05 Thread Jean-Marc Lasgouttes
commit 7f85024f80601b15634fb5e771bba51435ad429f 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/master] Improve the code that limits scrolling at top/bottom

2024-04-05 Thread Jean-Marc Lasgouttes
commit f15d2ebf3819913114ab93d1ff7e140cb26b03d5 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::upd

[LyX/master] Remove some redundant calls to updatePosCache

2024-04-05 Thread Jean-Marc Lasgouttes
commit d19ade9a611d3ecf6840c5eb43291cb268ad6f4f 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/master] Do not compute metrics at each preview when loading file

2024-04-05 Thread Jean-Marc Lasgouttes
commit 244969330108a89f4be93d3b2eb9024bdb756204 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. This is becau

[LyX/master] Implement quick scroll

2024-04-05 Thread Jean-Marc Lasgouttes
commit 08010c6a5e425b3f2d0d625536e3a571c90a0482 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/master] Reduce metrics updates from 4 to 1 when loading file

2024-04-05 Thread Jean-Marc Lasgouttes
commit 1d1f95d2ed0bf02e8a9cd9685ed4ba3365b9b493 Author: Jean-Marc Lasgouttes Date: Wed Nov 22 12:07:51 2023 +0100 Reduce metrics updates from 4 to 1 when loading file The number of metrics updates when loading file and showing it in a new work area is unreasonable. The

[LyX/master] Update PAINTING_ANALYSIS

2024-04-05 Thread Jean-Marc Lasgouttes
commit a23522073c8bb2cd06ddc7cc564e9c78f868a86d Author: Jean-Marc Lasgouttes Date: Mon Nov 20 17:24:09 2023 +0100 Update PAINTING_ANALYSIS --- development/PAINTING_ANALYSIS | 62 +-- 1 file changed, 42 insertions(+), 20 deletions(-) diff --git a/dev

[LyX/master] Avoid some full metrics computations related to math previews

2024-04-05 Thread Jean-Marc Lasgouttes
commit 5e8578837fea0321998eac04222102986261666d Author: Jean-Marc Lasgouttes Date: Mon Nov 27 15:13:56 2023 +0100 Avoid some full metrics computations related to math previews When entering/leaving a math hull inset, a Update::Force flag was set, in case the metrics of the inse

[LyX/master] Avoid full metrics computation when entering/leaving inset

2024-04-05 Thread Jean-Marc Lasgouttes
commit 73678dcde977802d5ff3ae07f0226484041fff48 Author: Jean-Marc Lasgouttes Date: Mon Nov 27 15:57:09 2023 +0100 Avoid full metrics computation when entering/leaving inset Annotate function LFUN_FINISHED_xxx to indicate that they do not require a full metrics computation.

[LyX/master] Avoid metrics computation on resize when width did not change

2024-04-05 Thread Jean-Marc Lasgouttes
commit f7218cec188cad2dbf68de47ad4345fcddf1bdb8 Author: Jean-Marc Lasgouttes Date: Mon Nov 27 11:46:52 2023 +0100 Avoid metrics computation on resize when width did not change Entering a math inset triggers a work area reize because the math toobars appear automatically. Howeve

[LyX/master] Indicate that, by default, mouse LFUN do not require a metrics update

2024-04-05 Thread Jean-Marc Lasgouttes
commit 9fd397ac1cb8c97d9b3058a669a045db0cceee1c Author: Jean-Marc Lasgouttes Date: Mon Nov 27 17:50:40 2023 +0100 Indicate that, by default, mouse LFUN do not require a metrics update This is done easily in LyXAction.cpp. Remember that, by default, each function is supposed to

[LyX/2.4.x] Revert "Update sk.po"

2024-04-05 Thread jpc
commit 4690de2bca0cf9750fe3b145d785613becfea58e Author: jpc Date: Fri Apr 5 17:48:43 2024 +0200 Revert "Update sk.po" This reverts commit 148001f6fe5575cb3752f11a76360d0372d74ade. --- po/sk.po | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/po/

[LyX/master] Allow relative statistics values in statusbar.

2024-04-05 Thread Pavel Sanda
commit 7976cc2dac4ec69e35441b64f5e6b37f9a7f51b9 Author: Pavel Sanda Date: Fri Apr 5 19:34:29 2024 +0200 Allow relative statistics values in statusbar. https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg221311.html --- lib/ui/stdcontext.inc| 2 ++ src/BufferView.cpp

[LyX/2.4.1-devel] Allow relative statistics values in statusbar.

2024-04-05 Thread Pavel Sanda
commit ae07763abf25b897f6f17de57fadb210b87a81be Author: Pavel Sanda Date: Fri Apr 5 19:34:29 2024 +0200 Allow relative statistics values in statusbar. https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg221311.html --- lib/ui/stdcontext.inc| 2 ++ src/BufferView.cpp

[LyX/2.4.1-devel] * status.24x

2024-04-05 Thread Pavel Sanda
commit a11a4db8b270f4d271b5c639e8cf9085e3555f83 Author: Pavel Sanda Date: Fri Apr 5 19:45:09 2024 +0200 * status.24x --- status.24x | 2 ++ 1 file changed, 2 insertions(+) diff --git a/status.24x b/status.24x index 90d1af4b9c..ef6f8fad0b 100644 --- a/status.24x +++ b/status.24x @@ -32,6 +

[LyX/master] * quote-insert lfun description

2024-04-05 Thread Pavel Sanda
commit 6f8b944d39e3bdf16d666185733d2cff9a9e25e1 Author: Pavel Sanda Date: Fri Apr 5 19:47:20 2024 +0200 * quote-insert lfun description --- src/LyXAction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index f4030ec40d..3c524549

[LyX/2.4.x] * LFUNs.lyx - regenerate

2024-04-05 Thread Pavel Sanda
commit cc4256e3bc8ad4c4b968324f54aee40c53a32640 Author: Pavel Sanda Date: Fri Apr 5 20:01:19 2024 +0200 * LFUNs.lyx - regenerate lib/doc/LFUNs.lyx | 2446 +++-- 1 file changed, 1792 insertions(+), 654 deletions(-) -- lyx-cvs mailing list ly

[LyX/2.4.x] * quote-insert lfun description

2024-04-05 Thread Pavel Sanda
commit 167534f6cffde63a60cffee58d5d932706c8c2ed Author: Pavel Sanda Date: Fri Apr 5 19:47:20 2024 +0200 * quote-insert lfun description --- src/LyXAction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 19f12038a8..e7abbc51

[LyX/master] Improve stats update times for buffer switches and toolbar toggles.

2024-04-05 Thread Pavel Sanda
commit 77273303a5e22df45239d705e830baa5c0c3fcf1 Author: Pavel Sanda Date: Fri Apr 5 22:59:07 2024 +0200 Improve stats update times for buffer switches and toolbar toggles. --- src/BufferView.cpp | 12 src/BufferView.h | 2 ++ src/frontends/qt/GuiView.cpp

[LyX/2.4.1-devel] Improve stats update times for buffer switches and toolbar toggles.

2024-04-05 Thread Pavel Sanda
commit 7e2c1dca366156d41b3faacaaa96882fb3391f84 Author: Pavel Sanda Date: Fri Apr 5 22:59:07 2024 +0200 Improve stats update times for buffer switches and toolbar toggles. --- src/BufferView.cpp | 12 src/BufferView.h | 2 ++ src/frontends/qt/GuiView.cpp

[LyX/2.4.1-devel] * status.24x

2024-04-05 Thread Pavel Sanda
commit 6dc68a632e48f1d9df9ca2ae2a2cfd35e8f13d41 Author: Pavel Sanda Date: Fri Apr 5 23:15:53 2024 +0200 * status.24x --- status.24x | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/status.24x b/status.24x index ef6f8fad0b..3e6573947a 100644 --- a/status.24x +++ b/statu

<    1   2