]> khamidou — GitHub mirrors - electron.git/log
electron.git
11 years agoUpdate docs for webContents.addWorkSpace
Stephen Niedzielski [Fri, 27 Nov 2015 06:16:00 +0000 (23:16 -0700)]
Update docs for webContents.addWorkSpace

Specify that webContents.addWorkSpace cannot be called before DevTools
creation and include example.

Fix: #3536

11 years agoMerge pull request #3595 from jviotti/jviotti/fix/3512/execFile-override-exec-permissions
Cheng Zhao [Fri, 27 Nov 2015 03:39:45 +0000 (11:39 +0800)]
Merge pull request #3595 from jviotti/jviotti/fix/3512/execFile-override-exec-permissions

:bug: Fix missing execution permission bit in execFile override

11 years ago:bug: Fix missing execution permission bit in execFile override
Juan Cruz Viotti [Thu, 26 Nov 2015 12:48:47 +0000 (08:48 -0400)]
:bug: Fix missing execution permission bit in execFile override

Consider an electron application that uses `execFile` to run a script
that lives within the application code base:

```coffee
child_process = require 'child_process'
child_process.execFile __dirname + '/script.sh', (error) ->
  throw error if error?
```

An application like this will fail when being packaged in an `asar` with
an following error:

```
Error: spawn EACCES
```

Electron overrides certain `fs` functions to make them work within an
`asar` package. In the case of `execFile`, the file to be executed is
extracted from the `asar` package into a temporary file and ran from
there.

The problem is that during the extraction, the original permissions of
the file are lost.

We workaround this by:

1. Extending `asar.stat` to return whether a file is executable or not,
  which is information that's already saved in the `asar` header.

2. Setting execution permissions on the extracted file if the above
  property holds true.

Fixes: https://github.com/atom/electron/issues/3512
11 years agoFix wrong deprecation wrappers of BrowserWindow
Cheng Zhao [Fri, 27 Nov 2015 02:30:51 +0000 (10:30 +0800)]
Fix wrong deprecation wrappers of BrowserWindow

11 years agoMerge pull request #3594 from atom/public-env
Cheng Zhao [Thu, 26 Nov 2015 13:51:35 +0000 (21:51 +0800)]
Merge pull request #3594 from atom/public-env

Add ELECTRON_RUN_AS_NODE environment variable

11 years agoAdd ELECTRON_NO_ATTACH_CONSOLE env var
Cheng Zhao [Thu, 26 Nov 2015 13:02:55 +0000 (21:02 +0800)]
Add ELECTRON_NO_ATTACH_CONSOLE env var

Close #1556.

11 years agodocs: Add example
Cheng Zhao [Thu, 26 Nov 2015 12:44:07 +0000 (20:44 +0800)]
docs: Add example

11 years agodocs: Add Environment Variables
Cheng Zhao [Thu, 26 Nov 2015 12:37:48 +0000 (20:37 +0800)]
docs: Add Environment Variables

11 years agoCheck ELECTRON_RUN_AS_NODE env var
Cheng Zhao [Thu, 26 Nov 2015 12:15:35 +0000 (20:15 +0800)]
Check ELECTRON_RUN_AS_NODE env var

11 years agoUpdate brightray for #1369
Cheng Zhao [Thu, 26 Nov 2015 11:10:43 +0000 (19:10 +0800)]
Update brightray for #1369

11 years agoMerge pull request #3590 from vQuagliaro/doc-windows-open-file
Cheng Zhao [Thu, 26 Nov 2015 10:34:12 +0000 (18:34 +0800)]
Merge pull request #3590 from vQuagliaro/doc-windows-open-file

[doc] open-file and open-url events are only available on OS X

11 years ago:memo: open-file and open-url events are only available on OS X
Vincent Quagliaro [Thu, 26 Nov 2015 08:05:02 +0000 (09:05 +0100)]
:memo: open-file and open-url events are only available on OS X

11 years agoMerge pull request #3588 from atom/fix-fullscreen-crash
Cheng Zhao [Thu, 26 Nov 2015 06:10:17 +0000 (14:10 +0800)]
Merge pull request #3588 from atom/fix-fullscreen-crash

