Commit Graph

1050 Commits

Author SHA1 Message Date
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
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
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
Bhavya U
c43e386ec1 Remove welcomeOverlay and its references 2023-02-28 11:53:27 -08: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
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
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
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
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
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
326876fa9e bump vsce (#168071)
* bump vsce

* remainder

* use latest vsce

* compile build output
2022-12-22 17:00:21 +01: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
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
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
Martin Aeschlimann
86ff830c3a fix string.replace (for #167239) (#167259) 2022-11-25 14:45:57 +00:00
Johannes Rieken
1e3d0b5c05 mangle polish (#166604)
* mangle polish

* missing js files (again...)
2022-11-24 14:52:10 +01: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
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
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