Cheng Zhao
998f17ee59
fix: make protocol wrapper remote-friendly again ( #27009 )
2020-12-16 16:56:53 +09:00
Jeremy Rose
cbe751d349
fix: NativeImage.getScaleFactors returns correct scales ( #25832 )
...
* fix: NativeImage.getScaleFactors returns correct scales
* fix tests
2020-10-13 10:59:18 +09:00
Milan Burda
508b8d902b
chore: move remote module fixtures for easier deletion when removed ( #25736 )
2020-10-05 10:22:35 +09:00
Shelley Vohr
77038b7bda
chore: upgrade to Node.js v14.9.0 ( #25249 )
2020-09-17 16:08:57 -06:00
Milan Burda
c6db47182a
test: make sure tests fail properly instead of timing out ( #24316 )
2020-07-01 00:10:36 +02:00
Shelley Vohr
659e79fc08
refactor: prevent consistent early exception ( #24191 )
...
* refactor: prevent consistent early exception
* Use _linkedBinding where possible
* Remove dead electronBinding
2020-06-22 20:32:45 -07:00
Jeremy Rose
178e46cd23
test: add test for gc race in remote ( #24087 )
2020-06-12 14:19:20 -07:00
Shelley Vohr
e8ea007104
fix: ensure nativeImage serialization main->renderer ( #23759 )
2020-05-28 09:43:15 -07:00
Shelley Vohr
4b23a85475
refactor: correctly serialize nativeImage/buffer with typeUtils ( #23666 )
...
* refactor: correctly serialize nativeImage/buffer with typeUtils
* test: add serialization specs
* fix: construct from dataURL
* test: test for dataURL specificity
2020-05-20 13:42:42 -07:00
Shelley Vohr
ee0f67d541
fix: nativeImage remote serialization ( #23543 )
...
We weren't serializing nativeImages properly in the remote module, leading to gin conversion errors when trying to, for example, create a new context menu in the renderer with icons using nativeImage. This fixes that by adding a new special case to handle them.
2020-05-18 09:29:24 -07:00
Samuel Attard
0d2e967960
feat: expose electron/{process} typed modules ( #22937 )
...
* feat: expose electron/{process} typed modules
* chore: update imports for common modules
* chore: update typescript generator
* chore: remap electron/* to the internal packages
2020-04-06 17:04:09 -07:00
Jeremy Apthorp
b327478cf0
fix: prevent remote from messing with constructor names ( #22820 )
2020-03-25 13:13:10 -07:00
Samuel Attard
5d657dece4
build: enable JS semicolons ( #22783 )
2020-03-20 13:28:31 -07:00
Samuel Attard
b87b501161
build: update eslint + eslint plugins ( #22777 )
...
* build: run eslint --fix
* chore: manually fix all hasOwnProperty errors
* chore: manually fix all void 0 vs undefined errors
* chore: manually fix all async-in-promise errors
* chore: manually fix lexical declaration in case block
2020-03-20 11:12:18 -04:00
Samuel Attard
7b7def7d1e
feat: set app.enableRendererProcessReuse to true by default ( #22336 )
...
* feat: set app.enableRendererProcessReuse to true by default
* chore: add context aware info to breaking changes doc
* spec: fix nodeIntegration in child windows test for rendererprocessreuse
* spec: fix remote listeners in destroyed renderers spec as the error is now async
* Update api-browser-window-spec.ts
* chore: deprecate affinity
* chore: fix docs
* spec: handle tests crashing without an exist code
* spec: update tests for new rendererprocessreuse default
* spec: with renderer process re-use we get to destroy less views
2020-02-24 18:11:06 -08:00
Jeremy Apthorp
b77f701aeb
feat: disable the remote module by default ( #22091 )
2020-02-10 10:49:09 -08:00
Jeremy Apthorp
1cac62f0a2
feat: remove deprecated base::Value-based serialization ( #21560 )
...
* feat: remove deprecated base::Value-based serialization
* add note to breaking-changes
2019-12-18 15:24:50 +09:00
Jeremy Apthorp
7f6b308bf1
test: move remote specs to main process ( #21387 )
2019-12-09 10:27:30 -08:00
Jeremy Apthorp
26ecf63ab4
test: remove a bunch of usage of the remote module ( #21119 )
2019-11-14 14:09:03 -08:00
Jeremy Apthorp
ecd9e1f26e
chore: lint spec-main ( #20835 )
2019-11-01 13:37:02 -07:00
Jeremy Apthorp
baaf058380
test: remove last usages of spec/window-helpers ( #20792 )
...
* test: remove last usages of spec/window-helpers
* move fixture
2019-10-29 13:16:42 +09:00
Milan Burda
ba8f80267c
fix: send ELECTRON_BROWSER_CONTEXT_RELEASE asynchronously ( #20632 )
...
* fix: send ELECTRON_BROWSER_CONTEXT_RELEASE asynchronously
* test: remote references should be able to be cleared for all cases
2019-10-23 13:44:21 +09:00
Milan Burda
11cd0db86b
build: add enable_remote_module build flag ( #19821 )
2019-09-18 09:52:06 -07:00
Jeremy Apthorp
bb19142389
test: move some remote specs to the main runner ( #18636 )
2019-06-07 10:43:32 -07:00