platform/core/appfw/rpc-port.git
3 years agoRelease version 1.11.1 49/262949/1 accepted/tizen/unified/20210824.123731 submit/tizen/20210824.020356
Hwankyu Jhun [Tue, 24 Aug 2021 01:58:20 +0000 (10:58 +0900)]
Release version 1.11.1

Changes:
 - Check current thread ID to destroy handle

Change-Id: I2bb288fd2f3bdb4cee4a7570aed818fe20366047
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoCheck current thread ID to destroy handle 27/262927/2
Hwankyu Jhun [Mon, 23 Aug 2021 22:44:16 +0000 (07:44 +0900)]
Check current thread ID to destroy handle

If the current thread ID is equal to the process ID,
the destroy functions destroy the handle immediately.
If it's not, the rpc-port uses glib idler to destroy the handle
in the main thread.

Change-Id: Iefe8f19a3ad1face2e59046f33e9dc28e2042522
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.11.0 63/262863/1 submit/tizen/20210823.001958
Changgyu Choi [Mon, 23 Aug 2021 00:16:56 +0000 (09:16 +0900)]
Release version 1.11.0

Changes:
 - Add new parcel header APIs

Change-Id: I21a4180c2035c0ebf1fd2201949d0b8c4ccf9316
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoAdd new parcel header APIs 90/262690/14
Changgyu Choi [Wed, 18 Aug 2021 02:17:00 +0000 (11:17 +0900)]
Add new parcel header APIs

Adds:
 - rpc_port_parcel_header_set_tag()
 - rpc_port_parcel_header_get_tag()

Change-Id: I9f8c3d906ba38a66433f49fe32190db7d5d7757b
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoRelease version 1.10.2 65/262765/1 accepted/tizen/unified/20210820.101813 submit/tizen/20210819.084128 submit/tizen/20210819.220259
Hwankyu Jhun [Thu, 19 Aug 2021 08:40:26 +0000 (17:40 +0900)]
Release version 1.10.2

Changes:
 - Make thread safe codes
 - Fix some types
 - Fix some rpc-port-parcel API's description
 - Change num type to unsigned
 - Add missing method call

Change-Id: I7ed22d0d895fa293d454418c926c38b0d9a150e4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoAdd missing method call 63/262763/1
Hwankyu Jhun [Thu, 19 Aug 2021 08:25:09 +0000 (17:25 +0900)]
Add missing method call

When the Timedout callback function is invoked, the Cancel() method has
to be called to remove monitoring the port.

Change-Id: Ie78a890a9e394552b84c68c19e4d9cfb852f7bd3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoChange num type to unsigned 06/262706/2
Changgyu Choi [Wed, 18 Aug 2021 07:32:35 +0000 (16:32 +0900)]
Change num type to unsigned

Change-Id: Ia250c2ed687f796c8ab1865f900ea3054cd0bc8a
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoFix some rpc-port-parcel API's description 97/262697/1
Changgyu Choi [Wed, 18 Aug 2021 05:16:18 +0000 (14:16 +0900)]
Fix some rpc-port-parcel API's description

Change-Id: I113827fbdbee8361bf6d82556c33524c28be861b
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoMerge "Fix some types" into tizen
Changgyu Choi [Wed, 18 Aug 2021 02:54:52 +0000 (02:54 +0000)]
Merge "Fix some types" into tizen

3 years agoFix some types 89/262689/2
Changgyu Choi [Wed, 18 Aug 2021 02:46:51 +0000 (11:46 +0900)]
Fix some types

Change-Id: I2a516191a72c098b8e9f89751a124c38052d66eb
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoMake thread safe codes 42/262642/3
Hwankyu Jhun [Tue, 17 Aug 2021 04:07:53 +0000 (13:07 +0900)]
Make thread safe codes

The rpc_port_stub_h handle destroys in the main thread. The rpc-port
releases the handle using g_idle_add_full(). Before, the idler is added,
the Ignore() method is called to set nullptr to the event listener.
While calling the callback function, the rpc-port checks whether
the event listener is nullptr or not. If it's nullptr, the callback function
will be returned immediately.

Change-Id: I7728552c38173c548c07ce52c1339c6da9c4b29b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.10.1 51/262651/1 accepted/tizen/unified/20210818.124538 submit/tizen/20210817.074851
Hwankyu Jhun [Tue, 17 Aug 2021 07:47:31 +0000 (16:47 +0900)]
Release version 1.10.1

