Commit graph

1548 commits

Author SHA1 Message Date
Matt Bierner dd9e1d579c
Pick up latest TS for building VS Code (#198477) 2023-11-17 08:10:28 +01:00
Connor Peet a0b548807a
eng: add assertHeap method for memory assertions (#198334)
This adds an `assertHeap` function that can be used in tests. It
takes a heap snapshot, and asserts the state of classes in memory. This
works in Node and the Electron sandbox, but is a no-op in the browser.
Snapshots are process asynchronously and will report failures at the end
of the suite.

This method should be used sparingly (e.g. once at the end of a suite to
ensure nothing leaked before), as gathering a heap snapshot is fairly
slow, at least until V8 11.5.130 (https://v8.dev/blog/speeding-up-v8-heap-snapshots).

When used, the function will ensure the test has a minimum timeout
duration of 20s to avoid immediate failures.

It takes options containing a mapping of class names, and assertion functions
to run on the number of retained instances of that class. For example:

```ts
assertSnapshot({
	classes: {
		ShouldNeverLeak: count => assert.strictEqual(count, 0),
		SomeSingleton: count => assert(count <= 1),
	}
});
```

Closes https://github.com/microsoft/vscode/issues/191920
2023-11-15 10:41:22 -08:00
Christof Marti 67aa71296f Avoid excessive trace logging (microsoft/vscode#197549) 2023-11-14 14:12:44 +01:00
Robo e49ea372a1
chore: update electron@25.9.4 (#198142)
* chore: update electron@25.9.4

* chore: bump distro
2023-11-13 20:44:42 +01:00
Christof Marti 9c2b9327e5 Load local certificates (microsoft/vscode-remote-release#9176) 2023-11-13 17:09:47 +01:00
Daniel Imms 98c9171f88
Update xterm, adopt new SerializeAddon range API
Fixes #197737
2023-11-09 10:45:57 -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
Matt Bierner b93c7bcfa6
Pick up latest TS for building VS Code (#197005) 2023-10-30 10:19:33 -07:00
Sandeep Somavarapu 7b69e4aaa6
fix #194981 (#196322) 2023-10-23 15:37:17 -07:00
João Moreno 2c973350c5
chore: bump electron@25.9.2 (#196249)
* chore: bump electron@25.9.2

* chore: bump distro

* install setuptools

https://github.com/nodejs/node-gyp/issues/2915
2023-10-23 14:43:33 +02:00
Daniel Imms d18bce4980
Merge pull request #195825 from microsoft/tyriar/float_5
Make xterm.js multi-window aware
2023-10-18 00:06:45 -07:00
Daniel Imms 5d945cf097
Make xterm.js multi-window aware
Fixes #195577
2023-10-17 11:50:45 -07:00
Robo c6482f7f4b
chore: bump electron@25.9.1 (#195755)
* chore: bump electron@25.9.1

* chore: bump distro
2023-10-17 08:31:39 +02:00
dependabot[bot] 325164ee57
Bump @babel/traverse from 7.18.10 to 7.23.2 (#195719)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.18.10 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 21:03:46 +02:00
dependabot[bot] 58086904b4
Bump word-wrap from 1.2.3 to 1.2.4 (#188223)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 11:43:32 -07:00
Daniel Imms b40a630d8a
Adopt documentOverride in xterm.js
Fixes #195595
2023-10-13 14:05:05 -07:00
Connor Peet c2a6932e9e
eng: onboard to the extension test runner (#195570)
* eng: onboard to the extension test runner

Adds a `.vscode-test.js` file that uses the new extension test CLI to
run tests. Also, onboards the markdown-language-features as the first
built-in extension to use it.

With the `ms-vscode.extension-test-runner` extension installed, the
markdown-language-features' tests can be run and debugged easily in
the UI :)

* fixup
2023-10-13 13:11:05 -07:00
Raymond Zhao e20515c62e
Bump dependencies for debug sub-dependency (#195513) 2023-10-13 09:01:12 -07:00
João Moreno a5d71aad39
Cleanup dependencies (#195026)
* move build dependencies to devDependencies

* build: bump tree-sitter

* dependencies cleanup

* remove leftover file
2023-10-09 09:34:15 +02:00
Daniel Imms c2a94f43de
Merge pull request #194611 from microsoft/tyriar/node-pty-update
node-pty@1.1.0-beta5
2023-10-02 12:57:30 -07:00
Matt Bierner 10d94ba0f3
Pick up latest TS nightly for building VS Code (#194631) 2023-10-02 19:40:35 +01:00
Daniel Imms 0d114d7e62
node-pty@1.1.0-beta5
Regular update, includes node-gyp as a dev dep
2023-10-02 07:28:36 -07:00
João Moreno 318f421af3
chore: bump electron@25.8.4 (#194488) 2023-09-29 16:48:48 +01:00
Daniel Imms 9df7d42604
xterm-addon-search@0.14.0-beta.27
Fixes #194098
2023-09-27 10:24:58 -07:00
Robo a556eb6abb
chore: bump electron@25.8.2 (#193798)
* chore: bump electron@25.8.2

* chore: bump distro
2023-09-22 15:51:59 +01:00
Connor Peet 31067371f2
eng: fix snapshot tests in macos webkit for real? (#193734)
Second attempt at this, which should work. Stop trying to use
exposeFunction, which seems to work poorly on macOS webkit in CI, and
just run a server with HTTP endpoints to do the "RPC."

Reuses Alex's "yaserver" module that we were already using for other
tests. Uses a secure random prefix for security in each run.
2023-09-21 22:48:21 +01:00
Daniel Imms 57f0d81457
xterm@5.4.0-beta.27
Fixes #192672
2023-09-20 09:06:58 -07:00
Christof Marti 30605c2548 Update to @vscode/proxy-agent 0.17.4 2023-09-20 10:53:09 +02:00
Matt Bierner 70139e827a
Pick up latest TS nightly for building VS Code (#193534)
Required fixing a real typing error
2023-09-19 17:25:11 -07:00
Christof Marti 5ae15d5398 Update @vscode/proxy-agent and enable new cert loading 2023-09-15 21:38:20 +02:00
Robo 7b0ae6cf9d
chore: bump electron@25.8.1 (#193060)
* chore: bump electron@25.8.1

* chore: bump distro
2023-09-14 04:47:41 +01:00
Daniel Imms 6712e0d6e1
xterm@5.4.0-beta.19
Fixes #192630
2023-09-12 14:23:01 -07:00
Matt Bierner e4c97ea18e
Pick up latest TS for building VS Code (#192819) 2023-09-11 23:07:07 +02:00
meganrogge c3548dac5f
xterm@5.4.0-beta.17 2023-09-11 13:14:05 -05:00
Daniel Imms 45dfc81349
xterm@5.3.0-beta.73
Fixes #192162
2023-09-07 09:56:10 -07:00
Tyler James Leonhardt 5134662139
Remove CredentialsService & keytar (#192224)
* Remove CredentialsService & keytar

ref https://github.com/microsoft/vscode/issues/115215
fixes https://github.com/microsoft/vscode/issues/143395

* compile

* remove imports

* rip the bandaid
2023-09-05 17:47:30 -07:00
Matt Bierner 37c4f18caf
Pick up latest TS to build VS Code (#192219) 2023-09-05 20:34:58 +02:00
Johannes 3159fa2493
update playwright 2023-09-04 18:26:25 +02:00
Johannes 2c3d2faeb3
Merge branch 'main' into joh/eslint-jsdoc 2023-09-01 10:42:07 +02:00
Robo 5f7b620db8
chore: bump electron@25.8.0 (#191905)
* chore: bump electron@25.8.0

* chore: update internal build id

* chore: bump distro
2023-09-01 08:32:05 +02:00
Johannes ebfe7fabfb
wip - define jsdoc lint rules for vscode.d.ts 2023-08-30 11:37:44 +02:00
Robo 35be9bf683
chore: update electron@25.7.0 (#191282)
* chore: update electron@25.7.0

* chore: update internal build id

* chore: bump distro
2023-08-30 06:03:40 +02:00
Matt Bierner 37e5ca3fa5
Pick up latest TS for building VS Code (#191264) 2023-08-24 16:25:04 -07:00
Daniel Imms d141a1fcce
xterm@5.3.0-beta.61 2023-08-23 05:47:07 -07:00
Daniel Imms 7ab8588219
xterm@5.3.0-beta.58
Fixes #189684
Part of #190195 (diagnostics)
2023-08-22 07:45:38 -07:00
Daniel Imms b2a482303c
xterm@5.3.0-beta.46 2023-08-18 16:38:52 -07:00