LyX

~gadmm/lyx/+git/master:master

Last commit made on 2024-05-01
Get this branch:
git clone -b master https://git.launchpad.net/~gadmm/lyx/+git/master

Branch merges

Branch information

Name:
master
Repository:
lp:~gadmm/lyx/+git/master

Recent commits

f589577... by Jean-Marc Lasgouttes

Fixup 2660df9b99b80: missing stuff after moving Lexer to support/

a4d9315... by Jean-Marc Lasgouttes

Avoid full metrics computation with Update:FitCursor

The handling of Update::FitCursor traditionnally recomputes all
metrics once or twice. Now that updateMetrics(false) ensures that all
paragraphs that require it have a metrics, we might as well use that.

Take this occasion to move handling of Update::SinglePar earlier,
before the check for Update::ForceDraw.

527984e... by Jean-Marc Lasgouttes

Fix up 'Reduce metrics updates from 4 to 1 when loading file'

The missing metrics computation meant that, when loading a file, the
workarea would not be scrolled correctly to show the cursor.

The resizeBufferView does not create an additional metrics
computation, it just triggers it earlier.

23c45f7... by Scott Kostyshak

CMake: adapt to new location of Lexer

Lexer is now in support/. See 2660df9b.

df19a70... by Jean-Marc Lasgouttes

Remove unused #include

2660df9... by Jean-Marc Lasgouttes

Move Lexer to support/ directory (and lyx::support namespace)

This requires quite a bit of trivial code shuffling.

ed2f3cb... by Jean-Marc Lasgouttes

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 selection has to be sent to the X11 server
and BufferView::requestSelection() is called. Eventually
cap::grabSelection() is the function that creates this partial
MathData object.

Fixes ticket #12947.

b45a957... 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.

af35218... by Jean-Marc Lasgouttes

typo

623cc13... by Jean-Marc Lasgouttes

Autotools: optimize with -Og when debugging

When debug (-g) is enabled (default when compiling a development
version), the existing -O optimization level is not correct, since
many variables are optimized out when debugging.

Use -Og instead, and condition not on compiling a development version,
but on --enable-debug. This is the same by default, but it more
precise in our case.