Changes:
 - Use INT_MAX instead of custom variable
 - Fix a bug about ReadParcelable Impl

Change-Id: I0100382e69183b2b8d95648358ac81c934123dee
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix a bug about ReadParcelable Impl 41/262641/2
Hwankyu Jhun [Tue, 17 Aug 2021 02:06:23 +0000 (11:06 +0900)]
Fix a bug about ReadParcelable Impl

In 32-bit machine, the long size is 4 bytes. When calling the
ReadInt64() with timespec.tv_nsec. the buffer overflow is occurred.

Change-Id: Id5bcb26891c63b893b20d50e7dab4c38dbaea14b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoUse INT_MAX instead of custom variable 40/262640/1
Hwankyu Jhun [Tue, 17 Aug 2021 02:04:25 +0000 (11:04 +0900)]
Use INT_MAX instead of custom variable

Change-Id: I9ec72a5c9591ffbfc91b9f6203fc1bf70eeb4087
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.10.0 43/262543/1 submit/tizen/20210813.063429
Changgyu Choi [Fri, 13 Aug 2021 06:06:13 +0000 (15:06 +0900)]
Release version 1.10.0

Changes:
 - Add the header handle of the parcel
 - Add disconnect API

Change-Id: Iee2dddd83ee7a25018a1d6130f6a58c8a7962512
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoAdd disconnect API 44/262244/9
Changgyu Choi [Thu, 5 Aug 2021 04:37:59 +0000 (13:37 +0900)]
Add disconnect API

Adds:
 - rpc_port_disconnect()

Change-Id: I189f0ef05a0ae63c9f8258f17e741eeba8fc96a2
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoAdd the header handle of the parcel 03/258603/13
Hwankyu Jhun [Fri, 21 May 2021 04:06:27 +0000 (13:06 +0900)]
Add the header handle of the parcel

Adds:
 - rpc_port_parcel_get_header()
 - rpc_port_parcel_header_set_seq_num()
 - rpc_port_parcel_header_get_seq_num()
 - rpc_port_parcel_header_get_timestamp()

Change-Id: I4049532b2c6a92e657861dbfc1dbe66a895081d1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.9.4 29/262529/2 accepted/tizen/unified/20210813.125530 submit/tizen/20210813.020747
Hwankyu Jhun [Fri, 13 Aug 2021 02:06:47 +0000 (11:06 +0900)]
Release version 1.9.4

Changes:
 - Fix deadlock issue
 - Fix coding style

Change-Id: Id585a76b59363c92c380480bd82302cbc57efbb6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix coding style 84/262484/4
Changgyu Choi [Thu, 12 Aug 2021 01:03:16 +0000 (10:03 +0900)]
Fix coding style

Change-Id: I77493692e72af5b2d4af5ca1113ef3f04f608de5
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoFix deadlock issue 98/262498/6
Hwankyu Jhun [Thu, 12 Aug 2021 06:06:38 +0000 (15:06 +0900)]
Fix deadlock issue

When the rpc_port_proxy_connect() is called in the sub thread,
the port appeared event can be received in the main thread.
In this case, the process can be a deadlock state as below:
+------------------------------------------------------------------------------+
| -- #0  0xb5d3e6c8 in __lll_lock_wait () from /usr/lib/libpthread-2.30.so     |
| -- #1  0xb5d35de4 in __pthread_mutex_lock () from /usr/lib/libpthread-2.30.so|
| -- #2  0xa63ee315 in _ZN8rpc_port8internal5Proxy14OnPortAppearedEPKcS3_iPv ()|
|                      from /usr/lib/librpc-port.so.1.9.3        |
| -- #3  0xb5f69721 in _ZN12_GLOBAL__N_19WatchInfo8AppComCbEPKc20aul_app_com_re|
|                      sult_eP9_bundle_tPv () from /usr/lib/libaul.so.0.38.0   |
| -- #4  0xb5f74d2d in app_com_recv () from /usr/lib/libaul.so.0.38.0          |
| -- #5  0xb5f74fe7 in __dispatch_request () from /usr/lib/libaul.so.0.38.0    |
| -- #6  0xb5b10fb3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.|
                       0.6200.3                                                |
