summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies on 'dev' in qt/qtapplicationmanagerHEADdevQt Submodule Update Bot2 days1-6/+6
| | | | | Change-Id: I1308b14670fffc483e1ec5943e099a9c47f63f4c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix system-ui wrapper generation when cross-compiling on WindowsRobert Griebl2 days1-1/+1
| | | | | | | | | | When doing b2qt cross builds on Windows, we are generating .sh wrappers, but that doesn't mean we have chmod available. Change-Id: Ie9b36e7015b917cbc7fc30f1ad4e769128d4d87c Fixes: QTBUG-124531 Pick-to: 6.7 6.5 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot10 days1-6/+6
| | | | | Change-Id: I800f20e2be57b74b8b706ca032cc78dfdb6f81cd Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix D-Bus marshalling for taskRequestingInstallationAcknowledgeRobert Griebl10 days3-13/+25
| | | | | | | | | | | | | | | When a new package was installed, the D-Bus marshalling code for the signal tried to serialize the contained applications' metadata via the ids, but at that point, the ids are not known to the ApplicationManager yet. Instead we now do the same as in the PackageManager class: add a function that can serialize an Application * (that doesn't need to be known to the ApplicationManager). Change-Id: I5989c1e1d449d38d634fd00e7ed33bf66e9430a3 Pick-to: 6.7 6.6 6.5 6.2 5.15 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot10 days1-6/+6
| | | | | Change-Id: I8bef96561d2aba5f24ea84593690c7e077bd5ba4 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot13 days1-6/+6
| | | | | Change-Id: I4a98222005a8e14d32efce96b703391834a97cb6 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* appman-controller: detect stale lock files and auto remove themRobert Griebl14 days2-2/+11
| | | | | | Change-Id: I7828419c6499ae05eaba9608990400d7cbfd7cd2 Pick-to: 6.7 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* Code cleanupRobert Griebl14 days2-5/+0
| | | | | | Change-Id: I2f47a7b41fd67574161f573586df3acc7e869cf4 Pick-to: 6.7 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2024-04-251-6/+6
| | | | | Change-Id: Idaf0e54adc60c36a5f4654e17b6a8d34eb8197b8 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2024-04-221-6/+6
| | | | | Change-Id: Idc8c796f9e4c3957725d9eabde668e54eab2cf6e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Replace all signals/slots keywords with Q_SIGNALS/Q_SLOTSRobert Griebl2024-04-2273-105/+104
| | | | | Change-Id: I92238b01155a2e43b8877576faf603957dcb95ba Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2024-04-171-6/+6
| | | | | Change-Id: Ia7935ae0b8a5d8a61ac55bb2eb5013ee5d019ea5 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2024-04-051-6/+6
| | | | | Change-Id: Ic1a2921ab0b9f748df3ab09e3bc34d94cc3436a9 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* coin: Disable DLT logging for all Packaging jobsDominik Holland2024-03-271-0/+14
| | | | | | | Pick-to: 6.5 6.6 6.7 Fixes: QTBUG-123796 Change-Id: I930fc6c4b686412896ddd0dd7ad7238476e30845 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2024-03-261-6/+6
| | | | | Change-Id: Ibbc257b3edca052af62b18e6ff9575c3fc23f8e3 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix application quit behavior in single-process modeRobert Griebl2024-03-181-5/+30
| | | | | | | | | | | | | | Single-process mode QML applications had the finish() callback invoked twice, if a fade-out animation was running on a window. While at it, fixed the 'kill' stop flag to be more in line with the multi-process case and also updated the debug output on application stop to the newer, more readable style used by the native runtime. Change-Id: Iee44526d95b1416b213b897fb2b0542d2535c5e7 Fixes: QTBUG-123420 Pick-to: 6.7 6.6 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* Also support CBOR as a wire format for window properties on WaylandRobert Griebl2024-03-1817-26/+462
| | | | | | | | | Our extension now supports both the old style serialization via QDataStream for Qt clients (version 1) and via CBOR for easy use in non-Qt clients (version 2). Change-Id: I757fda61af126fb273264133552b86f3e0127a6a Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* QVariants from QML often have QJSValues, which cannot be serializedRobert Griebl2024-03-186-8/+46
| | | | | | | | | | | | | Using anything more complex than a plain string or int for window properties stopped working with Qt 6, as those QJSValues cannot be serialized via QDataStream << anymore. Most QJSValues inside QVariant however can easily be converted to C++ datatypes inside QVariant, so we do that. Change-Id: Iacbc4331d1b5dee514b421db274288df7224f902 Pick-to: 6.7 6.6 6.5 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* Rename the oddly named QVariant converter function for DBusRobert Griebl2024-03-187-19/+19
| | | | | | | | | | | | We need to tweak arbitrary QVariants for transmission via DBus, as some types are not serializable. The converter functions are only suitable for this use case, so name them "fromDBus" / "toDBus". (this needs cherry-picking because of the follow-up patch) Change-Id: Ia809242e175c20f236e6ab2b4268826650821d50 Pick-to: 6.7 6.6 6.5 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2024-03-171-6/+6
| | | | | Change-Id: I0e0aadca4f3829d3858231bfc5dfbead0d6789c6 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2024-03-161-6/+6
| | | | | Change-Id: Ib07f49b204bdfca2873813546d95bfebe9689946 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2024-03-141-6/+6
| | | | | Change-Id: I180db3cab8fff5a939a8457a8e0bdcc1acc2262d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2024-03-101-6/+6
| | | | | Change-Id: I196e245d2d2b0a32df77b68ce1624b8d5dadeda2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Workaround for missing AF_UNIX support in MingW-32 Yocto toolchainsRobert Griebl2024-03-101-1/+1
| | | | | | Change-Id: I761446ac169386236b39566bd5103857a218c9aa Pick-to: 6.7 6.7.0 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* CMake: Use qt_internal_add_example for examplesAlexandru Croitor2024-03-071-14/+14
| | | | | | | | | | | | | All examples should be added via qt_internal_add_example instead of add_subdirectory, to support building examples as ExternalProjects as well as support example sources installation. Pick-to: 6.6 6.7 Task-number: QTBUG-90820 Task-number: QTBUG-123096 Change-Id: Ia307f57beeaf9e7b15605f3b53f39e7983afa144 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* doc: Document the problem with missing libwayland-dev packagesRobert Griebl2024-03-0715-3/+35
| | | | | | | Change-Id: If225fd8e4aaff922375f96c573a7996e8ed21f74 Pick-to: 6.7 6.6 6.5 Fixes: QTBUG-123088 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Fix memory leak due to broken unique_ptr deleterRobert Griebl2024-03-071-1/+1
| | | | | | Change-Id: Ibff2b6f062c829bc40446337412af37103cf8631 Pick-to: 6.7 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* CMake: Simplify the code-coverage setup againDominik Holland2024-03-071-9/+4
| | | | | | Change-Id: I036da3a2887d354ac755197d1803744946062a2a Pick-to: 6.7 6.6 6.5 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Improve the code-coverage setupDominik Holland2024-03-072-12/+2
| | | | | | | | | | | | Instead of making a standalone_test build and referencing the build folder from there, we do the test build together with the module build and run it like on a developer machine. This makes the whole report more reliable and fixes some areas which were marked as not tested at all. Change-Id: Ifa646ebc613e35bb8aa2dc6e1c1df5c57191c180 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Fix exception handling after Q*Application::exec()Robert Griebl2024-03-076-40/+51
| | | | | | | | | | | | | | | | Uncaught exceptions thrown after we call exec() are originating from user code and we should not be catching those in our top-level catch handler. This will just print "ERROR: <what()>" without any context and make it look like the error is coming from the AM itself. Instead we need to run the event loop without a try/catch handler, so stray exception from user code go directly to our set_terminate handler in the CrashHandler class, which preserves as much context as possible and prints out a lot more useful meta data for debugging. Change-Id: Icc0432d5a6c5db85de439cafab89d05aa88b5891 Pick-to: 6.7 6.6 6.5 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Add libdbus to 3rdparty for Windows/macOSRobert Griebl2024-03-05142-6/+74215
| | | | | | | | | | | | | | On startup, we check if a libdbus-1 is provided by the system. If not we try to load our build instead, which will then be picked up by QtDBus later on. This enables us to use appman-controller in the QtCreator integration even on Windows and macOS. Change-Id: Ib832198ffd9c9e08e14d3c35cdcb4dff17f3b656 Pick-to: 6.7 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* coverage: use modern gcc commandline optionsRobert Griebl2024-03-051-3/+2
| | | | | | Change-Id: Ia4965266177d622b8de8d6173912fc690712ee6b Pick-to: 6.7 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* coverage: fix gcov exclude regression when using Qt developer buildsRobert Griebl2024-03-051-0/+4
| | | | | | Change-Id: I35161d75c8e882fbf619252043bbbe1c8e0db9c8 Pick-to: 6.7 6.6 6.5 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* tests: stabilize the timing in the processtitle testRobert Griebl2024-03-051-1/+2
| | | | | | Change-Id: I44abbc1de658a60eab88ee195798f5c24f02b88d Pick-to: 6.7 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* tests: add a test for the new package-server toolRobert Griebl2024-03-056-4/+306
| | | | | | | | Also fixes three bugs found in the server with those tests. Change-Id: Ic2ca10cc2ee66d644c97b4b613e59521dfcec7eb Pick-to: 6.7 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* tests: cleanupRobert Griebl2024-03-056-28/+5
| | | | | | Change-Id: I4b2151d4586c1b2fd0e75b901c4aaeed310abbe9 Pick-to: 6.7 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2024-03-051-6/+6
| | | | | Change-Id: I2bce5b8913fd2fe38b3fcd85cc73c07e3a9bd5f0 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Replace all #pragma once with old-style #ifdef include guardsRobert Griebl2024-03-05138-138/+552
| | | | | | | | Change-Id: I1805fbccf4d9398fddfe8f4ab977236afc49ca45 Fixes: QTBUG-122951 Pick-to: 6.7 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Avoid promoting WrapLibYaml to global in configure.cmakeAlexey Edelev2024-02-291-0/+3
| | | | | | Pick-to: 6.6 6.7 Change-Id: Ib359259a675689efa82ef42728f3ea7f25c9cc51 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* CMake: Change the cwd to the location of the system-ui-wrapper scriptDominik Holland2024-02-281-0/+2
| | | | | | | | | This makes sure the script works correctly wherever it is called from. Change-Id: Ic19ca09890f0ee82a2fa5e3dca81403f2b849eae Fixes: QTBUG-117010 Pick-to: 6.7 6.6 6.5 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* coverage: make sure lcov version 2 is availableRobert Griebl2024-02-281-0/+1
| | | | | | Change-Id: I0864195736780d0bd91966b366a635235b83b12f Pick-to: 6.7 6.6 6.5 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* tests: shorten the qml testrunner tag to make reports more readableRobert Griebl2024-02-281-1/+1
| | | | | | Change-Id: Ib5a4592b586a94be6f58848c51fc76b7163cdfc3 Pick-to: 6.7 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* doc: document that Window.parent is not supported on AMWs yetRobert Griebl2024-02-281-0/+2
| | | | | | Change-Id: I7daa6bd08dcc9b03ac37f2a1c8fd34cdf4e4163b Pick-to: 6.7 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* tests: stabilize flaky tests and add context on failuresRobert Griebl2024-02-283-14/+16
| | | | | | Change-Id: I2de8d216e875af83cb8a14b3ddcefdd787615634 Pick-to: 6.7 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* coin: Improve the code coverage setupDominik Holland2024-02-282-3/+17
| | | | | | | | | | * Set AM_TIMEOUT_FACTOR * Retry tests up to 3 times if they fail * Create a zip of the coverage-report folder * Exclude some more files Change-Id: I23d2e67bf4e7c192ce024e4c6602d531823d9ed4 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2024-02-271-6/+6
| | | | | Change-Id: I39e758cc44a525253895f301f7d67590407775e6 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix the two weirdly named auto testsRobert Griebl2024-02-2614-7/+7
| | | | | | | | | | | | | | applicationinstaller -> packagemanager The ApplicationInstaller singleton has been long replaced by PackageManager and that test had been adapted back then. qml/simple -> qml/applicationmanager This was always named incorrectly and is always a source of confusion. Change-Id: Iba25cd9b6b77344b2845a5c1c14cbac6ef489410 Pick-to: 6.7 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* Cope with macOS decomposed file names in the PackageManager auto testRobert Griebl2024-02-262-0/+7
| | | | | Change-Id: I2da5b63c771e48c7b851a43f4acae7d14109537f Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* doc: all QStringLists are documented as list<string> for QML and YAMLRobert Griebl2024-02-264-21/+21
| | | | | | | | | | It doesn't make sense to use a different syntax for QML vs. YAML. Also fixed "categories" wrongly being documented as object. Change-Id: Iaa1ed6801908dd852ec1c5226605de67b0345ea8 Pick-to: 6.7 6.6 6.5 Fixes: QTBUG-122721 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* Axivion: ignore everything we cannot controlRobert Griebl2024-02-261-6/+3
| | | | | Change-Id: I75e66db02712c5f666737c5fb25fa1c199c1b015 Reviewed-by: Dominik Holland <dominik.holland@qt.io>