Uh oh!
There was an error while loading. Please reload this page.
[Mono.Android] abstract-ify inconsistent android.webkit API. - #1304
[Mono.Android] abstract-ify inconsistent android.webkit API.#1304atsushieno wants to merge 1 commit into
Conversation
atsushieno
commented
Feb 14, 2018
This needs changes in xamarin-android-api-compatibility too. |
256b47c to
a6faa34CompareAs part of discussion at dotnet/android#1078 (comment) , we decided to make changes to those inconsistent methods that used to be virtual and then became abstract, to become abstract even in old API level. It is done at metadata fixup level. (copying the commitmsg from dotnet/android#1304)
a6faa34 to
bb9d123CompareAs part of discussion at dotnet/android#1078 (comment) , we decided to make changes to those inconsistent methods that used to be virtual and then became abstract, to become abstract even in old API level. It is done at metadata fixup level. (copying the commitmsg from dotnet/android#1304)
atsushieno
commented
Feb 15, 2018
build |
bb9d123 to
3082edbCompareAs part of discussion at dotnet/android#1078 (comment) , we decided to make changes to those inconsistent methods that used to be virtual and then became abstract, to become abstract even in old API level. It is done at metadata fixup level. (copying the commitmsg from dotnet/android#1304)
jonpryor
commented
Feb 16, 2018
As part of discussion at dotnet#1078 (comment) , we decided to make changes to those inconsistent methods that used to be virtual and then became abstract, to become abstract even in old API level. It is done at metadata fixup level.
3082edb to
2eac2a5CompareAs part of discussion at dotnet/android#1078 (comment) , we decided to make changes to those inconsistent methods that used to be virtual and then became abstract, to become abstract even in old API level. It is done at metadata fixup level. (copying the commitmsg from dotnet/android#1304)
jonpryor
commented
Feb 23, 2018
I think these changes are too aggressive. The listed changes: <h2>Namespace Android.Webkit</h2><!-- start type WebHistoryItem --><div><h3>Type Changed: Android.Webkit.WebHistoryItem</h3><p>Modified properties:</p><pre><divdata-is-breaking> public <spanclass='added added-breaking-inline'>abstract</span> int Id { get; }
</div></pre>This turns
So why was this method changed at all? <h3>Type Changed: Android.Webkit.WebSettings</h3><p>Modified properties:</p><pre><divdata-is-breaking> public <spanclass='added added-breaking-inline'>abstract</span> bool NavDump { get; set; }
</div><divdata-is-breaking> public <spanclass='added added-breaking-inline'>abstract</span> bool PluginsEnabled { get; set; }
</div><divdata-is-breaking> public <spanclass='added added-breaking-inline'>abstract</span> string PluginsPath { get; set; }
</div><divdata-is-breaking> public <spanclass='added added-breaking-inline'>abstract</span> bool UseDoubleTree { get; set; }
</div><divdata-is-breaking> public <spanclass='added added-breaking-inline'>abstract</span> bool UseWebViewBackgroundForOverscrollBackground { get; set; }
</div><divdata-is-breaking> public <spanclass='added added-breaking-inline'>abstract</span> int UserAgent { get; set; }
</div></pre><p>Modified methods:</p><pre><divdata-is-breaking> public <spanclass='added added-breaking-inline'>abstract</span> WebSettings.TextSize GetTextSize ()
</div></pre>These changes are in the same boat: WebSettings does not declare any of the methods In API-16 -- the last API level they appeared in -- none of those methods are Thus, why are we turning these deprecated and no longer public members into |
jonpryor
commented
Feb 23, 2018
Regarding our previous discussion:
My interpretation of this was that if a member was I agree with my interpretation. For example, consider This PR does not fit the above description, not in my mind. This PR is turning methods which were always non- As such, this PR would make our binding worse: anybody deriving from |
atsushieno
commented
Feb 26, 2018
huh, I am confused. With the latest |
jonpryor
commented
Feb 26, 2018
The probable reason that |
As part of discussion at #1078 (comment) ,
we decided to make changes to those inconsistent methods that used to be
virtual and then became abstract, to become abstract even in old API level.
It is done at metadata fixup level.