summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix spellcheck feature checkAllan Sandfeld Jensen2017-04-049-20/+24
| | | | | | | | | Was changed to generated buildflag headers instead of command line defines. Task-number: QTBUG-59687 Change-Id: Iead64f5321d000c07172ee27a0032394527ec501 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix assert in autotest on windowsAllan Sandfeld Jensen2017-04-041-1/+1
| | | | | | | Chromium now asserts if the clipboard lists the same mimetype twice. Change-Id: Ibfcbb9a7953a8b4b55035e633e0f2740257af6ad Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Fix source indexing in Qt Creator 4.3Allan Sandfeld Jensen2017-04-044-237/+247
| | | | | | | | Create a fake project, just for including the files compiled by ninja in a qmake project that Qt Creator can index, but which we do not build. Change-Id: I7b4fc7ba23090bddb49ee1e85f76f71fb33544e2 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Handle the case when printing result does not contain any dataMichael Brüning2017-04-041-0/+11
| | | | | | | | Failing to do so would trigger an assert in the PDFium wrapper's constructor. Change-Id: Iaa53b1baa54e6483a4e7e9985ad841ac3cfef940 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Do not set arm/misp specific gn args for host_buildMichal Klocek2017-03-311-2/+2
| | | | | | | Self build of gn ends with error on embedded builds. Change-Id: I669c61eef7107919dbe11cdb558cf6ae0499621c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix calls to ninja on Windowsv5.9.0-beta1Kai Koehne2017-03-311-2/+2
| | | | | | | | | Make sure that the path to ninja and the directory uses the correct slashes. Without it, the call might silently fail. Task-number: QTBUG-59842 Change-Id: If59eb14b1fb99aae2b78c85a0052e5aefd5d5bf9 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Doc: Mark QQuickWebEngineScript::timerEvent() internalLeena Miettinen2017-03-301-0/+3
| | | | | | | ...to suppress a QDoc error. Change-Id: I11cb449137af06e11ba4e14a14da97d0088f8416 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* [Doc] Add doc link between methods for request filteringMichael Brüning2017-03-302-0/+6
| | | | | | | | | | Adds a doc link between QWebEngineUrlRequestInterceptor and QWebEnginePage Task-number: QTBUG-54507 Change-Id: Ic9aa535fbf19c7c5ccf279ee660adf180057b56b Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Call javaScriptConfirm for unload dialogsFlorian Bruhin2017-03-282-1/+4
| | | | | | | | | | | | | This unfortunately means we lose the ability to customize the title with the default implementation, but it's still better than having a QMessageBox hardcoded without being able to customize this behavior at all. [ChangeLog][Qt WebEngineWidgets][QWebEnginePage] The javaScriptConfirm method is now also called for unload dialogs (onbeforeunload handlers). Task-number: QTBUG-58673 Change-Id: I82393da2593dc84e94d577ff28f5d6d8988df552 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Doc: Fix link errorNico Vertriest2017-03-281-3/+3
| | | | | | | | qquickwebenginedownloaditem.cpp:368: warning: Can't link to 'interruptReasonString()' Change-Id: Ia77d31851d17808330cfc701691e41eafb8d0aad Reviewed-by: Nico Vertriest <nico.vertriest@qt.io> Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
* Update ChromiumKai Koehne2017-03-281-0/+0
| | | | | | | | | | | | | Take in following fixes: bba44efa Merge "Merge remote-tracking branch 'origin/55-based' into 56-based" into 56-based 8d882ead target sysroot only with target toolchain 6d52e105 Fixup building with system ICU after 56 merge e9ca8f4d Merge remote-tracking branch 'origin/55-based' into 56-based a406e18f Work around internal compiler error on MSVC 2015 Update 3 x86 Task-number: QTBUG-59773 Change-Id: I9c9b5e12722385b9de7e56d5dc180e627218b920 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix build on 32 bit msvc toolchainKai Koehne2017-03-281-0/+27
| | | | | | | | | | | | Bring back the logic to disable debugging symbols for 32 bit native compilers on Windows (symbol_level = 0), or only do minimal debugging symbols useful for e.g. stack traces (symbol_level = 1). The corresponding gyp logic got removed in commit c5282c347929. Change-Id: Ibb7d43814992a00f5413d024f9c362d41dc5a3a5 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Add gnuwin32\bin directory to PATH on WindowsJoerg Bornemann2017-03-281-7/+18
| | | | | | | | | | | This is necessary for finding gperf, bison, yacc, etc. on Windows. Works only if the gnuwin32 directory is on the same level as the qtwebengine root directory, which is the case with a qt checkout. This is a port of 09e53e79 which did the same for the gyp build. Change-Id: Icd75c44605ba07269f721cd3b9877463c43f8beb Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Include Q_ENUM on QObject interface classesAleix Pol2017-03-272-0/+10
| | | | | | | | | | Adds useful metadata [ChangeLog][General] Use Q_ENUM on QtWebEngineWidgets interfaces Change-Id: Iac30298666b560f1ec62adde980d4eff25b49736 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Forward input method events to RWHV in widgetPeter Varga2017-03-271-0/+9
| | | | | | | Task-number: QTBUG-58362 Change-Id: Id4cf57c60da17538b224bb9bc91277c324c6a55d Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Register a Mojo SensitiveInputVisibilityServiceAllan Sandfeld Jensen2017-03-272-0/+68
| | | | | | | | We don't use or need the service, but Mojo doesn't like when it doesn't get to do pointless things. Change-Id: I1be66d1679bf688aa0139e84822de32a28ba3132 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Adaptations for Chromium 56Allan Sandfeld Jensen2017-03-2733-109/+175
| | | | | Change-Id: I78240d7956de4716757761fc6517f031b4adb822 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Rename WebCoreVisitedLinksManager to VisitedLinksManagerQtAllan Sandfeld Jensen2017-03-268-25/+24
| | | | | | | | Rename to follow our standard naming. This class was one of our oldest and probably predates our standard naming convention. Change-Id: I32dfbad9611b789ad13114d9692b07045806f7c0 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Create v8_snapshot gn toolchain from one pro fileAllan Sandfeld Jensen2017-03-252-14/+14
| | | | | | | | | | Merge the generation of the v8_snapshot toolchain back to being made in configure_host.pro. This is a lot cleaner and safer against errors, to make it work however we need to cache the target archicture so that it is still available with option(host_build) enabled. Change-Id: Iefed9c97528f8ce338e7a0d4fe5c6884fb4ef4bd Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix movementX and movementY properties of mouse eventsSzabolcs David2017-03-243-7/+11
| | | | | | | | | | Calculate movementX/movementY at every turn, not only when the mouse is in locked state. Task-number: QTBUG-59127 Change-Id: I362e055e6b5d6f831671604a093434373cedf19a Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Doc: Add inheritance to WebEngineView type docsLeena Miettinen2017-03-241-0/+1
| | | | | | | | | | ...to display all properties available for the type. Task-number: QTBUG-59673 Change-Id: I0ee61abefcfbcc229812dc7c3875d16fb279f9e0 Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io> Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Merge remote-tracking branch 'origin/5.8' into 5.9Michael Brüning2017-03-245-10/+14
|\ | | | | | | Change-Id: I8a281e308ec1a6e93dc9756ba6399ca1b50210d8
| * Delegate QWebEngineHistory::currentItem() to itemAt()Viktor Engelmann2017-03-211-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | Calling QWebEngineHistory::currentItem() before the first item is inserted, caused a segfault, due to accessing an illegal QList index. We now delegate the lookup to QWebEngineHistory::itemAt(), which checks the index first and returns a dummy element in case of an illegal index. Task-number: QTBUG-59599 Change-Id: I9cdd2533e33415a7b812c29fff5429eb005020dc Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * Remove stale parent connection when initializing delegate as a childMichael Brüning2017-03-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When clicking on a blank link target, the constructor of the RenderWidgetHostViewQtDelegateWidget instance for the newly created view is called with the originating QWebEngineView as its parent and will connect its removeParentBeforeParentDelete slot to the originating view's destroyed signal. This leads to the situation where the delegate's parent will be set to null when the originating view is closed, causing the view to display only an empty widget with the actual web contents remaining live in the background. This patch removes the connection to the old view when initializing the delegate as a child of the QWebEnginePagePrivate instance. The addition to the layout updates the parent and child relationship between the view and the delegate internally. Task-number: QTBUG-58381 Change-Id: I448380478c2bcfcfbddaee8a35caf46010e57972 Reviewed-by: Florian Bruhin <qt-project.org@the-compiler.org> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
| * Improve cross-links between QtWebEngine classes in docsFlorian Bruhin2017-03-083-7/+10
| | | | | | | | | | | | Change-Id: Iae853d4d3ab73306f90d93b62a419d1d440a3259 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | Remove gyp handlingAllan Sandfeld Jensen2017-03-2225-1501/+292
| | | | | | | | | | | | | | Remove now dead GYP related code. Change-Id: I7d5b8f28f8925e553211dc88acd571b605ffe80d Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Support Visual Studio 2017Joerg Bornemann2017-03-221-0/+2
| | | | | | | | | | Change-Id: I6b8e49913fc73ec3728b5c005fd83d2e573ad4ea Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Handle texture nodes alternative source rectAllan Sandfeld Jensen2017-03-221-8/+18
| | | | | | | | | | | | | | | | | | | | Texture nodes has an alternative and rarely used way of setting source rect using uv_top_left and uv_bottom_right. This patch adds support for it. Task-number: QTBUG-59407 Change-Id: Ic14c3dbdede6ece07eb3cda2dcfea8e860654ef2 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Use matching bitwidth for x86 targetSamuli Piippo2017-03-211-1/+1
| | | | | | | | | | | | | | | | | | Extends the matching bitwidth check for v8snaphost builds to include x86 targets as well. Task-number: QTBUG-59504 Change-Id: Ieea917b8a2ed92e157d4cdb4cc272c1bd7a5f74d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Cleanup ozone platformAllan Sandfeld Jensen2017-03-204-95/+98
| | | | | | | | | | | | | | | | | | Rename the platform to make it clear it is not just for eglfs. Fixes formating, and also removes parts unnecessary for us that original ozone platforms doesn't use anymore either. Change-Id: I04e5792e2ced2580ae0cbfe208b4e594af60a09a Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Port MIPS configuration to GNAllan Sandfeld Jensen2017-03-201-0/+18
| | | | | | | | | | | | | | Translate MIPS configuration to GN like we do for GYP Change-Id: Ieb2534eeb40bdec54d2c986c65c523239c41a355 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Fix OpenGL for embedded buildsAllan Sandfeld Jensen2017-03-203-2/+4
| | | | | | | | | | | | | | | | Sets the external ozone platform and make sure we don't set bad QT_LIBDIR defines for libEGL and libGLESv2 when not doing cross builds. Change-Id: I60eada3c93224a3aa3a105b007d669932516d331 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Build v8snapshot with host of matching bitwidthAllan Sandfeld Jensen2017-03-192-12/+16
| | | | | | | | | | | | | | | | | | | | | | Use the separate GN toolchain for v8snapshot to match bitwidth of host and target for that tool. Task-number: QTBUG-59504 Change-Id: Ic01675a4d4daf4be0327c516195fe87ac16720f2 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io> Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Support appstore compliancy switch from the new configure systemAlexandru Croitor2017-03-172-5/+3
| | | | | | | | | | | | | | Change-Id: Ic7768d9b2677ed488d6af05f34942321b670671e Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Support linux-clang-libc++ buildsAllan Sandfeld Jensen2017-03-142-0/+2
| | | | | | | | | | | | | | | | | | | | | | Updates chromium including: 579ba08 Remove dependency on data_use_measure compontent 7172fcd Fix shim headers for vpx 0085696 Fix builds with path containing "+" aad9dc4 Support linux-clang-libc++ builds Change-Id: Ic4fa0bea77ee170c55f02efb883d86b3537d9229 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Port ARM configuration to GNAllan Sandfeld Jensen2017-03-141-0/+37
| | | | | | | | | | | | | | Detect ARM configuration and pass it to GN. Change-Id: I809db0e096dc8c8785b37990769d4a981b147624 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Merge remote-tracking branch 'origin/5.8' into 5.9Liang Qi2017-03-103-2/+6
|\| | | | | | | Change-Id: I6a39d1ec0ffc0394fbb472ab1df2963ed5c69ec7
| * Clarify JavascriptCanAccessClipboard documentationFlorian Bruhin2017-03-072-2/+4
| | | | | | | | | | | | | | | | | | Chromium always allows copying to clipboard (even when this is disabled) if it's resulting from an user interaction. Change-Id: I0363b892fef6ce015a2f8ae9b89423e1655b516c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Handle Qt::AA_UseSoftwareOpenGLAllan Sandfeld Jensen2017-03-031-0/+2
| | | | | | | | | | | | | | | | Switch to software mode if it was requested with application attributes. Task-number: QTBUG-59273 Change-Id: Ia48b4587a3cbe3590ee9231375e07d45381bc7b2 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* | Restructure print_view_manager_base_qt.cppAllan Sandfeld Jensen2017-03-091-248/+237
| | | | | | | | | | | | | | | | | | | | | | Changes the order of the function declaration to match the original file chrome/browser/printing/print_view_manager_base.cc. This should make it easier to compare with updated versions of the original after updates of Chromium. Change-Id: I525ca13e865725e7ca143aee3e9d072d4e4dc1d5 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Enable FFMPEG configuration for GNAllan Sandfeld Jensen2017-03-083-1/+3
| | | | | | | | | | | | | | | | | | | | Enables proprietary codecs and using system FFMPEG Pulls in Chromium changes: 725c4c9 Optionally link with system ffmpeg Change-Id: Id7b3379c99a709348bf8684f78e44b41169a1e5a Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Rework form validation QML testsPeter Varga2017-03-082-5/+0
| | | | | | | | | | | | | | | | | | Use Custom Dialog API instead of Test Support API for testing form validation messages. Moreover, remove the form validation part from the Test Support API. Change-Id: I8ecc80745ddad26f90df413d9a1d04045512af6c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix 32-bit Windows buildJoerg Bornemann2017-03-071-0/+1
| | | | | | | | | | | | | | | | We must set target_cpu="x86" for 32 bit builds. Task-number: QTBUG-59334 Change-Id: I2d58045de47c51953c5f8712a175d2ebdcb00e15 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Add FINALs and explicit constructor to QQuickWebEngineScriptSzabolcs David2017-03-071-7/+7
| | | | | | | | | | | | | | Deriving from this class is not expected. Change-Id: I75be53358292fbcdc813fc6d48b21362f1cc3f16 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Remove erroneous CONSTANT attributes from the public widgets APIAlexandru Croitor2017-03-072-7/+7
| | | | | | | | | | | | | | | | Even though the touched properties don't have Q_PROPERY modifieds or changed signals, the values can still be changed by internal code. Change-Id: Idb235dde0466f819b9c78835a8d7ad36092d2623 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Use GN linker flags on core_moduleAllan Sandfeld Jensen2017-03-072-4/+5
| | | | | | | | | | | | | | | | | | | | | | Again enable linking with the flags GN calculated for us. Also fixes a typo that meant we didn't get the link timing flags on Windows. Change-Id: Idd46fd65ea7618a9c510fa2c790569f5974aa5ff Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Respect use system opus, vpx and icu configurationAllan Sandfeld Jensen2017-03-072-3/+3
| | | | | | | | | | | | | | | | | | | | | | Also updates Chromium pulling in: eb8da98 Reland: Optionally unbundle libvpx, opus and FLAC 6cdd0a0 Legalize chromium's directory sort 503e84f46 Optionally link with system ICU e429a99 Fix incorrect dependency on shim headers Change-Id: If6da022c410ac5de6ab40ab8a800bf547406efb5 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Merge "Merge remote-tracking branch 'origin/5.8' into 5.9" into refs/staging/5.9Allan Sandfeld Jensen2017-03-0423-97/+122
|\ \
| * | Merge remote-tracking branch 'origin/5.8' into 5.9Allan Sandfeld Jensen2017-03-0223-97/+122
| |\| | | | | | | | | | Change-Id: Iff6ab3c287c58d8ec84a1513460bfce5218e8a61
| | * Pass <input type="file"> result to correct RenderFrameHostViktor Engelmann2017-02-283-14/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In WebContentsDelegateQt::RunFileChooser, we get a content::RenderFrameHost*, to which chromium wants us to pass the files that were selected. We now store that pointer in the FilePickerController, so that we can pass the files there in FilePickerController::filesSelectedInChooser. The attribute content::WebContents *m_contents is no longer needed then, because that was only used to obtain the main frame to which the files were sent (this caused problems when the file input was inside an iframe - we sent the result to the wrong frame in that case, so the file input object remained blocked). Task-number: QTBUG-59168 Change-Id: Ic2fdacb225e5a1a9e46ced6a1e4a9ff428f18a62 Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>