platform/core/api/context.git
8 years agoAdded a space between literal and string based on C++11 18/61318/1
Somin Kim [Mon, 7 Mar 2016 09:01:57 +0000 (18:01 +0900)]
Added a space between literal and string based on C++11

Change-Id: If6af56f71ffe2f9d0d0f7c82374b836c02c70ce4
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoAdd testcases for trigger time event/condition 37/60337/2
Mu-Woong Lee [Thu, 25 Feb 2016 06:11:46 +0000 (15:11 +0900)]
Add testcases for trigger time event/condition

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

Change-Id: I63da446738ac26ce2673e97ce1131b8c59756f65
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd DBusClient & IDBusClientListener 48/59648/2
Mu-Woong Lee [Wed, 17 Feb 2016 06:20:20 +0000 (15:20 +0900)]
Add DBusClient & IDBusClientListener

They replace the former request_handler implemented in context-common.
Note that, request_handler is now just a wrapper between DBusClient and each API, thus it will be removed later.

Change-Id: If62abfbced70cb93ad8178796f7b70035e1ec2fc
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoReplace build dependency context-common with libcontext-shared 86/59586/3
Mu-Woong Lee [Tue, 16 Feb 2016 12:40:10 +0000 (21:40 +0900)]
Replace build dependency context-common with libcontext-shared

Change-Id: I71f1ecd1b64373ced8d090e50c54147b04692bd1
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdded API for custom items 69/57569/8
Somin Kim [Thu, 21 Jan 2016 05:22:15 +0000 (14:22 +0900)]
Added API for custom items
- add_custom_item(), remove_custom_item(), publish_custom_data()
- context_trigger_enable_rule() will return NOT_SUPPORTED

Change-Id: I88d232f2ef4af59a5fcbb510f0192bd84ad4e0f4
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoVersion 0.7.2 54/59154/1
Mu-Woong Lee [Thu, 11 Feb 2016 05:13:27 +0000 (14:13 +0900)]
Version 0.7.2

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

Change-Id: If3eb285df3662b0908917e75cbd40aee9f250e38
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoImport the command-line testsuite from 2.4 37/58937/1
Mu-Woong Lee [Fri, 5 Feb 2016 07:15:02 +0000 (16:15 +0900)]
Import the command-line testsuite from 2.4

Change-Id: I02e5a7b5cf719caa1fa6df735c96a0e59a3a525b
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoVersion 0.7.0 92/56692/1
Mu-Woong Lee [Tue, 12 Jan 2016 06:09:03 +0000 (15:09 +0900)]
Version 0.7.0

Change-Id: I9c28bcc62586de9af2f944c0bab0e9268ae8abe3
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRule validation changed 85/56585/1
Somin Kim [Mon, 11 Jan 2016 09:08:16 +0000 (18:08 +0900)]
Rule validation changed
- _event_create(), condition_create() will return NOT_SUPPORTED
- Only needed template information will be requested
- Removed integer type of attribute/option definition

Change-Id: I619c09cdbb89dec4ef6af223228c0aa41de1fb66
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoArranged operator related. 84/56584/1
Somin Kim [Mon, 11 Jan 2016 09:07:31 +0000 (18:07 +0900)]
Arranged operator related.
- ==, != won't be converted to eq, neq
- operator validity check function added

Change-Id: I183127c71249a720e493b47bb04a668f4b0185de
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoModified template format in rule_info to match server-side template style 83/56583/1
Somin Kim [Mon, 11 Jan 2016 09:06:57 +0000 (18:06 +0900)]
Modified template format in rule_info to match server-side template style

Change-Id: I191bcad2f09aa667f855bc6c4f80f132cd37e12d
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoModified api reference 82/56582/1
Somin Kim [Mon, 11 Jan 2016 09:06:07 +0000 (18:06 +0900)]
Modified api reference

Change-Id: I8110380f6dc32e3f8461f43b841675b9be47d66d
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoModified subject of time related items. 80/56580/1
Somin Kim [Mon, 11 Jan 2016 09:05:18 +0000 (18:05 +0900)]
Modified subject of time related items.

