Commit graph

450 commits

Author SHA1 Message Date
James D. Forrester ce0b8d593e Update VE core submodule to master (fd7ee98)
New changes:
8151b6f Localisation updates from https://translatewiki.net.
fd7ee98 Add class="notranslate" to prevent Chrome from translating the CE DOM

Change-Id: I1d4be9f77d86a78bcedf7a6166ca43f74f74e249
2015-03-30 14:29:30 -07:00
Roan Kattouw 9766ea22e6 Update VE core submodule to master (3f59941)
New changes:
0b076f9 Unwrap empty spans on paste
1580919 Add check to see if GCN contents are visible

Change-Id: I06fb31e9dec18559b8980e3bf996e6baca81e4c2
2015-03-30 11:23:21 -07:00
Frédéric Bolduc 84ca50fa42 Update VE core submodule to master (2c27ba9)
New changes:
2c27ba9 Add a simple tooltip when hovering on table cells

Local changes:
* Register new <visualeditor-tablecell-tooltip> message

Bug: T93908
Change-Id: I784b7f9d56704c16610f61f6d0055c70db46d5b1
2015-03-30 10:48:45 -07:00
James D. Forrester 38fedd024f Update VE core submodule to master (5822d2f)
New changes:
645febd Work around IE link paste bug

Change-Id: I95ee494910e180c55f9f59804f857ff1996dfcea
2015-03-30 10:38:27 -07:00
James D. Forrester 36a6bf3e92 Update VE core submodule to master (ae039bc)
New changes:
16ac241 ve.ui.SurfaceWidget: Insert toolbar dialog manager into toolbar
de4d7b5 Add clears to default floats
9367efb Improve backspacing over the end of a list with empty last item
7bb4e5f Ensure that selection is not lost inside block slugs after backspace/delete
8254837 Update jQuery from v1.8.2 to v1.11.2
ca9ea82 build: Update grunt-banana-checker to v0.2.1
3ab8154 Fix slug icon size
c454c49 Localisation updates from https://translatewiki.net.
ec4a9ab Follow-up c454c4990: Register new language (ku-latn)
a7590a0 Simplify getClipboardHash
3f22d1b Always run sanitize, even with no import rules
7f96bf4 Remove duplicate module declaration
8f2c9cf Scroll the selection into view when it is outside the window

Change-Id: I3593270bd1e907647f578abcf15cdfc02bb27bc2
2015-03-29 15:54:29 -07:00
James D. Forrester 9eb72f7604 Update VE core submodule to master (754d3eb)
New changes:
b15ffd7 Make triple-click expand to CBNs, not BranchNodes
43f16a7 Initialize this.$window in ve.ui.Toolbar constructor

Change-Id: I96ac829a6dd4ef46156460bf7ab9585ed923456d
2015-03-26 11:45:01 -07:00
James D. Forrester 2da4430f64 Update VE core submodule to master (731b3ad)
New changes:
7fb2931 Fix context height and padding
ce804a0 Add 'isGenerating' method to ve.ce.GeneratedContentNode
a78814e Describe ve.Range using anchor/focus terminology
1eee7ed Insert slugs on backspace/delete if needed
4bd365f Prevent backspacing/deleting over table cells
5380b8c Follow-up 80a07cf5cb: don't use DM DOM nodes directly in CE DOM
fb45c46 Localisation updates from https://translatewiki.net.
13e90b8 Allow override of 'actions' toolbar group
731b3ad Update OOjs UI to v0.9.4

Change-Id: I80a0e8402bb634180e9ece1483f7cdd28fe3b9a3
2015-03-25 15:40:10 -07:00
James D. Forrester 497e7eb4a1 Update VE core submodule to master (cb06317)
New changes:
5197b2d Rangestate optimization
80a07cf Unmix GeneratedContentNode from AlienNodes
f510e9c Make (Node/Annotation/MetaItem)Factory inherit from ModelFactory
b625ff0 Localisation updates from https://translatewiki.net.
5c4653c ve.qunit: Use 'jscs:disable' comment rather than hacks
90e9480 Remove registration of abstract AlienNode classes
d325674 i18n/en.json: Convert from spaces to tabs, like all other files
f40fc15 Add 'classes' config option to focusable nodes to simplify AlienNode
f7c8999 Document config options as @cfg
ad3aa0b ve.ce.Surface.test: Groundwork for testing non-linear selections
cd1a992 Localisation updates from https://translatewiki.net.
c92471e Move drop marker to highlights layer and position absolutely

Change-Id: I437663d93a346a06c6a5137cce5149c7a6fcbb7f
2015-03-25 18:20:35 +00:00
James D. Forrester d67dfeeb5d Update VE core submodule to master (715750b)
New changes:
a03602b Fix RangeState detection of selection outisde of document
03ba4c8 Fix focusable node copy in Safari by using non WS selection

Change-Id: I2b5505564a9cbdafe012c8ede6771502e7c0d2b2
2015-03-21 18:03:14 -07:00
James D. Forrester 134887f470 Update VE core submodule to master (1c5c1e2)
New changes:
9f435e4 Associate the fragment in AnnotationInspector

Change-Id: Ieafdcad7e61aa6d22f62d2654658392717ca99bd
2015-03-20 18:06:06 -07:00
Roan Kattouw 8470e2c272 Update VE core submodule to master (f8f9728)
New changes:
68e20d4 Create AlignableContextItem to quickly adjust AlignableNodes
0150df2 Update OOjs UI to v0.9.3
b333fd3 FragmentInspector: Execute action on enter, rather than closing with data
2d14f7a Fix webkit column hack
be780eb Don't drop whitespace when removing empty slug paragraphs
cc19787 Split handlesOwnChildren and ignoreChildren
7f1c9a7 Localisation updates from https://translatewiki.net.

Local changes:
Add ignoreChildren to handlesOwnChildren nodes

Change-Id: Id3dc7efae8d30b6551b2fc3104ed00bc86339176
2015-03-20 16:04:15 -07:00
Trevor Parscal 5e833f0c10 Update VE core submodule to master (5d5f8a4)
New changes:
622693a Work around JS errors when editing image properties
a0498f8 [BREAKING CHANGE] Emit rerender for dead nodes

Local changes:
Use the new traverse function to bind handlers to rerender events of
generated content nodes to update the target of async rendered reference
content in reference context items.

Bug: T91314
Change-Id: I762a6c4c9438b431444c7af7b43043ee1517a15c
2015-03-19 16:14:17 -07:00
James D. Forrester bdc2df3c97 Update VE core submodule to master (89c37dc)
New changes:
9ec087b Update OOjs to v1.1.6
aade22b Factor out ve.compareClassLists functionality
9b39fc6 Refactor expandLinearSelection test into a case loop
62308e5 Fix edge case in expandLinearSelection when selection covers node
fe4eaca Update context menu on document update

Change-Id: I29e9a888ac8757415009e1d8e6fba9c76c2cf7e3
2015-03-19 12:15:21 -07:00
James D. Forrester 2a2ebb39c6 Update VE core submodule to master (91858b5)
New changes:
a9f3539 Avoid miscalculation of monospace text height
10c50a2 Update UnicodeJS to v0.1.4
8ca67ef Add .mailmap file
bc7ffd8 Release more things in destroy methods
7a3eca3 Move click blocking from links to content branches
80d68ea [BREAKING CHANGE] Use Unicode character class to calculate word expansions

Change-Id: I497f5300228add02e4319b2cbb2f7ede054d8c0c
2015-03-18 18:49:18 -07:00
Ed Sanders b83d23c620 Update VE core submodule to master (b57d224)
New changes:
541659f [BREAKING CHANGE] Remove domElements attribute from aliens

Local changes:
* Update alien tests

Change-Id: I26a7ebc709fae9d2365a7f9ce2c4cfdcc10620a2
2015-03-18 14:16:10 -07:00
James D. Forrester 70cff83f68 Update VE core submodule to master (6bd2ea5)
New changes:
44ca3b6 Use store indices in annotate operations
3ebbcce Make range optional in getUsedStoreValuesFromRange
9d03a5e Set originalDomElements whenever a data element is created
4cfffde Simplify annotation hashes
4eeb8bb Add handlers for font annotations
4a6d6f0 Localisation updates from https://translatewiki.net.
05de45e ve.ui.ToolbarDialogTool: Fix documentation
6797d6d Use type from toDataElements when creating annotations
b3a3839 Store reference to DM document in transactions
c073a24 Load special characters in Platform instead of SpecialCharacterDialog

Local changes:
* Add new files to VisualEditor.php
* Re-sort i18n strings in VisualEditor.php
* Re-run extenson.json creation
* Update documentation HTML file
* Update tests for adjacent annotations fix

Change-Id: I7a5e79e68ab8a7aae0e9af42d011943019f7f85f
2015-03-18 12:15:24 -07:00
James D. Forrester f7c658052c Update VE core submodule to master (95d161f)
New changes:
63496f0 demo: Fix typos
67967ec Don't try to remove stuff we never added
aedeba4 Auto-close inspectors
949aa42 Limit the height of context items
d58e841 Expand annotation beyond a word if it exists

Change-Id: I7032e178a9221bc36323064bfcfd36c09caa9724
2015-03-17 17:15:13 -07:00
Trevor Parscal 7f529a2aeb Update VE core submodule to master (546dbc9)
New changes:
580ce3c Implement ve.init.Platform static functions using $.client
85a3d4a ve.ui.Context: Fix typo: embedable → embeddable
37ac763 [BREAKING CHANGE] Allow access to surface through window manager
978bc22 Localisation updates from https://translatewiki.net.
c30c3ee Localisation updates from https://translatewiki.net.
533a10a Localisation updates from https://translatewiki.net.
dafeb22 Add directionality classes to window manager

Change-Id: I5150173da691bb51c4419447f5250c21ac41e32a
2015-03-16 16:54:31 -07:00
James D. Forrester 4f92739310 Update VE core submodule to master (792b450)
New changes:
681804e Only call execCommand() on the surface in Firefox
c9ed5d8 Include editing-core icon pack
792b450 Update OOjs UI to v0.9.2

