platform/core/appfw/rpc-port.git
4 years agoRelease version 1.2.15 33/216833/1 accepted/tizen_4.0_unified accepted/tizen/4.0/unified/20191107.050954 submit/tizen_4.0/20191104.013037
Hwankyu Jhun [Mon, 4 Nov 2019 01:25:48 +0000 (10:25 +0900)]
Release version 1.2.15

Changes:
 - Add timer for connection

Change-Id: Ib20fdc77b4b9cf1e912fe6f28eb0fd9121afd1f2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoAdd timer for connection
Junghoon Park [Mon, 28 Oct 2019 10:46:16 +0000 (19:46 +0900)]
Add timer for connection

- Dbus name for stub app should be appeared within 10s

Change-Id: I11bd7b54afc9df013171c4083d8f2e1555ea7606
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
4 years agoRelease version 1.2.14 09/213109/1 accepted/tizen/4.0/unified/20190904.005731 submit/tizen_4.0/20190830.084707
Hwankyu Jhun [Fri, 30 Aug 2019 08:43:52 +0000 (17:43 +0900)]
Release version 1.2.14

Changes:
 - Fix log message
 - Prevent invalid memory accress
 - Add exception handler for parcel data

Change-Id: Ice4e050decbc9b6a2a816df61be4ccaf66074914
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoAdd exception handler for parcel data
Junghoon Park [Fri, 30 Aug 2019 08:17:38 +0000 (17:17 +0900)]
Add exception handler for parcel data

Change-Id: I856cb4f34af9682c6ecb7e59a1c70ba3bb29d076
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
4 years agoPrevent invalid memory accress
Junghoon Park [Tue, 27 Aug 2019 23:56:12 +0000 (08:56 +0900)]
Prevent invalid memory accress

- This patch prevents bad memory access
- If you try to read data larger than parcel size, the data read will be
  empty

Change-Id: I7792cb9d36b247bea61c3dfc19e55b44aac7af69
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
4 years agoFix log message
Hwankyu Jhun [Sat, 10 Aug 2019 16:14:34 +0000 (01:14 +0900)]
Fix log message

Change-Id: Ie34bdd3e39ddb990694478bcec1906085e9513c9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 1.2.13 88/210288/1 accepted/tizen/4.0/unified/20190718.094639 submit/tizen_4.0/20190718.001306
Hwankyu Jhun [Wed, 17 Jul 2019 22:22:07 +0000 (07:22 +0900)]
Release version 1.2.13

Changes:
 - Cancel sending dbus message

Change-Id: I485d4a19449e35e884c658d924b4a8940aa25639
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoCancel sending dbus message
Hwankyu Jhun [Wed, 17 Jul 2019 04:36:04 +0000 (13:36 +0900)]
Cancel sending dbus message

To prevent calling the callback function after the proxy object is destoyed,
the GCancellable object is used. If Send() method is called twice, the
previous request will be cancelled.

Change-Id: Ibe3d692306864749ee37a0e78cbf7c82de651346
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 1.2.12 58/209658/1 accepted/tizen/4.0/unified/20190710.090036 submit/tizen_4.0/20190709.233122
Hwankyu Jhun [Tue, 9 Jul 2019 23:18:44 +0000 (08:18 +0900)]
Release version 1.2.12

Changes:
 - Check IEventWatcher ptr before calling the method

Change-Id: Ia7f4919be291089736aefc1b0485bf907a8c9369
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoCheck IEventWatcher ptr before calling the method
Hwankyu Jhun [Tue, 9 Jul 2019 22:58:28 +0000 (07:58 +0900)]
Check IEventWatcher ptr before calling the method

This patch add exceptions to check whether the watcher variable is
nullptr or not.

Change-Id: I846cc3181be4907fc4b6a8178625fe4da34ea45c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 1.2.11 42/208142/1 accepted/tizen/4.0/unified/20190620.074002 submit/tizen_4.0/20190619.043720
Hwankyu Jhun [Wed, 19 Jun 2019 01:13:56 +0000 (10:13 +0900)]
Release version 1.2.11

Changes:
 - Fix a bug about access control

Change-Id: Ic102aec10c77bfbdbb4b53536f0ef3435b260f69
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix a bug about access control
Hwankyu Jhun [Tue, 18 Jun 2019 23:43:38 +0000 (08:43 +0900)]
Fix a bug about access control

