Jeremy Apthorp
2adbc7836b
refactor: prevent node macros from overriding base ( #17178 )
2019-03-01 10:04:30 -08:00
Felix Rieseberg
59a7fa6927
refactor: Port api/web-frame to TypeScript ( #17053 )
2019-03-01 08:39:04 +00:00
Milan Burda
676c02611d
spec: add missing checks to "validates process APIs access in sandboxed renderer" ( #17129 )
2019-02-28 22:24:18 -08:00
Jeremy Apthorp
67f04c0370
docs: remove dead link to chromiumdev slack ( #17161 )
...
* docs: remove dead link to chromiumdev slack
Closes #17154
* Update chromium-development.md
2019-02-28 16:43:55 -05:00
Shelley Vohr
544d8a423c
feat: allow MenuItems to work optionally when hidden ( #16853 )
...
* feat: allow MenuItems to work optionally when hidden
* fix: actually include forward_declaration
2019-02-28 17:00:54 +00:00
Linda_pp
6d55498cc7
docs: Fix types and missing property in WebRequest APIs ( #17046 )
...
* docs: Fixed hook methods of WebRequest accepts null as listener
* docs: Added missing `referrer` property in OnBeforeRequestDetails
* docs: Add `referrer` to each webRequest responses
2019-02-28 09:30:38 +00:00
Milan Burda
64078324bf
refactor: make CHROME_GET_MESSAGES handler async ( #17148 )
2019-02-27 21:30:35 -06:00
Nitish Sakhawalkar
bfa07ec4be
feat: Add new powerMonitor synchronous API ( #17144 )
...
`powerMonitor.querySystemIdleState` and `powerMonitor.querySystemIdleTime` had async backing APIs in chromium (https://chromium-review.googlesource.com/c/chromium/src/+/1379183 ). However, that has changed in ch73. So, this PR deprecates the old async APIs and adds new sync APIs.
2019-02-27 15:54:01 -05:00
Jeremy Apthorp
29ab74688d
chore: update CODEOWNERS to reflect governance ( #17143 )
...
* chore: update CODEOWNERS to reflect governance
* Add /patches/ @electron/wg-upgrades
* Update CODEOWNERS
2019-02-27 15:17:35 -05:00
qwabra
d4cfaaf047
Update debugging-main-process-vscode.md ( #16363 )
...
[console.log() not printing to terminal when debugging Electron apps. #49 ](https://github.com/Microsoft/vscode-recipes/issues/49#issuecomment-354367330 )
2019-02-27 15:03:15 -05:00
Nitish Sakhawalkar
5da89c3a2b
chore:Remove transparency hack ( #17128 )
...
This change undoes the hack that was put in because of a bug in chromium. That has since been fixed in chromium, so this is no longer need, hence removing.
The 'BrowserWindow' > 'preserves transparency' test, validates this working.
2019-02-27 14:51:30 -05:00
Samuel Attard
e01c3615c4
chore: replace usage of deprecated beginSheetModalForWindow API ( #16994 )
2019-02-27 10:23:17 -08:00
Luca Carettoni
1bbb47be5b
docs: Improved security doc, particularly around isolation and tool ( #16703 )
...
* Improved security doc, particularly around isolation and tool
* Fixes as suggested by @ckerr
* libcc update
* fixing lint stuff
2019-02-27 10:09:38 -08:00
Electron Bot
a07cb2afd7
Bump v6.0.0-nightly.20190227
2019-02-27 09:55:19 -08:00
Roller Bot
4e25dc3c3c
chore: bump chromium in DEPS to 73.0.3683.58 ( #17156 )
2019-02-27 09:48:08 -08:00
Shelley Vohr
5ecda17c7a
refactor: make shell.ShowItemInFolder asynchronous ( #17121 )
...
* fix: add scoped_blocking_calls to platform_win
https://chromium-review.googlesource.com/c/chromium/src/+/1191582
* feat: make ShowItemInFolder async
* address feedback from review
* fix build
2019-02-27 12:58:23 +00: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
Johann Fuechsl
42aa375497
fix: access of out-of-scope reference in ShowOpenDialog and ShowSaveDialog ( #17126 )
...
In the mac file dialog implementation of show*OpenDialog, a settings
object is passed down to the dialog completion handler.
However at the time the completion handler is invoked, the settings
object is already out-of-scope, resulting in an invalid access to
the security_scoped_bookmarks flag.
The fix is to capture the value of the flag and passing that directly
to the completion handler.
fixes issue #16664
2019-02-27 08:14:04 +00:00
Milan Burda
5a99ea4c46
refactor: merge ipcMainUtils.handle / handleSync ( #17062 )
2019-02-26 15:48:26 -08:00
Electron Bot
848d16525f
Revert "Bump v6.0.0-nightly.20190226"
...
This reverts commit 7c78f11b82
.
2019-02-26 15:20:32 -08:00
Electron Bot
7c78f11b82
Bump v6.0.0-nightly.20190226
2019-02-26 14:56:19 -08:00
Robo
28899c3885
chore: roll chromium 73.0.3683.54 ( #17124 )
...
* chore: roll chromium 73.0.3683.52
* chore: roll 73.0.3683.54
2019-02-26 21:35:27 +00:00
Shelley Vohr
be8f9bd597
chore: clean up issue templates ( #17085 )
...
* chore: clean up issue templates
* address feedback from review
* cleanup
2019-02-26 17:51:29 +09:00
Shelley Vohr
d9c7735a04
chore: augment promisifyMultiArg deprecation ( #17066 )
2019-02-25 18:25:25 -08:00
Mark Lee
7a7389ab1c
build: upgrade to asar@^1.0.0 ( #17061 )
...
* build: upgrade asar to ^1.0.0
This is to remove a transitive security vulnerability.
The API changed from callbacks to Promises, so `script/gn-asar.js`
needed to be changed.
* build: add klaw to package.json
`klaw` is used in `script/lint.js`, but it was a transitive dependency.
* build: add fs-extra to package.json
`fs-extra` is used in `script/gn-asar.js`, but it was a transitive
dependency.
2019-02-25 18:25:00 -08:00
Vlad Hashimoto
30213089ae
docs: allow webRequest listener to passing null ( #17006 )
2019-02-25 18:13:00 -08:00
Gavin Wang
391f6dd663
docs: add sample code for contents.insertCSS() ( #16959 )
...
it not work before Event: 'did-finish-load', so add this sample code to show it.
2019-02-25 18:10:56 -08:00
Felix Rieseberg
7f007109c3
refactor: Port inspector to TypeScript ( #16943 )
...
* refactor: Port inspector to TypeScript
* refactor: Add another type to inspector
* refactor: Use correct paths
* Update lib/renderer/inspector.ts
Co-Authored-By: felixrieseberg <felix@felixrieseberg.com>
* refactor: Implement feedback <3
* refactor: Don't define blob at all
* fix: Correct type
2019-02-25 18:10:25 -08:00
Robo
ddcebb096f
fix: use frame tree api to remove <webview> frame ( #16501 )
...
Replaces the usage of testing api added in
03d499bf34
2019-02-25 17:47:29 -08:00
Shazron Abdullah
6da939629b
fix: respect the user's active app focus ( #16400 )
...
* Respect the user's active app
Apple recommends not setting this to true. https://developer.apple.com/documentation/appkit/nsapplication/1428468-activateignoringotherapps?language=objc
* Remove atom_bundle_mover.mm change for [NSApp activateIgnoringOtherApps:]
2019-02-25 17:44:38 -08:00
Milan Burda
5e762d6a47
chore: finalize dropping support for OS X Mavericks (version 10.9) ( #17102 )
2019-02-25 17:21:57 +00:00
Sindre Sorhus
df5305d6a7
docs: fix MenuItem windowMenu
role description ( #17065 )
...
It was changed in https://github.com/electron/electron/pull/15930
2019-02-25 13:34:32 +00:00
Thomas Beverley
1674388028
Fix webContents.print() ( #17052 )
2019-02-25 13:30:21 +00:00
Roller Bot
944cdb4430
chore: bump chromium in DEPS to 73.0.3683.49 ( #17095 )
2019-02-22 17:17:02 -08:00
Jeremy Apthorp
28b150f6dc
test: fix race condition in debugger spec ( #17091 )
2019-02-22 16:45:48 -08:00
Roller Bot
5be93566ee
chore: bump chromium in DEPS to 73.0.3683.48 ( #17083 )
2019-02-21 09:52:08 -08:00
Cheng Zhao
32a4de4a68
chore: make util::Promise a move-only type ( #17071 )
2019-02-21 12:32:44 +00:00
ZYSzys
a40d826b11
chore: remove unused catch bindings ( #16121 )
2019-02-21 09:26:07 +00:00
Roller Bot
08f7d60da4
chore: bump chromium in DEPS to 73.0.3683.47 ( #17068 )
2019-02-20 10:18:43 -08:00
Shelley Vohr
3edc497d3d
feat: show user gesture type in click event ( #16954 )
2019-02-20 12:20:24 +00:00
Shelley Vohr
cc5ed24e23
chore: properly template the Then promise helper ( #17050 )
2019-02-19 21:46:59 +00:00
Roller Bot
0a730e61f5
chore: bump chromium in DEPS to 73.0.3683.45 ( #17048 )
2019-02-19 13:42:32 -08:00
Felix Rieseberg
91f81b4b72
refactor: Port renderer/init to TypeScript ( #17027 )
...
* refactor: Port renderer/init to TypeScript
* Update lib/renderer/init.ts
Co-Authored-By: felixrieseberg <felix@felixrieseberg.com>
* refactor: Type this a bit more loosely
* refactor: Type parseOption strictly
2019-02-19 17:05:14 +00:00
Felix Rieseberg
2223114f20
refactor: Port chrome-api to TypeScript ( #17014 )
2019-02-19 13:09:44 +00:00
Milan Burda
7e7abc28f5
feat: promisify netLog.stopLogging ( #16862 )
2019-02-19 10:48:27 +00:00
Samuel Attard
3b74837020
refactor: Split 'Event' docs/types into more specific Event types ( #17038 )
...
* Event = Base event type (with preventDefault)
* IpcMainEvent = Event that ipcMain emits (with sender, reply, etc.)
* IpcRendererEvent = Event that ipcRenderer emits (with sender,
senderId, etc.)
* KeyboardEvent = Event that we emit with keyboard flags (ctrlKey,
altKey, etc.)
This will dramatically improve peoples TS experience with IPC events
2019-02-19 09:24:19 +00:00
Shelley Vohr
ef2e7d95fe
chore: add Then helper for native promises ( #16978 )
2019-02-18 14:25:28 +00:00
Milan Burda
a04d9ef35b
feat: add process.getSystemVersion() ( #16599 )
2019-02-18 12:59:48 +00:00
Felix Rieseberg
eaa0e28396
refactor: Port content-scripts-injector to TypeScript ( #17012 )
2019-02-18 12:47:07 +00:00
John Kleinschmidt
35c3a7e130
build: make torque patch more specific for native arm builds ( #16992 )
...
* build: make torque patch more specific
the v8_generator_toolchain should only be overriden if the snapshot toolchain is a native arm or arm64 toolchain
* Only test native mksnapshot on arm64
* Put environment variable in container
2019-02-18 10:02:50 +00:00