summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix automatic startup timer reporting5.11Bernd Weimer2018-10-094-6/+11
| | | | | | | Cherry-picked from dev branch: 48f2823 Change-Id: Id2164a4e9a229c1edac082cdeb1897cf6916449b Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add thread name in crash infoBernd Weimer2018-10-094-13/+38
| | | | | | | | Also fixed tools-only build without Qt qml module. This is a backport of 856d232. Change-Id: Ieb32efabcd8574cc5e188a2e3bb093e8c3d121f5 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add DLT crash logging and QML stack traceBernd Weimer2018-10-0919-31/+539
| | | | | | | | | | | | When the System-UI or an application crashes we try to get a QML stack trace in addition to the (C++) backtrace. Both traces will be written to DLT if enabled, in addition to the terminal output. Crash tests have been added, as well. This is a backport of 1feaa3e from the dev branch. Change-Id: If7b3722ae3d54d3e219c999afc81006abce316c0 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fix store-signed packagesRobert Griebl2018-08-0317-47/+138
| | | | | | | | | | | | There were multiple bugs in the way store signatures were created and verified. This patch should fix all issues, plus it adds auto-tests to catch regressions going forward. Cherry-picked from dev branch: d16409c723495cef98ab691de5e03b87a7596038 Change-Id: I6e30a2df5bfe60375ef4848ff1ca37bf0654745e Reviewed-by: Bernd Weimer <bernd.weimer@pelagicore.com> Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fix window propertiesBernd Weimer2018-07-116-1/+36
| | | | | | | | | This is a backport of 7a73acf "Keep window properties between QWindow show/hide cycles in multi-process" Change-Id: I7acfc43541b70436315028e25a54e1020671f24d Task-number: AUTOSUITE-592 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Build fix: Wayland extensions have to be built differently nowadaysRobert Griebl2018-07-113-2/+15
| | | | | Change-Id: I446e138ece9647a5e4c021cc42569c1713889d9c Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add auto tests for quick launch featureBernd Weimer2018-06-228-3/+172
| | | | | | | Also fixed applicationRunStateChanged documentation Change-Id: Idb3ac19ed10040218c2a5ccbac455e9b95892e60 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fix quick-launched apps not starting reliablyRobert Griebl2018-06-212-28/+33
| | | | | | | | | The logic around when to register extension interfaces and when to start apps in a launcher was quite flawed. This commit also cleans up the existing state booleans and renames them to be more descriptive. Change-Id: If68e2cf012c7dfec4de0ddd396b19cd03e147693 Reviewed-by: Bernd Weimer <bernd.weimer@pelagicore.com>
* Print a note how to fix that the notification service could not be registeredv5.11.1_QtASDominik Holland2018-06-141-0/+1
| | | | | Change-Id: I4db49e26b56235538fb3a36a73fbb6c9520cffae Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Emit visibleChanged signalBernd Weimer2018-06-111-2/+1
| | | | | | | | | | In single-process mode the visibleChanged signal (of the FakeApplicationManagerWindow) has to be emitted irrespective of the corresponding surface item. Task-number: AUTOSUITE-490 Change-Id: I84c97fa8ab47fca92e0c769a446f184504bd8f53 Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* Add options to specify iconTheme and searchPaths in am-config.yamlDominik Holland2018-06-0715-3/+96
| | | | | | | | | | This makes it easier to use a custom icon theme in the system-ui as well as in the apps. Change-Id: I8490e74541d0d9cb12e7ff542ef05679c2489812 Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com> Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com> Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Make the git sha1 available for builds from exported tarballsRobert Griebl2018-06-062-0/+5
| | | | | Change-Id: I65f2206e8c0b90da71b3e95dd46338e2caa3ba0c Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Fix race condition in appman-controller start-application --restartRobert Griebl2018-05-171-176/+206
| | | | | | | | | | Also replaced all the weird singleShot-timer lambdas (needed to run the actual code only after the event loop is up, because QtDBus needs one) with a central runLater() function Change-Id: I79814c65105e48b51f30b9f761a04ed799457963 Task-number: AUTOSUITE-184 Reviewed-by: Bernd Weimer <bernd.weimer@pelagicore.com>
* Install the am-systemui.prf qmake feature fileDominik Holland2018-05-162-1/+12
| | | | | | | The feature file is needed when building the application-manager examples Change-Id: Ib1817b39201f345cef1b84e4bdb76c733378f265 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Make the minidesk and monitor examples launchable from qt-creatorDominik Holland2018-05-163-2/+47
| | | | | | | | | | | | | | | For project like these there is now a new qmake feature called am-systemui. This feature will copy all files and folder defined by AM_COPY_DIRECTORIES and AM_COPY_FILES to the build-folder and create a runner script which executes appman with the the arguments defined by AM_DEFAULT_ARGS. This script is setup as the qmake TARGET and can be started by qt-creator. This trick has the limitation that debugging is not supported Change-Id: If93d7971df646163e9819a3c5e8a436fc76bef21 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add support for the new clang based qdoc parser in Qt 5.11Robert Griebl2018-05-143-0/+24
| | | | | Change-Id: I900268dae0f84f2bf8b6794130ac34d28cbe9b26 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Remove the uneeded waylandcompositor-private dependencyRobert Griebl2018-05-113-6/+4
| | | | | Change-Id: Iaa6f99af6cb6336f8988de58531a9d16a5bad0b8 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Remove unimplemented leftovers from WindowSurfaceDaniel d'Andrada2018-05-092-6/+0
| | | | | | | | I would guess it's a remnant from the previous wayland extension used to implement the windowProperty API Change-Id: I45b47b3b18ca4ad9f648fd9175a157c908167581 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Deprecate info.yaml fields now, so we can remove them in 5.12Robert Griebl2018-05-039-101/+113
| | | | | Change-Id: If154e37f17e5a1099681cbf4ef72a8bef1974b38 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Clean up applicationscanner.hDaniel d'Andrada2018-04-271-2/+0
| | | | | | | | * Remove unimplemented ApplicationScanner::validate declaration * Remove unused #include Change-Id: I261e1029552d396b8d6b8d6855c989ef27b90a73 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fix regression introduced in d47e6e66Robert Griebl2018-04-271-3/+6
| | | | | | | QML Apps would not default to the AM's logging and OpenGL settings anymore. Change-Id: I0fb89128eab9c4a0964e8bf95ddd250ba20d9662 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Add support back for libarchive <= 3.1Robert Griebl2018-04-271-1/+1
| | | | | Change-Id: If6ffb6589d8e9814d735dfeee094d6f2bf708f31 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Remove unimplemented Application::fromVariantMap functionDaniel d'Andrada2018-04-271-1/+0
| | | | | Change-Id: I6c613d1562ec4180f623db560ee3b1028ebca83a Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Organize ProcessMonitor #includesDaniel d'Andrada2018-04-272-4/+3
| | | | | | Change-Id: Icc019153bc6982a465f70ab5a9a67cfdbe7a408b Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com> Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Correctly handle surface destruction in the qtam Wayland extensionRobert Griebl2018-04-271-2/+6
| | | | | Change-Id: Ifb23b6ddb15c0675f429ad2e1eeddedcab3517c3 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Remove the retakeSingletonOwnershipFromQmlEngine hackDominik Holland2018-04-279-61/+12
| | | | | | | | | This was needed to fix the ownership issue of C++ singletons given to QML. This is fixed inside Qt since 5.6 by setting the ownership of the object to C++ using QQmlEngine::setObjectOwnership() Change-Id: I3985890b90fedf42673e0d835e91ac0195ba2af5 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Rewrite the tst_installer QML autotestDominik Holland2018-04-272-22/+33
| | | | | | | | | | | | | | | | Instead of relying on signal spys, we now use the javascript connect method to directly connect slots which do the state comparison the moment the state has changed and save the order of the state changes to a list. The order is then checked after the installation/update is finished. This fixes also a small problem in the applicationmanager which caused the application state property to be updated to BeingInstalled before someone could connect to the statechange in QML. Change-Id: Ifa25eab6c97520de34247bc8d7c79bb01ca19c68 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* enable build for msvc2017Samuli Piippo2018-04-271-1/+1
| | | | | | | | | simplyfy requires to match all win32 builds without winrt. osx is deprecated, change it to macos. Task-number: QTAUTO-930 Change-Id: Ied9a699f2c55a27795f215ab8d016dec374c34a2 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Fix Windows/Cygwin test package creationRobert Griebl2018-04-232-140/+141
| | | | | Change-Id: Iaafbc803b8c6a1f5a1e31ed22f9cb53300d59c82 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Fix warning on MingW buildsRobert Griebl2018-04-201-1/+3
| | | | | Change-Id: I5618a29409c2cb7b93dbe247426617c942446e10 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Fix test package creation on Windows/CygwinRobert Griebl2018-04-201-1/+7
| | | | | Change-Id: I6d18e24b66eb91c718a8ee514a37c88b64a218e8 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* NotificationManager: Remove copy-and-paste mistake from documentationDaniel d'Andrada2018-04-201-2/+1
| | | | | Change-Id: I4d66d3b235c1df3ed20808ef2cf4c9a5266f0036 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Fix core-private dependency currently blocking Yocto buildsRobert Griebl2018-04-181-2/+2
| | | | | Change-Id: I1d57f659fe16c896ad3f56167ece5f9f866063f6 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Clang code model fixesRobert Griebl2018-04-1768-189/+197
| | | | | Change-Id: I46bb240aa843c297e83278a4f1b29f95be093c83 Reviewed-by: Thomas Senyk <thomas.senyk@pelagicore.com>
* Add support for extra meta-data in packagesRobert Griebl2018-04-1720-67/+359
| | | | | | | | | | | | The appman-packager got a few new options to add extra meta-data to a package's header, with optional signing for important fields. This meta-data can then be checked on installation in the System-UI by looking at the 2 new parameters added to the ApplicationInstaller::taskRequestingInstallationAcknowledge() signal. Change-Id: I61c8d0a40492e3943ac8f4354db96eaaa23cb405 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Add a way to suppress the automatic startup-timer report generationRobert Griebl2018-04-174-4/+47
| | | | | Change-Id: I67f845bfacb0a2a6af17b87205f0d25279e7d0a4 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Add the appman-bench benchmark toolDominik Holland2018-04-1717-0/+918
| | | | | | | | | | | | | | The appman-bench is a tool to use a known environment for doing a benchmark of the application-manager and it's apps. The benchmark tests the following: * cpu load * gpu load * memory consumption * fps Change-Id: Ia7bb9cfe86ef656ffecd594f26bd8540ffcf0f57 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Remove the last traces of pre-5.7 QtWaylandRobert Griebl2018-04-172-4/+2
| | | | | Change-Id: Iac1f6e80cd4dce60401b92b6ba78293c6655331c Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Introduce qdoc groups for all qml typesDominik Holland2018-04-1719-46/+37
| | | | | | | | This makes it possible to auto generate the listings for every group and makes it easier to add new documented types to those groups. Change-Id: I04c261ac065332b29f981b8da5c43d5dd7eafab8 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Update documentationBernd Weimer2018-04-105-6/+85
| | | | | | | | | | - Added documentation for StartupInterface - Added reference to ProcessMonitor - Enabled links to StartupInterface and ContainerInterface - Unveiled ApplicationManagerWindow again Change-Id: I8a555a8c21c4669bc4315d746b041f63e19409a5 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fix compiler warnings on macosDominik Holland2018-04-102-1/+7
| | | | | Change-Id: I8c472009cbb04c07168bced8b644962d6e22f852 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Relax requirement for System-UI root elementBernd Weimer2018-04-102-29/+70
| | | | | | | QtObjects will now be supported as System-UI root elements, as well. Change-Id: I657de81d87a4d7f11e278d0d262e4f045d361900 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Bump version to 5.11.0Robert Griebl2018-04-101-1/+1
| | | | | Change-Id: I3133ca904b7a4f1cf9f4e76900619aced49b2d9a Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Add missing include for Qt 5.10Dominik Holland2018-04-061-0/+1
| | | | | | | Explicitly include QVariant to fix a build with Qt 5.10 on some platforms Change-Id: Ia6c2e10e35d8d5f20e9b6661574866d4bcc2f00c Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* Add support for commandline arguments in native applicationsRobert Griebl2018-04-062-2/+14
| | | | | Change-Id: Ie8954faf545d5a20ad1da73b47f5e02f794640dd Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Fix missing includesRobert Griebl2018-04-062-0/+2
| | | | | | Change-Id: I2c0e82a5f6ca5e0417fc683b8397cd4d66768b0d Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com> Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Disconnect the quit and exit signals of the QQmlApplicationEngine5.10Dominik Holland2018-04-042-1/+3
| | | | | | | | Without this a call of Qt.quit() directly quits appman without waiting for all applications to be stopped. Change-Id: Ic64ee23a05fab829d507d59cc184e20cbcb4edf0 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Replace QtWayland's surface extension with a custom AM extensionRobert Griebl2018-04-0418-104/+618
| | | | | | | | | | | Qt's qt_surface_extension was deprecated with Qt 5.11, so we need a new way to communicate window properties. The new extension does not use a per-surface extension interface anymore, since that makes the code on both sides a lot simpler. Change-Id: I4f908fa5f0fa356c02c132cd32fe44b63deaf15e Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* (Un)register MIME types with QtGui on application (un)installationRobert Griebl2018-04-042-3/+15
| | | | | | | | | This fixes x-scheme-handler/foo MIME-types not working directly after installation in single-process mode. Change-Id: I023a88f6ca420a1c72b2e0dcf99c3f382e02658d Reviewed-by: Alexandra Betouni <ABetouni@luxoft.com> Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* Explicitly call doneCurrent to work around crash on NUC with eglfsRobert Griebl2018-04-031-6/+8
| | | | | Change-Id: Id5d38edbed398441c85de2b53df010f171dc997a Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>