Change-Id: Iae7d1ea59e044e54fbd20c84ab4164cbd4d88237
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoRemoved double quotations around string comparison data. Modified to not convert... 79/56579/1
Somin Kim [Mon, 11 Jan 2016 09:04:07 +0000 (18:04 +0900)]
Removed double quotations around string comparison data. Modified to not convert integer comparison data to string.

Change-Id: Ida6a051123275e110a2b8f9db6b310436ffecd1e
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoMerge branch 'tizen' into devel/tizen_3.0 75/53875/1
Mu-Woong Lee [Thu, 10 Dec 2015 02:59:57 +0000 (11:59 +0900)]
Merge branch 'tizen' into devel/tizen_3.0

Change-Id: Ic2057d25073ee284540437af044fde08ee996695
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoFix API reference: context_trigger_get_rule_by_id() 70/53870/1 accepted/tizen/mobile/20151222.224945 accepted/tizen/tv/20151222.224958 accepted/tizen/wearable/20151222.225031 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:39:03 +0000 (11:39 +0900)]
Fix API reference: context_trigger_get_rule_by_id()

Change-Id: If103f3979b7a6b2d085c6e2ef993d04dc79c6d2a
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
9 years agoAdd 'since_tizen' tag 20/49020/1
Mu-Woong [Mon, 5 Oct 2015 08:07:49 +0000 (17:07 +0900)]
Add 'since_tizen' tag

Change-Id: I88dcba3703ba6017b911124e4ac62a756fb30e3a
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
(cherry picked from commit 7200fcf11b59a6f3db7292167c6dde473dfb4cec)
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
9 years agoMerge changes from Tizen 2.4 40/48640/1
Mu-Woong [Thu, 24 Sep 2015 06:00:56 +0000 (15:00 +0900)]
Merge changes from Tizen 2.4

- Fix a broken link in trigger doc
- Check string in-params to prevent SQL injections

Change-Id: Ic99af23dafb59a65f27feb9bdd1303dae5d347e6
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
9 years agoFixed to use pkgmgrinfo_appinfo_get_usr_appinfo() 53/47753/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150909.141017 accepted/tizen/tv/20150909.140333 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 10:57:32 +0000 (19:57 +0900)]
Fixed to use pkgmgrinfo_appinfo_get_usr_appinfo()

Change-Id: Ic1e5dbeace61fb7d71d2034d60f12760024ef8a4
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
9 years agoVersion 0.6.2 22/47722/1
Somin Kim [Tue, 8 Sep 2015 07:18:00 +0000 (16:18 +0900)]
Version 0.6.2

Change-Id: I20431d5527e2066fcab96f43a7717e1a6e1cbc96
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
9 years agoEnable dbus action in trigger 20/47720/1
Somin Kim [Tue, 8 Sep 2015 07:17:15 +0000 (16:17 +0900)]
Enable dbus action in trigger

Change-Id: Id99453d0e9ae4c0a09b6aee328d81426e65963ff
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
9 years agoAllow service app launching triggers in TV profile 19/47719/1
Somin Kim [Tue, 8 Sep 2015 07:16:38 +0000 (16:16 +0900)]
Allow service app launching triggers in TV profile

Change-Id: Ia4dab92dc3b10819c2930c48e7cc2c06d7546d9f
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
9 years agoModified to restrict service application launch request 16/47716/1
Somin Kim [Tue, 8 Sep 2015 06:56:54 +0000 (15:56 +0900)]
Modified to restrict service application launch request

Change-Id: I0fd57efdaaed657b6bb23a4ab2e507c29baf8dd6
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
9 years agoVersion 0.6.0 01/46201/1 accepted/tizen/mobile/20150818.040826 accepted/tizen/tv/20150818.040838 submit/tizen_mobile/20150818.030430 submit/tizen_tv/20150818.030444
Mu-Woong [Tue, 18 Aug 2015 02:57:24 +0000 (11:57 +0900)]
Version 0.6.0

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

