platform/core/api/context.git
7 years agoFix the build script typos and nonconventional so symlink packaging 28/123328/1
Mu-Woong Lee [Wed, 5 Apr 2017 07:55:54 +0000 (16:55 +0900)]
Fix the build script typos and nonconventional so symlink packaging

Change-Id: If1e8854fadd882f2b00867635f992fc88af5ced5
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoRemove dummy packages context & context-devel 44/119644/1
Mu-Woong Lee [Sat, 18 Mar 2017 13:30:04 +0000 (06:30 -0700)]
Remove dummy packages context & context-devel

Change-Id: Ic853ad73ea2c4f598e05dfde55633c2024838197
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoDisable the conflicting virtual package 14/117714/1
Mu-Woong Lee [Tue, 7 Mar 2017 07:35:53 +0000 (16:35 +0900)]
Disable the conflicting virtual package

Change-Id: I5707d4d51e2153a6e859c57f1f87a29621a79678
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoAdd a dummy package context to avoid obs image creation failure 08/117708/1
Mu-Woong Lee [Tue, 7 Mar 2017 07:20:27 +0000 (16:20 +0900)]
Add a dummy package context to avoid obs image creation failure

Change-Id: I777808378920357698726f848046d0609569df2f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoAdd a dummy package context-devel to avoid obs unresolvable issues 96/117696/1
Mu-Woong Lee [Tue, 7 Mar 2017 06:48:37 +0000 (15:48 +0900)]
Add a dummy package context-devel to avoid obs unresolvable issues

Change-Id: Iccccd3c8c732c69c94604abdb37b93e3e624c27c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoRename the package to capi-context from context 05/116905/3
Mu-Woong Lee [Thu, 2 Mar 2017 03:16:05 +0000 (12:16 +0900)]
Rename the package to capi-context from context

Change-Id: Ib48e5fbb50bb2643dac33cae28cf6447c5a35257
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoMerge "Disable my-place automation API" into devel/tizen
Mu-Woong Lee [Thu, 2 Mar 2017 04:39:00 +0000 (20:39 -0800)]
Merge "Disable my-place automation API" into devel/tizen

7 years agoUpdate the license date to 2015-2017 06/116906/1
Mu-Woong Lee [Thu, 2 Mar 2017 03:19:43 +0000 (12:19 +0900)]
Update the license date to 2015-2017

Change-Id: I88aa61e4c5a839825b1c78161d455b9c9dd659d8
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoDisable my-place automation API 99/116899/1
Mu-Woong Lee [Thu, 2 Mar 2017 02:20:51 +0000 (11:20 +0900)]
Disable my-place automation API

While refactoring the context fw for Tizen 4.0, my-place module will not be supported.

Change-Id: I9ee84c6cf2c22a03b0481fd2d99913fb0c6c43fd
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoUpdate doxygen 50/112350/1
Somin Kim [Tue, 31 Jan 2017 09:56:59 +0000 (18:56 +0900)]
Update doxygen

Change-Id: I28365912d76c2db7f43780e5dc29d9198f5c419f
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years agoRevert "Update doxygen"
Somin Kim [Tue, 31 Jan 2017 09:55:49 +0000 (18:55 +0900)]
Revert "Update doxygen"

This reverts commit 0c2002243b2d27245c478653d32a585bfa3edff3.

7 years agoUpdate doxygen
Somin Kim [Tue, 31 Jan 2017 09:49:29 +0000 (18:49 +0900)]
Update doxygen

Change-Id: I9a768d5bbfb2162cf6080964828844c1b69d80b3
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years agoFix memory leak(TSAM-12738) 97/112097/2
Somin Kim [Thu, 26 Jan 2017 03:15:55 +0000 (12:15 +0900)]
Fix memory leak(TSAM-12738)

Change-Id: Ic8aac37e17e6fae9e2fa71e48cbfa4106ce1d352
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years agoDoxygen modified 53/105353/2
Somin Kim [Fri, 16 Dec 2016 08:59:46 +0000 (17:59 +0900)]
Doxygen modified

Change-Id: I47042fb348741c3479ca8ecaf051ea5bd50b7e94
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years agoVersion 0.9.9 22/102122/1
Somin Kim [Mon, 5 Dec 2016 04:57:53 +0000 (13:57 +0900)]
Version 0.9.9

Change-Id: If266d7600727564b0c796b4c99a0643b02e7e395
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years agoCheck validity of newly added record key 'UsedTime' 12/102112/1
Somin Kim [Mon, 5 Dec 2016 04:41:07 +0000 (13:41 +0900)]
Check validity of newly added record key 'UsedTime'

