platform/core/appfw/data-control.git
7 years agoRelease version 0.3.3 76/149276/2 accepted/tizen/unified/20170913.071249 submit/tizen/20170912.055746
Inkyun Kil [Tue, 12 Sep 2017 04:36:07 +0000 (13:36 +0900)]
Release version 0.3.3

 - Fix wrong doxygen
 - Fix wrong condition related to privilege control
 - Adjust coding rule

Change-Id: I05e9e337ff65dcf89898cb7270b8157c08a3336f
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
7 years agoAdjust coding rule 77/149277/2
Seungha Son [Tue, 12 Sep 2017 04:36:48 +0000 (13:36 +0900)]
Adjust coding rule

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I516a2bf9b633d9180a59a6b33ee45f9ec19fe0d3

7 years agoFix wrong doxygen 56/144856/7
Inkyun Kil [Fri, 18 Aug 2017 07:03:51 +0000 (16:03 +0900)]
Fix wrong doxygen

Change-Id: I63fa7e8cd17f7760f260b4415940c69171c07d76
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
7 years agoFix wrong condition related to privilege control 12/149212/1
jusung son [Tue, 12 Sep 2017 01:56:37 +0000 (10:56 +0900)]
Fix wrong condition related to privilege control

Change-Id: Id863a49e48c89f48578bdc76931793675dbe6a25
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoRelease version 0.3.2 75/148475/1 accepted/tizen/unified/20170911.155714 submit/tizen/20170908.031412 submit/tizen/20170910.063640
Inkyun Kil [Fri, 8 Sep 2017 03:03:40 +0000 (12:03 +0900)]
Release version 0.3.2

-Fix log arguments error

Change-Id: I5124be4e8e6d720675652e92799ea28156de7425
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
7 years agoFix log arguments error 03/148403/1
Inkyun Kil [Fri, 8 Sep 2017 01:30:13 +0000 (10:30 +0900)]
Fix log arguments error

Change-Id: I30a1994eaae40b3ac43f6b16b51928201018aaad
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
7 years agoRelease version 0.3.1 16/145316/1 accepted/tizen/4.0/unified/20170828.223838 accepted/tizen/unified/20170823.031656 submit/tizen/20170822.051313 submit/tizen_4.0/20170828.100002
jusung son [Tue, 22 Aug 2017 05:26:22 +0000 (14:26 +0900)]
Release version 0.3.1

Changes:
  - Fix tainted int
  - Fix out of memory and wrong descriptions for retval
  - Fixed minor issues

Change-Id: I66e13e242642e020f5e3a93abadf979573a99f92
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoFix tainted int 93/145093/4
jusung son [Mon, 21 Aug 2017 08:09:19 +0000 (17:09 +0900)]
Fix tainted int

 - boundary check
 - strtol exception handling

Change-Id: Ife7ad3f3940f56c88e0f93b8179db4875c894d0b
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoFix out of memory and wrong descriptions for retval 51/139751/9
Inkyun Kil [Thu, 20 Jul 2017 09:01:39 +0000 (18:01 +0900)]
Fix out of memory and wrong descriptions for retval

Change-Id: I9107da818a64e67c3f37d4fecd747e8735ec88c8
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoMerge "Fixed minor issues" into tizen
jusung son [Fri, 18 Aug 2017 00:24:18 +0000 (00:24 +0000)]
Merge "Fixed minor issues" into tizen

7 years agoRelease version 0.3.0 18/142918/1 accepted/tizen/unified/20170811.071605 submit/tizen/20170811.012519
Inkyun Kil [Tue, 8 Aug 2017 01:29:00 +0000 (10:29 +0900)]
Release version 0.3.0

- Add new apis for multiple response callback

Change-Id: I70798e41e00801c5a976110a72bc08143d192049
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
7 years agoAdd new apis for multiple response callback 47/135747/45
Inkyun Kil [Mon, 26 Jun 2017 08:09:40 +0000 (17:09 +0900)]
Add new apis for multiple response callback

- 'data_control_map_register_response_cb',
  'data_control_sql_register_response_cb',
  'data_control_map_register_add_bulk_data_response_cb'
  'data_control_sql_register_insert_bulk_data_response_cb'
  couldn't register multiple callback for same provider id.
  This patch is for registering multiple callback for same provider id.

Change-Id: I24190ef238d955e9a07ade38e0f6ecd4be7d271e
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoRelease version 0.2.6 94/141294/1 accepted/tizen/4.0/unified/20170816.011557 accepted/tizen/4.0/unified/20170816.014808 accepted/tizen/unified/20170801.054852 submit/tizen/20170731.012542 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
jusung son [Mon, 31 Jul 2017 01:16:13 +0000 (10:16 +0900)]
Release version 0.2.6

Change:
 - Fix wrong log format

Change-Id: I729b994b5a0c9003a3f380bd9f7f9a55f050ac25
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoFix wrong log format 16/141116/1
jusung son [Fri, 28 Jul 2017 07:36:20 +0000 (16:36 +0900)]
Fix wrong log format

