[LyX/master] typo

2023-05-02 Thread Jean-Marc Lasgouttes
commit 84dc007f1d6cec807c11d0d6a0809d351f6721d0 Author: Jean-Marc Lasgouttes Date: Tue May 2 14:39:33 2023 +0200 typo --- lib/doc/fr/Tutorial.lyx |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/doc/fr/Tutorial.lyx b/lib/doc/fr/Tutorial.lyx index d185df3

[LyX/master] Fixup e1261817: place cursor correctly in RtL

2023-05-02 Thread Jean-Marc Lasgouttes
commit ee5dcc9d479fd00a6ddab4b4c202539e1db7786c Author: Jean-Marc Lasgouttes Date: Tue May 2 15:59:36 2023 +0200 Fixup e1261817: place cursor correctly in RtL In an RtL paragraph, the cursor should be placed to the right of the end-of-paragraph indicator. --- src/Row.cpp

[LyX/master] Make inset info icons tight again!

2023-05-02 Thread Jean-Marc Lasgouttes
commit 97ccb8c8c9d3af96f82c128ad65d2582f0063628 Author: Jean-Marc Lasgouttes Date: Tue May 2 14:49:47 2023 +0200 Make inset info icons tight again! This is a follow-up to 5be391b2, which increased the space on left/right of graphics inset. This extra space makes sense in

[LyX/master] Fixup 89394bcd: handle cursor keys from keypad

2023-05-03 Thread Jean-Marc Lasgouttes
commit dfc3db773ac79e33b828b2d2b4a008c8a37cd4e9 Author: Daniel Ramoeller Date: Fri Mar 17 21:45:36 2023 +0100 Fixup 89394bcd: handle cursor keys from keypad Due to a macOS peculiarity, it is necessary to handle KeypadModifier. We do it unconditionnally, although only macOS seem

[LyX/master] Code factoring: introduce BufferView::busy()

2023-05-03 Thread Jean-Marc Lasgouttes
commit 89db357cd616479eea8f99c632c2404f1734dacb Author: Jean-Marc Lasgouttes Date: Wed May 3 11:52:27 2023 +0200 Code factoring: introduce BufferView::busy() The WorkArea should not have to look at details of the undo stack. No change intended. --- src/Buffer.cpp

[LyX/master] spacing

2023-05-03 Thread Jean-Marc Lasgouttes
commit e533118b38983648036e72aae4d9739ed91e1d66 Author: Jean-Marc Lasgouttes Date: Wed May 3 12:15:26 2023 +0200 spacing --- src/BufferView.cpp | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/BufferView.cpp b/src/BufferView.cpp index bf1eb7b

[LyX/master] Never not show caret when window does not have focus

2023-05-03 Thread Jean-Marc Lasgouttes
commit 21dcb4782f19685e6fcab93dfbbf3809fc9b249e Author: Jean-Marc Lasgouttes Date: Wed May 3 12:22:52 2023 +0200 Never not show caret when window does not have focus A non blinking cursor could appear when hovering on inset button. Fixes bug #12762. --- src/frontends/qt

[LyX/master] Merge files Text{,2,3}.cpp

2023-05-04 Thread Jean-Marc Lasgouttes
commit 43b24085fb90873f3a7803a6684d359454a4f3cd Author: Jean-Marc Lasgouttes Date: Thu May 4 15:21:02 2023 +0200 Merge files Text{,2,3}.cpp This is done at the end of the release cycle to avoid backporting issues. The goal is to simplify development, since it was

[LyX/master] Do not return copies of string members

2023-05-05 Thread Jean-Marc Lasgouttes
commit 3ae5d6bdec1df23cc0d848b2d8bf6b09323b Author: Jean-Marc Lasgouttes Date: Fri May 5 20:35:23 2023 +0200 Do not return copies of string members This fixes the g++ 12 warnings below. ../../master/src/Converter.cpp:714:55: warning: possibly dangling reference to a

[LyX/master] Move Fullscreen preferences from Editing>Control section into Look & Feel>User Interface section

2023-05-05 Thread Jean-Marc Lasgouttes
commit 4d31e20d7d790554aab655ae11c9cd0dd4a6d6f1 Author: Yuriy Skalko Date: Fri May 5 19:21:37 2023 +0200 Move Fullscreen preferences from Editing>Control section into Look & Feel>User Interface section --- src/frontends/qt/GuiPrefs.cpp | 40 ++-- src/frontends/qt/ui/PrefEdit

[LyX/master] Revert "Move Fullscreen preferences from Editing>Control section into Look & Feel>User Interface section"

2023-05-05 Thread Jean-Marc Lasgouttes
commit e454deba2c2e002214fc9e156cbbbcf3963cddd6 Author: Jean-Marc Lasgouttes Date: Fri May 5 21:23:21 2023 +0200 Revert "Move Fullscreen preferences from Editing>Control section into Look & Feel>User Interface section" I pushed it by mistake.

[LyX/master] Fix unitialized member warning by coverity

2023-05-09 Thread Jean-Marc Lasgouttes
commit e620920fe2488ba50ff0b992c2529fdb69f2691a Author: Jean-Marc Lasgouttes Date: Tue May 9 13:49:17 2023 +0200 Fix unitialized member warning by coverity The members open_braces and close_wildcards of MatchStringAdv are not initialized in case of early return and coverity

[LyX/master] Fixup 7f1b1729: restore lazy caret handling