The ports should be set after a proxy is connected to a stub.

Change-Id: I54ffc48bb28e1dc2f85c95464120dec98b6271e9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 1.2.10 65/208065/1 accepted/tizen/4.0/unified/20190620.073940 submit/tizen_4.0/20190618.100016
Hwankyu Jhun [Mon, 17 Jun 2019 22:25:10 +0000 (07:25 +0900)]
Release version 1.2.10

Changes:
 - Fix Send Method of FDBroker class

Change-Id: I2059fb6132f125f25debf1610719d6d8ce7558e5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix Send Method of FDBroker class 64/208064/1
Hwankyu Jhun [Tue, 11 Jun 2019 22:59:23 +0000 (07:59 +0900)]
Fix Send Method of FDBroker class

- Uses g_dbus_connection_send_message_with_reply() instead of
g_dbus_connection_send_message_with_reply_sync()

Change-Id: I1cdc81b0a7875e035ab2090f9bb400e5e3bd198f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 1.2.9 79/206779/1 accepted/tizen/4.0/unified/20190603.022631 submit/tizen_4.0/20190527.001048
Hwankyu Jhun [Mon, 27 May 2019 00:05:31 +0000 (09:05 +0900)]
Release version 1.2.9

Changes:
 - Fix OnSocketDisconnected event handling

Change-Id: Ie962f8a4d4735a4c30ed335f39467303aa4d48f1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix OnSocketDisconnected event handling
Hwankyu Jhun [Sun, 26 May 2019 22:20:45 +0000 (07:20 +0900)]
Fix OnSocketDisconnected event handling

To call the OnDisconnectedEvent callback function, checking the type of
the socket is removed.

Change-Id: I2c08a08068960cc5217128ed738c8ccec6785b8c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 1.2.8 85/201585/1 accepted/tizen/4.0/unified/20190320.133154 submit/tizen_4.0/20190318.041320
Hwankyu Jhun [Mon, 18 Mar 2019 04:08:59 +0000 (13:08 +0900)]
Release version 1.2.8

Changes:
 - Fix wrong parameter
 - Fix fd leak

Change-Id: Id3c135a661382fab32fcfb8341c3d8927bde66f4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix fd leak
Hwankyu Jhun [Fri, 15 Mar 2019 11:02:24 +0000 (20:02 +0900)]
Fix fd leak

Change-Id: I0a405972403b36cfb90e66ff73b2f36746c9a672
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix wrong parameter
Hwankyu Jhun [Fri, 2 Nov 2018 04:59:35 +0000 (13:59 +0900)]
Fix wrong parameter

Change-Id: I52f78ae7c99380bcc7e6ec218b9017c0303f591f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 1.2.7 70/193770/1 accepted/tizen/4.0/unified/20181127.131932 submit/tizen_4.0/20181126.080429 submit/tizen_4.0/20181126.225905
Hwankyu Jhun [Mon, 26 Nov 2018 08:00:03 +0000 (17:00 +0900)]
Release version 1.2.7

Changes:
 - Handle EPIPE error

Change-Id: I2cab465d06f49154c9964e74fa7c12617e6d84b9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoHandle EPIPE error
Hwankyu Jhun [Mon, 26 Nov 2018 06:33:06 +0000 (15:33 +0900)]
Handle EPIPE error

The Write() Method uses send() with MSG_NOSIGNAL instead of write().

Change-Id: I20251df65375dacdc42f9a4da1d531dd3e635728
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 1.2.6 47/192247/1 accepted/tizen/4.0/unified/20181105.115905 submit/tizen_4.0/20181102.085931 submit/tizen_4.0/20181105.044716
Hwankyu Jhun [Thu, 1 Nov 2018 10:37:46 +0000 (19:37 +0900)]
Release version 1.2.6

Changes:
 - Change parameter types to use move semantic
 - Fixed wrong timeout interval

Change-Id: I7108601778428e099d1e45fffcda82cc7b8d8fbc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFixed wrong timeout interval
Hwankyu Jhun [Thu, 1 Nov 2018 08:27:10 +0000 (17:27 +0900)]
Fixed wrong timeout interval

Change-Id: I8413cb5f8288e7743edd2643b7899cde05b9b26a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoChange parameter types to use move semantic
Junghoon Park [Wed, 17 Oct 2018 06:38:43 +0000 (15:38 +0900)]
Change parameter types to use move semantic

