platform/framework/web/crosswalk-tizen.git
8 years agoFix cppling warning
Cheng Zhao [Mon, 7 Dec 2015 14:44:35 +0000 (22:44 +0800)]
Fix cppling warning

8 years agospec: Make the "remote listeners" test more reliable
Cheng Zhao [Mon, 7 Dec 2015 13:28:58 +0000 (21:28 +0800)]
spec: Make the "remote listeners" test more reliable

8 years agoFix the failing sendSync
Cheng Zhao [Mon, 7 Dec 2015 13:25:19 +0000 (21:25 +0800)]
Fix the failing sendSync

8 years agoV8 now checks strictly when callin Neuter()
Cheng Zhao [Mon, 7 Dec 2015 12:48:39 +0000 (20:48 +0800)]
V8 now checks strictly when callin Neuter()

8 years agoUpdate to API changes of Chrome 47
Cheng Zhao [Mon, 7 Dec 2015 11:56:23 +0000 (19:56 +0800)]
Update to API changes of Chrome 47

8 years agoChrome 47.0.2526.73
Cheng Zhao [Mon, 7 Dec 2015 07:14:31 +0000 (15:14 +0800)]
Chrome 47.0.2526.73

8 years agoBump v0.35.4
Cheng Zhao [Fri, 4 Dec 2015 11:23:48 +0000 (19:23 +0800)]
Bump v0.35.4

8 years agoUpdate native_mate: isDestroy => isDestroyed
Cheng Zhao [Fri, 4 Dec 2015 11:23:30 +0000 (19:23 +0800)]
Update native_mate: isDestroy => isDestroyed

8 years agoMerge pull request #3690 from leftstick/master
Cheng Zhao [Fri, 4 Dec 2015 10:46:56 +0000 (18:46 +0800)]
Merge pull request #3690 from leftstick/master

add translation of using-native-node-modules for ZH-CN

8 years agoMerge pull request #3688 from preco21/master
Cheng Zhao [Fri, 4 Dec 2015 10:46:33 +0000 (18:46 +0800)]
Merge pull request #3688 from preco21/master

Update as upstream

8 years agoBump v0.35.3
Cheng Zhao [Fri, 4 Dec 2015 08:43:23 +0000 (16:43 +0800)]
Bump v0.35.3

8 years agoadd translation of using-native-node-modules for ZH-CN
Howard.Zuo [Fri, 4 Dec 2015 07:18:55 +0000 (15:18 +0800)]
add translation of using-native-node-modules for ZH-CN

8 years agoMerge pull request #3686 from atom/fix-flaky-tests
Cheng Zhao [Fri, 4 Dec 2015 05:53:07 +0000 (13:53 +0800)]
Merge pull request #3686 from atom/fix-flaky-tests

Fix a few flaky tests

8 years agospec: Suppress flaky tests on Travis
Cheng Zhao [Fri, 4 Dec 2015 04:25:46 +0000 (12:25 +0800)]
spec: Suppress flaky tests on Travis

8 years agoUpdate as upstream
Plusb Preco [Fri, 4 Dec 2015 04:52:03 +0000 (13:52 +0900)]
Update as upstream

[ci skip]

8 years agoUpdate as upstream
Plusb Preco [Fri, 4 Dec 2015 04:48:38 +0000 (13:48 +0900)]
Update as upstream

[ci skip]

8 years agoMerge remote-tracking branch 'refs/remotes/atom/master'
Plusb Preco [Fri, 4 Dec 2015 04:38:21 +0000 (13:38 +0900)]
Merge remote-tracking branch 'refs/remotes/atom/master'

8 years agoMerge pull request #3664 from clevertonh/master
Cheng Zhao [Fri, 4 Dec 2015 04:10:00 +0000 (12:10 +0800)]
Merge pull request #3664 from clevertonh/master

Add electron-br

8 years agospec: Suppress execFileSync test
Cheng Zhao [Fri, 4 Dec 2015 03:52:34 +0000 (11:52 +0800)]
spec: Suppress execFileSync test