2023-05-11 Thread Jean-Marc Lasgouttes
commit 6fbc8c6352a965231a35ee8b052e3a6b80b5ce57 Author: Jean-Marc Lasgouttes Date: Wed May 3 12:55:44 2023 +0200 Fixup 7f1b1729: restore lazy caret handling For some reason, the code that should have been put in updateCaretGeometry() went to resetCaret(). I do not see how that

[LyX/master] Revert "Do not return copies of string members"

2023-05-15 Thread Jean-Marc Lasgouttes
commit e0db6378c97b42607fa8db5e169d0976d26374ff Author: Jean-Marc Lasgouttes Date: Thu May 11 15:27:02 2023 +0200 Revert "Do not return copies of string members" This commit is very wrong when trivstrings are used (since what is retirned is a temporary variable) an

[LyX/master] Fixup 1d637b8a: do not set extra spacing for typewriter

2023-05-23 Thread Jean-Marc Lasgouttes
commit 3895c7987931a6400afef785202b659e5fcde7eb Author: Jean-Marc Lasgouttes Date: Tue May 23 09:20:52 2023 +0200 Fixup 1d637b8a: do not set extra spacing for typewriter This messed up rows with both normal and typewriter fonts. --- src/Row.cpp |2 +- 1 files changed, 1

[LyX/master] Center preview status message

2023-05-30 Thread Jean-Marc Lasgouttes
commit 2e966811d8ee02d216dc6d1f54e2cd7f9398cee5 Author: Daniel Ramoeller Date: Mon Apr 3 12:31:28 2023 +0200 Center preview status message Fix for bug #12724 --- src/insets/RenderPreview.cpp | 22 +++--- 1 files changed, 11 insertions(+), 11 deletions(-) diff --

[LyX/master] Split-inset fix

2023-05-30 Thread Jean-Marc Lasgouttes
commit c0d7ac5b71059b633a40cd798f9e2157961e7313 Author: Daniel Ramoeller Date: Mon Apr 17 18:16:41 2023 +0200 Split-inset fix - Remember whether something has to be pasted Fix for bug #12747 --- src/Text.cpp |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-)

[LyX/master] Replace selection on insert LyX Document

2023-05-30 Thread Jean-Marc Lasgouttes
commit 5a893d986262be405b0e0bb5e827e011dc690512 Author: Daniel Ramoeller Date: Tue May 16 10:54:52 2023 +0200 Replace selection on insert LyX Document Fix for bug #10390 --- src/BufferView.cpp |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/BufferView.

[LyX/master] inset-split should not be dispatched to inset at point

2023-06-06 Thread Jean-Marc Lasgouttes
commit 24f4c51f0e399e114d36087a724692af661dcc6b Author: Jean-Marc Lasgouttes Date: Wed May 31 00:45:04 2023 +0200 inset-split should not be dispatched to inset at point This functon does not make sense for a full inset. Fixes second part of bug #12747. --- src

[LyX/master] Typos in French translation

2023-06-08 Thread Jean-Marc Lasgouttes
commit eb35e26016d9c27bd9db5018d1af5c980dbdd53f Author: Jean-Marc Lasgouttes Date: Thu Jun 8 17:54:44 2023 +0200 Typos in French translation --- po/fr.gmo | Bin 648257 -> 648256 bytes po/fr.po |4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/po/fr.gmo b

[LyX/master] Comments cleanup

2023-06-19 Thread Jean-Marc Lasgouttes
commit b82a7279a8807fbf0cf14a3dd611e36f73b46d0b Author: Jean-Marc Lasgouttes Date: Tue Jun 20 00:06:57 2023 +0200 Comments cleanup --- src/Paragraph.cpp |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index fed5a74

[LyX/master] Improve label font computation in insets

2023-06-21 Thread Jean-Marc Lasgouttes
commit 65b03c7c72a9871e3f603f07204705e644dbc96c Author: Jean-Marc Lasgouttes Date: Wed Jun 21 16:58:19 2023 +0200 Improve label font computation in insets This patch reuses the code of TextMetrics::displayFont() that handles the label part of LABEL_MANUAL paragraphs to create

[LyX/master] Make outline function work in an inset

2023-06-27 Thread Jean-Marc Lasgouttes
commit 8aea6af6a04adcd9ee303e1e48ad9ccaa733d4f6 Author: Jean-Marc Lasgouttes Date: Thu Jun 22 00:21:54 2023 +0200 Make outline function work in an inset The function outline is modified to operate only in the inset that contains the cursor. This means that the function can be

[LyX/master] Outline: swap order of up and down arrows

2023-07-06 Thread Jean-Marc Lasgouttes
commit a3db9a667f8c029a777803ce338f59c43f79af36 Author: Jean-Marc Lasgouttes Date: Thu Jul 6 17:27:14 2023 +0200 Outline: swap order of up and down arrows The order is more natural now. See discussion in #12809. --- src/frontends/qt/ui/TocUi.ui | 12 ++-- 1

[LyX/master] Add optional parameter 'local' to outline-in/out

2023-07-06 Thread Jean-Marc Lasgouttes
commit 7cc431bd55c0df8acff679a2da72d85e74f3a8d7 Author: Jean-Marc Lasgouttes Date: Wed Jun 28 16:05:21 2023 +0200 Add optional parameter 'local' to outline-in/out When this parameter is given, only the current paragraph is affected by the section promotin

