Commit Graph

8624 Commits

Author SHA1 Message Date
vanzue
bbb6f3ca63 foundry sdk can't start service 2025-11-04 14:47:35 +08:00
vanzue
a878208053 Clean code 2025-11-04 13:58:18 +08:00
Leilei Zhang
46781b1574 fix pipeline 2025-11-04 08:42:05 +08:00
vanzue
8ff1c40a6b disable cache 2025-11-03 18:55:23 +08:00
Shawn Yuan (from Dev Box)
5320a8fbaa disable cache
Signed-off-by: Shawn Yuan (from Dev Box) <shuaiyuan@microsoft.com>
2025-11-03 16:20:22 +08:00
vanzue
1a283f3348 rollback the dsc csproj 2025-11-03 13:55:28 +08:00
vanzue
c75c9bf7b3 fix wxs fail 2025-11-03 13:28:28 +08:00
vanzue
455820c837 fix conflict 2025-11-03 10:04:33 +08:00
Jiří Polášek
957b653210 CmdPal: Add a micro global error handler (#41392)
## Summary of the Pull Request

This PR introduces a scaled-down version of the global error handler
from #41061.

- Catches and logs virtually all unhandled exceptions.
- For UI thread exceptions, generates an additional error report:
    - One copy is saved in app's log folder for the Bug Report Tool.
- Another copy can be placed to the user’s desktop to increase
visibility and encourage report submission (disabled for now).
- Displays a message box that tells the user where to find the saved
report.

This PR is intentionally minimal and focused. The complete, more
polished solution is still planned in #41061, which should replace this
implementation in a follow-up.

<details><summary>Report example</summary>
<pre>

This is an error report generated by Windows Command Palette.
If you are seeing this message, it means the application has encountered
an unexpected issue.
You can help us fix it by filing a report at
https://aka.ms/powerToysReportBug.
============================================================
😢 An unexpected error occurred in the application.

Summary:
  Message:    NamedResource Not Found.

NamedResource Not Found.

  Type:       System.Runtime.InteropServices.COMException
  Source:     WinRT.Runtime
  Time:       2025-08-26 20:22:53.5752505
  HRESULT:    0x80073B17 (-2147009769)

Stack Trace:
at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32 hr)
at
ABI.Microsoft.Windows.ApplicationModel.Resources.IResourceLoaderMethods.GetString(IObjectReference
_obj, String resourceId)
at
Microsoft.Windows.ApplicationModel.Resources.ResourceLoader.GetString(String
resourceId)
at Microsoft.CmdPal.UI.Helpers.ResourceLoaderInstance.GetString(String
resourceId)
at
Microsoft.CmdPal.UI.Settings.SettingsWindow.AnnounceNavigationPaneStateChanged(DependencyObject
sender, DependencyProperty dp)
at
ABI.Microsoft.UI.Xaml.DependencyPropertyChangedCallback.Do_Abi_Invoke(IntPtr
thisPtr, IntPtr sender, IntPtr dp)

------------------ Full Exception Details ------------------
System.Runtime.InteropServices.COMException (0x80073B17): NamedResource
Not Found.

NamedResource Not Found.

at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32 hr)
at
ABI.Microsoft.Windows.ApplicationModel.Resources.IResourceLoaderMethods.GetString(IObjectReference
_obj, String resourceId)
at
Microsoft.Windows.ApplicationModel.Resources.ResourceLoader.GetString(String
resourceId)
at Microsoft.CmdPal.UI.Helpers.ResourceLoaderInstance.GetString(String
resourceId)
at
Microsoft.CmdPal.UI.Settings.SettingsWindow.AnnounceNavigationPaneStateChanged(DependencyObject
sender, DependencyProperty dp)
at
ABI.Microsoft.UI.Xaml.DependencyPropertyChangedCallback.Do_Abi_Invoke(IntPtr
thisPtr, IntPtr sender, IntPtr dp)

ℹ️ If you need further assistance, please include this information in
your support request.
ℹ️ Before sending, take a quick look to make sure it doesn't contain any
personal or sensitive information.
============================================================


</pre>
</details> 

Message:
<img width="2309" height="1341" alt="image"
src="https://github.com/user-attachments/assets/3ec20054-402f-421d-bebd-bf848a8eb504"
/>

<!-- Please review the items on the PR checklist before submitting-->
## PR Checklist

- [x] Partially handles: #41606
- [ ] **Communication:** I've discussed this with core contributors
already. If the work hasn't been agreed, this work might be rejected
- [ ] **Tests:** Added/updated and all pass
- [ ] **Localization:** All end-user-facing strings can be localized
- [ ] **Dev docs:** Added/updated
- [ ] **New binaries:** Added on the required places
- [ ] [JSON for
signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json)
for new binaries
- [ ] [WXS for
installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs)
for new binaries and localization folder
- [ ] [YML for CI
pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml)
for new test projects
- [ ] [YML for signed
pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml)
- [ ] **Documentation updated:** If checked, please file a pull request
on [our docs
repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys)
and link it here: #xxx

<!-- Provide a more detailed description of the PR, other things fixed,
or any additional comments/features here -->
## Detailed Description of the Pull Request / Additional comments

