Skip to content

Commit 53df50a

Browse files
author
Qt Forward Merge Bot
committed
Merge remote-tracking branch 'origin/5.11.2' into 5.11
Change-Id: Idee34fa6d4cc54effd84d3b78e3666fa7fcce8db
2 parents d4ef262 + 6426f1e commit 53df50a

File tree

9 files changed

+109
-31
lines changed

9 files changed

+109
-31
lines changed

config.tests/xml2/xml2.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@
2727
****************************************************************************/
2828

2929
#include <libxml/xmlversion.h>
30-
#if defined(LIBXML_CATALOG_ENABLED)
31-
#error "libxml catalog enabled"
32-
#endif
3330
#if !defined(LIBXML_ICU_ENABLED)
3431
#error "libxml icu not enabled"
3532
#endif

dist/changes-5.11.2

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
Qt 5.11.2 is a bug-fix release. It maintains both forward and backward
2+
compatibility (source and binary) with Qt 5.11.0 through 5.11.1.
3+
4+
For more details, refer to the online documentation included in this
5+
distribution. The documentation is also available online:
6+
7+
http://doc.qt.io/qt-5/index.html
8+
9+
The Qt version 5.11 series is binary compatible with the 5.10.x series.
10+
Applications compiled for 5.10 will continue to run with 5.11.
11+
12+
Some of the changes listed in this file include issue tracking numbers
13+
corresponding to tasks in the Qt Bug Tracker:
14+
15+
https://bugreports.qt.io/
16+
17+
Each of these identifiers can be entered in the bug tracker to obtain more
18+
information about a particular change.
19+
20+
****************************************************************************
21+
* Qt 5.11.2 Changes *
22+
****************************************************************************
23+
24+
Chromium
25+
--------
26+
27+
- Security fixes from Chromium up to version 68.0.3440.75, including:
28+
* CVE-2018-4117
29+
* CVE-2018-6150
30+
* CVE-2018-6152
31+
* CVE-2018-6155
32+
* CVE-2018-6158
33+
* CVE-2018-6159
34+
* CVE-2018-6161
35+
* CVE-2018-6162
36+
* CVE-2018-6163
37+
* CVE-2018-6164
38+
* CVE-2018-6165
39+
* CVE-2018-6167
40+
* CVE-2018-6168
41+
* CVE-2018-6172
42+
* CVE-2018-6175
43+
* CVE-2018-6177
44+
* Security Bug 683418
45+
* Security Bug 831117
46+
* Security Bug 838886
47+
* Security Bug 839197
48+
* Security Bug 840695
49+
* Security Bug 854887
50+
* Security Bug 860721
51+
* Security Bug 861571
52+
53+
54+
General
55+
-------
56+
57+
* [QTBUG-59891] Popups are now closed when parent window is moved.
58+
* [QTBUG-67801] Fixed assert with some AMD CPUs on Windows.
59+
* [QTBUG-68699] Fixed another crash with non-integer Qt scaling.
60+
* [QTBUG-69231] Fixed keyboard modifiers on drop events.
61+
* [QTBUG-69236] Fixed --enable-webgl-software-rendering to ignore blacklist
62+
of software OpenGL.
63+
* [QTBUG-69359] Fixed crash in DevTools openInNewTab handling
64+
* [QTBUG-69372] QWebEngineUrlRequestJob::initiator() now differs
65+
between unique origins and unknown origins.
66+
* [QTBUG-69605] HSTS state is now persistent with appropriate profiles.
67+
* [QTBUG-69639] Work around MSVC compiler error affecting printing on
68+
32-bit Windows.
69+
* [QTBUG-69904] JavaScript worldID can now be up to 256 (up from 11),
70+
and the limit is now documented.
71+
* [QTBUG-70034] Fixed qtwebengine_convert_dict failing on certain
72+
dictionaries.
73+
74+
Build
75+
-----
76+
77+
* [QTBUG-50554] Update libvpx check to match standard versions.
78+
* [QTBUG-69121] Fixed shadow builds on read-only sources.

src/3rdparty

Submodule 3rdparty updated 28 files

