platform/core/context/context-common.git
8 years agoMerge branch 'devel/tizen_3.0' into tizen 81/89981/1 accepted/tizen/3.0/ivi/20161011.043715 accepted/tizen/3.0/mobile/20161015.032542 accepted/tizen/3.0/wearable/20161015.081737 accepted/tizen/common/20160928.164048 accepted/tizen/ivi/20160929.001928 accepted/tizen/mobile/20160929.001812 accepted/tizen/wearable/20160929.001937 submit/tizen/20160928.054547 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000001 submit/tizen_3.0_mobile/20161015.000001 submit/tizen_3.0_wearable/20161015.000001
Mu-Woong Lee [Wed, 28 Sep 2016 02:45:36 +0000 (11:45 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Remove legacy code for supporting Tizen 2.x
  Remove unnecessary profile dependencies from build spec
  Fix coding rule violations

Change-Id: I49de33e3b755fe7e7a29c3f58ee2b6908c695751
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRemove legacy code for supporting Tizen 2.x 83/89883/2
Mu-Woong Lee [Tue, 27 Sep 2016 09:34:39 +0000 (18:34 +0900)]
Remove legacy code for supporting Tizen 2.x

Change-Id: Icfc27fdff1e74b7f6a37cb29e4febdab5b845f9e
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRemove unnecessary profile dependencies from build spec 06/87806/1
MyungJoo Ham [Fri, 9 Sep 2016 08:12:32 +0000 (08:12 +0000)]
Remove unnecessary profile dependencies from build spec

If TV profile does not need this, update meta-tv.git and build project
so that it does not include this package.

If it already does not include this, the code being deleted is
already a dead code that you did not need anyway.

Change-Id: Iedf4577f48bccdcdf376fcd764a442a930fccb09
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
8 years agoFix coding rule violations 51/87751/2
Somin Kim [Fri, 9 Sep 2016 08:44:40 +0000 (17:44 +0900)]
Fix coding rule violations

Change-Id: Ic0f9ed595dcde1b33cc98b4306fd64a78dc51c67
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 56/87356/1 accepted/tizen/common/20160907.154909 accepted/tizen/ivi/20160908.044446 accepted/tizen/mobile/20160908.044348 accepted/tizen/wearable/20160908.044419 submit/tizen/20160907.123648
Mu-Woong Lee [Wed, 7 Sep 2016 12:22:10 +0000 (21:22 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Version 0.9.6
  Added Provider Types for Tizen Battery Statistics
  Move trigger & trigger rule types to context-common
  Version 0.9.5
  [my-place] internal definitions.

Change-Id: Ic60bfd026e8eed61f2a68ec6e67142978eec0067
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoVersion 0.9.6 52/87352/1
Mu-Woong Lee [Wed, 7 Sep 2016 12:18:14 +0000 (21:18 +0900)]
Version 0.9.6

Change-Id: Ifc966debfac171dbb4859196f4bb11bb38541f46
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdded Provider Types for Tizen Battery Statistics 11/81311/13
Somin Kim [Mon, 22 Aug 2016 07:24:12 +0000 (16:24 +0900)]
Added Provider Types for Tizen Battery Statistics

Change-Id: I9ad7de0dff2e16cb289acd8c5950c233693c0cde
Signed-off-by: Kunal Chawla <kunal.chawla@samsung.com>
8 years agoMove trigger & trigger rule types to context-common 44/84744/2
Somin Kim [Mon, 22 Aug 2016 07:24:12 +0000 (16:24 +0900)]
Move trigger & trigger rule types to context-common

Change-Id: Ia2006f1a079dbb1976dc880d203c7e7bbf89ba3f
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoVersion 0.9.5 80/83580/1
Mu-Woong Lee [Fri, 12 Aug 2016 00:46:32 +0000 (09:46 +0900)]
Version 0.9.5

Change-Id: I8e5923465d9c1bf1d3abfc2b000200dec215b50b
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years ago[my-place] internal definitions. 31/81931/2
Marcin Masternak [Fri, 5 Aug 2016 16:15:46 +0000 (18:15 +0200)]
[my-place] internal definitions.

Change-Id: Idac0a7d8f0fae8ebf13cff1c7cb5094b10b2455d
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 50/79050/1 accepted/tizen/common/20160708.141019 accepted/tizen/ivi/20160709.015007 accepted/tizen/mobile/20160709.014940 accepted/tizen/wearable/20160709.014957 submit/tizen/20160708.084014
Mu-Woong Lee [Fri, 8 Jul 2016 03:50:31 +0000 (12:50 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Version 0.9.4
  sensor: add attribute keys for sleep monitor & hrm
  Fix the mutex deadlocking issue in the destructor of TimerManager

Change-Id: I759f57b393e3e630683a6ce840e25ee80bbd2d35
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoVersion 0.9.4 82/78682/1
Mu-Woong Lee [Wed, 6 Jul 2016 11:54:23 +0000 (20:54 +0900)]
Version 0.9.4

Change-Id: Ia701f8515c84e3a8d9fb9772ad3255452a6da7ea
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor: add attribute keys for sleep monitor & hrm 42/78642/1
Mu-Woong Lee [Wed, 6 Jul 2016 09:23:01 +0000 (18:23 +0900)]
sensor: add attribute keys for sleep monitor & hrm

Change-Id: Ic420600427d35377392f4ac638a4f21cd96eb3d0
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoFix the mutex deadlocking issue in the destructor of TimerManager 41/78641/1
Mu-Woong Lee [Wed, 6 Jul 2016 09:22:40 +0000 (18:22 +0900)]
Fix the mutex deadlocking issue in the destructor of TimerManager

Change-Id: I4c5dc4f12944ef2bc778cb9558949d3e417aac9c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 04/78104/1 accepted/tizen/common/20160705.170012 accepted/tizen/ivi/20160705.045046 accepted/tizen/mobile/20160705.045105 accepted/tizen/wearable/20160705.045031 submit/tizen/20160705.023110
Mu-Woong Lee [Mon, 4 Jul 2016 09:10:42 +0000 (18:10 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  [my-place] missing definition build fix.
  Move json definitions(day of week, rank, and etc) to context-provider
  Version 0.9.3
  Add Json::remove() member function

Change-Id: I5e6d81ab541cff7dbfcecae68160d4b4e077336a
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years ago[my-place] missing definition build fix. 78/78078/5
Marcin Masternak [Mon, 4 Jul 2016 09:05:02 +0000 (11:05 +0200)]
[my-place] missing definition build fix.

Change-Id: I3fe0dbb1a6340237447225cbdc4986a7a4f0d8f8
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years agoMove json definitions(day of week, rank, and etc) to context-provider 66/78066/4
Somin Kim [Mon, 4 Jul 2016 07:12:53 +0000 (16:12 +0900)]
Move json definitions(day of week, rank, and etc) to context-provider

Change-Id: I03adba2cfa5f41029c835717689a63fbdd8cb04c
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoVersion 0.9.3 01/77801/1
Mu-Woong Lee [Fri, 1 Jul 2016 06:54:27 +0000 (15:54 +0900)]
Version 0.9.3

Change-Id: If482f7748e0646864fcf5073a084f2e0377ae346
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd Json::remove() member function 85/77785/1
Mu-Woong Lee [Thu, 30 Jun 2016 07:39:06 +0000 (16:39 +0900)]
Add Json::remove() member function

Change-Id: Ifa8dd11804ed2ee397b8a60fe1d6525178d66a4b
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 02/76902/1 accepted/tizen/common/20160628.141455 accepted/tizen/ivi/20160628.065911 accepted/tizen/mobile/20160628.065926 accepted/tizen/wearable/20160628.065850 submit/tizen/20160628.050740
Mu-Woong Lee [Tue, 28 Jun 2016 01:17:36 +0000 (10:17 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Fix internal error code of ERR_INVALID_DATA
  Add ProviderTypes.h & SensorRecorderTypes.h
  Add a separated header containing internal error codes
  Disclude Types.h from the dbus client headers

Change-Id: I807aeaa633d28ee604d9000bf59409cedba09771
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMerge "Add ProviderTypes.h & SensorRecorderTypes.h" into devel/tizen_3.0
Mu-Woong Lee [Mon, 27 Jun 2016 07:04:58 +0000 (00:04 -0700)]
Merge "Add ProviderTypes.h & SensorRecorderTypes.h" into devel/tizen_3.0

8 years agoFix internal error code of ERR_INVALID_DATA 52/76752/1
Somin Kim [Mon, 27 Jun 2016 06:44:35 +0000 (15:44 +0900)]
Fix internal error code of ERR_INVALID_DATA

Change-Id: Iaee2af0b2181fb1e86d2bc40aac395efcc179f44
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoAdd ProviderTypes.h & SensorRecorderTypes.h 04/76704/2
Mu-Woong Lee [Mon, 27 Jun 2016 03:59:50 +0000 (12:59 +0900)]
Add ProviderTypes.h & SensorRecorderTypes.h

Change-Id: Ibe8bdade3f4e7f7f61052467f084cb164689dbdf
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd a separated header containing internal error codes 92/76692/1
Mu-Woong Lee [Thu, 23 Jun 2016 07:27:31 +0000 (16:27 +0900)]
Add a separated header containing internal error codes

Change-Id: Ief34c1297641911f7ccc5686c8f261ccc06da35f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoDisclude Types.h from the dbus client headers 91/76691/1
Mu-Woong Lee [Thu, 23 Jun 2016 02:16:31 +0000 (11:16 +0900)]
Disclude Types.h from the dbus client headers

Cherry-picked from Tizen 2.3.2

Change-Id: Id96480e5dc1e4e3f13b55d788601d8d6c5a28cff
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 26/76326/1 accepted/tizen/common/20160627.191135 accepted/tizen/ivi/20160623.121111 accepted/tizen/mobile/20160623.120957 accepted/tizen/wearable/20160623.121055 submit/tizen/20160622.045445
Mu-Woong Lee [Thu, 23 Jun 2016 11:17:13 +0000 (20:17 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Allow DB queries with NULL outparam for containing query result
  Apply LEGACY_SECURITY build feature to DBusClient
  Modified default row_id to rowId
  Added CustomRegister Interface

Change-Id: If92e6956af11c8e4635b5461930c1a728a613d2b
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAllow DB queries with NULL outparam for containing query result 74/75674/1
Mu-Woong Lee [Tue, 21 Jun 2016 02:55:40 +0000 (11:55 +0900)]
Allow DB queries with NULL outparam for containing query result

Change-Id: Ifad60aae43fc4745bc4dd55d5cba442934dbef5a
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoApply LEGACY_SECURITY build feature to DBusClient 73/75673/1
Mu-Woong Lee [Tue, 21 Jun 2016 02:54:42 +0000 (11:54 +0900)]
Apply LEGACY_SECURITY build feature to DBusClient

Change-Id: Ib8793b0493053ce0b60c6b6a26905f6f9eec8b23
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoModified default row_id to rowId 02/75502/2
Somin Kim [Mon, 20 Jun 2016 06:32:40 +0000 (15:32 +0900)]
Modified default row_id to rowId

Change-Id: I8c879bdad1ee69346728f725240be1bea8b8c625
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoAdded CustomRegister Interface 20/73720/1
Somin Kim [Thu, 9 Jun 2016 08:19:22 +0000 (17:19 +0900)]
Added CustomRegister Interface

Change-Id: I0faf8c9efcd5439a03a41a43d6f9b9a40c4b1652
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 91/73291/1
Somin Kim [Tue, 7 Jun 2016 10:45:40 +0000 (19:45 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Version 0.9.0
  Add missing SYSTEM_SERVICE build feature
  Migrate DBusClient from context to context-common
  Merge two separated pkg config files into one
  [my-place] Places comparison operator== fix.
  [my-place] Extend Place Wifi AP's list by network names.
  [my-place] Move shared definitions to context-common.
  [my-place] Move shared types to context-common.
  Re-implement floating point get/set methods of the Json to be more human-readable
  Add LEGACY_FILE_PATH & LEGACY_PERIODIC_ALARM build features to support build on Tizen 2.3.x
  Add version check for json-glib library

Change-Id: Iee6e343c13fed26c79952aa5ca350082265a94fd
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoVersion 0.9.0 74/73274/1
Somin Kim [Tue, 7 Jun 2016 10:22:45 +0000 (19:22 +0900)]
Version 0.9.0

Change-Id: Iaaabeed7f6a9a652920b3663a13ff3b4fb4268b1
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoAdd missing SYSTEM_SERVICE build feature 25/72925/1
Mu-Woong Lee [Fri, 3 Jun 2016 05:34:27 +0000 (14:34 +0900)]
Add missing SYSTEM_SERVICE build feature

Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Conflicts:
packaging/context-common.spec

Change-Id: I047e4535a1178b9332938273eddbddd4b680d1e0

8 years agoMigrate DBusClient from context to context-common 95/72895/1
Mu-Woong Lee [Fri, 3 Jun 2016 02:26:39 +0000 (11:26 +0900)]
Migrate DBusClient from context to context-common

Change-Id: I4e088e4e023854debcf96f4c854e7dcafc1edf22
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMerge two separated pkg config files into one 82/72882/1
Mu-Woong Lee [Fri, 3 Jun 2016 01:49:02 +0000 (10:49 +0900)]
Merge two separated pkg config files into one

Change-Id: I16c9b99cdaf5e9f852e80b3af27bb177853ed352
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years ago[my-place] Places comparison operator== fix. 55/72555/1
Marcin Masternak [Wed, 1 Jun 2016 11:42:44 +0000 (13:42 +0200)]
[my-place] Places comparison operator== fix.

Change-Id: I7c2ddcf41dfdb32e8e52070807292691baae3cbd
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place] Extend Place Wifi AP's list by network names. 60/72360/1
Marcin Masternak [Tue, 31 May 2016 14:28:13 +0000 (16:28 +0200)]
[my-place] Extend Place Wifi AP's list by network names.

Change-Id: I0fd849c7e6533edbd90142d3eff17196cab51716
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place] Move shared definitions to context-common. 24/72224/1
Marcin Masternak [Tue, 31 May 2016 07:52:11 +0000 (09:52 +0200)]
[my-place] Move shared definitions to context-common.

Change-Id: Ifb3bfb2efd7945ec9565d6ee387136d9428d5ea7
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place] Move shared types to context-common. 38/71938/2
Marcin Masternak [Mon, 30 May 2016 12:22:15 +0000 (14:22 +0200)]
[my-place] Move shared types to context-common.

Change-Id: I1abe302734ba09f3215ffc60dba4fe7c65cabd21
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years agoRe-implement floating point get/set methods of the Json to be more human-readable 82/71482/6
Mu-Woong Lee [Wed, 25 May 2016 12:24:00 +0000 (21:24 +0900)]
Re-implement floating point get/set methods of the Json to be more human-readable

Floating point numbers are stored as decimal format strings, not hexadecimal.
It will be more human-readable & SQLite-friendly, but may cause some precision issues.

Note that, this patch allows maximum 15 significant digits for double-precision floating point numbers.
If you need more than 15 significant figures, use int64_t instead.

Change-Id: I0f957a863e69a060a879d90b88341a9945f469c1
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd LEGACY_FILE_PATH & LEGACY_PERIODIC_ALARM build features to support build on Tizen... 74/70974/2
Mu-Woong Lee [Mon, 23 May 2016 12:06:02 +0000 (21:06 +0900)]
Add LEGACY_FILE_PATH & LEGACY_PERIODIC_ALARM build features to support build on Tizen 2.3.x

By setting LEGACY_FILE_PATH & LEGACY_PERIODIC_ALARM as 1, it can be built on Tizen 2.3.x

Change-Id: I7b3dbcbfab7b95a2c0410d55f5117ef8c5710849
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd version check for json-glib library 73/70973/1
Mu-Woong Lee [Mon, 23 May 2016 12:04:39 +0000 (21:04 +0900)]
Add version check for json-glib library

Older versions of json-glib do not support conversions from/to GVariant

Change-Id: Ie3d78602eb7a85ea12b2ef6290a6a654cee048e0
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 69/70869/1 accepted/tizen/common/20160526.145755 accepted/tizen/ivi/20160524.004530 accepted/tizen/mobile/20160524.004501 accepted/tizen/wearable/20160524.004441 submit/tizen/20160523.074005
Mu-Woong Lee [Mon, 23 May 2016 05:53:59 +0000 (14:53 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Version 0.8.1
  Define DBus methods for privilege checking

Change-Id: I59ec251250657e5a4f86c58f22273c4c4a2dbcfa
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoVersion 0.8.1 62/70862/1
Mu-Woong Lee [Mon, 23 May 2016 05:49:11 +0000 (14:49 +0900)]
Version 0.8.1

Change-Id: I6a952551d2c883e72f2d985f6fd1ac7ee56ce5ab
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoDefine DBus methods for privilege checking 30/70730/1
Mu-Woong Lee [Fri, 20 May 2016 08:21:27 +0000 (17:21 +0900)]
Define DBus methods for privilege checking

Cynara-based privilege checking needs to be done in server-client manner.
To be able to test app launch, call, notification privileges from the API side, three new DBus methods are implemented.

Change-Id: I80bf039d10f875d2fe475ea3661c87949a8f6a40
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 75/68175/1 accepted/tizen/common/20160504.125338 accepted/tizen/ivi/20160503.093128 accepted/tizen/mobile/20160503.093034 accepted/tizen/wearable/20160503.093108 submit/tizen/20160503.015801
Mu-Woong Lee [Tue, 3 May 2016 01:48:50 +0000 (10:48 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Version 0.8.0
  Add ContextProvider::unloadable() to control unloadability of shared objects
  DatabaseManager::DatabaseManager() returns immediately after raising SIGTERM
  Modify the return type of ContextProvider::getPrivilege() to void
  Cleanup ContextProvider & IContextManager declarations
  Update License text & boilerplates
  Disable TV profile build explicitly
  Cleanup ContextProvider and ContextManager interfaces
  Fix GMutex initialization issue in DatabaseThread
  Rename symbol visibility macro to SO_EXPORT
  Split types_internal.h to Types.h and DBusTypes.h
  Change the default symbol visibility to hidden
  Switch back to libctx-server.so from libctx-server.a
  Migrate the database manager implementation from context-service to context-common

Change-Id: I97bc1e2b8c1a4d7ea677b014042a7dad51e13470
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoVersion 0.8.0 70/68170/1
Mu-Woong Lee [Tue, 3 May 2016 01:31:39 +0000 (10:31 +0900)]
Version 0.8.0

Change-Id: I1520040069b7458b0ef63230bfa4b981f94c2565
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd ContextProvider::unloadable() to control unloadability of shared objects 97/67797/1
Mu-Woong Lee [Thu, 28 Apr 2016 08:56:37 +0000 (17:56 +0900)]
Add ContextProvider::unloadable() to control unloadability of shared objects

Change-Id: I308eea9325a36ce59ca98f879e568ce5ed75d876
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoDatabaseManager::DatabaseManager() returns immediately after raising SIGTERM 80/67680/1
Mu-Woong Lee [Thu, 28 Apr 2016 03:53:35 +0000 (12:53 +0900)]
DatabaseManager::DatabaseManager() returns immediately after raising SIGTERM

Change-Id: I43fa78e78871bd6e80e8d0a7a89a49da1cdf9833
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoModify the return type of ContextProvider::getPrivilege() to void 24/67524/1
Mu-Woong Lee [Wed, 27 Apr 2016 06:53:17 +0000 (15:53 +0900)]
Modify the return type of ContextProvider::getPrivilege() to void

Change-Id: Ia69d18307753a678d260378c735effb9cdac0139
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoCleanup ContextProvider & IContextManager declarations 96/66996/2
Mu-Woong Lee [Fri, 22 Apr 2016 11:05:35 +0000 (20:05 +0900)]
Cleanup ContextProvider & IContextManager declarations

Change-Id: Id07b5bf188f971efc91d5e6cca29cffa28e61efd
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoUpdate License text & boilerplates 80/66680/2
Mu-Woong Lee [Wed, 20 Apr 2016 08:58:28 +0000 (17:58 +0900)]
Update License text & boilerplates

Change-Id: Ied6f71b4f6cbf57b7a7febe434bdc198c519a1c5
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoDisable TV profile build explicitly 50/66550/1
Mu-Woong Lee [Tue, 19 Apr 2016 10:59:18 +0000 (19:59 +0900)]
Disable TV profile build explicitly

Change-Id: Ic1eda5371f19f7d8abacd0bf4f6ed50e2aa1376e
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoCleanup ContextProvider and ContextManager interfaces 27/66227/6
Mu-Woong Lee [Mon, 18 Apr 2016 03:08:23 +0000 (12:08 +0900)]
Cleanup ContextProvider and ContextManager interfaces

Change-Id: I2395ed984f7b21a67b324c9f4472a8ea7a893906
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoFix GMutex initialization issue in DatabaseThread 63/66363/1
Mu-Woong Lee [Mon, 18 Apr 2016 11:20:38 +0000 (20:20 +0900)]
Fix GMutex initialization issue in DatabaseThread

Change-Id: Icfaa15e4f45aa1a5c992aa1cf1b21a8aaab2633e
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRename symbol visibility macro to SO_EXPORT 21/66221/1
Mu-Woong Lee [Mon, 18 Apr 2016 02:40:58 +0000 (11:40 +0900)]
Rename symbol visibility macro to SO_EXPORT

Change-Id: I4b0b648a3758a20cb2d0b8db80e4e37a70963655
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoSplit types_internal.h to Types.h and DBusTypes.h 98/66098/1
Mu-Woong Lee [Fri, 15 Apr 2016 07:23:55 +0000 (16:23 +0900)]
Split types_internal.h to Types.h and DBusTypes.h

Change-Id: I4bbc57f12f82c3a71461c1ebbc270e6b6c85b6c8
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoChange the default symbol visibility to hidden 89/66089/2
Mu-Woong Lee [Fri, 15 Apr 2016 06:23:02 +0000 (15:23 +0900)]
Change the default symbol visibility to hidden

Change-Id: I6fea466e5a0676e7de0d33e3e76a9d137bf5138c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoSwitch back to libctx-server.so from libctx-server.a 47/66047/1
Mu-Woong Lee [Fri, 15 Apr 2016 04:29:05 +0000 (13:29 +0900)]
Switch back to libctx-server.so from libctx-server.a

Change-Id: I96fbdb51b6aa9c97e437dd944f7df418a2dad77a
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMigrate the database manager implementation from context-service to context-common 00/66000/2
Mu-Woong Lee [Thu, 14 Apr 2016 11:01:15 +0000 (20:01 +0900)]
Migrate the database manager implementation from context-service to context-common

The original database manager implementation in context-service will be removed.

Change-Id: I6dc124f6dfebcd9c3f6f99904c7fb7795d2eb547
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 60/65260/1 accepted/tizen/common/20160408.185623 accepted/tizen/ivi/20160411.004932 accepted/tizen/mobile/20160411.004855 accepted/tizen/wearable/20160411.004906 submit/tizen/20160408.073002
Mu-Woong Lee [Fri, 8 Apr 2016 06:52:11 +0000 (15:52 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Version 0.7.5
  Modified class constructor initializer style
  Build static library libctx-server.a instead of libctx-server.so
  Apply Tizen C++ coding style to context_manager, context_manager_iface, provider_iface(ContextProviderBase)
  Version 0.7.3

Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Conflicts:
packaging/context-common.spec

Change-Id: I1e955148abb9a40b14cc8223b536bf5423ca6c16

8 years agoVersion 0.7.5 08/65208/1
Somin Kim [Fri, 8 Apr 2016 01:54:43 +0000 (10:54 +0900)]
Version 0.7.5

Change-Id: Ib7c1c4c1e54329f8e56e1d13412fc38b2d39963e
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoModified class constructor initializer style 05/65205/2
Somin Kim [Fri, 8 Apr 2016 01:43:45 +0000 (10:43 +0900)]
Modified class constructor initializer style

Change-Id: I8a21bdd617eb267675acbf265dbb94da93db514a
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoBuild static library libctx-server.a instead of libctx-server.so 17/64617/1
Mu-Woong Lee [Mon, 4 Apr 2016 08:22:22 +0000 (17:22 +0900)]
Build static library libctx-server.a instead of libctx-server.so

The library is only being used by contextd, thus it does not need to be a shared object.

Change-Id: I8005d50fe12d719d7ae447215a3827d79a5382bb
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoApply Tizen C++ coding style to context_manager, context_manager_iface, provider_ifac... 89/64589/1
Somin Kim [Mon, 4 Apr 2016 04:06:15 +0000 (13:06 +0900)]
Apply Tizen C++ coding style to context_manager, context_manager_iface, provider_iface(ContextProviderBase)

Change-Id: I94744c10c8dfbb7cbdf0e954617ce668c41443c9
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoVersion 0.7.3 21/62021/1 accepted/tizen_tv accepted/tizen/common/20160315.220852 accepted/tizen/ivi/20160314.104757 accepted/tizen/mobile/20160314.104657 accepted/tizen/tv/20160314.104712 accepted/tizen/wearable/20160314.104736 submit/tizen/20160314.020719
Somin Kim [Mon, 14 Mar 2016 01:45:48 +0000 (10:45 +0900)]
Version 0.7.3

Change-Id: I3531618930cf113780729ccc4008feeabf46ee8f
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
(cherry picked from commit f4ccf294a8d523ef093c9af61b4f1e428c10fcf9)

8 years agoVersion 0.7.3 17/62017/1
Somin Kim [Mon, 14 Mar 2016 01:45:48 +0000 (10:45 +0900)]
Version 0.7.3

Change-Id: I3531618930cf113780729ccc4008feeabf46ee8f
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 31/61631/1
Somin Kim [Wed, 9 Mar 2016 08:41:41 +0000 (17:41 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  json: replace sprintf with snprintf
  Exclude unnecessary dependencies from pc files
  Re-implement ctx::TimerManager class
  Apply Tizen C++ coding style to json
  Re-implement namespace ctx::shared as class ctx::SharedVars
  Remove dbus_client, request_handler, and response_handler
  Split libctx-common.so into libctx-shared.so & libctx-server.so
  Support custom items - error code, req type added - unregister trigger item/provider added - json valid() function added - is_supported modified
  Apply Tizen C++ coding style to the constructors of DBusSignalWatcher and EventDrivenThread
  Apply Tizen C++ coding style to ScopeMutex
  Update indentation of class IDBusSignalListener

Change-Id: I11e8b4d5822700dacb764b53aa5d2c82b641f820
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agojson: replace sprintf with snprintf 95/61495/2
Mu-Woong Lee [Tue, 8 Mar 2016 08:46:47 +0000 (17:46 +0900)]
json: replace sprintf with snprintf

Change-Id: I0666d5eec40a0f81d2a57b6efeac4cc17429a0a3
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoExclude unnecessary dependencies from pc files 97/60597/1
Mu-Woong Lee [Mon, 29 Feb 2016 07:46:21 +0000 (16:46 +0900)]
Exclude unnecessary dependencies from pc files

Change-Id: I42d04dced8ca6d3f74f7da5a5c113dbe07ac3731
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRe-implement ctx::TimerManager class 83/60183/5
Mu-Woong Lee [Wed, 24 Feb 2016 05:47:43 +0000 (14:47 +0900)]
Re-implement ctx::TimerManager class

Change-Id: I70807e42c04561b6924b44bbbbfc8463ec6930dd
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoApply Tizen C++ coding style to json 77/60077/4
Mu-Woong Lee [Tue, 23 Feb 2016 07:39:40 +0000 (16:39 +0900)]
Apply Tizen C++ coding style to json

Change-Id: Id0ba0cd402dba66666aaf220a0f46acc4ef08c59
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRe-implement namespace ctx::shared as class ctx::SharedVars 88/59788/3
Mu-Woong Lee [Thu, 18 Feb 2016 12:03:16 +0000 (21:03 +0900)]
Re-implement namespace ctx::shared as class ctx::SharedVars

Change-Id: I7fe4e6f35b83821ec453ed6fe4d22557ce7da558
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRemove dbus_client, request_handler, and response_handler 22/59622/1
Mu-Woong Lee [Wed, 17 Feb 2016 04:06:30 +0000 (13:06 +0900)]
Remove dbus_client, request_handler, and response_handler

Change-Id: I3732d26496b49def924a296431c4138f79286bb0
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoSplit libctx-common.so into libctx-shared.so & libctx-server.so 85/59585/1
Mu-Woong Lee [Tue, 16 Feb 2016 12:38:32 +0000 (21:38 +0900)]
Split libctx-common.so into libctx-shared.so & libctx-server.so

Change-Id: I5a67f5d9bbbb9a1176631553c57deedf3958f1ad
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoSupport custom items 48/57548/7
Somin Kim [Mon, 18 Jan 2016 07:38:30 +0000 (16:38 +0900)]
Support custom items
- error code, req type added
- unregister trigger item/provider added
- json valid() function added
- is_supported modified

Change-Id: I4af9c0fd64f80ab6302755b93572ab071a40f783
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoApply Tizen C++ coding style to the constructors of DBusSignalWatcher and EventDriven... 79/59379/1
Mu-Woong Lee [Mon, 15 Feb 2016 06:45:59 +0000 (15:45 +0900)]
Apply Tizen C++ coding style to the constructors of DBusSignalWatcher and EventDrivenThread

Change-Id: Ieb15edc04d64af46997e7af062c23d9362104303
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoApply Tizen C++ coding style to ScopeMutex 69/59369/1
Mu-Woong Lee [Mon, 15 Feb 2016 06:28:18 +0000 (15:28 +0900)]
Apply Tizen C++ coding style to ScopeMutex

Change-Id: Ib3ebc9403b78db108a57036dd4893d226cf0a57a
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoUpdate indentation of class IDBusSignalListener 06/59206/1
Mu-Woong Lee [Thu, 11 Feb 2016 10:16:42 +0000 (19:16 +0900)]
Update indentation of class IDBusSignalListener

Change-Id: If6c710e82457a3da16c6563ec35b9024ac1c9495
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 57/59157/1 accepted/tizen/ivi/20160218.023332 accepted/tizen/mobile/20160211.083520 accepted/tizen/tv/20160211.083538 accepted/tizen/wearable/20160211.083559 submit/tizen/20160211.055628 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002
Mu-Woong Lee [Thu, 11 Feb 2016 05:23:19 +0000 (14:23 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Version 0.7.2
  Cleanup compile warning flags
  Fix EventDrivenThread not to be blocked when stop() is called
  Add DBusSignalWatch & IDBusSignalListener, which replace dbus_server
  Code cleanup: EventDrivenThread
  Apply Tizen C++ coding style to EventDrivenThread

Change-Id: Iddb1ecf16678fd584f6c9671a017f5b7b808fc68
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoVersion 0.7.2 53/59153/1
Mu-Woong Lee [Thu, 11 Feb 2016 05:12:40 +0000 (14:12 +0900)]
Version 0.7.2

Change-Id: I23dc716d8c4ba6bae393db252471aa51623ad304
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoCleanup compile warning flags 45/59145/1
Mu-Woong Lee [Thu, 11 Feb 2016 04:36:18 +0000 (13:36 +0900)]
Cleanup compile warning flags

Change-Id: I3f35bb9ecbcfdc5cc1c7481bfb058c11fac91807
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoFix EventDrivenThread not to be blocked when stop() is called 53/58953/2
Mu-Woong Lee [Fri, 5 Feb 2016 09:05:23 +0000 (18:05 +0900)]
Fix EventDrivenThread not to be blocked when stop() is called

Change-Id: Ia480a64fb72956c6f5939a6aad85b1229d6aac3a
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd DBusSignalWatch & IDBusSignalListener, which replace dbus_server 25/58925/3
Mu-Woong Lee [Fri, 5 Feb 2016 05:25:33 +0000 (14:25 +0900)]
Add DBusSignalWatch & IDBusSignalListener, which replace dbus_server

Change-Id: Ibe9ad7c154d80c872b03ca1a2f78bd7a03d2d6b8
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoCode cleanup: EventDrivenThread 72/58872/1
Mu-Woong Lee [Thu, 4 Feb 2016 09:01:36 +0000 (18:01 +0900)]
Code cleanup: EventDrivenThread

Change-Id: I588f2b39c383dc154462399898a57717d02db462
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoApply Tizen C++ coding style to EventDrivenThread 84/58584/1
Mu-Woong Lee [Tue, 2 Feb 2016 05:50:27 +0000 (14:50 +0900)]
Apply Tizen C++ coding style to EventDrivenThread

Change-Id: I35e481db75d5bb329d72b68120ea5c646a6ac5e8
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 02/57102/1 accepted/tizen/mobile/20160118.044016 accepted/tizen/tv/20160118.044046 accepted/tizen/wearable/20160118.044106 submit/tizen/20160118.014643
Mu-Woong Lee [Fri, 15 Jan 2016 06:21:50 +0000 (15:21 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Add session & system dbus signal subscribing functions
  Version 0.7.0
  Add timer_util, timer_types

Change-Id: Ib31b91a159a38b09cbde5f8c8dcd70d49e0571ab
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd session & system dbus signal subscribing functions 24/57024/1
Mu-Woong Lee [Thu, 14 Jan 2016 11:01:33 +0000 (20:01 +0900)]
Add session & system dbus signal subscribing functions

Change-Id: I7765587f1a3c00f847d5522b21f8b0e156599df9
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoVersion 0.7.0 91/56691/1
Mu-Woong Lee [Tue, 12 Jan 2016 06:08:25 +0000 (15:08 +0900)]
Version 0.7.0

Change-Id: Iabf80f2a947b27ec0ab2db52604377a9b0a42ae8
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd timer_util, timer_types 52/56552/1
Mu-Woong Lee [Mon, 11 Jan 2016 07:07:05 +0000 (16:07 +0900)]
Add timer_util, timer_types

Change-Id: Ic51eb467c608b7b6c7b9d8b2e55524bb6f734773
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoJson modified 74/53874/1 accepted/tizen/mobile/20151222.224941 accepted/tizen/tv/20151222.224955 accepted/tizen/wearable/20151222.225028 submit/tizen/20151222.122953 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Somin Kim [Thu, 10 Dec 2015 02:51:12 +0000 (11:51 +0900)]
Json modified
- initialize member variables in all constructors
- 'array_set_at()' can assign different type of value

Change-Id: I613cff7fce361837a36562db97fc4ec786d64dca
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
9 years agoSync with Tizen 2.4 99/47699/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150909.141019 accepted/tizen/tv/20150909.140336 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 submit/tizen_mobile/20150909.085054 submit/tizen_tv/20150909.084931 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Mu-Woong [Tue, 8 Sep 2015 05:53:49 +0000 (14:53 +0900)]
Sync with Tizen 2.4

- Version 0.6.2
- Add GVariant get/set methods to ctx::json
- Add a global variable for wifi bssid
- Modify dlog tags

Change-Id: Iba2d680b1be6f9eae9dee43aa85e736f97c70ed4
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
9 years agoVersion 0.6.0 94/46194/1 accepted/tizen/mobile/20150818.040823 accepted/tizen/tv/20150818.040835 submit/tizen_mobile/20150818.030430 submit/tizen_tv/20150818.030444
Mu-Woong [Tue, 18 Aug 2015 02:52:42 +0000 (11:52 +0900)]
Version 0.6.0

Change-Id: I6d1c40c630351445cfac6ee37008d09603a24648
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
9 years agoSwitch to session dbus from system dbus 66/46166/2
Mu-Woong [Mon, 17 Aug 2015 11:28:02 +0000 (20:28 +0900)]
Switch to session dbus from system dbus

Change-Id: Iabe091d39efa95d6107eb53f47b919245644499d
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
9 years agoSync with Tizen 2.4 74/46174/1
Mu-Woong [Mon, 17 Aug 2015 12:56:52 +0000 (21:56 +0900)]
Sync with Tizen 2.4

- Add interface for adding trigger template at runtime
- Cleanup dlog tags
- Fix json assignment operator to handle NULL or empty string

Change-Id: I21b15244e1bb32089440dde75f7ad3ce494e716d
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
9 years agoMerge Version 0.5.5 89/45289/2 accepted/tizen/mobile/20150810.043504 accepted/tizen/tv/20150810.043541 submit/tizen_mobile/20150810.020750 submit/tizen_tv/20150810.020506
Mu-Woong [Tue, 4 Aug 2015 11:41:27 +0000 (20:41 +0900)]
Merge Version 0.5.5

- Remove request_handler::unsubscribe(int req_id) method

Change-Id: I6fdff185c4fad12f2ea07c4300bb52f182e6bfc4
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
9 years agoMerge changes from Tizen 2.4 69/44769/1
Mu-Woong [Mon, 27 Jul 2015 12:41:52 +0000 (21:41 +0900)]
Merge changes from Tizen 2.4

- Restructure provider interface to support on-demand provider object creation

Change-Id: I1c1ce93fc9b0a087c970e7b1aa63754ed3059b29
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
9 years agoVersion 0.5.3 44/44344/1 accepted/tizen/mobile/20150722.000946 accepted/tizen/tv/20150722.001045 submit/tizen_mobile/20150721.115234 submit/tizen_tv/20150721.114308
Mu-Woong [Tue, 21 Jul 2015 05:23:53 +0000 (14:23 +0900)]
Version 0.5.3

Change-Id: Ia5c3a843881de74858b09e0da955e80fe8433fb5
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
9 years agoRevert "Remove unused 'double' value manipulation functions from json" 43/44343/1
Mu-Woong [Tue, 21 Jul 2015 05:23:30 +0000 (14:23 +0900)]
Revert "Remove unused 'double' value manipulation functions from json"

This reverts commit 77175955f83f50bff31d307cbee3ffb4aafafa3d.

Change-Id: I75ad281d2c7a4aec179ca8aa59e0c4583efaf5fe
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
9 years agoRemove Vasum zone control code 42/44342/1
Mu-Woong [Tue, 21 Jul 2015 05:23:16 +0000 (14:23 +0900)]
Remove Vasum zone control code

Change-Id: Ieab35a7002068fb3bdff5a792ad3459fb66a324b
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>