Commit Graph

96665 Commits

Author SHA1 Message Date
Alexandru Dima fc9732a683 Spawn the extension host directly from the main process because fork() is now fast again (#150002) 2022-05-20 08:10:39 +00:00
Matt Bierner e9393b096d Inline webview main.js (#149983)
For #145567

This inlines the `main.js` script that webview use. This saves us an extra request at the cost of currently having to maintain two copies of the source from `main.js`
2022-05-20 09:07:20 +02:00
Matt Bierner 17c75e1180 Allow reusing webview origins across reloads (#149950)
* Allow reusing webview origins across reloads

Currently webviews are always loaded into a unique origin. This keeps them isolated but also means that we can't benefit from caching across window reloads

This change adds a new `origin` option that you can pass to webviews which controls the origin they use. If this origin is not provided, we use a random one instead

We then save off this origin for webview panels and restore it on window reloads. Webviews restore a little faster on window reload

* Update webview fallback version
2022-05-19 16:07:14 -07:00
Connor Peet 08f247b552 debug: bump js profile visualizer (#149981) 2022-05-19 22:50:55 +00:00
Rob Lourens 55abdaee3e Render outputs a viewport above as well as below (#149879)
* Also render outputs/markdowns a viewport above the current viewport, as well as below
Towards #148164

* Update docs and add background color to svg
2022-05-19 22:12:43 +00:00
Matt Bierner 0ee05bb617 Pick up latest markdown-it-katex (#149978)
Fixes #149682
2022-05-19 21:54:08 +00:00
Connor Peet 3b3a3e3e36 remote: fix wrong event name used for latency (#149973) 2022-05-19 17:08:15 -04:00
Matt Bierner 92b6c1be54 Allow cancelling webview's readFileStream (#149964)
This passes a cancellation token to `readFileStream`. This ensures we stop reading the file if the webview is disposed of
2022-05-19 18:50:28 +00:00
Rob Lourens 2c9c8e6770 Fix lazy button layout and cursor (#149963)
Fix #149875
2022-05-19 18:43:09 +00:00
Matt Bierner a00e138040 Changing dependency syntax for markdown-it-katex (#149962)
Fixes #149291
2022-05-19 18:25:45 +00:00
SteVen Batten 85bf8af5b9 Improve Counter-Zoom Handling for Context Views (#149958)
* fixes #149957

* fixes #149741

* use const

* use const
2022-05-19 18:20:48 +00:00
Matt Bierner 3f27a6103b Pick up latest TS nightly for building VS Code (#149959) 2022-05-19 11:01:45 -07:00
David Dossett 6e36be6f33 Align menubar hover background with rest of titlebar items (#149956) 2022-05-19 17:49:29 +00:00
Raymond Zhao a3243b282c Add indicator, fixes #148672 (#149294)
* Add indicator, fixes #148672

This PR adds a default override indicator to extension-contributed
language-specific default setting overrides.

* Remove indicator from language tag settings
2022-05-19 08:12:29 -07:00
Alex Dima 0db3cee2a4 let -> const 2022-05-19 16:15:50 +02:00
João Moreno a63bebc296 build: ⬆️ bump deemon (#149938)
fixes deemon issue

https://github.com/joaomoreno/deemon/issues/6
2022-05-19 14:02:56 +00:00
Johannes Rieken 6306219372 Merge pull request #149929 from microsoft/joh/tremendous-lion
extract logic for title suffix and prefix computations and use it for title menu
2022-05-19 13:08:41 +02:00
Johannes 32e6d2c113 extract logic for title suffix and prefix computations and use it for title menu 2022-05-19 12:54:28 +02:00
Martin Aeschlimann e783fdc25e css/html/json update to lsp 8 (#148715) 2022-05-19 12:48:53 +02:00
Alexandru Dima 14925e336d Add a basic check (#149832)
* Add a basic check

* Fix yaml error

* Another attempt to fix the yaml

* update actions versions

* let -> const

* Add hygiene and layering check

* update name
2022-05-19 11:18:22 +02:00
Sandeep Somavarapu 7ccddacc04 Merge pull request #149854 from microsoft/sandy081/sticky-wildcat
Deprecated extensions support
2022-05-19 11:07:35 +02:00
Robo 60e199cda4 chore: bump electron@17.4.4 (#149896) 2022-05-18 22:34:26 -07:00
Tyler James Leonhardt ba2dd82580 update loader (#149878) 2022-05-18 17:14:29 -07:00
Matt Bierner fbbcdc9411 Add WebviewInitInfo type (#149877)
* Add WebviewInitInfo type

This cleanup PR adds a new `WebviewInitInfo` type that brings together the core information needed to create a webview

I've then updated the various webview APIs to use this new type

* Revert frameId -> origin change

* frameId -> iframeId
2022-05-18 20:10:28 -04:00
Matt Bierner 0d55d50173 Expose outputItem in notebook markdown eve (#149870)
For #121256

This change adds the current `ouputItem` to the notebook markdown renderer's environment

Renders that extend our markdown renderer can use this to access output item metadata for example
2022-05-18 16:14:32 -07:00
Matt Bierner 27903c28aa Remove unfinished test (#149864)
Mistakenly checked this in
2022-05-18 16:01:28 -07:00
Rob Lourens a49e21c63b Fix notebook output double spacing (#149842)
Fixes #149563
2022-05-18 15:37:22 -07:00
Matt Bierner daf0d5e551 Add skipPaths option for markdown link validation (#149859)
The new `markdown.experimental.validate.fileLinks.skipPaths` setting lets you specify a list of paths (as globs) that should not be validation

This is useful since markdown is used in a range of environments, and sometimes you may need to link to paths that don't exist on disk but will exist on deployment

A few other changes here:

- Adds a quick fix that adds paths to `skipPaths`
- Rename existing settings to use the `.enabled` prefix
2022-05-18 14:37:08 -07:00
Sandeep Somavarapu d346ca8c37 - separate deprecated and prerelease migration extensions in the control file
- Merge deprecated and prerelease migration extensions
- Support deprecated extensions with settings
- Do not auto migrate deprecated extensions
- Support disallowing install for deprecated extensions
2022-05-18 22:34:18 +02:00
Daniel Imms fd3a84fdfc Merge pull request #149839 from microsoft/tyriar/cleanup_colors
Clean up terminal xterm theme setting function
2022-05-18 12:08:51 -07:00
Daniel Imms 368b22e677 Merge branch 'main' into tyriar/cleanup_colors 2022-05-18 11:27:31 -07:00
Daniel Imms 2f358f1881 Merge pull request #149847 from microsoft/tyriar/fix_tests
Fix terminal theme tests
2022-05-18 11:15:13 -07:00
Roj 64e09597f1 Handle multiline commit messages when creating PR (#149426)
- This makes the body of the pull request non-empty when the commit message consists more than one line.
- The GitHub web client fills the body the same way, too, when you create a pull request.
- Some commit messages consist more than one line, like this one, which is giving more detail about the commit, and can be used as a shortcut to not write the same text when opening a pull request and on GitHub.
- Without these changes, the pull request title will be messed up if the commit message is similar to this.

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2022-05-18 11:13:32 -07:00
Daniel Imms 49f9aecd0a Fix terminal theme tests 2022-05-18 11:11:31 -07:00
SteVen Batten 7cf37cbb25 add ExtensionVersion filter in assignment service (#149845) 2022-05-18 10:53:18 -07:00
Matt Bierner 6bd7605ae1 Enable strictNullChecks for implicit projects (#149844)
Mistakenly enabled checkJS instead of strictNullChecks
2022-05-18 10:47:37 -07:00
Matt Bierner ff975bc211 Update list of enabled APIs (#149838)
We use `notebookWorkspaceEdit` even though it's not enforced
2022-05-18 10:39:40 -07:00
David Dossett ca280a1685 Update menubar button styles (Fix #149834) (#149835)
* Use border radius/padding for classic menubar

* Removed unused line-height rule
2022-05-18 10:15:11 -07:00
Daniel Imms 3678e5fd8a Clean up terminal xterm theme setting function 2022-05-18 09:58:02 -07:00
Daniel Imms 6dae224a4f Merge pull request #149837 from microsoft/tyriar/149505
Support selection foreground in terminal
2022-05-18 09:56:47 -07:00
Daniel Imms 5cdfdb435f Support selection foreground in terminal
Fixes #149505
2022-05-18 09:45:17 -07:00
SteVen Batten ae22026313 fixes #143887 (#149836) 2022-05-18 18:23:39 +02:00
SteVen Batten f9264e31b5 fixes #149013 (#149785) 2022-05-18 09:02:15 -07:00
Harald Kirschner 351e3c525a Report extension list (#147960)
* Report extensions

* Rename and move installedExtensions log
2022-05-18 08:00:40 -07:00
Martin Aeschlimann ba5691170f update vscode-grammar-updater 2022-05-18 11:58:51 +02:00
Anthony Stewart 0219800af1 Use the pointer cursor for links in the banner bar (#149738)
Co-authored-by: Anthony Stewart <anthonystewart@google.com>
2022-05-18 11:50:25 +02:00
Ladislau Szomoru d1f882f635 Engineering - Exploration to run tests in parallel (#149698) 2022-05-18 10:37:44 +02:00
Rob Lourens 688c802459 Fix lazy button layout in debug hover. (#149789)
Fix #149638
2022-05-17 20:50:42 -07:00
Rob Lourens 6fef251f8f Show the debug adapter label when hovering the type in launch.json (#149786) 2022-05-17 19:03:46 -07:00
Matt Bierner c9c5990e38 Adopt notebookWorkspaceEdit proposal internally (#149778)
This switches us to use the new `notebookWorkspaceEdit` proposal instead of `notebookEditorEdit`
2022-05-17 18:51:25 -07:00