platform/framework/web/crosswalk-tizen.git
6 years agoUpdate AppManager.wgt 35/159835/1
jaekuk, lee [Mon, 13 Nov 2017 07:20:05 +0000 (16:20 +0900)]
Update AppManager.wgt

Change-Id: I6215dff4c9114d50ee784b20f45fe5f8bc1b46ee
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
6 years agoMerge "[Extension] Add App Timer extension & sample app" into tizen.devel
jaekuk, lee [Fri, 10 Nov 2017 01:22:25 +0000 (01:22 +0000)]
Merge "[Extension] Add App Timer extension & sample app" into tizen.devel

6 years ago[Tizen][TV] Support mouse cursor on product tv 17/159417/1
Youngsoo Choi [Thu, 9 Nov 2017 00:46:22 +0000 (09:46 +0900)]
[Tizen][TV] Support mouse cursor on product tv

This supports mouse cursor on product tv.

Change-Id: I5daa456e3ee27a430dfd0c3a7a2806faa07e12e8
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[Tizen] Support HW key event 01/159001/5
Sanghyup Lee [Mon, 6 Nov 2017 08:51:00 +0000 (17:51 +0900)]
[Tizen] Support HW key event

Send tizenhwkey custom event from HW back/More keys.
And close default apps with HW back key.

Change-Id: I625372d11f35fd48ff847320082ca8bdc3c0637f
Signed-off-by: Sanghyup Lee <sh53.lee@samsung.com>
7 years ago[Tizen] Fix file permission error 82/159282/4
Sanghyup Lee [Wed, 8 Nov 2017 02:38:16 +0000 (11:38 +0900)]
[Tizen] Fix file permission error

Owner account can't write in current resource path.
This patch fixes resource path.

- From: /usr/apps/org.tizen.electron-efl/bin/resources/wrt_release
- To: /opt/usr/home/owner/data/electron

Change-Id: Ia0a8795033545489981c0663349aea4b64d49591
Signed-off-by: Sanghyup Lee <sh53.lee@samsung.com>
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[Tizen][TV][Bringup] Fix build error related to DevToolsManagerDelegate 25/159325/1
Youngsoo Choi [Wed, 8 Nov 2017 07:17:45 +0000 (16:17 +0900)]
[Tizen][TV][Bringup] Fix build error related to DevToolsManagerDelegate

The pure virtual function ReleasePort of class DevToolsManagerDelegate
has been defined for product tv on chromium-efl.
So, the inherited class from DevToolsManagerDelegate
needs to implement the function ReleasePort.

Mock-up function ReleasePort is added.

Change-Id: I7dc13ba51a3617f17b40bca43736dad88cc620bf
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[Tizen][TV] Add supplementary repository of chromium-efl 24/159324/1
Youngsoo Choi [Wed, 8 Nov 2017 07:16:24 +0000 (16:16 +0900)]
[Tizen][TV] Add supplementary repository of chromium-efl

Currently, chromium-efl enabling electron is not released to public repository.
So, supplementary repository is needed until it is released in public.

Change-Id: If8ece2a007a16ca9989df59b4d0c833b1322fe78
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[Tizen][TV] Support product tv build 23/159323/1
Youngsoo Choi [Tue, 7 Nov 2017 08:00:38 +0000 (17:00 +0900)]
[Tizen][TV] Support product tv build

This adds build configurations and script for product tv target.

* build command:
$ ./efl/build/build_tv.sh

Change-Id: I5940894bc217007da457491e2eaf8022c8ae4f05
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[Extension] Add App Timer extension & sample app 95/159195/4
jaekuk, lee [Tue, 7 Nov 2017 10:20:21 +0000 (19:20 +0900)]
[Extension] Add App Timer extension & sample app

This extension sets the timer for App.
version 2.0.0

Change-Id: I5065b67b94ca1a2bbdc75108aa7d9bd9311567fb
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
7 years agofixup! [Tizen] Add script to set environment variables 34/159034/3
Youngsoo Choi [Mon, 6 Nov 2017 12:55:45 +0000 (21:55 +0900)]
fixup! [Tizen] Add script to set environment variables

Tizen app framework sends magic value of parameter, like 'zaybxcwdveuftgsh'
when launching app on homescreen.

This ignores the magic value.

Change-Id: I0c4ce984ecdc592489885aa4a14c9b6e427109f4
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[Tizen] Remove dependency of elocation 93/158793/3
Youngsoo Choi [Fri, 3 Nov 2017 05:36:12 +0000 (14:36 +0900)]
[Tizen] Remove dependency of elocation

It's only needed for desktop build.

Change-Id: Ia9396819cb92575c6c9d714ce7998e515fc7fdd7
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoUpgrade version of efl, elementary 15/158915/4
min7.choi [Mon, 6 Nov 2017 02:42:19 +0000 (11:42 +0900)]
Upgrade version of efl, elementary

