| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
src/src.pro
Change-Id: Ibc0a58c565aec37fb09b96e27309f50892340cac
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is required for automatic static linking and deployment.
The test plug-ins are excluded from the automation based on
the assumption that they are usually not needed.
Change-Id: I7658c624101e3273767c1c10d77a87c89d5801ba
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|\ \
| |/
| |
| | |
Change-Id: Ib061722a7ebc4b26bf132c67a005910f2d39400f
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We don't need the cumbersome CONFIG+=simulator flag. Now we automatically
build it.
Change-Id: Iab20816856ec1d79965b980a17e668d04d3d9258
Reviewed-by: Rainer Keller <rainer.keller@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|\ \
| |/
| |
| | |
Change-Id: I77d4df804eb31a2b63c9d664d63baec840225abd
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Complex and really long routes can take multiple seconds to parse. Use
a helper thread to parse route responses to prevent blocking the main
thread.
Change-Id: I4130510ff15752427f31b429e53d2ab87fa1b84a
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QtLocation now links against QtQuick and the QGeoMap has a
updateSceneGraph(QSGNode *, QQuickWindow *) function to populate the
scene graph with map content in what ever style the implementation
decides. The only implementation right now is the QGeoTileMapData
(same as with the Qt3D code).
Camera positioning, zooming, panning, etc has been preserved in the
interest of minimzing the change and keeping things "as they were".
All rendering logic is moved into the updateSceneGraph function, where
we find the delta between what is shown in the scene graph and what
the scene things should be visible. Nodes are added removed
accordingly. This logic is isolated from the rest of the code as it
primarily lives in the scene graph render thread and may be released
at an arbitrary time. Doing this every frame might seem daunting, but
for the most, it is a couple of checks on a few tens of nodes,
compared to rendering millions of pixels afterwards, so this is not
going to be a bottleneck.
Texture uploads are now done in the scene graph's rendering phase, so
the map item's sync is fast. This means the map element doesn't block
both GUI and render threads for extended time periods. In contrast,
the Qt3D code path uploaded tiles and rendered them to an FBO in the
sync phase, resulting in very poor parallelization.
We cache the textures designated as visible and nothing
else. Primarily in the interest of simplicity, but also because
uploading 256x256 textures is a no-brainer on modern GPU's, including
lower-end mobile and embedded. The QGeoTileTexture sits on a QImage
instead of an actual texture to keep a strict separation between
render thread and GUI thread clean. Texture cleanup is done by the
scene graph structure.
The Qt3D codepath rendered to an FBO, so it was implicitly clipped to
its bounds. To preserve this behavior, the scene graph implementation
does the same. Not doing so looks a bit odd, at least when zooming all
the way out so the world is significantly smaller than the viewport.
The scene graph code also adds a rectangle of solid 0.9 gray to match
the default color of the old FBO code.
Change-Id: Ia736cea6e3616721c2de6beb5d72e570adcb21e6
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
| |
Change-Id: If46057e48040fda7b61b81e735c171daf2cc7d06
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
|
|
|
|
|
|
| |
Change-Id: I8425c141add90f58aefcf2b9706f9d6328382644
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
|
|
| |
It is the baseline for all subsequent additions.
Change-Id: Ia56da45b8b92dd0224dbeff97976cd06aa25d943
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
|
|
|
|
|
|
|
|
| |
Rotate and tilt gestures were recently removed. Some of the related test
code was left in which is now failing.
Change-Id: Iadb5b40cb5e2740f331453b673b89948fb829e51
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
|
|
|
| |
The speed reported by the position source can vary due to the system
load and scheduling during the test. Increase the tolerence.
Change-Id: I26c0e6a9c19cfe73f7c1c24b133dbd3cc5abc04e
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
|
|
|
|
|
| |
Test imports, used only during tests, are not installed prior to running
tests. Copy the qmldir file to the output directory so that the tests
can successfully load the import.
Task-number: QTBUG-31797
Change-Id: I85095eb7532df6b1fc06f10e46ed8b4db41554a6
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
|
|
| |
To help debug a test failure in CI.
Change-Id: I2d8c8ac3e873c80bf6c4c317dfc0db19d7a1255a
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
|
|\
| |
| |
| | |
Change-Id: I1de140f15e028425e888e6ef52d9f2ff11fd9d5b
|
| |
| |
| |
| |
| |
| |
| |
| | |
Tests added for comparing Coordinate, Shape, Rectangle and Circle.
Task-number: QTBUG-33561
Change-Id: Ie826f670e75b26ac43ad7cea7c9b108b01008f3d
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The local TCP socket required by these tests regularly fails on the
Windows CI due to heavy load.
Change-Id: I65e6150b8c735aec85e643cf1702344ff707723d
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Coordinates for map items located outside the view port cannot be
converted to and from screen coordinates. During tests pan the map so
that the items under tests are inside the view port.
Tests for panning the map and dragging map items were failing because
mapping between coordinates and screen position only works for visible
screen positions. The MouseAreas under test did not have
preventStealing set, which was causing the map to pan slightly prior to
item drag being detected.
Stop gesture detection for a touch point when the mouse is grabbed by a
child item.
Task-number: QTBUG-31797
Change-Id: I42a801d50c194c6fe9629f3b0de606b406ad8b8c
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QPointer holds a guarded pointer to a QObject. It must always be tested
prior to use.
Changed the parameter type to remove the need for the static_cast when
setting the QPointer member.
The root cause was that the tile fetcher object was not being destroyed
when the mapping manager engine was. Which was because the two objects
were in different threads. Some of the service specific tile fetchers
were directly calling into the engine objects across thread. Gah.
Since Qt 5 QNAM uses an application global thread for processing
requests, there is no need to use threads in the tile fetcher.
Change-Id: Id9df35ddfa78df2cbf334006fe5fc9726a75f92d
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The QML and C++ position types now provide the same functionality.
Position attributes are always set/reset on every position update. This
ensures that old values of speed, accuracy, direction, and vertical
speed are not indefinitely reported in QML. Values are set to NaN and if
appropriate the associated is valid property is set.
[ChangeLog][QtPositioning][Position] Added direction and vertical speed
properities.
Change-Id: Ia02da8a5bc1cd68489eb58180986df512c24aa2f
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Due to QTBUG-36560 some map mouse tests were failing. Implement a valid
workaround until it is fix.
Change-Id: Iec67f82d2e2a9792ed067b9cd956345ab38e7ab7
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
MapMouseArea has been removed. Remove MapMouseEvent, it is no longer
required.
Remove some remaining MapMouseArea instances in the tests.
Change-Id: I12c534bb3360f6a19ec9e1dd40ecf7bb0d7b8e21
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
I don't see a reason for keeping this. First of all, only half of it is
implemented. Second we can have the same behavior with a normal
MouseArea. The only advantage a MapMouseArea has is that mouse events
are only received in the boundaries of the parent map item. However
with a bit of work in the parent map item we can have this behavior as
well for a normal mouse area.
The only thing we are eventually loosing is the geocoordinate property
of the MapMouseEvent. But this can be easily obtained with the
"toCoordinate" function in the Map item.
Change-Id: Icb176ee7d7c2881df714ab3191fa1f7f5c8915e2
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 93773ce48d3f884fbd71a6783d317bda1880bd37.
The related bug was fixed in qtdeclarative
(see c6da58a295235c89ee2a5847b15cb0b1dc66b2f4)
Task-number: QTBUG-36519
Change-Id: I233d08f091fb3273f111d41c4743808d8aaf4637
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The TravelTime element is a double, which was failing to be parsed by
QString::toInt(). Fixed by using QString::toDouble() and rounding the
result.
Change-Id: I012c277f1efdb3811a50eff96519a4d0d9959a67
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Requesting a negative number of alternative routes does not make sense.
Fall back to the default value of 0 if a negative number of alternative
routes is requested.
Change-Id: Iecc1b7ba8bfa25b59b2a4c2efeafa33fd528377d
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-36519
Change-Id: I17a60fe311715bcd9b7e5e5253736daabff67caf
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This complements 1d0966c6924876655c52725e779a7aa24866ff60
Not all service providers support arbitrary offsets when requesting
place content. The offset attribute has been removed, instead service
providers can supply a previous and next content request query in the
form of a QPlaceContentRequest.
Change-Id: I6239b42c31bed5dcd6645d86d5a48d7e6a667f46
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|\ \
| | |
| | |
| | | |
refs/staging/dev
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
src/plugins/position/geoclue/qgeopositioninfosourcefactory_geoclue.cpp
Change-Id: Iae3f3c00d46c903e2fa6c1dd49876839362f8001
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
return AllPositioningMethods
Also added unit test for preferredPositioningMethods()
Change-Id: I28c1d5ce66987d3799d1d1cc97469112dd055a45
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The failure was discovered by https://codereview.qt-project.org/#change,75481
We increase the timeout for the local tcp connection as the likely
reason is an overworked CI system.
In addition we add more verbose output to easy the failure detection
in case this happens again.
Change-Id: I44ee52fcb957dcaa5aca4a6932221a34ce3f2af7
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Not all service providers support arbitrary search offsets. The offset
attribute has been removed, instead service providers can supply a
previous and next search query in the form of a QPlaceSearchRequest.
Change-Id: If68e969b06f909f3fa62718656cbef70d1bf84a6
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Place recommendations are no longer wrapped in a "results" object like
other search requests.
Change-Id: Idef11bf08818e07192657ffbadca0e0d610b6137
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
It was possible for another thread to attempt to stop the timer used by
the tile fetcher.
Change-Id: Ic44cf416bc7e6c987c4b5c9914a1c7d911dbbea5
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
| |
| |
| |
| |
| | |
Change-Id: I2a10bd93bfef53af567777c85d794f07621d179d
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The Map was starting at coordinate 0,0, which the test was not
expecting. Fixed by disabling animation when setting the starting
coordinate.
Task-number: QTBUG-31797
Change-Id: I5cadb28ad667d321b2c3e6440e0698e0ad59ed8e
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|\ \
| |/
| |
| | |
Change-Id: I7f649542227dcdeb062b0b8368a301334fa9969b
|
| |
| |
| |
| |
| |
| |
| |
| | |
These test cases were failing due to regressions in QML and have since
been fixed. See QTBUG-33542, QTBUG-33546 and QTBUG-33561.
Change-Id: Id86e9a8baa29eea851bda27cb668a6ce586c5f25
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There are still some bugs caused by V4 but more dedicated bugs but it is
more important to get the current unit test running . We rather skip the
problematic cases.
A lot of warnings have been fixed as well.
Task-number: QTBUG-31798
Change-Id: I1fccf26db5c47563baeaf6c2d6366d3c10aee824
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 5679a86968a6a26f8427b9c979f89f6ea5198d2f
Change was source incompatible.
Change-Id: Ied25ca3503a41e498a5c9b710e7a0dd3787bbe89
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These metatypes need to be declared for common usage of the positioning
API. Declare them in the library header files so that applications are
not forced to do so.
[ChangeLog][QtPositioning][General] Applications no longer need to
register common Qt Positioning data types with the metatype system.
Change-Id: I1d28ec8e33d20efc748cb6a0a2ad302e2061853f
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
It is shorter, easier to read, easier to type and it doesn't affect
the ABI.
Change-Id: Ic4d8a371d00b434ac84382dd75d8d82a963089cb
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It is useful to be able to set the measurement system independently of
the locale used by the routing manager. Add accessor functions for the
measurement system to the routing manager classes.
Locale and measurement system properties are also added to the
RouteModel QML type.
Change-Id: I8ee9fbdb5ab94615fef7019914b0f104aebfa9c8
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Extract the HDOP and VDOP from the NMEA stream and calculate the twice
the distance root mean square (2DRMS) error based on the user provided
User equivalent range error value.
[ChangeLog][QtPositioning][QNmeaPositionInfoSource] Added support for
reporting position accuracy.
Change-Id: I59e5f8c32070fa96ae4d0bd02a18f38663920e05
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|\ \
| |/
| |
| | |
Change-Id: Ia0af08e46e39b783ffa0773bbc43a9a5a78c28bc
|
| |
| |
| |
| |
| |
| |
| | |
This became apparent while implementing the BB10 and Android backends.
Change-Id: I54e2c0fce63021b9fad0c544777792aed726608b
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since the 7.2 API supports many more lanugages(23 compared to 4) and is the
only version that supports China it was necessary to upgrade the nokia route
plugin to 7.2.
The major change is that 7.2 does not support multiple mode parameters which
6.2 did. Now if the user selects multiple route optimizations multiple
requests will be made, one for each optimization. Nokia has also reduced
the amount of different route modes, only fastest and shortest are supported
now.
In the response part noting has changed, so no parsing fixes were necessary.
Task-number: QTBUG-24808
Change-Id: I256079f9a1e91e11c961849c95b95b712021ace0
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch is to remedy rounding errors on ARM devices where
qreal is defined as a float instead of double.
The main change is to replace QPointF with QDoubleVector2D when using
screenPositionToCoordinate and coordinateToScreenPosition. In many
cases the QDoubleVector2D is converted to QPointF when the increased
precision is not used. This because many of the surounding classes uses
qreal so the precsision would be lost anyway. These classes include
QVectorPath, QPainterPath and QQuickItem.
The most important change is in polyline and polygon map item in the
updateSourcePoints methods. Using floating point precision here resulted
in many precision errors that caused for example route lines to be
chopped of as the method erroneously thought it needed to wrap to the other
side of the datum line.
The external uses of the coordinate lookup functions in declarative geo map
has been left untouched so they still use QPointF for compatibility reasons. Not
sure how the process goes when updating externally visible parts of the API
Change-Id: I01ed67a0563cfb5c4ff2db6395b7a62eaa8e4a19
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
The test plugin is experimental and requires allowExperimental == true
to be used
Change-Id: Id27d4b2a4a9597fc42a725435cac49b898010e4a
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
|