Commit graph

183 commits

Author SHA1 Message Date
João Moreno
653a7af4aa
Merge branch 'master' into master 2020-06-23 11:02:40 +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
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
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
Daniel Imms
d436dae4e9 Remove libnotify4 as deb dep
Fixes #99585
2020-06-08 10:48:25 -07: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
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
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
Benjamin Pasero
afde7913eb
build - set no-sandbox everywhere (#81096) 2019-09-18 13:55:03 +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
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
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
Benjamin Pasero
73643c60a6
Update to Electron 4.0.x (#73119)
* Bump electron@4.0.0-beta.9

* electron 4 - temporarily warn about exploration change

* update to Electron 4.0.0 stable

* remove electron 4 notification

* bump to electron@4.0.1

* electron 4: adopt format change of "version" file

* build - set to use exploration image

* Revert "build - set to use exploration image"

This reverts commit 1bb280fc5e.

* electron@4.0.2

* fix electron.d.ts

* update distro

* bump electron@4.0.4

* debt - adopt new process.getProcessMemoryInfo()

* update electron@4.0.5

* electron@4.0.6

* electron 4.0.x - remove Linux 32bit build

* electron@4.0.7

* electron - update to 4.1.2

* bump electron@4.1.4

* update build (remove Linux32)

* electron@4.1.5

* electron 4 - remove linux 32bit warning

* Remove more 32-bit Linux build stuff

Fixes #66271

* electron@4.2.0

* electron@4.2.1

* electron@4.2.2

* electron@4.2.3

* Revert "electron@4.2.3"

This reverts commit ae375ef764.

* Revert "Revert "electron@4.2.3""

This reverts commit 513581ebc5.
2019-06-04 10:50:10 +02:00
Martin Aeschlimann
d4fba1fa26 Warn about installing VS Code in WSL 2019-04-11 09:57:12 +02:00
Martin Wimpress
24e592c52c snapcraft.yaml: Add the url-handler 2019-03-21 08:49:53 +00:00
Martin Wimpress
7f9406d777 snapcraft.yaml: Source Glib schemas from within the snap. 2019-03-21 08:49:05 +00:00
Martin Wimpress
d5c14c6300 snapcraft.yaml: Fallback to XWayland if running in a Wayland session 2019-03-21 08:48:23 +00:00
Martin Wimpress
e07c331459 snapcraft.yaml: Remove braces from ${SNAP} in command: 2019-03-21 08:47:13 +00:00
Martin Wimpress
73b7ed584f snapcraft.yaml: Remove unnecessary data from the snap 2019-03-21 08:45:32 +00:00
Martin Wimpress
c134334c4c snapcraft.yaml: Update stage-packages
Clean up the stage-packages: to drop any unnecessary libraries and ensure all required libraries to maintain ABI compatibility are bundled in the snap.
2019-03-21 08:44:47 +00:00
Martin Wimpress
e91b073155 snapcraft.yaml: Add the GNOME 3.26 PPA.
Adds the PPA for the GNOME 3.26 framework which is maintained by the Ubuntu Desktop team.

This PPA includes GTK3 and GNOME3 components used to create the GNOME 3.26 Framework snap for Ubuntu 16.04.

  * Fixes:  https://github.com/Microsoft/vscode/issues/63194
  * Fixes:  https://github.com/Microsoft/vscode/issues/57019
2019-03-21 08:42:01 +00:00
Martin Wimpress
04639e468c electron-launch: ABI compatible GDK PixBuf modules
Use ABI compatible GDK PixBuf modules from within the snap and build gdk-pixbuf-loaders.cache in the snaps common user data.
2019-03-21 08:34:21 +00:00
Martin Wimpress
c8493b459f electron-launch: Create $XDG_CACHE_HOME
Relocate $XDG_CACHE_HOME within the snaps common user data.
2019-03-21 08:32:13 +00:00
Martin Wimpress
07f2bdc176 electron-launch: Add architecture detection 2019-03-21 08:29:33 +00:00
Martin Wimpress
22dc561765 electron-launch: Correctly map the /snap directory on Fedora 2019-03-21 08:28:45 +00:00
Martin Wimpress
16a06aceb3 electron-launch: Use bash 2019-03-21 08:26:07 +00:00
Daniel Imms
bd377076bc Fix icon name in rpm spec 2019-03-18 07:14:02 -07:00
Daniel Imms
363e829071 Fix clicking on dock in Ubuntu opening additional windows
Fixes #65460
2019-01-28 06:59:31 -08:00
João Moreno
eb69d48499
Merge pull request #65579 from Kedstar99/snapFix
Removed snapUpdate.sh and replaced with inline command
2019-01-28 15:30:29 +01:00
Segev Finer
a0a5c9cbee Bundle/Install completions with the correct appname
Fixes #66154
2019-01-08 00:40:15 +02:00
Joao Moreno
493ad1da77 temporary comment out completions 2019-01-07 17:21:02 +01:00
João Moreno
a9e56b859d
Merge pull request #56670 from segevfiner/shell-completions
code command completions for Bash & Zsh
2019-01-04 16:11:10 +01:00
Daniel Imms
ffe6f7950e Drop gconf dependency
Fixes #62580
2018-12-27 11:03:06 -08:00
Krish De Souza
4c02c554ce Removed snapUpdate.sh and replaced with inline command
+Simplifies the build process.
+Avoids creating a new shell that simply spawns another shell environment.
+Simplifies the update mechanism by removing the need to track the existence of snapUpdate.sh.
+Keeps the logic for snapUpdate.sh close to updateService.snap.ts
2018-12-22 11:53:22 +05:30
Krish De Souza
d37f1c01ec Fixed snapUpdate.sh to use environment variable to spawn a new instance of vscode. 2018-12-06 11:36:36 +00:00
David Bailey
6c0718df37
Remove StartupWMClass from URL handler desktop file 2018-11-25 19:43:27 +00:00
Miguel Solorio
4533aa0c0a
Merge pull request #62739 from RDIL/master
Optimize images
2018-11-08 08:42:57 -08:00
Joao Moreno
5c3e3ec85a snap updates 2018-11-08 14:44:32 +00:00
Joao Moreno
df6ca821a6 remove args from electron launch 2018-11-07 12:41:17 +00:00
Joao Moreno
4ae69c8c4a cleanup snapcraft.yaml 2018-11-07 12:41:03 +00:00
ImgBotApp
d412f89baf
[ImgBot] Optimize images
*Total -- 201.93kb -> 142.81kb (29.28%)

/extensions/npm/images/npm_icon.png -- 3.21kb -> 0.51kb (84.1%)
/src/vs/workbench/parts/debug/electron-browser/media/stepout-tb.png -- 2.89kb -> 0.47kb (83.83%)
/src/vs/workbench/parts/debug/electron-browser/media/stop-tb.png -- 1.50kb -> 0.35kb (76.43%)
/src/vs/workbench/parts/debug/electron-browser/media/pause-tb.png -- 1.55kb -> 0.37kb (76.34%)
/src/vs/workbench/browser/parts/editor/media/forward-tb.png -- 1.57kb -> 0.37kb (76.25%)
/src/vs/workbench/browser/parts/editor/media/back-tb.png -- 1.52kb -> 0.37kb (75.53%)
/src/vs/workbench/parts/debug/electron-browser/media/continue-tb.png -- 1.60kb -> 0.42kb (73.48%)
/src/vs/workbench/parts/debug/electron-browser/media/stepinto-tb.png -- 1.66kb -> 0.47kb (71.51%)
/src/vs/workbench/parts/debug/electron-browser/media/restart-tb.png -- 1.91kb -> 0.59kb (68.84%)
/src/vs/workbench/parts/debug/electron-browser/media/stepover-tb.png -- 1.93kb -> 0.62kb (67.75%)
/resources/linux/code.png -- 5.76kb -> 2.66kb (53.86%)
/extensions/html-language-features/icons/html.png -- 4.40kb -> 2.28kb (48.15%)
/extensions/theme-seti/icons/seti-circular-128x128.png -- 8.73kb -> 4.70kb (46.12%)
/extensions/typescript-language-features/icon.png -- 1.60kb -> 0.97kb (39.15%)
/src/vs/platform/extensionManagement/node/media/defaultIcon.png -- 1.65kb -> 1.03kb (37.49%)
/src/vs/workbench/parts/extensions/electron-browser/media/defaultIcon.png -- 1.65kb -> 1.03kb (37.49%)
/extensions/vscode-api-tests/testWorkspace/sub/image.png -- 35.87kb -> 24.99kb (30.33%)
/extensions/vscode-api-tests/testWorkspace/image.png -- 35.87kb -> 24.99kb (30.33%)
/resources/win32/code_150x150.png -- 0.55kb -> 0.39kb (29.96%)
/extensions/css-language-features/icons/css.png -- 5.07kb -> 3.63kb (28.37%)
/extensions/json-language-features/icons/json.png -- 5.84kb -> 4.33kb (25.89%)
/extensions/markdown-language-features/icon.png -- 1.19kb -> 0.88kb (25.86%)
/src/vs/workbench/parts/extensions/electron-browser/media/theme-icon.png -- 9.90kb -> 7.42kb (25.1%)
/extensions/php-language-features/icons/logo.png -- 10.85kb -> 8.99kb (17.13%)
/extensions/gulp/images/gulp.png -- 7.36kb -> 6.20kb (15.8%)
/extensions/merge-conflict/resources/icons/merge-conflict.png -- 2.47kb -> 2.10kb (14.96%)
/extensions/jake/images/cowboy_hat.png -- 43.85kb -> 41.67kb (4.98%)
2018-11-06 20:46:03 +00:00