summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2013-03-14 17:57:02 +0100
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2013-03-14 17:58:29 +0100
commitc8978f4e517618ba11065ab7d7540e156d1d34d3 (patch)
tree4ad832d909979fe26769c0b839af28ef418dd012
parent654380122b8724c7493d293963986a158927c650 (diff)
parent34983cc93dadd6f1be4f1088ba69d6a060cee15e (diff)
downloadqtwebkit-c8978f4e517618ba11065ab7d7540e156d1d34d3.tar.gz
Merge remote-tracking branch 'origin/release' into stable
Change-Id: I338406ae18d738c2eb84e9946e09c031b9332ced
-rw-r--r--.qmake.conf2
-rw-r--r--Source/JavaScriptCore/ChangeLog12
-rw-r--r--Source/JavaScriptCore/LLIntOffsetsExtractor.pro8
-rw-r--r--Source/WebCore/platform/text/TextEncodingRegistry.cpp9
-rw-r--r--Source/sync.profile6
5 files changed, 32 insertions, 5 deletions
diff --git a/.qmake.conf b/.qmake.conf
index 646dc0ce0..7f9e1dacb 100644
--- a/.qmake.conf
+++ b/.qmake.conf
@@ -2,3 +2,5 @@
MODULE_QMAKE_OUTDIR = $$shadowed($$PWD/Tools/qmake)
QMAKEPATH += $$PWD/Tools/qmake $$MODULE_QMAKE_OUTDIR
load(qt_build_config)
+
+MODULE_VERSION = 5.0.2
diff --git a/Source/JavaScriptCore/ChangeLog b/Source/JavaScriptCore/ChangeLog
index 18927d19e..d21e34a30 100644
--- a/Source/JavaScriptCore/ChangeLog
+++ b/Source/JavaScriptCore/ChangeLog
@@ -1,3 +1,15 @@
+2013-02-27 Simon Hausmann <simon.hausmann@digia.com>
+
+ [Qt][Mac] Fix massive parallel builds
+
+ Reviewed by Tor Arne Vestbø.
+
+ There exists a race condition that LLIntDesiredOffsets.h is written to
+ by two parllel instances of the ruby script. This patch ensures that similar to the output file,
+ the generated file is also prefixed according to the build configuration.
+
+ * LLIntOffsetsExtractor.pro:
+
2012-12-18 Mark Hahnenberg <mhahnenberg@apple.com>
Restrictions on oversize CopiedBlock allocations should be relaxed
diff --git a/Source/JavaScriptCore/LLIntOffsetsExtractor.pro b/Source/JavaScriptCore/LLIntOffsetsExtractor.pro
index 50cdd44ef..97b3529b7 100644
--- a/Source/JavaScriptCore/LLIntOffsetsExtractor.pro
+++ b/Source/JavaScriptCore/LLIntOffsetsExtractor.pro
@@ -8,8 +8,6 @@
TEMPLATE = app
TARGET = LLIntOffsetsExtractor
-macx: DESTDIR = $$activeBuildConfig()
-
debug_and_release {
CONFIG += force_build_all
CONFIG += build_all
@@ -59,6 +57,12 @@ llint.commands = ruby $$llint.script ${QMAKE_FILE_NAME} ${QMAKE_FILE_OUT}
llint.CONFIG += no_link
QMAKE_EXTRA_COMPILERS += llint
+macx {
+ DESTDIR = $$activeBuildConfig()
+ llint.output = $$activeBuildConfig()/$$llint.output
+ INCLUDEPATH += $$activeBuildConfig()
+}
+
# Compilation of this file will automatically depend on LLIntDesiredOffsets.h
# due to qmake scanning the source file for header dependencies.
SOURCES = llint/LLIntOffsetsExtractor.cpp
diff --git a/Source/WebCore/platform/text/TextEncodingRegistry.cpp b/Source/WebCore/platform/text/TextEncodingRegistry.cpp
index 2790227fa..6e95a44fe 100644
--- a/Source/WebCore/platform/text/TextEncodingRegistry.cpp
+++ b/Source/WebCore/platform/text/TextEncodingRegistry.cpp
@@ -71,10 +71,19 @@ struct TextEncodingNameHash {
char c1;
char c2;
do {
+#if defined(_MSC_FULL_VER) && _MSC_FULL_VER == 170051106
+ // Workaround for a bug in the VS2012 Update 1 optimizer, remove once the fix is released.
+ // https://connect.microsoft.com/VisualStudio/feedback/details/777533/vs2012-c-optimizing-bug-when-using-inline-and-char-return-type-x86-target-only
+ c1 = toASCIILower(*s1++);
+ c2 = toASCIILower(*s2++);
+ if (c1 != c2)
+ return false;
+#else
c1 = *s1++;
c2 = *s2++;
if (toASCIILower(c1) != toASCIILower(c2))
return false;
+#endif
} while (c1 && c2);
return !c1 && !c2;
}
diff --git a/Source/sync.profile b/Source/sync.profile
index 4b3280991..4dbcb0106 100644
--- a/Source/sync.profile
+++ b/Source/sync.profile
@@ -17,7 +17,7 @@
# - any git symbolic ref resolvable from the module's repository (e.g. "refs/heads/master" to track master branch)
#
%dependencies = (
- "qtbase" => "refs/heads/stable",
- "qtdeclarative" => "refs/heads/stable",
- "qtjsbackend" => "refs/heads/stable",
+ "qtbase" => "refs/heads/release",
+ "qtdeclarative" => "refs/heads/release",
+ "qtjsbackend" => "refs/heads/release",
);