Commit Graph

4014 Commits

Author SHA1 Message Date
Matt Bierner
248cbc49cf Update TS version for building VS Code 2021-05-03 15:58:26 -07:00
Matt Bierner
7770708545 Reapply markup renderers change
Rewriting how we do replacements in the webviewPreloads function to hopefully handle optimization better
2021-04-28 10:44:25 -07:00
Benjamin Pasero
2250b7aa3c :chore: allow to use node.js 16 for developing vscode 2021-04-27 08:32:10 +02:00
Matt Bierner
fe7c5aba01 Revert "Better notebook markup renderer api (#121882)"
This reverts commit 4cb27d2ec7.
2021-04-26 19:43:16 -07:00
Matt Bierner
4cb27d2ec7 Better notebook markup renderer api (#121882)
* Better notebook markup renderer api

For #121256

- Use js modules for notebook output renderers
- Rename apis from `markdown` to `markup`
- Use imports and exports for apis instead of globals for apis
- Use esbuild instead of webpack so we can emit js modules
- Clearly split top level markup renderes from renderers that extend other renderers

* Use constant instead of comment for replacement
2021-04-26 16:30:34 -07:00
Matt Bierner
5c8ab73c2f Build using newer TS nightly 2021-04-26 16:18:40 -07:00
Tyler James Leonhardt
b126d45af9 Allow x64 macOS builds to be triggered alone 2021-04-23 22:46:54 +00:00
Alexandru Dima
166efae366 Fix --noImplicitOverride problems (#120675) 2021-04-22 14:50:51 +02:00
Matt Bierner
731402dce2 async override -> override async 2021-04-21 13:40:44 -07:00
Matt Bierner
9bacf617b2 Use clearer variable names 2021-04-21 00:21:48 -07:00
Ladislau Szomoru
66c8a84547 Revert agent pool name 2021-04-20 18:48:39 +02:00
Ladislau Szomoru
b62af97982 Update build agent pool 2021-04-20 18:38:29 +02:00
isidor
6101771809 #118731 2021-04-20 16:02:07 +02:00
deepak1556
3fb483e7ff chore: bump electron@12.0.4 2021-04-16 09:14:14 -07:00
Christof Marti
40a6563f9b Remove git-ui extension 2021-04-13 21:38:53 +02:00
Matt Bierner
ead5639bbe Pick up new TS nightly for building VS Code 2021-04-12 14:10:09 -07:00
deepak1556
f95b7e935f Revert "chore: bump electron@12.0.2"
This reverts commit 79a429d92d.
2021-04-09 14:17:02 -07:00
deepak1556
4020b1a1e3 ci: disable exploration branch sync 2021-04-09 11:57:19 -07:00
Benjamin Pasero
acb172752a backups - move tracker and restorer out of contrib into service 2021-04-09 14:13:46 +02:00
deepak1556
79a429d92d chore: bump electron@12.0.2 2021-04-09 03:20:20 -07:00
deepak1556
5904b7b686 chore: info.plist => Info.plist 2021-04-08 10:33:02 -07:00
deepak1556
9a8d55525d fix: skip sha comparison for info.plist 2021-04-08 01:31:18 -07:00
Matt Bierner
73ae56b82b Build with latest TS nightly (#120690)
* Pick up new TS 4.3

Also tests adding override keywords for extensions as part of #120675

* Update to daily TS and workaround TS 4.3 issue

Works around https://github.com/microsoft/TypeScript/issues/43578
2021-04-07 12:19:05 -07:00
Robo
eec393e0d4 chore: use bundled node-gyp (#120683) 2021-04-07 01:18:58 -07:00
Benjamin Pasero
04b6291eed build - push missing compile artifacts 2021-04-07 08:00:38 +02:00
Tyler James Leonhardt
28a246d9ec Don't call node-gyp anymore (#120673)
This npx call was installing node-gyp 8.0 which requires a newer version of Python then what's in our containers.

I've removed it but also followed the advice of the comment that says only remove it if prebuild-install is updated in keytar...

So I updated keytar's dependencies which pulled in prebuild-install 6.1.1 with the fix.

If this isn't the right move, feel free to revert and then we can move to Debian Buster which has a version of Python that is new enough.
2021-04-06 16:33:13 -07:00
deepak1556
325bea69a7 chore: add media and apple event entitlements
Fixes https://github.com/microsoft/vscode/issues/119787
Fixes https://github.com/microsoft/vscode/issues/95062
2021-03-30 22:58:21 -07:00
Matt Bierner
795f44ea6a Build VS Code with latest TS nightly 2021-03-30 13:30:09 -07:00
Logan Ramos
d5a670eaeb Switch to deepStrictEqual part of #118667 2021-03-30 12:05:06 -04:00
Ladislau Szomoru
142cbdbaad Increase timeout for browser integration tests 2021-03-30 14:52:02 +02:00
Ladislau Szomoru
54bd78ffbe Revert "Increase timeout for browser integration tests"
This reverts commit 9dbdcc4a0c.
2021-03-30 14:50:41 +02:00
Ladislau Szomoru
9dbdcc4a0c Increase timeout for browser integration tests 2021-03-30 14:10:16 +02:00
Benjamin Pasero
19f6f31036 💄 remove extra comment slashes 2021-03-29 11:31:53 +02:00
Matt Bierner
f8c1ffbb0c Build simple-browser media during watch
Fixes #119795

This lets us avoid having these files checked in
2021-03-24 12:27:30 -07:00
Ian Johnson
8387a46298 snap-build-linux.yml: use "snap pack" to get LZO (#119478)
Use `snap pack --compression=lzo` instead of letting snapcraft pack the final
snap, as the current snapcraft.yaml is not setup to use any base in it, and as
such is missing the new feature for configuring the compression of the final
snap.

Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
2021-03-24 08:53:13 -07:00
Tanner Bennett
772f41ff66 Provide more specific file type descriptions
Make use of the changes in the previous commit
2021-03-22 12:01:46 -05:00
Tanner Bennett
f1dd6de4e8 Add darwinBundleDocumentTypes
Split darwinBundleDocumentType into two separate functions. The first function is unchanged.

The second function allows you to specify specific names for different groups of extensions while all sharing the same icon. For example, this would allow you to differentiate between a C header and a C source file while using the same icon for both.

Inherently, the second function will generate multiple file type declarations, so it returns an array instead of a single object. As a result we must use the splat operator on it when passing the result to an array literal.
2021-03-22 12:01:46 -05:00
Tanner Bennett
6182ab92ce Refactor darwinBundleDocumentType
Allow the caller to provide a specific file type description.

The new function will not require source changes to existing calls, but will change how the file type description is generated. An unmodified call to darwinBundleDocumentType will use the given icon name as the file type description. All extensions passed to this function continue to use the same icon as before, and all extensions will have the same file type description as before.
2021-03-22 12:01:46 -05:00
Tanner Bennett
35c20b240c Make darwinBundleDocumentType accept a darwin icon
With this change, to define a document type, you need only pass the name (or relative path) of the darwin icon.

So instead of passing 'resources/darwin/css.icns' you would just pass 'css'
2021-03-22 12:01:46 -05:00
João Moreno
d0f2d7eee6 build 2021-03-19 08:56:52 +01:00
Matt Bierner
c0885dd0c4 Add task to build extension media (#119294)
This lets us avoid checking in the compiled js files that are used inside webviews and notebooks
2021-03-18 19:15:59 -07:00
Matt Bierner
e01b60782a Exclude compiled notebook files from hygine 2021-03-17 13:33:47 -07:00
Benjamin Pasero
8f1b7a36de sandbox - allow to reuse environment service in sandbox 2021-03-15 11:27:31 +01:00
Tyler James Leonhardt
8fefa6aff2 Speed up mac builds (#116984)
* ci: [mac] Unify tasks between different flavors

* take 3

* remove zip

* unzip in place

* logging

* log

* rm zip

* all the things

* remove thing to trigger another build

* publish server for x64 only and only start on non-arm

* delete commented out code

* remove unused sh script

* address main changes

* address feedback

* add a comment

* try slimming down yarn

* only compile createAsset

* install typescript

* move build to correct location

* change to 64

* add useful comments based on joao

Co-authored-by: deepak1556 <hop2deep@gmail.com>
2021-03-10 17:52:15 -08:00
Matt Bierner
1f2313b4a2 Add back custom editor test workspace 2021-03-10 11:38:06 -08:00
João Moreno
94303f8e57 build 2021-03-10 10:45:13 +01:00
Matt Bierner
a01035c44f Pick up latest TS 4.3 for building VS Code 2021-03-05 18:49:17 -08:00
Alexandru Dima
49b5e3ba0a bump version 2021-03-05 16:54:23 +01:00
Dirk Baeumer
2022aede92 Return early on promise reject. 2021-03-02 14:55:43 +01:00
Dirk Baeumer
ed1118b27b Support empty messages during location import 2021-03-02 14:46:59 +01:00