commit c8230ab0d0a919530c43c29395f4d9961498bf15 Merge: 9a1728c 61c5769 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Thu Feb 15 14:08:16 2018 +0100
Merge remote-tracking branch 'features/properpaint' into 2.3.2-staging This makes sure that painting actually happens at paint events, making display more fluid. development/PAINTING_ANALYSIS | 88 ++++-- src/BufferView.cpp | 297 ++++++++++------- src/BufferView.h | 27 +- src/Cursor.cpp | 13 - src/Cursor.h | 2 - src/MetricsInfo.h | 2 +- src/ParagraphMetrics.cpp | 38 --- src/ParagraphMetrics.h | 3 - src/Row.cpp | 30 +- src/Row.h | 36 ++- src/RowPainter.cpp | 14 +- src/TextMetrics.cpp | 91 ++++-- src/TextMetrics.h | 5 + src/frontends/Makefile.am | 1 + src/frontends/NullPainter.h | 109 +++++++ src/frontends/Painter.h | 11 +- src/frontends/WorkArea.h | 4 +- src/frontends/WorkAreaManager.cpp | 2 +- src/frontends/qt4/FindAndReplace.cpp | 4 +- src/frontends/qt4/GuiApplication.cpp | 19 +- src/frontends/qt4/GuiInclude.cpp | 2 +- src/frontends/qt4/GuiPainter.cpp | 34 +-- src/frontends/qt4/GuiPainter.h | 3 + src/frontends/qt4/GuiView.cpp | 12 +- src/frontends/qt4/GuiView.h | 2 +- src/frontends/qt4/GuiWorkArea.cpp | 530 +++++++++++++------------------ src/frontends/qt4/GuiWorkArea.h | 18 +- src/frontends/qt4/GuiWorkArea_Private.h | 130 ++++---- src/mathed/InsetMathMacroTemplate.cpp | 18 +- src/update_flags.h | 14 +- status.23x | 5 + 31 files changed, 817 insertions(+), 747 deletions(-) diff --cc status.23x index 16ce90b,16ce90b..863f74e --- a/status.23x +++ b/status.23x @@@ -25,6 -25,6 +25,11 @@@ What's ne * USER INTERFACE ++- Overhaul the document painting mechanism. Now the screen is updated ++ asyncronously (as all normal applications do), which makes LyX ++ snappier, especially on repeated events. As an added bonus, subpixel ++ aliasing is honored in the work area. ++ - Handle properly top/bottom of inset with mac-like cursor movement (bug 10701).