| -- #7  0xb58a01a9 in _ecore_glib_select.lto_priv.0 () from /usr/lib/libecore.|
|                      so.1.25.1                                               |
| -- #8  0xb589f037 in _ecore_main_select () from /usr/lib/libecore.so.1.25.1  |
| -- #9  0xb589f8c7 in _ecore_main_loop_iterate_internal () from /usr/lib/libec|
|                      ore.so.1.25.1                                           |
| -- [pthread wait detected] pthread_mutex_lock/pthread_join owner tid:1412    |
+------------------------------------------------------------------------------+
| -- [User Backtrace] [Thread state:S (sleeping), Frozen:No]                   |
| -- Pid: 683, Tid: 1412, comm: Parallel[0] exec_start[69.429195162]           |
| -- #0  0xb5d3e6c8 in __lll_lock_wait () from /usr/lib/libpthread-2.30.so     |
| -- #1  0xb5d35de4 in __pthread_mutex_lock () from /usr/lib/libpthread-2.30.so|
| -- #2  0xb5f789b5 in aul_app_com_leave () from /usr/lib/libaul.so.0.38.0     |
| -- #3  0xb5f6d197 in aul_rpc_port_remove_watch () from /usr/lib/libaul.so.0.3|
|                      8.0                                                     |
| -- #4  0xa63ec503 in _ZN8rpc_port8internal5Proxy6CancelEv () from /usr/lib/li|
|                      brpc-port.so.1.9.3                                      |
| -- #5  0xa63ee329 in _ZN8rpc_port8internal5Proxy14OnPortAppearedEPKcS3_iPv ()|
|                      from /usr/lib/librpc-port.so.1.9.3                      |
| -- #6  0xa63ee45b in _ZN8rpc_port8internal5Proxy5WatchEv () from /usr/lib/lib|
|                      rpc-port.so.1.9.3                                       |
| -- #7  0xa63ee58f in _ZN8rpc_port8internal5Proxy7ConnectENSt7__cxx1112basic_s|
|                      tringIcSt11char_traitsIcESaIcEEES7_PNS1_14IEventListener|
|                      E () from /usr/lib/librpc-port.so.1.9.3                 |
| -- #8  0xa63efd51 in rpc_port_proxy_connect () from /usr/lib/librpc-port.so.1|
|                      .9.3                                                    |
+------------------------------------------------------------------------------+

This patch fixes the proxy handle management using the shared_ptr. And,
the port check is moved to the main thread to avoid the deadlock issue.

Change-Id: I8ef7f775491427e48eb5894c66dc1629d172a4d5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.9.3 83/262283/1 accepted/tizen/unified/20210809.061330 submit/tizen/20210806.031241 submit/tizen/20210808.215654
Hwankyu Jhun [Fri, 6 Aug 2021 03:10:57 +0000 (12:10 +0900)]
Release version 1.9.3

Changes:
 - Fix DebugPort Implementation

Change-Id: I98732667130139c3892762aa979960792964098d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix DebugPort Implementation 80/262280/2
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>
3 years agoRelease version 1.9.2 24/261424/1 accepted/tizen/unified/20210719.124550 submit/tizen/20210718.231655
Hwankyu Jhun [Sun, 18 Jul 2021 23:15:55 +0000 (08:15 +0900)]
Release version 1.9.2

Changes:
 - Fix static analysis issue

Change-Id: I6949c16038588f2e951602aa68e219d43a69d646
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix static analysis issue 23/261423/1
Hwankyu Jhun [Sun, 18 Jul 2021 23:08:20 +0000 (08:08 +0900)]
Fix static analysis issue

- Initialize private members to nullptr

Change-Id: I36ebc07223b157b207d2f7c4d4c61e21c21a9a92
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.9.1 97/261297/1 accepted/tizen/unified/20210716.131318 submit/tizen/20210715.032102
Hwankyu Jhun [Thu, 15 Jul 2021 02:56:54 +0000 (11:56 +0900)]
Release version 1.9.1

Changes:
 - Add a missing required library to pkgconfig

Change-Id: I687fbbb62380474e97ba55fe6501ec9159e888e6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoAdd a missing required library to pkgconfig 40/261240/1
Hwankyu Jhun [Tue, 13 Jul 2021 23:16:41 +0000 (08:16 +0900)]
Add a missing required library to pkgconfig

Adds:
 - bundle

Change-Id: I5cc6a806fae8cbe9dc8cf1fbb417bc17e79fbdf8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.9.0 23/261123/1 accepted/tizen/unified/20210713.124156 submit/tizen/20210712.081524
Hwankyu Jhun [Mon, 12 Jul 2021 07:59:59 +0000 (16:59 +0900)]
Release version 1.9.0