src/core/web_engine_context.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ bool usingSoftwareDynamicGL()
186186
{
187187
if (QCoreApplication::testAttribute(Qt::AA_UseSoftwareOpenGL))
188188
return true;
189-
#if defined(Q_OS_WIN)
189+
#if defined(Q_OS_WIN) && !defined(QT_NO_OPENGL)
190190
HMODULE handle = static_cast<HMODULE>(QOpenGLContext::openGLModuleHandle());
191191
wchar_t path[MAX_PATH];
192192
DWORD size = GetModuleFileName(handle, path, MAX_PATH);

src/webengine/api/qquickwebenginescript.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ QT_BEGIN_NAMESPACE
8686
/*!
8787
\enum QQuickWebEngineScript::ScriptWorldId
8888
89-
The world ID defining which isolated world the script is executed in.
89+
The world ID defining which isolated world the script is executed in. Besides these predefined
90+
IDs custom IDs can be used, but must be integers between \c 0 and \c 256.
9091
9192
\value MainWorld
9293
The world used by the page's web contents. It can be useful in order to expose custom

src/webengine/doc/src/webengineview_lgpl.qdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@
365365
\since QtWebEngine 1.3
366366

367367
JavaScript world that the web channel instance used by this view is
368-
installed in.
368+
installed in. The world must be a number between \c 0 and \c 256.
369369
*/
370370

371371
/*!

src/webenginewidgets/api/qwebenginescript.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,8 @@ quint32 QWebEngineScript::worldId() const
224224

225225
/*!
226226
Sets the world ID of the isolated world to \a id when running this script.
227+
228+
Must be between \c 0 and \c 256.
227229
*/
228230
void QWebEngineScript::setWorldId(quint32 id)
229231
{

src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -718,9 +718,9 @@
718718
\since 5.7
719719

720720
Runs the JavaScript code contained in \a scriptSource in the world specified by \a worldId.
721-
The world ID values are the same as provided by QWebEngineScript::ScriptWorldId. Using the
722-
\e runJavaScript() versions without the world ID is the same as running the script in the
723-
\c MainWorld.
721+
The world ID values are the same as provided by QWebEngineScript::ScriptWorldId, and between \c 0
722+
and \c 256. Using the \e runJavaScript() versions without the world ID is the same as running the
723+
script in the \c MainWorld.
724724

725725
When the script has been executed, \a resultCallback is called with the result of the last
726726
executed statement. \c resultCallback can be any of a function pointer, a functor or a lambda,

tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2338,9 +2338,9 @@ void tst_QWebEngineView::imeJSInputEvents()
23382338

23392339
// Simply committing text should not trigger any JS composition event.
23402340
QTRY_COMPARE(logLines().count(), 3);
2341-
QCOMPARE(logLines()[0], "[object InputEvent] beforeinput commit");
2342-
QCOMPARE(logLines()[1], "[object TextEvent] textInput commit");
2343-
QCOMPARE(logLines()[2], "[object InputEvent] input commit");
2341+
QCOMPARE(logLines()[0], QStringLiteral("[object InputEvent] beforeinput commit"));
2342+
QCOMPARE(logLines()[1], QStringLiteral("[object TextEvent] textInput commit"));
2343+
QCOMPARE(logLines()[2], QStringLiteral("[object InputEvent] input commit"));
23442344

23452345
evaluateJavaScriptSync(view.page(), "clear()");
23462346
QTRY_VERIFY(evaluateJavaScriptSync(view.page(), "log.textContent + input.textContent").toString().isEmpty());
@@ -2354,10 +2354,10 @@ void tst_QWebEngineView::imeJSInputEvents()
23542354
}
23552355

23562356
QTRY_COMPARE(logLines().count(), 4);
2357-
QCOMPARE(logLines()[0], "[object CompositionEvent] compositionstart ");
2358-
QCOMPARE(logLines()[1], "[object InputEvent] beforeinput preedit");
2359-
QCOMPARE(logLines()[2], "[object CompositionEvent] compositionupdate preedit");
2360-
QCOMPARE(logLines()[3], "[object InputEvent] input preedit");
2357+
QCOMPARE(logLines()[0], QStringLiteral("[object CompositionEvent] compositionstart "));
2358+
QCOMPARE(logLines()[1], QStringLiteral("[object InputEvent] beforeinput preedit"));
2359+
QCOMPARE(logLines()[2], QStringLiteral("[object CompositionEvent] compositionupdate preedit"));
2360+
QCOMPARE(logLines()[3], QStringLiteral("[object InputEvent] input preedit"));
23612361

23622362
{
23632363
QList<QInputMethodEvent::Attribute> attributes;
@@ -2368,11 +2368,11 @@ void tst_QWebEngineView::imeJSInputEvents()
23682368
}
23692369

23702370
QTRY_COMPARE(logLines().count(), 9);
2371-
QCOMPARE(logLines()[4], "[object InputEvent] beforeinput commit");
2372-
QCOMPARE(logLines()[5], "[object CompositionEvent] compositionupdate commit");
2373-
QCOMPARE(logLines()[6], "[object TextEvent] textInput commit");
2374-
QCOMPARE(logLines()[7], "[object InputEvent] input commit");
2375-
QCOMPARE(logLines()[8], "[object CompositionEvent] compositionend commit");
2371+
QCOMPARE(logLines()[4], QStringLiteral("[object InputEvent] beforeinput commit"));
2372+
QCOMPARE(logLines()[5], QStringLiteral("[object CompositionEvent] compositionupdate commit"));
2373+
QCOMPARE(logLines()[6], QStringLiteral("[object TextEvent] textInput commit"));
2374+
QCOMPARE(logLines()[7], QStringLiteral("[object InputEvent] input commit"));
2375+
QCOMPARE(logLines()[8], QStringLiteral("[object CompositionEvent] compositionend commit"));
23762376

23772377
evaluateJavaScriptSync(view.page(), "clear()");
23782378
QTRY_VERIFY(evaluateJavaScriptSync(view.page(), "log.textContent + input.textContent").toString().isEmpty());
@@ -2386,10 +2386,10 @@ void tst_QWebEngineView::imeJSInputEvents()
23862386
}
23872387