[LyX/master] Fix display of a math hull inset in a tight inset

2023-07-14 Thread Jean-Marc Lasgouttes
commit 4bbd4a45e7494363903801540102150886fa2c6b Author: Jean-Marc Lasgouttes Date: Fri Jul 14 02:13:18 2023 +0200 Fix display of a math hull inset in a tight inset This is a kind of hack. This allows InsetMathHull to state that it needs some elbow room beyond its width, in

[LyX/master] Don't add LabelString for Manual LabelType

2023-07-14 Thread Jean-Marc Lasgouttes
commit 975115479a69aa6026a5b922acc1c7b94bdd0be1 Author: Daniel Ramoeller Date: Thu Apr 20 23:49:46 2023 +0200 Don't add LabelString for Manual LabelType Fix for bug #12753 --- src/Paragraph.cpp |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/Paragraph

[LyX/master] add comment

2023-07-15 Thread Jean-Marc Lasgouttes
commit 582eb7cc03953c85acb76f24867feac33d90 Author: Jean-Marc Lasgouttes Date: Sat Jul 15 15:20:28 2023 +0200 add comment --- src/insets/InsetSpecialChar.cpp |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/insets/InsetSpecialChar.cpp b/src/insets

[LyX/master] Cleanup and (maybe) speedup InsetMathChar::mathClass

2023-07-15 Thread Jean-Marc Lasgouttes
commit d8e509e5ebb7890f1f62bf8731cf445782cb6bc2 Author: Jean-Marc Lasgouttes Date: Sat Jul 15 23:26:31 2023 +0200 Cleanup and (maybe) speedup InsetMathChar::mathClass Profiling with hotspot show that it counts for more than it should and indeed using support::contains is a

[LyX/master] Cache the value of FontMetrics::xHeight()

2023-07-15 Thread Jean-Marc Lasgouttes
commit 386a2ddca135da7c96a4565a2648acf06394b5cc Author: Jean-Marc Lasgouttes Date: Sat Jul 15 19:39:14 2023 +0200 Cache the value of FontMetrics::xHeight() This value is computed for the metrics of *every* Mathdata and hotspot says that it counts for 9% of total on math-heavy

[LyX/master] When breaking a paragraph, do not reset depth

2023-07-16 Thread Jean-Marc Lasgouttes
commit 13d24c711e745ea0c6ea2019236025d14bd2defa Author: Jean-Marc Lasgouttes Date: Sun Mar 26 20:28:00 2023 +0200 When breaking a paragraph, do not reset depth Remove some logic that would reset depth when editing non-environment stuff (e.g. Standard layout) at non-zero depth

[LyX/master] Fix display of comment char in "lyxlex" debug channel

2023-07-17 Thread Jean-Marc Lasgouttes
commit 430c41cd05310e1609e59443927234fcb4493f1b Author: Jean-Marc Lasgouttes Date: Sun Jul 16 20:15:48 2023 +0200 Fix display of comment char in "lyxlex" debug channel --- src/Lexer.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/Lexer.cpp b/src

[LyX/master] Honor scroll_below_document when jumping to end of document

2023-07-18 Thread Jean-Marc Lasgouttes
commit 008cec3eec348b43c106f939c6c60e325c4b5e78 Author: Jean-Marc Lasgouttes Date: Tue Jul 11 22:26:00 2023 +0200 Honor scroll_below_document when jumping to end of document While fixing #12491 at 0fed10e4, some band-aids were removed at the end of `BufferView::scrollToBuffer

[LyX/master] Send some debug info to ACTION

2023-07-20 Thread Jean-Marc Lasgouttes
commit f31bf0df1dec6e815fe28872b1cfeaf608e4ffb0 Author: Jean-Marc Lasgouttes Date: Thu Jul 20 23:39:15 2023 +0200 Send some debug info to ACTION --- src/Cursor.cpp |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Cursor.cpp b/src/Cursor.cpp index 7afefcf

[LyX/master] Use macros with parameters for modulo macros

2023-07-21 Thread Jean-Marc Lasgouttes
commit d59046512c204968122917758ee38d4529b1a03f Author: Jean-Marc Lasgouttes Date: Tue Jul 18 14:27:24 2023 +0200 Use macros with parameters for modulo macros It turns out that it is possible to use macros with parameters in lib/symbols. I use this to simplify the use of

[LyX/master] Detect when one tries to bind a lfun to a prefix of longer commands

2023-07-21 Thread Jean-Marc Lasgouttes
commit c8c589353ade8d8b82248e8adf79ea2feb43b454 Author: Jean-Marc Lasgouttes Date: Fri Dec 9 14:45:14 2022 +0100 Detect when one tries to bind a lfun to a prefix of longer commands Change KeyMap::getBinding to return FuncRequest::prefix in this case. Add handling of this

[LyX/master] Introduce new InsetLayout tag InheritFont

2023-07-22 Thread Jean-Marc Lasgouttes
commit cfe094a380135f0e95ee859444f9c0b8e081c2e7 Author: Jean-Marc Lasgouttes Date: Sun Jul 16 19:05:55 2023 +0200 Introduce new InsetLayout tag InheritFont The font inside the inset is inherited from the parent for LaTeX export if this parameter is true, as well as on screen

[LyX/master] update layout files to format 101

