Commit graph

4824 commits

Author SHA1 Message Date
Connor Peet 1b5fd140fb
Run tunnels as singleton process (for a --cli-data-dir) (#177002)
* wip on singleton

* wip

* windows support

* wip

* wip

* fix clippy
2023-03-14 08:09:47 -07:00
Sebastian Pahnke 107a4809df Expose EditorZoom in the monaco API 2023-03-14 10:02:19 +01:00
Tyler James Leonhardt bc392ac9ff
Remove stale code & old migration (#176828)
* Remove stale code & old migration

* Removes browserNlsMetadataPath everywhere which was the old attempt to localize the web
* Removes an old migration

* js file
2023-03-13 18:41:59 +01:00
Martin Aeschlimann 780b2f5758
add linter for css variable names (#176769) 2023-03-10 07:33:02 -08:00
yiliang114 ef3dbb5e11 fix: typos 2023-03-10 20:02:01 +08:00
Alexandru Dima 0255bb0b03
If defined, use the runtime configured baseUrl (#176573) 2023-03-09 07:20:15 -07:00
Robo 502ac5b213
ci: switch to core20 for snap (#127320)
* ci: switch to core20 for snap

* chore: update rpath of crashpad handler

* chore: remove unused exports
2023-03-08 18:14:55 -08:00
Henning Dieterichs 2a290b6a72
Move lineRange to editor/common/core and adds editor.experimental.asyncTokenizationLogging (#176408)
* Move lineRange to editor/common/core and adds editor.experimental.asyncTokenizationLogging

* Fixes CI
2023-03-07 18:00:08 +01:00
Tyler James Leonhardt 8ddd3bcf39
Allow pulling in external extension translations from somewhere else (#176090)
allow pulling in external extension translations from somewhere else

This will allow js-debug to push its strings to the extension localization repo and then we will grab the translated strings from there.
2023-03-03 13:15:28 -08:00
Daniel Imms a6c67db750
Add terminalContrib i18n 2023-03-02 13:44:11 -08:00
João Moreno 7e5c00f860
remove unused schedule (#175898) 2023-03-02 16:06:29 +01:00
Johannes Rieken 155cd6db22
More implicit public of protected fields fixing (#175869)
* debt - don't make `_insertSuggestion` force-public

https://github.com/microsoft/vscode/issues/166603

* fix most implict public making

https://github.com/microsoft/vscode/issues/166603

* implict public making causes a build failure

* fix one more violation
2023-03-02 12:56:22 +01:00
Robo 3a11b47eee
chore: revert to Electron 19 (#175851)
* Revert "Update to min supported version of node (#175723)"

This reverts commit f749e6be2d.

* Revert "chore: update min node version for development (#175663)"

This reverts commit f2a822fbe9.

* Revert "electron 22 sandbox - enable for OSS (#175659)"

This reverts commit 2551af21f8.

* Revert "chore: update to Electron 22 (#166430)"

This reverts commit 6e85d2b51e.
2023-03-02 02:58:46 -08:00
Rob Lourens 825e84e144
Implement interactive session provider api (#175810)
Implement interactive session provider
2023-03-01 23:47:18 +01:00
Connor Peet 26fe31fc66
update openssl-prebuild for musl failures (#175731)
* update openssl-prebuild for musl failures

* reapply vendoring

* reapply macos pipeline fix
2023-03-01 08:57:45 +01:00
Connor Peet f8119e9beb
Revert "cli: fix static import of openssl (#175681)" (#175727)
This reverts commit 7014a17b1f.
2023-03-01 07:43:32 +01:00
Connor Peet d4612fb717
cli: fix build for x64 musl (#175700)
try
2023-02-28 14:09:29 -08:00
Bhavya U c43e386ec1 Remove welcomeOverlay and its references 2023-02-28 11:53:27 -08:00
Connor Peet 7014a17b1f
cli: fix static import of openssl (#175681)
* cli: fix static import of openssl

* update dev tunnels
2023-02-28 11:20:58 -08:00
Robo f2a822fbe9
chore: update min node version for development (#175663) 2023-02-28 17:22:33 +01:00
Robo 6e85d2b51e
chore: update to Electron 22 (#166430)
* chore: bump electron@22.0.0-beta.5

* chore: bump electron@22.0.0-beta.7

* chore: update libc++ flags

* chore: switch to c++17

* chore: bump electron@22.0.0

* chore: bump electron@22.0.2

* chore: cleanup build config for linux

* chore: update debian dependencies

* chore: update rpm dependencies

* chore: update electron@22.0.3

* chore: bump electron@22.2.0

* chore: remove deprecated utility process invoker

* chore: bump electron@22.2.1

* chore: remove unused methods

* chore: update internal electron version

* chore: bump electron@22.3.0

* temp: update electron with default PGO

* chore: bump electron@22.3.1

* cleanup

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-02-28 07:04:00 -08:00
Robo a22b77d5e1
chore: bump electron@19.1.11 (#175531)
* chore: bump electron@19.1.11

* chore: update chromium version for security patches
2023-02-27 13:57:52 +01:00
Benjamin Pasero 9bbce647b3
debt - strict layer rules for more services (#175411) 2023-02-25 15:49:47 +01:00
JSJ 3e00dca41f
Fixed OpenWithCodeContextMenu text (#173468)
* Fixed OpenWithCodeContextMenu text

Changed tab to space in OpenWithCodeContextMenu that caused the option to show "missplaced" in the context menu of Windows file explorer.

* Fix encoding
2023-02-21 16:43:21 +00:00
Robo 78cb4eb690
chore: remove cups dependency (#174827) 2023-02-20 12:19:18 +01:00
Robo 20c4065239
chore: bump electron@19.1.10 (#174808) 2023-02-20 08:07:18 +01:00
Tyler James Leonhardt d5277e8e2b
Ensure language packs are installed on the server side (#174622) 2023-02-17 07:23:00 -08:00
Benjamin Pasero 31edbf7ca6
sandbox - move shared process to node layer (#174581) 2023-02-17 10:18:01 +01:00
SteVen Batten 174600ec07
fix build (#174596) 2023-02-16 17:56:20 +01:00
SteVen Batten a28dc84d88
warn on CG alerts (#174591) 2023-02-16 17:30:16 +01:00
João Moreno b4db415a10
cdn: only gzip encode known mimetypes (#174577) 2023-02-16 15:30:46 +01:00
João Moreno d619dcfc77
bump build/npm/gyp deps (#174361) 2023-02-14 17:21:39 +01:00
João Moreno 07a7d71087
Bump to @vscode/policy-watcher (#174354)
* use latest @vscode/policy-watcher

* fix compile

* ooops

* lock new version
2023-02-14 16:53:34 +01:00
dependabot[bot] 9076750961
Bump http-cache-semantics from 4.1.0 to 4.1.1 in /build/npm/gyp (#173400)
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 16:49:45 +01:00
dependabot[bot] ade2771f50
Bump http-cache-semantics from 4.1.0 to 4.1.1 in /build (#173136)
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/commits)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 16:43:32 -08:00
João Moreno c7930ca55d
Revert "bump @vscode/policy-watcher (#174063)" (#174072)
This reverts commit 47e3135bda.

Revert "move to @vscode/policy-watcher (#173950)"

This reverts commit a1e73c96a4.
2023-02-10 16:37:50 +01:00
SteVen Batten 49055d2286
add am task to sdl scan (#173954) 2023-02-09 07:45:30 -08:00
João Moreno a1e73c96a4
move to @vscode/policy-watcher (#173950) 2023-02-09 07:12:42 -08:00
Tyler James Leonhardt 31e476ee1e
bump @vscode-internal/openssl-prebuilt (#173827)
* bump @vscode-internal/openssl-prebuilt

* bump windows
2023-02-08 08:59:07 -08:00
Martin Aeschlimann 911f119120
generalize limit indicator and use for color decorators (#173730)
* generalize limit indicator and use for color decorators

* remove updateDebounceInfo max
2023-02-08 07:43:29 +01:00
Johannes Rieken 7e69465303
don't use underscore for native JS things (#173282) 2023-02-03 03:47:51 -08:00
Johannes f7f42dbd63
print/fwd SWC errors properly
https://github.com/microsoft/vscode/issues/173074
2023-02-02 11:57:38 +01:00
Raymond Zhao 7eb6452066
Add appdata.xml to rpm template (#172976)
Fixes #141092
2023-02-02 01:54:43 -08:00
Jean Pierre 22cfea1eb7 Fixes compilation in windows
Related #170767
2023-01-29 17:37:06 -05:00
Matt Bierner d67db9d358
Pick up latest TS for building VS Code (#172033) 2023-01-23 11:39:28 -08:00
Johannes Rieken 3db45fbd42
use normalized path when checking for mangled new contents, (#171964)
* use normalized path when checking for mangled new contents,

https://github.com/microsoft/vscode/issues/170767

* add missing js file
2023-01-23 14:11:36 +01:00
Daniel Imms 70ed6fa10a
Add workbench suggest o i18n.resources.json 2023-01-19 13:22:58 -08:00
João Moreno 5bb0a22e43
fixes bad node_modules cache usage (#171725) 2023-01-19 15:30:50 +01:00
Robo fdb2befac5
chore: update node-pty@0.11.0-beta27 (#171583) 2023-01-19 11:12:46 +01:00
Connor Peet a0562ccdb2
build: fix win32 signed cli archive (#171584) 2023-01-18 09:30:03 +01:00
Connor Peet d5ab02349e rename cli binary to reflect quality 2023-01-17 08:19:36 -08:00
João Moreno e8fa61d2fc
retry terrapin 5 times (#171489)
fixes #170935
2023-01-17 13:48:02 +01:00
Martin Aeschlimann d4237bd8d5
merge ThemeIcon and CSSIcon (#171279) 2023-01-13 20:15:16 +01:00
Tyler James Leonhardt 7c0e51357d
Pull l10n files from build folder for extensions that don't live in source (#171217)
This will allow the l10n build to pick up the bundle.l10n.json inside of js-debug

cc @connor4312
2023-01-13 08:34:14 +01:00
João Moreno 89e427274e
fix darwin universal (#171072) 2023-01-11 17:09:19 +01:00
João Moreno 277e80be94
dynamically find macos signing identity (#171063)
* dynamically find macos signing identity

* debug

* more debug

* argh

* Revert "argh"

This reverts commit 0e0715fb44.

Revert "more debug"

This reverts commit 7632542023.

Revert "debug"

This reverts commit 6f00a3acef.
2023-01-11 23:39:31 +09:00
Robo 2fae780e49
chore: update code signing certificate identity (#171061) 2023-01-11 14:13:50 +01:00
SteVen Batten d11f9ceb6f
better scanning (#170885)
* replace cql task in sdl scan

* fix var format

* switch to 1es-windows image
2023-01-09 20:17:34 +01:00
Connor Peet 314d7b6c47
debug: allow setting breakpoints in plain .js files (#168921)
* debug: allow setting breakpoints in plain .js files

Fixes #159684

* fixup! don't change sourceURLs in build
2023-01-06 09:22:46 +01:00
João Moreno 717d7d62c8
always authenticate to npm (#170437) 2023-01-03 09:27:18 +01:00
dependabot[bot] 6106980525
Bump json5 from 2.2.0 to 2.2.2 in /build (#170244)
Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.0...v2.2.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-30 21:50:46 +01:00
João Moreno 7f65f0213c
fix CI when publishing alpine assets (#169917) 2022-12-23 13:23:26 +01:00
João Moreno 326876fa9e
bump vsce (#168071)
* bump vsce

* remainder

* use latest vsce

* compile build output
2022-12-22 17:00:21 +01:00
Ladislau Szomoru f9333a4a16
Revert "Engineering - do not extract node modules archive in the job that keeps the cache warm (#169736)" (#169739)
This reverts commit 2f582604fb.
2022-12-21 13:33:43 +01:00
Ladislau Szomoru 2f582604fb
Engineering - do not extract node modules archive in the job that keeps the cache warm (#169736) 2022-12-21 12:44:30 +01:00
Ladislau Szomoru 574bc61051
Engineering - Windows job use generic node modules cache when quality is OSS (#169727) 2022-12-21 12:02:27 +01:00
Peng Lyu 687cc4fe97
Fix #168070. Filter ipynb output from hygine (#169691) 2022-12-20 23:33:30 +01:00
Ladislau Szomoru 9d5de75930
Engineering - Create Windows job to maintain cache (#169675)
Create Windows job to maintain cache
2022-12-20 21:18:53 +01:00
Ladislau Szomoru e1b6f8f9a5
Engineering - Add Windows test jobs to PR pipeline (#169627)
* Add Windows test jobs

* Comment out Windows smoke tests
2022-12-20 12:30:58 -07:00
Tyler James Leonhardt 0510da84dd
Use new version of @vscode/l10n-dev that uses tree-sitter (#169668)
Use new version of @vscode/l10n-dev

Required a bit more refactoring because an API had to be made async.
2022-12-20 19:53:50 +01:00
João Moreno 983b06e9bf
polish mangler output to align with build (#169388) 2022-12-16 13:20:07 +01:00
João Moreno 1e1da2aed3
build: refactor alpine out of linux (#169368)
* build: refactor alpine out of linux (#169278)

* fix alpine stage with no jobs

* test

* revert test
2022-12-16 08:51:06 +01:00
Joyce Er e408ce88e0 Revert "build: refactor alpine out of linux (#169278)"
This reverts commit 3567fd1145.
2022-12-15 11:47:27 -08:00
João Moreno 3567fd1145
build: refactor alpine out of linux (#169278) 2022-12-15 16:51:12 +01:00
Johannes 0d5f87e9dd
change source map merge logic to be like applying line edits to the typescript source maps (based on the input source maps) 2022-12-14 15:57:55 +01:00
Johannes 59f0d9c20e
fix ts2ts source map generation 2022-12-14 12:22:56 +01:00
Johannes cf8ae4b515
Merge branch 'main' into joh/sourceMaps-mangleProps 2022-12-13 14:18:00 +01:00
João Moreno 90812ba66f
remove unused pipeline (#168567) 2022-12-09 10:45:01 +01:00
Matt Bierner 6e5b663e99
Make sure lib.d.ts is included in build (#168501)
Fixes #168420
2022-12-08 11:36:42 -08:00
dependabot[bot] 7ca99004a5
Bump qs from 6.10.1 to 6.11.0 in /build (#168174)
Bumps [qs](https://github.com/ljharb/qs) from 6.10.1 to 6.11.0.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.10.1...v6.11.0)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-07 09:26:10 +01:00
Sandeep Somavarapu fac2283bf3
fix string.replace (#168169)
fix string.replace #167239
2022-12-06 14:50:23 +01:00
Johannes f73bb21f27
wip 2022-12-02 13:03:16 +01:00
Matt Bierner ce934ff443
Also run cleanNodeModules on extensions/node_modules (#167476)
Also run cleanNodeModules on extensions/node_modules

Fixes #166652
2022-11-29 12:15:09 -08:00
Matt Bierner afd71d8f10
Be more selective about which typescript d.ts files we include (#167477)
Be more selective about which d.ts files we include
2022-11-28 16:27:03 -08:00
Martin Aeschlimann 86ff830c3a
fix string.replace (for #167239) (#167259) 2022-11-25 14:45:57 +00:00
Benjamin Pasero aa961ec5da
String.replace will substitute special patterns (#167239) (#167250) 2022-11-25 14:03:49 +00:00
Johannes Rieken 1e3d0b5c05
mangle polish (#166604)
* mangle polish

* missing js files (again...)
2022-11-24 14:52:10 +01:00
Connor Peet fb53973c5f
cli: pull documentation url from product.json (#166993)
Fixes https://github.com/microsoft/vscode-cli/issues/560
2022-11-22 11:21:41 -08:00
Connor Peet 94ee5f5861
cli: automatically use distro qualities if available (#166961)
A fully-functioning CLI with tunnel capabilities requires product-specific
configuration that is not included in the OSS. This change has the CLI's build
script automatically look for a peer `vscode-distro` folder and, in a debug
build, set its build variables based on that.

It also works to set correct variables if vscode-distro is not found, based on
the OSS product.json (though this is not sufficient to run a fully fledged
tunnel.)
2022-11-22 06:13:16 -08:00
Martin Aeschlimann 0131be02f4
add editorWebUrl to tunnelApplicationConfig (#166872)
* add editorWebUrl to tunnelApplicationConfig

* bump distro & compile 'build'
2022-11-21 09:37:26 -08:00
Johannes Rieken f08feed6f1
Merge pull request #166686 from microsoft/joh/middle-jellyfish
Remove __$__nodeRequire usages
2022-11-21 11:50:02 +01:00
Johannes 0dac468cc0
mark package.json as external module 2022-11-21 11:26:17 +01:00
Connor Peet 796ee2bf3c
chore: pull more strings from the product.json (#166769)
Fixes the bulk of https://github.com/microsoft/vscode-cli/issues/560
2022-11-18 18:52:52 -08:00
Matt Bierner f98ca02f59
Use moduleignore to try excluding unused ts files (#166654)
Use moduleignore to exclude unused ts files

Fixes #166652
2022-11-17 15:53:52 -08:00
Johannes fdc39b56e4
missing JS files 2022-11-16 13:47:07 +01:00
Johannes Rieken 3ffb834054
Merge branch 'main' into joh/rewrite-privates 2022-11-16 10:20:49 +01:00
Henning Dieterichs 3e19ba91ff
Allows to pass in a custom diffing algorithm when instantiating the monaco diff editor. (#165179)
* Allows to pass in a custom diffing algorithm when instantiating the monaco diff editor.

* Undo launch.json change
2022-11-16 08:48:39 +01:00
Matt Bierner d0d28a6295
Reapply building of web server (#166391)
* Reapply building of web server

Revert 8b4642ab23

* Fix critical dep error
2022-11-15 14:55:40 -08:00
Henning Dieterichs b11207c539 Revert "Copy webServer from Typescript to VS Code (#165771)"
This reverts commit cb43019d6a.
2022-11-15 14:45:32 +01:00
Johannes c281755a1b
more missing JS files 2022-11-15 09:45:01 +01:00
Johannes 5912ad3ff1
Merge branch 'main' into joh/rewrite-privates 2022-11-15 09:44:34 +01:00
Johannes 424a88c0ef
missing JS files 2022-11-15 09:05:07 +01:00
Connor Peet c47751948c
cli: add service integration for systemd (#166328)
systemd, like most 'modern' linux components, has a nice dbus API. This uses
that API to register the tunnel as a service of the calling user.

The dbus dependency is temporarily duplicated, until secret-service 3 is
released, where they update to the latest version (should be a week or two).

For https://github.com/microsoft/vscode-cli/issues/367. Next up, macOS,
then it's done :)
2022-11-14 21:39:05 -08:00
Nathan Shively-Sanders cb43019d6a
Copy webServer from Typescript to VS Code (#165771)
* Initial draft.

Not working.
Also not correctly formatted, I'll do that later.

* Various fixes

It works now

* A bit of cleanup

* Move webServer to its own directory

And prepare for getting rid of dynamicImportCompat.js hack

* Remove dynamicImportCompat.js hack

* Revert unrelated change

* Webpac tsserver.web.js with webServer.ts as entrypoint

Instead of using CopyPlugin.

1. Shipping multiple entrypoints in a single file required fixes to
build code.
2. There are a couple of warnings from `require` calls in
tsserverlibrary.js. Those are not relevant since they're in non-web
code, but I haven't figured how to turn them off; they are fully dynamic
so `externals` didn't work.

* Ignore warnings from dynamic import in tsserver

* Add to .vscodeignore files
2022-11-14 10:56:31 -08:00
Johannes aeb79e48a0
free memory when TS2TS mangling is done 2022-11-14 16:54:13 +01:00
Johannes 85c28e5927
improve printing of implicit public cases 2022-11-14 16:15:11 +01:00
Johannes d481999d09
make TS-mangler part of compile-build 2022-11-14 15:55:02 +01:00
Johannes 201e6a3e11
make mangler a class with mangle call, return vinyl instances 2022-11-14 13:51:21 +01:00
Johannes fb8187c953
source maps for build/lib 2022-11-14 11:57:01 +01:00
Johannes 66198056ea
source maps for build/lib 2022-11-14 11:56:32 +01:00
Johannes 58e979f39e
Merge branch 'main' into joh/rewrite-privates 2022-11-14 11:56:16 +01:00
Tyler James Leonhardt 964dc545ab
Pickup bundle.l10n.json (#166169)
For npm modules that have bundled `@vscode/l10n`, they can export their strings to a bundle.l10n.json file which will get picked up by this change and included in the overall bundle for the extension.
2022-11-12 14:42:39 -08:00
Johannes 15cb324f3f
do it all with the language service 2022-11-11 17:16:29 +01:00
Johannes 17737278ae
rename to typescript manger, (mostly) use language service rename feature 2022-11-11 13:48:21 +01:00
Ramón Corominas c9f32595a6
Update messages.es.isl to add context menu hotkey (#166010)
* Update messages.es.isl

Add a hotkey to allow opening with Code from the context menu also in Spanish

* fix encoding

Co-authored-by: Joao Moreno <joao.moreno@microsoft.com>
2022-11-11 01:34:09 -08:00
João Moreno 59814267dd
Use new Key Vault account (#166049)
use separate keyvault
2022-11-11 09:38:36 +01:00
Johannes 696c1cf199
build utils with source map to enable JS debug console 2022-11-10 15:05:47 +01:00
Matt Bierner d950552131
Allow trailing commas while minifying json resources (#165870)
I noticed a few of our built-in extension's json resources were not being minified. The root cause appears to be trailing commas in the json
2022-11-08 14:38:53 -08:00
易良 59faab44cd
Only use string of the remote/web/package.json browser field (#165163)
fix(build): Close #165162, only use string of the package.json `browser` field
2022-11-08 10:30:02 -05:00
Connor Peet 1d4beede78
Merge pull request #165773 from microsoft/connor4312/cli-pin-rust-version
cli: pin rust (and clippy) version for builds
2022-11-07 20:26:26 -08:00
Tyler James Leonhardt a8ae2cedaf
Include JS files in XLF creation for extensions (#165774)
* Bumps @vscode/l10n-dev to a version that supports JS files
* Pulls in JS files (and TSX & JSX) in addition to TS to account for scenarios like Emmet which pulls in @vscode/emmet-helper as an npm package
2022-11-07 19:50:39 -08:00
Connor Peet 63fbcea804
cli: pin rust (and clippy) version for builds 2022-11-07 17:56:35 -08:00
Connor Peet eb7c77c508
cli: only build common platforms in ci
Fixes #165140
2022-11-07 11:08:57 -08:00
Tyler James Leonhardt 0249ba460f
use the actual extension id as the id in the language pack (#165436)
Past behavior caused 404s to be thrown by the unpkg service because core was trying to load:

`${extensionId}` -> `vscode.markdown`

and not what the build creates in the language packs:
`vscode.${extensionFolder}` -> `vscode.markdown-basics`

this aligns build time and runtime.
2022-11-03 15:50:50 -07:00
Matt Bierner e7e403d83f
Bump target for build scripts (#165287) 2022-11-03 12:19:54 -07:00
Logan Ramos c6210c1c58
Reduce loaded web modules (#165369) 2022-11-03 08:36:45 -07:00
Alexandru Dima 4608b378a8
Align cache key across OSes (#165042) 2022-11-03 14:48:47 +01:00
João Moreno b0da2ea781
fix Alpine builds with npm custom registry (#165137)
fixes #165135
2022-11-01 07:28:06 -07:00
João Moreno be022daa1a
add 🚀 build tag to builds which go through publishing (#165145) 2022-11-01 04:15:50 -07:00
João Moreno 0a19bf0e8f
fix inno setup build for non-insider qualities (#165143)
fixes #165142
2022-11-01 03:53:58 -07:00
Matt Bierner d1c401cbde
Pick up latest TS for building VS Code (#165104)
* Pick up latest TS for building VS Code

* Pick up latest node typings

* Bump node types
2022-11-01 02:43:09 -07:00
Tyler James Leonhardt 0a80e31f6f
Sort the keys in order to be more predictable (#164920)
sort the keys in order to be more predictable
2022-10-28 21:16:05 +02:00
Ladislau Szomoru c7647cd307
Engineering - Add quality in the build name (#164855)
Add quality in the build name
2022-10-28 10:01:45 +02:00
Alexandru Dima ba91a81c16
Always patch the npm registry in yarn.lock files and compute the node modules cache key after having patched them (#164795) 2022-10-27 12:31:15 +02:00
Alexandru Dima c3eebaead9
Fix accidental deletion of vscode.proposed.contribNotebookStaticPreloads.d.ts and make sure to include the check in the compile-build gulp task (#164681) 2022-10-26 10:59:54 +02:00
Matt Bierner 0c6cc3a886
Let markdown strings specify a list of commands that they allow (#163915)
* Let markdown strings specify a list of commands that they allow

Fixes #163913

* Fix name
2022-10-24 14:15:44 -07:00
Connor Peet ed54a91fd0
build: parallelize cli build
Put all win and macOS builds on their own machine, since they take a minute.
Build the two GNU ARM builds together on an x64 machine, since they're
faster and can cross-compile in ~5 minutes.

This makes the CompileCLI step take a little less time than the VS Code
"Compile" step.
2022-10-24 12:01:03 -07: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
Ladislau Szomoru b757c8e3ca
Engineering - Pin macOS build agent (#164455)
Pin macOS build agent
2022-10-24 06:38:26 -07:00
João Moreno 8fe6f3e917
Allow custom npm registries at build time (#163629)
* use azure artifacts as new terrapin solution

* debug

* skip npm auth

* bring back

* also configure yarn

* custom npm registry

* oops

* powershell

* use none instead of empty string

* uff
2022-10-24 09:24:44 +02:00
Robo bece5db818
chore: cleanup inno setup for context menu install (#164411) 2022-10-24 06:45:20 +02:00
Martin Aeschlimann f10e84118b
ci: use tunnelApplicationName (#164257)
fix location of tunnel command in CI and in code
2022-10-23 20:12:23 +03:00
Connor Peet b3a0ecc97f
Merge pull request #164270 from microsoft/connor4312/use-packaged-openssl
build: use packages openssl instead of compiling during builds
2022-10-21 11:35:18 -07:00
Robo ebea50afee
feat: bundle sparse package to integrate with windows context menu (#151186)
* chore: bundle and sign explorer appx

* chore: bump vscode-explorer-command@3.0.1

* chore: explorer install/uninstall stage for appx

* chore: fix format for cmd exec

* chore: cmd file path needs triple quotes

* chore: update vscode-explorer-command@3.0.2

* chore: add reg key for new context menu title

* chore: update vscode-explorer-command@3.0.3

* fix: guard behind insider quality

* chore: fix merge conflict

* fix: type mismatch

* chore: restrict context menu related actions for win11

* refactor appx loading/unloading, revert inno updater

* update powershell

* chore: undo inno_updater changes

* fix: appx install script

* fix: perform install after update step

* fix: mv appx install to files section

* chore: additional fixes

- Remove old context menu entries when updating to newer version
- Remove context menu entry when reinstalling without menu action selected.

* chore: update vscode-explorer-command@3.0.4

- Fixes garbled title for system installation

Co-authored-by: Joao Moreno <joao.moreno@microsoft.com>
2022-10-21 20:17:30 +02:00
Connor Peet fff294400b
Merge remote-tracking branch 'origin/main' into connor4312/use-packaged-openssl 2022-10-21 10:55:13 -07:00
Connor Peet c3692c96f6
build: use npm instead of universal for arm compatibility 2022-10-21 10:21:02 -07:00
Sandeep Somavarapu c1ac223c69
fix node-vsce-sign (#164253)
* update distro

* add vsce-sign to asar

* filter node-vsce-sign

* update distro
2022-10-21 08:25:36 -07:00
Abhishek Singh 9509e6f3ef
increase innosetup minversion to win8 (#163040)
* increase innosetup minversion to win8

* Update build/win32/code.iss

Co-authored-by: João Moreno <mail@joaomoreno.com>
2022-10-21 16:54:05 +02:00
Connor Peet abf905e5dd
build: cleanup old cmakes 2022-10-20 18:33:06 -07:00
Connor Peet ddd4431d14
build: fix git auth with cli 2022-10-20 18:25:19 -07:00