platform/core/system/buxton2.git
6 years agoMerge "Fix bug for wrong string comparison" into tizen
Inkyun Kil [Wed, 22 Nov 2017 11:28:47 +0000 (11:28 +0000)]
Merge "Fix bug for wrong string comparison" into tizen

6 years agoAdd owner group to the db files 78/161278/1
jusung son [Wed, 22 Nov 2017 11:03:18 +0000 (20:03 +0900)]
Add owner group to the db files

Change-Id: I696b689e7eb32d06a73ea74c25724c64f0165312
Signed-off-by: jusung son <jusung07.son@samsung.com>
6 years agoFix bug for wrong string comparison 59/161259/1
Inkyun Kil [Wed, 22 Nov 2017 10:20:19 +0000 (19:20 +0900)]
Fix bug for wrong string comparison

Change-Id: Ia0559e075c175b3d9bc8d58413013e77b5f8d4a8
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRelease version 1.2.18 73/161073/1 submit/tizen/20171121.091012 submit/tizen/20171122.054721 submit/tizen/20171122.101832 submit/tizen/20171122.112413
Inkyun Kil [Tue, 21 Nov 2017 09:04:11 +0000 (18:04 +0900)]
Release version 1.2.18

- Change default page size of sqlite3 wal_autocheckpoint

Change-Id: Ie71d2316f90da8fdda8418e7fd2588e686352587
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoChange default page size of sqlite3 wal_autocheckpoint 25/160225/6
Inkyun Kil [Wed, 15 Nov 2017 02:12:18 +0000 (11:12 +0900)]
Change default page size of sqlite3 wal_autocheckpoint

- Default page of sqlite3 wal is 1000. In other words, memory increases
up to 4M. It is somewhat big on '/run'. That's why it should be changed
to 100page.
- Change magic string to platform-config

Change-Id: Ia1829a7ba61a9f152d7a803c5521426e3b5dc36d
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRelease version 1.2.17 86/160086/1 accepted/tizen/unified/20171115.061216 submit/tizen/20171114.104517
Inkyun Kil [Tue, 14 Nov 2017 10:45:15 +0000 (19:45 +0900)]
Release version 1.2.17

Changes:
 - Add dependency to security-config

Change-Id: I08c4cdd373a94c1bdc08ac9f33ce0232838e9176
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoAdd dependency to security-config 45/160045/1
Inkyun Kil [Tue, 14 Nov 2017 08:14:53 +0000 (17:14 +0900)]
Add dependency to security-config

- To guarantee the install order it needs to add dependency

Change-Id: I9f2ca8dae6d2c288cc460e5f0f850265de7bcd5d
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
7 years agoRelease version 1.2.16 70/155070/1 accepted/tizen/unified/20171013.192816 submit/tizen/20171012.062027
Inkyun Kil [Thu, 12 Oct 2017 04:53:24 +0000 (13:53 +0900)]
Release version 1.2.16

Changes:
  - Add lcov comment
  - Apply Coding rule
  - Fix static analysis issues

Change-Id: I0daa8a83da6d762dff5a9e0095c50d666f6006aa
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
7 years agoFix static analysis issues 45/155045/1
Inkyun Kil [Thu, 12 Oct 2017 03:21:28 +0000 (12:21 +0900)]
Fix static analysis issues

Change-Id: I3d20f2a137b392debf8d0652ede79ae40bb87504
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
7 years agoApply Coding rule 03/153503/1
jusung son [Thu, 28 Sep 2017 13:59:55 +0000 (22:59 +0900)]
Apply Coding rule

Change-Id: I1221f7a8cc9cacf0409eed34ca2d84ab6ec677da
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoAdd lcov comment 88/153488/1
jusung son [Thu, 28 Sep 2017 12:57:00 +0000 (21:57 +0900)]
Add lcov comment

Change-Id: I29c82c1cd8cabac4cd122f406cc4083089c961be
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoRelease version 1.2.15 31/150731/1 submit/tizen/20170918.101837
jusung son [Mon, 18 Sep 2017 10:06:28 +0000 (19:06 +0900)]
Release version 1.2.15

Changes:
  - Set the DB owner in buxton2_upgrade.sh

Change-Id: I5c4fae5cad07eeb619c9da0365e1a123b4fe7fe0
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoSet the DB owner in buxton2_upgrade.sh 10/150710/2
jusung son [Mon, 18 Sep 2017 09:44:45 +0000 (18:44 +0900)]
Set the DB owner in buxton2_upgrade.sh

 - The UID of buxton has changed from 4.0

Change-Id: I0f7bf6fd184f434b871996edc34e048b15eabcc8
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoRelease version 1.2.14 07/149207/1 accepted/tizen/unified/20170913.071223 submit/tizen/20170912.012142
Inkyun Kil [Tue, 12 Sep 2017 01:51:39 +0000 (10:51 +0900)]
Release version 1.2.14

- Fix build warnings

Change-Id: I6c2b36e071b6ee3ce6555cb9328d85280b478528
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
7 years agoFix build warnings 49/148649/1
Inkyun Kil [Fri, 8 Sep 2017 08:07:57 +0000 (17:07 +0900)]
Fix build warnings

Change-Id: Ibfd8c1a7c43590b09b113680373ea680b0482c15
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
7 years agoRelease version 1.2.13 45/148145/2 accepted/tizen/unified/20170908.220505 submit/tizen/20170907.023427 submit/tizen/20170908.020308
Inkyun Kil [Thu, 7 Sep 2017 02:28:47 +0000 (11:28 +0900)]
Release version 1.2.13

 - Revert "Make vconftool printing log messages, adding vconftool2 in a secret way"
 - Revert "Change log output API"

Change-Id: Idb70703071f6f334ac393d21ca83e0aaebc4f9ab
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
7 years agoRevert "Make vconftool printing log messages, adding vconftool2 in a secret way" 36/148136/2
jusung son [Thu, 7 Sep 2017 01:58:56 +0000 (01:58 +0000)]
Revert "Make vconftool printing log messages, adding vconftool2 in a secret way"

This reverts commit d4b6cdf973b18a4d3f7d3d386d8999658314be7b.

Change-Id: Iabc7f9a91278f0b64cbcacb39c7cf873c8bffd12