This supports upgraded efl and elementary.
Also, ftp protocol of source repository is changed to http protocol.

Change-Id: Idd2f71dcb207dc42455e08f6854710f3d191df4d
Signed-off-by: min7.choi <min7.choi@samsung.com>
7 years ago[Tizen] Add script to set environment variables 77/158777/3
Youngsoo Choi [Fri, 3 Nov 2017 04:19:05 +0000 (13:19 +0900)]
[Tizen] Add script to set environment variables

Change-Id: I03df4c02bd7c78d57f8a4915790e3d759c9ec71d
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoProvide harfbuzz via jhbuild 55/158655/5
Youngsoo Choi [Thu, 2 Nov 2017 09:23:05 +0000 (18:23 +0900)]
Provide harfbuzz via jhbuild

This adds library harfbuzz to fix build break on Ubuntu 14.04.

Change-Id: I3047b4c1f9163595376dfb2e2354f6d5e527d6c3
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[Tizen][WRT] Generate app.asar running web runtime 61/158561/6
Youngsoo Choi [Thu, 2 Nov 2017 00:47:40 +0000 (09:47 +0900)]
[Tizen][WRT] Generate app.asar running web runtime

In gbs build, grunt is not working when handling too many files.
So, this tries to generate app.asar using asar module without grunt.

Change-Id: I4273873024f76c11f4a9dfee18ec9844b97fc116
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[Tizen] Disable desktop_capturer 72/157272/11
Youngsoo Choi [Thu, 19 Oct 2017 02:26:52 +0000 (11:26 +0900)]
[Tizen] Disable desktop_capturer

The desktop_capturer depends on webrtc.
Btw, chromium-efl depends on webrtc using CAPI.
So, the desktop_capturer is not supported on chromium-efl.

Change-Id: I53b7bdf2077fb9e8c888f6c2d990bc9069a189ab
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[Tizen] Disable printing 71/157271/11
Youngsoo Choi [Thu, 19 Oct 2017 04:12:20 +0000 (13:12 +0900)]
[Tizen] Disable printing

The chromium-efl does not support printing feature on tizen.

Change-Id: I8b6561968b85f295f115141475c5386a071fa359
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[Tizen] Add chromium-efl headers 38/157438/7
Youngsoo Choi [Tue, 24 Oct 2017 06:34:55 +0000 (15:34 +0900)]
[Tizen] Add chromium-efl headers

It's not possible to provide chromium-efl headers from chromium-efl rpm
because tons of header files make chromium-efl rpm size too big.
So, they are added in electron-efl.

Change-Id: I839c2829c035ce5b9a14f56b99015014d640547d
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[Tizen] Add build configurations for Tizen target 70/157270/10
Youngsoo Choi [Wed, 11 Oct 2017 08:20:51 +0000 (17:20 +0900)]
[Tizen] Add build configurations for Tizen target

This enables tizen build.

Change-Id: Ibba34f66bc1a0fae09d55e44c18e13e41e9c37c1
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoMerge "[Tizen] Add supplementary repository" into tizen.devel
Sungsik Han [Mon, 6 Nov 2017 00:54:31 +0000 (00:54 +0000)]
Merge "[Tizen] Add supplementary repository" into tizen.devel

7 years agoMerge "[Tizen] Add build script and gbs.conf" into tizen.devel
Sungsik Han [Mon, 6 Nov 2017 00:53:49 +0000 (00:53 +0000)]
Merge "[Tizen] Add build script and gbs.conf" into tizen.devel

7 years agoMerge "[Tizen] Add spec and manifest" into tizen.devel
Sungsik Han [Mon, 6 Nov 2017 00:52:16 +0000 (00:52 +0000)]
Merge "[Tizen] Add spec and manifest" into tizen.devel

7 years ago[Tizen] Add supplementary repository 60/158560/4
Youngsoo Choi [Thu, 19 Oct 2017 10:49:38 +0000 (19:49 +0900)]
[Tizen] Add supplementary repository

This adds supplementary repository of chromium-efl for electron
because the chromium-efl for electron hasn't been released in public.

Change-Id: I0312bad831c402ba235bfb7566601bdf0bad8858
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[Tizen] Add build script and gbs.conf 69/157269/9
Youngsoo Choi [Thu, 19 Oct 2017 10:49:38 +0000 (19:49 +0900)]
[Tizen] Add build script and gbs.conf

Change-Id: I8e6d4ac0d27e00726357d4e6d3e9ad9c7ba7081c
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[Tizen] Add spec and manifest 68/157268/8
Youngsoo Choi [Wed, 11 Oct 2017 08:20:51 +0000 (17:20 +0900)]
[Tizen] Add spec and manifest

