Commit graph

864 commits

Author SHA1 Message Date
James D. Forrester 3f3849261a Update VE core submodule to master (e2ce88ff1)
New changes:
424c47fc8 Remove duplicated usage of article "the"
677052c92 Localisation updates from https://translatewiki.net.
806b221af ve.dm.Document: Replace empty nodes after inserting non-text data
9758fd70f Replace Bugzilla numbers with Phab numbers
131a68caa ve.ui.Sequence: Revert sequence stripping changes
c63d3d585 ve.dm.Document: Improve docs of #fixupInsertion
163041e05 ve.ui.Sequence: Strip sequence before running the command

Bug: T201491
Bug: T201573
Change-Id: I2902af41a0de7528339b3e11a8e27d77ffac7aee
2018-08-10 10:00:49 -07:00
Bartosz Dziewoński 57b46158e8 Update VE core submodule to master (7e57bf17b)
New changes:
56b799abb Restore cursor trapping functionality to table cells
8befef408 ui.Sequence: fix post-sequence cleanup

Bug: T200525
Bug: T201472
Change-Id: Ie989bc7033cfc5f8e893efeeb35a39231bd67fc2
2018-08-08 22:56:42 +02:00
James D. Forrester 102afd9179 Update VE core submodule to master (efccd8b41)
New changes:
b7e84c989 rebaser: Make create/edit button primary+progressive
316496c15 Localisation updates from https://translatewiki.net.
65fd7fb40 Update OOUI to v0.27.6
a7b2cb4e2 rebaser: Unpaint authors on disconnect
4b549306b ve.ce.Surface: Handle null native selections in #getSelectionState and #showSelectionState
76d1afe62 Localisation updates from https://translatewiki.net.
14d29a5c0 rebaser: Force user state back to active=true when connecting
8530b6762 rebaser: Methodise AuthorList/Widget
9c79de597 rebaser: Emit author colors as well as names in initDoc
5d44160eb rebaser: De-activate surface when author list popup is visible
243e02650 rebaser: Upstream storing username in session storage
22de08438 Remove unused second parameters to ve.ce.Document#getNodeAndOffset

Bug: T199011
Bug: T199754
Bug: T200128
Bug: T201017
Bug: T201244
Change-Id: I2f053c986a5720ddc66cb310ff642b33556e270c
2018-08-06 15:59:01 -07:00
Bartosz Dziewoński b159fc4aad Update VE core submodule to master (3c30cac86)
New changes:
76103bb49 Add Horizontal Rule insert command
72c167fe2 Clean up after sequence insertion

Bug: T199925
Change-Id: Id3411dc1e09ca0a0f11cc5bfe452566f932a4b33
2018-08-01 21:27:22 +02:00
James D. Forrester 8f2598f6ee Update VE core submodule to master (9bb7abf84)
New changes:
29331acd8 lib: Update jQuery.i18n to 1.0.5
9bb7abf84 libs/CLDRPluralRuleParser/README.md: Drop `x` flag from file

Change-Id: I7d6446bd3a4a87b77a8569d8279b3fc984b1529c
2018-08-01 14:19:59 -04:00
Bartosz Dziewoński 1c3bad67c5 Update VE core submodule to master (086de2707)
New changes:
9aecc6946 Add CheckList type
be0469524 Allow cursoring between active nodes
954b21f33 Localisation updates from https://translatewiki.net.
38e1e7667 Do not try searching outside of valid range when using regex
deec79971 ve.dm.TransactionProcessor: Fix edge case handling, avoid ES6 methods

Bug: T196521
Bug: T200455
Bug: T200525
Change-Id: Ie87e19d13c68425f5d46bd1be5121c9169c2ebf4
2018-08-01 00:12:29 +02:00
James D. Forrester 2588939256 Update VE core submodule to master (e0f344c72)
New changes:
3e46076f7 Localisation updates from https://translatewiki.net.
8ea59e50d ce.Surface: Debounce position events
17e3d3aa0 Amend `border-radius` to conform to Apex theme standard
c573f3513 docs: Replace fake ellipses with real ones (or in one case, a vertical one)
a4e24a992 Make mode for getting document data without metadata

Bug: T199298
Bug: T200429
Change-Id: I36dad61ed614f007b16d7e9f47fcbfd02347f239
2018-07-28 16:44:28 -07:00
Ed Sanders a6ea005f15 Remove EasyDeflate libs, upstreamed to core
Change-Id: I70ac6669038238b91eba8484792b75b09e7355d4
Depends-On: I12a5879188f46f17dc4c33bdad52317d218d4172
Depends-On: I0fa382c2828ff2644ed308dc1ccca85735d0a80d
2018-07-26 18:18:52 +00:00
James D. Forrester dde96dfc0e Update VE core submodule to master (740285b11)
New changes:
c60028546 Remove legacy transaction builder comment
d51e5e39e Localisation updates from https://translatewiki.net.
71aa3d159 Update files generated with new l10n language 'tw'
1681bb2f4 Rebaser: Fix changeName handling
44c2d0c71 Remove duplicate apex styles from rebaser demo
87918b3d2 Use opacity for comment annotation background
dd219f941 'pad' -> 'collabpad' logo
c7c75351d Remove extra whitespace
13356ebb6 Move 'canBeActive' to NailedAnnotation
3c660a12a ve.dm.Document: Make getNodesByType build the tree if needed
4c51ee9ec Localisation updates from https://translatewiki.net.
741f6d933 Fix rebaser documentation
6afdf63d0 Further rebaser documentation fixes
740285b11 rebaser: Prevent no-op changes from being sent

Change-Id: I8e5a1b27d5cba7630f71ddeb1af338cbbe6ae0db
2018-07-25 15:21:36 -07:00
Ed Sanders ff10c01687 Update VE core submodule to master (d2a120e66)
New changes:
35eaf8209 Move annotation nail functionality to a mixin
d2a120e66 Rebaser: Create a multi-user flag on the surface model

