platform/framework/web/crosswalk-tizen.git
5 years agoMerge branch 'tizen' of ssh://review.tizen.org:29418/platform/framework/web/crosswalk... accepted/tizen_unified accepted/tizen/unified/20190130.101003 submit/tizen/20190125.110705 submit/tizen/20190128.103152 submit/tizen/20190129.022255 submit/tizen/20190130.020336
jaekuk, lee [Fri, 25 Jan 2019 11:06:51 +0000 (20:06 +0900)]
Merge branch 'tizen' of ssh://review.tizen.org:29418/platform/framework/web/crosswalk-tizen into tizen_55

5 years agoDelete executable because XWALK replaces WRTjs 60/198560/2
jaekuk, lee [Fri, 25 Jan 2019 10:52:53 +0000 (19:52 +0900)]
Delete executable because XWALK replaces WRTjs

Change-Id: I776a80beddf1ec8cc5ed81be56ee9f30648113d5
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
5 years agoDelete executable files 60/198560/1
jaekuk, lee [Fri, 25 Jan 2019 10:52:53 +0000 (19:52 +0900)]
Delete executable files

Change-Id: I776a80beddf1ec8cc5ed81be56ee9f30648113d5
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
5 years ago[SVACE] Fix out of range exception error 48/190748/2 accepted/tizen_5.0_unified accepted/tizen/5.0/unified/20181102.022758 accepted/tizen/unified/20181011.095046 submit/tizen/20181010.103617 submit/tizen_5.0/20181101.000005
k2.nagaraju [Fri, 5 Oct 2018 05:25:02 +0000 (10:55 +0530)]
[SVACE] Fix out of range exception error

Change-Id: I6d097c11a1bf64126d6b4212a91b2bbee963c2a7
Signed-off-by: k2.nagaraju <k2.nagaraju@samsung.com>
5 years agoHandle app exit when triggered from platform 20/190820/6
prathmesh.m [Fri, 5 Oct 2018 11:55:35 +0000 (17:25 +0530)]
Handle app exit when triggered from platform

- Issue: Crash occured on termination is triggered by platform
  (Home Key-> Exit all, app_launcher)
- Defer the ecore loop quit untill last idler is executed
- Lower the elm win instead of hiding the evas object
  to avoid flickring

Change-Id: Idab786b6dd1ee04062433c81811cd9999b19e905
Signed-off-by: prathmesh.m <prathmesh.m@samsung.com>
5 years agoRevert "[HOTFIX] Fix crash on closing application from task manager" 94/190894/1
Prathmesh Manurkar [Mon, 8 Oct 2018 10:05:10 +0000 (10:05 +0000)]
Revert "[HOTFIX] Fix crash on closing application from task manager"

This reverts commit c114c332d1275faaea3bec7d488a86923229061a.

Change-Id: I7274dcdfb50fe433343ffd0bd81e938694b4ab25

5 years ago[HOTFIX] Fix crash on closing application from task manager 94/190694/1 accepted/tizen/unified/20181005.012526 accepted/tizen/unified/20181005.092601 submit/tizen/20181004.232740 submit/tizen/20181005.092158
surya.kumar7 [Thu, 4 Oct 2018 18:35:46 +0000 (00:05 +0530)]
[HOTFIX] Fix crash on closing application from task manager

Change-Id: I830713b5fe14523ee967531b560857677abd8d89
Signed-off-by: surya.kumar7 <surya.kumar7@samsung.com>
5 years agoRevert "Fixed crash issue occurred when terminating App using HOME Key" 29/190629/2 submit/tizen/20181004.232657
jaekuk lee [Thu, 4 Oct 2018 08:25:44 +0000 (08:25 +0000)]
Revert "Fixed crash issue occurred when terminating App using HOME Key"

This reverts commit f9350cd970c80b677ebfe3b7dbb9990fd198a042.

Change-Id: I39e10f69118498b9fc7be5d910a02525e440a9c6

5 years ago[HOTFIX] Force resize the webview height and width to window height and width. 33/190533/2 accepted/tizen/unified/20181005.012508 submit/tizen/20181004.003447
k2.nagaraju [Wed, 3 Oct 2018 10:32:17 +0000 (16:02 +0530)]
[HOTFIX] Force resize the webview height and width to window height and width.

Change-Id: I55e2dd9f4894017e704a18f80405cc55ba6a492d
Signed-off-by: k2.nagaraju <k2.nagaraju@samsung.com>
5 years agoRevert "get widget.width and widget.height from widget_info" 11/190511/1
k2.nagaraju [Wed, 3 Oct 2018 05:38:21 +0000 (11:08 +0530)]
Revert "get widget.width and widget.height from widget_info"

This reverts commit a5901d45b8b715ddb3315b46b057c7c87675c66e.

Change-Id: I788f7d1364c590d7bbfc04adcc7b6c7350627344
Signed-off-by: k2.nagaraju <k2.nagaraju@samsung.com>
5 years agoRevert "Disable cached_window_->Initialize()" 27/190327/1 accepted/tizen/unified/20181001.150945 submit/tizen/20181001.093416
k2.nagaraju [Mon, 1 Oct 2018 04:42:23 +0000 (10:12 +0530)]
Revert "Disable cached_window_->Initialize()"

This reverts commit 2420a5dcf10f068ae639807a19b0e096282afa23.

Change-Id: I16ba4520beb640b76ff88640c307eb14752616f2
Signed-off-by: k2.nagaraju <k2.nagaraju@samsung.com>
5 years agoget widget.width and widget.height from widget_info 73/190273/2 accepted/tizen/unified/20181001.092534 submit/tizen/20180929.011717 submit/tizen/20181001.003930 submit/tizen/20181001.005443
k2.nagaraju [Fri, 28 Sep 2018 16:14:00 +0000 (21:44 +0530)]
get widget.width and widget.height from widget_info

widget.width and widget.height values should be get from widget_info object
not from window.innerWidth and window.innerHeight.

Change-Id: I7c1974653b0166ea331177bc3d545025877365c6
Signed-off-by: k2.nagaraju <k2.nagaraju@samsung.com>
5 years agoGetting new-delete-type-mismatch from ASAN. 04/189604/2
k2.nagaraju [Wed, 19 Sep 2018 06:52:27 +0000 (12:22 +0530)]
Getting new-delete-type-mismatch from ASAN.

Polymorphic base classes should declare virtual destructors.
If a class has any virtual functions, it should have a virtual destructor.

Change-Id: I130a777f65f3e3c50afcac2dbe822a5ea3645b6a
Signed-off-by: k2.nagaraju <k2.nagaraju@samsung.com>
5 years agoDisable cached_window_->Initialize() 44/190244/1 submit/tizen/20180928.111502
guneet khosla [Fri, 28 Sep 2018 11:10:52 +0000 (16:40 +0530)]
Disable cached_window_->Initialize()

