archive/platform/core/system/libConfig.git
9 years agoconfig (dynamic): implemented kvjson visitor and loading methods 09/31709/12
Krzysztof Dynowski [Sat, 6 Dec 2014 11:53:07 +0000 (12:53 +0100)]
config (dynamic): implemented kvjson visitor and loading methods

[Bug/Feature]   load config from kvstore with defaults from json
[Cause]         N/A
[Solution]      N/A
[Verification]  Build, install

Change-Id: I58c70c0089102b8c4ec1c659937e43d698cd6197

9 years agoDisable rvalue references 30/31830/3
Mateusz Malicki [Wed, 10 Dec 2014 17:07:09 +0000 (18:07 +0100)]
Disable rvalue references

[Bug]           Boost any rvalue support is optional
[Cause]         rvalues is provided in 1.54 and can be disabled
[Solution]      Disable rvalue references
[Verification]  N/A

Change-Id: I395adec94bbd07e33aa8bf703c0732ffa3b69ea6

9 years agoAbility to copy union and to set union type 10/31210/5
Mateusz Malicki [Tue, 2 Dec 2014 14:01:32 +0000 (15:01 +0100)]
Ability to copy union and to set union type

[Feature]       Ability to copy union and to set union type
[Cause]         Need to copy and add new union elements
[Solution]      Use of boost::any class; add isSet and set<T> methods
[Verification]  Build, install, run scs tests

Change-Id: I61e3211c27e62af93b36a5309e50ebaf90ab70ad

9 years agoAdded possibility to declare union in config file 86/30886/9
Mateusz Malicki [Wed, 26 Nov 2014 14:11:51 +0000 (15:11 +0100)]
Added possibility to declare union in config file

[Bug/Feature]   Possibility to declare something like union in config file
[Cause]         Necessity to create vector with element of more than one type
[Solution]      Added macro CONFIG_DECLARE_OPTIONS
[Verification]  Build, install, run scs tests

Change-Id: I094eb63f5cda6435836b3d76674d3cad5f89fe14

9 years agoTimeout in read and write to a FDStore 17/30517/5
Jan Olszak [Wed, 19 Nov 2014 09:28:41 +0000 (10:28 +0100)]
Timeout in read and write to a FDStore

[Bug/Feature]   N/A
[Cause]         N/A
[Solution]      N/A
[Verification]  Build, install, run tests

Change-Id: I42a358ce87d1dd6e02030a0e0e2431838ddae29c

9 years agoMacro for creating empty Config structures 53/30053/1
Jan Olszak [Fri, 31 Oct 2014 15:54:25 +0000 (16:54 +0100)]
Macro for creating empty Config structures

[Bug/Feature]   N/A
[Cause]         N/A
[Solution]      N/A
[Verification]  Build, install, run tests

Change-Id: I1e2c468f2d05855b71938b20e7b63bb5aa112d54

10 years agoFDStore class for binary serialization 67/28367/10
Jan Olszak [Fri, 3 Oct 2014 16:16:59 +0000 (18:16 +0200)]
FDStore class for binary serialization

[Bug/Feature]   Class for writing and reading binary data to a file descriptor
[Cause]         N/A
[Solution]      N/A
[Verification]  Build, install, run tests

Change-Id: I18713366449c77a17970eeb7f0f6b3ae1feac656

10 years agoTransaction and synchronization guard 25/28325/6
Jan Olszak [Thu, 2 Oct 2014 14:05:45 +0000 (16:05 +0200)]
Transaction and synchronization guard

[Bug/Feature]   KVStore returns a transaction guard
[Cause]         N/A
[Solution]      N/A
[Verification]  Build, install, run tests

Change-Id: I44d421e5817ca359bf28f70b9182c9e2e0618137

10 years agoWriting the size of a vector in the KVStore 01/28201/4
Jan Olszak [Thu, 18 Sep 2014 08:46:53 +0000 (10:46 +0200)]
Writing the size of a vector in the KVStore

[Bug/Feature]   No way to write an empty vector in the KVStore
[Cause]         N/A
[Solution]      N/A
[Verification]  Build, install, run tests

Change-Id: Ia4d67e33e9320c27cf6d86e809bf5c54edd940cc

10 years agoStructs serialization to KVStore finished 39/27039/1
Piotr Bartosiewicz [Wed, 3 Sep 2014 12:14:05 +0000 (14:14 +0200)]
Structs serialization to KVStore finished

[Bug/Feature]   Missing serialization/deserialization of vector of
                structs.
[Cause]         N/A
[Solution]      N/A
[Verification]  Build, install, run tests