7 years agoRevert "Change log output API" 35/148135/2
jusung son [Thu, 7 Sep 2017 01:57:58 +0000 (01:57 +0000)]
Revert "Change log output API"

This reverts commit e78352884a85e6d546848b69f9464247b12008e1.

Change-Id: Ie53c01cd99cd113b9d0f139323f7a5616018ef61

7 years agoRelease version 1.2.12 99/146399/2 accepted/tizen/4.0/unified/20170904.234805 accepted/tizen/unified/20170830.160731 submit/tizen/20170828.095729 submit/tizen_4.0/20170901.004643
jusung son [Mon, 28 Aug 2017 09:44:59 +0000 (18:44 +0900)]
Release version 1.2.12

Changes:
  - Modify upgrade script

Change-Id: I5624c11a1d4c1b0735e67a315e0086fdc0db134c
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoModify upgrade script 52/146152/3
jusung son [Fri, 25 Aug 2017 06:53:09 +0000 (15:53 +0900)]
Modify upgrade script

 - delete the codes for 3.0
 - remove garbage data

Change-Id: I10394f7ebabfb92191a91db0b7f4e51b22668ccd
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoRelease version 1.2.11 17/146217/1 accepted/tizen/unified/20170828.164005 submit/tizen/20170825.090409
jusung son [Fri, 25 Aug 2017 09:00:59 +0000 (18:00 +0900)]
Release version 1.2.11

Changes:
 - Change log output API

Change-Id: Ifc1cbaa08e553105431f365e393f5a1874633ff3
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoChange log output API 16/146216/1
jusung son [Fri, 25 Aug 2017 08:55:20 +0000 (17:55 +0900)]
Change log output API

Change-Id: I98d741586db70d38ddb2c5e84119ea17de92dde4
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoRelease version 1.2.10 78/145878/1 accepted/tizen/unified/20170825.043908 submit/tizen/20170824.063147
jusung son [Thu, 24 Aug 2017 06:28:38 +0000 (15:28 +0900)]
Release version 1.2.10

Changes:
  - Make vconftool printing log messages, adding vconftool2 in a secret way

Change-Id: I6ebf82164710c7713fc2726d087e1195b4fb3a31
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoMake vconftool printing log messages, adding vconftool2 in a secret way 90/145490/7
MyoungJune Park [Tue, 22 Aug 2017 11:50:49 +0000 (20:50 +0900)]
Make vconftool printing log messages, adding vconftool2 in a secret way

Change-Id: I6ae273a92ca3c2ddb81b078ec2429c316ceb1bf9
Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoAdd code for checking if opened DB is readonly 88/145588/1
Inkyun Kil [Tue, 22 Aug 2017 09:38:46 +0000 (18:38 +0900)]
Add code for checking if opened DB is readonly

Change-Id: I031e8e92a5da991cc847e70cbd4e1530daecb11b
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
7 years agoRelease version 1.2.9 82/140582/1 accepted/tizen/4.0/unified/20170816.012644 accepted/tizen/4.0/unified/20170829.020250 accepted/tizen/unified/20170727.190445 submit/tizen/20170725.121859 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004
Jiwoong Im [Tue, 25 Jul 2017 11:42:35 +0000 (20:42 +0900)]
Release version 1.2.9

Changes:
 - Change group of tools to system_share

Change-Id: Ia66b4e1be3f3456dadb81642a7469a7cd2291695
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoChange group of tools to system_share 68/139968/2
Jiwoong Im [Fri, 21 Jul 2017 07:00:40 +0000 (16:00 +0900)]
Change group of tools to system_share

- Modify to grant execute permission only to system level user

Change-Id: I7bb77c60b066c36536f7f12b4953b5bca732651a
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoRelease version 1.2.8 42/137642/1 accepted/tizen/unified/20170711.180502 submit/tizen/20170707.024819 submit/tizen/20170710.015440
Jiwoong Im [Fri, 7 Jul 2017 02:32:28 +0000 (11:32 +0900)]
Release version 1.2.8

Changes:
 - Add new command in vconftool
 - Fix bug in vconftool restore command
 - Modify vconf_migration tool

Change-Id: I5114ddfa7aecb05f54d7ac768161fd68844ff381
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoModify vconf_migration tool 98/137198/2
Jiwoong Im [Tue, 13 Jun 2017 07:45:15 +0000 (16:45 +0900)]
Modify vconf_migration tool

- Instead of using vconf api, insert 2.4 vconf data directly to buxton db.

Change-Id: I473243468feb4f8238e336a772db52b0a19fdbed
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoFix bug in vconftool restore command 97/137197/2
Jiwoong Im [Wed, 24 May 2017 08:09:10 +0000 (17:09 +0900)]
Fix bug in vconftool restore command

- When restoring a string key, there is a problem
  that a space is added before the value.

Change-Id: Idb80518b47c011d16727a52e3268641e03105d6c
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoAdd new command in vconftool 79/127379/5
Jiwoong Im [Wed, 26 Apr 2017 07:52:10 +0000 (16:52 +0900)]
Add new command in vconftool

- Add vconf key backup & restore command

Change-Id: Ifdbba1f40460f0bc6b4c5249540701aa97ea41cf
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoRelease version 1.2.7 84/123784/1 accepted/tizen/unified/20170407.190501 submit/tizen/20170407.042402 tizen_4.0.m1_release
Jiwoong Im [Fri, 7 Apr 2017 04:28:07 +0000 (13:28 +0900)]
Release version 1.2.7

Changes:
 - Remove unnecessary check before free a pointer

Change-Id: I3e6c8b2955f85b5d73afd1456c679208085882bb
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoRemove unnecessary check before free a pointer 67/122367/1
Semun Lee [Fri, 31 Mar 2017 06:17:28 +0000 (15:17 +0900)]
Remove unnecessary check before free a pointer

cur_data cannot be NULL here.

Change-Id: Id7672a418aa9f0bf1b3ccb185159b22b02bf4424
Signed-off-by: Semun Lee <semun.lee@samsung.com>
7 years agoRelease version 1.2.6 58/121258/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170328.140611 accepted/tizen/ivi/20170328.060620 accepted/tizen/mobile/20170328.060538 accepted/tizen/tv/20170328.060601 accepted/tizen/unified/20170328.060631 accepted/tizen/wearable/20170328.060611 submit/tizen/20170328.002639
Jiwoong Im [Mon, 27 Mar 2017 09:26:54 +0000 (18:26 +0900)]
Release version 1.2.6

