Commit graph

339 commits

Author SHA1 Message Date
Martin Aeschlimann
4ad359a330 exclude colorize-fixtures from hygiene 2016-04-11 16:03:33 +02:00
Daniel Imms
251829217a Use scoped /home/daimms variable to encapsulate rpmbuild
Fixes #3871
2016-04-08 15:57:48 -07:00
Martin Aeschlimann
b6bdc71d72 colorize-test fixes for build 2016-04-08 23:26:25 +02:00
Alex Dima
7c1c26a31a Fixes #4942: Tweak typescript bundling definitions 2016-04-08 17:36:30 +02:00
Binsztock Rémy
04d240c667 fix missing semi colon, and remove double task terminateProcess 2016-04-06 14:25:26 +02:00
Daniel Imms
cd12a7e389 Include the Linux bin command in the main dir
This also changes the behavior of the bin command to find cli.js relatively,
meaning the CLI now supports non-standard install locations.
2016-04-05 14:51:03 -07:00
Daniel Imms
6e113d01f0 Move bin command to /usr/share/<app>/bin
/usr/bin/<app> now symlinks to the launcher. This makes the CLI
accessible in the zip archive version.

Fixes #4426
2016-04-04 16:25:12 -07:00
Daniel Imms
db6f2c3a53 Force deb postinst/prerm perms to 755 during build
Prevents a random build issue where the file permissions would change sometimes
which makes the deb package fail lintian.
2016-04-04 16:24:37 -07:00
Daniel Imms
ba6f665c6d Merge .deb postinst and postinst.oss 2016-04-01 12:36:26 -07:00
Daniel Imms
e4d6038750 Use update url variable for yum repo 2016-04-01 12:32:27 -07:00
Daniel Imms
d23ce88450 Add yum repository registration
This is currently disabled until the repo is signed

Part of #229
2016-04-01 12:29:59 -07:00
Daniel Imms
b0376eab49 Copy rpm to .build with ideal name format 2016-03-31 01:26:37 -07:00
Daniel Imms
ec32eeb1c2 Build yum repository
Related #229
2016-03-30 21:33:44 -07:00
Daniel Imms
51209bba91 Add Icon to rpm file
Related to #4155
2016-03-24 14:01:51 -07:00
Benjamin Pasero
a93a74a041 Revert "Revert "Add syntax highlighting for zsh config files""
This reverts commit 4ce22442fa.
2016-03-23 16:48:34 +01:00
Benjamin Pasero
4ce22442fa Revert "Add syntax highlighting for zsh config files"
This reverts commit 350b17c1fb.
2016-03-23 09:44:53 +01:00
Benjamin Pasero
28dade4df2 Merge pull request #4602 from Microsoft/dbaeumer/4589
Fixes --locale switch incorrect for Simplified Chinese, should be zh-cn not zh-ch
2016-03-23 09:27:26 +01:00
Dirk Baeumer
a2399f4576 Fixes --locale switch incorrect for Simplified Chinese, should be zh-cn not zh-ch 2016-03-23 09:24:38 +01:00
Daniel Imms
b9c54b1d2f Merge pull request #4483 from jamesqo/zsh-grammar
Add support for a bunch of zsh configuration files
2016-03-22 18:26:03 -07:00
James Ko
350b17c1fb Add syntax highlighting for zsh config files 2016-03-22 19:00:33 -04:00
Dirk Baeumer
42d8735042 Fixes #4520: Code will not start with locale='zh-cn' or locale='zh-tw' 2016-03-22 12:50:39 +01:00
Daniel Imms
c09bd4b26d Improve os.homedir code for rpm gulp task
Fixes #4404
2016-03-18 10:28:24 -07:00
Benjamin Pasero
faffb7df99 fix gulp for older node versions 2016-03-18 09:15:58 +01:00
Martin Aeschlimann
ed602a4cf7 gulpfile.extensions: add 'src' to sourceRoot 2016-03-16 12:50:07 +01:00
Joao Moreno
91f2bd1cce update gulpfile extensions 2016-03-16 12:32:57 +01:00
Dirk Baeumer
a942a04f58 Fixed casing for locale information 2016-03-15 12:59:49 +01:00
Dirk Baeumer
e9c0d0acae Enable i18n logging 2016-03-14 17:10:47 +01:00
Dirk Baeumer
94a329299a Fix nls build 2016-03-13 15:31:02 +01:00
Dirk Baeumer
e6fa8d974c Additional i18n files 2016-03-11 21:25:28 +01:00
Dirk Baeumer
e3ddd0074e Merge branch 'dbaeumer/extensionLanguageCreation' 2016-03-09 10:02:21 +01:00
Dirk Baeumer
9f5da0577d Create language specific nls files for extensions 2016-03-08 23:20:35 +01:00
Alex Dima
11ea2b653e Show message when "auto" is detected 2016-03-08 21:46:52 +01:00
Daniel Imms
2c2f4763d7 Don't bother building rpm package for source 2016-03-08 09:01:31 -08:00
Daniel Imms
28c2b45bd3 Build 32-bit rpm package with correct arch
Fixes #3870
2016-03-08 08:52:07 -08:00
Dirk Baeumer
0ffd699ef5 Create nls files for vscode core 2016-03-08 11:26:24 +01:00
Joao Moreno
871e985d7d fix build 2016-03-08 10:56:52 +01:00
Joao Moreno
c4cfb09a3c fix gulp tasks for extensions-build 2016-03-08 10:43:43 +01:00
Joao Moreno
3a3c9e152b fix windows build 2016-03-08 09:17:13 +01:00
Daniel Imms
2c1f2fb19e Move deb build assets to .build/linux/deb/ directory
To match and encapsulate from rpm.
2016-03-07 12:56:15 -08:00
Daniel Imms
3ddbbe9a95 Implement .rpm package gulp task
.rpm packages can now be build with:

    gulp vscode-linux-<arch>-build-rpm

