Commit Graph

97672 Commits

Author SHA1 Message Date
Daniel Imms d0ca1d2110 Always create DecorationAddon, synthetic data tests 2022-06-20 10:30:41 -07:00
Daniel Imms 980fc67973 Create write data to terminal dev command
Part of #152658
2022-06-20 09:20:21 -07:00
John Murray c8663870df Preserve spaces in testing labels using icons (#152630) (#152646) 2022-06-20 07:40:59 -07:00
Daniel Imms 8575a26b4e Merge pull request #152490 from microsoft/tyriar/152451_2
Use new method for settings in terminal split cwd smoke test
2022-06-20 07:14:14 -07:00
Robo 63ea7eae19 chore: bump electron@18.3.4 (#152624) 2022-06-20 12:31:20 +02:00
Alexandru Dima 5dd9d5d491 Fix port argument (#152541) (#152617) 2022-06-20 10:32:27 +02:00
Matt Bierner 4c72dedb4a Optimize markdown workspace scanning (#152563)
* Optimize markdown workspace scanning

- Adds cache for markdown file
- Avoid reading non-markdown files from disk (when we expect markdown files)
- Use `range.contains(pos)` instead of `range.intersects(range)`

* Don't remove cached document on change

We only want to invalidate the cached document when it is first opened (since the cached version is the one from disk). Otherwise we can use the live version of the doc
2022-06-19 09:40:10 -07:00
Matt Bierner 5a175207de Improve markdown link regexp (#152533)
* Improve markdown link regexp

This makes the markdown link regexp more readable and also combines the two regular expressions we were running

* Fixed backtracking
2022-06-19 06:25:54 +02:00
Logan Ramos 5ffcfde11d Fix 1DS part A internal flag (#152515) 2022-06-17 17:35:46 -07:00
Matt Bierner 78597fd026 Don't hardcode use of github slugifier (#152507)
Use `engine.slugifier` for this instead
2022-06-17 17:25:54 -04:00
David Dossett 993da80fa2 Update codicons (#152516) 2022-06-17 20:52:49 +00:00
Miguel Solorio 187c93d88f Update codicons (#152512)
- Add `map` and `map-filled`
- Remap `debug-stackframe-dot` to `circle-small-filled`
- Add `circle-small`
https://github.com/microsoft/vscode-codicons/commit/2b98cb89ecb7b66cf6d41063aba4e246ee68e5be
2022-06-17 13:21:32 -07:00
Logan Ramos 0edb88f3b5 1DS appender for the web (#152489)
* 1ds web appender

* Start testing web
2022-06-17 15:10:04 -04:00
Matt Bierner dea813ff7c Add table of contents provider abstraction (#152504)
We currently re-compute the same table of contents for markdown files multiple times. This is because multiple language features all need table of contents

With this change, we introduce a new `TableOfContentsProvider` which maintains a cache of the table of contents per file. This provider is then passed into every caller that needs a toc
2022-06-17 18:20:02 +00:00
Logan Ramos 5947c2a93c Bump distro (#152483) 2022-06-17 10:18:36 -07:00
Benjamin Pasero 3c65f5295d api - polish USB command (#152424) 2022-06-17 10:15:38 -07:00
Daniel Imms 76ebe01ab7 Merge pull request #152408 from microsoft/tyriar/142855
Restore old buffers if no additional interactions happened
2022-06-17 10:12:57 -07:00
Daniel Imms 012a409a51 Make sure _serializer is set before calling setTitle 2022-06-17 10:04:23 -07:00
Daniel Imms 13e1d73a95 Merge pull request #152486 from microsoft/tyriar/152436
xterm-addon-webgl@0.12.0-beta.39
2022-06-17 08:53:46 -07:00
Daniel Imms 8e29aa44f7 Use new method for settings in terminal split cwd smoke test
I doubt this will fix the flake, but it's the right way to do things now.

Part of #152451
2022-06-17 08:44:31 -07:00
Daniel Imms 5b3213ac9a Merge pull request #152484 from microsoft/tyriar/152451
Disable terminal smoke tests on desktop/remote
2022-06-17 08:39:22 -07:00
Daniel Imms 1ed268719e xterm-addon-webgl@0.12.0-beta.39
Fixes #152436
2022-06-17 08:31:00 -07:00
Daniel Imms 1ca9725a3b Disable terminal smoke tests on desktop/remote
Fixes #152451
2022-06-17 08:18:49 -07:00
Alexandru Dima 252c65540d Adopt the same export patterns in vs/css as in vs/nls and bring over tests (#152396)
* Adopt the same export patterns in `vs/css` as in `vs/nls` and bring over tests

* Fix problem with loading nodejs modules
2022-06-17 17:12:27 +02:00
Miguel Solorio b70e64d36b Increase color contrast for list highlight (#152351)
Increase color contrast (Refs #152184)
2022-06-17 07:54:16 -07:00
Martin Aeschlimann 083cf01e10 json indent pattern: handle escape characters (#152475) 2022-06-17 14:31:03 +00:00
Alexandru Dima a3f6ec95e8 Merge pull request #152473 from microsoft/alexd/issue-151235
Always render the hover on the line of the anchor
2022-06-17 16:20:03 +02:00
Alexandru Dima 2e91c26f1d Avoid old import syntax (#152471) 2022-06-17 14:15:55 +00:00
Alex Dima 5ca287646d Fixes #151235: Always render the hover on the line of the anchor even if the hover provider returns a larger hover range 2022-06-17 16:02:21 +02:00
Alex Dima a6c39bc1fc Extract hover range computation to a separate method 2022-06-17 15:51:15 +02:00
Martin Aeschlimann a10626ee06 No warning on unknown product icon name (#152468) 2022-06-17 15:36:49 +02:00
Alexandru Dima 47652af0b6 Improve env variable handling around extension host connection type (#152466) 2022-06-17 09:20:53 -04:00
Alex Ross 0f05ed4758 Fix workbench.action.submitComment (#152464)
Fixes #151739
2022-06-17 14:34:37 +02:00
Johannes Rieken d20d9d6558 add cross-origin-isolated to web-worker ext host iframe (#152462)
add `cross-origin-isolated` to web-worker ext host iframe, related https://github.com/microsoft/vscode/issues/137884
2022-06-17 14:34:11 +02:00
Johannes Rieken 5ff4901e69 joh/issue150907 (#152447)
* Use variants of the foreground color as CC border

* use panel border color for CC border default
2022-06-17 14:12:50 +02:00
Matt Bierner b6b8d11032 Try aligning tree view drop handling (#150468)
* Try aligning external drop handling

Tree views provided the first public drag and drop api. We've since also adopted drag and drop for dropping into editors as well, which resulted in some duplicated code between it and the tree view implementation

This PR tried to better align the two by:

- Use `extractEditorsDropData` to add the uriList
- In the tree view, use `toVSDataTransfer` to convert the event to a `VSDataTransfer`
- Remove `convertKnownMimes` as `extractEditorsDropData` handles this now

* Add uriList for drag

* Also handle 'DataTransfers.RESOURCES'

* Fix monaco
2022-06-17 13:21:15 +02:00
Alex Ross 4e53b01452 Pull in cpp grammar fixes (#152449) 2022-06-17 11:17:09 +00:00
Martin Aeschlimann 630809a1ea html: observe insertFinalNewline (#152446) 2022-06-17 12:38:36 +02:00
Johannes Rieken 223ea2c4b5 Merge pull request #152216 from qingpeng9802/fix-symbolkindicon 2022-06-17 12:30:43 +02:00
Johannes Rieken d545be6a89 Merge pull request #150272 from microsoft/joh/cheap-fox 2022-06-17 12:21:37 +02:00
Robo dd0d79406e fix: OOM crash with linux smoke tests (#152440) 2022-06-17 03:04:20 -07:00
Benjamin Pasero ff7bf7a875 storage - add a test to assert that invalid path does not hang (#152441) 2022-06-17 11:57:27 +02:00
Benjamin Pasero 0662ad271a tests - skip flake (#152145) (#152442) 2022-06-17 11:56:58 +02:00
Benjamin Pasero 59d9fb73bc storage - do not attempt to close when path does not exist (#152438) 2022-06-17 09:16:33 +00:00
Johannes 4962bcf908 for now disable traffic-light updating 2022-06-17 11:09:29 +02:00
Johannes fffc487be0 Merge branch 'main' into joh/cheap-fox 2022-06-17 11:06:57 +02:00
Johannes Rieken 4cbbc0b4ee Merge pull request #152212 from babakks/fix-snippet-parser-assertion 2022-06-17 10:57:52 +02:00
Benjamin Pasero 626fd8a6c7 fix #152240 (#152431) 2022-06-17 08:32:53 +00:00
Matt Bierner 623f55f437 Refactor markdown language features (#152402)
(sorry for the size of this PR)

This change cleans up the markdown language features by making the following changes:

- Use `registerXSupport` public functions to register these
- Expose the slugifier the `MarkdownEngine` uses. You never want to use a different one if you already have a markdown engine
- Sort of clean up names. I'd introduced a bunch of confusing names while iterating in this space. What I'm working towards:

    - `Computer` — Stateless thing that computer data
    - `Provider` — Potentially stateful thing that provides data (which may be cached)
    - `VsCodeProvider` — The actual implementation of the various vscode language features (which should only be used by VS Code and in tests, not shared with other features)
- Introduce `MdLinkProvider` to avoid recomputing links for a given document. Also use this to hide more internals of link computation
2022-06-17 10:25:52 +02:00
Henning Dieterichs 54f5758f81 Merge pull request #152364 from microsoft/3wm 2022-06-17 10:24:45 +02:00