New changes:
26085a853 Make author list a ListPopupTool
c4ea53eef Update OOjs to v2.1.0
8c94697f3 Update OOjs UI to v0.22.0
cdebc4817 Follow-up 8c94697f: Actually commit the icon changes I had locally
8be817396 Update OOjs UI to v0.22.1
Local changes for author list popup
Change-Id: I36bcaf122528a4a12882aaff3b33ef936082a391
New changes:
e2015a75c tests: Cover ve.util#isUnattachedCombiningMark
ae96355e0 Prevent massive loop by binding to the wrong method
e0b9a8100 Localisation updates from https://translatewiki.net.
57976e7a3 tests: Cover ve.util#sparseSplice edge case
1e95414a6 tests: Cover ve.util#getCommonAncestor zero node case
adc4aa750 tests: Cover ve.util#getCommonStartSequenceLength zero sequences case
9cd18424b tests: Cover ve.utils#isUriComponentValid and #safeDecodeUriComponent
Change-Id: I14b8c193d66ed2a23b27336e6a10aa0ecd44e1c3
New changes:
b611769cd describeChange can be null
59a76fbcd dm.Change: Update store length tracking when adding to history
8f4b2339a dm.AnnotationSet: Throw an exception when constructing with missing indexes
df2319c4e Don't add transactions to stack until they've had a chance to fail
Bug: T159384
Change-Id: Iaed05c9b08c92f8a7488ab24bc139b99e3913819
New changes:
95ba60c60 RebaseServer: When rejecting, publish the top of the history instead of the top of the rejected change
bb71b76d8 ce.BranchNode: Handle splices next to text nodes
d1300c6e6 ve.Node#attach: set document before root, rather than after
df6113771 summarizeTransaction: hide null author
b6f45436d rebaser: Prevent submissions before initialization
ac71b0ea6 Add ve.ce.View#initialize to eliminate constructor/onSetup duplication
45cd82bd7 Render HTML attributes in ce.View#initialize rather than in the constructor
Change-Id: I4d61f40247fdab60bdc2e1b23f30ffee4c8ab8dc
New changes:
d336169fe rebaser: Don't spam the entire document into the log on initialization
1963a9993 ve.dm.SurfaceFragment#delete: Don't pre-build a sequence of transactions
6c915f305 TransactionProcessor: modify DM tree branches instead of rebuilding them
8773258bb ve.dm.ElementLinearData.test: Cover compareElements
7a073c78f RebaseClient: Don't log empty rebases in acceptChange
5adce57ea rebaser: Implement author names
78c7beecb rebaser: Tidy up author list UI
85d26f491 Get minimal diff when word starts/ends the paragraph
ca273a56c rebaser: Move author list to widget
ab693bead rebaser: Show active user count
Bug: T160795
Bug: T162762
Bug: T165772
Change-Id: Ibd21e6a78c3958db1c0ec8f0317c4c07f3fa5735
New changes:
c54d06474 Add class to TableCellableNode and move some styles there
fd9e1059d Remove 'cellable' attribute
Change-Id: I186e7b0b61ac920c309f9aa0c40db7244849c0ec
New changes:
8155f98fd Upgrade tree differ to support timeouts, and handle them
f36fcb6c9 Update OOjs UI to v0.21.3
2496f0521 Localisation updates from https://translatewiki.net.
7212fc4ab MobileContext: Fix alignment of label and description
865b2fcc7 VisualDiff: Bring in close dialog fix from downstream
822855b50 Expose arguments in DummyPlatform.getMessage for more thorough tests
cda556554 VisualDiff: Show attribute changes for inline objects
Bug: T164724
Change-Id: Id51a927b540ea55abc1187f3556ad3052afe2453
New changes:
d61440346 Add logging to the rebase server and client
d1d2539ae rebaser: Add script to convert a log file to a test case
0896d5f05 lib: Update README files for OOjs and OOjs UI
045ae87fb Localisation updates from https://translatewiki.net.
04b276e16 VisualDiff: Make annotation whitespace trimming configurable
dd04912e5 Localisation updates from https://translatewiki.net.
11fc30709 MobileContext: fix button spacing
7898acd0b Fix typos and minor lint issues
4e3e2deb9 Avoid using the global namespace in test files
1ed81efa1 build: Update eslint to 0.4.0 and make a pass
Bug: T163473
Bug: T164166
Change-Id: I4bab4260d6b05ff0277cacd167186336acc02080
New changes:
57f8064b6 tests: Enforce dm unit test coverage at 20% per file and 80% globally
6f757c670 LinkAnnotation: add a getFragment method for consistency with MWInternalLinkAnnotation
c40a3f152 Drop the classList polyfill for IE9
d1af6c6bb Update OOjs UI to v0.21.1
bfb35aaef Localisation updates from https://translatewiki.net.
Bug: T162277
Change-Id: I5146bc421bb88e56bafadccefc7bbdee106504ea
New changes:
719f8c667 ve.ce.DocumentNode: toggle all contentEditable properties, not just the outer one
35cadd7db Introduce single-line mode for surfaces
41fe321b2 Restore pointer-events comments for IE10 support
42f556820 Upgrade to jQuery v3
c1b8f142c Pass toolbarConfig position to actions toolbar by default
0d4c6a5fc Fix styling of table context in MW theme
db6eb4ebf Localisation updates from https://translatewiki.net.
Bug: T161944
Bug: T162808
Bug: T162830
Change-Id: I9b11673b4a77b7aebcdc282953d83ade08a8d8bd
New changes:
ae0204885 stylelint: Remove no-unsupported-browser-features overrides
d744cd576 Localisation updates from https://translatewiki.net.
1338c50f5 [BREAKING CHANGE] Remove resize handlers from within DiffElement
Local changes:
Trigger diff element resize on dialog resize
Depends-On: I82a67a4309bf76db5407ea38c26c47d14c01e921
Change-Id: I912a99edca25ff576e2872723f91afe54e36a170
New changes:
dc0cad28c tests: Factor out ve.dm.TestRebaseClient/Server into their own files
98061108b Convert RebaseServer tests to data provider
3e746a51b Update OOjs to v2.0.0
16231a812 [BREAKING CHANGE] Drop support for Internet Explorer 9
64daeb4b5 Localisation updates from https://translatewiki.net.
3310e876c Update DOMPurify to 0.8.5
579033a83 Follow-up 16231a81: Drop IE9 support in createDocumentFromHtmlUsingIframe
Bug: T162277
Change-Id: If17c6a3fac0920db29f80069f344ffd6be46c3c9
New changes:
5082dcba0 Localisation updates from https://translatewiki.net.
19a6c389c Remove DiffElement DOM element when destroying
Bug: T161877
Change-Id: Iaa162c5f87fb81136d35b8a5c81034398116583e
New changes:
e0651b2df Move -hasDescriptions class toggle into #renderDiff
94dbb244d Fix dm.BlockquoteNode to inherit from ContentBranchNode
8715f7be7 Remove superfluous setting of canContainContent when inheriting from CBN
88e5b918d Replace instanceof ContentBranchNode with #canContainContent
c4b404408 DiffTreeNode: Use getters for type and attributes
869f3d34a SurfaceFragment: Avoid double-annotating in insertDocument, as well
931bd2410 Localisation updates from https://translatewiki.net.
f0cdae3ab Disable double-click & enter on focusable nodes when model is not editable
cb9ba7137 sync-gh-pages: Add .nojekyll file
495cd7d65 Re-apply "Remove $returnFocusTo hack now null is supported upstream"
Bug: T143261
Bug: T161262
Bug: T161547
Change-Id: I1a54293f9a2e0b27adc4fa0708b8dc1fdcca16b0
New changes:
f887e6b7a Only show branch node rebuilds in inputDebug mode
81ff8b246 Localisation updates from https://translatewiki.net.
e09334387 SurfaceFragment: avoid double-annotating in insertContent
7b51cb6ab DiffElement: Resolve URLs in links and target at new window
Bug: T143261
Bug: T160939
Change-Id: Iede559dbd2d9b42d904ccab329d311780a758477
New changes:
642e86498 Localisation updates from https://translatewiki.net.
98608eb3d ce.test: Use nodeType constant
8e795e433 Fire a surface change event from the toolbar so tools can rebind
Bug: T160906
Change-Id: I9c3c65b43f3209049ba0ca7e587cc39fffc413d2
New changes:
dcff78aa0 Pass element to describeChanges
51bc2139f Move diff cleanup to ve.DiffMatchPatch
92f3219e2 Use diff_match_patch action constants for better readability
0ff1f053f VisualDiff: Merge remove+inserts separated by whitespace only
5255ac49c Ensure inline node changes are balanced and minimal
a63435906 i18n: Add param documentation in qqq for some recent keys
Bug: T160632
Bug: T160729
Bug: T160740
Change-Id: Iacb47e849004fe52c1edb0ba09c26ac3f03cc06d
New changes:
ae944e7fd VisualDiff: Show attribute changes in a sidebar
1a3b7ec90 VisualDiff: Add custom messages for change descriptions
Bug: T151404
Bug: T156189
Change-Id: I218bf2eee6606cedc21f1e542fba62c1b98ca43f
New changes:
1e12d0174 Generalize DiffElement logic (improves lists and tables)
24e0c7a94 Localisation updates from https://translatewiki.net.
32759ae86 Allow variable-length sequences without a fake space terminator, use for autolinking
82c204ba0 QUnit.assert.equalHash: Correctly compare JSON representation
2e5462610 DiffElement: Allow a node change to be an attribute change *and* a linear diff
41134af2b ve.ui.LinkAction: Allow autolinking ranges including trailing spaces again
Local changes:
Updated tests for 32759ae86: the autolinkUrl command no longer expects
trailing whitespace to be included in the range.
Bug: T117165
Bug: T149537
Bug: T158518
Change-Id: I5c2d5b97894fc93f49ce6270a198f3dfdcd09986
New changes:
a98515c7f Localisation updates from https://translatewiki.net.
788a1b4be FindAndReplace: Use Intl.Collator instead of localeCompare
a02ce2cd1 Use Intl.Collator for all searches if available
69328692d findText: Fix documentation and tests
833c29b67 PositionedTargetToolbar: Move code that assumes surface exists to after check
15de62106 Remove $returnFocusTo hack now null is supported upstream
a09efa1f8 Fix cursor style on language search widget
c60e7ba66 demo: Move qqx language option into the language selector
Bug: T159439
Change-Id: Ib292a25c79969a063a634837118e837e477f39ac
New changes:
9dbb3729b DiffElement: Measure box-shadow borders in pixels to avoid blurring
cbcaed302 ve.ce.Surface: Prevent horizontal scrollbars when hovering FocusableNodes in RTL
b715b1ad6 DiffElement: Use a real ve.Range instead of a plain object
d2567df6c DesktopContext: Unhide context before positioning popup
1afcce366 Localisation updates from https://translatewiki.net.
c31dccebd Update OOjs UI to v0.19.5
Bug: T159472
Change-Id: Icbff2ef3bdb3269db53183f27e2b682a755ee781
New changes:
f83a68c22 ve.ce.ContentBranchNode: Don't set 'white-space: normal' on `<pre>` tags
ee5920781 DiffElement: Fix remaining class->data-attribute conversions
a07c9e345 DiffElement: De-clutter left margin, removing the blue border
3056a4a46 ve.dm.Document: Provide a utility method to provide a blank Document
Bug: T159231
Change-Id: I3b71d995c915fa6ea10a0eea7cb727ee68733ae9
New changes:
7da907be0 Highlight comment changes in visual diff and fix whitespace
77accf6f6 Have toolbar append toolbarDialogs container
6985593cd Localisation updates from https://translatewiki.net.
9140a5991 DiffElement: Avoid modifying class attributes on DM HTML
cdcbbdde3 Remove used 'header' params from toolbar config
15f36bc75 Update OOjs UI to v0.19.4
Bug: T149821
Bug: T158895
Change-Id: I5bfc595b6b43173e76fc8cd45e47fb21d5ccaea7
New changes:
09900c889 VisualDiff: Use more robust check for ClassAttributeNodes
ee0d641b5 DiffElement: CSS fix for captions & figcaptions
08043a75b Table: Ensure active node state is always properly cleared
be1e026df Correct some indices in visual diff
d1267bdf1 Localisation updates from https://translatewiki.net.
4656e5001 Remove styles for non-existent toolbar-shadow
185fbabde Mark all node files as es6
576c6c536 RebaseServer: Handle disconnects by setting the disconnected author's selection to null
c9c2498e9 LinearEnterKeyDownHandler: abort if in dialog and ctrl/cmd held
61c11cbee Show annotation changes as blue
dda1d105f DiffElement: Build diff using raw DOM operations
42a8b416c Use node.get*Outer*Range() when splicing in removes
87b060edf Localisation updates from https://translatewiki.net.
61ce2cf7b DiffElement: Fix documentation and parent constructor call
b7a09afe1 VisualDiff: Strike through removed text
Bug: T152001
Bug: T152487
Bug: T157590
Bug: T158294
Bug: T158321
Bug: T158769
Change-Id: I251ebf7d40cc8107703f3cbe9d3823c3ee455edc
New changes:
08a199e2a build: Drop two deprecated stylelint options
a507dcb84 build: Bump stylelint and make pass
Change-Id: Ia41930fa9db085b9be0a1f84da400dfb6bd7f2ef
New changes:
f27169f68 Localisation updates from https://translatewiki.net.
edd78cf50 Increase margin on DiffElement
d723ce56a DiffElement: Use important background colours to force override
b71ee15b5 demo: Use windowAction to open diff dialog
de88ca28b Move standalone diff dialog into separate module
d18bb1379 Don't allow slug buttons to take focus on click
Bug: T158295
Change-Id: Ic67bed00c100acf9a24cc0f5b984a64c14357fa4
New changes:
fd62bf687 Stay in cell editing mode when pressing table inside a cell
a03842b5d Replace non-breaking spaces when pasting into source
6b70c67e0 ve.ui.TableDialog: Add "Cancel" button
9f31555fb TableDialog: Disable 'done' button when no changes made
1f712e893 Localisation updates from https://translatewiki.net.
0c92a774f Follow-up 1f712e8: Fix build for added language 'bqi'
Bug: T154382
Bug: T155928
Change-Id: I61340a76464a384923639a0fcaed17d7ef6b8b95
New changes:
d2681c923 SourceMode: Fix sanitization loop in plain text paste
f67a7cb06 Listen to mouseup events on documentNode for focus changes
f3e857a3e ve.ui.Surface: fix issues with scrolling while selection
Bug: T157291
Bug: T157491
Bug: T157499
Change-Id: I14422ff046734858270879a4ba24654a05c3000c
New changes:
778dd0709 Destroy unicorns properly when cursoring to another branch node
2877cbbbc dm.Document: Make tree validation stricter
342a71e05 Update OOjs UI to v0.19.1
d2df4b6d4 Explain that Escape/Ctrl+Enter can be used to cancel/confirm a dialog
d978507f0 Move platform handling from CommandHelpDialog to CommandHelpRegistry
4dbceb403 Honorably discharge ve.dm.DocumentSynchronizer
0eb0e4214 Localisation updates from https://translatewiki.net.
Bug: T157019
Change-Id: I5066b1d2c60e116bc3b80b9a8242a72db243d8cf
New changes:
a2e9331 Use forked version of DiffMatchPatch with abstract string methods
6aa2023 TransactionProcessor: Fix bug where annotation events could be emitted on the wrong nodes
b8b67d2 DocumentSynchronizer: Simplify pushRebuild() API
ed84b86 Add TransactionProcessor tests for wrapping, unwrapping and rewrapping
88764aa Remove presynchronize, use precommit instead
d704cbf tests: Fix offset numbering in getBranchNodeFromOffset test case
5eabbb2 VisualDiff: Add performance shortcuts to compareElements
2492fd0 Add comment for VisualDiff test store merge hack
Change-Id: Ica7185201e095a3a5da32a75c95bc2b90806568c