Commit graph

3677 commits

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