Commit graph

1095 commits

Author SHA1 Message Date
James D. Forrester bcc40e7058 Update VE core submodule to master (65f1aed5b)
New changes:
06a44681a Fix referencesListDiff variable names
eb70fd2df Localisation updates from https://translatewiki.net.
7ea4efb7c build: Upgrade eslint-config-wikimedia from 0.17.0 to 0.18.0 and make pass
becd23d48 Show ref list diffs which aren't found in the document

Bug: T272813
Change-Id: I5378230b3a86a91e67a2cfcba9e6f8ce1798c3ab
2021-01-26 16:27:10 +01:00
Ed Sanders f8c403dffb Update VE core submodule to master (a8919f78e)
New changes:
c17816c5f Diff sidebar: Make font size slightly smaller
f8439f4cc Deep-freeze linear data
a8919f78e Deep-freeze linear data added by transactions

Local changes:
Fixes for deep-frozen linear model

Bug: T119236
Change-Id: Iae4362c8dab0f2bd335e24498f3e0522b8b1d4fc
2021-01-23 19:55:14 +00:00
Ed Sanders d831370ed4 Update VE core submodule to master (ca6a97f42)
New changes:
4589f5f00 Clear node offset cache when leaving read-only mode
68b0f8372 Show attribute changes as diffs when appropriate

Local changes:
Pull through for Ic6ec7f5ebabc912235ff7e688425f415f2c3ff20

Bug: T272603
Change-Id: I574fc56799ed165e63e16881429c4ed740850234
2021-01-22 20:40:28 +01:00
James D. Forrester 90b3b18480 Update VE core submodule to master (98c07ef95)
New changes:
376686e36 Follow-up I1361852: Only cache node offset in readOnly mode
007c25aa9 Add test for node offset caching in readOnly mode
6df84533e Diff sidebar: Fix vertical alignment of move arrow

Bug: T244114
Bug: T272612
Change-Id: I5bcc697677b6b2bb2e3d1b02d8931516aa853374
2021-01-21 09:24:33 -08:00
Bartosz Dziewoński bb4b06275a Update VE core submodule to master (36e21385b)
New changes:
b92ce3445 Add missing check for move=null in internal list diff
f503f6aa9 Deduplicate logic for marking data/HTMLElement as moved
36e21385b Create a separate descriptionItemsStack for each reflist

Bug: T272314
Bug: T272315
Depends-On: I9a73d0e0ee3c8b12e0b5c3202eb5882258539920
Change-Id: Idcd11e864cde5ff3dab52898b9ce1f3797c69424
2021-01-20 18:57:36 +00:00
Bartosz Dziewoński f888ebe04c Update VE core submodule to master (c7ecbcb39)
New changes:
5def0c76c setNullSelection: don't clear a selection outside the surface
da7ee751f Localisation updates from https://translatewiki.net.
af8193cf6 Cache offset keys used in adjustmentTree's adjustmentNodes

Bug: T272219
Change-Id: Ied5afcb46b7d75ecdcbd9ab5464ef1d1d6070c72
2021-01-19 01:08:56 +01:00
James D. Forrester f2c70a25e4 Update VE core submodule to master (462eee058)
New changes:
2f20d3082 Localisation updates from https://translatewiki.net.
0bf82047b stripMetaLoadInfo: Call earlier, and use ve.copy instead of ve.cloneObject
462eee058 Update UnicodeJS to v13.0.2

Change-Id: I48630eac248a068d1e39d5b57892b4a3ac5cf35e
2021-01-15 09:25:40 -08:00
Bartosz Dziewoński 91a2683aca Update VE core submodule to master (ad72a726d)
New changes:
dfa40a4a4 Localisation updates from https://translatewiki.net.
5324b686a Localisation updates from https://translatewiki.net.
ad72a726d Don't do whitespace substitutions in hasSignificantWhitespace nodes

Bug: T271198
Change-Id: Id5f6647cf95181f4898e0ff48bd61250fa957202
2021-01-13 18:07:24 +01:00
James D. Forrester db96090bde Update VE core submodule to master (6a765924a)
New changes:
5a9b8e76f Localisation updates from https://translatewiki.net.
0c6f2ccb8 Link diff: Use getDisplayTitle instead of href attribute
8db7cef9a Localisation updates from https://translatewiki.net.
6a765924a build: Unbreak language lists, adding 'kcg'