Change-Id: Iffad3c90a9b8ac08f646721bfdbc0503cea2890b
2018-07-19 13:22:25 +01:00
James D. Forrester f08eb6028a Update VE core submodule to master (8d0ab0587)
New changes:
cd6932096 Fix rebaser dependecies
bdcbf8f81 Rebaser: make the server synchronous again
52e6873b1 Cleanup rebaser
31ef4c5ec Handle authentication and reconnection
22d6feea3 Squash Changes to use fewer transactions
4d93f0819 Fix confusion between #getSetupProcess and #getReadyProcess
8d0ab0587 Localisation updates from https://translatewiki.net.

Bug: T185745
Bug: T185944
Bug: T188026
Change-Id: Ie33d3dd4746c9c91fe676f140f416af72ac218b0
2018-07-18 02:54:07 +02:00
James D. Forrester 3d07d7f019 Update VE core submodule to master (6398ee9c4)
New changes:
6398ee9c4 Update OOUI to v0.27.5

Change-Id: I4060189877b08148aa93f1bde2574f30798ca66d
2018-07-11 11:51:47 -07:00
James D. Forrester 27f56a57f9 Update VE core submodule to master (58eb2cb97)
New changes:
634908a57 build: Upgrade to eslint 5.x
08a5f34cd Register dummy triggers for clipboard actions
f15f7832b Add getNameByTrigger to TriggerRegistry

Change-Id: Ia943df83aca831a72cf0e984fb4c982d1d4dfdf4
2018-07-10 10:54:24 -07:00
James D. Forrester dfe27be40c Update VE core submodule to master (bbe825690)
New changes:
e761c7e80 Localisation updates from https://translatewiki.net.
7ffaf8c86 Change clear styling label in contexts
8727b8823 Localisation updates from https://translatewiki.net.
903fe9a6e Localisation updates from https://translatewiki.net.
2d0db8666 Change transaction manipulation functions into methods
198b35a70 Handle ctrl+click events on links
90ea4832e Fix cleanup of PreviewElement after render
3f888e8b2 ve.ui.TableLineContext: Use automatic width
37d42880e Create basic tests for PreviewElement

Bug: T145850
Bug: T195707
Bug: T198064
Bug: T198826
Bug: T198871
Change-Id: Id02adf9f5d85574ee9c7d3ef7c32c19bfcb06a45
2018-07-05 16:09:49 -07:00
James D. Forrester 22979cdc8b Update VE core submodule to master (49fd5e439)
New changes:
49fd5e439 Update OOUI to v0.27.4

Change-Id: Ib70a0f2d41d9d22ed9232ba6b6dbeb604fc5eb12
2018-06-27 11:31:04 -07:00
Bartosz Dziewoński e73d6f3f67 Update VE core submodule to master (fab33197b)
New changes:
664b9017b ve.dm.Document: Handle no valid offsets in #getNearestCursorOffset
879e319d4 Don't break before/after multiline insert in source mode
386344d19 LinkContextItem: add label information to the context

Bug: T124305
Bug: T197651
Bug: T198010
Change-Id: Ic0b16b7f85f91ce699eb90f8ee171fc69c9ddd53
2018-06-26 23:16:09 +02:00
James D. Forrester 8baf06a8b3 Update VE core submodule to master (c8d6dac8b)
New changes:
4418e04c5 Localisation updates from https://translatewiki.net.
12fd1e53e Add isResizable method to dynamically disable resizing
87047170d Use getter to retrieve change stores
58150e710 Use ve.dm.Change object for completeHistory
bc9a1a8af Fix appearance of source surface

Change-Id: I7654d9859741dfbfb0a053a72d0d00b34f1835d6
2018-06-25 10:47:02 -07:00
Ed Sanders 47e6e3f6b1 Update VE core submodule to master (52bd0592b)
New changes:
c5df99d3a Remove remaining assert.expect's
593b09992 Localisation updates from https://translatewiki.net.
14a29056c Follow-up 593b099: Add 'lfn' language to build to unbreak the repo
faba29bde Fix cursor position when adjacent to a nail
9854cc88c Sanitize message body in standalone using DOMPurify
52bd0592b ve.dm.Change: Store DOM node arrays as single strings

Local changes:
Add sanitize module

Bug: T197723
Bug: T197894
Change-Id: I572f5bcc80175cc50ef176efb961c9b10b38c7f0
2018-06-22 09:12:35 +02:00
Ed Sanders 534b3d66cb Update VE core submodule to master (a1fd90540)
New changes:
71baf1c02 Create an 'htmlMsg' function for HTML messages with HTML or DOM arguments
9a7af223e Use ve.htmlMsg to highlight values in attribute changes
a1fd90540 DiffElement: Refactor describeChanges tests

Local changes:
Implement getHtmlMessage in mw.Platform and use for DiffElement

Bug: T195243
Depends-On: Ib4ad16858e4241d33d018830dbcfded63ff703af
Change-Id: Ib5fa39e4f2f529948354b03a141542e23d169fe0
2018-06-20 12:53:43 +02:00
Bartosz Dziewoński 4948925351 Update VE core submodule to master (e72749663)
New changes:
a7c0f6474 Ignore meta items when computing slug positions
1bce430b6 Prevent null being treated as "object" with typeof operator
437892531 ce.FocusableNode: suppress left clicks within the focusable element
00a559a16 Replace assert.deepEqual's with more appropriate tests

Bug: T196921
Bug: T197139
Bug: T197659
Change-Id: Ia3c02961e86a1051245467ed9115c41c4d4cbc1f
2018-06-20 12:30:44 +02:00
James D. Forrester ec4c28cc1a Update VE core submodule to master (b413a2c51)
New changes:
e29c854d2 Localisation updates from https://translatewiki.net.
cb61bb674 Remove description of 'style' attribute change on a 'span'
625548143 Move ToolbarDialog's open/close triggering of updateState to ve.ui.Toolbar
a4608fe53 Debounce toolbar update

Bug: T197569
Change-Id: Ifda0a53e35e1314d1a792fd49635e3bf1f990ff0
2018-06-18 13:22:19 -07:00
James D. Forrester a4f8d28328 Update VE core submodule to master (30865fcfe)
New changes:
c414d3b44 Localisation updates from https://translatewiki.net.
fccd20b10 Converter: Don't try to apply attributes to non-node elements
d40a2d7ff FindAndReplace: Use the same tab index of items that are in correct DOM order
9401ddc3e TabIndexScope: ignore aria-hidden outside the tab scope root
fb5c6337a Use 'title' config option instead of 'iconTitle'
bb49c6fee bin/update-oojs.sh: Update for upstream movement of /dist files
30865fcfe Update OOjs to v2.2.2