Change-Id: I92fa4ad7828ca9e3f1ed04ce8d6dc2230180b8a7
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoFixed minor issues 04/140804/1
ashish.cb [Wed, 26 Jul 2017 10:43:57 +0000 (16:13 +0530)]
Fixed minor issues

Change-Id: I6e8ffd6c53d8754aa067d3687a62015be67f1dc5

7 years agoRelease version 0.2.5 09/139909/1 accepted/tizen/unified/20170724.020223 submit/tizen/20170721.041626
jusung son [Fri, 21 Jul 2017 04:21:30 +0000 (13:21 +0900)]
Release version 0.2.5

Changes:
  - Change the socket to non-blocking mode
  - Add null check when allocating memory

Change-Id: I737a6806b8bd569e8fa39e1646f2a94e66b6e26d
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoChange the socket to non-blocking mode. 68/139068/5
jusung son [Mon, 17 Jul 2017 06:53:23 +0000 (15:53 +0900)]
Change the socket to non-blocking mode.

  - In blocking mode, the consumer is blocked when the buffer of the provider is full

  - Related patch
    [amd] https://review.tizen.org/gerrit/#/c/139090/

Change-Id: I5ddd5cfddfb5f1653e24a3c4e139b467e85f6078
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoAdd null check when allocating memory 16/139116/2
jusung son [Mon, 17 Jul 2017 10:16:07 +0000 (19:16 +0900)]
Add null check when allocating memory

Change-Id: Ifa10e7dfa9f01e57f8208401b601961a074417be
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoRelease version 0.2.4 66/137666/1 accepted/tizen/unified/20170710.154532 submit/tizen/20170707.024819 submit/tizen/20170710.010836
Hyunho Kang [Fri, 7 Jul 2017 04:16:00 +0000 (13:16 +0900)]
Release version 0.2.4

Changes:
 - Fix wrong log format
 - Refactor codes

Change-Id: Ia38f5df977dabaee967990d76af58d48404d24bd
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix wrong log format 11/137611/1
Hyunho Kang [Fri, 7 Jul 2017 01:04:59 +0000 (10:04 +0900)]
Fix wrong log format

Change-Id: I56f1af732ce28d4f640f5f0cc743b0cffcd5a376
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRefactor codes 55/134155/27
Inkyun Kil [Thu, 15 Jun 2017 02:41:24 +0000 (11:41 +0900)]
Refactor codes

- The goal of this patch is to remove duplicated codes

Change-Id: I7e075196935b1a909ccca50e6dc27fea2d499cd9
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoRelease version 0.2.3 48/133648/1 accepted/tizen/unified/20170613.194206 submit/tizen/20170613.043244
Hyunho Kang [Tue, 13 Jun 2017 04:18:03 +0000 (13:18 +0900)]
Release version 0.2.3

Changes:
  - Fix invalid log format
  - Check bound for column count

Change-Id: I198e337a4f2f6720a6a0f5e32b5bd15abdd76e02
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoCheck bound for column count 13/133613/2
Hyunho Kang [Tue, 13 Jun 2017 02:30:06 +0000 (11:30 +0900)]
Check bound for column count

Change-Id: I5653f8a332f79c34cce680deaadf9985a8c7ea96
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix invalid log format 38/133538/1
Hwankyu Jhun [Mon, 12 Jun 2017 22:40:50 +0000 (07:40 +0900)]
Fix invalid log format

Change-Id: I91bd4d70d2bb5b96eefff101383d61ddd2b1d169
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.2.2 37/133137/1 accepted/tizen/unified/20170609.204218 submit/tizen/20170609.050739
Jiwoong Im [Fri, 9 Jun 2017 04:56:17 +0000 (13:56 +0900)]
Release version 0.2.2

Changes:
 - Send provider info when requesting socket pair

Change-Id: Ife240f03edc82d46f9df2087a6d1e828cca9d278
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoSend provider info when requesting socket pair 82/129882/5
Jiwoong Im [Thu, 18 May 2017 08:39:11 +0000 (17:39 +0900)]
Send provider info when requesting socket pair

- To check privilege in amd, send provider information
  when requesting socket pair
- Related patches
  [amd] https://review.tizen.org/gerrit/#/c/129881/
  [aul-1] https://review.tizen.org/gerrit/#/c/129880/
  [tpk-manifest-handler] https://review.tizen.org/gerrit/#/c/129211/
  [app-installers] https://review.tizen.org/gerrit/#/c/129212/
  [pkgmgr-info] https://review.tizen.org/gerrit/#/c/129210/

Change-Id: I43822defc3068c2ab691bda0d2f586b0e9a58866
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoRelease version 0.2.1 59/127359/2 accepted/tizen/unified/20170428.033027 submit/tizen/20170427.055106 submit/tizen/20170427.131814 tizen_4.0.m1_release
Jiwoong Im [Thu, 27 Apr 2017 05:25:37 +0000 (14:25 +0900)]
Release version 0.2.1

