summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-11-201-2/+2
| | | | | Change-Id: I6089dc1a6fa68e5068c7a64331da4729e91549c3 Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-11-171-2/+2
| | | | | Change-Id: I42794b2509bfc9cd69ea1c088aee56cbd6293e87 Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Android: use convience wrapper to register nativesVolker Hilsheimer2023-11-161-6/+1
| | | | | Change-Id: Iacea0f1b0376e04a6d43f453f7103e0ee624b43c Reviewed-by: Assam Boudjelthia <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-11-151-2/+2
| | | | | Change-Id: Ie3b37bea7f4e99258989e7425a86f3e2096a866c Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-11-131-2/+2
| | | | | Change-Id: I4069db7aee966ece2d6fae5cacd1b88bfd92de32 Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Android: modernize implementationVolker Hilsheimer2023-11-132-160/+124
| | | | | | | | | | | | | | | | | Declare used types, use modern variadic template APIs, and native method declarations to get rid of all hand-crafted signature strings. In the native methods, cast the id (that was previously created via reinterpret_cast from 'this', pointing to the private) back to the private pointer directly, and only maintain a set of privates to make sure that the id we get is still representing an alive private. Remove some dead (commented) code, and simplify JNI_OnLoad. Change-Id: Ie8711e5f072edde5781b33941aee4e37b8213ea2 Reviewed-by: Assam Boudjelthia <[email protected]>
* Android: make functions static if they don't need the objectVolker Hilsheimer2023-11-133-20/+22
| | | | | | | | | | | | | | | This prevents threading issues when calling object functions in a lambda run on the android main thread, when the QJniObject was instantiated on the Qt main thread. As a drive-by, store the id as a 64bit value on the C++ side. jlong is always a 64bit type, even on 32bit Android systems, so we can't use quintptr without truncating data. Change-Id: I96d983eb9b2e99338768d30f7000ec9e75d3fea6 Reviewed-by: Christian Strømme <[email protected]> Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Assam Boudjelthia <[email protected]>
* Document event related limitations of WebViewVolker Hilsheimer2023-11-131-1/+4
| | | | | | | | | We cannot handle events on behalf the native web view. Pick-to: 6.6 6.5 Fixes: QTBUG-69801 Change-Id: I919ae0fcbf0d11ebb1580ee6108fa71abd8c1747 Reviewed-by: Christian Strømme <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-11-111-2/+2
| | | | | Change-Id: Ia017292800f566369fbd8b34431b41f97f5a4016 Reviewed-by: Qt Submodule Update Bot <[email protected]>
* CMake: Fix multi-arch iOS builds due to absolute framework pathsAlexandru Croitor2023-11-021-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | find_library(FWWebKit WebKit) stores the absolute path to the framework of one of the sysroots, into FWWebKit. When building with CMake 3.27 targeting multi-arch iOS, this results in the following flag being passed to the compiler, regardless of the architecture/sysroot: -F/Applications/Xcode14.app/Contents/Developer/Platforms/ iPhoneOS.platform/Developer/SDKs/iPhoneOS16.2.sdk/ System/Library/Frameworks This causes warnings when building qdarwinwebview.mm regarding unsupported webkit features during the x86_64 simulator build. When combined with -Werror, it fails the build. Use qt_internal_find_apple_system_framework() instead of find_library(), to ensure we pass '-framework WebKit' instead of the absolute path to the framework. This avoids warnings and is cross-sysroot compatible. As a drive-by, also fix the lookup of the Foundation framework. It's called Foundation, not FoundationKit. Pick-to: 6.2 6.5 6.6 Task-number: QTBUG-118138 Change-Id: I4379f14d65a37470f08ae8e7f46e00b886eadaf1 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Alexey Edelev <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-11-021-2/+2
| | | | | Change-Id: I6a02648b91a33d19e62ab43041233509d3f5535f Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-10-281-2/+2
| | | | | Change-Id: I0650c18efe93b5c17290fccb2ab2940ec0ad0b8a Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Android: don't rely on implicit cast of declared QtJniTypes to jobjectVolker Hilsheimer2023-10-271-1/+1
| | | | | | | | | The operator jobject() should be removed from declared QtJniTypes in qtbase, as it's dangerous. Prepare for that by calling object(), which returns the wrapped jobject as well. Change-Id: I73c52a94f604568f0ba13a4fa32a0856c6cfd1fd Reviewed-by: Ivan Solovev <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-10-191-2/+2
| | | | | Change-Id: I5131590d2260167acd250f52f9952a1558746fcd Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Include what you need: <QPointer>Marc Mutz2023-10-133-0/+6
| | | | | | | | | | | | | | | | | | | | | | | All these TUs relied on transitive includes of qpointer.h, maybe to a large extent via qevent.h, though, given that qevent.h is more or less the only public QtBase header that includes qpointer.h, something else seems to be at play here. Said qevent.h actually needs QPointer in-name-only, so a forward declaration would suffice. Prepare for qevent.h dropping the include. The algorithm I used was: If the TU mentions 'passiveGrabbers', the name of the QEvent function that returns QPointers, and the TU doesn't have qpointer.h included explicitly, include it. That may produce False Positives, but better safe than sorry. Otherwise, in src/, add an include to all source and header files which mention QPointer. Exception: if foo.h of a foo.cpp already includes it, don't include again. Task-number: QTBUG-117670 Change-Id: I4f4f738e6dc46aec3e5772036cf2c94e6141c535 Reviewed-by: Fabian Kosmale <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-10-121-2/+2
| | | | | Change-Id: I82904b4b9223d8b5f6cbf70b9da7cfb9929d7d03 Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Highlight Minibrowser exampleKai Köhne2023-10-101-0/+2
| | | | | | | Task-number: QTBUG-117224 Pick-to: 6.5 6.6 Change-Id: I0b5542005e58eb8b7956b33eedf169284208eb07 Reviewed-by: Andreas Eliasson <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-10-051-2/+2
| | | | | Change-Id: Ife647fc3e4acc0131fc8e13e22c638f7e932b6ec Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Change Axivion configurationMatti Paaso2023-10-051-22/+3
| | | | | Change-Id: I0d3a0a0ad0acbc31651c865ac2cb3d2663a502aa Reviewed-by: Jukka Jokiniva <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-10-041-2/+2
| | | | | Change-Id: I003e9724e949c2c2f93999c6c457a6e37f1fc46e Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-10-021-2/+2
| | | | | Change-Id: I4d733a995170a6be3556f499368eb6e0e557b0db Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-09-271-2/+2
| | | | | Change-Id: Ia081582f1706f524fd03d899ca9abea620e62143 Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-09-251-2/+2
| | | | | Change-Id: I9a06a60740c814142b421f380442f5d6baba8a66 Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-09-211-2/+2
| | | | | Change-Id: I86836b4b449f5a7ac0cad0d0c12ae9a076990740 Reviewed-by: Qt Submodule Update Bot <[email protected]>
* JNI: Explicilty convert QtJniType instances to jobject for variadic argumentsVolker Hilsheimer2023-09-211-1/+1
| | | | | | | | | | | | | | | | | When calling the (old and outdated) variadic argument overloads of callMethod (as opposed to the variadic template overloads), then we cannot pass complex types. That types declared via the Q_DECLARE_JNI_CLASS macro are trivial was an implementation detail that we shouldn't rely on as long as those types are not part of the public API. Cast explicitly to jobject so that we can make those types proper QJniObjects. Updating this code to use the new variadic template overloads is for a follow-up commit. Change-Id: I8bb2706f2cbe198f7fc4091a1f881c1198de4491 Reviewed-by: Christian Strømme <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-09-191-2/+2
| | | | | Change-Id: I01f47cf5c19d40cc5dbedde862889fff606f7225 Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-09-181-2/+2
| | | | | Change-Id: I4a25a364dd32ef8e51c55d2e0407e6f3d98dd952 Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-08-311-2/+2
| | | | | Change-Id: Idfa5a8e32f9b62f716ef15f5e34b34091155acc7 Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-08-291-2/+2
| | | | | Change-Id: I76011317535a548d070601af1c7e5f9d6e0187b5 Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-08-251-2/+2
| | | | | Change-Id: Icd267b913b9791d53ef2504d17b64b721e24b873 Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-08-231-2/+2
| | | | | Change-Id: I6cfff009adcb0e15d29f2f96c4858794c2f58833 Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Doc: Add example categories for Qt Webview examplesJaishree Vyas2023-08-211-0/+1
| | | | | | | | Task-number: QTBUG-116066 Pick-to: 6.5 6.6 Change-Id: Iaac160c050cb95960084989376cce45ab6e92a66 Reviewed-by: Safiyyah Moosa <[email protected]> Reviewed-by: Venugopal Shivashankar <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-08-171-2/+2
| | | | | Change-Id: I89ece0031f0ee7f4c8c30a47f4ad076faa6b81dc Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-08-141-2/+2
| | | | | Change-Id: Ie272815a528d4fa101c3c7530f7b9ac93bc87dbe Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-08-101-2/+2
| | | | | Change-Id: I1b78a4c828e3a3c6a0e48d56d3abf5771145f6e2 Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Mark the module free of Q_FOREACH ... againMarc Mutz2023-08-051-0/+1
| | | | | | | | | | | This restores the QT_NO_FOREACH macro originally added in 67580ae6e2f75d93aae1e3412bf9c042b2992320 and then lost in the cmake port. Luckily, no new uses have crept in in the meantime. Change-Id: Id7af4c99096dbe25b40082ee9f1e3bd000153f32 Reviewed-by: Christian Strømme <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-07-291-2/+2
| | | | | Change-Id: I7c81e8b276d02d1001b27bf3399b875c9fcf0ab6 Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-07-261-2/+2
| | | | | Change-Id: I0b1da5631afdf7dd469dfa4b4749585a5e84a8ab Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Remove deprecated sync.profileAlexey Edelev2023-07-261-6/+0
| | | | | | Task-number: QTBUG-112418 Change-Id: Ib633353148d56a9c3f877670667d4b770bb22be2 Reviewed-by: Alexandru Croitor <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-07-071-2/+2
| | | | | Change-Id: Ib208621c40023befffadf41ecc9ec19c8839c5f1 Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-07-041-2/+2
| | | | | Change-Id: I4190ee88e8655ef194a0661adc9b282dc3e525c0 Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-06-301-2/+2
| | | | | Change-Id: I143c691b8472b187c0d2e8b12654617097b16c74 Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-06-281-2/+2
| | | | | Change-Id: I5c6e4ccf9d3f59f310784a63687b52c48a42999d Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-06-201-2/+2
| | | | | Change-Id: I6eb41610c783be9267747dc2d9a5b8aa411943c3 Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Update dependencies on 'dev' in qt/qtwebviewQt Submodule Update Bot2023-06-151-2/+2
| | | | | Change-Id: I31dcc6dc26d5aad1cbf704723acafc8fb2a31d0b Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Bump version to 6.7.0Jani Heikkinen2023-06-151-1/+1
| | | | | Change-Id: I4290639db2154e6e812588960b06d53dfffdf5c8 Reviewed-by: Jani Heikkinen <[email protected]>
* Enable locale file access in the auto testsChristian Strømme2023-06-142-0/+11
| | | | | | | Task-number: QTBUG-114495 Pick-to: 6.6 6.5 6.5.2 Change-Id: Ic32814a8e2672dd3835083dc2e8c0abebb9f168b Reviewed-by: Allan Sandfeld Jensen <[email protected]>
* Fix cookie comparison when removing cookiesChristian Strømme2023-06-141-1/+1
| | | | | | | | | Use isEqualToString to actually check the content of the NS strings. Task-number: QTBUG-114495 Pick-to: 6.6 6.5 6.5.2 Change-Id: Iadffee7e9b47286f347731639f094ae5cb748926 Reviewed-by: Allan Sandfeld Jensen <[email protected]>
* Fix title updates in the darwin backendChristian Strømme2023-06-141-1/+7
| | | | | | | | | Use KVO the same way we do for the progress Task-number: QTBUG-114495 Pick-to: 6.6 6.5 6.5.2 Change-Id: I8fd9f6adaa1fba052d25e1480836dca61558351c Reviewed-by: Christian Strømme <[email protected]>
* Remove unneeded prep step in the Darwin pluginChristian Strømme2023-06-141-7/+0
| | | | | | | | QT_MAC_WANTS_LAYER is on by default on macOS now. Pick-to: 6.6 6.5 Change-Id: I1788e01056a572aaa73293a596dad4068f3f3bfd Reviewed-by: Tor Arne Vestbø <[email protected]>