Commit graph

628 commits

Author SHA1 Message Date
James D. Forrester 5ac029a153 Update VE core submodule to master (5c4c9e8ed)
New changes:
cc3e61930 ElementLinearData: when removing original dom elements, remap hashes
89ad89739 Localisation updates from https://translatewiki.net.
056366b22 Revert "Remove $returnFocusTo hack now null is supported upstream"
515a90521 Remove redundant setDisabled calls from tools extending ve.ui.Tool

Bug: T154123
Bug: T160479
Change-Id: I1726bc2ee0efb20ad03da178a51ca1f6482f0551
2017-03-16 08:24:27 -07:00
James D. Forrester 6225a6536a Update VE core submodule to master (8817821b6)
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
2017-03-15 16:31:57 -07:00
James D. Forrester 13eb3d9027 Update VE core submodule to master (da310202f)
New changes:
d091c2e5c Refactor rect-from-element computation in FocusableNode into static method
9184a8e8c Update OOjs UI to v0.20.0
a48bac967 ve.ce.Surface: Check delayed sequences when deactivating surface

Change-Id: I7ad4b17c6e4ea3fdf4f0fc72e244f875fddc766b
2017-03-15 14:54:15 -07:00
James D. Forrester 6ab24fe9f0 Update VE core submodule to master (41134af2b)
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
2017-03-14 12:47:32 -07:00
James D. Forrester 2771ea3f34 Update VE core submodule to master (bc0001c53)
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
2017-03-10 15:49:21 -08:00
James D. Forrester 879ae1092f Update VE core submodule to master (de2dd95c6)
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
2017-03-08 09:10:48 -08:00
James D. Forrester 1865702448 Update VE core submodule to master (3056a4a46)
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
2017-03-01 21:41:03 -08:00
Ed Sanders f51d86df20 Update VE core submodule to master (8211ebc70)
New changes:
c99e7f0b6 Diacritic insensitive search in find & replace dialog

Bug: T154195
Depends-On: I95eb851c10a44e18382a6a4a0cb22559db6752b7
Change-Id: I6b74fc3dbaa27de67a565a3c2c6bf8a951b24364
2017-02-28 16:30:22 -08:00
James D. Forrester 68fd46ab51 Update VE core submodule to master (15f36bc75)
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
2017-02-28 16:26:58 -08:00
James D. Forrester 4706a4c089 Update VE core submodule to master (813c586a6)
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
2017-02-23 11:38:11 -08:00
James D. Forrester 1404c76fc0 Update VE core submodule to master (a507dcb84)
New changes:
08a199e2a build: Drop two deprecated stylelint options
a507dcb84 build: Bump stylelint and make pass

Change-Id: Ia41930fa9db085b9be0a1f84da400dfb6bd7f2ef
2017-02-17 16:08:23 -08:00
James D. Forrester 8f576f4c55 Update VE core submodule to master (e94169400)
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
2017-02-17 08:13:27 -08:00
James D. Forrester 871d007c35 Update VE core submodule to master (ac6db50ca)
New changes:
efd3caa55 VisualDiff: Distinguish between annotation/character changes
e64a4df76 ve.ce.Surface.test: Gross workaround for failing tests
ac6db50ca Update OOjs UI to v0.19.2

Change-Id: I366d1ceee0c238e17d977d8aaa0ab6732eb7c82b
2017-02-15 14:37:45 -08:00
James D. Forrester c32a77bcc1 Update VE core submodule to master (2f38291c4)
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
2017-02-13 08:28:09 -08:00
James D. Forrester df1666d1d1 Update VE core submodule to master (de7a96ece)
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
2017-02-09 14:21:37 -08:00
James D. Forrester 3302ba9203 Update VE core submodule to master (c1884680a)
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
2017-02-09 08:46:29 -08:00
James D. Forrester d5e245f6ff Update VE core submodule to master (121100d74)
New changes:
a4906cce4 VisualDiff: Implement linear diff timeout for edge cases
f4ab8c5e0 Remove explicit toolbar indicator definitions
37cb4fdca Update diff_match_patch
505205ec0 Localisation updates from https://translatewiki.net.
bc8491fc1 Fix definition of HTML whitespace in converter

