mediawiki-extensions-Visual.../modules/ve
Trevor Parscal 1572ec1569 Context, frame, window, dialog and inspector refactor
This is a major refactor of user interface context, frame, dialog
and inspector classes, including adding several new classes which
generalize managing inspectors/dialogs (which are now subclasses
of window).

New classes:
* ve.ui.Window.js - base class for inspector and dialog classes
* ve.ui.WindowSet.js - manages mutually exclusive windows, used
  by surface and context for dialogs and inspectors respectively
* ve.ui.DialogFactory - generates dialogs
* ve.ui.IconButtonWidget - used in inspector for buttons in the head

Refactored classes:
* ve.ui.Context - moved inspector management to window set
* ve.ui.Frame - made iframes initialize asynchronously
* ve.ui.Dialog and ve.ui.Inspector - moved initialization to async
  initialize method

Other interesting bits:

ve.ui.*Icons*.css, *.svg, *.png, *.ai
* Merged icon stylesheets so all icons are available inside windows
* Renamed inspector icon to window

ve.ui.*.css
* Reorganized styles so that different windows can include only
  what they need
* Moved things to where they belonged (some things were in strange places)

ve.init.Target.js, ve.init.mw.ViewPageTarget.js, ve.init.sa.Target.js
* Removed dialog management - dialogs are managed by the surface now

ve.ui.*Dialog.js
* Renamed title message static property
* Added registration

ve.ui.*Inspector.js
* Switch to accept surface object rather than context, which conforms
  to the more general window class without losing any functionality
  (in fact, most of the time the surface was what we actually wanted)

ve.ui.MenuWidget.js, ve.ui.MWLinkTargetInputWidget.js
* Using surface overly rather than passing an overlay around
  through constructors

Change-Id: Ifd16a1003ff44c48ee7b2c66928cf9cc858b2564
2013-03-14 00:03:31 +00:00
..
actions Only unwrap { generated: wrapper } based on context. 2013-03-13 00:42:16 +00:00
ce Create MediaWiki specific nodes to contain MW specific rules. 2013-03-12 16:28:29 -07:00
dm Merge "Only unwrap { generated: wrapper } based on context." 2013-03-13 00:55:14 +00:00
init Context, frame, window, dialog and inspector refactor 2013-03-14 00:03:31 +00:00
styles Context, frame, window, dialog and inspector refactor 2013-03-14 00:03:31 +00:00
test Context, frame, window, dialog and inspector refactor 2013-03-14 00:03:31 +00:00
ui Context, frame, window, dialog and inspector refactor 2013-03-14 00:03:31 +00:00
ve.Action.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.ActionFactory.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.AnnotationSet.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.BranchNode.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.CommandRegistry.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.debug.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Document.js Fix new lint warnings previously uncaught by jshint 2013-03-13 01:37:00 +00:00
ve.EventEmitter.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Factory.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.js Added validation to ve.inheritClass 2013-02-27 18:41:59 +01:00
ve.LeafNode.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Node.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.NodeFactory.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.OrderedHashSet.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Range.js Add ve.Range.prototype.isBackwards() 2013-02-22 17:33:23 -08:00
ve.Registry.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Surface.js Context, frame, window, dialog and inspector refactor 2013-03-14 00:03:31 +00:00
ve.Trigger.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.TriggerRegistry.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00