mediawiki-extensions-Visual.../modules/ve/test/dm
Catrope 857535b63f Introduce meta-linmod
* ve.dm.Converter still generates metaInline/metaBlock elements as
  before, it's not affected by this change
* ve.dm.Document constructor splits its input into "real" data and
  metadata
** Metadata is stored in this.metadata (the meta-linmod) as a sparse
   array of arrays, with an element for each offset in this.data
** this.data itself does not contain the metadata
** This means the node tree also doesn't contain the metadata
** Which means CE doesn't know about it at all
* All splice operations on the linear model are sent through
  ve.dm.Document.spliceData(), which performs the splice and syncs the
  meta-linmod
** Metadata in the removed range is reaped and added to the metadata for
   the offset immediately following the removal
* ve.dm.Document.getFullData() splices the linmod and meta-linmod back
  into each other; this "full data" is then fed back to ve.dm.Converter

Change-Id: Ief6dfd5b59cc13a8457993ed85c725413029c4fb
2012-11-02 19:06:49 -07:00
..
nodes Kranitor #1: On-boarding 2012-07-27 14:40:00 -07:00
ve.dm.AnnotationFactory.test.js New annotation API: Annotation and AnnotationFactory classes 2012-10-12 15:07:02 -07:00
ve.dm.BranchNode.test.js Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00
ve.dm.Converter.test.js Test: Enforce # of expected assertions. 2012-10-25 22:06:07 +02:00
ve.dm.Document.test.js Introduce meta-linmod 2012-11-02 19:06:49 -07:00
ve.dm.DocumentSynchronizer.test.js Introduce meta-linmod 2012-11-02 19:06:49 -07:00
ve.dm.example.js Introduce meta-linmod 2012-11-02 19:06:49 -07:00
ve.dm.LeafNode.test.js Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00
ve.dm.Node.test.js Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00
ve.dm.NodeFactory.test.js Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00
ve.dm.Surface.test.js New annotation API: update tests 2012-10-12 15:07:28 -07:00
ve.dm.SurfaceFragment.test.js No longer copy data in ve.dm.Document constructor 2012-10-24 17:32:35 -07:00
ve.dm.Transaction.test.js Test: Enforce # of expected assertions. 2012-10-25 22:06:07 +02:00
ve.dm.TransactionProcessor.test.js Test: Enforce # of expected assertions. 2012-10-25 22:06:07 +02:00