platform/core/context/context-store.git
7 years agoMerge branch 'devel/tizen' into tizen 30/124730/1 accepted/tizen/unified/20170414.163522 submit/tizen/20170413.031950
Mu-Woong Lee [Wed, 12 Apr 2017 08:07:53 +0000 (17:07 +0900)]
Merge branch 'devel/tizen' into tizen

* devel/tizen: (34 commits)
  Remove redundant try-catch for Tuple::buildFrom()
  Version 0.1.0
  Initialize __storeManager from the constructor of ContextStoreService
  Fix the build script typos and nonconventional so symlink packaging
  Remove redundant exception handlings
  Apply the updated Tuple & Database interfaces
  Replace obsoleted util headers
  Add APIs for client application & daemons, and the other services in contextd
  Rename the packages to clearly denote their roles
  Separate SchemaChecker from Schema to reuse regex while parsing schema files
  Rearrange header directory structure w.r.t. context-common
  Code skeleton of the query validity checker
  Set the default limit parameter of selection queries
  Disable redundant virtual packages
  Rename the pkg config template file
  Rename a pamareter to be consistant through the APIs
  Implement ContextStoreService & ContextStoreClient
  Implement StoreManager & store handle classes in the server
  Implement SchemaLoader in the server
  Implement DatabaseManager in the server
  ...

Change-Id: I1231244e3d8bc90174282cb90734a6127b7d49c7
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoRemove redundant try-catch for Tuple::buildFrom() 35/124635/1
Mu-Woong Lee [Wed, 12 Apr 2017 04:27:27 +0000 (13:27 +0900)]
Remove redundant try-catch for Tuple::buildFrom()

Change-Id: I1efe8b7453e7d37eda63a633b0a845c7bb12fd03
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoVersion 0.1.0 76/124276/1
Mu-Woong Lee [Tue, 11 Apr 2017 04:51:25 +0000 (13:51 +0900)]
Version 0.1.0

Change-Id: I6c5af17ad35e2440dbfcfc94564a3df5ffdbbd3d
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoInitialize __storeManager from the constructor of ContextStoreService 36/124236/1
Mu-Woong Lee [Tue, 11 Apr 2017 02:03:37 +0000 (11:03 +0900)]
Initialize __storeManager from the constructor of ContextStoreService

Change-Id: I4ee56652bcdd491ddf8da82ef082c37d887ff711
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoFix the build script typos and nonconventional so symlink packaging 07/123307/2
Mu-Woong Lee [Wed, 5 Apr 2017 07:26:30 +0000 (16:26 +0900)]
Fix the build script typos and nonconventional so symlink packaging

Change-Id: Ib214509b414ff868c44b41595beb9383e07d17ad
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoRemove redundant exception handlings 48/123248/1
Mu-Woong Lee [Wed, 5 Apr 2017 05:07:53 +0000 (14:07 +0900)]
Remove redundant exception handlings

Change-Id: I3c8c004a63e4ac093b91f3ec1f84b53a816e93fc
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoApply the updated Tuple & Database interfaces 15/122715/1
Mu-Woong Lee [Mon, 3 Apr 2017 07:53:02 +0000 (16:53 +0900)]
Apply the updated Tuple & Database interfaces

Change-Id: Iae7af355b36ab506ee695ce01065995586b198fa
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoReplace obsoleted util headers 20/121720/1
Mu-Woong Lee [Tue, 28 Mar 2017 13:10:04 +0000 (22:10 +0900)]
Replace obsoleted util headers

Change-Id: Ib239fff20cbd3163cee14786a6ac6237696b6858
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoAdd APIs for client application & daemons, and the other services in contextd 93/120893/7
Mu-Woong Lee [Fri, 24 Mar 2017 13:00:00 +0000 (22:00 +0900)]
Add APIs for client application & daemons, and the other services in contextd

Change-Id: I0176c6eb838508dd3cccc277902a7b0aeacaab8f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoRename the packages to clearly denote their roles 33/120633/2
Mu-Woong Lee [Thu, 23 Mar 2017 11:01:17 +0000 (20:01 +0900)]
Rename the packages to clearly denote their roles

