platform/core/appfw/message-port.git
6 years agoAdd null check when allocating memory 62/142962/1 accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_3.0_mobile accepted/tizen_3.0_tv accepted/tizen_3.0_wearable accepted/tizen/3.0/common/20170810.115117 accepted/tizen/3.0/ivi/20170810.094453 accepted/tizen/3.0/mobile/20170810.094343 accepted/tizen/3.0/tv/20170810.094438 accepted/tizen/3.0/wearable/20170810.094359 submit/tizen_3.0/20170809.043616
Inkyun Kil [Tue, 8 Aug 2017 04:47:01 +0000 (13:47 +0900)]
Add null check when allocating memory

Change-Id: Icf15bed9cb3cd7091eed24126a88203b4cce4130
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
7 years agoFix memory leak 55/114555/1 accepted/tizen/3.0/common/20170214.180929 accepted/tizen/3.0/ivi/20170214.092207 accepted/tizen/3.0/mobile/20170214.091925 accepted/tizen/3.0/tv/20170214.091959 accepted/tizen/3.0/wearable/20170214.092045 submit/tizen_3.0/20170214.043331
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>
(cherry picked from commit 7612ac5efa8dbe20c38557db172f195e9c03a525)

7 years agoProvides libcapi-message-port.so.1 explicitly 41/110841/1 tizen_3.0_tv accepted/tizen/3.0/common/20170120.102136 accepted/tizen/3.0/ivi/20170119.225314 accepted/tizen/3.0/mobile/20170119.225226 accepted/tizen/3.0/tv/20170119.225242 accepted/tizen/3.0/wearable/20170119.225257 submit/tizen_3.0/20170118.065338
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>
7 years agoAdjust dlog level 22/105922/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.121553 accepted/tizen/3.0.m2/tv/20170104.122331 accepted/tizen/3.0.m2/wearable/20170104.122715 accepted/tizen/3.0/common/20161227.101310 accepted/tizen/3.0/ivi/20161226.024757 accepted/tizen/3.0/mobile/20161226.024707 accepted/tizen/3.0/tv/20161226.024730 accepted/tizen/3.0/wearable/20161226.024744 accepted/tizen/common/20170113.184554 accepted/tizen/ivi/20170112.223118 accepted/tizen/mobile/20170112.223020 accepted/tizen/tv/20170112.223043 accepted/tizen/wearable/20170112.223101 submit/tizen/20170112.062902 submit/tizen_3.0.m2/20170104.093749 submit/tizen_3.0/20161222.014602 submit/tizen_common/20170112.224201
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>
7 years agoFix API description 68/105368/1 accepted/tizen/3.0/common/20161221.180508 accepted/tizen/3.0/ivi/20161221.005131 accepted/tizen/3.0/mobile/20161221.005209 accepted/tizen/3.0/tv/20161221.004925 accepted/tizen/3.0/wearable/20161221.005031 submit/tizen_3.0/20161219.021225
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>
7 years agoRevert "Fix API description" 67/105367/1
jusung son [Fri, 16 Dec 2016 09:36:03 +0000 (01:36 -0800)]
Revert "Fix API description"

This reverts commit 87cc6a7ccffa6efe2509c87e7802147b396e6f93.

Change-Id: Idf507a77d2015de2437e804a24e5d3473398ce10

