summaryrefslogtreecommitdiff
path: root/src/yuzu/applets/qt_web_browser.cpp
AgeCommit message (Collapse)Author
2024-12-31chore: update project branding to citronZephyron
2024-01-29am: re-namespace frontend applets to frontend directoryLiam
2024-01-05hid_core: Move hid to it's own subprojectNarr the Reg
2023-03-25qt: implement RequestExit for appletsLiam
2022-12-05applets/web_browser: Use aliases for callbacksLioncash
Deduplicates a lot of long callback declarations
2022-07-05qt_web_browser: Fix button inputs with QtWebEngineMorph
Button inputs were broken as button was assumed to be the bit position of NpadButton prior to the input rewrite. Since this was changed to use NpadButton directly, we should count the number of trailing zeros to determine the bit position.
2022-06-21tweak API usage in qt_web_browser.cppKyle Kienapfel
In testing future versions of Qt I forgot to compile with `YUZU_USE_QT_WEB_ENGINE`, so with that flag enabled there are two issues that cropped up. 1. yuzu currently uses setRequestInterceptor, added in Qt 5.6, deprecated in 5.13 with this explaination at https://doc.qt.io/qt-5/qwebengineprofile-obsolete.html Interceptors installed with this method will call QWebEngineUrlRequestInterceptor::interceptRequest on the I/O thread. Therefore the user has to provide thread-safe interaction with the other user classes. For a duration of this call ui thread is blocked. Use setUrlRequestInterceptor instead. 2. QWebEngineSettings::globalSettings() pointer no longer exists in later versions of Qt From what I can tell, QtNXWebEngineView doesn't need to set these globally, when we make changes to settings(), QtWebEngineView::page() creates the page object if it doesn't exist yet. I don't see the page object being destroyed or otherwise replaced, except via destroying the QtNXWebEngineView object. The globalSettings() make sense if Pages or Views objects are being created outside of yuzu's control. To test this I've compared what BrowseNX and Odyssey's Action guide do in mainline 1049 and this PR. For now we're going to go up the chain to QWebEngineProfile::defaultProfile()->settings()
2022-04-23general: Convert source file copyright comments over to SPDXMorph
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2022-03-21qt_web_browser: Add missing includesameerj
2022-03-20yuzu: Reduce unused includesameerj
2021-11-24web_applet: Replace HIDButton with NpadButtongerman77
2021-11-24Qt_applets: Use new inputgerman77
2021-11-24core/hid: Move input_interpreter to hidgerman77
2021-10-15qt_web_browser: Add missing QApplication includeMorph
2021-09-24Use subdirectory of main data directory for QtWebEngine storagev1993
Previously, an unrelated directory was used for this. Keep everything together for consistency.
2021-07-27qt_web_browser: Fix lambda capture for HIDButtonjls47
2021-07-27qt_web_browser: Focus on the first link elementjls47
Focusing on the first link element fixes element navigation upon loading the web applet in games such as Super Mario Odyssey
2021-07-14applets: Append qt_ prefix to Qt frontend appletsMorph