platform/core/appfw/aul-1.git
7 years agoFix app_launcher tool for debugging web app 30/141030/1
Hwankyu Jhun [Fri, 28 Jul 2017 00:47:14 +0000 (09:47 +0900)]
Fix app_launcher tool for debugging web app

Change-Id: Ic48e60092c1bbe001c1f8e311a01b6d9f937ffb0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix double free issue 80/140980/2
Hwankyu Jhun [Thu, 27 Jul 2017 10:02:24 +0000 (19:02 +0900)]
Fix double free issue

Change-Id: I339aebc485ae9c1bb1a8e3b492255c9baafab0ab
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix bug about web debug option 75/140975/1
Hwankyu Jhun [Thu, 27 Jul 2017 09:46:57 +0000 (18:46 +0900)]
Fix bug about web debug option

Change-Id: I377e05038c4fa611d5fd722b0391218a809b475c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.7.3 05/139905/1 accepted/tizen/unified/20170724.020239 submit/tizen/20170721.041626
Hwankyu Jhun [Fri, 21 Jul 2017 04:10:44 +0000 (13:10 +0900)]
Release version 0.7.3

Changes:
 - Refactor service db code
 - Fix aul app com header file

Change-Id: Iaecfa6bb54865501797ecbfd72280a8cf5486e7c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRefactor service db code 91/139491/5
Hwankyu Jhun [Wed, 19 Jul 2017 06:12:43 +0000 (15:12 +0900)]
Refactor service db code

- Remove using snprintf for preparing sqlite3 query
- Add a function to close the app info db

Change-Id: I3d09ec59cf5ea28f34aa8f57dc4d88b2f1c5051a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRevert "Set the timeout about sending dbus message" 34/139434/1
Hwankyu Jhun [Wed, 19 Jul 2017 03:00:31 +0000 (12:00 +0900)]
Revert "Set the timeout about sending dbus message"

This reverts commit 7a69715bf1e849b8d95c85755037502488020a26.

Change-Id: I5bd88fdbc5e7efb3fa57cf72eea3c2ef0505a011

7 years agoSet the timeout about sending dbus message 96/139396/1
Hwankyu Jhun [Wed, 19 Jul 2017 00:31:59 +0000 (09:31 +0900)]
Set the timeout about sending dbus message

The timeout interval is 5 seconds.

Change-Id: Idab178dcbcbb7c28217bdc98af59069623683ccf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix aul app com header file 88/138988/1
Hwankyu Jhun [Fri, 14 Jul 2017 12:47:18 +0000 (21:47 +0900)]
Fix aul app com header file

- Make explicit the linkage

Change-Id: I07b53400b6a34a47063c66c270b3c6c13104f90e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.7.2 94/136294/1 accepted/tizen/unified/20170703.064111 submit/tizen/20170629.060228
Hwankyu Jhun [Thu, 29 Jun 2017 04:51:56 +0000 (13:51 +0900)]
Release version 0.7.2

Changes:
 - Deprecate fast launch option
 - Add bundle data for fast launch option
 - Fix invalid log format
 - Fix a bug about sending wrong type of parameter
 - Allocate buffer dynamically for input string

Change-Id: Ia24f43632b13477a33922d04c07601314e1ff14e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoDeprecate fast launch option 73/135473/1
Hwankyu Jhun [Thu, 22 Jun 2017 11:51:24 +0000 (20:51 +0900)]
Deprecate fast launch option

AMD starts in system-session. So, the option is not needed.

Change-Id: If0c8d1618df64787ebcf57e080ec724f4f005bc3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd bundle data for fast launch option 64/135464/1
Hwankyu Jhun [Wed, 21 Jun 2017 05:48:05 +0000 (14:48 +0900)]
Add bundle data for fast launch option

When the user use the app_launcher tool with fast launch option,
AUL_K_FAST_LAUNCH key/value will be added on bundle data.

Change-Id: Iad905a828cdc1dba4516f577d396267c43452abb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix invalid log format 30/135030/1
Hwankyu Jhun [Wed, 21 Jun 2017 00:20:26 +0000 (09:20 +0900)]
Fix invalid log format

Change-Id: If5f38463cc1c1c5aa8488683b6aaca3f0fbce901
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix a bug about sending wrong type of parameter 99/134299/1
Junghoon Park [Fri, 16 Jun 2017 01:50:23 +0000 (10:50 +0900)]
Fix a bug about sending wrong type of parameter

Change-Id: Ifaa671e07cdc659934dc7d276e8823db9f363c9b
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoAllocate buffer dynamically for input string 61/133261/3
Hyunho Kang [Fri, 9 Jun 2017 10:56:52 +0000 (19:56 +0900)]
Allocate buffer dynamically for input string

- To prevent buffer overflow

Change-Id: I1855e97ab27613757de49ce535895386a7842544
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRelease version 0.7.1 34/133134/1 accepted/tizen/unified/20170609.204210 submit/tizen/20170609.050739
Jiwoong Im [Fri, 9 Jun 2017 04:53:56 +0000 (13:53 +0900)]
Release version 0.7.1

