Commit graph

1141 commits

Author SHA1 Message Date
Bartosz Dziewoński b3925baed6 Update VE core submodule to master (d29db14ee)
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
2021-11-08 23:56:34 +01:00
Bartosz Dziewoński 39b6a8c521 Update VE core submodule to master (86aa5f8f8)
New changes:
f19ca060c Localisation updates from https://translatewiki.net.
0e82fee96 eslint: Fix errors from upcoming eslint-config-wikimedia
86aa5f8f8 Update OOUI to v0.42.1

Change-Id: I31aecaa3002c8dedc1dc787bd71d2e6781e1ecf1
2021-11-04 22:51:48 +01:00
Bartosz Dziewoński c0fe5f3918 Update VE core submodule to master (2cd3eb52d)
New changes:
e8d275d8c Localisation updates from https://translatewiki.net.
ad26c337b Localisation updates from https://translatewiki.net.
41cde9de6 Visual diff: Handle null attributes in describeChanges
cdfeef319 Follow-up I61b477d1: Use setTimeout instead of afterLoopOne

Bug: T294394
Change-Id: I6018f183034de362291314992cb23410b723961e
2021-10-28 22:43:09 +02:00
Bartosz Dziewoński 5aa6b396e5 Update VE core submodule to master (7e8550432)
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
2021-10-21 20:25:38 +02:00
Bartosz Dziewoński 661279f7be Update VE core submodule to master (b50ed2975)
New changes:
b50ed2975 Follow-up Ibac94edb: Fix offsets when rebuilding attachedRoot

Bug: T293254
Change-Id: I6beb4bf4e5fab9da140e2541e7c85dad54f92097
2021-10-21 12:00:29 +02:00
James D. Forrester b9f3073e5a Update VE core submodule to master (386526a35)
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
2021-10-19 13:16:08 -07:00
Bartosz Dziewoński e389e7ebfe Update VE core submodule to master (4373b0a6e)
New changes:
e1ada5fd8 Localisation updates from https://translatewiki.net.
4373b0a6e Create new stacking context for diffElement

Bug: T292491
Change-Id: I0399a57443404e20066c3292b78fe01f6947faf3
2021-10-14 20:48:58 +02:00
Bartosz Dziewoński fa629a42a9 Update VE core submodule to master (35412f822)
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
2021-10-13 20:04:55 +02:00
Bartosz Dziewoński bcfab14fee Update VE core submodule to master (5805b83ba)
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
2021-10-08 23:46:30 +02:00
Bartosz Dziewoński dab942e2d8 Update VE core submodule to master (14151330e)
New changes:
8ce707887 Localisation updates from https://translatewiki.net.
81a5c12ae Localisation updates from https://translatewiki.net.
25abe0e0b Localisation updates from https://translatewiki.net.
14151330e Localisation updates from https://translatewiki.net.

Change-Id: I535afcc7a8371e9d67063e50443c378416c2ab3c
2021-09-30 15:18:27 +02:00
Bartosz Dziewoński 4117126ed2 Update VE core submodule to master (ec9e8022e)
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
2021-09-14 23:59:07 +02:00
James D. Forrester f69a68716d Update VE core submodule to master (f89945db3)
New changes:
2bb06f597 Localisation updates from https://translatewiki.net.
f89945db3 styles: Remove obsolete vendor prefixed properties

Bug: T278670
Change-Id: I7c93d8e5df427714708bc07f4a48ee5fa8aca690
2021-09-13 09:25:59 -07:00
Bartosz Dziewoński a01c9cc6e7 Update VE core submodule to master (eaa1e32b5)
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
2021-09-12 20:21:09 +02:00
Bartosz Dziewoński 81da68d986 Update VE core submodule to master (222631050)
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
2021-09-09 21:59:12 +02:00
Bartosz Dziewoński d6cac864b4 Update VE core submodule to master (4c2a0ea13)
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
2021-08-19 23:28:18 +02:00
Bartosz Dziewoński 055c87240a Update VE core submodule to master (c61e33a59)
New changes:
c61e33a59 Style tweaks for empty toolbars

