Commit graph

550 commits

Author SHA1 Message Date
Benjamin Pasero b591f33513
🆙 jschardet@3.1.4 (#230197) 2024-10-01 08:19:15 +02:00
Daniel Imms 0d9af1854b
Merge pull request #230042 from microsoft/tyriar/xterm_240927
xterm@5.6.0-beta.65
2024-09-28 08:10:04 -07:00
Daniel Imms 3f5fa8a8bb
xterm@5.6.0-beta.65
Fixes #230010
2024-09-28 06:50:53 -07:00
Daniel Imms 13ac4f2de2
node-pty@1.1.0-beta22
Brings back fix that was reverted for #75141
2024-09-27 09:59:33 -07:00
Christof Marti 74b0694b19 Roll back to @vscode/proxy-agent 0.22.0 (#228872) 2024-09-26 17:44:17 +02:00
Daniel Imms 982676e83d
Remove unused module 2024-09-21 10:39:07 -07:00
Daniel Imms 41083a6611
xterm@5.6.0-beta.64
Fixes #224750
2024-09-20 11:21:50 -07:00
Alex Ross 0daa65ac43
Adopt @vscode/tree-sitter-wasm 0.0.4 (#228988) 2024-09-18 14:20:47 -07:00
Benjamin Pasero b846e4ec77
🆙 watcher (#228457) 2024-09-13 15:05:21 +02:00
Benjamin Pasero fbbda590ab
🆙 watcher (#228376) 2024-09-12 20:55:06 +02:00
Benjamin Pasero 498870d214
debt - update watcher ref (#228345) 2024-09-12 16:17:33 +02:00
Alex Ross f4b5fd6791
Use 0.0.3 @vscode/tree-sitter-wasm (#228235) 2024-09-11 15:44:04 +02:00
Benjamin Pasero 819cf1cd22
watcher - allow to use latest version of @parcel/watcher behind experimental setting (#228200)
We are pulling this in from `@bpasero/watcher` as a temporary solutionto:
- fix a deadlock issue in upstream
- allow to switch back and forth between the old and the new version
2024-09-11 13:21:52 +02:00
Robo b5a6aa14a8
feat: switch to npm as default package manager (#226927)
* feat: move from yarn to npm

* chore: skip yarn.lock files

* fix: playwright download

* chore: fix compile and hygiene

* chore: bump vsce@2.17.0

Refs 8b49e9dfdf

* test: update results for bat and sh colorizer tests

* fix: add missing lock files for windows

* fix: switch to legacy-peer-deps

* chore: update markdown-it@14.1.0

Refs 737c95a129

esbuild step in extensions-ci-pr was previously using markdown-it
from root which had userland punycode and was able to compile successfully.

* ci: increase pr timeout for windows integration tests

* chore: fix product build

* build: ignore extension dev dependency for rcedit

* build: fix working directory inside container

* build: fix dependency generation

* npm: update dependencies

* ci: use global npmrc

* ci: update cache

* ci: setup global npmrc for private npm auth

* build: fix extension bundling

* chore: sync npm dependencies

* ci: debug env variables for container

* ci: fix win32 cli pipeline

* build: fix npmrc config usage for build/ and remote/ dirs

* fix: windows build

* fix: container builds

* fix: markdown-language-features tests and bundling

```
[03:58:22] Error: Command failed: /Users/demohan/.nvm/versions/node/v20.15.1/bin/node /Users/demohan/github/vscode/extensions/markdown-language-features/esbuild-notebook.js --outputRoot /Users/demohan/github/vscode/.build/extensions/markdown-language-features
✘ [ERROR] Could not resolve "punycode"

    extensions/markdown-language-features/node_modules/markdown-it/lib/index.js:14:27:
      14 │ var punycode     = require('punycode');
         ╵                            ~~~~~~~~~~

  The package "punycode" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
```

Adds userland package based on beed9aee2c

* fix: container builds for distro

* chore: update yarn occurrences

* fixup! chore: bump vsce@2.17.0

Uses the closest version to `main` branch that does not
include d3cc84cdec
while still having the fix 8b49e9dfdf

* chore: sync npm dependencies

* chore: sync npm dependencies

* chore: sync npm dependencies

* chore: throw error when yarn is used for installation

* chore: add review feedback

* chore: switch exec => run where needed

* chore: npm sync dependencies

* fix: markdown-language-features bundling

```
✘ [ERROR] Could not resolve "punycode"

    extensions/markdown-language-features/node_modules/markdown-it/lib/index.js:14:27:
      14 │ var punycode     = require('punycode');
         ╵                            ~~~~~~~~~~

  The package "punycode" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
```

Adds missing userland package based on markdown-it/markdown-it@beed9ae,
can be removed once we update markdown-it >= 14.1.0

* ci: rename no-yarn-lock-changes.yml

* chore: sync npm dependencies

* ci: restore no-yarn-lock-changes.yml

We can disable it in a separate PR to keep the required
checks happy and also need workflow edit perms.

* chore: sync npm dependencies

* ci: rebuild cache

* ci: fix no-package-lock-changes.yml

* chore: bump distro

* chore: rm yarn.lock files

* chore: rm yarn.lock files without dependencies

* chore: add vscode-selfhost-import-aid to postinstall dirs

* chore: bump distro
2024-09-06 22:18:02 +09:00
Daniel Imms ffbd0ab953
@xterm/xterm@5.6.0-beta.56
Part of #196795
2024-09-01 07:48:29 -07:00
Christof Marti f4b5f9f762 Update to @vscode/proxy-agent v0.23.0 (microsoft/vscode#173861) 2024-08-21 08:14:24 +02:00
Alex Ross 977f832a30
Simple tree sitter based syntax highlighting for typescript (#225252)
* Simple tree sitter based syntax highlighting for typescript

Part of #210475

* Implement onceIf using filter

* Mix monaco

* Fix tests

* Switch back to classic

* PR feedback

* Fix bug causing test failure

* Update tree-sitter-wasm

* Fix monaco editor tree shaking

* Fix running monaco checks on Windows

* Use dummy tree sitter service in standalone

* PR feedback
2024-08-19 21:56:31 +02:00
Alexandru Dima 4520f0f17a
update to vscode-textmate@9.1.0 (#225682) 2024-08-15 12:51:56 +02:00
Daniel Imms 22f65157a4
Update node-pty, use right binary on arm64
Fixes #225355
2024-08-12 07:48:17 -07:00
Daniel Imms 1495b65c64
node-pty@1.1.0-beta20
Brings in https://github.com/microsoft/node-pty/pull/703
2024-08-09 09:41:33 -07:00
Robo d288df1a9b
chore: update kerberos@2.1.1 (#225101)
* Revert "Revert "chore: bump kerberos" (#225084)"

This reverts commit 9af3636703.

* build: avoid dlopen kerberos deps on macOS

* ci: update cache

* chore: update rpm and deb dependencies
2024-08-08 07:30:03 +02:00
Raymond Zhao 9af3636703
Revert "chore: bump kerberos" (#225084)
Revert "chore: bump kerberos (#224992)"

This reverts commit 5eb2a65d50.
2024-08-07 13:07:08 -07:00
Raymond Zhao 5eb2a65d50
chore: bump kerberos (#224992)
* chore: bump kerberos

* Bump kerberos in remote as well
2024-08-07 10:39:42 -07:00
Daniel Imms 7873057bb3
Update conpty.dll
Part of microsoft/vscode#224488
2024-08-06 18:48:14 -07:00
Daniel Imms a9c14dd234
Update remote deps, add setting to test 2024-08-06 06:32:58 -07:00
Daniel Imms 7fe9562d4c
@xterm/xterm@5.6.0-beta.52
Fixes #224555
2024-08-05 12:37:51 -07:00
Alex Ross eb4633fe7f
Re-merge introduction of tree sitter (#223474)
* Make space for tree sitter

* Add the tree sitter wasm file

* Very naive tree-sitter syntax highlighting for html, with a layer breaker

* Update tree when content changes

* WIP for making abstract tokens class

* Handle theme changes

* Replace entire text model value with parse callback

* Perf improvements

* Add tree-sitter-typescript

* Add typescript + better initial parsing

* Refactor into tree parsing service and fix flaw in parse callback

* Remove things that aren't the parser service

* Add yielding

* Remove changes that aren't required for PR

* Remove more file changes

* Reduce yield to 50 ms

* Fix incremental parsing

* Try update node-abi

* Revert "Try update node-abi"

This reverts commit df28801e31.

* Update text buffer chunk api

* fix build

* Remove tree-sitter dependency

* Adopt new, as yet unpublished, `@vscode/tree-sitter-wasm` package

* Use published `@vscode/tree-sitter-wasm` package

* Break `TreeSitterTree` and `TreeSitterParserService` into better pieces
and:
- document the order of editor changes
- use service injection where `TextModel` is constructed

* Fix tests

* Remove unneeded import

* Fix missing tree-sitter-wasm in web and remote

* Make package.jsons match

* Add @vscode/tree-sitter-wasm to web loader config

* Try using importAMDNodeModule

* PR feedback

* Add race condition test for changing language while loading language

* Use same timeout

* Queue content changes

* Remove override dispose

* Move queue into TreeSitterTree

---------

Co-authored-by: Peng Lyu <penn.lv@gmail.com>
2024-07-29 11:31:28 +02:00
Alex Ross 7ed4cdc56d
Revert "Add telemtry for how long it takes to parse files with tree-sitter" (#223317)
Revert "Add telemtry for how long it takes to parse files with tree-sitter (#…"

This reverts commit 6c15586994.
2024-07-24 08:47:51 +02:00
Alex Ross 6c15586994
Add telemtry for how long it takes to parse files with tree-sitter (#213565)
* Make space for tree sitter

* Add the tree sitter wasm file

* Very naive tree-sitter syntax highlighting for html, with a layer breaker

* Update tree when content changes

* WIP for making abstract tokens class

* Handle theme changes

* Replace entire text model value with parse callback

* Perf improvements

* Add tree-sitter-typescript

* Add typescript + better initial parsing

* Refactor into tree parsing service and fix flaw in parse callback

* Remove things that aren't the parser service

* Add yielding

* Remove changes that aren't required for PR

* Remove more file changes

* Reduce yield to 50 ms

* Fix incremental parsing

* Try update node-abi

* Revert "Try update node-abi"

This reverts commit df28801e31.

* Update text buffer chunk api

* fix build

* Remove tree-sitter dependency

* Adopt new, as yet unpublished, `@vscode/tree-sitter-wasm` package

* Use published `@vscode/tree-sitter-wasm` package

* Break `TreeSitterTree` and `TreeSitterParserService` into better pieces
and:
- document the order of editor changes
- use service injection where `TextModel` is constructed

* Fix tests

* Remove unneeded import

* Fix missing tree-sitter-wasm in web and remote

* Make package.jsons match

* Add @vscode/tree-sitter-wasm to web loader config

* Try using importAMDNodeModule

* PR feedback

* Add race condition test for changing language while loading language

* Use same timeout

* Queue content changes

* Remove override dispose

* Move queue into TreeSitterTree

---------

Co-authored-by: Peng Lyu <penn.lv@gmail.com>
2024-07-23 14:59:04 +02:00
Daniel Imms a910c609ac
Update xterm, add overview ruler top border
Fixes #221723
2024-07-15 10:19:20 -07:00
Christof Marti c173bd98a8 Pick up @vscode/proxy-agent 0.22.0 2024-07-12 13:49:38 +02:00
Daniel Imms 6cb6ee0a12
Latest xterm.js to fix decoration rendering 2024-07-11 12:14:39 -07:00
Daniel Imms 4f13098d4c
Update xterm and integrate new scroll bars
Fixes #211199
Fixes #216521
See xtermjs/xterm.js#5096
2024-07-11 11:27:41 -07:00
Robo 2fe0527205
chore: update to electron 30 (#215406)
* chore: update electron@30.0.9

* chore: update rpm deps

* chore: bump electron@30.1.2

* fix: update kerberos for Node.js 20.x

Refs c1f7acafb2

* fix: use shell when spawning .bat or .cmd files

Refs https://github.com/nodejs/node/commit/6627222409

* fix: update @vscode/test-electron@2.4.0

Refs 3f7a3cc5c5

* fixup! use shell when spawning .bat or .cmd files

* chore: bump nodejs@20.14.0 internal build

* ci: skip nodejsMirror for 20.14.0 due to missing builds

* fixup! use shell when spawning .bat or .cmd files

* chore: update debian deps

* fixup! skip nodejsMirror for 20.14.0 due to missing builds

* fix: universal build

- Updates vscode-universal-bundler to support x64ArchFiles option
- Kerberos starts building universal binaries which should now be
  skipped from lipo step via x64ArchFiles
- Skips bundling *.mk files

* chore: bump distro
2024-07-09 14:33:22 +09:00
Benjamin Pasero 3a0cc239a9
🆙 jschardet@3.1.3 (#220089) 2024-07-05 16:30:50 +02:00
Daniel Imms 60c991e9ef
xterm@5.6.0-beta.36
Fixes #219979
2024-07-04 09:01:56 -07:00
Christof Marti 3cdb165262 Update to @vscode/proxy-agent 0.21.0 2024-06-24 19:37:11 +02:00
Benjamin Pasero 214a425a0f
Revert "🆙 @parcel/watcher@2.4.0" (#216318)
Revert "🆙 `@parcel/watcher@2.4.0` (#215964)"

This reverts commit 406d1d726f.
2024-06-18 08:43:31 +02:00
Benjamin Pasero 406d1d726f
🆙 @parcel/watcher@2.4.0 (#215964) 2024-06-17 12:25:03 -07:00
Christof Marti 1474750c61 Update to @vscode/proxy-agent 0.20.0 2024-06-13 23:10:27 +02:00
Daniel Imms 30e78576e7
Support for OSC52 clipboard access
Fixes #193508
2024-06-04 11:32:59 -07:00
Benjamin Pasero 00f0f260b9
esm - remove graceful-fs (#214164)
* esm - remove `graceful-fs`

This module was used to patch `fs`, which is not supported in ESM. Besides, it makes us behave different from standard node.js that has meanwhile evolved from the time where `graceful-fs` was created.

* update comment

* update comment

* use more `fs.promises`

* 💄
2024-06-04 09:27:08 +02:00
Daniel Imms 1d415f3a90
xterm@5.6.0-beta.19
Fixes #213174
Fixes #213304
2024-06-03 14:29:55 -07:00
Daniel Imms 55a60f9ae9
Merge branch 'main' into tyriar/214142 2024-06-03 08:54:59 -07:00
Daniel Imms 1ec00252ae
xterm@5.6.0-beta.18
Fixes #214142
2024-06-03 08:53:24 -07:00
Benjamin Pasero 9b17067697
debt - 🆙 jschardet@3.1.2 (#214136) 2024-06-03 06:22:13 -07:00
Logan Ramos 05634b5fcd
Missing server node module (#213712) 2024-05-28 20:50:32 +02:00
Dirk Baeumer 24d4616d5e
Make VS Code compile on Windows with NodeJS >=20 2024-05-13 11:37:37 +02:00
Logan Ramos 45cf75ebe4
Update TAS client (#211484) 2024-04-26 22:38:14 +02:00
Daniel Imms 6cdd364d93
Remove canvas renderer
Fixes #209276
2024-04-26 05:54:23 -07:00