Commit graph

1110 commits

Author SHA1 Message Date
Bartosz Dziewoński ae3deddaaf Update VE core submodule to master (831a75cdb)
New changes:
a85c06b05 Localisation updates from https://translatewiki.net.
6684a0a40 build: Re-disable Firefox testing
233c55730 Update UnicodeJS to v13.0.3
831a75cdb Localisation updates from https://translatewiki.net.

Bug: T240955
Bug: T264904
Change-Id: Icc7d9240f03f03a7f11661a1dbb4572f86a74443
2021-04-30 19:23:27 +02:00
Bartosz Dziewoński dbb71845cf Update VE core submodule to master (ef0a3a720)
New changes:
7eade8d47 Avoid unnecessary wikitext conversion when inserting NBSP in source mode

Bug: T279600
Change-Id: If85b99b69269e44b1c62865960dd85fd33bfc264
2021-04-13 21:59:42 +02:00
James D. Forrester c113495445 Update VE core submodule to master (408012182)
New changes:
c3d3de18e Localisation updates from https://translatewiki.net.
1392c51ee build: Update eslint-config-wikimedia to 0.20.0
f76d6a862 Localisation updates from https://translatewiki.net.
f34c09d04 Add extra test coverage for ve.dm.TextStyleAnnotation
a90e5fc98 build: Update devDependencies

Change-Id: Ifbae847bf1cdc15f003eb0f97c1f85568468e71d
2021-04-13 08:11:51 -07:00
Bartosz Dziewoński a431099e0d Update VE core submodule to master (83f89605d)
New changes:
52bdd0c50 Localisation updates from https://translatewiki.net.
b216cda55 Ignore missing matrix cell when importing
ffc1881e8 DiffElement: Add CSS for <code> tag
6b9297f01 Apply monospace,monospace font size fix to <code> tags
4639185b0 Add extra check for annotation node height

Bug: T261992
Bug: T262842
Bug: T277211
Change-Id: I42434f9e8dd68b7dcd115bf22d984ed4ad3e6796
2021-04-08 00:30:59 +02:00
Bartosz Dziewoński 959296df38 Update VE core submodule to master (5d0701ea3)
New changes:
5d0701ea3 Detect NBSPs being inserted deliberately by IMEs

Bug: T53045
Bug: T96701
Change-Id: Ifb0673c856a12a09c764b9ad3135fc36ae7f6b8f
2021-03-31 23:58:12 +02:00
Bartosz Dziewoński c3637fc233 Update VE core submodule to master (5196ceb1f)
New changes:
d20e04511 TreeModifier: Ignore 'originalVariantInfo' when validating linear data
5196ceb1f Localisation updates from https://translatewiki.net.

Bug: T278064
Change-Id: I6028c0d3e2d35373f05f9d804d6b086e6bc01214
2021-03-29 22:22:04 +02:00
Bartosz Dziewoński df94a3db81 Update VE core submodule to master (7b58eb5cd)
New changes:
9c3a63c3d Localisation updates from https://translatewiki.net.
4b716381a Update OOUI to v0.41.3
b3daa1535 Localisation updates from https://translatewiki.net.
9070d54f1 build: Updating eslint-config-wikimedia to 0.19.0
c29f01ee7 Localisation updates from https://translatewiki.net.
7b58eb5cd Create findMatchingSequences for deduplication

Change-Id: I48e1137150dee024ebdc96f0e780a88bff6b8177
2021-03-24 18:55:16 +01:00
Bartosz Dziewoński d23045bb0b Update VE core submodule to master (145cf95d8)
New changes:
2cbc5f9b2 Update OOUI to v0.41.2
e4e467a6b Use wrapper paragraphs in empty branch nodes

Bug: T65356
Change-Id: I222824c53e43f587c999b6478bec52ef686fed7e
2021-03-11 16:00:01 +00:00
Bartosz Dziewoński d10fe04345 Update VE core submodule to master (6c46defab)
New changes:
c34219969 Localisation updates from https://translatewiki.net.
fe8c60498 Localisation updates from https://translatewiki.net.
efe9b4763 Localisation updates from https://translatewiki.net.
eddb54e2f Localisation updates from https://translatewiki.net.
5a7ec3897 ve.ui.SpecialCharacterDialog: Keep selection when opening the dialog
ad2951726 Only apply toolbar focus hack to surfaces that clear selection on blur
55798cb1a ve.init.Target: Simplify toolbar focus hack
504d59c73 ve.ui.SpecialCharacterDialog: Hardcode the height to make it open faster
03172f86d build: Updating eslint-config-wikimedia to 0.18.2

Bug: T276164
Change-Id: If9e5f7cbc067f2335a1e237d696736f2ce06dc95
2021-03-08 23:42:13 +01:00
Bartosz Dziewoński 5cd2899196 Update VE core submodule to master (3c56d0611)
New changes:
582ab6eda Localisation updates from https://translatewiki.net.
7eb90ef85 Make client utils a dependency of platform
2f7675785 Remove @abstract from ve.ce.View.getResolvedAttribute
ca3f685b3 ve.createDocumentFromHtml: Do not lose <style> tags in doc fragments

Bug: T273234
Change-Id: I4bced562f018bf4f28e18ca838c8218de68ee519
2021-02-24 23:04:59 +01:00
Bartosz Dziewoński 41e6a8bd69 Update VE core submodule to master (422cbd755)
New changes:
422cbd755 Re-apply "ve.ce.Surface: Allow tabbing out of surfaces without indentation features"

Bug: T172694
Change-Id: Ib81933da272e6b08bc7fa6c8612e5a65a887cd45
2021-02-17 22:33:46 +00:00
James D. Forrester 21f2b131f9 Update VE core submodule to master (4cb1a3258)
New changes:
40906ce3d Localisation updates from https://translatewiki.net.
bb7fd8081 ve.ui.ContentAction: Fix a documentation comment
4cb1a3258 ve.ce.GeneratedContentNode: Fix a typo in documentation comment

Change-Id: I9dd04b97c3e287466aa6de0ddcf09a851234f2b6
2021-02-15 16:53:22 -08:00
Bartosz Dziewoński c2b3694f8a Update VE core submodule to master (a248cdbac)
New changes:
4f7bf062b Rebuild language lists
289073126 Update of 'Live Demo' URL in README
a248cdbac Localisation updates from https://translatewiki.net.

Bug: T274222
Change-Id: I6f22ad177521ad286d59dfdeb6d632b891b62470
2021-02-12 17:09:56 +01:00
James D. Forrester 1f00c1d89d Update VE core submodule to master (c5b65e31d)
New changes:
248513f69 build: Updating eslint-config-wikimedia to 0.18.1
5e1fb5c18 Localisation updates from https://translatewiki.net.
c5b65e31d Localisation updates from https://translatewiki.net.

Change-Id: I7ab5adba7a931226d324eb3c2ad280c6424b9663
2021-02-08 12:52:54 -08:00
James D. Forrester d4044d6161 Update VE core submodule to master (fe9082b21)
New changes:
0b5cf3e43 Fix typo in comment
6f79dab51 Localisation updates from https://translatewiki.net.
c24bc7824 Update OOUI to v0.41.1
613f3c405 Move entity decoding into a utility function
4161f4338 Allow HTML entities in the special character list

Bug: T70429
Change-Id: I15eca7813598b76ebb5e7cb07fed6d377bde0fc2
2021-01-28 11:55:29 -08:00
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