]> khamidou — GitHub mirrors - electron.git/log
electron.git
11 years agoFix running callback when global.global is deleted
Cheng Zhao [Thu, 30 Jul 2015 02:27:34 +0000 (10:27 +0800)]
Fix running callback when global.global is deleted

Close #2366.

11 years agoMerge pull request #2377 from CtrlVP/master
Cheng Zhao [Thu, 30 Jul 2015 01:39:53 +0000 (09:39 +0800)]
Merge pull request #2377 from CtrlVP/master

Replaced 'browser' with 'main'

11 years agoMerge pull request #2376 from timruffles/patch-2
Cheng Zhao [Thu, 30 Jul 2015 01:39:36 +0000 (09:39 +0800)]
Merge pull request #2376 from timruffles/patch-2

more accuracy around why to use ASAR

11 years agoMerge pull request #2372 from atom/allow-insecure-content
Cheng Zhao [Thu, 30 Jul 2015 01:38:27 +0000 (09:38 +0800)]
Merge pull request #2372 from atom/allow-insecure-content

Add allowing-insecure-content option

11 years agoMerge pull request #1 from CtrlVP/CtrlVP-patch-1
Vivek Patel [Wed, 29 Jul 2015 13:09:34 +0000 (15:09 +0200)]
Merge pull request #1 from CtrlVP/CtrlVP-patch-1

Replaced 'browser' with 'main'

11 years agoReplaced 'browser' with 'main'
Vivek Patel [Wed, 29 Jul 2015 13:04:34 +0000 (15:04 +0200)]
Replaced 'browser' with 'main'

"A JavaScript error occured in the browser process" is confusing. Replacing it with 'main', just like everywhere else.

11 years agomore accuracy around why to use ASAR
Tim Ruffles [Wed, 29 Jul 2015 12:45:30 +0000 (13:45 +0100)]
more accuracy around why to use ASAR

'protect' implies a lot more security than ASAR provides (none). I asked around #2374 to get some understanding of what ASAR does do for you.

11 years agoCheck whether entry is null
Cheng Zhao [Wed, 29 Jul 2015 10:26:20 +0000 (18:26 +0800)]
Check whether entry is null

This fixes the crash in #7877.

11 years agoMake 'allow-displaying-insecure-content' and
Haojian Wu [Wed, 29 Jul 2015 10:07:06 +0000 (18:07 +0800)]
Make 'allow-displaying-insecure-content' and
'allow-running-insecure-content' higher priority than `web-security`.

11 years agoMerge pull request #2368 from dataich/master
Cheng Zhao [Wed, 29 Jul 2015 09:25:30 +0000 (17:25 +0800)]
Merge pull request #2368 from dataich/master

do not overwrite `node-integration` option

11 years agoMerge pull request #2370 from atom/osx-tray
Cheng Zhao [Wed, 29 Jul 2015 09:22:47 +0000 (17:22 +0800)]
Merge pull request #2370 from atom/osx-tray

Use NSImageView to draw tray icon.

11 years agoMerge pull request #2340 from atom/set_download_path_api
Cheng Zhao [Wed, 29 Jul 2015 09:19:02 +0000 (17:19 +0800)]
Merge pull request #2340 from atom/set_download_path_api

Implement setDownloadPath API.

11 years agoUpdate brightray for #2327
Cheng Zhao [Wed, 29 Jul 2015 09:16:23 +0000 (17:16 +0800)]
Update brightray for #2327

11 years agoMerge pull request #2327 from deepak1556/devtools_api_patch
Cheng Zhao [Wed, 29 Jul 2015 09:16:02 +0000 (17:16 +0800)]
Merge pull request #2327 from deepak1556/devtools_api_patch

webContents: api to add/remove path from devtools workspace

11 years ago:memo: `allow-running-insecure-content` and
Haojian Wu [Wed, 29 Jul 2015 08:15:16 +0000 (16:15 +0800)]
:memo: `allow-running-insecure-content` and
`allow-displaying-insecure-content`.