Changes:
 - Fix buffer overflow
 - Add error handling in datacontrol socket pair request

Change-Id: I29de1928d41c8161657a50bbbd1d38089ad52381
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoAdd error handling in datacontrol socket pair request 80/129880/9
Jiwoong Im [Thu, 18 May 2017 08:38:32 +0000 (17:38 +0900)]
Add error handling in datacontrol socket pair request

- Related patches
  [data-control] https://review.tizen.org/gerrit/#/c/129882/
  [amd] https://review.tizen.org/gerrit/#/c/129881/
  [tpk-manifest-handler] https://review.tizen.org/gerrit/#/c/129211/
  [app-installers] https://review.tizen.org/gerrit/#/c/129212/
  [pkgmgr-info] https://review.tizen.org/gerrit/#/c/129210/

Change-Id: I1205afa15bfde588dd005fb8fd95549a3556d4f3
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoFix buffer overflow 55/132555/1
Hwankyu Jhun [Wed, 7 Jun 2017 01:38:27 +0000 (10:38 +0900)]
Fix buffer overflow

The entries should be a NULL-terminated array.

Change-Id: I538f912f861e6a0a113808c5ee0865fcab4b9cf4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.7.0 22/132022/1 accepted/tizen/unified/20170607.063223 submit/tizen/20170531.235759
Hwankyu Jhun [Thu, 1 Jun 2017 00:24:28 +0000 (09:24 +0900)]
Release version 0.7.0

Changes:
 - Clean up app signal
 - Handle widget abnormal exit
 - Add API to get window notification level

Change-Id: I41cf9794012fd48ec7e895ba1029c18f73a38aab
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoClean up app signal 77/130977/5
Hwankyu Jhun [Thu, 25 May 2017 01:31:03 +0000 (10:31 +0900)]
Clean up app signal

- Remove duplicated signals and unused signals

Change-Id: If4357ff30b9ca78b8e021bad80d73bdd9ee7415d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoHandle widget abnormal exit 74/131674/7
Hwankyu Jhun [Wed, 31 May 2017 02:35:49 +0000 (11:35 +0900)]
Handle widget abnormal exit

- Add a new API to notify normal exit
- Add a new definition (AUL_K_WIDGET_FAULT)

Requires:
 - https://review.tizen.org/gerrit/#/c/131685/ [amd]
 - https://review.tizen.org/gerrit/#/c/131676/ [appcore-widget]
 - https://review.tizen.org/gerrit/#/c/131692/ [widget-service]
 - https://review.tizen.org/gerrit/#/c/131695/ [widget-viewer]

Change-Id: I7b6d208c72eb9cc638a98636b9fffbfe0547d04a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd API to get window notification level 10/130110/4
Junghoon Park [Fri, 19 May 2017 06:49:23 +0000 (15:49 +0900)]
Add API to get window notification level

- This API is dependent on dbus method interface which will be provided by window manager

Change-Id: I72f3898498ec28c2fb6316a898bc7cba88d4d4d5
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoRelease version 0.6.8 50/130750/1 accepted/tizen/unified/20170524.032059 submit/tizen/20170523.234630 tizen_4.0.m1_release
Hwankyu Jhun [Tue, 23 May 2017 23:39:57 +0000 (08:39 +0900)]
Release version 0.6.8

Changes:
 - Fix return value of the app_launcher tool

Change-Id: I2679217a9507a702546e6fc8191a60ace4308b0f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix return value of the app_launcher tool 48/130748/1 submit/tizen/20170523.010304
Hwankyu Jhun [Tue, 23 May 2017 22:44:58 +0000 (07:44 +0900)]
Fix return value of the app_launcher tool

If the target app is not running, the app_launcher tool returns "1".

Change-Id: I60fef2f520e475362a37abc27ff9f68f2489f555
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.6.7 27/130027/1 accepted/tizen/unified/20170519.195912 submit/tizen/20170519.015707
Hwankyu Jhun [Fri, 19 May 2017 01:34:00 +0000 (10:34 +0900)]
Release version 0.6.7

Changes:
 - Fix bug about setting bundle data
 - Revert "Revert "Refactor app launcher tool""

Change-Id: Idedd9d78b4be4b65af52f8b7908eb95e480bd0dd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix bug about setting bundle data 04/129904/1
Hwankyu Jhun [Thu, 18 May 2017 09:49:00 +0000 (18:49 +0900)]
Fix bug about setting bundle data

Change-Id: I9a067689bd28fe71083ff78ef2054645fa74bb0e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRevert "Revert "Refactor app launcher tool"" 03/129903/1
Hwankyu Jhun [Thu, 18 May 2017 08:52:55 +0000 (17:52 +0900)]
Revert "Revert "Refactor app launcher tool""

This reverts commit 034c7bf5b8958c573705262325ae7af8bdd28782.

Change-Id: Idf95e63089861810c7707366f49ca930cd580389

7 years agoRelease version 0.6.6 07/129307/1 accepted/tizen/unified/20170516.175440 submit/tizen/20170516.060248
Hwankyu Jhun [Tue, 16 May 2017 04:52:25 +0000 (13:52 +0900)]
Release version 0.6.6