Disable cached_window_->Initialize() for all profiles.
Earlier Initialized was being called for TV and TM1 profiles.

Change-Id: Idf3be7d046c7925dfaa5057360da8aa2b8a9650c
Signed-off-by: guneet khosla <g.khosla@samsung.com>
5 years ago[compatibility] Implemented window resize for non circular apps 65/189665/1 accepted/tizen/unified/20180928.142127 submit/tizen/20180928.065515
Guneet K [Thu, 1 Feb 2018 13:38:51 +0000 (19:08 +0530)]
[compatibility] Implemented window resize for non circular apps

Apps with 320x320 and square apps are not displayed properly.
View is truncated.

Resize the view to 320x320 so that maximum
possible view is displayed in visible area.
These kind of apps are identified by profile
tag.
              ---------------------------------------------
              | SlNo|  Profile     | Value    |  Display  |
              ---------------------------------------------
              |  1  | Not Present  | NA       |  320x320  |
              |  2  |  Present     | mobile   |  320x320  |
              |  3  |  Present     | NULL     |  320x320  |
              |  4  |  Present     | wearable |  360x360  |
              ---------------------------------------------

[Reference] http://slp-info.sec.samsung.net/gerrit/#/c/3119525/

Change-Id: Id39ce8f39c939de083e1ae2a7bc9efcaae8ca39a
Signed-off-by: Guneet K <g.khosla@samsung.com>
Signed-off-by: deepti <d.saraswat@samsung.com>
5 years agoFixed crash issue occurred when terminating App using HOME Key 45/189345/2 accepted/tizen/unified/20180917.135141 submit/tizen/20180917.102309
jaekuk, lee [Mon, 17 Sep 2018 06:45:55 +0000 (15:45 +0900)]
Fixed crash issue occurred when terminating App using HOME Key

To resolve the issue that ecore_idler_add() isn't called,
Add ecore timer checking plugin_session_count.

Change-Id: I6e95f205eb79bf3eac8472e5d77af44788d0ed09
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
5 years agoRevert "Fixed crash issue occurred when terminating App using HOME Key" 38/189338/1
jaekuk lee [Mon, 17 Sep 2018 06:33:41 +0000 (06:33 +0000)]
Revert "Fixed crash issue occurred when terminating App using HOME Key"

This reverts commit 99b64b8ae3f78a5a48b9c30d0da3a2d590f25f5b.

Change-Id: I5f2a7d21035cf966353e80d5ab13c1afd1e5dca9

5 years agoFixed crash issue occurred when terminating App using HOME Key 88/188388/7 accepted/tizen/unified/20180912.061624 submit/tizen/20180911.073008
jaekuk, lee [Tue, 4 Sep 2018 10:23:17 +0000 (19:23 +0900)]
Fixed crash issue occurred when terminating App using HOME Key

Change-Id: Iecdadb9e2baf5c41b8389576dc7103ac63534b9a
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
5 years agoMerge branch 'tizen' of ssh://review.tizen.org:29418/platform/framework/web/crosswalk... tizen.dw accepted/tizen/unified/20180706.062157 submit/tizen/20180706.010002
jaekuk, lee [Fri, 6 Jul 2018 00:59:35 +0000 (09:59 +0900)]
Merge branch 'tizen' of ssh://review.tizen.org:29418/platform/framework/web/crosswalk-tizen into tizen_50

5 years agoChange EFL_UTIL_NOTIFICATION_LEVEL_3 to EFL_UTIL_NOTIFICATION_LEVEL_TOP 75/183475/2
jaekuk, lee [Fri, 6 Jul 2018 00:23:00 +0000 (09:23 +0900)]
Change EFL_UTIL_NOTIFICATION_LEVEL_3 to EFL_UTIL_NOTIFICATION_LEVEL_TOP
http://mosaic.sec.samsung.net/kms/comty.do?comtyId=2305148&menuId=2305189&postId=43363033&page=view&type=LIST

Change-Id: I052067a177e95513ddc09e52fac5368611755126
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
5 years agoChanged EFL_UTIL_NOTIFICATION_LEVEL_3 to EFL_UTIL_NOTIFICATION_LEVEL_TOP 75/183475/1
jaekuk, lee [Fri, 6 Jul 2018 00:23:00 +0000 (09:23 +0900)]
Changed EFL_UTIL_NOTIFICATION_LEVEL_3 to EFL_UTIL_NOTIFICATION_LEVEL_TOP

Change-Id: I052067a177e95513ddc09e52fac5368611755126
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
5 years agoRevert "Show window on frame rendered after appcontrol reset" 48/182348/1
jaekuk lee [Fri, 22 Jun 2018 06:21:44 +0000 (06:21 +0000)]
Revert "Show window on frame rendered after appcontrol reset"

This reverts commit 0ac321d81ee989f42adf03ebed1ada53a73fe960.

Change-Id: Icc64ab6ef123581210cbc552eff33a645727b670

5 years agoShow window on frame rendered after appcontrol reset 87/182287/1
Prathmesh [Fri, 22 Jun 2018 04:30:03 +0000 (10:00 +0530)]
Show window on frame rendered after appcontrol reset

- Currently window is shown after reset once appcontrol
  is received. Due to this sometimes old contents are
  visible first then new contents are rendered
- If the app is reset on app-control then do show the
  window right away. Rather the window will be shown
  once frame rendered is received

Change-Id: Ice201a6c6ff35430186abcad917af767fb1ccdaf
Signed-off-by: Prathmesh <prathmesh.m@samsung.com>
5 years agoRuntime object creation code cleanup. 99/180799/1
k2.nagaraju [Mon, 4 Jun 2018 09:19:15 +0000 (14:49 +0530)]
Runtime object creation code cleanup.

Change-Id: I6abd9fa5e506099def2ca41143887dbb9f7edccc
Signed-off-by: k2.nagaraju <k2.nagaraju@samsung.com>
6 years agoFix application launch issue. 07/180207/3
Prathmesh [Fri, 25 May 2018 10:03:22 +0000 (15:33 +0530)]
Fix application launch issue.

Added a default timer in case if the Rendered is not called
from engine. Show window on timer fired

Ref Patches:http://slp-info.sec.samsung.net/gerrit/#/c/3105521
http://slp-info.sec.samsung.net/gerrit/#/c/3101926

Change-Id: I28dc0192acee6ed3dbb6686aaa668552ddde2835
Signed-off-by: Prathmesh <prathmesh.m@samsung.com>
6 years agoPrint dlerror() for debugging 35/180035/1 submit/tizen/20180525.014112
surya.kumar7 [Wed, 28 Feb 2018 07:30:23 +0000 (13:00 +0530)]
Print dlerror() for debugging

