Henning Dieterichs
52f35de63b
Uses proper theme colors for the inline edit indicator ( #232055 )
2024-10-23 07:45:11 -07:00
Robo
804f450ca9
fix: remote folder compilation on macOS with node.js v20.18.0 ( #231928 )
...
* fix: remote folder compilation on macOS with node.js v20.18.0
* chore: update debian deps
* chore: update rpm deps
2024-10-22 15:26:13 +02:00
Robo
6c2e9ffde1
chore: bump electron@32.2.1 ( #231913 )
...
* chore: bump electron@32.2.1
* chore: bump distro
2024-10-22 01:12:06 -07:00
Raymond Zhao
d5baf34009
Revert "fix: CLI is missing guard:cf flags" ( #231874 )
...
Revert "fix: CLI is missing guard:cf flags (#231863 )"
This reverts commit 1e580bc97d
.
2024-10-21 12:48:49 -07:00
Raymond Zhao
d3bb5dd92f
chore: publish symbols internally ( #231869 )
2024-10-21 20:55:36 +02:00
Raymond Zhao
1e580bc97d
fix: CLI is missing guard:cf flags ( #231863 )
2024-10-21 19:53:34 +02:00
Robo
f84b345a46
ci: cleanup snap publishing step ( #231833 )
2024-10-21 15:37:26 +02:00
Raymond Zhao
75caed98f2
chore: install make for snap ( #231709 )
...
* chore: install make for snap
* Also add g++
* Also list versions
* Again
2024-10-21 14:08:45 +09:00
Benjamin Christopher Simmonds
0de652b7ff
Update tree-sitter package-lock.json ( #231646 )
...
update tree sitter package-lock.json
2024-10-18 12:52:51 +02:00
Alex Ross
3906f4cacc
Make tree-sitter a required dependency for build ( #231494 )
2024-10-18 10:52:12 +02:00
Raymond Zhao
4428a025b2
chore: add BinSkim for CLI ( #231543 )
2024-10-17 09:17:44 -07:00
夜坂雅
8addf834f8
fix: Use a proper desktop name in package.json ( #231472 )
...
Fixes #154693
Initally, this part is required due to how Electron handles the prorotol
registeration as in https://github.com/microsoft/vscode/pull/56727#issuecomment-420701045 ( I also explained in https://github.com/microsoft/vscode/issues/154693#issuecomment-2409830275 )
However since
986b5532b5
that part is no longer used for protocol registeration on Linux, and
since Electron 18, Electron uses the desktop file name to set the
`app_id` in Wayland, and it was given the wrong one. This change fixes the
problem where running VS Code on Wayland would have the `app_id` of
`code-url-handler` which is unreasonable.
2024-10-17 00:02:59 +00:00
Rob Lourens
8d8f0cd9d4
Improve chat scrolling ( #231370 )
...
* Don't auto-scroll while chat response loads
Fix microsoft/vscode-copilot-release#138
* Show button all the time
* Fixes, don't auto-scroll for edit session view
* Keep autoscroll in inline and quick chat
2024-10-14 21:04:35 -07:00
Connor Peet
92e7dc6aae
chore: include web bits for smoke tests ( #231354 )
...
try
2024-10-14 15:55:15 -07:00
Connor Peet
40206b2534
chore: simplify some moduleignore patterns ( #231330 )
2024-10-14 19:53:41 +02:00
Benjamin Pasero
c025c19d14
eng - reduce some unused deps ( #231221 )
2024-10-13 12:38:11 +02:00
Raymond Zhao
39e24a5d98
chore: add TSAUpload step to Custom SDL stage ( #231150 )
2024-10-11 23:33:50 +02:00
Raymond Zhao
a83b9ead9a
chore: restore latest 1ES template ( #231136 )
2024-10-11 11:11:21 -07:00
Raymond Zhao
7e40fbc3ba
chore: fix template to older version ( #231056 )
2024-10-10 21:56:29 +02:00
Matt Bierner
e2e048ded8
Merge pull request #230345 from microsoft/dev/eslint-9
...
Eslint 9 migration
2024-10-07 09:15:12 -07:00
Matt Bierner
0deec1d730
Exclude generated codicon.css file from hygiene ( #230501 )
...
Fixes #230388
2024-10-07 16:25:03 +02:00
Benjamin Pasero
89f039ff9f
esm - `fancyLog` for bundle messages ( #230638 )
2024-10-06 09:27:18 -07:00
Benjamin Pasero
dc265add0b
esm - drop need for manual concat ( #230571 )
2024-10-06 14:12:20 +02:00
Robo
51cfc9ece4
ci: add checks to verify mach-o objects architecture ( #230598 )
2024-10-05 12:27:10 -07:00
Robo
e178455531
ci: check for clean git state in npm validation ( #230479 )
2024-10-04 11:04:18 -07:00
Matt Bierner
98e69ca6ea
Merge branch 'main' into dev/eslint-9
2024-10-04 08:34:12 -07:00
Benjamin Pasero
9bd60d090a
esm - better content mapper to address sourcemaps ( #230476 )
2024-10-04 15:34:21 +02:00
Robo
ba6907515e
fix: use xz compression when building deb package ( #230471 )
2024-10-04 13:25:06 +02:00
Robo
8422282f04
chore: update to Electron 32 ( #218245 )
...
* chore: update electron@31.0.1
* chore: bump electron@31.1.0
* chore: update sysroot download url
* chore: bump electron@31.3.0
* chore: update rpm deps for arm64
* chore: bump electron@31.4.0
* chore: bump electron@32.0.0
* fix: compile stage
* fix: install on windows
* fix: override node-addon-api to support c++20 with gcc-11
Brings in fed13534c5
to support compilation with gcc>=11
* ci: use gnu++2a for gcc <=9
* ci: fix sdl pipeline
* ci: web stage
* ci: fix alpine stage
* ci: fix legacy server stage
* fix: node-addon-api resolution for remote
* ci: fix legacy arm stage
* chore: sync npm dependencies
* chore: bump electron@32.0.1
* ci: fix monaco editor checks
* ci: fix legacy server stage
* ci: possible concurrent execution
* ci: use foreground scripts on windows
* chore: bump electron@32.0.2
* fix: compilation
Refs 204011c3f2
* Revert "wco - hardcode devtools location on Linux (#227084 )"
This reverts commit dfb96d11d3
.
* chore: bump electron@32.1.2
* ci: remove workaround for missing c++20 flags
* ci: use gnu++2a for gcc <=9
* chore: bump distro
* ci: use gnu++17 for legacy arm servers
* fixup! override node-addon-api to support c++20 with gcc-11
Scope to only the affected package versions
* chore: bump @vscode/policy-watcher
* chore: bump @vscode/sqlite3
* chore: bump node.js v20.17.0
* chore: bump distro
* chore: update @vscode/windows-ca-certs
* chore: update builds for electron@32.1.2
* chore: bump distro
* chore: bump dependencies
* ci: fix arm legacy servers
2024-10-04 19:19:06 +09:00
Johannes
6e4221f0ec
remove swc
2024-10-04 11:23:51 +02:00
Matt Bierner
f6ebc0c2b8
Merge branch 'main' into dev/eslint-9
2024-10-03 10:52:58 -07:00
Matt Bierner
9c86c96a8a
Switch back to use eslintignore file for sdl tooling
...
However use a different filename to avoid a warning
2024-10-03 09:44:50 -07:00
Johannes
4a5fdb2ff1
some more esbuild trickery
2024-10-03 18:39:45 +02:00
Johannes Rieken
2a96e0d571
Merge branch 'main' into joh/super-monkey
2024-10-03 17:18:23 +02:00
Martin Aeschlimann
fc6d94b806
[css/json/html] adopt latest lsp, update to `module: node16` ( #230371 )
...
* adopt latest language-server/client
* update package-locks
* transpiler to support Node16
2024-10-03 13:49:56 +02:00
Matt Bierner
f22a1167e4
More fixes
2024-10-02 17:22:33 -07:00
Matt Bierner
489c180f25
Merge branch 'main' into dev/eslint-9
2024-10-02 14:50:59 -07:00
Matt Bierner
e456f4cb66
Start eslint 9 migration
...
For #230339
Starts migrating to eslint 9. Everything runs but it produces a number of errors
2024-10-02 14:45:28 -07:00
Johannes Rieken
eb3f1d15b0
Merge branch 'main' into joh/super-monkey
2024-10-02 15:59:35 +02:00
Benjamin Pasero
c5b6ef14e6
esm - more cleanup ( #230285 )
2024-10-02 11:55:17 +02:00
Johannes
c4093a5112
tweak transpile and pasteUrl.test
2024-10-02 10:30:35 +02:00
Johannes
90fad18259
Merge branch 'main' into joh/super-monkey
2024-10-02 10:04:48 +02:00
Johannes
3ae94fbae4
more transpile tweaks
2024-10-02 10:04:41 +02:00
Joyce Er
370f5619b9
fix: use chat edit state for chat file list decorations ( #230284 )
...
* fix: use chat edit state for chat file list decorations
* Add theme defaults
2024-10-02 09:50:08 +02:00
Robo
a287cd4260
ci: fix paths to apt retry script ( #230274 )
2024-10-02 02:35:33 +02:00
Robo
e1349657e5
build: make sdl scan gulp tasks lazy ( #230239 )
2024-10-02 01:56:14 +02:00
Peng Lyu
9b7f3e7845
Experiment forcing npm registry validation for package upgrade. ( #229237 )
...
* Enable npm package validate against terrapin.
2024-10-01 15:56:05 -07:00
Benjamin Pasero
f09184ceb7
esm - set `type: module` top level ( #230210 )
2024-10-01 20:48:56 +02:00
Benjamin Pasero
3b68a06818
esm - removal of CSS loader ( #230206 )
2024-10-01 19:24:18 +02:00
Johannes
c1fb7325bd
add esbuild transpiler for fast CI
2024-10-01 16:26:50 +02:00
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