summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add license header5.10Kai Koehne2018-02-061-0/+28
| | | | | | | Add license header to file added in commit f0c5f3306fadc. Change-Id: I4343f74857f8afdca277666a206d08d7a1167bbf Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Disable failing developer build tests for QemuSami Nurmenniemi2018-02-051-2/+2
| | | | | | Task-number: QTBUG-63152 Change-Id: I7016195c43ba308153d4748a6f9837f1772e762d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix crashes of url load qml testsMichal Klocek2018-01-313-25/+36
| | | | | | | | | | | | | | | | | | | | | Currently we can get QuickWebEngineViewPrivate::loadFinished while still being in RenderFrameHostImpl::OnDidStopLoading, unfortunately if user connects onLoadingChanged signal with new url load request this will end up in DiscardUnusedFrame and delete on RenderFrameHostImpl which is still on the bottom of the stack. Use QTimer::singleShot to return to the event loop before emitting load handling signals. Post all load handling calls with singleShot to avoid out of order load "signals" delivery in some cases. Emitting signals should be done from WebContentsAdapterClient to make sure the destruction of WebConentAdapterClient prevents emitting signals on already deleted adapter. Task-numbmer: QTBUG-65813 Change-Id: I93263876fb14bd959ba951463c8aeb5155f04a4f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix configure overview of v8 snapshotAllan Sandfeld Jensen2018-01-261-1/+1
| | | | | Change-Id: Iad4dd57f5a86019290bc59187e60c9c1c3db917d Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Rewrite and activate multiplePageGroupsAndLocalStorageAllan Sandfeld Jensen2018-01-251-42/+39
| | | | | | | Convert it to QtWebEngine. Change-Id: I7a453cd7544a20a9c461c3bb29b3a2fb78016d44 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Add 32bit host compiler testMichal Klocek2018-01-245-2/+47
| | | | | | | | | The 32bit compiler is required for creating v8 snapshots. Task-number: QTBUG-65004 Task-number: QTBUG-64869 Change-Id: I0a7a351208768f0b12900fac14d3abd5c8d99fa2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Merge "Merge remote-tracking branch 'origin/5.9' into 5.10" into ↵Allan Sandfeld Jensen2018-01-245-15/+22
|\ | | | | | | refs/staging/5.10
| * Merge remote-tracking branch 'origin/5.9' into 5.10Allan Sandfeld Jensen2018-01-245-15/+22
| |\ | | | | | | | | | | | | | | | | | | Conflicts: src/core/download_manager_delegate_qt.cpp Change-Id: Ica57e582a323c6bd014a64bb615dd9454e656548
| | * Fix QWebEngineDownloadItem::type()Jüri Valdmann2018-01-194-14/+21
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-62640 Change-Id: I2b16f24533b38c20a7071319723382ba240e35f3 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
| | * Fix incorrect GLX pbuffer attributes terminatorFrank Richter2018-01-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The glXCreatePbuffer() documentation states that the attributes list must be terminated with "None or NULL". However, GLX_NONE does not have a null value. Mesa is sensitive to this. Change-Id: I9606d95a6a0dadec446496abb8e0213950e3d700 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | | Fix random crashes on exitMichal Klocek2018-01-243-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Destroy WebContentsDelegateQt before WebContents, since it references already partly deleted WebContentsAdapterClient object. This prevents calls by navigation handling on already destructed web contents adapter client. Task-number: QTBUG-65647 Task-number: QTBUG-47945 Change-Id: I0ed5887b337a43ab89ecbfe05130691b5f1f37ec Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Fix thread synchronization issue in tst_qwebengineprofileJüri Valdmann2018-01-241-2/+6
| | | | | | | | | | | | | | | Change-Id: I7b7c4a6501387b1d657e55f222908365990b8fef Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Remove test relying on WebKit internalsAllan Sandfeld Jensen2018-01-241-15/+0
| | | | | | | | | | | | | | | | | | | | | This test makes little sense for QtWebEngine Change-Id: I0177fb59ea23383a3c8135853f7e62b26ce5708a Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | | Remove dead tests we will not be reusingAllan Sandfeld Jensen2018-01-241-360/+0
|/ / | | | | | | | | | | | | We have no plans of implement QtWebKit still plugins. Change-Id: I9f7bb94cc240e2f0eda8c85c03fa5860435d52a3 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Add pkg-host wrapper scriptMichal Klocek2018-01-235-1/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we need pkg-config host for cross-builds to build build tools. Unfortunately if build environment exports PKG_CONFIG_* variables pkg-config will pick them up also for host builds, which can lead to compile errors. Create pkg-config-host_wrapper which explicitly unsets PKG_CONFIG_* variables. This is a temporary workaround till proper solution is implemented in qtbase. Task-number: QTBUG-65079 Change-Id: I9aff4a27ba62e096ed4c023cf022a41833260178 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Use correct margins when printing with QPrinterSzabolcs David2018-01-232-18/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | Margins were applied two times: PrintViewManagerQt included them when rendering to a temporary PDF, then QPrinter applied them when printing. This patch changes the parameters of PDF generation to not contain the area of margins. This way the user-provided QPrinter can handle it without any kind of customization. Task-number: QTBUG-65715 Change-Id: Ie32785857e5195aa21c6e2ccb7ebd1e6f6ecd954 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Re-enable setUrltoEmpty and setUrlHistory testsAllan Sandfeld Jensen2018-01-231-7/+4
| | | | | | | | | | | | | | Have been skipped for years but appears to work. Change-Id: I461459b64fe3731b2fb50a3cc9c9d4ab75b135d4 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Fix enable/disable precompiled headersMichal Klocek2018-01-231-1/+5
| | | | | | | | | | | | | | | | Use 'enable_precompiled_headers' instead of 'disable_precompiled_headers' Change-Id: I23af6fe1c24a6ccc14d31f009710ebbc4cc2f716 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix FDL license headerKai Koehne2018-01-231-3/+3
| | | | | | | | | | Change-Id: I8d7cf992d1f51cc82168d5e01bbe4c062be09992 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Remove full blacklist of osx 10.11Allan Sandfeld Jensen2018-01-231-1/+0
| | | | | | | | | | | | | | | | | | It was added for a single test failure that was caused by a screen locker on the CI, a problem that has since been solved. This CI configuration is the only one that's running qmltests on osx. Change-Id: Ia6f11649ce2f63000488aa18080c5d149d04eac0 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Deselect text on each fourth clickSzabolcs David2018-01-222-1/+19
| | | | | | | | | | | | | | | | | | | | Triple click selects the entire paragraph and it should be deselected on a quadra click. Task-number: QTBUG-65649 Change-Id: I87c9405a202d8b6eacd7c19dbbcb051756c41220 Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Enable/disable precompiled headersAllan Sandfeld Jensen2018-01-201-0/+2
| | | | | | | | | | | | | | Pass Qt precompiled header settings to GN. Change-Id: I4133c2fc77b50028be3ebb8feec24d49476e5e2d Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* | Turn off jumbo build on WindowsJoerg Bornemann2018-01-191-1/+3
| | | | | | | | | | | | | | | | | | ...because the generated source files contain include directives with relative paths that are too long for the toolchain. Task-number: QTBUG-65677 Change-Id: I664309c16f7ac5cdd267f9463d061be90dc664a0 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2018-01-181-7/+7
|\| | | | | | | Change-Id: I4aae316c9826d8ded09e673a01935dc07f13cd64
| * Fix qmake recursive callMichal Klocek2018-01-161-7/+7
| | | | | | | | | | | | | | | | | | Change order of parsing buildtools.pro to avoid missing toolchain generated files. Change-Id: I40456cbf38573903c119313d036e4c2aea039b16 Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | Disable net-reporting at compile timeAllan Sandfeld Jensen2018-01-172-0/+1
| | | | | | | | | | | | | | | | | | | | | | It is default off at run-time anyway. Also updates 3rdparty with: 17e4aafb6fe8 [Backport] Clamp performance.now() to 100us. f0775ea93ab6 Fix building with enable_reporting=false Change-Id: I4d7c0423fff5ecd0291ffdc9bddb90050ed61d8c Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Merge remote-tracking branch 'origin/5.9' into 5.10Allan Sandfeld Jensen2018-01-1615-68/+302
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty src/core/web_contents_adapter.cpp src/webengine/api/qquickwebengineprofile.cpp src/webenginewidgets/api/qwebengineprofile.cpp tests/auto/widgets/qwebenginedownloads/tst_qwebenginedownloads.cpp tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp Change-Id: I56c093ebab5ee8b577783ce71761719159cd3ddd
| * Merge "Merge remote-tracking branch 'origin/5.9.4' into 5.9" into ↵Allan Sandfeld Jensen2018-01-162-0/+68
| |\ | | | | | | | | | refs/staging/5.9
| | * Merge remote-tracking branch 'origin/5.9.4' into 5.9Allan Sandfeld Jensen2018-01-152-0/+68
| | |\ | | | | | | | | | | | | Change-Id: I63420b008c4511022868175ebac60949cf8aa434
| | | * Update Chromiumv5.9.4Allan Sandfeld Jensen2018-01-152-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Pull in SPECTRE mitigation Change-Id: I3849adce737c5518d02a5b27431bac50224c2065 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| | | * Update ChromiumMichael Brüning2018-01-111-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulling in the second set of security patches from Chrome 63. Changes: eebf32c32027 [Backport] Fix UAF in SetVisible(). a6ca6057e7e9 [Backport] [BlobStorage] Fixing potential overflow 0f0ad4d73977 [Backport] Fix a range bug in Persian calendar 81ed5d7a47a2 [Backport] Cherry-pick the entire fix for Persian calendar 9b1e7a460573 [Backport] Add size_t variants of constant-time functions. 941bccbf33f5 [Backport] Clear bottom three bits of password scalar in SPAKE2. 1f43353c961a [Backport] Change the script mixing policy to highly restrictive Task-number: QTBUG-65042 Change-Id: I668700e17f89297bbf2593a248f301f56904c72c Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
| | | * Update ChromiumAllan Sandfeld Jensen2018-01-091-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulling in the first set of security patches from Chrome 63 Changes: 4318c22e5167 Add missing .gitattributes -file in 3rdparty submodule eb4e4c294b56 [Backport] Fix OOB Write in QuicStreamSequencerBuffer::OnStreamData 13d8b0ed6a3a [Backport] Remove unsafe align4 call 93362702cc7e [Backport] Don't clear DnsAttempts that have received a response eeffcf490fd6 [Backport] Serialize struct tm in a safe way. 864b219901f8 [Backport] Simplify / fix SkBitmap::ReadRawPixels() 13827fc77195 [Backport] Resource Timing: Do not report subsequent navigations within subframes 07527dc5cae2 [Backport] Make CPWL_Wnd classes be observable. 0ce0976538dc [Backport] Setting focus on a widget may destroy the widget Task-number: QTBUG-65042 Change-Id: I6bb1b93d37111ada696ae77c2b2c04ecc17d2ca3 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| | | * Add changes file for Qt 5.9.4Antti Kokko2018-01-091-0/+58
| | | | | | | | | | | | | | | | | | | | Change-Id: I0ff5721c1317ca97b574538c8c52127a87f73c29 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
| * | | Protect QML profiles as well as coreAllan Sandfeld Jensen2018-01-157-54/+181
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Moves QWebEngineBrowserContext to core and makes use of it from both widget and qml. Change-Id: I34748f302b0515b11b5831690d28478dfa6a852b Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
| * | ProxyConfigServiceQt: Use default HostPortPair for SCHEME_DIRECTJüri Valdmann2018-01-152-8/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | Unlike QNetworkProxy, Chromium's net::ProxyServer expects the hostname and port to be at default values for special schemes (DIRECT and INVALID). Otherwise, a DCHECK is triggered at proxy_server.cc:73. Change-Id: I1ac6c425ea03fcbfe084d25c2fd05bf174c753d6 Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
| * | Stabilize tst_QWebEngineDownloads::downloadTwoLinks()Allan Sandfeld Jensen2018-01-151-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | It was vulnerable to race conditions if two requests were send before the first was caught. Change-Id: Ia0b68594337028675678ad190f261202372c2ad6 Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
| * | Prefix icu library in configure.json to prevent build issues on Win32Alexandru Croitor2018-01-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both qtbase/src/corelib/configure.json and qtwebengine/configure.json declare the "icu" library, but the definitions of the library are different. Make sure to prefix the webengine "icu" declaration, so that it does not override the qtbase one. This is a partial backport of commit 2ed1e0ba423a75f68c1547fe0c06e62e773ef64d which was introduced in Qt 5.10.0. The rest of the library definitions are not conflicting at the moment. Task-number: QTBUG-62944 Change-Id: If5cbf07a5bab149c7663ce05c7eb8183c5f63300 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * | Fix backward compatibilityPeter Varga2018-01-082-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Guard QTemporaryDir::filePath (5.9) usage in the drag and drop implementation. - Guard QQuickItem::mapToGlobal (5.7) usage in the Quick context menu implementation. Change-Id: If383fa55fbbd1b2a3fe4abd57373598a1703786c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Reduce jumbo limitAllan Sandfeld Jensen2018-01-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Reduces amount of memory used when compiling and is more friendly when compiling using icecream. Change-Id: I3ba3afcaa75ee79e02f2a8b2fa6d8f19e5f7b929 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | | Fix sanitizer buildAlexandru Croitor2018-01-105-18/+55
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-64726 Change-Id: Ic88eed62e85ad1d95afcbd154c6556509e42bd47 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | | Update ChromiumAlexandru Croitor2018-01-101-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: 44b6c003b1 Adapt sanitizer rules to Qt WebEngine build 5fd3b69840 [Backport] Disable SharedArrayBuffer by default. Change-Id: Iec315a976e41029742a30aadf8cbf591aed2cb10 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | | stylesheet example: Make dialog adapt to different sizesKai Koehne2018-01-091-136/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old code had fixed pixel sizes, which broke with high dpi and different font sizes. Also, simplify the hierarchy by replacing the top widget and the nested layouts with a Frame and grid layout. Task-number: QTBUG-64816 Change-Id: Ifeb458fb5d5e709e8add9c77c274dee13307d4c6 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | | Cleanup core API testsAllan Sandfeld Jensen2018-01-082-42/+47
| | | | | | | | | | | | | | | | | | | | | | | | Use in-memory profile and do not use qwebengineviews when all we need are qwebenginepages. Change-Id: I5798c761bccfc0b4bf2cf623e7db35f033bdfd84 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | | Fix crash on exit race in url_request_custom_jobAllan Sandfeld Jensen2018-01-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a race-condition crash the device is deleted when the job delegate dies. Happens for instance when the device has the job delegate as parent. Change-Id: I5041bbd5747dddb18022044a310ccb5a5985f098 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | | Merge remote-tracking branch 'origin/5.9' into 5.10Allan Sandfeld Jensen2018-01-0823-94/+266
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .qmake.conf src/core/api/qwebengineurlrequestjob.cpp src/core/browser_context_adapter.cpp src/core/renderer/user_resource_controller.cpp src/core/web_engine_context.cpp src/webenginewidgets/api/qwebenginepage.cpp Change-Id: I5278e5e22e1776d42975fc94d70ff8ca4f81fb9a
| * | Fix access after free on shutdownAllan Sandfeld Jensen2018-01-056-9/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After we keep around the browser-context after the profile is deleted it was keeping pointers to deleted objects and would sometimes use them on shutdown. Change-Id: Ib67d0ee0b27cb1a1b64d9b8b4c348ed418b9bbc3 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * | Initialize ScreenWin singleton to fix dpi glitches on WindowsKai Koehne2018-01-041-1/+8
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Static function ScreenWin::GetSystemMetricsInDIP returned an incorrect (already scaled) size for the scrollbars. To take system scaling into account an instance of the ScreenWin singleton has to be created once. So let's use ScreenWin directly, instead of DesktopScreenQt, which is just a mock object anyway. [ChangeLog][Windows] Fixed issues with too large scrollbars on Hi-DPI monitors. Task-number: QTBUG-60705 Change-Id: I7cbc10e98b2a5217b0a0e78afb32818c1cb199d7 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
| * Remove QT_LIBDIR_EGL/GLES2 leftoversMichal Klocek2018-01-021-11/+0
| | | | | | | | | | | | | | | | | | | | Since e812237b69 we do not longer use QT_LIBDIR_EGL and QT_LIBDIR_GLES2 to dynamically load gl libraries. Remove leftovers from gn generator. Task-number: QTBUG-65442 Change-Id: I045242b49be411373d36eb9c333916d27b0f169d Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
| * Doc: QWebEngineUrlRequestJob: mention when to delete the deviceDavid Faure2017-12-202-5/+22
| | | | | | | | | | | | | | | | | | | | It's used from another thread, so it shouldn't be deleted immediately, and it's not deleted by the QtWebEngine code, so tell people to do it themselves at the right time. Change-Id: I54786be320f5fe82f144e7b1c2e6137260d9ceab Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Update ChromiumAlexandru Croitor2017-12-181-0/+0
| | | | | | | | | | | | | | | | 2ee59e45bd Fix hanging of process when application is closed too fast cdecf3ca05 Silence most spurious warnings with gcc Change-Id: I220ec63538e13cd5e71552a5f6d99de564a3f0ea Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>