Commit Graph

5928 Commits

Author SHA1 Message Date
Alex Dima
1b429e7432 Strip webEndpointUrlTemplate from reh-web builds 2022-02-03 19:28:09 +01:00
Alex Dima
9fb5c8e094 Split up the two web content patchers 2022-02-03 19:28:08 +01:00
João Moreno
7455bc43ad unify eslint filters (#142063) 2022-02-03 08:12:23 -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
6132f8a521 Add stripComments to the vscodeResources 2022-02-03 15:57:14 +01:00
Matt Bierner
356d29fbf1 Remove most SyncDescriptorN forms (#141976)
* Remove most SyncDescriptorX forms

From what I can tell, `SyncDescriptor0` is the only one of these types still being used. In order to speed up TS's type checking around `createInstance`, I think it makes sense to remove the unused forms

* Remove `SyncDescriptorN` from tree shaker usages

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2022-02-02 13:45:05 -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
Johannes Rieken
4a130c40ed enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Alex Dima
cab9713422 Fixes #141994: Address eslint problems 2022-02-02 13:18:12 +01:00
Johannes Rieken
7ccb868835 make sure to use .eslintignore when running yarn eslint, this will ensure that cli failure and editor squiggles are always equal 2022-02-02 12:37:29 +01:00
Martin Aeschlimann
884273e35b code server scripts: use realpath 2022-02-01 17:38:37 +01:00
Benjamin Pasero
bd0040c74d Smoketest timeout (fix #141918) 2022-02-01 08:02:06 +01:00
Alex Dima
87140b9f95 Move extensionHostProcess.ts to /workbench/api/ (#141003) 2022-01-31 15:58:39 +01:00
Alex Dima
67f1f74cd2 Fix monaco.d.ts.recipe 2022-01-31 12:40:35 +01:00
deepak1556
48417434d6 chore: allow running universal build via rosetta
Fixes https://github.com/microsoft/vscode/issues/139319
2022-01-31 20:20:00 +09:00
Alex Dima
7a0a293b38 Move more interfaces up to editor/common/ (#141174) 2022-01-31 11:33:58 +01:00
Matt Bierner
870bbbfea4 Update typescript-eslint/experimental-utils
Fixes #141653
2022-01-27 12:08:26 -08:00
Alex Dima
f0c9dd6f86 Update scripts to point to tsc one folder up 2022-01-27 17:41:26 +01:00
Matt Bierner
f30dba5430 Bumping eslint versions (#141121)
* hBumping eslint versions

- Bump eslint and typescript/eslint versions to latest
- Fixing `code-no-unused-expression` for `x?.(b);` type statements
- Fixed a few new semicolon errors from upgrade

* Bump eslint parser in build

* Fix eslint errors in d.ts
2022-01-26 16:29:14 -08:00
Alex Dima
7d84e3e64b Merge branch 'main' into alex/editor-esm-check 2022-01-25 21:59:43 +01:00
Alex Dima
46e068c506 Move common imports to .eslintrc.json 2022-01-25 21:28:37 +01:00
Alex Dima
bd369c638e Add check that the editor's ESM JS files can be loaded in a browser 2022-01-25 15:19:30 +01:00
dependabot[bot]
f13f8829f0 Bump node-fetch from 2.6.1 to 2.6.7 in /build (#141306)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-25 06:03:47 -08:00
Joao Moreno
ca19f126d6 cleanup @vscode/windows-registry 2022-01-25 14:40:22 +01:00
Daniel Imms
bc71f7a343 Increase unit test timeout 7->15 on all platforms 2022-01-24 07:15:16 -08:00
Daniel Imms
337101b9b2 Increase integration test timeout for all platforms
Moving from 7 and 10 to 20 on all platforms as 10 can be exceeded on macOS (and
generally Windows is slower too)
2022-01-24 07:07:40 -08:00
Alexandru Dima
54b242dcd7 Fix problem with code-import-patterns on Windows 2022-01-24 16:03:50 +01:00
Martin Aeschlimann
d9f91002d4 wsl code: pass SERVERDATAFOLDER 2022-01-24 14:43:43 +01:00
Alex Dima
139d8c795a Remove server.sh (no need for backwards compat in reh-web) 2022-01-24 14:38:24 +01:00
Alex Dima
a212ebbbb5 Remove vs/workbench/workbech.web.api (no need for backwards compat in reh-web) 2022-01-24 14:33:37 +01:00
Alex Dima
ef8700e85e Reuse extensionHostProcess entry point in the server case 2022-01-24 14:23:43 +01:00
Alex Dima
9908a5dd4e Rename remoteCli to server.cli 2022-01-24 14:16:07 +01:00
Alex Dima
f52f4b2ee3 Rename remoteExtensionHostAgent to server.main 2022-01-24 14:13:41 +01:00
Benjamin Pasero
0f89762b4b Rename workbench.web.api.* to workbench.web.main.* (#141263)
* web - rename entry file

* web - rename entry file also for server

* rename main entry in copy
2022-01-24 12:45:49 +01:00
Joao Moreno
4ecbef411b fixes #141067 2022-01-24 12:10:28 +01:00
Joao Moreno
1aa88f24a4 missing terrapin usage 2022-01-24 12:09:31 +01:00
Benjamin Pasero
c9960f9cee Cleanup package.json test scripts (#141210)
* tests - remove `yarn test`

* fix smoke test

* readme

* 💄

* ci - do not install playwright
2022-01-22 13:07:14 +01:00
Benjamin Pasero
afb3140beb welcome - introduce dedicated top level folders (#141138)
* welcome - introduce dedicated top level folders

* Remove special rules for `contrib/welcome`

* fix svgs

* fix layers lint

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2022-01-22 09:21:56 +01:00
Alex Dima
6ef782af54 Remove dependencies to /languages/ in languages.ts (#141174) 2022-01-21 23:32:44 +01:00
Alex Dima
d2fb5e2364 Fix recipe file 2022-01-21 23:06:19 +01:00
Alex Dima
d48b3d3360 Extract IDimension to /core/ (#141174) 2022-01-21 22:30:58 +01:00
Alex Dima
298441a007 Move wordHelper.ts and extract EDITOR_MODEL_DEFAULTS to /core/ (#141174) 2022-01-21 22:10:48 +01:00
Alex Dima
bf1e923356 Move IEditorConstructionOptions to /config/ (#141174) 2022-01-21 21:52:42 +01:00
Alex Dima
d60d6bb136 Move editor base api to /services/ (#141174) 2022-01-21 20:57:00 +01:00
Alex Dima
01f9704460 Rename editor/common/controller to editor/common/cursor (#141174) 2022-01-21 20:35:36 +01:00
Alex Dima
2661e7a3ad Move token.ts to /languages/ (#141174) 2022-01-21 20:35:36 +01:00
Alex Dima
d8ca757f2b Move ISingleEditOperation to /core/ (#141174) 2022-01-21 20:35:35 +01:00
Alex Dima
df551b856e Move change interfaces to diffComputer (#141174) 2022-01-21 19:58:00 +01:00
Martin Aeschlimann
3640c1a425 move remote and web tests to scripts folder 2022-01-21 14:33:34 +01:00