platform/core/base/bundle.git
22 months agoAdd class 'DbException' 46/285146/4
jh9216.park [Wed, 7 Dec 2022 01:01:05 +0000 (20:01 -0500)]
Add class 'DbException'

- It is a std::runtime_error but has some additional methods
- The class 'Database' will use it to throw exceptions

Change-Id: Icf01850e907e3336545f4c4220d6cccb0a3560f2
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
22 months agoAdd some methods in class 'Sql' 96/285096/3
jh9216.park [Tue, 6 Dec 2022 05:17:23 +0000 (00:17 -0500)]
Add some methods in class 'Sql'

- Added 'Sql& SetEmptyStringAsNull(bool as_null);'
- Added 'Sql& SetEmptyVectorAsNull(bool as_null);'

Change-Id: I634dc658a5e7e11a2eac687c0600facf3e6b1a1c
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
22 months agoAdd a method to reuse prepared statements 68/285068/2
jh9216.park [Tue, 6 Dec 2022 00:26:58 +0000 (19:26 -0500)]
Add a method to reuse prepared statements

Change-Id: I2915cc004ff9a25129c95d9abcda0c75743ab14e
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
22 months agoImplement null-type binding 57/285057/3
jh9216.park [Mon, 5 Dec 2022 10:53:16 +0000 (05:53 -0500)]
Implement null-type binding

Change-Id: Idd700a3000ce130b3bd01ab9580507f3b7ca6d2f
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
22 months agoAdd sub package 'tizen-database' 42/285042/9
jh9216.park [Mon, 5 Dec 2022 05:44:06 +0000 (00:44 -0500)]
Add sub package 'tizen-database'

- This package provides C++ wrapper API for sqlite3

Change-Id: I05fce9e6deb4922a9dd7aa45f6e3771f80f6cb1b
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
23 months agoRelease version 0.10.2 74/284574/1 accepted/tizen/7.0/unified/20221122.014846 accepted/tizen/unified/20221121.163720
Changgyu Choi [Mon, 21 Nov 2022 01:33:02 +0000 (10:33 +0900)]
Release version 0.10.2

Changes:
 - Fix wrong bundle_foreach implementation

Change-Id: I3f3f2d6f2d3c36ccd660e6de915f49ee24614540
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
23 months agoFix wrong bundle_foreach implementation 72/284572/1
Changgyu Choi [Mon, 21 Nov 2022 01:14:40 +0000 (10:14 +0900)]
Fix wrong bundle_foreach implementation

if data is removed through bundle_foreach(),
A crash may occur.
This patch resolves this by passing the iterator to the next before calling the callback using the iterator.

Change-Id: I3f04418f47bc17247e857362b462e616c2136fa0
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoRelease version 0.10.1 82/283082/1 accepted/tizen/unified/20221104.082317
Changgyu Choi [Tue, 18 Oct 2022 02:24:47 +0000 (11:24 +0900)]
Release version 0.10.1

Changes:
 - Fix static analysis issues

Change-Id: I2706bd870c425ef023c3d42234279876a6756846
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoFix static analysis issues 33/283033/4
Changgyu Choi [Mon, 17 Oct 2022 04:25:14 +0000 (13:25 +0900)]
Fix static analysis issues

Change-Id: Ica815a67211bee0d76bb35f64e15b1cb84124d2c
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoRelease version 0.10.0 17/282117/2 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.063043 accepted/tizen/7.0/unified/hotfix/20221116.105126 accepted/tizen/unified/20220928.144429 tizen_7.0_m2_release
Hwankyu Jhun [Tue, 27 Sep 2022 06:54:18 +0000 (06:54 +0000)]
Release version 0.10.0

Changes:
 - Use malloc instead of std::vector

Change-Id: I16667ccbeee7ddd7cd17a4d038e39ae0223a4368
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoUse malloc instead of std::vector 79/281779/25
Hwankyu Jhun [Thu, 22 Sep 2022 01:36:53 +0000 (01:36 +0000)]
Use malloc instead of std::vector

To improve the performance of the parcel creation, the data_ variable of
the parcel implementation is changed to uint8_t*.

Adds:
 - Parcel.GetData()
 - Parcel.GetDataSize()
 - Parcel.GetDataCapacity()
 - Parcel.SetDataCapacity()
 - Parcel.Detach()
 - Parcel.GetReader()
 - Parcel.ToRaw()
 - parcel_get_data_capacity()
 - parcel_set_data_capacity()

Removes:
 - Parcel.GetRaw()

Change-Id: Ia88815746d646ce089de802d89017c96cbc6b30d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 0.9.12 18/281918/1 accepted/tizen/unified/20220927.132320
Hwankyu Jhun [Fri, 23 Sep 2022 06:53:12 +0000 (06:53 +0000)]
Release version 0.9.12

Changes:
 - Fix static analysis issues