dlopen() fails for numerous reasons and returns NULL in such cases.
Logging the error will be useful for inspecting the failure reason.

Change-Id: Idc21de1165537160baf1c7dfbb76a2b3c3cfe2d8
Signed-off-by: surya.kumar7 <surya.kumar7@samsung.com>
6 years ago[hotfix] Fix js callback crash issue. 52/179252/2 accepted/tizen/unified/20180517.062345 submit/tizen/20180517.000019
YongGeol Jung [Wed, 16 May 2018 14:35:26 +0000 (07:35 -0700)]
[hotfix] Fix js callback crash issue.

JS callback causes crash if current |context| of |isolate| is null. To prevent
this, make new |context| for |isolate|.

Change-Id: I212beb06dfe9dfab310b71d1dbb594c3abb3c4c9
Signed-off-by: YongGeol Jung <yg48.jung@samsung.com>
6 years agoHotfix for "App Not Launch" Issue 46/179246/1 accepted/tizen/unified/20180516.162345 submit/tizen/20180516.132531 submit/tizen/20180516.145812
Guneet K [Wed, 16 May 2018 12:36:30 +0000 (18:06 +0530)]
Hotfix for "App Not Launch" Issue

This patch removes the initialization of window using
wrt-loader. The initialization of window happens at actual
launch time.

Change-Id: I6e1c16defbf5cf9283184cdc5cf056136e8a555f
Signed-off-by: Guneet K <g.khosla@samsung.com>
6 years agocoverity error handling 80/178880/5 submit/tizen/20180516.113641
Guneet K [Mon, 14 May 2018 10:38:34 +0000 (16:08 +0530)]
coverity error handling

This patch makes handle_ a data member of XWalkExtensionManager class.
dlclose(handle_) is called from XWalkExtensionManager class destructor
to prevent resource leak.

coverity:109521

Change-Id: I4751e38e50b491dc54a893d5c9d1da4e41ab90f0
Signed-off-by: Guneet K <g.khosla@samsung.com>
6 years agocoverity error handling 59/178859/8
Guneet K [Mon, 14 May 2018 09:42:22 +0000 (15:12 +0530)]
coverity error handling

This patch makes handle_ a data member of XWalkExtension class.
dlclose(handle_) is called from XWalkExtension class destructor
to prevent resource leak.

Coverity:109521

Change-Id: I24ae7763809536b3b5ad486c7f45c7c40a9dc528
Signed-off-by: Guneet K <g.khosla@samsung.com>
6 years agocoverity error handling 28/178828/1 accepted/tizen/unified/20180515.063742 submit/tizen/20180514.085832
Guneet K [Mon, 14 May 2018 06:55:41 +0000 (12:25 +0530)]
coverity error handling

This patch initializes uninitialized member variable.

Coverity:107447,110284

Change-Id: I86cd7feafa845323c502ababf1f9287d93818eac
Signed-off-by: Guneet K <g.khosla@samsung.com>
6 years ago[M63] Switch deprecated ForceSet with DefineOwnProperty 48/177848/2 accepted/tizen/unified/20180506.043327 accepted/tizen/unified/20180510.022831 accepted/tizen/unified/20180514.060703 submit/tizen/20180504.024819 submit/tizen/20180504.050738 submit/tizen/20180509.014449 submit/tizen/20180509.200329 submit/tizen/20180511.073645
Youngsoo Choi [Mon, 2 Apr 2018 08:52:13 +0000 (01:52 -0700)]
[M63] Switch deprecated ForceSet with DefineOwnProperty

ForceSet has been deprecated in v8 version 6.3.292.
So, this switches the ForceSet with DefineOwnProperty.

Change-Id: Ied9dcf71ec447b9a1dcd15c4b6ab6ed8420a20d6
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[M63] Remove the limit of chromium-efl version 47/177847/2
Youngsoo Choi [Mon, 16 Apr 2018 06:14:37 +0000 (06:14 +0000)]
[M63] Remove the limit of chromium-efl version

To be built with m63 chromium-efl,
this removes the limit of chromium-efl version.

Change-Id: Icd40b6f5eb2661539b9c67598ca59d736937ddd8
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years agoCoverity error handling 87/175087/4 submit/tizen/20180420.020451 submit/tizen/20180504.040752
surya.kumar7 [Fri, 6 Apr 2018 14:35:20 +0000 (20:05 +0530)]
Coverity error handling

Preload function is of type std::function<void(void)> and should not return
a bool value

Coverity: 108784

Change-Id: Ia4f7c601cf1692c347eab2d83f6936b497e14f70
Signed-off-by: surya.kumar7 <surya.kumar7@samsung.com>
6 years agoCoverity error handling 88/175088/2
surya.kumar7 [Fri, 6 Apr 2018 14:55:47 +0000 (20:25 +0530)]
Coverity error handling

Terminate string tainted by fread

Coverity: 110097

Change-Id: Icfd7798e775a4bd4db383173ce5bbaf033cf7d6c
Signed-off-by: surya.kumar7 <surya.kumar7@samsung.com>
6 years agoCoverity error handling 86/175086/1
surya.kumar7 [Fri, 6 Apr 2018 14:27:38 +0000 (19:57 +0530)]
Coverity error handling

This patch handles return value from sqlite3 function

Coverity: 108596

Signed-off-by: surya.kumar7 <surya.kumar7@samsung.com>
Change-Id: I94b669d856bc0213274fc1d86857fd395bb846d6

6 years agocoverity error handling 05/174705/3
mallikarjun82 [Tue, 3 Apr 2018 14:17:02 +0000 (19:47 +0530)]
coverity error handling

This patch initialized member variable in constructor.

Coverity:111022

Change-Id: I299d16289809c9a743dee74d18d39e0dd80d56c3
Signed-off-by: mallikarjun82 <vm.arjun@samsung.com>
6 years agocoverity error handling 07/174707/4
mallikarjun82 [Tue, 3 Apr 2018 14:47:56 +0000 (20:17 +0530)]
coverity error handling

This patch initializes uninitialized member variable.

Coverity:110284, 107447

Change-Id: Ia5f214e0a286b8e4a75822b3c4e62f96301d52b1
Signed-off-by: mallikarjun82 <vm.arjun@samsung.com>
6 years agocoverity error handling 76/174876/2
mallikarjun82 [Wed, 4 Apr 2018 13:52:32 +0000 (19:22 +0530)]
coverity error handling

This patch initializes variables to prevent from having garbage values.

Coverity: 108757, 107570, 107274, 105091

