Jeremy Rose
605e50269e
chore: convert rpc-server to ts ( #24271 )
2020-06-25 10:19:08 -07: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
e1e73fa5f5
refactor: use WeakRef on main process side of remote ( #24115 )
2020-06-16 14:34:08 -07:00
Jeremy Rose
7274467f73
refactor: tsify remote ( #24034 )
2020-06-11 11:36:03 -07:00
Jeremy Rose
78fe545d18
refactor: remove renderer-side refcount in remote ( #24054 )
2020-06-11 10:22:28 -07:00
Shelley Vohr
e8ea007104
fix: ensure nativeImage serialization main->renderer ( #23759 )
2020-05-28 09:43:15 -07:00
Shelley Vohr
762f7bcca2
refactor: use typeutils for nativeImage serialization ( #23693 )
2020-05-22 08:56:57 -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
b03bd8c45c
chore: rename atom things to electron things in our docs / scripts ( #23100 )
2020-04-13 14:32:29 -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
Jeremy Apthorp
b77f701aeb
feat: disable the remote module by default ( #22091 )
2020-02-10 10:49:09 -08:00
Jeremy Apthorp
2e1531ad90
feat: warn when remote is used without enableRemoteModule: true ( #21546 )
...
* feat: warn when remote is used without enableRemoteModule: true
* fix security warning
2020-01-13 15:23:03 +09:00
Milan Burda
3f2cb91a35
refactor: declare KeyWeakMap<K, V> returned by createIDWeakMap() / createDoubleIDWeakMap() ( #21171 )
2019-11-21 13:32:31 +01:00
Milan Burda
1d596f616d
fix: NativeImage serialization of <webview>.capturePage() result ( #20825 )
2019-11-12 21:56:17 +01:00
Milan Burda
093f2dd4a6
chore: remove deprecated <webview>.getWebContents() ( #20986 )
2019-11-08 15:46:35 -05:00
Milan Burda
0f7ebff81e
fix: pass frameId to v8Util.setRemoteCallbackFreer() ( #20732 )
2019-10-29 15:40:09 +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
Jeremy Apthorp
b155ebeeb3
fix: don't overwrite global constructor names in remote ( #20637 )
...
* fix: don't overwrite global constructor names in remote
* fake constructor names better, and improve error serialization
2019-10-21 15:48:03 +09:00
Milan Burda
b92163d226
refactor: take advantage of structured clone algorithm in the remote module ( #20427 )
2019-10-10 09:59:08 -04:00
Milan Burda
ccff140046
feat: add --enable-api-filtering-logging commandline switch ( #20335 )
2019-10-04 10:49:09 -07:00
Jeremy Apthorp
b7b0992768
refactor: convert some more remote stuff to typescript ( #20324 )
2019-09-30 15:00:22 -07:00
Milan Burda
11cd0db86b
build: add enable_remote_module build flag ( #19821 )
2019-09-18 09:52:06 -07:00