11 years agoAdd `allow-running-insecure-content`, `allow-display-insecure-content`
Haojian Wu [Wed, 29 Jul 2015 08:09:32 +0000 (16:09 +0800)]
Add `allow-running-insecure-content`, `allow-display-insecure-content`
in BrowserWindow option.

11 years agoMerge pull request #2369 from atom/better-modifiers
Cheng Zhao [Wed, 29 Jul 2015 07:22:27 +0000 (15:22 +0800)]
Merge pull request #2369 from atom/better-modifiers

Fix a few things of Tray

11 years agoMerge pull request #2363 from atom/mime-check
Cheng Zhao [Wed, 29 Jul 2015 06:52:20 +0000 (14:52 +0800)]
Merge pull request #2363 from atom/mime-check

Fix a missing the specified mime type check in <input> accept attribute.

11 years agoUpdate brightray for #2324
Cheng Zhao [Wed, 29 Jul 2015 06:50:56 +0000 (14:50 +0800)]
Update brightray for #2324

11 years agoAdd metaKey
Cheng Zhao [Wed, 29 Jul 2015 06:44:08 +0000 (14:44 +0800)]
Add metaKey

11 years agodocs: modifiers removed
Cheng Zhao [Wed, 29 Jul 2015 06:27:32 +0000 (14:27 +0800)]
docs: modifiers removed

11 years agoUse DOM's way of telling modifiers
Cheng Zhao [Wed, 29 Jul 2015 06:25:12 +0000 (14:25 +0800)]
Use DOM's way of telling modifiers

11 years agoEnable using custom events when emitting
Cheng Zhao [Wed, 29 Jul 2015 06:24:45 +0000 (14:24 +0800)]
Enable using custom events when emitting

11 years ago:memo: say more about setDownloadPath API.
Haojian Wu [Wed, 29 Jul 2015 06:13:28 +0000 (14:13 +0800)]
:memo: say more about setDownloadPath API.

11 years agoNo need for default_download_path_ member.
Haojian Wu [Wed, 29 Jul 2015 06:03:07 +0000 (14:03 +0800)]
No need for default_download_path_ member.

11 years agoUse NSImageView to draw tray icon.
Haojian Wu [Wed, 29 Jul 2015 05:27:07 +0000 (13:27 +0800)]
Use NSImageView to draw tray icon.

* Fixes Tempate image doesn't show correctly in dark mode.
* Fixes the tray icon is stretched showing in menubar.
* Fixes title color will not reversed in dark mode.

11 years agowin: Pass modifers in 'clicked' events
Cheng Zhao [Wed, 29 Jul 2015 05:10:51 +0000 (13:10 +0800)]
win: Pass modifers in 'clicked' events

11 years agowin: Set GUID when getting icon's bounds
Cheng Zhao [Wed, 29 Jul 2015 04:55:44 +0000 (12:55 +0800)]
win: Set GUID when getting icon's bounds

11 years agodocs: Don't say things that are expected
Cheng Zhao [Wed, 29 Jul 2015 04:41:40 +0000 (12:41 +0800)]
docs: Don't say things that are expected

11 years agodo not overwrite `node-integration` option
Taichiro Yoshida [Wed, 29 Jul 2015 04:41:11 +0000 (13:41 +0900)]
do not overwrite `node-integration` option

If `node-integration` option pass to window.open, do not overwrite by current window's one

11 years agowin: Implement double-clicked event
Cheng Zhao [Wed, 29 Jul 2015 04:36:01 +0000 (12:36 +0800)]
win: Implement double-clicked event

11 years agoMerge branch 'feature/modifiers-click-tray' of https://github.com/nishanths/electron...
Cheng Zhao [Wed, 29 Jul 2015 04:01:27 +0000 (12:01 +0800)]
Merge branch 'feature/modifiers-click-tray' of https://github.com/nishanths/electron into nishanths-feature/modifiers-click-tray

11 years agowebContents: api to add/remove path from devtools workspace
Robo [Fri, 24 Jul 2015 09:39:11 +0000 (15:09 +0530)]
webContents: api to add/remove path from devtools workspace

