Commit Graph

40 Commits

Author SHA1 Message Date
Bogdan Radacina
0eb88e69d7 showOpenDialog returns string[]
The showOpenDialog() function returns string[] as per https://github.com/atom/electron/blob/master/docs/api/dialog.md
2016-01-07 20:19:49 +11:00
Horiuchi_H
eddede55bd Merge pull request #7459 from bradacina/master
Fix showSaveDialog method signature
2016-01-05 11:41:08 +09:00
bradacina
6f503d7925 Fix showSaveDialog method signature
showSaveDialog() filters have the same format as showOpenDialog() filters. It also returns a string containing the file name

As per:
https://github.com/atom/electron/blob/master/docs/api/dialog.md
2016-01-03 12:06:08 +11:00
hinamiyagk
0a25e19498 Add type definition for IPC Event on main process 2015-12-29 01:20:15 +09:00
Elisée
7e41f71ee1 github-electron: Add various missing interfaces 2015-12-27 14:04:45 +01:00
Masahiro Wakame
2e9d5db50e Merge pull request #7197 from chrootsu/node-events
node: signatures of module "events" have been changed
2015-12-23 17:15:14 +09:00
Masahiro Wakame
443b8255a5 Merge pull request #7184 from hinamiyagk/master
Add electron.hideInternalModules()
2015-12-23 15:29:47 +09:00
Ilya Mochalov
f8b59970de node: implementations of the interface "EventEmitter" in other modules have been fixed 2015-12-18 02:05:59 +05:00
hinamiyagk
3746eb3284 Fix wrong returning type of electron.hideInternalModules 2015-12-16 10:50:52 +09:00
Masahiro Wakame
933a5393f5 Merge pull request #7182 from paarthk/github-electron-webPreferences-optional
Made all entries in github-electron's WebPreferences interface optional
2015-12-16 00:29:37 +09:00
hinamiyagk
1bd11135c8 Add electron.hideInternalModules() 2015-12-14 12:09:18 +09:00
paarth
1cd9ab5ab0 Made all entries in WebPreferences interface optional, reflecting documentation 2015-12-13 16:50:08 -05:00
Elisée
07deed85ed Fix electron.nativeImage's type 2015-12-10 19:16:01 +01:00
Masahiro Wakame
465cefc2fd Merge pull request #7121 from rhysd/electron-v0.35
Electron v0.35
2015-12-10 23:54:10 +09:00
rhysd
6d32913dc5 github-electron: Update header 2015-12-10 23:17:19 +09:00
rhysd
9fbacecc6a github-electron: Define type of webPreferences property of BrowserWindowOptions
https://github.com/atom/electron/blob/master/docs/api/browser-window.md#new-browserwindowoptions
2015-12-10 00:59:39 +09:00
rhysd
8f6135b6a0 github-electron: Fix min-width style properties of BrowserWindowOptions to minWidth style
They were renamed at Electron v0.35 and previous names were deprecated.

https://github.com/atom/electron/blob/master/docs/api/browser-window.md#new-browserwindowoptions
2015-12-10 00:56:18 +09:00
rhysd
b10b59fe42 github-electron: Unite main process definitions and renderer process definitions
because currently github-electron-renderer.d.ts and
github-electron-main.d.ts can't be used with tsd.d.ts at the same
time.  tsd.d.ts includes both definition files.  So I unite them to
resolve it.
2015-12-10 00:44:14 +09:00
rhysd
cfa613956a github-electron: Remove all deprecated modules from definitions for main process
c5913c3149
2015-12-10 00:37:26 +09:00
rhysd
d5eca5e9a3 github-electron: Add 'electron' module for main process 2015-12-10 00:08:18 +09:00
rhysd
3b74f5ae2c github-electron: Add missing menu item option 'role' 2015-12-04 09:57:43 +09:00
Masahiro Wakame
34267a771c Merge pull request #6870 from progre/feature/github-electron-url-capitalize
Electron: Url to URL
2015-11-27 00:52:39 +09:00
progre
c9296d222f Url to URL 2015-11-21 16:35:44 +09:00
rhysd
addd482a5b github-electron: Add addWorkSpace() and removeWorkSpace to WebContents 2015-11-21 07:22:23 +09:00
rhysd
31bef5ed02 DevTools-related methods are moved from BrowserWindow to WebContents
DevTools-related methods are no longer defined in `BrowserWindow`.