Changes:
 - Fix certificate check step in datacontrol noti api

Change-Id: Ifeb05fa1072eacebd4839fde3bf39bdcac506474
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoFix certificate check step in datacontrol noti api 23/127023/1
Jiwoong Im [Wed, 26 Apr 2017 01:52:53 +0000 (10:52 +0900)]
Fix certificate check step in datacontrol noti api

Change-Id: If5e9670a469413f676709676fad1200868c1299b
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoRelease version 0.2.0 79/126279/2 accepted/tizen/unified/20170421.113757 submit/tizen/20170421.005321
Inkyun Kil [Fri, 21 Apr 2017 01:18:06 +0000 (10:18 +0900)]
Release version 0.2.0

Changes:
 - Fix memory leaks
 - Add datacontrol trusted communication

Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Change-Id: Ie6366f80f60d000b16d5e96e48c5ffacf5635c4b

7 years agoAdd datacontrol trusted communication 99/124099/13
Jiwoong Im [Mon, 10 Apr 2017 06:29:19 +0000 (15:29 +0900)]
Add datacontrol trusted communication

- Provider app can set whether datacontrol is trusted communication or not
  with trusted attribute in manifest file.
  If provider app sets trusted communication, only consumer apps signed
  with the same certificate can request to the provider.

- Related patches
  [pkgmgr-info] https://review.tizen.org/gerrit/#/c/124100/
  [tpk-manifest-handler] https://review.tizen.org/gerrit/#/c/124101/
  [app-installer] https://review.tizen.org/gerrit/#/c/124102/

Change-Id: Ieb38a23684632b1e1f20093059eb94011ef5e83f
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoFix memory leaks 81/125681/1
Inkyun Kil [Tue, 18 Apr 2017 10:49:52 +0000 (19:49 +0900)]
Fix memory leaks

Change-Id: I5f0131073b92e43eb7707def054524067f1820e2
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
7 years agoRelease version 0.1.2 73/123073/2 accepted/tizen/unified/20170406.053926 submit/tizen/20170404.104822
Inkyun Kil [Tue, 4 Apr 2017 09:59:40 +0000 (18:59 +0900)]
Release version 0.1.2

 - Fix memory leak

Change-Id: I35e14adfbae60c828fc25dda5561740b8122872a
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
7 years agoFix memory leak 99/122599/1
Inkyun Kil [Mon, 3 Apr 2017 04:58:24 +0000 (13:58 +0900)]
Fix memory leak

Change-Id: Ia8a11504445b09e91b65632778f2e7eaf7c0a9a6
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
7 years agoRelease version 0.1.1 12/120512/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170323.154457 accepted/tizen/ivi/20170323.085436 accepted/tizen/mobile/20170323.085326 accepted/tizen/tv/20170323.085353 accepted/tizen/unified/20170323.085444 accepted/tizen/wearable/20170323.085412 submit/tizen/20170323.064034
Hyunho Kang [Thu, 23 Mar 2017 06:33:23 +0000 (15:33 +0900)]
Release version 0.1.1

Changes:
 - Set license using %license

Change-Id: I0a09ec1d620918e2d1bf2747dbc41e473c668f66
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoSet license using %license 10/120510/1
Hyunho Kang [Thu, 23 Mar 2017 06:32:06 +0000 (15:32 +0900)]
Set license using %license

Change-Id: If52b112d1554a0de62ff1b04a2547d37dd3a4a3b
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix Memory leaks 20/115420/1 accepted/tizen/common/20170302.151739 accepted/tizen/ivi/20170302.121544 accepted/tizen/mobile/20170302.121145 accepted/tizen/tv/20170302.121450 accepted/tizen/unified/20170309.032116 accepted/tizen/wearable/20170302.121532 submit/tizen/20170302.084638 submit/tizen_unified/20170308.100405
jusung son [Mon, 20 Feb 2017 01:40:43 +0000 (10:40 +0900)]
Fix Memory leaks

Change-Id: I11086774f3061911622529dd71564f745e09ff8b
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoRevert "Fix memory leaks" 32/115332/2
jusung son [Fri, 17 Feb 2017 10:12:57 +0000 (02:12 -0800)]
Revert "Fix memory leaks"

This reverts commit 4a3981a2a18cb64bd460223ee570b832297c8c52.

Change-Id: I9b04590e92f58eefbc9f683da6fc2ec377071e73

7 years agoRelease version 0.1.0 04/115204/2 accepted/tizen/common/20170217.070104 accepted/tizen/ivi/20170217.094115 accepted/tizen/mobile/20170217.094029 accepted/tizen/tv/20170217.094042 accepted/tizen/wearable/20170217.094101 submit/tizen/20170217.013059
jusung son [Fri, 17 Feb 2017 01:44:18 +0000 (10:44 +0900)]
Release version 0.1.0

