Commit graph

934 commits

Author SHA1 Message Date
James D. Forrester 3d29156cfe Update VE core submodule to master (a5437289b)
New changes:
6df27402a ve.ce.Surface: Handle all font weights above 700
bfebd5a28 Fix function name
a5437289b Localisation updates from https://translatewiki.net.

Change-Id: I1980a836de0d393f55adbe47b91337fb7ca3cb5f
2019-02-07 16:22:41 -08:00
James D. Forrester 1db665e0c3 Update VE core submodule to master (5838dce23)
New changes:
5838dce23 ve.ce.Surface: Handles font weight bold

Bug: T93081
Change-Id: Ib25d68fe06a3a58d60582cbd91c8be34fe6e94fa
2019-02-05 10:13:53 -08:00
James D. Forrester ce250a23f2 Update VE core submodule to master (67e60b00e)
New changes:
d615196b2 build: Update eslint-config-wikimedia to 0.10.1
67e60b00e Localisation updates from https://translatewiki.net.

Change-Id: I521eaec173ff16e33396f4fdd9947552458cda7a
2019-02-04 12:04:40 -08:00
James D. Forrester 1510874cc6 Update VE core submodule to master (3c1c8429d)
New changes:
8bfeae442 Fix "factory pattern" typo
79f0415b4 Localisation updates from https://translatewiki.net.
8b2e8d9f5 Rebuild demos with new language
9b1d76641 AnnotationAction: Activity-logging used wrong field name in two cases
4734b7fb5 ve.ui.FindAndReplaceDialog: Debounce calls to save user options

Bug: T214963
Change-Id: I34040967f857e5098097f51789caac68e6258a42
2019-02-01 20:07:15 -08:00
James D. Forrester fc2f85daae Update VE core submodule to master (08697f624)
New changes:
2b47d62c1 Rebaser: Add '[]' sequence for experimental checklist
08697f624 Update OOUI to v0.30.2

Change-Id: Ic525b1b7ac1f98426b18a1be3cc0a5e8fd9ead4f
2019-01-24 18:27:29 -08:00
James D. Forrester 7a3343c606 Update VE core submodule to master (5883578a8)
New changes:
3efa17468 Localisation updates from https://translatewiki.net.
d4f2b4816 Only fix context menu position when Android >= 6
05f021479 build: Move from `npm prepublish` to `npm prepare`
2999b69a7 Localisation updates from https://translatewiki.net.
c3fa7c1a3 ui.AnnotationInspector: tweak selection after adding annotation
de0a6f44f Rebaser: Fix CSS load order in demo

Bug: T202723
Bug: T211236
Change-Id: I172480a0402d05322ef364e4bb0d76e0e97ed066
2019-01-22 10:11:37 -08:00
James D. Forrester 8168795de6 Update VE core submodule to master (15b0364c1)
New changes:
9621b5f96 stylelint: Enforce class name pattern (require ve/oo-ui prefix)
fd59e856e Fix trigger demo paths
2fc9a1888 eslint: Disable reportUnusedDisableDirectives with eslint-plugin-html
40b91a249 Improve minimal demo
bd6d81d4d Strengthen selector pattern to match start of name
15b0364c1 Localisation updates from https://translatewiki.net.

Change-Id: If784046cf48fd333cea16f1c1265de33873cf784
2019-01-14 10:32:35 -08:00
James D. Forrester 120b5896a3 Update VE core submodule to master (1dfe57f40)
New changes:
185a1c2dd MobileContext: Remove unused property
aed4e3191 build: Commit package-lock.json

Change-Id: If16217cc673bb0cf40cda108b3af55b1c330abce
2019-01-12 13:04:51 -08:00
James D. Forrester a6d820eb2b Update VE core submodule to master (4398bb868)
New changes:
865754885 Localisation updates from https://translatewiki.net.
9012ed8b3 build: Update eslint-config-wikimedia to 0.10.0
c08badb61 Restore margins on embedded contexts
c2562ac1b Localisation updates from https://translatewiki.net.
2aea280e8 Update OOUI to v0.30.1
abb751b4e build: Upgrade grunt-banana-checker from 0.6.0 to 0.7.0
1281cfbd5 build: Upgrade qunit from 2.8.0 to 2.9.1 to match MediaWiki
4398bb868 jsduck: Stop running jsduck for tests

Change-Id: I491bc135ef3a5eb58823af5b309de586fd17e406
2019-01-11 08:16:28 -08:00
David Chan 0d362040bd Update VE core module to master (469c6340e)
New changes:
6515e03e1 ve.ce.Surface: Rearrange #findBlockSlug test to check other cases
cbfdc8570 Localisation updates from https://translatewiki.net.
708ba0557 Prevent block slugs from overlapping floated elements
3703fd66d Separate the concept of a document node and a root node in CSS

Bug: T211844
Change-Id: Ia86cf9b23e561d3c32601d41c1bc5a9824e9953c
2019-01-06 07:47:17 +08:00
James D. Forrester 47df65b60f Update VE core submodule to master (018fdcb67)
New changes:
f171478b7 Update OOUI to v0.30.0
a4af7b713 ve.ui.MergeCellsContextItem: Set deletable=false
c9b2ed7cc Localisation updates from https://translatewiki.net.
7a9d2d5d1 ve.ce.Surface: Consider that slugs can be in nested nodes
899736c39 doc: Bump copyright year for 2019
018fdcb67 Allow slugs to be suppressed based on context

Bug: T107745
Bug: T209479
Change-Id: I264d887aa5891479eaf19aa649cca1d7e2f8c158
2019-01-03 11:10:24 +00:00
James D. Forrester 518c268824 Update VE core submodule to master (44e097da6)
New changes:
54c5df143 Localisation updates from https://translatewiki.net.
e43ea0a0a eslint: Turn on reportUnusedDisableDirectives
5724f8273 Move 'default' document padding to demo.css

Change-Id: I685fef2f031b308e690aafd5e550bddf28c7bc22
2018-12-17 13:34:11 +00:00
James D. Forrester 1884e2ac26 Update VE core submodule to master (083e75219)
New changes:
c3eda7d93 Add missing script to index.ejs
536d9f8f1 rebaser: Update devDependencies
08c06533a Update jquery.uls data from upstream
937cb2ad9 Replace $( 'body' ) with $( document.body )
1064ab930 Avoid margin transitions on surface
2625f6f13 Fix side-positioned toolbar dialog in RTL
562fad2fc Localisation updates from https://translatewiki.net.
1146760aa Follow-up 562fad2f: Add new language 'mai' to auto-built files
083e75219 Copy style by column when creating new table row

Bug: T211834
Change-Id: I08c15b2f3f364adcfb1c2617263ae8164131e6aa
2018-12-13 08:38:01 -08:00
James D. Forrester 12e45c1416 Update VE core submodule to master (f2fc6d05d)
New changes:
a6d7b4da9 Localisation updates from https://translatewiki.net.
2a820d0c4 Fix paste issue for nested lists from macOS Notes app
1b9e09687 build: Update devDependencies

