Commit graph

830 commits

Author SHA1 Message Date
James D. Forrester b3b3f0341c Update VE core submodule to master (ef55ee03a)
New changes:
b4aaff69d Localisation updates from https://translatewiki.net.
27e254607 ve.ce.BranchNode: Optimize #onSplice a little bit
6bf08122a Document constructor tweaks
d5461cb70 Standardise origDoc property as originalDocument
ef55ee03a Use plain ve.dm.Document for doc fragments, instead of self


Change-Id: I1500f42dc0bf761f495e25c2d3d047157292df7d
2018-02-06 19:23:25 +00:00
James D. Forrester 15bb925f31 Update VE core submodule to master (130caccf3)
New changes:
68c4eca08 Create ve.dm.Document#getDocumentRange method and use in various places
a931da25b Rebaser: show timestamps in logs
0a45fe561 Source surface: Add complementary getSourceOffsetFromOffset method
130caccf3 Localisation updates from https://translatewiki.net.

Change-Id: I6bdf816456129d1d715812d944b188af4a371fcf
2018-01-29 09:22:33 -08:00
James D. Forrester 4ce103abb9 Update VE core submodule to master (c5fddd508)
New changes:
21a5d55b8 [BREAKING CHANGE] Store metadata as block nodes in the main data list
2f9868aae Localisation updates from https://translatewiki.net.
7a224cf4b Remove <style> tags from pasteTarget ASAP
fb4e894b6 Workaround missing child selector in OOUI for menuLayout
fa4f35281 rebaser: Fix sequencing of server operations
931ee29f6 SurfaceSynchronizer: Also translate selections that are not mentioned in the change
d232b8f04 Disable undo/usurp within SurfaceSynchronizer
d1b7fc597 ve.dm.Change: Truncate stores as well as transactions on conflict
7606f684d rebaser: Only apply artificial delay to submitChange events
9473e8b42 Toolbars: Replace $.width with clientWidth/offsetWidth
abb8f2075 ve.ui.DesktopContext: Remove unused CSS
050414205 ve.ui.DesktopContext: Remove old unnecessary CSS
7b8cbb830 Failing test case for losing annotations
5447d33e4 CommentNode: Protect against call after teardown
bf98ca2b6 Rebaser: Use better hack for disabling history commands
90c07f46c Rebaser: uninitialize fully
2a59016e4 Move updatingName recursion guard out of debounce

Bug: T56299
Bug: T185532
Bug: T185544
Bug: T185599
Bug: T185716
Bug: T185747
Change-Id: I45251811e3fbb3323a25ca5cf364e4cb94aa1d01
2018-01-29 08:43:08 -08:00
James D. Forrester 2276217d0b Update VE core submodule to master (88ba1eb9a)
New changes:
6a0b829e3 build: Bump stylelint and config, and make pass
9cacad1e9 Remove JSCS comments
ba7adf119 OOUI: Manually pull in fix from I99caad7b ahead of the release cycle
3cdb40b27 Update OOUI to v0.25.1
a1ec03ade getSelectedItem() -> findSelectedItem()
bd1aa50fb Localisation updates from https://translatewiki.net.
28b668622 SurfaceSynchronizer: Clear author selections when unapplying
982919680 SurfaceSynchronizer: Translate selections when unapplying

Bug: T185395
Change-Id: I58562868ff9c76e5abcca3297d8c7cc1bc60bf12
2018-01-21 18:42:00 -08:00
James D. Forrester 6f9947ad71 Update VE core submodule to master (d5428e9b3)
New changes:
d837033c2 Use findItemFromData instead getItemFromData
c656fb267 Localisation updates from https://translatewiki.net.
5cbaf0674 Catch errors when accessing localStorage
d5428e9b3 Localisation updates from https://translatewiki.net.

Bug: T181822
Bug: T76630
Change-Id: I5b02898ed020cf2fc3bd93a650870bd3ab7b31b0
2018-01-16 10:22:56 -08:00
James D. Forrester 7558b16f62 Update VE core submodule to master (bfa92c6e9)
New changes:
f88d8d4a9 Localisation updates from https://translatewiki.net.
bfa92c6e9 Update OOUI to v0.25.0

Change-Id: I7e790290354a76e5bce0a7caf18dac56a5787922
2018-01-10 08:44:16 -08:00
James D. Forrester 0db318f462 Update VE core submodule to master (b04645ac8)
New changes:
3738f1584 ve.ui.TargetWidget: Emit an event to allow last-minute setup
e70e717e0 Update AUTHORS.txt for the last couple of years' work
6393da80b Localisation updates from https://translatewiki.net.

Bug: T157084
Change-Id: Ie2da62d0c06209e5b21c186f1f50be42bbe014d8
2018-01-04 08:53:13 -08:00
James D. Forrester 39e193dd20 Update VE core submodule to master (9d7035436)
New changes:
5e96bf362 doc: Bump copyright year
172ac9f0b Convert single nbsp's to plain spaces on paste

Bug: T183647
Change-Id: I8359ccb27deb42f017b411b57658401bc5376f61
2018-01-03 11:30:51 -08:00
James D. Forrester 0351e6cb21 Update VE core submodule to master (8c5e78c7f)
New changes:
7b24c338b Fix stale comment
288e6cffd Unbreak tests after Chrome upgrade
61c2bb7c0 Follow-up c7ef30a30f6: append multi-element nodes in the right order
be89723c6 ve.ce.DocumentNode: Documentation fix
7a5288231 ve.ui.DesktopContext: Do not flip the popup
e2b755b9f Localisation updates from https://translatewiki.net.
744af85b0 Update OOjs UI to v0.24.4
8c5e78c7f Comment out broken test after Chrome upgrade

Bug: T182907
Bug: T183590
Change-Id: Ie08c04c137e9927b78642d4b8b75f914f9758187
2018-01-03 16:09:06 +01:00
David Lynch 5bbda2b8c8 ArticleTargetEvents: Track editor mode on save events
Bug: T182610
Change-Id: I8b58bea8e4444478cde4c1340d13ddf97aab8f01
2017-12-14 16:23:08 -06:00
James D. Forrester efaf914617 Update VE core submodule to master (cd6bce192)
New changes:
8f9a3d713 Localisation updates from https://translatewiki.net.
2d9987ade Update RuboCop Ruby gem
3c7276672 Use rel="noopener" on links targeted at new windows
2a1316fcc Don't execute commands twice
3c547f413 Localisation updates from https://translatewiki.net.

Bug: T180878
Bug: T180932
Bug: T182270
Change-Id: Ifdbf40d4bc27f10c30e2e5d03fb569eef754defb
2017-12-07 08:07:39 -08:00
James D. Forrester 9b51a3615b Update VE core submodule to master (789451511)
New changes:
f91a80008 build: Bump Ruby cruft to avoid security warnings for old rubocop
c89c238dc Fix insertion annotations in source mode

