Commit graph

296 commits

Author SHA1 Message Date
James D. Forrester 3d4d92e33d Update VE core submodule to master (8f66045)
New changes:
4463279 Update OOjs UI to v0.1.0-pre (72f047e5d8)
8f66045 Localisation updates from https://translatewiki.net.

Change-Id: I5a3898beb386bc8242960be82d4caa8324832f65
2014-09-08 10:41:03 -07:00
James D. Forrester b0b2199730 Update VE core submodule to master (bc9ae1f)
New changes:
98fb46e Update OOjs UI to v0.1.0-pre (8ad150e4e7)
d2a6e4c ve.ui.AnnotationInspector: Explicitly permit inserting non-text data

Change-Id: I408cd23596641ba48b8f00ae8d15b482dfb62215
2014-09-05 16:48:30 -07:00
Roan Kattouw 0f63204caf Update VE core submodule to master (50be82b)
New changes:
11cc189 Localisation updates from https://translatewiki.net.
51a7ebe Followup de40432: fix JS errors in Firefox
90706af Fix conversion of non-paragraph content-containing nodes in sanitize
50be82b Localisation updates from https://translatewiki.net.

Change-Id: Id59e7b235937c2b97ecb7cb876f433f0a634045c
2014-09-05 14:21:13 -07:00
James D. Forrester 7ac7797d4a Update VE core submodule to master (65991da)
New changes:
de40432 Absolutely eradicate absolute selection coordinates

Change-Id: I1df26e32d28299792e6634f360683e589408b587
2014-09-03 18:08:02 -07:00
James D. Forrester 5dbe1d10fc Update VE core submodule to master (8eb47c7)
New changes:
7600823 Remove lies about event objects being passed through
4a3adbb Ignore focusin/focusout events on iframes
c5fe1cd Position the paste target just below the top of the screen
71dc684 Reorder CSS rules in ve.ce.Surface.css to make sense
99d3235 Update OOjs UI to v0.1.0-pre (36d0c7dc3b)

Change-Id: I3732683bcd0652b909411beec1dd7a228c2cc6fc
2014-09-03 17:55:16 -07:00
James D. Forrester f2e22babaa Update VE core submodule to master (1f82a47)
New changes:
5d063a2 Don't use three different coordinate systems in getSelectionRect()
feeb1ae Only focus the paste target if focusedNode has changed
2c1bb97 Update OOjs UI to v0.1.0-pre (4cef83f702)

Local changes:
* Update references to renamed classes
* Update calling patterns element mixins

Change-Id: I330c0e308807597dec31dad8dbf713eb29fdc290
2014-09-03 17:20:09 -07:00
James D. Forrester a74950a693 Update VE core submodule to master (7004717)
New changes:
6d8a59f Create ImageNode mixin to share logic between Block & Inline
aa6765f Fix `ve.dm.Transaction.newFromReplacement` when `removeMetadata` is true
a6e7a0c Set expanded=false on command help dialog layout
029dbe4 Allow override of window manager in language input widget
8407325 Annotate inserted special characters
4666caf Localisation updates from https://translatewiki.net.
f67e81e Factor out ve.dm.Transaction.pushReplaceInternal
7004717 Prefer String#slice over substr() or substring()

Change-Id: I72dbf37750b5582049cb0fb2730a99066a64b067
2014-09-03 10:35:21 -07:00
James D. Forrester a26aeca144 Update VE core submodule to master (dd2398c)
New changes:
d635974 Use staging instead of undo in annotation inspector
29233b8 Localisation updates from https://translatewiki.net.
efb3296 Localisation updates from https://translatewiki.net.
cfc5ad1 Localisation updates from https://translatewiki.net.
c609e02 Update OOjs to v1.1.0
dd2398c Update OOjs UI to v0.1.0-pre (adfcf92c6a)

Change-Id: Id122cd8a266554fdbe9f10dcdf53d87c7dd21b17
2014-09-01 10:36:02 -07:00
James D. Forrester 6340a5a3e8 Update VE core submodule to master (d6d6db4)
New changes:
378bc4c Polyfill Node.prototype.normalize in IE
d54cd30 Call onTargetInputChange when the link inspector is ready
00f7a00 Only undo if an initial annotation was applied
5d39686 Make filibuster code debug only
fdda60a Track selectionBefore in staging transactions

Change-Id: I2a70d599838b3575c5b0a63ffc60d023b04a8e80
2014-08-29 12:05:12 -07:00
James D. Forrester adb0593c92 Update VE core submodule to master (be42edf)
New changes:
7a2e989 Update OOjs UI to v0.1.0-pre (43f379c884)

Local changes:
Eliminate all references to Agora, now Minerva

Change-Id: I497e122a35090a909b1fbb00d0a9487d97e09da1
2014-08-28 13:51:10 -07:00
James D. Forrester a9b01bdc8d Update VE core submodule to master (15cce1d)
New changes:
235faf9 Try a bit harder not to create empty text nodes
72f9aff Followup 355be3ed: fix getOffset() behavior inside block aliens
c81dd57 Trigger handleDelete inside onCut
edb4c60 Only block language change if dir hasn't changed
15cce1d Localisation updates from https://translatewiki.net.

Change-Id: Ic205fd2ae9ddc3f870b74a49bfc02fea9a14546a
2014-08-28 13:45:34 -07:00
James D. Forrester f99a0a4bc0 Update VE core submodule to master (c9304ac)
New changes:
8592238 Localisation updates from https://translatewiki.net.
446b53d Remove unnecessary execCommand('undo') from onCut

Change-Id: I804eb7dbb0205780bdae06db45cc9c94f09eab02
2014-08-28 08:34:26 -07:00
Roan Kattouw d8f9884b15 Update VE core submodule to master (9e92194)
New changes:
e06966f Fix the newline bunny-hop bug harder
bb7afae dm.NodeFactory: Use .lookup() instead of .create().constructor
d18a33f Localisation updates from https://translatewiki.net.
fce9ad2 Check for selection in ve.ce.Surface#onDocumentFocus

Change-Id: I3dd706d956c409418c761a95cc631575fb36b8e9
2014-08-27 10:41:43 -07:00
James D. Forrester 719acdb42f Update VE core submodule to master (a96cb00)
New changes:
c66e7a8 Update oo#compare usages
bbff57b Followup 8c71904: use getter for availableTools
f9587e8 Add myself to AUTHORS.txt
ffc9358 Localisation updates from https://translatewiki.net.
1025f3b Fix JS error in ce.LanguageAnnotation when dir is set but lang isn't
4ad483f Check IME simulations actually fail as expected
aaa991a Followup bbff57b, 8c71904: use getter for availableTools, again

Change-Id: I5bfa1201f38f2b86234535ed97a1c394d9cf8e58
2014-08-26 09:59:48 -07:00
Ed Sanders 9a1e3852fc Update VE core submodule to master (c231b71)
New changes:
c9f1027 Remove broken ve.isMsie() function
6571da1 Fix case on language annotation CSS class
c231b71 Fix case in all annotation classes

Local changes:
Fix case in all annotation classes

Change-Id: Iba2596cde52d8f8be27e0257893ef8ec77798ae8
2014-08-22 14:27:14 -07:00
Roan Kattouw 2cf3c8bcd8 Update VE core submodule to master (f1fd9a8)
New changes:
eaa4528 Queue up annotation changes to make operations safer
09fc01f [BREAKING CHANGE] Remove span-wrapping of images
b59f85f Followup b141a7d2: make inspectors not close immediately in IE
1088cac Define kbd font-family explicity in case environment overrides
137add3 Fix embeddable desktop context popups
a2f0f80 Rename getRelativeOffset to getBoundingRect and use in getSelectionRect
fc09114 Fallback to node position when getting selection rectangle
1506099 Change comment to meta in whitespace test case to actually test whitespace handling
7dc4854 Remove global overlay classes when destroying MobileSurface
6e6b08a Update OOjs UI to v0.1.0-pre (d6008381aa)
e0a8089 Destroy WindowManagers in Context and Surface destructors
8c71904 Never embed the context when an inspector is present
163bd50 [BREAKING CHANGE] Rename 'image' to 'inlineImage'
5dd8bad Make focusables behave correctly when $element != $focusable
ba6fba7 Basic block image (figure/figcaption) support

Update changes:
* ImageNode was renamed to InlineImageNode in VE core
* BlockImageNode and BlockImageCaptionNode were added in VE core
* ve.ce.ImageNode.css was removed in VE core

Change-Id: Ide31b47448a4b4d6388f84a7a6ee9d471c1331f6
2014-08-22 11:51:50 -07:00
James D. Forrester 67f304a414 Update VE core submodule to master (c4ce5ee)
New changes:
c4ce5ee Update OOjs UI to v0.1.0-pre (466a8762ac)

Update changes:
* Remove manager arugment from window constructors
* Use this.$content instead of this.frame.$content
* Use this.getDir() instead of this.frame.getDir()
* this.loading is now a promise, not a boolean

Change-Id: Ia83449a60078dd24ea4f976221c0859e5a121279
2014-08-20 18:42:52 -07:00
James D. Forrester 54f609324f Update VE core submodule to master (59a25cb)
New changes:
5e35cc0 ve.Filibuster: Scrupulous state logging
82961d0 Re-sync bin/update-oojs.sh with equivalent script in MediaWiki core
2b540a7 Don't blank .static in ve.dm.Document
cfbb0e6 Update OOjs to v1.0.12
59a25cb Update OOjs UI to v0.1.0-pre (944c47c5fe)

Change-Id: I4713b73a7897c54da30db32db0ac66e8bcc1b208
2014-08-20 17:42:52 -07:00
Roan Kattouw c4b7d2ca95 Update VE core submodule to master (c6085d9)
New changes:
449ecfa Fix check for left/right annotations
41d85fd Label 'insert' buttons with just "Insert" instead of varying by content

Local changes:
* Add new message to VisualEditor.php

Change-Id: I61fe1bc0fd4d7ac1736f1b182b54a631bcad10ed
2014-08-20 14:11:46 -07:00
James D. Forrester d1ef4fd01c Update VE core submodule to master (d515ce6)
New changes:
c600eb4 Ignore whitespace when generating paste context
3b1b740 Add an event to updating current values in scalable
5140616 Add description to title attribute of focusable highlight
6df8830 Default dimensions to null, not empty objects
d515ce6 Update OOjs UI to v0.1.0-pre (51f513f9d3)

Change-Id: Ie2446b4a767cb56de392f8f0315d0289fe6da570
2014-08-20 13:55:39 -07:00
James D. Forrester 54be1ee6e5 Update VE core submodule to master (f7fa420)
New changes:
9371f89 Add local image to demo
be862da Add VE logo to repo and use in image demo and for branding demo page
a2c53ab Factor out wordbreak detection code and run it for simple insertions too