Changes:
 - Fix memory leaks

Change-Id: I6596f65e75c457c1c98232034bee71c889daf564
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoFix memory leaks 04/114904/1
jusung son [Wed, 15 Feb 2017 12:57:37 +0000 (21:57 +0900)]
Fix memory leaks

Change-Id: I066c9b5692075ccfe04c1b9873e299a65eaf34b3
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoRelease version 0.0.19 19/114319/1 accepted/tizen/common/20170214.173706 accepted/tizen/ivi/20170214.230300 accepted/tizen/mobile/20170214.230138 accepted/tizen/tv/20170214.230207 accepted/tizen/wearable/20170214.230233 submit/tizen/20170214.042718
Hyunho Kang [Mon, 13 Feb 2017 03:35:57 +0000 (12:35 +0900)]
Release version 0.0.19

Changes:
- Fix memory leak
- Add boundary check for value from untrusted source

Change-Id: Ie627a8578df2a5a19b8ee8cbff52cbb9f98acb00
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd boundary check for value from untrusted source 24/113724/3
Hyunho Kang [Wed, 8 Feb 2017 12:02:27 +0000 (21:02 +0900)]
Add boundary check for value from untrusted source

Change-Id: I7ac23493f014447d3afbca82fe4f4bdaa565986f
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix memory leak 19/113719/1
Hyunho Kang [Wed, 8 Feb 2017 11:46:55 +0000 (20:46 +0900)]
Fix memory leak

Change-Id: I90a27b350785dcafbbe7a7aed60d7db43da917b4
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRelease version 0.0.18 87/113587/1 accepted/tizen/common/20170208.154931 accepted/tizen/ivi/20170210.003755 accepted/tizen/mobile/20170210.003702 accepted/tizen/tv/20170210.003723 accepted/tizen/wearable/20170210.003739 submit/tizen/20170208.043509
Hyunho Kang [Wed, 8 Feb 2017 07:10:17 +0000 (16:10 +0900)]
Release version 0.0.18

Changes:
- Add internal get select page info API for c# API
- Add internal send select result API for c# API

Change-Id: I3c35385758df34fc2fbfc012d8eb405474d3a7ab
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd internal get select page info API for c# API 97/110797/11 accepted/tizen/3.0/common/20170210.071230 accepted/tizen/3.0/ivi/20170210.002014 accepted/tizen/3.0/mobile/20170210.001912 accepted/tizen/3.0/tv/20170210.001943 accepted/tizen/3.0/wearable/20170210.001954 submit/tizen_3.0/20170208.110217
Hyunho Kang [Wed, 18 Jan 2017 05:42:56 +0000 (14:42 +0900)]
Add internal get select page info API for c# API

This API is made for C# API. C# API can control selected page in
proivder's callback. This API provide request page info to the
provider application so that provider application can manage
which page should be sent to the consumer.

- datacontrol_provider_get_select_page_info

Change-Id: I6d958ddcc83c947c44934e87c28e53a056fb7b47
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd internal send select result API for c# API 83/110783/8
Hyunho Kang [Wed, 18 Jan 2017 05:06:30 +0000 (14:06 +0900)]
Add internal send select result API for c# API

This API is made for C# API. C# API has a different select flow.
It will send select result after provider's select callback and
do not get db handle for sending result to remove db dependancy.
So, this API just send provider's select callback result and pass
connected socket fd for sending selected data to consumer.

- int datacontrol_provider_send_select_result_without_data(
int request_id, int *fd)

This API is made for C# API. C# API has a different select flow.
It will send select result after provider's select callback and
do not get db handle for sending result to remove db dependancy.
So, C# API need native API which get buffer and send it to consumer.

- int datacontrol_provider_write_socket(int fd, void *buffer,
unsigned int nbytes, unsigned int *bytes_write)

Change-Id: Ia62f65081d102cce9e62f3cc9d806f3ce6b11333
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoMerge "Release version 0.0.17" into tizen accepted/tizen/3.0/common/20170119.105551 accepted/tizen/3.0/ivi/20170118.225946 accepted/tizen/3.0/mobile/20170118.225859 accepted/tizen/3.0/tv/20170118.225915 accepted/tizen/3.0/wearable/20170118.225931 accepted/tizen/common/20170119.171523 accepted/tizen/common/20170125.112901 accepted/tizen/ivi/20170119.222140 accepted/tizen/mobile/20170119.221648 accepted/tizen/tv/20170119.221915 accepted/tizen/wearable/20170119.222032 submit/tizen/20170117.053142 submit/tizen/20170119.070147 submit/tizen_3.0/20170117.054147
Hyunho Kang [Tue, 17 Jan 2017 04:30:40 +0000 (20:30 -0800)]
Merge "Release version 0.0.17" into tizen

7 years agoRelease version 0.0.17 14/110514/2
Hyunho Kang [Tue, 17 Jan 2017 01:13:51 +0000 (10:13 +0900)]
Release version 0.0.17