11 years agoMinor style fix for #2352
Cheng Zhao [Wed, 29 Jul 2015 03:48:40 +0000 (11:48 +0800)]
Minor style fix for #2352

11 years agoMerge pull request #2352 from nishanths/feature/native-image-is-template
Cheng Zhao [Wed, 29 Jul 2015 03:47:00 +0000 (11:47 +0800)]
Merge pull request #2352 from nishanths/feature/native-image-is-template

Add NativeImage.isTemplateImage method

11 years agoMerge pull request #2349 from atom/mq-run-your-app
Cheng Zhao [Wed, 29 Jul 2015 03:46:02 +0000 (11:46 +0800)]
Merge pull request #2349 from atom/mq-run-your-app

Reorganize the Run Your App section

11 years agoMerge pull request #2347 from deepak1556/fetch_job_headers_patch
Cheng Zhao [Wed, 29 Jul 2015 03:44:47 +0000 (11:44 +0800)]
Merge pull request #2347 from deepak1556/fetch_job_headers_patch

protocol: fix request headers in urlRequestFetchJob

11 years agoMerge pull request #2314 from UsabilityEtc/update-api-docs
Cheng Zhao [Wed, 29 Jul 2015 03:35:14 +0000 (11:35 +0800)]
Merge pull request #2314 from UsabilityEtc/update-api-docs

Update api docs

11 years agoMerge pull request #2318 from craigshoemaker/patch-1
Cheng Zhao [Wed, 29 Jul 2015 03:34:46 +0000 (11:34 +0800)]
Merge pull request #2318 from craigshoemaker/patch-1

:memo: Windows/Linux compatibility changes

11 years agoMerge pull request #2338 from atom/page_size_option
Cheng Zhao [Wed, 29 Jul 2015 03:32:49 +0000 (11:32 +0800)]
Merge pull request #2338 from atom/page_size_option

Add 'pageSize' option in printToPDF API.

11 years agodocs: Small style fix for #2337
Cheng Zhao [Wed, 29 Jul 2015 03:28:20 +0000 (11:28 +0800)]
docs: Small style fix for #2337

11 years agoMerge pull request #2337 from nishanths/feature/bounds-tray-dblclick
Cheng Zhao [Wed, 29 Jul 2015 03:27:04 +0000 (11:27 +0800)]
Merge pull request #2337 from nishanths/feature/bounds-tray-dblclick

Send bounding Rect on tray double click events

11 years agoStyle fix for #2328
Cheng Zhao [Wed, 29 Jul 2015 03:22:12 +0000 (11:22 +0800)]
Style fix for #2328

11 years agoMerge pull request #2328 from atom/tray-settings-propagate
Cheng Zhao [Wed, 29 Jul 2015 03:08:35 +0000 (11:08 +0800)]
Merge pull request #2328 from atom/tray-settings-propagate

Propagate User App Model ID to Tray Icon

11 years agoFix typo in auto-updater.md
Jeffrey Morgan [Tue, 28 Jul 2015 15:51:41 +0000 (16:51 +0100)]
Fix typo in auto-updater.md

11 years agoMerge pull request #2350 from matiasinsaurralde/master
Cheng Zhao [Tue, 28 Jul 2015 08:22:11 +0000 (16:22 +0800)]
Merge pull request #2350 from matiasinsaurralde/master

Basic Spanish docs

11 years agoFix a missing the specified mime type check in <input> accept attribute.
Haojian Wu [Tue, 28 Jul 2015 02:30:36 +0000 (10:30 +0800)]
Fix a missing the specified mime type check in <input> accept attribute.

11 years agoFix code formatting issues
Nishanth Shanmugham [Mon, 27 Jul 2015 10:33:15 +0000 (03:33 -0700)]
Fix code formatting issues

11 years agoAdd keyboard modifiers payload to tray click events
Nishanth Shanmugham [Mon, 27 Jul 2015 10:15:51 +0000 (03:15 -0700)]
Add keyboard modifiers payload to tray click events