Bug: T156599
Bug: T157406
Change-Id: Ie89e8da437c368bc0d1213cc19e169e1045c582c
2017-02-07 10:28:14 -08:00
James D. Forrester c10ba0885f Update VE core submodule to master (f60ce1a)
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
2017-02-03 09:11:12 -08:00
James D. Forrester e3ff727cf8 Update VE core submodule to master (495524f)
New changes:
07ad6e3 Always convert newlines to paragraph breaks in source mode
582c99d Follow-up 1074babe: remove never-used parameter to synchronize()
0c4b9c0 Check correctly whether the cursor crossed a preunicorn

Bug: T156498
Bug: T157019
Change-Id: I4b644b70242fd1fe3397d9c86aad37af26dddd66
2017-02-02 09:58:33 -08:00
James D. Forrester d58d40492d Update VE core submodule to master (96ed6a4)
New changes:
0b2bb48 ve.dm.TableMatrix: Emit event when table structure changes
819825f ve.dm.TableNode: Emit event when any cell's attributes change
0a8de00 VisualDiff: Annotation tests
19aaa68 Fix documentation in ve.Range, and remove test for wrong input
e18e5b8 tests: Test node replacement in ve.ui.DiffElement.js
7e7df4f Localisation updates from https://translatewiki.net.
f4f545f ElementLinearData#sanitize: Use a proper stack to find last open element
cac05d0 Fix width of labels in language inspector
96ed6a4 Update OOjs UI to v0.19.0

Bug: T156735
Change-Id: I46900fb06d43a9384ec6034438ddc0ff068f136e
2017-02-01 15:40:16 -08:00
James D. Forrester 521a15a07d Update VE core submodule to master (d8b833e)
New changes:
5d5ca73 Follow-up Id00817d05: Correct mistaken handling of forced replacements
5649654 tests: Get coverage of ve.Range.js to 100%
a65b1ce ve.utils.js: Add some more 'Support:' comments
db28d44 Revert "Pass text as string to insertDocument when detected as plain text"

Change-Id: I6f3f15b59be131586df697847304f5235958a58d
2017-01-30 10:31:33 +00:00
Ed Sanders 1d7f929a91 Update VE core submodule to master (139bdf7)
New changes:
d79138b Overwrite selected content when pasting via DataTransferItem
3c4737f Ensure clipboard is never empty text
3b1339e Create dummy platform and target for tests
4d63c8e Pass text as string to insertDocument when detected as plain text

Local change:
Remove VE standalone module

Flow used to use it, but not anymore. Going forward no one should
be using it in MW.

Bug: T154020
Bug: T156302
Bug: T156498
Depends-On: I078c244ef524669da477a43f9b37c847252e5ad7
Change-Id: Ifc4be16269f819890f2dcdddbbdebf9694ad2868
2017-01-29 18:50:47 +00:00
James D. Forrester 6de2bb21d9 Update VE core submodule to master (e5dffec)
New changes:
e3027e1 RebaseServer: use a separate class for document state
c76dce2 Detect node type/attribute changes in the visual diff
e98547f VisualDiff: Remove redundant length check
5d8c85d Add test for non-semantic whitespace diff
c352e8f Add i18n for 'No changes' message
e3669dd VisualDiff: Add node insertion/removal tests
d4a8973 VisualDiff: Add paragraph moving tests
fba5d0c VisualDiff: Add table column tests
af891bf Localisation updates from https://translatewiki.net.
7fb299b Follow-up c352e8f: Don't use i18n key clashing with archaïc usage
b63bf47 Fix annotation of nodes in document insertion
dea4c82 Handle home/end/pageup/pagedown keys when on focusable nodes