Changes:
- Add more description to register callback doxygen
- Fix get bulk result data bug
- Fix memory leak

Change-Id: I819121b0448bd55a3f33a67c50f00835ab9eea56
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix memory leak 29/110529/1
Hyunho Kang [Tue, 17 Jan 2017 02:01:26 +0000 (11:01 +0900)]
Fix memory leak

Change-Id: If86a9361949945f9e4039a6deb51ac82d59c1147
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix get bulk result data bug 64/110364/2
Hyunho Kang [Mon, 16 Jan 2017 05:59:49 +0000 (14:59 +0900)]
Fix get bulk result data bug

Change-Id: Iabd745958a9f7cf27ee0f5a9e33465b91150ec10
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd more description to register callback doxygen 38/110338/3
Hyunho Kang [Mon, 16 Jan 2017 04:21:29 +0000 (13:21 +0900)]
Add more description to register callback doxygen

Change-Id: Ic53f08e17b645f3ea057cfcc7a4fbf29f344fb86
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix fd leak 28/110028/3 accepted/tizen/3.0/common/20170113.182249 accepted/tizen/3.0/ivi/20170113.080951 accepted/tizen/3.0/mobile/20170113.080904 accepted/tizen/3.0/tv/20170113.080922 accepted/tizen/3.0/wearable/20170113.080936 accepted/tizen/common/20170113.183646 accepted/tizen/common/20170113.184547 accepted/tizen/ivi/20170113.223951 accepted/tizen/mobile/20170113.223904 accepted/tizen/tv/20170113.223920 accepted/tizen/wearable/20170113.223933 submit/tizen/20170112.124502 submit/tizen_3.0/20170112.123315 submit/tizen_common/20170112.224201
Hyunho Kang [Thu, 12 Jan 2017 12:04:29 +0000 (21:04 +0900)]
Fix fd leak

If consumer died after send message, provider's socket was remained
because of wrong exception handling.

Change-Id: I4e59926d6372018564a0dcd217cba80101a066b8
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix dbus conf file 61/109661/2 accepted/tizen/3.0/common/20170113.181940 accepted/tizen/3.0/ivi/20170113.080202 accepted/tizen/3.0/mobile/20170113.080113 accepted/tizen/3.0/tv/20170113.080126 accepted/tizen/3.0/wearable/20170113.080144 accepted/tizen/ivi/20170112.223117 accepted/tizen/mobile/20170112.223017 accepted/tizen/tv/20170112.223041 accepted/tizen/wearable/20170112.223100 submit/tizen/20170112.062902 submit/tizen_3.0/20170111.084510
jusung son [Wed, 11 Jan 2017 05:58:03 +0000 (14:58 +0900)]
Fix dbus conf file

 - Remove policy user

Change-Id: Ic91672016386cc3a2d5d0bcadcd510629094e7e8
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoFix doxygen typo 61/109161/1 accepted/tizen/3.0/common/20170111.161344 accepted/tizen/3.0/ivi/20170111.085238 accepted/tizen/3.0/mobile/20170111.085145 accepted/tizen/3.0/tv/20170111.085206 accepted/tizen/3.0/wearable/20170111.085222 submit/tizen_3.0/20170109.061028 submit/tizen_3.0/20170109.061149
Hyunho Kang [Mon, 9 Jan 2017 05:39:55 +0000 (14:39 +0900)]
Fix doxygen typo

Change-Id: I3232b751be3978ae40e1e22bdb1c4764b60ca046
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix wrong size memory alloc 30/106630/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.121936 accepted/tizen/3.0.m2/tv/20170104.122431 accepted/tizen/3.0.m2/wearable/20170104.122831 accepted/tizen/3.0/common/20161223.110644 accepted/tizen/3.0/ivi/20161223.081708 accepted/tizen/3.0/mobile/20161223.081612 accepted/tizen/3.0/tv/20161223.081629 accepted/tizen/3.0/wearable/20161223.081650 submit/tizen_3.0.m2/20170104.093749 submit/tizen_3.0/20161222.060248 submit/tizen_3.0/20161222.093853
Hyunho Kang [Thu, 22 Dec 2016 08:11:58 +0000 (17:11 +0900)]
Fix wrong size memory alloc

off_t size will be long size in 64bit

Change-Id: I9b6e0adf16a5a9832180d99f99018022a7415dbe
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix API description 55/105355/3 accepted/tizen/3.0/common/20161221.180457 accepted/tizen/3.0/ivi/20161221.005127 accepted/tizen/3.0/mobile/20161221.005206 accepted/tizen/3.0/tv/20161221.004915 accepted/tizen/3.0/wearable/20161221.005028 submit/tizen_3.0/20161219.021225
jusung son [Fri, 16 Dec 2016 09:01:16 +0000 (18:01 +0900)]
Fix API description