Changes:
 - Add an exception handling about debug mode
 - Fix launch_app tool

Change-Id: If5a0d364ca91f35e6d5044f0611f49cba43ff61f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd an exception handling about debug mode 69/129269/2
Hwankyu Jhun [Tue, 16 May 2017 02:02:15 +0000 (11:02 +0900)]
Add an exception handling about debug mode

When an application is launched by the debug tool and the debug tool
doesn't start to run the application, the launch_app tool waits 5 seconds.
If the user uses the launch_app tool for debugging an application,
the tool will send the launch request by using the aul_launch_app_async API.

Change-Id: I731a7012ff4240651916dea3afcab032facbbfea
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix launch_app tool 21/129121/1
Hwankyu Jhun [Mon, 15 May 2017 05:48:44 +0000 (14:48 +0900)]
Fix launch_app tool

If sending launch request is failed, the tool returns
a negative error value.

Change-Id: Id1c3fd5740cedf344d67e266d08b6c066b6326b0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRevert "Refactor app launcher tool" 08/128808/2 accepted/tizen/unified/20170512.023732 submit/tizen/20170511.114728
Junghoon Park [Thu, 11 May 2017 11:30:29 +0000 (11:30 +0000)]
Revert "Refactor app launcher tool"

This reverts commit 3166b19b8b22967ad9b37bfb8ab2be7c806d5c25.

Change-Id: Ic33964ebce1c0e07d33bb152e49996a256a57907

7 years agoRelease version 0.6.5 10/128210/1 accepted/tizen/unified/20170510.012840 submit/tizen/20170508.042017
Hwankyu Jhun [Mon, 8 May 2017 04:38:05 +0000 (13:38 +0900)]
Release version 0.6.5

Changes:
 - Refactor app launcher tool
 - Add missing exception to set flag

Change-Id: I53d3efac3604b9f0fdb967e4097a5bfba377e25d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRefactor app launcher tool 09/127909/10
Hwankyu Jhun [Tue, 2 May 2017 09:16:43 +0000 (18:16 +0900)]
Refactor app launcher tool

- Use GOption API
- Monitor amd socket creation instead of amd ready creation (-f option)

Change-Id: I298eaec15d5e9efa6485b88e42a1c604884809f6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd missing exception to set flag 34/128134/1
Hwankyu Jhun [Mon, 8 May 2017 00:51:28 +0000 (09:51 +0900)]
Add missing exception to set flag

If getting a target uid is successfully, the flag
will be initialized to true.

Change-Id: Id730d16c8f7ff5fabc77e028834b36f10a2a649b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.6.4 63/126263/1 accepted/tizen/unified/20170421.113814 submit/tizen/20170421.005321
Hwankyu Jhun [Fri, 21 Apr 2017 00:46:57 +0000 (09:46 +0900)]
Release version 0.6.4

Changes:
 - Add a new API to unregister app status event
 - Adds the API for system users
 - Refactor aul_listen_app_status API

Change-Id: Ic56b72cb9ce9568e52dc60ccbe83d92b2f94c6f2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd a new API to unregister app status event 75/125775/4
Hwankyu Jhun [Tue, 18 Apr 2017 23:33:48 +0000 (08:33 +0900)]
Add a new API to unregister app status event

Adds:
 - aul_ignore_app_status()

Change-Id: I5944ae8874625ba9cef568ad090e491558101c17
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdds the API for system users 01/125901/1
Hwankyu Jhun [Wed, 19 Apr 2017 08:52:49 +0000 (17:52 +0900)]
Adds the API for system users

Adds:
 - aul_listen_app_status_for_uid()

Change-Id: I2d7ddebbe641b113bebaf36b47568e6245b2b79b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRefactor aul_listen_app_status API 70/125770/4
Hawnkyu Jhun [Tue, 18 Apr 2017 14:32:41 +0000 (23:32 +0900)]
Refactor aul_listen_app_status API

The APP_LISTEN_STATUS and APP_STATUS_NOTIFICATION are deleted.
The aul_listen_app_status API uses the app com.
This patch changes the callback type to provide more information.

Change-Id: I68272b701d4c7eaf9c64bc67df5d35b3753ad456
Signed-off-by: Hawnkyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.6.3 56/125156/1 accepted/tizen/unified/20170414.163820 submit/tizen/20170414.043651
Hwankyu Jhun [Fri, 14 Apr 2017 04:40:07 +0000 (13:40 +0900)]
Release version 0.6.3

Changes:
 - Remove unnecessary build condition
 - Adds new APIs to send launch request asynchronous
 - Delete unused header file

Change-Id: I1080a464dbc0935e1c37efffcdfc419070af57a3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRemove unnecessary build condition 43/125143/1
Hwankyu Jhun [Fri, 14 Apr 2017 03:54:59 +0000 (12:54 +0900)]
Remove unnecessary build condition

Change-Id: Ic8ef5cda61a8b3ffed60d4860502429179dd8447
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdds new APIs to send launch request asynchronous 71/124571/6
Hwankyu Jhun [Thu, 13 Apr 2017 08:25:40 +0000 (17:25 +0900)]
Adds new APIs to send launch request asynchronous

