platform/core/appfw/data-control.git
8 years agoModify strerror to strerror_r 44/63144/1 accepted/tizen/common/20160325.133758 accepted/tizen/ivi/20160323.013556 accepted/tizen/mobile/20160323.013505 accepted/tizen/tv/20160323.013519 accepted/tizen/wearable/20160323.013539 submit/tizen/20160322.121104
Hyunho Kang [Tue, 22 Mar 2016 08:08:42 +0000 (17:08 +0900)]
Modify strerror to strerror_r

- strerror makes no guarantee of thread safety

Change-Id: If19e318bcc414977937ca9eff1b38b179693cfab
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoFix defect 08/61008/1 accepted/tizen/common/20160304.195128 accepted/tizen/ivi/20160305.091906 accepted/tizen/mobile/20160305.091819 accepted/tizen/tv/20160305.091834 accepted/tizen/wearable/20160305.091851 submit/tizen/20160304.005000
Hyunho Kang [Thu, 3 Mar 2016 08:20:57 +0000 (17:20 +0900)]
Fix defect

- Memory leak
- Tainted int
- Fall through

Change-Id: I808e9f0fe38f8cbd2181bfaadce84b87b7027c95
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoGet column name & consumer cannot receive select error callback bug fix 97/56997/9 accepted/tizen/ivi/20160218.023319 accepted/tizen/mobile/20160115.113825 accepted/tizen/tv/20160115.113847 accepted/tizen/wearable/20160115.113857 submit/tizen/20160115.082829 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002
Hyunho Kang [Thu, 14 Jan 2016 07:37:24 +0000 (16:37 +0900)]
Get column name & consumer cannot receive select error callback bug fix

- datacontrol_sql_get_column_name API return wrong column name because
of wrong file descriptor offset. Old cursor file(tizen_2.4) contains
only column name but new cursor file(tizen_3.0) contains both colum name
and column name length.

- When provider encounter error it can notify error
informaion to consumer with data_control_provider_send_error.
If provider send error information while processing select/get
process, consumer wait select data(select process has to receive two
response, result and selected data).
So, we fix this issue in the way that consumer try to receive select
data after check select result is success or not.

Change-Id: I22cd765b8cfe5297a1990730e0e54f8d6de26188
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoAdd doc files for API references 46/56946/1 accepted/tizen/mobile/20160114.063619 accepted/tizen/tv/20160114.063657 accepted/tizen/wearable/20160114.063716 submit/tizen/20160114.013203
SukHyung, Kang [Wed, 13 Jan 2016 23:24:28 +0000 (08:24 +0900)]
Add doc files for API references

Change-Id: I7152cb23ab74c61072da090730d5872f8ed20a01
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
8 years agoFix wrong cursor_fd control 12/55312/1 accepted/tizen/mobile/20151223.110126 accepted/tizen/tv/20151223.105906 accepted/tizen/wearable/20151223.110551 submit/tizen/20151223.063533 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
jusung son [Wed, 23 Dec 2015 05:14:52 +0000 (14:14 +0900)]
Fix wrong cursor_fd control

Change-Id: I903ccf49f9fad41912b25ef96b51f8a4281c1ea2
Signed-off-by: jusung son <jusung07.son@samsung.com>
8 years agoFix defect 69/54969/3 accepted/tizen/mobile/20151221.223840 accepted/tizen/tv/20151221.223856 accepted/tizen/wearable/20151221.223914 submit/tizen/20151221.112821
Hyunho Kang [Mon, 21 Dec 2015 05:31:06 +0000 (14:31 +0900)]
Fix defect

- Unreachable code
- Unchecked function result
- Negative return value handle
- Memory leak

Change-Id: I21ecb692a244e9c41861471836880ed6d4537297
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoFix INTEGER OVERFLOW 56/54956/1
Hyunho Kang [Mon, 21 Dec 2015 04:10:00 +0000 (13:10 +0900)]
Fix INTEGER OVERFLOW

Change-Id: Ia51b62e2dafb28e4282a1e8ea61fbe351074a2df
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoFix bugs 95/54895/3 accepted/tizen/mobile/20151219.044112 accepted/tizen/tv/20151219.044534 accepted/tizen/wearable/20151219.044824 submit/tizen/20151218.121239
Hyunho Kang [Fri, 18 Dec 2015 11:44:11 +0000 (20:44 +0900)]
Fix bugs

- Remove double free logic
- Add NULL value column handling logic
- Fix datacontrol_sql_update wrong return value

Change-Id: Ied04779087319da2f32527c3c5f9c293a6fcd66c
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoInclude bundle_internal.h for internal bundle apis 55/54255/1 accepted/tizen/mobile/20151217.023647 accepted/tizen/tv/20151217.023705 accepted/tizen/wearable/20151217.023728 submit/tizen/20151214.084555
Semun Lee [Mon, 14 Dec 2015 10:06:54 +0000 (19:06 +0900)]
Include bundle_internal.h for internal bundle apis

Some bundle apis are platform internal apis
and we need to include bundle_internal.h to use them

Change-Id: I7dd56ed0d54ad01d86152c809ab5964e6ea0acd1
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
8 years agoApply tizen coding rules. 59/53759/2
hyunho kang [Wed, 9 Dec 2015 07:00:42 +0000 (16:00 +0900)]
Apply tizen coding rules.

Change-Id: I3805ec25f57debb6c52eb356155775190bf2d24f
Signed-off-by: hyunho kang <hhstark.kang@samsung.com>
8 years agoImprove data-control performance using socket fd passing. 40/49940/23 accepted/tizen/mobile/20151209.131614 accepted/tizen/tv/20151209.131629 accepted/tizen/wearable/20151209.131654 submit/tizen/20151209.021057
hyunho kang [Thu, 22 Oct 2015 02:15:01 +0000 (11:15 +0900)]
Improve data-control performance using socket fd passing.

