New changes:
6ec286e Support for generic file drop handlers
4f2ab66 Generic progress dialog for drag and drop uploads
742e0fe Fix pasteSpecial command
87ea9e9 Fix up/down arrowing off a focusable node
643ea34 spinner.gif: Update with new version from Trevor
ffd8b1e Position the table context relative to the first section node
393776a Fix logic for ignoring (col|row)span=1
f94b10e Don't unmerge spanned cells when spanned cell is removed
3416764 TableContext: Simplify row/column overlays styles
e6c0038 Localisation updates from https://translatewiki.net.
fb1a922 Register select all as a command and perform programmatically
3c1ce93 Make caption tool available when caption selected
dd0ac7d Move disabling logic from tools to commands
8bf33a5 Bold & italic icons for Armenian
058b32c Update OOjs UI to v0.1.0-pre (05f0fefc3f)
c01d115 Create filedrophandlers folder for implementations
Local changes:
* Register new files
* Move disabling logic from tools to commands
onUpdateState should only ever call setActive. setDisabled should
already be determined by the command so that it can prevent itself
being called by triggers.
Change-Id: Icdeaa4c152a0dcd839c8e7cc4e64b2215eb2de1e
New changes:
fe0bc6c Move most of ve.js to ve.utils.js
6be79d9 Remove and restore selection for non-isolated dialogs
2bf123d Localisation updates from https://translatewiki.net.
d2c4d18 Fix missed conversion of inlineMenuWidget to dropdownWidget in demos
bc4355a Localisation updates from https://translatewiki.net.
Local changes:
* ve.utils.js updates
Change-Id: Ibb7d7483b23edcccbd83dc8fadd4407dca380a25
New changes:
a824357 Node method cleanups
fa4e504 Add isAllowed(Child|Parent)NodeType to ve.Node
08974ed Replace block drop logic with isAllowedChildNodeType check
5fb113e Don't focus Edit HTML on load
799d27b Create table cells with wrapper paragraphs by default
5d3b5db Localisation updates from https://translatewiki.net.
11cb975 Use hasOwnProperty instead of 'key in obj'
77e24e2 Update OOjs to v1.1.2
bd36a32 Update OOjs UI to v0.1.0-pre (12b66051ff)
f368788 Localisation updates from https://translatewiki.net.
1ee759b Fix non-linear selection handling in ce.Surface#focus
Change-Id: I89aba1cb50cda91721473c2c33b41d7b12433bd5
New changes:
2cc219a Update OOjs UI to v0.1.0-pre (571f26d0ab)
3543cb7 Protect against offset=-1 in insertContent()
7a3d456 [BREAKING CHANGE] Move selection restrictions from tools to commands
3d847bb Disable desktop context on table selections
41282dd Missed function rename from RangeFix change
dd6c8b8 Support toDomElements returning an empty array
9be6464 Placholder -> placeholder
9bdd0a8 Restore basic styling to toolbar in core target (only)
Local changes:
Move selection restrictions from tools to commands
Change-Id: I88f3d04946bd1d03ed001d747475a8b495a0f64c
New changes:
38fc5bb Replace native range rectangle hacks with RangeFix library
4713b8e Disable cell editing when a context is opened
1113a13 AUTHORS.txt: Re-update for late 2014
37af5c4 Prevent clicks on focusable nodes in tables
2152877 Localisation updates from https://translatewiki.net.
b766ecc Update OOjs UI to v0.1.0-pre (eee616d664)
20cb077 Follow-up Ifb7ffb1: Update demo.js for breaking OOUI change
6760cdd Localisation updates from https://translatewiki.net.
555c6ea Set insertion annotations when typing over cell contents
819ad6b Fix width of demo page dropdown
9f4705c Catch backwards selection error in Firefox
ac8a4e8 Add missing focus call to pasteTarget
b034657 Add support for non-table nodes in tables (e.g. aliens)
25aef0c Fixes to onDocumentDrop
622957f Add support for dropping text/html from external sources
Change-Id: Ic704b95c1dc91a1ae74f9a60101cb949b34c9e0d
New changes:
eb95f82 Store intended table selection before expansion and use when translating
392d1e6 Add table selection support to clear annotation tool
2529985 Refactor and fix table cell editing code
de1117c Support editing of caption nodes
f831ee7 Table caption tool
Change-Id: I8ddfe6349723bb20d9b530e954f745d1757bfbc1
New changes:
7d36bd8 Don't create tables with a thead
dfee68d Localisation updates from https://translatewiki.net.
dde7897 Fix selection transitions between FocusableNodes and non-linear selections
6f9437f Update OOjs UI to v0.1.0-pre (da4b0d5c14)
1ec4bf5 Always emit context change on null selection
Change-Id: Ib3c175199950822cda7b34a3c8ca4faa20c53cfc
New changes:
d845991 Data model implementation for tables
a27c148 ContentEditable implementation for tables
3c47428 Actions and context menus for manipulating tables
543ca54 Support annotation tool on table selections
149cf3d Supporting copy paste of single table cells
25c9eee Table header/data format tools
e557e46 Merge cells tool
afcf2d9 Allow custom type and attributes when creating a table
Local changes:
Add the files and messages for table editing
Change-Id: I6e6c33b96d3089049a0fd5385191caa83df5756b
New changes:
b79bf0d Add table to test node hack as MWTable is coming
545d8db Provide a generic mechanism for mapping classes to attributes
Change-Id: I4911e81856c66fdde4b5cae622b474be36834911
New changes:
4193898 Remove mw-specific message
f14b214 tests: Prepare repository for running RuboCop after every push to Gerrit
1d81df3 Localisation updates from https://translatewiki.net.
ded6be7 Localisation updates from https://translatewiki.net.
8417636 Localisation updates from https://translatewiki.net.
881d9e5 Make link inspector not close itself in IE... again
07b2eda Recalculate toolbar size on window resize
Change-Id: I5e3becac07cb20d39026786051ca28db0b3a13ca
New changes:
016642e Remove crazy space exception from link validity regex
b538834 Remove insertion inspector class
50839f5 Work around *another* browser bug in getBoundingClientRect
e2e916a Increase inspector height by 1 to deal with Chrome opacity bug
9e387da Update OOjs UI to v0.1.0-pre (40de4dabe6)
27de0c4 Follow-up I2f34448: ve.ui.InsertionInspector.js was deleted, so remove from manifest
Change-Id: If979beb12fe865c0e217b93381769264e2efdc20
New changes:
a554ea6 Add button to debug bar to enable input debugging
8480f41 Add 'valid' event to MediaSizeWidget
a1c42b5 Update OOjs UI to v0.1.0-pre (531d497d3b)
3910521 Prevent JS error in getNativeRange()
Change-Id: I5f13b5d5d0a15579ed2027a09e3fc3933346b2f7
New changes:
6b5a276 ve.ui.FormatTool: Update heading size CSS for new OOUI version
2dd5e9c Fix getAnnotationsFromRange when starting with an element
d7db9af Localisation updates from https://translatewiki.net.
3aa1c88 Update OOjs UI to v0.1.0-pre (44db8292bf)
Change-Id: Id5a465af1f14f9e0371d7672d04a7430bcea98d6
New changes:
69ecc8e Remove MW-specific mobile hack from core
e556440 doc: Use wildcards for Desktop/Mobile …Context and …Surface for simplicity of extension
Local change:
Bring in MobileContext hack to filter out all tools except links and citations from core where
it didn't belong.
Change-Id: Ica837abd45f0ff02b49a44da617bc1fd8e9872d4
New changes:
e251898 [BREAKING CHANGE] Allow tools to specify which selection types they support
Local changes:
New requiresSelection api for tools
Change-Id: Idc3f62d60bfb5710f786734c342f71b1c73fd4c0
New changes:
618a773 Update OOjs UI to v0.1.0-pre (99ec31d9b9)
e651bd9 Update OOjs UI to v0.1.0-pre (0d358b167a)
0918a82 Use better unicorn image data
1eea699 Stage an empty comment node when inserting
e49a185 Fix height calculation in fragment inspector
26c8566 Stage a space when inserting a special character
480472c Localisation updates from https://translatewiki.net.
990e807 Update OOjs UI to v0.1.0-pre (db065e5a9f)
279031d Fix scroll jumping in Firefox when pasting at end of line
5519914 Handle paste events on the paste target
Change-Id: I760e0f31cbd20dc704a4131384d84d671520f339
New changes:
a7e4b2f Update OOjs UI to v0.1.0-pre (98cecf304d)
fa38ad1 Update OOjs UI to v0.1.0-pre (1829141230)
0190d46 Prevent observeration during copy and paste
8e300bf Factor out selection of entire pasteTarget
0bdd637 Fix clipboardData API path on copy
0654b4c Localisation updates from https://translatewiki.net.
9a22fe6 Replace calls to ve.bind( fn, ... ) with fn.bind( ... )
447e8de Use local var instead of bind() for inline functions
13f7c0b Get rid of toHashObject from ranges/selection
74fc34a Fix contextChange events from annotations
c750849 Fix broken node change detection
fdbda64 Close inspector on model select
dd8d23f Fix shift-click select on links in Chrome
Change-Id: I163bd8f04cf945bbec41b06b0a631e0a1e1e5eeb
New changes:
af8f17d Add CollapseToFrom/To to Selection API
90d2085 Don't force focus after history action
56f2864 More flexible selection reporting in the debug bar
f01b696 Add content-heavy table to demo HTML
4b9857d Fix typo in getSelectionBoundingRect
781e24c Update OOjs UI to v0.1.0-pre (d74a46ca6a)
93b2dc5 Fix paste by never polling while pasting
b214e89 Fix theme on mobile-dist
aaccabe Replacing push.apply with newly created ve.batchPush in VE core
a00e846 Followup 2432cbf: add recursion guard to updateSlug
Change-Id: I75881c6d6de63589eba1be85e2ee0d0242cc4478
New changes:
2432cbf Also make transitions when leaving slugs work again
af2072a Remove unicorn debug styling
18845bf Remove unused wrongly named class from ve.ui.Context
Change-Id: I97984a448c6ad7751a9024081e98d18685b4b930
New changes:
93e42f0 Fix documentation
b4574e4 MobileContext fixes
312cf30 Switch mobile demo from deprecated Minerva to MediaWiki
8656c51 Localisation updates from https://translatewiki.net.
3c51598 Stage slugs
ed9a456 Get rid of trigger-happy slugChange event
1074bab Replace pawns with unicorns for pre-annotations
de5cb90 Make slug animations work again
54c711d Localisation updates from https://translatewiki.net.
c05bf65 build: Update karma and switch from PhantomJS to Chrome
d172dcc Update OOjs UI to v0.1.0-pre (837b2f733e)
d8bffa0 Fix icon opacity
22a25bc Localisation updates from https://translatewiki.net.
Local changes:
* Disable most IME tests in VE-MW because they fail
Change-Id: I475a83eac76d9c20b206113bbd0e2a4c352fdb66
New changes:
388a930 Followup b8d8a5b: fix getNativeRange() in null selection case
c049570 ve.ui.CommentInspector: Update size when the textarea gets resized
Change-Id: Idaf49529c65ed858a11c27b0d9ec0dd55488c9a7
New changes:
fdbbad7 Followup 2fcc4c0: fix bugs with selection-only polling
d821f07 Getting rid of ve.splitClusters in VE core
efa6933 Add Sucheta to AUTHORS.txt
abd9023 Move Bartosz to principal authors section
Change-Id: I3ff7bd7b48f92e7b01df5589f9f92e15c0a49a08
New changes:
6bbcd6a Localisation updates from https://translatewiki.net.
b8d8a5b [BREAKING CHANGE] The Great Selection Rewrite of 2014
Local changes:
Update to use new selection/range API
Change-Id: I5480d5c77d599c93c2d374fac88bb2fdb68b0024
New changes:
21bba98 update-oojs-ui.sh: Exclude the minimised distribution files
d9114f9 Update OOjs UI to v0.1.0-pre (48980881f3)
3ebaade Localisation updates from https://translatewiki.net.
2a2e256 Update OOjs UI to v0.1.0-pre (26dadbc60f)
517ebb0 Emit change event when dimensions change in MediaSizeWidget
Change-Id: Id30517765563547df92d2f432307fc7e719d05c8
New changes:
28ebb29 ve.ui.CommentInspector.css: Fix documentation
b3b3b11 Followup a618491: fix JS errors when slugging near annotated inline nodes
b987d63 Record and show observation times in ve.Filibuster
60ac437 ve.ui.FragmentInspector: Remove #setDimensions
9f4a067 ve.ui.CommentInspector.js: Fix documentation
0677c3b Followup b149390: fix dm.Surface's concept of "selectedNode" to match SurfaceFragment's
Change-Id: I1f3c9d3e81eea9d380b2e2aa5deb9fdbf0ca9c93
New changes:
b9bd135 Fix getUsedStoreValues and allow a range to be passed
33f4026 Update OOjs UI to v0.1.0-pre (98e770ce46)
c78efc5 DesktopContext: Ensure that inspectors/menus are fully visible when created
1dff977 ve.ui.DesktopContext: Fix comment typo
3aafc81 Localisation updates from https://translatewiki.net.
Change-Id: Icba3f7bb3916be19832387e3ef541613a78bdda8
New changes:
4ad56e9 Be more cautious about placing the cursor
b39c9e2 Fix some getSelectionRects edge cases
cbb4197 Don't perform focus node native selection trick while dragging
817ef5f Follow-up I99acd6c6: More files' header comment fixes
d28aacb Localisation updates from https://translatewiki.net.
Change-Id: I42ba31b3428d98695c5a51d194cf972d649fef48
New changes:
c06fa64 Account for isValid() becoming async
12e4840 Account for WhitespacePreservingTextInputWidget#getValue being called early
Local changes:
* Make MWLinkTargetInputWidget#isValid asynchronous
Bug: 71237
Bug: 71246
Change-Id: Iab83e743f99973f01a54b23fd5ddf1081f7effd6
New changes:
8d5ec7a [BREAKING CHANGE] Rename ve.Document.getNodeFromOffset to getBranchNodeFromOffset
Local changes:
* Update calls for rename of getNodeFromOffset to getBranchNodeFromOffset
Change-Id: Ibc69f5a5deeed5698368bb19b30f14497c579e90
New changes:
78dfa9d Move deletion part of handleDelete logic to surface fragment
2f964f9 Tweak traverseUpstream documentation and code style
54dd25d Add expand method to ranges, finish unit test coverage
a0d94c0 Make newFromTranslatedRange a method (translate)
5eafb4d Tolerate null boundingRect in all code paths in DesktopContext#updateDimensions
35b1f0d Prevent page elements from displaying on top of highlights
c864eff ve.dm.Surface: Fix documentation typo
5f869bc Don't drop 1px rects for FocusableNodes if all we have is 1px rects
65c782d Update OOjs UI to v0.1.0-pre (880100c45e)
b149390 Calculate selected node on change and emit contextChange
e032cea Fix documentation in ve.Document
eaab57b [BREAKING CHANGE] Remove ve.isArray and use Array.isArray instead
Change-Id: I1367c721b285ca093ac78aee59a9e9a188ad552f
New changes:
e066826 Localisation updates from https://translatewiki.net.
dabe910 Localisation updates from https://translatewiki.net.
3fc0e0a SurfaceObserver should observe the surface
d86d4df Update OOjs UI to v0.1.0-pre (bab8befc94)
563666a Converter: Allow Nodes to return empty arrays if they want not to be output
Change-Id: Iba784d8278609e3c1f95eafd595528e8097be8ff
New changes:
65d4858 README: Add devDependencies badge
4d88b3a Replace boolean checks of getSlugAtOffset with hasSlugAtOffset
b0edb58 Add getNativeRange method with optional DM range argument
f59bb20 Separate computation of highlights from rendering
4face58 Remove getSelection*Client* methods
c94234a Rename inlineRects to startAndEndRects everywhere
69c42c2 Allow specification of range when getting selection rectangles
7883250 Provide a method to get all the rectangles for a given selection
c346ebd Work around Chrome's Range.getClientRects bug
Change-Id: Idb695a64353177e5e5210bae3c4202e701f4d95e
New changes:
925ed5c Move sluggability methods to model
a618491 Calculate slug positions in the model
b8fb05e Make the trigger demo kind of work again
e41d22e Update OOjs UI to v0.1.0-pre (ec785c2c64)
4119470 build: Make headers atop dist files suitable for distribution
fca4fec Follow-up cc657c4: Change strikethrough key command to not clash with Macs
a29a561 Add hasSlugAtOffset to DM document
9f47efb Move getRelativeOffset, getRelativeRange, getNearestFocusableNode to model
aa35e96 Remove hard coded types from canHaveSlugBefore and fix logic
49a239b Emit 'position' and 'contextChange' events correctly
3c50321 Refactor out finding of CE focusedNodes
d6904b5 Update OOjs UI to v0.1.0-pre (f2c3f12959)
Local changes:
* Move ce.Document tests to dm.Document
Change-Id: Ifa5abd0341e858b20e73e9071d597a25112cadfb
New changes:
247ee74 Set size to default on 0 value
dd00977 ve.ce.CommentNode: Correct comments formatting
bafad68 Update OOjs UI to v0.1.0-pre (24ac83a472)
0b24cbc Localisation updates from https://translatewiki.net.
a6ca80a Followup cc657c4: make code and strikethrough key commands actually work
Change-Id: Ic0dad055bc7e725f23de947ff56a83e463239cc6
New changes:
a047e72 [BREAKING CHANGE] Create ve.dm.Focusable and store focusable flag there
Local changes:
* Add new ve.dm.FocusableNode mixin where required
Change-Id: Ie9ee2de05acfe3c4c62c4864e65bd20397d6a069
New changes:
b6898f6 Localisation updates from https://translatewiki.net.
a9c15e4 Followup 80dd016: avoid using XMLSerializer when not absolutely necessary
Change-Id: I362c6d6e1e55c4c4757b25bdff4e4f29310832f8
New changes:
80b26bc ve.ce.Surface: Insert new paragraphs after empty nodes rather than before
c2b06b2 ve.ui.AnnotationInspector: Apply existing annotations to inserted content
de5eef0 Strip Start/EndFragment comments from paste
79f632b Localisation updates from https://translatewiki.net.
21eab72 Update OOjs UI to v0.1.0-pre (073f37e258)
Change-Id: I78c3c29ea05ccf136b28bd2a521337d624e0702a
New changes:
b6881c5 (Kind of) fix treatment of strange dir values
4e2ce2b Account for the case where a FocusableNode has an empty outerRects array
Change-Id: I3fbdd471a368fb4171e5213751544b4c263f0bf8
New changes:
7e271a4 Add containsRange method to ve.Range
4745931 Convert all instances of assert.equal to assert.strictEqual
a8fab7a Rename frequency to pollInterval in SurfaceObserver
8e8217e Bind ve.ce.Surface#onDocumentMouseUp to the entire document on mousedown
29029c3 Localisation updates from https://translatewiki.net.
8345488 DomRange / getOffset edge cases
3c4826a Cache $documentNode in surface view
2fcc4c0 Trigger selection update on selectionchange or mousemove events
67aa7dd Fix JS error due to typo in dm.Converter
Change-Id: I846318357ba1f3a8ee59c4384b5dceef7a9e70ff
New changes:
3e2537f Split getSelectionRect into bounding and inline
b73d010 Kill rangy (almost)
38207f4 Kill rangy: Vol. 2
b392d88 Rangy's dead honey, rangy's dead
Local changes:
* Remove references to rangy
Change-Id: I900eb3e36a564a526c01a5e00f8ea31a1ac9c0a3
New changes:
3f5029c Add a secondary label (Edit) to ContextItemWidget
807d377 Update OOjs UI to v0.1.0-pre (cc3c62607c)
45d82b6 Localisation updates from https://translatewiki.net.
Change-Id: Ie3104507d188ac8d3c45698bfd345c3c1146a938
New changes:
7600823 Remove lies about event objects being passed through
4a3adbb Ignore focusin/focusout events on iframes
c5fe1cd Position the paste target just below the top of the screen
71dc684 Reorder CSS rules in ve.ce.Surface.css to make sense
99d3235 Update OOjs UI to v0.1.0-pre (36d0c7dc3b)
Change-Id: I3732683bcd0652b909411beec1dd7a228c2cc6fc
New changes:
5d063a2 Don't use three different coordinate systems in getSelectionRect()
feeb1ae Only focus the paste target if focusedNode has changed
2c1bb97 Update OOjs UI to v0.1.0-pre (4cef83f702)
Local changes:
* Update references to renamed classes
* Update calling patterns element mixins
Change-Id: I330c0e308807597dec31dad8dbf713eb29fdc290
New changes:
6d8a59f Create ImageNode mixin to share logic between Block & Inline
aa6765f Fix `ve.dm.Transaction.newFromReplacement` when `removeMetadata` is true
a6e7a0c Set expanded=false on command help dialog layout
029dbe4 Allow override of window manager in language input widget
8407325 Annotate inserted special characters
4666caf Localisation updates from https://translatewiki.net.
f67e81e Factor out ve.dm.Transaction.pushReplaceInternal
7004717 Prefer String#slice over substr() or substring()
Change-Id: I72dbf37750b5582049cb0fb2730a99066a64b067
New changes:
d635974 Use staging instead of undo in annotation inspector
29233b8 Localisation updates from https://translatewiki.net.
efb3296 Localisation updates from https://translatewiki.net.
cfc5ad1 Localisation updates from https://translatewiki.net.
c609e02 Update OOjs to v1.1.0
dd2398c Update OOjs UI to v0.1.0-pre (adfcf92c6a)
Change-Id: Id122cd8a266554fdbe9f10dcdf53d87c7dd21b17
New changes:
378bc4c Polyfill Node.prototype.normalize in IE
d54cd30 Call onTargetInputChange when the link inspector is ready
00f7a00 Only undo if an initial annotation was applied
5d39686 Make filibuster code debug only
fdda60a Track selectionBefore in staging transactions
Change-Id: I2a70d599838b3575c5b0a63ffc60d023b04a8e80
New changes:
7a2e989 Update OOjs UI to v0.1.0-pre (43f379c884)
Local changes:
Eliminate all references to Agora, now Minerva
Change-Id: I497e122a35090a909b1fbb00d0a9487d97e09da1
New changes:
235faf9 Try a bit harder not to create empty text nodes
72f9aff Followup 355be3ed: fix getOffset() behavior inside block aliens
c81dd57 Trigger handleDelete inside onCut
edb4c60 Only block language change if dir hasn't changed
15cce1d Localisation updates from https://translatewiki.net.
Change-Id: Ic205fd2ae9ddc3f870b74a49bfc02fea9a14546a
New changes:
8592238 Localisation updates from https://translatewiki.net.
446b53d Remove unnecessary execCommand('undo') from onCut
Change-Id: I804eb7dbb0205780bdae06db45cc9c94f09eab02
New changes:
e06966f Fix the newline bunny-hop bug harder
bb7afae dm.NodeFactory: Use .lookup() instead of .create().constructor
d18a33f Localisation updates from https://translatewiki.net.
fce9ad2 Check for selection in ve.ce.Surface#onDocumentFocus
Change-Id: I3dd706d956c409418c761a95cc631575fb36b8e9
New changes:
c66e7a8 Update oo#compare usages
bbff57b Followup 8c71904: use getter for availableTools
f9587e8 Add myself to AUTHORS.txt
ffc9358 Localisation updates from https://translatewiki.net.
1025f3b Fix JS error in ce.LanguageAnnotation when dir is set but lang isn't
4ad483f Check IME simulations actually fail as expected
aaa991a Followup bbff57b, 8c71904: use getter for availableTools, again
Change-Id: I5bfa1201f38f2b86234535ed97a1c394d9cf8e58
New changes:
c9f1027 Remove broken ve.isMsie() function
6571da1 Fix case on language annotation CSS class
c231b71 Fix case in all annotation classes
Local changes:
Fix case in all annotation classes
Change-Id: Iba2596cde52d8f8be27e0257893ef8ec77798ae8
New changes:
eaa4528 Queue up annotation changes to make operations safer
09fc01f [BREAKING CHANGE] Remove span-wrapping of images
b59f85f Followup b141a7d2: make inspectors not close immediately in IE
1088cac Define kbd font-family explicity in case environment overrides
137add3 Fix embeddable desktop context popups
a2f0f80 Rename getRelativeOffset to getBoundingRect and use in getSelectionRect
fc09114 Fallback to node position when getting selection rectangle
1506099 Change comment to meta in whitespace test case to actually test whitespace handling
7dc4854 Remove global overlay classes when destroying MobileSurface
6e6b08a Update OOjs UI to v0.1.0-pre (d6008381aa)
e0a8089 Destroy WindowManagers in Context and Surface destructors
8c71904 Never embed the context when an inspector is present
163bd50 [BREAKING CHANGE] Rename 'image' to 'inlineImage'
5dd8bad Make focusables behave correctly when $element != $focusable
ba6fba7 Basic block image (figure/figcaption) support
Update changes:
* ImageNode was renamed to InlineImageNode in VE core
* BlockImageNode and BlockImageCaptionNode were added in VE core
* ve.ce.ImageNode.css was removed in VE core
Change-Id: Ide31b47448a4b4d6388f84a7a6ee9d471c1331f6
New changes:
c4ce5ee Update OOjs UI to v0.1.0-pre (466a8762ac)
Update changes:
* Remove manager arugment from window constructors
* Use this.$content instead of this.frame.$content
* Use this.getDir() instead of this.frame.getDir()
* this.loading is now a promise, not a boolean
Change-Id: Ia83449a60078dd24ea4f976221c0859e5a121279
New changes:
449ecfa Fix check for left/right annotations
41d85fd Label 'insert' buttons with just "Insert" instead of varying by content
Local changes:
* Add new message to VisualEditor.php
Change-Id: I61fe1bc0fd4d7ac1736f1b182b54a631bcad10ed
New changes:
c600eb4 Ignore whitespace when generating paste context
3b1b740 Add an event to updating current values in scalable
5140616 Add description to title attribute of focusable highlight
6df8830 Default dimensions to null, not empty objects
d515ce6 Update OOjs UI to v0.1.0-pre (51f513f9d3)
Change-Id: Ie2446b4a767cb56de392f8f0315d0289fe6da570
New changes:
9371f89 Add local image to demo
be862da Add VE logo to repo and use in image demo and for branding demo page
a2c53ab Factor out wordbreak detection code and run it for simple insertions too
Change-Id: I1be861a69a1cd6eb1e163ac15b18b6d92973ed60
New changes:
a28e085 Restore QUnit web UI
8e2477c [BREAKING CHANGE] Move modules to src and tests and i18n, UnicodeJS to lib
26adfaf Fix path prefix for tests/index.html so it actually runs
d87dab5 Work around getSystemPlatform() race condition
6682ebc Make getParsedMessage() test actually test getParsedMessage()
Local changes:
* Update paths from lib/ve/modules/ve to lib/ve/src or lib/ve/tests
* Update paths from lib/ve/modules/unicodejs to lib/ve/lib/unicodesjs
* Rename unicodejs.wordbreak module to unicodejs
* Update code for getSystemPlatform() and isInternetExplorer()
being made static
Change-Id: I7bb3bb74addfd3fbb64795c5ac3ff791b8874a4f
New changes:
2075a46 Embed CSS images in dist
9e15b04 Localisation updates from https://translatewiki.net.
ce51e22 Make sure image attribute is cleared if set to null
Change-Id: I8edefe662d5d3c88abef242fdaf4d45644a130b1
New changes:
c23d345 Localisation updates from https://translatewiki.net.
2662be5 Localisation updates from https://translatewiki.net.
f04910e Set selection before focusing document
31fc043 Localisation updates from https://translatewiki.net.
b4eed30 Localisation updates from https://translatewiki.net.
40016d7 Disable basic reference on mobile
e4bad2e Localisation updates from https://translatewiki.net.
e476e79 Fix `Transaction.isNoOp` test
3cfccf8 Update OOjs UI to v0.1.0-pre (0e50d2e336)
55d1d03 Add bidi isolation to language annotations
3f2a1c6 Localisation updates from https://translatewiki.net.
a399aee Actually check annotations in paste test
b3b7d67 Add missing messages from MW
c327e1f Localisation updates from https://translatewiki.net.
d52a40a Show metadata in the debug bar
d9c3b90 build: Switch from qunit directly to karma for code coverage reports
b421ac3 tests: Fix some minor issues flagged up by karma and related MW references
35f76d1 Fix bad jquery 'append' instances
7766751 Localisation updates from https://translatewiki.net.
f443f90 Followup 95ee357: make remapStoreIndexes() work again
Change-Id: I04e2ad1ecc31aefc482e81724e28271704fbfd35
New changes:
96331bf Localisation updates from https://translatewiki.net.
ba0ba78 Followup 23a949844: fix typo in class name for WhitespacePreservingInputWidget
8a5945c Have LanguageInputWidget return lang+dir, not an annotation
Change-Id: If05f29a8680e9475e6b749d82db30a20859f1c41
New changes:
8cab432 ve.ui.AnnotationInspector: Allow content insertion without annotating
f5cbd05 ve.ui.AnnotationInspector: Stop truncating fragments to 255 elements
13d9f5e Update OOjs UI to v0.1.0-pre (dd294dc785)
50c4efd Set a default language for ve.dm.Document if we can't guess it otherwise
b28f2f1 Disable tools other than links and references on mobile
Change-Id: Ib4178c3c7e67135806046decff0bde05a2702f7d
New changes:
bf5ed78 Fix expandRange( 'root' ) to not include the internal list
1aeb5ce Use native style property names instead of jQuery's css map
2106806 Greatly simplify ve.ce.Surface#getSelectionRect
23a9498 Create a whitespace preserving TextInputWidget and use in CommentInspector
e8d4c45 Update OOjs UI to v0.1.0-pre (3d8475c0b3)
5fdb204 Localisation updates from https://translatewiki.net.
Local changes:
* Add ve.ui.WhitespacePreservingTextInputWidget.js
Change-Id: Icdb5d5d3041512558dce31e56cf58ea992e4f686
New changes:
76bbf3b [BREAKING CHANGE] Fix camel-casing of countNonInternalElements
Local changes:
Use renamed countNonInternalElements function
Change-Id: Ib5f86ea5cfeb5e577f61349ed4bbb231ea155638
New changes:
20c220a Remove unused CSS classes
9bdcc65 Comment icon positioning
e50e790 [BREAKING CHANGE] Fix ve.ui.Overlay classes
1ac4927 ve.ce.TextNode: Use getChar() helper
29fd0f8 ve.ce.TextNode: Simplify #getAnnotatedHtml logic
18336eb ve.ce.ResizableNode: Run find() once instead of 4x in showHandles()
febf125 Use getDescription for title attribute
ab3cb6c Localisation updates from https://translatewiki.net.
Local changes:
* Rename overlay class rules
Change-Id: Ia90b6afbd4abdf3267f4ccaac0b2a7d4101ccc7b
New changes:
95ee357 Copy annotation indexes before returning
91a5630 Localisation updates from https://translatewiki.net.
978e223 Function name fix
7558ed0 Add 'snowman' and '☃' in comment for greppability
af0e8b1 Localisation updates from https://translatewiki.net.
43e6144 CommentNode: Change icon from orange to grey
349cbec Update OOjs UI to v0.1.0-pre (e9cf571db2)
921103b Generate only one pair of snowmen for multi-sibling nodes
Change-Id: Ifa0009e9363fa39a2c5ef41a42410391ea4f4711
New changes:
84ac603 Use shorthand for collapsed ranges
542dc47 SVG fixes
8686f85 Move non-icon/indicator styles out of ve.ui.Icons.css
Change-Id: I4d524da912dec338b2fdaf3b58060e3d47292d9c
New changes:
102e351 Remove transparent selection from focusable nodes in FF
7be8cd9 Add a space to the comment node for selection highlighting
40c7dd2 Highlight and bind events to $focusable, not $element
6d52af0 Add @embed directive for resize-nw-se and resize-nw-sw icons
004201c Initialize defaultSize as boolean in ve.dm.Scalable
a3eb9c0 Localisation updates from https://translatewiki.net.
bf5ccc6 Followup ab2d4cbe: Correct comment indicator's size
565e484 Fix copy paste of comments in Firefox
3698286 Generate fake comment nodes (spans) when copying
febb100 Meta-fy empty comments as they aren't editable/useful
fc553e2 Localisation updates from https://translatewiki.net.
433007d Style MobileContext properly
Change-Id: I55b79c398dd43bd5854ff53dc89f25cbca31670e
New changes:
d79270a Update context menu according to stricter rules
af6ec80 Ignore staging events in CE surface
43f7385 SpecialCharacterInspector: Don't have a hard-coded default message for the JSON blob
0081b13 Update OOjs UI to v0.1.0-pre (a7ce4d48d9)
8e08e9f build: Remove over-ride on jscs's disallowQuotedKeysInObjects and make pass
a1fb10c Followup ab2d4cbebf40: fix whitespace preservation in CommentInspector
Change-Id: I1615665437a4c481371cee7e643cddf281c6434a
Update tests and VisualEditor.php for comment node.
New changes:
5885b6a Update OOjs to v1.0.11
ab2d4cb [BREAKING CHANGE] Show comments inline to the user
Change-Id: Ie2787c3e29951cb7940f65bf104e7c9cccdbebd1
New changes:
585401c Followup b141a7d23: don't display:none; the popup in the DesktopContext
1bfcb16 Localisation updates from https://translatewiki.net.
Change-Id: Ic687835458dd833ae0200a3cb5c51af49f4b5672
New changes:
9e2238b Add special case for up/down arrow key on focusable node
30f0329 Fix for cursoring into focusable nodes with up/down
6c8da6a Fix spacing inside fragment inspector
3114f74 Remove Firefox listnode hack
e7d98b7 Fix calculation of affectedRange in transaction processor
c6d7589 Use native focus
d71e3a2 Use proper methods for detecting data type in getAnnotationIndexesFromOffset
a930e57 Add optimised method hasAnnotationsInRange
74c729f Use the current document when evaluating activeElement
10aefba Remove is*ArrowKey functions
10465c1 Remove onFocusableHistory listeners
22eb203 Bind/unbind setResizableHandlesSizeAndPosition on focus/blur
Change-Id: I1843ae58fd692c940e4e3d285bfadd3febedca07
New changes:
1b7b23b Tests: Move …/test/… to …/tests/… to be the same as other repos
cd3fc66 Update OOjs UI to v0.1.0-pre (9cd400e3d5)
81be252 Deprecate 'live' event in favor of 'setup' and 'teardown'
Change-Id: I71277d0a3fc85541cf3a0859f58d6d522ad1db6d
New changes:
32c7edd Localisation updates from https://translatewiki.net.
c7d61bc Round up height of language inspector widget
9473d2f Localisation updates from https://translatewiki.net.
2cffb4d build: Update grunt-jscs (formerly grunt-jscs-checker) from 0.6.0 to 0.6.1
b3f861e Localisation updates from https://translatewiki.net.
76b7992 Localisation updates from https://translatewiki.net.
76f8e90 Make the re-render flash more prominent
d2506a3 Localisation updates from https://translatewiki.net.
244bf0e CommandHelpDialog: Make closing action 'safe' not 'primary' for consistency
Change-Id: I68db9bdfa6078d4ab3b110e140c413fc6b865c1b
New changes:
8bb3848 Bring back global/local specific CSS classes
Local changes:
Use global overlay class to target the z-index hack for the Vector skin.
Bug: 68066
Change-Id: If1b6ba0c9035ff32b61d34ee779a95554883a2ec
New changes:
77dd12e Prevent deletion of focusable nodes by typing
da66427 Update OOjs UI to v0.1.0-pre (97dbb50137)
Change-Id: Ia6d83495a523106e92b184c8b60f815d3739d1fa
New changes:
65042de Fix alien test data
83dccbe Add toolbar menu labels to each group for consistency
2e40ef9 Move 'language' tool from the insert to the styling menu, like in VE-MW
6fb21b2 Add toolbar action section to SA demo with keyboard shortcuts tool
f3eb000 ve.ui.Toolbar: Optimise onSurfaceViewKeyUp performance
eb4e9eb Make sure the document is focused when setting a selection
48584d3 Fixes to getRelativeOffset and getRelativeRange
fcc427f [BREAKING CHANGE] Remove generatedContents argument from afterRender
825e4be Documentation fixes in test utils
dbbbe0b Unit tests for showSelection
1ba9234 Don't handle up/down on focusableNodes even if backwards
a667b87 Remove label from 'insert' menu, and instead use a large plus icon
88885b1 Localisation updates from https://translatewiki.net.
1f3b79f Initialize data first
18369b1 Add 'clone' and make 'getDimensionsFromValue' static in ve.dm.Scalable
92e6b7b Switch to 'custom' when MediaSizeWidget updates
d0cd87e Localisation updates from https://translatewiki.net.
1ee21ff Remove lies from documentation
164f07f Safely ignore requests to open unrecognized windows
Local changes:
Work on a cloned scalable when editing images
Make sure the image model handles a cloned copy of the node's
scalable object, which is then shared with the media size widget.
Bug: 67687
Change-Id: Ie3676b715f5bae3d83da03d667cef3a6a847e212
New changes:
56de6f5 Localisation updates from https://translatewiki.net.
f8bda64 Widgetise demo menu
6ac48d8 Localisation updates from https://translatewiki.net.
365e131 builderloader: Omit value for boolean "disabled" attribute per HTML5
706e4b3 Prevent double counting of DM nodes in getNodeAndOffset
b141a7d Update OOjs UI to v0.1.0-pre (d2451ac748)
c5b3921 Localisation updates from https://translatewiki.net.
1606983 Update reference to ConfirmationDialog to use MessageDialog
Deletions:
* Styles for ve.ui.MWBetaWelcomeDialog - not needed anymore because
OO.ui.MessageDialog provides them
* Styles for ve.ui.MWGalleryInspector - not needed anymore because
ve.ui.MWExtensionInspector provides part of them and the rest are being
replaced by programatic sizing
Modifications:
* ve.ui.MWLinkTargetInputWidget - Added support for validation and href
getter
* Split message between tool and dialog title for ve.ui.MWEditModeTool
and ve.ui.MWWikitextSwitchConfirmDialog
General changes:
* Updated inheritance.
* Added manager param to constructors of dialogs and inspectors.
* Updated use of show/hide with toggle.
* Added meaningful descriptions of dialog and inspector classes.
* Configured dialog and inspector sizes statically.
* Configured dialog action buttons statically.
* Interfaced with OO.ui.ActionSet to control action buttons.
* Moved applyChanges code into getActionProcess methods.
* Always using .next in setup/ready process getters and .first in
hold/teardown process getters.
Change-Id: Ia74732e6e32c0808eee021f0a26225b9e6c3f971
Also implement isInternetExplorer() in mw.Platform using jquery.client.
New changes:
9b2102f Skip over nested handlesOwnChildren nodes in getRelativeOffset
30a9835 Localisation updates from https://translatewiki.net.
5d142a0 Restrict get relative offset to movements of +/-1
7a2c984 Check that the surface has a selection after focus
851a63d Remove jquery.client
8786e53 Add evil detection functionality for IE
96f19ad Disable triple-click handling in IE
d746d42 Revert "Restrict get relative offset to movements of +/-1"
859d578 Revert "Skip over nested handlesOwnChildren nodes in getRelativeOffset"
Change-Id: Ib2e6568a862336e2516e4c519468218ec2a84834
New changes:
0516906 ve.ce.Surface: Prevent incorrect pawning in Opera 12
8e68032 build: Merge intro.css and intro.js.txt to intro.txt as they're identical
6166717 Update OOjs UI to v0.1.0-pre (85cfc2e735)
Change-Id: Ia91d7b2fe09f2b23ad55de3bbb3d74a8644ffc94