Change-Id: I4b4748f7b6be42a19b5ea1cac87b753b923c6f99
2021-01-04 18:13:28 -08:00
Ed Sanders a7d7401d40 Update VE core submodule to master (d0d57d2bc)
New changes:
60ea9df7d Localisation updates from https://translatewiki.net.
974f93488 Improve SourceConverter.getSourceTextFromDataRange performance
4bee84667 Revert "ve.ce.Surface: Allow tabbing out of surfaces without indentation features"

Bug: T269094
Change-Id: Ia26537cb67f68c8c7a52aaa1e2c0ce70461901be
2020-12-28 23:16:57 +00:00
Bartosz Dziewoński e04e984586 Update VE core submodule to master (c20aed327)
New changes:
c66f05d00 Compare meta items by hash
8acd3bf34 ve.ce.Surface: Allow tabbing out of surfaces without indentation features
cf90fc8b9 DiffElement: Simplify data-diff-move=up|down selectors
fd1a8bd03 DiffElement: Ensure move indicators are always visible
c20aed327 Show moves in the sidebar with a label

Bug: T172694
Bug: T270557
Bug: T270561
Change-Id: I107978d8cbd0f910cdf80bf589a595528ca829c7
2020-12-20 19:29:44 +01:00
James D. Forrester 075d976f25 Update VE core submodule to master (3fc99cc9c)
New changes:
d1928f49d Describe text style annotation changes, instead of showing remove-insert
3fc99cc9c Describe link addition/removals

Bug: T160588
Change-Id: I44ffe020e22f8602fc0d5abbac66bfcda0f873e8
2020-12-18 12:49:14 -08:00
James D. Forrester 0192d5e4e2 Update VE core submodule to master (dd92d178d)
New changes:
dd92d178d Follow-up I9f136620f: Fix typo in section diff code

Bug: T268950
Change-Id: I9d723e72bc665e3a37939973af5c63d1b18b7f29
2020-12-16 18:07:09 -08:00
James D. Forrester 04dfcc55d2 Update VE core submodule to master (538170f55)
New changes:
fc4194595 Converter: Cache isForPreview
3a4280d04 build: Updating ini to 1.3.8
c8c238aee Localisation updates from https://translatewiki.net.
216f8ec1a ve.dm.Document: Avoid multiple getProp calls in getFullData

Change-Id: I9c24b3deb9acc84ae675211aa84e61343afb58cf
2020-12-14 08:08:22 -08:00
James D. Forrester 06605ea53f Update VE core submodule to master (af6ca9404)
New changes:
fd3bdf01d Localisation updates from https://translatewiki.net.
839106681 Add converter performance tests
af6ca9404 Add 'close' flags to closing actions in dialogs

Change-Id: Iba8c9b803d5f937f26e9f77380245fe60a625cc7
2020-12-07 11:19:14 -08:00
James D. Forrester b009deb118 Update VE core submodule to master (fc368ac88)
New changes:
c4429aa0a Localisation updates from https://translatewiki.net.
9efe10f92 Update OOUI to v0.41.0
53401ae81 Use 'backwards' position for author list
5f9ab86c1 Make user labels more visible
bf7a2fa80 Always show heading context in visual diff

Bug: T268950
Change-Id: I634a6d10652a1943e5db964625f1e1daf1138331
2020-12-04 12:08:57 -08:00
Bartosz Dziewoński f50e4f3182 Update VE core submodule to master (b615c2e21)
New changes:
61cd9ac49 Improve appearance of images in diffs
b615c2e21 Upstream diffElement clearfix

Bug: T187687
Change-Id: Idffab14484592ed67255cb38eefc58803a7450f8
2020-12-02 22:20:48 +01:00
James D. Forrester f57816cfe9 Update VE core submodule to master (b134dfac3)
New changes:
bc54c0d4c Localisation updates from https://translatewiki.net.
89187bb69 Use "Grade A" rules for stylelint
b134dfac3 Localisation updates from https://translatewiki.net.

