Skip to content

Commit d4df455

Browse files
authored
Merge pull request #8782 from microsoft/coleng/merge_release_1_8_4
2 parents 3b4c8e7 + 025ab76 commit d4df455

File tree

6 files changed

+27
-31
lines changed

6 files changed

+27
-31
lines changed

Extension/CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
# C/C++ for Visual Studio Code Change Log
22

3+
## Version 1.8.4: February 7, 2022
4+
### Bug Fixes
5+
* Suppress incorrect warnings on ARM64 macOS. [#8756](https://github.com/microsoft/vscode-cpptools/issues/8756)
6+
* Fix debugger regressions. [#8760](https://github.com/microsoft/vscode-cpptools/issues/8760)
7+
* Remove `Offline Installation` section from README.md. [#8769](https://github.com/microsoft/vscode-cpptools/pull/8769)
8+
* Fix performance issue with loading large PDBs. [#8775](https://github.com/microsoft/vscode-cpptools/issues/8775)
9+
310
## Version 1.8.2: January 31, 2022
411
### New Features
12+
* Add data breakpoints (memory read/write interrupts) with `gdb` debugging. [#1410](https://github.com/microsoft/vscode-cpptools/issues/1410)
513
* Add "All Exceptions" Breakpoint for cppdbg [#1800](https://github.com/microsoft/vscode-cpptools/issues/1800)
614
* Add multi-threaded code analysis (using `clang-tidy`) based on the IntelliSense configuration. It defaults to using up to half the cores, but it can be changed via the `C_Cpp.codeAnalysis.maxConcurrentThreads` setting. [#2908](https://github.com/microsoft/vscode-cpptools/issues/2908).
715
* Add support for Alpine Linux [#4827](https://github.com/microsoft/vscode-cpptools/issues/4827)
@@ -19,6 +27,7 @@
1927
### Bug Fixes
2028
* Fix several IntelliSense bugs. [#5704](https://github.com/microsoft/vscode-cpptools/issues/5704), [#6759](https://github.com/microsoft/vscode-cpptools/issues/6759), [#8412](https://github.com/microsoft/vscode-cpptools/issues/8412), [#8434](https://github.com/microsoft/vscode-cpptools/issues/8434)
2129
* Fix newlines not being handled in comments with a Doxygen tag. [#5741](https://github.com/microsoft/vscode-cpptools/issues/5741)
30+
* Fix Doxygen comments with `\0` being truncated. [#6084](https://github.com/microsoft/vscode-cpptools/issues/6084)
2231
* Fix `files.exclude` not working for directories external to the active workspace folder. [#6877](https://github.com/microsoft/vscode-cpptools/issues/6877)
2332
* Fix [MSYS2 GDB 10.2] gdb: ERROR: Unable to start debugging. Unexpected GDB output from command "-exec-run". Error creating process [#7706](https://github.com/microsoft/vscode-cpptools/issues/7706)
2433
* Fix a bug with vcFormat inserting additional spaces between `}` and `else`. [#7731](https://github.com/microsoft/vscode-cpptools/issues/7731)
@@ -34,6 +43,7 @@
3443
* Fix the tag parser getting stuck on certain code. [#8459](https://github.com/microsoft/vscode-cpptools/issues/8459)
3544
* Fix an invalid success message when a build task fails. [#8467](https://github.com/microsoft/vscode-cpptools/issues/8467)
3645
* Fix compiler querying with certain Cygwin/MSYS2 compilers on Windows. [#8496](https://github.com/microsoft/vscode-cpptools/issues/8496)
46+
* Fix a bug with conditional breakpoints. [#8515](https://github.com/microsoft/vscode-cpptools/issues/8515)
3747
* Fix non-ASCII output with `cppbuild` tasks. [#8518](https://github.com/microsoft/vscode-cpptools/issues/8518)
3848
* Fix 3 settings not getting environment variables resolved after a settings change. [#8531](https://github.com/microsoft/vscode-cpptools/issues/8531)
3949
* Don't block running a task if it doesn't use the active file. [#8586](https://github.com/microsoft/vscode-cpptools/issues/8586)
@@ -42,7 +52,8 @@
4252
* Fix workspace rescanning (tag parsing) not automatically happening after c/cpp associations are added to `files.associations`. [#8687](https://github.com/microsoft/vscode-cpptools/issues/8687)
4353
* Fix debugging when Windows binaries are linked with /PDBPageSize > 4k. [#8690](https://github.com/microsoft/vscode-cpptools/issues/8690)
4454
* Switch usage of `-dD` to `-dM` when compiler querying. [#8692](https://github.com/microsoft/vscode-cpptools/issues/8692)
45-
* Fix no document symbols appearing in certain cases. [#8276](https://github.com/microsoft/vscode-cpptools/issues/8726)
55+
* Fix breakpoints with msys2 gcc. [#8696](https://github.com/microsoft/vscode-cpptools/issues/8696)
56+
* Fix no document symbols appearing in certain cases. [#8726](https://github.com/microsoft/vscode-cpptools/issues/8726)
4657
* Fix an issue in which multiple (potentially different) diagnostics were delivered for headers shared by multiple TUs.
4758
* Fix some translations.
4859

Extension/README.md

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# C/C++ for Visual Studio Code
22

3-
#### [Repository](https://github.com/microsoft/vscode-cpptools)  |  [Issues](https://github.com/microsoft/vscode-cpptools/issues)  |  [Documentation](https://code.visualstudio.com/docs/languages/cpp)  |  [Code Samples](https://github.com/microsoft/vscode-cpptools/tree/main/Code%20Samples)  |  [Offline Installers](https://github.com/microsoft/vscode-cpptools/releases)
3+
#### [Repository](https://github.com/microsoft/vscode-cpptools)  |  [Issues](https://github.com/microsoft/vscode-cpptools/issues)  |  [Documentation](https://code.visualstudio.com/docs/languages/cpp)  |  [Code Samples](https://github.com/microsoft/vscode-cpptools/tree/main/Code%20Samples)
44

55
[![Badge](https://aka.ms/vsls-badge)](https://aka.ms/vsls)
66

@@ -45,21 +45,6 @@ If someone has already filed an issue that encompasses your feedback, please lea
4545
<br>
4646
Let us know what you think of the extension by taking the quick survey.
4747

48-
## Offline installation
49-
50-
The extension has platform-specific binary dependencies, therefore installation via the Marketplace requires an Internet connection in order to download additional dependencies. If you are working on a computer that does not have access to the Internet or is behind a strict firewall, you may need to use our platform-specific packages and install them by running VS Code's `"Install from VSIX..."` command. These "offline' packages are available at: https://github.com/Microsoft/vscode-cpptools/releases.
51-
52-
Package | Platform
53-
:--- | :---
54-
`cpptools-linux.vsix` | Linux 64-bit
55-
`cpptools-linux-armhf.vsix` | Linux ARM 32-bit
56-
`cpptools-linux-aarch64.vsix` | Linux ARM 64-bit
57-
`cpptools-osx.vsix` | macOS 64-bit
58-
`cpptools-osx-arm64.vsix` | macOS ARM64
59-
`cpptools-win32.vsix` | Windows 64-bit & 32-bit
60-
`cpptools-win-arm64.vsix` | Windows ARM64
61-
`cpptools-linux32.vsix` | Linux 32-bit ([available up to version 0.27.0](https://github.com/microsoft/vscode-cpptools/issues/5346))
62-
6348
## Contribution
6449

6550
Contributions are always welcome. Please see our [contributing guide](CONTRIBUTING.md) for more details.
@@ -70,4 +55,4 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope
7055

7156
## Data and telemetry
7257

73-
This extension collects usage data and sends it to Microsoft to help improve our products and services. Collection of telemetry is controlled via the same setting provided by Visual Studio Code: `"telemetry.enableTelemetry"`. Read our [privacy statement](https://privacy.microsoft.com/en-us/privacystatement) to learn more.
58+
This extension collects usage data and sends it to Microsoft to help improve our products and services. Collection of telemetry is controlled via the same setting provided by Visual Studio Code: `"telemetry.enableTelemetry"`. Read our [privacy statement](https://privacy.microsoft.com/en-us/privacystatement) to learn more.

Extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "cpptools",
33
"displayName": "C/C++",
44
"description": "C/C++ IntelliSense, debugging, and code browsing.",
5-
"version": "1.7.1-main",
5+
"version": "1.8.2-main",
66
"publisher": "ms-vscode",
77
"icon": "LanguageCCPP_color_128x.png",
88
"readme": "README.md",

Extension/src/main.ts

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,18 @@ async function makeBinariesExecutable(): Promise<void> {
107107
commonBinaries.forEach(binary => promises.push(util.allowExecution(util.getExtensionFilePath(binary))));
108108
if (process.platform === "darwin") {
109109
const macBinaries: string[] = [
110-
"./debugAdapters/lldb-mi/bin/lldb-mi",
111-
"./debugAdapters/lldb/bin/debugserver",
112-
"./debugAdapters/lldb/bin/lldb-mi",
113-
"./debugAdapters/lldb/bin/lldb-argdumper",
114-
"./debugAdapters/lldb/bin/lldb-launcher"
110+
"./debugAdapters/lldb-mi/bin/lldb-mi"
115111
];
116112
macBinaries.forEach(binary => promises.push(util.allowExecution(util.getExtensionFilePath(binary))));
113+
if (os.arch() === "x64") {
114+
const oldMacBinaries: string[] = [
115+
"./debugAdapters/lldb/bin/debugserver",
116+
"./debugAdapters/lldb/bin/lldb-mi",
117+
"./debugAdapters/lldb/bin/lldb-argdumper",
118+
"./debugAdapters/lldb/bin/lldb-launcher"
119+
];
120+
oldMacBinaries.forEach(binary => promises.push(util.allowExecution(util.getExtensionFilePath(binary))));
121+
}
117122
}
118123
}
119124
await Promise.all(promises);

Extension/src/platform.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,14 @@ export class PlatformInformation {
4949
public static GetArchitecture(): string {
5050
const arch: string = os.arch();
5151
switch (arch) {
52-
case "x64":
5352
case "arm64":
5453
case "arm":
5554
return arch;
5655
case "x32":
5756
case "ia32":
5857
return "x86";
5958
default:
60-
if (os.platform() === "win32") {
61-
return "x86";
62-
} else {
63-
return "x64";
64-
}
59+
return "x64";
6560
}
6661
}
6762

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# C/C++ for Visual Studio Code
22

3-
#### [Repository](https://github.com/microsoft/vscode-cpptools)&nbsp;&nbsp;|&nbsp;&nbsp;[Issues](https://github.com/microsoft/vscode-cpptools/issues)&nbsp;&nbsp;|&nbsp;&nbsp;[Documentation](https://code.visualstudio.com/docs/languages/cpp)&nbsp;&nbsp;|&nbsp;&nbsp;[Code Samples](https://github.com/microsoft/vscode-cpptools/tree/main/Code%20Samples)&nbsp;&nbsp;|&nbsp;&nbsp;[Offline Installers](https://github.com/microsoft/vscode-cpptools/releases)
3+
#### [Repository](https://github.com/microsoft/vscode-cpptools)&nbsp;&nbsp;|&nbsp;&nbsp;[Issues](https://github.com/microsoft/vscode-cpptools/issues)&nbsp;&nbsp;|&nbsp;&nbsp;[Documentation](https://code.visualstudio.com/docs/languages/cpp)&nbsp;&nbsp;|&nbsp;&nbsp;[Code Samples](https://github.com/microsoft/vscode-cpptools/tree/main/Code%20Samples)
44

55
[![Badge](https://aka.ms/vsls-badge)](https://aka.ms/vsls)
66

0 commit comments

Comments
 (0)