| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Chromium in particular the bundled FFMPEG does not build on ARMV7
with thumb disabled. Since thumb should always be available on ARMv7 just
ignore possible -marm in QMAKE_CFLAGS in that case.
Task-number: QTBUG-57037
Change-Id: I09380839dddb97f64fb35ed749e5af0d002fa5fa
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
| |
Wrap unused parameters.
Change-Id: Iac550783a55b3fc585db6f7b8241aa2ae89fdf2e
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
| |
Commit e2541ebdfadea0fe43baac748cfa9e07f3b57215 introduced an unguarded
reference to QOpenGLContext. Guard it with the appropriate flags.
Task-number: QTBUG-57374
Change-Id: Ic9f0cc3c99aabd52813d8b828f1a51ca6871d4b4
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
It is not always possible to pass random flags to any QtWebEngine
application, so we should allow another way of setting Chromium flags.
Among other things this makes it easy to set flags when running auto
tests.
Change-Id: I7ffb3bf8c9ceafc7d6b1bd2ba135643a687e480f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
| |
Change-Id: I2482a570f7c22b5cff5ce217dbece1746441961e
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove RenderViewObserverHostQt_DidFirstVisuallyNonEmptyLayout message
and use WebContentsObserver::DidFirstVisuallyNonEmptyPaint instead.
- The order of the DidFirstVisuallyNonEmptyPaint and
OnSwapCompositorFrame events is not guaranteed. Check for both events to
do not miss to send any loadVisuallyCommitted signal.
Change-Id: Ic733b3e9a6fae64b1d827e8e07514f180273cf8c
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Both the printer code and the webengine printing code were
producing the number of requested copies. So if n copies were
requested, n*n copies of the document were printed.
Task-number: QTBUG-56722
Change-Id: I34bce2d61041e1234139139dcd70b7b3d1c7cd7b
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
This moves the actual printing using QPrinter to the WebEngineWidgets
part of the API.
The printsupport module depends on the widgets module and therefore
QtWebEngineCore also had a dependency to widgets. This is removed by
this change.
Change-Id: If6e5745709a59de18f2123b930cbe6e64390c867
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
src/3rdparty
Change-Id: Ib9c9eca457c1c42dab948e6cb56d44b57d5da32a
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
src/core/api/qwebengineurlrequestinfo.cpp
src/core/api/qwebengineurlrequestinfo.h
src/core/core_gyp_generator.pro
Change-Id: I5c78f0c86f6dcd61697148f0729d3d3a2cb2c76f
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
[ChangeLog][Important Changes] The enum value ResourceTypeUnknown has changed
value since there was a mismatch between 5.6 and 5.7+ definitions. In general
any unknown ResourceType value should handled as unknown for forward
compatibility, since more types are and can be added in later Qt versions.
Change-Id: I0a9f8a2129d4549deeae01e199f432fbbf1bbb9e
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Register Qt IPC messages for logging. The usage of
content::RegisterIPCLogger function adds the
content_common.content_ipc_logging.o to the link dependency. Thus it
will register the Chromium Content IPC messages too.
Task-number: QTBUG-57224
Change-Id: I2c45691feb22a34f6074940cc35b8a4ba7804370
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously when a QWebEngineView was inside a modal QDialog, trying to
click on a select tag option did not properly select the option. It
either focused the new option without closing the popup, or didn't
focus it at all.
Fix consists in making sure the newly created popup QWindow and
RenderWidgetHostViewQtDelegateWidget are marked as children of the
QWebEngineView, so that they are considered part of the current modal
session by the OS, thus allowing user interaction with them.
Because the ownership of the delegate widget should still be retained
by its respective RenderWidgetHostViewQt instance, the QObject parent
of the delegate is unset before the parent is destroyed.
Also to make it work on macOS, the window attribute has to be set
to Qt::Tool instead of Qt::ToolTip.
Change-Id: I56d6f446254a624428a0c661ac3c49eb409c931e
Task-number: QTBUG-54836
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
| |\ \
| | | |
| | | |
| | | | |
Change-Id: Ifcf7423fa8d892ddad595300e33a09c7f63f5e6e
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Pulls in the security fix from Chrome 54.0.2840.87
Change-Id: I70064927cba01b7978742951ba0636b780d9eb68
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In case of dynamic OpenGL on Windows this ends on
calling QWindowsIntegration::staticOpenGLContext() from MainDll
which in case of angle will end up badly.
Add warning message when webengine is loaded from plugin
and context is not initialized.
Task-number: QTBUG-52201
Task-number: QTBUG-55501
Task-number: QTBUG-56020
Change-Id: I03570cad5f686c4a63910c71136bf3eb9499f223
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Pulls in security fixes from the Chromium 54.0.2840.59 release,
Changes included:
- Fix renderer crash on null family strings
- [Backport] Blink-in-JS should not run micro tasks
- [Backport] Disallow reentrance of FrameView::updateLifecyclePhasesInternal()
- [Backport] Check CORS policy on redirect in TextTrackLoader
- [Backport] Keep top controls visible if SHOW is called right after HIDE.
- [Backport] Merge to 2840 "[DevTools] Avoid current_ and pending_ being the same host in RenderFrameDevToolsAgentHost."
- [Backport] Enable do not allow default action for untrusted events.
- [Backport] Compare font-feature-settings as part of Font::operator==().
- Stop the flood of accessibility messages
- [Backport] Fix for hitting an assert when refreshing a page with an image
- [Backport] Report the decoded size to ImageObserver, instead of deltas
Change-Id: I142cc070ba7fb215e4a5b9c162852b583dab9784
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Check whether iconUrls is NULL before calling contains(iconUrl) on it,
which, under certain circumstances, caused a SEGFAULT.
Task-number: QTBUG-56330
Change-Id: Ia167d68a4c4d62af4740a8cbab2686bfbc975455
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I6803569bd7bee4bf8eb94f61771ea2a318eb752b
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
For some reason the OpenGL context wayland QPA sets has no nativeHandle,
so we end up crashing in strcmp.
Assume a context without nativeHandle is Wayland or other GLES2 platform
and also force GLES2 when using Ozone.
Change-Id: Ia3fc524f3ffbb278d86f9153ec96c7258ef86656
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If QIODevice has a size we can pass that on as expected size. This
fixes media playback where Chromium does not always support streaming
outside of HTTP or HTTPS.
Task-number: QTBUG-57139
Change-Id: Ie8bf96b1f7f6af80fe707936055620d154c3ef2d
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Older harfbuzz versions like the one bundled with Ubuntu 16.04 cause
crashes of Qt WebEngine applications. Use the bundled copy although
Qt was configured with -system-harfbuzz in those scenarios.
Task-number: QTBUG-56895
Change-Id: I8fad6754447ba32c3630e6772ca2ae6d4fd710c1
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This change pipes the already supported Qt sanitize options to
Chromium, so the Chromium build system adds the correct compiler
sanitizer flags.
The change also checks whether the requirements to build a sanitizer
enabled Chromium are met (currently works properly on macOS with an
Apple clang >= 7.3.1, and on Linux with clang + libc++).
Change-Id: Ibab2d5735935ddc92226575fc0e9f5912b807329
Task-number: QTBUG-52656
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Make minimal changes so QtWebEngineCore 5.8 still builds with Qt LTR.
Change-Id: Iae3ae606b3457a6ca311ae174b3d2a331e9b20bc
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I988eead2a65a3aa657864631d1d87b9d9a4f0ab3
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously the prefix was hardcoded to "/usr". Now the current
environment clang path is considered instead.
Change-Id: I23173bb31591dfb6df7a81a37a58502dd6b12886
Task-number: QTBUG-52656
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I35a5c815c9f2b3ebacb5991ba6645641b17db2db
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Replace deprecated v8::Object::ForceSet by v8::Object::DefineOwnProperty
as it is suggested by the V8 API.
Change-Id: I8c49999d391149676daf42784b796fa01918874f
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Task-number: QTBUG-56353
Change-Id: I9c5dc3a6ba4e6b08ecbb4e44d38a53d24010807b
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|\ \ \ \ |
|
| |\| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Conflicts:
src/core/content_browser_client_qt.cpp
src/core/content_browser_client_qt.h
src/core/gl_surface_qt.cpp
src/core/print_view_manager_qt.cpp
src/core/web_contents_delegate_qt.cpp
src/core/web_engine_context.cpp
src/webengine/doc/src/qtwebengine-overview.qdoc
src/webengine/doc/src/qtwebengine-platform-notes.qdoc
src/webenginewidgets/render_widget_host_view_qt_delegate_widget.cpp
src/webenginewidgets/webenginewidgets.pro
sync.profile
Change-Id: I44495f4d899580c882d6b86d68d7f6b77c8e91f6
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We fail to load pages that supports client certificates because we
didn't implement the client certificate selection.
This patch makes a small implementation that selects no certificate
whenever a client certificate is requested.
Task-number: QTBUG-56206
Change-Id: I95394d9664c7e8e4d03d9e63e5043da81e2672a4
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Use resourceForIntegration to get egldisplay since not all QPA return a
egldisplay for context (in particular xcb_egl).
Implement EGL fallback for linux desktop builds, to make Wayland work
without an X11 server present.
Change-Id: Idcead42250fa00a36e50c082711f5618fd213556
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
| | |\ \ \
| | | | |/
| | | |/|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Needed to update QWebEnginePagePrivate to match modified
WebContentsAdapter API in 5.7.
Conflicts:
src/webenginewidgets/api/qwebenginepage.cpp
Change-Id: If3da3b4db9dc27e5d6aae1e31a4e7b45c435697e
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
It used to be just ignored.
Task-number: QTBUG-56643
Change-Id: Ife7ac05fce7e93a6eba1ac6e6db1095574c83e42
Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Client-side buffer integration can be set manually, therefore
beside accepting generic wayland plugin accept also wayland-egl.
Change-Id: I8269f117f81cf8bb9462bea525cb253727910bc6
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Also apply a4b04e4c on src/webengine/doc/src/qtwebengine-deploying.qdoc,
use the macro \macos.
Conflicts:
src/core/media_capture_devices_dispatcher.cpp
src/webengine/doc/src/qtwebengine-deploying.qdoc
src/webengine/doc/src/qtwebengine-platform-notes.qdoc
Change-Id: Ia6092a56bfe23da7c06f5389718ebbc9b78ef820
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Since version 54, the chromium distribution package does not contain
the pepper flash plugin anymore. Because of this, the plugin cannot
be installed using the Ubuntu package "pepperflashplugin-nonfree"
anymore (because the package pulled the plugin from the chromium
distribution).
The plugin is also contained in the package adobe-flashplugin, which
installs the file to /usr/lib/adobe-flashplugin/libpepflashplayer.so.
[ChangeLog] Pepper flash is now also searched in /usr/lib/adobe-flashplugin/
Change-Id: I7c135a2eac1628b0d338bbfed07695c9578458e6
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
As of version 10.12 (Sierra), the name of Apple's desktop operating
system will be macOS. Change all occurrences where the Mac platform
is discussed to use the macro \macos (defined in the documentation
configuration in qtbase), except in link targets where QDoc does
not expand macros.
Change-Id: Icad4e7817d93b9e7b0e1a9a13a8618b3341ab2ba
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The Q_UNREACHABLE caused WebEngine to block Pepper Flash from
accessing Media Devices such as the WebCam (this rendered
http://testwebcam.com unusable for example)
Task-number: QTBUG-55017
Change-Id: I7979c9a5690173e86310f7448c78949371fbc909
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In case an OpenGL context can not be created we can try running in
software compositing mode. This should have a much better chance of
working as a fallback.
Change-Id: Icaab24dde8f4b6c8ea4023cf36b0bb679143166f
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Delete the FilePickerControl object after we're done with it, analog to
what the QtQuick UIDelegatesManager does.
Change-Id: Id5ef6666c8536b9e5c6877cd522b4c20adae37e5
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Task-number: QTBUG-56645
Change-Id: I16ca76d3a26d0142846b068cc1ba52bee71cf106
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The position of the IME window is computed using the widget input item
transform. When a regular QWidget gets a focusIn event, the input item
transform is recomputed inside the
QWidgetPrivate::updateWidgetTransform method. This did not happen
for the QWebEngineView, because the focus event is handled internally
and not passed down to QWidget::event.
Fix consists in calling updateWidgetTransform manually whenever the
view receives focus.
The other cases when updateWidgetTransform should be called (namely
resize and move events) are handled properly by delegating to
QWidget::event.
Task-number: QTBUG-55634
Change-Id: Ic93662929e169d860f8ca567f1955da4dc45f9fe
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Task-number: QTBUG-56870
Change-Id: I36338a1a29bc4e82f5c84cfa1ea641b8df3b5f4f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This was left out by oversight.
Task-number: QTBUG-56710
Change-Id: Ie23229396eb94b949212324fb50022763935d524
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Suppose the user overrides QWebEngineView::dragEnterEvent without
calling the base implementation and without overriding dragLeaveEvent.
Then our implementation will notify chromium about the drag leave
without having ever seen a drag entering and crash. Only notify chromium
about leave/drop/move events if we've notified it about the drag enter
before. Also, catch the case where the user overrides dragLeaveEvent
without calling the base implementation.
Task-number: QTBUG-54896
Change-Id: Ib958040e5fa7ecab86bac9b724d478c81a521fcc
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The method WebContentsAdapter::updateDragPosition actively waits for the
UpdateDragCursor message, sent by the renderer. This active wait does
not work whenever we're currently in a base::MessageLoop::RunTask call,
because of its internal recursion guard nestable_tasks_allowed. Add a
check for nestable_tasks_allowed and bail out if we know that the active
wait will fail. This fixes the hang.
Ensure that the modal file picker dialog is shown outside of
base::MessageLoop::RunTask. This enables drag 'n drop updates from the
file picker to QWebEngineView.
Task-number: QTBUG-56488
Change-Id: Ia13ada9c19e7780e12ca633ab1caeac352aca2a9
Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Adds a number of missing load url parameters following the example
of the shell and android webviews in Chromium.
Change-Id: Ice27ab3efc550b8b7cfa6a5386aaf09574428a56
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Check if the opposite flag has been given by the user before adding our
own defaults.
Task-number: QTBUG-56432
Change-Id: I7d6b8fed2c3e20405e3986f9afeb2193751a93f3
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|