This is for generating rpm files.

Change-Id: I5c5bde00347e0303e2ebbe760ea09734c9142147
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoAdd chrome.pageAction.onClicked event 42/158742/2
yh106.jung [Fri, 3 Nov 2017 00:33:25 +0000 (09:33 +0900)]
Add chrome.pageAction.onClicked event

This patch adds chrome.pageAction.onClicked event which is fired by
BrowserWindow.requestExtionsionPageAction method.

Change-Id: I5924381c704d90bb189f07617e073b58b24eaebb
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
7 years agoMerge "[WRT] Fix utility script for grunt" into tizen.devel
Sungsik Han [Thu, 2 Nov 2017 08:06:20 +0000 (08:06 +0000)]
Merge "[WRT] Fix utility script for grunt" into tizen.devel

7 years agoMerge "[WRT] Upgrade node_modules for grunt" into tizen.devel
Sungsik Han [Thu, 2 Nov 2017 08:04:39 +0000 (08:04 +0000)]
Merge "[WRT] Upgrade node_modules for grunt" into tizen.devel

7 years agoMerge "[WRT] Add node_modules for wrt" into tizen.devel
Sungsik Han [Thu, 2 Nov 2017 08:02:51 +0000 (08:02 +0000)]
Merge "[WRT] Add node_modules for wrt" into tizen.devel

7 years ago[Extension] Add App Timer extension 42/157242/20
jaekuk, lee [Tue, 24 Oct 2017 02:35:58 +0000 (11:35 +0900)]
[Extension] Add App Timer extension

This extension sets the timer for App.

version 1.0.1

Change-Id: Ibacc85fce3bbe78534ab99a4012967ddc47e72a6
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
7 years ago[Extension] Add screen capture extension 12/157712/5
min7.choi [Thu, 26 Oct 2017 02:31:41 +0000 (11:31 +0900)]
[Extension] Add screen capture extension

Change-Id: I5c1471195baa0b3d312fb5ab3917ffaba8b96afc
Signed-off-by: min7.choi <min7.choi@samsung.com>
7 years ago[Extension] Add AD plus extension 86/156586/9
min7.choi [Thu, 19 Oct 2017 04:46:12 +0000 (13:46 +0900)]
[Extension] Add AD plus extension

This patch adds a new extension 'AD plus'
Show ads before running the app.

Change-Id: I0118f58252afc920d6d45fb5339bb8285d1de16b
Signed-off-by: min7.choi <min7.choi@samsung.com>
7 years ago[Extension] Introduce App Security 48/155748/8
yh106.jung [Mon, 16 Oct 2017 05:17:22 +0000 (14:17 +0900)]
[Extension] Introduce App Security

This patch adds a new extension 'App Security' which can lock each
application by own PIN.

Change-Id: I09da544338057b50d6ea788501431adbfbced4a2
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
7 years ago[WRT] Enable CHILD_PROCESS_SPAWN 58/157358/3
Sanghyup Lee [Tue, 24 Oct 2017 08:36:58 +0000 (17:36 +0900)]
[WRT] Enable CHILD_PROCESS_SPAWN

In some sample extenstions, background.js should be executed
for each application.

This patch also fixes crash when we open some application which
closed by extension.

Change-Id: I9c46a78c164ea133f768d013a9bf0a8253d4e77b
Signed-off-by: Sanghyup Lee <sh53.lee@samsung.com>
7 years ago[WRT] Add sample app 53/151753/7
min7.choi [Fri, 22 Sep 2017 01:56:51 +0000 (10:56 +0900)]
[WRT] Add sample app

Sample app with video and image.

Change-Id: I3305d361f23eef4f1c01c80f16974f14c0d758a5
Signed-off-by: min7.choi <min7.choi@samsung.com>
7 years ago[WRT] Add adv-off extension 52/151752/4
min7.choi [Thu, 21 Sep 2017 11:03:49 +0000 (20:03 +0900)]
[WRT] Add adv-off extension

This extension is a sample example that allows app
to block ads and view your movie in movie mode.

Change-Id: Iaba00ccae3e435d0ab08b7cea7807a927001b30e
Signed-off-by: min7.choi <min7.choi@samsung.com>
7 years ago[WRT] Fix utility script for grunt 67/157267/2
Youngsoo Choi [Tue, 24 Oct 2017 01:40:55 +0000 (10:40 +0900)]
[WRT] Fix utility script for grunt

This removes dependency of system grunt and uses local grunt.

Change-Id: Ia1eb704ffcf7fb67b27501e4dc20ec5ddfd58471
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[WRT] Upgrade node_modules for grunt 66/157266/2
Youngsoo Choi [Tue, 24 Oct 2017 01:44:04 +0000 (10:44 +0900)]
[WRT] Upgrade node_modules for grunt

