platform/core/appfw/launchpad.git
8 years agoEnable compiler option -Werror 69/61569/1
Junghoon Park [Wed, 9 Mar 2016 02:48:55 +0000 (11:48 +0900)]
Enable compiler option -Werror

Change-Id: Ib92b0f8583e29adb7394922cae0e1f21015d4c33
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoFix gdbus type for system users 60/61460/1 accepted/tizen/common/20160310.070841 accepted/tizen/ivi/20160309.010518 accepted/tizen/mobile/20160309.010418 accepted/tizen/tv/20160309.010437 accepted/tizen/wearable/20160309.010454 submit/tizen/20160308.223551
Hwankyu Jhun [Tue, 8 Mar 2016 04:43:36 +0000 (13:43 +0900)]
Fix gdbus type for system users

- Use system bus instead of session bus

Change-Id: Id81b373b2aa460374010bed1090841123c01042d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix the returned value of __poll_fd() 75/61075/1
Hwankyu Jhun [Fri, 4 Mar 2016 00:30:33 +0000 (09:30 +0900)]
Fix the returned value of __poll_fd()

Change-Id: I934d3a9ef5eb47f0bd8035ceeb272d56604376a5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoUse elm api to set Evas_Object win, bg, conform 53/60453/1 accepted/tizen/common/20160303.110420 submit/tizen/20160302.020949 submit/tizen/20160303.054603
Myungki Lee [Fri, 26 Feb 2016 08:31:19 +0000 (17:31 +0900)]
Use elm api to set Evas_Object win, bg, conform

Change-Id: Icd8e28e2a7acd452b190198f1652d3d17247c51a
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoAdd api-version to the environment 58/60258/4 accepted/tizen/ivi/20160225.082536 accepted/tizen/mobile/20160225.082451 accepted/tizen/tv/20160225.082501 accepted/tizen/wearable/20160225.082521 submit/tizen/20160225.031452
Hwankyu Jhun [Wed, 24 Feb 2016 11:27:36 +0000 (20:27 +0900)]
Add api-version to the environment

Change-Id: Ib62a49520d3467042b36b6e1c4ef0d5deaf8e03f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd trace point 85/60085/1
Myungki Lee [Tue, 23 Feb 2016 08:21:28 +0000 (17:21 +0900)]
Add trace point

Change-Id: I31c72ef80ff1dfe625b2b51551b895d3d62379c9
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoSend result to caller only once 18/59518/1
Sangyoon Jang [Tue, 16 Feb 2016 08:11:07 +0000 (17:11 +0900)]
Send result to caller only once

Change-Id: Ib89df45e88ba46a5cf3505221388d51f26b011ab
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoSet the close-on-exec flag on the client fds 72/59472/1 accepted/tizen/ivi/20160218.023256 accepted/tizen/mobile/20160216.060110 accepted/tizen/tv/20160216.060132 accepted/tizen/wearable/20160216.060149 submit/tizen/20160216.021005 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002
Hwankyu Jhun [Mon, 15 Feb 2016 23:16:53 +0000 (08:16 +0900)]
Set the close-on-exec flag on the client fds

The launchpad-loader process has the client fds of the launchpad.

Change-Id: I14bb82da93ab38ba2d6e24be9dd5d86c314e44f7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoSupport 2.x apps which use their own shared libraries 27/59227/5 accepted/tizen/mobile/20160216.001612 accepted/tizen/tv/20160216.001625 accepted/tizen/wearable/20160216.001644 submit/tizen/20160215.013052
Sangyoon Jang [Thu, 11 Feb 2016 12:39:03 +0000 (21:39 +0900)]
Support 2.x apps which use their own shared libraries

Some applications from Tizen 2.x were compiled with '-rpath'
pointing at their lib directory which starts as '/opt/usr/apps/...'.
But this path is not adapted to Tizen 3.0.

We cannot set LD_LIBRARY_PATH directly by some security issues,
we make the loader have empty rpath to the dynamic linker looks in the CWD
forcely. And then, change working directory before calling dlopen() to
find libraries well.

Change-Id: I8111e5ca087ea07c52866d77deb7f53332957346
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoUse vconf_notify_key_changed API for getting sys hwacc 23/58223/2 accepted/tizen/mobile/20160129.002311 accepted/tizen/tv/20160129.002331 accepted/tizen/wearable/20160129.002347 submit/tizen/20160128.120001
Hwankyu Jhun [Thu, 28 Jan 2016 10:56:25 +0000 (19:56 +0900)]
Use vconf_notify_key_changed API for getting sys hwacc

Change-Id: I3794b4befc45ec8b469b529868b860b9581e37e3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix memory leak 50/58150/1 accepted/tizen/mobile/20160128.050646 accepted/tizen/tv/20160128.050711 accepted/tizen/wearable/20160128.050738 submit/tizen/20160128.025209
Junghoon Park [Thu, 28 Jan 2016 02:47:11 +0000 (11:47 +0900)]
Fix memory leak