7 years agoFix API description 56/105356/1
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>
7 years agoFix double close issue 15/101815/1 accepted/tizen/3.0/common/20161206.125851 accepted/tizen/3.0/ivi/20161206.000535 accepted/tizen/3.0/mobile/20161206.000432 accepted/tizen/3.0/tv/20161206.000510 accepted/tizen/3.0/wearable/20161206.000525 submit/tizen_3.0/20161205.131352
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>
7 years agoAdd define _GNU_SOURCE for strerror_r 83/100583/2 accepted/tizen/3.0/common/20161129.103323 accepted/tizen/3.0/ivi/20161129.002315 accepted/tizen/3.0/mobile/20161129.002227 accepted/tizen/3.0/tv/20161129.002237 accepted/tizen/3.0/wearable/20161129.002300 submit/tizen_3.0/20161128.121939
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>
7 years agoClear sender socket info when receive socket disconnected event 18/99418/4
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>
7 years agoFix CMakeLists.txt 15/98615/1 accepted/tizen/3.0/common/20161123.140610 accepted/tizen/3.0/ivi/20161123.083219 accepted/tizen/3.0/mobile/20161123.083121 accepted/tizen/3.0/tv/20161123.083147 accepted/tizen/3.0/wearable/20161123.083203 accepted/tizen/common/20161125.095121 accepted/tizen/ivi/20161125.004135 accepted/tizen/mobile/20161125.003544 accepted/tizen/tv/20161125.003902 accepted/tizen/wearable/20161125.004018 submit/tizen/20161124.000829 submit/tizen_3.0/20161122.021326
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>
7 years agoAdd mutex lock for multi thread application 40/98140/2 accepted/tizen/3.0/common/20161117.090609 accepted/tizen/3.0/ivi/20161117.083421 accepted/tizen/3.0/mobile/20161117.083325 accepted/tizen/3.0/tv/20161117.083339 accepted/tizen/3.0/wearable/20161117.083403 submit/tizen_3.0/20161116.081158
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>
7 years agoAdjust position of exception handling 19/95819/1 accepted/tizen/3.0/common/20161114.081054 accepted/tizen/3.0/ivi/20161110.015027 accepted/tizen/3.0/mobile/20161110.014932 accepted/tizen/3.0/tv/20161110.014951 accepted/tizen/3.0/wearable/20161110.015006 accepted/tizen/common/20161107.072159 accepted/tizen/ivi/20161108.000751 accepted/tizen/mobile/20161108.000657 accepted/tizen/tv/20161108.000711 accepted/tizen/wearable/20161108.000731 submit/tizen/20161107.015116 submit/tizen_3.0/20161107.015011 submit/tizen_3.0_common/20161110.084657
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>
7 years agoFix memory leak 89/91889/1
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>
7 years agoFix typo 23/91723/1
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>
7 years agoAdd EAGAIN/EWOULDBLOCK error handling 24/91524/3 accepted/tizen/3.0/ivi/20161028.122947 accepted/tizen/3.0/mobile/20161028.122222 accepted/tizen/3.0/tv/20161028.122521 accepted/tizen/3.0/wearable/20161028.122736 accepted/tizen/common/20161010.145842 accepted/tizen/ivi/20161010.083240 accepted/tizen/mobile/20161010.083148 accepted/tizen/tv/20161010.083208 accepted/tizen/wearable/20161010.083222 submit/tizen/20161010.043049 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082323 submit/tizen_3.0_common/20161104.104000
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>
7 years agoRemove EXPORT_API from internal APIs 02/91102/1
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>
7 years agoFix watch on not exist name bug 98/89798/1 accepted/tizen/3.0/ivi/20161011.055307 accepted/tizen/3.0/mobile/20161015.033618 accepted/tizen/3.0/tv/20161016.005133 accepted/tizen/3.0/wearable/20161015.083515 accepted/tizen/common/20160927.152838 accepted/tizen/ivi/20160928.050352 accepted/tizen/mobile/20160928.050300 accepted/tizen/tv/20160928.050320 accepted/tizen/wearable/20160928.050337 submit/tizen/20160927.094009 submit/tizen_3.0_ivi/20161010.000005 submit/tizen_3.0_mobile/20161015.000004 submit/tizen_3.0_tv/20161015.000004 submit/tizen_3.0_wearable/20161015.000004
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>
7 years agoFix callback info management bug 76/88676/1 accepted/tizen/common/20160920.132202 accepted/tizen/ivi/20160921.081049 accepted/tizen/mobile/20160921.081041 accepted/tizen/tv/20160921.081045 accepted/tizen/wearable/20160921.081036 submit/tizen/20160920.115956
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>
7 years agoCallback info handling when unregister local port 78/86378/2 accepted/tizen/common/20160902.141314 accepted/tizen/ivi/20160905.042207 accepted/tizen/mobile/20160905.042117 accepted/tizen/tv/20160905.042131 accepted/tizen/wearable/20160905.042152 submit/tizen/20160902.035501
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>
7 years agoAdd NULL check logic for message callback 90/86190/1
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>
7 years agoModify send message flag 47/80647/2 accepted/tizen/common/20160803.193142 accepted/tizen/ivi/20160804.080749 accepted/tizen/mobile/20160804.080841 accepted/tizen/tv/20160804.080707 accepted/tizen/wearable/20160804.080520 submit/tizen/20160803.012753
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>
7 years agoRemove declaration of remove functions 46/79746/1
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>
7 years agoRemove unused functions 45/79745/1 accepted/tizen/common/20160715.080142 accepted/tizen/ivi/20160713.000609 accepted/tizen/mobile/20160713.000438 accepted/tizen/tv/20160713.000528 accepted/tizen/wearable/20160713.000509 submit/tizen/20160712.090432 submit/tizen_common/20160715.060833
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>
7 years agoFix tainted int 68/74868/1 accepted/tizen/ivi/20160623.121957 accepted/tizen/mobile/20160623.121920 accepted/tizen/tv/20160623.121927 accepted/tizen/wearable/20160623.121940 submit/tizen/20160622.083438 submit/tizen_common/20160703.163500 submit/tizen_common/20160703.163502 submit/tizen_common/20160703.182952
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>
7 years agoFix null pointer dereference 06/74106/1 accepted/tizen/ivi/20160614.103342 accepted/tizen/mobile/20160614.103240 accepted/tizen/tv/20160614.103319 accepted/tizen/wearable/20160614.103300 submit/tizen/20160613.023047 submit/tizen/20160614.022443
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>
7 years agoFix null pointer dereference 77/73477/1 accepted/tizen/ivi/20160609.090147 accepted/tizen/mobile/20160609.090117 accepted/tizen/tv/20160609.090221 accepted/tizen/wearable/20160609.090136 submit/tizen/20160608.045259
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>
7 years agoFix sender hash's wrong value destory func 13/71813/3 accepted/tizen/ivi/20160602.022854 accepted/tizen/mobile/20160602.023026 accepted/tizen/tv/20160602.022556 accepted/tizen/wearable/20160602.022741 submit/tizen/20160531.024853 submit/tizen_common/20160530.124515
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>
7 years agoFix memory leak 71/70571/7
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>
7 years agoFix socket fd leak 50/69250/3 accepted/tizen/ivi/20160513.082347 accepted/tizen/mobile/20160513.082336 accepted/tizen/tv/20160513.082342 accepted/tizen/wearable/20160513.082332 submit/tizen/20160513.050341
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>
8 years agoAdjust coding rules 76/64176/2 accepted/tizen/ivi/20160406.012801 accepted/tizen/mobile/20160406.012647 accepted/tizen/tv/20160406.012705 accepted/tizen/wearable/20160406.012733 submit/tizen/20160405.052614 submit/tizen_common/20160413.090423
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>
8 years agoUse thread-safe function 28/63128/1 accepted/tizen/ivi/20160323.013554 accepted/tizen/mobile/20160323.013502 accepted/tizen/tv/20160323.013517 accepted/tizen/wearable/20160323.013537 submit/tizen/20160322.121104
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>
8 years agoFix no unlock defect 18/61018/1 accepted/tizen/common/20160304.195112 accepted/tizen/ivi/20160305.091800 accepted/tizen/mobile/20160305.091709 accepted/tizen/tv/20160305.091725 accepted/tizen/wearable/20160305.091744 submit/tizen/20160304.004910
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>
8 years agoMerge "Fix parameter of message_port_message_cb in doxygen" into tizen accepted/tizen/mobile/20160216.103046 accepted/tizen/tv/20160216.103055 accepted/tizen/wearable/20160216.103114 submit/tizen/20160216.063920 submit/tizen_common/20160218.142243
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

