Mu-Woong Lee [Tue, 3 May 2016 11:45:55 +0000 (20:45 +0900)]
Merge branch 'devel/tizen_3.0' into tizen
* devel/tizen_3.0:
Check null when TemplateManager is destroyed
Change-Id: I63eec4d9e7e50b127068ca559b8774e8523b6d9a
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Somin Kim [Tue, 3 May 2016 07:07:55 +0000 (16:07 +0900)]
Check null when TemplateManager is destroyed
Change-Id: I41ca5f871ceb03d8e4639b6ce4827131dbc3826d
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Mu-Woong Lee [Tue, 3 May 2016 01:51:49 +0000 (10:51 +0900)]
Merge branch 'devel/tizen_3.0' into tizen
* devel/tizen_3.0: (21 commits)
Version 0.8.0
Check if item is supported before template request
Prevent unloading non-unloadable providers
Switch to gmodule from linux dl functions
Implement PolicyRequest::getClient() member function
Monitor WiFi state continuously
Add some missing self-destruction scheduling points of ProviderHandler
Each provider handler is self-destructed if there is no remaining request
Disable launch-time loading of social stats logger & place detector
Add PolicyManager for enabling usage loggers at launch time
Apply on-demand loading of provider objects
Add library file list loader & statis trigger template loader
Apply launch-time loading routine for providers
Modify notification action behavior related to sound, vibration
Update License text
Disable TV profile build explicitly
Replace runtime-info and system-settings APIs with vconf to reduce memory consumption
Remove the lazy creation routine for context providers
Replace types_internal.h with Types.h
Replace db_manager with DatabaseManager
...
Change-Id: I4a7b8421576fadc7897cd2f5907fa34c6ba307a6
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 3 May 2016 01:33:26 +0000 (10:33 +0900)]
Version 0.8.0
Change-Id: Ia505598bc25ac80f66d9708d335d3a38781987ec
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Somin Kim [Mon, 2 May 2016 08:18:42 +0000 (17:18 +0900)]
Check if item is supported before template request
Change-Id: I27d14eebf3adbc6a2946a8c7a92392f0dd4fc2fa
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Mu-Woong Lee [Thu, 28 Apr 2016 08:59:23 +0000 (17:59 +0900)]
Prevent unloading non-unloadable providers
Change-Id: Ieaabddfac925042e8097a17c326c9262fe39329c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Mu-Woong Lee [Thu, 21 Apr 2016 05:19:15 +0000 (22:19 -0700)]
Merge "Update License text" into devel/tizen_3.0
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>
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>
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>
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>
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>
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>
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>
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>
Mu-Woong Lee [Fri, 8 Apr 2016 06:54:15 +0000 (15:54 +0900)]
Merge branch 'devel/tizen_3.0' into tizen
* devel/tizen_3.0:
Version 0.7.5
Apply journal_mode = WAL to the DB
Modified ContextManagerImpl according to provider initialization change
Modify some build optimization options
Apply Tizen C++ coding style to Request
Apply Tizen C++ coding style to context_mamanger_impl, provider(ProviderHandler)
Apply Tizen C++ coding style to Access Control
Apply Tizen C++ coding style to Context Trigger
Modified to add/remove a template synchronously after initialization
Version 0.7.3
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Conflicts:
packaging/context-service.spec
Change-Id: I433f47dab208ab4ae9379a9f0d3fe7f10f800fd5
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
(cherry picked from commit
6f624f3fba6ab0d213297bac9df0838f1db0d67f)
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>
Somin Kim [Wed, 9 Mar 2016 08:55:24 +0000 (17:55 +0900)]
Merge branch 'devel/tizen_3.0' into tizen
* devel/tizen_3.0:
Replace timer_manager & timer_util with TimerManager
Replace ctx::json with ctx:Json
Remove direct build dependency to context-common
Modified trigger to use package id for rule management - request get_app_id() removed
Modified template manager as singleton - rule_manager calls apply_templates() to synchronize template db
Modified to support custom item
Apply Tizen C++ coding style to the constructor of DBusServer
Replace scope_mutex with ScopeMutex
Remove dependency to libxml from CMakeLists
Change-Id: Ie25522bdbb3bbca9ba7405b2887180f684ffc2fd
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
(cherry picked from commit
88fcc3723dc725b09a3fe00cdf38526d748961fc)
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>
Mu-Woong Lee [Thu, 11 Feb 2016 05:25:34 +0000 (14:25 +0900)]
Merge branch 'devel/tizen_3.0' into tizen
* devel/tizen_3.0:
Version 0.7.2
Cleanup compile warning flags
Remove context-service.xml
Re-implement dbus_server_impl as DBusServer
Remove dependency to deprecated dbus_server
Apply Tizen C++ coding style to EventDrivenThread
Change-Id: I1527cc49fe421cdf9eddf033548f18170d3ca5fd
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
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>
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>
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>
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>
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>
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>
Mu-Woong Lee [Fri, 15 Jan 2016 06:33:56 +0000 (15:33 +0900)]
Merge branch 'devel/tizen_3.0' into tizen
* devel/tizen_3.0:
Implement session & system dbus signal subscribers
Postpone client requests delivered before the service is ready
Remove ecore handling routine as it is not used anymore
Fix issues detected by static program analysis
Version 0.7.0
Switch to use context-provider, instead of device, statistics, and place-context-providers
Removed clips dependency
Replace CLIPS with the internal rule evaluator
Modified to handle get template request - Added template manager
Fix operator error during time event handling
Modified cotext monitor as singleton
Removed time alarm, now item
Remove uninstalled creator's rule after event received
Remove unnecessary headers included
Arrange SQL query string in rule manager
Added context_fact_types.h
Timer related items are recovered. Double quotations around comparison string are removed.
Modified to read conditions aynchronously
Added trigger rule class. - Removed script generator, clips handler. - Timer event/condition not working - Condition not working
Modified Context Trigger to run on the main thread. (Removed fact_reader)
Change-Id: I6fc4badc0d219efe722b70a0d8ab376c67b574dc
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>