platform/core/api/app-control.git
7 years agoFix build error for upgrading toolchain
Inkyun Kil [Wed, 14 Dec 2016 07:52:32 +0000 (16:52 +0900)]
Fix build error for upgrading toolchain

'readdir_r' is deprecated since version 2.24 glibc.
By upgrading TOOLCHAIN for platform, it should be replaced by 'readdir'.

Different semantics for inline functions
While -std=gnu89 employs the GNU89 inline semantics, -std=gnu11 uses the
C99 inline semantics.
For further informaion, please refer to
'https://gcc.gnu.org/gcc-5/porting_to.html'

Remove unused function.

Change-Id: I0891770a16d91ee1fec75e3f2c1a48cc4c5fe6e3
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
7 years agoThe update requested event
Junghoon Park [Tue, 22 Nov 2016 01:59:03 +0000 (10:59 +0900)]
The update requested event

  - This event can occur when an app needs to be updated.
  - It is dependent on target devices.

Change-Id: Iacb44e86ac43acb262024e36ab6e2e09ef281df1
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoFix wrong description
Hwankyu Jhun [Fri, 23 Sep 2016 01:16:46 +0000 (10:16 +0900)]
Fix wrong description

Change-Id: Id5c6780c9fa9f9c55e598c3d7dafc1e838018ac1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd a new data key, APP_CONTROL_DATA_LOCATION
chanywa [Mon, 19 Sep 2016 11:43:41 +0000 (20:43 +0900)]
Add a new data key, APP_CONTROL_DATA_LOCATION

Change-Id: I6f2327fc0317856b3c9ec18938eb739b5586befe

8 years agoRevert "Revert "move capi-appfw-alarm to separate git repo""
Semun Lee [Tue, 30 Aug 2016 01:01:59 +0000 (10:01 +0900)]
Revert "Revert "move capi-appfw-alarm to separate git repo""

This reverts commit fa58398559c4b5d8210954dd861f46ff3654750f.

Change-Id: Ifdafdea99ec2a58c91283e22330a03db23380466

8 years agoRevert "move capi-appfw-alarm to separate git repo"
Semun Lee [Tue, 30 Aug 2016 01:00:59 +0000 (10:00 +0900)]
Revert "move capi-appfw-alarm to separate git repo"

This reverts commit 5f63311b657e2ab5822f1f49533ba0f6e3997181.

Change-Id: I55c97396dccbf05c36ea5d3e9b3d74800b80f541

8 years agoAdd new privilege for shared/data directory
Semun Lee [Mon, 1 Aug 2016 05:25:23 +0000 (14:25 +0900)]
Add new privilege for shared/data directory

Since 3.0, shared/data directory is supported only for the apps
that declare the privilege that is introduced in 3.0.

Change-Id: I9c0823f2fc65026fcc2218f9be9bdaf59221b8db
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
8 years agomove capi-appfw-alarm to separate git repo
Jiwoong Im [Fri, 29 Jul 2016 05:48:45 +0000 (14:48 +0900)]
move capi-appfw-alarm to separate git repo

Change-Id: Ic05932f15076b60b7a8c92d4e8a40b5ccb1e0844
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoApplied API Deprecation Policy
seungha.son [Thu, 18 Aug 2016 07:13:29 +0000 (16:13 +0900)]
Applied API Deprecation Policy

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: If1b2dcd55fab49cac13a0835d8ac32bde27622b0

8 years agoFix API doc
Hwankyu Jhun [Fri, 19 Aug 2016 05:05:40 +0000 (14:05 +0900)]
Fix API doc

In the wearable profile, the background management feature is supported
since 3.0

Change-Id: Idfc2915d79e9fad50067b2488cdc29fe173b4559
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoChange since_tizen of APP_CONTROL_DATA_TYPE
Semun Lee [Fri, 5 Aug 2016 02:08:12 +0000 (11:08 +0900)]
Change since_tizen of APP_CONTROL_DATA_TYPE