Change-Id: I286a52dc9d7085bef61fdf8fd998f0ee132e27f1
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoFix memory leak 63/103263/1 accepted/tizen/3.0/common/20161208.153803 accepted/tizen/3.0/ivi/20161208.063756 accepted/tizen/3.0/mobile/20161208.063724 accepted/tizen/3.0/tv/20161208.063739 accepted/tizen/3.0/wearable/20161208.063748 submit/tizen_3.0/20161208.010952
jusung son [Thu, 8 Dec 2016 00:56:19 +0000 (09:56 +0900)]
Fix memory leak

Change-Id: I9897a19e353274392c05fcb5af0a6cc1fed449db
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoAdd define _GNU_SOURCE for strerror_r 61/100561/3 accepted/tizen/3.0/common/20161129.103332 accepted/tizen/3.0/ivi/20161129.002316 accepted/tizen/3.0/mobile/20161129.002229 accepted/tizen/3.0/tv/20161129.002238 accepted/tizen/3.0/wearable/20161129.002301 submit/tizen_3.0/20161128.121939
Hyunho Kang [Mon, 28 Nov 2016 12:02:35 +0000 (21:02 +0900)]
Add define _GNU_SOURCE for strerror_r

Only GNU strerror_r return char *

Change-Id: Ia4f88c9e34f560653d79f944d35edb3661389625
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix CMakeLists.txt 89/98589/1 accepted/tizen/3.0/common/20161123.140559 accepted/tizen/3.0/ivi/20161123.083216 accepted/tizen/3.0/mobile/20161123.083114 accepted/tizen/3.0/tv/20161123.083143 accepted/tizen/3.0/wearable/20161123.083200 accepted/tizen/common/20161125.095240 accepted/tizen/ivi/20161125.004202 accepted/tizen/mobile/20161125.003643 accepted/tizen/tv/20161125.003921 accepted/tizen/wearable/20161125.004043 submit/tizen/20161124.000829 submit/tizen_3.0/20161122.021326
Hyunho Kang [Fri, 18 Nov 2016 01:35:41 +0000 (10:35 +0900)]
Fix CMakeLists.txt

To make extendible for adding source & header files.

Change-Id: I36d39cb56714ef744845a15fc9112d20cb99e075
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoFix defect 27/95327/1 accepted/tizen/3.0/common/20161114.081704 accepted/tizen/3.0/ivi/20161110.015028 accepted/tizen/3.0/mobile/20161110.014934 accepted/tizen/3.0/tv/20161110.014952 accepted/tizen/3.0/wearable/20161110.015007 accepted/tizen/common/20161107.072201 accepted/tizen/ivi/20161108.000753 accepted/tizen/mobile/20161108.000700 accepted/tizen/tv/20161108.000713 accepted/tizen/wearable/20161108.000733 submit/tizen/20161107.015116 submit/tizen_3.0/20161107.015011 submit/tizen_3.0_common/20161110.084657
jusung son [Thu, 3 Nov 2016 01:30:03 +0000 (10:30 +0900)]
Fix defect

- memory leak
- exception handling
- typo

Change-Id: I95c1fa2d1de35306ec5d25e4506221cd36cf4611
Signed-off-by: jusung son <jusung07.son@samsung.com>
8 years agoMerge "Fix memory leak" into tizen
jusung son [Mon, 24 Oct 2016 01:52:22 +0000 (18:52 -0700)]
Merge "Fix memory leak" into tizen

8 years agoFix memory leak 20/93220/2
jusung son [Fri, 21 Oct 2016 05:57:41 +0000 (14:57 +0900)]
Fix memory leak

Change-Id: I022d60b85aaca201781e58a6e0caf95a7daf079e
Signed-off-by: jusung son <jusung07.son@samsung.com>
8 years agoModify select result file path to under /run/user/ 93/92493/1
Hyunho Kang [Mon, 17 Oct 2016 07:38:21 +0000 (16:38 +0900)]
Modify select result file path to under /run/user/

/tmp is cleared in runtime for some environment like TV

Change-Id: I6c603fcd04c9a28f50734c39315eb07071283299
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoAdd EWOULDBLOCK error handling 30/91530/1 accepted/tizen/3.0/ivi/20161028.123121 accepted/tizen/3.0/mobile/20161028.122444 accepted/tizen/3.0/tv/20161028.122656 accepted/tizen/3.0/wearable/20161028.122916 accepted/tizen/common/20161010.145845 accepted/tizen/ivi/20161010.083243 accepted/tizen/mobile/20161010.083152 accepted/tizen/tv/20161010.083211 accepted/tizen/wearable/20161010.083225 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:49:43 +0000 (14:49 +0900)]
Add EWOULDBLOCK error handling

- wrt(nodejs) can change socket to none-blocking mode