Change-Id: I1be861a69a1cd6eb1e163ac15b18b6d92973ed60
2014-08-16 17:03:49 +01:00
Roan Kattouw 924e3c026d Update VE core submodule to master (03975f8)
New changes:
a28e085 Restore QUnit web UI
8e2477c [BREAKING CHANGE] Move modules to src and tests and i18n, UnicodeJS to lib
26adfaf Fix path prefix for tests/index.html so it actually runs
d87dab5 Work around getSystemPlatform() race condition
6682ebc Make getParsedMessage() test actually test getParsedMessage()

Local changes:
* Update paths from lib/ve/modules/ve to lib/ve/src or lib/ve/tests
* Update paths from lib/ve/modules/unicodejs to lib/ve/lib/unicodesjs
* Rename unicodejs.wordbreak module to unicodejs
* Update code for getSystemPlatform() and isInternetExplorer()
  being made static

Change-Id: I7bb3bb74addfd3fbb64795c5ac3ff791b8874a4f
2014-08-15 14:42:08 -07:00
James D. Forrester 9b27df0de9 Update VE core submodule to master (ce51e22)
New changes:
2075a46 Embed CSS images in dist
9e15b04 Localisation updates from https://translatewiki.net.
ce51e22 Make sure image attribute is cleared if set to null

Change-Id: I8edefe662d5d3c88abef242fdaf4d45644a130b1
2014-08-14 12:48:10 +01:00
Roan Kattouw 7eee4604f7 Update VE core submodule to master (8e56dd5)
New changes:
36705e9 Replace setModulesPath with addMessagePath

Change-Id: I7b95d1f10bf2d131343613bc5e6bc334d3ad40d0
2014-08-13 12:37:53 -07:00
Roan Kattouw bea40f6a93 Update VE core submodule to master (f443f90)
New changes:
c23d345 Localisation updates from https://translatewiki.net.
2662be5 Localisation updates from https://translatewiki.net.
f04910e Set selection before focusing document
31fc043 Localisation updates from https://translatewiki.net.
b4eed30 Localisation updates from https://translatewiki.net.
40016d7 Disable basic reference on mobile
e4bad2e Localisation updates from https://translatewiki.net.
e476e79 Fix `Transaction.isNoOp` test
3cfccf8 Update OOjs UI to v0.1.0-pre (0e50d2e336)
55d1d03 Add bidi isolation to language annotations
3f2a1c6 Localisation updates from https://translatewiki.net.
a399aee Actually check annotations in paste test
b3b7d67 Add missing messages from MW
c327e1f Localisation updates from https://translatewiki.net.
d52a40a Show metadata in the debug bar
d9c3b90 build: Switch from qunit directly to karma for code coverage reports
b421ac3 tests: Fix some minor issues flagged up by karma and related MW references
35f76d1 Fix bad jquery 'append' instances
7766751 Localisation updates from https://translatewiki.net.
f443f90 Followup 95ee357: make remapStoreIndexes() work again

Change-Id: I04e2ad1ecc31aefc482e81724e28271704fbfd35
2014-08-12 14:57:47 -07:00
Roan Kattouw c66c9edeec Update VE core submodule to master (8a5945c)
New changes:
96331bf Localisation updates from https://translatewiki.net.
ba0ba78 Followup 23a949844: fix typo in class name for WhitespacePreservingInputWidget
8a5945c Have LanguageInputWidget return lang+dir, not an annotation

Change-Id: If05f29a8680e9475e6b749d82db30a20859f1c41
2014-08-01 12:25:01 -07:00
James D. Forrester 678cad00bd Update VE core submodule to master (6c2c474)
New changes:
8cab432 ve.ui.AnnotationInspector: Allow content insertion without annotating
f5cbd05 ve.ui.AnnotationInspector: Stop truncating fragments to 255 elements
13d9f5e Update OOjs UI to v0.1.0-pre (dd294dc785)
50c4efd Set a default language for ve.dm.Document if we can't guess it otherwise
b28f2f1 Disable tools other than links and references on mobile

Change-Id: Ib4178c3c7e67135806046decff0bde05a2702f7d
2014-07-30 18:06:52 -07:00
James D. Forrester c6b07fcd50 Update VE core submodule to master (5fdb204)
New changes:
bf5ed78 Fix expandRange( 'root' ) to not include the internal list
1aeb5ce Use native style property names instead of jQuery's css map
2106806 Greatly simplify ve.ce.Surface#getSelectionRect
23a9498 Create a whitespace preserving TextInputWidget and use in CommentInspector
e8d4c45 Update OOjs UI to v0.1.0-pre (3d8475c0b3)
5fdb204 Localisation updates from https://translatewiki.net.

Local changes:
* Add ve.ui.WhitespacePreservingTextInputWidget.js

Change-Id: Icdb5d5d3041512558dce31e56cf58ea992e4f686
2014-07-30 16:36:42 -07:00
James D. Forrester 1fcc9fa035 Update VE core submodule to master (61dea59)
New changes:
76bbf3b [BREAKING CHANGE] Fix camel-casing of countNonInternalElements

Local changes:
Use renamed countNonInternalElements function

Change-Id: Ib5f86ea5cfeb5e577f61349ed4bbb231ea155638
2014-07-29 17:15:35 -07:00
Ed Sanders c9c10cf5b8 Update VE core submodule to master (0709218)
New changes:
20c220a Remove unused CSS classes
9bdcc65 Comment icon positioning
e50e790 [BREAKING CHANGE] Fix ve.ui.Overlay classes
1ac4927 ve.ce.TextNode: Use getChar() helper
29fd0f8 ve.ce.TextNode: Simplify #getAnnotatedHtml logic
18336eb ve.ce.ResizableNode: Run find() once instead of 4x in showHandles()
febf125 Use getDescription for title attribute
ab3cb6c Localisation updates from https://translatewiki.net.

Local changes:
* Rename overlay class rules

Change-Id: Ia90b6afbd4abdf3267f4ccaac0b2a7d4101ccc7b
2014-07-29 16:31:42 -07:00
James D. Forrester cc886681da Update VE core submodule to master (2fc7855)
New changes:
95ee357 Copy annotation indexes before returning
91a5630 Localisation updates from https://translatewiki.net.
978e223 Function name fix
7558ed0 Add 'snowman' and '☃' in comment for greppability
af0e8b1 Localisation updates from https://translatewiki.net.
43e6144 CommentNode: Change icon from orange to grey
349cbec Update OOjs UI to v0.1.0-pre (e9cf571db2)
921103b Generate only one pair of snowmen for multi-sibling nodes

Change-Id: Ifa0009e9363fa39a2c5ef41a42410391ea4f4711
2014-07-29 08:03:14 -07:00
James D. Forrester 08af374928 Update VE core submodule to master (8686f85)
New changes:
84ac603 Use shorthand for collapsed ranges
542dc47 SVG fixes
8686f85 Move non-icon/indicator styles out of ve.ui.Icons.css

Change-Id: I4d524da912dec338b2fdaf3b58060e3d47292d9c
2014-07-26 18:42:01 -07:00
Roan Kattouw 959fe94d51 Update VE core submodule to master (433007d)
New changes:
102e351 Remove transparent selection from focusable nodes in FF
7be8cd9 Add a space to the comment node for selection highlighting
40c7dd2 Highlight and bind events to $focusable, not $element
6d52af0 Add @embed directive for resize-nw-se and resize-nw-sw icons
004201c Initialize defaultSize as boolean in ve.dm.Scalable
a3eb9c0 Localisation updates from https://translatewiki.net.
bf5ccc6 Followup ab2d4cbe: Correct comment indicator's size
565e484 Fix copy paste of comments in Firefox
3698286 Generate fake comment nodes (spans) when copying
febb100 Meta-fy empty comments as they aren't editable/useful
fc553e2 Localisation updates from https://translatewiki.net.
433007d Style MobileContext properly

Change-Id: I55b79c398dd43bd5854ff53dc89f25cbca31670e
2014-07-25 16:48:47 -07:00
James D. Forrester b4f2b24ad7 Update VE core submodule to master (98b5c53)
New changes:
d79270a Update context menu according to stricter rules
af6ec80 Ignore staging events in CE surface
43f7385 SpecialCharacterInspector: Don't have a hard-coded default message for the JSON blob
0081b13 Update OOjs UI to v0.1.0-pre (a7ce4d48d9)
8e08e9f build: Remove over-ride on jscs's disallowQuotedKeysInObjects and make pass
a1fb10c Followup ab2d4cbebf40: fix whitespace preservation in CommentInspector

Change-Id: I1615665437a4c481371cee7e643cddf281c6434a
2014-07-23 19:02:06 -07:00
Moriel Schottlender e281f921f2 Update VE core submodule to master (4424195)
Update tests and VisualEditor.php for comment node.

New changes:
5885b6a Update OOjs to v1.0.11
ab2d4cb [BREAKING CHANGE] Show comments inline to the user

Change-Id: Ie2787c3e29951cb7940f65bf104e7c9cccdbebd1
2014-07-23 17:21:47 -07:00
James D. Forrester ed7f08ecd8 Update VE core submodule to master (1bfcb16)
New changes:
585401c Followup b141a7d23: don't display:none; the popup in the DesktopContext
1bfcb16 Localisation updates from https://translatewiki.net.

Change-Id: Ic687835458dd833ae0200a3cb5c51af49f4b5672
2014-07-23 15:36:54 -07:00
James D. Forrester d41a1d5cc5 Update VE core submodule to master (97a5007)
New changes:
9e2238b Add special case for up/down arrow key on focusable node
30f0329 Fix for cursoring into focusable nodes with up/down
6c8da6a Fix spacing inside fragment inspector
3114f74 Remove Firefox listnode hack
e7d98b7 Fix calculation of affectedRange in transaction processor
c6d7589 Use native focus
d71e3a2 Use proper methods for detecting data type in getAnnotationIndexesFromOffset
a930e57 Add optimised method hasAnnotationsInRange
74c729f Use the current document when evaluating activeElement
10aefba Remove is*ArrowKey functions
10465c1 Remove onFocusableHistory listeners
22eb203 Bind/unbind setResizableHandlesSizeAndPosition on focus/blur

Change-Id: I1843ae58fd692c940e4e3d285bfadd3febedca07
2014-07-22 19:30:05 -07:00
Roan Kattouw 4d9cf59db0 Update VE core submodule to master (426f9e4)
New changes:
1b7b23b Tests: Move …/test/… to …/tests/… to be the same as other repos
cd3fc66 Update OOjs UI to v0.1.0-pre (9cd400e3d5)
81be252 Deprecate 'live' event in favor of 'setup' and 'teardown'