Wearable profile starts to support it from 2.3.2

Change-Id: I4906746a38c7cd30b66ec65ed957a9f51fd593d5
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
8 years agoadd event_keep_last_event_data api
Jiwoong Im [Fri, 1 Jul 2016 06:38:18 +0000 (15:38 +0900)]
add event_keep_last_event_data api

- keep last User-Event data for receiver applications

Change-Id: If3e00902a943cc2777c34dc38cf2f73c9db43bc2
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoFix the definitions about the text input delegate
Hwankyu Jhun [Tue, 26 Jul 2016 01:48:41 +0000 (10:48 +0900)]
Fix the definitions about the text input delegate

"input_selector" and "input_reply", "input_handwriting" are deleted.

Change-Id: I2e665853bc8ab508e0f9d98a57a82f4aa194104b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd description for APP_CONTROL_DATA_SELECTED
Junghoon Park [Wed, 27 Jul 2016 03:57:39 +0000 (12:57 +0900)]
Add description for APP_CONTROL_DATA_SELECTED

Change-Id: If0a924204a329c9917d437a6b48a6536bb208d6b
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoexclude code from coverage measurement
SukHyung, Kang [Tue, 12 Jul 2016 11:18:13 +0000 (20:18 +0900)]
exclude code from coverage measurement

Change-Id: I90ec1db233374d1623d213a74bf7598a6d3d8608
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
8 years agoAdd an exception handling
Hwankyu Jhun [Tue, 12 Jul 2016 07:03:19 +0000 (16:03 +0900)]
Add an exception handling

Change-Id: I95b3dddb9eaf029e536681894f68af00999656fa
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix wrong callback invoke on SHARE PANEL launch
Hwankyu Jhun [Mon, 11 Jul 2016 10:21:34 +0000 (19:21 +0900)]
Fix wrong callback invoke on SHARE PANEL launch

Change-Id: I5826d9e306e1a9e849d8ccdc3611f756fe46e4f1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix the description about APP_CONTROL_DATA_PATH
Hwankyu Jhun [Sun, 26 Jun 2016 22:52:24 +0000 (07:52 +0900)]
Fix the description about APP_CONTROL_DATA_PATH

Change-Id: I933bcf0871906c947a33cdfb7bc3f9ea14a0b2fc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoCopy and keep lifecycle callback in appcore
Hwankyu Jhun [Wed, 15 Jun 2016 12:35:39 +0000 (21:35 +0900)]
Copy and keep lifecycle callback in appcore

Change-Id: Ic6d0759d21cbc47d97fc9f5d6e0f8f7078b42b5f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix the exception about the application initialization
Hwankyu Jhun [Tue, 14 Jun 2016 22:29:24 +0000 (07:29 +0900)]
Fix the exception about the application initialization

Change-Id: Ideacbc59f1eda9649dd057025aaca2a80ba0a97c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoRemove duplicate code
Hwankyu Jhun [Mon, 13 Jun 2016 00:00:42 +0000 (09:00 +0900)]
Remove duplicate code

- Add a parameter of the appcore_context handle on
ui_app_init and ui_app_fini APIs

Change-Id: I26615818ec6968006aea9b06f62e19fcab4b2bdc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd app_control operation and data definitions for the text input delegate
Hwankyu Jhun [Wed, 1 Jun 2016 04:32:06 +0000 (13:32 +0900)]
Add app_control operation and data definitions for the text input delegate

Change-Id: Ib7b90b2e06628abba8ffbb2106147352960a82e7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd missing retval for preference
Myungki Lee [Mon, 13 Jun 2016 10:14:20 +0000 (19:14 +0900)]
Add missing retval for preference

Change-Id: I024483c7c9bd6edc46cac818348623b8fcee2df2
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoRevert ui_app_main()
Hwankyu Jhun [Fri, 10 Jun 2016 01:48:45 +0000 (10:48 +0900)]
Revert ui_app_main()

