Commit graph

158 commits

Author SHA1 Message Date
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
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
Babak K. Shandiz 0dd6757868 Minor update on main.js (#74415)
Fixed a typo; "letiable" (to "variable").
2019-05-28 10:56:09 +02:00
Matt Bierner ed60eb6285
Merge pull request #65422 from usernamehw/webview_smooth
Add CLI flag to be able to disable smooth scroll in webviews
2019-04-08 15:10:34 -07:00
Benjamin Pasero 7081def4a0 storage - remove global storage migration 2019-03-29 15:13:44 +01:00
Dirk Baeumer 7002a63fad Move language pack processing code to common 2019-02-20 19:27:08 +01:00
Gleisson Ricardo @mattos 799794ecef main code review (#68245) 2019-02-11 08:15:24 +01:00
Alexandru Dima a3099a85bc
Merge pull request #67947 from Microsoft/alex/gulp4
Upgrade to gulp4
2019-02-07 11:43:01 +01:00
Benjamin Pasero bfa8c3d00b debt - properly disable-color-correct-rendering 2019-02-07 09:13:07 +01:00
Alex Dima f9da04c392 Fix eslint errors 2019-02-05 23:39:23 +01:00
Benjamin Pasero b3e5d256a2 electron 3.0.x: remove window.smoothScrollingWorkaround setting 2019-01-25 17:19:21 +01:00
Johannes Rieken 3a859bd13e perf - add marks for loading the main-process bundle 2019-01-24 11:30:32 -08:00
Johannes Rieken 59d2055502 use createCachedData when possible 2019-01-17 12:00:26 -08:00
Dirk Baeumer b410581538 Fixes #66548: Avoid double async-calls 2019-01-16 11:45:10 +01:00