Commit Graph

4014 Commits

Author SHA1 Message Date
Andre Weinand
fb03c35092 update node-debug 2016-12-21 16:56:35 +01:00
Alex Dima
3232075311 Merge IState and IState2 2016-12-21 15:54:22 +02:00
Adrian Perez de Castro
1e300d1f7e Add an AppData XML data file to Linux builds
The AppData files provide descriptive data about an application, and is
typically used in application managers to display additional information to
the user. Having an AppData file is especially important for some graphical
application installers: without one, an application manager may not event
show an entry for the application. This happens for example in GNOME Software.

For the sake of completeness, this commit not only adds the AppData file to
the Flatpak build, but also to the Linux .deb and .rpm packages.
2016-12-18 20:57:25 +02:00
Daniel Imms
a652dc87ed Merge pull request #17370 from aperezdc/flatpak-niceties
Add a few niceties for making Flatpak builds of VSCode
2016-12-16 11:08:35 -08:00
roblou
ebc1790b11 node-debug2@1.9.0 2016-12-16 09:44:50 -08:00
Adrian Perez de Castro
464cffc766 Flatpak: Set the subject used for repository commits
When storing the output of a Flatpak build to a commit into an OSTree
repository (by setting the $FLATPAK_REPO environment variable), it is
good to have a descriptive subject in the commit log message.
2016-12-16 04:52:45 +02:00
Adrian Perez de Castro
86f5213f39 Flatpak: Allow specifying the path to a destination repository
This makes the Flatpak builds honor the $FLATPAK_REPO environment variable.
When it is defined, it will be used as the path to an OSTree repository where
the Flatpak application bundle will be committed to. This allows to place
multiple builds in the same repository (along other applications, even), which
can be published. For more details abuit using repositories for publishing,
check:

   http://flatpak.org/developer.html#Distributing_Applications

Note that setting $FLATPAK_REPO disables building a standalone .flatpak bundle
file.
2016-12-16 04:52:44 +02:00
Adrian Perez de Castro
deb4e410c7 Support signing Flatpak builds with GPG
This honors the following environment variables:

- $GPG_KEY_ID: When set, it can be the identifier, full fingerprint, or
  email address of a GnuPG key which will be used to sign Flatpak builds.

- $GPG_HOMEDIR: Path to an alternative home directory to be used by GnuPG,
  instead of the default ~/.gnupg directory of the current user. This can
  be used to point GnuPG to a different keychain.
2016-12-16 04:52:44 +02:00
Daniel Imms
588efa9e68 Remove gulp-image-resize dep unless we build flatpak 2016-12-14 10:23:39 -08:00
Daniel Imms
f087eea3bd Merge pull request #16169 from aperezdc/flatpak
Support building Flatpak application bundles
2016-12-14 10:06:55 -08:00
Daniel Imms
e8bf2c4aeb Merge pull request #17151 from Microsoft/tyriar/17133_rpm_license
Use license in product.json for rpm
2016-12-14 09:59:45 -08:00
Adrian Perez de Castro
9383c9aa68 Support building Flatpak bundles
This adds support for building Flatpak application bundles, which should be
runnable on any Linux distribution with Flatpak support. See the page at
http://flatpak.org/getting.html

New Gulp tasks are added to prepare a directory with the needed files
(vscode-linux-${arch}-prepare-flatpak), assembling the Flatpak bundles
(vscode-linux-${arch}-flatpak), and for cleaning the build directories
(clean-vscode-linux-${arch}-flatpak). This mimics how the Debian and RPM
package creation works. Hence, building an application bundle is done with:

  $ gulp vscode-linux-x64-flatpak
  [...]
  $ ls *.flatpak
  com.visualstudio.code.oss-x86_64.flatpak

Installing and running the application is achieved with:

  $ flatpak --user install --bundle com.visualstudio.code.oss-x86_64.flatpak
  $ flatpak run com.visualstudio.code.oss

(Removing "--user" would install the application system-wide. Also note that
the "org.freedesktop.Platform" runtime needs to be installeed, check the
Flatpak website for instructions.)

The "flatpak-bundler" development dependency provides an asynchronous API to
invoke "flatpak-builder". The "gulp-image-resize" module is used to
incorporate scaling of the application icon to multiple sizes, and uses
ImageMagick (or GraphicsMagick) under the hood, which is commonly available on
most GNU/Linux distributions.

Instead of building the Electron dependencies ourselves, this uses the
io.atom.electron.BaseApp bundle as base application.

