jusung son [Tue, 5 Mar 2019 06:01:01 +0000 (15:01 +0900)]
Release version 1.5.1
Changes:
- Use buxton_errno instead of global variable 'errno'
- vconf: Clarify documentation for vconf_keylist_lookup()
Change-Id: I4da9127a686b6be0f7ec9b29adf58b9fa5ba8b5d
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Tue, 26 Feb 2019 02:34:53 +0000 (11:34 +0900)]
Use buxton_errno instead of global variable 'errno'
- The global variable 'errno' can be contaminated by other libraries.
Change-Id: Ie173b0907a8ade50af436c4fd699be1fe1d0033b
Signed-off-by: jusung son <jusung07.son@samsung.com>
(cherry picked from commit
12742d4a6f6b24fd0a24a75ac18b510e1a888cd2)
Paweł Szewczyk [Fri, 1 Mar 2019 11:44:08 +0000 (12:44 +0100)]
vconf: Clarify documentation for vconf_keylist_lookup()
The returned value was not described correctly and the example ommited
checking if the value was actually obtained. This commit add neccessary
check to the example code for this function.
Change-Id: I507e297338c4c459c99b0cbf8a0b835d71270887
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
jusung son [Mon, 18 Feb 2019 09:27:36 +0000 (18:27 +0900)]
Fix resource leaks
Change-Id: I761c393e39ec2571356686d7863c78f7a15be3e0
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Tue, 29 Jan 2019 07:38:51 +0000 (16:38 +0900)]
Release version 1.5.0
Changes:
- Fix double free
Change-Id: Id21cd22f5e1cd611ccca473c7b61662c17c68aaa
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Thu, 17 Jan 2019 08:33:24 +0000 (17:33 +0900)]
Fix double free
Change-Id: Ie7448c3890582b7703c6fdbeda3dbc1589c38a28
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Fri, 7 Dec 2018 07:48:21 +0000 (16:48 +0900)]
Release version 1.3.9
Changes:
- Fix dlog format
Change-Id: I3af509d38ac38415bcbaca74e62c7fb0b32fd2d9
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Fri, 7 Dec 2018 07:21:48 +0000 (16:21 +0900)]
Fix dlog format
Change-Id: I352be2170818355f837d9a96991e2180fb7bafa8
Signed-off-by: jusung son <jusung07.son@samsung.com>
Inkyun Kil [Tue, 2 Oct 2018 05:02:21 +0000 (14:02 +0900)]
Release version 1.3.8
- Fix static analysis issue
Change-Id: I93d4293e752b73f0de22489f276e80fb58d34d15
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Mon, 1 Oct 2018 06:39:26 +0000 (15:39 +0900)]
Fix static analysis issue
- Return value
Change-Id: I9c9007a7babbf1436fbd33a08058cfd998269e0f
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
jusung son [Tue, 10 Jul 2018 08:14:22 +0000 (17:14 +0900)]
Release version 1.3.7
Changes:
- Fix build warnings
- Add "_vconf" prefix to the internal APIs in vconf-compat
Change-Id: I0d2b5e5bc4e94f472f48f82f98767f5fc22f2662
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Tue, 10 Jul 2018 04:38:37 +0000 (13:38 +0900)]
Fix build warnings
Change-Id: I74aaa00842ed010732bc8dd7f30f7ef316622e7c
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Tue, 10 Jul 2018 00:39:13 +0000 (09:39 +0900)]
Add "_vconf" prefix to the internal APIs in vconf-compat
Change-Id: I42d82fc468c849b4f8b357a57a6e25132b64a764
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Tue, 3 Jul 2018 07:14:50 +0000 (16:14 +0900)]
Release version 1.3.6
- Fix static analysis issue
Change-Id: I74a76c6044a35788cc251b1caa40688a84903d07
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Tue, 3 Jul 2018 01:48:07 +0000 (10:48 +0900)]
Fix static analysis issue
- Unused value
- Resource leak
Change-Id: I376da73df9ffadf72b017d185d81d97de0497b83
Signed-off-by: jusung son <jusung07.son@samsung.com>
Inkyun Kil [Fri, 22 Jun 2018 02:29:55 +0000 (11:29 +0900)]
Release version 1.3.5
Changes:
- Modify buxton2 systemd service file
Change-Id: Ia2b93ce9cac7748a48bd22a9a716ac267d85ab6a
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Jiwoong Im [Wed, 5 Jul 2017 04:35:03 +0000 (13:35 +0900)]
Modify buxton2 systemd service file
- For boot optimization, modify buxton2 service file.
Change-Id: I45799f72fc3514a5d8da70c79a4a3d3bc652a995
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
jusung son [Fri, 15 Jun 2018 02:17:09 +0000 (11:17 +0900)]
Release version 1.3.4
Changes:
- Fix build warnings
Change-Id: I8dfdc245a914ccd4b0039edf73b61039183a96f6
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Fri, 15 Jun 2018 01:51:51 +0000 (10:51 +0900)]
Fix build warnings
Change-Id: I9b64a06f82d3cb2f92a7ab73c4e1ad83637b2109
Signed-off-by: jusung son <jusung07.son@samsung.com>
Inkyun Kil [Thu, 14 Jun 2018 08:43:54 +0000 (17:43 +0900)]
Release version 1.3.3
Changes:
- Fix wrong resource management
Change-Id: Id6bc971254ab23bd6445b5e097e99e954a631c5a
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Mon, 11 Jun 2018 07:27:24 +0000 (16:27 +0900)]
Fix wrong resource management
If a program is unloaded before GMainContext invoke the 'call_noti_cb',
the program is crashed because the 'call_noti_cb' has deleted.
To prevent it, remove the source from GMainContext at destructor.
Change-Id: I3cdf7e84c055856f58d1797c8444464be585ef0d
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Thu, 7 Jun 2018 06:33:02 +0000 (15:33 +0900)]
Release version 1.3.2
Changes:
- Add file log
Change-Id: Iea7217a7facb5d2d97a6d5ebadc9eb6439068515
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Tue, 5 Jun 2018 04:21:33 +0000 (13:21 +0900)]
Add file log
Change-Id: Ieb3b8b76c1f88793081fd2111692863e1a744312
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Tue, 29 May 2018 07:32:35 +0000 (16:32 +0900)]
Release version 1.3.1
Changes:
- Fix double free
Change-Id: I6b39a218dbd322c0f47006e127f9bd2e4d4503f5
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Tue, 29 May 2018 06:59:11 +0000 (15:59 +0900)]
Fix double free
Change-Id: I6b67d246efa0cb018c4dd5ffa44db4564ab55b1f
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Tue, 29 May 2018 05:06:43 +0000 (14:06 +0900)]
Release version 1.3.0
Changes:
- Add dump command in vconftool
Change-Id: I9735db18a3b7f2e2a16dd85ddb8c3c0778ccb1ae
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Tue, 29 May 2018 00:55:50 +0000 (09:55 +0900)]
Add dump command in vconftool
Change-Id: I285ace5ad1f01c311e47bc47fc19e2f2464e335e
Signed-off-by: jusung son <jusung07.son@samsung.com>
Inkyun Kil [Thu, 10 May 2018 02:06:32 +0000 (11:06 +0900)]
Release version 1.2.26
Changes:
- Add codes for defensive programming
Change-Id: Idcefe952e3884e2556dc50e46251f4cc06fd3266
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Wed, 9 May 2018 04:57:23 +0000 (13:57 +0900)]
Add codes for defensive programming
Before buxton daemon wakes up, some modules can use buxton2ctl directly
by using vconftool.
Then 'memory.db' file's owner may be wrong.
Change-Id: Ieed25b378c1c579d1216f10b590063a910b21a49
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Wed, 28 Mar 2018 08:09:49 +0000 (17:09 +0900)]
Release version 1.2.25
Changes:
- Add RELRO for excutables
Change-Id: Ica70fc36f74805db78a60ccf1731fe029bc11c86
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Wed, 28 Mar 2018 07:33:10 +0000 (16:33 +0900)]
Add RELRO for excutables
Change-Id: Ia505218ec895e499e8b0813eb4a4dfc7c102c514
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
jusung son [Wed, 7 Mar 2018 11:16:20 +0000 (20:16 +0900)]
Merge branch 'tizen' of ssh://review.tizen.org:29418/platform/core/system/buxton2 into tizen
jusung son [Wed, 7 Mar 2018 11:12:43 +0000 (20:12 +0900)]
Release version 1.2.24
Changes:
- Fix wrong resource management
Change-Id: Idda5591ed3a7d5b4a6a159f8b0b39bb4aa9f44a5
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Wed, 7 Mar 2018 11:12:43 +0000 (20:12 +0900)]
Release version 1.2.24
Change-Id: Idda5591ed3a7d5b4a6a159f8b0b39bb4aa9f44a5
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Wed, 7 Mar 2018 09:19:26 +0000 (18:19 +0900)]
Fix wrong resource management
- callback information protection logic
- socket leak
Change-Id: If11518db21aefddf8de30dc2463338ccf5d86109
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Wed, 17 Jan 2018 04:18:19 +0000 (13:18 +0900)]
Release version 1.2.23
Changes:
- Use direct option in vconf backup/restore
Change-Id: I32a7492dec23de1d17d88b6a578acc24eb9969c2
Signed-off-by: jusung son <jusung07.son@samsung.com>
Jiwoong Im [Mon, 7 Aug 2017 04:42:13 +0000 (13:42 +0900)]
Use direct option in vconf backup/restore
Change-Id: I644005ba315581e5604c27049d02f04640443a85
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
(cherry picked from commit
bd30a3f64e66d63032fa7ed66b848a12279b867e)
jusung son [Wed, 10 Jan 2018 00:49:52 +0000 (09:49 +0900)]
Release version 1.2.12
Changes:
- Modify upgrade script
Change-Id: Ic53b27a60d75df55d65fe68efd1fd3d3daa279fc
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Tue, 9 Jan 2018 23:32:27 +0000 (08:32 +0900)]
Modify upgrade script
- run daemon for other modules
Change-Id: If270f6adffa5a99e5da2b0ee93867703230a9210
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Thu, 30 Nov 2017 01:48:24 +0000 (10:48 +0900)]
Release version 1.2.21
Changes:
- Fix vconftool set command
Change-Id: If17a62cc521c3a069bc7bb1b1fd52f67f366c442
Signed-off-by: jusung son <jusung07.son@samsung.com>
Semun Lee [Wed, 29 Nov 2017 10:28:05 +0000 (19:28 +0900)]
Fix vconftool set command
When the key cannot be retrieved while setting the value,
try to create it assuming the key doesn't exist.
Checking "No such file" log is not that robust way checking
if the key exist or not because it depends on "errno" which
can be changed by some libc apis.
Change-Id: I0231632a0df104030c90c9cd01af06d8a9d95552
Signed-off-by: Semun Lee <semun.lee@samsung.com>
Inkyun Kil [Thu, 23 Nov 2017 05:11:47 +0000 (14:11 +0900)]
Release version 1.2.20
- Change uid/gid for buxton
Change-Id: I6363fc1892670ac030ae5820286ea3141ec4a19a
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Thu, 23 Nov 2017 02:54:04 +0000 (11:54 +0900)]
Change uid/gid for buxton
Change-Id: I3836b6da8ad5aea65c9e8524a6ab8821593ae864
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Wed, 22 Nov 2017 11:31:56 +0000 (20:31 +0900)]
Release version 1.2.19
- Add owner group to the db files
- Fix bug for wrong string comparison
Change-Id: I4b6b0f0bfca2d5c22ddc809a0d2edc44cf547d18
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Wed, 22 Nov 2017 11:28:47 +0000 (11:28 +0000)]
Merge "Fix bug for wrong string comparison" into tizen
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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)
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>
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>
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>
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>
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>
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>
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>
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)
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)
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)
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>