Change-Id: I585585d93edd3fa4581febd72fbbbe5b0c79d1f1
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoSeparate SchemaChecker from Schema to reuse regex while parsing schema files 46/119646/2
Mu-Woong Lee [Sat, 18 Mar 2017 14:20:08 +0000 (07:20 -0700)]
Separate SchemaChecker from Schema to reuse regex while parsing schema files

Change-Id: I81735406af570af5902905f739c362fcf6ffdf28
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoRearrange header directory structure w.r.t. context-common 57/119657/1
Mu-Woong Lee [Sun, 19 Mar 2017 15:01:06 +0000 (00:01 +0900)]
Rearrange header directory structure w.r.t. context-common

Change-Id: I561191d1ca2aeeae827c58837cd7213d62949693
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoCode skeleton of the query validity checker 58/119358/2
Mu-Woong Lee [Thu, 16 Mar 2017 12:02:55 +0000 (21:02 +0900)]
Code skeleton of the query validity checker

Change-Id: I90c2607563dd19b5b2555abacbbe5f58b5a995fe
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoSet the default limit parameter of selection queries 46/119346/1
Mu-Woong Lee [Thu, 16 Mar 2017 11:04:32 +0000 (20:04 +0900)]
Set the default limit parameter of selection queries

Change-Id: I1965cb8970d1c12417cbf479b3e055656a794776
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoDisable redundant virtual packages 96/119296/1
Mu-Woong Lee [Thu, 16 Mar 2017 08:46:06 +0000 (17:46 +0900)]
Disable redundant virtual packages

Change-Id: Id77460862b678d34797c0f6a4be54eecb6499dc4
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoRename the pkg config template file 48/119248/1
Mu-Woong Lee [Thu, 16 Mar 2017 06:26:52 +0000 (15:26 +0900)]
Rename the pkg config template file

Change-Id: I91a9526adeb9baacfe9d5b1dfca89faca87cd59c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoRename a pamareter to be consistant through the APIs 19/118919/2
Mu-Woong Lee [Tue, 14 Mar 2017 12:46:16 +0000 (21:46 +0900)]
Rename a pamareter to be consistant through the APIs

Change-Id: I5338edc46a0f2bbde50badb1cb2e1ab51a6a6f80
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoImplement ContextStoreService & ContextStoreClient 10/118910/2
Mu-Woong Lee [Tue, 14 Mar 2017 11:58:23 +0000 (20:58 +0900)]
Implement ContextStoreService & ContextStoreClient

Change-Id: I6cfe0a430aa6abbebf5ef86ee3b1198990a67f1f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoImplement StoreManager & store handle classes in the server 09/118909/2
Mu-Woong Lee [Tue, 14 Mar 2017 11:55:52 +0000 (20:55 +0900)]
Implement StoreManager & store handle classes in the server

Change-Id: Idcb901e3d7fa4b6bfdb753d428b7ad06c0668c9f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoImplement SchemaLoader in the server 05/118905/2
Mu-Woong Lee [Tue, 14 Mar 2017 11:52:19 +0000 (20:52 +0900)]
Implement SchemaLoader in the server

Change-Id: I86e52eace38cdd0710e198712df1aa894bf68dd4
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoImplement DatabaseManager in the server 04/118904/3
Mu-Woong Lee [Tue, 14 Mar 2017 11:47:08 +0000 (20:47 +0900)]
Implement DatabaseManager in the server

Change-Id: Ib88f7fd66583ce4632d52a003b169c9479d664b4
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoAdd a schema sample xml 03/118903/1
Mu-Woong Lee [Tue, 14 Mar 2017 11:44:26 +0000 (20:44 +0900)]
Add a schema sample xml

Change-Id: Ie233bd104e6538d91857ba4468eaeff6c4e2c7ad
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoAPI: fix bugs of query construction & GVariant extraction 02/118902/1
Mu-Woong Lee [Tue, 14 Mar 2017 11:43:09 +0000 (20:43 +0900)]
API: fix bugs of query construction & GVariant extraction