Change-Id: Ie3788d5e616353640b47c150941139198453897f
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoRelease version 1.2.5 47/191147/1 accepted/tizen/4.0/unified/20181012.052259 submit/tizen_4.0/20181012.012926
Hwankyu Jhun [Fri, 12 Oct 2018 01:19:40 +0000 (10:19 +0900)]
Release version 1.2.5

Changes:
 - Fixed port registration

Change-Id: I94dfba5c1446bf9cb67bc18cd8e6d9c2df8cbeff
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFixed port registration
Hwankyu Jhun [Thu, 11 Oct 2018 23:55:20 +0000 (08:55 +0900)]
Fixed port registration

Getting owner ID is called after registering interface.
When stub is getting owner ID, name appeared callback function of proxy
is invoked.

Change-Id: Ic53aef2b873b774ee510f3322d2af63ab5b706f6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 1.2.4 28/186628/1 submit/tizen_4.0/20180813.044453
Hwankyu Jhun [Mon, 13 Aug 2018 03:12:58 +0000 (12:12 +0900)]
Release version 1.2.4

Changes:
 - Remove unreachable code

Change-Id: I734247d6af27fd236615f75675af296816fadee5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRemove unreachable code
Hwankyu Jhun [Mon, 13 Aug 2018 01:46:50 +0000 (10:46 +0900)]
Remove unreachable code

Change-Id: I094b5d37556b3157f40b9416c9de1c93c8ce01da
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 1.2.3 14/185914/1 accepted/tizen/4.0/unified/20180806.111757 submit/tizen_4.0/20180806.002847
Hwankyu Jhun [Fri, 3 Aug 2018 10:06:19 +0000 (19:06 +0900)]
Release version 1.2.3

Changes:
 - Adjust timeout interval

Change-Id: I9921219a629c37d03c5d689e23b93b70917edc80
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoAdjust timeout interval
Hwankyu Jhun [Wed, 1 Aug 2018 23:59:12 +0000 (08:59 +0900)]
Adjust timeout interval

The maximum interval is changed to 10 seconds. If the waiting time is
more than 10 seconds, the function returns a negative error value.

Change-Id: I97c84b6c716c7e7a21910a3619bc879cc9fd1c05
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 1.2.2 98/184598/1 accepted/tizen/4.0/unified/20180719.160954 submit/tizen_4.0/20180719.062909
Junghoon Park [Thu, 19 Jul 2018 06:18:51 +0000 (15:18 +0900)]
Release version 1.2.2

Changes:
 - Add description for mobile profile

Change-Id: Ica72af0a6cd4bf0abcb1f557e34ddf35d00dbc48
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoAdd description for mobile profile 07/184407/1
Junghoon Park [Wed, 18 Jul 2018 00:44:47 +0000 (09:44 +0900)]
Add description for mobile profile

Change-Id: Ic07dffcb529b5058f81426f1fb9e884646072a4c
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoMerge branch 'tizen' into tizen_4.0 accepted/tizen/4.0/unified/20180702.105526 submit/tizen_4.0/20180629.005813
Junghoon Park [Fri, 29 Jun 2018 00:56:03 +0000 (09:56 +0900)]
Merge branch 'tizen' into tizen_4.0

5 years agoRelease version 1.2.1 31/182931/1 accepted/tizen/unified/20180629.154137 submit/tizen/20180629.005548
Junghoon Park [Fri, 29 Jun 2018 00:51:58 +0000 (09:51 +0900)]
Release version 1.2.1

Changes:
 - Sleep and retry to write
 - Modify exception handling

Change-Id: I3b5d1799233f946724bea0e20f52358075c3b86c
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoModify exception handling 28/182928/4
Hwankyu Jhun [Thu, 28 Jun 2018 23:13:24 +0000 (08:13 +0900)]
Modify exception handling

If Send() method returns EILLEGALACCESS, OnRejected() function
is invoked.

Change-Id: I83c95f248784b9de1514dab5787fd70221c26dab
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoSleep and retry to write 86/182786/3
Junghoon Park [Thu, 28 Jun 2018 05:20:43 +0000 (14:20 +0900)]
Sleep and retry to write

- If EAGAIN or EWOULDBLOCK happen, sleep some time and retry to write