Change-Id: Idfe1cb32337553bf07c87cda5aeccb3797c043f9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoFix static analysis issues 15/281915/1
Hwankyu Jhun [Fri, 23 Sep 2022 06:06:51 +0000 (06:06 +0000)]
Fix static analysis issues

The following issues are fixed:
 - INEFFECTIVE_MOVE
 - FORWARD_NULL
 - ODR_VIOLATION

Change-Id: I5a7fcdf7b5e0b5b3e17614a09aaa87ac83be6d80
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 0.9.11 12/281812/1 accepted/tizen/unified/20220923.125145
Hwankyu Jhun [Thu, 22 Sep 2022 05:41:57 +0000 (05:41 +0000)]
Release version 0.9.11

Changes:
 - Use std::vector::insert() instead of std::copy()
 - Use insert() instead of std::copy()

Change-Id: I823896cef387ad53e23994ecd4ef397598c7d885
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoUse insert() instead of std::copy() 98/281798/2
Hwankyu Jhun [Thu, 22 Sep 2022 04:30:23 +0000 (04:30 +0000)]
Use insert() instead of std::copy()

To improve the performance of the bundle instance creation, we use the insert().

Change-Id: Iec2ddc05a1583a11612c40d6ef6d12a125ffabd8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoUse std::vector::insert() instead of std::copy() 86/281786/1
Hwankyu Jhun [Thu, 22 Sep 2022 02:28:12 +0000 (02:28 +0000)]
Use std::vector::insert() instead of std::copy()

To improve the performance of the parcel instance creation, the parcel
uses std::vector::insert().

Change-Id: Ia5c293373b57a2f75629b4a681458535af29cf6c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 0.9.10 60/277860/1 accepted/tizen/unified/20220728.131839 submit/tizen/20220714.070033 submit/tizen/20220724.222434 submit/tizen/20220725.232057
Hwankyu Jhun [Thu, 14 Jul 2022 06:41:03 +0000 (15:41 +0900)]
Release version 0.9.10

Changes:
 - Fix run-unittest.sh script