Bug: T151404
Bug: T151589
Bug: T156376
Bug: T156463
Change-Id: I99c3590279b94e4a5219cb990b52f928b85a91f4
2017-01-27 17:56:37 +01:00
Ed Sanders fdec767003 Update VE core submodule to master (f1ed206)
New changes:
95ce4ad Check dataTransfer.items exists before iterating
c113207 Include oojs-ui-core.js in debugging pages
6d7f0f4 Localisation updates from https://translatewiki.net.
d5a0891 DatetimeAnnotation: flesh out model with datetime attribute
57ea466 Fix demo style regression introduced by new OOUI
34410a9 Fix a typo in visual diffs
089e6e1 ve.ce.Surface: Use toString, not String constructor

Bug: T103723
Bug: T155836
Change-Id: Ibd58b07b138b5b01c8e92978a20407290a4001fd
2017-01-25 13:36:42 +00:00
Ed Sanders 1ae5c13cb9 Update VE core submodule to master (f0dcedb)
New changes:
5b448fa [BREAKING CHANGE] Merge Mobile/DesktopSurface into Surface
2d8959b Localisation updates from https://translatewiki.net.
7eee772 Follow-up 2d8959b: Fix build for added language 'io'
f0dcedb ve.dm.TableMatrix: Really indent ASCII-art comments

Change-Id: I62708f7caeb03b16cd318aab0b0ee3c674e75a26
2017-01-20 14:35:39 -08:00
James D. Forrester c908dbdece Update VE core submodule to master (6eba2e2)
New changes:
a38905d ui.AnnotationInspector: Don't assume previousSelection exists
fdbeef4 ui.AnnotationInspector: In source mode, provide fallback insertionData
a1a7ea7 build: Bump grunt-css-url-embed to latest
de4e5bc Localisation updates from https://translatewiki.net.
d37b453 Update OOjs UI to v0.18.4
8a3f09b ve.dm.TableMatrix: Indent ASCII-art comments
b2538e1 build: Bump grunt-css-url-embed to 1.9.0
9759f3f Fix minimal demo

Bug: T152781
Bug: T153378
Change-Id: I020083725c4e9663e2e468a3e68ecc237604c256
2017-01-18 14:13:18 -08:00
David Lynch 00fea964c6 Update VE core submodule to master (538c3a2)
New changes:
c0c5ca9 ce.Surface: Don't hardcode string types for paste

Change-Id: I97e8d5be9086749caeb9e4aa8f347bab5353d66f
2017-01-14 21:27:43 -06:00
James D. Forrester c323274d47 Update VE core submodule to master (de003cf)
New changes:
db52f83 Create ve.isClipboardMimeTypeSupported
fce25dd Update RangeFix from 0.2.2 to 0.2.3

Bug: T155218
Change-Id: I5f32c6ffbd989920917c15fd2df81c05389d4fc4
2017-01-13 18:55:19 -08:00
David Lynch e369ebacd3 Update VE core submodule to master (a129536)
New changes:
1e4a2a5 Desktop demo improvements
0be3300 Replace abandoned colors with current ones
c3895e4 Warn before deleting a bunch of local files
a21d08d ui.CommandHelpRegistry: fix extending of existing command

Bug: T153486
Change-Id: Ia61714c4941b2b2cf5566a94896a28fb593b8029
2017-01-11 17:15:23 -08:00
James D. Forrester b11edcb7f9 Update VE core submodule to master (460f16c)
New changes:
a46b26f ui.Surface: scrollCursorIntoView should handle below the screen, too
291cad8 Localisation updates from https://translatewiki.net.
a4b781f Cleanup various sillinesses in unicorn code

Bug: T153628
Change-Id: Icc48b644939d96cef1d5128a7a5babb4b6ca0a89
2017-01-10 10:39:15 -08:00
James D. Forrester a815a40446 Update VE core submodule to master (838df50)
New changes:
972cde4 Remove ve.getHtmlAttributes and ve.getOpeningHtmlTag (both unused)
1e21d0d Only consider focusNode/Offset for scrollCursorIntoView
5248f16 Refactor ve.dm.TransactionBuilder#newFromWrap
a6de97a Use the monospace hack consistently
7e21814 build: Bump file copyright notices for 2017
70a946b Update OOjs UI to v0.18.3
838df50 Remove mobile window logic upstreamed to OOUI