8 years agoFix wrong callback called bug 49/57949/4 accepted/tizen/ivi/20160218.023223 accepted/tizen/mobile/20160127.072634 accepted/tizen/tv/20160127.072800 accepted/tizen/wearable/20160127.072836 submit/tizen/20160127.015957 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002
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>
8 years agoFix parameter of message_port_message_cb in doxygen 53/57953/1
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>
8 years agoAdd doc files for API references 48/56948/1 accepted/tizen/mobile/20160114.063932 accepted/tizen/tv/20160114.063953 accepted/tizen/wearable/20160114.064013 submit/tizen/20160114.013557
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>
8 years agoFix message_port_send_message_with_local_port NULL port name bug 13/56613/5 accepted/tizen/mobile/20160113.050750 accepted/tizen/tv/20160113.050810 accepted/tizen/wearable/20160113.050842 submit/tizen/20160113.015457
Hyunho Kang [Mon, 11 Jan 2016 10:26:12 +0000 (19:26 +0900)]
Fix message_port_send_message_with_local_port NULL port name bug

Because of this bug, user can not receive remote app's port name
when user send message with message_port_send_message_with_local_port
right after message_port_send_message API call.

Change-Id: Ic04fc05216e08ee0fc7a252c72ca3a23678d000e
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoFix some defects 12/55512/9 accepted/tizen/mobile/20160104.084409 accepted/tizen/tv/20160104.084457 accepted/tizen/wearable/20160104.084534 submit/tizen/20160103.235609
Myungki Lee [Thu, 24 Dec 2015 06:47:17 +0000 (15:47 +0900)]
Fix some defects

