Skip to content

Commit

Permalink
Merge pull request #8746 from microsoft/main
Browse files Browse the repository at this point in the history
Merge for 1.8.2
  • Loading branch information
sean-mcmanus authored Jan 31, 2022
2 parents a18b91b + 6ad5658 commit 3b4c8e7
Show file tree
Hide file tree
Showing 166 changed files with 4,147 additions and 4,538 deletions.
926 changes: 336 additions & 590 deletions .github/actions/package-lock.json

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion .github/actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@
"@actions/github": "^2.1.1",
"axios": "^0.21.4"
},
"resolutions": {
"follow-redirects": "1.14.7"
},
"devDependencies": {
"eslint": "^6.8.0",
"eslint": "^8.1.0",
"typescript": "^3.8.3"
}
}
18 changes: 5 additions & 13 deletions .github/workflows/ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,10 @@ jobs:
run: yarn install
working-directory: Extension

- name: Generate hashes for runtime dependency packages
run: yarn run generatePackageHashes
working-directory: Extension

- name: Compile Sources
run: yarn run compile
working-directory: Extension

- name: Validate Extension/package.json
run: yarn run pr-check
working-directory: Extension

- name: Run Linter
run: yarn run lint
working-directory: Extension
Expand All @@ -48,8 +40,8 @@ jobs:
run: yarn run unitTests
working-directory: Extension

- name: Run languageServer integration tests
uses: GabrielBB/xvfb-action@v1.4
with:
run: yarn run integrationTests
working-directory: Extension
# - name: Run languageServer integration tests
# uses: GabrielBB/xvfb-action@v1.4
# with:
# run: yarn run integrationTests
# working-directory: Extension
18 changes: 5 additions & 13 deletions .github/workflows/ci_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,10 @@ jobs:
run: yarn install --network-timeout 100000
working-directory: Extension

- name: Generate hashes for runtime dependency packages
run: yarn run generatePackageHashes
working-directory: Extension

- name: Compile Sources
run: yarn run compile
working-directory: Extension

- name: Validate Extension/package.json
run: yarn run pr-check
working-directory: Extension

- name: Run Linter
run: yarn run lint
working-directory: Extension
Expand All @@ -48,8 +40,8 @@ jobs:
run: yarn run unitTests
working-directory: Extension

- name: Run languageServer integration tests
uses: GabrielBB/xvfb-action@v1.4
with:
run: yarn run integrationTests
working-directory: Extension
# - name: Run languageServer integration tests
# uses: GabrielBB/xvfb-action@v1.4
# with:
# run: yarn run integrationTests
# working-directory: Extension
14 changes: 3 additions & 11 deletions .github/workflows/ci_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,10 @@ jobs:
run: yarn install
working-directory: Extension

- name: Generate hashes for runtime dependency packages
run: yarn run generatePackageHashes
working-directory: Extension

- name: Compile Sources
run: yarn run compile
working-directory: Extension

- name: Validate Extension/package.json
run: yarn run pr-check
working-directory: Extension

- name: Run Linter
run: yarn run lint
working-directory: Extension
Expand All @@ -46,6 +38,6 @@ jobs:
run: yarn run unitTests
working-directory: Extension

- name: Run languageServer integration tests
run: yarn run integrationTests
working-directory: Extension
# - name: Run languageServer integration tests
# run: yarn run integrationTests
# working-directory: Extension
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ browse*.db*
# ignore exported localization xlf and LCL directories
Build/loc/LCL
vscode-extensions-localization-export
OneLocBuild