Bug: T126029
Bug: T153601
Change-Id: I76f62b12eb78b6dba03c9ac3e0f9355f4f8fbdc2
2017-01-04 08:52:12 -08:00
James D. Forrester 3c420baa70 Update VE core submodule to master (da4a0b5)
New changes:
8562e02 Ensure document is always sliced in #insertDocument when newDocRange passed
38885da Unwrap single pasted content branch nodes
afcc2b5 Use this.document directly in surface fragment
9a06a01 Don't show help for a trigger if the command is not registered
16fa88e Rename 'commandName' to 'commandHelpName' and refactor object copy
8640858 Localisation updates from https://translatewiki.net.
3e147fd Localisation updates from https://translatewiki.net.
df590e3 ce.Surface: in blur, make sure activeElement exists before blurring it
2883d2a Localisation updates from https://translatewiki.net.
89b8927 Remove serialization test cheat; make tests actually pass
41e77ad ve.ce.CommentNode: Don't assume icon exists yet
55185ec Rebaser: Allow document id & server to be changed by config
3b06cf3 Filter out nodes completely sanitized away by DOMPurify
755768c Pass dm doc to deserialize to hydrate selections properly
a9b1c86 DOMPurify config: Change ALLOWED_ATTR to ADD_ATTR
3796061 Remove unit test hack, no longer needed.
ef7b4e4 Rebaser: Separate namespace creation from /doc/edit
da4a0b5 Localisation updates from https://translatewiki.net.

Bug: T153247
Bug: T153249
Bug: T153960
Change-Id: Iaa277b86aea4182c8e96ec6ad4ed6c1beaf00ee1
2017-01-03 07:33:55 -08:00
James D. Forrester 2b63ffba4a Update VE core submodule to master (f8fc228)
New changes:
b74276f Fix <br> sanitization.
2cb48b6 Use try-finally instead of try-catch-rethrow
3c3ec31 Try text fallback for drag and drop even if exception not thrown
af66347 Localisation updates from https://translatewiki.net.
1e6aa55 Ignore covering annotations when importing source
5dd073c Follow-up 2cb48b6: Add a comment explaining why we're not re-throwing

Bug: T153223
Bug: T153315
Change-Id: Id8c0cd35b4f4d989c65a556e843eed0438aa59b0
2016-12-16 11:53:37 -08:00
James D. Forrester f2e23e87c7 Update VE core submodule to master (721f591)
New changes:
2a24fdd CommentInspector: Remove redundant surface enable call
45c3931 Allow ve.resolveAttributes() to take a single element
c5a5cef Give ui.Surface a focus method
721f591 Ensure content is selected after async source insert

Bug: T152645
Change-Id: I50f6c359818f8e40ac080eef4edd1d9698735064
2016-12-12 08:37:41 -08:00
James D. Forrester fb17a05be4 Update VE core submodule to master (33012af)
New changes:
98e3ee8 Update OOjs UI to v0.18.2
7a7e576 Move socket.io-client into lib
9be803f ce.Surface showSelectionState: Avoid unnecessary refocusing
fa9570e ve.ui.TableAction.test.js: Make formmatting pass in eslint 3.12.0
65564a2 Follow-up Iaa41c49e: Don't assume source dialogs have a fragment
43acec4 ui.TableAction: don't try to add cells if none have been provided
33012af Update UnicodeJS to v0.1.6