<!-- Describe how you validated the behavior. Add automated tests
wherever possible, but list manual validation steps taken as well -->
## Validation Steps Performed
2025-10-31 12:35:37 -05:00
vanzue
1e3b05ccb8 disable advanced paste control if none providers is configured 2025-10-31 18:38:03 +08:00
vanzue
115bef7897 Merge branch 'feature/advancedpaste' of github.com:microsoft/PowerToys into feature/advancedpaste 2025-10-31 17:14:53 +08:00
vanzue
afc30b4fad gpo support in settings 2025-10-31 17:14:19 +08:00
Shawn Yuan (from Dev Box)
d1405a0da5 reverse
Signed-off-by: Shawn Yuan (from Dev Box) <shuaiyuan@microsoft.com>
2025-10-31 17:04:32 +08:00
Shawn Yuan
6c2fbf37e5 fix build issue for arm
Signed-off-by: Shawn Yuan <shuaiyuan@microsoft.com>
2025-10-31 16:15:10 +08:00
vanzue
b77305e7c9 make sure all the text are from the resources 2025-10-31 14:06:42 +08:00
Dustin L. Howett
0b0ad68b60 build: build the Machine and User installers at the same time (#42888) 2025-10-31 00:28:12 -05:00
vanzue
b599cf40e8 Merge remote-tracking branch 'origin/main' into feature/advancedpaste 2025-10-31 13:24:30 +08:00
vanzue
de5f571cda Merge branch 'feature/advancedpaste' of github.com:microsoft/PowerToys into feature/advancedpaste 2025-10-31 11:58:41 +08:00
vanzue
aae521b229 localization 2025-10-31 11:58:24 +08:00
vanzue
c8c50ec25d Localization 2025-10-31 11:42:41 +08:00
Leilei Zhang
df1c5e8eb3 Merge branch 'feature/advancedpaste' of https://github.com/microsoft/PowerToys into feature/advancedpaste 2025-10-31 11:34:59 +08:00
vanzue
ae541c03ff localization for termsof use 2025-10-31 11:34:49 +08:00
Dustin L. Howett
b87be7263d Tests: do not use *relative drive letter* (#43135)
Since we switched to running the build on C:\, this test started
failing. C: means "current directory on the C drive"!
2025-10-31 11:33:44 +08:00
Niels Laute
84b8fcc78b Update AIServiceTypeRegistry.cs 2025-10-30 14:21:45 +01:00
Leilei Zhang
4820606ed2 fix xml style 2025-10-30 18:53:19 +08:00
Leilei Zhang
fd904d2032 fix arm64 build 2025-10-30 16:39:31 +08:00
Leilei Zhang
e7a2a699a9 fix custom action 2025-10-30 16:22:30 +08:00
Niels Laute
693487dd27 Standardizing legal description 2025-10-29 20:51:09 +01:00
Jaylyn Barbee
1783812f1f Light Switch is not clearing manual override if the boundary happens while offline (#43072)
Bug: If light switch is transitioning while the computer is offline,
Light Switch will not clear the manual override at the boundary.
Fix: Ensure the "Clear override" logic checks if we are at or past a
boundary point.
2025-10-29 09:23:43 -07:00
vanzue
eb6f230ca8 Merge branch 'feature/advancedpaste' of github.com:microsoft/PowerToys into feature/advancedpaste 2025-10-29 22:25:31 +08:00
vanzue
f3f9ef4c6f bundle the model icons together with installer 2025-10-29 22:22:25 +08:00
Niels Laute
b47aa0a71c Merge branch 'feature/advancedpaste' of https://github.com/microsoft/PowerToys into feature/advancedpaste 2025-10-29 12:53:02 +01:00
Niels Laute
c17f417945 AP UI design tweaks 2025-10-29 12:52:58 +01:00
vanzue
f4243376f9 fix sign issue 2025-10-29 19:50:33 +08:00
vanzue
c2e8b2f5ec Merge branch 'feature/advancedpaste' of github.com:microsoft/PowerToys into feature/advancedpaste 2025-10-29 19:50:15 +08:00
vanzue
c0effa4d4a add known dll to sign list 2025-10-29 19:48:59 +08:00
Niels Laute
93541f1c51 Merge branch 'feature/advancedpaste' of https://github.com/microsoft/PowerToys into feature/advancedpaste 2025-10-29 11:46:12 +01:00
Niels Laute
1099bd24ee UI tweaks 2025-10-29 11:46:07 +01:00
Niels Laute
70717a45cb Change model order, disable Bedrock 2025-10-29 11:46:00 +01:00
Shawn Yuan
031aaa1e59 Merge branch 'feature/advancedpaste' of https://github.com/microsoft/PowerToys into feature/advancedpaste 2025-10-29 16:54:29 +08:00
Shawn Yuan
a44b2b6355 fix pipeline
Signed-off-by: Shawn Yuan <shuaiyuan@microsoft.com>
2025-10-29 16:54:04 +08:00
vanzue
1542a9ec62 fix spell 2025-10-29 16:36:10 +08:00
vanzue
774f0491f7 Merge branch 'feature/advancedpaste' of github.com:microsoft/PowerToys into feature/advancedpaste 2025-10-29 15:39:10 +08:00
vanzue
a461206dae fix spell 2025-10-29 15:38:42 +08:00
Shawn Yuan (from Dev Box)
16b889c019 Merge branch 'feature/advancedpaste' of https://github.com/microsoft/PowerToys into feature/advancedpaste 2025-10-29 15:24:58 +08:00
Shawn Yuan (from Dev Box)
211aedbda8 clean nuget.config
Signed-off-by: Shawn Yuan (from Dev Box) <shuaiyuan@microsoft.com>
2025-10-29 15:24:36 +08:00
vanzue
d4fe2d7cec add back the index builder for setting 2025-10-29 15:20:55 +08:00
vanzue
7a0648eb5f xaml format 2025-10-29 15:18:14 +08:00
vanzue
29d1bc4198 Merge branch 'main' into feature/advancedpaste 2025-10-29 15:17:35 +08:00
Leilei Zhang
d4e4bd7014 remove nuget key 2025-10-29 14:34:58 +08:00