It somehow makes the test flaky after refresh.

8 years ago'key of' is better than Object.keys
Cheng Zhao [Fri, 4 Dec 2015 03:40:35 +0000 (11:40 +0800)]
'key of' is better than Object.keys

8 years agoDestroy the native window in next tick
Cheng Zhao [Fri, 4 Dec 2015 03:35:04 +0000 (11:35 +0800)]
Destroy the native window in next tick

It fixes a possible crash when native code is iterating all windows
while the JavaScript code decides to destroy a window.

8 years agoDon't add too much listeners in BrowserWindowProxy
Cheng Zhao [Fri, 4 Dec 2015 03:02:55 +0000 (11:02 +0800)]
Don't add too much listeners in BrowserWindowProxy

8 years agoMerge pull request #3670 from mixmaxhq/jeff/fix_window_open
Cheng Zhao [Fri, 4 Dec 2015 02:55:51 +0000 (10:55 +0800)]
Merge pull request #3670 from mixmaxhq/jeff/fix_window_open

Fix `window.open` not respecting the features string

8 years agoMerge pull request #3683 from zeke/coc
Cheng Zhao [Fri, 4 Dec 2015 02:52:44 +0000 (10:52 +0800)]
Merge pull request #3683 from zeke/coc

add Contributor Covenant 1.3 code of conduct

8 years agoMerge pull request #3672 from CharlieHess/web-contents-download-url
Cheng Zhao [Fri, 4 Dec 2015 02:52:11 +0000 (10:52 +0800)]
Merge pull request #3672 from CharlieHess/web-contents-download-url

DownloadURL from webContents

8 years agoAdd contributing guide
Plusb Preco [Fri, 4 Dec 2015 01:06:25 +0000 (10:06 +0900)]
Add contributing guide

[ci skip]

8 years agoadd placeholder CoC content to Korean README
Zeke Sikelianos [Fri, 4 Dec 2015 00:08:10 +0000 (18:08 -0600)]
add placeholder CoC content to Korean README

8 years agolink to CoC from README and CONTRIBUTING
Zeke Sikelianos [Fri, 4 Dec 2015 00:06:58 +0000 (18:06 -0600)]
link to CoC from README and CONTRIBUTING

8 years agoadd CODE_OF_CONDUCT.md
Zeke Sikelianos [Fri, 4 Dec 2015 00:06:18 +0000 (18:06 -0600)]
add CODE_OF_CONDUCT.md

8 years agoUpdate as upstream
Plusb Preco [Thu, 3 Dec 2015 22:54:09 +0000 (07:54 +0900)]
Update as upstream

[ci skip]

8 years agoMerge pull request #3680 from atom/newline-before-code-block
Jessica Lord [Thu, 3 Dec 2015 20:16:32 +0000 (12:16 -0800)]
Merge pull request #3680 from atom/newline-before-code-block

Add newline before example code block

8 years agoRevert accidental change to this submodule.
Charlie Hess [Thu, 3 Dec 2015 20:14:08 +0000 (12:14 -0800)]
Revert accidental change to this submodule.

8 years agoMerge commit '58567834c7cb9c290ef48c9e8f54ae37246ef665' into web-contents-download-url
Charlie Hess [Thu, 3 Dec 2015 18:31:51 +0000 (10:31 -0800)]
Merge commit '58567834c7cb9c290ef48c9e8f54ae37246ef665' into web-contents-download-url

Conflicts:
atom/browser/api/atom_api_web_contents.cc

8 years agoAdd newline before example code block
Kevin Sawicki [Thu, 3 Dec 2015 16:40:47 +0000 (08:40 -0800)]
Add newline before example code block

8 years agoMerge pull request #3663 from preco21/master
Cheng Zhao [Thu, 3 Dec 2015 13:44:54 +0000 (21:44 +0800)]
Merge pull request #3663 from preco21/master

Update as upstream

