platform/core/context/context-service.git
8 years agoSwitch to gmodule from linux dl functions 55/67755/2
Mu-Woong Lee [Thu, 28 Apr 2016 07:31:05 +0000 (16:31 +0900)]
Switch to gmodule from linux dl functions

Change-Id: I09541f9cf01581796a6b724287e4e7b6a1953b76
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoImplement PolicyRequest::getClient() member function 18/67718/1
Mu-Woong Lee [Thu, 28 Apr 2016 06:33:19 +0000 (15:33 +0900)]
Implement PolicyRequest::getClient() member function

It should not return NULL.

Change-Id: I9bb2508937aad266a8c9cd73a22dcced89856de2
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMonitor WiFi state continuously 17/67717/1
Mu-Woong Lee [Thu, 28 Apr 2016 06:31:50 +0000 (15:31 +0900)]
Monitor WiFi state continuously

For usage logging, the current WiFi address needs to be tracked continuously.

Change-Id: I1b584cb86db2a1ef1c2ff97d0a49e4e923fabc3f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd some missing self-destruction scheduling points of ProviderHandler 02/67702/1
Mu-Woong Lee [Thu, 28 Apr 2016 05:52:44 +0000 (14:52 +0900)]
Add some missing self-destruction scheduling points of ProviderHandler

Change-Id: I4ba6c014f5d4f6341c481b1f93541a1041c44f7f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoEach provider handler is self-destructed if there is no remaining request 72/67672/1
Mu-Woong Lee [Thu, 28 Apr 2016 02:56:00 +0000 (11:56 +0900)]
Each provider handler is self-destructed if there is no remaining request

Change-Id: I688b0bd36cd56eb91e754d2a5acd55ab14996557
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoDisable launch-time loading of social stats logger & place detector 83/67583/1
Mu-Woong Lee [Wed, 27 Apr 2016 09:40:14 +0000 (18:40 +0900)]
Disable launch-time loading of social stats logger & place detector

Change-Id: I361c68a50ce67a3afbb04fab259bad9f9b5b67f5
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd PolicyManager for enabling usage loggers at launch time 60/67560/1
Mu-Woong Lee [Wed, 27 Apr 2016 08:20:37 +0000 (17:20 +0900)]
Add PolicyManager for enabling usage loggers at launch time

Change-Id: I754e7962f88b65f61a41d5c644d2a4b19d2ded38
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoApply on-demand loading of provider objects 11/67311/4
Mu-Woong Lee [Tue, 26 Apr 2016 08:10:28 +0000 (17:10 +0900)]
Apply on-demand loading of provider objects

This patch only allows on-demand loading & creation of providers.
'destroy-on-idle' logic also needs to be implemented.

Plus, implicit dummy subscribers for the data loggers need to be implemented.

Change-Id: Id97871568d97d832b281c2c531af8495ce29f373
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd library file list loader & statis trigger template loader 35/67235/4
Mu-Woong Lee [Tue, 26 Apr 2016 02:55:20 +0000 (11:55 +0900)]
Add library file list loader & statis trigger template loader

Change-Id: I69796755f74e443d83b4a633614832706c8c2c0f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoApply launch-time loading routine for providers 92/67092/5
Mu-Woong Lee [Mon, 25 Apr 2016 07:17:30 +0000 (16:17 +0900)]
Apply launch-time loading routine for providers

It will be modified to load only the necessary providers on demand.

Change-Id: I81f622c42dd3ae5d0615feb2aa1592006e67c6f0
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMerge "Update License text" into devel/tizen_3.0
Mu-Woong Lee [Thu, 21 Apr 2016 05:19:15 +0000 (22:19 -0700)]
Merge "Update License text" into devel/tizen_3.0

8 years agoModify notification action behavior related to sound, vibration 01/66701/3
Somin Kim [Wed, 20 Apr 2016 08:21:05 +0000 (17:21 +0900)]
Modify notification action behavior related to sound, vibration

Change-Id: I95f501065cb473d6de011aa2d9fa1fe08a2bcd7a
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoUpdate License text 06/66706/1
Mu-Woong Lee [Wed, 20 Apr 2016 11:12:48 +0000 (20:12 +0900)]
Update License text

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

