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

Move OLE sources to Core assembly #12859

Merged
merged 3 commits into from
Jan 30, 2025
Merged

Conversation

JeremyKuhne
Copy link
Member

@JeremyKuhne JeremyKuhne commented Jan 30, 2025

This moves and renames files to build in the Core assembly.

  • Adds a few more scenarios missed to IOleServices
  • Fix nits from last PR
  • Adds global suppressions for trimming for moved code
  • Rename a few other files that were moved previously

It is sort of odd that we force GetImage through HBITMAP instead of using the serialized System.Drawing.Bitmap. This tweaks the colors (at least transparent ones) as Clipboard_SetImage_InvokeBitmap_GetReturnsExpected shows. Not sure this is the right behavior, but it is what we have currently.

Microsoft Reviewers: Open in CodeFlow

This moves and renames files to build in the Core assembly.

- Adds a few more scenarios missed to IOleServices
- Fix nits from last PR
- Adds global suppressions for trimming for moved code
- Rename a few other files that were moved previously

It is sort of odd that we force GetImage through HBITMAP instead of using the serialized System.Drawing.Bitmap. This tweaks the colors (at least transparent ones) as Clipboard_SetImage_InvokeBitmap_GetReturnsExpected shows. Not sure this is the right behavior, but it is what we have currently.
Copy link

codecov bot commented Jan 30, 2025

Codecov Report

Attention: Patch coverage is 98.11321% with 1 line in your changes missing coverage. Please review.

Project coverage is 76.13212%. Comparing base (bc6d075) to head (76c76d1).
Report is 3 commits behind head on main.

Additional details and impacted files
@@                 Coverage Diff                  @@
##                main      #12859          +/-   ##
====================================================
+ Coverage   50.08109%   76.13212%   +26.05102%     
====================================================
  Files           2030        3249        +1219     
  Lines         285483      642487      +357004     
  Branches       41761       47284        +5523     
====================================================
+ Hits          142973      489139      +346166     
- Misses        139797      149798       +10001     
- Partials        2713        3550         +837     
Flag Coverage Δ
Debug 76.13212% <98.11321%> (+26.05102%) ⬆️
integration 18.08598% <7.54717%> (-0.01754%) ⬇️
production 50.07372% <98.11321%> (-0.00738%) ⬇️
test 96.97875% <ø> (?)
unit 47.50848% <98.11321%> (-0.00644%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@JeremyKuhne JeremyKuhne enabled auto-merge (squash) January 30, 2025 18:30
@JeremyKuhne JeremyKuhne merged commit 23cb171 into dotnet:main Jan 30, 2025
8 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0 Preview2 milestone Jan 30, 2025
@JeremyKuhne JeremyKuhne deleted the factorclip7 branch January 30, 2025 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants