Commit graph

641 commits

Author SHA1 Message Date
Ed Sanders 1edc42e0ae Update VE core submodule to master (aa8ef3e)
New changes:
4321ccd SourceSurfaceFragment: Add #convertNodes
aa8ef3e Follow-up Iaa41c49e2f: Fix `this` context in window action

Change-Id: I82777e4dcd27de744bb3cb934f1c639167127303
2016-12-03 17:31:04 +00:00
Ed Sanders 9ceb13ce60 Update VE core submodule to master (5be61ce)
New changes:
860954b [BREAKING CHANGE] Parse selection before applying source tools

Local changes:
Implement convertFromSource/convertToSource in WikitextSurfaceFragment

Depends-On: Iaa41c49e2f8e28af28a8a64cb6915f705fa35e8c
Change-Id: I746619d442fb565cd582cb09de3126526c73c333
2016-12-03 03:43:59 +00:00
James D. Forrester 640c745bca Update VE core submodule to master (af7fb69)
New changes:
a27ccb4 Follow-up I3b0483a7d: Fix append loop in PreviewElement
75d6de7 PreviewElement: Use adoptNode when moving rendering to view

Bug: T151511
Change-Id: I6bf6df1873b8033914bc2235784012b66459e341
2016-12-02 22:05:49 +00:00
James D. Forrester 976d2e935a Update VE core submodule to master (c9619a0)
New changes:
06ffd06 Rebase logic
56d8e13 Use DOMPurify to sanitize incoming HTML
abc3465 DOMPurify: Use pre-release & add fix, and fix IE9 return type issue
14700eb Bring in source mode WindowAction hacks from MW

Change-Id: Iaef73bab7c1010ec29826ff2025c767c9758e8e3
2016-12-02 11:49:12 -08:00
Ed Sanders 218742d806 Update VE core submodule to master (ae30d71)
New changes:
f58ddea DiffElement: Use document slices with full internal lists
83800c0 DebugBar: Remove hard-coded i18n
b4f89e1 Update OOjs UI to v0.18.1
40c7bf6 Factor out active node functionality from SectionNode for captions
2d967be Move 'mode' property to surface, rename target property to 'defaultMode'
5d8c214 wrapAllNodes in sourcefragment
dd3d9e5 Refactor ve.dm.Transaction
9d61aca Use canonical ve.dm.TransactionBuilder.static.newFrom* methods
df4f72a Make table caption node an active node
b79f72d Core source mode
7533ac4 Localisation updates from https://translatewiki.net.
ae30d71 SourceSurfaceFragment: Check range is not collapsed

Local changes:
Get edit mode from surface where possible

Depends-On: Iec758c1892d518ad4bc2c0d1aaf6ca00fa354323
Change-Id: Ifaf6a26078b2731b374aaad2cb40c08928de9c84
2016-12-01 10:40:01 -08:00
Ed Sanders aeafa6afca Update VE core submodule to master (9625e8f)
New changes:
f1297b8 [BREAKING CHANGE] Allow target widgets to be re-used

Local changes:
Re-use target widgets

Change-Id: I5decb918f398704d4b6c108a16fbc1cc073ef077
2016-11-29 11:48:15 -08:00
James D. Forrester fb616288a2 Update VE core submodule to master (0879bb2)
New changes:
00efc39 VisualDiffs: Improved styling for moves
009de03 VisualDiffs: Use semantic del/ins tags
4a90e12 Localisation updates from https://translatewiki.net.
c671cf8 Add diffing to mobile SA demo
c4ff29b Replace deprecated $.andSelf with $.addBack
b122328 Fix labels on diff dialog
41a700c ve.dm.Change class with rebase operations
2c336da Localisation updates from https://translatewiki.net.
4c7cb68 Hijack EventSequencer timeouts in unit testing
dea2883 Focusable cursor tests: place cursor in cursorHolders

Change-Id: Id6640e02999c079bcf3709f2d048394ec6719904
2016-11-29 11:06:03 -08:00
James D. Forrester c90e53a795 Update VE core submodule to master (f4d2cd2)
New changes:
d68bd23 DiffDialog: Use surface dialog manager for diff window
d68fe24 VisualDiff: Replace whitespace detection with wordbreak detection
dd65a44 VisualDiffs: Only show unchanged content adjacent to changed content
7f70f64 Fix some edge cases with adding classes to nodes in diff
f4d2cd2 Follow-up d68bd23: No need to list ve.ui.DiffDialog twice in modules.json

Change-Id: I6f46f3d14ad81e4efdde0c970a3102e577b12772
2016-11-22 17:39:43 -08:00
James D. Forrester 1d43607bd9 Update VE core submodule to master (0ef16f0)
New changes:
65399fa Localisation updates from https://translatewiki.net.
0ef16f0 Follow-up Ice6b167: Ensure metadata is inserted before the internal list

Change-Id: Ieb967a1e2e6f3a90ed26d25715e41cb9a3dbcb44
2016-11-21 08:15:32 -08:00
James D. Forrester 910aa9cb0a Update VE core submodule to master (83ea152)
New changes:
6f28f19 build: Bump eslint-config-wikimedia to v0.3.0 and make pass
270fda6 Make $returnFocusTo a no-op in WindowManager

Bug: T150556
Change-Id: Iad3959fa836afd5b81ef9f668077d68effc69063
2016-11-16 14:19:46 -08:00
James D. Forrester 8407e71d14 Update VE core submodule to master (c8389bd)
New changes:
e9b392a dm.Surface: contextChange if non-collapsed selection moves in/out of annotations
efa129c Add HTML blacklist for content which doesn't have a model type yet

Bug: T126232
Bug: T149714
Change-Id: I456ed4dbd0ed0452e58d554f5c88a82c1bf2bb26
2016-11-15 08:47:58 -08:00
James D. Forrester 2fbbb07c73 Update VE core submodule to master (cf1a9c8)
New changes:
bccd179 ve.ui.MergeCellsContextItem: Correct @extends documentation comment
f0c7873 ui.CommentInspector: Select placeholder comment node while editing
4747913 Add ve.init.Target#isModeAvailable

Change-Id: I2e28a4bc5ca3c81580f24419409004e05c415682
2016-11-14 14:13:38 -08:00
James D. Forrester a438e5bd9d Update VE core submodule to master (2bc2ddf)
New changes:
408a212 Fix and improve performance of shallowCloneFromRange( undefined )
6f01d52 Return an empty document when shallowCloneFromRange is collapsed
e0fb3a3 Skip toolbar rebuild when config hasn't changed
00ffe0f Avoid annotation set clones when unused
e839b94 Add teardownToolbar to ve.init.Target
869e458 Cache this.getToolbar
e0ba022 eslint: Re-enable wrap-iife and partially enable dot-notation
15518fa Wrap attribute resolve in try-catch for IE

Change-Id: I404d3b098232be920a2f72a5281bf5c04b85aae1
2016-11-14 09:02:53 -08:00
James D. Forrester 25b0a94ee9 Update VE core submodule to master (c532815)
New changes:
e03fbf0 ce.Surface: Tougher check on whether cursorHolders are still in-document
708aa36 Localisation updates from https://translatewiki.net.
c532815 Fix IE hack classes to run on the correct versions