Changes:
 - Use Unix Domain Socket instead of Socket Pair
 - Support Daemon Stub

Change-Id: Idcf5bc419ae588df37110018e28e3dade8eae896
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoSupport Daemon Stub 01/260701/4
Hwankyu Jhun [Thu, 1 Jul 2021 07:57:09 +0000 (16:57 +0900)]
Support Daemon Stub

This patch supports that the daemon process can be the stub.
The daemon or service process has to call the rpc_port_register_proc_info()
to set the process name. When the proxy tries to connect to the stub,
the rpc-port library calls the aul_proc_get_name() if calling the
aul_app_get_appid_bypid() is failed.

Change-Id: I133b04c6a0196420fcd6aeba52085cf73c10f4d3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoUse Unix Domain Socket instead of Socket Pair 91/260091/27
Hwankyu Jhun [Fri, 18 Jun 2021 09:38:55 +0000 (18:38 +0900)]
Use Unix Domain Socket instead of Socket Pair

To remove DBus dependency, the rpc-port uses Unix Domain Socket.
While calling aul_rpc_port_create(), AMD creates the file descriptor.
And then, AMD sends the fd to the stub. The stub uses the fd to manage
the connection.

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/aul-1/+/259865/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/amd/+/259971/

Change-Id: I6e80ac3469ecb1eeec29485e0ac3556fc895df0d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.8.2 20/255520/1 accepted/tizen/unified/20210322.150824 accepted/tizen/unified/20210323.122937 accepted/tizen/unified/20210402.005407 submit/tizen/20210319.043659 submit/tizen/20210319.065928 submit/tizen/20210402.010923
jusung [Fri, 19 Mar 2021 04:33:01 +0000 (13:33 +0900)]
Release version 1.8.2

Changes:
 - Fix memory leak
Signed-off-by: jusung <jusung07.son@samsung.com>
Change-Id: I974d991f2b21c78b14cbb57e249837f367e4bf1c

3 years agoFix memory leak 19/255519/1
jusung [Fri, 19 Mar 2021 04:28:47 +0000 (13:28 +0900)]
Fix memory leak

Change-Id: I37ca69f7eb682a4c7a94614b462dff4e410df3f4
Signed-off-by: jusung <jusung07.son@samsung.com>
3 years agoRelease version 1.8.1 07/255007/1 accepted/tizen/unified/20210318.055950 accepted/tizen/unified/20210324.124425 submit/tizen/20210311.081932 submit/tizen/20210315.011842 submit/tizen/20210316.232334 submit/tizen/20210317.105308 submit/tizen/20210322.043354
Hwankyu Jhun [Thu, 11 Mar 2021 08:07:53 +0000 (17:07 +0900)]
Release version 1.8.1

Changes:
 - Fix rpc-port-parcel implementation related to bundle

Change-Id: I1df202fef2f0a491e6496f3dc00bf58f84ae4c65
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix rpc-port-parcel implementation related to bundle 67/254967/2
Hwankyu Jhun [Thu, 11 Mar 2021 05:07:28 +0000 (14:07 +0900)]
Fix rpc-port-parcel implementation related to bundle

Parcel APIs related to Bundle API will be removed.
rpc_port_parcel_write_bundle() modifies to use use parcel_write_string()
instead of parcel_write_bundle(). rpc_port_parcel_read_bundle() modifies
to use parcel_read_string() instead of parcel_read_bundle().

Change-Id: Iad0b6e347bb72197ebeffd1a630862a5eb8ffbbc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.8.0 70/253970/1 accepted/tizen/unified/20210223.065517 submit/tizen/20210222.030137
Hwankyu Jhun [Mon, 22 Feb 2021 02:54:40 +0000 (11:54 +0900)]
Release version 1.8.0

Changes:
 - Fix Write() implemenation
 - Support daemon proxy

Change-Id: If8b5fdcb1fa9b2f67161b1124b06d07849b72324
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoSupport daemon proxy 83/253883/2
Hwankyu Jhun [Fri, 19 Feb 2021 04:36:46 +0000 (13:36 +0900)]
Support daemon proxy

After this patch is applied, daemons the services can be a proxy.

Change-Id: I47c60d923df74755c5ea0f1396964887fcbd8e85
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix Write() implemenation 81/253881/3
Hwankyu Jhun [Fri, 19 Feb 2021 04:09:02 +0000 (13:09 +0900)]
Fix Write() implemenation

