mediawiki-extensions-Visual.../modules/ve
Ed Sanders 67e9d5d1dd (bug 45029) Transactions for metadata modification.
Have created builders for insertion, removal, and single element replacement.

In adding Document.getMetadata which is nearly identical to Document.getData,
the two functions have been refactored to use a common static method
getDataSlice, with this.data/this.metadata as an argument.

Document.spliceMetadata has been added. It is essentially spliceData with
the data/metadata synchronisation issue.

Metadata cursor position is now tracked in the TransactionProcessor. Cursor
advancement has been moved to a function so the metadata cursor can be reset
every time the data cursor is moved.

There were unhit bugs in the TransactionProcessor run test section, where
the data being loaded into the test documents wasn't always being deep-copied,
and the assert was looking at getData instead of getFulldata (which wouldn't
be able to test metadata changes).

Change-Id: Ieb20ab3e7827bc7ff04148f147da6728eb1eb666
2013-02-14 17:27:27 -08:00
..
actions Merge "Fixes for typos and some missing documentation" 2013-01-18 21:05:13 +00:00
ce Change the HTML attribute prefix from html/ to html/0/ 2013-02-06 12:00:43 -08:00
dm (bug 45029) Transactions for metadata modification. 2013-02-14 17:27:27 -08:00
init Add Iceweasel to supported browsers list 2013-01-29 17:53:09 -08:00
styles Cleaned up paste target and surface styles 2013-01-17 15:02:47 -08:00
test (bug 45029) Transactions for metadata modification. 2013-02-14 17:27:27 -08:00
ui Annotate newly inserted target text as a link. 2013-02-07 16:06:08 -08:00
ve.Action.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.ActionFactory.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.AnnotationSet.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.BranchNode.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.CommandRegistry.js Add interplatform, i18n shortcuts to ui buttons. 2013-01-17 15:28:32 -08:00
ve.debug.js JSDuck: Generated code documentation! 2013-01-05 01:16:32 +01:00
ve.Document.js Remove range.normalize (not needed), use range.isCollapsed more often 2013-01-16 15:38:07 -08:00
ve.EventEmitter.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.Factory.js (bug 43841) Major ve.ui rewrite, especially ve.ui.LinkInspector 2013-01-15 15:05:11 -08:00
ve.js Optimize ve.filterArray a bit 2013-02-07 17:16:18 -08:00
ve.LeafNode.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.Node.js Node cleanup 2013-02-01 15:35:48 -08:00
ve.OrderedHashSet.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.Range.js Remove range.normalize (not needed), use range.isCollapsed more often 2013-01-16 15:38:07 -08:00
ve.Registry.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.Surface.js Implement inline documentation examples. 2013-02-08 17:47:10 -08:00
ve.Trigger.js Remove trailing commas 2013-02-01 14:45:35 -08:00
ve.TriggerRegistry.js Trigger refactor 2013-01-28 17:06:13 -08:00