Commit Graph

5536 Commits (ed5fbf5a161587b6614917e12e919e3e69e6278c)

Author SHA1 Message Date
Robo 9d3abdc8ff
ci: apply retry logic for apt failures (#230217) 2024-10-01 13:01:10 +02:00
Benjamin Pasero b591f33513
🆙 `jschardet@3.1.4` (#230197) 2024-10-01 08:19:15 +02:00
Connor Peet 8a32f69162
refactor: cleanup debt for hashing (#230174)
* refactor: cleanup debt for hashing

- Adds a type to avoid direct usage of sync `hash()` for consumers
  working with binary input.
- Moved the previous browser-only `sha1Hex` to `hash.ts` now that
  webcrypto is quite universal, including in Node.js since 19.
- Cleaned up some code that is replaced with modern built-in functions
  like `TypedArray.fill` and `padStart`.
- The `NotebookSimpleWorker` was manually calculating the hash for
  its binary data (probably to avoid the same issue as #229619), so
  I swapped that to use webcrypto as well which is much speedier for
  large inputs (125ms vs 8ms for 10MB of data) @rebornix

Closes https://github.com/microsoft/vscode/issues/229845

* update layer checker
2024-09-30 20:56:03 -07:00
Matt Bierner 51fa4d0172
Fix more type assertions (#230156)
* Fix more type assertions

For #211878

* Fix type error
2024-09-30 14:17:06 -07:00
Benjamin Pasero 36b52aa938
esm - inline `minimist` (#230155)
* esm - inline `minimist`

* .

* .

* .
2024-09-30 13:13:42 -07:00
Benjamin Pasero e7abf7becb
esm - inline main entry points (#230135) 2024-09-30 20:22:47 +02:00
Sandeep Somavarapu 841d51da29
write our own little gulp-eslint which takes the eslint from our workspace root (#230115) 2024-09-30 15:36:25 +02:00
Benjamin Pasero 84c18c543e
esm - more cleanup of rules and files (#230083) 2024-09-30 11:20:59 +02:00
Benjamin Pasero 1c45703db2
debt - update colors (#230103) 2024-09-30 11:13:55 +02:00
Aiday Marlen Kyzy eec0d205c8
Edit Context : Using border instead of background color for composition (#229851)
* registering new colors to use for the composition

* removing background color and using border instead
2024-09-30 10:44:47 +02:00
Ladislau Szomoru e4f4c45bcc
Engineering - update agent pool (#229947) 2024-09-27 14:00:22 +02:00
Benjamin Pasero db992f389a
esm - some 💄 2024-09-27 11:00:52 +02:00
Benjamin Pasero 1d219d75ef
esm - fix layer checker 2024-09-27 08:58:11 +02:00
Benjamin Pasero 3b8c31c64a
esm - fix transpile 2024-09-27 08:32:14 +02:00
Benjamin Pasero 7d428d77a0
esm - remove build support for `prepend` 2024-09-27 08:05:22 +02:00
Benjamin Pasero 87f3486f5f
esm - restore default header 2024-09-27 08:05:16 +02:00
Benjamin Pasero c7caef00ea
esm - make `optimize.ts` ESM only 2024-09-27 08:05:06 +02:00
Benjamin Pasero b544846460
esm - further cleanup build scripts 2024-09-27 08:04:56 +02:00
Benjamin Pasero c1952297c5
esm - cleanup editor worker build descriptors 2024-09-27 08:04:36 +02:00
Benjamin Pasero d34e895b8e
esm - more AMD removal 2024-09-27 08:04:23 +02:00
Benjamin Pasero d2701aa2ec
esm - remove AMD modifications in sources 2024-09-27 08:04:16 +02:00
Benjamin Pasero 332b89f198
esm - remove AMD build scripts, tests and variables 2024-09-27 08:04:01 +02:00
Benjamin Pasero 9784b5e1e6
esm - restore our copyright header in built files (#229751) 2024-09-25 21:48:02 +02:00
Robo b3d7cab572
chore: bump electron@30.5.1 (#229329)
* chore: add initial telemetry for array buffer crashes

* chore: bump electron@30.5.1

* chore: update build id

* chore: bump distro
2024-09-23 09:38:35 +02:00
Benjamin Pasero 4c1716492a
watcher - remove experimental next watcher (#229261) 2024-09-21 08:48:01 -07:00
Robo 2a6d7ffcb4
chore: update electron@30.5.0 (#228849)
* chore: update electron@30.5.0

* chore: bump distro
2024-09-17 18:23:23 +02:00
Ladislau Szomoru a86459a1f2
Engineering - update DownloadPipelineArtifact task (#228419) 2024-09-13 16:47:16 +09:00
Benjamin Pasero 7d5cc34a5d
esm - try to restore sourcemaps (fix microsoft/vscode-internalbacklog#5073) (#228303)
esm - try to restore sourcemaps
2024-09-11 21:14:53 -07: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
Daniel Imms 3442819ad7
Merge pull request #225413 from microsoft/tyriar/gpu_exploration
Initial basic GPU renderer for editor
2024-09-10 12:21:27 -07:00
Ladislau Szomoru 4ade36e5ca
SCM - 💄 remove more of the history item group terminology (#228139) 2024-09-10 20:27:27 +02:00
Daniel Imms e38a560e6b
Merge remote-tracking branch 'origin/main' into tyriar/gpu_exploration 2024-09-10 11:22:25 -07:00
Benjamin Pasero 789c320a1c
Replace mkdirp with fs.mkdirSync(path, { recursive: true }) (#228017)
* Replace mkdirp with fs.mkdirSync(path, { recursive: true })
(fix #227931)

* compile
2024-09-09 22:43:29 -07:00
Tyler James Leonhardt 1349397cf7
Remove vscode-nls-dev dependency (#228002)
This was when extensions used the old localization stuff. None of this is used anymore.
2024-09-09 18:28:32 +02:00
Connor Peet 2e4bae90c6 cli: update rs to avoid arm64 bug 2024-09-09 09:18:56 -07:00
Daniel Imms 32ba9d0576
Handle @webgpu/types in standalone script 2024-09-09 08:48:31 -07:00
dependabot[bot] baa49e9f9c
Bump xml2js and @azure/core-http in /build
Bumps [xml2js](https://github.com/Leonidas-from-XIV/node-xml2js) and [@azure/core-http](https://github.com/Azure/azure-sdk-for-js). These dependencies needed to be updated together.

Updates `xml2js` from 0.4.23 to 0.5.0
- [Commits](https://github.com/Leonidas-from-XIV/node-xml2js/commits/0.5.0)

Updates `@azure/core-http` from 3.0.0 to 3.0.4
- [Release notes](https://github.com/Azure/azure-sdk-for-js/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Changelog-for-next-generation.md)
- [Commits](https://github.com/Azure/azure-sdk-for-js/compare/@azure/core-http_3.0.0...@azure/core-http_3.0.4)

---
updated-dependencies:
- dependency-name: xml2js
  dependency-type: indirect
- dependency-name: "@azure/core-http"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-07 02:49:29 +00:00
Benjamin Pasero eed219db5f
ESM: figure out the monaco-standalone ESM build story (fix #227192) (#227536) 2024-09-06 18:26:40 +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
Benjamin Pasero da0319cd7d
missing compile change 2024-09-06 14:33:30 +02:00
Benjamin Pasero c3d464a46a
remove console log 2024-09-06 14:26:23 +02:00
deepak1556 ce0b33a888 fix: duplicate vsda 2024-09-06 19:32:30 +09:00
deepak1556 7ba544f617 fix: universal build 2024-09-06 18:28:44 +09:00
deepak1556 cb75f3029c fix: resotre asar skipped files to node_modules/ 2024-09-06 17:56:05 +09:00
Benjamin Pasero daca01a213
. 2024-09-06 10:31:56 +02:00
Benjamin Pasero 854dd33049
remove redundant klammer 2024-09-06 09:11:42 +02:00
Benjamin Pasero 29569abebb
esm - restore parts of ASAR modules 2024-09-06 07:49:36 +02:00
Sandeep Somavarapu ebc02af2d8
rename electron-node to electron-utility (#227672) 2024-09-05 00:49:23 -07:00
Daniel Imms b39eb9c147
Update known variables 2024-09-04 14:07:57 -07:00
Sandeep Somavarapu 01fcf004a6
Use electron net directly in shared process (#227553)
* Use electron net directly in shared process

* add built file

* introduce shared electron-node layer

* remove electron-utility layer

* fix (overlook): move back cli files to node
2024-09-04 07:26:43 -07:00
Ladislau Szomoru 76db970075
Engineering - disable build warning for tool disablement (#227558) 2024-09-04 20:41:23 +09:00
Ladislau Szomoru ab30106acd
Engineering - update Linux build agents (#227557) 2024-09-04 13:11:44 +02:00
Johannes Rieken e1cc3fa181
tsb should handle `.js` suffix (#227544)
fixes https://github.com/microsoft/vscode/issues/227540
2024-09-04 10:36:15 +02:00
Kevin Cui d1eab2bcf4
ci: ensure retry logic consistency (#226038)
Related PR: #171489

Signed-off-by: Kevin Cui <bh@bugs.cc>
2024-09-04 04:51:19 +00:00
Daniel Imms 5a6d09c6df
Merge pull request #227383 from microsoft/tyriar/225665_2
Move shell integration scripts into common take 2
2024-09-03 06:52:49 -07:00
Benjamin Pasero be05c746e7
esm - restore support for building AMD (#227425) 2024-09-03 15:30:07 +02:00
Ladislau Szomoru cd0427ad28
SCM - add color to history item labels (#227436)
* Initial implementation

* Cleanup colors

* Revert changes to define colors in the git extension

* Add colors to labels
2024-09-03 14:04:22 +02:00
Robo 8e0e3bfb18
ci: add retry logic for apt failures (#227420)
Based on https://github.com/actions/runner-images/blob/ubuntu22/20240825.1/images/ubuntu/scripts/build/configure-apt-mock.sh
2024-09-03 06:55:12 +02:00
Robo adac839773
ci: use sysroots for stripping binaries in rpmbuild (#227397) 2024-09-03 06:01:02 +02:00
Benjamin Pasero 21135c81b5
esm - provide a bridge to AMD world (#227361) 2024-09-02 12:09:12 -07:00
Daniel Imms d78f189b6d
Add back SI scripts for REH 2024-09-02 07:13:16 -07:00
Daniel Imms a91854820a
Move shell integration scripts into common
Fixes #225665
2024-09-02 07:12:43 -07:00
Christof Marti d22ce6b05a
Revert "Merge pull request #227244 from microsoft/tyriar/225665"
This reverts commit 0978e9ebf5, reversing
changes made to 9aa46099e1.
2024-09-02 11:51:52 +02:00
Christof Marti dc17f69a2e
Revert "Engineering - update build agents (#227312)"
This reverts commit 3dc9c4c976.
2024-09-02 10:11:44 +02:00
Benjamin Pasero ca42f649a7
Allow to build an AMD version of VS Code (#227240) 2024-09-02 09:36:19 +02:00
Robo 815277b7bd
ci: use ubuntu 20.04 for linux stage (#227338)
* ci: use ubuntu 20.04 for linux legacy server stage

Newer agents have issue starting docker container
```
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: unable to apply cgroup configuration: unable to start unit "docker-7c804237784bfb9e3acdc157b61934d5175a239f3ded81e98486d97157b4a316.scope" (properties [{Name:Description Value:"libcontainer container 7c804237784bfb9e3acdc157b61934d5175a239f3ded81e98486d97157b4a316"} {Name:Slice Value:"system.slice"} {Name:Delegate Value:true} {Name:PIDs Value:@au [11485]} {Name:MemoryAccounting Value:true} {Name:CPUAccounting Value:true} {Name:IOAccounting Value:true} {Name:TasksAccounting Value:true} {Name:DefaultDependencies Value:false}]): Launch helper exited with unknown return code 1: unknown.
```

* ci: revert agent update for linux stage

Refs https://github.com/microsoft/vscode/pull/227338#issuecomment-2323743569
2024-09-02 07:59:26 +02:00
Ladislau Szomoru 3dc9c4c976
Engineering - update build agents (#227312) 2024-09-01 16:58:16 +02:00
Daniel Imms 5f1569aed7
Move shell integration scripts into common
Fixes #225665
2024-08-30 12:19:42 -07:00
Ladislau Szomoru 004f8bd0a6
Engineering - update OSS build agent pool (#227195)
* Engineering - use windows-2022 for OSS build

* Engineering - update ubuntu agent pool
2024-08-30 17:00:26 +02:00
Johannes Rieken 97ef3ff276
first cut of import helper extension (#227203) 2024-08-30 14:37:52 +02:00
Ladislau Szomoru 72e9b7daff
SCM - remove old incoming/outgoing code (#227200)
* Delete SCMViewSeparatorElement

* Deleted all renderers

* Delete SCMHistoryItemGroupTreeElement

* More clean-up

* Cleanup old menus

* Fix compilation errors after ESM merge
2024-08-30 14:10:47 +02:00
Ladislau Szomoru 310f0a3d85
Engineering - upgrade AzureKeyVault task (#227191) 2024-08-30 11:10:44 +02:00
Benjamin Pasero 6b924c5152
ESM merge to main (#227184)
Co-authored-by: Johannes Rieken <jrieken@microsoft.com>
Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2024-08-30 10:31:46 +02:00
Benjamin Pasero ab9f00c922
linux - compute WCO width based on actual values (#227075) 2024-08-29 15:42:23 +02:00
Benjamin Pasero d03aeaf1fb
Can't open files (#226898) (#226996) 2024-08-28 20:50:13 +02:00
João Moreno c9f093d529
Revert "cleanup web html pages (#216609)"
This reverts commit 54cad31687.
2024-08-28 14:24:52 +02:00
João Moreno 54cad31687
cleanup web html pages (#216609) 2024-08-28 10:12:38 +02:00
Robo 46b8004c31
chore: update electron@30.4.0 (#226594)
* chore: update electron@30.4.0

* chore: bump distro
2024-08-26 12:30:43 +02:00
Robo a628b923ec
chore: update vscode-universal-bundler@0.1.3 (#226411)
Refs 298a872f5f

Ignores attributes that are affected by build enviroments
when comparing Info.plist.
2024-08-26 11:50:06 +02:00
Robo af676cd8b0
Revert "chore: update electron@30.4.0 (#226385)" (#226426)
* Revert "chore: update electron@30.4.0 (#226385)"

This reverts commit 598184c50e.

* chore: bump distro
2024-08-23 15:58:43 +02:00
Benjamin Pasero a002d1512e
build - move `buildfile.js` out of `src` (#226403)
* build - move `buildfile.js` out of `src`

* .

* fix build
2024-08-23 12:18:26 +02:00
Robo 598184c50e
chore: update electron@30.4.0 (#226385)
* chore: update electron@30.4.0

* chore: bump distro
2024-08-23 08:03:49 +02:00
Benjamin Pasero c2fbe28324
esm - make TTP pluggable (#226179) (#226231) 2024-08-22 12:32:57 +02:00
Benjamin Pasero 4ea51b2030
esm - include ESM versions of 1DS (#226198) 2024-08-21 12:04:41 -07:00
Benjamin Pasero 34a756ae2e
esm - worker cleanup (#226064) 2024-08-20 17:51:26 +02:00
Alex Ross 0062a6e767
Include highlights files in build (#226067)
* Include highlights files in build
Part of #210475

* Also add for non-esm
2024-08-20 17:06:21 +02:00
Alexandru Dima 4e0de3a8f4
Move workbench workers off EditorWorker (#225796)
* Add support for having channels in SimpleWorker

* Extract text model syncing code to a separate file

* Use a channel to do text model syncing for the language detection worker

* Simplify code

* Remove unused method

* Move OutputLinkComputer worker off editor worker

* Move TextMateTokenizationWorker off editor worker

* Simplify code

* Adopt channels for the host object

* More adopting channels for the host object

* More adopting channels for the host object

* More adopting channels for the host object

* Remove host object support from SimpleWorker

* Use the IEditorWorkerService, avoid starting a separate worker

* Bring the amd module id, the esm location and the worker label in a single type

* Improve typings

* SImplify worker creation pattern

* Enforce that all proxied methods start with `$` or `on`

* Adopt native proxy support

* Simplify code

* Simplify code

* Reintroduce a different standalone / workbench editor worker service
2024-08-20 14:00:18 +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
Benjamin Pasero 3dc8c38c92
esm - some build polish (#225948) 2024-08-19 16:54:29 +02:00
Raymond Zhao 8cf8472903
chore: include d3dcompiler_47.dll in scan folder (#225720) 2024-08-16 10:57:28 -07:00
Benjamin Pasero c3819e438c
esm - pass build variable around properly (#225724) 2024-08-16 09:24:34 +02:00
Benjamin Pasero 02fcc994ac
esm - port over unit test changes (#225711) 2024-08-15 19:58:52 +02:00
Benjamin Pasero b96404323b
Merge pull request #225695 from microsoft/ben/handsome-squirrel
esm - add `yarn watch-esm` and `watch-client-esm`
2024-08-15 16:59:30 +02:00
João Moreno 51e599754e
Merge pull request #225675 from microsoft/joao/black-scorpion
move back to official 1ESPT
2024-08-15 15:26:22 +02:00
Benjamin Pasero f5920b80a3
esm - add `yarn watch-esm` and `watch-client-esm` 2024-08-15 15:08:49 +02:00
Benjamin Pasero 3dfe155b3d
esm - backport more changes (#225692) 2024-08-15 14:58:04 +02:00
Benjamin Pasero fdc8d882e2
esm - backport worker related changes (#225672) 2024-08-15 13:46:45 +02:00
João Moreno 6c9566926a
hm 2024-08-15 11:43:26 +02:00
João Moreno f58c85c416
bring back runSourceLanguagesInSourceAnalysis 2024-08-15 11:41:30 +02:00
João Moreno 2293d4cb7e
disable codeql 2024-08-15 11:24:38 +02:00
João Moreno 4d0c0a072b
fix pipeline syntax 2024-08-15 11:20:06 +02:00
João Moreno d1fbdccf10
try this 2024-08-15 11:11:46 +02:00
João Moreno 56add2693b
try this 2024-08-15 11:02:50 +02:00
João Moreno 28c286e9b9
run codeql in WindowsSDL only 2024-08-15 10:57:07 +02:00
Benjamin Pasero bea40cdd3d
esm - more diff reduction (#225666) 2024-08-15 10:34:03 +02:00
Robo 9b29e85e0c
fix: install scripts for windows arm64 target (#225629) 2024-08-14 18:17:39 -07:00
Benjamin Pasero 3666f94deb
esm - backport new HTML entry points and use if ESM (#225633) 2024-08-14 20:48:27 +02:00
Benjamin Pasero 0dea4804f4
esm - introduce VSCODE_BUILD_ESM variable (#225586) 2024-08-14 14:49:26 +02:00
João Moreno 8c458c8303
try codeql buildmode: none 2024-08-13 21:47:37 +02:00
João Moreno ef656d3f1d
increase CG timeout (#225373) 2024-08-12 09:31:43 +02:00
Megan Rogge 7c2663f1a7
provide way to adjust table column size via keyboard (#225081) 2024-08-11 08:35:27 -07:00
Robo 00427fda20
chore: update electron@30.3.1 (#225106)
* chore: update electron@30.3.1

* temp: update distro

* chore: update node.js builds

* temp: update distro

* temp: revert node-pty

* Revert "temp: revert node-pty"

This reverts commit e834f75959ffd0078708db764457e05ec0f3b6b6.

* temp: test with oss electron

* chore: update node.js checksums

* Revert "temp: test with oss electron"

This reverts commit 18506aaa82b2cf44e4b5780eac1b929bbf98ac11.

* temp: disable sandbox for smoke tests

* Revert "temp: disable sandbox for smoke tests"

This reverts commit 8596ef5fcc776cc9a14b4546f9e448ccba2acbad.

* test: skip icon validation task smoke tests

* chore: bump distro
2024-08-09 23:44:42 +00:00
Benjamin Pasero 79f7411c88
esm - reduce diff (#225220)
* esm - reduce diff

* restore more

* ok

* undo

* .
2024-08-09 10:52:26 -07:00
Raymond Zhao 25006fe8b1
chore: polish APIScan and BinSkim scans (#222106) 2024-08-09 09:19:36 -07:00
Justin Chen fe018d2f04
custom color theme for action list widget (#223245)
* action list colors

* mvoe to listColors

* dont change imports

* remove whitespace
2024-08-08 13:16:01 -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
Aaron Munger b5300cb68d
fix lint warning (#224996)
* fix lint warning

* fix path
2024-08-07 09:05:38 -07:00
Daniel Imms 72a429654f
Merge pull request #225037 from microsoft/tyriar/conpty_asar
Don't pack conpty binaries into asar
2024-08-07 06:46:03 -07:00
Daniel Imms ed73b9d5f2
Don't pack conpty binaries into asar
Part of microsoft/vscode#224488
2024-08-07 04:05:09 -07:00
Matthias B. cd340e6aa4
Fix: only add apt sources for users that want them (#22145) (#221285)
Signed-off-by: Matthias Breithaupt <m.breithaupt@vogl-electronic.com>
2024-08-06 14:54:05 -07:00
Raymond Zhao 08aeda7824
chore: enable APIScan again (#224648) 2024-08-06 09:04:34 -07:00
Daniel Imms 5275859136
Merge pull request #224854 from microsoft/tyriar/conptydll
Update to node-pty and adopt useConptyDll
2024-08-06 08:10:15 -07:00
Benjamin Pasero 4c1b0e9ff1
esm - reduce diff (#224919)
* esm - reduce diff

* .

* .

* .

* .

* .
2024-08-06 17:32:43 +03:00
Robo 1835a67cb6
ci: publish win32 arm64 server (#224929) 2024-08-06 14:57:22 +02:00
Daniel Imms 1ea3ff215e
Don't ship non-arch binaries 2024-08-06 05:54:41 -07:00
Peng Lyu df447e7ad4
Merge pull request #224547 from microsoft/rebornix/net-boa
Enable notebook smoke test and capture memory leaks
2024-08-05 15:44:22 -07:00
Raymond Zhao 85c100f652
chore: create include.gypi for Windows build again (#224445)
Co-authored-by: Robo <hop2deep@gmail.com>
2024-08-05 11:16:36 -07:00
Peng Lyu 4a8f1db241 compile ipynb for smoke test 2024-08-02 11:55:13 -07:00
Daniel Imms 8bdf399e0b
Add command guide theme key
Fixes #224469
2024-08-02 11:17:48 -07:00
Benjamin Pasero 284a605d61
NLS can get mixed up when `stable` overwrites `insider` metadata (fix #224385) (#224405) 2024-07-31 19:20:45 +02:00
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
Rob Lourens 57c57f2ffc
Support VS IntPreview in yarn (#224317) 2024-07-30 10:16:44 -07:00
Connor Peet 1acc838297
fix: `yarn run gulp vscode-darwin-arm64` fails when run in the debug terminal (#224245)
>I think that block can just be removed safely since execFile with provide an error if the subprocess has a !=0 exit code

Fixes #221581
2024-07-29 16:30:35 -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
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
Rob Lourens b1077ab765
Clean up leftover file (#223144)
Fix #221142
2024-07-22 15:35:28 -07:00
Daniel Imms e0307bddec
Merge pull request #222420 from microsoft/tyriar/222076__222089__tabExpansion
Terminal suggest git, code and code-insiders tab expansion
2024-07-22 08:42:55 -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
Daniel Imms c61d964558
Bundle psm1 files 2024-07-20 13:02:21 -07:00
Daniel Imms 1416d5bd96
Basic code completions 2024-07-18 11:32:28 -07:00
Sandeep Somavarapu ec07594cb9
profiles editor feedback (#221938)
* profiles editor feedback

* more polish

* fix margin

* fix outline

* fix hc theme styleing

* Show new profile action in open profile menu

* update options on name change
2024-07-17 15:26:44 +02:00
Sandeep Somavarapu 8997deb01e
Enhance Profiles Editor (#221845)
* radio buttons

* fine tune radio buttons

* fix active item coloring in hc theme

* improve text

* use tree for rendering
2024-07-16 11:35:21 -07:00
Matt Bierner 4caa46afc4
Fix font family fallback in parameter hints (#221737)
Fixes #211714
2024-07-15 11:39:33 -07:00
Robo c06242b744
ci: enable nodejsMirror (#221696) 2024-07-15 02:11:34 -07:00
Matt Bierner 7174171947
Move MD server into own package (#212387)
* Move MD server into own package

* Remove a few more refs

* Try glob

* Move glob

* More glob

* Add logging

* Tweak glob again

* Use webpack to copy over files

* Remove a few more refs to server

* Fix debug check
2024-07-12 14:04:42 -07:00
Johannes Rieken c0cdcac061
adjust bundle-util for ESM world reuse (#221372) 2024-07-10 16:50:00 +02:00