Bug: T150450
Bug: T152387
Bug: T152659
Change-Id: Icb25c05fef4719fba464ba6b0f349de85f01f24d
2016-12-09 15:48:51 -08:00
James D. Forrester 60b5c97c0a Update VE core submodule to master (327a277)
New changes:
220713c Basic unit tests for article/section nodes
42134b7 Bypass fragment parsing for non-fragment windows
8d1ec6b Fix #insertContent in source mode to maintain linebreaks
9bebc0f Surface synchronizer (sockets)
4324301 Localisation updates from https://translatewiki.net.
c8f4867 Simple document server
a1fe22d Run eslint on rebaser folder
c4c1809 Fix build modules for rebaser
606b4a8 Add landing page to rebaser demo
327a277 Rebaser: Focus document name input on load of landing page

Change-Id: I57975ea090e2e905e5a78b2a715141636dca4748
2016-12-06 11:24:55 -08:00
James D. Forrester 8a253c6405 Update VE core submodule to master (3dae2ca)
New changes:
8803030 Use faster batchPush in #insertContent
c011ae2 Don't wait for fragmentPromise before closing open windows
3dae2ca Follow-up Iaa41c49e: Ensure hack range is valid

Change-Id: Iaf7b623295eed23e46c12407fc7c0b6f371a92a5
2016-12-05 08:02:43 -08:00
Ed Sanders 1edc42e0ae Update VE core submodule to master (aa8ef3e)
New changes:
4321ccd SourceSurfaceFragment: Add #convertNodes
aa8ef3e Follow-up Iaa41c49e2f: Fix `this` context in window action

Change-Id: I82777e4dcd27de744bb3cb934f1c639167127303
2016-12-03 17:31:04 +00:00
Ed Sanders 9ceb13ce60 Update VE core submodule to master (5be61ce)
New changes:
860954b [BREAKING CHANGE] Parse selection before applying source tools

Local changes:
Implement convertFromSource/convertToSource in WikitextSurfaceFragment

Depends-On: Iaa41c49e2f8e28af28a8a64cb6915f705fa35e8c
Change-Id: I746619d442fb565cd582cb09de3126526c73c333
2016-12-03 03:43:59 +00:00
James D. Forrester 640c745bca Update VE core submodule to master (af7fb69)
New changes:
a27ccb4 Follow-up I3b0483a7d: Fix append loop in PreviewElement
75d6de7 PreviewElement: Use adoptNode when moving rendering to view

Bug: T151511
Change-Id: I6bf6df1873b8033914bc2235784012b66459e341
2016-12-02 22:05:49 +00:00
James D. Forrester 976d2e935a Update VE core submodule to master (c9619a0)
New changes:
06ffd06 Rebase logic
56d8e13 Use DOMPurify to sanitize incoming HTML
abc3465 DOMPurify: Use pre-release & add fix, and fix IE9 return type issue
14700eb Bring in source mode WindowAction hacks from MW

Change-Id: Iaef73bab7c1010ec29826ff2025c767c9758e8e3
2016-12-02 11:49:12 -08:00
Ed Sanders 218742d806 Update VE core submodule to master (ae30d71)
New changes:
f58ddea DiffElement: Use document slices with full internal lists
83800c0 DebugBar: Remove hard-coded i18n
b4f89e1 Update OOjs UI to v0.18.1
40c7bf6 Factor out active node functionality from SectionNode for captions
2d967be Move 'mode' property to surface, rename target property to 'defaultMode'
5d8c214 wrapAllNodes in sourcefragment
dd3d9e5 Refactor ve.dm.Transaction
9d61aca Use canonical ve.dm.TransactionBuilder.static.newFrom* methods
df4f72a Make table caption node an active node
b79f72d Core source mode
7533ac4 Localisation updates from https://translatewiki.net.
ae30d71 SourceSurfaceFragment: Check range is not collapsed

Local changes:
Get edit mode from surface where possible

Depends-On: Iec758c1892d518ad4bc2c0d1aaf6ca00fa354323
Change-Id: Ifaf6a26078b2731b374aaad2cb40c08928de9c84
2016-12-01 10:40:01 -08:00
Ed Sanders aeafa6afca Update VE core submodule to master (9625e8f)
New changes:
f1297b8 [BREAKING CHANGE] Allow target widgets to be re-used