Change-Id: I71277d0a3fc85541cf3a0859f58d6d522ad1db6d
2014-07-23 01:23:02 +00:00
James D. Forrester 7007f61291 Update VE core submodule to master (244bf0e)
New changes:
32c7edd Localisation updates from https://translatewiki.net.
c7d61bc Round up height of language inspector widget
9473d2f Localisation updates from https://translatewiki.net.
2cffb4d build: Update grunt-jscs (formerly grunt-jscs-checker) from 0.6.0 to 0.6.1
b3f861e Localisation updates from https://translatewiki.net.
76b7992 Localisation updates from https://translatewiki.net.
76f8e90 Make the re-render flash more prominent
d2506a3 Localisation updates from https://translatewiki.net.
244bf0e CommandHelpDialog: Make closing action 'safe' not 'primary' for consistency

Change-Id: I68db9bdfa6078d4ab3b110e140c413fc6b865c1b
2014-07-22 13:05:31 -07:00
James D. Forrester 72fa906d9f Update VE core submodule to master (63b10db)
New changes:
63b10db Fix-up mobile context and surface

Change-Id: I4b917615a814cbc609a1cf236bd18ce15ef52fbf
2014-07-16 17:17:14 -07:00
James D. Forrester 040ef014bd Update VE core submodule to master (8bb3848)
New changes:
8bb3848 Bring back global/local specific CSS classes

Local changes:
Use global overlay class to target the z-index hack for the Vector skin.

Bug: 68066
Change-Id: If1b6ba0c9035ff32b61d34ee779a95554883a2ec
2014-07-16 23:48:07 +00:00
James D. Forrester eec5946d17 Update VE core submodule to master (48772a2)
New changes:
77dd12e Prevent deletion of focusable nodes by typing
da66427 Update OOjs UI to v0.1.0-pre (97dbb50137)

Change-Id: Ia6d83495a523106e92b184c8b60f815d3739d1fa
2014-07-16 16:00:14 -07:00
Moriel Schottlender e94a185fda Update VE core submodule to master (ad18102)
New changes:
65042de Fix alien test data
83dccbe Add toolbar menu labels to each group for consistency
2e40ef9 Move 'language' tool from the insert to the styling menu, like in VE-MW
6fb21b2 Add toolbar action section to SA demo with keyboard shortcuts tool
f3eb000 ve.ui.Toolbar: Optimise onSurfaceViewKeyUp performance
eb4e9eb Make sure the document is focused when setting a selection
48584d3 Fixes to getRelativeOffset and getRelativeRange		
fcc427f [BREAKING CHANGE] Remove generatedContents argument from afterRender
825e4be Documentation fixes in test utils		
dbbbe0b Unit tests for showSelection		
1ba9234 Don't handle up/down on focusableNodes even if backwards
a667b87 Remove label from 'insert' menu, and instead use a large plus icon
88885b1 Localisation updates from https://translatewiki.net.		
1f3b79f Initialize data first		
18369b1 Add 'clone' and make 'getDimensionsFromValue' static in ve.dm.Scalable		
92e6b7b Switch to 'custom' when MediaSizeWidget updates		
d0cd87e Localisation updates from https://translatewiki.net.		
1ee21ff Remove lies from documentation		
164f07f Safely ignore requests to open unrecognized windows

Local changes:
Work on a cloned scalable when editing images

Make sure the image model handles a cloned copy of the node's
scalable object, which is then shared with the media size widget.

Bug: 67687
Change-Id: Ie3676b715f5bae3d83da03d667cef3a6a847e212
2014-07-16 22:38:09 +00:00
James D. Forrester fbdff76263 Update VE core submodule to master (f2277ea)
New changes:
56de6f5 Localisation updates from https://translatewiki.net.
f8bda64 Widgetise demo menu
6ac48d8 Localisation updates from https://translatewiki.net.
365e131 builderloader: Omit value for boolean "disabled" attribute per HTML5
706e4b3 Prevent double counting of DM nodes in getNodeAndOffset
b141a7d Update OOjs UI to v0.1.0-pre (d2451ac748)
c5b3921 Localisation updates from https://translatewiki.net.
1606983 Update reference to ConfirmationDialog to use MessageDialog

Deletions:
* Styles for ve.ui.MWBetaWelcomeDialog - not needed anymore because
  OO.ui.MessageDialog provides them
* Styles for ve.ui.MWGalleryInspector - not needed anymore because
  ve.ui.MWExtensionInspector provides part of them and the rest are being
  replaced by programatic sizing

Modifications:
* ve.ui.MWLinkTargetInputWidget - Added support for validation and href
  getter
* Split message between tool and dialog title for ve.ui.MWEditModeTool
  and ve.ui.MWWikitextSwitchConfirmDialog

General changes:
* Updated inheritance.
* Added manager param to constructors of dialogs and inspectors.
* Updated use of show/hide with toggle.
* Added meaningful descriptions of dialog and inspector classes.
* Configured dialog and inspector sizes statically.
* Configured dialog action buttons statically.
* Interfaced with OO.ui.ActionSet to control action buttons.
* Moved applyChanges code into getActionProcess methods.
* Always using .next in setup/ready process getters and .first in
  hold/teardown process getters.

Change-Id: Ia74732e6e32c0808eee021f0a26225b9e6c3f971
2014-07-14 23:24:45 +00:00
James D. Forrester 9b275ae066 Update VE core submodule to master (7af9774)
New changes:
b3e4c35 Localisation updates from https://translatewiki.net.
e0708f2 Show from/to of range in debug bar
a132724 Localisation updates from https://translatewiki.net.
d80b127 Localisation updates from https://translatewiki.net.
c81a3f3 Localisation updates from https://translatewiki.net.
7f90e0b Apply 'original size' to images

Change-Id: I14b7fc9c1b61b8a30e57eb366b06d1032b12d00a
2014-07-08 10:59:08 -07:00
Roan Kattouw b86d481871 Update VE core submodule to master (a887989)
Also implement isInternetExplorer() in mw.Platform using jquery.client.

New changes:
9b2102f Skip over nested handlesOwnChildren nodes in getRelativeOffset
30a9835 Localisation updates from https://translatewiki.net.
5d142a0 Restrict get relative offset to movements of +/-1
7a2c984 Check that the surface has a selection after focus
851a63d Remove jquery.client
8786e53 Add evil detection functionality for IE
96f19ad Disable triple-click handling in IE
d746d42 Revert "Restrict get relative offset to movements of +/-1"
859d578 Revert "Skip over nested handlesOwnChildren nodes in getRelativeOffset"

Change-Id: Ib2e6568a862336e2516e4c519468218ec2a84834
2014-07-03 17:59:37 -07:00
James D. Forrester c06dc68184 Update VE core submodule to master (a2709b5)
New changes:
0516906 ve.ce.Surface: Prevent incorrect pawning in Opera 12
8e68032 build: Merge intro.css and intro.js.txt to intro.txt as they're identical
6166717 Update OOjs UI to v0.1.0-pre (85cfc2e735)

Change-Id: Ia91d7b2fe09f2b23ad55de3bbb3d74a8644ffc94
2014-07-03 10:42:52 -07:00
Roan Kattouw 0561ca376c Update VE core submodule to master (384618f)
New changes:
a6393a9 Localisation updates from https://translatewiki.net.
e9fbb24 Followup 96ff968: use this.$element after it's initialized, not before
22ee9d4 Follow-up: If717ef98 – Re-add subscript and superscript removes to DM nodes

Change-Id: If01a4ded55bc1a14f632bfc27dbf7a92029f1b41
2014-07-02 17:36:03 -07:00
James D. Forrester ec30c025d1 Update VE core submodule to master (2a2ebe9)
New changes:
ca2d078 Grunt: Create a distribution files for the ve module
ff4bf36 Run node-svgo to crush all SVGs whilst retaining readibility
076edd4 Provide the (currently-unused) external link icon in LTR and RTL variants
96ff968 Use globalOverlay as the contextOverlay in MobileContext
374fd68 In the toolbar, display superscript tool above subscript tool
e800343 Update OOjs UI to v0.1.0-pre (432a76f7d4)
2d4b557 Use CSSJanus to generate RTL stylesheets

Change-Id: If07518c1a7b72fb0fadd7ee840809006ad87a3c0
2014-07-02 10:41:43 -07:00
Roan Kattouw 3b694967c8 Update VE core submodule to master (9ed40c3)
New changes:
0fc6027 Hide context tools when the model they match isn't "inspectable"
9ed40c3 Reenable mobile context and style it properly

Change-Id: Ifab2e6b937aedaae13fc883063eff36a99c56883
2014-07-01 14:55:02 -07:00
Roan Kattouw 84b63310f4 Update VE core submodule to master (125632e)
New changes:
579a214 Re-label "Clear formatting" to "Clear styling"
494c1cb Prevent iOS Safari from following links
8ba3771 Never embed the context when an inspector is present
5553f56 Localisation updates from https://translatewiki.net.

Change-Id: I748336dc90285c376a8b8ad1ee6c48c94c4cb128
2014-07-01 14:06:23 -07:00
jenkins-bot caa2298198 Merge "Compress HTML data with deflate before POSTing" 2014-06-30 23:43:16 +00:00
Ed Sanders 41672be584 Update VE core submodule to master (dc01df0)
New changes:
d02cf3d Fix simulation of .prepend() in ve.ce.BranchNode#onSplice
c19fa38 [BREAKING CHANGE] Remove generated content node wrappers

Local changes to remove classes attached to GC nodes

Change-Id: Ide82c96db4803ef59d398788b46fa5d7fb9a2476
2014-06-30 16:34:56 -07:00
James D. Forrester ceb8834ffc Update VE core submodule to master (480b813)
New changes:
8a64317 Set XML encoding to utf-8 in SVGs
6bdacc7 Select highlights on touchend event
19409c6 Localisation updates from https://translatewiki.net.
2dca505 Split out ve.{dm,ce}.TextStyleAnnotation into parts, add other annotations

Change-Id: I42f82440919973dd040e3cb18ae0acba7d4a0c8d
2014-06-30 12:15:52 -07:00
Ed Sanders f81c4a6f8c Update VE core submodule to master (7a128e5)
Fix failing test in handleDelete. New functionality
moves cursor to content offset.

New changes:
fb595ea Also annotate metadata in TransactionProcessor
028e442 maintenance: Simpler OOjs UI pullthrough-script
fdd5e17 Follow-up I81663929: Use grunt git-build to ensure we get the hash
58db9a8 Update OOjs UI to v0.1.0-pre (a63f03882e)
c790488 Use more standard format for displaying keyboard shortcuts
c15a6f1 Add a ve direction class to all surfaces
5c3a914 Remove old ce-surface classes
2f565b6 Fix up selection after deletion if at non-content offset
7b39328 Correct various things in rangy-position to make it work in IE

