aboutsummaryrefslogtreecommitdiffstats
path: root/app
AgeCommit message (Collapse)AuthorFilesLines
2022-06-08Add VIS vehicle signal supportmarlinScott Murray4-4/+6
Update the use of the Navigation API from libqtappfw for its rework to use VIS signals instead of the previous signal-composer usage. Bug-AGL: SPEC-4409, SPEC-4426 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I50928e1a4ef723335d81f00dec9d5982f542fac4
2021-12-20Add .desktop and icon file installationmarlin_12.93.0marlin_12.92.0marlin_12.91.0marlin/12.93.0marlin/12.92.0marlin/12.91.012.93.012.92.012.91.0Scott Murray1-1/+1
Add initial .desktop file and icon copied from the launcher source tree, and updated .pro files to install them. Also removed potentially confusing use of non-existent $$PREFIX variable. Bug-AGL: SPEC-4182 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I945eed27d3bee12d363e09d8222e1be08a22d853
2021-12-16Update for app framework removalScott Murray4-45/+14
Changes: - Remove the autobuild scripts and config.xml used by the app framework widget build. - Update the qmake files to just build a "navigation" binary and install it into /usr/bin by default. Also update the jtalk and flite script installation. - Remove the code in main.cpp that handled reading the WebSocket command-line arguments and passing them to binding related code. Bug-AGL: SPEC-4182 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: If3eca7b12c3ac2605c32f9832220dc58406f7b4b
2021-03-04Update MapBox style URLsScott Murray1-1/+1
Remove the leading "mapbox://" from the default MapBox style URLs, as it now seems to break the resulting generated tile URLs in QtLocation. I suspect this is related to the HTTPS support that was added in Qt 5.12. Bug-AGL: SPEC-3837 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ic4cc2d2bf1ab556a21c18e50f91d3124bf5b3e33
2020-06-24app/main: Remove libhomescreen and libwindowmanager code and dependencykoi_10.93.0koi_10.92.0koi_10.91.0koi/10.93.0koi/10.92.0koi/10.91.0jellyfish_9.99.4jellyfish_9.99.3jellyfish_9.99.2jellyfish_9.99.1jellyfish/9.99.4jellyfish/9.99.3jellyfish/9.99.2jellyfish/9.99.19.99.49.99.39.99.29.99.110.93.010.92.010.91.0Marius Vlad2-32/+6
Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ibf45b2aa8f0b1df38a36a468a566e5483ba1228a
2020-06-24app/navigation.qml: Use screens width and heightMarius Vlad1-2/+3
Bug-AGL: SPEC-3379 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I63d51f127dc123da891b182bf5f2134f319e4ef0
2020-06-16delete invalid removeMapItem operationRaquel Medina1-138/+129
- Delete invalid removeMapItem operation on map for markerModel. - Fix indentation on file. Bug-AGL: SPEC-3389 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I8608188305216b43ccfd3d4456b316d4a6890156
2020-06-10Update autobuild scriptsScott Murray1-0/+4
Update autobuild scripts with reworked version that fixes building outside of the source tree. As well, the project files have been tweaked to strip the release build binaries and add "-debug" in the name of the debug widget file. Bug-AGL: SPEC-2049, SPEC-3300 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I1262a29b4bbf3958e9df76f111b35dccea367c2f
2020-06-08replace qtappfw with qtappfw-navigation packageRaquel Medina1-1/+1
Bug-AGL: SPEC-3390 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: Id6250f0dc534a883f3f24deb8fb3beca79114a1f
2020-03-11navigation: qml: fix typo in mapbox parameterMatt Ranostay1-1/+1
Correct parameter naming to mapbox.mapping.additional_map_ids Bug-AGL: SPEC-3264 Change-Id: Iaf15527713a23998df27be9137e04813caa8fe0a Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2020-03-10file_operation: change default map style for mapboxMatt Ranostay1-1/+1
Due to an API change the default map needs to changed Bug-AGL: SPEC-3264 Change-Id: I62ee559e4bab60fafd6a7d86999203d4e4ffc192 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2020-01-03Further re-center behavior improvementsicefish_8.99.5icefish/8.99.58.99.5Scott Murray3-2/+10
Add logic to enable re-center button when the view is centered but zoomed in/out, for consistency. Additionally, re-center when routing is started to improve user experience. Bug-AGL: SPEC-3081 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ifed6702ee5f1d1db266c612a23fea51661c2a51b
2019-12-31Avoid broadcasting a second stop eventScott Murray1-0/+4
Tweak logic handling a stop event from the navigation API to avoid the accidental sending of another stop event. This avoids clearing a subsequent waypoint set that may be in flight, which was seen in practice when doing a stop and a waypoint set from the POI application. Bug-AGL: SPEC-3079 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ic738e83fae1d312377f05aec4888d84572a44f4b
2019-12-31qml: reset bearing and zoomLevel when recenteringMatt Ranostay1-0/+2
Reset zoomLevel and bearing to default values when map re-center button is clicked. Bug-AGL: SPEC-3081 Change-Id: I6ae95fddd6b03278ff8e3d94b7f0675f1951a10b Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-12-31images: rename files from .svg.png to .pngMatt Ranostay18-23/+23
Files are PNGs and not SVGs so drop that in the filenames and respective references. Bug-AGL: SPEC-3035 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Change-Id: I2f693d886bb22b3464ff8cbbbd1ee0a23cfdf69c
2019-11-27qml: fix route issue if already currently routed pathicefish_8.99.4icefish_8.99.3icefish_8.99.2icefish/8.99.4icefish/8.99.3icefish/8.99.28.99.48.99.38.99.2Matt Ranostay1-4/+5
Dropping a pin on map wouldn't function if a route was currently in progress. Remove several conditionals that would block another routing from starting. Bug-AGL: SPEC-2880 Change-Id: I2279f4ed6d89f818f469b5e24352cae5e3b5f60e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-11-27ondemandnavi: create title cache per providerMatt Ranostay1-0/+8
Bug-AGL: SPEC-2985 Change-Id: I5cd77bf643cb5bff16718eeba82171e4ec2328ff Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-11-27ondemandnavi: add qml invokable function for cache locationMatt Ranostay2-0/+13
Bug-AGL: SPEC-2985 Change-Id: I5b412e968cac0d1034be35822de3bff70bb073c1 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-11-12navigation: fix typo in getStartLongitude() qml callicefish_8.99.1icefish/8.99.18.99.1Matt Ranostay1-1/+1
Bug-AGL: SPEC-2880 Change-Id: Idcc72d943c633965a74a907c1a08cb7389905d1c Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-11-11ondemandnavi: add agl-service-navigation interfaceMatt Ranostay4-25/+52
Switch from the application providing DBus objects to consumers with using afb binding with proper JSON responses. Bug-AGL: SPEC-2880 Change-Id: If587ddeaea9a0f28e71c2bee790acbf53425de9f Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-11-11ondemandnavi: remove DBus interfaceMatt Ranostay6-388/+2
For proper afb interfae to function the DBus support needs to be removed. Bug-AGL: SPEC-2880 Change-Id: Ib501583e5cb3821bf5479d875e447411477c7da3 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-11-11ondemandnavi: remove aglextras from qmake filesMatt Ranostay1-1/+1
aglextras is not used in any of the QML files so not actually needed as a dependency. Bug-AGL: SPEC-2880 Change-Id: Iba9b8ded2138ed83385f1babb8892b1b20186a66 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-11-01ondemandnavi: fix typo of longitudeMatt Ranostay2-8/+8
Fixed typo of longitude (was longitute) in code and configuration. Bug-AGL: SPEC-2933 Change-Id: I2b49d8c7d8ff581c0c7caeff43e50c40d603c127 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-10-24ondemandnavi: remove DESKTOP defineMatt Ranostay2-47/+0
With switchover over to afb agl-service-navigation it will be unlikely to run on a desktop system. Bug-AGL: SPEC-2880 Change-Id: I56819383a9fc2e18323cbd33044dfa4d544f1ab5 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-10-20Fixes to improve interoperation with tbtnaviScott Murray3-12/+43
Changes include: - Add support for actually sending stopDemo and Arrived DBus signals. - Fix typo in Arrived signal name in org.agl.naviapi.xml and dbus_server.cpp. - Change some qDebug messages in dbus_server.cpp to qWarning as it seems more appropriate. - Actually use Mapbox style URL from naviconfig.ini. Bug-AGL: SPEC-2916 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib32bcc50a495538362c5ca77c9de3941d81c17bf
2019-10-16ondemandnavi: remove unused signalsMatt Ranostay2-31/+0
Part of the effort to cleanup DBus usage for navigation to JSON events remove all unused sections of the application. Bug-AGL: SPEC-2880 Change-Id: I2e97f2ffde998b13419de5eaeb9b3bc3e6b073e3 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-09-24qml: add MapBox copyright attributionMatt Ranostay3-3/+25
Add attribution that is required from usage of MapBox maps Ref: https://docs.mapbox.com/help/how-mapbox-works/attribution/ Bug-AGL: SPEC-2822 Change-Id: I69990c92031f51721e2aef9b230a02c0a2e84b76 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-09-23qml: allow map plugins to be set on runtimeMatt Ranostay3-18/+37
Allow selection of OSM over MapBox with enableOSM configuration file option. Bug-AGL: SPEC-2667 Change-Id: Ie055ca1263b0a6f2a74046e5ff85535e48e60d31 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-09-22Revert "qml: breakout MapBox plugin references"Matt Ranostay4-39/+13
This reverts commit fb68a3ddc7fcdf67c62fcde32914d4ed3936680a. Bug-AGL: SPEC-2667 Change-Id: Ic1b7d84e2fa58e98e7ba05c5f1b825503aa36e1d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-09-22Revert "qml: add OpenStreetMaps map engine option"Matt Ranostay4-47/+2
This reverts commit 538634c916e66e47cceaee5a98131eaadd60b269. Bug-AGL: SPEC-2667 Change-Id: I2e962fb3b5508863d9212d49d423ad0ce7fbd332 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-09-09qml: add OpenStreetMaps map engine optionMatt Ranostay4-2/+47
To allow testing in regions without easily accessible MapBox API keys add an ENABLE_OSM build option. Bug-AGL: SPEC-2667 Change-Id: I8ba72b774ed0ab1cf740dc0ebdb3048a6f403696 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-09-09qml: breakout MapBox plugin referencesMatt Ranostay4-13/+39
To allow placement of other mapping engines make a common MapPlugin competent. Bug-AGL: SPEC-2667 Change-Id: I7bb4ae600304db104f39feeba3f35f342452584e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-09-06Run dos2unix on entire repoMatt Ranostay10-619/+619
Remove CR+LF line endings on most files in the repo Bug-AGL: SPEC-2667 Change-Id: I8ad7cd9ea20658dabdecf8ce14a51cb8a851b999 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-09-06Remove execute bit from filesMatt Ranostay7-0/+0
Remove superfluous execute bits on source files. Bug-AGL: SPEC-2667 Change-Id: Ibe396d26bf2d03bd691ef56c812d45ebf128f072 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-07-25Update homescreen event handlingScott Murray1-59/+50
Updated homescreen event handling logic to use the newer Event_ShowWindow event instead of Event_TapShortcut, and match what the other demo applications do. This fixes bringing the application back to the foreground after switching away, which was not working. As well, reindented main.cpp to improve readability. Bug-AGL: SPEC-2675 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib183920325eb41aefd7aca1f323a8b99b9092b13
2019-07-24Initial import from githubScott Murray48-0/+70503
Import from http://github.com/YoshitoMomiyama/aglqtnavigation.git as of commit a6930c2, with the following minor changes: - .gitignore tweaked to remove itself - .gitreview updated Bug-AGL: SPEC-2667 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I91fed0f6349bf1952e41132058929b70a2b0fe5b