Do not force SSE2 instructions on i386 builds

To have consistent rendering between x86 and x64 builds QtWebKit enables
SSE2 math on x86. This however raises the minimum requirements of the x86
binaries and should be disabled in Qt builds.

Change-Id: If57ff0a3c9cd0a91a508ba02fda8b596381262a8
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Doc: Update WebView code sample on Qt WebKit landing page

Replace obsolete 'Page' QML type used in the sample code
with 'ScrollView' from Qt Quick Controls.

Task-number: QTBUG-35154
Change-Id: I0a16a6158be028bf8a7975240411841c4e8200ef
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Handle PlatformPageClient not being set in Windows PluginView.

The helper contentsToNativeWindow assumed that the PlatformPageClient
would always be set, which caused problems with plugin content in head-
less client applications such as CutyCapt.

Task-number: QTBUG-35224
Change-Id: Iadce5fb62bd45dd0d1b15e0d7918cfbbff1b3fae
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Apply size constraints for direct compositing also to background images.

The fact that this was not done before led to a failed WebKit assertion
in the UIProcess which caused any WebView application loading pages
with large background images (e.g. flickr.com) to crash on Windows.

Task-number: QTBUG-35208
Change-Id: Ieae76e19fc08483cbd038a7c14e06b4bd12dd681
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Fix scroll-bar behavior in RTL layout

Default to application layout direction when no widget is given,
and reverse meaning of position for horizontal RTL scrollbars.

Task-numer: QTBUG-28256
Change-Id: I09c49f5d104fd0b9a6b4b1cda5c754712fc26087
Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Revert "[EFL][WK2] Never create WebCore scrollbars for EFL/WK2"

This reverts commit 373d3d52252ea44fdd5d17635459d18d3d4b3e94.

Allow FrameViews to have hidden Scrollbars. This fixes key event scrolling
in fixed layout mode.

Task-number: QTBUG-34203
Change-Id: Idf157d51e01ba4d831e62d1e24f7283030c8e177
Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Merge remote-tracking branch 'origin/release' into stable

Change-Id: Ia8a8683d649f27498c77f5b1932dcf1aef46bb04
Merge "Merge remote-tracking branch 'origin/release' into stable" into refs/staging/stable
Do not try to build QtWebKit as a static library

QtWebKit is too large to be linked as a static library on most platforms,
since static libraries are typically limited to 4Gbyte even on 64bit
tool chains (http://sourceware.org/bugzilla/show_bug.cgi?id=14625).
The GNU ar thin archives do not have that limitation however.

Task-number: QTBUG-32309
Change-Id: Ia290ecb6f54fc0a0482f17c6d9dc2ad0c810b3b3
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Do not completely erase LIBS variable

Using an empty LIBS variable prevents usage of custom library paths
and libraries via configure -L <path> -l <extra_lib>.
This is needed for linking with an alternative stdlib implementation.

Change-Id: Ie1009bfd435436bf584b2963066535ee90f4d5d0
Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Fix QtWebKit build on ARM softfp

The low level interpreter depends on hardfp, so we need to disable it
when builing on ARM targets with softfp.

Task-number: QTBUG-35681
Change-Id: I8aaef546b92182a87cc7116ac452d8725de6a7db
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
[texmap] Borders on rotating images are hidden/wrongly rendered with edge distance antialiasing

https://bugs.webkit.org/show_bug.cgi?id=124653

Reviewed by Noam Rosenthal.

Texture mapper edge distance antialiasing texture sampling was causing
borders to be shaded (and made them almost disappear in some cases).
This was because calculation of sampling happened on vertex shader, so
the border of the texture would go to the border of the inflation area.

What algorithm should do is sampling the border pixel for all the
inflation area (it is the closest pixel to all the samples in
inflation area), and then use the standard sampling for the other
parts of the texture.

No new test because this is already covered by test
transforms/3d/point-mapping/3d-point-mapping.html

* platform/graphics/texmap/TextureMapperShaderProgram.cpp: fix edge
distance antialiasing texture sampling.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160096 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Task-number: QTBUG-34975
Change-Id: I77654e806d6b198680cb2e6c0dbc1a6adb295222
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>