Bug: T197185
Bug: T197250
Change-Id: I75880efe33ca69b7e0596ecb4c732cf09c9cd5dd
2018-06-14 16:53:30 -07:00
James D. Forrester 5c48ef286a Update VE core submodule to master (fea37bcd2)
New changes:
fea37bcd2 SourceSurfaceFragment: Use own insertContent function inside insertDocument

Bug: T197091
Change-Id: I43d21731f974ed63a71a52b2b87ea7cd9aec742e
2018-06-13 09:17:38 -07:00
James D. Forrester 7a788364b7 Update VE core submodule to master (8231b4d88)
New changes:
a52e2ee1f Never store ve.debounce in prototype
eebbbfb30 DiffElement: Add test for full list replacement
443a8df59 Separate out list, leaf and tree diffs
8667e76ea DiffElement: Tests for new list diff functionality
5d9dd0391 Don't compare images with different src's
2723de16a Follow-up I125969a: Replace $.closest with $.parents + $.addBack
835442985 VisualDiff: Add test for add-simliar-and-indent

Bug: T184977
Bug: T187632
Bug: T196753
Bug: T196914
Change-Id: Iadea61960dfc91bceedef85087701978fa5028c4
2018-06-11 09:48:34 -07:00
James D. Forrester b7594c7a32 Update VE core submodule to master (ae0ff21b9)
New changes:
d1b8a4141 Simplify conversion of images
e614bc70d Update OOUI to v0.27.3
b88f42a59 Refactor document drag/drop to use copy/paste methods
89220c69e Change image diff tests to use 'alt' instead of 'src'
bbb82023d deepEqual->strictEqual in modelRegistry tests
b6524e7a2 ModelRegistry: Prevent double registration

Change-Id: I1d7304091be256323f081810fe4e13cf8495dc0e
2018-06-08 08:20:11 -07:00
James D. Forrester 84eab48c68 Update VE core submodule to master (3cb400800)
New changes:
24e35e428 Factor out synchronous part of updateInvisibleIcon
7be1fc898 FocusableNode: Move getModel teardown check to updateInvisibleIconSync
6fe97c9f1 Performance improvements to compareElementsUnannotated
dfa42c223 Demos: Use SVG with well defined natural size
c2886b57b eslint: Enable qunit/no-assert-equal,no-early-return,no-negated-ok and enforce
4ca5a4088 eslint: Move qunit/resolve-async exceptions inline
eda91bd38 eslint: Move qunit env flag to test config
ce2983e52 Update OOUI to v0.27.2
e333fe327 Localisation updates from https://translatewiki.net.
3cb400800 ce.Surface: afterPaste should always remove ve-attributes

Bug: T196254
Bug: T196380
Bug: T196479
Change-Id: Ie7ce1fefdcede8eb61b722d8308ec9ee9b3bd1e3
2018-06-07 09:18:55 -07:00
James D. Forrester b998e3cae3 Update VE core submodule to master (aca98533e)
New changes:
d62da204c Fix documentation in dm.Surface, remove duplicate dm.Selection.equals
b2ee82d06 Bypass expensive hasRendering calculation for CommentNodes
522959e5c ve.ce.AlienNode: Fix hover highlight opacity in IE/Edge
06e67e2a1 ve.ce.FocusableNode: Remove "ve-ce-focusableNode-highlight-relocatable-marker"
d38b994d9 Localisation updates from https://translatewiki.net.
2056626bc Remove unused & untested HashValueStore.filter
49a8fbae4 Upstream comment node's invisble icon with label into focusable node

Bug: T195887
Change-Id: Id2da1f2da4e5e32acb3d604307d0f84f6a82bf39
2018-06-04 09:45:04 -07:00
James D. Forrester d7dcf6f681 Update VE core submodule to master (6847cfba6)
New changes:
89c8891eb Update OOUI to v0.27.1
d542afe0f Fix OOUI deprecation warning from tests
962cd9f5c Localisation updates from https://translatewiki.net.
40e8a27b0 Add test coverage for preview mode (optionally)

Change-Id: I6dd76c021ffc4f5b4be9e5e12ddda710b4595c12
2018-05-31 10:10:37 -07:00
James D. Forrester 8543cd525d Update VE core submodule to master (73e80ba80)
New changes:
15d2625b4 build: Bump devDependencies to latest
d613f4766 build: Introduce eslint-plugin-qunit
1d675a7b2 build: Enable eslint's qunit/literal-compare-order rule, with an exception
591a22590 build: Enable eslint's qunit/no-ok-equality rule
d89243c16 Move QUnit eslint config to tests/ folder
a67715636 Localisation updates from https://translatewiki.net.
4eb5301a0 Refactor diff ready for de-generalisation
a5e433473 Add expanded=false to FragmentInspector's container
ad4556a5e Rename 'Dialog windows' section to 'Window controls'
f5e9be727 annotationsAtFocus: Replace $.parents with $.closest

Bug: T195843
Bug: T195854
Change-Id: I20d39d0da4f88555bcb2ba5f691c51d22e497070
2018-05-29 08:40:20 -07:00
James D. Forrester 19641b1f96 Update VE core submodule to master (a17837fa6)
New changes:
d8c4fe1a1 ce.Surface cleanup
220978561 Simplify TableLineContextItem styles
83d818983 Make delete row/col buttons destructive
4f5f66703 Localisation updates from https://translatewiki.net.
55e1c1424 Fix try/catch in internal paste with original data
da86b36ff Fix async beforeEach in ve.ce.Surface tests
8b10fdc89 Strip 'about' attributes when comparing alien nodes

