Commit Graph

4683 Commits

Author SHA1 Message Date
Matt Bierner
84607a2fe2 Fix some always true/false errors in codebase (#223359)
* Fix some always true/false errors in codebase

Testing out latest TS nightly that can identify when an expression is always true/false. This caught a few likely coding mistakes in our codebase

Unsure about the intent in some of these cases but I've tried my best to understand them. Pinging relevant code owners for the confusing cases

* Bump TS version

* Fix unreachable in build scripts

* Bump versions

* restore intent

* Revert package.json change

* Fixing a few new layer checker errors

These are global in node now

* Skip lib check in integration project

* One more skiplibcheck

* More skip lib

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2024-07-30 15:37:27 -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
Michael Lively
27aff7d42a Chore: bump to 1.93.0 (#223806)
chore: version bump
2024-07-25 17:50:41 -07:00
Robo
56bfd21a7c Revert "chore: bump electron@30.2.0 (#222756)" (#223494)
* Revert "chore: bump electron@30.2.0 (#222756)"

This reverts commit 6c199b09f8.

* chore: bump distro
2024-07-24 06:49:38 -07: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
Paula
ce59c80fef Update distro hash 2024-07-22 16:42:49 -07:00
Connor Peet
642700c7ef testing: implement related code (#222252)
* wip

* testing: implement related code

This implements a simple provider-based related code feature, and
adopts it in the selfhost test extension.

It's surfaced to users via automatic delegation in the "run tests at
cursor" command, which I feel like it very natural. I also add two
commands which reuse the `SymbolNavigationAction` to implement
go to/peek views using the references infrastructure. The upstream
change involved in this is the addition of the "go to" preference
for tests.

cc @jrieken @mjbvz

* bump distro for API enablement
2024-07-22 10:52:40 -07:00
Robo
6c199b09f8 chore: bump electron@30.2.0 (#222756)
* chore: bump electron@30.2.0

* chore: update build for node.js v20.15.0

* chore: bump distro
2024-07-22 08:24:55 -07:00
Christof Marti
0fed34a78d Update distro hash 2024-07-19 19:20:26 +02:00
isidorn
67b286cd74 update distro hash in package.json 2024-07-19 16:51:05 +02:00
Bhavya U
6656043f47 Remove code for disabled chat welcome view exp (#222000)
* Remove code for disabled chat welcome view exp

* Update distro
2024-07-17 17:06:13 -07:00
Daniel Imms
aafff78959 Merge branch 'main' into tyriar/xterm_240715 2024-07-16 03:59:36 -07:00
Matt Bierner
286795f0c5 Pick up latest TS for building VS Code (#221743) 2024-07-15 13:06:34 -07:00
Daniel Imms
a910c609ac Update xterm, add overview ruler top border
Fixes #221723
2024-07-15 10:19:20 -07:00
Robo
cf08702ebb fix: prompt auth dialog for basic requests from utility process (#221552)
* fix: prompt auth dialog for basic requests from utility process

* chore: bump distro
2024-07-12 18:08:15 -07:00
Christof Marti
c173bd98a8 Pick up @vscode/proxy-agent 0.22.0 2024-07-12 13:49:38 +02:00
Daniel Imms
6d7dc0072b Merge pull request #221500 from microsoft/tyriar/scrollbar
Update xterm and integrate new scroll bars
2024-07-11 16:30:00 -07:00
Matt Bierner
18bf36a70b Pick up latest for building VS Code (#221514) 2024-07-11 15:12:05 -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
Raymond Zhao
65c251f355 bump distro (#221309) 2024-07-10 01:14:50 +02: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
Tyler James Leonhardt
ad476c3416 Bump that distro (#221226)
:drumroll:
2024-07-09 01:07:00 +02:00
Daniel Imms
cb8ae71b6b Merge remote-tracking branch 'origin/main' into tyriar/gpu_exploration 2024-07-08 11:26:54 -07:00
Benjamin Pasero
e5e9b167bf eng - add open module in preparation for default browser support (#220273) 2024-07-07 12:13:41 +02: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
Matt Bierner
7a580b79e5 Pick up latest TS for building VS Code (#219870) 2024-07-03 09:08:38 -07:00
Johannes Rieken
91bad301f1 update test-web to 0.0.56 (#219866) 2024-07-03 16:46:35 +02:00
Benjamin Pasero
af5cf640d8 🆙 "@playwright/test": "^1.45.0" (#219324) 2024-07-01 12:23:41 +02:00
Benjamin Pasero
943b47ae17 debt - adopt nlsCoreBaseUrl (#219165) 2024-06-29 17:47:45 +02:00
Benjamin Christopher Simmonds
cb1514f9a6 Bump version to 1.92.0 (#219067) 2024-06-28 10:08:40 +02:00
Christof Marti
9a2ef8f356 Update distro hash 2024-06-27 15:47:54 +02:00
Michael Lively
1435b366b2 Chore: OSS tool (#217642)
* oss tool

* update distro hash
2024-06-25 03:13:26 +02:00
Rob Lourens
b66a2b091e Bump distro (#217382) 2024-06-24 20:53:17 +02:00
Christof Marti
3cdb165262 Update to @vscode/proxy-agent 0.21.0 2024-06-24 19:37:11 +02:00
Sandeep Somavarapu
9a56f75db6 update distro (#216733) 2024-06-20 19:46:23 +02:00
Robo
4b19907cc8 fix[x11]: crash in gpu process with software compositor (#216661)
* fix[x11]: crash in gpu process with software compositor

* chore: bump distro
2024-06-20 07:02:04 +02:00
Matt Bierner
1fc7961ad5 Pick up latest TS for building VS Code (#216552) 2024-06-19 00:26:38 +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
Benjamin Pasero
fd9c4c8559 🆙 distro (#215971) 2024-06-17 19:11:41 +02:00
Christof Marti
1474750c61 Update to @vscode/proxy-agent 0.20.0 2024-06-13 23:10:27 +02:00
Matt Bierner
065370a15b Pick up latest TS for building VS Code (#215329) 2024-06-12 21:26:11 +02:00
Daniel Imms
5d34092d6d Merge branch 'main' into tyriar/193508 2024-06-06 07:14:42 -07:00
Sandeep Somavarapu
a9a4ef8a71 update-distro (#214302) 2024-06-05 09:02:59 +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