Changes:
 - Add license file for vconf-compat package

Change-Id: I0ab49b85aa205757277b52a4d4c9747af37d92d8
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoAdd license file for vconf-compat package 49/121149/1
Jiwoong Im [Mon, 27 Mar 2017 06:53:17 +0000 (15:53 +0900)]
Add license file for vconf-compat package

Change-Id: Iea20eff159c508336f256e8790c0e0fcf8e4b282
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
(cherry picked from commit 61c66d45fd681527635cfd09ebfefc3c3775efb3)

7 years agoRelease version 1.2.5 63/119863/1 accepted/tizen/common/20170323.154241 accepted/tizen/ivi/20170323.085040 accepted/tizen/mobile/20170323.084945 accepted/tizen/tv/20170323.084959 accepted/tizen/unified/20170323.085054 accepted/tizen/wearable/20170323.085014 submit/tizen/20170323.013338
Jiwoong Im [Mon, 20 Mar 2017 10:05:09 +0000 (19:05 +0900)]
Release version 1.2.5

Changes:
 - Fix some option in vconftool
 - Remove changing user in buxton2ctl
 - Add command in buxton2ctl to remove trash data
 - Revert "Restore applying cache in vconf library side"
 - Revert "Update vconf cache in notify_cb"

Change-Id: Ia62298d84b9309645c1e24c475c2b49898048734
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoRevert "Update vconf cache in notify_cb" 55/119855/1
Jiwoong Im [Mon, 20 Mar 2017 02:18:27 +0000 (11:18 +0900)]
Revert "Update vconf cache in notify_cb"

This reverts commit 49ad9fca0a58811426d4a96424794e577f94bb7d.

Change-Id: Ibc96fc1924fbfb1881f5905a6432ae325626d7df
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoRevert "Restore applying cache in vconf library side" 54/119854/1
Jiwoong Im [Mon, 20 Mar 2017 02:17:52 +0000 (11:17 +0900)]
Revert "Restore applying cache in vconf library side"

This reverts commit d65a8d7ce879168cdd2009412782bb6b2a505a53.

Change-Id: Iddf120e0d6f38fc6799f26fbee747c808d4187e4
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoAdd command in buxton2ctl to remove trash data 53/119853/1
Jiwoong Im [Tue, 14 Mar 2017 07:14:14 +0000 (16:14 +0900)]
Add command in buxton2ctl to remove trash data

- When r / o area is upgraded after key deletion,
  garbage data may exist in normal db.
  To remove garbage data, add remove-garbage-data command in buxton2ctl

Change-Id: I569c4eccba8778c02e355cf28af7729f50df5a09
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoRemove changing user in buxton2ctl 52/119852/1
Jiwoong Im [Mon, 13 Mar 2017 13:37:34 +0000 (22:37 +0900)]
Remove changing user in buxton2ctl

Change-Id: Ieacdd64643458068f556b20d67664c2e7a5c77bf
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoFix some option in vconftool 51/119851/1
Jiwoong Im [Tue, 14 Mar 2017 02:12:01 +0000 (11:12 +0900)]
Fix some option in vconftool

- Enable force option for 2.4 compatibility.
  Disable Smack option because buxton's access control is based on
  privilege.

Change-Id: I9acee5b0ca8a38e12316e0beb032fe2547ce8c51
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoRelease version 1.2.4 65/117665/2 accepted/tizen/common/20170309.174949 accepted/tizen/ivi/20170307.222311 accepted/tizen/mobile/20170307.222227 accepted/tizen/tv/20170307.222240 accepted/tizen/unified/20170309.033818 accepted/tizen/wearable/20170307.222256 submit/tizen/20170307.052707 submit/tizen/20170307.135113 submit/tizen_unified/20170308.100409
Jiwoong Im [Tue, 7 Mar 2017 05:14:54 +0000 (14:14 +0900)]
Release version 1.2.4

Changes:
 - Update vconf cache in notify_cb
 - Remove poll in sending notis to client
 - Fix memory leak

Change-Id: I03fcf66bbe7caa7581da8cd5c8ea24da6ff8c893
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoFix memory leak 50/117650/1
Jiwoong Im [Mon, 6 Mar 2017 10:00:40 +0000 (19:00 +0900)]
Fix memory leak

Change-Id: If8793c037627fc70972b2152c409660280090946
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
(cherry picked from commit cb50b810024d23a4fb8c9bb9fc2ccf7a2f22b9f9)

7 years agoRemove poll in sending notis to client 87/114687/5
Jiwoong Im [Mon, 6 Feb 2017 08:13:02 +0000 (17:13 +0900)]
Remove poll in sending notis to client

- If the client is too busy to handle the noti callback, it
  causes buxton daemon to block in poll function.
  To prevent being blocked, remove poll in sending notis to client.
  If the result of noti send is EWOULDBLOCK or EAGAIN, wait until
  the socket fd is writable in the main loop and send it again.

Change-Id: I5c3e54495667cd927182de3323c0a97015e561f4
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
(cherry picked from commit 7d4c9d38b654ba340a02187d42d3a5d17ed6ba6b)

7 years agoUpdate vconf cache in notify_cb 05/117105/1
Jiwoong Im [Thu, 2 Mar 2017 10:15:54 +0000 (19:15 +0900)]
Update vconf cache in notify_cb

- cache should be updated in notify_cb to guarantee accurate value.

Change-Id: I47f35e481061462beee602580c449bf56d042063
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
(cherry picked from commit 49ad9fca0a58811426d4a96424794e577f94bb7d)

7 years agoRelease version 1.2.3 45/116245/1 accepted/tizen/common/20170227.042950 accepted/tizen/ivi/20170224.064906 accepted/tizen/mobile/20170224.064823 accepted/tizen/tv/20170224.064839 accepted/tizen/wearable/20170224.064851 submit/tizen/20170223.041231 submit/tizen/20170224.003023
Jiwoong Im [Thu, 23 Feb 2017 11:05:03 +0000 (20:05 +0900)]
Release version 1.2.3

Changes:
- Add restore step in opening backend db
- Change priority of idler which calls vconf changed callback