Bug: T195344
Bug: T195514
Change-Id: I7222d6378f375a228e9efd328b6a8b9bbf4c6de3
2018-05-25 11:08:02 -07:00
Ed Sanders ab59f3d06f Update VE core submodule to master (d214a66aa)
New changes:
aa8b2d3da rebaser: Clarify document name is optional
eb4955b84 $.isEmptyObject -> ve.isEmptyObject
681fa50e1 Don't use $.isNumeric in DM
0c8483d8a Avoid more jQuery in DM
a9f6bef78 Replace $.extend with ve.extendObject
34eb4311d Initialise socketIO twice to avoid query cache
b70cb7520 Teardown synchronizer
8f829895f Use passive event listeners
f9e84fa8b Localisation updates from https://translatewiki.net.
db24bb81c ve.ce.FocusableNode: Fix minor code issues
ae981404e Rebaser: show connect/disconnect in the server console
0118e89c2 Show progress bar while connecting to rebase server
160bbe5fd Use new name for 'comment' icon, 'speechBubble'
fb549248a Remove unused APIResults* objects
5daa71d7e Remove IE9 support comment

Bug: T178371
Bug: T195111
Depends-On: I186ebd9d63299d828692a745b62fbc4314a4ed4e
Change-Id: Ie0fee3d4cc069383b8cb48e7d6c2ff520fedb590
2018-05-23 09:01:07 -07:00
James D. Forrester 44acd98903 Update VE core submodule to master (511911451)
New changes:
463169fd1 Re-emit 'initDoc' from synchronizer
eed2af89e Fix RTL mode in demo
700ab1015 Follow-up I6abf7535: Call parent method in onPopupToggle override
e04433acc Fix tests for new qunit package name
9a12ca4fd ce.Surface: Refactor afterPaste
a763ad892 Add 'safe' flag to language dialog 'back'
9aa90f26a Remove nested fields from LanguageInputWidget

Bug: T190079
Change-Id: Ifbc8aafb93867e8960fc270da02793e3363b36f5
2018-05-19 19:24:45 +02:00
James D. Forrester 9e52ece21f Update VE core submodule to master (1d341ca7d)
New changes:
3a6d868bf Separate (Comment/Link)InspectorTools into separate files
cb5d36e32 Localisation updates from https://translatewiki.net.
c75491b16 build: Extend 'svgmin' options and amend
ddef270d9 Genericise activeLink behaviour to any annotation
d13d44e12 Create simple comment annotation type for rebaser.
7e49a1f33 Add getters for author properties
1d341ca7d Follow-up I16942623d: Only filter inactive models if they are 'canBeActive'

Local changes:
Change .ve-ce-linkAnnotation-active > .ve-ce-linkAnnotation.ve-ce-annotation-active

Bug: T185596
Change-Id: I2a49315d01aa075373f9b5f0d8802a7e7dd4dca3
2018-05-18 17:07:28 +02:00
James D. Forrester 1184f9acf1 Update VE core submodule to master (ca25f72ab)
New changes:
05c815039 Localisation updates from https://translatewiki.net.
729bda459 Focus author widget on popup open
403cbf3c7 Use author name label as placeholder
ffe7cddba Match toolbar border radius to wrapper, instead of using overflow:hidden
642b2a52b Add lowercase description messages for alignment change
0509be7fd Unbreak CSS on standalone rebaser demo
bbf7d1501 Add name to toolgroup definition

Change-Id: If8482f9aaa3dc63d674fa881e263990cc303548a
2018-05-15 12:56:53 +01:00
Ed Sanders 900b74e9a9 Update VE core submodule to master (14bcc9256)
New changes:
14bcc9256 Give toolbars groups names

Local changes:
Give toolbars groups names

Also create an empty placeholder group for reference tools.
This allows targets to specify if they should show them.

Depends-On: Iccaf35cf941cb47ad55e8d98373461f5eaff5fed
Change-Id: I0bace5e5fe05f9c214d57a74c478b48a7dcaec3b
2018-05-13 18:09:33 +01:00
James D. Forrester 99a226020e Update VE core submodule to master (b8c05e38c)
New changes:
1d0130404 Move logic for creating a view node into ve.ce.NodeFactory
3db54b22a Improve behavior of newlines and non-text content elements in find-and-replace
11f9ea9d0 Create a quick 'useView' mode for PreviewElement

Bug: T94130
Bug: T184163
Bug: T188651
Change-Id: I7fc539f75a1c9d672efc139b7884ecdfdff5f301
2018-05-11 09:54:06 -07:00
James D. Forrester 8d1d0f19ed Update VE core submodule to master (07e7f8369)
New changes:
2ecae4be0 Revert "Remove icon padding from format tools in WMUI"
fd5798075 Truncate storeLengthAtHistoryLength properly
548566906 Update OOUI to v0.27.0
52048fb87 Localisation updates from https://translatewiki.net.
361d04953 Add a WMUI desktop demo

Bug: T190851
Bug: T194050
Change-Id: I08dc45f796186e216db821e43fa99517636e169d
2018-05-10 08:50:37 -07:00
James D. Forrester a503c9b949 Update VE core submodule to master (c4ad0a7e3)
New changes:
7627624e4 Localisation updates from https://translatewiki.net.
3825763e0 TreeModifier: Clone mutable linear data when inserting
8f91ecf64 Localisation updates from https://translatewiki.net.

Bug: T193062
Change-Id: I527f882fb3e40fe319014a2483974cc1e46b6b55
2018-05-07 08:20:31 -07:00
Ed Sanders 3dd3073bd2 Update VE core submodule to master (a8e0eef6d)
New changes:
a8e0eef6d Simplify usage of dummy target

Local changes:
Simplify usage of dummy target, ceating an MWDummyTarget, extending
DummyTarget instead of mw.ArticleTarget.

Depends-On: I01a6860387087db8149c73793e9bd4294d33aea8
Change-Id: I227486159fe416c219e2c37a1d054201084fe285
2018-04-30 13:05:02 -07:00
James D. Forrester f4fdcf6be0 Update VE core submodule to master (099902ddb)
New changes:
d30ef0e92 [BREAKING CHANGE] Replace isForClipboard with tri-state clipboard mode
397279cf3 Use comment HTML helper in all tests
4613d34c0 Use CE rendering when showing comments in preview mode (e.g. visual diff)
b1ded0d27 Copy attribute values when building transactions
6d0be15f5 Localisation updates from https://translatewiki.net.
41b612148 Fully disable the surface before teardown
8cc1237f6 ve.ce.Surface: Control-drag should keep the dragged text in original location
099902ddb Use clipboard API if paste context wasn't all cleaned up

