Inkyun Kil [Mon, 10 Feb 2020 06:56:54 +0000 (15:56 +0900)]
Fix static analysis
Change-Id: I496902a1e38768ef87e8c4e3f784de65d950fa1e
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Jusung Son [Tue, 8 Oct 2019 07:18:09 +0000 (16:18 +0900)]
Release version 1.4.3
Changes:
- Update doxygen
Change-Id: If8ad4bd75a681e0f62434a621698b6cfb66fe18d
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
mk5004.lee [Mon, 30 Sep 2019 08:19:58 +0000 (17:19 +0900)]
Update doxygen
- change file mode
Change-Id: I1cc26efd7ef9d06dcbfc7f0eae9a753db71661b3
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
Jusung Son [Mon, 9 Sep 2019 00:03:45 +0000 (09:03 +0900)]
Release version 1.4.2
Changes:
- Add exception handling
Change-Id: Icdf693bc83df271d1e8e14d40f114e18d495056a
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Jusung Son [Fri, 6 Sep 2019 06:36:55 +0000 (15:36 +0900)]
Add exception handling
- If sender validation fails, close the connected socket
Change-Id: Ib844ea608aad74786279a402e294fb207a9f0ef4
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Hwankyu Jhun [Thu, 25 Jul 2019 04:09:50 +0000 (13:09 +0900)]
Release version 1.4.1
Changes:
- Make a gcov package for measuring coverage easier
- Migrate to openssl 1.1
Change-Id: I98a691c5eedd1aa9ec2c8dca03748aefa9891168
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Dariusz Michaluk [Fri, 12 Jul 2019 13:28:16 +0000 (15:28 +0200)]
Migrate to openssl 1.1
Change-Id: I5f71dc506c0b80edcbf6a6616df05971c4b0c157
Signed-off-by: Dariusz Michaluk <d.michaluk@samsung.com>
hyunho [Wed, 10 Jul 2019 04:57:44 +0000 (13:57 +0900)]
Make a gcov package for measuring coverage easier
Change-Id: I18c8cac2e8d34a12d91705e39794133d3ffa11b4
Signed-off-by: hyunho <hhstark.kang@samsung.com>
jusung son [Fri, 1 Feb 2019 01:57:47 +0000 (10:57 +0900)]
Release version 1.4.0
Changes:
- Add a log for debugging
Change-Id: Iea79b875f240e541b30f5bc42058f357e023d312
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Fri, 1 Feb 2019 01:46:40 +0000 (10:46 +0900)]
Add a log for debugging
Change-Id: Iaff0c0a1786dcf8e8ada805288a76a491a55cba0
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Fri, 7 Dec 2018 07:51:20 +0000 (16:51 +0900)]
Release version 1.3.21
Changes:
- Fix dlog format
Change-Id: Ie8c55b9f8376fff9f876e38750ad67f84e01710a
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Fri, 7 Dec 2018 07:20:16 +0000 (16:20 +0900)]
Fix dlog format
Change-Id: I8c62a8c23b49aa03d6d590828c57094e1ce961bc
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Fri, 9 Nov 2018 00:03:15 +0000 (09:03 +0900)]
Release version 1.3.20
Changes:
- Add code for validation check
Change-Id: Ia0a41f5e835689498c1dddcd5113b8d1b7446035
Signed-off-by: jusung son <jusung07.son@samsung.com>
Inkyun Kil [Wed, 25 Jul 2018 09:52:39 +0000 (18:52 +0900)]
Add code for validation check
Change-Id: I6cbaf5e83ee65a95118488ec051aa790f9640979
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
jusung son [Wed, 20 Jun 2018 02:36:51 +0000 (11:36 +0900)]
Release version 1.3.19
Changes:
- Fix wrong hash management
- Fix memory leak
Change-Id: I8bdc1bed79247d58ec7f57a608edc7e39d63b047
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Tue, 19 Jun 2018 06:22:54 +0000 (15:22 +0900)]
Fix memory leak
Change-Id: I5c147ce3705305ca563f7c59d8f47af324c267e8
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Mon, 18 Jun 2018 07:36:13 +0000 (16:36 +0900)]
Fix wrong hash management
- A value managed by dbus was used as hash key. So the registered hash key is deleted by dbus
Change-Id: If26359e031f6d1a7f783208446f8badb81633baf
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Wed, 16 May 2018 10:04:22 +0000 (19:04 +0900)]
Release version 1.3.18
Changes:
- Fix double free
Change-Id: I708246f7bc1b461788cbdb6cf1ba9d4d1d8f014e
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Wed, 16 May 2018 09:47:15 +0000 (18:47 +0900)]
Fix double free
Change-Id: I9bf55eb96d1a5b25c3ae8f0fad073d21760e9c70
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Tue, 15 May 2018 06:20:47 +0000 (15:20 +0900)]
Release version 1.3.17
Changes:
- Add mutex encapsulation
- Fix send_timeout time
Change-Id: I17cadb57639e66a01759ccea1e9708cb67391ce1
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Tue, 15 May 2018 06:08:59 +0000 (15:08 +0900)]
Fix send_timeout time
Change-Id: I420e1f56824c68eeda102069851fef34743c33aa
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Tue, 15 May 2018 05:53:29 +0000 (14:53 +0900)]
Add mutex encapsulation
- The mutex global variable can be interfered by other modules.
Change-Id: I2f2ff916f9a70ab25f84599ef19759d19d5faa80
Signed-off-by: jusung son <jusung07.son@samsung.com>
Inkyun Kil [Wed, 2 May 2018 05:25:43 +0000 (14:25 +0900)]
Release version 1.3.16
Changes:
- Add conf file for dbus policy
Change-Id: Ief8c2d8eb716d80b56503fac0af9268763145ea4
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Wed, 2 May 2018 01:07:58 +0000 (10:07 +0900)]
Add conf file for dbus policy
Change-Id: I06b84f1d54fe9b6e500c47309456525f4160a850
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
hyunho [Thu, 8 Mar 2018 08:25:09 +0000 (17:25 +0900)]
Release version 1.3.15
Changes:
- Modify retry log level (Error -> Warning)
Change-Id: Ib2e46d95dd6a2c3b3c1de34e789c4966ff946f80
Signed-off-by: hyunho <hhstark.kang@samsung.com>
hyunho [Thu, 8 Mar 2018 02:49:15 +0000 (11:49 +0900)]
Modify retry log level (Error -> Warning)
Change-Id: If72ad5c1a3702285e312b03697ce3fd12c100af9
Signed-off-by: hyunho <hhstark.kang@samsung.com>
hyunho [Tue, 13 Feb 2018 07:41:43 +0000 (16:41 +0900)]
Release version 1.3.14
Changes:
- Fix retry sleep time
Change-Id: I092cbb8210ca7d83213e0c551855f23333e83103
Signed-off-by: hyunho <hhstark.kang@samsung.com>
hyunho [Tue, 13 Feb 2018 06:36:06 +0000 (15:36 +0900)]
Fix retry sleep time
Change-Id: I62add03fe5976e7fd5f5afe20d9a2bc7778eafc1
Signed-off-by: hyunho <hhstark.kang@samsung.com>
hyunho [Mon, 4 Dec 2017 08:56:54 +0000 (17:56 +0900)]
Release version 1.3.13
Changes:
- Fix update user data bug
Change-Id: Ibb0f2cee3890d05ab8e623c640bd175df34128f1
Signed-off-by: hyunho <hhstark.kang@samsung.com>
hyunho [Mon, 4 Dec 2017 08:41:42 +0000 (17:41 +0900)]
Fix update user data bug
Change-Id: Iee71a37968f84c6bdb03c423328e3e9d06d49dc2
Signed-off-by: hyunho <hhstark.kang@samsung.com>
jusung son [Fri, 1 Dec 2017 01:55:44 +0000 (10:55 +0900)]
Release version 1.3.12
Changes:
- Fix wrong memory management
Change-Id: I421ac2cf3de70daa1b9ec5602529fc3bc7dea4dc
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Thu, 30 Nov 2017 12:23:58 +0000 (21:23 +0900)]
Fix wrong memory management
- Resource leak
- Use after free
Change-Id: Ia9059bd03f9e87d3078d91f2d113857c3304d836
Signed-off-by: jusung son <jusung07.son@samsung.com>
Inkyun Kil [Tue, 21 Nov 2017 09:02:23 +0000 (18:02 +0900)]
Release version 1.3.11
- Add destroy handler for g_io_add_watch
Change-Id: Ifcd128daca821e013966a14ab307520665765742
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Tue, 31 Oct 2017 00:11:46 +0000 (09:11 +0900)]
Add destroy handler for g_io_add_watch
This is for applications running in a multithreaded environment.
When socket is disconnected in a main thread and port is unregistered in
another thread simultaneously, memory corruption can occur.
Change-Id: I54518e156f1a92ca11a9d77a1af0823ae9520e4b
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Thu, 12 Oct 2017 04:41:41 +0000 (13:41 +0900)]
Release version 1.3.10
Changes:
- Fix dereference NULL
Change-Id: I84ab9f0979dc27f66752115e3bbb95f045813b5c
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Wed, 11 Oct 2017 09:59:20 +0000 (18:59 +0900)]
Fix dereference NULL
Change-Id: Ic76d8cf01b2e3133280e39826c3707ba5b8bdbf9
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Thu, 28 Sep 2017 05:21:34 +0000 (14:21 +0900)]
Release version 1.3.9
Changes:
- Exclude some lines from lcov
Change-Id: I61a4241b5f338a3d97bf1682eabd38389f2b02ac
Signed-off-by: jusung son <jusung07.son@samsung.com>
Inkyun Kil [Wed, 27 Sep 2017 05:21:58 +0000 (14:21 +0900)]
Exclude some lines from lcov
Change-Id: Ice6a4bc985a6a4836a5fe5a23d54ac99a3a29c11
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Semun Lee [Fri, 15 Sep 2017 02:27:47 +0000 (11:27 +0900)]
Release version 1.3.8
Changes:
- Fix socket exception handling
- Adjust coding rule
- fix coding rule error
- Fix ASan build
Change-Id: I2edc8e94c6f6704c2357228198e4d1b7af03accb
Signed-off-by: Semun Lee <semun.lee@samsung.com>
Dmitriy Evgenevich Gonzha [Wed, 13 Sep 2017 18:45:30 +0000 (21:45 +0300)]
Fix ASan build
Move global variables declaration to message_port_common.c
to fix build with -fno-common
Change-Id: I5ad205124fc1ebb77accdb2d51baca2194c010ea
Signed-off-by: Dmitriy Evgenevich Gonzha <d.gonzha@samsung.com>
Youngjae Shin [Wed, 13 Sep 2017 02:15:58 +0000 (11:15 +0900)]
fix coding rule error
Change-Id: Ic8d7f87d2c30c81e276c5d5f753e49a2a654f732
Signed-off-by: Youngjae Shin <yj99.shin@samsung.com>
Signed-off-by: jusung son <jusung07.son@samsung.com>
Seungha Son [Tue, 12 Sep 2017 04:47:56 +0000 (13:47 +0900)]
Adjust coding rule
do not use assignment in if condition
code indent
dupliated semicolon
Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I194312e48615e170031865e3da8af7c5d0124a47
jusung son [Mon, 11 Sep 2017 08:26:48 +0000 (17:26 +0900)]
Fix socket exception handling
- Check the unprocessed data
Change-Id: Icaeef2b79ab70b556a2ca4800f6c1d876b0b7a3e
Signed-off-by: jusung son <jusung07.son@samsung.com>
Inkyun Kil [Mon, 28 Aug 2017 08:24:48 +0000 (17:24 +0900)]
Release version 1.3.7
Changes :
- Fix wrong return value for __initialize()
Change-Id: I6dc2e9d4b835462a6bf3377e5d5033cc9f434cce
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Mon, 28 Aug 2017 08:16:51 +0000 (17:16 +0900)]
Fix wrong return value for __initialize()
Change-Id: I69086556670eaa49675631a36e82e57298f0a9af
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
jusung son [Fri, 18 Aug 2017 07:11:54 +0000 (16:11 +0900)]
Release version 1.3.6
Change:
- Fix wrong user_data management
Change-Id: Ic9329b900d2439ff5c44e0093c50b6a3a5b10d96
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Thu, 17 Aug 2017 11:34:14 +0000 (20:34 +0900)]
Fix wrong user_data management
Change-Id: I4e604cb89f34960d17f4647ce1b9c3a8a1ad17a8
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Fri, 11 Aug 2017 01:28:52 +0000 (10:28 +0900)]
Release version 1.3.5
Change:
- Refactor codes
Change-Id: I325d49f7e66c2a2fe9b25ae9525a546456c1fb1a
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Wed, 2 Aug 2017 06:51:24 +0000 (15:51 +0900)]
Refactor codes
- Remove duplicated codes
Change-Id: I441952eeab9ca0c0c85cb3824fe2684057aeb827
Signed-off-by: jusung son <jusung07.son@samsung.com>
Jiwoong Im [Tue, 1 Aug 2017 05:54:37 +0000 (14:54 +0900)]
Release version 1.3.4
Changes:
- Add null check when calling strdup
Change-Id: I2d6bbee2e0a87c51719e5ab15deebe330d16c7bb
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
Jiwoong Im [Wed, 26 Jul 2017 08:51:21 +0000 (17:51 +0900)]
Add null check when calling strdup
Change-Id: I403ff90be685feddc7108fa977283c77d0e05cb1
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
Jiwoong Im [Fri, 21 Jul 2017 03:50:30 +0000 (12:50 +0900)]
Release version 1.3.3
Changes:
- Fix incorrect parameter in NULL check
- Add null check when allocating memory
- Release memory for remote app info
Change-Id: If16f2cb03121300ddc1c839024974494eeee5d94
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
Jiwoong Im [Thu, 13 Jul 2017 02:36:13 +0000 (11:36 +0900)]
Release memory for remote app info
- Release memory for remote app info when the socket which is connected
with remote app is closed.
Change-Id: Ic4c87809d8c5955b63d92b383a1b0c512f280485
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
Jiwoong Im [Mon, 17 Jul 2017 02:18:24 +0000 (11:18 +0900)]
Add null check when allocating memory
Change-Id: I949c7a314c2ac71efb6c34f64bcbe68b9a350715
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
Jiwoong Im [Tue, 11 Jul 2017 08:54:21 +0000 (17:54 +0900)]
Fix incorrect parameter in NULL check
Change-Id: Ie207266b3c7b700c2de28a98236c7ac346a71902
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
Hyunho Kang [Thu, 29 Jun 2017 05:16:08 +0000 (14:16 +0900)]
Release version 1.3.2
- Adjust log level
- Change the socket to non-blocking mode
Change-Id: I65c36105dfcbafbe0968e00a05027911816a169d
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
jusung son [Thu, 29 Jun 2017 05:08:32 +0000 (14:08 +0900)]
Adjust log level
Change-Id: I01d7ad4fdba9a6989d79968a5372fafb68e3bafc
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Fri, 9 Jun 2017 04:28:55 +0000 (13:28 +0900)]
Change the socket to non-blocking mode.
- In blocking mode, the sender is blocked when the buffer of the receiver is full
- Related patch
[amd] https://review.tizen.org/gerrit/#/c/133124/
Change-Id: I503ae45db0dd04b9b267af7e08558b00386fa69d
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Mon, 22 May 2017 10:05:37 +0000 (19:05 +0900)]
Release version 1.3.1
- Fix API description
Change-Id: I377f772713b2114170aafde9cf56aa817609743f
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Mon, 22 May 2017 07:34:46 +0000 (16:34 +0900)]
Fix API description
Change-Id: Ice477bcf378a53f426fb7c4afd32b22229068916
Signed-off-by: jusung son <jusung07.son@samsung.com>
Inkyun Kil [Tue, 25 Apr 2017 02:43:19 +0000 (11:43 +0900)]
Release version 1.3.0
Changes:
- Add new apis to watch that remote port is registered and unregistered
- Fix typo
Change-Id: Ifc859f95120f46a5cdac11e7f4c78c8d8195e76d
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Mon, 24 Apr 2017 04:36:58 +0000 (13:36 +0900)]
Fix typo
Change-Id: Ie17a0bb4c9d3ec46e4ea75350c62e3f00a2045ae
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Fri, 31 Mar 2017 05:07:47 +0000 (14:07 +0900)]
Add new apis to watch that remote port is registered and unregistered
Change-Id: I1687de44ecbcbed3fd1ae3998eb1f71c3fb8dbc0
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Hyunho Kang [Mon, 13 Feb 2017 02:35:51 +0000 (11:35 +0900)]
Release version 1.2.3
Changes:
- Fix memory leaks
Change-Id: I744c4e6edcea8d24137280bffef5630fed603d1d
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Wed, 8 Feb 2017 12:25:55 +0000 (21:25 +0900)]
Fix memory leak
Change-Id: I3745bd700358c9435138cd73be5fa42b959164e0
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Semun Lee [Wed, 18 Jan 2017 07:59:50 +0000 (16:59 +0900)]
Provides libcapi-message-port.so.1 explicitly
Some rpm packages which have been built with previous version
might require libcapi-message-port.so.1, so, we need to
provide it explicitly
Change-Id: I56fee06aef2d16961769be4872701d6bb7e2d1f5
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
jusung son [Tue, 20 Dec 2016 05:05:10 +0000 (14:05 +0900)]
Adjust dlog level
Change-Id: Icb7d52b35d920c305612003e04d8e35410eb2344
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Fri, 16 Dec 2016 09:39:25 +0000 (18:39 +0900)]
Fix API description
Change-Id: I6d2ac814b149197e65280ed8de7131c8c419ed8d
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Fri, 16 Dec 2016 09:36:03 +0000 (01:36 -0800)]
Revert "Fix API description"
This reverts commit
87cc6a7ccffa6efe2509c87e7802147b396e6f93.
Change-Id: Idf507a77d2015de2437e804a24e5d3473398ce10
jusung son [Fri, 16 Dec 2016 09:02:02 +0000 (18:02 +0900)]
Fix API description
Change-Id: I88f6e3228602a744ea21f6ccaacd77b7c5b72da7
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Fri, 2 Dec 2016 07:33:58 +0000 (16:33 +0900)]
Fix double close issue
Change-Id: Ia9ecb6d30f7f248bbc57f6147f85fe25959dfe0f
Signed-off-by: jusung son <jusung07.son@samsung.com>
Hyunho Kang [Mon, 28 Nov 2016 12:14:02 +0000 (21:14 +0900)]
Add define _GNU_SOURCE for strerror_r
Only GNU strerror_r return char *
Change-Id: Id9846081e457a61ab8b2d618d7a7bd828692a8ab
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Wed, 23 Nov 2016 00:41:50 +0000 (09:41 +0900)]
Clear sender socket info when receive socket disconnected event
Change-Id: Ic4a3d75aaa6a0c487c54315b84c0b4e83039d457
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Signed-off-by: jusung son <jusung07.son@samsung.com>
Hyunho Kang [Fri, 18 Nov 2016 02:33:39 +0000 (11:33 +0900)]
Fix CMakeLists.txt
To make extendible for adding source & header files.
Change-Id: Ib6c17d9b9c377e7f914754146aa8384e03098abd
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Wed, 16 Nov 2016 08:24:36 +0000 (17:24 +0900)]
Add mutex lock for multi thread application
Read sequence could be resembled when multi thread
send message concurrently.
Change-Id: Iaf45e86cb347f017417ec6023db5a2d761dd8099
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
jusung son [Mon, 7 Nov 2016 01:13:46 +0000 (10:13 +0900)]
Adjust position of exception handling
Change-Id: I4d8a30e7235a5b530980dada2de149aff0c08d45
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Wed, 12 Oct 2016 05:47:14 +0000 (14:47 +0900)]
Fix memory leak
Change-Id: Ie029d2461a4e5826874791e7238c02de70e15701
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Tue, 11 Oct 2016 04:59:55 +0000 (13:59 +0900)]
Fix typo
Change-Id: I8f0f89fdad1be13a4537f8c75d3713697d730ce9
Signed-off-by: jusung son <jusung07.son@samsung.com>
Hyunho Kang [Mon, 10 Oct 2016 05:22:23 +0000 (14:22 +0900)]
Add EAGAIN/EWOULDBLOCK error handling
- wrt(nodejs) can change blocking socket to none blocking socket
Change-Id: I1846a58aaf14f391558bbe404542990d373d072a
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Thu, 6 Oct 2016 01:02:31 +0000 (10:02 +0900)]
Remove EXPORT_API from internal APIs
- message-port internal APIs are only for message-port package
Change-Id: I609e26fb13ee147080de64d91ea86dc8ced04b66
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Tue, 27 Sep 2016 05:31:19 +0000 (14:31 +0900)]
Fix watch on not exist name bug
Change-Id: I1a3635dfc0bee44799fdd7dfe2645c5767ee1521
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Tue, 20 Sep 2016 07:47:05 +0000 (16:47 +0900)]
Fix callback info management bug
When first callback info removed by socket disconnect(sender die)
callback info hash value will reference freed address and it cause crash
Change-Id: Ia50713ab8198270316c1b1ee8369464d47229bb2
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Thu, 1 Sep 2016 02:29:31 +0000 (11:29 +0900)]
Callback info handling when unregister local port
Change-Id: Ibc107928c837f6cd997ab863faa781a4dcd5e344
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Wed, 31 Aug 2016 04:40:46 +0000 (13:40 +0900)]
Add NULL check logic for message callback
Change-Id: I6a0241ec2364e8b9eac0d8a0b56fe7067d733da8
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Tue, 19 Jul 2016 08:54:21 +0000 (17:54 +0900)]
Modify send message flag
- G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED to G_DBUS_MESSAGE_FLAGS_NONE
- messageport always reply to sender
Change-Id: Ifd7a2ff10943a45ecd4e7540ce2f902db838676a
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Semun Lee [Tue, 12 Jul 2016 14:02:44 +0000 (23:02 +0900)]
Remove declaration of remove functions
Change-Id: I7f1a663f24b097f0a655d4034705dbd20668a73e
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
Hyunho Kang [Tue, 12 Jul 2016 13:53:42 +0000 (22:53 +0900)]
Remove unused functions
Change-Id: I896957796b2e9492124097dfe1e744a6e05a2340
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Thu, 16 Jun 2016 02:30:01 +0000 (11:30 +0900)]
Fix tainted int
Change-Id: I4b7f89fc432b2b4203370633cb76b263a6717db9
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Mon, 13 Jun 2016 01:30:00 +0000 (10:30 +0900)]
Fix null pointer dereference
Change-Id: I4373372025b417f03b00d37114a89c4829cd794d
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Wed, 8 Jun 2016 08:23:25 +0000 (17:23 +0900)]
Fix null pointer dereference
- self send logic is not send fd list and it cause null pointer dereference
Change-Id: Ib3b46504a8d9bb64017b616ad99fb3a324d485e4
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Mon, 30 May 2016 04:33:32 +0000 (13:33 +0900)]
Fix sender hash's wrong value destory func
Change-Id: I09cfc079309a1d4d309195345b9bab4f883ad9c9
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Thu, 19 May 2016 13:33:07 +0000 (22:33 +0900)]
Fix memory leak
Change-Id: I1c61498c99f4c9c7e291709273f15f548fca0622
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Thu, 12 May 2016 09:17:17 +0000 (18:17 +0900)]
Fix socket fd leak
Uneccessary socket dup and send uneccessary fd using gdbus cause fd leak
It also cause sender didn't clear invalid opponent info which already
die.
Change-Id: Ifa79b3340ab5358ecfb1deb5791dc1d5df35ac5f
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Myungki Lee [Thu, 31 Mar 2016 05:38:48 +0000 (14:38 +0900)]
Adjust coding rules
Change-Id: I193e9a3521cfb27994abce51ecc2a62b6aa51a68
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
Myungki Lee [Tue, 22 Mar 2016 07:33:01 +0000 (16:33 +0900)]
Use thread-safe function
Change-Id: I78a659bba1153cd7d2b1e74f989729d3a3073888
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
Hyunho Kang [Thu, 3 Mar 2016 08:57:49 +0000 (17:57 +0900)]
Fix no unlock defect
Change-Id: I94cb41de0e842324577ea1290b73d85110b355db
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Tue, 16 Feb 2016 06:36:05 +0000 (22:36 -0800)]
Merge "Fix parameter of message_port_message_cb in doxygen" into tizen
Hyunho Kang [Tue, 26 Jan 2016 08:42:23 +0000 (17:42 +0900)]
Fix wrong callback called bug
When trusted and none trusted port registered with same
port name, message-port api can not tell which callback
should be called when socket transfer happened.
(after first communication)
Change-Id: Id599946aa0ffe7907225f9123c55fdbd0451fc12
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Mon, 14 Dec 2015 10:33:22 +0000 (19:33 +0900)]
Fix parameter of message_port_message_cb in doxygen
- Add description about message resource
Change-Id: I0294a153da1b60e3b306a12954b6d5ac2ed97852
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
SukHyung, Kang [Wed, 13 Jan 2016 23:36:30 +0000 (08:36 +0900)]
Add doc files for API references
Change-Id: Ib554440be2dcd33a71dba77b760791a231491c46
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>