Commit Graph

177 Commits

Author SHA1 Message Date
Alex Dima
bd9d4d5b51 Add support for arm64 for server builds 2022-03-14 16:22:54 +01:00
Robo
32d40cf44e chore: update to electron 17 (#143223)
* chore: bump electron@17.0.0

* Revert "chore: revert to electron@13 (#143851)"

This reverts commit df645f1450.

* chore: bump electron@17.1.0

* Revert "ci: fix build with latest node-gyp"

This reverts commit c3e948aa30.

* chore: revert ci changes for node v16

* chore: update yarn.lock

* chore: bump electron@17.1.1
2022-03-11 00:51:37 +09:00
Matt Bierner
37f3aa632f Adding jsconfig for npm scripts 2022-02-28 15:06:43 -08:00
Matt Bierner
9a8a8e6c8b Move update-distro script to mjs 2022-02-28 14:56:38 -08:00
Matt Bierner
fb1af79c7d Experiment with using mjs for one of our build scripts 2022-02-28 14:47:25 -08:00
Matt Bierner
d6d2122c50 Enable type checking in more js build files 2022-02-28 14:41:26 -08:00
Alex Dima
6289768fc2 Force using x64 when running yarn on the remote folder on macOS 2022-02-28 18:12:04 +01:00
Rounak singh
d35ee52e1d This will look for Visual Studio in the Correct directory. (#143479)
* Specified the address of 'Microsoft Visual Studio' depending upon the system architect

* Changed preinstall to look for Visual Studio in the correct directory

* Updated preinstall.js to look for VS in the correct directory
2022-02-28 00:52:56 -08:00
Robo
df645f1450 chore: revert to electron@13 (#143851)
* Revert "chore: update to electron 16 (#137241)"

This reverts commit 01df559c18.
This reverts commit 46301339b7

* ci: fix remote compiler for sdl-scan

* chore: fix remote/.yarnrc

* chore: fix build/npm/postinstall.js

* chore: rm crash reporter from shared process

* chore: rm crash reporter from ext host

* chore: fix build/lib/layersChecker.ts

* :chore: preserve some more changes

* fix tests

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2022-02-24 17:49:49 +01:00
Jonathan Rubenstein
4987535801 Add VS 2022 to supported versions (#142667) 2022-02-09 17:24:56 -08:00
Henning Dieterichs
ae84d540ef Show an error if node version is less than 14.17.4 (#142627) 2022-02-09 07:06:40 -08:00
Robo
01df559c18 chore: update to electron 16 (#137241)
* chore: bump electron@15.3.0

* chore: bump node@16.x

* chore: enable render process reuse

* Revert "watcher - use `type` property for crash reporter location"

This reverts commit bfa488dd8f.

* Revert "watcher - enable crash reports on linux (#136264)"

This reverts commit af261488f8.

* chore: enable crashpad on linux

* chore: bump electron@15.3.1

* chore: update api changes

* chore: bump @vscode/sqlite3@5.0.3

* spec: skip non-context aware module unittests

* chore: fix perf hook integration with node environment

* fix: adopt fs api changes

* chore: fix integration tests

* chore: bump electron@15.3.2

* chore: bump electron@16.0.0

* temp(macOS): kill test instances in OSS

* Revert "temp(macOS): kill test instances in OSS"

This reverts commit b0d796c8d64227a5ec012c060bbbee7d9da27568.

* chore: update chromium version for clang downloader

* some 💄 changes

* align with changes

* adopt more fs.rm

* 💄

* chore: bump @vscode/sqlite3@5.0.4

* fix layers check to account for duplicated types from node.js

* update todo for type casts

* smoke - fix compile issue

* chore: update module cache

* watcher - fix unhandled rejection (fix #137416)

* ci: update node version

* enable stack dumping

* update electron types to 16.x

* chore: bump @vscode/sqlite3@5.0.5

Refs https://github.com/microsoft/vscode/issues/137496

* fix layer issue

* add `AbortSignal` to core types

* chore: update linux compile flags

Refs 797723ec83

* ci: fix linux build

* ci: update github ci cache

* ci: fix remote build in github ci

* ci: better fix for remote build

* chore: bump azure cache

* chore: fix merge conflict

* :chore: update to electron@16.0.2

* chore: bump @vscode/sqlite3@5.0.7

* ci: update to gcc-4.9 for remote

Refs https://github.com/microsoft/vscode/issues/137659

* ci: switch to buster for linux arm

Refs https://github.com/microsoft/vscode/issues/137927

* ci: fix build on linux arm64

* ci: fix arm client compiler toolchain

Refs #137927

* chore: bump electron@16.0.3

* ci: fix compile flags for the c toolchain

* chore: bump electron@16.0.4

* Add experimental dark mode flag (#139109)

* Add experimental dark mode flag

* Apply PR feedback

* chore: bump electron@16.0.6

* chore: bump electron@16.0.7

Fixes https://github.com/microsoft/vscode/issues/138792
Fixes https://github.com/microsoft/vscode/issues/139300

* chore: experimental highlight API

* smoke - fix compile issue

* FIXME: custom ELECTRON_RUN_AS_NODE with node worker

* Revert "chore: bump electron@16.0.7"

This reverts commit 5fd01cf37c.

* Revert "Revert "chore: bump electron@16.0.7""

This reverts commit a7f1b73951.

* chore: fix github linux workflow

* chore: address review feedback

* chore: bump electron@16.0.8

* ci: revert to stretch distro for linux arm

Refs https://github.com/microsoft/vscode/issues/137927

* ci: force build

* chore: update yarn.lock

* address feedback

* Revert "FIXME: custom ELECTRON_RUN_AS_NODE with node worker"

This reverts commit 7b48fa3732.

* ci: fix remote folder build

* chore: fix github linux ci

* 🆙 `versionSpec`

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Raymond Zhao <raymondzhao@microsoft.com>
2022-02-08 20:09:00 +01:00
rebornix
f2b7964599 re #142429. Image renderer moved to extension. 2022-02-07 12:49:20 -08:00
Robo
b7712c07fa refactor: build x64 remote modules with same toolchain as binary (#142023)
* refactor: build x64 remote modules with same toolchain as binary

Refs https://github.com/nodejs/node/blob/master/BUILDING.md#official-binary-platforms-and-toolchains
Fixes https://github.com/microsoft/vscode/issues/137659

* chore: split client and server stages for x64

* chore: add build dependencies

* Revert "chore: add build dependencies"

This reverts commit f9077c9ebd6017bd973db9366dc3d7f336293742.

* chore: build step requires root dependencies

* chore: only perform module installation in separate stage

* chore: fix target path

* chore: run server stage in parallel to compile

* chore: fix dependency chain

* chore: declare parallel dependecy

* chore: fix artifact name

* chore: publish as archive to preserve file types

* chore: fix target directory for extraction

* chore: update postinstall script
2022-02-03 07:56:21 -08:00
Dirk Baeumer
6ea4b6961d Tweaks to preinstall script 2022-02-02 17:10:43 +01:00
Dirk Baeumer
5c70859065 Add some comments to the preinstall script 2022-02-02 16:45:03 +01:00
Dirk Baeumer
d5945d36ab Fetch native headers during preinstall phase. 2022-01-11 12:13:13 +01:00
Ladislau Szomoru
bfad20be9d Extract remote source provider registry into the vscode.git-base extension (#137656) 2021-11-24 20:48:44 +01:00
alex-brs
f8ee1a1700 build/npm/preinstall: fix error message for node version 2021-11-09 13:21:53 -08:00
Johannes Herchen
00d94046fe fix preinstall script (#136638)
detect yarn with .cjs extensions
2021-11-08 09:50:56 +01:00
Raymond Zhao
90087ede3b Point users more directly to prerequisites #131074 2021-09-07 12:56:12 -07:00
Logan Ramos
8079e0b721 Move webNodePaths to run on compile since we rimraf out 2021-08-10 16:56:23 -04:00
Logan Ramos
6533d46465 Fix case where out/vs doesn't exist 2021-08-10 15:13:27 -04:00
Logan Ramos
82e4bc85cd Dynamically generate web package paths 2021-08-10 14:44:58 -04:00
Robo
4fee848f2f fix: CXXABI requirements for older distros (#129360)
* fix: use clang and libcxx from chromium

* chore: add flags for Link-Time Optimization

libcxx builds from upstream are built with LTO, avoiding these
flags will cause miscompiles

* chore: add lto flags to compilation units
2021-08-06 08:48:45 -07:00
Rob Lourens
5793ae026a Rename serializer extension and set up build scripts 2021-07-21 15:03:24 -07:00
Connor Peet
6cc4e560f7 testing: remove unused testing-editor-contributions
Fixes #127691
2021-07-07 15:38:27 -07:00
João Moreno
7c1e41b091 introduce git-blame-ignore 2021-07-06 20:30:21 +02:00
Johannes Rieken
0e9f3aa50a update nodejs requirement, https://github.com/microsoft/vscode/issues/121144 2021-06-25 16:32:33 +02:00
João Moreno
6fed85aaf9 pull.rebase merges 2021-06-22 19:55:13 +02:00
Tyler Leonhardt
ec9aa7c0d2 add newline 2021-06-08 15:50:42 -07:00
Matt Bierner
0a57fd87b1 Enable math in markdown preview
Fixes #124783
2021-06-08 09:58:54 -07:00
Matt Bierner
34f0fcaf52 Rename notebook-markdown-extension to markdown-math
This makes it more clear what this extension is contributing
2021-06-08 09:58:54 -07:00
Tyler Leonhardt
388b2cbd82 allow a 3rd character for first part of language id 2021-06-08 09:48:23 -07:00
Tyler Leonhardt
5d58be3308 switch to a switch for localization edge cases 2021-06-03 17:58:20 -07:00
Tyler Leonhardt
ae0e8f0446 uppercase h in localization 2021-06-03 17:50:51 -07:00
Tyler James Leonhardt
f73f263c6b Needed localization changes for converting xlfs to json (#125442)
* loc extension update changes

* log

* maybe this

* loggin

* use debug

* add language id

* log

* misc updates
2021-06-03 13:44:30 -07:00
Benjamin Pasero
2250b7aa3c :chore: allow to use node.js 16 for developing vscode 2021-04-27 08:32:10 +02:00
Christof Marti
40a6563f9b Remove git-ui extension 2021-04-13 21:38:53 +02:00
Matt Bierner
6a9f8ac758 Rename markdown math extension to notebook-markdown-extensions
We will use this to experiment with different types of extensions, not just math
2021-02-22 16:07:48 -08:00
Matt Bierner
35f855796b Add support for markdown notebook renderers (#115191)
* Use shared webpack version instead of installing locally for simple-browser

* Use npm for building markdown preview

* render markdown in webview.

* update markdown preview height and offset

* Add basic custom notebook renderer point

* update css

* style update.

* update markdown header padding left

* Add example of loading katex to extend the markdown-it renderer

* Rename global to make clear it only applies to markdown-in

* hide/remove markdown preview

* Add wait for initial markdown preview rendering before showing notebook

* Add double click to switch to editing mode

* Fix markdown cells not getting updated after editing

* style polish

* notebook.experimental.useMarkdownRenderer

* switch render strategy.

* Adding very intial drag drop support for notebook markdown cells

* Implement drag/drop stubs for test classes

* Revert unrelated file changes

* Move markdown notebook math to own extension

* Add missing imports

Co-authored-by: rebornix <penn.lv@gmail.com>
2021-02-10 16:41:53 -08:00
João Moreno
c3b556727e fix update-grammars script 2021-02-02 12:30:08 +01:00
Raymond Zhao
74f31a6859 Fix #111299 (#114441)
* Fix #111299

* Apply review comments

* Update build/npm/preinstall.js

Co-authored-by: Robo <hop2deep@gmail.com>

Co-authored-by: Robo <hop2deep@gmail.com>
2021-01-19 10:52:50 -08:00
João Moreno
0e7f3d0d8c Revert "remove colorize-tests extension usage"
This reverts commit d577c4b18d.
2021-01-19 11:39:39 +01:00
João Moreno
d577c4b18d remove colorize-tests extension usage 2021-01-15 12:59:42 +01:00
João Moreno
6525b42f47 remove unused file 2021-01-14 20:22:28 +01:00
Connor Peet
01089c0a50 testing: fix unit tests 2021-01-06 15:35:20 -08:00
Connor Peet
e2c9137841 testing: fix unit tests 2021-01-06 15:32:50 -08:00
Connor Peet
5909115757 testing: code lens and diagnostic information for tests 2021-01-06 15:22:49 -08:00
Matt Bierner
3ed300eb9d Add simple browser extension (#109276)
* Add support for TS's Hierarchical refactorings API

https://github.com/microsoft/TypeScript/pull/41975

* Add simple browser extension

This change adds a new 'simple browser' extension. This extension uses a webview to render webpages directly in VS Code. We plan on using it for optionally previewing local servers in both desktop and codespaces

The browser itself has a number of limitations due to the security around iframes:

- It traps keyboard focus
- We can't detect if a page fails to load
- We can't track the current url of the iframe

* Add experimental alert when the iframe is focused

* Disable events on focus warning

* Hooking up simple browser to opener
2021-01-04 19:06:53 -08:00