Bug: T170134
Bug: T192605
Bug: T193062
Bug: T193103
Bug: T193110
Change-Id: I3cf0a6e221766b6a52f3f3cb93279639abbeda7d
2018-04-30 09:08:18 -07:00
James D. Forrester 3fb49c5957 Update VE core submodule to master (e673ad6de)
New changes:
cb74329aa [BREAKING CHANGE] Remove ve.Range#clone and ve.dm.Selection#clone
8fe148fa2 Allow surfaces to change context popup's container
a7f4e9759 ce.Surface: Don't attempt to activate a disabled surface
b39f1535f Pass toolbarConfig.$overlay property to 'actions' toolbar as well

Bug: T122910
Bug: T166217
Bug: T192671
Change-Id: Ife4a23be3bf46284edd1b62e7abb7c5ad925870d
2018-04-27 14:46:49 -07:00
James D. Forrester e1ebdfe66d Update VE core submodule to master (174890b5e)
New changes:
1d2569556 [DEPRECATING CHANGE] Deprecate ve.Range#clone and ve.dm.Selection#clone

Bug: T192671
Change-Id: Ic70e6d63728ed0b6b957d93308c81164a06c7d8c
2018-04-26 08:56:48 -07:00
James D. Forrester d904697208 Update VE core submodule to master (87bc18f58)
New changes:
38c403bba NodeInspector: Fix behaviour of getMode
ccf1ed957 Use current selection for selectionBefore in empty staging stack
5077edb1e build: Switch QUnit package from deprecated 'qunitjs' to 'qunit'
b39388db7 Update OOUI to v0.26.5
614ec16f2 Linear/TableKeyDownHandlers: account for table captions
5f101208e Update custom styles for format menu after OOUI changes
28c1296d0 Localisation updates from https://translatewiki.net.

Bug: T191878
Bug: T192163
Bug: T193098
Change-Id: I370494253290345961e1454b32385624cc4f36db
2018-04-26 08:23:22 -07:00
James D. Forrester 36dd685d3c Update VE core submodule to master (04137a1ed)
New changes:
3d8ead7b8 PlainTextStringTransferHandler: Forbid for paste again
04137a1ed Localisation updates from https://translatewiki.net.

Bug: T190590
Bug: T192320
Change-Id: If73bc765618122a4bcb13ebd6414b78ea12b9174
2018-04-23 07:59:32 -07:00
James D. Forrester 48979b62c7 Update VE core submodule to master (1d00a1715)
New changes:
007621d0d Add .spliceAt field to annotation operations
8d533f71b Use .spliceAt field when processing annotation operations
1185206ee Always remove data-ve-attributes on external paste
bf97ca335 Update OOUI to v0.26.4
09bff69c3 Localisation updates from https://translatewiki.net.
e7dad5b43 FocusableNode: Adjust alignment in headings

Bug: T188709
Bug: T192227
Bug: T192378
Change-Id: Ic927173a4f19400f16d3d997db1d891076ae3ec7
2018-04-20 07:59:14 -07:00
James D. Forrester 58c5643f1e Update VE core submodule to master (a64ba1cc6)
New changes:
aee32648a Allow access to a fragment's async state
a64ba1cc6 Add extra copy/paste tests for <span> clipboard keys

Local changes:
* Fix signature of runSurfacePasteTest

Change-Id: Idbc2f2c25eaf0606c51d9dff8ec23562f5244c08
2018-04-17 16:02:04 +00:00
James D. Forrester 4c9c6d2fbf Update VE core submodule to master (8b01968a7)
New changes:
ef9a4a359 Localisation updates from https://translatewiki.net.
a89a0239e Apply diff attributes to all elements in an about group
3ca344789 Localisation updates from https://translatewiki.net.
947c608dc Refactor ve.dm.TransactionBuilder#newFromAnnotation
cc3060643 Ignore tab key when in table caption
9be2ab973 ve.ce.KeyDownHandlerFactory: Documentation fix

Bug: T188709
Bug: T192076
Bug: T192117
Change-Id: Iba42c2d15978cbee948796f6c712034db0b49efb
2018-04-13 10:48:00 -07:00
James D. Forrester d99b687791 Update VE core submodule to master (9c0b07868)
New changes:
bd0dd861f Replace LinearContextItem mixins with sub-widgets
60ea01484 ve.Document: Use more specific type for documentation
96b95e288 Use correct action test in CommentInspector teardown
a493d5bf1 Update OOUI to v0.26.3
9c0b07868 Remove table move icons, upstreamed to OOUI

Bug: T191623
Bug: T191818
Change-Id: Ia633375f56c1b844e70d101d0a9383fa4f73e1e9
2018-04-11 12:44:27 -07:00
James D. Forrester e096eec811 Update VE core submodule to master (f7cbfa3f0)
New changes:
b18819bb6 Convert href-less links to spans
afcb2d306 Localisation updates from https://translatewiki.net.
865952ff6 ImageNode: Documentation fix

Bug: T191598
Change-Id: I09082893201e2532f6dac7a5f56e5e34c788f9d3
2018-04-09 11:03:44 -07:00
James D. Forrester ac2b5e1ef8 Update VE core submodule to master (3ea11b8b1)
New changes:
f97bdb039 PlainTextStringTransferHandler: Allow as paste
5a0007e49 Expand ce.Surface tests for plain text pasting
bab28c8d3 Localisation updates from https://translatewiki.net.
82bc2c014 Fix language input design now that indicator-next is gone
c14c6ac56 Fix z-index of context elements in diff

Bug: T190590
Bug: T190916
Change-Id: Ibe8b1b62a8300f380b753f978bed6a6f8d520044
2018-04-06 10:52:54 -05:00
James D. Forrester 5991ef8c69 Update VE core submodule to master (d136c58c0)
New changes:
37c797f04 Update OOUI to v0.26.2
9a0e38994 Revert "Workaround for WikimediaUI theme broken tool icons in popup toolgroups"
d136c58c0 build: Bump devDependencies to latest

