summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix rsp linking on windowsMichal Klocek2017-02-101-9/+8
| | | | | | | | | Rsp file format is not correct currently on windows, as a workaround use selfmade rsp file. Task-number: QTBUG-58710 Change-Id: I0cd6f3f5e29285330b1abbb30177bbd56f064e0d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Merge remote-tracking branch 'origin/5.8' into 5.9Allan Sandfeld Jensen2017-02-083-6/+28
|\ | | | | | | Change-Id: I0c3654ad097809fe10bcc6a15827a0af3006c4e6
| * Do not create directories for overridden pathsJoerg Bornemann2017-02-071-4/+18
| | | | | | | | | | | | | | | | | | When overriding Chromium's default paths do not create non-existent directories anymore. Just print a diagnostic message. Task-number: QTBUG-54258 Change-Id: Ie642a630ad5b4aebc4e80e3eace7db7489a82907 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Provisional Fix for Navigation-Breakage on right-click in Flash appletViktor Engelmann2017-02-021-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When one right-clicks into a flash applet, chromium believes that a context menu was open (even though PepperRendererHostFactoryQt::CreateResourceHost returns NULL, which only causes an ASSERT on chromiums side). Because of this, the navigation is disabled, although no context menu is displayed. This fix just sends a message to chromium, telling it that "the context menu" is now "closed", which causes another ASSERT, but re-enables the navigation. Task-number: QTBUG-57924 Change-Id: Id6d8150a7d4944162bab81362153f8621d35bb4c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Avoid crash in desktop linux with --disable-gpuAllan Sandfeld Jensen2017-02-011-1/+1
| | | | | | | | | | | | | | Don't try to access null OpenGL contexts. Change-Id: I7d0e607e8d29d3cfba8d6e98cd142b951c960281 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Fix running qmake recursivelyMichal Klocek2017-02-071-1/+8
| | | | | | | | | | | | | | Move gn run call form make step to qmake step. Change-Id: I01913aef9dff505df3319755ae7009144919accf Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Switch mac builds to gnMichal Klocek2017-02-061-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Updates chromium: cd3417b Override xcode min version to 0721 d67d4bb Remove pending messages DCHECK to stop certain tests from crashig [ChangeLog] Switch mac builds to gn Change-Id: I78111bd931f43ceb6e28d67da73f6fb2b2051c9b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | Refactor release and debug handlingMichal Klocek2017-02-067-24/+87
| | | | | | | | | | | | | | | | | | | | Fix release and debug builds. Refactor ninja and gn builds as a sub projects, these are only build as release. Call core_generator and gn_run separately for debug and release builds. Change-Id: I638023214cdc98a5101d190486452cc4a1229486 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix escaping of double-quotesAllan Sandfeld Jensen2017-02-031-1/+1
| | | | | | | | | | | | | | | | We are using double-quoted strings and should therefore be escaping double-quotation marks and not single-quotation ones. Change-Id: I0ae3bb45365843647b38c88a22379f89843dff54 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Switch linux desktop builds to gnMichal Klocek2017-02-022-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates chromium: 1fd9f11 Remove linking with libatomic fa90180 Fix missing dependency on libffi b5a3338 Fix broken unit test for gn 70ea2bc Fix gn compilation for rhel6.6, rhel7.2 f408e89 Improve .pri output 492b20a Remove gtk2 dependency in tests 42e3484 Allow Service Workers without HTTP headers 7a1be30 Do not require gnome-keyring 11e5c2d Revert "Add mus and catapult project files" 891fb3a Remove various test and telemetry dependencies ddd6053 Do not use last_commit_position for gn build e85719e Windows and macOS GN integration 8fda2ae Make more features configurable 93db377 [Backport] Don't schedule wholeSubtreeInvalid sets [ChangeLog] Switch linux desktop builds to gn Change-Id: I0f766b9ee9ea65a2f92d9818ea5fb34a2e65c52d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Merge dev into 5.9Oswald Buddenhagen2017-02-0141-348/+1111
|\ \ | | | | | | | | | Change-Id: Id919bfd67d9d435fd5a05a892151a12ae5bcd3c0
| * | Assert WindowOpenDisposition enum valuesAllan Sandfeld Jensen2017-02-011-0/+11
| | | | | | | | | | | | | | | | | | | | | We are depending on them matching but were not asserting it. Change-Id: I86e9a9a2f516e8a149d82077884bf08b4d8aee51 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * | Make WebRTC support configurableAllan Sandfeld Jensen2017-01-312-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebRTC is a big feature that Chromium has left configurable for a long time, we can forward that configurability to our users to allow them control it directly instead of just enabling it on desktop and disabling it on embedded. Change-Id: I4445e2189112205ddf1368bd5e197bab2df92092 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * | Fix build with 5.8 and make embedded configurableAllan Sandfeld Jensen2017-01-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid checking features only available in 5.9 directly. This also changes the embedded-build configuration to being a feature that can be set at configure time. Change-Id: I9b42dcf696734a83e5c8d6e1cc07562cbeb3f993 Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * | Merge remote-tracking branch 'origin/5.8' into devLiang Qi2017-01-306-39/+108
| |\| | | | | | | | | | Change-Id: Ic36a80502730d404ab96dfa11ff1eb0ac6eb302d
| | * Forward mouse buttons and keyboard modifiers while draggingJoerg Bornemann2017-01-261-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | Until now we always pretended that the left mouse button was used and no modifier key was pressed. Change-Id: I0f4b84ed87e7c94289c14c13a6cd12c3beda671a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * Fix drag position updates for QQuickWebEngineViewJoerg Bornemann2017-01-261-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Like in the widgets API we must check the result of updateDragPosition and ignore or accept the QDragMoveEvent. Task-number: QTBUG-58037 Change-Id: I26b9e10460eb2840c45698d9444c15ed78c6a1b3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * Fix canceling drag and drop actionsJoerg Bornemann2017-01-262-15/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RenderViewHost::DragSourceEndedAt must be called after dropping and after canceling a drag. Otherwise scripts running on the web page do not get properly notified. Task-number: QTBUG-58037 Change-Id: Ia245131c59f03f3331158bea6cc2f53bce50f989 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * Fix confirming IME composition and newline insertionPeter Varga2017-01-253-21/+48
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-55766 Change-Id: I3be3b224dfef9ecc1ce39f4f20ec5c1d13c0fa69 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * | macOS GN integrationAlexandru Croitor2017-01-279-77/+134
| | | | | | | | | | | | | | | Change-Id: I89850d43c8f11ec54b3a47318ef0b3f083ae3dee Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * | Make QQuickWebEngineScript a publicly exported classSzabolcs David2017-01-268-180/+284
| | | | | | | | | | | | | | | | | | | | | | | | | | | Now the users can create user scripts when they are working with QQuickWebEngineProfiles in C++. Change-Id: I6ada78b1fc44c3f93589eb468578c330a1be9c6f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
| * | Add profile-wide user scripts to the Quick APISzabolcs David2017-01-264-0/+74
| | | | | | | | | | | | | | | | | | | | | | | | Add API tests in order to try how it works in C++ and QML. Task-number: QTBUG-51034 Change-Id: I1680297e2dafba39dbd4b161f0dbdb14fb6d4243 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * | GN configuration cleanup and preparationAllan Sandfeld Jensen2017-01-263-14/+49
| | | | | | | | | | | | | | | | | | | | | | | | Reintroduces the shared linux.pri configuration and moves configuration shared by all architectures to common.pri Change-Id: Iff4d1e6e3d98280223cce0c2c0b74d71ef99df5f Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * | Merge "Merge remote-tracking branch 'origin/5.8' into dev" into refs/staging/devLiang Qi2017-01-2512-26/+50
| |\ \
| | * | Merge remote-tracking branch 'origin/5.8' into devLiang Qi2017-01-2512-26/+50
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp Change-Id: I070173576fc4be53689ce0dd9e1fd4133f5814da
| | | * Fix handling of empty input method eventsPeter Varga2017-01-221-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-55766 Change-Id: I4e6ade8f000f66ff1bb28f3b856ae140834292f1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | | * Make input method hints available via RWHV delegate widgetPeter Varga2017-01-206-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moreover, set ImHiddenText hint for password fields and add back the corresponding widget auto test. Task-number: QTBUG-55766 Change-Id: I3f76e19c8c33e11f3d9f515b6dc7d6e998c3c9a4 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | | * Add back SIP (Software Input Panel) widget testPeter Varga2017-01-181-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moreover, update the Chromium SHA1 for enabling virtual keyboard support for macOS. Task-number: QTBUG-55766 Change-Id: Ic50ae79ab13a62a4b9289afedce2d6647e266f86 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | | * Doc: Clarify limitations of QNetworkProxyKai Koehne2017-01-181-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-58121 Change-Id: I3f7d960d5fabefe219a89cc5fa4752ead965ab0a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
| | | * Disable Q_ASSERTs for a release buildKai Koehne2017-01-181-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Qt WebEngine uses the core_gyp_generator.pro and the gyp_generator.prf files to extract defines set by Qt. Anyhow, only one core_generated.gyp file is written for debug and release builds, which hence misses the QT_NO_DEBUG define specific to debug builds. Work around this by explicitly adding back the define. Task-number: QTBUG-58103 Change-Id: I8684aa08417efc93878d70817211e9f66623c78c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | | * Fix conversion from blink::WebDragOperation to Qt::DropActionJoerg Bornemann2017-01-184-19/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | blink::WebDragOperation is a bit field, even if it is not used in its blink::WebDragOperationsMask incarnation. In particular, WebDragOperationGeneric can be set in addition to other operations. This fixes situations where UpdateDragCursor is called with multiple bits set in its WebDragOperationArgument and the drag action will be spuriously ignored. Also directly pass the WebDragOperation we get from UpdateDragCursor to chromium's API without converting to QDropAction and then converting it back. Task-number: QTBUG-58037 Change-Id: I5c85699de534771f84db69abf7b98e779872a0f7 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * | | Add gn build of qtwebengine for linuxMichal Klocek2017-01-2511-128/+509
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit uses gn instead of gyp to build on desktop linux. Use WEBENGINE_CONFIG+=use_gn to use gn during the build instead of gyp. Change-Id: Ifd3d8d0835b47c323a8d39c320eb55e5e1024dee Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* / / Add SUBDIRS in dependency orderSamuli Piippo2017-01-311-7/+8
|/ / | | | | | | | | | | | | | | | | Once more, fix the order of SUBDIRS, since recursive qmake call does not handle .depends Task-number: QTBUG-45706 Change-Id: Ibe578a9f5e80079d1ba917915f169e0e0bc4203e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Merge remote-tracking branch 'origin/5.8' into devAllan Sandfeld Jensen2017-01-1813-46/+148
|\| | | | | | | Change-Id: If16bfc6f0fbfd0040e13a8a3cbaa113fda10f387
| * QWebEngineDownloadItem::path() should not be percentage encodedAllan Sandfeld Jensen2017-01-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the name of the download item is derived from the URL, we currently end up reporting a partially percentage encoded name. This is problematic if our users try to undo the the percentage encoding and opens them out to download-folder escaping files that can install hooks in the user's home directory. [ChangeLog][DownloadItem] (QWebEngine)DownloadItem::path() was previously incorrectly returning percentage encoded file-names when the suggested path was based on URL. This has been corrected. Note percentage decoding the path generally before is not just incorrect when the path is not based on URL, but also dangerous as it can lead to downloads that escape the download folder. Task-number: QTBUG-58155 Change-Id: Ie23a4ff5d4e4c353df72e617bb2b00e1935cd6c1 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
| * Merge remote-tracking branch 'origin/5.8.0' into 5.8Allan Sandfeld Jensen2017-01-167-35/+117
| |\ | | | | | | | | | Change-Id: I6b16bee2d0034865270fb26a5ad93da05b9129fa
| | * Update Chromiumv5.8.0Kai Koehne2017-01-031-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | 15d257f Fix aggregated WebKit license Task-number: QTBUG-57872 Change-Id: I43e8712feb02ea6f3ae77cca4a1cb19d703119c3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * Update ChromiumMichael Brüning2017-01-022-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | Include compilation fix introduced on the 5.8 branch. Change-Id: Ia665ddb80374bfc532ad8e90be6b59aab48b5485 Task-number: QTBUG-57774 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * Doc: Describe WebEngineLoadRequest::errorDomainLeena Miettinen2016-12-222-23/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the WebEngineLoadRequest property doc from WebEngineView::loadingChanged() method docs and add the type name to create an automatic link to the type docs. Fix a typo in the copied ErrorDomain docs. Change-Id: I9798e066d599c75a062bb7f596e4465f32d613b4 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| | * Doc: Fix article in WebEngineSettings::accelerated2dCanvasEnabled docsLeena Miettinen2016-12-221-1/+1
| | | | | | | | | | | | | | | | | | | | | a > an Change-Id: I52cb0b4b7e654d49e864e16fa5270515a73defbe Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | * Doc: Fix QML type name in QML signal signatureLeena Miettinen2016-12-221-1/+1
| | | | | | | | | | | | | | | Change-Id: I1cfa958c02d40f6ac1ec4d3922457d841abc5ea3 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | * Doc: Describe the WebEngineView::navigationRequested() signalLeena Miettinen2016-12-221-0/+4
| | | | | | | | | | | | | | | Change-Id: I78fc7ecd3e453da16e1e2c493ac4b697e4ab5bcc Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | * Doc: Describe default values for WebEngineView::printToPdf()Leena Miettinen2016-12-221-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The doc does not mention that two out of three parameters have default values and can be left out. Also fix the method signature to use QML conventions. Change-Id: I4c88653ce1fc5890aadce74be878098d16ae274c Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| | * Doc: WebEngineView::runJavaScript() callback parameter is optionalLeena Miettinen2016-12-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | This is currently implied, but not stated. Use the \a command for the callback parameter. Change-Id: I4d593f19362e04f54ae555c75897c50d03c643f7 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | * Doc: Remove return value from qmlsignalKai Koehne2016-12-221-1/+1
| | | | | | | | | | | | | | | Change-Id: Id354b217a1e584c1f1766953cdfc5fc56435daa8 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
| | * Doc: Describe the WebEngineView.LoadStoppedStatus enum valueLeena Miettinen2016-12-221-0/+3
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-57636 Change-Id: I71aabeb670385037d938ecf130320e2aa8828331 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | * Doc: Fix type name to build FormValidationMessageRequest::type docsLeena Miettinen2016-12-221-1/+1
| | | | | | | | | | | | | | | Change-Id: I518cd1af6a6952c5ed325b51fbf34e312d90f594 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | * Doc: Describe WebEngineDownloadItem.DownloadCancelled enum valueLeena Miettinen2016-12-221-0/+2
| | | | | | | | | | | | | | | Change-Id: I829cd3225858be5c10b00ee5b9c586abb6431111 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | * Doc: Add docs for the WebEngineNavigationRequest typeLeena Miettinen2016-12-221-0/+59
| | | | | | | | | | | | | | | Change-Id: I41d0d286f25aa28b859271d907f226f5740524e0 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | * Doc: Describe missing WebEngineFullScreenRequest property and methodLeena Miettinen2016-12-221-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The origin property and reject() method were not documented. Remove \since commands, because all the properties and methods were added when the type was added. Change-Id: Ic63e20fca6469b06b65af78963a968df7a236e0d Reviewed-by: Kai Koehne <kai.koehne@qt.io>