Commit Graph

1769 Commits

Author SHA1 Message Date
Benjamin Pasero
0359d4174d sandbox - issue service is not common 2020-05-27 08:17:45 +02:00
Benjamin Pasero
d637255b17 Merge branch 'master' into ben/electron-sandbox 2020-05-27 06:51:08 +02:00
deepak1556
876f2e70f9 Revert "chore: bump electron@8.3.0 (#98266)"
This reverts commit 820fd4048f.
2020-05-26 21:46:03 -07:00
Benjamin Pasero
81d13e9f73 sandbox - move menubar service 2020-05-25 14:07:26 +02:00
Benjamin Pasero
04792c3874 sandbox - fix cyclic dependency 2020-05-25 13:59:53 +02:00
Benjamin Pasero
c86de794a0 sandbox - move main process service into electron-sandbox 2020-05-25 13:57:24 +02:00
Benjamin Pasero
7f34cb5384 sandbox - ensure IElectronService is declared from electron-sandbox layer 2020-05-25 12:41:39 +02:00
Benjamin Pasero
de1c06c061 sandbox - move url service 2020-05-25 10:20:43 +02:00
Benjamin Pasero
9eb99077f9 sandbox - further reduce electron dependencies 2020-05-25 09:38:05 +02:00
Benjamin Pasero
062d9393d8 sandboy - more adoption of IPC API from preload script 2020-05-25 08:26:55 +02:00
Benjamin Pasero
9c36a570c3 sandbox - move contextMenuService 2020-05-24 07:49:37 +02:00
Benjamin Pasero
0565b5fc03 sandbox - move issueService 2020-05-23 14:14:33 +02:00
Benjamin Pasero
b1c12cac10 sandbox - move menubarService 2020-05-23 14:09:38 +02:00
Benjamin Pasero
dc8f291781 sandbox - let workspaces service use sandboxed IPC 2020-05-23 08:05:47 +02:00
Benjamin Pasero
a4a5b1f19c sandbox - expose limited IPC via preload script 2020-05-22 12:23:43 +02:00
Robo
820fd4048f chore: bump electron@8.3.0 (#98266) 2020-05-20 13:32:02 -07:00
Matt Bierner
307cb32f30 Add vscode-webview-resource protocol (#97777)
* Add vscode-webview-resource protocol

Adds a new protocol (`vscode-webview-resource`) for loading resources insides of webviews. This replaces the existing `vscode-resource` protocol and is registered on the main thread instead of in each renderer

This change also adds some rewriting logic to update any `vscode-resource:` references found in the main html to use `vscode-webview-resource` instead.

* Move webview protcol provider to own file

* Remove registration of vscode-resource scheme

* Remove use or parition for each webview

Now that we have a single shared protocol handler, we do not need to run each webview in its own partition

* Fix rewriting csp to use new protocol

* Update src/vs/code/electron-main/app.ts

Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>

Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2020-05-15 11:34:08 -07:00
Benjamin Pasero
f8f0c0ec54 electron - stop messing around with app.dock 2020-05-12 19:07:28 +02:00
Benjamin Pasero
5356ceb23c windows - ensure new-window request has right window context (fix #97172) 2020-05-10 09:50:17 +02:00
Benjamin Pasero
b19b7a7f41 es6 - use more find over filter 2020-05-04 09:44:59 +02:00
Benjamin Pasero
7d8f9cf789 es6 - use Array.find over find 2020-05-04 09:28:22 +02:00
SteVen Batten
4abcc03d6a update to telemetry service/callstack or exception 2020-04-27 17:33:44 -07:00
Benjamin Pasero
720b72ea26 debt - change delete operand (for #96022) 2020-04-24 07:20:54 +02:00
Matt Bierner
7911881812 Fix delete operator error
For #96022
2020-04-23 18:48:59 -07:00
Christof Marti
83ddd9afef Auth not supported (#94148) 2020-04-22 09:09:53 +02:00
Christof Marti
04f1f900f8 Log (#94148) 2020-04-22 07:47:20 +02:00
Christof Marti
03a7223ee2 Investigate #94862 2020-04-21 12:05:54 +02:00
Benjamin Pasero
5201e0e937 electron - also setPermissionCheckHandler 2020-04-21 10:01:34 +02:00
Benjamin Pasero
07068baa3e electron - block permissions requests via setPermissionRequestHandler 2020-04-21 09:40:14 +02:00
Christof Marti
273bb63e3c Include HTTP_PROXY and NO_PROXY (#93595) 2020-04-16 08:14:49 +02:00
kieferrm
92ff20ac39 app.ts - check uris 2020-04-14 10:06:52 -07:00
Christof Marti
1e960d5abb Set Electron session's proxy from user setting (fixes #94148) 2020-04-08 10:43:54 +02:00
Benjamin Pasero
b644d803d1 debt - extract node pieces to node layer (window) 2020-04-06 09:17:00 +02:00
Benjamin Pasero
9f1aa3c9fe debt - remove node pieces from environment (#82598) 2020-04-06 09:12:41 +02:00
Benjamin Pasero
f8432f8d9c debt - more usage of ES6 object assign 2020-04-06 08:58:37 +02:00
Benjamin Pasero
3f0e5b4ab0 debt - adopt more ES6 things 2020-03-30 14:04:52 +02:00
Benjamin Pasero
9556196ed6 window picker - indicate dirty windows 2020-03-30 09:01:22 +02:00
Matt Bierner
716f2ef415 Add role=document to root webview document (#93435) 2020-03-27 12:50:40 -07:00
Sandeep Somavarapu
84142c615d - Introduce storage key sync registry service
- Register pinned viewlets state key
2020-03-20 11:03:07 +01:00
Sandeep Somavarapu
2c3c137b19 - rename gallery machined it to service machine id
- extract getting service machine id
2020-03-16 10:01:39 +01:00
Benjamin Pasero
b419081bbc reuse telemetry constants (#92099) 2020-03-10 07:58:04 +01:00
Alex Dima
36996caea0 Clear font info when displays are added, removed or changed 2020-03-09 16:48:26 +01:00
Benny Neugebauer
5bd89a2535 Fix typing for proxy auth window options (#91954) 2020-03-03 15:43:49 +01:00
Martin Aeschlimann
a55b3e9525 Ok -> OK 2020-03-02 15:27:41 +01:00
Benjamin Pasero
e1d6bfe8b1 debt - push down more native only environment properties 2020-03-02 12:46:04 +01:00
Benjamin Pasero
9eedabce7b debt - move native pieces of window config into node layer 2020-03-02 12:35:26 +01:00
Benjamin Pasero
864f21ad61 tests - exit CLI process when renderer crashes or is unresponsive instead of bringing up a dialog 2020-02-27 11:19:59 +01:00
Benjamin Pasero
646aaf67aa Cleanup open-url handling (#91234)
* cleanup open-url handling

* open url - allow to open a remote workpsace without opening a window first

* help build

* undo build change

* support files too
2020-02-23 16:54:53 +01:00
Martin Aeschlimann
e3d78d5a2c cli: new window when --remote is used without paths 2020-02-19 17:14:53 +01:00
Sandeep Somavarapu
6b71b834f3 #90076 move config service to common 2020-02-18 08:59:43 +01:00