Commit graph

3995 commits

Author SHA1 Message Date
Robo ab311cf5be
fix: build native modules with CFG (#130529)
* fix: build native modules with CFG and /W4

* chore: bump spdlog@0.13.6

* chore: remove unused env vars

Co-authored-by: SteVen Batten <stbatt@microsoft.com>
2021-08-12 09:59:53 -07:00
Benjamin Pasero b794b9223c
:chore: sqlite3 module (#130654) 2021-08-12 09:37:55 +02:00
Logan Ramos 279c4d8fcb
Use the new loader format for web selfhost (#130592)
* Update workbench html and bump distro

* Bump distro

* Add web node paths to the build task too

* Split task for reuse

* Bump distro
2021-08-11 11:59:14 -04:00
Matt Bierner 08b1c2e68c
Pick up newest TS for building VS Code 2021-08-10 20:34:20 -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
Matt Bierner 813c0b2178
Pick up newest TS versions 2021-08-09 11:24:34 -07:00
SteVen Batten c0f739ea25
add compliance pipeline (#130289)
Adding SDL compliance pipeline
2021-08-09 07:37:21 -07:00
Tyler James Leonhardt cfcda1c048
Improve performance of language detection (#130006)
* initial move to worker

* move event handling to the untitledTextEditorModel

* reuse simpleWorker interfaces and classes

* use correct path to languageDetection

* have vscode-languagedetection be outside of the asar

* add telemetry

* don't unpackage anything from languagedetection because it's not needed

* add an integration test

* some of Ben's feedback

* rework worker code to avoid duplication

* add isDisposed check

* fix test

* Isi and Ben feedback part 2

* use RunOnceScheduler instead and try to fix the test using events

* Ben feedback part 3

* bump distro
2021-08-06 11:56:14 -07: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
deepak1556 d49d7e7fe1 chore: harder checks around universal build creation 2021-08-05 23:55:06 -07:00
deepak1556 49af1cbe00 fix: native module bundling in universal builds
Fixes https://github.com/microsoft/vscode/issues/130222
2021-08-05 23:02:58 -07:00
Matt Bierner ab598a53ab
Only include prod node_modules from extensions
Fixes #130158
2021-08-05 13:39:04 -07:00
Benjamin Pasero 4178ea04ec
smoke - enable screenshot option for failing smoke tests 2021-08-05 12:35:42 +02:00
Matt Bierner 6838cc17b5
Revert "Revert "Update to build with latest TS version""
This reverts commit 3bf817f0f8.
2021-08-03 12:01:56 -07:00
deepak1556 934d280a9f chore: bump vscode-universal-bundler
Fixes https://github.com/microsoft/vscode/issues/115262
2021-08-02 22:14:02 -07:00
Matt Bierner 3bf817f0f8
Revert "Update to build with latest TS version"
This reverts commit e53be27652.
2021-08-02 17:25:14 -07:00
Matt Bierner e53be27652
Update to build with latest TS version 2021-08-02 15:33:27 -07:00
Logan Ramos e97a825a09
Reset timeout 2021-08-02 09:28:38 -04:00
Logan Ramos c617bfa26c
Try longer timeout 2021-07-29 12:22:27 -04:00
Alex Ross 5bd829ab7c
Revert "Comment out smoke tests on windows"
This reverts commit dbd291c716.
2021-07-27 17:41:17 +02:00
Alex Ross dbd291c716
Comment out smoke tests on windows 2021-07-27 13:30:07 +02:00
Logan Ramos c8e6d08e3a
Update to the latest extension module 2021-07-26 13:44:43 -04:00
Remco Haszing 42c0c17cea
Fix build script to define window.MonacoEnvironment type 2021-07-23 15:43:30 +02:00
Rob Lourens 5793ae026a Rename serializer extension and set up build scripts 2021-07-21 15:03:24 -07:00
Tyler Leonhardt e2b2cf2050
include model in web package 2021-07-19 14:26:16 -07:00
Matt Bierner 9c7eeafb1d
Pick up latest TS nightly for building VS Code 2021-07-19 10:56:30 -07:00
Tyler James Leonhardt 8f88009816
Initial support for language detection (#128708)
* initial language detection

* add configuration and extra event on UntitedTextEditorService

* check isWeb, use beter mode API, include model in unpacked

* typo in path
2021-07-16 16:43:23 -07:00
João Moreno bb5e8374d9
💄 2021-07-16 13:06:51 +02:00
João Moreno 8df547fef3
Merge branch 'main' into pr/117713 2021-07-16 13:03:08 +02:00
Johannes Rieken ce17560387
fix missing nls entry 2021-07-15 14:51:56 +02:00
Matt Bierner 1ac570edce
Update to build using latest TS nightly 2021-07-14 14:42:43 -07:00
Martin Aeschlimann 7927075f89
Merge pull request #128545 from microsoft/joh/webpack5
Adopt webpack 5
2021-07-14 22:32:54 +02:00
Robo 9520f0a515
chore: update to electron 13 (#124666)
* chore: bump electron@13.0.1

* chore: update cache for native modules

* chore: bump electron@13.1.2

* chore: bump electron@13.1.4

* chore: fix user data dir length for validateIPCHandleLength check

* chore: always disable uploadToServer on OSS

* chore: use process.contextIsolated property

* chore: bump electron@13.1.6

* fix: getUserDataPath helper
2021-07-13 20:01:10 -07:00
Martin Aeschlimann d38279ba73
Merge branch 'main' into joh/webpack5 2021-07-13 09:27:13 +02:00
João Moreno af7e67f8e4
use esrpcli.dll 2021-07-09 15:34:36 +02:00
Martin Aeschlimann 7ded90e452
Merge branch 'main' into joh/webpack5 2021-07-09 09:50:10 +02:00
Matt Bierner 0762d23ae7
Build VS Code using TS 4.4 (#127823)
* Build VS Code using TS 4.4

* Remove usages of deprecated `ClientRectList`

* Add any casts for missing `caretRangeFromPoint`

* Add temporary any casts for `zoom` css propery

This non-standard css property no longer exists in lib.dom.d.ts

* MouseWheelEvent -> WheelEvent

* Pick up new TS nightly

Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2021-07-08 14:27:39 -07:00
Martin Aeschlimann 7ebe6a6054
adopt web extensions to webpack 5 2021-07-08 21:41:03 +02:00
João Moreno a28d028d2d
Enable automated smoketests on Windows (#128224) 2021-07-08 19:10:25 +02:00
Johannes Rieken a3e07245ee
Revert "Revert "Merge pull request #127874 from microsoft/joh/webpack5""
This reverts commit c5f12c7226.
2021-07-08 10:28:33 +02:00
Connor Peet 6cc4e560f7
testing: remove unused testing-editor-contributions
Fixes #127691
2021-07-07 15:38:27 -07:00
Matt Bierner f0ac3ce6fa
Remove webview publish build stage
We now pull in the webview html/js from our a different cdn instead of from this endpoint. We will keep the endpoint around for older VS Code builds but no longer publish content to it
2021-07-07 09:35:25 -07:00
Benjamin Pasero d0df79be50
webview - remove more traces (#128128)
* webview - remove more traces

* more removal
2021-07-07 18:28:53 +02:00
Johannes Rieken c5f12c7226
Revert "Merge pull request #127874 from microsoft/joh/webpack5"
This reverts commit 1f5b688e9c, reversing
changes made to 6efcb92e34.
2021-07-07 18:04:11 +02:00
Matt Bierner 2222f3cc1d
Switch entirely to iframe based webviews on desktop
Fixes #83188
Part of #92164

Removes our usage of the electron `<webview>` tag
2021-07-06 12:40:51 -07:00
João Moreno 7c1e41b091
introduce git-blame-ignore 2021-07-06 20:30:21 +02:00
Johannes Rieken 81e4075936
maxModules has been removed 2021-07-02 17:40:24 +02:00
Johannes Rieken 6b5129650b
adopt webpack stream changes 2021-07-02 16:34:51 +02:00
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