8 years agoMerge pull request #3676 from atom/callback-race-condition
Cheng Zhao [Thu, 3 Dec 2015 10:06:34 +0000 (18:06 +0800)]
Merge pull request #3676 from atom/callback-race-condition

Make sure V8 handles are deleted on UI thread

8 years agoWeak map only needs to be deleted for once
Cheng Zhao [Thu, 3 Dec 2015 09:10:14 +0000 (17:10 +0800)]
Weak map only needs to be deleted for once

8 years agoRemove itself from the cleanup list when it is destroyed
Cheng Zhao [Thu, 3 Dec 2015 09:04:40 +0000 (17:04 +0800)]
Remove itself from the cleanup list when it is destroyed

8 years agoIt is fine to leak a V8 handle on exit
Cheng Zhao [Thu, 3 Dec 2015 08:33:57 +0000 (16:33 +0800)]
It is fine to leak a V8 handle on exit

8 years agowindow.id is no longer available when window is closed
Cheng Zhao [Thu, 3 Dec 2015 08:17:10 +0000 (16:17 +0800)]
window.id is no longer available when window is closed

8 years agoUse BuildPrototype to build prototype
Cheng Zhao [Thu, 3 Dec 2015 08:04:46 +0000 (16:04 +0800)]
Use BuildPrototype to build prototype

This saves the step of manually keeping the global template object,
which is easy to forget then leak.

8 years agoDo not manually manage native resources
Cheng Zhao [Thu, 3 Dec 2015 07:38:43 +0000 (15:38 +0800)]
Do not manually manage native resources

We should rely on the destructor to cleanup everything, instead of
putting them in the Destroy method.

8 years agoMake sure V8 Function passed to native code are destroyed on UI thread
Cheng Zhao [Thu, 3 Dec 2015 03:24:33 +0000 (11:24 +0800)]
Make sure V8 Function passed to native code are destroyed on UI thread

8 years agoThis spec is a little unreliable; up the timeout.
Charlie Hess [Thu, 3 Dec 2015 02:40:57 +0000 (18:40 -0800)]
This spec is a little unreliable; up the timeout.

8 years agoWrite a spec for downloading from the webview tag.
Charlie Hess [Thu, 3 Dec 2015 02:40:39 +0000 (18:40 -0800)]
Write a spec for downloading from the webview tag.

8 years agoMake downloadURL available on the webview tag.
Charlie Hess [Thu, 3 Dec 2015 02:40:02 +0000 (18:40 -0800)]
Make downloadURL available on the webview tag.

8 years agoDocument the new method.
Charlie Hess [Wed, 2 Dec 2015 21:49:42 +0000 (13:49 -0800)]
Document the new method.

8 years agoAdd a DownloadURL method on WebContents.
Charlie Hess [Wed, 2 Dec 2015 21:49:30 +0000 (13:49 -0800)]
Add a DownloadURL method on WebContents.

8 years agoEnsure that `window.open` does not override the child options
Jeff Wear [Wed, 2 Dec 2015 19:54:52 +0000 (11:54 -0800)]
Ensure that `window.open` does not override the child options

Fixes https://github.com/atom/electron/issues/3652.

8 years agoRead window size properly in `window.open` test
Jeff Wear [Wed, 2 Dec 2015 19:50:44 +0000 (11:50 -0800)]
Read window size properly in `window.open` test

`BrowserWindow#getSize` returns `[width, height]`, not `{width, height}`.

8 years agoAdd electron-br
Cléverton Heming [Wed, 2 Dec 2015 15:27:23 +0000 (15:27 +0000)]
Add electron-br

8 years agoUpdate as upstream
Plusb Preco [Wed, 2 Dec 2015 15:21:34 +0000 (00:21 +0900)]
Update as upstream

8 years agoMerge remote-tracking branch 'refs/remotes/atom/master'
Plusb Preco [Wed, 2 Dec 2015 15:21:28 +0000 (00:21 +0900)]
Merge remote-tracking branch 'refs/remotes/atom/master'