* Add keyboard and mouse button bitsum to Tray click events payload
* Move getBoundsFromRect: to common event_util file
* Update documentation

11 years agoMove event type functions to a common event_util file
Nishanth Shanmugham [Mon, 27 Jul 2015 07:41:20 +0000 (00:41 -0700)]
Move event type functions to a common  event_util file

11 years agoAdd NativeImage docs for IsTemplateImage
Nishanth Shanmugham [Mon, 27 Jul 2015 04:59:43 +0000 (21:59 -0700)]
Add NativeImage docs for IsTemplateImage

11 years agoAdd NativeImage.IsTemplateImage method
Nishanth Shanmugham [Mon, 27 Jul 2015 04:58:48 +0000 (21:58 -0700)]
Add NativeImage.IsTemplateImage method

* Rename internal function that determines template image filename patterns
* Add the new IsTemplateMethod

11 years agocustom dom texts
Matias Insaurralde [Mon, 27 Jul 2015 02:59:19 +0000 (22:59 -0400)]
custom dom texts

11 years agofirst docs
Matias Insaurralde [Mon, 27 Jul 2015 02:57:43 +0000 (22:57 -0400)]
first docs

11 years agoCorrect the override comment.
Haojian Wu [Mon, 27 Jul 2015 01:09:32 +0000 (09:09 +0800)]
Correct the override comment.

11 years ago:memo: :art: Grammar fix
Machisté N. Quintana [Mon, 27 Jul 2015 00:31:01 +0000 (20:31 -0400)]
:memo: :art: Grammar fix

11 years ago:memo: Reorganize the Run Your App section
Machisté N. Quintana [Mon, 27 Jul 2015 00:26:10 +0000 (20:26 -0400)]
:memo: Reorganize the Run Your App section

11 years agoprotocol: fix request headers in urlRequestFetchJob
Robo [Sun, 26 Jul 2015 21:21:41 +0000 (02:51 +0530)]
protocol: fix request headers in urlRequestFetchJob

11 years ago:memo: session.setDownloadPath API.
Haojian Wu [Sun, 26 Jul 2015 08:52:02 +0000 (16:52 +0800)]
:memo: session.setDownloadPath API.

11 years agoAdd `session.setDownloadPath` API.
Haojian Wu [Sun, 26 Jul 2015 08:30:02 +0000 (16:30 +0800)]
Add `session.setDownloadPath` API.

11 years agoprefs' key needs to be registered before using.
Haojian Wu [Sun, 26 Jul 2015 08:17:55 +0000 (16:17 +0800)]
prefs' key needs to be registered before using.

11 years agoCopy pref_names files from Chromium.
Haojian Wu [Sun, 26 Jul 2015 08:08:29 +0000 (16:08 +0800)]
Copy pref_names files from Chromium.

11 years agoUpdate tray double-click docs
Nishanth Shanmugham [Sun, 26 Jul 2015 04:16:15 +0000 (21:16 -0700)]
Update tray double-click docs

* Mention bounds payload

11 years ago:memo: pageSize option.
Haojian Wu [Sun, 26 Jul 2015 03:56:07 +0000 (11:56 +0800)]
:memo: pageSize option.

11 years agoSend bounding Rect on tray double click events
Nishanth Shanmugham [Sun, 26 Jul 2015 03:56:35 +0000 (20:56 -0700)]
Send bounding Rect on tray double click events

11 years agoAdd pageSize option in printToPDF API.
Haojian Wu [Sun, 26 Jul 2015 03:43:23 +0000 (11:43 +0800)]
Add pageSize option in printToPDF API.

11 years agoSet NIF_GUID if we have a GUID
Paul Betts [Fri, 24 Jul 2015 15:02:14 +0000 (08:02 -0700)]
Set NIF_GUID if we have a GUID

11 years agoFixed typo
Craig Shoemaker [Fri, 24 Jul 2015 13:53:55 +0000 (06:53 -0700)]
Fixed typo

