Commit graph

370 commits

Author SHA1 Message Date
João Moreno edf43e529a
build snap packages for linux arm 2020-11-18 10:04:55 +01:00
Alex Dima 796db55744
Remove iframe around web worker in codespace case 2020-11-03 13:55:17 +01:00
Benjamin Pasero f8a7353485 🆙 web playground 2020-10-29 09:38:45 +01:00
Alex Dima b72438c7f3
Don't use data: as the src of the web worker extension host iframe (#108285) 2020-10-21 20:03:54 +02:00
Daniel Imms b0baa3a2d8
Update deps to include libgbm (#107611)
Fixes #106936
2020-10-19 11:47:07 -07:00
Martin Aeschlimann 59df6b40f1 code.sh: Prevent stealing of stdin (for #99815) 2020-10-16 22:45:38 +02:00
Alex Dima 860a9ad652
Make sure to return Access-Control-Allow-Origin header also in error case 2020-09-30 17:51:29 +02:00
ChaseKnowlden e8760a5d6c Fix capitalization of GitHub org 2020-09-17 11:43:03 +02:00
Sandeep Somavarapu a4a9fcb7dd
Merge branch 'master' into sandy081/web-playground/login 2020-09-15 17:31:42 +02:00
Benjamin Pasero 3c8ed50bdb fix lint
cc @tyriar
2020-09-15 16:36:09 +02:00
Sandeep Somavarapu 52bdeff880 - send auth session
- prepare credentials from auth session
2020-09-13 01:56:02 +02:00
João Moreno bc38b0accb
argh 2020-09-11 13:55:29 +02:00
João Moreno bea7a2334e
fix linux build 2020-09-11 13:13:08 +02:00
João Moreno e75b1a6dcd
Merge branch 'joao/linux-arm' 2020-09-11 12:45:08 +02:00
Benjamin Pasero a46ba1f84c 🆙 web playground 2020-09-11 10:26:43 +02:00
Benjamin Pasero 37a11b4314 try to fix build (linux) 2020-09-11 09:46:20 +02:00
Daniel Imms 65b4134965
Merge pull request #95637 from luqmana/workspace-mimetype
Register mimetype for *.code-workspace
2020-09-09 05:55:27 -07:00
João Moreno 034f6fc5ba
fix rpm 2020-09-08 20:57:07 +02:00
Sandeep Somavarapu e8cf34521d remove remote web user data directory and use indexedDB in browser 2020-09-05 09:06:43 +02:00
Johannes Rieken 6df356f2a0 add --trusted-types flag to yarn web 2020-09-03 14:56:08 +02:00
Benjamin Pasero e62999c15e 🆙 web playground 2020-09-02 17:58:59 +02:00
Sandeep Somavarapu 32f934cebe Pass credentials through args 2020-09-02 12:39:19 +02:00
Benjamin Pasero 230d2faa91 🆙 web playground 2020-09-01 09:40:40 +02:00
Benjamin Pasero 513807b0e4 web - improve window indicator 2020-08-28 17:50:39 +02:00
Benjamin Pasero d838ac2a85 🆙 web-playground version 2020-08-28 10:30:43 +02:00
Benjamin Pasero a4688615f4 🆙 web-playground version 2020-08-28 10:27:57 +02:00
Benjamin Pasero d50e84208f web - ignore builtIn extension if overridden via CLI 2020-08-21 08:15:37 +02:00
Benjamin Pasero 71e4d1dc2b 🆙 web playground 2020-08-20 15:19:38 +02:00
Benjamin Pasero 651fb28e3c web - rename resources/serverless => resources/web 2020-08-18 09:49:53 +02:00
Benjamin Pasero 4491427ac7 web - move playground out of sources
We will consume the playground from https://github.com/microsoft/vscode-web-playground going forward.
2020-08-18 09:18:23 +02:00
Martin Aeschlimann b5d8e6e72c code.sh: add quotes to export WSLENV 2020-08-14 13:56:34 +02:00
Alex Dima c7a2d199e3
Move exist check to the right place 2020-08-06 23:08:37 +02:00
Alex Dima ee09c5b254
Add IWorkbenchConstructionOptions._wrapWebWorkerExtHostInIframe 2020-08-06 23:08:37 +02:00
Alex Dima afa288e757
Add IWorkbenchConstructionOptions._enableBuiltinExtensions 2020-08-06 22:54:30 +02:00
Alex Dima f2f4a9d3fb
Serve built-in extensions from /static/extensions 2020-08-06 21:09:24 +02:00
Alex Dima 1888864bed
Add Access-Control-Allow-Origin: * to requests made to /extension/ 2020-08-05 21:26:18 +02:00
Alex Dima edf34c7cbc
Allow passing in an exclude list to scanBuiltinExtensions 2020-08-03 23:22:39 +02:00
Alex Dima f43a17578c
Wrap web worker extension host in an iframe to get a different origin 2020-08-03 14:53:44 +02:00
Eric Amodio ea63321bc6 Removes internal gh browser & adds external 2020-07-29 23:49:17 -04:00
Alex Dima 4347a0cad6
Reuse scanBuiltinExtensions in code-web.js 2020-07-29 10:59:32 +02:00
Alex Dima a7b1e06283
Add support for web worker extensions to define their entry point via "browser" 2020-07-24 10:41:04 +02:00
Alex Dima fd91d449f9
Improve default extensionKind detection 2020-07-24 10:41:03 +02:00
Martin Aeschlimann d706c7089c code-web: read built-in marketplace extensions 2020-07-15 16:34:47 +02:00
Martin Aeschlimann 006a379ccb code-web: fix minimist options 2020-07-15 15:02:46 +02:00
Martin Aeschlimann 91a3e6b0db code-web: --extension parameter 2020-07-15 13:43:12 +02:00
Eric Amodio 62939fbe12 Adds branch support 2020-07-02 04:02:15 -04:00
Martin Aeschlimann c99fe71f85 web: bring back temporary workaround for package.nls 2020-06-29 21:44:42 +02:00
Eric Amodio d0bd8225b3 Adds cs querystring to yarn web for editing 2020-06-25 14:11:22 -04:00
Martin Aeschlimann 24f7393beb add yarn watch-web 2020-06-25 17:34:12 +02:00
João Moreno 653a7af4aa
Merge branch 'master' into master 2020-06-23 11:02:40 +02:00
Martin Aeschlimann aa46585224 code.se: Improve version check for WSL2 2020-06-22 21:49:24 +02:00
Sandeep Somavarapu f816c23b22 Use service endpoint url for builtin extensions 2020-06-22 15:36:51 +02:00
João Moreno 38e500687d
Update resources/linux/bin/code.sh
Co-authored-by: VoidNoire <18732253+VoidNoire@users.noreply.github.com>
2020-06-21 17:12:10 +02:00
João Moreno 1e06fc4859
Update resources/linux/bin/code.sh
Co-authored-by: VoidNoire <18732253+VoidNoire@users.noreply.github.com>
2020-06-21 17:11:57 +02:00
champignoom e125e0a4d5
stage ibus-gtk3 to try to make ibus work (#100480)
try to address #96041
2020-06-21 17:05:58 +02:00
Martin Aeschlimann c93c29c357 code.sh: loosen check for WSL2 2020-06-19 23:42:58 +02:00
Sandeep Somavarapu ba27193e45 Web extensions support
- Add package nls url to scanned extension
- Introduce scanner service for builtin extensions
- Introduce scanner service for web extensions
- Use web extensions scanner service in management and runtime
- Apply default translation inside management service
2020-06-19 15:14:01 +02:00
Sandeep Somavarapu 7c574546f7 Support built in extensions in serverless
- Use different entry point instead of static extensions
- Intrdouce web extension management service
2020-06-18 15:21:17 +02:00
VoidNoire c7ae20b401
Make POSIX-compliant to increase portability and remove bash dependency on Linux. Fix causes of shellcheck warnings. 2020-06-14 22:40:16 +00:00
Martin Aeschlimann d78d88f7a8 make merge-conflic serverless 2020-06-12 11:03:52 +02:00
Daniel Imms 145d6bf352
Merge pull request #97527 from 9at8/fix-linux-symlinks
Add "" around $0 in Linux starting script
2020-06-11 04:46:46 -07:00
Martin Aeschlimann f351885fc6 code-web: use async glob 2020-06-10 14:15:23 +02:00
Benjamin Pasero 6a927e6bb5 serverless - fix callback path 2020-06-10 08:20:24 +02:00
Eric Amodio 835142c44e Allows refs in github uris 2020-06-10 01:42:04 -04:00
Eric Amodio bb97e452f1 Fixes #99666 - moves code-web into resources/ 2020-06-09 10:59:15 -04:00
Daniel Imms d436dae4e9 Remove libnotify4 as deb dep
Fixes #99585
2020-06-08 10:48:25 -07:00
Martin Aeschlimann 29b5f87288 code.sh: debug with VSCODE_WSL_DEBUG_INFO 2020-06-03 21:51:04 +02:00
Martin Aeschlimann 4eadd58d11 Unable to launch vscode in remote mode from WSL2 (custom kernel) Fixes https://github.com/microsoft/vscode-remote-release/issues/2809 2020-06-03 21:43:18 +02:00
Aditya Thakral 69e491de68 Add "" around $0 in Linux starting script 2020-05-11 13:02:37 -04:00
Martin Aeschlimann c6ce623191 code-insiders.sh prompts me for WSL although I do want to start the Linux version. Fixes #96555 2020-05-07 11:55:20 +02:00
Daniel Imms 10c24b0773 Add executable bit to code.desktop
Part of #95459
2020-04-25 05:38:58 -07:00
Luqman Aden 828389d890 Register mimetype for *.code-workspace 2020-04-19 04:57:06 -07:00
Sergio Schvezov d4da28357f snap launcher: avoid exporting XDG_CACHE_HOME
Exporting XDG_CACHE_HOME affects applications launched from within
the context of code.

Rename it to GDK_CACHE_DIR and do not export it. Also test for
existence before creating to avoid shelling out to mkdir if not
needed.

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
2020-02-21 17:26:57 -03:00
Sergio Schvezov a100802412 snap launcher: fix quoting in script
Avoid any potential issue with globbing or word splitting.

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
2020-02-21 17:23:26 -03:00
Benjamin Pasero 23956cc5e2 update to electron 6.0.x (#81644)
* update to electron 6.0.x

* chore: bump electron@6.0.12
2019-10-10 12:26:28 -07:00
Daniel Imms dfee0337a5
Merge branch 'master' into fix-executable-bits 2019-10-09 15:16:07 -07:00
Niklas Mollenhauer 1cc0b592c2
Remove executable bits from non-executable files 2019-10-08 15:18:42 +02:00
Jonas Platte c109bf77ac
linux/bin/code.sh: use command -v instead of which 2019-10-08 14:02:44 +02:00
Benjamin Pasero da76f05e7a electron - revert to Electron 4 2019-09-30 14:55:17 +02:00
Martin Aeschlimann 798e32cb83 code.sh: pipe error still printed. For https://github.com/microsoft/vscode-remote-release/issues/1420 2019-09-19 16:15:13 +02:00
Benjamin Pasero afde7913eb
build - set no-sandbox everywhere (#81096) 2019-09-18 13:55:03 +02:00
Martin Aeschlimann 945d678d36 uv_pipe_open error when starting code-insiders from WSL microsoft/vscode-remote-release#1420 2019-09-17 18:06:55 +02:00
João Moreno ab10e26096
Fixes #80702 (#80705) 2019-09-11 13:31:42 +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
navrkald 08580a4671
Skip WLS check if env var DONT_PROMPT_WSL_INSTALL is set. 2019-09-08 13:19:51 +02:00
Martin Aeschlimann 68c1123b33 Code-insiders started from WSL doesn't return to console/ doesn't connect Fixes microsoft/vscode-remote-release#1369 2019-09-06 10:46:53 +02:00
Martin Aeschlimann 587c673c7f wsl2 workaround no longer necessary 2019-09-03 17:51:53 +02:00
Martin Aeschlimann df880b0434 Workaround for broken WSL2 in Win build 18947. For #77898 2019-08-23 15:36:14 +02:00
Aidan Dang 34daff0fd7 Fix trivial zsh completion typo 2019-08-19 14:27:05 +10:00
Miguel Solorio 44a48f75d6 Add installer assets for OSS (#79045) 2019-08-15 06:38:47 +02:00
Joao Moreno 280be12a3a fix zsh completions 2019-08-07 14:51:00 +02:00
Joao Moreno a4e350f76f Merge commit 'refs/pull/66181/head' of github.com:microsoft/vscode into pr/66181 2019-08-07 11:56:18 +02:00
Martin Aeschlimann 49b51b32b2 Run wslCode with electron (fixes vscode-remote-release#914) 2019-07-30 11:41:14 +02:00
Logan Ramos b4734e8524
Filter extensions by category (#77306)
* Revert commit change

* Revert commit change

* Revert commit change

* Revert commit change

* Revert commit change

* Revert commit change

* Provide option to filter by category

* ignore casing

* Remove unwanted build change
2019-07-23 07:29:35 -07:00
Martin Aeschlimann e40623fcb7 Revert "Failure to launch VSCode from WSL2. Fixes microsoft/vscode-remote-release#914"
This reverts commit 0288def891.
2019-07-23 09:17:05 +02:00
Martin Aeschlimann 0f90403c57 windows/code.sh: convert to sh 2019-07-16 17:05:57 +02:00
Martin Aeschlimann 0288def891 Failure to launch VSCode from WSL2. Fixes microsoft/vscode-remote-release#914 2019-07-16 12:21:46 +02:00
Robert Ancell 05ceb5e8ac snapcaft.yaml: Set the AppStream ID in the Snap metadata
This allows software store to recognise this snap matches Visual Studio Code in
other formats (.deb, .rpm, Flatpak etc). It also means reviews on ODRS are
grouped together.
2019-07-02 10:19:28 +12:00
Logan Ramos 4a69a71065
Telemetry Command (#76029)
* Added telemetry command

* Initial Build support

* Added build logic for telemetry

* Linux Builds

* Windows builds sort of work

* Remove arm telemetry extraction

* Remove alpine telemetry extraction

* Remove accidental s

* More try catch
2019-06-24 18:47:12 -07:00
Martin Aeschlimann 99ebdaa7dc Code-insiders started from WSL doesn't return to console/ doesn't connect. Fixes microsoft/vscode-remote-release#780 2019-06-24 18:10:47 +02:00