Commit graph

2720 commits

Author SHA1 Message Date
Dirk Baeumer 449b87dad8 Fixes #80985: Language Pack import add ./build folder to internal LP structure. 2019-09-16 15:47:41 +02:00
Benjamin Pasero e81ee53809 web - move welcome to browser 2019-09-16 10:21:19 +02:00
Sandeep Somavarapu 317ed7e1a5 Merge branch 'master' into sandy081/userDataProvider 2019-09-15 19:52:27 +02:00
Benjamin Pasero 53ecdf80c3 build - disable exploration build merge for now 2019-09-13 15:52:01 +02:00
Robo 029e9929ae chore: Update to Electron 6.x (#75802) 2019-09-13 14:53:56 +02:00
Andre Weinand 27d27b39ad node-debug@1.38.5 2019-09-12 12:20:41 +02:00
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