Paul Betts [Mon, 7 Dec 2015 22:23:01 +0000 (14:23 -0800)]
Update to Chrome 47 version of tts_win
Paul Betts [Mon, 7 Dec 2015 18:02:06 +0000 (10:02 -0800)]
Fix up Windows build errors
Cheng Zhao [Mon, 7 Dec 2015 14:44:35 +0000 (22:44 +0800)]
Fix cppling warning
Cheng Zhao [Mon, 7 Dec 2015 13:28:58 +0000 (21:28 +0800)]
spec: Make the "remote listeners" test more reliable
Cheng Zhao [Mon, 7 Dec 2015 13:25:19 +0000 (21:25 +0800)]
Fix the failing sendSync
Cheng Zhao [Mon, 7 Dec 2015 12:48:39 +0000 (20:48 +0800)]
V8 now checks strictly when callin Neuter()
Cheng Zhao [Mon, 7 Dec 2015 11:56:23 +0000 (19:56 +0800)]
Update to API changes of Chrome 47
Cheng Zhao [Mon, 7 Dec 2015 07:14:31 +0000 (15:14 +0800)]
Chrome 47.0.2526.73
Cheng Zhao [Fri, 4 Dec 2015 11:23:48 +0000 (19:23 +0800)]
Bump v0.35.4
Cheng Zhao [Fri, 4 Dec 2015 11:23:30 +0000 (19:23 +0800)]
Update native_mate: isDestroy => isDestroyed
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
Cheng Zhao [Fri, 4 Dec 2015 10:46:33 +0000 (18:46 +0800)]
Merge pull request #3688 from preco21/master
Update as upstream
Cheng Zhao [Fri, 4 Dec 2015 08:43:23 +0000 (16:43 +0800)]
Bump v0.35.3
Howard.Zuo [Fri, 4 Dec 2015 07:18:55 +0000 (15:18 +0800)]
add translation of using-native-node-modules for ZH-CN
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
Cheng Zhao [Fri, 4 Dec 2015 04:25:46 +0000 (12:25 +0800)]
spec: Suppress flaky tests on Travis
Plusb Preco [Fri, 4 Dec 2015 04:52:03 +0000 (13:52 +0900)]
Update as upstream
[ci skip]
Plusb Preco [Fri, 4 Dec 2015 04:48:38 +0000 (13:48 +0900)]
Update as upstream
[ci skip]
Plusb Preco [Fri, 4 Dec 2015 04:38:21 +0000 (13:38 +0900)]
Merge remote-tracking branch 'refs/remotes/atom/master'
Cheng Zhao [Fri, 4 Dec 2015 04:10:00 +0000 (12:10 +0800)]
Merge pull request #3664 from clevertonh/master
Add electron-br
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.
Cheng Zhao [Fri, 4 Dec 2015 03:40:35 +0000 (11:40 +0800)]
'key of' is better than Object.keys
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.
Cheng Zhao [Fri, 4 Dec 2015 03:02:55 +0000 (11:02 +0800)]
Don't add too much listeners in BrowserWindowProxy
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
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
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
Plusb Preco [Fri, 4 Dec 2015 01:06:25 +0000 (10:06 +0900)]
Add contributing guide
[ci skip]
Zeke Sikelianos [Fri, 4 Dec 2015 00:08:10 +0000 (18:08 -0600)]
add placeholder CoC content to Korean README
Zeke Sikelianos [Fri, 4 Dec 2015 00:06:58 +0000 (18:06 -0600)]
link to CoC from README and CONTRIBUTING
Zeke Sikelianos [Fri, 4 Dec 2015 00:06:18 +0000 (18:06 -0600)]
add CODE_OF_CONDUCT.md
Plusb Preco [Thu, 3 Dec 2015 22:54:09 +0000 (07:54 +0900)]
Update as upstream
[ci skip]
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
Charlie Hess [Thu, 3 Dec 2015 20:14:08 +0000 (12:14 -0800)]
Revert accidental change to this submodule.
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
Kevin Sawicki [Thu, 3 Dec 2015 16:40:47 +0000 (08:40 -0800)]
Add newline before example code block
Cheng Zhao [Thu, 3 Dec 2015 13:44:54 +0000 (21:44 +0800)]
Merge pull request #3663 from preco21/master
Update as upstream
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
Cheng Zhao [Thu, 3 Dec 2015 09:10:14 +0000 (17:10 +0800)]
Weak map only needs to be deleted for once
Cheng Zhao [Thu, 3 Dec 2015 09:04:40 +0000 (17:04 +0800)]
Remove itself from the cleanup list when it is destroyed
Cheng Zhao [Thu, 3 Dec 2015 08:33:57 +0000 (16:33 +0800)]
It is fine to leak a V8 handle on exit
Cheng Zhao [Thu, 3 Dec 2015 08:17:10 +0000 (16:17 +0800)]
window.id is no longer available when window is closed
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.
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.
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
Charlie Hess [Thu, 3 Dec 2015 02:40:57 +0000 (18:40 -0800)]
This spec is a little unreliable; up the timeout.
Charlie Hess [Thu, 3 Dec 2015 02:40:39 +0000 (18:40 -0800)]
Write a spec for downloading from the webview tag.
Charlie Hess [Thu, 3 Dec 2015 02:40:02 +0000 (18:40 -0800)]
Make downloadURL available on the webview tag.
Charlie Hess [Wed, 2 Dec 2015 21:49:42 +0000 (13:49 -0800)]
Document the new method.
Charlie Hess [Wed, 2 Dec 2015 21:49:30 +0000 (13:49 -0800)]
Add a DownloadURL method on WebContents.
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.
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}`.
Cléverton Heming [Wed, 2 Dec 2015 15:27:23 +0000 (15:27 +0000)]
Add electron-br
Plusb Preco [Wed, 2 Dec 2015 15:21:34 +0000 (00:21 +0900)]
Update as upstream
Plusb Preco [Wed, 2 Dec 2015 15:21:28 +0000 (00:21 +0900)]
Merge remote-tracking branch 'refs/remotes/atom/master'
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
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
Cheng Zhao [Wed, 2 Dec 2015 11:58:10 +0000 (19:58 +0800)]
win: Implement menu parameter
Cheng Zhao [Wed, 2 Dec 2015 11:05:22 +0000 (19:05 +0800)]
mac: Implement menu parameter
Cheng Zhao [Wed, 2 Dec 2015 10:43:11 +0000 (18:43 +0800)]
Add `menu` parameter for Tray.popUpContextMenu
Luke Page [Wed, 2 Dec 2015 10:23:21 +0000 (10:23 +0000)]
Update debugging-main-process.md
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.
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
Cheng Zhao [Wed, 2 Dec 2015 03:04:47 +0000 (11:04 +0800)]
Don't call Move if there is no need to move
Cheng Zhao [Wed, 2 Dec 2015 03:00:28 +0000 (11:00 +0800)]
spec: Fix failing tests on win32
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
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
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
Artur de Oliveira Tsuda [Tue, 1 Dec 2015 23:57:07 +0000 (21:57 -0200)]
:memo: [ci skip] fix more typos
Artur de Oliveira Tsuda [Tue, 1 Dec 2015 23:46:13 +0000 (21:46 -0200)]
:memo: [ci skip] fix typos
Artur de Oliveira Tsuda [Tue, 1 Dec 2015 23:38:25 +0000 (21:38 -0200)]
Change header
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
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
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
```
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
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.
Cheng Zhao [Tue, 1 Dec 2015 10:34:58 +0000 (18:34 +0800)]
Delay the page-title-set event to next tick
Cheng Zhao [Tue, 1 Dec 2015 09:52:13 +0000 (17:52 +0800)]
Emit event when title becomes empty
Cheng Zhao [Tue, 1 Dec 2015 09:51:09 +0000 (17:51 +0800)]
No need to override TitleWasSet in NativeWindow
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
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.
Cheng Zhao [Tue, 1 Dec 2015 08:21:15 +0000 (16:21 +0800)]
Put common constants in atom_constants
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
Cheng Zhao [Tue, 1 Dec 2015 05:43:52 +0000 (13:43 +0800)]
docs: process.noAsar
Cheng Zhao [Tue, 1 Dec 2015 05:09:50 +0000 (13:09 +0800)]
spec: process.noAsar
Cheng Zhao [Tue, 1 Dec 2015 05:09:37 +0000 (13:09 +0800)]
Add process.noAsar to turn off asar support
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
Paul Betts [Tue, 1 Dec 2015 02:12:00 +0000 (18:12 -0800)]
Lint harder
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
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.
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
Artur de Oliveira Tsuda [Mon, 30 Nov 2015 23:56:19 +0000 (21:56 -0200)]
:memo: [ci skip] Add translation to app.md
Artur de Oliveira Tsuda [Mon, 30 Nov 2015 21:43:19 +0000 (19:43 -0200)]
:memo: [ci skip] Update to match english docs.
Artur de Oliveira Tsuda [Mon, 30 Nov 2015 21:14:33 +0000 (19:14 -0200)]
:memo: [ci skip] Fix typos
Paul Betts [Mon, 30 Nov 2015 19:08:22 +0000 (11:08 -0800)]
Linting
Paul Betts [Wed, 25 Nov 2015 23:20:50 +0000 (15:20 -0800)]
Add tests to verify behavior
Paul Betts [Wed, 25 Nov 2015 23:00:47 +0000 (15:00 -0800)]
Add CORS header to file jobs
Paul Betts [Wed, 25 Nov 2015 23:00:34 +0000 (15:00 -0800)]
Fix CORS header code to be cleaner
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
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