From 7e11aeca0a3c53e5205eb4f16b05662ed463ddbc Mon Sep 17 00:00:00 2001 From: Dustin Howett Date: Thu, 11 Feb 2021 11:47:51 -0800 Subject: [PATCH 01/16] ci: add reimplementation to the dictionary --- .github/actions/spelling/dictionary/dictionary.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/spelling/dictionary/dictionary.txt b/.github/actions/spelling/dictionary/dictionary.txt index 4d4bde14c90..de26c13938a 100644 --- a/.github/actions/spelling/dictionary/dictionary.txt +++ b/.github/actions/spelling/dictionary/dictionary.txt @@ -341774,6 +341774,7 @@ reimplanted reimplanting reimplants reimplement +reimplementation reimplemented reimplied reimply From 7fac0c357163449d9b82b9ab7f12156e067d4ef6 Mon Sep 17 00:00:00 2001 From: Dustin Howett Date: Thu, 11 Feb 2021 11:52:22 -0800 Subject: [PATCH 02/16] ci: add dataobject to the dictionary --- .github/actions/spelling/dictionary/apis.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/spelling/dictionary/apis.txt b/.github/actions/spelling/dictionary/apis.txt index b1bbc345616..3946345eb1c 100644 --- a/.github/actions/spelling/dictionary/apis.txt +++ b/.github/actions/spelling/dictionary/apis.txt @@ -9,6 +9,7 @@ COLORPROPERTY CXICON CYICON D2DERR_SHADER_COMPILE_FAILED +dataobject DERR environstrings EXPCMDFLAGS From 2f28d24fe00bcdded729ca478ef10b888c1bf76b Mon Sep 17 00:00:00 2001 From: Dustin Howett Date: Thu, 11 Feb 2021 13:19:27 -0800 Subject: [PATCH 03/16] Format the incoming inbox code --- src/internal/stubs.cpp | 3 +-- src/propslib/DelegationConfig.cpp | 1 - src/server/IoDispatchers.cpp | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/internal/stubs.cpp b/src/internal/stubs.cpp index 7969e770d52..ac312a23e71 100644 --- a/src/internal/stubs.cpp +++ b/src/internal/stubs.cpp @@ -30,8 +30,7 @@ void EdpPolicy::AuditClipboard(const std::wstring_view /*destinationName*/) noex return S_FALSE; } -[[nodiscard]] -HRESULT DefaultApp::CheckDefaultAppPolicy(bool& isEnabled) noexcept +[[nodiscard]] HRESULT DefaultApp::CheckDefaultAppPolicy(bool& isEnabled) noexcept { isEnabled = false; return S_OK; diff --git a/src/propslib/DelegationConfig.cpp b/src/propslib/DelegationConfig.cpp index 50431a8c18a..f99cf144bcf 100644 --- a/src/propslib/DelegationConfig.cpp +++ b/src/propslib/DelegationConfig.cpp @@ -28,7 +28,6 @@ using namespace ABI::Windows::ApplicationModel::AppExtensions; #define DELEGATION_CONSOLE_EXTENSION_NAME L"com.microsoft.windows.console.host" #define DELEGATION_TERMINAL_EXTENSION_NAME L"com.microsoft.windows.terminal.host" - template::value>::type* = nullptr> HRESULT _lookupCatalog(PCWSTR extensionName, std::vector& vec) noexcept { diff --git a/src/server/IoDispatchers.cpp b/src/server/IoDispatchers.cpp index 26fb92b8607..85c8952eb63 100644 --- a/src/server/IoDispatchers.cpp +++ b/src/server/IoDispatchers.cpp @@ -165,8 +165,6 @@ PCONSOLE_API_MSG IoDispatchers::ConsoleHandleConnectionRequest(_In_ PCONSOLE_API goto Error; } - - // If we are NOT a PTY session (headless)... // we have FOUND a CLSID for a different console to be the default startup handler... // we are NOT already receiving an inbound console connection handoff... From 13e058d9f1ebddbc75292e2c1ce2b6ad31bd5a15 Mon Sep 17 00:00:00 2001 From: Dustin Howett Date: Thu, 11 Feb 2021 13:48:28 -0800 Subject: [PATCH 04/16] ci: fix spelling --- .github/actions/spelling/dictionary/apis.txt | 2 ++ .github/actions/spelling/expect/expect.txt | 2 ++ src/propslib/DelegationConfig.cpp | 2 +- src/server/ConDrvDeviceComm.cpp | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/actions/spelling/dictionary/apis.txt b/.github/actions/spelling/dictionary/apis.txt index 3946345eb1c..d3b3ac73bce 100644 --- a/.github/actions/spelling/dictionary/apis.txt +++ b/.github/actions/spelling/dictionary/apis.txt @@ -23,6 +23,7 @@ Hashtable HIGHCONTRASTON HIGHCONTRASTW href +IApp IAppearance IAsync IBind @@ -37,6 +38,7 @@ IExplorer IInheritable IMap IObject +IPackage IPeasant IStorage ITab diff --git a/.github/actions/spelling/expect/expect.txt b/.github/actions/spelling/expect/expect.txt index 600efc297be..3df6051f12d 100644 --- a/.github/actions/spelling/expect/expect.txt +++ b/.github/actions/spelling/expect/expect.txt @@ -22,6 +22,7 @@ activatable ACTIVEBORDER ACTIVECAPTION ADDALIAS +ADDB ADDREF addressof ADDSTRING @@ -1636,6 +1637,7 @@ ONECOREWINDOWS onehalf ONLCR Oo +openconsoleproxy openbash opencode opencon diff --git a/src/propslib/DelegationConfig.cpp b/src/propslib/DelegationConfig.cpp index f99cf144bcf..8ad4698733f 100644 --- a/src/propslib/DelegationConfig.cpp +++ b/src/propslib/DelegationConfig.cpp @@ -105,7 +105,7 @@ HRESULT _lookupCatalog(PCWSTR extensionName, std::vector& vec) noexcept ComPtr anotherInspectable; RETURN_IF_FAILED(anotherMap->Lookup(HStringReference(L"#text").Get(), &anotherInspectable)); - // But this time that Inspectable is an IPropertyValue, which is a PROPVARIANT in a trenchcoat. + // But this time that Inspectable is an IPropertyValue, which is a PROPVARIANT in a trench coat. ComPtr propValue; RETURN_IF_FAILED(anotherInspectable.As(&propValue)); diff --git a/src/server/ConDrvDeviceComm.cpp b/src/server/ConDrvDeviceComm.cpp index 2598b3eadf4..6d8d2e15077 100644 --- a/src/server/ConDrvDeviceComm.cpp +++ b/src/server/ConDrvDeviceComm.cpp @@ -175,7 +175,7 @@ ConDrvDeviceComm::~ConDrvDeviceComm() } // Routine Description: -// - Provides acccess to the raw server handle so it can be used to hand off +// - Provides access to the raw server handle so it can be used to hand off // the session to another console host server. [[nodiscard]] HRESULT ConDrvDeviceComm::GetServerHandle(_Out_ HANDLE* pHandle) const { From 604eaf9bdd0f691bedb6f530f5a5d0379864bce3 Mon Sep 17 00:00:00 2001 From: "Dustin L. Howett" Date: Fri, 12 Feb 2021 10:54:23 -0800 Subject: [PATCH 05/16] Fix the Host Proxy DLL reference in ServerLib (#9129) Fixes #9128 --- src/server/lib/server.vcxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/lib/server.vcxproj b/src/server/lib/server.vcxproj index ec7ec05432c..4ceafacd986 100644 --- a/src/server/lib/server.vcxproj +++ b/src/server/lib/server.vcxproj @@ -58,13 +58,13 @@ - + {e437b604-3e98-4f40-a927-e173e818ea4b} - $(IntDir)..\Host.ProxyDll;%(AdditionalIncludeDirectories) + $(IntDir)..\OpenConsoleProxy;%(AdditionalIncludeDirectories) From 5ffb945b66ee4561ccd4fccfe5ba896fc7611155 Mon Sep 17 00:00:00 2001 From: Don-Vito Date: Sat, 13 Feb 2021 06:00:13 +0200 Subject: [PATCH 06/16] Re-enable navigation in ATS (#9140) ## PR Checklist * [x] Closes https://github.com/microsoft/terminal/issues/9130 * [x] CLA signed. * [ ] Tests added/passed * [ ] Documentation updated. * [ ] Schema updated. * [ ] I've discussed this with core contributors already. --- src/cascadia/TerminalApp/CommandPalette.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cascadia/TerminalApp/CommandPalette.cpp b/src/cascadia/TerminalApp/CommandPalette.cpp index 68581dd2f99..d306ce1ce60 100644 --- a/src/cascadia/TerminalApp/CommandPalette.cpp +++ b/src/cascadia/TerminalApp/CommandPalette.cpp @@ -261,15 +261,15 @@ namespace winrt::TerminalApp::implementation { SelectNextItem(false); e.Handled(true); + return; } else if (action.Action() == ShortcutAction::NextTab) { SelectNextItem(true); e.Handled(true); + return; } } - - return; } if (key == VirtualKey::Home && ctrlDown) From c1f844307ca5d5d8d5a457faa616f5fa089aa771 Mon Sep 17 00:00:00 2001 From: "Dustin L. Howett" Date: Tue, 16 Feb 2021 04:01:14 -0800 Subject: [PATCH 07/16] Remove accidental System.Core.dll from CascadiaPackage (#9153) A bug in VS 16.8 makes the WAP packaging project copy System.Core.dll from the CLR into all WAP packages. We don't need it, and it adds 300kb to our package (670kb uncompressed). VS 16.9 sets the AddAdditionalExplicitAssemblyReferences to suppress this assembly. If we do the same, we can avoid the reference *and* be eady for VS 16.9. --- src/cascadia/CascadiaPackage/CascadiaPackage.wapproj | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cascadia/CascadiaPackage/CascadiaPackage.wapproj b/src/cascadia/CascadiaPackage/CascadiaPackage.wapproj index ecd83cc86f1..b10a887323c 100644 --- a/src/cascadia/CascadiaPackage/CascadiaPackage.wapproj +++ b/src/cascadia/CascadiaPackage/CascadiaPackage.wapproj @@ -15,6 +15,10 @@ false wtd wt + + false CA5CAD1A-224A-4171-B13A-F16E576FDD12 From ca226d62e2d409de7da79d3896929be583e7dba7 Mon Sep 17 00:00:00 2001 From: Ben Constable Date: Tue, 16 Feb 2021 17:36:34 +0000 Subject: [PATCH 08/16] Add Keyboard Navigation To Color Picker (#9144) ## Summary of the Pull Request Add the keyboard navigation to the color picker. Test manually. ## References ## PR Checklist * [x] Closes #6675 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx * [ ] Schema updated. * [ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx ## Detailed Description of the Pull Request / Additional comments ## Validation Steps Performed Tested manually --- src/cascadia/TerminalApp/ColorPickupFlyout.xaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cascadia/TerminalApp/ColorPickupFlyout.xaml b/src/cascadia/TerminalApp/ColorPickupFlyout.xaml index 8ea72093ae0..197e901348a 100644 --- a/src/cascadia/TerminalApp/ColorPickupFlyout.xaml +++ b/src/cascadia/TerminalApp/ColorPickupFlyout.xaml @@ -12,7 +12,7 @@ - +