| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Rename all uses of wasRecentlyAudible to recentlyAudible.
Add missing recentlyAudible properties.
Change QtQuick slots to simple functions.
Change affected demobrowser example.
Adjust documentation for the API.
Change-Id: I5a6f7b8384c0b7e34afaa5c412a5543c210d3ef9
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I46805d8956815e4d691afd05a69ff16d6a86ad6b
Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com>
|
|
|
|
|
|
| |
Change-Id: I143c1ff7556777813387b664a59bafba1c9a3a58
Task-number: QTBUG-51808
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
Add docs for ResourceTypeCspReport and ResourceTypePluginResource
Task-number: QTBUG-51808
Change-Id: Id8b0f90f201670a927caf67e6cdff1ade211ebdc
Reviewed-by: Florian Bruhin <qt-project.org@the-compiler.org>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
Instead of hard-coding en-US as the default, read the Qt default and use
that.
Change-Id: I118d2e7b9b4486dd32b2ccbd42c90bc1cee2257f
Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The qputenv() call inside gl_surface_qt.cpp, which is executed on a
GpuChildThread, can reallocate the process environment structure,
and it is possible that at the same time the main thread calls getenv,
which will dereference a pointer to the freed environment structure,
essentially causing a use-after-free crash.
Make sure the qputenv() call happens before Chromium initialization
starts, so no thread-race can occur.
Change-Id: I4ecbdc8bf2abbe45f7d6c5d2633dc9fe27f51e66
Task-number: QTBUG-52124
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For QWebEnginePage users to be able to make custom context menu or
extend the default context menu, they need information about the
context.
This patch adds a QWebEngineContextMenuData class that contains
contextual information when a context menu is being requested.
This is also means we can finally generate a custom context-menu in
the demobrowser the same way we did in QtWebKit.
Task-number: QTBUG-51079
Change-Id: I695b8cbf648bdc7f119b0ed51ab685cf2f8de8e4
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
|
|
|
|
|
|
| |
Change-Id: I8e4b11089de29623ed39ec6b13fe30be734baa3e
Task-number: QTBUG-51179
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the --no-sandbox option when starting the Chromium render
process and set --disable-setuid-sandbox, so that on Linux a SetUID
sandbox is not used, because Qt WebEngine does not have a separate
SetUID binary.
Task-number: QTBUG-50708
Change-Id: Ibadfc6e25c89bd99ec8aa20dc15de4688c35d386
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|\ |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
src/3rdparty
src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc
Change-Id: I90728e965399e51b626d538924de955f9abab5fe
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I71006b596b985acbfeec883d63de67959d0b8bdb
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We should initialize base::CPU to get it a chance to read /proc/cpuinfo
when IO operations are allowed. So it prevents the following error
on ARM platform:
```
[0204/071425:FATAL:thread_restrictions.cc(38)] Function marked as
IO-only was called from a thread that disallows IO! If this thread
really should be allowed to make IO calls, adjust the call to
base::ThreadRestrictions::SetIOAllowed() in this thread's startup.
```
In the same manner it is done in ChromeMainDelegate::PreSandboxStartup.
Change-Id: I1facd9d856a8dbfdf03ddbb1ab8d76d2efe69050
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Task-number: QTBUG-51774
Change-Id: I609cfbd9304a396ab57c1479c7f4d3be8a379b94
Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously it was hardcoded to 10.7 which caused two issues:
1) It's not the proper version anymore, the minimum required is 10.10.3.
2) In case if there are 2 SDK versions present on the host machine
(eg 10.10 and 10.11), if Qt was compiled with 10.11, GYP would still
pick up 10.10 as the minimum viable one for compilation.
Change-Id: If815a81696d96a7d5f5f20464385235032b664c3
Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
When the option is enabled, a GYP variable is set that will result in
removing private API calls in Chromium.
Task-number: QTBUG-51072
Change-Id: If8835ce74bf5db94c17b68ebeb396cae9cc10553
Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| | |
Also corrects and updates the printToPDF docs to reflect recent changes.
Change-Id: Iffe276a1046d6d55923939f9d72b97cd533017ff
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|\ \ |
|
| |\|
| | |
| | |
| | | |
Change-Id: Ieab3c4a6d16b1d7b7c0243ff8898f81807e7b1fc
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Parses MIPS architecture information on from qmake to gyp.
Task-number: QTBUG-51580
Change-Id: Icdd164aa1379b7f0b93773cb061f95f204db8494
Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit c5957ac90cbaccccbd58b3fc73f94cf0d4795e54.
It was based on the assumption that we remove system ICU,
which got removed in commit 94b550ebee2858756a293aacf7e78e7ce11bb9c9.
Task-number: QTBUG-51156
Change-Id: I7ac1adb414d250b2887af936ae3dc74a919a0890
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Do not try to find icudt.dat if we use system ICU. This
avoids warnings like
Qt WebEngine ICU data not found at /usr/share/qt5/resources. Trying parent directory...
Qt WebEngine ICU data not found at /usr/share/qt5. Trying application directory...
Qt WebEngine ICU data not found at /bin. Trying fallback directory... The application MAY NOT work.
on every startup, e.g. for embedded linux. The defines and macros
are the same as in chromium.
Task-number: QTBUG-51156
Change-Id: I6c24b73cca88020504489695e889f49c5d7be424
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If we use the system ICU we do not need to care about loading
the data file.
Task-number: QTBUG-51156
Change-Id: I9f9c61c39db50663105e99af001c7e9f56322717
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I8a31a83c996761e3997e5efa44aeaad04f24375f
Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This will make them indexed by Qt Creator, but may make launching on
a non-SSD slower.
Change-Id: Ifa6e54c06ef06f68fa277a408fa7b0783d715199
Reviewed-by: Alexandru Croitor <alexandru.croitor@theqtcompany.com>
Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This class was introduced to track accepted certificate errors.
Our lack of implementation caused a regression in certificate error
handling.
Task-number: QTBUG-51319
Change-Id: Idf3314fd17a5f9cb13a4513a3ccdb40954519c0d
Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We don't call the callback in case the error can't be allowed anyway,
so we should tell the caller right away the error was denied.
Task-number: QTBUG-50581
Change-Id: I8fcd72b7fbab5a8cbaffba95c6f97777c301cb64
Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Change-Id: I56a109c9071ef581c6a51b5b7b8ce5a2464c6a76
Task-number: QTBUG-51179
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fixes the issue in a similar fashion to what Chromium is doing
in chrome/browser/download/download_target_determiner.cc.
PluginService::GetPlugins is the only way that the plugin info can
be loaded. Since we can't do it on demand from the IO thread in a
synchronous handler, do explicitly during the WebEngineContext
initialization.
Task-number: QTBUG-50132
Change-Id: I8ed796b541c880caf8546230b3a5011047eb0fe3
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I43c545d1600bebabf6b94209beb91b3d3c4cd244
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|/ /
| |
| |
| |
| |
| |
| | |
Search for protobuf library and compiler, and use them if found.
Change-Id: I310eca661ed2dda14349e84a6769d2ae79ffb7c5
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Chromium 49 switched to using SyncToken, making our old model based on
sync-points obsolete. This patch rewrites our syncing to instead take
advantage of new Chromium API for waiting on sync tokens. It also
moves the creation of the GLFences we use out of Chromium.
Task-number: QTBUG-51173
Change-Id: I04d726d4bc81bf6b7fe39bb2b5507e84a0b6991e
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After upgrading to Chromium 49 we no longer get the last progress
signal with 100% completed.
Task-number: QTBUG-51173
Change-Id: I304e8833a0e707199cfa56a078b0c4d79c1b5c30
Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Blink now handles those rules, which means we don't have to. It however
also means 'name' now contains inner-text like it is supposed to on
paragraph elements.
Task-number: QTBUG-51173
Change-Id: I5afbd56ac5787bbdac96e5a83af150ccbcac37e2
Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This doesn't appear used yet, and our implementation mirrors that of the
Android WebView.
Task-number: QTBUG-51173
Change-Id: I53396b8b97febd45441cf0add54de4f47b289348
Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Converts types, callbacks and headers to match Chromium 49.
Task-number: QTBUG-51173
Change-Id: I544ef46e187105e250fea1b48b72d2c81a906640
Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The multi megabyte ICU assembler files are now omitted, as we instead
either generate data files or use system ICU.
Task-number: QTBUG-51173
Change-Id: I7c7594be08876751ffd73171550000a28399954f
Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We need blink to be initialized before we can rely on scheme registering
to work.
This should fix race-conditions of qrc as secure registrations.
Change-Id: Icd4334a6ff74671bec2ccc506336d0e073d9ca39
Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
We keep running out of memory during linking and must skip building on
32-bit architectures until that problem is solved.
Change-Id: Ib0b465cb033df0112133eb256adeb498d260da7f
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| | |
We were setting it to both 1 and 2.
Change-Id: I1b2a063d06e3cb664ae587dd6dc78fa589297c4b
Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
|
|\|
| |
| |
| | |
Change-Id: If884b8b8bc087a6a726476b49cdb48a0efaa173e
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Chromium now places the icons used by blink in a different resource
that we need to include.
Change-Id: I0af79c1888482b23716fa634efdb38ed2114ec1b
Task-number: QTBUG-50671
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On Windows, when exiting the IME by pressing a cursor key or clicking
into the edit field, we do not receive an QInputMethodEvent with a
commitText. Instead, we get an empty QInputMethodEvent and a
key{Press|Release}Event pair with a key of zero. The committed text
is in the event's text property.
Do not call ImeConfirmComposition for the empty QInputMethodEvent
but for the later keyReleaseEvent. Do not forward those key events.
Change-Id: I844aa05493aca4c388a8b1de835baf2a819558f5
Task-number: QTBUG-50252
Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In case of two individual screens on X11 qt global shared
context is not shared. Copy the textures between contexts using
FBO and system memory.
Task-number: QTBUG-48969
Change-Id: I07d9d5e27917fd63064215b4eb1d0b134065bd43
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The Viewport Meta is enabled in Android so we ought to do the same for
Qt's embedded platform.
Task-number: QTBUG-50903
Change-Id: I0d5aab42e740cc00eb2d9111953577019211bf11
Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
RenderFrameDeleted was called before DidFinishLoad, which meant
m_loadingErrorFrameList was empty and wouldn't detect the page loaded
was an error page. Instead this patch relies on the chromium error-page
url which we already asserted.
Additonally we delay emitting the loadFinished signal until the error
page is also done loading, since the error-page can be considered part
of the load, and we otherwise have a race condition on toPlainText.
Finally we were not getting error-pages when blocking requests because
we reported them as aborted them instead of blocked.
Change-Id: I945eb838b7f080d4e146f18354e8986e1b88b5cd
Task-number: QTBUG-50752
Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adds a WEBENGINE_CONFIG option that greatly reduces the size of the core
library (from 80Mbyte to 45Mbyte on Linux), and enable it on embedded
linux by default.
Change-Id: Ieb7afdbc160984fe5952be16dfbc96aa8c5f35ef
Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |
| |
| |
| |
| | |
Change-Id: I48141d07e9744bb21d64a5c8724579cb469ba35c
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| | |
These classes can operate user stylesheets too.
Change-Id: Ia283af92e52a822b26003ff65e0e7dc391b0904d
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Also adds Qt specific core classes for printing as well as adding
printing related objects to the web engine context and including
the printing sources in the builds for the desktop platforms.
Also updates src/3rdparty submodule SHA-1.
Change-Id: I9c2631c59f63571c0840d838077e66122bacc741
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
|