11 years agoFix linting issues
Paul Betts [Fri, 24 Jul 2015 10:30:23 +0000 (03:30 -0700)]
Fix linting issues

11 years agoFix up namespaces
Paul Betts [Fri, 24 Jul 2015 10:27:15 +0000 (03:27 -0700)]
Fix up namespaces

11 years agoPropagate User App Model ID to Tray Icon
Paul Betts [Fri, 24 Jul 2015 10:10:03 +0000 (03:10 -0700)]
Propagate User App Model ID to Tray Icon

This PR prevents dozens of items showing up in the notification area
preferences when using Squirrel for Windows, by ensuring that
notification tray items are tied to the User App Model ID.

11 years agoBump v0.30.1 v0.30.1
Cheng Zhao [Fri, 24 Jul 2015 08:59:18 +0000 (16:59 +0800)]
Bump v0.30.1

11 years agoMerge pull request #2325 from atom/linux-min-max
Cheng Zhao [Fri, 24 Jul 2015 08:57:59 +0000 (16:57 +0800)]
Merge pull request #2325 from atom/linux-min-max

linux: Fix min/max size not working

11 years agolinux: Fix min/max size not working
Cheng Zhao [Fri, 24 Jul 2015 08:04:54 +0000 (16:04 +0800)]
linux: Fix min/max size not working

11 years agoMerge pull request #2323 from atom/better-spec
Cheng Zhao [Fri, 24 Jul 2015 08:21:16 +0000 (16:21 +0800)]
Merge pull request #2323 from atom/better-spec

Fix a few flaky tests

11 years agospec: Don't reuse port in session spec
Cheng Zhao [Fri, 24 Jul 2015 07:49:19 +0000 (15:49 +0800)]
spec: Don't reuse port in session spec

11 years agospec: Make dom-ready spec stronger
Cheng Zhao [Fri, 24 Jul 2015 07:48:13 +0000 (15:48 +0800)]
spec: Make dom-ready spec stronger

11 years agospec: Make the basic-auth spec stronger
Cheng Zhao [Fri, 24 Jul 2015 07:33:07 +0000 (15:33 +0800)]
spec: Make the basic-auth spec stronger

11 years agoMerge pull request #2321 from atom/web-contents-focus
Cheng Zhao [Fri, 24 Jul 2015 06:24:14 +0000 (14:24 +0800)]
Merge pull request #2321 from atom/web-contents-focus

Focus on WebContents when we load url in BrowserWindow for the first time

11 years agoRemove change to "mapped onto" in accelerator.md
Jeffrey Morgan [Fri, 24 Jul 2015 06:19:43 +0000 (07:19 +0100)]
Remove change to "mapped onto" in accelerator.md

Remove the change to “mapped onto” in `accelerator.md` after feedback
from @OlsonDev.

11 years agoMerge pull request #2320 from atom/appcomands
Cheng Zhao [Fri, 24 Jul 2015 05:28:30 +0000 (13:28 +0800)]
Merge pull request #2320 from atom/appcomands

Fix app-command event always return 'unknown'.

11 years agoFocus WebContents when we first load url in BrowserWindow
Cheng Zhao [Fri, 24 Jul 2015 05:00:03 +0000 (13:00 +0800)]
Focus WebContents when we first load url in BrowserWindow

11 years agoFix app-command event always return 'unknown'.
Haojian Wu [Fri, 24 Jul 2015 05:02:11 +0000 (13:02 +0800)]
Fix app-command event always return 'unknown'.

11 years agoAdd webContents.focus
Cheng Zhao [Fri, 24 Jul 2015 04:58:28 +0000 (12:58 +0800)]
Add webContents.focus

11 years agoMerge pull request #2316 from tengyifei/master
Cheng Zhao [Fri, 24 Jul 2015 03:11:56 +0000 (11:11 +0800)]
Merge pull request #2316 from tengyifei/master

Only allow extensions explicitly specified by the user. Fixes #2296

11 years agoWindows/Linux compatibility changes
Craig Shoemaker [Thu, 23 Jul 2015 22:04:43 +0000 (15:04 -0700)]
Windows/Linux compatibility changes