Change-Id: Ie780b0287664f89815482e4632c4aac86843a1dc
2016-11-10 17:19:13 -08:00
James D. Forrester 20b802cc85 Update VE core submodule to master (5f569e4)
New changes:
66291ea Converter: Remove internal during the main loop
99172f5 Remove unnecessary double-negation cast in if()
349f341 Refactor diff element getChangedNodeHtml
2885ec2 LinkAnnotationWidget: Don't use deprecated TextInputWidget#setRTL
c235d13 LinkAnnotation{Inspector|Widget}: Stop using deprecated TextInputWidget#isValid
5f569e4 Update OOjs UI to v0.18.0

Change-Id: Iba3908fd3aec62c8c770346dd01714c41c7a87a0
2016-11-09 12:35:17 -08:00
James D. Forrester 539974a80b Update VE core submodule to master (88ba26b)
New changes:
e9866f4 Replace reference to current doc with this.newDoc
fa5a575 Add test framework for diffElement
2f6969c Use shallow copy for internal list data inside shallowCloneFromRange
866b2c0 Don't bother testing data on direction key tests
88ba26b Avoid jQuery in PreviewElement and ve.resolveAttributes

Change-Id: I7adb57898fa7cecd6a412183c4ca0726ef1a00ae
2016-11-07 13:51:21 -08:00
James D. Forrester 6913a736fd Update VE core submodule to master (e7c5b56)
New changes:
b2970d6 Remove #rebuildTree calls and ensure #getDocumentNode is used
4d3231d Extract DM document from node instead of passing it as argument
5827a4c Update treeDiffer library & remove all but dist, licence & readme
4200362 Fix typo in getModifiedRanges
9a4edb7 Fix behaviour of attribute change in getModifiedRange
c5c7d83 Localisation updates from https://translatewiki.net.
993200a Add includeCollapsed & includeInternalList options to getModifiedRanges
566c7af Add ve.Range#overlapsRange method
4a3afce Remove unused eslint exceptions and old jshint comments
db44a3d Fix splice typo
7a4de14 Fix translateRange bug that expands selections
e7c5b56 Localisation updates from https://translatewiki.net.

Change-Id: I4af5647b9f49525c9c592ab42270f302144d76c9
2016-11-03 17:02:01 -04:00
James D. Forrester 76b3f63ead Update VE core submodule to master (977d3ad)
New changes:
f564149 ve.dm.Transaction: add 'author' field
4032768 Remove jshint comment, no rule required
3705e38 Remove comment about jscs empty blocks rule
09c48db Remove comment about jscs binary space rule
1f2fcde Allow shallow clone of whole document
b8c3673 build: Update eslint-config-wikimedia to 0.2.0 and make a pass
f31a1f8 Re-use eslint.main for eslint.fix
78acdbe Add LICENCE.txt for classList lib
0d92f39 jsduck: Move UnicodeJS and OOUI into Upstream
d0c4225 Remove rules which have been moved upstream
31126aa Fix ve.test.utils.createSurfaceFromHtml
a1036e0 Make it possible to see visual diffs in VE core
3a1bc70 Diff style tweaks
977d3ad build: Move diffing code to its own module for slimness

Change-Id: I82da0beb9bdb05f482ddfa76b4f95563d2499f1e
2016-10-31 17:35:46 -04:00
Ed Sanders 244eeb9ea1 Update VE core submodule to master (e4c8003)
New changes:
e4c8003 Bring in target 'mode' property from MW

Local changes:
Use upstream Target#setMode functionality

Depends-On: I9d501cb77c714fbd299b5816d302b0bdde7833cd
Change-Id: I2fcda6ca7d82d880101d9ba2a027d4ef066aa238
2016-10-27 16:12:31 -07:00
James D. Forrester 3412958be0 Update VE core submodule to master (8bdf0f7)
New changes:
7c10516 Cleanup ElementLinearData#sanitize
ff79ed5 Fix margins around progress dialog rows
7b8652b Localisation updates from https://translatewiki.net.
60e14a5 Method to rebase a transaction onto another
10f4ad7 Fix typo in ve.dm.LinearSelection
8d0bff6 Apply inserted annotations above background annotation stack
0c0ebc9 Human-readable transaction summary, for debug
3f4706c Apply platform language to SA target
b5e542c Ignore <br>s used to keep empty branch nodes open
f91512f Follow-up e3192e2d3: properly fix layout thrashing in updateInvisibleIcon
ea3bf6d build: Switch from jshint and jscs to eslint
71897cc Fix documentation to pass eslint valid-jsdoc
2b27876 Enable eslint:valid-jsdoc with exceptions for @chainable
f31b1fa Don't position inspector using selection from wrong document
1fc44bf doc: Fix up last jscs/jshint remnants, comment where retained

Change-Id: I8682263591968713c1ebdea218181bb40634cbb4
2016-10-26 17:47:07 -07:00
James D. Forrester f8bb7aaca5 Update VE core submodule to master (5fc8c7f)
New changes:
689ea49 ve.Range: Don't fixup invalid arguments
4aaf809 ve.sparseSplice: Splice one array into another, replicating any holes
775e341 Check previousSelection is set before setting it

Change-Id: I989c15a81a8dd057af436e0dee667b6f82e54be5
2016-10-14 15:35:06 -07:00
Ed Sanders e1e02fa0d8 Update VE core submodule to master (90cbd62)
New changes:
abf8f41 Replace Array#concat with Array#push in converter
02aeb90 Localisation updates from https://translatewiki.net.
902ddda Use safer batchPush in converter
6368191 Use current surface's sequence registry in command help dialog
f7ce4b9 Optimize batchPush on small lists
fb43a0a ve.batchPush: add unit test to exercise long-array path
d6c7d24 Factor out RESTBase ID regular expression
ffcbf4b IndentationCommand: Use hasMatchingAncestor
d447023 Allow ommission of range from ve.dm.Document cloneFromRange
cfbc344 Don't strip empty paragraphs on paste if they are generated
01c918b Localisation updates from https://translatewiki.net.
1467947 Fix documentation of getMetadataIdRegExp

Local changes:
* Define RESTBase ID pattern in platform and fix slightly
* Bring in paste test from core, which requires platform switching.

Bug: T147607
Depends-On: Ifc1c15872a50f915e5ef8d561b3a363dc5f4d28f
Change-Id: I3eb21e115de92a67afa85b5675fcbca5b111adb6
2016-10-13 17:10:33 -07:00
David Lynch f0988bb377 Pull through CommentNode change, adding new CSS file to extension.json
Update VE core submodule to master (89ce43b)

New changes:
c3d3d29 ce.CommentNode: inline preview of comment

Change-Id: I8a7f1b69eaf84165742a1f2d10fed3594961a9e9
2016-10-05 11:21:10 -05:00
James D. Forrester 23a0cbd795 Update VE core submodule to master (b7767d0)
New changes:
4d8be3b Move hasMatchingAncestor code from FormatTool to SurfaceFragment
bd41435 Check for null keyDownSelectionState in handlers

