apps/agl-service-navigation.git
3 months agoAdd gitlab issue/merge request templates master 17.90.0 ricefish/17.90.0 ricefish_17.90.0
Jan-Simon Moeller [Tue, 13 Feb 2024 21:40:25 +0000 (22:40 +0100)]
Add gitlab issue/merge request templates

Add template files for gitlab

Bug-AGL: SPEC-4474
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I140d03a3cdf8d6b19281c933891b0cb90497041a

3 years agoFix potential memory leak 22/25922/1 10.92.0 10.93.0 11.91.0 11.92.0 12.90.0 12.90.1 12.91.0 12.92.0 12.93.0 13.93.0 koi/10.92.0 koi/10.93.0 koi_10.92.0 koi_10.93.0 lamprey/11.91.0 lamprey/11.92.0 lamprey_11.91.0 lamprey_11.92.0 marlin/12.90.0 marlin/12.90.1 marlin/12.91.0 marlin/12.92.0 marlin/12.93.0 marlin_12.90.0 marlin_12.90.1 marlin_12.91.0 marlin_12.92.0 marlin_12.93.0 needlefish/13.93.0 needlefish_13.93.0
Li Xiaoming [Fri, 15 Jan 2021 11:16:47 +0000 (19:16 +0800)]
Fix potential memory leak

It is better to init jresp as NULL, and allocate new memory when it is
used, this will avoid the memory leak if the function returns during the
process.

Bug-AGL: SPEC-3584

Change-Id: Icb1eae050294f4438ad89739e324c5483b6b3441
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
3 years agoUpdate autobuild scripts 14/24714/1 10.91.0 9.99.1 9.99.2 9.99.3 9.99.4 jellyfish/9.99.1 jellyfish/9.99.2 jellyfish/9.99.3 jellyfish/9.99.4 jellyfish_9.99.1 jellyfish_9.99.2 jellyfish_9.99.3 jellyfish_9.99.4 koi/10.91.0 koi_10.91.0
Scott Murray [Tue, 9 Jun 2020 22:43:08 +0000 (18:43 -0400)]
Update autobuild scripts

Update autobuild scripts with reworked version that fixes building
outside of the source tree.

Bug-AGL: SPEC-2049, SPEC-3300

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ibfa1c6628c7848743b199701700fd4df147278e6

4 years agoUpdate autobuild script to create new targets 78/23978/1
Frederic Marec [Tue, 18 Feb 2020 09:48:44 +0000 (10:48 +0100)]
Update autobuild script to create new targets

Update autobuild script to create multiple widget target debug, coverage and all

Bug-AGL: SPEC-2049

Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
Change-Id: I2860b931dcef297493c962a4e89996622dc2a18f

4 years agoUpdate .gitreview file 15/23815/1
Jan-Simon Möller [Tue, 11 Feb 2020 16:53:14 +0000 (17:53 +0100)]
Update .gitreview file

This updates the gitreview file in the project

.

Change-Id: I49dc282db902ae22ab064d9d7b7fe70e06de9809
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agoIntegrate navigation voice capability use 79/23579/1 8.99.5 icefish/8.99.5 icefish_8.99.5
Scott Murray [Tue, 14 Jan 2020 20:52:49 +0000 (15:52 -0500)]
Integrate navigation voice capability use

Add code to pull in the voice capabilities binding, subscribe to the
existing setDestination and cancelNavigation events, and use the data
that comes from them to set/clear the destination waypoint.

Bug-AGL: SPEC-3107

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Iaeb0283492cc89e8cff1a1558cab7554e32e3142

4 years agobinding: navigation: deep copy json response for cache 83/23283/1 8.99.3 8.99.4 icefish/8.99.3 icefish/8.99.4 icefish_8.99.3 icefish_8.99.4
Matt Ranostay [Fri, 6 Dec 2019 06:58:42 +0000 (22:58 -0800)]
binding: navigation: deep copy json response for cache

To avoid possible side effects from afb framework releasing
a cached json_object just deep copy to target cached object.

Bug-AGL: SPEC-2880
Change-Id: Ie953d4668cd4e9a33a91d727a378cd24e75f112e
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
4 years agobinding: navigation: move get_storage_from_value call within write lock 73/23273/1 8.99.2 icefish/8.99.2 icefish_8.99.2
Matt Ranostay [Fri, 6 Dec 2019 02:21:17 +0000 (18:21 -0800)]
binding: navigation: move get_storage_from_value call within write lock

json_object returned from get_storage_from_value() needs to be protected
within the write lock. This is to prevent reentrant calls to broadcast() from
accessing it, and running json_object_put()