Change-Id: I22f997da78a1255fa8b1280791e358af4d99e1a0
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[WRT] Add node_modules for wrt 65/157265/3
Youngsoo Choi [Tue, 24 Oct 2017 01:43:42 +0000 (10:43 +0900)]
[WRT] Add node_modules for wrt

Change-Id: I665be92cbf40a01aae26e46d674b98b3e0e82444
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoMerge "Implement default messagebox for desktop." into tizen.devel
Sungsik Han [Mon, 23 Oct 2017 04:54:58 +0000 (04:54 +0000)]
Merge "Implement default messagebox for desktop." into tizen.devel

7 years agoMerge "[WRT] Fix overlaped icons issue" into tizen.devel
Sungsik Han [Mon, 23 Oct 2017 04:29:26 +0000 (04:29 +0000)]
Merge "[WRT] Fix overlaped icons issue" into tizen.devel

7 years agoMerge "Add null checking when load extensions" into tizen.devel
Sungsik Han [Mon, 23 Oct 2017 04:28:42 +0000 (04:28 +0000)]
Merge "Add null checking when load extensions" into tizen.devel

7 years agoMerge "[WRT] Luncher should be updated properly" into tizen.devel
Sungsik Han [Mon, 23 Oct 2017 04:28:00 +0000 (04:28 +0000)]
Merge "[WRT] Luncher should be updated properly" into tizen.devel

7 years agoMerge "fixup! [Bringup] Guard non implemented parts in init.js" into tizen.devel
Sungsik Han [Mon, 23 Oct 2017 04:27:27 +0000 (04:27 +0000)]
Merge "fixup! [Bringup] Guard non implemented parts in init.js" into tizen.devel

7 years agoMerge "[WRT] Fix ipc message" into tizen.devel
Sungsik Han [Mon, 23 Oct 2017 04:26:51 +0000 (04:26 +0000)]
Merge "[WRT] Fix ipc message" into tizen.devel

7 years agoMerge "[WRT] Fix wrt settings for desktop" into tizen.devel
Sungsik Han [Mon, 23 Oct 2017 04:26:27 +0000 (04:26 +0000)]
Merge "[WRT] Fix wrt settings for desktop" into tizen.devel

7 years agoImplement default messagebox for desktop. 44/156944/2
Sanghyup Lee [Mon, 23 Oct 2017 01:26:33 +0000 (10:26 +0900)]
Implement default messagebox for desktop.

Change-Id: I72578839b9e839e3faaa8a0acb6f487df95e1792
Signed-off-by: Sanghyup Lee <sh53.lee@samsung.com>
7 years agoAdd null checking when load extensions 18/156618/2
yh106.jung [Thu, 19 Oct 2017 07:17:12 +0000 (16:17 +0900)]
Add null checking when load extensions

This patch adds null checking when load extensions.

Change-Id: Id784472dcbf8ea6d32b68e8149d4141e73354788
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
7 years agofixup! [Bringup] Guard non implemented parts in init.js 92/155992/3
Sanghyup Lee [Wed, 18 Oct 2017 08:56:32 +0000 (17:56 +0900)]
fixup! [Bringup] Guard non implemented parts in init.js

This patch loads chrome-extension.

Change-Id: Ie1fce7505be27c41bd2974616ff60c8b158a4f52
Signed-off-by: Sanghyup Lee <sh53.lee@samsung.com>
7 years ago[WRT] Fix ipc message 71/156271/3
Sanghyup Lee [Wed, 18 Oct 2017 01:29:06 +0000 (10:29 +0900)]
[WRT] Fix ipc message

|ipcRenderer.send| doesn't work in in wrt/src/web_window.js.
This patch uses |app.emit| instead of it.

Change-Id: I6631bb3dbd735f447e6276e7e077fc06b60d5f88
Signed-off-by: Sanghyup Lee <sh53.lee@samsung.com>
7 years ago[WRT] Remove non supported nslog 28/156328/2
Youngsoo Choi [Wed, 18 Oct 2017 05:28:38 +0000 (14:28 +0900)]
[WRT] Remove non supported nslog

The nslog is not supported on current node version.

Change-Id: I8c19c02af2c8f56aa8590d9bf1027ce00514ecb3
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[WRT] Fix node_module path in grunt config 70/155170/4
Youngsoo Choi [Thu, 12 Oct 2017 07:15:23 +0000 (16:15 +0900)]
[WRT] Fix node_module path in grunt config

Change-Id: Ifeca1714525c704b9936ce7b84275495ffb25298
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[WRT] Fix overlaped icons issue 31/156331/4
Sanghyup Lee [Wed, 18 Oct 2017 05:45:51 +0000 (14:45 +0900)]
[WRT] Fix overlaped icons issue