Change-Id: If75e4993b8c9c7134a69bc5fbffb335beacd8b9e
2015-03-12 17:06:28 -07:00
James D. Forrester 993c7ecfe5 Update VE core submodule to master (89b0629)
New changes:
94d3aff [BREAKING CHANGE] ve.utils: Remove ve.indexOf in favour of Array#indexOf
d6dac30 Provide the jquery.client library
5a7276b Follow-up d6dac30a097: fix typo in github URL
d5db4bd Add jquery.client as a base library
5cdd049 Only set a data URI src on inline slugs in Firefox
83edb7f Use equalDomElements in onCopy tests
9a1825a Ignore linebreaks after <!DOCTYPE>s
a077291 Add rowspan and colspan to list of corrupted attributes
6fd56dd Move selection sub-classes to sub-folder
f828889 Convert spaces to tab indentation
ca82723 Add merged cells table to converter examples
5f5d1b0 Add unit tests for ve.dm.Selection sub-classes
ea5515e Fix unbalanced transaction when removing to/from the edge of an inline node
24fe910 Stop bogus emits from handleLinearDelete
f1354ec Update OOjs UI to v0.9.1
1d09278 Localisation updates from https://translatewiki.net.
cf0787d Follow-up 94d3aff4f0c7: fix fatal for classes with .static.matchTagNames unset

Local changes:
Updates to VisualEditor.php and re-generation of extension.json.

Change-Id: Ib1a4521d17ec1c327c9ab5659d7b237ef4397c92
2015-03-12 14:25:56 -07:00
James D. Forrester fb965444d5 Update VE core submodule to master (e9e39f0)
New changes:
c558d0d Replace $.unique with simpleArrayUnion

Change-Id: I27a8d1aca79dd672ec8faafb43fa75d41df04aeb
2015-03-11 10:41:19 -07:00
James D. Forrester 5362d4d983 Update VE core submodule to master (4d7fda1)
New changes:
f7611ac ce.RangeState: Check this.node for falseyness, not just null
4fd4229 Revert "Prevent form submission in FragmentInspector"
e3af2bc Make ve.init.sa.Target toolbar config overridable

Change-Id: I576246e577c8388361750470edabcdbbdc5b4e4a
2015-03-11 08:37:41 -07:00
Bartosz Dziewoński 690984772f Update VE core submodule to master (ad44a9b)
New changes:
14a58c5 ve.ui.FormatTool: Set deactivateOnSelect = false
d85370d ve.ui.Toolbar: Do not remove window event listeners in #setup
71f877d ve.ui.MoreTextStyleTool: Set autoAddToCatchall = false;

Change-Id: I78163d05bb45d88ed4fc9d3cd4193e29c1515d4e
2015-03-10 21:05:21 +01:00
James D. Forrester b89d09c7b6 Update VE core submodule to master (e85ed49)
New changes:
8925df7 Transaction tests: Assert specific exception messages
6a583b0 ve.dm.Document#buildNodeTree: Throw an exception for unclosed inline nodes
5d6fd2b Localisation updates from https://translatewiki.net.
57baeb1 Use modifier functions keyed by name for queued modifications in TransactionProcessor
04e7b17 Make transaction processing exception-safe
11c4cb7 Add test for heading1->heading2 content branch conversion
aa8fb76 When replacing e.g. heading1 with heading2, use attribute changes
b2db809 Unbreak cursoring inside table cells
2bbde7d [BREAKING CHANGE] ve.utils: Remove ve.getObjectKeys in favour of Object.keys

Change-Id: Iede19c061732ca73d6f97031c3c89345ac02ac58
2015-03-10 09:44:57 -07:00
James D. Forrester cabf2d9ab3 Update VE core submodule to master (d449684)
New changes:
e98b4ab build: Bump various devDependencies
910af78 jsduck: Set --processes=0 to fix warnings-exit-nonzero
ed29114 Factor attribute setting code into ElementLinearData
143d3ff Move ve.dm.Document#spliceMetadata to dm.MetaLinearData
9ca7a70 Remove unused variables in dm.TransactionProcessor#applyAnnotations
a4847a3 Remove unnecessary support for nesting annotation and replace operations
c451a3c Queue linear model modifications in TransactionProcessor
98b253d Followup 11f507a98f62: also restore rowspan and colspan on TableCellNodes
dbecd01 Fix margins of indicators in table context

Change-Id: If137035b36a47eef5d8f16a3e0ef8c93542f7b19
2015-03-09 09:19:06 -07:00
James D. Forrester 679b29cbf4 Update VE core submodule to master (300b89a)
New changes:
300b89a Follow-up Id9e657f12: Don't add moreTextStyle to the same group as it breaks downstream

Change-Id: Ie1373765e0836c6e9c85fd68efb5489f8be18416
2015-03-05 16:19:36 -08:00
James D. Forrester 9d0bb8f56e Update VE core submodule to master (9fb4bdb)
New changes:
266b558 Fix typo in direction calculation
6469b5b Update OOjs UI to v0.9.0
f98bb5c ve.ce.CommentNode: Specify 'background-size' override
4358560 Localisation updates from https://translatewiki.net.
cba6ffe Fold text style dropdown into basic text style bar in toolbar

Change-Id: I59183674ad2cfab2ef62bbd4d4acd105735aa293
2015-03-05 14:57:20 -08:00
James D. Forrester ba45620da9 Update VE core submodule to master (79004c9)
New changes:
b66e48d Use the inspector's previousSelection for context positioning

Change-Id: I7855519f5ad806ace2304ed6e1f5458363ffb440
2015-03-04 10:49:32 -08:00
James D. Forrester 32613d204d Update VE core submodule to master (7dcd5e8)
New changes:
61e1646 Resolve URLs in LinkContextItem
91d1814 Handle optional parameters correctly in table selection
c2810ce Fix up selection if we cursor into or next to a table node
11f507a Don't call .addClass() in CE nodes' setup handlers

Change-Id: Iad402ddab1ca8b736c79589e4724882a41eaa6e1
2015-03-04 09:48:35 -08:00
Ed Sanders 94fe054257 Update VE core submodule to master (a65ad7c)
New changes:
a65ad7c Move special character inserter to toolbar dialog manager

… and add it to the toolbar as a terminal option.

Change-Id: I35834d866a13c5dea7f5a520c63b8a99451fcf6d
2015-03-03 18:20:13 -08:00
James D. Forrester 13945462ce Update VE core submodule to master (b90965c)
New changes:
a9c35d6 build: Add disconnect tolerance to karma config
d468b00 Work around Array.prototype.splice being broken in Safari
9d63353 Make annotation inspector getMode method trim
4acd774 Only store selections which yield a valid context position
245062f Fix desktop context positioning (again)

Change-Id: I8f2f58c955221d1366de2ce9d69283694e78b473
2015-03-03 17:40:42 -08:00
Timo Tijhof 46369a2969 Update VE core submodule to master (0cb3b6f)
New changes:
e6554e8 Localisation updates from https://translatewiki.net.
397a53d Localisation updates from https://translatewiki.net.
56c5937 Provide isAlignable checks for alignable nodes
2431396 ce.ContentBranchNode: Don't compare new rendering with old on first render
0131fe8 ve.ce.GeneratedContentNode: Avoid calling $.fn.add, it's slow
89f66fc Fix documentation lies about rewrap event
fb42667 Add insert/edit modes to FragmentInspector
511e0a7 Make ce.BranchNode#updateTagName do what its documentation says
626936d Localisation updates from https://translatewiki.net.
0cb3b6f build: Rename JSDuck config standard jsduck.json

Change-Id: I58d210a549ea5faa2142f716ad37c2fad9be94f5
2015-03-03 17:09:18 +01:00
James D. Forrester e283be675b Update VE core submodule to master (7bcf314)
New changes:
8e09b32 Make align widget work when config is undefined
8fd594e Localisation updates from https://translatewiki.net.
d3b8d9f Prevent form submission in FragmentInspector
b87d809 ve.ce.FocusableNode.css: Quieten csslint for Firefox-specific hack
3177599 Follow-up cf1e167880: Update call to ve.ui.Toolbar constructor

Change-Id: I438f5e1ad6322e7c9a3621bb2b50ccf9f5c96dde
2015-02-27 19:53:07 -05:00
Trevor Parscal 34da7d56b8 Update VE core submodule to master (2e1a0bb)
New changes:
04a5947 Localisation updates from https://translatewiki.net.
dd4691b Update OOjs to v1.1.5
2e1a0bb Context refactor

Local changes:
Add context item support for references, citations, templates and links

Change-Id: I5d488ecbf9768dc63de6e545505dbfd5eb84cc61
2015-02-27 18:21:13 -05:00
James D. Forrester 83e0503895 Update VE core submodule to master (f81b990)
New changes:
8314c74 Localisation updates from https://translatewiki.net.
f81b990 Guess annotations better for complex changes

Change-Id: I2099f07f4e832aaa2da35f9503b9212a16c33f78
2015-02-25 10:50:34 -08:00
James D. Forrester 40662bd7ce Update VE core submodule to master (31fb72a)
New changes:
80fa805 Remove use of getDocument/getWindow in ve.utils.js
763c0df Fix disconnect of focus change handler in surface destroy
f017882 Clear surface observer when re-activating a surface
56cf369 Revert "ve.ce.FocusableNode: Remove superfluous ve.ce.Surface#appendHighlights call"

Change-Id: I2df30e9c67da5246c0ec58e211b34c8fe0886339
2015-02-24 12:02:45 -08:00
Ed Sanders d73e9d6a84 Update VE core submodule to master (e6a37e2)
New changes:
822236c Simplify slug behaviour

Local changes:
Add Vector-specific rules for slug animation

Change-Id: I812f6f8afc8733aae245f3606302f032e5e54675
2015-02-23 17:18:40 -08:00
James D. Forrester f59cd38eb3 Update VE core submodule to master (2eaf5c9)
New changes:
2e75a9b newFromDocumentInsertion: Also remap store indexes in internalList data
f04b980 Transaction#newFromDocumentInsertion: Add some more tests
60d051c ve.ce.FocusableNode: Ignore children of elements using CSS column-count in Chrome
1089125 [BrowserTest] Update Gemfile.lock
3f376f5 [BrowserTest] Define Rubocop LineLength as 100
ee63e73 Work around Firefox bug allowing cursor in cE=false
505369a Unify data transfer handlers for paste and drop

Change-Id: I5e9c3bdf45610cd4a46de7af9bec78fa1847c23c
2015-02-23 12:54:32 -08:00
Ed Sanders 66aebc4fb0 Update VE core submodule to master (8434ab8)
New changes:
0bc7034 Fix unmodifiedness test in showSelection
6e27ea1 Test clipboard mode in converter
5481dc5 Localisation updates from https://translatewiki.net.
f7623bd ve#resolveUrl: stop accepting string values for base
bce9180 ve.ce.FocusableNode: Remove superfluous ve.ce.Surface#appendHighlights call

Local changes:
* Update test case counter for clipboard tests
* Add clipboardBody to tests

Change-Id: Ie0f149b74abf10e740be63e3759416ecc8bed656
2015-02-22 19:25:09 -08:00
James D. Forrester c3e74a806a Update VE core submodule to master (bf202b6)
New changes:
159ed9b Add 'width' and 'height' to the list of attributes corrupted by IE
a41b51a ve#track: refactor callback calling convention
4280219 Generate CommentNodes more leniently
bf202b6 Fix old metadata tests to use actual metadata

