| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
Task-number: QTBUG-95170
Change-Id: I041d949a1b5d3097f756befb1d03ed3734665f82
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
(cherry picked from commit 3dd6e04c7f4d9304aa22737d5610293adbd5995f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I1e8d418cd2e3cf7fe6ba7f0e24f046e59d2866a2
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
Amends bc9ddc25379b969b8e751a192ba66093a7b7dbc2
Task-number: QTBUG-90819
Change-Id: I91d61a86d7ea79b371de7586b3406bd3b3d3c66b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit de3961f6da9fa3fe32ecb97714dee02be006080e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I795ba994ac65c2edc64c20a2f579b13b484f044e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
This patch fixes the qdoc warnings that were introduced during previous
refactoring and documentation rewrites.
Change-Id: I3bd32141cc37720abd40738f09d0c08152e8b9d2
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit de07b53c5a8f6de7559ec2ada0efbaf5bec69e61)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously the plugin was taking the device name from a hardcoded path
in the GConf parameters.
This patch adds the possibility to specify the device in two ways:
* use 'gconfKey' parameter to specify the GConf key, that should be
used to extract the device name;
* use 'deviceName' parameter to specify the device name directly.
If none of these parameters is specified, the old behavior is used,
i.e. the plugin uses the hardcoded GConf key to try to extract the
device name.
Task-number: QTBUG-74995
Change-Id: I7c911630a2d367310e62764a1660171a6856e27b
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit cac741dd3a13bb724b9e16877ea5b3b404e0ad1f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
This patch adds a separate documentation page for the Gypsy plugin.
Task-number: QTBUG-74995
Change-Id: Id07d9ebee60de98ad780cb015a7278d74e68f0d9
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit 289bd144e0916cd2a643214874005c40285dce97)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Iecf65cedb09c1af61b083394dfdeb6f36af1aae1
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Gypsy daemon provides the satellite_id of the available satellites, but
this information was never used before.
We can also try to determine the satellite system based on the satellite
identifier.
Task-number: QTBUG-74995
Change-Id: I7eba052034ddb7b64d91a81381d136bf9f2ddeca
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit 1267b9321d590daa1f0a91fd050ec11caced849d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is no need in using the environment variable to set the desktop id
parameter.
This patch introduces parsing of the desktop id parameter from the
provided plugin parameters.
It also introduces a separate page with the plugin documentation.
Task-number: QTBUG-74995
Change-Id: Ie59e2410709dc9517b305f0b490d35c6718ce9ba
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit 9a6f7a2d31829b541b688b68cff85ffaa1ee2d1c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Fixes: QTBUG-94898
Change-Id: If6916b84976bac35a5553686d5d79ea9f7ca11af
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit 0ab2fe51bb68ef7c1503fc5aa9880421421bd6dc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Applying qRound() to check if the minutes/seconds should overflow was
not the right solution in some cases. It could lead to incorrect
overflows, and so - to wrong conversion results.
The actual logic of overflow is related to the behavior of QString::number.
This patch fixes the logic and also introduces some minor optimizations.
After overflow, the minutes or seconds value is always 0.0, because
the actual minutes/seconds value is always in range [0; 60). This allows
us to get rid of some checks.
Fixes: QTBUG-95221
Change-Id: Ie3dcb6cef226b04c43dd973c09c4ae297c583f3b
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
(cherry picked from commit 15f06eca6a5085ce14d2eb0b743c5a06365068ea)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I702a48141258e64c00ba5181da69666cd5ba9772
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add the description of Position Accuracy - a 3D accuracy value.
Qt does not provide it directly, but it can be calculated based on
horizontal and vertical accuracy values.
Task-number: QTBUG-64694
Change-Id: Ic043b2d3a8198fc3ec77f0c5af1ff83934a47044
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit 1efdfa7e810e7eb86b2cde3151a6291666dc3e35)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
The public permission API is being postponed until 6.3, for now,
we can use the private API.
Change-Id: I02f94402e6fe3f3eecf24526438a5c7ff06399b5
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit fceff8428479d1c7e5136b98368d9bd119f162a6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
Task-number: QTBUG-95163
Change-Id: I6b867a27095c26dbc803609b7d0da6d23cd46249
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit 71bed5569c615a84fe91d3a55bb84fc8010c5d5a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I1a27bd25fbef36edb1237d326907d0b7e64b6d2d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Task-number: QTBUG-95163
Change-Id: I837faa1ae9ebcfb0fba170dbfcc0dbd5be2d8fc2
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit 0340246d54f8fa402e97c31ad04c16e8f92fdbc0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds qHash overloads to QGeoShape hierarchy, allowing to use
the classes as keys in QHash.
Note that the actual qHash overload is required only for the base type.
All the derived classes are correctly hashed using the virtual method
in private d_ptr.
Task-number: QTBUG-95163
Change-Id: I186f9d396e698187ebf0363d96c19e324db10905
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit cc6d520ee633d15b18724e3b7e6ecff25570dd0d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ia2e68383e049bfbbaf314ee2c705e16494ad1278
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I14b6b03ecf3e04a2471f785d184231e57b43fed8
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I71441087916c09e44ed5bb513b52eb56f6c1cefb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I29e13fed58bc2d35d25077663b9a9803ff5136f9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ibf271f3ce4895ca88f47eebcad94688e877f4063
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Add move-constructor and move-assignment operator, as well as a swap
method. Specialize the type as shared using Q_DECLARE_SHARED.
Task-number: QTBUG-95163
Change-Id: Idcb42414b3d60526e7cd55ea3ead53324c7cbc58
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit 90d252f97c24d342eda3f1e62dc4c52fbd200067)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Add move-constructor and move-assignment operator, as well as a swap
method. Specialize the type as shared using Q_DECLARE_SHARED.
Task-number: QTBUG-95163
Change-Id: Ie5e3bd319f9386c7e864122994a5dbcf0fb81240
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit f30b06cd5dbbbbc8a724c279b36d4e09e74e2346)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I7b6aea6ebc0863a7a56b52142890c14a4fa7eabd
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ia2aa6652aad5131d49dd6bd6a8eff7a629c7d9fb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I5f6115cb84f40f928de5a776463a170bed1bc7b5
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I76bf542a9271e624f9bf8881f3a20b1364849bcb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I569ba3402fcaefdf742fd18a23ced487a87eefc6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Add move-constructor and move-assignment operator, as well as a swap
method. Specialize the type as shared using Q_DECLARE_SHARED.
Task-number: QTBUG-95163
Change-Id: I6ed041c54c9979d90b475c1d98806b5912220fc2
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit e0d480ea4b86caf3e076ef98496dc4ba601550e5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch changes all streaming operators in QtPositioning to
hidden friends, so that they can be found only by ADL and do not
pollute the global namespace.
It also updates couple of tests to make sure that we cover the
streaming operators with test cases.
Task-number: QTBUG-95163
Change-Id: Ie78b31301d9fb6f658e82114d9637b197e72710a
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
(cherry picked from commit 2bf5bf8caf01311eac9218a31af27f82bfc063d6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch changes all comparison operators in QtPositioning to
hidden friends, so that they can be found only by ADL and do not
pollute the global namespace.
Note that the comparison operators are removed from the
QGeoShape's child classes. Only the friend operators for the base
QGeoShape class itself are implemented. The ADL will manage to
correctly detect these operators, and then the virtual methods
of the private d-pointers will be called.
Task-number: QTBUG-95163
Change-Id: Ice348a8a219395b0470cd0202b1fcc6673d575e2
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit 4fc52ffe0b236f7f15841d881102f8b485d50df7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][QtPositioning][QGeoAreaMonitorSource] Add virtual methods
to set and get custom parameters. Helps to configure and control
backend-specific behavior at runtime.
Task-number: QTBUG-95163
Change-Id: I77bac8336ec6c7398a98047c8b557e3480106ce4
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit d454e6131c5fd74826e87ca9b72315e3b883ee30)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There were two problems:
1. The deserialization method was still assuming that QList uses int to
index the elements, so it tried to extract the polygon and path size
as int, while it was serialized as qsizetype.
2. The QGeoPath didn't serialize and deserialize its width - it was
simply lost.
This patch fixes both problems and adds some unit-tests to cover these
cases.
Change-Id: If0ac87731b4481fde6b91e71fb121b3e916b0bfe
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit b7fa0a29ff70dd3316941cf9ec9936d7c1a8434c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I47978e5faafbe7a625074a117ddde38b6e62efc5
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit adds support for GnssStatus and GnssStatus.Callback API
to detect satellite info changes since API Level 24.
Note that we also need to retain the old GpsStatus API, because we
support API Level 23 as well.
This commit introduces an abstract PositioningLooperBase class on
the Java side, and creates different subclasses for each of the
APIs. Only one subclass is instantiated at each run, depending on
the OS version.
As a drive-by: removed an unused LocationManager variable during
PositioningLooper refactoring.
Fixes: QTBUG-92965
Change-Id: I8af1c37d99b75fc9ad27b77b1befa4e1f8626803
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit dd4200e16b49224ad2ff0f39415cddf165561b79)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
Also update the Java log tag to match the logging category name.
Change-Id: I4ec7a1eabfd7a04918a858f3101c6fb708d34292
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit e8b9e113e35ce3c1795d73ae56a9005b5048ebd4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I9be8aecc4f7c5c18e6820b6d02c6b7b59c295260
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 55739ad4128fc70ca9045fba08e8d0f7b52e28c2.
As shown by the API review, it's not a good idea to have a
polymorphic copiable class.
Change-Id: I4aad974c9c4617711ef314acd1ace9fc4756b549
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit b1bc3ef2900233f5e4f98055c2c40cc54232894f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The documentation tells that UpdateTimeoutError will be raised if the
plugin determines that it fails to provide regular updates.
This was not implemented for Android plugin so far.
This patch adds such feature. However, there is no straightforward way
to find out that the Android OS is not able to provide location updates.
For example, analyzing satellite info is not the correct approach,
because the OS also uses network information to provide the location.
As a result, the only reasonable way is to actually detect that there
were no location updates within a certain period of time.
This is the approach that is implemented in this patch. The period is
calculated based on the selected updateInterval() plus some constant.
The constant is large enough for the Android OS to start providing
updates under normal conditions.
Apart from that, the error is raised immediately when the required
location providers are disabled.
Fixes: QTBUG-36854
Change-Id: I14e8e95e721efd7fbb09d8d9a6e984f80f7249cc
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit d0351428c74dd9f6d9544ca8bdf442317e1976e8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
Fixes: QTBUG-47503
Change-Id: I8cfcad2614ec76f990a7cd1a885bf69b70823a8c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit aa02046dfe9c8c160ab872701aab5c7b768f73c2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When starting the location updates, we register the same location
listener for multiple location providers (GPS & network). As a result,
the onProviderDisabled() callback is called multiple times, and we
might report too many "Closed" errors.
This patch fixes the logic by introducing an additional flag to track
that the native C++ callback was already invoked.
Drive-by: fix some code formatting.
Change-Id: Ie8e93ae77eb1c9cf9044bf3a35b22c37e9f2a8aa
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit 6015afc28d828466c8fc9f783ff9ac63f7579e71)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since Qt 6 we use qsizetype for indexing in QList. This means that all
the APIs should be changed accordingly. However, QML still has only
an int type.
As a result, some APIs have a risk of overflowing and returning incorrect
indexes when used from QML.
In QtPositioning such classes are QGeoPath and QGeoPolygon.
Considering that in the real usecases it's very unlikely that someone
will ever add more than std::numeric_limits<int>::max() elements to the
path or polygon, this patch just adds warning messages for such cases.
As a drive-by: refactor QGeoPolygon::addHole() so that one overload of
this method calls another to avoid code duplication.
Change-Id: Ib8167f729a70ec511c964ea98fa8f8400a56bb1f
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit 22aad092552dbcd8cfd3dc085109199e2c53914e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are several bugreports regarding this test being flaky. They all
are old, and the test is quite stable now.
Still we can increase the timeout without breaking the test logic.
This will make the test even more stable under high CI load.
Fixes: QTBUG-57678
Fixes: QTBUG-83077
Change-Id: If973c96750cfb079c076c47bcf4d0828a04c3e01
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit 2712c51db4e0cc7344b372c87240b9980d3ceaa1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ic8f2e89194c5f031419d2f18b2f437c62faf9587
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I645912fad9475d3d4523fe0e06caf6862780e851
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Iccde3fd5692bfa1e69052ed81f324891d18d3008
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I9ba1eeea5556f04063609dd2a013a167eedacdc9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|