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

93 Коммитов

Автор SHA1 Сообщение Дата
Howard Kapustein 9e534580af
Package Management and IsReadyOrNewerAvailable() again (#4517)
* Reapply "PackageDeploymentManager: IsReadyOrNewerAvailable(), FrameworkUdk update, Implement not-implemented functions, Tests! (#4453)" (#4514)

This reverts commit 684fdf1797.

* Added #include sddl.h as WindowsAppRuntime.sln was fine for all users but the WindowsAppRuntimeInstaller.sln wasn't. Better to be self-fulfilling in case code changes again in the future to avoid unknown-symbol pains
2024-06-27 09:41:01 +00:00
Kyaw Thant 684fdf1797
Revert "PackageDeploymentManager: IsReadyOrNewerAvailable(), FrameworkUdk update, Implement not-implemented functions, Tests! (#4453)" (#4514)
This reverts commit c6c2234d53.
2024-06-26 18:24:05 -07:00
Howard Kapustein c6c2234d53
PackageDeploymentManager: IsReadyOrNewerAvailable(), FrameworkUdk update, Implement not-implemented functions, Tests! (#4453)
This PR does multiple things

* Add Is*ReadyOrNewerAvailable*()
* Add EnsureReadyOptions.RegisterNewerIfAvailable=bool
* Add Is*Provisioned*()
* Fix progress updates when PackageSet.Items.Count>=2 (was (re)set to 0-1.0 for each item, not collectively for the whole operation)
* Update to recent FrameworkUdk
* Implement previously not-implemented functions (Remove, Repair, Reset)
* Expanded test coverage
* Update TAEF to 10.92.240405002
* DevCheck
  * Added -InstallWindowsSDK option to install Windows (Platform) SDK if desired
  * Fix DevUnlock check on a machine w/o DeveloperMode enabled (last registry access doing registry access the unsafe way error'ing if the value doesn't exist in the registry)

KNOWN ISSUES:
* Need updated Platform SDK to resolve known issues
* Register*Async() errors on 20H2/Vb3.
* Reset*Async() succeeds but ends w/o the package being registered
* RemovePackageByUriAsync() throws E_NOTIMPL
* RemovePackageSetAsync() throws E_NOTIMPL if PackageUri=ms-uup
* Provision*Async() not supported yet
* Deprovision*Async() not supported yet

https://task.ms/49555034
https://task.ms/48914090
https://task.ms/48964562

Additional changes

* Fixed progress reporting incorrect .progress percentage values
* Added StringToSid() and SidToString()
* Refactored common code into WaitForDeploymentOperation
* Added IsPackageRegistrationPending. Removed dead code. Added Black+Blacker test Main packages.
* Added PackageFamilyName() property to PackageIdentity
* Added IsPackageDeploymentFeatureSupported and initial support for Containment.
* Fixed RemovePackageOptions.FailIfNotFound.
* Improved logging
* Expanded tests.
* Fixed RemovePackageOptions.FailIfNotFound default (was true, supposed to be false). Mostly implemented RemovePackageSetAsync; URI handling is blocked awaiting FrameworkUdk update (imminent).
* Updated to latest FrameworkUdk
* Patched tests to deal with RemovePackage is awaiting updated Platform SDK
* Removed dead code. Updated some not-impl to impl :-)
* Repair!
* Added IsProvisioned
* Added Provisioning tests and support
* Added Deprovision tests (in progress).
* Optimized test code
* Upgraded TAEF to 10.92.240405002
* Tweak build logic to support Windows SDK 10.0.26100.0 but not fail if using 10.0.22621.0
* Tweaked SDK detection
* Fixed some URI handling
* DevCheck:
* Add docs re PackageSet properties
* Added workaround for tests not wired to work on 20H2/Vb
2024-06-25 13:52:25 -07:00
Duncan MacMichael 7a34bfc4ae
Updating roadmap for 1.6 (#4422) 2024-05-21 09:22:19 -07:00
Duncan MacMichael ea6a3b9a52
Removing UWP reference (#4416)
* Removing UWP reference

* Fixing punctuation
2024-05-21 09:21:08 -07:00
Howard Kapustein 7d495a2ff3
Improve GettingStarted docs. DevCheck verify RS5 SDK. (#4411)
* Updated GettingStarted docs about using winget to install RS5 SDK. Added RS5 SDK check to DevCheck

* Fixed some global variable references

* Added pointer where to go to fix a missing Windows SDK
2024-05-15 15:57:31 -07:00
Howard Kapustein cbcf936092
Improved Logging v3 (#4372)
* Revert "Better logging support, replaces LOG_HR_MSG with DebugLog (#4271)"

This reverts commit 789ad81e67.

* Removed dead code

* Added coding guidelines for error handling and logging (doc current / expected practices)

* Change LOG_HR* misuse for non-failure (informational) purposes to proper TraceLoggingWrite()

* Optimized logging (TraceLogging fields instead of pre-formatting a string). Optimized bestFit tracking collapsing 1st match and better-match relying on DDLM version will always be >0.0.0.0 (kudos to Pratik for the optimization).

* Incorporated feedback
2024-05-01 13:48:47 -07:00
Duncan MacMichael b0619b9045
Removing references to old product board site and redirecting to roadmap (#4298)
* Removing references to old product board site and redirecting to roadmap doc within the repo
2024-03-28 21:23:07 -07:00
Kyaw Thant a025f233b5
Revert "Update PR Template MD to warn about PullRequests on Forks (#4294)" (#4297)
This reverts commit 0b3c0da393.
2024-03-28 10:42:06 -07:00
Kyaw Thant 0b3c0da393
Update PR Template MD to warn about PullRequests on Forks (#4294) 2024-03-27 16:47:38 -07:00
Duncan MacMichael 60cdd71909
Adding note for ink control in 1.5 (#4009)
* Update bug-report.yaml for 1.4 experimental 1

* Updating roadmap for 1.5

* Fixing TBD

* Addressing feedback

* Adding note for ink control timeline in 1.5

* Updating note to include table view control
2024-01-16 18:58:57 -05:00
Kyaw Thant 41b0593406
Update Docs on Develop Branch Scenario and Configure ES to Account for New Arrangement (#3985)
* Update docs and delete main to develop pipeline

* Update Mirror
2023-11-28 16:46:38 -08:00
Duncan MacMichael 85441428cc
Updating roadmap for 1.5 (#3883)
* Update bug-report.yaml for 1.4 experimental 1

* Updating roadmap for 1.5

* Fixing TBD

* Addressing feedback
2023-09-27 15:56:06 -07:00
Kyaw Thant 4bd6b4d42c FI: Main to Develop 2023-02-07 13:45:05 -08:00
Kyaw Thant cbfec9fecd RI: 1.3-exp1 to main 2023-02-07 12:31:44 -08:00
Howard Kapustein 1e3726873e
Link README to Coding-Guidelines (#3409)
* Added links to Coding-Guidelines doc

* Fixed hyperlink

* Fixed some slightly stale information

* Updated CodingGuidelines re main-vs-develop

* Moved main-v-develop doc to Coding-Guidelines dir
2023-02-07 08:41:14 -08:00
Rafael Rivera de7134839c
Update README (#3365) 2023-02-03 15:21:26 -05:00
reunion-maestro-bot 39c39b8a2f Merge branch 'main' of https://github.com/microsoft/WindowsAppSDK into develop 2023-01-28 05:06:22 +00:00
Kyaw Thant e35771ab60
Update PR Template to Address Inaccuracies (#3375) 2023-01-27 13:44:09 -08:00
Kyaw Thant 5d8d6878e6
Add Github PullRequest Tips (#3233)
Co-authored-by: Bob Pulliam <bpulliam@gmail.com>
2023-01-17 10:51:25 -05:00
Kyaw Thant 78aaf72007
[Cherrypick] devcheck -CheckDependencies (#3188) (#3302)
Co-authored-by: Howard Kapustein <howardk@microsoft.com>
2023-01-04 16:16:03 -08:00
Howard Kapustein 96e615a215
Fix GettingStarted doc formatting (#3301) 2023-01-04 14:12:59 -08:00
Howard Kapustein 9351d22828
devcheck -CheckDependencies (#3188)
Teach DevCheck to verify dependencies

To use:
* DevCheck -CheckDependencies (or -All or no parameters) to verify dependencies
* DevCheck -SyncDependencies to verify and potentially update dependencies (if necessary)
* DevCheck -CheckVisualStudio now also verifies all required components are installed per docs\Coding-Guidelines\VisualStudio2022.vsconfig

Also enabled StrictMode 3.0 for better error detection.

Sample runs:

[C:\source\repos\windowsappsdk]DevCheck.cmd -CheckVisualStudio
Checking developer environment...
Windows App SDK location...C:\source\repos\windowsappsdk
VisualStudio 2022...C:\Program Files\Microsoft Visual Studio\2022\Enterprise
...Scanning 69 components in C:\source\repos\windowsappsdk\docs\Coding-Guidelines\VisualStudio2022.vsconfig.....................................................................OK
Coding time!
and

[C:\source\repos\windowsappsdk]DevCheck.cmd
Checking developer environment...
Windows App SDK location...C:\source\repos\windowsappsdk
VisualStudio 2022...C:\Program Files\Microsoft Visual Studio\2022\Enterprise
...Scanning 69 components in C:\source\repos\windowsappsdk\docs\Coding-Guidelines\VisualStudio2022.vsconfig.....................................................................OK
Test certificate for C:\source\repos\windowsappsdk\.user\winappsdk.certificate.test.thumbprint...OK
Test certificate AF8A2139E3942FE1D3DA65009D68C2A97EB41739...OK
TAEF service...Running
Reading C:\source\repos\windowsappsdk\eng\Version.Details.xml...
14 dependencies detected
Reading C:\source\repos\windowsappsdk\eng\Version.Dependencies.props...
Verify C:\source\repos\windowsappsdk\eng\Version.Dependencies.props...OK
Scanning packages.config...
Scanned 23 packages.config
Scanned 40 *.vcxproj
Coding time!

TODO (in a future PR)
* Verify references in *proj use only packages in Version.*.xml
* Verify references in *proj use only package versions matching Version.*.xml
2023-01-04 11:46:40 -08:00
reunion-maestro-bot bd6e37191c Merge branch 'main' of https://github.com/microsoft/WindowsAppSDK into develop 2022-12-06 05:07:09 +00:00
Howard Kapustein 9edb6ffed7
Added 4+5 to preview/stable process (#2545) 2022-12-05 17:13:38 -05:00
alexlamtest 30d3e3b222
Address BinSkim complains by enabling Spectre mitigation (#3207)
* Delete VisualStudio2019.vsconfig
* Update VisualStudio2022.vsconfig
* Update WindowsAppSDK.Build.Cpp.props

Added Spectre mitigation setting to address issues raised by BinSkim.
2022-12-05 12:12:21 -08:00
Kyaw Thant ca36d5b097
Fix Various Issues in the BuildTransportPackage.ps1 (#3170)
* fix TerminalVelocityFeatures not flowing down properly

* remove unused yml template

* clean code

* rework parameter and comments
2022-11-23 12:46:52 -08:00
Howard Kapustein ec7025a3b0
Fixed minor phrasing missed in previous PR https://github.com/microsoft/WindowsAppSDK/pull/2359 (#3094) 2022-11-21 18:39:21 -05:00
Bob Pulliam 8401c02767
Remove en-us from links in README (#3086)
* remove en-us from link

* fix spelling error
2022-10-28 16:26:51 -04:00
Gabby Bilka d5d8a44987
Roadmap edits & refinements (#2273) 2022-10-28 15:51:44 -04:00
Kyaw Thant 8224ec5c7d
Update pipelines to use BuildTransportPackage.ps1 (#3062) 2022-10-20 12:31:25 -07:00
Howard Kapustein 757d8c2cac
Doc WinAppSDK's WinRT registration choice (#2359)
* Doc WinAppSDK's WinRT registration choice

* Incorporated feedback
2022-10-19 17:05:58 +00:00
Kyaw Thant 423a8f0bdc
RI release/1.2 preview1 to Main (#2939) 2022-09-07 18:02:14 -07:00
Kyaw Thant 305f17605c Consolidate Maestro Doc to OSGWiki 2022-09-01 15:01:00 -07:00
Howard Kapustein eb402a00d8 Add .vsconfig for VS2022. NOTE: Overkill. Needs slimming 2022-07-03 15:59:14 -07:00
Howard Kapustein b3a41ffd3b Updated docs for VS2022 2022-07-02 03:40:40 -07:00
Howard Kapustein fd44a34926 Merge branch 'main' into user/drustheaxe/vsconfig 2022-07-01 16:30:59 -07:00
Kyaw Thant 63ef3ae95b
Update maestro docs. Added a note about dotnet default values. (#2458) 2022-06-07 16:21:14 -07:00
Howard Kapustein 3349b415b8
Fix IsSelfContained() to lookup framework packagefamilyname at runtime (#2411)
* Added Microsoft::WindowsAppRuntime::VersionInfo::RuntimeInformation as a (partial) runtime-equivalent WindowsAppSDK-VersionInfo.h to workaround the chicken-egg problem where we need to know the versioninfo now but it's nto defined until higher in the build tree (the Aggregator pipeline at the top)

* Replaced WindowsAppRuntime_SelfContainedTestInitialize with WindowsAppRuntime_VersionInfo_TestInitialize as we moved the functionality down a level

* Removed dead code

* Update docs for IsSelfContained

* Update test to match SelfContained/VersionInfo::TestInitialize change

* Add missing #include
2022-04-22 14:24:13 -07:00
Scott Jones 4f65095801
add end dev library adoption section, link to community call (#2428) 2022-04-21 18:20:26 -07:00
Scott Jones d2bd64a3d3
App considerations for Hybrid CRT - xcopyability (#2354)
* App considerations for Hybrid CRT - xcopyability

* PR feedback
2022-04-04 19:48:34 +00:00
Gabby Bilka ec652ca121
Update Windows App SDK Roadmap (#2270)
* Update Windows App SDK Roadmap

* Comments update
2022-03-16 01:13:12 +00:00
Howard Kapustein 42f7c48474
IsSelfContained() (#2135)
* Add detection if WinAppSDK is deployed via MSIX or SelfContained

* Tweaked IsSelfContained to use C++ constant for the framework packagefamilyname

* Added placeholder for dev docs how to detect/use IsSelfContained. Details coming in next commit

* Fixed IsSelfContained to use GetCurrentPackageGraph (as intentded. Doh! on my part)

* Added tests for IsSelfContained (and ToUtf8/16! Fixed an infinite recursion stack overflow bug too :-)

* Added docs. Partially fixed SelfContained package family name (handles 2 out of 3 cases). 3rd case in follow up PR

* Changed IsSelfContained() from inline code to exported function

* Fixed tests

* Added TestShutdown. Updated the docs.
2022-02-28 17:29:22 -08:00
Howard Kapustein 8272db2a98 VS installed configuration 2022-01-23 20:54:01 -08:00
Kyaw Thant 510110b3fd
More onboarding instructions (#1917) 2021-12-17 10:23:31 -08:00
Kyaw Thant cd6068ecb6
Documentation for Maestro in WindowsAppSDK (#1897) 2021-12-13 19:33:32 +00:00
Andrew Leader 03c73d010d
README / docs updates for productboard (#1779)
* Initial new issue update

* Update feature links to point to docs

* Point roadmap to productboard

* Update contributor-guide.md

* More roadmap link updates

* Update with final link

* Update contributing on main readme
2021-11-11 16:04:52 -08:00
Andrew Leader bd9f9122cd
Update the experimental emojis and some basic readme content (#1682)
* Update experimental emoji's on README

* Update some of the content

* Update emojis on roadmap
2021-11-01 10:55:09 -07:00
roxk 825f9e3c6d
Fix git rebase marker left over (#1640) 2021-10-25 15:28:44 -07:00
Howard Kapustein 14f35f09ea
Add new GettingStarted docs (#1610)
* Add GettingStarted docs re prereq installs and 1time DevCheck

* New GettingStarted file

* Incorporated feedback

* Incorporated feedback
2021-10-21 18:43:03 +00:00