https://github.com/atom/electron/blob/master/docs/api/browser-window.md

Instead, they are defined in `WebContents`.

https://github.com/atom/electron/blob/master/docs/api/web-contents.md
2015-11-21 07:22:14 +09:00
Masahiro Wakame
eb4877a5f8 Merge pull request #6561 from rhysd/github-electron/title-bar-style
github-electron: Added 'title-bar-style' option to BrowserWindowOptions
2015-11-02 23:53:18 +09:00
rhysd
fe9e124f69 Add 'title-bar-style' option to GitHubElectron.BrowserWindow
The documentation is below:

https://github.com/atom/electron/blob/master/docs/api/browser-window.md#new-browserwindowoptions
2015-11-01 21:29:43 +09:00
rhysd
9bd639eaf8 Add makeSingleInstance() API to 'app' module
Electron 0.34.1 introduced a new API `makeSingleInstance()`.

https://github.com/atom/electron/blob/master/docs/api/app.md#appmakesingleinstancecallback
2015-10-31 17:25:18 +09:00
Masahiro Wakame
7f07bd88d1 Merge pull request #5727 from rhysd/patch-2
Fixed parameter's type of Tray.setImage()
2015-09-09 02:51:31 +09:00
rhysd
978a94de72 Fix parameter's type of Tray.setImage()
`Tray.setImage()` can take `string` parameter the same as constructor of
`Tray`.
2015-09-08 18:57:31 +09:00
rhysd
b8e6260a19 Add missing optional parameter of WebContents.loadUrl() 2015-09-05 23:07:35 +09:00
Masahiro Wakame
8c8a631830 Merge pull request #5602 from rhysd/patch-1
Add BrowserWindow.isDevToolsOpened()
2015-09-03 01:53:51 +09:00
rhysd
54862b49b1 Add BrowserWindow.isDevToolsOpened()
https://github.com/atom/electron/blob/master/docs/api/browser-window.md#winisdevtoolsopened
2015-08-29 19:45:54 +09:00
rhysd
d34aa2d731 Added WebContents.print(), webContents.printToPDF() and aliases for BrowserWindow
Added definitions for below APIs.

- `WebContents.print([options])`

https://github.com/atom/electron/blob/master/docs/api/browser-window.md#webcontentsprintoptions

- `WebContents.printToPDF(options, callback)`

https://github.com/atom/electron/blob/master/docs/api/browser-window.md#webcontentsprinttopdfoptions-callback

- `BrowserWindow`'s aliases'

https://github.com/atom/electron/blob/master/docs/api/browser-window.md#browserwindowprintoptions
2015-08-17 16:49:39 +09:00
rhysd
3c596c097d Add GitHubElectron.App.getAppPath()
Electron v0.30.0 introduced it.

https://github.com/atom/electron/releases/tag/v0.30.0
2015-08-08 12:09:43 +09:00
Masahiro Wakame
0d4451a197 Merge pull request #5130 from arnarg/updating-electron
github-electron: Adding all available options to the BrowserWindowOptions interface
2015-08-04 00:08:52 +09:00
Gitgiddy
6e4441c8d4 Resolves #5090 2015-07-29 14:43:01 -04:00
Arnar Gauti Ingason
85ed51e0e3 Icon should allow NativeImage or string 2015-07-29 17:38:24 +00:00
Arnar Gauti Ingason
1f81058ceb Adding all available options to the BrowserWindowOptions interface 2015-07-29 17:23:39 +00:00
Jed Mao
f70b0da416 Add Electron definitions 2015-05-06 12:06:22 -05:00