Change-Id: I6be3fa0955f091fe6f1f925c102b20f19401efbf
2016-10-04 10:41:32 -07:00
James D. Forrester cc27ca46a3 Update VE core submodule to master (e8f7947)
New changes:
c314cb6 On CBN detach, mark contentBranchNodeChanged in the CE Surface
0e8e79e Localisation updates from https://translatewiki.net.
ae7cea9 Follow-up 3ca658ed, e3192e2d: avoid JS errors when checking for rAF
328d2db Localisation updates from https://translatewiki.net.
e76de27 Set spellcheck=true on nested contentEditables
7d80ec5 Add method to compare elements and their annotations
f7679c5 Test selections without relying on a ve.dm.Surface select event listener
e8f7947 Localisation updates from https://translatewiki.net.

Change-Id: Ib369c13662e6f8747b0fe9976555d96e198d077f
2016-10-03 10:24:04 -07:00
James D. Forrester 550a685d70 Update VE core submodule to master (e3192e2)
New changes:
05d7673 Fix 'new ve.dm.Transaction.newFromInsertion' typos in tests
4ab9676 Localisation updates from https://translatewiki.net.
f657993 ve.ce.LinkAnnotation: Only set src on nails in Firefox
3ca658e ve.init.Target: Wrap floating toolbar init in rAF
e3192e2 ve.ce.FocusableNode: Wrap updateInvisibleIcon in rAF

Change-Id: I35cb872fee3eb9d3b415e03703876632cf396839
2016-09-21 09:55:58 -07:00
James D. Forrester 2b7827869d Update VE core submodule to master (ed76839)
New changes:
7a06bb7 Fix 'new ve.dm.Transaction.newFromDocumentInsertion' typo
db9b7a7 Make ve.dm.Transaction plain data by removing the .doc property
62c662c Localisation updates from https://translatewiki.net.
455e949 TableKeyDownHandler: return early if any modifier other than shift is used
9440e38 Localisation updates from https://translatewiki.net.
ed76839 Update OOjs UI to v0.17.9

Change-Id: I70a6387e6ea6d986ed132998df592f12274adf1a
2016-09-13 13:49:43 -07:00
James D. Forrester fc6d1961ee Update VE core submodule to master (38b5572)
New changes:
aacd653 Deprecate IndexValueStore#clone in favour of slice()
90b1003 ce.TableRowNode: check we're still attached before setupMissingCell
c0ffae7 Allow users to pass in LinearData objects to cloneWithData
da9961b Localisation updates from https://translatewiki.net.
5467054 Un-break build from i18n-bot-added language
50f2e84 Allow progress dialog items to be non-cancellable
26dd5ad Don't render cursor holders outside of active node
38b5572 Fix bad serialization of DOM elements in cloneElement

Change-Id: I07e0c9b150897a6d3023845930b2dd9554d9c74e
2016-09-07 13:38:49 -07:00
James D. Forrester df536d49c6 Update VE core submodule to master (da920dc)
New changes:
f83e572 Remove items from DTH factory indexes when unregistering
7a4082b Don't remove selected content in beforePaste
9337fc8 ve.init.Target: Unset this.surface when destroying it
87a749b Check surface has been added before setting

Change-Id: Iff620659c5e25e26b7fd864b177d0f74e057d3f5
2016-09-01 10:54:13 -07:00
James D. Forrester a14ea9f688 Update VE core submodule to master (599c6e1)
New changes:
5195713 Make ve.dm.IndexValueStore ordered, append-only and slicable
8fbad4d Localisation updates from https://translatewiki.net.
ce10786 Use super property to call parent methods
9f20e05 Rename overlapsRange to isTouching
7e0e13a Fix typo in plain text file handler (extension -> extensions)
599c6e1 ElementLinearData: don't sanitize away newlines within <pre>

Change-Id: I6837b71a4270bbdfb8c15e9027f721c3f85ea907
2016-08-29 16:35:04 -07:00
Ed Sanders 5788340b49 Update VE core submodule to master (632f0a9)
New changes:
14b5fbc [BREAKING CHANGE] Move originalDomElements to the IV store and use MD5
c5d21f0 Provide methods to (de)serialize transactions

Local changes to move originalDomElements to IV store

Depends-On: I8a71c1a40ec35108d0a9a388da6f75632f8dc53c
Depends-On: I32c9b5f984fcf96e3354841ecfcd444149e8f159
Change-Id: I0fbb6324eede94558426178cbdad6b5daf0f8318
2016-08-24 18:14:14 +00:00
James D. Forrester d14c81c9dc Update VE core submodule to master (01e1b22)
New changes:
a91476f Update OOjs UI to v0.17.8
e9b6179 Remove duplicate properties defined in mixin ve.Node
4c5663c SourceSurfaceFragment#insertDocument: Don't insert on failure to convert document
7318df5 Ensure data isn't discarded when moving a row next to sparse cells
ceeb1c1 Localisation updates from https://translatewiki.net.
df12906 Table move tests
6322800 Wrap to the next/previous row when tabbing in a table
951fed5 Simplify table move tests
0feae99 Add a new row when tabbing off the end of a table
519399c Simplify definition of table selections
5e67e00 Localisation updates from https://translatewiki.net.
14479e8 Cursor off tables with up/down

Change-Id: I5643d8dc3c05fb3072b7fca869b86ca09b3a638c
2016-08-22 13:24:38 -07:00
James D. Forrester 69e5db3963 Update VE core submodule to master (f182b27)
New changes:
4ffe974 ve.ce.Surface: when setting selection just focus if focusTarget == activeElement
e915864 Localisation updates from https://translatewiki.net.

Change-Id: I1c0565aa45a95d1303ec6ba6ff3a547c5572d0fe
2016-08-15 15:36:47 -07:00
James D. Forrester 7718986e30 Update VE core submodule to master (756f7d2)
New changes:
756f7d2 Forcibly reapply selection on insertion annotation change, to move between unicorns

Change-Id: I6771929c18262c8a4a3d33ad607a8b84cd8dd7e2
2016-08-12 08:44:37 -07:00
David Lynch 3e370fa286 Update VE core submodule to master (f1fa096)
New changes:
a3ca325 Use OO.ui constants for mouse buttons

Change-Id: Ic1a4bf370c6a28f0f8049f0d6b6e7627ea0bcf84
2016-08-11 12:59:15 -07:00
James D. Forrester bfb53c90c6 Update VE core submodule to master (070fa4b)
New changes:
91e5312 Break ve.serailizeHtml down into ve.serializeXhtmlElement
1243f62 Allow nodes to dynamically become handlesOwnChildren nodes
65a2513 Only trigger Firefox data:uri image paste if there is no other HTML
7d4515c Fix TextState#getChangeTransaction bug
070fa4b Localisation updates from https://translatewiki.net.

Change-Id: I2783a5c37bb103192ce849c88c9869fb45853af1
2016-08-11 10:22:50 -07:00
James D. Forrester 5a1865b2c1 Update VE core submodule to master (f82628d)
New changes:
acf0983 Create SourceSurfaceFragment for editing source documents
8bf0568 Make keepEmptyContentBranches an option of #sanitize and simplify usage
9cad9de ce.Surface: only change selection during CleanupUnicorns if it's in the document
bda3f0b Localisation updates from https://translatewiki.net.

