Commit graph

636 commits

Author SHA1 Message Date
James D. Forrester 1468699562 Update VE core submodule to master (f335fdf)
New changes:
93ef6ad build: Bump various devDependencies to latest
8891769 Don't write clipboard key to custom clipboard if already in HTML

Change-Id: I0a5b4aeb5e470a4d9c4191bffec7f9fe50b8d9fd
2016-05-09 08:24:47 -07:00
James D. Forrester a0eea360d4 Update VE core submodule to master (9038eb6)
New changes:
b40313d Fix empty ContentBranchNode selector
219bd4a Handle about groups correctly in getNodeAndOffset

Change-Id: Ia6d5ec1c10cf7ba8a43ac2f629ba07df454e869c
2016-05-06 12:39:15 -04:00
James D. Forrester d0268830b2 Update VE core submodule to master (25be8d5)
New changes:
25be8d5 Generate new about attribute when cloning a node

Change-Id: Idf65cc13370c359b4f85921551a0753164145a70
2016-05-04 12:53:10 -04:00
James D. Forrester 04f1f0ba03 Update VE core submodule to master (4b58bf5)
New changes:
02dd558 Update OOjs UI to v0.17.1
932e232 Don't set internal item orignalHtml when converting from clipboard

Change-Id: I7415326760e4f550aec586be00edcbc924cb9b3e
2016-05-04 09:51:43 -04:00
James D. Forrester 1954a87494 Update VE core submodule to master (c63e17d)
New changes:
c63e17d Prevent touch events from focusing nodes after scrolling

Change-Id: I6150aabe9c27e02976e9a12930c6b4059168a46a
2016-04-29 18:49:11 -07:00
James D. Forrester 527ad51a8a Update VE core submodule to master (39d281e)
New changes:
3842093 Get clicked cell in browsers which don't support pointer-events:none
c069529 Hide table selection when editing and no support for pointer-events:none
2573e71 Fix linear rect when at the end of annotation in otherwise empty paragraph
abf2a5e build: Bump devDependencies to latest
4fd5271 Fix ve.ce.KeyDownHandlerFactory.name
eda09be Update OOjs UI to v0.17.0
9c4ea8f ce.Surface#showModelSelection: Update cursor holders
0b8ac09 Reinstate Firefox img hack for versions >= 38

Change-Id: I9064c4e1549badcf5b5f4473755f52c5afeabdb6
2016-04-27 16:15:35 -07:00
James D. Forrester f060555f66 Update VE core submodule to master (8b527eb)
New changes:
e91934c ce.Surface: Convenience function for selecting node contents
713c09c ve.ce.SectionNode.css: Convert spaces to tabs
ff4ed2c Use custom mime type clipboard data when Firefox >= 48
84b787b Give Chimera's layout for when then are the only thing in a branch
d85598a Simplify clipboard to only store last-copied slice
dda9863 Only move selection to pasteTarget if it is non-native
7b85870 Separate clipboard API support from custom mime type support
46deb10 Remove unnecessary temporary variables
8492168 Allow the link inspector to open without expanding the selection

Change-Id: I1926e88b89aef23f5a0f2c6e28c874549e4b9e18
2016-04-25 08:40:53 -07:00
James D. Forrester 0bfad0e203 Update VE core submodule to master (bf91965)
New changes:
443bb73 Restore OOUI PNGs for IE9
7970a6e Remove feature check for classList
8a40565 Fix getNodeClientRectFromRange to work better with nails
6657dc8 Update OOjs UI to v0.16.6
436b74a Fix pasting in IE<=10
53ca31f Fix node drop in IE9
01e0256 Remove comment about testing 'beforepaste', not required
f7f5d71 Debounce selection change events to avoid nested model changes

Change-Id: Idf3bbaa066ed857e392b91b99afa222e6f168ed5
2016-04-20 16:50:09 -07:00
James D. Forrester be1809c35d Update VE core submodule to master (d6c6a85)
New changes:
c48d7cc Add support for placing a toolbar dialog in the side margin
ee7e14b FindAndReplaceDialog#renderFragments: Protect against null surface
fc61463 Fix dm.Surface#getHistory to not return undone items
f1dff2f Introduce ve.Range#overlapsRange method
f608958 Introduce dm.Surface#getModifiedRanges
db114ed Move debugging data-url GIFs to a debug only file
1dd8194 Update RangeFix to 0.2.0
706ff4e Add 'Support: [browser]' to browser hack comments
4f52afc Inline slugs: Limit Firefox hack to versions <38
bf73326 Add classList polyfill for IE9
59d78aa Fix access of iframe-created document in IE9
a886ae1 Hide borders on linked images in IE9
5293974 Fix double-click to edit table cells in IE9
a49a02f Add some more Support: comments

Depends-On: I9c5cea3e8df1fae001d4d98c0782a04dec803776
Change-Id: I460368f509a213464e57bb95f2d726305ef608de
2016-04-18 18:34:20 -07:00
Ed Sanders f91efee467 Update VE core submodule to master (f8be8c3)
New changes:
0e3e63a Rename ve-ce-sectionNode-focused to active
0010e49 Update OOjs UI to v0.16.5
8a50357 Localisation updates from https://translatewiki.net.
a731e0e Implement ve.dm.Selection#getCoveringRange
145c754 ce.Surface: Prevent selection from spanning an active node
e430224 Move toolbar positioning logic to PositionedTargetToolbar
c4bc52c demo: Put border around whole target

Local changes:
* Adjust to cope with the new positioned toolbar class

Change-Id: I47053af8a9efb0f4c267543616a5d6c80ae1534f
2016-04-11 07:06:13 -07:00
James D. Forrester 4479c56b5a Update VE core submodule to master (5109934)
New changes:
14a02d3 Add article/section nodes for isolated editing sections
fa1b64a SectionNode: Don't set self as active node if a descendent is active
90f05cc Sections: Make sections & articles un-unwrappable
9518d4b SurfaceFragment#delete: Check removal is not a no-op
5109934 Section nodes: Use opacity to indicate active-ness

Change-Id: I3e89e8fa2db130f21e7d58231043b775ec51dc18
2016-04-05 19:03:06 +03:00
James D. Forrester 4b8570dd38 Update VE core submodule to master (c2561bb)
New changes:
055a40a LinearArrowKeyDownHandler: more tests
429fe72 Localisation updates from https://translatewiki.net.
94f9068 Localisation updates from https://translatewiki.net.
b82cb77 Allow toDataElement to return an empty array
039ea22 Follow-up 94f9068: Fix build for added language 'khw'
ea5f51c build: Bump various devDependencies to latest
64950f5 Factor out undeletability from internal-ness
2f0a034 Document#writeElement: Avoid double-space in error message
4552f5c Table editing: Refactor active table node to be more generic
7670ed8 DSVFileTransferHandler: Use factories to create the right type of table
feefeda DSVFileTransferHandler: Skip empty terminal lines in input files

Change-Id: Ifa5487c7d79553634e3e1a810a43dcbf462526eb
2016-04-02 13:53:19 +03:00
James D. Forrester 0b39a17870 Update VE core submodule to master (18bac29)
New changes:
3e587b8 sync-gh-pages: Fix "oojs-ui-apex.vector.css" 404 Not Found
0e53633 Toolbar: Add tooltip to structure group
7f0b6f7 Remove icon properties from windows
3a612b2 Fix positioning of mobile windows

Change-Id: I2a6995e61a76abfc0f77d3301c7c76593756463c
2016-03-29 10:10:26 -07:00
James D. Forrester 8910172d01 Update VE core submodule to master (59e4090)
New changes:
d195e07 dm.Document#newFromHtml: Allow HTMLDocument argument as well as string
59e4090 Localisation updates from https://translatewiki.net.

Change-Id: I747d1406ffabf3682eca8b4d5a812d8b54d7e6bf
2016-03-28 09:53:45 -07:00
James D. Forrester e46e81916d Update VE core submodule to master (b286f7f)
New changes:
1f298ce Update OOjs UI to v0.16.4
650776a Improve drop target preview for block node dragging
77fb965 LinearArrowKeyDownHandler: test more
0f669bf Fix behaviour of SurfaceFragment#annotateContent
fa08fca ve.ui.ContentActions: Add tests
3f4185f Tests: Add speed warnings to UI surface constructors
4bee4eb Localisation updates from https://translatewiki.net.
b678dbe Refactor getNodeAndOffset
254a802 Localisation updates from https://translatewiki.net.
0f0d980 SurfaceFramgent: Guard against tx.getModifiedRange returning null
603abe4 TriggerRegistry: Alter trigger for paste special on Mac to OS standard

Change-Id: I512c9b3a99673a876040e0fce789483e7221a78c
2016-03-25 15:30:43 -07:00
Ed Sanders fd3683e414 Update VE core submodule to master (d1ce123)
New changes:
6cf8864 Follow-up eb97c1f: Fix build for added language 'inh'
d1ce123 SpecialCharacterDialog: Use getReadyProcess promise to wait for char list

Local changes:
* SpecialCharacterDialog: Defer loading of character list.
  Saves ~40k for most users who never use it.

Change-Id: I74b30fee96e1ae4463ed28c19bef4b515330220e
Depends-On: I45dc9f788aa5bd702b91ffd9f63b05b1f4760691
2016-03-22 09:15:23 -07:00
James D. Forrester 7df0e7589e Update VE core submodule to master (eb97c1f)
New changes:
e661245 Localisation updates from https://translatewiki.net.
d0bac53 ElementLinearData: Add test for sanitize conversions
53988e4 ElementLinearData: Test blacklist unwrapping
8593098 ve.dm.Model: Remove unused, untested method 'hasAttributes'
6247dd2 ce.Surface: Add tests for table strip delete
bee1851 ce.Surface: Add larger table strip-delete test
42d39e7 ce.Surface: Test table navigation with enter/escape/tab/shift-tab
5d248f9 Remove TableCaptionCommand
a86ad04 PreviewElement: Check node is a GCN, and always return a boolean
b518839 Localisation updates from https://translatewiki.net.
8834e9c ce.Surface: Allow any key code in the key handler tests
6b3ea6a ce.Surface: Linear arrow tests for block node
026999d Localisation updates from https://translatewiki.net.
eb97c1f Localisation updates from https://translatewiki.net.

Change-Id: Ic5853116d97623316d9a6bbacda2ecab9e4b49d5
2016-03-22 15:12:36 +00:00
James D. Forrester fa72f8b1c1 Update VE core submodule to master (794f30f)
New changes:
4cec280 build: Bump devDependencies to latest
33a7ae4 Use throttle instead of debounce for find/replace rendering
a7e6c2d Folow-up I634b70c268: Move table paste logic out of external paste if block
82054f0 Pass range or selection to tests
dcd31d0 Simple table paste test
794f30f ce.Surface.test: Add some more complex cases of table pasting

