Commit Graph

1343 Commits

Author SHA1 Message Date
Raymond Zhao b7e0a87054 chore: run npm audit fix (#323165) 2026-06-29 13:31:39 -07:00
dependabot[bot] 2fd704bc68 build(deps): bump markdown-it from 12.3.2 to 14.2.0 in /extensions/markdown-language-features (#321532)
build(deps): bump markdown-it in /extensions/markdown-language-features

Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 12.3.2 to 14.2.0.
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/markdown-it/compare/12.3.2...14.2.0)

---
updated-dependencies:
- dependency-name: markdown-it
  dependency-version: 14.2.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2026-06-29 19:05:37 +00:00
Henning Dieterichs a9f0f574fc adds proposed createQuickDiffInformation API, adopts it in markdown editor. (#323470)
* adds proposed createQuickDiffInformation API, adopts it in markdown editor.

* Extends textEditorDiffInformation proposal instead of having new quickDiff proposal
2026-06-29 16:37:26 +00:00
Henning Dieterichs 5b839e0737 Updates markdown editor (#322577)
* updates markdown editor

* fixes class names
2026-06-23 10:40:07 -07:00
Henning Dieterichs 9837699041 Fixes markdown editor dirty on open 2026-06-22 20:16:03 +02:00
dependabot[bot] 93c7f885fc Bump dompurify from 3.4.8 to 3.4.10 in /extensions/markdown-language-features (#321534)
Bump dompurify in /extensions/markdown-language-features

Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.4.8 to 3.4.10.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.4.8...3.4.10)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.4.10
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-16 23:17:53 +00:00
Henning Dieterichs d56b538686 Updates markdown editor & implements code block syntax highlighting 2026-06-16 23:46:07 +02:00
Matt Bierner 3dbb91368e Update caller 2026-06-12 08:49:16 -07:00
Matt Bierner 096cabf984 Merge pull request #320845 from microsoft/dev/mjbvz/useful-gull
Pick up latest markdown language service
2026-06-11 10:29:02 -07:00
Matt Bierner 32702666dc Pick up latest markdown language service 2026-06-10 14:08:55 -07:00
Henning Dieterichs 5286e6ed9e Fixes builtin markdown editor paths 2026-06-10 17:58:14 +02:00
Matt Bierner 1b41b1791a Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-06-09 14:18:44 -07:00
Matt Bierner b991a753d2 spelling 2026-06-09 14:15:49 -07:00
Matt Bierner e20576f6b4 Add basic contributing guide for markdown extension 2026-06-09 14:15:05 -07:00
Henning Dieterichs ffd6d6e703 Fixes CI 2026-06-09 09:49:57 +02:00
Henning Dieterichs 58c0981e26 Registers @vscode/markdown-editor in markdown-language-features extension 2026-06-09 09:49:57 +02:00
Matt Bierner 2793643ace Bump dompurify versions to 3.4.8
Fixes #313084

Already did this for the copy in core
2026-06-04 14:41:05 -07:00
Matt Bierner d3bdd4b0f6 Merge pull request #319960 from microsoft/dev/mjbvz/devoted-roadrunner
Use stable position for markdown reopen with
2026-06-04 14:22:56 -07:00
Matt Bierner ac8b0f3344 Use stable position for markdown reopen with
Fixes #319723
2026-06-04 10:11:52 -07:00
Matt Bierner 4eee2b2f6d Pass along correct lsp type
Fixes #298733
2026-06-04 09:31:54 -07:00
dileepyavan ca425775e4 Revert "Optimize shared built-in extension dependencies (#318045)" (#319774)
This reverts commit 26e580781a.
2026-06-03 17:21:27 +00:00
Dmitriy Vasyura 26e580781a Optimize shared built-in extension dependencies (#318045) 2026-06-03 08:49:40 +00:00
Dmitriy Vasyura 92fe1dc89b Clear timeouts/intervals on dispose in extensions (#319125)
* Clear timeouts/intervals on dispose in chat extension

* Revert uneeded change

Co-authored-by: Copilot <copilot@github.com>

* Revert unneeded change.

* Dispose timers

Co-authored-by: Copilot <copilot@github.com>

* Type fix

* Clear timeouts/intervals on dispose in extensions

---------

Co-authored-by: Copilot <copilot@github.com>
2026-05-30 12:19:14 +00:00
Raymond Zhao 49d14f8afc chore: npm audit fix (#318614)
* chore: npm audit fix

* Remove merge conflict

* chore: bump build
2026-05-28 21:53:33 +00:00
Robo 8748be1f1a feat: update to Electron v42 (#316661)
* feat: update to Electron v42

* chore: drop support for arm 32-bit server

* chore: update types/node to v24.x

* chore: temporarily lock the target version for build/

* chore: update v8-source-location.patch

* chore: fix clippy

* chore: cleanup armhf server ci config

* fix: broken lock file

* fix: c++ version requirement for sysroot builds

* fix: msvc compilation of native modules

* fix: handle rejections for fire-and-forget loadurl

* fix: windows build

* ci: fix teardown of daemon process on windows

```
2026-05-15T20:55:09.7717127Z Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\win\async.c, line 76
```

* chore: update deb and rpm dependencies

* chore: update version info

* spec: improve reliablity of offscreencanvas tests

* spec: retry EPERM failures on teardown

* chore: update x86_64 rpm deps

* ci: exclude server binskim for armhf

* temp: bump distro

* test: ignore deprecation warnings treated as errors

* chore: update lockfile

* fix: externalize electron from auth extension bundles

 Error: Cannot find module 'c:\Users\cloudtest\AppData\Local\Temp\vscode-sanityQvCaze\vscode-server-win32-x64-web\extensions\github-authentication\dist\install.js'
     at Module._resolveFilename (node:internal/modules/cjs/loader:1476:15)
     at wrapResolveFilename (node:internal/modules/cjs/loader:1049:27)
     at defaultResolveImplForCJSLoading (node:internal/modules/cjs/loader:1073:10)
     at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1094:12)
     at Module._load (node:internal/modules/cjs/loader:1262:25)
     at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
     at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
     at node:internal/main/run_main_module:33:47 {
   code: 'MODULE_NOT_FOUND',
   requireStack: []
 }

 Node.js v24.15.0

* test: make wsl sanity tests reliable

* chore: bump electron@42.1.0

* temp: bump distro

* chore: bump electron@42.2.0

* chore: bump distro

* chore: update debian dependencies

* Revert "test: make wsl sanity tests reliable"

This reverts commit b3f2b63e83.

* test: do not fail for deprecation warnings

* chore: patch node24 server binary for wsl1

* chore: address review feedback

* chore: revert global navigation error handler in browserview

* chore: bump distro
2026-05-27 14:57:41 +02:00
Matt Bierner f4c17b347c Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-21 13:03:53 -07:00
Matt Bierner bed9e7518b Show a warning when showing the rendered markdown diff
Our current implementation has some bugs that can hide changes. However even after fixing these, I'm not 100% confident a unexpected change wont sneak through. Best to make users aware of this while also trying to prevent this
2026-05-21 11:43:57 -07:00
Matt Bierner 66fa7c959a Make sure npm run watch also checks extension media builds 2026-05-20 15:52:30 -07:00
Matt Bierner 42a80c7cbe Merge pull request #317459 from mjbvz/dev/mjbvz/successful-roundworm
Fix some bugs and clean up how markdown change indicators are rendered
2026-05-19 23:04:57 -07:00
Matt Bierner cc02f7d4ce Fix some bugs and clean up how markdown change indicators are rendered 2026-05-19 22:23:55 -07:00
Matt Bierner 4d8a4fdb18 Fix a few simple anys in extensions 2026-05-19 15:38:59 -07:00
Matt Bierner 8bc23c9116 Aligning more markdown wording and UI
- Use `frontmatter` (one word)

- Align  `Show source` icon and text with the reopen with

- Make the `Open preview` in explorer use `reopen with` instead so you can nicely toggle the opened preview
2026-05-15 10:53:34 -07:00
Matt Bierner 719badd255 Merge pull request #316329 from microsoft/dev/mjbvz/profitable-marmot
Let markdown preview scripts mark themselves as modules
2026-05-13 16:09:58 -07:00
Matt Bierner 421cab3b7f Let markdown preview scripts mark themselves as modules
Fixes #316328
2026-05-13 15:42:00 -07:00
Matt Bierner 268eaf471d Add title and context menu for frontmatter in markdown preview
Follow up on #316140

Makes it easier to discover what the table is and hide it
2026-05-13 13:43:05 -07:00
Matt Bierner 06115d9e8f Add improved markdown front matter rendering
Fixes #316140

Let's try with `table` as the default initially but we can switch to `hide` is we prefer
2026-05-12 16:33:15 -07:00
Matt Bierner c60ffe9e0c Merge pull request #315425 from mjbvz/dev/mjbvz/regional-nightingale
Various improvements and fixes for markdown diff rendering
2026-05-09 00:10:23 -07:00
Matt Bierner f856c4c486 Various improvements and fixes for markdown diff rendering
For  #315174

Adding better inline diff indicators
2026-05-08 19:10:55 -07:00
Matt Bierner a8479a5493 Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-08 17:01:02 -07:00
Matt Bierner 02103bdd48 Better restrict when toggle preview keybinding is enabled
Fixes #315171
2026-05-08 16:16:03 -07:00
Matt Bierner 962c0a02b8 Use a broadcast channel for md preview diff scroll sync
This makes scroll sync faster by using a broadcast channel instead of the normal vscode webview api. This means the two webviews can communicate with each other directly instead of having to go through the extension host and renderer each time
2026-05-07 14:41:06 -07:00
Matt Bierner 240f639bbb Add inner highlighting support in md diff preview 2026-05-07 10:14:44 -07:00
Matt Bierner fbdf54506e Add document diff api proposal
This adds a propose api for computing the diff between two files. Custom diff editors can use this to make sure they have the same diffs that VS Code would use in it's built-in diff editor
2026-05-07 00:16:39 -07:00
Matt Bierner c21fce5c94 Merge branch 'main' into dev/mjbvz/only-gopher 2026-05-05 23:56:04 -07:00
Matt Bierner d2f4a23b5e Merge pull request #314588 from microsoft/dev/mjbvz/yodelling-fowl
Disable doubleClickToSwitchToEditor and markEditorSelection by default
2026-05-05 18:03:35 -07:00
Matt Bierner d926cd7639 Merge pull request #314585 from microsoft/dev/mjbvz/xeric-swallow
Enable markdown image context menu in custom editors too
2026-05-05 16:56:16 -07:00
Matt Bierner 7efafecbbe Disable doubleClickToSwitchToEditor and markEditorSelection by default
Fixes #314587
2026-05-05 16:41:34 -07:00
Matt Bierner dbdeef41f6 Enable markdown image context menu in custom editors too 2026-05-05 16:38:02 -07:00
Matt Bierner 2be149f698 Tweak markdown reopen command wording and icon
Trying to align these with the commands from core
2026-05-05 16:36:57 -07:00
Matt Bierner 9a6cabf884 Fix some bugs around preserving location when switching current tab to md preview 2026-05-05 08:21:16 -07:00