Change-Id: Ia46f4c7ded52911574b6c1104682335aaaac08d5
2014-06-30 11:21:20 -07:00
James D. Forrester 4be59a00c1 Update VE core submodule to master (a014302)
New changes:
5f2dd5c Update OOjs to v1.0.10
49fae55 Always refocus the paste target when a node is selected

Change-Id: I7647ee189ce5df1e748f660bb2f43c160d7729f9
2014-06-27 14:28:44 -07:00
James D. Forrester a70a4828c5 Update VE core submodule to master (aaa8547)
New changes:
04d9484 Update OOjs UI to v0.1.0-pre (9aad824bd6)
981d86f Correctly update full size in MediaSizeWidget
e935a9f Demo page styling
e7b0557 FocusableNode: Use getClientRects()[0] instead of getBoundingClientRect()
7e7d5c1 Only allow slugs where paragraphs are allowed
8653a84 Localisation updates from https://translatewiki.net.
aaa8547 Update OOjs UI to v0.1.0-pre (b9d403a678)

Change-Id: Iaff1cda5605a397b78590c4f9b66d1e4d4d2d564
2014-06-26 18:30:08 -07:00
Ed Sanders 61ac4c0c6f Update VE core submodule to master (000935e)
New changes:
5321ee2 Work around IE DOMParser bug in ve.createDocumentFromHtml
3d6f0e2 Use subtle border styling for unstyled tables
b1baa3d Localisation updates from https://translatewiki.net.

Change-Id: Ic962fbc1dcbca1a83b4c16756278981c45c5e865
2014-06-25 17:38:11 -07:00
James D. Forrester f8a2fc5a1c Update VE core submodule to master (1aa3143)
New changes:
b90f7f8 Localisation updates from https://translatewiki.net.
16d222c Remove .inIme state from CE Surface
abc730a build: Update jscs and use new "wikimedia" preset
457b8d9 build: Re-enable validateIndentation
6bce1d1 Localisation updates from https://translatewiki.net.
1aa3143 Cache block drop position data before setTimeout

Change-Id: I9330a67b5121f3c1c55ac4fbaf2b245d945f821f
2014-06-25 11:56:48 -07:00
Ed Sanders 288da5b704 Compress HTML data with deflate before POSTing
Bug: 66914
Change-Id: I7b0a9cfd4d4c10986769a868884688ffca833cb6
2014-06-24 17:39:03 +01:00
James D. Forrester 44d025a198 Update VE core submodule to master (1f16037)
New changes:
1f16037 Update OOjs UI to v0.1.0-pre (7a0e222a75)

Change-Id: Iaad40a5e0fb764450fccff9e94d7e83f07eced09
2014-06-18 16:26:09 -07:00
Ed Sanders d505cc3763 Update VE core submodule to master (8809237)
Fix tests to include new insertion operation properties.

New changes:
afbd97e Localisation updates from https://translatewiki.net.
d90c212 [BREAKING CHANGE (ish)] Track original data position in insertion operations

Change-Id: Iac86f212bdb78f47f49c6984affe88feaf786765
2014-06-18 15:42:13 -07:00
James D. Forrester d15be3eb8e Update VE core submodule to master (33b43ec)
New changes:
8b51398 Catch rangy exception thrown in FF
69b2b72 Remove old, unused version of rangy
355be3e Prevent getOffset from return an offset inside a content node

Change-Id: Ib669b4fa03d253f8fcb42917d0c2a7e634d43a9f
2014-06-18 11:12:32 -07:00
Roan Kattouw d9ae4447cf Update VE core submodule to master (52dc4e8)
New changes:
8420735 Test cases for annotating handles own children nodes
a3395ae Improve equalRange assertion and use in more places
52ee587 Block item drag and drop
dfe6d9f Drag and drop of arbitrary selections
11ffd9a Defer focusableNode selection fix until after native selection change

Change-Id: Iffebd8c7e8fbb7c17e25984d69e692b0c0980950
2014-06-17 18:47:44 -07:00
Ed Sanders b7343b5e07 Update VE core submodule to master (4c599b0)
Fix ContentBranchNode tests for getClientRects change.

New changes:
9bbd259 Create highlight elements on demand
a711c6d Indent demo HTML
b1b6562 Use cached surfaceView
d4b48b1 Replace <cite> with <span rel="ve:Alien">
ee5b697 Shields are dead, long live getClientRects
4c599b0 Remove repositionOnly argument from update

Change-Id: Ifa65c46d09864f214ece9349b990f7d8c07d416b
2014-06-17 16:18:29 -07:00
Ed Sanders 00af43495b Update VE core submodule to master (155f4ab)
Use new setupToolbar and setupDebugbar methods in base target.

New changes:
7ff523d Localisation updates from https://translatewiki.net.
3815224 [BREAKING CHANGE] Debug bar refactor
155f4ab Edit HTML mode in demo

Change-Id: I554ce51eae872ab0f741a913bf10394c2a8c3e52
2014-06-16 14:52:48 -07:00
Ed Sanders 0688aa7b02 Update VE core submodule to master (89820e5)
Remove clickable node mixins.

New changes:
65e2e22 [BREAKING CHANGE] Make all focusable nodes clickable

Change-Id: I24403e12621e5b789e0b8c99f54f1d1b8fa802cc
2014-06-16 12:59:37 -07:00
Roan Kattouw ac8bf28677 Update VE core submodule to b16dbb52
New changes:
c5d2909 Fix alien demo
c5fe8d7 Alien node styling
25c791a Localisation updates from https://translatewiki.net.
ff326d4 Localisation updates from https://translatewiki.net.
230800c Localisation updates from https://translatewiki.net.
91ec366 Remove margins from paragraphs inside table cells
fe72fdc Localisation updates from https://translatewiki.net.
97edf35 Fix shield CSS broken by Parsoid styles
21cddae Trigger endRelocation on focusable drag end
05d7d00 Revert "Fix shield CSS broken by Parsoid styles"

Change-Id: Ie33e187dfdacebb0dc399fbd1d78953cde72cc90
2014-06-16 12:46:17 -07:00
Ed Sanders 0791d86b77 Update VE core submodule to master (4d919d2)
Implement new language platform functions.

Also remove unused MWLanguageSearchDialog and MWLanguageSearchWidget.

New changes:
4d919d2 [BREAKING CHANGE] Move language functions to the platform

Change-Id: I54c0a8e5816a3c81851f95f1d3062a6091a9f4a3
2014-06-12 19:42:35 +00:00
Roan Kattouw ad2793f6e6 Update VE core submodule to master (356f325)
New changes:
d36f233 Don't refocus the document in onModelSelect
d22d183 Rebuild .html files for ContextWidget addition
1035ecc Update OOjs UI to v0.1.0-pre (c5ae888f67)
356f325 Improved layout of language input widget

Change-Id: I9620d8dc985ec4aceedf70ee342e0537c44dfceb
2014-06-12 12:35:34 -07:00
Trevor Parscal 06f00d73ae [BREAKING CHANGE] Update VE core submodule to master (43a48cb) for window process cleanup
* Update size of save dialog earlier on, and swap back to save panel in
  save dialog on setup instead of ready to avoid scaling and sizing
  simultaneously
* Update use of closing/closed/opening/open events to use
  setup/ready/teardown events instead

New changes:
43a48cb [BREAKING CHANGE] Update OOjs UI to v0.1.0-pre (9f4f250f88) for window process cleanup

Bug: 65705
Bug: 65343
Bug: 60843
Change-Id: Idf6f85ae12f6ca80fde57a400cb5b11270938c1a
2014-06-12 00:42:13 +00:00
Roan Kattouw 7575ee6db3 Update VE core submodule to cf1945f60e3d1d7bc54c9ef5f90ac3ebd1f3d42b
New changes:
6fecd98 Better measurement of focusable node for context menu
9166bcd Special case for shielding of generated content wrappers
77903da Centre callout on context menu for small focusable nodes
1f8ac6d Make highlighting of context widget items less loud
48c57d3 Localisation updates from https://translatewiki.net.
a00d8ac Check language's direction rather than global direction in LanguageAnnotation description
7923e6d toLowerCase language code when searching for autonym
8eb4a71 Re-enable apply button in action dialog on close

Change-Id: I56bd961110d9fa505db1d7472caa1fd93519d284
2014-06-11 17:32:52 -07:00
Roan Kattouw 10cda9359a Update VE core submodule to master (fc52878)
Remove RelocatableNode mixins for new FocusableNode.

New changes:
fc52878 [BREAKING CHANGE] Merge RelocatableNode into FocusableNode

Change-Id: Id8ce497b0fd1ff7732f68aa1ae8af4f4f8f9db0f
2014-06-11 11:14:46 -07:00
Roan Kattouw 310601ef47 Update VE core submodule to master (e1b0e33)
Remove ProtectedNode mixins for new FocusableNode.

New changes:
e1b0e33 [BREAKING CHANGE] Merge ProtectedNode into FocusableNode

Change-Id: Ie515704163c24317739fd34d35094b9ada6bfa66
2014-06-10 16:52:49 -07:00
Roan Kattouw 1455c72a35 Update VE core submodule to master (ba8872e)
Replace instances of target.$document, which was removed
in VE core.

New changes:
8083623 [BREAKING CHANGE] Remove $document cache from target
9256158 Cleanup target properties
cc0d71f Multi-surface fixes
ba8872e Localisation updates from https://translatewiki.net.

Change-Id: Ibff83cae770c056ed64bcf438ed74b44d929cdc0
2014-06-10 13:52:34 -07:00
Trevor Parscal 26186c3c6f Update VE core submodule to master (8f8d29a)
New changes:
84a2e6f Reorganize initialization of default size in MediaSizeWidget
e8d0e8c Update OOjs UI to v0.1.0-pre (99068355d6)
f0e9ad9 Allow for the disabling of the MediaSizeWidget
25c4fce Tighten up context menu items

Change-Id: Id6c97cc3713d22490c7afd806eb9eee282fefd85
2014-06-10 11:25:57 -07:00
James D. Forrester 4be0218bbb Update VE core submodule to master (5f10e73)
New changes:
a53f101 Update OOjs UI to v0.1.0
1fa518b Update OOjs UI to v0.1.0-pre (15f4156bac)
257af53 Use ContextWidget instead of toolbar inside context menu
5f10e73 Follow-up Ia2076a42: Mark getDescription() as @inheritable for Annotation, Node