Change-Id: I40e57426d6d961b0b583cfd06388b8f6afcf1295
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoMerge branch 'tizen' into tizen_4.0 accepted/tizen/4.0/unified/20180621.141449 submit/tizen_4.0/20180621.054459
Junghoon Park [Thu, 21 Jun 2018 05:40:24 +0000 (14:40 +0900)]
Merge branch 'tizen' into tizen_4.0

Change-Id: Ie9002ee1a85138f421515e1ae8a8817d27dda555
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoRelease version 1.2.0 71/182171/1 accepted/tizen/unified/20180621.141546 submit/tizen/20180621.053509 submit/tizen/20180626.075155
Junghoon Park [Thu, 21 Jun 2018 05:25:28 +0000 (14:25 +0900)]
Release version 1.2.0

Changes
 - Use delegate port to improve concurrency
 - Fix bugs about port

Change-Id: I93013985f7896676faf7860d7a639ee25ee32bf2
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoUse delegate port to improve concurrency 16/182016/5
Junghoon Park [Wed, 20 Jun 2018 01:03:34 +0000 (10:03 +0900)]
Use delegate port to improve concurrency

Change-Id: Id3b2bb7e452e6ebc32bfefe99a0a65a0c4f992e0
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoFix bugs about port 01/182101/1
Junghoon Park [Wed, 20 Jun 2018 08:50:29 +0000 (17:50 +0900)]
Fix bugs about port

Change-Id: I27dcf6553b5496255e2e87b379ba7f61b3b029c6
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoRelease version 1.1.0 accepted/tizen/4.0/unified/20180619.142429 submit/tizen_4.0/20180619.025059
Inkyun Kil [Mon, 18 Jun 2018 07:05:56 +0000 (16:05 +0900)]
Release version 1.1.0

- Add new APIs to fix performance issue and multi-thread issue
- Modify doxygen

Change-Id: If7a510023ef11ea9c6fdbb331f9a3506144d9cc8
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoRelease version 1.1.0 69/181769/1
Inkyun Kil [Mon, 18 Jun 2018 07:05:56 +0000 (16:05 +0900)]
Release version 1.1.0

- Add new APIs to fix performance issue and multi-thread issue
- Modify doxygen

Change-Id: If7a510023ef11ea9c6fdbb331f9a3506144d9cc8
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoModify doxygen comments 70/180870/8
Inkyun Kil [Mon, 4 Jun 2018 00:13:46 +0000 (09:13 +0900)]
Modify doxygen comments

- Add new APIs to fix performance issue and multi-thread issue

Change-Id: I56deab83f106f10746bc9fbb33883fef271a9fcf
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoModify doxygen comments 52/180752/16
Inkyun Kil [Mon, 4 Jun 2018 00:13:46 +0000 (09:13 +0900)]
Modify doxygen comments

- Add new APIs to fix performance issue and multi-thread issue

Change-Id: I56deab83f106f10746bc9fbb33883fef271a9fcf
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoRelease version 1.0.12 accepted/tizen/4.0/unified/20180617.045953 submit/tizen_4.0/20180615.075904
Hwankyu Jhun [Fri, 15 Jun 2018 07:57:00 +0000 (16:57 +0900)]
Release version 1.0.12

Changes:
 - Fix disconnected event handling

Change-Id: I362d7d327b9d768a7ab6978fa66dc2ab1cd22ae7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix disconnected event handling
Hwankyu Jhun [Fri, 15 Jun 2018 06:35:56 +0000 (15:35 +0900)]
Fix disconnected event handling

- Sets IEventListener to nullptr before calling event callback function.

Change-Id: Ibe6c7c1fb9f676167770a2f2cf6d3dae81f58c98
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 1.0.12 39/181639/1 accepted/tizen/unified/20180615.160506 submit/tizen/20180615.075801
Hwankyu Jhun [Fri, 15 Jun 2018 07:57:00 +0000 (16:57 +0900)]
Release version 1.0.12

Changes:
 - Fix disconnected event handling

Change-Id: I362d7d327b9d768a7ab6978fa66dc2ab1cd22ae7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix disconnected event handling 18/181618/1
Hwankyu Jhun [Fri, 15 Jun 2018 06:35:56 +0000 (15:35 +0900)]
Fix disconnected event handling

- Sets IEventListener to nullptr before calling event callback function.