Bug: T190694
Change-Id: I244d0630b60ff78b4a65065c6d1fdad100b846c7
2018-04-04 17:54:41 -07:00
James D. Forrester 8fc2671bbe Update VE core submodule to master (d5044cd1d)
New changes:
7892c2f7c Toggle table cell tooltip when editing
1e97ab57a Define parentNodeTypes for internal item node
9dbeb9d6e Update OOjs to v2.2.0
45e07f40c build: Provide oojs.noJQuery for server side users
a1efeddf7 ve.ce.Surface: Refuse to focus when disabled

Bug: T184636
Bug: T191115
Change-Id: I5ab158adb3d9aa43a0ed8b5c54ee3d5eebc252fc
2018-04-04 08:40:13 -07:00
James D. Forrester 4c047bd701 Update VE core submodule to master (81bbd2732)
New changes:
62e47b56c Remove icon padding from format tools in WMUI
22a79c1d5 Localisation updates from https://translatewiki.net.
81bbd2732 Follow-up I2be081c76: Fix drop bugs

Bug: T191103
Change-Id: Ia6d8a63c6aeb79c350cdb98b8f6a7836aff62609
2018-04-03 10:24:19 -07:00
Bartosz Dziewoński f8522b7aac Update VE core submodule to master (4922429f7)
New changes:
4922429f7 Merge all theme overrides into single files

Local changes:
* Update extension.json module definitions for 4922429f7
* Merge all VE-MW theme overrides into single files

Change-Id: Ie8bb4a78c3c50dd4e930f25f6f72bc2f395bd10c
2018-03-28 09:17:12 -07:00
James D. Forrester b1b88b2c78 Update VE core submodule to master (320f01589)
New changes:
7e9a11771 Use more informative message for missing refs in visual diff
f22c21b00 CommentNode: Increase label spacing slightly
e01b9a0f7 Move Apex-specific hack for tool styling to Apex-only CSS

Bug: T188682
Bug: T190433
Change-Id: Ia8696a4a7e32a332b73e2852939bcc533f71cf45
2018-03-26 13:57:45 -07:00
James D. Forrester 62a197fde8 Update VE core submodule to master (28a9de285)
New changes:
ae04c7fd4 Fix styling of mobile context
47e162b95 Localisation updates from https://translatewiki.net.
d327a9cfc Allow small mobile dialogs
9a1c43329 CommentNode: fix visual glitches
5f7cb5a9b Workaround for WikimediaUI theme broken tool icons in popup toolgroups

Bug: T190658
Bug: T190694
Change-Id: I20b44d84373373c2d2e67a5f51cf1ec0751e6ad1
2018-03-26 11:02:08 -07:00
James D. Forrester bfa11dca3a Update VE core submodule to master (796af825b)
New changes:
796af825b Update OOUI to v0.26.1

Change-Id: I72632e979a977159f08be2c079a66211d1f11d0d
2018-03-23 17:14:40 -07:00
James D. Forrester c0dce97d07 Update VE core submodule to master (cd958f71d)
New changes:
71d6c72ff demos/ve/eventSequencer.html: Cleaner fix
9d8ddf863 Fix table context selectors
674bbf556 Fix load order in demos
686acba46 Fix context item inheritance
4a283aec4 Use icon instead of indicator in TableLineContext
f0d6883d4 Use 14px font size in mobile demo
b5beec69e Fixing spacing of demo tools when wrapping

Bug: T190480
Change-Id: I3724b3b594bdb28e54169ccba4ace12953769cdb
2018-03-23 08:46:02 -07:00
James D. Forrester 7239519e55 Update VE core submodule to master (bca1212a4)
New changes:
78adf7169 DiffElement: Apply margin adjustment to ul as well in labels
ddeb45364 Localisation updates from https://translatewiki.net.
bca1212a4 Use paste API if *any* important elements have been dropped

Bug: T188389
Bug: T190023
Change-Id: I9aac91d3decf2e62bd773341f22ef0562b4180b9
2018-03-22 12:13:44 -07:00
James D. Forrester 8cfb488b1a Update VE core submodule to master (52b59d337)
New changes:
0651c524c Move isMultiline definition to view nodes from the surface
4fa80b362 Diff original dom elements for alien node
a532a247d Update icons for new 20px grid
3543e75ab Update OOUI to v0.26.0
b68a4460e Remove special `font-size` treatment following-up UI unified in `14px` base
a5ec65f63 Fix auto-save demo on empty.html
05a64c203 Autosave: Check html === undefined to avoid matching empty string

Bug: T97631
Bug: T177432
Bug: T188833
Bug: T190151
Change-Id: Ib77e66a9ec3c7d290853de914371650cdf90b226
2018-03-21 12:15:45 -07:00
James D. Forrester ece430258b Update VE core submodule to master (dc98cb7ec)
New changes:
617708fe1 Update rel attribute checks to be aware of multiple rel values
c22428f81 ve.ce.LinearSelection: Don't throw exceptions only to catch on the next line
406db2ce3 Localisation updates from https://translatewiki.net.
33f94faf7 tests: Update ve.dm.Converter#getModelFromDom cases for new metadata behavior
d85bf0d68 Use documentFragments when DOM splicing
110519f1c Update documentation now describeChange can return jQuery
ff7fa5fa0 Change http://www.mediawiki.org to https://www.mediawiki.org
09faa4a3d Fix error with tabs per this:
a329edf67 Localisation updates from https://translatewiki.net.
da864cc5e demos: Separate out and fix mobile-dist
380cc90c5 VisualDiffs: Unit test for timeout behaviour
601173c02 Clarify the "Log" button label on the debug bar
c52a2e07e demos: Fix auto-save by only storing doc state if not recovered
1b8d2c457 Auto-save: Save and restore last known selection
9e279e77e Fix deprecated icon name 'alignCentre' > 'alignCenter'

Local changes:
tests: Update ve.dm.Converter#getModelFromDom cases for new metadata behavior

Bug: T189687
Bug: T189939
Depends-On: I2059d8ce9140b733ee92436de395d735ab06b9df
Change-Id: I3c210112c84e2d2bd8226de3dad195bf17afb4c2
2018-03-20 16:38:54 -07:00
Bartosz Dziewoński a021482b6f Update VE core submodule to master (dc5a65131)
New changes:
8d8030fd1 Localisation updates from https://translatewiki.net.
37302d389 Show timeout message if diff times out
4fa6e3005 ve.dm.Converter: Handle meta nodes for empty annotations same as normal
f74c630d6 ve.Node: Make #getOffsetPath not fail while rebuilding the document
bd62f3e74 Fix global overlay classes