These APIs are for supporting implicit async launch.

Adds:
 - aul_svc_run_service_async
 - aul_svc_run_service_async_for_uid
 - aul_launch_app_with_result_async
 - aul_launch_app_with_result_async_for_uid

Change-Id: Ib27f9aa0e0f4d2ffbe89dd2b09553dcfd4c159be
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoDelete unused header file 85/124885/1
Hwankyu Jhun [Thu, 13 Apr 2017 02:04:42 +0000 (11:04 +0900)]
Delete unused header file

This patch deletes perf.h file.

Change-Id: Ibdf3373b7181c35a2f15d1a5cbf8c1796b1603b6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.6.2 83/124283/1 accepted/tizen/unified/20170412.152139 submit/tizen/20170411.042057
Hwankyu Jhun [Tue, 11 Apr 2017 05:15:13 +0000 (14:15 +0900)]
Release version 0.6.2

Changes:
 - Fix bug about aul_listen_app_status_signal API
 - Fix memory leak

Change-Id: I7aece2e3c97d98d4aed96c807f434bb57f557850
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix bug about aul_listen_app_status_signal API 37/124237/1
Hwankyu Jhun [Tue, 11 Apr 2017 02:05:32 +0000 (11:05 +0900)]
Fix bug about aul_listen_app_status_signal API

Change-Id: Iebd439562003e9b8442e335ff0bac49e8e37a76a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix memory leak 13/124113/1
Hwankyu Jhun [Mon, 10 Apr 2017 08:19:14 +0000 (17:19 +0900)]
Fix memory leak

Change-Id: Ic740ba64789ddf7b4be9843128888141e4abd3c8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.6.1 78/123778/1 accepted/tizen/unified/20170407.190633 submit/tizen/20170407.042402
Hwankyu Jhun [Fri, 7 Apr 2017 04:19:03 +0000 (13:19 +0900)]
Release version 0.6.1

Changes:
 - Fix memory leak

Change-Id: I165ac56a7dedd6e632614b1ab72f864a3dbf3cea
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix memory leak 17/123517/1
Hwankyu Jhun [Thu, 6 Apr 2017 03:55:28 +0000 (12:55 +0900)]
Fix memory leak

Change-Id: If08b9d9df930a5f8342398f22baaf821f9ff4039
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.6.0 47/123047/1 accepted/tizen/unified/20170406.053936 submit/tizen/20170404.094507 submit/tizen/20170404.104822
Hwankyu Jhun [Tue, 4 Apr 2017 08:48:24 +0000 (17:48 +0900)]
Release version 0.6.0

Changes:
 - Add APIs for attaching and detaching window
 - Adjust app packet size

Change-Id: I7f1067982090b84e5602c33aadb6b5a938ffc464
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd APIs for attaching and detaching window 46/120646/4
Junghoon Park [Thu, 23 Mar 2017 12:05:07 +0000 (21:05 +0900)]
Add APIs for attaching and detaching window

Change-Id: I75a3465b58f898e691ffe2ba65dce9e49e39ad0d
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoAdjust app packet size 24/119724/8
Hwankyu Jhun [Mon, 20 Mar 2017 02:19:35 +0000 (11:19 +0900)]
Adjust app packet size

Now, the malloc() and calloc() functions allocate 12 bytes
when the datalen is 0.

Change-Id: Ie00954c3fe8460c7a94b34b6ee4bd8e632e3f412
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.5.0 53/122153/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170330.151958 accepted/tizen/ivi/20170330.224256 accepted/tizen/mobile/20170330.223952 accepted/tizen/tv/20170330.224128 accepted/tizen/unified/20170330.224339 accepted/tizen/wearable/20170330.224218 submit/tizen/20170330.090650
Sangyoon Jang [Thu, 30 Mar 2017 09:25:41 +0000 (18:25 +0900)]
Release version 0.5.0

Changes:
 - Remove unnecessary bundle key
 - Add a new app_cmd enum value
 - Fix the description about aul_launch_app_async API
 - Fix a bug on aul_listen_app_launch_signal_v2

Change-Id: I72e44e6d83c00cf3cf769b842006073ec0bc1d41
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix a bug on aul_listen_app_launch_signal_v2 96/122096/1
Sangyoon Jang [Thu, 30 Mar 2017 07:23:33 +0000 (16:23 +0900)]
Fix a bug on aul_listen_app_launch_signal_v2

Change-Id: I20b884a26b34dae29336996f23e0cf5c04174ff1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix the description about aul_launch_app_async API 04/121604/2
Hwankyu Jhun [Tue, 28 Mar 2017 10:04:16 +0000 (19:04 +0900)]
Fix the description about aul_launch_app_async API

Change-Id: I5892455bd5c5692bc1fc427001e41e2660e5b293
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd a new enum value 90/120590/3
Hwankyu Jhun [Thu, 23 Mar 2017 08:37:33 +0000 (17:37 +0900)]
Add a new enum value

- APP_STARTUP_SIGNAL