Change-Id: Ibe6c7c1fb9f676167770a2f2cf6d3dae81f58c98
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoMerge branch 'tizen' into tizen_4.0 accepted/tizen/4.0/unified/20180613.234954 submit/tizen_4.0/20180611.062945
Junghoon Park [Mon, 11 Jun 2018 06:28:07 +0000 (15:28 +0900)]
Merge branch 'tizen' into tizen_4.0

5 years agoRelease version 1.0.11 14/181214/1 submit/tizen/20180611.062524 submit/tizen/20180612.041753
Junghoon Park [Mon, 11 Jun 2018 05:31:10 +0000 (14:31 +0900)]
Release version 1.0.11

Changes:
- Fix overflowing for calling nanosleep()

Change-Id: I1cd6eefc8dbba570bfcd0dfff164f337bca28ddc
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoFix overflowing for calling nanosleep() 88/181188/1
Junghoon Park [Mon, 11 Jun 2018 02:36:26 +0000 (11:36 +0900)]
Fix overflowing for calling nanosleep()

Change-Id: Id12e1e8512410046f9d3fb905ca6b4c363f0622b
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoMerge branch 'tizen' into tizen_4.0 submit/tizen_4.0/20180607.022826
Junghoon Park [Thu, 7 Jun 2018 02:24:55 +0000 (11:24 +0900)]
Merge branch 'tizen' into tizen_4.0

5 years agoRelease version 1.0.10 66/180966/1 accepted/tizen/unified/20180611.015348 submit/tizen/20180607.021807
Junghoon Park [Thu, 7 Jun 2018 02:10:00 +0000 (11:10 +0900)]
Release version 1.0.10

Changes:
 - Adjust timeout value for receiving message
 - Change the timeout

Change-Id: Ia48ca34c52b93a96adfe1d96c43770dc4f667fbe
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoAdjust timeout value for receiving message 65/180965/1
Junghoon Park [Thu, 7 Jun 2018 02:08:06 +0000 (11:08 +0900)]
Adjust timeout value for receiving message

Change-Id: I74d6415e33e2da4710298f9981596798b764103d
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoChange the timeout
Hwankyu Jhun [Thu, 31 May 2018 10:15:00 +0000 (19:15 +0900)]
Change the timeout

The timeout value of calling g_dbus_connection_send_message_with_reply_sync()
is changed to 5000ms.

Change-Id: I495c2ad2c5ae30d3fa047b290191432dae437c9d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoChange the timeout 32/180632/1
Hwankyu Jhun [Thu, 31 May 2018 10:15:00 +0000 (19:15 +0900)]
Change the timeout

The timeout value of calling g_dbus_connection_send_message_with_reply_sync()
is changed to 5000ms.

Change-Id: I495c2ad2c5ae30d3fa047b290191432dae437c9d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 1.0.9 01/178101/1 accepted/tizen/4.0/unified/20180509.072831 accepted/tizen/unified/20180509.072926 submit/tizen/20180508.071542 submit/tizen_4.0/20180508.071805
Hwankyu Jhun [Tue, 8 May 2018 06:06:11 +0000 (15:06 +0900)]
Release version 1.0.9

Changes:
 - Fix static analysis issue

Change-Id: I0c92b9a012b0dc12dcbc477bf098a42798860cf9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix static analysis issue 36/178036/1
Hwankyu Jhun [Tue, 8 May 2018 00:19:26 +0000 (09:19 +0900)]
Fix static analysis issue

- Uses memset() to initialize a buffer

Change-Id: I4a51276c65d8d4075ede631dd4c19c4c16692901
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 1.0.8 88/177888/1 accepted/tizen/4.0/unified/20180508.071432 accepted/tizen/unified/20180508.071559 submit/tizen/20180504.071206 submit/tizen/20180507.230327 submit/tizen_4.0/20180504.071538
Hwankyu Jhun [Fri, 4 May 2018 07:09:14 +0000 (16:09 +0900)]
Release version 1.0.8

Changes:
 - Fix Fdbroker Watch method

Change-Id: Ibb63df719888afed42aa8ece7792af420b80d9f6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix Fdbroker Watch method 45/177845/1
Hwankyu Jhun [Fri, 4 May 2018 04:43:33 +0000 (13:43 +0900)]
Fix Fdbroker Watch method

While calling rejected callback, the developer retriesto connect
to stub. This patch removes unnecessary exception handlings about
watching gdbus name of stub.