Change-Id: Ib98b3cc64bfc4d1dcd1f842be7b29371b93655ec
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoVersion 0.9.7 41/92241/1
Mu-Woong Lee [Fri, 14 Oct 2016 06:11:51 +0000 (15:11 +0900)]
Version 0.9.7

Change-Id: Ia96c516f8c40a350a3285517bdc22d4207b86138
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoConvert old style rule to new one 85/90785/4
Somin Kim [Tue, 4 Oct 2016 08:32:38 +0000 (17:32 +0900)]
Convert old style rule to new one

Change-Id: I5e7d3e74b7b8aaae7011d2d1ca99b638fd46485b
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoInternal rule conversion 83/87983/4
Somin Kim [Mon, 12 Sep 2016 11:26:12 +0000 (20:26 +0900)]
Internal rule conversion

Change-Id: I086e378ca435ec9109ff2f24010df032896b2fb1
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoRemove legacy code for supporting Tizen 2.x 89/89889/1
Mu-Woong Lee [Tue, 27 Sep 2016 09:48:11 +0000 (18:48 +0900)]
Remove legacy code for supporting Tizen 2.x

Change-Id: I72de805a528a52dfae1efc60f4a6680c59be3d27
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years ago[my-place] Accept locations without accuracy. 00/87500/2
Marcin Masternak [Thu, 8 Sep 2016 08:56:12 +0000 (10:56 +0200)]
[my-place] Accept locations without accuracy.

Change-Id: I7fcd554ed8613a4b0110a0e21b12ef9f29ab83e9
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years agoAdd details for context history api description 65/88565/3
Somin Kim [Mon, 19 Sep 2016 23:19:10 +0000 (08:19 +0900)]
Add details for context history api description

Change-Id: I7b1de12cc88df5375d37b9c8eb3297d070fc7c83
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoRemove unnecessary profile dependencies and spec conditions 07/87807/1
MyungJoo Ham [Fri, 9 Sep 2016 07:58:06 +0000 (07:58 +0000)]
Remove unnecessary profile dependencies and spec conditions

The previous context.spec disables build if it is
public-TV profile or private-TV profile.

At the same time, context.spec commands to add a compiler definition,
"_ALLOW_SERVICE_APP_TRIGGER_", if it is public-TV or private-TV profile
while the control can NEVER reach inside it.

Furthermore, the cmake's compiler definition "PROFILE" is never used.

Thus all profile related macros, which prohibits Tizen build system
from merging profile builds and configurability, can be easily removed.

Note that the meta-tv.git does NOT context in its YAML; therefore,
this patch CANNOT change the Tizen-TV platform image.

Change-Id: Idbc4ee79825576b009f65b33876f8d6e85aa0b11
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
8 years agoVersion 0.9.6 51/87351/1
Mu-Woong Lee [Wed, 7 Sep 2016 12:17:50 +0000 (21:17 +0900)]
Version 0.9.6

Change-Id: If27927ce14431c9142403d7f210da4def5b23dd4
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdded Battery Satistics Parameters to Context History enums 77/83577/9
Somin Kim [Mon, 22 Aug 2016 07:25:02 +0000 (16:25 +0900)]
Added Battery Satistics Parameters to Context History enums

Change-Id: I0c3ec3bbde75a44c43863df4344e5a70d6f89f96
Signed-off-by: Kunal Chawla <kunal.chawla@samsung.com>
8 years agoAdd the double-precision attribute retrieving function context_history_record_get_dou... 88/86788/1
Mu-Woong Lee [Mon, 5 Sep 2016 02:03:02 +0000 (11:03 +0900)]
Add the double-precision attribute retrieving function context_history_record_get_double()

Change-Id: Ia3ce8a5b8fa649263b1c6515ac48590e2be39b18
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years ago[my-place] accept empty lists. 89/86289/1
Marcin Masternak [Wed, 31 Aug 2016 10:14:06 +0000 (12:14 +0200)]
[my-place] accept empty lists.

Change-Id: I060f1b8e5b685fc305871da2ec7a454f1d470136
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years agoHistory types internal & trigger types internal removed 45/84745/3
Somin Kim [Mon, 22 Aug 2016 07:25:02 +0000 (16:25 +0900)]
History types internal & trigger types internal removed

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

Change-Id: I833981379c12ec508e134460b6424ecf7131e702
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years ago[my-place] Internal API. 25/66025/11
Marcin Masternak [Fri, 5 Aug 2016 16:35:58 +0000 (18:35 +0200)]
[my-place] Internal API.

Change-Id: I3d510bb26fb386191b6970f2ba94c1b653865d87
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years agoVersion 0.9.4 03/80403/1
Somin Kim [Mon, 18 Jul 2016 03:02:11 +0000 (12:02 +0900)]
Version 0.9.4