2023-07-22 Thread Jean-Marc Lasgouttes
commit 6d929e71396427231aa8813b5c603387ae11d532 Author: Jean-Marc Lasgouttes Date: Sat Jul 22 23:36:34 2023 +0200 update layout files to format 101 lib/citeengines/basic.citeengine |2 +- lib/citeengines/biblatex-natbib.citeengine |2 +- lib/citeengines

[LyX/master] Replace hardcoded inheritFont() with InheritFont InsetLayout tag

2023-07-22 Thread Jean-Marc Lasgouttes
commit 81e35bc396425548c6ced2ff905efbf56877d13c Author: Jean-Marc Lasgouttes Date: Sat Jul 22 23:27:09 2023 +0200 Replace hardcoded inheritFont() with InheritFont InsetLayout tag Each removed inheritFont method is replaced by a 'InheritFont false' line in th

[LyX/master] Revert "Fix crash when dissolving a top level math inset"

2023-07-23 Thread Jean-Marc Lasgouttes
commit 62d61e765582f6fa297d933282938b127bf47f04 Author: Jean-Marc Lasgouttes Date: Sun Jul 23 00:22:22 2023 +0200 Revert "Fix crash when dissolving a top level math inset" The code was too convoluted and actually wrong (the -1 should have been -2). This reve

[LyX/master] Fix issues with inset-dissolve in mathed

2023-07-23 Thread Jean-Marc Lasgouttes
commit 0f7404392c2c710aa967a937f47eca0ad94cef93 Author: Jean-Marc Lasgouttes Date: Sun Jul 23 17:34:01 2023 +0200 Fix issues with inset-dissolve in mathed * do not try to dissolve a macro template inset (avoids a crash) * disable inset-dissolve when an argument is given

[LyX/master] Improve branch activatiion LFUNs

2023-07-23 Thread Jean-Marc Lasgouttes
commit 35359a4c6f58a9bd660b7dd82c4be5638700d0d9 Author: Jean-Marc Lasgouttes Date: Thu Jul 20 23:42:34 2023 +0200 Improve branch activatiion LFUNs * put the code that is called both from Buffer and InsetBrach in the two helper methods Buffer::branchActivationStatus() and

[LyX/master] Display footnote labels as superscripts

2023-07-24 Thread Jean-Marc Lasgouttes
commit 6a8c10f0d6178dc261f089fe8245de1000ef1941 Author: Jean-Marc Lasgouttes Date: Sat Jul 22 16:53:14 2023 +0200 Display footnote labels as superscripts A new counter type \superarabic is introduced, that transforms the counter into superscript Unicode numbers. This

[LyX features/biginset] Remove some redundant calls to updatePosCache

2023-07-24 Thread Jean-Marc Lasgouttes
The branch, biginset, has been updated. - Log - commit 9ff6d09d1f42f5e30fa59b18c5b9e7975018618b Author: Jean-Marc Lasgouttes Date: Mon Jul 24 15:35:16 2023 +0200 Remove some redundant calls to updatePosCache The

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

2023-07-24 Thread Jean-Marc Lasgouttes
The branch, biginset, has been updated. - Log - commit 37e56c2c19d89e32d43969944960f09df3db01d2 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

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

2023-07-25 Thread Jean-Marc Lasgouttes
The branch, biginset, has been updated. - Log - commit 40a352b27a3f4ca0a1328676058acfbbfaa927e2 Author: Jean-Marc Lasgouttes Date: Tue Jul 25 16:31:13 2023 +0200 Introduce new helpers ParagraphMetrics::top/bottom

[LyX features/biginset] Implement quick scroll

2023-07-25 Thread Jean-Marc Lasgouttes
The branch, biginset, has been updated. - Log - commit 9df4b7e297ff851d839f47d3d369e731366e7d4d Author: Jean-Marc Lasgouttes Date: Mon Jul 24 23:23:40 2023 +0200 Implement quick scroll Replace flag parameter for

[LyX/master] Use correct cursor when creating undo group

2023-08-29 Thread Jean-Marc Lasgouttes
commit d27f309905049a323ba2704559099b1f9bfd4756 Author: Jean-Marc Lasgouttes Date: Tue Aug 29 17:23:22 2023 +0200 Use correct cursor when creating undo group This affects where cursor will be after undo. In this case, we want obviously the 'old' cursor.

[LyX/master] Update caret if needed when changing depth

2023-08-30 Thread Jean-Marc Lasgouttes
commit 0912f7c35636443ecb7cc419ac7cd118c2b91ca8 Author: Jean-Marc Lasgouttes Date: Wed Aug 30 13:45:00 2023 +0200 Update caret if needed when changing depth Fixes bug #12856. --- src/Text.cpp |3 ++- src/Text.h |2 +- 2 files changed, 3 insertions(+), 2 deletions

[LyX features/biginset] Fixup Implement quick scroll

2023-08-30 Thread Jean-Marc Lasgouttes
The branch, biginset, has been updated. - Log - commit d46bb7c6fd209ad08889b87b79dea29b10019d86 Author: Jean-Marc Lasgouttes Date: Wed Aug 30 14:07:38 2023 +0200 Fixup Implement quick scroll diff --git a/src/BufferView.cpp

[LyX/master] Add _v_() debug helper maco

2023-09-01 Thread Jean-Marc Lasgouttes
commit 2092663365f9f5b1b79b4e5de599cf9b9abc4210 Author: Jean-Marc Lasgouttes Date: Thu Aug 31 12:54:53 2023 +0200 Add _v_() debug helper maco This can be used with streams. LYXERR0(_v_(var)) leads to the message "var=" --- src/support/debug.h |9 ++

