New changes:
c5284c7 Use consistent error state for text input widgets
941c1f4 Localisation updates from https://translatewiki.net.
Change-Id: I37a2d40d1a15f54c4e16911560977d7765987199
New changes:
5bcaeb3 Update OOjs to v1.1.7
98d34b7 build: Bump various devDependencies
7e8fef2 Add unregister method to ModelRegistry
2fbb6fb Update jQuery from v1.11.2 to v1.11.3
3fd7629 Update OOjs UI to v0.11.0
Change-Id: I6fcd3ec3f11b45185a84d1e6e1405ffd3f9753a7
New changes:
a739a43 Move setDocument call from ve.dm.Document up to ve.Document
170bc6b bin: Enable 'set -e' and 'set -u' in bash scripts
Change-Id: I5b8767f9ff311e1ffca41839e17c88b72dc888bb
New changes:
d58157f Localisation updates from https://translatewiki.net.
a0029a2 Localisation updates from https://translatewiki.net.
d834fa4 ve.utils: Rename supportSplice to supportsSplice
15f48c3 Test language annotation
4d903b1 Add tests of other textStyle annotations
550b0db Add missing close tag to tests
167e998 Add unit tests for CE HTML
e02c9c7 Add test for annotation without nodeName
749a2c5 Test direction- and language-only annotations
584a5d2 Create unit tests for createDocumentFromHtml
7a9bec2 Add unit tests for preservation of <html> tag attributes
345f2be Update OOjs UI to v0.10.1
Change-Id: I5d93ccad7c19d16eeecf313ea53815356ba9c36b
New changes:
70a8233 Update OOjs UI to v0.10.0
bea6139 Tests for getNodeAndOffset (matching current quirky behaviour)
4c364f3 Fix old dates
Change-Id: Ic13abd43659e059198a186f44fedc9d7b19d4942
New changes:
8098c7a Fix placement of linear selection inside a table
03106cc i18n: Warn that the special character list is unused in MW
81cb347 demo: Fix demo pages hash loader
3302716 demo: Create RTL version of minimal demo
c62e323 Fix find and replace viewport search
d0b5244 Add a default 'cancel' action to FragmentInspectors
83c03a3 Followup Id9e9c77: Add 'cancel' in AnnotationInspector 'insert' mode
71ceef7 Do not wrap <pre> nodes
6775f4d Localisation updates from https://translatewiki.net.
f6fbffe Add class to mobile window manager
Change-Id: Iae2d6958ac3ddd211585b2efa3159f19800d79da
New changes:
72b9ed6 [BREAKING CHANGE] Simplify getModelFromDom signature
5a6505c ve.ui.SpecialCharacterDialog: Specify 'transition' only for 'border-color', not 'all'
30a2107 ve.ui.SpecialCharacterPage: Use less jQuery for better performance
e5692fd Localisation updates from https://translatewiki.net.
1ff0a0c Only auto-close windows which are not the one we are trying to open
48964b5 Localisation updates from https://translatewiki.net.
1f928ae Fix rendering of search results when scrolling
046dc5e demo: Add device switcher between desktop and mobile
Local changes:
* Use simplified getModelFromDom API from 72b9ed6 in core.
Change-Id: Ib220c4e5c3fc520e10b950c02475783cd710d0df
New changes:
de79de2 [BREAKING CHANGE] Fix font sizes and padding in Surface and SurfaceWidget
aa4a481 Localisation updates from https://translatewiki.net.
c2ff1cb Initialize toolbar tools disabled until surface is initialized
f457c83 Split visualEditor.css into apex & mediawiki versions
aff993c Don't drop <html> attributes when parsing HTML on Opera 12
Local changes:
Fix SurfaceWidget and DebugBar hacks
Change-Id: I93cb8ec787e53c07b5051c0296eb6f59b6048e91
New changes:
9b258ae Refactor ve.ui.Context to create ve.ui.LinearContext
2059ce3 Fix cursoring inside a caption node
8a81cb8 Check for all important elements when pasting between instances
da6ae78 ve.ce.Surface: Restrict native selection rangeCount to 1
9c21630 contextitems/*: Add missing @class markers
c4cf18b Rewrite the table context as an actual ve.ui.Context
76c907d Use plural grammar in table context for deleting multiple rows/columns
Change-Id: I767aa578bae5a54aff1d0ddb440ab9910f2aa52d
New changes:
8dc8b26 Trim leading and trailing whitespace from annotations
306feb4 Add get(Col|Row)Count to TableSelection and use in isFull*
1c06d21 Cursor holders for native cursoring to ce=false nodes
b08384d Provide file extension fallback for FileTransferHandlers
28844ed [BREAKING CHANGE] Move all icons to OOjs UI's icon packs
9d37355 demo: Set 'lang' attribute of target
8945420 Follow-up 8dc8b266: account for annotations that return []
c2bbc97 Localisation updates from https://translatewiki.net.
Local changes:
* Switch to using OOjs UI icons for VisualEditor core features
* Update test for whitespace trimming
Change-Id: I12b22a411600b6e8e61858e7ed600fb53eedd95d
New changes:
bcb5b3a Tweak paste target position hack
df3c31b Disable pasteTarget-for-copying hack on iOS
20f294a ve.ui.Toolbar: Allow setting positioning offset from the top of the window
Change-Id: I9063271e36fe8035abc01073c58bca3137b1aecb
New changes:
eab6467 Add ve.dm.Document#getLength
310a040 ve.ui.Tool: Correct documentation
7a64825 Localisation updates from https://translatewiki.net.
d025658 ve.utils: Add ve.binarySearch() and port ve.dm.MetaList#findItem to it
8400efd demo: Fix another bug showing both LTR and RTL stylesheets
d3168f3 Factor out method which fills paste target with dummy contents for copy
363c804 Remove platform auto-instantiation
67ac409 Improve demo read mode
c2588bd Replace abstract functions that just throw with null
9073b6b Add docs for ve.ui.ContextItem#embeddable
Change-Id: I41b0ec10e0c085290944e8c3293bcad5e956e909
New changes:
ecbbbd6 Close inspectors when dialog opens
d8868a9 ce.ContentBranchNode: Clean up documentation
c47d7b8 Follow-up Ifa18938: Fix cursoring in nested table cells
483b614 Localisation updates from https://translatewiki.net.
24787de Stop using this.$
b29f8ea ve.ce.Surface: Don't assume ve.compareDocumentOrder() returns exactly 1
3c5442e [BREAKING CHANGE] Generalize ve.compareOffsetPaths() to ve.compareTuples()
8e6ccc4 ce.Surface: Remove unused clone of copied data in #onCopy
950b8d6 Localisation updates from https://translatewiki.net.
8a20669 Follow-up 950b8d6: Add new langs 'ang' & 'gn' to build
48a69ea Show full diff when grunt git-status fails
8e0e1a3 demo: Separate run scripts from load modules
bcac0fd Provide simplified API for getting DOM from a surface
9061708 ve.init.sa.Target: Add jsduck @demo for simplest editor
fb98167 build: Provide concatenated distribution files for libraries which don't
053ec12 Create minimal demo
68da78e build: Fix eg-iframe.html
12ef310 Move @example demo to ve.init.sa.Platform
8c5917f Update OOjs UI to v0.9.8
Change-Id: I31eb5cd4b0c7e5cb0693c58b6a139beca921d98b
New changes:
10b1ae6 Skip ignoreChildren nodes in getAnnotatedRangeFromSelection
05c4dab Add tests for TableAction#create
48f71d1 Encode as few characters in comments as possible
56ce872 Add an inDialog config option in ve.ui.Surface
dd3eabf Add tests for TableAction#insert
874ed86 Add tests for TableAction#mergeCells
9114d9e Follow-up I23d37e3d: Remove unused converter method
12eda5d Test TableAction#merge when full rows/cols selected
06bcc9e Add test for TableAction#delete
2ac1ae1 Add tests for TableAction#changeStyle and TableAction#caption
915dd75 ve.utils: Fix bug in batchSplice polyfill
97e9cce Test SurfaceFragment#expandLinearSelection( 'annotation' ...
f6a63fe Localisation updates from https://translatewiki.net.
Change-Id: I47aadba81b0ea14bf241e7c6658c9c900b8cabed
New changes:
4c1a5ea [BREAKING CHANGE] Give the converter a 'fromClipboard' mode
d855043 Add core tests for annotation merging
fae083e Localisation updates from https://translatewiki.net.
11710e9 Encode and decode HTML entities in comment nodes
Local changes:
* Update getModelFromDom signature
Change-Id: Ida1b9b33d5e25e7d467ef16dd2240442270b9d32
New changes:
d54822f fixupInsertion: Don't attempt to call .getClonedElement() on the DocumentNode
2ad6afe gitignore: Update test-coverage to coverage (follows-up 04fb668)
a2b79e5 build: Run lint before build in grunt-test
Change-Id: I11dd1a7ba93207c70c489dc94b932ad9ca8a5fb1
New changes:
f696ef7 Don't use a inputFilter on LinkTargetInputWidget
04fb668 build: Add 'doc' entry point and move coverage to "/coverage"
b784a01 Ignore href DOM attribute when comparing links
d0b00e6 Localisation updates from https://translatewiki.net.
cbb01cf Fix typo in ve.ce.RangeState#compareSelections
Change-Id: I6d74e398334915d0094b4c2afb6ba45ec780cb68
New changes:
484980b Localisation updates from https://translatewiki.net.
d1da71f build: Use grunt-contrib-copy instead of our own implementation
8e8b975 Update OOjs UI to v0.9.7
Change-Id: I84daf4a3cc38ac4cecccf4b1ea4f121223844025
New changes:
83db372 Localisation updates from https://translatewiki.net.
f208642 [BREAKING CHANGE] Split setupSlugs in to setup(Block|Inline)Slugs
0132318 Localisation updates from https://translatewiki.net.
facbde5 Re-apply selection when ContentBranchNode changes
Change-Id: I4bd4aac1bcd846b4a7c3e73d3c2bdf2de9b3cd14
New changes:
3790ff1 Fix choose event listeners
8760695 Add utilities to work around decodeURIComponent() exceptions
c01b704 Make afterPaste operations optional again
Change-Id: I080e0be31b5b3dccfeb388ee7a341bcdefd84253
New changes:
8417448 Remove manager delay overrides
87d1c1a Fix comparison of null RangeStates
8335e08 Don't break the editor if paste handling fails
ad00c33 Remove lengthDifference property from transactions
7a31e9d Clear pasteTarget even when copying a multi-cell table selection
b09a29b Fix JS error when pasting only aliens
7bc93e7 Trim whitespace from link targets
Change-Id: Ia1f45c1e50fef39acccc573216c9e665b92ddf8c
New changes:
8151b6f Localisation updates from https://translatewiki.net.
fd7ee98 Add class="notranslate" to prevent Chrome from translating the CE DOM
Change-Id: I1d4be9f77d86a78bcedf7a6166ca43f74f74e249
New changes:
0b076f9 Unwrap empty spans on paste
1580919 Add check to see if GCN contents are visible
Change-Id: I06fb31e9dec18559b8980e3bf996e6baca81e4c2
New changes:
2c27ba9 Add a simple tooltip when hovering on table cells
Local changes:
* Register new <visualeditor-tablecell-tooltip> message
Bug: T93908
Change-Id: I784b7f9d56704c16610f61f6d0055c70db46d5b1
New changes:
16ac241 ve.ui.SurfaceWidget: Insert toolbar dialog manager into toolbar
de4d7b5 Add clears to default floats
9367efb Improve backspacing over the end of a list with empty last item
7bb4e5f Ensure that selection is not lost inside block slugs after backspace/delete
8254837 Update jQuery from v1.8.2 to v1.11.2
ca9ea82 build: Update grunt-banana-checker to v0.2.1
3ab8154 Fix slug icon size
c454c49 Localisation updates from https://translatewiki.net.
ec4a9ab Follow-up c454c4990: Register new language (ku-latn)
a7590a0 Simplify getClipboardHash
3f22d1b Always run sanitize, even with no import rules
7f96bf4 Remove duplicate module declaration
8f2c9cf Scroll the selection into view when it is outside the window
Change-Id: I3593270bd1e907647f578abcf15cdfc02bb27bc2
New changes:
b15ffd7 Make triple-click expand to CBNs, not BranchNodes
43f16a7 Initialize this.$window in ve.ui.Toolbar constructor
Change-Id: I96ac829a6dd4ef46156460bf7ab9585ed923456d
New changes:
7fb2931 Fix context height and padding
ce804a0 Add 'isGenerating' method to ve.ce.GeneratedContentNode
a78814e Describe ve.Range using anchor/focus terminology
1eee7ed Insert slugs on backspace/delete if needed
4bd365f Prevent backspacing/deleting over table cells
5380b8c Follow-up 80a07cf5cb: don't use DM DOM nodes directly in CE DOM
fb45c46 Localisation updates from https://translatewiki.net.
13e90b8 Allow override of 'actions' toolbar group
731b3ad Update OOjs UI to v0.9.4
Change-Id: I80a0e8402bb634180e9ece1483f7cdd28fe3b9a3
New changes:
5197b2d Rangestate optimization
80a07cf Unmix GeneratedContentNode from AlienNodes
f510e9c Make (Node/Annotation/MetaItem)Factory inherit from ModelFactory
b625ff0 Localisation updates from https://translatewiki.net.
5c4653c ve.qunit: Use 'jscs:disable' comment rather than hacks
90e9480 Remove registration of abstract AlienNode classes
d325674 i18n/en.json: Convert from spaces to tabs, like all other files
f40fc15 Add 'classes' config option to focusable nodes to simplify AlienNode
f7c8999 Document config options as @cfg
ad3aa0b ve.ce.Surface.test: Groundwork for testing non-linear selections
cd1a992 Localisation updates from https://translatewiki.net.
c92471e Move drop marker to highlights layer and position absolutely
Change-Id: I437663d93a346a06c6a5137cce5149c7a6fcbb7f
New changes:
a03602b Fix RangeState detection of selection outisde of document
03ba4c8 Fix focusable node copy in Safari by using non WS selection
Change-Id: I2b5505564a9cbdafe012c8ede6771502e7c0d2b2
New changes:
68e20d4 Create AlignableContextItem to quickly adjust AlignableNodes
0150df2 Update OOjs UI to v0.9.3
b333fd3 FragmentInspector: Execute action on enter, rather than closing with data
2d14f7a Fix webkit column hack
be780eb Don't drop whitespace when removing empty slug paragraphs
cc19787 Split handlesOwnChildren and ignoreChildren
7f1c9a7 Localisation updates from https://translatewiki.net.
Local changes:
Add ignoreChildren to handlesOwnChildren nodes
Change-Id: Id3dc7efae8d30b6551b2fc3104ed00bc86339176
New changes:
622693a Work around JS errors when editing image properties
a0498f8 [BREAKING CHANGE] Emit rerender for dead nodes
Local changes:
Use the new traverse function to bind handlers to rerender events of
generated content nodes to update the target of async rendered reference
content in reference context items.
Bug: T91314
Change-Id: I762a6c4c9438b431444c7af7b43043ee1517a15c
New changes:
9ec087b Update OOjs to v1.1.6
aade22b Factor out ve.compareClassLists functionality
9b39fc6 Refactor expandLinearSelection test into a case loop
62308e5 Fix edge case in expandLinearSelection when selection covers node
fe4eaca Update context menu on document update
Change-Id: I29e9a888ac8757415009e1d8e6fba9c76c2cf7e3
New changes:
a9f3539 Avoid miscalculation of monospace text height
10c50a2 Update UnicodeJS to v0.1.4
8ca67ef Add .mailmap file
bc7ffd8 Release more things in destroy methods
7a3eca3 Move click blocking from links to content branches
80d68ea [BREAKING CHANGE] Use Unicode character class to calculate word expansions
Change-Id: I497f5300228add02e4319b2cbb2f7ede054d8c0c
New changes:
44ca3b6 Use store indices in annotate operations
3ebbcce Make range optional in getUsedStoreValuesFromRange
9d03a5e Set originalDomElements whenever a data element is created
4cfffde Simplify annotation hashes
4eeb8bb Add handlers for font annotations
4a6d6f0 Localisation updates from https://translatewiki.net.
05de45e ve.ui.ToolbarDialogTool: Fix documentation
6797d6d Use type from toDataElements when creating annotations
b3a3839 Store reference to DM document in transactions
c073a24 Load special characters in Platform instead of SpecialCharacterDialog
Local changes:
* Add new files to VisualEditor.php
* Re-sort i18n strings in VisualEditor.php
* Re-run extenson.json creation
* Update documentation HTML file
* Update tests for adjacent annotations fix
Change-Id: I7a5e79e68ab8a7aae0e9af42d011943019f7f85f
New changes:
63496f0 demo: Fix typos
67967ec Don't try to remove stuff we never added
aedeba4 Auto-close inspectors
949aa42 Limit the height of context items
d58e841 Expand annotation beyond a word if it exists
Change-Id: I7032e178a9221bc36323064bfcfd36c09caa9724
New changes:
681804e Only call execCommand() on the surface in Firefox
c9ed5d8 Include editing-core icon pack
792b450 Update OOjs UI to v0.9.2
Change-Id: If75e4993b8c9c7134a69bc5fbffb335beacd8b9e
New changes:
94d3aff [BREAKING CHANGE] ve.utils: Remove ve.indexOf in favour of Array#indexOf
d6dac30 Provide the jquery.client library
5a7276b Follow-up d6dac30a097: fix typo in github URL
d5db4bd Add jquery.client as a base library
5cdd049 Only set a data URI src on inline slugs in Firefox
83edb7f Use equalDomElements in onCopy tests
9a1825a Ignore linebreaks after <!DOCTYPE>s
a077291 Add rowspan and colspan to list of corrupted attributes
6fd56dd Move selection sub-classes to sub-folder
f828889 Convert spaces to tab indentation
ca82723 Add merged cells table to converter examples
5f5d1b0 Add unit tests for ve.dm.Selection sub-classes
ea5515e Fix unbalanced transaction when removing to/from the edge of an inline node
24fe910 Stop bogus emits from handleLinearDelete
f1354ec Update OOjs UI to v0.9.1
1d09278 Localisation updates from https://translatewiki.net.
cf0787d Follow-up 94d3aff4f0c7: fix fatal for classes with .static.matchTagNames unset
Local changes:
Updates to VisualEditor.php and re-generation of extension.json.
Change-Id: Ib1a4521d17ec1c327c9ab5659d7b237ef4397c92
New changes:
f7611ac ce.RangeState: Check this.node for falseyness, not just null
4fd4229 Revert "Prevent form submission in FragmentInspector"
e3af2bc Make ve.init.sa.Target toolbar config overridable
Change-Id: I576246e577c8388361750470edabcdbbdc5b4e4a