Bug: T181726
Change-Id: I92dd60ec3adbe261ce4c47942150bff162b8149a
2017-12-01 15:49:56 -08:00
James D. Forrester 763e5f8078 Update VE core submodule to master (49b182123)
New changes:
3fa757520 ce.Surface: support formatted google docs paste content again
52d849e6b ce.Surface: more tests for Google Docs pasting
49b182123 Update OOjs UI to v0.24.3

Bug: T145252
Change-Id: I5ceeeae946873cd1fdc692ce37c81b22e1973a89
2017-11-28 16:45:42 -08:00
James D. Forrester 15d3a771e9 Update VE core submodule to master (56cfb5d6f)
New changes:
00589df33 ce.ContentBranchNode: Move setNotUnicorning into detach
70a56d30a Destroy CE nodes on removal by onSplice

Bug: T179574
Change-Id: Ib0217c0f089dc9423776805f1bf31f1f16c68beb
2017-11-28 09:54:42 -08:00
James D. Forrester 11993d8822 Update VE core submodule to master (6c0b7407f)
New changes:
c56a4eef5 Localisation updates from https://translatewiki.net.
71da5d798 Localisation updates from https://translatewiki.net.
36811a12e TableAction: Add option for creating a table with a caption
7979ceb97 DebugBar: Debounce onHistory handler
505f06d2e Highlight table caption when table cells selected
3f1cc6cb0 Localisation updates from https://translatewiki.net.

Bug: T181173
Change-Id: Id8999ac2cb15484e9eed7a1db194152d56816420
2017-11-27 08:35:25 -08:00
James D. Forrester 40b118e642 Update VE core submodule to master (cca896ac3)
New changes:
c7ef30a30 Get a ve.ce.BranchNode position's corresponding DOM position
5f9b3f5d1 Localisation updates from https://translatewiki.net.

Change-Id: I3456a20420153b1c31fa39b0541f6b93b7d582ec
2017-11-16 16:07:52 -08:00
James D. Forrester cad54feb77 Update VE core submodule to master (7d7966df9)
New changes:
b879aeea1 git.wikimedia.org removals
f76f117ed Revert "git.wikimedia.org removals"
2f9ce8de8 ce.Surface: on paste, make sure clipboardKey spans don't show up
8d55f4ac9 Localisation updates from https://translatewiki.net.
c82f7171f Localisation updates from https://translatewiki.net.
d9059cd50 Fix visual diff timeout
f1dd4ce13 Update RangeFix 0.2.3 -> 0.2.6
51d90bd19 Update UnicodeJS to v0.2.0
7d7966df9 Follow-up 51d90bd1: Also update README.md

Bug: T121588
Bug: T139089
Bug: T177378
Change-Id: If90a6fee33759be9355d966f9ccd648d2a12003d
2017-11-15 15:07:47 -08:00
James D. Forrester 79c89409f3 Update VE core submodule to master (bf37a87d2)
New changes:
8c9e847f6 Actually use the CE node while waiting for the DM render
bf37a87d2 Update OOjs UI to v0.24.2

Bug: T179870
Change-Id: I41cefdc9d4cfe741193542b3fa48bdae9e65d525
2017-11-07 16:54:11 -08:00
James D. Forrester 603c4dae09 Update VE core submodule to master (a6b982d8a)
New changes:
fd01de26b Fix typo/spelling (use en-US)
c7ed230f1 Convert empty doc to empty string in convertToSource
00e344e09 Localisation updates from https://translatewiki.net.
837c20ac8 Unify SVG markup

Change-Id: I9a5f471632ac7f908d877fa312b7e5280b1e6ba4
2017-11-06 11:16:34 -08:00
Ed Sanders f86766a276 Update VE core submodule to master (6741337)
New changes:
0261c91 Localisation updates from https://translatewiki.net.
5043c49 ve.ui.Surface: Fix documentation for #getDom
d6fece6 Localisation updates from https://translatewiki.net.
5b46356 ve.BranchNode#setDocument: Fix highly misleading comment
0cb8c98 Update OOjs UI to v0.24.1
2b401cf Localisation updates from https://translatewiki.net.
e36f398 Add method for converting plaintext offsets to source-mode offsets
6741337 Fix typo in unit test

Change-Id: I1071faeec586fa2b44be810a35f8044800c8f800
2017-11-04 21:20:19 +00:00
James D. Forrester 9e185b8d54 Update VE core submodule to master (8d1c0d026)
New changes:
8581e9d86 LinearEnterKeyDownHandler: Enter behavior in nested lists
a91e77764 build: Put karma coverage reports in the top-level directory
81a88b4f1 build: Replace JSON code coverage report with clover.xml one

Bug: T108595
Change-Id: Ic5d83417d64126d9a27d46504fc8fcd338cd7f21
2017-10-26 15:57:01 -07:00
James D. Forrester 854120206c Update VE core submodule to master (9b32da86d)
New changes:
9c1134b1b Localisation updates from https://translatewiki.net.
ccf83d4ed Localisation updates from https://translatewiki.net.
a13b7efa5 Fix infinite recursion in standalone diff dialog
cfdb6ac45 build: Bump various devDependencies to latest
4d8f80c6c build: Bump unit test-related devDependencies
385d6119a Scroll to the next highlight after find and replace has replaced text

Bug: T177514
Change-Id: Icb79a79d3bcde9337938d989d7cd93b3a74dd913
2017-10-25 11:29:12 -07:00
James D. Forrester 7f128219b5 Update VE core submodule to master (28e34c1d7)
New changes:
f549faef9 Revert "ve.ui.LinearContextItem: Workaround for T178336"
952faad32 Update OOjs UI to v0.24.0

Change-Id: I76d27222edb29ee9685c7b8807068ac7c99536d9
2017-10-17 18:00:37 -07:00
James D. Forrester a00e921a7a Update VE core submodule to master (ea5179857)
New changes:
f5ffe3713 Localisation updates from https://translatewiki.net.
7a829c165 Fix CSS for context menus after changes in OOjs UI
6d90b80c1 ve.ui.LinearContextItem: Workaround for T178336

Bug: T178324
Change-Id: Ifb4c592b506974d020de64d71388d0f20560b299
2017-10-16 14:56:31 -07:00
James D. Forrester ab41fc154d Update VE core submodule to master (df62df432)
New changes:
539f1fd80 Update OOjs UI to v0.23.4
4dda3b936 Notification for DM node attached/detached
df62df432 Update OOjs UI to v0.23.5

Bug: T162761
Change-Id: Id1a159ecac246dd067b83bbe86f4b163bde83e8c
2017-10-12 14:59:57 -07:00
James D. Forrester 343a701315 Update VE core submodule to master (33e74b92f)
New changes:
33e74b92f ve.ce.Surface: When destroying, blur before disconnecting model events

Bug: T166634
Change-Id: I0f638aff7e46f0972517ad22f5cb97c330298308
2017-10-12 07:12:29 -07:00
James D. Forrester 762bcba783 Update VE core submodule to master (e8188bac8)
New changes:
2043917fd Upgrade DOMPurify 0.8.5 > 1.0.2
aa7b09537 Add <figure-inline> and [srcset] to DOMPurify exceptions
18d96af78 ce.Surface: handle table-adjacent observed selection changes better

