2008-05-14 Ariya Hidayat <ariya.hidayat@trolltech.com>
authorhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 May 2008 14:31:29 +0000 (14:31 +0000)
committerhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 May 2008 14:31:29 +0000 (14:31 +0000)
Reviewed by Simon.

Qt build fix. Add JSJavaScriptCallFrameCustom.cpp to the build
and implemented EventLoopQt.

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

WebCore/ChangeLog
WebCore/WebCore.pro
WebCore/platform/qt/EventLoopQt.cpp [new file with mode: 0644]

index 39191d5..e8eef1e 100644 (file)
@@ -2,6 +2,16 @@
 
         Reviewed by Simon.
 
+        Qt build fix. Add JSJavaScriptCallFrameCustom.cpp to the build
+        and implemented EventLoopQt.
+
+        * WebCore.pro:
+        * platform/qt/EventLoopQt.cpp: Added.
+
+2008-05-14  Ariya Hidayat  <ariya.hidayat@trolltech.com>
+
+        Reviewed by Simon.
+
         Qt build fix. Add JavaScriptCallFrame.{idl,cpp} to the build.
 
         * WebCore.pro:
index 85e70c4..4dc7409 100644 (file)
@@ -435,6 +435,7 @@ SOURCES += \
     bindings/js/JSEventTargetBase.cpp \
     bindings/js/JSEventTargetNode.cpp \
     bindings/js/JSHistoryCustom.cpp \
+    bindings/js/JSJavaScriptCallFrameCustom.cpp \
     bindings/js/JSHTMLAppletElementCustom.cpp \
     bindings/js/JSHTMLCollectionCustom.cpp \
     bindings/js/JSHTMLDocumentCustom.cpp \
@@ -1017,6 +1018,7 @@ qt-port {
     platform/qt/CursorQt.cpp \
     platform/qt/DragDataQt.cpp \
     platform/qt/DragImageQt.cpp \
+    platform/qt/EventLoopQt.cpp \
     platform/qt/FileChooserQt.cpp \
     platform/qt/FileSystemQt.cpp \
     platform/graphics/qt/FontCacheQt.cpp \
diff --git a/WebCore/platform/qt/EventLoopQt.cpp b/WebCore/platform/qt/EventLoopQt.cpp
new file mode 100644 (file)
index 0000000..7d9d67f
--- /dev/null
@@ -0,0 +1,32 @@
+/*
+    Copyright (C) 2008 Trolltech ASA
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Library General Public
+    License as published by the Free Software Foundation; either
+    version 2 of the License, or (at your option) any later version.
+
+    This library is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Library General Public License for more details.
+
+    You should have received a copy of the GNU Library General Public License
+    along with this library; see the file COPYING.LIB.  If not, write to
+    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+    Boston, MA 02110-1301, USA.
+*/
+
+#include "config.h"
+#include "EventLoop.h"
+
+#include <QCoreApplication>
+
+namespace WebCore {
+
+void EventLoop::cycle()
+{
+    QCoreApplication::processEvents();
+}
+
+} // namespace WebCore