Commit graph

461 commits

Author SHA1 Message Date
James D. Forrester 39574d0116 Update VE core submodule to master (ec09198)
New changes:
e0e3096 Remove selectionStart and selectionEnd events
af34d54 ve.dm.Selection: Add getter for name static property
6c16485 DataTransferHandlerFactory: Fix documentation
34542f3 Remove non-existent browser prefix
956db1c Update OOjs UI to v0.13.0
53d53e3 FindAndReplace: Start search at current offset

Change-Id: I40d728af44b7dc98756b44f392c623c8aa3b4b89
2015-10-28 22:33:14 +01:00
James D. Forrester 0fbebacb9f Update VE core submodule to master (d33328d)
New changes:
2fc5122 Ellipsis placeholders when not enough room
6d66479 Reapply the cursor after delete to kill browser preannotations
3ccc9e2 Unicorns: Apply styles with classes, rename variables
14287df Localisation updates from https://translatewiki.net.
0ac1cff Localisation updates from https://translatewiki.net.
d0c4726 Fix right-click copy on table cells

Change-Id: Ibb9ff9db525dcff7d948bb536cbd1b9823eec197
2015-10-26 17:22:01 +01:00
James D. Forrester 0cf3b77638 Update VE core submodule to master (e1c0146)
New changes:
ce68687 build: Use my gmail address for attribution
383ba35 Update my .mailmap and AUTHORS.txt entries
9c0b520 .mailmap: Update for recent commits
1abcf64 AUTHORS.txt: Update for Autumn 2015
74fb1d6 Fix typo in WhitespacePreservingTextInputWidget class
7528d7c ce.Surface afterKeyDown shouldn't assume .contenteditable is boolean
ee4c3a2 ve.ce.Surface: Defer checkSequences call for insertText as well

Change-Id: Ice507aa8d260177ccd8b5e1b44e6474a8eda36e7
2015-10-21 15:56:01 -07:00
James D. Forrester 297d7d2cfc Update VE core submodule to master (e25b3fe)
New changes:
84bac04 Remove the "Open" button from link inspectors
5e133fa Update OOjs UI to v0.12.12
d8ddf01 DM Surface: Cleanup emission of 'history' event
c65b032 De-Houdini-fy the handling of observed DOM changes
cd934fa Run renderContents before finding nodes by offset
4393fcd Localisation updates from https://translatewiki.net.
f2b5760 getNodeAndOffset: handle slugless nodes with zero DM length
97ba0da Localisation updates from https://translatewiki.net.
f2d80b4 Localisation updates from https://translatewiki.net.
e25b3fe Follow-up 97ba0da: Fix build for added language 'sgs'

Change-Id: I3eca1e9b9c753bbe4c896d2271c84b89707eb813
2015-10-19 14:52:24 -07:00
James D. Forrester 8cb35b3578 Update VE core submodule to master (52eb218)
New changes:
a3bcde1 Store text inputs to find and replace between sessions
bf2c2c1 build: Update grunt-banana-checker from v0.3.0 to v0.4.0
40a553f Add comments to show used CSS classes
9cb46c6 LinkAnnotation: Move nail CSS into stylesheet
407efc2 Don't replace spaces with spaces
5b03512 Localisation updates from https://translatewiki.net.
9872891 Add documentation for Event mixin to ve.dm.Node
134c613 Localisation updates from https://translatewiki.net.
fe19909 Localisation updates from https://translatewiki.net.
1a931c3 Don't scroll cursor into view when in paste target
b00a252 Localisation updates from https://translatewiki.net.

Change-Id: If2c17feb0f1c7c946ca6ff888fdcb04e0d9f7241
2015-10-13 07:27:28 -07:00
James D. Forrester 09821a6800 Update VE core submodule to master (c864138)
New changes:
c864138 Update OOjs UI to v0.12.11

Change-Id: Ib26659a89097ec5b2417355781f07903129fe2ce
2015-10-07 14:33:27 -07:00
Ed Sanders 9fb6977e52 Update VE core submodule to master (363adf2)
New changes:
63c5f67 [BREAKING CHANGE] GeneratedContentNode: Introduce new hash for rendering
6dd1cb2 Add ve.dm.Surface#selectLastContentOffset