Bug: T211516
Change-Id: Ia836f80d65d3ea60bce4019613e416ce7e2097dc
2018-12-10 08:42:47 -08:00
James D. Forrester d1bd119d2a Update VE core submodule to master (860f28129)
New changes:
860f28129 Update OOUI to v0.29.6

Change-Id: I0e7147627efdeb4b23e050758c42cbdc5647467b
2018-12-06 14:12:08 -08:00
James D. Forrester 6855c75089 Update VE core submodule to master (0d3e1acfe)
New changes:
6f390c623 Localisation updates from https://translatewiki.net.
e82ceff49 ve.ce.TableNode: Fix infinite loop when extending linear selection to table
0d3e1acfe Enable jQuery/no-extend rule

Bug: T210798
Change-Id: I8c658825a2b30e3d738c30addddedb2b67f2fef0
2018-12-04 15:52:02 -08:00
James D. Forrester 84ce7f1c4f Update VE core submodule to master (52b89a9db)
New changes:
ac8b90baa Use ve.dm.SurfaceFragment#hasMatchingAncestor where possible
3008ac425 ve.ui.FormatTool: Remove unused property
bae540ab3 eslint: Drop 'dot-notation' rule
0df7b6921 build: Upgrade stylelint-config-wikimedia to 0.5.0 and make pass
b1e836eac Localisation updates from https://translatewiki.net.
48b1be92d ve.dm.Change: Fix guessing selection for internal-list-only transactions
5722bab84 Enable jquery/no-(show/hide/toggle) rules
ed14182e0 Guard against Target#teardown being called twice

Bug: T208914
Bug: T210552
Change-Id: I0ba709bec3399e3d595ea830fe44e6ede1c6c2e6
2018-11-30 15:35:56 -08:00
Bartosz Dziewoński eb064877f8 Update VE core submodule to master (6a2233f68)
New changes:
73a231157 Only handle document selectionchange events when focussed
083272487 Localisation updates from https://translatewiki.net.
b5f36f1ea Localisation updates from https://translatewiki.net.
6a2233f68 Workaround native selection bug for number inputs in Firefox

Bug: T209646
Change-Id: I78fc21e88ead9ff6e181e1a88f3f0ddbdcd8e4d8
2018-11-26 20:28:48 +01:00
Bartosz Dziewoński 89126ad660 Update VE core submodule to master (c9b894467)
New changes:
d5d971214 Replace $.isFunction with typeof
b185014a2 Avoid stray tabs
c9b894467 build: Upgrade eslint to 0.9.0

Change-Id: I8d2b663a1b6b612f3ee90d56af0bc3450a1f3f4c
2018-11-21 21:40:58 +01:00
Bartosz Dziewoński a9684ebc37 Update VE core submodule to master (812b2140a)
New changes:
eac3c90d5 Revert "TargetWidget: 'change' on document transact, not surface history"
812b2140a Localisation updates from https://translatewiki.net.

Bug: T209648
Change-Id: I18b89b6c03bc09d40f7f314c36b5540ca9c0a27b
2018-11-19 19:14:42 +01:00
James D. Forrester d2fbebc184 Update VE core submodule to master (b17770c7e)
New changes:
9c4d8f893 Place popups instead toolbar.$bar
0a1dd51e8 Only attach scroll listeners is toolbar is floatable
a8e07e026 Convert remaining $.Deferred() to ve.createDeferred()