Change-Id: I0a6d19c4593e14a27e3d60974d27cd418a5061e8
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoFix typo 89/89989/1 accepted/tizen/3.0/ivi/20161011.043825 accepted/tizen/3.0/mobile/20161015.032901 accepted/tizen/3.0/tv/20161016.004018 accepted/tizen/3.0/wearable/20161015.081920 accepted/tizen/common/20160928.163829 accepted/tizen/ivi/20160929.080915 accepted/tizen/mobile/20160929.080821 accepted/tizen/tv/20160929.080856 accepted/tizen/wearable/20160929.080842 submit/tizen/20160928.040222 submit/tizen_3.0_ivi/20161010.000001 submit/tizen_3.0_mobile/20161015.000001 submit/tizen_3.0_tv/20161015.000001 submit/tizen_3.0_wearable/20161015.000001
Hyunho Kang [Wed, 28 Sep 2016 04:10:58 +0000 (13:10 +0900)]
Fix typo

Change-Id: Ic391fce50c317bdf5783e003d4bb9334692d15ee
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoFix typo and not checked invalid param 80/89980/1
Hyunho Kang [Wed, 28 Sep 2016 02:36:13 +0000 (11:36 +0900)]
Fix typo and not checked invalid param

Change-Id: I5981eb5ec4fb9e5e50202111d8294e159bce9fed
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoFix consumer vanish bug 83/87883/1 accepted/tizen/common/20160912.181254 accepted/tizen/ivi/20160912.215440 accepted/tizen/mobile/20160912.215348 accepted/tizen/tv/20160912.215404 accepted/tizen/wearable/20160912.215421 submit/tizen/20160912.051209
Hyunho Kang [Mon, 12 Sep 2016 04:25:00 +0000 (13:25 +0900)]
Fix consumer vanish bug

- object path can not identify consumer process

Change-Id: I1fde6b95718664c893c3b62862fdc7f47d4ff9ff
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoFix memory leak, tainted int, uninitialized value 21/87621/1 accepted/tizen/common/20160912.180715 accepted/tizen/ivi/20160912.093241 accepted/tizen/mobile/20160912.093153 accepted/tizen/tv/20160912.093206 accepted/tizen/wearable/20160912.093225 submit/tizen/20160911.233959
Hyunho Kang [Fri, 9 Sep 2016 01:58:14 +0000 (10:58 +0900)]
Fix memory leak, tainted int, uninitialized value

Change-Id: Ib84ae22dce8b4d32fb2541a6b08fb6996adfa27e
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoAdd data bulk management feature 87/72487/30 accepted/tizen/common/20160905.171405 accepted/tizen/ivi/20160905.235856 accepted/tizen/mobile/20160905.235718 accepted/tizen/tv/20160905.235804 accepted/tizen/wearable/20160905.235831 submit/tizen/20160905.010800
Hyunho Kang [Wed, 1 Jun 2016 07:48:44 +0000 (16:48 +0900)]
Add data bulk management feature

Add APIs:

- data_control_sql_bulk_insert
- data_control_map_bulk_add

- data_control_provider_send_bulk_insert_result
- data_control_provider_send_bulk_add_result

- data_control_bulk_data_get_data
- data_control_bulk_data_get_count
- data_control_bulk_data_add
- data_control_bulk_data_create
- data_control_bulk_data_destroy

- data_control_bulk_result_data_get_result_data
- data_control_bulk_result_data_get_result
- data_control_bulk_result_data_get_count
- data_control_bulk_result_data_add
- data_control_bulk_result_data_create
- data_control_bulk_result_data_destroy

Change-Id: Id6a5ce3a9da95761a039cb726d4e40602fb05520
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoInclude data_control_noti.h in data_control.h 44/82144/1 accepted/tizen/common/20160803.193227 accepted/tizen/ivi/20160804.080806 accepted/tizen/mobile/20160804.080857 accepted/tizen/tv/20160804.080723 accepted/tizen/wearable/20160804.080559 submit/tizen/20160803.012753
Semun Lee [Mon, 1 Aug 2016 06:33:28 +0000 (15:33 +0900)]
Include data_control_noti.h in data_control.h

Applications can include all the data control API with
data_control.h

Change-Id: I3232a80a21d8e6bf7f4bee3060a2e2c8a30bbc47
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
8 years agoRemove unused functions 36/79736/1 accepted/tizen/common/20160713.050556 accepted/tizen/ivi/20160713.000611 accepted/tizen/mobile/20160713.000441 accepted/tizen/tv/20160713.000531 accepted/tizen/wearable/20160713.000512 submit/tizen/20160712.090432
Hyunho Kang [Tue, 12 Jul 2016 13:26:18 +0000 (22:26 +0900)]
Remove unused functions

