]> khamidou — GitHub mirrors - electron.git/log
electron.git
10 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.

10 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

10 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.

10 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

10 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

10 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

10 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

10 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

10 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

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

10 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

10 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.

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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.

10 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.

10 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

10 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.

10 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.

10 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.

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

10 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.

10 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.

10 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}`.

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

10 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'

10 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

10 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

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

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

10 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

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

10 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.

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

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

10 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

10 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

10 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
```

10 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

10 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.

10 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

10 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

10 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

10 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

10 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.

10 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

10 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

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

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

10 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

10 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

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

10 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

10 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.

10 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

10 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

10 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.

10 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

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

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

10 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

10 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

10 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

10 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

10 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

10 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

10 years ago:art: add miss charactor
Smite Chow [Mon, 30 Nov 2015 09:16:35 +0000 (17:16 +0800)]
:art: add miss charactor

10 years agoUpdate as upstream
Plusb Preco [Mon, 30 Nov 2015 08:24:43 +0000 (17:24 +0900)]
Update as upstream

10 years agoMerge pull request #3626 from arturts/patch-2
Cheng Zhao [Mon, 30 Nov 2015 08:01:05 +0000 (16:01 +0800)]
Merge pull request #3626 from arturts/patch-2

Update 'Estilo de código' link.

10 years agoMerge pull request #3625 from arturts/patch-1
Cheng Zhao [Mon, 30 Nov 2015 08:01:01 +0000 (16:01 +0800)]
Merge pull request #3625 from arturts/patch-1

Remove 'Google Translator'-like translation

10 years agoMerge pull request #3622 from atom/wl-docs-skip-ci
Cheng Zhao [Mon, 30 Nov 2015 07:33:49 +0000 (15:33 +0800)]
Merge pull request #3622 from atom/wl-docs-skip-ci

Suggest [ci skip] in documentation-only commits

10 years agodocs: Mention submitting to MAC costs money
Cheng Zhao [Mon, 30 Nov 2015 07:21:39 +0000 (15:21 +0800)]
docs: Mention submitting to MAC costs money

Close #3617.

10 years agoMerge pull request #3618 from preco21/master
Cheng Zhao [Mon, 30 Nov 2015 07:01:08 +0000 (15:01 +0800)]
Merge pull request #3618 from preco21/master

Update as upstream

10 years agoMerge pull request #3616 from leftstick/master
Cheng Zhao [Mon, 30 Nov 2015 07:00:33 +0000 (15:00 +0800)]
Merge pull request #3616 from leftstick/master

add packaging translation for ZH-CN

10 years agoMerge pull request #3612 from gunmetal313/translate_to_ru
Cheng Zhao [Mon, 30 Nov 2015 06:57:16 +0000 (14:57 +0800)]
Merge pull request #3612 from gunmetal313/translate_to_ru

init russian lang docs

10 years agoUpdate 'Estilo de código' link.
Artur de Oliveira Tsuda [Mon, 30 Nov 2015 01:25:16 +0000 (23:25 -0200)]
Update 'Estilo de código' link.

'Estilo de código' in 'Desenvolvimento' section now points to the translated coding-style.md

10 years agoRemove 'Google Translator'-like translation
Artur de Oliveira Tsuda [Mon, 30 Nov 2015 00:56:34 +0000 (22:56 -0200)]
Remove 'Google Translator'-like translation

10 years agoMerge pull request #3621 from lukewestby/patch-1
Paul Betts [Sun, 29 Nov 2015 23:33:55 +0000 (15:33 -0800)]
Merge pull request #3621 from lukewestby/patch-1

fix misspelling in "rotation" string

10 years agoWrap [ci skip] in backticks
Wliu [Sun, 29 Nov 2015 19:57:48 +0000 (14:57 -0500)]
Wrap [ci skip] in backticks

10 years agoSuggest [ci skip] in documentation-only commits
Wliu [Sun, 29 Nov 2015 19:04:57 +0000 (14:04 -0500)]
Suggest [ci skip] in documentation-only commits

10 years agofix typo in "rotation" string
Luke Westby [Sun, 29 Nov 2015 18:22:53 +0000 (12:22 -0600)]
fix typo in "rotation" string

11 years agoSmall fixes
Plusb Preco [Sun, 29 Nov 2015 14:06:01 +0000 (23:06 +0900)]
Small fixes

11 years agoUpdate as upstream
Plusb Preco [Sun, 29 Nov 2015 14:03:31 +0000 (23:03 +0900)]
Update as upstream

11 years agoMerge remote-tracking branch 'refs/remotes/atom/master'
Plusb Preco [Sun, 29 Nov 2015 09:46:01 +0000 (18:46 +0900)]
Merge remote-tracking branch 'refs/remotes/atom/master'

11 years agoadd packaging translation for ZH-CN
howard.zuo [Sun, 29 Nov 2015 04:14:49 +0000 (12:14 +0800)]
add packaging translation for ZH-CN

11 years agoinit russian lang docs
Ivan Kulikov [Fri, 27 Nov 2015 19:32:45 +0000 (22:32 +0300)]
init russian lang docs

11 years agoBump v0.35.2 v0.35.2
Cheng Zhao [Fri, 27 Nov 2015 14:23:19 +0000 (22:23 +0800)]
Bump v0.35.2