[PR #14458] [MERGED] Clean up til::point/size/rect member usage #30098

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/14458
Author: @lhecker
Created: 11/29/2022
Status: ✅ Merged
Merged: 12/1/2022
Merged by: @undefined

Base: main ← Head: dev/lhecker/4015-followup


📝 Commits (4)

  • bf0ef35 Clean up til::point/size/rect member usage
  • 03a1a63 Fix tests
  • d2549bd Fix build
  • d0b8d79 Merge remote-tracking branch 'origin/main' into dev/lhecker/4015-followup

📊 Changes

112 files changed (+2430 additions, -2493 deletions)

View changed files

📝 src/buffer/out/LineRendition.hpp (+3 -3)
📝 src/buffer/out/cursor.cpp (+6 -6)
📝 src/buffer/out/search.cpp (+4 -4)
📝 src/buffer/out/textBuffer.cpp (+91 -91)
📝 src/buffer/out/textBufferCellIterator.cpp (+14 -14)
📝 src/buffer/out/ut_textbuffer/ReflowTests.cpp (+1 -1)
📝 src/cascadia/PublicTerminalCore/HwndTerminal.cpp (+8 -8)
📝 src/cascadia/TerminalAzBridge/main.cpp (+4 -4)
📝 src/cascadia/TerminalControl/ControlCore.cpp (+10 -10)
📝 src/cascadia/TerminalControl/InteractivityAutomationPeer.cpp (+1 -1)
📝 src/cascadia/TerminalControl/TermControl.cpp (+3 -3)
📝 src/cascadia/TerminalCore/Terminal.cpp (+30 -30)
📝 src/cascadia/TerminalCore/Terminal.hpp (+1 -1)
📝 src/cascadia/TerminalCore/TerminalApi.cpp (+5 -5)
📝 src/cascadia/TerminalCore/TerminalSelection.cpp (+18 -18)
📝 src/cascadia/TerminalCore/terminalrenderdata.cpp (+7 -7)
📝 src/cascadia/UnitTests_Control/ControlInteractivityTests.cpp (+1 -1)
📝 src/cascadia/UnitTests_TerminalCore/ConptyRoundtripTests.cpp (+23 -23)
📝 src/cascadia/UnitTests_TerminalCore/ScreenSizeLimitsTest.cpp (+4 -4)
📝 src/cascadia/UnitTests_TerminalCore/ScrollTest.cpp (+2 -2)

...and 80 more files

📄 Description

This is a follow-up of #13025 to make the members of til::point/size/rect
uniform and consistent without the use of unions. The only file that has
any changes is src/host/getset.cpp where an if condition was simplified.

Validation Steps Performed

  • Host unit tests ✅
  • Host feature tests ✅
  • ControlCore feature tests ✅

🔄 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/14458 **Author:** [@lhecker](https://github.com/lhecker) **Created:** 11/29/2022 **Status:** ✅ Merged **Merged:** 12/1/2022 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/lhecker/4015-followup` --- ### 📝 Commits (4) - [`bf0ef35`](https://github.com/microsoft/terminal/commit/bf0ef35d8df95b0406d5b1ca5e65003ed328c894) Clean up til::point/size/rect member usage - [`03a1a63`](https://github.com/microsoft/terminal/commit/03a1a637514fbbd23e7b7dcbe7c166f59c415cac) Fix tests - [`d2549bd`](https://github.com/microsoft/terminal/commit/d2549bd698eb59cadcfc0ab3ee5886f955fccc6f) Fix build - [`d0b8d79`](https://github.com/microsoft/terminal/commit/d0b8d798df22086ada4be37a24c687d0f2ee480d) Merge remote-tracking branch 'origin/main' into dev/lhecker/4015-followup ### 📊 Changes **112 files changed** (+2430 additions, -2493 deletions) <details> <summary>View changed files</summary> 📝 `src/buffer/out/LineRendition.hpp` (+3 -3) 📝 `src/buffer/out/cursor.cpp` (+6 -6) 📝 `src/buffer/out/search.cpp` (+4 -4) 📝 `src/buffer/out/textBuffer.cpp` (+91 -91) 📝 `src/buffer/out/textBufferCellIterator.cpp` (+14 -14) 📝 `src/buffer/out/ut_textbuffer/ReflowTests.cpp` (+1 -1) 📝 `src/cascadia/PublicTerminalCore/HwndTerminal.cpp` (+8 -8) 📝 `src/cascadia/TerminalAzBridge/main.cpp` (+4 -4) 📝 `src/cascadia/TerminalControl/ControlCore.cpp` (+10 -10) 📝 `src/cascadia/TerminalControl/InteractivityAutomationPeer.cpp` (+1 -1) 📝 `src/cascadia/TerminalControl/TermControl.cpp` (+3 -3) 📝 `src/cascadia/TerminalCore/Terminal.cpp` (+30 -30) 📝 `src/cascadia/TerminalCore/Terminal.hpp` (+1 -1) 📝 `src/cascadia/TerminalCore/TerminalApi.cpp` (+5 -5) 📝 `src/cascadia/TerminalCore/TerminalSelection.cpp` (+18 -18) 📝 `src/cascadia/TerminalCore/terminalrenderdata.cpp` (+7 -7) 📝 `src/cascadia/UnitTests_Control/ControlInteractivityTests.cpp` (+1 -1) 📝 `src/cascadia/UnitTests_TerminalCore/ConptyRoundtripTests.cpp` (+23 -23) 📝 `src/cascadia/UnitTests_TerminalCore/ScreenSizeLimitsTest.cpp` (+4 -4) 📝 `src/cascadia/UnitTests_TerminalCore/ScrollTest.cpp` (+2 -2) _...and 80 more files_ </details> ### 📄 Description This is a follow-up of #13025 to make the members of `til::point/size/rect` uniform and consistent without the use of `unions`. The only file that has any changes is `src/host/getset.cpp` where an if condition was simplified. ## Validation Steps Performed * Host unit tests ✅ * Host feature tests ✅ * ControlCore feature tests ✅ --- <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:38:38 +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#30098