# ignore imported localization xlf directory
vscode-translations-import
1 change: 1 addition & 0 deletions Extension/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ module.exports = {
}
}
],
"@typescript-eslint/no-for-in-array": "error",
"@typescript-eslint/no-misused-new": "error",
"@typescript-eslint/no-namespace": "error",
"@typescript-eslint/no-non-null-assertion": "error",
Expand Down
1 change: 1 addition & 0 deletions Extension/.vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ ui/*.ts

# ignore Azure-Pipelines files
jobs/**
cgmanifest.json

# ignore development files
tsconfig.json
Expand Down
50 changes: 50 additions & 0 deletions Extension/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,55 @@
# C/C++ for Visual Studio Code Change Log

## Version 1.8.2: January 31, 2022
### New Features
* Add "All Exceptions" Breakpoint for cppdbg [#1800](https://github.com/microsoft/vscode-cpptools/issues/1800)
* 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).
* Add support for Alpine Linux [#4827](https://github.com/microsoft/vscode-cpptools/issues/4827)
* Implement platform-specific VSIX's via the marketplace. [#8152](https://github.com/microsoft/vscode-cpptools/issues/8152)

### Enhancements
* 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).
* 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)
* 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)
* Switch from 32-bit to 64-bit binaries on 64-bit Windows. [#7230](https://github.com/microsoft/vscode-cpptools/issues/7230)
* Add a compiler arg to the generated gcc build task to display colored text. [PR #8165](https://github.com/microsoft/vscode-cpptools/pull/8165)
* Add `static` and other modifiers to IntelliSense hover results. [#8173](https://github.com/microsoft/vscode-cpptools/issues/8173)
* Add a configuration warning when the default compiler modifies an explicitly set `intelliSenseMode`.

### Bug Fixes
* 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)
* Fix newlines not being handled in comments with a Doxygen tag. [#5741](https://github.com/microsoft/vscode-cpptools/issues/5741)
* Fix `files.exclude` not working for directories external to the active workspace folder. [#6877](https://github.com/microsoft/vscode-cpptools/issues/6877)
* 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)
* Fix a bug with vcFormat inserting additional spaces between `}` and `else`. [#7731](https://github.com/microsoft/vscode-cpptools/issues/7731)
* 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)
* Remove redundant cl.exe from the build and debug active file configuration list. [#8168](https://github.com/microsoft/vscode-cpptools/issues/8168)
* Fix string elements to render as code in the IntelliSense configuration UI. [PR #8271](https://github.com/microsoft/vscode-cpptools/pull/8271)
* Fix IntelliSense process crash on AMD Ryzen 3000 series processors without updated drivers. [#8312](https://github.com/microsoft/vscode-cpptools/issues/8312)
* Fix bug with `wmic` not being recognized during Windows attach debugging. [#8328](https://github.com/microsoft/vscode-cpptools/issues/8328)
* Fix Go to Type Definition on pointer types. [#8337](https://github.com/microsoft/vscode-cpptools/issues/8337)
* 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)
* 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)
* Fix parsing of `bit_cast` with gcc mode IntelliSense. [#8434](https://github.com/microsoft/vscode-cpptools/issues/8434)
* Fix the tag parser getting stuck on certain code. [#8459](https://github.com/microsoft/vscode-cpptools/issues/8459)
* Fix an invalid success message when a build task fails. [#8467](https://github.com/microsoft/vscode-cpptools/issues/8467)
* Fix compiler querying with certain Cygwin/MSYS2 compilers on Windows. [#8496](https://github.com/microsoft/vscode-cpptools/issues/8496)
* Fix non-ASCII output with `cppbuild` tasks. [#8518](https://github.com/microsoft/vscode-cpptools/issues/8518)
* Fix 3 settings not getting environment variables resolved after a settings change. [#8531](https://github.com/microsoft/vscode-cpptools/issues/8531)
* Don't block running a task if it doesn't use the active file. [#8586](https://github.com/microsoft/vscode-cpptools/issues/8586)
* 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)
* Fix /RTC compiler checks failures don't break into debugger [#8646](https://github.com/microsoft/vscode-cpptools/issues/8646)
* 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)
* Fix debugging when Windows binaries are linked with /PDBPageSize > 4k. [#8690](https://github.com/microsoft/vscode-cpptools/issues/8690)
* Switch usage of `-dD` to `-dM` when compiler querying. [#8692](https://github.com/microsoft/vscode-cpptools/issues/8692)
* Fix no document symbols appearing in certain cases. [#8276](https://github.com/microsoft/vscode-cpptools/issues/8726)
* Fix an issue in which multiple (potentially different) diagnostics were delivered for headers shared by multiple TUs.
* Fix some translations.

### Other
* Remove trailing whitespaces in source code.
* Alexander (@Gordon01) [PR #8254](https://github.com/microsoft/vscode-cpptools/pull/8254)

## Version 1.7.1: October 19, 2021
### Bug Fixes
* 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)
Expand Down
30 changes: 20 additions & 10 deletions Extension/bin/messages/cs/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1464,24 +1464,24 @@
"makro",
"návěstí",
"parametr šablony",
null,
null,
null,
null,
"typ",
"spojení",
"třída",
"struktura",
"parametr Template šablony",
"šablona",
"šablona třídy",
null,
"výčet",
"parametr",
"parametr obslužné rutiny",
"proměnná",
"není typ",
null,
"konstanta",
"funkce",
"funkce přetížení",
"člen",
"pole",
null,
"obor názvů",
"pojmenovaný registr",
"pojmenovaný adresní prostor",
"šablona funkce",
Expand Down Expand Up @@ -1635,7 +1635,7 @@
"Rozšiřující konverze ukazatele z %t1 na %t2 rozšiřuje bit znaménka.",
"__sptr a __uptr se nedají použít u typů ukazatel na člena.",
"Deklarace operátoru přiřazení pro kopírování pro %t se potlačila, protože %n je konstanta.",
null,
"deklarace operátoru přiřazení pro kopírování objektu %t byla potlačena, protože %n je typu odkaz",
"Deklarace operátoru přiřazení pro kopírování pro %t1 se potlačila, protože došlo k potlačení deklarace %t2.",
"Deklarace operátoru přiřazení pro kopírování pro %t1 se potlačila, protože deklarace %t2 je dvojznačná.",
"Deklarace operátoru přiřazení pro kopírování pro %t1 se potlačila, protože deklarace %t2 není přístupná.",
Expand Down Expand Up @@ -2604,7 +2604,7 @@
"Definice veřejného typu C++/CX není u globálního rozsahu povolená.",
"Indexovaná vlastnost s veřejným přístupovým objektem get nebo set není povolená.",
"Veřejný vnořený typ delegáta není povolený.",
"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]]).",
"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]]).",
"Neplatný inicializátor delegáta -- objekt musí být popisovačem na třídu %[managed].",
"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>^*.",
"Chybí cílový atribut pro %nd.",
Expand Down Expand Up @@ -3392,5 +3392,15 @@
"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í.",
"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.",
"Direktiva typu module se nemůže vyskytovat v oboru podmíněného zahrnutí (např. #if, #else, #elseif apod.).",
"Import %sq se přeskočil."
"Import %sq se přeskočil.",
"typ příslibu %t musí deklarovat get_return_object_on_allocation_failure jako funkci statického člena, která nevyžaduje žádné argumenty",
"šablona aliasu nemůže být explicitně specializovaná.",
"aby se to shodovalo s tímto „{“",
"v tomto volání makra",
"volání vyžaduje nejednoznačný převod argumentu.",
"deklarace vlastněná modulem %s je v konfliktu s %nd",
"deklarace vlastněná globálním modulem je v konfliktu s %nd vlastněnou pojmenovaným modulem",
"první argument atributu „malloc“ musí být funkce",
"nejde zachytit %nod",
"nejde zachytit „this“"
]
28 changes: 19 additions & 9 deletions Extension/bin/messages/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1464,24 +1464,24 @@
"Makro",
"Bezeichnung",
"Vorlagenparameter",
null,
null,
null,
null,
"Typ",
"Union",
"Klasse",
"Struktur",
"template template-Parameter",
"Vorlage",
"Klassenvorlage",
null,
"Enumeration",
"Parameter",
"Handlerparameter",
"Variable",
"Nichttyp",
null,
"Konstante",
"Funktion",
"Überladene Funktion",
"Member",
"Feld",
null,
"Namespace",
"Benannte Registrierung",
"Benannter Adressbereich",
"Funktionsvorlage",
Expand Down Expand Up @@ -1635,7 +1635,7 @@
"Das Erweitern der Zeigerkonvertierung von \"%t1\" in \"%t2\" erweitert das signierte Bit.",
"__sptr und __uptr gelten nicht für Pointer-to-Member-Typen.",
"Die Deklaration des Kopierzuweisungsoperators für \"%t\" wurde unterdrückt, da \"%n\" konstant ist.",
null,
"Die Deklaration des Kopierzuweisungsoperators für \"%t\" wurde unterdrückt, weil \"%n\" folgenden Verweistyp aufweist",
"Die Deklaration des Kopierzuweisungsoperators für \"%t1\" wurde unterdrückt, da die Deklaration von \"%t2\" unterdrückt wurde.",
"Die Deklaration des Kopierzuweisungsoperators für \"%t1\" wurde unterdrückt, da die Deklaration von \"%t2\" mehrdeutig ist.",
"Die Deklaration des Kopierzuweisungsoperators für \"%t1\" wurde unterdrückt, da auf die Deklaration von \"%t2\" nicht zugegriffen werden kann.",
Expand Down Expand Up @@ -3392,5 +3392,15 @@
"dies scheint der Anfang einer Präprozessor-Direktive zu sein, aber der Mangel an \";\", gefolgt von einem Zeilenumbruch, verhindert, dass",
"dies scheint eine Direktive für die Vorverarbeitung von Modulen zu sein, aber solche Direktiven dürfen nicht innerhalb einer Makroerweiterung auftreten",
"eine \"module\"-Direktive darf nicht im Bereich der bedingten Inklusion enthalten sein (z. B. #if, #else, #elseif usw.)",
"der Import von %sq wurde übersprungen"
"der Import von %sq wurde übersprungen",
"Der Zusagetyp „%t“ muss „get_return_object_on_allocation_failure“ als statische Memberfunktion deklarieren, die keine Argumente erfordert.",
"Eine Aliasvorlage kann nicht explizit spezialisiert werden.",
"um diesem „{“ zu entsprechen",
"in diesem Makroaufruf",
"Der Aufruf erfordert eine mehrdeutige Argumentkonvertierung.",
"Die Deklaration im Besitz des Moduls „%s“ steht in Konflikt mit %nd.",
"Die Deklaration im Besitz des globalen Moduls steht in Konflikt mit %nd im Besitz eines benannten Moduls.",
"Das erste Argument für ein malloc-Attribut muss eine Funktion sein.",
"%nod kann nicht erfasst werden.",
"„this“ kann nicht erfasst werden."
]
28 changes: 19 additions & 9 deletions Extension/bin/messages/es/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1464,24 +1464,24 @@
"macro",
"etiqueta",
"parámetro de plantilla",
null,
null,
null,
null,
"tipo",
"unión",
"clase",
"estructura",
"parámetro template de plantilla",
"plantilla",
"plantilla de clase",
null,
"enumeración",
"parámetro",
"parámetro de controlador",
"variable",
"sin tipo",
null,
"constante",
"función",
"función sobrecargada",
"miembro",
"campo",
null,
"espacio de nombres",
"registro con nombre",
"espacio de dirección con nombre",
"plantilla de función",
Expand Down Expand Up @@ -1635,7 +1635,7 @@
"la conversión de puntero de ampliación de %t1 a %t2 extiende el bit de signo",
"__sptr y __uptr no se aplican a los tipos de puntero a miembro",
"la declaración del operador de asignación de copia para %t se ha suprimido porque %n es const",
null,
"la declaración del operador de asignación de copia para %t se ha suprimido porque %n tiene un tipo de referencia",
"la declaración del operador de asignación de copia para %t1 se ha suprimido porque también se suprimió la de %t2",
"la declaración del operador de asignación de copia para %t1 se ha suprimido porque la de %t2 es ambigua",
"la declaración del operador de asignación de copia para %t1 se ha suprimido porque no se puede obtener acceso a la de %t2",
Expand Down Expand Up @@ -3392,5 +3392,15 @@
"parece ser el inicio de una directiva de preprocesador, pero la ausencia de un \";\" seguida inmediatamente por una nueva línea impide eso",
"parece que se trata de una directiva de preprocesamiento de módulos, pero estas directivas no pueden aparecer dentro de una expansión de macro",
"una directiva \"module\" no puede aparecer en el ámbito de la inclusión condicional (por ejemplo, #if, #else, #elseif, etc.)",
"se ha omitido la importación de %sq"
"se ha omitido la importación de %sq",
"el tipo de promesa %t debe declarar get_return_object_on_allocation_failure como una función miembro estática que no requiera argumentos",
"una plantilla de alias no se puede especializar explícitamente",
"para que coincida con este \"{\"",
"en esta invocación de macro",
"la llamada requiere una conversión de argumento ambigua",
"la declaración propiedad del módulo %s está en conflicto con %nd",
"la declaración propiedad del módulo global entra en conflicto con %nd propiedad de un módulo con nombre",
"el primer argumento de un atributo \"malloc\" debe ser una función",
"no se puede capturar %nod",
"no se puede capturar \"this\""
]
Loading

0 comments on commit 3b4c8e7

Please sign in to comment.