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

Fix IFont and IPicture definitions #2736

Merged
merged 1 commit into from
Jan 19, 2020

Conversation

hughbe
Copy link
Contributor

@hughbe hughbe commented Jan 18, 2020

Proposed Changes

  • Add missing IFont methods
  • Make IFont and IPicture tests WinFormsFact to run on STA thread
  • Make HDC/HPALETTE/HBITMAP/HENHMETAFILE/HMETAFILE/HFONT ints not uints due to sign extension bugs

/cc @weltkante @JeremyKuhne

Fixes #2002, Fixes #2003, Fixes #2004, Fixes #2005, Fixes #2007

Microsoft Reviewers: Open in CodeFlow

@hughbe hughbe requested a review from a team as a code owner January 18, 2020 14:09
@hughbe hughbe force-pushed the Fix-IPicture-Definitions branch 2 times, most recently from b8b9e6f to e3806cb Compare January 18, 2020 15:05
@codecov
Copy link

codecov bot commented Jan 18, 2020

Codecov Report

Merging #2736 into master will increase coverage by 0.05308%.
The diff coverage is 100%.

@@                Coverage Diff                 @@
##              master      #2736         +/-   ##
==================================================
+ Coverage   58.12112%   58.1742%   +0.05308%     
==================================================
  Files           1240       1240                 
  Lines         423008     423014          +6     
  Branches       38852      38852                 
==================================================
+ Hits          245857     246085        +228     
+ Misses        171777     171565        -212     
+ Partials        5374       5364         -10
Flag Coverage Δ
#Debug 58.1742% <100%> (+0.05308%) ⬆️
#production 31.48383% <100%> (+0.05279%) ⬆️
#test 98.98189% <100%> (+0.05205%) ⬆️

@RussKie RussKie merged commit 0daa37a into dotnet:master Jan 19, 2020
@ghost ghost added this to the 5.0 milestone Jan 19, 2020
@hughbe hughbe deleted the Fix-IPicture-Definitions branch January 19, 2020 22:21
@RussKie
Copy link
Member

RussKie commented Jan 19, 2020

Thank you!

@RussKie RussKie removed this from the 5.0 milestone Jan 19, 2020
@JeremyKuhne
Copy link
Member

#2004 (comment) goes into what is happening here.

These problems are another reason I'm keen on utilizing structs for native typedefs (#2069).

@ghost ghost locked as resolved and limited conversation to collaborators Feb 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.