Skip to content

Commit 03933b0

Browse files
authored
Merge pull request #12277 from microsoft/seanmcm/1_20_5_release
Merge for 1.20.5
2 parents ad5d6de + fc8eb86 commit 03933b0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+47362
-46457
lines changed

.github/actions/package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Build/cg/cg.yml

+95
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
name: $(date:yyyyMMdd)$(rev:.r)
2+
trigger:
3+
branches:
4+
include:
5+
- main
6+
- release
7+
8+
schedules:
9+
- cron: 30 5 * * 0
10+
branches:
11+
include:
12+
- main
13+
always: true
14+
15+
resources:
16+
repositories:
17+
- repository: MicroBuildTemplate
18+
type: git
19+
name: 1ESPipelineTemplates/MicroBuildTemplate
20+
ref: refs/tags/release
21+
22+
extends:
23+
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
24+
parameters:
25+
pool:
26+
name: AzurePipelines-EO
27+
image: AzurePipelinesWindows2022compliantGPT
28+
os: windows
29+
sdl:
30+
sourceAnalysisPool:
31+
name: AzurePipelines-EO
32+
image: AzurePipelinesWindows2022compliantGPT
33+
os: windows
34+
tsa:
35+
enabled: false
36+
featureFlags:
37+
autoBaseline: false
38+
39+
stages:
40+
- stage: build
41+
jobs:
42+
- job: Phase_1
43+
displayName: Build cpptools.vsix
44+
timeoutInMinutes: 60
45+
cancelTimeoutInMinutes: 1
46+
templateContext:
47+
outputs:
48+
- output: pipelineArtifact
49+
displayName: 'cpptools.vsix'
50+
condition: succeeded()
51+
targetPath: $(Build.ArtifactStagingDirectory)\Extension
52+
artifactName: cpptools.vsix
53+
54+
steps:
55+
- checkout: self
56+
57+
- task: geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@3
58+
displayName: Use Yarn 1.x
59+
60+
- task: UseNode@1
61+
displayName: Use Node 16.x
62+
inputs:
63+
version: 16.x
64+
65+
- task: CmdLine@2
66+
displayName: Delete .npmrc if it exists
67+
inputs:
68+
script: IF EXIST %SYSTEMDRIVE%\Users\%USERNAME%\.npmrc del %SYSTEMDRIVE%\Users\%USERNAME%\.npmrc
69+
70+
- task: Npm@0
71+
name: NpmInstall_2
72+
displayName: Install vsce
73+
inputs:
74+
arguments: --global @vscode/vsce
75+
76+
- task: CmdLine@1
77+
name: ProcessRunner_11
78+
displayName: Create Extension Staging Directory
79+
inputs:
80+
filename: mkdir
81+
arguments: $(Build.ArtifactStagingDirectory)\Extension
82+
83+
- task: CmdLine@1
84+
name: ProcessRunner_12
85+
displayName: Run VSCE to package vsix
86+
inputs:
87+
filename: vsce
88+
arguments: package --yarn -o $(Build.ArtifactStagingDirectory)\Extension\cpptools.vsix
89+
workingFolder: $(Build.SourcesDirectory)\Extension
90+
91+
- task: Npm@0
92+
displayName: Uninstall vsce
93+
inputs:
94+
command: uninstall
95+
arguments: --global @vscode/vsce

Extension/CHANGELOG.md

+35
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
# C/C++ for Visual Studio Code Changelog
22