Bug-AGL: SPEC-2880
Change-Id: I9fdf614728368c75e925e4c5a0f3ca19a7e517e1
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
4 years agobinding: navigation: add missing read lock around afb_event_push() 36/23136/1
Matt Ranostay [Tue, 3 Dec 2019 03:43:44 +0000 (19:43 -0800)]
binding: navigation: add missing read lock around afb_event_push()

Add missing read lock around event pushing from value that isn't
required to be cached.

Bug-AGL: SPEC-2880
Change-Id: I7aae2ec9df722fdefcec2d35977251e008375d92
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
4 years agonavigation: add more verbose docs 43/22943/1 8.99.1 icefish/8.99.1 icefish_8.99.1
Matt Ranostay [Wed, 13 Nov 2019 06:48:29 +0000 (22:48 -0800)]
navigation: add more verbose docs

Add more parameter documentation to position event
in README.md

Bug-AGL: SPEC-2880
Change-Id: Iaabc355752a24fd931b86befdb80738faf7c2dca
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
4 years agobinding: navigation: rewrite of navigation binding 15/22715/3
Matt Ranostay [Sat, 19 Oct 2019 20:45:11 +0000 (13:45 -0700)]
binding: navigation: rewrite of navigation binding

To remove dependency on DBus the binding needed to be rewritten to
output pure JSON output to subscribed consumers.

Bug-AGL: SPEC-2880
Change-Id: Ie85dfccd42ca36119116a0fbfb16bf4e96efc184
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
4 years agoadd autobuild tree 50/22450/2
Raquel Medina [Wed, 18 Sep 2019 11:39:18 +0000 (13:39 +0200)]
add autobuild tree

Bug-AGL: SPEC-2815
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: Ia01d5f2cf77757aebe71d0a85a6bc123b8315d63

4 years agoFix JSON response lifecycle issues 86/22286/1
Scott Murray [Fri, 30 Aug 2019 17:37:11 +0000 (13:37 -0400)]
Fix JSON response lifecycle issues

Move json_object_put calls to fix lifecycle issues exposed by the
json-c upgrade with OE thud.  In the newer version, an extra put
now triggers an assertion, so rework the affected logic to only call
put when needed in the failed request cases.

Bug-AGL: SPEC-2707

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ia111e408abf515e3ea7b105c66c1339daa759a87

4 years agoInitial check in 83/22283/1
Scott Murray [Fri, 30 Aug 2019 15:40:23 +0000 (11:40 -0400)]
Initial check in

Initial check in of contents of the original repository:

git://github.com/AGLExport/agl-service-navigation

as of commit 1f1ffc92fcc882aa5e885badbc91a3384f5d77b1.

Bug-AGL: SPEC-2787

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I02d008ee73cdfd88f1e7587ee57101187b9c4d6d

5 years agoInitial .gitreview 7.90.0 7.99.1 7.99.2 7.99.3 8.0.0 8.0.1 halibut/7.90.0 halibut/7.99.1 halibut/7.99.2 halibut/7.99.3 halibut/8.0.0 halibut/8.0.1 halibut_7.90.0 halibut_7.99.1 halibut_7.99.2 halibut_7.99.3 halibut_8.0.0 halibut_8.0.1
Jan-Simon Möller [Wed, 6 Feb 2019 12:08:33 +0000 (13:08 +0100)]
Initial .gitreview

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoInitial empty repository flounder 5.99.1 5.99.2 5.99.3 5.99.4 5.99.5 5.99.6 5.99.7 6.0.0 6.0.1 6.0.2 6.0.3 6.0.4 6.0.5 6.90.0 6.99.1 6.99.2 6.99.3 6.99.4 flounder/5.99.1 flounder/5.99.2 flounder/5.99.3 flounder/5.99.4 flounder/5.99.5 flounder/5.99.6 flounder/5.99.7 flounder/6.0.0 flounder/6.0.1 flounder/6.0.2 flounder/6.0.3 flounder/6.0.4 flounder/6.0.5 flounder_5.99.1 flounder_5.99.2 flounder_5.99.3 flounder_5.99.4 flounder_5.99.5 flounder_5.99.6 flounder_5.99.7 flounder_6.0.0 flounder_6.0.1 flounder_6.0.2 flounder_6.0.3 flounder_6.0.4 flounder_6.0.5 guppy/6.90.0 guppy/6.99.1 guppy/6.99.2 guppy/6.99.3 guppy/6.99.4 guppy_6.90.0 guppy_6.99.1 guppy_6.99.2 guppy_6.99.3 guppy_6.99.4
Jan-Simon Moeller [Thu, 14 Jun 2018 15:45:55 +0000 (15:45 +0000)]
Initial empty repository