qt6-bb10/src/corelib
Tor Arne Vestbø 993cbef7f4 permissions: Handle unknown permission statuses gracefully
If an application runs on a macOS or iOS version that introduces new
permission statuses that we haven't accounted for, we don't want to
crash.

Replace Q_UNREACHABLE with a warning and Qt::PermissionStatus::Denied.

Pick-to: 6.5 6.6
Change-Id: I063042f510caaa8936742f6195bd455d09c4d9ee
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-06-29 03:13:10 +02:00
..
animation Fix build with -sanitize undefined 2023-06-26 19:32:11 +02:00
compat QUrl: Add QUrl::fromEncoded(QByteArrayView) overload 2023-06-08 03:09:52 +03:00
doc Fix qdoc link warnings after moving a few examples to manual tests 2023-06-27 17:39:23 +02:00
global Make qt_noop() constexpr and noexcept (for C++) 2023-06-29 01:54:10 +02:00
io Remove all class-level [[nodiscard]] from the code-base 2023-06-28 20:48:45 +00:00
ipc Doc: Add \relates command to two global swap() functions 2023-06-23 07:08:22 +00:00
itemmodels Fix qdoc link warnings after moving a few examples to manual tests 2023-06-27 17:39:23 +02:00
kernel Remove all class-level [[nodiscard]] from the code-base 2023-06-28 20:48:45 +00:00
mimetypes Convert remaining QT_NO_XMLSTREAM* to use feature system 2023-05-15 14:02:43 +02:00
platform permissions: Handle unknown permission statuses gracefully 2023-06-29 03:13:10 +02:00
plugin QLibraryPrivate: Actually merge load hints 2023-06-20 15:41:20 +02:00
serialization QXmlStreamReader: make fastScanName() indicate parsing status to callers 2023-06-28 00:11:21 +03:00
text QStorageInfo/Linux: use readAll() with /proc/self/mountinfo 2023-06-27 02:28:21 +03:00
thread Remove all class-level [[nodiscard]] from the code-base 2023-06-28 20:48:45 +00:00
time Return TZ time-zone backend's tranCache() as a const reference 2023-06-16 21:37:11 +02:00
tools Remove all class-level [[nodiscard]] from the code-base 2023-06-28 20:48:45 +00:00
tracing Fix crash at exit when tracing 2023-04-26 10:46:06 +00:00
CMakeLists.txt Add q20::erase_if(std::vector, pred) and erase(vector, val) 2023-06-22 21:13:31 +00:00
Qt6AndroidMacros.cmake Evaluate the QT_ANDROID_DEPLOYMENT_SETTINGS_FILE property 2023-06-28 11:13:16 +00:00
Qt6CTestMacros.cmake Disable CMake test project build tests on WASM 2023-01-11 19:36:26 +01:00
Qt6CoreConfigExtras.cmake.in Avoid resetting CMAKE_AUTOMOC_MACRO_NAMES 2023-02-28 18:15:24 +01:00
Qt6CoreConfigureFileTemplate.in CMake: Fix unnecessary rebuilding upon reconfiguration 2020-10-30 17:19:27 +01:00
Qt6CoreDeploySupport.cmake CMake: Add NO_COMPILER_RUNTIME to deploy script macros 2023-03-13 16:31:31 -05:00
Qt6CoreMacros.cmake Make WASM export names different across modules 2023-06-20 09:08:03 +02:00
Qt6WasmMacros.cmake Use a sanitized JS export name for WASM modules 2023-06-26 19:32:10 +02:00
QtCompressMimeDatabase.cmake Replace the scripting-based mime types compression mechanism with CMake 2022-12-01 02:23:51 +01:00
QtCore.dynlist Remove old pre-6.0 hooks 2021-10-22 19:12:07 -07:00
QtInstallPaths.cmake.in Move install paths from CoreConfigExtras.cmake to a separate file 2022-10-25 16:05:11 +02:00
configure.cmake permissions: Remove need to check QT_CONFIG(permissions) in user code 2023-05-25 13:46:30 +02:00
debug_script.py Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qt_cmdline.cmake Add CTF tracing backend 2023-01-13 12:43:46 +02:00