Change-Id: Ia8515d12f5d443e4e07b2c8291bf127341312e1e
2015-02-21 22:50:48 +01:00
Roan Kattouw f55d346148 Update VE core submodule to master (c65f3bd)
New changes:
8b7d159 Separate out toolbar attachment in overridable method
a167a45 Prevent the default action for uncollapsed linear delete
c65f3bd Localisation updates from https://translatewiki.net.

Change-Id: I3b01db40a51ddd652a932848398b825d9ac39c2b
2015-02-19 18:17:37 -08:00
James D. Forrester fc92e5aaf8 Update VE core submodule to master (a7cd696)
New changes:
181561b Support generic data transfer handlers
ecdb379 Only replace selection when we know it has changed
afb37fd Remove some errant references to MediaWiki/Parsoid that don't belong
82f57e0 Update OOjs UI to v0.8.0
489ff8a Simplify AlignableNode by inheriting from ClassAttributeNode
bac7e30 Try html/plain text drop if no file handlers found

Change-Id: Id75692418c331191ea638128fe835350e334837d
2015-02-19 17:44:15 -08:00
Ori Livneh 4cf393da54 Update VE core submodule to master (032c9a4)
New changes:
dc3b1f8 Replace ve.dm.Model#matchesAttributeSpec

Local changes:
Replace ve.dm.Model#matchesAttributeSpec

Change-Id: I2a107999974309304b59697dad0f7374110b9ab5
2015-02-18 16:32:19 -08:00
Roan Kattouw 3611664663 Update VE core submodule to master (7d2a68e)
New changes:
0ceafd5 Fix V8 deopt for ve.ce.BranchNode#onSplice
01d2d4b [BREAKING CHANGE] Store originalDomElements instead of htmlAttributes
96005a7 Localisation updates from https://translatewiki.net.
42e672e ve.ui.Toolbar: Don't call #updateToolState from #initialize
373562d Localisation updates from https://translatewiki.net.

Local changes:
Update for htmlAttributes going away

Change-Id: I576a1e5d5883b03d1fff6666926f80a5682a280f
2015-02-18 15:35:46 -08:00
James D. Forrester 55e4d9ae1e Update VE core submodule to master (4d6cd42)
New changes:
9a0ef06 ve.dm.ElementLinearData: Remove unused rules.removeStyles feature
6174608 Remove a Rubocop exception that doesn't produce offenses
5612b8f Make the Gemfile more like the one in the MW repo
75d20ca Add round-trip test to getModelFromDom tests
f4ac9ac ElementLinearData tests: compare stores more elegantly
d00a4b9 Add fromDataBody property for DomFromModel tests
ccb5452 Remove data-parsoid hack in ve.dm.Annotation#isGenerated
166e0e2 Fix the Rubocop offense SpaceAroundOperators
e1abdbb Fix the Rubocop offense StringLiterals
da95fc0 Use OO.initClass() rather than setting .static manually
f3146c3 Ignore duplicates when comparing class lists

Change-Id: Ic068b09f1975830e49e49bfdf83f503845e27741
2015-02-17 10:59:54 -08:00
James D. Forrester 3558334262 Update VE core submodule to master (e56418a)
New changes:
a883ed5 Localisation updates from https://translatewiki.net.
e56418a Native backspace and delete

Change-Id: Ic3cc6b362915024e79c0bd9e523a59c3b1006049
2015-02-16 18:33:48 -08:00
Roan Kattouw 9a4c192c44 Update VE core submodule to master (f86c97c)
New changes:
e325520 Create APIResultsProvider and APIResultsQueue and add tests
4ead645 Make newFromAnnotation test construct doc2 from data, not HTML
804fb17 Remove useless getDataElementFromDomElement / getDomElementsFromDataElement tests
c2fc6a0 DomFromModelTest: Call modify() on the document, not the data
1535331 Inline ve.ce.View#renderAttributes

Local changes:
Update modify callbacks to work on document instead of data.

Change-Id: Ia875d11627adc38f78dd5010f9ab03e8b083b448
2015-02-16 11:44:34 -08:00
James D. Forrester 284a6f838b Update VE core submodule to master (331116b)
New changes:
a497abe IMETests: Group them with CE tests again
586e443 Preserve nodes better during IME tests
2891dc6 Use node type constants in ve.ce.getDomHash
6a6a7d4 Ignore block slugs in ve.ce.getHash
842dfdb ve.utils: Cover insertIntoArray with unit test
1f020df ve.utils: Clean up escapeHtml
8e28f84 Localisation updates from https://translatewiki.net.
ab568e6 Fix typos in ve.dm.example.js

Change-Id: Id895b0035ee7dbdc9726dbda99383395aaf8b457
2015-02-15 14:14:05 -08:00
Trevor Parscal a65148d69e Update VE core submodule to master (9240a51)
New changes:
50ccb23 Localisation updates from https://translatewiki.net.
9240a51 Update OOjs UI to v0.7.0

Local changes:
* MWTemplateDialog: Stop waiting for removed loading promise to
  finish, as in OOjs UI I2bfa013 the loading promise is removed
  since iframes were the only reason we needed it.

Change-Id: I1500f480d40d06e417366014b9c2a76f7ce9c29b
2015-02-11 16:50:45 -08:00
James D. Forrester 1ffddc0d5b Update VE core submodule to master (c6dee65)
New changes:
7484fc6 Fix center alignment of alignable nodes
8b97cb2 Mix alignable into block images
dec17f2 ve.utils: Apply whitelist in setDomAttributes() attribute removal
f9919de Add attribute transformation for color attribute
7a2e278 Make CSS classes in alignable configurable
5b7f97b Handle showHandles smartness in AlignableNode
5a89e10 Emit position event before window transition, not after
6138c67 demo: Switch mode back to VE when changing page
167b3ed demo: Switch mode back to VE when changing language
2d8c3e7 Native leftarrow and rightarrow
aa2c7c5 build: Bump various devDependencies
1a7480a Add table styles for block images and move to init.sa
048a394 Avoid jQuery in ve.dm.BlockImageNode.static.toDataElement
894fcfa Localisation updates from https://translatewiki.net.

Change-Id: Id5e034b3bba6405b6b70e52d6f8926388743c2ce
2015-02-10 16:34:39 -08:00
Roan Kattouw 396eb606a6 Update VE core submodule to master (83a526a)
New changes:
23a9e11 Localisation updates from https://translatewiki.net.
9f1350f Update UnicodeJS to v0.1.3
f869803 Localisation updates from https://translatewiki.net.
ce11fb3 Use css class rather than jQuery show/hide
0d4584c Fix definition of ve.Range#containsRange
8a5c7d9 Fix rangeInsideOneLeafNode
8ce5f60 Localisation updates from https://translatewiki.net.
d2104aa Track originalHtml in internalItems
9823624 Localisation updates from https://translatewiki.net.

Local changes:
Update tests for internalItem originalHtml change

Bug: T88650
Change-Id: Ie7532cade7e3006e1bf39c12c97962da415ab993
2015-02-09 11:29:43 -08:00
James D. Forrester d6c3bb2c7a Update VE core submodule to master (55e3589)
New changes:
cd3e393 Followup a92661781: fix attribute resolution
b440e22 Fix owner doc in demo
41472ba Localisation updates from https://translatewiki.net.
b46edca Update OOjs UI to v0.6.6

Change-Id: I7ef63efa1ada4eb667fe208749b0f3ef78960673
2015-02-05 00:35:05 +00:00
James D. Forrester e14626e6b2 Update VE core submodule to master (c9b90ce)
New changes:
39f2c09 Update scalable and view on direct attribute change
f02e8bb Use .prop() instead of .attr() where appropiate
32458db Use new window#updateSize method
50db41d Follow-up 8218942cb: Fix buildloader files (i18n-bot dirty grunt build)
cf6414b build: Use karma to v0.12.31
4856215 Use text input's setLabel functionality in find dialog
0e3ec9a Fix typo in F&R teardown
8c0bdf6 Reinstate keypress filtering for Firefox

Change-Id: I40888c23111ce0566de437be1399b63cf569cbcf
2015-02-03 10:18:40 -08:00
James D. Forrester 9e8374bc71 Update VE core submodule to master (8218942)
New changes:
49ccab7 Localisation updates from https://translatewiki.net.
2a9dd3b Update OOjs UI to v0.6.4
bdcc3c5 Follow-up 6fc57d41: Update build results with grunt
960ee07 build: Fail in CI if there are resultant changes
ae85883 Rename file drop to data transfer
f8a530a Update OOjs UI to v0.6.5
9e6b090 Provide Platform#getConfig and shortcut ve#config
8218942 Localisation updates from https://translatewiki.net.

Change-Id: I1825668073aae66d33317ce31a6e2e179046ee1a
2015-02-02 14:14:39 -08:00
Ed Sanders e68eba2687 Update VE core submodule to master (f2d7711)
New changes:
4bb50c3 Localisation updates from https://translatewiki.net.
b7a5b87 dm.InternalList: Use DOM methods instead of jQuery .html()
5b09c9b Localisation updates from https://translatewiki.net.
b709d19 Add generic support of alignable nodes
a1f6c3d Localisation updates from https://translatewiki.net.
c29675a Add find next/previous to command help dialog
1e0b1ed Localisation updates from https://translatewiki.net.
7c76542 Don't render rowspan="1" colspan="1" for every table cell
99eb069 Show a message when an invalid regex is inputted in F&R

Local changes:
Bump command help height for new find next/prev commands

Change-Id: I0196775e499132262ba80acdbf1afc26ef4e8c77
2015-01-30 16:12:24 -08:00
James D. Forrester 9f574bc96b Update VE core submodule to master (e56f537)
New changes:
3122891 Add keyboard commands for find next/replace
6b2969c Localisation updates from https://translatewiki.net.
65c1419 Fix resizeable CSS layers
6fc57d4 Don't use .hide() in ve.ui.Context constructor
7bbfc4e Re-implement ve.ce.ResizableNode#showHandles using CSS
3e004f6 Localisation updates from https://translatewiki.net.
a926617 ce.GeneratedContentNode: Import DOM elements into target document early

Change-Id: I45ce461da1a650c75e5bc1a24b4c38fafe456f9e
2015-01-26 10:38:02 -08:00
James D. Forrester 80e930ac98 Update VE core submodule to master (8b83816)
New changes:
751a65c Localisation updates from https://translatewiki.net.
77047b6 Localisation updates from https://translatewiki.net.
82679b9 Kill grey border on find-and-replace dialog in MediaWiki theme
15ae875 Localisation updates from https://translatewiki.net.
a279340 Localisation updates from https://translatewiki.net.
8b83816 Update OOjs to v1.1.4