Change-Id: Ied7fcbdd1a584a9c1d4b99ef294b7febf9260e97
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoReplace runtime-info and system-settings APIs with vconf to reduce memory consumption 89/66489/1
Mu-Woong Lee [Tue, 19 Apr 2016 07:24:03 +0000 (16:24 +0900)]
Replace runtime-info and system-settings APIs with vconf to reduce memory consumption

Change-Id: If4dc0a132608bec3c610fafca5a9072fa777b65b
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRemove the lazy creation routine for context providers 66/66266/5
Mu-Woong Lee [Mon, 18 Apr 2016 06:25:28 +0000 (15:25 +0900)]
Remove the lazy creation routine for context providers

Change-Id: Ie8bc5c7ddb1832a86e2db4c9eec1eb3f1fda6fa1
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoReplace types_internal.h with Types.h 01/66101/1
Mu-Woong Lee [Fri, 15 Apr 2016 07:27:43 +0000 (16:27 +0900)]
Replace types_internal.h with Types.h

Change-Id: I42b9cacfbb60b628402419bd868555a670ecbf65
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoReplace db_manager with DatabaseManager 05/66005/1
Mu-Woong Lee [Thu, 14 Apr 2016 12:17:57 +0000 (21:17 +0900)]
Replace db_manager with DatabaseManager

Change-Id: I4f6efffa42131858d757236543579a27138949f8
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoApplying Tizen C++ coding style to Server 52/65652/1
Somin Kim [Tue, 12 Apr 2016 04:41:55 +0000 (13:41 +0900)]
Applying Tizen C++ coding style to Server

Change-Id: If087f170d7958ffdd1ed3b1b6761b7a81ccb9d75
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoVersion 0.7.5 07/65207/1
Somin Kim [Fri, 8 Apr 2016 01:53:52 +0000 (10:53 +0900)]
Version 0.7.5

Change-Id: Ieba387b93a31816a8cbd506c7d28805190549dd8
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoApply journal_mode = WAL to the DB 00/65100/1
Mu-Woong Lee [Thu, 7 Apr 2016 08:15:46 +0000 (17:15 +0900)]
Apply journal_mode = WAL to the DB

Change-Id: I1c59e3cd255167b8657f98e03032f1e6c47d5d09
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoModified ContextManagerImpl according to provider initialization change 70/64870/1
Somin Kim [Wed, 6 Apr 2016 02:18:20 +0000 (11:18 +0900)]
Modified ContextManagerImpl according to provider initialization change

Change-Id: Ia65ba8aaf108e28462a8b54e16f2e98bbd7ba220
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoModify some build optimization options 22/64622/1
Mu-Woong Lee [Mon, 4 Apr 2016 08:28:25 +0000 (17:28 +0900)]
Modify some build optimization options

Change-Id: Ia41436b97d09fdb8ac223d319bc350ba2712fb1a
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoApply Tizen C++ coding style to Request 01/64601/1
Somin Kim [Mon, 4 Apr 2016 06:16:09 +0000 (15:16 +0900)]
Apply Tizen C++ coding style to Request

Change-Id: Id9a84a7c8804fad2acd3bbb6d78f93f0e2046899
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoApply Tizen C++ coding style to context_mamanger_impl, provider(ProviderHandler) 99/64599/1
Somin Kim [Mon, 4 Apr 2016 05:40:57 +0000 (14:40 +0900)]
Apply Tizen C++ coding style to context_mamanger_impl, provider(ProviderHandler)

Change-Id: If8fa689ccd04851ff53ff433afd5fad2fce7335d
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoApply Tizen C++ coding style to Access Control 95/64395/4
Somin Kim [Fri, 1 Apr 2016 02:47:25 +0000 (11:47 +0900)]
Apply Tizen C++ coding style to Access Control

Change-Id: Ieb065f8f088a87cb616dd4057a418be97e25cd58
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoApply Tizen C++ coding style to Context Trigger 61/64261/3
Somin Kim [Thu, 31 Mar 2016 05:23:00 +0000 (14:23 +0900)]
Apply Tizen C++ coding style to Context Trigger

