Граф коммитов

6 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Pryor 7ebd6bf888 [Mono.Android] Fix ViewStructure enumification (take 2!) (#901)
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=59655

Bumps to xamarin-android-api-compatibility/master/021f4ca3.

Commit 9608ea7f inadvertently reverted commit 699f5b5b.

Doh!

Re-fix Bug #59655 and enumify `ViewStructure.SetAutofillType()`.
2017-09-27 13:59:15 -04:00
Jonathan Pryor 699f5b5bf1 [Mono.Android] Fix ViewStructure enumification (#885)
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=59655

Bumps to xamarin-android-api-compatibility/master/7fce46a4.

Enumify `Android.Views.ViewStructure.SetAutofillType()`.
2017-09-21 17:49:47 -04:00
Atsushi Eno 47f370f6f4 [Mono.Android] Change GlobalAction to Action where appropriate (#859)
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=51664

The fixes are twofolds:

  - Add `GetAction()`/`SetAction()` to alter `Action` property and
    add `[Obsolete]` on the `Action` property.
  - Add `PerformAccessibilityAction()`/`PerformAction()` overloads
    that use Action instead.

In the future we may remove `[Obsolete]`d members so that we can
bring back a sanitized API.
2017-09-14 19:48:08 -04:00
Atsushi Eno 420f7e12af [Mono.Android] Fix NotificationVisibility enumification. (#771)
It was `getLockscreenVisibility`, not `getLockScreenVisibility`...
2017-08-24 15:43:00 -04:00
Atsushi Eno e33eb53407 [Mono.Android] API-26 Enumification (#662)
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=30909
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=51293
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=55473

Bump to xamarin-android-api-compatibility/master/6fe9b17f.

Add `Documentation/HowToAddNewApiLevel.md`, to describe the process
for binding new API levels, including enumification.

Enumify API-26.

Update `build-tools/enumification-helpers` to support the latest
droiddoc `packages.html` format.

API-26 changed `Activity.findViewById(int)` to be a generic method.
Remove the `<typeParameters/>` element and "fix" the return type so
that we don't break API compatibility, as `generator` doesn't
currently do anything sane here. (Specifically, all generic
paramaters are currently bound as `Java.Lang.Object`, *even if* the
type parameter has a constraint which provides a more specific type!)

Fix binding of `Java.Nio.FileChannel` so it can be actually bound,
related `SeekableByteChannel` support fixes.

Remove `//implements[@name='AutoCloseable']` and
`//implements[@name='Destryable']`, as they add Java `default`
interface methods which can't be sanely supported at this time.

Update `api-merge` to change `default` interface methods to
non-`default` methods when merging with an older API level which
contained the non-`default` interface method. This preserves backward
compatibility with existing assemblies and source code. Remove the
associated workarounds.

Bump xamarin-android-api-compatibility to check against the
latest-and-greatest API-26 binding.
2017-08-03 05:12:27 -07:00
Atsushi Eno 85a8162438 Import enumification-helpers from monodroid/ade615d (#508)
There are slight changes in Makefile and README from monodroid.
2017-03-22 14:11:18 -04:00