Bug: T148679
Bug: T176936
Change-Id: I40bf5210816bc34aa4a13dcf957272cfd44fe07d
2017-10-11 08:15:02 -07:00
Roan Kattouw 48826bd0f0 Update VE core submodule to master (c5c5123)
New changes:
1c8ca38 Don't assume events have an originalEvent object
c5c5123 Localisation updates from https://translatewiki.net.

Bug: T176104
Change-Id: I2e503ee6b3d4484a4f1b3567fde7281bef68a7b9
2017-10-09 13:59:54 -07:00
James D. Forrester 307f6c605b Update VE core submodule to master (4e29d197d)
New changes:
b64a2a6db Replace abandoned colors wo WikimediaUI palette ones
4e29d197d Align `border-radius` to WikimediaUI Base values

Change-Id: I8c1d68346ba189cf77f004553923c21b405a33e7
2017-10-06 18:15:31 -07:00
James D. Forrester 0b574b88b8 Update VE core submodule to master (0c062b9b2)
New changes:
0aa3e79d2 Update OOjs UI to v0.23.3
0c00812bc Localisation updates from https://translatewiki.net.
0c062b9b2 Cleanup target teardown API

Change-Id: I41e07963a6565ed29752645ae8acf64350daa677
2017-10-05 10:26:05 -07:00
James D. Forrester 8c611571d8 Update VE core submodule to master (cb52d8b7a)
New changes:
46c8b6ec8 ce.Surface: in observed selection changes, only make cursorable selections
0c76240a4 Localisation updates from https://translatewiki.net.
cb52d8b7a Follow-up Iea80013: Re-define this.$bounding after GCN re-render

Bug: T148679
Bug: T176766
Bug: T176936
Change-Id: I3b6e156e007a7bdda427225f6c85d1a7ebca3f41
2017-10-02 10:55:01 -07:00
James D. Forrester fb053d1418 Update VE core submodule to master (84ec68dfb)
New changes:
ade04f53b Highlight locale substring match in language search
6b21b1962 Unify monospace font family stack
015d19968 Detach icon before updateInvisibleIcon
5092d2e8c Follow-up Iea80013: $attachable -> $bounding
a564d5ace Localisation updates from https://translatewiki.net.
84ec68dfb Make a clear API for setting inspector padding

Bug: T176636
Bug: T177080
Change-Id: Ia8fea335a41342fcdb86fd691966624ce57e95e3
2017-09-29 12:26:00 -04:00
James D. Forrester a66dc4ad4f Update VE core submodule to master (8184ce0f9)
New changes:
0a45d669c Replace constructive with progressive UI flag
4ff90218d ve.ce.Surface: Fix typo in documentation
605752edb Update OOjs UI to v0.23.2
7bcb9084b Do not setup inline slugs when rendering is locked

Bug: T176762
Change-Id: Ic8b8a0209306e4fabfbffd809d3f203cb1472cc9
2017-09-26 23:12:16 -04:00
James D. Forrester 671501930c Update VE core submodule to master (723b85d6c)
New changes:
02ac1e72b Allow focusable nodes to define an element to be their bounding box

Bug: T176646
Change-Id: I19480544a9e67d29ef92ffaf2ed3ca4c733b733d
2017-09-25 13:16:51 -04:00
David Lynch 8b1370f1d7 Update VE core submodule to master (0ec5fe55f)
New changes:
46f521752 Use findFirstSelectableitem instead of getFirstSelectableItem
3a64969b9 Setup slugs in TreeModifier
86c4df845 Update OOjs UI to v0.23.1
74c1020e1 Surface: reset selection when popping staging
754c5cf63 Localisation updates from https://translatewiki.net.
55955bdff Use diacritic insensitive search in language search dialog
deaf03272 Localisation updates from https://translatewiki.net.
8d639dcd8 Make IME tests more consistent across test environments

Bug: T166134
Bug: T175852
Bug: T175943
Bug: T176453
Change-Id: If101bd348a659d2954b28ca4b94dac66b8197ce3
2017-09-25 10:43:14 -04:00
James D. Forrester 3b78edae26 Update VE core submodule to master (75726b850)
New changes:
c23696d7e ve.ce.Surface: Make attribute resolution consistent with ve.ui.PreviewElement
a45d6fc3e Localisation updates from https://translatewiki.net.
7070899bd Follow-up a45d6fc3: Add 'tay' language to build to unbreak the repo

Change-Id: I684b6ca6a99292fc653d8efdf8e99db2655ae057
2017-09-18 16:10:07 -07:00
Ed Sanders 31122758bb Remove unused polyfills from EasyDeflate lib
Base64 and TypedArrays polyfills were required to
support IE9, but VE now requires IE10.

* http://www.caniuse.com/#feat=atob-btoa
* http://www.caniuse.com/#feat=typedarrays

Change-Id: I311a16f98fb1d091f55dda52d97bebfc012e2a14
2017-09-15 15:57:55 +01:00
James D. Forrester f07b6e72cb Update VE core submodule to master (05439f5b7)
New changes:
8c64fe2b5 VisualDiff: Show minimal moves in diff
85a6489ee Localisation updates from https://translatewiki.net.
c20e589d5 Fire position event when direction is changed
32bc67544 Fix AuthorListPopupTool's surface setting
7ff9a3a4e Correct inheritance for CommentInspector actions
05439f5b7 ui.TableLineContext: fix z-index for menu

Bug: T169389
Bug: T171451
Change-Id: Ib8046bd830572829541946f3539a9fcb447cf76f
2017-09-14 14:24:03 -07:00
James D. Forrester 82469cccf1 Update VE core submodule to master (7028f79aa)
New changes:
dd2251b73 Capture format* inputTypes
d5a375850 Follow-up 8e795e4331: Fix typo in HistoryTool#onSurfaceChange
307746d50 Follow-up Ifcc2e6f: Emit surfaceChange after tool setup
71f2586f6 Make ve.dm.Change part of core module
0053801c7 Remove server-only scripts from visualEditor.rebase

Bug: T175734
Bug: T175828
Change-Id: Ie011224ce5d6474b37961b32d057861929c3ffb5
2017-09-13 08:29:52 -07:00
James D. Forrester 7dcf2474c2 Update VE core submodule to master (dafc7bbe5)
New changes:
4aadbc518 Remove 'return' mapping as it is aliased to 'enter' below
0942f2071 ve.ce.BranchNode#splice: disconnect nodes fully

Bug: T175548
Change-Id: Ifa0933b9dac377fc8f038f6586e82c2f94473639
2017-09-12 11:26:09 -07:00
Ed Sanders faf852f335 Update VE core submodule to master (f88cd00a6)
New changes:
c1c38136d ui.TableLineContext: adjust positioning
37d0c2747 Trigger proper undo/redo when inputType=historyUndo/Redo
8b7fc6fcc Make special keys translatable

