LyX

~gadmm/lyx/+git/master:2.4.1-devel

Last commit made on 2024-04-25
Get this branch:
git clone -b 2.4.1-devel https://git.launchpad.net/~gadmm/lyx/+git/master

Branch merges

Branch information

Name:
2.4.1-devel
Repository:
lp:~gadmm/lyx/+git/master

Recent commits

13a34d6... by Jean-Marc Lasgouttes

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: it inserts the contents of
the macro _after_ the macro and later, since the macro is 'greedy', it
will eat this contents and put it in its first macro cell.

Does it make sense to you? It does not ake sense to me either. Anyway,
this is the point where one should make sure that the buffer is set.

Fixes ticket #12682.

(cherry picked from commit b45a957929a78cefc729a0fa984214eb83357d42)

21096f6... by Jean-Marc Lasgouttes

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 pointers in cursors are
now wrong. This requires to sanitize the cursors held by the buffer
views.

Before the biginset branch, some full metrics computation call that is
now removed probably did that as a side effect. Now we have to be more
precise.

To this effect, introduce WorkAreaManager::sanitizeCursors() and use
it in Buffer::reload().

(cherry picked from commit c1fd622c51752d790576600f5911813ff8dac3fa)

9b4b05e... by Jean-Marc Lasgouttes

Document biginset branch

e83f912... by Richard Kimberly Heck <email address hidden>

Status

64393c7... by Juergen Spitzmueller <email address hidden>

Status update

9871c17... by Juergen Spitzmueller <email address hidden>

gbrief-2 loads babel internally. So don't load it ourselves.

This makes the class fully functional with non-TeX fonts (it uses
\babelfont for the purpose). Before, docs were compiling but the
output was wrong.

(cherry picked from commit c3c96a446b32ef77927b5e06436c2668d95dfd6d)

7b7322b... by Juergen Spitzmueller <email address hidden>

g-brief loads babel internally. So don't load it ourselves.

This makes the class fully functional with non-TeX fonts (it uses
\babelfont for the purpose). Before, docs were compiling but the
output was wrong.

10ca66a... by Kornel Benko <email address hidden>

Cmake install: Forgotten to install tabletemplates.

(cherry picked from commit d05e295ddc22c65183a203e97240898a055d2d12)

c9f5f34... by Jean-Marc Lasgouttes

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 new behavior of
updateMatrics(bool)), it is necessary to make sure that the grey area
below the main page is always repainted.

(cherry picked from commit 1a11abe4394272f521cd63993e426c136e0e9b6c)

15eef6a... by Jean-Marc Lasgouttes

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 because each preview element causes a
full screen metrics recomputation.

This commit just skips these calls and only does one when all previews
have been obtained. As a result, computing the previews takes 1 second
instead of 25 seconds on branch-test.lyx.

Part of bug #12297.

(cherry picked from commit 244969330108a89f4be93d3b2eb9024bdb756204)