Change-Id: I20d84c94e2d0b7976fdf51ca3f61a7d65acde772
2020-12-01 08:29:42 -08:00
James D. Forrester d4952a1ad7 Update VE core submodule to master (5c953fd1e)
New changes:
d0f8b5890 Prevent Chromium Edge's translate feature from translating our editable surface
9e33552e8 build: Updating npm dependencies
a292ce22b Fix a typo: emtpy -> empty
5c953fd1e Localisation updates from https://translatewiki.net.

Bug: T201491
Bug: T267747
Change-Id: I7d1eaa7333e3adc80064c6c4dfed89247b3878ce
2020-11-23 09:00:48 -08:00
Bartosz Dziewoński e46f4aa644 Update VE core submodule to master (a466243e6)
New changes:
fc123da18 Revert "Firefox Mobile: Prevent scrolling after mousedown"

Bug: T196839
Change-Id: I1079f80027216c5b9c5ac248075a7200d225fec0
2020-11-18 20:18:03 +01:00
Bartosz Dziewoński 9bc0bcd302 Update VE core submodule to master (8b37f95f1)
New changes:
6e6e6d8d4 Localisation updates from https://translatewiki.net.
dda4604b1 Localisation updates from https://translatewiki.net.
c75775d9a build: Unbreak language lists, adding 'nqo'
d01619a07 ve.adjacentDomPosition: Fix doc comment
f88e84b37 Catch errors from getNodeAndOffset in ve.ce.Surface#focus
9350800dd Avoid errors from adjacentDomPosition in LinearDeleteKeyDownHandler
8b37f95f1 Localisation updates from https://translatewiki.net.

Bug: T136780
Bug: T259154
Bug: T262303
Bug: T262487
Change-Id: Icdba67cc5cb8c2798605c2bfc47af8888e3721c3
2020-11-16 23:27:06 +01:00
Bartosz Dziewoński 1db3814dd0 Update VE core submodule to master (e4bbec336)
New changes:
03aa5ca06 Localisation updates from https://translatewiki.net.
7a98f5fa2 Fix selection after editing annotations on desktop

Bug: T265166
Change-Id: Ia2d7f6858904ebcd322cdfa1701420f3d3b57560
2020-11-05 01:54:24 +01:00
Bartosz Dziewoński bc56984e1c Update VE core submodule to master (a9b83ea7f)
New changes:
0972a11b1 Localisation updates from https://translatewiki.net.
c3cdbb264 Localisation updates from https://translatewiki.net.
29ce797c7 Localisation updates from https://translatewiki.net.
a9b83ea7f Localisation updates from https://translatewiki.net.

Change-Id: I2155690fd6759189adac61bfa746d0690c71872a
2020-10-27 11:52:27 +00:00
James D. Forrester 1ffae75ec9 Update VE core submodule to master (29ce797c7)
New changes:
0972a11b1 Localisation updates from https://translatewiki.net.
c3cdbb264 Localisation updates from https://translatewiki.net.
29ce797c7 Localisation updates from https://translatewiki.net.

Change-Id: Ib04dc07b0e0dd0c9bceb716d89bb1731cf978737
2020-10-23 11:48:27 -07:00
Ed Sanders 47ce47a39f Update VE core submodule to master (dccfd0824)
New changes:
26ef391b4 ToolbarDialog: log dialog-abort consistently with FragmentWindows
41baf7e7b Logging for character insertion from the special characters panel
dccfd0824 Update UnicodeJS to v13.0.1

Bug: T264146
Change-Id: Ia4cd02a96d8db4833feee6a006eac8eda2c012fb
2020-10-08 22:19:22 +01:00
Ed Sanders f0891fc174 Update VE core submodule to master (68c5f1a3c)
New changes:
c53286843 Make NodeWindow a standalone mixin
a787fbef1 Update OOUI to v0.40.4
0d74538ee Refactor dialog logging out of ui.Command into ui.WindowAction
ea55ede8d [BREAKING CHANGE] Improve structure of special character definitions

Local changes:
Fix output of fetchSpecialCharList to match new format

