mediawiki-extensions-Visual.../modules/ve/dm
Trevor Parscal 7ea475ebcf Initial commit of data model rewrite
Ground-up rewrite of the data model. Putting this in the ve2 directory for now so we still have the old code floating around.

Main changes so far in this rewrite:
* Renamed hasChildren() to canHaveChildren()
* Added canHaveGrandchildren()
* Added a new node type TwigNode that can have children but not grandchildren (so all of its children must be LeafNodes)
* Implemented push/pop/shift/unshift as wrappers around splice()
* Renamed getElementType() to getType(). Nodes now take a string as a type, and the element stuff is gone and won't be back
* Removed clearRoot(), replaced it with setRoot( this ) where needed

Change-Id: I23f3bb1b4a2473575e5446e87fdf17af107bacf6
2012-04-19 13:54:34 -07:00
..
nodes Add and update an offset map in DocumentNode 2012-04-13 16:46:02 -07:00
serializers Changed to using structured lists 2012-04-05 14:32:08 -07:00
ve.dm.BranchNode.js Initial commit of data model rewrite 2012-04-19 13:54:34 -07:00
ve.dm.DocumentSynchronizer.js Add and update an offset map in DocumentNode 2012-04-13 16:46:02 -07:00
ve.dm.js Removed duplicate static methods and members that were copied to ve.dm - lets just leave them in ve.dm.DocumentNode for now. 2012-03-09 21:54:00 +00:00
ve.dm.LeafNode.js
ve.dm.Node.js Update class names, from ve.es to ve.cs, and update code that uses those classes 2012-03-06 22:39:43 +00:00
ve.dm.Surface.js Make toolbar and context menu works 2012-04-06 17:43:14 +02:00
ve.dm.Transaction.js Add replace operation 2012-03-08 23:21:17 +00:00
ve.dm.TransactionProcessor.js Add and update an offset map in DocumentNode 2012-04-13 16:46:02 -07:00