Sandeep Somavarapu
bda864be28
Fix #134909
2021-10-25 14:24:14 +02:00
Benjamin Pasero
a9438c996c
sandbox - restore session based file watching ( #132282 )
2021-10-21 08:37:20 +02:00
Benjamin Pasero
2f795d34ee
sandbox - implement non-recursive watch support ( #132282 )
2021-10-20 08:56:34 +02:00
Benjamin Pasero
32666ede94
sandbox - first cut file service implemented by main process ( #132282 )
2021-10-19 13:59:09 +02:00
Logan Ramos
3cce1d2c25
Clearer Settings UI for new telemetry setting ( #135028 )
...
* Work on improving telemetry setting description
* two options
* third option
* Add old crash reporter to getTelemetryLevel
* More verbose wording + comments
Co-authored-by: SteVen Batten <sbatten@microsoft.com >
2021-10-13 15:03:12 -04:00
Benjamin Pasero
c70170a480
Show an error when resolving shell environment fails or is timing out ( fix #133910 )
2021-09-29 13:54:18 +02:00
Benjamin Pasero
bce732b7fc
Open workspace from vscode:// url ( fix #133976 )
2021-09-28 12:37:06 +02:00
Logan Ramos
12ae331012
Move appenders to be better controlled by services ( #133465 )
...
* Cleanup telemetry appenders to be owned by service
* Add telemetry level to services
* simplify
* Fix compile
* Rename supportsTelemetryLogging -> supportsTelemetry
Co-authored-by: SteVen Batten <sbatten@microsoft.com >
2021-09-22 10:39:57 -04:00
Logan Ramos
aab8675480
Deprecate crash reporter
...
/cc @sbatten
2021-09-21 13:29:09 -04:00
Logan Ramos
9407123681
Intial work to add error to telemetry setting ( #132996 )
...
* Intial work to add error to telemetry setting
* deprecate and centralize the telemetry setting
* Fix compilation
Co-authored-by: SteVen Batten <stbatt@microsoft.com >
2021-09-14 10:50:25 -04:00
SteVen Batten
8fb7bbabf1
fixes telemetry levels
2021-09-03 13:05:14 -07:00
SteVen Batten
9525d0e1ed
centralize telemetry level ( #131919 )
...
* centralize telemetry level
* add comments and const enum
2021-08-30 10:38:42 -07:00
Matt Bierner
a3cb14be7f
Organize imports in vs/code
2021-08-04 17:05:16 -07:00
Benjamin Pasero
e007ca899c
cli - handle unhandled errors ( fix #128854 )
2021-08-04 13:43:07 +02:00
Matt Bierner
e6b29a18b1
Also allow clipboard-sanitized-write in webviews
...
Fixes #128645
2021-07-14 14:42:48 -07:00
Robo
9520f0a515
chore: update to electron 13 ( #124666 )
...
* chore: bump electron@13.0.1
* chore: update cache for native modules
* chore: bump electron@13.1.2
* chore: bump electron@13.1.4
* chore: fix user data dir length for validateIPCHandleLength check
* chore: always disable uploadToServer on OSS
* chore: use process.contextIsolated property
* chore: bump electron@13.1.6
* fix: getUserDataPath helper
2021-07-13 20:01:10 -07:00
Logan Ramos
ce905717e7
First part of #125422
2021-07-08 11:22:33 -04:00
Benjamin Pasero
d0df79be50
webview - remove more traces ( #128128 )
...
* webview - remove more traces
* more removal
2021-07-07 18:28:53 +02:00
Sandeep Somavarapu
f48865014d
Merge pull request #126299 from microsoft/sandy081/fix125970
...
Fixes race conditions of writing and reading settings from multiple windows
2021-06-15 14:38:22 +02:00
Benjamin Pasero
eaf29b7e24
shell env - timeout after 10s of trying
2021-06-15 11:48:59 +02:00
Benjamin Pasero
71be3b3641
dialogs - fill in proper options used elsewhere
2021-06-15 08:21:43 +02:00
Sandeep Somavarapu
34b0a56f41
- move writing user configuration to main process
...
- safe guard read from writing in parallel from other windows
2021-06-14 23:29:27 +02:00
Benjamin Pasero
2cb7b42d98
code cache - cleanup in prep for chrome based code loading
2021-06-08 07:39:43 +02:00
Benjamin Pasero
351a288a39
electron - include exit code in window error events
2021-06-07 16:12:59 +02:00
Benjamin Pasero
802648f2a1
electron - adopt some newer APIs and 💄 main code
2021-06-04 09:22:38 +02:00
João Moreno
a6f7aa5e4c
handle workspace uris
...
related to #124263
2021-05-21 11:26:09 +02:00
Benjamin Pasero
8b2f0222be
Make state service async ( #122977 )
...
* state service - make it electron-main only
* state service - make writes async
* some cleanup
* more cleanup and removal of sync fs
2021-05-05 09:30:12 +02:00
Megan Rogge
de4e9067e8
externalTerminal renderer -> main process ( #122871 )
2021-05-04 02:18:34 +00:00
Benjamin Pasero
89731c8205
Remove shell environment patching in the renderer ( fix #108804 )
2021-05-03 13:31:35 +02:00
Benjamin Pasero
16baed2dd4
:chore: - adopt some Electron 12 API
...
- async trash item
- exit code on renderer crash
2021-05-03 11:02:35 +02:00
Benjamin Pasero
51ed283cc5
:chore: some code cleanup
...
- use readonly for static ids
- prefer undefined over null in my code
- remove some obsolete todos
- do not require Promise from action.run()
2021-05-03 10:53:26 +02:00
Benjamin Pasero
6ef53c31d9
shared process - also log lifecycle state when window errors
2021-04-27 10:30:37 +02:00
Martin Aeschlimann
3fe2d3b543
[remote] Allow to open remote files through vscode://vscode-remote/. Fixes #108257
2021-04-21 17:05:47 +02:00
João Moreno
1268f86ac7
add common.platformDetail in telemetry ( #121264 )
2021-04-19 11:51:44 +02:00
Matt Bierner
c5dd09e2f5
Update to use new webview url for permissions check
...
Fixes #120978
2021-04-09 14:15:50 -07:00
Benjamin Pasero
2214484ee4
startup perf - load NLS module conditionally; add perf mark for main IPC server
2021-04-08 12:08:40 +02:00
Matt Bierner
d05ded6d3b
Use service workers for loading webview resources on desktop ( #120654 )
...
This switches us from using a custom protocol to using a service worker to load resources inside webviews. Previously we had only been using service workers on web (since custom protocols are not supported on web). The service worker based approach is much cleaner to than our custom protocol work and lets us avoid some extra roundtrips between the main process and the renderer
We were previously blocked from using service workers on desktop due to an electron issue. However this has now been resolved
2021-04-07 15:14:56 -07:00
Benjamin Pasero
bb90ba3d5a
sandbox - delete "Code Cache" folder on startup for now (workaround for #120655 )
2021-04-07 14:13:38 +02:00
Benjamin Pasero
92281913a1
shell env - change to ipc invoke/handle to speed up resolution
2021-04-06 15:37:48 +02:00
Benjamin Pasero
ff0f7f3cf2
Make product configuration available to non node.js environments ( fix #120243 )
2021-04-06 08:55:31 +02:00
Benjamin Pasero
d35df4a3ef
window - use IPC to transport window config and drop URL query param ( #120096 )
2021-03-31 09:42:47 +02:00
Benjamin Pasero
1968bda7e6
platform#IProcessEnvironment is badly typed ( fix #119046 )
2021-03-30 19:05:44 +02:00
Sandeep Somavarapu
291cc7c9d5
Fix #120159
2021-03-30 14:29:44 +02:00
Benjamin Pasero
90484dda2b
shared process - also log if window visible
2021-03-24 08:08:07 +01:00
Benjamin Pasero
6608083a3d
💄 window error telemetry
2021-03-19 10:09:39 +01:00
Benjamin Pasero
640fa1af29
debt - use product service in more places
2021-03-15 09:49:11 +01:00
Benjamin Pasero
a2b5e58b09
remote authority - update comments
...
//cc @aeschli
2021-03-10 18:11:23 +01:00
Martin Aeschlimann
b3e6307430
polish
2021-03-10 14:08:41 +01:00
Martin Aeschlimann
3c96cb6254
Merge branch 'main' into aeschli/openWindowsWithAuthority
2021-03-09 14:54:55 +01:00
Martin Aeschlimann
244e9e6e79
set remoteAuthority in NativeHostService.openWindow if not yet defined
2021-03-08 21:04:00 +01:00