Bug: T264146
Bug: T264690
Change-Id: I2a28bb9c3e54cb5f9308ab361dee99bc801b467a
2020-10-08 19:09:12 +01:00
Bartosz Dziewoński 3f40195310 Update VE core submodule to master (1a0cc7e1f)
New changes:
c8bd6c278 ve.ce.NodeFactory: Remove unused method #getNodePrimaryCommandName
a52b62f04 Move ve.ce.Node.static.primaryCommandName to ve.ce.FocusableNode
42ee1459f Allow defining delete commands for focusable nodes

Change-Id: Ic02fe10de5ae047375255d758d66644f6d51f97f
2020-10-03 01:59:52 +02:00
Ed Sanders ef18cea2c3 Update VE core submodule to master (03532b74d)
New changes:
daf2239a3 Localisation updates from https://translatewiki.net.
0adfcd9b2 Localisation updates from https://translatewiki.net.
21ce76329 FocusableNode: Check for surface after setTimeout
6d615c6a4 build: Remove Gemfile and rubocop files
c58df0121 Localisation updates from https://translatewiki.net.
d5844cec3 Inherit LanguageAnnotation from TextStyleAnnotation
03532b74d Convert <bdo> tags to LanguageAnnotation

Bug: T259632
Bug: T264439
Change-Id: I3a780ec673cc32bf39cfd4a0e2f0ee3bba37327f
2020-10-02 12:48:51 -07:00
Bartosz Dziewoński 4e32949594 Update VE core submodule to master (0a5e284c7)
New changes:
f51552d68 Restore check for getSelectionRects returning null
0a5e284c7 Revert "ve.ce.Surface: Debounce onModelDocumentUpdate"

Bug: T261522
Bug: T263607
Change-Id: I47ec5a5445728447996689df548d9f4d6b0c253b
2020-09-23 21:10:29 +02:00
James D. Forrester 2a7f31b5b9 Update VE core submodule to master (95f9f5681)
New changes:
cb4613044 FindAndReplace: Always highlight results when opening
cf480dbb6 ElementLinearData: Remap annotations on nodes too when sanitizing pastes
705743230 ElementLinearData: Remap annotations on moved meta nodes too
16be2c262 ElementLinearData: Remove moved metadata too when removing metadata
6d51882e2 ElementLinearData: Deduplicate annotations when sanitizing pastes

Bug: T191487
Bug: T259730
Bug: T262877
Change-Id: I0918ad9833c15998b1696ec40c1681c0d8f14236
2020-09-22 18:56:17 +02:00
Bartosz Dziewoński adf9740208 Update VE core submodule to master (1c3ca2da9)
New changes:
4465eba9f Handle tables with rowspans that exceed the matrix
448f68c3a Avoid the term "whitelist" in a few places

Bug: T191858
Bug: T254646
Change-Id: I23ea0e8be7b0cd3b5315af8c054041d40cbdbe5d
2020-09-17 23:52:30 +02:00
James D. Forrester 207c1220a6 Update VE core submodule to master (53af216aa)
New changes:
6eac66f9c Localisation updates from https://translatewiki.net.
805a30e4a ve.dm.Node: Check if attached before accessing document
49d8e2971 Catch exceptions caused by illegal offsets passed to native ranges
25b6c818b Catch errors from getNodeAndOffset in annotationsAtModelSelection
a1b9d6763 jsduck: Add UI classes to Diffing category

Local changes:
Move new upstream Diffing jsduck section into mainline, add our alterations.

Bug: T136780
Bug: T258191
Bug: T259154
Bug: T262303
Bug: T262354
Bug: T262487
Bug: T262758
Change-Id: Ic20dc9f96350f1a08142dc86f06e5e248c724c1e
2020-09-17 14:28:48 +01:00
Bartosz Dziewoński c377d7a6dd Update VE core submodule to master (22a771930)
New changes:
b700baa65 Allow  getViewportRange to return null and document
ec97b70f6 More direct fix for find-and-replace running after teardown issues