8 years agoMerge pull request #3660 from atom/tray-custom-menu
Cheng Zhao [Wed, 2 Dec 2015 12:55:02 +0000 (20:55 +0800)]
Merge pull request #3660 from atom/tray-custom-menu

Add `menu` parameter for Tray.popUpContextMenu

8 years agoMerge pull request #3659 from lukeapage/patch-1
Cheng Zhao [Wed, 2 Dec 2015 11:59:43 +0000 (19:59 +0800)]
Merge pull request #3659 from lukeapage/patch-1

Update debugging-main-process.md

8 years agowin: Implement menu parameter
Cheng Zhao [Wed, 2 Dec 2015 11:58:10 +0000 (19:58 +0800)]
win: Implement menu parameter

8 years agomac: Implement menu parameter
Cheng Zhao [Wed, 2 Dec 2015 11:05:22 +0000 (19:05 +0800)]
mac: Implement menu parameter

8 years agoAdd `menu` parameter for Tray.popUpContextMenu
Cheng Zhao [Wed, 2 Dec 2015 10:43:11 +0000 (18:43 +0800)]
Add `menu` parameter for Tray.popUpContextMenu

8 years agoUpdate debugging-main-process.md
Luke Page [Wed, 2 Dec 2015 10:23:21 +0000 (10:23 +0000)]
Update debugging-main-process.md

8 years agoDeprecating a property with method of same name causes trouble
Cheng Zhao [Wed, 2 Dec 2015 09:29:58 +0000 (17:29 +0800)]
Deprecating a property with method of same name causes trouble

Close #3511.

8 years agoMake sure temp file will be cleaned up when base::Move fails
Cheng Zhao [Wed, 2 Dec 2015 03:36:29 +0000 (11:36 +0800)]
Make sure temp file will be cleaned up when base::Move fails

8 years agoDon't call Move if there is no need to move
Cheng Zhao [Wed, 2 Dec 2015 03:04:47 +0000 (11:04 +0800)]
Don't call Move if there is no need to move

8 years agospec: Fix failing tests on win32
Cheng Zhao [Wed, 2 Dec 2015 03:00:28 +0000 (11:00 +0800)]
spec: Fix failing tests on win32

8 years agoMerge pull request #3648 from jviotti/jviotti/fix/exec-file-asar-bat
Cheng Zhao [Wed, 2 Dec 2015 02:45:24 +0000 (10:45 +0800)]
Merge pull request #3648 from jviotti/jviotti/fix/exec-file-asar-bat

:checkered_flag: Preserve file extension when extracting from asar

8 years agoMerge pull request #3650 from arturts/patch-5
Cheng Zhao [Wed, 2 Dec 2015 02:21:10 +0000 (10:21 +0800)]
Merge pull request #3650 from arturts/patch-5

:memo: [ci skip] Update to match english docs, fix typos

8 years agoMerge pull request #3649 from arturts/pt-BR-auto-updater
Cheng Zhao [Wed, 2 Dec 2015 02:20:58 +0000 (10:20 +0800)]
Merge pull request #3649 from arturts/pt-BR-auto-updater

:memo: [ci skip] Add translation to auto-updater, change links

8 years ago:memo: [ci skip] fix more typos
Artur de Oliveira Tsuda [Tue, 1 Dec 2015 23:57:07 +0000 (21:57 -0200)]
:memo: [ci skip] fix more typos

8 years ago:memo: [ci skip] fix typos
Artur de Oliveira Tsuda [Tue, 1 Dec 2015 23:46:13 +0000 (21:46 -0200)]
:memo: [ci skip] fix typos

8 years agoChange header
Artur de Oliveira Tsuda [Tue, 1 Dec 2015 23:38:25 +0000 (21:38 -0200)]
Change header

8 years ago:memo: [ci skip] Update to match english docs, fix typos
Artur de Oliveira Tsuda [Tue, 1 Dec 2015 23:34:35 +0000 (21:34 -0200)]
:memo: [ci skip] Update to match english docs, fix typos