- Add free() to avoid memory leak
- Fix double free.

Change-Id: Iaf2e7cf4da4788a00538c351ef7d925e014b7d1d
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoGet socket fd through AUL 61/55161/4 accepted/tizen/mobile/20151230.223313 accepted/tizen/tv/20151230.223328 accepted/tizen/wearable/20151230.223339 submit/tizen/20151230.015514 submit/tizen/20151230.054910
Hyunho Kang [Tue, 22 Dec 2015 08:30:37 +0000 (17:30 +0900)]
Get socket fd through AUL

- Direct fd passing can be a security hole

Change-Id: I2bc507bdd4cf5dfe43e5e48a91376bf0bf784d9b
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoApply tizen coding rules. 65/53765/5
hyunho kang [Wed, 9 Dec 2015 07:17:40 +0000 (16:17 +0900)]
Apply tizen coding rules.

Change-Id: I57b7eeb4b0152c2c2ccf176974a7a8e39edc83b3
Signed-off-by: hyunho kang <hhstark.kang@samsung.com>
8 years agoFD Passing message-port. 10/48110/5 accepted/tizen/mobile/20150923.052507 accepted/tizen/tv/20150923.052522 accepted/tizen/wearable/20150923.052545 submit/tizen/20150923.015826 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
hyunho kang [Mon, 14 Sep 2015 12:09:12 +0000 (21:09 +0900)]
FD Passing message-port.

Change-Id: I1b6f8a90df1310de92b22bb15738d9b6fd829043
Signed-off-by: hyunho kang <hhstark.kang@samsung.com>
8 years agoFix wrong symbolic link path 14/47914/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150910.070551 accepted/tizen/tv/20150910.070605 accepted/tizen/wearable/20150910.070626 submit/tizen/20150910.040535 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release
Semun Lee [Thu, 10 Sep 2015 03:51:30 +0000 (12:51 +0900)]
Fix wrong symbolic link path

Change-Id: I7134b803f21357532443a08cbff779a2ab2691cd
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
8 years agoMake symbolic link for 2.x compatibility. 90/47890/1 accepted/tizen/mobile/20150910.025002 accepted/tizen/tv/20150910.025017 accepted/tizen/wearable/20150910.025029 submit/tizen/20150910.011113
hyunho kang [Wed, 9 Sep 2015 14:46:55 +0000 (23:46 +0900)]
Make symbolic link for 2.x compatibility.

Change-Id: I7490d86268505828bb8e87d8a5636803b88c1c05
Signed-off-by: hyunho kang <hhstark.kang@samsung.com>
8 years agosync with tizen_2.4 latest sources. 40/42440/1 accepted/tizen/mobile/20150702.104950 accepted/tizen/tv/20150702.105005 accepted/tizen/wearable/20150702.105019 submit/tizen/20150702.004900
Jiwoong Im [Mon, 29 Jun 2015 07:52:43 +0000 (16:52 +0900)]
sync with tizen_2.4 latest sources.

- Fix getting interface name for arbitrary string
- Fix deadlock
- Fix double free issue
- Fix timeout and error return logic for 2.3 comparibility

Change-Id: I61eff2faa96f89364a7af3750c8b7ee472dc2b46
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agofix wrong name in capi-message-port.pc file. 59/40859/1 accepted/tizen_3.0.2015.q2_common tizen_3.0.2015.q2_common accepted/tizen/3.0.2015.q2/common/20150615.091750 accepted/tizen/common/20150610.092612 accepted/tizen/mobile/20150610.095837 accepted/tizen/tv/20150610.095932 accepted/tizen/wearable/20150610.095919 submit/tizen/20150610.021054 submit/tizen_3.0.2015.q2_common/20150615.075539
Jiwoong Im [Wed, 10 Jun 2015 00:48:17 +0000 (09:48 +0900)]
fix wrong name in capi-message-port.pc file.

