summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | Switch export macros to standard formAllan Sandfeld Jensen2019-04-0143-46/+46
| | | | | | | | | | | | | | | | | | | | Qt expects the export macros to have Q_ prefixes, otherwise the symbol versioning script won't find them and mark them. Task-number: QTBUG-74752 Change-Id: I1e057802f6715d170bdd9074f281e73fb96c9e52 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | Fix -no-opengl buildPeter Varga2019-03-291-0/+5
| | | | | | | | | | Change-Id: I472ff20de710b1300c1f5209f3100b5280356f45 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Fix incorrect harfbuzz versionMichal Klocek2019-03-291-2/+2
| | | | | | | | | | | | | | | | We do require at least harfbuz 2.2 We need hb-aat.h for opentype. Change-Id: Ia2814de6045884b4574ee6c55e74f04005321ac2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Merge "Merge remote-tracking branch 'origin/5.12' into 5.13" into ↵Allan Sandfeld Jensen2019-03-2817-34/+86
|\ \ | | | | | | | | | refs/staging/5.13
| * | Merge remote-tracking branch 'origin/5.12' into 5.13Allan Sandfeld Jensen2019-03-2817-34/+86
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .qmake.conf src/3rdparty src/core/render_widget_host_view_qt.cpp src/core/web_contents_view_qt.h src/core/web_engine_context.cpp Change-Id: I17f3a4814e88a5680dc61a6d734c171ccba00e8c
| | * Fix style of media audio controlsAllan Sandfeld Jensen2019-03-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | The modern media controls in 69-based were not completely ready, so stay with the legacy media controls until 5.13. Fixes: QTBUG-74484 Change-Id: I06de16d8210341443a10d8c984f1978d373de0d9 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
| | * Fix escaped characters in tooltipAllan Sandfeld Jensen2019-03-261-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Go back to making the tooltip richtext, but set a white-space:pre to keep the tooltip mostly unwrapped. Fixes: QTBUG-74659 Change-Id: I5e30ee0098a608eda969b090355915a75f55405f Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | * Update ChromiumMichal Klocek2019-03-251-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in security patches: * [Backport] CVE-2019-5787 * [Backport] Security bug 906652 * [Backport] CVE-2019-5797 * [Backport] Dependency for CVE-2019-5797 2/2 * [Backport] Dependency for CVE-2019-5797 1/2 * [Backport] CVE-2019-5795 Change-Id: I273570d8c5d57e0ce441a6509360d862f2568bab Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * Switch to setting 'official build' for non developer buildsAllan Sandfeld Jensen2019-03-234-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some things controlled by the OFFICIAL_BUILD defined are commented as unsafe to ship in production, so we need that as well. Note that GOOGLE_CHROME and OFFICIAL_BUILD are two different settings, so this just denotes the build as one shipped in production. Change-Id: I1fdcfec7f5c5142dd2bdc5f1d1f9a296a60e5708 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| | * Fix regression in setting background colorsAllan Sandfeld Jensen2019-03-224-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | This logic was incorrectly stripped out in adaptations for Chromium 68, but is still needed. Fixes: QTBUG-74519 Change-Id: Iefe7aba352bd43148898c1abeea34f4afe354d72 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
| | * Fixup focus implementationAllan Sandfeld Jensen2019-03-2110-32/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | Follow the other implementation and pass TakeFocus to WebContents Delegate, and hook to our UI from there. Also fixes use of Blur instead of LostFocus, which means we now render unfocused more correctly. Change-Id: I34a1882489bc68b9ff36ed5139af0ee8a3a95b79 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | | Fix -Wmismatched-tags warningPeter Varga2019-03-271-1/+1
|/ / | | | | | | | | Change-Id: I671e02850109e26c60771f583a3b5f29a1220452 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Move RenderViewObserverHostQt to renderer_hostAllan Sandfeld Jensen2019-03-264-3/+3
| | | | | | | | | | | | | | | | It is the host side of RenderViewObserverQt in the renderer dir, so should be in the renderer_host dir. Change-Id: I497a6442130993237a0b823e7dcdd121bd72355a Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Normalize download path on WindowsAllan Sandfeld Jensen2019-03-261-1/+1
| | | | | | | | | | | | Task-number: QTBUG-74698 Change-Id: I3fd4b932b1d4b0ecc844818f87c1824eac1f56e6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Notify extensions dispatcher when render thread has startedMichael Brüning2019-03-241-0/+1
| | | | | | | | | | | | | | | | | | Necessary adaptation to 73-based. Triggers initialization of V8 exten- sions and prevents hitting CHECK due to unintialized safe_builtins when loading a PDF. Change-Id: I1385ae6fb555e52ca74dd47669b3944f84a81580 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Use MessagePumpForUIQt for UI thread onlyJüri Valdmann2019-03-232-23/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In what almost seems like intentionally confusing terminology, Chromium draws a distinction between the UI thread and UI type threads. The thread's type refers mainly to the MessagePump implementation that it uses: currently MessagePumpForUIQt for all UI type threads. It turns out however that the desktop capture thread on macOS requires the original MessagePumpMac implementation for some macOS specifics. So, with this patch, MessagePumpForUIQt will be used only for the actual UI thread, and all other UI type threads will use upstream message pump implementations. Theoretically, this means that we cannot send events or async signals to these other UI type threads any more (sending events *from* these threads should still work). Practically though it seems safer to try, as far as possible, to not mix different event/task frameworks on the same thread. Change-Id: I81308d62c64354230796fccce2d3e0fa6cbb5013 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Fix disabling http cache after 73-basedPeter Varga2019-03-232-6/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BrowserDataRemoverImpl::Remove() indirectly calls TransportSecurityState::DeleteAllDynamicDataSince() which notifies by a callback about the finished deletion since: https://chromium-review.googlesource.com/c/chromium/src/+/1335939 During the deletion the ProfileIODataQt::requestStorageGeneration() should not be called because it deletes net::TransporSecurityPersister which background_runner is where the finished deletion callback is scheduled. Change-Id: I4782d701f706ed7c8e104a78ba84a27183166fa4 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Adaptations for Chromium 73Allan Sandfeld Jensen2019-03-2352-359/+435
| | | | | | | | | | Change-Id: I565d1e327852110a5abebed3388d7cd6986bef06 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Adaptations for Chromium 72Allan Sandfeld Jensen2019-03-2339-193/+179
| | | | | | | | | | Change-Id: Ic355257066c7c1433862cb41e6f2bfa831147e0d Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Fix exporting of WebEngineSettings::pdfViewerEnabledAllan Sandfeld Jensen2019-03-211-8/+9
| | | | | | | | | | | | | | | | The new version of WebEngineSettings wasn't registered Task-number: QTBUG-74566 Change-Id: I09c184556519743b519788874aefdc5a45755694 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Update plugins.qmltypes for Qt 5.13Kai Koehne2019-03-212-1/+76
| | | | | | | | | | Change-Id: I0456c67f1edd0c4caa6d0c0f7b643024b00ce960 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Merge "Merge remote-tracking branch 'origin/5.12' into 5.13" into ↵Allan Sandfeld Jensen2019-03-203-1/+12
|\ \ | | | | | | | | | refs/staging/5.13
| * | Merge remote-tracking branch 'origin/5.12' into 5.13Allan Sandfeld Jensen2019-03-203-1/+12
| |\| | | | | | | | | | Change-Id: If0a4c869d801fe94df23201391c30c1efc5000e0
| | * Do not report client redirects as link-clickedAllan Sandfeld Jensen2019-03-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes false navigation type on http-equiv refresh, and javascript redirects. Task-number: QTBUG-74490 Change-Id: Ie6fa5c94ae9642a7e9c689198a4977747f4101ce Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| | * Update ChromiumMichal Klocek2019-03-191-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in security patches: * [Backport] CVE-2019-5794 * [Backport] CVE-2019-5793 * [Backport] CVE-2019-5792 * [Backport] CVE-2019-5791 * [Backport] CVE-2019-5790 Change-Id: I81a094398931f3c212906472005b1bb76589372f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * Merge remote-tracking branch 'origin/5.12.2' into 5.12Qt Forward Merge Bot2019-03-151-0/+0
| | |\ | | | | | | | | | | | | Change-Id: Icd8a5966a160e2466dc32a89d4ed7d904a3bcb4c
| | | * Update Chromiumv5.12.2Allan Sandfeld Jensen2019-03-071-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in latest security fix from 72 releases, one which is actively exploited. Fixes: QTBUG-74254 Change-Id: Iaef4cecb15295e45a795bc37cc1b467de5cc7bc1 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| | | * Fix incrementing download IDTamas Zakor2019-03-072-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adapt DownloadManagerDelegateQt::m_currentId to https://chromium-review.googlesource.com/1144311 Update Chromium: 09516a434b [Backport] Allow DownloadManagerImpl to get InProgressDownloadManager from DownloadManagerService b3edbf2a84 [Backport] Make DownloadManagerImpl to generate download IDs for in-progress DB Task-number: QTBUG-70702 Change-Id: I1224643398a2084fcd5d70d2c04b105ed69c1f3d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 8600d3d22d86be364a4c29e559dda7990594d0c5) Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| | * | Fix warning: implicit conversion of NULL constant to 'const int'Kirill Burtsev2019-03-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-74311 Change-Id: If912564ecd29e4f11a613905f2b9169326207ec2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * | Expose missing translations to lupdateFriedemann Kleint2019-03-051-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the source files within a "lupdate_run" scope. Task-number: QTBUG-74152 Change-Id: Idb7b5f58d6f7964b8ed67f34bd9f485bb7bba7b8 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* | | | Fix Widevine support after Chromium 71Allan Sandfeld Jensen2019-03-202-17/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Was switched to build-flags, and enums renamed Change-Id: Id00bf87703ddc537f22551ee89ac7e8e345e3c16 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | | | Remove Entry type from QWebEngineClientCertificateStoreAllan Sandfeld Jensen2019-03-202-18/+8
|/ / / | | | | | | | | | | | | | | | | | | | | | It is now only possible to list contained certificates, which is used by the existing tests. Change-Id: I3eada816a05cff2bb9cc5d39125136e9084a1a2f Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | | Fix capitalisation of letters for PDF viewer settingMichael Brüning2019-03-198-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | PDFViewerEnabled is renamed to PdfViewerEnabled. Task-number: QTBUG-74543 Change-Id: I48a242a52ab0689b06815ac3cbd98c44902cc358 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | | Notification API cleanup: direction type, parameter and method namesKirill Burtsev2019-03-193-22/+19
| | | | | | | | | | | | | | | Change-Id: I0349f3eea0028a4df917af8599c073227e0d0ec1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Doc: Link to classes where QWebEngineNotification is passed to usersLeena Miettinen2019-03-181-0/+5
| | | | | | | | | | | | | | | | | | | | | Action point from the API review. Change-Id: I1c1d46f915ac3c9cd02548234c52032e033c69d3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Fix crash on query of next persistent notification idKirill Burtsev2019-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Using SetInteger prevents release check: 'Trying to set pref persistent_notifications.next_id of type integer to value of type string'. This also mimics chromium notification service code. Change-Id: Iaa991b06846a7a7a692a08ea8d01813da00ad30a Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | | Fix -no-ssl buildv5.13.0-beta1Peter Varga2019-03-076-0/+30
| | | | | | | | | | | | | | | Change-Id: I978f70545484060218f5243c74978c85bc603c16 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Merge remote-tracking branch 'origin/5.12' into 5.13Allan Sandfeld Jensen2019-03-0438-170/+407
|\| | | | | | | | | | | Change-Id: I1dd136df7004b11e2f38a2ec4e82a6fa81627479
| * | Force destruction of webcontent client before profile adapterMichal Klocek2019-03-0112-19/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently users might forget to delete webcontent client before profile adapter. This might be nasty if users are not aware of default profile. Instead of asserting badly in chromium, clean up and release chromium resources. This avoids the crash, but might leak memory if users never deletes page. Task-number: QTBUG-74021 Change-Id: I66f466f169d12f7ee08866d505260dca47800bb0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * | Fix destruction of qt quick profile after WebEngineContext gets deletedMichal Klocek2019-03-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue takes place when QQmlApplicationEngine is a child of qApp. In case WebEngineContext gets destructed do not try to get default profile, which is anyway already gone. Task-number: QTBUG-74116 Change-Id: I24ea87baf677360a420d444b4c964feb722ab317 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * | Fix incrementing download IDTamas Zakor2019-02-282-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adapt DownloadManagerDelegateQt::m_currentId to https://chromium-review.googlesource.com/1144311 Update Chromium: 09516a434b [Backport] Allow DownloadManagerImpl to get InProgressDownloadManager from DownloadManagerService b3edbf2a84 [Backport] Make DownloadManagerImpl to generate download IDs for in-progress DB Task-number: QTBUG-70702 Change-Id: I1224643398a2084fcd5d70d2c04b105ed69c1f3d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * | Merge "Merge remote-tracking branch 'origin/5.12.2' into 5.12" into ↵Allan Sandfeld Jensen2019-02-271-0/+0
| |\ \ | | | | | | | | | | | | refs/staging/5.12
| | * | Merge remote-tracking branch 'origin/5.12.2' into 5.12Allan Sandfeld Jensen2019-02-271-0/+0
| | |\| | | | | | | | | | | | | Change-Id: I423ab09061b0fb1963953438e6e6b09b2602254f
| | | * Update ChromiumAllan Sandfeld Jensen2019-02-201-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The last of the security fixes from Chrome 72 Changes: 493fab1afff5 [Backport] Fix for security issue 895970 Fixes: QTBUG-73417 Change-Id: If6a4f6f5773c99db3498e3b178cce39e36c85e79 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| | | * Merge 5.12 into 5.12.2Kari Oikarinen2019-02-2011-37/+93
| | | |\ | | | | | | | | | | | | | | | Change-Id: I660e890b4630fba2c6828571cac99a529f24be50
| | | * | Update ChromiumAllan Sandfeld Jensen2019-02-151-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: 61b45663dff1 [Backport] Fix for security issue 903500 a3b4be8d0247 [Backport] Fix security issue 901677 82b53e95166e [Backport] Fix security issue 895117 a26c352168ec [Backport] Fix for CVE-2019-5784 Task-number: QTBUG-73417 Change-Id: I149ae5a5cd4d83f17bd0c603dd2e3a1079c86e82 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * | | | Doc: Fix JavaScriptDialogRequest.DialogTypeBeforeUnload enum valueLeena Miettinen2019-02-271-3/+3
| |/ / / | | | | | | | | | | | | | | | | | | | | Fixes: QTBUG-74070 Change-Id: Iad514671a588c0a3e0405dd0141ef54320ae8c86 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
| * | | Fix crash on dynamic_cast in global event filterJüri Valdmann2019-02-256-66/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Installing an event filter on QApplication which uses dynamic_cast will crash the application since QtWebEngine is sending QTimerEvents to classes without RTTI information. Fix by 1. Moving the QObject part of MessagePumpForUIQt into api/ as a private class. 2. Using QTimer directly in WebEngineSettings, without subclassing. Fixes: QTBUG-73833 Change-Id: Ida73006a4fef76637c964f8f05468adcc4a190ce Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * | | Fix handling of touch icons when it is disabledPeter Varga2019-02-253-14/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Store the icon type in a bitfield because the same icon URL might be used for various types on same page. This way webengine won't ignore to download a default icon what is also set as a touch icon when touch icons are disabled. Moreover, do not store the icon types from the previous page because a subsequent page might use the same icon URL but with different type. With this change the type of the cached icons are updated after each page load. Fixes: QTBUG-70081 Change-Id: I8031a740b07b0c6a8e5759a994f386b13ce87be2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * | | Doc: Always treat \brief as full sentenceKai Koehne2019-02-2211-27/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure all \brief descriptions start with an upper-case letter and end with a . Also start descriptions of \class with the name of the class or struct. Change-Id: Ifd2656201f9c1dff092085508a5423ce516e2d3f Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>