At first launching, desktop size isn't calculated properly.
This patch sets desktop size as 800, 533 in this case.

Change-Id: Ie19f8c4f025f039ef717bfefa1935f24f852a743
Signed-off-by: Sanghyup Lee <sh53.lee@samsung.com>
7 years ago[PDNCF] Add support for css in content_scripts 09/156409/1
yh106.jung [Wed, 18 Oct 2017 08:27:13 +0000 (17:27 +0900)]
[PDNCF] Add support for css in content_scripts

Add support for css in content_scripts

Change-Id: Icd00d1f94c34cb6b7dca4be0d774537df8ad819f
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
7 years ago[WRT] Fix wrt settings for desktop 10/155410/3
Sanghyup Lee [Fri, 13 Oct 2017 06:04:11 +0000 (15:04 +0900)]
[WRT] Fix wrt settings for desktop

Set WEB_WINDOW_TAG as false to fix white screen issue because
currently <webview> tag isn't supported.
Plus, This patch sets DESKTOP_BROWSER_WINDOW_OPTIONS::fullscreen
as false.

Change-Id: Ifa9a56f0c891a2aadb8c4afece17e99f6b6effb7
Signed-off-by: Sanghyup Lee <sh53.lee@samsung.com>
7 years ago[WRT] Luncher should be updated properly 45/156045/2
Sanghyup Lee [Wed, 18 Oct 2017 08:03:39 +0000 (17:03 +0900)]
[WRT] Luncher should be updated properly

We should use IPC_MESSAGE.LAUNCHER.UPDATE instead of WAS_EVENT
because WAS_EVENT.LAUNCHER.UPDATE is undefined and launcher.js
uses IPC_MESSAGE.LAUNCHER.UPDATE.

Change-Id: I63115e80f4dd8e11fbe3aa52eae2465ef88ee7fa
Signed-off-by: Sanghyup Lee <sh53.lee@samsung.com>
7 years ago[WRT] Add chrome extension sample 09/151109/5
Youngsoo Choi [Wed, 20 Sep 2017 01:59:00 +0000 (10:59 +0900)]
[WRT] Add chrome extension sample

This adds chrome extension sample for reference.

The extension has chrome extension style manifest.json that specifies
name, background, and contentscript.

It alerts popup when click event is emitted on web app.
Also, contentscript and background communicate each other via IPC
that can be checked by inspector console.

Change-Id: I92921b05fe07f9b0bb8e88d14d26e1bc3a59af6e
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[WRT] Support chrome style extension management 36/150736/5
Youngsoo Choi [Sun, 17 Sep 2017 06:02:56 +0000 (15:02 +0900)]
[WRT] Support chrome style extension management

There has been an extension to inject js logic to app.
This supports chrome style extension as well.
The chrome style extension consists of background(event page),
content script, and manifest.json.

Now, two types of extensions are supportive:
one for injection style extension and another for chrome style extension.

Change-Id: Ie37f830d0a3856e8bebba4332bd354dc1f9840fb
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoAdd clean build for wrt_support 14/149614/3
Youngsoo Choi [Tue, 12 Sep 2017 14:37:35 +0000 (23:37 +0900)]
Add clean build for wrt_support

Change-Id: I6109f4534cf96156120bba69ffc56410a115f6b2
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agofixup! Upgrade wrt_support for electron v1.6.7 97/149597/5
Youngsoo Choi [Tue, 12 Sep 2017 02:03:02 +0000 (11:03 +0900)]
fixup! Upgrade wrt_support for electron v1.6.7

Change-Id: Ifcee243d5cba29e28296251966503a56a679a9dd
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agofixup! Upgrade wrt for electron v1.6.7 96/149596/4
Youngsoo Choi [Tue, 12 Sep 2017 12:21:10 +0000 (21:21 +0900)]
fixup! Upgrade wrt for electron v1.6.7

Change-Id: I498bb82c1d24e9c8bd3bc24498ed892a766dbd6c
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoAdd utility scripts to run grunt or was 95/149595/4
Youngsoo Choi [Tue, 12 Sep 2017 12:03:28 +0000 (21:03 +0900)]
Add utility scripts to run grunt or was

This adds utility scripts to run grunt or was
and releases them to out folder.

Change-Id: I218e08055763231509ef5da86fea60e2b3468008
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoAdd exception handling for symlink 94/149594/3
Youngsoo Choi [Tue, 12 Sep 2017 12:06:54 +0000 (21:06 +0900)]
Add exception handling for symlink

