jaekuk, lee [Tue, 20 Jun 2017 04:58:27 +0000 (13:58 +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: I877ff1bc6e6c0696512cec10cd8174a27db44af2
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
jaekuk lee [Tue, 20 Jun 2017 04:16:16 +0000 (04:16 +0000)]
Revert "Implemented progressbar for web application"
This reverts commit
91759055088368ef3792c32a3a8120189456b2ec.
Change-Id: I968d22d6301db756615382f9577d61e8a536691e
jaekuk, lee [Tue, 20 Jun 2017 00:59:40 +0000 (09:59 +0900)]
Implemented progressbar for web application
Change-Id: I59bea64514e4a7adb53736bacb9267690b8a44ab
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>
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>
jaekuk, lee [Wed, 19 Apr 2017 05:17:02 +0000 (14:17 +0900)]
Merge branch 'tizen_3.0' of ssh://review.tizen.org:29418/platform/framework/web/crosswalk-tizen into tizen_30
jaekuk, lee [Wed, 19 Apr 2017 05:03:07 +0000 (14:03 +0900)]
Changed the order of elm_exit() and elm_shutdown().
Elm API should be used in the following order:
1. elm_init
2. elm_run
3. elm_exit
4. elm_shutdown
Change-Id: Id8699768ee55faa3da46c677675d5ece135457ba
Signed-off-by: jaekuk, lee <juku1999@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 [Fri, 24 Mar 2017 08:00:38 +0000 (17:00 +0900)]
Specifiy that this supports M47
Change-Id: I2317d9f8dff25e1aa557f645c892b85fe261d0f3
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
Youngcheol Kang [Tue, 20 Dec 2016 11:37:38 +0000 (20:37 +0900)]
Fix for handling CSP behavior for backward compatibility with tizen 2.x
WRT delivers the CSP elements of config.xml in web application
to the webengine through ewk_view_content_security_policy_set API.
However, some problem takes place in web application which doesn't set
CSP element in config.xml. In order to resolve this compatibility
problem, this patch adds the workaround codes for backward compatibility
with tizen 2.x by request of webengine.
In the webapp of tizen 2.x, this patch allows the all CSP policy
by using "allow *;" element.
Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2689
Change-Id: Ifba3a8db7fa5a7ab984e9746ba8e3cbb7a901c10
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
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: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>
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>
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>
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: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>
jaekuk, lee [Thu, 5 Jan 2017 04:41:07 +0000 (13:41 +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 04:40:49 +0000 (20:40 -0800)]
Merge "Fix Hardware Key action when popup is on" into tizen_3.0
ws29.jung [Thu, 5 Jan 2017 04:22:04 +0000 (13:22 +0900)]
Fix Hardware Key action when popup is on
This patch fix hardware key handling when popup is shown.
Before this patch, hardware key handled in wrt before popup action is done
when key is repidly tabbed.
Now when popup is on, wrt will not trigger event.
Bug: http://suprem.sec.samsung.net/jira/browse/TSAM-12331
Change-Id: I7b620e4f4349e8c54849ee9d24a66c0ccbe062f7
Signed-off-by: ws29.jung <ws29.jung@samsung.com>
Sungsik Han [Thu, 5 Jan 2017 04:18:38 +0000 (20:18 -0800)]
Merge "Change UserMedia popup message" into tizen_3.0
Sungsik Han [Thu, 5 Jan 2017 04:16:58 +0000 (20:16 -0800)]
Merge "Fix URI scheme parsing" into tizen_3.0
Youngmin Yoo [Thu, 5 Jan 2017 03:58:18 +0000 (12:58 +0900)]
Fix URI scheme parsing
IP/Host on the internet
ex) http://user:password@www.tizen.org:8080/market/Item?12345
url_ = http://user:password@www.tizen.org:8080/market/Item?12345
scheme_ = http
domain_ = www.tizen.org
user_ = user
password_ = password
Link : https://www.w3.org/Addressing/rfc1738.txt
Bug : P161229-04063
Bug : http://suprem.sec.samsung.net/jira/browse/TWF-2753
Change-Id: I71fbc95c5b71cd36c370c3ed34fe6d8176cb21a7
Signed-off-by: Youngmin Yoo <youngmin.yoo@samsung.com>
jaekuk, lee [Thu, 5 Jan 2017 03:37:16 +0000 (12:37 +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
Change-Id: I960af6fd8254fcf071516f43f53f9650f0c357b2
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
jaekuk, lee [Wed, 4 Jan 2017 02:13:00 +0000 (11:13 +0900)]
Add a api of tizen version when creating new web view and when receiving a event of appcontrol.
Change-Id: Ica6df4f23e4a6637ae448e95080fcfb882add280
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
jaekuk, lee [Wed, 4 Jan 2017 02:13:00 +0000 (11:13 +0900)]
Add a api of tizen version when creating new web view.
Change-Id: Ica6df4f23e4a6637ae448e95080fcfb882add280
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
Sanjana Venkatachalam [Fri, 30 Dec 2016 09:21:29 +0000 (14:51 +0530)]
Check web app's view mode when exiting fullscreen
[Issue#] PLM P161223-02573
[Problem] Indicator is visible when user exits fullscreen after watching a video in
Hotstar web app even if viewmodes="fullscreen" is mentioned in config.xml
[Cause] When exit fullscreen callback is received, indicator is shown even if viewmode
of webapp is fullscreen
[Solution] Indicator is not shown if viewmode of webapp is fullscreen
[Verification]
1) Build and install crosswalk-tizen rpm
2) Launch Hotstar webapp and play any video
3) Open fullscreen mode and exit fullscreen
4) Indicator should not be visible
Change-Id: Ic7452d3da8f7e53ef4768b3f8ed619504fbc208e
Youngsoo Choi [Tue, 3 Jan 2017 04:10:51 +0000 (13:10 +0900)]
Reply to javascript dialog when exiting by command |pkgcmd|
There's an issue not to kill web app when javascript dialog is opened
even if the command |pkgcmd -k -n <pkgid>| is executed to kill the web app.
To prevent the issue, this CL replies to the dialog to close it
right before the termination.
Bug: TSAM-11809, TSAM-11813
Url: http://suprem.sec.samsung.net/jira/browse/TSAM-11809
Url: http://suprem.sec.samsung.net/jira/browse/TSAM-11813
Change-Id: I4757f45b3731d25cb57876f12c7b2e52b9f62af7
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Youngsoo Choi [Mon, 2 Jan 2017 13:33:48 +0000 (22:33 +0900)]
Refactor ClosePageFromOnTerminate
The view stack needs to be handled in class WebApplication.
Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2743
Change-Id: Ide43a3d254da9d1746b5235a97ed401aa24ea7b8
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Youngmin Yoo [Thu, 29 Dec 2016 02:01:33 +0000 (11:01 +0900)]
Change UserMedia popup message
3.0 UserMedia popup message has wrong mapping.
BUG : http://suprem.sec.samsung.net/jira/browse/TWF-2729
Change-Id: Id74ea20f780f00ac35123975f661715653c2fae3
Signed-off-by: Youngmin Yoo <youngmin.yoo@samsung.com>
Youngcheol Kang [Tue, 27 Dec 2016 07:09:11 +0000 (16:09 +0900)]
Reply to javascript dialog before closing webview
In order to prevent crash/fress issue, this patch adds
the codes which call the ewk_view_javascript_alert_reply()
when internal popup was opened.
Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2715
Change-Id: I029f0cbc4ffc5b8bb9cdf2dc35d40e0f69c9338f
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
Youngsoo Choi [Mon, 26 Dec 2016 15:23:50 +0000 (00:23 +0900)]
Defer main loop until window is completely closed
When uninstalling a webapp is performed while running the webapp,
there's no enough time for termination of render thread by |OnTerminate|.
In that case, the life-cycle of main loop needs to be guaranteed
until closing window callback is called.
So, this CL defers main loop until window is completely closed
and removes previously implemented timer for the termination.
Bug: TSAM-12072
Url: http://suprem.sec.samsung.net/jira/browse/TSAM-12072
Change-Id: I095d522f70d1c1759d07f697a179986fea7ebab5
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Sungsik Han [Tue, 27 Dec 2016 08:59:29 +0000 (00:59 -0800)]
Merge "Improve privilege checker." into tizen_3.0
Youngmin Yoo [Thu, 22 Dec 2016 05:15:49 +0000 (14:15 +0900)]
Improve privilege checker.
Privilege check:
- given default privilege when application installed.
- added privilege in config.xml by Application developer.
Bug: P161214-04760
Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2681
Change-Id: Ic21058964aa98ca26460b6717dca063aaf406043
Signed-off-by: Youngmin Yoo <youngmin.yoo@samsung.com>
Youngcheol Kang [Tue, 27 Dec 2016 06:15:41 +0000 (15:15 +0900)]
Apply the suspend before closing webview
In order to prevent crash/freeze issue, the webview should be
suspended before closing.
Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2711
Change-Id: I0e69d0ccc12c41eae58b5989aeca317babcee780
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
Youngmin Yoo [Mon, 26 Dec 2016 08:30:48 +0000 (17:30 +0900)]
fixup! Support the orientation lock for Tizen 2.4 compatibility.
This patch fixes parsed tizen verion.
Change-Id: If1b2ba0b78a76f0eee0b6e896c1e705e26f5cf68
Signed-off-by: Youngmin Yoo <youngmin.yoo@samsung.com>
Sungsik Han [Mon, 26 Dec 2016 07:29:05 +0000 (23:29 -0800)]
Merge "Support the orientation lock for Tizen 2.4 compatibility." into tizen_3.0
Youngmin Yoo [Thu, 22 Dec 2016 04:29:37 +0000 (13:29 +0900)]
Support the orientation lock for Tizen 2.4 compatibility.
In Tizen 2.4 WebKit locking screen orientation was possible with WebAPI
screen.lockOrientation(). This WebAPI was deprecated and replaced with
screen.orientation.lock(). But for compatibility case Web Engine needs to support
old API.
So WRT also need to support the orientation lock for backward compatibility.
Releted web engine patch:
https://review.tizen.org/gerrit/#/c/106159/
https://review.tizen.org/gerrit/#/c/105156/
Bug : http://suprem.sec.samsung.net/jira/browse/TWF-2640
Bug : http://suprem.sec.samsung.net/jira/browse/TWF-2698
Change-Id: I4542929c731a4c5218cfccba3592562720d21e89
Signed-off-by: Youngmin Yoo <youngmin.yoo@samsung.com>
Sungsik Han [Mon, 26 Dec 2016 00:25:45 +0000 (16:25 -0800)]
Merge "Fix the terminate routine to avoid deadlock in ewk_shutdown" into tizen_3.0
Youngcheol Kang [Fri, 23 Dec 2016 07:53:05 +0000 (16:53 +0900)]
fixup! Code refactoring about checking the EventListener of WebView class
This patch fixes the -fpermissive error about return-statement.
Change-Id: Id845258c1ee328f2d98cce50e1cfc21aeb9ec2a5
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
jaekuk, lee [Fri, 23 Dec 2016 02:38:02 +0000 (11:38 +0900)]
Modify not to do symlink when upgrading wrt
Change-Id: I65bd183b3dff314b2fa5212fd2a166c7ebbeca6f
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
Youngcheol Kang [Wed, 21 Dec 2016 11:31:11 +0000 (20:31 +0900)]
fixup! Apply mime_override_callback for specific mimetype
When the mime is empty, the callback should be released to prevent
the crash issue.
Bug: http://suprem.sec.samsung.net/jira/browse/TSAM-11333
Change-Id: Iaec07731e0c4a092cce161f3d39dc4bac18c2d22
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
Youngcheol Kang [Thu, 22 Dec 2016 16:12:55 +0000 (01:12 +0900)]
Fix the terminate routine to avoid deadlock in ewk_shutdown
If ewk_shutdown is called when renderer thread works,
the deadlock happens while exiting the web application.
In order to prevent this deadlock problem, crosswalk don't
terminate the web application directly, it terminate
the web application using ewk_view_page_close API.
By using ewk_view_page_close API, crosswalk can receive
the callback that renderer thread was terminated.
After then crosswalk call the ewk_shutdown.
Bug: http://suprem.sec.samsung.net/jira/browse/TSAM-11982
Change-Id: I0d6279be0a03835ab58e2bf21443dcbba286f823
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
jaekuk lee [Wed, 21 Dec 2016 07:57:19 +0000 (23:57 -0800)]
Merge "Code refactoring about checking the EventListener of WebView class" into tizen_3.0
jaekuk, lee [Tue, 20 Dec 2016 06:38:10 +0000 (15:38 +0900)]
Change the location of BackKeyEvent
Change-Id: I4b49a1f991527f2ebf314fbef36c80d4665bb6fb
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
jaekuk, lee [Tue, 20 Dec 2016 02:05:33 +0000 (11:05 +0900)]
Add ewk_settings_tizen_compatibility_mode_set API
Change-Id: I23b837c6ecb49c5033e8945f8d92991a37b7eaf0
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
Youngcheol Kang [Mon, 19 Dec 2016 09:46:49 +0000 (18:46 +0900)]
Handle back-key behavior when viewmode is 'windowed'
The Webview should be navigated back in history if the viewmode is
'windowed' in config.xml.
This patch adds the codes for handling the back-key behavior when
viewmode is 'windowed' for backward compatibility with Tizen 2.x.
Bug: P161214-06597
Change-Id: I83dff6c297cbc2baa82fdd19a49b1f89a433710e
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
min7.choi [Thu, 15 Dec 2016 12:28:06 +0000 (21:28 +0900)]
Setting custom timeout HTTP (Long polling)
Change-Id: I37282aa22b62a1f83cbcf19bfd1bad46255ea2ca
Signed-off-by: min7.choi <min7.choi@samsung.com>
jaekuk, lee [Thu, 15 Dec 2016 12:03:48 +0000 (21:03 +0900)]
Show window after launch for remote URL
Change-Id: I7ab95b4f88c63c9dc1d1becfa9d07971a2b229c8
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
Sungsik Han [Thu, 15 Dec 2016 11:58:17 +0000 (03:58 -0800)]
Merge "[HOTFIX] Delay main_loop shutdown to avoid deadlock" into tizen_3.0
ws29.jung [Thu, 15 Dec 2016 05:20:22 +0000 (14:20 +0900)]
[HOTFIX] Delay main_loop shutdown to avoid deadlock
When keyboard switches from Tizen Keyboard to WebApp Keyboard,
keyboard select button enables before WebApp keyboard is completely loaded.
In that time if keyboard switches back to Tizen Keyboard,
deadlock occurs between main_loop and Webview.
To avoid this deadlock, delay main_loop until webview load is finished
BUG: http://suprem.sec.samsung.net/jira/browse/TSAM-11361
Change-Id: I469bea8ff1b3dc3bbb69a37f0fe6114f30b8d855
Signed-off-by: ws29.jung <ws29.jung@samsung.com>
jaekuk lee [Thu, 15 Dec 2016 09:46:59 +0000 (01:46 -0800)]
Revert "Show window after launch for remote URL"
This reverts commit
31dc726d6753f186c4e815335e8d08edd1f901b7.
Change-Id: Icb8cd8b26c44ae53403ae2ad894eea90ead7851c
jaekuk, lee [Thu, 15 Dec 2016 08:25:39 +0000 (17:25 +0900)]
Show window after launch for remote URL
Change-Id: I05af606e60fdafc3f109da953e266301c61cb5ad
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
jaekuk, lee [Wed, 14 Dec 2016 07:04:05 +0000 (16:04 +0900)]
upgrade script numbering
Change-Id: I97109343caffcd74b93ebc0430278cbf50d7b2d6
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
Youngcheol Kang [Tue, 13 Dec 2016 07:17:33 +0000 (16:17 +0900)]
Code refactoring about checking the EventListener of WebView class
This patch refactors the codes which related to checking the
EventListener of WebView class in WebViewImpl class.
It can prevent the crash issue which happens when EventListener
was destroyed.
Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2633
Change-Id: Id8ad4823594bd18267c51fbe8ab2279f81e77b4b
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
jaekuk lee [Tue, 13 Dec 2016 07:00:52 +0000 (23:00 -0800)]
Merge "Fixed the crash when the app is terminated through h/w back-key" into tizen_3.0
ws29.jung [Tue, 13 Dec 2016 06:54:08 +0000 (15:54 +0900)]
Remove option 'open link in current tab' on WebApp
'open link in current tab' is only for browser app
Change-Id: Id8fcc4c6c6f5d894a3501c175f1d7c26249b96d1
Signed-off-by: ws29.jung <ws29.jung@samsung.com>
Youngcheol Kang [Tue, 13 Dec 2016 05:54:50 +0000 (14:54 +0900)]
Fixed the crash when the app is terminated through h/w back-key
The crash happens due to the callback which occur after destroying
WebApplication class. this patch adds the codes to prevent this
crash issue by checking the EventListener of WebView class.
Bug: http://suprem.sec.samsung.net/jira/browse/TSAM-11504
Change-Id: Ie27666ee604bf375bfc34a43e5e8f24eda758a22
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
min7.choi [Fri, 9 Dec 2016 02:14:36 +0000 (11:14 +0900)]
Modify using a fullscreen in config.xml(viewmodes), indicator was not seen
Change-Id: I44cb9df7d4831501820edd0afd1985754d8c7b1e
Signed-off-by: min7.choi <min7.choi@samsung.com>
jaekuk lee [Thu, 8 Dec 2016 06:58:47 +0000 (22:58 -0800)]
Revert "Fix screen_orientation issue in wearable profile"
This reverts commit
ab32f24359aa9a52874231cf78c868793fff7c63.
Change-Id: I593553065734a91616d4544270eb8caef3095fae
min7.choi [Wed, 7 Dec 2016 07:06:37 +0000 (16:06 +0900)]
Fix screen_orientation issue in wearable profile
Change-Id: I5459be72dc0984114f4b6dd2a3f56baae90063bf
Signed-off-by: min7.choi <min7.choi@samsung.com>
jaekuk, lee [Tue, 29 Nov 2016 06:14:23 +0000 (15:14 +0900)]
Merge branch 'tizen_3.0' of ssh://review.tizen.org:29418/platform/framework/web/crosswalk-tizen into tizen_30
jaekuk, lee [Tue, 29 Nov 2016 05:25:13 +0000 (14:25 +0900)]
modify to send backkey to web app on remote url.
Change-Id: Ie570309671cc31036fb3ad2aa1065e6079850c4c
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
jaekuk, lee [Tue, 29 Nov 2016 05:25:13 +0000 (14:25 +0900)]
modify to send the key to web app
Change-Id: Ie570309671cc31036fb3ad2aa1065e6079850c4c
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
jaekuk, lee [Wed, 23 Nov 2016 11:09:37 +0000 (20:09 +0900)]
Apply renaming of SplashScreenHandler
Author: JongHeonChoi <j-h.choi@samsung.com>
https://github.com/crosswalk-project/crosswalk-tizen/pull/138
Change-Id: Ie8dbcf0bdbdfd430deacdc7b94cfa7abfce443d7
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
jaekuk, lee [Tue, 22 Nov 2016 01:50:19 +0000 (10:50 +0900)]
localized_page has been modified not to use the localized path like current_page.
Change-Id: I4c966b5e8660ad5b6d898cd40e0feccaecc24a43
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
min7.choi [Mon, 21 Nov 2016 09:30:17 +0000 (18:30 +0900)]
Fix, When the language is changed, the window not to do the show and active
Change-Id: I4534f5b13c48fbc916ee2c9ee8f3f92245f9e305
Signed-off-by: min7.choi <min7.choi@samsung.com>
Marcin Niesluchowski [Thu, 10 Nov 2016 10:28:19 +0000 (11:28 +0100)]
Change dummy object atspi role
At point accessibility interface propagation stops on atspi with redundant
objects role. This disallows selection of webview accessibility elements, as
background which has that role is set to parent of ewk view.
Change background atspi role to filler.
This also reverts following change:
* c4c4caa Dummy button should be invisible to accessibility
Change-Id: I900651d7458e4b92fb1c89ace2a935d2d00eb2dd
Signed-off-by: Marcin Niesluchowski <m.niesluchow@samsung.com>
jaekuk, lee [Tue, 8 Nov 2016 02:06:58 +0000 (11:06 +0900)]
Add PATH variable to upgrade.sh
Change-Id: Ie33ca01255af142c307e185e5e03df5207fc9c3d
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
DongJun Kim [Mon, 31 Oct 2016 07:39:31 +0000 (16:39 +0900)]
Dummy button should be invisible to accessibility
Change dummy button accessible role to REDUNDANT_OBJECT and
dissable option of being highlighted.
Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2381
Change-Id: I5e55048da697b3ad2fd039d1fd933e93fc385a1b
Signed-off-by: DongJun Kim <djmix.kim@samsung.com>
wscho77 [Mon, 31 Oct 2016 06:00:16 +0000 (15:00 +0900)]
Merge pull request #161 from JongHeonChoi/fx_uri_scheme
Skip an asterisk in appcontrol uri data
wscho77 [Mon, 31 Oct 2016 06:00:05 +0000 (15:00 +0900)]
Merge pull request #160 from JongHeonChoi/add_build_flag
Add the -export-dynamic flags to the link options for the main execut…
wscho77 [Mon, 31 Oct 2016 05:59:45 +0000 (14:59 +0900)]
Merge pull request #159 from JongHeonChoi/fx_indicator_mode
Fixed default indicator mode
JongHeon Choi [Mon, 31 Oct 2016 04:54:35 +0000 (13:54 +0900)]
Skip an asterisk in appcontrol uri data
JongHeon Choi [Mon, 31 Oct 2016 04:09:32 +0000 (13:09 +0900)]
Add the -export-dynamic flags to the link options for the main executable
JongHeon Choi [Wed, 19 Oct 2016 01:17:49 +0000 (10:17 +0900)]
Fixed default indicator mode
wscho77 [Tue, 18 Oct 2016 04:31:08 +0000 (13:31 +0900)]
Merge pull request #158 from JongHeonChoi/add_ewk_form
ewk_settings_form APIs is not declare in wearable profile
JongHeon Choi [Tue, 18 Oct 2016 04:29:32 +0000 (13:29 +0900)]
ewk_settings_form APIs is not declare in wearable profile
wscho77 [Mon, 17 Oct 2016 04:07:57 +0000 (13:07 +0900)]
Merge pull request #157 from JongHeonChoi/rm_white_space
Remove white space
wscho77 [Mon, 17 Oct 2016 04:07:34 +0000 (13:07 +0900)]
Merge pull request #156 from JongHeonChoi/add_ewk_form
Add ewk_setting_form api for display the options of the data list
JongHeon Choi [Thu, 13 Oct 2016 11:09:50 +0000 (20:09 +0900)]
Remove white space