[LyX/master] Improve caret position when splitting a view

2023-09-02 Thread Jean-Marc Lasgouttes
commit e651e15a99721ea0611f12550a14316b1e890da9 Author: Jean-Marc Lasgouttes Date: Fri Sep 1 19:36:45 2023 +0200 Improve caret position when splitting a view The old code only worked for toplevel cursors and did not show current cursor. Note that the two windows do not have

[LyX/master] Check whether MathRow exists when computing caret metrics

2023-09-02 Thread Jean-Marc Lasgouttes
commit 7eecab590280892d1dab85298366d0033bbf0e39 Author: Jean-Marc Lasgouttes Date: Sat Sep 2 17:15:20 2023 +0200 Check whether MathRow exists when computing caret metrics Fixes bug #12888. --- src/BufferView.cpp |8 +++- src/BufferView.h |2 ++ 2 files changed, 9

[LyX/master] Put comment where it belongs

2023-09-04 Thread Jean-Marc Lasgouttes
commit 0c6101b0cb1f9769b85a085881e679963a9c8f0e Author: Jean-Marc Lasgouttes Date: Mon Sep 4 11:07:34 2023 +0200 Put comment where it belongs --- src/BufferView.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BufferView.cpp b/src/BufferView.cpp index

[LyX/master] When splitting a bufferview, keep the scrollbar position

2023-09-05 Thread Jean-Marc Lasgouttes
commit 100e759f17e8abad66c7923e1737a7f41e8e5ca2 Author: Jean-Marc Lasgouttes Date: Mon Sep 4 11:26:55 2023 +0200 When splitting a bufferview, keep the scrollbar position This is actually better thean making sure that the cursor is visible. Fixes bug #12689. --- src

[LyX/master] Small updates to painting analysis document

2023-09-10 Thread Jean-Marc Lasgouttes
commit 9c49e72f7eaeb86b1f4f93d9d16e74d0db99f2d4 Author: Jean-Marc Lasgouttes Date: Sun Sep 10 20:24:39 2023 +0200 Small updates to painting analysis document --- development/PAINTING_ANALYSIS | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/development

[LyX/master] Only split view rather than split and move

2023-09-15 Thread Jean-Marc Lasgouttes
commit ceb1a4c393f61fb2a507bcd4607a52e75db16d5b Author: Daniel Ramoeller Date: Wed Sep 6 17:47:27 2023 +0200 Only split view rather than split and move Fix for #12893 --- src/frontends/qt/GuiView.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/fr

[LyX/master] Rename shortenIfNeeded first parameter to `max_width'

2023-09-15 Thread Jean-Marc Lasgouttes
commit 68ba1b57b484454b8b9a29f810cb84e0c48b3ac3 Author: Jean-Marc Lasgouttes Date: Tue Sep 12 14:17:22 2023 +0200 Rename shortenIfNeeded first parameter to `max_width' The short name `w' was not meaningful. --- src/Row.cpp | 16 src/Row.h |6

[LyX/master] When drawing macro names, enforce LtR direction

2023-09-22 Thread Jean-Marc Lasgouttes
commit 94c6d45b74f815c8c924ed88b30f246201733f05 Author: Jean-Marc Lasgouttes Date: Fri Sep 22 12:41:44 2023 +0200 When drawing macro names, enforce LtR direction Add a Direction parameter to the Painter::text methods that take a FontInfo parameter. In drawStrRed and

[LyX/master] Make sure that caret width is not null in mathed

2023-09-24 Thread Jean-Marc Lasgouttes
commit 9156712895d20e337ca83b7b419aeae1b871cd2c Author: Jean-Marc Lasgouttes Date: Fri Sep 22 17:44:12 2023 +0200 Make sure that caret width is not null in mathed The same test exists in texted. Fixes bug #12904. --- src/mathed/MathData.cpp |2 +- 1 files changed, 1

[LyX/master] Revert "Avoid row breaking at inconvenient places."

2023-09-25 Thread Jean-Marc Lasgouttes
commit 1ca43e1938e172e6f5a48eb353b0cb678b31f43d Author: Jean-Marc Lasgouttes Date: Mon Sep 25 12:28:01 2023 +0200 Revert "Avoid row breaking at inconvenient places." The solution did create new issues. Fixes bug #12899. Unfixes bug #12660. This reve

[LyX/master] Avoid row breaking at inconvenient places.

2023-09-25 Thread Jean-Marc Lasgouttes
commit 71d9f6e90d52d8f85c9e8b530027a9fd59c697e8 Author: Jean-Marc Lasgouttes Date: Mon Sep 25 12:35:40 2023 +0200 Avoid row breaking at inconvenient places. When it turns out that breaking a STRING row element was not sufficient in Row::shortenIfNeeded, we still remember the

[LyX/master] Improve comments

2023-09-25 Thread Jean-Marc Lasgouttes
commit 549969a56356b57cb912f7caea58e437399f1ca5 Author: Jean-Marc Lasgouttes Date: Mon Sep 25 12:46:16 2023 +0200 Improve comments --- src/Row.cpp | 15 --- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/Row.cpp b/src/Row.cpp index e911fef..687d9ec 100644

[LyX features/biginset] Profile also BufferView::processUpdateFlags