Bug: T175417
Bug: T175449
Bug: T175634
Change-Id: Ic663108ff19ea90adc9b033f6df1f0feac7994a6
2017-09-12 09:27:02 -07:00
James D. Forrester 92ca696f5a Update VE core submodule to master (02a2ea954)
New changes:
5b0c644ce Localisation updates from https://translatewiki.net.
20075fa86 Rebaser: Rename author to authorId consistently
e70a4632e lint: Remove unnecessary parentheses
358ef33da ve.ui.Surface: Documentation type hint fix
4b1eec402 Localisation updates from https://translatewiki.net.
2fabe9fe8 i18n-bot fix
02a2ea954 Fix editing figcaptions in Firefox

Bug: T174774
Change-Id: I6beaa9ba8b266b5b53bd6ddc3301ff52ce69bbd5
2017-09-11 13:17:38 -07:00
James D. Forrester d9739c0b2e Update VE core submodule to master (834fd702f)
New changes:
86bd6c879 Localisation updates from https://translatewiki.net.
6d7a4cef0 Update OOjs UI to v0.23.0
37d1512a7 TransactionProcessor: modify DM tree branches instead of rebuilding them

Bug: T162762
Bug: T166041
Bug: T167027
Change-Id: Idfaa990dd940e26d7d572513220282bc97ca65fa
2017-09-06 13:44:33 -07:00
James D. Forrester a18508e7e4 Update VE core submodule to master (7a8829509)
New changes:
4523b11c0 Make RebaseServer asynchronous
2eb09b6ba Localisation updates from https://translatewiki.net.
c806b7131 Remove execute mode from non-executable
622c62c9e Follow-up 2eb09b6b: Add kab to build to unbreak the repo
b69e4ba1c DiffElement: Fix insert/delete-to-end loops
8c6dfdde9 FocusableNode: Redraw highlights using focus toggle
2bded2d16 Debounce FocusableNode#redrawHighlights
3cb7844b1 Localisation updates from https://translatewiki.net.
fb13239b2 VisualDiff: Don't diff close elements
7a8829509 Localisation updates from https://translatewiki.net.

Also, exempt the Rebaser ES6 code from jsduck, as we do in VE itself,
because jsduck doesn't understand ES6 syntax.

Bug: T129541
Bug: T171862
Bug: T173860
Change-Id: Ia08022afb0b94b8a6907f97b161bc04d8a210232
2017-08-31 11:39:36 -07:00
James D. Forrester 5ad4f6f7ff Update VE core submodule to master (d7bb71b95)
New changes:
1a726e3ed VisualDiff: Show internal list remove-inserts
94532edbf Update OOjs UI to v0.22.5
feb2ca706 Don't try to close context while opening

Bug: T171377
Bug: T173077
Change-Id: Ifced78dd25c218d671e1bb4d08ee7494ec0bf808
2017-08-23 08:22:27 -07:00
Umherirrender 9108ac69ee Update VE core submodule to master (6111ca575)
New changes:
6111ca575 Use json extension for .stylelintrc

Local changes:
Use json extension for .stylelintrc

Bug: T173516
Depends-On: Iba3b6cb37c458e896ade0f3a57a02540b4b4a0a0
Change-Id: I977ac6816e97cfb37bb2e0187e9d148bdb2148af
2017-08-21 11:28:34 -07:00
James D. Forrester a09ab8d679 Update VE core submodule to master (72cc043b7)
New changes:
c0ce8519c ce.GeneratedContentNode: helper for waiting for generation
fec19de11 Use version 0.5.0 of eslint-config-wikimedia
5716d2bb2 Localisation updates from https://translatewiki.net.
385d925ed Follow-up 5716d2bb2c: Add ko-kp to build to unbreak the repo

Bug: T168932
Change-Id: I50fcf1cb3f517b50dc373243dd876bc117030790
2017-08-21 07:32:53 -07:00
James D. Forrester b296882bb8 Update VE core submodule to master (4314b9ead)
New changes:
4ff864094 VisualDiff: Merge old internal list into new document
4314b9ead ve.ce.BranchNode.css: Correct dated comment about styling

Bug: T173100
Change-Id: I68d95d0ce809481f45583eac5d9f4562826b2314
2017-08-12 17:22:19 -04:00
James D. Forrester b8c81778ad Update VE core submodule to master (81a4760ea)
New changes:
e100628de build: Ignore package-lock.json for fewer surprising npm outcomes
3764b2c60 Localisation updates from https://translatewiki.net.
c62271fbd Localisation updates from https://translatewiki.net.
8517f4c0a Localisation updates from https://translatewiki.net.
0ca19ca2c Localisation updates from https://translatewiki.net.
79cfd3119 Follow-up 0ca19ca2c6: Add skr-arab to build to unbreak the repo
81a4760ea VisualDiff: Refactor for historical diffs

Bug: T170269
Change-Id: I4ed78533be41317e12cd1d94af902323475af68b
2017-08-10 16:04:30 -04:00
James D. Forrester 694681b336 Update VE core submodule to master (18ae4004f)
New changes:
887ebb1a4 Clarify comments that certain 'html' parameters must be whole documents
cc50757ee LinearTabKeyDownHandler: Abort if modifiers are used
23f70f760 jsduck: Explcitly name library files so we don't pull in CSS files
18ae4004f Update OOjs UI to v0.22.4

Bug: T171600
Bug: T172168
Change-Id: I2510174db0f650113702674e37e768aa558f02cc
2017-08-01 15:11:26 -07:00
James D. Forrester 57636de7ab Update VE core submodule to master (4d6745b2f)
New changes:
d7ca44b84 Localisation updates from https://translatewiki.net.
addd343a0 Localisation updates from https://translatewiki.net.
0ca48126b Abstract definition of type equality when comparing inline nodes
8c9e9dd0a Disable Grammarly
9eb3f29cb Don't throw an exception if observed annotation is alien to us

Bug: T165746
Bug: T166801
Change-Id: I6b8f60432352c468e8c3f2946802ac33d1e9604f
2017-07-31 12:08:26 -07:00
James D. Forrester f84a931a4e Update VE core submodule to master (f444fa19b)
New changes:
d23bd1e79 Localisation updates from https://translatewiki.net.
71807dedb Localisation updates from https://translatewiki.net.
fdac5539b Doc comment improvement to ve.ui.LanguageInputWidget.
22f2e8531 ve.ce.Surface: Fix lint error
66cbb1c34 Remove unnecessary mixin from standalone image caption node
3bed3398c Default table cells to ce=false, and always set ce state to editing state
22e4c16dd Generate heading1-6 commands in a loop

Bug: T171728
Change-Id: I02883793afb120cd3751988bb11b4068af0bd317
2017-07-26 16:54:58 -07:00
James D. Forrester e9aa31b9b6 Update VE core submodule to master (be80158a9)
New changes:
e5603a38f Fix indentation of internal list diff spacers