Change-Id: I36bcbdd2ac175dbc5c23dda7a40cd5fe23eb1085
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoPreinitialize app root path to improve performance 30/58030/1 accepted/tizen/mobile/20160128.010553 accepted/tizen/tv/20160128.010605 accepted/tizen/wearable/20160128.010633 submit/tizen/20160127.083815
Junghoon Park [Wed, 27 Jan 2016 02:47:05 +0000 (11:47 +0900)]
Preinitialize app root path to improve performance

Change-Id: Iacbf6a7becbb1aa2038b5b7ae0901f53cfcc8fc9
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoInstall preload-list for launchpad-loader 02/57902/1 accepted/tizen/mobile/20160126.050627 accepted/tizen/tv/20160126.050644 accepted/tizen/wearable/20160126.050708 submit/tizen/20160126.013029
Hwankyu Jhun [Tue, 26 Jan 2016 00:57:29 +0000 (09:57 +0900)]
Install preload-list for launchpad-loader

Change-Id: If46f6ee4d469a7d78d9a7e28a00dec0d0adff229
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd loader type for js-native 66/57666/3 accepted/tizen/mobile/20160122.080502 accepted/tizen/tv/20160122.080526 accepted/tizen/wearable/20160122.080541 submit/tizen/20160122.050256
Junghoon Park [Thu, 21 Jan 2016 10:59:56 +0000 (19:59 +0900)]
Add loader type for js-native

Change-Id: Ia4bcdb32a872212269c7f44b4ec77fe26e8ef404
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoAdd launchpad_loader_get_extra() 29/57229/8
Daehyeon Jung [Tue, 19 Jan 2016 09:22:22 +0000 (18:22 +0900)]
Add launchpad_loader_get_extra()

- Get passed bundle from aul_add_loader()

Change-Id: If4e62e16d063133b81467352bc9614d5f8470c3d
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
8 years agoMake default slots after amd was launched 13/57413/1 accepted/tizen/mobile/20160122.031123 accepted/tizen/tv/20160122.031205 accepted/tizen/wearable/20160122.031209 submit/tizen/20160120.053111
Junghoon Park [Wed, 20 Jan 2016 02:32:29 +0000 (11:32 +0900)]
Make default slots after amd was launched

Change-Id: Id904e2c46822729b0e154ba93043830c9c7b3b20
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoUse gdbus instead of dbus-glib 00/57300/1 accepted/tizen/mobile/20160119.043317 accepted/tizen/tv/20160119.043344 accepted/tizen/wearable/20160119.043408 submit/tizen/20160119.013756
Hwankyu Jhun [Tue, 19 Jan 2016 00:26:11 +0000 (09:26 +0900)]
Use gdbus instead of dbus-glib

Change-Id: I457f0b662fcbb24acfd7251b903aaee906955300
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd option on app_pkt_t type 43/57243/2 accepted/tizen/mobile/20160119.001343 accepted/tizen/tv/20160119.001358 accepted/tizen/wearable/20160119.001417 submit/tizen/20160118.103423
Hwankyu Jhun [Mon, 18 Jan 2016 10:23:01 +0000 (19:23 +0900)]
Add option on app_pkt_t type

Change-Id: I7f395b11adbe65849a12aa6ae0d7c16002808714
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoset env for subcompositor 87/57087/1
Daehyeon Jung [Fri, 15 Jan 2016 05:32:44 +0000 (14:32 +0900)]
set env for subcompositor

Change-Id: If981d4a5f0b7baf69869810670e336546c1b8f72
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
8 years agoModify launchpad-process-pool to support wrt-loader 91/51791/7 accepted/tizen/mobile/20160114.063045 accepted/tizen/tv/20160114.063125 accepted/tizen/wearable/20160114.063216 submit/tizen/20160114.010839
Junghoon Park [Thu, 14 Jan 2016 00:44:13 +0000 (09:44 +0900)]
Modify launchpad-process-pool to support wrt-loader

Change-Id: If90b2fbbef5eed2ee1ea80605e7f4b4ab3b5affd
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoFix preparing candidate process 34/56134/2 accepted/tizen/mobile/20160105.043931 accepted/tizen/tv/20160105.043952 accepted/tizen/wearable/20160105.044017 submit/tizen/20160104.233150
Hwankyu Jhun [Mon, 4 Jan 2016 23:23:32 +0000 (08:23 +0900)]
Fix preparing candidate process

- When the candidate process is terminated by unknown cause, launchpad
will be preparing new loader process.
- If the prepared flag is not false, the candidate process can't
connect to launchpad.