Change-Id: Id47ea1dcddff38717f1aecc8acd8a2cb15bef7a7
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoDefine shared constants 00/118900/1
Mu-Woong Lee [Tue, 14 Mar 2017 11:38:58 +0000 (20:38 +0900)]
Define shared constants

Change-Id: I17cb3508e80e0699383add2a805923841eab620d
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoImplement APIs for platform-managed stores 72/118072/3
Mu-Woong Lee [Wed, 8 Mar 2017 12:39:12 +0000 (21:39 +0900)]
Implement APIs for platform-managed stores

Change-Id: Ifa8e2f3fd0fab6f9f807e39696932aea73467d15
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoRemove API features managing databases in the application directories 92/117992/2
Mu-Woong Lee [Wed, 8 Mar 2017 08:15:37 +0000 (17:15 +0900)]
Remove API features managing databases in the application directories

Not supported in Tizen 4.0.

Change-Id: Icf003353317c9da1f8c4a14c14a4165ba5447c66
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoDefine ContextStore C++ internal API (skeleton) 01/116301/6
Mu-Woong Lee [Thu, 23 Feb 2017 13:54:34 +0000 (22:54 +0900)]
Define ContextStore C++ internal API (skeleton)

Change-Id: I3b2f701932d8d27e21013b29bf8e20103b2b9c40
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoUpdate the service code skeleton w.r.t. the change of the active user monitoring... 56/117256/1
Mu-Woong Lee [Fri, 3 Mar 2017 11:05:37 +0000 (20:05 +0900)]
Update the service code skeleton w.r.t. the change of the active user monitoring scheme

Change-Id: Iad79d4539e2ea668954acf1343296e6a01fef286
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoFix the build scripts to be sure that each dummy uses its own pkg check parameter 45/116945/1
Mu-Woong Lee [Thu, 2 Mar 2017 06:06:00 +0000 (15:06 +0900)]
Fix the build scripts to be sure that each dummy uses its own pkg check parameter

Change-Id: I323f97c05a5204ba1b924bd017595eac370c6a31
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoSync with the header separation in context-common 32/115632/1
Mu-Woong Lee [Tue, 21 Feb 2017 00:47:28 +0000 (09:47 +0900)]
Sync with the header separation in context-common

Change-Id: I70591a1167e6db3c068dbcb8519ffcb513830f20
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoApply updated class names 24/115524/1
Mu-Woong Lee [Mon, 20 Feb 2017 08:14:06 +0000 (17:14 +0900)]
Apply updated class names

Change-Id: I58d902b49d3be20a17f801bb0689c41342e58181
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoImplement the virtual functions added to the DBusService class 70/115470/1
Mu-Woong Lee [Mon, 20 Feb 2017 06:04:06 +0000 (15:04 +0900)]
Implement the virtual functions added to the DBusService class

Change-Id: I877e4862859cef9116a2bfd8b0e56714b4ded2b5
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoCleanup the build script 42/115442/1
Mu-Woong Lee [Mon, 20 Feb 2017 03:49:40 +0000 (12:49 +0900)]
Cleanup the build script

Change-Id: I60fbf688dea6a0f73467b939f4da36a27a72d801
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoCleanup the test code 73/114073/1
Mu-Woong Lee [Fri, 10 Feb 2017 02:08:39 +0000 (11:08 +0900)]
Cleanup the test code

Change-Id: If98b88f8531192bfe34e3835ad713935c24ec8ba
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoAdd the code skeleton of store service & client 32/113132/1
Mu-Woong Lee [Mon, 6 Feb 2017 07:50:21 +0000 (16:50 +0900)]
Add the code skeleton of store service & client

Change-Id: Idba58d12d22df60823f93ec11183a4ad04a98a18
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoInitial empty repository master
Jong Jeong Kim [Thu, 10 Nov 2016 07:51:45 +0000 (23:51 -0800)]
Initial empty repository