Change-Id: Ibafcd3e47e445a3509122bdaea3b678ee226e0fa
2015-01-23 12:36:21 -08:00
James D. Forrester 6730d48d2b Update VE core submodule to master (916d1b9)
New changes:
28d2c33 Localisation updates from https://translatewiki.net.
916d1b9 Unwrap slug wrappers when converting to a real paragraph

Change-Id: Ib517646da3dfd238267e7723c7ae6113246316fa
2015-01-16 18:09:12 -08:00
James D. Forrester 81030a4c87 Update VE core submodule to master (8b28b37)
New changes:
89c15ca Localisation updates from https://translatewiki.net.
df471c4 ToolbarDialogWindowManager: Don't pollute parent's .static.sizes
d6a939b Increase z-index of page select dropdown in demo
1581b43 Localisation updates from https://translatewiki.net.
8b28b37 Update OOjs UI to v0.6.3

Change-Id: I286ccd73ccaa044cf15ba27aee248ab12ecdcad3
2015-01-15 18:20:21 -08:00
James D. Forrester 43dce58872 Update VE core submodule to master (65dcbaf)
New changes:
7f99547 Localisation updates from https://translatewiki.net.
cff4f8d Emit position after opening/closing a window
650bbed Create separate message for find-and-replace-done
18b0f50 build: Bump copyright notices to 2015
dce233a Localisation updates from https://translatewiki.net.

Change-Id: I598da3198bd44188b15af91ca41983174ca0930e
2015-01-13 18:25:30 -08:00
James D. Forrester bf34ebf692 Update VE core submodule to master (535dcb3)
New changes:
5db5254 Localisation updates from https://translatewiki.net.
6abb968 Remove redundant rows/cols after cell merge
794f6ec Localisation updates from https://translatewiki.net.
0deeed3 Localisation updates from https://translatewiki.net.
535dcb3 Update OOjs UI to v0.6.2

Change-Id: I6d4d1d87c15d8bcb214e419e30e7c361a22f95cf
2015-01-09 17:54:35 -08:00
Ed Sanders b3e0403ede Update VE core submodule to master (34acc70)
New changes:
9dfe7eb Localisation updates from https://translatewiki.net.
baa6dff Break out theme-specific CSS
f68fcd9 dist: Put cssUrlEmbed after cssjanus now this is possible so it works for dist

Change-Id: I2af22ab241397c8c84eb8e5e5b4e51f37f8971ac
2015-01-06 16:42:08 -08:00
James D. Forrester 8e2d259812 Update VE core submodule to master (63a2178)
New changes:
d8ed494 Update stylsheets from direction on init
4288b08 Limit number of find and replace results to render
0747440 Use viewport clipping when lots of search results found
2a5603f Update OOjs UI to v0.6.1
32b3431 Fix context comparison on after paste
229240e Localisation updates from https://translatewiki.net.
f7a831d Set hard limit of results to attempt to render, even with clipping
2279843 demo: Destroy the surface when switching away from VE mode
cb43471 Fix documentation of inherited ve.ce.ContentBranchNode methods
7d9a046 Don't attempt to render deactivated selections when collapsed

Change-Id: I8f08eccb531d022667dcc7efd08c6374562ec029
2015-01-06 12:04:18 -08:00
James D. Forrester b8d9903f38 Update VE core submodule to master (a687518)
New changes:
6cf26d2 demo: Unbreak eventLogger.html and eventSequencer.html
0ec8fe0 Localisation updates from https://translatewiki.net.
c739533 Destroy toolbar dialog manager when surface is destroyed
652fd88 Localisation updates from https://translatewiki.net.
649c9ce ve.ce.TestRunner: Don't assume there is a 'changeText' before 'endLoop'
8bc7441 imetests: Add a regression test for Polish keyboard input
b12ff72 ve.ce: Remove hacks from Surface#onDocumentKeyPress; add related IME test
8db941e Localisation updates from https://translatewiki.net.
76af411 Localisation updates from https://translatewiki.net.
d8e5766 Localisation updates from https://translatewiki.net.
4c1a0fa Update grunt-css-url-embed
127cd7c Localisation updates from https://translatewiki.net.
1545c82 Localisation updates from https://translatewiki.net.
f40b2ca Update bugzilla links to phabricator
bfd8205 Localisation updates from https://translatewiki.net.
e384bdf Localisation updates from https://translatewiki.net.
1e2e37d Localisation updates from https://translatewiki.net.

Change-Id: I4eb46a831b013aa36678b49575c90388cd5b52c7
2015-01-05 13:01:16 +00:00
James D. Forrester 5737584626 Update VE core submodule to master (b5102a8)
New changes:
7f61ab3 Localisation updates from https://translatewiki.net.
003221a Follow-up I4f080228: Re-remove PNG and minimisation-related files from OOjs UI
7b0f9ee build: Update devDependencies related to Karma
3983e8a Actually remove ve.instances
674a024 Fix typo in MobileContext
7bba15f Remove this.$element on destroy but don't nullify
bee267f Revert "Follow-up 2075a46: Fix RTL image build by embedding after flipping"
b5102a8 Localisation updates from https://translatewiki.net.

Change-Id: Ib4313449ea5e6799ca193a9809279b8f2b057400
2014-12-18 18:25:46 -08:00
James D. Forrester 818526f313 Update VE core submodule to master (fc3c1b4)
New changes:
4166f91 Refactor debug bar dump methods and add hide button
1568e52 Record whitespace on generated empty paragraphs correctly
2253934 Fix whitespace consistency checking when child has no whitespace property
29b249f Improve support for multiple surfaces in demo

Change-Id: Ic496da654130a356530d6028a5fe4230d6c0c735
2014-12-16 15:49:15 -08:00
Bartosz Dziewoński 08654b4f60 Update VE core submodule to master (fe2d908)
New changes:
fd433fa Add getter for toolbarDialogs in ve.ui.Surface
00c3eb7 Add 'done' button to find and replace dialog
3642dc8 Localisation updates from https://translatewiki.net.
fe2d908 Update OOjs UI to v0.6.0

Local changes to ve.ui.MWFormatTool.css for OOjs UI breaking change.

Change-Id: I6bf98ea988b3e1deb4824189ef8e6d59387b6ffc
2014-12-16 13:27:43 -08:00
James D. Forrester 6dbde76275 Update VE core submodule to master (cb46d98)
New changes:
2c86408 Localisation updates from https://translatewiki.net.
fb5a8ab Localisation updates from https://translatewiki.net.
ad2265f SpecialCharacterInspector: Don't auto-capitalise the headings
dde5faf Localisation updates from https://translatewiki.net.
2b4bfa2 Calculate unicorn offsets correctly

Change-Id: I75bb759e621ae42aeb0d81dabb7eab18594fedc0
2014-12-16 10:21:16 -08:00
James D. Forrester a5b2399008 Update VE core submodule to master (6103755)
New changes:
cd56662 Move ve.init.Target#destroy to a place where it actually ends up existing
91347cb Factor out event handler binding in ve.init.Target
489cd55 Death to isolation
4597c9a Stop propagation of events after handling trigger keys
ea35d23 Non-DOM-modifying selection
6103755 Fix demo CSS hack broken by OOUI change

Change-Id: I087f2fa6a46742f39e7f25ffe5432465ab328182
2014-12-12 16:34:36 -08:00
Bartosz Dziewoński 16e8255f69 Update VE core submodule to master (b5e2b87)
New changes:
96d0936 Mark primary buttons as progressive as well
68f184c Localisation updates from https://translatewiki.net.
b96c9dc [BREAKING CHANGE] Rename method cmpOffsetPaths to compareOffsetPaths
862f31d Convenience compareDocumentOrder method
b5e2b87 Update OOjs UI to v0.5.0

Local fixes to correct for breaking change I32608c7f in OOjs UI.

Change-Id: I64f5e2f6ccc0056bfa9eda5e65e87789b97b8ad5
2014-12-12 12:29:05 -08:00
Ed Sanders 45518019eb Update VE core submodule to master (9ac8136)
New changes:
9929b6d [BREAKING CHANGE] Make ve.init.target an OO.ui.Element

Local changes:
* Fix target constructors now they generate this.$element

Change-Id: Ia6bf604c67305834a3f73863a10336cfbb83fa77
2014-12-11 14:00:28 -08:00
James D. Forrester 722ecddf0b Update VE core submodule to master (17c36e7)
New changes:
17c36e7 Followup cf1e167: unbreak SurfaceWidget

Change-Id: I59ae42b2053106e2a49b67501536a74c6b4bd698
2014-12-11 13:32:56 -08:00
Ed Sanders d6067d5718 Update VE core submodule to master (cf1e167)
New changes:
776e801 Delimit text nodes in debug observations
72643bc Remove debug bar hiding now it is handled by the surface
cf1e167 [BREAKING CHANGE] Multiple surface support and demo

Local changes:
Account for detachable toolbars in core being setup in a different order.

Change-Id: I29156948711d55ba5f6dd4f6c35ca0e4cca32373
2014-12-11 12:49:29 -08:00
James D. Forrester 603248a9c5 Update VE core submodule to master (26f44bc)
New changes:
26f44bc Refactor out trigger listening to allow target and document triggers

Local change to register the file for TriggerListener from VE core,

Change-Id: I16316b71d67b872358a8d7b685a33ce3dc066614
2014-12-10 18:16:29 -08:00
Ed Sanders 34a82928c1 Update VE core submodule to master (3feadb2)
New changes:
fc4af20 Fix filibuster expansion bug
3feadb2 [BREAKING CHANGE] Refactor for multiple surfaces

Local changes:
* Use target.getSurface now that targets can have multiple surfaces
* Remove debug bar code now surfaces manage their own
* Remove import rules code now implemented in base target

Change-Id: I18d6f9f2f36431959d31347b4c1952a1aca1350e
2014-12-10 16:39:10 -08:00
James D. Forrester 8078f61657 Update VE core submodule to master (b6423de)
New changes:
3672954 Follow-up Ifa89a85e: Use '0' not '0px'
0cc0830 Normalize split text nodes correctly
c921dab Localisation updates from https://translatewiki.net.
3d1029b Trim whitespace when annotating

Change-Id: Ia5837dfb93b4eef76c32415462222bcfcfa6df3a
2014-12-09 16:22:23 -08:00
James D. Forrester 889d3fb042 Update VE core submodule to master (805e9aa)
New changes:
c027917 Regular expression find and replace
50ca51f Fix the src attribute for non-debug chimeras
0f0ae08 ve.ce.TestRunner: Fix copypasta in JS documentation
c3a26f8 Localisation updates from https://translatewiki.net.
c477adf Track state properly at the end of an event loop