Change-Id: I34b5cfdfd9fca0e4ff12b672184912d11bfc319f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRemove bundle keys 37/121437/1
Hwankyu Jhun [Tue, 28 Mar 2017 04:43:05 +0000 (13:43 +0900)]
Remove bundle keys

The AUL_SVC_K_CAN_BE_LEADER, AUL_SVC_K_REROUTE and AUL_SVC_K_RECYCLE keys
are removed in the aul_forward_app API.

Change-Id: I784864e187aedb3f01a335b64bfd97d5c36783b0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRemove unnecessary bundle key 62/121362/1
Hwankyu Jhun [Tue, 28 Mar 2017 01:06:48 +0000 (10:06 +0900)]
Remove unnecessary bundle key

The K_CAN_BE_LEADER key is for special apps.

Change-Id: Ie6ab571daea5c9a67a63245f1ff8e056b1a8b4db
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.4.6 17/120017/1 accepted/tizen/common/20170321.102854 accepted/tizen/ivi/20170321.095428 accepted/tizen/mobile/20170321.095329 accepted/tizen/tv/20170321.095350 accepted/tizen/unified/20170321.095449 accepted/tizen/wearable/20170321.095412 submit/tizen/20170321.064722
Hwankyu Jhun [Tue, 21 Mar 2017 06:44:25 +0000 (15:44 +0900)]
Release version 0.4.6

Changes:
 - Adjust execute label about aul tools

Change-Id: Ie37b0c2710a580fad43a39431e3d28809175b9bb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdjust execute label about aul tools 13/120013/1
Hwankyu Jhun [Tue, 21 Mar 2017 06:40:06 +0000 (15:40 +0900)]
Adjust execute label about aul tools

Change-Id: I5214736080b84cc52bb3180967620ffcb199cdd0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.4.5 62/119762/1 accepted/tizen/common/20170320.173627 accepted/tizen/ivi/20170320.222028 accepted/tizen/mobile/20170320.221929 accepted/tizen/tv/20170320.221953 accepted/tizen/unified/20170320.222046 accepted/tizen/wearable/20170320.222011 submit/tizen/20170320.054003
Hyunho Kang [Mon, 20 Mar 2017 05:18:21 +0000 (14:18 +0900)]
Release version 0.4.5

Changes:
   - Adjust smack label about aul tools
   - Add a new enum value about widget event

Change-Id: Ide47461fd37df1e51fa9b494d0373eef6714f704
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdjust smack label about aul tools 32/119732/1
Hwankyu Jhun [Mon, 20 Mar 2017 02:25:21 +0000 (11:25 +0900)]
Adjust smack label about aul tools

The applications should not access the aul tools.

Change-Id: I410af236b9d1819fb3b22b5dfd061a625cbc762d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd a new enum value about widget event 76/119476/1
Hwankyu Jhun [Fri, 17 Mar 2017 05:18:12 +0000 (14:18 +0900)]
Add a new enum value about widget event

Change-Id: Ibd205909f31a3c7663ef003e1ac201172bc12f77
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.4.4 09/118709/1 accepted/tizen/common/20170314.172940 accepted/tizen/ivi/20170314.075343 accepted/tizen/mobile/20170314.075210 accepted/tizen/tv/20170314.075309 accepted/tizen/unified/20170314.075405 accepted/tizen/wearable/20170314.075328 submit/tizen/20170314.023754
Hwankyu Jhun [Mon, 13 Mar 2017 23:19:46 +0000 (08:19 +0900)]
Release version 0.4.4

Changes:
 - Fix the aul_app_group_set_window API
 - Set the cache even though app-selector is resolved

Change-Id: Idef03381760aa15186e4246ebe5c128b1f56e4fb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix the aul_app_group_set_window API 95/118595/2
Hwankyu Jhun [Mon, 13 Mar 2017 08:16:36 +0000 (17:16 +0900)]
Fix the aul_app_group_set_window API

- Use app_send_cmd_with_noreply() instead of app_send_cmd()

Change-Id: I1989f54607a1861428f6e01ad5f43514431df624
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoSet the cache even though app-selector is resolved 28/116228/2
Junghoon Park [Thu, 23 Feb 2017 10:43:41 +0000 (19:43 +0900)]
Set the cache even though app-selector is resolved

Change-Id: I6c5f66a91d772facdc29b405952d59223b1624a5
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoRelease version 0.4.3 06/118306/1 accepted/tizen/common/20170310.122244 accepted/tizen/ivi/20170310.102713 accepted/tizen/mobile/20170310.102553 accepted/tizen/tv/20170310.102637 accepted/tizen/unified/20170310.104639 accepted/tizen/wearable/20170310.102654 submit/tizen/20170310.035738 submit/tizen_unified/20170310.103405
Hwankyu Jhun [Fri, 10 Mar 2017 03:35:14 +0000 (12:35 +0900)]
Release version 0.4.3

Changes:
 - Modify screen connector

Change-Id: Ic1efd5bf332f70cca9d011b9c80f399145f231ef
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoModify screen connector 66/114866/27
Hwankyu Jhun [Wed, 15 Feb 2017 10:09:21 +0000 (19:09 +0900)]
Modify screen connector

