fileapi/FileEntry.idl \
fileapi/FileEntrySync.idl \
fileapi/FileError.idl \
+ fileapi/FileException.idl \
fileapi/FileList.idl \
fileapi/FileReader.idl \
fileapi/FileSystemCallback.idl \
CONFIG += building-libs
CONFIG += depend_includepath
-v8:exists($$[QT_INSTALL_PREFIX]/src/3rdparty/v8/include/v8.h) {
+V8_DIR = "$$[QT_INSTALL_PREFIX]/src/3rdparty/v8"
+
+v8:exists($${V8_DIR}/include/v8.h) {
message(Using V8 with QtScript)
QT += script
- INCLUDEPATH += $$[QT_INSTALL_PREFIX]/src/3rdparty/v8/include
+ INCLUDEPATH += $${V8_DIR}/include
DEFINES *= V8_BINDING=1
DEFINES += WTF_CHANGES=1
DEFINES *= WTF_USE_V8=1
DEFINES += USING_V8_SHARED
+
+ linux-*:LIBS += -lv8
}
symbian: {
-
# Copyright (C) 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org>
# Copyright (C) 2006 Anders Carlsson <andersca@mac.com>
# Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
my @implContent = ();
my @implContentDecls = ();
my %implIncludes = ();
+my %headerIncludes = ();
my @allParents = ();
$implIncludes{"SVGAnimatedListPropertyTearOff.h"} = 1;
} elsif ($svgNativeType =~ /SVGTransformListPropertyTearOff/) {
$svgListPropertyType = $svgWrappedNativeType;
- $implIncludes{"SVGAnimatedListPropertyTearOff.h"} = 1;
- $implIncludes{"SVGTransformListPropertyTearOff.h"} = 1;
+ $headerIncludes{"SVGAnimatedListPropertyTearOff.h"} = 1;
+ $headerIncludes{"SVGTransformListPropertyTearOff.h"} = 1;
+ } elsif ($svgNativeType =~ /SVGPathSegListPropertyTearOff/) {
+ $svgListPropertyType = $svgWrappedNativeType;
+ $headerIncludes{"SVGPathSegListPropertyTearOff.h"} = 1;
}
if ($svgPropertyType) {
# - Add default header template
push(@headerContent, GenerateHeaderContentHeader($dataNode));
- my %headerInclues = ();
$headerIncludes{"wtf/text/StringHash.h"} = 1;
$headerIncludes{"WrapperTypeInfo.h"} = 1;
$headerIncludes{"V8DOMWrapper.h"} = 1;
push(@headerContent, "#include <v8.h>\n");
push(@headerContent, "#include <wtf/HashMap.h>\n");
-
+
push(@headerContent, "\nnamespace WebCore {\n");
push(@headerContent, "\ntemplate<typename PropertyType> class SVGPropertyTearOff;\n") if $svgPropertyType;
if ($svgNativeType) {
v8::Context::Scope scope(v8Context);
if (v8Context.IsEmpty())
return 0;
- m_qtScriptEngine = new QScriptEngine(QScriptEngine::AdoptCurrentContext);
+ m_qtScriptEngine = new QScriptEngine;
}
return m_qtScriptEngine.get();
}
void V8GCController::checkMemoryUsage()
{
-#if PLATFORM(CHROMIUM)
+#if PLATFORM(CHROMIUM) || PLATFORM(QT) && !OS(SYMBIAN)
// These values are appropriate for Chromium only.
const int lowUsageMB = 256; // If memory usage is below this threshold, do not bother forcing GC.
const int highUsageMB = 1024; // If memory usage is above this threshold, force GC more aggresively.
push(@sourceContent, "\n#include \"config.h\"");
push(@sourceContent, "#include \"$className.h\"");
push(@sourceContent, "#include <wtf/text/StringConcatenate.h>");
+ push(@sourceContent, "#include <wtf/text/CString.h>");
push(@sourceContent, "");
push(@sourceContent, "#if ENABLE(INSPECTOR)");
push(@sourceContent, "");
#include "ResourceLoader.h"
#include "ResourceRequest.h"
#include "SubresourceLoader.h"
+#include <wtf/text/CString.h>
#define REQUEST_MANAGEMENT_ENABLED 1
#include "SecurityOrigin.h"
#include <stdio.h>
#include <wtf/CurrentTime.h>
+#include <wtf/text/CString.h>
using namespace std;
#include "SharedBuffer.h"
#include <wtf/Assertions.h>
#include <wtf/Vector.h>
+#include <wtf/text/CString.h>
namespace WebCore {