Skip to content

Commit

Permalink
Merge branch 'master' into unused-variables
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomoreno committed Feb 12, 2018
2 parents 14ecae9 + 0f7957c commit dca48c3
Show file tree
Hide file tree
Showing 848 changed files with 15,031 additions and 11,178 deletions.
5 changes: 5 additions & 0 deletions .github/calendar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
'2018-01-30T00:00Z': 'endgame',
'2018-02-07T20:00Z': 'release',
'2018-02-12T20:00Z': 'development',
}
2 changes: 1 addition & 1 deletion .github/classifier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
assignLabel: false
},
color-picker: [],
css-less-sass: [],
css-less-sass: [ aeschli ],
debug: {
assignees: [ weinand ],
assignLabel: false
Expand Down
6 changes: 6 additions & 0 deletions .github/endgame/insiders.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
insidersLabel: 'insiders',
insidersColor: '006b75',
action: 'add',
perform: true
}
4 changes: 3 additions & 1 deletion .github/insiders.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
insidersLabel: 'insiders',
perform: false
insidersColor: '006b75',
action: 'remove',
perform: true
}
5 changes: 3 additions & 2 deletions .github/new_release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
newReleaseLabel: 'new release',
newReleases: ['1.18.1'],
perform: false
newReleaseColor: '006b75',
action: 'remove',
perform: true
}
6 changes: 6 additions & 0 deletions .github/release/new_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
newReleaseLabel: 'new release',
newReleaseColor: '006b75',
action: 'add',
perform: true
}
15 changes: 14 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"version": "0.1.0",
"configurations": [

{
"type": "node",
"request": "launch",
Expand Down Expand Up @@ -160,6 +159,20 @@
"${workspaceFolder}/extensions/git/out/**/*.js"
]
},
{
"type": "extensionHost",
"request": "launch",
"name": "VS Code Markdown Extension Tests",
"runtimeExecutable": "${execPath}",
"args": [
"${workspaceFolder}/extensions/markdown/test-fixtures",
"--extensionDevelopmentPath=${workspaceFolder}/extensions/markdown",
"--extensionTestsPath=${workspaceFolder}/extensions/markdown/out/test"
],
"outFiles": [
"${workspaceFolder}/extensions/markdown/out/**/*.js"
]
},
{
"type": "node",
"request": "launch",
Expand Down
4 changes: 2 additions & 2 deletions build/builtInExtensions.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[
{
"name": "ms-vscode.node-debug",
"version": "1.20.10",
"version": "1.21.1",
"repo": "https://github.com/Microsoft/vscode-node-debug"
},
{
"name": "ms-vscode.node-debug2",
"version": "1.20.3",
"version": "1.21.1",
"repo": "https://github.com/Microsoft/vscode-node-debug2"
}
]
4 changes: 3 additions & 1 deletion build/gulpfile.vscode.js
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,7 @@ function versionStringToNumber(versionStr) {
return parseInt(match[1], 10) * 1e4 + parseInt(match[2], 10) * 1e2 + parseInt(match[3], 10);
}

// This task is only run for the MacOS build
gulp.task('generate-vscode-configuration', () => {
return new Promise((resolve, reject) => {
const buildDir = process.env['AGENT_BUILDDIRECTORY'];
Expand All @@ -574,7 +575,8 @@ gulp.task('generate-vscode-configuration', () => {

const userDataDir = path.join(os.tmpdir(), 'tmpuserdata');
const extensionsDir = path.join(os.tmpdir(), 'tmpextdir');
const appPath = path.join(buildDir, 'VSCode-darwin/Visual\\ Studio\\ Code\\ -\\ Insiders.app/Contents/Resources/app/bin/code');
const appName = process.env.VSCODE_QUALITY === 'insider' ? 'Visual\\ Studio\\ Code\\ -\\ Insiders.app' : 'Visual\\ Studio\\ Code.app';
const appPath = path.join(buildDir, `VSCode-darwin/${appName}/Contents/Resources/app/bin/code`);
const codeProc = cp.exec(`${appPath} --export-default-configuration='${allConfigDetailsPath}' --wait --user-data-dir='${userDataDir}' --extensions-dir='${extensionsDir}'`);

const timer = setTimeout(() => {
Expand Down
4 changes: 4 additions & 0 deletions build/lib/i18n.resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@
"name": "vs/workbench/parts/markers",
"project": "vscode-workbench"
},
{
"name": "vs/workbench/parts/localizations",
"project": "vscode-workbench"
},
{
"name": "vs/workbench/parts/logs",
"project": "vscode-workbench"
Expand Down
62 changes: 16 additions & 46 deletions build/npm/update-all-grammars.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
*--------------------------------------------------------------------------------------------*/

const cp = require('child_process');
const npm = process.platform === 'win32' ? 'npm.cmd' : 'npm';
const fs = require('fs');
const path = require('path');

function updateGrammar(location) {
const npm = process.platform === 'win32' ? 'npm.cmd' : 'npm';
const result = cp.spawnSync(npm, ['run', 'update-grammar'], {
cwd: location,
stdio: 'inherit'
Expand All @@ -17,50 +19,17 @@ function updateGrammar(location) {
}
}

const extensions = [
'bat',
'clojure',
'coffeescript',
'cpp',
'csharp',
'css',
'diff',
'docker',
'fsharp',
'gitsyntax',
'go',
'groovy',
'handlebars',
'hlsl',
'html',
'ini',
'java',
// 'javascript', updated through JavaScript
'json',
'less',
'lua',
'make',
'markdown',
'objective-c',
'perl',
'php',
// 'powershell', grammar not ready yet, @daviwil will ping when ready
'pug',
'python',
'r',
'razor',
'ruby',
'rust',
'scss',
'shaderlab',
'shellscript',
'sql',
'swift',
'typescript',
'vb',
'xml',
'yaml'
];
const allExtensionFolders = fs.readdirSync('extensions');
const extensions = allExtensionFolders.filter(e => {
try {
let packageJSON = JSON.parse(fs.readFileSync(path.join('extensions', e, 'package.json')).toString());
return packageJSON && packageJSON.scripts && packageJSON.scripts['update-grammar'];
} catch (e) {
return false;
}
});

console.log(`Updating ${extensions.length} grammars...`);

extensions.forEach(extension => updateGrammar(`extensions/${extension}`));

Expand All @@ -70,4 +39,5 @@ if (process.platform === 'win32') {
cp.spawn('.\scripts\test-integration.bat', [], { env: process.env, stdio: 'inherit' });
} else {
cp.spawn('/bin/bash', ['./scripts/test-integration.sh'], { env: process.env, stdio: 'inherit' });
}
}

4 changes: 2 additions & 2 deletions build/tfs/common/node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ set -e
# setup nvm
if [[ "$OSTYPE" == "darwin"* ]]; then
export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh
source $(brew --prefix nvm)/nvm.sh --no-use
else
source $NVM_DIR/nvm.sh
source $NVM_DIR/nvm.sh --no-use
fi

# install node
Expand Down
2 changes: 1 addition & 1 deletion build/win32/code.iss
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ begin
Sleep(1000);
end;
Exec(ExpandConstant('{app}\inno_updater.exe'), ExpandConstant('_ "{app}\unins000.dat" ' + BoolToStr(LockFileExists())), '', SW_SHOW, ewWaitUntilTerminated, UpdateResultCode);
Exec(ExpandConstant('{app}\inno_updater.exe'), ExpandConstant('"{app}\{#ExeBasename}.exe" ' + BoolToStr(LockFileExists())), '', SW_SHOW, ewWaitUntilTerminated, UpdateResultCode);
end;
end;
Expand Down
Binary file modified build/win32/inno_updater.exe
Binary file not shown.
8 changes: 4 additions & 4 deletions extensions/clojure/syntaxes/clojure.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"version": "https://github.com/atom/language-clojure/commit/71068a45499cace7a69c45e337860ebbc9b7fccc",
"version": "https://github.com/atom/language-clojure/commit/ecc790326bc8e14220e4d2d72a392a30876c3219",
"scopeName": "source.clojure",
"fileTypes": [
"boot",
Expand Down Expand Up @@ -326,7 +326,7 @@
"include": "#dynamic-variables"
},
{
"match": "([\\w\\.\\-\\_\\:\\+\\=\\>\\<\\!\\?\\*][\\w\\.\\-\\_\\:\\+\\=\\>\\<\\!\\?\\*\\d]+)",
"match": "([a-zA-Z\\.\\-\\_\\+\\=\\>\\<\\!\\?\\*][\\w\\.\\-\\_\\:\\+\\=\\>\\<\\!\\?\\*\\d]*)",
"name": "entity.global.clojure"
},
{
Expand Down Expand Up @@ -404,7 +404,7 @@
"namespace-symbol": {
"patterns": [
{
"match": "([\\w\\.\\-\\_\\:\\+\\=\\>\\<\\!\\?\\*][\\w\\.\\-\\_\\:\\+\\=\\>\\<\\!\\?\\*\\d]+)/",
"match": "([a-zA-Z\\.\\-\\_\\+\\=\\>\\<\\!\\?\\*][\\w\\.\\-\\_\\:\\+\\=\\>\\<\\!\\?\\*\\d]*)/",
"captures": {
"1": {
"name": "meta.symbol.namespace.clojure"
Expand All @@ -416,7 +416,7 @@
"symbol": {
"patterns": [
{
"match": "([\\w\\.\\-\\_\\:\\+\\=\\>\\<\\!\\?\\*][\\w\\.\\-\\_\\:\\+\\=\\>\\<\\!\\?\\*\\d]+)",
"match": "([a-zA-Z\\.\\-\\_\\+\\=\\>\\<\\!\\?\\*][\\w\\.\\-\\_\\:\\+\\=\\>\\<\\!\\?\\*\\d]*)",
"name": "meta.symbol.clojure"
}
]
Expand Down
Loading

0 comments on commit dca48c3

Please sign in to comment.