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
Connor Peet
883bac79c4
build: fix
...
Local debug stuff got onto main
2022-10-20 17:59:16 -07:00
Connor Peet
bf36a10c47
cli: use packaged openssl instead of artisanal builds
2022-10-20 17:14:14 -07:00
Connor Peet
0cc08da37a
cli: build the tunnel cli by default
2022-10-20 16:58:02 -07:00
Connor Peet
8ba5882fb8
Merge pull request #163971 from microsoft/connor4312/cli-vcpkg
...
cli: use vcpkg for everything
2022-10-20 16:45:18 -07:00
Connor Peet
c536595a7f
cli: fallback to system installs in the standalone CLI
...
The standalone CLI should detect and fall back to using and
system-installed VS Code instance, rather than trying to download zips
and manage its own VS Code instances.
There are three approaches used for discovery:
- On Windows, we can easily and quickly read the register to find
installed versions based on their app ID.
- On macOS, we initially look in `/Applications` and fall back to the
slow `system_profiler` command to list app .app's if that fails.
- On Linux, we just look in the PATH. I believe all Linux installers
(snap, dep, rpm) automatically add VS Code to the user's PATH.
Failing this, the user can also manually specify their installation dir,
using the command `code version use stable --install-dir /path/to/vscode`.
Fixes #164159
2022-10-20 10:54:13 -07:00
Connor Peet
8bfd07de06
update client builds to pull the right artifacts
2022-10-18 15:42:31 -07:00
Connor Peet
691ffd27c2
fix missing sudo
2022-10-18 15:05:49 -07:00
Connor Peet
067db8e75b
set linker for armhf correctly
2022-10-18 14:59:21 -07:00
Connor Peet
ed0a21eda6
Merge remote-tracking branch 'origin/main' into connor4312/msrustup
2022-10-18 14:25:51 -07:00
Connor Peet
24a51e506f
try using vcpkg for everything
2022-10-18 10:58:50 -07:00
Connor Peet
c625ff80d3
Merge pull request #161658 from microsoft/connor4312/cli-self-update
...
cli: implement correct self-updating
2022-10-18 08:38:28 -07:00
Martin Aeschlimann
c83eff40dd
Remove too many folding regions notification ( #163854 )
...
* Remove too many folding regions notification
* remove duplicate folding limit item for JSON/JSONC
* polish
* fix test
2022-10-17 14:42:02 -07:00
Connor Peet
b987cb47f4
fix integrated cli check
2022-10-17 13:53:06 -07:00
Connor Peet
4e9bdbd44f
make self-update work on Linux
2022-10-17 13:38:52 -07:00
Connor Peet
7c3740a7e7
update prepare scripts, license, lockfile
2022-10-17 11:50:49 -07:00
Connor Peet
75dfb8993e
Merge branch 'main' into connor4312/cli-self-update
2022-10-17 11:15:23 -07:00
Connor Peet
cb1b7ec10b
temporarily disable secret-service pending update
2022-10-17 11:13:51 -07:00
Connor Peet
450f8e65b6
run cli tests on pr
2022-10-17 09:56:15 -07:00
Connor Peet
84439a87f6
wip
2022-10-14 15:46:49 -07:00
Connor Peet
84a929b8b7
Merge remote-tracking branch 'origin/main' into connor4312/cli-self-update
2022-10-14 14:23:41 -07:00
João Moreno
ac9aff3521
reenable terrapin ( #163622 )
...
* drop npx for terrapin
* enable terrapin by default
2022-10-14 01:35:15 -07:00
Tyler James Leonhardt
4502088b10
fix empty check for json ( #163576 )
2022-10-13 11:01:05 -07:00
Tyler James Leonhardt
77d14a4711
use size to check if any files were added ( #163571 )
...
use size
2022-10-13 09:54:57 -07:00
Martin Aeschlimann
17c7a08962
Add cli & command to run the code server on the desktop ( #163546 )
...
Add cli & command to run the code server on the desktop
2022-10-13 15:02:42 +02:00
Tyler James Leonhardt
a8108049ab
Allow extensions to use new API and it get included in Language Packs ( #163493 )
...
* Allow extensions to use new API and it get included in Language Packs
This leverages the l10n-dev package to analyze ts files for `l10n.t` calls.
* delete console.logs
2022-10-12 17:28:34 -07:00
Connor Peet
a5e9b83d65
ci: fix wrong file in cli tests
2022-10-12 17:05:41 -07:00
Tyler James Leonhardt
342aa9c59a
Improvements to i18n ( #163372 )
...
* remove dead code from Transifex
* use @vscode/l10n-dev for XLF operations for extensions
* generated files
* more generated files
* remove dead code
* move l10n-dev to where gulp is
* generated
2022-10-12 14:10:57 -07:00
Connor Peet
6353f80f3d
Merge pull request #161640 from microsoft/build-integrated-cli
...
Update build process to include integrated CLI
2022-10-12 08:59:37 -07:00
Alexandru Dima
72a982d0d3
Fix typo in regex ( #163404 )
2022-10-12 00:08:09 -07:00
Tyler James Leonhardt
3e4e351816
Enforce ILocalizedString usage with f1 property via types ( #162991 )
...
* Enforce ILocalizedString usage with f1 property via types
* complete comment
* Visit all symbols when encountering a union type
* use ILocalizedString
* fix tests
Co-authored-by: Alex Dima <alexdima@microsoft.com>
2022-10-11 21:24:43 -07:00
Connor Peet
b42f25b50b
address pr comments
2022-10-11 08:30:43 -07:00
Connor Peet
ebd59363f0
Merge branch 'build-integrated-cli-dev' into build-integrated-cli
2022-10-10 19:13:08 -07:00
Connor Peet
dc69e22984
fix build
2022-10-10 15:59:55 -07:00
Connor Peet
191dc770d1
address pr comments
2022-10-10 10:40:01 -07:00
Connor Peet
1b11bc6724
address pr comments
2022-10-10 10:39:51 -07:00
João Moreno
8ea1dee83c
Revert "Revert "update inno_updater to 0.9.0 ( #162933 )" ( #163156 )" ( #163178 )
...
This reverts commit 8e1235ee25
.
2022-10-10 06:54:07 -07:00
João Moreno
8e1235ee25
Revert "update inno_updater to 0.9.0 ( #162933 )" ( #163156 )
...
This reverts commit f4fb3f3e58
.
2022-10-10 02:30:14 -07:00
João Moreno
f4fb3f3e58
update inno_updater to 0.9.0 ( #162933 )
2022-10-07 14:00:58 +02:00
Matt Bierner
99e126b0b2
Pick up latest TS version for building VS Code ( #162786 )
...
Pick up latest TS for building VS Code
2022-10-06 12:08:45 -07:00
Connor Peet
18f743d534
address pr comments
2022-10-05 12:56:07 -07:00
Connor Peet
b401701d87
address pr comments
2022-10-05 11:46:24 -07:00
Connor Peet
cbc174dcad
Merge remote-tracking branch 'origin/main' into build-integrated-cli
2022-10-05 10:00:18 -07:00
Michael Rienstra
625fec97f2
Enforce yarn version ( #162610 )
...
* Enforce yarn version
Actually require >=1.10.1 and <2
* error when yarn >= 2
2022-10-05 05:22:33 -07:00
Tyler James Leonhardt
d19445483e
use timeoutsec and log between irm and ea ( #162695 )
2022-10-04 14:12:53 -07:00
João Moreno
8da400cf70
make sure VSCODE_RELEASE works even if quality is frozen ( #162556 )
2022-10-03 03:06:08 -07:00
Tyler James Leonhardt
9cad027389
check artifact size after download and extraction ( #162407 )
...
* just log it for now
* add size check
2022-09-30 09:31:29 +02:00
João Moreno
9ec34a5b60
Revert "stop shipping build-only dependencies ( #162172 )" ( #162254 )
...
This reverts commit 582aa29f85
.
2022-09-28 13:50:35 -07:00
João Moreno
582aa29f85
stop shipping build-only dependencies ( #162172 )
2022-09-28 06:20:58 -07:00
Ladislau Szomoru
7ff04babc6
Revert "Engineering - use specific image version ( #160878 )" ( #162052 )
...
This reverts commit 924d7622fa
.
2022-09-28 09:49:59 +02:00
Matt Bierner
c2a2ad4f63
Rename image-preview extension to media-preview ( #162093 )
...
Fixes #162092
Also removes `aac` from the list of supported audio formats
2022-09-27 21:01:14 -07:00
João Moreno
70a7ce4d1a
Auto releasing a build needs peer approval ( #161981 )
...
* make sure VSCODE_RELEASE has peer approval
* boom
2022-09-27 16:55:34 +02:00
João Moreno
43894c6ea0
add Cargo.toml for inno-updater ( #161976 )
2022-09-27 07:29:29 -07:00
Connor Peet
889fbd2f1b
add detection for integrated cli, verify
2022-09-26 07:22:58 +02:00
Connor Peet
07453efc00
cli: implement better self-updating
...
- Start separating a "standalone" CLI. This is a little awkward with clap-
derive, but I got it working. Detection of whether the CLI _is_
standalone is still todo.
- Remove the old ad-hoc update code for code-server, and use the update
service instead.
- Fix some of the "permission denied" errors people got while updating
before. We need to rename the old running binary, not just overwrite it.
2022-09-23 17:47:39 -07:00