Enable more AllInOne files

Modified DOMAllInOne to work on Windows (without libXML2) and enabled
CSSAllInOne which already worked.

This should lower memory pressure when linking on Windows x86.

Change-Id: I621814f44cc8e0aad4cf822d5f0d52c53a6557e2
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
[Qt] SHOULD NEVER BE REACHED is touched WebCore::InputType::createStepRange

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

Non-steppable input types must not rendered as slider even if its webkit-apperance style
property is set to slider-vertical/horizontal.

Test: platform/qt/fast/forms/range/slider-crash-on-input.html

* platform/qt/RenderThemeQStyle.cpp:
(WebCore::RenderThemeQStyle::paintSliderTrack):

Change-Id: I8428f62d4b0ec92f8cec0ecd0304feda5c1dc13a
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155651 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Remove unused WebKit2QML library

This library was introduced after Qt 5.1 as a transition to only using
WebKit2's C API. The transition was never completed and the WebKit2QML
library currently only contains one file and serves no purpose.

Change-Id: Iaa2cc0db5504c957065952b693fc68c8fcb84176
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Enable more AllInOne files

Fix MediaAllInOne and JSBindingsAllInOne by removing the sources from
them that breaks the rest of the sources.

This should further reduce memory consumption when linking on Windows.

Change-Id: I44e8f134c70b7610947d59b1b51b84ad53241d94
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Improve backtraces on linux 64bit

On linux builds we force most debug symbols off in the WTF, JavaScriptCore
and WebCore submodules of QtWebKit. We do this to make linking possible
on 32bit but results in very poor backtraces from our users.

Since this is only needed on 32bit, we should disable it on 64bit.

Change-Id: I5009bb254471dc2213569b0cd011f283d6edfb95
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Fix build with GStreamer on non-linux X11 platforms

We detect GStreamer based on pkgconfig, this means it is not limited
to linux only, and we need to enable the same features everywhere it
is enabled.

Change-Id: I1b863c663e24f157c3f2d88548dc8c674dd63867
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
REGRESSION (r149928): CanvasStyle::operator= leaks everything

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

Reviewed by Andreas Kling.

* html/canvas/CanvasStyle.cpp: (WebCore::CanvasStyle::operator=): Don't leak.

Change-Id: I422e07ff97b04c3cd57fdfc437ae12b56ddfedf7
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156099 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Define use_glib in features.prf

When we use GStreamer we need to define USE(GLIB), we currently do this
separately in WTF and WebCore. This should instead be done centrally to
make the it consistent.

Change-Id: I079dbeaf99b091ea2ecd093bfef1428d963f8300
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Missing QWebSettings

We have enabled the Canvas Path Object as compile-time feature, but
being disabled by default we give the user no way of using it.

CSS Grid layout is also disabled by default, but is already exposed but
not documented.

Change-Id: Ie7a7ac4c2ad24978ed83996ac37327acb2870fe0
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Fix undefined reference linker errors with MinGW

Make sure the inline methods are defined whereever referenced. This fixes
'undefined reference' errors when linking with MinGW-builds 4.8.2 32 bit
posix dwarf rev2.

Task-number: QTBUG-34083
Change-Id: Iadc7300634780741be9d97bc889290cd113181e1
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
32-bit code gen for TypeOf doesn't properly update the AbstractInterpreter state

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

Reviewed by Geoffrey Garen.

It uses a speculationCheck where it should be using a DFG_TYPE_CHECK like the 64-bit backend does.
This was causing crashes on maps.google.com in 32-bit debug builds.

* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):

Change-Id: Icdcfe0719d22df7db6dc7ffcee309b75b63914df
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153793 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Revert r152209

Revert another fixup patch for one of the commits we reverted in our branch.

Change-Id: I423969481d398df7f334ba4fbf2f2e466ff418fb
Reviewed-by: Julien Brianceau <jbriance@cisco.com>
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
SVG stroke-dasharray not working

When creating the QPainterPathStroker we forget to also copy the dashPattern property.

Task-number: QTBUG-34063
Change-Id: Idb4d124447e2727c418c8ca5e1de694245f6ba22
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
[arm] Inverted src and dest FP registers in DFG speculative JIT when using hardfp.

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

Patch by Julien Brianceau <jbriance@cisco.com> on 2013-10-09
Reviewed by Michael Saboff.

* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::appendCallWithExceptionCheckSetResult):
(JSC::DFG::SpeculativeJIT::appendCallSetResult):

Change-Id: Ib633513948031702efd5ca0d4b89920e99979755
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157173 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
[sh4] Jump over maxJumpReplacementSize in revertJumpToMove.

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

Patch by Julien Brianceau <jbriance@cisco.com> on 2013-10-07
Reviewed by Oliver Hunt.

Jump over maxJumpReplacementSize in revertJumpToMove, even if there is no constant
value within the area. This patch fixes debug ASSERTs failures for sh4 architecture.

* assembler/SH4Assembler.h:
(JSC::SH4Assembler::revertJumpToMove):

Change-Id: Ice297393b167eace620ace8d8957014f0b3945c8
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157046 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Build improvements

Do not try to compile headers files, this fails on some systems.

Disable C++11 compat warnings on non-linux unix based systems.

Change-Id: I02457db61a61068261d2717eee74f58bdf496f58
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Update configure warnings

The configure warnings issued by Qt WebKit are slightly outdated. This
updates then to be more accurate to what caused the failure and where
it can be fixes.

Change-Id: Iec41c20c86787dd95c8cb209604747587e7931bc
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Use global Qt configuration for libudev

Only build WebKit with libudev dependency if Qt was configured with libudev.

Task-number: QTBUG-34176
Change-Id: Iaabb2401e2dc4a91d46a5e4f759546e0de278a08
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Fix build for boot2qt eAndroid

Reverts the removal of Android support in WTF, and brings the support
up to date.

Merged change to MacroAssemblerARM.cpp from QtScript.

Replaces use of statvfs with statfs in one place.

Replaces shm-based shared memory with ashmem-based in WebKit2.

Change-Id: I440b1fbd94bb4148f7ba764d77de65230d13ed90
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Fix NULL de-refernce in HTMLAnchorElement::sendPings when settings doesn't exist

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

Reviewed by Darin Adler.

Merge https://chromium.googlesource.com/chromium/blink/+/d5783da353ab783e9994b8fbecd91880be5192a1

No new tests since the test in the Blink change doesn't reproduce crash on WebKit.

* html/HTMLAnchorElement.cpp:
(WebCore::HTMLAnchorElement::sendPings):

Change-Id: I3776e3d96013e9f71adfa9942c941040326c6b73
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153975 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>