Local changes:
* Use new getHashForRendering in GeneratedContentNode users

  As we no longer have a model hash, remove the originalIndex check
  and just rely on the deep comparison of mwData (trading a deep copy
  for a hash computation should result in similar performance).

Bug: T114689
Change-Id: Ida0ee0234418408b735232c633d41908a424a9ff
2015-10-07 15:00:32 +00:00
James D. Forrester 5fa34afc2f Update VE core submodule to master (737a235)
New changes:
6e38f99 Pass generated content error to inspector

Change-Id: I362972dcdffc72b906263670d034872f0af03a01
2015-10-05 13:11:40 -07:00
James D. Forrester 8e8fe70d79 Update VE core submodule to master (8feaeef)
New changes:
9cb6f74 Move insertion annotation calc logic from DM Surface to ElementLinearData
04d4bfd Refactor the code that determine insertion annotations
d9efa1c DimensionsWidget: Fix alignment of labels
66ba732 Always render generated content the first time, including errors
23a957c Consistently use spaces inside brackets in CSS
f17c8ad Localisation updates from https://translatewiki.net.
f4d0643 Localisation updates from https://translatewiki.net.
ec29e77 Follow-up I553e31: Don't show error for non-rendered GCNs
5f2402b Pass staging state through Document#commit to ve.dm.Node update event
0d3e998 Fix ve.ce.Document HTML tests
7c95c6a Wrap <hr>s so their margins are clickable
164b9a3 Localisation updates from https://translatewiki.net.

Change-Id: I069082baeb45105bf2e0106879d472319a6ffe2a
2015-10-05 09:57:20 -07:00
James D. Forrester 6800e1bc04 Update VE core submodule to master (54ec246)
New changes:
ec74b6f [BREAKING CHANGE] PreviewElement: Remove deprecated alias to PreviewWidget
987d3b1 Follow-up c02882c: Don't break non-GCNs
df74df2 Localisation updates from https://translatewiki.net.

Change-Id: I9d2261b48593d604ff54cfea2ea5ff3e7472ab3a
2015-10-01 14:32:06 -07:00
James D. Forrester 2668383755 Update VE core submodule to master (a98e11c)
New changes:
3eea110 Refactor PreviewElement to allow preview to be updated
c02882c Don't render errors in generated content

Change-Id: I1ecd85473846a0ce533a885e28440e443d9928ea
2015-09-30 18:18:15 -07:00
James D. Forrester 01bd73c808 Update VE core submodule to master (ca4bd8c)
New changes:
8c917a7 Add focused class to surface when focused
04d7f8c Localisation updates from https://translatewiki.net.
dfc71e6 Move cursor offset calc from CE Surface to DM Document
02040d0 Localisation updates from https://translatewiki.net.
7d6d49e IME tests: Add IE11 Win8.1 Korean; name specific Windows versions
7ce9d64 Localisation updates from https://translatewiki.net.
ca4bd8c Update OOjs UI to v0.12.10

Change-Id: I7c04d72cb6bf1d21eb257e2a6cf42c61c7d34eba
2015-09-29 15:14:02 -07:00
Ed Sanders 6ed5877c69 Update VE core submodule to master (27fc244)
New changes:
18e46b6 [BREAKING CHANGE] LinkAnnotationWidget: Abstract .text property to getTextInputWidget

Local channges:
* MWLinkAnnotationInspector: Use new getTextInputWidget method

Change-Id: Ia33797d612be7b4521e7212047a38480ee2520df
2015-09-26 12:27:56 +01:00
James D. Forrester 18f30efc5b Update VE core submodule to master (64a932b)
New changes:
2c84a24 Localisation updates from https://translatewiki.net.
b87fd8a Follow-up 2c84a24: Fix build for added language 'azb'
64a932b Ignore slugs and chimeras when preventing identical re-renderings

Change-Id: Icad799f4af424d45369c0b4ac367e5082202ea4a
2015-09-26 12:14:53 +01:00
James D. Forrester 76a8b0d127 Update VE core submodule to master (518456c)
New changes:
0808e3b Refactor ve.ui.LinkAction to allow autolinking to create nodes
867f558 Avoid protocol-relative base Firefox bug in unit tests
8ece359 Use equalDomElements tests for CE HTML
897999d Make layout-specific paste tests
0296b1d build: Bump various devDependencies
4620000 ve.dm.Scalable: Get test coverage to 100%
294dab5 Add getDomFromNode method to ve.dm.Converter
98f940b build: Bump browserNoActivityTimeout from 10s to 30s
93bc745 Allow ve.getDomElementSummary to modify attributes
89ea9a3 Make fixBase tests account for no-op behavior when baseURI is valid
5d4bfb6 Localisation updates from https://translatewiki.net.
ad41023 Allow autolinking inside list items