Change-Id: I1fa8af7e4b881238f77e0601b2b275e2b8e1cd2c
2016-08-09 08:28:35 -07:00
Ed Sanders 34ff174b85 Update VE core submodule to master (4408c13)
New changes:
e7cb202 Mark context wrappers as wrappers
20b75af Localisation updates from https://translatewiki.net.
a4dde9f Annotate pasted external text
8148301 Always preserve leading whitespace when converting for clipboard
82a35b7 TransactionProcessor: Apply annotations to ranges at the highest uniform offset
21fc1eb Restore previous selection when annotation inspector is dismissed
358181c Preserve prior valid DOM selections in showModelSelection
a0f7dba build: Bump various devDependencies to latest
0ae0f7e Follow-up Iabec6a6: Fix typo in mousemove selection update code
d69a4df Provide tools to make text bigger or smaller

Local changes for big/small tools

Change-Id: If418a1a47276cc1e1530c4a3ad6784136d8d14f8
2016-08-05 11:54:52 -07:00
James D. Forrester d9d7aec0b0 Update VE core submodule to master (2567ca9)
New changes:
6a075ba Fix internal paste sanitization to not remove empty branch nodes
8536b5d Throw exceptions when trying to access element of DocumentNode
5d5fbdd Simplify node type checks for deep copy of HTML attributes
a304645 Avoid clipboard API in Edge
af2c3f6 Localisation updates from https://translatewiki.net.
73798d9 PreviewElement: Improve and simplify #isGenerating
c108a0c Factor out creation of invisible 'icon' for overriding
dbd2c05 Use surface fragments in IndentationAction methods
92b8f84 build: Upgrade stylelint-related devDependencies
a036ae3 Use more surface fragments in paste
5df2713 Add maintainIndices param to SurfaceFragment#getText
679ad10 Use surface fragment in resizable node
b57cbf2 Update OOjs UI to v0.17.7

Change-Id: I8ce04f12ca8baca5442cdb6a9f7469bcb7e54913
2016-08-03 11:45:31 -07:00
James D. Forrester 29c984c2cb Update VE core submodule to master (2939527)
New changes:
d1a3e7d TabIndexScope: respect aria-hidden
4cbd630 Localisation updates from https://translatewiki.net.
531335a TabIndexScope: skipAriaHidden not respected, and applied to FragmentDialog
d00caf3 Ensure document slices which consist of content nodes get wrapped
baac5bd Use innerText for setting clipboard plain text
a1cf57c Check surface is set up in toolbar
2351bea Allow newDocRange to be passed to SurfaceFragment#insertDocument
5a27227 Make no change to selection if insertDocument is a no-op
1675e30 Fix table paste tests to use dynamic retain-to-end operations
2939527 Add test for internal copy/paste

Change-Id: I6a34c61eeedd8a61a8cb16116f8f67293921f2dc
2016-07-25 09:59:18 -07:00
James D. Forrester 259c411415 Update VE core submodule to master (c2c1695)
New changes:
694c97f Update OOjs UI to v0.17.6
35da0d9 Use transition timing from OOUI theme config
b1777ea Move cursor holder debug styles to stylesheet
af5f22a Use surface fragments in ListAction methods
9710c76 Use surface fragment in FormatAction
39581ac Use surface fragment in LinkAction
a3ea25c Check surface exists before trying to execute keydown command

Change-Id: Ia95a40db7d63a5e767cf590538952790457377d7
2016-07-19 11:51:26 -07:00
James D. Forrester 53a469954e Update VE core submodule to master (c96c398)
New changes:
5e107a8 Remove references to git.wikimedia.org
f2758d6 Better documentation of the data argument in sequences
45b85ca Ensure getNodesByType always returns an array
c96c398 Improve performance of table move by only setting selection once

Change-Id: I5220bf056fcc39617182fc6afcb63fa12a142315
2016-07-12 09:44:54 -07:00
James D. Forrester 52c2ac9582 Update VE core submodule to master (513f0bd)
New changes:
513f0bd Don't restore class attribute on class attribute nodes

Change-Id: Ic818bb997e9b50277d9d14e58908f0989e918495
2016-06-30 17:41:06 +01:00
James D. Forrester e1b2734ce0 Update VE core submodule to master (3ea50c4)
New changes:
67c1d75 DesktopContext: Positioning a maybe-floated not-embeddable popup
d5b6725 Localisation updates from https://translatewiki.net.
3ea50c4 Update OOjs UI to v0.17.5

Change-Id: I84ebf1947778446c573b0791c915e99fde1487a1
2016-06-29 18:02:27 +01:00
James D. Forrester 2f1a8cf3f8 Update VE core submodule to master (be57e9c)
New changes:
368e151 Fix ve.BranchNode#traverse and make non-static
bafca89 Add a node-type index
be57e9c Simplify node class comparison in converter

Change-Id: I0ebf84fdcf81ecd914c3602a92ebcf42029c6b6e
2016-06-27 20:30:45 +00:00
James D. Forrester 08437d364c Update VE core submodule to master (a5063fb)
New changes:
741fad9 BREAKING CHANGE: Update jQuery Client to v2.0.0
19266a0 Create separate CSS hack class for Edge

Change-Id: I3cfe1517496d14175cd6212203e6426fe7ae3c9b
2016-06-14 16:23:17 +01:00
James D. Forrester 9bd674b0e8 Update VE core submodule to master (fa99ac7)
New changes:
853cb46 Don't fatal when comments are copied

Change-Id: Iac100d64e7cd365576cfa66e0b0f1ef0caf21f11
2016-06-14 00:12:09 +01:00
James D. Forrester 083bf8c319 Update VE core submodule to master (f05419b)
New changes:
7ae9b64 Handle selection changes even when not dragging.
e8f1c87 Clarify EventSequencer listener slice/splice behaviour
70a2445 Rename keyDownState.selection to keyDownState.selectionState
b372e80 build: Bump various devDependencies to latest

Change-Id: I30c6b3d52977a811ce8bb6d9187fa0e139e1af8a
2016-06-10 13:08:35 +01:00
James D. Forrester 45729a4f8c Update VE core submodule to master (a7ee120)
New changes:
81eccee Fix surface registry fallbacks to values that exist
a7ee120 Document the purpose of setTimeout calls in ve.ce.Surface

Change-Id: I9aaf7744c82d417442c4b3445e5367d6a8e73700
2016-06-07 10:44:09 +01:00
James D. Forrester 6f89344d13 Update VE core submodule to master (7fe81f3)
New changes:
1cda586 Split about groups on text nodes
7b4619d ve.ui.TabIndexScope: provide a scope for tabIndex
54d7a35 Insert undo breakpoints at word breaks
9e6a562 Use cloneWithData in beforePaste
04c0921 Lower supported Firefox version in stylelint
8e0c513 Update OOjs UI to v0.17.4

Change-Id: I14cf5187954f954fb6039b28fb8b0ee18658fd21
2016-06-01 10:02:01 -07:00
Ed Sanders 5581394ea3 Update VE core submodule to master (a4a5afa)
New changes:
4a5aa37 Clean up debug bar buttons
15f016c Undo sequence input stripping if window is dismissed
e874734 Localisation updates from https://translatewiki.net.
8db33b4 Follow-up e874734: Fix build for added languages 'gom-latn' and 'gor'
79c5d51 build: Update stylelint config version and make it pass
3804f5e build: Remove grunt-cli
cea7b63 Update OOjs UI to v0.17.3
9f648f4 [BREAKING CHANGE] Always get registries/factories via surface
1252814 Add cloneWithData() utility
5ccdef3 [BREAKING CHANGE] Fix debug bar encapsulation