Bug: T171055
Change-Id: I2c646baafd525bfea581e3882ec977885f8c3b65
2017-07-20 12:32:41 -07:00
James D. Forrester f9fc275877 Update VE core submodule to master (154f192b3)
New changes:
86913b32a build: Upgrade QUnit to 2.x
af71dc077 tests: Simplify Platform test beforeEach/afterEach logic
951fd9293 build: Upgrade grunt-eslint from 19.0.0 to 20.0.0
e3bb4aa55 Unset surface active node if destroyed
ca5fddf9b tests: Move QUnit fiddles to VE-core-only file

Bug: T170585
Change-Id: I741bc01734922e9df15fbab870000ffaa173110e
2017-07-18 12:31:26 -07:00
James D. Forrester 6b2909a9e5 Update VE core submodule to master (31ed22557)
New changes:
9ba233409 VisualDiff: Use <del> and <ins> on whole paragraphs
8d9068029 Update OOjs UI to v0.22.3
9a0582038 Use white-space:pre-wrap for text changes
d12bb03d7 Avoid deprecated QUnit.asyncTest() in ve.init.sa.Platform.test
a0a86ff48 tests: Avoid deprecated QUnit.push()
91e20c05c Localisation updates from https://translatewiki.net.

Bug: T170114
Bug: T170136
Bug: T170585
Change-Id: I50c45fc9826a21810ebd4f4fed5f7b0acb341d13
2017-07-16 13:49:54 -07:00
James D. Forrester 19c95f93a9 Update VE core submodule to master (c9b0d1a23)
New changes:
56e7afa47 Follow-up I93bb2b5dcc: Insert newline if fragment ends in '/paragraph'
70b378298 Workaround for Flow bottom toolbars conflicting with inspectors
c9b0d1a23 Workaround for nested toolbars hack being terrible

Bug: T169076
Bug: T169617
Change-Id: I69dd105d26edcbec8136fbafd337462478ab3349
2017-07-10 15:25:24 -07:00
James D. Forrester 6b116701f0 Update VE core submodule to master (b76c9699b)
New changes:
cc1214901 Fix word wrapping CSS in source mode
fed88cc3a Localisation updates from https://translatewiki.net.
d648467a5 DiffElement: hide strikethrough on hover
0428407a0 getSourceText: Fix edge case

Bug: T159271
Bug: T169851
Bug: T170133
Change-Id: I942e3cf4251d6435cadceae92680e8d471966efa
2017-07-10 08:32:44 -07:00
James D. Forrester ace9bb6348 Update VE core submodule to master (5d7b23762)
New changes:
34999f2ce Move linear model -> source text conversion to ElementLinearData
a2ab4fa95 build: Bump grunt clean and stylelint to latest
dab49847a Fix infinite loop in ve.BranchNode#getNodeFromOffset
b4319e29d LanguageInputWidget: optionally suppress directionality input

Change-Id: I800085eb3a5f7332eab356b62a34bfc603a29839
2017-07-07 16:15:27 -07:00
James D. Forrester 37088376d4 Update VE core submodule to master (1934b77e7)
New changes:
2ffadb015 ui.FormatAction: fixup selection for empty conversions
eb1c82b57 Minimal demo: update deprecated TextInputWidget
e9951799c Localisation updates from https://translatewiki.net.
7e80419bb ve.fixBase: Fix protocol-relative base href for Chrome
6b0fa8b40 Localisation updates from https://translatewiki.net.
a4a0be2da ve.ui.TableLineContext: restore the z-index hack

Bug: T151594
Bug: T167936
Bug: T169389
Change-Id: If9c8208f4c549800488acc799c677875bd233283
2017-07-06 13:40:38 -07:00
David Lynch 12f681a19d Update VE core submodule to master (65ea4cf36)
New changes:
7b9f264b6 Localisation updates from https://translatewiki.net.
52e9cc349 Update OOjs UI to v0.22.2
65ea4cf36 ui.WhitespacePreservingTextInputWidget: inherit from MultilineTextInputWidget

Bug: T169272
Change-Id: I37987fec09a340a14eedd3535fcb48bea265823c
2017-07-03 17:12:12 +00:00
James D. Forrester d7747cb913 Update VE core submodule to master (b528a5321)
New changes:
44d2d666c Remove custom icon sizing from block slugs
793d131f9 Ignore covering annotations when looking for plain text pastes
b0025f3ab dm.Document fixupInsertion: check suggestedParents as well
73ce638f1 ve.ui.TableLineContext: Fancier popups
9d54d531e Visual Diff: add internal list diff
4f4e121b5 DiffElement: Add hacky support for template-defined references

Bug: T153315
Bug: T162819
Bug: T164017
Bug: T165865
Change-Id: Id7c434af397367f4f9e12a8f4cc282b1500c7054
2017-06-28 20:34:21 +01:00
James D. Forrester 027259584d Update VE core submodule to master (b3ce1967f)
New changes:
217103924 ce.TextState#getChunks: Use instanceof to check for LeafNodes

Bug: T167009
Change-Id: Ic356ce49b4f12bcfc4f6f70361f929d3ec283a19
2017-06-27 16:47:42 +01:00
Bartosz Dziewoński cb193512ce Update VE core submodule to master (b3a7707)
New changes:
8ec8049 Make sure the toolbar is shown on top of surface contents even when not floating
16a0486 VisualDiff: Fix doc child replacement
43346ea Localisation updates from https://translatewiki.net.

Bug: T166801
Bug: T167616
Change-Id: Ie4f1f74a09493e4154eb865c757e9fc158a3c03d
2017-06-27 15:15:12 +00:00
David Lynch 9ded195f7e MWTransclusionDialog: fix conditions for "show options" button disabling
As I understand it, the button should be enabled whenever there's more than
one option in the sidebar, and disabled otherwise. The previously chosen
conditions weren't perfectly proxying this, and the button would be disabled
whenever editing an already-existing transclusion.

Bug: T167710
Change-Id: Id303b680c072642ae7b66066e28ecc9f1dc90fd7
2017-06-22 17:58:52 +01:00
James D. Forrester 2b8f22cf31 Update VE core submodule to master (a25e5de67)
New changes:
310a7819b Follow-up Id3f663ea6: Use filter function instead of remove
c69b19852 Factor out link/style tag filtering into ve.filterMetaElements
6ceab6412 Localisation updates from https://translatewiki.net.
7729b3d64 Follow-up I086d7243: Support placeholder config option for target widget
086e142c3 Fix padding in TargetWidget
211e4be22 Allow multi-line placeholders on ui.Surface's

Bug: T168450
Change-Id: I61a0b2f2e62f882d2db36b0cfa9f86a6ea306dc7
2017-06-20 16:49:36 -07:00
James D. Forrester 58750e2d1b Update VE core submodule to master (f2e03ee6f)
New changes:
bab55c44c Use absolute URLs in diff tests
fb367a07e Localisation updates from https://translatewiki.net.
ef248756c TriggerRegistry: Remove ⌘+M shortcut for removing styling on Macs