Instead of building the Electron dependencies, this reuses the
"io.atom.electron.BaseApp" bundle as base application. The contents of the
base application are imported at build time, and then Electron and the
prepared files added on top. The prebuilt base application will be fetched
automatically using the URL specified in the "baseFlatpakref" attribute of the
manifest, and it is kindly hosted at Amazon S3 by Endless Computers
(https://endlessm.com). The sources for the base application can be found at:

  https://github.com/endlessm/electron-flatpak-base-app/
2016-12-14 16:46:32 +02:00
Joao Moreno
9d5fcadf42 fixes #17128 2016-12-14 11:15:43 +01:00
Daniel Imms
b69e40dd8a Use license in product.json for rpm
Fixes #17133
2016-12-13 21:10:29 -08:00
Daniel Imms
9f4d4978e1 Improve rpm dependencies
Fixes #17142
2016-12-13 19:58:38 -08:00
Alex Dima
df6fcbe12a Fixes #16953: Don't depend on vs/nls in the worker 2016-12-09 09:42:18 +01:00
Joao Moreno
013ad54f32 fixes #13919 2016-12-09 09:12:20 +01:00
Andre Weinand
bc1eec763a update node-debug 2016-12-08 14:24:34 +01:00
Alex Dima
aedfa1daf1 Replace IKeyboardEvent.asKeybinding() with toKeybinding() 2016-12-08 11:56:00 +01:00
roblou
f7f12a794e node-debug2@1.8.6 for #16632 2016-12-07 15:47:39 -08:00
Andre Weinand
b1e33f76b7 update node-debug 2016-12-07 17:50:53 +01:00
roblou
0d65ced0fa node-debug2@1.8.5 2016-12-06 21:48:20 -08:00
roblou
c1b39187c4 node-debug@1.8.11 2016-12-06 21:35:10 -08:00
roblou
2ebb5cc2b2 node-debug2@1.8.4 2016-12-06 21:32:16 -08:00
roblou
a10d9be6e0 node-debug2@1.8.3 2016-12-05 17:12:39 -08:00
isidor
2f15720630 update node debug version 2016-12-05 17:44:38 +01:00
Joao Moreno
e6a46dc9e4 Merge branch 'master' into scm-api 2016-12-05 17:33:47 +01:00
Andre Weinand
b4517ffc2d update node-debug 2016-12-05 16:07:43 +01:00
Joao Moreno
48b1af2ed6 fixes #16442 2016-12-05 09:03:57 +01:00
Joao Moreno
a5812a5e0c Merge remote-tracking branch 'origin/master' into scm-api 2016-12-01 18:04:57 +01:00
Andre Weinand
f5129e6d42 update node-debug 2016-12-01 13:14:34 +01:00
Erich Gamma
b381829341 Add fix to non-externalized string warning 2016-12-01 10:08:11 +01:00
Joao Moreno
0dc80d5ed7 Merge branch 'master' into scm-api 2016-11-29 17:42:39 +01:00
Joao Moreno
dae4c97de9 fix logging 2016-11-29 15:59:17 +01:00
Joao Moreno
cc366f5a29 fix missing error emit in extensions compilation 2016-11-29 15:59:17 +01:00
Joao Moreno
76386afcac Merge branch 'master' into scm-api 2016-11-29 10:02:46 +01:00
Andre Weinand
24e12428b8 update node-debug: add skipFiles support 2016-11-28 23:51:32 +01:00
Joao Moreno
57fe12fed3 Merge branch 'master' into scm-api 2016-11-28 10:37:55 +01:00
roblou
2c8ab1a5ff node-debug2@1.8.2 2016-11-27 19:21:22 -08:00
Andre Weinand
4ce7942258 update node-debug 2016-11-25 12:24:58 +01:00
Joao Moreno
f2bfd1eb67 Merge branch 'master' into scm-api 2016-11-25 10:20:11 +01:00
Andre Weinand
ced1d697f8 update node-debug 2016-11-24 22:56:20 +01:00
Joao Moreno
dffe3ac8f6 Merge branch 'master' into scm-api 2016-11-24 18:05:13 +01:00
Martin Aeschlimann
1c4e72aa68 share TypeScipt node_module amongst extensions 2016-11-23 16:35:50 +01:00
Andre Weinand
0f285e91cf update node-debug 2016-11-22 22:49:29 +01:00
Joao Moreno
b0f6ebc0fa wip: git extension 2016-11-22 12:25:12 +01:00
Johannes Rieken
41a2317763 list webview-pre as required resource, #15623 2016-11-17 11:58:08 +01:00
Martin Aeschlimann
03813455b7 [html] add embedded JavaScript support 2016-11-16 10:58:52 +01:00
Benjamin Pasero
97bef4bdc6 Update to electron 1.4.x (#15298)
* electron 1.4.6

* fix broken DND image feedback

* OSS input

* remove cat.exe as it is no longer needed

* update electron.d.ts

* set new ELECTRON_NO_ASAR environment for forked processes

* Automatically enable high contrast theme when enabled in Windows (fixes #15360)
2016-11-14 14:27:53 +01:00
Martin Aeschlimann
332fd57d3f Fix for source maps in extensions 2016-11-14 11:34:53 +01:00