summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-07-06 05:46:31 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-07-06 05:46:31 (GMT)
commit49dccb31d1e31c4d538f65c62e20268fc2496a6e (patch)
treea6c930fc8e0056a505475ab24be5233ee8ca859a /src/3rdparty
parentc9d487b6ed3ac9bb666c2a1fe08252f3c6dcb455 (diff)
parent7369eaf32dd45b6fb4e72c34bee2c9a44c62a5b4 (diff)
downloadQt-49dccb31d1e31c4d538f65c62e20268fc2496a6e.zip
Qt-49dccb31d1e31c4d538f65c62e20268fc2496a6e.tar.gz
Qt-49dccb31d1e31c4d538f65c62e20268fc2496a6e.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Conflicts: doc/src/declarative/extending.qdoc
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/libjpeg.pri48
-rw-r--r--src/3rdparty/libmng.pri25
-rw-r--r--src/3rdparty/libpng.pri20
-rw-r--r--src/3rdparty/libtiff.pri43
-rw-r--r--src/3rdparty/webkit/.tag2
-rw-r--r--src/3rdparty/webkit/VERSION2
-rw-r--r--src/3rdparty/webkit/WebCore/ChangeLog13
-rw-r--r--src/3rdparty/webkit/WebCore/platform/network/qt/ResourceHandleQt.cpp4
-rw-r--r--src/3rdparty/webkit/WebCore/platform/qt/QWebPageClient.h2
-rw-r--r--src/3rdparty/webkit/WebKit/qt/Api/qgraphicswebview.cpp2
-rw-r--r--src/3rdparty/webkit/WebKit/qt/Api/qwebpage.cpp4
-rw-r--r--src/3rdparty/webkit/WebKit/qt/ChangeLog17
-rw-r--r--src/3rdparty/webkit/WebKit/qt/WebCoreSupport/ChromeClientQt.cpp6
-rw-r--r--src/3rdparty/webkit/WebKit/qt/declarative/declarative.pro1
-rw-r--r--src/3rdparty/zlib.pri14
-rw-r--r--src/3rdparty/zlib_dependency.pri8
16 files changed, 206 insertions, 5 deletions
diff --git a/src/3rdparty/libjpeg.pri b/src/3rdparty/libjpeg.pri
new file mode 100644
index 0000000..4551d7b
--- /dev/null
+++ b/src/3rdparty/libjpeg.pri
@@ -0,0 +1,48 @@
+INCLUDEPATH += $$PWD/libjpeg
+SOURCES += \
+ $$PWD/libjpeg/jaricom.c \
+ $$PWD/libjpeg/jcapimin.c \
+ $$PWD/libjpeg/jcapistd.c \
+ $$PWD/libjpeg/jcarith.c \
+ $$PWD/libjpeg/jccoefct.c \
+ $$PWD/libjpeg/jccolor.c \
+ $$PWD/libjpeg/jcdctmgr.c \
+ $$PWD/libjpeg/jchuff.c \
+ $$PWD/libjpeg/jcinit.c \
+ $$PWD/libjpeg/jcmainct.c \
+ $$PWD/libjpeg/jcmarker.c \
+ $$PWD/libjpeg/jcmaster.c \
+ $$PWD/libjpeg/jcomapi.c \
+ $$PWD/libjpeg/jcparam.c \
+ $$PWD/libjpeg/jcprepct.c \
+ $$PWD/libjpeg/jcsample.c \
+ $$PWD/libjpeg/jctrans.c \
+ $$PWD/libjpeg/jdapimin.c \
+ $$PWD/libjpeg/jdapistd.c \
+ $$PWD/libjpeg/jdarith.c \
+ $$PWD/libjpeg/jdatadst.c \
+ $$PWD/libjpeg/jdatasrc.c \
+ $$PWD/libjpeg/jdcoefct.c \
+ $$PWD/libjpeg/jdcolor.c \
+ $$PWD/libjpeg/jddctmgr.c \
+ $$PWD/libjpeg/jdhuff.c \
+ $$PWD/libjpeg/jdinput.c \
+ $$PWD/libjpeg/jdmainct.c \
+ $$PWD/libjpeg/jdmarker.c \
+ $$PWD/libjpeg/jdmaster.c \
+ $$PWD/libjpeg/jdmerge.c \
+ $$PWD/libjpeg/jdpostct.c \
+ $$PWD/libjpeg/jdsample.c \
+ $$PWD/libjpeg/jdtrans.c \
+ $$PWD/libjpeg/jerror.c \
+ $$PWD/libjpeg/jfdctflt.c \
+ $$PWD/libjpeg/jfdctfst.c \
+ $$PWD/libjpeg/jfdctint.c \
+ $$PWD/libjpeg/jidctflt.c \
+ $$PWD/libjpeg/jidctfst.c \
+ $$PWD/libjpeg/jidctint.c \
+ $$PWD/libjpeg/jquant1.c \
+ $$PWD/libjpeg/jquant2.c \
+ $$PWD/libjpeg/jutils.c \
+ $$PWD/libjpeg/jmemmgr.c \
+ $$PWD/libjpeg/jmemnobs.c
diff --git a/src/3rdparty/libmng.pri b/src/3rdparty/libmng.pri
new file mode 100644
index 0000000..7b68210
--- /dev/null
+++ b/src/3rdparty/libmng.pri
@@ -0,0 +1,25 @@
+DEFINES += MNG_BUILD_SO
+DEFINES += MNG_NO_INCLUDE_JNG
+INCLUDEPATH += $$PWD/libmng
+SOURCES += \
+ $$PWD/libmng/libmng_callback_xs.c \
+ $$PWD/libmng/libmng_chunk_io.c \
+ $$PWD/libmng/libmng_chunk_descr.c \
+ $$PWD/libmng/libmng_chunk_prc.c \
+ $$PWD/libmng/libmng_chunk_xs.c \
+ $$PWD/libmng/libmng_cms.c \
+ $$PWD/libmng/libmng_display.c \
+ $$PWD/libmng/libmng_dither.c \
+ $$PWD/libmng/libmng_error.c \
+ $$PWD/libmng/libmng_filter.c \
+ $$PWD/libmng/libmng_hlapi.c \
+ $$PWD/libmng/libmng_jpeg.c \
+ $$PWD/libmng/libmng_object_prc.c \
+ $$PWD/libmng/libmng_pixels.c \
+ $$PWD/libmng/libmng_prop_xs.c \
+ $$PWD/libmng/libmng_read.c \
+ $$PWD/libmng/libmng_trace.c \
+ $$PWD/libmng/libmng_write.c \
+ $$PWD/libmng/libmng_zlib.c
+
+include($$PWD/zlib_dependency.pri)
diff --git a/src/3rdparty/libpng.pri b/src/3rdparty/libpng.pri
new file mode 100644
index 0000000..7ac1910
--- /dev/null
+++ b/src/3rdparty/libpng.pri
@@ -0,0 +1,20 @@
+DEFINES *= QT_USE_BUNDLED_LIBPNG
+!isEqual(QT_ARCH, i386):!isEqual(QT_ARCH, x86_64):DEFINES += PNG_NO_ASSEMBLER_CODE
+INCLUDEPATH += $$PWD/libpng
+SOURCES += $$PWD/libpng/png.c \
+ $$PWD/libpng/pngerror.c \
+ $$PWD/libpng/pngget.c \
+ $$PWD/libpng/pngmem.c \
+ $$PWD/libpng/pngpread.c \
+ $$PWD/libpng/pngread.c \
+ $$PWD/libpng/pngrio.c \
+ $$PWD/libpng/pngrtran.c \
+ $$PWD/libpng/pngrutil.c \
+ $$PWD/libpng/pngset.c \
+ $$PWD/libpng/pngtrans.c \
+ $$PWD/libpng/pngwio.c \
+ $$PWD/libpng/pngwrite.c \
+ $$PWD/libpng/pngwtran.c \
+ $$PWD/libpng/pngwutil.c
+
+include($$PWD/zlib_dependency.pri)
diff --git a/src/3rdparty/libtiff.pri b/src/3rdparty/libtiff.pri
new file mode 100644
index 0000000..e43e1fe
--- /dev/null
+++ b/src/3rdparty/libtiff.pri
@@ -0,0 +1,43 @@
+INCLUDEPATH += $$PWD/libtiff/libtiff
+SOURCES += \
+ $$PWD/libtiff/libtiff/tif_aux.c \
+ $$PWD/libtiff/libtiff/tif_close.c \
+ $$PWD/libtiff/libtiff/tif_codec.c \
+ $$PWD/libtiff/libtiff/tif_color.c \
+ $$PWD/libtiff/libtiff/tif_compress.c \
+ $$PWD/libtiff/libtiff/tif_dir.c \
+ $$PWD/libtiff/libtiff/tif_dirinfo.c \
+ $$PWD/libtiff/libtiff/tif_dirread.c \
+ $$PWD/libtiff/libtiff/tif_dirwrite.c \
+ $$PWD/libtiff/libtiff/tif_dumpmode.c \
+ $$PWD/libtiff/libtiff/tif_error.c \
+ $$PWD/libtiff/libtiff/tif_extension.c \
+ $$PWD/libtiff/libtiff/tif_fax3.c \
+ $$PWD/libtiff/libtiff/tif_fax3sm.c \
+ $$PWD/libtiff/libtiff/tif_flush.c \
+ $$PWD/libtiff/libtiff/tif_getimage.c \
+ $$PWD/libtiff/libtiff/tif_luv.c \
+ $$PWD/libtiff/libtiff/tif_lzw.c \
+ $$PWD/libtiff/libtiff/tif_next.c \
+ $$PWD/libtiff/libtiff/tif_open.c \
+ $$PWD/libtiff/libtiff/tif_packbits.c \
+ $$PWD/libtiff/libtiff/tif_pixarlog.c \
+ $$PWD/libtiff/libtiff/tif_predict.c \
+ $$PWD/libtiff/libtiff/tif_print.c \
+ $$PWD/libtiff/libtiff/tif_read.c \
+ $$PWD/libtiff/libtiff/tif_strip.c \
+ $$PWD/libtiff/libtiff/tif_swab.c \
+ $$PWD/libtiff/libtiff/tif_thunder.c \
+ $$PWD/libtiff/libtiff/tif_tile.c \
+ $$PWD/libtiff/libtiff/tif_version.c \
+ $$PWD/libtiff/libtiff/tif_warning.c \
+ $$PWD/libtiff/libtiff/tif_write.c \
+ $$PWD/libtiff/libtiff/tif_zip.c
+
+wince*: SOURCES += $$PWD/../corelib/kernel/qfunctions_wince.cpp \
+ $$PWD/libtiff/libtiff/tif_wince.c
+win32: SOURCES += $$PWD/libtiff/libtiff/tif_win32.c
+else: SOURCES += $$PWD/libtiff/libtiff/tif_unix.c
+symbian: SOURCES += $$PWD/libtiff/port/lfind.c
+
+include($$PWD/zlib_dependency.pri)
diff --git a/src/3rdparty/webkit/.tag b/src/3rdparty/webkit/.tag
index c44a95b..0b824b7 100644
--- a/src/3rdparty/webkit/.tag
+++ b/src/3rdparty/webkit/.tag
@@ -1 +1 @@
-cd3aee284bddf4ff9d26f3bcaa7c33d478e81e10
+d59845f6fec84f15da116f50a1a0e52ce26116e9
diff --git a/src/3rdparty/webkit/VERSION b/src/3rdparty/webkit/VERSION
index aa574b4..c970745 100644
--- a/src/3rdparty/webkit/VERSION
+++ b/src/3rdparty/webkit/VERSION
@@ -4,4 +4,4 @@ This is a snapshot of the Qt port of WebKit from
and has the sha1 checksum
- cd3aee284bddf4ff9d26f3bcaa7c33d478e81e10
+ d59845f6fec84f15da116f50a1a0e52ce26116e9
diff --git a/src/3rdparty/webkit/WebCore/ChangeLog b/src/3rdparty/webkit/WebCore/ChangeLog
index 5ba94de..a4ae758 100644
--- a/src/3rdparty/webkit/WebCore/ChangeLog
+++ b/src/3rdparty/webkit/WebCore/ChangeLog
@@ -1,3 +1,16 @@
+2010-03-26 Shu Chang <chang.shu@nokia.com>
+
+ Reviewed by Eric Seidel.
+
+ [Qt] Prevent referring d->m_job in the future because calling abort()
+ deletes the instance itself.
+ https://bugs.webkit.org/show_bug.cgi?id=36618
+
+ Test: http/tests/appcache/fallback.html
+
+ * platform/network/qt/ResourceHandleQt.cpp:
+ (WebCore::ResourceHandle::cancel):
+
2010-06-28 Sam Magnuson <smagnuson@netflix.com>
Reviewed by Kenneth Rohde Christiansen.
diff --git a/src/3rdparty/webkit/WebCore/platform/network/qt/ResourceHandleQt.cpp b/src/3rdparty/webkit/WebCore/platform/network/qt/ResourceHandleQt.cpp
index f006c08..aaa306a 100644
--- a/src/3rdparty/webkit/WebCore/platform/network/qt/ResourceHandleQt.cpp
+++ b/src/3rdparty/webkit/WebCore/platform/network/qt/ResourceHandleQt.cpp
@@ -144,8 +144,10 @@ bool ResourceHandle::start(Frame* frame)
void ResourceHandle::cancel()
{
- if (d->m_job)
+ if (d->m_job) {
d->m_job->abort();
+ d->m_job = 0;
+ }
}
bool ResourceHandle::loadsBlocked()
diff --git a/src/3rdparty/webkit/WebCore/platform/qt/QWebPageClient.h b/src/3rdparty/webkit/WebCore/platform/qt/QWebPageClient.h
index 8e48d1f..d3978b8 100644
--- a/src/3rdparty/webkit/WebCore/platform/qt/QWebPageClient.h
+++ b/src/3rdparty/webkit/WebCore/platform/qt/QWebPageClient.h
@@ -90,6 +90,8 @@ public:
virtual QStyle* style() const = 0;
virtual QRectF graphicsItemVisibleRect() const { return QRectF(); }
+
+ virtual bool viewResizesToContentsEnabled() const = 0;
protected:
#ifndef QT_NO_CURSOR
diff --git a/src/3rdparty/webkit/WebKit/qt/Api/qgraphicswebview.cpp b/src/3rdparty/webkit/WebKit/qt/Api/qgraphicswebview.cpp
index c4d240c..b63921b 100644
--- a/src/3rdparty/webkit/WebKit/qt/Api/qgraphicswebview.cpp
+++ b/src/3rdparty/webkit/WebKit/qt/Api/qgraphicswebview.cpp
@@ -117,6 +117,8 @@ public:
virtual QStyle* style() const;
+ virtual bool viewResizesToContentsEnabled() const { return resizesToContents; }
+
#if USE(ACCELERATED_COMPOSITING)
virtual void setRootGraphicsLayer(QGraphicsItem* layer);
virtual void markForSync(bool scheduleSync);
diff --git a/src/3rdparty/webkit/WebKit/qt/Api/qwebpage.cpp b/src/3rdparty/webkit/WebKit/qt/Api/qwebpage.cpp
index 9a4e9b2..d0c047d 100644
--- a/src/3rdparty/webkit/WebKit/qt/Api/qwebpage.cpp
+++ b/src/3rdparty/webkit/WebKit/qt/Api/qwebpage.cpp
@@ -233,6 +233,8 @@ public:
virtual QStyle* style() const;
+ virtual bool viewResizesToContentsEnabled() const { return false; }
+
QWidget* view;
};
@@ -3614,7 +3616,7 @@ QString QWebPage::userAgentForUrl(const QUrl&) const
firstPartTemp += QString::fromLatin1("Sun Solaris");
#elif defined Q_OS_ULTRIX
firstPartTemp += QString::fromLatin1("DEC Ultrix");
-#elif defined Q_WS_S60
+#elif defined Q_OS_SYMBIAN
firstPartTemp += QLatin1Char(' ');
QSysInfo::S60Version s60Version = QSysInfo::s60Version();
switch (s60Version) {
diff --git a/src/3rdparty/webkit/WebKit/qt/ChangeLog b/src/3rdparty/webkit/WebKit/qt/ChangeLog
index 1eb7b11..9dd129e 100644
--- a/src/3rdparty/webkit/WebKit/qt/ChangeLog
+++ b/src/3rdparty/webkit/WebKit/qt/ChangeLog
@@ -1,3 +1,20 @@
+2010-05-19 Antti Koivisto <koivisto@iki.fi>
+
+ Rubber-stamped by Kenneth Rohde Christiansen.
+
+ [Qt] TiledBackingStore updates broken when not using resizesToContents mode
+ https://bugs.webkit.org/show_bug.cgi?id=39359
+
+ Put the back logic that was lost in refactoring.
+
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::visibleRectForTiledBackingStore):
+ * WebCoreSupport/PageClientQt.cpp:
+ (WebCore::PageClientQGraphicsWidget::graphicsItemVisibleRect):
+ * WebCoreSupport/PageClientQt.h:
+ (WebCore::PageClientQWidget::viewResizesToContentsEnabled):
+ (WebCore::PageClientQGraphicsWidget::viewResizesToContentsEnabled):
+
2010-07-01 Bea Lam <bea.lam@nokia.com>
Reviewed by Simon Hausmann.
diff --git a/src/3rdparty/webkit/WebKit/qt/WebCoreSupport/ChromeClientQt.cpp b/src/3rdparty/webkit/WebKit/qt/WebCoreSupport/ChromeClientQt.cpp
index e253161..4d4e70e 100644
--- a/src/3rdparty/webkit/WebKit/qt/WebCoreSupport/ChromeClientQt.cpp
+++ b/src/3rdparty/webkit/WebKit/qt/WebCoreSupport/ChromeClientQt.cpp
@@ -563,8 +563,12 @@ bool ChromeClientQt::allowsAcceleratedCompositing() const
#if ENABLE(TILED_BACKING_STORE)
IntRect ChromeClientQt::visibleRectForTiledBackingStore() const
{
- if (!platformPageClient())
+ if (!platformPageClient() || !m_webPage)
return IntRect();
+
+ if (!platformPageClient()->viewResizesToContentsEnabled())
+ return QRect(m_webPage->mainFrame()->scrollPosition(), m_webPage->mainFrame()->geometry().size());
+
return enclosingIntRect(FloatRect(platformPageClient()->graphicsItemVisibleRect()));
}
#endif
diff --git a/src/3rdparty/webkit/WebKit/qt/declarative/declarative.pro b/src/3rdparty/webkit/WebKit/qt/declarative/declarative.pro
index 75268f3..526cf06 100644
--- a/src/3rdparty/webkit/WebKit/qt/declarative/declarative.pro
+++ b/src/3rdparty/webkit/WebKit/qt/declarative/declarative.pro
@@ -30,6 +30,7 @@ symbian: {
TARGET.EPOCALLOWDLLDATA=1
TARGET.CAPABILITY = All -Tcb
load(armcc_warnings)
+ TARGET = $$TARGET$${QT_LIBINFIX}
}
include(../../../WebKit.pri)
diff --git a/src/3rdparty/zlib.pri b/src/3rdparty/zlib.pri
new file mode 100644
index 0000000..bae3221
--- /dev/null
+++ b/src/3rdparty/zlib.pri
@@ -0,0 +1,14 @@
+wince*: DEFINES += NO_ERRNO_H
+INCLUDEPATH += $$PWD/zlib
+SOURCES+= \
+ $$PWD/zlib/adler32.c \
+ $$PWD/zlib/compress.c \
+ $$PWD/zlib/crc32.c \
+ $$PWD/zlib/deflate.c \
+ $$PWD/zlib/gzio.c \
+ $$PWD/zlib/inffast.c \
+ $$PWD/zlib/inflate.c \
+ $$PWD/zlib/inftrees.c \
+ $$PWD/zlib/trees.c \
+ $$PWD/zlib/uncompr.c \
+ $$PWD/zlib/zutil.c
diff --git a/src/3rdparty/zlib_dependency.pri b/src/3rdparty/zlib_dependency.pri
new file mode 100644
index 0000000..042eb13
--- /dev/null
+++ b/src/3rdparty/zlib_dependency.pri
@@ -0,0 +1,8 @@
+# zlib dependency satisfied by bundled 3rd party zlib or system zlib
+contains(QT_CONFIG, system-zlib) {
+ symbian: LIBS_PRIVATE += -llibz
+ else:if(unix|win32-g++*):LIBS_PRIVATE += -lz
+ else: LIBS += zdll.lib
+} else {
+ INCLUDEPATH += $$PWD/zlib
+}