summaryrefslogtreecommitdiffstats
path: root/src/manager-lib/applicationdatabase.h
Commit message (Collapse)AuthorAgeFilesLines
* Add new package abstraction, which allows multiple executables per packageRobert Griebl2019-08-011-78/+0
| | | | | | | | This is part 1 which is missing doc updates and missing the update-builtin- applications functionality. Both will be added in a follow-up commit. Change-Id: I2b493cfb7585143962067674690b02cc132ef78b Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Update copyright statementsRobert Griebl2018-12-181-1/+2
| | | | | | | | - added 2019 - everything is (c) Luxoft instead of Pelagicore from now on Change-Id: I82f874f0b0601deae1bb39347821edaf3c4cc6d8 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Make the application database cache optionalDaniel d'Andrada2018-08-141-2/+1
| | | | | | | And remove the database entry from the examples' config files Change-Id: Ic5fd42f086d32e59ffaab638c92dcf0d5b0ea2fa Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Decouple ApplicationManager and ApplicationDaniel d'Andrada2018-08-141-2/+1
| | | | | Change-Id: I36285196bd28523109faa4a1a2e7015184f424df Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Support udpating builtin applicationsDaniel d'Andrada2018-07-261-0/+1
| | | | | | | | And when you try to remove an updated built-in application you actually rollback to its original, built-in, version. Change-Id: Ifc884b9ed92891e699ea35a059ca6708d6209b8f Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Application: add start(), stop() and debug() methodsDaniel d'Andrada2018-05-141-1/+2
| | | | | Change-Id: I8be9e72b37f3758e19a6ed04b5f65c9f1145d0fb Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Refactor the Application objectDaniel d'Andrada2018-05-141-2/+4
| | | | | | | | | | | | | | | | Split the original Application object into two parts: the dynamic and the static one. The dynamic is called Application and lives in the manager lib The static is called ApplicationInfo and lives in the application lib On top of that make a clear distinction between aliases and real application objects, which solves some inconsistencies. Also removed all deprecated properties from the original Application object Task-number: AUTOSUITE-296 Change-Id: I8354c9d50f14d083cb85c19153dd19c933eae660 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Update Pelagicore copyright headers to 2018Robert Griebl2018-02-071-1/+1
| | | | | Change-Id: I8d9278053ccdef5a57e51753aa6157941ebcee52 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Use #include <QtModule/file> syntax in all headersv1.1_QtAS5.8Robert Griebl2017-03-151-2/+1
| | | | | | | Also removed a few exception.h includes, since they are not needed anymore. Change-Id: I4d9bfb7fab61c2f07a4f2928c5cf4705487f2f5d Reviewed-by: Thomas Senyk <thomas.senyk@pelagicore.com>
* Replace C++03 throw(Exception) specifications with C++11 noexcept(false)Robert Griebl2017-03-141-2/+2
| | | | | | | | | | Newer clang versions already complain about throw(foo) being deprecated in C++17. Of course MSVC2013 has no support for plain noexcept(bool), so we have to make do with the unwieldly Q_DECL_NOEXCEPT_EXPR(false) as long as we need to support it. Change-Id: Id5d6890213fa019753dec624b71db8aefe010e7c Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Fix ownership issue of the Application object on installationRobert Griebl2017-02-221-0/+2
| | | | | Change-Id: Ibfa6a8ccc5225fcbfe369cc305ffeb658f64d555 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Updated Pelagicore AG copyright to 2017Robert Griebl2017-01-161-1/+1
| | | | | | | Also added a few pro file tweaks to make this search&replace easier next year. Change-Id: I2d1153d62bfe558075009abcd8cad491f149c93f Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Make the build warning freeRobert Griebl2016-10-191-2/+2
| | | | | | | | | Replaced all AM_*_NAMESPACE with the undocumented QT_*_NAMESPACE_<foo> mechanism. Add dummy "we mean it" comments to _p.h headers, even though all of the AM's C++ API is private anyway. Change-Id: I45c1b7490f3d519e79350a19dab129ad20623d92 Reviewed-by: Thomas Senyk <thomas.senyk@pelagicore.com>
* Reimplemented build-system as a real Qt moduleRobert Griebl2016-10-171-1/+1
| | | | | | | | | | This should help with doc generation and actually running the unit-tests in the CI system. Please note that the binaries are now installed into $$[QT_INSTALL_BINS] Change-Id: I6f27ba39f8e5d923e1aeff550ba11c1fbd8ac5cf Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Moved all symbols to a private namespaceRobert Griebl2016-09-231-0/+4
| | | | | | | | | This was done to avoid conflicts with C++ plugins that get loaded into both the system-ui or the QML app runtime. Change-Id: I03fc222d806292f0f0734709568514862b6da56d Reviewed-by: Bernd Weimer <bernd.weimer@pelagicore.com> Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Fixed license header to align with the final QtAS contract.Robert Griebl2016-06-021-6/+16
| | | | | | | | | | | The AppMan is triple-licensed now, like the rest of Qt: commercial, LGPL3 and GPL2/3 To be more aligned with Qt, the docs are also FDL and the tests, as well as the tools are GPL-EXCEPT now. Change-Id: Ib0168a112c3bcd340576f92416a6fe36fa315240 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Use the same license wording for GPL3 as the standard Qt 5.7 license.Robert Griebl2016-04-111-13/+14
| | | | | Change-Id: I0f8cb01cd1239bf70434f3b39392a1464c32620e Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Updated copyright year to 2016Robert Griebl2016-03-171-1/+1
| | | | | Change-Id: I2630c098272ec75bed0333d7eab0610c0c621893 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Added support for application aliases (shortcuts).Robert Griebl2016-02-191-2/+2
| | | | | | | | | | | Built-in applications can now have additional manifest files (besides info.yaml), that act as aliases (or shortcuts) to get multiple entries in the launcher pointing to the same executable. While at it, the deprecated JsonApplicationScanner was removed. Change-Id: I73530bab28d977659cd039352e165141f8f4330d Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Fixed all relevant clazy warnings - especially QString related ones.Robert Griebl2016-01-141-0/+1
| | | | | | | | | | | | Most error strings have not been converted to QStringLiterals on purpose: It's a better tradeoff here to use half the space and take a "performance hit" when running into an (unlikely) error condition. Please note that still no version of MSVC is able to cope with concatenated string literals: http://blog.qt.io/blog/2014/06/13/qt-weekly-13-qstringliteral Change-Id: Ife5f5841de121da75838ae9dbb67909a5816768e Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Tweaked the header layout a little bit, so that it passes the CI check.Robert Griebl2015-11-201-4/+4
| | | | | | | Also change-id I8ffe7bca in qtqa is needed for this to work. Change-Id: I15d1e641e5d3888b4a46c16267a6059f85b32487 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Fixed all copyright headers to be GPLv3Robert Griebl2015-11-161-1/+3
| | | | | | | | Somehow my header replacement script pasted the wrong template into header files -- the cpp and doc files were correct. Change-Id: Ib512232058bcf139608c519d867ffd266f49fd52 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* Initial commit of Pelagicore's ApplicationManager with squashed history.Robert Griebl2015-10-261-0/+56
(minus all 3rd party stuff - we will re-add them later, potentially changing the way some of them are handled completely) Change-Id: I55f15b12f0dbe0c4f979206eaa163d4793ff7073 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>