Граф коммитов

3253 Коммитов

Автор SHA1 Сообщение Дата
Garrett Campbell 0b8ebcfdb1
Fix file watchers for includes (#4172) 2024-11-21 15:17:36 -05:00
Garrett Campbell bc0f5ec9a4
Use mementos for state management for pinned commands (#4175)
* Use mementos for state management for pinned commands

* update activeCommands check
2024-11-20 15:24:32 +00:00
CSIGS@microsoft.com 1f428e4ce4
Localization - Translated Strings (#4174) 2024-11-19 17:08:22 -05:00
CSIGS@microsoft.com 07b97938c8
Localization - Translated Strings (#4168)
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-11-11 14:42:41 +00:00
Joshua Goins 12ea80dd33
Improve test case failure/skip states and their output (#4116) (#4129)
* Improve test case failure/skip states and their output (#4116)

Currently if a test fails, it's not immediately clear why that is
because we give the exit code - and not the output from ctest. That is
now fixed and the ctest output is shown which greatly improves the
usefulness of the Test Results pane and other places where this output
is shown like Code Lens.

Skipped test cases were also not actually marked as skipped, and that is
now fixed as well.

* fix linter issue

---------

Co-authored-by: Garrett Campbell <gcampbell@microsoft.com>
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-11-11 09:09:41 -05:00
Garrett Campbell 31372d6b7f
Sanitize cmake.copyCompileCommands (#4149)
* Sanitize cmake.copyCompileCommands

* we don't need to push path again
2024-11-06 19:37:06 +00:00
hippo91 565d905ad7
fix: CTest Test Suite Delimiter prevents running all tests (#4092) (#4154)
* fix: CTest Test Suite Delimiter prevents running all tests (#4092)

* Introduces type alias (DriverMapT) to factorize type declaration
* Introduces the getProjectDriver method
* Adds comments
* Adds entry in the CHANGELOG

* Fix wrong object initialization

* Takes into account code review remarks.

Do not return CMakeDriver | String but do return CMakeDriver and throw error in case of problem

* Fix lint issue

---------

Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-11-06 12:53:01 -05:00
Garrett Campbell b2c1cc87aa
ensure the icon sizes are correctly created (#4139)
* ensure the size is correctly created

* revert removal of font height
2024-11-06 15:41:22 +00:00
Garrett Campbell f47c79f5e0
Add expansion, inheritance, include tests (#4137)
* Move the presets tests to integration tests.

These tests aren't true 'unit' tests by definition, so moving them to
integration.
Also, added include and CMakePresets/CMakeUserPresets tests.

* add inheritance and expansion and override tests

* fix formatting of test file

* fix linter issues

* fix lint issues

* fix path

* make tests better across platform

* fix lint
2024-11-06 14:34:12 +00:00
Garrett Campbell 781a5a6e9b
Retire Options Moved notification (#4145) 2024-11-06 11:33:38 +00:00
CSIGS@microsoft.com 0388e47fee
Localization - Translated Strings (#4135)
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-11-06 06:07:08 -05:00
Garrett Campbell 4d381d341a
Update tests after build (#4148)
* Update tests after build

* update changelog

* fix type error
2024-11-06 05:43:00 -05:00
0xemgy 220ac74783
Fix GCC linker errors not showing up in Problems View (#3950)
* gcc.ts: Replace single regex pattern with array

* CHANGELOG.md: Add GCC parsing fix

* Change parser from gnuLD to gcc for linker error diagnostics unit test

* Fix GNU LD diagnostics parser not being enabled due to inconsistency in config and in build.ts by_source strings

* Improve GCC and GNU LD diagnostics parsers

* Remove obsolete french linker error unit test

* Add gcc and gnuld diagnostics unit tests

* Clean up regexes, add unit tests

* Make gcc and gnuld parsers execution order agnostic

* Share the RegexPattern interface and the MatchType interface rather than doubly defining it

* Remove C++ template compiler error detection from gnu-ld, move common data types to util.ts

* fix extra line

* update changelog

* Remove obsolete return statement

* Add comments

---------

Co-authored-by: 0xemgy <0xemgy>
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
Co-authored-by: Garrett Campbell <gcampbell@microsoft.com>
2024-11-01 13:52:55 +00:00
Raymond Zhao c3a5713a69
fix: re-classify configureOnOpen setting (#4150)
* fix: re-classify configureOnOpen setting

* remove tags

---------

Co-authored-by: Garrett Campbell <gcampbell@microsoft.com>
2024-10-31 18:32:08 +00:00
Garrett Campbell d0ad11e566
Support cancelling ctest execution (#4141)
* Support cancelling ctest execution

* fix wording for progress bar

* fix linter issues
2024-10-25 09:00:56 -07:00
Garrett Campbell 831c33c162
ensure we build before packaging in CG pipeline (#4140) 2024-10-23 12:38:23 -07:00
Garrett Campbell 46f2d16e31
Refactor and improve test infrastructure, starting with automated version validation tests (#4126)
* renamed to end-to-end-tests and moved backend unit tests to unit-tests folder

* create folder for kits code, refactor imports to use @cmt and @test

* move variants into the kits folder

* refactor into better folder structure, still more to go

* Initial refactor making presets validation unit testing possible.

This seems to work well so far, I have v1-v3 presets tested, with some
more refactors regarding error reporting to come. However, the
design/infrastructure refactor seems to be allowing us to unit test
validation.

* implemented Presets version validation automated testing

* Added version testing for presets v1-9.

This adds testing for our version validation for all Presets versions
currently supported.
It creates presets on the fly and ensures that we correctly get errors,
or don't, depending on the setup and what fields are present with what
versions.

* fix workflows

* Ensure that we correctly initialize the presetsParser class

* refactor imports

* refactor imports

* more import fixes

* imports in projectStatus

* missed one

* workflow imports

* added comment about definite assignment

* add comments

* fix launch file to make sure breakpoints happen

* fix syntax error
2024-10-21 11:02:35 -07:00
CSIGS@microsoft.com bab2895173
Localization - Translated Strings (#4121) 2024-10-21 09:33:49 -07:00
DeltaRazero e765b1e85f
Use product icons instead of 'hardcoded' icons (#3737)
* Use product icons instead of 'hardcoded' icons

- Add a product icon font instead of icons that are unchangable by product icon themes
- Add a script using FontForge scripting API for generating product icon font for future use
- Remove redundant icons that are already part of codicons

* Revert accidental addition of 'languages' contribution entry
2024-10-17 18:31:11 +00:00
Garrett Campbell 925119fc2b
update OneLocBuild Task version to 3 (#4130) 2024-10-15 11:53:57 -07:00
Sandro Pedrett 9327d3c9ef
Add support to configure default ActiveProject (#3730)
* Implemented defaultActiveProject configuration to select default project during initialization (#1078)

* Updated docu

* Removed unused comment

* Fixed lint issues

* Fixed review findings

* Improved description of new defaultActiveFolder configuration

* Updated changelog

---------

Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-10-10 19:58:14 +00:00
CSIGS@microsoft.com 68c6dab50d
Localization - Translated Strings (#4118)
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-10-10 16:40:34 +00:00
Garrett Campbell 81316ee497
fix build vsix workflow (#4119) 2024-10-10 11:35:37 -04:00
Garrett Campbell caca06d89f
fix the issue (#4111) 2024-10-10 11:33:45 -04:00
Garrett Campbell 0786aa8259
determine shell for .cmd, .bat, .ps1 (#4044)
* determine shell for .cmd, .bat, .ps1

* update changelog

* only apply fix on windows, as necessary

* undefined -> false

* use concrete if statement

* update changelog and change if statement order

* nit: remove extra space
2024-10-10 14:23:17 +00:00
Garrett Campbell 1818a7ea52
only set isUserPreset to rue if it's defined in a user presets file (#4081) 2024-10-10 13:44:26 +00:00
Garrett Campbell 2c3b07f333
fix dropdown entries (#4106) 2024-10-10 09:13:08 -04:00
Garrett Campbell e9804918d2
use npm directly (#4086)
Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>
2024-10-09 15:15:29 -04:00
Garrett Campbell 1fe127896a
support additional macros for include field for presets v9 (#4113)
* support additional macros for include field for presets v9

* use expandString and adhere to interface requirements

* revert unneeded change

* remove unnecessary change from tempErrorList to errorList

* add option for ExpansionOptions for vars to be preset contextual but not preset specific interface

* now that we've added the appropriate required preset fields, refer to them explicitly

* remove unused import

* remove unused imports
2024-10-09 13:55:46 -04:00
Lin Hsu ed37b19f51
Add command substitutions `launchTargetName` and `getLaunchTargetName` (#3979)
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-10-07 08:01:40 -04:00
dependabot[bot] 49e4e3151d
Bump webpack from 5.76.0 to 5.94.0 (#4029)
Bumps [webpack](https://github.com/webpack/webpack) from 5.76.0 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.76.0...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-10-02 06:55:13 -04:00
dependabot[bot] 8612fcb7b3
Bump path-to-regexp from 1.8.0 to 1.9.0 (#4058)
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v1.8.0...v1.9.0)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-10-02 06:06:24 -04:00
Paul 9b6e016e72
Fix #4056, Debugger statements in production code (#4082)
Signed-off-by: paulober <44974737+paulober@users.noreply.github.com>
2024-09-30 14:49:34 +00:00
Garrett Campbell 3305ff22fc
Ensure signing/packaging works as expected (#4088)
* test out signing js and packaging it without messing up sign

* yarn compile-production

* temp image override

* confirmed, this fixes signing
2024-09-20 13:01:34 -04:00
Garrett Campbell 8d35cf5144
update other .npmrcs and yarn.locks (#4085) 2024-09-19 19:59:09 +00:00
Fatima Qarni 0df87e487a
Update to use CFS feed (#4078)
* update hosted-git-info version

* add npmrc and update yarn lock

* we were hitting an issue with eslint getting updated, I think it's with eslint >= 8.31.0

* attempt to fix cfs and get from our feed without updating versions

* try without hosted-git-info resolution

* revert to base

* updating yarnpkg to our feed

* add comment to npmrc

* Update CONTRIBUTING.md

* Update .npmrc

Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>

---------

Co-authored-by: Garrett Campbell <gcampbell@microsoft.com>
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-09-19 14:40:30 -04:00
Garrett Campbell 202da03c43
ignore javascript files in codesign validation (#4063)
* ignore javascript files in codesign validation

* fix javascript glob
2024-09-17 11:06:22 -04:00
Garrett Campbell 452c97cff2
update workflows (#4076) 2024-09-17 07:22:53 -04:00
Garrett Campbell 9db49f2b87
ensure ready to release (#4074)
* ensure ready to release

* update third party
2024-09-17 07:16:21 -04:00
Garrett Campbell f79b652ba8
update node (#4072) 2024-09-17 06:09:45 -04:00
Garrett Campbell 36276c952e
xml2js cg (#4069)
* xml2js cg

* update tests as well

* try update partial

* switch kit?

* ninja is added to path so it should work, still investigating

* update action version with same tool versions

* changes to test

* test output

* more testing

* test macos-13

* remove logging

* remove logging

* try explicit macos-14

* go back to macos-13

* remove static version of vscode

* need to use 13

* comment
2024-09-17 05:40:09 -04:00
Garrett Campbell d860f0859d
update node version, @vsce/vsce, and fix build errors from node updat… (#4055)
* update node version, @vsce/vsce, and fix build errors from node update, add improved signing

* update node in ci builds

* update vscode engine

* fix copy

* don't sign vsix with VsixSha2 anymore

* update changelog
2024-09-11 06:19:52 -04:00
Garrett Campbell 406216a530
update changelog (#4048) 2024-09-05 19:58:30 +00:00
Garrett Campbell f35be385cb
Correctly store cache and update `binaryDir` (#4028)
* fix binary dir

* fixes the issue, but more testing and possible improvement to come

* set expandedPreset.binaryDir if already set too

* properly update caches, ensure we correctly store cached presets

* remove some unnecessary comments

* fix linter errors

* update envOverride with expandedPreset env

* update the changelog

* update parent environment when never
2024-08-30 18:42:56 +00:00
Garrett Campbell 5fbcb1364c
fix generator logic (#4033)
* fix generator logic

* fix logic

* fix logic

* fix use of gen.name
2024-08-30 14:06:55 -04:00
Garrett Campbell 4a334a60ce
if Win64 is at the end of the generator, use platform x64 (#4025) 2024-08-30 11:44:56 -04:00
Garrett Campbell f1a377045e
fix presets expansion (#4024)
* fix presets expansion

* missed a change

* update changelog
2024-08-29 16:27:15 +00:00
Garrett Campbell 96f67f1c93
add change from rel that I didn't do here (#4014) 2024-08-28 11:26:16 -04:00
CSIGS@microsoft.com bdd28e044f
Localization - Translated Strings (#4003) 2024-08-28 10:43:36 -04:00
Garrett Campbell 5820bc55e8
return expandedPreset, not preset (#4008)
* return expandedPreset, not preset

* make sure user presets are considered
2024-08-27 13:18:55 -07:00