Reapply mouse event handling in QQuickWebViewFlickablePrivate.

This reapplies commit 0b789c6a785d5ef45c3f6f2fc0f8694772b3d392,
which had been in Qt 5.0.x and 5.1.x, but was not upstreamed
and hence overwritten when importing the new snapshot.

This basically reverts http://trac.webkit.org/changeset/136119.

Task-number: QTBUG-35097
Change-Id: I3e02c3feeb5193c0c06b7525469e208de1d6cafc
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Check also for mingw-g++-xxx specs

Some packagers/distributions have individual mingw-g++ mkspecs, e.g. for
cross-compiling.

Change-Id: I5deb2d543934b16c4df63cd8ec240e6ec9b64d9b
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: Id10708a0114ed30b712426b9e78168d288691b2e
Fix custom builds with indexeddb enabled

Our build-system needs a few updates to make indexeddb enablable again.

This patch does not provide any API for indexeddb or enable indexeddb
itself. It only updates the build system for default disabled feature.

Change-Id: I1ca61bda0913f698bbdf716d286a50051dbe1a99
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Ensure that cursor rectangle is always valid.

The cursor rectangle is given an invalid size when the user clicks on
an input field; the reported size is 0 pixel wide.
The cursor is then converted to a QRect, which is invalid if rectangle
width is 0.
This can interefere with input methods that check for cursorRect
validity before reporting a cursorRect change.

Make sure that a cursor rectangle with at least one valid dimension
becomes a valid QRect.

Task-number: QTBUG-35996

Change-Id: I4026f1136cfb006efc5d7915f0f10c1b5187c730
Signed-off-by: Luca Ottaviano <lottaviano@develer.com>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Enable download attribute

The download attribute enables HTML links to indicate they should
default to downloading and suggest a filename.

Change-Id: I06e41fd9532c14657a1694c1ce69680814fd9d07
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Bump MODULE_VERSION to 5.2.2

Change-Id: Ic00000a7fe9f261301096ac25aade719f2656201
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Enable HTML5 video track support

This patch enables support for the HTML5 video track standard
which defines subtitles and captions for HTML5 video.

The HTML5 video controls will now have a popup button when
captions are available that allows the user to select the
preferred caption or turn them off.

Change-Id: Id5b837d1a7b536935cd5038812594b11c48c3480
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Make indexed database follow Qt web settings if enabled

Forwards the websettings for offline database storage which so far
has been used for web SQL database to indexed database.

Note that this does not add new API and does not make it possible to
control web sql database and indexed database separately.

The patch also adds a config test for leveldb which indexed db requires.

Change-Id: I8808356c9910848c43c5f47e6279a1c632f17ad1
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Merge remote-tracking branch 'origin/stable' into dev

Conflicts:
	.qmake.conf

Change-Id: I8721e8abb6b795242b5304ec28cf7cda56bfbce9