Change-Id: Ibebb19b82d4902219acebf482c9fa7e7cf3d190b
2016-03-17 19:39:44 +00:00
James D. Forrester 3629b75377 Update VE core submodule to master (8af3687)
New changes:
c12a674 Debug bar margin fixes
4c9be2f ve.dm.ElementLinearData#getRelativeOffset: Add a missed exception-throwing test case
1dce6e0 Trigger plain text transfer handler if HTML paste was unformatted
97dd207 Ensure all test documents have an internal list
dc7a335 Transactions: Ignore internalList changes in getModifiedRange
bae50ca Update OOjs UI to v0.16.3
b9d6c3c DataTransferItem: Ensure getAsString always returns a string (as documented)
5d8ade5 ElementLinearData: Include all non-content nodes is isPlainText loose mode

Change-Id: Ibfe66addc669e5d6007c738d209be6d7ef61e6d7
2016-03-17 14:08:06 +00:00
James D. Forrester db49d4cb83 Update VE core submodule to master (08b32fd)
New changes:
98ade11 FocusableNode: Protect against calculateHighlights being called on null surface
2e966ae Sanitize the paste context in the same way as the paste data
b7dd849 dm.Document#shallowCloneFrom*: Remove unnecessary internalList.clone()s
b10fd9f Localisation updates from https://translatewiki.net.
b6a5f11 Table import: Only import the internal list on external paste
08b32fd Re-order paste logic so $pasteTarget sanitization can be skipped

Change-Id: I8a2aa43efcd4e55e581a711c222a4c3f832bd5f2
2016-03-15 11:45:51 +00:00
James D. Forrester 39818dbb36 Update VE core submodule to master (c1e1bd7)
New changes:
a4707b1 Ensure table cells are ce=true before computing offsets
c1e1bd7 Localisation updates from https://translatewiki.net.

Change-Id: I8b3d9dacc213c9be9548f7e112dd3e786451152a
2016-03-14 00:57:29 +00:00
James D. Forrester 6b3ed57eed Update VE core submodule to master (5f451d2)
New changes:
1c654c0 AnnotationContextItem: refactor applying a change to the annotation
ea2b30f Localisation updates from https://translatewiki.net.
5f451d2 CommandHelpDialog: Use this.constructor.static

Change-Id: I5bde122199920ffb986fbffbc46ea6e3369a59e3
2016-03-13 13:44:41 +00:00
James D. Forrester dadd8b9cd2 Update VE core submodule to master (bf1f2cc)
New changes:
6fd5cb7 Update OOjs UI to v0.16.2
ec19ac3 CommandRegistry: Provide getNames method in command registry
b856b17 Protect against calling .classList on text nodes
bf1f2cc KeyDownHandlerFactory: Prevent duplication in handlerNamesByKeys

Change-Id: I0d53340427da414a44112497295112e67883db13
2016-03-10 08:20:39 -08:00
James D. Forrester 3986326050 Update VE core submodule to master (5d4881e)
New changes:
51c16df LinkAnnotationWidget: Implement createInputWidget's documented config parameter
6678cc3 Localisation updates from https://translatewiki.net.
5444bbe build: Bump various devDependencies to latest
c8c93ab Search documentNode for unicorn, not document
2cf61b6 Use normal whitespace for focusable nodes
628de0e DimensionsWidget: Return numbers as documented
7c48393 ve.ui.CommentInspector: Simplify autoresizing

Change-Id: Ic70cf04898beac2a675851925e4978593bc6ac39
2016-03-07 15:04:40 -08:00
James D. Forrester 022d7c2694 Update VE core submodule to master (f77ac2b)
New changes:
4cef3da ve.test.utils: Don't require QUnit expect() anymore
70ee810 Localisation updates from https://translatewiki.net.

Change-Id: If37267012a10e611b3eae63e58a5da3c77ab8fdb
2016-03-04 15:56:36 -08:00
James D. Forrester 9e060a27e2 Update VE core submodule to master (46f34e1)
New changes:
a560a59 FocusableNode: forcibly update the active link on click
78572e8 FocusableNode: Clean-up CSS
1d5efd2 Pass command and sequence registries to the surface
0816db3 Abstract target widget creation

Change-Id: I93774021c41392e6e829904a571b703a0762d46b
2016-03-03 11:48:03 -08:00
Ed Sanders 62d16e5a8a Update VE core submodule to master (ac24b50)
New changes:
0b7e689 FindAndReplaceDialog: don't use tabindex
17b10a5 Localisation updates from https://translatewiki.net.
a4133e4 [BREAKING CHANGE] Make whitespaceHtmlCharacters a real static property

Local changes:
* MWEntityNode: Fix lookup of whitespaceHtmlCharacters

  Property is now in 'static', and use registry to look up
  TextNode by symbolic name.

Change-Id: Ied8c0c6feb69141c7c53fc4cc790774dee2cb63c
Depends-On: I7537b46a9fd58dfb2bd18dc4ed469aa221b96e86
2016-03-03 08:13:33 -08:00
James D. Forrester 078886b5a4 Update VE core submodule to master (6b85afc)
New changes:
2fe0d1a Localisation updates from https://translatewiki.net.
6b85afc Update OOjs UI to v0.16.1

Change-Id: If35da77772d2bd188fe26372a02fe8cbfa6e304d
2016-03-01 16:35:43 -08:00
James D. Forrester dd3045814d Update VE core submodule to master (035c553)
New changes:
8e94428 Make getSelectionState preserve collapsedness
3ee3b93 FindAndReplace: Remove getNativeRange() optimisation
e7d6257 WindowAction: Don't emit position event
b528a56 FindAndReplace: Keep results cache to reduce re-renderings
5b7b6bb Localisation updates from https://translatewiki.net.
dcf2734 Use offset paths in selection state tests
cea8c77 Localisation updates from https://translatewiki.net.

Change-Id: I0e0d66007ec9b3d6cc10bc75ac7b9278edcad71b
2016-02-29 09:56:30 -08:00
James D. Forrester ab4d3e956b Update VE core submodule to master (0371bbe)
New changes:
0371bbe [BREAKING CHANGE] Refine VisualEditorSupportCheck call and document pattern

Local changes: Use new VisualEditorSupportCheck pattern

Change-Id: I7dc0c360b54a93397180b18d88d72532e439da5c
2016-02-26 12:26:56 -08:00
James D. Forrester e7db4517d1 Update VE core submodule to master (8450592)
New changes:
cea967f Use upstream highlightQuery method in OOUI
07bcff1 Update OOjs UI to v0.16.0
6296fd4 Handle Enter keyPress without matching keyDown
3c2a3b4 Localisation updates from https://translatewiki.net.
c2d64c9 GeneratedContentNode: Check model existence before using
c1a350a FindAndReplace: Always focus dialog when using command
cdd9581 Follow-up I534ce003: Surface#getViewportRange: Fix typo

Change-Id: I4c61e85d43486731e0b20d3a26f23fabe7482861
2016-02-25 15:54:27 -08:00
James D. Forrester 7d75361201 Update VE core submodule to master (2279bbb)
New changes:
bf122f6 Check node is an element before doing classList.contains
9e72ee8 Localisation updates from https://translatewiki.net.
5ebe94c Language widget: Use 'super' for parent methods
5a5adef Localisation updates from https://translatewiki.net.
6ac4f1a LanguageSearchWidget: Simplify prefix search
285a31a Localisation updates from https://translatewiki.net.
458cb58 Localisation updates from https://translatewiki.net.
8607a1a Documentation consistency
2279bbb Localisation updates from https://translatewiki.net.

Change-Id: I68c9ebccd3d482079261ab9357be46e05fa18f08
2016-02-22 13:38:51 -08:00
James D. Forrester cebaacb546 Update VE core submodule to master (cdfd84e)
New changes:
c02ea46 Clarify documentation of directionality methods
43c9b6f Move initialisation browser support checking from downstream
c89be66 Localisation updates from https://translatewiki.net.
5fb7907 Follow-up c89be66: Fix build for added language 'nan'
fc74fab dm.ElementLinearData.compareElements: Add a few missed test cases

Local changes:
Use initialisation browser support checking from upstream

Depends-On: I27a8e7b4376647f01cee648de987dc3ca6a060d5
Change-Id: I3fc79422ee5e487cf5fae3929fe492f21cd2840a
2016-02-17 20:04:16 -08:00
James D. Forrester f450c09e6e Update VE core submodule to master (33d090b)
New changes:
0e1f948 Localisation updates from https://translatewiki.net.
621f30e Localisation updates from https://translatewiki.net.
73c9829 FocusableNode: Bind position events later
75f2eb9 FocusableNode: Change mouseout events to mouseleave
6aeaabb Fix cache invalidation of SurfaceFragment.leafNodes
32ceee2 Share getSelectedNode logic between Surface and SurfaceFragment
a9782a0 ve.ce.Surface: Cache current selection
4fd5da1 Move model fallback for getDirectionFromSelection into method
b829a53 Move selection directionality to ve.ce.Selection
ba43c98 Replace some $.hasClass with Element.classList.contains
2beaa08 Localisation updates from https://translatewiki.net.
2ba1197 ce.TableNode#onSurfaceModelSelect: Table overlay optimisation
9d00622 Localisation updates from https://translatewiki.net.
33d090b Update OOjs UI to v0.15.4

Change-Id: Iab28b0513b075b4dfb1b207a55a0b297c3cea885
2016-02-16 18:27:53 -08:00
James D. Forrester bef99351b1 Update VE core submodule to master (6f0c9c2)
New changes:
fbd2dbd Localisation updates from https://translatewiki.net.
a455f9e Fix structure of broken nested lists from Google Docs
2f50c78 Table overlay: Prevent unnecessary scrolls when editing cells
8b1208c [BREAKING CHANGE] Move scrollIntoView down into the surface

Change-Id: I181d3277e745aa90cdf278eee28b640b570cbff3
2016-02-13 02:04:19 +00:00
James D. Forrester e49ae98064 Update VE core submodule to master (55dd20e)
New changes:
7da4868 After KeyDown, check unicorns before polling the surfaceObserver
6f4153f Document annotation content container usage

Change-Id: Iaa23da99f2f789e7a41fbec18ccc1c5b22830542
2016-02-11 09:40:23 -08:00
James D. Forrester 2d278a9ff9 Update VE core submodule to master (5ea4fdf)
New changes:
cfef99f build: Bump various devDeps to latest and make pass
52dfc0d Localisation updates from https://translatewiki.net.
cf23fba SurfaceFragment: Handle multi-range annotations correctly
ac8bfe8 Localisation updates from https://translatewiki.net.
36ab134 Update OOjs UI to v0.15.3
fd38a4a Use plain DOM in ve.ce.LinkAnnotation
016e208 Localisation updates from https://translatewiki.net.
f5ff675 FocusableNode: watch for image loaded/layout changes for invisible icons

Change-Id: Idfb2175ef5c0ad1e557f341325878fd8c46e169a
2016-02-10 17:21:36 -08:00
James D. Forrester 1146b1656a Update VE core submodule to master (c283af7)
New changes:
c231686 getViewportDimensions: Fix calculation of 'bottom'
76d7f27 KeyDownHandlers: Make Tab behave the same in table cells as in table selections
19891d6 ResizableNode: Remove assumption about 'width'/'height' attributes
380ff04 cloneElements: Use the correct node type when cloning
5e31903 Localisation updates from https://translatewiki.net.