Clears the delegate when window is going to be closed

11 years agoFix compatibility with activate-with-no-open-windows event
Cheng Zhao [Thu, 26 Nov 2015 05:57:48 +0000 (13:57 +0800)]
Fix compatibility with activate-with-no-open-windows event

11 years agomac: Clears the delegate when window is going to be closed
Cheng Zhao [Thu, 26 Nov 2015 05:55:59 +0000 (13:55 +0800)]
mac: Clears the delegate when window is going to be closed

Since EL Capitan it is possible that the methods of delegate would get
called after the window has been closed.

Refs atom/atom#9584.

11 years agoMerge pull request #3586 from atom/ipc-fasterer
Cheng Zhao [Thu, 26 Nov 2015 05:15:08 +0000 (13:15 +0800)]
Merge pull request #3586 from atom/ipc-fasterer

Ensure calling webview.send will not block the renderer

11 years agoImprove the deprecation notice for ipc module
Cheng Zhao [Thu, 26 Nov 2015 03:06:56 +0000 (11:06 +0800)]
Improve the deprecation notice for ipc module

Close #3577.

11 years agoMerge pull request #3574 from preco21/master
Cheng Zhao [Thu, 26 Nov 2015 03:02:01 +0000 (11:02 +0800)]
Merge pull request #3574 from preco21/master

Update as upstream

11 years agoMerge pull request #3573 from rprichard/fix_3565
Cheng Zhao [Thu, 26 Nov 2015 03:00:29 +0000 (11:00 +0800)]
Merge pull request #3573 from rprichard/fix_3565

Fix https://github.com/atom/electron/issues/3565 by adding a typeof

11 years agoEnsure calling webview.send will not block the renderer
Paul Betts [Wed, 25 Nov 2015 23:54:30 +0000 (15:54 -0800)]
Ensure calling webview.send will not block the renderer

When the browser process is busy, calling webview.send (a method that appears
on its face to be non-blocking) will actually block, because most webview methods
are remoted to a guest view instance in the browser. Instead, define a few methods
which will instead send its call over an async IPC message.

11 years agoUpdate as upstream
Plusb Preco [Tue, 24 Nov 2015 23:55:04 +0000 (08:55 +0900)]
Update as upstream

11 years agoFix https://github.com/atom/electron/issues/3565 by adding a typeof
Ryan Prichard [Tue, 24 Nov 2015 22:49:52 +0000 (16:49 -0600)]
Fix https://github.com/atom/electron/issues/3565 by adding a typeof

11 years agoMerge pull request #3568 from laiso/fix_docs
Cheng Zhao [Tue, 24 Nov 2015 14:03:46 +0000 (22:03 +0800)]
Merge pull request #3568 from laiso/fix_docs

docs: s/loadUrl/loadURL/g in docs-translations/

11 years agos/loadUrl/loadURL/g in docs-translations/
laiso [Tue, 24 Nov 2015 12:02:14 +0000 (21:02 +0900)]
s/loadUrl/loadURL/g in docs-translations/

11 years agodocs: Mark code blocks
Cheng Zhao [Tue, 24 Nov 2015 10:40:50 +0000 (18:40 +0800)]
docs: Mark code blocks

11 years agoUpdate brightray for #3550
Cheng Zhao [Tue, 24 Nov 2015 10:39:16 +0000 (18:39 +0800)]
Update brightray for #3550

11 years agoMerge pull request #3550 from etiktin/support_proxy_bypass_list
Cheng Zhao [Tue, 24 Nov 2015 10:38:33 +0000 (18:38 +0800)]
Merge pull request #3550 from etiktin/support_proxy_bypass_list

Add support for --proxy-bypass-list command line argument

11 years agoMerge pull request #3531 from deepak1556/fetch_job_nocontent_patch
Cheng Zhao [Tue, 24 Nov 2015 07:45:07 +0000 (15:45 +0800)]
Merge pull request #3531 from deepak1556/fetch_job_nocontent_patch

protocol: handle http responses with no content

11 years agoUpdate brightray for #3458
Cheng Zhao [Tue, 24 Nov 2015 07:14:48 +0000 (15:14 +0800)]
Update brightray for #3458