Change-Id: I4e38607d82b57063d05c0a275b0a15b0147bca6c
2014-12-08 14:44:36 -08:00
James D. Forrester a8af5fd470 Update VE core submodule to master (af4b395)
New changes:
9145f1a Use String#slice instead of discouraged String#substr
a3b7fe4 bin: Update update-unicodejs.sh to parity with update-oojs.sh
d475ba6 Localisation updates from https://translatewiki.net.
af4b395 Localisation updates from https://translatewiki.net.

Change-Id: Ie2615f54c4aa48aaab39229e6169953f721620dc
2014-12-08 08:34:49 -08:00
James D. Forrester baffe9d7e1 Update VE core submodule to master (32397d8)
New changes:
5e60f12 Ensure clipboard key is removed from paste target
32397d8 Update OOjs UI to v0.4.0

Local changes to compensate for new OOUI version, and updated wfUseMW call.

Change-Id: I005f7b23a36e04f1305d4aa037c19a5c7db9a699
2014-12-06 12:28:07 -08:00
James D. Forrester 3619e4c0a4 Update VE core submodule to master (d52749b)
New changes:
c6e298f Localisation updates from https://translatewiki.net.
c5f083a Update IE detection to include Edge
aa026f0 Localisation updates from https://translatewiki.net.
543c929 Ignore enter key when no results.
8be322b Fix find and replace highlights in RTL
144c9ac ve.ce.Surface: Remove use of deprecated OO.ui.Element#onDOMEvent and #offDOMEvent
3ae9ba9 Update UnicodeJS to v0.1.2
b173384 navigator.appVersion -> navigator.userAgent
e9991c9 Papaparse update per https://github.com/edg2s/PapaParse/pull/2
461176e Localisation updates from https://translatewiki.net.

Change-Id: I7a3fed99a2559efe071ed515cb0b0d4ae627d05e
2014-12-05 14:18:59 -08:00
Roan Kattouw fdcc46939a Update VE core submodule to master (e76e259)
New changes:
f033911 Only run showSelection if one of the command successfully executed
381aee1 Remove ve.instances
df0f7e5 Rerender ContentBranchNodes when the selection anchor leaves
27d7517 Check the selection is in the correct surface
40101e4 Use a chimera instead of &#xFEFF; in inline slugs

Change-Id: I6af416ccc99c42e0595f0a52dbb348c710ea7e73
2014-12-03 12:25:52 -08:00
James D. Forrester e722c1726f Update VE core submodule to master (0229301)
New changes:
5eb7294 Find and replace
123a6ad Find and replace tool
557f70f Go backwards through find and replace results on shift enter
4a4ed81 Allow language widget to filter on available languages

Local changes to adjust.

Change-Id: I15e14d6d3c7ee60e465baf3a4df7572851cbca3e
2014-12-03 10:36:39 -08:00
James D. Forrester 74b83c627f Update VE core submodule to master (4743d59)
New changes:
82b7ecf Localisation updates from https://translatewiki.net.
a142762 Use unicorn client rect for adjacent collapsed selection
3ee5955 Add getDescription method to selections
d4be8ea Show entire expandable call tree in ve.ui.Filibuster
4743d59 Update OOjs UI to v0.2.4

Change-Id: Ic4ce5d8aff5a8b90cd541069cf22546940dd4b53
2014-12-02 18:27:17 -08:00
James D. Forrester 3a733e83c6 Update VE core submodule to master (eed8fcb)
New changes:
c32754f Localisation updates from https://translatewiki.net.
41e0cbd ve.dm.Node: Fix typo in comment
27eedba Localisation updates from https://translatewiki.net.
eed8fcb Fix window manager logic

Change-Id: I2c50d403fc57b207a0296dd8b184c59c991f865a
2014-12-01 13:16:10 -08:00
James D. Forrester 3c49a18b1a Update VE core submodule to master (b5a0269)
New changes:
20d9764 Move window managers to sub folder
d69c2fa Update OOjs UI to v0.2.3
62aa941 Use complex change logic if there are changes not at the selection

Change-Id: I063a38268c96db614f8870c65cdc0ed62fb96e27
2014-11-28 18:59:42 -08:00
Roan Kattouw d20cc324fb Update VE core submodule to master (ddbedd1)
New changes:
6aecd62 Use selected annotations when replacing content
02d3a27 Only showSelection if checkSequences actually matched something
52d544b Followup 166a52b: don't disable tools that don't have commands

Change-Id: I8f43c9e85b6c43a4ebc3dfaacf4a1fdf3bd94cd0
2014-11-26 16:39:34 -08:00
Roan Kattouw 566c6d1972 Update VE core submodule to master (f0a63dc)
New changes:
7ac893b Editable blockquotes

Change-Id: I5bc30eca7a8006780c418a93c0057c3dd9060b1b
2014-11-25 17:58:37 -08:00
Roan Kattouw 2d1427f4c6 Update VE core submodule to master (0e7f030)
New changes:
ba3ab28 Followup 166a52b: unbreak tools that don't have commands

Change-Id: I83923334b6be7b81fd46d589faf03c487e2f0afc
2014-11-25 17:39:55 -08:00
Roan Kattouw db5ed76ea1 Update VE core submodule to master (673cf05)
New changes:
6cfcc85 Set ready delay to animation duration in VE WindowManager
fd9219c Refactor WindowAction to include close and toggle methods
5b175bb Update PapaParse to 4.0.6
21754e2 Move toolbar scroll hack to surface
68499c9 Switch to personal fork of Papa Parse
3d60460 Allow empty IME test suite

Local changes:
* Comment out the last remaining IME test, because it broke in PhantomJS

Change-Id: Idac659323b3e612a77b03f449dc8c89618e00f87
2014-11-26 01:06:16 +00:00
Roan Kattouw a367d4e074 Update VE core submodule to master (3270e6c)
New changes:
959e54e Always return boolean from an action
2f37cb5 Fix demo width now that OOUI sets max height
1bfe220 Rename variables in surface#execute for clarity
5f15b95 Reduce height hack on command help dialog
15a3a46 Update inexplicably old version of PapaParse library
31cd078 Localisation updates from https://translatewiki.net.
7709239 Create ve.ui.Sequence which matches commands to typed text

Change-Id: I604902f4a9b9aa116492e840ad42c5a4a2b63157
2014-11-25 14:30:21 -08:00
James D. Forrester 21fa3f2e8e Update VE core submodule to master (aad2986)
New changes:
66c6516 Filter out comments from external paste
4bde889 build: Fix script paths to be /bin/.. not /bin/../.. which isn't a thing
0bcfdbf Update OOjs UI to v0.2.2

Change-Id: Ia4222ae10b8ff4496faa0327270b24009333f939
2014-11-24 19:00:37 -08:00
Ed Sanders f79aed7572 Update VE core submodule to master (8ca8c41)
Local changes:
* Rename paste rules to import rules (also used by drag and drop)

New changes:
f5d83f8 Remove data-parsoid removal hack
99f938f Create 'preserveGenerated' mode for cloneElements and use in copy
938b44d [BREAKING CHANGE] Rename paste rules to import rules
c51288c ve.ce.Surface: Move insert HTML path to DM
10ce4cf Provide a FileDropHandler for HTML files
701bb9c Provide a FileDropHandler for CSV and TSV files
ca6b444 build: Update update-oojs.sh and update-oojs-ui.sh scripts

Change-Id: I5cfa15ab3efd03e2c64c2f9f725cb3098f53b32a
2014-11-24 18:55:32 -08:00
Roan Kattouw 28638e6e44 Update VE core submodule to master (2d8aeef)
New changes:
24d7427 Handle empty rowspan/colspan attributes correctly
b8d17ba Delete src/ui/widgets/ve.ui.ContextWidget.js
0b9ad5b Tweak some ContextSelectWidget code after item→option update
c814765 Pass through excludeInsertions in get(Linear)Fragment
ebec520 Make debug bar controls narrower
b918adb Improve logging
4272ad3 Localisation updates from https://translatewiki.net.
166a52b [BREAKING CHANGE] Change command list from whitelist to blacklist
6a77571 Move getText from dm.Document to ElementLinearData
7084ae2 Emit ce.Surface#position after dm.Surface#documentUpdate
cb9eaf0 Localisation updates from https://translatewiki.net.
a014246 Refactor SurfaceObserver pollOnceInternal
d8ba262 Removing padding override from LanguageResultWidget

Change-Id: Iee383f21a1e7f2cd4506202947b6e1198251c48b
2014-11-24 18:14:52 -08:00
James D. Forrester a8b4fc4966 Update VE core submodule to master (c8201dd)
New changes:
ff237d4 Fix z-indexes in core
e88d43e Localisation updates from https://translatewiki.net.
cf61803 Consistently use ve.ui.WindowManager everywhere
f9dfdb8 Update OOjs UI to v0.1.0-pre (23565e7519)
f79f7e3 Update OOjs UI to v0.1.0-pre (8f8896196f)
c8201dd Update OOjs UI to v0.1.0-pre (9ed4cf2557)

Local changes for the breaking change to OptionWidget and sub-classes.

Change-Id: Ife6abd312d4dc97be67cb84eea4cb9c6a0a31b1d
2014-11-21 17:41:04 -08:00
James D. Forrester a1d75042c0 Update VE core submodule to master (fb57e24)
New changes:
7d8ed7f Copy in some IE CSS hacks from ve-mw
a2e962e Update OOjs UI to v0.1.0-pre (20c61ec865)
d99c62f Update OOjs UI to v0.1.0-pre (d4cfcce969)
7fe02b3 Fix lots of spelling mistakes and typos

Local changes:
Remove redundant IE CSS rules since core's I013688c5

Bug: 73565
Change-Id: Ic60cd5290932ec38fab26492fffa17c3a8e91398
2014-11-21 10:28:34 -08:00
James D. Forrester 7317114187 Update VE core submodule to master (029fc7e)
New changes:
029fc7e Update OOjs UI to v0.1.0-pre (1fa4eb7a73)

Update changes:
Changes were generated by running this script:
https://gist.github.com/trevorparscal/265f1b8c854190637a1e

File changes:

Scripts (modules/ve-mw/ui/widgets)
- ve.ui.MWInternalLinkMenuItemWidget.js → ve.ui.MWInternalLinkMenuOptionWidget.js
- ve.ui.MWLinkMenuItemWidget.js → ve.ui.MWLinkMenuOptionWidget.js

File content changes:

