summaryrefslogtreecommitdiffstats
path: root/src/systemui-lib
Commit message (Collapse)AuthorAgeFilesLines
* Security: allow white-listing of installation URLsRobert Griebl7 days6-2/+43
| | | | | | | | | | | | Using the new config field "installer/allowedURLs" you can supply a list of URLs that will be used to filter the accepted URLs by PackageManager::startPackageInstallation(). In the absence of this field, all URLs are accepted as before. Any entry in the list is wildcard-matched, if it contains '*'. Change-Id: Ia289e8cad1f65f17fb397c8044b31a844845faa5 Pick-to: 6.11 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* CMake: Make the package installation optionalDominik Holland7 days1-0/+1
| | | | | | | | | | A package doesn't exist yet when the install rule is created. Making the install optional fixes this problem. Fixes: QTBUG-129127 Pick-to: 6.11 6.10 6.8 Change-Id: Iff7f28f687b2aca8c104eebbba20c03f75491ac7 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* CMake: fix FAKEROOT integration to work with pseudoDominik Holland7 days1-2/+9
| | | | | Change-Id: I3fd1a1ddebdabc7085bbab9f35e001b29c09a006 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* CMake: Add support for using a staging dir when packagingDominik Holland7 days1-3/+27
| | | | | | Task-number: QTBUG-129127 Change-Id: Idadb205ed5fa215ae4c61b0707b73451406be715 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* CMake: Add support to create package with dev-signaturesDominik Holland7 days1-7/+49
| | | | | Change-Id: I21c9253c0becb0404a6ccfa47139026fa3a3339f Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Prevent future compatibility breaks by fixing QDataStream versionsRobert Griebl8 days1-0/+2
| | | | | | Pick-to: 6.11 Change-Id: I045672c8e17d76c0407f854d2bffbf8d52b967cb Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* CMake: fix typo in fakeroot handlingRobert Griebl8 days1-2/+2
| | | | | | Change-Id: I8209941450e9b86c9f11b61d065042f38dffb119 Pick-to: 6.11 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* Prevent duplicte debug output on shutdown in single process modeRobert Griebl9 days1-3/+5
| | | | | | | | | | Due to the timing the single-process runtimes are destructed, the "close reason" message was printed multiple times (up to once for each window and then again up to once for each application) Change-Id: I68a580e01b7554ec8f828cc6d136b680be85ea91 Pick-to: 6.11 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* ASAN: prevent leak on shutdown, if the controller has a connectionRobert Griebl9 days1-1/+1
| | | | | | Change-Id: I038c2c78ad9984d7561a986a9494c66267de501e Pick-to: 6.11 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* Replace Q_ENUMS with proper declarative, foreign registrationRobert Griebl9 days2-2/+1
| | | | | | Change-Id: I64f22c16417fb826a87e53a5e8d86662a8c8add3 Pick-to: 6.11 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* YAML: Add support for version 1.2 document parsingRobert Griebl9 days1-1/+1
| | | | | | | | | | | | | | | | | | | | | YAML 1.2 was specified in 2009 and 1.1 is considered legacy nowadays. The default for parsing and emitting unversioned documents is still 1.1, but you will see warnings for unversioned documents that use features that are not compatible with 1.2. Starting with AppMan 6.12, the default will switch over to 1.2 for unversioned documents. In addition all tags from the core schema are now correctly applied to both 1.1 and 1.2 documents. Version 1.1 will still be supported in the future for explicitly versioned documents. Change-Id: I6c9920784c8f7650d7e63f2273773d7fa462fe9a Pick-to: 6.11 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* Clang-tidy / ClazyRobert Griebl9 days43-207/+197
| | | | | | | | It's been a long time since the last round, so there are a lot of fixes Change-Id: Ic226130eed0d03776749a2a04806efaa537f3f19 Pick-to: 6.11 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* Re-organize the appman libraries into more manageable chunksRobert Griebl9 days116-0/+26140
This is part 2 of this patch series. Part 1 was about converting the libs from static to shared. This patch now consolidates the library zoo into more manageable and logical chunks. Plus this will also help with keeping the hit to the startup performance (incurred by part 1) in check. The new setup closely follows the QML module nomenclature, but needs to account for the tool builds as well. The new libs are: - Common no changes - Package a combination of Package, Application and Crypto - Shared renamed from SharedMain and combined with Monitor and IntentClient - SystemUI renamed from Main and combined with Manager, DBus, IntentServer and Window - Application renamed from ApplicationMain Because the CrashHandler is using a "constructor" function, it had to be moved from the Common to the Shared lib to avoid having the custom crash handler also in the tools, as they need to install their own CTRL+C handler at times. In addition the 3 QML import modules are now built as official QML plugins and they are installed into $QTDIR/qml as any other import library. NB! There is a problem we still have to solve: custom appman binaries (system-ui's) are currently built by linking against Qt::AppManMain, but this no longer exists. It would be ideal if we could add an alias here. The other renamed modules are not that problematic, as they shouldn't be used outside of the appman project itself. If an alias is not possible, a dummy library which depends on the new "SystemUI" one should also do the trick. Change-Id: Id07e05a523c48e773c295c5be2f27804229155e0 Pick-to: 6.11 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>