Bug: T167898
Change-Id: Iefab4deb66621cc62bb48b368061b30a4eecd1c1
2017-06-16 08:39:21 -07:00
James D. Forrester 6c201ae51a Update VE core submodule to master (8b8bc2f70)
New changes:
74b7e109b Allow special character items to be marked as source mode only
c0cd7624f Localisation updates from https://translatewiki.net.
edb1f05d8 [DEPRECATING CHANGE] Make Target#parseDocument static
a3348fdad Fix check for CSS overflow on focusable nodes
f6cbe23fc ve.fixupBase: handle Safari behavior

Bug: T154113
Bug: T166593
Bug: T167438
Change-Id: Ia5739d5eda2e71da889de34a3a5dcc759512ce70
2017-06-12 12:33:34 -07:00
James D. Forrester 295744b071 Update VE core submodule to master (aec7813fb)
New changes:
7989d8c27 Rename local variables to distinguish between DM nodes and orderedNodes
fde924971 Localisation updates from https://translatewiki.net.
f07dede07 DiffElement: Pass through config argument
f4b755c4c Fix mixing in of TableCellableNode to AlienTableCellNode
f0f5692eb Remove unused table editor CSS
975bb09b8 Remove unused MWImage-specific CSS
baddb48dc Remove unused filibuster CSS
38baa16a2 Don't let jQuery 3 remove top-level text nodes from generated content

Bug: T167150
Bug: T167335
Change-Id: I51911e404ca32292a9db4bd5d8b0627368177df4
2017-06-07 13:38:24 -07:00
James D. Forrester 5f40a9404a Update VE core submodule to master (05375f324)
New changes:
c70177952 Update for deprecation of OOjs UI openWindow/closeWindow promise

Change-Id: I33a9b5206f05a88bcfeaa6f5ceac8c5381d9a4e3
2017-06-01 17:32:52 -07:00
James D. Forrester ea3997d3f2 Update VE core submodule to master (cd4e0fa2d)
New changes:
839311756 Add missing icon set 'layout'
66634c032 Add missing icon sets to rebaser demo
2e8bca7b9 Localisation updates from https://translatewiki.net.
cd4e0fa2d Depend on 'movement' so we have arrows in the find and replace dialog

Change-Id: Idd888df1d59fe13cb982610d0e465ab87f61362a
2017-06-01 07:50:31 -07:00
Ed Sanders c7221988a1 Update VE core submodule to master (8be817396)
New changes:
26085a853 Make author list a ListPopupTool
c4ea53eef Update OOjs to v2.1.0
8c94697f3 Update OOjs UI to v0.22.0
cdebc4817 Follow-up 8c94697f: Actually commit the icon changes I had locally
8be817396 Update OOjs UI to v0.22.1

Local changes for author list popup

Change-Id: I36bcaf122528a4a12882aaff3b33ef936082a391
2017-05-31 17:48:45 -07:00
James D. Forrester 96101cd1eb Update VE core submodule to master (9cd18424b)
New changes:
e2015a75c tests: Cover ve.util#isUnattachedCombiningMark
ae96355e0 Prevent massive loop by binding to the wrong method
e0b9a8100 Localisation updates from https://translatewiki.net.
57976e7a3 tests: Cover ve.util#sparseSplice edge case
1e95414a6 tests: Cover ve.util#getCommonAncestor zero node case
adc4aa750 tests: Cover ve.util#getCommonStartSequenceLength zero sequences case
9cd18424b tests: Cover ve.utils#isUriComponentValid and #safeDecodeUriComponent

Change-Id: I14b8c193d66ed2a23b27336e6a10aa0ecd44e1c3
2017-05-30 10:50:10 -07:00
James D. Forrester c6ff566219 Update VE core submodule to master (c78bd8d9b)
New changes:
b611769cd describeChange can be null
59a76fbcd dm.Change: Update store length tracking when adding to history
8f4b2339a dm.AnnotationSet: Throw an exception when constructing with missing indexes
df2319c4e Don't add transactions to stack until they've had a chance to fail

Bug: T159384
Change-Id: Iaed05c9b08c92f8a7488ab24bc139b99e3913819
2017-05-29 18:17:35 -07:00
James D. Forrester 1bb69b7f2c Update VE core submodule to master (0c243838f)
New changes:
d21e8e93f Revert "TransactionProcessor: modify DM tree branches instead of rebuilding them"

Bug: T165965
Change-Id: Ic28e0a8f8e45217b1f1ce89dbfaab3d16198069b
2017-05-22 13:14:03 +02:00
James D. Forrester 7e72163ea8 Update VE core submodule to master (c00d2fa38)
New changes:
95ba60c60 RebaseServer: When rejecting, publish the top of the history instead of the top of the rejected change
bb71b76d8 ce.BranchNode: Handle splices next to text nodes
d1300c6e6 ve.Node#attach: set document before root, rather than after
df6113771 summarizeTransaction: hide null author
b6f45436d rebaser: Prevent submissions before initialization
ac71b0ea6 Add ve.ce.View#initialize to eliminate constructor/onSetup duplication
45cd82bd7 Render HTML attributes in ce.View#initialize rather than in the constructor

Change-Id: I4d61f40247fdab60bdc2e1b23f30ffee4c8ab8dc
2017-05-21 15:49:07 +02:00
James D. Forrester afa929cc46 Update VE core submodule to master (69d8607cf)
New changes:
8bd2e1ffc ui.DebugBar: Transaction log
b3ad56e0e rebaser: Focus surface on load
69d8607cf Localisation updates from https://translatewiki.net.

Change-Id: I5e64845ccfcb82621b66e02e3a346ef4ef67426a
2017-05-21 10:39:42 +02:00
James D. Forrester e9dc87a124 Update VE core submodule to master (2a8f71d02)
New changes:
1caf22c92 Localisation updates from https://translatewiki.net.
2add169fd demo.minimal should use getInitializedPromise
44fd23bdc rebaseUncommittedChange: remove weird duplicated selection update code
0c35c6390 Rebaser: Start on i18n
2a8f71d02 ce.ContentBranchNode#destroy: Also call parent

Change-Id: I1fd0b4c90cc9f29f842c09ad5dbf2ac52518182a
2017-05-20 21:08:19 +02:00
James D. Forrester 1ffb299f18 Update VE core submodule to master (ee59e9d33)
New changes:
d336169fe rebaser: Don't spam the entire document into the log on initialization
1963a9993 ve.dm.SurfaceFragment#delete: Don't pre-build a sequence of transactions
6c915f305 TransactionProcessor: modify DM tree branches instead of rebuilding them
8773258bb ve.dm.ElementLinearData.test: Cover compareElements
7a073c78f RebaseClient: Don't log empty rebases in acceptChange
5adce57ea rebaser: Implement author names
78c7beecb rebaser: Tidy up author list UI
85d26f491 Get minimal diff when word starts/ends the paragraph
ca273a56c rebaser: Move author list to widget
ab693bead rebaser: Show active user count

