Commit Graph

102613 Commits

Author SHA1 Message Date
Peng Lyu c51c91e232 Typo: folding controller. (#165211) 2022-11-01 20:29:22 -07:00
rebornix abfb1f679b Cell comments css variables 2022-11-01 20:23:46 -07:00
rebornix c7330bb771 Notebook find widget and toolbar css variable. 2022-11-01 20:15:42 -07:00
Matt Bierner 7233e19dd5 Remove notebook content provider api (#165195)
Fixes #160580
Fixes #147248
2022-11-01 17:23:32 -07:00
SteVen Batten bb4e4c44bd don't create and dispose submenus (#165206)
fixes #161413
2022-11-01 17:03:34 -07:00
Matt Bierner c6559ccf21 Pick up TS 4.9 rc for bundled VS Code version (#165205) 2022-11-01 16:39:15 -07:00
Matt Bierner 8ad43669a9 Prompt users to test with extensions disabled (#165203) 2022-11-01 16:38:45 -07:00
zhuowei a9bf3117d8 webview: ignore Ctrl+W and Ctrl+N in webview for PWA (#164981)
This fixes closing Release Notes / Markdown Preview with Ctrl+W closing whole PWA.

PWAs can intercept the Ctrl+W/Ctrl+N keystrokes, and VSCode does this for editor tabs. However, webviews do not intercept these keystrokes.

If a webview such as Release Notes or Markdown Preview has focus:

- when the user presses Ctrl+N, another instance of the PWA is opened in a new window.
- when the user presses Ctrl+W, the whole PWA window closes.

See https://github.com/microsoft/vscode/issues/150735 for details.

This fixes the issue by ignoring Ctrl+W and Ctrl+N in webviews.

Tested on macOS 12.6 / Chrome Dev 109.0.5384.0:

- patch environmentService.ts webviewExternalEndpoint to use
  http://localhost:8080/static/sources/out/vs/workbench/contrib/webview/browser/pre/
- followed the contributing instruction to run code-web
- in Chrome, More Tools -> Create Shortcut -> Open as window
- closed and re-opened Code OSS PWA window
- opened chrome://inspect and inspected the Code OSS window
- added an uncaught exception handler
- opened file.md and chose "Open preview"
- when it hit
  `Expected '${parentOriginHash}' as hostname or subdomain!`
  manually ran `start(parentOrigin)` in console and continued
- the markdown preview now displayed
- pressed Command+W

Before: the whole window closes
After: only the Markdown preview tab closes
2022-11-01 15:56:43 -07:00
Hugh Lilly 190db489e0 Markdown lang preview settings description (#165109)
* Change descriptions to just say “Enable…”

Previously these said “Enable or disable…”, which in the context of a tick box doesn’t make sense.

* Change “Enable/disable” wording in descriptions
2022-11-01 15:48:59 -07:00
Peng Lyu 1880c8ea6c re #164939. reduced unused exports in notebook worker. (#165198) 2022-11-01 14:19:29 -07:00
Peng Lyu 856a306d1a re #164939. reduced unused exports. (#165196) 2022-11-01 14:06:59 -07:00
Henning Dieterichs d810d86c4c Audio Cues: Don't play the same sound in parallel. Fixes #164921 (#165194) 2022-11-01 13:40:45 -07:00
Megan Rogge e06811cd9e use != operator instead of -ne (#165191)
use != operator
2022-11-01 16:37:22 -04:00
Alexandru Dima a55eaa4d0c Do not render synchronously when restoring the state, the desired scrollLeft is maintained even if the scrollWidth is small (#165193) 2022-11-01 13:34:50 -07:00
Henning Dieterichs decab0af41 Limit shifting (#165141) 2022-11-01 13:15:30 -07:00
Matt Bierner 25c65295ab Use css vars for lightbulb (#165186)
Fixes #165169
2022-11-01 12:47:13 -07:00
Megan Rogge a9a1373b1f prevent .zshenv recursion (#165174)
fix #163843
2022-11-01 15:42:49 -04:00
SteVen Batten 8f06fd3722 only renderBody when view is visible/expanded (#165187)
fixes PaneView calls renderBody even when the pane is collapsed #164662
2022-11-01 20:22:22 +01:00
Matt Bierner d5d392b03d Use _ for privates in webview code (#165183) 2022-11-01 11:41:34 -07:00
Henning Dieterichs 42580d632c Bugfix 2022-11-01 19:19:09 +01:00
Alex Ross fa2be83ef0 Remove unneeded export (#165178)
Part of #164933
2022-11-01 11:02:24 -07:00
Andre Weinand d126b9f53a Remove a few exports (#165158)
* Remove a few `export`s

* don't omit indirect exports
2022-11-01 10:57:05 -07:00
SteVen Batten 35a0299ff6 use ctxt menu event for all actBar context menus (#165177)
fixes #163247
2022-11-01 10:48:15 -07:00
Alex Ross 5ab1806804 Fix tree data provider being accessed after disposed (#165087)
* Fix tree data provider being accessed after disposed
Fixes microsoft/vscode-pull-request-github#4002

* Use setTimeout0
2022-11-01 13:28:53 -04:00
Rob Lourens fe689beb75 Clean up some unused exports (#165107)
For #164937
2022-11-01 09:54:56 -07:00
Rob Lourens 739175dc74 More unused exports (#165167)
For #164939
2022-11-01 09:43:01 -07:00
Isidor Nikolic 9805c4b429 a11y issues to Megan (#165166) 2022-11-01 09:42:46 -07:00
Jean Pierre a64d5346e8 Fixes task reconnection status does not work for default build task (#165110)
Fixes #159639

Co-authored-by: Megan Rogge <merogge@microsoft.com>
2022-11-01 12:29:47 -04:00
Johannes Rieken 8485263426 debt - use CSS variables instead of registerThemingParticipant (#165164) 2022-11-01 09:03:16 -07:00
Logan Ramos ccda6721ea lramos15/xenacious-bedbug (#165083)
* Don't shortcircuit active editor in Resolver

* Fix broken test
2022-11-01 08:49:56 -07:00
Matt Bierner 3a8b7e4276 Highlight label should not create extra span nodes (#164657)
* Highlight label should not create extra empty dom nodes

I noticed that the `HighlightedLabel` class creates extra `span` elements for text ranges. These should not be needed. Using text children directly should be faster for creation and also reduce the number of nodes in the document

I also related the conditional spread with a longer version that uses a simple call to push. This is worth doing since `HighlightedLabel` is so widely used in the editor

* Update tests

* Update smoke test selector

* Update css
2022-11-01 08:00:38 -07:00
Sandeep Somavarapu fe882ab334 api feedback (#164470)
* api feedback
- remove critical log level
- move log level off to be 0

* handle off log level

* fix disabling log level in tests

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2022-11-01 10:41:19 -04:00
João Moreno b0da2ea781 fix Alpine builds with npm custom registry (#165137)
fixes #165135
2022-11-01 07:28:06 -07:00
Alex Ross ceaf7a431b Update grammars (#165100) 2022-11-01 07:21:34 -07:00
João Moreno 04a05581d8 bump version (#165133) 2022-11-01 07:13:58 -07:00
João Moreno a2e787228f smoketests should not fail by bumping version in package.json (#165132)
related to #165118
2022-11-01 07:12:43 -07:00
João Moreno 18f1101f70 skip flaky test (#165150)
* skip flaky test

related to #165149

* skip the entire suite
2022-11-01 06:26:44 -07:00
João Moreno be022daa1a add 🚀 build tag to builds which go through publishing (#165145) 2022-11-01 04:15:50 -07:00
João Moreno 0a19bf0e8f fix inno setup build for non-insider qualities (#165143)
fixes #165142
2022-11-01 03:53:58 -07:00
Takafumi Umemoto 544d457855 Update to current Devcontainer extension image link (#163557) 2022-11-01 11:42:15 +01:00
Christof Marti f93ad8a41d Reduce unused exports (#164935) 2022-11-01 10:55:09 +01:00
Matt Bierner d1c401cbde Pick up latest TS for building VS Code (#165104)
* Pick up latest TS for building VS Code

* Pick up latest node typings

* Bump node types
2022-11-01 02:43:09 -07:00
Tyler James Leonhardt ad114d7540 Remove the 🥕 since we have modes in the go to file (#164437)
Fixes #163957
2022-11-01 09:40:48 +01:00
Matt Bierner 447e61a31f Revert "Bump version for Nov. (#165091)" (#165118)
This reverts commit 8b4642ab23.

This seems to be causing our builds to fail: https://dev.azure.com/monacotools/Monaco/_build/results?buildId=191117&view=logs&j=4801dce2-64f3-53d6-b366-d49a1977c639&t=d3816dfe-5f5f-5b74-f77f-0a43291213b6&l=22
2022-10-31 20:41:48 -07:00
Tyler James Leonhardt 9d55dde2d0 Fix #164630 (#165096)
* The true fix

* some code clean up
2022-10-31 20:39:23 -07:00
Tyler James Leonhardt 2e37cebf9b Remove a few exports (#165106)
Ref https://github.com/microsoft/vscode/issues/164941
2022-10-31 20:27:58 -07:00
Andrea Mah dbbf526d3d add trace logs for search parent debug (#165095)
* add trace logs for search parent debug
2022-10-31 20:27:40 -07:00
Jason Williams a46fb19d91 fix #154064 which was running the wrong taskgroups (#164983) 2022-10-31 23:19:10 -04:00
Matt Bierner 4bf630f00e Pick up latest markdown language service (#165093) 2022-10-31 19:52:21 -07:00
Joyce Er 4b759b0492 Improve log message for aborting resuming an edit session (#165108) 2022-10-31 18:26:57 -07:00