Change-Id: I4a965f384b44f5c0507f2bd316a7ca65f77b2704
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoModified to add/remove a template synchronously after initialization 08/63308/2
Somin Kim [Wed, 23 Mar 2016 05:05:25 +0000 (14:05 +0900)]
Modified to add/remove a template synchronously after initialization

Change-Id: I8187258c689b890df5a754d8f7c35a2c6835f496
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoVersion 0.7.3 19/62019/1
Somin Kim [Mon, 14 Mar 2016 01:46:33 +0000 (10:46 +0900)]
Version 0.7.3

Change-Id: Ic8d0af6c7dae90d618b0ff2d81269da4a829d73b
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoReplace timer_manager & timer_util with TimerManager 03/60203/2
Mu-Woong Lee [Wed, 24 Feb 2016 06:31:53 +0000 (15:31 +0900)]
Replace timer_manager & timer_util with TimerManager

Change-Id: I7864674c5c166a530c10817dbb735fe80d6b120e
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoReplace ctx::json with ctx:Json 79/60079/1
Mu-Woong Lee [Tue, 23 Feb 2016 07:41:00 +0000 (16:41 +0900)]
Replace ctx::json with ctx:Json

Change-Id: I78ac7a0ca09bd33eaa15bba0a2eb901a7654c45c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRemove direct build dependency to context-common 88/59588/2
Mu-Woong Lee [Tue, 16 Feb 2016 12:42:52 +0000 (21:42 +0900)]
Remove direct build dependency to context-common

Change-Id: Ic30f4d5eac378cfd8819ca0b76eb43954637121a
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoModified trigger to use package id for rule management 33/59433/1
Somin Kim [Mon, 15 Feb 2016 11:13:21 +0000 (20:13 +0900)]
Modified trigger to use package id for rule management
- request get_app_id() removed

Change-Id: Iaef20e72b9a13974bc5ec246e461a9db99589e2b
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoModified template manager as singleton 58/58558/5
Somin Kim [Mon, 1 Feb 2016 12:06:11 +0000 (21:06 +0900)]
Modified template manager as singleton
- rule_manager calls apply_templates() to synchronize template db

Change-Id: I9b3b5d7fac7d78f61c15f3ae660a63d92be72494
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoModified to support custom item 71/57571/8
Somin Kim [Thu, 21 Jan 2016 05:08:15 +0000 (14:08 +0900)]
Modified to support custom item

Change-Id: I7bce0422916ae89749a41ea5586cebb5c14d490d
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoApply Tizen C++ coding style to the constructor of DBusServer 80/59380/1
Mu-Woong Lee [Mon, 15 Feb 2016 06:47:15 +0000 (15:47 +0900)]
Apply Tizen C++ coding style to the constructor of DBusServer

Change-Id: Id7d43bc03e5552322d28ea9d7b5cbd4ebc0b49ee
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoReplace scope_mutex with ScopeMutex 74/59374/1
Mu-Woong Lee [Mon, 15 Feb 2016 06:30:19 +0000 (15:30 +0900)]
Replace scope_mutex with ScopeMutex

Change-Id: Ibe0984d80afee1c680568e038a4feedd0826a2bf
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRemove dependency to libxml from CMakeLists 62/59162/1
Mu-Woong Lee [Thu, 11 Feb 2016 05:36:38 +0000 (14:36 +0900)]
Remove dependency to libxml from CMakeLists

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

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

Change-Id: I7710fdf0b9c8f83884182f4590b13c48660cd551
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRemove context-service.xml 41/59141/1
Mu-Woong Lee [Thu, 11 Feb 2016 04:14:15 +0000 (13:14 +0900)]
Remove context-service.xml

Change-Id: I6d103ba6306ac48fc5ec4565bae1543a0d44b944
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRe-implement dbus_server_impl as DBusServer 57/58957/4
Mu-Woong Lee [Fri, 5 Feb 2016 09:33:10 +0000 (18:33 +0900)]
Re-implement dbus_server_impl as DBusServer

Change-Id: I74fa34f995ca854cd1a91f7919deef048c9d332d
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRemove dependency to deprecated dbus_server 30/58930/2
Mu-Woong Lee [Fri, 5 Feb 2016 05:49:11 +0000 (14:49 +0900)]
Remove dependency to deprecated dbus_server