2023-09-29 Thread Jean-Marc Lasgouttes
The branch, biginset, has been updated. - Log - commit db5ebd2b8f9b69a309771c73d16ae5eef895327e Author: Jean-Marc Lasgouttes Date: Tue Jul 25 19:42:25 2023 +0200 Profile also BufferView::processUpdateFlags diff --git a/src

[LyX/master] Use Color_selectiontext as needed for partial selection in math

2023-10-03 Thread Jean-Marc Lasgouttes
commit 65cb9fa4df563becbb69e4e95715dd121b64aca3 Author: Jean-Marc Lasgouttes Date: Tue Oct 3 11:38:40 2023 +0200 Use Color_selectiontext as needed for partial selection in math Currently, selected math hull insets use Color_selectiontext when system colors are in use. This

[LyX/master] Do not use Color_selectionmath when selection is gone

2023-10-12 Thread Jean-Marc Lasgouttes
commit ff7696f184e1065048d81954ef2c9a9d27b4f026 Author: Jean-Marc Lasgouttes Date: Thu Oct 12 11:28:44 2023 +0200 Do not use Color_selectionmath when selection is gone It might happen that the selection goes away without recomputing metrics (for example with char-forward). The

[LyX/master] Use Color_selectionmath as needed for multi-cell selection in math

2023-10-12 Thread Jean-Marc Lasgouttes
commit 174dc2c8be3c0098e28bf5676819c7ca1c65d74f Author: Jean-Marc Lasgouttes Date: Thu Oct 12 11:09:46 2023 +0200 Use Color_selectionmath as needed for multi-cell selection in math This is complementary to partial selection implemented at 65cb9fa4. --- src/mathed/MathData.cpp

[LyX/master] Fixup 65cb9fa4: avoid extra spacing when selecting math

2023-10-18 Thread Jean-Marc Lasgouttes
commit 99ecdd6cebaaaf6bf8e8123411475d26df9c358c Author: Jean-Marc Lasgouttes Date: Wed Oct 18 12:28:47 2023 +0200 Fixup 65cb9fa4: avoid extra spacing when selecting math This was happening whenever a selection started/ended after a fraction inset. --- src/mathed/MathRow.cpp

[LyX/master] fix comment

2023-10-24 Thread Jean-Marc Lasgouttes
commit b3bf8382483324f5cf2ea6214718f165a4f5492e Author: Jean-Marc Lasgouttes Date: Tue Oct 24 13:48:57 2023 +0200 fix comment --- lib/bind/site.bind |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/bind/site.bind b/lib/bind/site.bind index 2e7ad43..dc76b68

[LyX/master] Use same icon for outline-in/out regardeless of "local" argument

2023-10-24 Thread Jean-Marc Lasgouttes
commit c80f58396b8de8fb14f3838903a59e723b51e617 Author: Jean-Marc Lasgouttes Date: Tue Oct 24 14:33:04 2023 +0200 Use same icon for outline-in/out regardeless of "local" argument Final touch to #12417. --- lib/images/icon.aliases |3 +++ 1 files changed, 3 insert

[LyX/master] Document icon.aliases in Release notes

2023-10-24 Thread Jean-Marc Lasgouttes
commit 7e19722b0d87e9a6d5c46d48b804375acfa0d72c Author: Jean-Marc Lasgouttes Date: Tue Oct 24 14:52:33 2023 +0200 Document icon.aliases in Release notes --- lib/RELEASE-NOTES |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/lib/RELEASE-NOTES b/lib/RELEASE-NOTES

[LyX/master] Fix word selection expansion when going to the left

2023-11-06 Thread Jean-Marc Lasgouttes
commit 04a24211a6e5d98c982dcc8b2b4e22f9c2ca27e2 Author: Jean-Marc Lasgouttes Date: Mon Nov 6 11:53:03 2023 +0100 Fix word selection expansion when going to the left The proper way to do word-wise selection is to compute the words around both the cursor and the anchor

[LyX/master] Update math macro display when entering from above/balow

2023-11-07 Thread Jean-Marc Lasgouttes
commit 9c3d9cded0b7f40b449bdfab0200d7fb27e1b1a8 Author: Jean-Marc Lasgouttes Date: Tue Nov 7 15:43:57 2023 +0100 Update math macro display when entering from above/balow This change forces metrics computation in all cases when cursor enters a math inset from above/below, but I

[LyX/2.3.x] Correct moc compiler version extractor regex for patch level greater 9.

2023-11-08 Thread Jean-Marc Lasgouttes
commit b7403de38cff46837ab3886396dab1480eed127c Author: Stephan Witt Date: Fri Jul 16 18:12:33 2021 +0200 Correct moc compiler version extractor regex for patch level greater 9. (cherry picked from commit c93c94fd22b30841e3d36fc8fc583a70091cc72f) --- config/qt4.m4 |2 +- statu

[LyX/2.3.x] Use << for raising 2 to power instead of ^

2023-11-08 Thread Jean-Marc Lasgouttes
commit 3f14be77392ae75db19c3d3350409fec860a71b3 Author: Scott Kostyshak Date: Sat Mar 28 12:19:11 2020 -0400 Use << for raising 2 to power instead of ^ The ^ is interpretted as bitwise XOR, so 2^(20) evaluated to 22. Thanks to Riki for the << trick. This way, we do not hav

