Commit Graph

4014 Commits

Author SHA1 Message Date
Alex Dima
29fd3ba77d Add sanity test for package.json 2019-09-11 16:49:56 +02:00
Benjamin Pasero
ecc8571a79 web - get product config through build and not via API 2019-09-11 13:49:06 +02:00
Sandeep Somavarapu
65f14490b7 Merge branch 'master' into sandy081/userDataProvider 2019-09-11 13:42:07 +02:00
João Moreno
ab10e26096 Fixes #80702 (#80705) 2019-09-11 13:31:42 +02:00
Matt Bierner
011836a150 Prototyping custom editors (#77789)
* Custom Editor exploration

For #77131

Adds a prototype of custom editors contributed by extensions. This change does the following:

- Introduces a new contribution point for the declarative parts of a custom editor
- Adds API for registering a webview editor provider. This lets VS Code decided when to create a webview editor
- Adds an `openWith` command that lets you select which editor to use to open a resource from the file explorer
- Adds a setting that lets you say that you always want to use a custom editor for a given file extension
- Hooks up auto opening of a custom editor when opening a file from quick open or explorer
- Adds a new extension that contributes a custom image preview for png and jpg files

Still needs a lot of UX work and testing. We are also going to explore a more generic "open handler" based approach for supporting custom editors

Revert

* Re-use existing custom editor if one is already open

* Don't re-create custom editor webview when clicking on already visible custom editor

* Move customEditorInput to own file

* First draft of serializing custom editor inputs

* Use glob patterns instead of simple file extensions for matching custom resoruces for custom editors

* Add descriptions

* Try opening standard editor while prompting for custom editor

* Make sure we hide image status on dispose

* Make sure we restore editor group too

* Use glob patterns for workbench.editor.custom

* Allow users to configure custom editors for additional file types

* Use filename glob instead of glob on full resource path

* Adding placeholder for prompt open with

* Add enableByDefault setting for editor contributions

* Enable custom editors by default and add `discretion` enum

Changes `enableByDefault` boolean to a `discretion` enum. This should give more flexibility if we want other options (such as forcing a given custom editor to always be used even if there are other default ones)

* Allow custom editors to specify both a scheme and filenamePattern they are active for

* Rework custom editor setting

* Don't allow custom editors to be enabled for all resources by a config mistake

* Replace built-in image editor with one from extension

* Adding reopen with command

* Improve comment

* Remove commented code

* Localize package.json and remove image

* Remove extra lib setting from tsconfig
2019-09-10 17:56:57 -07:00
Daniel Imms
36410ba33e Merge remote-tracking branch 'origin/master' into pr/jasongin/80293 2019-09-10 12:01:40 -07:00
Rob Lourens
1daa19733f Bump vscode-ripgrep 2019-09-10 11:31:47 -07:00
Sandeep Somavarapu
63e24dd208 Merge branch 'master' into sandy081/userDataProvider 2019-09-10 17:40:05 +02:00
Sergio Schvezov
19526f4123 snap: add assets verbatim (#80585)
* snap: add assets verbatim

Providing the desktop files in snap/gui will have snapcraft copy over
those assets into the snaps meta/gui verbatim.

Addtionally, add a leading ${SNAP} to the Icon entry which was also
moved to snap/gui for the "package" to have an icon by default
(which is important when sideloading).

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>

* escape

* fix snapcraft.yml

* use @@EXEC@@ in desktop files

* fix bad path

* fix snap desktop file
2019-09-10 17:12:45 +02:00
Benjamin Pasero
93b7ad02df web - add proper callback landing page 2019-09-10 15:56:50 +02:00
Sandeep Somavarapu
cae7f1c4b9 Merge branch 'master' into sandy081/userDataProvider 2019-09-10 15:17:32 +02:00
Sandeep Somavarapu
c26e198c9c settings sync using remote user data service 2019-09-10 15:16:57 +02:00
Johannes Rieken
5a9913099c undo usage of tsProjectSrc-stream 2019-09-10 14:58:08 +02:00
Johannes Rieken
c695729eb1 remove gulp-tsb hack, fixes #80629 2019-09-10 14:51:46 +02:00
Johannes Rieken
9ab449f3bd use tsb 4.0.2 use project files as src-stream, https://github.com/microsoft/vscode/issues/80632 2019-09-10 12:48:04 +02:00
Benjamin Pasero
d0481dca92 web - move selfhost pieces out of workbench 2019-09-10 11:06:54 +02:00
Benjamin Pasero
0030e6ee92 🆙 terser@4.3.1 (#80627) 2019-09-10 10:57:54 +02:00
Sergio Schvezov
51334d5bd9 buildSnapPackage: use the default snapcraft target (#80217)
Use the default snap target for snapcraft to create the snap (build is an
intermediate lifecycle step).

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
2019-09-10 10:24:40 +02:00
Rob Lourens
bb02180904 Delay gulp-watch read so watch task isn't broken on slower disks.
vscode writes files non-atomically. This is useful on an azure devbox over ssh.
2019-09-09 14:39:13 -07:00
Jason Ginchereau
3d08742789 Add automation to root postinstall script 2019-09-09 09:30:34 -07:00
isidor
a33e554693 adopt registerAndGetAmdImageURL
fixes #80563
2019-09-09 18:15:11 +02:00
Alex Dima
1ba4dc6954 Introduce registerAndGetAmdImageURL and inline such images in the bundle phase in .js 2019-09-09 17:17:12 +02:00
Alex Dima
7b4c75560d Merge remote-tracking branch 'origin/master' into alex/editor-options 2019-09-06 22:03:38 +02:00
Johannes Rieken
f8daa9eac4 use project-src() to compile what tsconfig-defines 2019-09-06 18:16:12 +02:00
Daniel Imms
b9c3836013 Merge branch 'master' into automation 2019-09-06 08:40:33 -07:00
Johannes Rieken
2b46fe4c30 adopt gulp-tsb 4.0.0, remove postinstall hacks 2019-09-06 17:21:36 +02:00
Johannes Rieken
f6daf19f9a debt - remove unused service workr 2019-09-06 11:54:13 +02:00
Alex Dima
d625a4ba9c Merge remote-tracking branch 'origin/master' into alex/editor-options 2019-09-06 11:07:16 +02:00
Jason Ginchereau
657a98fe1c Fix tslint filter 2019-09-05 09:16:32 -07:00
Jason Ginchereau
cc8f182501 Update hygiene exceptions 2019-09-05 09:16:31 -07:00
Joao Moreno
3aa0fc0b52 fixes #80414 2019-09-05 17:47:59 +02:00
Peng Lyu
bd9458e6b8 Merge branch 'standalone/0.18.x' 2019-09-04 12:05:20 -07:00
Alex Dima
e787da13c3 Merge remote-tracking branch 'origin/master' into alex/editor-options 2019-09-04 12:54:28 +02:00
Benjamin Pasero
4e230fda77 build - disable web smoke tests for now (#80308) 2019-09-04 11:17:53 +02:00
Benjamin Pasero
4cd5047073 build 💄 2019-09-04 08:55:20 +02:00
Joao Moreno
5d7c8d9212 fix i18n for extensions 2019-09-04 08:05:47 +02:00
Benjamin Pasero
8755b78acf web - add pwa icons 2019-09-04 07:33:39 +02:00
Peng Lyu
b5251d43fa bump version 2019-09-03 16:51:27 -07:00
Pine Wu
b038107d76 Fix #75639 2019-09-03 09:46:53 -07:00
Benjamin Pasero
c6c88cbbfb debt - remote integration tests (#80265)
* fix

* 🆙 distro
2019-09-03 15:31:23 +02:00
Sandeep Somavarapu
3dc748ccca Merge branch 'master' into sandy081/userDataProvider 2019-09-03 14:55:28 +02:00
isidor
99bc09cea2 build pipeline: use latest yarn version 2019-09-03 14:07:11 +02:00
Matt Bierner
cf446b9233 Build VS Code using TS 3.6
Fixes #80079

Updates our build to use TS 3.6. Fixes a few changes to dom apis and adds a monkey patch for the node typings break in 3.6
2019-09-02 21:27:52 -06:00
Alex Dima
363b976941 Convert more editor options 2019-09-02 23:05:00 +02:00
Benjamin Pasero
155f85b679 Build: run integration tests against actual build (#80203)
* experiment with running macOS integration test against real build

* echo command

* more tests

* Revert "more tests"

This reverts commit b07bde89be.

* test

* fix script

* fix build

* fix tests

* fix build

* fix build

* conditionally enable test for remote

* adopt for linux and windows

* disable failing test

* fix build

* windows - echo off

* fix variable check

* fix path

* fix compile

* echo off

* mac polish
2019-09-02 11:26:26 +02:00
Benjamin Pasero
c7d4c3ce1b Use terser for minification (#80201)
* build - minify using terser

* fix minification issues

* build ffs

* Update .cachesalt

* add comment
2019-09-02 11:19:26 +02:00
Benjamin Pasero
facfdbc510 Enable full TSLint check in build (#80191)
* build - run TSLint in our builds

* try out tslint
2019-09-02 09:29:34 +02:00
Joao Moreno
98744a1c41 bump build cache salt 2019-08-30 22:24:39 +02:00
Matt Bierner
8065712528 Add publishing of webview content to pipeline (#80069)
* Experimental publish step of webview contents

* Move webview publish into product compile

* Move test step first

* More script after install

* Move script after build

* Debug

* Add env var

* Don't log env
2019-08-29 13:06:29 -07:00
Rob Lourens
7e5adb5dae Enable Alpine in stable builds 2019-08-29 11:08:14 -07:00