Scripts (*.js)
- MWInternalLinkMenuItemWidget → MWInternalLinkMenuOptionWidget
- MWLinkMenuItemWidget → MWLinkMenuOptionWidget
- ContextMenuWidget → ContextSelectWidget
- ContextItemWidget → ContextOptionWidget
- TextInputMenuWidget → TextInputMenuSelectWidget
- MenuWidget → MenuSelectWidget
- MenuItemWidget → MenuOptionWidget
- MenuSectionItemWidget → MenuSectionOptionWidget
- OutlineWidget → OutlineSelectWidget
- OutlineItemWidget → OutlineOptionWidget

Styles (*.less)
- contextMenuWidget → contextSelectWidget
- contextItemWidget → contextOptionWidget
- textInputMenuWidget → textInputMenuSelectWidget
- menuWidget → menuSelectWidget
- menuItemWidget → menuOptionWidget
- menuSectionItemWidget → menuSectionOptionWidget
- outlineWidget → outlineSelectWidget
- outlineItemWidget → outlineOptionWidget

Change-Id: Ifded7f9e17923dbb56a722b7424ccd2854194c21
2014-11-19 17:04:26 -08:00
James D. Forrester c266766d7e Update VE core submodule to master (c79929b)
New changes:
a20b599 Localisation updates from https://translatewiki.net.
c79929b Update OOjs UI to v0.1.0-pre (7922a50558)

Change-Id: I38a560a5a5eaad8c60c122eee40fb56c0f21747c
2014-11-19 15:59:37 -08:00
James D. Forrester d70a3d76ed Update VE core submodule to master (cdd2691)
New changes:
6ae94bc Add tests for ve.instanceOfAny()
ea1ac17 Localisation updates from https://translatewiki.net.
a9a25cb Update OOjs UI to v0.1.0-pre (f1abca8e82)
ab55974 build: Update various devDependencies to latest
921d16a Localisation updates from https://translatewiki.net.
cdd2691 Use history as as global

Change-Id: I4ff70005591cac11c39e08a602457cf4e0eda9be
2014-11-18 19:37:47 -08:00
James D. Forrester a9292ce649 Update VE core submodule to master (fa572a5)
New changes:
4d00221 Move hasSignificantWhitespace and handlesOwnChildren abstracts to ve.Node.
3889f14 Don't always use updateDimensionsDebounced
ea59d25 Safari copy-paste fix
537478d Make changes to comment node before apply staging stack
6dea745 Apply comment changes using fragment
20e928d Update OOjs to v1.1.3
98bbe75 Don't allow dropping inside a handlesOwnChildren node
9e87ccb Move mobile ContextItemWidget hacks into separate class
5d98528 Replace ve.getProp() and ve.setProp() with OO aliases

Change-Id: I7eb0d0eac311d9a220e7a0ce2f920788a3a2ec3c
2014-11-17 12:51:54 -08:00
James D. Forrester 14a0f93621 Update VE core submodule to master (d418c99)
New changes:
81e2135 Remove upstreamed ve.contains function
77166d7 Update RangeFix library 0.1.0 -> 0.1.1
6fe9405 Give table overlay width so row context positions correctly in RTL
a2001e2 Fix getDirectionFromSelection to work with table selections
ca75f05 Make table inserts directional
7ce4a63 Follow-up 2075a46: Fix RTL image build by embedding after flipping
5068bcd Restore original rowspan/colspan rather than normalizing or overwriting with NaN
e1bff77 Localisation updates from https://translatewiki.net.
a92012e Use strict comparison for insertionAnnotationsChange
39f7b91 Localisation updates from https://translatewiki.net.
b5e1130 Localisation updates from https://translatewiki.net.
c577aeb Initialize mobile context as visible

Change-Id: I113250f8caec07f9a7e59116417eb582ea0e7ae5
2014-11-17 09:54:39 -08:00
James D. Forrester abaea95fec Update VE core submodule to master (0a42f21)
New changes:
0736e17 Localisation updates from https://translatewiki.net.
31eab5b tests: RuboCop checks .docs/CustomTags.rb
bf19679 Move FragmentInspector initialization to initialize
68f7798 Allow <meta> tags in GeneratedContentNodes
6c71f56 Localisation updates from https://translatewiki.net.
d77c436 Use .super in nodes, annotations, meta and lineardata implementations
1582bab Initialize context's $element as hidden
d3fc6d7 AUTHORS.txt: Credit libraries as well as direct contributors
091f781 [BREAKING CHANGE] Remove the ve.bind function
9b578f1 Localisation updates from https://translatewiki.net.
0a42f21 Update OOjs UI to v0.1.0-pre (fe4076af75)

Change-Id: Ie849ef2179989881356a245bc6431e7d9ad1a665
2014-11-13 22:28:15 +00:00
James D. Forrester 385f895980 Update VE core submodule to master (f5083c6)
New changes:
6ec286e Support for generic file drop handlers
4f2ab66 Generic progress dialog for drag and drop uploads
742e0fe Fix pasteSpecial command
87ea9e9 Fix up/down arrowing off a focusable node
643ea34 spinner.gif: Update with new version from Trevor
ffd8b1e Position the table context relative to the first section node
393776a Fix logic for ignoring (col|row)span=1
f94b10e Don't unmerge spanned cells when spanned cell is removed
3416764 TableContext: Simplify row/column overlays styles
e6c0038 Localisation updates from https://translatewiki.net.
fb1a922 Register select all as a command and perform programmatically
3c1ce93 Make caption tool available when caption selected
dd0ac7d Move disabling logic from tools to commands
8bf33a5 Bold & italic icons for Armenian
058b32c Update OOjs UI to v0.1.0-pre (05f0fefc3f)
c01d115 Create filedrophandlers folder for implementations

Local changes:
* Register new files
* Move disabling logic from tools to commands
  onUpdateState should only ever call setActive. setDisabled should
  already be determined by the command so that it can prevent itself
  being called by triggers.

Change-Id: Icdeaa4c152a0dcd839c8e7cc4e64b2215eb2de1e
2014-11-11 16:51:24 +00:00
James D. Forrester d4c133b573 Update VE core submodule to master (bc4355a)
New changes:
fe0bc6c Move most of ve.js to ve.utils.js
6be79d9 Remove and restore selection for non-isolated dialogs
2bf123d Localisation updates from https://translatewiki.net.
d2c4d18 Fix missed conversion of inlineMenuWidget to dropdownWidget in demos
bc4355a Localisation updates from https://translatewiki.net.

Local changes:
* ve.utils.js updates

Change-Id: Ibb7d7483b23edcccbd83dc8fadd4407dca380a25
2014-11-10 12:56:17 +00:00
James D. Forrester 09a518db71 Update VE core submodule to master (bb67705)
New changes:
a824357 Node method cleanups
fa4e504 Add isAllowed(Child|Parent)NodeType to ve.Node
08974ed Replace block drop logic with isAllowedChildNodeType check
5fb113e Don't focus Edit HTML on load
799d27b Create table cells with wrapper paragraphs by default
5d3b5db Localisation updates from https://translatewiki.net.
11cb975 Use hasOwnProperty instead of 'key in obj'
77e24e2 Update OOjs to v1.1.2
bd36a32 Update OOjs UI to v0.1.0-pre (12b66051ff)
f368788 Localisation updates from https://translatewiki.net.
1ee759b Fix non-linear selection handling in ce.Surface#focus

Change-Id: I89aba1cb50cda91721473c2c33b41d7b12433bd5
2014-11-06 17:03:11 -08:00
Roan Kattouw 711d3629dd Update VE core submodule to master (caaff2c)
New changes:
d0ab5bd Localisation updates from https://translatewiki.net.
6b876bd Update OOjs UI to v0.1.0-pre (b38d485723)
caaff2c Blur contentEditable node while destroying surface

Change-Id: I4121ed82617053e8763cdc3d3aaa5ee9aa76e571
2014-11-04 17:17:47 -08:00
James D. Forrester 31bafa183d Update VE core submodule to master (a942301)
New changes:
2cc219a Update OOjs UI to v0.1.0-pre (571f26d0ab)
3543cb7 Protect against offset=-1 in insertContent()
7a3d456 [BREAKING CHANGE] Move selection restrictions from tools to commands
3d847bb Disable desktop context on table selections
41282dd Missed function rename from RangeFix change
dd6c8b8 Support toDomElements returning an empty array
9be6464 Placholder -> placeholder
9bdd0a8 Restore basic styling to toolbar in core target (only)

Local changes:
Move selection restrictions from tools to commands

Change-Id: I88f3d04946bd1d03ed001d747475a8b495a0f64c
2014-11-04 14:11:04 -08:00
James D. Forrester 27fc889cc2 Update VE core submodule to master (dc8cf63)
New changes:
38fc5bb Replace native range rectangle hacks with RangeFix library
4713b8e Disable cell editing when a context is opened
1113a13 AUTHORS.txt: Re-update for late 2014
37af5c4 Prevent clicks on focusable nodes in tables
2152877 Localisation updates from https://translatewiki.net.
b766ecc Update OOjs UI to v0.1.0-pre (eee616d664)
20cb077 Follow-up Ifb7ffb1: Update demo.js for breaking OOUI change
6760cdd Localisation updates from https://translatewiki.net.
555c6ea Set insertion annotations when typing over cell contents
819ad6b Fix width of demo page dropdown
9f4705c Catch backwards selection error in Firefox
ac8a4e8 Add missing focus call to pasteTarget
b034657 Add support for non-table nodes in tables (e.g. aliens)
25aef0c Fixes to onDocumentDrop
622957f Add support for dropping text/html from external sources

Change-Id: Ic704b95c1dc91a1ae74f9a60101cb949b34c9e0d
2014-11-03 11:39:46 -08:00
James D. Forrester c2dfd1ba04 Update VE core submodule to master (b7b56dd)
New changes:
6b820e6 [BREAKING CHANGE] Unisolate dialogs
0bae8f4 Fix selection when inserting a caption
6a31afd Localisation updates from https://translatewiki.net.
ab362b4 Add sparse table demo and fix related selection bug

Change-Id: I8d95b32d01e7a8e1aa9db0e4dc7a2e1e470bd46d
2014-10-31 11:22:45 -07:00
James D. Forrester a8db969c36 Update VE core submodule to master (260d6c5)
New changes:
eb95f82 Store intended table selection before expansion and use when translating
392d1e6 Add table selection support to clear annotation tool
2529985 Refactor and fix table cell editing code
de1117c Support editing of caption nodes
f831ee7 Table caption tool

Change-Id: I8ddfe6349723bb20d9b530e954f745d1757bfbc1
2014-10-30 12:27:55 -07:00
Roan Kattouw 407ed04ef0 Update VE core submodule to master (f9f51a5)
New changes:
7d36bd8 Don't create tables with a thead
dfee68d Localisation updates from https://translatewiki.net.
dde7897 Fix selection transitions between FocusableNodes and non-linear selections
6f9437f Update OOjs UI to v0.1.0-pre (da4b0d5c14)
1ec4bf5 Always emit context change on null selection

