Merge from vscode 1eb87b0e9ce9886afeaecec22b31abd0d9b7939f (#7282)
* Merge from vscode 1eb87b0e9ce9886afeaecec22b31abd0d9b7939f * fix various icon issues * fix preview features
2
.yarnrc
@@ -1,3 +1,3 @@
|
|||||||
disturl "https://atom.io/download/electron"
|
disturl "https://atom.io/download/electron"
|
||||||
target "4.2.10"
|
target "6.0.9"
|
||||||
runtime "electron"
|
runtime "electron"
|
||||||
|
|||||||
@@ -1,12 +1,8 @@
|
|||||||
pool:
|
pool:
|
||||||
vmImage: 'Ubuntu-16.04'
|
vmImage: 'Ubuntu-16.04'
|
||||||
|
|
||||||
trigger:
|
trigger: none
|
||||||
branches:
|
pr: none
|
||||||
include: ['master']
|
|
||||||
pr:
|
|
||||||
branches:
|
|
||||||
include: ['master']
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: NodeTool@0
|
- task: NodeTool@0
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ var editorResources = [
|
|||||||
'!out-build/vs/base/browser/ui/splitview/**/*',
|
'!out-build/vs/base/browser/ui/splitview/**/*',
|
||||||
'!out-build/vs/base/browser/ui/toolbar/**/*',
|
'!out-build/vs/base/browser/ui/toolbar/**/*',
|
||||||
'!out-build/vs/base/browser/ui/octiconLabel/**/*',
|
'!out-build/vs/base/browser/ui/octiconLabel/**/*',
|
||||||
|
'!out-build/vs/base/browser/ui/codiconLabel/**/*',
|
||||||
'!out-build/vs/workbench/**',
|
'!out-build/vs/workbench/**',
|
||||||
'!**/test/**'
|
'!**/test/**'
|
||||||
];
|
];
|
||||||
@@ -91,6 +92,7 @@ const extractEditorSrcTask = task.define('extract-editor-src', () => {
|
|||||||
],
|
],
|
||||||
redirects: {
|
redirects: {
|
||||||
'vs/base/browser/ui/octiconLabel/octiconLabel': 'vs/base/browser/ui/octiconLabel/octiconLabel.mock',
|
'vs/base/browser/ui/octiconLabel/octiconLabel': 'vs/base/browser/ui/octiconLabel/octiconLabel.mock',
|
||||||
|
'vs/base/browser/ui/codiconLabel/codiconLabel': 'vs/base/browser/ui/codiconLabel/codiconLabel.mock',
|
||||||
},
|
},
|
||||||
shakeLevel: 2, // 0-Files, 1-InnerFile, 2-ClassMembers
|
shakeLevel: 2, // 0-Files, 1-InnerFile, 2-ClassMembers
|
||||||
importIgnorePattern: /(^vs\/css!)|(promise-polyfill\/polyfill)/,
|
importIgnorePattern: /(^vs\/css!)|(promise-polyfill\/polyfill)/,
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ const indentationFilter = [
|
|||||||
|
|
||||||
// except multiple specific folders
|
// except multiple specific folders
|
||||||
'!**/octicons/**',
|
'!**/octicons/**',
|
||||||
|
'!**/codicon/**',
|
||||||
'!**/fixtures/**',
|
'!**/fixtures/**',
|
||||||
'!**/lib/**',
|
'!**/lib/**',
|
||||||
'!extensions/**/out/**',
|
'!extensions/**/out/**',
|
||||||
@@ -382,8 +383,6 @@ function hygiene(some) {
|
|||||||
const sqlTsl = es.through(function (file) { //TODO restore
|
const sqlTsl = es.through(function (file) { //TODO restore
|
||||||
const contents = file.contents.toString('utf8');
|
const contents = file.contents.toString('utf8');
|
||||||
sqlTsLinter.lint(file.relative, contents, tslintSqlConfiguration.results);
|
sqlTsLinter.lint(file.relative, contents, tslintSqlConfiguration.results);
|
||||||
|
|
||||||
this.emit('data', file);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const productJsonFilter = filter('product.json', { restore: true });
|
const productJsonFilter = filter('product.json', { restore: true });
|
||||||
|
|||||||
@@ -79,6 +79,7 @@ const vscodeResources = [
|
|||||||
'out-build/vs/base/node/languagePacks.js',
|
'out-build/vs/base/node/languagePacks.js',
|
||||||
'out-build/vs/base/node/{stdForkStart.js,terminateProcess.sh,cpuUsage.sh,ps.sh}',
|
'out-build/vs/base/node/{stdForkStart.js,terminateProcess.sh,cpuUsage.sh,ps.sh}',
|
||||||
'out-build/vs/base/browser/ui/octiconLabel/octicons/**',
|
'out-build/vs/base/browser/ui/octiconLabel/octicons/**',
|
||||||
|
'out-build/vs/base/browser/ui/codiconLabel/codicon/**',
|
||||||
'out-build/vs/workbench/browser/media/*-theme.css',
|
'out-build/vs/workbench/browser/media/*-theme.css',
|
||||||
'out-build/vs/workbench/contrib/debug/**/*.json',
|
'out-build/vs/workbench/contrib/debug/**/*.json',
|
||||||
'out-build/vs/workbench/contrib/externalTerminal/**/*.scpt',
|
'out-build/vs/workbench/contrib/externalTerminal/**/*.scpt',
|
||||||
@@ -86,7 +87,6 @@ const vscodeResources = [
|
|||||||
'out-build/vs/workbench/contrib/webview/electron-browser/pre/*.js',
|
'out-build/vs/workbench/contrib/webview/electron-browser/pre/*.js',
|
||||||
'out-build/vs/**/markdown.css',
|
'out-build/vs/**/markdown.css',
|
||||||
'out-build/vs/workbench/contrib/tasks/**/*.json',
|
'out-build/vs/workbench/contrib/tasks/**/*.json',
|
||||||
'out-build/vs/workbench/contrib/welcome/walkThrough/**/*.md',
|
|
||||||
'out-build/vs/platform/files/**/*.exe',
|
'out-build/vs/platform/files/**/*.exe',
|
||||||
'out-build/vs/platform/files/**/*.md',
|
'out-build/vs/platform/files/**/*.md',
|
||||||
'out-build/vs/code/electron-browser/workbench/**',
|
'out-build/vs/code/electron-browser/workbench/**',
|
||||||
|
|||||||
@@ -6,150 +6,11 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
const gulp = require('gulp');
|
const gulp = require('gulp');
|
||||||
const path = require('path');
|
|
||||||
const es = require('event-stream');
|
|
||||||
const util = require('./lib/util');
|
|
||||||
const task = require('./lib/task');
|
|
||||||
const common = require('./lib/optimize');
|
|
||||||
const product = require('../product.json');
|
|
||||||
const rename = require('gulp-rename');
|
|
||||||
const filter = require('gulp-filter');
|
|
||||||
const json = require('gulp-json-editor');
|
|
||||||
const _ = require('underscore');
|
|
||||||
const deps = require('./dependencies');
|
|
||||||
const vfs = require('vinyl-fs');
|
|
||||||
const packageJson = require('../package.json');
|
|
||||||
const { compileBuildTask } = require('./gulpfile.compile');
|
|
||||||
|
|
||||||
const REPO_ROOT = path.dirname(__dirname);
|
const noop = () => { return Promise.resolve(); };
|
||||||
const commit = util.getVersion(REPO_ROOT);
|
|
||||||
const BUILD_ROOT = path.dirname(REPO_ROOT);
|
|
||||||
const WEB_FOLDER = path.join(REPO_ROOT, 'remote', 'web');
|
|
||||||
|
|
||||||
const productionDependencies = deps.getProductionDependencies(WEB_FOLDER);
|
gulp.task('minify-vscode-web', noop);
|
||||||
|
gulp.task('vscode-web', noop);
|
||||||
const nodeModules = Object.keys(product.dependencies || {})
|
gulp.task('vscode-web-min', noop);
|
||||||
.concat(_.uniq(productionDependencies.map(d => d.name)));
|
gulp.task('vscode-web-ci', noop);
|
||||||
|
gulp.task('vscode-web-min-ci', noop);
|
||||||
const vscodeWebResources = [
|
|
||||||
|
|
||||||
// Workbench
|
|
||||||
'out-build/vs/{base,platform,editor,workbench}/**/*.{svg,png,html}',
|
|
||||||
'out-build/vs/base/browser/ui/octiconLabel/octicons/**',
|
|
||||||
'out-build/vs/**/markdown.css',
|
|
||||||
|
|
||||||
// Webview
|
|
||||||
'out-build/vs/workbench/contrib/webview/browser/pre/*.js',
|
|
||||||
|
|
||||||
// Extension Worker
|
|
||||||
'out-build/vs/workbench/services/extensions/worker/extensionHostWorkerMain.js',
|
|
||||||
|
|
||||||
// Excludes
|
|
||||||
'!out-build/vs/**/{node,electron-browser,electron-main}/**',
|
|
||||||
'!out-build/vs/editor/standalone/**',
|
|
||||||
'!out-build/vs/workbench/**/*-tb.png',
|
|
||||||
'!**/test/**'
|
|
||||||
];
|
|
||||||
|
|
||||||
const buildfile = require('../src/buildfile');
|
|
||||||
|
|
||||||
const vscodeWebEntryPoints = [
|
|
||||||
buildfile.workbenchWeb,
|
|
||||||
buildfile.serviceWorker,
|
|
||||||
buildfile.workerExtensionHost,
|
|
||||||
buildfile.keyboardMaps,
|
|
||||||
buildfile.base
|
|
||||||
];
|
|
||||||
|
|
||||||
const optimizeVSCodeWebTask = task.define('optimize-vscode-web', task.series(
|
|
||||||
util.rimraf('out-vscode-web'),
|
|
||||||
common.optimizeTask({
|
|
||||||
src: 'out-build',
|
|
||||||
entryPoints: _.flatten(vscodeWebEntryPoints),
|
|
||||||
otherSources: [],
|
|
||||||
resources: vscodeWebResources,
|
|
||||||
loaderConfig: common.loaderConfig(nodeModules),
|
|
||||||
out: 'out-vscode-web',
|
|
||||||
bundleInfo: undefined
|
|
||||||
})
|
|
||||||
));
|
|
||||||
|
|
||||||
const minifyVSCodeWebTask = task.define('minify-vscode-web', task.series(
|
|
||||||
optimizeVSCodeWebTask,
|
|
||||||
util.rimraf('out-vscode-web-min'),
|
|
||||||
common.minifyTask('out-vscode-web', `https://ticino.blob.core.windows.net/sourcemaps/${commit}/core`)
|
|
||||||
));
|
|
||||||
gulp.task(minifyVSCodeWebTask);
|
|
||||||
|
|
||||||
function packageTask(sourceFolderName, destinationFolderName) {
|
|
||||||
const destination = path.join(BUILD_ROOT, destinationFolderName);
|
|
||||||
|
|
||||||
return () => {
|
|
||||||
const src = gulp.src(sourceFolderName + '/**', { base: '.' })
|
|
||||||
.pipe(rename(function (path) { path.dirname = path.dirname.replace(new RegExp('^' + sourceFolderName), 'out'); }))
|
|
||||||
.pipe(filter(['**', '!**/*.js.map']));
|
|
||||||
|
|
||||||
const sources = es.merge(src);
|
|
||||||
|
|
||||||
let version = packageJson.version;
|
|
||||||
const quality = product.quality;
|
|
||||||
|
|
||||||
if (quality && quality !== 'stable') {
|
|
||||||
version += '-' + quality;
|
|
||||||
}
|
|
||||||
|
|
||||||
const name = product.nameShort;
|
|
||||||
const packageJsonStream = gulp.src(['remote/web/package.json'], { base: 'remote/web' })
|
|
||||||
.pipe(json({ name, version }));
|
|
||||||
|
|
||||||
const date = new Date().toISOString();
|
|
||||||
|
|
||||||
const productJsonStream = gulp.src(['product.json'], { base: '.' })
|
|
||||||
.pipe(json({ commit, date }));
|
|
||||||
|
|
||||||
const license = gulp.src(['remote/LICENSE'], { base: 'remote' });
|
|
||||||
|
|
||||||
const dependenciesSrc = _.flatten(productionDependencies.map(d => path.relative(REPO_ROOT, d.path)).map(d => [`${d}/**`, `!${d}/**/{test,tests}/**`, `!${d}/.bin/**`]));
|
|
||||||
|
|
||||||
const deps = gulp.src(dependenciesSrc, { base: 'remote/web', dot: true })
|
|
||||||
.pipe(filter(['**', '!**/package-lock.json']))
|
|
||||||
.pipe(util.cleanNodeModules(path.join(__dirname, '.nativeignore')));
|
|
||||||
|
|
||||||
const favicon = gulp.src('resources/server/favicon.ico', { base: 'resources/server' });
|
|
||||||
|
|
||||||
let all = es.merge(
|
|
||||||
packageJsonStream,
|
|
||||||
productJsonStream,
|
|
||||||
license,
|
|
||||||
sources,
|
|
||||||
deps,
|
|
||||||
favicon
|
|
||||||
);
|
|
||||||
|
|
||||||
let result = all
|
|
||||||
.pipe(util.skipDirectories())
|
|
||||||
.pipe(util.fixWin32DirectoryPermissions());
|
|
||||||
|
|
||||||
return result.pipe(vfs.dest(destination));
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
const dashed = (str) => (str ? `-${str}` : ``);
|
|
||||||
|
|
||||||
['', 'min'].forEach(minified => {
|
|
||||||
const sourceFolderName = `out-vscode-web${dashed(minified)}`;
|
|
||||||
const destinationFolderName = `vscode-web`;
|
|
||||||
|
|
||||||
const vscodeWebTaskCI = task.define(`vscode-web${dashed(minified)}-ci`, task.series(
|
|
||||||
minified ? minifyVSCodeWebTask : optimizeVSCodeWebTask,
|
|
||||||
util.rimraf(path.join(BUILD_ROOT, destinationFolderName)),
|
|
||||||
packageTask(sourceFolderName, destinationFolderName)
|
|
||||||
));
|
|
||||||
gulp.task(vscodeWebTaskCI);
|
|
||||||
|
|
||||||
const vscodeWebTask = task.define(`vscode-web${dashed(minified)}`, task.series(
|
|
||||||
compileBuildTask,
|
|
||||||
vscodeWebTaskCI
|
|
||||||
));
|
|
||||||
gulp.task(vscodeWebTask);
|
|
||||||
});
|
|
||||||
|
|||||||
@@ -1086,7 +1086,7 @@ function prepareI18nPackFiles(externalExtensions, resultingTranslationPaths, pse
|
|||||||
resultingTranslationPaths.push({ id: 'vscode', resourceName: 'main.i18n.json' });
|
resultingTranslationPaths.push({ id: 'vscode', resourceName: 'main.i18n.json' });
|
||||||
this.queue(translatedMainFile);
|
this.queue(translatedMainFile);
|
||||||
for (let extension in extensionsPacks) {
|
for (let extension in extensionsPacks) {
|
||||||
const translatedExtFile = createI18nFile(`.build/extensions/${extension}`, extensionsPacks[extension]);
|
const translatedExtFile = createI18nFile(`extensions/${extension}`, extensionsPacks[extension]);
|
||||||
this.queue(translatedExtFile);
|
this.queue(translatedExtFile);
|
||||||
const externalExtensionId = externalExtensions[extension];
|
const externalExtensionId = externalExtensions[extension];
|
||||||
if (externalExtensionId) {
|
if (externalExtensionId) {
|
||||||
|
|||||||
@@ -106,6 +106,10 @@
|
|||||||
"name": "vs/workbench/contrib/quickopen",
|
"name": "vs/workbench/contrib/quickopen",
|
||||||
"project": "vscode-workbench"
|
"project": "vscode-workbench"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "vs/workbench/contrib/userData",
|
||||||
|
"project": "vscode-workbench"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "vs/workbench/contrib/remote",
|
"name": "vs/workbench/contrib/remote",
|
||||||
"project": "vscode-workbench"
|
"project": "vscode-workbench"
|
||||||
@@ -182,6 +186,10 @@
|
|||||||
"name": "vs/workbench/contrib/outline",
|
"name": "vs/workbench/contrib/outline",
|
||||||
"project": "vscode-workbench"
|
"project": "vscode-workbench"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "vs/workbench/contrib/userDataSync",
|
||||||
|
"project": "vscode-workbench"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "vs/workbench/services/actions",
|
"name": "vs/workbench/services/actions",
|
||||||
"project": "vscode-workbench"
|
"project": "vscode-workbench"
|
||||||
@@ -277,6 +285,10 @@
|
|||||||
{
|
{
|
||||||
"name": "vs/workbench/services/notification",
|
"name": "vs/workbench/services/notification",
|
||||||
"project": "vscode-workbench"
|
"project": "vscode-workbench"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "vs/workbench/services/userData",
|
||||||
|
"project": "vscode-workbench"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1253,7 +1253,7 @@ export function prepareI18nPackFiles(externalExtensions: Map<string>, resultingT
|
|||||||
|
|
||||||
this.queue(translatedMainFile);
|
this.queue(translatedMainFile);
|
||||||
for (let extension in extensionsPacks) {
|
for (let extension in extensionsPacks) {
|
||||||
const translatedExtFile = createI18nFile(`.build/extensions/${extension}`, extensionsPacks[extension]);
|
const translatedExtFile = createI18nFile(`extensions/${extension}`, extensionsPacks[extension]);
|
||||||
this.queue(translatedExtFile);
|
this.queue(translatedExtFile);
|
||||||
|
|
||||||
const externalExtensionId = externalExtensions[extension];
|
const externalExtensionId = externalExtensions[extension];
|
||||||
|
|||||||
@@ -31,4 +31,4 @@ if (!/yarn\.js$|yarnpkg$/.test(process.env['npm_execpath'])) {
|
|||||||
if (err) {
|
if (err) {
|
||||||
console.error('');
|
console.error('');
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,58 +46,6 @@
|
|||||||
"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
|
"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
// Reason: The npm module does not contain a repository field.
|
|
||||||
// waiting for https://github.com/xtermjs/xterm.js/issues/2395
|
|
||||||
"name": "xterm-addon-search",
|
|
||||||
"fullLicenseText": [
|
|
||||||
"Copyright (c) 2017, The xterm.js authors (https://github.com/xtermjs/xterm.js)",
|
|
||||||
"",
|
|
||||||
"Permission is hereby granted, free of charge, to any person obtaining a copy",
|
|
||||||
"of this software and associated documentation files (the \"Software\"), to deal",
|
|
||||||
"in the Software without restriction, including without limitation the rights",
|
|
||||||
"to use, copy, modify, merge, publish, distribute, sublicense, and/or sell",
|
|
||||||
"copies of the Software, and to permit persons to whom the Software is",
|
|
||||||
"furnished to do so, subject to the following conditions:",
|
|
||||||
"",
|
|
||||||
"The above copyright notice and this permission notice shall be included in",
|
|
||||||
"all copies or substantial portions of the Software.",
|
|
||||||
"",
|
|
||||||
"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR",
|
|
||||||
"IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,",
|
|
||||||
"FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE",
|
|
||||||
"AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER",
|
|
||||||
"LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,",
|
|
||||||
"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN",
|
|
||||||
"THE SOFTWARE."
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
// Reason: The npm module does not contain a repository field.
|
|
||||||
// waiting for https://github.com/xtermjs/xterm.js/issues/2395
|
|
||||||
"name": "xterm-addon-web-links",
|
|
||||||
"fullLicenseText": [
|
|
||||||
"Copyright (c) 2017, The xterm.js authors (https://github.com/xtermjs/xterm.js)",
|
|
||||||
"",
|
|
||||||
"Permission is hereby granted, free of charge, to any person obtaining a copy",
|
|
||||||
"of this software and associated documentation files (the \"Software\"), to deal",
|
|
||||||
"in the Software without restriction, including without limitation the rights",
|
|
||||||
"to use, copy, modify, merge, publish, distribute, sublicense, and/or sell",
|
|
||||||
"copies of the Software, and to permit persons to whom the Software is",
|
|
||||||
"furnished to do so, subject to the following conditions:",
|
|
||||||
"",
|
|
||||||
"The above copyright notice and this permission notice shall be included in",
|
|
||||||
"all copies or substantial portions of the Software.",
|
|
||||||
"",
|
|
||||||
"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR",
|
|
||||||
"IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,",
|
|
||||||
"FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE",
|
|
||||||
"AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER",
|
|
||||||
"LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,",
|
|
||||||
"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN",
|
|
||||||
"THE SOFTWARE."
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
// Reason: The license at https://git.coolaj86.com/coolaj86/atob.js/src/branch/master/LICENSE
|
// Reason: The license at https://git.coolaj86.com/coolaj86/atob.js/src/branch/master/LICENSE
|
||||||
// cannot be found by the OSS tool automatically.
|
// cannot be found by the OSS tool automatically.
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"git": {
|
"git": {
|
||||||
"name": "chromium",
|
"name": "chromium",
|
||||||
"repositoryUrl": "https://chromium.googlesource.com/chromium/src",
|
"repositoryUrl": "https://chromium.googlesource.com/chromium/src",
|
||||||
"commitHash": "c6a08e5368de4352903e702cde750b33239a50ab"
|
"commitHash": "91f08db83c2ce8c722ddf0911ead8f7c473bedfa"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"licenseDetail": [
|
"licenseDetail": [
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
"SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
|
"SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
|
||||||
],
|
],
|
||||||
"isOnlyProductionDependency": true,
|
"isOnlyProductionDependency": true,
|
||||||
"version": "69.0.3497.128"
|
"version": "76.0.3809.146"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"component": {
|
"component": {
|
||||||
@@ -48,11 +48,11 @@
|
|||||||
"git": {
|
"git": {
|
||||||
"name": "nodejs",
|
"name": "nodejs",
|
||||||
"repositoryUrl": "https://github.com/nodejs/node",
|
"repositoryUrl": "https://github.com/nodejs/node",
|
||||||
"commitHash": "8c70b2084ce5f76ea1e3b3c4ccdeee4483fe338b"
|
"commitHash": "64219741218aa87e259cf8257596073b8e747f0a"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"isOnlyProductionDependency": true,
|
"isOnlyProductionDependency": true,
|
||||||
"version": "10.11.0"
|
"version": "12.4.0"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"component": {
|
"component": {
|
||||||
@@ -60,12 +60,12 @@
|
|||||||
"git": {
|
"git": {
|
||||||
"name": "electron",
|
"name": "electron",
|
||||||
"repositoryUrl": "https://github.com/electron/electron",
|
"repositoryUrl": "https://github.com/electron/electron",
|
||||||
"commitHash": "4e4c7527c63fcf27dffaeb58bde996b8d859c0ed"
|
"commitHash": "407747b48c47cdeed156a73dde1c47609470c95a"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"isOnlyProductionDependency": true,
|
"isOnlyProductionDependency": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"version": "4.2.10"
|
"version": "6.0.9"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"component": {
|
"component": {
|
||||||
|
|||||||
@@ -54,6 +54,7 @@ export class SettingsDocument {
|
|||||||
completions.push(this.newSimpleCompletionItem('${folderName}', range, localize('folderName', "name of the workspace folder the file is contained in (e.g. myFolder)")));
|
completions.push(this.newSimpleCompletionItem('${folderName}', range, localize('folderName', "name of the workspace folder the file is contained in (e.g. myFolder)")));
|
||||||
completions.push(this.newSimpleCompletionItem('${folderPath}', range, localize('folderPath', "file path of the workspace folder the file is contained in (e.g. /Users/Development/myFolder)")));
|
completions.push(this.newSimpleCompletionItem('${folderPath}', range, localize('folderPath', "file path of the workspace folder the file is contained in (e.g. /Users/Development/myFolder)")));
|
||||||
completions.push(this.newSimpleCompletionItem('${appName}', range, localize('appName', "e.g. VS Code")));
|
completions.push(this.newSimpleCompletionItem('${appName}', range, localize('appName', "e.g. VS Code")));
|
||||||
|
completions.push(this.newSimpleCompletionItem('${remoteName}', range, localize('remoteName', "e.g. SSH")));
|
||||||
completions.push(this.newSimpleCompletionItem('${dirty}', range, localize('dirty', "a dirty indicator if the active editor is dirty")));
|
completions.push(this.newSimpleCompletionItem('${dirty}', range, localize('dirty', "a dirty indicator if the active editor is dirty")));
|
||||||
completions.push(this.newSimpleCompletionItem('${separator}', range, localize('separator', "a conditional separator (' - ') that only shows when surrounded by variables with values")));
|
completions.push(this.newSimpleCompletionItem('${separator}', range, localize('separator', "a conditional separator (' - ') that only shows when surrounded by variables with values")));
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import { Repository, GitResourceGroup } from './repository';
|
|||||||
import { Model } from './model';
|
import { Model } from './model';
|
||||||
import { debounce } from './decorators';
|
import { debounce } from './decorators';
|
||||||
import { filterEvent, dispose, anyEvent, fireEvent } from './util';
|
import { filterEvent, dispose, anyEvent, fireEvent } from './util';
|
||||||
import { GitErrorCodes } from './api/git';
|
import { GitErrorCodes, Status } from './api/git';
|
||||||
|
|
||||||
type Callback = { resolve: (status: boolean) => void, reject: (err: any) => void };
|
type Callback = { resolve: (status: boolean) => void, reject: (err: any) => void };
|
||||||
|
|
||||||
@@ -122,12 +122,18 @@ class GitDecorationProvider implements DecorationProvider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private collectDecorationData(group: GitResourceGroup, bucket: Map<string, Decoration>): void {
|
private collectDecorationData(group: GitResourceGroup, bucket: Map<string, Decoration>): void {
|
||||||
group.resourceStates.forEach(r => {
|
for (const r of group.resourceStates) {
|
||||||
if (r.resourceDecoration) {
|
const decoration = r.resourceDecoration;
|
||||||
|
|
||||||
|
if (decoration) {
|
||||||
// not deleted and has a decoration
|
// not deleted and has a decoration
|
||||||
bucket.set(r.original.toString(), r.resourceDecoration);
|
bucket.set(r.original.toString(), decoration);
|
||||||
|
|
||||||
|
if (r.type === Status.INDEX_RENAMED) {
|
||||||
|
bucket.set(r.resourceUri.toString(), decoration);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private collectSubmoduleDecorationData(bucket: Map<string, Decoration>): void {
|
private collectSubmoduleDecorationData(bucket: Map<string, Decoration>): void {
|
||||||
|
|||||||
BIN
extensions/image-preview/icon.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
18
extensions/image-preview/icon.svg
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Generator: Adobe Illustrator 23.0.6, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||||
|
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||||
|
viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
|
||||||
|
<style type="text/css">
|
||||||
|
.st0{fill-rule:evenodd;clip-rule:evenodd;fill:#C5C5C5;}
|
||||||
|
</style>
|
||||||
|
<g>
|
||||||
|
<path class="st0" d="M2,14.1l-1.1-1L0.9,3l1-1.1l12.1,0l1.1,1l0,10.1L14,14.1H2z M13.9,12.9V3.1H2.1v9.8H13.9z M8.9,12.1V7.9h4.2
|
||||||
|
v4.2H8.9z M11.9,10.9V9.1h-1.8v1.8H11.9z M2.9,12.1v-1.2h4.2v1.2H2.9z M2.9,9.1V7.9h4.2v1.2H2.9z M2.9,7.1V3.9h10.2v3.2H2.9z
|
||||||
|
M11.9,5.9V5.1H4.1v0.8H11.9z"/>
|
||||||
|
<path d="M14,2l1,1v10l-1,1H2l-1-1V3l1-1H14 M2,13h12V3H2V13 M13,4v3H3V4H13 M4,6h8V5H4V6 M13,8v4H9V8H13 M10,11h2V9h-2V11 M7,8v1H3
|
||||||
|
V8H7 M7,11v1H3v-1H7 M14.1,1.8L14.1,1.8H2H1.9L1.9,1.9l-1,1L0.8,2.9V3v10v0.1l0.1,0.1l1,1l0.1,0.1H2h12h0.1l0.1-0.1l1-1l0.1-0.1V13
|
||||||
|
V3V2.9l-0.1-0.1L14.1,1.8L14.1,1.8L14.1,1.8z M2.2,3.2h11.6v9.6H2.2V3.2L2.2,3.2z M13.2,3.8H13H3H2.8V4v3v0.2H3h10h0.2V7V4V3.8
|
||||||
|
L13.2,3.8z M4.2,5.2h7.6v0.6H4.2V5.2L4.2,5.2z M13.2,7.8H13H9H8.8V8v4v0.2H9h4h0.2V12V8V7.8L13.2,7.8z M10.2,9.2h1.6v1.6h-1.6V9.2
|
||||||
|
L10.2,9.2z M7.2,7.8H7H3H2.8V8v1v0.2H3h4h0.2V9V8V7.8L7.2,7.8z M7.2,10.8H7H3H2.8V11v1v0.2H3h4h0.2V12v-1V10.8L7.2,10.8z"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.3 KiB |
@@ -58,7 +58,8 @@
|
|||||||
20
|
20
|
||||||
];
|
];
|
||||||
|
|
||||||
const isMac = getSettings().isMac;
|
const settings = getSettings();
|
||||||
|
const isMac = settings.isMac;
|
||||||
|
|
||||||
const vscode = acquireVsCodeApi();
|
const vscode = acquireVsCodeApi();
|
||||||
|
|
||||||
@@ -71,7 +72,7 @@
|
|||||||
|
|
||||||
// Elements
|
// Elements
|
||||||
const container = /** @type {HTMLElement} */(document.querySelector('body'));
|
const container = /** @type {HTMLElement} */(document.querySelector('body'));
|
||||||
const image = document.querySelector('img');
|
const image = document.createElement('img');
|
||||||
|
|
||||||
function updateScale(newScale) {
|
function updateScale(newScale) {
|
||||||
if (!image || !image.parentElement) {
|
if (!image || !image.parentElement) {
|
||||||
@@ -248,6 +249,9 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
image.src = decodeURI(settings.src);
|
||||||
|
document.body.append(image);
|
||||||
|
|
||||||
window.addEventListener('message', e => {
|
window.addEventListener('message', e => {
|
||||||
switch (e.data.type) {
|
switch (e.data.type) {
|
||||||
case 'setScale':
|
case 'setScale':
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
"description": "%description%",
|
"description": "%description%",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"publisher": "vscode",
|
"publisher": "vscode",
|
||||||
|
"icon": "icon.png",
|
||||||
"enableProposedApi": true,
|
"enableProposedApi": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"aiKey": "AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217",
|
"aiKey": "AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217",
|
||||||
@@ -24,7 +25,8 @@
|
|||||||
"displayName": "%webviewEditors.displayName%",
|
"displayName": "%webviewEditors.displayName%",
|
||||||
"selector": [
|
"selector": [
|
||||||
{
|
{
|
||||||
"filenamePattern": "*.{jpg,jpe,jpeg,png,bmp,gif,ico,tga,tif,tiff,webp}"
|
"filenamePattern": "*.{jpg,jpe,jpeg,png,bmp,gif,ico,tga,tif,tiff,webp}",
|
||||||
|
"mime": "image/*"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -80,7 +80,8 @@ export class Preview extends Disposable {
|
|||||||
|
|
||||||
private getWebiewContents(webviewEditor: vscode.WebviewEditor, resource: vscode.Uri): string {
|
private getWebiewContents(webviewEditor: vscode.WebviewEditor, resource: vscode.Uri): string {
|
||||||
const settings = {
|
const settings = {
|
||||||
isMac: process.platform === 'darwin'
|
isMac: process.platform === 'darwin',
|
||||||
|
src: this.getResourcePath(webviewEditor, resource)
|
||||||
};
|
};
|
||||||
|
|
||||||
return /* html */`<!DOCTYPE html>
|
return /* html */`<!DOCTYPE html>
|
||||||
@@ -95,12 +96,19 @@ export class Preview extends Disposable {
|
|||||||
<meta id="image-preview-settings" data-settings="${escapeAttribute(JSON.stringify(settings))}">
|
<meta id="image-preview-settings" data-settings="${escapeAttribute(JSON.stringify(settings))}">
|
||||||
</head>
|
</head>
|
||||||
<body class="container image scale-to-fit">
|
<body class="container image scale-to-fit">
|
||||||
<img src="${escapeAttribute(webviewEditor.webview.asWebviewUri(resource))}">
|
|
||||||
<script src="${escapeAttribute(this.extensionResource('/media/main.js'))}"></script>
|
<script src="${escapeAttribute(this.extensionResource('/media/main.js'))}"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>`;
|
</html>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private getResourcePath(webviewEditor: vscode.WebviewEditor, resource: vscode.Uri) {
|
||||||
|
if (resource.scheme === 'data') {
|
||||||
|
return encodeURI(resource.toString(true));
|
||||||
|
}
|
||||||
|
|
||||||
|
return encodeURI(webviewEditor.webview.asWebviewUri(resource).toString(true));
|
||||||
|
}
|
||||||
|
|
||||||
private extensionResource(path: string) {
|
private extensionResource(path: string) {
|
||||||
return this.webviewEditor.webview.asWebviewUri(this.extensionRoot.with({
|
return this.webviewEditor.webview.asWebviewUri(this.extensionRoot.with({
|
||||||
path: this.extensionRoot.path + path
|
path: this.extensionRoot.path + path
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*---------------------------------------------------------------------------------------------
|
/*---------------------------------------------------------------------------------------------
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||||
*--------------------------------------------------------------------------------------------*/
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
/// <reference path='../../../../src/vs/vscode.d.ts'/>
|
/// <reference path='../../../../src/vs/vscode.d.ts'/>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
"Once accepted there, we are happy to receive an update request."
|
"Once accepted there, we are happy to receive an update request."
|
||||||
],
|
],
|
||||||
"version": "https://github.com/Microsoft/vscode-JSON.tmLanguage/commit/9bd83f1c252b375e957203f21793316203f61f70",
|
"version": "https://github.com/Microsoft/vscode-JSON.tmLanguage/commit/9bd83f1c252b375e957203f21793316203f61f70",
|
||||||
"name": "JSON (Javascript Next)",
|
"name": "JSON (JavaScript Next)",
|
||||||
"scopeName": "source.json",
|
"scopeName": "source.json",
|
||||||
"patterns": [
|
"patterns": [
|
||||||
{
|
{
|
||||||
@@ -210,4 +210,4 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,50 +0,0 @@
|
|||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
import * as vscode from 'vscode';
|
|
||||||
import { Disposable } from './util/dispose';
|
|
||||||
|
|
||||||
|
|
||||||
export class DocumentIndex extends Disposable {
|
|
||||||
private readonly _uriMap = new Map();
|
|
||||||
|
|
||||||
constructor() {
|
|
||||||
super();
|
|
||||||
|
|
||||||
for (let doc of vscode.workspace.textDocuments) {
|
|
||||||
this._registerDoc(doc);
|
|
||||||
}
|
|
||||||
|
|
||||||
this._register(
|
|
||||||
vscode.workspace.onDidOpenTextDocument((doc) => {
|
|
||||||
this._registerDoc(doc);
|
|
||||||
})
|
|
||||||
);
|
|
||||||
this._register(
|
|
||||||
vscode.workspace.onDidCloseTextDocument((doc) => {
|
|
||||||
this._unregisterDoc(doc.uri);
|
|
||||||
})
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
getByUri(uri: vscode.Uri): vscode.TextDocument | undefined {
|
|
||||||
return this._uriMap.get(uri.toString());
|
|
||||||
}
|
|
||||||
|
|
||||||
private _registerDoc(doc: vscode.TextDocument) {
|
|
||||||
const uri = doc.uri.toString();
|
|
||||||
if (this._uriMap.has(uri)) {
|
|
||||||
throw new Error(`The document ${uri} is already registered.`);
|
|
||||||
}
|
|
||||||
this._uriMap.set(uri, doc);
|
|
||||||
}
|
|
||||||
|
|
||||||
private _unregisterDoc(uri: vscode.Uri) {
|
|
||||||
if (!this._uriMap.has(uri.toString())) {
|
|
||||||
throw new Error(`The document ${uri.toString()} is not registered.`);
|
|
||||||
}
|
|
||||||
this._uriMap.delete(uri.toString());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -10,7 +10,6 @@ import { Lazy, lazy } from '../util/lazy';
|
|||||||
import MDDocumentSymbolProvider from './documentSymbolProvider';
|
import MDDocumentSymbolProvider from './documentSymbolProvider';
|
||||||
import { SkinnyTextDocument, SkinnyTextLine } from '../tableOfContentsProvider';
|
import { SkinnyTextDocument, SkinnyTextLine } from '../tableOfContentsProvider';
|
||||||
import { flatten } from '../util/arrays';
|
import { flatten } from '../util/arrays';
|
||||||
import { DocumentIndex } from '../docIndex';
|
|
||||||
|
|
||||||
export interface WorkspaceMarkdownDocumentProvider {
|
export interface WorkspaceMarkdownDocumentProvider {
|
||||||
getAllMarkdownDocuments(): Thenable<Iterable<SkinnyTextDocument>>;
|
getAllMarkdownDocuments(): Thenable<Iterable<SkinnyTextDocument>>;
|
||||||
@@ -27,7 +26,6 @@ class VSCodeWorkspaceMarkdownDocumentProvider extends Disposable implements Work
|
|||||||
private readonly _onDidDeleteMarkdownDocumentEmitter = this._register(new vscode.EventEmitter<vscode.Uri>());
|
private readonly _onDidDeleteMarkdownDocumentEmitter = this._register(new vscode.EventEmitter<vscode.Uri>());
|
||||||
|
|
||||||
private _watcher: vscode.FileSystemWatcher | undefined;
|
private _watcher: vscode.FileSystemWatcher | undefined;
|
||||||
private _docIndex: DocumentIndex = this._register(new DocumentIndex());
|
|
||||||
|
|
||||||
async getAllMarkdownDocuments() {
|
async getAllMarkdownDocuments() {
|
||||||
const resources = await vscode.workspace.findFiles('**/*.md', '**/node_modules/**');
|
const resources = await vscode.workspace.findFiles('**/*.md', '**/node_modules/**');
|
||||||
@@ -83,9 +81,9 @@ class VSCodeWorkspaceMarkdownDocumentProvider extends Disposable implements Work
|
|||||||
}
|
}
|
||||||
|
|
||||||
private async getMarkdownDocument(resource: vscode.Uri): Promise<SkinnyTextDocument | undefined> {
|
private async getMarkdownDocument(resource: vscode.Uri): Promise<SkinnyTextDocument | undefined> {
|
||||||
const existingDocument = this._docIndex.getByUri(resource);
|
const matchingDocuments = vscode.workspace.textDocuments.filter((doc) => doc.uri.toString() === resource.toString());
|
||||||
if (existingDocument) {
|
if (matchingDocuments.length !== 0) {
|
||||||
return existingDocument;
|
return matchingDocuments[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
const bytes = await vscode.workspace.fs.readFile(resource);
|
const bytes = await vscode.workspace.fs.readFile(resource);
|
||||||
|
|||||||
@@ -941,7 +941,7 @@
|
|||||||
"figures": "^2.0.0",
|
"figures": "^2.0.0",
|
||||||
"find-remove": "1.2.1",
|
"find-remove": "1.2.1",
|
||||||
"fs-extra": "^3.0.1",
|
"fs-extra": "^3.0.1",
|
||||||
"kerberos": "^1.1.2",
|
"kerberos": "^1.1.3",
|
||||||
"request": "^2.88.0",
|
"request": "^2.88.0",
|
||||||
"request-promise": "^4.2.2",
|
"request-promise": "^4.2.2",
|
||||||
"service-downloader": "github:anthonydresser/service-downloader#0.1.6",
|
"service-downloader": "github:anthonydresser/service-downloader#0.1.6",
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ bcrypt-pbkdf@^1.0.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
tweetnacl "^0.14.3"
|
tweetnacl "^0.14.3"
|
||||||
|
|
||||||
bindings@^1.3.0:
|
bindings@^1.5.0:
|
||||||
version "1.5.0"
|
version "1.5.0"
|
||||||
resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df"
|
resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df"
|
||||||
integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==
|
integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==
|
||||||
@@ -147,6 +147,13 @@ bl@^1.0.0:
|
|||||||
readable-stream "^2.3.5"
|
readable-stream "^2.3.5"
|
||||||
safe-buffer "^5.1.1"
|
safe-buffer "^5.1.1"
|
||||||
|
|
||||||
|
bl@^3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/bl/-/bl-3.0.0.tgz#3611ec00579fd18561754360b21e9f784500ff88"
|
||||||
|
integrity sha512-EUAyP5UHU5hxF8BPT0LKW8gjYLhq1DQIcneOX/pL/m2Alo+OYDQAJlHq+yseMP50Os2nHXOSic6Ss3vSQeyf4A==
|
||||||
|
dependencies:
|
||||||
|
readable-stream "^3.0.1"
|
||||||
|
|
||||||
bluebird@^3.5.0:
|
bluebird@^3.5.0:
|
||||||
version "3.5.3"
|
version "3.5.3"
|
||||||
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.3.tgz#7d01c6f9616c9a51ab0f8c549a79dfe6ec33efa7"
|
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.3.tgz#7d01c6f9616c9a51ab0f8c549a79dfe6ec33efa7"
|
||||||
@@ -206,7 +213,7 @@ caseless@~0.12.0:
|
|||||||
resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"
|
resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"
|
||||||
integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=
|
integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=
|
||||||
|
|
||||||
chownr@^1.0.1:
|
chownr@^1.1.1:
|
||||||
version "1.1.2"
|
version "1.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.2.tgz#a18f1e0b269c8a6a5d3c86eb298beb14c3dd7bf6"
|
resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.2.tgz#a18f1e0b269c8a6a5d3c86eb298beb14c3dd7bf6"
|
||||||
integrity sha512-GkfeAQh+QNy3wquu9oIZr6SS5x7wGdSgNQvD10X3r+AZr1Oys22HW8kAmDMvNg2+Dm0TeGaEuO8gFwdBXxwO8A==
|
integrity sha512-GkfeAQh+QNy3wquu9oIZr6SS5x7wGdSgNQvD10X3r+AZr1Oys22HW8kAmDMvNg2+Dm0TeGaEuO8gFwdBXxwO8A==
|
||||||
@@ -372,7 +379,7 @@ ecc-jsbn@~0.1.1:
|
|||||||
jsbn "~0.1.0"
|
jsbn "~0.1.0"
|
||||||
safer-buffer "^2.1.0"
|
safer-buffer "^2.1.0"
|
||||||
|
|
||||||
end-of-stream@^1.0.0, end-of-stream@^1.1.0:
|
end-of-stream@^1.0.0, end-of-stream@^1.1.0, end-of-stream@^1.4.1:
|
||||||
version "1.4.1"
|
version "1.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.1.tgz#ed29634d19baba463b6ce6b80a37213eab71ec43"
|
resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.1.tgz#ed29634d19baba463b6ce6b80a37213eab71ec43"
|
||||||
integrity sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==
|
integrity sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==
|
||||||
@@ -738,14 +745,14 @@ jsprim@^1.2.2:
|
|||||||
json-schema "0.2.3"
|
json-schema "0.2.3"
|
||||||
verror "1.10.0"
|
verror "1.10.0"
|
||||||
|
|
||||||
kerberos@^1.1.2:
|
kerberos@^1.1.3:
|
||||||
version "1.1.2"
|
version "1.1.3"
|
||||||
resolved "https://registry.yarnpkg.com/kerberos/-/kerberos-1.1.2.tgz#f213dae89c57e729786664fcf99117221e18e257"
|
resolved "https://registry.yarnpkg.com/kerberos/-/kerberos-1.1.3.tgz#74c5620d09289e4a53beddc2d9a93eccfebd964d"
|
||||||
integrity sha512-N+CeRTi0f6ov85Fx+w/epVPTBy6bovoWjUCD6pvXoHWBWeqI6+ViV2psdoSc4CRtiZfJkhvYO3b47I4hJfOu7Q==
|
integrity sha512-R6LdXnkSTALLnrKaByYdIc+eRNhDf+ezA83BeqHiCcKhKE9R6m1PBD579YuX9KANPAakhWHEu/u6H7ZQBc/+Wg==
|
||||||
dependencies:
|
dependencies:
|
||||||
bindings "^1.3.0"
|
bindings "^1.5.0"
|
||||||
nan "^2.10.0"
|
nan "^2.14.0"
|
||||||
prebuild-install "^5.0.0"
|
prebuild-install "^5.3.0"
|
||||||
|
|
||||||
lodash@^4.13.1:
|
lodash@^4.13.1:
|
||||||
version "4.17.11"
|
version "4.17.11"
|
||||||
@@ -810,7 +817,7 @@ ms@^2.1.1:
|
|||||||
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a"
|
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a"
|
||||||
integrity sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==
|
integrity sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==
|
||||||
|
|
||||||
nan@^2.10.0:
|
nan@^2.14.0:
|
||||||
version "2.14.0"
|
version "2.14.0"
|
||||||
resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c"
|
resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c"
|
||||||
integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==
|
integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==
|
||||||
@@ -864,11 +871,6 @@ once@^1.3.0, once@^1.3.1, once@^1.4.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
wrappy "1"
|
wrappy "1"
|
||||||
|
|
||||||
os-homedir@^1.0.1:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3"
|
|
||||||
integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M=
|
|
||||||
|
|
||||||
os-tmpdir@~1.0.2:
|
os-tmpdir@~1.0.2:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
|
resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
|
||||||
@@ -911,10 +913,10 @@ pinkie@^2.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870"
|
resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870"
|
||||||
integrity sha1-clVrgM+g1IqXToDnckjoDtT3+HA=
|
integrity sha1-clVrgM+g1IqXToDnckjoDtT3+HA=
|
||||||
|
|
||||||
prebuild-install@^5.0.0:
|
prebuild-install@^5.3.0:
|
||||||
version "5.3.0"
|
version "5.3.2"
|
||||||
resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-5.3.0.tgz#58b4d8344e03590990931ee088dd5401b03004c8"
|
resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-5.3.2.tgz#6392e9541ac0b879ef0f22b3d65037417eb2035e"
|
||||||
integrity sha512-aaLVANlj4HgZweKttFNUVNRxDukytuIuxeK2boIMHjagNJCiVKWFsKF4tCE3ql3GbrD2tExPQ7/pwtEJcHNZeg==
|
integrity sha512-INDfXzTPnhT+WYQemqnAXlP7SvfiFMopMozSgXCZ+RDLb279gKfIuLk4o7PgEawLp3WrMgIYGBpkxpraROHsSA==
|
||||||
dependencies:
|
dependencies:
|
||||||
detect-libc "^1.0.3"
|
detect-libc "^1.0.3"
|
||||||
expand-template "^2.0.3"
|
expand-template "^2.0.3"
|
||||||
@@ -925,11 +927,10 @@ prebuild-install@^5.0.0:
|
|||||||
node-abi "^2.7.0"
|
node-abi "^2.7.0"
|
||||||
noop-logger "^0.1.1"
|
noop-logger "^0.1.1"
|
||||||
npmlog "^4.0.1"
|
npmlog "^4.0.1"
|
||||||
os-homedir "^1.0.1"
|
pump "^3.0.0"
|
||||||
pump "^2.0.1"
|
|
||||||
rc "^1.2.7"
|
rc "^1.2.7"
|
||||||
simple-get "^2.7.0"
|
simple-get "^3.0.3"
|
||||||
tar-fs "^1.13.0"
|
tar-fs "^2.0.0"
|
||||||
tunnel-agent "^0.6.0"
|
tunnel-agent "^0.6.0"
|
||||||
which-pm-runs "^1.0.0"
|
which-pm-runs "^1.0.0"
|
||||||
|
|
||||||
@@ -943,18 +944,10 @@ psl@^1.1.24, psl@^1.1.28:
|
|||||||
resolved "https://registry.yarnpkg.com/psl/-/psl-1.1.31.tgz#e9aa86d0101b5b105cbe93ac6b784cd547276184"
|
resolved "https://registry.yarnpkg.com/psl/-/psl-1.1.31.tgz#e9aa86d0101b5b105cbe93ac6b784cd547276184"
|
||||||
integrity sha512-/6pt4+C+T+wZUieKR620OpzN/LlnNKuWjy1iFLQ/UG35JqHlR/89MP1d96dUfkf6Dne3TuLQzOYEYshJ+Hx8mw==
|
integrity sha512-/6pt4+C+T+wZUieKR620OpzN/LlnNKuWjy1iFLQ/UG35JqHlR/89MP1d96dUfkf6Dne3TuLQzOYEYshJ+Hx8mw==
|
||||||
|
|
||||||
pump@^1.0.0:
|
pump@^3.0.0:
|
||||||
version "1.0.3"
|
version "3.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/pump/-/pump-1.0.3.tgz#5dfe8311c33bbf6fc18261f9f34702c47c08a954"
|
resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64"
|
||||||
integrity sha512-8k0JupWme55+9tCVE+FS5ULT3K6AbgqrGa58lTT49RpyfwwcGedHqaC5LlQNdEAumn/wFsu6aPwkuPMioy8kqw==
|
integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==
|
||||||
dependencies:
|
|
||||||
end-of-stream "^1.1.0"
|
|
||||||
once "^1.3.1"
|
|
||||||
|
|
||||||
pump@^2.0.1:
|
|
||||||
version "2.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/pump/-/pump-2.0.1.tgz#12399add6e4cf7526d973cbc8b5ce2e2908b3909"
|
|
||||||
integrity sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==
|
|
||||||
dependencies:
|
dependencies:
|
||||||
end-of-stream "^1.1.0"
|
end-of-stream "^1.1.0"
|
||||||
once "^1.3.1"
|
once "^1.3.1"
|
||||||
@@ -984,7 +977,7 @@ rc@^1.2.7:
|
|||||||
minimist "^1.2.0"
|
minimist "^1.2.0"
|
||||||
strip-json-comments "~2.0.1"
|
strip-json-comments "~2.0.1"
|
||||||
|
|
||||||
"readable-stream@2 || 3":
|
"readable-stream@2 || 3", readable-stream@^3.0.1, readable-stream@^3.1.1:
|
||||||
version "3.4.0"
|
version "3.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.4.0.tgz#a51c26754658e0a3c21dbf59163bd45ba6f447fc"
|
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.4.0.tgz#a51c26754658e0a3c21dbf59163bd45ba6f447fc"
|
||||||
integrity sha512-jItXPLmrSR8jmTRmRWJXCnGJsfy85mB3Wd/uINMXA65yrnFo0cPClFIUWzo2najVNSl+mx7/4W8ttlLWJe99pQ==
|
integrity sha512-jItXPLmrSR8jmTRmRWJXCnGJsfy85mB3Wd/uINMXA65yrnFo0cPClFIUWzo2najVNSl+mx7/4W8ttlLWJe99pQ==
|
||||||
@@ -1119,10 +1112,10 @@ simple-concat@^1.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/simple-concat/-/simple-concat-1.0.0.tgz#7344cbb8b6e26fb27d66b2fc86f9f6d5997521c6"
|
resolved "https://registry.yarnpkg.com/simple-concat/-/simple-concat-1.0.0.tgz#7344cbb8b6e26fb27d66b2fc86f9f6d5997521c6"
|
||||||
integrity sha1-c0TLuLbib7J9ZrL8hvn21Zl1IcY=
|
integrity sha1-c0TLuLbib7J9ZrL8hvn21Zl1IcY=
|
||||||
|
|
||||||
simple-get@^2.7.0:
|
simple-get@^3.0.3:
|
||||||
version "2.8.1"
|
version "3.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/simple-get/-/simple-get-2.8.1.tgz#0e22e91d4575d87620620bc91308d57a77f44b5d"
|
resolved "https://registry.yarnpkg.com/simple-get/-/simple-get-3.0.3.tgz#924528ac3f9d7718ce5e9ec1b1a69c0be4d62efa"
|
||||||
integrity sha512-lSSHRSw3mQNUGPAYRqo7xy9dhKmxFXIjLjp4KHpf99GEH2VH7C3AM+Qfx6du6jhfUi6Vm7XnbEVEf7Wb6N8jRw==
|
integrity sha512-Wvre/Jq5vgoz31Z9stYWPLn0PqRqmBDpFSdypAnHu5AvRVCYPRYGnvryNLiXu8GOBNDH82J2FRHUGMjjHUpXFw==
|
||||||
dependencies:
|
dependencies:
|
||||||
decompress-response "^3.3.0"
|
decompress-response "^3.3.0"
|
||||||
once "^1.3.1"
|
once "^1.3.1"
|
||||||
@@ -1212,17 +1205,17 @@ strip-json-comments@~2.0.1:
|
|||||||
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
|
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
|
||||||
integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo=
|
integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo=
|
||||||
|
|
||||||
tar-fs@^1.13.0:
|
tar-fs@^2.0.0:
|
||||||
version "1.16.3"
|
version "2.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-1.16.3.tgz#966a628841da2c4010406a82167cbd5e0c72d509"
|
resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-2.0.0.tgz#677700fc0c8b337a78bee3623fdc235f21d7afad"
|
||||||
integrity sha512-NvCeXpYx7OsmOh8zIOP/ebG55zZmxLE0etfWRbWok+q2Qo8x/vOR/IJT1taADXPe+jsiu9axDb3X4B+iIgNlKw==
|
integrity sha512-vaY0obB6Om/fso8a8vakQBzwholQ7v5+uy+tF3Ozvxv1KNezmVQAiWtcNmMHFSFPqL3dJA8ha6gdtFbfX9mcxA==
|
||||||
dependencies:
|
dependencies:
|
||||||
chownr "^1.0.1"
|
chownr "^1.1.1"
|
||||||
mkdirp "^0.5.1"
|
mkdirp "^0.5.1"
|
||||||
pump "^1.0.0"
|
pump "^3.0.0"
|
||||||
tar-stream "^1.1.2"
|
tar-stream "^2.0.0"
|
||||||
|
|
||||||
tar-stream@^1.1.2, tar-stream@^1.5.2:
|
tar-stream@^1.5.2:
|
||||||
version "1.6.2"
|
version "1.6.2"
|
||||||
resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-1.6.2.tgz#8ea55dab37972253d9a9af90fdcd559ae435c555"
|
resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-1.6.2.tgz#8ea55dab37972253d9a9af90fdcd559ae435c555"
|
||||||
integrity sha512-rzS0heiNf8Xn7/mpdSVVSMAWAoy9bfb1WOTYC78Z0UQKeKa/CWS8FOq0lKGNa8DWKAn9gxjCvMLYc5PGXYlK2A==
|
integrity sha512-rzS0heiNf8Xn7/mpdSVVSMAWAoy9bfb1WOTYC78Z0UQKeKa/CWS8FOq0lKGNa8DWKAn9gxjCvMLYc5PGXYlK2A==
|
||||||
@@ -1235,6 +1228,17 @@ tar-stream@^1.1.2, tar-stream@^1.5.2:
|
|||||||
to-buffer "^1.1.1"
|
to-buffer "^1.1.1"
|
||||||
xtend "^4.0.0"
|
xtend "^4.0.0"
|
||||||
|
|
||||||
|
tar-stream@^2.0.0:
|
||||||
|
version "2.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.1.0.tgz#d1aaa3661f05b38b5acc9b7020efdca5179a2cc3"
|
||||||
|
integrity sha512-+DAn4Nb4+gz6WZigRzKEZl1QuJVOLtAwwF+WUxy1fJ6X63CaGaUAxJRD2KEn1OMfcbCjySTYpNC6WmfQoIEOdw==
|
||||||
|
dependencies:
|
||||||
|
bl "^3.0.0"
|
||||||
|
end-of-stream "^1.4.1"
|
||||||
|
fs-constants "^1.0.0"
|
||||||
|
inherits "^2.0.3"
|
||||||
|
readable-stream "^3.1.1"
|
||||||
|
|
||||||
through2@^3.0.1:
|
through2@^3.0.1:
|
||||||
version "3.0.1"
|
version "3.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/through2/-/through2-3.0.1.tgz#39276e713c3302edf9e388dd9c812dd3b825bd5a"
|
resolved "https://registry.yarnpkg.com/through2/-/through2-3.0.1.tgz#39276e713c3302edf9e388dd9c812dd3b825bd5a"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"description": "Dependencies shared by all extensions",
|
"description": "Dependencies shared by all extensions",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"typescript": "3.6.3-insiders.20190909"
|
"typescript": "3.6.3"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "node ./postinstall"
|
"postinstall": "node ./postinstall"
|
||||||
|
|||||||
@@ -170,6 +170,73 @@
|
|||||||
"settings": {
|
"settings": {
|
||||||
"foreground": "#d7ba7d"
|
"foreground": "#d7ba7d"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
// Scopes that are potentially C++ only follow
|
||||||
|
{
|
||||||
|
"scope": "source.cpp entity.name",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#C8C8C8"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "source.cpp keyword.control.directive",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#9B9B9B"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "source.cpp entity.name.function.operator",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#B4B4B4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "source.cpp entity.name.function.preprocessor",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#C586C0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "source.cpp entity.name.label",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#C8C8C8"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "source.cpp entity.name.operator.custom-literal",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#DADADA"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "source.cpp entity.name.operator.custom-literal.number",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#B5CEA8"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "source.cpp entity.name.operator.custom-literal.string",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#ce9178"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "source.cpp variable.other.enummember",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#B8D7A3"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "source.cpp variable.other.property",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#DADADA"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "source.cpp variable.parameter",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#7F7F7F"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -170,7 +170,55 @@
|
|||||||
"settings": {
|
"settings": {
|
||||||
"foreground": "#ff0000"
|
"foreground": "#ff0000"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
// Scopes that are potentially C++ only follow
|
||||||
|
{
|
||||||
|
"scope": "source.cpp entity.name",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#000000"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "source.cpp keyword.control.directive",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#808080"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "source.cpp entity.name.function.operator",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#008080"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "source.cpp entity.name.function.preprocessor",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#AF00DB"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "source.cpp entity.name.label",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#000000"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "source.cpp entity.name.operator.custom-literal.string",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#0451a5"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "source.cpp variable.other.enummember",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#2F4F4F"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "source.cpp variable.parameter",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#808080"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# yarn lockfile v1
|
# yarn lockfile v1
|
||||||
|
|
||||||
|
|
||||||
typescript@3.6.3-insiders.20190909:
|
typescript@3.6.3:
|
||||||
version "3.6.3-insiders.20190909"
|
version "3.6.3"
|
||||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.6.3-insiders.20190909.tgz#65b6b2d809288311a970819849e1964ac73e1fda"
|
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.6.3.tgz#fea942fabb20f7e1ca7164ff626f1a9f3f70b4da"
|
||||||
integrity sha512-Lr7ONd8Y05EhrI+zKoI5tgvO5dhuRDrK5pyOLG33DeMln8zb8w7Yc8AoIEyqvxB5Btj9F7zBmXBXJdTI3SuX0Q==
|
integrity sha512-N7bceJL1CtRQ2RiG0AQME13ksR7DiuQh/QehubYcghzv20tnh+MQnQIuJddTmsbqYj+dztchykemz0zFzlvdQw==
|
||||||
|
|||||||
@@ -46,6 +46,7 @@
|
|||||||
"ansi_up": "^3.0.0",
|
"ansi_up": "^3.0.0",
|
||||||
"applicationinsights": "1.0.8",
|
"applicationinsights": "1.0.8",
|
||||||
"chart.js": "^2.6.0",
|
"chart.js": "^2.6.0",
|
||||||
|
"chokidar": "3.1.0",
|
||||||
"graceful-fs": "4.1.11",
|
"graceful-fs": "4.1.11",
|
||||||
"html-query-plan": "git://github.com/anthonydresser/html-query-plan.git#2.6",
|
"html-query-plan": "git://github.com/anthonydresser/html-query-plan.git#2.6",
|
||||||
"http-proxy-agent": "^2.1.0",
|
"http-proxy-agent": "^2.1.0",
|
||||||
@@ -71,7 +72,6 @@
|
|||||||
"sudo-prompt": "9.0.0",
|
"sudo-prompt": "9.0.0",
|
||||||
"underscore": "^1.8.2",
|
"underscore": "^1.8.2",
|
||||||
"v8-inspect-profiler": "^0.0.20",
|
"v8-inspect-profiler": "^0.0.20",
|
||||||
"vscode-chokidar": "2.1.7",
|
|
||||||
"vscode-minimist": "^1.2.1",
|
"vscode-minimist": "^1.2.1",
|
||||||
"vscode-proxy-agent": "0.4.0",
|
"vscode-proxy-agent": "0.4.0",
|
||||||
"vscode-ripgrep": "^1.5.7",
|
"vscode-ripgrep": "^1.5.7",
|
||||||
@@ -128,7 +128,7 @@
|
|||||||
"gulp-rename": "^1.2.0",
|
"gulp-rename": "^1.2.0",
|
||||||
"gulp-replace": "^0.5.4",
|
"gulp-replace": "^0.5.4",
|
||||||
"gulp-shell": "^0.6.5",
|
"gulp-shell": "^0.6.5",
|
||||||
"gulp-tsb": "4.0.2",
|
"gulp-tsb": "4.0.4",
|
||||||
"gulp-tslint": "^8.1.3",
|
"gulp-tslint": "^8.1.3",
|
||||||
"gulp-untar": "^0.0.7",
|
"gulp-untar": "^0.0.7",
|
||||||
"gulp-vinyl-zip": "^2.1.2",
|
"gulp-vinyl-zip": "^2.1.2",
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
disturl "http://nodejs.org/dist"
|
disturl "http://nodejs.org/dist"
|
||||||
target "10.11.0"
|
target "12.4.0"
|
||||||
runtime "node"
|
runtime "node"
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@microsoft/applicationinsights-web": "^2.1.1",
|
"@microsoft/applicationinsights-web": "^2.1.1",
|
||||||
"applicationinsights": "1.0.8",
|
"applicationinsights": "1.0.8",
|
||||||
|
"chokidar": "3.1.0",
|
||||||
"cookie": "^0.4.0",
|
"cookie": "^0.4.0",
|
||||||
"graceful-fs": "4.1.11",
|
"graceful-fs": "4.1.11",
|
||||||
"http-proxy-agent": "^2.1.0",
|
"http-proxy-agent": "^2.1.0",
|
||||||
@@ -16,7 +17,6 @@
|
|||||||
"onigasm-umd": "^2.2.2",
|
"onigasm-umd": "^2.2.2",
|
||||||
"semver-umd": "^5.5.3",
|
"semver-umd": "^5.5.3",
|
||||||
"spdlog": "^0.9.0",
|
"spdlog": "^0.9.0",
|
||||||
"vscode-chokidar": "2.1.7",
|
|
||||||
"vscode-minimist": "^1.2.1",
|
"vscode-minimist": "^1.2.1",
|
||||||
"vscode-proxy-agent": "0.4.0",
|
"vscode-proxy-agent": "0.4.0",
|
||||||
"vscode-ripgrep": "^1.5.7",
|
"vscode-ripgrep": "^1.5.7",
|
||||||
|
|||||||
816
remote/yarn.lock
@@ -79,6 +79,14 @@ agent-base@~4.2.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
es6-promisify "^5.0.0"
|
es6-promisify "^5.0.0"
|
||||||
|
|
||||||
|
anymatch@^3.1.0:
|
||||||
|
version "3.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.0.tgz#e609350e50a9313b472789b2f14ef35808ee14d6"
|
||||||
|
integrity sha512-Ozz7l4ixzI7Oxj2+cw+p0tVUt27BpaJ+1+q1TCeANWxHpvyn2+Un+YamBdfKu0uh8xLodGhoa1v7595NhKDAuA==
|
||||||
|
dependencies:
|
||||||
|
normalize-path "^3.0.0"
|
||||||
|
picomatch "^2.0.4"
|
||||||
|
|
||||||
applicationinsights@1.0.8:
|
applicationinsights@1.0.8:
|
||||||
version "1.0.8"
|
version "1.0.8"
|
||||||
resolved "https://registry.yarnpkg.com/applicationinsights/-/applicationinsights-1.0.8.tgz#db6e3d983cf9f9405fe1ee5ba30ac6e1914537b5"
|
resolved "https://registry.yarnpkg.com/applicationinsights/-/applicationinsights-1.0.8.tgz#db6e3d983cf9f9405fe1ee5ba30ac6e1914537b5"
|
||||||
@@ -88,58 +96,10 @@ applicationinsights@1.0.8:
|
|||||||
diagnostic-channel-publishers "0.2.1"
|
diagnostic-channel-publishers "0.2.1"
|
||||||
zone.js "0.7.6"
|
zone.js "0.7.6"
|
||||||
|
|
||||||
arr-diff@^4.0.0:
|
binary-extensions@^2.0.0:
|
||||||
version "4.0.0"
|
version "2.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520"
|
resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.0.0.tgz#23c0df14f6a88077f5f986c0d167ec03c3d5537c"
|
||||||
integrity sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=
|
integrity sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow==
|
||||||
|
|
||||||
arr-flatten@^1.1.0:
|
|
||||||
version "1.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1"
|
|
||||||
integrity sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==
|
|
||||||
|
|
||||||
arr-union@^3.1.0:
|
|
||||||
version "3.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4"
|
|
||||||
integrity sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=
|
|
||||||
|
|
||||||
array-unique@^0.3.2:
|
|
||||||
version "0.3.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428"
|
|
||||||
integrity sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=
|
|
||||||
|
|
||||||
assign-symbols@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367"
|
|
||||||
integrity sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=
|
|
||||||
|
|
||||||
async-each@^1.0.1:
|
|
||||||
version "1.0.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf"
|
|
||||||
integrity sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==
|
|
||||||
|
|
||||||
atob@^2.1.1:
|
|
||||||
version "2.1.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9"
|
|
||||||
integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==
|
|
||||||
|
|
||||||
base@^0.11.1:
|
|
||||||
version "0.11.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f"
|
|
||||||
integrity sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==
|
|
||||||
dependencies:
|
|
||||||
cache-base "^1.0.1"
|
|
||||||
class-utils "^0.3.5"
|
|
||||||
component-emitter "^1.2.1"
|
|
||||||
define-property "^1.0.0"
|
|
||||||
isobject "^3.0.1"
|
|
||||||
mixin-deep "^1.2.0"
|
|
||||||
pascalcase "^0.1.1"
|
|
||||||
|
|
||||||
binary-extensions@^1.0.0:
|
|
||||||
version "1.10.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.10.0.tgz#9aeb9a6c5e88638aad171e167f5900abe24835d0"
|
|
||||||
integrity sha1-muuabF6IY4qtFx4Wf1kAq+JINdA=
|
|
||||||
|
|
||||||
bindings@^1.5.0:
|
bindings@^1.5.0:
|
||||||
version "1.5.0"
|
version "1.5.0"
|
||||||
@@ -148,80 +108,38 @@ bindings@^1.5.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
file-uri-to-path "1.0.0"
|
file-uri-to-path "1.0.0"
|
||||||
|
|
||||||
braces@^2.3.1, braces@^2.3.2:
|
braces@^3.0.2:
|
||||||
version "2.3.2"
|
version "3.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729"
|
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107"
|
||||||
integrity sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==
|
integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==
|
||||||
dependencies:
|
dependencies:
|
||||||
arr-flatten "^1.1.0"
|
fill-range "^7.0.1"
|
||||||
array-unique "^0.3.2"
|
|
||||||
extend-shallow "^2.0.1"
|
|
||||||
fill-range "^4.0.0"
|
|
||||||
isobject "^3.0.1"
|
|
||||||
repeat-element "^1.1.2"
|
|
||||||
snapdragon "^0.8.1"
|
|
||||||
snapdragon-node "^2.0.1"
|
|
||||||
split-string "^3.0.2"
|
|
||||||
to-regex "^3.0.1"
|
|
||||||
|
|
||||||
buffer-crc32@~0.2.3:
|
buffer-crc32@~0.2.3:
|
||||||
version "0.2.13"
|
version "0.2.13"
|
||||||
resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242"
|
resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242"
|
||||||
integrity sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=
|
integrity sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=
|
||||||
|
|
||||||
cache-base@^1.0.1:
|
chokidar@3.1.0:
|
||||||
version "1.0.1"
|
version "3.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2"
|
resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.1.0.tgz#ff23d077682a90eadd209bfa76eb10ed6d359668"
|
||||||
integrity sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==
|
integrity sha512-6vZfo+7W0EOlbSo0nhVKMz4yyssrwiPbBZ8wj1lq8/+l4ZhGZ2U4Md7PspvmijXp1a26D3B7AHEBmIB7aVtaOQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
collection-visit "^1.0.0"
|
anymatch "^3.1.0"
|
||||||
component-emitter "^1.2.1"
|
braces "^3.0.2"
|
||||||
get-value "^2.0.6"
|
glob-parent "^5.0.0"
|
||||||
has-value "^1.0.0"
|
is-binary-path "^2.1.0"
|
||||||
isobject "^3.0.1"
|
is-glob "^4.0.1"
|
||||||
set-value "^2.0.0"
|
normalize-path "^3.0.0"
|
||||||
to-object-path "^0.3.0"
|
readdirp "^3.1.1"
|
||||||
union-value "^1.0.0"
|
optionalDependencies:
|
||||||
unset-value "^1.0.0"
|
fsevents "^2.0.6"
|
||||||
|
|
||||||
class-utils@^0.3.5:
|
|
||||||
version "0.3.6"
|
|
||||||
resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463"
|
|
||||||
integrity sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==
|
|
||||||
dependencies:
|
|
||||||
arr-union "^3.1.0"
|
|
||||||
define-property "^0.2.5"
|
|
||||||
isobject "^3.0.0"
|
|
||||||
static-extend "^0.1.1"
|
|
||||||
|
|
||||||
collection-visit@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0"
|
|
||||||
integrity sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=
|
|
||||||
dependencies:
|
|
||||||
map-visit "^1.0.0"
|
|
||||||
object-visit "^1.0.0"
|
|
||||||
|
|
||||||
component-emitter@^1.2.1:
|
|
||||||
version "1.3.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0"
|
|
||||||
integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==
|
|
||||||
|
|
||||||
cookie@^0.4.0:
|
cookie@^0.4.0:
|
||||||
version "0.4.0"
|
version "0.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.0.tgz#beb437e7022b3b6d49019d088665303ebe9c14ba"
|
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.0.tgz#beb437e7022b3b6d49019d088665303ebe9c14ba"
|
||||||
integrity sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==
|
integrity sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==
|
||||||
|
|
||||||
copy-descriptor@^0.1.0:
|
|
||||||
version "0.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d"
|
|
||||||
integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=
|
|
||||||
|
|
||||||
core-util-is@~1.0.0:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
|
|
||||||
integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=
|
|
||||||
|
|
||||||
debug@3.1.0, debug@^3.1.0:
|
debug@3.1.0, debug@^3.1.0:
|
||||||
version "3.1.0"
|
version "3.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
|
resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
|
||||||
@@ -229,40 +147,6 @@ debug@3.1.0, debug@^3.1.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
ms "2.0.0"
|
ms "2.0.0"
|
||||||
|
|
||||||
debug@^2.2.0, debug@^2.3.3:
|
|
||||||
version "2.6.9"
|
|
||||||
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
|
|
||||||
integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==
|
|
||||||
dependencies:
|
|
||||||
ms "2.0.0"
|
|
||||||
|
|
||||||
decode-uri-component@^0.2.0:
|
|
||||||
version "0.2.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545"
|
|
||||||
integrity sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=
|
|
||||||
|
|
||||||
define-property@^0.2.5:
|
|
||||||
version "0.2.5"
|
|
||||||
resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116"
|
|
||||||
integrity sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=
|
|
||||||
dependencies:
|
|
||||||
is-descriptor "^0.1.0"
|
|
||||||
|
|
||||||
define-property@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/define-property/-/define-property-1.0.0.tgz#769ebaaf3f4a63aad3af9e8d304c9bbe79bfb0e6"
|
|
||||||
integrity sha1-dp66rz9KY6rTr56NMEybvnm/sOY=
|
|
||||||
dependencies:
|
|
||||||
is-descriptor "^1.0.0"
|
|
||||||
|
|
||||||
define-property@^2.0.2:
|
|
||||||
version "2.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/define-property/-/define-property-2.0.2.tgz#d459689e8d654ba77e02a817f8710d702cb16e9d"
|
|
||||||
integrity sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==
|
|
||||||
dependencies:
|
|
||||||
is-descriptor "^1.0.2"
|
|
||||||
isobject "^3.0.1"
|
|
||||||
|
|
||||||
diagnostic-channel-publishers@0.2.1:
|
diagnostic-channel-publishers@0.2.1:
|
||||||
version "0.2.1"
|
version "0.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/diagnostic-channel-publishers/-/diagnostic-channel-publishers-0.2.1.tgz#8e2d607a8b6d79fe880b548bc58cc6beb288c4f3"
|
resolved "https://registry.yarnpkg.com/diagnostic-channel-publishers/-/diagnostic-channel-publishers-0.2.1.tgz#8e2d607a8b6d79fe880b548bc58cc6beb288c4f3"
|
||||||
@@ -287,48 +171,6 @@ es6-promisify@^5.0.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
es6-promise "^4.0.3"
|
es6-promise "^4.0.3"
|
||||||
|
|
||||||
expand-brackets@^2.1.4:
|
|
||||||
version "2.1.4"
|
|
||||||
resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622"
|
|
||||||
integrity sha1-t3c14xXOMPa27/D4OwQVGiJEliI=
|
|
||||||
dependencies:
|
|
||||||
debug "^2.3.3"
|
|
||||||
define-property "^0.2.5"
|
|
||||||
extend-shallow "^2.0.1"
|
|
||||||
posix-character-classes "^0.1.0"
|
|
||||||
regex-not "^1.0.0"
|
|
||||||
snapdragon "^0.8.1"
|
|
||||||
to-regex "^3.0.1"
|
|
||||||
|
|
||||||
extend-shallow@^2.0.1:
|
|
||||||
version "2.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f"
|
|
||||||
integrity sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=
|
|
||||||
dependencies:
|
|
||||||
is-extendable "^0.1.0"
|
|
||||||
|
|
||||||
extend-shallow@^3.0.0, extend-shallow@^3.0.2:
|
|
||||||
version "3.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-3.0.2.tgz#26a71aaf073b39fb2127172746131c2704028db8"
|
|
||||||
integrity sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=
|
|
||||||
dependencies:
|
|
||||||
assign-symbols "^1.0.0"
|
|
||||||
is-extendable "^1.0.1"
|
|
||||||
|
|
||||||
extglob@^2.0.4:
|
|
||||||
version "2.0.4"
|
|
||||||
resolved "https://registry.yarnpkg.com/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543"
|
|
||||||
integrity sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==
|
|
||||||
dependencies:
|
|
||||||
array-unique "^0.3.2"
|
|
||||||
define-property "^1.0.0"
|
|
||||||
expand-brackets "^2.1.4"
|
|
||||||
extend-shallow "^2.0.1"
|
|
||||||
fragment-cache "^0.2.1"
|
|
||||||
regex-not "^1.0.0"
|
|
||||||
snapdragon "^0.8.1"
|
|
||||||
to-regex "^3.0.1"
|
|
||||||
|
|
||||||
fd-slicer@~1.1.0:
|
fd-slicer@~1.1.0:
|
||||||
version "1.1.0"
|
version "1.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.1.0.tgz#25c7c89cb1f9077f8891bbe61d8f390eae256f1e"
|
resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.1.0.tgz#25c7c89cb1f9077f8891bbe61d8f390eae256f1e"
|
||||||
@@ -341,27 +183,12 @@ file-uri-to-path@1.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd"
|
resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd"
|
||||||
integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==
|
integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==
|
||||||
|
|
||||||
fill-range@^4.0.0:
|
fill-range@^7.0.1:
|
||||||
version "4.0.0"
|
version "7.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7"
|
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40"
|
||||||
integrity sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=
|
integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
extend-shallow "^2.0.1"
|
to-regex-range "^5.0.1"
|
||||||
is-number "^3.0.0"
|
|
||||||
repeat-string "^1.6.1"
|
|
||||||
to-regex-range "^2.1.0"
|
|
||||||
|
|
||||||
for-in@^1.0.2:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80"
|
|
||||||
integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=
|
|
||||||
|
|
||||||
fragment-cache@^0.2.1:
|
|
||||||
version "0.2.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19"
|
|
||||||
integrity sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=
|
|
||||||
dependencies:
|
|
||||||
map-cache "^0.2.2"
|
|
||||||
|
|
||||||
fs-extra@^7.0.0:
|
fs-extra@^7.0.0:
|
||||||
version "7.0.1"
|
version "7.0.1"
|
||||||
@@ -372,60 +199,28 @@ fs-extra@^7.0.0:
|
|||||||
jsonfile "^4.0.0"
|
jsonfile "^4.0.0"
|
||||||
universalify "^0.1.0"
|
universalify "^0.1.0"
|
||||||
|
|
||||||
get-value@^2.0.3, get-value@^2.0.6:
|
fsevents@^2.0.6:
|
||||||
version "2.0.6"
|
version "2.0.7"
|
||||||
resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28"
|
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.0.7.tgz#382c9b443c6cbac4c57187cdda23aa3bf1ccfc2a"
|
||||||
integrity sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=
|
integrity sha512-a7YT0SV3RB+DjYcppwVDLtn13UQnmg0SWZS7ezZD0UjnLwXmy8Zm21GMVGLaFGimIqcvyMQaOJBrop8MyOp1kQ==
|
||||||
|
|
||||||
glob-parent@^3.1.0:
|
glob-parent@^5.0.0:
|
||||||
version "3.1.0"
|
version "5.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae"
|
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.0.0.tgz#1dc99f0f39b006d3e92c2c284068382f0c20e954"
|
||||||
integrity sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=
|
integrity sha512-Z2RwiujPRGluePM6j699ktJYxmPpJKCfpGA13jz2hmFZC7gKetzrWvg5KN3+OsIFmydGyZ1AVwERCq1w/ZZwRg==
|
||||||
dependencies:
|
dependencies:
|
||||||
is-glob "^3.1.0"
|
is-glob "^4.0.1"
|
||||||
path-dirname "^1.0.0"
|
|
||||||
|
|
||||||
graceful-fs@4.1.11, graceful-fs@^4.1.2:
|
graceful-fs@4.1.11, graceful-fs@^4.1.2:
|
||||||
version "4.1.11"
|
version "4.1.11"
|
||||||
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"
|
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"
|
||||||
integrity sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=
|
integrity sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=
|
||||||
|
|
||||||
graceful-fs@^4.1.11, graceful-fs@^4.1.6:
|
graceful-fs@^4.1.6:
|
||||||
version "4.2.0"
|
version "4.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.0.tgz#8d8fdc73977cb04104721cb53666c1ca64cd328b"
|
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.0.tgz#8d8fdc73977cb04104721cb53666c1ca64cd328b"
|
||||||
integrity sha512-jpSvDPV4Cq/bgtpndIWbI5hmYxhQGHPC4d4cqBPb4DLniCfhJokdXhwhaDuLBGLQdvvRum/UiX6ECVIPvDXqdg==
|
integrity sha512-jpSvDPV4Cq/bgtpndIWbI5hmYxhQGHPC4d4cqBPb4DLniCfhJokdXhwhaDuLBGLQdvvRum/UiX6ECVIPvDXqdg==
|
||||||
|
|
||||||
has-value@^0.3.1:
|
|
||||||
version "0.3.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f"
|
|
||||||
integrity sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=
|
|
||||||
dependencies:
|
|
||||||
get-value "^2.0.3"
|
|
||||||
has-values "^0.1.4"
|
|
||||||
isobject "^2.0.0"
|
|
||||||
|
|
||||||
has-value@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/has-value/-/has-value-1.0.0.tgz#18b281da585b1c5c51def24c930ed29a0be6b177"
|
|
||||||
integrity sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=
|
|
||||||
dependencies:
|
|
||||||
get-value "^2.0.6"
|
|
||||||
has-values "^1.0.0"
|
|
||||||
isobject "^3.0.0"
|
|
||||||
|
|
||||||
has-values@^0.1.4:
|
|
||||||
version "0.1.4"
|
|
||||||
resolved "https://registry.yarnpkg.com/has-values/-/has-values-0.1.4.tgz#6d61de95d91dfca9b9a02089ad384bff8f62b771"
|
|
||||||
integrity sha1-bWHeldkd/Km5oCCJrThL/49it3E=
|
|
||||||
|
|
||||||
has-values@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/has-values/-/has-values-1.0.0.tgz#95b0b63fec2146619a6fe57fe75628d5a39efe4f"
|
|
||||||
integrity sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=
|
|
||||||
dependencies:
|
|
||||||
is-number "^3.0.0"
|
|
||||||
kind-of "^4.0.0"
|
|
||||||
|
|
||||||
http-proxy-agent@2.1.0, http-proxy-agent@^2.1.0:
|
http-proxy-agent@2.1.0, http-proxy-agent@^2.1.0:
|
||||||
version "2.1.0"
|
version "2.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz#e4821beef5b2142a2026bd73926fe537631c5405"
|
resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz#e4821beef5b2142a2026bd73926fe537631c5405"
|
||||||
@@ -449,150 +244,34 @@ iconv-lite@0.5.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
safer-buffer ">= 2.1.2 < 3"
|
safer-buffer ">= 2.1.2 < 3"
|
||||||
|
|
||||||
inherits@^2.0.3:
|
|
||||||
version "2.0.4"
|
|
||||||
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
|
|
||||||
integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
|
|
||||||
|
|
||||||
inherits@~2.0.3:
|
|
||||||
version "2.0.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
|
|
||||||
integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=
|
|
||||||
|
|
||||||
ip@^1.1.5:
|
ip@^1.1.5:
|
||||||
version "1.1.5"
|
version "1.1.5"
|
||||||
resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a"
|
resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a"
|
||||||
integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=
|
integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=
|
||||||
|
|
||||||
is-accessor-descriptor@^0.1.6:
|
is-binary-path@^2.1.0:
|
||||||
version "0.1.6"
|
version "2.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6"
|
resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09"
|
||||||
integrity sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=
|
integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==
|
||||||
dependencies:
|
dependencies:
|
||||||
kind-of "^3.0.2"
|
binary-extensions "^2.0.0"
|
||||||
|
|
||||||
is-accessor-descriptor@^1.0.0:
|
is-extglob@^2.1.1:
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz#169c2f6d3df1f992618072365c9b0ea1f6878656"
|
|
||||||
integrity sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==
|
|
||||||
dependencies:
|
|
||||||
kind-of "^6.0.0"
|
|
||||||
|
|
||||||
is-binary-path@^1.0.0:
|
|
||||||
version "1.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898"
|
|
||||||
integrity sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=
|
|
||||||
dependencies:
|
|
||||||
binary-extensions "^1.0.0"
|
|
||||||
|
|
||||||
is-buffer@^1.0.2:
|
|
||||||
version "1.1.4"
|
|
||||||
resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.4.tgz#cfc86ccd5dc5a52fa80489111c6920c457e2d98b"
|
|
||||||
integrity sha1-z8hszV3FpS+oBIkRHGkgxFfi2Ys=
|
|
||||||
|
|
||||||
is-buffer@^1.1.5:
|
|
||||||
version "1.1.6"
|
|
||||||
resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be"
|
|
||||||
integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==
|
|
||||||
|
|
||||||
is-data-descriptor@^0.1.4:
|
|
||||||
version "0.1.4"
|
|
||||||
resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56"
|
|
||||||
integrity sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=
|
|
||||||
dependencies:
|
|
||||||
kind-of "^3.0.2"
|
|
||||||
|
|
||||||
is-data-descriptor@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz#d84876321d0e7add03990406abbbbd36ba9268c7"
|
|
||||||
integrity sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==
|
|
||||||
dependencies:
|
|
||||||
kind-of "^6.0.0"
|
|
||||||
|
|
||||||
is-descriptor@^0.1.0:
|
|
||||||
version "0.1.6"
|
|
||||||
resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca"
|
|
||||||
integrity sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==
|
|
||||||
dependencies:
|
|
||||||
is-accessor-descriptor "^0.1.6"
|
|
||||||
is-data-descriptor "^0.1.4"
|
|
||||||
kind-of "^5.0.0"
|
|
||||||
|
|
||||||
is-descriptor@^1.0.0, is-descriptor@^1.0.2:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-1.0.2.tgz#3b159746a66604b04f8c81524ba365c5f14d86ec"
|
|
||||||
integrity sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==
|
|
||||||
dependencies:
|
|
||||||
is-accessor-descriptor "^1.0.0"
|
|
||||||
is-data-descriptor "^1.0.0"
|
|
||||||
kind-of "^6.0.2"
|
|
||||||
|
|
||||||
is-extendable@^0.1.0, is-extendable@^0.1.1:
|
|
||||||
version "0.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89"
|
|
||||||
integrity sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=
|
|
||||||
|
|
||||||
is-extendable@^1.0.1:
|
|
||||||
version "1.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-1.0.1.tgz#a7470f9e426733d81bd81e1155264e3a3507cab4"
|
|
||||||
integrity sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==
|
|
||||||
dependencies:
|
|
||||||
is-plain-object "^2.0.4"
|
|
||||||
|
|
||||||
is-extglob@^2.1.0, is-extglob@^2.1.1:
|
|
||||||
version "2.1.1"
|
version "2.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
|
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
|
||||||
integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=
|
integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=
|
||||||
|
|
||||||
is-glob@^3.1.0:
|
is-glob@^4.0.1:
|
||||||
version "3.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a"
|
|
||||||
integrity sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=
|
|
||||||
dependencies:
|
|
||||||
is-extglob "^2.1.0"
|
|
||||||
|
|
||||||
is-glob@^4.0.0:
|
|
||||||
version "4.0.1"
|
version "4.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc"
|
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc"
|
||||||
integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==
|
integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==
|
||||||
dependencies:
|
dependencies:
|
||||||
is-extglob "^2.1.1"
|
is-extglob "^2.1.1"
|
||||||
|
|
||||||
is-number@^3.0.0:
|
is-number@^7.0.0:
|
||||||
version "3.0.0"
|
version "7.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195"
|
resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b"
|
||||||
integrity sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=
|
integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==
|
||||||
dependencies:
|
|
||||||
kind-of "^3.0.2"
|
|
||||||
|
|
||||||
is-plain-object@^2.0.3, is-plain-object@^2.0.4:
|
|
||||||
version "2.0.4"
|
|
||||||
resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677"
|
|
||||||
integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==
|
|
||||||
dependencies:
|
|
||||||
isobject "^3.0.1"
|
|
||||||
|
|
||||||
is-windows@^1.0.2:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d"
|
|
||||||
integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==
|
|
||||||
|
|
||||||
isarray@1.0.0, isarray@~1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
|
|
||||||
integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=
|
|
||||||
|
|
||||||
isobject@^2.0.0:
|
|
||||||
version "2.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89"
|
|
||||||
integrity sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=
|
|
||||||
dependencies:
|
|
||||||
isarray "1.0.0"
|
|
||||||
|
|
||||||
isobject@^3.0.0, isobject@^3.0.1:
|
|
||||||
version "3.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df"
|
|
||||||
integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8=
|
|
||||||
|
|
||||||
jschardet@1.6.0:
|
jschardet@1.6.0:
|
||||||
version "1.6.0"
|
version "1.6.0"
|
||||||
@@ -606,37 +285,6 @@ jsonfile@^4.0.0:
|
|||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
graceful-fs "^4.1.6"
|
graceful-fs "^4.1.6"
|
||||||
|
|
||||||
kind-of@^3.0.2:
|
|
||||||
version "3.0.4"
|
|
||||||
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.0.4.tgz#7b8ecf18a4e17f8269d73b501c9f232c96887a74"
|
|
||||||
integrity sha1-e47PGKThf4Jp1ztQHJ8jLJaIenQ=
|
|
||||||
dependencies:
|
|
||||||
is-buffer "^1.0.2"
|
|
||||||
|
|
||||||
kind-of@^3.0.3, kind-of@^3.2.0:
|
|
||||||
version "3.2.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64"
|
|
||||||
integrity sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=
|
|
||||||
dependencies:
|
|
||||||
is-buffer "^1.1.5"
|
|
||||||
|
|
||||||
kind-of@^4.0.0:
|
|
||||||
version "4.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57"
|
|
||||||
integrity sha1-IIE989cSkosgc3hpGkUGb65y3Vc=
|
|
||||||
dependencies:
|
|
||||||
is-buffer "^1.1.5"
|
|
||||||
|
|
||||||
kind-of@^5.0.0:
|
|
||||||
version "5.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d"
|
|
||||||
integrity sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==
|
|
||||||
|
|
||||||
kind-of@^6.0.0, kind-of@^6.0.2:
|
|
||||||
version "6.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.2.tgz#01146b36a6218e64e58f3a8d66de5d7fc6f6d051"
|
|
||||||
integrity sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==
|
|
||||||
|
|
||||||
lodash.isinteger@^4.0.4:
|
lodash.isinteger@^4.0.4:
|
||||||
version "4.0.4"
|
version "4.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz#619c0af3d03f8b04c31f5882840b77b11cd68343"
|
resolved "https://registry.yarnpkg.com/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz#619c0af3d03f8b04c31f5882840b77b11cd68343"
|
||||||
@@ -647,50 +295,11 @@ lodash.isundefined@^3.0.1:
|
|||||||
resolved "https://registry.yarnpkg.com/lodash.isundefined/-/lodash.isundefined-3.0.1.tgz#23ef3d9535565203a66cefd5b830f848911afb48"
|
resolved "https://registry.yarnpkg.com/lodash.isundefined/-/lodash.isundefined-3.0.1.tgz#23ef3d9535565203a66cefd5b830f848911afb48"
|
||||||
integrity sha1-I+89lTVWUgOmbO/VuDD4SJEa+0g=
|
integrity sha1-I+89lTVWUgOmbO/VuDD4SJEa+0g=
|
||||||
|
|
||||||
map-cache@^0.2.2:
|
|
||||||
version "0.2.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf"
|
|
||||||
integrity sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=
|
|
||||||
|
|
||||||
map-visit@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f"
|
|
||||||
integrity sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=
|
|
||||||
dependencies:
|
|
||||||
object-visit "^1.0.0"
|
|
||||||
|
|
||||||
micromatch@^3.1.10:
|
|
||||||
version "3.1.10"
|
|
||||||
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23"
|
|
||||||
integrity sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==
|
|
||||||
dependencies:
|
|
||||||
arr-diff "^4.0.0"
|
|
||||||
array-unique "^0.3.2"
|
|
||||||
braces "^2.3.1"
|
|
||||||
define-property "^2.0.2"
|
|
||||||
extend-shallow "^3.0.2"
|
|
||||||
extglob "^2.0.4"
|
|
||||||
fragment-cache "^0.2.1"
|
|
||||||
kind-of "^6.0.2"
|
|
||||||
nanomatch "^1.2.9"
|
|
||||||
object.pick "^1.3.0"
|
|
||||||
regex-not "^1.0.0"
|
|
||||||
snapdragon "^0.8.1"
|
|
||||||
to-regex "^3.0.2"
|
|
||||||
|
|
||||||
minimist@0.0.8:
|
minimist@0.0.8:
|
||||||
version "0.0.8"
|
version "0.0.8"
|
||||||
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
|
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
|
||||||
integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=
|
integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=
|
||||||
|
|
||||||
mixin-deep@^1.2.0:
|
|
||||||
version "1.3.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566"
|
|
||||||
integrity sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==
|
|
||||||
dependencies:
|
|
||||||
for-in "^1.0.2"
|
|
||||||
is-extendable "^1.0.1"
|
|
||||||
|
|
||||||
mkdirp@^0.5.1:
|
mkdirp@^0.5.1:
|
||||||
version "0.5.1"
|
version "0.5.1"
|
||||||
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"
|
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"
|
||||||
@@ -708,23 +317,6 @@ nan@^2.0.0, nan@^2.13.2, nan@^2.14.0:
|
|||||||
resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c"
|
resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c"
|
||||||
integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==
|
integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==
|
||||||
|
|
||||||
nanomatch@^1.2.9:
|
|
||||||
version "1.2.13"
|
|
||||||
resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119"
|
|
||||||
integrity sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==
|
|
||||||
dependencies:
|
|
||||||
arr-diff "^4.0.0"
|
|
||||||
array-unique "^0.3.2"
|
|
||||||
define-property "^2.0.2"
|
|
||||||
extend-shallow "^3.0.2"
|
|
||||||
fragment-cache "^0.2.1"
|
|
||||||
is-windows "^1.0.2"
|
|
||||||
kind-of "^6.0.2"
|
|
||||||
object.pick "^1.3.0"
|
|
||||||
regex-not "^1.0.0"
|
|
||||||
snapdragon "^0.8.1"
|
|
||||||
to-regex "^3.0.1"
|
|
||||||
|
|
||||||
native-watchdog@1.2.0:
|
native-watchdog@1.2.0:
|
||||||
version "1.2.0"
|
version "1.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/native-watchdog/-/native-watchdog-1.2.0.tgz#9c710093ac6e9e60b19517cb1ef4ac9d7c997395"
|
resolved "https://registry.yarnpkg.com/native-watchdog/-/native-watchdog-1.2.0.tgz#9c710093ac6e9e60b19517cb1ef4ac9d7c997395"
|
||||||
@@ -757,29 +349,6 @@ nsfw@1.2.5:
|
|||||||
lodash.isundefined "^3.0.1"
|
lodash.isundefined "^3.0.1"
|
||||||
nan "^2.0.0"
|
nan "^2.0.0"
|
||||||
|
|
||||||
object-copy@^0.1.0:
|
|
||||||
version "0.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c"
|
|
||||||
integrity sha1-fn2Fi3gb18mRpBupde04EnVOmYw=
|
|
||||||
dependencies:
|
|
||||||
copy-descriptor "^0.1.0"
|
|
||||||
define-property "^0.2.5"
|
|
||||||
kind-of "^3.0.3"
|
|
||||||
|
|
||||||
object-visit@^1.0.0:
|
|
||||||
version "1.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb"
|
|
||||||
integrity sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=
|
|
||||||
dependencies:
|
|
||||||
isobject "^3.0.0"
|
|
||||||
|
|
||||||
object.pick@^1.3.0:
|
|
||||||
version "1.3.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747"
|
|
||||||
integrity sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=
|
|
||||||
dependencies:
|
|
||||||
isobject "^3.0.1"
|
|
||||||
|
|
||||||
onigasm-umd@^2.2.2:
|
onigasm-umd@^2.2.2:
|
||||||
version "2.2.2"
|
version "2.2.2"
|
||||||
resolved "https://registry.yarnpkg.com/onigasm-umd/-/onigasm-umd-2.2.2.tgz#b989d762df61f899a3052ac794a50bd93fe20257"
|
resolved "https://registry.yarnpkg.com/onigasm-umd/-/onigasm-umd-2.2.2.tgz#b989d762df61f899a3052ac794a50bd93fe20257"
|
||||||
@@ -792,21 +361,6 @@ oniguruma@^7.2.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
nan "^2.14.0"
|
nan "^2.14.0"
|
||||||
|
|
||||||
pascalcase@^0.1.1:
|
|
||||||
version "0.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14"
|
|
||||||
integrity sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=
|
|
||||||
|
|
||||||
path-dirname@^1.0.0:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0"
|
|
||||||
integrity sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=
|
|
||||||
|
|
||||||
path-is-absolute@^1.0.0:
|
|
||||||
version "1.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
|
|
||||||
integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18=
|
|
||||||
|
|
||||||
pend@~1.2.0:
|
pend@~1.2.0:
|
||||||
version "1.2.0"
|
version "1.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50"
|
resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50"
|
||||||
@@ -817,77 +371,12 @@ picomatch@^2.0.4:
|
|||||||
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.0.7.tgz#514169d8c7cd0bdbeecc8a2609e34a7163de69f6"
|
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.0.7.tgz#514169d8c7cd0bdbeecc8a2609e34a7163de69f6"
|
||||||
integrity sha512-oLHIdio3tZ0qH76NybpeneBhYVj0QFTfXEFTc/B3zKQspYfYYkWYgFsmzo+4kvId/bQRcNkVeguI3y+CD22BtA==
|
integrity sha512-oLHIdio3tZ0qH76NybpeneBhYVj0QFTfXEFTc/B3zKQspYfYYkWYgFsmzo+4kvId/bQRcNkVeguI3y+CD22BtA==
|
||||||
|
|
||||||
posix-character-classes@^0.1.0:
|
readdirp@^3.1.1:
|
||||||
version "0.1.1"
|
version "3.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab"
|
resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.1.2.tgz#fa85d2d14d4289920e4671dead96431add2ee78a"
|
||||||
integrity sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=
|
integrity sha512-8rhl0xs2cxfVsqzreYCvs8EwBfn/DhVdqtoLmw19uI3SC5avYX9teCurlErfpPXGmYtMHReGaP2RsLnFvz/lnw==
|
||||||
|
|
||||||
process-nextick-args@~1.0.6:
|
|
||||||
version "1.0.7"
|
|
||||||
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3"
|
|
||||||
integrity sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=
|
|
||||||
|
|
||||||
readable-stream@^2.0.2:
|
|
||||||
version "2.3.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.3.tgz#368f2512d79f9d46fdfc71349ae7878bbc1eb95c"
|
|
||||||
integrity sha512-m+qzzcn7KUxEmd1gMbchF+Y2eIUbieUaxkWtptyHywrX0rE8QEYqPC07Vuy4Wm32/xE16NcdBctb8S0Xe/5IeQ==
|
|
||||||
dependencies:
|
dependencies:
|
||||||
core-util-is "~1.0.0"
|
picomatch "^2.0.4"
|
||||||
inherits "~2.0.3"
|
|
||||||
isarray "~1.0.0"
|
|
||||||
process-nextick-args "~1.0.6"
|
|
||||||
safe-buffer "~5.1.1"
|
|
||||||
string_decoder "~1.0.3"
|
|
||||||
util-deprecate "~1.0.1"
|
|
||||||
|
|
||||||
readdirp@^2.2.1:
|
|
||||||
version "2.2.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525"
|
|
||||||
integrity sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==
|
|
||||||
dependencies:
|
|
||||||
graceful-fs "^4.1.11"
|
|
||||||
micromatch "^3.1.10"
|
|
||||||
readable-stream "^2.0.2"
|
|
||||||
|
|
||||||
regex-not@^1.0.0, regex-not@^1.0.2:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c"
|
|
||||||
integrity sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==
|
|
||||||
dependencies:
|
|
||||||
extend-shallow "^3.0.2"
|
|
||||||
safe-regex "^1.1.0"
|
|
||||||
|
|
||||||
repeat-element@^1.1.2:
|
|
||||||
version "1.1.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.2.tgz#ef089a178d1483baae4d93eb98b4f9e4e11d990a"
|
|
||||||
integrity sha1-7wiaF40Ug7quTZPrmLT55OEdmQo=
|
|
||||||
|
|
||||||
repeat-string@^1.6.1:
|
|
||||||
version "1.6.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637"
|
|
||||||
integrity sha1-jcrkcOHIirwtYA//Sndihtp15jc=
|
|
||||||
|
|
||||||
resolve-url@^0.2.1:
|
|
||||||
version "0.2.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a"
|
|
||||||
integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=
|
|
||||||
|
|
||||||
ret@~0.1.10:
|
|
||||||
version "0.1.15"
|
|
||||||
resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc"
|
|
||||||
integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==
|
|
||||||
|
|
||||||
safe-buffer@~5.1.0, safe-buffer@~5.1.1:
|
|
||||||
version "5.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853"
|
|
||||||
integrity sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==
|
|
||||||
|
|
||||||
safe-regex@^1.1.0:
|
|
||||||
version "1.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e"
|
|
||||||
integrity sha1-QKNmnzsHfR6UPURinhV91IAjvy4=
|
|
||||||
dependencies:
|
|
||||||
ret "~0.1.10"
|
|
||||||
|
|
||||||
"safer-buffer@>= 2.1.2 < 3":
|
"safer-buffer@>= 2.1.2 < 3":
|
||||||
version "2.1.2"
|
version "2.1.2"
|
||||||
@@ -904,51 +393,11 @@ semver@^5.3.0:
|
|||||||
resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004"
|
resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004"
|
||||||
integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==
|
integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==
|
||||||
|
|
||||||
set-value@^2.0.0, set-value@^2.0.1:
|
|
||||||
version "2.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.1.tgz#a18d40530e6f07de4228c7defe4227af8cad005b"
|
|
||||||
integrity sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==
|
|
||||||
dependencies:
|
|
||||||
extend-shallow "^2.0.1"
|
|
||||||
is-extendable "^0.1.1"
|
|
||||||
is-plain-object "^2.0.3"
|
|
||||||
split-string "^3.0.1"
|
|
||||||
|
|
||||||
smart-buffer@^4.0.1:
|
smart-buffer@^4.0.1:
|
||||||
version "4.0.1"
|
version "4.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.0.1.tgz#07ea1ca8d4db24eb4cac86537d7d18995221ace3"
|
resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.0.1.tgz#07ea1ca8d4db24eb4cac86537d7d18995221ace3"
|
||||||
integrity sha512-RFqinRVJVcCAL9Uh1oVqE6FZkqsyLiVOYEZ20TqIOjuX7iFVJ+zsbs4RIghnw/pTs7mZvt8ZHhvm1ZUrR4fykg==
|
integrity sha512-RFqinRVJVcCAL9Uh1oVqE6FZkqsyLiVOYEZ20TqIOjuX7iFVJ+zsbs4RIghnw/pTs7mZvt8ZHhvm1ZUrR4fykg==
|
||||||
|
|
||||||
snapdragon-node@^2.0.1:
|
|
||||||
version "2.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b"
|
|
||||||
integrity sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==
|
|
||||||
dependencies:
|
|
||||||
define-property "^1.0.0"
|
|
||||||
isobject "^3.0.0"
|
|
||||||
snapdragon-util "^3.0.1"
|
|
||||||
|
|
||||||
snapdragon-util@^3.0.1:
|
|
||||||
version "3.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/snapdragon-util/-/snapdragon-util-3.0.1.tgz#f956479486f2acd79700693f6f7b805e45ab56e2"
|
|
||||||
integrity sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==
|
|
||||||
dependencies:
|
|
||||||
kind-of "^3.2.0"
|
|
||||||
|
|
||||||
snapdragon@^0.8.1:
|
|
||||||
version "0.8.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/snapdragon/-/snapdragon-0.8.2.tgz#64922e7c565b0e14204ba1aa7d6964278d25182d"
|
|
||||||
integrity sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==
|
|
||||||
dependencies:
|
|
||||||
base "^0.11.1"
|
|
||||||
debug "^2.2.0"
|
|
||||||
define-property "^0.2.5"
|
|
||||||
extend-shallow "^2.0.1"
|
|
||||||
map-cache "^0.2.2"
|
|
||||||
source-map "^0.5.6"
|
|
||||||
source-map-resolve "^0.5.0"
|
|
||||||
use "^3.1.0"
|
|
||||||
|
|
||||||
socks-proxy-agent@4.0.1:
|
socks-proxy-agent@4.0.1:
|
||||||
version "4.0.1"
|
version "4.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-4.0.1.tgz#5936bf8b707a993079c6f37db2091821bffa6473"
|
resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-4.0.1.tgz#5936bf8b707a993079c6f37db2091821bffa6473"
|
||||||
@@ -965,27 +414,6 @@ socks@~2.2.0:
|
|||||||
ip "^1.1.5"
|
ip "^1.1.5"
|
||||||
smart-buffer "^4.0.1"
|
smart-buffer "^4.0.1"
|
||||||
|
|
||||||
source-map-resolve@^0.5.0:
|
|
||||||
version "0.5.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.2.tgz#72e2cc34095543e43b2c62b2c4c10d4a9054f259"
|
|
||||||
integrity sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==
|
|
||||||
dependencies:
|
|
||||||
atob "^2.1.1"
|
|
||||||
decode-uri-component "^0.2.0"
|
|
||||||
resolve-url "^0.2.1"
|
|
||||||
source-map-url "^0.4.0"
|
|
||||||
urix "^0.1.0"
|
|
||||||
|
|
||||||
source-map-url@^0.4.0:
|
|
||||||
version "0.4.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3"
|
|
||||||
integrity sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=
|
|
||||||
|
|
||||||
source-map@^0.5.6:
|
|
||||||
version "0.5.7"
|
|
||||||
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
|
|
||||||
integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=
|
|
||||||
|
|
||||||
spdlog@^0.9.0:
|
spdlog@^0.9.0:
|
||||||
version "0.9.0"
|
version "0.9.0"
|
||||||
resolved "https://registry.yarnpkg.com/spdlog/-/spdlog-0.9.0.tgz#c85dd9d0b9cd385f6f3f5b92dc9d2e1691092b5c"
|
resolved "https://registry.yarnpkg.com/spdlog/-/spdlog-0.9.0.tgz#c85dd9d0b9cd385f6f3f5b92dc9d2e1691092b5c"
|
||||||
@@ -995,135 +423,23 @@ spdlog@^0.9.0:
|
|||||||
mkdirp "^0.5.1"
|
mkdirp "^0.5.1"
|
||||||
nan "^2.14.0"
|
nan "^2.14.0"
|
||||||
|
|
||||||
split-string@^3.0.1, split-string@^3.0.2:
|
to-regex-range@^5.0.1:
|
||||||
version "3.1.0"
|
version "5.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2"
|
resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4"
|
||||||
integrity sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==
|
integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
extend-shallow "^3.0.0"
|
is-number "^7.0.0"
|
||||||
|
|
||||||
static-extend@^0.1.1:
|
|
||||||
version "0.1.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6"
|
|
||||||
integrity sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=
|
|
||||||
dependencies:
|
|
||||||
define-property "^0.2.5"
|
|
||||||
object-copy "^0.1.0"
|
|
||||||
|
|
||||||
string_decoder@~1.0.3:
|
|
||||||
version "1.0.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab"
|
|
||||||
integrity sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==
|
|
||||||
dependencies:
|
|
||||||
safe-buffer "~5.1.0"
|
|
||||||
|
|
||||||
to-object-path@^0.3.0:
|
|
||||||
version "0.3.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af"
|
|
||||||
integrity sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=
|
|
||||||
dependencies:
|
|
||||||
kind-of "^3.0.2"
|
|
||||||
|
|
||||||
to-regex-range@^2.1.0:
|
|
||||||
version "2.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38"
|
|
||||||
integrity sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=
|
|
||||||
dependencies:
|
|
||||||
is-number "^3.0.0"
|
|
||||||
repeat-string "^1.6.1"
|
|
||||||
|
|
||||||
to-regex@^3.0.1, to-regex@^3.0.2:
|
|
||||||
version "3.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/to-regex/-/to-regex-3.0.2.tgz#13cfdd9b336552f30b51f33a8ae1b42a7a7599ce"
|
|
||||||
integrity sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==
|
|
||||||
dependencies:
|
|
||||||
define-property "^2.0.2"
|
|
||||||
extend-shallow "^3.0.2"
|
|
||||||
regex-not "^1.0.2"
|
|
||||||
safe-regex "^1.1.0"
|
|
||||||
|
|
||||||
tslib@^1.9.3:
|
tslib@^1.9.3:
|
||||||
version "1.10.0"
|
version "1.10.0"
|
||||||
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a"
|
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a"
|
||||||
integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==
|
integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==
|
||||||
|
|
||||||
union-value@^1.0.0:
|
|
||||||
version "1.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847"
|
|
||||||
integrity sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==
|
|
||||||
dependencies:
|
|
||||||
arr-union "^3.1.0"
|
|
||||||
get-value "^2.0.6"
|
|
||||||
is-extendable "^0.1.1"
|
|
||||||
set-value "^2.0.1"
|
|
||||||
|
|
||||||
universalify@^0.1.0:
|
universalify@^0.1.0:
|
||||||
version "0.1.2"
|
version "0.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66"
|
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66"
|
||||||
integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==
|
integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==
|
||||||
|
|
||||||
unset-value@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559"
|
|
||||||
integrity sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=
|
|
||||||
dependencies:
|
|
||||||
has-value "^0.3.1"
|
|
||||||
isobject "^3.0.0"
|
|
||||||
|
|
||||||
upath@^1.1.1:
|
|
||||||
version "1.1.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/upath/-/upath-1.1.2.tgz#3db658600edaeeccbe6db5e684d67ee8c2acd068"
|
|
||||||
integrity sha512-kXpym8nmDmlCBr7nKdIx8P2jNBa+pBpIUFRnKJ4dr8htyYGJFokkr2ZvERRtUN+9SY+JqXouNgUPtv6JQva/2Q==
|
|
||||||
|
|
||||||
urix@^0.1.0:
|
|
||||||
version "0.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72"
|
|
||||||
integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=
|
|
||||||
|
|
||||||
use@^3.1.0:
|
|
||||||
version "3.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f"
|
|
||||||
integrity sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==
|
|
||||||
|
|
||||||
util-deprecate@~1.0.1:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
|
|
||||||
integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=
|
|
||||||
|
|
||||||
vscode-anymatch@3.0.3:
|
|
||||||
version "3.0.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/vscode-anymatch/-/vscode-anymatch-3.0.3.tgz#5a79101e6df7e659a1f070367bc42f190eb4ae76"
|
|
||||||
integrity sha512-qQgfbzJJ5nNShh4jjC3BBekY4d8emcxHFgnqcXwsB/PUKvJPCg7AZYXM7hqS7EDnKrX9tsIFwFMihZ7yut92Qg==
|
|
||||||
dependencies:
|
|
||||||
normalize-path "^3.0.0"
|
|
||||||
picomatch "^2.0.4"
|
|
||||||
|
|
||||||
vscode-chokidar@2.1.7:
|
|
||||||
version "2.1.7"
|
|
||||||
resolved "https://registry.yarnpkg.com/vscode-chokidar/-/vscode-chokidar-2.1.7.tgz#c5b31eb87402f4779bb4170915245bdcb6f7854b"
|
|
||||||
integrity sha512-uSNEQetPjAlgIAHmcF9E6M+KCw0f842rsEnJ64aamUAV6TO7gkXNCvLSzb4MuLsPU7ZQyCa++DrLQFjvciK5dg==
|
|
||||||
dependencies:
|
|
||||||
async-each "^1.0.1"
|
|
||||||
braces "^2.3.2"
|
|
||||||
glob-parent "^3.1.0"
|
|
||||||
inherits "^2.0.3"
|
|
||||||
is-binary-path "^1.0.0"
|
|
||||||
is-glob "^4.0.0"
|
|
||||||
normalize-path "^3.0.0"
|
|
||||||
path-is-absolute "^1.0.0"
|
|
||||||
readdirp "^2.2.1"
|
|
||||||
upath "^1.1.1"
|
|
||||||
vscode-anymatch "3.0.3"
|
|
||||||
optionalDependencies:
|
|
||||||
vscode-fsevents "1.2.12"
|
|
||||||
|
|
||||||
vscode-fsevents@1.2.12:
|
|
||||||
version "1.2.12"
|
|
||||||
resolved "https://registry.yarnpkg.com/vscode-fsevents/-/vscode-fsevents-1.2.12.tgz#01a71a01f90ee95ca822c34427aba437a17c03a7"
|
|
||||||
integrity sha512-bH/jRdDpSesGpqiVLjp6gHLSKUOh7oNvppzZ17JIrdbRYCcDmV7dIWR5gQc27DFy0RD9JDT+t+ixMid94MkM1A==
|
|
||||||
dependencies:
|
|
||||||
nan "^2.14.0"
|
|
||||||
|
|
||||||
vscode-minimist@^1.2.1:
|
vscode-minimist@^1.2.1:
|
||||||
version "1.2.1"
|
version "1.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/vscode-minimist/-/vscode-minimist-1.2.1.tgz#e63d3f4a9bf3680dcb8f9304eed612323fd6926a"
|
resolved "https://registry.yarnpkg.com/vscode-minimist/-/vscode-minimist-1.2.1.tgz#e63d3f4a9bf3680dcb8f9304eed612323fd6926a"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
Name=@@NAME_LONG@@ - URL Handler
|
Name=@@NAME_LONG@@ - URL Handler
|
||||||
Comment=Azure Data Studio
|
Comment=Azure Data Studio
|
||||||
GenericName=Text Editor
|
GenericName=Text Editor
|
||||||
Exec=@@EXEC@@ --open-url %U
|
Exec=@@EXEC@@ --no-sandbox --open-url %U
|
||||||
Icon=@@ICON@@
|
Icon=@@ICON@@
|
||||||
Type=Application
|
Type=Application
|
||||||
NoDisplay=true
|
NoDisplay=true
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
Name=@@NAME_LONG@@
|
Name=@@NAME_LONG@@
|
||||||
Comment=Data Management Tool that enables you to work with SQL Server, Azure SQL DB and SQL DW from Windows, macOS and Linux.
|
Comment=Data Management Tool that enables you to work with SQL Server, Azure SQL DB and SQL DW from Windows, macOS and Linux.
|
||||||
GenericName=Text Editor
|
GenericName=Text Editor
|
||||||
Exec=@@EXEC@@ --unity-launch %F
|
Exec=@@EXEC@@ --no-sandbox --unity-launch %F
|
||||||
Icon=@@ICON@@
|
Icon=@@ICON@@
|
||||||
Type=Application
|
Type=Application
|
||||||
StartupNotify=false
|
StartupNotify=false
|
||||||
@@ -14,5 +14,5 @@ Keywords=azuredatastudio;
|
|||||||
|
|
||||||
[Desktop Action new-empty-window]
|
[Desktop Action new-empty-window]
|
||||||
Name=New Empty Window
|
Name=New Empty Window
|
||||||
Exec=@@EXEC@@ --new-window %F
|
Exec=@@EXEC@@ --no-sandbox --new-window %F
|
||||||
Icon=@@ICON@@
|
Icon=@@ICON@@
|
||||||
|
|||||||
@@ -27,15 +27,15 @@ if grep -qi Microsoft /proc/version; then
|
|||||||
WSL_EXT_ID="ms-vscode-remote.remote-wsl"
|
WSL_EXT_ID="ms-vscode-remote.remote-wsl"
|
||||||
|
|
||||||
if [ $WSL_BUILD -ge 41955 -a $WSL_BUILD -lt 41959 ]; then
|
if [ $WSL_BUILD -ge 41955 -a $WSL_BUILD -lt 41959 ]; then
|
||||||
# WSL2 in workaround for https://github.com/microsoft/WSL/issues/4337
|
# WSL2 workaround for https://github.com/microsoft/WSL/issues/4337
|
||||||
CWD="$(pwd)"
|
CWD="$(pwd)"
|
||||||
cd "$VSCODE_PATH"
|
cd "$VSCODE_PATH"
|
||||||
cmd.exe /C ".\\bin\\$APP_NAME.cmd --locate-extension $WSL_EXT_ID >remote-wsl-loc.txt"
|
cmd.exe /C ".\\bin\\$APP_NAME.cmd --locate-extension $WSL_EXT_ID >%TEMP%\\remote-wsl-loc.txt"
|
||||||
WSL_EXT_WLOC="$(cat ./remote-wsl-loc.txt)"
|
WSL_EXT_WLOC=$(cmd.exe /C type %TEMP%\\remote-wsl-loc.txt)
|
||||||
rm remote-wsl-loc.txt
|
|
||||||
cd "$CWD"
|
cd "$CWD"
|
||||||
else
|
else
|
||||||
WSL_EXT_WLOC=$(ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" --locate-extension $WSL_EXT_ID)
|
ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" --locate-extension $WSL_EXT_ID >/tmp/remote-wsl-loc.txt
|
||||||
|
WSL_EXT_WLOC=$(cat /tmp/remote-wsl-loc.txt)
|
||||||
fi
|
fi
|
||||||
if [ -n "$WSL_EXT_WLOC" ]; then
|
if [ -n "$WSL_EXT_WLOC" ]; then
|
||||||
# replace \r\n with \n in WSL_EXT_WLOC
|
# replace \r\n with \n in WSL_EXT_WLOC
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
|
|||||||
else
|
else
|
||||||
ROOT=$(dirname $(dirname $(readlink -f $0)))
|
ROOT=$(dirname $(dirname $(readlink -f $0)))
|
||||||
VSCODEUSERDATADIR=`mktemp -d 2>/dev/null`
|
VSCODEUSERDATADIR=`mktemp -d 2>/dev/null`
|
||||||
|
LINUX_NO_SANDBOX="--no-sandbox" # Electron 6 introduces a chrome-sandbox that requires root to run. This can fail. Disable sandbox via --no-sandbox.
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd $ROOT
|
cd $ROOT
|
||||||
@@ -36,14 +37,14 @@ fi
|
|||||||
./scripts/test.sh --runGlob **/*.integrationTest.js "$@"
|
./scripts/test.sh --runGlob **/*.integrationTest.js "$@"
|
||||||
|
|
||||||
# Tests in the extension host
|
# Tests in the extension host
|
||||||
# "$INTEGRATION_TEST_ELECTRON_PATH" $ROOT/extensions/vscode-api-tests/testWorkspace --extensionDevelopmentPath=$ROOT/extensions/vscode-api-tests --extensionTestsPath=$ROOT/extensions/vscode-api-tests/out/singlefolder-tests --disable-telemetry --disable-crash-reporter --disable-updates --disable-extensions --skip-getting-started --disable-inspect --user-data-dir=$VSCODEUSERDATADIR
|
# "$INTEGRATION_TEST_ELECTRON_PATH" $LINUX_NO_SANDBOX $ROOT/extensions/vscode-api-tests/testWorkspace --extensionDevelopmentPath=$ROOT/extensions/vscode-api-tests --extensionTestsPath=$ROOT/extensions/vscode-api-tests/out/singlefolder-tests --disable-telemetry --disable-crash-reporter --disable-updates --disable-extensions --skip-getting-started --disable-inspect --user-data-dir=$VSCODEUSERDATADIR
|
||||||
# "$INTEGRATION_TEST_ELECTRON_PATH" $ROOT/extensions/vscode-api-tests/testworkspace.code-workspace --extensionDevelopmentPath=$ROOT/extensions/vscode-api-tests --extensionTestsPath=$ROOT/extensions/vscode-api-tests/out/workspace-tests --disable-telemetry --disable-crash-reporter --disable-updates --disable-extensions --skip-getting-started --disable-inspect --user-data-dir=$VSCODEUSERDATADIR
|
# "$INTEGRATION_TEST_ELECTRON_PATH" $LINUX_NO_SANDBOX $ROOT/extensions/vscode-api-tests/testworkspace.code-workspace --extensionDevelopmentPath=$ROOT/extensions/vscode-api-tests --extensionTestsPath=$ROOT/extensions/vscode-api-tests/out/workspace-tests --disable-telemetry --disable-crash-reporter --disable-updates --disable-extensions --skip-getting-started --disable-inspect --user-data-dir=$VSCODEUSERDATADIR
|
||||||
"$INTEGRATION_TEST_ELECTRON_PATH" $ROOT/extensions/vscode-colorize-tests/test --extensionDevelopmentPath=$ROOT/extensions/vscode-colorize-tests --extensionTestsPath=$ROOT/extensions/vscode-colorize-tests/out --disable-telemetry --disable-crash-reporter --disable-updates --disable-extensions --skip-getting-started --disable-inspect --user-data-dir=$VSCODEUSERDATADIR
|
"$INTEGRATION_TEST_ELECTRON_PATH" $ROOT/extensions/vscode-colorize-tests/test --extensionDevelopmentPath=$ROOT/extensions/vscode-colorize-tests --extensionTestsPath=$ROOT/extensions/vscode-colorize-tests/out --disable-telemetry --disable-crash-reporter --disable-updates --disable-extensions --skip-getting-started --disable-inspect --user-data-dir=$VSCODEUSERDATADIR
|
||||||
"$INTEGRATION_TEST_ELECTRON_PATH" $ROOT/extensions/markdown-language-features/test-fixtures --extensionDevelopmentPath=$ROOT/extensions/markdown-language-features --extensionTestsPath=$ROOT/extensions/markdown-language-features/out/test --disable-telemetry --disable-crash-reporter --disable-updates --disable-extensions --skip-getting-started --disable-inspect --user-data-dir=$VSCODEUSERDATADIR
|
"$INTEGRATION_TEST_ELECTRON_PATH" $LINUX_NO_SANDBOX $ROOT/extensions/markdown-language-features/test-fixtures --extensionDevelopmentPath=$ROOT/extensions/markdown-language-features --extensionTestsPath=$ROOT/extensions/markdown-language-features/out/test --disable-telemetry --disable-crash-reporter --disable-updates --disable-extensions --skip-getting-started --disable-inspect --user-data-dir=$VSCODEUSERDATADIR
|
||||||
"$INTEGRATION_TEST_ELECTRON_PATH" $ROOT/extensions/azurecore/test-fixtures --extensionDevelopmentPath=$ROOT/extensions/azurecore --extensionTestsPath=$ROOT/extensions/azurecore/out/test --disable-telemetry --disable-crash-reporter --disable-updates --disable-extensions --skip-getting-started --disable-inspect --user-data-dir=$VSCODEUSERDATADIR
|
"$INTEGRATION_TEST_ELECTRON_PATH" $LINUX_NO_SANDBOX $ROOT/extensions/azurecore/test-fixtures --extensionDevelopmentPath=$ROOT/extensions/azurecore --extensionTestsPath=$ROOT/extensions/azurecore/out/test --disable-telemetry --disable-crash-reporter --disable-updates --disable-extensions --skip-getting-started --disable-inspect --user-data-dir=$VSCODEUSERDATADIR
|
||||||
|
|
||||||
mkdir -p $ROOT/extensions/emmet/test-fixtures
|
mkdir -p $ROOT/extensions/emmet/test-fixtures
|
||||||
"$INTEGRATION_TEST_ELECTRON_PATH" $ROOT/extensions/emmet/test-fixtures --extensionDevelopmentPath=$ROOT/extensions/emmet --extensionTestsPath=$ROOT/extensions/emmet/out/test --disable-telemetry --disable-crash-reporter --disable-updates --disable-extensions --skip-getting-started --disable-inspect --user-data-dir=$VSCODEUSERDATADIR
|
"$INTEGRATION_TEST_ELECTRON_PATH" $LINUX_NO_SANDBOX $ROOT/extensions/emmet/test-fixtures --extensionDevelopmentPath=$ROOT/extensions/emmet --extensionTestsPath=$ROOT/extensions/emmet/out/test --disable-telemetry --disable-crash-reporter --disable-updates --disable-extensions --skip-getting-started --disable-inspect --user-data-dir=$VSCODEUSERDATADIR
|
||||||
rm -rf $ROOT/extensions/emmet/test-fixtures
|
rm -rf $ROOT/extensions/emmet/test-fixtures
|
||||||
|
|
||||||
# Remote Integration Tests
|
# Remote Integration Tests
|
||||||
|
|||||||
@@ -34,5 +34,5 @@ else
|
|||||||
cd $ROOT ; \
|
cd $ROOT ; \
|
||||||
ELECTRON_ENABLE_LOGGING=1 \
|
ELECTRON_ENABLE_LOGGING=1 \
|
||||||
"$CODE" \
|
"$CODE" \
|
||||||
test/electron/index.js "$@"
|
test/electron/index.js --no-sandbox "$@" # Electron 6 introduces a chrome-sandbox that requires root to run. This can fail. Disable sandbox via --no-sandbox.
|
||||||
fi
|
fi
|
||||||
|
|||||||
18
src/bootstrap.js
vendored
@@ -21,6 +21,7 @@ process.on('SIGPIPE', () => {
|
|||||||
//#endregion
|
//#endregion
|
||||||
|
|
||||||
//#region Add support for redirecting the loading of node modules
|
//#region Add support for redirecting the loading of node modules
|
||||||
|
|
||||||
exports.injectNodeModuleLookupPath = function (injectPath) {
|
exports.injectNodeModuleLookupPath = function (injectPath) {
|
||||||
if (!injectPath) {
|
if (!injectPath) {
|
||||||
throw new Error('Missing injectPath');
|
throw new Error('Missing injectPath');
|
||||||
@@ -36,10 +37,8 @@ exports.injectNodeModuleLookupPath = function (injectPath) {
|
|||||||
const originalResolveLookupPaths = Module._resolveLookupPaths;
|
const originalResolveLookupPaths = Module._resolveLookupPaths;
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
Module._resolveLookupPaths = function (moduleName, parent, newReturn) {
|
Module._resolveLookupPaths = function (moduleName, parent) {
|
||||||
const result = originalResolveLookupPaths(moduleName, parent, newReturn);
|
const paths = originalResolveLookupPaths(moduleName, parent);
|
||||||
|
|
||||||
const paths = newReturn ? result : result[1];
|
|
||||||
for (let i = 0, len = paths.length; i < len; i++) {
|
for (let i = 0, len = paths.length; i < len; i++) {
|
||||||
if (paths[i] === nodeModulesPath) {
|
if (paths[i] === nodeModulesPath) {
|
||||||
paths.splice(i, 0, injectPath);
|
paths.splice(i, 0, injectPath);
|
||||||
@@ -47,7 +46,7 @@ exports.injectNodeModuleLookupPath = function (injectPath) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return paths;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
//#endregion
|
//#endregion
|
||||||
@@ -71,11 +70,10 @@ exports.enableASARSupport = function (nodeModulesPath) {
|
|||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
const originalResolveLookupPaths = Module._resolveLookupPaths;
|
const originalResolveLookupPaths = Module._resolveLookupPaths;
|
||||||
// @ts-ignore
|
|
||||||
Module._resolveLookupPaths = function (request, parent, newReturn) {
|
|
||||||
const result = originalResolveLookupPaths(request, parent, newReturn);
|
|
||||||
|
|
||||||
const paths = newReturn ? result : result[1];
|
// @ts-ignore
|
||||||
|
Module._resolveLookupPaths = function (request, parent) {
|
||||||
|
const paths = originalResolveLookupPaths(request, parent);
|
||||||
for (let i = 0, len = paths.length; i < len; i++) {
|
for (let i = 0, len = paths.length; i < len; i++) {
|
||||||
if (paths[i] === NODE_MODULES_PATH) {
|
if (paths[i] === NODE_MODULES_PATH) {
|
||||||
paths.splice(i, 0, NODE_MODULES_ASAR_PATH);
|
paths.splice(i, 0, NODE_MODULES_ASAR_PATH);
|
||||||
@@ -83,7 +81,7 @@ exports.enableASARSupport = function (nodeModulesPath) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return paths;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
//#endregion
|
//#endregion
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ const paths = require('./paths');
|
|||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
const product = require('../product.json');
|
const product = require('../product.json');
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
const app = require('electron').app;
|
const { app, protocol } = require('electron');
|
||||||
|
|
||||||
// Enable portable support
|
// Enable portable support
|
||||||
const portable = bootstrap.configurePortable();
|
const portable = bootstrap.configurePortable();
|
||||||
@@ -33,6 +33,11 @@ app.setPath('userData', userDataPath);
|
|||||||
// Update cwd based on environment and platform
|
// Update cwd based on environment and platform
|
||||||
setCurrentWorkingDirectory();
|
setCurrentWorkingDirectory();
|
||||||
|
|
||||||
|
// Register custom schemes with privileges
|
||||||
|
protocol.registerSchemesAsPrivileged([
|
||||||
|
{ scheme: 'vscode-resource', privileges: { secure: true, supportFetchAPI: true, corsEnabled: true } }
|
||||||
|
]);
|
||||||
|
|
||||||
// Global app listeners
|
// Global app listeners
|
||||||
registerListeners();
|
registerListeners();
|
||||||
|
|
||||||
@@ -102,7 +107,7 @@ function onReady() {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
// We recevied a valid nlsConfig from a user defined locale
|
// We received a valid nlsConfig from a user defined locale
|
||||||
if (nlsConfig) {
|
if (nlsConfig) {
|
||||||
startup(nlsConfig);
|
startup(nlsConfig);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -87,42 +87,42 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* icons */
|
/* icons */
|
||||||
.vs .icon.extendFullScreen {
|
.vs .codicon.extendFullScreen {
|
||||||
/* ExtendToFullScreen_16x_vscode */
|
/* ExtendToFullScreen_16x_vscode */
|
||||||
background-image: url("extendFullScreen.svg");
|
background-image: url("extendFullScreen.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs .icon.exitFullScreen {
|
.vs .codicon.exitFullScreen {
|
||||||
/* ExitFullScreen_16x_vscode */
|
/* ExitFullScreen_16x_vscode */
|
||||||
background-image: url("exitFullScreen.svg");
|
background-image: url("exitFullScreen.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs .icon.saveJson {
|
.vs .codicon.saveJson {
|
||||||
/* ResultToJSON_16x_vscode */
|
/* ResultToJSON_16x_vscode */
|
||||||
background-image: url("saveJson.svg");
|
background-image: url("saveJson.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs .icon.saveCsv {
|
.vs .codicon.saveCsv {
|
||||||
/* ResultToCSV_16x_vscode */
|
/* ResultToCSV_16x_vscode */
|
||||||
background-image: url("saveCsv.svg");
|
background-image: url("saveCsv.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs .icon.saveExcel {
|
.vs .codicon.saveExcel {
|
||||||
/* ResultToXlsx_16x_vscode */
|
/* ResultToXlsx_16x_vscode */
|
||||||
background-image: url("saveExcel.svg");
|
background-image: url("saveExcel.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs .icon.saveXml {
|
.vs .codicon.saveXml {
|
||||||
/* ResultToXML_16x_vscode */
|
/* ResultToXML_16x_vscode */
|
||||||
background-image: url("saveXml.svg");
|
background-image: url("saveXml.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs .icon.viewChart {
|
.vs .codicon.viewChart {
|
||||||
/* ResultToXlsx_16x_vscode */
|
/* ResultToXlsx_16x_vscode */
|
||||||
background-image: url("viewChart.svg");
|
background-image: url("viewChart.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs .icon.viewVisualizer {
|
.vs .codicon.viewVisualizer {
|
||||||
background-image: url("viewVisualizer.svg");
|
background-image: url("viewVisualizer.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -222,54 +222,54 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* icons */
|
/* icons */
|
||||||
.vs-dark .icon.extendFullScreen,
|
.vs-dark .codicon.extendFullScreen,
|
||||||
.hc-black .icon.extendFullScreen {
|
.hc-black .codicon.extendFullScreen {
|
||||||
/* ExtendToFullScreen_16x_vscode_inverse.svg */
|
/* ExtendToFullScreen_16x_vscode_inverse.svg */
|
||||||
background-image: url("extendFullScreen_inverse.svg");
|
background-image: url("extendFullScreen_inverse.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs-dark .icon.exitFullScreen,
|
.vs-dark .codicon.exitFullScreen,
|
||||||
.hc-black .icon.exitFullScreen {
|
.hc-black .codicon.exitFullScreen {
|
||||||
/* ExitFullScreen_16x_vscode_inverse.svg */
|
/* ExitFullScreen_16x_vscode_inverse.svg */
|
||||||
background-image: url("exitFullScreen_inverse.svg");
|
background-image: url("exitFullScreen_inverse.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs-dark .icon.saveJson,
|
.vs-dark .codicon.saveJson,
|
||||||
.hc-black .icon.saveJson {
|
.hc-black .codicon.saveJson {
|
||||||
/* ResultToJSON_16x_vscode_inverse.svg */
|
/* ResultToJSON_16x_vscode_inverse.svg */
|
||||||
background-image: url("saveJson_inverse.svg");
|
background-image: url("saveJson_inverse.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs-dark .icon.saveCsv,
|
.vs-dark .codicon.saveCsv,
|
||||||
.hc-black .icon.saveCsv {
|
.hc-black .codicon.saveCsv {
|
||||||
/* ResultToCSV_16x_vscode_inverse.svg */
|
/* ResultToCSV_16x_vscode_inverse.svg */
|
||||||
background-image: url("saveCsv_inverse.svg");
|
background-image: url("saveCsv_inverse.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs-dark .icon.saveExcel,
|
.vs-dark .codicon.saveExcel,
|
||||||
.hc-black .icon.saveExcel {
|
.hc-black .codicon.saveExcel {
|
||||||
/* ResultToXlsx_16x_vscode_inverse.svg */
|
/* ResultToXlsx_16x_vscode_inverse.svg */
|
||||||
background-image: url("saveExcel_inverse.svg");
|
background-image: url("saveExcel_inverse.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs-dark .icon.saveXml,
|
.vs-dark .codicon.saveXml,
|
||||||
.hc-black .icon.saveXml {
|
.hc-black .codicon.saveXml {
|
||||||
/* ResultToXml_16x_vscode_inverse.svg */
|
/* ResultToXml_16x_vscode_inverse.svg */
|
||||||
background-image: url("saveXml_inverse.svg");
|
background-image: url("saveXml_inverse.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs-dark .icon.viewChart,
|
.vs-dark .codicon.viewChart,
|
||||||
.hc-black .icon.viewChart {
|
.hc-black .codicon.viewChart {
|
||||||
/* ResultToXlsx_16x_vscode */
|
/* ResultToXlsx_16x_vscode */
|
||||||
background-image: url("viewChart_inverse.svg");
|
background-image: url("viewChart_inverse.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs-dark .icon.viewVisualizer,
|
.vs-dark .codicon.viewVisualizer,
|
||||||
.hc-black .icon.viewVisualizer {
|
.hc-black .codicon.viewVisualizer {
|
||||||
background-image: url("viewVisualizer_inverse.svg");
|
background-image: url("viewVisualizer_inverse.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
.grid-panel .action-label.icon {
|
.grid-panel .action-label.codicon {
|
||||||
height: 16px;
|
height: 16px;
|
||||||
min-width: 28px;
|
min-width: 28px;
|
||||||
background-size: 16px;
|
background-size: 16px;
|
||||||
|
|||||||
@@ -12,109 +12,109 @@
|
|||||||
background-image: url('ellipsis-inverse.svg');
|
background-image: url('ellipsis-inverse.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs .icon.start,
|
.vs .codicon.start,
|
||||||
.vs-dark .icon.start,
|
.vs-dark .codicon.start,
|
||||||
.hc-black .icon.start {
|
.hc-black .codicon.start {
|
||||||
background-image: url('start.svg');
|
background-image: url('start.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs .icon.add,
|
.vs .codicon.add,
|
||||||
.vs-dark .icon.add,
|
.vs-dark .codicon.add,
|
||||||
.hc-black .icon.add {
|
.hc-black .codicon.add {
|
||||||
background-image: url('add.svg');
|
background-image: url('add.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs .icon.stop,
|
.vs .codicon.stop,
|
||||||
.vs-dark .icon.stop,
|
.vs-dark .codicon.stop,
|
||||||
.hc-black .icon.stop {
|
.hc-black .codicon.stop {
|
||||||
background-image: url('stop.svg');
|
background-image: url('stop.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs .icon.disconnect {
|
.vs .codicon.disconnect {
|
||||||
background-image: url('disconnect.svg');
|
background-image: url('disconnect.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs-dark .icon.disconnect,
|
.vs-dark .codicon.disconnect,
|
||||||
.hc-black .icon.disconnect {
|
.hc-black .codicon.disconnect {
|
||||||
background-image: url('disconnect_inverse.svg');
|
background-image: url('disconnect_inverse.svg');
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs .icon.connect {
|
.vs .codicon.connect {
|
||||||
background-image: url('connect.svg');
|
background-image: url('connect.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs-dark .icon.connect,
|
.vs-dark .codicon.connect,
|
||||||
.hc-black .icon.connect {
|
.hc-black .codicon.connect {
|
||||||
background-image: url('connect_inverse.svg');
|
background-image: url('connect_inverse.svg');
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs .icon.changeConnection {
|
.vs .codicon.changeConnection {
|
||||||
background-image: url('change_connection.svg');
|
background-image: url('change_connection.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs-dark .icon.changeConnection,
|
.vs-dark .codicon.changeConnection,
|
||||||
.hc-black .icon.changeConnection {
|
.hc-black .codicon.changeConnection {
|
||||||
background-image: url('change_connection_inverse.svg');
|
background-image: url('change_connection_inverse.svg');
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs .icon.estimatedQueryPlan,
|
.vs .codicon.estimatedQueryPlan,
|
||||||
.vs .icon.actualQueryPlan {
|
.vs .codicon.actualQueryPlan {
|
||||||
background-image: url('query-plan.svg');
|
background-image: url('query-plan.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs-dark .icon.estimatedQueryPlan,
|
.vs-dark .codicon.estimatedQueryPlan,
|
||||||
.hc-black .icon.estimatedQueryPlan,
|
.hc-black .codicon.estimatedQueryPlan,
|
||||||
.vs-dark .icon.actualQueryPlan,
|
.vs-dark .codicon.actualQueryPlan,
|
||||||
.hc-black .icon.actualQueryPlan {
|
.hc-black .codicon.actualQueryPlan {
|
||||||
background-image: url('query-plan-inverse.svg');
|
background-image: url('query-plan-inverse.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs .icon.createInsight {
|
.vs .codicon.createInsight {
|
||||||
background-image: url('create_insight.svg');
|
background-image: url('create_insight.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs-dark .icon.createInsight,
|
.vs-dark .codicon.createInsight,
|
||||||
.hc-black .icon.createInsight {
|
.hc-black .codicon.createInsight {
|
||||||
background-image: url('create_insight_inverse.svg');
|
background-image: url('create_insight_inverse.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs .icon.copyImage {
|
.vs .codicon.copyImage {
|
||||||
background-image: url('copy_image.svg');
|
background-image: url('copy_image.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs-dark .icon.copyImage,
|
.vs-dark .codicon.copyImage,
|
||||||
.hc-black .icon.copyImage {
|
.hc-black .codicon.copyImage {
|
||||||
background-image: url('copy_image_inverse.svg');
|
background-image: url('copy_image_inverse.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs .icon.saveAsImage {
|
.vs .codicon.saveAsImage {
|
||||||
background-image: url('save_as_image.svg');
|
background-image: url('save_as_image.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs-dark .icon.saveAsImage,
|
.vs-dark .codicon.saveAsImage,
|
||||||
.hc-black .icon.saveAsImage {
|
.hc-black .codicon.saveAsImage {
|
||||||
background-image: url('save_as_image_inverse.svg');
|
background-image: url('save_as_image_inverse.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs .icon.enablesqlcmd {
|
.vs .codicon.enablesqlcmd {
|
||||||
background-image: url('enable_sqlcmd.svg');
|
background-image: url('enable_sqlcmd.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs-dark .icon.enablesqlcmd,
|
.vs-dark .codicon.enablesqlcmd,
|
||||||
.hc-black .icon.enablesqlcmd {
|
.hc-black .codicon.enablesqlcmd {
|
||||||
background-image: url('enable_sqlcmd_inverse.svg');
|
background-image: url('enable_sqlcmd_inverse.svg');
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs .icon.disablesqlcmd {
|
.vs .codicon.disablesqlcmd {
|
||||||
background-image: url('disable_sqlcmd.svg');
|
background-image: url('disable_sqlcmd.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs-dark .icon.disablesqlcmd,
|
.vs-dark .codicon.disablesqlcmd,
|
||||||
.hc-black .icon.disablesqlcmd {
|
.hc-black .codicon.disablesqlcmd {
|
||||||
background-image: url('disable_sqlcmd_inverse.svg');
|
background-image: url('disable_sqlcmd_inverse.svg');
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -83,6 +83,6 @@
|
|||||||
|
|
||||||
/* Taskbar Icons */
|
/* Taskbar Icons */
|
||||||
|
|
||||||
.carbon-taskbar .icon {
|
.carbon-taskbar .codicon {
|
||||||
background-size: 11px;
|
background-size: 11px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -112,14 +112,14 @@ export class QueryTextEditor extends BaseTextEditor {
|
|||||||
|
|
||||||
public setWidth(width: number) {
|
public setWidth(width: number) {
|
||||||
if (this._dimension) {
|
if (this._dimension) {
|
||||||
this._dimension.width = width;
|
this._dimension = new DOM.Dimension(width, this._dimension.height);
|
||||||
this.layout();
|
this.layout();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public setHeight(height: number) {
|
public setHeight(height: number) {
|
||||||
if (this._dimension) {
|
if (this._dimension) {
|
||||||
this._dimension.height = height;
|
this._dimension = new DOM.Dimension(this._dimension.width, height);
|
||||||
this.layout(this._dimension);
|
this.layout(this._dimension);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,13 +5,12 @@
|
|||||||
|
|
||||||
import { IWorkbenchContribution } from 'vs/workbench/common/contributions';
|
import { IWorkbenchContribution } from 'vs/workbench/common/contributions';
|
||||||
import { IStorageService, StorageScope } from 'vs/platform/storage/common/storage';
|
import { IStorageService, StorageScope } from 'vs/platform/storage/common/storage';
|
||||||
import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry';
|
|
||||||
import { IOpenerService } from 'vs/platform/opener/common/opener';
|
|
||||||
import { INotificationService, Severity } from 'vs/platform/notification/common/notification';
|
import { INotificationService, Severity } from 'vs/platform/notification/common/notification';
|
||||||
import { localize } from 'vs/nls';
|
import { localize } from 'vs/nls';
|
||||||
import { onUnexpectedError } from 'vs/base/common/errors';
|
import { onUnexpectedError } from 'vs/base/common/errors';
|
||||||
import { IWindowService, IWindowsService } from 'vs/platform/windows/common/windows';
|
import { IWindowService } from 'vs/platform/windows/common/windows';
|
||||||
import { IConfigurationService } from 'vs/platform/configuration/common/configuration';
|
import { IConfigurationService } from 'vs/platform/configuration/common/configuration';
|
||||||
|
import { IHostService } from 'vs/workbench/services/host/browser/host';
|
||||||
|
|
||||||
export class EnablePreviewFeatures implements IWorkbenchContribution {
|
export class EnablePreviewFeatures implements IWorkbenchContribution {
|
||||||
|
|
||||||
@@ -19,11 +18,9 @@ export class EnablePreviewFeatures implements IWorkbenchContribution {
|
|||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
@IStorageService storageService: IStorageService,
|
@IStorageService storageService: IStorageService,
|
||||||
@IOpenerService openerService: IOpenerService,
|
|
||||||
@INotificationService notificationService: INotificationService,
|
@INotificationService notificationService: INotificationService,
|
||||||
@IWindowService windowService: IWindowService,
|
@IWindowService windowService: IWindowService,
|
||||||
@IWindowsService windowsService: IWindowsService,
|
@IHostService hostService: IHostService,
|
||||||
@ITelemetryService telemetryService: ITelemetryService,
|
|
||||||
@IConfigurationService configurationService: IConfigurationService
|
@IConfigurationService configurationService: IConfigurationService
|
||||||
) {
|
) {
|
||||||
let previewFeaturesEnabled = configurationService.getValue('workbench')['enablePreviewFeatures'];
|
let previewFeaturesEnabled = configurationService.getValue('workbench')['enablePreviewFeatures'];
|
||||||
@@ -32,7 +29,7 @@ export class EnablePreviewFeatures implements IWorkbenchContribution {
|
|||||||
}
|
}
|
||||||
Promise.all([
|
Promise.all([
|
||||||
windowService.isFocused(),
|
windowService.isFocused(),
|
||||||
windowsService.getWindowCount()
|
hostService.windowCount
|
||||||
]).then(([focused, count]) => {
|
]).then(([focused, count]) => {
|
||||||
if (!focused && count > 1) {
|
if (!focused && count > 1) {
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
@@ -5,16 +5,17 @@
|
|||||||
|
|
||||||
import { Action } from 'vs/base/common/actions';
|
import { Action } from 'vs/base/common/actions';
|
||||||
import { IWindowsService } from 'vs/platform/windows/common/windows';
|
import { IWindowsService } from 'vs/platform/windows/common/windows';
|
||||||
import { URI } from 'vs/base/common/uri';
|
//tslint:disable-next-line:layering
|
||||||
|
import { ElectronMainService } from 'vs/platform/electron/electron-main/electronMainService';
|
||||||
|
|
||||||
export class ShowFileInFolderAction extends Action {
|
export class ShowFileInFolderAction extends Action {
|
||||||
|
|
||||||
constructor(private path: string, label: string, private windowsService: IWindowsService) {
|
constructor(private path: string, label: string, private windowsService: ElectronMainService) {
|
||||||
super('showItemInFolder.action.id', label);
|
super('showItemInFolder.action.id', label);
|
||||||
}
|
}
|
||||||
|
|
||||||
run(): Promise<void> {
|
run(): Promise<void> {
|
||||||
return this.windowsService.showItemInFolder(URI.file(this.path));
|
return this.windowsService.showItemInFolder(this.path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -6,9 +6,6 @@
|
|||||||
import { escape } from 'vs/base/common/strings';
|
import { escape } from 'vs/base/common/strings';
|
||||||
import { localize } from 'vs/nls';
|
import { localize } from 'vs/nls';
|
||||||
|
|
||||||
export function used() {
|
|
||||||
}
|
|
||||||
|
|
||||||
let productQuality: string;
|
let productQuality: string;
|
||||||
|
|
||||||
export function setProductQuality(quality: string): void {
|
export function setProductQuality(quality: string): void {
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import { IStorageService } from 'vs/platform/storage/common/storage';
|
|||||||
import { IEditorGroup, IEditorGroupsService } from 'vs/workbench/services/editor/common/editorGroupsService';
|
import { IEditorGroup, IEditorGroupsService } from 'vs/workbench/services/editor/common/editorGroupsService';
|
||||||
import { SplitView, Sizing } from 'vs/base/browser/ui/splitview/splitview';
|
import { SplitView, Sizing } from 'vs/base/browser/ui/splitview/splitview';
|
||||||
import { Event } from 'vs/base/common/event';
|
import { Event } from 'vs/base/common/event';
|
||||||
import { dispose, IDisposable, DisposableStore } from 'vs/base/common/lifecycle';
|
import { DisposableStore } from 'vs/base/common/lifecycle';
|
||||||
import { ISelectionData } from 'azdata';
|
import { ISelectionData } from 'azdata';
|
||||||
import { Action, IActionViewItem } from 'vs/base/common/actions';
|
import { Action, IActionViewItem } from 'vs/base/common/actions';
|
||||||
import { IConfigurationService } from 'vs/platform/configuration/common/configuration';
|
import { IConfigurationService } from 'vs/platform/configuration/common/configuration';
|
||||||
|
|||||||
@@ -4,14 +4,13 @@
|
|||||||
*--------------------------------------------------------------------------------------------*/
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
import * as ConnectionConstants from 'sql/platform/connection/common/constants';
|
import * as ConnectionConstants from 'sql/platform/connection/common/constants';
|
||||||
import * as Constants from 'sql/workbench/parts/query/common/constants';
|
|
||||||
import * as LocalizedConstants from 'sql/workbench/parts/query/common/localizedConstants';
|
import * as LocalizedConstants from 'sql/workbench/parts/query/common/localizedConstants';
|
||||||
import { SaveResultsRequestParams } from 'azdata';
|
import { SaveResultsRequestParams } from 'azdata';
|
||||||
import { IQueryManagementService } from 'sql/platform/query/common/queryManagement';
|
import { IQueryManagementService } from 'sql/platform/query/common/queryManagement';
|
||||||
import { ISaveRequest, SaveFormat } from 'sql/workbench/parts/grid/common/interfaces';
|
import { ISaveRequest, SaveFormat } from 'sql/workbench/parts/grid/common/interfaces';
|
||||||
|
|
||||||
import { IWorkspaceContextService } from 'vs/platform/workspace/common/workspace';
|
import { IWorkspaceContextService } from 'vs/platform/workspace/common/workspace';
|
||||||
import { IWindowsService, FileFilter } from 'vs/platform/windows/common/windows';
|
import { FileFilter } from 'vs/platform/windows/common/windows';
|
||||||
import { Registry } from 'vs/platform/registry/common/platform';
|
import { Registry } from 'vs/platform/registry/common/platform';
|
||||||
import { URI } from 'vs/base/common/uri';
|
import { URI } from 'vs/base/common/uri';
|
||||||
import * as path from 'vs/base/common/path';
|
import * as path from 'vs/base/common/path';
|
||||||
@@ -26,6 +25,7 @@ import { getRootPath, resolveCurrentDirectory, resolveFilePath } from 'sql/platf
|
|||||||
import { IOutputService, IOutputChannelRegistry, IOutputChannel, Extensions as OutputExtensions } from 'vs/workbench/contrib/output/common/output';
|
import { IOutputService, IOutputChannelRegistry, IOutputChannel, Extensions as OutputExtensions } from 'vs/workbench/contrib/output/common/output';
|
||||||
import { IConfigurationService } from 'vs/platform/configuration/common/configuration';
|
import { IConfigurationService } from 'vs/platform/configuration/common/configuration';
|
||||||
import { IFileDialogService } from 'vs/platform/dialogs/common/dialogs';
|
import { IFileDialogService } from 'vs/platform/dialogs/common/dialogs';
|
||||||
|
import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation';
|
||||||
|
|
||||||
let prevSavePath: string;
|
let prevSavePath: string;
|
||||||
|
|
||||||
@@ -60,9 +60,9 @@ export class ResultSerializer {
|
|||||||
@IConfigurationService private _configurationService: IConfigurationService,
|
@IConfigurationService private _configurationService: IConfigurationService,
|
||||||
@IEditorService private _editorService: IEditorService,
|
@IEditorService private _editorService: IEditorService,
|
||||||
@IWorkspaceContextService private _contextService: IWorkspaceContextService,
|
@IWorkspaceContextService private _contextService: IWorkspaceContextService,
|
||||||
@IWindowsService private _windowsService: IWindowsService,
|
|
||||||
@IFileDialogService private readonly fileDialogService: IFileDialogService,
|
@IFileDialogService private readonly fileDialogService: IFileDialogService,
|
||||||
@INotificationService private _notificationService: INotificationService
|
@INotificationService private _notificationService: INotificationService,
|
||||||
|
@IInstantiationService private readonly _instantiationService: IInstantiationService
|
||||||
) { }
|
) { }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -313,14 +313,14 @@ export class ResultSerializer {
|
|||||||
[{
|
[{
|
||||||
label: nls.localize('openLocation', "Open file location"),
|
label: nls.localize('openLocation', "Open file location"),
|
||||||
run: () => {
|
run: () => {
|
||||||
let action = new ShowFileInFolderAction(savedFilePath, label || path.sep, this._windowsService);
|
let action = this._instantiationService.createInstance(ShowFileInFolderAction, savedFilePath, label || path.sep);
|
||||||
action.run();
|
action.run();
|
||||||
action.dispose();
|
action.dispose();
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
label: nls.localize('openFile', "Open file"),
|
label: nls.localize('openFile', "Open file"),
|
||||||
run: () => {
|
run: () => {
|
||||||
let action = new OpenFileInFolderAction(savedFilePath, label || path.sep, this._windowsService);
|
let action = this._instantiationService.createInstance(OpenFileInFolderAction, savedFilePath, label || path.sep);
|
||||||
action.run();
|
action.run();
|
||||||
action.dispose();
|
action.dispose();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -106,9 +106,9 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.vs-dark .connection-dialog .connection-history-actions .action-label.icon,
|
.vs-dark .connection-dialog .connection-history-actions .action-label.codicon,
|
||||||
.hc-black .connection-dialog .connection-history-actions .action-label.icon,
|
.hc-black .connection-dialog .connection-history-actions .action-label.codicon,
|
||||||
.connection-dialog .connection-history-actions .action-label.icon {
|
.connection-dialog .connection-history-actions .action-label.codicon {
|
||||||
display: block;
|
display: block;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
|
|||||||
@@ -25,6 +25,8 @@ import { getRandomTestPath } from 'vs/base/test/node/testUtils';
|
|||||||
import { IWorkbenchConstructionOptions } from 'vs/workbench/workbench.web.api';
|
import { IWorkbenchConstructionOptions } from 'vs/workbench/workbench.web.api';
|
||||||
|
|
||||||
class TestEnvironmentService implements IWorkbenchEnvironmentService {
|
class TestEnvironmentService implements IWorkbenchEnvironmentService {
|
||||||
|
settingsSyncPreviewResource: URI;
|
||||||
|
webviewExternalEndpoint: string;
|
||||||
logFile: URI;
|
logFile: URI;
|
||||||
options?: IWorkbenchConstructionOptions;
|
options?: IWorkbenchConstructionOptions;
|
||||||
galleryMachineIdResource?: URI;
|
galleryMachineIdResource?: URI;
|
||||||
|
|||||||
@@ -5,8 +5,7 @@
|
|||||||
|
|
||||||
import nls = require('vs/nls');
|
import nls = require('vs/nls');
|
||||||
import { Action } from 'vs/base/common/actions';
|
import { Action } from 'vs/base/common/actions';
|
||||||
import pkg from 'vs/platform/product/node/package';
|
import product from 'vs/platform/product/common/product';
|
||||||
import product from 'vs/platform/product/node/product';
|
|
||||||
import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation';
|
import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation';
|
||||||
import { URI } from 'vs/base/common/uri';
|
import { URI } from 'vs/base/common/uri';
|
||||||
import { IOpenerService } from 'vs/platform/opener/common/opener';
|
import { IOpenerService } from 'vs/platform/opener/common/opener';
|
||||||
@@ -37,7 +36,7 @@ export class ShowCurrentReleaseNotesAction extends AbstractShowReleaseNotesActio
|
|||||||
label = ShowCurrentReleaseNotesAction.LABEL,
|
label = ShowCurrentReleaseNotesAction.LABEL,
|
||||||
@IInstantiationService instantiationService: IInstantiationService
|
@IInstantiationService instantiationService: IInstantiationService
|
||||||
) {
|
) {
|
||||||
super(id, label, pkg.version, instantiationService);
|
super(id, label, product.version, instantiationService);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
4
src/typings/chokidar.d.ts
vendored
@@ -3,7 +3,7 @@
|
|||||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||||
*--------------------------------------------------------------------------------------------*/
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
declare module 'vscode-chokidar' {
|
declare module 'chokidar' {
|
||||||
|
|
||||||
// TypeScript Version: 3.0
|
// TypeScript Version: 3.0
|
||||||
|
|
||||||
@@ -197,4 +197,4 @@ declare module 'vscode-chokidar' {
|
|||||||
paths: string | string[],
|
paths: string | string[],
|
||||||
options?: WatchOptions
|
options?: WatchOptions
|
||||||
): FSWatcher;
|
): FSWatcher;
|
||||||
}
|
}
|
||||||
|
|||||||
1741
src/typings/electron.d.ts
vendored
@@ -203,16 +203,16 @@ export const toggleClass: (node: HTMLElement | SVGElement, className: string, sh
|
|||||||
class DomListener implements IDisposable {
|
class DomListener implements IDisposable {
|
||||||
|
|
||||||
private _handler: (e: any) => void;
|
private _handler: (e: any) => void;
|
||||||
private _node: Element | Window | Document;
|
private _node: EventTarget;
|
||||||
private readonly _type: string;
|
private readonly _type: string;
|
||||||
private readonly _useCapture: boolean;
|
private readonly _options: boolean | AddEventListenerOptions;
|
||||||
|
|
||||||
constructor(node: Element | Window | Document, type: string, handler: (e: any) => void, useCapture?: boolean) {
|
constructor(node: EventTarget, type: string, handler: (e: any) => void, options?: boolean | AddEventListenerOptions) {
|
||||||
this._node = node;
|
this._node = node;
|
||||||
this._type = type;
|
this._type = type;
|
||||||
this._handler = handler;
|
this._handler = handler;
|
||||||
this._useCapture = (useCapture || false);
|
this._options = (options || false);
|
||||||
this._node.addEventListener(this._type, this._handler, this._useCapture);
|
this._node.addEventListener(this._type, this._handler, this._options);
|
||||||
}
|
}
|
||||||
|
|
||||||
public dispose(): void {
|
public dispose(): void {
|
||||||
@@ -221,7 +221,7 @@ class DomListener implements IDisposable {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
this._node.removeEventListener(this._type, this._handler, this._useCapture);
|
this._node.removeEventListener(this._type, this._handler, this._options);
|
||||||
|
|
||||||
// Prevent leakers from holding on to the dom or handler func
|
// Prevent leakers from holding on to the dom or handler func
|
||||||
this._node = null!;
|
this._node = null!;
|
||||||
@@ -229,9 +229,10 @@ class DomListener implements IDisposable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export function addDisposableListener<K extends keyof GlobalEventHandlersEventMap>(node: Element | Window | Document, type: K, handler: (event: GlobalEventHandlersEventMap[K]) => void, useCapture?: boolean): IDisposable;
|
export function addDisposableListener<K extends keyof GlobalEventHandlersEventMap>(node: EventTarget, type: K, handler: (event: GlobalEventHandlersEventMap[K]) => void, useCapture?: boolean): IDisposable;
|
||||||
export function addDisposableListener(node: Element | Window | Document, type: string, handler: (event: any) => void, useCapture?: boolean): IDisposable;
|
export function addDisposableListener(node: EventTarget, type: string, handler: (event: any) => void, useCapture?: boolean): IDisposable;
|
||||||
export function addDisposableListener(node: Element | Window | Document, type: string, handler: (event: any) => void, useCapture?: boolean): IDisposable {
|
export function addDisposableListener(node: EventTarget, type: string, handler: (event: any) => void, useCapture: AddEventListenerOptions): IDisposable;
|
||||||
|
export function addDisposableListener(node: EventTarget, type: string, handler: (event: any) => void, useCapture?: boolean | AddEventListenerOptions): IDisposable {
|
||||||
return new DomListener(node, type, handler, useCapture);
|
return new DomListener(node, type, handler, useCapture);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -559,13 +560,11 @@ class SizeUtils {
|
|||||||
// Position & Dimension
|
// Position & Dimension
|
||||||
|
|
||||||
export class Dimension {
|
export class Dimension {
|
||||||
public width: number;
|
|
||||||
public height: number;
|
|
||||||
|
|
||||||
constructor(width: number, height: number) {
|
constructor(
|
||||||
this.width = width;
|
public readonly width: number,
|
||||||
this.height = height;
|
public readonly height: number,
|
||||||
}
|
) { }
|
||||||
|
|
||||||
static equals(a: Dimension | undefined, b: Dimension | undefined): boolean {
|
static equals(a: Dimension | undefined, b: Dimension | undefined): boolean {
|
||||||
if (a === b) {
|
if (a === b) {
|
||||||
|
|||||||
@@ -40,7 +40,8 @@
|
|||||||
transform: scale(1.272019649, 1.272019649); /* 1.272019649 = √φ */
|
transform: scale(1.272019649, 1.272019649); /* 1.272019649 = √φ */
|
||||||
}
|
}
|
||||||
|
|
||||||
.monaco-action-bar .action-item .icon {
|
.monaco-action-bar .action-item .icon,
|
||||||
|
.monaco-action-bar .action-item .codicon {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -95,4 +96,4 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -311,14 +311,14 @@ export class ActionViewItem extends BaseActionViewItem {
|
|||||||
|
|
||||||
if (this.options.icon) {
|
if (this.options.icon) {
|
||||||
this.cssClass = this.getAction().class;
|
this.cssClass = this.getAction().class;
|
||||||
DOM.addClass(this.label, 'icon');
|
DOM.addClass(this.label, 'codicon');
|
||||||
if (this.cssClass) {
|
if (this.cssClass) {
|
||||||
DOM.addClasses(this.label, this.cssClass);
|
DOM.addClasses(this.label, this.cssClass);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.updateEnabled();
|
this.updateEnabled();
|
||||||
} else {
|
} else {
|
||||||
DOM.removeClass(this.label, 'icon');
|
DOM.removeClass(this.label, 'codicon');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ export class Checkbox extends Widget {
|
|||||||
|
|
||||||
this.domNode = document.createElement('div');
|
this.domNode = document.createElement('div');
|
||||||
this.domNode.title = this._opts.title;
|
this.domNode.title = this._opts.title;
|
||||||
this.domNode.className = 'monaco-custom-checkbox ' + (this._opts.actionClassName || '') + ' ' + (this._checked ? 'checked' : 'unchecked');
|
this.domNode.className = 'monaco-custom-checkbox codicon ' + (this._opts.actionClassName || '') + ' ' + (this._checked ? 'checked' : 'unchecked');
|
||||||
this.domNode.tabIndex = 0;
|
this.domNode.tabIndex = 0;
|
||||||
this.domNode.setAttribute('role', 'checkbox');
|
this.domNode.setAttribute('role', 'checkbox');
|
||||||
this.domNode.setAttribute('aria-checked', String(this._checked));
|
this.domNode.setAttribute('aria-checked', String(this._checked));
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
/*---------------------------------------------------------------------------------------------
|
||||||
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||||
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
@keyframes codicon-spin {
|
||||||
|
100% {
|
||||||
|
transform:rotate(360deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.codicon-animation-spin {
|
||||||
|
animation: octicon-spin 1.5s linear infinite;
|
||||||
|
}
|
||||||
354
src/vs/base/browser/ui/codiconLabel/codicon/codicon.css
Normal file
@@ -0,0 +1,354 @@
|
|||||||
|
/*---------------------------------------------------------------------------------------------
|
||||||
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||||
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "codicon";
|
||||||
|
src: url("./codicon.ttf?e042d2dda15ef7b36b910e3edf539f26") format("truetype");
|
||||||
|
}
|
||||||
|
|
||||||
|
.codicon[class*='codicon-'] {
|
||||||
|
font: normal normal normal 16px/1 codicon;
|
||||||
|
display: inline-block;
|
||||||
|
text-decoration: none;
|
||||||
|
text-rendering: auto;
|
||||||
|
text-align: center;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.codicon-add:before { content: "\ea60" }
|
||||||
|
.codicon-plus:before { content: "\ea60" }
|
||||||
|
.codicon-gist-new:before { content: "\ea60" }
|
||||||
|
.codicon-repo-create:before { content: "\ea60" }
|
||||||
|
.codicon-lightbulb:before { content: "\ea61" }
|
||||||
|
.codicon-light-bulb:before { content: "\ea61" }
|
||||||
|
.codicon-repo:before { content: "\ea62" }
|
||||||
|
.codicon-repo-delete:before { content: "\ea62" }
|
||||||
|
.codicon-gist-fork:before { content: "\ea63" }
|
||||||
|
.codicon-repo-forked:before { content: "\ea63" }
|
||||||
|
.codicon-git-pull-request:before { content: "\ea64" }
|
||||||
|
.codicon-git-pull-request-abandoned:before { content: "\ea64" }
|
||||||
|
.codicon-record-keys:before { content: "\ea65" }
|
||||||
|
.codicon-keyboard:before { content: "\ea65" }
|
||||||
|
.codicon-tag:before { content: "\ea66" }
|
||||||
|
.codicon-tag-add:before { content: "\ea66" }
|
||||||
|
.codicon-tag-remove:before { content: "\ea66" }
|
||||||
|
.codicon-person:before { content: "\ea67" }
|
||||||
|
.codicon-person-add:before { content: "\ea67" }
|
||||||
|
.codicon-person-follow:before { content: "\ea67" }
|
||||||
|
.codicon-person-outline:before { content: "\ea67" }
|
||||||
|
.codicon-person-filled:before { content: "\ea67" }
|
||||||
|
.codicon-git-branch:before { content: "\ea68" }
|
||||||
|
.codicon-git-branch-create:before { content: "\ea68" }
|
||||||
|
.codicon-git-branch-delete:before { content: "\ea68" }
|
||||||
|
.codicon-source-control:before { content: "\ea68" }
|
||||||
|
.codicon-mirror:before { content: "\ea69" }
|
||||||
|
.codicon-mirror-public:before { content: "\ea69" }
|
||||||
|
.codicon-star:before { content: "\ea6a" }
|
||||||
|
.codicon-star-add:before { content: "\ea6a" }
|
||||||
|
.codicon-star-delete:before { content: "\ea6a" }
|
||||||
|
.codicon-comment:before { content: "\ea6b" }
|
||||||
|
.codicon-comment-add:before { content: "\ea6b" }
|
||||||
|
.codicon-alert:before { content: "\ea6c" }
|
||||||
|
.codicon-warning:before { content: "\ea6c" }
|
||||||
|
.codicon-search:before { content: "\ea6d" }
|
||||||
|
.codicon-search-save:before { content: "\ea6d" }
|
||||||
|
.codicon-log-out:before { content: "\ea6e" }
|
||||||
|
.codicon-sign-out:before { content: "\ea6e" }
|
||||||
|
.codicon-log-in:before { content: "\ea6f" }
|
||||||
|
.codicon-sign-in:before { content: "\ea6f" }
|
||||||
|
.codicon-eye:before { content: "\ea70" }
|
||||||
|
.codicon-eye-unwatch:before { content: "\ea70" }
|
||||||
|
.codicon-eye-watch:before { content: "\ea70" }
|
||||||
|
.codicon-circle-filled:before { content: "\ea71" }
|
||||||
|
.codicon-primitive-dot:before { content: "\ea71" }
|
||||||
|
.codicon-stop:before { content: "\ea72" }
|
||||||
|
.codicon-primitive-square:before { content: "\ea72" }
|
||||||
|
.codicon-edit:before { content: "\ea73" }
|
||||||
|
.codicon-pencil:before { content: "\ea73" }
|
||||||
|
.codicon-info:before { content: "\ea74" }
|
||||||
|
.codicon-issue-opened:before { content: "\ea74" }
|
||||||
|
.codicon-gist-private:before { content: "\ea75" }
|
||||||
|
.codicon-git-fork-private:before { content: "\ea75" }
|
||||||
|
.codicon-lock:before { content: "\ea75" }
|
||||||
|
.codicon-mirror-private:before { content: "\ea75" }
|
||||||
|
.codicon-close:before { content: "\ea76" }
|
||||||
|
.codicon-remove-close:before { content: "\ea76" }
|
||||||
|
.codicon-x:before { content: "\ea76" }
|
||||||
|
.codicon-repo-sync:before { content: "\ea77" }
|
||||||
|
.codicon-sync:before { content: "\ea77" }
|
||||||
|
.codicon-clone:before { content: "\ea78" }
|
||||||
|
.codicon-desktop-download:before { content: "\ea78" }
|
||||||
|
.codicon-beaker:before { content: "\ea79" }
|
||||||
|
.codicon-microscope:before { content: "\ea79" }
|
||||||
|
.codicon-vm:before { content: "\ea7a" }
|
||||||
|
.codicon-device-desktop:before { content: "\ea7a" }
|
||||||
|
.codicon-file:before { content: "\ea7b" }
|
||||||
|
.codicon-file-text:before { content: "\ea7b" }
|
||||||
|
.codicon-more:before { content: "\ea7c" }
|
||||||
|
.codicon-kebab-horizontal:before { content: "\ea7c" }
|
||||||
|
.codicon-mail-reply:before { content: "\ea7d" }
|
||||||
|
.codicon-reply:before { content: "\ea7d" }
|
||||||
|
.codicon-organization:before { content: "\ea7e" }
|
||||||
|
.codicon-organization-filled:before { content: "\ea7e" }
|
||||||
|
.codicon-organization-outline:before { content: "\ea7e" }
|
||||||
|
.codicon-new-file:before { content: "\ea7f" }
|
||||||
|
.codicon-file-add:before { content: "\ea7f" }
|
||||||
|
.codicon-new-folder:before { content: "\ea80" }
|
||||||
|
.codicon-file-directory-create:before { content: "\ea80" }
|
||||||
|
.codicon-Vector:before { content: "\f101" }
|
||||||
|
.codicon-activate-breakpoints:before { content: "\f102" }
|
||||||
|
.codicon-archive:before { content: "\f103" }
|
||||||
|
.codicon-array:before { content: "\f104" }
|
||||||
|
.codicon-arrow-both:before { content: "\f105" }
|
||||||
|
.codicon-arrow-down:before { content: "\f106" }
|
||||||
|
.codicon-arrow-left:before { content: "\f107" }
|
||||||
|
.codicon-arrow-right:before { content: "\f108" }
|
||||||
|
.codicon-arrow-small-down:before { content: "\f109" }
|
||||||
|
.codicon-arrow-small-left:before { content: "\f10a" }
|
||||||
|
.codicon-arrow-small-right:before { content: "\f10b" }
|
||||||
|
.codicon-arrow-small-up:before { content: "\f10c" }
|
||||||
|
.codicon-arrow-up:before { content: "\f10d" }
|
||||||
|
.codicon-bell:before { content: "\f10e" }
|
||||||
|
.codicon-bold:before { content: "\f10f" }
|
||||||
|
.codicon-book:before { content: "\f110" }
|
||||||
|
.codicon-bookmark:before { content: "\f111" }
|
||||||
|
.codicon-boolean:before { content: "\f112" }
|
||||||
|
.codicon-breakpoint-conditional-unverified:before { content: "\f113" }
|
||||||
|
.codicon-breakpoint-conditional:before { content: "\f114" }
|
||||||
|
.codicon-breakpoint-data-unverified:before { content: "\f115" }
|
||||||
|
.codicon-breakpoint-data:before { content: "\f116" }
|
||||||
|
.codicon-breakpoint-log-unverified:before { content: "\f117" }
|
||||||
|
.codicon-breakpoint-log:before { content: "\f118" }
|
||||||
|
.codicon-briefcase:before { content: "\f119" }
|
||||||
|
.codicon-broadcast:before { content: "\f11a" }
|
||||||
|
.codicon-browser:before { content: "\f11b" }
|
||||||
|
.codicon-bug:before { content: "\f11c" }
|
||||||
|
.codicon-calendar:before { content: "\f11d" }
|
||||||
|
.codicon-case-sensitive:before { content: "\f11e" }
|
||||||
|
.codicon-check:before { content: "\f11f" }
|
||||||
|
.codicon-checklist:before { content: "\f120" }
|
||||||
|
.codicon-chevron-down:before { content: "\f121" }
|
||||||
|
.codicon-chevron-left:before { content: "\f122" }
|
||||||
|
.codicon-chevron-right:before { content: "\f123" }
|
||||||
|
.codicon-chevron-up:before { content: "\f124" }
|
||||||
|
.codicon-circle-outline:before { content: "\f125" }
|
||||||
|
.codicon-circle-slash:before { content: "\f126" }
|
||||||
|
.codicon-circuit-board:before { content: "\f127" }
|
||||||
|
.codicon-class:before { content: "\f128" }
|
||||||
|
.codicon-clear-all:before { content: "\f129" }
|
||||||
|
.codicon-clippy:before { content: "\f12a" }
|
||||||
|
.codicon-close-all:before { content: "\f12b" }
|
||||||
|
.codicon-cloud-download:before { content: "\f12c" }
|
||||||
|
.codicon-cloud-upload:before { content: "\f12d" }
|
||||||
|
.codicon-code:before { content: "\f12e" }
|
||||||
|
.codicon-collapse-all:before { content: "\f12f" }
|
||||||
|
.codicon-color-mode:before { content: "\f130" }
|
||||||
|
.codicon-color:before { content: "\f131" }
|
||||||
|
.codicon-comment-discussion:before { content: "\f132" }
|
||||||
|
.codicon-compare-changes:before { content: "\f133" }
|
||||||
|
.codicon-console:before { content: "\f134" }
|
||||||
|
.codicon-constant:before { content: "\f135" }
|
||||||
|
.codicon-continue:before { content: "\f136" }
|
||||||
|
.codicon-credit-card:before { content: "\f137" }
|
||||||
|
.codicon-current-and-breakpoint:before { content: "\f138" }
|
||||||
|
.codicon-current:before { content: "\f139" }
|
||||||
|
.codicon-dash:before { content: "\f13a" }
|
||||||
|
.codicon-dashboard:before { content: "\f13b" }
|
||||||
|
.codicon-database:before { content: "\f13c" }
|
||||||
|
.codicon-debug:before { content: "\f13d" }
|
||||||
|
.codicon-device-camera-video:before { content: "\f13e" }
|
||||||
|
.codicon-device-camera:before { content: "\f13f" }
|
||||||
|
.codicon-device-mobile:before { content: "\f140" }
|
||||||
|
.codicon-diff-added:before { content: "\f141" }
|
||||||
|
.codicon-diff-ignored:before { content: "\f142" }
|
||||||
|
.codicon-diff-modified:before { content: "\f143" }
|
||||||
|
.codicon-diff-removed:before { content: "\f144" }
|
||||||
|
.codicon-diff-renamed:before { content: "\f145" }
|
||||||
|
.codicon-diff:before { content: "\f146" }
|
||||||
|
.codicon-discard:before { content: "\f147" }
|
||||||
|
.codicon-disconnect-:before { content: "\f148" }
|
||||||
|
.codicon-editor-layout:before { content: "\f149" }
|
||||||
|
.codicon-ellipsis:before { content: "\f14a" }
|
||||||
|
.codicon-empty-window:before { content: "\f14b" }
|
||||||
|
.codicon-enumerator-member:before { content: "\f14c" }
|
||||||
|
.codicon-enumerator:before { content: "\f14d" }
|
||||||
|
.codicon-error:before { content: "\f14e" }
|
||||||
|
.codicon-event:before { content: "\f14f" }
|
||||||
|
.codicon-exclude:before { content: "\f150" }
|
||||||
|
.codicon-extensions:before { content: "\f151" }
|
||||||
|
.codicon-eye-closed:before { content: "\f152" }
|
||||||
|
.codicon-field:before { content: "\f153" }
|
||||||
|
.codicon-file-binary:before { content: "\f154" }
|
||||||
|
.codicon-file-code:before { content: "\f155" }
|
||||||
|
.codicon-file-media:before { content: "\f156" }
|
||||||
|
.codicon-file-pdf:before { content: "\f157" }
|
||||||
|
.codicon-file-submodule:before { content: "\f158" }
|
||||||
|
.codicon-file-symlink-directory:before { content: "\f159" }
|
||||||
|
.codicon-file-symlink-file:before { content: "\f15a" }
|
||||||
|
.codicon-file-zip:before { content: "\f15b" }
|
||||||
|
.codicon-files:before { content: "\f15c" }
|
||||||
|
.codicon-filter:before { content: "\f15d" }
|
||||||
|
.codicon-flame:before { content: "\f15e" }
|
||||||
|
.codicon-fold-down:before { content: "\f15f" }
|
||||||
|
.codicon-fold-up:before { content: "\f160" }
|
||||||
|
.codicon-fold:before { content: "\f161" }
|
||||||
|
.codicon-folder-active:before { content: "\f162" }
|
||||||
|
.codicon-folder-opened:before { content: "\f163" }
|
||||||
|
.codicon-folder:before { content: "\f164" }
|
||||||
|
.codicon-gift:before { content: "\f165" }
|
||||||
|
.codicon-gist-secret:before { content: "\f166" }
|
||||||
|
.codicon-gist:before { content: "\f167" }
|
||||||
|
.codicon-git-commit:before { content: "\f168" }
|
||||||
|
.codicon-git-compare:before { content: "\f169" }
|
||||||
|
.codicon-git-merge:before { content: "\f16a" }
|
||||||
|
.codicon-github-action:before { content: "\f16b" }
|
||||||
|
.codicon-github-alt:before { content: "\f16c" }
|
||||||
|
.codicon-github:before { content: "\f16d" }
|
||||||
|
.codicon-globe:before { content: "\f16e" }
|
||||||
|
.codicon-go-to-file:before { content: "\f16f" }
|
||||||
|
.codicon-grabber:before { content: "\f170" }
|
||||||
|
.codicon-graph:before { content: "\f171" }
|
||||||
|
.codicon-gripper:before { content: "\f172" }
|
||||||
|
.codicon-heart:before { content: "\f173" }
|
||||||
|
.codicon-history:before { content: "\f174" }
|
||||||
|
.codicon-home:before { content: "\f175" }
|
||||||
|
.codicon-horizontal-rule:before { content: "\f176" }
|
||||||
|
.codicon-hubot:before { content: "\f177" }
|
||||||
|
.codicon-inbox:before { content: "\f178" }
|
||||||
|
.codicon-interface:before { content: "\f179" }
|
||||||
|
.codicon-issue-closed:before { content: "\f17a" }
|
||||||
|
.codicon-issue-reopened:before { content: "\f17b" }
|
||||||
|
.codicon-issues:before { content: "\f17c" }
|
||||||
|
.codicon-italic:before { content: "\f17d" }
|
||||||
|
.codicon-jersey:before { content: "\f17e" }
|
||||||
|
.codicon-json:before { content: "\f17f" }
|
||||||
|
.codicon-kebab-vertical:before { content: "\f180" }
|
||||||
|
.codicon-key:before { content: "\f181" }
|
||||||
|
.codicon-keyword:before { content: "\f182" }
|
||||||
|
.codicon-law:before { content: "\f183" }
|
||||||
|
.codicon-lightbulb-autofix:before { content: "\f184" }
|
||||||
|
.codicon-link-external:before { content: "\f185" }
|
||||||
|
.codicon-link:before { content: "\f186" }
|
||||||
|
.codicon-list-ordered:before { content: "\f187" }
|
||||||
|
.codicon-list-unordered:before { content: "\f188" }
|
||||||
|
.codicon-live-share:before { content: "\f189" }
|
||||||
|
.codicon-loading:before { content: "\f18a" }
|
||||||
|
.codicon-location:before { content: "\f18b" }
|
||||||
|
.codicon-mail-read:before { content: "\f18c" }
|
||||||
|
.codicon-mail:before { content: "\f18d" }
|
||||||
|
.codicon-markdown:before { content: "\f18e" }
|
||||||
|
.codicon-megaphone:before { content: "\f18f" }
|
||||||
|
.codicon-mention:before { content: "\f190" }
|
||||||
|
.codicon-method:before { content: "\f191" }
|
||||||
|
.codicon-milestone:before { content: "\f192" }
|
||||||
|
.codicon-misc:before { content: "\f193" }
|
||||||
|
.codicon-mortar-board:before { content: "\f194" }
|
||||||
|
.codicon-move:before { content: "\f195" }
|
||||||
|
.codicon-multiple-windows:before { content: "\f196" }
|
||||||
|
.codicon-mute:before { content: "\f197" }
|
||||||
|
.codicon-namespace:before { content: "\f198" }
|
||||||
|
.codicon-no-newline:before { content: "\f199" }
|
||||||
|
.codicon-note:before { content: "\f19a" }
|
||||||
|
.codicon-numeric:before { content: "\f19b" }
|
||||||
|
.codicon-octoface:before { content: "\f19c" }
|
||||||
|
.codicon-open-preview:before { content: "\f19d" }
|
||||||
|
.codicon-operator:before { content: "\f19e" }
|
||||||
|
.codicon-package:before { content: "\f19f" }
|
||||||
|
.codicon-paintcan:before { content: "\f1a0" }
|
||||||
|
.codicon-parameter:before { content: "\f1a1" }
|
||||||
|
.codicon-pause:before { content: "\f1a2" }
|
||||||
|
.codicon-pin:before { content: "\f1a3" }
|
||||||
|
.codicon-play:before { content: "\f1a4" }
|
||||||
|
.codicon-plug:before { content: "\f1a5" }
|
||||||
|
.codicon-preserve-case:before { content: "\f1a6" }
|
||||||
|
.codicon-preview:before { content: "\f1a7" }
|
||||||
|
.codicon-project:before { content: "\f1a8" }
|
||||||
|
.codicon-property:before { content: "\f1a9" }
|
||||||
|
.codicon-pulse:before { content: "\f1aa" }
|
||||||
|
.codicon-question:before { content: "\f1ab" }
|
||||||
|
.codicon-quote:before { content: "\f1ac" }
|
||||||
|
.codicon-radio-tower:before { content: "\f1ad" }
|
||||||
|
.codicon-reactions:before { content: "\f1ae" }
|
||||||
|
.codicon-references:before { content: "\f1af" }
|
||||||
|
.codicon-refresh:before { content: "\f1b0" }
|
||||||
|
.codicon-regex:before { content: "\f1b1" }
|
||||||
|
.codicon-remote:before { content: "\f1b2" }
|
||||||
|
.codicon-remove:before { content: "\f1b3" }
|
||||||
|
.codicon-replace-all:before { content: "\f1b4" }
|
||||||
|
.codicon-replace:before { content: "\f1b5" }
|
||||||
|
.codicon-repo-clone:before { content: "\f1b6" }
|
||||||
|
.codicon-repo-force-push:before { content: "\f1b7" }
|
||||||
|
.codicon-repo-pull:before { content: "\f1b8" }
|
||||||
|
.codicon-repo-push:before { content: "\f1b9" }
|
||||||
|
.codicon-report:before { content: "\f1ba" }
|
||||||
|
.codicon-request-changes:before { content: "\f1bb" }
|
||||||
|
.codicon-restart:before { content: "\f1bc" }
|
||||||
|
.codicon-rocket:before { content: "\f1bd" }
|
||||||
|
.codicon-root-folder-opened:before { content: "\f1be" }
|
||||||
|
.codicon-root-folder:before { content: "\f1bf" }
|
||||||
|
.codicon-rss:before { content: "\f1c0" }
|
||||||
|
.codicon-ruby:before { content: "\f1c1" }
|
||||||
|
.codicon-ruler:before { content: "\f1c2" }
|
||||||
|
.codicon-save-all:before { content: "\f1c3" }
|
||||||
|
.codicon-save-as:before { content: "\f1c4" }
|
||||||
|
.codicon-save:before { content: "\f1c5" }
|
||||||
|
.codicon-screen-full:before { content: "\f1c6" }
|
||||||
|
.codicon-screen-normal:before { content: "\f1c7" }
|
||||||
|
.codicon-search-stop:before { content: "\f1c8" }
|
||||||
|
.codicon-selection:before { content: "\f1c9" }
|
||||||
|
.codicon-server:before { content: "\f1ca" }
|
||||||
|
.codicon-settings:before { content: "\f1cb" }
|
||||||
|
.codicon-shield:before { content: "\f1cc" }
|
||||||
|
.codicon-smiley:before { content: "\f1cd" }
|
||||||
|
.codicon-snippet:before { content: "\f1ce" }
|
||||||
|
.codicon-sort-precedence:before { content: "\f1cf" }
|
||||||
|
.codicon-split-horizontal:before { content: "\f1d0" }
|
||||||
|
.codicon-split-vertical:before { content: "\f1d1" }
|
||||||
|
.codicon-squirrel:before { content: "\f1d2" }
|
||||||
|
.codicon-star-empty:before { content: "\f1d3" }
|
||||||
|
.codicon-star-full:before { content: "\f1d4" }
|
||||||
|
.codicon-star-half:before { content: "\f1d5" }
|
||||||
|
.codicon-start:before { content: "\f1d6" }
|
||||||
|
.codicon-step-into:before { content: "\f1d7" }
|
||||||
|
.codicon-step-out:before { content: "\f1d8" }
|
||||||
|
.codicon-step-over:before { content: "\f1d9" }
|
||||||
|
.codicon-string:before { content: "\f1da" }
|
||||||
|
.codicon-structure:before { content: "\f1db" }
|
||||||
|
.codicon-tasklist:before { content: "\f1dc" }
|
||||||
|
.codicon-telescope:before { content: "\f1dd" }
|
||||||
|
.codicon-text-size:before { content: "\f1de" }
|
||||||
|
.codicon-three-bars:before { content: "\f1df" }
|
||||||
|
.codicon-thumbsdown:before { content: "\f1e0" }
|
||||||
|
.codicon-thumbsup:before { content: "\f1e1" }
|
||||||
|
.codicon-tools:before { content: "\f1e2" }
|
||||||
|
.codicon-trash:before { content: "\f1e3" }
|
||||||
|
.codicon-triangle-down:before { content: "\f1e4" }
|
||||||
|
.codicon-triangle-left:before { content: "\f1e5" }
|
||||||
|
.codicon-triangle-right:before { content: "\f1e6" }
|
||||||
|
.codicon-triangle-up:before { content: "\f1e7" }
|
||||||
|
.codicon-twitter:before { content: "\f1e8" }
|
||||||
|
.codicon-unfold:before { content: "\f1e9" }
|
||||||
|
.codicon-unlock:before { content: "\f1ea" }
|
||||||
|
.codicon-unmute:before { content: "\f1eb" }
|
||||||
|
.codicon-unverified:before { content: "\f1ec" }
|
||||||
|
.codicon-variable:before { content: "\f1ed" }
|
||||||
|
.codicon-verified:before { content: "\f1ee" }
|
||||||
|
.codicon-versions:before { content: "\f1ef" }
|
||||||
|
.codicon-vm-active:before { content: "\f1f0" }
|
||||||
|
.codicon-vm-outline:before { content: "\f1f1" }
|
||||||
|
.codicon-vm-running:before { content: "\f1f2" }
|
||||||
|
.codicon-watch:before { content: "\f1f3" }
|
||||||
|
.codicon-whitespace:before { content: "\f1f4" }
|
||||||
|
.codicon-whole-word:before { content: "\f1f5" }
|
||||||
|
.codicon-window:before { content: "\f1f6" }
|
||||||
|
.codicon-word-wrap:before { content: "\f1f7" }
|
||||||
|
.codicon-zoom-in:before { content: "\f1f8" }
|
||||||
|
.codicon-zoom-out:before { content: "\f1f9" }
|
||||||
BIN
src/vs/base/browser/ui/codiconLabel/codicon/codicon.ttf
Normal file
24
src/vs/base/browser/ui/codiconLabel/codiconLabel.mock.ts
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
/*---------------------------------------------------------------------------------------------
|
||||||
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||||
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
import { escape } from 'vs/base/common/strings';
|
||||||
|
|
||||||
|
export function renderCodicons(text: string): string {
|
||||||
|
return escape(text);
|
||||||
|
}
|
||||||
|
|
||||||
|
export class CodiconLabel {
|
||||||
|
|
||||||
|
private _container: HTMLElement;
|
||||||
|
|
||||||
|
constructor(container: HTMLElement) {
|
||||||
|
this._container = container;
|
||||||
|
}
|
||||||
|
|
||||||
|
set text(text: string) {
|
||||||
|
this._container.innerHTML = renderCodicons(text || '');
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
33
src/vs/base/browser/ui/codiconLabel/codiconLabel.ts
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
/*---------------------------------------------------------------------------------------------
|
||||||
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||||
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
import 'vs/css!./codicon/codicon';
|
||||||
|
import 'vs/css!./codicon/codicon-animations';
|
||||||
|
import { escape } from 'vs/base/common/strings';
|
||||||
|
|
||||||
|
function expand(text: string): string {
|
||||||
|
return text.replace(/\$\(((.+?)(~(.*?))?)\)/g, (_match, _g1, name, _g3, animation) => {
|
||||||
|
return `<span class="codicon codicon-${name} ${animation ? `codicon-animation-${animation}` : ''}"></span>`;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
export function renderCodicons(label: string): string {
|
||||||
|
return expand(escape(label));
|
||||||
|
}
|
||||||
|
|
||||||
|
export class CodiconLabel {
|
||||||
|
|
||||||
|
constructor(
|
||||||
|
private readonly _container: HTMLElement
|
||||||
|
) { }
|
||||||
|
|
||||||
|
set text(text: string) {
|
||||||
|
this._container.innerHTML = renderCodicons(text || '');
|
||||||
|
}
|
||||||
|
|
||||||
|
set title(title: string) {
|
||||||
|
this._container.title = title;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.495 9.052L8.386 11.402H9.477L6.237 3H5.217L2 11.402H3.095L3.933 9.052H7.495ZM5.811 4.453L5.855 4.588L7.173 8.162H4.255L5.562 4.588L5.606 4.453L5.644 4.297L5.676 4.145L5.697 4.019H5.72L5.744 4.145L5.773 4.297L5.811 4.453ZM13.795 10.464V11.4H14.755V7.498C14.755 6.779 14.575 6.226 14.216 5.837C13.857 5.448 13.327 5.254 12.628 5.254C12.429 5.254 12.227 5.273 12.022 5.31C11.817 5.347 11.622 5.394 11.439 5.451C11.256 5.508 11.091 5.569 10.944 5.636C10.797 5.703 10.683 5.765 10.601 5.824V6.808C10.867 6.578 11.167 6.397 11.505 6.268C11.843 6.139 12.194 6.075 12.557 6.075C12.745 6.075 12.915 6.103 13.07 6.16C13.225 6.217 13.357 6.306 13.466 6.427C13.575 6.548 13.659 6.706 13.718 6.899C13.777 7.092 13.806 7.326 13.806 7.599L11.995 7.851C11.651 7.898 11.355 7.977 11.107 8.088C10.859 8.199 10.654 8.339 10.492 8.507C10.33 8.675 10.21 8.868 10.132 9.087C10.054 9.306 10.015 9.546 10.015 9.808C10.015 10.054 10.057 10.283 10.139 10.496C10.221 10.709 10.342 10.893 10.502 11.047C10.662 11.201 10.862 11.323 11.1 11.413C11.338 11.503 11.613 11.548 11.926 11.548C12.328 11.548 12.686 11.456 13.001 11.27C13.316 11.084 13.573 10.816 13.772 10.464H13.795ZM11.667 8.721C11.843 8.657 12.068 8.607 12.341 8.572L13.806 8.367V8.976C13.806 9.222 13.765 9.451 13.683 9.664C13.601 9.877 13.486 10.063 13.34 10.221C13.194 10.379 13.019 10.503 12.816 10.593C12.613 10.683 12.39 10.728 12.148 10.728C11.961 10.728 11.795 10.703 11.653 10.652C11.511 10.601 11.392 10.53 11.296 10.441C11.2 10.352 11.127 10.247 11.076 10.125C11.025 10.003 11 9.873 11 9.732C11 9.568 11.018 9.421 11.055 9.292C11.092 9.163 11.16 9.051 11.257 8.958C11.354 8.865 11.491 8.785 11.667 8.721Z" fill="#C5C5C5"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.8 KiB |
@@ -1,3 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.495 9.052L8.386 11.402H9.477L6.237 3H5.217L2 11.402H3.095L3.933 9.052H7.495ZM5.811 4.453L5.855 4.588L7.173 8.162H4.255L5.562 4.588L5.606 4.453L5.644 4.297L5.676 4.145L5.697 4.019H5.72L5.744 4.145L5.773 4.297L5.811 4.453ZM13.795 10.464V11.4H14.755V7.498C14.755 6.779 14.575 6.226 14.216 5.837C13.857 5.448 13.327 5.254 12.628 5.254C12.429 5.254 12.227 5.273 12.022 5.31C11.817 5.347 11.622 5.394 11.439 5.451C11.256 5.508 11.091 5.569 10.944 5.636C10.797 5.703 10.683 5.765 10.601 5.824V6.808C10.867 6.578 11.167 6.397 11.505 6.268C11.843 6.139 12.194 6.075 12.557 6.075C12.745 6.075 12.915 6.103 13.07 6.16C13.225 6.217 13.357 6.306 13.466 6.427C13.575 6.548 13.659 6.706 13.718 6.899C13.777 7.092 13.806 7.326 13.806 7.599L11.995 7.851C11.651 7.898 11.355 7.977 11.107 8.088C10.859 8.199 10.654 8.339 10.492 8.507C10.33 8.675 10.21 8.868 10.132 9.087C10.054 9.306 10.015 9.546 10.015 9.808C10.015 10.054 10.057 10.283 10.139 10.496C10.221 10.709 10.342 10.893 10.502 11.047C10.662 11.201 10.862 11.323 11.1 11.413C11.338 11.503 11.613 11.548 11.926 11.548C12.328 11.548 12.686 11.456 13.001 11.27C13.316 11.084 13.573 10.816 13.772 10.464H13.795ZM11.667 8.721C11.843 8.657 12.068 8.607 12.341 8.572L13.806 8.367V8.976C13.806 9.222 13.765 9.451 13.683 9.664C13.601 9.877 13.486 10.063 13.34 10.221C13.194 10.379 13.019 10.503 12.816 10.593C12.613 10.683 12.39 10.728 12.148 10.728C11.961 10.728 11.795 10.703 11.653 10.652C11.511 10.601 11.392 10.53 11.296 10.441C11.2 10.352 11.127 10.247 11.076 10.125C11.025 10.003 11 9.873 11 9.732C11 9.568 11.018 9.421 11.055 9.292C11.092 9.163 11.16 9.051 11.257 8.958C11.354 8.865 11.491 8.785 11.667 8.721Z" fill="white"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.8 KiB |
@@ -1,3 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.495 9.052L8.386 11.402H9.477L6.237 3H5.217L2 11.402H3.095L3.933 9.052H7.495ZM5.811 4.453L5.855 4.588L7.173 8.162H4.255L5.562 4.588L5.606 4.453L5.644 4.297L5.676 4.145L5.697 4.019H5.72L5.744 4.145L5.773 4.297L5.811 4.453ZM13.795 10.464V11.4H14.755V7.498C14.755 6.779 14.575 6.226 14.216 5.837C13.857 5.448 13.327 5.254 12.628 5.254C12.429 5.254 12.227 5.273 12.022 5.31C11.817 5.347 11.622 5.394 11.439 5.451C11.256 5.508 11.091 5.569 10.944 5.636C10.797 5.703 10.683 5.765 10.601 5.824V6.808C10.867 6.578 11.167 6.397 11.505 6.268C11.843 6.139 12.194 6.075 12.557 6.075C12.745 6.075 12.915 6.103 13.07 6.16C13.225 6.217 13.357 6.306 13.466 6.427C13.575 6.548 13.659 6.706 13.718 6.899C13.777 7.092 13.806 7.326 13.806 7.599L11.995 7.851C11.651 7.898 11.355 7.977 11.107 8.088C10.859 8.199 10.654 8.339 10.492 8.507C10.33 8.675 10.21 8.868 10.132 9.087C10.054 9.306 10.015 9.546 10.015 9.808C10.015 10.054 10.057 10.283 10.139 10.496C10.221 10.709 10.342 10.893 10.502 11.047C10.662 11.201 10.862 11.323 11.1 11.413C11.338 11.503 11.613 11.548 11.926 11.548C12.328 11.548 12.686 11.456 13.001 11.27C13.316 11.084 13.573 10.816 13.772 10.464H13.795ZM11.667 8.721C11.843 8.657 12.068 8.607 12.341 8.572L13.806 8.367V8.976C13.806 9.222 13.765 9.451 13.683 9.664C13.601 9.877 13.486 10.063 13.34 10.221C13.194 10.379 13.019 10.503 12.816 10.593C12.613 10.683 12.39 10.728 12.148 10.728C11.961 10.728 11.795 10.703 11.653 10.652C11.511 10.601 11.392 10.53 11.296 10.441C11.2 10.352 11.127 10.247 11.076 10.125C11.025 10.003 11 9.873 11 9.732C11 9.568 11.018 9.421 11.055 9.292C11.092 9.163 11.16 9.051 11.257 8.958C11.354 8.865 11.491 8.785 11.667 8.721Z" fill="#424242"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.8 KiB |
@@ -1,56 +0,0 @@
|
|||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
.vs .monaco-custom-checkbox.monaco-case-sensitive {
|
|
||||||
background: url('case-sensitive-light.svg') center center no-repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
.vs-dark .monaco-custom-checkbox.monaco-case-sensitive {
|
|
||||||
background: url('case-sensitive-dark.svg') center center no-repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hc-black .monaco-custom-checkbox.monaco-case-sensitive,
|
|
||||||
.hc-black .monaco-custom-checkbox.monaco-case-sensitive:hover {
|
|
||||||
background: url('case-sensitive-hc.svg') center center no-repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
.vs .monaco-custom-checkbox.monaco-preserve-case {
|
|
||||||
background: url('preserve-case-light.svg') center center no-repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
.vs-dark .monaco-custom-checkbox.monaco-preserve-case {
|
|
||||||
background: url('preserve-case-dark.svg') center center no-repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hc-black .monaco-custom-checkbox.monaco-preserve-case,
|
|
||||||
.hc-black .monaco-custom-checkbox.monaco-preserve-case:hover {
|
|
||||||
background: url('preserve-case-hc.svg') center center no-repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
.vs .monaco-custom-checkbox.monaco-whole-word {
|
|
||||||
background: url('whole-word-light.svg') center center no-repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
.vs-dark .monaco-custom-checkbox.monaco-whole-word {
|
|
||||||
background: url('whole-word-dark.svg') center center no-repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hc-black .monaco-custom-checkbox.monaco-whole-word,
|
|
||||||
.hc-black .monaco-custom-checkbox.monaco-whole-word:hover {
|
|
||||||
background: url('whole-word-hc.svg') center center no-repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
.vs .monaco-custom-checkbox.monaco-regex {
|
|
||||||
background: url('regex-light.svg') center center no-repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
.vs-dark .monaco-custom-checkbox.monaco-regex {
|
|
||||||
background: url('regex-dark.svg') center center no-repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hc-black .monaco-custom-checkbox.monaco-regex,
|
|
||||||
.hc-black .monaco-custom-checkbox.monaco-regex:hover {
|
|
||||||
background: url('regex-hc.svg') center center no-repeat;
|
|
||||||
}
|
|
||||||
@@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
import { Checkbox } from 'vs/base/browser/ui/checkbox/checkbox';
|
import { Checkbox } from 'vs/base/browser/ui/checkbox/checkbox';
|
||||||
import { Color } from 'vs/base/common/color';
|
import { Color } from 'vs/base/common/color';
|
||||||
import 'vs/css!./findInputCheckboxes';
|
|
||||||
import * as nls from 'vs/nls';
|
import * as nls from 'vs/nls';
|
||||||
|
|
||||||
export interface IFindInputCheckboxOpts {
|
export interface IFindInputCheckboxOpts {
|
||||||
@@ -22,7 +21,7 @@ const NLS_REGEX_CHECKBOX_LABEL = nls.localize('regexDescription', "Use Regular E
|
|||||||
export class CaseSensitiveCheckbox extends Checkbox {
|
export class CaseSensitiveCheckbox extends Checkbox {
|
||||||
constructor(opts: IFindInputCheckboxOpts) {
|
constructor(opts: IFindInputCheckboxOpts) {
|
||||||
super({
|
super({
|
||||||
actionClassName: 'monaco-case-sensitive',
|
actionClassName: 'codicon-case-sensitive',
|
||||||
title: NLS_CASE_SENSITIVE_CHECKBOX_LABEL + opts.appendTitle,
|
title: NLS_CASE_SENSITIVE_CHECKBOX_LABEL + opts.appendTitle,
|
||||||
isChecked: opts.isChecked,
|
isChecked: opts.isChecked,
|
||||||
inputActiveOptionBorder: opts.inputActiveOptionBorder,
|
inputActiveOptionBorder: opts.inputActiveOptionBorder,
|
||||||
@@ -34,7 +33,7 @@ export class CaseSensitiveCheckbox extends Checkbox {
|
|||||||
export class WholeWordsCheckbox extends Checkbox {
|
export class WholeWordsCheckbox extends Checkbox {
|
||||||
constructor(opts: IFindInputCheckboxOpts) {
|
constructor(opts: IFindInputCheckboxOpts) {
|
||||||
super({
|
super({
|
||||||
actionClassName: 'monaco-whole-word',
|
actionClassName: 'codicon-whole-word',
|
||||||
title: NLS_WHOLE_WORD_CHECKBOX_LABEL + opts.appendTitle,
|
title: NLS_WHOLE_WORD_CHECKBOX_LABEL + opts.appendTitle,
|
||||||
isChecked: opts.isChecked,
|
isChecked: opts.isChecked,
|
||||||
inputActiveOptionBorder: opts.inputActiveOptionBorder,
|
inputActiveOptionBorder: opts.inputActiveOptionBorder,
|
||||||
@@ -46,7 +45,7 @@ export class WholeWordsCheckbox extends Checkbox {
|
|||||||
export class RegexCheckbox extends Checkbox {
|
export class RegexCheckbox extends Checkbox {
|
||||||
constructor(opts: IFindInputCheckboxOpts) {
|
constructor(opts: IFindInputCheckboxOpts) {
|
||||||
super({
|
super({
|
||||||
actionClassName: 'monaco-regex',
|
actionClassName: 'codicon-regex',
|
||||||
title: NLS_REGEX_CHECKBOX_LABEL + opts.appendTitle,
|
title: NLS_REGEX_CHECKBOX_LABEL + opts.appendTitle,
|
||||||
isChecked: opts.isChecked,
|
isChecked: opts.isChecked,
|
||||||
inputActiveOptionBorder: opts.inputActiveOptionBorder,
|
inputActiveOptionBorder: opts.inputActiveOptionBorder,
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path d="M8.53437 12.4673H7.4361L6.53859 10.0936H2.94854L2.10418 12.4673H1L4.24757 4H5.27499L8.53437 12.4673ZM6.21383 9.20202L4.88528 5.59426C4.84198 5.47617 4.79868 5.28722 4.75538 5.02741H4.73176C4.69239 5.26754 4.64713 5.45649 4.59595 5.59426L3.27921 9.20202H6.21383Z" fill="#C5C5C5"/>
|
|
||||||
<path d="M9.78617 12.4673V4H12.1953C12.9275 4 13.5081 4.17911 13.9372 4.53733C14.3662 4.89554 14.5808 5.36201 14.5808 5.93674C14.5808 6.41698 14.4509 6.83425 14.1911 7.18853C13.9313 7.54281 13.573 7.79474 13.1164 7.94433V7.96795C13.6872 8.03487 14.1438 8.25137 14.4863 8.61746C14.8288 8.97961 15 9.45199 15 10.0346C15 10.7589 14.7402 11.3454 14.2206 11.7942C13.701 12.2429 13.0456 12.4673 12.2543 12.4673H9.78617ZM10.7782 4.89751V7.63138H11.7938C12.337 7.63138 12.7641 7.50148 13.0751 7.24167C13.3861 6.97793 13.5415 6.6079 13.5415 6.13159C13.5415 5.30887 13.0003 4.89751 11.9178 4.89751H10.7782ZM10.7782 8.52299V11.5698H12.1244C12.707 11.5698 13.1577 11.432 13.4766 11.1565C13.7994 10.8809 13.9608 10.503 13.9608 10.0228C13.9608 9.02292 13.2798 8.52299 11.9178 8.52299H10.7782Z" fill="#C5C5C5"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.2 KiB |
@@ -1,4 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path d="M8.53437 12.4673H7.4361L6.53859 10.0936H2.94854L2.10418 12.4673H1L4.24757 4H5.27499L8.53437 12.4673ZM6.21383 9.20202L4.88528 5.59426C4.84198 5.47617 4.79868 5.28722 4.75538 5.02741H4.73176C4.69239 5.26754 4.64713 5.45649 4.59595 5.59426L3.27921 9.20202H6.21383Z" fill="white"/>
|
|
||||||
<path d="M9.78617 12.4673V4H12.1953C12.9275 4 13.5081 4.17911 13.9372 4.53733C14.3662 4.89554 14.5808 5.36201 14.5808 5.93674C14.5808 6.41698 14.4509 6.83425 14.1911 7.18853C13.9313 7.54281 13.573 7.79474 13.1164 7.94433V7.96795C13.6872 8.03487 14.1438 8.25137 14.4863 8.61746C14.8288 8.97961 15 9.45199 15 10.0346C15 10.7589 14.7402 11.3454 14.2206 11.7942C13.701 12.2429 13.0456 12.4673 12.2543 12.4673H9.78617ZM10.7782 4.89751V7.63138H11.7938C12.337 7.63138 12.7641 7.50148 13.0751 7.24167C13.3861 6.97793 13.5415 6.6079 13.5415 6.13159C13.5415 5.30887 13.0003 4.89751 11.9178 4.89751H10.7782ZM10.7782 8.52299V11.5698H12.1244C12.707 11.5698 13.1577 11.432 13.4766 11.1565C13.7994 10.8809 13.9608 10.503 13.9608 10.0228C13.9608 9.02292 13.2798 8.52299 11.9178 8.52299H10.7782Z" fill="white"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.2 KiB |
@@ -1,4 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path d="M8.53437 12.4673H7.4361L6.53859 10.0936H2.94854L2.10418 12.4673H1L4.24757 4H5.27499L8.53437 12.4673ZM6.21383 9.20202L4.88528 5.59426C4.84198 5.47617 4.79868 5.28722 4.75538 5.02741H4.73176C4.69239 5.26754 4.64713 5.45649 4.59595 5.59426L3.27921 9.20202H6.21383Z" fill="#424242"/>
|
|
||||||
<path d="M9.78617 12.4673V4H12.1953C12.9275 4 13.5081 4.17911 13.9372 4.53733C14.3662 4.89554 14.5808 5.36201 14.5808 5.93674C14.5808 6.41698 14.4509 6.83425 14.1911 7.18853C13.9313 7.54281 13.573 7.79474 13.1164 7.94433V7.96795C13.6872 8.03487 14.1438 8.25137 14.4863 8.61746C14.8288 8.97961 15 9.45199 15 10.0346C15 10.7589 14.7402 11.3454 14.2206 11.7942C13.701 12.2429 13.0456 12.4673 12.2543 12.4673H9.78617ZM10.7782 4.89751V7.63138H11.7938C12.337 7.63138 12.7641 7.50148 13.0751 7.24167C13.3861 6.97793 13.5415 6.6079 13.5415 6.13159C13.5415 5.30887 13.0003 4.89751 11.9178 4.89751H10.7782ZM10.7782 8.52299V11.5698H12.1244C12.707 11.5698 13.1577 11.432 13.4766 11.1565C13.7994 10.8809 13.9608 10.503 13.9608 10.0228C13.9608 9.02292 13.2798 8.52299 11.9178 8.52299H10.7782Z" fill="#424242"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.2 KiB |
@@ -1,3 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.0122 2H10.9879V5.11346L13.5489 3.55609L14.034 4.44095L11.4702 6L14.034 7.55905L13.5489 8.44391L10.9879 6.88654V10H10.0122V6.88654L7.45114 8.44391L6.96606 7.55905L9.5299 6L6.96606 4.44095L7.45114 3.55609L10.0122 5.11346V2ZM2 10H6V14H2V10Z" fill="#C5C5C5"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 412 B |
@@ -1,3 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.0122 2H10.9879V5.11346L13.5489 3.55609L14.034 4.44095L11.4702 6L14.034 7.55905L13.5489 8.44391L10.9879 6.88654V10H10.0122V6.88654L7.45114 8.44391L6.96606 7.55905L9.5299 6L6.96606 4.44095L7.45114 3.55609L10.0122 5.11346V2ZM2 10H6V14H2V10Z" fill="white"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 410 B |
@@ -1,3 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.0122 2H10.9879V5.11346L13.5489 3.55609L14.034 4.44095L11.4702 6L14.034 7.55905L13.5489 8.44391L10.9879 6.88654V10H10.0122V6.88654L7.45114 8.44391L6.96606 7.55905L9.5299 6L6.96606 4.44095L7.45114 3.55609L10.0122 5.11346V2ZM2 10H6V14H2V10Z" fill="#424242"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 412 B |
@@ -41,7 +41,7 @@ export class PreserveCaseCheckbox extends Checkbox {
|
|||||||
constructor(opts: IFindInputCheckboxOpts) {
|
constructor(opts: IFindInputCheckboxOpts) {
|
||||||
super({
|
super({
|
||||||
// TODO: does this need its own icon?
|
// TODO: does this need its own icon?
|
||||||
actionClassName: 'monaco-case-sensitive',
|
actionClassName: 'codicon-preserve-case',
|
||||||
title: NLS_PRESERVE_CASE_LABEL + opts.appendTitle,
|
title: NLS_PRESERVE_CASE_LABEL + opts.appendTitle,
|
||||||
isChecked: opts.isChecked,
|
isChecked: opts.isChecked,
|
||||||
inputActiveOptionBorder: opts.inputActiveOptionBorder
|
inputActiveOptionBorder: opts.inputActiveOptionBorder
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M1 2H15V3H1V2ZM14 4H13V12H14V4ZM11.272 8.387C11.194 8.088 11.073 7.825 10.912 7.601C10.751 7.377 10.547 7.2 10.303 7.071C10.059 6.942 9.769 6.878 9.437 6.878C9.239 6.878 9.057 6.902 8.89 6.951C8.725 7 8.574 7.068 8.437 7.156C8.301 7.244 8.18 7.35 8.072 7.474L7.893 7.732V4.578H7V12H7.893V11.425L8.019 11.6C8.106 11.702 8.208 11.79 8.323 11.869C8.44 11.947 8.572 12.009 8.721 12.055C8.87 12.101 9.035 12.123 9.219 12.123C9.572 12.123 9.885 12.052 10.156 11.911C10.428 11.768 10.655 11.573 10.838 11.325C11.021 11.075 11.159 10.782 11.252 10.446C11.345 10.108 11.392 9.743 11.392 9.349C11.391 9.007 11.352 8.686 11.272 8.387ZM9.793 7.78C9.944 7.851 10.075 7.956 10.183 8.094C10.292 8.234 10.377 8.407 10.438 8.611C10.489 8.785 10.52 8.982 10.527 9.198L10.52 9.323C10.52 9.65 10.487 9.943 10.42 10.192C10.353 10.438 10.259 10.645 10.142 10.806C10.025 10.968 9.882 11.091 9.721 11.172C9.399 11.334 8.961 11.338 8.652 11.187C8.499 11.112 8.366 11.012 8.259 10.891C8.174 10.795 8.103 10.675 8.041 10.524C8.041 10.524 7.862 10.077 7.862 9.577C7.862 9.077 8.041 8.575 8.041 8.575C8.103 8.398 8.177 8.257 8.265 8.145C8.379 8.002 8.521 7.886 8.689 7.8C8.857 7.714 9.054 7.671 9.276 7.671C9.466 7.671 9.64 7.708 9.793 7.78ZM15 13H1V14H15V13ZM2.813 10L2.085 12.031H1L1.025 11.959L3.466 4.87305H4.407L6.892 12.031H5.81L5.032 10H2.813ZM3.934 6.42205H3.912L3.007 9.17505H4.848L3.934 6.42205Z" fill="#C5C5C5"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.5 KiB |
@@ -1,3 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M1 2H15V3H1V2ZM14 4H13V12H14V4ZM11.272 8.387C11.194 8.088 11.073 7.825 10.912 7.601C10.751 7.377 10.547 7.2 10.303 7.071C10.059 6.942 9.769 6.878 9.437 6.878C9.239 6.878 9.057 6.902 8.89 6.951C8.725 7 8.574 7.068 8.437 7.156C8.301 7.244 8.18 7.35 8.072 7.474L7.893 7.732V4.578H7V12H7.893V11.425L8.019 11.6C8.106 11.702 8.208 11.79 8.323 11.869C8.44 11.947 8.572 12.009 8.721 12.055C8.87 12.101 9.035 12.123 9.219 12.123C9.572 12.123 9.885 12.052 10.156 11.911C10.428 11.768 10.655 11.573 10.838 11.325C11.021 11.075 11.159 10.782 11.252 10.446C11.345 10.108 11.392 9.743 11.392 9.349C11.391 9.007 11.352 8.686 11.272 8.387ZM9.793 7.78C9.944 7.851 10.075 7.956 10.183 8.094C10.292 8.234 10.377 8.407 10.438 8.611C10.489 8.785 10.52 8.982 10.527 9.198L10.52 9.323C10.52 9.65 10.487 9.943 10.42 10.192C10.353 10.438 10.259 10.645 10.142 10.806C10.025 10.968 9.882 11.091 9.721 11.172C9.399 11.334 8.961 11.338 8.652 11.187C8.499 11.112 8.366 11.012 8.259 10.891C8.174 10.795 8.103 10.675 8.041 10.524C8.041 10.524 7.862 10.077 7.862 9.577C7.862 9.077 8.041 8.575 8.041 8.575C8.103 8.398 8.177 8.257 8.265 8.145C8.379 8.002 8.521 7.886 8.689 7.8C8.857 7.714 9.054 7.671 9.276 7.671C9.466 7.671 9.64 7.708 9.793 7.78ZM15 13H1V14H15V13ZM2.813 10L2.085 12.031H1L1.025 11.959L3.466 4.87305H4.407L6.892 12.031H5.81L5.032 10H2.813ZM3.934 6.42205H3.912L3.007 9.17505H4.848L3.934 6.42205Z" fill="white"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.5 KiB |
@@ -1,3 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M1 2H15V3H1V2ZM14 4H13V12H14V4ZM11.272 8.387C11.194 8.088 11.073 7.825 10.912 7.601C10.751 7.377 10.547 7.2 10.303 7.071C10.059 6.942 9.769 6.878 9.437 6.878C9.239 6.878 9.057 6.902 8.89 6.951C8.725 7 8.574 7.068 8.437 7.156C8.301 7.244 8.18 7.35 8.072 7.474L7.893 7.732V4.578H7V12H7.893V11.425L8.019 11.6C8.106 11.702 8.208 11.79 8.323 11.869C8.44 11.947 8.572 12.009 8.721 12.055C8.87 12.101 9.035 12.123 9.219 12.123C9.572 12.123 9.885 12.052 10.156 11.911C10.428 11.768 10.655 11.573 10.838 11.325C11.021 11.075 11.159 10.782 11.252 10.446C11.345 10.108 11.392 9.743 11.392 9.349C11.391 9.007 11.352 8.686 11.272 8.387ZM9.793 7.78C9.944 7.851 10.075 7.956 10.183 8.094C10.292 8.234 10.377 8.407 10.438 8.611C10.489 8.785 10.52 8.982 10.527 9.198L10.52 9.323C10.52 9.65 10.487 9.943 10.42 10.192C10.353 10.438 10.259 10.645 10.142 10.806C10.025 10.968 9.882 11.091 9.721 11.172C9.399 11.334 8.961 11.338 8.652 11.187C8.499 11.112 8.366 11.012 8.259 10.891C8.174 10.795 8.103 10.675 8.041 10.524C8.041 10.524 7.862 10.077 7.862 9.577C7.862 9.077 8.041 8.575 8.041 8.575C8.103 8.398 8.177 8.257 8.265 8.145C8.379 8.002 8.521 7.886 8.689 7.8C8.857 7.714 9.054 7.671 9.276 7.671C9.466 7.671 9.64 7.708 9.793 7.78ZM15 13H1V14H15V13ZM2.813 10L2.085 12.031H1L1.025 11.959L3.466 4.87305H4.407L6.892 12.031H5.81L5.032 10H2.813ZM3.934 6.42205H3.912L3.007 9.17505H4.848L3.934 6.42205Z" fill="#424242"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.5 KiB |
@@ -4,7 +4,7 @@
|
|||||||
*--------------------------------------------------------------------------------------------*/
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
import * as objects from 'vs/base/common/objects';
|
import * as objects from 'vs/base/common/objects';
|
||||||
import { renderOcticons } from 'vs/base/browser/ui/octiconLabel/octiconLabel';
|
import { renderCodicons } from 'vs/base/browser/ui/codiconLabel/codiconLabel';
|
||||||
import { escape } from 'vs/base/common/strings';
|
import { escape } from 'vs/base/common/strings';
|
||||||
|
|
||||||
export interface IHighlight {
|
export interface IHighlight {
|
||||||
@@ -65,13 +65,13 @@ export class HighlightedLabel {
|
|||||||
if (pos < highlight.start) {
|
if (pos < highlight.start) {
|
||||||
htmlContent += '<span>';
|
htmlContent += '<span>';
|
||||||
const substring = this.text.substring(pos, highlight.start);
|
const substring = this.text.substring(pos, highlight.start);
|
||||||
htmlContent += this.supportOcticons ? renderOcticons(substring) : escape(substring);
|
htmlContent += this.supportOcticons ? renderCodicons(substring) : escape(substring);
|
||||||
htmlContent += '</span>';
|
htmlContent += '</span>';
|
||||||
pos = highlight.end;
|
pos = highlight.end;
|
||||||
}
|
}
|
||||||
htmlContent += '<span class="highlight">';
|
htmlContent += '<span class="highlight">';
|
||||||
const substring = this.text.substring(highlight.start, highlight.end);
|
const substring = this.text.substring(highlight.start, highlight.end);
|
||||||
htmlContent += this.supportOcticons ? renderOcticons(substring) : escape(substring);
|
htmlContent += this.supportOcticons ? renderCodicons(substring) : escape(substring);
|
||||||
htmlContent += '</span>';
|
htmlContent += '</span>';
|
||||||
pos = highlight.end;
|
pos = highlight.end;
|
||||||
}
|
}
|
||||||
@@ -79,7 +79,7 @@ export class HighlightedLabel {
|
|||||||
if (pos < this.text.length) {
|
if (pos < this.text.length) {
|
||||||
htmlContent += '<span>';
|
htmlContent += '<span>';
|
||||||
const substring = this.text.substring(pos);
|
const substring = this.text.substring(pos);
|
||||||
htmlContent += this.supportOcticons ? renderOcticons(substring) : escape(substring);
|
htmlContent += this.supportOcticons ? renderCodicons(substring) : escape(substring);
|
||||||
htmlContent += '</span>';
|
htmlContent += '</span>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -123,7 +123,7 @@
|
|||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.monaco-inputbox .monaco-action-bar .action-item .icon {
|
.monaco-inputbox .monaco-action-bar .action-item .codicon {
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: "octicons2";
|
font-family: "octicons2";
|
||||||
src: url("./octicons2.ttf?90586c9ac0aa804395e9c9c0d15d1094") format("truetype");
|
src: url("./octicons2.ttf?aa78025ff36faa0aebb5b864685c6dc4") format("truetype");
|
||||||
}
|
}
|
||||||
|
|
||||||
.octicon, .mega-octicon {
|
.octicon, .mega-octicon {
|
||||||
|
|||||||
@@ -68,7 +68,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* TODO: actions should be part of the panel, but they aren't yet */
|
/* TODO: actions should be part of the panel, but they aren't yet */
|
||||||
.monaco-panel-view .panel > .panel-header > .actions .action-label.icon {
|
.monaco-panel-view .panel > .panel-header > .actions .action-label.icon,
|
||||||
|
.monaco-panel-view .panel > .panel-header > .actions .action-label.codicon {
|
||||||
width: 28px;
|
width: 28px;
|
||||||
height: 22px;
|
height: 22px;
|
||||||
background-size: 16px;
|
background-size: 16px;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||||
*--------------------------------------------------------------------------------------------*/
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
import { URI, UriComponents } from 'vs/base/common/uri';
|
import { URI } from 'vs/base/common/uri';
|
||||||
import * as platform from 'vs/base/common/platform';
|
import * as platform from 'vs/base/common/platform';
|
||||||
|
|
||||||
export namespace Schemas {
|
export namespace Schemas {
|
||||||
@@ -60,7 +60,7 @@ class RemoteAuthoritiesImpl {
|
|||||||
private readonly _ports: { [authority: string]: number; };
|
private readonly _ports: { [authority: string]: number; };
|
||||||
private readonly _connectionTokens: { [authority: string]: string; };
|
private readonly _connectionTokens: { [authority: string]: string; };
|
||||||
private _preferredWebSchema: 'http' | 'https';
|
private _preferredWebSchema: 'http' | 'https';
|
||||||
private _delegate: ((uri: URI) => UriComponents) | null;
|
private _delegate: ((uri: URI) => URI) | null;
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
this._hosts = Object.create(null);
|
this._hosts = Object.create(null);
|
||||||
@@ -74,7 +74,7 @@ class RemoteAuthoritiesImpl {
|
|||||||
this._preferredWebSchema = schema;
|
this._preferredWebSchema = schema;
|
||||||
}
|
}
|
||||||
|
|
||||||
public setDelegate(delegate: (uri: URI) => UriComponents): void {
|
public setDelegate(delegate: (uri: URI) => URI): void {
|
||||||
this._delegate = delegate;
|
this._delegate = delegate;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -89,8 +89,7 @@ class RemoteAuthoritiesImpl {
|
|||||||
|
|
||||||
public rewrite(uri: URI): URI {
|
public rewrite(uri: URI): URI {
|
||||||
if (this._delegate) {
|
if (this._delegate) {
|
||||||
const result = this._delegate(uri);
|
return this._delegate(uri);
|
||||||
return URI.revive(result);
|
|
||||||
}
|
}
|
||||||
const authority = uri.authority;
|
const authority = uri.authority;
|
||||||
const host = this._hosts[authority];
|
const host = this._hosts[authority];
|
||||||
|
|||||||
@@ -3,11 +3,11 @@
|
|||||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||||
*--------------------------------------------------------------------------------------------*/
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
import { Menu, MenuItem, BrowserWindow, Event, ipcMain } from 'electron';
|
import { Menu, MenuItem, BrowserWindow, ipcMain } from 'electron';
|
||||||
import { ISerializableContextMenuItem, CONTEXT_MENU_CLOSE_CHANNEL, CONTEXT_MENU_CHANNEL, IPopupOptions } from 'vs/base/parts/contextmenu/common/contextmenu';
|
import { ISerializableContextMenuItem, CONTEXT_MENU_CLOSE_CHANNEL, CONTEXT_MENU_CHANNEL, IPopupOptions } from 'vs/base/parts/contextmenu/common/contextmenu';
|
||||||
|
|
||||||
export function registerContextMenuListener(): void {
|
export function registerContextMenuListener(): void {
|
||||||
ipcMain.on(CONTEXT_MENU_CHANNEL, (event: Event, contextMenuId: number, items: ISerializableContextMenuItem[], onClickChannel: string, options?: IPopupOptions) => {
|
ipcMain.on(CONTEXT_MENU_CHANNEL, (event: Electron.IpcMainEvent, contextMenuId: number, items: ISerializableContextMenuItem[], onClickChannel: string, options?: IPopupOptions) => {
|
||||||
const menu = createMenu(event, onClickChannel, items);
|
const menu = createMenu(event, onClickChannel, items);
|
||||||
|
|
||||||
menu.popup({
|
menu.popup({
|
||||||
@@ -27,7 +27,7 @@ export function registerContextMenuListener(): void {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function createMenu(event: Event, onClickChannel: string, items: ISerializableContextMenuItem[]): Menu {
|
function createMenu(event: Electron.IpcMainEvent, onClickChannel: string, items: ISerializableContextMenuItem[]): Menu {
|
||||||
const menu = new Menu();
|
const menu = new Menu();
|
||||||
|
|
||||||
items.forEach(item => {
|
items.forEach(item => {
|
||||||
|
|||||||
@@ -32,7 +32,6 @@ export interface IServerChannel<TContext = string> {
|
|||||||
listen<T>(ctx: TContext, event: string, arg?: any): Event<T>;
|
listen<T>(ctx: TContext, event: string, arg?: any): Event<T>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export const enum RequestType {
|
export const enum RequestType {
|
||||||
Promise = 100,
|
Promise = 100,
|
||||||
PromiseCancel = 101,
|
PromiseCancel = 101,
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path d="M9 9H4V10H9V9Z" fill="#C5C5C5"/>
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M5 3L6 2H13L14 3V10L13 11H11V13L10 14H3L2 13V6L3 5H5V3ZM6 5H10L11 6V10H13V3H6V5ZM10 6H3V13H10V6Z" fill="#C5C5C5"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 309 B |
@@ -1,4 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path d="M9 9H4V10H9V9Z" fill="white"/>
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M5 3L6 2H13L14 3V10L13 11H11V13L10 14H3L2 13V6L3 5H5V3ZM6 5H10L11 6V10H13V3H6V5ZM10 6H3V13H10V6Z" fill="white"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 305 B |
@@ -1,4 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path d="M9 9H4V10H9V9Z" fill="#424242"/>
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M5 3L6 2H13L14 3V10L13 11H11V13L10 14H3L2 13V6L3 5H5V3ZM6 5H10L11 6V10H13V3H6V5ZM10 6H3V13H10V6Z" fill="#424242"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 309 B |
@@ -120,15 +120,3 @@
|
|||||||
.hc-black .monaco-tree .monaco-tree-rows > .monaco-tree-row.has-children.loading > .content:before {
|
.hc-black .monaco-tree .monaco-tree-rows > .monaco-tree-row.has-children.loading > .content:before {
|
||||||
background-image: url('loading-hc.svg');
|
background-image: url('loading-hc.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
.monaco-tree-action.collapse-all {
|
|
||||||
background: url('collapse-all-light.svg') center center no-repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
.vs-dark .monaco-tree-action.collapse-all {
|
|
||||||
background: url('collapse-all-dark.svg') center center no-repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hc-black .monaco-tree-action.collapse-all {
|
|
||||||
background: url('collapse-all-hc.svg') center center no-repeat;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
default-src 'self';
|
default-src 'self';
|
||||||
img-src 'self' https: data: blob:;
|
img-src 'self' https: data: blob:;
|
||||||
media-src 'none';
|
media-src 'none';
|
||||||
script-src 'self' https://az416426.vo.msecnd.net 'unsafe-eval' https: 'sha256-4DqvCTjCHj2KW4QxC/Yt6uBwMRyYiEg7kOoykSEkonQ=' 'sha256-meDZW3XhN5JmdjFUrWGhTouRKBiWYtXHltaKnqn/WMo=';
|
script-src 'self' https://az416426.vo.msecnd.net 'unsafe-eval' https: 'sha256-AMRGFXNZ7mBnD/6F4lTV00XAjE5CBSM7ZeIv3DIp5YM=' 'sha256-meDZW3XhN5JmdjFUrWGhTouRKBiWYtXHltaKnqn/WMo=';
|
||||||
child-src 'self';
|
child-src 'self';
|
||||||
frame-src 'self' https://*.vscode-webview-test.com;
|
frame-src 'self' https://*.vscode-webview-test.com;
|
||||||
worker-src 'self';
|
worker-src 'self';
|
||||||
@@ -44,13 +44,13 @@
|
|||||||
self.require = {
|
self.require = {
|
||||||
baseUrl: `${window.location.origin}/static/out`,
|
baseUrl: `${window.location.origin}/static/out`,
|
||||||
paths: {
|
paths: {
|
||||||
'vscode-textmate': `${window.location.origin}/static/node_modules/vscode-textmate/release/main`,
|
'vscode-textmate': `${window.location.origin}/static/remote/web/node_modules/vscode-textmate/release/main`,
|
||||||
'onigasm-umd': `${window.location.origin}/static/node_modules/onigasm-umd/release/main`,
|
'onigasm-umd': `${window.location.origin}/static/remote/web/node_modules/onigasm-umd/release/main`,
|
||||||
'xterm': `${window.location.origin}/static/node_modules/xterm/lib/xterm.js`,
|
'xterm': `${window.location.origin}/static/remote/web/node_modules/xterm/lib/xterm.js`,
|
||||||
'xterm-addon-search': `${window.location.origin}/static/node_modules/xterm-addon-search/lib/xterm-addon-search.js`,
|
'xterm-addon-search': `${window.location.origin}/static/remote/web/node_modules/xterm-addon-search/lib/xterm-addon-search.js`,
|
||||||
'xterm-addon-web-links': `${window.location.origin}/static/node_modules/xterm-addon-web-links/lib/xterm-addon-web-links.js`,
|
'xterm-addon-web-links': `${window.location.origin}/static/remote/web/node_modules/xterm-addon-web-links/lib/xterm-addon-web-links.js`,
|
||||||
'semver-umd': `${window.location.origin}/static/node_modules/semver-umd/lib/semver-umd.js`,
|
'semver-umd': `${window.location.origin}/static/remote/web/node_modules/semver-umd/lib/semver-umd.js`,
|
||||||
'@microsoft/applicationinsights-web': `${window.location.origin}/static/node_modules/@microsoft/applicationinsights-web/dist/applicationinsights-web.js`,
|
'@microsoft/applicationinsights-web': `${window.location.origin}/static/remote/web/node_modules/@microsoft/applicationinsights-web/dist/applicationinsights-web.js`,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -3,16 +3,12 @@
|
|||||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||||
*--------------------------------------------------------------------------------------------*/
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
import { IWorkbenchConstructionOptions, create } from 'vs/workbench/workbench.web.api';
|
import { IWorkbenchConstructionOptions, create, URI, Event, Emitter, UriComponents, ICredentialsProvider, IURLCallbackProvider } from 'vs/workbench/workbench.web.api';
|
||||||
import { IURLCallbackProvider } from 'vs/workbench/services/url/browser/urlService';
|
|
||||||
import { Event, Emitter } from 'vs/base/common/event';
|
|
||||||
import { URI, UriComponents } from 'vs/base/common/uri';
|
|
||||||
import { generateUuid } from 'vs/base/common/uuid';
|
import { generateUuid } from 'vs/base/common/uuid';
|
||||||
import { CancellationToken } from 'vs/base/common/cancellation';
|
import { CancellationToken } from 'vs/base/common/cancellation';
|
||||||
import { streamToBuffer } from 'vs/base/common/buffer';
|
import { streamToBuffer } from 'vs/base/common/buffer';
|
||||||
import { Disposable } from 'vs/base/common/lifecycle';
|
import { Disposable } from 'vs/base/common/lifecycle';
|
||||||
import { request } from 'vs/base/parts/request/browser/request';
|
import { request } from 'vs/base/parts/request/browser/request';
|
||||||
import { ICredentialsProvider } from 'vs/workbench/services/credentials/browser/credentialsService';
|
|
||||||
|
|
||||||
interface ICredential {
|
interface ICredential {
|
||||||
service: string;
|
service: string;
|
||||||
@@ -24,7 +20,7 @@ class LocalStorageCredentialsProvider implements ICredentialsProvider {
|
|||||||
|
|
||||||
static readonly CREDENTIALS_OPENED_KEY = 'credentials.provider';
|
static readonly CREDENTIALS_OPENED_KEY = 'credentials.provider';
|
||||||
|
|
||||||
private _credentials: ICredential[];
|
private _credentials!: ICredential[];
|
||||||
private get credentials(): ICredential[] {
|
private get credentials(): ICredential[] {
|
||||||
if (!this._credentials) {
|
if (!this._credentials) {
|
||||||
try {
|
try {
|
||||||
@@ -205,4 +201,12 @@ const options: IWorkbenchConstructionOptions = JSON.parse(document.getElementByI
|
|||||||
options.urlCallbackProvider = new PollingURLCallbackProvider();
|
options.urlCallbackProvider = new PollingURLCallbackProvider();
|
||||||
options.credentialsProvider = new LocalStorageCredentialsProvider();
|
options.credentialsProvider = new LocalStorageCredentialsProvider();
|
||||||
|
|
||||||
|
if (options.folderUri) {
|
||||||
|
options.folderUri = URI.revive(options.folderUri);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (options.workspaceUri) {
|
||||||
|
options.workspaceUri = URI.revive(options.workspaceUri);
|
||||||
|
}
|
||||||
|
|
||||||
create(document.body, options);
|
create(document.body, options);
|
||||||
|
|||||||
@@ -10,8 +10,7 @@ import { $ } from 'vs/base/browser/dom';
|
|||||||
import * as collections from 'vs/base/common/collections';
|
import * as collections from 'vs/base/common/collections';
|
||||||
import * as browser from 'vs/base/browser/browser';
|
import * as browser from 'vs/base/browser/browser';
|
||||||
import { escape } from 'vs/base/common/strings';
|
import { escape } from 'vs/base/common/strings';
|
||||||
import product from 'vs/platform/product/node/product';
|
import product from 'vs/platform/product/common/product';
|
||||||
import pkg from 'vs/platform/product/node/package';
|
|
||||||
import * as os from 'os';
|
import * as os from 'os';
|
||||||
import { debounce } from 'vs/base/common/decorators';
|
import { debounce } from 'vs/base/common/decorators';
|
||||||
import * as platform from 'vs/base/common/platform';
|
import * as platform from 'vs/base/common/platform';
|
||||||
@@ -33,7 +32,7 @@ import { EnvironmentService } from 'vs/platform/environment/node/environmentServ
|
|||||||
import { IssueReporterModel, IssueReporterData as IssueReporterModelData } from 'vs/code/electron-browser/issue/issueReporterModel';
|
import { IssueReporterModel, IssueReporterData as IssueReporterModelData } from 'vs/code/electron-browser/issue/issueReporterModel';
|
||||||
import { IssueReporterData, IssueReporterStyles, IssueType, ISettingsSearchIssueReporterData, IssueReporterFeatures, IssueReporterExtensionData } from 'vs/platform/issue/node/issue';
|
import { IssueReporterData, IssueReporterStyles, IssueType, ISettingsSearchIssueReporterData, IssueReporterFeatures, IssueReporterExtensionData } from 'vs/platform/issue/node/issue';
|
||||||
import BaseHtml from 'vs/code/electron-browser/issue/issueReporterPage';
|
import BaseHtml from 'vs/code/electron-browser/issue/issueReporterPage';
|
||||||
import { LogLevelSetterChannelClient, FollowerLogService } from 'vs/platform/log/common/logIpc';
|
import { LoggerChannelClient, FollowerLogService } from 'vs/platform/log/common/logIpc';
|
||||||
import { ILogService, getLogLevel } from 'vs/platform/log/common/log';
|
import { ILogService, getLogLevel } from 'vs/platform/log/common/log';
|
||||||
import { OcticonLabel } from 'vs/base/browser/ui/octiconLabel/octiconLabel';
|
import { OcticonLabel } from 'vs/base/browser/ui/octiconLabel/octiconLabel';
|
||||||
import { normalizeGitHubUrl } from 'vs/code/electron-browser/issue/issueReporterUtil';
|
import { normalizeGitHubUrl } from 'vs/code/electron-browser/issue/issueReporterUtil';
|
||||||
@@ -85,7 +84,7 @@ export class IssueReporter extends Disposable {
|
|||||||
this.issueReporterModel = new IssueReporterModel({
|
this.issueReporterModel = new IssueReporterModel({
|
||||||
issueType: configuration.data.issueType || IssueType.Bug,
|
issueType: configuration.data.issueType || IssueType.Bug,
|
||||||
versionInfo: {
|
versionInfo: {
|
||||||
vscodeVersion: `${pkg.name} ${pkg.version} (${product.commit || 'Commit unknown'}, ${product.date || 'Date unknown'})`,
|
vscodeVersion: `${product.nameShort} ${product.version} (${product.commit || 'Commit unknown'}, ${product.date || 'Date unknown'})`,
|
||||||
os: `${os.type()} ${os.arch()} ${os.release()}${isSnap ? ' snap' : ''}`
|
os: `${os.type()} ${os.arch()} ${os.release()}${isSnap ? ' snap' : ''}`
|
||||||
},
|
},
|
||||||
extensionsDisabled: !!this.environmentService.disableExtensions,
|
extensionsDisabled: !!this.environmentService.disableExtensions,
|
||||||
@@ -301,8 +300,8 @@ export class IssueReporter extends Disposable {
|
|||||||
this.environmentService = new EnvironmentService(configuration, configuration.execPath);
|
this.environmentService = new EnvironmentService(configuration, configuration.execPath);
|
||||||
|
|
||||||
const logService = new SpdLogService(`issuereporter${configuration.windowId}`, this.environmentService.logsPath, getLogLevel(this.environmentService));
|
const logService = new SpdLogService(`issuereporter${configuration.windowId}`, this.environmentService.logsPath, getLogLevel(this.environmentService));
|
||||||
const logLevelClient = new LogLevelSetterChannelClient(mainProcessService.getChannel('loglevel'));
|
const loggerClient = new LoggerChannelClient(mainProcessService.getChannel('logger'));
|
||||||
this.logService = new FollowerLogService(logLevelClient, logService);
|
this.logService = new FollowerLogService(loggerClient, logService);
|
||||||
|
|
||||||
const sharedProcess = (<IWindowsService>serviceCollection.get(IWindowsService)).whenSharedProcessReady()
|
const sharedProcess = (<IWindowsService>serviceCollection.get(IWindowsService)).whenSharedProcessReady()
|
||||||
.then(() => connectNet(this.environmentService.sharedIPCHandle, `window:${configuration.windowId}`));
|
.then(() => connectNet(this.environmentService.sharedIPCHandle, `window:${configuration.windowId}`));
|
||||||
@@ -311,7 +310,7 @@ export class IssueReporter extends Disposable {
|
|||||||
if (!this.environmentService.isExtensionDevelopment && !this.environmentService.args['disable-telemetry'] && !!product.enableTelemetry) {
|
if (!this.environmentService.isExtensionDevelopment && !this.environmentService.args['disable-telemetry'] && !!product.enableTelemetry) {
|
||||||
const channel = getDelayedChannel(sharedProcess.then(c => c.getChannel('telemetryAppender')));
|
const channel = getDelayedChannel(sharedProcess.then(c => c.getChannel('telemetryAppender')));
|
||||||
const appender = combinedAppender(new TelemetryAppenderClient(channel), new LogAppender(logService));
|
const appender = combinedAppender(new TelemetryAppenderClient(channel), new LogAppender(logService));
|
||||||
const commonProperties = resolveCommonProperties(product.commit || 'Commit unknown', pkg.version, configuration.machineId, product.msftInternalDomains, this.environmentService.installSourcePath);
|
const commonProperties = resolveCommonProperties(product.commit || 'Commit unknown', product.version, configuration.machineId, product.msftInternalDomains, this.environmentService.installSourcePath);
|
||||||
const piiPaths = this.environmentService.extensionsPath ? [this.environmentService.appRoot, this.environmentService.extensionsPath] : [this.environmentService.appRoot];
|
const piiPaths = this.environmentService.extensionsPath ? [this.environmentService.appRoot, this.environmentService.extensionsPath] : [this.environmentService.appRoot];
|
||||||
const config: ITelemetryServiceConfig = { appender, commonProperties, piiPaths };
|
const config: ITelemetryServiceConfig = { appender, commonProperties, piiPaths };
|
||||||
|
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ html:lang(zh-Hant) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
html:lang(ja) {
|
html:lang(ja) {
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "Noto Sans", "Meiryo", "Hiragino Kaku Gothic Pro", "Source Han Sans J", "Source Han Sans JP", "Source Han Sans", "Sazanami Gothic", "IPA Gothic", sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "Noto Sans", "Yu Gothic UI", "Meiryo UI", "Hiragino Kaku Gothic Pro", "Source Han Sans J", "Source Han Sans JP", "Source Han Sans", "Sazanami Gothic", "IPA Gothic", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
html:lang(ko) {
|
html:lang(ko) {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ html:lang(zh-Hant) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
html:lang(ja) {
|
html:lang(ja) {
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "Noto Sans", "Meiryo", "Hiragino Kaku Gothic Pro", "Source Han Sans J", "Source Han Sans JP", "Source Han Sans", "Sazanami Gothic", "IPA Gothic", sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "Noto Sans", "Yu Gothic UI", "Meiryo UI", "Hiragino Kaku Gothic Pro", "Source Han Sans J", "Source Han Sans JP", "Source Han Sans", "Sazanami Gothic", "IPA Gothic", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
html:lang(ko) {
|
html:lang(ko) {
|
||||||
@@ -101,4 +101,4 @@ tbody > tr:hover {
|
|||||||
img {
|
img {
|
||||||
width: 16px;
|
width: 16px;
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import 'vs/css!./media/processExplorer';
|
|||||||
import { webFrame, ipcRenderer, clipboard } from 'electron';
|
import { webFrame, ipcRenderer, clipboard } from 'electron';
|
||||||
import { repeat } from 'vs/base/common/strings';
|
import { repeat } from 'vs/base/common/strings';
|
||||||
import { totalmem } from 'os';
|
import { totalmem } from 'os';
|
||||||
import product from 'vs/platform/product/node/product';
|
import product from 'vs/platform/product/common/product';
|
||||||
import { localize } from 'vs/nls';
|
import { localize } from 'vs/nls';
|
||||||
import { ProcessExplorerStyles, ProcessExplorerData } from 'vs/platform/issue/node/issue';
|
import { ProcessExplorerStyles, ProcessExplorerData } from 'vs/platform/issue/node/issue';
|
||||||
import * as browser from 'vs/base/browser/browser';
|
import * as browser from 'vs/base/browser/browser';
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import * as path from 'vs/base/common/path';
|
|||||||
import * as pfs from 'vs/base/node/pfs';
|
import * as pfs from 'vs/base/node/pfs';
|
||||||
|
|
||||||
import { IStringDictionary } from 'vs/base/common/collections';
|
import { IStringDictionary } from 'vs/base/common/collections';
|
||||||
import product from 'vs/platform/product/node/product';
|
import product from 'vs/platform/product/common/product';
|
||||||
import { Disposable, toDisposable } from 'vs/base/common/lifecycle';
|
import { Disposable, toDisposable } from 'vs/base/common/lifecycle';
|
||||||
import { onUnexpectedError } from 'vs/base/common/errors';
|
import { onUnexpectedError } from 'vs/base/common/errors';
|
||||||
import { ILogService } from 'vs/platform/log/common/log';
|
import { ILogService } from 'vs/platform/log/common/log';
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import { onUnexpectedError } from 'vs/base/common/errors';
|
|||||||
import { toDisposable, DisposableStore } from 'vs/base/common/lifecycle';
|
import { toDisposable, DisposableStore } from 'vs/base/common/lifecycle';
|
||||||
import { readdir, rimraf, stat } from 'vs/base/node/pfs';
|
import { readdir, rimraf, stat } from 'vs/base/node/pfs';
|
||||||
import { IEnvironmentService } from 'vs/platform/environment/common/environment';
|
import { IEnvironmentService } from 'vs/platform/environment/common/environment';
|
||||||
import product from 'vs/platform/product/node/product';
|
import product from 'vs/platform/product/common/product';
|
||||||
|
|
||||||
export class NodeCachedDataCleaner {
|
export class NodeCachedDataCleaner {
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import { join } from 'vs/base/common/path';
|
|||||||
import { readdir, readFile, rimraf } from 'vs/base/node/pfs';
|
import { readdir, readFile, rimraf } from 'vs/base/node/pfs';
|
||||||
import { onUnexpectedError } from 'vs/base/common/errors';
|
import { onUnexpectedError } from 'vs/base/common/errors';
|
||||||
import { Disposable, toDisposable } from 'vs/base/common/lifecycle';
|
import { Disposable, toDisposable } from 'vs/base/common/lifecycle';
|
||||||
import { IBackupWorkspacesFormat } from 'vs/platform/backup/common/backup';
|
import { IBackupWorkspacesFormat } from 'vs/platform/backup/node/backup';
|
||||||
|
|
||||||
export class StorageDataCleaner extends Disposable {
|
export class StorageDataCleaner extends Disposable {
|
||||||
|
|
||||||
|
|||||||
@@ -5,8 +5,7 @@
|
|||||||
|
|
||||||
import * as fs from 'fs';
|
import * as fs from 'fs';
|
||||||
import * as platform from 'vs/base/common/platform';
|
import * as platform from 'vs/base/common/platform';
|
||||||
import product from 'vs/platform/product/node/product';
|
import product from 'vs/platform/product/common/product';
|
||||||
import pkg from 'vs/platform/product/node/package';
|
|
||||||
import { serve, Server, connect } from 'vs/base/parts/ipc/node/ipc.net';
|
import { serve, Server, connect } from 'vs/base/parts/ipc/node/ipc.net';
|
||||||
import { ServiceCollection } from 'vs/platform/instantiation/common/serviceCollection';
|
import { ServiceCollection } from 'vs/platform/instantiation/common/serviceCollection';
|
||||||
import { SyncDescriptor } from 'vs/platform/instantiation/common/descriptors';
|
import { SyncDescriptor } from 'vs/platform/instantiation/common/descriptors';
|
||||||
@@ -27,11 +26,11 @@ import { resolveCommonProperties } from 'vs/platform/telemetry/node/commonProper
|
|||||||
import { TelemetryAppenderChannel } from 'vs/platform/telemetry/node/telemetryIpc';
|
import { TelemetryAppenderChannel } from 'vs/platform/telemetry/node/telemetryIpc';
|
||||||
import { TelemetryService, ITelemetryServiceConfig } from 'vs/platform/telemetry/common/telemetryService';
|
import { TelemetryService, ITelemetryServiceConfig } from 'vs/platform/telemetry/common/telemetryService';
|
||||||
import { AppInsightsAppender } from 'vs/platform/telemetry/node/appInsightsAppender';
|
import { AppInsightsAppender } from 'vs/platform/telemetry/node/appInsightsAppender';
|
||||||
import { IWindowsService } from 'vs/platform/windows/common/windows';
|
import { IWindowsService, ActiveWindowManager } from 'vs/platform/windows/common/windows';
|
||||||
import { WindowsService } from 'vs/platform/windows/electron-browser/windowsService';
|
import { WindowsService } from 'vs/platform/windows/electron-browser/windowsService';
|
||||||
import { ipcRenderer } from 'electron';
|
import { ipcRenderer } from 'electron';
|
||||||
import { ILogService, LogLevel } from 'vs/platform/log/common/log';
|
import { ILogService, LogLevel } from 'vs/platform/log/common/log';
|
||||||
import { LogLevelSetterChannelClient, FollowerLogService } from 'vs/platform/log/common/logIpc';
|
import { LoggerChannelClient, FollowerLogService } from 'vs/platform/log/common/logIpc';
|
||||||
import { LocalizationsService } from 'vs/platform/localizations/node/localizations';
|
import { LocalizationsService } from 'vs/platform/localizations/node/localizations';
|
||||||
import { ILocalizationsService } from 'vs/platform/localizations/common/localizations';
|
import { ILocalizationsService } from 'vs/platform/localizations/common/localizations';
|
||||||
import { LocalizationsChannel } from 'vs/platform/localizations/node/localizationsIpc';
|
import { LocalizationsChannel } from 'vs/platform/localizations/node/localizationsIpc';
|
||||||
@@ -51,7 +50,12 @@ import { FileService } from 'vs/platform/files/common/fileService';
|
|||||||
import { IFileService } from 'vs/platform/files/common/files';
|
import { IFileService } from 'vs/platform/files/common/files';
|
||||||
import { DiskFileSystemProvider } from 'vs/platform/files/electron-browser/diskFileSystemProvider';
|
import { DiskFileSystemProvider } from 'vs/platform/files/electron-browser/diskFileSystemProvider';
|
||||||
import { Schemas } from 'vs/base/common/network';
|
import { Schemas } from 'vs/base/common/network';
|
||||||
import { IProductService } from 'vs/platform/product/common/product';
|
import { IProductService } from 'vs/platform/product/common/productService';
|
||||||
|
import { IUserDataSyncService, IUserDataSyncStoreService, ISettingsMergeService } from 'vs/platform/userDataSync/common/userDataSync';
|
||||||
|
import { UserDataSyncService, UserDataAutoSync } from 'vs/platform/userDataSync/common/userDataSyncService';
|
||||||
|
import { UserDataSyncStoreService } from 'vs/platform/userDataSync/common/userDataSyncStoreService';
|
||||||
|
import { UserDataSyncChannel } from 'vs/platform/userDataSync/common/userDataSyncIpc';
|
||||||
|
import { SettingsMergeChannelClient } from 'vs/platform/userDataSync/common/settingsSyncIpc';
|
||||||
|
|
||||||
export interface ISharedProcessConfiguration {
|
export interface ISharedProcessConfiguration {
|
||||||
readonly machineId: string;
|
readonly machineId: string;
|
||||||
@@ -97,8 +101,8 @@ async function main(server: Server, initData: ISharedProcessInitData, configurat
|
|||||||
const environmentService = new EnvironmentService(initData.args, process.execPath);
|
const environmentService = new EnvironmentService(initData.args, process.execPath);
|
||||||
|
|
||||||
const mainRouter = new StaticRouter(ctx => ctx === 'main');
|
const mainRouter = new StaticRouter(ctx => ctx === 'main');
|
||||||
const logLevelClient = new LogLevelSetterChannelClient(server.getChannel('loglevel', mainRouter));
|
const loggerClient = new LoggerChannelClient(server.getChannel('logger', mainRouter));
|
||||||
const logService = new FollowerLogService(logLevelClient, new SpdLogService('sharedprocess', environmentService.logsPath, initData.logLevel));
|
const logService = new FollowerLogService(loggerClient, new SpdLogService('sharedprocess', environmentService.logsPath, initData.logLevel));
|
||||||
disposables.add(logService);
|
disposables.add(logService);
|
||||||
logService.info('main', JSON.stringify(configuration));
|
logService.info('main', JSON.stringify(configuration));
|
||||||
|
|
||||||
@@ -118,6 +122,11 @@ async function main(server: Server, initData: ISharedProcessInitData, configurat
|
|||||||
const windowsService = new WindowsService(mainProcessService);
|
const windowsService = new WindowsService(mainProcessService);
|
||||||
services.set(IWindowsService, windowsService);
|
services.set(IWindowsService, windowsService);
|
||||||
|
|
||||||
|
const activeWindowManager = new ActiveWindowManager(windowsService);
|
||||||
|
const activeWindowRouter = new StaticRouter(ctx => activeWindowManager.getActiveClientId().then(id => ctx === id));
|
||||||
|
const settingsMergeChannel = server.getChannel('settingsMerge', activeWindowRouter);
|
||||||
|
services.set(ISettingsMergeService, new SettingsMergeChannelClient(settingsMergeChannel));
|
||||||
|
|
||||||
// Files
|
// Files
|
||||||
const fileService = new FileService(logService);
|
const fileService = new FileService(logService);
|
||||||
services.set(IFileService, fileService);
|
services.set(IFileService, fileService);
|
||||||
@@ -136,7 +145,7 @@ async function main(server: Server, initData: ISharedProcessInitData, configurat
|
|||||||
const services = new ServiceCollection();
|
const services = new ServiceCollection();
|
||||||
const environmentService = accessor.get(IEnvironmentService);
|
const environmentService = accessor.get(IEnvironmentService);
|
||||||
const { appRoot, extensionsPath, extensionDevelopmentLocationURI: extensionDevelopmentLocationURI, isBuilt, installSourcePath } = environmentService;
|
const { appRoot, extensionsPath, extensionDevelopmentLocationURI: extensionDevelopmentLocationURI, isBuilt, installSourcePath } = environmentService;
|
||||||
const telemetryLogService = new FollowerLogService(logLevelClient, new SpdLogService('telemetry', environmentService.logsPath, initData.logLevel));
|
const telemetryLogService = new FollowerLogService(loggerClient, new SpdLogService('telemetry', environmentService.logsPath, initData.logLevel));
|
||||||
telemetryLogService.info('The below are logs for every telemetry event sent from VS Code once the log level is set to trace.');
|
telemetryLogService.info('The below are logs for every telemetry event sent from VS Code once the log level is set to trace.');
|
||||||
telemetryLogService.info('===========================================================');
|
telemetryLogService.info('===========================================================');
|
||||||
|
|
||||||
@@ -148,7 +157,7 @@ async function main(server: Server, initData: ISharedProcessInitData, configurat
|
|||||||
}
|
}
|
||||||
const config: ITelemetryServiceConfig = {
|
const config: ITelemetryServiceConfig = {
|
||||||
appender: combinedAppender(appInsightsAppender, new LogAppender(logService)),
|
appender: combinedAppender(appInsightsAppender, new LogAppender(logService)),
|
||||||
commonProperties: resolveCommonProperties(product.commit, pkg.version, configuration.machineId, product.msftInternalDomains, installSourcePath),
|
commonProperties: resolveCommonProperties(product.commit, product.version, configuration.machineId, product.msftInternalDomains, installSourcePath),
|
||||||
piiPaths: extensionsPath ? [appRoot, extensionsPath] : [appRoot]
|
piiPaths: extensionsPath ? [appRoot, extensionsPath] : [appRoot]
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -164,6 +173,8 @@ async function main(server: Server, initData: ISharedProcessInitData, configurat
|
|||||||
services.set(IExtensionGalleryService, new SyncDescriptor(ExtensionGalleryService));
|
services.set(IExtensionGalleryService, new SyncDescriptor(ExtensionGalleryService));
|
||||||
services.set(ILocalizationsService, new SyncDescriptor(LocalizationsService));
|
services.set(ILocalizationsService, new SyncDescriptor(LocalizationsService));
|
||||||
services.set(IDiagnosticsService, new SyncDescriptor(DiagnosticsService));
|
services.set(IDiagnosticsService, new SyncDescriptor(DiagnosticsService));
|
||||||
|
services.set(IUserDataSyncStoreService, new SyncDescriptor(UserDataSyncStoreService));
|
||||||
|
services.set(IUserDataSyncService, new SyncDescriptor(UserDataSyncService));
|
||||||
|
|
||||||
const instantiationService2 = instantiationService.createChild(services);
|
const instantiationService2 = instantiationService.createChild(services);
|
||||||
|
|
||||||
@@ -181,6 +192,10 @@ async function main(server: Server, initData: ISharedProcessInitData, configurat
|
|||||||
const diagnosticsChannel = new DiagnosticsChannel(diagnosticsService);
|
const diagnosticsChannel = new DiagnosticsChannel(diagnosticsService);
|
||||||
server.registerChannel('diagnostics', diagnosticsChannel);
|
server.registerChannel('diagnostics', diagnosticsChannel);
|
||||||
|
|
||||||
|
const userDataSyncService = accessor.get(IUserDataSyncService);
|
||||||
|
const userDataSyncChannel = new UserDataSyncChannel(userDataSyncService);
|
||||||
|
server.registerChannel('userDataSync', userDataSyncChannel);
|
||||||
|
|
||||||
// clean up deprecated extensions
|
// clean up deprecated extensions
|
||||||
(extensionManagementService as ExtensionManagementService).removeDeprecatedExtensions();
|
(extensionManagementService as ExtensionManagementService).removeDeprecatedExtensions();
|
||||||
// update localizations cache
|
// update localizations cache
|
||||||
@@ -190,7 +205,8 @@ async function main(server: Server, initData: ISharedProcessInitData, configurat
|
|||||||
instantiationService2.createInstance(NodeCachedDataCleaner),
|
instantiationService2.createInstance(NodeCachedDataCleaner),
|
||||||
instantiationService2.createInstance(LanguagePackCachedDataCleaner),
|
instantiationService2.createInstance(LanguagePackCachedDataCleaner),
|
||||||
instantiationService2.createInstance(StorageDataCleaner),
|
instantiationService2.createInstance(StorageDataCleaner),
|
||||||
instantiationService2.createInstance(LogsDataCleaner)
|
instantiationService2.createInstance(LogsDataCleaner),
|
||||||
|
instantiationService2.createInstance(UserDataAutoSync)
|
||||||
));
|
));
|
||||||
disposables.add(extensionManagementService as ExtensionManagementService);
|
disposables.add(extensionManagementService as ExtensionManagementService);
|
||||||
});
|
});
|
||||||
|
|||||||