summaryrefslogtreecommitdiff
path: root/Source/ThirdParty
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2012-09-14 16:29:47 +0200
committerSimon Hausmann <simon.hausmann@nokia.com>2012-09-14 16:29:47 +0200
commitd0424a769059c84ae20beb3c217812792ea6726b (patch)
tree6f94a5c3db8c52c6694ee56498542a6c35417350 /Source/ThirdParty
parent88a04ac016f57c2d78e714682445dff2e7db4ade (diff)
downloadqtwebkit-d0424a769059c84ae20beb3c217812792ea6726b.tar.gz
Imported WebKit commit 37c5e5041d39a14ea0d429a77ebd352e4bd26516 (http://svn.webkit.org/repository/webkit/trunk@128608)
New snapshot that enables WebKit2 build on Windows (still some bugs) and allows for WebKit to be built with qmake && make
Diffstat (limited to 'Source/ThirdParty')
-rw-r--r--Source/ThirdParty/ANGLE/ANGLE.plist22
-rw-r--r--Source/ThirdParty/ANGLE/ANGLE.txt32
-rw-r--r--Source/ThirdParty/ANGLE/ANGLE.xcodeproj/project.pbxproj39
-rw-r--r--Source/ThirdParty/ANGLE/ChangeLog58
-rw-r--r--Source/ThirdParty/ANGLE/DerivedSources.pri4
-rw-r--r--Source/ThirdParty/ANGLE/src/compiler/BaseTypes.h6
-rw-r--r--Source/ThirdParty/ANGLE/src/compiler/ExtensionBehavior.h2
-rw-r--r--Source/ThirdParty/ANGLE/src/compiler/ParseHelper.cpp2
-rw-r--r--Source/ThirdParty/ANGLE/src/compiler/intermediate.h4
9 files changed, 160 insertions, 9 deletions
diff --git a/Source/ThirdParty/ANGLE/ANGLE.plist b/Source/ThirdParty/ANGLE/ANGLE.plist
new file mode 100644
index 000000000..5bc9ff8ee
--- /dev/null
+++ b/Source/ThirdParty/ANGLE/ANGLE.plist
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+ <array>
+ <dict>
+ <key>OpenSourceProject</key>
+ <string>ANGLE</string>
+ <key>OpenSourceVersion</key>
+ <string>r1170</string>
+ <key>OpenSourceWebsiteURL</key>
+ <string>http://code.google.com/p/angleproject/</string>
+ <key>OpenSourceSCM</key>
+ <string>svn co -r1170 http://angleproject.googlecode.com/svn/trunk/</string>
+ <key>OpenSourceImportDate</key>
+ <string>2012-06-17</string>
+ <key>OpenSourceLicense</key>
+ <string>BSD</string>
+ <key>OpenSourceLicenseFile</key>
+ <string>ANGLE.txt</string>
+ </dict>
+ </array>
+</plist> \ No newline at end of file
diff --git a/Source/ThirdParty/ANGLE/ANGLE.txt b/Source/ThirdParty/ANGLE/ANGLE.txt
new file mode 100644
index 000000000..0513b7d0f
--- /dev/null
+++ b/Source/ThirdParty/ANGLE/ANGLE.txt
@@ -0,0 +1,32 @@
+// Copyright (C) 2002-2010 The ANGLE Project Authors.
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions
+// are met:
+//
+// Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+//
+// Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following
+// disclaimer in the documentation and/or other materials provided
+// with the distribution.
+//
+// Neither the name of TransGaming Inc., Google Inc., 3DLabs Inc.
+// Ltd., nor the names of their contributors may be used to endorse
+// or promote products derived from this software without specific
+// prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+// COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+// ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+// POSSIBILITY OF SUCH DAMAGE.
diff --git a/Source/ThirdParty/ANGLE/ANGLE.xcodeproj/project.pbxproj b/Source/ThirdParty/ANGLE/ANGLE.xcodeproj/project.pbxproj
index ea3d7c2e5..8f2be60f5 100644
--- a/Source/ThirdParty/ANGLE/ANGLE.xcodeproj/project.pbxproj
+++ b/Source/ThirdParty/ANGLE/ANGLE.xcodeproj/project.pbxproj
@@ -7,6 +7,8 @@
objects = {
/* Begin PBXBuildFile section */
+ 312BDB0C15FECAC90097EBC7 /* ANGLE.plist in CopyFiles */ = {isa = PBXBuildFile; fileRef = 312BDB0915FEC91E0097EBC7 /* ANGLE.plist */; };
+ 312BDB0E15FECAE50097EBC7 /* ANGLE.txt in CopyFiles */ = {isa = PBXBuildFile; fileRef = 312BDB0A15FECA3A0097EBC7 /* ANGLE.txt */; };
49951C0314B7AAB30060E96E /* length_limits.h in Headers */ = {isa = PBXBuildFile; fileRef = 49951C0214B7AAB30060E96E /* length_limits.h */; };
49951C0914B7AAD80060E96E /* BuiltInFunctionEmulator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49951C0514B7AAD70060E96E /* BuiltInFunctionEmulator.cpp */; };
49951C0A14B7AAD80060E96E /* BuiltInFunctionEmulator.h in Headers */ = {isa = PBXBuildFile; fileRef = 49951C0614B7AAD80060E96E /* BuiltInFunctionEmulator.h */; };
@@ -108,7 +110,32 @@
FB39D76E120110FC00088E69 /* ShaderLang.h in Headers */ = {isa = PBXBuildFile; fileRef = FB39D2BF1200F3E600088E69 /* ShaderLang.h */; settings = {ATTRIBUTES = (Public, ); }; };
/* End PBXBuildFile section */
+/* Begin PBXCopyFilesBuildPhase section */
+ 312BDB0B15FECAB00097EBC7 /* CopyFiles */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 8;
+ dstPath = /usr/local/OpenSourceVersions;
+ dstSubfolderSpec = 0;
+ files = (
+ 312BDB0C15FECAC90097EBC7 /* ANGLE.plist in CopyFiles */,
+ );
+ runOnlyForDeploymentPostprocessing = 1;
+ };
+ 312BDB0D15FECACE0097EBC7 /* CopyFiles */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 8;
+ dstPath = /usr/local/OpenSourceLicenses;
+ dstSubfolderSpec = 0;
+ files = (
+ 312BDB0E15FECAE50097EBC7 /* ANGLE.txt in CopyFiles */,
+ );
+ runOnlyForDeploymentPostprocessing = 1;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
/* Begin PBXFileReference section */
+ 312BDB0915FEC91E0097EBC7 /* ANGLE.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = ANGLE.plist; sourceTree = "<group>"; };
+ 312BDB0A15FECA3A0097EBC7 /* ANGLE.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ANGLE.txt; sourceTree = "<group>"; };
49951C0214B7AAB30060E96E /* length_limits.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = length_limits.h; sourceTree = "<group>"; };
49951C0514B7AAD70060E96E /* BuiltInFunctionEmulator.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = BuiltInFunctionEmulator.cpp; sourceTree = "<group>"; };
49951C0614B7AAD80060E96E /* BuiltInFunctionEmulator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BuiltInFunctionEmulator.h; sourceTree = "<group>"; };
@@ -326,6 +353,15 @@
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
+ 312BDB0715FEC8E60097EBC7 /* misc */ = {
+ isa = PBXGroup;
+ children = (
+ 312BDB0915FEC91E0097EBC7 /* ANGLE.plist */,
+ 312BDB0A15FECA3A0097EBC7 /* ANGLE.txt */,
+ );
+ name = misc;
+ sourceTree = "<group>";
+ };
5D7C59C41208C68B001C873E /* Configurations */ = {
isa = PBXGroup;
children = (
@@ -395,6 +431,7 @@
FB39D06E1200ED9200088E69 = {
isa = PBXGroup;
children = (
+ 312BDB0715FEC8E60097EBC7 /* misc */,
FB39D2201200F35A00088E69 /* compiler */,
FB39D0841200EDEB00088E69 /* Source */,
5D7C59C41208C68B001C873E /* Configurations */,
@@ -688,6 +725,8 @@
FB39D77B1201110C00088E69 /* Headers */,
FB39D0CE1200F0E300088E69 /* Sources */,
FB39D0CF1200F0E300088E69 /* Frameworks */,
+ 312BDB0B15FECAB00097EBC7 /* CopyFiles */,
+ 312BDB0D15FECACE0097EBC7 /* CopyFiles */,
);
buildRules = (
);
diff --git a/Source/ThirdParty/ANGLE/ChangeLog b/Source/ThirdParty/ANGLE/ChangeLog
index 079763a95..dbb15212d 100644
--- a/Source/ThirdParty/ANGLE/ChangeLog
+++ b/Source/ThirdParty/ANGLE/ChangeLog
@@ -1,3 +1,61 @@
+2012-09-13 Mark Rowe <mrowe@apple.com>
+
+ <rdar://problem/12255720> Fix the build with newer Clang
+
+ Reviewed by Sam Weinig.
+
+ Clang generates a warning about the inclusion of trailing commas on the final enum item as it's apparently
+ a C++11 extension. Remove them.
+
+ * src/compiler/BaseTypes.h:
+ * src/compiler/ExtensionBehavior.h:
+ * src/compiler/ParseHelper.cpp:
+ (TParseContext::parseVectorFields):
+ * src/compiler/intermediate.h:
+
+2012-09-13 Simon Hausmann <simon.hausmann@nokia.com>
+
+ [Qt] The ANGLE build on Windows breaks with GnuWin32's flex because it is too old
+ https://bugs.webkit.org/show_bug.cgi?id=96359
+
+ Reviewed by Tor Arne Vestbø.
+
+ GnuWin32's flex is 2.5.4 and that is too old for ANGLE's preprocessor
+ lexer. The only viable alternative I could find on Windows that provides
+ binaries is the winflexbison distribution (http://sourceforge.net/projects/winflexbison/),
+ so let's use that one instead.
+
+ * DerivedSources.pri:
+
+2012-09-12 Simon Hausmann <simon.hausmann@nokia.com>
+
+ [Qt] Build on Windows requires bison/flex in PATH
+ https://bugs.webkit.org/show_bug.cgi?id=96358
+
+ Reviewed by Tor Arne Vestbø.
+
+ Use MAKEFILE_NOOP_COMMAND instead of the \n\t trick to generate a dummy command. Otherwise
+ the PATH prepend trick will break because it generates a command line along the lines of
+ (set PATH="...") && with just that trailing ampersand pair.
+
+ * DerivedSources.pri:
+
+2012-09-10 Dean Jackson <dino@apple.com>
+
+ [Apple] Install plist for Apple Open Source build system
+ https://bugs.webkit.org/show_bug.cgi?id=96345
+
+ Reviewed by Mark Rowe.
+
+ Apple's build system requires a couple of files that describe where
+ the 3rd party Open Source library came from, and what license it
+ uses. These files are copied into /usr/local when the project is
+ being installed.
+
+ * ANGLE.plist: Added.
+ * ANGLE.txt: Added.
+ * ANGLE.xcodeproj/project.pbxproj:
+
2012-09-06 Andras Becsi <andras.becsi@nokia.com>
[ANGLE] Fix the build with gcc 4.7
diff --git a/Source/ThirdParty/ANGLE/DerivedSources.pri b/Source/ThirdParty/ANGLE/DerivedSources.pri
index 791e52735..b3a89fc67 100644
--- a/Source/ThirdParty/ANGLE/DerivedSources.pri
+++ b/Source/ThirdParty/ANGLE/DerivedSources.pri
@@ -17,7 +17,7 @@ ANGLE_FLEX_SOURCES = \
angleflex.output = ${QMAKE_FILE_BASE}_lex.cpp
angleflex.input = ANGLE_FLEX_SOURCES
-angleflex.commands = flex --noline --nounistd --outfile=${QMAKE_FILE_OUT} ${QMAKE_FILE_IN}
+angleflex.commands = $$FLEX --noline --nounistd --outfile=${QMAKE_FILE_OUT} ${QMAKE_FILE_IN}
GENERATORS += angleflex
ANGLE_BISON_SOURCES = \
@@ -31,7 +31,7 @@ anglebison_decl.variable_out = GENERATED_FILES
GENERATORS += anglebison_decl
anglebison_impl.input = ANGLE_BISON_SOURCES
-anglebison_impl.commands = $$escape_expand(\\n)
+anglebison_impl.commands = $$MAKEFILE_NOOP_COMMAND
anglebison_impl.depends = $$GENERATED_SOURCES_DESTDIR/${QMAKE_FILE_BASE}_tab.h
anglebison_impl.output = ${QMAKE_FILE_BASE}_tab.cpp
GENERATORS += anglebison_impl
diff --git a/Source/ThirdParty/ANGLE/src/compiler/BaseTypes.h b/Source/ThirdParty/ANGLE/src/compiler/BaseTypes.h
index 5f8318530..af4c7e3ed 100644
--- a/Source/ThirdParty/ANGLE/src/compiler/BaseTypes.h
+++ b/Source/ThirdParty/ANGLE/src/compiler/BaseTypes.h
@@ -16,7 +16,7 @@ enum TPrecision
EbpUndefined,
EbpLow,
EbpMedium,
- EbpHigh,
+ EbpHigh
};
inline const char* getPrecisionString(TPrecision p)
@@ -47,7 +47,7 @@ enum TBasicType
EbtGuardSamplerEnd, // non type: see implementation of IsSampler()
EbtStruct,
EbtAddress, // should be deprecated??
- EbtInvariant, // used as a type when qualifying a previously declared variable as being invariant
+ EbtInvariant // used as a type when qualifying a previously declared variable as being invariant
};
inline const char* getBasicString(TBasicType t)
@@ -114,7 +114,7 @@ enum TQualifier
EvqFragData,
// end of list
- EvqLast,
+ EvqLast
};
//
diff --git a/Source/ThirdParty/ANGLE/src/compiler/ExtensionBehavior.h b/Source/ThirdParty/ANGLE/src/compiler/ExtensionBehavior.h
index 604098083..5c1595fb2 100644
--- a/Source/ThirdParty/ANGLE/src/compiler/ExtensionBehavior.h
+++ b/Source/ThirdParty/ANGLE/src/compiler/ExtensionBehavior.h
@@ -16,7 +16,7 @@ typedef enum
EBhEnable,
EBhWarn,
EBhDisable,
- EBhUndefined,
+ EBhUndefined
} TBehavior;
inline const char* getBehaviorString(TBehavior b)
diff --git a/Source/ThirdParty/ANGLE/src/compiler/ParseHelper.cpp b/Source/ThirdParty/ANGLE/src/compiler/ParseHelper.cpp
index 79bddeabf..b311526d4 100644
--- a/Source/ThirdParty/ANGLE/src/compiler/ParseHelper.cpp
+++ b/Source/ThirdParty/ANGLE/src/compiler/ParseHelper.cpp
@@ -33,7 +33,7 @@ bool TParseContext::parseVectorFields(const TString& compString, int vecSize, TV
enum {
exyzw,
ergba,
- estpq,
+ estpq
} fieldSet[4];
for (int i = 0; i < fields.num; ++i) {
diff --git a/Source/ThirdParty/ANGLE/src/compiler/intermediate.h b/Source/ThirdParty/ANGLE/src/compiler/intermediate.h
index af78fa00e..843c40ebb 100644
--- a/Source/ThirdParty/ANGLE/src/compiler/intermediate.h
+++ b/Source/ThirdParty/ANGLE/src/compiler/intermediate.h
@@ -181,7 +181,7 @@ enum TOperator {
EOpVectorTimesScalarAssign,
EOpMatrixTimesScalarAssign,
EOpMatrixTimesMatrixAssign,
- EOpDivAssign,
+ EOpDivAssign
};
extern const char* getOperatorString(TOperator op);
@@ -267,7 +267,7 @@ protected:
enum TLoopType {
ELoopFor,
ELoopWhile,
- ELoopDoWhile,
+ ELoopDoWhile
};
class TIntermLoop : public TIntermNode {