Change-Id: I013db6f560a5dcf4d9ebf4c4c4cec75043f6be1b
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoFix release path of node_module 93/149593/3
Youngsoo Choi [Tue, 12 Sep 2017 12:02:36 +0000 (21:02 +0900)]
Fix release path of node_module

Change-Id: I7d6e2b2fd6f5ce07bb92e8174d43ecaa860bd94c
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoAdd palindrome_addon and PalindromeTest.wgt 64/151664/1
jaekuk, lee [Thu, 21 Sep 2017 11:04:01 +0000 (20:04 +0900)]
Add palindrome_addon and PalindromeTest.wgt

Change-Id: I2d8abbe3295e7b7fe9aa8469d3179ba63d5ae591
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
7 years ago[PDNCF] Introduce extensions management APIs indépendant of Dev Tools Extensions 50/148250/2
yh106.jung [Thu, 7 Sep 2017 07:53:17 +0000 (16:53 +0900)]
[PDNCF] Introduce extensions management APIs indépendant of Dev Tools Extensions

- introduce API BrowserWindow#[add,remove,get]Extension
- make [add,remove, get]DevToolsExtension use newly introduced API
- make the app persist only the extensions added via

Change-Id: I61225348c4541fa5852cb617a59b15ccb0a0b0d1
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
7 years agoMerge "Enable node integration on Chrome extension's background page" into tizen...
Youngsoo Choi [Tue, 12 Sep 2017 12:52:16 +0000 (12:52 +0000)]
Merge "Enable node integration on Chrome extension's background page" into tizen.devel

7 years agoSet proxy service to avoid crash 55/148955/4
Sanghyup Lee [Mon, 11 Sep 2017 07:58:24 +0000 (16:58 +0900)]
Set proxy service to avoid crash

This patch sets proxy service with |CreateUsingSystemProxyResolver|
refer to |URLRequestContextGetterEfl| to avoid crash.

Change-Id: I5846117c5ea1d193c0d238a11a5235dfd7d2ea64
Signed-off-by: Sanghyup Lee <sh53.lee@samsung.com>
7 years agoFix invisible webview issue 10/146110/8
Sanghyup Lee [Fri, 25 Aug 2017 04:26:45 +0000 (04:26 +0000)]
Fix invisible webview issue

We should make NativeView visible with evas_object_show.

Change-Id: I947c34c43fcb4401654475a6c26dfe58264e719a
Signed-off-by: Sanghyup Lee <sh53.lee@samsung.com>
7 years ago[Bringup] Guard non implemented parts in init.js 29/145929/8
Youngsoo Choi [Thu, 24 Aug 2017 07:19:31 +0000 (16:19 +0900)]
[Bringup] Guard non implemented parts in init.js

This guards non implemented parts in init.js.
It needs to be implemented later.

Change-Id: Iedcc501a792ca73f8166ed0f2e7fa175f9ceac4f
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoUse system icu 30/145930/8
Youngsoo Choi [Thu, 24 Aug 2017 07:19:31 +0000 (16:19 +0900)]
Use system icu

This adds system icu headers.

Change-Id: I4eb5f1c0e4d96719f33334b650f38343b429e6bb
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agofixup! Add LD_LIBRARY_PATH 82/146282/7
Youngsoo Choi [Sat, 26 Aug 2017 06:54:36 +0000 (15:54 +0900)]
fixup! Add LD_LIBRARY_PATH

This adds CHROMIUM_EFL_DEPENDENCIES_LIBDIR.

Change-Id: Ie6ae3c015a570212099aa5b3e66b0c337d9941dc
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoUpgrade wrt_support for electron v1.6.7 67/147567/4
Youngsoo Choi [Tue, 5 Sep 2017 02:50:59 +0000 (11:50 +0900)]
Upgrade wrt_support for electron v1.6.7

The electron has been upgraded from v0.35.4 to v1.6.7.
So, this applies the API changes to wrt_support.

Change-Id: Iee51a807d048f69d9ed67915dc2377b6fdb9e95f
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoRelease wrt_support and wrt/static to out directory 39/149139/2
Youngsoo Choi [Mon, 11 Sep 2017 08:43:07 +0000 (17:43 +0900)]
Release wrt_support and wrt/static to out directory

The wrt_support or wrt/static have been located in source tree.
Build result needs to be released to out folder to remove
dependency of source tree in runtime.

Change-Id: Idc92a27c47c18063d5556d1afe6bb62c6a154407
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoUpload initial implementation for wrt support 64/147564/7
Youngsoo Choi [Tue, 5 Sep 2017 02:03:16 +0000 (11:03 +0900)]
Upload initial implementation for wrt support

This uploads initial components such as launcher, installer,
extension, app_repos, and sample apps.

Note that they are implementations, excepting wrt core functionality.

