Commit Graph
99425 Commits
Author SHA1 Message Date
Peng Lyu 4a0555d948 Fix #149606. Refresh notebook editor focus on tab switching. (#157333) 2022-08-05 14:38:03 -07:00
Daniel Imms 7745a4595f Merge pull request #157270 from microsoft/tyriar/157083
Ignore pwsh shell integration script errors on Windows
2022-08-05 13:29:38 -07:00
Peng Lyu 0df35483c2 Align Cell Markup/Markdown (#157289) 2022-08-05 13:25:34 -07:00
Connor Peet 24547bcd8e labels: fix caching of unintended formatters (#157313)
* labels: fix caching of unintended formatters

`this.formatters` was the same list instance stored in the memo, so we
could cache things we didn't want to. I believe this caused #156135,
since things we _intend_ to cache from the extension host are parsed
from JSON and cannot be circular.

Fixes #156135

* labels: rev label storage to avoid previous bugs

Fixes #155844

* fixup! tets
2022-08-05 22:13:58 +02:00
Rob Lourens b3a5653de7 Don't show unbound breakpoint indicator for disabled breakpoints (#157319)
Fixes #157317
2022-08-05 13:01:46 -07:00
Connor Peet fbda011715 build: do proper hashing for built-in dependencies (#157295)
Fixes #157244
2022-08-05 13:00:33 -07:00
Rob Lourens 81978e984b Don't try to reveal an element that doesn't exist in the tree (#157309) 2022-08-05 15:34:40 -04:00
Andrea Mah 97d94fc23b Add delete and undo support for get most recently failed cell (#157032)
* "Go To" last failing cell should disappear when deleting that cell
Fixes #156299
2022-08-05 12:20:53 -07:00
Peng Lyu 60c53f18dd fix #155222. Adjust focus gutter indicator for markup cell. (#157286)
* fix #155222. Adjust focus gutter indicator for markup cell.

* 💄
2022-08-05 15:00:13 -04:00
Matt Bierner a97d84d375 Don't re-render markdown cells on initializeWebViewState (#157173)
Fixes #156914

I don't really understand what `initializeWebViewState` is doing here but there are two things:

- I've removed a list of renderers it creates and then never uses
- I've removed the part where it calls back into `initializeMarkup`. This should have already been called during `_warmupViewport`
2022-08-05 11:58:54 -07:00
Peng Lyu 0f9323e411 Fix #157301. Fix process explorer scrolling (#157305) 2022-08-05 11:48:01 -07:00
Logan Ramos 46b6f3eb64 Better telemetry adblock check (#157279)
Dynamic adblock check based on telemetry setting
2022-08-05 11:20:48 -07:00
Connor Peet f314f642da testing: ensure tests run in multiple profiles are in the same task (#157302) 2022-08-05 11:08:06 -07:00
Rob Lourens 8671778f8d Fix notebook execution test failures (#157290)
* Fix notebook execution test failures
An error thrown in an event handler did not cause the test to fail, using DeferredPromise. Adjusting the api event to account for Unconfirmed vs Pending states. And accounting for onDidChangeNotebookDocument being fired multiple times during a test, causing the test to complete early while execution was still happening.
Fixes #157067

* Remove log
2022-08-05 11:07:20 -07:00
Matt Bierner 6d24a019d8 Remove dom.createEventEmitter (#157296)
As far as I can tell this class has the same functionality as `DomEmitter`
2022-08-05 19:24:40 +02:00
Matt Bierner 427530e884 Remove event.ts stopEvent (#157182)
Remove event.stopEvent

This function has the same function as EventHelper.stop but is only used in one place
2022-08-05 19:16:45 +02:00
FantasqueX 02505d3499 Fix typos in files.ts (#157280)
Fix typo in files.ts

Signed-off-by: Letu Ren <fantasquex@gmail.com>
2022-08-05 09:52:55 -07:00
Connor Peet 39e77d74ca fix: parse errors in coverage command (#156837)
Fixes #155615
2022-08-05 18:27:40 +02:00
David Dossett 31cc3b8987 Fix suggestEnabledInput text selection contrast (#157172) 2022-08-05 09:05:12 -07:00
Alexandru Dima b524d80d9c Send a disconnection message via the management connection before killing the local extension host (#157269)
Fixes #156690: Send a disconnection message via the management connection before killing the local extension host
2022-08-05 17:37:45 +02:00
Daniel Imms 4cc23f1ecb Ignore shell integration script errors
Part of #157083
2022-08-05 07:05:28 -07:00
Isidor Nikolic 7888ff3a6b Merge pull request #157256 from microsoft/isidorn/distinctive-bovid
actionViewItem - make sure to also set the aira-label on the label element
2022-08-05 15:16:07 +02:00
Alexandru Dima c0560907e9 Merge pull request #157171 from mjbvz/able-rooster
Try using AbortController for disposable dom listeners
2022-08-05 15:06:16 +02:00
zhuoweiandAlex Ross 0fa4923c85 simpleFileDialog: ask user if we should create directory if it doesn't exist when saving (#152536)
When saving a file using the SimpleFileDialog (for example, when editing a file over SSH), if the directory doesn't exist, the user currently has to cancel saving, create the directory, then try saving again.

This adds a prompt to allow the user to create any missing directories from the save dialog directly.

Tested with the TestResolver in Code - OSS.

I wasn't able to get the Remote - SSH extension working in Code - OSS, but it should work there, since FileService.writeFile calls mkdirp to create missing folders, so this should work with all remote providers.

Fixes #71425.

Co-authored-by: Alex Ross <alros@microsoft.com>
2022-08-05 14:53:35 +02:00
isidor e60f7a9d8a actionViewItem - make sure to also set the aira-label on the label element
fixes #155880
2022-08-05 13:40:01 +02:00
Benjamin Pasero ce5685e34f themes - disable window border on windows (#157223) 2022-08-05 13:30:32 +02:00
Benjamin Pasero cc068ee992 sandbox - log if sandboxed in telemetry (#157221)
* sandbox - log if sandboxed in telemetry

* add todo
2022-08-05 12:06:07 +02:00
Benjamin Pasero 73fd3f1103 fix build (#157217)
* fix build

* fix compile

* flaky

* .
2022-08-05 09:16:20 +02:00
Aiday Marlen Kyzy 0af9e099c9 Merge pull request #157101 from microsoft/aiday/issue156999
Make sticky scroll disappear on the line before the end of the scope. Fixes #156999.
2022-08-05 09:15:59 +02:00
Matt Bierner 07e45c5a71 Fix package version (#157202)
Not sure why this was not caught by earlier builds
2022-08-04 21:40:06 -07:00
Matt Bierner 7b5e82ebcf Rename context to align with other webview context keys (#157174)
For #30066
2022-08-05 06:32:02 +02:00
Matt Bierner b012216211 Fix markdown images having duplicate ids (#157177)
Fixes #153144
2022-08-05 06:31:42 +02:00
Matt Bierner 5589b81019 Remove IStandardWindow (#157181)
This was added to support old IE versions which we no longer support https://github.com/microsoft/monaco-editor/issues/26
2022-08-05 06:22:28 +02:00
Matt Bierner 5908f17750 Remove a few IE8 conditions (#157179)
These should no longer be needed
2022-08-05 06:21:59 +02:00
Matt Bierner 7ab8872dfe Fix interactive and untitled notebook base uri (#157198)
Fixes #133698

For untitled/interactive, we should use the workspace as the base uri instead of using the notebook uri (which isn't meaningful in this case)
2022-08-05 05:01:07 +02:00
Daniel Imms 9ad7a04669 Merge pull request #156058 from babakks/add-fish-history
🎁 Add support for `fish` shell history
2022-08-04 18:28:19 -07:00
Daniel Imms a6e87ed2eb Handle edge case if fig is installed/activated 2022-08-04 17:08:32 -07:00
Daniel Imms 689f5036ea Merge branch 'main' into add-fish-history 2022-08-04 16:43:56 -07:00
Matt Bierner a43e9acd68 Add AbortController to core types 2022-08-04 16:26:18 -07:00
Mikhail PoandRob Lourens 81bc5f3326 Fix #147912 (multipleSessionWarning debug option) (#147914)
* Fix #147912 (multipleSessionWarning debug option)

* Fix #147912 (suppressMultipleSessionWarning debug option)

* Fix description and condition

Co-authored-by: Rob Lourens <roblourens@gmail.com>
2022-08-05 01:22:11 +02:00
1917657bd0 Changed the method in the indexTreeModel.test.ts (#148948)
* Changed the method in the indexTreeModel.test.ts

* Edited the method and the location

Co-authored-by: najmieh <najmieh.safarabadi@protonmail.com>
Co-authored-by: Connor Peet <connor@peet.io>
2022-08-04 16:17:18 -07:00
Matt Bierner 508486f886 Try using AbortController for disposable dom listeners
This makes `addDisposableListener` use an abortcontroller to unregister the listener. This lets us avoid having to null out references to the handler and the node
2022-08-04 16:07:38 -07:00
Matt Bierner 85c03e0238 clearNode should use replaceChildren (#157169)
The new-ish `replaceChildren` api lets us quickly remove all children of an html element without having to iterate through the children
2022-08-04 16:05:07 -07:00
Rob Lourens 5128ff1c6a Fix error when evaluating lazy expression that doesn't exist in the variables view (#157167)
Fixes #154753
2022-08-05 00:42:07 +02:00
Megan Rogge 35ed75909b use consistent key for reconnecting tasks (#157126)
* fix #156899

* get full buffer line
2022-08-04 15:39:54 -07:00
SteVen Batten af6c12f97c enable WCO by default (#157140) 2022-08-04 15:36:37 -07:00
Matt Bierner 0eec29c254 Remove dom.getElementsByTagName (#157163)
This was just calling document.getElementsByTagName
2022-08-05 00:30:59 +02:00
Matt Bierner 125ae4af29 Inline CurrentDragAndDropData (#157162)
This type is only used by the list. It makes sense to move it into the list class instead of having it as a generic concept. We can always move it back if needed
2022-08-05 00:29:29 +02:00
Joyce Er 631628bf31 🆙 distro (#157161) 2022-08-05 00:25:44 +02:00
Peng Lyu 1fcf6d942f Remove unused messages in nb webview (#157158) 2022-08-04 23:59:14 +02:00