Change-Id: I166a825191627a3b6f36995ddca6a97fa8f4c582
2015-09-25 10:33:40 +01:00
James D. Forrester 207f55dc8c Update VE core submodule to master (3c65a2a)
New changes:
90ed001 Localisation updates from https://translatewiki.net.
c2f2096 Rename ve.ui.PreviewWidget to ve.ui.PreviewElement

Change-Id: I35103bc5d98b7eee77c9f5f22c441091b6453687
2015-09-24 13:50:08 +01:00
James D. Forrester 3261f24c12 Update VE core submodule to master (e650f93)
New changes:
f22069c SurfaceObserver: use plain function call to Surface, instead of emit
6b1ba80 Fix arrow key fixups for inline focusable node
839a177 Update OOjs UI to v0.12.9
57d8962 Localisation updates from https://translatewiki.net.

Change-Id: I8727e84cb8c0b65604e6f28c03ca47b52727171e
2015-09-23 17:53:53 +01:00
James D. Forrester 04c737bac3 Update VE core submodule to master (171fe11)
New changes:
1f2d43d Localisation updates from https://translatewiki.net.
171fe11 Reduce padding for IndexLayout panels in fragment inspectors

Change-Id: I2a9b4210a33c360b3137b0278454c1b6d92ab4d9
2015-09-22 14:19:24 +01:00
James D. Forrester 2f184cef79 Update VE core submodule to master (8012620)
New changes:
2dd6596 Localisation updates from https://translatewiki.net.
784e559 tests: Test view surface data transfer handling methods
0955c54 Localisation updates from https://translatewiki.net.
3ae3ff6 StrikethroughAnnotation: Alias <del> tags like we do for <code>/<tt>
5976e1d Remove special casing to create post-link unicorns
4431a91 Fix height issues in mobile context
150947d Localisation updates from https://translatewiki.net.
7edad7f build: Enable json-summary format in karma-coverage
a417bf0 Don't fixup table selections
2a12535 Support incomparable nodes in ve.compareDocumentOrder

Change-Id: Id8407014b692567a91c4c18855850bc7bebdc652
2015-09-21 16:08:54 +01:00
James D. Forrester 71dd91d5d1 Update VE core submodule to master (5018704)
New changes:
4a089dd dm.Annotation: Remove unused convenience wrapper
f30ad5c PreviewWidget: De-duplicate code with a private function
c16da30 Restore scroll immediately after paste
45b1406 Links: Explicit entry/exit with cartouches

Change-Id: I48ad7fb3f68ebb5eff89cc7e2b00878cca550222
2015-09-16 10:49:24 -07:00
Ed Sanders 0fdf3cbb93 Update VE core submodule to master (9dcfbdb)
New changes:
184f952 [BREAKING CHANGE] ve.dm.Converter: Put static things in .static
a4c1e1e Localisation updates from https://translatewiki.net.

Local changes:
* Switch to using Converter's newly-static methods

Change-Id: If30f7b2a0de92c4c7f4d5ca57663251c132eeed2
2015-09-15 17:36:27 -07:00
James D. Forrester 42a8c4671e Update VE core submodule to master (ce39ef0)
New changes:
63f6b71 build: Upgrade grunt-banana-checker to v0.3.0
a88b6d6 ve.resolveAttributes: Use addBack to build a single selection
ce39ef0 FindAndReplace: Only use caseSensitive for text matches

Change-Id: Ibddf90531709aa8951b3ac8ffcf225ca6410eb51
2015-09-15 08:30:57 -07:00
James D. Forrester 566c49a96b Update VE core submodule to master (7847bf5)
New changes:
0534de0 Localisation updates from https://translatewiki.net.
de0803c Localisation updates from https://translatewiki.net.
e0842b2 Add new krl language
61e0589 ve.dm.Scalable: Create unit tests
761d817 Localisation updates from https://translatewiki.net.
8c6b9f1 Follow-up 761d817: Fix build for added language 'olo'
5980634 Use removeChild instead of remove
d9bfb72 ve.dm.SurfaceFragment: Add more unit tests