Change-Id: Ica50e94c4e090251d1ae1ed4592c7b10bbf4e3ec
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd new API for customizing main loop
Hwankyu Jhun [Tue, 7 Jun 2016 02:27:03 +0000 (11:27 +0900)]
Add new API for customizing main loop

- ui_app_init, ui_app_fini are added

Change-Id: I2b97ed5ecefd71edee81195f9c464daed804d118
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix the exception handling about app_control_send_launch_request API
Hwankyu Jhun [Mon, 30 May 2016 07:25:34 +0000 (16:25 +0900)]
Fix the exception handling about app_control_send_launch_request API

Change-Id: I300b03a1a2ca18f820d2f83400ae56b28ecd0e13
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoMerge "Fix the descriptions for wearable profile" into tizen
Hwankyu Jhun [Fri, 27 May 2016 06:05:03 +0000 (23:05 -0700)]
Merge "Fix the descriptions for wearable profile" into tizen

8 years agofix doxygen comments
Jiwoong Im [Fri, 27 May 2016 05:56:33 +0000 (14:56 +0900)]
fix doxygen comments

Change-Id: I554c30bb5fa63e6585d0c1b98cb930f1641d53e5
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoFix the descriptions for wearable profile
Hwankyu Jhun [Fri, 27 May 2016 05:32:43 +0000 (14:32 +0900)]
Fix the descriptions for wearable profile

The app_get_shared_data_path API has been supported
since tizen 2.3.1 in the wearable profile.

Change-Id: I2d1bda0dda1de4c7c1462c6d55ea05bb69fb2401
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd the descriptions about the app_control handle
Hwankyu Jhun [Mon, 23 May 2016 08:55:17 +0000 (17:55 +0900)]
Add the descriptions about the app_control handle

Change-Id: I5852bc171616801f8349339c83eb0c6e0a3daa52
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoRemove the unnecessary exception handling
Hwankyu Jhun [Mon, 2 May 2016 22:39:37 +0000 (07:39 +0900)]
Remove the unnecessary exception handling

Change-Id: I084d99b3578ffcc3a6338b8b61ada781b0db58fa
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoadd new system-event values for incoming/outgoing msg.
jongmyeongko [Mon, 11 Apr 2016 08:35:05 +0000 (17:35 +0900)]
add new system-event values for incoming/outgoing msg.

Change-Id: I394db3b7f451fe1c866041c8958a45c7f6ee67c1
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agofix doxygen comments
Jiwoong Im [Tue, 26 Apr 2016 05:46:28 +0000 (14:46 +0900)]
fix doxygen comments

Change-Id: I0842e20cde14ffd16dda4e78a957cdd945828e25
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoFix typo in global alarm api
Jiwoong Im [Fri, 22 Apr 2016 06:44:46 +0000 (15:44 +0900)]
Fix typo in global alarm api

Change-Id: I40172d960e369ee34690b249e9933b383d1a2369
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoAdd alarm api to support global alarm
Jiwoong Im [Mon, 11 Jan 2016 05:54:54 +0000 (14:54 +0900)]
Add alarm api to support global alarm

- alarm_set_global
  alarm_get_global

Change-Id: Ie804a7c23ac4acaab368406d6b736ac8c25591ef
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoAdd a new key for supporting background launch
Hwankyu Jhun [Thu, 14 Apr 2016 03:14:08 +0000 (12:14 +0900)]
Add a new key for supporting background launch

Change-Id: Ie33f65dd0acb8a4f75ac15e09d2d26e90b8d491c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoReturn "single" launch mode with default
Myungki Lee [Fri, 8 Apr 2016 09:08:44 +0000 (18:08 +0900)]
Return "single" launch mode with default

- If launch mode in the caller app control is not set,
- app_control_get_launch_mode() returns TIZEN_ERROR_INVALID_PARAMETER error.