Change-Id: Ib3c175199950822cda7b34a3c8ca4faa20c53cfc
2014-10-30 11:52:59 -07:00
James D. Forrester cc8f6970a5 Update VE core submodule to master (f4ff1d6)
New changes:
d845991 Data model implementation for tables
a27c148 ContentEditable implementation for tables
3c47428 Actions and context menus for manipulating tables
543ca54 Support annotation tool on table selections
149cf3d Supporting copy paste of single table cells
25c9eee Table header/data format tools
e557e46 Merge cells tool
afcf2d9 Allow custom type and attributes when creating a table

Local changes:
Add the files and messages for table editing

Change-Id: I6e6c33b96d3089049a0fd5385191caa83df5756b
2014-10-29 11:52:09 -07:00
Roan Kattouw f039160b62 Update VE core submodule to master (545d8db)
New changes:
b79bf0d Add table to test node hack as MWTable is coming
545d8db Provide a generic mechanism for mapping classes to attributes

Change-Id: I4911e81856c66fdde4b5cae622b474be36834911
2014-10-29 11:19:35 -07:00
James D. Forrester 564a6d0a90 Update VE core submodule to master (ce4ee02)
New changes:
56c30cb Remove font-size: 0.8em; rule for OOUI change
97d5111 Update OOjs UI to v0.1.0-pre (deccd11549)

Change-Id: I6efd0a9a996ae60404e029748ef71672cd5ab07d
2014-10-28 10:28:50 -07:00
Roan Kattouw dde33f2297 Update VE core submodule to master (07b2eda)
New changes:
4193898 Remove mw-specific message
f14b214 tests: Prepare repository for running RuboCop after every push to Gerrit
1d81df3 Localisation updates from https://translatewiki.net.
ded6be7 Localisation updates from https://translatewiki.net.
8417636 Localisation updates from https://translatewiki.net.
881d9e5 Make link inspector not close itself in IE... again
07b2eda Recalculate toolbar size on window resize

Change-Id: I5e3becac07cb20d39026786051ca28db0b3a13ca
2014-10-27 18:03:30 -07:00
James D. Forrester 50e59f328a Update VE core submodule to master (27de0c4)
New changes:
016642e Remove crazy space exception from link validity regex
b538834 Remove insertion inspector class
50839f5 Work around *another* browser bug in getBoundingClientRect
e2e916a Increase inspector height by 1 to deal with Chrome opacity bug
9e387da Update OOjs UI to v0.1.0-pre (40de4dabe6)
27de0c4 Follow-up I2f34448: ve.ui.InsertionInspector.js was deleted, so remove from manifest

Change-Id: If979beb12fe865c0e217b93381769264e2efdc20
2014-10-22 17:14:29 -07:00
James D. Forrester 4d12d6c443 Update VE core submodule to master (5fed7c4)
New changes:
a554ea6 Add button to debug bar to enable input debugging
8480f41 Add 'valid' event to MediaSizeWidget
a1c42b5 Update OOjs UI to v0.1.0-pre (531d497d3b)
3910521 Prevent JS error in getNativeRange()

Change-Id: I5f13b5d5d0a15579ed2027a09e3fc3933346b2f7
2014-10-21 19:19:29 -07:00
Roan Kattouw f5ccaa509e Update VE core submodule to master (1835848)
New changes:
6b5a276 ve.ui.FormatTool: Update heading size CSS for new OOUI version
2dd5e9c Fix getAnnotationsFromRange when starting with an element
d7db9af Localisation updates from https://translatewiki.net.
3aa1c88 Update OOjs UI to v0.1.0-pre (44db8292bf)

Change-Id: Id5a465af1f14f9e0371d7672d04a7430bcea98d6
2014-10-21 15:56:13 -07:00
James D. Forrester e20b47f84b Update VE core submodule to master (db78bdd)
New changes:
69ecc8e Remove MW-specific mobile hack from core
e556440 doc: Use wildcards for Desktop/Mobile …Context and …Surface for simplicity of extension

Local change:
Bring in MobileContext hack to filter out all tools except links and citations from core where
it didn't belong.

Change-Id: Ica837abd45f0ff02b49a44da617bc1fd8e9872d4
2014-10-20 12:43:39 -07:00
James D. Forrester 4fd4367d6a Update VE core submodule to master (f8a563a)
New changes:
e251898 [BREAKING CHANGE] Allow tools to specify which selection types they support

Local changes:
New requiresSelection api for tools

Change-Id: Idc3f62d60bfb5710f786734c342f71b1c73fd4c0
2014-10-20 12:15:29 -07:00
Roan Kattouw 90705118d9 Update VE core submodule to master (51a919d)
New changes:
618a773 Update OOjs UI to v0.1.0-pre (99ec31d9b9)
e651bd9 Update OOjs UI to v0.1.0-pre (0d358b167a)
0918a82 Use better unicorn image data
1eea699 Stage an empty comment node when inserting
e49a185 Fix height calculation in fragment inspector
26c8566 Stage a space when inserting a special character
480472c Localisation updates from https://translatewiki.net.
990e807 Update OOjs UI to v0.1.0-pre (db065e5a9f)
279031d Fix scroll jumping in Firefox when pasting at end of line
5519914 Handle paste events on the paste target

Change-Id: I760e0f31cbd20dc704a4131384d84d671520f339
2014-10-20 11:45:22 -07:00
Roan Kattouw d0cc8074c2 Update VE core submodule to master (0190744)
New changes:
a7e4b2f Update OOjs UI to v0.1.0-pre (98cecf304d)
fa38ad1 Update OOjs UI to v0.1.0-pre (1829141230)
0190d46 Prevent observeration during copy and paste
8e300bf Factor out selection of entire pasteTarget
0bdd637 Fix clipboardData API path on copy
0654b4c Localisation updates from https://translatewiki.net.
9a22fe6 Replace calls to ve.bind( fn, ... ) with fn.bind( ... )
447e8de Use local var instead of bind() for inline functions
13f7c0b Get rid of toHashObject from ranges/selection
74fc34a Fix contextChange events from annotations
c750849 Fix broken node change detection
fdbda64 Close inspector on model select
dd8d23f Fix shift-click select on links in Chrome

Change-Id: I163bd8f04cf945bbec41b06b0a631e0a1e1e5eeb
2014-10-17 12:42:38 -07:00
James D. Forrester e83118a90e Update VE core submodule to master (660ac11)
New changes:
af8f17d Add CollapseToFrom/To to Selection API
90d2085 Don't force focus after history action
56f2864 More flexible selection reporting in the debug bar
f01b696 Add content-heavy table to demo HTML
4b9857d Fix typo in getSelectionBoundingRect
781e24c Update OOjs UI to v0.1.0-pre (d74a46ca6a)
93b2dc5 Fix paste by never polling while pasting
b214e89 Fix theme on mobile-dist
aaccabe Replacing push.apply with newly created ve.batchPush in VE core
a00e846 Followup 2432cbf: add recursion guard to updateSlug

Change-Id: I75881c6d6de63589eba1be85e2ee0d0242cc4478
2014-10-15 15:03:28 -07:00
James D. Forrester 24e4bc5013 Update VE core submodule to master (25b398c)
New changes:
2432cbf Also make transitions when leaving slugs work again
af2072a Remove unicorn debug styling
18845bf Remove unused wrongly named class from ve.ui.Context

Change-Id: I97984a448c6ad7751a9024081e98d18685b4b930
2014-10-14 11:57:39 -07:00
James D. Forrester 33d43066f4 Update VE core submodule to master (0dd43dc)
New changes:
93e42f0 Fix documentation
b4574e4 MobileContext fixes
312cf30 Switch mobile demo from deprecated Minerva to MediaWiki
8656c51 Localisation updates from https://translatewiki.net.
3c51598 Stage slugs
ed9a456 Get rid of trigger-happy slugChange event
1074bab Replace pawns with unicorns for pre-annotations
de5cb90 Make slug animations work again
54c711d Localisation updates from https://translatewiki.net.
c05bf65 build: Update karma and switch from PhantomJS to Chrome
d172dcc Update OOjs UI to v0.1.0-pre (837b2f733e)
d8bffa0 Fix icon opacity
22a25bc Localisation updates from https://translatewiki.net.

Local changes:
* Disable most IME tests in VE-MW because they fail

Change-Id: I475a83eac76d9c20b206113bbd0e2a4c352fdb66
2014-10-14 10:57:53 -07:00
James D. Forrester eaa4a2a5f3 Update VE core submodule to master (8b78c2b)
New changes:
388a930 Followup b8d8a5b: fix getNativeRange() in null selection case
c049570 ve.ui.CommentInspector: Update size when the textarea gets resized

Change-Id: Idaf49529c65ed858a11c27b0d9ec0dd55488c9a7
2014-10-08 18:11:51 -07:00
James D. Forrester a2ad67fafe Update VE core submodule to master (07b791e)
New changes:
35e9cdd Followup b8d8a5b: pass selections, not ranges, to SurfaceFragment#clone

Change-Id: Ic6c2e7067180d43d23c1bb5e1443bbcd77f62e9a
2014-10-08 13:09:23 -07:00
James D. Forrester f944683393 Update VE core submodule to master (4b3da84)
New changes:
4b3da84 Followup b8d8a5b: fix stray check for !selection

Change-Id: I1d73d11fd47182147ae15b4c5bb14fdaf27be933
2014-10-08 12:18:59 -07:00
James D. Forrester 24bcc8f4aa Update VE core submodule to master (8280da5)
New changes:
fdbbad7 Followup 2fcc4c0: fix bugs with selection-only polling
d821f07 Getting rid of ve.splitClusters in VE core
efa6933 Add Sucheta to AUTHORS.txt
abd9023 Move Bartosz to principal authors section

Change-Id: I3ff7bd7b48f92e7b01df5589f9f92e15c0a49a08
2014-10-08 11:13:54 -07:00
Ed Sanders 1af18c3c12 Update VE core submodule to master (984b57a)
New changes:
6bbcd6a Localisation updates from https://translatewiki.net.
b8d8a5b [BREAKING CHANGE] The Great Selection Rewrite of 2014

Local changes:
Update to use new selection/range API

Change-Id: I5480d5c77d599c93c2d374fac88bb2fdb68b0024
2014-10-07 21:39:33 +02:00
James D. Forrester 71bb01a8de Update VE core submodule to master (cfd855e)
New changes:
21bba98 update-oojs-ui.sh: Exclude the minimised distribution files
d9114f9 Update OOjs UI to v0.1.0-pre (48980881f3)
3ebaade Localisation updates from https://translatewiki.net.
2a2e256 Update OOjs UI to v0.1.0-pre (26dadbc60f)
517ebb0 Emit change event when dimensions change in MediaSizeWidget