Bug: T209192
Change-Id: I08328ca5f6aadad7db069dcd81734e1932e616e7
2018-11-13 15:35:44 -08:00
Bartosz Dziewoński e8cb9ee7f5 Update VE core submodule to master (f391832c5)
New changes:
9be96b536 ve.ui.DesktopContext: Actually hide mobile '.ve-ui-linearContextItem-info'
ee8bceb13 LinearContextItem: Added text wrapping when it is too long
b565dd5c1 Update OOUI to v0.29.5
be24f8d32 TargetWidget: 'change' on document transact, not surface history
ffcd8518a Make table selections immutable (refactor #expand)
55a6f1bc1 Scroll 60px past toolbar on mobile to avoid context menu clash on Android
9bf6d9612 Scroll 30px above bottom of viewport on Android to keep selection handles visible
f391832c5 Localisation updates from https://translatewiki.net.

Bug: T188823
Bug: T202723
Bug: T204718
Change-Id: I7ee8382ef6bd27c0fe2a2b6a43df9c121c5c0a5f
2018-11-13 20:12:39 +01:00
Bartosz Dziewoński 7bcb1ac50c Update VE core submodule to master (f32c0be7c)
New changes:
61992def0 Remove dedicated annotation operation types
c18308313 Move 'enter' and 'f2' keydown handlers to command/trigger code

Bug: T205535
Change-Id: Ibbf578070c820ae63a8b8ab50e6e4520cabfebe6
2018-11-08 13:45:21 +01:00
Bartosz Dziewoński 2639984bb3 Update VE core submodule to master (0d1902e04)
New changes:
2c90701db Guard against ve.dm.Document not existing in argument check
68641c9c5 eslint: Disable jQuery/browser environment expectation in DM code
946d9c9d0 Abstract construction of Deferred objects and $.when
e20c7f8a3 ce.ResizableNode tests: increase coverage
0d1902e04 Localisation updates from https://translatewiki.net.

Bug: T195111
Bug: T208515
Change-Id: I84c08142e7cfe3254e54c0d691bc6dac9bcc30ce
2018-11-08 12:44:48 +01:00
James D. Forrester 374b4cab49 Update VE core submodule to master (a4b936b5e)
New changes:
0c776b138 Reset styles on ce=false elements
a4b936b5e Update OOUI to v0.29.4

Bug: T207426
Change-Id: I77fb98f1416040902bc030368fddb380431c1198
2018-11-06 18:02:11 -08:00
James D. Forrester 8ce083a832 Update VE core submodule to master (866f48853)
New changes:
a190a64ab [BREAKING CHANGE] Do not cache document model data in DM selections
866f48853 Localisation updates from https://translatewiki.net.

Bug: T208228
Change-Id: I2c759ab5e390f3d29070509738191df8995ccf0a
2018-11-05 12:38:32 -08:00
James D. Forrester 7eef48c3ac Update VE core submodule to master (a5db6fb8b)
New changes:
a5db6fb8b ve.ui.LinearContextItem: Prevent action buttons from wrapping

Bug: T208596
Change-Id: I1e9e66aee377dc6c509d4aa944920571d166888b
2018-11-05 11:49:52 -08:00
Bartosz Dziewoński a4666b3bea Update VE core submodule to master (caf188be0)
New changes:
a2dff3032 DesktopContext: Don't rely on selection#getDocument
4c1cc1640 Basic test for WindowAction open/close
0ab1e754c Update OOUI to v0.29.3
a8d96b850 Localisation updates from https://translatewiki.net.
b4fa3d230 ResizableNode: Add test for updateSizeLabel
caf188be0 TableNode: Test basic mouse events

Bug: T208228
Bug: T208382
Bug: T208515
Change-Id: I0db7b5e874ad6b23dad1f29bb1a58e126fea7a48
2018-11-02 08:52:57 +01:00
James D. Forrester c36f3d2214 Revert "Update VE core submodule to master (02f5f0ca4)"
This reverts commit be628a5b7e.

87b20f9b Revert "[BREAKING CHANGE] Do not cache document model data in DM selections"

Change-Id: I47bbf757a4ad227346d3734f6e50d928a2de1409
2018-10-30 15:12:30 -07:00
Bartosz Dziewoński a5757ac81e Update VE core submodule to master (3dfcbdb3f)
New changes:
3dfcbdb3f ve.ui.WindowAction: Fix exception when opening windows

Bug: T208347
Change-Id: Id43643aab39683ab21816dbc3a7455323a7a3532
2018-10-30 21:04:58 +01:00
Ed Sanders be628a5b7e Update VE core submodule to master (02f5f0ca4)
New changes:
ccb4de82c [BREAKING CHANGE] Do not cache document model data in DM selections

Bug: T208228
Change-Id: I564399ad864751d1690077b45a06e098b5509a93
2018-10-30 08:11:02 -07:00
James D. Forrester 169602ea44 Update VE core submodule to master (bef57a528)
New changes:
7bd7f4143 Cache calls to ve.dm.Document#getBranchNodeFromOffset
870b49f1a .eslintrc: Enable and fix "max-statements-per-line": 1
aeb21bd1e Unit tests for TransportServer
158a8eeb3 Refactor ve.ce.*Selection#getDirectionality
10990294a Store and verify unique server ID

Bug: T208228
Change-Id: Ib9f4114ac2dbd966644eb55cbb1f7d1cd74ec0a7
2018-10-30 07:41:29 -07:00
Ed Sanders f8bfe84bc6 Update VE core submodule to master (c8e22de61)
New changes:
3d2ffae4e [BREAKING CHANGE] Have ve.htmlMsg return a node array instead of jQuery collection

Local changes:
* Have ve.init.mw.Platform#getHtmlMessage return a node array

Change-Id: Iabd823c851f94356f1902918278f88068dfe4d25
2018-10-29 23:51:01 +00:00
Bartosz Dziewoński 9e47873a65 Update VE core submodule to master (236effcd7)
New changes:
0e923fe1b Use initClass in test class
900962720 Add ve.deepFreeze for detecting inadvertent data modification during testing
0761cd90c Localisation updates from https://translatewiki.net.
0e44545b7 Update .gitignore
82b6b80bb Use consistent method for finding nearest cursor offset
0b604de30 ve.ce.TableArrowKeyDownHandler.test: Remove eww gross FIXME

Bug: T202359
Change-Id: I73c46edfbf66a0c76bc719010c017ef71670931b
2018-10-30 00:50:37 +01:00
Bartosz Dziewoński ac45e919ab Update VE core submodule to master (d89186159)
New changes:
d89186159 Add F2 keydown handler

Bug: T172042
Change-Id: I3bc2bb33bec2f5f08f26af49ab8b72e436dbe4cf
2018-10-24 20:51:36 +02:00
Ed Sanders c895c60907 Add Promise.prototype.finally polyfill and restore failing tests
Change-Id: Ia6cdb85d33d2b3e0e2e868838defaa39ae60572a
2018-10-23 22:56:34 +01:00
James D. Forrester e4724b3f26 Update VE core submodule to master (6c288b44f)
New changes:
7c9fe89b8 Simplify ve.test.utils.runSurfaceHandleSpecialKeyTest API
0e3c75e66 Add more tests to LinearArrowKeyDownHandler
058362830 LinearArrowKeyDownHandler: Test Selection#extend fallback
8c6617d90 Keydown test refactor
91a909d63 Assert defaultPrevented state in KeyDown tests
003dacf3b LinearDeleteKeyDownHandler: Test shift+delete
1872158c5 LinearDeleteKeyDownHandler: Test delete next to link
b2af2a2c3 LinearEnterKeyDownHandler: Add more tests
4e5efa956 KeyDownTests: Remove unused constructor calls for all static classes
1cafb7328 KeyDown tests: Add tests for missing cases to cover tab/escape/enter
58af8d497 Add tests for ve.ce.AnnotationFactory/NodeFactory
617bc24a4 Delete unused ve.ce.modelChangeFromContentChange
50704fa1c Keydown tests: run asynchronously
af9a01b97 Use native promises instead of jQuery promises
df212669a Localisation updates from https://translatewiki.net.
f6af901dc Fix test in Chrome 70
9cc6dae7e Remove broken checks for DM code coverage
ce3a9199a LinearEnterKeyDownHandler: Add test for edge case
0a9dd3636 Remove false coverage of TableNode/TableSelection code
16679a3c0 Remove setupToolbar from DummyTarget to avoid false code coverage
7ac88df77 Basic tests for getClientRects in ve.ce.Selection and FocusableNode
78f14ac1f ve.ce.Selection: Add getDirection tests
7ec7efff0 KeyDown tests: Remove unnecessary setTimeout
26e022d23 KeyDown tests: Un-nest functions
df1e0af6c KeyDown tests: rename defer -> then
f03a9f90b Allow ES6 in tests
0ee55022b ES6 eslint follow-up
6c288b44f ve.ce.Surface tests: Trim when asserting expected text

Local changes.

Bug: T207077
Bug: T207078
Bug: T207079
Bug: T207080
Bug: T207083
Bug: T207654
Change-Id: I2e1f664d6f657e2ac26a271f401dc790c2a8b193
2018-10-23 11:49:34 -07:00
Ed Sanders 858d34ae31 Update VE core submodule to master (6cedee5ff)
New changes:
5b386d8da Move *KeyDownHandler tests into separate files
48ed2a670 Localisation updates from https://translatewiki.net.
e5a6d2a05 Move server.js to app.js
db38aa076 Separate Logger class
f1099fd48 Use service-runner
9d378d4cc Move util to /tools, make executable

Bug: T207287
Change-Id: I3163ed47c0bdeb72b229f6d4c0000e796e3d84fb
2018-10-19 00:23:11 +01:00
James D. Forrester 63bb1354c8 Update VE core submodule to master (474034ad8)
New changes:
01729d1ec Localisation updates from https://translatewiki.net.
c33dc3b44 Asynchronous document store
70ee7c343 Tracking: various annotation and dialog actions

Bug: T202656
Change-Id: I99add8d3a1a9ecf9eaa70522dd49d3c64909a34c
2018-10-16 18:39:40 -07:00
Bartosz Dziewoński 68e9859af2 Update VE core submodule to master (0dff6d406)
New changes:
23a7d0388 Localisation updates from https://translatewiki.net.
0dff6d406 ve.init.Target: Re-position toolgroup popups after floating/unfloating toolbar

Bug: T205924
Change-Id: If1ffc83abe8b9fd017a76535c9840b4253f66b0b
2018-10-11 19:21:14 +02:00
Bartosz Dziewoński e354092417 Update VE core submodule to master (f9afaa3e4)
New changes:
3931cc33a Update OOUI to v0.29.1
5bcab0073 Move node-specific code into rebaser/
8aa80d88b Remove ES6 support for async/await
2536870f9 Separate files for protocol and transport server
b443b7a4f Update OOUI to v0.29.2
70b3ec210 Minor cleanup of ve.ui.MediaSizeWidget

Bug: T206236
Change-Id: Id3bbcd1a9ccb1563e4feb3572aa8f51932677693
2018-10-09 11:06:23 +01:00
James D. Forrester ad948dc550 Update VE core submodule to master (527d45433)
New changes:
30bac7d29 ve.dm.ModelRegistry: Fix extra spaces in rel="" attributes preventing matching
65636c913 Localisation updates from https://translatewiki.net.
da16d82c2 Make visual diff dialog sidebar narrower on narrow screens
80211b920 Update target widget styles and add focus styles

Bug: T203476
Change-Id: Ice36387ea64480ffbf4fed1ae0017b6f25d11182
2018-10-03 15:17:34 -07:00
James D. Forrester 22b40aeb2c Update VE core submodule to master (1191c3687)
New changes:
8a7a3f8a5 Fix margin override on block slug
786cb5266 ve.ui.MediaSizeWidget: Fix conditions for when we need error messages
1829982ed ve.ui.MediaSizeWidget: Remove "Make full size" button
1191c3687 ve.ui.MediaSizeWidget: Remove comments about full size button

Bug: T205645
Bug: T205874
Change-Id: I5c87c18088e754ec95bcf36775d046bb92870aa8
2018-10-02 12:18:50 -07:00
Bartosz Dziewoński 0e6cf92204 Update VE core submodule to master (e9becf4d0)
New changes:
ce7f4ff2a Refactor SourceSurfaceFragment tests to be async
06e55e5e5 Logger class
a4271f3fd Separate file for ProtocolServer
c429f2654 Revert "Separate file for ProtocolServer"
8e6e70250 Make table dialog done action message match other dialogs
b9cc48ca3 ve.dm.SourceConverter: Handle CRLF and CR newlines
411ef306e ve.ce.getOffsetOfSlug: Only match leaf/branch nodes when traversing

Bug: T202103
Bug: T205564
Bug: T205807
Change-Id: Id8ed0514aaf0dbcabe0adeed2f502ff4c954c2b4
2018-10-01 16:09:32 +02:00
Ed Sanders cd720b92d2 Update VE core submodule to master (5742a48a3)
New changes:
d6cfa9d85 Remove deprecated domNodeArray branch
afc4e2b6a Avoid jQuery in ve.dm.Model.static.describeChange(s)
9e9ed87e7 eslint: Disable browser/jquery environment expectations in Node code

Bug: T195111
Change-Id: I224f2c79f3f68f1752fdff37d59a3576ac7bb4d5
2018-09-27 20:25:41 +01:00
Bartosz Dziewoński b581d4c64c Update VE core submodule to master (4888f7664)
New changes:
61f29af9b Follow-up I3a34b59c: Fix load page from location hash
80a510e70 Disable drag-resizing on mobile
23c5c0a6b Correct some doc comments' syntax
96a15c5a2 Make media size widget alignment configurable

Bug: T190885
Bug: T205480
Change-Id: I07e5cb70a0b87d645705e1b076d4779b5670a96b
2018-09-27 16:22:27 +02:00
James D. Forrester 5d00bca4e7 Update VE core submodule to master (2f27b1a2c)
New changes:
2915330a9 Avoid JSON strings in built demo files
62b0b1298 Move server files to /src
ddd99ab0c MediaSizeWidget: Add #updateDisabled() for disableable sub-widgets

Bug: T204185
Change-Id: Ied5b39608683ba7c9f056430a0a248f41e089d5a
2018-09-25 08:36:40 -07:00
Ed Sanders 1631a35c18 Update VE core submodule to master (2d668bdbb)
New changes:
2d668bdbb Separate node classes into individual files

Bug: T205231
Change-Id: Ib628149732e40b139876404867253d0ffa1fb0d0
2018-09-24 08:27:23 -07:00
James D. Forrester a70051d75e Update VE core submodule to master (7c9ceb939)
New changes:
bdd52111a Collapse this.getSurface().getView() to this in ve.ce.Surface
012f77c87 Localisation updates from https://translatewiki.net.
c40692bf5 Use rooms instead of namespaces
31360982e Fix author list when reconnecting
c176f8bba Remove $.isPlainObject warning
ad9edb87a Separate core module into model/view/ui
4475785d5 Merge author name/color data, make naming consistent
8601509c4 Move whitespaceHtmlCharacters to ve.utils.js and rename
361e5d646 Call parent in DimensionsWidget#setDisabled
3a53ca899 Update eslint-plugin-html to 4.0.6
5f88a02bc Allow '/' in path
2ad8dc94d Separate out client-specific utils from ve.utils.js
e8eb8dc97 Fix ve.sanitize to only depend on utils
cdcd7f19b Update UnicodeJS to v0.2.2
689baa436 Report html indent errors
d613e9d48 Create get/setSessionObject methods for JSON storage

Bug: T195111
Bug: T205096
Bug: T205123
Change-Id: Ia519138734ca0c174c20fec2d42f1437c903b82d
2018-09-23 13:53:29 -07:00
James D. Forrester 6944faff25 Update VE core submodule to master (2093bd6f0)
New changes:
32b018075 Localisation updates from https://translatewiki.net.
bc640d904 Allow applyTo to guess a selection for undo
c94b51516 Scroll cursor into view after resize on mobile

Bug: T204197
Bug: T204388
Change-Id: Ie24708f0ef875fb9494debf0eeb97e1108c5fd30
2018-09-18 09:40:18 -07:00
Ed Sanders 7eb836adbc Update VE core submodule to master (7420443fe)
New changes:
a273ba69c [BREAKING CHANGE] Implement a SourceConverter

Local changes:
* Use SourceConverter
* Handle `this.doc` being a string in source mode now

Bug: T203114
Bug: T203156
Change-Id: I7bce7b57668e0c1dd511803a54178ae69694a86d
2018-09-14 11:42:34 +01:00
James D. Forrester e307356f81 Update VE core submodule to master (d2e64ca7b)
New changes:
70c0aee6a Localisation updates from https://translatewiki.net.
7956e2d7b Check new node diff type in visual diff
6fe18c3af Use FORCE_BODY in sanitizeHtml
0896105b7 FocusableNode: Start listening to position events even if not focused

Bug: T201721
Bug: T203856
Depends-On: I59fa13324083bfd8c77862d0d88b9b3cea1cfeb8
Change-Id: I2c4b4f99a110147c6ac1d0c81dcbf4be84965700
2018-09-13 18:09:26 +00:00
James D. Forrester f2d54d8545 Update VE core submodule to master (465ea4618)
New changes:
9c56a047b build: Bump devDependencies to latest
ee874fc26 Remove unnecessary env:qunit
465ea4618 Update OOUI to v0.28.2

Change-Id: Ie46bac2bc7a2b4cb11c8e96645036ff500b7d6f3
2018-09-11 16:37:18 -07:00
Bartosz Dziewoński 6ba42c6f12 Update VE core submodule to master (7926154e3)
New changes:
8fd23db41 Fix MediaSizeWidget#setDisabled: Call parent method
545f03b12 Don't trust client-supplied docName
e718ee115 Localisation updates from https://translatewiki.net.
a2aeb1c36 Update jQuery 3.2.1 -> 3.3.1
8d6ccce61 Fix alignment in visual editor table dialog

Bug: T203467
Bug: T203889
Change-Id: I91393ab3eb50cb3c320a406d880fcb459a03ad4b
2018-09-10 14:18:44 +02:00
James D. Forrester ebb6d88752 Update VE core submodule to master (f7b958957)
New changes:
700fac731 Localisation updates from https://translatewiki.net.
3f0e01706 Add simple tests for getSourceText
b7aef1b81 Re-activate surface during event cycle
f7b958957 Fix alignment of context title and description

Bug: T203328
Bug: T203517
Change-Id: I5706b63b4034893fbc10198842a1b5c4422d5c63
2018-09-07 08:58:03 -07:00
James D. Forrester 418c82fab0 Update VE core submodule to master (e4ca18ac3)
New changes:
cd58dabe3 Update OOUI to v0.28.1
92b51ca09 Make columns responsive in visual editor command help dialog
562082b90 Cleanup ve.dm.Converter: Convert absolute references to relative ones
1c0a1f86d Add simple test case to SourceSurfaceFragment
e95c6f7ca Fix typos in ve.dm.SourceSurfaceFragment documentation

Bug: T203474
Change-Id: I46b582d921cea0157e80c4f56415fca739a62efd
2018-09-06 08:27:10 -07:00
Bartosz Dziewoński b5ca05a322 Update VE core submodule to master (a72861b26)
New changes:
c5fdeffc9 Keep count of how many windows are open before toggling the mobile overlay
d2fc6ea83 Localisation updates from https://translatewiki.net.
ba766c47c Cleanup: Don't assume commands exist when building list
fd07cdf0a Remove unnecessary "eslint-disable-next-line new-cap"
888a2459d ve.ce.Surface: Consistently sanitize external pastes
3591f7d56 ve.ce.Surface: Fix a test case
c4c3349b7 ve.ce.Surface: Make a check for pasted "important elements" faster

Bug: T108506
Bug: T203280
Bug: T203282
Change-Id: I4286098695d14bdc17095297c0f71dac37060c66
2018-09-04 15:27:24 +02:00
Bartosz Dziewoński b958cfbe38 Update VE core submodule to master (8097e44c1)
New changes:
fcd37bf61 Cleanup: Rename addAttributesToNode to addAttributesToElement
64f059112 ve.dm.Document: Remove incorrect handling for combining characters in #fixupInsertion
99de355d7 Simplify hasOwn call
a3c7ae7ed Invalidate tableNode cache if node has been detached

Bug: T85093
Bug: T203150
Change-Id: Ieec61133dbbcaeffb8cfd2d78a9ba6ba5a39f601
2018-08-30 22:21:07 +00:00
James D. Forrester d111511e0b Update VE core submodule to master (532c982b9)
New changes:
55e9fd096 Localisation updates from https://translatewiki.net.
bb17b19f2 build: Update files generated with new l10n language 'mni'
f3141c1eb Fix rendering of nails in input debug mode
9adc6d721 Persist state of 'input debugging' button

Change-Id: I2078ffa9ac55de78ccc7bc0de865d5e7d256d423
2018-08-27 09:24:54 -07:00
Ed Sanders d15094c27d Update VE core submodule to master (7443791cf)
New changes:
7bdf15b76 Cleanup: Allow a DM surface to be used to construct a UI surface
27b36e04d Cleanup: Move setSynchronizer from view to model

Change-Id: I6b13dadcdaf4107fbf5b7ca50d9b5a52767a32ec
2018-08-25 23:22:09 +01:00
Ed Sanders 7bf56a3bd4 Update VE core submodule to master (e69a4a07c)
New changes:
3b62827b8 Remove negative margin from mobile context action buttons
694705894 Implement a simple notification system to fill in for mw.notify
461283560 Validate history start when applying/unapplying change

Bug: T202514
Change-Id: I203dc5101bc31988df2d3986da4300a318e5e889
2018-08-25 18:08:48 +01:00
Ed Sanders 1d1d2c4e8e Update VE core submodule to master (aece1dbea)
New changes:
3ea0c7621 Fix calculation of scroll restoration in mobile window management
87ee219fa Update selectionBefore every time breakpoint is called
aece1dbea Localisation updates from https://translatewiki.net.

Bug: T191878
Bug: T202516
Change-Id: I0812ecaac059bf304ca7cf8b450635e3cbc45ff2
2018-08-23 11:51:19 +01:00
James D. Forrester f4ad32173f Update VE core submodule to master (2f4c0537e)
New changes:
a80089a36 Add missing command help registration for HR tool
330311722 Define command group order separately
35ea5b8f0 build: Bump `grunt-css-url-embed` and `karma` to latest to avoid security issues
31b134668 Cursor into table captions if present, instead of the first cell

Bug: T201870
Change-Id: I4e3a946a992a07215a3af8351c3b54ceae664d40
2018-08-22 11:36:01 -07:00
Ed Sanders 2ee76a4df4 Update VE core submodule to master (874470c1b)
New changes:
6911f2c33 GeneratedContentNode: make rendered element filtering overridable
874470c1b ve.ce.LinearSelection: Guard against node=null in getNodeClientRectFromRange

Bug: T197563
Bug: T202525
Change-Id: Ib1465a532bd0e5feaa3df61ea8ac61e7bf9872a8
2018-08-22 16:03:52 +01:00
James D. Forrester 11b9816cd9 Update VE core submodule to master (a8116266a)
New changes:
7b257fd99 Show whitespace HTML chars in converter preview mode

Bug: T178780
Change-Id: Ia9152b2618a9699a933f0ccb64261f47f0b31f4d
2018-08-21 08:52:22 -07:00
Bartosz Dziewoński 79cf74c3fd Update VE core submodule to master (510506739)
New changes:
e2c338cfa Bump dependency versions
b6077ef74 Author appearance tweaks
3f9480f9a Localisation updates from https://translatewiki.net.
bfce500be build: Temporarily disable qunit testing in Firefox due to CI issues
564e48ad0 Reactivate mobile surface in onModelSelect for native selections
510506739 Blur activateElement when deactivating the surface

Bug: T147304
Bug: T200347
Bug: T201329
Change-Id: Ifbaf21819b862f8dcaa557d0453086529b88aa04
2018-08-21 00:34:09 +02:00
Bartosz Dziewoński f5ec61ef37 Update VE core submodule to master (a73097d43)
New changes:
f64698dbb Localisation updates from https://translatewiki.net.
13268e629 Reactivate surface on toolbar close
d55e19e90 Make invisible icon button unfocusable
31ca7c558 Follow-up Ib463485: Get rid of broken ve.ui.Surface#isMobile

Bug: T198912
Bug: T201329
Change-Id: I3603be4c3cd19fdf33060d815e90e73c18f380d0
2018-08-18 00:09:22 +02:00
James D. Forrester cf63f462c8 Update VE core submodule to master (aac36db2c)
New changes:
3a1d9b70a Update OOUI to v0.28.0
fcae61794 Fix icons broken by OOUI update
30df9c4e3 Deactivate the surface when the toolbar is active

Bug: T109529
Bug: T201329
Change-Id: Id2af11f4bca968eba964d8685baa3e2e15d208ca
2018-08-16 15:58:51 -07:00
James D. Forrester 5c9f4f9820 Update VE core submodule to master (e7fd43cfb)
New changes:
b1e14c16a build: Update eslint-config-wikimedia to 0.7.2 and simplify config
e7fd43cfb Move DOM selection from a block slug even if model selection is unchanged

Bug: T201599
Change-Id: I7e53da897f6cb4910a180ff86cae18982a9453e4
2018-08-14 14:08:08 -07:00
Bartosz Dziewoński 39208b7d40 Update VE core submodule to master (2859146e5)
New changes:
fa5d35054 Only re-use session token if docname matches
58d7cd280 Localisation updates from https://translatewiki.net.
d0716d8e7 Update files generated with new l10n language 'my'
2cc7a4423 Create unit tests for sequences
873fdd01e Upstream horizontalRule sequence and fix command

Local changes:
* Register unit test file for sequences
* Remove duplicate horizontal rule sequence

Change-Id: Ibc65cf5c086428bb0d13c8e2f2de5819e1e23d43
2018-08-14 09:20:07 +02:00
James D. Forrester 3f3849261a Update VE core submodule to master (e2ce88ff1)
New changes:
424c47fc8 Remove duplicated usage of article "the"
677052c92 Localisation updates from https://translatewiki.net.
806b221af ve.dm.Document: Replace empty nodes after inserting non-text data
9758fd70f Replace Bugzilla numbers with Phab numbers
131a68caa ve.ui.Sequence: Revert sequence stripping changes
c63d3d585 ve.dm.Document: Improve docs of #fixupInsertion
163041e05 ve.ui.Sequence: Strip sequence before running the command

Bug: T201491
Bug: T201573
Change-Id: I2902af41a0de7528339b3e11a8e27d77ffac7aee
2018-08-10 10:00:49 -07:00
Bartosz Dziewoński 57b46158e8 Update VE core submodule to master (7e57bf17b)
New changes:
56b799abb Restore cursor trapping functionality to table cells
8befef408 ui.Sequence: fix post-sequence cleanup

Bug: T200525
Bug: T201472
Change-Id: Ie989bc7033cfc5f8e893efeeb35a39231bd67fc2
2018-08-08 22:56:42 +02:00
James D. Forrester 102afd9179 Update VE core submodule to master (efccd8b41)
New changes:
b7e84c989 rebaser: Make create/edit button primary+progressive
316496c15 Localisation updates from https://translatewiki.net.
65fd7fb40 Update OOUI to v0.27.6
a7b2cb4e2 rebaser: Unpaint authors on disconnect
4b549306b ve.ce.Surface: Handle null native selections in #getSelectionState and #showSelectionState
76d1afe62 Localisation updates from https://translatewiki.net.
14d29a5c0 rebaser: Force user state back to active=true when connecting
8530b6762 rebaser: Methodise AuthorList/Widget
9c79de597 rebaser: Emit author colors as well as names in initDoc
5d44160eb rebaser: De-activate surface when author list popup is visible
243e02650 rebaser: Upstream storing username in session storage
22de08438 Remove unused second parameters to ve.ce.Document#getNodeAndOffset

Bug: T199011
Bug: T199754
Bug: T200128
Bug: T201017
Bug: T201244
Change-Id: I2f053c986a5720ddc66cb310ff642b33556e270c
2018-08-06 15:59:01 -07:00
Bartosz Dziewoński b159fc4aad Update VE core submodule to master (3c30cac86)
New changes:
76103bb49 Add Horizontal Rule insert command
72c167fe2 Clean up after sequence insertion

Bug: T199925
Change-Id: Id3411dc1e09ca0a0f11cc5bfe452566f932a4b33
2018-08-01 21:27:22 +02:00
James D. Forrester 8f2598f6ee Update VE core submodule to master (9bb7abf84)
New changes:
29331acd8 lib: Update jQuery.i18n to 1.0.5
9bb7abf84 libs/CLDRPluralRuleParser/README.md: Drop `x` flag from file

Change-Id: I7d6446bd3a4a87b77a8569d8279b3fc984b1529c
2018-08-01 14:19:59 -04:00
Bartosz Dziewoński 1c3bad67c5 Update VE core submodule to master (086de2707)
New changes:
9aecc6946 Add CheckList type
be0469524 Allow cursoring between active nodes
954b21f33 Localisation updates from https://translatewiki.net.
38e1e7667 Do not try searching outside of valid range when using regex
deec79971 ve.dm.TransactionProcessor: Fix edge case handling, avoid ES6 methods

Bug: T196521
Bug: T200455
Bug: T200525
Change-Id: Ie87e19d13c68425f5d46bd1be5121c9169c2ebf4
2018-08-01 00:12:29 +02:00
James D. Forrester 2588939256 Update VE core submodule to master (e0f344c72)
New changes:
3e46076f7 Localisation updates from https://translatewiki.net.
8ea59e50d ce.Surface: Debounce position events
17e3d3aa0 Amend `border-radius` to conform to Apex theme standard
c573f3513 docs: Replace fake ellipses with real ones (or in one case, a vertical one)
a4e24a992 Make mode for getting document data without metadata

Bug: T199298
Bug: T200429
Change-Id: I36dad61ed614f007b16d7e9f47fcbfd02347f239
2018-07-28 16:44:28 -07:00
Ed Sanders a6ea005f15 Remove EasyDeflate libs, upstreamed to core
Change-Id: I70ac6669038238b91eba8484792b75b09e7355d4
Depends-On: I12a5879188f46f17dc4c33bdad52317d218d4172
Depends-On: I0fa382c2828ff2644ed308dc1ccca85735d0a80d
2018-07-26 18:18:52 +00:00
James D. Forrester dde96dfc0e Update VE core submodule to master (740285b11)
New changes:
c60028546 Remove legacy transaction builder comment
d51e5e39e Localisation updates from https://translatewiki.net.
71aa3d159 Update files generated with new l10n language 'tw'
1681bb2f4 Rebaser: Fix changeName handling
44c2d0c71 Remove duplicate apex styles from rebaser demo
87918b3d2 Use opacity for comment annotation background
dd219f941 'pad' -> 'collabpad' logo
c7c75351d Remove extra whitespace
13356ebb6 Move 'canBeActive' to NailedAnnotation
3c660a12a ve.dm.Document: Make getNodesByType build the tree if needed
4c51ee9ec Localisation updates from https://translatewiki.net.
741f6d933 Fix rebaser documentation
6afdf63d0 Further rebaser documentation fixes
740285b11 rebaser: Prevent no-op changes from being sent

Change-Id: I8e5a1b27d5cba7630f71ddeb1af338cbbe6ae0db
2018-07-25 15:21:36 -07:00
Ed Sanders ff10c01687 Update VE core submodule to master (d2a120e66)
New changes:
35eaf8209 Move annotation nail functionality to a mixin
d2a120e66 Rebaser: Create a multi-user flag on the surface model

Change-Id: Iffad3c90a9b8ac08f646721bfdbc0503cea2890b
2018-07-19 13:22:25 +01:00
James D. Forrester f08eb6028a Update VE core submodule to master (8d0ab0587)
New changes:
cd6932096 Fix rebaser dependecies
bdcbf8f81 Rebaser: make the server synchronous again
52e6873b1 Cleanup rebaser
31ef4c5ec Handle authentication and reconnection
22d6feea3 Squash Changes to use fewer transactions
4d93f0819 Fix confusion between #getSetupProcess and #getReadyProcess
8d0ab0587 Localisation updates from https://translatewiki.net.

Bug: T185745
Bug: T185944
Bug: T188026
Change-Id: Ie33d3dd4746c9c91fe676f140f416af72ac218b0
2018-07-18 02:54:07 +02:00
James D. Forrester 3d07d7f019 Update VE core submodule to master (6398ee9c4)
New changes:
6398ee9c4 Update OOUI to v0.27.5

Change-Id: I4060189877b08148aa93f1bde2574f30798ca66d
2018-07-11 11:51:47 -07:00
James D. Forrester 27f56a57f9 Update VE core submodule to master (58eb2cb97)
New changes:
634908a57 build: Upgrade to eslint 5.x
08a5f34cd Register dummy triggers for clipboard actions
f15f7832b Add getNameByTrigger to TriggerRegistry

Change-Id: Ia943df83aca831a72cf0e984fb4c982d1d4dfdf4
2018-07-10 10:54:24 -07:00
James D. Forrester dfe27be40c Update VE core submodule to master (bbe825690)
New changes:
e761c7e80 Localisation updates from https://translatewiki.net.
7ffaf8c86 Change clear styling label in contexts
8727b8823 Localisation updates from https://translatewiki.net.
903fe9a6e Localisation updates from https://translatewiki.net.
2d0db8666 Change transaction manipulation functions into methods
198b35a70 Handle ctrl+click events on links
90ea4832e Fix cleanup of PreviewElement after render
3f888e8b2 ve.ui.TableLineContext: Use automatic width
37d42880e Create basic tests for PreviewElement

Bug: T145850
Bug: T195707
Bug: T198064
Bug: T198826
Bug: T198871
Change-Id: Id02adf9f5d85574ee9c7d3ef7c32c19bfcb06a45
2018-07-05 16:09:49 -07:00
James D. Forrester 22979cdc8b Update VE core submodule to master (49fd5e439)
New changes:
49fd5e439 Update OOUI to v0.27.4

Change-Id: Ib70a0f2d41d9d22ed9232ba6b6dbeb604fc5eb12
2018-06-27 11:31:04 -07:00
Bartosz Dziewoński e73d6f3f67 Update VE core submodule to master (fab33197b)
New changes:
664b9017b ve.dm.Document: Handle no valid offsets in #getNearestCursorOffset
879e319d4 Don't break before/after multiline insert in source mode
386344d19 LinkContextItem: add label information to the context

Bug: T124305
Bug: T197651
Bug: T198010
Change-Id: Ic0b16b7f85f91ce699eb90f8ee171fc69c9ddd53
2018-06-26 23:16:09 +02:00
James D. Forrester 8baf06a8b3 Update VE core submodule to master (c8d6dac8b)
New changes:
4418e04c5 Localisation updates from https://translatewiki.net.
12fd1e53e Add isResizable method to dynamically disable resizing
87047170d Use getter to retrieve change stores
58150e710 Use ve.dm.Change object for completeHistory
bc9a1a8af Fix appearance of source surface

Change-Id: I7654d9859741dfbfb0a053a72d0d00b34f1835d6
2018-06-25 10:47:02 -07:00
Ed Sanders 47e6e3f6b1 Update VE core submodule to master (52bd0592b)
New changes:
c5df99d3a Remove remaining assert.expect's
593b09992 Localisation updates from https://translatewiki.net.
14a29056c Follow-up 593b099: Add 'lfn' language to build to unbreak the repo
faba29bde Fix cursor position when adjacent to a nail
9854cc88c Sanitize message body in standalone using DOMPurify
52bd0592b ve.dm.Change: Store DOM node arrays as single strings

Local changes:
Add sanitize module

Bug: T197723
Bug: T197894
Change-Id: I572f5bcc80175cc50ef176efb961c9b10b38c7f0
2018-06-22 09:12:35 +02:00
Ed Sanders 534b3d66cb Update VE core submodule to master (a1fd90540)
New changes:
71baf1c02 Create an 'htmlMsg' function for HTML messages with HTML or DOM arguments
9a7af223e Use ve.htmlMsg to highlight values in attribute changes
a1fd90540 DiffElement: Refactor describeChanges tests

Local changes:
Implement getHtmlMessage in mw.Platform and use for DiffElement

Bug: T195243
Depends-On: Ib4ad16858e4241d33d018830dbcfded63ff703af
Change-Id: Ib5fa39e4f2f529948354b03a141542e23d169fe0
2018-06-20 12:53:43 +02:00
Bartosz Dziewoński 4948925351 Update VE core submodule to master (e72749663)
New changes:
a7c0f6474 Ignore meta items when computing slug positions
1bce430b6 Prevent null being treated as "object" with typeof operator
437892531 ce.FocusableNode: suppress left clicks within the focusable element
00a559a16 Replace assert.deepEqual's with more appropriate tests

Bug: T196921
Bug: T197139
Bug: T197659
Change-Id: Ia3c02961e86a1051245467ed9115c41c4d4cbc1f
2018-06-20 12:30:44 +02:00
James D. Forrester ec4c28cc1a Update VE core submodule to master (b413a2c51)
New changes:
e29c854d2 Localisation updates from https://translatewiki.net.
cb61bb674 Remove description of 'style' attribute change on a 'span'
625548143 Move ToolbarDialog's open/close triggering of updateState to ve.ui.Toolbar
a4608fe53 Debounce toolbar update

Bug: T197569
Change-Id: Ifda0a53e35e1314d1a792fd49635e3bf1f990ff0
2018-06-18 13:22:19 -07:00
James D. Forrester a4f8d28328 Update VE core submodule to master (30865fcfe)
New changes:
c414d3b44 Localisation updates from https://translatewiki.net.
fccd20b10 Converter: Don't try to apply attributes to non-node elements
d40a2d7ff FindAndReplace: Use the same tab index of items that are in correct DOM order
9401ddc3e TabIndexScope: ignore aria-hidden outside the tab scope root
fb5c6337a Use 'title' config option instead of 'iconTitle'
bb49c6fee bin/update-oojs.sh: Update for upstream movement of /dist files
30865fcfe Update OOjs to v2.2.2

Bug: T197185
Bug: T197250
Change-Id: I75880efe33ca69b7e0596ecb4c732cf09c9cd5dd
2018-06-14 16:53:30 -07:00
James D. Forrester 5c48ef286a Update VE core submodule to master (fea37bcd2)
New changes:
fea37bcd2 SourceSurfaceFragment: Use own insertContent function inside insertDocument

Bug: T197091
Change-Id: I43d21731f974ed63a71a52b2b87ea7cd9aec742e
2018-06-13 09:17:38 -07:00
James D. Forrester 7a788364b7 Update VE core submodule to master (8231b4d88)
New changes:
a52e2ee1f Never store ve.debounce in prototype
eebbbfb30 DiffElement: Add test for full list replacement
443a8df59 Separate out list, leaf and tree diffs
8667e76ea DiffElement: Tests for new list diff functionality
5d9dd0391 Don't compare images with different src's
2723de16a Follow-up I125969a: Replace $.closest with $.parents + $.addBack
835442985 VisualDiff: Add test for add-simliar-and-indent

Bug: T184977
Bug: T187632
Bug: T196753
Bug: T196914
Change-Id: Iadea61960dfc91bceedef85087701978fa5028c4
2018-06-11 09:48:34 -07:00
James D. Forrester b7594c7a32 Update VE core submodule to master (ae0ff21b9)
New changes:
d1b8a4141 Simplify conversion of images
e614bc70d Update OOUI to v0.27.3
b88f42a59 Refactor document drag/drop to use copy/paste methods
89220c69e Change image diff tests to use 'alt' instead of 'src'
bbb82023d deepEqual->strictEqual in modelRegistry tests
b6524e7a2 ModelRegistry: Prevent double registration

Change-Id: I1d7304091be256323f081810fe4e13cf8495dc0e
2018-06-08 08:20:11 -07:00
James D. Forrester 84eab48c68 Update VE core submodule to master (3cb400800)
New changes:
24e35e428 Factor out synchronous part of updateInvisibleIcon
7be1fc898 FocusableNode: Move getModel teardown check to updateInvisibleIconSync
6fe97c9f1 Performance improvements to compareElementsUnannotated
dfa42c223 Demos: Use SVG with well defined natural size
c2886b57b eslint: Enable qunit/no-assert-equal,no-early-return,no-negated-ok and enforce
4ca5a4088 eslint: Move qunit/resolve-async exceptions inline
eda91bd38 eslint: Move qunit env flag to test config
ce2983e52 Update OOUI to v0.27.2
e333fe327 Localisation updates from https://translatewiki.net.
3cb400800 ce.Surface: afterPaste should always remove ve-attributes

Bug: T196254
Bug: T196380
Bug: T196479
Change-Id: Ie7ce1fefdcede8eb61b722d8308ec9ee9b3bd1e3
2018-06-07 09:18:55 -07:00
James D. Forrester b998e3cae3 Update VE core submodule to master (aca98533e)
New changes:
d62da204c Fix documentation in dm.Surface, remove duplicate dm.Selection.equals
b2ee82d06 Bypass expensive hasRendering calculation for CommentNodes
522959e5c ve.ce.AlienNode: Fix hover highlight opacity in IE/Edge
06e67e2a1 ve.ce.FocusableNode: Remove "ve-ce-focusableNode-highlight-relocatable-marker"
d38b994d9 Localisation updates from https://translatewiki.net.
2056626bc Remove unused & untested HashValueStore.filter
49a8fbae4 Upstream comment node's invisble icon with label into focusable node

Bug: T195887
Change-Id: Id2da1f2da4e5e32acb3d604307d0f84f6a82bf39
2018-06-04 09:45:04 -07:00
James D. Forrester d7dcf6f681 Update VE core submodule to master (6847cfba6)
New changes:
89c8891eb Update OOUI to v0.27.1
d542afe0f Fix OOUI deprecation warning from tests
962cd9f5c Localisation updates from https://translatewiki.net.
40e8a27b0 Add test coverage for preview mode (optionally)

Change-Id: I6dd76c021ffc4f5b4be9e5e12ddda710b4595c12
2018-05-31 10:10:37 -07:00
James D. Forrester 8543cd525d Update VE core submodule to master (73e80ba80)
New changes:
15d2625b4 build: Bump devDependencies to latest
d613f4766 build: Introduce eslint-plugin-qunit
1d675a7b2 build: Enable eslint's qunit/literal-compare-order rule, with an exception
591a22590 build: Enable eslint's qunit/no-ok-equality rule
d89243c16 Move QUnit eslint config to tests/ folder
a67715636 Localisation updates from https://translatewiki.net.
4eb5301a0 Refactor diff ready for de-generalisation
a5e433473 Add expanded=false to FragmentInspector's container
ad4556a5e Rename 'Dialog windows' section to 'Window controls'
f5e9be727 annotationsAtFocus: Replace $.parents with $.closest

Bug: T195843
Bug: T195854
Change-Id: I20d39d0da4f88555bcb2ba5f691c51d22e497070
2018-05-29 08:40:20 -07:00
James D. Forrester 19641b1f96 Update VE core submodule to master (a17837fa6)
New changes:
d8c4fe1a1 ce.Surface cleanup
220978561 Simplify TableLineContextItem styles
83d818983 Make delete row/col buttons destructive
4f5f66703 Localisation updates from https://translatewiki.net.
55e1c1424 Fix try/catch in internal paste with original data
da86b36ff Fix async beforeEach in ve.ce.Surface tests
8b10fdc89 Strip 'about' attributes when comparing alien nodes

Bug: T195344
Bug: T195514
Change-Id: I7222d6378f375a228e9efd328b6a8b9bbf4c6de3
2018-05-25 11:08:02 -07:00