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
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
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
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
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
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
New changes:
5f2dd5c Update OOjs to v1.0.10
49fae55 Always refocus the paste target when a node is selected
Change-Id: I7647ee189ce5df1e748f660bb2f43c160d7729f9
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
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
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
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
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
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
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
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
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
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
* 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
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
Remove RelocatableNode mixins for new FocusableNode.
New changes:
fc52878 [BREAKING CHANGE] Merge RelocatableNode into FocusableNode
Change-Id: Id8ce497b0fd1ff7732f68aa1ae8af4f4f8f9db0f
Remove ProtectedNode mixins for new FocusableNode.
New changes:
e1b0e33 [BREAKING CHANGE] Merge ProtectedNode into FocusableNode
Change-Id: Ie515704163c24317739fd34d35094b9ada6bfa66
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
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
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
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
Update DM node constructors for I81c60d4a in VE core.
New changes:
2587549 [BREAKING CHANGE] Fix Node construction arguments
Change-Id: I8d4f37b631fe85a78c72407937477963ac49f87a
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Add reference to DimensionsWidget.css
New changes:
2d96306 [BREAKING CHANGE] Separate Widget styles properly
Change-Id: I84c1a3576b8eca74d483e26a4affd21f790040ad
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
New changes:
51bd18e Allow the context to close any open inspector
69db959 Update OOjs UI to v0.1.0-pre (c58b498573)
Change-Id: I62d8b4c2ec13022f33667e1050782b76f6d93a76
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
New changes:
a651f19 Style MobileContext as a dropdown drawer
cd00a93 Bring back localOverlayMenus, but only in DesktopSurface
Change-Id: Iec87b5b48f5441ef4ceec5a6e20fd4d407e18f60
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