Mention default encoding for QML WebView loadHtml method in docs.

The fact that the html string will be implicitly converted to UTF-16
led to some errors with loaded resources.

Task-number: QTBUG-36656
Change-Id: I6ed36e2e814034cfccb4082c24e3327674e04cdf
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Fix loading nested mpegurls using GStreamer

If gstreamer tries to load an http source, we currently lose the context
of where it is loaded from, which causes the load to fail.

This patch caches a loading context when one is set on the outer most
appsrc, and uses that for gstreamer requests until the outer most source
is unloaded.

This can have consequences if multiple webviews are open at the same
time with different QNetworkAccessManagers, but this is considered
unusual, and wouldn't work with the QtMultimedia either.

Task-number: QTBUG-37636
Change-Id: I9d3b4d10705254629bc5fce7d76765077585caa2
Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Fix crash on access of dead QMimeData

When we give a QMimeData to the system pasteboard, we should no longer
access it locally.

This patch ensures we invalidate the pointer to the QMimeDate once it
has been uploaded to the system clipboard. To ensure we can still read
values we have writen, the code to read the pasteboard data will now
read it from the system pasteboard when applicable. Several places
the latter was done manually have been removed.

Task-number: QTBUG-37904
Change-Id: I9c37b2fcc58ebbc387319be39c190fd7db6f70eb
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Set image drag hotspot from drag image origin.

QtWebKit does not currently set the drag image origin, this cause
any dragged image to always visibly jump as soon as the drag start.

By setting the hotspot any dragged image will start at its origin and
only move when then the mouse moves.

Change-Id: I6cdfa1bdbcf79a63f26fc62442978f65aabd493b
Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: If269e1ff5b01c01e4168f5ef43e7346253cc837b