Change-Id: If8f8d8a6fcf9e604ec219e2cb5212a4886949fc7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 1.0.7 94/177594/1 accepted/tizen/4.0/unified/20180504.063405 accepted/tizen/unified/20180503.080700 submit/tizen/20180502.064652 submit/tizen_4.0/20180504.005758
Junghoon Park [Wed, 2 May 2018 05:37:09 +0000 (14:37 +0900)]
Release version 1.0.7

Changes:
- Fix exception safety issue
- Comply with google coding rule

Change-Id: I9dfb6969acd6eeebad426bbc0990663fd17ed2de
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix exception safety issue 38/177438/2
Junghoon Park [Mon, 30 Apr 2018 02:27:24 +0000 (11:27 +0900)]
Fix exception safety issue

Change-Id: I1bde5ae4e604dc38165ce98105759154be00a2ac
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoComply with google coding rule 22/176522/1
Junghoon Park [Fri, 20 Apr 2018 01:07:24 +0000 (10:07 +0900)]
Comply with google coding rule

- Except for some header files regarding c API

Change-Id: I6acc664c093de3d257dad34c78a30f1dccc977ef
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 1.0.6 49/176149/1 accepted/tizen/4.0/unified/20180424.085246 accepted/tizen/unified/20180420.152037 submit/tizen/20180417.070946 submit/tizen/20180419.055520 submit/tizen_4.0/20180423.071546
Junghoon Park [Tue, 17 Apr 2018 06:50:24 +0000 (15:50 +0900)]
Release version 1.0.6

Changes:
- Check stub appid by using gdbus connection

Change-Id: I68a6bca6fa1150d030ef70c4a19a60ceab04cc28
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoCheck stub appid by using gdbus connection 35/176135/3
Junghoon Park [Tue, 17 Apr 2018 04:33:14 +0000 (13:33 +0900)]
Check stub appid by using gdbus connection

- To detect fake stub, checking appid is needed at the proxy side

Change-Id: I3aa4ed676b1ead08948f7159111694374797948c
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 1.0.5 81/175381/1 accepted/tizen/4.0/unified/20180423.062858 accepted/tizen/unified/20180413.151927 submit/tizen/20180410.050648 submit/tizen_4.0/20180415.222009 submit/tizen_4.0/20180418.044258 submit/tizen_4.0/20180419.044051 submit/tizen_4.0/20180419.220857
Inkyun Kil [Tue, 10 Apr 2018 04:26:47 +0000 (13:26 +0900)]
Release version 1.0.5

Changes:
- Fix error codes
- Remove capi-rpc-port pkgconfig and so files

Change-Id: I1d00c03c2fead74a1a448c7ba6f8d45145a143cc
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoFix error codes 80/175180/1
Inkyun Kil [Mon, 9 Apr 2018 07:37:11 +0000 (16:37 +0900)]
Fix error codes

Change-Id: I3f961813c36880e95cbfcf4349290a59e99c52de
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRemove capi-rpc-port pkgconfig and so files 61/173061/6
Inkyun Kil [Mon, 19 Mar 2018 09:49:58 +0000 (18:49 +0900)]
Remove capi-rpc-port pkgconfig and so files

Change-Id: Icd5ae094abad4b42ba518c654be2a32fa765fee2
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRelease version 1.0.4 35/174735/1 accepted/tizen/unified/20180405.064955 submit/tizen/20180404.015018
Junghoon Park [Wed, 4 Apr 2018 01:32:34 +0000 (10:32 +0900)]
Release version 1.0.4

 Changes:
- Fix the static analyzer issue

Change-Id: I085271503cc180be7e13bef94244edf848cee853
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix the static analyzer issue 23/174723/4
Junghoon Park [Wed, 4 Apr 2018 00:38:44 +0000 (09:38 +0900)]
Fix the static analyzer issue

- Fix the issue about FD double-free

Change-Id: Ie2d968a9ca9eaf2e620b8a1fb46c2d5d3c6cfb89
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 1.0.3 34/174634/1 submit/tizen/20180403.094836
Junghoon Park [Tue, 3 Apr 2018 08:43:55 +0000 (17:43 +0900)]
Release version 1.0.3

 Changes:
- Fix static analyzer issues
- Fix doc and return code
- Fix retry sleep time
- Fix error codes

