Commit graph

1087 commits

Author SHA1 Message Date
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
James D. Forrester 6c39b8db8f Update VE core submodule to master (b1cc9bcff)
New changes:
d2e6d8ec5 Localisation updates from https://translatewiki.net.
f3656e4b5 Localisation updates from https://translatewiki.net.
a9aaedd16 Localisation updates from https://translatewiki.net.
b1cc9bcff Fix typo: vender->vendor

Change-Id: I881ae462a46f50449fc9e4be7bc0e9eb50588632
2020-07-08 19:24:35 +01:00
Bartosz Dziewoński b4ae27b82c Update VE core submodule to master (4e1435871)
New changes:
f482cff91 Completion: bugs related to the current input
d1271b362 Completion: Fix exact match logic
21f79b491 Add option to sequences to trigger when deleting content

Bug: T232601
Change-Id: I12bce2478652fa41215ff1c146764a3d2f33fab9
2020-06-29 15:22:24 +02:00
James D. Forrester 1c801c0686 Update VE core submodule to master (ab0423261)
New changes:
424a4d96a Void list: Link to WHATWG; remove obsolete `command` & `keygen` elements
b5e5353c5 Localisation updates from https://translatewiki.net.
c6f80e7a7 NodeFactory: Drop deprecated alias for disallowedList
91d887081 build: Update eslint-config-wikimedia to 0.16.2
59ede425d Localisation updates from https://translatewiki.net.
1db52c895 Localisation updates from https://translatewiki.net.
175b786ad CompletionAction: Don't lowercase an exact match
ab0423261 Update OOUI to v0.39.2

Bug: T255737
Change-Id: I7dd62662c13212b2f0eb14fedf8d57129abff1ce
2020-06-24 09:47:52 +01:00
James D. Forrester 980e25f2e7 Update VE core submodule to master (3be5d338e)
New changes:
4ddad19da ve.Filibuster: 'blacklist' -> 'nowrapList'
58a71b62e Various documentation fixes
64b89657f ve.dm.Node: blacklistedAnnotationTypes -> disallowedAnnotationTypes
fca42efe2 build: Upgrade eslint-config-wikimedia from 0.16.0 to 0.16.1

Bug: T254646
Change-Id: I8e23231bf4ff4022a85b4dfe214184fbb3543fce
2020-06-12 11:10:46 +01:00
James D. Forrester e206dfa6c5 Update VE core submodule to master (1d81ab7bc)
New changes:
1d81ab7bc Update OOUI to v0.39.1

Change-Id: I45daa02eaa6b7563f94b697c9e3d10d519ba2743
2020-06-08 11:48:28 -07:00
Bartosz Dziewoński 73da343461 Update VE core submodule to master (b7f83c6ba)
New changes:
8534d4890 Localisation updates from https://translatewiki.net.
3b91fb6aa build: Update eslint-config-wikimedia to 0.16.0
f7c1de7e2 ve.ui.CompletionWidget: Fix positioning in RTL
559d0e67c Update ve.dm.Document#nodesByType from TreeModifier

Bug: T254115
Bug: T254354
Change-Id: I71fb07e12299299d9a128e459453ee529a1a8a33
2020-06-04 00:17:55 +02:00
James D. Forrester bb6dbc1f5d Update VE core submodule to master (5cc9cecd4)
New changes:
a4926b7d2 build: Updating http-proxy to 1.18.1
6ffa100f2 ve.ui.LinearContextItem: Make items with no actions have normal padding

Change-Id: I8974bbc3589944ad3a19e595566b96c9aec9b966
2020-05-29 10:16:43 -07:00
James D. Forrester af32f6f148 Update VE core submodule to master (71b16e52b)
New changes:
73dbd766f build: Unbreak language lists, adding 'ti'
75889f97d Avoid listing languages twice in availableLanguages
71b16e52b Adds role to Document Node

Bug: T253592
Change-Id: Ifeb3908a882d36d147db97497ff8ffa8352600f5
2020-05-28 08:21:16 -07:00