Change-Id: I1225329b99779d84390ca5ee70de5b431cd8cbda
2016-02-07 17:32:57 -08:00
James D. Forrester 04259b793a Update VE core submodule to master (f170d48)
New changes:
7d6d45c update-oojs-ui: Don't copy across oojs-ui.js, we don't use that
9ff6c85 Utility function for "index of node in its parentNode's childNode list"
fe6bb82 Remove uses of plain .contentEditable
890a9d7 VE demo: allow saving some markup to localStorage for testing
2504758 Localisation updates from https://translatewiki.net.
7e9f2de Localisation updates from https://translatewiki.net.
35664d6 Convert a bunch of HACK:/XXX:/FIXME: tags to a task reference
f170d48 Localisation updates from https://translatewiki.net.

Change-Id: I91af16e9de4ff60eb1bc4ca2585b5fe79121d095
2016-02-05 15:24:26 -08:00
James D. Forrester a68330dda8 Update VE core submodule to master (7c7aa59)
New changes:
635979b Localisation updates from https://translatewiki.net.
cb724cf Update OOjs UI to v0.15.2
4218e04 Defer creation of cell slugs until end of cycle

Change-Id: I21fd0935b4a68c87714f55f596416c8f3230288d
2016-02-02 15:08:53 -08:00
Ed Sanders 6d97858188 Update VE core submodule to master (53476f4)
New changes:
b558ef1 Localisation updates from https://translatewiki.net.
53476f4 Move logic for showing icon for invisibles to focusable node

Change-Id: I4bda82918cb54a3cc77523137fa297960b1b1ba0
2016-02-02 10:06:43 -08:00
Ed Sanders 74358498da Update VE core submodule to master (70ff8cc)
New changes:
242ab45 DesktopContext: Float the context when it goes beyond the viewport
405c44d Rename TableContext to TableLineContext
6c564be Sort messages alphabetically
70ff8cc Introduce table and table cell context

Change-Id: I4357162bc192c90f99ca0aec12eb67bf848e5504
2016-02-01 10:51:26 -08:00
James D. Forrester a6e24f4643 Update VE core submodule to master (81fef4b)
New changes:
d1673d9 Localisation updates from https://translatewiki.net.
1b3516c Localisation updates from https://translatewiki.net.
81fef4b Follow-up 1b3516c6: Fix build for added language 'cdo'

Change-Id: Iddae595684554af653eac3bd59e55364eff73d3e
2016-01-31 15:37:55 -08:00
James D. Forrester 32e8348543 Update VE core submodule to master (c5bf879)
New changes:
1cbcc2f Rewrite ve.BranchNode#getNodeFromOffset to be non-recursive
d4ee023 Move table cell mergeability test to Selection and improve
8a741d3 ve.Node.findParent: Shortcut for specific traverseUpstream
37c7155 Use mouse position to place selection after double clicking a table cell
b200954 Localisation updates from https://translatewiki.net.

Change-Id: I7b4e5b4b5c2f7d5262b4d06417c587b212ba8b69
2016-01-29 14:57:49 -08:00
James D. Forrester 73399b367d Update VE core submodule to master (a0308f0)
New changes:
a0308f0 Sanitization: Add option to perform per-node sanitization

Change-Id: I18bbb137995f5ae2ba2109a4f86554d62f21d868
2016-01-29 10:14:35 -08:00
James D. Forrester 2390f13d76 Update VE core submodule to master (9704a43)
New changes:
9704a43 ClassAttributeNode: Handle undefined attributes

Change-Id: Ib1df33ea484a7bc4abf63a3644ad68bc8a3de711
2016-01-29 08:31:41 -08:00
James D. Forrester dc3aa815ed Update VE core submodule to master (526e1bf)
New changes:
79546b8 Tables: Add slugs for missing cells in sparse tables
f723301 Tables: Multi-cell copy and paste
2548fac Spoil the fun of guessing what current[0] and current[1] mean.
db7c9aa Localisation updates from https://translatewiki.net.
526e1bf Tables: Move columns and rows

Change-Id: Id8d5f091cbca36c54f78f90bd2ac7aa2e6dacd1b
2016-01-28 13:14:17 -08:00
James D. Forrester 674fface5b Update VE core submodule to master (155ab43)
New changes:
cedfdcb Localisation updates from https://translatewiki.net.
c433eaf ve.dm.Scalable: Prevent validation from exploding on bad input
8b47ed5 Tables: Add getMaxColCount to count total columns in a table matrix
30925f3 Update OOjs UI to v0.15.1
b299804 Follow-up Ic506950: Use new filenames for OOUI stylesheets for demo
b7c3d92 Sequences: Check command against surface's allowed commands

Change-Id: Id967945b1831bbfe9212d26e58ccb17d42b78cd5
2016-01-26 15:57:29 -08:00
James D. Forrester 90f29e3420 Update VE core submodule to master (0329d1d)
New changes:
7626140 Localisation updates from https://translatewiki.net.
1b51288 Refactor unicorn handling in ve.ce.Document#getNodeAndOffset
2458c1a Localisation updates from https://translatewiki.net.
af4a978 Initial cursor position: outside any nails
0ac9d6c Fix node length calculation
9dcb412 Fix logic for showing alien context item
0c4c39d Localisation updates from https://translatewiki.net.
92bb6d3 ElementLinearData#Sanitize: Remove meaningless HTML whitespace by default
4e2aa21 ce.Surface: Show deactivated selection when cursor is collapsed
b448f7d Remove background colour form table headers
87aa8da Follow-up I04ca47: Adjust comment to note we still care it's native

Change-Id: Ie1ee956d7e488e3e9b8494bfaf739c760f8a76b7
2016-01-22 12:25:39 -08:00
James D. Forrester 9a06bac345 Update VE core submodule to master (3a92f7e)
New changes:
00e283c Update name of language icon
de64680 Put construction of table context items in loops
e3fabca Delete cross-branchNode selections etc. on compositionstart
338a57f TableAction: Use first non-empty cell data when merging
55a003e Update undoIndex before performing redo
38601f8 Localisation updates from https://translatewiki.net.
6a5fa59 Fix styling of toolbar separators
85533c0 ve.ce.Surface#onDocumentInput: Minor documentation tweaks
d69fe65 Localisation updates from https://translatewiki.net.

Change-Id: I7f137db9d4ed3bf5baa6c3bd555186504d55c612
2016-01-18 10:42:48 -08:00
James D. Forrester 6cef53c2df Update VE core submodule to master (c54e847)
New changes:
9263c38 ve.ui.Surface: Account for null viewport
6c0d5d6 build: Update various devDependencies to latest
523e241 ve.ce.minImgDataUri was considered invalid in Safari
9eeac0f Localisation updates from https://translatewiki.net.
30d3d7b Localisation updates from https://translatewiki.net.
c54e847 Update OOjs UI to v0.15.0

Change-Id: I9aa82d0170194802381dbf4dcf980a9f7fa6161d
2016-01-12 15:57:17 -08:00
James D. Forrester c2c800237f Update VE core submodule to master (a509b1c)
New changes:
f09a32d build: Bump file copyright notices for 2016
cbb3419 ResizableNode: Factor out getCurrentDimensions
a509b1c Localisation updates from https://translatewiki.net.

Change-Id: Iff34e113542f76b2129101c502f1324100f02995
2016-01-05 14:25:41 -08:00
James D. Forrester 419bb81025 Update VE core submodule to master (a909501)
New changes:
1ab3b78 Localisation updates from https://translatewiki.net.
92abd0c [DEPRECATING CHANGE] ve.ui.Surface: Make an OO.ui.Widget and implement #setDisabled
479b902 Localisation updates from https://translatewiki.net.
7723bcc Unbreak build from i18n-bot self merging
d1c5207 Move white-space:pre-wrap hack to ContentBranchNode
7bbded7 Annotation context items: expand the selection if no annotations
c9ca0a3 Localisation updates from https://translatewiki.net.
8dfabec ve.dm.Document: Rename cloneSliceFromRange to shallowCloneFromRange
7fee02d Localisation updates from https://translatewiki.net.
2176d88 Localisation updates from https://translatewiki.net.
a5ab6f4 Unbreak i18n lists
915b8c2 Localisation updates from https://translatewiki.net.
469c8be Localisation updates from https://translatewiki.net.
34f4a48 APIResultsProvider: Refactoring resetting of queue.
584fc0f Localisation updates from https://translatewiki.net.

Change-Id: I9c165c8df7a48560ab84fabe4ee2f8d244c37203
2016-01-03 11:37:34 -08:00
James D. Forrester 8d35988c31 Update VE core submodule to master (c9ab407)
New changes:
a51febb build: Upgrade various devDependencies to latest
4e5b524 Localisation updates from https://translatewiki.net.
f43cab6 ve.ce.Selection: Fix docs and variable names
f99a93d ve.ce.Selection: Introduce isFocusedNode && isNativeCursor methods
102f667 ve.ce.Surface: Remove selection type awareness from #focus
f9b586b ve.ce.Surface: Remove selection-type awareness from fake selection rendering
7f57d55 ve.ce.Surface: Remove some selection-type awareness from handleInsertion
75a9116 ve.ce.Surface: Remove selection-type awareness from showModelSelection
00e500b ve.ce.Surface: Remove selection-type awareness from fixShiftClickSelect
428e4a6 ve.ce.Surface: Remove selection-type awareness from checkSequences
154779c ve.ce.Selection: Freeze focusedNode when selection is created
849d758 Fragment delete: handle a document with no valid content offsets

Change-Id: I562f76bff0ab8e135d4cf8cb133374f1b5288e9c
2015-12-14 09:59:03 -08:00
Ed Sanders aa2e0af348 Update VE core submodule to master (19e50b7)
New changes:
e536779 [DEPRECATING CHANGE] Rename link inspector tools
3899967 Localisation updates from https://translatewiki.net.
0a1c09e [BREAKING CHANGE] ve.init.Target: Upstream the action toolbar from sa/mw desktop targets

Local changes:
* Refactor tools for the breaking change

Change-Id: I676af9c50b09ef007926240eb2327d1a0fdd80f5
2015-12-11 10:03:02 -08:00
James D. Forrester 356b6e153f Update VE core submodule to master (601ba8c)
New changes:
234da0b Annotation: Rename 'inferFromDom' to 'inferFromView'
8c1ed4c Fix more typos
c515123 Fix typos
36a7d1f Count chunk list bounds more carefully

Change-Id: Ibc1b385e0c6d8fafdcd5ab4ff6e613c6d491e2a7
2015-12-10 12:42:02 -08:00
James D. Forrester a7d2123d60 Update VE core submodule to master (cd979fe)
New changes:
d05ccd6 LinkInspectorTool: Move link specific code to LinkInspectorTool
51f5358 Localisation updates from https://translatewiki.net.
98d86e5 TextState(Chunk): Rename 'tag' to 'element'
6b1ea16 TextState: Recover annotation models via .data('view').
2d72d37 Localisation updates from https://translatewiki.net.
72b50d9 Update OOjs UI to v0.14.1
cd979fe build: Add grunt-tyops and make pass