Change-Id: I51d65e5047325624e9f8b01a338ea967176ea353
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoMove to internal.h some func prototypes
Myungki Lee [Fri, 8 Apr 2016 07:22:58 +0000 (16:22 +0900)]
Move to internal.h some func prototypes

- app_control_set_defapp, app_control_unset_defapp

Change-Id: Ie15b040a7f9e93ebbf4c6f2980ad4f80a24dc96f
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoMerge "Add key for relocate-below" into tizen
Junghoon Park [Mon, 4 Apr 2016 12:03:02 +0000 (05:03 -0700)]
Merge "Add key for relocate-below" into tizen

8 years agoAdjust coding rules
Hwankyu Jhun [Mon, 28 Mar 2016 04:53:36 +0000 (13:53 +0900)]
Adjust coding rules

Change-Id: If4c986183703015e54c53abd4be25a83a3589109
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoadd requires in pc file to fix build break.
Jiwoong Im [Wed, 9 Mar 2016 10:41:38 +0000 (19:41 +0900)]
add requires in pc file to fix build break.

Change-Id: Id3ed824d5117d23110f7ce850ee65ab278c8dace
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoAdd key for relocate-below
Junghoon Park [Wed, 16 Mar 2016 02:21:11 +0000 (11:21 +0900)]
Add key for relocate-below

 - supporting relocating launched app under the callee app
 - Requires
    https://review.tizen.org/gerrit/#/c/61893/
    https://review.tizen.org/gerrit/#/c/62048/
    https://review.tizen.org/gerrit/#/c/62397/

Change-Id: If1d7e4d5215c905b0197f566a00851bad0adbdb1
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agofix doxygen comments
Jiwoong Im [Wed, 23 Mar 2016 02:43:29 +0000 (11:43 +0900)]
fix doxygen comments

- add modification which is misssing from last commit

Change-Id: Ic9ccf2711669c43377f94d9f48569d21c10cf152
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoFix descriptions about API version
Hwankyu Jhun [Tue, 22 Mar 2016 22:39:32 +0000 (07:39 +0900)]
Fix descriptions about API version

Some APIs are supported since 3.0 in the wearable profile.

Change-Id: Ia5e7e8bc956bf1e3283879be532e4a1df6b109b8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd compiler option "-Werror"
Hwankyu Jhun [Fri, 11 Mar 2016 02:19:42 +0000 (11:19 +0900)]
Add compiler option "-Werror"

Change-Id: I7487272a416e3eb9bc9cf87b24f261c13f7a24db
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoRemove compile warning
Myungki Lee [Thu, 10 Mar 2016 01:57:24 +0000 (10:57 +0900)]
Remove compile warning

Change-Id: Ie97d34e130febcbe32639282ba92ed29d7a2772b
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoadd new system-event for network status
jongmyeongko [Mon, 15 Feb 2016 07:02:02 +0000 (16:02 +0900)]
add new system-event for network status

Change-Id: I70a598a5d493ac303c7632f050198137a92bd0fd
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoUse elm api to get preinit_window, bg, conformant
Myungki Lee [Mon, 29 Feb 2016 08:05:14 +0000 (17:05 +0900)]
Use elm api to get preinit_window, bg, conformant

Change-Id: If6a8d2bf2b4bac104a24a418d5f6018ba9a6a34c
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoUpdate doxygen for app_control_set_defapp func
Myungki Lee [Thu, 25 Feb 2016 05:08:24 +0000 (14:08 +0900)]
Update doxygen for app_control_set_defapp func

Change-Id: I16bf95107e1e48bcfd12c041da3b2075192eadd1
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agofix spelling error of SYSTEM_EVENT_INCOMMING_MSG
jongmyeongko [Mon, 22 Feb 2016 01:46:45 +0000 (10:46 +0900)]
fix spelling error of SYSTEM_EVENT_INCOMMING_MSG

