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

3222 Коммитов

Автор SHA1 Сообщение Дата
Fatima Qarni 2be0df4591
check for quick start in select configure preset to prevent second configure (#3933)
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-07-26 08:49:23 -04:00
Jonathan Phippen ed6d9adeb3
Revert "Don't require Ninja or Make on PATH when checking generators (#3927)" (#3938)
This reverts commit bbc74d8797.
2024-07-25 11:55:39 -07:00
Garrett Campbell 140a429245
better match keybindings to what vscode has (#3928)
* better match keybindings to what vscode has

* update changelog
2024-07-24 13:09:09 -04:00
Fatima Qarni 1eadb61980
Preset file expansion on open/save and expansion validation (#3905)
This change changes the way we do preset file expansion. Expansion now occurs upfront on file open or save, and if there are no errors, the expanded presets will be cached so repeated expansion is not necessary every time getAll{type of preset}Presets() is called.

The only time expansion will happen again is on set preset, which will then also apply the VS developer environment as needed. This is avoided on the initial expansion for performance.

If there are errors in expansion, the errors are shown in the problems panel per file. The presets file will also be set to undefined, which will invalidate that file and not allow any presets in that file to be recognized/selected as valid presets. This is in line with the CMake command line experience.

Some notes:

- The ${generator} macro should not work for packagePresets, but should now expand correctly for all other presets and evaluate conditions correctly
- Tertiary preset cache was added (really its just the original presets cache but used in a new way) to account for included json files that wouldnt be in the original presets files
2024-07-24 15:52:00 +00:00
Jonathan Phippen bbc74d8797
Don't require Ninja or Make on PATH when checking generators (#3927) 2024-07-23 09:52:25 -07:00
Andrew Shark a2de3ee7da
doc: cmake.environment is not applied to launch/debug (#3926) 2024-07-23 10:24:29 -04:00
stepeos 890fb569a1
implement #2521 by adding output channel argument (#3785)
* implement  #2521 by adding output channel argument

* fix failed configuration not showing output channel on "on error"

* implement review, add changelog

* fix changelog

---------

Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
Co-authored-by: Garrett Campbell <gcampbell@microsoft.com>
2024-07-23 13:41:47 +00:00
CSIGS@microsoft.com eb4c00df1b
Localization - Translated Strings (#3884)
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-07-22 19:19:56 +00:00
Jonathan Phippen 01db4d6d1f
Dispose of Launch terminal if environment has changed (#3902)
* Compare entire terminal launch environment and dispose if not equal

* Updated CHANGELOG

---------

Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-07-22 09:33:21 -07:00
Yonggang Luo 8ed18b224a
Only visual studio 2015 neesd fixes the windows sdk path (#3837)
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-07-18 15:36:15 +00:00
Garrett Campbell 1a5d186010
Delete .github/workflows/closed-fixed-pending-release.yml 2024-07-18 09:58:26 -04:00
Garrett Campbell 5db0a3d850
Update OneLocBuild process (#3912)
* try service connection already there

* use variables
2024-07-18 09:44:49 -04:00
Garrett Campbell e27b57a58f
Update triage-labels.yml 2024-07-17 14:07:20 -04:00
Yonggang Luo aff67c4359
The kit name for Clang/MSVC too long, put the arch at the front (#3835)
[kit] Found Kit (trusted): Clang 17.0.3 (MSVC CLI) for MSVC 17.10.35004.147 (Visual Studio Community 2022 Release - x86)
[kit] Found Kit (trusted): Clang 17.0.3 (GNU CLI) for MSVC 17.10.35004.147 (Visual Studio Community 2022 Release - x86)
[kit] Found Kit (trusted): Clang 17.0.3 (MSVC CLI) for MSVC 17.10.35004.147 (Visual Studio Community 2022 Release - amd64)
[kit] Found Kit (trusted): Clang 17.0.3 (GNU CLI) for MSVC 17.10.35004.147 (Visual Studio Community 2022 Release - amd64)

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-07-17 14:36:09 +00:00
Andrew Shark b2fd1880cb
Fix typo in configure.md (#3900)
als -> also

Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-07-17 10:04:20 -04:00
Andrew Shark e43f28f1ec
Fix link in configure.md (#3899)
The section is called "General options", not "Generic options".
2024-07-17 10:04:01 -04:00
Garrett Campbell bdc9f5f0c4
Add setting to control how we use VS Dev Env (#3892)
* committing state, no progress, just thinking through

* fix how we apply and override devenv to ensure we don't accidentally delete preset environment modifications from user

* check if ninja exists and it's the generator, use that to determine if we should add vs devenv as well

* currently broken, but saving state for adding a setting

* this works well, but I need to add back code that prohibits repeated devenv searching with where.exe

* finalize implementation of the setting for useVsDeveloperEnvironment

* minimize branches

* fix import

* update comments

* fix comment

* remove unnecessary comment

* fallback to better architecture/toolset

* update devenv vars and tests

* fix test for mac

* fix tests

* update changelog

* fix test expand and where.exe env

* update test to explicitly test architecture unit test

---------

Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>
2024-07-16 19:35:40 +00:00
Fatima Qarni 4cdfacde0a
Fix localized file path for schemas (#3906) 2024-07-16 17:32:45 +00:00
Garrett Campbell 2868e27edc add permissions to workflow 2024-07-16 12:12:20 -04:00
snehara99 a63562f0a8
if installDir is a relative path, calculate it relative to the source directory (#3903)
* if installDir is a relative path, I calculate it relative to the source dir

* updated location of checking and updating installDir

* combined with expansion check
2024-07-15 21:14:32 +00:00
Garrett Campbell e263ecd226
fix our depth search for CMakeLists.txt (#3904) 2024-07-15 16:30:13 -04:00
moyo1997 15ad70769f
show build task if preset is set to activebuildpreset (#3898)
* show build task if preset is set to activebuildpreset

* changelog
2024-07-12 10:12:23 -07:00
snehara99 2706fd9aef
localized the additional properties case (#3895) 2024-07-12 15:12:45 +00:00
moyo1997 a8501dd575
fix debug environment config being overwritten (#3894)
* fix debug environment config being overwritten

* changelog
2024-07-12 00:05:52 +00:00
Fatima Qarni d0eee38623
change langext check for cpp (#3897) 2024-07-11 21:37:43 +00:00
Fatima Qarni 7752a4be33
localize override settings applied (#3896) 2024-07-11 20:48:17 +00:00
snehara99 c892b185e9
Add "Unspecified" Build Type and Use by Default (Kits Only) (#3879)
* add unspecified build type and remove CMAKE_BUILD_TYPE prop when it's used

* reverted commenting out debugger

* let debugger stop on error again

* updated changelog

* updated the docs with the new option

* updated default kit build type

* fix failing tests

---------

Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-07-11 19:05:59 +00:00
snehara99 46aac7d912
Allow CMake to select a default internal generator when the user selects "__unspec__" for the kit (#3889)
* updated to allow no generator when using file api and cmake 3.15.0 or greater

* fixed kit name check

* updated changelog

* throw nogenerator error if kit isn't __unspec__
2024-07-11 18:37:46 +00:00
Jonathan Phippen 32a07ffaf0
Fixed spelling in Delete Build Dir On Clean Configure description (#3893) 2024-07-11 13:38:53 -04:00
Jonathan Phippen 7cc86d9680
Skip initializing variant manager when using CMakePresets (#3888) 2024-07-11 10:06:19 -07:00
Garrett Campbell 9bcfed5a21
avoiding stringifying extensionContext (#3880)
* attempt avoiding stringifying extensionContext

* update changelog
2024-07-11 11:16:23 -04:00
moyo1997 418a4c9f0b
move user env expansion forkits to after vsenv merged in (#3887)
* move user env expansion forkits to after vsenv merged in

* changelog

* fix for penv and env differentiation
2024-07-10 15:36:15 -07:00
moyo1997 573f7ccc82
show userpresets in project outline (#3877) 2024-07-10 10:44:16 -07:00
Garrett Campbell 1525857d52
add try catch and attempt to grab specifically the json (#3868)
* add try catch and attempt to grab specifically the json

* fix lint errors

---------

Co-authored-by: Fatima Qarni <fatimaqarni@microsoft.com>
2024-07-10 11:58:02 -04:00
Fatima Qarni 7117d53f40
update warning to be an error (#3881) 2024-07-10 00:04:55 +00:00
Fatima Qarni 934c4d0e99
Fix debugger hang on restart (#3846)
* telemetry check for trigger, also include trigger and folder in obj for debugger

* update origin telemetry

* add enum for debug origin

* pass in from command info and cleanup

* Update cmakeFileApiDriver.ts take out import

* move to 1.19 changelog

---------

Co-authored-by: Garrett Campbell <gcampbell@microsoft.com>
2024-07-09 18:23:52 +00:00
Jonathan Phippen b7951a7213
Add guard against reloading a file that's not a variants file (#3878)
* Add guard against reloading a file that's not a variants file

* Update CHANGELOG.md

* Update CHANGELOG.md
2024-07-09 10:40:13 -07:00
snehara99 433561885d
updated command string to better reflect function (#3876) 2024-07-09 12:34:00 -04:00
Jonathan Phippen 95e21ab87c
Update Preferred Generator selection logic (#3869)
* Update preferred generator selection logic

* Update changelog

* Fix lint error
2024-07-08 09:28:02 -07:00
Cy 'kkm' Katsnelson 79fcf3b686
Use relative intralinks; Point 'issues' to main GH repo (#3858)
* Replace intra-repo absolute URLs with relative ones.
* Replace remaining pointers to `vector-of-bool` with `microsoft`
  in the URLs than must remain absolute.

Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-07-08 11:04:08 -04:00
CSIGS@microsoft.com dc24ef81ef
Localization - Translated Strings (#3833)
Co-authored-by: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com>
2024-07-08 11:02:51 -04:00
Garrett Campbell f8b9e7679a fix variable ref 2024-07-08 09:57:33 -04:00
Garrett Campbell 7dbb63f08e update release version for prerelease 2024-07-08 09:48:17 -04:00
Garrett Campbell 7b621f45ca fix release pipeline 2024-07-03 09:55:55 -04:00
Garrett Campbell b015fe9003 fix release pipeline verification 2024-07-03 09:44:50 -04:00
Garrett Campbell 29bd23fba0 update third parties 2024-07-03 09:40:37 -04:00
Garrett Campbell aac8ed8c50
add rel to branches (#3867) 2024-07-03 08:54:02 -04:00
Garrett Campbell 8e1639c84b update changelog 2024-07-03 08:23:58 -04:00
snehara99 42e18b9380
clean configures when platform differs between old and new selected kit (#3859)
* clean configures when only platform changes between kits

* updated changelog

* check toolset too

* changelog
2024-07-02 21:11:11 +00:00
Garrett Campbell 2ea06810a7
remove from pre-release (#3861) 2024-07-02 15:26:52 -04:00