Change-Id: If0ea245e771508a92f75d897049c9a7ede97e5db
Signed-off-by: mallikarjun82 <vm.arjun@samsung.com>
6 years agoRemove Ecore-wayland dependency (missing code) 43/172943/2 submit/tizen/20180403.072824
min7.choi [Mon, 19 Mar 2018 04:46:11 +0000 (13:46 +0900)]
Remove Ecore-wayland dependency (missing code)

commit id : 46c3f83ce40d25c0816ca703221fafd8dcfb051e
There was a missing part, so I deleted it.
: runtime/browser/splash_screen.cc

Change-Id: I068dcd612fea49a0263da4d17399dbed9784b01e
Signed-off-by: min7.choi <min7.choi@samsung.com>
6 years agoAdd -Wprint-abs-path to generate absolute path for buildwarnings 40/172640/1
Jaehun Jeong [Thu, 15 Mar 2018 04:32:13 +0000 (13:32 +0900)]
Add -Wprint-abs-path to generate absolute path for buildwarnings

Change-Id: I9413df09e4e65ee23d73e43b0b897556c579b27e
Signed-off-by: Jaehun Jeong <jh4u.jeong@samsung.com>
6 years agoChange deprecated internal api to public api 16/171916/1 accepted/tizen/unified/20180316.062506 submit/tizen/20180315.052738
pr.jung [Thu, 8 Mar 2018 06:07:23 +0000 (15:07 +0900)]
Change deprecated internal api to public api

- libdeviced haptic apis are deprecated
- Changed to use capi-system-device apis

Change-Id: I7c592774f379620aec1ddae9a60f43cb0694c6ef
Signed-off-by: pr.jung <pr.jung@samsung.com>
6 years agoRemove update script 42/168942/1 submit/tizen/20180201.095003
jaekuk, lee [Thu, 1 Feb 2018 08:44:57 +0000 (17:44 +0900)]
Remove update script

Change-Id: I16302cb190e43f9be99179628fdbda902243c417
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
6 years agoRemove Ecore-wayland dependency 46/167046/1
min7.choi [Mon, 15 Jan 2018 06:33:17 +0000 (15:33 +0900)]
Remove Ecore-wayland dependency

In Tizen 5.0, upgrading EFL to opensource EFL 1.20 version.
Upstream has deprecated ecore-wayland and changed its policy to use ecore-wl2.
In crosswalk, there is one api with an ecore-wayland dependency(ecore_wl_screen_size_get()).
This can be replaced by elm_win_screen_size_get() api.
So removed the ecore-wayland dependency and used elm_win_screen_size_get().

Change-Id: Ic9f3b5ee66e44ebc05ba2eb2f22a111aa883d903
Signed-off-by: min7.choi <min7.choi@samsung.com>
6 years agoMerge "Fix codes about initializing the VCWebView handle" into tizen accepted/tizen/unified/20171027.152042 submit/tizen/20171027.033318
jaekuk lee [Fri, 27 Oct 2017 03:30:22 +0000 (03:30 +0000)]
Merge "Fix codes about initializing the VCWebView handle" into tizen

6 years agoFix codes about initializing the VCWebView handle 11/132411/6
Suyeon Hwang [Fri, 2 Jun 2017 08:32:16 +0000 (17:32 +0900)]
Fix codes about initializing the VCWebView handle

This change is related with a commit of vc-webview module.
https://review.tizen.org/gerrit/#/c/132420/

With this commit, static class VCWebView dynamically can response to
the vconf key changing. Therefore, WRT does not need to check vconf key
to initialize the voice touch anymore.

Change-Id: Ic1a7a6e191563e7196efe72541a857e4a80048fa
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
6 years agoAdds getter and setter to efl window brightness 43/148643/7
Bartlomiej Kunikowski [Fri, 8 Sep 2017 07:33:30 +0000 (09:33 +0200)]
Adds getter and setter to efl window brightness

This functions were added, because actually there isn't any
brightness control function for Native Window. New Wrt message
type is added also, so brightness setting and getting could be
added to Web API now.

Change-Id: Id2422a24dedffd7e75e18709d6cc7bab69da10a7
Signed-off-by: Bartlomiej Kunikowski <b.kunikowski@partner.samsung.com>
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
6 years agoDelete NotificationCallback 83/140983/5 submit/tizen/20170901.010636
jaekuk, lee [Thu, 27 Jul 2017 10:03:50 +0000 (19:03 +0900)]
Delete NotificationCallback

