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
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
New changes:
2074a5d Fix application of slug focus classes
9f4ab6a Have Protected/ResizableNode respond to rerender event
9d7a290 Rerender focusedNode after slug collapse
de7d9ab Use en-us spelling 'focused'
7fae4c2 Add missing returns documentation to getSurfaceFragment
5177898 Remove unneeded assignment
a1c12c2 Localisation updates from https://translatewiki.net.
5648139 Localisation updates from https://translatewiki.net.
548728a Restore error box to VE demo page
684e55d Localisation updates from https://translatewiki.net.
3c4a081 ve.ce.Node: Change slug color from darker grey to lighter blue/grey
Change-Id: Icb20d78bb1fe65dd9107e43317148d4990bcfc6b
New changes:
3349216 Bold/italic icons for fa
e1d8ebd Add oojs-ui-apex.css to modules.json
beb5e43 Update OOjs UI to v0.1.0-pre (8b13d2b7f7)
Change-Id: I6f46569ed7a95273c72f9629e02f7d7a3fbf4870
New changes:
08d1b0b Alignment icons
0e418e8 Update constructors of inspectors and dialogs as per changes in I345d6e6
c81252c Update OOjs UI to v0.1.0-pre (e1b23620c0)
Change-Id: I6e904dcce0116c34373fda4a8fe86f7603bfea59
Also update for dialog size changes on oojs-ui, and make the
save dialog grow from 'medium' to 'large' when viewing a diff.
New changes:
ae195ac Update OOjs UI to v0.1.0-pre (e4f6ce0156)
ab70193 Pass surface set into ve.ui.Dialog and ve.ui.Inspector
Bug: 60494
Change-Id: Ib3065e228459aa00f18c309d234f3324fdb34059
Remove GroupButtonWidget since it was removed in VE core.
New changes:
22edcd9 Special character inspector styling
Change-Id: I385d6b655686c753262258714dec06f8b1e5fc10
New changes:
c0fa88a Cleanup SpecialCharacterInspector
50fe498 Store previous range in breakpoint for undo
1333306 Support platform specific message in keyboard shortcuts dialog
6bfbf53 Collapse block slugs and expand on hover/focus
ed33efb Slightly strong shading on slug hover target
4513d9c ve.ce.Node: Clean up whitespace in rgba?() syntax
8a4da8e Make the 'full size' button optional
3530f8d ve.ce.Node: Don't use padding or height in the slug transition
d3423df Support multiple shortcuts per trigger
3521fa3 Add cmd/ctrl+y as alternative shortcut for redo
873bfef Add cmd/ctrl+m as alternative shortcut for clear formatting
00b0e63 Fix rendering of multi-shortcut actions in shortcut dialog
a010dea Add Ctrl+Shift+/ shortcut for the shortcuts dialog
Change-Id: I208fba38cf6338bfc1fad2683406931071cf5f32
New changes:
48dd09a Update OOjs UI to v0.1.0-pre (8ac38a5c31)
Add OOjs UI's new Apex theme to the module definition (for users on
older versions of MediaWiki that do not have it available).
Change-Id: Ia79c2380aa2368d58e5980131cf70c91576dfd49
New changes:
7c5b7be Increase keyboard shortcut height hack to work in FF
c9fb99d Changeable UI language in SA demo
6a885bf Localisation updates from https://translatewiki.net.
674b245 Update scripts: Ensure clean master, latest npm dependencies, abort on grunt error
Change-Id: I0648d6ea531fbfbab5a5230911a5e98819538158
Also add MW configuration for ModelRegistry back, was removed in core.
New changes:
564c459 Localisation updates from https://translatewiki.net.
f30e061 Consistency in test header comments
74be717 Remove MW-specific config and genericise tests in ModelRegistry
Bug: 53148
Change-Id: I67e77bd41bbff52f88632ff9e4cf5e4c48251174
Also update template/transclusion code for OOJS UI
OutlineControlWidget changes, and uses some of the new
functionality.
New changes:
ac4b49a Update OOjs UI to v0.1.0-pre (51f922ba17)
Change-Id: Id7a1f60cd6ce3bdaba7ccb8774563b9e81c75cad
New changes:
da51da3 ve.ui.MediaSizeWidget: Use lowercase types hint for primitive value
54a8606 Blur the surface when a dialog is opened
3c3234f Don't show phantoms for hidden protected items
0fb119b Fix handleEnter in nodes that don't split
74a059a Don't allow getNearestCorrectOffset to return -1
Change-Id: I7c5669eb780d4b73b056ce1ca5daed453e7398df
New changes:
9426fe0 Check indentation was successful before trying again
a30d192 Add special case to de-indentation for slugs in listItems
91a275d Bold/italic icons for ar
523bbdb ve.js: Remove unused hasOwnProperty reference
016faa6 Add italic S icon, and set bold/italic for ksh
0910113 A strikethrough Y icon, and set bold/italic/strikethrough for fi
0c1c35d Allow annotations to remove other annotations
4305ccb Restore focus after node-destroying actions
55634da Localisation updates from https://translatewiki.net.
Change-Id: I8b390061fd7209245b3eff429954e6ec4271d8a3
New changes:
0d7ee1a Resize handle images
83bbf97 doc: Use lowercase types where primitives (not objects) are expected
2808b15 Localisation updates from https://translatewiki.net.
010038c Update OOjs UI to v0.1.0-pre (68c91ae065)
76d7500 Localisation updates from https://translatewiki.net.
d787eb7 Add placeholders to MediaSizeWidget
baa64db Allow enforce(Min|Max)Dimensions to be changed
3afe645 Add 'change' event to MediaSizeWidget
0886f67 Localisation updates from https://translatewiki.net.
Change-Id: I5cb88b1cbf1b64de979fb393dcbb3e6b304766bc
New changes:
ccdb9db Update OOjs UI to v0.1.0-pre (93f94e059f)
191d9d8 jsduck: Have a default --meta-tags setting
6f9b262 CONTRIBUTING: Refer to MediaWiki conventions for jsduck
Change-Id: Ibb135f587e35ef6751759faac5b3372153ad6c82
As per changes in core:
* Use new #this.setAnnotationFromValues method.
* Inline 'initialize' in constructor.
* Bring over 'Change language' button.
* Rename 'Change language' button to 'Find language' and
move to top of form so that it's obvious it's not just a submit
button for the form.
* Properties -> local vairables.
Depends on If121603b5637 in core.
Change-Id: I059acea7258fc5097b747595e09fae394ab066ec
New changes:
1dceca8 Fix shadow position in standalone toolbar
8f3f1b1 Localisation updates from https://translatewiki.net.
1a52e71 Localisation updates from https://translatewiki.net.
f53e80a Localisation updates from https://translatewiki.net.
4395f26 InputLabelWidget -> LabelWidget
d7ecba8 Localisation updates from https://translatewiki.net.
aa79a89 Fix SurfaceWidget documentation
c6ba29c Fix layout of keyboard shortcuts page
d871d48 Allow getAnnotationsFromOffset to ignore close elements,
627ced3 Fix ce#getOffset when cursor is to the left of an annotation.
b6b80c2 Dialog: Fix inline comment to use /* instead of /**.
Change-Id: I78a3d992660040281790d303b447de8cd7ee9acc
Also update use of OO.ui.PageLayout to work with changes in OOUI.
See: I58a279dd949a867a4698a791103d5a6f2bd4b67f
New changes:
8b545f4 Update OOjs UI to v0.1.0-pre (3a9a4c1da8)
Change-Id: Ib5063db055a63082d08b2858bffb9f854d76c01b
New changes:
fd9babf Localisation updates from https://translatewiki.net.
edd0561 Only allow pointer events on shields inside generated content nodes
d475984 Actually hide the size label when not in use
2d04297 Update OOjs UI to v0.1.0-pre (7d3223b8f4)
cca13e0 Update OOjs to v1.0.7-pre (9c04f3e917)
72788ab Localisation updates from https://translatewiki.net.
Change-Id: Ida75926ed2303c410a52141d1c1bb6a99b3e78f7