Commit graph

214 commits

Author SHA1 Message Date
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
Alexandru Dima 9945754a62
Add editor smoke test (ported from monaco-editor) 2020-12-28 21:44:42 +01:00
Alexandru Dima 76c974bfeb
Have a clear list of directories where yarn should be executed 2020-12-23 11:28:32 +01:00
Alexandru Dima 90f9a7de88
Execute yarn --ignore-engines for extensions 2020-12-18 10:26:13 +01:00
Alexandru Dima 1141224b80
Remove debug console log 2020-12-18 10:26:13 +01:00
João Moreno fd85ae4f4a
Avoid recompiling remote native node modules (#112644)
* avoid recompiling remote native node modules

fixes #112320

* fix build

* update cache

* empty

* chore: remove rebuild step

* chore: update salt

* product compile should use same CC CXX

Co-authored-by: deepak1556 <hop2deep@gmail.com>
2020-12-17 02:16:32 -08:00
Johannes Rieken ac9e250cce support node 15 2020-11-27 09:55:08 +01:00
Johannes Rieken a5bda3ee95 support later node for building 2020-11-26 17:11:07 +01:00
João Moreno 908503ee89 ignore remote and web when yarn in arm64 2020-07-13 15:23:54 +02:00
João Moreno 6968ef84a0 force rebase when pulling 2020-07-01 20:34:22 +02:00
João Moreno 04be06ff6f fix skip remote 2020-05-20 15:23:10 +02:00
João Moreno d424ff23ca skip remote for win32 arm64 2020-05-20 15:18:21 +02:00
Martin Aeschlimann 5712574281 'Please use yarn to install dependencies.' when using yarn. Fixes #93119 2020-03-21 14:12:08 +01:00
Joao Moreno 56cd2882a1 fix env in postinstall 2020-02-21 16:39:59 +01:00
Benjamin Pasero 4be3cc8846 test - convert web integration to TS 2020-02-07 12:41:12 +01:00
Rachel Macfarlane 06a48362f3 Replace typings file for windows-process-tree with @types module 2019-11-12 16:00:33 -08:00
Benjamin Pasero 14c3b2e486
Update build to use node.js 12.x (#83967)
* build - update to node.js 12x for building

* fix it

* adopt vscode-gulp-watch
2019-11-05 09:53:15 +01:00
Rob Lourens 1b5a3ac156 Delete module version check that is now redundant with similar check in hygiene 2019-10-24 09:23:53 -07:00
Joao Moreno b53811e67e fix npm postinstall step, remove xterm from version matching 2019-10-24 08:20:25 +02:00
Robo 029e9929ae chore: Update to Electron 6.x (#75802) 2019-09-13 14:53:56 +02:00
Jason Ginchereau 3d08742789 Add automation to root postinstall script 2019-09-09 09:30:34 -07:00
Johannes Rieken 2b46fe4c30 adopt gulp-tsb 4.0.0, remove postinstall hacks 2019-09-06 17:21:36 +02:00
Matt Bierner cf446b9233 Build VS Code using TS 3.6
Fixes #80079

Updates our build to use TS 3.6. Fixes a few changes to dom apis and adds a monkey patch for the node typings break in 3.6
2019-09-02 21:27:52 -06:00
Rob Lourens a726cef3c3 Check that modules in both the base package.json and remote/ have the same version installed 2019-08-12 14:51:47 -07:00
Alex Ross 91da8dc700 Update C++ grammar for insiders to get hang fix
Fixes #78769
2019-08-12 15:01:26 +02:00
Benjamin Pasero 1648e1dcf8 web - add build 2019-07-14 13:12:54 +02:00
Alex Ross 922ab6db62 Update grammar script to include option path for version
Update C grammars to get macro fix
2019-07-09 10:47:13 +02:00
Joao Moreno 1a254a3a8d yarn update-distro 2019-07-02 10:19:55 +02:00
Joao Moreno f15e5a706b use yarn --frozen-lockfile for builds 2019-06-26 11:17:31 +02:00
Martin Aeschlimann b8914bcfc7 move install-server 2019-06-19 12:55:52 +02:00
Martin Aeschlimann 466b29a0ae install server: use distro commit 2019-06-14 10:47:52 +02:00
Alex Dima 8b08ad7e8a Add /remote/ 2019-05-22 15:59:37 +02:00
Keyi Xie 172a32d5c6
fix mispell 2019-04-09 13:21:46 +08:00
Alex Dima 0c203ce857 Respect usage of yarn with --ignore-optional 2019-03-19 16:53:41 +01:00
Alex Dima 693673bed1 Use node 10.15.1 on build machine 2019-02-07 13:05:45 +01:00
Alex Ross b0b6dc6c2e Update grammars to pick up make changes
and fix hashes.
2019-02-06 15:16:49 +01:00
Segev Finer ba41bffa99 Print a message before installing dependencies in npm post install
Should make it easier to see what it's doing and debugging failures.
2019-01-23 23:40:46 +02:00
Alex Ross 6c6cd0aab4 Update grammars 2018-12-12 17:25:07 +01:00
Dirk Bäumer 8b86554f3a Support updating localization extensions from files on disk 2018-11-22 23:36:35 +01:00
Matt Bierner cf4e17cd4b Remove windows-process-tree types if they get installed
These typings cause duplicate identifier errors on windows tsc builds
2018-11-08 17:49:45 -08:00
Alex Ross fd8d4b09e1 Update grammars 2018-10-23 16:13:27 +02:00
Matt Bierner a3fa7ad178 Adding some typings in npm scripts 2018-10-15 17:39:33 -07:00
Joao Moreno 6617952c18 prevent old yarn usage 2018-10-01 17:42:00 +02:00
Joao Moreno 77a3b330ae catch node 9 usage 2018-09-30 16:34:53 +02:00
Daniel Ye 0b111c7a42 Transform languageId of zh-cn,zh-tw to zh-hans,zh-hant when pull translation from Transifex. 2018-07-10 09:09:00 -07:00
Martin Aeschlimann b217a7f236 [pug] Use pug grammar & rename language id. Fixes #50086 2018-05-22 10:52:19 +02:00
Martin Aeschlimann 3d5c51bc30 postinstall: remove hardcoded extension list 2018-03-18 17:29:53 +01:00
Matt Bierner 691da9b3a3 Split markdown extension into markdown and markdown-basics 2018-02-28 20:37:02 -08:00
Joao Moreno 838f4024b3 fixes #43973 2018-02-27 15:41:46 +01:00
Matt Bierner e23c58b3ab Split out ts syntax and grammar to ts basics 2018-02-23 13:29:52 -08:00
Matt Bierner ac5ed16ece Move package-json extension to npm extesion
#44166
2018-02-23 13:29:52 -08:00
Matt Bierner 8e0bdd6040 Split package-json specific logic out of javascript extension 2018-02-22 16:27:20 -08:00
Martin Aeschlimann 8fdf170a08 update grammar script: remove unused properties 2018-02-12 16:54:46 +01:00
Martin Aeschlimann 6b3164252b update grammar: improve reporting of exceeded github rate limit 2018-02-12 16:54:45 +01:00
Joao Moreno ad9bf913c5 Merge branch 'master' into egamma/checkJs 2018-02-12 12:26:38 +01:00
Martin Aeschlimann 4d329cc759 avoid hardcoded extensions list in update all grammars 2018-02-09 12:45:27 +01:00
Martin Aeschlimann e3ce1668b0 [powershell] switch grammar to powershell/editorsyntax. Fixes #36991, fixes #43224 2018-02-09 10:55:16 +01:00
Erich Gamma 5e41d2aafb enable checkJS 2018-02-01 14:39:12 +01:00
Martin Aeschlimann bfdd55c184 [ia8n] fix update script 2018-01-29 18:04:44 +01:00
Martin Aeschlimann f00b4f102e [i18n] lang pack update script: add extensions list 2018-01-29 16:51:34 +01:00
Martin Aeschlimann 4abe874911 [i18n] fix paths for external extensions 2018-01-26 17:27:57 +01:00
Dirk Baeumer 04594c864b Add support for Language Packs 2018-01-25 21:14:34 +01:00
Martin Aeschlimann 52c61dc92c update grammar: use github token 2017-12-20 17:30:56 +01:00
Rob Lourens 783a0aafad Update the PHP grammar
Now it breaks out the html grammar into its own file
2017-12-18 14:28:38 -08:00