summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWater-Team <water@pad.test.qt.nokia.com>2011-11-09 00:00:15 (GMT)
committerWater-Team <water@pad.test.qt.nokia.com>2011-11-09 00:00:15 (GMT)
commitfe9b1390573b760aec573bbf2de2e1edf1caa52a (patch)
treec4bb2814cf6da2cdba22e2bbf0cd8a09536cf8a3
parent546efb2cdb64e968e3376a2d426e653e4da4f5d2 (diff)
parent6c24cde00e3a046e6face6f08ec2ed996b54a8f1 (diff)
downloadQt-fe9b1390573b760aec573bbf2de2e1edf1caa52a.zip
Qt-fe9b1390573b760aec573bbf2de2e1edf1caa52a.tar.gz
Qt-fe9b1390573b760aec573bbf2de2e1edf1caa52a.tar.bz2
Merge branch '4.8-upstream' into master-water
-rw-r--r--src/corelib/tools/qregexp.cpp4
-rw-r--r--src/network/ssl/qsslcertificate.cpp3
-rw-r--r--tools/designer/src/components/propertyeditor/propertyeditor.pri9
-rw-r--r--tools/designer/src/lib/shared/shared.pri12
4 files changed, 25 insertions, 3 deletions
diff --git a/src/corelib/tools/qregexp.cpp b/src/corelib/tools/qregexp.cpp
index ba1609f..e3a771a 100644
--- a/src/corelib/tools/qregexp.cpp
+++ b/src/corelib/tools/qregexp.cpp
@@ -66,6 +66,7 @@ int qFindString(const QChar *haystack, int haystackLen, int from,
#define RXERR_DISABLED QT_TRANSLATE_NOOP("QRegExp", "disabled feature used")
#define RXERR_CHARCLASS QT_TRANSLATE_NOOP("QRegExp", "bad char class syntax")
#define RXERR_LOOKAHEAD QT_TRANSLATE_NOOP("QRegExp", "bad lookahead syntax")
+#define RXERR_LOOKBEHIND QT_TRANSLATE_NOOP("QRegExp", "lookbehinds not supported, see QTBUG-2371")
#define RXERR_REPETITION QT_TRANSLATE_NOOP("QRegExp", "bad repetition syntax")
#define RXERR_OCTAL QT_TRANSLATE_NOOP("QRegExp", "invalid octal value")
#define RXERR_LEFTDELIM QT_TRANSLATE_NOOP("QRegExp", "missing left delim")
@@ -3231,6 +3232,9 @@ int QRegExpEngine::getToken()
#endif
case ':':
return Tok_MagicLeftParen;
+ case '<':
+ error(RXERR_LOOKBEHIND);
+ return Tok_MagicLeftParen;
default:
error(RXERR_LOOKAHEAD);
return Tok_MagicLeftParen;
diff --git a/src/network/ssl/qsslcertificate.cpp b/src/network/ssl/qsslcertificate.cpp
index 2a2ad55..85cd06c 100644
--- a/src/network/ssl/qsslcertificate.cpp
+++ b/src/network/ssl/qsslcertificate.cpp
@@ -814,6 +814,9 @@ static const char *certificate_blacklist[] = {
// "(has not been seen in the wild so far)", "Stichting TTP Infos CA," // compromised during DigiNotar breach
"1184640175", "DigiNotar Root CA", // DigiNotar intermediate cross-signed by Entrust
"1184644297", "DigiNotar Root CA", // DigiNotar intermediate cross-signed by Entrust
+
+ "120001705", "Digisign Server ID (Enrich)", // (Malaysian) Digicert Sdn. Bhd. cross-signed by Verizon CyberTrust
+ "1276011370", "Digisign Server ID - (Enrich)", // (Malaysian) Digicert Sdn. Bhd. cross-signed by Entrust
0
};
diff --git a/tools/designer/src/components/propertyeditor/propertyeditor.pri b/tools/designer/src/components/propertyeditor/propertyeditor.pri
index 60219e1..e5e4d46 100644
--- a/tools/designer/src/components/propertyeditor/propertyeditor.pri
+++ b/tools/designer/src/components/propertyeditor/propertyeditor.pri
@@ -4,8 +4,13 @@
INCLUDEPATH += $$PWD
-include(../../../../shared/qtpropertybrowser/qtpropertybrowser.pri)
-include(../../../../shared/qtgradienteditor/qtcolorbutton.pri)
+contains(CONFIG, static) { # see shared.pri
+ INCLUDEPATH *= $$QT_SOURCE_TREE/tools/shared/qtpropertybrowser
+ INCLUDEPATH *= $$QT_SOURCE_TREE/tools/shared/qtgradienteditor
+} else {
+ include(../../../../shared/qtpropertybrowser/qtpropertybrowser.pri)
+ include(../../../../shared/qtgradienteditor/qtcolorbutton.pri)
+}
FORMS += $$PWD/paletteeditor.ui \
$$PWD/stringlisteditor.ui \
diff --git a/tools/designer/src/lib/shared/shared.pri b/tools/designer/src/lib/shared/shared.pri
index 9d50911..b07f565 100644
--- a/tools/designer/src/lib/shared/shared.pri
+++ b/tools/designer/src/lib/shared/shared.pri
@@ -2,7 +2,17 @@
INCLUDEPATH += $$PWD
contains(QT_CONFIG, script): QT += script
-include(../../../../shared/qtpropertybrowser/qtpropertybrowserutils.pri)
+# When linking dynamically, use only the QKeySequenceEdit widget of
+# the property browser solution as the other symbols of the property
+# browser solution must not be duplicated (see e7762b60d51). When linking
+# statically, add the property browser solution to make the library self-contained
+# and use only the include path in the property editor (see propertyeditor.pri)
+
+contains(CONFIG, static) {
+ include(../../../../shared/qtpropertybrowser/qtpropertybrowser.pri)
+} else {
+ include(../../../../shared/qtpropertybrowser/qtpropertybrowserutils.pri)
+}
include(../../../../shared/deviceskin/deviceskin.pri)
include(../../../../../src/tools/rcc/rcc.pri)
include(../../../../shared/findwidget/findwidget.pri)