Local changes:
* Fix debug bar encapsulation

Change-Id: I2c5d722278c5f71b59ee2f8849d9babb5aff6af2
2016-05-30 09:53:31 -07:00
James D. Forrester 4d580b1e6c Update VE core submodule to master (a8d9a9e)
New changes:
f50f6a9 Remove directy dependency on stylelint
c45cfeb Add <BDI> support
4e5d312 Update store hashes when modifying items in store during #sanitize
eadc310 build: Bump grunt-stylelint to v0.3.0
a55520f Fix watch path for css
f016c4d Re-clone linear data on each paste

Change-Id: I2a1340261ce1f457f28c34fb1aaec7d4966783ea
2016-05-20 23:20:31 +01:00
James D. Forrester 8c7ed92288 Update VE core submodule to master (eeaf1e2)
New changes:
c54a48a build: Fix watch list (csslint -> stylelint)
58ba3d9 Add stylelint rules for @-rules
3f8c75a Stylelint: Add rule for unsupported browser features
3b96ff3 Fix minimum Opera version (15 -> 12)
9a1110b Stylelint: No ID selectors
9800bb8 build: Remove remaining references to csslint
b6ab14a stylelint: Re-enable features by names
6cc1f3c Move stylelint to npm
1d15fa0 build: Bump stylelint version to v0.2.0
ccc1724 stylelint: Use the preset rather than extending

Change-Id: I22fa8098592338a5e912aba9ad21131b21d9c0ea
2016-05-18 07:06:53 +01:00
James D. Forrester 90fe9c980b Update VE core submodule to master (12ad256)
New changes:
df692b6 SurfaceFragment: Use #getCoveringRange for linear actions
2b1a8f0 SurfaceFragment: Remove clone flag in getSelection
38b9574 build: Use stylelint instead of csslint
ae2e7e6 FindAndReplaceDialog: Check initialFragment is set when closing dialog
fb7e483 Add more colour rules to stylelint
44f0a87 Add font rules to stylelint
396a5f0 Add whitespace rules to stylelint
05453e6 Add single quotes rule to stylelint
6100ea0 Remove -ms-repeating-linear-gradient rules
d03657b Add duplicate property rule to stylelint
5540c99 Add block formatting rules to stylelint
53162ab Add selector whitespace and double colon rules to styleline
29f9c7c Add whitespace rules for media sections
c653d01 Enforce tabs and file-level whitespace (newlines)
6c69798 Disallow duplicate selectors with stylelint
3593be9 Require animations to exist using stylelint
ace2230 Disable browser hacks for unsupported browsers
5f81262 Enforce ascending specificity with stylelint
f4cdf1b Disable !important in stylelint

Change-Id: I10a4e46927fa8ff4545c7ec84a072585f6e9606c
2016-05-16 21:20:41 +01:00
James D. Forrester 6a98df0886 Update VE core submodule to master (598aa93)
New changes:
dca1ca1 Unify action test runners
f39c8e2 Update OOjs UI to v0.17.2
cafecfd Group optional action test arguments in an options object

Change-Id: Iec008781d081ab10bee21e8dc5ea287024c3fbd7
2016-05-12 09:01:27 -07:00
James D. Forrester 1468699562 Update VE core submodule to master (f335fdf)
New changes:
93ef6ad build: Bump various devDependencies to latest
8891769 Don't write clipboard key to custom clipboard if already in HTML

Change-Id: I0a5b4aeb5e470a4d9c4191bffec7f9fe50b8d9fd
2016-05-09 08:24:47 -07:00
James D. Forrester a0eea360d4 Update VE core submodule to master (9038eb6)
New changes:
b40313d Fix empty ContentBranchNode selector
219bd4a Handle about groups correctly in getNodeAndOffset

Change-Id: Ia6d5ec1c10cf7ba8a43ac2f629ba07df454e869c
2016-05-06 12:39:15 -04:00
James D. Forrester d0268830b2 Update VE core submodule to master (25be8d5)
New changes:
25be8d5 Generate new about attribute when cloning a node

Change-Id: Idf65cc13370c359b4f85921551a0753164145a70
2016-05-04 12:53:10 -04:00
James D. Forrester 04f1f0ba03 Update VE core submodule to master (4b58bf5)
New changes:
02dd558 Update OOjs UI to v0.17.1
932e232 Don't set internal item orignalHtml when converting from clipboard

Change-Id: I7415326760e4f550aec586be00edcbc924cb9b3e
2016-05-04 09:51:43 -04:00
James D. Forrester 1954a87494 Update VE core submodule to master (c63e17d)
New changes:
c63e17d Prevent touch events from focusing nodes after scrolling

Change-Id: I6150aabe9c27e02976e9a12930c6b4059168a46a
2016-04-29 18:49:11 -07:00
James D. Forrester 527ad51a8a Update VE core submodule to master (39d281e)
New changes:
3842093 Get clicked cell in browsers which don't support pointer-events:none
c069529 Hide table selection when editing and no support for pointer-events:none
2573e71 Fix linear rect when at the end of annotation in otherwise empty paragraph
abf2a5e build: Bump devDependencies to latest
4fd5271 Fix ve.ce.KeyDownHandlerFactory.name
eda09be Update OOjs UI to v0.17.0
9c4ea8f ce.Surface#showModelSelection: Update cursor holders
0b8ac09 Reinstate Firefox img hack for versions >= 38

Change-Id: I9064c4e1549badcf5b5f4473755f52c5afeabdb6
2016-04-27 16:15:35 -07:00
James D. Forrester f060555f66 Update VE core submodule to master (8b527eb)
New changes:
e91934c ce.Surface: Convenience function for selecting node contents
713c09c ve.ce.SectionNode.css: Convert spaces to tabs
ff4ed2c Use custom mime type clipboard data when Firefox >= 48
84b787b Give Chimera's layout for when then are the only thing in a branch
d85598a Simplify clipboard to only store last-copied slice
dda9863 Only move selection to pasteTarget if it is non-native
7b85870 Separate clipboard API support from custom mime type support
46deb10 Remove unnecessary temporary variables
8492168 Allow the link inspector to open without expanding the selection

Change-Id: I1926e88b89aef23f5a0f2c6e28c874549e4b9e18
2016-04-25 08:40:53 -07:00
James D. Forrester 0bfad0e203 Update VE core submodule to master (bf91965)
New changes:
443bb73 Restore OOUI PNGs for IE9
7970a6e Remove feature check for classList
8a40565 Fix getNodeClientRectFromRange to work better with nails
6657dc8 Update OOjs UI to v0.16.6
436b74a Fix pasting in IE<=10
53ca31f Fix node drop in IE9
01e0256 Remove comment about testing 'beforepaste', not required
f7f5d71 Debounce selection change events to avoid nested model changes