Change-Id: Id30517765563547df92d2f432307fc7e719d05c8
2014-10-06 15:03:32 -07:00
James D. Forrester 677878db41 Update VE core submodule to master (a1c190c)
New changes:
27ae4bd Localisation updates from https://translatewiki.net.
f41633d Revert "ve.ce.Surface: Magic workaround for broken Firefox cursoring"

Change-Id: I544f906fa8166c6abff647611e6ce91e7058008f
2014-10-03 11:49:02 -07:00
James D. Forrester 41802f5c04 Update VE core submodule to master (0d7eaf5)
New changes:
539ef0c Localisation updates from https://translatewiki.net.
0d7eaf5 ve.ce.Surface: Magic workaround for broken Firefox cursoring

Change-Id: I7e57e7d1c55cb97dd1efffb718c5e5534f60233c
2014-10-02 09:15:25 -07:00
James D. Forrester 9d27d0605b Update VE core submodule to master (859654b)
New changes:
6cb04e0 Fix JS error in mostly-dead Opera compat code
454d486 Handle triple click with surface fragments
c1e5c78 Update OOjs UI to v0.1.0-pre (afa3241e8e)
859654b Update OOjs UI to v0.1.0-pre (30b0407428)

Change-Id: I3f166c002783e9b62f31cbd0ef02930abe107b21
2014-09-30 16:26:59 -07:00
James D. Forrester 9127e80bcf Update VE core submodule to master (0677c3b)
New changes:
28ebb29 ve.ui.CommentInspector.css: Fix documentation
b3b3b11 Followup a618491: fix JS errors when slugging near annotated inline nodes
b987d63 Record and show observation times in ve.Filibuster
60ac437 ve.ui.FragmentInspector: Remove #setDimensions
9f4a067 ve.ui.CommentInspector.js: Fix documentation
0677c3b Followup b149390: fix dm.Surface's concept of "selectedNode" to match SurfaceFragment's

Change-Id: I1f3c9d3e81eea9d380b2e2aa5deb9fdbf0ca9c93
2014-09-30 07:58:26 -07:00
James D. Forrester 55a35e9011 Update VE core submodule to master (3aafc81)
New changes:
b9bd135 Fix getUsedStoreValues and allow a range to be passed
33f4026 Update OOjs UI to v0.1.0-pre (98e770ce46)
c78efc5 DesktopContext: Ensure that inspectors/menus are fully visible when created
1dff977 ve.ui.DesktopContext: Fix comment typo
3aafc81 Localisation updates from https://translatewiki.net.

Change-Id: Icba3f7bb3916be19832387e3ef541613a78bdda8
2014-09-27 21:30:02 -04:00
James D. Forrester 9772524748 Update VE core submodule to master (6012dc5)
New changes:
4ad56e9 Be more cautious about placing the cursor
b39c9e2 Fix some getSelectionRects edge cases
cbb4197 Don't perform focus node native selection trick while dragging
817ef5f Follow-up I99acd6c6: More files' header comment fixes
d28aacb Localisation updates from https://translatewiki.net.

Change-Id: I42ba31b3428d98695c5a51d194cf972d649fef48
2014-09-25 15:48:00 -07:00
Roan Kattouw 6347274f47 Update VE core submodule to master (6e68242)
New changes:
c06fa64 Account for isValid() becoming async
12e4840 Account for WhitespacePreservingTextInputWidget#getValue being called early

Local changes:
* Make MWLinkTargetInputWidget#isValid asynchronous

Bug: 71237
Bug: 71246
Change-Id: Iab83e743f99973f01a54b23fd5ddf1081f7effd6
2014-09-24 12:18:16 -07:00
Roan Kattouw 8517777b9f Update VE core submodule to master (8d5ec7a)
New changes:
8d5ec7a [BREAKING CHANGE] Rename ve.Document.getNodeFromOffset to getBranchNodeFromOffset

Local changes:
* Update calls for rename of getNodeFromOffset to getBranchNodeFromOffset

Change-Id: Ibc69f5a5deeed5698368bb19b30f14497c579e90
2014-09-24 11:34:14 -07:00
Roan Kattouw 679b880ce7 Update VE core submodule to master (9e69dba)
New changes:
78dfa9d Move deletion part of handleDelete logic to surface fragment
2f964f9 Tweak traverseUpstream documentation and code style
54dd25d Add expand method to ranges, finish unit test coverage
a0d94c0 Make newFromTranslatedRange a method (translate)
5eafb4d Tolerate null boundingRect in all code paths in DesktopContext#updateDimensions
35b1f0d Prevent page elements from displaying on top of highlights
c864eff ve.dm.Surface: Fix documentation typo
5f869bc Don't drop 1px rects for FocusableNodes if all we have is 1px rects
65c782d Update OOjs UI to v0.1.0-pre (880100c45e)
b149390 Calculate selected node on change and emit contextChange
e032cea Fix documentation in ve.Document
eaab57b [BREAKING CHANGE] Remove ve.isArray and use Array.isArray instead

Change-Id: I1367c721b285ca093ac78aee59a9e9a188ad552f
2014-09-24 11:10:25 -07:00
James D. Forrester 52a69e24f1 Update VE core submodule to master (563666a)
New changes:
e066826 Localisation updates from https://translatewiki.net.
dabe910 Localisation updates from https://translatewiki.net.
3fc0e0a SurfaceObserver should observe the surface
d86d4df Update OOjs UI to v0.1.0-pre (bab8befc94)
563666a Converter: Allow Nodes to return empty arrays if they want not to be output

Change-Id: Iba784d8278609e3c1f95eafd595528e8097be8ff
2014-09-23 11:32:56 -07:00
James D. Forrester 889d8e6d5f Update VE core submodule to master (90bb24f)
New changes:
65d4858 README: Add devDependencies badge
4d88b3a Replace boolean checks of getSlugAtOffset with hasSlugAtOffset
b0edb58 Add getNativeRange method with optional DM range argument
f59bb20 Separate computation of highlights from rendering
4face58 Remove getSelection*Client* methods
c94234a Rename inlineRects to startAndEndRects everywhere
69c42c2 Allow specification of range when getting selection rectangles
7883250 Provide a method to get all the rectangles for a given selection
c346ebd Work around Chrome's Range.getClientRects bug

Change-Id: Idb695a64353177e5e5210bae3c4202e701f4d95e
2014-09-18 17:49:40 -07:00
Roan Kattouw 34ec304ec7 Update VE core submodule to master (d6904b5)
New changes:
925ed5c Move sluggability methods to model
a618491 Calculate slug positions in the model
b8fb05e Make the trigger demo kind of work again
e41d22e Update OOjs UI to v0.1.0-pre (ec785c2c64)
4119470 build: Make headers atop dist files suitable for distribution
fca4fec Follow-up cc657c4: Change strikethrough key command to not clash with Macs
a29a561 Add hasSlugAtOffset to DM document
9f47efb Move getRelativeOffset, getRelativeRange, getNearestFocusableNode to model
aa35e96 Remove hard coded types from canHaveSlugBefore and fix logic
49a239b Emit 'position' and 'contextChange' events correctly
3c50321 Refactor out finding of CE focusedNodes
d6904b5 Update OOjs UI to v0.1.0-pre (f2c3f12959)

Local changes:
* Move ce.Document tests to dm.Document

Change-Id: Ifa5abd0341e858b20e73e9071d597a25112cadfb
2014-09-18 17:03:46 -07:00
James D. Forrester abe059df2b Update VE core submodule to master (6f1b98e)
New changes:
247ee74 Set size to default on 0 value
dd00977 ve.ce.CommentNode: Correct comments formatting
bafad68 Update OOjs UI to v0.1.0-pre (24ac83a472)
0b24cbc Localisation updates from https://translatewiki.net.
a6ca80a Followup cc657c4: make code and strikethrough key commands actually work

Change-Id: Ic0dad055bc7e725f23de947ff56a83e463239cc6
2014-09-17 17:25:09 -07:00
Roan Kattouw cf1a889ac8 Update VE core submodule to master (5f4b740)
New changes:
a047e72 [BREAKING CHANGE] Create ve.dm.Focusable and store focusable flag there

Local changes:
* Add new ve.dm.FocusableNode mixin where required

Change-Id: Ie9ee2de05acfe3c4c62c4864e65bd20397d6a069
2014-09-16 18:45:22 -07:00
James D. Forrester 30d50cb900 Update VE core submodule to master (3e09af1)
New changes:
b6898f6 Localisation updates from https://translatewiki.net.
a9c15e4 Followup 80dd016: avoid using XMLSerializer when not absolutely necessary

Change-Id: I362c6d6e1e55c4c4757b25bdff4e4f29310832f8
2014-09-16 16:07:31 -07:00
James D. Forrester 906cfc7a9b Update VE core submodule to master (ebc8569)
New changes:
80dd016 Work around IE's normalization of style attributes by abusing XML parsers

Change-Id: I7ff4d6c4aa2e85c87c7c1372ba94b3e18d58f1e9
2014-09-15 19:35:05 -07:00
James D. Forrester 516927e786 Update VE core submodule to master (0facbc0)
New changes:
cc657c4 Add keyboard shortcuts for strikethrough and code annotations
7d7f803 build: Bump miscellaneous devDependencies to latest
6de5bbf Update OOjs UI to v0.1.0-pre (49b64bdba7)

Change-Id: Iba45cd1382fdb2070093058252e0e2dcb7442c76
2014-09-15 18:45:33 -07:00
James D. Forrester 350a4220e2 Update VE core submodule to master (8fb94f1)
New changes:
80b26bc ve.ce.Surface: Insert new paragraphs after empty nodes rather than before
c2b06b2 ve.ui.AnnotationInspector: Apply existing annotations to inserted content
de5eef0 Strip Start/EndFragment comments from paste
79f632b Localisation updates from https://translatewiki.net.
21eab72 Update OOjs UI to v0.1.0-pre (073f37e258)

Change-Id: I78c3c29ea05ccf136b28bd2a521337d624e0702a
2014-09-15 10:34:06 -07:00
James D. Forrester e3267e13d8 Update VE core submodule to master (f646507)
New changes:
b6881c5 (Kind of) fix treatment of strange dir values
4e2ce2b Account for the case where a FocusableNode has an empty outerRects array

Change-Id: I3fbdd471a368fb4171e5213751544b4c263f0bf8
2014-09-12 15:03:01 -07:00
James D. Forrester 686e294d79 Update VE core submodule to master (badcac5)
New changes:
badcac5 ve.getStartAndEndRects returns null for empty rect lists

Change-Id: I7236cb20101eea274aa04732e7d3d7e1e216a5ff
2014-09-12 14:40:13 -07:00