Change-Id: Ic1be59b024993ed817a4045d7d7950a073b0005d
2015-12-08 17:53:20 -08:00
James D. Forrester 88c81b0bc4 Update VE core submodule to master (06c5ed7)
New changes:
08abcd1 Fix JS error when unselected GeneratedContentNode rerenders
6ebb09f Fix inherit documentation of AnnotationContextItems
6787331 Localisation updates from https://translatewiki.net.
b3d7f93 Localisation updates from https://translatewiki.net.
d9156a2 Make MediaSizeWidget work without default/original dimensions

Change-Id: I36f34365db23bcdf1408af8361ed7242025d1278
2015-12-07 08:51:21 -08:00
James D. Forrester b57aff905c Update VE core submodule to master (73810c1)
New changes:
d8b91db Forward-delete at end of document shouldn't do anything
dd3fed5 Localisation updates from https://translatewiki.net.
f199ce4 Limit the height of desktop-context popups
94920c0 Remove unused title properties from toolbar dialogs
e8321da LinearDeleteKeyHandler: cope better with aliens

Change-Id: I997b7f391b5f623f0d02fba9b8a9e7cf834b2735
2015-12-04 17:12:38 -08:00
Ed Sanders be45a9172e Update VE core submodule to master (d6f2d75)
New changes:
94f2edb Paste sanitization: Check for whitespace *before* newlines
c981b96 Fix-up Ie5414f62c: Fix call to non existant method
d6f2d75 FindAndReplace: Implement whole word matching

Local changes:
* Message and config for FindAndReplace whole word matching

Change-Id: I103b9b1ec92c0aae1e51e1a94db6b8b5e759dbea
2015-12-03 09:40:12 -08:00
James D. Forrester dd79cc13b3 Update VE core submodule to master (71cbcff)
New changes:
c04d8c0 Diff richtext to build model changes
25c95be Localisation updates from https://translatewiki.net.

Change-Id: Idf95b655dbed4f56633d91c52fc8b90308438d45
2015-12-02 16:16:20 -08:00
James D. Forrester 79c4737fb3 Update VE core submodule to master (d72270f)
New changes:
ee3c787 When the cursor is inside a table cell, tab moves between cells
c6b338a Use white-space: pre-wrap instead of using &nbsp; for spaces
83e394b Define 'space' as a trigger key
b0c4535 Localisation updates from https://translatewiki.net.
1336c5c .mailmap: Add some extra addresses and change default for rmoen
a67ee68 AUTHORS.txt: Be more strict about 'principal' authors and update addresses

Change-Id: I4193774aa0d45d3751386bd2cfbd6d6717c0a81a
2015-12-01 19:10:45 -08:00
James D. Forrester eb61b1a936 Update VE core submodule to master (3ab893c)
New changes:
cd57cf5 Do not skip past adjacent unicorn in different branch node
6c6780a Add documentation to setupOutlineItem in SpecialCharacterPage
6f6d4a8 DimensionsWidget: Check for numeric-ness of inputs
d2cd646 Fix range mapping logic for node merging on deletion
6891355 build: Be more consistent in globs' applicability
1a420be Localisation updates from https://translatewiki.net.
8e562c6 Add parameter to SpecialCharacterDialog onListClick documentation
5087b94 Localisation updates from https://translatewiki.net.
d9961d7 Update OOjs UI to v0.14.0
b89ea54 Add tab and shift+tab to blocked triggers list
5510f84 Change behavior of keydownhandler execution
3163552 isBlockedTrigger should use meta+ for macs, not cmd+
e55a590 Add cmd+[ / cmd+] as extra bindings for indent/outdent trigger
dc21fd8 Collapse table selection when pressing escape
a2c1bab Localisation updates from https://translatewiki.net.
ec47888 Localisation updates from https://translatewiki.net.

Change-Id: I41a709bd6a3971adbdc99f209fdd321861632d02
2015-11-30 10:00:54 -08:00
James D. Forrester 015547aca7 Update VE core submodule to master (0e19dde)
New changes:
1298615 ElementLinearData: Sanitize away plain text linebreak characters
a7be116 Localisation updates from https://translatewiki.net.
654a908 Add ve.ce.Surface selectActiveLinkContents

Change-Id: I3d1172b4c43a627058da587250bae731c25890cc
2015-11-23 10:48:37 -08:00
Ed Sanders 0e30e328ba Update VE core submodule to master (e8c6f7d)
New changes:
b44ef6d [BREAKING CHANGE] Fix WhitespacePreservingTextInputWidget API
96e4034 Localisation updates from https://translatewiki.net.

Local changes:
* Use new WhitespacePreservingTextInputWidget API

Change-Id: I9920a3b5c8c3e8a241dcfdd1bde20f4ea1cf78b6
2015-11-20 15:44:49 -08:00
James D. Forrester 41c94e4181 Update VE core submodule to master (5b07e0c)
New changes:
64d8708 Localisation updates from https://translatewiki.net.
63eacf2 Annotation tests: Allow originalDomElements preservation
bb8fc4b Strip RESTBase IDs when comparing annotations
56c7dce Paste sanitisation: Strip Parsoid IDs when pasting
d271d4d Use ES5 trim instead of jQuery

Change-Id: Icf493a6984bbc2470abb158fcfe54ae44724058a
2015-11-20 12:08:57 -08:00
James D. Forrester 8bd08a9af2 Update VE core submodule to master (68f9f5e)
New changes:
be526b3 Surface paste: Update comment about PNG fallbacks for HTML
29455b9 PreviewElement: Allow preview elements with no model

Change-Id: I8aa179045ec683bf889ea3597aada9396d7ac722
2015-11-18 11:20:33 -08:00
James D. Forrester b17029ccd9 Update VE core submodule to master (a62fe36)
New changes:
3951dc1 Localisation updates from https://translatewiki.net.
a92d028 Introduce view selections to abstract getSelectionRects logic
f3030e0 Move getSelectionBoundingRect logic from TableNode to TableSelection
679300d Localisation updates from https://translatewiki.net.
5f7ebcd Update OOjs UI to v0.13.3
aa87e56 Unbreak complex HTML paste by ignoring screenshot fallbacks
afe5d45 Paste handlers: Break after the HTML data item

Change-Id: I6ce7c41fac995e718a88d8c2366ff642ef6dfd06
2015-11-17 19:24:51 -08:00
James D. Forrester 09da242d6a Update VE core submodule to master (3549158)
New changes:
fbb2b2e Localisation updates from https://translatewiki.net.
933f979 mailmap: Remove unused alias for ttijhof@wikimedia.org
72ce0e6 Better faking of onselectionchange
0d550d9 Paste sanitization: Treat <br> breaks as node splits
966b0a1 Localisation updates from https://translatewiki.net.
414cebb ContentAction: Add 'collapseToEnd' option to 'insert'
60de784 demos: Fix 'TypeError: ve.demo.target not a function' in desktop-dist.html
71f272e Localisation updates from https://translatewiki.net.
60376d2 RangeFix: Update from 0.1.1 to 0.1.2
2470042 Localisation updates from https://translatewiki.net.
7b1cdda Range offsets: Special case when adjacent to a nail
7ecde6c Add ve.ui.AnnotationContextItem

Change-Id: Iaab4cb7f9d4ec9d7120f42350fd613458c996c85
2015-11-16 10:49:53 -08:00
Ed Sanders 9bcc61e195 Update VE core submodule to master (77d786a)
New changes:
95589a6 test: Add a Rakefile for new CI requirement
1a4497e ve.ui.DialogTool: Do not require that a command is set
cbf1bff ve.ui.Tool: Fix documentation for getCommandName
530022d Localisation updates from https://translatewiki.net.
9529093 Update OOjs UI to v0.13.2
b8d6c15 Add icon: Rename 'insert' to 'add'
2f3015b Update OOjs to v1.1.10
78ceb18 Fix deletion inside a structural node at start/end of document
ce3e9a4 ve.utils: Use binarySearch from OOjs

Local change:
* MW test cases for new structural deletion logic

Bug: T52250
Change-Id: I643449c1fa08ea12c8c3aa13f4a4b97d8876990d
2015-11-11 12:35:53 -08:00
James D. Forrester f0887bca81 Update VE core submodule to master (6f8f3db)
New changes:
cda23ea CommandHelpDialog: Layout tweak
a4fcff4 Localisation updates from https://translatewiki.net.
dac9067 Remove unused jquery.visibleText library
58beb8c lib: Add AUTHORS, LICENSE and README files for libraries missing them
efb1749 Surface drop: Show branch node drop markers for file drop
a55574b Localisation updates from https://translatewiki.net.
0ad3133 Add ve.Scheduler
55cc3e0 Close inspectors before executing a ve.ui.Tool command
6132af8 Localisation updates from https://translatewiki.net.
24fed63 Watch for hashchange on the demo
0f04339 ve.ui.Sequence: Allow sequences to insert content

Change-Id: Idf26d9fb1970b994a54085b43fcc848b005da273
2015-11-09 17:36:27 -08:00
Ed Sanders 216d0ea7a7 Update CommandHelpRegistry calls for breaking change in core
New changes:
281b543 Slugs: Remove vertical alignment hack
d6ddbe4 Localisation updates from https://translatewiki.net.
94bb263 Follow-up d6ddbe4: Fix build for added language 'sd'
bc8579d [BREAKING CHANGE] CommandHelp: Cleanup registry API

Change-Id: I65e2bfc299fbd60d6bdc7a57a030980b6cb8ab18
2015-11-05 07:29:44 -08:00
David Lynch 6df227d4e0 MWCommandHelpDialog: update for core changes
Also: update VE core submodule to master (61f3fe7)

New changes:
4ef3666 Localisation updates from https://translatewiki.net.
cfa3482 Localisation updates from https://translatewiki.net.
d3486d4 CommandHelpDialog: Rename 'category' to 'groupName'
b5578d1 Localisation updates from https://translatewiki.net.
926595e Update OOjs UI to v0.13.1
61f3fe7 [BREAKING CHANGE] Create CommandHelpRegistry for CommandHelpDialog

Change-Id: If651ed30ab85175c7a262d9ccccc2e1613b0f3d6
2015-11-04 12:01:45 -06:00
James D. Forrester c714eb173c Update VE core submodule to master (062cb26)
New changes:
6cae77b ElementLinearData: Add another case to hasContent
d2e15f2 SurfaceFragment: Improve handling of delete all
16db2a3 Return 'null' instead of null in ve.Filibuster observers
24de6b2 Introduce key down handlers to separate logic from ce surface
f77fe99 Localisation updates from https://translatewiki.net.
062cb26 Localisation updates from https://translatewiki.net.

Change-Id: I61c94983c7898af219266af3022761638c7578b7
2015-11-03 10:36:53 +00:00
David Lynch 8bda88f661 Add mediawiki-specific sequences to the command help dialog
The extension registers a lot of sequences that don't apply to core
VisualEditor. Pretty much the opposite of the trigger situation, where
almost all are in core. So, merge them into the help dialog.

