Skip to content

Commit e663939

Browse files
authored
Merge pull request #12374 from microsoft/seanmcm/1_21_0_insiders
Merge for 1.21.0
2 parents fd482d2 + 1fb5b63 commit e663939

File tree

81 files changed

+2432
-2894
lines changed

Some content is hidden

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

81 files changed

+2432
-2894
lines changed

.github/actions/package-lock.json

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

Build/cg/cg.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ resources:
1919
name: 1ESPipelineTemplates/MicroBuildTemplate
2020
ref: refs/tags/release
2121

22+
variables:
23+
- name: Codeql.Enabled
24+
value: true
25+
- name: Codeql.Language
26+
value: javascript
27+
2228
extends:
2329
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
2430
parameters:
@@ -32,7 +38,23 @@ extends:
3238
image: AzurePipelinesWindows2022compliantGPT
3339
os: windows
3440
tsa:
35-
enabled: false
41+
enabled: true
42+
config:
43+
tsaVersion: TsaV2
44+
codebase: NewOrUpdate
45+
codebaseName: vscode-cpptools
46+
tsaStamp: $(TsaProjectName)
47+
tsaEnvironment: PROD
48+
notificationAliases: $(TsaNotificationAlias)
49+
codebaseAdmins: $(TsaCodebaseAdmins)
50+
instanceUrl: $(TsaInstanceUrl)
51+
projectName: $(TsaProjectName)
52+
areaPath: $(TsaAreaPath)
53+
iterationPath: $(TsaIterationPath)
54+
alltools: true
55+
repositoryName: vscode-cpptools
56+
policheck:
57+
enabled: true
3658
featureFlags:
3759
autoBaseline: false
3860

Build/loc/TranslationsImportExport.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pool:
2626
steps:
2727
- task: NodeTool@0
2828
inputs:
29-
versionSpec: '16.x'
29+
versionSpec: '18.x'
3030
displayName: 'Install Node.js'
3131

3232
- task: CmdLine@2

CODE_OF_CONDUCT.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ Resources:
66

