Webkit: Avoid null pointer dereference when canceling resource loading
In some cases ResourceLoader::didCancel may run after the load has
already completed which results in a null pointer dereference. If the
load has already completed - do nothing.
This is a partial backport of r86720 in WebKit upstream.
Task-number: QTBUG-30081
Change-Id: I1e41594f6d7a81ec6c3d97367391b722918abae2
Signed-off-by: Simon Hausmann <simon.hausmann@digia.com>

2012-11-28 Zeno Albisser <zeno@webkit.org>
[Qt][Win] Enable usage of QTWEBKIT_PLUGIN_PATH.
https://bugs.webkit.org/show_bug.cgi?id=103529
This patch enables the same behavior for Windows
as it is currently implemented for all other operating
systems supported by Qt.
Directories listed in the environment variable
QTWEBKIT_PLUGIN_PATH are being searched for additional
plugins.
The only difference is that directories on Windows
need to be separated by a semicolon instead of a colon.
Reviewed by Kenneth Rohde Christiansen.
* plugins/win/PluginDatabaseWin.cpp:
(WebCore):
(WebCore::addQtWebKitPluginPath):
(WebCore::PluginDatabase::defaultPluginDirectories):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136017 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Add a Mountain Lion version of libWebKitSystemInterface.a.2012-07-11T18:49:33ZMark Rowemrowe@apple.comSimon Hausmannsimon.hausmann@nokia.com2012-07-11T18:49:33Zhttps://gitorious.org/webkit/qtwebkit/commit/a5841ca?p=webkit:qtwebkit.git;a=commitdiff;h=ac2ff5c0ea7da4100314ad3c0a81e8182f68f07e

Fix build on linux-i386 where gcc would produce warnings
It is the intention to _not_ use -Werror for production builds. Unfortunately
the qmake expression had an error that made the -Werror suppression only work
on x86-64 but not on i386. A surrounding if() as suggested by Ossi fixes this.
In trunk this is already fixed differently by the use of an extra scope.
Task: QTBUG-23987

Bumped the QtWebKit version to 2.2.32012-06-11T08:52:20ZSimon Hausmannsimon.hausmann@nokia.comSimon Hausmannsimon.hausmann@nokia.com2012-06-11T08:52:20Zhttps://gitorious.org/webkit/qtwebkit/commit/a5841ca?p=webkit:qtwebkit.git;a=commitdiff;h=2dea2a19feedc165596b933fe9509ddd0caf4d15

JSString::resolveRope() should report extra memory cost to the heap.
At the time a JSString is constructed with fibers, it doesn't report
extra memory cost, which is reasonable because it hasn't allocate
new memory. However when the rope is resolved, it should report memory
cost for the new buffer.
Backport patch by Yong Li
Reviewed by Michael Saboff.
http://trac.webkit.org/changeset/109105
Signed-off-by: Simon Hausmann <simon.hausmann@nokia.com>

Implement OSAllocator::commit/decommit in the correct way for QNX2012-04-24T02:49:44ZNicolas Arnaud-Cormosnicolas.arnaud-cormos.qnx@kdab.comSimon Hausmannsimon.hausmann@nokia.com2012-04-24T02:49:44Zhttps://gitorious.org/webkit/qtwebkit/commit/a5841ca?p=webkit:qtwebkit.git;a=commitdiff;h=a8dc09e51a202b4530a55d86562a6f413d3dd6ac

Implement OSAllocator::commit/decommit in the correct way for QNX
https://bugs.webkit.org/show_bug.cgi?id=77013
We should use mmap(PROT_NONE, MAP_LAZY) instead of posix_madvise() to
implement memory decommitting for QNX.
Backport Patch by Yong Li
Reviewed by Rob Buis.
http://trac.webkit.org/changeset/111234
Signed-off-by: Simon Hausmann <simon.hausmann@nokia.com>

Qt: Doc: Fix typo which marks document to be printed in console font.
https://bugs.webkit.org/show_bug.cgi?id=82893
Patch by Casper van Donderen <casper.vandonderen@nokia.com> on 2012-04-02
Reviewed by Simon Hausmann.
The qtwebkit-bridge.qdoc file contained a typo where a \c {} was
missing its closing curly bracket, this marked the rest of the page as
text to be printed using the code/console font.
* docs/qtwebkit-bridge.qdoc:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112872 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Fix the PRI macros used in WTF::String formatters to be compatible with Qt and Visual... 2012-02-23T18:46:32Zhausmann@webkit.orghausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfcSimon Hausmannsimon.hausmann@nokia.com2012-02-23T18:46:32Zhttps://gitorious.org/webkit/qtwebkit/commit/a5841ca?p=webkit:qtwebkit.git;a=commitdiff;h=c0107296d95cf4f2e988513db42572976ff7d55e

Fix the PRI macros used in WTF::String formatters to be compatible with Qt and Visual Studio 2005 and newer.
https://bugs.webkit.org/show_bug.cgi?id=76210
Add compile time check for Visual Studio 2005 or newer.
Patch by Aron Rosenberg <arosenberg@logitech.com> on 2012-02-23
Reviewed by Simon Hausmann.
* os-win32/inttypes.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108641 268f45cc-cd09-0410-ab3c-d52691b4dbfc