Change-Id: I4a56305ca87d0c4b4df263aa9b1ce4fa084f00e6
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoEnable node integration on Chrome extension's background page 79/149279/1
yh106.jung [Tue, 12 Sep 2017 04:49:21 +0000 (13:49 +0900)]
Enable node integration on Chrome extension's background page

Change-Id: I3dfdb3376f99092803fb8820f92056d21aa295b4
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
7 years agoUpgrade wrt for electron v1.6.7 96/147496/7
Youngsoo Choi [Mon, 4 Sep 2017 13:06:49 +0000 (22:06 +0900)]
Upgrade wrt for electron v1.6.7

The wrt was built on electron v0.35.4 and
the electron has been upgraded to v1.6.7.

There are following differences between them.
This upgrades the changed APIs for electron v1.6.7.

1) requiring electron module

The usage of electron module has been changed.
For instance, |const app = require('app')| is changed to
|const {app} = require('electron')|.

2) ipc usage

The ipc has been separated to ipcMain and ipcRenderer.
The related changes are applied by this.

Also, this revises the message types as ipc_message or was_event.
The ipc_message communicates between different processes
but was_event communicates in same process.

Change-Id: I8e6467a7721d9b715c918ccb179a3fe461ddbea4
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoMerge "Add node modules for grunt" into tizen.devel
Sungsik Han [Tue, 12 Sep 2017 01:58:04 +0000 (01:58 +0000)]
Merge "Add node modules for grunt" into tizen.devel

7 years agoMerge "fixup! add build env for was grunt build" into tizen.devel
Sungsik Han [Tue, 12 Sep 2017 01:55:47 +0000 (01:55 +0000)]
Merge "fixup! add build env for was grunt build" into tizen.devel

7 years agoAdd node modules for grunt 66/147266/4
Youngsoo Choi [Sun, 3 Sep 2017 07:41:43 +0000 (16:41 +0900)]
Add node modules for grunt

The OBS does not support to use network in build time.
So, prerequisite should be ready before starting build.

Change-Id: I6257368fe6a6465f966751e5634886cbef6ce10a
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agofixup! add build env for was grunt build 65/147265/5
Youngsoo Choi [Sun, 3 Sep 2017 05:03:02 +0000 (14:03 +0900)]
fixup! add build env for was grunt build

This fixes followings.

1. Default out folder is changed like electron default build configuration.
2. Depth of path is changed as build folder has been moved into wrt folder.

Change-Id: I0350b89f36faaa4b358e81805a0cad2126887eac
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoDo not handle ViewHostMsg_SetCursor in WebContents 10/147310/3
Sanghyup Lee [Mon, 4 Sep 2017 02:25:31 +0000 (02:25 +0000)]
Do not handle ViewHostMsg_SetCursor in WebContents

Due to stach_chk_fail crash.

Change-Id: I91b5d52e341fab1f1ae95d78c996ba181bfbdd9b
Signed-off-by: Sanghyup Lee <sh53.lee@samsung.com>
7 years agofixup! Add scripts for launching electron on desktop 28/145928/4
Youngsoo Choi [Thu, 24 Aug 2017 02:34:06 +0000 (11:34 +0900)]
fixup! Add scripts for launching electron on desktop

Change-Id: I9e293bce5aee5e2638424c73c7bdcda41925fe3f
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agofixup! Implement initial native window 31/145931/7
Youngsoo Choi [Tue, 22 Aug 2017 11:44:17 +0000 (20:44 +0900)]
fixup! Implement initial native window

Change-Id: I52e57c4892d2985446e3710544d6723d61b3edd6
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoInitial implement for InspectableWebContentsViewEfl 26/145926/3
yh106.jung [Mon, 21 Sep 2015 07:17:55 +0000 (16:17 +0900)]
Initial implement for InspectableWebContentsViewEfl

Patch implements InspectableWebContentsViewEfl which has
WebContentsViewEfl as member.

Change-Id: I816298198fc37d18c6a5a637dd7a350fd0c64517
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
7 years agoMerge "add build env for was grunt build" into tizen.devel
Youngsoo Choi [Sun, 3 Sep 2017 04:00:26 +0000 (04:00 +0000)]
Merge "add build env for was grunt build" into tizen.devel

7 years agoadd build env for was grunt build 77/146977/3
nke94 [Thu, 31 Aug 2017 10:08:43 +0000 (19:08 +0900)]
add build env for was grunt build

Change-Id: I4bb5cd3f9d6575863b707d5c25f5414e148a92f3
Signed-off-by: nke94 <nke94@samsung.com>
7 years agoMerge changes I8486e69c,Ic43ee6e2 into tizen.devel
Youngsoo Choi [Sun, 3 Sep 2017 03:37:17 +0000 (03:37 +0000)]
Merge changes I8486e69c,Ic43ee6e2 into tizen.devel

