Skip to content

Commit 3b4c8e7

Browse files
authored
Merge pull request #8746 from microsoft/main
Merge for 1.8.2
2 parents a18b91b + 6ad5658 commit 3b4c8e7

166 files changed

Lines changed: 4147 additions & 4538 deletions

File tree

Some content is hidden

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

.github/actions/package-lock.json

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

.github/actions/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@
1414
"@actions/github": "^2.1.1",
1515
"axios": "^0.21.4"
1616
},
17+
"resolutions": {
18+
"follow-redirects": "1.14.7"
19+
},
1720
"devDependencies": {
18-
"eslint": "^6.8.0",
21+
"eslint": "^8.1.0",
1922
"typescript": "^3.8.3"
2023
}
2124
}

.github/workflows/ci_linux.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,10 @@ jobs:
2222
run: yarn install
2323
working-directory: Extension
2424

25-
- name: Generate hashes for runtime dependency packages
26-
run: yarn run generatePackageHashes
27-
working-directory: Extension
28-
2925
- name: Compile Sources
3026
run: yarn run compile
3127
working-directory: Extension
3228

33-
- name: Validate Extension/package.json
34-
run: yarn run pr-check
35-
working-directory: Extension
36-
3729
- name: Run Linter
3830
run: yarn run lint
3931
working-directory: Extension
@@ -48,8 +40,8 @@ jobs:
4840
run: yarn run unitTests
4941
working-directory: Extension
5042

51-
- name: Run languageServer integration tests
52-
uses: GabrielBB/xvfb-action@v1.4
53-
with:
54-
run: yarn run integrationTests
55-
working-directory: Extension
43+
# - name: Run languageServer integration tests
44+
# uses: GabrielBB/xvfb-action@v1.4
45+
# with:
46+
# run: yarn run integrationTests
47+
# working-directory: Extension

.github/workflows/ci_mac.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,10 @@ jobs:
2222
run: yarn install --network-timeout 100000
2323
working-directory: Extension
2424

25-
- name: Generate hashes for runtime dependency packages
26-
run: yarn run generatePackageHashes
27-
working-directory: Extension
28-
2925
- name: Compile Sources
3026
run: yarn run compile
3127
working-directory: Extension
3228

33-
- name: Validate Extension/package.json
34-
run: yarn run pr-check
35-
working-directory: Extension
36-
3729
- name: Run Linter
3830
run: yarn run lint
3931
working-directory: Extension
@@ -48,8 +40,8 @@ jobs:
4840
run: yarn run unitTests
4941
working-directory: Extension
5042

51-
- name: Run languageServer integration tests
52-
uses: GabrielBB/xvfb-action@v1.4
53-
with:
54-
run: yarn run integrationTests
55-
working-directory: Extension
43+
# - name: Run languageServer integration tests
44+
# uses: GabrielBB/xvfb-action@v1.4
45+
# with:
46+
# run: yarn run integrationTests
47+
# working-directory: Extension

.github/workflows/ci_windows.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,10 @@ jobs:
2222
run: yarn install
2323
working-directory: Extension
2424

25-
- name: Generate hashes for runtime dependency packages
26-
run: yarn run generatePackageHashes
27-
working-directory: Extension
28-
2925
- name: Compile Sources
3026
run: yarn run compile
3127
working-directory: Extension
3228

33-
- name: Validate Extension/package.json
34-
run: yarn run pr-check
35-
working-directory: Extension
36-
3729
- name: Run Linter
3830
run: yarn run lint
3931
working-directory: Extension
@@ -46,6 +38,6 @@ jobs:
4638
run: yarn run unitTests
4739
working-directory: Extension
4840

49-
- name: Run languageServer integration tests
50-
run: yarn run integrationTests
51-
working-directory: Extension
41+
# - name: Run languageServer integration tests
42+
# run: yarn run integrationTests
43+
# working-directory: Extension

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ browse*.db*
99
# ignore exported localization xlf and LCL directories
1010
Build/loc/LCL
1111
vscode-extensions-localization-export
12+
OneLocBuild
1213

1314
# ignore imported localization xlf directory
1415
vscode-translations-import

Extension/.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ module.exports = {
4141
}
4242
}
4343
],
44+
"@typescript-eslint/no-for-in-array": "error",
4445
"@typescript-eslint/no-misused-new": "error",
4546
"@typescript-eslint/no-namespace": "error",
4647
"@typescript-eslint/no-non-null-assertion": "error",