Change-Id: Ibe3903d9cdc0bd55a30064d83a68e9ffd38d5d01
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix static analyzer issues 95/174595/3
Junghoon Park [Tue, 3 Apr 2018 06:32:24 +0000 (15:32 +0900)]
Fix static analyzer issues

Change-Id: Ibbe6afa15c5c48ec374f01305f5ebe4b3664c7b3
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix doc and return code 81/173981/1
Inkyun Kil [Tue, 27 Mar 2018 09:16:43 +0000 (18:16 +0900)]
Fix doc and return code

- Add docs to explain return value in details
- Fix wrong return code

Change-Id: I070992dd8a868b1ccc2dd83ee7dd8048dc083b3a
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoFix retry sleep time 69/173269/3
Inkyun Kil [Tue, 20 Mar 2018 06:40:27 +0000 (15:40 +0900)]
Fix retry sleep time

Change-Id: I40a4dc15e6f2a7250d981244673b5951bf43280e
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoFix error codes 29/173229/2
Inkyun Kil [Tue, 20 Mar 2018 05:59:00 +0000 (14:59 +0900)]
Fix error codes

Change-Id: I931d7969bc4fc197b2f573069653e0bc68923b04
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRelease version 1.0.2 22/173222/1 accepted/tizen/unified/20180321.134826 submit/tizen/20180320.052211
Inkyun Kil [Tue, 20 Mar 2018 05:15:29 +0000 (14:15 +0900)]
Release version 1.0.2

Changes:
 - Fix wrong doc

Change-Id: I59affa30985aac9725770e2c9a408444a412f81e
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoFix wrong doc 83/172783/2
Inkyun Kil [Fri, 16 Mar 2018 01:59:42 +0000 (10:59 +0900)]
Fix wrong doc

Change-Id: I064e07db97905183d114c044295652274e160283
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRelease version 1.0.1 13/172613/1 submit/tizen/20180315.011951
Junghoon Park [Thu, 15 Mar 2018 00:32:45 +0000 (09:32 +0900)]
Release version 1.0.1

changes
 - Add doxygen for header file

Change-Id: I54172c9facf15f2bfb0d1b2865b3a24e66d01975
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd doxygen for header file 23/171723/9
Inkyun Kil [Wed, 7 Mar 2018 02:03:54 +0000 (11:03 +0900)]
Add doxygen for header file

Change-Id: Ie0b683f3e96ba92b986483f5cc57d72a51857ce0
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRelease version 1.0.0 12/172212/1 accepted/tizen/unified/20180314.141346 submit/tizen/20180312.235445
Inkyun Kil [Mon, 12 Mar 2018 23:52:42 +0000 (08:52 +0900)]
Release version 1.0.0

Change-Id: Ibbdea0d55c981fb7c69b6bd5fc8919afa153f272
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoAdd new AccessControl and Remove sender_appid from dbus 50/170650/8 submit/tizen/20180312.233038
Inkyun Kil [Wed, 21 Feb 2018 07:11:44 +0000 (16:11 +0900)]
Add new AccessControl and Remove sender_appid from dbus

- Add new AccessControl for trusted app
- Remove sender_appid that was passed through dbus

Change-Id: I648bdbfa8bc97a8c363ffa994ebe5d71a10c6288
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoFix stub callback types 18/170718/2
Hwankyu Jhun [Wed, 21 Feb 2018 23:43:15 +0000 (08:43 +0900)]
Fix stub callback types

To handle each request, a unique ID is needed.

Change-Id: I9d9a9928795f15f8560569cffa93c434470f8fba
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoMake some APIs thread-safe 38/168738/1
Junghoon Park [Tue, 30 Jan 2018 11:00:42 +0000 (20:00 +0900)]
Make some APIs thread-safe

Change-Id: I477f16479fcccb18929e687796a83781b84495eb
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd a dependency 97/168697/1
Hwankyu Jhun [Tue, 30 Jan 2018 07:20:38 +0000 (16:20 +0900)]
Add a dependency

Requires:
 - amd-mod-rpc-port

Change-Id: If8080d2d2d9bea4f878b5092117668f9de738064
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoWatch rpc port and handle stub app lifecycle 75/167275/11
Hwankyu Jhun [Tue, 16 Jan 2018 14:13:29 +0000 (23:13 +0900)]
Watch rpc port and handle stub app lifecycle

