summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Move re2 test to configureMichal Klocek2019-08-151-8/+16
| | | | | Change-Id: I76aa5c544a5930982e1d1b0ed28a75e88ec65e48 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Move khr test to configureMichal Klocek2019-08-151-2/+8
| | | | | Change-Id: Ic213555705f12a46283c62410bf9a477f03c05c0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Move libvpx test to configureMichal Klocek2019-08-151-6/+16
| | | | | Change-Id: I669b9d4cc28765b134386752d1fc14d14fa5b1dc Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Move snappy test to configureMichal Klocek2019-08-151-6/+14
| | | | | Change-Id: I585e7f9aa19d03ca164e9419e55997526aeaca86 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Move xml2,glibc test to configureMichal Klocek2019-08-151-15/+24
| | | | | Change-Id: I047f04a48d489730922093a9929e3609524dd06f Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Use QWeakPointer::toStrongRef().data() to get the raw pointerMichael Brüning2019-08-141-1/+1
| | | | | | | | Fixes a deprecation warning because QWeakPointer::data is deprecated from 5.14 onwards. Change-Id: I09b356b172cb9ffef880d6b97b4c6a9646203942 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Fix typos in header guardsMichael Brüning2019-08-131-3/+3
| | | | | | | | | Those must have slipped through review and CI, but the compiler warned about them. Change-Id: I5f3e7d36ccc66c14b8be20f2499df9aa7a6813e1 Reviewed-by: Leander Beernaert <leander.beernaert@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Move alsa test to configureMichal Klocek2019-08-121-6/+14
| | | | | Change-Id: Ifdd476c0b58763be009d208a5f9d4c23305b6baa Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Add webenginewidgets to configure systemMichal Klocek2019-08-124-19/+43
| | | | | | | | Make webeninge-qml webengine-widgets features indpendent of webenginecore. Change-Id: I11c1bfaf4a15e4cb3acf2751b367f2c92a7ac833 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Port from QMutex::Recursive to QRecursiveMutexMarc Mutz2019-07-312-19/+25
| | | | | | | | | | | Also port from QMutexLocker to std::lock_guard, as the former will not support QRecursiveMutex going forward. Add a guard for Qt < 5.14 to fall back to the old implementation, as this module has to compile against the latest LTS, too. Change-Id: Ib247135326ed199fd5fc783e906e7e3018687570 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Merge remote-tracking branch 'origin/5.13' into devAllan Sandfeld Jensen2019-07-2414-29/+88
|\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty src/core/core_chromium.pri tests/auto/quick/qmltests/BLACKLIST tests/auto/quick/qquickwebengineview/BLACKLIST tests/auto/widgets/qwebenginepage/BLACKLIST tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp tests/auto/widgets/qwebengineview/BLACKLIST Change-Id: I11b26f5eebde29c4c62247b90e11e3ae40789fe4
| * Merge "Merge remote-tracking branch 'origin/5.12' into 5.13"Allan Sandfeld Jensen2019-07-239-9/+58
| |\
| | * Merge remote-tracking branch 'origin/5.12' into 5.13Allan Sandfeld Jensen2019-07-239-9/+58
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/core/config/common.pri src/core/configure.json src/core/net/url_request_qrc_job_qt.cpp src/core/ozone/surface_factory_qt.cpp src/core/web_contents_adapter.cpp Change-Id: If679aa179123f793639da3d8ee4ab5d116707754
| | | * Fix use-after-free in WebContentsAdapter::loadJüri Valdmann2019-07-181-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pass WebContentsAdapter pointer to lambda via QWeakPointer in case the adapter has been deleted already. Fixes: QTBUG-76958 Change-Id: I1962ba3dd1794a27e7013a2ad1b729fe7a08c079 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | | * Reset findText reply id on StopFinding to prevent callback laterKirill Burtsev2019-07-163-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not updating lastReceivedFindReply caused next findText call after StopFinding to trigger redundant callback call on checking stale query. Fixes: QTBUG-77029 Change-Id: Iad4b71364ecb3ec3db3096b739e77620d12731f9 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
| | | * Do not proceed with uninitialized resourcesMichal Klocek2019-07-121-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QRC files can be optimized with CONFIG+=qtquickcompiler and removed, in that case 'size' of resource is zero. Do not process 'empty' resources. Throw warning. Fixes: QTBUG-76403 Change-Id: If21ff698e7985f82e6456500d4d24cb366cff012 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | | * Make enabling full debug information easierAllan Sandfeld Jensen2019-07-121-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoids asking customers to edit source files or add CONFIG to qmake on the command line to enable full debug information. Change-Id: Id58388565df88442e74e02687eb3189136e998f3 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
| | | * If Qt is configured with ccache feature pass that along to GNAlexandru Croitor2019-07-121-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will set the cc_wrapper to ccache when running GN, which in turn will prefix all compiler calls with ccache. This allows a nice way of using ccache and icecream on macOS. Change-Id: I19ca1261aa8ebc4aaf7f8c34b3cb363baa29de01 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | | * Doc: Update requirements for building on WindowsLeena Miettinen2019-07-121-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Visual Studio 2017 version 15.8 or later is now required. Task-number: QTBUG-76606 Change-Id: Ib115336acc341d799c7ff0f08e89abc56bc6c6d9 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | | * Fix detection of ozone x11 supportMichal Klocek2019-07-124-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: QTBUG-77011 Change-Id: I0136b360c74970b912124f6f308f598c80eceba3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * | | Update ChromiumMichal Klocek2019-07-231-0/+0
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in following changes: * 7871e09 [Backport] CVE-2019-5839 * 5c8fe22 [Backport] CVE-2019-5837 4/4 * e12c72e [Backport] CVE-2019-5837 3/4 * 9b92d35 [Backport] CVE-2019-5837 2/4 * cafa7b6 [Backport] CVE-2019-5837 1/4 * ddf3cec [Backport] CVE-2019-5836 * 125af0b [Backport] CVE-2019-5832 * 681aa1a [Backport] CVE-2019-5831 * e770193 [Backport] CVE-2019-5829 * 6695b71 Support ubsan and asan on GCC * d3b2cf8 Don't generate LTCG data we don't use * 9b1ec15 Fix segfaults with arm 32bit on metrics * 4299078 Fix zygote path used Task-number: QTBUG-76206 Change-Id: I46e2d66be90513bdedc91d4041c599d6aacaaff7 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * | Make qdoc scan WebEngine more effectiveAllan Sandfeld Jensen2019-07-181-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | It was triggering heaps of errors on internal non-API files, so make it just scan the API and documentation. Change-Id: I716d0464f924b00dfd7ddb3a72e5f23bbbad80ad Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
| * | Pass an accurate touchpoint ToolType to ChromiumRomain Pokrzywka2019-07-161-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QTouchEvent::TouchPoint's flags() specifies the tool type (pen, finger) for the touchpoint, so we can forward that information to Chromium. This allows proper touch handling in web pages that depend on the touch type property detect finger/pen touches. Change-Id: Ib6069a057249ef2776a6b315bc71c75d14c9b673 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * | Merge remote-tracking branch 'origin/5.12' into 5.13Allan Sandfeld Jensen2019-07-104-14/+19
| |\| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .qmake.conf tests/auto/quick/qmltests/BLACKLIST tests/auto/quick/qquickwebengineview/BLACKLIST Change-Id: I29b68dec8692d0369a2dda56350ee62d3ad73e08
| | * Fully setup replaced QMouseDblClickEvent with source and flagsKirill Burtsev2019-07-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not fully preserving properties causes event to not be considered synthesized by system and be forwarded into chromium. Receiving one single press event and no release event confuses input event_handler and triggers infinite loop and renderer process crash for pages with multiple nested iframes. Fixes: QTBUG-62106 Change-Id: Iabb8bff78fc3475923b4aa3209b720453a5b6ce5 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
| | * Unset global share context pointer on deletionJüri Valdmann2019-07-041-0/+2
| | | | | | | | | | | | | | | | | | Fixes: QTBUG-76828 Change-Id: I43eae3c04a23abe118f51c69742772ddb38646f0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * Set custom user-agent manually on new windowsAllan Sandfeld Jensen2019-06-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Chromium forgets to set ShouldOverrideUserAgentInNewTabs(), so we need to manually set the override. Fixes: QTBUG-76249 Change-Id: Id240ee525dacec3cd8389aca058a61d3af62b00a Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| | * Do not forward key-events on QQuickItem levelAllan Sandfeld Jensen2019-06-141-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We forward the real events earlier, anything coming in at QQuickItem level is synthetic. Fixes: QTBUG-76268 Change-Id: I067f8f94cc5e07bb0cd500b5ae9b9d6bbe66310b Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| | * Accept handled eventsAllan Sandfeld Jensen2019-06-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | If we let tablet events pass through without handling it, it will come back to haunt us as a mouse event. Fixes: QTBUG-76347 Change-Id: I93297f543620350db0329fe993d18a04e33c7d18 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| | * Use Chromium linker flagsMichal Klocek2019-06-041-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add all Chromium linker flags by default and explicitly blacklist some of them. Change-Id: Icb461838f71c8511fe5730d4601eb20bc2aa135c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Remove usage of QSGInternalImageNodeAlexandru Croitor2019-07-238-33/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since 1f01b44d20471a7f4a5029a4c0049e8296749fef landed in qtdeclarative, the internal API createInternalImageNode() takes one required argument. However due to the following commit in qtdeclarative cf24651b550752fbf9bd3afb02aee5d722164658 we no longer need to use internal image nodes. Remove their usage, and use the regular image nodes instead. Change-Id: Ie0cc2a2c1e365bb7fae564ad3c9d880c3a0bf0d9 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Fix warning on WindowsTamas Zakor2019-07-231-1/+1
| | | | | | | | | | | | | | | Change-Id: I05325e7011578ca66144294321b3c28a36eb45b2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Add QWebEngineUrlScheme::CorsEnabled flagJüri Valdmann2019-07-185-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for enabling CORS for custom schemes. Headers for CORS are generated automatically by UrlRequestCustomJob for all CorsEnabled schemes. [ChangeLog][Custom Schemes] Added the QWebEngineUrlScheme::CorsEnabled flag for enabling cross-origin resource sharing with custom schemes. Fixes: QTBUG-75651 Change-Id: Ia17acf25ae8488f23c6b4609777a3bdbf72149ee Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Update ChromiumJüri Valdmann2019-07-181-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This pulls in the following changes: 8c03dab5f7a FIXUP: Extend url library for WebEngine custom schemes f5613a4bc32 FIXUP: Extend url library for WebEngine custom schemes Change-Id: I4b9798196396ae1a68fb5fa2898d0752780cd367 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Ignore persisted spellchecking preferencesJüri Valdmann2019-07-151-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ignore on-disk values of spellCheckEnabled and spellCheckLanguages prefs to preserve backwards compatibility. Fixes deterministic failure in second run of tst_spellchecking because the first run disabled spellchecking. Put all settings-related tests in tst_spellchecking into one test and pretend to check that settings are not persisted. Since settings are currently read and written on independent task sequences without guaranteed ordering, the test would succeed even if settings were persisted. Specifically, in code like this profile = new QWebEngineProfile("MyProf"); // 1 delete profile; // 2 profile = new QWebEngineProfile("MyProf"); // 3 the write from line 2 will usually happen after the read from line 3. Once persistence becomes a public feature we probably should add some way to guarantee the proper ordering of reads and writes. Change-Id: Icb2290417049848dbe68b7f991bbe2d52756f295 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Update ChromiumAlexandru Croitor2019-07-151-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: cf4e820a332 Protect against nullptr dereference in GetSelectedText 98b2687c3be Support ubsan and asan on GCC Change-Id: I0667015d0c78db87453bfa0bf6039ed819331fba Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Merge "Merge remote-tracking branch 'origin/5.13' into dev"Allan Sandfeld Jensen2019-07-143-4/+8
|\ \ \
| * | | Merge remote-tracking branch 'origin/5.13' into devAllan Sandfeld Jensen2019-07-104-4/+12
| |\| | | | | | | | | | | | | | Change-Id: I156385925a060081cce7091da199266482aec5d8
| | * | Null check result of consuming mailbox textureJüri Valdmann2019-07-091-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: QTBUG-76913 Change-Id: Ib036121f366d037d507f59bf31c3ab9c79bfea5e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * | Disable optimization of V8 for MSVC debugAllan Sandfeld Jensen2019-07-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It leads to mismatching iterator debugging at runtime. We only avoid it on the CI because they run all the tests as release. Change-Id: I570fb252c050ad966d205688deba5e75d02c21bb Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| | * | Doc: Replace example file lists with links to code.qt.ioTopi Reinio2019-07-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-74391 Change-Id: I53230756c69c226469fbeaf8d9828ea4f633fe69 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
| | * | Fix unregistered custom scheme warningJüri Valdmann2019-07-031-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The warning is emitted even for registered custom schemes. Change-Id: I07a505253627a920d96b75df8fa1fb2d81ab1f68 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | | Adaptations for Chromium 75Allan Sandfeld Jensen2019-07-1047-207/+268
| | | | | | | | | | | | | | | | | | | | Change-Id: Idad08244e0c749a9f70f5eb9f8cd236039b941b3 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | | | Adaptations for Chromium 74Allan Sandfeld Jensen2019-07-1048-231/+244
|/ / / | | | | | | | | | | | | Change-Id: Icdefa05eec39c632328dfc40862e5b734170bf3f Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | | Disable Cut/Copy/Unselect actions when there's no selectionJüri Valdmann2019-07-083-4/+16
| | | | | | | | | | | | | | | | | | Fixes: QTBUG-76666 Change-Id: I74b9a26cd7be9a830f4eecd36db69777412ab316 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | | Add API to change download directory path and file nameTamas Zakor2019-07-0513-41/+272
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add functions and property to change the download directory and file name in QWebEngineDownloadItem and QQuickWebEngineDownloadItem and deprecate the path() and setPath(). Regenerating the uniquifying download filename after change the download directory. [ChangeLog][DownloadItem] Add functions and property to change the download directory and file name in QWebEngineDownloadItem and QQuickWebEngineDownloadItem and deprecate the path() and setPath(). Task-number: QTBUG-56978 Change-Id: I6e63da82a187add8bc3206cc80c8bf6865fbdd35 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Merge remote-tracking branch 'origin/5.13' into devJüri Valdmann2019-07-0234-57/+393
|\| | | | | | | | | | | Change-Id: I806417dd7a6d2594a86ee49feedc4ad9ee48add2
| * | Prevent double encoding of url encoded characters when loading PDFsMichael Brüning2019-06-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At the point when PDFs are being loaded, their URL should already have been encoded, so encoding it again will render a wrong URL because it tries to encode already encoded characters. Change-Id: I69e6effeacec52e57194b02478cfd082fe9c7570 Fixes: QTBUG-76226 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * | Pump up required icu versionMichal Klocek2019-05-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update according to: "static assertion failed: v8 is required to build with ICU 63 and up". Change-Id: I55864e0fd7c98ee89c641926402115e85c65b1df Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * | Pass isIncognito to render processAllan Sandfeld Jensen2019-06-178-2/+169
| | | | | | | | | | | | | | | | | | | | | | | | Uses the RenderThreadObserver pattern Chrome uses. Change-Id: Ieafff311ef5e31f67070517b2de49ad94a7bd674 Reviewed-by: Michael Brüning <michael.bruning@qt.io>