Skip to content

Commit 460b959

Browse files
authored
Update changelog, fwlinks, and update telemetry API (#2748)
Update changelog, fwlinks, and update telemetry API
1 parent 1c38b55 commit 460b959

File tree

4 files changed

+24
-18
lines changed

4 files changed

+24
-18
lines changed

Extension/CHANGELOG.md

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

3-
## Version 0.20.0: October 29, 2018
3+
## Version 0.20.1: October 31, 2018
4+
* Fix IntelliSense-based `Go to Declaration` when there's only a definition in a TU. [#2743](https://github.com/Microsoft/vscode-cpptools/issues/2743)
5+
* Fix `#include` completion for standalone header files. [#2744](https://github.com/Microsoft/vscode-cpptools/issues/2744)
6+
* Fix the highest hitting main process crash.
7+
* Fix IntelliSense process crash with completion.
8+
9+
## Version 0.20.0: October 30, 2018
410
* Add IntegratedTerminal support for Linux and Windows. [#35](https://github.com/microsoft/vscode-cpptools/issues/35)
511
* Unify Visual Studio Code debug protocol parsing by using a shared library with Visual Studio.
612
* Fix IntelliSense-based `Go to Definition` on overloads (in the same TU). [#1071](https://github.com/Microsoft/vscode-cpptools/issues/1071)
@@ -73,7 +79,7 @@
7379
* Fix IntelliSense crash when the gcc-8 type_traits header is used. [#2323](https://github.com/Microsoft/vscode-cpptools/issues/2323), [#2328](https://github.com/Microsoft/vscode-cpptools/issues/2328)
7480
* Limit configuration popups to one at a time. [#2324](https://github.com/Microsoft/vscode-cpptools/issues/2324)
7581
* Don't show `includePath` code actions if compile commands or custom configuration providers are used. [#2334](https://github.com/Microsoft/vscode-cpptools/issues/2334)
76-
* Fix `Cpp.clang_format_path` not accepting environment variables. [#2344](https://github.com/Microsoft/vscode-cpptools/issues/2344)
82+
* Fix `C_Cpp.clang_format_path` not accepting environment variables. [#2344](https://github.com/Microsoft/vscode-cpptools/issues/2344)
7783
* Fix IntelliSense not working with non-ASCII characters in the WSL install path. [#2351](https://github.com/Microsoft/vscode-cpptools/issues/2351)
7884
* Filter out buggy IntelliSense error `"= delete" can only appear on the first declaration of a function`. [#2352](https://github.com/Microsoft/vscode-cpptools/issues/2352)
7985
* Fix IntelliSense failing with WSL if gcc is installed bug g++ isn't. [#2360](https://github.com/Microsoft/vscode-cpptools/issues/2360)

Extension/package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Extension/package.json

Lines changed: 6 additions & 6 deletions
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": "0.20.0-master",
5+
"version": "0.20.1-master",
66
"publisher": "ms-vscode",
77
"preview": true,
88
"icon": "LanguageCCPP_color_128x.png",
@@ -1411,14 +1411,14 @@
14111411
"vscode-cpptools": "2.1.1",
14121412
"vscode-debugadapter": "~1.24.0",
14131413
"vscode-debugprotocol": "~1.24.0",
1414-
"vscode-extension-telemetry": "~0.1.0",
1414+
"vscode-extension-telemetry": "~0.0.22",
14151415
"vscode-languageclient": "3.5.1",
14161416
"yauzl": "~2.8.0"
14171417
},
14181418
"runtimeDependencies": [
14191419
{
14201420
"description": "C/C++ language components (Linux / x86_64)",
1421-
"url": "https://go.microsoft.com/fwlink/?linkid=2026727",
1421+
"url": "https://go.microsoft.com/fwlink/?linkid=2036673",
14221422
"platforms": [
14231423
"linux"
14241424
],
@@ -1432,7 +1432,7 @@
14321432
},
14331433
{
14341434
"description": "C/C++ language components (Linux / x86)",
1435-
"url": "https://go.microsoft.com/fwlink/?linkid=2026568",
1435+
"url": "https://go.microsoft.com/fwlink/?linkid=2036672",
14361436
"platforms": [
14371437
"linux"
14381438
],
@@ -1448,7 +1448,7 @@
14481448
},
14491449
{
14501450
"description": "C/C++ language components (OS X)",
1451-
"url": "https://go.microsoft.com/fwlink/?linkid=2026569",
1451+
"url": "https://go.microsoft.com/fwlink/?linkid=2036674",
14521452
"platforms": [
14531453
"darwin"
14541454
],
@@ -1459,7 +1459,7 @@
14591459
},
14601460
{
14611461
"description": "C/C++ language components (Windows)",
1462-
"url": "https://go.microsoft.com/fwlink/?linkid=2026728",
1462+
"url": "https://go.microsoft.com/fwlink/?linkid=2036671",
14631463
"platforms": [
14641464
"win32"
14651465
],

Extension/src/LanguageServer/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,8 +661,8 @@ function handleCrashFileRead(err: NodeJS.ErrnoException, data: string): void {
661661
endCrash = data.length - 1;
662662
}
663663
data = data.substr(startCrash, endCrash - startCrash);
664-
if (data.length > 16384) {
665-
data = data.substr(0, 16384) + "...";
664+
if (data.length > 8192) { // The API has an 8k limit.
665+
data = data.substr(0, 8189) + "...";
666666
}
667667
if (data.length < 2) {
668668
return; // Don't send telemetry if there's no call stack.

0 commit comments

Comments
 (0)