Local changes:
Re-use target widgets

Change-Id: I5decb918f398704d4b6c108a16fbc1cc073ef077
2016-11-29 11:48:15 -08:00
James D. Forrester fb616288a2 Update VE core submodule to master (0879bb2)
New changes:
00efc39 VisualDiffs: Improved styling for moves
009de03 VisualDiffs: Use semantic del/ins tags
4a90e12 Localisation updates from https://translatewiki.net.
c671cf8 Add diffing to mobile SA demo
c4ff29b Replace deprecated $.andSelf with $.addBack
b122328 Fix labels on diff dialog
41a700c ve.dm.Change class with rebase operations
2c336da Localisation updates from https://translatewiki.net.
4c7cb68 Hijack EventSequencer timeouts in unit testing
dea2883 Focusable cursor tests: place cursor in cursorHolders

Change-Id: Id6640e02999c079bcf3709f2d048394ec6719904
2016-11-29 11:06:03 -08:00
James D. Forrester c90e53a795 Update VE core submodule to master (f4d2cd2)
New changes:
d68bd23 DiffDialog: Use surface dialog manager for diff window
d68fe24 VisualDiff: Replace whitespace detection with wordbreak detection
dd65a44 VisualDiffs: Only show unchanged content adjacent to changed content
7f70f64 Fix some edge cases with adding classes to nodes in diff
f4d2cd2 Follow-up d68bd23: No need to list ve.ui.DiffDialog twice in modules.json

Change-Id: I6f46f3d14ad81e4efdde0c970a3102e577b12772
2016-11-22 17:39:43 -08:00
James D. Forrester 1d43607bd9 Update VE core submodule to master (0ef16f0)
New changes:
65399fa Localisation updates from https://translatewiki.net.
0ef16f0 Follow-up Ice6b167: Ensure metadata is inserted before the internal list

Change-Id: Ieb967a1e2e6f3a90ed26d25715e41cb9a3dbcb44
2016-11-21 08:15:32 -08:00
James D. Forrester 910aa9cb0a Update VE core submodule to master (83ea152)
New changes:
6f28f19 build: Bump eslint-config-wikimedia to v0.3.0 and make pass
270fda6 Make $returnFocusTo a no-op in WindowManager

Bug: T150556
Change-Id: Iad3959fa836afd5b81ef9f668077d68effc69063
2016-11-16 14:19:46 -08:00
James D. Forrester 8407e71d14 Update VE core submodule to master (c8389bd)
New changes:
e9b392a dm.Surface: contextChange if non-collapsed selection moves in/out of annotations
efa129c Add HTML blacklist for content which doesn't have a model type yet

Bug: T126232
Bug: T149714
Change-Id: I456ed4dbd0ed0452e58d554f5c88a82c1bf2bb26
2016-11-15 08:47:58 -08:00
James D. Forrester 2fbbb07c73 Update VE core submodule to master (cf1a9c8)
New changes:
bccd179 ve.ui.MergeCellsContextItem: Correct @extends documentation comment
f0c7873 ui.CommentInspector: Select placeholder comment node while editing
4747913 Add ve.init.Target#isModeAvailable

Change-Id: I2e28a4bc5ca3c81580f24419409004e05c415682
2016-11-14 14:13:38 -08:00
James D. Forrester a438e5bd9d Update VE core submodule to master (2bc2ddf)
New changes:
408a212 Fix and improve performance of shallowCloneFromRange( undefined )
6f01d52 Return an empty document when shallowCloneFromRange is collapsed
e0fb3a3 Skip toolbar rebuild when config hasn't changed
00ffe0f Avoid annotation set clones when unused
e839b94 Add teardownToolbar to ve.init.Target
869e458 Cache this.getToolbar
e0ba022 eslint: Re-enable wrap-iife and partially enable dot-notation
15518fa Wrap attribute resolve in try-catch for IE

Change-Id: I404d3b098232be920a2f72a5281bf5c04b85aae1
2016-11-14 09:02:53 -08:00