[LyX/2.3.x] PreviewLoader: start fake pids after PID_MAX_LIMIT

2023-11-08 Thread Jean-Marc Lasgouttes
commit ebf09680daf2ee9112ec869c39965369dd34c55d Author: Scott Kostyshak Date: Sat Mar 28 19:12:25 2020 -0400 PreviewLoader: start fake pids after PID_MAX_LIMIT (cherry picked from commit b67ff925e587acbf7b838d1a5647356bff57e3cd) --- src/graphics/PreviewLoader.cpp |3 ++- statu

[LyX/2.3.x] Remove unused methods

2023-11-08 Thread Jean-Marc Lasgouttes
commit b3332f032ce5706d36b535772d1cf0e3ec8b85d6 Author: Jean-Marc Lasgouttes Date: Wed Nov 8 16:41:04 2023 +0100 Remove unused methods They actually lead to the following warning: ../../stable/src/mathed/InsetMath.h:236:26: warning: ‘virtual lyx::HullType lyx::InsetMath

[LyX/master] Avoid dangling-reference warning in several places

2023-11-10 Thread Jean-Marc Lasgouttes
commit c2653e451cd4ffb162a25267f86ad40d0c956f61 Author: Jean-Marc Lasgouttes Date: Wed Nov 8 18:07:14 2023 +0100 Avoid dangling-reference warning in several places This new warning in gcc 13 is annoying because it happens in certain parts of our code where it is harmless to

[LyX/master] Move LYX_(BEGIN|END)_MUTE_GCC_WARNING macros to their own header.

2023-11-10 Thread Jean-Marc Lasgouttes
commit 2b0841b0c910506b9b4ceaf9edf107b163447da5 Author: Jean-Marc Lasgouttes Date: Fri Nov 10 13:14:34 2023 +0100 Move LYX_(BEGIN|END)_MUTE_GCC_WARNING macros to their own header. It was not nice to other build systems to define that in configure.ac. --- configure.ac

[LyX/master] fixup 2b0841b0: forgot to add new file

2023-11-10 Thread Jean-Marc Lasgouttes
commit 149a34a483372b2d4b45d0f189a2db01fe897f12 Author: Jean-Marc Lasgouttes Date: Fri Nov 10 14:39:27 2023 +0100 fixup 2b0841b0: forgot to add new file --- src/support/mute_warning.h | 43 +++ 1 files changed, 43 insertions(+), 0 deletions

[LyX features/biginset] Update PAINTING_ANALYSIS

2023-11-20 Thread Jean-Marc Lasgouttes
The branch, biginset, has been updated. - Log - commit c56c1dd5007603ba3f68add0d405de54ed3a418a Author: Jean-Marc Lasgouttes Date: Mon Nov 20 17:24:09 2023 +0100 Update PAINTING_ANALYSIS diff --git a/development

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

2023-11-24 Thread Jean-Marc Lasgouttes
The branch, biginset, has been updated. - Log - commit c81ec3c7e934f1ba30e3933655cd7a53cf9c23c2 Author: Jean-Marc Lasgouttes Date: Wed Nov 22 12:07:51 2023 +0100 Reduce metrics updates from 4 to 1 when loading file

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

2023-11-27 Thread Jean-Marc Lasgouttes
The branch, biginset, has been updated. - Log - commit 84b24971c84544bcfcf097dec421924d6f15add9 Author: Jean-Marc Lasgouttes Date: Mon Nov 27 11:46:52 2023 +0100 Avoid metrics computation on resize when width did not change

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

2023-11-27 Thread Jean-Marc Lasgouttes
The branch, biginset, has been updated. - Log - commit 75bd5dcf8abd2d00070ef35675a50b844e5a55a8 Author: Jean-Marc Lasgouttes Date: Mon Nov 27 15:57:09 2023 +0100 Avoid full metrics computation when entering/leaving inset

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

2023-11-27 Thread Jean-Marc Lasgouttes
The branch, biginset, has been updated. - Log - commit 11a1e66b7203f7b33451743ff33f97f04f3db9d4 Author: Jean-Marc Lasgouttes Date: Mon Nov 27 17:50:40 2023 +0100 Indicate that, by default, mouse LFUN do not require a metrics

[LyX features/biginset] fixup "Reduce metrics updates..."

2023-11-29 Thread Jean-Marc Lasgouttes
The branch, biginset, has been updated. - Log - commit d0054f825b99c6a1b3fcff87ae3a7deb6761bcb9 Author: Jean-Marc Lasgouttes Date: Wed Nov 29 19:33:43 2023 +0100 fixup "Reduce metrics updates..." When

[LyX/master] Remove code that has been dead for almost 20 years

2023-11-30 Thread Jean-Marc Lasgouttes
commit a635e461a1ba6299ae57bb13e4168dfd767e96a3 Author: Jean-Marc Lasgouttes Date: Thu Nov 30 09:46:05 2023 +0100 Remove code that has been dead for almost 20 years --- src/Cursor.cpp |2 - src/mathed/InsetMathHull.cpp | 63

[LyX/master] Disable properly math inset locking

2023-12-08 Thread Jean-Marc Lasgouttes
commit 94118b865e242dc4003967433fe41c7a29e40e98 Author: Jean-Marc Lasgouttes Date: Thu Dec 7 17:21:45 2023 +0100 Disable properly math inset locking It is not clear whether this feature was once documented and used (it would have been 20 years ago). It is mostly