11 years agoMerge pull request #3561 from preco21/master
Cheng Zhao [Tue, 24 Nov 2015 05:40:16 +0000 (13:40 +0800)]
Merge pull request #3561 from preco21/master

Update as upstream

11 years agoSmall fixes
Plusb Preco [Tue, 24 Nov 2015 01:23:52 +0000 (10:23 +0900)]
Small fixes

11 years agoUpdate as upstream
Plusb Preco [Tue, 24 Nov 2015 01:21:30 +0000 (10:21 +0900)]
Update as upstream

* Update as upstream
* Add caution of translation version

11 years agoMerge remote-tracking branch 'refs/remotes/atom/master'
Plusb Preco [Mon, 23 Nov 2015 11:34:00 +0000 (20:34 +0900)]
Merge remote-tracking branch 'refs/remotes/atom/master'

11 years agoMerge pull request #3554 from meowlab/docs-fix
Cheng Zhao [Mon, 23 Nov 2015 10:19:37 +0000 (18:19 +0800)]
Merge pull request #3554 from meowlab/docs-fix

docs: Fix deprecated usage tips

11 years agoMerge pull request #3548 from dongjoon-hyun/fix_typos_in_koKR_api_ipc_main
Cheng Zhao [Mon, 23 Nov 2015 09:45:48 +0000 (17:45 +0800)]
Merge pull request #3548 from dongjoon-hyun/fix_typos_in_koKR_api_ipc_main

Fix typos in Korean api/ipc-main.md

11 years agoMerge pull request #3544 from dongjoon-hyun/fix_typo
Cheng Zhao [Mon, 23 Nov 2015 09:45:44 +0000 (17:45 +0800)]
Merge pull request #3544 from dongjoon-hyun/fix_typo

Fix a typo in Korean quick-start tutotial

11 years agoMerge pull request #3549 from bengotow/fix-hide-others
Cheng Zhao [Mon, 23 Nov 2015 09:44:06 +0000 (17:44 +0800)]
Merge pull request #3549 from bengotow/fix-hide-others

Remove trailing colons from default menu roles

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

11 years agoMerge pull request #3542 from etiktin/fix_menu_item_using_deprcated_api
Cheng Zhao [Mon, 23 Nov 2015 09:11:44 +0000 (17:11 +0800)]
Merge pull request #3542 from etiktin/fix_menu_item_using_deprcated_api

Fix menu-item using deprecated API

11 years agodocs: Add indent for items in list
Cheng Zhao [Mon, 23 Nov 2015 08:59:15 +0000 (16:59 +0800)]
docs: Add indent for items in list

Some markdown renderers require it to be able to render the list
correctly.

11 years agoMerge pull request #3537 from etiktin/make_BrowserWindow_options_optional
Cheng Zhao [Mon, 23 Nov 2015 08:56:30 +0000 (16:56 +0800)]
Merge pull request #3537 from etiktin/make_BrowserWindow_options_optional

Make BrowserWindow options argument optional

11 years agoMerge pull request #3535 from etiktin/use_the_correct_docs_version
Cheng Zhao [Mon, 23 Nov 2015 08:45:26 +0000 (16:45 +0800)]
Merge pull request #3535 from etiktin/use_the_correct_docs_version

Use the correct docs version

11 years agoMerge pull request #3533 from preco21/master
Cheng Zhao [Mon, 23 Nov 2015 08:41:02 +0000 (16:41 +0800)]
Merge pull request #3533 from preco21/master

Update as upstream

11 years agodocs: Fix deprecated usage tips
Sunny [Mon, 23 Nov 2015 05:40:23 +0000 (13:40 +0800)]
docs: Fix deprecated usage tips

11 years agoAdd documentation for --proxy-bypass-list
Eran Tiktin [Sun, 22 Nov 2015 21:44:20 +0000 (23:44 +0200)]
Add documentation for --proxy-bypass-list

Depends on atom/brightray#179

11 years agoprotocol: handle http responses with no content
Robo [Fri, 20 Nov 2015 20:50:51 +0000 (02:20 +0530)]
protocol: handle http responses with no content

