Commit Graph

331 Commits

Author SHA1 Message Date
Benjamin Pasero
b591f33513 🆙 jschardet@3.1.4 (#230197) 2024-10-01 08:19:15 +02:00
Daniel Imms
3f5fa8a8bb xterm@5.6.0-beta.65
Fixes #230010
2024-09-28 06:50:53 -07:00
Robo
1926933184 build: add npmrc to remote/web folder (#229330) 2024-09-23 06:57:05 +02: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
Alex Ross
f4b5fd6791 Use 0.0.3 @vscode/tree-sitter-wasm (#228235) 2024-09-11 15:44:04 +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
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
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
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
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
Daniel Imms
30e78576e7 Support for OSC52 clipboard access
Fixes #193508
2024-06-04 11:32:59 -07: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
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
Daniel Imms
a2c50be101 Update xterm
Fixes #210833
2024-04-22 13:41:49 -07:00
Daniel Imms
5b0f10e26e Update xterm to bring in onWriteParsed API 2024-04-18 16:40:16 -07:00
Daniel Imms
2a3c5c8115 Update xterm
Fixes #170963
2024-04-12 17:00:03 -07:00
Daniel Imms
26a111b3a2 Update xterm.js
Fixes #208102
2024-03-20 12:15:08 -07:00
Daniel Imms
16b2e2d68e Update xterm.js
Fixes a glyph scaling issue among other minor things
2024-03-18 10:30:57 -07:00
Daniel Imms
b7b436a657 Support rescaling overlapping glyphs
Fixes #206342
2024-03-14 10:02:30 -07:00
Daniel Imms
ad1373ca5a Update xterm 2024-03-04 06:26:29 -08:00
Daniel Imms
f348847d77 Update xterm
Fixes #204690
2024-02-29 08:46:51 -08:00
Daniel Imms
dbdf5813d7 Update xterm.js
Fixes #204104
2024-02-02 11:15:55 -08:00
Daniel Imms
e13013289e Update xterm
Fixes #200428
2024-01-30 12:02:53 -08:00
Daniel Imms
d4e9b63073 Update xterm
Fixes #199848
2023-12-20 10:09:50 -08:00
Daniel Imms
23aa0ceb42 Update xterm
Fixes #200428
2023-12-19 09:20:30 -08:00
Daniel Imms
677f2baba3 Update xterm
Fixes #200469
2023-12-15 09:44:57 -08:00
Daniel Imms
32bf697587 Update xterm, adopt wheel event handler 2023-12-12 05:45:30 -08:00
Daniel Imms
11601f762a Update xterm.js
This fixes several issues thanks to xtermjs/xterm.js#4910
2023-12-08 12:26:08 -08:00
Daniel Imms
98c9171f88 Update xterm, adopt new SerializeAddon range API
Fixes #197737
2023-11-09 10:45:57 -08:00
Daniel Imms
ccff5bd116 Add serialize addon to web 2023-11-08 11:14:36 -08:00
Daniel Imms
75924b36d9 @xterm/xterm@5.4.0-beta.13 (49eab6b)
Fixes #197385
Fixes #197730
2023-11-08 06:01:48 -08:00
Daniel Imms
cdfecb4474 Update xterm
Fixes #197254
2023-11-02 11:08:27 -07:00
Daniel Imms
3a351bdc29 Move to xterm scoped image addon 2023-11-01 14:47:59 -07:00
Daniel Imms
9d1bc6ae59 Move to scoped xterm.js packages
xterm-addon-image is excluded currently as there are some publishing
issues.

See xtermjs/xterm.js#4859
2023-11-01 12:15:41 -07:00
Daniel Imms
0a06579a7f Update xterm.js
Fixes #151181
2023-10-31 07:39:09 -07:00
Daniel Imms
5d945cf097 Make xterm.js multi-window aware
Fixes #195577
2023-10-17 11:50:45 -07:00
Daniel Imms
b40a630d8a Adopt documentOverride in xterm.js
Fixes #195595
2023-10-13 14:05:05 -07:00