Change-Id: I3b656e458bb25eaecfb95521f8e4619c5af70fad
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoApply Tizen C++ coding style to EventDrivenThread 92/58592/1
Mu-Woong Lee [Tue, 2 Feb 2016 06:15:59 +0000 (15:15 +0900)]
Apply Tizen C++ coding style to EventDrivenThread

Change-Id: I6d472742320351ecab16847a1c2476f3eceab221
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoImplement session & system dbus signal subscribers 22/57022/1
Mu-Woong Lee [Thu, 14 Jan 2016 11:04:43 +0000 (20:04 +0900)]
Implement session & system dbus signal subscribers

Change-Id: I95e5a46626d14575c7270f1ace34699cea539512
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoPostpone client requests delivered before the service is ready 93/56993/1
Mu-Woong Lee [Thu, 14 Jan 2016 07:21:28 +0000 (16:21 +0900)]
Postpone client requests delivered before the service is ready

Change-Id: I3fbfebe4fe914e042caa3ee41d0cf5e1e17b2a1b
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMerge "Remove ecore handling routine as it is not used anymore" into devel/tizen_3.0
Mu-Woong Lee [Thu, 14 Jan 2016 06:59:09 +0000 (22:59 -0800)]
Merge "Remove ecore handling routine as it is not used anymore" into devel/tizen_3.0

8 years agoRemove ecore handling routine as it is not used anymore 89/56989/1
Mu-Woong Lee [Thu, 14 Jan 2016 06:49:28 +0000 (15:49 +0900)]
Remove ecore handling routine as it is not used anymore

Change-Id: Icf5428190ccf6b50ddec9eb89b6b055893e85337
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoFix issues detected by static program analysis 77/56977/1
Mu-Woong Lee [Thu, 14 Jan 2016 05:22:55 +0000 (14:22 +0900)]
Fix issues detected by static program analysis

Change-Id: I55a5acda76b9a6dc22a9f3c695098db966bee3bf
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoVersion 0.7.0 93/56693/1
Mu-Woong Lee [Tue, 12 Jan 2016 06:10:32 +0000 (15:10 +0900)]
Version 0.7.0

Change-Id: I8ddefda57b6f737dcfeef189f21219e68e4cd658
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoSwitch to use context-provider, instead of device, statistics, and place-context... 37/56637/1
Mu-Woong Lee [Mon, 11 Jan 2016 13:38:55 +0000 (22:38 +0900)]
Switch to use context-provider, instead of device, statistics, and place-context-providers

Change-Id: I675a18e8a8b153f0dc1301c6347be34425dd3338
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRemoved clips dependency 04/56604/1
Somin Kim [Mon, 11 Jan 2016 09:45:50 +0000 (18:45 +0900)]
Removed clips dependency

Change-Id: I013a0bfd6ad0fe4a63932946800f572dac7f95d9
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoReplace CLIPS with the internal rule evaluator 02/56602/1
Somin Kim [Mon, 11 Jan 2016 09:38:57 +0000 (18:38 +0900)]
Replace CLIPS with the internal rule evaluator

Change-Id: Ic1cb589030b8660150114fa5194734c8233ebe0c
Signed-off-by: kunal <kunal.chawla@samsung.com>
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoModified to handle get template request 01/56601/1
Somin Kim [Mon, 11 Jan 2016 09:38:19 +0000 (18:38 +0900)]
Modified to handle get template request
- Added template manager

Change-Id: I1f820c30a02dcb4a5e7f71fcc317e455f54ecc2b
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoFix operator error during time event handling 00/56600/1
Somin Kim [Mon, 11 Jan 2016 09:36:47 +0000 (18:36 +0900)]
Fix operator error during time event handling

- https://review.tizen.org/gerrit/#/c/56584/
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Change-Id: I2e845e54f086e577dc3c7d3e60f70d3efefd69bd

8 years agoModified cotext monitor as singleton 99/56599/1
Somin Kim [Mon, 11 Jan 2016 09:36:03 +0000 (18:36 +0900)]
Modified cotext monitor as singleton

