Shelley Vohr
|
d87b3ead76
|
chore: remove promisification deprecation callbacks (#17907)
* chore: remove promisification deprecation callbacks
* update docs
* fix smoke test
* fix executejs issue
* cleanup leftovers
* fix webContents.executeJavaScript tests
* cleanup WebContents.prototype.takeHeapSnapshot
* fix "sets arbitrary webContents as devtools" test
* fix executeJavaScriptInFrame related tests
|
2019-04-30 07:08:32 -07:00 |
|
Milan Burda
|
06a4594435
|
chore: remove special handling for dialog methods in remote module (#17412)
* chore: remove special handling for dialog methods in remote module
* refactor: remove callFunction helper
|
2019-03-19 11:59:33 -07:00 |
|
Shelley Vohr
|
38d75010c7
|
chore: rename atomBinding to electronBinding (#17419)
|
2019-03-18 12:37:06 -07:00 |
|
Shelley Vohr
|
f09f43a4a9
|
chore: remove unused arg parsing code in dialog (#17420)
|
2019-03-18 07:58:03 -07:00 |
|
Shelley Vohr
|
961c9a88a8
|
feat: promisify dialog.showCertificateTrustDialog() (#17181)
* feat: promisify dialog.showCertificateTrustDialog()
* update promisification doc
|
2019-03-15 09:02:50 +09:00 |
|
Shelley Vohr
|
8991c0056e
|
feat: promisify dialog.showMessageBox() (#17298)
* feat: promisify dialog.showMessageBox()
* address feedback from review
|
2019-03-12 11:06:59 -07:00 |
|
Shelley Vohr
|
6cb7b8d3a4
|
feat: promisify dialog.showSaveDialog() (#17054)
* feat: promisify dialog.showSaveDialog()
* address some feedback from review
* filename => filePath
* fix last filename => filePath
|
2019-03-05 13:48:20 -08:00 |
|
Shelley Vohr
|
e05985145b
|
feat: promisify dialog.showOpenDialog() (#16973)
* feat: promisify dialog.showOpenDialog()
* address feedback from review
* address feedback from review
|
2019-03-05 05:54:48 -08:00 |
|
Samuel Attard
|
08066581b0
|
fix: set cancelId to 1 when defaultId == 0 and no 'cancel' button (#17123)
|
2019-02-27 08:24:13 +00:00 |
|
Milan Burda
|
3ad3ade828
|
refactor: add prefer-const to .eslintrc + fix errors (#14880)
|
2018-10-02 11:56:31 +10:00 |
|
Samuel Attard
|
558fff69e7
|
chore: update to standard 12
|
2018-09-14 14:57:01 +10:00 |
|
acheronfail
|
d1d50a4c92
|
Implement App-Scoped Security scoped bookmarks (#11711)
* implementation of security scoped bookmarks
* option is now only available on mas builds
|
2018-02-12 13:25:06 -05:00 |
|
Shubham
|
b25a1d10a2
|
🍎 Add treatPackageasDirectory as an option
|
2017-07-18 10:13:25 -07:00 |
|
Kevin Sawicki
|
2e32525e8f
|
Make browser window optional
|
2017-04-04 10:49:10 -07:00 |
|
joshaber
|
2749ded062
|
Fix c&p error
|
2017-04-04 11:45:27 -04:00 |
|
joshaber
|
e2bda3ca0f
|
Use an options object for most of the params
|
2017-04-03 21:33:21 -04:00 |
|
joshaber
|
0b7ffd094a
|
Expose through the actual JS API too
|
2017-04-03 15:25:06 -04:00 |
|
Samuel Attard
|
17fe5efa13
|
Fix linting
|
2017-02-13 08:23:53 -08:00 |
|
Samuel Attard
|
e45d8079b8
|
Add support for a noResolveAliases property
|
2017-02-13 08:23:53 -08:00 |
|
Kevin Sawicki
|
5130ad24eb
|
🎨
|
2017-02-09 11:30:17 -08:00 |
|
Kevin Sawicki
|
f7f4de36af
|
Merge remote-tracking branch 'origin/master' into macos-open-save-panel
|
2017-02-09 11:25:05 -08:00 |
|
Kevin Sawicki
|
867bb5a94e
|
Add DialogSettings helper struct
|
2017-02-09 10:13:11 -08:00 |
|
Birunthan Mohanathas
|
c8c11e68c6
|
Add support for checkbox with dialog.showMessageBox
This adds the `checkboxLabel` and `checkboxChecked` options to display a
checkbox in the message box. Fixes #6048.
|
2017-02-09 09:03:54 -08:00 |
|
Tan Wang Leng
|
347dc835b5
|
Fix code formatting
|
2017-02-09 21:51:11 +08:00 |
|
Tan Wang Leng
|
9423143211
|
Change the default value of showsTagField to true
The default value of showsTagField in macOS's NSSavePanel is true.
Therefore, in order to follow the standard behavior and not break
backwards-compatibility, let's change the default value of
showsTagField to true.
Reference:
https://developer.apple.com/reference/appkit/nssavepanel/1525589-showstagfield?language=objc
|
2017-02-09 21:01:40 +08:00 |
|
Tan Wang Leng
|
36209ddd90
|
🍎 Add additional options for Mac's open dialog
Support an additional attributes available in macOS's NSOpenPanel:
message.
|
2017-02-09 20:10:57 +08:00 |
|
Tan Wang Leng
|
1d612a12a1
|
🍎 Add additional options for Mac's save dialog
Support additional attributes available in macOS's NSSavePanel: message,
nameFieldLabel and showsTagField
|
2017-02-09 20:10:57 +08:00 |
|
Kevin Sawicki
|
9fef6a1fd7
|
Add support for FOS_CREATEPROMPT option
|
2017-02-02 08:51:10 -08:00 |
|
Kevin Sawicki
|
5f862effaa
|
Access directly on options object
|
2017-01-06 09:17:32 -08:00 |
|
Kevin Sawicki
|
eb533e04b9
|
Add option to normalize dialog access keys
|
2017-01-06 08:56:24 -08:00 |
|
Kevin Sawicki
|
2bd8ef83d1
|
Use != null to handle undefined
|
2016-12-12 16:25:56 -08:00 |
|
Daniel Pham
|
4b53cd9c3c
|
🐛 Allow buttons to be optional in 'showMessageBox'
|
2016-12-12 13:25:32 -05:00 |
|
Kevin Sawicki
|
07f99c06ea
|
Don't write back to passed in options object
|
2016-12-01 17:16:18 -08:00 |
|
Kevin Sawicki
|
c8ff67ab75
|
Use spread syntax instead of function apply
|
2016-12-01 14:56:00 -08:00 |
|
Kevin Sawicki
|
36371357cd
|
buttonLabel -> Button label for consistency
|
2016-12-01 14:16:33 -08:00 |
|
Cheng Zhao
|
f08ac07737
|
mac: Add showHiddenFiles property for showOpenDialog
|
2016-07-11 13:30:18 +09:00 |
|
Cheng Zhao
|
ecbb088ea6
|
Merge pull request #5542 from stevekinney/standardize-requires
Standardize requires
|
2016-05-16 10:42:12 +09:00 |
|
Steve Kinney
|
0d3d097ce8
|
💄 Standarize requires in JavaScript API
|
2016-05-15 09:41:30 -04:00 |
|
Ben Gotow
|
84cce6c2c1
|
Don't default to "Open", "Save", just let OS decide
|
2016-05-15 01:03:32 -05:00 |
|
Ben Gotow
|
40c531737d
|
Add buttonLabel param to showOpen/showSave dialogs
|
2016-05-15 01:03:32 -05:00 |
|
Steve Kinney
|
91220f2a98
|
💄 Simplify conditional check for BrowserWindow
|
2016-05-07 09:13:40 -06:00 |
|
Steve Kinney
|
f3e633eb2c
|
💄 Use destructuring to shift arguments
|
2016-05-07 08:55:26 -06:00 |
|
Steve Kinney
|
6708e2a302
|
💄 Cache last argument in parseArgs
This is to eliminate the need to access the array twice.
|
2016-05-07 08:52:52 -06:00 |
|
Kevin Sawicki
|
400efa1b7d
|
Fallback to using the last argument as the callback
|
2016-04-01 12:54:06 -07:00 |
|
Zeke Sikelianos
|
4794385fac
|
first pass at standardizing; suite still passing!
|
2016-03-30 17:00:30 -07:00 |
|
Sergey Bekrin
|
4ac08870d0
|
Tweak error messages for dialog API
|
2016-03-30 23:07:13 +03:00 |
|
Sergey Bekrin
|
7f78781800
|
Improve error reporting when using invalid argument types for dialog API methods
|
2016-03-23 10:44:11 +03:00 |
|
Kevin Sawicki
|
43746727aa
|
Use direct params instead of rest params
|
2016-03-22 13:11:42 -07:00 |
|
Kevin Sawicki
|
8889c29866
|
Use rest parameters
|
2016-03-18 11:51:02 -07:00 |
|
Kevin Sawicki
|
70aa9b06ee
|
Move JavaScript to root lib/ folder
|
2016-03-08 11:14:21 -08:00 |
|