Change-Id: I1f32ecee07ad4741c90d3c81024570b9928dcdd6
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoMerge "Use modified API" into tizen
Junghoon Park [Fri, 26 Feb 2016 03:12:45 +0000 (19:12 -0800)]
Merge "Use modified API" into tizen

8 years agoAdd new api to set/unset a default app
Myungki Lee [Wed, 24 Feb 2016 05:00:09 +0000 (14:00 +0900)]
Add new api to set/unset a default app

- default app for operation, mime-type, uri

Change-Id: I5579b154f2ab5cf5e047fb2cc40b1a33a8abd4a4
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoUse modified API
Junghoon Park [Tue, 23 Feb 2016 11:27:04 +0000 (20:27 +0900)]
Use modified API

- aul_remove_caller_cb, aul_invoke_caller_cb

Change-Id: I0ee27245d2a22bee4c82fca8c7ed00b3e4a13433
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoAdd new app_control operation for VPN service settings
Hwankyu Jhun [Wed, 3 Feb 2016 02:09:44 +0000 (11:09 +0900)]
Add new app_control operation for VPN service settings

Change-Id: I7cdde40584fac8912be1ef888fb1d44d65cae107
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoRemove a ui_app_get_default_window api
Myungki Lee [Wed, 3 Feb 2016 00:04:17 +0000 (09:04 +0900)]
Remove a ui_app_get_default_window api

Change-Id: I803be40e06676b0a0961424be7f75d54b059471b
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoRemove compile warning messages
Hwankyu Jhun [Tue, 2 Feb 2016 02:20:22 +0000 (11:20 +0900)]
Remove compile warning messages

Change-Id: If6b5550afccabb99bc735c0e310f4acef49423bb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoDeprecate shared directory related API
Hwankyu Jhun [Wed, 13 Jan 2016 11:30:07 +0000 (20:30 +0900)]
Deprecate shared directory related API

- app_get_shared_data_path() is deprecated

Change-Id: Ib95914191f395c08172facbd875b64630d1788a3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoA new api ui_app_get_default_window
Myungki Lee [Sat, 23 Jan 2016 09:11:28 +0000 (18:11 +0900)]
A new api ui_app_get_default_window

This function returns a window object.
Change-Id: Ic6bd54d854398d7d85b378919e64e93b1b5a463c
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoupdate app_alarm.h from tizen_2.4
Jiwoong Im [Fri, 22 Jan 2016 05:30:01 +0000 (14:30 +0900)]
update app_alarm.h from tizen_2.4

Change-Id: I5881c5f27a196f80afa464872a1b10170bca145e
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoadd doc files for API reference
SukHyung, Kang [Wed, 13 Jan 2016 23:06:28 +0000 (08:06 +0900)]
add doc files for API reference

Change-Id: Ide12f95e26b51aca848f6c7dd206f224a6c69b5e
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
8 years agoRemove source about app_service
Jiwoong Im [Thu, 17 Dec 2015 06:44:03 +0000 (15:44 +0900)]
Remove source about app_service

Change-Id: Iaad58e366bc9d31353542c403df78b58cf17420c
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoInclude bundle_internal.h for internal bundle apis
Hwankyu Jhun [Tue, 15 Dec 2015 01:37:46 +0000 (10:37 +0900)]
Include bundle_internal.h for internal bundle apis

Some bundle apis are platform internal apis
and we need to include bundle_internal.h to use them

Change-Id: I879ce7c6fa0832db031aa806161febd8c3c48c22
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoApply tizen coding rules
Jiwoong Im [Wed, 9 Dec 2015 05:41:43 +0000 (14:41 +0900)]
Apply tizen coding rules

Change-Id: I74f9810ca19cadb25122d8c12d1ea2715c5bdfcf
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agoMerge tizen 2.4 into tizen
Hwankyu Jhun [Mon, 16 Nov 2015 11:10:31 +0000 (20:10 +0900)]
Merge tizen 2.4 into tizen