8 years ago:memo: [ci skip] Add translation to auto-updater, change links
Artur de Oliveira Tsuda [Tue, 1 Dec 2015 23:09:20 +0000 (21:09 -0200)]
:memo: [ci skip] Add translation to auto-updater, change links

8 years ago:checkered_flag: Preserve file extension when extracting from asar
Juan Cruz Viotti [Tue, 1 Dec 2015 15:57:32 +0000 (11:57 -0400)]
:checkered_flag: Preserve file extension when extracting from asar

Currently, when calling `copyFileOut`, the original extension from the
file is lost, and a generic `*.tmp` is added instead.

This becomes problematic in the scenario where we use
`child_process.execFile` on a Windows Batch script that lives inside the
`asar` package.

Windows relies on the extension being present in order to interpret the
script accordingly, which results in the following bug because the
operating system doesn't know what do to with this `*.tmp` file:

```
Error: spawn UNKNOWN
```

Steps to reproduce:

1. Create a dummy batch script (test.bat):

```
@echo off
echo "Hello world"
```

2. Create an electron app that attemps to call this script with
`child_process.execFile`:

```js
var child_process = require('child_process');
var path = require('path');

child_process.execFile(path.join(__dirname, 'test.bat'), function(error, stdout) {
    if (error) throw error;
    console.log(stdout);
});
```

3. Package this small application as an asar archive:

```sh
> asar pack mytestapp app.asar
```

4. Execute the application:

```sh
> electron.exe app.asar
```

8 years agoMerge pull request #3645 from atom/fix-page-title-set
Cheng Zhao [Tue, 1 Dec 2015 11:12:34 +0000 (19:12 +0800)]
Merge pull request #3645 from atom/fix-page-title-set

Delay the page-title-updated event to next tick

8 years agoDeprecate the page-title-set event
Cheng Zhao [Tue, 1 Dec 2015 10:50:56 +0000 (18:50 +0800)]
Deprecate the page-title-set event

We have two names for the same event, page-title-updated wins.

8 years agoDelay the page-title-set event to next tick
Cheng Zhao [Tue, 1 Dec 2015 10:34:58 +0000 (18:34 +0800)]
Delay the page-title-set event to next tick

8 years agoEmit event when title becomes empty
Cheng Zhao [Tue, 1 Dec 2015 09:52:13 +0000 (17:52 +0800)]
Emit event when title becomes empty

8 years agoNo need to override TitleWasSet in NativeWindow
Cheng Zhao [Tue, 1 Dec 2015 09:51:09 +0000 (17:51 +0800)]
No need to override TitleWasSet in NativeWindow

8 years agoMerge pull request #3643 from atom/fix-did-fail-load-crash
Cheng Zhao [Tue, 1 Dec 2015 09:19:52 +0000 (17:19 +0800)]
Merge pull request #3643 from atom/fix-did-fail-load-crash

Delay the did-fail-provisional-load event to next tick

8 years agoDelay the did-fail-provisional-load event to next tick
Cheng Zhao [Tue, 1 Dec 2015 08:55:52 +0000 (16:55 +0800)]
Delay the did-fail-provisional-load event to next tick

Chrome is doing some stuff after the DidFailProvisionalLoad event, if we
call LoadURL at this time crash would happen.

8 years agoPut common constants in atom_constants
Cheng Zhao [Tue, 1 Dec 2015 08:21:15 +0000 (16:21 +0800)]
Put common constants in atom_constants

8 years agoMerge pull request #3641 from atom/process-no-asar
Cheng Zhao [Tue, 1 Dec 2015 06:40:37 +0000 (14:40 +0800)]
Merge pull request #3641 from atom/process-no-asar

Add process.noAsar to toggle asar support

8 years agodocs: process.noAsar
Cheng Zhao [Tue, 1 Dec 2015 05:43:52 +0000 (13:43 +0800)]
docs: process.noAsar

8 years agospec: process.noAsar
Cheng Zhao [Tue, 1 Dec 2015 05:09:50 +0000 (13:09 +0800)]
spec: process.noAsar