The resulting package will be output to ~/rpmbuild/RPMS/<arch>/ and can be
installed on a Red Hat-based distro with:

    yum localinstall <path>

Note that Debian systems can build the package after installing the 'rpm'
package:

    apt-get install rpm

This was tested building 64-bit on Ubuntu 15.10 and installing on CentOS 7.

Fixes #3595
2016-03-07 12:36:26 -08:00
Joao Moreno
6a125a472e fix build 2016-03-07 13:48:33 +01:00
Dirk Baeumer
f52edcbdd2 Add i18n files for core and extensions 2016-03-07 13:02:06 +01:00
Joao Moreno
d63380a375 move unexternalized strings rule 2016-03-07 12:56:32 +01:00
Joao Moreno
b027a0c492 fix up lint errors, cleanup build folder 2016-03-07 12:56:32 +01:00
Joao Moreno
9a31566790 fix hygiene 2016-03-07 12:56:32 +01:00
Joao Moreno
2e329e1ed1 fix hygiene 2016-03-07 12:56:32 +01:00
Joao Moreno
f9564e666d remove leftover build file 2016-03-07 12:56:32 +01:00
Joao Moreno
888f769687 move .eslintrc up to root 2016-03-07 12:56:32 +01:00
Joao Moreno
9f8ee47b02 extract gulpfile rebase 2016-03-07 12:27:10 +01:00
João Moreno
b61dd976f6 fixes #1948 2016-03-07 12:09:15 +01:00
Dirk Baeumer
1759819229 Build extensions with nls support 2016-03-07 09:40:44 +01:00
Alex Dima
c19f9bf590 Inline theme files 2016-03-06 12:42:58 +01:00
Alex Dima
a9952454eb Remove no longer necessary tasks 2016-03-06 12:37:24 +01:00
Martin Aeschlimann
3c3de953da [josn-server] remove typescript and mocha as dev dependencies 2016-03-04 17:06:50 +01:00
Joao Moreno
9f881a0898 fix npe 2016-03-04 16:26:05 +01:00
Joao Moreno
d0e3ab293d Merge branch 'ext-compile' 2016-03-04 15:54:01 +01:00
Joao Moreno
12d7f996b6 remove hardcode extensions dependencies 2016-03-04 15:48:57 +01:00
Joao Moreno
eb2ab21c34 fix lint 2016-03-04 15:36:27 +01:00
Joao Moreno
69286bbe48 fix watch & compile tasks 2016-03-04 15:31:21 +01:00
Joao Moreno
71a6127d0b fixes #1642 2016-03-04 10:44:20 +01:00
Joao Moreno
b07b57cc0e gulpfile.extensions refactor 2016-03-04 09:27:27 +01:00
Daniel Imms
77ab7e0c20 Fix 32-bit deb upload 2016-03-03 22:37:58 -08:00
Daniel Imms
e2b4e36873 Fix lint errors in build/ 2016-03-03 22:12:47 -08:00
Dirk Baeumer
c29826b209 Add compile-build-extensions tasks 2016-03-03 16:02:30 +01:00
Dirk Baeumer
2e26466979 Enable optimze-vscode again for vscode-win32 2016-03-03 11:16:19 +01:00
Daniel Imms
34003be33d Produce .deb package in deb/ folder 2016-03-02 18:31:44 -08:00
Alex Dima
18c4629511 Rename gulp tasks around extensions 2016-03-01 11:40:18 +01:00
Alex Dima
1a97264011 gulpfile.plugins -> gulpfile.extensions 2016-03-01 11:40:17 +01:00
Alex Dima
58c1cdd3eb php extension compiles to commonjs 2016-03-01 11:40:14 +01:00
Daniel Imms
572be7e529 Register code to the Debian alternatives system
Fixes #3541
2016-02-29 15:44:47 -08:00
Daniel Imms
d624636afe Register the apt repository as a source for official .deb builds
Part of #2973
2016-02-26 09:01:39 -08:00
Joao Moreno
00035055a4 use same cli script in Windows
fixes #3055
2016-02-25 17:35:33 +01:00
João Moreno
5730e16736 typo 2016-02-25 16:58:27 +01:00
Joao Moreno
1a51948f9c add code launcher for windows bash
fixes #1704
2016-02-25 16:53:32 +01:00
Alex Dima
bc76d98e00 Prefer lowercase c in (c) 2016-02-24 14:28:46 +01:00
Alex Dima
8bc37bcf37 Do not ship octicons in standalone editor 2016-02-24 14:28:45 +01:00
Daniel Imms
edbdf75cd8 Merge remote-tracking branch 'upstream/master' 2016-02-23 08:52:52 -08:00
Joao Moreno
c6ae31a9ae make build fail on compile errors 2016-02-23 09:33:16 +01:00
Daniel Imms
bf552e1e71 Remove unused vscode-linux-arch-build-deb-catalog gulp tasks 2016-02-19 15:09:16 -08:00
Daniel Imms
b0372e6810 Correct Package format
apt-get doesn't like filenames in package catalog containing .
2016-02-19 15:08:39 -08:00
Joao Moreno
90c1f7ab89 remove omnisharp
fixes #3167
2016-02-19 15:35:34 +01:00
Joao Moreno
93f1cf3b30 add no-unused-vars to eslintrc 2016-02-19 15:35:34 +01:00
Joao Moreno
f61d36818d remove plugin host sourcemap
fixes #2863
2016-02-19 15:10:46 +01:00
Joao Moreno
c5d4fbca7c add .eslintrc to build files 2016-02-19 15:10:46 +01:00
Daniel Imms
28964e5688 Fix gulp deb package clean tasks 2016-02-18 21:14:48 -08:00
Daniel Imms
8679fbd40d Use epoch time as deb package revision
This saves the gulp task relying on pinging the update server for the last
package revision.