Bug: T284402
Change-Id: Ic31d2d076e17313636ede24ef08598d6a8677acc
2021-08-10 12:21:23 +02:00
Bartosz Dziewoński c211b8f197 Update VE core submodule to master (84148fbe4)
New changes:
d0de8230f build: Updating npm dependencies
3681a121f Localisation updates from https://translatewiki.net.
0dd5f6e3b Localisation updates from https://translatewiki.net.
8c631c24b Localisation updates from https://translatewiki.net.
3ce31ddd1 build: Upgrade qunit from 2.15 to 2.16
15929e8c7 Localisation updates from https://translatewiki.net.
84148fbe4 Localisation updates from https://translatewiki.net.

Change-Id: Ife6967d470087705e39b4dc73503ccafe35d9387
2021-08-09 19:13:57 +02:00
Bartosz Dziewoński 12c7084b46 Update VE core submodule to master (b54bff109)
New changes:
6cbd167ab Localisation updates from https://translatewiki.net.
74ebef479 Localisation updates from https://translatewiki.net.
599e63855 Localisation updates from https://translatewiki.net.
42666fbef Typo fix: "the the" -> "the"
b54bff109 Localisation updates from https://translatewiki.net.

Bug: T201491
Change-Id: Ia5fe3a1f0e21ff95224f35b0eb75eb21a6d4cba5
2021-07-19 23:49:40 +02:00
Bartosz Dziewoński 32b1961e74 Update VE core submodule to master (144837b20)
New changes:
7777aa0c5 Localisation updates from https://translatewiki.net.
3b32dd4e1 Localisation updates from https://translatewiki.net.
144837b20 ve.init.Target: Handle overlays in toolbar keyboard handling code

Change-Id: I61c75ac6db1a68128b1935059bb8159d8e4c5a56
2021-06-29 18:32:42 +02:00
Bartosz Dziewoński 1570507656 Update VE core submodule to master (6c7bee041)
New changes:
5e3ee8ae9 Help dialog: Hide commands which are not in surface.getCommands()
6c7bee041 CommandHelpDialog: Rewrite for-loops

Bug: T284758
Change-Id: I408132ae6b858cf6efd81f67d3a7a3123d384c59
2021-06-19 15:58:36 +02:00
Bartosz Dziewoński 0da437efd3 Update VE core submodule to master (fec141b51)
New changes:
6b37c819f ve.dm files: Move var declarations inline
5a4b7aa99 ve.dm.LinearData: Move var statements inline
ebf53dc0c ve.dm.annotations/nodes/selections: Move var statements inline
fec141b51 Remove @param/@return docs that literally repeat the code

Change-Id: Iabe5db5bf493d666f9737baaca35072578155a6f
2021-06-14 15:36:11 +02:00
James D. Forrester 92f1829f01 Update VE core submodule to master (59f813e80)
New changes:
3a987ff96 ve.init.Target: Simplify toolbar keyboard handling code
526c58b4d TableAction: Rewrite getTableSelectionFromSelection to be model only
4b11e5763 TableAction: Increase test coverage
da352029a Remove hardcoded surface placeholder text "placeholder"
d85f87f6f Localisation updates from https://translatewiki.net.
6e6bda1ec ve.ui: Move var statements inline
37e5474c1 Avoid exceptions if node teardown happens before setup
01d85e95a ve.init files: Move var statements inline

Bug: T280180
Change-Id: I5e5700d3bc0af364773dbf49c797cfcf871c745f
2021-06-10 14:17:43 -07:00
James D. Forrester 8fa0781a48 Update VE core submodule to master (3891890c2)
New changes:
a95611236 Set aria-hidden on pasteTarget
3891890c2 Localisation updates from https://translatewiki.net.

Bug: T283853
Change-Id: I9e2f657b8bba82fea0a9b0d97f94aec1849d44a5
2021-06-07 13:13:32 -07:00
Bartosz Dziewoński a4cafb1691 Update VE core submodule to master (1f76dea7e)
New changes:
6cde8742e i18n: Rename keys for error messages in rebaser

Local changes:
* Rebaser i18n message renames

Change-Id: I0c2e3a956c81f625822bacd40835dc4fadb57211
2021-06-04 23:53:02 +02:00
Bartosz Dziewoński 6bcf1b9ca5 Update VE core submodule to master (7ab2ebb0f)
New changes:
4a5ebddd8 Localisation updates from https://translatewiki.net.
564cfaa37 Localisation updates from https://translatewiki.net.
1a670fa34 Fix lang list
22d56eb7a Localisation updates from https://translatewiki.net.
73182560c Remove dependency of the model registry from ve.dm.Transaction
058ea2c2c Fix toolbar dialog header collapse when in another dialog
3e88dfab3 i18n: Sort keys