Change-Id: I0e8e81e1454299b9effb3ee32abb4d610d995aad
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoChange priority of idler which calls vconf changed callback 19/116219/2
Jiwoong Im [Thu, 23 Feb 2017 09:57:17 +0000 (18:57 +0900)]
Change priority of idler which calls vconf changed callback

- If client is too busy to call vconf changed callback in idler,
  vconf changed callback is ignored.
  To guarantee call of vconf changed callback, change priority of idler
  to G_PRIORITY_HIGH.

Change-Id: Ic05bc06734fd674f0ffbc81809acabc11675f604
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoAdd restore step in opening backend db 41/113141/6
Jiwoong Im [Mon, 6 Feb 2017 08:04:42 +0000 (17:04 +0900)]
Add restore step in opening backend db

- If db is corrupted, delete db file and restore to default data.

Change-Id: Ic60bf38d64ff5683790dce8d9541aa2e01e5be75
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoRelease version 1.2.2 47/114147/1 accepted/tizen/common/20170210.170600 accepted/tizen/ivi/20170214.010252 accepted/tizen/mobile/20170214.010124 accepted/tizen/tv/20170214.010154 accepted/tizen/wearable/20170214.010224 submit/tizen/20170210.073038
Jiwoong Im [Fri, 10 Feb 2017 07:05:38 +0000 (16:05 +0900)]
Release version 1.2.2

Changes:
- Fix memory leak

Change-Id: I9cd85e04e9c6cac9bf773aeab27840d84d16e285
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoFix memory leak issue 33/113733/3
Jiwoong Im [Wed, 8 Feb 2017 12:47:06 +0000 (21:47 +0900)]
Fix memory leak issue

Change-Id: I15671f30e12eb93e5fc39188139d4ae5e56aa575
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoRelease version 1.2.1 20/112920/1 accepted/tizen/common/20170203.161740 accepted/tizen/ivi/20170205.234117 accepted/tizen/mobile/20170205.234008 accepted/tizen/tv/20170205.234044 accepted/tizen/wearable/20170205.234059 submit/tizen/20170203.072358
Jiwoong Im [Fri, 3 Feb 2017 07:08:18 +0000 (16:08 +0900)]
Release version 1.2.1

Changes:
- Fix bug in restore connection
- Restore applying cache in vconf library side
- change buxton logging service to dlog

Change-Id: I77b57dc0b2d574ff92d43b116c7e57b2a0a89518
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agochange buxton logging service to dlog 74/112574/3
Jiwoong Im [Wed, 1 Feb 2017 12:50:10 +0000 (21:50 +0900)]
change buxton logging service to dlog

Change-Id: Ic0c7457fa844acfbc5f2fa3617072ed3159b7dd4
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoFix bug in restore connection 17/112417/3
Jiwoong Im [Wed, 1 Feb 2017 01:40:46 +0000 (10:40 +0900)]
Fix bug in restore connection

- vconf_ignore_key_changed should be called without a connection
  initialization, if connection is closed and not restored immediately.
  This situation causes SIGABRT on the client.
  To prevent this, add _open/_close in vconf_ignore_key_changed.
- Increase _refcnt in restoring vconf notify callback.

Change-Id: Ief92dd08760b155e2e0ef61b4287decd22e240dd
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoRestore applying cache in vconf library side 40/111940/2
Jiwoong Im [Wed, 25 Jan 2017 04:33:56 +0000 (13:33 +0900)]
Restore applying cache in vconf library side

- Cache is only used if client uses g_main_loop.

Change-Id: I7096602f921af78e0547b86678e3a1fc962a3d24
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agorevert performance improvement patch in vconf libray side 45/111745/1 tizen_3.0_tv accepted/tizen/3.0/common/20170125.121508 accepted/tizen/3.0/ivi/20170125.083304 accepted/tizen/3.0/mobile/20170125.083218 accepted/tizen/3.0/tv/20170125.083236 accepted/tizen/3.0/wearable/20170125.083250 accepted/tizen/common/20170124.181806 accepted/tizen/ivi/20170125.085044 accepted/tizen/mobile/20170125.085031 accepted/tizen/tv/20170125.085036 accepted/tizen/wearable/20170125.085040 submit/tizen/20170124.012332 submit/tizen_3.0/20170124.012351
Jiwoong Im [Tue, 24 Jan 2017 01:11:22 +0000 (10:11 +0900)]
revert performance improvement patch in vconf libray side

- If a daemon does not use g_main_loop, noti_cb for cache key-value is not
  invoked. In this case, buxton daemon is blocked in sending noti to
  the client.

Change-Id: Idef9e3d1206bc6f127a72a41061afdb255e7117e
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoRelease version 1.2.0 49/110549/1 accepted/tizen/common/20170119.171525 accepted/tizen/common/20170125.112908 accepted/tizen/ivi/20170119.222141 accepted/tizen/mobile/20170119.221654 accepted/tizen/tv/20170119.221916 accepted/tizen/wearable/20170119.222033 submit/tizen/20170117.053142 submit/tizen/20170119.070147
Jiwoong Im [Tue, 17 Jan 2017 04:10:30 +0000 (13:10 +0900)]
Release version 1.2.0

Changes: - Improve buxton performance

Change-Id: I1c07fce739ca895cb323e62d4b1473af60ca5988
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoImproved performance in get/set operation 56/106656/8 accepted/tizen/3.0/common/20170118.130815 accepted/tizen/3.0/ivi/20170118.042650 accepted/tizen/3.0/mobile/20170118.042557 accepted/tizen/3.0/tv/20170118.042614 accepted/tizen/3.0/wearable/20170118.042631 submit/tizen_3.0/20170116.091702
Jiwoong Im [Thu, 22 Dec 2016 08:33:08 +0000 (17:33 +0900)]
Improved performance in get/set operation

- Add hashtable in buxton daemon to reduce db access.
  Add hashtable in client for repeated get operation on the same key.
  Send notis to client after sending result of set operation.

- Brief profiling data
 +---------------------------------------------------+
 | - Gerenal set/get operation                       |
 | vconf set average : 5.420375 ms -> 3.430805 ms    |
 | vconf get average : 1.721345 ms -> 0.592360 ms    |
 |                                                   |
 | - Repeated get operation on the same key          |
 | vconf get average : 1.721345 ms -> 0.010990 ms    |
 +---------------------------------------------------+

