Compare commits
63
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a88ca881ad | ||
|
|
9ea6727743 | ||
|
|
bd1f66b411 | ||
|
|
c5be0b55c7 | ||
|
|
e8080fc86f | ||
|
|
579e4db42b | ||
|
|
16bc8f6e5d | ||
|
|
6c4080832b | ||
|
|
882b62c25b | ||
|
|
5878686eac | ||
|
|
f87944a72a | ||
|
|
8e0a0792b8 | ||
|
|
6712181c45 | ||
|
|
940a720501 | ||
|
|
211e497a89 | ||
|
|
f04ee43425 | ||
|
|
8a4bfa2183 | ||
|
|
c6af5ce8b5 | ||
|
|
014f30e942 | ||
|
|
d1c9d4d298 | ||
|
|
09ccd3af42 | ||
|
|
375b64b4f8 | ||
|
|
783ef7290a | ||
|
|
7f1efd4b84 | ||
|
|
d68f76b51e | ||
|
|
6ba1262347 | ||
|
|
490fc7504f | ||
|
|
f2959f4d7a | ||
|
|
fa4d7b22c1 | ||
|
|
3cb7f7e61f | ||
|
|
779f2ce2b5 | ||
|
|
0c4c83e5bd | ||
|
|
a369ede8d9 | ||
|
|
36ce8f885f | ||
|
|
347794b0c7 | ||
|
|
3ed087134c | ||
|
|
902355e021 | ||
|
|
32e98912df | ||
|
|
084a8e708c | ||
|
|
045d50bb90 | ||
|
|
68eda19665 | ||
|
|
39ab866a10 | ||
|
|
d4cdfe6994 | ||
|
|
c18592b5a3 | ||
|
|
fee924b374 | ||
|
|
6724e13c63 | ||
|
|
717de54b06 | ||
|
|
51cd214f1e | ||
|
|
da277c8593 | ||
|
|
b3cce807bb | ||
|
|
a533eb9a43 | ||
|
|
9702eae953 | ||
|
|
a4b51997ff | ||
|
|
b1274d3c76 | ||
|
|
8f8565dbfd | ||
|
|
7f4614c31c | ||
|
|
e231453778 | ||
|
|
8729804dc2 | ||
|
|
0cf237c839 | ||
|
|
ddc1f901c2 | ||
|
|
9ca27af2df | ||
|
|
082435ec8b | ||
|
|
324c5f59f4 |
@@ -1,5 +1,9 @@
|
||||
# C/C++ for Visual Studio Code Change Log
|
||||
|
||||
## Version 0.27.1: April 28, 2020
|
||||
### Bug Fix
|
||||
* Disable Insiders `updateChannel` for 32-bit Linux and VS Code older than 1.43.0.
|
||||
|
||||
## Version 0.27.0: March 30, 2020
|
||||
### Enhancements
|
||||
* Improved multi-root implementation with a single language server process and database for the entire workspace (shared between workspace folders). Fixes most [multi-root bugs](https://github.com/microsoft/vscode-cpptools/issues?q=is%3Aopen+is%3Aissue+label%3A%22Feature%3A+Multiroot%22+label%3A%22fixed+%28release+pending%29%22+milestone%3A0.27.0).
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name": "cpptools",
|
||||
"displayName": "C/C++",
|
||||
"description": "C/C++ IntelliSense, debugging, and code browsing.",
|
||||
"version": "0.27.0-master",
|
||||
"version": "0.27.1",
|
||||
"publisher": "ms-vscode",
|
||||
"preview": true,
|
||||
"icon": "LanguageCCPP_color_128x.png",
|
||||
|
||||
@@ -41,11 +41,12 @@ let ui: UI;
|
||||
let disposables: vscode.Disposable[] = [];
|
||||
let languageConfigurations: vscode.Disposable[] = [];
|
||||
let intervalTimer: NodeJS.Timer;
|
||||
let insiderUpdateEnabled: boolean = false;
|
||||
let insiderUpdateTimer: NodeJS.Timer;
|
||||
const insiderUpdateTimerInterval: number = 1000 * 60 * 60;
|
||||
let realActivationOccurred: boolean = false;
|
||||
let tempCommands: vscode.Disposable[] = [];
|
||||
let activatedPreviously: PersistentWorkspaceState<boolean>;
|
||||
const insiderUpdateTimerInterval: number = 1000 * 60 * 60;
|
||||
let buildInfoCache: BuildInfo | undefined;
|
||||
const taskSourceStr: string = "C/C++";
|
||||
const cppInstallVsixStr: string = 'C/C++: Install vsix -- ';
|
||||
@@ -462,12 +463,24 @@ function realActivation(): void {
|
||||
|
||||
vcpkgDbPromise = initVcpkgDatabase();
|
||||
|
||||
if (settings.updateChannel === 'Default') {
|
||||
suggestInsidersChannel();
|
||||
} else if (settings.updateChannel === 'Insiders') {
|
||||
insiderUpdateTimer = global.setInterval(checkAndApplyUpdate, insiderUpdateTimerInterval, settings.updateChannel);
|
||||
checkAndApplyUpdate(settings.updateChannel);
|
||||
}
|
||||
PlatformInformation.GetPlatformInformation().then(info => {
|
||||
// Skip Insiders processing for 32-bit Linux.
|
||||
if (info.platform !== "linux" || info.architecture === "x86_64") {
|
||||
// Skip Insiders processing for VS Code newer than 1.42.1.
|
||||
// TODO: Change this to not require the hardcoded version to be updated.
|
||||
let vscodeVersion: PackageVersion = new PackageVersion(vscode.version);
|
||||
let minimumSupportedVersionForInsidersUpgrades: PackageVersion = new PackageVersion("1.42.1");
|
||||
if (vscodeVersion.isGreaterThan(minimumSupportedVersionForInsidersUpgrades, "insider")) {
|
||||
insiderUpdateEnabled = true;
|
||||
if (settings.updateChannel === 'Default') {
|
||||
suggestInsidersChannel();
|
||||
} else if (settings.updateChannel === 'Insiders') {
|
||||
insiderUpdateTimer = global.setInterval(checkAndApplyUpdate, insiderUpdateTimerInterval, settings.updateChannel);
|
||||
checkAndApplyUpdate(settings.updateChannel);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// Register a protocol handler to serve localized versions of the schema for c_cpp_properties.json
|
||||
class SchemaProvider implements vscode.TextDocumentContentProvider {
|
||||
@@ -511,15 +524,17 @@ function onDidChangeSettings(event: vscode.ConfigurationChangeEvent): void {
|
||||
}
|
||||
});
|
||||
|
||||
const newUpdateChannel: string = changedActiveClientSettings['updateChannel'];
|
||||
if (newUpdateChannel) {
|
||||
if (newUpdateChannel === 'Default') {
|
||||
clearInterval(insiderUpdateTimer);
|
||||
} else if (newUpdateChannel === 'Insiders') {
|
||||
insiderUpdateTimer = global.setInterval(checkAndApplyUpdate, insiderUpdateTimerInterval);
|
||||
}
|
||||
if (insiderUpdateEnabled) {
|
||||
const newUpdateChannel: string = changedActiveClientSettings['updateChannel'];
|
||||
if (newUpdateChannel) {
|
||||
if (newUpdateChannel === 'Default') {
|
||||
clearInterval(insiderUpdateTimer);
|
||||
} else if (newUpdateChannel === 'Insiders') {
|
||||
insiderUpdateTimer = global.setInterval(checkAndApplyUpdate, insiderUpdateTimerInterval);
|
||||
}
|
||||
|
||||
checkAndApplyUpdate(newUpdateChannel);
|
||||
checkAndApplyUpdate(newUpdateChannel);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -132,6 +132,9 @@ async function offlineInstallation(info: PlatformInformation): Promise<void> {
|
||||
setInstallationStage('cleanUpUnusedBinaries');
|
||||
await cleanUpUnusedBinaries(info);
|
||||
|
||||
setInstallationStage('cleanUpUnusedBinaries');
|
||||
await cleanUpUnusedBinaries(info);
|
||||
|
||||
setInstallationStage('makeBinariesExecutable');
|
||||
await makeBinariesExecutable();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user