- revise doxygen
- set appcore event cb only when the app register it
- add an exception in alarm_get_app_control API
- add app_event_get_suspended_state API
- add app_get_preinitialized_window API
- add app_get_preinitialized_background API
- add app_get_preinitialized_conformant API

Change-Id: I73d8dd2b83f2d97385876dc6ef603b53b99e78cd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
9 years agoMerge "merge tizen 2.4" into tizen
jongmyeongko [Tue, 10 Nov 2015 07:10:49 +0000 (23:10 -0800)]
Merge "merge tizen 2.4" into tizen

9 years agoTo modify an error doesn't happen, if there is no noti_list for key in remove_all...
Myungki Lee [Mon, 9 Nov 2015 02:57:55 +0000 (11:57 +0900)]
To modify an error doesn't happen, if there is no noti_list for key in remove_all func.

Change-Id: Ib1399c5a96d148ad81d723d42f77219cb609f1f2
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
9 years agomerge tizen 2.4
jongmyeongko [Tue, 10 Nov 2015 06:13:02 +0000 (15:13 +0900)]
merge tizen 2.4

Change-Id: Ib37db83efd77b8281beeee6c7e17702db9ebbc16
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
9 years agorevise app control header
Jiwoong Im [Mon, 26 Oct 2015 06:32:32 +0000 (15:32 +0900)]
revise app control header

- add new app_control operation from tizen_2.4

Change-Id: I267c2bb181b358ac5cdb2e65d702ed51dcf93b9d
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoFix Prevent issues.
Myungki Lee [Mon, 19 Oct 2015 11:05:59 +0000 (20:05 +0900)]
Fix Prevent issues.

1. CID : 124708, 124621, 124522
2. To check validation of keyname_len when file read.

Change-Id: Ie7f86b6e340b32e554d283ea8cb9be115478e71a
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
9 years agoinclude aul_svc.h
Jiwoong Im [Wed, 7 Oct 2015 04:05:39 +0000 (13:05 +0900)]
include aul_svc.h

- appsvc migrate to aul.
- APPSVC_K_LAUNCH_RESULT_APP_STARTED is replaced to AUL_SVC_K_LAUNCH_RESULT_APP_STARTED

Change-Id: I2ef278ae708d2df5d495cfc8e2b9fa67c14d1452
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoUse aul APIs for resource manager.
Myungki Lee [Wed, 30 Sep 2015 06:14:15 +0000 (15:14 +0900)]
Use aul APIs for resource manager.

Change-Id: I364e7aedc675826ed7efebc2ca7de066c9ff133f
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
9 years agoCheck the permission denied error code
Sangyoon Jang [Fri, 11 Sep 2015 05:27:20 +0000 (14:27 +0900)]
Check the permission denied error code

Change-Id: I9c3042db0b5d8fd69d21cb29e2004268fcdcee43
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agochange appsvc_get_list to appsvc_usr_get_list
Jiwoong Im [Wed, 26 Aug 2015 06:28:54 +0000 (15:28 +0900)]
change appsvc_get_list to appsvc_usr_get_list

- To get regular user's app_control list, change appsvc_get_list to
appsvc_usr_get_list

Change-Id: I773890311005f807c749f8df9ac3403d4e20f8b2
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoadd async launch request result
Jiwoong Im [Mon, 3 Aug 2015 08:32:26 +0000 (17:32 +0900)]
add async launch request result

add app_control_enable_launch_result_event() api

Change-Id: I0bf5904c1e119765d8f8e6bad1583d239f3dd989
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoTo fix error handling for _preference_get_key_name func.
Myungki Lee [Mon, 10 Aug 2015 12:59:26 +0000 (21:59 +0900)]
To fix error handling for _preference_get_key_name func.