Bug: T160795
Bug: T162762
Bug: T165772
Change-Id: Ibd21e6a78c3958db1c0ec8f0317c4c07f3fa5735
2017-05-20 12:29:48 +00:00
James D. Forrester 0eecaf42e1 Update VE core submodule to master (de3447ce5)
New changes:
de3447ce5 Update OOjs UI to v0.21.4

Change-Id: Ibb13bce32090a8aab01bc5d82d87dfa2a98ac16e
2017-05-17 19:52:24 +01:00
James D. Forrester 6e77dfe7cb Update VE core submodule to master (45aa796b3)
New changes:
c54d06474 Add class to TableCellableNode and move some styles there
fd9e1059d Remove 'cellable' attribute

Change-Id: I186e7b0b61ac920c309f9aa0c40db7244849c0ec
2017-05-15 17:41:15 +01:00
James D. Forrester 20e9740714 Update VE core submodule to master (8e29310db)
New changes:
e7e9e0ba3 TableAction: Handle non-TableCell cells better
9537931cb ve.ui.TableAction: Don't pre-build sequences of transactions
c5f0d7ce1 Process transaction before selecting nodes for annotation events

Bug: T144122
Change-Id: I97ec7e8a4ca92ab74783622c610595e415238e96
2017-05-15 09:56:01 +01:00
James D. Forrester 79d15b18b8 Update VE core submodule to master (347765f82)
New changes:
8155f98fd Upgrade tree differ to support timeouts, and handle them
f36fcb6c9 Update OOjs UI to v0.21.3
2496f0521 Localisation updates from https://translatewiki.net.
7212fc4ab MobileContext: Fix alignment of label and description
865b2fcc7 VisualDiff: Bring in close dialog fix from downstream
822855b50 Expose arguments in DummyPlatform.getMessage for more thorough tests
cda556554 VisualDiff: Show attribute changes for inline objects

Bug: T164724
Change-Id: Id51a927b540ea55abc1187f3556ad3052afe2453
2017-05-11 12:43:17 -07:00
James D. Forrester 229d6cdf3b Update VE core submodule to master (fbeb0db2c)
New changes:
d61440346 Add logging to the rebase server and client
d1d2539ae rebaser: Add script to convert a log file to a test case
0896d5f05 lib: Update README files for OOjs and OOjs UI
045ae87fb Localisation updates from https://translatewiki.net.
04b276e16 VisualDiff: Make annotation whitespace trimming configurable
dd04912e5 Localisation updates from https://translatewiki.net.
11fc30709 MobileContext: fix button spacing
7898acd0b Fix typos and minor lint issues
4e3e2deb9 Avoid using the global namespace in test files
1ed81efa1 build: Update eslint to 0.4.0 and make a pass

Bug: T163473
Bug: T164166
Change-Id: I4bab4260d6b05ff0277cacd167186336acc02080
2017-05-10 10:02:54 -05:00
James D. Forrester 84ec8739e3 Update VE core submodule to master (3b8a164a3)
New changes:
c61044a89 tests: Cover LinkAnnotation#getFragment()
a18e7bd75 tests: Cover <bdi> tags
4e6b991e2 VisualDiff: Don't describe internalItem changes
572ca6d09 VisualDiff: Don't try to render empty node changes
f794e511e LinkAnnotation: fix getFragment behavior
a5deb2b73 tests: Test rich annotations' describeChange()
88e1493a9 [BREAKING CHANGE] QUnit: Remove all code for counting tests
bbabdc425 Remove eslint:fix
31e6b40ce ve.dm.ElementLinearData.test: Cover getAnnotationIndexesFromOffset
97f7eda77 Transaction#isNoOp: Simple code is simple
dd97c627b MergeCellsContextItem: Make sure we're on a TableSelection

Bug: T163945
Bug: T164199
Change-Id: Iba64f64373e05f2dbe56d07dc9e8a8fe282887a9
2017-05-01 11:31:21 -07:00
James D. Forrester ca512cf4a1 Update VE core submodule to master (15d5124ee)
New changes:
15d5124ee TransactionBuilder.test: Don't use `static` as the variable name

Change-Id: I498232ba215b4c0511eb67cfb078fa01645963d9
2017-04-26 10:51:05 -07:00
James D. Forrester b534e8c735 Update VE core submodule to master (5936b9521)
New changes:
f1d1ddda4 Fix typo in newBlankDocument
b01a800d6 Update OOjs UI to v0.21.2
87621a9ee Add paragraphType parameter to newBlankDocument

Change-Id: Iebac082fc509be4938ab8e13ec06f01f9ccff20d
2017-04-26 10:18:35 -07:00
James D. Forrester 58474dcf8a Update VE core submodule to master (00f0a0bf8)
New changes:
04c3aa3aa [BREAKING CHANGE] Remove deprecated TransactionBuilder aliases

Change-Id: I38affac50ff2f2394c6f304451bda61f7f5db3d5
2017-04-24 11:28:19 -07:00
James D. Forrester 53dbdbe973 Update VE core submodule to master (7b494035e)
New changes:
705f9df8d Node/NodeFactory: Minor documentation fixes
28aa7b6ca Refactor newFromAnnotation & addAnnotationsToData
d5c2fdbfe FragmentInspector.css: Fix documentation typo
7b494035e Localisation updates from https://translatewiki.net.

Bug: T162278
Change-Id: I77a5f9badabb91196cc8aa18e8224da7c06660d4
2017-04-24 11:10:37 -07:00
James D. Forrester bef15b7a1e Update VE core submodule to master (bfb35aaef)
New changes:
57f8064b6 tests: Enforce dm unit test coverage at 20% per file and 80% globally
6f757c670 LinkAnnotation: add a getFragment method for consistency with MWInternalLinkAnnotation
c40a3f152 Drop the classList polyfill for IE9
d1af6c6bb Update OOjs UI to v0.21.1
bfb35aaef Localisation updates from https://translatewiki.net.

Bug: T162277
Change-Id: I5146bc421bb88e56bafadccefc7bbdee106504ea
2017-04-20 09:48:46 -07:00
James D. Forrester 3a382e6398 Update VE core submodule to master (fc46ed86f)
New changes:
719f8c667 ve.ce.DocumentNode: toggle all contentEditable properties, not just the outer one
35cadd7db Introduce single-line mode for surfaces
41fe321b2 Restore pointer-events comments for IE10 support
42f556820 Upgrade to jQuery v3
c1b8f142c Pass toolbarConfig position to actions toolbar by default
0d4c6a5fc Fix styling of table context in MW theme
db6eb4ebf Localisation updates from https://translatewiki.net.