Update VE core submodule to master (be148ae)
New changes:
7380244 [BREAKING CHANGE] Include sequences in the command help dialog

Bug: T116013
Change-Id: I5ad2939c10140b954fb29e1e50414ab7d79aeab7
2015-10-31 21:28:57 -05:00
James D. Forrester 39574d0116 Update VE core submodule to master (ec09198)
New changes:
e0e3096 Remove selectionStart and selectionEnd events
af34d54 ve.dm.Selection: Add getter for name static property
6c16485 DataTransferHandlerFactory: Fix documentation
34542f3 Remove non-existent browser prefix
956db1c Update OOjs UI to v0.13.0
53d53e3 FindAndReplace: Start search at current offset

Change-Id: I40d728af44b7dc98756b44f392c623c8aa3b4b89
2015-10-28 22:33:14 +01:00
James D. Forrester 0fbebacb9f Update VE core submodule to master (d33328d)
New changes:
2fc5122 Ellipsis placeholders when not enough room
6d66479 Reapply the cursor after delete to kill browser preannotations
3ccc9e2 Unicorns: Apply styles with classes, rename variables
14287df Localisation updates from https://translatewiki.net.
0ac1cff Localisation updates from https://translatewiki.net.
d0c4726 Fix right-click copy on table cells

Change-Id: Ibb9ff9db525dcff7d948bb536cbd1b9823eec197
2015-10-26 17:22:01 +01:00
James D. Forrester 0cf3b77638 Update VE core submodule to master (e1c0146)
New changes:
ce68687 build: Use my gmail address for attribution
383ba35 Update my .mailmap and AUTHORS.txt entries
9c0b520 .mailmap: Update for recent commits
1abcf64 AUTHORS.txt: Update for Autumn 2015
74fb1d6 Fix typo in WhitespacePreservingTextInputWidget class
7528d7c ce.Surface afterKeyDown shouldn't assume .contenteditable is boolean
ee4c3a2 ve.ce.Surface: Defer checkSequences call for insertText as well

Change-Id: Ice507aa8d260177ccd8b5e1b44e6474a8eda36e7
2015-10-21 15:56:01 -07:00
James D. Forrester 297d7d2cfc Update VE core submodule to master (e25b3fe)
New changes:
84bac04 Remove the "Open" button from link inspectors
5e133fa Update OOjs UI to v0.12.12
d8ddf01 DM Surface: Cleanup emission of 'history' event
c65b032 De-Houdini-fy the handling of observed DOM changes
cd934fa Run renderContents before finding nodes by offset
4393fcd Localisation updates from https://translatewiki.net.
f2b5760 getNodeAndOffset: handle slugless nodes with zero DM length
97ba0da Localisation updates from https://translatewiki.net.
f2d80b4 Localisation updates from https://translatewiki.net.
e25b3fe Follow-up 97ba0da: Fix build for added language 'sgs'

Change-Id: I3eca1e9b9c753bbe4c896d2271c84b89707eb813
2015-10-19 14:52:24 -07:00
James D. Forrester 8cb35b3578 Update VE core submodule to master (52eb218)
New changes:
a3bcde1 Store text inputs to find and replace between sessions
bf2c2c1 build: Update grunt-banana-checker from v0.3.0 to v0.4.0
40a553f Add comments to show used CSS classes
9cb46c6 LinkAnnotation: Move nail CSS into stylesheet
407efc2 Don't replace spaces with spaces
5b03512 Localisation updates from https://translatewiki.net.
9872891 Add documentation for Event mixin to ve.dm.Node
134c613 Localisation updates from https://translatewiki.net.
fe19909 Localisation updates from https://translatewiki.net.
1a931c3 Don't scroll cursor into view when in paste target
b00a252 Localisation updates from https://translatewiki.net.

Change-Id: If2c17feb0f1c7c946ca6ff888fdcb04e0d9f7241
2015-10-13 07:27:28 -07:00
James D. Forrester 09821a6800 Update VE core submodule to master (c864138)
New changes:
c864138 Update OOjs UI to v0.12.11

Change-Id: Ib26659a89097ec5b2417355781f07903129fe2ce
2015-10-07 14:33:27 -07:00
Ed Sanders 9fb6977e52 Update VE core submodule to master (363adf2)
New changes:
63c5f67 [BREAKING CHANGE] GeneratedContentNode: Introduce new hash for rendering
6dd1cb2 Add ve.dm.Surface#selectLastContentOffset

Local changes:
* Use new getHashForRendering in GeneratedContentNode users

  As we no longer have a model hash, remove the originalIndex check
  and just rely on the deep comparison of mwData (trading a deep copy
  for a hash computation should result in similar performance).

Bug: T114689
Change-Id: Ida0ee0234418408b735232c633d41908a424a9ff
2015-10-07 15:00:32 +00:00
James D. Forrester 5fa34afc2f Update VE core submodule to master (737a235)
New changes:
6e38f99 Pass generated content error to inspector

Change-Id: I362972dcdffc72b906263670d034872f0af03a01
2015-10-05 13:11:40 -07:00
James D. Forrester 8e8fe70d79 Update VE core submodule to master (8feaeef)
New changes:
9cb6f74 Move insertion annotation calc logic from DM Surface to ElementLinearData
04d4bfd Refactor the code that determine insertion annotations
d9efa1c DimensionsWidget: Fix alignment of labels
66ba732 Always render generated content the first time, including errors
23a957c Consistently use spaces inside brackets in CSS
f17c8ad Localisation updates from https://translatewiki.net.
f4d0643 Localisation updates from https://translatewiki.net.
ec29e77 Follow-up I553e31: Don't show error for non-rendered GCNs
5f2402b Pass staging state through Document#commit to ve.dm.Node update event
0d3e998 Fix ve.ce.Document HTML tests
7c95c6a Wrap <hr>s so their margins are clickable
164b9a3 Localisation updates from https://translatewiki.net.

Change-Id: I069082baeb45105bf2e0106879d472319a6ffe2a
2015-10-05 09:57:20 -07:00
James D. Forrester 6800e1bc04 Update VE core submodule to master (54ec246)
New changes:
ec74b6f [BREAKING CHANGE] PreviewElement: Remove deprecated alias to PreviewWidget
987d3b1 Follow-up c02882c: Don't break non-GCNs
df74df2 Localisation updates from https://translatewiki.net.

Change-Id: I9d2261b48593d604ff54cfea2ea5ff3e7472ab3a
2015-10-01 14:32:06 -07:00
James D. Forrester 2668383755 Update VE core submodule to master (a98e11c)
New changes:
3eea110 Refactor PreviewElement to allow preview to be updated
c02882c Don't render errors in generated content

Change-Id: I1ecd85473846a0ce533a885e28440e443d9928ea
2015-09-30 18:18:15 -07:00
James D. Forrester 01bd73c808 Update VE core submodule to master (ca4bd8c)
New changes:
8c917a7 Add focused class to surface when focused
04d7f8c Localisation updates from https://translatewiki.net.
dfc71e6 Move cursor offset calc from CE Surface to DM Document
02040d0 Localisation updates from https://translatewiki.net.
7d6d49e IME tests: Add IE11 Win8.1 Korean; name specific Windows versions
7ce9d64 Localisation updates from https://translatewiki.net.
ca4bd8c Update OOjs UI to v0.12.10

Change-Id: I7c04d72cb6bf1d21eb257e2a6cf42c61c7d34eba
2015-09-29 15:14:02 -07:00
Ed Sanders 6ed5877c69 Update VE core submodule to master (27fc244)
New changes:
18e46b6 [BREAKING CHANGE] LinkAnnotationWidget: Abstract .text property to getTextInputWidget

Local channges:
* MWLinkAnnotationInspector: Use new getTextInputWidget method

Change-Id: Ia33797d612be7b4521e7212047a38480ee2520df
2015-09-26 12:27:56 +01:00
James D. Forrester 18f30efc5b Update VE core submodule to master (64a932b)
New changes:
2c84a24 Localisation updates from https://translatewiki.net.
b87fd8a Follow-up 2c84a24: Fix build for added language 'azb'
64a932b Ignore slugs and chimeras when preventing identical re-renderings

Change-Id: Icad799f4af424d45369c0b4ac367e5082202ea4a
2015-09-26 12:14:53 +01:00
James D. Forrester 76a8b0d127 Update VE core submodule to master (518456c)
New changes:
0808e3b Refactor ve.ui.LinkAction to allow autolinking to create nodes
867f558 Avoid protocol-relative base Firefox bug in unit tests
8ece359 Use equalDomElements tests for CE HTML
897999d Make layout-specific paste tests
0296b1d build: Bump various devDependencies
4620000 ve.dm.Scalable: Get test coverage to 100%
294dab5 Add getDomFromNode method to ve.dm.Converter
98f940b build: Bump browserNoActivityTimeout from 10s to 30s
93bc745 Allow ve.getDomElementSummary to modify attributes
89ea9a3 Make fixBase tests account for no-op behavior when baseURI is valid
5d4bfb6 Localisation updates from https://translatewiki.net.
ad41023 Allow autolinking inside list items

Change-Id: I166a825191627a3b6f36995ddca6a97fa8f4c582
2015-09-25 10:33:40 +01:00
James D. Forrester 207f55dc8c Update VE core submodule to master (3c65a2a)
New changes:
90ed001 Localisation updates from https://translatewiki.net.
c2f2096 Rename ve.ui.PreviewWidget to ve.ui.PreviewElement

Change-Id: I35103bc5d98b7eee77c9f5f22c441091b6453687
2015-09-24 13:50:08 +01:00
James D. Forrester 3261f24c12 Update VE core submodule to master (e650f93)
New changes:
f22069c SurfaceObserver: use plain function call to Surface, instead of emit
6b1ba80 Fix arrow key fixups for inline focusable node
839a177 Update OOjs UI to v0.12.9
57d8962 Localisation updates from https://translatewiki.net.

Change-Id: I8727e84cb8c0b65604e6f28c03ca47b52727171e
2015-09-23 17:53:53 +01:00
James D. Forrester 04c737bac3 Update VE core submodule to master (171fe11)
New changes:
1f2d43d Localisation updates from https://translatewiki.net.
171fe11 Reduce padding for IndexLayout panels in fragment inspectors

Change-Id: I2a9b4210a33c360b3137b0278454c1b6d92ab4d9
2015-09-22 14:19:24 +01:00
James D. Forrester 2f184cef79 Update VE core submodule to master (8012620)
New changes:
2dd6596 Localisation updates from https://translatewiki.net.
784e559 tests: Test view surface data transfer handling methods
0955c54 Localisation updates from https://translatewiki.net.
3ae3ff6 StrikethroughAnnotation: Alias <del> tags like we do for <code>/<tt>
5976e1d Remove special casing to create post-link unicorns
4431a91 Fix height issues in mobile context
150947d Localisation updates from https://translatewiki.net.
7edad7f build: Enable json-summary format in karma-coverage
a417bf0 Don't fixup table selections
2a12535 Support incomparable nodes in ve.compareDocumentOrder