- Updated accelerator to cross platform values
- Added a warning to non-Mac users regarding the selector option

11 years agoCorrect error in chrome-command-line-switches.md
Jeffrey Morgan [Thu, 23 Jul 2015 19:45:08 +0000 (20:45 +0100)]
Correct error in chrome-command-line-switches.md

Replace “to” with “in” to correct the error identified in
`chrome-command-line-switches.md` by @OlsonDev.

11 years agoOnly allow extensions explicitly specified by the user. Fixes #2296
Yifei Teng [Thu, 23 Jul 2015 19:30:07 +0000 (12:30 -0700)]
Only allow extensions explicitly specified by the user. Fixes #2296

11 years agoImprove grammar and punctuation of crash-reporter.md
Jeffrey Morgan [Thu, 23 Jul 2015 17:02:45 +0000 (18:02 +0100)]
Improve grammar and punctuation of crash-reporter.md

Improve the grammar, sentence structure, punctuation and formatting of
`crash-reporter.md`.

11 years agoImprove grammar and punctuation of clipboard.md
Jeffrey Morgan [Thu, 23 Jul 2015 17:01:00 +0000 (18:01 +0100)]
Improve grammar and punctuation of clipboard.md

Improve the grammar, sentence structure, punctuation and formatting of
`clipboard.md`.

11 years agoImprove grammar and punctuation of `chrome-command-line-switches.md`
Jeffrey Morgan [Thu, 23 Jul 2015 16:59:51 +0000 (17:59 +0100)]
Improve grammar and punctuation of `chrome-command-line-switches.md`

Improve the grammar, sentence structure, punctuation and formatting of
`chrome-command-line-switches.md`

11 years agoImprove grammar and punctuation of auto-updater.md
Jeffrey Morgan [Thu, 23 Jul 2015 16:57:42 +0000 (17:57 +0100)]
Improve grammar and punctuation of auto-updater.md

Improve the grammar, sentence structure, punctuation and formatting of
`auto-updater.md`.

11 years agoImprove grammar and punctuation of accelerator.md
Jeffrey Morgan [Thu, 23 Jul 2015 16:55:57 +0000 (17:55 +0100)]
Improve grammar and punctuation of accelerator.md

Improve the grammar, sentence structure, punctuation and formatting of
`accelerator.md`.

11 years agoMerge pull request #2307 from atom/dialog-options
Cheng Zhao [Thu, 23 Jul 2015 09:59:09 +0000 (17:59 +0800)]
Merge pull request #2307 from atom/dialog-options

Add "noLink" option for showMessageBox

11 years agoShow all buttons as custom buttons when noLink is specified
Cheng Zhao [Thu, 23 Jul 2015 09:28:04 +0000 (17:28 +0800)]
Show all buttons as custom buttons when noLink is specified

11 years agoAdd noLink option for showMessageBox
Cheng Zhao [Thu, 23 Jul 2015 09:20:43 +0000 (17:20 +0800)]
Add noLink option for showMessageBox

11 years agoAllow the C++ JS binding function to accept arbitrary long arguments
Cheng Zhao [Thu, 23 Jul 2015 07:00:42 +0000 (15:00 +0800)]
Allow the C++ JS binding function to accept arbitrary long arguments

11 years agoAdd |options| for ShowMessageBox
Cheng Zhao [Thu, 23 Jul 2015 06:16:43 +0000 (14:16 +0800)]
Add |options| for ShowMessageBox

11 years agoUse node::MakeCallback to emit events in C++
Cheng Zhao [Thu, 23 Jul 2015 05:46:34 +0000 (13:46 +0800)]
Use node::MakeCallback to emit events in C++

Fix #2165

11 years agoMerge pull request #2298 from deepak1556/default_protocol_handler_patch
Cheng Zhao [Thu, 23 Jul 2015 04:15:54 +0000 (12:15 +0800)]
Merge pull request #2298 from deepak1556/default_protocol_handler_patch

protocol: fix adapter request job for default handlers