Change-Id: Ibc19e7aa6e0539592d515c9ae339d480f1e31baa
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoFix svace issue of reading uninitialized data 01/80401/1
Somin Kim [Mon, 18 Jul 2016 02:50:03 +0000 (11:50 +0900)]
Fix svace issue of reading uninitialized data

Change-Id: I99c124e003e653407b620fafc60de6af7339b0a7
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoVersion 0.9.3 & Fix svace issue 23/78123/1
Somin Kim [Mon, 4 Jul 2016 09:56:11 +0000 (18:56 +0900)]
Version 0.9.3 & Fix svace issue

Change-Id: Ie4ec5a33a54a0f1500a3e904133f74b5233e2ef8
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoModified template format based on JSON schema 67/78067/1
Somin Kim [Mon, 4 Jul 2016 07:14:00 +0000 (16:14 +0900)]
Modified template format based on JSON schema

Change-Id: Ic7817690f94cd809ce2a3ea28326cd2a8148c5e2
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoMerge "Include Types.h explicitly" into devel/tizen_3.0
Mu-Woong Lee [Mon, 27 Jun 2016 07:04:17 +0000 (00:04 -0700)]
Merge "Include Types.h explicitly" into devel/tizen_3.0

8 years agoFix error return of context_trigger_custom_publish 51/76751/1
Somin Kim [Mon, 27 Jun 2016 06:41:09 +0000 (15:41 +0900)]
Fix error return of context_trigger_custom_publish

Change-Id: Ib10be1ff820897ad81f1f846d4a6ca77923ad701
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoInclude Types.h explicitly 06/76706/2
Mu-Woong Lee [Mon, 27 Jun 2016 04:02:11 +0000 (13:02 +0900)]
Include Types.h explicitly

Change-Id: I4808e4df5673a80ce9520fc7c96c6cc33014f004
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoFix typo error 54/75954/1
Somin Kim [Wed, 22 Jun 2016 08:18:52 +0000 (17:18 +0900)]
Fix typo error

Change-Id: Ia4d8286cbaf9d9730e962e5c43850aedf99be75c
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoMove APIs for custom event/condition to context_trigger.h (ACR-672) 21/73721/9
Somin Kim [Thu, 9 Jun 2016 08:20:12 +0000 (17:20 +0900)]
Move APIs for custom event/condition to context_trigger.h (ACR-672)
- Change subject of custom item related request

Change-Id: I4966d6a7803f42f2222de17c9f039d1829b68a13
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoVersion 0.9.0 75/73275/1
Somin Kim [Tue, 7 Jun 2016 10:23:36 +0000 (19:23 +0900)]
Version 0.9.0

Change-Id: I9a7301304b6427390ad61f0e231bef8bbecb52a1
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoRemove DBusClient 96/72896/1
Mu-Woong Lee [Fri, 3 Jun 2016 02:27:39 +0000 (11:27 +0900)]
Remove DBusClient

Change-Id: Ibc40ad2d66acb694056baf524b5ffec2463b0f90
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoUpdate build dependency w.r.t. the change of context-common 84/72884/1
Mu-Woong Lee [Fri, 3 Jun 2016 01:51:18 +0000 (10:51 +0900)]
Update build dependency w.r.t. the change of context-common

Change-Id: Ifac470ec5335130c8f6421efce6ba80db2e33131
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd SYSTEM_SERVICE build feature for switching system dbus and session dbus 96/71096/2
Mu-Woong Lee [Tue, 24 May 2016 05:30:56 +0000 (14:30 +0900)]
Add SYSTEM_SERVICE build feature for switching system dbus and session dbus

Change-Id: I73eae5d22d5043ddae6c3e0ce71523388bb10ac0
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd LEGACY_SECURITY build feature for supporting security-server based privilege... 81/71081/2
Mu-Woong Lee [Tue, 24 May 2016 04:36:50 +0000 (13:36 +0900)]
Add LEGACY_SECURITY build feature for supporting security-server based privilege control

If LEGACY_SECURITY is set to 1, the security cookie of the app is bundled in all dbus calls.

Change-Id: I18d794e20ff337944dbeb10a5c917664b00e3b00
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd a build feature to support non-multiuser version appfw API 83/70983/1
Mu-Woong Lee [Mon, 23 May 2016 12:39:55 +0000 (21:39 +0900)]
Add a build feature to support non-multiuser version appfw API

By setting LEGACY_APPFW as 1, it can be built on Tizen 2.3 or Tizen 2.4, which has no multiuser support.

Change-Id: I6f3c74e9c038f859d1a2402a533e2ce84e37cefb
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoFix an invalid string construction issue in the rule validator 82/70982/1
Mu-Woong Lee [Mon, 23 May 2016 12:37:32 +0000 (21:37 +0900)]
Fix an invalid string construction issue in the rule validator

std::string cannot be initiated from a bool type input parameter.

