[PR #9525] [MERGED] Shell Extension: Remove C++/WinRT authoring dependency #27609

Open
opened 2026-01-31 09:23:00 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/9525
Author: @DHowett
Created: 3/17/2021
Status: Merged
Merged: 3/17/2021
Merged by: @undefined

Base: mainHead: dev/duhowett/shellext-why-cppwinrt


📝 Commits (3)

  • d7363c2 Shell Extension: Remove C++/WinRT authoring dependency
  • a188df8 Speelbot the fix
  • b2dfb1a And of course, we're not a winrt component anymore

📊 Changes

7 files changed (+52 additions, -96 deletions)

View changed files

📝 .github/actions/spelling/dictionary/apis.txt (+1 -0)
src/cascadia/ShellExtension/PlaceholderType.cpp (+0 -10)
src/cascadia/ShellExtension/PlaceholderType.h (+0 -37)
src/cascadia/ShellExtension/PlaceholderType.idl (+0 -21)
📝 src/cascadia/ShellExtension/WindowsTerminalShellExt.def (+2 -2)
📝 src/cascadia/ShellExtension/WindowsTerminalShellExt.vcxproj (+36 -12)
📝 src/cascadia/ShellExtension/dllmain.cpp (+13 -14)

📄 Description

We don't need to use C++/WinRT's component authoring capabilities to be
a COM component. It's easier for us if we're not (and it makes the build
slightly faster!)

Binary size savings (x64 Release):

Note WindowsTerminalShellExt.dll
Before 136192
After 130048
Delta 6144
%Delta 4.5%

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/9525 **Author:** [@DHowett](https://github.com/DHowett) **Created:** 3/17/2021 **Status:** ✅ Merged **Merged:** 3/17/2021 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/duhowett/shellext-why-cppwinrt` --- ### 📝 Commits (3) - [`d7363c2`](https://github.com/microsoft/terminal/commit/d7363c2e09601ef3e3e2898660da82e8b7e0c22b) Shell Extension: Remove C++/WinRT authoring dependency - [`a188df8`](https://github.com/microsoft/terminal/commit/a188df8f35c0745d9e923d92490a969561f731bc) Speelbot the fix - [`b2dfb1a`](https://github.com/microsoft/terminal/commit/b2dfb1af19784a08f0d92a56bd1f1be627b6d753) And of course, we're not a winrt component anymore ### 📊 Changes **7 files changed** (+52 additions, -96 deletions) <details> <summary>View changed files</summary> 📝 `.github/actions/spelling/dictionary/apis.txt` (+1 -0) ➖ `src/cascadia/ShellExtension/PlaceholderType.cpp` (+0 -10) ➖ `src/cascadia/ShellExtension/PlaceholderType.h` (+0 -37) ➖ `src/cascadia/ShellExtension/PlaceholderType.idl` (+0 -21) 📝 `src/cascadia/ShellExtension/WindowsTerminalShellExt.def` (+2 -2) 📝 `src/cascadia/ShellExtension/WindowsTerminalShellExt.vcxproj` (+36 -12) 📝 `src/cascadia/ShellExtension/dllmain.cpp` (+13 -14) </details> ### 📄 Description We don't need to use C++/WinRT's component authoring capabilities to be a COM component. It's easier for us if we're not (and it makes the build slightly faster!) Binary size savings (x64 Release): Note | WindowsTerminalShellExt.dll ------ | --------------------------- Before | 136192 After | 130048 Delta | 6144 %Delta | 4.5% --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:23:00 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#27609