Hwankyu Jhun [Mon, 1 Jul 2024 05:30:16 +0000 (14:30 +0900)]
Release version 0.6.22
Changes:
- Fix static analysis issues
Change-Id: I9b6bfdfc5dd5b5595bdd732c78189c35d272b729
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Sun, 30 Jun 2024 23:52:08 +0000 (08:52 +0900)]
Fix static analysis issues
Checker:
- COMPARE_RESULT_OF_NEW
Change-Id: Ifdbcff09dba722a42f368549fabac289f7a1c049
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 27 Jun 2024 23:46:58 +0000 (08:46 +0900)]
Release version 0.6.21
Changes:
- Add logs for debugging
Change-Id: Ic247c48408d15338b6bae917a433a4608191202a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 27 Jun 2024 23:20:49 +0000 (08:20 +0900)]
Add logs for debugging
This patch adds logs and changes the log level for debugging.
Change-Id: I73ce4116b5c7e88bf23b3307c5d8cbee667a3f73
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Wed, 22 May 2024 05:18:34 +0000 (05:18 +0000)]
Merge "Release version 0.6.20" into tizen
Changgyu Choi [Wed, 22 May 2024 05:16:13 +0000 (14:16 +0900)]
Release version 0.6.20
Changes:
- Fix crash issue
Change-Id: I039d9cbabe546b6ebca581d86f18d6dd7b2b6759
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Wed, 22 May 2024 05:16:13 +0000 (14:16 +0900)]
Release version 0.6.20
Changes:
- Fix crash issue
Change-Id: I039d9cbabe546b6ebca581d86f18d6dd7b2b6759
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Wed, 22 May 2024 03:56:36 +0000 (12:56 +0900)]
Fix crash issue
In the case of using the preference api after the global resource is destroyed,
a problem occurs by accessing the destroyed pref object.
This patch fixes that issue.
01-01 12:34:23.143+0900 I/CAPI_APPFW_PREFERENCE(P 5722, T 5722): file-backend-internal.cc: ~FileBackend(33) >
01-01 12:34:23.143+0900 I/CAPI_APPFW_PREFERENCE(P 5722, T 5722): file-backend-internal.cc: RemoveWatch(173) >
01-01 12:34:23.206+0900 I/CAPI_APPFW_PREFERENCE(P 5722, T 5742): stub.cc: preference_unset_changed_cb(317) >
Change-Id: I685c3d39ac0ee6e674d91f44b14c8d965edd08bf
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Tue, 2 Apr 2024 05:53:55 +0000 (14:53 +0900)]
Release version 0.6.19
Changes:
- Fix preference_get_string() function
Change-Id: I2a04c0ecbc18c37ba7c24ec025c9d17876d2b99c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 2 Apr 2024 05:42:10 +0000 (14:42 +0900)]
Fix preference_get_string() function
In the previous implementation, the preference does not write the data
if the string value is empty string. Even if the data length is 0, the
function should return the empty string.
This patch is for backward compatibility.
Change-Id: I36c9892cda0530fc3a2170e73c685958d188232b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 12 Mar 2024 05:16:31 +0000 (14:16 +0900)]
Release version 0.6.18
Changes:
- Fix lcov option
Change-Id: I654a06ae47070d41e280761e266a5b07df0bb1dd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 12 Mar 2024 03:55:05 +0000 (12:55 +0900)]
Fix lcov option
"mismatch,graph,unused" options are added.
Change-Id: I2d8066143699c6cacdfaf15662dd534b84ad10d4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 4 Mar 2024 03:18:24 +0000 (12:18 +0900)]
Release version 0.6.17
Changes:
- Fix string getter implementation
Change-Id: I6f3c103cceeefd6d63fd118a46562abad51cfcac
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 4 Mar 2024 02:14:04 +0000 (11:14 +0900)]
Fix string getter implementation
In the previous implementation, the file does not have the null-terminated string
if the data is string type. After refactored the implementation, the file has
the null-terminated string. The preference API checks whether the last character
is the null-terminated string or not. And, if it's not, the null-terminated string
will be added. This patch is for backward compatibility.
Change-Id: Ia0a50d008be7f66616410c80d98b963dc36e68ad
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 22 Feb 2024 05:42:38 +0000 (14:42 +0900)]
Release version 0.6.16
Changes:
- Modify Path::Get() method
Change-Id: I4b36e76f9f3b10ba1657dbf1bd5da99a7f0f77f2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 22 Feb 2024 03:54:37 +0000 (12:54 +0900)]
Modify Path::Get() method
The method uses aul API to get the data path.
If it's failed, the method tries to get the data path using
tzplatform_config() API.
Change-Id: I63168e61ed3f7b8f5b206393ab6890c9b3949034
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Fri, 16 Feb 2024 05:48:35 +0000 (14:48 +0900)]
Release version 0.6.15
Changes:
- Remove conditional statements for Moible/Wearable profile
Change-Id: Id41c2ed79d523a7526e765751bf33b79b607a55d
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Fri, 16 Feb 2024 04:30:34 +0000 (13:30 +0900)]
Remove conditional statements for Moible/Wearable profile
Change-Id: Ide73d3258759304cf60d9fb809b95e0df310d10c
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Mon, 3 Jul 2023 08:30:59 +0000 (08:30 +0000)]
Release version 0.6.14
Changes:
- Fixed the build error using gcc 13
Change-Id: If6f47a7e761a0e70fbdc7a69e0910d6760278369
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
wchang kim [Thu, 29 Jun 2023 21:09:35 +0000 (06:09 +0900)]
Fixed the build error using gcc 13
Change-Id: Idafbcc858fb2e2d817057e22bf09bc57d979b38c
Hwankyu Jhun [Tue, 14 Feb 2023 03:06:07 +0000 (03:06 +0000)]
Release version 0.6.13
Changes:
- Fix duplicated installation of unit test
Change-Id: Ic42f24ea1b2e2527cb8785d54e8fd6e8aaa4fdc9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 14 Feb 2023 02:02:23 +0000 (02:02 +0000)]
Fix duplicated installation of unit test
The preference-unit-tests installation was duplicated. This patch
removes the duplicated installation. After this patch is applied,
The file is only installed by the unittests package.
Change-Id: I54415ea4d912333852642f8f3ded3e9236b61a57
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 14 Jul 2022 06:41:18 +0000 (15:41 +0900)]
Release version 0.6.12
Changes:
- Fix run-unittest.sh script
Change-Id: I690492008a7e610236b63600102ac3224d47b1eb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 14 Jul 2022 05:17:32 +0000 (14:17 +0900)]
Fix run-unittest.sh script
For code coverage measurement, the permission of directories and files should be
changed for applications.
The script sets the smack label as "System::Run" to files.
Change-Id: Iaeb3d47e5965726e25c8b3bf83f2d22705ba4860
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 26 May 2022 01:43:03 +0000 (10:43 +0900)]
Release version 0.6.11
Changes:
- Fix spec file for coverage measurement
Change-Id: I5b866c40eb784c4db006b033193cbe98e38badd6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 25 May 2022 22:52:32 +0000 (07:52 +0900)]
Fix spec file for coverage measurement
To measure code coverages automatically, a run-unittest.sh is needed.
Change-Id: Ia9f2e0fa7cb20cf5bde0b4fd44c383f495304872
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Thu, 20 Jan 2022 06:58:15 +0000 (15:58 +0900)]
Release version 0.6.10
Changes:
- Change gcov installation path
Change-Id: I44358211d827be7860ff1fe5aff236df411d0a37
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Thu, 20 Jan 2022 03:59:31 +0000 (12:59 +0900)]
Change gcov installation path
Change-Id: I7f45fe8a7d0e16d8c6a156ed4db1b4ec4d29f41b
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Wed, 13 Oct 2021 05:16:28 +0000 (14:16 +0900)]
Release version 0.6.9
Changes:
- Fix exception handlings of getter
Change-Id: I1bfab7ea90c93aadda684589cb53d07fc2843fa7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 13 Oct 2021 04:36:58 +0000 (13:36 +0900)]
Fix exception handlings of getter
Even though the type is not equal to the request type, the method
returns the value with the error result. After this patch is applied,
the method checks whether the size of the raw data greater than the size or not.
If the type is boolean, the method checks the size of the raw data is
greater than the integer size or not.(This is for backward compatibility.)
Change-Id: I6288710d9ad79d22f8fa45fc50f77fc7245811a8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
SukhyungKang [Fri, 20 Aug 2021 01:19:36 +0000 (10:19 +0900)]
Release version 0.6.8
changes:
- change variable type
Change-Id: I897e69777c7554a94b55d55360a937b5429ab57c
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
SukhyungKang [Thu, 19 Aug 2021 02:32:56 +0000 (11:32 +0900)]
change variable type
Change-Id: Ie6ae933d63a5239cacde9433f343f751b074cc84
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
Hwankyu Jhun [Wed, 28 Jul 2021 21:53:39 +0000 (06:53 +0900)]
Release version 0.6.7
Changes:
- Add missing files
Change-Id: I2a6721247df003b8a5e7690be1645d61b9e9fb2f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 28 Jul 2021 21:49:14 +0000 (06:49 +0900)]
Add missing files
Change-Id: I78f0e2e10bc6837a07a6a69820cbbe9f11010bf2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 28 Jul 2021 06:30:26 +0000 (15:30 +0900)]
Release version 0.6.6
Changes:
- Fix behavior of getter
Change-Id: Iede5a95323d0d5dc5b32fab856d659ffe549076b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 28 Jul 2021 05:22:54 +0000 (14:22 +0900)]
Fix behavior of getter
This patch is for backward compatibility. If the type of the keynode is
not matched, the function returns PREFERENCE_ERROR_INVALID_PARAMETER
error with the result.
Change-Id: I1964c02198baccf97de3738bff5ece72d6a76f53
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 2 Jul 2021 00:53:45 +0000 (09:53 +0900)]
Release version 0.6.5
Changes:
- Check raw data size
Change-Id: Ia3e806d46e224cb446092a59b91ca01e9a0adc21
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 1 Jul 2021 01:15:47 +0000 (10:15 +0900)]
Check raw data size
If the device was turned off when the application was writing the
preference data, the data can be corrupted. If the data is corrupted,
the application will be crashed when reading the data.
To prevent crash issue, this patch adds to check whether the size of the
raw data is valid or not.
Change-Id: I09379f294104200aa0fc4d3799ddc2a56a96745b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 10 Jun 2021 08:36:44 +0000 (17:36 +0900)]
Release version 0.6.4
Changes:
- Fix rpm sepc file
Change-Id: I7ec973f36fd59d898df80c10c76bb805c2243d07
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 10 Jun 2021 08:23:01 +0000 (17:23 +0900)]
Fix rpm sepc file
IF the check section is disabled, the explicit file name makes the build
error. This patch uses asterisk instead of explicit files.
Change-Id: Id5c005eaeeec828303b0ef1126a4c32cb3ddefdf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 3 Jun 2021 05:08:18 +0000 (14:08 +0900)]
Release version 0.6.3
Changes:
- Create .pref directory
Change-Id: I26640ef8a07864cf3665eeabd8932e400fce5184
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 3 Jun 2021 00:51:37 +0000 (09:51 +0900)]
Create .pref directory
The application can delete the .pref directory.
This patch always checks and creates the .pref directory for
backward compatibility.
Change-Id: I87ecc4bf09dd78d88df3a138c5ec36b5a0f90178
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 23 Apr 2021 00:55:44 +0000 (09:55 +0900)]
Release version 0.6.2
Changes:
- Fix gcov build error
Change-Id: Iebe3ae13c009851fa1b7e9e88a7ccf26ff10ed45
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 23 Apr 2021 00:35:38 +0000 (09:35 +0900)]
Fix gcov build error
Change-Id: Ic27aab48f458144b21ddbde0fa7cad1ce9bf778a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 2 Feb 2021 23:31:00 +0000 (08:31 +0900)]
Release version 0.6.1
Changes:
- Add missing package info into pkgconfig file
Change-Id: Ib4c264128da8df0478834b7911c4abd6f60c88e9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 2 Feb 2021 23:00:19 +0000 (08:00 +0900)]
Add missing package info into pkgconfig file
Change-Id: Ia1cad72bfd565eedcbe1a14171bd0a1e6826c6e8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 2 Feb 2021 07:06:54 +0000 (16:06 +0900)]
Release version 0.6.0
Changes:
- Add unit tests
- Fix utc fail
- Fix utc
- Refactor Preference API
Change-Id: I13222feb9baa8e6e23334d8cecf37e0a2f7104d3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 25 Jan 2021 08:18:05 +0000 (17:18 +0900)]
Refactor Preference API
Change-Id: I8d2d28dbdc046c0aa9becd3042fa6d71b89aa1be
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Daehyeon Jung [Thu, 29 Oct 2020 11:47:28 +0000 (20:47 +0900)]
Fix utc
Change-Id: I4999497d401d3b12a2de386bf8ca6c441eb2e55a
Daehyeon Jung [Thu, 29 Oct 2020 03:44:14 +0000 (12:44 +0900)]
Fix utc fail
Change-Id: Iab869c1d48c0b170fcea811a12ca6710d01bc896
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
Daehyeon Jung [Wed, 16 Sep 2020 07:42:28 +0000 (16:42 +0900)]
Add unit tests
Change-Id: I286ac76222b2d0532c57a4b17b641f8e10ccb161
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
SukHyung, Kang [Thu, 13 Aug 2020 01:37:12 +0000 (10:37 +0900)]
Release version 0.5.29
changes:
- tool: fix sizes in snprintfs
- check argc to get argument of preference tool properly
Change-Id: If0ebe18b01201f7a06be168d22a132e31dff7f45
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
SukHyung, Kang [Thu, 13 Aug 2020 01:24:51 +0000 (10:24 +0900)]
check argc to get argument of preference tool properly
Change-Id: I5856851cc38e92e03502ff2d72b53e3d8a279762
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
Adrian Szyndela [Wed, 1 Apr 2020 10:15:24 +0000 (12:15 +0200)]
tool: fix sizes in snprintfs
Several snprintfs were cutting off last letters of strings.
This commit fixes them.
The size passed to snprintf includes space for nul-byte.
This could be fixed by adding '+ 1' to final snprintfs,
but all the uses of size after computed with first snprintfs
would add '+ 1', so it can be added along with computing.
Change-Id: Ie8e62d120709a3ca1433626f1f5b8eeadc2a2b4d
mk5004.lee [Tue, 21 Jan 2020 07:32:13 +0000 (16:32 +0900)]
Release version 0.5.28
- Add new api to get type
Change-Id: Idc5489781d4d10f2cf93f88c9a01915249f7e4a1
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
mk5004.lee [Thu, 28 Nov 2019 04:26:32 +0000 (13:26 +0900)]
Add new api to get type
Change-Id: I6201c13791d10ae75e75d4f66543804c15dd6aa6
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
Jusung Son [Mon, 6 Jan 2020 01:52:50 +0000 (10:52 +0900)]
Release version 0.5.27
Changes:
- Fix build warning based on GCC-9
- Update doxygen
Change-Id: Ic215bc3463cc93e414206162e460b88344baa4e4
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Jusung Son [Tue, 31 Dec 2019 04:48:22 +0000 (13:48 +0900)]
Fix build warning based on GCC-9
Change-Id: Idbd045a60a94deb6dfaf6b86ec51a499bfd91c16
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
mk5004.lee [Tue, 8 Oct 2019 07:59:06 +0000 (16:59 +0900)]
Update doxygen
Change-Id: I893ad240b7ad3e8dd8c39e202e4c338796bcfb73
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
Hwankyu Jhun [Mon, 15 Jul 2019 05:01:43 +0000 (14:01 +0900)]
Release version 0.5.26
Changes:
- Make a gcov package for measuring coverage easier
Change-Id: I0db95f6c7b9f9ba1870b36aabfeb9933e8712f2b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 10 Jul 2019 05:05:56 +0000 (14:05 +0900)]
Make a gcov package for measuring coverage easier
Change-Id: I495f440a79e6431e12a362c48b0a56228475152a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghoon Park [Fri, 19 Apr 2019 02:26:07 +0000 (11:26 +0900)]
Release version 0.5.25
Changes:
- Add redefining PATH env in pref_dump
Change-Id: Iad8625f3a8f7f4f1578f8595d3d90ce6c3f7d350
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Ilho Kim [Thu, 18 Apr 2019 08:22:53 +0000 (17:22 +0900)]
Add redefining PATH env in pref_dump
Change-Id: Ibf3bf6090b96a9e67ca44b1bda3422a59f3f312b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
jusung son [Wed, 23 Jan 2019 00:52:56 +0000 (09:52 +0900)]
Release version 0.5.24
Changes:
- Fix resource leak
Change-Id: Ie3ff9a4d43f9d1e553c6e2ca9fa5be11dd534dc9
Signed-off-by: jusung son <jusung07.son@samsung.com>
Hwankyu Jhun [Wed, 16 Jan 2019 00:59:38 +0000 (09:59 +0900)]
Fix resource leak
Change-Id: I19f7cf88c148cc8d67cb1a2bd2b47a815f4c0bc1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 5 Dec 2018 23:14:13 +0000 (08:14 +0900)]
Release version 0.5.23
Changes:
- Fix exceptions about checking errno
- Fix printing error log about checking key existence
Change-Id: I37114e8208851ae65458802394686c492201f7c9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 3 Dec 2018 03:51:12 +0000 (12:51 +0900)]
Fix printing error log about checking key existence
Printing "key doesn't exit" is not needed. Because, the purpose of the
function is checking whether the key exists or not.
Change-Id: I229c5878daa7f526a6372b6606046788778ef2bf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 28 Nov 2018 07:39:38 +0000 (16:39 +0900)]
Fix exceptions about checking errno
Before calling dlog_print function, the result value should be set.
While calling dlog_print function, the errno value can be changed.
If the error is occurred after calling inotify_rm_watch function,
the errno value is EBADF or EINVAL.
Change-Id: Ic0773c09db18235d9db3c3f2ceb901c17e3b525f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 26 Nov 2018 00:56:03 +0000 (09:56 +0900)]
Release version 0.5.22
Changes:
- Fix the exception of preference_set_changed_cb function
Change-Id: Ic401e851178d2946cb70c6774e817ca55db0c18c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Sun, 25 Nov 2018 23:50:25 +0000 (08:50 +0900)]
Fix the exception of preference_set_changed_cb function
If the internal function returns a negative error value,
the preference_set_changed_cb function also returns the negative error value.
Change-Id: I781f86d91aabb8812fd5b0a8feca86bce62bbb97
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 21 Nov 2018 22:37:13 +0000 (07:37 +0900)]
Release version 0.5.21
Changes:
- Add missing exceptions
- Fix the exception of preference_unset_changed_cb function
Change-Id: Iae315c97c9323661af6f18dd9416ae7e2a8868de
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 20 Nov 2018 06:03:48 +0000 (15:03 +0900)]
Fix the exception of preference_unset_changed_cb function
If the internal function returns a negative error value,
the preference_unset_changed_cb function also returns the negative error value.
Change-Id: Ifbb6b210e0e0c944883cff02f9d4b980d28f49b5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 20 Nov 2018 07:32:50 +0000 (16:32 +0900)]
Add missing exceptions
If the errno is ENOENT, the internal function returns
PREFERENCE_ERROR_NO_KEY.
Change-Id: I22f0df4ef804d3dbebca544203229574d49434b0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 20 Nov 2018 11:49:20 +0000 (20:49 +0900)]
Release version 0.5.20
Changes:
- Fix a return value of the internal function
Change-Id: I6be96e97360af75b9944f6fefca2a869bd7f96ee
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 20 Nov 2018 03:17:36 +0000 (12:17 +0900)]
Fix a return value of the internal function
If the errno is ENOENT, the function returns PREFERENCE_ERROR_NO_KEY.
Change-Id: I1f8b277e526623b5b6f3f307fcb0ba6336b74f4b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 30 Aug 2018 22:23:54 +0000 (07:23 +0900)]
Release version 0.5.19
Changes:
- Fix a bug about setting string
Change-Id: I5fde3d253c189e6d394a7f1e6a51ce18ba81dcfd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 29 Aug 2018 11:27:49 +0000 (20:27 +0900)]
Fix a bug about setting string
Change-Id: I6890ac7e3de3e549ddd7759dd3d0b23374f5c000
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Semun Lee [Mon, 9 Jul 2018 01:48:17 +0000 (10:48 +0900)]
Release version 0.5.18
Changes:
- Fix wrong API description
Change-Id: I768c71382ed38e1e935421eae3ac719e095afb0a
Signed-off-by: Semun Lee <semun.lee@samsung.com>
Semun Lee [Fri, 6 Jul 2018 00:44:04 +0000 (09:44 +0900)]
Fix wrong API description
Change-Id: I2d450dcfdbc275872018fd118fc6b15dadba6bc2
Signed-off-by: Semun Lee <semun.lee@samsung.com>
Hwankyu Jhun [Wed, 18 Apr 2018 00:45:33 +0000 (09:45 +0900)]
Release version 0.5.17
Changes:
- Fix static analysis issues
Change-Id: I6be79b3f598d14b23654cc912032df7905758b72
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 18 Apr 2018 00:05:10 +0000 (09:05 +0900)]
Fix static analysis issues
- Prevents integer overflow
- Fix memory leak
Change-Id: I3cb5e053fc2ac7659fad2fa9bb6b8e19ebc4e58c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Semun Lee [Wed, 11 Apr 2018 08:00:57 +0000 (17:00 +0900)]
Release version 0.5.16
Changes:
- Check return value of fseek and ftell
Change-Id: I60246e24fbe9528d6021aad837c8638035ad7692
Signed-off-by: Semun Lee <semun.lee@samsung.com>
Semun Lee [Wed, 11 Apr 2018 05:45:43 +0000 (14:45 +0900)]
Check return value of fseek and ftell
Change-Id: Ic2518251d8e8bfbfb3d53caa44c9ff378422c482
Signed-off-by: Semun Lee <semun.lee@samsung.com>
Semun Lee [Tue, 3 Apr 2018 09:40:38 +0000 (18:40 +0900)]
Release version 0.5.15
Changes:
- Add preference_tool
Change-Id: Ic53702d52884f7a56084b87e2f8af8696fc47ec8
Signed-off-by: Semun Lee <semun.lee@samsung.com>
Semun Lee [Tue, 3 Apr 2018 08:25:42 +0000 (17:25 +0900)]
Add preference_tool
This tool is migrated from tizen_3.0 branch.
Change-Id: I48a7488def18819fce4253aeac61e9e069cf424b
Signed-off-by: Semun Lee <semun.lee@samsung.com>
Hwankyu Jhun [Wed, 25 Oct 2017 00:19:06 +0000 (09:19 +0900)]
Release version 0.5.14
Changes:
- Use seperated variable for realloc return value
Change-Id: Ib98a32c401b1d1f6cafae2515853041bade04c1d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Semun Lee [Thu, 13 Jul 2017 01:48:13 +0000 (10:48 +0900)]
Use seperated variable for realloc return value
Using the same variable for return value and input parameter
of realloc() may cause memory leak when realloc() fails
to allocate new memory.
Change-Id: If2ee2134b272e6fc158fc400dc352704d81b0e24
Signed-off-by: Semun Lee <semun.lee@samsung.com>
Hwankyu Jhun [Fri, 4 Aug 2017 01:48:42 +0000 (10:48 +0900)]
Release version 0.5.13
Changes:
- Add an exception handling about out of memory
Change-Id: I67eb6885c04855a41bd6776cc077b1c6d94b571d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 3 Aug 2017 22:54:30 +0000 (07:54 +0900)]
Add an exception handling about out of memory
Change-Id: Ibdd105960ed63922f17d56a8dcc7017948ac2716
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 25 Jul 2017 22:51:20 +0000 (07:51 +0900)]
Release version 0.5.12
Changes:
- Seperate packages
Change-Id: Id72963b52aff10d447dd1922c1ebd4a14d6a1914
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hyunho Kang [Mon, 10 Jul 2017 12:45:33 +0000 (21:45 +0900)]
Seperate packages
Requires:
- https://review.tizen.org/gerrit/#/c/132065/ [app-common]
- https://review.tizen.org/gerrit/#/c/132066/ [app-control]
- https://review.tizen.org/gerrit/#/c/132073/ [app-event]
- https://review.tizen.org/gerrit/#/c/132080/ [preference]
- https://review.tizen.org/gerrit/#/c/132144/ [application]
Change-Id: I9a5f998050ac1352f31557c28b7c83227e5d2c27
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 20 Jul 2017 06:16:18 +0000 (15:16 +0900)]
Release version 0.5.11
Changes:
- Fix misused strncpy calls
- Use seperated variable for realloc return value
Change-Id: I6b17ea246561e1f30584393f4610e77b8891799a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Semun Lee [Wed, 19 Jul 2017 08:32:47 +0000 (17:32 +0900)]
Fix misused strncpy calls
Change-Id: Iaa2366a447d26e568613ae257dd639dc06917408
Signed-off-by: Semun Lee <semun.lee@samsung.com>
Semun Lee [Thu, 13 Jul 2017 01:48:13 +0000 (10:48 +0900)]
Use seperated variable for realloc return value
Using the same variable for return value and input parameter
of realloc() may cause memory leak when realloc() fails
to allocate new memory.
Change-Id: If2ee2134b272e6fc158fc400dc352704d81b0e24
Signed-off-by: Semun Lee <semun.lee@samsung.com>
Hwankyu Jhun [Tue, 25 Jul 2017 01:00:38 +0000 (10:00 +0900)]
Revert "Seperate packages"
This reverts commit
b1adde6d323d2e78a5299028ea73038c3e265e22.
Change-Id: Ie81a8271a98d559299bcaffb3d66b6e5be944372
Hyunho Kang [Mon, 10 Jul 2017 12:44:37 +0000 (21:44 +0900)]
Merge remote-tracking branch 'application/tizen' into tizen
Hyunho Kang [Mon, 10 Jul 2017 12:38:23 +0000 (21:38 +0900)]
Seperate packages
https://review.tizen.org/gerrit/#/c/132065/ (app-common)
https://review.tizen.org/gerrit/#/c/132066/ (app-control)
https://review.tizen.org/gerrit/#/c/132073/ (app-event)
https://review.tizen.org/gerrit/#/c/132080/ (preference)
Change-Id: I5413ed4847818a0864671ff5842070ee7fd751f4
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hwankyu Jhun [Fri, 7 Jul 2017 04:00:18 +0000 (13:00 +0900)]
Release version 0.5.10
Changes:
- Support legacy lifecycle
Change-Id: If435da17379425571704fb46ebf6a90760b2dd64
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 3 Jul 2017 06:34:13 +0000 (15:34 +0900)]
Support legacy lifecycle
Requires:
- https://review.tizen.org/gerrit/#/c/136730/ [app-core]
Change-Id: I55b9d126de1dc16467053cbcae60a9f9b16a381d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 29 Jun 2017 09:54:18 +0000 (18:54 +0900)]
Release version 0.5.9
Changes:
- Fix exception handling
Change-Id: I2dba1c42198c65e91eb0579578d507986f955348
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>