Local changes to adjust for the ContextWidget changes.

Change-Id: I47f68f5cf1b9583dab9bd0109fa6504481bdfc67
2014-06-09 18:35:08 -07:00
Ed Sanders 0953c5bd01 Update VE core submodule to master (3a80662)
New changes:
ffb8ef1 Use this.$ where available
b096a83 *Actual* death and/or *actual* destruction
8b122b3 Destroy old target before initialising new one in demo
49b4d9f Localisation updates from https://translatewiki.net.
ef6ff7d Localisation updates from https://translatewiki.net.
e220b3e Re-order special character mathematical symbols to be degrees, minutes, seconds
3a80662 Localisation updates from https://translatewiki.net.

Change-Id: Id4b5dcb000ad4e7fad55c0838701c312293b8fc8
2014-06-09 21:42:55 +01:00
James D. Forrester 2c00c39393 Update VE core submodule to master (2587549)
Update DM node constructors for I81c60d4a in VE core.

New changes:
2587549 [BREAKING CHANGE] Fix Node construction arguments

Change-Id: I8d4f37b631fe85a78c72407937477963ac49f87a
2014-06-06 20:28:03 -07:00
James D. Forrester 91b24c41ee Update VE core submodule to master (626f5ab)
New changes:
25257c1 Only show debug bar when ve.debug is set
7ec295b Use this.$() in LanguageResultWidget#highlightQuery
bc2bffc Handle collapsed range properly in pushRemoval
e4551c3 Update OOjs UI to v0.1.0-pre (c9b9f8345d)
bdf3b57 Inflict a gruesome death on ve.ce.getOffset() and reincarnate it
778ab84 Calculate offset correctly in inline slugs
38059f8 Localisation updates from https://translatewiki.net.
46bf0df Cleanup special character inspector CSS

Change-Id: If8f1913891d5a4d386dc13bb6d14d2c43be1eeaa
2014-06-06 19:17:24 -07:00
James D. Forrester 6e7bd901e7 Update VE core submodule to master (7a4d039)
New changes:
e33aeaf Update OOjs UI to v0.1.0-pre (6379e76bf5)
c0bfdb0 Apply 'default' or 'custom' size on load
62da3a2 Localisation updates from https://translatewiki.net.
001956f Grunt: Clean up
644d010 Move comment down so DOCTYPE is on first line
55b1ff9 Skip history#replaceState if not available
2f39260 Localisation updates from https://translatewiki.net.
34e22ae Fix potential race condition with nulling out Dialog/Inspector fragment
7a4d039 Update OOjs UI to v0.1.0-pre (cbc62ac803)

Change-Id: I9d04bfcb30ced7c98c0f72350f1f25732a76205b
2014-06-04 17:18:28 -07:00
Roan Kattouw 14c8dc8295 Update VE core submodule to master (26a1027)
New changes:
ed97f51 Localisation updates from https://translatewiki.net.
9382cb7 Localisation updates from https://translatewiki.net.
f3c057b Update OOjs UI to v0.1.0-pre (527ad0ee5a)
db83b1d Localisation updates from https://translatewiki.net.
cf8463e Add a function to ElementLinearData to count all elements that aren't in internalList

Change-Id: I1e07568b1c094d96d4ec8ab1af50b242f77346d6
2014-06-02 17:11:47 -07:00
Trevor Parscal f65c3c6ef1 [BREAKING CHANGE] Update VE core submodule to master (88fe25f)
Switch to processes for windows (dialogs/inspectors)

This conversion also required the splitting of MWLinkInspector into
MWLinkNodeInspector and MWLinkAnnotationInspector.

New changes:
88fe25f [BREAKING CHANGE] Update OOjs UI to v0.1.0-pre (dd888aba5c)

Change-Id: I662d8985463c9fc881775f70aef87ebeb454a73f
2014-05-30 22:03:45 -07:00
Roan Kattouw d7ca1604d6 Clean up interaction with confirmation dialog
It now only sends a single 'done' event, which we can use .once on

Relies on I4f485d4f in OOjs UI.

New changes:
418cd67 Update OOjs UI to v0.1.0-pre (0f101c6f5d)

Bug: 65571
Change-Id: I19aa65612bf02bed056de292f212d2f5732a8fec
2014-05-30 16:39:07 -07:00
Roan Kattouw 350c99e249 Update VE core submodule to master (0f178b5)
New changes:
636d84e Optionally allow undo while staging
8d75e08 Don't fix selection on document focus if focusedNode is set
42c35dd Fallback options for receiving bad information into Scalable object
3a07dd0 Remove last jQuery.browser uses with temporary ve.isMsie hack
f265c86 Localisation updates from https://translatewiki.net.
6a8c609 Localisation updates from https://translatewiki.net.
0343976 Update OOjs UI to v0.1.0-pre (469d40c88f)
0b684c5 ActionDialog: Allow errors to be jQuery objects

Change-Id: I5ac0b828ed4b7c492cd770b1e980d02e60128740
2014-05-30 16:08:03 -07:00
James D. Forrester d2896e111d Update VE core submodule to master (610021b)
New changes:
610021b Update OOjs UI to v0.1.0-pre (09b223d279)

Change-Id: I93bafa996b6fd8da1b140833a869074a6402f572
2014-05-29 08:44:43 -07:00
James D. Forrester 192a32ec84 Update VE core submodule to master (2490eb7)
New changes:
e806037 Add createSurface to base target
c15644c Convert toolbar structure group from bar to list
1d5929e Update OOjs UI to v0.1.0-pre (7b283a9dcc)
c2d6e51 Localisation updates from https://translatewiki.net.

Change-Id: Ife6f4fd24b845f12310352f01eaa474260aedfc0
2014-05-28 16:30:28 -07:00
James D. Forrester 4c0c47e7af Update VE core submodule to master (f340daa)
New changes:
4572291 Truncate undo stack before applying staged changes
79e7876 Move DesktopContext.css into desktop module
0c6f68c Localisation updates from https://translatewiki.net.
366774d Localisation updates from https://translatewiki.net.
f756c91 Localisation updates from https://translatewiki.net.

Change-Id: I255e628fc48461b636ae8767b5212910caf48365
2014-05-27 22:24:02 +00:00
James D. Forrester 7c7ad693c3 Update VE core submodule to master (d2c88c9)
New changes:
2350a59 Register target globally
163a129 Remove IE check (and possible compatibility) from beforepaste/paste event switch

Change-Id: I529a4c39a34854917da5f18663a7979cb6776517
2014-05-23 20:37:11 -07:00
Roan Kattouw 40fd403c0c Update VE core submodule to master (a42143c)
New changes:
3ecd488 Add check icon for Apply button in ActionDialog
3dccb7d .unbind() -> .off()

Local change:
Add new CSS file to VisualEditor.php.

Change-Id: I443f9f4514ae2a61c688549107e7f2e5de700b62
2014-05-23 18:42:02 +00:00
James D. Forrester 805dbdd5bb Update VE core submodule to master (1c1eb3a)
New changes:
7368ea3 Localisation updates from https://translatewiki.net.
712be31 Followup 682b4d0b88: bring this.isSetup back
78fd10e Document that SurfaceFragment#getSelectedNode doesn't require selection

Change-Id: I8df73bfc30b5bfeed88d5e96236991ce8bbae72d
2014-05-22 14:31:38 -07:00
Roan Kattouw 6c1c01c657 Update VE core submodule to master (b0a1e1a)
New changes:
36762de Localisation updates from https://translatewiki.net.
d040f9e Add SVG to image demo
c4523fb Always cover inserted content in SurfaceFragment#insertContent

Change-Id: Icef709a904255b2453d6a2f3ed081b1b12bdb042
2014-05-21 15:52:58 -07:00
James D. Forrester 7f0d6646dc Update VE core submodule to master (fa14d31)
New changes:
1bc3c99 Remove Firefox cursoring hack
5ebd89a Separate demo into mobile demo and desktop demo
3714877 Add test files to dependency tree
2aecf95 Localisation updates from https://translatewiki.net.
e750fb7 Update OOjs UI to v0.1.0-pre (d4086ff6e6)
363f2a1 Phantom optimisations
edfd5cb Localisation updates from https://translatewiki.net.
6fed173 Localisation updates from https://translatewiki.net.
0dd3402 Update OOjs UI to v0.1.0-pre (521a9e242b)
50ad883 Localisation updates from https://translatewiki.net.
501afaf Update OOjs UI to v0.1.0-pre (0fbf6bd14e)
cdaf6c1 Localisation updates from https://translatewiki.net.
682b4d0 Phantom optimisations, episode II
e1721a2 Move DesktopSurface and DesktopContext to visualEditor.desktop
857d463 Make $window a property of ce.Surface
fa14d31 Update OOjs UI to v0.1.0-pre (0436296667)

Change-Id: I13d7dd9289f273b938fdb070cec12ff998351265
2014-05-21 13:26:02 -07:00
Timo Tijhof 60672bde01 Update VE core submodule to master (ced9f77)
New changes:
168146b inheritdoc lowercase
dc4173e build: Update jscs and grunt-watch
df29ea9 Pass HTMLDocument to convertToData

Change-Id: I028c2b1222c93114c01fd70f06414e2930a5c513
2014-05-15 18:49:50 +02:00
Roan Kattouw 2e5e7594a8 Update VE core submodule to master (19be0c1)
Also add OO.ui.ConfirmationDialog things and
update Gruntfile.js for breaking changes in VE core.

New changes:
5f1514b Localisation updates from https://translatewiki.net.
0cde22f Localisation updates from https://translatewiki.net.
ca021d8 Fix desktop dialogs
3503287 Localisation updates from https://translatewiki.net.
f02286b build: [BREAKING CHANGE] Add dependency expression
25fc053 Use message function and correct message key
a097202 Create phantom/shield nodes with methods not templates
1399844 Load dependencies in correct order
5a39c9e build: Simplify building of module dependency list
2a3871f build: Upgrade jscs and jshint
7db9b88 Localisation updates from https://translatewiki.net.
d34b2ae Update OOjs UI to v0.1.0-pre (80f1797a5c)

Change-Id: I0f23042e3cadd4614cd1dcd905287af777dd6ed3
2014-05-14 15:27:46 -07:00
James D. Forrester d44df0b004 Update VE core submodule to master (4745b44)
New changes:
3fb1060 Remove ve.ce.Surface#getClickCount
fc52c6c Remove IE nbsp hack
cd2e2c8 Add HTML conversion button to SA demo
e04df70 Fix missing i18n for 'auto' language label

Local change:
* Add auto message to i18n.