Bug: T180842
Bug: T187690
Bug: T189118
Change-Id: Ieb404db788bd9ff743f00131458c44f01deac466
2018-03-14 20:55:40 +01:00
James D. Forrester c493cafef5 Update VE core submodule to master (01609bfaa)
New changes:
01609bfaa Follow-up Icf2d948bc9: Only reset lastStoredChange in storeDocState if using latest HTML

Change-Id: I9d70f9827cb84d01f7e172e444fa33cf7921ddfd
2018-03-10 13:53:35 +00:00
James D. Forrester 77c83c3ac2 Update VE core submodule to master (3aabb95af)
New changes:
3aabb95af DiffElement: Allow rich content for change descriptions

Bug: T188389
Change-Id: I7c8a1ba31f9ee811a5c299113bb463500cb63082
2018-03-09 10:18:13 +00:00
James D. Forrester e54554ae83 Update VE core submodule to master (97bf37687)
New changes:
e10e2c0b6 Remove gecko-specific paste tests, add copy test
c555b6567 Complete test coverage of autosave methods
fc02e085e Localisation updates from https://translatewiki.net.
08a55658e CE Surface tests: Add missing </tbody> tags
ff5a766bb CE Surface tests: Avoid execCommand on tests failing in Firefox
46160f796 Run and make voting the Firefox tests in CI

Bug: T182626
Bug: T189201
Change-Id: Iee50ddf350e4a3312024b280cdeded08d325ea06
2018-03-08 14:41:40 +00:00
James D. Forrester a083ee372f Update VE core submodule to master (f46b51b83)
New changes:
a687da2cc Add visual diff messages for changed dir: and style: attributes
3cf650c5a Fix node type check
b239c9313 Use equalDomElement in DiffElement & TextState tests
cd2dfc205 Don't descend into dataElement-generated nodes in renderHtmlAttributeList
61a1c351e Move isInternal from ve.dm.Node to ve.Node
c535f74fe Stop using FlatLinearData directly
5ec94b067 build: Use “OOUI” as unified name for library upgrade script
8bbd7d356 Update OOUI to v0.25.3
73a81c239 Add unit tests for autosave methods in DM surface

Bug: T160588
Bug: T182360
Bug: T189030
Bug: T189104
Bug: T189120
Change-Id: I581c206312ff5bcc6b7cb41522f1f7ba307bbd1c
2018-03-07 20:59:47 +00:00
Ed Sanders 94db6545bb Update VE core submodule to master (23666aff0)
New changes:
23666aff0 color-picker: Remove fallback PNGs we don't use

Local changes:
Pull through color picker lib from core

Change-Id: Ib213f801a90e400fae2838e21bbdb011dc61311a
2018-03-06 17:46:47 +00:00
James D. Forrester d144599cea Update VE core submodule to master (ca771b8bc)
New changes:
7551f6c66 [BREAKING CHANGE] Rename class ve.dm.IndexValueStore->ve.dm.HashValueStore

Local changes:
Follow-through rename of IndexValueStore->HashValueStore

Bug: T188900
Change-Id: If60d0c637fe92f0e7afe916c064fafb17980d063
2018-03-06 12:55:30 +00:00
James D. Forrester 55a30052a8 Update VE core submodule to master (30cf85e12)
New changes:
ffce287bc Handle errors in storeDocState better
d31cf65ee Localisation updates from https://translatewiki.net.
5f6664e2e Follow-Up I2bbf812: Fix comment node selectors

Bug: T188904
Change-Id: Ic4147641ed8a0c2857468dbd60dd433f50be7e9d
2018-03-05 19:08:24 +00:00
James D. Forrester 47d69989f8 Update VE core submodule to master (17721d5f5)
New changes:
1ef63f783 Replace node instanceof ve.dm.TextNode with node.type === 'text'
2f93c59d3 Only run checkLinearOffset in tests

Change-Id: Id9bf5283be26a282d1986248e5e1a67db396e13a
2018-03-02 10:39:22 -08:00
James D. Forrester fbc37064a5 Update VE core submodule to master (f5c88eb30)
New changes:
bdb1a680a SpecialCharacterPage: Allow setting lang/dir via special attributes property
37945174e Localisation updates from https://translatewiki.net.
19766f68b Follow-up 37945174e: Add 'myv' language to build to unbreak the repo
a9a87f97e Fix blocked triggers on OSX
76774b366 Map 'Ctrl+D' on OSX to forwards delete key handler
f5c88eb30 Use unsafeDeserialize in restoreChanges

Bug: T56310
Bug: T187920
Change-Id: Ic9853bccae87aab7c8f1d07f715fca3e532017a0
2018-03-01 10:50:47 -08:00
James D. Forrester 6a4ba8a2bf Update VE core submodule to master (0bc548e83)
New changes:
21c07f275 Move getDom/Html to surface model
521118e40 autosave: Upstream methods for storing dochtml/state
a5ddae575 Capitalise comments

Change-Id: I109f6c19902baf9c14b8003b03f5bdb0131c4219
2018-02-27 11:37:12 -08:00
James D. Forrester 2f42ebbd9d Update VE core submodule to master (bdf88934d)
New changes:
ca5c7af0b libs: Update jQuery.uls
040a9e56d lib: Remove old classList LICENCE.txt
2c0fdef5c lib: Update jQuery.client to master
adb7d7d39 lib: Update jQuery.i18n to 1.0.4
ab83e52cb lib: Update PapaParse to 4.3.7
23d44d9a5 lib: Update SparkMD5 to 3.0.0
2750f2cfb AuthorItemWidget: Add a color picker
f089f62de Rebaser: color change API
b9107987f ve.ui.DebugBar: Group together runs of text when showing linear model data
bdf88934d demo: Fix standalone autosave demo

Change-Id: Icdb334066764b772a2ea0cdf67e923ac31e5089f
2018-02-26 16:07:56 -08:00
Ed Sanders 5a58634e44 Update VE core submodule to master (a8da324)
New changes:
1c94ebf Create a local copy of ve.dm.ElementLinearData.static.getAnnotationIndexesFromItem
87d1693 Further minification of tranasctions
014ca4c ve.dm.Change: More minification
a8da324 ve.ui.DebugBar: Remove duplicated code block