After queuing the message, rpc-port checks whether writing is now possible
or not.

Change-Id: I765a9b02f67755c2838fe81149d71817aa7f9763
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.7.8 77/251377/1 accepted/tizen/unified/20210115.004619 submit/tizen/20210113.085228
Hwankyu Jhun [Wed, 13 Jan 2021 08:26:17 +0000 (17:26 +0900)]
Release version 1.7.8

Changes:
 - Fix exception handling of OnReceivedResult()

Change-Id: I50a9e9929ae5d9976165722ba138e1b640e6d097
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix exception handling of OnReceivedResult() 38/251338/3
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>
3 years agoRelease version 1.7.7 08/250808/1 accepted/tizen/unified/20210106.123620 submit/tizen/20210105.015450
Hwankyu Jhun [Tue, 5 Jan 2021 01:54:00 +0000 (10:54 +0900)]
Release version 1.7.7

Changes:
 - Fix invalid read

Change-Id: I0de6b187d3791b393ab1db65a1949c5eda90c52e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix invalid read 99/250799/3
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>
3 years agoRelease version 1.7.6 86/250386/1 accepted/tizen/unified/20201230.121828 submit/tizen/20201224.060439
Hwankyu Jhun [Thu, 24 Dec 2020 05:14:58 +0000 (14:14 +0900)]
Release version 1.7.6

Changes:
 - Disconnect from a port
 - Remove build warning message

Change-Id: I65420898e0b2e6e5b6f66e2def1a3e71d142b70d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRemove build warning message 85/250385/1
Hwankyu Jhun [Thu, 24 Dec 2020 05:14:18 +0000 (14:14 +0900)]
Remove build warning message

- Fixes invalid conversion

Change-Id: Id49cadc03a88b88efcf25452cc1b53f61a63f3e5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoDisconnect from a port 45/249645/4
Hwankyu Jhun [Wed, 16 Dec 2020 00:56:05 +0000 (09:56 +0900)]
Disconnect from a port

After this patch is applied, rpc-port closes the file descriptor when
Read() is failed.

Change-Id: I25c1a2878037a664c4bec8320f97bc1fafeef38b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.7.5 56/250356/1 submit/tizen/20201224.024344
Hwankyu Jhun [Thu, 24 Dec 2020 02:51:48 +0000 (11:51 +0900)]
Release version 1.7.5

Changes:
 - Refactor coding style
 - Use tizen base parcel API

Change-Id: Ieeb814a916bce19b6fb83bac452394c97f5d7232
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoUse tizen base parcel API 48/250348/2
Hwankyu Jhun [Wed, 23 Dec 2020 23:05:03 +0000 (08:05 +0900)]
Use tizen base parcel API

The parcel implmentation is removed. Bacause, Parcel APi is added on
Bundle repository. We use tizen_base::Parcel API instread.

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/base/bundle/+/249500/

Change-Id: I996f43ca0cac9c68315aee45287e8a4316c36167
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRefactor coding style 59/245259/6
Changgyu Choi [Tue, 6 Oct 2020 06:29:33 +0000 (15:29 +0900)]
Refactor coding style

