summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies on '6.5' in qt/qtapplicationmanager6.5Qt Submodule Update Bot2023-05-121-4/+4
| | | | | Change-Id: I4cee8bf5334adb28dec6c7f431bfdbfd4708a32b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix some more obvious issues in GPU readerBernd Weimer2023-05-123-27/+20
| | | | | | | | | | | | Reference count has been fixed to properly terminate underlying GPU memory tracing process, no warning is printed any more when the process finishes and parsing intel_gpu_top output has been adapted to pick the actual load value (subject to future changes in the tool). Change-Id: I7f02e7b48b826da2d6b10f1d67470b560a3c7c21 Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit 880837be13cec8784a771b0b32ebb30be6da676f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Force our session bus to be a file-based socket on Linux. (part 3)Robert Griebl2023-05-111-2/+2
| | | | | | | | | | | Manually constructing a socket path on macOS and legacy Linux was wrong and prevent the start of the dbus-daemon: /tmpam/... instead of /tmp/am/... Change-Id: I101f74b50ba0477cbf49b59bfc76982c60dc7e0b Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 7381f5d848975729c87d66d91a53dfa1a28bb44a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Force our session bus to be a file-based socket on Linux. (part 2)Robert Griebl2023-05-111-1/+26
| | | | | | | | | | Detect if we are running against an old D-Bus library where the "unix:dir=..." syntax is not supported. Change-Id: Icc4ac38868e0bc2ea2675d86384c4ff33aa11cdb Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit a2aed270244c872c58dfdd945d1e5452ab23d057) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Ensure that process title code isn't optimized outBernd Weimer2023-05-111-1/+1
| | | | | | | | | | Some compilers optimzed out the ProcessTitleInitialize function in the .init_array section, since it isn't called explicitly. Change-Id: Ifd1fbdf9afd9e991a28590aeab7068223f5a132a Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit 77abca601078e643550bb662d4d7e61b0647beed) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Doc: Fix linking to org.freedesktop.Notifications specificationTopi Reinio2023-05-094-11/+12
| | | | | | | | | | | | The \externalpage entry and hard-coded URLs were pointing to a location that no longer exists; Update it, move the \externalpage to doc/external-pages.qdoc, and fix associated linking. Fixes: QTBUG-113297 Change-Id: I19d6847d645e445498ba7b80bc5c44856d76b57c Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> (cherry picked from commit b94f3dea6e6dd2ce7d56536d428ed6b54de06277) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Also expose applications in taskRequestingInstallationAcknowledgeRobert Griebl2023-05-094-1/+32
| | | | | | | | | | | Since switching to the new multiple-apps-per-package architecture, the actual infos about the apps in the package were not exposed via the requesting-acknowledge signal anymore. Change-Id: Id535c5d8710998ce26043ec8e56cd1881961628d Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit a027b61a64160ca5fa1c3bc8d135a38c75a534a7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix API breakage introduced in 6.5.0Robert Griebl2023-05-042-2/+2
| | | | | | | | | | | The DBus API cleanup commit 4a14abf206c548b80f2942c4d42e23b0e97ddeb1 for 6.5.0 accidentally broke the NotificationManager.count and the ApplicationManager.containerSelectionFunction properties. Change-Id: I87ccd8c695e8b9d18a5e4d09aaebd335bc8457c9 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 64723380fe2799cb53bedce38d66cc5af8dbea2e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-05-031-4/+4
| | | | | Change-Id: Ia69376e17a71f3be153d90701cd483ff773410ee Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Bump version to 6.5.2Jani Heikkinen2023-05-031-1/+1
| | | | | Change-Id: Ief2df8f09e9e4e1aa054edfd244e5d9d5b6ac451 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Force our session bus to be a file-based socket on LinuxRobert Griebl2023-05-031-1/+6
| | | | | | | | | | | Different versions of libdbus handle the default listen address (unix:tmpdir=/tmp) differently: you may get a file-based socket (Debian/sid), but you also may get an abstract socket (Ubuntu 22.04). Change-Id: I703679e5f9b0315027a4b2cabd5db1800870ab00 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 82b6a97147ff3e921998fcec269b79c842ee432f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-05-011-4/+4
| | | | | Change-Id: I3af9b6bf8ed151468754226c6d8dced296e23980 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-04-281-4/+4
| | | | | Change-Id: Ifcf3611bc946ba735953ec009ed50a7df1dd9c19 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-04-261-4/+4
| | | | | Change-Id: I3444b06502a71fe3c383723fdbfd31342827c0d2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-04-201-4/+4
| | | | | Change-Id: I85ebe7c6710df43aef1c95fb16880683f0d8cf94 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-04-191-4/+4
| | | | | Change-Id: I790ab35705b3af89be41ac6be69b829cfaa2c63c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-04-171-4/+4
| | | | | Change-Id: I080f4cbecb2eb3c122f46ed4186b89b81f29f8de Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-04-131-4/+4
| | | | | Change-Id: I94c101bcfd07f5503c23a54e34c1705b9b35c198 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-04-121-4/+4
| | | | | Change-Id: I664aeff35ca920c1cb1325abc56d6942e606c861 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Bump version to 6.5.1Jani Heikkinen2023-04-041-1/+1
| | | | | Change-Id: Ide5364bf7035478789d9b7f0347b958cce01e493 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-04-031-4/+4
| | | | | Change-Id: Ifa9e74abcf2e5caf6a5648780d49443ea46713f7 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-03-241-4/+4
| | | | | Change-Id: I09cee3becd0d286a2c2dad6b66350131ce501531 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Make it possible to specify directories to read config files fromRobert Griebl2023-03-233-2/+16
| | | | | | | | | | | This extends the existing -c/--config-file option to also accept directories, effectively expanding the argument to all *.yaml files in the given directory. Change-Id: I83f197e8f67ba363bf27b0f511c7821402bb7033 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io> (cherry picked from commit 6cc5230fd783802159aa3ca94c74b7ee1b27203a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-03-221-4/+4
| | | | | Change-Id: Idcbaabac6e60ba961a772d55209025e0b740a283 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* yaml: missing values are actually null/~, not empty stringsRobert Griebl2023-03-213-70/+77
| | | | | | | Change-Id: I6ca98e219bf4c3de9a1eaaae5ddeb7e7cfa27107 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 0ae6d0a3637075fe8005361177eae3142eee0a77) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-03-201-4/+4
| | | | | Change-Id: I096ac4f1fa559240ba729df90be239d5c4afc486 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-03-111-4/+4
| | | | | Change-Id: I5355478eceed8dca65804d4323f920e6b056a5bd Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix configuration version conflict between the Qt 5 and Qt 6 AMRobert Griebl2023-03-101-1/+1
| | | | | | | | | | | | | | | The configuration caches are versioned, but the Qt 5 and 6 versions got their cache version numbers bumped independently. This led to a situation where 5.15.12 and 6.4.2 both ended up at version '9', although they are binary incompatible. The fix here is to encode the major Qt version into the cache header as well, to make caches incompatible between Qt major versions. Change-Id: I7bbf7cb97cc1ea8bc4f16285588958ba11c19833 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io> (cherry picked from commit 5fe99d4113d460b0039130d5333bd8201452c03b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-03-081-4/+4
| | | | | Change-Id: I7ece1fed13d994c0c18f9f18fde565dbe44adbc4 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-03-031-4/+4
| | | | | Change-Id: I712a8445556f5dad41c4b902c6be69285baf905f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* appman-controller: detect broken D-Bus connections and quit with errorRobert Griebl2023-03-021-39/+107
| | | | | | | | | | | | | | | | | | | | | In case the AM crashed or the bus died during an install-package command, the appman-controller would have waited for a taskFail / taskFinished signal infinitely. We now detect a D-Bus service owner change (the AM crashed) and a disconnected D-Bus (the bus died). Even though the D-Bus daemon dying sounds unlikely, it is the norm when running the AM with --dbus=auto (the default). If the AM crashes (or gets terminated by an IDE), the private dbus-daemon just quits. This makes the controller much more suitable for scripting. Also fixed a bunch of clang/clazy warnings in this file. Change-Id: I01a3772fd8773d707984a07d38cbce1d7ab36c94 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit ff5f0d9c4d14042eb020a8ba5cb9ee7e51195a65) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix D-Bus registration error handlingRobert Griebl2023-03-021-17/+12
| | | | | | | | | | | | | | The inner try/catch block is a merge artifact and is actually hampering correct error handling, as the exit(2) call is a no-op before the event loop is started. We really want all exceptions that are supposed to stop the startup process to bubble up into setup(). Change-Id: Ic8f056346bfe927d89a21be740a9676f579cfdaa Reviewed-by: Bernd Weimer <bernd.weimer@qt.io> (cherry picked from commit 965dc087c8c79e2a2c1b9e415009ef442b46cdd6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-03-021-4/+4
| | | | | Change-Id: Ica9aea25b9c4a12a6048ee8db32a1131dc167a7a Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-03-011-4/+4
| | | | | Change-Id: If11a847e3c05b94e7008a8806846a933a6c08030 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix intents example deploymentRobert Griebl2023-02-281-0/+1
| | | | | | | Change-Id: Ie464c7911a44c1a02c4c2942e40cbee0a2797c42 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit b0434bf806532195af125e137eae7df9e3ce3742) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add links to the QtCreator manual regarding (remote) debuggingRobert Griebl2023-02-281-0/+9
| | | | | | | | Change-Id: I0106f9186e5e29df6a992af101480886e4501445 Reviewed-by: Dominik Holland <dominik.holland@qt.io> Reviewed-by: Tuomas Vaarala <tuomas.vaarala@qt.io> (cherry picked from commit 4da0ea3b84c7a1cdbbae2d8ccccfa05686529de9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-02-271-4/+4
| | | | | Change-Id: Idfc3b00a2b8901dc09b826455ef232d1dd30031a Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Bump minimal Qt version to 6.5.0Robert Griebl2023-02-222-1/+7
| | | | | | | Change-Id: I69b90893833623dd605cdaa6e94f4353b72d3269 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit c043749a7ecfb6498225b2178fba08d9c7735142) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update libarchive 3rd-party code from 3.6.1 to 3.6.2Robert Griebl2023-02-2214-22/+80
| | | | | | | Change-Id: I4b40a2f820e52bdfa8c4165b7a10b25d7e941e17 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 6f0eed2f383fdac97e33e01f67fba90260426353) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerv6.5.0-beta3Qt Submodule Update Bot2023-02-171-4/+4
| | | | | Change-Id: I7ed9f59304ccc50c708bf74c78c4ddb2f558c3d8 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Allow the registration of custom runtimes without patchingRobert Griebl2023-02-169-8/+39
| | | | | | | | | | | The new configuration key runtimes.registerCustomIds will now allow a configuration based registration of custom runtimes. Change-Id: Id94ab614a8460e4d941b97d8ed008f75b3d88d27 Task-number: QTBUG-107886 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit fd900784f41711c500369e1c39e46c73e95878cb) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Cleanup the D-Bus interfacesRobert Griebl2023-02-1515-69/+148
| | | | | | | | | | | - most of the newer PackageManager signals were not exposed at all - some properties were not exposed consistently or used the wrong type - clarified the D-Bus policy settings in regards to properties Change-Id: I6875c0a0613a0a63af2386d311a1a6c7c0031b7b Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 4a14abf206c548b80f2942c4d42e23b0e97ddeb1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Re-enable dbus xml generation from sourceRobert Griebl2023-02-154-10/+36
| | | | | | | | | | | | Somehow qdbuscpp2xml is unable to cope with QT_PREPEND_NAMESPACE_AM in Qt6, so we need to detect it and work around the issue. Long-term the tool needs a Q_DBUSCPP2XML_RUN define, to make the identification of this pre-compiler more robust. Change-Id: I88fd50669e7e5c9942fbc96c02aa452cda5171c8 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 41bb52b0a2b02628247a4afd2513aa52a6da5cf6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix the broken tests after the retirement of qt_parse_all_argumentsAmir Masoud Abdol2023-02-1018-23/+23
| | | | | | | | | | | | As we are now processing the arguments with cmake_parse_arguments(PARSE_ARGV, we don't need to pass the escape characters anymore. Task-number: QTBUG-99238 Change-Id: Ib2c8930b5a747140c0c8b877f994db083ad7bec6 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 7e063bdc97bcc0c2a54564bb07dbe76c94480d53) Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-02-101-4/+4
| | | | | Change-Id: I2385b46433add9b9a80d237ac863cb44761745a3 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix race condition when un-installing running appsRobert Griebl2023-02-071-7/+14
| | | | | | | | | | | | | It is very unlikely, but there is a race condition between the installer thread and the main thread regarding the life time of the Application object that is currently being uninstalled. We have a clear backtrace from a production system pointing to this error, but we cannot reproduce this problem in an unit test. Change-Id: I290582f270455c64e8653813c5e9d47c294f60e1 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 3d36fe9fbdd18f635de8c3f01b3067d37e3014d7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-02-021-4/+4
| | | | | Change-Id: Ia34d8cdbf25b46d3cd80993187f3f985bdd0f5fa Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Handle missing wayland display gracefullyBernd Weimer2023-01-301-0/+5
| | | | | | | | | | | | | When the wayland socket didn't exist, the appman-launcher-qml would terminate with an abort. This could happen for instance inside a container when the socket file was not mapped. This has been mitigated to only show a critical error message in the am.runtime.qml logging category and exit gracefully (with an error return code). Change-Id: Id29d0e79e260726d1ffd9b940eac806b483b8a19 Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit 61e91284ade4ba7548e84e6550934aff5bcf1ca2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-01-271-4/+4
| | | | | Change-Id: I1e6eb056f6dc452b016417ceee59b7eecf2580f7 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Suppress the QTP0001 policy warningAmir Masoud Abdol2023-01-271-0/+1
| | | | | | | Change-Id: I110a933537413c48c396c83c2471c835006d3a97 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit d56b6983003e4e3aa2585fc7a4d1154404707472) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>