Commit graph

3995 commits

Author SHA1 Message Date
Johannes Rieken aacda89007
remove extensionHostWorkerMain and use workerMain bootstrapping, https://github.com/microsoft/vscode/issues/127760 2021-07-02 16:04:55 +02:00
Tyler James Leonhardt 0199aa4af2 always publish arifacts_prcessed artifact fixes https://github.com/microsoft/vscode-internalbacklog/issues/2250 2021-07-01 10:38:12 -07:00
Johannes Rieken 0e9f3aa50a
update nodejs requirement, https://github.com/microsoft/vscode/issues/121144 2021-06-25 16:32:33 +02:00
Johannes Rieken 413b9019a6
configure esbuild with esnext. means no harm since TS already compiles with lower es2020, https://github.com/microsoft/vscode/issues/121144 2021-06-25 16:31:44 +02:00
João Moreno 820300ce2b
hmmm 2021-06-24 18:01:35 +02:00
João Moreno aa6e7ffdf4
snap: create it even when stepping on it
related to #127039
2021-06-24 16:53:44 +02:00
João Moreno b9c18d0404
gotcha 2021-06-24 16:09:17 +02:00
João Moreno d1be29f1ab
hmm 2021-06-24 15:47:54 +02:00
João Moreno ce659a738f
fix #127039 2021-06-24 15:31:15 +02:00
João Moreno 6fed85aaf9
pull.rebase merges 2021-06-22 19:55:13 +02:00
Robo 92999c339e
fix: setuid helper permission (#126798)
* ci: fix setuid helper binary permission

* ci: allow privilege for CLONE_NEWPID | CLONE_NEWNET

* ci: fix chrome-sandbox permission with rpm

* ci: fix permissions on snap

* ci: download electron earlier for arm builds
2021-06-22 08:42:30 -07:00
Sandeep Somavarapu c80fba9f9a
clean up 2021-06-22 16:58:33 +02:00
João Moreno 78946a0204
inline variables 2021-06-21 11:22:33 +02:00
Dirk Bäumer 04c80c94e0
Merge pull request #126462 from microsoft/dbaeumer/126408
Support changes in vscode-nls-dev that allow hint comments in package.nls.json
2021-06-21 10:49:50 +02:00
João Moreno c8a4d6b395
Merge branch 'joao/1es-pool' 2021-06-18 12:49:06 +02:00
rebornix e0e5d6fc6c Merge branch 'notebook/dev' into main 2021-06-17 13:11:46 -07:00
Peng Lyu 1ce078638d
Merge pull request #126616 from microsoft/interactive/editor
Interactive editor
2021-06-17 13:11:01 -07:00
João Moreno bd74b02b59
move compile step to another pool 2021-06-17 16:10:19 +02:00
João Moreno d9126ea356
build: scope logs to job attempt 2021-06-17 14:34:00 +02:00
João Moreno b5b92e130d
akv: use filter 2021-06-17 10:01:58 +02:00
Dirk Baeumer 9c3a109adf
Fixes #126408: Support changes in vscode-nls-dev that allow hint comments in package.nls.json 2021-06-16 11:53:10 +02:00
rebornix 0cfaaa7dad
Slim notebook contributions for interactive window 2021-06-15 22:40:04 -07:00
rebornix 16cc6ded6d
Merge branch 'notebook/dev' into main 2021-06-15 13:55:10 -07:00
João Moreno 8583bf9d9f
use correct GITHUB_TOKEN value 2021-06-15 16:14:57 +02:00
João Moreno e22ee0920a
Revert "switch to generic pool"
This reverts commit 6495c052ab.
2021-06-15 15:29:36 +02:00
Benjamin Pasero 2d83afe542
build - only publish log files when tests run 2021-06-15 15:06:23 +02:00
João Moreno e9fc1ccf8a
switch to generic pool 2021-06-15 15:06:22 +02:00
Benjamin Pasero acc2a805ec
Produce logs during test runs (integration, smoke) and publish as artefacts (#126065)
* first cut upload log files from integration test runs

* always publish log files

* move logs into integration-tests folder

* also produce logs for smoke tests

* store remote log files

* wire in logspath arg properly

* always publish logs

* enable logs for browser based smoke tests

* log only in verbose
2021-06-15 15:06:19 +02:00
Benjamin Pasero b499ce8d76
build - only publish log files when tests run 2021-06-15 12:03:44 +02:00
João Moreno 6495c052ab
switch to generic pool 2021-06-15 10:50:33 +02:00
Benjamin Pasero 2ddc1e4fc5
Produce logs during test runs (integration, smoke) and publish as artefacts (#126065)
* first cut upload log files from integration test runs

* always publish log files

* move logs into integration-tests folder

* also produce logs for smoke tests

* store remote log files

* wire in logspath arg properly

* always publish logs

* enable logs for browser based smoke tests

* log only in verbose
2021-06-15 08:33:26 +02:00
João Moreno 8440af2409
share test compilation output across agents 2021-06-14 16:28:33 +02:00
Connor Peet 4355270543
fix: use inline sourcemaps in watch task 2021-06-11 14:20:48 -07:00
João Moreno 85a36ae074 enable smoketest on linux 2021-06-11 12:19:17 +02:00
Alexandru Dima a573bc0b8d
Merge remote-tracking branch 'origin/main' into alex/update-playwright 2021-06-09 15:56:09 +02:00
dependabot[bot] 48bcb4a831
Bump glob-parent from 5.1.1 to 5.1.2 in /build/lib/watch (#125832)
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 04:38:40 -07:00
dependabot[bot] 1c80951eca
Bump normalize-url from 4.5.0 to 4.5.1 in /build (#125829)
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases)
- [Commits](https://github.com/sindresorhus/normalize-url/commits)

---
updated-dependencies:
- dependency-name: normalize-url
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 04:38:09 -07:00
Tyler Leonhardt ec9aa7c0d2
add newline 2021-06-08 15:50:42 -07:00
Matt Bierner 97b5db8dba
'vs code' -> 'the editor' in d.ts
Fixes #124361

Also adds a lint rule for this
2021-06-08 11:35: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
Alex Dima f63a769606
Adopt latest installBrowsersWithProgressBar 2021-06-08 17:20:58 +02:00
Matt Bierner 298668ec72
Fix build build 2021-06-07 15:36:24 -07:00
Matt Bierner 0ec29f0fcf
Pick up TS 4.4@next for building
- Disables the two new strictness options for now
- Adopt shared tsconfig for `microsoft-authentication `
2021-06-07 14:44:24 -07:00
Logan Ramos ba3b75bafa
Bump ES build to latest version 2021-06-07 09:51:49 -04:00
Benjamin Pasero e3d03109a3
Revert ESBuild updates and fix #125518 (#125574)
* avoid strictNull bypass (fix #125518)

* Revert "Update lock file"

This reverts commit f843c51bca.

* Revert "Bump es build"

This reverts commit 8d87a66427.
2021-06-07 09:49:08 -04:00
Logan Ramos f843c51bca
Update lock file 2021-06-04 12:41:38 -04:00
Logan Ramos 8d87a66427
Bump es build 2021-06-04 11:03:14 -04: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
Tyler James Leonhardt 5966e9dfec
Check to see if there are any artifacts that haven't been published (#125428)
* wait for all artifacts to be processed

* move get-pipelineartifact
2021-06-03 11:43:23 -07:00
Benjamin Pasero 20df87725d
fix build again 2021-06-03 07:48:46 +02:00
Benjamin Pasero 15aca96cd5
build - unblock lauching 2021-06-03 07:21:15 +02:00
Tyler Leonhardt c324c61ad5
add closing tags 2021-06-02 09:25:46 -07:00
Dirk Baeumer 7051f7db88
Sort content of XLF files 2021-06-02 12:55:32 +02:00
Dirk Baeumer efcf0eea9b
Remove default support from vscode-translations-import 2021-05-31 15:40:37 +02:00
Dirk Baeumer 1e57955c79
Remove handling of Default inno setup file 2021-05-31 15:22:01 +02:00
Matt Bierner 5e7cd99876
Bump TS build version 2021-05-28 13:44:40 -07:00
João Moreno d0d80ec337
fix build 2021-05-27 11:50:04 +02:00
João Moreno d777991656
move buildExtensionMedia to lib 2021-05-26 20:38:28 +02:00
João Moreno 62e8b545f7
missing build 2021-05-26 20:38:28 +02:00
João Moreno 9cba86888c
update node version in optimize 2021-05-26 13:32:50 +02:00
João Moreno 0a7a69f190
fix build compilation 2021-05-26 13:30:43 +02:00
Logan Ramos 045e5d2f56
Store conflicting defaults in storage service (#124366)
* Revert "Revert "Closes #122433""

This reverts commit 29c61570a5.

* Get rid of ? to see if minifier is happy

* Bump ES build
2021-05-21 10:02:55 -04:00
deepak1556 006be3ffb6 chore: bump node-pty@0.11.0-beta6 2021-05-13 23:10:49 +09:00
Tyler James Leonhardt 4eef854ab4
Revert "Move bing settings to its own stage (#123504)" (#123523)
This reverts commit 62c9755886.
2021-05-10 16:54:10 -07:00
Tyler James Leonhardt 62c9755886
Move bing settings to its own stage (#123504)
* move bing to linux

* add displayName
2021-05-10 12:37:16 -07:00
Tyler James Leonhardt 2ee59df71e always create the artifact file 2021-05-07 17:22:00 -07:00
Tyler James Leonhardt a945921fcc update artifact name 2021-05-07 16:11:24 -07:00
Tyler James Leonhardt d61f87f292 handle multiple retries in publish stage 2021-05-07 15:04:40 -07:00
João Moreno 6bee0f2f3f
fix bad yml name 2021-05-07 09:47:39 +02:00
dependabot[bot] f24916fe99
Bump lodash from 4.17.19 to 4.17.21 in /build (#123211)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-07 00:45:07 -07:00
Tyler James Leonhardt 5f7422b6bb
Add release stage back (#123204)
Add release stage back
2021-05-06 14:46:17 -07:00
Tyler Leonhardt 0493df76f2
combine publishing of blobs 2021-05-06 11:18:56 -07:00
Tyler Leonhardt 052fb6dd7f
re-add web 2021-05-05 20:06:41 -07:00
Tyler Leonhardt 20a2938f3a
pass in accesstoken into build 2021-05-05 18:38:09 -07:00
Tyler Leonhardt c80a39136e
first attempt
actually run

ok run it for real

actually work

parameter syntax

monaco

logging

env var is always string

use variables

use global params

try idea to stop looping

move variables

wrap in quotes

rename all the artifacts

try downloading

up timeout

misc

underscore

add auth

log everything we need to

typo

typo

publish linux client archives too

renamed all that needed to be renamed

better error handling

raname windows assets

first attempt at letting new code handle releasing with macOS

move to $env

remove gate

include updated createAsset.js

onboard windows client

include js

add linux client

add built js

move over all publishing

update distro

use branch name?

processed artifacts and fix win32 server platforms

publish what artifacts were published

use download and more more to powershell

put it all in exec

actually in directory

fix path again

create file to be uploaded

move to all PowerShell

rename to publish and clean up code

update createAsset

use distro 2

more commented out code and add displayNames

address feedback
2021-05-05 14:37:16 -07:00
Rob Lourens 3759ecf924 Only run upload-vscode-configuration when publishing 2021-05-05 09:24:28 -07:00
Robo bce4d71f64
chore: bump node@14.x in devDependencies (#122905) 2021-05-04 10:04:13 +02:00
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
Benjamin Pasero 23dca79e8e
🆙 nsfwatcher (#117871)
* chore: switch to official nsfwatcher

* distro

* 🆙 distro

* revert distro change
2021-03-01 08:57:51 +01:00
Matt Bierner 3feb2ece1e Pick up latest TS version for building VS Code
This new version also adds a new check for conditionals where you are testing a value that is a promise (the condition will always be true in strict mode)
2021-02-26 17:23:58 -08: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
Benjamin Pasero 472c88618e builds - same timeout for all tests across OS 2021-02-22 15:44:55 +01:00
Benjamin Pasero 00cb6865ab keyboard - document my contextkeys 2021-02-22 08:09:03 +01:00
Ladislau Szomoru 2b230e4b26
Azure DevOps build task to download built-in extension details (#116938) 2021-02-19 18:10:40 +01:00
Logan Ramos 6dad35394f Update copyright year 2021-02-17 17:02:21 -05:00
Matt Bierner 2cc13674e3 Also bump build version and run formatter on all files 2021-02-16 14:09:38 -08:00
Ladislau Szomoru 28de0a4686 Fix YAML typo 2021-02-16 11:59:46 +01:00
Ladislau Szomoru 58a427566b Revert change 2021-02-16 11:57:14 +01:00
Ladislau Szomoru c967932ba3 Specify sourceScanPath 2021-02-16 11:53:56 +01:00
Ladislau Szomoru 3dab064342 Move component governance to compile stage 2021-02-16 11:25:51 +01:00
João Moreno 4d89ae10ff
fix #116523 2021-02-15 13:26:19 +01:00
João Moreno 88089d3f20
fix terrapin failures not reporting 2021-02-15 12:04:31 +01:00
João Moreno 980becda8d main rename
fixes #116341
2021-02-14 20:10:24 +01:00
Benjamin Pasero 41339cc2a0
Make user data path a AMD/CommonJS compatible thing (#116530)
* debt - move paths.js into base

* add a test

* get rid of @ts-ignore

* trigger a change

* isolate scripts with self invoking function
2021-02-12 15:49:15 +01: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
SteVen Batten afd102cbd2
Trusted Workspaces Feature Branch Merge (#115961)
* draft trusted workspace service / model

* renaming

* add request model and action

* err fix

* add request handlers with mock actions

* some quick fixes

* adding badge icon to activity bar gear

* Add Statusbar item to indicate trust

* Cleanup code

* Add background color

* Use theme color for the status background color

* adding basic editing experience

* observe trust with startup tasks

* Extension enablement

* Add capability to provide a custom message

* Remove old actions

* explorer: if you can not undo, pass undo to editor

fixes #111630

* Remove plug icon from ports view
Part of https://github.com/microsoft/vscode-internalbacklog/issues/1689

* Fixed compilation error

* Handle extension uninstall

* Handle extension install

* Ability to prompt when state is untrusted

* Do not change state is the modal dialog is dismissed or the Cancel button is pressed

* Refactored enablement code

* Prompt when installing from VSIX

* Prompt when installing from the Gallery

* Move file into the browser folder

* fixes and polish

* restructure workspace contributions

* restructure actions and use confirmations

* Initial draft of the proposed APIs

* Added stubs for the proposed api

* Trusted Workspace proposed API

* Fix a regression introduced by merge

* status bar indicator improvements

* remove helper command as we now have hooks

* verbose messaging for the immediate request

* add indication to global activity icon of pending request

* try personal title

* Add configuration setting

* Add additional extension actions

* Fix contributions

* Removed context key that is not needed

* Fixed issue with the dialog

* Reduce arbitrary event limiter from 16ms down to 4.16666 (support for monitors up-to 240hz) #107016

* Fixes #115221: update emoji tests

* Give a higher priority to language configuration set via API call (#114684)

* debug console menu action polish

* Avoid the CSS general sibling combinator ~ for perf reasons

* more notebook todos

* Use label as tooltip fallback properly
Part of #115337

* Fixes microsoft/monaco-editor#2329: Move `registerThemingParticipant` call to `/editor/`

* Fix port label not always getting set
Part of microsoft/vscode-remote-release#4364

* simplify map creation, fyi @bpasero

* Fix #114432: Multiple save dialogs appearing on Windows if Ctrl+S is pressed multiple times (#114450)

* fix multiple save dialogs appearing on Windows when spamming Ctrl+S

* remove old fix and instead keep track of windows with open dialogs in the dialogMainService

* keep initialisation of activeWindowDialogs in constructor

* remove unused variable

* some changes

* queue dialogs based on hash of options

* simplify structure, fix comment typo

* Apply suggestions from code review

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>

* remove unnecessary async/await for aquireFileDialogLock method

* don't acquire file dialog lock for message boxes

* use MessageBoxReturnValue | SaveDialogReturnValue | OpenDialogReturnValue instead of any type for getWindowDialogQueue

* Apply suggestions from code review

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>

Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>

* 💄 dialog main service locks

* debt - adopt some ? operator

* Better hiding of custom hover in icon label

* Limit to 8ms (120fps)

* more API todos for notebooks

* 💄

* Update grammars

* chore - group notebook specific api proposals together

* added unreleased fixes to endgame notebook

* Add changes back to the modal dialog

* Add back the workspace trust proposed APIs

* Adjust dialog buttons

* Standardize on WorkspaceTrust name across interfaces, classes, variables

* Renamed some of the missing keys

* Add TestWorkspaceTrust stub and fix failing tests

* Add requiresWorkspaceTrust property to fix test failure

* remove notebook change

Co-authored-by: Ladislau Szomoru <lszomoru@microsoft.com>
Co-authored-by: isidor <inikolic@microsoft.com>
Co-authored-by: Alex Ross <alros@microsoft.com>
Co-authored-by: TacticalDan <gorksorf@gmail.com>
Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
Co-authored-by: Johannes Rieken <johannes.rieken@gmail.com>
Co-authored-by: Cameron <cameron532@gmail.com>
Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2021-02-06 00:38:32 -08:00
Sandeep Somavarapu 4dfab617e0 Merge branch 'sandy081/smoketests/remote' 2021-02-04 20:49:47 +01:00
Benjamin Pasero 668a6401f6 build - increase timeout for integration tests to 10min 2021-02-04 18:00:02 +01:00
Sandeep Somavarapu 056d660918 Merge branch 'master' into sandy081/smoketests/remote 2021-02-04 14:43:38 +01:00
João Moreno 4bdba123d2
use PersistKeySet 2021-02-04 11:25:55 +01:00
Sandeep Somavarapu 9c479a4518 enable remote smoke tests 2021-02-03 20:48:45 +01:00
Ladislau Szomoru 2cf80f97cc
Azure DevOps - Add global variable for VSCODE_QUALITY (#115636)
* Add variable for VSCODE_QUALITY
2021-02-03 09:13:48 +01:00
João Moreno 21aa14f064
remove ext.ts 2021-02-02 15:57:43 +01:00
João Moreno ca746af08a
fix hygiene 2021-02-02 14:30:46 +01:00
João Moreno 35e1ee2ecc
ext: extract to disk 2021-02-02 13:59:48 +01:00
João Moreno c3b556727e
fix update-grammars script 2021-02-02 12:30:08 +01:00
João Moreno fa0e000477
💄 2021-02-02 11:53:29 +01:00
João Moreno 7e0230677a
improve ext ci output 2021-02-02 11:39:26 +01:00
João Moreno b2d303d16e
ext: allow anonymous access 2021-02-02 10:59:09 +01:00
João Moreno 76962b2583 ext: ci command 2021-02-01 17:08:49 +01:00
João Moreno 38db1778aa adopt built-in extensions 2021-02-01 14:29:07 +01:00
Benjamin Pasero 384ef20251 🆙 vscode-gulp-watch (fixes high CPU on Apple SI) 2021-01-29 10:31:22 +01:00
Alexandru Dima 38783a261a
update version 2021-01-29 00:00:24 +01:00
João Moreno 631802d5ce
comment out arm snaps 2021-01-28 17:07:32 +01:00
João Moreno 17c617039b
Squashed commit of the following:
commit 36f3d9d21bff68d1f7848aa14960f212bd019625
Author: João Moreno <joao.moreno@microsoft.com>
Date:   Thu Jan 28 13:23:23 2021 +0100

    npx

commit 8ccb45e5dc70333f30fa7ebe3e5657bba2eb2db0
Author: João Moreno <joao.moreno@microsoft.com>
Date:   Thu Jan 28 12:52:15 2021 +0100

    bump cache salt

commit 5f5d6b19cb0f3192365b3fa518538938872f239e
Author: João Moreno <joao.moreno@microsoft.com>
Date:   Thu Jan 28 11:39:32 2021 +0100

    force rebuild keytar

commit a5f800f991b742d91a2ba2c9ee82c84e30cd9736
Author: João Moreno <joao.moreno@microsoft.com>
Date:   Wed Jan 27 16:16:05 2021 +0100

    bump cache salt

commit e894045003a20d1ea5930e66a53d6f7d5076cdb7
Author: João Moreno <joao.moreno@microsoft.com>
Date:   Wed Jan 27 16:15:24 2021 +0100

    fixes #113467
2021-01-28 14:07:49 +01:00
Alexandru Dima 3a287ee1ea
Fixes microsoft/monaco-editor#2302: Only define global monaco if asked to do so or if using AMD 2021-01-28 13:51:17 +01:00
João Moreno 9519a5cb5a
💄 clean nuget.config file 2021-01-28 12:59:03 +01:00
Robo f73c011ae3
fix: disable rosetta option for universal build (#115280) 2021-01-27 20:34:19 -08:00
Martin Aeschlimann e4f1833d79 Use x64 node for darwin-arm64. Fixes #115009 2021-01-27 16:49:16 +01:00
Robo 676e8d62a3
chore: remove universal build from its separate stage (#115203)
* chore: remove universal build from its separate stage

* chore: remove extra space

* chore: fix indentation
2021-01-27 01:32:18 -08:00
Alexandru Dima d877e86bdd
Merge branch 'master' into alex/python-language-configuration 2021-01-25 20:11:25 +01:00
Robo 60bce0f628
feat: add macos universal build ci config (#114446)
* feat: add universal build ci config

* chore: skip .npmrc files added by terrapin

* ci: cleanup conditional vairables for universal

* ci: use publish variable instead of parameter
2021-01-25 10:29:02 -08:00
Alexandru Dima d21d85a3fc
Fix precommit hook on Windows 2021-01-25 17:46:09 +01:00
João Moreno 3b03189afa
Restore extensions in core (#114921)
* bring back grammar extensions

* fix hygiene

* Revert "pull themes from the marketplace"

This reverts commit 0738f76dac.
2021-01-25 17:07:56 +01:00
João Moreno 3f3b413606
maybe this is it 2021-01-22 16:57:59 +01:00
João Moreno cf4c4a0ece
drop gulp-cssnano, use gulp-postcss 2021-01-22 10:49:30 +01:00
Alexandru Dima 2e5034a74b
Retry downloading playwright when hitting ECONNRESET 2021-01-22 10:26:28 +01:00
João Moreno dca2d81c65
upgrade build azure-storage 2021-01-22 09:40:15 +01:00
Johannes Rieken dbd4ede23f add api lint rule for region comments 2021-01-21 17:42:33 +01:00
Alexandru Dima c735c8b291
Merge branch 'master' into alex/python-language-configuration 2021-01-21 12:13:43 +01:00
João Moreno 9cfba54681
move build/dependencies.js to typescript 2021-01-21 09:32:06 +01:00
Johannes Rieken 845a4d4268 add new rule to enforce Thenable over Promise, adopt in vscode.d.ts and vscode.proposed.d.ts 2021-01-20 13:08:04 +01:00
Alexandru Dima 2d5f7fd072
Move onEnterRules to language-configuration.json 2021-01-20 12:20:27 +01:00
João Moreno 239213eaeb push it real good 2021-01-19 20:04:43 +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
deepak1556 36cb0bde33 ci: disable exploration sync on PRs 2021-01-19 10:36:13 -08:00
João Moreno c6145fc306
ext (un)link 2021-01-19 16:17:25 +01:00
João Moreno 635d7af638
update ext types 2021-01-19 14:37:43 +01:00
João Moreno 3c49afeaaf
fix hygiene 2021-01-19 12:11:11 +01:00
João Moreno 867a52fc09
ext each: allowUnknownOption 2021-01-19 12:11:11 +01:00
João Moreno 0e7f3d0d8c
Revert "remove colorize-tests extension usage"
This reverts commit d577c4b18d.
2021-01-19 11:39:39 +01:00
dependabot[bot] 78d5286adb
Bump sshpk from 1.13.1 to 1.16.1 in /build (#114534)
Bumps [sshpk](https://github.com/joyent/node-sshpk) from 1.13.1 to 1.16.1.
- [Release notes](https://github.com/joyent/node-sshpk/releases)
- [Commits](https://github.com/joyent/node-sshpk/compare/v1.13.1...v1.16.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-19 01:44:42 -08:00
dependabot[bot] 9af9580bf0
Bump stringstream from 0.0.5 to 0.0.6 in /build (#114533)
Bumps [stringstream](https://github.com/mhart/StringStream) from 0.0.5 to 0.0.6.
- [Release notes](https://github.com/mhart/StringStream/releases)
- [Commits](https://github.com/mhart/StringStream/compare/v0.0.5...v0.0.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-19 01:44:08 -08:00
João Moreno 92083ed3e1 yarn ext 2021-01-18 21:01:45 +01:00
João Moreno 085317e932 dev: ls 2021-01-18 20:48:39 +01:00
João Moreno d6ca7769f4 create extension workspaces 2021-01-18 20:37:11 +01:00
João Moreno 2bb41a1402 dev script 2021-01-18 15:47:36 +01:00
João Moreno 911a54273c Merge branch 'joao/fix-web' 2021-01-18 15:03:02 +01:00
João Moreno 9995d12824 missing build output 2021-01-18 15:02:55 +01:00
João Moreno 09bc6fc64b
Migrate to new deb repo (#114527)
* migrate to new deb repo

* improve deb migration
2021-01-18 14:43:24 +01:00
João Moreno ed8655201a fix web extensions 2021-01-18 14:35:58 +01:00
deepak1556 bec5afa292 fix: remove unnessary asar files from mac arm64 2021-01-15 12:12:35 -08:00
João Moreno f7e7a95479
Merge branch 'joao/remove-grammar-extensions' 2021-01-15 16:34:47 +01:00
João Moreno bf764f1ce6
wip: sync-extensions dev script 2021-01-15 15:45:31 +01:00
João Moreno 4974a33511
smoke tests are tests too 2021-01-15 15:19:42 +01:00
João Moreno d472f9d503
remove devops continuous build 2021-01-15 13:56:51 +01:00
Ladislau Szomoru 6f9f6f806c
Azure DevOps pipeline artifacts (#114405) 2021-01-15 13:00:03 +01:00
João Moreno d577c4b18d
remove colorize-tests extension usage 2021-01-15 12:59:42 +01:00
Ladislau Szomoru 5d620dc846 Update Linux publish script 2021-01-15 09:31:49 +01:00
Ladislau Szomoru 98d2d74ba0 Revert "Publish scripts update (#114375)"
This reverts commit 99f0ab9f73.
2021-01-15 08:22:50 +01:00
Ladislau Szomoru 99f0ab9f73
Publish scripts update (#114375) 2021-01-15 08:11:54 +01:00
João Moreno 6525b42f47
remove unused file 2021-01-14 20:22:28 +01:00
Alexandru Dima 00f8540d79
Fixes #114332
`yarn` no longer compiles the smoke test as a postinstall script. This breaks the flow of running `yarn && yarn smoketest` to execute the smoketest.

So change `yarn smoketest` to also do the compiling of the smoke test. But that generates too much extra work on the build machine, which needs to invoke `yarn smoketest` twice, once for Electron and once for web.

To workaround that, `yarn smoketest-no-compile` is added, which can be used by the build machine to avoid needlessly compiling.

While here, the nodejs version is already checked in the `yarn` preinstall script, so remove the check from the smoke test.
2021-01-14 10:35:42 +01:00
Ladislau Szomoru 4450e1d827
Azure DevOps - publish Windows artifacts (#114285) 2021-01-13 17:14:49 +01:00
João Moreno adb037b74d
fixes #114137 2021-01-13 11:11:00 +01:00
João Moreno e776f87e14
fix --builtin 2021-01-13 10:48:04 +01:00
Matt Bierner 0227681492 Add new external uri opener service
This workbench service handles opening external uris. Unlike the core OpenerService, it also has logic for configuring a default opener and prompting if multiple openers are availble for a given uri
2021-01-12 12:41:15 -08:00
Ladislau Szomoru 161ce44dda
Azure DevOps - Move release into a separate stage (#114205) 2021-01-12 15:18:01 +01:00
João Moreno d3e4bdb617
Merge branch 'master' into joao/wsl 2021-01-12 15:16:54 +01:00
Alexandru Dima 5755d943ca
Tests must be compiled even when yarn is executed 2021-01-11 13:18:55 +01:00
Alexandru Dima 175e2c0b1d
yarn is already installed (fixes #114140) 2021-01-11 11:08:40 +01:00
João Moreno 128987f575
remove duplicate step 2021-01-08 10:56:31 +01:00
Alexandru Dima 8ad08b04f5
Do not compile /test/ and /build/ scripts during postinstall, the scripts get compiled explicitly during CI 2021-01-07 16:47:11 +01:00
Alexandru Dima aa48a4eff7
monaco-compile-check is covered by the GitHub CI 2021-01-07 16:27:33 +01:00
João Moreno a84603f49f
fix condition 2021-01-07 11:26:18 +01:00
João Moreno df10825f69
fix yaml 2021-01-07 11:01:15 +01:00
João Moreno 5e673678eb
Merge branch 'joao/build/single-compile-job' 2021-01-07 10:59:12 +01:00
João Moreno 575f87306f
Merge branch 'joao/build/esbuild' 2021-01-07 10:56:08 +01:00
João Moreno fb4a88e403
rename 2021-01-07 10:55:45 +01:00
João Moreno ab3297dd13
only run terrapin on cache miss 2021-01-07 10:53:33 +01:00
João Moreno 11b79ba7eb
parameters 2021-01-07 10:38:28 +01:00
João Moreno d495358b01
add parameter display names 2021-01-07 10:35:50 +01:00
João Moreno 4149b09417
parallelize eslint and hygiene in product-compile 2021-01-07 09:25:28 +01:00
João Moreno c6ceb1ab2e isolate eslint from hygiene 2021-01-07 09:15:05 +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
João Moreno 271d9b8c00 better hygiene task definition 2021-01-06 21:21:51 +01:00
João Moreno af6d164f73 single compile job 2021-01-06 20:37:33 +01:00
João Moreno cb67fffb94 improve hygiene glob patterns 2021-01-06 20:36:37 +01:00
João Moreno 27e26536f1 💄 2021-01-06 20:36:22 +01:00
Ladislau Szomoru 8389f07269
Azure Pipeline - Adopt pipeline parameters in favour of pipeline variables (#113902) 2021-01-06 15:58:25 +01:00
João Moreno bb4cbce969
Revert "publish linux builds"
This reverts commit ca2e7d8527.
2021-01-06 15:51:39 +01:00
João Moreno ca2e7d8527
publish linux builds 2021-01-06 14:56:41 +01:00
João Moreno 22b9a2b1e8
update esbuild 2021-01-06 14:19:19 +01:00
Johannes Rieken 0319fedae1 add lint rule for missing cancellation token in resolve and provide methods, fyi @alexr00 please remove surpression comment 2021-01-05 18:48:13 +01:00
João Moreno b99faeeb3c
fix minification target 2021-01-05 16:46:54 +01:00