Change-Id: Idf3bbaa066ed857e392b91b99afa222e6f168ed5
2016-04-20 16:50:09 -07:00
James D. Forrester be1809c35d Update VE core submodule to master (d6c6a85)
New changes:
c48d7cc Add support for placing a toolbar dialog in the side margin
ee7e14b FindAndReplaceDialog#renderFragments: Protect against null surface
fc61463 Fix dm.Surface#getHistory to not return undone items
f1dff2f Introduce ve.Range#overlapsRange method
f608958 Introduce dm.Surface#getModifiedRanges
db114ed Move debugging data-url GIFs to a debug only file
1dd8194 Update RangeFix to 0.2.0
706ff4e Add 'Support: [browser]' to browser hack comments
4f52afc Inline slugs: Limit Firefox hack to versions <38
bf73326 Add classList polyfill for IE9
59d78aa Fix access of iframe-created document in IE9
a886ae1 Hide borders on linked images in IE9
5293974 Fix double-click to edit table cells in IE9
a49a02f Add some more Support: comments

Depends-On: I9c5cea3e8df1fae001d4d98c0782a04dec803776
Change-Id: I460368f509a213464e57bb95f2d726305ef608de
2016-04-18 18:34:20 -07:00
Ed Sanders f91efee467 Update VE core submodule to master (f8be8c3)
New changes:
0e3e63a Rename ve-ce-sectionNode-focused to active
0010e49 Update OOjs UI to v0.16.5
8a50357 Localisation updates from https://translatewiki.net.
a731e0e Implement ve.dm.Selection#getCoveringRange
145c754 ce.Surface: Prevent selection from spanning an active node
e430224 Move toolbar positioning logic to PositionedTargetToolbar
c4bc52c demo: Put border around whole target

Local changes:
* Adjust to cope with the new positioned toolbar class

Change-Id: I47053af8a9efb0f4c267543616a5d6c80ae1534f
2016-04-11 07:06:13 -07:00
James D. Forrester 4479c56b5a Update VE core submodule to master (5109934)
New changes:
14a02d3 Add article/section nodes for isolated editing sections
fa1b64a SectionNode: Don't set self as active node if a descendent is active
90f05cc Sections: Make sections & articles un-unwrappable
9518d4b SurfaceFragment#delete: Check removal is not a no-op
5109934 Section nodes: Use opacity to indicate active-ness

Change-Id: I3e89e8fa2db130f21e7d58231043b775ec51dc18
2016-04-05 19:03:06 +03:00
James D. Forrester 4b8570dd38 Update VE core submodule to master (c2561bb)
New changes:
055a40a LinearArrowKeyDownHandler: more tests
429fe72 Localisation updates from https://translatewiki.net.
94f9068 Localisation updates from https://translatewiki.net.
b82cb77 Allow toDataElement to return an empty array
039ea22 Follow-up 94f9068: Fix build for added language 'khw'
ea5f51c build: Bump various devDependencies to latest
64950f5 Factor out undeletability from internal-ness
2f0a034 Document#writeElement: Avoid double-space in error message
4552f5c Table editing: Refactor active table node to be more generic
7670ed8 DSVFileTransferHandler: Use factories to create the right type of table
feefeda DSVFileTransferHandler: Skip empty terminal lines in input files

Change-Id: Ifa5487c7d79553634e3e1a810a43dcbf462526eb
2016-04-02 13:53:19 +03:00
James D. Forrester 0b39a17870 Update VE core submodule to master (18bac29)
New changes:
3e587b8 sync-gh-pages: Fix "oojs-ui-apex.vector.css" 404 Not Found
0e53633 Toolbar: Add tooltip to structure group
7f0b6f7 Remove icon properties from windows
3a612b2 Fix positioning of mobile windows

Change-Id: I2a6995e61a76abfc0f77d3301c7c76593756463c
2016-03-29 10:10:26 -07:00
James D. Forrester 8910172d01 Update VE core submodule to master (59e4090)
New changes:
d195e07 dm.Document#newFromHtml: Allow HTMLDocument argument as well as string
59e4090 Localisation updates from https://translatewiki.net.

Change-Id: I747d1406ffabf3682eca8b4d5a812d8b54d7e6bf
2016-03-28 09:53:45 -07:00
James D. Forrester e46e81916d Update VE core submodule to master (b286f7f)
New changes:
1f298ce Update OOjs UI to v0.16.4
650776a Improve drop target preview for block node dragging
77fb965 LinearArrowKeyDownHandler: test more
0f669bf Fix behaviour of SurfaceFragment#annotateContent
fa08fca ve.ui.ContentActions: Add tests
3f4185f Tests: Add speed warnings to UI surface constructors
4bee4eb Localisation updates from https://translatewiki.net.
b678dbe Refactor getNodeAndOffset
254a802 Localisation updates from https://translatewiki.net.
0f0d980 SurfaceFramgent: Guard against tx.getModifiedRange returning null
603abe4 TriggerRegistry: Alter trigger for paste special on Mac to OS standard

Change-Id: I512c9b3a99673a876040e0fce789483e7221a78c
2016-03-25 15:30:43 -07:00
Ed Sanders fd3683e414 Update VE core submodule to master (d1ce123)
New changes:
6cf8864 Follow-up eb97c1f: Fix build for added language 'inh'
d1ce123 SpecialCharacterDialog: Use getReadyProcess promise to wait for char list

Local changes:
* SpecialCharacterDialog: Defer loading of character list.
  Saves ~40k for most users who never use it.

Change-Id: I74b30fee96e1ae4463ed28c19bef4b515330220e
Depends-On: I45dc9f788aa5bd702b91ffd9f63b05b1f4760691
2016-03-22 09:15:23 -07:00
James D. Forrester 7df0e7589e Update VE core submodule to master (eb97c1f)
New changes:
e661245 Localisation updates from https://translatewiki.net.
d0bac53 ElementLinearData: Add test for sanitize conversions
53988e4 ElementLinearData: Test blacklist unwrapping
8593098 ve.dm.Model: Remove unused, untested method 'hasAttributes'
6247dd2 ce.Surface: Add tests for table strip delete
bee1851 ce.Surface: Add larger table strip-delete test
42d39e7 ce.Surface: Test table navigation with enter/escape/tab/shift-tab
5d248f9 Remove TableCaptionCommand
a86ad04 PreviewElement: Check node is a GCN, and always return a boolean
b518839 Localisation updates from https://translatewiki.net.
8834e9c ce.Surface: Allow any key code in the key handler tests
6b3ea6a ce.Surface: Linear arrow tests for block node
026999d Localisation updates from https://translatewiki.net.
eb97c1f Localisation updates from https://translatewiki.net.

Change-Id: Ic5853116d97623316d9a6bbacda2ecab9e4b49d5
2016-03-22 15:12:36 +00:00
James D. Forrester fa72f8b1c1 Update VE core submodule to master (794f30f)
New changes:
4cec280 build: Bump devDependencies to latest
33a7ae4 Use throttle instead of debounce for find/replace rendering
a7e6c2d Folow-up I634b70c268: Move table paste logic out of external paste if block
82054f0 Pass range or selection to tests
dcd31d0 Simple table paste test
794f30f ce.Surface.test: Add some more complex cases of table pasting