Change-Id: Ib7ffd75dbd3bb11b76e9729f4177605848c47dfe
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoClose fd after g_source_remove in free_client 48/107148/1 accepted/tizen/common/20170112.174808 accepted/tizen/ivi/20170112.222951 accepted/tizen/mobile/20170112.222858 accepted/tizen/tv/20170112.222914 accepted/tizen/wearable/20170112.222931 submit/tizen/20170112.062520
Jiwoong Im [Tue, 27 Dec 2016 02:32:00 +0000 (11:32 +0900)]
Close fd after g_source_remove in free_client

Change-Id: Ia0d7e9d123cf0f8d518ef6c7ca5187dddfbd9971
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoAdd missing lock in buxton_open_full 66/104966/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.141556 accepted/tizen/3.0.m2/tv/20170104.142055 accepted/tizen/3.0.m2/wearable/20170104.142347 accepted/tizen/3.0/common/20161219.113504 accepted/tizen/3.0/ivi/20161219.070756 accepted/tizen/3.0/mobile/20161219.085128 accepted/tizen/3.0/tv/20161219.072411 accepted/tizen/3.0/wearable/20161219.095427 submit/tizen_3.0.m2/20170104.093751 submit/tizen_3.0/20161216.082724
Jiwoong Im [Thu, 15 Dec 2016 04:17:32 +0000 (13:17 +0900)]
Add missing lock in buxton_open_full

Change-Id: I08921156ff05cccea3af8977f7a5258e64f8f573
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agousing vconf_lock in restore_connection 72/104772/1 accepted/tizen/3.0/common/20161216.122740 accepted/tizen/3.0/ivi/20161216.013909 accepted/tizen/3.0/mobile/20161216.013744 accepted/tizen/3.0/tv/20161216.013837 accepted/tizen/3.0/wearable/20161216.013852 submit/tizen_3.0/20161215.010253
Jiwoong Im [Wed, 14 Dec 2016 06:53:36 +0000 (15:53 +0900)]
using vconf_lock in restore_connection

- To protect noti_tbl & client data in multi-thread situations

Change-Id: Ic1d2d29a86bffdfd5872c74109e2e92e51d1be5e
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoextend lock in buxton_open_full 09/103709/3 submit/tizen_3.0/20161213.042049
Jiwoong Im [Fri, 9 Dec 2016 07:54:26 +0000 (16:54 +0900)]
extend lock in buxton_open_full

- If call free_client function without taking lock,
  it can cause an infinite loop in recv_cb.

Change-Id: I7ebf99c0eb745e142a0e3b0ebb4bb4fc4f5e7eb8
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agorestore connection in vconf api, if socket connection is closed 72/103372/3
Jiwoong Im [Thu, 8 Dec 2016 06:55:09 +0000 (15:55 +0900)]
restore connection in vconf api, if socket connection is closed

Change-Id: I620b41bdc28bb6aa1dffa9df35727047fdc58042
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoadd EINTR exception handling in poll 63/96763/3 accepted/tizen/3.0/common/20161208.153808 accepted/tizen/3.0/ivi/20161208.063757 accepted/tizen/3.0/mobile/20161208.063729 accepted/tizen/3.0/tv/20161208.063741 accepted/tizen/3.0/wearable/20161208.063750 submit/tizen_3.0/20161208.010952
Jiwoong Im [Thu, 10 Nov 2016 06:04:02 +0000 (15:04 +0900)]
add EINTR exception handling in poll

Change-Id: I9bc64c756417f3a4a378356c4ea2b364de2948d7
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoChange upgrade script number 58/101858/2 accepted/tizen/3.0/common/20161205.091857 accepted/tizen/3.0/ivi/20161204.235837 accepted/tizen/3.0/mobile/20161204.235637 accepted/tizen/3.0/tv/20161204.235740 accepted/tizen/3.0/wearable/20161204.235807 submit/tizen_3.0/20161202.085638
Jiwoong Im [Fri, 2 Dec 2016 08:46:20 +0000 (17:46 +0900)]
Change upgrade script number

Change-Id: I206cf57c5b84f806475fcd013459d86436f32be0
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agofix _open in vconf api 86/101386/1 submit/tizen_3.0/20161202.062936
Jiwoong Im [Thu, 1 Dec 2016 05:18:26 +0000 (14:18 +0900)]
fix _open in vconf api

- If buxton_open fails, reduce refcnt.

Change-Id: I5eb923b3e127116bb9b28a400aa5eb3db73f8e65
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoFix memory leak in example codes 28/101228/1 accepted/tizen/3.0/common/20161203.012055 accepted/tizen/3.0/ivi/20161202.005458 accepted/tizen/3.0/mobile/20161202.005402 accepted/tizen/3.0/tv/20161202.005416 accepted/tizen/3.0/wearable/20161202.005435 submit/tizen_3.0/20161201.021013
Jiwoong Im [Wed, 30 Nov 2016 12:05:03 +0000 (21:05 +0900)]
Fix memory leak in example codes

Change-Id: I460a67233e1069c3f906c461f716d1596404eea0
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoUse journal mode WAL only in R/W normal db 02/100902/2 accepted/tizen/3.0/common/20161130.133602 accepted/tizen/3.0/ivi/20161130.091219 accepted/tizen/3.0/mobile/20161130.091124 accepted/tizen/3.0/tv/20161130.091146 accepted/tizen/3.0/wearable/20161130.091203 submit/tizen_3.0/20161130.023420
Jiwoong Im [Tue, 29 Nov 2016 14:16:38 +0000 (23:16 +0900)]
Use journal mode WAL only in R/W normal db

Change-Id: I4e0eb34e73f02b49c52695b81d465ec6ab02024b
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoadd security-disable in upgrade script 16/99816/1 accepted/tizen/3.0/common/20161125.101654 accepted/tizen/3.0/ivi/20161125.081212 accepted/tizen/3.0/mobile/20161125.081104 accepted/tizen/3.0/tv/20161125.081134 accepted/tizen/3.0/wearable/20161125.081150 submit/tizen_3.0/20161124.111024
Jiwoong Im [Thu, 24 Nov 2016 07:37:22 +0000 (16:37 +0900)]
add security-disable in upgrade script