Bug: T260212
Bug: T261522
Change-Id: Ie53fe5d546e4563f64a333b8921246bb1de9b0d0
2020-09-11 21:33:54 +02:00
Bartosz Dziewoński c2b1182ed0 Update VE core submodule to master (a2dbc868a)
New changes:
8552edbd9 build: Update eslint-config-wikimedia to 0.17.0
9d06f25f3 Update diff-match-patch and implement indexOf/lastIndexOf
6138d8435 Add ve.DiffMatchPatch.test.js for testing indexOf and lastIndexOf
a2dbc868a Localisation updates from https://translatewiki.net.

Bug: T187589
Change-Id: Ie56e0ecd844829708d730b504486dd4531e10e45
2020-09-08 04:27:03 +02:00
James D. Forrester b3762eab91 Update VE core submodule to master (6f0390759)
New changes:
601da01ba Update OOUI to v0.40.3
6f0390759 ve.dm.VisualDiff: Don't return a diff if the tree diff times out

Bug: T161646
Change-Id: I8d4b92f0ef28854ca858be7b246abe0c073f5863
2020-09-04 18:19:49 +01:00
Bartosz Dziewoński 3b92464246 Update VE core submodule to master (9534694b4)
New changes:
a185992f9 TreeModifier: More optimizations
608ab3704 Add a "very long" demo file that is 3x longer than long
ea64930ed ve.ce.Surface: Debounce onModelDocumentUpdate
274382a60 TreeModifier: Add optimization for short array comparison
ed0ba3794 Fix typo in documentation
6c5eaa5a1 Fix pasting cells onto a sparse table
458b3e7fe FindAndReplace: Guard against getSelectionRects failing
7d30b0fe2 DiffTreeNode: Compare node lengths before doing full comparison
10430f522 ve.dm.Document: Cache node offsets when read-only
b49db9a5b Update treeDiffer to 1.0.2
7ad563c1a Localisation updates from https://translatewiki.net.
bfe957e0b Follow-up I1361852: Make docs writable when finished

Bug: T261522
Bug: T261530
Bug: T261634
Bug: T261662
Change-Id: Ifb5765782baaff4a17756b027d4baf52828f89c6
2020-09-03 20:24:31 +02:00
Bartosz Dziewoński 3b01199373 Update VE core submodule to master (15186ed26)
New changes:
6d4fa84ff Follow-up Ic1669009: Use for..in loop instead of Object.keys()
a1511df4c README: Add link to live demo
81ac2c781 ve.dm.Document: Fix shallowCloneFromRange when range is inside alien
f410da15b ve.dm.Document: Cleanup test loops
523b9ef2f ve.dm.Document: Fix typo in shallowCloneFromRange with collapsed selection

Bug: T259634
Bug: T261634
Change-Id: If09e7c7184c6783a2dd2289813bc1578ba0d48e4
2020-09-01 23:51:16 +02:00
James D. Forrester 9a93702cb9 Update VE core submodule to master (89a8d99f5)
New changes:
fc3d84e93 Check $focusTarget is non-empty
baabc080b Fix height of toolbar labels on mobile
c87eec3e0 ve.ce.Surface: Simplify table paste tests
2a0e6ba78 getAdjustedPosition: Rewrite inner loop for performance
89a8d99f5 Localisation updates from https://translatewiki.net.

Bug: T259531
Bug: T260368
Bug: T261634
Change-Id: I132c77cb0d9dce85d90c29bc398ed23be128e608
2020-08-31 17:48:26 +01:00
James D. Forrester 9e12aa1d0c Update VE core submodule to master (7470ff141)
New changes:
feb1d87ac Localisation updates from https://translatewiki.net.
6b70f70e9 Update OOUI to v0.40.2
7470ff141 Localisation updates from https://translatewiki.net.

Change-Id: Ib72a8a24b528b9e53081f97bed3473c70b25085c
2020-08-26 20:05:12 +01:00
Bartosz Dziewoński f712a54384 Update VE core submodule to master (510130eaf)
New changes:
c9e4bc776 Use placeholder name as aria-label
37a4922a7 Localisation updates from https://translatewiki.net.
55a0d0488 Teardown the completion widget when menu is hidden by user