77
- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
88
- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
9-
- Contact [[email protected]](mailto:[email protected]) with questions or concerns
9+
- Contact [[email protected]](mailto:[email protected]) with questions or concerns
10+
- Employees can reach out at [aka.ms/opensource/moderation-support](https://aka.ms/opensource/moderation-support)

CONTRIBUTING.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,18 @@ const localize: nls.LocalizeFunc = nls.loadMessageBundle();
3333
const readmeMessage: string = localize("refer.read.me", "Please refer to {0} for troubleshooting information. Issues can be created at {1}", readmePath, "https://github.com/Microsoft/vscode-cpptools/issues");
3434
```
3535
* The first parameter to localize should be a unique key for that string, not used by any other call to localize() in the file unless representing the same string. The second parameter is the string to localize. Both of these parameters must be string literals. Tokens such as {0} and {1} are supported in the localizable string, with replacement values passed as additional parameters to localize().
36+
37+
## Contributor License Agreement
38+
39+
This project welcomes contributions and suggestions. Most contributions require you to
40+
agree to a Contributor License Agreement (CLA) declaring that you have the right to,
41+
and actually do, grant us the rights to use your contribution. For details, visit
42+
https://cla.microsoft.com.
43+
44+
When you submit a pull request, a CLA-bot will automatically determine whether you need
45+
to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the
46+
instructions provided by the bot. You will only need to do this once across all repositories using our CLA.
47+
48+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
49+
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
50+
or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.

Extension/CHANGELOG.md

Lines changed: 24 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,50 @@
11
# C/C++ for Visual Studio Code Changelog
22

3-
## Version 1.20.4: March 2, 2024
4-
### Bug Fixes
5-
* Fix a couple crashes.
6-
7-
## Version 1.20.3: April 30, 2024
8-
### Enhancement
9-
* Log `cpptools` and `cpptool-srv` crash call stacks in the 'C/C++ Crash Call Stacks' Output channel for bug reporting (on x64 Linux and x64/arm64 Mac).
10-
11-
### Bug Fixes
12-
* Fix directories being incorrectly recursively traversed in certain cases. [#11993](https://github.com/microsoft/vscode-cpptools/issues/11993)
13-
* Fix a crash during startup. [#12237](https://github.com/microsoft/vscode-cpptools/issues/12237)
14-
* Fix IntelliSense configuration on Windows ARM64. [#12253](https://github.com/microsoft/vscode-cpptools/issues/12253)
15-
16-
## Version 1.20.2: April 22, 2024
17-
### Bug Fixes
18-
* 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)
19-
* Fix duplicate URIs in calls to provideConfigurations. [#12177](https://github.com/microsoft/vscode-cpptools/issues/12177)
20-
* Fix a crash and deadlock with a high `C_Cpp.loggingLevel`. [#12194](https://github.com/microsoft/vscode-cpptools/issues/12194)
21-
* Fix handling of `-iquote` for code analysis and `#include` completions. [#12198](https://github.com/microsoft/vscode-cpptools/issues/12198)
22-
23-
## Version 1.20.1: April 9, 2024
24-
### Bug Fixes
25-
* Fix 'Add #include' code actions for code scoped by a namespace or class. [#11541](https://github.com/microsoft/vscode-cpptools/issues/11541)
26-
* 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)
27-
* 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)
28-
29-
## Version 1.20.0: March 26, 2024
3+
## Version 1.21.0: June 13, 2024
4+
### Bug Fixes
5+
* Stop logging file watch events for excluded files. [#11455](https://github.com/microsoft/vscode-cpptools/issues/11455)
6+
* Fix handling of `-isystem` and `-iquote` for IntelliSense configuration. [#12207](https://github.com/microsoft/vscode-cpptools/issues/12207)
7+
* Fix doxygen comment generation when `/**` comments are used. [#12249](https://github.com/microsoft/vscode-cpptools/issues/12249)
8+
* Fix a code analysis crash on Linux if the message is too long. [#12285](https://github.com/microsoft/vscode-cpptools/issues/12285)
9+
* Fix a regression with cl.exe system include path detection. [#12293](https://github.com/microsoft/vscode-cpptools/issues/12293)
10+
* Fix handling of doxygen comment blocks with `*//*` in them. [#12316](https://github.com/microsoft/vscode-cpptools/issues/12316)
11+
* Fix a crash during IntelliSense process shutdown. [#12354](https://github.com/microsoft/vscode-cpptools/issues/12354)
12+
* Update the default clang/gcc versions used for IntelliSense if an unknown version is found.
13+
* Update clang-format and clang-tidy from 18.1.2 to 18.1.7 (for the bug fixes).
14+
15+
## Version 1.20.5: May 6, 2024
3016
### Enhancements
3117
* Add support for C++ modules IFC version 0.43. [#10843](https://github.com/microsoft/vscode-cpptools/issues/10843)
3218
* Add support for `${userHome}` in `c_cpp_properties.json`. [#11756](https://github.com/microsoft/vscode-cpptools/issues/11756)
3319
* Reduce the default max workspace symbol search results and add `C_Cpp.maxSymbolSearchResults`. [PR #12131](https://github.com/microsoft/vscode-cpptools/pull/12131)
3420
* Update `clang-format`/`clang-tidy` to 18.1.2. [PR #12135](https://github.com/microsoft/vscode-cpptools/pull/12135)
21+
* 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).
3522
* Increase the fuzzy symbol character limit from 16 to 28.
3623
* Update the IntelliSense engine.
3724

3825
### Bug Fixes
3926
* Fix an IntelliSense parsing issue. [#6183](https://github.com/microsoft/vscode-cpptools/issues/6183)
4027
* Fix 'Copy Declaration / Definition' code not being formatted. [#10956](https://github.com/microsoft/vscode-cpptools/issues/10956)
4128
* Fix semantic colorization of certain macro arguments. [#11416](https://github.com/microsoft/vscode-cpptools/issues/11416)
29+
* Fix 'Add #include' code actions for code scoped by a namespace or class. [#11541](https://github.com/microsoft/vscode-cpptools/issues/11541)
4230
* Fix 'Create Declaration / Definition' not working if the cursor isn't on the function name. [#11834](https://github.com/microsoft/vscode-cpptools/issues/11834)
4331
* Fix duplicate 'Add #include' code actions. [#11989](https://github.com/microsoft/vscode-cpptools/issues/11989)
32+
* Fix directories being incorrectly recursively traversed in certain cases. [#11993](https://github.com/microsoft/vscode-cpptools/issues/11993)
4433
* Fix `forcedInclude` resolution for relative paths. [PR #12035](https://github.com/microsoft/vscode-cpptools/pull/12035)
4534
* Fix 'Add Configuration...' in `launch.json` when `editor.suggest.showSnippets` is `false`. [#12059](https://github.com/microsoft/vscode-cpptools/issues/12059)
4635
* Fix `c_cpp_properties.json` warnings for `includePath`s with `**` wildcard glob patterns. [#12070](https://github.com/microsoft/vscode-cpptools/issues/12070)
36+
* 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)
4737
* Fix call stacks for `cpptools` and `cpptools-srv` not being available on Linux. [#12091](https://github.com/microsoft/vscode-cpptools/issues/12091)
4838
* Fix IntelliSense processes shutting down immediately if not enough memory is detected. [#12126](https://github.com/microsoft/vscode-cpptools/issues/12126)
4939
* Fix code analysis aborting after encountering an excluded file (instead of just skipping it). [#12127](https://github.com/microsoft/vscode-cpptools/issues/12127)
5040
* 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)
41+
* 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)
42+
* 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)
43+
* Fix duplicate URIs in calls to provideConfigurations. [#12177](https://github.com/microsoft/vscode-cpptools/issues/12177)
44+
* Fix a crash and deadlock with a high `C_Cpp.loggingLevel`. [#12194](https://github.com/microsoft/vscode-cpptools/issues/12194)
45+
* Fix handling of `-iquote` for code analysis and `#include` completions. [#12198](https://github.com/microsoft/vscode-cpptools/issues/12198)
46+
* Fix a crash during startup. [#12237](https://github.com/microsoft/vscode-cpptools/issues/12237)
47+
* Fix IntelliSense configuration on Windows ARM64. [#12253](https://github.com/microsoft/vscode-cpptools/issues/12253)
5148
* Fix a `cpptools` process crash and deadlock during shutdown.
5249

5350
## Version 1.19.9: March 20, 2024

0 commit comments

Comments
 (0)