If the application registers the private screen viewer,
it can only get own sub-app screen information.
This concept is for the widget viewer.
And, the screen viewer can get the instance-id in the callback.

Change-Id: I33462b110f5f0207f1ce65cc0b833f1a66a22aa6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.4.2 06/117906/1 accepted/tizen/common/20170309.175057 accepted/tizen/ivi/20170308.121140 accepted/tizen/mobile/20170308.120952 accepted/tizen/tv/20170308.121046 accepted/tizen/unified/20170310.075652 accepted/tizen/wearable/20170308.121104 submit/tizen/20170308.044817 submit/tizen_unified/20170310.011401
Hwankyu Jhun [Wed, 8 Mar 2017 04:23:49 +0000 (13:23 +0900)]
Release version 0.4.2

Changes:
 - Improve the query performance
 - Send large app_pkt_t properly
 - Add test command for aul_app_status_listen internal API
 - Freeing the memory returned by strdup() after adding to bundle
 - Fix bug about resolving appid

Change-Id: Ib203c4e8d97454f23990cbeafdd04e7f99efe1f6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoImprove the query performance 55/117555/1
Junghoon Park [Mon, 6 Mar 2017 02:14:21 +0000 (11:14 +0900)]
Improve the query performance

- Because of multi-user concept, user db file is added
- Attaching db file caused bad performance

Change-Id: I76acda5c3eba13cbcdfc4c6a47d44c502f1bbf82
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
(cherry picked from commit 38d4f9780b3d254464f4bfe81208646c4d2bf3d2)

7 years agoSend large app_pkt_t properly 28/117328/1
Semun Lee [Sat, 4 Mar 2017 05:40:58 +0000 (14:40 +0900)]
Send large app_pkt_t properly

move buffer for send() call properly

Change-Id: I45c3a6012cb204ecb052ed8d4f2239e21034f44a
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
(cherry picked from commit 77323935b69e5a95c466258015db450ad1671b7d)

7 years agoAdd test command for aul_app_status_listen internal API 22/117122/1
Semun Lee [Fri, 3 Mar 2017 02:00:36 +0000 (11:00 +0900)]
Add test command for aul_app_status_listen internal API

Change-Id: Iedd4e31bf595c11c6c1cbe0cf9113732028d9890
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
7 years agoFreeing the memory returned by strdup() after adding to bundle 33/116733/1
darpan.ka [Tue, 28 Feb 2017 04:22:36 +0000 (09:52 +0530)]
Freeing the memory returned by strdup() after adding to bundle

Change-Id: Ib2860bfc73dd1d225f31deed8b3a62a0388c0f97
Signed-off-by: darpan.ka <darpan.ka@samsung.com>
(cherry picked from commit a2daf54942526a1b77b6d4dd8be34826a427c145)

7 years agoFix bug about resolving appid 95/116195/1
Junghoon Park [Thu, 23 Feb 2017 07:48:49 +0000 (16:48 +0900)]
Fix bug about resolving appid

- uris having the same scheme wasn't be saved as scheme type in appsvc db when
  setting default apps

Change-Id: If8b97be4b0a72039a38c19bb4690f7ba4cc9353e
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
(cherry picked from commit 412e2ecac2b3356c632e3e3d5afae3078e6c890f)

7 years agoRelease version 0.4.1 61/115961/1 accepted/tizen/common/20170222.124612 accepted/tizen/ivi/20170222.222237 accepted/tizen/mobile/20170222.222103 accepted/tizen/tv/20170222.222203 accepted/tizen/unified/20170309.032022 accepted/tizen/wearable/20170222.222217 submit/tizen/20170222.090515 submit/tizen_unified/20170308.100405
Hwankyu Jhun [Wed, 22 Feb 2017 07:16:51 +0000 (16:16 +0900)]
Release version 0.4.1

Changes:
 - Add api to get focused pid
 - Fix static analysis issue
 - Fix bug about getting app root path
 - Modify request cmd dlog level and message
 - Re-adjust resource manager logs
 - Make sensitive logs as secure

Change-Id: I17793fbb9fddd5d5b44c5668799117fe64e59c66
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd api to get focused pid 38/115938/1
Junghoon Park [Wed, 22 Feb 2017 05:16:19 +0000 (14:16 +0900)]
Add api to get focused pid

Change-Id: I49a818686b6011b0969726c7a5c44bc5e4d10813
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
(cherry picked from commit 3fcfd80f9447ce9fc3845d1e1f3c6515390d1fd2)

7 years agoFix static analysis issue 05/115705/3
Hwankyu Jhun [Tue, 21 Feb 2017 05:49:26 +0000 (14:49 +0900)]
Fix static analysis issue

Change-Id: Idacbe2ace4fc13a9ba27086889ca0b99c024110b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix bug about getting app root path 55/115755/2
Hwankyu Jhun [Tue, 21 Feb 2017 07:56:52 +0000 (16:56 +0900)]
Fix bug about getting app root path

