From f991014fab915f360e869b2e09814a28935a7547 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Mon, 10 Dec 2018 15:54:26 -0800 Subject: [PATCH 1/8] Update changelog for 0.21.0-insiders2. --- Extension/CHANGELOG.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index ecd09ae8f..01c37382e 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -1,11 +1,20 @@ # C/C++ for Visual Studio Code Change Log -## Version 0.21.0-insiders2: November 20, 2018 +## Version 0.21.0-insiders2: December 11, 2018 +* Fix bugs when UTF-8 characters > 1 byte are used. [#1525](https://github.com/Microsoft/vscode-cpptools/issues/1525), [#2883](https://github.com/Microsoft/vscode-cpptools/issues/2883) * Fix some IntelliSense process crashes. [#1785](https://github.com/Microsoft/vscode-cpptools/issues/1785) +* Fix some incorrect IntelliSense error squiggles. [#2422](https://github.com/Microsoft/vscode-cpptools/issues/2422), [#2597](https://github.com/Microsoft/vscode-cpptools/issues/2597) * Fix incorrect IntelliSense error with Mac clang 10.0 libraries. [#2608](https://github.com/Microsoft/vscode-cpptools/issues/2608) +* Add Italian translations for command titles. + * Julien Russo (@Dotpys) [PR #2663](https://github.com/Microsoft/vscode-cpptools/pull/2663) * Fix `Go to Definition` when `method(void)` is used. [#2802](https://github.com/Microsoft/vscode-cpptools/issues/2802) * Fix PowerShell bug on Win7. [#2822](https://github.com/Microsoft/vscode-cpptools/issues/2822) * Support `C_Cpp.updateChannel` for VS Code Exploration builds. +* Add icons for operators, structs/unions, enum values, template arguments, and macros. [#2849](https://github.com/Microsoft/vscode-cpptools/issues/2849) +* Add text `(declaration)`, `(typedef)`, `(type alias)`, and `(union)` to symbols. [#2851](https://github.com/Microsoft/vscode-cpptools/issues/2851) +* Fix problem with empty recurisve includes path. [#2855](https://github.com/Microsoft/vscode-cpptools/issues/2855) +* Add a refresh button to the `Attach to Process` picker. [#2885](https://github.com/Microsoft/vscode-cpptools/issues/2885) + * Matt Bise (@mbise1993) [PR #2895](https://github.com/Microsoft/vscode-cpptools/pull/2895) ## Version 0.21.0-insiders: November 8, 2018 * Add support for `__int128_t` and `__uint128_t` types. [#1815](https://github.com/Microsoft/vscode-cpptools/issues/1815) From afbe9abcb3ccce32b98bacab03698fc30ee2f25a Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Mon, 10 Dec 2018 16:06:18 -0800 Subject: [PATCH 2/8] Add a line and fix a typo. --- Extension/CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index 01c37382e..6e564a3f2 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -1,6 +1,7 @@ # C/C++ for Visual Studio Code Change Log ## Version 0.21.0-insiders2: December 11, 2018 +* Add documentation comments for hover, completion, and signature help. [#399](https://github.com/Microsoft/vscode-cpptools/issues/399) * Fix bugs when UTF-8 characters > 1 byte are used. [#1525](https://github.com/Microsoft/vscode-cpptools/issues/1525), [#2883](https://github.com/Microsoft/vscode-cpptools/issues/2883) * Fix some IntelliSense process crashes. [#1785](https://github.com/Microsoft/vscode-cpptools/issues/1785) * Fix some incorrect IntelliSense error squiggles. [#2422](https://github.com/Microsoft/vscode-cpptools/issues/2422), [#2597](https://github.com/Microsoft/vscode-cpptools/issues/2597) @@ -12,7 +13,7 @@ * Support `C_Cpp.updateChannel` for VS Code Exploration builds. * Add icons for operators, structs/unions, enum values, template arguments, and macros. [#2849](https://github.com/Microsoft/vscode-cpptools/issues/2849) * Add text `(declaration)`, `(typedef)`, `(type alias)`, and `(union)` to symbols. [#2851](https://github.com/Microsoft/vscode-cpptools/issues/2851) -* Fix problem with empty recurisve includes path. [#2855](https://github.com/Microsoft/vscode-cpptools/issues/2855) +* Fix problem with empty recursive include paths. [#2855](https://github.com/Microsoft/vscode-cpptools/issues/2855) * Add a refresh button to the `Attach to Process` picker. [#2885](https://github.com/Microsoft/vscode-cpptools/issues/2885) * Matt Bise (@mbise1993) [PR #2895](https://github.com/Microsoft/vscode-cpptools/pull/2895) From 6e50d02132dfa65346f887d5a14dcde555ebe85e Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Mon, 10 Dec 2018 16:40:25 -0800 Subject: [PATCH 3/8] Update MIEngine changes. --- Extension/CHANGELOG.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index 6e564a3f2..b661150a7 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -14,6 +14,7 @@ * Add icons for operators, structs/unions, enum values, template arguments, and macros. [#2849](https://github.com/Microsoft/vscode-cpptools/issues/2849) * Add text `(declaration)`, `(typedef)`, `(type alias)`, and `(union)` to symbols. [#2851](https://github.com/Microsoft/vscode-cpptools/issues/2851) * Fix problem with empty recursive include paths. [#2855](https://github.com/Microsoft/vscode-cpptools/issues/2855) +* Fix `NullReferenceException` on debugger launch with VS Code Insiders. [#2858](https://github.com/Microsoft/vscode-cpptools/issues/2858), [PR Microsoft/MIEngine#810](https://github.com/Microsoft/MIEngine/pull/810) * Add a refresh button to the `Attach to Process` picker. [#2885](https://github.com/Microsoft/vscode-cpptools/issues/2885) * Matt Bise (@mbise1993) [PR #2895](https://github.com/Microsoft/vscode-cpptools/pull/2895) @@ -174,9 +175,9 @@ * On Windows, `compilerPath` now populates with the guessed `cl.exe` path, and the `MSVC` include path is based on the `cl.exe` path. * Fix files under a non-recursive `browse.path` being removed from the database. * Fix `*` not working in `browse.path` with WSL. -* Fix -break-insert main returning multiple bind points. [#729](https://github.com/Microsoft/MIEngine/pull/729) -* Use -- instead of -x for gnome-terminal. [#733](https://github.com/Microsoft/MIEngine/pull/733) -* Added `miDebuggerArgs` in order to pass arguments to the program in `miDebuggerPath`. [#720](https://github.com/Microsoft/MIEngine/pull/720) +* Fix -break-insert main returning multiple bind points. [PR Microsoft/MIEngine#729](https://github.com/Microsoft/MIEngine/pull/729) +* Use -- instead of -x for gnome-terminal. [PR Microsoft/MIEngine#733](https://github.com/Microsoft/MIEngine/pull/733) +* Added `miDebuggerArgs` in order to pass arguments to the program in `miDebuggerPath`. [PR Microsoft/MIEngine#720](https://github.com/Microsoft/MIEngine/pull/720) ## Version 0.17.4: May 31, 2018 * Fix infinite loop (caused by deadlock) when using recursive includes. [#2043](https://github.com/Microsoft/vscode-cpptools/issues/2043) @@ -408,7 +409,7 @@ * Update Microsoft Visual C++ debugger to Visual Studio 2017 released components. * Fix issue with showing wrong thread. [#550](https://github.com/Microsoft/vscode-cpptools/issues/550) * Fix issue with binaries compiled with /FASTLINK causing debugger to hang. [#484](https://github.com/Microsoft/vscode-cpptools/issues/484) -* Fix issue in MinGW/Cygwin debugging where stop debugging causes VS Code to hang. [Microsoft/MIEngine#636](https://github.com/Microsoft/MIEngine/pull/636) +* Fix issue in MinGW/Cygwin debugging where stop debugging causes VS Code to hang. [PR Microsoft/MIEngine#636](https://github.com/Microsoft/MIEngine/pull/636) ## Version 0.12.0: June 26, 2017 * The default IntelliSense engine now provides semantic-aware autocomplete suggestions for `.`, `->`, and `::` operators. [#13](https://github.com/Microsoft/vscode-cpptools/issues/13) From a58565adf2e58c86b996331010c20c947c681000 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Tue, 11 Dec 2018 19:08:53 -0800 Subject: [PATCH 4/8] Update date. --- Extension/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index b661150a7..8a61d14f6 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -1,6 +1,6 @@ # C/C++ for Visual Studio Code Change Log -## Version 0.21.0-insiders2: December 11, 2018 +## Version 0.21.0-insiders2: December 12, 2018 * Add documentation comments for hover, completion, and signature help. [#399](https://github.com/Microsoft/vscode-cpptools/issues/399) * Fix bugs when UTF-8 characters > 1 byte are used. [#1525](https://github.com/Microsoft/vscode-cpptools/issues/1525), [#2883](https://github.com/Microsoft/vscode-cpptools/issues/2883) * Fix some IntelliSense process crashes. [#1785](https://github.com/Microsoft/vscode-cpptools/issues/1785) From e59eb5c7adff95f8a33e14dc52909716d094c940 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Wed, 12 Dec 2018 12:09:35 -0800 Subject: [PATCH 5/8] Update README.md. --- Extension/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Extension/README.md b/Extension/README.md index bdd02a250..b8be24a4f 100644 --- a/Extension/README.md +++ b/Extension/README.md @@ -2,7 +2,7 @@ This preview release of the extension adds language support for C/C++ to Visual Studio Code including: * Language service * Code Formatting (clang-format) - * Auto-Completion (experimental) + * Auto-Completion * Symbol Searching * Go to Definition/Declaration * Peek Definition/Declaration From 6280f03d1261cfd7d1d088754e87f84234b7526a Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Wed, 12 Dec 2018 19:30:24 -0800 Subject: [PATCH 6/8] Update date. --- Extension/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index 8a61d14f6..59a09c345 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -1,6 +1,6 @@ # C/C++ for Visual Studio Code Change Log -## Version 0.21.0-insiders2: December 12, 2018 +## Version 0.21.0-insiders2: December 13, 2018 * Add documentation comments for hover, completion, and signature help. [#399](https://github.com/Microsoft/vscode-cpptools/issues/399) * Fix bugs when UTF-8 characters > 1 byte are used. [#1525](https://github.com/Microsoft/vscode-cpptools/issues/1525), [#2883](https://github.com/Microsoft/vscode-cpptools/issues/2883) * Fix some IntelliSense process crashes. [#1785](https://github.com/Microsoft/vscode-cpptools/issues/1785) From d167c897ee67c6b9bb52162262ea02775774a50b Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Thu, 13 Dec 2018 15:20:10 -0800 Subject: [PATCH 7/8] Update to 5.1.1 of the vscode-languageclient. --- Extension/package-lock.json | 38 +++++++++++-------- Extension/package.json | 4 +- .../src/LanguageServer/protocolFilter.ts | 2 +- 3 files changed, 26 insertions(+), 18 deletions(-) diff --git a/Extension/package-lock.json b/Extension/package-lock.json index e42f5f1db..52dbb3442 100644 --- a/Extension/package-lock.json +++ b/Extension/package-lock.json @@ -7076,31 +7076,39 @@ } }, "vscode-jsonrpc": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-3.5.0.tgz", - "integrity": "sha1-hyOdnhZrLXNSJFuKgTWXgEwdY6o=" + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-4.0.0.tgz", + "integrity": "sha512-perEnXQdQOJMTDFNv+UF3h1Y0z4iSiaN9jIlb0OqIYgosPCZGYh/MCUlkFtV2668PL69lRDO32hmvL2yiidUYg==" }, "vscode-languageclient": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/vscode-languageclient/-/vscode-languageclient-3.5.1.tgz", - "integrity": "sha512-GTQ+hSq/o4c/y6GYmyP9XNrVoIu0NFZ67KltSkqN+tO0eUNDIlrVNX+3DJzzyLhSsrctuGzuYWm3t87mNAcBmQ==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/vscode-languageclient/-/vscode-languageclient-5.1.1.tgz", + "integrity": "sha512-jMxshi+BPRQFNG8GB00dJv7ldqMda0be26laYYll/udtJuHbog6RqK10GSxHWDN0PgY0b0m5fePyTk3bq8a0TA==", "requires": { - "vscode-languageserver-protocol": "3.5.1" + "semver": "^5.5.0", + "vscode-languageserver-protocol": "3.13.0" + }, + "dependencies": { + "semver": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz", + "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==" + } } }, "vscode-languageserver-protocol": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.5.1.tgz", - "integrity": "sha512-1fPDIwsAv1difCV+8daOrJEGunClNJWqnUHq/ncWrjhitKWXgGmRCjlwZ3gDUTt54yRcvXz1PXJDaRNvNH6pYA==", + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.13.0.tgz", + "integrity": "sha512-2ZGKwI+P2ovQll2PGAp+2UfJH+FK9eait86VBUdkPd9HRlm8e58aYT9pV/NYanHOcp3pL6x2yTLVCFMcTer0mg==", "requires": { - "vscode-jsonrpc": "3.5.0", - "vscode-languageserver-types": "3.5.0" + "vscode-jsonrpc": "^4.0.0", + "vscode-languageserver-types": "3.13.0" } }, "vscode-languageserver-types": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.5.0.tgz", - "integrity": "sha1-5I15li8LjgLelV4/UkkI4rGcA3Q=" + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.13.0.tgz", + "integrity": "sha512-BnJIxS+5+8UWiNKCP7W3g9FlE7fErFw0ofP5BXJe7c2tl0VeWh+nNHFbwAS2vmVC4a5kYxHBjRy0UeOtziemVA==" }, "which": { "version": "1.3.0", diff --git a/Extension/package.json b/Extension/package.json index a6f6ee92c..248eb1cc4 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -1426,7 +1426,7 @@ "vscode-debugadapter": "~1.24.0", "vscode-debugprotocol": "~1.24.0", "vscode-extension-telemetry": "~0.1.0", - "vscode-languageclient": "3.5.1", + "vscode-languageclient": "5.1.1", "yauzl": "~2.8.0" }, "runtimeDependencies": [ @@ -1594,4 +1594,4 @@ "binaries": [] } ] -} \ No newline at end of file +} diff --git a/Extension/src/LanguageServer/protocolFilter.ts b/Extension/src/LanguageServer/protocolFilter.ts index 70581380b..d81b39b6d 100644 --- a/Extension/src/LanguageServer/protocolFilter.ts +++ b/Extension/src/LanguageServer/protocolFilter.ts @@ -47,7 +47,7 @@ export function createProtocolFilter(me: Client, clients: ClientCollection): Mid } }, - provideCompletionItem: invoke3, + provideCompletionItem: invoke4, resolveCompletionItem: invoke2, provideHover: invoke3, provideSignatureHelp: invoke3, From aacb90de0b381453a1b6cbf06be7d160e65353d1 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Thu, 13 Dec 2018 17:45:10 -0800 Subject: [PATCH 8/8] Add more issues numbers to the changelog. --- Extension/CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index 59a09c345..2e6c00048 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -2,8 +2,8 @@ ## Version 0.21.0-insiders2: December 13, 2018 * Add documentation comments for hover, completion, and signature help. [#399](https://github.com/Microsoft/vscode-cpptools/issues/399) -* Fix bugs when UTF-8 characters > 1 byte are used. [#1525](https://github.com/Microsoft/vscode-cpptools/issues/1525), [#2883](https://github.com/Microsoft/vscode-cpptools/issues/2883) -* Fix some IntelliSense process crashes. [#1785](https://github.com/Microsoft/vscode-cpptools/issues/1785) +* Fix bugs when UTF-8 characters > 1 byte are used. [#1504](https://github.com/Microsoft/vscode-cpptools/issues/1504), [#1525](https://github.com/Microsoft/vscode-cpptools/issues/1525), [#2034](https://github.com/Microsoft/vscode-cpptools/issues/2034), [#2082](https://github.com/Microsoft/vscode-cpptools/issues/2082), [#2883](https://github.com/Microsoft/vscode-cpptools/issues/2883) +* Fix some IntelliSense process crashes. [#1785](https://github.com/Microsoft/vscode-cpptools/issues/1785), [#2913](https://github.com/Microsoft/vscode-cpptools/issues/2913) * Fix some incorrect IntelliSense error squiggles. [#2422](https://github.com/Microsoft/vscode-cpptools/issues/2422), [#2597](https://github.com/Microsoft/vscode-cpptools/issues/2597) * Fix incorrect IntelliSense error with Mac clang 10.0 libraries. [#2608](https://github.com/Microsoft/vscode-cpptools/issues/2608) * Add Italian translations for command titles.