summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies on 'dev' in qt/qtapplicationmanagerHEADdevQt Submodule Update Bot2023-05-171-5/+5
| | | | | Change-Id: I8b5841d6e4294ecc0f9d5e96aa8c4a4468c2d512 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2023-05-161-1/+1
| | | | | Change-Id: Ib45ea9a0eb827ddfd4c799302b340c3fde9f7a3c 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 Pick-to: 6.5 6.2 5.15 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2023-05-111-5/+5
| | | | | Change-Id: I7d6f7f6154973c02b9cccb9964e5931f69ca05f6 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_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/... Pick-to: 6.5 6.2 5.15 Change-Id: I101f74b50ba0477cbf49b59bfc76982c60dc7e0b Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* 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 Pick-to: 6.5 6.2 5.15 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* 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 Pick-to: 5.15 6.2 6.5 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Limit WAYLAND_DISPLAY to control only client sideBernd Weimer2023-05-111-7/+0
| | | | | | | | | | | The WAYLAND_DISPLAY environment variable not only controlled what server to connect to as a client in a nested setup, but also what server socket was established. This led to many unusable configurations (either the socket was already locked or not available). The server socket should be provided via the CL or configuration file only. Change-Id: I7fa54c7cc5b5f2baa49b8b68f8de4f98edfc94c0 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2023-05-111-5/+5
| | | | | Change-Id: I3352a4bdb5636ea8a224bbb3adae1cf54bea871c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Unbreak the submodule integrationRobert Griebl2023-05-111-41/+52
| | | | | | | | | | | | | | Commit 3bf5b5f8944dd417530b09dd6f1cd568717c8cc1 in qtbase broke our pattern of using the result of std::bind() as a QMetaObject::invokeMethod parameter (at least on gcc-10). The C++ standard describes the return value of std::bind as "undefined" and that probably doesn't work with the new return value detection in qtbase on every compiler/c++lib combination. Change-Id: I66ba16fe2535f1a55b2c0d4c6aadd093aa7543be Fixes: QTBUG-113501 Reviewed-by: Zoltan Gera <zoltan.gera@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* 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. Pick-to: 6.5 Fixes: QTBUG-113297 Change-Id: I19d6847d645e445498ba7b80bc5c44856d76b57c Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
* 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 Pick-to: 5.15 6.2 6.5 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* 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 Pick-to: 6.5 6.5.1 Reviewed-by: Dominik Holland <dominik.holland@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 Pick-to: 6.5 6.2 5.15 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2023-05-021-5/+5
| | | | | Change-Id: I8948e7293d74d44ff242629c6a62be3ac13fc211 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2023-04-271-5/+5
| | | | | Change-Id: I7709ab303506de653adab96f9246d903a116824f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2023-04-241-5/+5
| | | | | Change-Id: I69c8348f800521e1645735d750a2544c836eab30 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2023-04-201-5/+5
| | | | | Change-Id: Ica012d720b478cab1f566e0029933bedcb883b8d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2023-04-191-3/+3
| | | | | Change-Id: Ifb0f3b424b22e02b45a49b4fe38750ffb8c5ccb0 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2023-04-181-5/+5
| | | | | Change-Id: I0a449a4755fd51c5f04a471979a0f889d9b2c310 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2023-04-131-5/+5
| | | | | Change-Id: I7d73b9df97a27c49764dfea00a209217271d455c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2023-04-121-5/+5
| | | | | Change-Id: Iff4aeab349a7f65c42a6d71f5194464c8f522d20 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2023-04-111-5/+5
| | | | | Change-Id: I9f6ae5f737802905e409fa7fb35e95735a0060dd Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2023-04-051-5/+5
| | | | | Change-Id: I742930cfd2a6ad171f4565d638842d00e1a80bec Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2023-03-281-5/+5
| | | | | Change-Id: I4469e66fb94fcfdb4466c8449dfb39d1730ea55b 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 Pick-to: 5.15 6.5 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* yaml: missing values are actually null/~, not empty stringsRobert Griebl2023-03-213-70/+77
| | | | | | Pick-to: 6.5 6.4 6.2 5.15 Change-Id: I6ca98e219bf4c3de9a1eaaae5ddeb7e7cfa27107 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2023-03-201-5/+5
| | | | | Change-Id: I82623fcc3a4cc575ffef39479bc70bf20d9a0f3a Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2023-03-111-5/+5
| | | | | Change-Id: I6d2435c14a9c41e11af944f1fae76cecace7633f 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 Pick-to: 6.2 6.4 6.5 6.5.0 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2023-03-031-5/+5
| | | | | Change-Id: I34ebd3154f1396ac7d8658846882db6fbc44312e 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 Pick-to: 5.15 6.5 6.5.0 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* 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 Pick-to: 6.5 6.5.0 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* Fix intents example deploymentRobert Griebl2023-02-281-0/+1
| | | | | | Change-Id: Ie464c7911a44c1a02c4c2942e40cbee0a2797c42 Pick-to: 6.5 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Add links to the QtCreator manual regarding (remote) debuggingRobert Griebl2023-02-281-0/+9
| | | | | | | Change-Id: I0106f9186e5e29df6a992af101480886e4501445 Pick-to: 6.5 Reviewed-by: Dominik Holland <dominik.holland@qt.io> Reviewed-by: Tuomas Vaarala <tuomas.vaarala@qt.io>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2023-02-271-5/+5
| | | | | Change-Id: I3b166625689f3e91bfca4b776717fedb8c731020 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 Pick-to: 6.5 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Update libarchive 3rd-party code from 3.6.1 to 3.6.2Robert Griebl2023-02-2214-22/+80
| | | | | | Change-Id: I4b40a2f820e52bdfa8c4165b7a10b25d7e941e17 Pick-to: 6.5 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* 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 Pick-to: 6.5 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* 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 Pick-to: 6.5 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* 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. Pick-to: 6.5 Change-Id: I88fd50669e7e5c9942fbc96c02aa452cda5171c8 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2023-02-131-5/+5
| | | | | Change-Id: Ie61bc4849340b51906c84c37ec70c5bdbfa1c56d 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 Pick-to: 5.15 6.2 6.4 6.5 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Fix the broken tests after the retirement of qt_parse_all_argumentsAmir Masoud Abdol2023-02-0218-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>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2023-02-021-5/+5
| | | | | Change-Id: Ia6396957cca67112908061cbfb5063f5f4477528 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). Pick-to: 6.5 5.15 Change-Id: Id29d0e79e260726d1ffd9b940eac806b483b8a19 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Suppress the QTP0001 policy warningAmir Masoud Abdol2023-01-271-0/+1
| | | | | | Pick-to: 6.5 Change-Id: I110a933537413c48c396c83c2471c835006d3a97 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2023-01-171-5/+5
| | | | | Change-Id: I53df6b659ec828342c48eb98250e71eddf8a4000 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Revert "Temporarily unblock the OpenSuSE build"Robert Griebl2023-01-161-7/+0
| | | | | | | | | | This reverts commit bed79f6c0a8a0c2c52f474b286b7b2ac20e6cb40. The reverted commit should not have been staged at all. Change-Id: Ied793daf0b4df54ecfbca525af937d856a68bf84 Pick-to: 6.5 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Temporarily unblock the OpenSuSE buildRobert Griebl2023-01-161-0/+7
| | | | | | | | | The missing path to the openssl binary needs to be fixed in the OpenSuSE setup template though. Change-Id: I56b5fa67f1d7dc50055574f5873c1d4bae42924a Pick-to: 6.5 Reviewed-by: Dominik Holland <dominik.holland@qt.io>