Change-Id: I697a490e6a3800033bc6a4529e4b0ff0edb65da6
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoupdate source from tizen 2.4 71/40571/1 accepted/tizen/3.0.2015.q2/common/20150609.181924 accepted/tizen/common/20150609.150851 accepted/tizen/mobile/20150610.000725 accepted/tizen/tv/20150610.000927 accepted/tizen/wearable/20150610.000959 submit/tizen/20150609.025105 submit/tizen_3.0.2015.q2_common/20150609.170642
Jiwoong Im [Fri, 5 Jun 2015 07:22:10 +0000 (16:22 +0900)]
update source from tizen 2.4

- implementation based on gdbus
- This repository contain capi-message-port and message-port.
  To provide 2 packages, install 2 pc files.

Change-Id: Iaaa83771690d6e1701e07eead6ab6d9a467c7475
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoclean spec file for yocto compliance. 83/24383/2 tizen_2.2 submit/tizen_common/20150424.162901
Ronan Le Martret [Fri, 11 Jul 2014 09:41:13 +0000 (11:41 +0200)]
clean spec file for yocto compliance.

Change-Id: I6d6d0d3d1c087fb3b38b317be10b14f2b699bff3
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
9 years agoremove useless hard path From Cmake file. 39/23439/2
Ronan Le Martret [Wed, 25 Jun 2014 15:08:21 +0000 (17:08 +0200)]
remove useless hard path From Cmake file.

Cmake provides the path throw
 SET(requires "dlog bundle glib-2.0 aul chromium")
 pkg_check_modules(${this_target} REQUIRED ${requires})

So, we only need:
INCLUDE_DIRECTORIES (
include
)

Change-Id: I6da0dd0c5df0d1dce6ada6698b9779ec6d9cb0da
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
10 years agoAdd error type 93/14093/1 accepted/tizen/generic accepted/tizen/mobile accepted/tizen_generic accepted/tizen/generic/20140106.140329 accepted/tizen/generic/20140108.092110 accepted/tizen/ivi/20131227.204753 accepted/tizen/mobile/20131227.211641 submit/tizen/20131227.064716 submit/tizen/20140108.000628 submit/tizen/20140108.000659 submit/tizen/20140108.002310
Hyunbin Lee [Tue, 19 Nov 2013 05:41:52 +0000 (14:41 +0900)]
Add error type

Change-Id: I92f74c1c9ef5e4492bca78144214989fac16ec1f
Signed-off-by: Hyunbin Lee <hyunbin.lee@samsung.com>
10 years agoSync with tizen_2.2.1 accepted/tizen/20131211.175441 accepted/tizen/mobile/20131216.220304 submit/tizen/20131211.082227
Hyunbin Lee [Tue, 10 Dec 2013 05:08:02 +0000 (14:08 +0900)]
Sync with tizen_2.2.1

10 years agoChange file path of domain socket
Hyunbin Lee [Thu, 26 Sep 2013 00:40:24 +0000 (09:40 +0900)]
Change file path of domain socket

Change-Id: I4302f9fea4d0df1df311e1104cb178cfde45f489
Signed-off-by: Hyunbin Lee <hyunbin.lee@samsung.com>
10 years agoUpdate the license name
Sunwook Bae [Thu, 5 Sep 2013 07:29:29 +0000 (16:29 +0900)]
Update the license name

Change-Id: I0e86d7a58f27e8e697aa0721d28b61ef041f946d
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
10 years agoFix RPMLINT errors 62/9662/2 accepted/tizen/ivi/genivi accepted/tizen/ivi/release tizen_ivi_genivi accepted/tizen/20130912.102759 accepted/tizen/20130912.102835 accepted/tizen/20130912.153138 accepted/tizen/20130912.191158 accepted/tizen/20130912.195314 accepted/tizen/ivi/genivi/20140131.060121 accepted/tizen_ivi_release/20131120.050504 ivi_oct_m2 submit/tizen/20130905.074124 submit/tizen/20130912.080126 submit/tizen/20130912.090434 submit/tizen_ivi_genivi/20140131.060233 submit/tizen_ivi_release/20131120.022443 submit/tizen_ivi_release/20131120.025948
Maciej Wereski [Wed, 4 Sep 2013 12:24:51 +0000 (14:24 +0200)]
Fix RPMLINT errors