Change-Id: I2213669829ecd264573ccd164c8e504a718b70bc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoFix run-unittest.sh script 43/277843/1
Hwankyu Jhun [Thu, 14 Jul 2022 05:20:38 +0000 (14:20 +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: I46218419b0c383c1b1a9ddb4c60c5e4d94f7668b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 0.9.9 37/276737/1 accepted/tizen/unified/20220703.214107 submit/tizen/20220623.221116 submit/tizen/20220630.234027
Hwankyu Jhun [Thu, 23 Jun 2022 22:44:01 +0000 (07:44 +0900)]
Release version 0.9.9

Changes:
 - Use std::unordered_map instead of std::map

Change-Id: I90e60e45975f13c65c68616e9bace81c8d604d0d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoUse std::unordered_map instead of std::map 36/276736/1
Hwankyu Jhun [Thu, 23 Jun 2022 22:34:33 +0000 (07:34 +0900)]
Use std::unordered_map instead of std::map

We usally use std::map as like hash table. Sorting key/value is not needed.

Change-Id: Id2599c6de939dcc216d3511419429b1b84aa297e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 0.9.8 02/275502/1 accepted/tizen/unified/20220530.140738 submit/tizen/20220526.014753
Hwankyu Jhun [Thu, 26 May 2022 01:42:47 +0000 (10:42 +0900)]
Release version 0.9.8

Changes:
 - Fix spec file for coverage measurement

Change-Id: Ic91106a52c5f4e5d4140d55b59d1a94d5f0607e7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoFix spec file for coverage measurement 81/275481/1
Hwankyu Jhun [Wed, 25 May 2022 22:43:06 +0000 (07:43 +0900)]
Fix spec file for coverage measurement

To measure code coverages automatically, a run-unittest.sh is needed.

Change-Id: I2882a61191a206b3c4fd2f37837f8d7e9ba4f5c9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 0.9.7 91/271191/1 accepted/tizen/unified/20220221.080310 submit/tizen/20220216.231429
Hwankyu Jhun [Wed, 16 Feb 2022 22:39:15 +0000 (07:39 +0900)]
Release version 0.9.7

Changes:
 - Fix bundle implementation
 - Remove unit tests

Change-Id: Ia656d42576bde9c5cce73e07f711cc566dbff7a3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRemove unit tests 81/271181/1
Hwankyu Jhun [Wed, 16 Feb 2022 12:28:46 +0000 (21:28 +0900)]
Remove unit tests

In the OBS, the bundle_unittests has killed. Because, the bundle_add_byte_array_N
is not finished. Two test cases call the bundle_add_byte_array function with
large length. In 32-bit architecture, the std::vector throws std::length_error
exception. In 64-bit architecture, the std::vector throws std::bad_alloc exception.
We expects the std::bad_alloc exception when the unit tests calls
bundle_add_byte_array function with large size in 64-bit architurecture in the OBS.
Unfotunately, it's not finished. To avoid the issue, this patch removes two test cases.

Change-Id: I5eb188e6cda9ea0f3cb08c5317b797db00fdce4a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoFix bundle implementation 43/271143/1
Hwankyu Jhun [Wed, 16 Feb 2022 01:18:38 +0000 (10:18 +0900)]
Fix bundle implementation

- Add const keyword to Exception&
- Use std::move()

Change-Id: Ia58d1ae51fee24b69a48f30af287d49f7e717e60
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 0.9.6 40/271140/1 submit/tizen/20220216.004707 submit/tizen/20220216.111554
Hwankyu Jhun [Wed, 16 Feb 2022 00:42:17 +0000 (09:42 +0900)]
Release version 0.9.6

Change-Id: I756d0625522d52268b32c11bf523b81b6b736813
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 0.9.5 39/271139/1 submit/tizen/20220216.004012
Hwankyu Jhun [Wed, 16 Feb 2022 00:37:58 +0000 (09:37 +0900)]
Release version 0.9.5

Changes:
 - Fix bundle_add_byte_array function

Change-Id: Ib79b77f83dfdfe0cce80df8db1214f564e1c6943
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoFix bundle_add_byte_array function 36/271136/2
Hwankyu Jhun [Wed, 16 Feb 2022 00:26:02 +0000 (09:26 +0900)]
Fix bundle_add_byte_array function

This patch handles the std::length_error exception.

Change-Id: Ia569b59783e48ed1144a89d2c946f6a45e481b6f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoChange gcov installation path 71/269671/1 accepted/tizen/unified/20220124.020314 submit/tizen/20220120.083417 submit/tizen/20220120.231448
Changgyu Choi [Thu, 20 Jan 2022 03:38:53 +0000 (12:38 +0900)]
Change gcov installation path

Change-Id: I8797286314ab36e62b15097e8c508387525a9ce2
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoRelease version 0.9.4 36/268036/1 accepted/tizen/6.5/unified/20211216.155640 accepted/tizen/unified/20211216.155837 submit/tizen/20211215.062330 submit/tizen_6.5/20211215.062349
Hwankyu Jhun [Wed, 15 Dec 2021 06:09:56 +0000 (15:09 +0900)]
Release version 0.9.4

Changes:
 - Fix memory leak

Change-Id: I85124953a1a09cb6e07d30b9bfe2671c1a1a954b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoFix memory leak 35/268035/1
Hwankyu Jhun [Wed, 15 Dec 2021 05:58:11 +0000 (14:58 +0900)]
Fix memory leak

Change-Id: I0d7f57e53c092f757d9c1b30a20772abe08ec626
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 0.9.3 38/266638/1 submit/tizen/20211118.002252 submit/tizen_6.5/20211118.002327
Changgyu Choi [Tue, 16 Nov 2021 09:45:50 +0000 (18:45 +0900)]
Release version 0.9.3

Changes:
 - Change gchar string free function

Change-Id: I85c09d03907baebefb1755e0cb16450f0ec5a0b5
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoChange gchar string free function 36/266636/6
Changgyu Choi [Tue, 16 Nov 2021 09:12:21 +0000 (18:12 +0900)]
Change gchar string free function

The gchar string that is result of glib's string alloc functions
has to release using g_free().

Change-Id: I61d3c156df3cdda080776f38f0888d34f2ed23ee
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoRelease version 0.9.2 18/262418/1 accepted/tizen/6.5/unified/20211028.095614 accepted/tizen/unified/20210811.132044 submit/tizen/20210810.074234 submit/tizen_6.5/20211028.162201 tizen_6.5.m2_release
Changgyu Choi [Tue, 10 Aug 2021 07:15:38 +0000 (16:15 +0900)]
Release version 0.9.2

Changes:
 - Fix cpplint warnings
 - Fix static analysis issue

Change-Id: I81841d7f7fac1349bb3a498606665537a41e9a31
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoFix static analysis issue 96/262396/6
Changgyu Choi [Tue, 10 Aug 2021 02:40:17 +0000 (11:40 +0900)]
Fix static analysis issue

Change-Id: I3ec9056c3341ad3512d5bdfe4283c00fee19b108
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoFix cpplint warnings 42/260642/1
Sangyoon Jang [Wed, 30 Jun 2021 06:37:57 +0000 (15:37 +0900)]
Fix cpplint warnings

Change-Id: I19225736fede1b20bd370518c63cbecb399dca25
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 years agoRelease version 0.9.1 98/260198/1 accepted/tizen/unified/20210623.125335 submit/tizen/20210622.020031
Hwankyu Jhun [Tue, 22 Jun 2021 01:57:40 +0000 (10:57 +0900)]
Release version 0.9.1

Changes:
 - Remove printing error log of Delete() method

Change-Id: I95423d001168590a5dd6a28fc053f067ed26a911
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRemove printing error log of Delete() method 96/260196/1
Hwankyu Jhun [Tue, 22 Jun 2021 01:55:05 +0000 (10:55 +0900)]
Remove printing error log of Delete() method

To reduce unnecessary error log prints, printing error log of Delete()
method is removed.

Change-Id: Ibe7f453b5f676adcb6dc1b2c5498e69ccfdf6461
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.9.0 41/258941/2 accepted/tizen/unified/20210531.130348 submit/tizen/20210528.065624 submit/tizen/20210611.003709
Hwankyu Jhun [Fri, 28 May 2021 06:32:44 +0000 (15:32 +0900)]
Release version 0.9.0

Changes:
 - Fix a bug in move-constructor
 - Add a constructor to use initializer list

Change-Id: I6ce60c75f808d21eacb9800908e454fabe892188
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoAdd a constructor to use initializer list 95/258595/1
jh9216.park [Fri, 21 May 2021 02:27:24 +0000 (22:27 -0400)]
Add a constructor to use initializer list

- example
 Bundle b = {
   {"key1", "val1"},
   {"key2", "val2"},
   {"key3", "val3"}
 };

Change-Id: Ib16d58eba57d0958b985cfa24ac0d19bd49af734
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
3 years agoFix a bug in move-constructor 20/257520/3
jh9216.park [Tue, 27 Apr 2021 06:46:12 +0000 (02:46 -0400)]
Fix a bug in move-constructor

- Impl class should exist after moving own object using move-constructor

Change-Id: Icb524459f938f4690ca34752e8720c90f3f5a8a0
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
3 years agoRelease version 0.8.0 43/256043/1 accepted/tizen/unified/20210330.111320 submit/tizen/20210329.014014 submit/tizen/20210329.233625
Hwankyu Jhun [Mon, 29 Mar 2021 01:38:34 +0000 (10:38 +0900)]
Release version 0.8.0

Changes:
 - Remove unnecessary header inclusion
 - Support byte order setting

Change-Id: Icfb8c2b19acd8dc38bf4be3a3a59f08af7e10f01
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoSupport byte order setting 19/256019/9
Hwankyu Jhun [Fri, 26 Mar 2021 11:43:04 +0000 (20:43 +0900)]
Support byte order setting

The platform byte order is little-endian. The network byte order is
defined to be always big-endian. The developer can change
byte order of the parcel using parcel_set_byte_order().

Adds:
 - Parcel.SetByteOrder()
 - parcel_set_byte_order()

Change-Id: I1f6b7166eec508862fe4771355a1a4a53093b3c6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRemove unnecessary header inclusion 68/255468/1
Hwankyu Jhun [Fri, 19 Mar 2021 01:18:00 +0000 (10:18 +0900)]
Remove unnecessary header inclusion

- Removes '#include "include/bundle_cpp.h"'

Change-Id: I11bbb7fdf403a634880d897ce55c65697471066e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.7.6 66/255366/1 accepted/tizen/unified/20210318.055958 accepted/tizen/unified/20210323.122908 accepted/tizen/unified/20210324.124442 submit/tizen/20210317.105308 submit/tizen/20210319.065928 submit/tizen/20210322.043354
Hwankyu Jhun [Wed, 17 Mar 2021 10:40:24 +0000 (19:40 +0900)]
Release version 0.7.6

Changes:
 - Remove unnecessary parcelable flag

Change-Id: I58f45dcf80b1c3073e46c08ea1dae6777c9508c9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRemove unnecessary parcelable flag 54/255354/1
Hwankyu Jhun [Wed, 17 Mar 2021 08:40:16 +0000 (17:40 +0900)]
Remove unnecessary parcelable flag

Change-Id: I46317a87693e34e9d47232a51a992885304471cc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.7.5 06/255006/1 submit/tizen/20210311.081932 submit/tizen/20210315.011842 submit/tizen/20210316.232334
Hwankyu Jhun [Thu, 11 Mar 2021 08:07:24 +0000 (17:07 +0900)]
Release version 0.7.5

Changes:
 - Fix Parcel implementation
 - Remove Bundle dependency from Parcel

Change-Id: I833fce8cd4bb86bc137780a58ece490cec6dbd9c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRemove Bundle dependency from Parcel 66/254966/3
Hwankyu Jhun [Thu, 11 Mar 2021 05:06:47 +0000 (14:06 +0900)]
Remove Bundle dependency from Parcel

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/rpc-port/+/254967/

Change-Id: I8ecfc3b8eb1753485ca85d72f473e682dd862c61
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix Parcel implementation 60/253860/3
Hwankyu Jhun [Thu, 18 Feb 2021 23:59:14 +0000 (08:59 +0900)]
Fix Parcel implementation

- Removes size data

Change-Id: I6d259af2467ffc09a0b041a8460b9b1884c2900b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.7.4 82/252882/1 accepted/tizen/unified/20210208.134758 submit/tizen/20210203.035346
Sangyoon Jang [Wed, 3 Feb 2021 03:51:05 +0000 (12:51 +0900)]
Release version 0.7.4

Changes:
 - Suppress C++17 name mangling compile error
 - Fix error code of bundle_get_type

Change-Id: Ib82e7e2cf23b7722e77bb0c06855b692bcb7904e
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 years agoFix error code of bundle_get_type 77/252777/2
Sangyoon Jang [Tue, 2 Feb 2021 07:46:09 +0000 (16:46 +0900)]
Fix error code of bundle_get_type

Change-Id: I62f83c847a4789559958187d0dbe0127bccb1d8f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 years agoSuppress C++17 name mangling compile error 61/251461/1 submit/tizen/20210115.040627
Daehyeon Jung [Thu, 14 Jan 2021 05:03:57 +0000 (14:03 +0900)]
Suppress C++17 name mangling compile error

Change-Id: I9b30b5794f63133c505e4cf27584935ae655df1c
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
3 years agoRelease version 0.7.3 27/250927/1 accepted/tizen/unified/20210107.123500 submit/tizen/20210105.225547
Hwankyu Jhun [Tue, 5 Jan 2021 22:51:37 +0000 (07:51 +0900)]
Release version 0.7.3

Changes:
 - Add a missing package dependency

Change-Id: I26b1184f9825de73c639828b6e7eccea9af4f7f4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoAdd a missing package dependency 43/250843/1
Hwankyu Jhun [Tue, 5 Jan 2021 06:26:50 +0000 (15:26 +0900)]
Add a missing package dependency

Change-Id: Ia64b5d7e4d0116f281202160200fa0bc0fdc5122
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.7.2 20/250720/1 accepted/tizen/unified/20210105.125844 submit/tizen/20210104.060501
Hwankyu Jhun [Mon, 4 Jan 2021 05:59:40 +0000 (14:59 +0900)]
Release version 0.7.2

Changes:
 - Fix invalid access

Change-Id: I6e7801e70a75f4dc8b6f4770cbf455956d485af4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix invalid access 16/250716/1
Hwankyu Jhun [Mon, 4 Jan 2021 05:02:46 +0000 (14:02 +0900)]
Fix invalid access

Change-Id: I523099ad79eb26f165b25be5e4ce5544b00dde42
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.7.1 83/250383/1 accepted/tizen/unified/20201230.121833 accepted/tizen/unified/20210101.123051 submit/tizen/20201224.060439 submit/tizen/20201231.025220 submit/tizen/20201231.042609
Hwankyu Jhun [Thu, 24 Dec 2020 04:58:09 +0000 (13:58 +0900)]
Release version 0.7.1

Changes:
 - Fix build warning messages

Change-Id: I447fb00f405070315f87aabf99b078721e966a82
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix build warning messages 82/250382/1
Hwankyu Jhun [Thu, 24 Dec 2020 04:57:53 +0000 (13:57 +0900)]
Fix build warning messages

Change-Id: If2f5fc3c978854933ddc986f1599621240cb8972
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.7.0 54/250354/1 submit/tizen/20201224.024344
Hwankyu Jhun [Thu, 24 Dec 2020 02:07:04 +0000 (11:07 +0900)]
Release version 0.7.0

Changes:
 - Add Parcel Library

Change-Id: I5344c160cac0db5f6145a9fa3f32eefa9b055975
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoAdd Parcel Library 00/249500/13
Hwankyu Jhun [Mon, 14 Dec 2020 06:45:49 +0000 (15:45 +0900)]
Add Parcel Library

This library is only for appfw internally.

Adds:
 - parcel_create()
 - parcel_destroy()
 - parcel_clone()
 - parcel_burst_write()
 - parcel_burst_read()
 - parcel_write_bool()
 - parcel_write_byte()
 - parcel_write_uint16()
 - parcel_write_uint32()
 - parcel_write_uint64()
 - parcel_write_int16()
 - parcel_write_int32()
 - parcel_write_int64()
 - parcel_write_float()
 - parcel_write_double()
 - parcel_write_string()
 - parcel_write_bundle()
 - parcel_read_bool()
 - parcel_read_byte()
 - parcel_read_uint16()
 - parcel_read_uint32()
 - parcel_read_uint64()
 - parcel_read_int16()
 - parcel_read_int32()
 - parcel_read_int64()
 - parcel_read_float()
 - parcel_read_double()
 - parcel_read_string()
 - parcel_read_bundle()
 - parcel_reset_reader()
 - parcel_clear()
 - parcel_reset()
 - parcel_write()
 - parcel_read()
 - parcel_get_raw()

Change-Id: I322faee040ca95c4cb8e4b7356e33a9af5daeb8c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.6.0 25/247325/1 accepted/tizen/unified/20201111.124822 submit/tizen/20201110.022114
Hwankyu Jhun [Tue, 10 Nov 2020 02:18:38 +0000 (11:18 +0900)]
Release version 0.6.0

Changes:
 - Fix wrong free
 - Add a new method for exporting bundle to argv

Change-Id: I14f1672493d4c4a09557285e1083e5f641a843da
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoAdd a new method for exporting bundle to argv 92/246892/3
Hwankyu Jhun [Thu, 5 Nov 2020 03:49:47 +0000 (12:49 +0900)]
Add a new method for exporting bundle to argv

Adds:
 - Export()

Change-Id: If76969aca0d3cb2cae63326109c6802d4ad9c4f3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix wrong free 96/246896/2
Changgyu Choi [Thu, 5 Nov 2020 04:43:14 +0000 (13:43 +0900)]
Fix wrong free

Change-Id: Ib92e807989abc80304dcc3c92258e2b3c999a275
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 years agoRelease version 0.5.5 09/246309/1 accepted/tizen_6.0_unified tizen_6.0 accepted/tizen/6.0/unified/20201110.010734 accepted/tizen/unified/20201103.051944 submit/tizen/20201028.051031 submit/tizen/20201028.082446 submit/tizen/20201028.222807 submit/tizen/20201102.032450 submit/tizen_6.0/20201105.013641 submit/tizen_6.0/20201108.233605
Hwankyu Jhun [Wed, 28 Oct 2020 05:07:51 +0000 (14:07 +0900)]
Release version 0.5.5

Changes:
 - Fix wrong log message
 - Fix memory leak
 - Fix memory leak

Change-Id: Icdf661ec6e3de89cd369e2b4ae52f4a9e47d75de
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix memory leak 66/246266/2
Hwankyu Jhun [Tue, 27 Oct 2020 10:28:35 +0000 (19:28 +0900)]
Fix memory leak

Change-Id: I64962cb9633c6f9d774723c443e402e4fcf82d57
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix memory leak
Hwankyu Jhun [Tue, 27 Oct 2020 08:40:31 +0000 (17:40 +0900)]
Fix memory leak

Change-Id: I3f0e971d00ff4c7d9f32ce68ab152d165bc55fda
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix wrong log message 76/245876/1
Hwankyu Jhun [Mon, 19 Oct 2020 02:44:44 +0000 (11:44 +0900)]
Fix wrong log message

Change-Id: Ie77db322b0cef7fa0ccc9a19d85d0219cb495c1d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.5.4 23/244223/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.120227 accepted/tizen/6.0/unified/hotfix/20201103.050535 accepted/tizen/unified/20200917.141804 submit/tizen/20200916.062312 submit/tizen/20200916.222341 submit/tizen_6.0/20201029.205103 submit/tizen_6.0_hotfix/20201102.192503 submit/tizen_6.0_hotfix/20201103.114803 tizen_6.0.m2_release
Hwankyu Jhun [Wed, 16 Sep 2020 06:22:28 +0000 (15:22 +0900)]
Release version 0.5.4

Changes:
 - Fix bundle_decode_raw() implementaion

Change-Id: I19f90a07e48a31f2af21bb07d0043f115e786ab4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix bundle_decode_raw() implementaion 20/244220/1
Hwankyu Jhun [Wed, 16 Sep 2020 05:54:47 +0000 (14:54 +0900)]
Fix bundle_decode_raw() implementaion

Change-Id: Id27bff120336ab6b24cbd564060f529eef85baad
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.5.3 90/241290/1 accepted/tizen/unified/20200820.034704 submit/tizen/20200819.054959
SukHyung, Kang [Wed, 19 Aug 2020 05:08:58 +0000 (14:08 +0900)]
Release version 0.5.3

Changes:
- fix wrong type for bundle description

Change-Id: Icd4e8f319e27b16cf0468790073dd3f8326cc979
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
4 years agofix wrong type for bundle description 68/241268/1
SukHyung, Kang [Wed, 19 Aug 2020 01:53:07 +0000 (10:53 +0900)]
fix wrong type for bundle description

Change-Id: Idcd0b9bb1d2d80c5a9a426e42b12fd5ffd02bf21
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
4 years agoRelease version 0.5.2 73/240273/5 accepted/tizen/unified/20200806.062512 submit/tizen/20200805.072116 submit/tizen/20200805.223346
Hwankyu Jhun [Wed, 5 Aug 2020 06:57:28 +0000 (15:57 +0900)]
Release version 0.5.2

Changes:
 - Fix wrong implementation about encoding & decoding bundle raw
 - Fix SetValue check condition
 - Add a missing description

Change-Id: I221ca9e11ac9d2a183316f0486dc0d67f24f015b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoAdd a missing description 74/240274/4
Hwankyu Jhun [Wed, 5 Aug 2020 04:34:45 +0000 (13:34 +0900)]
Add a missing description

Change-Id: Ib0c1da81dc8a0ab00b04e9bdfb1c819824477d0d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoMerge "Fix SetValue check condition" into tizen
Changgyu Choi [Wed, 5 Aug 2020 06:14:52 +0000 (06:14 +0000)]
Merge "Fix SetValue check condition" into tizen

4 years agoFix SetValue check condition 92/240292/1
Changgyu Choi [Wed, 5 Aug 2020 05:57:59 +0000 (14:57 +0900)]
Fix SetValue check condition

Change-Id: I7c5cfe6ee5ae6ea3150a61ade36b875929aa6442
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 years agoFix wrong implementation about encoding & decoding bundle raw 58/240258/3
Hwankyu Jhun [Wed, 5 Aug 2020 01:30:24 +0000 (10:30 +0900)]
Fix wrong implementation about encoding & decoding bundle raw

bundle_encode_raw() must not use g_base64_encode().
This patch removes calling g_base64_encode() from bundle_encode_raw().

Change-Id: Iddedfb6a566e4b1d41052ec2e322c5312d2a0a52
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.5.1 08/237708/1 accepted/tizen/unified/20200706.010548 submit/tizen/20200703.005015
Hwankyu Jhun [Fri, 3 Jul 2020 00:44:57 +0000 (09:44 +0900)]
Release version 0.5.1

Changes:
 - Fix wrong type casting
 - Fix function implementation for backward compatibility

Change-Id: Icef09e868cce6bbfec7b6b54c3f006ee7521d310
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix function implementation for backward compatibility 25/237425/6
Hwankyu Jhun [Tue, 30 Jun 2020 10:24:29 +0000 (19:24 +0900)]
Fix function implementation for backward compatibility

Change-Id: I9c1bd9f28336337f716cce41faaa9e2313c96f06
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix wrong type casting 20/237420/2
Hwankyu Jhun [Tue, 30 Jun 2020 09:07:11 +0000 (18:07 +0900)]
Fix wrong type casting

Change-Id: Iffb69cf26f9a6cb0e60def2111163de6569e06f8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.5.0 92/237392/1 submit/tizen/20200630.041657
Hwankyu Jhun [Tue, 30 Jun 2020 04:15:51 +0000 (13:15 +0900)]
Release version 0.5.0

Changes:
 - Refactor Bundle

Change-Id: I22e351ca0b48d5fee28bc1e34e8dbc88b6b1f292
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRefactor Bundle 10/237310/6
Hwankyu Jhun [Mon, 29 Jun 2020 05:10:31 +0000 (14:10 +0900)]
Refactor Bundle

Change-Id: I64565f92a4d204198e07cf3ef6c50e2b66717c9b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.4.7 34/236134/2 accepted/tizen/unified/20200616.171034 submit/tizen/20200615.072255
Sangyoon Jang [Mon, 15 Jun 2020 06:51:26 +0000 (15:51 +0900)]
Release version 0.4.7

Changes:
 - Add IsEmpty() method

Change-Id: I76f42ba09e8c20c2c3253a982d92667763457cd6
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoAdd IsEmpty() method 27/236127/1
Sangyoon Jang [Mon, 15 Jun 2020 06:25:19 +0000 (15:25 +0900)]
Add IsEmpty() method

Change-Id: Id7a36a8f2f7ac5079c731ce8fb46ae5d7e2529b1
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoRelease version 0.4.6 32/235732/2 accepted/tizen/unified/20200610.140852 submit/tizen/20200609.081507
Sangyoon Jang [Tue, 9 Jun 2020 06:45:03 +0000 (15:45 +0900)]
Release version 0.4.6

Changes:
 - Fix move constructor

Change-Id: Ied4969ea92a20f6771b913f3dab2d844cd17fcf8
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoFix move constructor 15/235415/1
Sangyoon Jang [Thu, 4 Jun 2020 09:29:25 +0000 (18:29 +0900)]
Fix move constructor

Move impl_ instance instead create new one.

Change-Id: I590ac591ff463fc6f0945eb6691313da180a738f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoRelease version 0.4.5 54/226454/1 accepted/tizen/unified/20200304.010525 submit/tizen/20200303.033119
Hwankyu Jhun [Tue, 3 Mar 2020 03:26:43 +0000 (12:26 +0900)]
Release version 0.4.5

Changes:
 - Fix GetByte method

Change-Id: Ia09277d39572737757db7c95ea15acaf3f4037fc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix GetByte method 47/226447/1
Hwankyu Jhun [Tue, 3 Mar 2020 01:43:39 +0000 (10:43 +0900)]
Fix GetByte method

- Checks the result of bundle_get_byte()

Change-Id: I4572060adc7cf1e6eebb149fbc68a2974add92b2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.4.4 39/223539/1 accepted/tizen/unified/20200204.125845 submit/tizen/20200130.235742 submit/tizen/20200131.002833 submit/tizen/20200131.010826 submit/tizen/20200131.034958
Hwankyu Jhun [Thu, 30 Jan 2020 23:49:01 +0000 (08:49 +0900)]
Release version 0.4.4

Changes:
 - Remove wrong log tag definition
 - Move macros to internal header

Change-Id: I7b992ee17fd8cbb7708aaf4ce029eef985e25eda
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoMove macros to internal header 16/223516/3
Hwankyu Jhun [Thu, 30 Jan 2020 10:53:42 +0000 (19:53 +0900)]
Move macros to internal header

Adds:
 - bundle_private.h

The API, likely and unlikey macros move to bundle_private.h header file.

Change-Id: I0bc5ed51e00ac6a5e383f94d33703238aea290f3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRemove wrong log tag definition 06/223006/2
hyunho [Wed, 22 Jan 2020 05:48:18 +0000 (14:48 +0900)]
Remove wrong log tag definition

Change-Id: Ie463b189b37cfed6630811653825d956e3ab0347
Signed-off-by: hyunho <hhstark.kang@samsung.com>
4 years agoRelease version 0.4.3 54/218254/1 accepted/tizen/unified/20191121.154827 submit/tizen/20191121.020155
Inkyun Kil [Thu, 21 Nov 2019 01:03:54 +0000 (10:03 +0900)]
Release version 0.4.3

Changes:
- Fix static analysis issue

Change-Id: I982721afa020d504842f2825a3c73462dea1e3b6
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoFix static analysis issue 49/218249/2
Inkyun Kil [Thu, 21 Nov 2019 00:29:33 +0000 (09:29 +0900)]
Fix static analysis issue

Change-Id: Id09fa513a35be23af3049f9c499077939f54ab08

4 years agoRelease version 0.4.2 36/217836/1
SukHyung, Kang [Fri, 15 Nov 2019 01:37:53 +0000 (10:37 +0900)]
Release version 0.4.2

Changes:
 - Update doxygen
 - Fix api reference for bundle

Change-Id: Ib0e8d4e354df8cfaea69d74cb3f06ba3c573821c
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
4 years agoFix api reference for bundle 52/217652/1
SukHyung, Kang [Wed, 13 Nov 2019 06:38:29 +0000 (15:38 +0900)]
Fix api reference for bundle

Change-Id: I5e567b151fbe71b7929decd70c8c8b5947f2fdc5
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
4 years agoUpdate doxygen 34/214934/2
mk5004.lee [Mon, 30 Sep 2019 04:17:21 +0000 (13:17 +0900)]
Update doxygen

- change file mode

Change-Id: I395f94c23d66a7e0eef4c9e9fe133eca106bbce1
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoRelease version 0.4.1 66/213066/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.024155 accepted/tizen/5.5/unified/mobile/hotfix/20201027.084104 accepted/tizen/unified/20190904.110713 submit/tizen/20190830.041902 submit/tizen/20190902.012958 submit/tizen/20190903.012148 submit/tizen/20190903.055055 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185103 tizen_5.5.m2_release
hyunho [Fri, 30 Aug 2019 04:14:56 +0000 (13:14 +0900)]
Release version 0.4.1

Changes:
 - Remove unused constructor

Change-Id: I9ee649d9724a8c0267c09edaef0046e6ce838ad7
Signed-off-by: hyunho <hhstark.kang@samsung.com>
5 years agoRemove unused constructor 96/212996/1
hyunho [Thu, 29 Aug 2019 06:59:32 +0000 (15:59 +0900)]
Remove unused constructor

Change-Id: Id4a60d79ff1163f2f9ce4cb2b2effaa7f6dcb06c
Signed-off-by: hyunho <hhstark.kang@samsung.com>
5 years agoRelease version 0.4.0 66/211966/1 accepted/tizen/unified/20190821.064608 submit/tizen/20190820.111649 submit/tizen/20190820.223513
Hwankyu Jhun [Tue, 13 Aug 2019 04:15:44 +0000 (13:15 +0900)]
Release version 0.4.0

Changes:
 - Support setter/getter methods for byte array type

Change-Id: Ia953b65f135f037b911ada14bd0b846be3ccaf3c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoSupport setter/getter methods for byte array type 38/211238/12
Hwankyu Jhun [Wed, 31 Jul 2019 09:14:41 +0000 (18:14 +0900)]
Support setter/getter methods for byte array type

The following functions are moved from internal header:
 - bundle_add_byte_array()
 - bundle_set_byte_array_element()
 - bundle_get_byte_array()

Change-Id: I3a2c07df65ae3db46c984674a0d2c4cc3d253544
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.3.4 46/211746/1 accepted/tizen/unified/20190811.223134 submit/tizen/20190808.231835 submit/tizen/20190809.130415
Hwankyu Jhun [Thu, 8 Aug 2019 23:26:26 +0000 (08:26 +0900)]
Release version 0.3.4

Changes:
 - Add a new internal function

Change-Id: I3b698b25ed7906b8e22ffba7a78d6eb6bdbc55b7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>