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>
Fix compilation: missing typedef for uint32_t

status.cc:12:3: error: ‘uint32_t’ was not declared in this scope

Change-Id: Id6ea656937f8db39976603a504bcdd0c7559e488
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Fix warnings found by the headerclean test

Extra semi-colons at the end of lines, arguments shadowing members, etc.

Change-Id: I8163ed42da31b6a5bb37a56d8cf4c7b2e32139d3
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Fix wrong VK keycodes

The two paren keycodes were reversed and the exclam key was not mapped

Task-number: QTBUG-38031
Change-Id: I5614ed85a4c99792ca684bc4f1188631ccaa45d3
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
icc does not have option -Wno-c++0x-compat

It keeps printing while compiling QtWebKit:
icpc: command line warning #10006: ignoring unknown option '-Wno-c++0x-compat'

Change-Id: I63d1ec2c5bcdfda373f75a66e70daa95fb48d906
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
[mips] Fix or32 implementation in macro assembler.

This patch fixes JavaScript issues for the mips backend, especially
in the DFG stage when using (x|0) expressions.

Change-Id: I4c7c7280735481dc06ca24745d2e42b2d8e13ef5
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>