commit: Code reworks for updateLayout speed ups

From: <msevior_at_physics.unimelb.edu.au>
Date: Wed Apr 13 2005 - 05:16:26 CEST

CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: src/text/fmt/xp/fl_BlockLayout.cpp
CVS: src/text/fmt/xp/fl_BlockLayout.h
CVS: src/text/fmt/xp/fl_ContainerLayout.h
CVS: src/text/fmt/xp/fl_DocLayout.cpp
CVS: src/text/fmt/xp/fl_FootnoteLayout.cpp
CVS: src/text/fmt/xp/fl_FootnoteLayout.h
CVS: src/text/fmt/xp/fl_FrameLayout.cpp
CVS: src/text/fmt/xp/fl_FrameLayout.h
CVS: src/text/fmt/xp/fl_SectionLayout.cpp
CVS: src/text/fmt/xp/fl_SectionLayout.h
CVS: src/text/fmt/xp/fl_TOCLayout.cpp
CVS: src/text/fmt/xp/fl_TOCLayout.h
CVS: src/text/fmt/xp/fl_TableLayout.cpp
CVS: src/text/fmt/xp/fl_TableLayout.h
CVS: src/text/fmt/xp/fp_TOCContainer.cpp
CVS: src/text/fmt/xp/fp_TableContainer.cpp
CVS: src/text/fmt/xp/fv_View.cpp src/text/ptbl/xp/pt_PieceTable.cpp
CVS: src/text/ptbl/xp/pt_PieceTable.h
CVS: src/text/ptbl/xp/px_ChangeRecord.cpp
CVS: src/text/ptbl/xp/px_ChangeRecord.h
CVS: src/wp/impexp/xp/ie_imp_RTF.cpp
CVS: ----------------------------------------------------------------------
Reworked code to enable substantial updateLayout speedups.

This implements the ideas outlined in the wikki to speedup updateLayout.
The changes needed in the text/fmt/xp code have been written and the
updateLayout code to update just the structures that need updating, not
the
whole document is written.

At this point though I force the old method of scanning the document and
use the other method as a backup.

I did this because there are now some issues with weird redraws and clears
with the new method. However the code as it stands now is more robust and
is not slower than before. Also with this code committed to CVS it's a
simple matter of just commenting out one line to work on the remaining
bugs in updateLayout.

Cheers

Martin
Received on Wed Apr 13 05:16:05 2005

This archive was generated by hypermail 2.1.8 : Wed Apr 13 2005 - 05:16:07 CEST