3+
## Version 1.20.5: May 6, 2024
4+
### Enhancements
5+
* Add support for C++ modules IFC version 0.43. [#10843](https://github.com/microsoft/vscode-cpptools/issues/10843)
6+
* Add support for `${userHome}` in `c_cpp_properties.json`. [#11756](https://github.com/microsoft/vscode-cpptools/issues/11756)
7+
* Reduce the default max workspace symbol search results and add `C_Cpp.maxSymbolSearchResults`. [PR #12131](https://github.com/microsoft/vscode-cpptools/pull/12131)
8+
* Update `clang-format`/`clang-tidy` to 18.1.2. [PR #12135](https://github.com/microsoft/vscode-cpptools/pull/12135)
9+
* Log `cpptools` and `cpptools-srv` crash call stacks in the 'C/C++ Crash Call Stacks' Output channel for bug reporting (on x64 Linux and x64/arm64 Mac).
10+
* Increase the fuzzy symbol character limit from 16 to 28.
11+
* Update the IntelliSense engine.
12+
13+
### Bug Fixes
14+
* Fix an IntelliSense parsing issue. [#6183](https://github.com/microsoft/vscode-cpptools/issues/6183)
15+
* Fix 'Copy Declaration / Definition' code not being formatted. [#10956](https://github.com/microsoft/vscode-cpptools/issues/10956)
16+
* Fix semantic colorization of certain macro arguments. [#11416](https://github.com/microsoft/vscode-cpptools/issues/11416)
17+
* Fix 'Add #include' code actions for code scoped by a namespace or class. [#11541](https://github.com/microsoft/vscode-cpptools/issues/11541)
18+
* Fix 'Create Declaration / Definition' not working if the cursor isn't on the function name. [#11834](https://github.com/microsoft/vscode-cpptools/issues/11834)
19+
* Fix duplicate 'Add #include' code actions. [#11989](https://github.com/microsoft/vscode-cpptools/issues/11989)
20+
* Fix directories being incorrectly recursively traversed in certain cases. [#11993](https://github.com/microsoft/vscode-cpptools/issues/11993)
21+
* Fix `forcedInclude` resolution for relative paths. [PR #12035](https://github.com/microsoft/vscode-cpptools/pull/12035)
22+
* Fix 'Add Configuration...' in `launch.json` when `editor.suggest.showSnippets` is `false`. [#12059](https://github.com/microsoft/vscode-cpptools/issues/12059)
23+
* Fix `c_cpp_properties.json` warnings for `includePath`s with `**` wildcard glob patterns. [#12070](https://github.com/microsoft/vscode-cpptools/issues/12070)
24+
* Fix non-existent relative path variables not showing a warning in `c_cpp_properties.json` (and other related issues). [#12089](https://github.com/microsoft/vscode-cpptools/issues/12089)
25+
* Fix call stacks for `cpptools` and `cpptools-srv` not being available on Linux. [#12091](https://github.com/microsoft/vscode-cpptools/issues/12091)
26+
* Fix IntelliSense processes shutting down immediately if not enough memory is detected. [#12126](https://github.com/microsoft/vscode-cpptools/issues/12126)
27+
* Fix code analysis aborting after encountering an excluded file (instead of just skipping it). [#12127](https://github.com/microsoft/vscode-cpptools/issues/12127)
28+
* Fix `"Cannot open source"` errors on missing includes not appearing if `C_Cpp.errorSquiggles` is `enabled`. [#12134](https://github.com/microsoft/vscode-cpptools/issues/12134)
29+
* Fix the IntelliSense server not starting when a completion, signature help, or document highlight occurs from external commands. [#12143](https://github.com/microsoft/vscode-cpptools/issues/12143)
30+
* Fix the IntelliSense configuration not falling back to the `c_cpp_properties.json` configuration for a file not handled by a configuration provider. [#12144](https://github.com/microsoft/vscode-cpptools/issues/12144)
31+
* Fix duplicate URIs in calls to provideConfigurations. [#12177](https://github.com/microsoft/vscode-cpptools/issues/12177)
32+
* Fix a crash and deadlock with a high `C_Cpp.loggingLevel`. [#12194](https://github.com/microsoft/vscode-cpptools/issues/12194)
33+
* Fix handling of `-iquote` for code analysis and `#include` completions. [#12198](https://github.com/microsoft/vscode-cpptools/issues/12198)
34+
* Fix a crash during startup. [#12237](https://github.com/microsoft/vscode-cpptools/issues/12237)
35+
* Fix IntelliSense configuration on Windows ARM64. [#12253](https://github.com/microsoft/vscode-cpptools/issues/12253)
36+
* Fix a `cpptools` process crash and deadlock during shutdown.
37+
338
## Version 1.19.9: March 20, 2024
439
### Bug Fixes
540
* Fix an issue with Cygwin system headers not being properly detected. [#12113](https://github.com/microsoft/vscode-cpptools/issues/12113)

Extension/ThirdPartyNotices.txt

+35-2
Original file line numberDiff line numberDiff line change
@@ -1793,7 +1793,7 @@ THE SOFTWARE.
17931793

17941794
---------------------------------------------------------
17951795

1796-
follow-redirects 1.15.5 - MIT
1796+
follow-redirects 1.15.6 - MIT
17971797
https://github.com/follow-redirects/follow-redirects
17981798

17991799
Copyright 2014-present Olivier Lalonde <[email protected]> , James Talmage <[email protected]> , Ruben Verborgh
@@ -3003,9 +3003,10 @@ The notices below are from non-npm sources.
30033003
- ANTLR (http://www.antlr2.org/)
30043004
- C++11 Sublime Text Snippets (https://github.com/Rapptz/cpp-sublime-snippet)
30053005
- Clang (https://clang.llvm.org/)
3006-
- gcc-9/libgcc (https://packages.ubuntu.com/focal/gcc-9-base)
3006+
- gcc-11/libgcc (https://packages.ubuntu.com/jammy/gcc-11-base)
30073007
- Guidelines Support Library (https://github.com/Microsoft/GSL)
30083008
- libc++ (https://libcxx.llvm.org/index.html)
3009+
- libexecinfo (https://github.com/ronchaine/libexecinfo)
30093010
- libuv (https://github.com/libuv/libuv)
30103011
- LLDB (https://lldb.llvm.org/)
30113012
- LLVM (http://llvm.org/)
@@ -3850,6 +3851,38 @@ obstacle to adoption, that text has been removed.
38503851
=========================================
38513852
END OF musl NOTICES AND INFORMATION
38523853

3854+
%% libexecinfo NOTICES AND INFORMATION BEGIN HERE
3855+
=========================================
3856+
libexecinfo is licensed for use as follows:
3857+
3858+
====
3859+
Copyright (c) 2003 Maxim Sobolev <[email protected]>
3860+
All rights reserved.
3861+
*
3862+
Redistribution and use in source and binary forms, with or without
3863+
modification, are permitted provided that the following conditions
3864+
are met:
3865+
1. Redistributions of source code must retain the above copyright
3866+
notice, this list of conditions and the following disclaimer.
3867+
2. Redistributions in binary form must reproduce the above copyright
3868+
notice, this list of conditions and the following disclaimer in the
3869+
documentation and/or other materials provided with the distribution.
3870+
*
3871+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
3872+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
3873+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
3874+
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
3875+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
3876+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
3877+
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
3878+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
3879+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3880+
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3881+
SUCH DAMAGE.
3882+
3883+
=========================================
3884+
END OF libexecinfo NOTICES AND INFORMATION
3885+
38533886
%% libuv NOTICES AND INFORMATION BEGIN HERE
38543887
=========================================
38553888
libuv is licensed for use as follows:

0 commit comments

Comments
 (0)