Shelley Vohr
c278043511
chore: retry octokit calls several times on fail ( #18085 )
2019-05-02 15:08:45 -07:00
Electron Bot
5f28f89c9c
chore: bump chromium in DEPS to 84c40395c741fa24ccbd9fc2c5828e2e97472952 ( #18117 )
2019-05-02 12:49:54 -07:00
Shelley Vohr
55a7f92297
chore: convert more module and helper files from bind ( #18069 )
2019-05-02 08:32:33 -07:00
Milan Burda
2dd108e9c9
fix: fs.promises does not work with asar paths ( #18092 )
2019-05-02 21:06:01 +09:00
Milan Burda
9585818a90
chore: add clang-format and limited linting for Objective-C sources ( #18104 )
2019-05-02 21:05:37 +09:00
Milan Burda
8785e9007c
chore: add native_mate to lint:cpp ( #18100 )
2019-05-02 11:45:23 +09:00
Stewart Lord
d507ba68a7
fix: honor extensionId arg in chrome.runtime.connect ( #16998 )
...
The first argument to chrome.runtime.connect is extensionId, not connectInfo.
2019-05-02 11:42:04 +09:00
Samuel Attard
d4f5ebefe6
feat: allow setting of global fallback user agent ( #18016 )
...
* feat: allow setting of global fallback user agent
* spec: add tests for app.set/getUserAgentFallback
2019-05-01 16:34:42 -07:00
Sofia Nguy
649d7c0d9e
docs: update 6.0.0 release dates ( #17923 )
2019-05-01 16:11:46 -07:00
Jeremy Apthorp
3949f0bd50
refactor: convert crash reporter to gin ( #17952 )
2019-05-01 15:19:11 -07:00
bughit
493af7f84c
document the loadURL promise pre-attached rejection handler ( #18043 )
2019-05-01 14:04:21 -07:00
John Kleinschmidt
e736d04e7f
build: use https to download from GitHub for external binaries ( #17928 )
...
fixes #17926
2019-05-01 13:49:29 -07:00
Shelley Vohr
f316c8470c
chore: convert session base::Bind instances ( #18038 )
...
Convert instances of base::Bind to base::BindOnce and base::BindRepeating as applicable in the session module as well as in Autofill popups.
2019-05-01 13:45:08 -07:00
Electron Bot
61effac72a
chore: bump chromium to c75fbfd03652 (master) ( #18090 )
...
https://chromium-review.googlesource.com/c/chromium/src/+/1532361
2019-05-01 13:42:49 -07:00
Jeremy Apthorp
dd3913fada
refactor: convert powerSaveBlocker to gin ( #18073 )
2019-05-01 13:24:01 -07:00
Samuel Attard
913bd4c832
fix: correctly parse default_app path on windows ( #18086 )
2019-05-01 13:00:09 -07:00
Samuel Attard
496d796833
build: free up space before running macos ci ( #18083 )
...
* build: free up space before running macos ci
* build: also delete 14GB of src/.git for bonus space
2019-05-01 12:31:01 -07:00
Milan Burda
1abe658ef4
chore: clang-format ( #18088 )
...
* chore: clang-format
* chore: remove obsolete native_mate_files.gypi
2019-05-01 12:27:55 -07:00
Milan Burda
d2cebc62d1
docs: fix webContents 'new-window' event handler sample ( #18067 )
2019-05-01 10:49:42 -07:00
Milan Burda
b333ce2628
docs: remove incorrectly added let for the win variable ( #18052 )
2019-05-01 10:45:58 -07:00
Shelley Vohr
5ed11aa1f3
docs: remove obsolete releasing document ( #18072 )
2019-05-01 09:14:14 -07:00
Milan Burda
6f5c850d60
refactor: add emitCustomEvent() helper ( #17960 )
2019-05-01 09:07:57 -04:00
Samuel Attard
aebad6fd21
test: remove stray console.log for test suite ( #18078 )
2019-04-30 17:56:20 -07:00
Electron Bot
2616911f7a
chore: bump chromium to 7dff37844cb3 (master) ( #18059 )
2019-04-30 17:18:22 -07:00
Shelley Vohr
00358545a9
fix: explicitly focus window on win.show() ( #18046 )
2019-04-30 16:43:45 -07:00
Samuel Attard
67b3fbca89
fix: ensure the inspector agent is shutdown before cleaning up the node env ( #18028 )
...
* fix: ensure the inspector agent is shutdown before cleaning up the node env
* spec: add tests to ensure clean shutdown with connected inspector agent
* Update node_debugger.cc
2019-04-30 15:44:40 -07:00
Samuel Attard
4e5a0946c7
build: fix master build by updating the yarn.lock after race merge ( #18074 )
2019-04-30 15:42:09 -07:00
Jeremy Apthorp
24bf2c29e4
refactor: session.{clearCache,getCacheSize} nws13n ( #17969 )
2019-04-30 15:09:17 -07:00
Samuel Attard
98c51dd660
build: ensure consistent lock files across multiple machines ( #17955 )
...
* build: ensure consistent package-lock across multiple machines
* build: fix linting errors and use npm ci instead of npm install
* build: use a yarn.lock and yarn instead of package-lock and npm
* chore: replace package-lock.json files with yarn.lock
* chore: replace last instance of `npm install`
2019-04-30 13:59:47 -07:00
Shelley Vohr
8d83518f9a
refactor: make name a prop on app ( #17701 )
...
Update app.name to be a property on app.
2019-04-30 13:55:33 -07:00
Samuel Attard
f2d41b7812
build: fix issues for stable release we fixed in 5-0-x ( #18064 )
...
* build: fix release notes generation
* build: fix bump-version script for stable releases
2019-04-30 11:36:39 -07:00
Milan Burda
fcf0af15de
feat: support ELECTRON_DEFAULT_ERROR_MODE in the GPU process ( #17728 )
2019-04-30 12:45:48 -04:00
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
Jeremy Apthorp
fdf5f838f4
refactor: native_mate => gin (cookies API) ( #18036 )
...
* convert cookie converters to gin
* event_emitter GetWrapper
2019-04-30 06:45:05 -07:00
Milan Burda
e9d88e965e
chore: disable Vulkan validation layers ( #17985 )
2019-04-30 06:41:59 -07:00
Cheng Zhao
277f93653e
feat: migrate protocol module to NetworkService (Part 3) ( #18030 )
...
* Implement http protocol handler
* File protocol handler also accepts options
* Http protocol should inherit headers by default
* Only inherit necessary headers
* Slightly reorder logics
2019-04-30 09:47:04 +09:00
Shelley Vohr
7b55ee9d36
refactor: allow requiring modules with no side effects ( #17496 )
2019-04-30 09:46:08 +09:00
Shelley Vohr
4ee201c56e
chore: convert View APIs away from base::Bind ( #18035 )
2019-04-30 09:40:39 +09:00
Samuel Attard
4a3771ff7f
build: add support for Electron trace events ( #17920 )
2019-04-29 15:28:30 -07:00
pathim
cc1e8ecef6
docs: Correct doc for registerFileProtocol ( #18022 )
...
In the registerFileProtocol docs the "headers" argument of the callback was described as being a list. In fact is has to be an Object mapping header-entries to values. This can be seen in Line 326 of `/spec/api-protocol-spec.js` [fe618631f1/spec/api-protocol-spec.js (L326)
].
2019-04-29 15:26:55 -07:00
Milan Burda
2fd3029040
docs: update nodeIntegration section for new defaults ( #17715 )
2019-04-29 14:29:27 -07:00
Samuel Attard
77a4946069
refactor: rewire the desktop capturer API to remove race conditions ( #18029 )
...
We now create a new instance of atom::api::DesktopCapturer for every
request instead of weirdly re-using the same instance and queuing
requests. This means there is now a 1:1 relationship between request
and DesktopCapturer so there isn't a race condition between the observer
for one request calling back before the observer of another. This is an
issue ever since the backing APIs moved to worker threads.
This also does a few things to ensure memory management
* Only ever listen to one event per-request, after that we wipe the emit
function to ignore all future events
* Ensures we clean up the window_capturer_, screen_capturer_ and
captured_sources_ in native land once the request is over.
This _in theory_ fixes a flake we've been seeing on CI where we try to
resolve the promise for a request that no longerr exists.
2019-04-29 13:21:28 -07:00
Shelley Vohr
8b79776b5e
chore: disable release notes GH Action ( #18039 )
2019-04-29 13:03:59 -07:00
Milan Burda
9714a91392
refactor: use fs.promises API, which is stable since Node 12 ( #17999 )
2019-04-29 11:18:03 -07:00
Milan Burda
7574f91f31
refactor: natively promisify WebContents.prototype.takeHeapSnapshot ( #18000 )
2019-04-29 10:11:11 -07:00
Milan Burda
18b77a4de6
chore: rename atom-binding-setup.ts to electron-binding-setup.ts ( #17949 )
2019-04-29 10:57:32 -04:00
Cheng Zhao
6f83977f47
feat: migrate protocol module to NetworkService (Part 2) ( #17965 )
...
* Pass protocol type and handler to factory
* Add converter for network::ResourceRequest
* Implement Buffer and String protocol handler
* Implement file protocol
2019-04-29 11:37:45 +09:00
Shelley Vohr
fe618631f1
chore: convert some more files from base::Bind ( #17968 )
2019-04-28 10:03:06 +09:00
Shelley Vohr
72baff1c88
chore: add base workflow file ( #18006 )
2019-04-27 17:53:08 -07:00
Shelley Vohr
e7ef374899
chore: update base::Bind in app module ( #17925 )
...
* chore: update base::Bind in app module
* fix lint
2019-04-26 21:42:56 -07:00