Change-Id: I886c7427e53bd30d9518b6f868107a7b3cca7b54
2015-09-14 14:56:51 -07:00
James D. Forrester 22ab3ec3d0 Update VE core submodule to master (e33a584)
New changes:
417473d Slightly increase width of table context
ab7544c jquery.i18n: Add missing dependency on PluralRuleParser
01dda9e Update OOjs UI to v0.12.8
4d9c68e Use a 'larger' dialog and 3 columns for keyboard shortcuts
cfacd18 ve.ce.Surface: Wrap internal drop's insertContent in a try/catch

Change-Id: I1a9cd4cea16682a8eaabfa4c5551fc0acd8b666d
2015-09-11 08:16:46 -07:00
James D. Forrester 2e963221f7 Update VE core submodule to master (97742c0)
New changes:
6e5d335 sa.DesktopTarget: Clean up handling of actions toolbar
52a609d ElementLinearData: Add extra check to hasContent
97742c0 Allow shift+delete to cut on non-Mac platforms

Change-Id: I2a46c4a5e46fcc339b3686ce88f4137c74017d87
2015-09-08 08:34:04 -07:00
James D. Forrester 5337b249a2 Update VE core submodule to master (d58d7d4)
New changes:
5542fe9 Localisation updates from https://translatewiki.net.
0a64089 Follow-up 5542fe9: Fix build for added language 'glk'
26c8862 Update OOjs UI to v0.12.7
0481471 Make ve.ui.Sequence#execute return false if the command is missing
20fd431 Localisation updates from https://translatewiki.net.
521d281 Localisation updates from https://translatewiki.net.
a76cbef build: Bump grunt-contrib-jshint from 0.11.2 to 0.11.3 to fix upstream issue
7022385 Back out "Re-use example surface across surface view tests"
3a8f7af Don't call setInsertionAnnotations on handleInsertion
10700e2 Localisation updates from https://translatewiki.net.
3b75d9d Don't descend into overflow clipped nodes for highlights
9492aca De-duplicate methods in NodeDialog and NodeInspector using mixin

Change-Id: I06a239269c68351f046f8aa221bb82899a8f57b1
2015-09-05 22:55:25 +00:00
James D. Forrester 1aab5a2322 Update VE core submodule to master (62cf769)
New changes:
62cf769 Store find and replace toggle states in user config

Local changes:
* Register new visualeditor-findAndReplace-* options

Change-Id: I5934882f25614bd79488fff7e8fa0af5ede0af38
2015-09-01 10:50:06 -07:00
James D. Forrester efcc8a9781 Update VE core submodule to master (83c5ca4)
New changes:
fdf0756 Localisation updates from https://translatewiki.net.
686f1cc tests: Use model-only surface in ListAction test
4b5ede7 tests: Reuse test view in paste tests
14a0f11 tests: Re-use example surface across surface view tests
94105a7 Localisation updates from https://translatewiki.net.
b505daf Follow-up 94105a7: Fix build for added language 'en-ca'
83c5ca4 Platform: Add user config methods

Change-Id: Ic24413beac9bc0f454ba1e077e5f4f1ef210640d
2015-08-31 17:50:01 -07:00
James D. Forrester 2b88dc2f8b Update VE core submodule to master (ff259df)
New changes:
138a7f8 Fix focusable mouseout
e09bf84 AnnotationInspector: Only show 'insert' when content is to be inserted
56aba4b Clear query when regex is invalid
9a96112 Localisation updates from https://translatewiki.net.
284cadf Check surface is visible before trying to render fragments
ff259df Localisation updates from https://translatewiki.net.

Change-Id: I870f100b537992a690e9da8dc3b01b16aafe0f68
2015-08-29 13:18:44 -07:00
James D. Forrester fc5ff16548 Update VE core submodule to master (9123d3b)
New changes:
39bde8f Localisation updates from https://translatewiki.net.
1594ab6 Update OOjs to v1.1.9
e35bb54 Update OOjs UI to v0.12.6
6140eb6 Don't using start selection to position context for focusable nodes
81e5876 Localisation updates from https://translatewiki.net.
9123d3b [BREAKING CHANGE] Remove ve.selectEnd()

