Commit Graph

68 Commits

Author SHA1 Message Date
rhysd
2a9dadf70a github-electron: add missing remote.getCurrentWebContents()
API document is here:

https://github.com/atom/electron/blob/master/docs/api/remote.md#remotegetcurrentwebcontents
2016-03-11 10:14:19 +09:00
Masahiro Wakame
89ecfc3622 Merge pull request #8412 from rhysd/patch-4
github-electron: Improve executeJavaScript API following Electron v0.36.10 and compliant fixes
2016-03-10 22:46:16 +09:00
rhysd
5ad54b3e0b compliant fixes for errors by --target es6 2016-03-06 18:37:24 +09:00
rhysd
7f4a8573fa update executeJavaScript() API following Electron 0.36.10 2016-03-06 18:32:09 +09:00
m.sakamaki
88cc695e1f modified of code review 2016-02-29 11:24:12 +09:00
m.sakamaki
da016154e6 indent style equal tab 2016-02-27 15:32:12 +09:00
m.sakamaki
9cee9901e4 Add type definition for autoUpdater.quitAndInstall() to github-electron 2016-02-27 15:18:53 +09:00
Ilya Mochalov
abc2bcfb85 node: improved EventEmitter's definition with this-typing 2016-02-25 02:10:08 +05:00
Josh Olson
ecf4bb3346 Add WebContents.inspectElement to github-electron
See https://github.com/atom/electron/blob/master/docs/api/web-contents.md#webcontentsinspectelementx-y
2016-02-11 01:03:09 -06:00
Masahiro Wakame
04be44e2b5 Merge pull request #7604 from romgrk/patch-1
Update github-electron.d.ts
2016-02-06 23:33:34 +09:00
rhysd
e5fc615482 github-electron: Add app.dock.setIcon() API
https://github.com/atom/electron/blob/master/docs/api/app.md#appdockseticonimage-os-x
2016-01-30 02:11:56 +09:00
rhysd
ce480b5fc3 github-electron: Fix type of 'dock' member of 'app' 2016-01-30 02:07:30 +09:00
Horiuchi_H
c4826e748d Merge pull request #7765 from elisee/patch-2
github-electron: Add app.getLocale()
2016-01-26 11:22:02 +09:00
Elisée Maurer
014238e73c github-electron: Add test for app.getLocale() 2016-01-25 13:01:52 +01:00
Masahiro Wakame
97abb50d2e Merge pull request #7689 from hinamiyagk/crashreporter-start-option
Make companyName and submitURL option required on crashReporter.start
2016-01-25 11:41:15 +09:00
Elisée Maurer
9112b90712 github-electron: Add app.getLocale() 2016-01-24 22:08:58 +01:00
Rom Grk
fa051132c8 Update github-electron.d.ts
module GithubElectron > Electron

remove duplicate backgroundColor
2016-01-23 18:03:31 -05:00
Rom Grk
3556e7e896 Update github-electron.d.ts
BrowserWindowOptions, WebPreferences, from the doc:
https://github.com/atom/electron/blob/master/docs/api/browser-window.md
Version is now 0.36.3

Update github-electron.d.ts

fix: code style
update with:
8433d94cac
5567baf335
2016-01-23 17:31:47 -05:00
hinamiyagk
8e0f150890 Make CrashReporterStartOptions.extra have only string properties 2016-01-23 15:01:48 +09:00
Masahiro Wakame
1365d43489 Merge pull request #7509 from bpasero/electron-updates
Updates to Electron
2016-01-22 18:07:17 +09:00
hinamiyagk
95b13ce5e2 Make companyName and submitURL option required on crashReporter.start 2016-01-19 18:32:57 +09:00
Bogdan Radacina
77669f3150 Add showOpenDialog tests for both call variants 2016-01-08 09:07:05 +11:00
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
Benjamin Pasero
38fddea3d4 updates as discussed 2016-01-07 08:45:52 +01:00
Benjamin Pasero
d885128900 updates from adopting for vscode 2016-01-06 16:32:56 +01: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
9e2e3b7b9c github-electron: Remove deprecated modules from definitions for renderer process
c5913c3149
2015-12-10 00:37:27 +09:00
rhysd
c073d5b052 github-electron: Add 'electron' module for renderer process 2015-12-10 00:37:26 +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