Change-Id: Id8407014b692567a91c4c18855850bc7bebdc652
2015-09-21 16:08:54 +01:00
James D. Forrester 71dd91d5d1 Update VE core submodule to master (5018704)
New changes:
4a089dd dm.Annotation: Remove unused convenience wrapper
f30ad5c PreviewWidget: De-duplicate code with a private function
c16da30 Restore scroll immediately after paste
45b1406 Links: Explicit entry/exit with cartouches

Change-Id: I48ad7fb3f68ebb5eff89cc7e2b00878cca550222
2015-09-16 10:49:24 -07:00
Ed Sanders 0fdf3cbb93 Update VE core submodule to master (9dcfbdb)
New changes:
184f952 [BREAKING CHANGE] ve.dm.Converter: Put static things in .static
a4c1e1e Localisation updates from https://translatewiki.net.

Local changes:
* Switch to using Converter's newly-static methods

Change-Id: If30f7b2a0de92c4c7f4d5ca57663251c132eeed2
2015-09-15 17:36:27 -07:00
James D. Forrester 42a8c4671e Update VE core submodule to master (ce39ef0)
New changes:
63f6b71 build: Upgrade grunt-banana-checker to v0.3.0
a88b6d6 ve.resolveAttributes: Use addBack to build a single selection
ce39ef0 FindAndReplace: Only use caseSensitive for text matches

Change-Id: Ibddf90531709aa8951b3ac8ffcf225ca6410eb51
2015-09-15 08:30:57 -07:00
James D. Forrester 566c49a96b Update VE core submodule to master (7847bf5)
New changes:
0534de0 Localisation updates from https://translatewiki.net.
de0803c Localisation updates from https://translatewiki.net.
e0842b2 Add new krl language
61e0589 ve.dm.Scalable: Create unit tests
761d817 Localisation updates from https://translatewiki.net.
8c6b9f1 Follow-up 761d817: Fix build for added language 'olo'
5980634 Use removeChild instead of remove
d9bfb72 ve.dm.SurfaceFragment: Add more unit tests

Change-Id: I886c7427e53bd30d9518b6f868107a7b3cca7b54
2015-09-14 14:56:51 -07:00
James D. Forrester 22ab3ec3d0 Update VE core submodule to master (e33a584)
New changes:
417473d Slightly increase width of table context
ab7544c jquery.i18n: Add missing dependency on PluralRuleParser
01dda9e Update OOjs UI to v0.12.8
4d9c68e Use a 'larger' dialog and 3 columns for keyboard shortcuts
cfacd18 ve.ce.Surface: Wrap internal drop's insertContent in a try/catch

Change-Id: I1a9cd4cea16682a8eaabfa4c5551fc0acd8b666d
2015-09-11 08:16:46 -07:00
James D. Forrester 2e963221f7 Update VE core submodule to master (97742c0)
New changes:
6e5d335 sa.DesktopTarget: Clean up handling of actions toolbar
52a609d ElementLinearData: Add extra check to hasContent
97742c0 Allow shift+delete to cut on non-Mac platforms

Change-Id: I2a46c4a5e46fcc339b3686ce88f4137c74017d87
2015-09-08 08:34:04 -07:00
James D. Forrester 5337b249a2 Update VE core submodule to master (d58d7d4)
New changes:
5542fe9 Localisation updates from https://translatewiki.net.
0a64089 Follow-up 5542fe9: Fix build for added language 'glk'
26c8862 Update OOjs UI to v0.12.7
0481471 Make ve.ui.Sequence#execute return false if the command is missing
20fd431 Localisation updates from https://translatewiki.net.
521d281 Localisation updates from https://translatewiki.net.
a76cbef build: Bump grunt-contrib-jshint from 0.11.2 to 0.11.3 to fix upstream issue
7022385 Back out "Re-use example surface across surface view tests"
3a8f7af Don't call setInsertionAnnotations on handleInsertion
10700e2 Localisation updates from https://translatewiki.net.
3b75d9d Don't descend into overflow clipped nodes for highlights
9492aca De-duplicate methods in NodeDialog and NodeInspector using mixin

Change-Id: I06a239269c68351f046f8aa221bb82899a8f57b1
2015-09-05 22:55:25 +00:00
James D. Forrester 1aab5a2322 Update VE core submodule to master (62cf769)
New changes:
62cf769 Store find and replace toggle states in user config

Local changes:
* Register new visualeditor-findAndReplace-* options

Change-Id: I5934882f25614bd79488fff7e8fa0af5ede0af38
2015-09-01 10:50:06 -07:00
James D. Forrester efcc8a9781 Update VE core submodule to master (83c5ca4)
New changes:
fdf0756 Localisation updates from https://translatewiki.net.
686f1cc tests: Use model-only surface in ListAction test
4b5ede7 tests: Reuse test view in paste tests
14a0f11 tests: Re-use example surface across surface view tests
94105a7 Localisation updates from https://translatewiki.net.
b505daf Follow-up 94105a7: Fix build for added language 'en-ca'
83c5ca4 Platform: Add user config methods

Change-Id: Ic24413beac9bc0f454ba1e077e5f4f1ef210640d
2015-08-31 17:50:01 -07:00
James D. Forrester 2b88dc2f8b Update VE core submodule to master (ff259df)
New changes:
138a7f8 Fix focusable mouseout
e09bf84 AnnotationInspector: Only show 'insert' when content is to be inserted
56aba4b Clear query when regex is invalid
9a96112 Localisation updates from https://translatewiki.net.
284cadf Check surface is visible before trying to render fragments
ff259df Localisation updates from https://translatewiki.net.

Change-Id: I870f100b537992a690e9da8dc3b01b16aafe0f68
2015-08-29 13:18:44 -07:00
James D. Forrester fc5ff16548 Update VE core submodule to master (9123d3b)
New changes:
39bde8f Localisation updates from https://translatewiki.net.
1594ab6 Update OOjs to v1.1.9
e35bb54 Update OOjs UI to v0.12.6
6140eb6 Don't using start selection to position context for focusable nodes
81e5876 Localisation updates from https://translatewiki.net.
9123d3b [BREAKING CHANGE] Remove ve.selectEnd()

Change-Id: Icd1899b9e28bb12ab789f727a3f428b09a05fffb
2015-08-26 16:56:46 -07:00
James D. Forrester 44d6ca61ad Update VE core submodule to master (bf76dd7)
New changes:
4344098 Increase width of desktop context, inspectors to 400px
0970f8a Refactor surface config compilation
58c0491 Put spaces between multiple links when pasting
9d13857 Localisation updates from https://translatewiki.net.
bf76dd7 LanguageInspector: Make the widget use one line for language

Change-Id: I79688eaf55547af8749230f589427df7ded5bcb0
2015-08-25 08:55:35 -07:00
James D. Forrester 5bc3bd487d Update VE core submodule to master (442ec14)
New changes:
736fe7f Localisation updates from https://translatewiki.net.
ed9a86f Don't autolink or autoconvert on "Paste Special"
35ffb6f Don't select pasted content
8a4fbe2 Localisation updates from https://translatewiki.net.
f62011c Move progress bar functionality up to DataTransferHandler
9abba55 Give links a getDisplayTitle method for use by transfer handler
7f1f965 Localisation updates from https://translatewiki.net.
0b3e045 ve.ce.Surface: Only perform blur-on-destroy hack if surface is focused
dbd6d88 UrlStringTransferHandler: Don't insert a space after URL paste

Change-Id: Ieb8cc541a189a0a5ff2e21077584a9c63c6c7d6f
2015-08-23 14:05:06 -07:00
C. Scott Ananian ee06f94879 Update VE core submodule to 89f6c2d7
New changes:
89f6c2d Strip trailing quotes when autolinking URLs

Local changes:
* Strip trailing quotes and non-URL characters when auto-linking

  Update ve-mw to match I58a9c7f97ef10d9f495e65da17f208b9fc431aa4 in core,
  since otherwise the ve.ui.LinkAction.test.js case with a quoted link
  will begin to fail.

  Make the set of stripped characters better match the combination of
  EXT_LINK_URL_CLASS in the PHP parser and the explicitly-stripped
  trailing punctuation in Parser.php::makeFreeExternalLink().

  Add some international quotation marks while we're at it to make
  everyone equally happy.

Change-Id: Iaffac4b073aeafa4f1137265c2d95e425c24d553
2015-08-23 14:03:01 -07:00
James D. Forrester 3adfa82ace Update VE core submodule to b5eaa6f
New changes:
b5eaa6f Factor out ve.ui.LinkAction#autolink

Change-Id: I0328132f233bdc0eb9515ce78489c65051aacb67
2015-08-23 13:55:06 -07:00
James D. Forrester d868a0f981 Update VE core submodule to master (7ec7bb5)
New changes:
0590b07 build: Enable jscs's checkParamNames jsdoc rule and make pass
8b845d7 doc: Fix jsdoc for ve.ui.WindowAction#getWindowManager
3819ff6 Localisation updates from https://translatewiki.net.
94651ca Follow-up 3819ff6: Fix build for added language 'su'
5feb0c7 build: Enable jscs's requireParamTypes jsdoc rule and make pass
0605837 build: Enable the remaining jscs jsdoc rules we can
e70f972 build: Enable jscs's checkTypes jsdoc rule and make pass
44eb8fe Localisation updates from https://translatewiki.net.
dc7c8ed Make focusing surfaces work in Firefox

Change-Id: I11248b4c190839cb87948b13b844d6171341d5c8
2015-08-21 10:46:01 -07:00
James D. Forrester 44d739c164 Update VE core submodule to master (4c8168a)
New changes:
7311e96 Localisation updates from https://translatewiki.net.
b517839 Revert "Localisation updates from https://translatewiki.net."
42db2eb Improve ve.ui.UrlStringTransferHandler.test.js
89e9227 ve.ce.Surface#afterPaste: Use only relevant HTML when creating DTI from image
9e80e7f build: Update various devDependencies to latest
c93722b build: Enable jscs's requireNewlineAfterDescription jsdoc rule and make pass
2a67aa8 Update OOjs UI to v0.12.5
82cc2a0 Rebuild tree when toggling input debugging

Change-Id: I2c5023a0b2e08f20b3544e8cab5d439ccc4088d7
2015-08-19 08:49:10 -07:00
Ed Sanders 17f0fffe85 Update VE core submodule to master (1191940)
New changes:
de69c36 Fix typos in function names
fa80099 [BREAKING CHANGE] Split out linear context from context
db1d28c Only show alien context for focusable nodes
1191940 build: Bump grunt-jscs to 2.0.0 and make pass

Local changes:
* Update context inheritance

Change-Id: I284e2b30cd1903770482ee1c554687b676a2d626
2015-08-18 11:24:08 -07:00
C. Scott Ananian 550a979fdb Update VE core submodule to master (0bf4ce7)
New changes:
44f8204 Autolink pasted links

Local changes:
* Add UrlStringTransferHandler from core