Change-Id: I534e27d3578cf9b42b755c91aa1b17122835fb83
2014-05-11 10:16:22 +02:00
James D. Forrester c9c6df0c1b Update VE core submodule to master (1fa7b5f)
New changes:
c79a46e Updating scalable default in MediaSizeWidget
7bf9c7e Cache references in handleDelete
e5f74b7 unicodejs: Update moveBreakOffset to include 'HebrewLetter' category
a5b21b6 Fix watch list
6508e88 Directionality fixes in SA demo
dd71c16 Localisation updates from https://translatewiki.net.
4ed85b9 Localisation updates from https://translatewiki.net.
b6fc28a Special case for deleting the entire document
ddd6372 DebugBar tidy up
6160868 unicodejs: Add tests for hebrew letters in moveBreakOffset
1fa7b5f Update OOjs UI to v0.1.0-pre (7b3672591f)

Change-Id: I2dbcf1d7a9829e165bbd0b14da526638d9a7efd5
2014-05-09 14:20:08 +02:00
James D. Forrester bd2d1eb689 Update VE core submodule to master (f855dbb)
New changes:
b69a7f3 Update OOjs UI to v0.1.0-pre (7d2507b267)
94fd162 Localisation updates from https://translatewiki.net.
f631a8f Fix Dialog support on mobile

Change-Id: Ifcc88c95e65994c2047b01fe7485d4b9a4c4b52c
2014-05-06 13:18:36 -07:00
James D. Forrester 03e4e6528f Update VE core submodule to master (cc6e87c)
New changes:
52a5c2c Localisation updates from https://translatewiki.net.
10fd54b Localisation updates from https://translatewiki.net.
30c1a3d generateDocs.sh: Simplify
e2cb3c1 Localisation updates from https://translatewiki.net.
cc6e87c Fix command help for CTRL+1-6 on mac

Change-Id: I12787f3f38467dce10458342ac0d586902575d02
2014-05-05 14:12:31 -07:00
Trevor Parscal 62324167ff Update VE core submodule to master (a1e9df1)
Also adjust calls to InputWidget methods changed in
I324dfc2 in OOUI.

New changes:
9da32d7 Update OOjs UI to v0.1.0-pre (e6edd86d37)
b6aa671 Localisation updates from https://translatewiki.net.
1cba6e0 Update OOjs UI to v0.1.0-pre (9a6c625f5f)
94629f9 Localisation updates from https://translatewiki.net.

Change-Id: Id58d199c7ce3332a104ab2a5c395561ab94ae060
2014-05-02 15:50:32 -07:00
James D. Forrester a2309da55d Update VE core submodule to master (ca76a5b)
New changes:
e08bf9d [BREAKING CHANGE] Show matched string in LanguageSearchWidget results
9600128 Remove '*' selector for protected nodes
529f971 Update OOjs UI to v0.1.0-pre (301887f487)

Change-Id: I340a13850170557941676d416aefb20d7f4c255c
2014-05-01 12:41:41 -07:00
Roan Kattouw 352a3a5de9 Update VE core submodule to master (e1a7f67)
New changes:
4969de1 Localisation updates from https://translatewiki.net.
e1a7f67 Update OOjs UI to v0.1.0-pre (bdbb9cfa55)

Change-Id: I4946372aa62b7b6d314efcc19a6c341219d06813
2014-04-30 16:40:30 -07:00
Timo Tijhof b272845791 mw.ViewPageTarget: Move .mw-body-content down to .ve-ce-surface
Update VE core submodule to master (109a3cf):

* 109a3cf ve.ce.Surface: Remove font-size: 1em;

Follows-up I5818dce6265.

* When applied to ve-ui-surface, it applies to both of its children,
  namely ve-ce-surface and ve-ui-surface-overlay. The latter
  (containing things like context menu and inspectors) should not
  inherit styles intended for rendering of wikipage content by
  the skin.

* Move mw-content-{ltr,rtl} from an outer parent to a slightly
  deeper parent of the actual content. It's now on documentNode.
  Still high enough to apply to all content. This was to ensure
  it remains a child of mw-body-content, like in MediaWiki core.

* Updated padding/margin hack again. Since now the font-size
  applies on the surface, this once again means that now 1em
  on the surface != 1em on the documentNode, so we need the
  calculation again. Brought it back and this time documented
  what it is based on.

Bug: 64599
Change-Id: I9ee4582a6a0ec9e128f5c36a6dbf2adbd0b216a1
2014-04-30 21:09:54 +00:00
James D. Forrester e869ecd041 Update VE core submodule to 330a69e
New changes:
330a69e Update OOjs UI to v0.1.0-pre (70f1886a35)

Change-Id: I66701639e89f89ba98ded71db24237fd87c112db
2014-04-29 17:42:44 -07:00
James D. Forrester 083f77cab1 Update VE core submodule to master (c5b5c82)
New changes:
f6952f9 Localisation updates from https://translatewiki.net.
4875bc9 Comment onDOMEvent hack
5e91b85 Prevent focussing of the pasteTarget with tabIndex=-1
18288c1 Localisation updates from https://translatewiki.net.
21371ce Move toolbar updateState code into separate method
44a56ac [BREAKING CHANGE] Simplify updateState params
eeb0fd4 Clear the focusedNode when the document is blurred
cbb0b73 Check for focus change on global mousedown
7ed5f92 Only focus the surface on inspector close if range is not null
692b0d5 Localisation updates from https://translatewiki.net.
5a976b0 Localisation updates from https://translatewiki.net.
71a3a41 Add ActionDialog and NodeDialog
b7e791a Update OOjs UI to v0.1.0-pre (b91660e612)
ba1fe44 Localisation updates from https://translatewiki.net.
bf0d4c1 Always fix up selection after ce.Surface#focus
5ec176e Use window 'ready' event
3f729b1 Remove surface blur hack now that windows take focus properly
c921ee9 docs: Remove JSDuck 4 options
c5b5c82 Localisation updates from https://translatewiki.net.

Change-Id: I81f021aa64316cea23f10e0dfbb0f6ffa014c384
2014-04-29 17:14:55 -07:00
James D. Forrester 1d57da792a Update VE core submodule to master (d21c272)
New changes:
d21c272 Re-render selection after deleting

Change-Id: I1cf11d4dba5f95004ce4726a4ed8a1627c8404ba
2014-04-23 20:30:41 -07:00
Ed Sanders be36dfca25 Use core language search dialog
Depends on I21a9d7e in core.

Change-Id: I12cacf775b490d7c676011a5a154deeefe5527c5
2014-04-23 18:43:03 -07:00
James D. Forrester 4eb0803ea7 Update VE core submodule to master (6ad2355)
New changes:
4976741 Update OOjs UI to v0.1.0-pre (0a7180f468)
a284bbb Language search widget

Change-Id: Ieae7313ba2bd4e843293865d244d74f1fef1f485
2014-04-23 18:42:11 -07:00
Roan Kattouw 9d3209d5e4 Update VE core submodule to master (71f0151)
New changes:
0413871 Merge b/strong and i/em annotations
9b6c247 Look for comparable annotations when toggling
3114e8c Add debug bars to surface widgets
b8733dc Prevent SurfaceWidgets from focussing themselves
e5829ec Localisation updates from https://translatewiki.net.
71f0151 Update OOjs UI to v0.1.0-pre (497baca586)

Change-Id: Id3dda20b83e4871c12e3795e9204fe6137f11d5a
2014-04-23 17:43:40 -07:00
James D. Forrester 92548da8a6 Update VE core submodule to master (6daeb19)
New changes:
ec412c9 Prevent annotation inspector from updating selection if using DesktopContext#hide
521aff3 Localisation updates from https://translatewiki.net.
6daeb19 Update built html files

Change-Id: I860a242415cdb310b9edb607e16563d56f157492
2014-04-23 12:27:34 -07:00
Ed Sanders 3da70b40b9 Update jquery.uls from 601a5256b8 To 1932de9e347d
f404bc9 Update to use jQuery 1.10.1
3571e77 Update jQuery version in examples to 1.10.1
5c6c24d RegionSelector: Scroll to appropriate area instead of rebuilding the list
6d92fa3 Update README.md
ab9b014 Update to latest grunt
078448a Update code formatting
adcc1ad Fix spelling mistakes
33ec928 Use events instead of callbacks for success or no results
e54d85a Use Autonym font for autonyms
d8fdcd4 Corrected the Unicode character in the Arab Kazakh autonym
7b8e43e Add lrc and ses
b1d01d9 Updated Autonym font
0e0cb89 Updated uls.data.js
658914a Update code formatting
9dddc41 Updated Autonym font
e83494c Formatting fixes
a48123e Update Autonym font
61f7bce Update Autonym font
ac8aa27 Remove non-existing "-ms-linear-gradient"
522b14f Use text() instead of html() to set language names
9ae403b Remove unnecessary object instance
a985d33 Use attr and prop consistently
5444e17 Avoid 'recalculate style' by conditionally change classes while scrolling
67cc85f Reduce data size a bit by using unescaped unicode
2247581 Move the autonym font to example instead of making part of jquery.uls
49497d7 Avoid overriding grid css for language list
a4276bb Optimize png images with optipng -o7
72c0bd2 Optimize language icon SVG
e43994d Optimize the search and worldmap svgs
623cdb6 Validate whether the language from API is known while trying to display
9d77cfb Fix typo
cfba32a Remove developer console logs when unknown language found
9b3d64e Remove stray character in example file
84d7636 Use a single var statement
520e1b1 Suppress JSHint double quote warnings in jquery.uls.data.js
09aeb8e Update the Autonym for 'cu'
902afa5 Add the missing closing paranthesis for Chinese Simplified Han
69f3256 Avoid title case
78e9b83 Make ULS language selector appear faster after clicking trigger
a93ad4b Remove comments from json
a1b5db4 Update README.md
50477e2 Update documentation about options
2d93a37 When clicking a region, scroll only the list and not the whole page
d8fc3d4 Remove double scrollTop call
02ebadf Apply /* @embed */ pragma to every image, not just the topmost in each block
d4ea222 Drop -moz-linear-gradient for images
99f1f86 Add rwr and ota to the languages supported by ULS
40e3a94 Updated jquery.uls.data.js file
83bd524 Add EU too for ota.
f00cf29 Optimize all SVGs
38b3780 added dxʷəlušucid [ISO:639-3:lut] to langdb.yaml and updated jquery.uls.data.js wuth ulsdata2json.php
6676222 Lojban to lower case
859bccd Test: Add lut to the list of languages in AM region
5b68627 Add rmf to langdb
61d0086 fixed autonym for Lushootseed
91f3906 updated jason file after modifications to langdb.yaml
0c11d38 Space before comment #
42733b5 Remove prefixed border-radius rules

