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

20 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge 1cf35d5787
[Accounts] Adopt XAMCORE_4_0 changes in .NET. (#13994) 2022-02-01 19:46:15 +01:00
Rolf Bjarne Kvinge 765059cb5b [src] Update the constructors in the api definitions to return NativeHandle instead of IntPtr 2021-11-26 14:25:19 +01:00
Rolf Bjarne Kvinge b960d569b0
[src] Change all usages of old-style availability attributes to new-style availability attributes. (#13332)
This will allow us to remove the old-style attributes from .NET (since they won't be used in shared code).
2021-11-10 18:12:12 +01:00
Rachel Kang baeb041d96
[Accounts] Update bindings for Xcode 13.0 beta 1 (#12024)
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2021-07-07 17:26:39 -04:00
Sebastien Pouliot 9f7a57ec65
[xcode12][tests] Fix typos (#9640) 2020-09-15 13:09:18 -04:00
Alex Soto fac3baabf5
[Accounts] Update bindings to Xcode 12 Beta 3 (#9228) 2020-07-30 09:30:30 -04:00
Manuel de la Pena e3137d10ff
[Accounts] Update binding for xcode 12 beta 1. (#8996)
Added a deprecation that is not picked up by xtro. No other changes.

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2020-07-06 11:01:44 -04:00
monojenkins a78301589d
[d16-7] [src] Remove Classic code from the Accelerate, Accounts, AddressBook[UI] and ARKit frameworks. (#8756)
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2020-06-04 18:36:26 +02:00
Sebastien Pouliot 15938de198
[generator] Add C#8 nullability into generated code (#7570) (#8333)
Goals
* Reflect Apple nullability annotations in our bindings using C#8
* No warnings when building bindings

Non-Goals
* Update (add or fix) `[NullAllowed]` to match Apple headers (next phase)
* Make the generator or internal code fully nullable aware (`nowarn` is used)

Notes
* Apple's own annotations are not 100% accurate :(
* Where known issue exists we have _fixed_ our attributes to match reality :)
* We also do additional null-checks internally that might seems not required (better safe than sorry).
2020-04-10 12:38:14 -04:00
Rolf Bjarne Kvinge 344dadb212
Bump the minimum iOS version to 7.0. Fixes #6213. (#6878)
Xcode 11 doesn't support anything below iOS 7.0 (the linker will automatically
change the deployment target to 7.0), so we need to drop support as well
(since our native bits will be targetting iOS 7.0, and we can't change that).

https://github.com/xamarin/xamarin-macios/issues/6213
2019-08-30 01:07:30 -07:00
Rolf Bjarne Kvinge c1e6ac029f [src] Remove/obsolete 'onlyOn64: true' in attributes. (#6595)
* [src] Obsolete 'onlyOn64' parameter to the availability attributes.

* [src] Remove 'onlyOn64: true' from attributes.

* [src] Adjust availability attributes.
2019-07-16 12:13:11 -04:00
Sebastien Pouliot 92992385a1
[accounts] Update for beta 2 (#4297) 2018-06-20 11:25:51 -04:00
Sebastien Pouliot 06ac9f970b
[accounts] Updates for beta 1 (#4216) 2018-06-11 17:42:33 -07:00
Chris Hamons c0202e0e2b
PMCS Removal (#3197)
You were the preprocessor we wished C# had natively

Removing PMCS requires these changes:
* Remove XamCore from src/
* Remove XamCore from tools/
* Remove XamCore from runtime/
* nint/nuint enum conversion
* _compat_ enum conversion
* NSAction conversion
* Hand fix single API incorrectly converted by PMCS to unbreak compatibility
   - Due to a bug in PMCS, the nuint was incorrectly converted in this API.
   - However, as that ship as sailed, we must "fix" it until XAMCORE_4_0
* Update readme
* Bump macios-binaries
2018-02-05 10:26:29 -05:00
Sebastien Pouliot 07c81479e2
[tests][intro] Clean up old and some non-required availability attributes (#3141)
We normally frown on large scale _cosmetic_ changes, mostly because it breaks git's history (very useful) and makes merging branches harder and more error prone (very annoying).

However we require, right now, such changes to remove our old, mcs-based, pre-processor (pmcs) so it's a _good_ time to address the old, unneeded availability attributes - since most of them are re-written for our next milestone.

This won't change the final application size in most cases, as the linker removes them, but it will make the (unlinked) platform assemblies smaller. This means they will load faster (e.g. by mtouch, mmp, IDE, workbooks...) and will reduce the time/memory needed to reflect them.
2018-01-02 11:28:55 -05:00
Chris Hamons cad99240e7
Hand-process troublesome attributes to fit pmcs conversion tooling (#3101)
There are a number of availability constructs that were uncommon enough / difficult to handle in the generator update or dead simple enough to change.

Some of them include:
   - Multiple platforms |'ed into one Availability attributes.
   - 32-bit arch Availability attributes were really uncommon and hand processing allowed
     them to be skipped completely
   - Convert Since, MavericksAttribute/MountainLionAttribute/LionAttribute, and a bunch of Availability (Introduced) to short forms like [Mac] and [iOS].

I also had to patch PMCS to correctly handle PlatformArchitecture arguments, which is ironic because a PR soon after this will delete all of that code.
2017-12-20 09:19:16 -06:00
Vincent Dondain e78a7a3291 [intro] Add availability messages checks to ApiTypoTest (#2240)
- ApiTypoTest now enforces the rules defined here: https://github.com/xamarin/xamarin-macios/wiki/BINDINGS#availability-attributes-messages.
- Update all availability messages to follow new ApiTypoTest rules.
- Fix `IsObsolete` to handle ObsoletedAttribute.
- Don't apply rule 1 on Obsolete attribute.
- Allow to skip rule 4.
- Prevent use of OSX, OS X.
2017-06-26 18:17:06 -04:00
Alex Soto b55ff34387 [Accounts] Update to Xcode 9 Beta 1 (#2205)
* [Accounts] Uodate to Xcode 9 Beta 1

Also added ACAccountStore.RemoveAccount, xtro caught this API
common.unclassified:!missing-selector! ACAccountStore::removeAccount:withCompletionHandler: not bound

* [Accounts] Adds a dot at the end of the sentance.
2017-06-13 18:03:36 -05:00
Chris Hamons c80d72c7d6 Remove unnecessary public from binding definition files
- Was causing conflicts between {App,UI}Kit and CloudKit
2016-09-16 14:47:08 -05:00
Rolf Bjarne Kvinge 5830166c63 Build the platform assemblies. 2016-04-24 14:47:26 -04:00