Change-Id: Icfc09b7ca2a7d28abcc8082effcefdedd2d9f130
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 years agoRelease version 1.7.4 83/244383/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.115930 accepted/tizen/6.0/unified/hotfix/20201103.045857 accepted/tizen/unified/20200921.042449 submit/tizen/20200918.045438 submit/tizen_6.0/20201029.205103 submit/tizen_6.0_hotfix/20201102.192503 submit/tizen_6.0_hotfix/20201103.114803 tizen_6.0.m2_release
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>
4 years agoFix DisconnectPort() implementation 82/244382/1
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>
4 years agoRelease version 1.7.3 73/244373/1 submit/tizen/20200918.004016 submit/tizen/20200918.042953
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>
4 years agoAdd exception handling about main port check 70/244370/3
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>
4 years agoRelease version 1.7.2 63/242963/1 accepted/tizen/unified/20200903.151807 submit/tizen/20200902.060334
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>
4 years agoRefactor "proxy-internal.cc" 55/242955/3
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>
4 years agoFix rpc_port_proxy_destroy() function 24/242924/1
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>
4 years agoRelease version 1.7.1 17/240917/1 accepted/tizen/unified/20200813.122620 submit/tizen/20200813.004033
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>
4 years agoUse idler to destroy proxy handle 08/240908/2
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>
4 years agoRelease version 1.7.0 14/240614/1 accepted/tizen/unified/20200811.050409 submit/tizen/20200810.063222 submit/tizen/20200810.223927
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>
4 years agoMove functions to rpc-port header file 37/239937/10
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>
4 years agoRelease version 1.6.1 76/238876/1 accepted/tizen/unified/20200721.142244 submit/tizen/20200720.231349
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>
4 years agoFix static analysis issue 57/238857/1
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>
4 years agoRelease version 1.6.0 18/238418/1 accepted/tizen/unified/20200715.002114 submit/tizen/20200714.005539 submit/tizen/20200714.042458
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>
4 years agoUse defined macros to print logs 23/238323/1
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>
4 years agoSupport alias appid 54/238254/4
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>
4 years agoRelease version 1.5.2 48/238048/1 accepted/tizen/unified/20200708.125330 submit/tizen/20200708.024412
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>
4 years agoModify calling timer setting 42/238042/5
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>
4 years agoRelease version 1.5.1 05/237805/1 accepted/tizen/unified/20200706.133926 submit/tizen/20200706.005206
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>
4 years agoFix wrong log format 04/237804/1
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>
4 years agoRelease version 1.5.0 03/237803/1 submit/tizen/20200706.003307
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>
4 years agoRemove FdBrokerManager 21/237721/4
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>
4 years agoApply delayed message queue 35/237335/4
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>
4 years agoRelease version 1.4.5 97/237397/1 accepted/tizen/unified/20200701.032323 submit/tizen/20200630.051124
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>
4 years agoChange the socket-related log level to debug 96/237396/2
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>
4 years agoFix wrong log messages 43/236843/1
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>
4 years agoRelease version 1.4.4 51/236751/1 accepted/tizen/unified/20200622.134418 submit/tizen/20200622.023104
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>
4 years agoMove connection timer to FdBroker 44/236744/2
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>
4 years agoFix wrong implementation 70/236670/2
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>
4 years agoRelease version 1.4.3 60/236660/1 submit/tizen/20200619.061341
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>
4 years agoFix thread safe issue 28/236628/6
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>
4 years agoRelease version 1.4.2 02/236402/1 accepted/tizen/unified/20200619.004553 submit/tizen/20200617.005410 submit/tizen/20200618.034155
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>
4 years agoAdd debugging logs 22/236222/2
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>
4 years agoRelease version 1.4.1 96/235996/1 accepted/tizen/unified/20200615.135427 submit/tizen/20200612.005912
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>
4 years agoFix wrong dbuspolicy conf 94/235994/2
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>
4 years agoRelease version 1.4.0 61/235861/2 submit/tizen/20200610.102259 submit/tizen/20200611.110156
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>
4 years agoAdd rpc-port-util tool 41/235241/19
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>
4 years agoAdd set_private_sharing_array API 72/234972/6
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>
4 years agoRelease version 1.3.39 22/234922/1 accepted/tizen/unified/20200601.140132 submit/tizen/20200601.003533
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>
4 years agoExclude some lines for coverage measurement 15/234315/1
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>
4 years agoAdd testcase for code coverage 82/234282/1
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>
4 years agoAdd set/unset private sharing 45/228245/4
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>
4 years agoRelease version 1.3.38 68/232968/1 accepted/tizen/unified/20200512.040529 submit/tizen/20200511.035158 submit/tizen/20200511.110745
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>
4 years agoFix OnSocketDisconnect Method of Proxy 55/232955/3
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>
4 years agoRelease version 1.3.37 97/232097/1 accepted/tizen/unified/20200429.032913 submit/tizen/20200428.074500
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>
4 years agoRemove unnecessary resources 92/232092/1
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>
4 years agoRelease version 1.3.36 82/231282/2 accepted/tizen/unified/20200422.032215 submit/tizen/20200421.035751
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>
4 years agoFix dbus timer setting location 78/231278/1
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>
4 years agoRelease version 1.3.35 39/231039/1 submit/tizen/20200417.051505
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>
4 years agoConvert error value 93/230993/2
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>
4 years agoRelease version 1.3.34 59/229259/1 accepted/tizen/unified/20200403.034537 submit/tizen/20200402.034722
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>
4 years agoSet error cause of rejected event 02/228802/1
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>
4 years agoRelease version 1.3.33 15/228215/1 accepted/tizen/unified/20200320.074804 submit/tizen/20200320.000141
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>
4 years agoCancel dbus requests when the reject-callback is called 69/228169/2
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>