Repo is https://github.com/wikimedia/jquery.uls.

Change-Id: Ibef36df5fa476725f3f3307888ed368381a70ea5
2014-04-23 18:32:39 +00:00
Roan Kattouw ba455643fc [BREAKING CHANGE] Update VE core to master (cb2e61b)
Update dialogs and inspectors for breaking change in VE core

New changes:
a553012 [BREAKING CHANGE] Merge dialog and inspector actions into window actions
f9a0419 Localisation updates from https://translatewiki.net.
cbe81a0 Fix path to spinner in ve.ui.SpecialCharacterInspector.css

Change-Id: Icf90ace6442364283b66b234e3c78fc65212f070
2014-04-21 15:32:59 -07:00
James D. Forrester 37b476b226 Update VE core submodule to master (d2a5cb5)
New changes:
548655a Add focusing state flag to ce.Surface when programatically focusing
d7819ae Remove unnecessary overflow:hidden from block slug style
d2a5cb5 Update OOjs UI to v0.1.0-pre (d4baf57069)

Change-Id: If964c13b1f131d2450013c7a93060fc143bd50c9
2014-04-21 13:05:42 -07:00
James D. Forrester 902b23ea58 Update VE core submodule to master (5d94d8b)
New changes:
fc3be96 oojs-update.sh: Update to match version of script in mediawiki-core
1031079 update-oojs-ui.sh: Replace target dir instead of adding file copies
08fbae1 Add forgotten OOjs UI i18n files
5d94d8b Localisation updates from https://translatewiki.net.

Change-Id: I279d2f4b73134f7c95d8affe4191dc111b901809
2014-04-21 10:53:06 -07:00
Roan Kattouw 654d641c5f Update VE core submodule to master (33ca43b)
Reorganize stylesheets in VE-MW to match JS directory structures,
and update VisualEditor.php for similar reorganization in VE core.

New changes:
c6ed962 Reorganize stylesheets

Change-Id: I4f1070643744fb2ee6726cb03e012e31a9a05c64
2014-04-18 13:28:31 -07:00
Roan Kattouw fb523fb066 Update VE core submodule to master (a2ddd0c)
New changes:
aede196 Clear inspector fragment from teardown(), not close()
db3de1f Localisation updates from https://translatewiki.net.
3c97e56 Tests for ce.Surface#getNearestCorrectOffset
e1d9ab2 Localisation updates from https://translatewiki.net.
a2ddd0c Update OOjs UI to v0.1.0-pre (989950a4db)

Change-Id: Id0f163d56dd0a0f6dd27a3ec2a102b0a43b27319
2014-04-18 13:14:18 -07:00
James D. Forrester 287efeef6f Update VE core submodule to master (83be91a)
New changes:
d375dc1 Restore call to dm.Surface#startHistoryTracking removed in I9f8b840c
576a4c1 Call stopHistoryTracking() when destroying ui.Surface
83be91a Update OOjs UI to v0.1.0-pre (9d291a9222)

Change-Id: I2b9f272fc9e9d8784d435a40641d655014d9cff7
2014-04-16 20:48:38 -07:00
Roan Kattouw 9312501824 Update VE core submodule to master (2d96306)
Add reference to DimensionsWidget.css

New changes:
2d96306 [BREAKING CHANGE] Separate Widget styles properly

Change-Id: I84c1a3576b8eca74d483e26a4affd21f790040ad
2014-04-16 16:02:51 -07:00
Roan Kattouw 2262073c9c Update VE core submodule to master (4366f20)
Use new dm.Surface method for checking undo history state
(hasPastState -> hasBeenModified).

New changes:
38776df [BREAKING CHANGE] Refactor history state methods to better suit uses
3412b41 Localisation updates from https://translatewiki.net.
0c5238c Add system to dm.Surface for staging changes
8f0077c Only hide popups on selection change
4575f82 Fix initial selection when focusing in Firefox
debfd4e Document focus/blur cleanup

Change-Id: Ic66c96a4f64ad82a01a84535ca8cd19332065b37
2014-04-16 15:57:28 -07:00
James D. Forrester 34d1e8356f Update VE core submodule to master (69db959)
New changes:
51bd18e Allow the context to close any open inspector
69db959 Update OOjs UI to v0.1.0-pre (c58b498573)

Change-Id: I62d8b4c2ec13022f33667e1050782b76f6d93a76
2014-04-16 11:09:42 -07:00
James D. Forrester 957a2cb82a Update VE core submodule to master (f1dd298)
New changes:
f1dd298 Clear the surface observer when blurring

Change-Id: Ibb5a1020f4d4d9de68188cabde7615f9e181a37a
2014-04-15 16:45:52 -07:00
James D. Forrester aa3c520c1c Update VE core submodule to master (bb7124b)
New changes:
a997cc1 Debounce ce.Surface#onFocusChange
ef24608 Use document direction when a fragment has a null range
644243a Don't call select on a fragment if it's null

Change-Id: I22d00fd360539f286d815e747dd904bed87276c4
2014-04-15 15:42:37 -07:00
James D. Forrester 42f9d3e45b Update VE core submodule to master (d1f5386)
New changes:
2909ff9 Update OOjs UI to v0.1.0-pre (eba79af989)
1737a76 Add .focus() to SurfaceWidget
6fc4026 Code style typos
d1f5386 Update OOjs UI to v0.1.0-pre (8197f2cd2e)

Change-Id: Ia8edc2319ed0a4578652fb7e5b257061edd0a7c0
2014-04-15 15:23:30 -07:00
James D. Forrester 318f60365c Update VE core submodule to master (5aa55c5)
New changes:
f8a0e73 Followup 7e39f497: call parent method in DialogTool so disabling works
185a00f Fix typo in ve.dm.Scalable
63390ab Update OOjs UI to v0.1.0-pre (eca1fc20e7)
1f636cf Detect document focus properly and allow null selection in model
82ad081 Event sequencer cleanup
1b6a622 Create ve#contains
07132bc Prevent pasteTarget selection while already selected
32b7f47 Make the DOM hash ignore text node splitting
5243788 Revert "Make the DOM hash ignore text node splitting"
5aa55c5 Re-apply "Make the DOM hash ignore text node splitting"

Change-Id: I8c4ab05a0ff206fdca470c42008768626449e2bc
2014-04-14 16:16:22 -07:00
James D. Forrester dc5ec4f256 Update VE core submodule to master (1064150)
New changes:
de81534 Put CommandHelpDialog keyboard shortcuts in kbd not div elements

Change-Id: I1070e824814f92ef322a58af9552e64fa3018d05
2014-04-11 12:06:45 -07:00
James D. Forrester aeec009c14 Update VE core submodule to master (74353d9)
New changes:
af131d3 Clean up ve.dm.SurfaceFragment#isolateAndUnwrap a bit
b064ae8 Convert language name to lower case when looking for i18n file
f16dcac Fix ve.dm.SurfaceFragment#getSelectedNode
0fe1152 Clean up lots of minor things in SurfaceFragment
aec3043 Add excludeInsertion to translateRange()
f930950 Add excludeInsertion property to SurfaceFragment
a7ddd89 Exclude insertions in ve.dm.SurfaceFragment#isolateAndUnwrap
8108a0f Remove zh-[hk|tw] in favour of zh-han[s|t]
74353d9 Update OOjs UI to v0.1.0-pre (729c7bbe31)

Change-Id: I7aaebb071d544aec069d5ddab68740d93aed5bf4
2014-04-10 10:25:28 -07:00
Ed Sanders 0e51180709 Update VE core submodule to master (55a5cdc): use new ve.ui.Dialogs and ve.ui.Inspectors
Move various bits of code from initialize to setup as required.

MWDialog is now useless so use ve.ui.Dialog directly.

New changes:
0b2d03f [BREAKING CHANGE] Pass fragments, not surfaces, to windows (reprise)
0101ac4 Update OOjs UI to v0.1.0-pre (ac6848398c)

Change-Id: I0fae3e5ff2bd0da5b74c244af226b07b1f5883bd
2014-04-09 20:28:30 -07:00
Roan Kattouw f2422d916c Update VE core submodule to master (c150259) for scalable changes
ve.dm.Scalable is now a computational model for image scaling and
size manipulation. This commit adjusts the nodes and the edit and
insertion dialog to handle the new scalable model, and by that
use a centralized computational engine for all scaling and size
changes.

New changes:
3ec19fb8 Refactor Scalable functionality

Change-Id: I017a017924f544cc8bc9b7d8245335759ae0e890
2014-04-09 17:29:49 -07:00
James D. Forrester 273759a657 Update VE core submodule to master (b1f8fe2)
New changes:
9c716a6 Fix covering annotations logic
b1f8fe2 Prevent context flashing on window resize

Change-Id: Ib0e6fbf440944a2b12072c32813794fe759ea917
2014-04-09 16:44:33 -07:00
Roan Kattouw ca6a9da129 Update VE core submodule to master (35c09bf)
New changes:
33e6dcd Update OOjs UI to v0.1.0-pre (98570355f6)
a90eb8c Inspectors should only hide on blur if the selection has been cleared
d6feda2 grunt: Run grunt-build as part of grunt-test and grunt-watch
3972dce Apply annotations to partially annotated selections
5b157e2 Debug bar fixes
8907f17 Use new banana checker as a linter to avoid lacking qqq messages
a6bdc7a Re-sync generated files output from `grunt`
cf31d70 Localisation updates from https://translatewiki.net.
4c2e83a Listen to close events on window sets to give focus back to the surface
290d593 Set content directionality on the model
9772a50 Use #isContentOffset instead of slug detection for word expansion
7203025 'The great ' + getRandom(classList) + ' rewrite of ' + new Date().getFullYear();
4964b82 Localisation updates from https://translatewiki.net.
957d81c Revert "'The great ' + getRandom(classList) + ' rewrite of ' + new Date().getFullYear();"
35c09bf Update OOjs UI to v0.1.0-pre (70932872ba)

Change-Id: I205604fb8bd93948b7de84498da7fdf30fc70c1d
2014-04-09 11:20:33 -07:00
James D. Forrester a29e447e1c Update VE core submodule to 58c01b5
New changes:
58c01b5 Fix debug bar margins

Change-Id: I07ef4d9da5c325bd7a9918bcd1738f80bafe39ba
2014-04-04 12:33:48 -07:00
James D. Forrester 33e21197ca Update VE core submodule to master (7f97fd8)
New changes:
7f97fd8 Update OOjs UI to v0.1.0-pre (eaa1b7f06d)