Change-Id: Icd1899b9e28bb12ab789f727a3f428b09a05fffb
2015-08-26 16:56:46 -07:00
James D. Forrester 44d6ca61ad Update VE core submodule to master (bf76dd7)
New changes:
4344098 Increase width of desktop context, inspectors to 400px
0970f8a Refactor surface config compilation
58c0491 Put spaces between multiple links when pasting
9d13857 Localisation updates from https://translatewiki.net.
bf76dd7 LanguageInspector: Make the widget use one line for language

Change-Id: I79688eaf55547af8749230f589427df7ded5bcb0
2015-08-25 08:55:35 -07:00
James D. Forrester 5bc3bd487d Update VE core submodule to master (442ec14)
New changes:
736fe7f Localisation updates from https://translatewiki.net.
ed9a86f Don't autolink or autoconvert on "Paste Special"
35ffb6f Don't select pasted content
8a4fbe2 Localisation updates from https://translatewiki.net.
f62011c Move progress bar functionality up to DataTransferHandler
9abba55 Give links a getDisplayTitle method for use by transfer handler
7f1f965 Localisation updates from https://translatewiki.net.
0b3e045 ve.ce.Surface: Only perform blur-on-destroy hack if surface is focused
dbd6d88 UrlStringTransferHandler: Don't insert a space after URL paste

Change-Id: Ieb8cc541a189a0a5ff2e21077584a9c63c6c7d6f
2015-08-23 14:05:06 -07:00
C. Scott Ananian ee06f94879 Update VE core submodule to 89f6c2d7
New changes:
89f6c2d Strip trailing quotes when autolinking URLs

Local changes:
* Strip trailing quotes and non-URL characters when auto-linking

  Update ve-mw to match I58a9c7f97ef10d9f495e65da17f208b9fc431aa4 in core,
  since otherwise the ve.ui.LinkAction.test.js case with a quoted link
  will begin to fail.

  Make the set of stripped characters better match the combination of
  EXT_LINK_URL_CLASS in the PHP parser and the explicitly-stripped
  trailing punctuation in Parser.php::makeFreeExternalLink().

  Add some international quotation marks while we're at it to make
  everyone equally happy.

Change-Id: Iaffac4b073aeafa4f1137265c2d95e425c24d553
2015-08-23 14:03:01 -07:00
James D. Forrester 3adfa82ace Update VE core submodule to b5eaa6f
New changes:
b5eaa6f Factor out ve.ui.LinkAction#autolink

Change-Id: I0328132f233bdc0eb9515ce78489c65051aacb67
2015-08-23 13:55:06 -07:00
James D. Forrester d868a0f981 Update VE core submodule to master (7ec7bb5)
New changes:
0590b07 build: Enable jscs's checkParamNames jsdoc rule and make pass
8b845d7 doc: Fix jsdoc for ve.ui.WindowAction#getWindowManager
3819ff6 Localisation updates from https://translatewiki.net.
94651ca Follow-up 3819ff6: Fix build for added language 'su'
5feb0c7 build: Enable jscs's requireParamTypes jsdoc rule and make pass
0605837 build: Enable the remaining jscs jsdoc rules we can
e70f972 build: Enable jscs's checkTypes jsdoc rule and make pass
44eb8fe Localisation updates from https://translatewiki.net.
dc7c8ed Make focusing surfaces work in Firefox

Change-Id: I11248b4c190839cb87948b13b844d6171341d5c8
2015-08-21 10:46:01 -07:00
James D. Forrester 44d739c164 Update VE core submodule to master (4c8168a)
New changes:
7311e96 Localisation updates from https://translatewiki.net.
b517839 Revert "Localisation updates from https://translatewiki.net."
42db2eb Improve ve.ui.UrlStringTransferHandler.test.js
89e9227 ve.ce.Surface#afterPaste: Use only relevant HTML when creating DTI from image
9e80e7f build: Update various devDependencies to latest
c93722b build: Enable jscs's requireNewlineAfterDescription jsdoc rule and make pass
2a67aa8 Update OOjs UI to v0.12.5
82cc2a0 Rebuild tree when toggling input debugging

Change-Id: I2c5023a0b2e08f20b3544e8cab5d439ccc4088d7
2015-08-19 08:49:10 -07:00
Ed Sanders 17f0fffe85 Update VE core submodule to master (1191940)
New changes:
de69c36 Fix typos in function names
fa80099 [BREAKING CHANGE] Split out linear context from context
db1d28c Only show alien context for focusable nodes
1191940 build: Bump grunt-jscs to 2.0.0 and make pass