Change-Id: I80745645ccab43e619bd23854de34be1449bfad7
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoRemoved time alarm, now item 97/56597/1
Somin Kim [Mon, 11 Jan 2016 09:35:07 +0000 (18:35 +0900)]
Removed time alarm, now item

Change-Id: Icdcd025d9adaf8f2e826057df220f0f7b1e6d68e
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoRemove uninstalled creator's rule after event received 96/56596/1
Somin Kim [Mon, 11 Jan 2016 09:34:49 +0000 (18:34 +0900)]
Remove uninstalled creator's rule after event received

Change-Id: I1e0d31045f394806cd8747aa84dcd84f78be3bce
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoRemove unnecessary headers included 95/56595/1
Somin Kim [Mon, 11 Jan 2016 09:34:19 +0000 (18:34 +0900)]
Remove unnecessary headers included

Change-Id: I2febe57c8d2106ee62cbad21cd1219727ba60903
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoArrange SQL query string in rule manager 94/56594/1
Somin Kim [Mon, 11 Jan 2016 09:33:57 +0000 (18:33 +0900)]
Arrange SQL query string in rule manager

Change-Id: I39d451ee3eaec33e4a8d8170270bb22aabbfc628
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoAdded context_fact_types.h 93/56593/1
Somin Kim [Mon, 11 Jan 2016 09:32:59 +0000 (18:32 +0900)]
Added context_fact_types.h

Change-Id: Ia0483c06d93d08007d8f02b93202faf298a21b33
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoTimer related items are recovered. Double quotations around comparison string are... 91/56591/1
Somin Kim [Mon, 11 Jan 2016 09:32:33 +0000 (18:32 +0900)]
Timer related items are recovered. Double quotations around comparison string are removed.

Change-Id: I21af99d64aaace06bc3e51626ef938ba4206e2a0
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoModified to read conditions aynchronously 89/56589/1
Somin Kim [Mon, 11 Jan 2016 09:32:03 +0000 (18:32 +0900)]
Modified to read conditions aynchronously

Change-Id: Ib85e46bb5184d91d52a08daafc36c5a3b24189a2
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoAdded trigger rule class. 88/56588/1
Somin Kim [Mon, 11 Jan 2016 09:31:25 +0000 (18:31 +0900)]
Added trigger rule class.
- Removed script generator, clips handler.
- Timer event/condition not working
- Condition not working

Change-Id: I7e22e692825f7ddf25539d583d10389428cc2471
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoModified Context Trigger to run on the main thread. (Removed fact_reader) 87/56587/1
Somin Kim [Mon, 11 Jan 2016 09:30:12 +0000 (18:30 +0900)]
Modified Context Trigger to run on the main thread. (Removed fact_reader)

Change-Id: I6225ba5e7bcec8dc1a8760832d7c75656e2b793e
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoRemove dependency to sys-assert 03/55703/1 accepted/tizen/mobile/20151229.071103 accepted/tizen/tv/20151229.071119 accepted/tizen/wearable/20151229.071141 submit/tizen/20151229.011751
Mu-Woong Lee [Tue, 29 Dec 2015 01:11:07 +0000 (10:11 +0900)]
Remove dependency to sys-assert

Change-Id: I3edb28308d5dd8a7c46345a33188025413d74817
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoSplit context_manager into context_manager & context_provider_handler 81/49981/1 accepted/tizen/mobile/20151222.224946 accepted/tizen/tv/20151222.224959 accepted/tizen/wearable/20151222.225032 submit/tizen/20151222.122953 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Mu-Woong [Wed, 21 Oct 2015 12:14:58 +0000 (21:14 +0900)]
Split context_manager into context_manager & context_provider_handler

Change-Id: Id8c63bfc4bd5739e09faaf84d48fed7d3666e020
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoApply Cynara 69/49769/1
Mu-Woong [Tue, 20 Oct 2015 06:26:00 +0000 (15:26 +0900)]
Apply Cynara

Change-Id: If49547cd2ac7a419ef860f4d976bca9128947ecd
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoRestructure peer credentialing routine to support Cynara 62/49762/1
Mu-Woong [Tue, 20 Oct 2015 05:40:13 +0000 (14:40 +0900)]
Restructure peer credentialing routine to support Cynara

