Commit graph

3696 commits

Author SHA1 Message Date
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
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