Bug: T161944
Bug: T162808
Bug: T162830
Change-Id: I9b11673b4a77b7aebcdc282953d83ade08a8d8bd
2017-04-17 11:25:00 -07:00
James D. Forrester f935a952df Update VE core submodule to master (e4540d87f)
New changes:
57c61dcf8 VisualDiff: Ignore un-rendered modified elements
d426f8066 Tweak document padding
0d19e0640 Follow-up 16231a81: Fix typo in update-oojs-ui.sh
a611080f0 Update OOjs UI to v0.21.0
6f4d44ea6 tests: Switch to use mocha for reporting

Bug: T162622
Change-Id: I329a0b4525120f6bebe0ef5ff608eae4461a17a8
2017-04-12 16:31:02 -07:00
Ed Sanders 7a66d4f08a Update VE core submodule to master (1338c50f5)
New changes:
ae0204885 stylelint: Remove no-unsupported-browser-features overrides
d744cd576 Localisation updates from https://translatewiki.net.
1338c50f5 [BREAKING CHANGE] Remove resize handlers from within DiffElement

Local changes:
Trigger diff element resize on dialog resize

Depends-On: I82a67a4309bf76db5407ea38c26c47d14c01e921
Change-Id: I912a99edca25ff576e2872723f91afe54e36a170
2017-04-10 10:29:18 -07:00
James D. Forrester d1c24ce226 Update VE core submodule to master (da9c49395)
New changes:
dc0cad28c tests: Factor out ve.dm.TestRebaseClient/Server into their own files
98061108b Convert RebaseServer tests to data provider
3e746a51b Update OOjs to v2.0.0
16231a812 [BREAKING CHANGE] Drop support for Internet Explorer 9
64daeb4b5 Localisation updates from https://translatewiki.net.
3310e876c Update DOMPurify to 0.8.5
579033a83 Follow-up 16231a81: Drop IE9 support in createDocumentFromHtmlUsingIframe

Bug: T162277
Change-Id: If17c6a3fac0920db29f80069f344ffd6be46c3c9
2017-04-10 08:32:51 -07:00
James D. Forrester aa5728141d Update VE core submodule to master (19a6c389c)
New changes:
5082dcba0 Localisation updates from https://translatewiki.net.
19a6c389c Remove DiffElement DOM element when destroying

Bug: T161877
Change-Id: Iaa162c5f87fb81136d35b8a5c81034398116583e
2017-04-04 10:41:59 -07:00
James D. Forrester 7b992e1cfa Update VE core submodule to master (a6c25d08e)
New changes:
803e45655 Serialize/deserialize for Transaction and IndexValueStore
fff77990b build: Bump various devDependencies to latest
d926b3bed Update OOjs UI to v0.20.1
50cbc8af5 Fix disabling of surface
f2223fcdb Localisation updates from https://translatewiki.net.
daf59c3af ve.Node: Fix getRoot/getParent/getDocument documentation
8d877214f Update OOjs UI to v0.20.2
2ceaa8e23 ve.ui.Sequences: Allow optional execution after pastes

Bug: T161152
Bug: T161611
Change-Id: I07deafbfce86af99fce7db6501e43a62a330911a
2017-03-30 23:11:32 -04:00
James D. Forrester 51dbeca930 Update VE core submodule to master (495cd7d65)
New changes:
e0651b2df Move -hasDescriptions class toggle into #renderDiff
94dbb244d Fix dm.BlockquoteNode to inherit from ContentBranchNode
8715f7be7 Remove superfluous setting of canContainContent when inheriting from CBN
88e5b918d Replace instanceof ContentBranchNode with #canContainContent
c4b404408 DiffTreeNode: Use getters for type and attributes
869f3d34a SurfaceFragment: Avoid double-annotating in insertDocument, as well
931bd2410 Localisation updates from https://translatewiki.net.
f0cdae3ab Disable double-click & enter on focusable nodes when model is not editable
cb9ba7137 sync-gh-pages: Add .nojekyll file
495cd7d65 Re-apply "Remove $returnFocusTo hack now null is supported upstream"

Bug: T143261
Bug: T161262
Bug: T161547
Change-Id: I1a54293f9a2e0b27adc4fa0708b8dc1fdcca16b0
2017-03-28 10:50:20 -04:00
James D. Forrester e996d44e72 Update VE core submodule to master (7b51cb6ab)
New changes:
f887e6b7a Only show branch node rebuilds in inputDebug mode
81ff8b246 Localisation updates from https://translatewiki.net.
e09334387 SurfaceFragment: avoid double-annotating in insertContent
7b51cb6ab DiffElement: Resolve URLs in links and target at new window

Bug: T143261
Bug: T160939
Change-Id: Iede559dbd2d9b42d904ccab329d311780a758477
2017-03-24 14:33:48 -07:00
James D. Forrester 68395ed7d5 Update VE core submodule to master (0cc3ded3d)
New changes:
9e27aeaed When indexing originalDomElements for ve.dm.Annotations, disregard child nodes
ce3618d86 DiffElement: Ensure del/ins tags encapsulate annotation changes
0cc3ded3d i18n: Add a default alignment value

Bug: T160839
Change-Id: If8500f521f1347daa87a7583e231c1dcbe1525d5
2017-03-22 18:45:58 -07:00
James D. Forrester 551b601548 Update VE core submodule to master (f294778e6)
New changes:
642e86498 Localisation updates from https://translatewiki.net.
98608eb3d ce.test: Use nodeType constant
8e795e433 Fire a surface change event from the toolbar so tools can rebind

Bug: T160906
Change-Id: I9c3c65b43f3209049ba0ca7e587cc39fffc413d2
2017-03-20 08:37:41 -07:00
James D. Forrester 8f4802b7f1 Update VE core submodule to master (a63435906)
New changes:
dcff78aa0 Pass element to describeChanges
51bc2139f Move diff cleanup to ve.DiffMatchPatch
92f3219e2 Use diff_match_patch action constants for better readability
0ff1f053f VisualDiff: Merge remove+inserts separated by whitespace only
5255ac49c Ensure inline node changes are balanced and minimal
a63435906 i18n: Add param documentation in qqq for some recent keys

Bug: T160632
Bug: T160729
Bug: T160740
Change-Id: Iacb47e849004fe52c1edb0ba09c26ac3f03cc06d
2017-03-17 23:16:18 +00:00
James D. Forrester ff888f3b44 Update VE core submodule to master (ac6d7031c)
New changes:
80b31eddb Update treeDiffer.js library
96619eefb DesktopContext: on destroy, tell our popup to stop positioning
8dadf74f1 ve.ui.DesktopContext: Prevent hiding of the context popup

Bug: T160190
Bug: T160197
Change-Id: I3a09d528aae15b1be008f27803211f4ecd70947a
2017-03-16 17:38:45 -07:00
Ed Sanders 12c73bc01f Update VE core submodule to master (ef5dc965f)
New changes:
4b94f212e Add tool to change directionality of document view

Bug: T153356
Depends-On: I1e3d89e8250b75d0b6992cf4664e84de66d99bc0
Change-Id: Ic832cc661a0899b1668eb650fb09b66ada54d1ef
2017-03-16 12:42:42 -07:00
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