Bug: T188020
Change-Id: Icd15a6c8332e4b35c13e548fc1d1980cdc3cd92b
2018-02-26 14:43:31 +00:00
James D. Forrester 96a3a15fa6 Update VE core submodule to master (35cf6d9ff)
New changes:
d81550c2d Minify the serialized form of Transactions
a25ebf010 Minify the serialized form of Changes

Bug: T188020
Change-Id: I406102ba756a55d16f40a78f778c05bc80f1588d
2018-02-25 16:51:59 -08:00
Ed Sanders e12cfc35a3 Update VE core submodule to master (e6b9330)
New changes:
a57bb5b Do less work when building the diff document
0f6a33a Remove IE<=10 fakePaste support
a89c817 Localisation updates from https://translatewiki.net.
39f140b Auto-save: docstate -> dochtml
0df1428 Implement an append-only list data structure in sessionStorage
b7814fc Remove methods for creating obsolete metadata ops
2e68048 Implement auto-save using transactions
9e20e44 Drop IE10: Remove ve.ce.Surface.prototype.supportsPointerEvents
757c96e SessionStorage: Return booleans for setters
d0fd0c9 Make get/removeSession exception safe
fdf8bbf ve.dm.Change: Allow unsafe deserialization
d24ad15 Transactions: Only set insertedDataOffset/Length when meaningful
4b6c0fb ve.dm.IndexValueStore: Serialize empty stores to null
13a3d05 Filter out meaningless properties when comparing elements
e4f7a88 Stop diffing originalHTML for internal items
575f219 Use #cloneWithData in #getInternalListChangedNodeElements
c8cf2ea Set the initial store length to the initial store length
d88669a Emit undoStackChange when the undo stack changes
d985bc6 Autosave: Store and apply transactions by breakpoint

Bug: T187070
Bug: T187613
Bug: T188020
Depends-On: I215c1b060d0758e669b62ba27db96ece56bff2f0
Change-Id: I6a8a6bca041131e175ff4be56f371fd3e7e5171b
2018-02-25 21:00:32 +00:00
James D. Forrester f1f9a5f848 Update VE core submodule to master (1a0bc9981)
New changes:
7a0e5e2cc Drop IE10 support
b8bbcb015 Use sessionStorage to auto-save
785698dd4 Increase selector specificity for .ve-ce-focusableNode-invisibleIcon

Bug: T57370
Change-Id: Id21e93b7635864ad82e2f0a3f6aa702a103d66c0
2018-02-21 14:15:08 -08:00
James D. Forrester 59453e3824 Update VE core submodule to master (aa4aa2842)
New changes:
e4d59929c Rebaser: Generate random doc name if none provided
82093a6c2 Show reference moves in visual diff
ebe736495 Use offsetWidth/Height instead of jQuery.width()/height()
87158b496 Pass correct arguments to Node.insertBefore

Bug: T171587
Bug: T187864
Change-Id: I22f2529cd6e5826323e9ad1cafe13c64fe2029fc
2018-02-21 09:16:51 -08:00
James D. Forrester 53c089973b Update VE core submodule to master (8c5b27028)
New changes:
7ddd588f5 SurfaceSynchronizer: Use palette for author colour
f7f904bfd Localisation updates from https://translatewiki.net.
cb9ff9657 Avoid jQuery.parseHTML
608d9e54a build: Lint JS inside HTML files
52a81146f Account for visually diffed element having to clientRect

Bug: T187713
Bug: T187726
Change-Id: Ie83ac5dbb156b16a6d42e44678b819e4fd14b577
2018-02-20 09:11:16 -08:00
James D. Forrester 037f666985 Update VE core submodule to master (31c54c36b)
New changes:
2dafbbc21 Update UnicodeJS to v0.2.1
9955059a5 Use OO.deleteProp for its intended purpose
fd41859e3 Follow-up 21a5d55b85: It's still 2018
9cbe6ea43 build: Bump devDependencies to latest
3bf97e171 Localisation updates from https://translatewiki.net.
9f5fc6a9d tests: Only call deleteProp on element objects

Change-Id: Id710f96ec5f5828c0a095cdce271b04fd307faca
2018-02-15 09:26:22 -08:00
James D. Forrester 9c02554903 Update VE core submodule to master (0cc5806c7)
New changes:
b2ee8a5ca Move DiffElement test runner to utils

Change-Id: Ic70bd3e8ba090c2d174164fd1ecebdf6f2225254
2018-02-13 11:21:29 -08:00
James D. Forrester 93522d6650 Update VE core submodule to master (bf555de7e)
New changes:
ba0bc3c25 Show diffs for references lists in place
7b290bb1a Localisation updates from https://translatewiki.net.

Bug: T183118
Change-Id: I93113a63b6a860684b25d5787f07f7e5d0de57bd
2018-02-12 09:39:42 -08:00
James D. Forrester 9c7029e265 Update VE core submodule to master (c39a4a69b)
New changes:
9b1231f6c Revert "Workaround missing child selector in OOUI for menuLayout"
24093e84a Update OOUI to v0.25.2
58d235f2f DiffElement: Only show left margin if moves present
6be70c88b build: Bring SVGO optimization to 'ci' step
c7e904bb4 Fix getNodeAndOffset for MetaItems
df4bc30e9 Localisation updates from https://translatewiki.net.
de29d60bb demo: Rename from deprecated OOUI method

Bug: T185544
Bug: T185596
Bug: T186109
Bug: T186636
Change-Id: Ib314bb33953f9440420e5d528202c81a37d1dd3b
2018-02-10 18:39:23 -08:00
James D. Forrester 8cf864063f Update VE core submodule to master (2ac0e8b0c)
New changes:
bb1f28e8e scrollCursorIntoView: Collapse selection to 'to' (anchor)
01b31c99f Use .isNull check for NullSelection
4c845bf17 Always capture Ctrl/Meta+Enter and emit a 'submit' event on the surface

Bug: T121347
Bug: T186472
Change-Id: If422c7154c994d9bd35e97dced424bdf30424faa
2018-02-06 14:41:15 -08:00
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