11 years agoRemove trailing colons from default menu roles
Ben Gotow [Sun, 22 Nov 2015 17:08:35 +0000 (09:08 -0800)]
Remove trailing colons from default menu roles

`hideothers` and `unhide` had trailing colons which prevented them from being enabled / working in the default app. #3543

11 years agoFix typos in Korean api/ipc-main.md
Dongjoon Hyun [Sun, 22 Nov 2015 14:16:56 +0000 (23:16 +0900)]
Fix typos in Korean api/ipc-main.md

11 years agoAdd space, too
Dongjoon Hyun [Sun, 22 Nov 2015 10:55:36 +0000 (19:55 +0900)]
Add space, too

11 years agoFix a typo in Korean quick-start tutotial
Dongjoon Hyun [Sun, 22 Nov 2015 10:50:52 +0000 (19:50 +0900)]
Fix a typo in Korean quick-start tutotial

11 years agoFix menu-item using deprecated API
Eran Tiktin [Sat, 21 Nov 2015 23:13:57 +0000 (01:13 +0200)]
Fix menu-item using deprecated API

Some of the roles in menu-item use methods on BrowserWindow instead of
WebContents which outputs a deprecation warning.
I changed it to use the correct methods.

11 years agoExpand the descriptions of options with defaults
Eran Tiktin [Sat, 21 Nov 2015 19:50:23 +0000 (21:50 +0200)]
Expand the descriptions of options with defaults

Resolves #3367

11 years agoAdd test
Eran Tiktin [Sat, 21 Nov 2015 04:58:17 +0000 (06:58 +0200)]
Add test

11 years agoUpdate docs
Eran Tiktin [Sat, 21 Nov 2015 04:42:40 +0000 (06:42 +0200)]
Update docs

11 years agoMake BrowserWindow options argument optional
Eran Tiktin [Sat, 21 Nov 2015 04:22:19 +0000 (06:22 +0200)]
Make BrowserWindow options argument optional

Resolves #3473

11 years agoAdd missed translation
Plusb Preco [Sat, 21 Nov 2015 04:15:37 +0000 (13:15 +0900)]
Add missed translation

11 years agoRephrased the note
Eran Tiktin [Sat, 21 Nov 2015 02:22:16 +0000 (04:22 +0200)]
Rephrased the note

11 years agoAdd a note to readme about docs versioning
Eran Tiktin [Sat, 21 Nov 2015 01:31:52 +0000 (03:31 +0200)]
Add a note to readme about docs versioning

Added a note to readme about using the correct docs version. Hopefully
this will reduce users confusion.

11 years agoAdded ctags cache files to .gitignore
Eran Tiktin [Sat, 21 Nov 2015 00:32:53 +0000 (02:32 +0200)]
Added ctags cache files to .gitignore

11 years agoMake links to docs, point to the correct version
Eran Tiktin [Sat, 21 Nov 2015 00:26:59 +0000 (02:26 +0200)]
Make links to docs, point to the correct version

- Links to docs in the default app, pointed to the docs in the master
branch. I changed them to point to the docs that match Electron's
version.
- Added Electron's version to the header of the default app, so it will
be easier to figure out what version is currently running.

11 years agoUpdate as upstream
Plusb Preco [Fri, 20 Nov 2015 22:51:52 +0000 (07:51 +0900)]
Update as upstream

11 years agoMerge remote-tracking branch 'refs/remotes/atom/master'
Eran Tiktin [Fri, 20 Nov 2015 17:25:23 +0000 (19:25 +0200)]
Merge remote-tracking branch 'refs/remotes/atom/master'

11 years agoMerge remote-tracking branch 'refs/remotes/atom/master'
Eran Tiktin [Fri, 20 Nov 2015 16:44:51 +0000 (18:44 +0200)]
Merge remote-tracking branch 'refs/remotes/atom/master'

11 years agoBump v0.35.1 v0.35.1
Cheng Zhao [Fri, 20 Nov 2015 05:36:59 +0000 (13:36 +0800)]
Bump v0.35.1

11 years agoUpdate brightray for #3493
Cheng Zhao [Fri, 20 Nov 2015 05:32:54 +0000 (13:32 +0800)]
Update brightray for #3493