Local changes:
* Update context inheritance

Change-Id: I284e2b30cd1903770482ee1c554687b676a2d626
2015-08-18 11:24:08 -07:00
C. Scott Ananian 550a979fdb Update VE core submodule to master (0bf4ce7)
New changes:
44f8204 Autolink pasted links

Local changes:
* Add UrlStringTransferHandler from core

Change-Id: I7eae6da2739fa47b22ed1e7fbf53e9473e037c5b
2015-08-18 07:20:29 -07:00
James D. Forrester e282522cf2 Update VE core submodule to master (cf224ad)
New changes:
263b4fc Localisation updates from https://translatewiki.net.
0487dcc ve.dm.CommentNode: Add space to comments' clipboard html
3a5422b DebugBar: Add a close button

Change-Id: I9ff3a77a3eb8d2d9a9dc61aa6cb52db577d1592e
2015-08-18 10:24:39 +01:00
C. Scott Ananian c197d0b075 Update VE core submodule to master (d020898)
New changes:
985edd2 Localisation updates from https://translatewiki.net.
9883b44 Follow-up 985edd24: Fix build for added language 'shn'
b0d5ee2 Localisation updates from https://translatewiki.net.
18ca837 Localisation updates from https://translatewiki.net.
f6a0945 Don't include trailing punctuation in autolinked typed text

Local changes:
* Add MW-specific trailing punctuation rules for autolinking

Change-Id: Iaa620142222f47e9fde2d03b935f38c24d38800b
2015-08-17 10:01:54 -07:00
James D. Forrester a002839271 Update VE core submodule to master (28c686e)
New changes:
b79a18c Cursoring: find adjacent position in DOM order
40dacd4 Allow more than one DataTransferHandler to match a given item
07af84c Localisation updates from https://translatewiki.net.
dd9fcbf Update OOjs UI to v0.12.4
28c686e Make URL schemes case-insensitive

Change-Id: If4a29f33e4dc3d8eb9732d0b06c5cf31f0bee113
2015-08-14 11:52:52 -07:00
James D. Forrester 1d6085b801 Update VE core submodule to master (e61ebf2)
New changes:
61d20a1 Hide on-screen keyboard when selecting nodes on all mobile platforms
e5aff79 Localisation updates from https://translatewiki.net.
a99a897 Update OOjs UI to v0.12.3
3c01a14 Make DM nodes sensibly hashable
a611eb9 Make ve.dm.example.postprocessAnnotations fluent
496c895 Update ve.dm.ElementLinearData#hasContent documentation
fcaa035 Support RegExp sequences; trigger sequence matcher after newline
edda1d4 Add a mechanism to wait until ve.init.platform has been created
e174155 Autolink URLs when typing
ac9248f Allow drag and drop of links (and subsequent autolinking)
c88fad6 Localisation updates from https://translatewiki.net.

Local changes:
* Define `ve.init.platform.getUnanchoredExternalLinkUrlProtocolsRegexp`.
* Make `ve.ui.MWLinkAction` extend `ve.ui.LinkAction`.
* Override `ve.ui.LinkAction.getLinkAnnotation` so auto-links use the proper
  `ve.ui.MWExternalLinkAnnotation` type.

Change-Id: I934f76158512e2e89b614ed92fef6481f70728e7
2015-08-12 14:31:06 -07:00
James D. Forrester 4054864b3f Update VE core submodule to master (d3d2293)
New changes:
8218ced Localisation updates from https://translatewiki.net.
c7f4587 Fix resizable node teardown
90869e0 Context: Store default button config in a static property
d9d747f MobileContext: Provide a delete button for nodes' context
9dadbfc MobileContext: Provide a fallback context item for alien nodes

Change-Id: If135c9309baf1af58e3c58fdec099e794bc08e64
2015-08-11 08:43:27 -07:00
Ed Sanders 92fc30db48 Update VE core submodule to master (da9d929)
New changes:
2464397 Move toolbar floating code up to the target
11bdc21 Separate SA target into Mobile and Desktop
7ab3389 AlignableContextItem: Fix styling in mobile
758619f CONTRIBUTING.md: Update file paths and build instructions