23882388
QTRY_COMPARE(logLines().count(), 4);
2389-
QCOMPARE(logLines()[0], "[object CompositionEvent] compositionstart ");
2390-
QCOMPARE(logLines()[1], "[object InputEvent] beforeinput preedit");
2391-
QCOMPARE(logLines()[2], "[object CompositionEvent] compositionupdate preedit");
2392-
QCOMPARE(logLines()[3], "[object InputEvent] input preedit");
2389+
QCOMPARE(logLines()[0], QStringLiteral("[object CompositionEvent] compositionstart "));
2390+
QCOMPARE(logLines()[1], QStringLiteral("[object InputEvent] beforeinput preedit"));
2391+
QCOMPARE(logLines()[2], QStringLiteral("[object CompositionEvent] compositionupdate preedit"));
2392+
QCOMPARE(logLines()[3], QStringLiteral("[object InputEvent] input preedit"));
23932393

23942394
{
23952395
QList<QInputMethodEvent::Attribute> attributes;
@@ -2399,11 +2399,11 @@ void tst_QWebEngineView::imeJSInputEvents()
23992399
}
24002400

24012401
QTRY_COMPARE(logLines().count(), 9);
2402-
QCOMPARE(logLines()[4], "[object InputEvent] beforeinput ");
2403-
QCOMPARE(logLines()[5], "[object CompositionEvent] compositionupdate ");
2404-
QCOMPARE(logLines()[6], "[object TextEvent] textInput ");
2405-
QCOMPARE(logLines()[7], "[object InputEvent] input null");
2406-
QCOMPARE(logLines()[8], "[object CompositionEvent] compositionend ");
2402+
QCOMPARE(logLines()[4], QStringLiteral("[object InputEvent] beforeinput "));
2403+
QCOMPARE(logLines()[5], QStringLiteral("[object CompositionEvent] compositionupdate "));
2404+
QCOMPARE(logLines()[6], QStringLiteral("[object TextEvent] textInput "));
2405+
QCOMPARE(logLines()[7], QStringLiteral("[object InputEvent] input null"));
2406+
QCOMPARE(logLines()[8], QStringLiteral("[object CompositionEvent] compositionend "));
24072407

24082408
evaluateJavaScriptSync(view.page(), "clear()");
24092409
QTRY_VERIFY(evaluateJavaScriptSync(view.page(), "log.textContent + input.textContent").toString().isEmpty());

0 commit comments

Comments
 (0)