Cheng Zhao
eac2e7cc61
docs: Update codes in docs to use require('electron')
2015-11-12 21:20:09 +08:00
Cheng Zhao
28db51ad83
docs: Update BrowserWindow's options
2015-11-11 23:56:17 +08:00
Cheng Zhao
0e9415a256
docs: More notes on --proxy-server, close #3390
2015-11-11 22:55:32 +08:00
Cheng Zhao
0a5b234e3d
Merge pull request #3354 from nishanths/master
...
Add drag-entered and drag-exited events to Tray
2015-11-11 22:44:05 +08:00
Plusb Preco
b611154f43
Standardize the webContents object name
2015-11-11 09:03:49 +09:00
Nishanth Shanmugham
ed179ecf03
docs: Update tray docs with drop and drag-end events
2015-11-10 10:14:55 -06:00
Nishanth Shanmugham
f98147ea01
Tray: Rename events to drag-enter and drag-leave
...
Previously, the names were drag-entered and drag-exited. The new names mirror the HTML Drag and Drop event names
2015-11-10 09:27:39 -06:00
Cheng Zhao
90a7d4a906
docs: Update with new IPC modules
2015-11-10 16:48:24 +08:00
Cheng Zhao
863199348f
Make process.exit() quit gracefully
...
Instead of abrupting the whole program immediately, we should close all
windows and release all native resources gracefully on exit. This avoids
possible crashes.
Fix #3350 .
2015-11-06 20:25:20 +08:00
Nishanth Shanmugham
ee783a13ad
docs: Add Tray drag-entered and drag-exited events
2015-11-05 18:49:34 -06:00
Cheng Zhao
726910df39
docs: app.setAppUserModelId
2015-11-03 15:36:44 +08:00
Cheng Zhao
8a3268b70c
docs: Add notes for working together with Squirrel
2015-11-03 15:30:54 +08:00
Cheng Zhao
b5f7c433c6
Merge pull request #3292 from ggamel/patch-2
...
Update auto-updater.md to improve readability
2015-11-02 20:30:47 +08:00
Greg Gamel
d097082baf
Update auto-updater.md to improve readability
...
Fix minor grammatical mistakes, correct sentence structures, and improve readability.
2015-10-31 21:25:07 -05:00
Eric Poulsen
5b49655d1f
Update dialog.md
2015-10-31 16:04:01 -07:00
Eric Poulsen
aa98720356
Update dialog.md
...
Clarification of showErrorBox behavior on Linux if called before app `ready` event.
2015-10-30 14:46:18 -07:00
Michael J. Zoidl
95ef73ebc1
Update autoUpdater api docs
...
The event `quitAndUpdate` event changed to `quitAndInstall`
2015-10-30 12:17:30 +01:00
Simon Knight
8cd8495df7
fix capital I -> i in isDocumentEdited
...
Uncaught Exception:
TypeError: mainWindow.IsDocumentEdited is not a function
2015-10-30 16:10:46 +10:30
Plusb Preco
b8cc2e1649
Remove extra spaces
2015-10-29 14:22:00 +09:00
Cheng Zhao
f13a02e4fa
Merge pull request #3250 from atom/basic-auth
...
Add support for basic auth
2015-10-29 10:20:51 +08:00
Antoine Pairet
4efff08007
Fix comments from @jlord
2015-10-28 17:55:18 +01:00
Antoine Pairet
974b5005bc
Update from @jlord
2015-10-28 14:28:30 +01:00
Cheng Zhao
862c3187f5
docs: login event
2015-10-28 21:14:00 +08:00
Antoine Pairet
0c5fe03999
Fix module types available in the renderer process
...
The doc previously stated `only GUI-unrelated` modules are available to the renderer process. I think it should be `only GUI-related`
2015-10-28 11:40:01 +01:00
Cheng Zhao
142f380376
Merge pull request #3231 from omrilitov/master
...
Hooking windows messages
2015-10-27 20:48:19 +08:00
Omri Litov
e355532d27
Change windows messages api to hook instead of emitter
2015-10-27 14:00:08 +02:00
Omri Litov
edbebf84b9
Added browser-window event 'message'
2015-10-27 03:12:01 +02:00
Gohy Leandre
b29a8c94b9
Add extra headers option to webContents.loadUrl
2015-10-26 22:18:16 +01:00
Eran Tiktin
9b36abc816
Update web-contents.md
...
The `did-fail-load` event returns an error code and error description. The error description is at least sometimes empty (e.g. when the error code is -102 on Windows), so you're left with an error code without knowing what happened. So I add a link to Chromium's net_error_list.h.
2015-10-25 17:00:29 +02:00
Cheng Zhao
88b05cff3e
docs: auto-updater on Windows
2015-10-23 20:11:59 +08:00
Cheng Zhao
aeafc46ded
Keep compatibility with old API style
2015-10-23 15:50:55 +08:00
Cheng Zhao
95fe4beda8
Pass real Error object in error event
2015-10-23 14:37:35 +08:00
Cheng Zhao
83ef23ff8d
docs: background-color on Windows
2015-10-23 13:32:04 +08:00
Cheng Zhao
6182e4ce81
Merge pull request #3179 from deepak1556/session_api_patch
...
session: allow setproxy to use external pac script
2015-10-23 10:36:37 +08:00
Robo
e9a5d05b27
session: allow setproxy to use external pac script
2015-10-22 23:03:47 +05:30
Cheng Zhao
61f07307cb
docs: New behaviors of makeSingleInstance
2015-10-22 19:26:05 +08:00
Cheng Zhao
70e74d05e0
Revert "app.makeSingleInstance is not available on OS X"
...
This reverts commit bcb78ebc00
.
2015-10-22 17:03:18 +08:00
Cheng Zhao
bcb78ebc00
app.makeSingleInstance is not available on OS X
2015-10-22 15:02:32 +08:00
Cheng Zhao
63cc2ec369
docs: Make code more JS-style
2015-10-22 14:24:09 +08:00
Cheng Zhao
04d3eed60e
Merge pull request #3145 from atom/single-instance
...
Implement Single-Instance for Windows / Linux
2015-10-22 14:18:31 +08:00
Cheng Zhao
f7840e7379
docs: background-color is Linux-only for now
2015-10-22 14:16:17 +08:00
Cheng Zhao
15e0248d82
Merge pull request #3168 from deepak1556/window_background_color_patch
...
browser: option to set window background color
2015-10-22 14:13:37 +08:00
Robo
9411508d3e
browser: option to set window background color
2015-10-22 09:54:29 +05:30
Tom Moor
bac3d2e372
Update crash-reporter.md
2015-10-21 17:07:36 -07:00
Paul Betts
759b6a1534
📝 for makeSingleInstance
2015-10-21 13:52:17 -07:00
Paul Betts
285a4789b3
Update app.md
2015-10-20 12:35:56 -07:00
Ionică Bizău
1ad979f9bd
Add some missing words ("be" and "the")
2015-10-20 19:44:01 +03:00
Cheng Zhao
c928894627
docs: app.allowNTLMCredentialsForAllDomains
2015-10-20 13:56:31 +08:00
Cheng Zhao
be36a17dbf
docs: Mention the ELECTRON_ENABLE_LOGGING env
2015-10-20 13:06:41 +08:00
Cheng Zhao
bb8bb3dbea
Merge pull request #3147 from deepak1556/cipher_suite_disable_patch
...
browser: flag to disable specified cipher suites
2015-10-20 10:29:49 +08:00
Robo
9f8479e9d8
browser: flag to diable specified cipher suites
2015-10-20 02:51:56 +05:30
max_devjs
72078f7b02
[truly humble correction of a misspelling]
...
Substituting webp with web in frameless-window.md .
2015-10-16 19:56:45 -03:00
Roman Klauke
32523ae352
replace Mac with OS X
...
Commit 691d8dd
replaced "Mac" with "OS X". This commit replaces some
other occurrences.
2015-10-16 22:03:47 +02:00
Cheng Zhao
18fd126c64
docs: Mac App Store Submission Guide
2015-10-16 17:16:12 +08:00
Cheng Zhao
7bdbe45c91
subpixel-font-scaling option is removed
2015-10-16 15:01:28 +08:00
Haojian Wu
facd0fbc08
Implement webContents.savePage API.
2015-10-16 09:23:08 +08:00
Cheng Zhao
d9cf9a7cbc
docs: Fix wrong level for API titles
2015-10-08 11:14:04 +08:00
Steve Kinney
2978beaeb7
💄 Add preposition to globalShortcut.unregisterAll()
2015-10-07 09:03:46 -07:00
Steve Kinney
6f61832a34
💄 Add semicolon to global-shortcut code example
...
This keeps this line consistent with the rest of the documentation.
2015-10-07 09:03:11 -07:00
Cheng Zhao
804cf5e8ba
Merge pull request #2994 from etiktin/update_native_modules_doc
...
Update native modules doc
2015-10-06 16:55:25 +08:00
Cheng Zhao
fc0153f0bc
Merge pull request #2993 from etiktin/update_screen_doc
...
Update screen.md
2015-10-06 16:55:16 +08:00
Eran Tiktin
c3cd438d34
Replace io.js references with node.js references
2015-10-05 21:12:29 +03:00
Eran Tiktin
ea3e84e7ff
Update screen.md
...
Removed a trailing comma.
2015-10-05 16:56:36 +03:00
Eran Tiktin
239b97cde1
Update process.md
...
Fixed the `loaded` example according to
[this](https://github.com/atom/electron/issues/2984#issuecomment-145465907 )
comment.
2015-10-05 16:51:49 +03:00
Cheng Zhao
ad8e727ba2
docs: "loaded" event of "process"
2015-10-05 11:41:36 +08:00
Cheng Zhao
46c69cc3e5
docs: Removed unneeded changes from PR
2015-10-05 11:41:06 +08:00
hansrwindhoff
69140af083
example code didn't run
2015-10-04 20:14:52 -06:00
Cheng Zhao
3d4318e15e
docs: Remove cache
and userCache
dir
...
Closes #1404 .
2015-10-04 21:20:05 +08:00
Cheng Zhao
55acdcb1ad
docs: --enable-logging
2015-10-03 15:43:26 +08:00
Cheng Zhao
24518d13d5
Merge pull request #2965 from jhen0409/patch-1
...
Fix typo for docs/api/menu-item.md
2015-10-03 01:15:33 +08:00
Jhen
0ecf077590
Fix typo for docs/api/menu-item.md
2015-10-02 21:53:55 +08:00
Cheng Zhao
af971a46bd
docs: Move devtools methods to WebContents
2015-10-01 16:30:31 +08:00
Cheng Zhao
0fb68e8130
Make Menu.popup accept no parameter
2015-09-30 23:41:23 +08:00
Alexander Rusakov
d5f81357b6
remove required width and height BrowserWindowOptions
2015-09-30 17:13:20 +03:00
Cheng Zhao
305d98abc5
Merge pull request #2926 from brenca/master
...
Add more detailed documentation about the format of frameBuffer (FrameSubscription API)
2015-09-29 09:25:51 +08:00
Heilig Benedek
8734395358
Detalied documentation about frameBuffer's format.
2015-09-28 22:33:43 +02:00
Cheng Zhao
a987715222
Merge pull request #2914 from deepak1556/network_emulation_api_patch
...
session: api to emulate network conditions
2015-09-28 17:02:23 +08:00
Robo
db0732b35b
add examples
2015-09-28 12:52:50 +05:30
Cheng Zhao
11af4b63ac
Merge pull request #2918 from brenca/master
...
Option to specify button on a MouseEvent and text on a KeyboardEvent when using sendInputEvent
2015-09-28 12:47:22 +08:00
Heilig Benedek
21cd4c1431
Added documentation about the changes
2015-09-28 02:52:16 +02:00
Robo
fc7f4ae24b
session: api to emulate network conditions
2015-09-27 18:55:26 +05:30
Plusb Preco
7923e19553
Merge remote-tracking branch 'atom/master'
2015-09-27 22:20:51 +09:00
Plusb Preco
397fbeae28
Update example variable name prefix (atom to electron)
...
* Update variable name prefix as `atom` to `electron`
2015-09-27 22:20:35 +09:00
Haojian Wu
4a64d1d946
📝 fix a typo
...
interrputed => interrupted
2015-09-25 13:13:11 +08:00
Haojian Wu
01f0643142
Fix inconsistent docs: downloadItem.getURL() => downloadItem.getUrl()
2015-09-25 09:34:04 +08:00
Cheng Zhao
ecefd3540b
Merge pull request #2840 from atom/download-item
...
Add more download supports in Electron
2015-09-24 21:04:25 +08:00
Haojian Wu
1879392c7b
Reimplement downloadItem.getFilename API.
...
Previously, the suggested file name(Always 'empty') returned by
'download_item->GetSuggestedFilename' is not the same with the default one saved
in local disk.
The patch reimplement this API allowing it to return the default file name, which
is more expected from user.
2015-09-24 16:39:02 +08:00
Haojian Wu
0861d5d44b
Redefine 'will-download' design.
2015-09-24 16:04:44 +08:00
Cheng Zhao
142702866d
Merge pull request #2861 from deepak1556/ssl_version_config_patch
...
browser: switch to set minimum version for TLS fallback
2015-09-23 17:30:26 +08:00
Cheng Zhao
d8062ab9e1
docs: win.setMenu is not available on OS X
2015-09-23 11:45:51 +08:00
Robo
748b1387d2
browser: switch to set minimum version for TLS fallback
2015-09-23 09:10:36 +05:30
Cheng Zhao
6c8a9cb072
Merge pull request #2870 from atom/window-open-options
...
Pass options in "new-window" event
2015-09-23 00:06:50 +08:00
Cheng Zhao
7165aa5467
Merge pull request #2846 from alexsalas/patch-1
...
err undefined
2015-09-22 23:42:51 +08:00
Cheng Zhao
8bfa3cba63
docs: The options parameter of new-window event
2015-09-22 23:41:08 +08:00
Cheng Zhao
e499bb14de
docs: Mention window.open inherits options
2015-09-22 22:46:44 +08:00
Cheng Zhao
9cbdde2eba
docs: allowpopups attribute
2015-09-22 20:13:49 +08:00
Cheng Zhao
008af00044
Merge pull request #2852 from deepak1556/web_frame_scheme_api_patch
...
webframe: api to register scheme as privileged
2015-09-22 09:59:24 +08:00
Robo
325feca864
webframe: api to register scheme as privileged
2015-09-21 22:59:59 +05:30
Gohy Leandre
477103191f
Add http_response_code, method, referrer, response_headers to did-get-redirect-request event.
2015-09-21 09:51:58 +02:00
Haojian Wu
57bf0cb615
Refractor in completed
event in DownloadItem.
...
* Rename `completed` to `done`, making it align with Chromium's style.
* Add 'state' in `done` event's result. It can check the download item final
status: cancelled, completed, interrupted.
2015-09-21 14:00:38 +08:00