- Cleanup history/trigger item names

Change-Id: I3ffdb0e74a43bfeebef5ef714e6bbd9eb553aded
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
9 years agoMerge Version 0.5.5 91/45291/1 accepted/tizen/mobile/20150810.043507 accepted/tizen/tv/20150810.043544 submit/tizen_mobile/20150810.020750 submit/tizen_tv/20150810.020506
Mu-Woong [Tue, 4 Aug 2015 11:58:24 +0000 (20:58 +0900)]
Merge Version 0.5.5

- Remove unnecessary dependency to pkgmgr-info
- Disable internal 'dbus call' trigger action api
- Add an internal function to set 'dbus call' action

Change-Id: I8ba890181055753371538192e824645a87d21704
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
9 years agoVersion 0.5.3 45/44345/1 accepted/tizen/mobile/20150722.000949 accepted/tizen/tv/20150722.001047 submit/tizen_mobile/20150721.115234 submit/tizen_tv/20150721.114308
Mu-Woong [Tue, 21 Jul 2015 05:32:22 +0000 (14:32 +0900)]
Version 0.5.3

Change-Id: I633123eca0707a1f5e16ea0c3cfac0663507225d
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
9 years agoDisable client smack rule checker. 58/43658/1 accepted/tizen/mobile/20150713.111144 accepted/tizen/tv/20150713.111027 submit/tizen_mobile/20150713.082301 submit/tizen_tv/20150713.082057
Mu-Woong [Mon, 13 Jul 2015 05:47:37 +0000 (14:47 +0900)]
Disable client smack rule checker.

It needs to be re-implemented using Cynara.

Change-Id: I01ddc61cfe001f95c64cf0e3d9f01746772c0d27
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
9 years agoUpdate date of all license boilerplate 57/43657/1
Mu-Woong [Mon, 13 Jul 2015 05:46:20 +0000 (14:46 +0900)]
Update date of all license boilerplate

Change-Id: I49d2d86d08b2444601324506f21144b154975fe1
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
9 years agoCleanup the build script 09/42509/1 accepted/tizen/mobile/20150701.001807 accepted/tizen/tv/20150701.001818 submit/tizen_mobile/20150630.143244 submit/tizen_tv/20150630.143515
Mu-Woong [Mon, 29 Jun 2015 12:04:10 +0000 (21:04 +0900)]
Cleanup the build script

Change-Id: Id4a77ec7c309386791b0b1ef524329aef9ed27d8
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
9 years agoIntegrate changes from Tizen 2.4 46/42446/1
Mu-Woong [Mon, 29 Jun 2015 08:34:59 +0000 (17:34 +0900)]
Integrate changes from Tizen 2.4

- Remove redundant doxygen comments. All detailed descriptions are inlcuded in the programming guide and the tutorial.
- Remove history record insertion APIs
- Apply Tizen coding rules to the header files
- Refactor history item - filter key pair validation routine
- Remove context_internal API set.
- Replace security-privilege-checker with libsmack
- Replace deprecated privilege_checker_check_package_privilege()

Change-Id: I2b8a0b505917f5e01cd8977d21b7dca39f83a8f2
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
9 years agoUpdate the domain tag 45/41245/2 accepted/tizen/mobile/20150612.074827 accepted/tizen/tv/20150612.074930 submit/tizen_mobile/20150612.025616 submit/tizen_tv/20150612.025602
Mu-Woong [Fri, 12 Jun 2015 02:40:10 +0000 (11:40 +0900)]
Update the domain tag

Change-Id: I645444fdcd8bd90707416acf3a2346ba10f92c8e
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
9 years agoMigrate from 2.4 code repo 88/41188/1
Mu-Woong [Thu, 11 Jun 2015 11:29:16 +0000 (20:29 +0900)]
Migrate from 2.4 code repo

Change-Id: I430651c4e3b57a31110c17a3935e65a86ca89688
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
9 years agoInitial empty repository master
KyungMi Lee [Wed, 25 Mar 2015 05:33:59 +0000 (22:33 -0700)]
Initial empty repository