Commit Graph

841 Commits

Author SHA1 Message Date
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
deepak1556
ce0b33a888 fix: duplicate vsda 2024-09-06 19:32:30 +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
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
Daniel Imms
5f1569aed7 Move shell integration scripts into common
Fixes #225665
2024-08-30 12:19:42 -07: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
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
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
Benjamin Pasero
3dc8c38c92 esm - some build polish (#225948) 2024-08-19 16:54:29 +02: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
Daniel Imms
ed73b9d5f2 Don't pack conpty binaries into asar
Part of microsoft/vscode#224488
2024-08-07 04:05:09 -07:00
Benjamin Pasero
4c1b0e9ff1 esm - reduce diff (#224919)
* esm - reduce diff

* .

* .

* .

* .

* .
2024-08-06 17:32:43 +03:00
Daniel Imms
c61d964558 Bundle psm1 files 2024-07-20 13:02:21 -07: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
Benjamin Pasero
7c8097dbbf build - reuse the same date across builds (#220076) 2024-07-05 11:06:43 -07:00
Benjamin Pasero
82c54248fd perf - inline package.json and product.json (#219841) 2024-07-04 07:59:10 +02:00
Benjamin Pasero
d65fd5ba2e nls follow up debt work (#219265) 2024-07-01 11:44:19 +02:00
Benjamin Pasero
f6f90e0163 Implement NLS without AMD loader (#214588) 2024-06-28 11:55:48 +02:00
João Moreno
addd445017 upload sourcemaps to CDN instead of ticino (#214141) 2024-06-03 16:10:01 +02:00
Justin Chen
d05d280364 web reporter refactor and issueFormService (#212951)
* web version working

* change to mainWindow

* PROPER MOVEMENT

* working for web as well

* move issueFormService to workbench/contrib/issue

* cleaning up{

* more cleanup, added setting

* styling

* use mainwindow to open and closee

* css fixes

* fix css again

* fix CSS and wonky applyCSS rules

* change gulpfile

* add and update system info

* address some of the comments

* move files! small changes

* move JS and non window specific back to electron sandbox

* fix on issueReporter.js

* fix build file

* fix gulp file too....

* move everything into contrib

* fix workbench import

* move everything else into contrib, fix import

* change name to web

* applying more feedback fixes :D

* fix command and remove unused import:

* add back issueTroubleshoot

* fix gulpile outputs

* fix out exclusion:
2024-05-24 11:36:46 -07:00
Sandeep Somavarapu
378b4c969b use vsce-sign module from npm (#205511)
* update distro

* use vsce-sign module

* update distro

* update distro
2024-02-19 09:17:54 +01:00
Alexandru Dima
deae3ca4b1 Switch to using sha256 for checksums (fixes CodeQL warning) (#201977)
* Switch to using sha256 for checksums (fixes CodeQL warning)

* Fix unit test
2024-01-08 14:11:19 +01:00
Benjamin Pasero
62fdec2def aux window - cleanup preloads (#196832)
* aux window - cleanup preloads

* 💄

* 💄
2023-10-27 16:42:45 +02:00
Benjamin Pasero
45dda0e1da debt - remove old style voice transcriber (#195883) 2023-10-18 14:42:02 +02:00
João Moreno
9905225b1a Remove win32-ia32 target (#195559)
* remove win32-ia32

* update distro
2023-10-16 13:28:09 +02:00
Benjamin Pasero
91e59a296e aux window - better focus and reveal handling for editors (#194828)
* first cut focus handling

* 💄

* implement moveToTop

* cleanup
2023-10-05 09:51:10 +02:00
Benjamin Pasero
ce752f607a voice - better ports lifecycle 2023-08-17 14:10:01 +02:00
Benjamin Pasero
b96621b58c voice - implement direct MessagePort communcation between audio worklet and shared process 2023-08-17 11:47:14 +02:00
Benjamin Pasero
652e2d069c voice - update build script includes 2023-08-09 20:28:46 +02:00
Rob Lourens
7f5de39970 Delete old settings search config uploader (#185818) 2023-06-21 17:15:31 -07:00
Raymond Zhao
06ae4b61c2 Bump windows-mutex to 0.4.4 (#184366)
Also adds OS-specific .moduleignore files
2023-06-09 09:40:10 -07:00
Johannes
ac7789cbab add core-ci-pr task which does a full build without mangling 2023-06-07 15:51:48 +02:00
Daniel Imms
9d1a210778 Support fish SI automatic injection
Fixes #139400
2023-05-19 15:45:28 -07:00
Robo
86b1962b0e fix: chromium license packaging (#181142)
* Revert "Revert "chore: use chromium license file downloaded from Electron package (#181106)" (#181113)"

This reverts commit 25fc56b4de.

* chore: bump @vscode/gulp-electron

* chore: update distro
2023-04-28 15:14:31 -07:00
Robo
25fc56b4de Revert "chore: use chromium license file downloaded from Electron package (#181106)" (#181113)
This reverts commit d7da8fc2c9.
2023-04-28 12:52:08 +02:00
Robo
d7da8fc2c9 chore: use chromium license file downloaded from Electron package (#181106) 2023-04-28 11:45:00 +02:00
Raymond Zhao
ee76f103e1 Use custom node-gyp for SDL pipeline (#179723)
* Use custom node-gyp
* Avoid using relative cd
* Remove ia32 for Linux
* Bump gulp-atom-electron; unblocks downloading PDBs
* Add native-is-elevated to the scan
2023-04-21 09:15:05 +09:00
Robo
1307c7afbe chore: update electron@22.4.5 (#179857)
* chore: update electron@22.4.5

* chore: avoid replacing ffmpeg
2023-04-13 21:32:24 +09:00
Robo
e5f61433b5 chore: update to Electron 22 (#177600)
* Revert "chore: revert to Electron 19 (#175851)"

This reverts commit 3a11b47eee.

* chore: bump electron@22.3.3

* build: use custom version for V8 sandbox

* chore: update electron@22.4.1

* chore: enable forceAllocationsToV8Sandbox for extension host

* chore: bump electron@22.4.2

* chore: bump electron@22.4.3

* sandbox - cleanup from electron 22 update (#178919)

* Revert "chore: revert to Electron 19 (#175851)"

This reverts commit 3a11b47eee.

* chore: bump electron@22.3.3

* build: use custom version for V8 sandbox

* chore: update electron@22.4.1

* chore: enable forceAllocationsToV8Sandbox for extension host

* chore: bump electron@22.4.2

* chore: bump electron@22.4.3

* temp: update distro

* sandbox - cleanup from electron 22 update

* missing comile

* more changes

* fix build

* restore

* 💄

* compile

---------

Co-authored-by: deepak1556 <hop2deep@gmail.com>

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-04-03 09:09:31 +02:00
Benjamin Pasero
b0b69338e8 debt - further reduce electron-browser layer (#178504)
* debt - move more tests out of `electron-browser`

* move more tests

* move preload script as well

* fix
2023-03-28 10:35:58 -07:00
Benjamin Pasero
0e530c3e07 debt - do not ship *-dev.html (#178315)
do not ship `-dev.html`
2023-03-25 20:13:59 +01:00
Benjamin Pasero
31edbf7ca6 sandbox - move shared process to node layer (#174581) 2023-02-17 10:18:01 +01:00
Johannes Rieken
7e69465303 don't use underscore for native JS things (#173282) 2023-02-03 03:47:51 -08:00
Johannes
0dac468cc0 mark package.json as external module 2022-11-21 11:26:17 +01:00
Johannes Rieken
fec87f38cb Analyse profiles in worker thread (#164468)
- profile renderer returns profile data
- analyse profiles in separate worker thread
- adjust renderer and extension host profiling
- adjust build scripts to build worker file
2022-10-24 17:42:54 +02:00