Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove DxEngine #16278

Merged
merged 3 commits into from
Feb 21, 2024
Merged

Remove DxEngine #16278

merged 3 commits into from
Feb 21, 2024

Conversation

lhecker
Copy link
Member

@lhecker lhecker commented Nov 7, 2023

With AtlasEngine being fairly stable at this point and being enabled
by default in the 1.19 branch, this changeset removes DxEngine.

Validation Steps Performed

  • WT builds and runs ✅
  • WpfTestNetCore ✅
  • Saving the config removes the useAtlasEngine key ✅

@lhecker lhecker added Area-Rendering Text rendering, emoji, complex glyph & font-fallback issues Product-Terminal The new Windows Terminal. Area-CodeHealth Issues related to code cleanliness, linting, rules, warnings, errors, static analysis, etc. labels Nov 7, 2023
@lhecker lhecker force-pushed the dev/lhecker/remove-dxengine branch 2 times, most recently from 4af3ccb to 2ccc007 Compare January 30, 2024 16:34
@lhecker lhecker marked this pull request as ready for review January 30, 2024 17:13
bufferData = publicTerminal->_terminal->RetrieveSelectedTextFromBuffer(false, true, true);
const auto bufferData = publicTerminal->_terminal->RetrieveSelectedTextFromBuffer(false, true, true);
LOG_IF_FAILED(publicTerminal->_CopyTextToSystemClipboard(bufferData.plainText, bufferData.html, bufferData.rtf));
publicTerminal->_ClearSelection();
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes a bug which is noticeable in debug builds. _ClearSelection requires the lock being held, but in the old code it didn't do that.


using namespace Microsoft::Console::VirtualTerminal;
namespace Microsoft::Console::Render::Atlas
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you so much for cleaning this up

@@ -53,7 +53,7 @@ Settings::Settings() :
_fUseWindowSizePixels(false),
// window size pixels initialized below
_fInterceptCopyPaste(0),
_fUseDx(UseDx::Disabled),
_fUseDx(false),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lmao we will keep calling the setting usedx, i love it

@DHowett
Copy link
Member

DHowett commented Feb 21, 2024

LES FUCKIN' GO

@DHowett DHowett enabled auto-merge (squash) February 21, 2024 23:23
@DHowett DHowett merged commit bf25595 into main Feb 21, 2024
20 of 22 checks passed
@DHowett DHowett deleted the dev/lhecker/remove-dxengine branch February 21, 2024 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-CodeHealth Issues related to code cleanliness, linting, rules, warnings, errors, static analysis, etc. Area-Rendering Text rendering, emoji, complex glyph & font-fallback issues Product-Terminal The new Windows Terminal.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants