New changes:
ee207db24 Localisation updates from https://translatewiki.net.
03e6e3022 build: Update QUnit from 2.16.0 to 2.18.0
53881dfac Localisation updates from https://translatewiki.net.
616754593 Fix some missed instances of var declarations that can be moved inline
4eacee1c5 Simplify done() calls in tests
Change-Id: If9ed1ad849e41ada2dda3b108ea93a6cb8c09357
New changes:
a75d285a8 ve.ce.Surface: Fix error on load when document has no content offsets
Bug: T302362
Change-Id: I55cb19b390461264316fc75a09ae90e26bc5f34d
New changes:
a50d13e3b Localisation updates from https://translatewiki.net.
a0c3637de Localisation updates from https://translatewiki.net.
17daebc83 ve.ce.Surface test: Add test for special image paste handling codepath
f4b688e1b Always use clipboard paste data if "important elements" have been dropped
f0e5c16c9 afterPaste: Add 'figure' to importantElement list
abd5894ef Show copy button when selecting focusable nodes on mobile
Local changes:
* Load new clipboard messages
Bug: T101113
Change-Id: I05f9dc850d3cac740916d26a0c2b0d390e47fbb1
New changes:
ec713a57a Localisation updates from https://translatewiki.net.
c2f60cd96 DiffElement: Don't show meaningless spaces inside added block nodes
78ca42ce2 Localisation updates from https://translatewiki.net.
6aa9549d2 Target: Don't create toolbar in scroll handler
de8319584 Fix regex that replaces nothing with nothing
4a8584a7c Add more complex internal list diff test
Bug: T300444
Change-Id: Ic3299038c589f4b980488ea6ec81b6ef4b3d49cc
New changes:
60e524fc0 Fix internal list diff when lists are fully inserted/removed
bbeac08b7 DiffElement: Use horizontal scroll when necessary on content area
Bug: T161489
Bug: T298569
Change-Id: I79d1ec33e6d9f14dc46d7eb0aa6fccd28df50b86
New changes:
b8b12d1c2 Test: Ignore XML parse warnings in other comment escaping test
4147e7401 Consistently use target/surface $scrollContainer to set/get scrollTop
c06f87e83 Consistently use $scrollListener when listening to scroll events
Bug: T299841
Change-Id: I93e39aaa7743c2ff3cf51c7690cd25511eb7640b
New changes:
1da4a683b DiffElement/VisualDiff: Use node's root to determine the document model
950d56d09 DiffElement: Add core test for internal list diff
658a420a1 DiffElement: Simplify internal list rendering using list item value attribute
7c6e1b91f Fix list diffs
Local changes:
* Add new test file
Bug: T198529
Change-Id: If4ca99fa4532b33f164e298b53cfa1e202035015
New changes:
94ea92dd0 Follow-up I227a0d70: Remove partially complete mixin of ContentEditableNode from list items
bbdba097b Re-apply "Follow-up I0802440d9: Allow alien <tr>/<td>'s to be focused"
Bug: T298609
Bug: T299730
Change-Id: I532359f03a549316bd20d49db30837dbb4e88081
New changes:
e5963f084 DiffElement: Remove doc-child-change wrappers
90a359f79 Follow-up Ia593dad8: Use modifyData when sanitizing
f5c7f0f20 Localisation updates from https://translatewiki.net.
Local changes:
* Update tests for the removal of doc-child-change wrappers
Change-Id: Ib29f23625de9151d50e0f3b7796b15ca9ed89133
New changes:
73e2b73c4 Localisation updates from https://translatewiki.net.
4e7e0a002 DiffElement: Handle diffs where ref list groups are inserted/removed
1cf051b44 VisualDiff: Remove documentation of non-existent params
Bug: T298569
Change-Id: Ie8d438a894f6152cb4431da46c3fe3b28ced0dd9
New changes:
0c1a95a5d Localisation updates from https://translatewiki.net.
0f31d4996 DiffElement: Add test cases for table merges
89356a90a DiffElement: Improve description of colspan/rowspan changes
0cb95be10 DiffElement: Add more table tests
82b1d170c DiffElement: Move some more var declarations inline
3bf324d84 DiffElement: Handle a node index of 0
429dd0c56 DiffElement: Show whole node when DocList has attribute change
ed551058c Follow-up I1bd7171: Test colspan/rowspan values of 1 being the same as undefined
7a5a14235 DiffElement: Collapse tree diff with no described changes
07ff4af98 Follow-up Ib79a964c: Fix test HTML
3f5bb3be4 Follow-up I9a67730: Pass current list node to appendListItem
83c3e959b Improve AlienNode matching
9fa17d0a3 Alienate when trying to <p>-wrap an annotation where <p> isn't allowed
653dd2d58 DiffElement: Handle AlienBlockNode in list
20902e538 DiffElement: Fix rendering of internal list items with multiple child nodes
Bug: T259957
Bug: T278186
Bug: T299475
Change-Id: I88a1c8ce43e129f2117672d8f7570dca19d6c608
New changes:
1685748d5 Tests: Add tests for ve.ce.Surface#getViewportRange
d7d777667 getViewportRange: Handle node not being rendered
61ee718b4 ve.ce.Surface: Use selectFirstVisibleContentOffset when focusing a document
Bug: T296910
Change-Id: I3e7dd7095d10d618e0f2c6da8021eadd0ec92da2
New changes:
d90d1fb78 DiffElement: Change order of z-index fixes
bb46539c9 DiffElement: Move more var declarations inline
eb46b62ed DiffElement: Make processQueue a method
12c078f2c DiffElement: Separate processQueue and renderQueue
57e82187b DiffElement: Collapse context to spacers in isDiffedAsDocument nodes
Bug: T188170
Change-Id: Icf1ecd042d8c1da99d665580a4c16c1a55b5b53a
New changes:
67d78e763 Fix type hint in ve.ui.Command
c0a5da784 Use boolean RegExp.test() instead of .match() where possible
2a7c5f994 Follow-up I0802440d9: Allow alien <tr>/<td>'s to be focused
c55e24a67 Always convert to wrapper paragraph inside lists
Bug: T297773
Bug: T298609
Change-Id: Ic100641be04c81e17627c820d7dde10cd98ce4d8
New changes:
c138462d7 selectFirstVisibleContentOffset: Only apply line height hack when scrolling
1982be888 ve.dm.example: Build test code for commentNodePreview using a real widget
70c15c80b Update OOUI to v0.43.0
29482de0f getViewportRange: don't error in a no-contentoffsets document
Bug: T296910
Change-Id: I1bb6aa75b28f263543ea069496cf34bdaa5d02e0
New changes:
22f6db516 Fix getViewportRange when section editing
7d948731c Toolbar: Remove unnecessary unfloat() in detach()
2d14351b9 Toolbar: Set toolbar height from $bar when floating, and updating size when switching surface
f18dab62f Improve getViewportRange behaviour around text wrapping
6eb23a10f Try to select a visible offset when focusing a null-selection surface
Bug: T296910
Change-Id: I1265be30bb11076576a32feea7299303f74b197c
New changes:
04bd5c1da Localisation updates from https://translatewiki.net.
4147426da DiffElement: Manually number ordered lists with value attribute
ef3536361 DiffElement refactor: Pass diff objects to renderDiff instead of using state properties
593fe9026 DiffElement refactor: De-duplicate logic inside getNodeElements & wrapNodeData
a7b5eed5f DiffElement refactor: Create an iterateDiff method and unify function signatures
2db326345 Diff some nodes as if they are documents, e.g. <div>s
Bug: T188170
Bug: T298410
Change-Id: I28a048a02c62fb9bb96f29e472767d46c3b45804
New changes:
46501f84a Localisation updates from https://translatewiki.net.
2b3f0c029 Update RangeFix to 0.2.10
254a8f359 Tests: Show warning when input to ve.createDocumentFromHtml is unbalanced
Change-Id: I015c6fd980fee754bf907fc6f87f403ca0fa952a
New changes:
6f114fe8c Localisation updates from https://translatewiki.net.
b2dd88142 Localisation updates from https://translatewiki.net.
08d33f872 Localisation updates from https://translatewiki.net.
fb15ab599 DiffElement: Remove unused jlen from loops
5ca7924d5 DiffElement: Remove unused 'doc' argument from compareNodeAttributes
e776c9011 DiffElement tests: Remove wrapper paragraphs from list test input
Change-Id: Ida46a53c566b4b4df085c7e581dc937f2ee2ff75
New changes:
26ba8a561 Store internal list counter in new document storage and persist
75661d69f Drop support for fallback createDocumentFromHtml methods
2143a90a7 ve.dm.Document: Remove rebuildNodes
Bug: T294918
Bug: T298106
Change-Id: I1da12be2ba952912071d2f7fbde1d0854f82fb6d
New changes:
8859b6a7c List diff: Improve handling of complex changes
fba7ecd4a List diff: Add descriptions for list item indent/outdent
4b2339f6e List diff: Fix display of list node attribute change (e.g. bullet->numbered)
Local changes:
* Add new localisation messages
Bug: T298002
Bug: T298012
Change-Id: I0a7614b48ebc970233ae72a5404751f07b0e03b0
New changes:
3c1ddf0b0 Localisation updates from https://translatewiki.net.
e1d8bdb93 Localisation updates from https://translatewiki.net.
d125de1da Localisation updates from https://translatewiki.net.
ecd7292fc Tweak paragraph margins in multi-line table cells to match view mode
Local changes:
* Add new file to ResourceLoader module
Bug: T295252
Change-Id: Ie8782324cd33f880d3695e57ae2d8715e14fb77d
New changes:
b08acb5d2 Localisation updates from https://translatewiki.net.
e3ab0288f Localisation updates from https://translatewiki.net.
25318d941 Update available languages
ba4f269cd Localisation updates from https://translatewiki.net.
119a3a5c9 Localisation updates from https://translatewiki.net.
c9e3a15a2 Move logic for select first/last offset to view and flag autoFocus nodes
74dd3a1a4 ce.Surface: Improve getViewportRange
21da0b01c Add some test cases for linear delete in lists
Bug: T295905
Change-Id: I1850bfc2cf9d7cb4ca756388d9dabcc1132b9879
New changes:
5bba9e6d7 Follow-up I61b477d1f: Add setTimeout before entering table on mobile
Bug: T295403
Change-Id: I2f0ec4f7e83f6d08c8a08357bea2c6b91a6d46ca
New changes:
bfa281b77 eslint: Enable no-jquery/no-append-html
89582e214 Localisation updates from https://translatewiki.net.
b420ada2f Use no-jquery/no-html to warn against writing HTML strings to the DOM
Change-Id: Ic0bb7a8444a2e1b28975f53280a797c835cff61d
New changes:
fce94628e build: Update eslint-config-wikimedia to 0.21.0
201f33491 Localisation updates from https://translatewiki.net.
df3700480 Handle TargetWidget submit events in dialogs
e12c2cbba createDocumentFromHtml: Add test for <body> wrapping logic
57cf7485c createDocumentFromHtml: Improve body wrapping logic with regex
ef47d7814 Inject meta tag to disable iOS tel: conversion in HTML head
Bug: T116525
Bug: T289092
Change-Id: Ibb70d0ed0fa8917c3bc4da7d6fffb2c937c69238
New changes:
bde209a1c Add simple equality check shortcut to compareElementsUnannotated
79954cb58 Localisation updates from https://translatewiki.net.
2c84478ba Use null for deliberately empty values instead of undefined
18929710e assert.ok -> assert.true
d29db14ee ElementLinearData: Fix instance of data being modified in place
Change-Id: Ia307a129cc7725b2f5bfa168c48934f6f2aa1e67
New changes:
36058d0b6 Localisation updates from https://translatewiki.net.
f80b286ed Update language lists
6f310f990 Prevent iOS Safari from re-focusing the doc when clicking on links
Bug: T293661
Change-Id: Idb60f983d5436fa909250614fa8a2ff90b991bae
New changes:
f233370d6 Localisation updates from https://translatewiki.net.
df49011d1 Give nails a width to 0.1px to allow cursor placement at end of paragraph
386526a35 Never infer a mobile link annotation click from the DM
Bug: T274068
Change-Id: I39fecc036cbb3e11200b687530c74465ccfb121b
New changes:
e1ada5fd8 Localisation updates from https://translatewiki.net.
4373b0a6e Create new stacking context for diffElement
Bug: T292491
Change-Id: I0399a57443404e20066c3292b78fe01f6947faf3
New changes:
026d0cb4f Localisation updates from https://translatewiki.net.
f16f2179c Never rebuild above the attachedRoot
78bedf8be ElementLinearData tests: Refactor for loops
aed112aa8 Follow-up Ia593dad856: Use set data when changing character in sanitize
Bug: T293254
Change-Id: Ic5d5c1b77ae86eb18ebcb250c4b9c0ed64ccba6d
New changes:
8161c0a6e Localisation updates from https://translatewiki.net.
c5e396884 Add precision on matching order in ve.dm.ModelRegistry doc comments
82bcc8562 build: Updating ansi-regex to 5.0.1
9b2c9b97a Localisation updates from https://translatewiki.net.
5805b83ba Move eslintrc config into sub-folders
Change-Id: I9baaa2193465a0a852baf0fba59404381d8fe292
New changes:
40bf00bfc Make default source mode font easier to override
ec9e8022e Update and fix all `@param config` and `@cfg` documentation
Bug: T290176
Change-Id: I20ddb21c23ac817c500f7f854bd2bb5d88bf779c
New changes:
17123a8dd TreeModifier: Ignore .internal.generated when validating linear data
b6a4a0e3f Fix removing empty annotations when the entire paragraph is removed
Bug: T264027
Bug: T290625
Change-Id: I967924cb726f7ae2c590d59f7374b5fc2471e26e
New changes:
be351e257 Localisation updates from https://translatewiki.net.
3046ba724 Localisation updates from https://translatewiki.net.
a8c020e80 Localisation updates from https://translatewiki.net.
7d15cd7fd Improve tests for handling CBNs with empty annotations, revealing some bugs
ddb555088 Use more compact map syntax instead of switch
9ded8a9a3 build: Updating stylelint-config-wikimedia to 0.11.1
c37949039 Localisation updates from https://translatewiki.net.
222631050 Localisation updates from https://translatewiki.net.
Change-Id: I2ccb382bd134a3bd00db58f23a3c950a3a82941f
New changes:
eaf2a3f59 build: Updating path-parse to 1.0.7
b4fa54166 Localisation updates from https://translatewiki.net.
aa8609dcf Localisation updates from https://translatewiki.net.
2d8502c6c Update OOUI to v0.42.0
4c2a0ea13 Revert "Comment out broken test after Chrome upgrade"
Change-Id: Ia871387678d7aad25471b372c15e27f00ae67300