Before sending a connection request, a proxy watches a dbus interface
for registering it.
When a stub is getting disconnected event, the stub notifies it to
the amd for background management feature.

Change-Id: I50544ec188bf5f8e2907f35dd926aa944373ee1d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoModify rpc-port APIs to be thread-safe 96/168296/5
Junghoon Park [Thu, 25 Jan 2018 11:18:00 +0000 (20:18 +0900)]
Modify rpc-port APIs to be thread-safe

Change-Id: I3f27851e09491b3b2c7638c3b9dcf6419f57684f
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoDetect EOF to call disconnected callback 55/167855/2
Junghoon Park [Mon, 22 Jan 2018 10:55:41 +0000 (19:55 +0900)]
Detect EOF to call disconnected callback

To detect disconnected socket by the other side, recv function with flag
MSG_PEEK was used

Change-Id: I02705a61120d55b11023711c84b4c56de080af93
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd API to support async-call from stub 38/166638/2
Junghoon Park [Thu, 11 Jan 2018 08:26:13 +0000 (17:26 +0900)]
Add API to support async-call from stub

Change-Id: I1375d638d687562544644394f6bf52a7b75a1c31
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd AccessController Class 56/166256/5
Inkyun Kil [Tue, 9 Jan 2018 04:21:39 +0000 (13:21 +0900)]
Add AccessController Class

Change-Id: I787024d9195cf59ec4bd613f4815d004d3045e59
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoChange return type to handle exceptions 66/163566/1
Junghoon Park [Tue, 12 Dec 2017 05:47:24 +0000 (14:47 +0900)]
Change return type to handle exceptions

Change-Id: Ibb2324bcc52f7215000c731cf7f17d00615e064e
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoConvert d-bus interface name to hexa string 80/163380/3
Junghoon Park [Mon, 11 Dec 2017 02:39:34 +0000 (11:39 +0900)]
Convert d-bus interface name to hexa string

 - Special letters such as '-' and '+' are not allowed as d-bus interface name

Change-Id: I5c74bdef4321e83ed8e13410fe4b9a19b8c69d1e
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoImplement rpc-port APIs 57/162557/11
Junghoon Park [Mon, 4 Dec 2017 07:59:41 +0000 (16:59 +0900)]
Implement rpc-port APIs

Change-Id: I20443cce9b0396bd9fdcd46f99f24f1bf394a679
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoImplement internal APIs for rpc-port 20/162120/14
Junghoon Park [Wed, 29 Nov 2017 07:20:34 +0000 (16:20 +0900)]
Implement internal APIs for rpc-port

Change-Id: I1cd72acc909afb06ecb908622161b1252e6933f9
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoChange return-type of method ReadString to improve performance 62/162062/1
Junghoon Park [Wed, 29 Nov 2017 02:03:35 +0000 (11:03 +0900)]
Change return-type of method ReadString to improve performance

Change-Id: I34557a85d7458b47873e725fe533b36043239dc6
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd unit tests 26/161926/7
Junghoon Park [Tue, 28 Nov 2017 07:50:46 +0000 (16:50 +0900)]
Add unit tests

Change-Id: I54bdfca90c792f69471f6644adf50e9961ae6ab9
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoImplement APIs for rpc-port-parcel 90/161890/2
Junghoon Park [Tue, 28 Nov 2017 05:52:23 +0000 (14:52 +0900)]
Implement APIs for rpc-port-parcel

Change-Id: I325777c0f2f14f861abde2a3ab4292bc68081add
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoImplement internal class for ipc-port-parcel APIs 57/161857/2
Junghoon Park [Tue, 28 Nov 2017 02:42:44 +0000 (11:42 +0900)]
Implement internal class for ipc-port-parcel APIs

Change-Id: Iffff2ac8d991106d3a81cc8902a24aa07ba9d6ab
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd interfaces for rpc-port and rpc-port-parcel APIs 03/161803/1
Junghoon Park [Mon, 27 Nov 2017 11:30:27 +0000 (20:30 +0900)]
Add interfaces for rpc-port and rpc-port-parcel APIs

Change-Id: If5066f2cc92b6d472553204222452c4eea6bf047
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoInitial empty repository master
Tizen Infrastructure [Fri, 3 Nov 2017 09:49:19 +0000 (09:49 +0000)]
Initial empty repository