11 years agoSmall style fix
Cheng Zhao [Fri, 20 Nov 2015 05:06:42 +0000 (13:06 +0800)]
Small style fix

11 years agoMerge pull request #3509 from bengotow/macosx-desktop-window
Cheng Zhao [Fri, 20 Nov 2015 05:02:05 +0000 (13:02 +0800)]
Merge pull request #3509 from bengotow/macosx-desktop-window

Support the "desktop" window type on Mac OS X

11 years agoMerge pull request #3519 from preco21/master
Cheng Zhao [Fri, 20 Nov 2015 02:52:53 +0000 (10:52 +0800)]
Merge pull request #3519 from preco21/master

Update as upstream, some cleanups

11 years agoMake child_process.execFileSync support asar
Cheng Zhao [Fri, 20 Nov 2015 02:33:57 +0000 (10:33 +0800)]
Make child_process.execFileSync support asar

11 years agoMerge pull request #3514 from atom/session
Cheng Zhao [Fri, 20 Nov 2015 02:23:38 +0000 (10:23 +0800)]
Merge pull request #3514 from atom/session

Add session module

11 years agoUpdate as upstream
Plusb Preco [Thu, 19 Nov 2015 19:58:51 +0000 (04:58 +0900)]
Update as upstream

11 years agoMerge remote-tracking branch 'refs/remotes/atom/master'
Plusb Preco [Thu, 19 Nov 2015 19:46:07 +0000 (04:46 +0900)]
Merge remote-tracking branch 'refs/remotes/atom/master'

11 years agoCleanup docs
Plusb Preco [Thu, 19 Nov 2015 19:46:05 +0000 (04:46 +0900)]
Cleanup docs

* Adjust line wrap to 80
* Fix typos
* Improve grammar

11 years agoAddress feedback
Ben Gotow [Thu, 19 Nov 2015 18:04:28 +0000 (10:04 -0800)]
Address feedback

11 years agoCleanup docs, fix typos
Plusb Preco [Thu, 19 Nov 2015 17:25:44 +0000 (02:25 +0900)]
Cleanup docs, fix typos

11 years agoMerge pull request #3515 from sotayamashita/japanese-localization
Cheng Zhao [Thu, 19 Nov 2015 14:23:14 +0000 (22:23 +0800)]
Merge pull request #3515 from sotayamashita/japanese-localization

Format structure

11 years agoRename: READE.md -> README.md
Sota Yamashita [Thu, 19 Nov 2015 13:54:40 +0000 (22:54 +0900)]
Rename: READE.md -> README.md

11 years agoCreate README.md
Sota Yamashita [Thu, 19 Nov 2015 13:54:01 +0000 (22:54 +0900)]
Create README.md

11 years agoRename quick-start.md -> tutorial/quick-start.md
Sota Yamashita [Thu, 19 Nov 2015 13:52:37 +0000 (22:52 +0900)]
Rename quick-start.md -> tutorial/quick-start.md

11 years agodocs: Put webContents.session under Properties
Cheng Zhao [Thu, 19 Nov 2015 13:48:45 +0000 (21:48 +0800)]
docs: Put webContents.session under Properties

11 years agospec: Use session.defaultSession in tests
Cheng Zhao [Thu, 19 Nov 2015 13:42:22 +0000 (21:42 +0800)]
spec: Use session.defaultSession in tests

11 years agoDeprecate app.resolveProxy
Cheng Zhao [Thu, 19 Nov 2015 13:32:46 +0000 (21:32 +0800)]
Deprecate app.resolveProxy

There is now a public API to get default session, this helper is no
longer necessary.

11 years agodocs: New session methods
Cheng Zhao [Thu, 19 Nov 2015 13:31:39 +0000 (21:31 +0800)]
docs: New session methods

11 years agodocs: webContents.savePage is placed at wrong place
Cheng Zhao [Thu, 19 Nov 2015 13:10:50 +0000 (21:10 +0800)]
docs: webContents.savePage is placed at wrong place

11 years agoAdd session.defaultSession and remove app.defaultSession
Cheng Zhao [Thu, 19 Nov 2015 13:03:42 +0000 (21:03 +0800)]
Add session.defaultSession and remove app.defaultSession

