mediawiki-extensions-Visual.../modules/ve/test
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
..
ce Test: Enforce # of expected assertions. 2012-10-25 22:06:07 +02:00
dm Introduce meta-linmod 2012-11-02 19:06:49 -07:00
ui ve.ui.CommandFactory: Initial implementation 2012-10-24 17:48:16 +00:00
image.png Losslessly compress png images 2012-08-18 23:12:44 +01:00
index.html Add InspectorFactory to tests 2012-10-29 18:36:54 -07:00
ve.BranchNode.test.js Optimize UI tool state updates. 2012-09-19 11:16:10 -07:00
ve.Document.test.js Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.example.js Add parentOuterRange to selectNodes() output 2012-10-19 15:28:26 -07:00
ve.Factory.test.js Added multiple name registration to ve.Factory 2012-10-12 17:43:04 -07:00
ve.LeafNode.test.js Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.Node.test.js Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.qunit.js Test: Enforce # of expected assertions. 2012-10-25 22:06:07 +02:00
ve.Range.test.js Test: Enforce # of expected assertions. 2012-10-25 22:06:07 +02:00
ve.test.js Fix ve.batchSplice() to behave in line with docs 2012-10-30 10:05:49 -07:00