Change-Id: Ic677a324eeed5ebc474e0d8805be6ef2fcad7932
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agomodify 3.0 upgrade script and tool 61/99661/3 accepted/tizen/3.0/common/20161124.181720 accepted/tizen/3.0/ivi/20161124.025756 accepted/tizen/3.0/mobile/20161124.025658 accepted/tizen/3.0/tv/20161124.025726 accepted/tizen/3.0/wearable/20161124.025741 accepted/tizen/common/20161125.095242 accepted/tizen/ivi/20161125.004204 accepted/tizen/mobile/20161125.003647 accepted/tizen/tv/20161125.003922 accepted/tizen/wearable/20161125.004045 submit/tizen/20161124.000829 submit/tizen_3.0/20161123.100537
Jiwoong Im [Wed, 23 Nov 2016 13:02:20 +0000 (22:02 +0900)]
modify 3.0 upgrade script and tool

- remove 2.4 vconf directroy after upgrade
- add a missing memory layer

Change-Id: If6c7c0126983a48aed07fb25c08ff56eef55a312
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agofix wrong errno return issue 70/99570/1
Jiwoong Im [Wed, 23 Nov 2016 09:12:15 +0000 (18:12 +0900)]
fix wrong errno return issue

Change-Id: Ie8e4b19304a577645f9b3ab3c21d5cbf6f500832
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoadd sqlite3 backend 32/95832/6 accepted/tizen/3.0/common/20161122.063740 accepted/tizen/3.0/ivi/20161121.234444 accepted/tizen/3.0/mobile/20161121.234348 accepted/tizen/3.0/tv/20161121.234402 accepted/tizen/3.0/wearable/20161121.234422 submit/tizen_3.0/20161118.014051
Jiwoong Im [Fri, 4 Nov 2016 01:18:56 +0000 (10:18 +0900)]
add sqlite3 backend

- Because gdbm doesn't have restore mechanism, replace backend to sqlite3

Change-Id: Ib0148e5c4932a5c563a081621497ac62bd3aedaa
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agofix dereference without checking and uninitialized data issue 93/97193/1 accepted/tizen/3.0/common/20161116.143526 accepted/tizen/3.0/ivi/20161116.022245 accepted/tizen/3.0/mobile/20161116.022026 accepted/tizen/3.0/tv/20161116.022129 accepted/tizen/3.0/wearable/20161116.022208 submit/tizen_3.0/20161111.111420 submit/tizen_3.0/20161115.024443
Jiwoong Im [Fri, 11 Nov 2016 10:54:20 +0000 (19:54 +0900)]
fix dereference without checking and uninitialized data issue

Change-Id: Ieafa8553bcd791f621daa9e9f4715c87d96a5250
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agofix buxton_update_client_label step 84/97184/2
Jiwoong Im [Fri, 11 Nov 2016 10:16:23 +0000 (19:16 +0900)]
fix buxton_update_client_label step

- In update_client_label request, find all clients by pid and update
each client's label.

Change-Id: I4465d3a2df8b7427a4ce305da71e081c8387f77e
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoRevert "Revert "share buxton connection in vconf get/set api"" 53/92253/3 accepted/tizen/3.0/common/20161114.082420 accepted/tizen/3.0/ivi/20161103.131750 accepted/tizen/3.0/mobile/20161103.131654 accepted/tizen/3.0/tv/20161103.131712 accepted/tizen/3.0/wearable/20161103.131732 accepted/tizen/common/20161109.140340 accepted/tizen/ivi/20161110.000432 accepted/tizen/mobile/20161110.000326 accepted/tizen/tv/20161110.000356 accepted/tizen/wearable/20161110.000415 submit/tizen/20161101.112858 submit/tizen/20161109.002425 submit/tizen_3.0/20161102.064015 submit/tizen_3.0_common/20161110.084657
Jiwoong Im [Fri, 14 Oct 2016 06:51:09 +0000 (15:51 +0900)]
Revert "Revert "share buxton connection in vconf get/set api""

This reverts commit c84229499da8c0583d9d53f3647e792c98e440ec.

Change-Id: Ib1bb601b255de1bce4e3ce6a1e20d6d0893f8519
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoAdd buxton_update_client_label api 51/92251/9
Jiwoong Im [Fri, 14 Oct 2016 06:44:39 +0000 (15:44 +0900)]
Add buxton_update_client_label api

- Because candidate app has "User" label, buxton2d should update buxton
  client label after candidate app changes smack label.
  To solve this, buxton2 provide api to update app's client label.

Change-Id: I57820f6d83197bc8059dd7b1e5d41007a313045f
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agomodify log level in buxton/vconf api 85/92685/1 accepted/tizen/3.0/ivi/20161028.133952 accepted/tizen/3.0/mobile/20161028.133106 accepted/tizen/3.0/tv/20161028.133412 accepted/tizen/3.0/wearable/20161028.133717 accepted/tizen/common/20161018.175258 accepted/tizen/ivi/20161018.235353 accepted/tizen/mobile/20161018.235331 accepted/tizen/tv/20161018.235343 accepted/tizen/wearable/20161018.235338 submit/tizen/20161018.072833 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082423 submit/tizen_3.0_common/20161104.104000
Jiwoong Im [Tue, 18 Oct 2016 06:40:18 +0000 (15:40 +0900)]
modify log level in buxton/vconf api

Change-Id: I53297c268240a0ff5731e832256843260521c6e8
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoRevert "share buxton connection in vconf get/set api" 17/92117/1 accepted/tizen/common/20161013.160710 accepted/tizen/ivi/20161013.095002 accepted/tizen/mobile/20161013.094916 accepted/tizen/tv/20161013.094932 accepted/tizen/wearable/20161013.094944 submit/tizen/20161013.092412 submit/tizen/20161013.092521
Jiwoong Im [Thu, 13 Oct 2016 09:21:38 +0000 (18:21 +0900)]
Revert "share buxton connection in vconf get/set api"

This reverts commit d1af0d545b8b65b7f747466e61602e63ebc3a009.