Change-Id: Ice4e35f9c4152391ca362ba715d6cbd38ae8d44e
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoFix a dlog tag to print DB row_id properly 53/49753/1
Mu-Woong [Tue, 20 Oct 2015 04:33:31 +0000 (13:33 +0900)]
Fix a dlog tag to print DB row_id properly

Change-Id: Iccf03744c854cf78b31b4a5e185daefbf43fe2be
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoSimplify db_manager's sync query execution routine 52/49752/1
Mu-Woong [Tue, 20 Oct 2015 04:32:04 +0000 (13:32 +0900)]
Simplify db_manager's sync query execution routine

Naive locking mechanism is used instead of condition variables.

Change-Id: Icd6c3ca2ae61900169bebafda7716f4c4c19cef9
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agotrigger: remove timer control impl from context_monitor 51/49751/1
Mu-Woong [Tue, 20 Oct 2015 04:31:45 +0000 (13:31 +0900)]
trigger: remove timer control impl from context_monitor

Change-Id: I3bfe1a155909d1ebbbb3b6a82809dc3cb40580fa
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoMerge changes from Tizen 2.4 (Version 0.6.3) 45/48645/1
Mu-Woong [Thu, 24 Sep 2015 06:10:58 +0000 (15:10 +0900)]
Merge changes from Tizen 2.4 (Version 0.6.3)

- Modified to turn on display when rule is triggered

Change-Id: I47279fc481398e5be5fdc22531dd39463971b33f
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoVersion 0.6.2 25/47725/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150909.141022 accepted/tizen/tv/20150909.140338 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
Somin Kim [Tue, 8 Sep 2015 07:23:25 +0000 (16:23 +0900)]
Version 0.6.2

Change-Id: I2c2b484c7fc3f0fc93350bf270785f7bfdcb72f2
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoModify trigger to accept GVariant as dbus call action's parameter 24/47724/1
Somin Kim [Tue, 8 Sep 2015 07:22:52 +0000 (16:22 +0900)]
Modify trigger to accept GVariant as dbus call action's parameter

Change-Id: Ibf6308ec0ba94ff2b71defe8691aa0bdec13879f
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoRemove/modify dlog tags 23/47723/1
Somin Kim [Tue, 8 Sep 2015 07:22:33 +0000 (16:22 +0900)]
Remove/modify dlog tags

Change-Id: I078e72946e7cf89f054e244fd6b221a012b808fa
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoFix dbus conf to allow user processes' method calls 41/47641/1 accepted/tizen/mobile/20150907.123255 accepted/tizen/tv/20150907.123436 submit/tizen_mobile/20150907.105247 submit/tizen_tv/20150907.105226
Mu-Woong [Mon, 7 Sep 2015 10:46:48 +0000 (19:46 +0900)]
Fix dbus conf to allow user processes' method calls

Change-Id: Ia853effa8c3accc8d036879b928c94c8a2c094e1
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoFix dbus conf file to be launchable on smack-enabled target 02/47602/1 accepted/tizen/mobile/20150907.050100 accepted/tizen/tv/20150907.050201 submit/tizen_mobile/20150907.031618 submit/tizen_tv/20150907.031557
Mu-Woong [Mon, 7 Sep 2015 03:10:17 +0000 (12:10 +0900)]
Fix dbus conf file to be launchable on smack-enabled target

Change-Id: I9601e71958a784e2a5af38e6a3269ecbe3c4a541
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoVersion 0.6.0 99/46199/1 accepted/tizen/mobile/20150818.040827 accepted/tizen/tv/20150818.040839 submit/tizen_mobile/20150818.030430 submit/tizen_tv/20150818.030444
Mu-Woong [Tue, 18 Aug 2015 02:54:59 +0000 (11:54 +0900)]
Version 0.6.0

Change-Id: Ib48cd16acd0a230bbbd5d3c0cedd61c233bc1477
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoEnable app manifest file 93/46193/1
Mu-Woong [Tue, 18 Aug 2015 02:34:33 +0000 (11:34 +0900)]
Enable app manifest file