[LyX/master] Show change bar for an end-of-paragraph change

2023-12-11 Thread Jean-Marc Lasgouttes
commit 8832f816ce54837f410f8ca190841cdf410279f9 Author: Jean-Marc Lasgouttes Date: Mon Dec 11 17:40:09 2023 +0100 Show change bar for an end-of-paragraph change Fixes bug #13003. --- src/Row.cpp |1 + src/TextMetrics.cpp |3 +++ 2 files changed, 4 insertions(+), 0

[LyX features/biginset] Fixup 4ae504ce316: honor Update::SinglePar

2023-12-19 Thread Jean-Marc Lasgouttes
The branch, biginset, has been updated. - Log - commit 6e568269d2c27f9a673d9a294c8a197e38082662 Author: Jean-Marc Lasgouttes Date: Tue Dec 19 13:59:28 2023 +0100 Fixup 4ae504ce316: honor Update::SinglePar When

[LyX/master] Remove unused variables

2023-12-19 Thread Jean-Marc Lasgouttes
commit 3695b631c6c16d1d87c646d25143c416e7358bad Author: Jean-Marc Lasgouttes Date: Tue Dec 19 17:24:31 2023 +0100 Remove unused variables --- src/graphics/PreviewLoader.cpp |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/src/graphics/PreviewLoader.cpp b/src

[LyX/master] Fix previews in yellow notes and disabled branches

2023-12-19 Thread Jean-Marc Lasgouttes
commit 2d5fa181a1b187e47dae66b924a7eaf83b8fde72 Author: Jean-Marc Lasgouttes Date: Tue Dec 19 17:45:00 2023 +0100 Fix previews in yellow notes and disabled branches While it is not necessary to run validate() on insets that do not produce output (yellow notes and disabled

[LyX features/biginset] Do not compute metrics at each preview when loading file

2023-12-21 Thread Jean-Marc Lasgouttes
The branch, biginset, has been updated. - Log - commit 724abcf97cad9d59cc5fed8e86c927c6c7473191 Author: Jean-Marc Lasgouttes Date: Thu Dec 21 16:33:06 2023 +0100 Do not compute metrics at each preview when loading file

[LyX/master] Remove obsolete comment

2024-01-04 Thread Jean-Marc Lasgouttes
commit 4a2474c2469e43e4639a97fdfc0138b2fd8e1b24 Author: Jean-Marc Lasgouttes Date: Thu Jan 4 18:44:33 2024 +0100 Remove obsolete comment --- src/graphics/GraphicsImage.h |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/src/graphics/GraphicsImage.h b/src/graphics

[LyX/2.2.x] Rename InsetMathHull::isTable to allowsTabularFeatures

2016-07-25 Thread Jean-Marc Lasgouttes
commit 7444b894f806eb9a7dee91a160974c0605aeb037 Author: Jean-Marc Lasgouttes Date: Fri Apr 22 15:50:51 2016 +0200 Rename InsetMathHull::isTable to allowsTabularFeatures The old name conflicted with the newly introduced Inset::isTable. Now the meaning is as follows

[LyX/2.2.x] Fix cursor position after redo

2016-07-25 Thread Jean-Marc Lasgouttes
commit fe5e117038788c7eeca8b10562eff108c26af4b0 Author: Jean-Marc Lasgouttes Date: Wed Apr 27 21:16:34 2016 +0200 Fix cursor position after redo When document settings are modified, a command inset-forall Branch inset-toggle asign is run to open as needed all branches

[LyX/2.2.x] Make monolithic build code portable to Mac OS

2016-07-25 Thread Jean-Marc Lasgouttes
commit 0576973b8de3720e4e5415cc101f87787df89b0e Author: Jean-Marc Lasgouttes Date: Wed Apr 13 18:27:42 2016 +0200 Make monolithic build code portable to Mac OS "echo -e" is definitely not portable. Use a plain loop instead. Also use the automake silent rule me

[LyX/2.2.x] Fix drawing of buttonText (enforce same left/right spacing)

2016-07-25 Thread Jean-Marc Lasgouttes
commit 40f0659ec0cb0416ab94eb700f37f1b9a65d6212 Author: Jean-Marc Lasgouttes Date: Mon May 23 15:24:13 2016 +0200 Fix drawing of buttonText (enforce same left/right spacing) The computation of the width of the button was wrong. If <--> stands for TEXT_TO_INSET_OFFSET/2 s

[LyX/2.2.x] Fix horizontal scrolling in full-width collapsable insets

2016-07-25 Thread Jean-Marc Lasgouttes
commit c8e1c092369a6708499d4503f620d028968d2167 Author: Jean-Marc Lasgouttes Date: Fri Apr 22 12:11:00 2016 +0200 Fix horizontal scrolling in full-width collapsable insets While a one paragraph large collapsable inset (containing for example a tabular) could be very wide and

[LyX/2.2.x] Do not use 'u' flag for ar

2016-07-25 Thread Jean-Marc Lasgouttes
commit 2766857f012833965ad4b62dee3f29f3a7f3425c Author: Jean-Marc Lasgouttes Date: Wed May 11 17:09:34 2016 +0200 Do not use 'u' flag for ar The Reproducible Builds effort (https://wiki.debian.org/ReproducibleBuilds) in Debian (at least) means that 'ar' is bu

<    1   2   3   4   5   6   7   8   9   10   >