These errors caused build to fail (badness score above threshold).
Also added missing changes file.

Change-Id: I4a8fe5a1b6664c39c583eb12532f329cafce4197
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
10 years agoSync with tizen_2.2
Sunwook Bae [Tue, 27 Aug 2013 10:17:56 +0000 (19:17 +0900)]
Sync with tizen_2.2

Change-Id: I0715d9ce7a485d0f0ac3f9e1f131a1568ea0119f

10 years agoFix a memory leak in Deserializer
Sunwook Bae [Mon, 26 Aug 2013 11:35:39 +0000 (20:35 +0900)]
Fix a memory leak in Deserializer

Change-Id: I7c83b8c8cd59102037b280c5f61e54843a6e1fb7
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
10 years agoUpdate to use the aul api instead of app-manager
Sunwook Bae [Wed, 21 Aug 2013 07:30:13 +0000 (16:30 +0900)]
Update to use the aul api instead of app-manager

Change-Id: I976ab3deae12bbcf14d5a79e4a4551e2c9a24d3b
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
10 years agoRemove the pid info in the hello message
Sunwook Bae [Mon, 19 Aug 2013 05:39:21 +0000 (14:39 +0900)]
Remove the pid info in the hello message

Change-Id: I88a099aad0a4e58cad3320c1878a2984556027fc
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
10 years agoAdd to check the EXPORT_API define
Sunwook Bae [Tue, 13 Aug 2013 00:33:46 +0000 (09:33 +0900)]
Add to check the EXPORT_API define

Change-Id: I17c525c6c4a512a4e7991cfcf12fadcba0bea3ca
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
10 years agoChange the default visibility to hidden
Sunwook Bae [Mon, 12 Aug 2013 11:11:45 +0000 (20:11 +0900)]
Change the default visibility to hidden

Change-Id: Ief04ded934465949d396c994516306ef72ed3089
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
10 years agoApply the secure logs
Sunwook Bae [Wed, 31 Jul 2013 11:08:39 +0000 (20:08 +0900)]
Apply the secure logs

Change-Id: Ic5b87849f5a921dfde4811ce28867aff63ddbcf5
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
10 years agoUpdate document
Sunwook Bae [Wed, 24 Jul 2013 10:51:32 +0000 (19:51 +0900)]
Update document

Change-Id: Iafb50a706ead369282dee26bd11c0dbf4204bb25
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
10 years agoresetting manifest requested domain to floor 05/5405/2 accepted/tizen/20130710.221523 submit/tizen/20130710.102937
Alexandru Cornea [Mon, 1 Jul 2013 13:29:52 +0000 (16:29 +0300)]
resetting manifest requested domain to floor

Change-Id: I703521cf4a79fc8f24f0e9e6d59578b7a4a6de2c

10 years agoChange LOGD to LOGI
Sunwook Bae [Tue, 11 Jun 2013 05:35:04 +0000 (14:35 +0900)]
Change LOGD to LOGI

Change-Id: I77f789a543cd94a1af98b61ceff79840c6b766f4
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
10 years agoChange version to 2.2
Sunwook Bae [Fri, 7 Jun 2013 10:29:00 +0000 (19:29 +0900)]
Change version to 2.2

Change-Id: I5be8e7bfd9431fbec7c0a5bf1728f8a2abf63132
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
10 years agoFix a prevent issue
Sunwook Bae [Tue, 4 Jun 2013 01:38:18 +0000 (10:38 +0900)]
Fix a prevent issue

Change-Id: I519ff000a0c57cc496069a8cb41b4fdce8f6d14f
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
10 years agoAdd an error-checking in write()
Sunwook Bae [Wed, 22 May 2013 06:56:26 +0000 (15:56 +0900)]
Add an error-checking in write()

Change-Id: I3297030d5f5c45838cd4090d32e2cd2bdeccf1e6
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
10 years agoFix an issue on registering the same port
Sunwook Bae [Tue, 21 May 2013 04:42:06 +0000 (13:42 +0900)]
Fix an issue on registering the same port

Change-Id: I2f4f42ae30b9a4436d932478cbf73110f64fbf64
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
10 years agoAdd a retry logic tizen_2.1 accepted/tizen/20130520.100922 submit/tizen/20130517.044816 submit/tizen_2.1/20130515.031023
Sunwook Bae [Tue, 14 May 2013 07:07:06 +0000 (16:07 +0900)]
Add a retry logic

