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>
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
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
jaekuk lee [Fri, 27 Oct 2017 03:30:22 +0000 (03:30 +0000)]
Merge "Fix codes about initializing the VCWebView handle" into tizen
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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
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>
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>
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>
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>
jaekuk, lee [Mon, 6 Feb 2017 05:47:44 +0000 (14:47 +0900)]
Merge branch 'tizen_30' into tizen_40
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
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>
jaekuk, lee [Mon, 6 Feb 2017 03:52:15 +0000 (12:52 +0900)]
Merge branch 'tizen_30' into tizen_40
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>
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>
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>
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>
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>
Sungsik Han [Thu, 26 Jan 2017 06:35:07 +0000 (22:35 -0800)]
Merge "Implement notification onclick event" into tizen_3.0
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>
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
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>
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>
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>
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>
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>
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>
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>
jaekuk, lee [Mon, 9 Jan 2017 15:22:27 +0000 (00:22 +0900)]
Merge branch 'tizen_30' into tizen_40
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>
jaekuk, lee [Mon, 9 Jan 2017 13:55:28 +0000 (22:55 +0900)]
Merge branch 'tizen_30' into tizen_40
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>
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>
Sungsik Han [Fri, 6 Jan 2017 07:42:42 +0000 (23:42 -0800)]
Merge "Refactor for unifying fragmented termination sequences" into tizen_3.0
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>
jaekuk lee [Thu, 5 Jan 2017 07:22:50 +0000 (23:22 -0800)]
Merge "Check web app's view mode when exiting fullscreen" into tizen_3.0
jaekuk, lee [Thu, 5 Jan 2017 04:46:05 +0000 (13:46 +0900)]
Merge branch 'tizen_30' into tizen_40
jaekuk, lee [Thu, 5 Jan 2017 04:44:40 +0000 (13:44 +0900)]
Merge branch 'tizen_3.0' of ssh://review.tizen.org:29418/platform/framework/web/crosswalk-tizen into tizen_30
jaekuk, lee [Thu, 5 Jan 2017 03:32:33 +0000 (12:32 +0900)]
Modify prefix and suffix checking the allowed domain
[P161229-05961]login page runs in browser
Change-Id: I960af6fd8254fcf071516f43f53f9650f0c357b2
Signed-off-by: jaekuk, lee <juku1999@samsung.com>