Change-Id: I1d87c7ed663076e9db8ea5c93166a2370c0869bf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix socket buffer size 74/55874/1 submit/tizen/20151230.025906
Hwankyu Jhun [Wed, 30 Dec 2015 02:56:13 +0000 (11:56 +0900)]
Fix socket buffer size

- Socket buffer size is changed 65535 to 131071.

Change-Id: I0118d238caa7b7a17e1736689eb7793f82a72b03
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix memory leak 29/55529/2
Myungki Lee [Thu, 24 Dec 2015 08:21:46 +0000 (17:21 +0900)]
Fix memory leak

Change-Id: I5e67478ffe1db5b40821536503be4a8f302f7e02
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoApply coding rule 00/54300/6 accepted/tizen/mobile/20151215.083047 accepted/tizen/tv/20151215.083114 accepted/tizen/wearable/20151215.083156 submit/tizen/20151215.071017 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Hwankyu Jhun [Tue, 15 Dec 2015 00:30:09 +0000 (09:30 +0900)]
Apply coding rule

Change-Id: I08a0324648a099ec3137770a9aec21307f40fcda
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoDon't wait launched application is ready 11/53611/5 accepted/tizen/mobile/20151214.233909 accepted/tizen/mobile/20151214.234005 accepted/tizen/tv/20151214.233929 accepted/tizen/tv/20151214.234022 accepted/tizen/wearable/20151214.233948 accepted/tizen/wearable/20151214.234043 submit/tizen/20151214.102546 submit/tizen/20151214.102838
Sangyoon Jang [Tue, 8 Dec 2015 06:16:21 +0000 (15:16 +0900)]
Don't wait launched application is ready

amd will wait by itself

Change-Id: Id01f848eb53936a866df9f9e2fca41d794b2d163
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoAdd app_id to the launch signal. 50/54050/1 accepted/tizen/mobile/20151214.233224 accepted/tizen/tv/20151214.233234 accepted/tizen/wearable/20151214.233256 submit/tizen/20151214.052927
Myungki Lee [Fri, 11 Dec 2015 05:38:04 +0000 (14:38 +0900)]
Add app_id to the launch signal.

Change-Id: Ie94be12733d94a6e8743f702576c258d41f83b29
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoProvide loader id to launch an app directly 49/53849/4 accepted/tizen/mobile/20151210.225938 accepted/tizen/tv/20151210.225947 accepted/tizen/wearable/20151210.230008 submit/tizen/20151210.083837
Junghoon Park [Wed, 9 Dec 2015 23:48:34 +0000 (08:48 +0900)]
Provide loader id to launch an app directly

Some apps may want to launch apps without loader.

Change-Id: I2a3cbdf60bc6e7982ad127e8aee585cf1695a2e7
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoConnect launchpad-process-pool after loader create-callback is called 91/53691/1 accepted/tizen/mobile/20151209.024938 accepted/tizen/tv/20151209.025002 accepted/tizen/wearable/20151209.025038 submit/tizen/20151209.011056
Junghoon Park [Wed, 9 Dec 2015 00:32:26 +0000 (09:32 +0900)]
Connect launchpad-process-pool after loader create-callback is called

Change-Id: I8207d723290a4c4461bd9f620a64353efccc922d
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoFix bug about handling ECORE_FD_ERROR 47/53647/1 accepted/tizen/mobile/20151208.130626 accepted/tizen/tv/20151208.130644 accepted/tizen/wearable/20151208.130702 submit/tizen/20151208.112031
Junghoon Park [Tue, 8 Dec 2015 11:10:20 +0000 (20:10 +0900)]
Fix bug about handling ECORE_FD_ERROR

Change-Id: I919a23bdebfebf5b827f534d9f50ad05e0ca31cd
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoRefactor launchpad to support adding slots dynamically 19/53219/8 accepted/tizen/mobile/20151208.125759 accepted/tizen/tv/20151208.125818 accepted/tizen/wearable/20151208.125834 submit/tizen/20151208.055026
Junghoon Park [Thu, 3 Dec 2015 00:42:30 +0000 (09:42 +0900)]
Refactor launchpad to support adding slots dynamically

Change-Id: Ia65d28a2115c2359c80516bf5268eb054a51f062
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoMake candidate processes after an app is resumed 50/52750/3 accepted/tizen/mobile/20151202.041001 accepted/tizen/tv/20151202.041027 accepted/tizen/wearable/20151202.041055 submit/tizen/20151202.005650
Junghoon Park [Wed, 2 Dec 2015 00:48:08 +0000 (09:48 +0900)]
Make candidate processes after an app is resumed

Change-Id: Iae2cfda022e9662af6a071bd53db1b065b6f7106
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
8 years agoUse '_GNU_SOURCE' instead of '__USE_GNU' 44/53044/2
Sangyoon Jang [Tue, 1 Dec 2015 06:29:40 +0000 (15:29 +0900)]
Use '_GNU_SOURCE' instead of '__USE_GNU'

