Commit Graph
170 Commits
Author SHA1 Message Date
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 PoderandBenjamin Pasero 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
RoboandBenjamin Pasero 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
RoboandBenjamin Pasero 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 Bierneranddeepak1556 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 KearlandBenjamin Pasero 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 BiernerandBenjamin Pasero 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
Robo 27cd33d891 Restore pre 1.40 way of setting disable-color-correct-rendering in electron (#84154) (#84269) (#84296) 2019-11-08 10:03:21 -08:00
Benjamin Pasero 176077f797 fix runtime args defaults 2019-10-30 07:49:21 +01:00
Benjamin Pasero 6a3c0d5bd7 fix #83508 2019-10-29 15:34:03 +01:00
Greg Van Liew ecefeb8d37 Use VS Code, with a space (#83370) 2019-10-27 12:08:51 +01:00
Benjamin Pasero 40aed75986 fix #56651 2019-10-14 15:14:34 +02:00
Benjamin Pasero 23956cc5e2 update to electron 6.0.x (#81644)
* update to electron 6.0.x

* chore: bump electron@6.0.12
2019-10-10 12:26:28 -07:00
Benjamin Pasero 0575dd40d9 improve static argv configuration (#15211) 2019-10-10 07:37:06 +02:00
Benjamin Pasero b73f9ec854 Add a setting to disable gpu acceleration (fixes #15211) 2019-10-09 17:15:06 +02:00
Benjamin Pasero dad5d39eb0 debt - cleanup main.js 2019-10-09 07:45:56 +02:00
Benjamin Pasero da76f05e7a electron - revert to Electron 4 2019-09-30 14:55:17 +02:00
Rob Lourens 099485461d Merge pull request #80801 from orta/capital_S
Fixes some capital S typoes with JS/TS
2019-09-15 14:55:34 -07:00
Robo 029e9929ae chore: Update to Electron 6.x (#75802) 2019-09-13 14:53:56 +02:00
Orta Therox a89b72bf63 Fix hardcoded lower case S issues for JS/TS only for presentation-ish strinngs 2019-09-12 09:58:03 -04:00
Joao Moreno cd6ed7bc78 fixed minimist reference & js typing 2019-08-09 09:54:25 +02:00
Alexander 1b1296cdb3 Revert "Add CLI flag to be able to disable smooth scroll in webviews" (#76944)
This reverts commit c93c73137e.
2019-07-09 10:00:45 +02:00
Benjamin Pasero 119f19e791 debt - remove jsFlags() from node cached data 2019-07-04 18:08:49 +02:00