Local changes to mw.Target to handle toolbar floating.

Change-Id: I0751817e3a6668b120134bfcb6c611b121a46501
2015-08-10 12:33:14 -07:00
James D. Forrester 09fc1e299b Update VE core submodule to master (58912e1)
New changes:
a56746e Ensure demo init script runs last
ab6a1bd Context emits resize events
564701a Provide a context item for table cells in mobile
9f92a0f MobileWindowManager: Bring in styles from MW-Minerva

Change-Id: If0da9079bbab6f930979ed17be3b27cb0a5bea60
2015-08-10 08:47:53 -07:00
James D. Forrester 0481233112 Update VE core submodule to master (07288e0)
New changes:
552fec6 MobileContext: Use frameless buttons, fix vertical heights/alignments
ebb4d08 Emit blur/focus events from the surface model

Change-Id: I9227a8795378826f1cee6dc2d3ac562b9970b9e2
2015-08-07 10:50:35 -07:00
James D. Forrester 87b506cb24 Update VE core submodule to master (1360bca)
New changes:
3753f8b ve.ui.ToolbarDialog.css: Move Apex-specific hacks to Apex stylesheet
4650555 Localisation updates from https://translatewiki.net.
40f31a2 DebugBar: Re-style linmod dump hide button to left with '^' icon
5ff7c26 ve.ui.Surface: Teardown the view after window managers
03193a6 ve.ce.Surface: Provide #blur to pair with #focus
ab26ac6 Fixup I06813e3ff: Activate surface before blurring
4f2e832 Flag back/cancel actions so they can be restyled in mobile
a499a73 Localisation updates from https://translatewiki.net.

Change-Id: Iefdd8e7db47e6a53913c0a95a95559fe2c0a9dc2
2015-08-06 14:45:40 -07:00
James D. Forrester ffe075f21e Update VE core submodule to master (15e5545)
New changes:
87c538a PasteRules#plainText: Fallback if rules.external is undefined
7155191 Localisation updates from https://translatewiki.net.
c2d03ea ToolContextItem: Use the target's command registry
d196838 DataTransferHandler: Improve aborting and resolution/rejection
009190e Allow the target to specify a DataTransferHandler factory
0ea9439 Split out basic functionality of tableCell so other nodes can behave as cells
999a5da ve.ce.TableCellableNode: Only apply title to nodes which are cellable

Change-Id: I56a73a26f21a6e22b6bafc850cdee35397e5d15d
2015-08-04 10:51:35 -07:00
James D. Forrester d32c390523 Update VE core submodule to master (d9d4e33)
New changes:
288b060 Use frameless buttons in mobile process dialogs
b7deb26 Fix typo in TargetWidget.css
62c63d7 Localisation updates from https://translatewiki.net.
ac0c49a Remove duplicated commands for 'code' and 'strikethrough'
c4120fc Make setExcludeInsertions chainable, like all other SurfaceFragment methods
d2e86df Use super constructors in Desktop/MobileSurface
a1364f4 Have getLinearFragment call getFragment
842b322 Use overridable factory methods for creating surface model and view
8e729f7 Localisation updates from https://translatewiki.net.
479095c Make 'plainText' a paste rule, rather than a named parameter
744c633 Allow the target to specify command and sequence registries

Change-Id: Ie312412d5af350e7b1478393ad288bbe14a7a43a
2015-08-01 15:46:47 -07:00
Ed Sanders cf191f5fa8 Update VE core submodule to master (8feab4e)
New changes:
11953f7 Localisation updates from https://translatewiki.net.
0dbafb0 Update OOjs UI to v0.12.2
cbd0982 Replace placeholder color with opacity
087365c Support other types of 'empty' document placeholders
7692890 Make scrollIntoView a VE utility function
5a1a159 Localisation updates from https://translatewiki.net.
8edf71e [BREAKING CHANGE] Kill ve.indexOf and thus @until
bb02b02 build: Bump various devDependencies to latest
cb5b2cd Fix scrollIntoView util binding
8feab4e [BREAKING CHANGE] Use config object for Target constructors

Local changes:
* Use config object for Target constructors

Bonus:
* Add CSS classes to MW targets
* Use 'super' calls

Change-Id: Ieb4e4eb3663aab2706c0f3ecc8b82e00555df1d5
2015-07-30 08:28:48 -07:00