Related #2973
2016-02-18 20:58:09 -08:00
Daniel Imms
813965b996 Create apt repository package catalog with deb package
Related #2973
2016-02-18 16:56:17 -08:00
Joao Moreno
f0805c28b0 fix hygiene 2016-02-18 16:59:18 +01:00
Joao Moreno
9707fdf617 reuse reporter in tslint 2016-02-18 16:02:16 +01:00
Joao Moreno
ff988d37a8 Merge remote-tracking branch 'origin/master' into hygiene-tslint 2016-02-18 15:28:04 +01:00
Joao Moreno
7a4e55518f whitespace 2016-02-18 15:24:52 +01:00
Erich Gamma
f85a587344 Added tslint to the hygiene pre-commit check 2016-02-18 15:01:53 +01:00
Alex Dima
7082af62f8 tslint /editor/ and /platform/ tests 2016-02-18 10:07:50 +01:00
Dirk Baeumer
d47c2c03df Port noUnexternalizedStringsRule to TS 1.8.0. Add support to detect duplicate keys with different messages 2016-02-18 09:12:42 +01:00
Dirk Baeumer
a5976acb36 Fully remove JS and TS from the VSCode. Only keep extensions. 2016-02-17 16:42:22 +01:00
Joao Moreno
43f6e241c1 add sourcemap url by default
fixes #2863
2016-02-16 16:45:25 +01:00
Joao Moreno
1937d52aec update-vscode-sourcemaps 2016-02-16 16:17:33 +01:00
Daniel Imms
61f5dc6697 Fix Linux .desktop file name 2016-02-12 11:51:24 -08:00
Joao Moreno
be4a1ef00c add darwin specific launcher 2016-02-12 16:58:39 +01:00
Joao Moreno
76465f35f8 make control quality aware 2016-02-12 16:26:40 +01:00
Joao Moreno
16f31d80e8 make code.desktop quality aware 2016-02-12 16:11:49 +01:00
Joao Moreno
1940ca7163 rename linux executable to quality 2016-02-12 16:11:49 +01:00
Joao Moreno
771257c5ab make linux deb build quality dependent 2016-02-12 15:48:47 +01:00
Joao Moreno
b20c19c88f fix build 2016-02-12 15:48:47 +01:00
Joao Moreno
d1bccebbd1 win32ShortcutName -> applicationName 2016-02-12 15:48:47 +01:00
Joao Moreno
13f7004599 remove VSCODE_PATH from cli, move to linux 2016-02-12 14:51:20 +01:00
Joao Moreno
ede6fc0e46 make sure cli is top level module 2016-02-12 12:39:37 +01:00
Joao Moreno
8626f24faa move launcher.js to cli.js 2016-02-12 12:39:37 +01:00
Joao Moreno
12b921f7cd package minified linux to deb 2016-02-12 11:10:54 +01:00
Joao Moreno
9433f3f98f build deb in .build/linux 2016-02-12 11:07:18 +01:00
Joao Moreno
5d787e0cb4 count deb package size in stream 2016-02-12 10:36:52 +01:00
Joao Moreno
94cbf1f872 remove commented task dependency 2016-02-12 10:09:31 +01:00
Joao Moreno
bf3407239f Merge branch '2679_deb_package' of https://github.com/Tyriar/vscode into Tyriar-2679_deb_package 2016-02-12 10:00:32 +01:00
Daniel Imms
fe3988c9a2 Add gulp tasks to build deb packages
Build, install and run:
gulp vscode-linux-packages
sudo dpkg -i out-linux/vscode-amd64.deb
code .