Extension/.vscodeignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ ui/*.ts
2020

2121
# ignore Azure-Pipelines files
2222
jobs/**
23+
cgmanifest.json
2324

2425
# ignore development files
2526
tsconfig.json

Extension/CHANGELOG.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,55 @@
11
# C/C++ for Visual Studio Code Change Log
22

3+
## Version 1.8.2: January 31, 2022
4+
### New Features
5+
* Add "All Exceptions" Breakpoint for cppdbg [#1800](https://github.com/microsoft/vscode-cpptools/issues/1800)
6+
* 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).
7+
* Add support for Alpine Linux [#4827](https://github.com/microsoft/vscode-cpptools/issues/4827)
8+
* Implement platform-specific VSIX's via the marketplace. [#8152](https://github.com/microsoft/vscode-cpptools/issues/8152)
9+
10+
### Enhancements
11+
* The maximum number of threads to use for Find All References can be configured with the `C_Cpp.references.maxConcurrentThreads` settings. [#4036](https://github.com/microsoft/vscode-cpptools/issues/4036).
12+
* The IntelliSense processes launched to confirm references during Find All References can be cached via the `C_Cpp.references.maxCachedProcesses` setting. [#4038](https://github.com/microsoft/vscode-cpptools/issues/4038)
13+
* The maximum number of IntelliSense processes can be configured with the `C_Cpp.intelliSense.maxCachedProcesses` setting, and the number of processes will automatically decrease when the free memory becomes < 256 MB and it can be configured to use less memory via the `maxMemory` settings (memory usage from code analysis is not handled yet). [#4811](https://github.com/microsoft/vscode-cpptools/issues/4811)
14+
* Switch from 32-bit to 64-bit binaries on 64-bit Windows. [#7230](https://github.com/microsoft/vscode-cpptools/issues/7230)
15+
* Add a compiler arg to the generated gcc build task to display colored text. [PR #8165](https://github.com/microsoft/vscode-cpptools/pull/8165)
16+
* Add `static` and other modifiers to IntelliSense hover results. [#8173](https://github.com/microsoft/vscode-cpptools/issues/8173)
17+
* Add a configuration warning when the default compiler modifies an explicitly set `intelliSenseMode`.
18+
19+
### Bug Fixes
20+
* 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)
21+
* Fix newlines not being handled in comments with a Doxygen tag. [#5741](https://github.com/microsoft/vscode-cpptools/issues/5741)
22+
* Fix `files.exclude` not working for directories external to the active workspace folder. [#6877](https://github.com/microsoft/vscode-cpptools/issues/6877)
23+
* 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)
24+
* Fix a bug with vcFormat inserting additional spaces between `}` and `else`. [#7731](https://github.com/microsoft/vscode-cpptools/issues/7731)
25+
* Fix GCC system include processing on Windows. [#8112](https://github.com/microsoft/vscode-cpptools/issues/8112), [#8496](https://github.com/microsoft/vscode-cpptools/issues/8496)
26+
* Remove redundant cl.exe from the build and debug active file configuration list. [#8168](https://github.com/microsoft/vscode-cpptools/issues/8168)
27+
* Fix string elements to render as code in the IntelliSense configuration UI. [PR #8271](https://github.com/microsoft/vscode-cpptools/pull/8271)
28+
* Fix IntelliSense process crash on AMD Ryzen 3000 series processors without updated drivers. [#8312](https://github.com/microsoft/vscode-cpptools/issues/8312)
29+
* Fix bug with `wmic` not being recognized during Windows attach debugging. [#8328](https://github.com/microsoft/vscode-cpptools/issues/8328)
30+
* Fix Go to Type Definition on pointer types. [#8337](https://github.com/microsoft/vscode-cpptools/issues/8337)
31+
* Fix a "Cannot read property" error during deactivation if the language service wasn't fully activated. [#8354](https://github.com/microsoft/vscode-cpptools/issues/8354)
32+
* Fix an issue in which the language id for header files were not updated to match the source file of its TU. [#8381](https://github.com/microsoft/vscode-cpptools/issues/8381)
33+
* Fix parsing of `bit_cast` with gcc mode IntelliSense. [#8434](https://github.com/microsoft/vscode-cpptools/issues/8434)
34+
* Fix the tag parser getting stuck on certain code. [#8459](https://github.com/microsoft/vscode-cpptools/issues/8459)
35+
* Fix an invalid success message when a build task fails. [#8467](https://github.com/microsoft/vscode-cpptools/issues/8467)
36+
* Fix compiler querying with certain Cygwin/MSYS2 compilers on Windows. [#8496](https://github.com/microsoft/vscode-cpptools/issues/8496)
37+
* Fix non-ASCII output with `cppbuild` tasks. [#8518](https://github.com/microsoft/vscode-cpptools/issues/8518)
38+
* Fix 3 settings not getting environment variables resolved after a settings change. [#8531](https://github.com/microsoft/vscode-cpptools/issues/8531)
39+
* Don't block running a task if it doesn't use the active file. [#8586](https://github.com/microsoft/vscode-cpptools/issues/8586)
40+
* Fix a command not found error message after clicking the database status icon when commands aren't available. [#8599](https://github.com/microsoft/vscode-cpptools/issues/8599)
41+
* Fix /RTC compiler checks failures don't break into debugger [#8646](https://github.com/microsoft/vscode-cpptools/issues/8646)
42+
* 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)
43+
* Fix debugging when Windows binaries are linked with /PDBPageSize > 4k. [#8690](https://github.com/microsoft/vscode-cpptools/issues/8690)
44+
* 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)
46+
* Fix an issue in which multiple (potentially different) diagnostics were delivered for headers shared by multiple TUs.
47+
* Fix some translations.
48+
49+
### Other
50+
* Remove trailing whitespaces in source code.
51+
* Alexander (@Gordon01) [PR #8254](https://github.com/microsoft/vscode-cpptools/pull/8254)
52+
353
## Version 1.7.1: October 19, 2021
454
### Bug Fixes
555
* Fix an extension crash that occurred on activation while a workspace is open with no folders in it. [#8280](https://github.com/microsoft/vscode-cpptools/issues/8280)

Extension/bin/messages/cs/messages.json

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,24 +1464,24 @@
14641464
"makro",
14651465
"návěstí",
14661466
"parametr šablony",
1467-
null,
1468-
null,
1469-
null,
1470-
null,
1467+
"typ",
1468+
"spojení",
1469+
"třída",
1470+
"struktura",
14711471
"parametr Template šablony",
14721472
"šablona",
14731473
"šablona třídy",
1474-
null,
1474+
"výčet",
14751475
"parametr",
14761476
"parametr obslužné rutiny",
14771477
"proměnná",
14781478
"není typ",
1479-
null,
1479+
"konstanta",
14801480
"funkce",
14811481
"funkce přetížení",
14821482
"člen",
14831483
"pole",
1484-
null,
1484+
"obor názvů",
14851485
"pojmenovaný registr",
14861486
"pojmenovaný adresní prostor",
14871487
"šablona funkce",
@@ -1635,7 +1635,7 @@
16351635
"Rozšiřující konverze ukazatele z %t1 na %t2 rozšiřuje bit znaménka.",
16361636
"__sptr a __uptr se nedají použít u typů ukazatel na člena.",
16371637
"Deklarace operátoru přiřazení pro kopírování pro %t se potlačila, protože %n je konstanta.",
1638-
null,
1638+
"deklarace operátoru přiřazení pro kopírování objektu %t byla potlačena, protože %n je typu odkaz",
16391639
"Deklarace operátoru přiřazení pro kopírování pro %t1 se potlačila, protože došlo k potlačení deklarace %t2.",
16401640
"Deklarace operátoru přiřazení pro kopírování pro %t1 se potlačila, protože deklarace %t2 je dvojznačná.",
16411641
"Deklarace operátoru přiřazení pro kopírování pro %t1 se potlačila, protože deklarace %t2 není přístupná.",
@@ -2604,7 +2604,7 @@
26042604
"Definice veřejného typu C++/CX není u globálního rozsahu povolená.",
26052605
"Indexovaná vlastnost s veřejným přístupovým objektem get nebo set není povolená.",
26062606
"Veřejný vnořený typ delegáta není povolený.",
2607-
"Neplatný inicializátor delegáta -- očekávaná syntaxe je (<adresa-funkce nebo objekt-funktoru> [, Platform::CallbackContext]) nebo (<popisovač objektu>, <adresa-člena> [, Platform::CallbackContext [, bool]]).",
2607+
"Neplatný inicializátor delegáta -- očekávaná syntaxe je (<adresa-funkce nebo objekt-funktoru> [, Platform::CallbackContext]) nebo (<úchyt objektu>, <adresa-člena> [, Platform::CallbackContext [, bool]]).",
26082608
"Neplatný inicializátor delegáta -- objekt musí být popisovačem na třídu %[managed].",
26092609
"C++/CX nepodporuje pole in nebo out. U veřejných rozhraní API použijte pro in: const Platform::Array<T>^ a pro out: Platform::WriteOnlyArray<T>^ nebo Platform::Array<T>^*.",
26102610
"Chybí cílový atribut pro %nd.",
@@ -3392,5 +3392,15 @@
33923392
"Vypadá to, že se jedná o začátek direktivy preprocesoru, ale chybějící znak „;“, po kterém ihned následuje nový řádek, tomu brání.",
33933393
"Vypadá to, že se jedná o direktivu předběžného zpracování modulů, ale tyto direktivy se nemůžou vyskytovat v rámci rozšíření makra.",
33943394
"Direktiva typu module se nemůže vyskytovat v oboru podmíněného zahrnutí (např. #if, #else, #elseif apod.).",
3395-
"Import %sq se přeskočil."
3395+
"Import %sq se přeskočil.",
3396+
"typ příslibu %t musí deklarovat get_return_object_on_allocation_failure jako funkci statického člena, která nevyžaduje žádné argumenty",
3397+
"šablona aliasu nemůže být explicitně specializovaná.",
3398+
"aby se to shodovalo s tímto „{“",
3399+
"v tomto volání makra",
3400+
"volání vyžaduje nejednoznačný převod argumentu.",
3401+
"deklarace vlastněná modulem %s je v konfliktu s %nd",
3402+
"deklarace vlastněná globálním modulem je v konfliktu s %nd vlastněnou pojmenovaným modulem",
3403+
"první argument atributu „malloc“ musí být funkce",
3404+
"nejde zachytit %nod",
3405+
"nejde zachytit „this“"
33963406
]

0 commit comments

Comments
 (0)