Notification icon and badge were implemented on Web Engine side.
(https://review.tizen.org/gerrit/#/c/137819/)
So ewk_context_notification_callbacks_set API was removed from WRT.

Change-Id: I4fe497eaa944fc761f671b9d01fe41148b1dcbd1
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
6 years agoAdded code to check whether wayland get ready before running Web Runtime 80/145680/5 submit/tizen/20170824.071550
jaekuk, lee [Wed, 23 Aug 2017 08:32:45 +0000 (17:32 +0900)]
Added code to check whether wayland get ready before running Web Runtime

Change-Id: Ib06f4fc51fa554893ece5c26af8e592838e31d76
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
6 years agoAdd ASLR to wrt-loader and wrt-upgrade 04/143804/1 accepted/tizen/4.0/unified/20170829.020029 accepted/tizen/unified/20170818.001010 submit/tizen/20170816.083448 submit/tizen/20170816.083522 submit/tizen/20170817.022337 submit/tizen_4.0/20170828.100004 tizen_4.0.IoT.p1_release
jaekuk, lee [Fri, 11 Aug 2017 09:46:58 +0000 (18:46 +0900)]
Add ASLR to wrt-loader and wrt-upgrade

Change-Id: Ib16832362f941d15cb68c894ea815512cfb086b1
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
6 years agoSupport swipe to refresh feature 37/138537/2 submit/tizen/20170713.070618
Pawel Niemirski [Wed, 12 Jul 2017 12:13:09 +0000 (14:13 +0200)]
Support swipe to refresh feature

Enable the feature if config.xml has following metadata:
<tizen:metadata key="enable-swipe-to-refresh">

Bug: http://suprem.sec.samsung.net/jira/browse/RWASP-1534

Change-Id: Id430ea44a3bb344a2836e841f5103a1bb1f55141
Signed-off-by: Pawel Niemirski <p.niemirski@samsung.com>
6 years agoRemove caps due to security issue & apply caps directly in security-config 10/137810/1 submit/tizen/20170710.051657
min7.choi [Mon, 10 Jul 2017 01:39:10 +0000 (10:39 +0900)]
Remove caps due to security issue & apply caps directly in security-config

Change-Id: I70b6f0e2b4c1fb65c2bbecb5bd741c737ac020ed
Signed-off-by: min7.choi <min7.choi@samsung.com>
6 years agoRegister service worker on PWA launch 86/135286/3 accepted/tizen/4.0/unified/20170816.013338 accepted/tizen/4.0/unified/20170816.015848 accepted/tizen/unified/20170703.064218 submit/tizen/20170630.022418 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
Pawel Niemirski [Wed, 28 Jun 2017 10:11:50 +0000 (12:11 +0200)]
Register service worker on PWA launch

Start the registration if config.xml has following metadata:
<tizen:metadata key="service-worker-url" value="...">

Bug: http://suprem.sec.samsung.net/jira/browse/RWASP-1583

Change-Id: I9ada897e7b654b4a72596935b3d6dc4a53ce13c8
Signed-off-by: Pawel Niemirski <p.niemirski@samsung.com>
6 years agoImplemented progressbar for web application 98/134798/2 accepted/tizen/unified/20170630.083209 submit/tizen/20170620.052945
jaekuk, lee [Tue, 20 Jun 2017 05:21:01 +0000 (14:21 +0900)]
Implemented progressbar for web application

issue : http://suprem.sec.samsung.net/jira/browse/MPR-1117
        Hosted web app such as YouTube displays a white screen until the page finishes loading.

Modified WRT to display progressbar until the page finishes loading if progressbar-presence is enabled in config.xml.

Change-Id: I114d69543caea76161d0ace22cf57ae052c8f099
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
6 years agoChanged a string to a variable
jaekuk, lee [Thu, 15 Jun 2017 06:12:39 +0000 (15:12 +0900)]
Changed a string to a variable

"fullscreen" => kViewmodeTypeFullscreen
"windowed"   => kViewmodeTypeWindowed

Change-Id: I354ce4c9fa84745c9c18d208faf570a9b16e970b
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
7 years agoChanged the header file of appcore-watch from appcore-watch.h to watch_app.h 66/130766/1 accepted/tizen/unified/20170524.055955 submit/tizen/20170524.015714 tizen_4.0.m1_release
jaekuk, lee [Wed, 24 May 2017 01:47:59 +0000 (10:47 +0900)]
Changed the header file of appcore-watch from appcore-watch.h to watch_app.h

Change-Id: Ib676f08863f8ec72eedd448c9fa6df20f12b4298
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
7 years ago[release 0.3.2]tizen porting 29/130729/1 accepted/tizen/unified/20170523.153923 submit/tizen/20170523.124526
jaekuk, lee [Tue, 23 May 2017 12:16:36 +0000 (21:16 +0900)]
[release 0.3.2]tizen porting

Change-Id: I75ab917767be3406d23e01e6c162a5a281ed3145
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
7 years agofixup! Implement Fullscreen API accepted/tizen/unified/20170510.183533 submit/tizen/20170510.090339
Youngcheol Kang [Wed, 10 May 2017 08:10:21 +0000 (17:10 +0900)]
fixup! Implement Fullscreen API

In tizen 2.4 environment, WRT calls the ewk_view_fullscreen_exit()
API and exits the event handler when pressing hardware back key
if it's fullscreen mode in only "Software key" mode or "windowed"
view mode.

However above two conditions(software key and windowed view modes)
were omitted in tizen 3.0, so the ewk_view_fullscreen_exit() API
was always called when pressing hardware back key in fullscreen mode.

This CL fixes these problem.

Bug: http://suprem.sec.samsung.net/jira/browse/TWF-3201

Change-Id: I4dda2d78be7af8cf75df72875aa2d7e94bbe2da9
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
7 years agoAdd codes to enable web voice touch 42/126142/3 accepted/tizen/unified/20170502.041136 submit/tizen/20170502.005636
Suyeon Hwang [Fri, 14 Apr 2017 01:49:25 +0000 (10:49 +0900)]
Add codes to enable web voice touch

This commit adds codes to enable web voice touch.
Web voice touch is enabled by the vconfkey value.

To use web voice touch, vc-webview module must be needed.

Change-Id: I082c537423e6d3a7b1c0943ae2119f69aabb93fe
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
7 years agoChanged the order of elm_exit() and elm_shutdown() accepted/tizen/unified/20170419.165256 submit/tizen/20170419.052244
jaekuk, lee [Wed, 19 Apr 2017 05:03:07 +0000 (14:03 +0900)]
Changed the order of elm_exit() and elm_shutdown()

Change-Id: Id8699768ee55faa3da46c677675d5ece135457ba
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
7 years agoInitialized constructor accepted/tizen/unified/20170411.164938 accepted/tizen/unified/20170411.164951 submit/tizen/20170411.094345
jaekuk, lee [Tue, 11 Apr 2017 08:29:26 +0000 (17:29 +0900)]
Initialized constructor

Following members are initialized.
=> main_loop, session_counter

Change-Id: Ibbea601f7dd087eb01a498fca97199c1f253ef4a
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
7 years agoBringup with updated chromium-efl(m56.0.2924) 60/122660/3 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170403.190354 accepted/tizen/ivi/20170403.130903 accepted/tizen/mobile/20170403.130507 accepted/tizen/tv/20170403.130617 accepted/tizen/unified/20170403.090425 accepted/tizen/wearable/20170403.130729 submit/tizen/20170403.063537
jaekuk, lee [Mon, 3 Apr 2017 06:22:40 +0000 (15:22 +0900)]
Bringup with updated chromium-efl(m56.0.2924)

--------------------------------------------------------------------------------
This patch supports the working of WebApp and WebTCT with
new updated chromium-efl(m56.0.2924).

- Changed the codes related to including 'ewk_chromium.h' from 'EWebkit.h'
- Changed the codes related to dependency of V8 in chromium-efl

Bug: http://suprem.sec.samsung.net/jira/browse/RWASP-253

Change-Id: Iee178f03e9926b13d972c975b1e53a9fa20be576
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
-------------------------------------------------------------------------------

Change-Id: I2f4ccb603b5b6e3fabebcef6eeae9f06106163bd
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
7 years agoExplicitly specify that this supports M56 99/120799/1 submit/tizen/20170324.083016
jaekuk, lee [Fri, 24 Mar 2017 08:26:30 +0000 (17:26 +0900)]
Explicitly specify that this supports M56

Change-Id: If8d7536bee39f176c8c2ba175a5b3688ef42a1e2
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
7 years agoUse a macro of %license to add a license in spec file 06/120406/1 accepted/tizen/common/20170323.154235 accepted/tizen/ivi/20170323.084824 accepted/tizen/mobile/20170323.084740 accepted/tizen/tv/20170323.084809 accepted/tizen/unified/20170323.084840 accepted/tizen/wearable/20170323.084817 submit/tizen/20170323.012210
jaekuk, lee [Thu, 23 Mar 2017 01:14:27 +0000 (10:14 +0900)]
Use a macro of %license to add a license in spec file

Change-Id: I7189983a3af50498a4aedd641826873f9a90c5ca
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
7 years agoRevert "Bringup with updated chromium-efl(m56.0.2924)" 16/120316/2 accepted/tizen/common/20170322.153954 accepted/tizen/ivi/20170323.000732 accepted/tizen/mobile/20170323.000201 accepted/tizen/tv/20170323.000508 accepted/tizen/unified/20170323.000807 accepted/tizen/wearable/20170323.000637 submit/tizen/20170322.091134
jaekuk, lee [Wed, 22 Mar 2017 08:58:39 +0000 (17:58 +0900)]
Revert "Bringup with updated chromium-efl(m56.0.2924)"

Change-Id: I1deb2e97e4a52a24f99622cc2ffc6902c9565609
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
7 years agoMerge branch 'tizen' of ssh://review.tizen.org:29418/platform/framework/web/crosswalk... submit/tizen/20170320.224022 submit/tizen/20170322.050206
jaekuk, lee [Tue, 21 Mar 2017 06:44:10 +0000 (15:44 +0900)]
Merge branch 'tizen' of ssh://review.tizen.org:29418/platform/framework/web/crosswalk-tizen into tizen_40

7 years agoReverted from ewk_chromium.h to EWebkit.h 36/118936/1 submit/tizen/20170315.013750 submit/tizen/20170315.022243 submit/tizen/20170315.022312
jaekuk, lee [Wed, 15 Mar 2017 01:09:31 +0000 (10:09 +0900)]
Reverted from ewk_chromium.h to EWebkit.h

Change-Id: I00faba169c121cb858a69b8271b3246be828089d
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
7 years agoDisable missing ewk api just until chromium-efl bringup is completed 43/118843/2 submit/tizen/20170314.070126 submit/tizen/20170314.105340 submit/tizen/20170314.150327
Youngsoo Choi [Tue, 14 Mar 2017 08:26:15 +0000 (17:26 +0900)]
Disable missing ewk api just until chromium-efl bringup is completed

This CL disables ewk additional feature api call using
the macro |DENABLE_CHROMIUM_EWK_FEATURE|.

Bug: http://suprem.sec.samsung.net/jira/browse/TWF-3168

Change-Id: I75564e3ab594f6f8b8ab6fe3f5daff0ef867df64
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoBringup with updated chromium-efl(m56.0.2924) 68/117868/1 submit/tizen/20170313.110550
Youngcheol Kang [Thu, 8 Dec 2016 11:27:22 +0000 (20:27 +0900)]
Bringup with updated chromium-efl(m56.0.2924)

This patch supports the working of WebApp and WebTCT with
new updated chromium-efl(m56.0.2924).

- Changed the codes related to including 'ewk_chromium.h' from 'EWebkit.h'
- Changed the codes related to dependency of V8 in chromium-efl

Bug: http://suprem.sec.samsung.net/jira/browse/RWASP-253

Change-Id: Iee178f03e9926b13d972c975b1e53a9fa20be576
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
7 years agoChanges that are related to changes in LaunchScreenData structure 51/114451/2
Bartlomiej Kunikowski [Mon, 13 Feb 2017 10:34:37 +0000 (11:34 +0100)]
Changes that are related to changes in LaunchScreenData structure

Change-Id: I556c4443df06cdbd55588447c00082b9219d6ebd

7 years agoAdd initialization member variable of instance_id_ 76/117076/2
nke94 [Thu, 2 Mar 2017 13:52:47 +0000 (22:52 +0900)]
Add initialization member variable of instance_id_

Change-Id: Ibeba04f755dec4c4b0a238045ad0fd6a09303c24
Signed-off-by: nke94 <nke94@samsung.com>
7 years agoJust For Enabling build until chromium engine bring up complete 74/117074/2
nke94 [Thu, 2 Mar 2017 13:40:04 +0000 (22:40 +0900)]
Just For Enabling build until chromium engine bring up complete

Temporary ewk additional feature api call is disabled with
(DENABLE_CHROMIUM_EWK_FEATURE) macro

Change-Id: I2a7867d4cd4d084ca4e8f99771c1efbebb8f347a
Signed-off-by: nke94 <nke94@samsung.com>
7 years agoRemove Model-Build-Features 24/96824/10
MyungJoo Ham [Thu, 10 Nov 2016 07:14:58 +0000 (16:14 +0900)]
Remove Model-Build-Features

- This is for Tizen 4.0

- The maintainer needs to create a JIRA-TRE issue when SR-ing:

  - Add crosswalk-tizen-extension-circle for wearable profile's circle displays.

- Model-build-features is going to be phased out.

Change-Id: I30de7d6bb214862838b64f322cc145823057fde9
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoCreate profile-common binary for unified environment. 04/96504/12
MyungJoo Ham [Wed, 9 Nov 2016 07:21:59 +0000 (16:21 +0900)]
Create profile-common binary for unified environment.

In Tizen 4.0, supporting "Configurability / Building Blocks",
a package is highly recommended to have a single common binary
for every profile.

If the behavior is different per profile,
1. (highly recommended) probe the profile at init/run time.
2. (highly recommended) distinguish at install time.
3. (not so recommended, but acceptable) create multiple binaries and choose one at install time;
the spec file becomes extremely messy and build time does not become shorter.
4. (CANNOT accept), different external headers (devel package) per profile.

To create an example of case 1, I've updated crosswalk-tizen.

Because there are other packages in case 4 and there are buildrequires cannot be met in some profiles,
this commit targets the future "unified" OBS project only. For the conventional profiles, the
common-ness with case 1 is limited.

To maintainer: PLEASE remove model_build_features soon. Replace it with some vconf/capi values as it is done
for other features with common/platform_info.h

- Update at patch set 3:
  : Added workaround due to chromium-efl's devel package issue (header contents different per profile for Tizen internal packages)

Change-Id: I17f2be3107e4085373af644330b5d971fce1cdd7
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoMerge branch 'tizen_30' into tizen_40 submit/tizen/20170207.025159
jaekuk, lee [Mon, 6 Feb 2017 05:47:44 +0000 (14:47 +0900)]
Merge branch 'tizen_30' into tizen_40

7 years agoMerge "Terminate properly when triggering hardware back key event" into tizen_3.0 accepted/tizen/3.0/common/20170209.112717 accepted/tizen/3.0/ivi/20170209.033341 accepted/tizen/3.0/mobile/20170209.033124 accepted/tizen/3.0/tv/20170209.033230 accepted/tizen/3.0/wearable/20170209.033304 submit/tizen_3.0/20170206.054214
jaekuk lee [Mon, 6 Feb 2017 05:39:32 +0000 (21:39 -0800)]
Merge "Terminate properly when triggering hardware back key event" into tizen_3.0

7 years agoTerminate properly when triggering hardware back key event 92/113092/2
Youngsoo Choi [Mon, 6 Feb 2017 04:09:15 +0000 (13:09 +0900)]
Terminate properly when triggering hardware back key event

Termination should not be done when there are multiple webviews and
hardware back key event is triggered for page navigation.
The termination needs to be done only if there is one webview on view stack.

This CL adds condition for the checking webview count.

PLM: P170125-05834
Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2951

Change-Id: I6d4056c46a0c9999d068d1dd4c14d4f4793457a0
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoMerge branch 'tizen_30' into tizen_40 submit/tizen/20170206.035835
jaekuk, lee [Mon, 6 Feb 2017 03:52:15 +0000 (12:52 +0900)]
Merge branch 'tizen_30' into tizen_40

7 years agoAdd a code to check module_system 72/113072/2
jaekuk, lee [Mon, 6 Feb 2017 03:47:42 +0000 (12:47 +0900)]
Add a code to check module_system

To prevent decreasing "plugin_session_count",
because the context is not created if it is a remote URL.

Change-Id: I5a85ee2794bcb3b454ec937859435e62cd12d6ff
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
7 years agoAdd a code to check module_system 72/113072/1 submit/tizen_3.0/20170206.035155 submit/tizen_3.0/20170206.035459
jaekuk, lee [Mon, 6 Feb 2017 03:47:42 +0000 (12:47 +0900)]
Add a code to check module_system

Change-Id: I5a85ee2794bcb3b454ec937859435e62cd12d6ff
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
7 years agofixup! fixup! Refactor call of terminator 03/112603/2 accepted/tizen/3.0/common/20170202.151217 accepted/tizen/3.0/ivi/20170202.085613 accepted/tizen/3.0/mobile/20170202.085528 accepted/tizen/3.0/tv/20170202.085544 accepted/tizen/3.0/wearable/20170202.085559 submit/tizen_3.0/20170202.025509 submit/tizen_3.0_tv/20170411.080847 submit/tizen_3.0_tv/20170411.081201
Youngcheol Kang [Thu, 2 Feb 2017 02:41:25 +0000 (11:41 +0900)]
fixup! fixup! Refactor call of terminator

This patch fixes the following build problem in original patch.

error : No package 'appcore-watch' found

Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2906

Change-Id: I31ec4f3654f800944f2c3af8478f08d65c73d5fe
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
7 years agofixup! Refactor call of terminator 95/112595/1 submit/tizen_3.0/20170202.012915
Youngcheol Kang [Thu, 2 Feb 2017 01:17:27 +0000 (10:17 +0900)]
fixup! Refactor call of terminator

This patch fixes the following build problem in original patch.

error: watch_app_exit was not declared in this scope
       watch_app_exit();

Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2906

Change-Id: Iaa9028fe0851a0fd8f93d29d779e92a1ef7a56e2
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
7 years agoApply session counter only for product tv 24/112124/3 submit/tizen_3.0/20170201.125229
Youngsoo Choi [Thu, 26 Jan 2017 06:32:15 +0000 (15:32 +0900)]
Apply session counter only for product tv

There hasn't been any issue on public profiles regarding session count.
So, the session counter is not needed for the public profiles.

Also this CL adds the codes for preventing white screen issue
during the termination of web application.

Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2867

Change-Id: I2418669eb7000f57d56fdca27437a11e5d59d09b
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
7 years agoMerge "Implement notification onclick event" into tizen_3.0
Sungsik Han [Thu, 26 Jan 2017 06:35:07 +0000 (22:35 -0800)]
Merge "Implement notification onclick event" into tizen_3.0

7 years agoImplement notification onclick event 22/112122/1
Youngsoo Choi [Thu, 26 Jan 2017 06:21:07 +0000 (15:21 +0900)]
Implement notification onclick event

This CL enables notification onclick event.

Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2866

Change-Id: Iecb07daaacea6d82abc2824cabcc9941c33f70d1
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoWeb app is not launching in user binary 31/111031/3
Srinivasarao Javvadi [Thu, 19 Jan 2017 07:44:12 +0000 (13:14 +0530)]
Web app is not launching in user binary

[Model] Pride Z250F
[BinType] AP
[Customer] N/A

[Issue#] P170109-05747
[Request] N/A
[Occurrence Version]

[Problem]  Window show & active are not being called
[Cause & Measure] Cause:  lang_changed_mode_ is not initialized
in WebApplication object which is created using overloaded WebApplication
constructor using Ewk_context.
During frame rendered callback, window show & active will not be called
upon language call back.
Measure: Initialize lang_changed_mode_ to false in WebApplication object
[Checking Method]
 Web application window should be shown on launching the app

[Team] Web Run Time
[Developer] Srinivasarao J
[Solution company] Samsung
[Change Type] N/A

Change-Id: I0eb5acb7cafcee695bf8c6735baa6b41c1f6a91d

7 years agoHide the window object during termination of webapp 81/110181/4
Youngcheol Kang [Fri, 13 Jan 2017 07:07:21 +0000 (16:07 +0900)]
Hide the window object during termination of webapp

This white screen is shown because the webview is deleted and
window object remains. This patch fixes this issue using
evas_object_hide() API for preventing the white screen issue
during the termination of web application.

Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2790

Change-Id: Ie697d4285d957ccc830518e78d3135c3770801c2
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
7 years agoRefactor call of terminator 93/110793/5
Youngsoo Choi [Wed, 18 Jan 2017 05:29:29 +0000 (14:29 +0900)]
Refactor call of terminator

The terminator has been registered by Runtime.
It makes a dependency from WebApplication to Runtime and does not assure
the existence of the Runtime instance.

Bug: DF170116-01203
Url: http://suprem.sec.samsung.net/jira/browse/TWF-2805

Change-Id: I700bddab8fb392dca131ab5d3a913ed63e45b792
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoPrevent duplicated call of |Terminate| 84/110584/6
Youngsoo Choi [Mon, 16 Jan 2017 03:51:12 +0000 (12:51 +0900)]
Prevent duplicated call of |Terminate|

There will be duplicated call of |Terminate| in following case.
When pressing back key multiple times,
h/w key events emit multiple |Terminate| as they are pressed.
The |Terminate| needs to be processed once.

Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2801

Change-Id: I16745993d60df78c04e354352066a7db7181e303
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoDo not create extended main loop for termination by |Terminate| 68/110768/2
Youngsoo Choi [Mon, 16 Jan 2017 03:51:12 +0000 (12:51 +0900)]
Do not create extended main loop for termination by |Terminate|

There are two types of termination sequences.

The first one is terminated by |Terminate| and another one is
terminated by |OnTerminate| triggered by application framework.

In case of termination by |OnTerminate|, app f/w emits elm_shutdown that
quits main loop so extended main loop is needed to finish termination sequence.

Btw, in case of termination by |Terminate|, app f/w does not interrupt current
main loop so it is stll alive and extended main loop is not needed.

This CL introduces not to create extended main loop for the termination
by |Terminate|.

Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2804

Change-Id: I15147c9d07ec768bdb7f8acf92e18886ec2c100d
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoAdd elementary APIs for running web app without wrt-loader 67/110567/1
Youngsoo Choi [Tue, 17 Jan 2017 05:07:27 +0000 (14:07 +0900)]
Add elementary APIs for running web app without wrt-loader

The |elm_init| and |elm_config_cache_flush_enabled_set| are missing
when launching web app without wrt-loader.

bug: http://suprem.sec.samsung.net/jira/browse/TWF-2800

Change-Id: I5effca0e67561b9ed1e900e6d5b86087143dfc81
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoLocate ewk_view_page_close in extended main loop 88/110188/1
Youngsoo Choi [Thu, 12 Jan 2017 05:52:13 +0000 (14:52 +0900)]
Locate ewk_view_page_close in extended main loop

Sometimes, closing page callbkack is missing when the callback comes
between terminating main loop and creating extended main loop.
In that case, deadlock situation happens.
To avoid the issue, the ewk_view_page_close needs to be called
in extended main loop to assure receiving the callback.
Also, evas object needs to be deleted when it's valid.

Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2782

Change-Id: I7a86121bc7c78225b54bb6fe22b934f62615a46d
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoRemove unused varialbe is_on_terminate_called 51/109351/1
Youngsoo Choi [Tue, 10 Jan 2017 05:52:26 +0000 (14:52 +0900)]
Remove unused varialbe is_on_terminate_called

Since the termination sequence was unified using context session,
the variable is_on_terminate_called hasn't been used.

Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2769

Change-Id: Ie30e501d1c9ed1934c9cea560922c69efe79b810
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoMerge branch 'tizen_30' into tizen_40 submit/tizen/20170109.152244
jaekuk, lee [Mon, 9 Jan 2017 15:22:27 +0000 (00:22 +0900)]
Merge branch 'tizen_30' into tizen_40

7 years agoAssure proper termination using context session 66/108966/5 accepted/tizen_3.0.m2_common accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/common/20170111.094130 accepted/tizen/3.0.m2/mobile/20170111.043120 accepted/tizen/3.0.m2/tv/20170111.043138 accepted/tizen/3.0.m2/wearable/20170111.043201 accepted/tizen/3.0/common/20170110.125811 accepted/tizen/3.0/ivi/20170110.044431 accepted/tizen/3.0/mobile/20170110.044338 accepted/tizen/3.0/tv/20170110.044355 accepted/tizen/3.0/wearable/20170110.044412 submit/tizen_3.0.m2/20170109.152207 submit/tizen_3.0.m2/20170111.004805 submit/tizen_3.0/20170109.151907
Youngsoo Choi [Wed, 4 Jan 2017 09:01:10 +0000 (18:01 +0900)]
Assure proper termination using context session

Current main loop quits when closing window callback is called.
Btw, it does not assure proper termination of changing watch face
because context session stops too early and callback can not be called
and then dead lock happens.

So, this CL extends the main loop until all the context sessions are finished
and covers following termination scenarios.

* h/w back key
* exit pop up menu
* exit command |pkgcmd -k|
* uninstall command |pkgcmd -u| while webapp runs
* changing watch face

Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2765

Change-Id: I1767ef5f14e393ffc59668b0b9925d781abfd2f5
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoMerge branch 'tizen_30' into tizen_40 submit/tizen/20170109.135547
jaekuk, lee [Mon, 9 Jan 2017 13:55:28 +0000 (22:55 +0900)]
Merge branch 'tizen_30' into tizen_40

7 years agoPrevent duplicated eventcallback call 62/109262/2 submit/tizen_3.0.m2/20170109.135709 submit/tizen_3.0/20170109.135200
ws29.jung [Mon, 9 Jan 2017 12:23:32 +0000 (21:23 +0900)]
Prevent duplicated eventcallback call

Unexpectly, there is some case which calls same function twice.
To prevent these case, it is proper to set eventlistener to NULL
when webview is pop/erased from view stack.

Bug: http://suprem.sec.samsung.net/jira/browse/TSAM-12508

Change-Id: Ie1931bc9d20e3db0c3dde04f640b82e8b3fa17dc
Signed-off-by: ws29.jung <ws29.jung@samsung.com>
7 years agoDisable autotextsizing with 2.4 compatible app 59/109159/2
ws29.jung [Mon, 9 Jan 2017 05:25:07 +0000 (14:25 +0900)]
Disable autotextsizing with 2.4 compatible app

When app is launching, wrt check compatibiliy then
disable autotextsizing setting with 2.4 compatibl webapp
This patch is made to resolve different app appearance issue
between 2.4 and 3.0.

Bug: P161227-02523

Change-Id: Ib358d7aa0241a4fd462d362ce9a4f80f3477d4e9
Signed-off-by: ws29.jung <ws29.jung@samsung.com>
7 years agoMerge "Refactor for unifying fragmented termination sequences" into tizen_3.0 accepted/tizen/3.0/common/20170109.200433 accepted/tizen/3.0/ivi/20170109.074929 accepted/tizen/3.0/mobile/20170109.074828 accepted/tizen/3.0/tv/20170109.074850 accepted/tizen/3.0/wearable/20170109.074909 submit/tizen_3.0.m2/20170109.052537 submit/tizen_3.0/20170109.051017
Sungsik Han [Fri, 6 Jan 2017 07:42:42 +0000 (23:42 -0800)]
Merge "Refactor for unifying fragmented termination sequences" into tizen_3.0

7 years agoRefactor for unifying fragmented termination sequences 37/108437/7
Youngsoo Choi [Wed, 4 Jan 2017 09:01:10 +0000 (18:01 +0900)]
Refactor for unifying fragmented termination sequences

There have been fragmented termination sequences of following exit scenarios.
* h/w back key
* exit pop up menu
* exit command |pkgcmd -k|
* uninstall command |pkgcmd -u| while webapp runs

This CL makes those termination sequences go through a extended main loop.
Also, removing view stacks is only handled from closing window callback and
then the extended main loop quits to terminate webapp.

The extneded main loop provides enough time for termination of renderer thread
and prevents dead lock.

Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2765

Change-Id: I0f6e8092bd092c07a841c6cab20be22c67fe4928
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>