Change-Id: I46f560f5725baf74e35f7832ebf83022e5f3f036
Signed-off-by: hyunho kang <hhstark.kang@samsung.com>
Signed-off-by: jusung.son <jusung07.son@samsung.com>
8 years agoadd sqlite3 dependency 54/49254/2 accepted/tizen/mobile/20151016.102606 accepted/tizen/tv/20151016.102617 accepted/tizen/wearable/20151016.102635 submit/tizen/20151012.020819 submit/tizen/20151016.043816 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Jiwoong Im [Mon, 12 Oct 2015 04:11:24 +0000 (13:11 +0900)]
add sqlite3 dependency

Change-Id: I9000de0380d4fc9de9111a74c52e79cdc676d41e
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoFix wrong symbolic link path 15/47915/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150910.070552 accepted/tizen/tv/20150910.070606 accepted/tizen/wearable/20150910.070627 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
hyunho kang [Thu, 10 Sep 2015 03:59:26 +0000 (12:59 +0900)]
Fix wrong symbolic link path

Change-Id: Id597537a32e58ebada6ad1e9c5ed5bae1db74232
Signed-off-by: hyunho kang <hhstark.kang@samsung.com>
8 years agoMake symbolic link for 2.x compatibility. 89/47889/1 accepted/tizen/mobile/20150910.025003 accepted/tizen/tv/20150910.025018 accepted/tizen/wearable/20150910.025030 submit/tizen/20150910.011113
hyunho kang [Wed, 9 Sep 2015 14:45:10 +0000 (23:45 +0900)]
Make symbolic link for 2.x compatibility.

Change-Id: I6213a285c326f8bde05b0a5db9183c9b6d86af38
Signed-off-by: hyunho kang <hhstark.kang@samsung.com>
8 years agoAdd privilege check logic. 73/47673/6
hyunho kang [Tue, 8 Sep 2015 01:33:28 +0000 (10:33 +0900)]
Add privilege check logic.

Change-Id: If88da0a79632bf3dc80412559aaed5298fd748f4
Signed-off-by: hyunho kang <hhstark.kang@samsung.com>
8 years agochange data-control dir to /tmp/data-control 64/46664/1 accepted/tizen/mobile/20150826.065957 accepted/tizen/tv/20150826.070058 accepted/tizen/wearable/20150826.070331 submit/tizen/20150826.040557
Jiwoong Im [Mon, 24 Aug 2015 14:02:32 +0000 (23:02 +0900)]
change data-control dir to /tmp/data-control

Change-Id: Ia1ae2b2a267248a26939ba785a18022f2aa9de72
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoremove unused include header 50/45850/1 accepted/tizen/mobile/20150812.110854 accepted/tizen/tv/20150812.110905 accepted/tizen/wearable/20150812.110917 submit/tizen_mobile/20150812.025625 submit/tizen_mobile/20150812.074327 submit/tizen_tv/20150812.031249 submit/tizen_wearable/20150812.031455
Jiwoong Im [Wed, 12 Aug 2015 03:02:20 +0000 (12:02 +0900)]
remove unused include header

- <sys/smack.h>

Change-Id: I458631173b3570d5942e0f3c1ece1f0acc30a5ba
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoFix tmp file path, permissions 25/43525/2 accepted/tizen/mobile/20150710.080404 accepted/tizen/tv/20150710.080416 accepted/tizen/wearable/20150710.080432 submit/tizen/20150710.070244
Sangyoon Jang [Fri, 10 Jul 2015 02:03:31 +0000 (11:03 +0900)]
Fix tmp file path, permissions

Change-Id: Ic604f90837c27a069ade74c5ca8383ad76ea17ce
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix tmp file path for sql operation 20/39920/1 accepted/tizen/mobile/20150707.035146 accepted/tizen/tv/20150707.035151 accepted/tizen/wearable/20150707.035209 submit/tizen/20150707.014633
Sangyoon Jang [Tue, 26 May 2015 11:35:09 +0000 (20:35 +0900)]
Fix tmp file path for sql operation

Change-Id: Ie567e57d2e6042792213aec0ae30806a8ab50b0a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix to use 'usr' prefixed pkgmgr-info apis 10/39910/2
Sangyoon Jang [Tue, 26 May 2015 08:59:01 +0000 (17:59 +0900)]
Fix to use 'usr' prefixed pkgmgr-info apis

Change-Id: Id81a828272e0635711769570a32d01f814ba1c5b
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agodata-control & capi-data-control : initial commit 61/33661/6 tizen_3.0.2015.q2_common accepted/tizen/common/20150224.150857 accepted/tizen/common/20150522.095428 accepted/tizen/mobile/20150225.010339 accepted/tizen/tv/20150225.005343 accepted/tizen/wearable/20150225.005527 submit/tizen/20150224.123946 submit/tizen_common/20150522.093419
Jiwoong Im [Tue, 13 Jan 2015 13:12:22 +0000 (22:12 +0900)]
data-control & capi-data-control : initial commit

data-control source from tizen 2.3
- Data control api which is released in tizen_2.3 is a standard
  mechanism for exchanging specific data between applications.
- JIRA ticket : TC-2324

Features
- This repository contain data-control and capi-data-control(by rpm alias).
  To provide 2 packages, install 2 pc files.

Change-Id: Id8725dcec33ce0204d47a51d663c31df466c3fda
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoInitial empty repository master
JaeKyu Park [Tue, 6 Jan 2015 00:36:35 +0000 (16:36 -0800)]
Initial empty repository