Installing the package does the following:
- Puts VSCode dir at /usr/share/code
- Puts code.sh launcher in /usr/bin
- Defines a .desktop file to properly integrate with the launcher

Fixes #2679
2016-02-11 14:20:34 -08:00
Joao Moreno
1741f43f13 add zlib to baseModules 2016-02-10 17:49:27 +01:00
Joao Moreno
fd5416fda7 fix build 2016-02-09 15:09:03 +01:00
Johannes Rieken
0657e74daf jrieken.vscode-omnisharp > ms-vscode.omnisharp 2016-02-05 10:37:11 +01:00
Alex Dima
e609a6f409 gulp win32 watcher -- filter as soon as possible fs events 2016-02-02 12:21:01 +01:00
Alex Dima
82ef0ad89a Fixes #2522: Use official oniguruma node module 2016-01-29 12:04:25 +02:00
Joao Moreno
ce7310f84f update vscode-omnisharp version
#2498
2016-01-28 16:58:45 +01:00
Martin Aeschlimann
338ff58622 Fixes #2422: json extension ships dev node modules such as mocha and typescript that adds more than 13MB 2016-01-27 18:00:08 +01:00
Joao Moreno
b14258e8d1 fixes #2127 2016-01-27 15:42:00 +01:00
Johannes Rieken
fc3da668bc pull in jrieken.vscode-omnisharp 0.3.1 2016-01-27 15:30:27 +01:00
Joao Moreno
e44dc204ab oops 2016-01-27 14:56:15 +01:00
Joao Moreno
a9511de753 fixes #2419 2016-01-27 14:53:35 +01:00
Martin Aeschlimann
1379c39944 Merge pull request #2245 from Microsoft/aeschli-json-language-server
Add json language server
2016-01-25 22:10:46 +01:00
Joao Moreno
1b6d320d67 fixes #2201 2016-01-25 16:00:35 +01:00
Johannes Rieken
21b2a40f98 move marked.js to common 2016-01-25 10:28:39 +01:00
Martin Aeschlimann
cbb50c74a0 filter dev artifacts from json/server 2016-01-22 09:04:50 +01:00
Joao Moreno
1b8fca6c2c patch version with quality 2016-01-20 17:51:01 +01:00
Joao Moreno
75b54736d7 simplify product.json 2016-01-20 17:36:31 +01:00
João Moreno
c7280f04a6 Merge pull request #1072 from EgorMatirov/arm_building
Allow building binary on Linux ARM.
2016-01-19 17:50:00 +01:00
Joao Moreno
ef97929beb cleanup hygiene 2016-01-18 09:50:41 +01:00
Erich Gamma
6e2403964a make slashes consistent in the shown file path 2016-01-15 09:12:42 +01:00
Erich Gamma
8fac1e1017 Integrated tslint 2016-01-14 17:53:55 +01:00
Johannes Rieken
9eebf6657f move up octicon logic so that it can be reused in quick open 2016-01-13 15:06:38 +01:00
João Moreno
2db3302987 do not rename electron.exe 2016-01-13 11:15:03 +01:00
Joao Moreno
1331354349 use VSCODE_ELECTRON_PLATFORM 2016-01-12 17:26:56 +01:00
Johannes Rieken
db46719428 exclude 'weak' from build, update weak.d.ts 2016-01-11 14:30:06 +01:00
Benjamin Pasero
6915fcdf80 Merge branch 'master' into ben/electron 2016-01-07 08:22:08 +01:00
Joao Moreno
ecfc3c659d fixes #1787 2016-01-06 17:24:20 +01:00
Benjamin Pasero
ba234c7100 adopt remote module 2016-01-06 16:14:30 +01:00
Benjamin Pasero
0693d7cb30 adopt menu and menuitem 2016-01-06 16:09:04 +01:00
Benjamin Pasero
6027927d77 adopt browser window and dialog 2016-01-06 16:00:08 +01:00
Benjamin Pasero
eb1f52ce75 adopt crash reporter module 2016-01-06 12:49:52 +01:00
Benjamin Pasero
423dd7afe5 adopt screen module 2016-01-06 12:47:18 +01:00
Benjamin Pasero
3ac82937fe adopt shell module 2016-01-06 12:44:57 +01:00
Benjamin Pasero
c5f13122a5 adopt web-frame 2016-01-06 12:28:59 +01:00
Benjamin Pasero
d22fe64c76 adopt auto-updater module 2016-01-06 12:22:26 +01:00
Benjamin Pasero
f172b925b2 annotate ipc to use 2016-01-06 09:33:24 +01:00
Benjamin Pasero
fef01e389d update hygiene script 2016-01-05 16:32:49 +01:00
Benjamin Pasero
85258cc2d1 update hygiene script to ignore cmd and bat 2015-12-18 09:21:11 +01:00
Alex Dima
afa2f4b4b4 Clean up native node modules before shipping 2015-12-17 17:48:08 +01:00
Alex Dima
2dd593fe8a Improve gulp hygiene filters to cover top level files 2015-12-17 16:04:06 +01:00
Joao Moreno
6e464d9c61 ignore vscode-api-tests extension in build 2015-12-15 15:41:06 +01:00
Joao Moreno
2cfc56d48b Revert "remove extension node modules"
This reverts commit 3b4f6aa38a.
2015-12-15 15:40:28 +01:00
Joao Moreno
3b4f6aa38a remove extension node modules 2015-12-15 14:29:11 +01:00
Benjamin Pasero
3eb71362bf For now filter LICENSES.chromium.html 2015-12-15 13:00:09 +01:00
Johannes Rieken
077ebcf4d3 use vscode-omnisharp v0.3.0 2015-12-11 14:02:32 +01:00
Alex Dima
ac00ecd51b Fix hygiene script 2015-12-10 18:38:31 +01:00
Joao Moreno
2f3c47c423 remove react 2015-12-10 16:48:46 +01:00
Johannes Rieken
7dbc878a32 remove csharp-syntax-only-extension because vscode omnisharp ships that 2015-12-10 15:25:07 +01:00
Mikhail Ivchenko
2a9c2a4bf0 Allow building binary on Linux ARM. 2015-12-07 17:05:23 +04:00
Alex Dima
f502bda8de Try to render keybindings with their physical labels 2015-12-04 13:47:07 +01:00
Johannes Rieken
ad03fd62b3 remove the last csharp-o occurrences and make build happy 2015-12-03 12:17:28 +01:00
Johannes Rieken
ad7b0bd353 download and bundle vscode-omnisharp during build 2015-12-03 12:03:05 +01:00
Joao Moreno
13a1295973 bundle optional dependencies too 2015-12-01 09:06:42 +01:00
Alex Dima
d5dde44ff0 update vscode-textmate to 1.0.8 2015-11-30 16:28:03 +01:00
Joao Moreno
072c788789 improve hygiene messages 2015-11-26 09:57:33 +01:00
Joao Moreno
4727065eb9 prevent plain npm
#22
2015-11-26 09:57:33 +01:00
Joao Moreno
e22834e316 place electron in .build/electron
related to #22
2015-11-26 09:03:36 +01:00
Joao Moreno
a14d8e2131 refactor gulp.hygiene for a pre-commit hook
related to #636
2015-11-25 22:02:13 +01:00
Joao Moreno
d113d85fd4 fix hygiene 2015-11-25 09:47:15 +01:00
Joao Moreno
52c9c102f8 hygiene: emit file at end 2015-11-25 09:29:53 +01:00
Joao Moreno
9b5899187d gulp hygiene 2015-11-24 19:09:38 +01:00
Joao Moreno
ff6c7a2306 validate BUILD_SOURCEVERSION 2015-11-24 11:23:03 +01:00
isidor
28e29d7977 line endings. 2015-11-23 20:28:42 +01:00
isidor
958bdd6ad2 copyrights: use nicer gulp globing
fixes #260
2015-11-23 20:27:54 +01:00
Joao Moreno
59c4f24c48 gulp: beware of es.merge and empty arrays
fixes the internal builds
2015-11-21 14:40:41 +01:00
Joao Moreno
e5e791215f remove npm-install-plugin:* tasks 2015-11-20 15:53:36 +01:00
Alex Dima
046b87e067 Better editor build tasks 2015-11-20 14:54:11 +01:00
Joao Moreno
9731e5287c quieter build 2015-11-20 09:24:36 +01:00
Joao Moreno
a0c6a74e24 quiet build 2015-11-20 09:10:06 +01:00
Alex Dima
d7177d6539 Generate different header in editor build 2015-11-20 00:08:13 +01:00
Joao Moreno
7cd8b82c86 use github token in travis ci builds 2015-11-19 18:18:43 +01:00
Joao Moreno
2a29c3b6b5 ➡ gulpfiles into build
fixes #196
2015-11-19 15:47:33 +01:00
Alex Dima
8883fcd03b Leading whitespace fixes 2015-11-19 12:56:08 +01:00
Chris Dias
6f9e2ae390 Add reference to DefinitelyTyped, updated the TypeScript version, and generate a new thirdpartynotices.txt 2015-11-13 15:48:38 +01:00
Erich Gamma
8f35cc4768 Hello Code 2015-11-13 14:39:38 +01:00