Bug: T283458
Bug: T283598
Change-Id: I6b209d4063db37925dec64415f955a1c9709dfa9
2021-06-04 22:23:05 +02:00
Bartosz Dziewoński d15535b7b6 Update VE core submodule to master (e5759ef32)
New changes:
aea74f1ae ui.actions: Move var statements inline
beb396899 IndentationAction: Refactor case runner
80379d8b2 IndentationAction: Add coverage for slug edge case
8d24c0a82 build: Updating browserslist to 4.16.6
55460cee6 utils: Move var statements inline
8592347e3 ve.ui files: Move var statements inline
ab2cf84d2 IndentationAction: Handle 'increase' when in a slug as well as 'decrease'
0470dddf6 IndentationAction: De-duplicate increase/decrease methods
c16ca4363 IndentationAction: Complete coverage

Change-Id: I95fd8022a07b3c7bec316498e0dc255144e584f1
2021-05-27 00:02:54 +02:00
Bartosz Dziewoński 0154b9a09a Update VE core submodule to master (bc819fdc6)
New changes:
9f22a86f9 Add positions 'inline' and 'below' to ve.ui.ToolbarDialog
bc819fdc6 Fix incomplete ve.Document.getBranchNodeFromOffset() usage

Bug: T279299
Bug: T281788
Change-Id: Ibab7e7e50d6de8ea070a7aa2e0269c53e052f1c1
2021-05-25 20:49:17 +02:00
Bartosz Dziewoński 7f1c9ac7c0 Update VE core submodule to master (63e87da8e)
New changes:
e117cd238 Call contextItemFactory.lookup, not contextItemFactory.registry.lookup
2b81a0b7b Deactivate selection on mobile while in read-only mode
e9a8ff887 Actually handle inTargetWidget config

Bug: T281771
Bug: T282194
Bug: T283445
Change-Id: Ied3e94bc3ebd2b390d9832215a94893fce64a5d3
2021-05-24 23:22:06 +02:00
Bartosz Dziewoński 34ffaa99de Update VE core submodule to master (f7d2ac280)
New changes:
0d0965b2f ve.dm.Document: Move var declarations inline
eb1fe6cfd ve.dm.TreeModifier: Move var declarations inline
101fa6749 ve.dm.SurfaceFragment: Move var declarations inline
08f379651 ve.dm.Surface: Move var declarations inline
d0ded7f28 ve.ce files: Move var statements inline
453e4ae33 keydownhandlers: Move var statements inline
1d80e69e6 ce.nodes/selections: Move var statements inline

Change-Id: I5bb07a8c0da0b99d09f3c632cf51ba789b005063
2021-05-24 22:27:30 +02:00
Bartosz Dziewoński d84a2b7b69 Update VE core submodule to master (d1af2fd53)
New changes:
adb902514 Localisation updates from https://translatewiki.net.
d1af2fd53 Dist: Update language lists

Change-Id: I7c32537d3387c4d542842d9f10832db774573b6c
2021-05-24 21:56:30 +02:00
James D. Forrester cce248ce01 Update VE core submodule to master (0c024f431)
New changes:
5866b762f build: Re-enable Firefox testing
501e8354e ve.dm.Converter: Remove unused branch
84086e60f Localisation updates from https://translatewiki.net.
e1eb88ea2 Unify `list-style` CSS
d8eae968d ve.dm.Converter: Move var declarations inline
a26ff5fa6 ve.ce.Surface: Move var declarations inline
47a2d36f3 Localisation updates from https://translatewiki.net.
cf97b4938 build: Merge eslint main and html tasks back together
381ade44c build: Updating grunt to 1.4.0
d98f7995a Localisation updates from https://translatewiki.net.
c6bc154d2 Check if alien context item is registered before using
e645b06af Localisation updates from https://translatewiki.net.
58830c0dd build: Updating postcss to 8.2.15
f7b193a7e Localisation updates from https://translatewiki.net.
9730bd748 Update OOjs to v6.0.0

Bug: T240955
Bug: T282194
Change-Id: I7a26365a24103ac4e4b1279fda3b74ac6e4a9497
2021-05-17 17:35:37 -07:00
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