8 years agoAdd process.noAsar to turn off asar support
Cheng Zhao [Tue, 1 Dec 2015 05:09:37 +0000 (13:09 +0800)]
Add process.noAsar to turn off asar support

8 years agoMerge pull request #3567 from atom/cors
Cheng Zhao [Tue, 1 Dec 2015 04:43:38 +0000 (12:43 +0800)]
Merge pull request #3567 from atom/cors

Enable all origins via CORS header for custom schemes

8 years agoLint harder
Paul Betts [Tue, 1 Dec 2015 02:12:00 +0000 (18:12 -0800)]
Lint harder

8 years agoMerge pull request #3638 from arturts/pt-br-translation
Cheng Zhao [Tue, 1 Dec 2015 02:06:55 +0000 (10:06 +0800)]
Merge pull request #3638 from arturts/pt-br-translation

:memo: [ci skip] Add translation to app.md

8 years agoMerge pull request #3636 from arturts/patch-4
Cheng Zhao [Tue, 1 Dec 2015 02:06:38 +0000 (10:06 +0800)]
Merge pull request #3636 from arturts/patch-4

:memo: [ci skip] Update to match english docs.

8 years agoMerge pull request #3635 from arturts/patch-3
Cheng Zhao [Tue, 1 Dec 2015 02:06:13 +0000 (10:06 +0800)]
Merge pull request #3635 from arturts/patch-3

:memo: [ci skip] Fix typos

8 years ago:memo: [ci skip] Add translation to app.md
Artur de Oliveira Tsuda [Mon, 30 Nov 2015 23:56:19 +0000 (21:56 -0200)]
:memo: [ci skip] Add translation to app.md

8 years ago:memo: [ci skip] Update to match english docs.
Artur de Oliveira Tsuda [Mon, 30 Nov 2015 21:43:19 +0000 (19:43 -0200)]
:memo: [ci skip] Update to match english docs.

8 years ago:memo: [ci skip] Fix typos
Artur de Oliveira Tsuda [Mon, 30 Nov 2015 21:14:33 +0000 (19:14 -0200)]
:memo: [ci skip] Fix typos

8 years agoLinting
Paul Betts [Mon, 30 Nov 2015 19:08:22 +0000 (11:08 -0800)]
Linting

8 years agoAdd tests to verify behavior
Paul Betts [Wed, 25 Nov 2015 23:20:50 +0000 (15:20 -0800)]
Add tests to verify behavior

8 years agoAdd CORS header to file jobs
Paul Betts [Wed, 25 Nov 2015 23:00:47 +0000 (15:00 -0800)]
Add CORS header to file jobs

8 years agoFix CORS header code to be cleaner
Paul Betts [Wed, 25 Nov 2015 23:00:34 +0000 (15:00 -0800)]
Fix CORS header code to be cleaner

8 years agoEnable all origins via CORS header for custom schemes
Paul Betts [Tue, 24 Nov 2015 07:29:49 +0000 (23:29 -0800)]
Enable all origins via CORS header for custom schemes

This PR disables CORS for custom schemes, which allows you to serve Font
resources from custom schemes after using registerCustomSchemeAsSecure

8 years agoMerge pull request #3634 from atom/fix-crash-on-exit
Cheng Zhao [Mon, 30 Nov 2015 14:40:48 +0000 (22:40 +0800)]
Merge pull request #3634 from atom/fix-crash-on-exit

Delete BridgeTaskRunner when main message loop is ready

8 years agoDelete BridgeTaskRunner when main message loop is ready
Cheng Zhao [Mon, 30 Nov 2015 14:29:01 +0000 (22:29 +0800)]
Delete BridgeTaskRunner when main message loop is ready

8 years agoMerge pull request #3628 from lovemyliwu/patch-1
Cheng Zhao [Mon, 30 Nov 2015 10:26:04 +0000 (18:26 +0800)]
Merge pull request #3628 from lovemyliwu/patch-1

:art: add miss charactor