__USE_GNU is not intended to be used outside glibc headers, it is
defined internally.
if it defined our source, it can break glibc headers.

Change-Id: Id47e24264f40501116f1e11854d09c9c27c15088
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoRemove unnecessary argv buffer for launchpad-loader 23/53023/1
Sangyoon Jang [Tue, 1 Dec 2015 00:17:22 +0000 (09:17 +0900)]
Remove unnecessary argv buffer for launchpad-loader

Change-Id: I1e749d708b62e157a4ef1b757860f30a60a71d33
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoRefactor launchpad.c to use g_main_loop 11/52511/8 accepted/tizen/mobile/20151126.073405 accepted/tizen/tv/20151126.073425 accepted/tizen/wearable/20151126.073436 submit/tizen/20151126.063237
Junghoon, Park [Wed, 25 Nov 2015 02:20:13 +0000 (11:20 +0900)]
Refactor launchpad.c to use g_main_loop

- use g_main_loop
- fix bug about making candicate process

Change-Id: Icc1efcbc2c1f9466baacfd1f40c226be8257efb9
Signed-off-by: Junghoon, Park <jh9216.park@samsung.com>
8 years agoremove calling __sleep_safe func 42/52542/2 accepted/tizen/mobile/20151124.233954 accepted/tizen/tv/20151124.234005 accepted/tizen/wearable/20151124.234014 submit/tizen/20151124.090357
Hwankyu Jhun [Tue, 24 Nov 2015 08:39:16 +0000 (17:39 +0900)]
remove calling __sleep_safe func

Change-Id: Ib551ff6e0e98fb38a9c3d7a32ea8e77ba27259c2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agofix launchpad fd smack issue 49/52249/3 accepted/tizen/mobile/20151122.234132 accepted/tizen/tv/20151122.234138 accepted/tizen/wearable/20151122.234145 submit/tizen/20151120.075035
Hwankyu Jhun [Fri, 20 Nov 2015 06:56:18 +0000 (15:56 +0900)]
fix launchpad fd smack issue

- close all open fds before launching an app
- change launchpad-process-pool socket name
- fix socket activation about launchpad-process-pool

Change-Id: Ic1035199a2401e2d322230468cd3764adb4547b4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoadd common code into launchpad_lib file 94/51894/2 accepted/tizen/mobile/20151117.094225 accepted/tizen/tv/20151117.094250 accepted/tizen/wearable/20151117.094253 submit/tizen/20151117.063236
Junghoon, Park [Tue, 17 Nov 2015 05:28:57 +0000 (14:28 +0900)]
add common code into launchpad_lib file

Change-Id: I08f9c42dc8dfd09d098b93376210ed1f4821ec22
Signed-off-by: Junghoon, Park <jh9216.park@samsung.com>
8 years agoadd library for making launchpad-loader 35/51735/4 accepted/tizen/mobile/20151116.074826 accepted/tizen/tv/20151116.074843 accepted/tizen/wearable/20151116.074850 submit/tizen/20151116.052223
Junghoon, Park [Fri, 13 Nov 2015 08:45:35 +0000 (17:45 +0900)]
add library for making launchpad-loader

Change-Id: Ic929c89fa1f8b77172846423a1658009b142a99e
Signed-off-by: Junghoon, Park <jh9216.park@samsung.com>
8 years agoapply some APIs from aul 80/51280/2 accepted/tizen/mobile/20151110.070428 accepted/tizen/tv/20151110.070449 accepted/tizen/wearable/20151110.070513 submit/tizen/20151109.110451 submit/tizen/20151110.025318
Junghoon, Park [Fri, 6 Nov 2015 06:16:44 +0000 (15:16 +0900)]
apply some APIs from aul

- modify cmakefile
- apply preinit window
- apply preinit pkgid/appid

Change-Id: I8d8a7ff0b5f6dcbd8c6c9c1fdabec89a9afc76b9
Signed-off-by: Junghoon, Park <jh9216.park@samsung.com>
8 years agoinitial release 76/50976/7 accepted/tizen/mobile/20151106.045335 accepted/tizen/tv/20151106.045352 accepted/tizen/wearable/20151106.045410 submit/tizen/20151105.081003
Junghoon, Park [Wed, 4 Nov 2015 07:16:03 +0000 (16:16 +0900)]
initial release

Change-Id: I3a001fa3c414abbaea717ee38af0119c06b32ce6
Signed-off-by: Junghoon, Park <jh9216.park@samsung.com>
8 years agoInitial empty repository master
KyungMi Lee [Wed, 4 Nov 2015 04:16:27 +0000 (20:16 -0800)]
Initial empty repository