Change-Id: Ibebb19b82d4902219acebf482c9fa7e7cf3d190b
2016-03-17 19:39:44 +00:00
James D. Forrester 3629b75377 Update VE core submodule to master (8af3687)
New changes:
c12a674 Debug bar margin fixes
4c9be2f ve.dm.ElementLinearData#getRelativeOffset: Add a missed exception-throwing test case
1dce6e0 Trigger plain text transfer handler if HTML paste was unformatted
97dd207 Ensure all test documents have an internal list
dc7a335 Transactions: Ignore internalList changes in getModifiedRange
bae50ca Update OOjs UI to v0.16.3
b9d6c3c DataTransferItem: Ensure getAsString always returns a string (as documented)
5d8ade5 ElementLinearData: Include all non-content nodes is isPlainText loose mode

Change-Id: Ibfe66addc669e5d6007c738d209be6d7ef61e6d7
2016-03-17 14:08:06 +00:00
James D. Forrester db49d4cb83 Update VE core submodule to master (08b32fd)
New changes:
98ade11 FocusableNode: Protect against calculateHighlights being called on null surface
2e966ae Sanitize the paste context in the same way as the paste data
b7dd849 dm.Document#shallowCloneFrom*: Remove unnecessary internalList.clone()s
b10fd9f Localisation updates from https://translatewiki.net.
b6a5f11 Table import: Only import the internal list on external paste
08b32fd Re-order paste logic so $pasteTarget sanitization can be skipped

Change-Id: I8a2aa43efcd4e55e581a711c222a4c3f832bd5f2
2016-03-15 11:45:51 +00:00
James D. Forrester 39818dbb36 Update VE core submodule to master (c1e1bd7)
New changes:
a4707b1 Ensure table cells are ce=true before computing offsets
c1e1bd7 Localisation updates from https://translatewiki.net.

Change-Id: I8b3d9dacc213c9be9548f7e112dd3e786451152a
2016-03-14 00:57:29 +00:00
James D. Forrester 6b3ed57eed Update VE core submodule to master (5f451d2)
New changes:
1c654c0 AnnotationContextItem: refactor applying a change to the annotation
ea2b30f Localisation updates from https://translatewiki.net.
5f451d2 CommandHelpDialog: Use this.constructor.static

Change-Id: I5bde122199920ffb986fbffbc46ea6e3369a59e3
2016-03-13 13:44:41 +00:00
James D. Forrester dadd8b9cd2 Update VE core submodule to master (bf1f2cc)
New changes:
6fd5cb7 Update OOjs UI to v0.16.2
ec19ac3 CommandRegistry: Provide getNames method in command registry
b856b17 Protect against calling .classList on text nodes
bf1f2cc KeyDownHandlerFactory: Prevent duplication in handlerNamesByKeys

Change-Id: I0d53340427da414a44112497295112e67883db13
2016-03-10 08:20:39 -08:00
James D. Forrester 3986326050 Update VE core submodule to master (5d4881e)
New changes:
51c16df LinkAnnotationWidget: Implement createInputWidget's documented config parameter
6678cc3 Localisation updates from https://translatewiki.net.
5444bbe build: Bump various devDependencies to latest
c8c93ab Search documentNode for unicorn, not document
2cf61b6 Use normal whitespace for focusable nodes
628de0e DimensionsWidget: Return numbers as documented
7c48393 ve.ui.CommentInspector: Simplify autoresizing

Change-Id: Ic70cf04898beac2a675851925e4978593bc6ac39
2016-03-07 15:04:40 -08:00
James D. Forrester 022d7c2694 Update VE core submodule to master (f77ac2b)
New changes:
4cef3da ve.test.utils: Don't require QUnit expect() anymore
70ee810 Localisation updates from https://translatewiki.net.

Change-Id: If37267012a10e611b3eae63e58a5da3c77ab8fdb
2016-03-04 15:56:36 -08:00
James D. Forrester 9e060a27e2 Update VE core submodule to master (46f34e1)
New changes:
a560a59 FocusableNode: forcibly update the active link on click
78572e8 FocusableNode: Clean-up CSS
1d5efd2 Pass command and sequence registries to the surface
0816db3 Abstract target widget creation

Change-Id: I93774021c41392e6e829904a571b703a0762d46b
2016-03-03 11:48:03 -08:00
Ed Sanders 62d16e5a8a Update VE core submodule to master (ac24b50)
New changes:
0b7e689 FindAndReplaceDialog: don't use tabindex
17b10a5 Localisation updates from https://translatewiki.net.
a4133e4 [BREAKING CHANGE] Make whitespaceHtmlCharacters a real static property

Local changes:
* MWEntityNode: Fix lookup of whitespaceHtmlCharacters

  Property is now in 'static', and use registry to look up
  TextNode by symbolic name.

Change-Id: Ied8c0c6feb69141c7c53fc4cc790774dee2cb63c
Depends-On: I7537b46a9fd58dfb2bd18dc4ed469aa221b96e86
2016-03-03 08:13:33 -08:00
James D. Forrester 078886b5a4 Update VE core submodule to master (6b85afc)
New changes:
2fe0d1a Localisation updates from https://translatewiki.net.
6b85afc Update OOjs UI to v0.16.1

Change-Id: If35da77772d2bd188fe26372a02fe8cbfa6e304d
2016-03-01 16:35:43 -08:00
James D. Forrester dd3045814d Update VE core submodule to master (035c553)
New changes:
8e94428 Make getSelectionState preserve collapsedness
3ee3b93 FindAndReplace: Remove getNativeRange() optimisation
e7d6257 WindowAction: Don't emit position event
b528a56 FindAndReplace: Keep results cache to reduce re-renderings
5b7b6bb Localisation updates from https://translatewiki.net.
dcf2734 Use offset paths in selection state tests
cea8c77 Localisation updates from https://translatewiki.net.

Change-Id: I0e0d66007ec9b3d6cc10bc75ac7b9278edcad71b
2016-02-29 09:56:30 -08:00
James D. Forrester ab4d3e956b Update VE core submodule to master (0371bbe)
New changes:
0371bbe [BREAKING CHANGE] Refine VisualEditorSupportCheck call and document pattern

Local changes: Use new VisualEditorSupportCheck pattern

Change-Id: I7dc0c360b54a93397180b18d88d72532e439da5c
2016-02-26 12:26:56 -08:00
James D. Forrester e7db4517d1 Update VE core submodule to master (8450592)
New changes:
cea967f Use upstream highlightQuery method in OOUI
07bcff1 Update OOjs UI to v0.16.0
6296fd4 Handle Enter keyPress without matching keyDown
3c2a3b4 Localisation updates from https://translatewiki.net.
c2d64c9 GeneratedContentNode: Check model existence before using
c1a350a FindAndReplace: Always focus dialog when using command
cdd9581 Follow-up I534ce003: Surface#getViewportRange: Fix typo

Change-Id: I4c61e85d43486731e0b20d3a26f23fabe7482861
2016-02-25 15:54:27 -08:00
James D. Forrester 7d75361201 Update VE core submodule to master (2279bbb)
New changes:
bf122f6 Check node is an element before doing classList.contains
9e72ee8 Localisation updates from https://translatewiki.net.
5ebe94c Language widget: Use 'super' for parent methods
5a5adef Localisation updates from https://translatewiki.net.
6ac4f1a LanguageSearchWidget: Simplify prefix search
285a31a Localisation updates from https://translatewiki.net.
458cb58 Localisation updates from https://translatewiki.net.
8607a1a Documentation consistency
2279bbb Localisation updates from https://translatewiki.net.