Change-Id: I2d7c49f8f06764f88203997486052f8b8d272830
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
9 years agoTo use hash value for file name.
Myungki Lee [Thu, 6 Aug 2015 11:36:19 +0000 (20:36 +0900)]
To use hash value for file name.

Change-Id: I3e6b068853a2c4b3195928c4b29136bb572fd5ed
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
9 years agomodify header files.
Jiwoong Im [Wed, 5 Aug 2015 10:36:10 +0000 (19:36 +0900)]
modify header files.

- change app_private.h to app_internal.h
- revise app.h

Change-Id: Icf4b6d0c6d650611dde09067aab418eea94b8643
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agosync app resource manager source with tizen_2.4
Jiwoong Im [Mon, 27 Jul 2015 05:48:25 +0000 (14:48 +0900)]
sync app resource manager source with tizen_2.4

Change-Id: I0cd21df91a67e9e31372e718e21f44109e5f5b87
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoadd app_get_tep_resource_path api.
Jiwoong Im [Mon, 3 Aug 2015 05:09:14 +0000 (14:09 +0900)]
add app_get_tep_resource_path api.

Change-Id: Iea5dcce44d2fe6da44a94c4ac74e546d677716e8
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoSync with tizen 2.4.
Myungki Lee [Fri, 24 Jul 2015 05:24:50 +0000 (14:24 +0900)]
Sync with tizen 2.4.
1. To use the POSIX portable file name(base64 encode/decode)
2. Use keynode for interface of internal api.

Change-Id: I1336ce86f0f794ff2253ab70edd3c47cfb25840a
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
9 years agosync app_event source with 2.4
Jiwoong Im [Tue, 7 Jul 2015 02:21:48 +0000 (11:21 +0900)]
sync app_event source with 2.4

- bugfix earlier feature and remove not-used value.
- Fix event_publish_app_event error code.

Change-Id: I818fc80a2490a09c86fa8cbfd0c236e18fa307ef
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoremove ail dependency
Jiwoong Im [Fri, 3 Jul 2015 07:20:29 +0000 (16:20 +0900)]
remove ail dependency

- replace ail api to pkgmgr-info api.

Change-Id: I014aa13dcc3f962838f68a4396663ea5a2ef80f8
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoadd apis to set/get launch mode
Jiwoong Im [Thu, 11 Jun 2015 05:52:39 +0000 (14:52 +0900)]
add apis to set/get launch mode

Change-Id: Ia9219247433425735efc117d72bbe4f67c26913f
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoupdate preference source from tizen 2.4
Jiwoong Im [Fri, 29 May 2015 07:54:32 +0000 (16:54 +0900)]
update preference source from tizen 2.4

change logic and apply inotify.

Change-Id: If361b058c81cf1cb235c661e967417fc9cca9e19
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoMerge "add new resource management API" into tizen
Semun Lee [Wed, 3 Jun 2015 02:45:12 +0000 (19:45 -0700)]
Merge "add new resource management API" into tizen

9 years agoUpdate doxygen
Sangyoon Jang [Tue, 2 Jun 2015 08:41:25 +0000 (17:41 +0900)]
Update doxygen

update doxygen from Tizen 2.4
seperate errno definition

Change-Id: I6a36796c7cac94dda3c43ebb78c250ffc51e5b0e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoClean up repository
Sangyoon Jang [Mon, 1 Jun 2015 06:45:39 +0000 (15:45 +0900)]
Clean up repository

remove debian directory
remove unnecessary permissions

Change-Id: I63f5e881d3baf7a4e0475c1e346694d1ea60a88e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoadd new resource management API
Jiwoong Im [Fri, 29 May 2015 05:41:43 +0000 (14:41 +0900)]
add new resource management API

The Resource Manager API provides functions to use different
resources(images, layout, sounds) between each devices have different
device specification.

JIRA ticket : TC-2491

Change-Id: I61257df2e2b0baf73696bf5413c0f122b350c89d
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoMerge "Add event system api." into tizen
Semun Lee [Sat, 30 May 2015 06:06:18 +0000 (23:06 -0700)]
Merge "Add event system api." into tizen

