Commit Graph

186 Commits

Author SHA1 Message Date
deepak1556
1cd0c33767 chore: add crash id for windows and mac arm64 2021-02-25 15:32:23 -08:00
deepak1556
c484ebb065 chore: enable compression for crash reports
Fixes https://github.com/microsoft/vscode/issues/115888
2021-02-17 15:01:05 -08: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
Benjamin Pasero
493fa4bd31 💄 main.ts 2021-02-11 16:56:29 +01:00
Johannes Rieken
af5adb530a Revert "add arch to cached data path, https://github.com/microsoft/vscode/issues/113852"
This reverts commit 72095f8603.
2021-01-07 09:41:49 +01:00
Benjamin Pasero
169a0ec047 sandbox - allow to enable vscode-file protocol via argv or environment (#98682) 2021-01-06 15:30:38 +01:00
Johannes Rieken
72095f8603 add arch to cached data path, https://github.com/microsoft/vscode/issues/113852 2021-01-06 10:00:14 +01:00
Johannes Rieken
c87c95a1a0 prefix our performance marks with code/, e.g code/didStartRenderer etc 2020-12-14 15:49:58 +01:00
Benjamin Pasero
1a1db8f00e bootstrap - add more typing info 2020-12-14 08:23:30 +01:00
Benjamin Pasero
37e9cceddc Enable sandbox, contextIsolation and vscode-file for process explorer and issue reporter (#111304)
* Enable sandbox for issue reporter and process explorer (fix #101834)

* sandbox - enable vscode-file protocol for sandboxed renderers

* issues - stop setting nodeCachedDataDir

* address feedback and also use vscode-file for shared process if sandbox is on
2020-11-25 16:46:03 +01:00
Benjamin Pasero
1460908e18 bootstrap - move portable mode into bootstrap-node 2020-11-25 08:46:40 +01:00
Benjamin Pasero
41025928ad bootstrap - fix more compile errors 2020-11-24 10:03:19 +01:00
Benjamin Pasero
65f805d98e fix build 2020-11-10 08:17:14 +01:00
Benjamin Pasero
eb8c718e81 debt - fix compile errors in bootstrap files 2020-11-09 09:03:14 +01:00
João Moreno
96d03d1ecc Linux Snap: Prevent GDK_PIXBUF env from leaking out (#109608)
* update hygiene file

* snap: do not let GDK_PIXBUF leak out

fixes #100940

* 💄
2020-10-29 14:13:22 +01:00
deepak1556
bb16786cff fix: crash reproter arguments appeneded after '--' marker
Fixes https://github.com/microsoft/vscode/issues/108806
2020-10-27 21:24:23 -07:00
ChaseKnowlden
e8760a5d6c Fix capitalization of GitHub org 2020-09-17 11:43:03 +02:00
Benjamin Pasero
ae942354ab sandbox - move native environment service to common layer 2020-09-03 11:30:08 +02:00
Sam Poder
f805c84b1b Fix spelling mistake in main.js (#104987)
Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2020-08-21 10:07:00 +02:00
Benjamin Pasero
6e57a9a4bb nls - remove legacy local.json migration 2020-08-13 09:59:09 +02:00
Robo
e4296330de chore: update to electron 9-x-y (#102011)
Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2020-08-11 11:30:23 -07:00
Robo
227d533937 Revert "chore: update to electron 9-x-y (#102011)" (#103599)
This reverts commit 3d0d50caf8.
2020-07-30 08:35:43 -07:00
Robo
3d0d50caf8 chore: update to electron 9-x-y (#102011)
* chore: bump electron@9.0.5

* remove exploration config

* fix compile error

* fix compile error

* crashReporter has to be called only once before app ready

* chore: bump electron@9.1.0

* enable LayoutNG

* fix cron schedule

* allow disabling appcenter crash reporting

* set additional crash reporting parameters

* start crashreporter for child process on linux

* setup crash parameters only once

* remove unused crashReporter.guid

* address review feedback

* reuse argv.json for storing crash reporter id

* remove trailing commas

* update localized name

* update argv based on telemetry optout

* update initial config based on setting

* fix conditional errors

* remove telemetry.enableCrashReporter

* move default crash reporter config to electron-main

* update comment for ext host crash reporting

* set default value for configuration

* some 💄 changes

* address review feedback

* do not use ES7 features in JS yet

* add app.focus({ steal: true }) usage

Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2020-07-21 09:39:34 +02:00
Benjamin Pasero
bc44023f13 code 💄 2020-07-06 07:21:51 +02:00
Matt Bierner
48c6e3979d Add experimental support for using iframes for webviews (#100991)
* Use non-deprecated API version

* Prototype: enable offline iframe based webviews on desktop

Adds a new `vscode-webview` protocol  for loading the wrapper contents of a webview

Still needs cleaning up

* fix loading of electron webview

* Cleanup and add `webview.experimental.useIframes` setting

Co-authored-by: deepak1556 <hop2deep@gmail.com>
2020-06-25 14:52:02 -07:00
Benjamin Pasero
a3f86f0923 Drop node.js require for bootstrap and bootstrap-window (#100857)
* sandbox - load bootstrap/bootstrap-window via script tags (workbench)

* sandbox - adopt script loading for issue reporter and process explorer
2020-06-24 09:07:14 +02:00
Matt Bierner
5c11b81875 Revert "Use custom scheme for loading webview wrapper contents"
This reverts commit 61f796ee89.

Not sure how this change causes problems but revert seems to fix it.

Fixes #100879
Fixes #100874
2020-06-23 14:18:05 -07:00
Benjamin Pasero
6445a85f1c bootstrap - move some methods that are only used once 2020-06-23 14:18:26 +02:00
Matt Bierner
61f796ee89 Use custom scheme for loading webview wrapper contents
This moves us closer to using iframes directly instead of webview elements
2020-06-22 17:26:10 -07:00
Jackson Kearl
3023198b7e Support --enable-proposed-api through argv.json (#99908)
* Support --enabled-proposed-api thorugh argv.json
Closes #99775

* Fix typos.

* Apply suggestions from code review

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

Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2020-06-12 01:07:17 -07:00
Matt Bierner
fe6e663a84 Don't mark vscode-resource as standard
Fixes #99245

This scheme (specifically the old style uris of the scheme) do not conform to the requirements of a standard uri
2020-06-03 17:30:20 -07:00
Benjamin Pasero
0917374f8f Splitting from a pinned editor, pins editor (fix #99035) 2020-06-03 10:38:37 +02:00
Benjamin Pasero
560b21efa4 Crash reporter creates two directories (fix #99149) 2020-06-03 10:22:52 +02:00
Benjamin Pasero
6e359a9f77 Crash Reporter command doesn't support relative directories (fix #99143) 2020-06-03 09:33:32 +02:00
Matt Bierner
932f26f3c0 Make sure old vscode-resource scheme is still corsEnabled
Fixes #99190
2020-06-02 15:32:00 -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
004282afb0 diag - start crash reporter as early as possible if --crash-reporter-directory is used 2020-05-08 08:14:57 +02:00
Benjamin Pasero
6ebaa27f54 💄 crash-reporter-directory 2020-05-07 16:19:56 +02:00
Benjamin Pasero
3fab5de0b1 diag - introduce crash-reporter-directory to enable crash reporter for local folder 2020-05-07 07:59:29 +02:00
João Moreno
7d62a5b857 fix #85344 2020-04-03 15:53:03 +02:00
Daniel Imms
3636940beb vscode-minimist -> minimist 2020-03-30 14:10:10 -07:00
Benjamin Pasero
9eedabce7b debt - move native pieces of window config into node layer 2020-03-02 12:35:26 +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
Benjamin Pasero
f647df6e52 electron - allow to configure color profile for #88491 2020-02-21 08:07:34 +01:00
Benjamin Pasero
42e21c2e63 electron - configure to disable LayoutNG (workaround for #88873) 2020-02-17 10:44:25 +01:00
isidor
5970b51434 only allow forceRendererAccessibility flag on linux 2020-02-14 16:04:39 +01:00
isidor
a6af0beb97 linux: automatically set force-renderer-accessibility when user sets editor.accessibilitySupport 2020-02-14 15:42:25 +01:00
isidor
f4df26f80e Revert "linux: automatically set force-renderer-accessibility when user sets editor.accessibilitySupport"
This reverts commit ee74224b88.
2020-02-14 15:30:52 +01:00
isidor
ee74224b88 linux: automatically set force-renderer-accessibility when user sets editor.accessibilitySupport
#90446
2020-02-14 15:28:25 +01:00
Robo
2c79231817 fix: don't use appendArgument to add switch values (#84320)
* fix: don't use appendArgument to add switch values

* args - make sure to allow to enabe color correct rendering
2019-11-11 09:44:57 -08:00