summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/componentchecker.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update license headersIikka Eklund2015-12-291-4/+3
| | | | | | | | | Update existing license headers. LGPL -> LGPLv21. Update copyright year as well. Change-Id: Ie1d71f8c68186b8f625f409ddf94691f178093c9 Reviewed-by: Katja Marttila <katja.marttila@theqtcompany.com> Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
* Enable logging categories as an installer option.Jarek Kobus2015-04-241-2/+1
| | | | | | | | | | | Now by default all categories are disabled. They get enabled only in verbose mode. Verbose mode enables all categories by default. Categories can be filtered using logging-rules option. Change-Id: I9324826a6e2d7a746e3d7369747fcd31a42b84b6 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Add more explanations on warnings we issue.Jarek Kobus2015-04-241-0/+27
| | | | | | Change-Id: I7fea8d8c5ebc1ffea78635c335a0740c648b8e2e Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Add a missing warning about auto dependency on component with childrenJarek Kobus2015-04-241-5/+10
| | | | | | Change-Id: Ib17fb2d48059ecc5b7f3b466661aad8e9d6b4b33 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Make componentChecker warnings optional.Jarek Kobus2015-04-221-0/+2
| | | | | | | | To enable them export the following environment variable: QT_LOGGING_RULES=ifw.componentChecker=true Change-Id: Ied6744c745ca3fd0840c622c71a8ba30ad22e3d9 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Fix possible null pointer access.kh2015-04-101-2/+7
| | | | | Change-Id: I2cb1c8b70d41c764e0f9e47637b951c480ebcb5c Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Inform about superfluous dependencies.Jarek Kobus2015-03-131-1/+13
| | | | | | | | | In case B depends on A and B auto depends on A, the first dependency is superfluous. Change-Id: I01a97e0777089fafd43d36b8f9675d7089099885 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Issue a warning when a component depends on auto dependent one.Jarek Kobus2015-03-111-1/+7
| | | | | | | Task-number: QTIFW-510 Change-Id: I57eff879deebf8f31a472a6c66a7e275e34447bd Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Update CopyrightKai Koehne2015-02-181-7/+7
| | | | | Change-Id: I8dde6629cfd461104364d5cdc255cb54b58283fa Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Warn whenever (auto)dependencies are not leaf nodes.jkobus2015-01-151-0/+24
| | | | | | | | | | | Whenever any source or destination node of dependency link or any destination node of autodependency link has children, warn about it. Maintenance tool isn't able to handle such cases properly. Change-Id: Ifaf3fbb7903eb960ab8fd977c4f47b7906900115 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Do not translate output of checkComponent.Niels Weber2014-12-111-28/+21
| | | | | | | We verify the output in an autotest. Change-Id: I378a407d40d430994164a0ecccb05ad11a5046f4 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Add ComponentChecker class for verifying the internal state.jkobus2014-12-011-0/+103
Change-Id: I3361ad6c51d5a0f3beee049237e6b370d57a8f0d Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>