9 years agoadd the new APIS for alarm
Jiwoong Im [Wed, 27 May 2015 02:06:55 +0000 (11:06 +0900)]
add the new APIS for alarm

- alarm_schedule_once_after_delay
- alarm_schedule_once_at_date

Change-Id: Iab54567af28aa11a8b5cb88da80f98ab2fe97c42
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoAdd event system api.
Jiwoong Im [Tue, 26 May 2015 08:55:30 +0000 (17:55 +0900)]
Add event system api.

Add new api (add/remove event handler and publish user event) for native application.

- new api list
event_add_event_handler()
event_remove_event_handler()
event_publish_app_event()
event_publish_trusted_app_event()

JIRA ticket : TC-2473

Change-Id: I6ac68ecf85cc3db45a79c91abe6525d59e33564a
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoreplay appsvc_run_service to appsvc_usr_run_service in app_control
Jiwoong Im [Thu, 14 May 2015 05:23:07 +0000 (14:23 +0900)]
replay appsvc_run_service to appsvc_usr_run_service in app_control

To launch application correctly in user-session, appsvc_run_serice
should be replaced to appsvc_usr_run_service.

Change-Id: I19c715876ec72e0462ed611f0c66a806ed7d5e08
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoSeparate app-control, alarm, preference, and common api.
Jiwoong Im [Fri, 17 Apr 2015 07:32:59 +0000 (16:32 +0900)]
Separate app-control, alarm, preference, and common api.

JIRA ticket : TC-2497

- In tizen 2.3 release, capi-appfw-application package was separated by
function. (app-control, alarm, preference, app-common).
- To apply this change with no build break, temporarily add all separated
package to pc_requires in capi-appfw-application.pc file

Change-Id: Id92d5a9abbfd6ff478e0469da5596b4967444ca8
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoRemove notification dependency.
Jiwoong Im [Wed, 15 Apr 2015 07:51:40 +0000 (16:51 +0900)]
Remove notification dependency.

Jira ticket : TC-2496

Change-Id: I94d80b2c4c7c024593fa6f6be5b0fbbf837f5ad4
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoMerge "Remove ui_notification" into tizen
Semun Lee [Wed, 15 Apr 2015 07:24:17 +0000 (00:24 -0700)]
Merge "Remove ui_notification" into tizen

9 years agoMerge "Remove storage api" into tizen
Semun Lee [Wed, 15 Apr 2015 07:24:13 +0000 (00:24 -0700)]
Merge "Remove storage api" into tizen

9 years agoRemove ui_notification
Sangyoon Jang [Tue, 14 Apr 2015 01:51:47 +0000 (10:51 +0900)]
Remove ui_notification

TC-2496

there is a cyclic dependency between application api and notification
api
notification functions should be implemented at notification api

Change-Id: Icc3c50ad923ab3a5c0cf685c2ef54e5bc2d2d09f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoRemove storage api
Sangyoon Jang [Tue, 14 Apr 2015 01:40:23 +0000 (10:40 +0900)]
Remove storage api

TC-2495

storage api is supported in libstorage

Change-Id: I692f9229d4763c6dc47de56bd123877fa981f256
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoQuickfix multi-user in appsvc function calls
Tomasz Iwanek [Tue, 13 Jan 2015 14:26:52 +0000 (15:26 +0100)]
Quickfix multi-user in appsvc function calls

This commit assumes there is no point to run service for global user.
I see no sense for this so just switch API.

Change-Id: If17257d194cb9aa0ad3cc0b6685bc8c7fa33f3fb

9 years agoMerge "Update preference api source from tizen_2.3" into tizen
Suchang Woo [Tue, 17 Feb 2015 01:01:11 +0000 (17:01 -0800)]
Merge "Update preference api source from tizen_2.3" into tizen