| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Also removed all the SPDX tags and -QTAS license extensions.
Change-Id: I06802ea7b48ad749db3a696e9ec598b4aec6892c
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
|
|
|
|
|
|
|
|
|
| |
The new API unregisters all logging categories and their associated
DLT context Ids. This can be used to change log levels: set new rules
and unregister all contexts.
Change-Id: I1a21dd49d3e3b21fd6f58a2316c60a6f25b29586
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
|
|\
| |
| |
| | |
Change-Id: I0a79176763ca001072d41f377869854e1982e4e7
|
| |
| |
| |
| |
| |
| |
| |
| | |
Access to static object pointer without checking.
Object might be already destroyed.
Change-Id: Ida459bc0e41f0b475293f2b69c44789f535df549
Reviewed-by: Bernd Weimer <bernd.weimer@pelagicore.com>
|
|/
|
|
|
|
|
|
|
|
|
|
| |
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.
Change-Id: I325c8e8da25c9456ee56d29bce0779b016c01917
Fixes: AUTOSUITE-1187
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
The function was defined already before, but it didn't have an implementation.
Change-Id: If234d83cbcd15bee6e24459c9bd27ff9d6ae05a2
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
- added 2019
- everything is (c) Luxoft instead of Pelagicore from now on
Change-Id: I4a6dbd46aaffbb90cea57626bd75e3972cea2cfc
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
|
|
|
|
|
|
| |
Applied to all modules and the plugins
Change-Id: Id1dd9adb4a9f5bdcd452242785439e118d63ef10
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
| |
Change-Id: I408c855d9619e20f481a592dc1f514b90af642f9
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed a bug where contexts where registered with the dlt-daemon on
every call instead of only once.
Also added a GENIVIEXTRAS_DEBUG define to make debugging easier in the
future.
Task-number: AUTOSUITE-169
Change-Id: I359d989e28b96d8eefa3e6f8ec100c8a71f305ba
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|\
| |
| |
| | |
Change-Id: I61180ae3eb1e00490089ef6fb4deb29918766d87
|
| |
| |
| |
| |
| |
| |
| | |
Also made the configure output more clear
Change-Id: Ic44b8ee26ec552415b8afef3b63389e90e21dfa4
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|/
|
|
|
|
|
| |
Task-number: QTAUTO-319
Change-Id: I4f7bf0db4064cf7fd3e964d4e21057952fc23667
Reviewed-by: Vadim Popov <vadim.popov@pelagicore.com>
Reviewed-by: Kevin Funk <kevin.funk@kdab.com>
|
|
|
|
|
| |
Change-Id: Ia1a282bc3c251c998df2263c95a6717e741ccf90
Reviewed-by: Johan Thelin <johan.thelin@pelagicore.com>
|
|
|
|
|
| |
Change-Id: I3886fa569f304c509023db1226deb70d9af9eaa3
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use the new configuration system to define external
libraries, configure tests and features. Don't use
pkg-config outside of the configuration step.
The geniviextras-only CONFIG option has now been replaced with a
command-line option and can be used by passing it to qmake after '--'.
E.g. 'qmake -- --geniviextras-only'.
Removed adding DLT into the rpath. Similar to all other Qt modules, it
is now expected that packages found using pkg-config can be found by
the dynamic linker.
Change-Id: If46cd1b79413cd7571ee1068898848d9871e61ba
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
| |
The new code is less error prone and fully supports the lazy initialization
of DLT Application and DLT contexts.
Change-Id: I37165c0e6a02b9e8b54eb8c472b2c3b7baf0f4d9
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
|
| |
By unregistering and registering the app with the new appID it is
possible to enforce a change of the appID. This is useful for
applications/libraries which act as launchers where it is not clear
what will be the final appID at compile-time.
Change-Id: Id6dc8192e199e6366aa912dd37171ce3f7a698ef
Reviewed-by: Johan Thelin <johan.thelin@pelagicore.com>
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|\
| |
| |
| | |
Change-Id: I3feb8544b54c7e84970ae304ea5e8c44bcd30a46
|
| |
| |
| |
| |
| |
| | |
Change-Id: I827e18be98de9818df22048795bcb4bdb22668d1
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Reviewed-by: Johan Thelin <johan.thelin@pelagicore.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The DLT contexts are now registered with the log level
matching the severity of the QtLoggingCategory, which
is debug if nothing is specified.
In addition it is now possible to delay the registration
of the DLT context, until it is first used for logging.
As an application might want to adapt the logging
categories by parsing their own settings file. As DLT
doesn't allow to change the log level from the client
it's now possible to delay the creation until the client
knows what loglevel is needed.
The registerUnregisteredContexts() function can be used
once all logging categories are defined, to forward the
information to DLT.
[ChangeLog] DLT context are now registered using the
QtLoggingCategories severity
Change-Id: I96cf0aa652b97a39b277718337cf1701388b1615
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|\|
| |
| |
| | |
Change-Id: I5e601ba33cf50596f873e746e9b107a560c45018
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We need to make sure that the DLT Application is registered before any
category. Also it could happen that someone tries to register an
empty LoggingCategory, which needs to be prevented
Change-Id: I3c084ee4366cc6c21619e8c1d8642916799613e6
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|/
|
|
|
| |
Change-Id: Ib1812eac61ffa163dd50eeacfc0097881ca277f4
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QML:
import QtIVICore 1.0 -> import QtIvi 1.0
import QtIVIVehicleFunctions 1.0 -> import QtIvi.VehicleFunctions 1.0
On C++ side:
Includes:
- #include <QtIviCore/QIviAbstractFeature>
- #include <QtIviVehicleFunctions/QIviClimateControl>
The renaming of the files will be done in separate commit to
make the diffs easier to read
Task-number: QTAUTO-40
Task-number: QTAUTO-41
Change-Id: I2efdaf1f4a15e09481532df1333fa9883e82d1fb
Reviewed-by: Johan Thelin <johan.thelin@pelagicore.com>
|
|
|
|
|
| |
Change-Id: Id4a3c96495d97e666f0273671c231dbbd4beeaff
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
src -> LGPL3/GPL3/GPL2/Commercial
tests -> GPL-EXCEPT
examples -> BSD
qdoc files -> FDL (or BSD if documenting examples)
pro/pri files -> no copyright header
Also removed the LGPL2.1 option from GeniviExtras, since it doesn't make sense
anymore when linking against a LGPL3 only QtCore library.
Change-Id: I9299cf86cf37c1dfbbe997686b624084f27c9149
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
|
|
|
|
| |
Change-Id: I06112c77eedc2985dc3748293721bf2c8d493afd
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
| |
Also change-id I8ffe7bca in qtqa is needed for this to work.
Change-Id: I5e749dda7f2179c27f078dea748e15cf1cc81e92
Reviewed-by: Marko Kangas <marko.kangas@theqtcompany.com>
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
|
|
|
|
| |
DLT_REGISTER_LOG_LEVEL_CHANGED_CALLBACK is available with 2.12 not
2.11
|
|
|
|
|
| |
Only use DLT_REGISTER_LOG_LEVEL_CHANGED_CALLBACK when the dlt version
is atleast 2.11.0
|
|
|
|
| |
This enables the Developer to react on log level changes.
|
|
|
|
|
|
|
|
| |
Once we get a dlt control messages and the logLevel for a dlt context
was changed the QtLoggingCategory will be updated as well.
This makes it possible to use <LoogingCategory>().isDebugEnabled() for
not performant operations to generate more debug output.
|
| |
|
| |
|
| |
|
| |
|
|
This version contains helper macros which makes it easy to map
QtLoggingCategories to DLT Categories and install a messagHandler
which logs all messages using libdlt
|