Change-Id: Icd448a81fe6330e264de58f3f1a83b7bd36339d2
2014-04-04 10:41:51 -07:00
Roan Kattouw 1a092a604e Update VE core submodule to master (8dd6a63)
New changes:
acdd445 Minor documentation fixes
79cd956 Update OOjs to v1.0.9
d5c53e1 Restore selection after ListAction too
4df22a0 Separate out debug bar for use outside the demo

Change-Id: Iba582a7f1027172828a7cf88976d1d37d05cd7e7
2014-04-02 17:33:29 -07:00
Roan Kattouw 03c5822b6b Update VE core submodule to master (c5f4f78)
Also update tools for changes in VE core.

New changes:
e4de14b Make tools use commands
e029817 Make getToolsForNode place primary commands first

Change-Id: I66575ee6d49e6b2f5a5f789978da98bb55e6dc5e
2014-04-02 16:30:12 -07:00
Roan Kattouw 39f8019c47 Update VE core submodule to master (9484b81)
New changes:
b045c0c Localisation updates from https://translatewiki.net.
3221c45 Introduce ve.ui.Tool
c3a2a85 Detect document focus properly and allow null selection in model
03fed20 Localisation updates from https://translatewiki.net.
07dfc7d Actually use getRelative[Content|Structural]Offset wrappers
8fced5f Show VE demo error in VE
547e3d2 Localisation updates from https://translatewiki.net.
d6316f5 Fix handlesOwnChildren check in getRelativeOffset
e23f1ab Style link inspector on mobile
5968559 Localisation updates from https://translatewiki.net.
4bce90c Bump jscs to 0.4.1
7e39f49 Disable certain tools when surface has no range
edde8ca Emit event when insertion annotations change
2a89173 Update OOjs UI to v0.1.0-pre (8986c46d35)
103c4b9 Support null ranges in the demo debug bar
9eb3810 Adjust loop counters in word break detection when removing item
914e002 Skip over handlesOwnChildren nodes in newFromAnnotation
ef6096a Improve hasFocus check to compare the anchorNode to the parent
18171bf Revert "Improve hasFocus check to compare the anchorNode to the parent"
3950cef Revert "Detect document focus properly and allow null selection in model"
1c4cac4 Revert "Fix handlesOwnChildren check in getRelativeOffset"

Change-Id: Ic3054c668866307a5cfbb74f23efd82ceb2f0ee3
2014-04-02 16:15:01 -07:00
James D. Forrester e56b425120 Update VE core submodule to master (e972bb7)
New changes:
e972bb7 Split-up theme-specific styles

Local changes:
* Split-up theme-specific styles

Change-Id: I4af6c03413d49cb05031d439caf340ddef996355
2014-03-28 12:56:19 -07:00
James D. Forrester 6acac41490 Update VE core submodule to master (5a86ff9)
New changes:
6b1d082 Update OOjs UI to v0.1.0-pre (e9e435be5e)
24eec6f Fix ClickableNode documentation comment to add a missing period
d2fb10f Localisation updates from https://translatewiki.net.
5a86ff9 Update OOjs UI to v0.1.0-pre (23fb1b6144)

Change-Id: I167138e92ca502ca198692fcdd443b42d19ec1f0
2014-03-27 14:51:28 -07:00
James D. Forrester c149b1c071 Update VE core submodule to master (9c19df0)
New changes:
0318f64 Fix copyright year range for one file not updated to 2011-2014
4dbd57e Add <base> for relative URLs in tests
554cde9 Localisation updates from https://translatewiki.net.
c32448a Update OOjs UI to v0.1.0-pre (1c7875205a)
8f675c8 Localisation updates from https://translatewiki.net.
4fb929c Add a <base> to every test document by default
09c404c Protect against invalid/absent <base> in ve.resolveUrl()
05924db Use DOMParser in ve.createDocumentFromHtml() if available
9c19df0 Update OOjs UI to v0.1.0-pre (e697490c9b)

Local changes:
Use ve.dm.example.base for link tests in mwExample

Change-Id: I384e2a2edeebe9379de4910889a61670d9f734f5
2014-03-26 21:33:52 -07:00
James D. Forrester aa6983f9ab Update VE core submodule to master (f127451)
New changes:
e9cb138 Localisation updates from https://translatewiki.net.
bfae5fb Fix typo in documentation
54e688c Localisation updates from https://translatewiki.net.
f69bdbe Shut up warnings about calling cloneNode() with no parameters
f127451 Update OOjs UI to v0.1.0-pre (3db4b6974d)

Change-Id: Ie07c7c4cf023319e41025c11ab02dfc55f8d3145
2014-03-24 17:42:23 -07:00
Trevor Parscal 46e7f55ba5 Update VE core submodule to master (1adc9f5)
New changes:
e02cb87 Fix left-over autoAdd property that didn't get fixed with Idaf3041
74037b0 Split up omnibus CSS files into per-item ones
1adc9f5 Localisation updates from https://translatewiki.net.

Change-Id: I71498cd0b990aebd85dabb68afb3485350b8ac36
2014-03-21 16:42:33 -07:00
James D. Forrester 3ce49146fe Update VE core submodule to master (5003907)
New changes:
7b68782 Update OOjs UI to v0.1.0-pre (3b434d5388)
ecb194d Remove border-radius prefixes
993220a Fix invalid use of border shorthand syntax
580473e build: Clean up repo split left overs in Gruntfile

Incidental change:
* The OOjs UI-provided 'autoAdd' configuration option for tools has been
  replaced with 'autoAddToCatchall' and 'autoAddToGroup'.

Change-Id: Ie7646ae867e5c6ca616c3f9045c79b886e78475c
2014-03-21 19:08:04 +00:00
James D. Forrester 8931e97cc3 Update VE core submodule to 04d67d2ec817e6f9d8c983570f6080ee7acd1110
New changes:
bac2081 Update OOjs UI to v0.1.0-pre (0f50cdc46c)
08eaf66 Update context on transact, in addition to select
6151ffb Add class to internal item nodes
7d0062d Propagate destroy calls down to children of branch nodes
04d67d2 Use transaction comparison to decide to render or not

Change-Id: I86fb35b5863ed6d0d0ecd884df05b7dc8ff3756d
2014-03-21 11:45:24 -07:00
James D. Forrester a55b94a73c Update VE core submodule to master (8c7b4e2)
New changes:
f5d1e2a Create mixin that tries to execute primary node command
8c7b4e2 Actually add ClickableNode places

Change-Id: I7b641c620fbf28a4e98865c7d4e152d554017e70
2014-03-19 17:25:23 -07:00
James D. Forrester 6622093947 Update VE core submodule to master (afbe6b5)
New changes:
1787e33 Fix ContentBranchNode echo suppression at the ends of text nodes
8e8a6be Refactor getToolsForNode and getToolsForAnnotation
f967be6 Localisation updates from https://translatewiki.net.
8f14d05 Prevent comparable annotations from being applied twice
f37887a Check if newly focused slug is different to previous slug
d13bb36 Localisation updates from https://translatewiki.net.
afbe6b5 Update OOjs UI to v0.1.0-pre (53f2410336)

Change-Id: I4836f8df2d2cafa313f54e127f2445f7d8cd445d
2014-03-19 15:58:13 -07:00
Roan Kattouw 99de3f2e31 Update VE core submodule to master (f1249ec)
Update MWMediaDialog for .static.config -> .static.dialogData
rename in VE core.

New changes:
61e34f3 Only insert slugs where paragraphs are allowed
f65983d Don't try to return the document in getCoveredNodes
b9313ba Remove incorrect documentation for the .static containers
16874e2 ve.ui.Trigger: Clean up indentation and documentation
0eeba06 Cleanup docs and method of tools

Change-Id: I7bfb500ace1acc360cc24de2763e3f52fbb82a0e
2014-03-17 18:45:00 +00:00
James D. Forrester 5e4af875c1 Update VE core submodule to master (aaad03a)
Also update ContentBranchNode test for changes in VE core

New changes:
bdf9a9f Merge two Properties blocks in DesktopContext
d3c22bb Make ContentBranchNode echo suppression work in CBNs that contain inline nodes
aaad03a Localisation updates from https://translatewiki.net.

Change-Id: I3e1757b42307c3bd52ba0571068eb1c6bfb5ab89
2014-03-16 16:53:53 -07:00
James D. Forrester 7f088cbc60 Update VE core submodule to master (cd00a93)
New changes:
a651f19 Style MobileContext as a dropdown drawer
cd00a93 Bring back localOverlayMenus, but only in DesktopSurface

Change-Id: Iec87b5b48f5441ef4ceec5a6e20fd4d407e18f60
2014-03-14 13:48:29 -07:00
Trevor Parscal 42ba981e27 Update VE core submodule to master (520299e)
New changes:
dd15f23 Split ve.ui.Surface into DesktopSurface and MobileSurface
16283f4 Add OOjs UI's sco.json i18n file
ef94038 Split ve.ui.Context into DesktopContext and MobileContext

Minor adjustments to point to desktop and mobile Surface or Context.

Change-Id: I7cf6f99a5a1216a28a7146afcd4deb68c7eac38e
2014-03-14 13:13:02 -07:00
James D. Forrester 9d7eeddb7c Update VE core submodule to master (07923f7)
New changes:
05f775d Update OOjs UI to v0.1.0-pre (46ccd5b3a7)
2fc4673 Localisation updates from https://translatewiki.net.
07923f7 Update OOjs UI to v0.1.0-pre (ac0cc69508)

Change-Id: I7a959bc500a7dbf69305985de43b7814cd010838
2014-03-14 11:24:30 -07:00
Roan Kattouw 0072aeb9a1 Update VE core submodule to master (8c017ae)
Also update VE-MW for the comment changes in VE core

New changes:
4ad6a3d Add text direction to SA demo
89503e8 ve.ce.Node: Emphasise slug transition with increasing outline offset
864046e Update oojs to v1.0.8
65d1338 Localisation updates from https://translatewiki.net.
b66d482 Stop special-casing comments and recognize them as tagName='#comment' instead
09dda12 ve.ce.getDomText: Document node types and use .data instead of .nodeValue
b0a3b2a Make ve.dm.Converter assertions actually display message
ef791cc Make 'comment' its own metaitem type
d5ef0d7 ve.dm.Converter: Refer to nodes instead of elements where appropiate
c22c8af Fix JS error when pressing Enter with selection across multiple paragraphs
a26a708 Add ve.dm.Transaction.newFromReplacement
a9e136e Don't cause needless surface refreshes on overwriting.
6fd35ee Split part of getOpeningHtmlTag out to getHtmlAttributes
2c31f67 ve.ce.Surface: Document version number in focus workaround for Opera
e069e74 Add some more characters to the special character inserter

Change-Id: I859805fb261468e8fae9454c4992115369066b49
2014-03-12 16:15:54 -07:00