aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert "geniviextras: Add better handling for long messages"v5.12.4_QtASDominik Holland2019-09-034-235/+17
| | | | | | | | | | | | This reverts commit 83720c2961b7af019643f5318d84a4ea443a5a87. This change was breaking SC and can't be released with a patch release. The change will be put into the dev branch instead. Task-number: AUTOSUITE-1187 Change-Id: Icfbf6e34dddbb93160681c97f53abef7915aba78 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* geniviextras: Fix potential crash during Qt cleanupDominik Holland2019-09-031-0/+3
| | | | | | | | | | | | During the Qt cleanup, some parts of QtCore are still using qDebug and friends to e.g. when QT_DEBUG_PLUGINS is set. Because of this the messageHandler might be called while the QDltRegistration is already destroyed. In this case the messageHandler can't log anymore, but it also shouldn't crash because of a nullptr access. Change-Id: I4d75acc5dfacca89d4876c13580c9d7bf2838f69 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* geniviextras: Make QDltRegistrator more thread-safeDominik Holland2019-08-302-12/+43
| | | | | | | | | Introduce a mutex to prevent issues when registering a new context/application while logging from another thread. Change-Id: I734b2a363ffe83fc9e9728898707cdefef689824 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* geniviextras: Add better handling for long messagesDominik Holland2019-08-304-17/+233
| | | | | | | | | | | | DLT silently drops too long messages and produces empty lines instead. This changes introduces a behavior enum which helps to configure geniviextras to truncate or split the long messages. Fixes: AUTOSUITE-1187 Change-Id: Ieece74a984460fb6c2fe603789361b59ada9df12 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* geniviextras: Implement the missing severity2dltLevel functionDominik Holland2019-08-301-13/+17
| | | | | | | The function was defined already before, but it didn't have an implementation. Change-Id: If234d83cbcd15bee6e24459c9bd27ff9d6ae05a2 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivicore: Don't shadow other members in template classesDominik Holland2019-08-302-6/+6
| | | | | Change-Id: I8dbc90830f815b90f26af7c343b3548c13c60d94 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Update module version to 5.12.4Dominik Holland2019-08-011-1/+1
| | | | | Change-Id: I251c95a492ff00fe4a8f919f213bab5e154f755d Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivigenerator: Fix the timing issue when install the virtualenvDominik Holland2019-07-081-0/+1
| | | | | | | | | | | | | | | | On macos we need a additional install rule to make sure the hidden .Python library is installed into the virtualenv as well. This needs to be done after the virtualenv has been installed, as otherwise the virtualenv might not be copied because the folder already exists. Change-Id: Id6c467dccd5bcc5db77fc647c6c48ff24f784983 Fixes: AUTOSUITE-950 Fixes: AUTOSUITE-1012 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fix build to work without the QtGui moduleDominik Holland2019-07-089-14/+18
| | | | | | | | Tests are skipped in this configuration because a lot of tests rely on QtQuick being available. Change-Id: I1a1661474f9279f2a8f7c3de24786629e73f75a4 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Remove check for registered DLT applicationBernd Weimer2019-03-181-2/+0
| | | | | | | | This allows to register a logging category before an application, which is permitted by the DLT API. Change-Id: Idfc2b4450c1369bca8a80294eccc148586bb6dc0 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* [docs] Use a higher resolution imageKavindra Palaraja2019-03-061-0/+0
| | | | | | | * The image we had wasn't crisp enough, resulting in blurred text Change-Id: If5620f6d24b18f0c31f4e8512f334ac0d444efce Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Doc: Link to the Deployment Server documentation from top-levelv5.12.1_QtASTopi Reinio2019-02-182-6/+16
| | | | | | | | | | | Add links to the Qt Automotive Suite Deployment Server documentation, mention it in the overview under 'Qt Application Manager', and reorganize the overview sections so that components are not discussed before they are introduced. Task-number: AUTOSUITE-724 Change-Id: I71128f16dc45f560c6f325814b65e8dfcb727f62 Reviewed-by: Kavindra Palaraja <kpalaraja@luxoft.com>
* [docs] Cleanups on Qt Automotive Suite Overview and Installation stepsKavindra Palaraja2019-02-062-43/+35
| | | | | | | | | | | - Simplified the diagram (qtas-architecture.png) so that we don't have to explicitly point out that "...parts outlined in grey are specific to QAS" - Removed the definition of what Qt is, because there's already a link to Qt for Device Creation - Reordered the functionality list to reflect the development process, slightly - Shortened "Installing" --> "Install" to make the content easier to skim. Change-Id: Icec37f246c6f97621ac0eb829b53b7655a98a87f Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Add .tag file to record sha1 to the source packageSamuli Piippo2019-02-041-0/+1
| | | | | | Task-number: AUTOSUITE-760 Change-Id: I9a02a7fdb9bf0b869a9b75cf750645ceb78572f6 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Bump module versionDominik Holland2019-02-011-1/+1
| | | | | | Fixes: AUTOSUITE-748 Change-Id: Ie9f6d2470e0f89d207a8c618e30ebb19d0a168d8 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Exclude webassemblySamuli Piippo2019-01-301-0/+1
| | | | | Change-Id: Ib340e948ad161599cf804f3dcdc1463830bbf103 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fix 'make check-coverage' report generationDominik Holland2019-01-171-2/+1
| | | | | | | | | | Also flex should not generate any #line statements when using --noline it still does, which points to a file which doesn't exist. This is ignored by the compiler and lcov, but for genhtml we need to explicitly disable this error. Change-Id: I23ab0afd8afe6b311e211b6ac0a004499c697758 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fix the flaky QIviSimulationEngine autotestDominik Holland2019-01-171-2/+2
| | | | | | | | only expect two signals in the animation test (one intermediate value change and the final value change) Change-Id: I85e6f87ed242935c6cfc7ed0a088862e1392b07d Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fix a crash in the QIviSimulationEngine when using animationsDominik Holland2019-01-123-3/+55
| | | | | | | | | | The code handles now read and write of properties using the staticMetaObject correctly. Added more internal documentation for it and a autotest. Change-Id: Iddceeebcf5317ddb3a6986d82febc81bd374b575 Fixes: AUTOSUITE-727 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* windows: More fixes for spaces in the pathDominik Holland2019-01-112-4/+4
| | | | | | | | | Fix the path separator in the ivigenerator Makefile to also work for nmake (worked only for jom before). Fix deploy-virtualenv.bat to also handle spaces in the python path Change-Id: I79f23c6874f718cc00aa457f3fe3e6fb58ad325e Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Move the QIviServiceInterface documentation to the correct source fileDominik Holland2019-01-112-30/+27
| | | | | Change-Id: I178d961a5142fb8e10944100b937ee4c2f6e8590 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* doc: Fix the documentation for the discoveryResult propertyDominik Holland2019-01-112-2/+2
| | | | | | | | | Both in AbstractFeature and in AbstractFeatureListModel the QML documentation was pointing to the "autoDiscoveryResult" property instead of the "discoveryResult" property Change-Id: I1b9e8034acaef7c4157bd0f9de7e8ca5c615b24f Reviewed-by: Antti Hölttä <ahoelttae@luxoft.com>
* Show a meaningful error message debug and release libraries mixedDominik Holland2019-01-1114-13/+63
| | | | | | | | | | | | | | On mac it can easily happen that debug and release libraries are mixed when building an application. E.g. using one of the qface examples. In general qtivicore tries to load the correct plugin version if available, but if the wrong one was loaded or the appropriate one was not available it can happen that plugin interfaces can't be casted to the correct types and thus the class doesn't work. When this happens a more descriptive error message is now shown and the backend is not used. Change-Id: I4ae63ac87509ec3feb1ae65750d8e0ee71ad6520 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Change the qface examples to only build the configuration which is neededDominik Holland2019-01-106-6/+3
| | | | | | | | | | | | As long as the examples are not using frameworks on osx, it is better to only build the configuration which is needed, instead of building debug_and_release for the plugin and the libs. Not using frameworks could lead to loading a wrong plugin version when the application is build in debug mode, but the frameworks used are in release mode (or vice versa). Change-Id: Id5da6adafe5091edc489c22f36bc059542db2098 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivigenerator: Fix the backend_qtro template to generate a correct plugin.jsonDominik Holland2019-01-102-4/+5
| | | | | | | | | | The other templates have been fixed already before. Also make sure the example doesn't specify a custom id to make sure we test this path by default. Change-Id: Icf4eb17c057ea8cba7673b9884c5123c4e749ffd Fixes: AUTOSUITE-735 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fix code style issues in the autogenerated codeDominik Holland2019-01-109-11/+25
| | | | | Change-Id: I27646c536069820c3fa952d1f34b9461fe63c356 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Ignore 3rdParty and lexer files on code coverageDominik Holland2019-01-101-0/+2
| | | | | Change-Id: I976d8256c6d73061e1fd026fdc6dbb20dfdf922b Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Doc: Link to Qt Design Studio in top-level documentationTopi Reinio2019-01-092-0/+13
| | | | | | | Task-number: AUTOSUITE-733 Change-Id: I16158ab8cc84218b55503f6e04a6f3cc804e06d8 Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io> Reviewed-by: Volker Krause <volker.krause@kdab.com>
* Windows: allow for python.exe in paths with spacesv5.12.0_QtASRobert Griebl2018-12-193-6/+6
| | | | | Change-Id: Icac6ada1549630ec1467f8262e2f402b6303d8df Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Link the 'The Qt IVI Simulation System' documentation in the concept overviewDominik Holland2018-12-191-0/+1
| | | | | Change-Id: I87ae1dc17c78295353e1e19b0811297a13e1becf Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Update copyright statementsRobert Griebl2018-12-17291-27/+317
| | | | | | | | - added 2019 - everything is (c) Luxoft instead of Pelagicore from now on Change-Id: I4a6dbd46aaffbb90cea57626bd75e3972cea2cfc Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Fix crash in qtivi when no rtti is availableDominik Holland2018-12-071-1/+1
| | | | | Change-Id: I5ad04b5432b7d210b8e3a3a1ef23c2b0a04a1c46 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Update the addressbook exampleDominik Holland2018-12-051-0/+8
| | | | | Change-Id: I820277271cb968958649fe4144a886133d74fd5c Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Clang-tidy and Clazy fixesDominik Holland2018-12-0522-44/+39
| | | | | Change-Id: Id88db48e0e18761a9bc1b1014628bf0099c4e5cf Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Rename and document the qtivi_convertFromJSON methodDominik Holland2018-12-045-19/+29
| | | | | Change-Id: I77530cc0cc66589a923c7dae44f9ffc734ac222b Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add a high level documentation for the Qt Simulation SystemDominik Holland2018-12-045-2/+465
| | | | | | | | | This also includes documentation for the format of the simulation data and about the IviSimulator global object. Change-Id: I860982a1c3975a93ebd6f814de45f01fff39cf1d Fixes: AUTOSUITE-705 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fix loading QML file in the QIviSimulationEngineDominik Holland2018-12-031-1/+1
| | | | | | | | Don't convert the passed QUrl using toLocalFile(). Change-Id: Ifabd258f491b186c086370bf309d1806ab72004a Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com> Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivigenerator: Fix the wrong model count when using a model simulationDominik Holland2018-12-031-1/+1
| | | | | | | | When autogenerating simulation code for a model the provided count was hardcoded to 100 instead of providing the real item count. Change-Id: Ifd0e429b3fe0c80cf9d4eb3d4e7673bb6e8c20cf Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add support for overriding the simulation/data-file at runtimeDominik Holland2018-11-293-7/+91
| | | | | | | | | | | | | | | | The QIviSimulationEngine can now take an extra identifier in the constructor which is used to identify override settings for this simulation engine. Using the following environment variable schema it is possible to set and override which the simulation engine will use instead of the compiled in simulation/data-file. QTIVI_SIMULATION_OVERRIDE=<identifier>=<QML-file> QTIVI_SIMULATION_DATA_OVERRIDE=<identifier>=<JSON-file> Change-Id: Id2a921d8b74c619ea9662d413f0a7296de949b91 Fixes: AUTOSUITE-703 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Move the ConcreteWindowSimulation C++ implementation to QMLDominik Holland2018-11-277-333/+225
| | | | | | | | | | The QIviConcreteWindowControlSimulation.qml contains the new QML implementation. The simulation.qml file loads this manual written QML file and reuses the autogenerated simulation file for the ClimateControl simulation. Change-Id: I98546613c762aae6462ae51eea5c517d96ca4cf5 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add better error reporting for loading the simulation dataDominik Holland2018-11-273-9/+17
| | | | | | | | The errors now also state the data file and also uses the simulationengine logging category Change-Id: I27da67ede62658a4d237d3df3c0215b1d8296b4d Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fix the default zones in ivivehiclefunctionsDominik Holland2018-11-071-1/+1
| | | | | | | The zones in the annotations need to be a list and not a map Change-Id: Ibbd037b592291de04eb0e1fa1c9bc1690b57de61 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivigenerator: Fix the "backend_simulator" simulation to support zonesDominik Holland2018-11-072-3/+23
| | | | | | | | | Forward the zone argument for the properties to the QML simulation. Fix the QML code to use the zone argument for loading the correct simulationData. Change-Id: I6bffd47333c423347421754c30856f2927170cd6 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivigenerator: Don't load the default values in initialize() in the ↵Dominik Holland2018-11-071-2/+5
| | | | | | | | | | | | | | simulation QML The initialize() function can be called multiple times. Setting the default values from the JSON files here every time is wrong and it would overwrite all values set in between. Instead only load it on the first call. Using Component.onCompleted doesn't work as it would try to set values before the zones are created. Change-Id: I0252874824ddd5afa3562d4052664e83f88a4e77 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivigenerator: Fix the control_panel template to work with zone lists instead ↵Dominik Holland2018-11-021-2/+2
| | | | | | | of maps Change-Id: Idd7dd5132ee1c2e12f133054973ad37a45206492 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivigenerator: Don't populate the models with values in the simulator backendDominik Holland2018-10-291-1/+0
| | | | | | | | Instead they should be empty and populated from the QML behavior, which can load the data from a JSON file. Change-Id: If2253cc477cde637929d51bdd24321d8cc8e89f7 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivigenerator: Autogenerate QML simulation filesDominik Holland2018-10-296-2/+134
| | | | | | | | | | Default QML simulation files are now generated in the "backend_simulator" template. The new generated QML files also use the IviSimulator API to load it's simulation data from a JSON file. Task-number: AUTOSUITE-629 Change-Id: I956de319cd3731ad5ee32025da348e25be4e238f Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivigenerator: Add a simulation_data.json for the backend_simulator templateDominik Holland2018-10-298-3/+138
| | | | | | | | | | | The simulation_data.json is generated from the 'config_simulator' annotation and added into a qrc file which gets compiled into the simulator plugin In the plugin the data is loaded using the loadSimulationData() function. Task-number: AUTOSUITE-629 Change-Id: Iac754b2bf2de65c3657f09126dc8542194777caa Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add a way to load and parse the data to the QIviSimulationEngineDominik Holland2018-10-299-6/+409
| | | | | | | | | | | | The new loadSimulationData() function can load a JSON file and store it's content in the IviSimulator singelton. The IviSimulator singleton provides functions to interpret the JSON values and other helpers e.g. checking for min/max/domain values. Task-number: AUTOSUITE-629 Change-Id: I2832cc0b29379144845a8ed295fc2d988273ff0c Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Refactor the simulation_backend for zoned interfacesDominik Holland2018-10-296-166/+146
| | | | | | | | | | | | | | The backend now provides all properties as Q_PROPERTY independent on whether they are zoned or not. In addition all properties can also be part of a zone. All zones are provided to the QIviSimulationEngine using the zones property. Removed all boundary checks from the autogenerated C++ code. These will be added later again as part of the autogenerated QML code instead. Task-number: AUTOSUITE-629 Change-Id: I0bed939e5cdf8fbce9a09ebf1647b58ba8506428 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>