Change-Id: I95c2a80348ca1ab088d1ca7d5d0548801ea3138b
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoSwitch to user-session daemon 80/46180/2
Mu-Woong [Mon, 17 Aug 2015 13:13:59 +0000 (22:13 +0900)]
Switch to user-session daemon

Change-Id: Iccc348aa4384817cbf76304587e9b7446c54ddb3
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoSync with Tizen 2.4 79/46179/1
Mu-Woong [Mon, 17 Aug 2015 13:00:42 +0000 (22:00 +0900)]
Sync with Tizen 2.4

- Modified to use new template format
- Add SIGABRT to the signal handler
- Add basic working flow for adding trigger templates at runtime
- Cleanup trigger event/condition item names
- Clear uninstalled apps' rules(during initialization, after rule triggered)
- Modified to update description when adding identical rule(except description) is requested
- Fix error of rule action comparison

Change-Id: Ia3d46e3e1b21e07e29e21c1ce9c344df99cc3298
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoMerge Version 0.5.5 96/45296/1 accepted/tizen/mobile/20150810.043507 accepted/tizen/tv/20150810.043545 submit/tizen_mobile/20150810.020750 submit/tizen_tv/20150810.020506
Mu-Woong [Tue, 4 Aug 2015 12:14:57 +0000 (21:14 +0900)]
Merge Version 0.5.5

- Modified dbmgr to escape "'\ while insertion
- Fix get_provider() to skip trigger's permission check
- Add dbus call action handling routine to trigge
- Add 'app_id' member variable to the client request class
- Add util functions for dbus service activation
- Modify trigger fact_reader's unsubscribe function to require 'subject'

Change-Id: I7baa8c4291efe90f5883f9a2c3b124ff5c92f182
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoMerge changes from Tizen 2.4 73/44773/1
Mu-Woong [Mon, 27 Jul 2015 12:49:08 +0000 (21:49 +0900)]
Merge changes from Tizen 2.4

- Replace conf-file-based privilege checker with runtime-registration-based
- Remove ambiguity of app_id and client in request classes
- Update context-manager to support the on-demand provider object creation routine
- Modified script generator to assign null when some attributes of a condition is missing

Change-Id: I0943e6df4ac631fd6dd01550e13578ea7740c22e
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoIntegrate changes from Tizen 2.4 (Version 0.5.3) 62/44362/1 accepted/tizen/mobile/20150722.000950 accepted/tizen/tv/20150722.001048 submit/tizen_mobile/20150721.115234 submit/tizen_tv/20150721.114308
Mu-Woong [Tue, 21 Jul 2015 06:33:05 +0000 (15:33 +0900)]
Integrate changes from Tizen 2.4 (Version 0.5.3)

- Remove Vasum zone control code
- Assign null to clips_h while initialization
- Removed unnecessary logs and modified invalid log tag
- Modified to construct clips handler instanece only when at least one enabled rule exists

Change-Id: I6bf048441161aee5ee50d5d55f43bf4db9fe666e
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoRefactor request assignment routine 66/43666/1 accepted/tizen/mobile/20150713.111145 accepted/tizen/tv/20150713.111028 submit/tizen_mobile/20150713.082301 submit/tizen_tv/20150713.082057
Mu-Woong [Mon, 13 Jul 2015 05:53:46 +0000 (14:53 +0900)]
Refactor request assignment routine

Change-Id: I78ba56240d26bc3cc91d5bb18b9fa4023a6281d5
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoUpdate date of all license boilerplate 65/43665/1
Mu-Woong [Mon, 13 Jul 2015 05:53:24 +0000 (14:53 +0900)]
Update date of all license boilerplate

Change-Id: I7afb72265f22fbba13808ce13925ecaf9b18da42
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoFix the manifest/service/spec files regarding 3.0's security policy 00/42700/1 accepted/tizen/mobile/20150708.020032 accepted/tizen/tv/20150708.020151 submit/tizen_mobile/20150707.222741 submit/tizen_tv/20150707.222749
Mu-Woong [Wed, 1 Jul 2015 13:25:17 +0000 (22:25 +0900)]
Fix the manifest/service/spec files regarding 3.0's security policy

