Hwankyu Jhun [Mon, 6 Jul 2020 00:43:48 +0000 (09:43 +0900)]
Fix wrong log format
Change-Id: I743b1d7f986f677e9142ae4b214baf2a3b65d5f8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 6 Jul 2020 00:20:47 +0000 (09:20 +0900)]
Release version 1.5.0
Changes:
- Apply delayed message queue
- Remove FdBrokerManager
Change-Id: I10bf0a4440ce0956f55084a46a2b4062211cbbef
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 3 Jul 2020 04:06:30 +0000 (13:06 +0900)]
Remove FdBrokerManager
When __run_exit_handlers() is called, singleton instances are destroyed.
If the rpc_port_proxy_h is member of singleton instance, FdBrokerManager
is destroyed before rpc_port_proxy_h is destroyed.
After this patch is applied, FdBrokerManager is removed.
+----------------------------------------------------------------------+
| Invalid read of size 4 |
| at 0x5154B56: remove (list.tcc:334) |
| by 0x5154B56: rpc_port::internal::FdBrokerManager::Remove |
| (rpc_port::internal::FdBroker) (fdbroker-internal.cc:943) |
| by 0x51556C5: rpc_port::internal::FdBroker::~FdBroker() |
| (fdbroker-internal.cc:206) |
| by 0x515761D: rpc_port::internal::Proxy::~Proxy() |
| (new_allocator.h:110) |
| by 0x5158F4D: ~ProxyExt (list.tcc:70) |
| by 0x5158F4D: ~ProxyExt (rpc-port.cc:50) |
| by 0x5158F4D: rpc_port_proxy_destroy (rpc-port.cc:226) |
| Address 0x92967f0 is 8 bytes inside a block of size 12 free'd |
| at 0x4847528: operator delete(void) (vg_replace_malloc.c:576) |
| by 0x5153C31: deallocate (new_allocator.h:110) |
| by 0x5153C31: deallocate (alloc_traits.h:442) |
| by 0x5153C31: Mput_node (stl_list.h:387) |
| by 0x5153C31: Mclear (list.tcc:80) |
| by 0x5153C31: rpc_port::internal::FdBrokerManager::~FdBrokerManager|
| () (stl_list.h:442) |
| by 0x4F1C773: run_exit_handlers (exit.c:106) |
| by 0x4F1C89B: exit (exit.c:137) |
| by 0x4F052BF: (below main) (libc-start.c:323) |
| Block was alloc'd at |
| at 0x4846088: operator new(unsigned int) (vg_replace_malloc.c:328) |
| by 0x5154AE1: allocate (new_allocator.h:104) |
| by 0x5154AE1: allocate (alloc_traits.h:416) |
| by 0x5154AE1: Mget_node (stl_list.h:383) |
| by 0x5154AE1: Mcreate_node<rpc_port::internal::FdBroker* const&> |
| (stl_list.h:568) |
| by 0x5154AE1: Minsert<rpc_port::internal::FdBroker* const&> |
| (stl_list.h:1770) |
| by 0x5154AE1: push_back (stl_list.h:1098) |
| by 0x5154AE1: rpc_port::internal::FdBrokerManager::Add |
| (rpc_port::internal::FdBroker) (fdbroker-internal.cc:938) |
| by 0x5155437: rpc_port::internal::FdBroker::FdBroker(bool) |
| (fdbroker-internal.cc:202) |
| by 0x5158443: rpc_port::internal::Proxy::Proxy(bool) |
| (proxy-internal.cc:39) |
| by 0x5158DB3: rpc_port_proxy_create (rpc-port.cc:49) |
+----------------------------------------------------------------------+
Change-Id: I5cf7902e093f66d262691b76707e5c26b69f827f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Jusung Son [Mon, 29 Jun 2020 07:52:26 +0000 (16:52 +0900)]
Apply delayed message queue
Change-Id: I2f450be650e7cbf9ecb12404a79437ae0bfd765e
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Jusung Son [Tue, 30 Jun 2020 05:08:35 +0000 (14:08 +0900)]
Release version 1.4.5
Changes:
- Fix wrong log messages
- Change the socket-related log level to debug
Change-Id: Ie6f731165eff6109490e3d9098e8494bbe46b52d
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Jusung Son [Tue, 30 Jun 2020 05:02:43 +0000 (14:02 +0900)]
Change the socket-related log level to debug
Change-Id: I00716cb82b18a4a94a1cc06c15677f18b30fd326
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Hwankyu Jhun [Mon, 22 Jun 2020 22:31:11 +0000 (07:31 +0900)]
Fix wrong log messages
Change-Id: I56aacaaf7f96cc6a370bfae7595d4c54c7a918a2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 22 Jun 2020 02:25:29 +0000 (11:25 +0900)]
Release version 1.4.4
Changes:
- Fix wrong implementation
- Move connection timer to FdBroker
Change-Id: I8f371395a7438e838dfaee6fd15a7a0153ca7d10
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 22 Jun 2020 00:44:26 +0000 (09:44 +0900)]
Move connection timer to FdBroker
To make the thread safe Proxy class, the connection timer is moved to
the FdBroker class.
Change-Id: I035a5947edac4224b2b096f31520c3aca3ed8862
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 19 Jun 2020 07:31:45 +0000 (16:31 +0900)]
Fix wrong implementation
The FdBroker ptr has to be removed when the FdBroker instance is removed.
The FdBroker.Cancel() method can be invoked from the Proxy instance directly.
The exceptions about the registration handle are added in the callback functions
related to gdbus.
Change-Id: Ieb96e393550e3cfa25d29cc4c97ae207cad1dba8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 19 Jun 2020 06:10:54 +0000 (15:10 +0900)]
Release version 1.4.3
Changes:
- Fix thread safe issue
Change-Id: I0d01bbf6666a3d972895502cd685835749fd2f5d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 19 Jun 2020 02:19:27 +0000 (11:19 +0900)]
Fix thread safe issue
To avoid thread safe issues, FdBrokerManager class is added.
While calling the callback functions, the FdBroker ptr is checked
whether the ptr is valid or not.
Change-Id: Ib7c10ec94d3dc5c2e2ae7389619a0ed0416657df
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 17 Jun 2020 00:56:08 +0000 (09:56 +0900)]
Release version 1.4.2
Changes:
- Add debugging logs
Change-Id: Ie095b09e7624fa3c47e9bb3b770c938493286668
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 15 Jun 2020 22:58:36 +0000 (07:58 +0900)]
Add debugging logs
Change-Id: I8e52a130112ef96cb474635f7bdf27a5f6b2e4f4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 12 Jun 2020 00:58:01 +0000 (09:58 +0900)]
Release version 1.4.1
Changes:
- Fix wrong dbuspolicy conf
Change-Id: Ibf2db31c52c4a8524c2083c7c45a5046cd0adee3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 11 Jun 2020 22:40:48 +0000 (07:40 +0900)]
Fix wrong dbuspolicy conf
Change-Id: Id18ec2988f053afeffcc9d6e30d35d7de5f6087b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 10 Jun 2020 10:02:27 +0000 (19:02 +0900)]
Release version 1.4.0
Changes:
- Add set_private_sharing_array API
- Add rpc-port-util tool
Change-Id: I23e7c521eaba8481abe8cdcb16c273cb3911aa08
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 3 Jun 2020 04:18:16 +0000 (13:18 +0900)]
Add rpc-port-util tool
Usage:
$ rpc-port-util -n <port_name>
e.g. $ rpc-port-util -n Message
Change-Id: I19ffecef1648a3e1ba61891de606a75796b1d5be
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
hyunho [Mon, 1 Jun 2020 07:42:23 +0000 (16:42 +0900)]
Add set_private_sharing_array API
- rpc_port_set_private_sharing_array
Change-Id: I5ca3e6f1708e56b5909de20dffca66ee298e7c69
Signed-off-by: hyunho <hhstark.kang@samsung.com>
Hwankyu Jhun [Mon, 1 Jun 2020 00:30:13 +0000 (09:30 +0900)]
Release version 1.3.39
Changes:
- Add set/unset private sharing
- Add testcase for code coverage
- Exclude some lines for coverage measurement
Change-Id: Ifb849a2b9b03498fb6b8175e557d648d04208ed6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 25 May 2020 10:47:32 +0000 (19:47 +0900)]
Exclude some lines for coverage measurement
Change-Id: Ie9d73a23772ea8a80491d529af57efb538eb7e37
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 25 May 2020 05:44:09 +0000 (14:44 +0900)]
Add testcase for code coverage
Change-Id: I32ea09d152adc2f6619e7fa6c09c9161301d4de2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
hyunho [Fri, 20 Mar 2020 03:12:38 +0000 (12:12 +0900)]
Add set/unset private sharing
rpc_port_set_private_sharing
rpc_port_unset_private_sharing
Change-Id: I52a082cdcc415759fc11e4ce33c5ca438f011f1d
Signed-off-by: hyunho <hhstark.kang@samsung.com>
Hwankyu Jhun [Mon, 11 May 2020 03:43:07 +0000 (12:43 +0900)]
Release version 1.3.38
Changes:
- Fix OnSocketDisconnect Method of Proxy
Change-Id: I2b4ab46bd558fe5500f2c38248b0c5cd7ec64527
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 11 May 2020 01:54:39 +0000 (10:54 +0900)]
Fix OnSocketDisconnect Method of Proxy
When the delegate port is disconnected, the callback function has to be
called.
Change-Id: Ifbb555bf3c3e05e1904e5029180e091fab4f248b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Jusung Son [Tue, 28 Apr 2020 07:22:48 +0000 (16:22 +0900)]
Release version 1.3.37
Changes:
- Remove unnecessary resources
Change-Id: Ibf82dca142ad58ba0365919401d7ea5355a07ae7
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Jusung Son [Tue, 28 Apr 2020 07:10:20 +0000 (16:10 +0900)]
Remove unnecessary resources
Change-Id: I207bfe987cd035ec954e4e4ec74d72c85d133e29
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Jusung Son [Tue, 21 Apr 2020 03:53:36 +0000 (12:53 +0900)]
Release version 1.3.36
Changes:
- Fix dbus timer setting location
Change-Id: Ie29ae114a10eb66914b9a41b55cd735cbc415ab8
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Jusung Son [Tue, 21 Apr 2020 03:34:20 +0000 (12:34 +0900)]
Fix dbus timer setting location
-In a multi-threaded environment, the OnPortAppeared() can be called before setting dbus timer
Change-Id: Iacd9ae66897cc77f38c12d4df9cb87b102f1530a
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Hwankyu Jhun [Fri, 17 Apr 2020 02:55:27 +0000 (11:55 +0900)]
Release version 1.3.35
Changes:
- Convert error value
Change-Id: I3e4e0e0152bcab3a3e7f2495d3f020ce992259ba
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 16 Apr 2020 11:15:38 +0000 (20:15 +0900)]
Convert error value
The return valuf of aul_rpc_port_prepare_stub() is changed to AUL return
values.
Requires:
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/aul-1/+/229712/
Change-Id: I6d02a978617e5ed7412d20ee88145ece97defa56
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Jusung Son [Tue, 31 Mar 2020 00:04:26 +0000 (09:04 +0900)]
Release version 1.3.34
Changes:
- Set error cause of rejected event
Change-Id: Ib2e928686e0e2a7dd306f0b09c53c18f543d23d1
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Jusung Son [Thu, 26 Mar 2020 00:11:24 +0000 (09:11 +0900)]
Set error cause of rejected event
Change-Id: I270ab5aca49e5302f5f74abc6b462150db0dadb0
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Junghoon Park [Thu, 19 Mar 2020 23:48:48 +0000 (08:48 +0900)]
Release version 1.3.33
Changes:
- Cancel dbus requests when the reject-callback is called
Change-Id: Ide79a1e6e5d5de725643aebe6448666de9a8ef75
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghoon Park [Thu, 19 Mar 2020 09:09:19 +0000 (18:09 +0900)]
Cancel dbus requests when the reject-callback is called
Change-Id: Ie5acec1103084a6286c93d3331184ced51d5f789
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Jusung Son [Wed, 18 Mar 2020 23:57:34 +0000 (08:57 +0900)]
Release version 1.3.32
Changes:
- Fix wrong exception handling
Change-Id: Ibdfab7e57f2bddd55762c668547d8044bd7540a9
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Jusung Son [Wed, 18 Mar 2020 23:54:27 +0000 (08:54 +0900)]
Fix wrong exception handling
Change-Id: Idda7c53165267adbe52885a6118f918475093375
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Jusung Son [Wed, 18 Mar 2020 06:05:46 +0000 (15:05 +0900)]
Release version 1.3.31
Changes:
- Add exception handler
Change-Id: Ic17d28dbbb7d30e9ff2ddfe11a6b8db233ce726b
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Jusung Son [Wed, 18 Mar 2020 05:54:12 +0000 (14:54 +0900)]
Add exception handler
Change-Id: I6bce53142b8c5d1886409f6967df4b53883328ac
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Junghoon Park [Wed, 18 Mar 2020 04:56:42 +0000 (13:56 +0900)]
Release version 1.3.30
Changes:
- Add exception handler
Change-Id: I6d290279860df23a79940d460a6e885249a4341f
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghoon Park [Wed, 18 Mar 2020 04:36:07 +0000 (13:36 +0900)]
Add exception handler
Change-Id: I4b7853b32e1a26dee83d31f13b790e705eb3d515
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Hwankyu Jhun [Tue, 21 Jan 2020 22:44:51 +0000 (07:44 +0900)]
Release version 1.3.29
Changes:
- Fix wrong implementation
Change-Id: I466b101be600fff41cbdd1aa25cc03df7b231db6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 21 Jan 2020 03:28:39 +0000 (12:28 +0900)]
Fix wrong implementation
Change-Id: I383d4fc3a7b25674423c3dde509e838c1a4d46a6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
hyunho [Mon, 16 Dec 2019 04:32:35 +0000 (13:32 +0900)]
Release version 1.3.28
Changes:
- Fix reference null bug
Change-Id: I28db1116153fd8b8e62c1820aa329fe07113bae9
Signed-off-by: hyunho <hhstark.kang@samsung.com>
hyunho [Mon, 16 Dec 2019 03:59:10 +0000 (12:59 +0900)]
Fix reference null bug
Change-Id: Ifaaa0edadf582b86321ebf8dee79c27d28c2b82e
Signed-off-by: hyunho <hhstark.kang@samsung.com>
Junghoon Park [Thu, 5 Dec 2019 02:28:10 +0000 (11:28 +0900)]
Release version 1.3.27
Changes:
- Cancel the request when timeout happen
Change-Id: I8adbaa5ae4c861e91c34966021613fdf6c02decb
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghoon Park [Thu, 5 Dec 2019 02:09:45 +0000 (11:09 +0900)]
Cancel the request when timeout happen
Change-Id: Idcb9612efce312537454b007e33fa486fa442271
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghoon Park [Thu, 28 Nov 2019 00:36:49 +0000 (09:36 +0900)]
Release version 1.3.26
Changes:
- Clear listener after being rejected
Change-Id: I793068f3f3b5e4b4f229a8dc7165379d10a1fc7d
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghoon Park [Tue, 26 Nov 2019 06:36:48 +0000 (15:36 +0900)]
Clear listener after being rejected
Change-Id: I781cae8c66809c18649dd0fe63a85d5bf887ef6c
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghoon Park [Mon, 25 Nov 2019 01:29:11 +0000 (10:29 +0900)]
Release version 1.3.25
Changes:
- Call the 'disconnected callback' if the reply sent to the stub is null
Change-Id: I66d505d39db8749ab1e0fa297fc6c51fa6621688
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Inkyun Kil [Fri, 22 Nov 2019 00:46:50 +0000 (09:46 +0900)]
Call the 'disconnected callback' if the reply sent to the stub is null
The proxy should be checked if the port has been disconnected.
So, if the reply sent to the stub is null, should call the 'disconnected
callback' except 'G_IO_ERROR_CANCELLED'
Change-Id: Icdd80baad7cae62b5ba7886ff790435380fd4e65
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghoon Park [Wed, 13 Nov 2019 04:21:39 +0000 (13:21 +0900)]
Release version 1.3.24
Changes:
- Add missing header
Change-Id: Iacb6378ab645e0679e64700eff688737497cd2fd
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghoon Park [Wed, 13 Nov 2019 04:16:27 +0000 (13:16 +0900)]
Add missing header
Change-Id: Ib4a492cf8400f5ba0085f656f4e4822a13ca4029
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghoon Park [Wed, 13 Nov 2019 01:57:56 +0000 (10:57 +0900)]
Release version 1.3.23
Changes:
- Add internal APIs for parcel
Change-Id: I7d5eabbc0cc2082d123cade32924faaeeeedce12
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghoon Park [Tue, 12 Nov 2019 23:44:13 +0000 (08:44 +0900)]
Add internal APIs for parcel
- int rpc_port_parcel_reset_reader(rpc_port_parcel_h h);
- int rpc_port_parcel_to_array(rpc_port_parcel_h h, void **array,
unsigned int *size);
- int rpc_port_parcel_from_array(rpc_port_parcel_h h, const void *array,
unsigned int size);
Change-Id: I62b659cb2c8b79e9f566303352dbb619ffd47300
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Hwankyu Jhun [Mon, 11 Nov 2019 01:49:18 +0000 (10:49 +0900)]
Release version 1.3.22
Changes:
- Implement rpc_port_proxy_connect_sync()
Change-Id: I8dc0ef343f518bb444d16b05ef0a9a5c68e38c9e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 6 Nov 2019 00:57:01 +0000 (09:57 +0900)]
Implement rpc_port_proxy_connect_sync()
Change-Id: I655bc3d13124c8623359578842eed431ba81a661
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghoon Park [Mon, 4 Nov 2019 00:46:55 +0000 (09:46 +0900)]
Release version 1.3.21
Changes:
- Update doxygen
- Add timer for connection
Change-Id: I25da31bc4ec8e86f4dede54202c96c72730128d9
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
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>
mk5004.lee [Tue, 1 Oct 2019 00:20:27 +0000 (09:20 +0900)]
Update doxygen
- change file mode
Change-Id: I65438ba547e89c21b80c22ba39ea5cd527e24852
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
Hwankyu Jhun [Fri, 30 Aug 2019 09:14:41 +0000 (18:14 +0900)]
Release version 1.3.20
Changes:
- Add exception handler for parcel data
Change-Id: Ifc435d91d3a31cd28fcc3da13702ba493e8a7c61
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
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>
Hwankyu Jhun [Wed, 28 Aug 2019 06:23:54 +0000 (15:23 +0900)]
Release version 1.3.19
Changes:
- Prevent invalid memory access
Change-Id: Ib31b4d970f383128c67c5c5a5d47452c3497923e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
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>
Hwankyu Jhun [Sun, 18 Aug 2019 23:39:16 +0000 (08:39 +0900)]
Release version 1.3.18
Changes:
- Fix log message
Change-Id: I7e43be2bbe73496fd2dfc28b7c52686e2e2889a9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
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>
Hwankyu Jhun [Mon, 22 Jul 2019 08:37:58 +0000 (17:37 +0900)]
Release version 1.3.17
Changes:
- Declare Cynara Destructor
Change-Id: I196327ecd88c68ef95edbb70430ebc120bd411f4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 22 Jul 2019 06:46:22 +0000 (15:46 +0900)]
Declare Cynara Destructor
If a class has no user-declared destructor, a destructor is
implicitly declared as defaulted.
An implicitly-declared destructor is an inline public member of its class.
Inline definition is equal to inlining and it cause build warning.
A function defined within a class definition is an inline function.
Problem(Warning):
- /home/abuild/rpmbuild/BUILD/rpc-port-1.3.16/src/ac-internal.h:43:9: warning:
inlining failed in call to
'rpc_port::internal::AccessController::Cynara::~Cynara() noexcept':
call is unlikely and code size would grow [-Winline]
Change-Id: I6dc55fb7648da8e41261b53d6f4d2ed472f1292c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 17 Jul 2019 22:21:17 +0000 (07:21 +0900)]
Release version 1.3.16
Changes:
- Cancel sending dbus message
Change-Id: I5ec86f8eec9c3b54c92e260c5ebfed731ec02513
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
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>
Hwankyu Jhun [Mon, 15 Jul 2019 05:02:37 +0000 (14:02 +0900)]
Release version 1.3.15
Changes:
- Adjust check section position
Change-Id: I346af2b7814834b4fdb70420a19fcbdf6255f297
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Sun, 14 Jul 2019 23:49:13 +0000 (08:49 +0900)]
Adjust check section position
Some profile doesn't support %check section. It causes the build error
issue. To solve the issue, this patch adjusts %check section position.
Change-Id: I7f3e0f66691cb8e062d7d1a2ebd12cbbba5bca6b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 9 Jul 2019 23:17:00 +0000 (08:17 +0900)]
Release version 1.3.14
Changes:
- Check IEventWatcher ptr before calling the method
Change-Id: Idc1bec9abd6ebab3e57d450058b8fe7353379323
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
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>
Hwankyu Jhun [Mon, 1 Jul 2019 23:19:59 +0000 (08:19 +0900)]
Release version 1.3.13
Changes:
- Change const string& to string
- Use RAII idiom
- Fix unit tests
Change-Id: I6d519a50dd8ebca1365481fe916f67e35146f4e7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 1 Jul 2019 02:47:14 +0000 (11:47 +0900)]
Fix unit tests
- Fixes mockup code
- Runs the unit tests automatically
Change-Id: I154dc6513205e0446336a5cb1fb4e8dba913d691
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghoon Park [Mon, 1 Jul 2019 02:25:04 +0000 (11:25 +0900)]
Use RAII idiom
- Change raw pointers to smart pointers
Change-Id: Ia81462b077d447763a73cd9584ad160b0c411170
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghoon Park [Mon, 1 Jul 2019 01:55:03 +0000 (10:55 +0900)]
Change const string& to string
- It is better to moving value type in case of adding elements to internal container
Change-Id: I31faa20c4fc49b8342183efba8c5809365c8d18b
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Hwankyu Jhun [Wed, 19 Jun 2019 01:13:00 +0000 (10:13 +0900)]
Release version 1.3.12
Changes:
- Fix a bug about access control
Change-Id: Ib828c54600cec1b6b87a117b8df998164ec06a24
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
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>
Hwankyu Jhun [Mon, 17 Jun 2019 22:24:20 +0000 (07:24 +0900)]
Release version 1.3.11
Changes:
- Fix Send Method of FDBroker class
Change-Id: Idadd489716db1387bcaed766df333e7460a1abc6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
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>
Hwankyu Jhun [Mon, 27 May 2019 00:04:40 +0000 (09:04 +0900)]
Release version 1.3.10
Changes:
- Fix OnSocketDisconnected event handling
Change-Id: I2a03f5a0c955e349c72bdb0321359f0d22382ff5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
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>
Hwankyu Jhun [Fri, 22 Mar 2019 02:10:57 +0000 (11:10 +0900)]
Release version 1.3.9
Changes:
- Check file descriptor
Change-Id: I81c2e120f36d707626a4737facecb067b3685f1d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 21 Mar 2019 08:05:10 +0000 (17:05 +0900)]
Check file descriptor
Change-Id: Ib85fc88e9ea048db18ab2992f3c528ebdfc6ad3d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 18 Mar 2019 04:05:37 +0000 (13:05 +0900)]
Release version 1.3.8
Changes:
- Fix fd leak
Change-Id: I38021f218b636c3ed911fedd361dff48bd649601
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
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>
Hwankyu Jhun [Wed, 20 Feb 2019 04:34:01 +0000 (13:34 +0900)]
Release version 1.3.7
Changes:
- Make weak dependencies
Change-Id: Id9456467e4fee049dcaff35c228c252fdbbf611f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 20 Feb 2019 00:40:05 +0000 (09:40 +0900)]
Make weak dependencies
- Uses "Recommends" instead of "Requires"
Change-Id: Icd0fae74bd7ca931e606a4b87b930a5e1d24b2cf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 11 Feb 2019 09:38:07 +0000 (18:38 +0900)]
Release version 1.3.6
Changes:
- Fix static analysis issues
Change-Id: I7e18d80851248de0d62e30d35aedc2a368d01eca
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghoon Park [Mon, 11 Feb 2019 09:37:15 +0000 (09:37 +0000)]
Merge "Fix static analysis issues" into tizen
Junghoon Park [Mon, 11 Feb 2019 08:46:34 +0000 (17:46 +0900)]
Fix static analysis issues
Change-Id: If83771089ef803f9f8da21168aac85f26431663e
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Hwankyu Jhun [Mon, 11 Feb 2019 06:20:52 +0000 (15:20 +0900)]
Release version 1.3.5
Changes:
- Adjust log level
Change-Id: I9943d5b4477f3bfa30916960daa0c3d14fb38ebf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 11 Feb 2019 03:36:51 +0000 (12:36 +0900)]
Adjust log level
Change-Id: Ib497cdb84b0ff3186f05090bf2e963229954d4bf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 14 Dec 2018 08:14:24 +0000 (17:14 +0900)]
Release version 1.3.4
Changes:
- Fix Unit Test
- Make a gcov package for coverage measurement
Change-Id: I58bc0f42395b09ac9edb03baa91a66a7c1caff57
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 14 Dec 2018 07:04:18 +0000 (16:04 +0900)]
Make a gcov package for coverage measurement
Change-Id: Ibd38571573dead9c202543ea8ca43bd98849b893
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 10 Dec 2018 08:54:21 +0000 (17:54 +0900)]
Fix Unit Test
The package name is changed to "rpc-port-unittests".
The executable file name is changed to "rpc-port_unittests".
The descriptions are added.
Change-Id: I7bccadd241f938f7ebd75ea0d82a5932fcdfbf5d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 7 Dec 2018 05:14:09 +0000 (14:14 +0900)]
Release version 1.3.3
Changes:
- Fix a wrong log format
Change-Id: Ib7e40d6f313f9f6f1b9402d1759feb6d91464493
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 7 Dec 2018 05:06:07 +0000 (14:06 +0900)]
Fix a wrong log format
Change-Id: I3dbe115d478dea3b4e57efe1fb383ee77e9ace02
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>