Changgyu Choi [Tue, 10 Jan 2023 07:48:56 +0000 (16:48 +0900)]
Fix build error issue
Adds explicit casting to bool when checking value of the Result.
Change-Id: I6f2428379989bb9669ec6519f84bdb4154ce2b7f
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
jh9216.park [Mon, 9 Jan 2023 04:24:10 +0000 (23:24 -0500)]
Release version 0.12.6
Changes:
- Add Prepare() method
- Add some methods
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
Change-Id: I0ac4e1983131e944cfb238b14d355423216bd2d7
jh9216.park [Fri, 6 Jan 2023 00:15:18 +0000 (19:15 -0500)]
Add some methods
- Result.GetColumnCount() added
- Record.GetString() added
- AutoDbType.GetType() added
- Enhance exception handling
Change-Id: If471d192e0ff286c7fd1e77f831206000c6dd733
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
jh9216.park [Wed, 4 Jan 2023 06:31:18 +0000 (01:31 -0500)]
Add Prepare() method
- To reuse prepared the statement, this method was added
Change-Id: If56f2d6f2dd8ccde929887f59cda9c5f296a3d0c
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
jh9216.park [Wed, 4 Jan 2023 04:01:21 +0000 (23:01 -0500)]
Release version 0.12.5
Changes:
- Add API to get the raw handle of DB
- Add overloading Bind() methods
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
Change-Id: Ib999e83532de1dc1deb4c9519f9a8cb2d454b7d7
jh9216.park [Wed, 4 Jan 2023 03:10:20 +0000 (22:10 -0500)]
Add overloading Bind() methods
- To support 'Bind(nullptr)' expression, some overloaded methods are
added
Change-Id: I24b278390a13120e0b4f73dee285710aa2d79373
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
jh9216.park [Thu, 29 Dec 2022 05:42:42 +0000 (00:42 -0500)]
Add API to get the raw handle of DB
- Because tizen-database does not support full set of sqlite3 API,
this method may be needed
- Make a method as 'const'
Change-Id: I1b8c3d05b298cf943b2fde07510a8cdbc70e9e03
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
Changgyu Choi [Tue, 27 Dec 2022 09:57:42 +0000 (18:57 +0900)]
Release version 0.12.4
Changes:
- Fix static analysis issues
Change-Id: I218fb342b1d88fc727c40694ace11bf31de8cd87
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 27 Dec 2022 09:16:27 +0000 (18:16 +0900)]
Fix static analysis issues
Change-Id: Ifbe7aec3bfa0f14c28e90ad69c0bbefef2ef884c
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
jh9216.park [Wed, 21 Dec 2022 04:12:57 +0000 (23:12 -0500)]
Release version 0.12.3
Changes:
- Change type conversion operators in class 'Result'
- Support 64bit integer in tizen-database
- Fix build errors for aarch64
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
Change-Id: I9b5004fa2678c9d5ddb2f70ae76e8572724f9284
jh9216.park [Wed, 21 Dec 2022 02:48:24 +0000 (21:48 -0500)]
Fix build errors for aarch64
Change-Id: Iee0738570bfd95f6c7e8715e48ca3fe9a7672aea
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
jh9216.park [Tue, 20 Dec 2022 05:01:59 +0000 (00:01 -0500)]
Release version 0.12.2
Changes:
- Change type conversion operators in class 'Result'
- Support 64bit integer in tizen-database
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
Change-Id: Ic749da3a8c70b1c83921a33972e314c25e2c2bb2
jh9216.park [Thu, 15 Dec 2022 06:25:12 +0000 (01:25 -0500)]
Support 64bit integer in tizen-database
- Bind method for 'int64_t' type was added in class 'Sql'
Change-Id: I7bbafd18505cbe2594296edd754e264c94074ea6
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
jh9216.park [Thu, 15 Dec 2022 00:38:27 +0000 (19:38 -0500)]
Change type conversion operators in class 'Result'
- Operator 'bool' is useful operator to check the result. So I'd like to
use it easily.
- Behavior changes:
- Change type 'bool' conversion operator from explicit to implicit.
- Change type 'const char*' conversion operator from implicit to
explicit.
Change-Id: I3dc5ab3be7a080e2b816a5e94eed0f68854bcb85
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
Inkyun Kil [Wed, 14 Dec 2022 02:58:30 +0000 (11:58 +0900)]
Release version 0.12.1
changes:
- Fix a bug
Change-Id: Ic085ab23117078d8a67a6b3c2392c92938a6fb93
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
jh9216.park [Tue, 13 Dec 2022 10:15:29 +0000 (05:15 -0500)]
Fix a bug
- In case of SQLITE_DONE, class 'Result' should be considered to handle
empty selection
Change-Id: Id58595a9ab464d998221286d7e58fca36f2960e4
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
Hwankyu Jhun [Tue, 13 Dec 2022 03:11:55 +0000 (03:11 +0000)]
Release version 0.12.0
Changes:
- Add OneStepExec() method to tizen_base::Database
Change-Id: I6e275c07dd0d911921c879d241695f6227f92e5f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 13 Dec 2022 02:50:50 +0000 (02:50 +0000)]
Add OneStepExec() method to tizen_base::Database
To support calling the sqlite3_exec(), the method is added.
Change-Id: I9e8023690302f4c99e13f180808d109b94708bee
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Inkyun Kil [Thu, 8 Dec 2022 06:35:52 +0000 (15:35 +0900)]
Release version 0.11.0
changes:
- Add sub package 'tizen-database
- Implement null-type binding
- Add a method to reuse prepared statements
- Add some methods in class 'Sql'
- Add class 'DbException'
Change-Id: I89d8106ef5e142ed59a7d6a3bffea487dd5645f1
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Changgyu Choi [Wed, 5 Aug 2020 06:14:52 +0000 (06:14 +0000)]
Merge "Fix SetValue check condition" into tizen
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>
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>
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>
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>
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>
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>
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>