Hwankyu Jhun [Tue, 12 Sep 2023 07:03:39 +0000 (16:03 +0900)]
Release version 1.8.7
Changes:
- Set close on exec flag
Change-Id: I7621f5e5d621743a78c378c70d7c1f503ddee756
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 12 Sep 2023 06:58:44 +0000 (15:58 +0900)]
Set close on exec flag
To close the file descriptor when calling the execv(), this patch sets
the O_CLOEXEC flag to the file descriptor.
Change-Id: Ibd4bcdacdd40f0e5f207518428c91fa6796465c9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 2 Mar 2023 07:44:11 +0000 (07:44 +0000)]
Release version 1.8.6
Changes:
- Use source ID instead of GSource
Change-Id: Icca86c77c2c6b4fc1923195d563f37a487b61ff0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 2 Jun 2022 03:15:10 +0000 (12:15 +0900)]
Use source ID instead of GSource
To find the GSource properly from the GMainContext, the port object uses
the source_id instead of the GSource. And, if creating shared_ptr is failed,
the OnEventReceived callback function should return G_SOURCE_REMOVE to
prevent recalling the function.
Change-Id: I26604a7671f73f1d48476434e180ec4d542c05f2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 8 Nov 2022 08:24:06 +0000 (08:24 +0000)]
Release version 1.8.5
Changes:
- Check G_IO_ERROR_CANCELLED error
Change-Id: Ieea2d8764655b906cc0fbeaf22887d67eb1d5f8f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 8 Nov 2022 07:46:41 +0000 (07:46 +0000)]
Check G_IO_ERROR_CANCELLED error
This patch checks whether the error is G_IO_ERROR_CANCELLED or not before
accessing the user data. If the error is G_IO_ERROR_CANCELLED, rpc-port
returns immediately.
Change-Id: I5936d2be3b38c3d15fed9cbcabc0fe1457015f78
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 1 Sep 2022 02:22:13 +0000 (02:22 +0000)]
Release version 1.8.4
Changes:
- Fix duplicated method call
Change-Id: I196dfd26eadead5c72872079e15b3f93f8e5f3b1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 1 Sep 2022 02:15:21 +0000 (02:15 +0000)]
Fix duplicated method call
Currently, the OnConnected() method is called twice. This patch fixes it.
Change-Id: Ie4a5d55ffdff32d9ad46a3c9c35aa1b1122c89a9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 24 Aug 2022 23:27:29 +0000 (23:27 +0000)]
Release version 1.8.3
Changes:
- Fix DebugPort Implementation
Change-Id: I113b876ca49724eb210fcaf4b7329db6ac666550
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 6 Aug 2021 01:43:14 +0000 (10:43 +0900)]
Fix DebugPort Implementation
If the instance is managed as a global variable, the process tries to
access to the destroyed DebugPort instance while calling the exit handlers.
Change-Id: Ia7cfa9d241266921221ecf28ce8b4b22dc4b95d6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 18 Mar 2022 01:42:45 +0000 (10:42 +0900)]
Release version 1.8.2
Changes:
- Fix a bug about timed out error
Change-Id: Iba946ffb6c5c694f45f9f8cf2cfbc6a416871e27
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 18 Mar 2022 00:46:17 +0000 (09:46 +0900)]
Fix a bug about timed out error
When the timed out error occurs, the callback function has to be invoked.
Change-Id: I9a72edf39d49cf840464ee26e1200024a6accdcd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 1 Nov 2021 06:24:00 +0000 (15:24 +0900)]
Release version 1.8.1
Changes:
- Separate locking mutex
Change-Id: I1ec69a7b5b4fb40bbdf66f97dc12d532aaad3c60
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 1 Nov 2021 06:05:26 +0000 (15:05 +0900)]
Separate locking mutex
Currently, the rpc_port_parcel_create_from_port() function and the
rpc_port_parcel_send() function use the mutex of the Port to locking the mutex.
After this patch is applied, a new mutex is added to the Port to avoid problems
that cannot be written.
And, the maximum queue size of the delayed messages is increased to 10MB.
Change-Id: If2fd5c5208ee8f0d44389107b915f485f45ac0c6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Mon, 27 Sep 2021 00:25:10 +0000 (09:25 +0900)]
Release version 1.8.0
Changes:
- Add new internal APIs
Change-Id: Ibb8f57576eca7d396065ef1ff688b6825a9c95e5
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Mon, 27 Sep 2021 00:20:22 +0000 (00:20 +0000)]
Merge "Add new internal APIs" into tizen_6.0
Changgyu Choi [Wed, 15 Sep 2021 10:34:37 +0000 (19:34 +0900)]
Add new internal APIs
Adds:
- rpc_port_disconnect()
- rpc_port_parcel_get_header()
- rpc_port_parcel_header_set_tag()
- rpc_port_parcel_header_get_tag()
- rpc_port_parcel_header_set_seq_num()
- rpc_port_porcel_header_get_seq_num()
- rpc_port_parcel_header_get_timestamp()
Change-Id: I74770678bc63a1edf12e208c95ef14dfaa5bbd59
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Thu, 16 Sep 2021 02:37:45 +0000 (11:37 +0900)]
Release version 1.7.7
Changes:
- Add port message sending thread
- Fix locking the mutex of the Port class
Change-Id: I46d7bd405add4332f25a306d1810316288cbdfeb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 16 Sep 2021 00:19:52 +0000 (09:19 +0900)]
Fix locking the mutex of the Port class
To reduce the interval of locking the mutex, the mutex lock in the Read() method
ie separated using braces. And, the mutex lock is added to the Disconnect() method.
Change-Id: I60657385bc73cb988de0f53433bb1d22a21dad74
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Tue, 31 Aug 2021 08:52:53 +0000 (17:52 +0900)]
Add port message sending thread
Change-Id: I548ce7bf15613e32cf15397b8fe388efd07252f0
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Wed, 13 Jan 2021 08:53:11 +0000 (17:53 +0900)]
Release version 1.7.6
Changes:
- Fix exception handling of OnReceivedResult()
Change-Id: Idb9d78f375333ec10640520cdc8ba6f38541e1d2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 13 Jan 2021 00:36:46 +0000 (09:36 +0900)]
Fix exception handling of OnReceivedResult()
To get an error of gdbus properly, we have to use g_dbus_message_to_gerror().
Change-Id: Ic733e2c9d808668c456758f5ae2876c8543e6358
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 5 Jan 2021 01:53:43 +0000 (10:53 +0900)]
Release version 1.7.5
Changes:
- Fix invalid read
Change-Id: I02339a519952e8e67d90a9dce625b4854909fe2b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 4 Jan 2021 23:49:29 +0000 (08:49 +0900)]
Fix invalid read
If a stub handle is defined to a global variable, a process accesses to
the released DBusConnectionManager instance while calling the __run_exit_handlers().
The GDBusConnection instance is moved to the FdBroker object.
Change-Id: I6040a9737f5b23c644f91eccb330b6aba4104ac0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 18 Sep 2020 04:46:21 +0000 (13:46 +0900)]
Release version 1.7.4
Changes:
- Fix DisconnectPort() implementation
Change-Id: Ice7db6f122698b30636d140ea23cfd1ffa02e480
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 18 Sep 2020 04:38:47 +0000 (13:38 +0900)]
Fix DisconnectPort() implementation
This patch adds an exception handling to check whether the main port is
nullptr or NOT. If the main port ptr is already deleted, the proxy process
will have crashed.
Change-Id: I0f6a97b2fcdbc715fae61feafe8db551d4f01cd6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 18 Sep 2020 00:35:37 +0000 (09:35 +0900)]
Release version 1.7.3
Changes:
- Add exception handling about main port check
Change-Id: If1074ec46b271ea4290659cee7df913250e1a9a4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 17 Sep 2020 22:27:45 +0000 (07:27 +0900)]
Add exception handling about main port check
We should check whether the main port is deleted or not. While calling
rpc_port_proxy_destroy(), the main port is deleted.
When the disconnected event is delivered, the proxy app will have crashed
if it is accessing the fd getter.
This patch adds the exceptions to check whether the main port is nullptr or not.
Change-Id: Ib68f53616091e8079a1831e56504ad9a228df818
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Wed, 2 Sep 2020 05:59:49 +0000 (14:59 +0900)]
Release version 1.7.2
Changes:
- Fix rpc_port_proxy_destroy() function
- Refactor "proxy-internal.cc"
Change-Id: I1753926257fb06cf12e4342452b90e145a69000e
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Wed, 2 Sep 2020 05:28:00 +0000 (14:28 +0900)]
Refactor "proxy-internal.cc"
Change "get()->" to "->"
Change-Id: I48c896e83335b506a2d3838c863f9966c0771875
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Wed, 2 Sep 2020 03:23:15 +0000 (12:23 +0900)]
Fix rpc_port_proxy_destroy() function
rpc_port_proxy_destroy() calls DisconnectPort() method to disconnect main port.
Change-Id: Ia86611a4a6442805f94af335a699a105ad285f5e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 13 Aug 2020 00:28:24 +0000 (09:28 +0900)]
Release version 1.7.1
Changes:
- Use idler to destroy proxy handle
Change-Id: Ic6af58f865beb8847f6ab9f9440733aef34c4773
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 12 Aug 2020 23:01:52 +0000 (08:01 +0900)]
Use idler to destroy proxy handle
Currently, the application can call rpc_port_proxy_handle() in a sub
thread when the main thread is calling the callback function.
It causes the crash issue. To prevent that, this patch uses idler to
destroy handle in the main thread.
Change-Id: Ie3a79c94bb3e69dca8b8aaf4fe91fde1cb9d1f43
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 10 Aug 2020 06:31:15 +0000 (15:31 +0900)]
Release version 1.7.0
Changes:
- Move functions to rpc-port header file
Change-Id: Icb634b497608b9859391d4acc46b6d65214bcfa5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 30 Jul 2020 23:37:04 +0000 (08:37 +0900)]
Move functions to rpc-port header file
Moves:
- rpc_port_proxy_connect_sync()
- rpc_port_set_private_sharing_array()
- rpc_port_set_private_sharing()
- rpc_port_unset_private_sharing()
Change-Id: I162547b202376716fa35fb692bcc4faa61ada000
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Jusung Son [Mon, 20 Jul 2020 04:33:36 +0000 (13:33 +0900)]
Release version 1.6.1
Changes:
- Fix static analysis issue
Change-Id: Ifc014ec8c8462277fd0b4fec23e0acd82333e1fc
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Jusung Son [Mon, 20 Jul 2020 01:19:55 +0000 (10:19 +0900)]
Fix static analysis issue
- TAINTED_INT.MIGHT
Change-Id: I548cd0919572d5924ff22581ec793c5b6642e855
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Hwankyu Jhun [Tue, 14 Jul 2020 00:29:05 +0000 (09:29 +0900)]
Release version 1.6.0
Changes:
- Support alias appid
- Use defined macros to print logs
Change-Id: Ie85a9a47ba7e96345dd2e673a4ba1099de47d4b8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 13 Jul 2020 00:24:42 +0000 (09:24 +0900)]
Use defined macros to print logs
Change-Id: I449f2d35021890b73a6a5d6554a8968bb5aed57a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 10 Jul 2020 04:09:23 +0000 (13:09 +0900)]
Support alias appid
Before sending the request to connect to stub, proxy checks the real
appid using appid. If aul_svc_get_appid_by_alias_appid() returns
AUL_SVC_RET_OK, proxy uses it.
Change-Id: I8b379d0cf08f0779c5d9800c41d1e745dd9848f3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 8 Jul 2020 02:38:14 +0000 (11:38 +0900)]
Release version 1.5.2
Changes:
- Modify calling timer setting
Change-Id: Ie95899e04c1245d7c8346a8d6dd34c49165ffab5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 8 Jul 2020 01:57:44 +0000 (10:57 +0900)]
Modify calling timer setting
Change-Id: Ifab88c1521975314408c6a6c0bfbc9783c69a68d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 6 Jul 2020 00:51:15 +0000 (09:51 +0900)]
Release version 1.5.1
Changes:
- Fix wrong log format
Change-Id: Ia71533263ff56b63ff11995ac0ea91722c2146b0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
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>