Change-Id: I7eae6da2739fa47b22ed1e7fbf53e9473e037c5b
2015-08-18 07:20:29 -07:00
James D. Forrester e282522cf2 Update VE core submodule to master (cf224ad)
New changes:
263b4fc Localisation updates from https://translatewiki.net.
0487dcc ve.dm.CommentNode: Add space to comments' clipboard html
3a5422b DebugBar: Add a close button

Change-Id: I9ff3a77a3eb8d2d9a9dc61aa6cb52db577d1592e
2015-08-18 10:24:39 +01:00
C. Scott Ananian c197d0b075 Update VE core submodule to master (d020898)
New changes:
985edd2 Localisation updates from https://translatewiki.net.
9883b44 Follow-up 985edd24: Fix build for added language 'shn'
b0d5ee2 Localisation updates from https://translatewiki.net.
18ca837 Localisation updates from https://translatewiki.net.
f6a0945 Don't include trailing punctuation in autolinked typed text

Local changes:
* Add MW-specific trailing punctuation rules for autolinking

Change-Id: Iaa620142222f47e9fde2d03b935f38c24d38800b
2015-08-17 10:01:54 -07:00
James D. Forrester a002839271 Update VE core submodule to master (28c686e)
New changes:
b79a18c Cursoring: find adjacent position in DOM order
40dacd4 Allow more than one DataTransferHandler to match a given item
07af84c Localisation updates from https://translatewiki.net.
dd9fcbf Update OOjs UI to v0.12.4
28c686e Make URL schemes case-insensitive

Change-Id: If4a29f33e4dc3d8eb9732d0b06c5cf31f0bee113
2015-08-14 11:52:52 -07:00
James D. Forrester 1d6085b801 Update VE core submodule to master (e61ebf2)
New changes:
61d20a1 Hide on-screen keyboard when selecting nodes on all mobile platforms
e5aff79 Localisation updates from https://translatewiki.net.
a99a897 Update OOjs UI to v0.12.3
3c01a14 Make DM nodes sensibly hashable
a611eb9 Make ve.dm.example.postprocessAnnotations fluent
496c895 Update ve.dm.ElementLinearData#hasContent documentation
fcaa035 Support RegExp sequences; trigger sequence matcher after newline
edda1d4 Add a mechanism to wait until ve.init.platform has been created
e174155 Autolink URLs when typing
ac9248f Allow drag and drop of links (and subsequent autolinking)
c88fad6 Localisation updates from https://translatewiki.net.

Local changes:
* Define `ve.init.platform.getUnanchoredExternalLinkUrlProtocolsRegexp`.
* Make `ve.ui.MWLinkAction` extend `ve.ui.LinkAction`.
* Override `ve.ui.LinkAction.getLinkAnnotation` so auto-links use the proper
  `ve.ui.MWExternalLinkAnnotation` type.

Change-Id: I934f76158512e2e89b614ed92fef6481f70728e7
2015-08-12 14:31:06 -07:00
James D. Forrester 4054864b3f Update VE core submodule to master (d3d2293)
New changes:
8218ced Localisation updates from https://translatewiki.net.
c7f4587 Fix resizable node teardown
90869e0 Context: Store default button config in a static property
d9d747f MobileContext: Provide a delete button for nodes' context
9dadbfc MobileContext: Provide a fallback context item for alien nodes

Change-Id: If135c9309baf1af58e3c58fdec099e794bc08e64
2015-08-11 08:43:27 -07:00
Ed Sanders 92fc30db48 Update VE core submodule to master (da9d929)
New changes:
2464397 Move toolbar floating code up to the target
11bdc21 Separate SA target into Mobile and Desktop
7ab3389 AlignableContextItem: Fix styling in mobile
758619f CONTRIBUTING.md: Update file paths and build instructions

Local changes to mw.Target to handle toolbar floating.

Change-Id: I0751817e3a6668b120134bfcb6c611b121a46501
2015-08-10 12:33:14 -07:00
James D. Forrester 09fc1e299b Update VE core submodule to master (58912e1)
New changes:
a56746e Ensure demo init script runs last
ab6a1bd Context emits resize events
564701a Provide a context item for table cells in mobile
9f92a0f MobileWindowManager: Bring in styles from MW-Minerva

Change-Id: If0da9079bbab6f930979ed17be3b27cb0a5bea60
2015-08-10 08:47:53 -07:00
James D. Forrester 0481233112 Update VE core submodule to master (07288e0)
New changes:
552fec6 MobileContext: Use frameless buttons, fix vertical heights/alignments
ebb4d08 Emit blur/focus events from the surface model

Change-Id: I9227a8795378826f1cee6dc2d3ac562b9970b9e2
2015-08-07 10:50:35 -07:00
James D. Forrester 87b506cb24 Update VE core submodule to master (1360bca)
New changes:
3753f8b ve.ui.ToolbarDialog.css: Move Apex-specific hacks to Apex stylesheet
4650555 Localisation updates from https://translatewiki.net.
40f31a2 DebugBar: Re-style linmod dump hide button to left with '^' icon
5ff7c26 ve.ui.Surface: Teardown the view after window managers
03193a6 ve.ce.Surface: Provide #blur to pair with #focus
ab26ac6 Fixup I06813e3ff: Activate surface before blurring
4f2e832 Flag back/cancel actions so they can be restyled in mobile
a499a73 Localisation updates from https://translatewiki.net.

Change-Id: Iefdd8e7db47e6a53913c0a95a95559fe2c0a9dc2
2015-08-06 14:45:40 -07:00
James D. Forrester ffe075f21e Update VE core submodule to master (15e5545)
New changes:
87c538a PasteRules#plainText: Fallback if rules.external is undefined
7155191 Localisation updates from https://translatewiki.net.
c2d03ea ToolContextItem: Use the target's command registry
d196838 DataTransferHandler: Improve aborting and resolution/rejection
009190e Allow the target to specify a DataTransferHandler factory
0ea9439 Split out basic functionality of tableCell so other nodes can behave as cells
999a5da ve.ce.TableCellableNode: Only apply title to nodes which are cellable

Change-Id: I56a73a26f21a6e22b6bafc850cdee35397e5d15d
2015-08-04 10:51:35 -07:00
James D. Forrester d32c390523 Update VE core submodule to master (d9d4e33)
New changes:
288b060 Use frameless buttons in mobile process dialogs
b7deb26 Fix typo in TargetWidget.css
62c63d7 Localisation updates from https://translatewiki.net.
ac0c49a Remove duplicated commands for 'code' and 'strikethrough'
c4120fc Make setExcludeInsertions chainable, like all other SurfaceFragment methods
d2e86df Use super constructors in Desktop/MobileSurface
a1364f4 Have getLinearFragment call getFragment
842b322 Use overridable factory methods for creating surface model and view
8e729f7 Localisation updates from https://translatewiki.net.
479095c Make 'plainText' a paste rule, rather than a named parameter
744c633 Allow the target to specify command and sequence registries

Change-Id: Ie312412d5af350e7b1478393ad288bbe14a7a43a
2015-08-01 15:46:47 -07:00
Ed Sanders cf191f5fa8 Update VE core submodule to master (8feab4e)
New changes:
11953f7 Localisation updates from https://translatewiki.net.
0dbafb0 Update OOjs UI to v0.12.2
cbd0982 Replace placeholder color with opacity
087365c Support other types of 'empty' document placeholders
7692890 Make scrollIntoView a VE utility function
5a1a159 Localisation updates from https://translatewiki.net.
8edf71e [BREAKING CHANGE] Kill ve.indexOf and thus @until
bb02b02 build: Bump various devDependencies to latest
cb5b2cd Fix scrollIntoView util binding
8feab4e [BREAKING CHANGE] Use config object for Target constructors

Local changes:
* Use config object for Target constructors

Bonus:
* Add CSS classes to MW targets
* Use 'super' calls

Change-Id: Ieb4e4eb3663aab2706c0f3ecc8b82e00555df1d5
2015-07-30 08:28:48 -07:00
James D. Forrester b9149e35e3 Update VE core submodule to master (cb14f66)
New changes:
adaa490 Localisation updates from https://translatewiki.net.
3e9e89c Localisation updates from https://translatewiki.net.
e166731 Localisation updates from https://translatewiki.net.
cb14f66 ContextItem: Update documentation, code to show that model is optional

Change-Id: If6072bc1b72c9676d3c8a74b9ecba4c8aaf58f50
2015-07-28 10:27:25 -07:00
James D. Forrester a54e6f9f25 Update VE core submodule to master (a6dabf8)
New changes:
fd39645 Update model#isInspectable

Change-Id: Iaf8976aaa3d2049df75e6de18b7a0c721dd2b1fd
2015-07-24 12:02:18 -07:00
James D. Forrester 678b263266 Update VE core submodule to master (1834dd9)
New changes:
71c6553 Comment*: Use the same icon for the CE and UI renderings
34935a7 Strip data related attributes from paste context
8f5d2c3 Update OOjs to v1.1.8

Change-Id: I000a0973daf84ec9251791e934c7e047e6f1d77f
2015-07-23 17:24:40 -07:00
James D. Forrester cfac38683c Update VE core submodule to master (d6effdd)
New changes:
d6effdd Update OOjs UI to v0.12.1

Change-Id: Ic252316fecff032129c927798f5ffe2365ed3faa
2015-07-22 14:41:43 -07:00
James D. Forrester 05f4542f9f Update VE core submodule to master (aeaad4e)
New changes:
0889d17 Localisation updates from https://translatewiki.net.
17dbe2f Follow up I7ec81feb: Fix icon for AlignableContextItem
528223f Localisation updates from https://translatewiki.net.
c20938c Localisation updates from https://translatewiki.net.
aeaad4e Make ve.SelectionState#flip return an actual SelectionState

Change-Id: Ibc779743985a254cea02d28e50329e8fe26e6744
2015-07-21 13:09:11 -07:00
James D. Forrester 4365f6fc32 Update VE core submodule to master (8abd858)
New changes:
bf38d31 Provide a command whitelist feature for targets
d6ee41f Always prevent default on commands which trigger native CE behaviour

Change-Id: Ic3423e817765e96ff2b2458f4a8f49604259abc7
2015-07-18 18:18:58 -05:00
Ed Sanders bb46c34255 Update VE core submodule to master (edaa19b)
New changes:
aab2e90 Localisation updates from https://translatewiki.net.
826055a [BREAKING CHANGE] Rename SurfaceWidget to TargetWidget

Local changes:
* [PULL THROUGH] Rename MWSurfaceWidget to MWTargetWidget

Bug: T94066
Change-Id: If578e15c1ee7effd5ca1d6073521a6c59caac255
2015-07-18 17:19:05 -05:00
James D. Forrester 9b29549894 Update VE core submodule to master (67936f9)
New changes:
252b491 Move repeated code in FileTransferHandler
64e4748 Localisation updates from https://translatewiki.net.
e16c52f Localisation updates from https://translatewiki.net.
c6f3136 Localisation updates from https://translatewiki.net.
6117b29 Follow-up c6f31365: Fix build for added language 'dty'
3caaf55 Localisation updates from https://translatewiki.net.
67936f9 Follow-up 3caaf55d: Fix build for added language 'li'