Bug: T253590
Bug: T259277
Change-Id: I7d6e19c45f1dc87d1f4127c75c4812aadd5c5cf5
2020-08-16 20:53:23 +02:00
Bartosz Dziewoński 3f5f54264d Update VE core submodule to master (18920ed63)
New changes:
c5496ec1e TargetWidget: Use a white background, not transparent
4efa1529f Support headers in CompletionWidget
fe0ffe6e4 Update devDependencies

Bug: T252084
Bug: T259811
Change-Id: Ic60aaafb1d07db30c72832414e68bba71f5e93df
2020-08-10 18:39:47 +02:00
James D. Forrester 48dee93dd6 Update VE core submodule to master (4b36b447d)
New changes:
7cd74c97d Localisation updates from https://translatewiki.net.
84640d0a8 Localisation updates from https://translatewiki.net.
ec14afa43 Update OOUI to v0.40.1

Change-Id: I1a64b9aea121db8340b9d136fb41cb69f6be6d81
2020-08-07 14:51:39 +01:00
Ed Sanders f57cfef00f Update VE core submodule to master (0866080cf)
New changes:
0866080cf GCN: Don't try to resolveAttributes when rendering.length=0

Change-Id: Iede8756df1fc98d72964871cc1c798b3d5803d02
2020-07-31 15:34:08 +01:00
James D. Forrester 6102c26842 Update VE core submodule to master (15f16a8c5)
New changes:
87cf61fe5 Localisation updates from https://translatewiki.net.
15f16a8c5 Localisation updates from https://translatewiki.net.

Change-Id: Ibce50e7ef6daf8a49426af011f9e86d4a6056019
2020-07-29 17:41:01 +01:00
James D. Forrester d9afc7cc3d Update VE core submodule to master (f5fca4289)
New changes:
3aaa5e05d build: Updating grunt to 1.2.1
7f21a8356 ve.dm.Model: Fix typo in a comment
9585ffb94 ve.ui.CommandHelpDialog: Make it possible to reuse fancy CSS for shortcuts

Change-Id: Ida448be1658ff9781900ec6f1322b5db0c8499c5
2020-07-20 10:18:29 +01:00
Ed Sanders f092685401 Update VE core submodule to master (549d3c3a0)
New changes:
549d3c3a0 Follow-up I4c34e936: Check deletion sequences after programmatic delete

Change-Id: Ic813a3bef4c2bb778f5a79cf769ce99e96b12f11
2020-07-18 13:27:26 +01:00
Bartosz Dziewoński cdd5ebd3a2 Update VE core submodule to master (99d104900)
New changes:
14fea0603 Localisation updates from https://translatewiki.net.
99d104900 ve.ui.LinearContextItem: Fix alignment of the close button on mobile

Bug: T257151
Change-Id: Id658e2764f976a04a9e1d9d52a9cce3e7fd0c155
2020-07-16 01:46:57 +02:00
Bartosz Dziewoński d43266f061 Update VE core submodule to master (0cab1cfbb)
New changes:
94448b786 Adds tabindex to document node

Bug: T255314
Change-Id: I76f150dedaec73ec28b6037f1630bbe6325eaf61
2020-07-13 23:29:15 +02:00
James D. Forrester ec244f4e62 Update VE core submodule to master (1a42033ce)
New changes:
72ee5f358 Update OOUI to v0.39.3
eb9f726d5 Localisation updates from https://translatewiki.net.
1a42033ce build: Updating lodash to 4.17.19

Change-Id: Iff81328d669ba0b2795795c3b537c4bcff25fc86
2020-07-13 10:38:16 +01:00
Bartosz Dziewoński 39b6eb1256 Update VE core submodule to master (806716154)
New changes:
3375a5e83 GeneratedContentNode: Don't try to render if model is detached
c85a59d71 Clear surface.activeNode when table cell is torn down
71b9a08fe CompletionWidget: Use getCoveringRange
530d34e49 Fixes table edit buttons (<>) missing name and role

Local changes:
* Add localisation messages for table edit buttons

Bug: T256500
Bug: T256969
Bug: T257267
Change-Id: Ia75180e0b782b0dbe11e94689f8cee32418b4ae8
2020-07-08 21:03:34 +00:00