Commit Graph

2739 Commits

Author SHA1 Message Date
Benjamin Pasero
01cfa2f835 shared process - spawn it when first connection kicks in (#117422) 2021-02-24 12:02:51 +01:00
Benjamin Pasero
9d1e8fa608 window - log crash reason too 2021-02-23 10:40:58 +01:00
Benjamin Pasero
92c0878f39 shared process - drop the 3s delay for spawning
We now need the shared process to be ready for terminals and in the future for sandbox we will also need this process to be created early on startup.
2021-02-22 08:09:03 +01:00
Daniel Imms
666351b321 Merge remote-tracking branch 'origin/main' into tyriar/megan 2021-02-18 04:35:54 -08:00
Benjamin Pasero
eb21069624 treeItem.iconPath no longer works with files in globalStorage in Insiders (fix #116735) 2021-02-18 08:35:19 +01:00
Matt Bierner
608e8791ff Add back support for reading from clipboard in webviews (#116597)
* Add back support for reading from clipboard in webviews

Fixes #115925

This was blocked by 7d5052f508.

* Gate permissions checks to webview frames
2021-02-17 13:24:33 -08:00
Benjamin Pasero
6ecae6f5f9 shared process - log errors properly 2021-02-17 15:39:40 +01:00
Benjamin Pasero
a36e9b3e09 add prefix to main errors when logged into renderer 2021-02-17 07:30:18 +01:00
Daniel Imms
982b28f42d Merge remote-tracking branch 'origin/main' into tyriar/megan 2021-02-16 02:44:34 -08:00
Benjamin Pasero
58e22bc522 window - type win as null if disposed 2021-02-16 11:27:43 +01:00
Benjamin Pasero
f606206cc8 debt - consistently refer to main services 2021-02-16 08:33:34 +01:00
Benjamin Pasero
8dbc14946b debt - consistent event names in main 2021-02-16 08:27:47 +01:00
Benjamin Pasero
5901b6a4ea storage - move lifecycle into service 2021-02-15 17:07:47 +01:00
Benjamin Pasero
114bac541e storage - bring back logging support 2021-02-15 13:25:02 +01:00
Benjamin Pasero
5eca02fd99 storage - some 💄 2021-02-15 08:18:33 +01:00
Benjamin Pasero
f49d78c4af storage - fix layers to be able to use native storage service in sandbox 2021-02-14 12:24:55 +01:00
Benjamin Pasero
1f8bb6d33b storage - change main storage service to support global and workspace storage (stubs) 2021-02-14 12:01:50 +01:00
Benjamin Pasero
41339cc2a0 Make user data path a AMD/CommonJS compatible thing (#116530)
* debt - move paths.js into base

* add a test

* get rid of @ts-ignore

* trigger a change

* isolate scripts with self invoking function
2021-02-12 15:49:15 +01:00
Daniel Imms
138cfd777b Don't double dispose LocalPtyService 2021-02-12 06:26:07 -08:00
Daniel Imms
e4d8575caf Merge remote-tracking branch 'origin/master' into tyriar/megan 2021-02-12 05:32:15 -08:00
Sandeep Somavarapu
e7f29d65c3 use registerSharedProcessRemoteService to register 2021-02-12 11:12:30 +01:00
Benjamin Pasero
f0d62c6ec2 💄 more main.ts cleanup 2021-02-12 08:30:21 +01:00
Benjamin Pasero
795db5b719 Always intercept file protocol (#116522)
* sandbox - intercept file protocol

cc @deepak1556

* 💄 error messages
2021-02-12 08:09:13 +01:00
Daniel Imms
b49c2cba98 Dispose localPtyService on shared proc 2021-02-11 11:44:14 -08:00
Daniel Imms
7aa84660c1 Merge remote-tracking branch 'origin/master' into tyriar/megan 2021-02-11 08:53:00 -08:00
Benjamin Pasero
5908eabc80 app.ts - clearly distinguish node.js and electron servers 2021-02-11 17:37:20 +01:00
Benjamin Pasero
a4a87ef29f 💄 more app.ts cleanup 2021-02-11 17:32:56 +01:00
Benjamin Pasero
2526359207 💄 app.ts cleanup 2021-02-11 17:25:02 +01:00
Daniel Imms
a9536c368c Merge remote-tracking branch 'origin/master' into tyriar/megan 2021-02-11 08:15:03 -08:00
Benjamin Pasero
493fa4bd31 💄 main.ts 2021-02-11 16:56:29 +01:00
João Moreno
ea048b8771 move ipc services back to e-sandbox
related to #114418
2021-02-11 16:30:13 +01:00
João Moreno
481b65972b isolate IMainProcessService and ISharedProcessService into common
related to #114418
2021-02-11 15:55:07 +01:00
João Moreno
662b0003b8 cleanup update ipc code
related to #114418
2021-02-11 15:35:20 +01:00
Daniel Imms
59264e2ab1 Merge remote-tracking branch 'origin/master' into tyriar/megan 2021-02-11 05:16:08 -08:00
Sandeep Somavarapu
6b8251cf43 fix #116419 2021-02-11 08:59:32 +01:00
Daniel Imms
4ea18e9615 Remove unneeded file, document channels 2021-02-10 15:44:14 -08:00
Daniel Imms
25c680caf4 Create ptyHost, bidi communication 2021-02-10 15:37:19 -08:00
Daniel Imms
67dda13a3a Move pty to shared process 2021-02-10 14:03:34 -08:00
Daniel Imms
1abb2d9534 Merge remote-tracking branch 'origin/master' into tyriar/74620_2 2021-02-10 11:34:32 -08:00
Benjamin Pasero
9ff3bfec44 sandbox - use electron directly and not preload for postMessage calls 2021-02-10 14:55:46 +01:00
João Moreno
e371faebfb rename createChannelReceiver into ProxyChannel namespace (#116308) 2021-02-10 03:29:04 -08:00
Benjamin Pasero
3b456a2857 debt - do not allow platform layer to reach into code layer 2021-02-10 08:04:15 +01:00
Benjamin Pasero
f82462ba7c debt - move shellEnv to platform 2021-02-10 07:49:11 +01:00
Sandeep Somavarapu
478a76a1a6 fix compilation 2021-02-09 17:25:55 +01:00
Sandeep Somavarapu
b14afd09df Merge branch 'master' into sandy081/sandbox/spdlog 2021-02-09 14:57:06 +01:00
Daniel Imms
3a3b42a9a3 Merge remote-tracking branch 'origin/master' into tyriar/74620_2 2021-02-09 04:19:23 -08:00
Benjamin Pasero
9c40b34cbe sandbox - move diagnostics service to electron sandbox 2021-02-09 12:32:14 +01:00
Benjamin Pasero
8c8ab33b79 shared process - delete sharedIPCHandle 2021-02-09 12:16:55 +01:00
Daniel Imms
281d228086 Rename pty service to local pty service
More descriptive as it's for local/electron terminal processes only
2021-02-08 12:29:55 -08:00
Daniel Imms
ee4a8bd5f4 Create pty service main <-> renderer channel
Part of #74620
2021-02-08 12:20:00 -08:00