Change-Id: Idad8a5403b8740fad72f7796870811ed7a43b09a
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoFix do not check privilege bug 62/79062/1 accepted/tizen/common/20160708.140756 accepted/tizen/ivi/20160708.092005 accepted/tizen/ivi/20160708.092050 accepted/tizen/mobile/20160708.091827 accepted/tizen/mobile/20160708.092013 accepted/tizen/tv/20160708.091921 accepted/tizen/tv/20160708.092039 accepted/tizen/wearable/20160708.091810 accepted/tizen/wearable/20160708.092007 submit/tizen/20160708.042127 submit/tizen/20160708.065258
Hyunho Kang [Fri, 8 Jul 2016 04:54:05 +0000 (13:54 +0900)]
Fix do not check privilege bug

- data_control_provider_send_data_change_noti

Change-Id: I598b6a893479bf2af4fd6c59535659e44f3ff98c
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoAdd example code for data_control_sql_set_data_id 73/75473/1 accepted/tizen/common/20160622.150009 accepted/tizen/ivi/20160623.121958 accepted/tizen/mobile/20160623.121922 accepted/tizen/tv/20160623.121928 accepted/tizen/wearable/20160623.121942 submit/tizen/20160622.083438
Hyunho Kang [Mon, 20 Jun 2016 05:27:29 +0000 (14:27 +0900)]
Add example code for data_control_sql_set_data_id

Change-Id: I4124e32dd5c19d962c364f4bf7cb31175b5826c6
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoFix tainted int and deref null 88/74788/5
Hyunho Kang [Wed, 15 Jun 2016 13:09:17 +0000 (22:09 +0900)]
Fix tainted int and deref null

Change-Id: I74507dff2102550215d281fde4149dfbf115c41a
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoApply coding rule 83/74383/1
Hyunho Kang [Tue, 14 Jun 2016 06:06:35 +0000 (15:06 +0900)]
Apply coding rule

Change-Id: Icd72ff05bb2436caa35044de4c089f62904808dc
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoRemove unused api 46/74146/1 accepted/tizen/common/20160614.143643 accepted/tizen/ivi/20160614.041202 accepted/tizen/mobile/20160614.041107 accepted/tizen/tv/20160614.041147 accepted/tizen/wearable/20160614.041130 submit/tizen/20160613.062107
Hyunho Kang [Mon, 13 Jun 2016 04:04:19 +0000 (13:04 +0900)]
Remove unused api

Change-Id: I036fea9f90cd74a5db762569474040774bca9996
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoRemove unused variables 19/74119/1
Hyunho Kang [Mon, 13 Jun 2016 02:09:35 +0000 (11:09 +0900)]
Remove unused variables

Change-Id: I80ee297362f51e9571cf37049652590d2d7f540e
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoAdd data-control data changed notification feature 02/61702/34 accepted/tizen/common/20160526.145807 accepted/tizen/ivi/20160523.103111 accepted/tizen/mobile/20160523.103115 accepted/tizen/tv/20160523.103029 accepted/tizen/wearable/20160523.103107 submit/tizen/20160523.082558
Hyunho Kang [Thu, 21 Apr 2016 08:46:18 +0000 (17:46 +0900)]
Add data-control data changed notification feature

Change-Id: Ifffe22f5f1312e84f73cb7f5f80257541d879904
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoFix dereferenced NULL 35/69735/3 accepted/tizen/common/20160520.170935 accepted/tizen/common/20160520.171027 accepted/tizen/ivi/20160520.002326 accepted/tizen/ivi/20160520.081047 accepted/tizen/mobile/20160520.002337 accepted/tizen/mobile/20160520.080909 accepted/tizen/tv/20160520.002258 accepted/tizen/tv/20160520.081001 accepted/tizen/wearable/20160520.002311 accepted/tizen/wearable/20160520.080927 submit/tizen/20160518.002620 submit/tizen/20160519.002157 submit/tizen/20160519.045032 submit/tizen/20160520.002716
Hyunho Kang [Mon, 16 May 2016 11:25:59 +0000 (20:25 +0900)]
Fix dereferenced NULL

Change-Id: I6793dcb34244fd6f2d7dca7c293aa99e1ee32659
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoAdd EAGAIN error handling 75/64875/4 accepted/tizen/common/20160413.130956 accepted/tizen/ivi/20160413.123449 accepted/tizen/mobile/20160413.123217 accepted/tizen/tv/20160413.123400 accepted/tizen/wearable/20160413.123422 submit/tizen/20160412.075243
Hyunho Kang [Mon, 11 Apr 2016 04:28:56 +0000 (13:28 +0900)]
Add EAGAIN error handling

- nodejs can change blocking socket to none blocking socket

Change-Id: I03b917fcdad0f11b080505d2b097774277799cde
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoAdjust coding rules 97/63797/2 accepted/tizen/common/20160406.143404 accepted/tizen/ivi/20160406.012025 accepted/tizen/mobile/20160406.011853 accepted/tizen/tv/20160406.011944 accepted/tizen/wearable/20160406.012005 submit/tizen/20160405.001024
Hwankyu Jhun [Sun, 27 Mar 2016 23:52:00 +0000 (08:52 +0900)]
Adjust coding rules

Change-Id: I237548594b6fe4e229f70d585aa48424579ee1a9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>