Change-Id: I4dcfbe21470b7f44a1be7ff2bf78881802af4763
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoVersion 0.8.1 64/70864/1
Mu-Woong Lee [Mon, 23 May 2016 05:50:53 +0000 (14:50 +0900)]
Version 0.8.1

Change-Id: I032185d2388d2824954d1d24c87081047e2a9f6f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRemove request_handler from the API library implementation 70/70770/1
Mu-Woong Lee [Fri, 20 May 2016 11:04:49 +0000 (20:04 +0900)]
Remove request_handler from the API library implementation

API implementations use DBusClient directly, and request_handler is moved to the testsuite.

Change-Id: Ib897e2c3a335a2f6587139b9780bcf31c1c6dc6f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoEnable privilege checking for trigger action setter functions 33/70733/1
Mu-Woong Lee [Fri, 20 May 2016 08:27:35 +0000 (17:27 +0900)]
Enable privilege checking for trigger action setter functions

This patch adds privilege checkers using the newly added DBus methods in context-service.

Change-Id: Ib6fccfb0ea7077f9be12f05b0716ea419e8f45bd
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoFix coding rule 69/68369/1
Somin Kim [Wed, 4 May 2016 01:23:39 +0000 (10:23 +0900)]
Fix coding rule

Change-Id: Ida7e2fde7fae7d3c6d29e9cb57625bf427931684
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoVersion 0.8.0 69/68169/1
Mu-Woong Lee [Tue, 3 May 2016 01:31:09 +0000 (10:31 +0900)]
Version 0.8.0

Change-Id: I33f7738d0357944dc9088363e099c90fca15a9ff
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoUpdate License text & boilerplates 02/66702/2
Mu-Woong Lee [Wed, 20 Apr 2016 11:03:11 +0000 (20:03 +0900)]
Update License text & boilerplates

Change-Id: Ib0c23c6253b3e3f50658c6f103d6e89b65f63162
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoDisable TV profile build explicitly 52/66552/1
Mu-Woong Lee [Tue, 19 Apr 2016 11:00:24 +0000 (20:00 +0900)]
Disable TV profile build explicitly

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

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

Change-Id: If33182cc36db99df564aec56da771e839ffabe65
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoApplied coding rule related to space and brace 84/65984/1
Somin Kim [Thu, 14 Apr 2016 09:21:25 +0000 (18:21 +0900)]
Applied coding rule related to space and brace

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

Change-Id: Ia963d0f80af1ec3a9b0b0d6d065d69f624d776ee
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoAdded/Modified 'remarks' about privileges for event/condition 55/64755/3
Somin Kim [Tue, 5 Apr 2016 07:53:39 +0000 (16:53 +0900)]
Added/Modified 'remarks' about privileges for event/condition

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

Change-Id: Ie267f821b84c8ad7b3140e69db9663db34ea520c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years ago'Since Tizen 3.0' is modified as 'Since 3.0' 28/62628/1
Somin Kim [Thu, 17 Mar 2016 06:15:59 +0000 (15:15 +0900)]
'Since Tizen 3.0' is modified as 'Since 3.0'

Change-Id: I63640d1bf538c41fea511f87552fc2e481e4bbb5
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoChanged EVENT_CONTACTS_DB_CHANGED to EVENT_CONTACTS 39/62239/2
Somin Kim [Tue, 15 Mar 2016 04:31:14 +0000 (13:31 +0900)]
Changed EVENT_CONTACTS_DB_CHANGED to EVENT_CONTACTS

Change-Id: I03feefaf118fca7bfa36075afd342d4a74d55d73
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoVersion 0.7.4 35/62235/1
Mu-Woong Lee [Tue, 15 Mar 2016 03:15:19 +0000 (12:15 +0900)]
Version 0.7.4

Change-Id: Ief33943ef9b9aaf987b6cec8f0c43f3d4b20750f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoEVENT_CONTACTS_DB_CHANGED added 11/62111/6
Somin Kim [Mon, 14 Mar 2016 05:26:53 +0000 (14:26 +0900)]
EVENT_CONTACTS_DB_CHANGED added

Change-Id: I4ac407807e1b2763207efa84b60f9e3eb690fddb
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agodoxygen: update privilege descriptions 18/62218/1
Mu-Woong Lee [Tue, 15 Mar 2016 02:35:45 +0000 (11:35 +0900)]
doxygen: update privilege descriptions

Change-Id: I84f3a99eabf7b88290015bf661319ac19457dd88
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoVersion 0.7.3 16/62016/1
Somin Kim [Mon, 14 Mar 2016 01:45:04 +0000 (10:45 +0900)]
Version 0.7.3

Change-Id: I86fc3730e95cd8ec78a024e01d4816c4221291aa
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
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>