Change-Id: Ife73c2f7f30e50a0d723b0533ef0da32c02151c0
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
10 years agoPrevent fix
Sunwook Bae [Sat, 11 May 2013 02:11:15 +0000 (11:11 +0900)]
Prevent fix

Change-Id: Ic64896aebd350e2693fc08f4eee30c45ab53898f
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
10 years agoUpdate documents
Sunwook Bae [Sat, 11 May 2013 00:45:20 +0000 (09:45 +0900)]
Update documents

Change-Id: Id9dafeee19c329235518308dc2550d1474563151
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
10 years agoMerge "Change to use bundle_encode_raw" into tizen_2.1 submit/tizen_2.1/20130514.053306
Sunwook Bae [Fri, 10 May 2013 01:57:20 +0000 (10:57 +0900)]
Merge "Change to use bundle_encode_raw" into tizen_2.1

10 years agoChange to use bundle_encode_raw
Sunwook Bae [Mon, 6 May 2013 01:07:27 +0000 (10:07 +0900)]
Change to use bundle_encode_raw

Change-Id: I21d2544b9cf6ffbcb613144c25c66ed66a503f30
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
10 years agoAdd a debug pkg
Sunwook Bae [Tue, 7 May 2013 05:57:17 +0000 (14:57 +0900)]
Add a debug pkg

Change-Id: Icaf2ea7b8de8385f4e278b11276675950f3388fa
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
10 years agoremove message_port_unregister
Sunwook Bae [Fri, 26 Apr 2013 06:20:55 +0000 (15:20 +0900)]
remove message_port_unregister

Change-Id: I1c8e60e6ff80c86dc2d5477ad75ce24afa968ae7
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
10 years agoRemove uninitialised bytes
Sunwook Bae [Thu, 25 Apr 2013 05:58:09 +0000 (14:58 +0900)]
Remove uninitialised bytes

Change-Id: Ie5809a395b27d9b02a9a46838216bfa5d2d5392e
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
10 years agoGet appid from pid 2.1b_release accepted/tizen_2.1/20130425.035438 submit/tizen_2.1/20130424.230850
Sunwook Bae [Mon, 22 Apr 2013 10:37:35 +0000 (19:37 +0900)]
Get appid from pid

Change-Id: I573c23cbdfd9b29239eb7b72cbd9c8f4ba9e1292
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
11 years agoApply secure logs
Sunwook Bae [Wed, 17 Apr 2013 12:42:14 +0000 (21:42 +0900)]
Apply secure logs

Change-Id: Ie6904a333c8f0bb29290d65a49635f5037182a82
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
11 years agoAdd an OnIpcServerDisconnected in IpcClient
Sunwook Bae [Tue, 16 Apr 2013 01:43:56 +0000 (10:43 +0900)]
Add an OnIpcServerDisconnected in IpcClient

Change-Id: I13ae30dfdec7dea7435631b5746d09a6f3ce841b
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
11 years agoSeparate the metadata
Sunwook Bae [Thu, 11 Apr 2013 04:44:59 +0000 (13:44 +0900)]
Separate the metadata

Change-Id: I47f892f3648d73f7e3c5d258a446dda2344fdeb1
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
11 years agoFix for 64 bit compatibility.
Junfeng Dong [Mon, 8 Apr 2013 05:46:28 +0000 (13:46 +0800)]
Fix for 64 bit compatibility.

- Fix hardcoding path.
- Use %cmake to set default paths.

Change-Id: Ib1e658e004e7d4bd3095aaa7f75c240dc59a7e7f

11 years agoMove a cert check to channel-service
Sunwook Bae [Fri, 29 Mar 2013 00:07:29 +0000 (09:07 +0900)]
Move a cert check to channel-service

Change-Id: I4bc8d563067ebd8602a68f2e401e17b644622afc
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
11 years agoMerge from master
Sunwook Bae [Mon, 18 Mar 2013 01:52:37 +0000 (10:52 +0900)]
Merge from master

Change-Id: I4491b2f96de3c01031da304f2caff23bf87302ba
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
11 years agosync with master
Jinkun Jang [Sat, 16 Mar 2013 12:17:33 +0000 (21:17 +0900)]
sync with master

11 years agoInitial empty repository
HyungKyu Song [Thu, 24 Jan 2013 09:11:04 +0000 (18:11 +0900)]
Initial empty repository