Change-Id: I258623afed30d3da08c7dea3c7dec1a4823a529a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoModify request cmd dlog level and message 12/115812/2
Jaeho Lee [Tue, 21 Feb 2017 04:41:48 +0000 (13:41 +0900)]
Modify request cmd dlog level and message

Change-Id: I104800d2225cf51711bf6ba59c1577b1ef807d32
(cherry picked from commit ab1b6aeeed95afda0c44657328404b33826010e1)

7 years agoRe-adjust resource manager logs 14/115814/1
Venkatesha Sarpangala [Mon, 20 Feb 2017 06:53:24 +0000 (12:23 +0530)]
Re-adjust resource manager logs

Modify resource manager cache error log level and error message

Change-Id: Ibdd8bb1b6eaa98aa82c8e1e57b74b55a89e31535
Signed-off-by: Venkatesha Sarpangala <sarpangala.v@samsung.com>
7 years agoMake sensitive logs as secure 37/115337/1
aashish.g [Thu, 16 Feb 2017 10:46:41 +0000 (16:16 +0530)]
Make sensitive logs as secure

few logs display file path which are user private data.
Changing log from LOGD or _D to SECURE_LOGD to protect sensitive data.

Change-Id: I7f88a96efb4b7d6383e4907a087f6a21479362fc
Signed-off-by: aashish.g <aashish.g@samsung.com>
7 years agoRelease version 0.4.0 62/114762/1 accepted/tizen/common/20170215.170920 accepted/tizen/ivi/20170215.085359 accepted/tizen/mobile/20170215.085141 accepted/tizen/tv/20170215.085243 accepted/tizen/wearable/20170215.085324 submit/tizen/20170215.044402
Hwankyu Jhun [Wed, 15 Feb 2017 04:11:02 +0000 (13:11 +0900)]
Release version 0.4.0

Changes:
 - Resolve appid using AMD cache
 - Add new APIs to resume app instance
 - Handling single quote during app control resolution
 - Add APIs to get window stack information

Change-Id: I047287bc8d38e1d7002dc0e6e8ae7dcda70e14d5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoResolve appid using AMD cache 72/114672/8
Junghoon Park [Tue, 14 Feb 2017 10:58:38 +0000 (19:58 +0900)]
Resolve appid using AMD cache

Change-Id: I1659b50b3f8f09dd3f036d564e4448134fec9360
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoAdd new APIs to resume app instance 23/114723/3
Hwankyu Jhun [Tue, 14 Feb 2017 22:52:06 +0000 (07:52 +0900)]
Add new APIs to resume app instance

Change-Id: I0906bf504812465e7811e16c3bf08fc529c0e620
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoHandling single quote during app control resolution 11/114711/1
Junghoon Park [Tue, 14 Feb 2017 07:30:04 +0000 (16:30 +0900)]
Handling single quote during app control resolution

Change-Id: Ia59873ca475662967169094a2a551aef77787c89
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoAdd APIs to get window stack information 47/114347/7
Junghoon Park [Mon, 13 Feb 2017 05:38:05 +0000 (14:38 +0900)]
Add APIs to get window stack information

Change-Id: Ibdfc43bbc4b88a3cff1f6c6c8037dcaff6e8f7c1
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoRelease version 0.3.2 29/114429/1 accepted/tizen/common/20170214.173428 accepted/tizen/ivi/20170214.010552 accepted/tizen/mobile/20170214.010302 accepted/tizen/tv/20170214.010417 accepted/tizen/wearable/20170214.010447 submit/tizen/20170213.101405
Hwankyu Jhun [Mon, 13 Feb 2017 09:28:09 +0000 (18:28 +0900)]
Release version 0.3.2

Changes:
 - Fix memory leak

Change-Id: Ie7d252aa9caa04c335253b5307cf73ca98435fd4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix memory leak 27/113727/1
Hwankyu Jhun [Wed, 8 Feb 2017 12:10:10 +0000 (21:10 +0900)]
Fix memory leak

Change-Id: I5e79c6d4961869b34feb631a8717d3b26604970c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.3.1 29/112629/3 accepted/tizen/common/20170203.161757 accepted/tizen/ivi/20170205.234126 accepted/tizen/mobile/20170205.234028 accepted/tizen/tv/20170205.234053 accepted/tizen/wearable/20170205.234107 submit/tizen/20170203.072358
Hwankyu Jhun [Thu, 2 Feb 2017 04:47:10 +0000 (13:47 +0900)]
Release version 0.3.1

Changes:
 - Create socket link for debug mode
 - Fix memory leak

Change-Id: I6ccd58f9b3b777c5658da238894aece348084a73
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoCreate socket link for debug mode 68/112668/5
Hwankyu Jhun [Thu, 2 Feb 2017 06:42:55 +0000 (15:42 +0900)]
Create socket link for debug mode

When the application is launched by the debugger,
the socket link should be created for re-launching the application.
Until now, the running application by the debugger could not
get the re-launch request.

Requires:
 - https://review.tizen.org/gerrit/#/c/112729/