Change-Id: Ibe2a5d33f65d262b6fec9eca5963dcecad2b52f2
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoshare buxton connection in vconf get/set api 37/90237/4 accepted/tizen/common/20161010.145807 accepted/tizen/ivi/20161011.233924 accepted/tizen/mobile/20161011.233912 accepted/tizen/tv/20161011.233920 accepted/tizen/wearable/20161011.233918 submit/tizen/20161010.024800
Jiwoong Im [Thu, 29 Sep 2016 06:35:31 +0000 (15:35 +0900)]
share buxton connection in vconf get/set api

Change-Id: Ic8525cfd607b11543c8cb8c5f9d95bfd3da1d7a7
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoAdd an exception handling 04/87604/1 accepted/tizen/3.0/ivi/20161011.053529 accepted/tizen/3.0/mobile/20161015.032318 accepted/tizen/3.0/tv/20161016.003451 accepted/tizen/3.0/wearable/20161015.080346 accepted/tizen/common/20160912.180711 accepted/tizen/ivi/20160912.093239 accepted/tizen/mobile/20160912.093152 accepted/tizen/tv/20160912.093205 accepted/tizen/wearable/20160912.093223 submit/tizen/20160911.233959 submit/tizen_3.0_ivi/20161010.000000 submit/tizen_3.0_ivi/20161010.000010 submit/tizen_3.0_mobile/20161015.000000 submit/tizen_3.0_tv/20161015.000000 submit/tizen_3.0_wearable/20161015.000000
Hwankyu Jhun [Fri, 9 Sep 2016 00:15:46 +0000 (09:15 +0900)]
Add an exception handling

Change-Id: Ifd4f889cdb3c214485e5f5f77c5b2c8a2fb8ed03
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoRemove destructor function 30/86830/1 accepted/tizen/common/20160905.171445 accepted/tizen/ivi/20160905.235915 accepted/tizen/mobile/20160905.235752 accepted/tizen/tv/20160905.235822 accepted/tizen/wearable/20160905.235848 submit/tizen/20160905.010800
Semun Lee [Mon, 5 Sep 2016 06:26:38 +0000 (15:26 +0900)]
Remove destructor function

Some program may use vconf-buxton api not in main thread.
When main threads exits the destructor may cause crash.

Change-Id: I97df4c234078e305083f5c9514c234ffb6eccc19
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
8 years agoadd missing mutex unlock 24/86424/1
Jiwoong Im [Thu, 1 Sep 2016 06:45:56 +0000 (15:45 +0900)]
add missing mutex unlock

Change-Id: I2eef917e6a342bce33eb32b8c9300610afff98f7
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoadd vconf key migration tool (2.4 -> 3.0) 27/85827/3
Jiwoong Im [Mon, 29 Aug 2016 08:06:19 +0000 (17:06 +0900)]
add vconf key migration tool (2.4 -> 3.0)

Change-Id: I1e78d043b712e6667ad981cf80f1ac842ade2140
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoextend lock scope of clients_lock & vconf_lock in library 74/85474/2 accepted/tizen/common/20160830.150004 accepted/tizen/ivi/20160830.061237 accepted/tizen/mobile/20160830.061104 accepted/tizen/tv/20160830.061149 accepted/tizen/wearable/20160830.061232 submit/tizen/20160829.073018
Jiwoong Im [Thu, 25 Aug 2016 08:40:28 +0000 (17:40 +0900)]
extend lock scope of clients_lock & vconf_lock in library

Change-Id: Ibdecd0e326e8b4f965f10dc4e08dfa7acd58f27e
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoadd platform upgrade script 79/85179/4 accepted/tizen/common/20160824.154832 accepted/tizen/ivi/20160825.050818 accepted/tizen/mobile/20160825.050719 accepted/tizen/tv/20160825.050741 accepted/tizen/wearable/20160825.050756 submit/tizen/20160824.065208
Jiwoong Im [Wed, 24 Aug 2016 05:21:20 +0000 (14:21 +0900)]
add platform upgrade script

Change-Id: If4e92db59b39af2f662d1e6266c86b943c650665
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoremove unnecessary error check 35/85135/1
Jiwoong Im [Wed, 24 Aug 2016 02:07:12 +0000 (11:07 +0900)]
remove unnecessary error check

- check only the existence of the key before create key

Change-Id: Ieff93c62f36f0e13fa65e02c84edd9b0f9ede9ac
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agofix direct_create logic 32/84932/1 accepted/tizen/common/20160823.132743 submit/tizen/20160823.094233
Jiwoong Im [Tue, 23 Aug 2016 01:38:12 +0000 (10:38 +0900)]
fix direct_create logic

- close db and reopen with R/W flag after get key.

Change-Id: I4ea13d4da66af694c1fe906183f95782db74ccc1
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agomove base db data file path to R/O 63/84763/3 submit/tizen/20160822.123706
Jiwoong Im [Mon, 22 Aug 2016 08:18:11 +0000 (17:18 +0900)]
move base db data file path to R/O

Change-Id: I85ddc7c4ade851ca0e4657c0ae2da528400ecb3c
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoextend lock scope of vconf_lock in notify/ignore api 18/83518/1 accepted/tizen/common/20160823.132554 accepted/tizen/ivi/20160824.021604 accepted/tizen/mobile/20160824.021431 accepted/tizen/tv/20160824.021529 accepted/tizen/wearable/20160824.021637 submit/tizen/20160822.060113
Jiwoong Im [Thu, 11 Aug 2016 09:43:21 +0000 (18:43 +0900)]
extend lock scope of vconf_lock in notify/ignore api

- Sometimes buxton client is closed by ohter thread,
  if vconf_lock is unlocked in notify/ignore API.
  There is no need to unlock vconf_lock before call buxton api,
  because noti_cb is called in idler.
  (noti callback which is called in wait_msg in buxton api causes dead lock)
  As a result, extend lock scope of vconf_lock.

Change-Id: Ib9883af231dc76c888d6b12334da70929169ddc0
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoSet SmackProcessLabel to System 82/80882/1 accepted/tizen/common/20160721.175642 accepted/tizen/ivi/20160721.090728 accepted/tizen/mobile/20160721.090447 accepted/tizen/tv/20160721.091305 accepted/tizen/wearable/20160721.090917 submit/tizen/20160721.003054
Yunjin Lee [Wed, 20 Jul 2016 12:07:33 +0000 (21:07 +0900)]
Set SmackProcessLabel to System

