Package: qtwebkit-opensource-src / 5.3.2+dfsg-4

Metadata

Package Version Patches format
qtwebkit-opensource-src 5.3.2+dfsg-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
do_not_use_jit_on_big_endian_machines.patch | (download)

Source/WTF/wtf/Platform.h | 8 8 + 0 - 0 !
1 file changed, 8 insertions(+)

 [patch] do not use jit on big endian architectures

All the JIT implementations targets the little-endian versions of ARM,
MIPS and SH4 respectively. So in case anyone builds on those platforms
we should not enable JIT.

Task-number: QTBUG-41896
fix_cloop_on_big_endian_machines.patch | (download)

Source/JavaScriptCore/llint/LowLevelInterpreter.asm | 25 15 + 10 - 0 !
Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm | 2 1 + 1 - 0 !
2 files changed, 16 insertions(+), 11 deletions(-)

 [patch] fix cloop on big-endian machines

Callee and ScopeChain are JSObject pointers and saved in the 64bit
structure for JS registers. On a 32bit big-endian machine the actual
pointer is offset by the PayloadOffset of 4 bytes, but on little-endian
and 64bit architectures there is no offset.

This patch fixes four places the payloadOffset was not correctly added
on 32bit big-endian, and six places it was added on 64big big-endian
when it shouldn't.

Task-number: QTBUG-41896
fix_crash_when_a_network_request_is_aborted_while_forwarding_data.patch | (download)

Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 [patch] fix crash when a network-request is aborted while forwarding
 data

Since we forward data block-wise a network request may be aborted while
we are still forwarding received data. In that case we should stop the
forwarding.

Task-number: QTBUG-41877
blacklist_libkpartsplugin.patch | (download)

Source/WebCore/plugins/qt/PluginPackageQt.cpp | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 [patch] blacklist libkpartsplugin

KPartsPlugin is built using qt4, and loading that into a Qt5 QtWebkit
makes stuff crash.

webpageicons_db_privacy.patch | (download)

Source/WebCore/loader/icon/IconController.cpp | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 fix urls visited during private browsing showing up in
 WebpageIcons.db.

Ported from http://trac.webkit.org/changeset/181565 by beidson@apple.com.

Upstream patch by Sam Weinig, reviewed by Brady Eidson.

* loader/icon/IconController.cpp:

(WebCore::IconController::startLoader): Bail early here if the page is using an ephemeral session.
(WebCore::IconController::continueLoadWithDecision): Instead of here.

reduce_memory_usage.patch | (download)

Tools/qmake/mkspecs/features/unix/default_post.prf | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 force ld to not cache symbols tables.
 This patch, wich should be considered Debian-only (in other words, it should
 not be pushed upstream), forces ld to not cache the symbol tables of input
 files in memory to avoid memory exhaustion during the linking phase.
 .
 This might make linking slower but reducing the overall memory consumption.
05_sparc_unaligned_access.diff | (download)

Source/WTF/wtf/ListHashSet.h | 9 3 + 6 - 0 !
1 file changed, 3 insertions(+), 6 deletions(-)

 fix some alignment problems on sparc.
no_gc_sections.diff | (download)

Source/WebCore/WebCore.pri | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 do not pass -wl,--gc-sections on powerpc, s390, arm*, mips*, ix86 when building
             libQtWebKit.so; works around a binutils bug that results in a
             segfault on powerpc, internal link error on s390 and OOM on armel/mipsel.
hurd.diff | (download)

Source/WTF/wtf/FastMalloc.cpp | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 fix (workaround) build on gnu/hurd
 Apparently PTHREAD_MUTEX_NORMAL and PTHREAD_MUTEX_DEFAULT cannot be used
 in preprocessor expressions, so temporarly use directly the code which would
 be used on GNU/Hurd.
webkit_qt_hide_symbols.diff | (download)

Source/QtWebKit.pro | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 make hide_symbols to cover all qtwebkit portions
fix_nonlinux_glibc_linkage.diff | (download)

Source/WebKit2/WebKit2.pri | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 ensures we link with rt on all the platforms where we 
have glibc. Not yet upstreamed. Requires a upstreamming of the gnukfreebsd patch
check_html_unknown_elements.diff | (download)

Source/WebCore/dom/make_names.pl | 9 5 + 4 - 0 !
Source/WebCore/html/HTMLAudioElement.h | 11 8 + 3 - 0 !
Source/WebCore/html/HTMLMediaElement.cpp | 7 7 + 0 - 0 !
3 files changed, 20 insertions(+), 7 deletions(-)

 need to check if some html child elements are htmlunknownelement
 Based on upstream fix http://trac.webkit.org/changeset/156953
 .
 The check for whether an element is an HTMLAudioElement or not was
 incomplete. An element can have the 'audio' tag-name but still be
 another element if media elements have been disabled. In this
 case it will be an HTMLUnknownElement.