The latter has never been a public API, no need to keep it.

11 years agoAdd session module
Cheng Zhao [Thu, 19 Nov 2015 12:47:11 +0000 (20:47 +0800)]
Add session module

11 years agoMerge pull request #3510 from atom/is-destroyed
Cheng Zhao [Thu, 19 Nov 2015 09:28:59 +0000 (17:28 +0800)]
Merge pull request #3510 from atom/is-destroyed

Add "isDestroyed" method for objects with "destroy" method

11 years agoAdd isDestroyed method for classes with destroy method
Cheng Zhao [Thu, 19 Nov 2015 09:08:16 +0000 (17:08 +0800)]
Add isDestroyed method for classes with destroy method

11 years agoSupport the "desktop" window type on Mac OS X
Ben Gotow [Thu, 19 Nov 2015 08:39:45 +0000 (00:39 -0800)]
Support the "desktop" window type on Mac OS X

Adds the desktop window type referenced in https://github.com/atom/electron/issues/2899 for compatiblity with the linux version. Note that on Mac OS X, the desktop window cannot receive input events (seems to be a limitation of being behind the desktop).

In this diff I also removed the `standardWindow` option from the docs, in favor of an additional `textured` value for window `type` on Mac OS X. The old `standardWindow` option continues to work, but seemed more confusing. If this seems like a bad idea, I can revert that change.

11 years agoMerge pull request #3507 from atom/upload-dsym
Cheng Zhao [Thu, 19 Nov 2015 08:38:58 +0000 (16:38 +0800)]
Merge pull request #3507 from atom/upload-dsym

Upload the dSYM symbols

11 years agoUpload the dSYM symbols
Cheng Zhao [Thu, 19 Nov 2015 07:10:33 +0000 (15:10 +0800)]
Upload the dSYM symbols

11 years agoMerge pull request #3506 from atom/linux-dpi
Cheng Zhao [Thu, 19 Nov 2015 06:45:30 +0000 (14:45 +0800)]
Merge pull request #3506 from atom/linux-dpi

Update libchromiumcontent

11 years agoUpdate libchromiumcontent
Cheng Zhao [Thu, 19 Nov 2015 05:49:50 +0000 (13:49 +0800)]
Update libchromiumcontent

Backport https://codereview.chromium.org/1324513002.

11 years agoMerge pull request #3504 from KevinRamsunder/patch-1
Cheng Zhao [Thu, 19 Nov 2015 03:00:43 +0000 (11:00 +0800)]
Merge pull request #3504 from KevinRamsunder/patch-1

mac-app-store-submission-guide.md: typo correction

11 years agoMerge pull request #3503 from etiktin/patch-2
Cheng Zhao [Thu, 19 Nov 2015 03:00:13 +0000 (11:00 +0800)]
Merge pull request #3503 from etiktin/patch-2

Update ipc-renderer.md

11 years agoMerge pull request #3496 from preco21/master
Cheng Zhao [Thu, 19 Nov 2015 02:57:21 +0000 (10:57 +0800)]
Merge pull request #3496 from preco21/master

Update as upstream and some fixes

11 years agoMerge pull request #3497 from etiktin/patch-1
Cheng Zhao [Thu, 19 Nov 2015 02:54:32 +0000 (10:54 +0800)]
Merge pull request #3497 from etiktin/patch-1

Update browser-window.md

11 years agoMerge pull request #3492 from vitorgalvao/patch-2
Cheng Zhao [Thu, 19 Nov 2015 02:44:15 +0000 (10:44 +0800)]
Merge pull request #3492 from vitorgalvao/patch-2

web-view-tag.md: small typo correction ('the' position swap)

11 years agomac-app-store-submission-guide.md: typo correction
Kevin Ramsunder [Thu, 19 Nov 2015 01:04:16 +0000 (20:04 -0500)]
mac-app-store-submission-guide.md: typo correction

11 years agoCleanup docs, Improve grammar
Plusb Preco [Thu, 19 Nov 2015 00:32:44 +0000 (09:32 +0900)]
Cleanup docs, Improve grammar