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

3222 Коммитов

Автор SHA1 Сообщение Дата
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
Fatima Qarni 34ca947fc1
update third parties (#4001) 2024-08-21 21:08:02 +00:00
Fatima Qarni d04ec39e6d
fix env expansion (#3997)
* In short, with our recent updates, we are attempting to expand every
string in the environment. This isn't a problem in most cases, but it
exposed a bug in certain linux distros that use aliasing (environment
variables).

Therefore, we should be wiser about what we attempt to expand and only
expand the presets environment variables the user has in their files.
To do this, we need to be smarter about what we save in our cache and
update by reference.


* updated the other presets so they dont always have to reexpand configure preset. when they do, use plusIncludes which has the dev env cached if its been expanded before. also include the inherited parent envs

* Fix environment expansion so we don't expand unnecessary variables - don't save the process.env or parent environment to the environment field of the cache.

* Don't re-expand configure presets in the associated build/test/etc presets.

* Fix expansion reporting issues with reporting an invalid config preset, and changing for each loop to a traditional for loop to make sure we dont have async issues with reporting.

* fix validation bug for not being able to find a null config preset

---------

Co-authored-by: Garrett Campbell <gcampbell@microsoft.com>
2024-08-21 12:16:26 -07:00
Garrett Campbell 9d6e7f32e4 switch to variable 2024-08-19 11:20:02 -04:00
Garrett Campbell 11a7dc4090 switch to variable 2024-08-19 05:32:31 -04:00
Garrett Campbell a9972e5902
rollbar try catch (#3985)
Co-authored-by: Fatima Qarni <fatimaqarni@microsoft.com>
2024-08-16 12:41:53 -04:00
Garrett Campbell 4ba260c480
fix regression of kit environment variables (#3991) 2024-08-16 06:03:43 -04:00
Sinem Akinci d8a6010d0f
Update cmake-presets.md (#3992)
Fixing broken links
2024-08-16 05:27:46 -04:00
CSIGS@microsoft.com 31a1b4718a
Localization - Translated Strings (#3984) 2024-08-15 15:31:14 -04:00
Garrett Campbell 71739f2ac0 remove item from yml 2024-08-14 15:23:58 -04:00
Garrett Campbell 6dbb49f17e fix node versions in pipelines 2024-08-14 05:40:48 -04:00
Garrett Campbell b77a853ba2
add telemetry for developer environment use (#3975) 2024-08-13 14:50:56 -04:00
Sean McManus 2aeab8d1d9
Update vscode-tas-client. (#3981) 2024-08-13 11:19:40 +00:00
Garrett Campbell a4ff8d1716
Remove popups and update defaults for `configureOnOpen` (#3967)
* update defaults and remove popups

* update changelog

* fix types for configureOnOpen

* fix eslint
2024-08-13 05:28:34 -04:00
Garrett Campbell c848ee3705
only do special handling of ~ in linux, it breaks windows (#3965) 2024-08-08 14:49:13 -04:00
Garrett Campbell 7f2f5abb73
saving progress (#3960) 2024-08-06 14:37:26 -04:00
Garrett Campbell c779bf1fcd
Ensure we correctly inherit preset from UserPreset (#3958)
* fix

* analyze user presets first because it's the base if it exists

* more updates to fix include files and telemetry, still needs work and testing

* ensure telemetry and other uses of 'all..Presets' is right

* more fixes

* ensure we don't duplicate cmakepresets in userpresets includes

* remove unnecessary return

* unionWith consistency

* add test
2024-08-06 14:36:51 -04:00
CSIGS@microsoft.com ec03fc1efb
Localization - Translated Strings (#3954) 2024-08-05 05:33:42 -04:00
Fatima Qarni e7cf93eec0
Set usepresets context after manually creating presets file (#3935)
Fixes #3854. Support for watching multiple paths (cmakepresets.json/cmakeuserpresets.json/include files) was broken due to a Chokidar bug. Created a wrapper class to handle this scenario.
2024-08-01 19:53:21 +00:00
Garrett Campbell ca04165529
Update pipeline (#3952)
* fix validation and pipeline, commented out vsce for testing

* fix indentation for job

* uncomment vsce
2024-08-01 14:59:26 -04:00
Garrett Campbell dc8425816a use correct manual validation task 2024-07-31 11:34:03 -04:00
Garrett Campbell a65486399e switch to targetPath test 2024-07-31 09:02:54 -04:00
Garrett Campbell 01fb95a04c fix destination typo 2024-07-30 16:25:16 -04:00
Garrett Campbell 182e609533 try corrected destinationPath 2024-07-30 16:12:25 -04:00
Garrett Campbell d191663407
fix pipelineArtifact reference (#3948)
* fix pipelineArtifact reference

* update variable update
2024-07-30 15:30:07 -04:00
moyo1997 8f32d0ca46
evaluate inherit presets based on presets that should be visible from file (#3941)
* initial changes

* modify other preset flows

* fix unused import

* remove unused import

* check for default preset

* acocunt for userpresets

* remove extra condition

---------

Co-authored-by: Garrett Campbell <gcampbell@microsoft.com>
2024-07-30 17:27:29 +00:00
Garrett Campbell fa4682727d
Use template for release pipelines (converted from classic) (#3945)
* try to convert release pipeline to yaml

* ensure trigger

* fix variable expansion

* specify name specifically

* add release and fix powershell setup

* fix name

* uncomment vsce task

* only do release pipeline on release branch

* only allow rel branch for release

* enable trigger always, we can rely on manual verification
2024-07-30 12:27:25 -04:00
CSIGS@microsoft.com ccd3f09d9a
Localization - Translated Strings (#3932) 2024-07-30 10:39:10 -04:00
Andreea Isac 27cb55e70e
Configure precondition handler to return boolean to signal a successful recovery case (#3776)
* Making configure precondition handler return a boolean helps to differentiate the successful recovery cases

* Fix pre-condition handler prototype errors in tests

* Experiment with prototypes to fix linter errors

* Add setting for building whole build dir when clean configure

* Remove anything related to deleteBuildDirOnCleanConfigure since it's in a different PR. Keep proper promise<bool> prototype for pre-configure handler return and fix appropriately compilation and lint errors in tests.

* Forgot one file to remove deleteBuildDirOnCleanConfigure from

* Remove forgotten comment

* Add changelog entry

* remove changes not needed

* removing more bad changes

* add logic to regenerate the driver after selecting cmakelists

* remove unused imports

* keep sanity check in _beforeConfigureOrBuild

* only ensure we set the variable so that on retry, it works

* switch return

* erroneous update

* fix

---------

Co-authored-by: Garrett Campbell <gcampbell@microsoft.com>
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-07-29 15:47:40 -04:00
fargies 97b36c94ad
Fix GitHub 1401, diagnostics relative to workspace folder (#3780)
* Fix GitHub 1401, diagnostics relative to workspace folder

 - relative diagnostics files are searched in build_dir and src_dir,
   first existing file is returned
 - defaults to old behavior : `path.resolve(build_dir, file)`
 - `resolveDiagnostics` has been made async to not slow down IDE when
   testing files

* update ChangeLog for #1401

* fix relative file resolution diagnostics test

 - diagnostics paths always use POSIX separators (see `normalizePath` in
   [src/util.ts](src/util.ts))

---------

Co-authored-by: Sylvain Fargier <sylvain.fargier@cern.ch>
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-07-29 14:54:26 -04:00
Garrett Campbell 998ebbd447
update telemetry key (#3944)
* update telemetry key

* typo
2024-07-29 12:10:34 -04:00
Garrett Campbell 4dc3817666
ensure we take deep copy of presets for presetsPlusIncluded (#3939) 2024-07-26 12:47:49 -04:00