Change-Id: I68c9ebccd3d482079261ab9357be46e05fa18f08
2016-02-22 13:38:51 -08:00
James D. Forrester cebaacb546 Update VE core submodule to master (cdfd84e)
New changes:
c02ea46 Clarify documentation of directionality methods
43c9b6f Move initialisation browser support checking from downstream
c89be66 Localisation updates from https://translatewiki.net.
5fb7907 Follow-up c89be66: Fix build for added language 'nan'
fc74fab dm.ElementLinearData.compareElements: Add a few missed test cases

Local changes:
Use initialisation browser support checking from upstream

Depends-On: I27a8e7b4376647f01cee648de987dc3ca6a060d5
Change-Id: I3fc79422ee5e487cf5fae3929fe492f21cd2840a
2016-02-17 20:04:16 -08:00
James D. Forrester f450c09e6e Update VE core submodule to master (33d090b)
New changes:
0e1f948 Localisation updates from https://translatewiki.net.
621f30e Localisation updates from https://translatewiki.net.
73c9829 FocusableNode: Bind position events later
75f2eb9 FocusableNode: Change mouseout events to mouseleave
6aeaabb Fix cache invalidation of SurfaceFragment.leafNodes
32ceee2 Share getSelectedNode logic between Surface and SurfaceFragment
a9782a0 ve.ce.Surface: Cache current selection
4fd5da1 Move model fallback for getDirectionFromSelection into method
b829a53 Move selection directionality to ve.ce.Selection
ba43c98 Replace some $.hasClass with Element.classList.contains
2beaa08 Localisation updates from https://translatewiki.net.
2ba1197 ce.TableNode#onSurfaceModelSelect: Table overlay optimisation
9d00622 Localisation updates from https://translatewiki.net.
33d090b Update OOjs UI to v0.15.4

Change-Id: Iab28b0513b075b4dfb1b207a55a0b297c3cea885
2016-02-16 18:27:53 -08:00
James D. Forrester bef99351b1 Update VE core submodule to master (6f0c9c2)
New changes:
fbd2dbd Localisation updates from https://translatewiki.net.
a455f9e Fix structure of broken nested lists from Google Docs
2f50c78 Table overlay: Prevent unnecessary scrolls when editing cells
8b1208c [BREAKING CHANGE] Move scrollIntoView down into the surface

Change-Id: I181d3277e745aa90cdf278eee28b640b570cbff3
2016-02-13 02:04:19 +00:00
James D. Forrester e49ae98064 Update VE core submodule to master (55dd20e)
New changes:
7da4868 After KeyDown, check unicorns before polling the surfaceObserver
6f4153f Document annotation content container usage

Change-Id: Iaa23da99f2f789e7a41fbec18ccc1c5b22830542
2016-02-11 09:40:23 -08:00
James D. Forrester 2d278a9ff9 Update VE core submodule to master (5ea4fdf)
New changes:
cfef99f build: Bump various devDeps to latest and make pass
52dfc0d Localisation updates from https://translatewiki.net.
cf23fba SurfaceFragment: Handle multi-range annotations correctly
ac8bfe8 Localisation updates from https://translatewiki.net.
36ab134 Update OOjs UI to v0.15.3
fd38a4a Use plain DOM in ve.ce.LinkAnnotation
016e208 Localisation updates from https://translatewiki.net.
f5ff675 FocusableNode: watch for image loaded/layout changes for invisible icons

Change-Id: Idfb2175ef5c0ad1e557f341325878fd8c46e169a
2016-02-10 17:21:36 -08:00
James D. Forrester 1146b1656a Update VE core submodule to master (c283af7)
New changes:
c231686 getViewportDimensions: Fix calculation of 'bottom'
76d7f27 KeyDownHandlers: Make Tab behave the same in table cells as in table selections
19891d6 ResizableNode: Remove assumption about 'width'/'height' attributes
380ff04 cloneElements: Use the correct node type when cloning
5e31903 Localisation updates from https://translatewiki.net.

Change-Id: I1225329b99779d84390ca5ee70de5b431cd8cbda
2016-02-07 17:32:57 -08:00
James D. Forrester 04259b793a Update VE core submodule to master (f170d48)
New changes:
7d6d45c update-oojs-ui: Don't copy across oojs-ui.js, we don't use that
9ff6c85 Utility function for "index of node in its parentNode's childNode list"
fe6bb82 Remove uses of plain .contentEditable
890a9d7 VE demo: allow saving some markup to localStorage for testing
2504758 Localisation updates from https://translatewiki.net.
7e9f2de Localisation updates from https://translatewiki.net.
35664d6 Convert a bunch of HACK:/XXX:/FIXME: tags to a task reference
f170d48 Localisation updates from https://translatewiki.net.

Change-Id: I91af16e9de4ff60eb1bc4ca2585b5fe79121d095
2016-02-05 15:24:26 -08:00
James D. Forrester a68330dda8 Update VE core submodule to master (7c7aa59)
New changes:
635979b Localisation updates from https://translatewiki.net.
cb724cf Update OOjs UI to v0.15.2
4218e04 Defer creation of cell slugs until end of cycle

Change-Id: I21fd0935b4a68c87714f55f596416c8f3230288d
2016-02-02 15:08:53 -08:00
Ed Sanders 6d97858188 Update VE core submodule to master (53476f4)
New changes:
b558ef1 Localisation updates from https://translatewiki.net.
53476f4 Move logic for showing icon for invisibles to focusable node

Change-Id: I4bda82918cb54a3cc77523137fa297960b1b1ba0
2016-02-02 10:06:43 -08:00
Ed Sanders 74358498da Update VE core submodule to master (70ff8cc)
New changes:
242ab45 DesktopContext: Float the context when it goes beyond the viewport
405c44d Rename TableContext to TableLineContext
6c564be Sort messages alphabetically
70ff8cc Introduce table and table cell context

Change-Id: I4357162bc192c90f99ca0aec12eb67bf848e5504
2016-02-01 10:51:26 -08:00
James D. Forrester a6e24f4643 Update VE core submodule to master (81fef4b)
New changes:
d1673d9 Localisation updates from https://translatewiki.net.
1b3516c Localisation updates from https://translatewiki.net.
81fef4b Follow-up 1b3516c6: Fix build for added language 'cdo'

Change-Id: Iddae595684554af653eac3bd59e55364eff73d3e
2016-01-31 15:37:55 -08:00
James D. Forrester 32e8348543 Update VE core submodule to master (c5bf879)
New changes:
1cbcc2f Rewrite ve.BranchNode#getNodeFromOffset to be non-recursive
d4ee023 Move table cell mergeability test to Selection and improve
8a741d3 ve.Node.findParent: Shortcut for specific traverseUpstream
37c7155 Use mouse position to place selection after double clicking a table cell
b200954 Localisation updates from https://translatewiki.net.

Change-Id: I7b4e5b4b5c2f7d5262b4d06417c587b212ba8b69
2016-01-29 14:57:49 -08:00
James D. Forrester 73399b367d Update VE core submodule to master (a0308f0)
New changes:
a0308f0 Sanitization: Add option to perform per-node sanitization

Change-Id: I18bbb137995f5ae2ba2109a4f86554d62f21d868
2016-01-29 10:14:35 -08:00