Change-Id: I1f25f342ef3eeac3dae3e66749fe9a11f7d8851c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix memory leak 59/112559/1
Hwankyu Jhun [Wed, 1 Feb 2017 11:18:21 +0000 (20:18 +0900)]
Fix memory leak

Change-Id: I2d022608e4dd55edf97241b0fe690655256c31de
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.3.0 27/111927/1 accepted/tizen/common/20170203.161550 submit/tizen/20170125.052415 submit/tizen/20170201.055134 submit/tizen/20170202.033829
Hwankyu Jhun [Wed, 25 Jan 2017 04:34:31 +0000 (13:34 +0900)]
Release version 0.3.0

Changes:
 - Fix versioning
 - Fix wrong error handling
 - Support app group instance launch
 - Resolving memory leak in _svc_db_check_perm
 - Prevent SIGPIPE

Change-Id: I9dd9b344d55efc6cccc12f793313be69058fb1e1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix versioning 24/111924/2
Hwankyu Jhun [Wed, 25 Jan 2017 04:27:34 +0000 (13:27 +0900)]
Fix versioning

Change-Id: I2b4ce17610e2abd3d3df4abbd9f0a907fa9edae0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix wrong error handling 69/111769/1
Sangyoon Jang [Tue, 24 Jan 2017 02:15:36 +0000 (11:15 +0900)]
Fix wrong error handling

Change-Id: I3e10f66df46ba7406a3fa85c7b2a34ba6e537f33
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoSupport app group instance launch 07/111507/2
Hawnkyu Jhun [Sat, 21 Jan 2017 02:26:51 +0000 (11:26 +0900)]
Support app group instance launch

- Add new internal APIs to get instance id

Change-Id: I75dbed523133202c8ad52faa5eaf9b44e2f6158f
Signed-off-by: Hawnkyu Jhun <h.jhun@samsung.com>
7 years agoResolving memory leak in _svc_db_check_perm
darpan.ka [Thu, 19 Jan 2017 12:29:12 +0000 (17:59 +0530)]
Resolving memory leak in _svc_db_check_perm

Change-Id: I64e25e9eda3a5193c73b005611a5b4d6b3915a8b
Signed-off-by: darpan.ka <darpan.ka@samsung.com>
7 years agoPrevent SIGPIPE 56/111156/1
Hwankyu Jhun [Thu, 19 Jan 2017 23:41:34 +0000 (08:41 +0900)]
Prevent SIGPIPE

- Use MSG_NOSIGNAL option

Change-Id: I4c5ec80709d0135e2250d5003423c03a70138faa
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.2.0 97/110997/2 accepted/tizen/common/20170125.112831 accepted/tizen/ivi/20170119.222134 accepted/tizen/mobile/20170119.221630 accepted/tizen/tv/20170119.221909 accepted/tizen/wearable/20170119.222024 submit/tizen/20170119.070147
Hwankyu Jhun [Thu, 19 Jan 2017 06:39:14 +0000 (15:39 +0900)]
Release version 0.2.0

Changes:
 - Remove unused API
 - Remove Profile Build Dependency
 - Support receiving result callbacks for system daemon

Change-Id: I4a9a91d4216be5724daaac950684d1a34540011d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRemove unused API 02/110802/2
Hwankyu Jhun [Wed, 18 Jan 2017 05:55:06 +0000 (14:55 +0900)]
Remove unused API

The aul_get_app_external_specific_path API is not being used.

Change-Id: Ie3fb48f2aca7ff90044a16d92e9c2cb150d41d06
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRemove Profile Build Dependency: Do it at runtime 43/97343/9
MyungJoo Ham [Mon, 14 Nov 2016 02:22:45 +0000 (11:22 +0900)]
Remove Profile Build Dependency: Do it at runtime

- This is for Tizen 4.0.

  : Tizen 4.0 Configurability and Build Blocks require
  to remove all profile-depending build options in spec files.
  (No More profile macros)

- It is recommended to distinguish features/profiles at runtime.
 unless it incurs too much overhead, which requires you to
 create multiple binaries and subpackages.

Change-Id: I73a928797c69adf91a93fc5d11922d284a17231e
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoSupport receiving result callbacks for system daemon 60/110760/2
Junghoon Park [Mon, 16 Jan 2017 01:24:01 +0000 (10:24 +0900)]
Support receiving result callbacks for system daemon

- Add aul_launch_app_with_result_for_uid() which will be used
at __run_svc_with_pkgname()

Change-Id: Ia6475dcf9310fb7d89e0ca753600771635bf05d0
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoRelease version 0.1.0 09/110509/2 accepted/tizen/common/20170119.171546 submit/tizen/20170117.053142
Hwankyu Jhun [Tue, 17 Jan 2017 01:03:37 +0000 (10:03 +0900)]
Release version 0.1.0

Changes:
- Support multiple instance launch

Change-Id: I3136383cf0923100fddeb749fba3a60397f0c29d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix external path api 33/110533/1
Sangyoon Jang [Tue, 17 Jan 2017 02:20:53 +0000 (11:20 +0900)]
Fix external path api

Change-Id: Ib98be53317e2f546dfbb666052a4dba4f024fd05
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>