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