Change-Id: I4e7e38f6fbd0085440d5fcdd8b20526e31a989be
2015-07-18 09:52:10 -05:00
James D. Forrester 96117c6775 Update VE core submodule to master (ac3e349)
New changes:
ac3e349 Update OOjs UI to v0.12.0

Change-Id: Idc79c6e45a5f758326fe694d5b7e68b0cbf89bb7
2015-07-14 11:31:05 -07:00
James D. Forrester 59a6c6b91a Update VE core submodule to master (032799c)
New changes:
e72ab31 Fix cursor wobble around chimeras
d8fde8f Localisation updates from https://translatewiki.net.
3f01020 Follow-up d8fde8f: Re-fix the build by adding the new 'la' language
43ad985 Localisation updates from https://translatewiki.net.
c0c4a56 Follow-up I8debce2c2: Fix build for added language 'hu-formal'
7276e5b demos: Fix horizontal scrolling bug

Change-Id: Iee3d71e32d8603cb2fba7227c19e552a879d24ea
2015-07-13 10:24:37 -07:00
James D. Forrester d5a8e3c5fc Update VE core submodule to master (80b68df)
New changes:
c8999f9 Localisation updates from https://translatewiki.net.
bdd56ca Fix padding in format dropdown
02ec278 Add checks to ve.ui.ContextItem#getFragment
5cb437d Localisation updates from https://translatewiki.net.
2a489d7 Make table editing less critically broken in Firefox 39

Change-Id: Icb27e9fa5d6b493c91d19d00ee49da18ef117a94
2015-07-10 10:59:32 -07:00
James D. Forrester 2461f37fdc Update VE core submodule to master (baa21a8)
New changes:
dc27315 ve.SelectionState: DOM selection snapshot
6cd7d91 Emit context change when any annotations change, not just covered.
d2c98d5 demos: Default to 'simple.html' instead of 'aliens.html'
3685d17 Emit change when selection changes from collapsed to not
baa21a8 Update OOjs UI to v0.11.8

Change-Id: I8a1032263f84fc2bf3aa1495229ffab8f50589d6
2015-07-09 17:04:27 +00:00
James D. Forrester 4af8e9e159 Update VE core submodule to master (e628ef0)
New changes:
950d65b Update UnicodeJS to v0.1.5
139eab2 Localisation updates from https://translatewiki.net.
801eb2d Localisation updates from https://translatewiki.net.
f002650 Localisation updates from https://translatewiki.net.
0ca48d8 Update jQuery.i18n to v1.0.3
651465a Follow-up 0ca48d8: Actually load jquery.i18n.emitter.bidi.js too
e1505f8 Localisation updates from https://translatewiki.net.
1b929e6 EventSequencer: fixes and unit tests

Change-Id: I82f420bb694c4a0d10f4a61ac07b7d0bb05ed547
2015-07-06 17:55:25 -07:00
James D. Forrester e0d88aa5a6 Update VE core submodule to master (973e23d)
New changes:
39c719b Localisation updates from https://translatewiki.net.
e71f347 Unbreak i18n after new language added
73214b2 Cope with derived method call from base constructor
f107b9b IME tests: Add Ubuntu IBus Japanese Mozc
973e23d Update OOjs UI to v0.11.7

Change-Id: Ic24f837599bde707fff686ed78333eebe1ba4f97
2015-07-02 08:09:37 -07:00
James D. Forrester f19261f663 Update VE core submodule to master (c23e446)
New changes:
9844c99 Synchronize toolbar buttons state with state of their opened windows

Change-Id: I2f24fc41ca03ab553ef629ab92ad0f1ca0d43382
2015-06-29 16:24:59 -07:00
James D. Forrester 59199de1c4 Update VE core submodule to master (5268def)
New changes:
49f66aa Localisation updates from https://translatewiki.net.
ff1250e Update jQuery Client to v2.0.0
9186ae4 Revert "Update jQuery Client to v2.0.0"
0886bf1 Localisation updates from https://translatewiki.net.
1908c66 Follow-up 0886bf1: Re-fix the build by adding the new 'cjy-hant' language
cc6e96a EventLogger: fix output duplication and add jshint format flag
1194b70 IME tests: Make compliant with our code style
fe4a7ae IME tests: Add OS X native Japanese Hiragana & Katakana
325c743 Localisation updates from https://translatewiki.net.
05788b1 Update paste target selection hack to use focusedNode text when possible
7b43b34 Set default context cursor to 'default'
5c5a80f Add #hasContent method to ElementLinearData
6625cd3 Add placeholder functionality to the surface

Local changes:
* Add new IME tests to the hooks file

Change-Id: I132ad2627c6d54236848812c404731c5c9d4183a
2015-06-29 14:42:41 -07:00
James D. Forrester a8629c0008 Update VE core submodule to master (b4dcdf8)
New changes:
a9bcaad Localisation updates from https://translatewiki.net.
1fc7638 Follow-up a9bcaad: Re-fix the build by adding the new 'luz' language
2b34805 Localisation updates from https://translatewiki.net.
b4dcdf8 Update OOjs UI to v0.11.6

Change-Id: Ibdff2d103b2795948cfa2f45a374b70620c71f93
2015-06-24 11:19:04 -07:00
James D. Forrester 0cea3084a6 Update VE core submodule to master (7b7b3d8)
New changes:
08f9fe5 Update OOjs UI to v0.11.5
7b7b3d8 Localisation updates from https://translatewiki.net.

Change-Id: I4cff595e24d29b0552848cd5fdc0ecb8b7d13fab
2015-06-23 15:26:34 +00:00
James D. Forrester 3f60c4f1a5 Update VE core submodule to master (2e03ab7)
New changes:
2e03ab7 Check if newRange is not null

Change-Id: I1630a3a5775f9d50b490f24a5455cd9aebb980ed
2015-06-16 08:45:10 -07:00
James D. Forrester 3fe71f63ce Update VE core submodule to master (259f8b2)
New changes:
05c0293 Allow DM-identical range changes to cause a rerender
409fb99 build: Add explicit dependency upon grunt-cli
f1fd489 build: Update grunt-banana-checker to 0.2.2
1441659 Language annotation fixes
395d402 Localisation updates from https://translatewiki.net.
b3582c4 demos: Fix fatal "Debounce undefined" error in eventLogger.html
a6b8aea build: Configure jsonlint
8c92404 Follow-up 8dc8b266761d: if whitespace stripping empties an annotation node, drop it

Change-Id: Icd9b31b51c2c5f043967257a218afff4886302ca
2015-06-15 16:33:26 -07:00
James D. Forrester df79ed8c4b Update VE core submodule to master (5befc34)
New changes:
3368c4c Remove some assumptions about the state of the context
79918af Move contexts to subfolder
820eaec Tests for some drag/drop functionality
e5f0e3e Convert CE surface tests to use a mock UI surface
c81dbcf Localisation updates from https://translatewiki.net.
7561ff3 Create a mock UI surface that only contains a model for model-only action tests
ad60333 Convert test timings on APIResultsQueue from seconds to milliseconds
b52d7df Table cursoring tests
3f8e821 Localisation updates from https://translatewiki.net.
9c737df Update OOjs UI to v0.11.4
5befc34 Stop using deprecated aliases for OO.ui.mixin.*

Change-Id: Ida6d4ba724686d8189975c55a18c4a6c2cfe4875
2015-06-10 12:44:55 -07:00
James D. Forrester 91187d5a8d Update VE core submodule to master (f821c6e)
New changes:
1518f13 Fixing the behaviour of resizable images so that redlinked images, inline and block, can be represented properly
a325247 Insertions: heed cursor position relative to annotations
b43b746 FindAndReplaceDialog tests
afc3e08 At empty matches, don't assume lastIndex is unchanged
44593ae Localisation updates from https://translatewiki.net.
ee41fca Localisation updates from https://translatewiki.net.
042645b Localisation updates from https://translatewiki.net.
f821c6e Fix 'open' button on link inspector

Change-Id: Ia09d7fe754c3e0bca6b441ad2ea88644e275ea6b
2015-06-08 08:28:52 -07:00
James D. Forrester 2d6c87c97b Update VE core submodule to master (795550c)
New changes:
e3eea5d Allow right click copy on focusable nodes
ec74440 Remove registry test hacks now that MW is fixed
ed4b38d Localisation updates from https://translatewiki.net.
712bcbd Add tests for methods converting click targets to table selections
5d318e0 demo: Show 'Back to editor' button in read mode correctly
b30dcf6 demo: Tweak toolbar positioning in read mode
ae50c8d demo: Avoid exception when switching modes if surface is destroyed
9e2dac0 Localisation updates from https://translatewiki.net.
4c33460 Test for DSVFileTransferHandler
a1860c6 Prune old unused property
45e69c7 Rename variables to clarify state snapshot timing
e65f921 Localisation updates from https://translatewiki.net.
1440dc0 build: Update to full jscs preset
795550c build: Provide a `grunt fix` task to auto-fix jscs failures

Change-Id: I212fd233412cf2c48d125d2a870cd6868c427c80
2015-06-03 17:01:47 -07:00
Ed Sanders e9384ad9ac Update VE core submodule to master (83d45d1)
New changes:
9d162ce Restore the selection to a sensible place when closing FindAndReplace
57229ac Only apply annotations if 'done' is clicked
bfb17ee Always show cancel button on annotation inspectors
91672cf Disable 'done'/'insert' button when input invalid
aef9cbd Only create annotations from text input if it is valid
a384b96 [BREAKING CHANGE] Make getTextFromAnnotation/getAnnotationFromText static
fa09ab7 Scroll table selection into view when it changes

Local changes:
Make getTextFromAnnotation/getAnnotationFromText static

Change-Id: Id3c2a1efb1f327fa6d5b93d57d90bb5bb8ee88f8
2015-06-02 00:47:13 +00:00
James D. Forrester b5279e4b8a Update VE core submodule to master (6c72553)
New changes:
174e531 Don't show debug CBN highlight in test mode
99fc6bd Localisation updates from https://translatewiki.net.
6fe6690 Localisation updates from https://translatewiki.net.
e313cb4 Localisation updates from https://translatewiki.net.
27c7585 Separate out demo class and init
36abfac Localisation updates from https://translatewiki.net.
bf16b0b Follow-up 36abfac0: Re-fix the build by adding the new 'sa' language
444ad03 ve.utils: Use getWindow in ve.selectElement
1dd52e4 Localisation updates from https://translatewiki.net.
fd3c9d0 Localisation updates from https://translatewiki.net.
e2667ba Localisation updates from https://translatewiki.net.
b657297 Localisation updates from https://translatewiki.net.
d777c41 Localisation updates from https://translatewiki.net.
61b7a8d Fix built resources, broken by l10n bot again.
7b128bd Localisation updates from https://translatewiki.net.
6c72553 mailmap: Add an additional e-mail for Bartosz per request

Change-Id: Id09bed013d29df9f0f23dfcaff980d440fdae7dd
2015-05-31 13:34:48 -07:00