* changes:
  Add initial js implementation for runtime
  remove build from .git ignore list

7 years agoAdd initial js implementation for runtime 76/146976/1
nke94 [Thu, 31 Aug 2017 10:06:50 +0000 (19:06 +0900)]
Add initial js implementation for runtime

Change-Id: I8486e69ca6d6a5f53d9b6df5ee92f0ccdaa1dadf
Signed-off-by: nke94 <nke94@samsung.com>
7 years agoremove build from .git ignore list 75/146975/1
nke94 [Thu, 31 Aug 2017 10:04:15 +0000 (19:04 +0900)]
remove build from .git ignore list

Change-Id: Ic43ee6e2087f3195b9ea9a7c1d89815368d59105
Signed-off-by: nke94 <nke94@samsung.com>
7 years ago[Bringup] Add mock-up APIs for notification 68/145068/5
Youngsoo Choi [Mon, 21 Aug 2017 02:08:56 +0000 (11:08 +0900)]
[Bringup] Add mock-up APIs for notification

This adds mock-up apis for notification on EFL.

Change-Id: I85018014ee1af5e11c7fd3fa0455679bbe6b16dd
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoRemove unused v8 soruce 56/145356/2
Youngsoo Choi [Tue, 22 Aug 2017 06:21:34 +0000 (15:21 +0900)]
Remove unused v8 soruce

The electron-efl refers to v8 from chromium-efl.

Change-Id: Ic470fb02089c68d3b5d9245e64225486a74dbdaf
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoAdd scripts for launching electron on desktop 73/145073/4
Youngsoo Choi [Mon, 21 Aug 2017 06:34:22 +0000 (15:34 +0900)]
Add scripts for launching electron on desktop

This adds scripts for launching electron on desktop.

Change-Id: I91d9df8829049e435c391fcd1dff129e80834623
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoAdd switches for EFL port 70/145070/5
Youngsoo Choi [Mon, 21 Aug 2017 02:16:51 +0000 (11:16 +0900)]
Add switches for EFL port

This adds switches for EFL port.

Original CL: http://suprem.sec.samsung.net/gerrit/#/c/49196

Change-Id: Ide9709bb21518c543b671bfaaf72f269fac4e9e0
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoInit AtomCommandLine when render thread is started 69/145069/2
Youngsoo Choi [Mon, 21 Aug 2017 06:07:12 +0000 (15:07 +0900)]
Init AtomCommandLine when render thread is started

This patch initializes AtomCommandLine at
AtomRendererClient::RenderThreadStarted.
In case of Chromium-efl, AtomMain is not called when renderer process
is executed, because it is executed by zygote.
So we need to initialize AtomCommandLine at the other place.

Original CL: http://suprem.sec.samsung.net/gerrit/#/c/51683

Change-Id: I2b91428269701398713a92efeb09a8e5e0a4db6e
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoRemove unused library 67/145067/1
Youngsoo Choi [Fri, 18 Aug 2017 02:56:54 +0000 (11:56 +0900)]
Remove unused library

This removes unused library gst-plugins-good.

Change-Id: Ic8d253c13e69d74e3d46e7f73696a819ee32619b
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoAdd LD_LIBRARY_PATH 66/145066/1
Youngsoo Choi [Fri, 18 Aug 2017 02:56:26 +0000 (11:56 +0900)]
Add LD_LIBRARY_PATH

Change-Id: I2c5e688aacf668df8bf685204eb66ef8d630ff0e
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoImplement initial native window 58/143658/2
Youngsoo Choi [Fri, 18 Sep 2015 01:48:04 +0000 (10:48 +0900)]
Implement initial native window

This implements initial native window.

Original CL: http://suprem.sec.samsung.net/gerrit/#/c/48867

This implements initial native webview.

Change-Id: I79283c5aff50b65c477f7f696507e42b01c947b6
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoMake directory for filenames.gypi while building 67/143367/3
Youngsoo Choi [Wed, 9 Aug 2017 11:01:59 +0000 (11:01 +0000)]
Make directory for filenames.gypi while building

There should be '/PATH/TO/vendor/brightray/vendor/download/libchromiumcontent'
so that filenames.gypi can be generated.

Otherwise, following error occurs.

>> IOError: [Errno 2] No such file or directory:
>> '/PATH/TO/vendor/brightray/vendor/download/libchromiumcontent/filenames.gypi'

Change-Id: I5f3bdc37d183ba222846bdd67eb7c5318066c20f
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agofixup! Support EFL libraries via jhbuild 57/143657/1
Youngsoo Choi [Thu, 10 Aug 2017 11:47:00 +0000 (20:47 +0900)]
fixup! Support EFL libraries via jhbuild

This adds missing libraries.

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