Change-Id: I8c0d09558698877148f7cd1658b4b3b0bc9d009a
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years ago vconf-compat : modify calling noti callback in idler 15/79815/2 accepted/tizen/common/20160714.152559 accepted/tizen/ivi/20160713.125925 accepted/tizen/mobile/20160713.125833 accepted/tizen/tv/20160713.125850 accepted/tizen/wearable/20160713.125906 submit/tizen/20160713.123903
Jiwoong Im [Wed, 13 Jul 2016 05:38:33 +0000 (14:38 +0900)]
 vconf-compat : modify calling noti callback in idler

- There is a timing issue that noti callback is called after unregistered
  To fix this issue, find noti callback in idler and call the noti callback

Change-Id: I1299da587bf6f99c3e4955f758e4149306dc0b54
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoreassign PATH env in shell script 12/77012/1 accepted/tizen/common/20160703.130005 accepted/tizen/ivi/20160629.070841 accepted/tizen/mobile/20160629.071004 accepted/tizen/tv/20160629.070734 accepted/tizen/wearable/20160629.070821 submit/tizen/20160629.021322 submit/tizen_common/20160701.180000
Jiwoong Im [Tue, 28 Jun 2016 08:41:55 +0000 (17:41 +0900)]
reassign PATH env in shell script

Change-Id: I1c392d4562de0ed58262ad08fc80ea317cdb5686
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agovconf-compat : add idler to call noti callback 92/76192/6 accepted/tizen/common/20160703.125833 accepted/tizen/ivi/20160629.015702 accepted/tizen/mobile/20160629.015622 accepted/tizen/tv/20160629.015750 accepted/tizen/wearable/20160629.015552 submit/tizen/20160627.042541
Jiwoong Im [Thu, 23 Jun 2016 06:10:36 +0000 (15:10 +0900)]
vconf-compat : add idler to call noti callback

Change-Id: Idb62ea2a72413d4719ffad8033fe8fd30f027fdd
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agovconf-compat : add lcov exclude comment for not supported api in tc 78/75678/1 accepted/tizen/common/20160627.191114 accepted/tizen/common/20160629.222152 accepted/tizen/ivi/20160624.064116 accepted/tizen/mobile/20160624.063716 accepted/tizen/tv/20160624.063735 accepted/tizen/wearable/20160624.064001 submit/tizen/20160621.225650 submit/tizen/20160623.110452
Jiwoong Im [Tue, 21 Jun 2016 03:53:07 +0000 (12:53 +0900)]
vconf-compat : add lcov exclude comment for not supported api in tc

Change-Id: Ic840702d21303b072e011e3bfc96bafdf7b4249d
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agolibrary : fix wrong use of mutex lock 20/74120/2 accepted/tizen/common/20160614.143651 accepted/tizen/ivi/20160614.041205 accepted/tizen/mobile/20160614.041112 accepted/tizen/tv/20160614.041150 accepted/tizen/wearable/20160614.041135 submit/tizen/20160613.023047 submit/tizen/20160613.062107
Jiwoong Im [Mon, 13 Jun 2016 02:11:55 +0000 (11:11 +0900)]
library : fix wrong use of mutex lock

Change-Id: I4968b8a7847d759b1d7bc14b7eb2fa8cace0dc29
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agodaemon : modify gdbm cache size to reduce memory usage 82/73882/2
Jiwoong Im [Fri, 10 Jun 2016 02:09:42 +0000 (11:09 +0900)]
daemon : modify gdbm cache size to reduce memory usage

Change-Id: I292c3ae041b0dd6df3c6e470c342206a62e92879
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agodaemon : add buxton group in systemd service file 41/73541/1
Jiwoong Im [Wed, 8 Jun 2016 11:44:01 +0000 (20:44 +0900)]
daemon : add buxton group in systemd service file

Change-Id: Ice6082e4a67e87fbe2d75d24ba374e1e1be1671f
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoFix issue related to noti_tbl hash table 55/73155/2 accepted/tizen/common/20160610.175821 accepted/tizen/ivi/20160609.090151 accepted/tizen/mobile/20160609.090122 accepted/tizen/tv/20160609.090225 accepted/tizen/wearable/20160609.090139 submit/tizen/20160608.045259
Semun Lee [Tue, 7 Jun 2016 03:53:23 +0000 (12:53 +0900)]
Fix issue related to noti_tbl hash table

- fix wrong copy_noti loop
- remove noti from noti_tbl after unregister noti completely

Change-Id: Ifd18061783b2c5f2f147dd6c769b6716189be7ba
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
8 years agochange smack label of db files in posttrans script 09/72809/4 accepted/tizen/common/20160607.194645 accepted/tizen/ivi/20160607.235244 accepted/tizen/ivi/20160607.235329 accepted/tizen/mobile/20160607.235227 accepted/tizen/mobile/20160607.235301 accepted/tizen/tv/20160607.235239 accepted/tizen/tv/20160607.235320 accepted/tizen/wearable/20160607.235231 accepted/tizen/wearable/20160607.235311 submit/tizen/20160607.081957 submit/tizen/20160607.082137
Jiwoong Im [Thu, 2 Jun 2016 11:36:17 +0000 (20:36 +0900)]
change smack label of db files in posttrans script

Change-Id: Icce3597d5f09b4b45427363d2b8c9d1a422f88ad
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agolibrary : remove idler function which frees noti callback 64/72564/5
Jiwoong Im [Wed, 1 Jun 2016 12:34:02 +0000 (21:34 +0900)]
library : remove idler function which frees noti callback

- change deleted flag to refcnt in noti_cb structure to manage callback

Change-Id: Ib95d2e8f21522268751d9788061e95859af5b705
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agolibrary : addd mutex lock for GHashTable 53/69753/10 accepted/tizen/common/20160526.145811 accepted/tizen/ivi/20160523.103112 accepted/tizen/mobile/20160523.103116 accepted/tizen/tv/20160523.103031 accepted/tizen/wearable/20160523.103108 submit/tizen/20160523.082558
Jiwoong Im [Mon, 16 May 2016 12:44:11 +0000 (21:44 +0900)]
library : addd mutex lock for GHashTable

Change-Id: Ibc16e37680250ebac7cc045951d4511889579950
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>