Commit Graph

1160 Commits

Author SHA1 Message Date
João Moreno
934940b58d Improve language pack fetching for policies (#159048)
fixes #157219
2022-08-24 14:10:48 +02:00
Johannes
c7c4b4999b Merge branch 'main' into joh/swc 2022-08-23 18:56:48 +02:00
Tyler James Leonhardt
108916901d Pull in web strings into Language Pack (#158053)
remove old tasks and include web strings in export
2022-08-15 13:46:34 -04:00
Benjamin Pasero
0895639566 debt - mention our wiki when putting out layer errors (#157768) 2022-08-10 15:37:21 +02:00
Matt Bierner
460768a452 Update TS versions (#157550)
* Update TS versions

Update the bundled TS and build TS version

* Add explicit annotations

* Recompile JS
2022-08-09 11:26:24 -07:00
Tyler James Leonhardt
49394cc44d Enable translations for extension code for the web (#155355)
* Initial attempt

* alex feedback
2022-08-08 09:11:16 -07:00
Alexandru Dima
c0560907e9 Merge pull request #157171 from mjbvz/able-rooster
Try using AbortController for disposable dom listeners
2022-08-05 15:06:16 +02:00
Benjamin Pasero
73fd3f1103 fix build (#157217)
* fix build

* fix compile

* flaky

* .
2022-08-05 09:16:20 +02:00
Matt Bierner
a43e9acd68 Add AbortController to core types 2022-08-04 16:26:18 -07:00
Connor Peet
ca48c64699 build: cache built-in extensions to avoid rate limiting (#156918) 2022-08-03 00:27:16 +02:00
Michael Lively
3c0dba1c00 oh. had to run yarn compile from within the /build/ folder 2022-07-27 10:30:01 -07:00
Michael Lively
e617076801 added ipynb/esbuild.js to the media scripts when building extensions 2022-07-27 09:34:22 -07:00
Henning Dieterichs
d392b284c2 Merge branch 'main' into hediet/bp2-usage-telemetry 2022-07-26 09:57:47 +02:00
Alexandru Dima
a649d8f404 Explicitly enqueue files that only forward symbols (#156150)
Fixes #154083: Explicitly enqueue files that only forward symbols
2022-07-25 15:07:54 +02:00
João Moreno
76758809f1 fix api proposal generation EOL (#155991)
on Windows, my files are checked out with LF. the script which generates extensionApiProposals.ts always uses os.EOL, so it always is dirty on my repo every time I compile
2022-07-22 14:21:20 -07:00
Henning Dieterichs
5f21c372de Make treeshaking work on windows (#155952) 2022-07-22 14:07:44 +02:00
Johannes
e93326976a add node-script to run swc 2022-07-19 14:32:46 +02:00
Henning Dieterichs
d29ab10eb6 Implements telemetry for bracket colorizer 2 extension usage 2022-07-18 16:55:11 +02:00
Henning Dieterichs
8630720a0b Fixes #155179 by implementing DeprecatedExtensionMigratorContribution (#155318)
* Fixes #155179 by implementing DeprecatedExtensionMigratorContribution

* Fixes CI.
2022-07-15 18:15:12 +02:00
Johannes Rieken
2e247a1162 tweak event-naming rule and remove disable-pragma from vscode.d.ts, (#154914)
fixes https://github.com/microsoft/vscode/issues/154526
2022-07-12 14:28:07 +02:00
João Moreno
f44c00cac8 Download policy translations for previous version if current version fails (#154892) 2022-07-12 07:58:50 +02:00
João Moreno
274aed07cc policies: skip languages which do not exist (#154395) 2022-07-08 06:03:08 +02:00
Joyce Er
934408aea7 Debt - sessionSync -> editSessions (#154289) 2022-07-06 11:03:38 -07:00
Benjamin Pasero
f4f1b04d87 Add a setting to enable sandbox: true for windows (#154062)
* sandbox - allow enabled sandbox in a full build

* sandbox - reduce `electron-browser` in workbench

* sandbox - reduce `electron-browser` in platform

* sandbox - add a setting to enable sandbox mode for window

* fix lint

* Revert "sandbox - reduce `electron-browser` in workbench"

This reverts commit 36a5167cf9.

* Revert "sandbox - reduce `electron-browser` in platform"

This reverts commit 6f49d704a5.

* fix layer issue

* fix some js errors
2022-07-05 09:54:28 +02:00
Tyler James Leonhardt
13f136fc46 Include comments exporting of translations (#153769)
Include comments in call to addFile. Fixes #150990
2022-06-30 11:11:48 +02:00
Johannes Rieken
0182e175eb fix transpile on windows (#153285)
make sure to normalize paths before entering internal TS API, also add better error logging to know what file paths fail
2022-06-27 12:01:17 +02:00
Johannes
214e276bd5 have compilation#transpileTask as a separate place for tweaks 2022-06-23 17:32:20 +02:00
Johannes
b942d2ea65 use a different _internal_ API to get the output file names for a TS input file and its config... way faster than creating a program and using its internal API but needs some massage... 2022-06-23 16:20:21 +02:00
Matt Bierner
bbe7b54cf4 Remove custom editor tests (#152777)
These tests are not actively being run or maintained. Removing them for now
2022-06-21 15:37:19 -04:00
Matt Bierner
2a84b0fb6d Enable alwaysStrict for build scripts (#152778)
Turns on `alwaysStrict` and removes `'use strict';` from our `.ts` files
2022-06-21 19:00:43 +00:00
Logan Ramos
963c961b59 Ensure 1DS can load on the web (#152678)
* Ensure 1DS can load on the web

* Add compiled file
2022-06-20 16:06:16 -07:00
Alexandru Dima
0d160ac237 Fix bundling (#152389)
* Ensure stable order in bundled loader.js

* Avoid packaging build version of loader plugins
2022-06-16 21:05:10 +00:00
Alexandru Dima
9db5a3674e Bring the nls loader plugin into our sources (#152338) 2022-06-16 22:01:19 +02:00
Alexandru Dima
d132489cd0 Bring the css loader plugin into our sources (#152205) 2022-06-15 16:53:02 +02:00
Johannes Rieken
9e21aff42e joh/ts transpile (#152199)
transpile-only tasks for client and extensions

* extract transpile into its own file
* add transpile-client task, polish transpiler
* add transpile-extensions, improve transpile logic
* move declaration of "const enum" above it usage so that it can be used with const-enum-inlining
* (ugly) make d.ts transpilation configurable because it is needed for extensions but a problem for client
* hack my way around so that `getOwnEmitOutputFilePath` is reusable by our transpile
* honor `noEmit` flag
2022-06-15 16:52:48 +02:00
Alexandru Dima
5e7d488b7c Improve error message when a module cannot be bundled and exclude vs/nls from bundles (#152188) 2022-06-15 12:51:27 +00:00
Matt Bierner
b4f0d4d906 Build VS Code using latest TS nightly (#152130)
* Build VS Code using latest TS nightly

* Fix build for new AST
2022-06-14 18:15:51 -07:00
Sandeep Somavarapu
43de145502 Merge branch 'main' into sandy081/settingsProfile 2022-06-13 18:21:54 +02:00
Martin Aeschlimann
915c863a3e stripComments: remove trailing comma (#151941)
stripComments: remove trailing comma
2022-06-13 13:36:04 +00:00
Sandeep Somavarapu
6f1cdd1469 Merge branch 'main' into sandy081/settingsProfile 2022-06-13 13:11:47 +02:00
Johannes
175e81149c make sure ts-builder instance is being re-used 2022-06-11 13:50:06 +02:00
Joyce Er
7b6ca7b23d Initial implementation of Continue Edit Session (#151528) 2022-06-10 11:40:10 -07:00
Sandeep Somavarapu
872345d6a5 Merge branch 'main' into sandy081/settingsProfile 2022-06-10 09:32:46 +02:00
Johannes
eda80f2065 Merge branch 'main' into joh/voluminous-lobster 2022-06-09 16:47:09 +02:00
Sandeep Somavarapu
e1a5b67040 Merge branch 'main' into sandy081/settingsProfile 2022-06-09 16:23:21 +02:00
Johannes Rieken
2052e1ef20 Merge pull request #151609 from microsoft/joh/bloody-egret 2022-06-09 16:17:42 +02:00
Sandeep Somavarapu
380e99a28a Merge branch 'main' into sandy081/settingsProfile 2022-06-09 15:37:22 +02:00
Johannes
dadeb05148 missing compile output 2022-06-09 15:19:24 +02:00
Johannes
ba66d68c76 add transpile only stream to tsb, using ts.transpile.
https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#a-simple-transform-function
2022-06-09 15:00:55 +02:00
Johannes
2c004b870f recompile build folder with const over let 2022-06-09 10:59:11 +02:00