Change-Id: I562bb89550b4af5ce86c3f818738cb878830f828

10 years agoFix clang compilation problem 71/26571/1
Piotr Bartosiewicz [Tue, 26 Aug 2014 10:18:30 +0000 (12:18 +0200)]
Fix clang compilation problem

[Bug/Feature]   Does not compile with clang
[Cause]         N/A
[Solution]      N/A
[Verification]  Compile using gcc and clang

Change-Id: I2c065d87b66473c1a80b402fb925ee62180c15df

10 years agoSaving and loading configurations from KVStore 08/26508/2
Jan Olszak [Mon, 25 Aug 2014 13:59:51 +0000 (15:59 +0200)]
Saving and loading configurations from KVStore

[Bug/Feature]   Configuration structs are serializable to
                and from a KVStore file
[Cause]         N/A
[Solution]      N/A
[Verification]  Build, install, run tests

Change-Id: Ide83199431cd1357de1f7a9865984033fce47547

10 years agoFunction for creating std::string keys 29/26329/8
Jan Olszak [Tue, 19 Aug 2014 10:54:43 +0000 (12:54 +0200)]
Function for creating std::string keys

[Bug/Feature]   Function creating keys from other serializable types
[Cause]         N/A
[Solution]      N/A
[Verification]  Build, install, run tests

Change-Id: I4581b650b85ce2d2bba35daff66dca9d5ec0d936

10 years agoImprove exception messages 01/26201/3
Piotr Bartosiewicz [Mon, 18 Aug 2014 15:49:46 +0000 (17:49 +0200)]
Improve exception messages

[Bug/Feature]   Poor exception messages while loading configuration from
                file. Also too much implementation was placed inside
                header file.
[Cause]         N/A
[Solution]      N/A
[Verification]  Build, install, run tests

Change-Id: Ia187e04788048a1e1c4b7a1d147c5c8b1865da90

10 years agoBug fix in getting vector of values form KVStore 12/26212/1
Jan Olszak [Tue, 19 Aug 2014 08:44:38 +0000 (10:44 +0200)]
Bug fix in getting vector of values form  KVStore

[Bug/Feature]   istringstream wasn't initialized
[Cause]         N/A
[Solution]      N/A
[Verification]  Build, install, run tests

Change-Id: I61ebf4242b868e2dc6fd8adc3b69db453f80afac

10 years agoStoring serializable types in KVStore 44/26144/2
Jan Olszak [Mon, 11 Aug 2014 10:54:12 +0000 (12:54 +0200)]
Storing serializable types in KVStore

[Bug/Feature]   One can store many types of values in KVStore
[Cause]         N/A
[Solution]      N/A
[Verification]  Build, install, run tests

Change-Id: If656263cd7da1c558290a0baf5e6e44f88e9b865

10 years agoDynamic configuration stored in a database 31/25531/5
Jan Olszak [Mon, 4 Aug 2014 09:09:08 +0000 (11:09 +0200)]
Dynamic configuration stored in a database

[Bug/Feature]   Storing configuration in SQLite3 database
[Cause]         N/A
[Solution]      N/A
[Verification]  Build, install, run tests

Change-Id: If14be7c9e0c62c985215f904d308d2d172c71fff

10 years agoFix install libdir and version in pc file 05/25105/2
Piotr Bartosiewicz [Tue, 29 Jul 2014 13:33:37 +0000 (15:33 +0200)]
Fix install libdir and version in pc file

[Bug/Feature]   Hardcoded lib dir, no version in pc file.
[Cause]         N/A
[Solution]      N/A
[Verification]  Build, install

Change-Id: Ic36d716917cdf0dbc69f8cd63045645bf895365f

10 years agoInitial library content. 25/23725/8
Jacek Pielaszkiewicz [Tue, 17 Jun 2014 08:28:19 +0000 (10:28 +0200)]
Initial library content.

[Bug/Feature]  Initial library content.
[Cause]        N/A
[Solution]     N/A
[Verification] Build, install, run tests

Change-Id: I0de77757b11c87099b5b0d915e30aeeff1becf61
Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
10 years agoInitial repository spec file. 24/23724/1
Jacek Pielaszkiewicz [Fri, 13 Jun 2014 09:09:38 +0000 (11:09 +0200)]
Initial repository spec file.

Change-Id: I4adf7ae50df656a822ccf5ecec7e298a493ea5e9
Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
10 years agoInitial commit
Łukasz Stelmach [Tue, 1 Jul 2014 15:44:27 +0000 (17:44 +0200)]
Initial commit

Change-Id: I16e3ae44472eea242bab9ce6b01a1c0bdccdf1a5