Change-Id: I9d38ce34e6af7c4ac30d7630878cd74d56c46008
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoAdd systemd conf file for dbus daemon 12/42612/1 accepted/tizen/mobile/20150701.001807 accepted/tizen/tv/20150701.001819 submit/tizen_mobile/20150630.143244 submit/tizen_tv/20150630.143515
Mu-Woong [Tue, 30 Jun 2015 13:43:05 +0000 (22:43 +0900)]
Add systemd conf file for dbus daemon

Change-Id: Ie6579e5bc59937a57ba0f23faeec4bad58cf7504
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoRemove unused dbus service conf 89/42589/1
Mu-Woong [Tue, 30 Jun 2015 11:01:40 +0000 (20:01 +0900)]
Remove unused dbus service conf

Change-Id: I0f77d557a43ed3e317c7edd2d327cc6032e6cbc6
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoAdd chsmack command for db file smack labeling 51/42551/1
Mu-Woong [Tue, 30 Jun 2015 02:40:06 +0000 (11:40 +0900)]
Add chsmack command for db file smack labeling

Change-Id: Ieae55c393b00b5974086a38cf61ed4ff2d63722f
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoCleanup the build script 11/42511/1
Mu-Woong [Mon, 29 Jun 2015 12:07:03 +0000 (21:07 +0900)]
Cleanup the build script

Change-Id: I33269379c50adc6bf9e57b4a9c36e414fd7ee0e5
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoSwitch from ecore mainloop to g mainloop 98/42498/1
Mu-Woong [Mon, 29 Jun 2015 10:02:37 +0000 (19:02 +0900)]
Switch from ecore mainloop to g mainloop

Change-Id: Ifa8dffac3d415f4147b2539018101a20633be996
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoDisable security-server based privilege checker 96/42496/1
Mu-Woong [Mon, 29 Jun 2015 09:59:35 +0000 (18:59 +0900)]
Disable security-server based privilege checker

Change-Id: I01f622294af11f32eb8d4a025d85878f2ecb74e0
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoIntegrate changes from Tizen 2.4 86/42486/1
Mu-Woong [Mon, 29 Jun 2015 09:32:29 +0000 (18:32 +0900)]
Integrate changes from Tizen 2.4

- Add a smack rule for security API
- Fix the prevent issue 451595
- Add a missing smack rule, media-data::cb
- Remove mediahistory.admin privilege entries
- Modify launching sequence.
- Break the dependency to context-internal, which is removed from the snapshot.
- Replace deprecated privilege checker API with security server
- Update smack & privilege w.r.t. security and pkgmgr
- Remove a smack rule 'ail::db'
- Switch to ecore mainloop to support ecore event handling

Change-Id: Ib21644a3466c54212b73c3b1bdb5d7cdd5570cf1
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoSync with Tizen 2.4 89/41989/2
Mu-Woong [Fri, 19 Jun 2015 12:53:30 +0000 (21:53 +0900)]
Sync with Tizen 2.4

Change-Id: Ibafb888f85c3d7fe7f85f2baaaf0fa135b7e798d
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoRemove redundant dependency to pkgmgr-info 06/41406/1
Mu-Woong [Mon, 15 Jun 2015 06:43:01 +0000 (15:43 +0900)]
Remove redundant dependency to pkgmgr-info

Change-Id: I0fedf4545cf1a62c3bcc98c3f3155a37c8ff9c7b
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoApply Cynara gdbus peer credentials 00/41400/1
Mu-Woong [Mon, 15 Jun 2015 05:56:30 +0000 (14:56 +0900)]
Apply Cynara gdbus peer credentials

Change-Id: Ib366e1a45d4fcafd98ed76c84d746876ef9a26e7
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoDisable vasum-related features 91/41391/1
Mu-Woong [Mon, 15 Jun 2015 03:51:47 +0000 (12:51 +0900)]
Disable vasum-related features

Change-Id: I85a064c053eb2313dddef1cae30f91ce1002b617
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoMigrate from 2.4 code repo 87/41387/1
Mu-Woong [Mon, 15 Jun 2015 02:46:19 +0000 (11:46 +0900)]
Migrate from 2.4 code repo

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